Documentation ¶
Index ¶
- func GetCmdPenalty(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdPenaltyRequest(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func QueryPenalty(cliCtx context.CLIContext, queryRoute string, nonce uint64) (penalty types.Penalty, err error)
- func QueryPenaltyRequest(cliCtx context.CLIContext, queryRoute string, nonce uint64) (penaltyRequest []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdPenalty ¶
GetCmdPenalty queries penalty info
func GetCmdPenaltyRequest ¶
GetCmdPenaltyRequest queries penalty request proto
func GetCmdQueryParams ¶
GetCmdQueryParams implements the params query command.
func QueryPenalty ¶
func QueryPenalty(cliCtx context.CLIContext, queryRoute string, nonce uint64) (penalty types.Penalty, err error)
Query penalty info
func QueryPenaltyRequest ¶
func QueryPenaltyRequest(cliCtx context.CLIContext, queryRoute string, nonce uint64) (penaltyRequest []byte, err error)
Query penalty info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.