cli

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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

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

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

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

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

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

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

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

func MigrateContractCmd() *cobra.Command

MigrateContractCmd will migrate a contract to a new code version

func ProposalClearContractAdminCmd

func ProposalClearContractAdminCmd() *cobra.Command

func ProposalInstantiateContractCmd

func ProposalInstantiateContractCmd() *cobra.Command

func ProposalMigrateContractCmd

func ProposalMigrateContractCmd() *cobra.Command

func ProposalStoreCodeCmd

func ProposalStoreCodeCmd() *cobra.Command

func ProposalUpdateContractAdminCmd

func ProposalUpdateContractAdminCmd() *cobra.Command

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

func UpdateContractAdminCmd

func UpdateContractAdminCmd() *cobra.Command

UpdateContractAdminCmd sets an new admin for a contract

Types

type VanillaStdJsonMarshaller

type VanillaStdJsonMarshaller struct {
}

func (VanillaStdJsonMarshaller) MarshalInterfaceJSON

func (x VanillaStdJsonMarshaller) MarshalInterfaceJSON(i proto.Message) ([]byte, error)

func (VanillaStdJsonMarshaller) MarshalJSON

func (x VanillaStdJsonMarshaller) MarshalJSON(o proto.Message) ([]byte, error)

func (VanillaStdJsonMarshaller) MustMarshalJSON

func (x VanillaStdJsonMarshaller) MustMarshalJSON(o proto.Message) []byte

func (VanillaStdJsonMarshaller) MustUnmarshalJSON

func (x VanillaStdJsonMarshaller) MustUnmarshalJSON(bz []byte, ptr proto.Message)

func (VanillaStdJsonMarshaller) UnmarshalInterfaceJSON

func (x VanillaStdJsonMarshaller) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error

func (VanillaStdJsonMarshaller) UnmarshalJSON

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