web3wagmi
← All standards

ERC-6672 Multi-redeemable NFTs

FinalERCcreated 2023-02-21requires ERC-165, ERC-721

An extension of ERC-721 which enables an NFT to be redeemed in multiple scenarios for either a physical or digital object

Authors: RE:DREAMER Lab, Archie Chang (@ArchieR7), Kai Yu (@chihkaiyu), Yonathan Randyanto (@Randyanto), Boyu Chu (@chuboyu), Boxi Li (@boxi79), Jason Cheng (@JasonCheng0729)

ERC-165 interface ids

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

IERC66720x4dddf83f

Functions this standard introduces (4)

0x8e3e4169cancel(bytes32,uint256,string)
0xfee8551agetRedemptionIds(address,uint256)view
0xafaed956isRedeemed(address,bytes32,uint256)view
0x92a5351aredeem(bytes32,uint256,string)

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.

IERC6672Metadata0xc87b56dd

0xc87b56ddtokenURI(uint256)

Events (2)

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

0xc9d4ae2457c383436c916d09b467958dba48da1bc36cbd4da371bd1f37ab666eRedeem(address,uint256,address,bytes32,string)
0x3549668521147d318215bab63e9e350b06e9ba8561ba55b1e4ea3d6b3d150d85Cancel(address,uint256,bytes32,string)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion