Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Permissions Events #12

Closed
rdig opened this issue Jan 31, 2023 · 1 comment
Closed

Handle Permissions Events #12

rdig opened this issue Jan 31, 2023 · 1 comment

Comments

@rdig
Copy link
Member

rdig commented Jan 31, 2023

Handle the following events to extract required permissions:

  • ColonyRoleSet(indexed address,indexed uint256,indexed uint8,bool) -- old version of event
  • ColonyRoleSet(address,indexed address,indexed uint256,indexed uint8,bool) -- current version of event
  • RecoveryRoleSet(indexed address,bool) -- recovery role

Note to extract domain, and block at which point this permission was set.

A good idea is to look up the way we used to fetch permissions in colonyJS: https://github.com/JoinColony/colonyJS/blob/deprecated/4.x.x-branch-still-in-use/src/helpers.ts#L194-L255

Image

@jakubcolony
Copy link
Collaborator

Completed in #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants