baluni-api
Version:
Api for baluni-cli
7 lines (6 loc) • 306 B
TypeScript
import { Wallet } from 'ethers';
export declare function buildSwap(wallet: Wallet, address: string, token0: string, token1: string, reverse: boolean, protocol: string, chainId: string, amount: string, slippage: number): Promise<{
Approvals: any[];
Calldatas: any[];
TokensReturn: string[];
}>;