ERC-20 vs ERC-5115
Token Standard compared with SY Token.
Overlapping, neither contains the other
3 shared · 9 vs 11 functions · 33% of the smaller surface
ERC-5115 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)
0x313ce567 | decimals() |
0x06fdde03 | name() |
0x95d89b41 | symbol() |
◀️ Only in ERC-20 (6)
0xdd62ed3e | allowance(address,address) |
0x095ea7b3 | approve(address,uint256) |
0x70a08231 | balanceOf(address) |
0x18160ddd | totalSupply() |
0xa9059cbb | transfer(address,uint256) |
0x23b872dd | transferFrom(address,address,uint256) |
▶️ Only in ERC-5115 (8)
0xdb6f344c | deposit(address,address,uint256,uint256,bool) |
0x3ba0b9a9 | exchangeRate() |
0x213cae63 | getTokensIn() |
0x071bc3c9 | getTokensOut() |
0xb8f82b26 | previewDeposit(address,uint256) |
0xcbe52ae3 | previewRedeem(address,uint256) |
0x769f8e5d | redeem(address,uint256,address,uint256,bool) |
0x76d5de85 | yieldToken() |
Both surfaces parsed from the canonical specifications: ERC-20 · ERC-5115