ERC-7820 Access Control Registry
Registration, unregistration, role assignment, and role revocation for contracts, ensuring secure and transparent role management.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IAccessControlRegistry | 0x9727a0d7 |
Functions this standard introduces (6)
0xcd481e51 | getContractInfo(address) | view |
0x07483499 | getRoleInfo(address) | view |
0xd240733f | grantRole(address[],bytes32[],address[]) | |
0x22a5dde4 | registerContract(address) | |
0x2f2f0ddd | revokeRole(address[],bytes32[],address[]) | |
0x82ed2919 | unRegisterContract(address) |
Events (4)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x768fb430a0d4b201cb764ab221c316dd14d8babf2e4b2348e05964c6565318b6 | ContractRegistered(address,address) | |
0x6c0b8518b86a3f2aab1a16148ee99e9cce485dfb40b2c510326a696b577a6f43 | ContractUnregistered(address,address) | |
0x2739f947da5133134a8e9c6a84d5ed6da396844d81b4a760121c8b9c668bdf9c | RoleGranted(address,bytes32,address) | |
0x8fa769283732af9aa4f65d966aceb1295944e96fcdd7031699b47da23286d285 | RoleRevoked(address,bytes32,address) |
Custom errors (1)
0x70bc3e85 | ContractAlreadyRegistered() |
What the specification covers
Compare with
Parsed from the canonical specification · discussion