cli

package
v1.0.0-playground Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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 added in v0.28.1

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 added in v0.25.0

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/KiraCore/cosmos-sdk/issues/5864

func GetQueryCmd added in v1.0.0

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

GetQueryCmd returns the cli query commands for this module

func GetTxCmd added in v1.0.0

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/KiraCore/cosmos-sdk/issues/5864

func NewTxCmd added in v1.0.0

NewTxCmd returns a root CLI command handler for all x/slashing transaction commands.

func NewUnjailTxCmd added in v1.0.0

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