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"; export interface IERC1155Interface extends Interface { getFunction(nameOrSignature: "balanceOf" | "balanceOfBatch" | "isApprovedForAll" | "safeBatchTransferFrom" | "safeTransferFrom" | "setApprovalForAll" | "supportsInterface"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "ApprovalForAll" | "TransferBatch" | "TransferSingle"): EventFragment; encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike, BigNumberish]): string; encodeFunctionData(functionFragment: "balanceOfBatch", values: [AddressLike[], BigNumberish[]]): string; encodeFunctionData(functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike]): 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: "supportsInterface", values: [BytesLike]): string; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOfBatch", data: BytesLike): Result; decodeFunctionResult(functionFragment: "isApprovedForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeBatchTransferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "safeTransferFrom", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; } export declare namespace ApprovalForAllEvent { type InputTuple = [ account: AddressLike, operator: AddressLike, approved: boolean ]; type OutputTuple = [ account: string, operator: string, approved: boolean ]; interface OutputObject { account: string; operator: string; approved: boolean; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferBatchEvent { type InputTuple = [ operator: AddressLike, from: AddressLike, to: AddressLike, ids: BigNumberish[], values: BigNumberish[] ]; type OutputTuple = [ operator: string, from: string, to: string, ids: bigint[], values: bigint[] ]; interface OutputObject { operator: string; from: string; to: string; ids: bigint[]; values: bigint[]; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace TransferSingleEvent { type InputTuple = [ operator: AddressLike, from: AddressLike, to: AddressLike, id: BigNumberish, value: BigNumberish ]; type OutputTuple = [ operator: string, from: string, to: string, id: bigint, value: bigint ]; interface OutputObject { operator: string; from: string; to: string; id: bigint; value: bigint; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface IERC1155 extends BaseContract { connect(runner?: ContractRunner | null): IERC1155; waitForDeployment(): Promise; interface: IERC1155Interface; 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; balanceOf: TypedContractMethod<[ account: AddressLike, id: BigNumberish ], [ bigint ], "view">; balanceOfBatch: TypedContractMethod<[ accounts: AddressLike[], ids: BigNumberish[] ], [ bigint[] ], "view">; isApprovedForAll: TypedContractMethod<[ account: AddressLike, operator: AddressLike ], [ boolean ], "view">; safeBatchTransferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike ], [ void ], "nonpayable">; safeTransferFrom: TypedContractMethod<[ from: AddressLike, to: AddressLike, id: BigNumberish, amount: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; setApprovalForAll: TypedContractMethod<[ operator: AddressLike, status: boolean ], [ void ], "nonpayable">; supportsInterface: TypedContractMethod<[ interfaceId: BytesLike ], [ boolean ], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[ account: AddressLike, id: BigNumberish ], [ bigint ], "view">; getFunction(nameOrSignature: "balanceOfBatch"): TypedContractMethod<[ accounts: AddressLike[], ids: BigNumberish[] ], [ bigint[] ], "view">; getFunction(nameOrSignature: "isApprovedForAll"): TypedContractMethod<[ account: AddressLike, operator: AddressLike ], [ boolean ], "view">; getFunction(nameOrSignature: "safeBatchTransferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "safeTransferFrom"): TypedContractMethod<[ from: AddressLike, to: AddressLike, id: BigNumberish, amount: BigNumberish, data: BytesLike ], [ void ], "nonpayable">; getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[ operator: AddressLike, status: boolean ], [ void ], "nonpayable">; getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getEvent(key: "ApprovalForAll"): TypedContractEvent; getEvent(key: "TransferBatch"): TypedContractEvent; getEvent(key: "TransferSingle"): TypedContractEvent; filters: { "ApprovalForAll(address,address,bool)": TypedContractEvent; ApprovalForAll: TypedContractEvent; "TransferBatch(address,address,address,uint256[],uint256[])": TypedContractEvent; TransferBatch: TypedContractEvent; "TransferSingle(address,address,address,uint256,uint256)": TypedContractEvent; TransferSingle: TypedContractEvent; }; }