UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

70 lines (69 loc) 1.63 kB
import { z } from "zod"; /** * Input schema for transfer action. */ export declare const TransferSchema: z.ZodObject<{ amount: z.ZodString; tokenAddress: z.ZodString; destinationAddress: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; tokenAddress: string; destinationAddress: string; }, { amount: string; tokenAddress: string; destinationAddress: string; }>; /** * Input schema for get balance action. */ export declare const GetBalanceSchema: z.ZodObject<{ tokenAddress: z.ZodString; address: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { tokenAddress: string; address?: string | undefined; }, { tokenAddress: string; address?: string | undefined; }>; /** * Input schema for approve action. */ export declare const ApproveSchema: z.ZodObject<{ amount: z.ZodString; tokenAddress: z.ZodString; spenderAddress: z.ZodString; }, "strip", z.ZodTypeAny, { amount: string; tokenAddress: string; spenderAddress: string; }, { amount: string; tokenAddress: string; spenderAddress: string; }>; /** * Input schema for allowance action. */ export declare const AllowanceSchema: z.ZodObject<{ tokenAddress: z.ZodString; spenderAddress: z.ZodString; }, "strip", z.ZodTypeAny, { tokenAddress: string; spenderAddress: string; }, { tokenAddress: string; spenderAddress: string; }>; /** * Input schema for get token address action. */ export declare const GetTokenAddressSchema: z.ZodObject<{ symbol: z.ZodString; }, "strip", z.ZodTypeAny, { symbol: string; }, { symbol: string; }>;