ERC-5982 Role-based Access Control
🆔 ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERC_ACL_CORE | 0x6bb9cd16 |
| IERC_ACL_GENERAL | 0x9d938539 |
| IERC_ACL_METADATA | 0x61ff8267 |
⚙️ Functions this standard introduces (15)
0xb7416cce | canExecute(bytes32,bytes4,bytes32,bytes) | view |
0xc7072a8f | canGrantRole(bytes32,bytes32,bytes) | view |
0x7712f836 | canRevokeRole(bytes32,bytes32,address,bytes) | view |
0xa9a61cbe | createRole(bytes32,bytes32,string,string,string,bytes32) | |
0x3f5fe075 | destroyRole(bytes32,bytes32) | |
0xf4f5eb5d | grantRole(bytes32,address,bytes) | |
0x2f2ff15d | grantRole(bytes32,address) | |
0xf5d5408b | hasRole(bytes32,address,bytes) | view |
0x91d14854 | hasRole(bytes32,address) | view |
0x3f038cc7 | revokeRole(bytes32,address,bytes) | |
0xd547741f | revokeRole(bytes32,address) | |
0x0aa6affe | roleDescription(bytes32) | view |
0xf5ef8476 | roleName(bytes32) | view |
0x9eb6a9ef | roleURI(bytes32) | view |
0x321de094 | setRolePower(bytes32,bytes4,bytes) | view |
⚖️ Compare with
Parsed from the canonical specification · discussion