web3wagmi
← All standards

ERC-6353 Charity token

StagnantERCcreated 2022-05-13requires ERC-20

Extension of EIP-20 token that can be partially donated to a charity project

Authors: Aubay, BOCA Jeabby (@bjeabby1507), EL MERSHATI Laith (@lth-elm), KEMP Elia (@eliakemp)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

IERC20charity0xaceb828b
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)

0xe43252d7addToWhitelist(address)
0x991ec6f7charityInfo(address)view
0x7c09829ddeleteDefaultAddress()
0xecfb5d17deleteFromWhitelist(address)
0xb56eebfbgetAllWhitelistedAddresses()
0x679aefcegetRate()view
0x915dc774setSpecificDefaultAddress(address)
0x84f39e1esetSpecificDefaultAddressAndRate(address,uint256)
0x4c677803setSpecificRate(address,uint256)
0xca08ec7dspecificDefaultAddress()view

Inherited (1)

0x01ffc9a7supportsInterface(bytes4)ERC-165

Events (5)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0xa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab03AddedToWhitelist(address)
0xcdd2e9b91a56913d370075169cefa1602ba36be5301664f752192bb1709df757RemovedFromWhitelist(address)
0x6d4c462cdec505a621711d5ca414bc431f78e79746ca66270e7aa87947b59ab3DonnationAddressChanged(address)
0x21470041ef9ff574315005b52c90c0f22b3499a708aee20330f95853e2583b69DonnationAddressAndRateChanged(address,uint256)
0x272200c8484b4881d4bf8552d6783858e314cf8fc05461d9f87fded68327e66aModifiedCharityRate(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