/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener, } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod, } from "./common"; export interface IUniswapV3PoolDerivedStateInterface extends Interface { getFunction( nameOrSignature: "observe" | "snapshotCumulativesInside" ): FunctionFragment; encodeFunctionData( functionFragment: "observe", values: [BigNumberish[]] ): string; encodeFunctionData( functionFragment: "snapshotCumulativesInside", values: [BigNumberish, BigNumberish] ): string; decodeFunctionResult(functionFragment: "observe", data: BytesLike): Result; decodeFunctionResult( functionFragment: "snapshotCumulativesInside", data: BytesLike ): Result; } export interface IUniswapV3PoolDerivedState extends BaseContract { connect(runner?: ContractRunner | null): IUniswapV3PoolDerivedState; waitForDeployment(): Promise; interface: IUniswapV3PoolDerivedStateInterface; 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; observe: TypedContractMethod< [secondsAgos: BigNumberish[]], [ [bigint[], bigint[]] & { tickCumulatives: bigint[]; secondsPerLiquidityCumulativeX128s: bigint[]; } ], "view" >; snapshotCumulativesInside: TypedContractMethod< [tickLower: BigNumberish, tickUpper: BigNumberish], [ [bigint, bigint, bigint] & { tickCumulativeInside: bigint; secondsPerLiquidityInsideX128: bigint; secondsInside: bigint; } ], "view" >; getFunction( key: string | FunctionFragment ): T; getFunction( nameOrSignature: "observe" ): TypedContractMethod< [secondsAgos: BigNumberish[]], [ [bigint[], bigint[]] & { tickCumulatives: bigint[]; secondsPerLiquidityCumulativeX128s: bigint[]; } ], "view" >; getFunction( nameOrSignature: "snapshotCumulativesInside" ): TypedContractMethod< [tickLower: BigNumberish, tickUpper: BigNumberish], [ [bigint, bigint, bigint] & { tickCumulativeInside: bigint; secondsPerLiquidityInsideX128: bigint; secondsInside: bigint; } ], "view" >; filters: {}; }