/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import type { Provider } from "@ethersproject/providers"; import type { UniqueFungible, UniqueFungibleInterface, } from "../UniqueFungible"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "owner", type: "address", }, { indexed: true, internalType: "address", name: "spender", type: "address", }, { indexed: false, internalType: "uint256", name: "value", type: "uint256", }, ], name: "Approval", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "from", type: "address", }, { indexed: true, internalType: "address", name: "to", type: "address", }, { indexed: false, internalType: "uint256", name: "value", type: "uint256", }, ], name: "Transfer", type: "event", }, { inputs: [ { internalType: "address", name: "newAdmin", type: "address", }, ], name: "addCollectionAdmin", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "addToCollectionAllowList", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, { internalType: "address", name: "spender", type: "address", }, ], name: "allowance", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "allowed", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "spender", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "approve", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], 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: "address", name: "from", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "burnFrom", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "changeCollectionOwner", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "collectionOwner", outputs: [ { components: [ { internalType: "address", name: "field_0", type: "address", }, { internalType: "uint256", name: "field_1", type: "uint256", }, ], internalType: "struct Tuple6", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "key", type: "string", }, ], name: "collectionProperty", outputs: [ { internalType: "bytes", name: "", type: "bytes", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "collectionSponsor", outputs: [ { components: [ { internalType: "address", name: "field_0", type: "address", }, { internalType: "uint256", name: "field_1", type: "uint256", }, ], internalType: "struct Tuple6", name: "", type: "tuple", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "confirmCollectionSponsorship", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "contractAddress", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "decimals", outputs: [ { internalType: "uint8", name: "", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "string", name: "key", type: "string", }, ], name: "deleteCollectionProperty", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "hasCollectionPendingSponsor", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "isOwnerOrAdmin", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "mint", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { components: [ { internalType: "address", name: "field_0", type: "address", }, { internalType: "uint256", name: "field_1", type: "uint256", }, ], internalType: "struct Tuple6[]", name: "amounts", type: "tuple[]", }, ], name: "mintBulk", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "name", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "admin", type: "address", }, ], name: "removeCollectionAdmin", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "removeCollectionSponsor", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "user", type: "address", }, ], name: "removeFromCollectionAllowList", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint8", name: "mode", type: "uint8", }, ], name: "setCollectionAccess", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "limit", type: "string", }, { internalType: "uint32", name: "value", type: "uint32", }, ], name: "setCollectionLimit", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "limit", type: "string", }, { internalType: "bool", name: "value", type: "bool", }, ], name: "setCollectionLimit", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "mode", type: "bool", }, ], name: "setCollectionMintMode", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "enable", type: "bool", }, ], name: "setCollectionNesting", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "enable", type: "bool", }, { internalType: "address[]", name: "collections", type: "address[]", }, ], name: "setCollectionNesting", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "string", name: "key", type: "string", }, { internalType: "bytes", name: "value", type: "bytes", }, ], name: "setCollectionProperty", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "sponsor", type: "address", }, ], name: "setCollectionSponsor", 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: [], name: "totalSupply", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "transfer", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "from", type: "address", }, { internalType: "address", name: "to", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "transferFrom", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "uniqueCollectionType", outputs: [ { internalType: "string", name: "", type: "string", }, ], stateMutability: "view", type: "function", }, ]; export class UniqueFungible__factory { static readonly abi = _abi; static createInterface(): UniqueFungibleInterface { return new utils.Interface(_abi) as UniqueFungibleInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): UniqueFungible { return new Contract(address, _abi, signerOrProvider) as UniqueFungible; } }