@bombearn/sdk
Version:
Interaction framework for the yearn protocol
11 lines (10 loc) • 548 B
TypeScript
import { TransactionRequest } from "@ethersproject/providers";
import { ChainId } from "../chain";
import { ContractService } from "../common";
import { Address, Integer } from "../types";
export declare class ZapEthService<T extends ChainId> extends ContractService<T> {
zapIn(vault: Address, token: Address, amount: Integer, account: Address): Promise<TransactionRequest>;
zapOut(vault: Address, token: Address, amount: Integer, account: Address): Promise<TransactionRequest>;
private getAddress;
private getContract;
}