ERC-165 vs ERC-7589
Standard Interface Detection compared with Semi-Fungible Token Roles.
ERC-7589 is a strict superset of ERC-165
1 shared · 1 vs 14 functions · 100% of the smaller surface
🤝 Shared (1)
0x01ffc9a7 | supportsInterface(bytes4) |
◀️ Only in ERC-165 (0)
None.
▶️ Only in ERC-7589 (13)
0x6df52ea7 | commitTokens(address,address,uint256,uint256) |
0x4155a2f8 | grantorOf(uint256) |
0xb7b637d9 | grantRole(uint256,bytes32,address,uint64,bool,bytes) |
0xd5ced376 | isRoleApprovedForAll(address,address,address) |
0xe6d8e12a | isRoleRevocable(uint256,bytes32,address) |
0x4b0babdd | releaseTokens(uint256) |
0x4a120dd7 | revokeRole(uint256,bytes32,address) |
0x33a502e4 | roleData(uint256,bytes32,address) |
0x5c98ea6d | roleExpirationDate(uint256,bytes32,address) |
0xa34adf0a | setRoleApprovalForAll(address,address,bool) |
0xd989a2b7 | tokenAddressOf(uint256) |
0x7e6850eb | tokenAmountOf(uint256) |
0x06474d12 | tokenIdOf(uint256) |
Both surfaces parsed from the canonical specifications: ERC-165 · ERC-7589