/** * This file was automatically generated by @cosmwasm/ts-codegen@1.10.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 } from '@cosmjs/cosmwasm-stargate'; export interface IContractConstructor { address: string | undefined; cosmWasmClient: CosmWasmClient | undefined; signingCosmWasmClient: SigningCosmWasmClient | undefined; } export declare const NO_SINGING_ERROR_MESSAGE = "signingCosmWasmClient not connected"; export declare const NO_COSMWASW_CLIENT_ERROR_MESSAGE = "cosmWasmClient not connected"; export declare const NO_ADDRESS_ERROR_MESSAGE = "address doesn't exist"; export declare const NO_SIGNING_CLIENT_ERROR_MESSAGE = "Signing client is not generated. Please check ts-codegen config"; export declare const NO_QUERY_CLIENT_ERROR_MESSAGE = "Query client is not generated. Please check ts-codegen config"; export declare const NO_MESSAGE_COMPOSER_ERROR_MESSAGE = "Message composer client is not generated. Please check ts-codegen config"; /** * a placeholder for non-generated classes */ export interface IEmptyClient { } export interface ISigningClientProvider { getSigningClient(contractAddr: string): T; } export interface IQueryClientProvider { getQueryClient(contractAddr: string): T; } export interface IMessageComposerProvider { getMessageComposer(contractAddr: string): T; } export declare class ContractBase { protected address: string | undefined; protected cosmWasmClient: CosmWasmClient | undefined; protected signingCosmWasmClient: SigningCosmWasmClient | undefined; private TSign?; private TQuery?; private TMsgComposer?; constructor(address: string | undefined, cosmWasmClient: CosmWasmClient | undefined, signingCosmWasmClient: SigningCosmWasmClient | undefined, TSign?: (new (client: SigningCosmWasmClient, sender: string, contractAddress: string) => TSign) | undefined, TQuery?: (new (client: CosmWasmClient, contractAddress: string) => TQuery) | undefined, TMsgComposer?: (new (sender: string, contractAddress: string) => TMsgComposer) | undefined); getSigningClient(contractAddr: string): TSign; getQueryClient(contractAddr: string): TQuery; getMessageComposer(contractAddr: string): TMsgComposer; }