cli

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddressValidator = "validator"
)

Variables

This section is empty.

Functions

func GetCmdQueryParams

func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command

GetCmdQueryParams implements a command to fetch slashing parameters.

func GetCmdQuerySigningInfo

func GetCmdQuerySigningInfo(storeName string, cdc *codec.Codec) *cobra.Command

GetCmdQuerySigningInfo implements the command to query signing info.

func GetCmdUnjail

func GetCmdUnjail(cdc *codec.Codec) *cobra.Command

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

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

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

func NewUnjailTxCmd(m codec.Marshaler, txg tx.Generator, ar tx.AccountRetriever) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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