web3wagmi
← All standards

ERC-5521 Referable NFT

FinalERCcreated 2022-08-101 later proposal build on itrequires ERC-165, ERC-721

An ERC-721 extension to construct reference relationships among NFTs

Authors: Saber Yu (@OniReimu), Qin Wang, Shange Fu, Yilin Sai, Shiping Chen, Sherry Xu, Jiangshan Yu

ERC-165 interface ids

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

IERC_55210x75cbe2f2

Functions this standard introduces (5)

0xd30d968dcreatedTimestampOf(address,uint256)view
0x64f9b0e6referredOf(address,uint256)view
0xa35391acreferringOf(address,uint256)view
0x616c5535setNode(uint256,address[],uint256[][])
0x01ffc9a7supportsInterface(bytes4)view

Optional extensions (1)

Interfaces the spec defines alongside the core one, which an implementation may or may not carry.

TargetContract0x4166b387

0x55c10440setNodeReferredExternal(address,uint256,uint256[])
0xa35391acreferringOf(address,uint256)
0x64f9b0e6referredOf(address,uint256)
0xd30d968dcreatedTimestampOf(address,uint256)
0x01ffc9a7supportsInterface(bytes4)

Events (1)

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

0x81bed52c04e8cd65796985202162bad7e20a8ffaa732fe2e0a0bc79f687e4d66UpdateNode(uint256,address,address[],uint256[][],address[],uint256[][])

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