web3wagmi
← All standards

ERC-6059 Parent-Governed Nestable Non-Fungible Tokens

FinalERCcreated 2022-11-151 later proposal build on itrequires ERC-165, ERC-721

An interface for Nestable Non-Fungible Tokens 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.

IERC60590xf71e99d2
The spec asserts 0x42b0e56f for IERC6059, which its own interface does not produce.

Asserted value requires addChild(uint256,uint256,bytes) and nestTransferFrom(...,bytes); the published body declares neither.

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
0xe5f2e9e4nestTransferFrom(address,address,uint256,uint256)
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)
0x2bedee38cdb22411c14554191243c0e117c0088ddae3459876acd46a0fd53815ChildTransferred(uint256,uint256,address,uint256,bool)

Depends on (2)

Proposals this one names in its requires field.

Built on by (1)

Later proposals that name this one in their requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion