import { BigNumber, BigNumberish, providers } from 'ethers'; import BaseService from '../commons/BaseService'; import { EthereumTransactionTypeExtended } from '../commons/types'; import { IRewardsController } from './typechain/IRewardsController'; export declare type ClaimRewardsV2MethodType = { user: string; assets: string[]; reward: string; to?: string; incentivesControllerAddress: string; }; export declare type getAllUserRewardsReq = { user: string; assets: string[]; incentivesControllerAddress: string; }; export declare type getUserRewardsReq = { user: string; assets: string[]; reward: string; incentivesControllerAddress: string; }; export declare type getAllUserRewardsRsp = { rewardsList: string[]; unclaimedAmounts: BigNumber[]; }; export declare type ClaimAllRewardsV2MethodType = { user: string; assets: string[]; to?: string; incentivesControllerAddress: string; }; export interface RewardsControllerInterface { claimRewards: (args: ClaimRewardsV2MethodType) => EthereumTransactionTypeExtended[]; claimAllRewards: (args: ClaimAllRewardsV2MethodType) => EthereumTransactionTypeExtended[]; getAllUserRewards: (args: getAllUserRewardsReq) => Promise; getUserRewards: (args: getUserRewardsReq) => Promise; } export declare class RewardsController extends BaseService implements RewardsControllerInterface { constructor(provider: providers.Provider); claimRewards({ user, assets, to, incentivesControllerAddress, reward, }: ClaimRewardsV2MethodType): EthereumTransactionTypeExtended[]; claimAllRewards({ user, assets, to, incentivesControllerAddress, }: ClaimAllRewardsV2MethodType): EthereumTransactionTypeExtended[]; getUserRewards({ user, assets, incentivesControllerAddress, reward }: getUserRewardsReq): Promise; getAllUserRewards({ user, assets, incentivesControllerAddress }: getAllUserRewardsReq): Promise; } //# sourceMappingURL=index.d.ts.map