/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers" import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common.js" export interface ObjectLayerTokenInterface extends Interface { getFunction(nameOrSignature: "CRYPTOKOYN" | "INITIAL_CRYPTOKOYN_SUPPLY" | "balanceOf" | "balanceOfBatch" | "batchRegisterObjectLayers" | "burn" | "burnBatch" | "computeTokenId" | "exists" | "getItemId" | "getMetadataCID" | "getTokenIdByItemId" | "isApprovedForAll" | "mint" | "mintBatch" | "nextTokenId" | "owner" | "pause" | "paused" | "registerObjectLayer" | "renounceOwnership" | "safeBatchTransferFrom" | "safeTransferFrom" | "setApprovalForAll" | "setBaseURI" | "setTokenMetadataCID" | "supportsInterface" | "totalSupply()" | "totalSupply(uint256)" | "transferOwnership" | "unpause" | "uri"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ApprovalForAll" | "MetadataUpdated" | "ObjectLayerRegistered" | "OwnershipTransferred" | "Paused" | "TransferBatch" | "TransferSingle" | "URI" | "Unpaused"): EventFragment; encodeFunctionData(functionFragment: 'CRYPTOKOYN', values?: undefined): string; encodeFunctionData(functionFragment: 'INITIAL_CRYPTOKOYN_SUPPLY', values?: undefined): string; encodeFunctionData(functionFragment: 'balanceOf', values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: 'balanceOfBatch', values: [AddressLike[], BigNumberish[]]): string; encodeFunctionData(functionFragment: 'batchRegisterObjectLayers', values: [AddressLike, string[], string[], BigNumberish[], BytesLike]): string; encodeFunctionData(functionFragment: 'burn', values: [AddressLike, BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: 'burnBatch', values: [AddressLike, BigNumberish[], BigNumberish[]]): string; encodeFunctionData(functionFragment: 'computeTokenId', values: [string]): string; encodeFunctionData(functionFragment: 'exists', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'getItemId', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'getMetadataCID', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'getTokenIdByItemId', values: [string]): string; encodeFunctionData(functionFragment: 'isApprovedForAll', values: [AddressLike, AddressLike]): string; encodeFunctionData(functionFragment: 'mint', values: [AddressLike, BigNumberish, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: 'mintBatch', values: [AddressLike, BigNumberish[], BigNumberish[], BytesLike]): string; encodeFunctionData(functionFragment: 'nextTokenId', values?: undefined): string; encodeFunctionData(functionFragment: 'owner', values?: undefined): string; encodeFunctionData(functionFragment: 'pause', values?: undefined): string; encodeFunctionData(functionFragment: 'paused', values?: undefined): string; encodeFunctionData(functionFragment: 'registerObjectLayer', values: [AddressLike, string, string, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: 'renounceOwnership', values?: undefined): string; encodeFunctionData(functionFragment: 'safeBatchTransferFrom', values: [AddressLike, AddressLike, BigNumberish[], BigNumberish[], BytesLike]): string; encodeFunctionData(functionFragment: 'safeTransferFrom', values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]): string; encodeFunctionData(functionFragment: 'setApprovalForAll', values: [AddressLike, boolean]): string; encodeFunctionData(functionFragment: 'setBaseURI', values: [string]): string; encodeFunctionData(functionFragment: 'setTokenMetadataCID', values: [BigNumberish, string]): string; encodeFunctionData(functionFragment: 'supportsInterface', values: [BytesLike]): string; encodeFunctionData(functionFragment: 'totalSupply()', values?: undefined): string; encodeFunctionData(functionFragment: 'totalSupply(uint256)', values: [BigNumberish]): string; encodeFunctionData(functionFragment: 'transferOwnership', values: [AddressLike]): string; encodeFunctionData(functionFragment: 'unpause', values?: undefined): string; encodeFunctionData(functionFragment: 'uri', values: [BigNumberish]): string; decodeFunctionResult(functionFragment: 'CRYPTOKOYN', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'INITIAL_CRYPTOKOYN_SUPPLY', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'balanceOf', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'balanceOfBatch', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'batchRegisterObjectLayers', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'burn', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'burnBatch', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'computeTokenId', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'exists', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getItemId', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getMetadataCID', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'getTokenIdByItemId', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'isApprovedForAll', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'mint', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'mintBatch', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'nextTokenId', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'owner', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'pause', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'paused', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'registerObjectLayer', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'renounceOwnership', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'safeBatchTransferFrom', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'safeTransferFrom', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setApprovalForAll', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setBaseURI', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'setTokenMetadataCID', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'supportsInterface', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'totalSupply()', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'totalSupply(uint256)', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'transferOwnership', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'unpause', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'uri', data: BytesLike): Result; } export namespace ApprovalForAllEvent { export type InputTuple = [account: AddressLike, operator: AddressLike, approved: boolean]; export type OutputTuple = [account: string, operator: string, approved: boolean]; export interface OutputObject {account: string, operator: string, approved: boolean }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace MetadataUpdatedEvent { export type InputTuple = [tokenId: BigNumberish, metadataCid: string]; export type OutputTuple = [tokenId: bigint, metadataCid: string]; export interface OutputObject {tokenId: bigint, metadataCid: string }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace ObjectLayerRegisteredEvent { export type InputTuple = [tokenId: BigNumberish, itemId: string, metadataCid: string, initialSupply: BigNumberish]; export type OutputTuple = [tokenId: bigint, itemId: string, metadataCid: string, initialSupply: bigint]; export interface OutputObject {tokenId: bigint, itemId: string, metadataCid: string, initialSupply: bigint }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace OwnershipTransferredEvent { export type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; export type OutputTuple = [previousOwner: string, newOwner: string]; export interface OutputObject {previousOwner: string, newOwner: string }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace PausedEvent { export type InputTuple = [account: AddressLike]; export type OutputTuple = [account: string]; export interface OutputObject {account: string }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace TransferBatchEvent { export type InputTuple = [operator: AddressLike, from: AddressLike, to: AddressLike, ids: BigNumberish[], values: BigNumberish[]]; export type OutputTuple = [operator: string, from: string, to: string, ids: bigint[], values: bigint[]]; export interface OutputObject {operator: string, from: string, to: string, ids: bigint[], values: bigint[] }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace TransferSingleEvent { export type InputTuple = [operator: AddressLike, from: AddressLike, to: AddressLike, id: BigNumberish, value: BigNumberish]; export type OutputTuple = [operator: string, from: string, to: string, id: bigint, value: bigint]; export interface OutputObject {operator: string, from: string, to: string, id: bigint, value: bigint }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace URIEvent { export type InputTuple = [value: string, id: BigNumberish]; export type OutputTuple = [value: string, id: bigint]; export interface OutputObject {value: string, id: bigint }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export namespace UnpausedEvent { export type InputTuple = [account: AddressLike]; export type OutputTuple = [account: string]; export interface OutputObject {account: string }; export type Event = TypedContractEvent export type Filter = TypedDeferredTopicFilter export type Log = TypedEventLog export type LogDescription = TypedLogDescription } export interface ObjectLayerToken extends BaseContract { connect(runner?: ContractRunner | null): ObjectLayerToken; waitForDeployment(): Promise; interface: ObjectLayerTokenInterface; queryFilter( event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined, ): Promise>> queryFilter( filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined ): Promise>>; on(event: TCEvent, listener: TypedListener): Promise on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise once(event: TCEvent, listener: TypedListener): Promise once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise listeners( event: TCEvent ): Promise>>; listeners(eventName?: string): Promise> removeAllListeners(event?: TCEvent): Promise CRYPTOKOYN: TypedContractMethod< [], [bigint], 'view' > INITIAL_CRYPTOKOYN_SUPPLY: TypedContractMethod< [], [bigint], 'view' > balanceOf: TypedContractMethod< [account: AddressLike, id: BigNumberish, ], [bigint], 'view' > balanceOfBatch: TypedContractMethod< [accounts: AddressLike[], ids: BigNumberish[], ], [bigint[]], 'view' > batchRegisterObjectLayers: TypedContractMethod< [to: AddressLike, itemIds: string[], metadataCids: string[], supplies: BigNumberish[], data: BytesLike, ], [bigint[]], 'nonpayable' > burn: TypedContractMethod< [account: AddressLike, id: BigNumberish, value: BigNumberish, ], [void], 'nonpayable' > burnBatch: TypedContractMethod< [account: AddressLike, ids: BigNumberish[], values: BigNumberish[], ], [void], 'nonpayable' > computeTokenId: TypedContractMethod< [itemId: string, ], [bigint], 'view' > exists: TypedContractMethod< [id: BigNumberish, ], [boolean], 'view' > getItemId: TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' > getMetadataCID: TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' > getTokenIdByItemId: TypedContractMethod< [itemId: string, ], [bigint], 'view' > isApprovedForAll: TypedContractMethod< [account: AddressLike, operator: AddressLike, ], [boolean], 'view' > mint: TypedContractMethod< [to: AddressLike, tokenId: BigNumberish, amount: BigNumberish, data: BytesLike, ], [void], 'nonpayable' > mintBatch: TypedContractMethod< [to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, ], [void], 'nonpayable' > nextTokenId: TypedContractMethod< [], [bigint], 'view' > owner: TypedContractMethod< [], [string], 'view' > pause: TypedContractMethod< [], [void], 'nonpayable' > paused: TypedContractMethod< [], [boolean], 'view' > registerObjectLayer: TypedContractMethod< [to: AddressLike, itemId: string, metadataCid: string, initialSupply: BigNumberish, data: BytesLike, ], [bigint], 'nonpayable' > renounceOwnership: TypedContractMethod< [], [void], 'nonpayable' > safeBatchTransferFrom: TypedContractMethod< [from: AddressLike, to: AddressLike, ids: BigNumberish[], values: BigNumberish[], data: BytesLike, ], [void], 'nonpayable' > safeTransferFrom: TypedContractMethod< [from: AddressLike, to: AddressLike, id: BigNumberish, value: BigNumberish, data: BytesLike, ], [void], 'nonpayable' > setApprovalForAll: TypedContractMethod< [operator: AddressLike, approved: boolean, ], [void], 'nonpayable' > setBaseURI: TypedContractMethod< [newBaseURI: string, ], [void], 'nonpayable' > setTokenMetadataCID: TypedContractMethod< [tokenId: BigNumberish, metadataCid: string, ], [void], 'nonpayable' > supportsInterface: TypedContractMethod< [interfaceId: BytesLike, ], [boolean], 'view' > "totalSupply()": TypedContractMethod< [], [bigint], 'view' > "totalSupply(uint256)": TypedContractMethod< [id: BigNumberish, ], [bigint], 'view' > transferOwnership: TypedContractMethod< [newOwner: AddressLike, ], [void], 'nonpayable' > unpause: TypedContractMethod< [], [void], 'nonpayable' > uri: TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' > getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: 'CRYPTOKOYN'): TypedContractMethod< [], [bigint], 'view' >; getFunction(nameOrSignature: 'INITIAL_CRYPTOKOYN_SUPPLY'): TypedContractMethod< [], [bigint], 'view' >; getFunction(nameOrSignature: 'balanceOf'): TypedContractMethod< [account: AddressLike, id: BigNumberish, ], [bigint], 'view' >; getFunction(nameOrSignature: 'balanceOfBatch'): TypedContractMethod< [accounts: AddressLike[], ids: BigNumberish[], ], [bigint[]], 'view' >; getFunction(nameOrSignature: 'batchRegisterObjectLayers'): TypedContractMethod< [to: AddressLike, itemIds: string[], metadataCids: string[], supplies: BigNumberish[], data: BytesLike, ], [bigint[]], 'nonpayable' >; getFunction(nameOrSignature: 'burn'): TypedContractMethod< [account: AddressLike, id: BigNumberish, value: BigNumberish, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'burnBatch'): TypedContractMethod< [account: AddressLike, ids: BigNumberish[], values: BigNumberish[], ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'computeTokenId'): TypedContractMethod< [itemId: string, ], [bigint], 'view' >; getFunction(nameOrSignature: 'exists'): TypedContractMethod< [id: BigNumberish, ], [boolean], 'view' >; getFunction(nameOrSignature: 'getItemId'): TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' >; getFunction(nameOrSignature: 'getMetadataCID'): TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' >; getFunction(nameOrSignature: 'getTokenIdByItemId'): TypedContractMethod< [itemId: string, ], [bigint], 'view' >; getFunction(nameOrSignature: 'isApprovedForAll'): TypedContractMethod< [account: AddressLike, operator: AddressLike, ], [boolean], 'view' >; getFunction(nameOrSignature: 'mint'): TypedContractMethod< [to: AddressLike, tokenId: BigNumberish, amount: BigNumberish, data: BytesLike, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'mintBatch'): TypedContractMethod< [to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'nextTokenId'): TypedContractMethod< [], [bigint], 'view' >; getFunction(nameOrSignature: 'owner'): TypedContractMethod< [], [string], 'view' >; getFunction(nameOrSignature: 'pause'): TypedContractMethod< [], [void], 'nonpayable' >; getFunction(nameOrSignature: 'paused'): TypedContractMethod< [], [boolean], 'view' >; getFunction(nameOrSignature: 'registerObjectLayer'): TypedContractMethod< [to: AddressLike, itemId: string, metadataCid: string, initialSupply: BigNumberish, data: BytesLike, ], [bigint], 'nonpayable' >; getFunction(nameOrSignature: 'renounceOwnership'): TypedContractMethod< [], [void], 'nonpayable' >; getFunction(nameOrSignature: 'safeBatchTransferFrom'): TypedContractMethod< [from: AddressLike, to: AddressLike, ids: BigNumberish[], values: BigNumberish[], data: BytesLike, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'safeTransferFrom'): TypedContractMethod< [from: AddressLike, to: AddressLike, id: BigNumberish, value: BigNumberish, data: BytesLike, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'setApprovalForAll'): TypedContractMethod< [operator: AddressLike, approved: boolean, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'setBaseURI'): TypedContractMethod< [newBaseURI: string, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'setTokenMetadataCID'): TypedContractMethod< [tokenId: BigNumberish, metadataCid: string, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'supportsInterface'): TypedContractMethod< [interfaceId: BytesLike, ], [boolean], 'view' >; getFunction(nameOrSignature: 'totalSupply()'): TypedContractMethod< [], [bigint], 'view' >; getFunction(nameOrSignature: 'totalSupply(uint256)'): TypedContractMethod< [id: BigNumberish, ], [bigint], 'view' >; getFunction(nameOrSignature: 'transferOwnership'): TypedContractMethod< [newOwner: AddressLike, ], [void], 'nonpayable' >; getFunction(nameOrSignature: 'unpause'): TypedContractMethod< [], [void], 'nonpayable' >; getFunction(nameOrSignature: 'uri'): TypedContractMethod< [tokenId: BigNumberish, ], [string], 'view' >; getEvent(key: 'ApprovalForAll'): TypedContractEvent; getEvent(key: 'MetadataUpdated'): TypedContractEvent; getEvent(key: 'ObjectLayerRegistered'): TypedContractEvent; getEvent(key: 'OwnershipTransferred'): TypedContractEvent; getEvent(key: 'Paused'): TypedContractEvent; getEvent(key: 'TransferBatch'): TypedContractEvent; getEvent(key: 'TransferSingle'): TypedContractEvent; getEvent(key: 'URI'): TypedContractEvent; getEvent(key: 'Unpaused'): TypedContractEvent; filters: { 'ApprovalForAll(address,address,bool)': TypedContractEvent; ApprovalForAll: TypedContractEvent; 'MetadataUpdated(uint256,string)': TypedContractEvent; MetadataUpdated: TypedContractEvent; 'ObjectLayerRegistered(uint256,string,string,uint256)': TypedContractEvent; ObjectLayerRegistered: TypedContractEvent; 'OwnershipTransferred(address,address)': TypedContractEvent; OwnershipTransferred: TypedContractEvent; 'Paused(address)': TypedContractEvent; Paused: TypedContractEvent; 'TransferBatch(address,address,address,uint256[],uint256[])': TypedContractEvent; TransferBatch: TypedContractEvent; 'TransferSingle(address,address,address,uint256,uint256)': TypedContractEvent; TransferSingle: TypedContractEvent; 'URI(string,uint256)': TypedContractEvent; URI: TypedContractEvent; 'Unpaused(address)': TypedContractEvent; Unpaused: TypedContractEvent; }; }