web3wagmi
← All standards

ERC-7401 Parent-Governed Non-Fungible Tokens Nesting

FinalERCcreated 2023-07-26requires ERC-165, ERC-721

An interface for Non-Fungible Tokens Nesting with emphasis on parent token's control over the relationship.

Authors: Bruno Škvorc (@Swader), Cicada (@CicadaNCR), Steven Pineda (@steven2308), Stevan Bogosavljevic (@stevyhacker), Jan Turk (@ThunderDeliverer)

ERC-165 interface ids

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

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

0xe97ceaa8acceptChild(uint256,uint256,address,uint256)
0x35440fafaddChild(uint256,uint256)
0xb390c0abburn(uint256,uint256)
0x2f32f937childOf(uint256,uint256)view
0x6f19951cchildrenOf(uint256)view
0xfb25fb7adirectOwnerOf(uint256)view
0x064c0a3anestTransferFrom(address,address,uint256,uint256,bytes)
0x6352211eownerOf(uint256)view
0xa898e364pendingChildOf(uint256,uint256)view
0x44ec9344pendingChildrenOf(uint256)view
0x97961336rejectAllChildren(uint256,uint256)
0xdefa80c3transferChild(uint256,address,uint256,uint256,address,uint256,bool,bytes)

Inherited (1)

0x01ffc9a7supportsInterface(bytes4)ERC-165

Events (5)

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

0x04444026cefd1b05506559cab59d1b865ae3ba4ed2fe5c894f04e522776c552dNestTransfer(address,address,uint256,uint256,uint256)
0xe65085e689b77b126ba0bac3b079aa8288f19f4d5445af11c76003f8ab3075ddChildProposed(uint256,uint256,address,uint256)
0x29486b9e2ae569b440933a9b1b421467306fa21f3dcad439c262910a634963a9ChildAccepted(uint256,uint256,address,uint256)
0x8ac4a0d65950c3e40448afb2260e2e0ec36ea15644d9b39e37e85472e5f94451AllChildrenRejected(uint256)
0x02d6d6dbcb604d5e1e8c7886456e82a9cdce88b0a580071358f206b5a4d58f70ChildTransferred(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