Documentation ¶
Index ¶
- func ClearContractAdminCmd() *cobra.Command
- func ExecuteContractCmd() *cobra.Command
- func GenesisExecuteContractCmd(defaultNodeHome string) *cobra.Command
- func GenesisInstantiateContractCmd(defaultNodeHome string) *cobra.Command
- func GenesisListCodesCmd(defaultNodeHome string) *cobra.Command
- func GenesisListContractsCmd(defaultNodeHome string) *cobra.Command
- func GenesisStoreCodeCmd(defaultNodeHome string) *cobra.Command
- func GetCmdGetContractHistory() *cobra.Command
- func GetCmdGetContractInfo() *cobra.Command
- func GetCmdGetContractState() *cobra.Command
- func GetCmdGetContractStateAll() *cobra.Command
- func GetCmdGetContractStateRaw() *cobra.Command
- func GetCmdGetContractStateSmart() *cobra.Command
- func GetCmdListCode() *cobra.Command
- func GetCmdListContractByCode() *cobra.Command
- func GetCmdQueryCode() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func InstantiateContractCmd() *cobra.Command
- func MigrateContractCmd() *cobra.Command
- func ProposalClearContractAdminCmd() *cobra.Command
- func ProposalInstantiateContractCmd() *cobra.Command
- func ProposalMigrateContractCmd() *cobra.Command
- func ProposalStoreCodeCmd() *cobra.Command
- func ProposalUpdateContractAdminCmd() *cobra.Command
- func StoreCodeCmd() *cobra.Command
- func UpdateContractAdminCmd() *cobra.Command
- type VanillaStdJsonMarshaller
- func (x VanillaStdJsonMarshaller) MarshalInterfaceJSON(i proto.Message) ([]byte, error)
- func (x VanillaStdJsonMarshaller) MarshalJSON(o proto.Message) ([]byte, error)
- func (x VanillaStdJsonMarshaller) MustMarshalJSON(o proto.Message) []byte
- func (x VanillaStdJsonMarshaller) MustUnmarshalJSON(bz []byte, ptr proto.Message)
- func (x VanillaStdJsonMarshaller) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error
- func (x VanillaStdJsonMarshaller) UnmarshalJSON(bz []byte, ptr proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearContractAdminCmd ¶ added in v0.9.0
ClearContractAdminCmd clears an admin for a contract
func ExecuteContractCmd ¶
ExecuteContractCmd will instantiate a contract from previously uploaded code.
func GenesisExecuteContractCmd ¶ added in v0.14.1
GenesisInstantiateContractCmd cli command to add a `MsgExecuteContract` to the wasm section of the genesis that is executed on block 0.
func GenesisInstantiateContractCmd ¶ added in v0.14.1
GenesisInstantiateContractCmd cli command to add a `MsgInstantiateContract` to the wasm section of the genesis that is executed on block 0.
func GenesisListCodesCmd ¶ added in v0.14.1
GenesisListCodesCmd cli command to list all codes stored in the genesis wasm.code section as well as from messages that are queued in the wasm.genMsgs section.
func GenesisListContractsCmd ¶ added in v0.14.1
GenesisListContractsCmd cli command to list all contracts stored in the genesis wasm.contract section as well as from messages that are queued in the wasm.genMsgs section.
func GenesisStoreCodeCmd ¶ added in v0.14.1
GenesisStoreCodeCmd cli command to add a `MsgStoreCode` to the wasm section of the genesis that is executed on block 0.
func GetCmdGetContractHistory ¶ added in v0.10.0
GetCmdGetContractHistory prints the code history for a given contract
func GetCmdGetContractInfo ¶
GetCmdGetContractInfo gets details about a given contract
func GetCmdGetContractState ¶
GetCmdGetContractState dumps full internal state of a given contract
func GetCmdListCode ¶
GetCmdListCode lists all wasm code uploaded
func GetCmdListContractByCode ¶
GetCmdListContractByCode lists all wasm code uploaded for given code id
func GetCmdQueryCode ¶
GetCmdQueryCode returns the bytecode for a given contract
func GetQueryCmd ¶
func InstantiateContractCmd ¶
InstantiateContractCmd will instantiate a contract from previously uploaded code.
func MigrateContractCmd ¶ added in v0.9.0
MigrateContractCmd will migrate a contract to a new code version
func ProposalClearContractAdminCmd ¶ added in v0.10.0
func ProposalInstantiateContractCmd ¶ added in v0.10.0
func ProposalMigrateContractCmd ¶ added in v0.10.0
func ProposalStoreCodeCmd ¶ added in v0.10.0
func ProposalUpdateContractAdminCmd ¶ added in v0.10.0
func UpdateContractAdminCmd ¶ added in v0.9.0
UpdateContractAdminCmd sets an new admin for a contract
Types ¶
type VanillaStdJsonMarshaller ¶ added in v0.12.1
type VanillaStdJsonMarshaller struct { }
func (VanillaStdJsonMarshaller) MarshalInterfaceJSON ¶ added in v0.14.0
func (x VanillaStdJsonMarshaller) MarshalInterfaceJSON(i proto.Message) ([]byte, error)
func (VanillaStdJsonMarshaller) MarshalJSON ¶ added in v0.12.1
func (x VanillaStdJsonMarshaller) MarshalJSON(o proto.Message) ([]byte, error)
func (VanillaStdJsonMarshaller) MustMarshalJSON ¶ added in v0.12.1
func (x VanillaStdJsonMarshaller) MustMarshalJSON(o proto.Message) []byte
func (VanillaStdJsonMarshaller) MustUnmarshalJSON ¶ added in v0.12.1
func (x VanillaStdJsonMarshaller) MustUnmarshalJSON(bz []byte, ptr proto.Message)
func (VanillaStdJsonMarshaller) UnmarshalInterfaceJSON ¶ added in v0.14.0
func (x VanillaStdJsonMarshaller) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error
func (VanillaStdJsonMarshaller) UnmarshalJSON ¶ added in v0.12.1
func (x VanillaStdJsonMarshaller) UnmarshalJSON(bz []byte, ptr proto.Message) error