/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils, } from "ethers"; import type { FunctionFragment, Result, EventFragment, } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue, } from "../../common"; export interface InterfaceIncentivesInterface extends utils.Interface { functions: { "claimRewards(uint8,address)": FunctionFragment; "depositDexShare(address,uint256)": FunctionFragment; "getClaimRewardDeductionRate(uint8,address)": FunctionFragment; "getIncentiveRewardAmount(uint8,address,address)": FunctionFragment; "getPendingRewards(address[],uint8,address,address)": FunctionFragment; "withdrawDexShare(address,uint256)": FunctionFragment; }; getFunction( nameOrSignatureOrTopic: | "claimRewards" | "depositDexShare" | "getClaimRewardDeductionRate" | "getIncentiveRewardAmount" | "getPendingRewards" | "withdrawDexShare" ): FunctionFragment; encodeFunctionData( functionFragment: "claimRewards", values: [PromiseOrValue, PromiseOrValue] ): string; encodeFunctionData( functionFragment: "depositDexShare", values: [PromiseOrValue, PromiseOrValue] ): string; encodeFunctionData( functionFragment: "getClaimRewardDeductionRate", values: [PromiseOrValue, PromiseOrValue] ): string; encodeFunctionData( functionFragment: "getIncentiveRewardAmount", values: [ PromiseOrValue, PromiseOrValue, PromiseOrValue ] ): string; encodeFunctionData( functionFragment: "getPendingRewards", values: [ PromiseOrValue[], PromiseOrValue, PromiseOrValue, PromiseOrValue ] ): string; encodeFunctionData( functionFragment: "withdrawDexShare", values: [PromiseOrValue, PromiseOrValue] ): string; decodeFunctionResult( functionFragment: "claimRewards", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "depositDexShare", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getClaimRewardDeductionRate", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getIncentiveRewardAmount", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "getPendingRewards", data: BytesLike ): Result; decodeFunctionResult( functionFragment: "withdrawDexShare", data: BytesLike ): Result; events: { "ClaimedRewards(address,uint8,address)": EventFragment; "DepositedShare(address,address,uint256)": EventFragment; "WithdrewShare(address,address,uint256)": EventFragment; }; getEvent(nameOrSignatureOrTopic: "ClaimedRewards"): EventFragment; getEvent(nameOrSignatureOrTopic: "DepositedShare"): EventFragment; getEvent(nameOrSignatureOrTopic: "WithdrewShare"): EventFragment; } export interface ClaimedRewardsEventObject { sender: string; pool: number; poolCurrencyId: string; } export type ClaimedRewardsEvent = TypedEvent< [string, number, string], ClaimedRewardsEventObject >; export type ClaimedRewardsEventFilter = TypedEventFilter; export interface DepositedShareEventObject { sender: string; currencyId: string; amount: BigNumber; } export type DepositedShareEvent = TypedEvent< [string, string, BigNumber], DepositedShareEventObject >; export type DepositedShareEventFilter = TypedEventFilter; export interface WithdrewShareEventObject { sender: string; currencyId: string; amount: BigNumber; } export type WithdrewShareEvent = TypedEvent< [string, string, BigNumber], WithdrewShareEventObject >; export type WithdrewShareEventFilter = TypedEventFilter; export interface InterfaceIncentives extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: InterfaceIncentivesInterface; 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: { claimRewards( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; depositDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; getClaimRewardDeductionRate( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise<[BigNumber]>; getIncentiveRewardAmount( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, rewardCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise<[BigNumber]>; getPendingRewards( currencyIds: PromiseOrValue[], pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, who: PromiseOrValue, overrides?: CallOverrides ): Promise<[BigNumber[]]>; withdrawDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; }; claimRewards( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; depositDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; getClaimRewardDeductionRate( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getIncentiveRewardAmount( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, rewardCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getPendingRewards( currencyIds: PromiseOrValue[], pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, who: PromiseOrValue, overrides?: CallOverrides ): Promise; withdrawDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; callStatic: { claimRewards( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; depositDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides ): Promise; getClaimRewardDeductionRate( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getIncentiveRewardAmount( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, rewardCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getPendingRewards( currencyIds: PromiseOrValue[], pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, who: PromiseOrValue, overrides?: CallOverrides ): Promise; withdrawDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: CallOverrides ): Promise; }; filters: { "ClaimedRewards(address,uint8,address)"( sender?: PromiseOrValue | null, pool?: PromiseOrValue | null, poolCurrencyId?: PromiseOrValue | null ): ClaimedRewardsEventFilter; ClaimedRewards( sender?: PromiseOrValue | null, pool?: PromiseOrValue | null, poolCurrencyId?: PromiseOrValue | null ): ClaimedRewardsEventFilter; "DepositedShare(address,address,uint256)"( sender?: PromiseOrValue | null, currencyId?: PromiseOrValue | null, amount?: null ): DepositedShareEventFilter; DepositedShare( sender?: PromiseOrValue | null, currencyId?: PromiseOrValue | null, amount?: null ): DepositedShareEventFilter; "WithdrewShare(address,address,uint256)"( sender?: PromiseOrValue | null, currencyId?: PromiseOrValue | null, amount?: null ): WithdrewShareEventFilter; WithdrewShare( sender?: PromiseOrValue | null, currencyId?: PromiseOrValue | null, amount?: null ): WithdrewShareEventFilter; }; estimateGas: { claimRewards( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; depositDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; getClaimRewardDeductionRate( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getIncentiveRewardAmount( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, rewardCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getPendingRewards( currencyIds: PromiseOrValue[], pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, who: PromiseOrValue, overrides?: CallOverrides ): Promise; withdrawDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; }; populateTransaction: { claimRewards( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; depositDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; getClaimRewardDeductionRate( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getIncentiveRewardAmount( pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, rewardCurrencyId: PromiseOrValue, overrides?: CallOverrides ): Promise; getPendingRewards( currencyIds: PromiseOrValue[], pool: PromiseOrValue, poolCurrencyId: PromiseOrValue, who: PromiseOrValue, overrides?: CallOverrides ): Promise; withdrawDexShare( currencyId: PromiseOrValue, amount: PromiseOrValue, overrides?: Overrides & { from?: PromiseOrValue } ): Promise; }; }