cli

package
v0.50.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 33 Imported by: 1,646

Documentation

Index

Constants

View Source
const (
	FlagEvents  = "events" // TODO: Remove when #14758 is merged
	FlagQuery   = "query"
	FlagType    = "type"
	FlagOrderBy = "order_by"

	TypeHash   = "hash"
	TypeAccSeq = "acc_seq"
	TypeSig    = "signature"
	TypeHeight = "height"

	EventFormat = "{eventType}.{eventAttribute}={value}"
)

Variables

This section is empty.

Functions

func GetAccountAddressByIDCmd added in v0.46.0

func GetAccountAddressByIDCmd() *cobra.Command

GetAccountAddressByIDCmd returns a query account that will display the account address of a given account id.

func GetAccountCmd

func GetAccountCmd(ac address.Codec) *cobra.Command

GetAccountCmd returns a query account that will display the state of the account at a given address.

func GetAccountsCmd added in v0.43.0

func GetAccountsCmd() *cobra.Command

GetAccountsCmd returns a query command that will display a list of accounts

func GetAuxToFeeCommand added in v0.46.0

func GetAuxToFeeCommand() *cobra.Command

func GetBroadcastCommand

func GetBroadcastCommand() *cobra.Command

GetBroadcastCommand returns the tx broadcast command.

func GetDecodeCommand

func GetDecodeCommand() *cobra.Command

GetDecodeCommand returns the decode command to take serialized bytes and turn it into a JSON-encoded transaction.

func GetEncodeCommand

func GetEncodeCommand() *cobra.Command

GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into Amino-serialized bytes

func GetMultiSignBatchCmd added in v0.41.4

func GetMultiSignBatchCmd() *cobra.Command

func GetMultiSignCommand

func GetMultiSignCommand() *cobra.Command

GetMultiSignCommand returns the multi-sign command

func GetQueryCmd

func GetQueryCmd(ac address.Codec) *cobra.Command

GetQueryCmd returns the transaction commands for this module

func GetSignBatchCommand added in v0.40.0

func GetSignBatchCommand() *cobra.Command

GetSignBatchCommand returns the transaction sign-batch command.

func GetSignCommand

func GetSignCommand() *cobra.Command

GetSignCommand returns the transaction sign command.

func GetValidateSignaturesCommand

func GetValidateSignaturesCommand() *cobra.Command

func ParseSigArgs added in v0.47.0

func ParseSigArgs(args []string) ([]string, error)

ParseSigArgs parses comma-separated signatures from the CLI arguments.

func QueryModuleAccountByNameCmd added in v0.45.10

func QueryModuleAccountByNameCmd() *cobra.Command

QueryModuleAccountByNameCmd returns a command to

func QueryModuleAccountsCmd added in v0.46.0

func QueryModuleAccountsCmd() *cobra.Command

QueryAllModuleAccountsCmd returns a list of all the existing module accounts with their account information and permissions

func QueryParamsCmd

func QueryParamsCmd() *cobra.Command

QueryParamsCmd returns the command handler for evidence parameter querying.

func QueryTxCmd

func QueryTxCmd() *cobra.Command

QueryTxCmd implements the default command for a tx query.

func QueryTxsByEventsCmd

func QueryTxsByEventsCmd() *cobra.Command

QueryTxsByEventsCmd returns a command to search through transactions by events.

Types

This section is empty.

Jump to

Keyboard shortcuts

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