import { grpc } from "@improbable-eng/grpc-web"; import Long from "long"; import _m0 from "protobufjs/minimal"; import { Coin } from "../../../cosmos/base/v1beta1/coin"; import { AccessConfig, Params } from "./types"; 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 | undefined; } /** MsgStoreCodeResponse returns store result data. */ export interface MsgStoreCodeResponse { /** CodeID is the reference to the stored WASM code */ codeId: Long; /** 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: Long; /** 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: Long; /** 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: Long; /** 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: Long; /** NewInstantiatePermission is the new access control */ newInstantiatePermission: AccessConfig | undefined; } /** 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 | undefined; } /** * 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: Long[]; } /** * 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: Long[]; } /** * 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 | undefined; /** * 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 | undefined; /** 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: Long; /** 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: { encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode; fromJSON(object: any): MsgStoreCode; toJSON(message: MsgStoreCode): unknown; create(base?: DeepPartial): MsgStoreCode; fromPartial(object: DeepPartial): MsgStoreCode; }; export declare const MsgStoreCodeResponse: { encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse; fromJSON(object: any): MsgStoreCodeResponse; toJSON(message: MsgStoreCodeResponse): unknown; create(base?: DeepPartial): MsgStoreCodeResponse; fromPartial(object: DeepPartial): MsgStoreCodeResponse; }; export declare const MsgInstantiateContract: { encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract; fromJSON(object: any): MsgInstantiateContract; toJSON(message: MsgInstantiateContract): unknown; create(base?: DeepPartial): MsgInstantiateContract; fromPartial(object: DeepPartial): MsgInstantiateContract; }; export declare const MsgInstantiateContractResponse: { encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse; fromJSON(object: any): MsgInstantiateContractResponse; toJSON(message: MsgInstantiateContractResponse): unknown; create(base?: DeepPartial): MsgInstantiateContractResponse; fromPartial(object: DeepPartial): MsgInstantiateContractResponse; }; export declare const MsgInstantiateContract2: { encode(message: MsgInstantiateContract2, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2; fromJSON(object: any): MsgInstantiateContract2; toJSON(message: MsgInstantiateContract2): unknown; create(base?: DeepPartial): MsgInstantiateContract2; fromPartial(object: DeepPartial): MsgInstantiateContract2; }; export declare const MsgInstantiateContract2Response: { encode(message: MsgInstantiateContract2Response, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2Response; fromJSON(object: any): MsgInstantiateContract2Response; toJSON(message: MsgInstantiateContract2Response): unknown; create(base?: DeepPartial): MsgInstantiateContract2Response; fromPartial(object: DeepPartial): MsgInstantiateContract2Response; }; export declare const MsgExecuteContract: { encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract; fromJSON(object: any): MsgExecuteContract; toJSON(message: MsgExecuteContract): unknown; create(base?: DeepPartial): MsgExecuteContract; fromPartial(object: DeepPartial): MsgExecuteContract; }; export declare const MsgExecuteContractResponse: { encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse; fromJSON(object: any): MsgExecuteContractResponse; toJSON(message: MsgExecuteContractResponse): unknown; create(base?: DeepPartial): MsgExecuteContractResponse; fromPartial(object: DeepPartial): MsgExecuteContractResponse; }; export declare const MsgMigrateContract: { encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract; fromJSON(object: any): MsgMigrateContract; toJSON(message: MsgMigrateContract): unknown; create(base?: DeepPartial): MsgMigrateContract; fromPartial(object: DeepPartial): MsgMigrateContract; }; export declare const MsgMigrateContractResponse: { encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse; fromJSON(object: any): MsgMigrateContractResponse; toJSON(message: MsgMigrateContractResponse): unknown; create(base?: DeepPartial): MsgMigrateContractResponse; fromPartial(object: DeepPartial): MsgMigrateContractResponse; }; export declare const MsgUpdateAdmin: { encode(message: MsgUpdateAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin; fromJSON(object: any): MsgUpdateAdmin; toJSON(message: MsgUpdateAdmin): unknown; create(base?: DeepPartial): MsgUpdateAdmin; fromPartial(object: DeepPartial): MsgUpdateAdmin; }; export declare const MsgUpdateAdminResponse: { encode(_: MsgUpdateAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse; fromJSON(_: any): MsgUpdateAdminResponse; toJSON(_: MsgUpdateAdminResponse): unknown; create(base?: DeepPartial): MsgUpdateAdminResponse; fromPartial(_: DeepPartial): MsgUpdateAdminResponse; }; export declare const MsgClearAdmin: { encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin; fromJSON(object: any): MsgClearAdmin; toJSON(message: MsgClearAdmin): unknown; create(base?: DeepPartial): MsgClearAdmin; fromPartial(object: DeepPartial): MsgClearAdmin; }; export declare const MsgClearAdminResponse: { encode(_: MsgClearAdminResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse; fromJSON(_: any): MsgClearAdminResponse; toJSON(_: MsgClearAdminResponse): unknown; create(base?: DeepPartial): MsgClearAdminResponse; fromPartial(_: DeepPartial): MsgClearAdminResponse; }; export declare const MsgUpdateInstantiateConfig: { encode(message: MsgUpdateInstantiateConfig, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfig; fromJSON(object: any): MsgUpdateInstantiateConfig; toJSON(message: MsgUpdateInstantiateConfig): unknown; create(base?: DeepPartial): MsgUpdateInstantiateConfig; fromPartial(object: DeepPartial): MsgUpdateInstantiateConfig; }; export declare const MsgUpdateInstantiateConfigResponse: { encode(_: MsgUpdateInstantiateConfigResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateInstantiateConfigResponse; fromJSON(_: any): MsgUpdateInstantiateConfigResponse; toJSON(_: MsgUpdateInstantiateConfigResponse): unknown; create(base?: DeepPartial): MsgUpdateInstantiateConfigResponse; fromPartial(_: DeepPartial): MsgUpdateInstantiateConfigResponse; }; export declare const MsgUpdateParams: { encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): unknown; create(base?: DeepPartial): MsgUpdateParams; fromPartial(object: DeepPartial): MsgUpdateParams; }; export declare const MsgUpdateParamsResponse: { encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): unknown; create(base?: DeepPartial): MsgUpdateParamsResponse; fromPartial(_: DeepPartial): MsgUpdateParamsResponse; }; export declare const MsgSudoContract: { encode(message: MsgSudoContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContract; fromJSON(object: any): MsgSudoContract; toJSON(message: MsgSudoContract): unknown; create(base?: DeepPartial): MsgSudoContract; fromPartial(object: DeepPartial): MsgSudoContract; }; export declare const MsgSudoContractResponse: { encode(message: MsgSudoContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgSudoContractResponse; fromJSON(object: any): MsgSudoContractResponse; toJSON(message: MsgSudoContractResponse): unknown; create(base?: DeepPartial): MsgSudoContractResponse; fromPartial(object: DeepPartial): MsgSudoContractResponse; }; export declare const MsgPinCodes: { encode(message: MsgPinCodes, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodes; fromJSON(object: any): MsgPinCodes; toJSON(message: MsgPinCodes): unknown; create(base?: DeepPartial): MsgPinCodes; fromPartial(object: DeepPartial): MsgPinCodes; }; export declare const MsgPinCodesResponse: { encode(_: MsgPinCodesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgPinCodesResponse; fromJSON(_: any): MsgPinCodesResponse; toJSON(_: MsgPinCodesResponse): unknown; create(base?: DeepPartial): MsgPinCodesResponse; fromPartial(_: DeepPartial): MsgPinCodesResponse; }; export declare const MsgUnpinCodes: { encode(message: MsgUnpinCodes, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodes; fromJSON(object: any): MsgUnpinCodes; toJSON(message: MsgUnpinCodes): unknown; create(base?: DeepPartial): MsgUnpinCodes; fromPartial(object: DeepPartial): MsgUnpinCodes; }; export declare const MsgUnpinCodesResponse: { encode(_: MsgUnpinCodesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnpinCodesResponse; fromJSON(_: any): MsgUnpinCodesResponse; toJSON(_: MsgUnpinCodesResponse): unknown; create(base?: DeepPartial): MsgUnpinCodesResponse; fromPartial(_: DeepPartial): MsgUnpinCodesResponse; }; export declare const MsgStoreAndInstantiateContract: { encode(message: MsgStoreAndInstantiateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContract; fromJSON(object: any): MsgStoreAndInstantiateContract; toJSON(message: MsgStoreAndInstantiateContract): unknown; create(base?: DeepPartial): MsgStoreAndInstantiateContract; fromPartial(object: DeepPartial): MsgStoreAndInstantiateContract; }; export declare const MsgStoreAndInstantiateContractResponse: { encode(message: MsgStoreAndInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndInstantiateContractResponse; fromJSON(object: any): MsgStoreAndInstantiateContractResponse; toJSON(message: MsgStoreAndInstantiateContractResponse): unknown; create(base?: DeepPartial): MsgStoreAndInstantiateContractResponse; fromPartial(object: DeepPartial): MsgStoreAndInstantiateContractResponse; }; export declare const MsgAddCodeUploadParamsAddresses: { encode(message: MsgAddCodeUploadParamsAddresses, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddCodeUploadParamsAddresses; fromJSON(object: any): MsgAddCodeUploadParamsAddresses; toJSON(message: MsgAddCodeUploadParamsAddresses): unknown; create(base?: DeepPartial): MsgAddCodeUploadParamsAddresses; fromPartial(object: DeepPartial): MsgAddCodeUploadParamsAddresses; }; export declare const MsgAddCodeUploadParamsAddressesResponse: { encode(_: MsgAddCodeUploadParamsAddressesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgAddCodeUploadParamsAddressesResponse; fromJSON(_: any): MsgAddCodeUploadParamsAddressesResponse; toJSON(_: MsgAddCodeUploadParamsAddressesResponse): unknown; create(base?: DeepPartial): MsgAddCodeUploadParamsAddressesResponse; fromPartial(_: DeepPartial): MsgAddCodeUploadParamsAddressesResponse; }; export declare const MsgRemoveCodeUploadParamsAddresses: { encode(message: MsgRemoveCodeUploadParamsAddresses, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveCodeUploadParamsAddresses; fromJSON(object: any): MsgRemoveCodeUploadParamsAddresses; toJSON(message: MsgRemoveCodeUploadParamsAddresses): unknown; create(base?: DeepPartial): MsgRemoveCodeUploadParamsAddresses; fromPartial(object: DeepPartial): MsgRemoveCodeUploadParamsAddresses; }; export declare const MsgRemoveCodeUploadParamsAddressesResponse: { encode(_: MsgRemoveCodeUploadParamsAddressesResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgRemoveCodeUploadParamsAddressesResponse; fromJSON(_: any): MsgRemoveCodeUploadParamsAddressesResponse; toJSON(_: MsgRemoveCodeUploadParamsAddressesResponse): unknown; create(base?: DeepPartial): MsgRemoveCodeUploadParamsAddressesResponse; fromPartial(_: DeepPartial): MsgRemoveCodeUploadParamsAddressesResponse; }; export declare const MsgStoreAndMigrateContract: { encode(message: MsgStoreAndMigrateContract, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndMigrateContract; fromJSON(object: any): MsgStoreAndMigrateContract; toJSON(message: MsgStoreAndMigrateContract): unknown; create(base?: DeepPartial): MsgStoreAndMigrateContract; fromPartial(object: DeepPartial): MsgStoreAndMigrateContract; }; export declare const MsgStoreAndMigrateContractResponse: { encode(message: MsgStoreAndMigrateContractResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreAndMigrateContractResponse; fromJSON(object: any): MsgStoreAndMigrateContractResponse; toJSON(message: MsgStoreAndMigrateContractResponse): unknown; create(base?: DeepPartial): MsgStoreAndMigrateContractResponse; fromPartial(object: DeepPartial): MsgStoreAndMigrateContractResponse; }; export declare const MsgUpdateContractLabel: { encode(message: MsgUpdateContractLabel, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateContractLabel; fromJSON(object: any): MsgUpdateContractLabel; toJSON(message: MsgUpdateContractLabel): unknown; create(base?: DeepPartial): MsgUpdateContractLabel; fromPartial(object: DeepPartial): MsgUpdateContractLabel; }; export declare const MsgUpdateContractLabelResponse: { encode(_: MsgUpdateContractLabelResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateContractLabelResponse; fromJSON(_: any): MsgUpdateContractLabelResponse; toJSON(_: MsgUpdateContractLabelResponse): unknown; create(base?: DeepPartial): MsgUpdateContractLabelResponse; fromPartial(_: DeepPartial): MsgUpdateContractLabelResponse; }; /** Msg defines the wasm Msg service. */ export interface Msg { /** StoreCode to submit Wasm code to the system */ StoreCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * InstantiateContract creates a new smart contract instance for the given * code id. */ InstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * InstantiateContract2 creates a new smart contract instance for the given * code id with a predictable address */ InstantiateContract2(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Execute submits the given message data to a smart contract */ ExecuteContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** Migrate runs a code upgrade/ downgrade for a smart contract */ MigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateAdmin sets a new admin for a smart contract */ UpdateAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** ClearAdmin removes any admin stored for a smart contract */ ClearAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** UpdateInstantiateConfig updates instantiate config for a smart contract */ UpdateInstantiateConfig(request: DeepPartial, metadata?: grpc.Metadata): 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: DeepPartial, metadata?: grpc.Metadata): Promise; /** * SudoContract defines a governance operation for calling sudo * on a contract. The authority is defined in the keeper. * * Since: 0.40 */ SudoContract(request: DeepPartial, metadata?: grpc.Metadata): 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: DeepPartial, metadata?: grpc.Metadata): 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: DeepPartial, metadata?: grpc.Metadata): Promise; /** * StoreAndInstantiateContract defines a governance operation for storing * and instantiating the contract. The authority is defined in the keeper. * * Since: 0.40 */ StoreAndInstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * RemoveCodeUploadParamsAddresses defines a governance operation for * removing addresses from code upload params. * The authority is defined in the keeper. */ RemoveCodeUploadParamsAddresses(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * AddCodeUploadParamsAddresses defines a governance operation for * adding addresses to code upload params. * The authority is defined in the keeper. */ AddCodeUploadParamsAddresses(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * StoreAndMigrateContract defines a governance operation for storing * and migrating the contract. The authority is defined in the keeper. * * Since: 0.42 */ StoreAndMigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; /** * UpdateContractLabel sets a new label for a smart contract * * Since: 0.43 */ UpdateContractLabel(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); StoreCode(request: DeepPartial, metadata?: grpc.Metadata): Promise; InstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; InstantiateContract2(request: DeepPartial, metadata?: grpc.Metadata): Promise; ExecuteContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; MigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; ClearAdmin(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateInstantiateConfig(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateParams(request: DeepPartial, metadata?: grpc.Metadata): Promise; SudoContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; PinCodes(request: DeepPartial, metadata?: grpc.Metadata): Promise; UnpinCodes(request: DeepPartial, metadata?: grpc.Metadata): Promise; StoreAndInstantiateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; RemoveCodeUploadParamsAddresses(request: DeepPartial, metadata?: grpc.Metadata): Promise; AddCodeUploadParamsAddresses(request: DeepPartial, metadata?: grpc.Metadata): Promise; StoreAndMigrateContract(request: DeepPartial, metadata?: grpc.Metadata): Promise; UpdateContractLabel(request: DeepPartial, metadata?: grpc.Metadata): Promise; } export declare const MsgDesc: { serviceName: string; }; export declare const MsgStoreCodeDesc: UnaryMethodDefinitionish; export declare const MsgInstantiateContractDesc: UnaryMethodDefinitionish; export declare const MsgInstantiateContract2Desc: UnaryMethodDefinitionish; export declare const MsgExecuteContractDesc: UnaryMethodDefinitionish; export declare const MsgMigrateContractDesc: UnaryMethodDefinitionish; export declare const MsgUpdateAdminDesc: UnaryMethodDefinitionish; export declare const MsgClearAdminDesc: UnaryMethodDefinitionish; export declare const MsgUpdateInstantiateConfigDesc: UnaryMethodDefinitionish; export declare const MsgUpdateParamsDesc: UnaryMethodDefinitionish; export declare const MsgSudoContractDesc: UnaryMethodDefinitionish; export declare const MsgPinCodesDesc: UnaryMethodDefinitionish; export declare const MsgUnpinCodesDesc: UnaryMethodDefinitionish; export declare const MsgStoreAndInstantiateContractDesc: UnaryMethodDefinitionish; export declare const MsgRemoveCodeUploadParamsAddressesDesc: UnaryMethodDefinitionish; export declare const MsgAddCodeUploadParamsAddressesDesc: UnaryMethodDefinitionish; export declare const MsgStoreAndMigrateContractDesc: UnaryMethodDefinitionish; export declare const MsgUpdateContractLabelDesc: UnaryMethodDefinitionish; interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition { requestStream: any; responseStream: any; } type UnaryMethodDefinitionish = UnaryMethodDefinitionishR; interface Rpc { unary(methodDesc: T, request: any, metadata: grpc.Metadata | undefined): Promise; } export declare class GrpcWebImpl { private host; private options; constructor(host: string, options: { transport?: grpc.TransportFactory; debug?: boolean; metadata?: grpc.Metadata; upStreamRetryCodes?: number[]; }); unary(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise; } type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export declare class GrpcWebError extends globalThis.Error { code: grpc.Code; metadata: grpc.Metadata; constructor(message: string, code: grpc.Code, metadata: grpc.Metadata); } export {};