ERC-7401 Parent-Governed Non-Fungible Tokens Nesting
An interface for Non-Fungible Tokens Nesting with emphasis on parent token's control over the relationship.
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERC7059 | 0x14a07a0c |
The spec asserts 0x42b0e56f for IERC7059, which its own interface does not produce.
ERC-7401 half-applied its own stated fix: it restored bytes data on nestTransferFrom but left addChild(uint256,uint256), which the asserted id requires with bytes.
Functions this standard introduces (12)
0xe97ceaa8 | acceptChild(uint256,uint256,address,uint256) | |
0x35440faf | addChild(uint256,uint256) | |
0xb390c0ab | burn(uint256,uint256) | |
0x2f32f937 | childOf(uint256,uint256) | view |
0x6f19951c | childrenOf(uint256) | view |
0xfb25fb7a | directOwnerOf(uint256) | view |
0x064c0a3a | nestTransferFrom(address,address,uint256,uint256,bytes) | |
0x6352211e | ownerOf(uint256) | view |
0xa898e364 | pendingChildOf(uint256,uint256) | view |
0x44ec9344 | pendingChildrenOf(uint256) | view |
0x97961336 | rejectAllChildren(uint256,uint256) | |
0xdefa80c3 | transferChild(uint256,address,uint256,uint256,address,uint256,bool,bytes) |
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.
0x04444026cefd1b05506559cab59d1b865ae3ba4ed2fe5c894f04e522776c552d | NestTransfer(address,address,uint256,uint256,uint256) | |
0xe65085e689b77b126ba0bac3b079aa8288f19f4d5445af11c76003f8ab3075dd | ChildProposed(uint256,uint256,address,uint256) | |
0x29486b9e2ae569b440933a9b1b421467306fa21f3dcad439c262910a634963a9 | ChildAccepted(uint256,uint256,address,uint256) | |
0x8ac4a0d65950c3e40448afb2260e2e0ec36ea15644d9b39e37e85472e5f94451 | AllChildrenRejected(uint256) | |
0x02d6d6dbcb604d5e1e8c7886456e82a9cdce88b0a580071358f206b5a4d58f70 | ChildTransferred(uint256,uint256,address,uint256,bool,bool) |
Depends on (2)
Proposals this one names in its requires field.
What the specification covers
Compare with
Parsed from the canonical specification · discussion