web3wagmi
← All standards

ERC-5604 NFT Lien

DraftERCcreated 2022-09-05requires ERC-165, ERC-721

Extend ERC-721 to support putting liens on NFTs

Authors: Zainan Victor Zhou (@xinbenlv), Allen Zhou, Alex Qin

ERC-165 interface ids

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

IERC_LIEN0x87bc9225

Functions this standard introduces (3)

0xce42b062addLienHolder(uint256,address,bytes)
0x81c04331hasLien(uint256,address,bytes)view
0xc83e6176removeLienHolder(uint256,address,bytes)

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

Events (2)

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

0x75c18a73f4c1f93ec4360c05df19c105475ceeac7caeea29397aafff3e463d8eOnLienPlaced(uint256,address,bytes)
0x64be203e2f951d6f0ceca9ed2313df82474ad3fb73e5e7114d829be8ab2370fbOnLienRemoved(uint256,address,bytes)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion