import { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers"; import { FunctionFragment, Result } from "@ethersproject/abi"; import { Listener, Provider } from "@ethersproject/providers"; import { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export interface IUniswapV3PoolOwnerActionsInterface extends utils.Interface { contractName: "IUniswapV3PoolOwnerActions"; functions: { "setFeeProtocol(uint8,uint8)": FunctionFragment; "collectProtocol(address,uint128,uint128)": FunctionFragment; }; encodeFunctionData(functionFragment: "setFeeProtocol", values: [BigNumberish, BigNumberish]): string; encodeFunctionData(functionFragment: "collectProtocol", values: [string, BigNumberish, BigNumberish]): string; decodeFunctionResult(functionFragment: "setFeeProtocol", data: BytesLike): Result; decodeFunctionResult(functionFragment: "collectProtocol", data: BytesLike): Result; events: {}; } export interface IUniswapV3PoolOwnerActions extends BaseContract { contractName: "IUniswapV3PoolOwnerActions"; connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: IUniswapV3PoolOwnerActionsInterface; 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: { /** * Set the denominator of the protocol's % share of the fees * @param feeProtocol0 new protocol fee for token0 of the pool * @param feeProtocol1 new protocol fee for token1 of the pool */ setFeeProtocol(feeProtocol0: BigNumberish, feeProtocol1: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Collect the protocol fee accrued to the pool * @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 * @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 * @param recipient The address to which collected protocol fees should be sent */ collectProtocol(recipient: string, amount0Requested: BigNumberish, amount1Requested: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; }; /** * Set the denominator of the protocol's % share of the fees * @param feeProtocol0 new protocol fee for token0 of the pool * @param feeProtocol1 new protocol fee for token1 of the pool */ setFeeProtocol(feeProtocol0: BigNumberish, feeProtocol1: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Collect the protocol fee accrued to the pool * @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 * @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 * @param recipient The address to which collected protocol fees should be sent */ collectProtocol(recipient: string, amount0Requested: BigNumberish, amount1Requested: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; callStatic: { /** * Set the denominator of the protocol's % share of the fees * @param feeProtocol0 new protocol fee for token0 of the pool * @param feeProtocol1 new protocol fee for token1 of the pool */ setFeeProtocol(feeProtocol0: BigNumberish, feeProtocol1: BigNumberish, overrides?: CallOverrides): Promise; /** * Collect the protocol fee accrued to the pool * @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 * @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 * @param recipient The address to which collected protocol fees should be sent */ collectProtocol(recipient: string, amount0Requested: BigNumberish, amount1Requested: BigNumberish, overrides?: CallOverrides): Promise<[ BigNumber, BigNumber ] & { amount0: BigNumber; amount1: BigNumber; }>; }; filters: {}; estimateGas: { /** * Set the denominator of the protocol's % share of the fees * @param feeProtocol0 new protocol fee for token0 of the pool * @param feeProtocol1 new protocol fee for token1 of the pool */ setFeeProtocol(feeProtocol0: BigNumberish, feeProtocol1: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Collect the protocol fee accrued to the pool * @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 * @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 * @param recipient The address to which collected protocol fees should be sent */ collectProtocol(recipient: string, amount0Requested: BigNumberish, amount1Requested: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; }; populateTransaction: { /** * Set the denominator of the protocol's % share of the fees * @param feeProtocol0 new protocol fee for token0 of the pool * @param feeProtocol1 new protocol fee for token1 of the pool */ setFeeProtocol(feeProtocol0: BigNumberish, feeProtocol1: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; /** * Collect the protocol fee accrued to the pool * @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1 * @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0 * @param recipient The address to which collected protocol fees should be sent */ collectProtocol(recipient: string, amount0Requested: BigNumberish, amount1Requested: BigNumberish, overrides?: Overrides & { from?: string | Promise; }): Promise; }; }