UNPKG

@hashgraphonline/hedera-agent-kit

Version:

Build LLM-powered applications that interact with the Hedera Network. Create conversational agents that can understand user requests in natural language and execute Hedera transactions, or build backend systems that leverage AI for on-chain operations.

106 lines (104 loc) 4.88 kB
import { z } from 'zod'; import { BaseHederaTransactionTool, BaseHederaTransactionToolParams } from '../common/base-hedera-transaction-tool'; import { BaseServiceBuilder } from '../../../builders/base-service-builder'; declare const UpdateTokenZodSchemaCore: z.ZodObject<{ tokenId: z.ZodString; tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>; tokenSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>; treasuryAccountId: z.ZodOptional<z.ZodString>; adminKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; kycKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; freezeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; wipeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; supplyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; feeScheduleKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; pauseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; autoRenewAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>; autoRenewPeriod: z.ZodOptional<z.ZodNumber>; memo: z.ZodOptional<z.ZodNullable<z.ZodString>>; }, "strip", z.ZodTypeAny, { tokenId: string; memo?: string | null | undefined; adminKey?: string | null | undefined; autoRenewAccountId?: string | null | undefined; kycKey?: string | null | undefined; freezeKey?: string | null | undefined; wipeKey?: string | null | undefined; supplyKey?: string | null | undefined; feeScheduleKey?: string | null | undefined; pauseKey?: string | null | undefined; tokenName?: string | null | undefined; tokenSymbol?: string | null | undefined; treasuryAccountId?: string | undefined; autoRenewPeriod?: number | undefined; }, { tokenId: string; memo?: string | null | undefined; adminKey?: string | null | undefined; autoRenewAccountId?: string | null | undefined; kycKey?: string | null | undefined; freezeKey?: string | null | undefined; wipeKey?: string | null | undefined; supplyKey?: string | null | undefined; feeScheduleKey?: string | null | undefined; pauseKey?: string | null | undefined; tokenName?: string | null | undefined; tokenSymbol?: string | null | undefined; treasuryAccountId?: string | undefined; autoRenewPeriod?: number | undefined; }>; export declare class HederaUpdateTokenTool extends BaseHederaTransactionTool<typeof UpdateTokenZodSchemaCore> { name: string; description: string; specificInputSchema: z.ZodObject<{ tokenId: z.ZodString; tokenName: z.ZodOptional<z.ZodNullable<z.ZodString>>; tokenSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>; treasuryAccountId: z.ZodOptional<z.ZodString>; adminKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; kycKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; freezeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; wipeKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; supplyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; feeScheduleKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; pauseKey: z.ZodOptional<z.ZodNullable<z.ZodString>>; autoRenewAccountId: z.ZodOptional<z.ZodNullable<z.ZodString>>; autoRenewPeriod: z.ZodOptional<z.ZodNumber>; memo: z.ZodOptional<z.ZodNullable<z.ZodString>>; }, "strip", z.ZodTypeAny, { tokenId: string; memo?: string | null | undefined; adminKey?: string | null | undefined; autoRenewAccountId?: string | null | undefined; kycKey?: string | null | undefined; freezeKey?: string | null | undefined; wipeKey?: string | null | undefined; supplyKey?: string | null | undefined; feeScheduleKey?: string | null | undefined; pauseKey?: string | null | undefined; tokenName?: string | null | undefined; tokenSymbol?: string | null | undefined; treasuryAccountId?: string | undefined; autoRenewPeriod?: number | undefined; }, { tokenId: string; memo?: string | null | undefined; adminKey?: string | null | undefined; autoRenewAccountId?: string | null | undefined; kycKey?: string | null | undefined; freezeKey?: string | null | undefined; wipeKey?: string | null | undefined; supplyKey?: string | null | undefined; feeScheduleKey?: string | null | undefined; pauseKey?: string | null | undefined; tokenName?: string | null | undefined; tokenSymbol?: string | null | undefined; treasuryAccountId?: string | undefined; autoRenewPeriod?: number | undefined; }>; namespace: string; constructor(params: BaseHederaTransactionToolParams); protected getServiceBuilder(): BaseServiceBuilder; protected callBuilderMethod(builder: BaseServiceBuilder, specificArgs: z.infer<typeof UpdateTokenZodSchemaCore>): Promise<void>; } export {};