import { StdFee } from "@cosmjs/launchpad"; import { DeliverTxResponse } from "@cosmjs/stargate"; import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing"; import { IgniteClient } from "../client"; import { Api } from "./rest"; import { MsgInstantiateContract2 } from "./types/cosmwasm/wasm/v1/tx"; import { MsgMigrateContract } from "./types/cosmwasm/wasm/v1/tx"; import { MsgClearAdmin } from "./types/cosmwasm/wasm/v1/tx"; import { MsgInstantiateContract } from "./types/cosmwasm/wasm/v1/tx"; import { MsgIBCSend } from "./types/cosmwasm/wasm/v1/ibc"; import { MsgAddCodeUploadParamsAddresses } from "./types/cosmwasm/wasm/v1/tx"; import { MsgStoreAndInstantiateContract } from "./types/cosmwasm/wasm/v1/tx"; import { MsgIBCCloseChannel } from "./types/cosmwasm/wasm/v1/ibc"; import { MsgPinCodes } from "./types/cosmwasm/wasm/v1/tx"; import { MsgUpdateAdmin } from "./types/cosmwasm/wasm/v1/tx"; import { MsgStoreCode } from "./types/cosmwasm/wasm/v1/tx"; import { MsgUpdateInstantiateConfig } from "./types/cosmwasm/wasm/v1/tx"; import { MsgRemoveCodeUploadParamsAddresses } from "./types/cosmwasm/wasm/v1/tx"; import { MsgExecuteContract } from "./types/cosmwasm/wasm/v1/tx"; import { MsgUnpinCodes } from "./types/cosmwasm/wasm/v1/tx"; import { MsgUpdateParams } from "./types/cosmwasm/wasm/v1/tx"; import { MsgSudoContract } from "./types/cosmwasm/wasm/v1/tx"; export { MsgInstantiateContract2, MsgMigrateContract, MsgClearAdmin, MsgInstantiateContract, MsgIBCSend, MsgAddCodeUploadParamsAddresses, MsgStoreAndInstantiateContract, MsgIBCCloseChannel, MsgPinCodes, MsgUpdateAdmin, MsgStoreCode, MsgUpdateInstantiateConfig, MsgRemoveCodeUploadParamsAddresses, MsgExecuteContract, MsgUnpinCodes, MsgUpdateParams, MsgSudoContract }; declare type sendMsgInstantiateContract2Params = { value: MsgInstantiateContract2; fee?: StdFee; memo?: string; }; declare type sendMsgMigrateContractParams = { value: MsgMigrateContract; fee?: StdFee; memo?: string; }; declare type sendMsgClearAdminParams = { value: MsgClearAdmin; fee?: StdFee; memo?: string; }; declare type sendMsgInstantiateContractParams = { value: MsgInstantiateContract; fee?: StdFee; memo?: string; }; declare type sendMsgIBCSendParams = { value: MsgIBCSend; fee?: StdFee; memo?: string; }; declare type sendMsgAddCodeUploadParamsAddressesParams = { value: MsgAddCodeUploadParamsAddresses; fee?: StdFee; memo?: string; }; declare type sendMsgStoreAndInstantiateContractParams = { value: MsgStoreAndInstantiateContract; fee?: StdFee; memo?: string; }; declare type sendMsgIBCCloseChannelParams = { value: MsgIBCCloseChannel; fee?: StdFee; memo?: string; }; declare type sendMsgPinCodesParams = { value: MsgPinCodes; fee?: StdFee; memo?: string; }; declare type sendMsgUpdateAdminParams = { value: MsgUpdateAdmin; fee?: StdFee; memo?: string; }; declare type sendMsgStoreCodeParams = { value: MsgStoreCode; fee?: StdFee; memo?: string; }; declare type sendMsgUpdateInstantiateConfigParams = { value: MsgUpdateInstantiateConfig; fee?: StdFee; memo?: string; }; declare type sendMsgRemoveCodeUploadParamsAddressesParams = { value: MsgRemoveCodeUploadParamsAddresses; fee?: StdFee; memo?: string; }; declare type sendMsgExecuteContractParams = { value: MsgExecuteContract; fee?: StdFee; memo?: string; }; declare type sendMsgUnpinCodesParams = { value: MsgUnpinCodes; fee?: StdFee; memo?: string; }; declare type sendMsgUpdateParamsParams = { value: MsgUpdateParams; fee?: StdFee; memo?: string; }; declare type sendMsgSudoContractParams = { value: MsgSudoContract; fee?: StdFee; memo?: string; }; declare type msgInstantiateContract2Params = { value: MsgInstantiateContract2; }; declare type msgMigrateContractParams = { value: MsgMigrateContract; }; declare type msgClearAdminParams = { value: MsgClearAdmin; }; declare type msgInstantiateContractParams = { value: MsgInstantiateContract; }; declare type msgIBCSendParams = { value: MsgIBCSend; }; declare type msgAddCodeUploadParamsAddressesParams = { value: MsgAddCodeUploadParamsAddresses; }; declare type msgStoreAndInstantiateContractParams = { value: MsgStoreAndInstantiateContract; }; declare type msgIBCCloseChannelParams = { value: MsgIBCCloseChannel; }; declare type msgPinCodesParams = { value: MsgPinCodes; }; declare type msgUpdateAdminParams = { value: MsgUpdateAdmin; }; declare type msgStoreCodeParams = { value: MsgStoreCode; }; declare type msgUpdateInstantiateConfigParams = { value: MsgUpdateInstantiateConfig; }; declare type msgRemoveCodeUploadParamsAddressesParams = { value: MsgRemoveCodeUploadParamsAddresses; }; declare type msgExecuteContractParams = { value: MsgExecuteContract; }; declare type msgUnpinCodesParams = { value: MsgUnpinCodes; }; declare type msgUpdateParamsParams = { value: MsgUpdateParams; }; declare type msgSudoContractParams = { value: MsgSudoContract; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgInstantiateContract2({ value, fee, memo }: sendMsgInstantiateContract2Params): Promise; sendMsgMigrateContract({ value, fee, memo }: sendMsgMigrateContractParams): Promise; sendMsgClearAdmin({ value, fee, memo }: sendMsgClearAdminParams): Promise; sendMsgInstantiateContract({ value, fee, memo }: sendMsgInstantiateContractParams): Promise; sendMsgIBCSend({ value, fee, memo }: sendMsgIBCSendParams): Promise; sendMsgAddCodeUploadParamsAddresses({ value, fee, memo }: sendMsgAddCodeUploadParamsAddressesParams): Promise; sendMsgStoreAndInstantiateContract({ value, fee, memo }: sendMsgStoreAndInstantiateContractParams): Promise; sendMsgIBCCloseChannel({ value, fee, memo }: sendMsgIBCCloseChannelParams): Promise; sendMsgPinCodes({ value, fee, memo }: sendMsgPinCodesParams): Promise; sendMsgUpdateAdmin({ value, fee, memo }: sendMsgUpdateAdminParams): Promise; sendMsgStoreCode({ value, fee, memo }: sendMsgStoreCodeParams): Promise; sendMsgUpdateInstantiateConfig({ value, fee, memo }: sendMsgUpdateInstantiateConfigParams): Promise; sendMsgRemoveCodeUploadParamsAddresses({ value, fee, memo }: sendMsgRemoveCodeUploadParamsAddressesParams): Promise; sendMsgExecuteContract({ value, fee, memo }: sendMsgExecuteContractParams): Promise; sendMsgUnpinCodes({ value, fee, memo }: sendMsgUnpinCodesParams): Promise; sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise; sendMsgSudoContract({ value, fee, memo }: sendMsgSudoContractParams): Promise; msgInstantiateContract2({ value }: msgInstantiateContract2Params): EncodeObject; msgMigrateContract({ value }: msgMigrateContractParams): EncodeObject; msgClearAdmin({ value }: msgClearAdminParams): EncodeObject; msgInstantiateContract({ value }: msgInstantiateContractParams): EncodeObject; msgIBCSend({ value }: msgIBCSendParams): EncodeObject; msgAddCodeUploadParamsAddresses({ value }: msgAddCodeUploadParamsAddressesParams): EncodeObject; msgStoreAndInstantiateContract({ value }: msgStoreAndInstantiateContractParams): EncodeObject; msgIBCCloseChannel({ value }: msgIBCCloseChannelParams): EncodeObject; msgPinCodes({ value }: msgPinCodesParams): EncodeObject; msgUpdateAdmin({ value }: msgUpdateAdminParams): EncodeObject; msgStoreCode({ value }: msgStoreCodeParams): EncodeObject; msgUpdateInstantiateConfig({ value }: msgUpdateInstantiateConfigParams): EncodeObject; msgRemoveCodeUploadParamsAddresses({ value }: msgRemoveCodeUploadParamsAddressesParams): EncodeObject; msgExecuteContract({ value }: msgExecuteContractParams): EncodeObject; msgUnpinCodes({ value }: msgUnpinCodesParams): EncodeObject; msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject; msgSudoContract({ value }: msgSudoContractParams): EncodeObject; }; interface QueryClientOptions { addr: string; } export declare const queryClient: ({ addr: addr }?: QueryClientOptions) => Api; declare class SDKModule { query: ReturnType; tx: ReturnType; structure: Record; registry: Array<[string, GeneratedType]>; constructor(client: IgniteClient); updateTX(client: IgniteClient): void; } declare const Module: (test: IgniteClient) => { module: { CosmwasmWasmV1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;