Documentation ¶
Index ¶
- Constants
- func GetAccountAddressByIDCmd() *cobra.Command
- func GetAccountCmd() *cobra.Command
- func GetAccountsCmd() *cobra.Command
- func GetAuxToFeeCommand() *cobra.Command
- func GetBroadcastCommand() *cobra.Command
- func GetDecodeCommand() *cobra.Command
- func GetEncodeCommand() *cobra.Command
- func GetMultiSignBatchCmd() *cobra.Command
- func GetMultiSignCommand() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetSignBatchCommand() *cobra.Command
- func GetSignCommand() *cobra.Command
- func GetValidateSignaturesCommand() *cobra.Command
- func ParseSigArgs(args []string) ([]string, error)
- func QueryModuleAccountByNameCmd() *cobra.Command
- func QueryModuleAccountsCmd() *cobra.Command
- func QueryParamsCmd() *cobra.Command
- func QueryTxCmd() *cobra.Command
- func QueryTxsByEventsCmd() *cobra.Command
- type BroadcastReq
Constants ¶
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 ¶
GetAccountAddressByIDCmd returns a query account that will display the account address of a given account id.
func GetAccountCmd ¶
GetAccountCmd returns a query account that will display the state of the account at a given address.
func GetAccountsCmd ¶
GetAccountsCmd returns a query command that will display a list of accounts
func GetAuxToFeeCommand ¶
func GetBroadcastCommand ¶
GetBroadcastCommand returns the tx broadcast command.
func GetDecodeCommand ¶
GetDecodeCommand returns the decode command to take serialized bytes and turn it into a JSON-encoded transaction.
func GetEncodeCommand ¶
GetEncodeCommand returns the encode command to take a JSONified transaction and turn it into Amino-serialized bytes
func GetMultiSignBatchCmd ¶
func GetMultiSignCommand ¶
GetMultiSignCommand returns the multi-sign command
func GetQueryCmd ¶
GetQueryCmd returns the transaction commands for this module
func GetSignBatchCommand ¶
GetSignBatchCommand returns the transaction sign-batch command.
func GetSignCommand ¶
GetSignCommand returns the transaction sign command.
func ParseSigArgs ¶
ParseSigArgs parses comma-separated signatures from the CLI arguments.
func QueryModuleAccountByNameCmd ¶
QueryModuleAccountByNameCmd returns a command to
func QueryModuleAccountsCmd ¶
QueryAllModuleAccountsCmd returns a list of all the existing module accounts with their account information and permissions
func QueryParamsCmd ¶
QueryParamsCmd returns the command handler for evidence parameter querying.
func QueryTxCmd ¶
QueryTxCmd implements the default command for a tx query.
func QueryTxsByEventsCmd ¶
QueryTxsByEventsCmd returns a command to search through transactions by events.
Types ¶
type BroadcastReq ¶
type BroadcastReq struct { Tx legacytx.StdTx `json:"tx" yaml:"tx"` Mode string `json:"mode" yaml:"mode"` }
BroadcastReq defines a tx broadcasting request.