web3wagmi
← All standards

ERC-5058 Lockable Non-Fungible Tokens

StagnantERCcreated 2022-04-30requires ERC-20, ERC-165, ERC-721

Lockable EIP-721 tokens

Authors: Tyler (@radiocaca), Alex (@gojazdev), John (@sfumato00)

ERC-165 interface ids

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

IERC50580xb5cbb170

Functions this standard introduces (9)

0x4ce17b86getLockApproved(uint256)view
0x91c79cd7isLockApprovedForAll(address,address)view
0xf6aacfb1isLocked(uint256)view
0x1338736flock(uint256,uint256)
0x179a9c0flockApprove(address,uint256)
0x121cba19lockerOf(uint256)view
0x1ddae4f9lockExpiredTime(uint256)view
0xf4bbcb29setLockApprovalForAll(address,bool)
0x6198e339unlock(uint256)

Events (4)

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

0x967ad762aa9070ada8db64577288e214771e89667066ae38e8750cb8a86c5429Locked(address,address,uint256,uint256)
0xe6e0ef9cd056ca98561ca60e347ada61e1ede2f1142a078951b7a52e1e508e60Unlocked(address,address,uint256)
0xbd5378dc6d0395c338ca88b324966808490d6a9983bbc7a0f7a8429a44a31762LockApproval(address,address,uint256)
0xbb3b2937fc41058c97e1ad0d0bbac3c664894dd823924eb7717d814fe700f034LockApprovalForAll(address,address,bool)

Depends on (3)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion