@iqai/mcp-fraxlend
Version:
Mcp server for Fraxlend access
40 lines (39 loc) • 1.06 kB
TypeScript
import { z } from "zod";
declare const borrowParamsSchema: z.ZodObject<{
pairAddress: z.ZodString;
receiver: z.ZodString;
collateralAmount: z.ZodString;
borrowAmount: z.ZodString;
}, "strip", z.ZodTypeAny, {
receiver: string;
pairAddress: string;
borrowAmount: string;
collateralAmount: string;
}, {
receiver: string;
pairAddress: string;
borrowAmount: string;
collateralAmount: string;
}>;
export declare const borrowTool: {
name: string;
description: string;
parameters: z.ZodObject<{
pairAddress: z.ZodString;
receiver: z.ZodString;
collateralAmount: z.ZodString;
borrowAmount: z.ZodString;
}, "strip", z.ZodTypeAny, {
receiver: string;
pairAddress: string;
borrowAmount: string;
collateralAmount: string;
}, {
receiver: string;
pairAddress: string;
borrowAmount: string;
collateralAmount: string;
}>;
execute: (args: z.infer<typeof borrowParamsSchema>) => Promise<string>;
};
export {};