/** * This file was automatically generated by @cosmwasm/ts-codegen@0.26.0. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run the @cosmwasm/ts-codegen generate command to regenerate this file. */ import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; import { Coin, StdFee } from "@cosmjs/amino"; import { Uint128, Binary, StatusResponse } from "./CwTokenSwap.types"; export interface CwTokenSwapReadOnlyInterface { contractAddress: string; status: () => Promise; } export declare class CwTokenSwapQueryClient implements CwTokenSwapReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); status: () => Promise; } export interface CwTokenSwapInterface extends CwTokenSwapReadOnlyInterface { contractAddress: string; sender: string; receive: ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; fund: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class CwTokenSwapClient extends CwTokenSwapQueryClient implements CwTokenSwapInterface { client: SigningCosmWasmClient; sender: string; contractAddress: string; constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); receive: ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; fund: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdraw: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }