1383 lines
34 KiB
TypeScript
1383 lines
34 KiB
TypeScript
/**
|
|
* This file is autogenerated by Scaffold-ETH.
|
|
* You should not edit it manually or your changes might be overwritten.
|
|
*/
|
|
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
|
|
|
|
const deployedContracts = {
|
|
31337: {
|
|
YourCollectible: {
|
|
address: "0x5FbDB2315678afecb367f032d93F642f64180aa3",
|
|
abi: [
|
|
{
|
|
inputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "constructor",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "ERC721EnumerableForbiddenBatchMint",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "sender",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721IncorrectOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721InsufficientApproval",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "approver",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidApprover",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidOperator",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "receiver",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidReceiver",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "sender",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidSender",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721NonexistentToken",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721OutOfBoundsIndex",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnableInvalidOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "account",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnableUnauthorizedAccount",
|
|
type: "error",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "approved",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "Approval",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "bool",
|
|
name: "approved",
|
|
type: "bool",
|
|
},
|
|
],
|
|
name: "ApprovalForAll",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_fromTokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_toTokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "BatchMetadataUpdate",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "MetadataUpdate",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "previousOwner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "newOwner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnershipTransferred",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "Transfer",
|
|
type: "event",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "approve",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "balanceOf",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "getApproved",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "isApprovedForAll",
|
|
outputs: [
|
|
{
|
|
internalType: "bool",
|
|
name: "",
|
|
type: "bool",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "string",
|
|
name: "uri",
|
|
type: "string",
|
|
},
|
|
],
|
|
name: "mintItem",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "name",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "owner",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ownerOf",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "renounceOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "safeTransferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
internalType: "bytes",
|
|
name: "data",
|
|
type: "bytes",
|
|
},
|
|
],
|
|
name: "safeTransferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "bool",
|
|
name: "approved",
|
|
type: "bool",
|
|
},
|
|
],
|
|
name: "setApprovalForAll",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "bytes4",
|
|
name: "interfaceId",
|
|
type: "bytes4",
|
|
},
|
|
],
|
|
name: "supportsInterface",
|
|
outputs: [
|
|
{
|
|
internalType: "bool",
|
|
name: "",
|
|
type: "bool",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "symbol",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenByIndex",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "tokenIdCounter",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenOfOwnerByIndex",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenURI",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "totalSupply",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "transferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "newOwner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "transferOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
],
|
|
inheritedFunctions: {
|
|
approve: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
balanceOf: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
getApproved: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
isApprovedForAll: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
name: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
ownerOf: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
safeTransferFrom: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
setApprovalForAll: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
supportsInterface: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
symbol: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
tokenURI: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
transferFrom: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
tokenByIndex: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
tokenOfOwnerByIndex: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
totalSupply: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
owner: "@openzeppelin/contracts/access/Ownable.sol",
|
|
renounceOwnership: "@openzeppelin/contracts/access/Ownable.sol",
|
|
transferOwnership: "@openzeppelin/contracts/access/Ownable.sol",
|
|
},
|
|
deployedOnBlock: 1,
|
|
},
|
|
},
|
|
11155111: {
|
|
YourCollectible: {
|
|
address: "0xa071f6f73dB4113810274478425A29e2F526Fd00",
|
|
abi: [
|
|
{
|
|
inputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "constructor",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "ERC721EnumerableForbiddenBatchMint",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "sender",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721IncorrectOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721InsufficientApproval",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "approver",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidApprover",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidOperator",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "receiver",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidReceiver",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "sender",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "ERC721InvalidSender",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721NonexistentToken",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ERC721OutOfBoundsIndex",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnableInvalidOwner",
|
|
type: "error",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "account",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnableUnauthorizedAccount",
|
|
type: "error",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "approved",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "Approval",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "bool",
|
|
name: "approved",
|
|
type: "bool",
|
|
},
|
|
],
|
|
name: "ApprovalForAll",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_fromTokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_toTokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "BatchMetadataUpdate",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "_tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "MetadataUpdate",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "previousOwner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "newOwner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnershipTransferred",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "Transfer",
|
|
type: "event",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "approve",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "balanceOf",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "getApproved",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "isApprovedForAll",
|
|
outputs: [
|
|
{
|
|
internalType: "bool",
|
|
name: "",
|
|
type: "bool",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "string",
|
|
name: "uri",
|
|
type: "string",
|
|
},
|
|
],
|
|
name: "mintItem",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "name",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "owner",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ownerOf",
|
|
outputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "",
|
|
type: "address",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "renounceOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "safeTransferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
internalType: "bytes",
|
|
name: "data",
|
|
type: "bytes",
|
|
},
|
|
],
|
|
name: "safeTransferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "operator",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "bool",
|
|
name: "approved",
|
|
type: "bool",
|
|
},
|
|
],
|
|
name: "setApprovalForAll",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "bytes4",
|
|
name: "interfaceId",
|
|
type: "bytes4",
|
|
},
|
|
],
|
|
name: "supportsInterface",
|
|
outputs: [
|
|
{
|
|
internalType: "bool",
|
|
name: "",
|
|
type: "bool",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "symbol",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenByIndex",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "tokenIdCounter",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "owner",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "index",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenOfOwnerByIndex",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "tokenURI",
|
|
outputs: [
|
|
{
|
|
internalType: "string",
|
|
name: "",
|
|
type: "string",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "totalSupply",
|
|
outputs: [
|
|
{
|
|
internalType: "uint256",
|
|
name: "",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "from",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "address",
|
|
name: "to",
|
|
type: "address",
|
|
},
|
|
{
|
|
internalType: "uint256",
|
|
name: "tokenId",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "transferFrom",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{
|
|
internalType: "address",
|
|
name: "newOwner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "transferOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
],
|
|
inheritedFunctions: {
|
|
approve: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
balanceOf: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
getApproved: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
isApprovedForAll: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
name: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
ownerOf: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
safeTransferFrom: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
setApprovalForAll: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
supportsInterface: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
symbol: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
tokenURI: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
transferFrom: "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol",
|
|
tokenByIndex: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
tokenOfOwnerByIndex: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
totalSupply: "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol",
|
|
owner: "@openzeppelin/contracts/access/Ownable.sol",
|
|
renounceOwnership: "@openzeppelin/contracts/access/Ownable.sol",
|
|
transferOwnership: "@openzeppelin/contracts/access/Ownable.sol",
|
|
},
|
|
deployedOnBlock: 10015855,
|
|
},
|
|
},
|
|
} as const;
|
|
|
|
export default deployedContracts satisfies GenericContractsDeclaration;
|