ERC-7721 Lockable Extension for ERC-1155
Interface for enabling locking of ERC-1155 using locker and token id based approvals
ERC-165 interface ids
Computed here as the XOR of the selectors each interface defines.
| IERCLockable1155 | 0x6bddb6aa |
Functions this standard introduces (6)
0x270d103b | getLocked(uint256,address,address) | view |
0x6787c3dc | lock(uint256,address,address,uint256) | |
0xcf27cfc4 | lock(uint256,address,uint256) | |
0xdb5eb40a | setApprovalForId(uint256,address,uint256) | |
0xf9996a7e | transferAndLock(address,address,uint256,uint256,bool) | |
0xc6b774fd | unlock(uint256,address,uint256) |
Inherited (7)
0x00fdd58e | balanceOf(address,uint256) | ERC-1155 |
0x4e1273f4 | balanceOfBatch(address[],uint256[]) | ERC-1155 |
0xe985e9c5 | isApprovedForAll(address,address) | ERC-1155 |
0x2eb2c2d6 | safeBatchTransferFrom(address,address,uint256[],uint256[],bytes) | ERC-1155 |
0xf242432a | safeTransferFrom(address,address,uint256,uint256,bytes) | ERC-1155 |
0xa22cb465 | setApprovalForAll(address,bool) | ERC-1155 |
0x01ffc9a7 | supportsInterface(bytes4) | ERC-165 |
Events (2)
Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.
0xac062def014c92404a7629c0646fb6f81ee8dd0008735fb1ca74bc25d6bb61d2 | Lock(uint256,address,address,uint256) | |
0xcd0acb1b9f7168f29d2a45d3824b258d0be434a93b1ecd46e421de9261723bfc | Unlock(uint256,address,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