cli

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearContractAdminCmd added in v0.9.0

func ClearContractAdminCmd() *cobra.Command

ClearContractAdminCmd clears an admin for a contract

func ExecuteContractCmd

func ExecuteContractCmd() *cobra.Command

ExecuteContractCmd will instantiate a contract from previously uploaded code.

func GenesisExecuteContractCmd added in v0.14.1

func GenesisExecuteContractCmd(defaultNodeHome string) *cobra.Command

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

func GenesisInstantiateContractCmd(defaultNodeHome string) *cobra.Command

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

func GenesisListCodesCmd(defaultNodeHome string) *cobra.Command

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

func GenesisListContractsCmd(defaultNodeHome string) *cobra.Command

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

func GenesisStoreCodeCmd(defaultNodeHome string) *cobra.Command

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

func GetCmdGetContractHistory() *cobra.Command

GetCmdGetContractHistory prints the code history for a given contract

func GetCmdGetContractInfo

func GetCmdGetContractInfo() *cobra.Command

GetCmdGetContractInfo gets details about a given contract

func GetCmdGetContractState

func GetCmdGetContractState() *cobra.Command

GetCmdGetContractState dumps full internal state of a given contract

func GetCmdGetContractStateAll

func GetCmdGetContractStateAll() *cobra.Command

func GetCmdGetContractStateRaw

func GetCmdGetContractStateRaw() *cobra.Command

func GetCmdGetContractStateSmart

func GetCmdGetContractStateSmart() *cobra.Command

func GetCmdListCode

func GetCmdListCode() *cobra.Command

GetCmdListCode lists all wasm code uploaded

func GetCmdListContractByCode

func GetCmdListContractByCode() *cobra.Command

GetCmdListContractByCode lists all wasm code uploaded for given code id

func GetCmdQueryCode

func GetCmdQueryCode() *cobra.Command

GetCmdQueryCode returns the bytecode for a given contract

func GetQueryCmd

func GetQueryCmd() *cobra.Command

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func InstantiateContractCmd

func InstantiateContractCmd() *cobra.Command

InstantiateContractCmd will instantiate a contract from previously uploaded code.

func MigrateContractCmd added in v0.9.0

func MigrateContractCmd() *cobra.Command

MigrateContractCmd will migrate a contract to a new code version

func ProposalClearContractAdminCmd added in v0.10.0

func ProposalClearContractAdminCmd() *cobra.Command

func ProposalInstantiateContractCmd added in v0.10.0

func ProposalInstantiateContractCmd() *cobra.Command

func ProposalMigrateContractCmd added in v0.10.0

func ProposalMigrateContractCmd() *cobra.Command

func ProposalStoreCodeCmd added in v0.10.0

func ProposalStoreCodeCmd() *cobra.Command

func ProposalUpdateContractAdminCmd added in v0.10.0

func ProposalUpdateContractAdminCmd() *cobra.Command

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

func UpdateContractAdminCmd added in v0.9.0

func UpdateContractAdminCmd() *cobra.Command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL