# IStolenNftOracle

[Git Source](https://github.com/outdoteth/caviar-private-pools/blob/4214d102e516c8e0735261ce0b0adad9ffef842f/src/interfaces/IStolenNftOracle.sol)

## 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.*

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

**Parameters**

| Name           | Type        | Description                                                   |
| -------------- | ----------- | ------------------------------------------------------------- |
| `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

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