Documentation ¶
Overview ¶
Package cli defines the CLI services for the cvm module.
Index ¶
- Constants
- func GetAccountCmd(cdc *codec.Codec) *cobra.Command
- 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 ¶
const ( FlagValue = "value" FlagArgs = "args" FlagContract = "contract" FlagRaw = "raw" FlagABI = "abi" FlagEWASM = "ewasm" FlagRuntime = "runtime" )
const (
FlagCaller = "caller"
)
Variables ¶
This section is empty.
Functions ¶
func GetAccountCmd ¶ added in v1.1.0
GetAccountCmd returns a query account that will display the state of the account at a given address.
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.