@goat-sdk/plugin-plunderswap
Version:
<div align="center"> <a href="https://github.com/goat-sdk/goat">
117 lines (114 loc) • 3.28 kB
TypeScript
import * as _goat_sdk_core from '@goat-sdk/core';
import { z } from 'zod';
declare const TokensParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
declare class TokensParameters extends TokensParameters_base {
}
declare const TokensResponse: z.ZodObject<{
tokens: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
tokens: string[];
}, {
tokens: string[];
}>;
declare const BalanceParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
token: z.ZodString;
}, "strip", z.ZodTypeAny, {
token: string;
}, {
token: string;
}>>;
declare class BalanceParameters extends BalanceParameters_base {
}
declare const BalanceResponse: z.ZodObject<{
amount: z.ZodString;
}, "strip", z.ZodTypeAny, {
amount: string;
}, {
amount: string;
}>;
declare const QuoteParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
fromToken: z.ZodString;
fromAmount: z.ZodString;
toToken: z.ZodString;
}, "strip", z.ZodTypeAny, {
fromToken: string;
fromAmount: string;
toToken: string;
}, {
fromToken: string;
fromAmount: string;
toToken: string;
}>>;
declare class QuoteParameters extends QuoteParameters_base {
}
declare const QuoteResponse: z.ZodObject<{
amount: z.ZodString;
tokenPath: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
amount: string;
tokenPath: string[];
}, {
amount: string;
tokenPath: string[];
}>;
declare const SwapParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
fromToken: z.ZodString;
fromAmount: z.ZodString;
toToken: z.ZodString;
toAmount: z.ZodString;
deadline: z.ZodDate;
}, "strip", z.ZodTypeAny, {
fromToken: string;
fromAmount: string;
toToken: string;
toAmount: string;
deadline: Date;
}, {
fromToken: string;
fromAmount: string;
toToken: string;
toAmount: string;
deadline: Date;
}>>;
declare class SwapParameters extends SwapParameters_base {
}
declare const SwapResponse: z.ZodObject<{
txHashes: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
txHashes: string[];
}, {
txHashes: string[];
}>;
declare const WZilDepositParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
amount: z.ZodString;
}, "strip", z.ZodTypeAny, {
amount: string;
}, {
amount: string;
}>>;
declare class WZilDepositParameters extends WZilDepositParameters_base {
}
declare const WZilDepositResponse: z.ZodObject<{
txHash: z.ZodString;
}, "strip", z.ZodTypeAny, {
txHash: string;
}, {
txHash: string;
}>;
declare const WZilWithdrawParameters_base: _goat_sdk_core.ToolParametersStatic<z.ZodObject<{
amount: z.ZodString;
}, "strip", z.ZodTypeAny, {
amount: string;
}, {
amount: string;
}>>;
declare class WZilWithdrawParameters extends WZilWithdrawParameters_base {
}
declare const WZilWithdrawResponse: z.ZodObject<{
txHash: z.ZodString;
}, "strip", z.ZodTypeAny, {
txHash: string;
}, {
txHash: string;
}>;
export { BalanceParameters, BalanceResponse, QuoteParameters, QuoteResponse, SwapParameters, SwapResponse, TokensParameters, TokensResponse, WZilDepositParameters, WZilDepositResponse, WZilWithdrawParameters, WZilWithdrawResponse };