IStolenNftOracle

Git Source

Functions

validateTokensAreNotStolen

Validates that a set of token ids have not been marked as stolen by the oracle.

Check a signed message from the oracle to ensure that the token ids have not been marked as stolen.

function validateTokensAreNotStolen(address tokenAddress, uint256[] calldata tokenIds, Message[] calldata proofs)
    external;

Parameters

NameTypeDescription

tokenAddress

address

The address of the token contract.

tokenIds

uint256[]

The token ids to validate.

proofs

Message[]

The proofs that the token ids have not been marked as stolen.

Structs

Message

struct Message {
    bytes32 id;
    bytes payload;
    uint256 timestamp;
    bytes signature;
}

Last updated