ERC-20 vs ERC-3525
Token Standard compared with Semi-Fungible Token.
Overlapping, neither contains the other
3 shared · 9 vs 17 functions · 33% of the smaller surface
ERC-3525 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-3525 (14)
0xe345e0bc | allowance(uint256,address) |
0x8cb0a511 | approve(uint256,address,uint256) |
0x9cc7f708 | balanceOf(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) |
0x263f3e7e | slotOf(uint256) |
0x01ffc9a7 | supportsInterface(bytes4) |
0x0f485c02 | transferFrom(uint256,address,uint256) |
0x310ed7f0 | transferFrom(uint256,uint256,uint256) |
0x3e7e8669 | valueDecimals() |
Both surfaces parsed from the canonical specifications: ERC-20 · ERC-3525