import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../common"; export interface OraidexPairV2Interface extends Interface { getFunction(nameOrSignature: "WasmdPrecompile" | "pair" | "pairAddress"): FunctionFragment; encodeFunctionData(functionFragment: "WasmdPrecompile", values?: undefined): string; encodeFunctionData(functionFragment: "pair", values?: undefined): string; encodeFunctionData(functionFragment: "pairAddress", values?: undefined): string; decodeFunctionResult(functionFragment: "WasmdPrecompile", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pair", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pairAddress", data: BytesLike): Result; } export interface OraidexPairV2 extends BaseContract { connect(runner?: ContractRunner | null): OraidexPairV2; waitForDeployment(): Promise; interface: OraidexPairV2Interface; 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; WasmdPrecompile: TypedContractMethod<[], [string], "view">; pair: TypedContractMethod<[], [string], "view">; pairAddress: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "WasmdPrecompile"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pair"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pairAddress"): TypedContractMethod<[], [string], "view">; filters: {}; }