@coinbase/agentkit
Version:
Coinbase AgentKit core primitives
37 lines (36 loc) • 1.09 kB
TypeScript
import { z } from "zod";
/**
* Input schema for asset swap action
*/
export declare const SushiSwapSchema: z.ZodObject<{
fromAssetAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
amount: z.ZodString;
toAssetAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
maxSlippage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
amount: string;
fromAssetAddress: `0x${string}`;
toAssetAddress: `0x${string}`;
maxSlippage: number;
}, {
amount: string;
fromAssetAddress: string;
toAssetAddress: string;
maxSlippage?: number | undefined;
}>;
/**
* Input schema for quote action
*/
export declare const SushiQuoteSchema: z.ZodObject<{
fromAssetAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
amount: z.ZodString;
toAssetAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
}, "strip", z.ZodTypeAny, {
amount: string;
fromAssetAddress: `0x${string}`;
toAssetAddress: `0x${string}`;
}, {
amount: string;
fromAssetAddress: string;
toAssetAddress: string;
}>;