/** * 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, VestingPayment, OwnershipForAddr } from "./CwVesting.types"; export interface CwVestingReadOnlyInterface { contractAddress: string; info: () => Promise; ownership: () => Promise; vestedAmount: () => Promise; } export declare class CwVestingQueryClient implements CwVestingReadOnlyInterface { client: CosmWasmClient; contractAddress: string; constructor(client: CosmWasmClient, contractAddress: string); info: () => Promise; ownership: () => Promise; vestedAmount: () => Promise; } export interface CwVestingInterface extends CwVestingReadOnlyInterface { contractAddress: string; sender: string; receive: ({ amount, msg, sender }: { amount: Uint128; msg: Binary; sender: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; distribute: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; cancel: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; delegate: ({ amount, validator }: { amount: Uint128; validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; redelegate: ({ amount, dstValidator, srcValidator }: { amount: Uint128; dstValidator: string; srcValidator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; undelegate: ({ amount, validator }: { amount: Uint128; validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; setWithdrawAddress: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdrawDelegatorReward: ({ validator }: { validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; } export declare class CwVestingClient extends CwVestingQueryClient implements CwVestingInterface { 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; distribute: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; cancel: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; delegate: ({ amount, validator }: { amount: Uint128; validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; redelegate: ({ amount, dstValidator, srcValidator }: { amount: Uint128; dstValidator: string; srcValidator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; undelegate: ({ amount, validator }: { amount: Uint128; validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; setWithdrawAddress: ({ address }: { address: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; withdrawDelegatorReward: ({ validator }: { validator: string; }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; updateOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; }