CharityFunding

Contract purpose

Smart Contract for charity funding

Exposed methods

causes lists the details about the cause with the given address

enterCause allows a user to create a cause

parameter nametypedetails
causeAddrethereum addressthe address where the funds will be sent
descriptionstringcause description
moneyNeededintegerthe estimated amount of money needed for the cause

donateToCause payable function that can be called by any user who wishes to donate to a particular cause

parameter nametypedetails
causeAddrethereum addressthe address of the cause

sendMoney called by the cause creator to send the donated money to the cause address and resets the balance for the cause

parameter nametypedetails
causeAddrethereum addressthe address of the cause
Buy
Reviewed by Modex
Buy Contract Test Contract

Create an account or login to purchase this smart contract