Documentation ¶
Overview ¶
Package cli defines the CLI services for the cvm module.
Index ¶
- Constants
- func GetAccountCmd() *cobra.Command
- func GetCmdAbi() *cobra.Command
- func GetCmdAddressTranslate() *cobra.Command
- func GetCmdCall() *cobra.Command
- func GetCmdCode() *cobra.Command
- func GetCmdDeploy() *cobra.Command
- func GetCmdMeta() *cobra.Command
- func GetCmdStorage() *cobra.Command
- func GetCmdView() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
const ( FlagValue = "value" FlagArgs = "args" FlagContract = "contract" FlagRaw = "raw" FlagABI = "abi" FlagEWASM = "ewasm" FlagRuntime = "runtime" FlagMetadata = "metadata" )
const (
FlagCaller = "caller"
)
Variables ¶
This section is empty.
Functions ¶
func GetAccountCmd ¶
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 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.