@iqai/mcp-fraxlend
Version:
Mcp server for Fraxlend access
18 lines (17 loc) • 549 B
TypeScript
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}`;
}>;
}