web3wagmi
← All standards

ERC-5007 Time NFT, ERC-721 Time Extension

FinalERCcreated 2022-04-13requires ERC-165, ERC-721

Add start time and end time to ERC-721 tokens.

Authors: Anders (@0xanders), Lance (@LanceSnow), Shrug

ERC-165 interface ids

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

IERC50070x7a0cdf92
The spec asserts 0xf140be0d for IERC5007, which its own interface does not produce.

The int64 to uint64 edit was to return types, which cannot change a selector, yet the comment was rewritten. The file's sibling IERC5007Composable still matches the parser exactly.

Functions this standard introduces (2)

0x44c816faendTime(uint256)view
0x3ec4c968startTime(uint256)view

Inherited (10)

0x095ea7b3approve(address,uint256)ERC-721
0x70a08231balanceOf(address)ERC-721
0x081812fcgetApproved(uint256)ERC-721
0xe985e9c5isApprovedForAll(address,address)ERC-721
0x6352211eownerOf(uint256)ERC-721
0xb88d4fdesafeTransferFrom(address,address,uint256,bytes)ERC-721
0x42842e0esafeTransferFrom(address,address,uint256)ERC-721
0xa22cb465setApprovalForAll(address,bool)ERC-721
0x01ffc9a7supportsInterface(bytes4)ERC-165
0x23b872ddtransferFrom(address,address,uint256)ERC-721

Optional extensions (1)

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

IERC5007Composable0x75cf3842

0xf03a3e60assetId(uint256)
0xedc9f91esplit(uint256,uint256,address,uint256,address,uint64)
0x683cff3cmerge(uint256,uint256,address,uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion