UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

58 lines (57 loc) 1.61 kB
import { z } from "zod"; /** * Input schema for Compound supply action. */ export declare const CompoundSupplySchema: z.ZodObject<{ assetId: z.ZodEnum<["weth", "cbeth", "cbbtc", "wsteth", "usdc"]>; amount: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; assetId: "usdc" | "cbbtc" | "weth" | "cbeth" | "wsteth"; }, { amount: string; assetId: "usdc" | "cbbtc" | "weth" | "cbeth" | "wsteth"; }>; /** * Input schema for Compound withdraw action. */ export declare const CompoundWithdrawSchema: z.ZodObject<{ assetId: z.ZodEnum<["weth", "cbeth", "cbbtc", "wsteth", "usdc"]>; amount: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; assetId: "usdc" | "cbbtc" | "weth" | "cbeth" | "wsteth"; }, { amount: string; assetId: "usdc" | "cbbtc" | "weth" | "cbeth" | "wsteth"; }>; /** * Input schema for Compound borrow action. */ export declare const CompoundBorrowSchema: z.ZodObject<{ assetId: z.ZodEnum<["weth", "usdc"]>; amount: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; assetId: "usdc" | "weth"; }, { amount: string; assetId: "usdc" | "weth"; }>; /** * Input schema for Compound repay action. */ export declare const CompoundRepaySchema: z.ZodObject<{ assetId: z.ZodEnum<["weth", "usdc"]>; amount: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; assetId: "usdc" | "weth"; }, { amount: string; assetId: "usdc" | "weth"; }>; /** * Input schema for Compound get portfolio action. */ export declare const CompoundPortfolioSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;