/* 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"; export declare namespace IERC721A { export type TokenOwnershipStruct = { addr: AddressLike; startTimestamp: BigNumberish; burned: boolean; extraData: BigNumberish; }; export type TokenOwnershipStructOutput = [ addr: string, startTimestamp: bigint, burned: boolean, extraData: bigint ] & { addr: string; startTimestamp: bigint; burned: boolean; extraData: bigint; }; } export interface TestERC721AQueryableInterface extends Interface { getFunction( nameOrSignature: | "approve" | "balanceOf" | "burn" | "explicitOwnershipOf" | "explicitOwnershipsOf" | "getApproved" | "isApprovedForAll" | "mint" | "name" | "owner" | "ownerOf" | "renounceOwnership" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setApprovalForAll" | "supportsInterface" | "symbol" | "tokenURI" | "tokensOfOwner" | "tokensOfOwnerIn" | "totalSupply" | "transferFrom" | "transferOwnership" ): FunctionFragment; getEvent( nameOrSignatureOrTopic: | "Approval" | "ApprovalForAll" | "ConsecutiveTransfer" | "OwnershipTransferred" | "Transfer" ): EventFragment; encodeFunctionData( functionFragment: "approve", values: [AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "balanceOf", values: [AddressLike] ): string; encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string; encodeFunctionData( functionFragment: "explicitOwnershipOf", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "explicitOwnershipsOf", values: [BigNumberish[]] ): string; encodeFunctionData( functionFragment: "getApproved", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "isApprovedForAll", values: [AddressLike, AddressLike] ): string; encodeFunctionData(functionFragment: "mint", values?: undefined): string; encodeFunctionData(functionFragment: "name", values?: undefined): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData( functionFragment: "ownerOf", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "renounceOwnership", values?: undefined ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike] ): string; encodeFunctionData( functionFragment: "setApprovalForAll", values: [AddressLike, boolean] ): string; encodeFunctionData( functionFragment: "supportsInterface", values: [BytesLike] ): string; encodeFunctionData(functionFragment: "symbol", values?: undefined): string; encodeFunctionData( functionFragment: "tokenURI", values: [BigNumberish] ): string; encodeFunctionData( functionFragment: "tokensOfOwner", values: [AddressLike] ): string; encodeFunctionData( functionFragment: "tokensOfOwnerIn", values: [AddressLike, BigNumberish, BigNumberish] ): string; encodeFunctionData( functionFragment: "totalSupply", values?: undefined ): string; encodeFunctionData( functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish] ): string; encodeFunctionData( functionFragment: "transferOwnership", values: [AddressLike] ): string; decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result; decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result; decodeFunctionResult( functionFragment: "explicitOwnershipOf", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "explicitOwnershipsOf", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getApproved", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "isApprovedForAll", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ownerOf", data: BytesLike): Result; decodeFunctionResult( functionFragment: "renounceOwnership", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setApprovalForAll", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "supportsInterface", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "tokenURI", data: BytesLike): Result; decodeFunctionResult( functionFragment: "tokensOfOwner", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "tokensOfOwnerIn", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "totalSupply", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferFrom", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; } export namespace ApprovalEvent { export type InputTuple = [ owner: AddressLike, approved: AddressLike, tokenId: BigNumberish ]; export type OutputTuple = [owner: string, approved: string, tokenId: bigint]; export interface OutputObject { owner: string; approved: string; tokenId: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace ApprovalForAllEvent { export type InputTuple = [ owner: AddressLike, operator: AddressLike, approved: boolean ]; export type OutputTuple = [ owner: string, operator: string, approved: boolean ]; export interface OutputObject { owner: string; operator: string; approved: boolean; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export namespace ConsecutiveTransferEvent { export type InputTuple = [ fromTokenId: BigNumberish, toTokenId: BigNumberish, from: AddressLike, to: AddressLike ]; export type OutputTuple = [ fromTokenId: bigint, toTokenId: bigint, from: string, to: string ]; export interface OutputObject { fromTokenId: bigint; toTokenId: bigint; from: string; to: string; } 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 TransferEvent { export type InputTuple = [ from: AddressLike, to: AddressLike, tokenId: BigNumberish ]; export type OutputTuple = [from: string, to: string, tokenId: bigint]; export interface OutputObject { from: string; to: string; tokenId: bigint; } export type Event = TypedContractEvent; export type Filter = TypedDeferredTopicFilter; export type Log = TypedEventLog; export type LogDescription = TypedLogDescription; } export interface TestERC721AQueryable extends BaseContract { connect(runner?: ContractRunner | null): TestERC721AQueryable; waitForDeployment(): Promise; interface: TestERC721AQueryableInterface; 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; approve: TypedContractMethod< [to: AddressLike, tokenId: BigNumberish], [void], "payable" >; balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">; burn: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; explicitOwnershipOf: TypedContractMethod< [tokenId: BigNumberish], [IERC721A.TokenOwnershipStructOutput], "view" >; explicitOwnershipsOf: TypedContractMethod< [tokenIds: BigNumberish[]], [IERC721A.TokenOwnershipStructOutput[]], "view" >; getApproved: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; isApprovedForAll: TypedContractMethod< [owner: AddressLike, operator: AddressLike], [boolean], "view" >; mint: TypedContractMethod<[], [void], "payable">; name: TypedContractMethod<[], [string], "view">; owner: TypedContractMethod<[], [string], "view">; ownerOf: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; "safeTransferFrom(address,address,uint256)": TypedContractMethod< [from: AddressLike, to: AddressLike, tokenId: BigNumberish], [void], "payable" >; "safeTransferFrom(address,address,uint256,bytes)": TypedContractMethod< [ from: AddressLike, to: AddressLike, tokenId: BigNumberish, _data: BytesLike ], [void], "payable" >; setApprovalForAll: TypedContractMethod< [operator: AddressLike, approved: boolean], [void], "nonpayable" >; supportsInterface: TypedContractMethod< [interfaceId: BytesLike], [boolean], "view" >; symbol: TypedContractMethod<[], [string], "view">; tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">; tokensOfOwner: TypedContractMethod<[owner: AddressLike], [bigint[]], "view">; tokensOfOwnerIn: TypedContractMethod< [owner: AddressLike, start: BigNumberish, stop: BigNumberish], [bigint[]], "view" >; totalSupply: TypedContractMethod<[], [bigint], "view">; transferFrom: TypedContractMethod< [from: AddressLike, to: AddressLike, tokenId: BigNumberish], [void], "payable" >; transferOwnership: TypedContractMethod< [newOwner: AddressLike], [void], "nonpayable" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "approve" ): TypedContractMethod< [to: AddressLike, tokenId: BigNumberish], [void], "payable" >; getFunction( nameOrSignature: "balanceOf" ): TypedContractMethod<[owner: AddressLike], [bigint], "view">; getFunction( nameOrSignature: "burn" ): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">; getFunction( nameOrSignature: "explicitOwnershipOf" ): TypedContractMethod< [tokenId: BigNumberish], [IERC721A.TokenOwnershipStructOutput], "view" >; getFunction( nameOrSignature: "explicitOwnershipsOf" ): TypedContractMethod< [tokenIds: BigNumberish[]], [IERC721A.TokenOwnershipStructOutput[]], "view" >; getFunction( nameOrSignature: "getApproved" ): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction( nameOrSignature: "isApprovedForAll" ): TypedContractMethod< [owner: AddressLike, operator: AddressLike], [boolean], "view" >; getFunction( nameOrSignature: "mint" ): TypedContractMethod<[], [void], "payable">; getFunction( nameOrSignature: "name" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "owner" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "ownerOf" ): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction( nameOrSignature: "renounceOwnership" ): TypedContractMethod<[], [void], "nonpayable">; getFunction( nameOrSignature: "safeTransferFrom(address,address,uint256)" ): TypedContractMethod< [from: AddressLike, to: AddressLike, tokenId: BigNumberish], [void], "payable" >; getFunction( nameOrSignature: "safeTransferFrom(address,address,uint256,bytes)" ): TypedContractMethod< [ from: AddressLike, to: AddressLike, tokenId: BigNumberish, _data: BytesLike ], [void], "payable" >; getFunction( nameOrSignature: "setApprovalForAll" ): TypedContractMethod< [operator: AddressLike, approved: boolean], [void], "nonpayable" >; getFunction( nameOrSignature: "supportsInterface" ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction( nameOrSignature: "symbol" ): TypedContractMethod<[], [string], "view">; getFunction( nameOrSignature: "tokenURI" ): TypedContractMethod<[tokenId: BigNumberish], [string], "view">; getFunction( nameOrSignature: "tokensOfOwner" ): TypedContractMethod<[owner: AddressLike], [bigint[]], "view">; getFunction( nameOrSignature: "tokensOfOwnerIn" ): TypedContractMethod< [owner: AddressLike, start: BigNumberish, stop: BigNumberish], [bigint[]], "view" >; getFunction( nameOrSignature: "totalSupply" ): TypedContractMethod<[], [bigint], "view">; getFunction( nameOrSignature: "transferFrom" ): TypedContractMethod< [from: AddressLike, to: AddressLike, tokenId: BigNumberish], [void], "payable" >; getFunction( nameOrSignature: "transferOwnership" ): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getEvent( key: "Approval" ): TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; getEvent( key: "ApprovalForAll" ): TypedContractEvent< ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject >; getEvent( key: "ConsecutiveTransfer" ): TypedContractEvent< ConsecutiveTransferEvent.InputTuple, ConsecutiveTransferEvent.OutputTuple, ConsecutiveTransferEvent.OutputObject >; getEvent( key: "OwnershipTransferred" ): TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; getEvent( key: "Transfer" ): TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; filters: { "Approval(address,address,uint256)": TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; Approval: TypedContractEvent< ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject >; "ApprovalForAll(address,address,bool)": TypedContractEvent< ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject >; ApprovalForAll: TypedContractEvent< ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject >; "ConsecutiveTransfer(uint256,uint256,address,address)": TypedContractEvent< ConsecutiveTransferEvent.InputTuple, ConsecutiveTransferEvent.OutputTuple, ConsecutiveTransferEvent.OutputObject >; ConsecutiveTransfer: TypedContractEvent< ConsecutiveTransferEvent.InputTuple, ConsecutiveTransferEvent.OutputTuple, ConsecutiveTransferEvent.OutputObject >; "OwnershipTransferred(address,address)": TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; OwnershipTransferred: TypedContractEvent< OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject >; "Transfer(address,address,uint256)": TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; Transfer: TypedContractEvent< TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject >; }; }