ERC-7432 Non-Fungible Token Roles
Role Management for NFTs. Enables accounts to share the utility of NFTs via expirable role assignments.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERC7432 | 0xd00ca5cf |
Functions this standard introduces (10)
0x4b17eed0 | grantRole((bytes32,address,uint256,address,uint64,bool,bytes)) | |
0xd5ced376 | isRoleApprovedForAll(address,address,address) | view |
0xfe8dc863 | isRoleRevocable(address,uint256,bytes32) | view |
0x1f29d2dc | ownerOf(address,uint256) | view |
0x3f916b48 | recipientOf(address,uint256,bytes32) | view |
0x0adc11c0 | revokeRole(address,uint256,bytes32) | |
0x6d2feecf | roleData(address,uint256,bytes32) | view |
0x65b0205b | roleExpirationDate(address,uint256,bytes32) | view |
0xa34adf0a | setRoleApprovalForAll(address,address,bool) | |
0x31e9e9c0 | unlockToken(address,uint256) |
Inherited (1)
0x01ffc9a7 | supportsInterface(bytes4) | ERC-165 |
Events (5)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x991b8e8a2e2b8ff515f7045174eeb52eb4868e69c5bb4259da6146a93c77574d | TokenLocked(address,address,uint256) | |
0x9f743023185efab1abaf28721c6d4ab3ecc515f75a871c8299a3c9a532857287 | RoleGranted(address,uint256,bytes32,address,address,uint64,bool,bytes) | |
0xcfe1e8ce2ffe3e32a117cfb36d1fa8af703998cae381df7f35a8bb94a351a82d | RoleRevoked(address,uint256,bytes32) | |
0x549f3836aa79a43ac740f9814586c8b7ab5e0d299ea11ac017c6d889704962ae | TokenUnlocked(address,address,uint256) | |
0xa9f861543e61f98894ecc9e3edeb6ca82ac424611eb0d8943a84bb89a2eb1d0b | RoleApprovalForAll(address,address,bool) |
Depends on (2)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion