Intercoin / CommunityContract

Smart contract for managing community membership and roles
https://intercoin.org
GNU Affero General Public License v3.0
1 stars 2 forks source link

hooks #11

Closed artman325 closed 2 years ago

artman325 commented 2 years ago

add new hook contract with method roleGranted roleRevoked roleCreated

if hook .address are initialized then community contract try to call this hooks methods hook.roleGranted and hook.roleRevoked

Add hooks right before firing events roleAdded and roleRemoved

If hooks revert during call, then also revert

init.hooksContract

maybe roleCreated also