import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers'; import type { FunctionFragment, Result } from '@ethersproject/abi'; import type { Listener, Provider } from '@ethersproject/providers'; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common.js'; export interface IQuoterInterface extends utils.Interface { functions: { 'quoteExactInput(bytes,uint256)': FunctionFragment; 'quoteExactInputSingle(address,address,uint24,uint256,uint160)': FunctionFragment; 'quoteExactOutput(bytes,uint256)': FunctionFragment; 'quoteExactOutputSingle(address,address,uint24,uint256,uint160)': FunctionFragment; }; getFunction(nameOrSignatureOrTopic: 'quoteExactInput' | 'quoteExactInputSingle' | 'quoteExactOutput' | 'quoteExactOutputSingle'): FunctionFragment; encodeFunctionData(functionFragment: 'quoteExactInput', values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: 'quoteExactInputSingle', values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; encodeFunctionData(functionFragment: 'quoteExactOutput', values: [PromiseOrValue, PromiseOrValue]): string; encodeFunctionData(functionFragment: 'quoteExactOutputSingle', values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue, PromiseOrValue ]): string; decodeFunctionResult(functionFragment: 'quoteExactInput', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'quoteExactInputSingle', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'quoteExactOutput', data: BytesLike): Result; decodeFunctionResult(functionFragment: 'quoteExactOutputSingle', data: BytesLike): Result; events: {}; } export interface IQuoter extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IQuoterInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { quoteExactInput(path: PromiseOrValue, amountIn: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactInputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountIn: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutput(path: PromiseOrValue, amountOut: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountOut: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; quoteExactInput(path: PromiseOrValue, amountIn: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactInputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountIn: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutput(path: PromiseOrValue, amountOut: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountOut: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; callStatic: { quoteExactInput(path: PromiseOrValue, amountIn: PromiseOrValue, overrides?: CallOverrides): Promise; quoteExactInputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountIn: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: CallOverrides): Promise; quoteExactOutput(path: PromiseOrValue, amountOut: PromiseOrValue, overrides?: CallOverrides): Promise; quoteExactOutputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountOut: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: CallOverrides): Promise; }; filters: {}; estimateGas: { quoteExactInput(path: PromiseOrValue, amountIn: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactInputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountIn: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutput(path: PromiseOrValue, amountOut: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountOut: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; populateTransaction: { quoteExactInput(path: PromiseOrValue, amountIn: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactInputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountIn: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutput(path: PromiseOrValue, amountOut: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; quoteExactOutputSingle(tokenIn: PromiseOrValue, tokenOut: PromiseOrValue, fee: PromiseOrValue, amountOut: PromiseOrValue, sqrtPriceLimitX96: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue; }): Promise; }; }