baluni-api
Version:
Api for baluni-cli
19 lines (18 loc) • 581 B
TypeScript
import { BigNumber, ethers } from 'ethers';
export declare function depositToYearn(wallet: ethers.Wallet, tokenAddr: string, pool: string, amount: BigNumber, receiver: string, chainId: string): Promise<{
Approvals: any[];
Calldatas: any[];
TokensReturn: any[];
}>;
export declare function depositToYearnBatched(deposits: Array<{
wallet: ethers.Wallet;
tokenAddr: string;
pool: string;
amount: BigNumber;
receiver: string;
chainId: string;
}>): Promise<{
Approvals: Array<any>;
Calldatas: Array<any>;
TokensReturn: Array<string>;
}>;