web3wagmi
← All standards

ERC-5006 Rental NFT, NFT User Extension

FinalERCcreated 2022-04-12requires ERC-165, ERC-1155

Add a user role with restricted permissions to ERC-1155 tokens

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

ERC-165 interface ids

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

IERC50060xc26d96cc

Functions this standard introduces (5)

0x883d1d5fcreateUserRecord(address,address,uint256,uint64,uint64)
0x37516f7cdeleteUserRecord(uint256)
0x535c0ce3frozenBalanceOf(address,uint256)view
0xdef2cc56usableBalanceOf(address,uint256)view
0xf0af245auserRecordOf(uint256)view

Events (2)

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

0xaa05e03d03c60cd1d2749f96e50df9c0f2910357e2213b7fbb8c838c9e207d07CreateUserRecord(uint256,uint256,uint64,address,address,uint64)
0xe5e4cc148925690191c27bf527786e1ffbc70eb2e0e1efc9cafc6429b1ee777aDeleteUserRecord(uint256)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion