Documentation ¶
Overview ¶
Package cli defines the CLI services for the cvm module.
Index ¶
- Constants
- func GetCmdAbi(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdAddressTranslate(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdCall(cdc *codec.Codec) *cobra.Command
- func GetCmdCode(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdDeploy(cdc *codec.Codec) *cobra.Command
- func GetCmdMeta(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdStorage(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdView(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func QueryTxCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagValue = "value" FlagArgs = "args" FlagContract = "contract" FlagRaw = "raw" FlagABI = "abi" )
View Source
const (
FlagCaller = "caller"
)
Variables ¶
This section is empty.
Functions ¶
func GetCmdAddressTranslate ¶
GetCmdAddressTranslate is a utility query to translate Bech32 addresses to hex and vice versa. It is a pure function and does not interact with the handler or keeper.
func GetCmdCall ¶
GetCmdCall returns the CVM contract call transaction command.
func GetCmdCode ¶
GetCmdCode returns the CVM code query command.
func GetCmdDeploy ¶
GetCmdDeploy returns the CVM contract deploy transaction command.
func GetCmdMeta ¶
GetCmdMeta returns the CVM metadata query command.
func GetCmdStorage ¶
GetCmdStorage returns the CVM storage query command.
func GetCmdView ¶
GetCmdView returns the CVM contract view transaction command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.