ERC-6353 Charity token
Extension of EIP-20 token that can be partially donated to a charity project
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERC20charity | 0xaceb828b |
The spec asserts 0x557512b6 for IERC20charity, which its own interface does not produce.
Never matched the body in any published revision; exhaustive search over the 10 declared selectors plus ERC-20 and ERC-165 finds no combination producing it.
Functions this standard introduces (10)
0xe43252d7 | addToWhitelist(address) | |
0x991ec6f7 | charityInfo(address) | view |
0x7c09829d | deleteDefaultAddress() | |
0xecfb5d17 | deleteFromWhitelist(address) | |
0xb56eebfb | getAllWhitelistedAddresses() | |
0x679aefce | getRate() | view |
0x915dc774 | setSpecificDefaultAddress(address) | |
0x84f39e1e | setSpecificDefaultAddressAndRate(address,uint256) | |
0x4c677803 | setSpecificRate(address,uint256) | |
0xca08ec7d | specificDefaultAddress() | view |
Inherited (1)
0x01ffc9a7 | supportsInterface(bytes4) | ERC-165 |
Events (5)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0xa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab03 | AddedToWhitelist(address) | |
0xcdd2e9b91a56913d370075169cefa1602ba36be5301664f752192bb1709df757 | RemovedFromWhitelist(address) | |
0x6d4c462cdec505a621711d5ca414bc431f78e79746ca66270e7aa87947b59ab3 | DonnationAddressChanged(address) | |
0x21470041ef9ff574315005b52c90c0f22b3499a708aee20330f95853e2583b69 | DonnationAddressAndRateChanged(address,uint256) | |
0x272200c8484b4881d4bf8552d6783858e314cf8fc05461d9f87fded68327e66a | ModifiedCharityRate(address,uint256) |
Depends on (1)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion