EeseeAccessManager
Last updated
Last updated
Grants {role} to {account}. If {account} had not been already granted {role}, emits a {RoleGranted} event.
Name | Type | Description |
---|---|---|
Note: This function can only be called by the ADMIN_ROLE. |
Revokes {role} from {account}. If {account} had been granted {role}, emits a {RoleRevoked} event.
Note: This function can only be called by the ADMIN_ROLE. |
Retrurns if {account} has {role}.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
role
bytes32
- Role to grant.
account
address
- Account to grant role to.
role
bytes32
- Role to revoke.
account
address
- Account to revoke role from.
role
bytes32
- Role to check.
account
address
- Account to check.
[0]
bool
true if {account} has been granted {role}.