@coinbase/agentkit
Version:
Coinbase AgentKit core primitives
57 lines (56 loc) • 1.58 kB
TypeScript
import { z } from "zod";
/**
* Action schemas for the clanker action provider.
*
* This file contains the Zod schemas that define the shape and validation
* rules for action parameters in the clanker action provider.
*/
export declare const ClankTokenSchema: z.ZodObject<{
tokenName: z.ZodString;
tokenSymbol: z.ZodString;
image: z.ZodString;
vaultPercentage: z.ZodNumber;
lockDuration_Days: z.ZodNumber;
vestingDuration_Days: z.ZodNumber;
description: z.ZodOptional<z.ZodString>;
socialMediaUrls: z.ZodOptional<z.ZodArray<z.ZodObject<{
platform: z.ZodString;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
platform: string;
url: string;
}, {
platform: string;
url: string;
}>, "many">>;
interface: z.ZodDefault<z.ZodString>;
id: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
id: string;
tokenName: string;
tokenSymbol: string;
image: string;
vaultPercentage: number;
lockDuration_Days: number;
vestingDuration_Days: number;
interface: string;
description?: string | undefined;
socialMediaUrls?: {
platform: string;
url: string;
}[] | undefined;
}, {
tokenName: string;
tokenSymbol: string;
image: string;
vaultPercentage: number;
lockDuration_Days: number;
vestingDuration_Days: number;
id?: string | undefined;
description?: string | undefined;
socialMediaUrls?: {
platform: string;
url: string;
}[] | undefined;
interface?: string | undefined;
}>;