ERC-4393 Micropayments for NFTs and Multi Tokens
An interface for tip tokens that allows tipping to holders of NFTs and multi tokens
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| ITipToken | 0xe47a7022 |
The spec asserts 0x985a3267 for ITipToken, which its own interface does not produce.
The spec's own normative prose states 0xe47a7022, which agrees with the parser. The divergent value is a stray note inside an event's NatSpec.
Functions this standard introduces (9)
0x12c81d4f | balanceDepositOf(address) | view |
0x70a08231 | balanceOf(address) | view |
0x47e7ef24 | deposit(address,uint256) | payable |
0x12425d4e | isApprovalForNFT(address,address,uint256) | |
0x65fd0794 | rewardPendingOf(address) | view |
0xbe3f51bb | setApprovalForNFT(address[],address,uint256,bool) | |
0xb7577fbe | tip(address,uint256,uint256) | |
0xed184baf | tipBatch(address[],address[],uint256[],uint256[]) | |
0x523a3f08 | withdrawReward(uint256) | payable |
Events (5)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0x51e6deaf506ca3c183e496755bda5c81b16dfb594f1277753170fe743ba085f8 | ApprovalForNFT(address[],address,uint256,bool) | |
0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7 | Deposit(address,address,uint256,uint256) | |
0xad71f93891cecc86a28a627d5495c28fabbd31cdd2e93851b16ce3421fdab2e5 | WithdrawReward(address,address,uint256) | |
0x3b663dfb629c8f570948272e59e33fc6aa2d141b576e5d40e50dcf954623d2ca | InitializeTipToken(address,address,address) | |
0x07f71622292de46e718e4a9a14ba9b5d88c70cf6dd723f194f34218cb2907695 | Tip(address,address[],address,uint256,uint256,address,uint256[]) |
Depends on (3)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion