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 UniswapV2DynamicPriceRouterInterface extends Interface { getFunction(nameOrSignature: "FEE_DENOMINATOR" | "FEE_FACTOR" | "ROUTER_NAME" | "SCALER_DENOMINATOR" | "acceptOwnership" | "getPrice" | "getPriceFeesRemoved" | "owner" | "pendingOwner" | "renounceOwnership" | "setUniswapV2Router" | "supportsInterface" | "transferOwnership" | "uniswapV2Router"): FunctionFragment; getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred" | "UniswapV2RouterSet"): EventFragment; encodeFunctionData(functionFragment: "FEE_DENOMINATOR", values?: undefined): string; encodeFunctionData(functionFragment: "FEE_FACTOR", values?: undefined): string; encodeFunctionData(functionFragment: "ROUTER_NAME", values?: undefined): string; encodeFunctionData(functionFragment: "SCALER_DENOMINATOR", values?: undefined): string; encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "getPrice", values: [BigNumberish, AddressLike[]]): string; encodeFunctionData(functionFragment: "getPriceFeesRemoved", values: [BigNumberish, AddressLike[]]): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string; encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string; encodeFunctionData(functionFragment: "setUniswapV2Router", values: [AddressLike]): string; encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string; encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string; encodeFunctionData(functionFragment: "uniswapV2Router", values?: undefined): string; decodeFunctionResult(functionFragment: "FEE_DENOMINATOR", data: BytesLike): Result; decodeFunctionResult(functionFragment: "FEE_FACTOR", data: BytesLike): Result; decodeFunctionResult(functionFragment: "ROUTER_NAME", data: BytesLike): Result; decodeFunctionResult(functionFragment: "SCALER_DENOMINATOR", data: BytesLike): Result; decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPrice", data: BytesLike): Result; decodeFunctionResult(functionFragment: "getPriceFeesRemoved", data: BytesLike): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result; decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "setUniswapV2Router", data: BytesLike): Result; decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result; decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result; decodeFunctionResult(functionFragment: "uniswapV2Router", data: BytesLike): Result; } export declare namespace OwnershipTransferStartedEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace OwnershipTransferredEvent { type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike]; type OutputTuple = [previousOwner: string, newOwner: string]; interface OutputObject { previousOwner: string; newOwner: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export declare namespace UniswapV2RouterSetEvent { type InputTuple = [uniswapRouter: AddressLike]; type OutputTuple = [uniswapRouter: string]; interface OutputObject { uniswapRouter: string; } type Event = TypedContractEvent; type Filter = TypedDeferredTopicFilter; type Log = TypedEventLog; type LogDescription = TypedLogDescription; } export interface UniswapV2DynamicPriceRouter extends BaseContract { connect(runner?: ContractRunner | null): UniswapV2DynamicPriceRouter; waitForDeployment(): Promise; interface: UniswapV2DynamicPriceRouterInterface; 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; FEE_DENOMINATOR: TypedContractMethod<[], [bigint], "view">; FEE_FACTOR: TypedContractMethod<[], [bigint], "view">; ROUTER_NAME: TypedContractMethod<[], [string], "view">; SCALER_DENOMINATOR: TypedContractMethod<[], [bigint], "view">; acceptOwnership: TypedContractMethod<[], [void], "nonpayable">; getPrice: TypedContractMethod<[ amountIn: BigNumberish, path: AddressLike[] ], [ bigint ], "view">; getPriceFeesRemoved: TypedContractMethod<[ amountIn: BigNumberish, path: AddressLike[] ], [ bigint ], "view">; owner: TypedContractMethod<[], [string], "view">; pendingOwner: TypedContractMethod<[], [string], "view">; renounceOwnership: TypedContractMethod<[], [void], "nonpayable">; setUniswapV2Router: TypedContractMethod<[ _uniswapRouter: AddressLike ], [ void ], "nonpayable">; supportsInterface: TypedContractMethod<[ interfaceId: BytesLike ], [ boolean ], "view">; transferOwnership: TypedContractMethod<[ newOwner: AddressLike ], [ void ], "nonpayable">; uniswapV2Router: TypedContractMethod<[], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "FEE_DENOMINATOR"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "FEE_FACTOR"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "ROUTER_NAME"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "SCALER_DENOMINATOR"): TypedContractMethod<[], [bigint], "view">; getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "getPrice"): TypedContractMethod<[ amountIn: BigNumberish, path: AddressLike[] ], [ bigint ], "view">; getFunction(nameOrSignature: "getPriceFeesRemoved"): TypedContractMethod<[ amountIn: BigNumberish, path: AddressLike[] ], [ bigint ], "view">; getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">; getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">; getFunction(nameOrSignature: "setUniswapV2Router"): TypedContractMethod<[_uniswapRouter: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">; getFunction(nameOrSignature: "uniswapV2Router"): TypedContractMethod<[], [string], "view">; getEvent(key: "OwnershipTransferStarted"): TypedContractEvent; getEvent(key: "OwnershipTransferred"): TypedContractEvent; getEvent(key: "UniswapV2RouterSet"): TypedContractEvent; filters: { "OwnershipTransferStarted(address,address)": TypedContractEvent; OwnershipTransferStarted: TypedContractEvent; "OwnershipTransferred(address,address)": TypedContractEvent; OwnershipTransferred: TypedContractEvent; "UniswapV2RouterSet(address)": TypedContractEvent; UniswapV2RouterSet: TypedContractEvent; }; }