
Exposed Methods
addCharity adds a charity to the array
| parameter name | type | details | | --------- | --------- | --------- | | _name | string | name of the charity | | _goal | string | the goal of the charity | | _addr | address | etherum address of the charity |
closeChairty changes the status of the charity to closed(false)
| parameter name | type | details | | --------- | --------- | --------- | | _name | string | name of the charity |
getCharityInfo retrieves the information about a charity
| parameter name | type | details | | --------- | --------- | --------- | | _name | string | name of the charity |
donate transfer money to a charity
| parameter name | type | details | | --------- | --------- | --------- | | _name | string | name of the charity |
checkDonor checks if an address is a donor
|parameter name | type | details | | --------- | --------- | --------- | | _addr | address | etherum address of the donor|
Events
CharityAdded listens when a charity was added CharityClosed listens when a charity was closed Donated listens when a donation was made