import z from 'zod';
export const swapSchema = z.object({
sellTokenSymbol: z
.string()
.describe("Symbol of the token to sell (e.g., 'ETH', 'USDC')"),
buyTokenSymbol: z
.string()
.describe("Symbol of the token to buy (e.g., 'ETH', 'USDC')"),
sellAmount: z.number().positive().describe('Amount of tokens to sell'),
});
export const batchSwapSchema = z.object({
sellTokenSymbols: z.array(z.string()).describe('Symbols of tokens to sell'),
buyTokenSymbol: z
.string()
.describe("Symbol of the token to buy (e.g., 'ETH', 'USDC')"),
sellAmounts: z.array(z.number()).describe('Amounts of tokens to sell'),
});
export const routeSchema = z.object({
sellTokenSymbol: z
.string()
.describe("Symbol of the token to sell (e.g., 'ETH', 'USDC')"),
buyTokenSymbol: z
.string()
.describe("Symbol of the token to buy (e.g., 'ETH', 'USDC')"),
sellAmount: z.number().positive().describe('Amount of tokens to sell'),
});
export type RouteSchemaType = z.infer<typeof routeSchema>;