UNPKG

ufomarketplace-sdk-new

Version:

SDK to interact with set ufo marketplace contracts

312 lines (308 loc) 6.15 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { IERC721Upgradeable, IERC721UpgradeableInterface, } from "../IERC721Upgradeable"; const _abi = [ { type: "function", name: "approve", inputs: [ { name: "to", type: "address", internalType: "address", }, { name: "tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "balanceOf", inputs: [ { name: "owner", type: "address", internalType: "address", }, ], outputs: [ { name: "balance", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getApproved", inputs: [ { name: "tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "operator", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "isApprovedForAll", inputs: [ { name: "owner", type: "address", internalType: "address", }, { name: "operator", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "ownerOf", inputs: [ { name: "tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "owner", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "safeTransferFrom", inputs: [ { name: "from", type: "address", internalType: "address", }, { name: "to", type: "address", internalType: "address", }, { name: "tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "safeTransferFrom", inputs: [ { name: "from", type: "address", internalType: "address", }, { name: "to", type: "address", internalType: "address", }, { name: "tokenId", type: "uint256", internalType: "uint256", }, { name: "data", type: "bytes", internalType: "bytes", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setApprovalForAll", inputs: [ { name: "operator", type: "address", internalType: "address", }, { name: "approved", type: "bool", internalType: "bool", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "supportsInterface", inputs: [ { name: "interfaceId", type: "bytes4", internalType: "bytes4", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "transferFrom", inputs: [ { name: "from", type: "address", internalType: "address", }, { name: "to", type: "address", internalType: "address", }, { name: "tokenId", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { 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: "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, }, ] as const; export class IERC721Upgradeable__factory { static readonly abi = _abi; static createInterface(): IERC721UpgradeableInterface { return new utils.Interface(_abi) as IERC721UpgradeableInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): IERC721Upgradeable { return new Contract(address, _abi, signerOrProvider) as IERC721Upgradeable; } }