web3wagmi
← All standards

ERC-5982 Role-based Access Control

Reviewrequires ERC-165, ERC-5750

🆔 ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC_ACL_CORE0x6bb9cd16
IERC_ACL_GENERAL0x9d938539
IERC_ACL_METADATA0x61ff8267

⚙️ Functions this standard introduces (15)

0xb7416ccecanExecute(bytes32,bytes4,bytes32,bytes)view
0xc7072a8fcanGrantRole(bytes32,bytes32,bytes)view
0x7712f836canRevokeRole(bytes32,bytes32,address,bytes)view
0xa9a61cbecreateRole(bytes32,bytes32,string,string,string,bytes32)
0x3f5fe075destroyRole(bytes32,bytes32)
0xf4f5eb5dgrantRole(bytes32,address,bytes)
0x2f2ff15dgrantRole(bytes32,address)
0xf5d5408bhasRole(bytes32,address,bytes)view
0x91d14854hasRole(bytes32,address)view
0x3f038cc7revokeRole(bytes32,address,bytes)
0xd547741frevokeRole(bytes32,address)
0x0aa6afferoleDescription(bytes32)view
0xf5ef8476roleName(bytes32)view
0x9eb6a9efroleURI(bytes32)view
0x321de094setRolePower(bytes32,bytes4,bytes)view

⚖️ Compare with

Parsed from the canonical specification · discussion