UNPKG

baluni-api

Version:
18 lines (17 loc) 540 B
import { BigNumber, ethers } from 'ethers'; export declare function redeemFromYearn(wallet: ethers.Wallet, pool: string, amount: BigNumber, receiver: string, chainId: string): Promise<{ Approvals: any[]; Calldatas: any[]; TokensReturn: any[]; }>; export declare function redeemFromYearnBatched(redeems: Array<{ wallet: ethers.Wallet; pool: string; amount: BigNumber; receiver: string; chainId: string; }>): Promise<{ Approvals: Array<any>; Calldatas: Array<any>; TokensReturn: Array<string>; }>;