web3wagmi
← All standards

ERC-6997 ERC-721 with transaction validation step.

ReviewERCcreated 2023-05-07requires ERC-721

A new validation step for transfer and approve calls, achieving a security step in case of stolen wallet.

Author: Eduard López i Fina (@eduardfina)

ERC-165 interface ids

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

IERC69970x7e2b4c83

Functions this standard introduces (5)

0x7fb5b287approvalValidation(uint256)view
0xa39b1010isValidatorContract()view
0x59a9d76dtotalApprovalValidations()view
0x124de66ftotalTransferValidations()view
0xe9e1df16transferValidation(uint256)view

Events (2)

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

0x84a27c888bdff64bcf129e9d27604f068d552351dca1c64fc511ed4b2fd8f5f0ValidateTransfer(address,address,uint256,uint256)
0xefff3e0b7a38f8cb638af9da87951cec300d049d80d563083660603619712e00ValidateApproval(address,address,uint256,bool,uint256)

Depends on (1)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion