ERC-2981 vs ERC-5635
NFT Royalty Standard compared with NFT Licensing Agreements.
Overlapping, neither contains the other
1 shared · 2 vs 10 functions · 50% of the smaller surface
ERC-5635 lists ERC-2981 in its requires field but declares no inheritance in its interface, so any surface it inherits is not counted here.
🤝 Shared (1)
0x01ffc9a7 | supportsInterface(bytes4) |
◀️ Only in ERC-2981 (1)
0x2a55205a | royaltyInfo(uint256,uint256) |
▶️ Only in ERC-5635 (9)
0xe1f21c67 | approve(address,address,uint256) |
0xdc68afd5 | authorizedBy(uint256,uint256) |
0x098f2366 | getApproved(address,uint256) |
0xf49f40db | isApprovedForAll(address,address,address) |
0x9b488346 | isLicensed(address,uint256,address,uint256) |
0x6f54368f | licensingInfo(address,uint256,address,uint256) |
0x61c1e9e3 | numberOfCredentials(uint256) |
0xad3d86fd | royaltyRate(address,uint256,address,uint256) |
0x367605ca | setApprovalForAll(address,address,bool) |
Both surfaces parsed from the canonical specifications: ERC-2981 · ERC-5635