Documentation ¶
Index ¶
- Constants
- func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command
- func GetCmdQuerySigningInfo(storeName string, cdc *codec.Codec) *cobra.Command
- func GetCmdUnjail(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func NewTxCmd(m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever) *cobra.Command
- func NewUnjailTxCmd(m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever) *cobra.Command
Constants ¶
View Source
const (
FlagAddressValidator = "validator"
)
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryParams ¶
GetCmdQueryParams implements a command to fetch slashing parameters.
func GetCmdQuerySigningInfo ¶
GetCmdQuerySigningInfo implements the command to query signing info.
func GetCmdUnjail ¶
GetCmdUnjail implements the create unjail validator command.
TODO: Remove once client-side Protobuf migration has been completed. ref: https://github.com/cosmos/cosmos-sdk/issues/5864
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetTxCmd ¶
GetTxCmd returns the transaction commands for this module
TODO: Remove once client-side Protobuf migration has been completed. ref: https://github.com/cosmos/cosmos-sdk/issues/5864
func NewTxCmd ¶
NewTxCmd returns a root CLI command handler for all x/slashing transaction commands.
func NewUnjailTxCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.