@river-build/generated
Version:
## How to generate contract types
333 lines (329 loc) • 6.46 kB
text/typescript
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
IERC721AQueryable,
IERC721AQueryableInterface,
} from "../IERC721AQueryable";
const _abi = [
{
type: "function",
name: "explicitOwnershipOf",
inputs: [
{
name: "tokenId",
type: "uint256",
internalType: "uint256",
},
],
outputs: [
{
name: "",
type: "tuple",
internalType: "struct IERC721ABase.TokenOwnership",
components: [
{
name: "addr",
type: "address",
internalType: "address",
},
{
name: "startTimestamp",
type: "uint64",
internalType: "uint64",
},
{
name: "burned",
type: "bool",
internalType: "bool",
},
{
name: "extraData",
type: "uint24",
internalType: "uint24",
},
],
},
],
stateMutability: "view",
},
{
type: "function",
name: "explicitOwnershipsOf",
inputs: [
{
name: "tokenIds",
type: "uint256[]",
internalType: "uint256[]",
},
],
outputs: [
{
name: "",
type: "tuple[]",
internalType: "struct IERC721ABase.TokenOwnership[]",
components: [
{
name: "addr",
type: "address",
internalType: "address",
},
{
name: "startTimestamp",
type: "uint64",
internalType: "uint64",
},
{
name: "burned",
type: "bool",
internalType: "bool",
},
{
name: "extraData",
type: "uint24",
internalType: "uint24",
},
],
},
],
stateMutability: "view",
},
{
type: "function",
name: "tokensOfOwner",
inputs: [
{
name: "owner",
type: "address",
internalType: "address",
},
],
outputs: [
{
name: "",
type: "uint256[]",
internalType: "uint256[]",
},
],
stateMutability: "view",
},
{
type: "function",
name: "tokensOfOwnerIn",
inputs: [
{
name: "owner",
type: "address",
internalType: "address",
},
{
name: "start",
type: "uint256",
internalType: "uint256",
},
{
name: "stop",
type: "uint256",
internalType: "uint256",
},
],
outputs: [
{
name: "",
type: "uint256[]",
internalType: "uint256[]",
},
],
stateMutability: "view",
},
{
type: "event",
name: "Approval",
inputs: [
{
name: "owner",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "approved",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "tokenId",
type: "uint256",
indexed: true,
internalType: "uint256",
},
],
anonymous: false,
},
{
type: "event",
name: "ApprovalForAll",
inputs: [
{
name: "owner",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "operator",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "approved",
type: "bool",
indexed: false,
internalType: "bool",
},
],
anonymous: false,
},
{
type: "event",
name: "ConsecutiveTransfer",
inputs: [
{
name: "fromTokenId",
type: "uint256",
indexed: true,
internalType: "uint256",
},
{
name: "toTokenId",
type: "uint256",
indexed: false,
internalType: "uint256",
},
{
name: "from",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "to",
type: "address",
indexed: true,
internalType: "address",
},
],
anonymous: false,
},
{
type: "event",
name: "Transfer",
inputs: [
{
name: "from",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "to",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "tokenId",
type: "uint256",
indexed: true,
internalType: "uint256",
},
],
anonymous: false,
},
{
type: "error",
name: "ApprovalCallerNotOwnerNorApproved",
inputs: [],
},
{
type: "error",
name: "ApprovalQueryForNonexistentToken",
inputs: [],
},
{
type: "error",
name: "BalanceQueryForZeroAddress",
inputs: [],
},
{
type: "error",
name: "InvalidQueryRange",
inputs: [],
},
{
type: "error",
name: "MintERC2309QuantityExceedsLimit",
inputs: [],
},
{
type: "error",
name: "MintToZeroAddress",
inputs: [],
},
{
type: "error",
name: "MintZeroQuantity",
inputs: [],
},
{
type: "error",
name: "OwnerQueryForNonexistentToken",
inputs: [],
},
{
type: "error",
name: "OwnershipNotInitializedForExtraData",
inputs: [],
},
{
type: "error",
name: "TransferCallerNotOwnerNorApproved",
inputs: [],
},
{
type: "error",
name: "TransferFromIncorrectOwner",
inputs: [],
},
{
type: "error",
name: "TransferToNonERC721ReceiverImplementer",
inputs: [],
},
{
type: "error",
name: "TransferToZeroAddress",
inputs: [],
},
{
type: "error",
name: "URIQueryForNonexistentToken",
inputs: [],
},
] as const;
export class IERC721AQueryable__factory {
static readonly abi = _abi;
static createInterface(): IERC721AQueryableInterface {
return new utils.Interface(_abi) as IERC721AQueryableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IERC721AQueryable {
return new Contract(address, _abi, signerOrProvider) as IERC721AQueryable;
}
}