UNPKG

@iqai/mcp-fraxlend

Version:
18 lines (17 loc) 549 B
import { type Address } from "viem"; import type { WalletService } from "./wallet.js"; export declare class BorrowService { private walletService; constructor(walletService: WalletService); execute({ pairAddress, borrowAmount, collateralAmount, receiver, }: { pairAddress: Address; borrowAmount: bigint; collateralAmount: bigint; receiver: Address; }): Promise<{ txHash: `0x${string}`; borrowAmount: bigint; collateralAmount: bigint; receiver: `0x${string}`; }>; }