import { AccessConfig, Params } from "./types"; import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial, Exact, Rpc } from "../../../helpers"; import { JsonSafe } from "../../../json-safe"; export declare const protobufPackage = "cosmwasm.wasm.v1"; /** MsgStoreCode submit Wasm code to the system */ export interface MsgStoreCode { /** Sender is the actor that signed the messages */ sender: string; /** WASMByteCode can be raw or gzip compressed */ wasmByteCode: Uint8Array; /** * InstantiatePermission access control to apply on contract creation, * optional */ instantiatePermission?: AccessConfig; } /** MsgStoreCodeResponse returns store result data. */ export interface MsgStoreCodeResponse { /** CodeID is the reference to the stored WASM code */ codeId: bigint; /** Checksum is the sha256 hash of the stored code */ checksum: Uint8Array; } /** * MsgInstantiateContract create a new smart contract instance for the given * code id. */ export interface MsgInstantiateContract { /** Sender is the that actor that signed the messages */ sender: string; /** Admin is an optional address that can execute migrations */ admin: string; /** CodeID is the reference to the stored WASM code */ codeId: bigint; /** Label is optional metadata to be stored with a contract instance. */ label: string; /** Msg json encoded message to be passed to the contract on instantiation */ msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ funds: Coin[]; } /** MsgInstantiateContractResponse return instantiation result data */ export interface MsgInstantiateContractResponse { /** Address is the bech32 address of the new contract instance. */ address: string; /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** * MsgInstantiateContract2 create a new smart contract instance for the given * code id with a predictable address. */ export interface MsgInstantiateContract2 { /** Sender is the that actor that signed the messages */ sender: string; /** Admin is an optional address that can execute migrations */ admin: string; /** CodeID is the reference to the stored WASM code */ codeId: bigint; /** Label is optional metadata to be stored with a contract instance. */ label: string; /** Msg json encoded message to be passed to the contract on instantiation */ msg: Uint8Array; /** Funds coins that are transferred to the contract on instantiation */ funds: Coin[]; /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */ salt: Uint8Array; /** * FixMsg include the msg value into the hash for the predictable address. * Default is false */ fixMsg: boolean; } /** MsgInstantiateContract2Response return instantiation result data */ export interface MsgInstantiateContract2Response { /** Address is the bech32 address of the new contract instance. */ address: string; /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** MsgExecuteContract submits the given message data to a smart contract */ export interface MsgExecuteContract { /** Sender is the that actor that signed the messages */ sender: string; /** Contract is the address of the smart contract */ contract: string; /** Msg json encoded message to be passed to the contract */ msg: Uint8Array; /** Funds coins that are transferred to the contract on execution */ funds: Coin[]; } /** MsgExecuteContractResponse returns execution result data. */ export interface MsgExecuteContractResponse { /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ export interface MsgMigrateContract { /** Sender is the that actor that signed the messages */ sender: string; /** Contract is the address of the smart contract */ contract: string; /** CodeID references the new WASM code */ codeId: bigint; /** Msg json encoded message to be passed to the contract on migration */ msg: Uint8Array; } /** MsgMigrateContractResponse returns contract migration result data. */ export interface MsgMigrateContractResponse { /** * Data contains same raw bytes returned as data from the wasm contract. * (May be empty) */ data: Uint8Array; } /** MsgUpdateAdmin sets a new admin for a smart contract */ export interface MsgUpdateAdmin { /** Sender is the that actor that signed the messages */ sender: string; /** NewAdmin address to be set */ newAdmin: string; /** Contract is the address of the smart contract */ contract: string; } /** MsgUpdateAdminResponse returns empty data */ export interface MsgUpdateAdminResponse { } /** MsgClearAdmin removes any admin stored for a smart contract */ export interface MsgClearAdmin { /** Sender is the actor that signed the messages */ sender: string; /** Contract is the address of the smart contract */ contract: string; } /** MsgClearAdminResponse returns empty data */ export interface MsgClearAdminResponse { } /** MsgUpdateInstantiateConfig updates instantiate config for a smart contract */ export interface MsgUpdateInstantiateConfig { /** Sender is the that actor that signed the messages */ sender: string; /** CodeID references the stored WASM code */ codeId: bigint; /** NewInstantiatePermission is the new access control */ newInstantiatePermission?: AccessConfig; } /** MsgUpdateInstantiateConfigResponse returns empty data */ export interface MsgUpdateInstantiateConfigResponse { } /** * MsgUpdateParams is the MsgUpdateParams request type. * * Since: 0.40 */ export interface MsgUpdateParams { /** Authority is the address of the governance account. */ authority: string; /** * params defines the x/wasm parameters to update. * * NOTE: All parameters must be supplied. */ params: Params; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. * * Since: 0.40 */ export interface MsgUpdateParamsResponse { } /** * MsgSudoContract is the MsgSudoContract request type. * * Since: 0.40 */ export interface MsgSudoContract { /** Authority is the address of the governance account. */ authority: string; /** Contract is the address of the smart contract */ contract: string; /** Msg json encoded message to be passed to the contract as sudo */ msg: Uint8Array; } /** * MsgSudoContractResponse defines the response structure for executing a * MsgSudoContract message. * * Since: 0.40 */ export interface MsgSudoContractResponse { /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** * MsgPinCodes is the MsgPinCodes request type. * * Since: 0.40 */ export interface MsgPinCodes { /** Authority is the address of the governance account. */ authority: string; /** CodeIDs references the new WASM codes */ codeIds: bigint[]; } /** * MsgPinCodesResponse defines the response structure for executing a * MsgPinCodes message. * * Since: 0.40 */ export interface MsgPinCodesResponse { } /** * MsgUnpinCodes is the MsgUnpinCodes request type. * * Since: 0.40 */ export interface MsgUnpinCodes { /** Authority is the address of the governance account. */ authority: string; /** CodeIDs references the WASM codes */ codeIds: bigint[]; } /** * MsgUnpinCodesResponse defines the response structure for executing a * MsgUnpinCodes message. * * Since: 0.40 */ export interface MsgUnpinCodesResponse { } /** * MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract * request type. * * Since: 0.40 */ export interface MsgStoreAndInstantiateContract { /** Authority is the address of the governance account. */ authority: string; /** WASMByteCode can be raw or gzip compressed */ wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ instantiatePermission?: AccessConfig; /** * UnpinCode code on upload, optional. As default the uploaded contract is * pinned to cache. */ unpinCode: boolean; /** Admin is an optional address that can execute migrations */ admin: string; /** Label is optional metadata to be stored with a contract instance. */ label: string; /** Msg json encoded message to be passed to the contract on instantiation */ msg: Uint8Array; /** * Funds coins that are transferred from the authority account to the contract * on instantiation */ funds: Coin[]; /** Source is the URL where the code is hosted */ source: string; /** * Builder is the docker image used to build the code deterministically, used * for smart contract verification */ builder: string; /** * CodeHash is the SHA256 sum of the code outputted by builder, used for smart * contract verification */ codeHash: Uint8Array; } /** * MsgStoreAndInstantiateContractResponse defines the response structure * for executing a MsgStoreAndInstantiateContract message. * * Since: 0.40 */ export interface MsgStoreAndInstantiateContractResponse { /** Address is the bech32 address of the new contract instance. */ address: string; /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** * MsgAddCodeUploadParamsAddresses is the * MsgAddCodeUploadParamsAddresses request type. */ export interface MsgAddCodeUploadParamsAddresses { /** Authority is the address of the governance account. */ authority: string; addresses: string[]; } /** * MsgAddCodeUploadParamsAddressesResponse defines the response * structure for executing a MsgAddCodeUploadParamsAddresses message. */ export interface MsgAddCodeUploadParamsAddressesResponse { } /** * MsgRemoveCodeUploadParamsAddresses is the * MsgRemoveCodeUploadParamsAddresses request type. */ export interface MsgRemoveCodeUploadParamsAddresses { /** Authority is the address of the governance account. */ authority: string; addresses: string[]; } /** * MsgRemoveCodeUploadParamsAddressesResponse defines the response * structure for executing a MsgRemoveCodeUploadParamsAddresses message. */ export interface MsgRemoveCodeUploadParamsAddressesResponse { } /** * MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract * request type. * * Since: 0.42 */ export interface MsgStoreAndMigrateContract { /** Authority is the address of the governance account. */ authority: string; /** WASMByteCode can be raw or gzip compressed */ wasmByteCode: Uint8Array; /** InstantiatePermission to apply on contract creation, optional */ instantiatePermission?: AccessConfig; /** Contract is the address of the smart contract */ contract: string; /** Msg json encoded message to be passed to the contract on migration */ msg: Uint8Array; } /** * MsgStoreAndMigrateContractResponse defines the response structure * for executing a MsgStoreAndMigrateContract message. * * Since: 0.42 */ export interface MsgStoreAndMigrateContractResponse { /** CodeID is the reference to the stored WASM code */ codeId: bigint; /** Checksum is the sha256 hash of the stored code */ checksum: Uint8Array; /** Data contains bytes to returned from the contract */ data: Uint8Array; } /** MsgUpdateContractLabel sets a new label for a smart contract */ export interface MsgUpdateContractLabel { /** Sender is the that actor that signed the messages */ sender: string; /** NewLabel string to be set */ newLabel: string; /** Contract is the address of the smart contract */ contract: string; } /** MsgUpdateContractLabelResponse returns empty data */ export interface MsgUpdateContractLabelResponse { } export declare const MsgStoreCode: { typeUrl: string; encode(message: MsgStoreCode, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCode; fromJSON(object: any): MsgStoreCode; toJSON(message: MsgStoreCode): JsonSafe; fromPartial, I>>(object: I): MsgStoreCode; }; export declare const MsgStoreCodeResponse: { typeUrl: string; encode(message: MsgStoreCodeResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCodeResponse; fromJSON(object: any): MsgStoreCodeResponse; toJSON(message: MsgStoreCodeResponse): JsonSafe; fromPartial, I>>(object: I): MsgStoreCodeResponse; }; export declare const MsgInstantiateContract: { typeUrl: string; encode(message: MsgInstantiateContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract; fromJSON(object: any): MsgInstantiateContract; toJSON(message: MsgInstantiateContract): JsonSafe; fromPartial, I>>(object: I): MsgInstantiateContract; }; export declare const MsgInstantiateContractResponse: { typeUrl: string; encode(message: MsgInstantiateContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContractResponse; fromJSON(object: any): MsgInstantiateContractResponse; toJSON(message: MsgInstantiateContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgInstantiateContractResponse; }; export declare const MsgInstantiateContract2: { typeUrl: string; encode(message: MsgInstantiateContract2, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract2; fromJSON(object: any): MsgInstantiateContract2; toJSON(message: MsgInstantiateContract2): JsonSafe; fromPartial, I>>(object: I): MsgInstantiateContract2; }; export declare const MsgInstantiateContract2Response: { typeUrl: string; encode(message: MsgInstantiateContract2Response, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract2Response; fromJSON(object: any): MsgInstantiateContract2Response; toJSON(message: MsgInstantiateContract2Response): JsonSafe; fromPartial, I>>(object: I): MsgInstantiateContract2Response; }; export declare const MsgExecuteContract: { typeUrl: string; encode(message: MsgExecuteContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgExecuteContract; fromJSON(object: any): MsgExecuteContract; toJSON(message: MsgExecuteContract): JsonSafe; fromPartial, I>>(object: I): MsgExecuteContract; }; export declare const MsgExecuteContractResponse: { typeUrl: string; encode(message: MsgExecuteContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgExecuteContractResponse; fromJSON(object: any): MsgExecuteContractResponse; toJSON(message: MsgExecuteContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgExecuteContractResponse; }; export declare const MsgMigrateContract: { typeUrl: string; encode(message: MsgMigrateContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMigrateContract; fromJSON(object: any): MsgMigrateContract; toJSON(message: MsgMigrateContract): JsonSafe; fromPartial, I>>(object: I): MsgMigrateContract; }; export declare const MsgMigrateContractResponse: { typeUrl: string; encode(message: MsgMigrateContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgMigrateContractResponse; fromJSON(object: any): MsgMigrateContractResponse; toJSON(message: MsgMigrateContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgMigrateContractResponse; }; export declare const MsgUpdateAdmin: { typeUrl: string; encode(message: MsgUpdateAdmin, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateAdmin; fromJSON(object: any): MsgUpdateAdmin; toJSON(message: MsgUpdateAdmin): JsonSafe; fromPartial, I>>(object: I): MsgUpdateAdmin; }; export declare const MsgUpdateAdminResponse: { typeUrl: string; encode(_: MsgUpdateAdminResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateAdminResponse; fromJSON(_: any): MsgUpdateAdminResponse; toJSON(_: MsgUpdateAdminResponse): JsonSafe; fromPartial, I>>(_: I): MsgUpdateAdminResponse; }; export declare const MsgClearAdmin: { typeUrl: string; encode(message: MsgClearAdmin, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgClearAdmin; fromJSON(object: any): MsgClearAdmin; toJSON(message: MsgClearAdmin): JsonSafe; fromPartial, I>>(object: I): MsgClearAdmin; }; export declare const MsgClearAdminResponse: { typeUrl: string; encode(_: MsgClearAdminResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgClearAdminResponse; fromJSON(_: any): MsgClearAdminResponse; toJSON(_: MsgClearAdminResponse): JsonSafe; fromPartial, I>>(_: I): MsgClearAdminResponse; }; export declare const MsgUpdateInstantiateConfig: { typeUrl: string; encode(message: MsgUpdateInstantiateConfig, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateInstantiateConfig; fromJSON(object: any): MsgUpdateInstantiateConfig; toJSON(message: MsgUpdateInstantiateConfig): JsonSafe; fromPartial, I>>(object: I): MsgUpdateInstantiateConfig; }; export declare const MsgUpdateInstantiateConfigResponse: { typeUrl: string; encode(_: MsgUpdateInstantiateConfigResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateInstantiateConfigResponse; fromJSON(_: any): MsgUpdateInstantiateConfigResponse; toJSON(_: MsgUpdateInstantiateConfigResponse): JsonSafe; fromPartial, I>>(_: I): MsgUpdateInstantiateConfigResponse; }; export declare const MsgUpdateParams: { typeUrl: string; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial, I>>(object: I): MsgUpdateParams; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial, I>>(_: I): MsgUpdateParamsResponse; }; export declare const MsgSudoContract: { typeUrl: string; encode(message: MsgSudoContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSudoContract; fromJSON(object: any): MsgSudoContract; toJSON(message: MsgSudoContract): JsonSafe; fromPartial, I>>(object: I): MsgSudoContract; }; export declare const MsgSudoContractResponse: { typeUrl: string; encode(message: MsgSudoContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgSudoContractResponse; fromJSON(object: any): MsgSudoContractResponse; toJSON(message: MsgSudoContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgSudoContractResponse; }; export declare const MsgPinCodes: { typeUrl: string; encode(message: MsgPinCodes, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgPinCodes; fromJSON(object: any): MsgPinCodes; toJSON(message: MsgPinCodes): JsonSafe; fromPartial, I>>(object: I): MsgPinCodes; }; export declare const MsgPinCodesResponse: { typeUrl: string; encode(_: MsgPinCodesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgPinCodesResponse; fromJSON(_: any): MsgPinCodesResponse; toJSON(_: MsgPinCodesResponse): JsonSafe; fromPartial, I>>(_: I): MsgPinCodesResponse; }; export declare const MsgUnpinCodes: { typeUrl: string; encode(message: MsgUnpinCodes, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCodes; fromJSON(object: any): MsgUnpinCodes; toJSON(message: MsgUnpinCodes): JsonSafe; fromPartial, I>>(object: I): MsgUnpinCodes; }; export declare const MsgUnpinCodesResponse: { typeUrl: string; encode(_: MsgUnpinCodesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUnpinCodesResponse; fromJSON(_: any): MsgUnpinCodesResponse; toJSON(_: MsgUnpinCodesResponse): JsonSafe; fromPartial, I>>(_: I): MsgUnpinCodesResponse; }; export declare const MsgStoreAndInstantiateContract: { typeUrl: string; encode(message: MsgStoreAndInstantiateContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreAndInstantiateContract; fromJSON(object: any): MsgStoreAndInstantiateContract; toJSON(message: MsgStoreAndInstantiateContract): JsonSafe; fromPartial, I>>(object: I): MsgStoreAndInstantiateContract; }; export declare const MsgStoreAndInstantiateContractResponse: { typeUrl: string; encode(message: MsgStoreAndInstantiateContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreAndInstantiateContractResponse; fromJSON(object: any): MsgStoreAndInstantiateContractResponse; toJSON(message: MsgStoreAndInstantiateContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgStoreAndInstantiateContractResponse; }; export declare const MsgAddCodeUploadParamsAddresses: { typeUrl: string; encode(message: MsgAddCodeUploadParamsAddresses, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAddCodeUploadParamsAddresses; fromJSON(object: any): MsgAddCodeUploadParamsAddresses; toJSON(message: MsgAddCodeUploadParamsAddresses): JsonSafe; fromPartial, I>>(object: I): MsgAddCodeUploadParamsAddresses; }; export declare const MsgAddCodeUploadParamsAddressesResponse: { typeUrl: string; encode(_: MsgAddCodeUploadParamsAddressesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgAddCodeUploadParamsAddressesResponse; fromJSON(_: any): MsgAddCodeUploadParamsAddressesResponse; toJSON(_: MsgAddCodeUploadParamsAddressesResponse): JsonSafe; fromPartial, I>>(_: I): MsgAddCodeUploadParamsAddressesResponse; }; export declare const MsgRemoveCodeUploadParamsAddresses: { typeUrl: string; encode(message: MsgRemoveCodeUploadParamsAddresses, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRemoveCodeUploadParamsAddresses; fromJSON(object: any): MsgRemoveCodeUploadParamsAddresses; toJSON(message: MsgRemoveCodeUploadParamsAddresses): JsonSafe; fromPartial, I>>(object: I): MsgRemoveCodeUploadParamsAddresses; }; export declare const MsgRemoveCodeUploadParamsAddressesResponse: { typeUrl: string; encode(_: MsgRemoveCodeUploadParamsAddressesResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgRemoveCodeUploadParamsAddressesResponse; fromJSON(_: any): MsgRemoveCodeUploadParamsAddressesResponse; toJSON(_: MsgRemoveCodeUploadParamsAddressesResponse): JsonSafe; fromPartial, I>>(_: I): MsgRemoveCodeUploadParamsAddressesResponse; }; export declare const MsgStoreAndMigrateContract: { typeUrl: string; encode(message: MsgStoreAndMigrateContract, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreAndMigrateContract; fromJSON(object: any): MsgStoreAndMigrateContract; toJSON(message: MsgStoreAndMigrateContract): JsonSafe; fromPartial, I>>(object: I): MsgStoreAndMigrateContract; }; export declare const MsgStoreAndMigrateContractResponse: { typeUrl: string; encode(message: MsgStoreAndMigrateContractResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreAndMigrateContractResponse; fromJSON(object: any): MsgStoreAndMigrateContractResponse; toJSON(message: MsgStoreAndMigrateContractResponse): JsonSafe; fromPartial, I>>(object: I): MsgStoreAndMigrateContractResponse; }; export declare const MsgUpdateContractLabel: { typeUrl: string; encode(message: MsgUpdateContractLabel, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateContractLabel; fromJSON(object: any): MsgUpdateContractLabel; toJSON(message: MsgUpdateContractLabel): JsonSafe; fromPartial, I>>(object: I): MsgUpdateContractLabel; }; export declare const MsgUpdateContractLabelResponse: { typeUrl: string; encode(_: MsgUpdateContractLabelResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateContractLabelResponse; fromJSON(_: any): MsgUpdateContractLabelResponse; toJSON(_: MsgUpdateContractLabelResponse): JsonSafe; fromPartial, I>>(_: I): MsgUpdateContractLabelResponse; }; /** Msg defines the wasm Msg service. */ export interface Msg { /** StoreCode to submit Wasm code to the system */ StoreCode(request: MsgStoreCode): Promise; /** * InstantiateContract creates a new smart contract instance for the given * code id. */ InstantiateContract(request: MsgInstantiateContract): Promise; /** * InstantiateContract2 creates a new smart contract instance for the given * code id with a predictable address */ InstantiateContract2(request: MsgInstantiateContract2): Promise; /** Execute submits the given message data to a smart contract */ ExecuteContract(request: MsgExecuteContract): Promise; /** Migrate runs a code upgrade/ downgrade for a smart contract */ MigrateContract(request: MsgMigrateContract): Promise; /** UpdateAdmin sets a new admin for a smart contract */ UpdateAdmin(request: MsgUpdateAdmin): Promise; /** ClearAdmin removes any admin stored for a smart contract */ ClearAdmin(request: MsgClearAdmin): Promise; /** UpdateInstantiateConfig updates instantiate config for a smart contract */ UpdateInstantiateConfig(request: MsgUpdateInstantiateConfig): Promise; /** * UpdateParams defines a governance operation for updating the x/wasm * module parameters. The authority is defined in the keeper. * * Since: 0.40 */ UpdateParams(request: MsgUpdateParams): Promise; /** * SudoContract defines a governance operation for calling sudo * on a contract. The authority is defined in the keeper. * * Since: 0.40 */ SudoContract(request: MsgSudoContract): Promise; /** * PinCodes defines a governance operation for pinning a set of * code ids in the wasmvm cache. The authority is defined in the keeper. * * Since: 0.40 */ PinCodes(request: MsgPinCodes): Promise; /** * UnpinCodes defines a governance operation for unpinning a set of * code ids in the wasmvm cache. The authority is defined in the keeper. * * Since: 0.40 */ UnpinCodes(request: MsgUnpinCodes): Promise; /** * StoreAndInstantiateContract defines a governance operation for storing * and instantiating the contract. The authority is defined in the keeper. * * Since: 0.40 */ StoreAndInstantiateContract(request: MsgStoreAndInstantiateContract): Promise; /** * RemoveCodeUploadParamsAddresses defines a governance operation for * removing addresses from code upload params. * The authority is defined in the keeper. */ RemoveCodeUploadParamsAddresses(request: MsgRemoveCodeUploadParamsAddresses): Promise; /** * AddCodeUploadParamsAddresses defines a governance operation for * adding addresses to code upload params. * The authority is defined in the keeper. */ AddCodeUploadParamsAddresses(request: MsgAddCodeUploadParamsAddresses): Promise; /** * StoreAndMigrateContract defines a governance operation for storing * and migrating the contract. The authority is defined in the keeper. * * Since: 0.42 */ StoreAndMigrateContract(request: MsgStoreAndMigrateContract): Promise; /** * UpdateContractLabel sets a new label for a smart contract * * Since: 0.43 */ UpdateContractLabel(request: MsgUpdateContractLabel): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); StoreCode(request: MsgStoreCode): Promise; InstantiateContract(request: MsgInstantiateContract): Promise; InstantiateContract2(request: MsgInstantiateContract2): Promise; ExecuteContract(request: MsgExecuteContract): Promise; MigrateContract(request: MsgMigrateContract): Promise; UpdateAdmin(request: MsgUpdateAdmin): Promise; ClearAdmin(request: MsgClearAdmin): Promise; UpdateInstantiateConfig(request: MsgUpdateInstantiateConfig): Promise; UpdateParams(request: MsgUpdateParams): Promise; SudoContract(request: MsgSudoContract): Promise; PinCodes(request: MsgPinCodes): Promise; UnpinCodes(request: MsgUnpinCodes): Promise; StoreAndInstantiateContract(request: MsgStoreAndInstantiateContract): Promise; RemoveCodeUploadParamsAddresses(request: MsgRemoveCodeUploadParamsAddresses): Promise; AddCodeUploadParamsAddresses(request: MsgAddCodeUploadParamsAddresses): Promise; StoreAndMigrateContract(request: MsgStoreAndMigrateContract): Promise; UpdateContractLabel(request: MsgUpdateContractLabel): Promise; }