ERC-20 vs ERC-7590
Token Standard compared with ERC-20 Holder Extension for NFTs.
Overlapping, neither contains the other
3 shared · 9 vs 14 functions · 33% of the smaller surface
ERC-7590 lists ERC-20 in its requires field but declares no inheritance in its interface, so any surface it inherits is not counted here.
🤝 Shared (3)
0x095ea7b3 | approve(address,uint256) |
0x70a08231 | balanceOf(address) |
0x23b872dd | transferFrom(address,address,uint256) |
◀️ Only in ERC-20 (6)
0xdd62ed3e | allowance(address,address) |
0x313ce567 | decimals() |
0x06fdde03 | name() |
0x95d89b41 | symbol() |
0x18160ddd | totalSupply() |
0xa9059cbb | transfer(address,uint256) |
▶️ Only in ERC-7590 (11)
0x866ef715 | balanceOfERC20(address,uint256) |
0xa869de0a | erc20TransferOutNonce(uint256) |
0x081812fc | getApproved(uint256) |
0xe985e9c5 | isApprovedForAll(address,address) |
0x6352211e | ownerOf(uint256) |
0xb88d4fde | safeTransferFrom(address,address,uint256,bytes) |
0x42842e0e | safeTransferFrom(address,address,uint256) |
0xa22cb465 | setApprovalForAll(address,bool) |
0x01ffc9a7 | supportsInterface(bytes4) |
0xf43f7bba | transferERC20ToToken(address,uint256,uint256,bytes) |
0xb5bf95f9 | transferHeldERC20FromToken(address,uint256,address,uint256,bytes) |
Both surfaces parsed from the canonical specifications: ERC-20 · ERC-7590