ERC-20 vs ERC-777
Token Standard compared with Token Standard.
Overlapping, neither contains the other
4 shared · 9 vs 13 functions · 44% of the smaller surface
🤝 Shared (4)
0x70a08231 | balanceOf(address) |
0x06fdde03 | name() |
0x95d89b41 | symbol() |
0x18160ddd | totalSupply() |
◀️ Only in ERC-20 (5)
0xdd62ed3e | allowance(address,address) |
0x095ea7b3 | approve(address,uint256) |
0x313ce567 | decimals() |
0xa9059cbb | transfer(address,uint256) |
0x23b872dd | transferFrom(address,address,uint256) |
▶️ Only in ERC-777 (9)
0x959b8c3f | authorizeOperator(address) |
0xfe9d9303 | burn(uint256,bytes) |
0x06e48538 | defaultOperators() |
0x556f0dc7 | granularity() |
0xd95b6371 | isOperatorFor(address,address) |
0xfc673c4f | operatorBurn(address,uint256,bytes,bytes) |
0x62ad1b83 | operatorSend(address,address,uint256,bytes,bytes) |
0xfad8b32a | revokeOperator(address) |
0x9bd9bbc6 | send(address,uint256,bytes) |
Both surfaces parsed from the canonical specifications: ERC-20 · ERC-777