interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,656 lines • 87 kB
TypeScript
import { AccessConfig, AccessConfigAmino, Params, ParamsAmino } from "./types";
import { Coin, CoinAmino } from "../../../cosmos/base/v1beta1/coin";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* MsgStoreCode submit Wasm code to the system
* @name MsgStoreCode
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCode
*/
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;
}
export interface MsgStoreCodeProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode";
value: Uint8Array;
}
/**
* MsgStoreCode submit Wasm code to the system
* @name MsgStoreCodeAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCode
*/
export interface MsgStoreCodeAmino {
/**
* Sender is the actor that signed the messages
*/
sender: string;
/**
* WASMByteCode can be raw or gzip compressed
*/
wasm_byte_code: string;
/**
* InstantiatePermission access control to apply on contract creation,
* optional
*/
instantiate_permission?: AccessConfigAmino;
}
export interface MsgStoreCodeAminoMsg {
type: "wasm/MsgStoreCode";
value: MsgStoreCodeAmino;
}
/**
* MsgStoreCodeResponse returns store result data.
* @name MsgStoreCodeResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCodeResponse
*/
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;
}
export interface MsgStoreCodeResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreCodeResponse";
value: Uint8Array;
}
/**
* MsgStoreCodeResponse returns store result data.
* @name MsgStoreCodeResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCodeResponse
*/
export interface MsgStoreCodeResponseAmino {
/**
* CodeID is the reference to the stored WASM code
*/
code_id: string;
/**
* Checksum is the sha256 hash of the stored code
*/
checksum: string;
}
export interface MsgStoreCodeResponseAminoMsg {
type: "wasm/MsgStoreCodeResponse";
value: MsgStoreCodeResponseAmino;
}
/**
* MsgInstantiateContract create a new smart contract instance for the given
* code id.
* @name MsgInstantiateContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract
*/
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[];
}
export interface MsgInstantiateContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract";
value: Uint8Array;
}
/**
* MsgInstantiateContract create a new smart contract instance for the given
* code id.
* @name MsgInstantiateContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract
*/
export interface MsgInstantiateContractAmino {
/**
* 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
*/
code_id: 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: any;
/**
* Funds coins that are transferred to the contract on instantiation
*/
funds: CoinAmino[];
}
export interface MsgInstantiateContractAminoMsg {
type: "wasm/MsgInstantiateContract";
value: MsgInstantiateContractAmino;
}
/**
* MsgInstantiateContractResponse return instantiation result data
* @name MsgInstantiateContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContractResponse
*/
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;
}
export interface MsgInstantiateContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContractResponse";
value: Uint8Array;
}
/**
* MsgInstantiateContractResponse return instantiation result data
* @name MsgInstantiateContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContractResponse
*/
export interface MsgInstantiateContractResponseAmino {
/**
* Address is the bech32 address of the new contract instance.
*/
address: string;
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgInstantiateContractResponseAminoMsg {
type: "wasm/MsgInstantiateContractResponse";
value: MsgInstantiateContractResponseAmino;
}
/**
* MsgInstantiateContract2 create a new smart contract instance for the given
* code id with a predictable address.
* @name MsgInstantiateContract2
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract2
*/
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;
}
export interface MsgInstantiateContract2ProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2";
value: Uint8Array;
}
/**
* MsgInstantiateContract2 create a new smart contract instance for the given
* code id with a predictable address.
* @name MsgInstantiateContract2Amino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract2
*/
export interface MsgInstantiateContract2Amino {
/**
* 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
*/
code_id: 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: any;
/**
* Funds coins that are transferred to the contract on instantiation
*/
funds: CoinAmino[];
/**
* Salt is an arbitrary value provided by the sender. Size can be 1 to 64.
*/
salt: string;
/**
* FixMsg include the msg value into the hash for the predictable address.
* Default is false
*/
fix_msg: boolean;
}
export interface MsgInstantiateContract2AminoMsg {
type: "wasm/MsgInstantiateContract2";
value: MsgInstantiateContract2Amino;
}
/**
* MsgInstantiateContract2Response return instantiation result data
* @name MsgInstantiateContract2Response
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract2Response
*/
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;
}
export interface MsgInstantiateContract2ResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2Response";
value: Uint8Array;
}
/**
* MsgInstantiateContract2Response return instantiation result data
* @name MsgInstantiateContract2ResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract2Response
*/
export interface MsgInstantiateContract2ResponseAmino {
/**
* Address is the bech32 address of the new contract instance.
*/
address: string;
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgInstantiateContract2ResponseAminoMsg {
type: "wasm/MsgInstantiateContract2Response";
value: MsgInstantiateContract2ResponseAmino;
}
/**
* MsgExecuteContract submits the given message data to a smart contract
* @name MsgExecuteContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgExecuteContract
*/
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[];
}
export interface MsgExecuteContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract";
value: Uint8Array;
}
/**
* MsgExecuteContract submits the given message data to a smart contract
* @name MsgExecuteContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgExecuteContract
*/
export interface MsgExecuteContractAmino {
/**
* 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: any;
/**
* Funds coins that are transferred to the contract on execution
*/
funds: CoinAmino[];
}
export interface MsgExecuteContractAminoMsg {
type: "wasm/MsgExecuteContract";
value: MsgExecuteContractAmino;
}
/**
* MsgExecuteContractResponse returns execution result data.
* @name MsgExecuteContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgExecuteContractResponse
*/
export interface MsgExecuteContractResponse {
/**
* Data contains bytes to returned from the contract
*/
data: Uint8Array;
}
export interface MsgExecuteContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContractResponse";
value: Uint8Array;
}
/**
* MsgExecuteContractResponse returns execution result data.
* @name MsgExecuteContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgExecuteContractResponse
*/
export interface MsgExecuteContractResponseAmino {
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgExecuteContractResponseAminoMsg {
type: "wasm/MsgExecuteContractResponse";
value: MsgExecuteContractResponseAmino;
}
/**
* MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
* @name MsgMigrateContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgMigrateContract
*/
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;
}
export interface MsgMigrateContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract";
value: Uint8Array;
}
/**
* MsgMigrateContract runs a code upgrade/ downgrade for a smart contract
* @name MsgMigrateContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgMigrateContract
*/
export interface MsgMigrateContractAmino {
/**
* 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
*/
code_id: string;
/**
* Msg json encoded message to be passed to the contract on migration
*/
msg: any;
}
export interface MsgMigrateContractAminoMsg {
type: "wasm/MsgMigrateContract";
value: MsgMigrateContractAmino;
}
/**
* MsgMigrateContractResponse returns contract migration result data.
* @name MsgMigrateContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgMigrateContractResponse
*/
export interface MsgMigrateContractResponse {
/**
* Data contains same raw bytes returned as data from the wasm contract.
* (May be empty)
*/
data: Uint8Array;
}
export interface MsgMigrateContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContractResponse";
value: Uint8Array;
}
/**
* MsgMigrateContractResponse returns contract migration result data.
* @name MsgMigrateContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgMigrateContractResponse
*/
export interface MsgMigrateContractResponseAmino {
/**
* Data contains same raw bytes returned as data from the wasm contract.
* (May be empty)
*/
data: string;
}
export interface MsgMigrateContractResponseAminoMsg {
type: "wasm/MsgMigrateContractResponse";
value: MsgMigrateContractResponseAmino;
}
/**
* MsgUpdateAdmin sets a new admin for a smart contract
* @name MsgUpdateAdmin
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateAdmin
*/
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;
}
export interface MsgUpdateAdminProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin";
value: Uint8Array;
}
/**
* MsgUpdateAdmin sets a new admin for a smart contract
* @name MsgUpdateAdminAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateAdmin
*/
export interface MsgUpdateAdminAmino {
/**
* Sender is the that actor that signed the messages
*/
sender: string;
/**
* NewAdmin address to be set
*/
new_admin: string;
/**
* Contract is the address of the smart contract
*/
contract: string;
}
export interface MsgUpdateAdminAminoMsg {
type: "wasm/MsgUpdateAdmin";
value: MsgUpdateAdminAmino;
}
/**
* MsgUpdateAdminResponse returns empty data
* @name MsgUpdateAdminResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateAdminResponse
*/
export interface MsgUpdateAdminResponse {
}
export interface MsgUpdateAdminResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdminResponse";
value: Uint8Array;
}
/**
* MsgUpdateAdminResponse returns empty data
* @name MsgUpdateAdminResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateAdminResponse
*/
export interface MsgUpdateAdminResponseAmino {
}
export interface MsgUpdateAdminResponseAminoMsg {
type: "wasm/MsgUpdateAdminResponse";
value: MsgUpdateAdminResponseAmino;
}
/**
* MsgClearAdmin removes any admin stored for a smart contract
* @name MsgClearAdmin
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgClearAdmin
*/
export interface MsgClearAdmin {
/**
* Sender is the actor that signed the messages
*/
sender: string;
/**
* Contract is the address of the smart contract
*/
contract: string;
}
export interface MsgClearAdminProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin";
value: Uint8Array;
}
/**
* MsgClearAdmin removes any admin stored for a smart contract
* @name MsgClearAdminAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgClearAdmin
*/
export interface MsgClearAdminAmino {
/**
* Sender is the actor that signed the messages
*/
sender: string;
/**
* Contract is the address of the smart contract
*/
contract: string;
}
export interface MsgClearAdminAminoMsg {
type: "wasm/MsgClearAdmin";
value: MsgClearAdminAmino;
}
/**
* MsgClearAdminResponse returns empty data
* @name MsgClearAdminResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgClearAdminResponse
*/
export interface MsgClearAdminResponse {
}
export interface MsgClearAdminResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgClearAdminResponse";
value: Uint8Array;
}
/**
* MsgClearAdminResponse returns empty data
* @name MsgClearAdminResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgClearAdminResponse
*/
export interface MsgClearAdminResponseAmino {
}
export interface MsgClearAdminResponseAminoMsg {
type: "wasm/MsgClearAdminResponse";
value: MsgClearAdminResponseAmino;
}
/**
* MsgUpdateInstantiateConfig updates instantiate config for a smart contract
* @name MsgUpdateInstantiateConfig
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateInstantiateConfig
*/
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;
}
export interface MsgUpdateInstantiateConfigProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfig";
value: Uint8Array;
}
/**
* MsgUpdateInstantiateConfig updates instantiate config for a smart contract
* @name MsgUpdateInstantiateConfigAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateInstantiateConfig
*/
export interface MsgUpdateInstantiateConfigAmino {
/**
* Sender is the that actor that signed the messages
*/
sender: string;
/**
* CodeID references the stored WASM code
*/
code_id: string;
/**
* NewInstantiatePermission is the new access control
*/
new_instantiate_permission?: AccessConfigAmino;
}
export interface MsgUpdateInstantiateConfigAminoMsg {
type: "wasm/MsgUpdateInstantiateConfig";
value: MsgUpdateInstantiateConfigAmino;
}
/**
* MsgUpdateInstantiateConfigResponse returns empty data
* @name MsgUpdateInstantiateConfigResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse
*/
export interface MsgUpdateInstantiateConfigResponse {
}
export interface MsgUpdateInstantiateConfigResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse";
value: Uint8Array;
}
/**
* MsgUpdateInstantiateConfigResponse returns empty data
* @name MsgUpdateInstantiateConfigResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateInstantiateConfigResponse
*/
export interface MsgUpdateInstantiateConfigResponseAmino {
}
export interface MsgUpdateInstantiateConfigResponseAminoMsg {
type: "wasm/MsgUpdateInstantiateConfigResponse";
value: MsgUpdateInstantiateConfigResponseAmino;
}
/**
* MsgUpdateParams is the MsgUpdateParams request type.
*
* Since: 0.40
* @name MsgUpdateParams
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateParams
*/
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;
}
export interface MsgUpdateParamsProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateParams";
value: Uint8Array;
}
/**
* MsgUpdateParams is the MsgUpdateParams request type.
*
* Since: 0.40
* @name MsgUpdateParamsAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateParams
*/
export interface MsgUpdateParamsAmino {
/**
* 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: ParamsAmino;
}
export interface MsgUpdateParamsAminoMsg {
type: "wasm/MsgUpdateParams";
value: MsgUpdateParamsAmino;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*
* Since: 0.40
* @name MsgUpdateParamsResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponse {
}
export interface MsgUpdateParamsResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateParamsResponse";
value: Uint8Array;
}
/**
* MsgUpdateParamsResponse defines the response structure for executing a
* MsgUpdateParams message.
*
* Since: 0.40
* @name MsgUpdateParamsResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateParamsResponse
*/
export interface MsgUpdateParamsResponseAmino {
}
export interface MsgUpdateParamsResponseAminoMsg {
type: "wasm/MsgUpdateParamsResponse";
value: MsgUpdateParamsResponseAmino;
}
/**
* MsgSudoContract is the MsgSudoContract request type.
*
* Since: 0.40
* @name MsgSudoContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgSudoContract
*/
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;
}
export interface MsgSudoContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgSudoContract";
value: Uint8Array;
}
/**
* MsgSudoContract is the MsgSudoContract request type.
*
* Since: 0.40
* @name MsgSudoContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgSudoContract
*/
export interface MsgSudoContractAmino {
/**
* 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: any;
}
export interface MsgSudoContractAminoMsg {
type: "wasm/MsgSudoContract";
value: MsgSudoContractAmino;
}
/**
* MsgSudoContractResponse defines the response structure for executing a
* MsgSudoContract message.
*
* Since: 0.40
* @name MsgSudoContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgSudoContractResponse
*/
export interface MsgSudoContractResponse {
/**
* Data contains bytes to returned from the contract
*/
data: Uint8Array;
}
export interface MsgSudoContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgSudoContractResponse";
value: Uint8Array;
}
/**
* MsgSudoContractResponse defines the response structure for executing a
* MsgSudoContract message.
*
* Since: 0.40
* @name MsgSudoContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgSudoContractResponse
*/
export interface MsgSudoContractResponseAmino {
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgSudoContractResponseAminoMsg {
type: "wasm/MsgSudoContractResponse";
value: MsgSudoContractResponseAmino;
}
/**
* MsgPinCodes is the MsgPinCodes request type.
*
* Since: 0.40
* @name MsgPinCodes
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgPinCodes
*/
export interface MsgPinCodes {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* CodeIDs references the new WASM codes
*/
codeIds: bigint[];
}
export interface MsgPinCodesProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgPinCodes";
value: Uint8Array;
}
/**
* MsgPinCodes is the MsgPinCodes request type.
*
* Since: 0.40
* @name MsgPinCodesAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgPinCodes
*/
export interface MsgPinCodesAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* CodeIDs references the new WASM codes
*/
code_ids: string[];
}
export interface MsgPinCodesAminoMsg {
type: "wasm/MsgPinCodes";
value: MsgPinCodesAmino;
}
/**
* MsgPinCodesResponse defines the response structure for executing a
* MsgPinCodes message.
*
* Since: 0.40
* @name MsgPinCodesResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgPinCodesResponse
*/
export interface MsgPinCodesResponse {
}
export interface MsgPinCodesResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgPinCodesResponse";
value: Uint8Array;
}
/**
* MsgPinCodesResponse defines the response structure for executing a
* MsgPinCodes message.
*
* Since: 0.40
* @name MsgPinCodesResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgPinCodesResponse
*/
export interface MsgPinCodesResponseAmino {
}
export interface MsgPinCodesResponseAminoMsg {
type: "wasm/MsgPinCodesResponse";
value: MsgPinCodesResponseAmino;
}
/**
* MsgUnpinCodes is the MsgUnpinCodes request type.
*
* Since: 0.40
* @name MsgUnpinCodes
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUnpinCodes
*/
export interface MsgUnpinCodes {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* CodeIDs references the WASM codes
*/
codeIds: bigint[];
}
export interface MsgUnpinCodesProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUnpinCodes";
value: Uint8Array;
}
/**
* MsgUnpinCodes is the MsgUnpinCodes request type.
*
* Since: 0.40
* @name MsgUnpinCodesAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUnpinCodes
*/
export interface MsgUnpinCodesAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* CodeIDs references the WASM codes
*/
code_ids: string[];
}
export interface MsgUnpinCodesAminoMsg {
type: "wasm/MsgUnpinCodes";
value: MsgUnpinCodesAmino;
}
/**
* MsgUnpinCodesResponse defines the response structure for executing a
* MsgUnpinCodes message.
*
* Since: 0.40
* @name MsgUnpinCodesResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUnpinCodesResponse
*/
export interface MsgUnpinCodesResponse {
}
export interface MsgUnpinCodesResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUnpinCodesResponse";
value: Uint8Array;
}
/**
* MsgUnpinCodesResponse defines the response structure for executing a
* MsgUnpinCodes message.
*
* Since: 0.40
* @name MsgUnpinCodesResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUnpinCodesResponse
*/
export interface MsgUnpinCodesResponseAmino {
}
export interface MsgUnpinCodesResponseAminoMsg {
type: "wasm/MsgUnpinCodesResponse";
value: MsgUnpinCodesResponseAmino;
}
/**
* MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract
* request type.
*
* Since: 0.40
* @name MsgStoreAndInstantiateContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndInstantiateContract
*/
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;
}
export interface MsgStoreAndInstantiateContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContract";
value: Uint8Array;
}
/**
* MsgStoreAndInstantiateContract is the MsgStoreAndInstantiateContract
* request type.
*
* Since: 0.40
* @name MsgStoreAndInstantiateContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndInstantiateContract
*/
export interface MsgStoreAndInstantiateContractAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* WASMByteCode can be raw or gzip compressed
*/
wasm_byte_code: string;
/**
* InstantiatePermission to apply on contract creation, optional
*/
instantiate_permission?: AccessConfigAmino;
/**
* UnpinCode code on upload, optional. As default the uploaded contract is
* pinned to cache.
*/
unpin_code: 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: any;
/**
* Funds coins that are transferred from the authority account to the contract
* on instantiation
*/
funds: CoinAmino[];
/**
* 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
*/
code_hash: string;
}
export interface MsgStoreAndInstantiateContractAminoMsg {
type: "wasm/MsgStoreAndInstantiateContract";
value: MsgStoreAndInstantiateContractAmino;
}
/**
* MsgStoreAndInstantiateContractResponse defines the response structure
* for executing a MsgStoreAndInstantiateContract message.
*
* Since: 0.40
* @name MsgStoreAndInstantiateContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse
*/
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;
}
export interface MsgStoreAndInstantiateContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse";
value: Uint8Array;
}
/**
* MsgStoreAndInstantiateContractResponse defines the response structure
* for executing a MsgStoreAndInstantiateContract message.
*
* Since: 0.40
* @name MsgStoreAndInstantiateContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndInstantiateContractResponse
*/
export interface MsgStoreAndInstantiateContractResponseAmino {
/**
* Address is the bech32 address of the new contract instance.
*/
address: string;
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgStoreAndInstantiateContractResponseAminoMsg {
type: "wasm/MsgStoreAndInstantiateContractResponse";
value: MsgStoreAndInstantiateContractResponseAmino;
}
/**
* MsgAddCodeUploadParamsAddresses is the
* MsgAddCodeUploadParamsAddresses request type.
* @name MsgAddCodeUploadParamsAddresses
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses
*/
export interface MsgAddCodeUploadParamsAddresses {
/**
* Authority is the address of the governance account.
*/
authority: string;
addresses: string[];
}
export interface MsgAddCodeUploadParamsAddressesProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses";
value: Uint8Array;
}
/**
* MsgAddCodeUploadParamsAddresses is the
* MsgAddCodeUploadParamsAddresses request type.
* @name MsgAddCodeUploadParamsAddressesAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses
*/
export interface MsgAddCodeUploadParamsAddressesAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
addresses: string[];
}
export interface MsgAddCodeUploadParamsAddressesAminoMsg {
type: "wasm/MsgAddCodeUploadParamsAddresses";
value: MsgAddCodeUploadParamsAddressesAmino;
}
/**
* MsgAddCodeUploadParamsAddressesResponse defines the response
* structure for executing a MsgAddCodeUploadParamsAddresses message.
* @name MsgAddCodeUploadParamsAddressesResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse
*/
export interface MsgAddCodeUploadParamsAddressesResponse {
}
export interface MsgAddCodeUploadParamsAddressesResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse";
value: Uint8Array;
}
/**
* MsgAddCodeUploadParamsAddressesResponse defines the response
* structure for executing a MsgAddCodeUploadParamsAddresses message.
* @name MsgAddCodeUploadParamsAddressesResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse
*/
export interface MsgAddCodeUploadParamsAddressesResponseAmino {
}
export interface MsgAddCodeUploadParamsAddressesResponseAminoMsg {
type: "wasm/MsgAddCodeUploadParamsAddressesResponse";
value: MsgAddCodeUploadParamsAddressesResponseAmino;
}
/**
* MsgRemoveCodeUploadParamsAddresses is the
* MsgRemoveCodeUploadParamsAddresses request type.
* @name MsgRemoveCodeUploadParamsAddresses
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses
*/
export interface MsgRemoveCodeUploadParamsAddresses {
/**
* Authority is the address of the governance account.
*/
authority: string;
addresses: string[];
}
export interface MsgRemoveCodeUploadParamsAddressesProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses";
value: Uint8Array;
}
/**
* MsgRemoveCodeUploadParamsAddresses is the
* MsgRemoveCodeUploadParamsAddresses request type.
* @name MsgRemoveCodeUploadParamsAddressesAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddresses
*/
export interface MsgRemoveCodeUploadParamsAddressesAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
addresses: string[];
}
export interface MsgRemoveCodeUploadParamsAddressesAminoMsg {
type: "wasm/MsgRemoveCodeUploadParamsAddresses";
value: MsgRemoveCodeUploadParamsAddressesAmino;
}
/**
* MsgRemoveCodeUploadParamsAddressesResponse defines the response
* structure for executing a MsgRemoveCodeUploadParamsAddresses message.
* @name MsgRemoveCodeUploadParamsAddressesResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse
*/
export interface MsgRemoveCodeUploadParamsAddressesResponse {
}
export interface MsgRemoveCodeUploadParamsAddressesResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse";
value: Uint8Array;
}
/**
* MsgRemoveCodeUploadParamsAddressesResponse defines the response
* structure for executing a MsgRemoveCodeUploadParamsAddresses message.
* @name MsgRemoveCodeUploadParamsAddressesResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgRemoveCodeUploadParamsAddressesResponse
*/
export interface MsgRemoveCodeUploadParamsAddressesResponseAmino {
}
export interface MsgRemoveCodeUploadParamsAddressesResponseAminoMsg {
type: "wasm/MsgRemoveCodeUploadParamsAddressesResponse";
value: MsgRemoveCodeUploadParamsAddressesResponseAmino;
}
/**
* MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract
* request type.
*
* Since: 0.42
* @name MsgStoreAndMigrateContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndMigrateContract
*/
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;
}
export interface MsgStoreAndMigrateContractProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndMigrateContract";
value: Uint8Array;
}
/**
* MsgStoreAndMigrateContract is the MsgStoreAndMigrateContract
* request type.
*
* Since: 0.42
* @name MsgStoreAndMigrateContractAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndMigrateContract
*/
export interface MsgStoreAndMigrateContractAmino {
/**
* Authority is the address of the governance account.
*/
authority: string;
/**
* WASMByteCode can be raw or gzip compressed
*/
wasm_byte_code: string;
/**
* InstantiatePermission to apply on contract creation, optional
*/
instantiate_permission?: AccessConfigAmino;
/**
* Contract is the address of the smart contract
*/
contract: string;
/**
* Msg json encoded message to be passed to the contract on migration
*/
msg: any;
}
export interface MsgStoreAndMigrateContractAminoMsg {
type: "wasm/MsgStoreAndMigrateContract";
value: MsgStoreAndMigrateContractAmino;
}
/**
* MsgStoreAndMigrateContractResponse defines the response structure
* for executing a MsgStoreAndMigrateContract message.
*
* Since: 0.42
* @name MsgStoreAndMigrateContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse
*/
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;
}
export interface MsgStoreAndMigrateContractResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse";
value: Uint8Array;
}
/**
* MsgStoreAndMigrateContractResponse defines the response structure
* for executing a MsgStoreAndMigrateContract message.
*
* Since: 0.42
* @name MsgStoreAndMigrateContractResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreAndMigrateContractResponse
*/
export interface MsgStoreAndMigrateContractResponseAmino {
/**
* CodeID is the reference to the stored WASM code
*/
code_id: string;
/**
* Checksum is the sha256 hash of the stored code
*/
checksum: string;
/**
* Data contains bytes to returned from the contract
*/
data: string;
}
export interface MsgStoreAndMigrateContractResponseAminoMsg {
type: "wasm/MsgStoreAndMigrateContractResponse";
value: MsgStoreAndMigrateContractResponseAmino;
}
/**
* MsgUpdateContractLabel sets a new label for a smart contract
* @name MsgUpdateContractLabel
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateContractLabel
*/
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;
}
export interface MsgUpdateContractLabelProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateContractLabel";
value: Uint8Array;
}
/**
* MsgUpdateContractLabel sets a new label for a smart contract
* @name MsgUpdateContractLabelAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateContractLabel
*/
export interface MsgUpdateContractLabelAmino {
/**
* Sender is the that actor that signed the messages
*/
sender: string;
/**
* NewLabel string to be set
*/
new_label: string;
/**
* Contract is the address of the smart contract
*/
contract: string;
}
export interface MsgUpdateContractLabelAminoMsg {
type: "wasm/MsgUpdateContractLabel";
value: MsgUpdateContractLabelAmino;
}
/**
* MsgUpdateContractLabelResponse returns empty data
* @name MsgUpdateContractLabelResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateContractLabelResponse
*/
export interface MsgUpdateContractLabelResponse {
}
export interface MsgUpdateContractLabelResponseProtoMsg {
typeUrl: "/cosmwasm.wasm.v1.MsgUpdateContractLabelResponse";
value: Uint8Array;
}
/**
* MsgUpdateContractLabelResponse returns empty data
* @name MsgUpdateContractLabelResponseAmino
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgUpdateContractLabelResponse
*/
export interface MsgUpdateContractLabelResponseAmino {
}
export interface MsgUpdateContractLabelResponseAminoMsg {
type: "wasm/MsgUpdateContractLabelResponse";
value: MsgUpdateContractLabelResponseAmino;
}
/**
* MsgStoreCode submit Wasm code to the system
* @name MsgStoreCode
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCode
*/
export declare const MsgStoreCode: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgStoreCode;
isAmino(o: any): o is MsgStoreCodeAmino;
encode(message: MsgStoreCode, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCode;
fromPartial(object: DeepPartial<MsgStoreCode>): MsgStoreCode;
fromAmino(object: MsgStoreCodeAmino): MsgStoreCode;
toAmino(message: MsgStoreCode): MsgStoreCodeAmino;
fromAminoMsg(object: MsgStoreCodeAminoMsg): MsgStoreCode;
toAminoMsg(message: MsgStoreCode): MsgStoreCodeAminoMsg;
fromProtoMsg(message: MsgStoreCodeProtoMsg): MsgStoreCode;
toProto(message: MsgStoreCode): Uint8Array;
toProtoMsg(message: MsgStoreCode): MsgStoreCodeProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgStoreCodeResponse returns store result data.
* @name MsgStoreCodeResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgStoreCodeResponse
*/
export declare const MsgStoreCodeResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgStoreCodeResponse;
isAmino(o: any): o is MsgStoreCodeResponseAmino;
encode(message: MsgStoreCodeResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCodeResponse;
fromPartial(object: DeepPartial<MsgStoreCodeResponse>): MsgStoreCodeResponse;
fromAmino(object: MsgStoreCodeResponseAmino): MsgStoreCodeResponse;
toAmino(message: MsgStoreCodeResponse): MsgStoreCodeResponseAmino;
fromAminoMsg(object: MsgStoreCodeResponseAminoMsg): MsgStoreCodeResponse;
toAminoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseAminoMsg;
fromProtoMsg(message: MsgStoreCodeResponseProtoMsg): MsgStoreCodeResponse;
toProto(message: MsgStoreCodeResponse): Uint8Array;
toProtoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgInstantiateContract create a new smart contract instance for the given
* code id.
* @name MsgInstantiateContract
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract
*/
export declare const MsgInstantiateContract: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgInstantiateContract;
isAmino(o: any): o is MsgInstantiateContractAmino;
encode(message: MsgInstantiateContract, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract;
fromPartial(object: DeepPartial<MsgInstantiateContract>): MsgInstantiateContract;
fromAmino(object: MsgInstantiateContractAmino): MsgInstantiateContract;
toAmino(message: MsgInstantiateContract): MsgInstantiateContractAmino;
fromAminoMsg(object: MsgInstantiateContractAminoMsg): MsgInstantiateContract;
toAminoMsg(message: MsgInstantiateContract): MsgInstantiateContractAminoMsg;
fromProtoMsg(message: MsgInstantiateContractProtoMsg): MsgInstantiateContract;
toProto(message: MsgInstantiateContract): Uint8Array;
toProtoMsg(message: MsgInstantiateContract): MsgInstantiateContractProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgInstantiateContractResponse return instantiation result data
* @name MsgInstantiateContractResponse
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContractResponse
*/
export declare const MsgInstantiateContractResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgInstantiateContractResponse;
isAmino(o: any): o is MsgInstantiateContractResponseAmino;
encode(message: MsgInstantiateContractResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContractResponse;
fromPartial(object: DeepPartial<MsgInstantiateContractResponse>): MsgInstantiateContractResponse;
fromAmino(object: MsgInstantiateContractResponseAmino): MsgInstantiateContractResponse;
toAmino(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAmino;
fromAminoMsg(object: MsgInstantiateContractResponseAminoMsg): MsgInstantiateContractResponse;
toAminoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAminoMsg;
fromProtoMsg(message: MsgInstantiateContractResponseProtoMsg): MsgInstantiateContractResponse;
toProto(message: MsgInstantiateContractResponse): Uint8Array;
toProtoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgInstantiateContract2 create a new smart contract instance for the given
* code id with a predictable address.
* @name MsgInstantiateContract2
* @package cosmwasm.wasm.v1
* @see proto type: cosmwasm.wasm.v1.MsgInstantiateContract2
*/
export declare const MsgInstantiateContract2: {
typeUrl: string;
aminoType: string;
is(o: any): o is MsgInstantiateContract2;
isAmino(o: any): o is MsgInstantiateContract2Amino;
encode(message: MsgInstantiateContract2, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract2;
fromPartial(object: DeepPartial<MsgInstantiateContract2>): MsgInstantiateContract2;
fromAmino(object: MsgInstantiateContract2Amino): MsgInstantiateContract2;
toAmino(message: MsgInstantiateContract2): MsgInstantiateContract2Amino;
fromAminoMsg(object: MsgInstantiateContract2AminoMsg): MsgInstantiateContract2;
toAminoMsg(message: MsgInstantiateContract2): MsgInstantiateContract2AminoMsg;
fromProtoMsg(message: MsgInstantiateContract2ProtoMsg): MsgInstantiateContract2;
toProto(message: MsgInstantiateContract2): Uint8Array;
toProtoMsg(message: MsgInstantiateContract2): MsgInstantiateContract2ProtoMsg;
registerTypeUrl(): void;
};
/**
* MsgInstantiateContract2Response return instantiation result data
* @name MsgInstantiateContract2Response
* @package cosmwasm.wasm.v1
* @see proto t