/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { ethers, EventFilter, Signer, BigNumber, BigNumberish, PopulatedTransaction, } from "ethers"; import { Contract, ContractTransaction, Overrides, CallOverrides, } from "@ethersproject/contracts"; import { BytesLike } from "@ethersproject/bytes"; import { Listener, Provider } from "@ethersproject/providers"; import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; interface ProtocolFeesInterface extends ethers.utils.Interface { functions: { "collectProtocolFees(address,address,uint256)": FunctionFragment; "owner()": FunctionFragment; "protocolFeeController()": FunctionFragment; "protocolFeesAccrued(address)": FunctionFragment; "setProtocolFee(tuple,uint24)": FunctionFragment; "setProtocolFeeController(address)": FunctionFragment; "transferOwnership(address)": FunctionFragment; }; encodeFunctionData( functionFragment: "collectProtocolFees", values: [string, string, BigNumberish] ): string; encodeFunctionData(functionFragment: "owner", values?: undefined): string; encodeFunctionData( functionFragment: "protocolFeeController", values?: undefined ): string; encodeFunctionData( functionFragment: "protocolFeesAccrued", values: [string] ): string; encodeFunctionData( functionFragment: "setProtocolFee", values: [ { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, BigNumberish ] ): string; encodeFunctionData( functionFragment: "setProtocolFeeController", values: [string] ): string; encodeFunctionData( functionFragment: "transferOwnership", values: [string] ): string; decodeFunctionResult( functionFragment: "collectProtocolFees", data: BytesLike ): Result; decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; decodeFunctionResult( functionFragment: "protocolFeeController", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "protocolFeesAccrued", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setProtocolFee", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "setProtocolFeeController", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "transferOwnership", data: BytesLike ): Result; events: { "OwnershipTransferred(address,address)": EventFragment; "ProtocolFeeControllerUpdated(address)": EventFragment; "ProtocolFeeUpdated(bytes32,uint24)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; getEvent( nameOrSignatureOrTopic: "ProtocolFeeControllerUpdated" ): EventFragment; getEvent(nameOrSignatureOrTopic: "ProtocolFeeUpdated"): EventFragment; } export class ProtocolFees extends Contract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; on(event: EventFilter | string, listener: Listener): this; once(event: EventFilter | string, listener: Listener): this; addListener(eventName: EventFilter | string, listener: Listener): this; removeAllListeners(eventName: EventFilter | string): this; removeListener(eventName: any, listener: Listener): this; interface: ProtocolFeesInterface; functions: { collectProtocolFees( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; "collectProtocolFees(address,address,uint256)"( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; owner(overrides?: CallOverrides): Promise<{ 0: string; }>; "owner()"(overrides?: CallOverrides): Promise<{ 0: string; }>; protocolFeeController(overrides?: CallOverrides): Promise<{ 0: string; }>; "protocolFeeController()"(overrides?: CallOverrides): Promise<{ 0: string; }>; protocolFeesAccrued( currency: string, overrides?: CallOverrides ): Promise<{ amount: BigNumber; 0: BigNumber; }>; "protocolFeesAccrued(address)"( currency: string, overrides?: CallOverrides ): Promise<{ amount: BigNumber; 0: BigNumber; }>; setProtocolFee( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; "setProtocolFee((address,address,uint24,int24,address),uint24)"( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; setProtocolFeeController( controller: string, overrides?: Overrides ): Promise; "setProtocolFeeController(address)"( controller: string, overrides?: Overrides ): Promise; transferOwnership( newOwner: string, overrides?: Overrides ): Promise; "transferOwnership(address)"( newOwner: string, overrides?: Overrides ): Promise; }; collectProtocolFees( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; "collectProtocolFees(address,address,uint256)"( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; owner(overrides?: CallOverrides): Promise; "owner()"(overrides?: CallOverrides): Promise; protocolFeeController(overrides?: CallOverrides): Promise; "protocolFeeController()"(overrides?: CallOverrides): Promise; protocolFeesAccrued( currency: string, overrides?: CallOverrides ): Promise; "protocolFeesAccrued(address)"( currency: string, overrides?: CallOverrides ): Promise; setProtocolFee( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; "setProtocolFee((address,address,uint24,int24,address),uint24)"( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; setProtocolFeeController( controller: string, overrides?: Overrides ): Promise; "setProtocolFeeController(address)"( controller: string, overrides?: Overrides ): Promise; transferOwnership( newOwner: string, overrides?: Overrides ): Promise; "transferOwnership(address)"( newOwner: string, overrides?: Overrides ): Promise; callStatic: { collectProtocolFees( recipient: string, currency: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; "collectProtocolFees(address,address,uint256)"( recipient: string, currency: string, amount: BigNumberish, overrides?: CallOverrides ): Promise; owner(overrides?: CallOverrides): Promise; "owner()"(overrides?: CallOverrides): Promise; protocolFeeController(overrides?: CallOverrides): Promise; "protocolFeeController()"(overrides?: CallOverrides): Promise; protocolFeesAccrued( currency: string, overrides?: CallOverrides ): Promise; "protocolFeesAccrued(address)"( currency: string, overrides?: CallOverrides ): Promise; setProtocolFee( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: CallOverrides ): Promise; "setProtocolFee((address,address,uint24,int24,address),uint24)"( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: CallOverrides ): Promise; setProtocolFeeController( controller: string, overrides?: CallOverrides ): Promise; "setProtocolFeeController(address)"( controller: string, overrides?: CallOverrides ): Promise; transferOwnership( newOwner: string, overrides?: CallOverrides ): Promise; "transferOwnership(address)"( newOwner: string, overrides?: CallOverrides ): Promise; }; filters: { OwnershipTransferred( user: string | null, newOwner: string | null ): EventFilter; ProtocolFeeControllerUpdated( protocolFeeController: string | null ): EventFilter; ProtocolFeeUpdated(id: BytesLike | null, protocolFee: null): EventFilter; }; estimateGas: { collectProtocolFees( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; "collectProtocolFees(address,address,uint256)"( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; owner(overrides?: CallOverrides): Promise; "owner()"(overrides?: CallOverrides): Promise; protocolFeeController(overrides?: CallOverrides): Promise; "protocolFeeController()"(overrides?: CallOverrides): Promise; protocolFeesAccrued( currency: string, overrides?: CallOverrides ): Promise; "protocolFeesAccrued(address)"( currency: string, overrides?: CallOverrides ): Promise; setProtocolFee( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; "setProtocolFee((address,address,uint24,int24,address),uint24)"( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; setProtocolFeeController( controller: string, overrides?: Overrides ): Promise; "setProtocolFeeController(address)"( controller: string, overrides?: Overrides ): Promise; transferOwnership( newOwner: string, overrides?: Overrides ): Promise; "transferOwnership(address)"( newOwner: string, overrides?: Overrides ): Promise; }; populateTransaction: { collectProtocolFees( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; "collectProtocolFees(address,address,uint256)"( recipient: string, currency: string, amount: BigNumberish, overrides?: Overrides ): Promise; owner(overrides?: CallOverrides): Promise; "owner()"(overrides?: CallOverrides): Promise; protocolFeeController( overrides?: CallOverrides ): Promise; "protocolFeeController()"( overrides?: CallOverrides ): Promise; protocolFeesAccrued( currency: string, overrides?: CallOverrides ): Promise; "protocolFeesAccrued(address)"( currency: string, overrides?: CallOverrides ): Promise; setProtocolFee( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; "setProtocolFee((address,address,uint24,int24,address),uint24)"( key: { currency0: string; currency1: string; fee: BigNumberish; tickSpacing: BigNumberish; hooks: string; }, newProtocolFee: BigNumberish, overrides?: Overrides ): Promise; setProtocolFeeController( controller: string, overrides?: Overrides ): Promise; "setProtocolFeeController(address)"( controller: string, overrides?: Overrides ): Promise; transferOwnership( newOwner: string, overrides?: Overrides ): Promise; "transferOwnership(address)"( newOwner: string, overrides?: Overrides ): Promise; }; }