cli

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagProposerAddress  = "proposer"
	FlagValidatorAddress = "validator"
	FlagValidatorID      = "id"
	FlagTxHash           = "tx-hash"
	FlagLogIndex         = "log-index"
	FlagAmount           = "slashed-amount"
	FlagSlashInfoBytes   = "slashinfo-bytes"
	FlagTickID           = "tick-id"
	FlagBlockNumber      = "block-number"
	FlagId               = "id"
	FlagPage             = "page"
	FlagLimit            = "limit"
)

Variables

This section is empty.

Functions

func GetCmdQueryParams

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

GetCmdQueryParams implements a command to fetch slashing parameters.

func GetCmdTick

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

func GetCmdTickAck

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

func GetCmdUnjail

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

func GetLatestSlashInfo added in v0.3.2

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

func GetLatestSlashInfoBytes added in v0.3.2

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

func GetLatestSlashingInfos added in v0.3.2

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

Give signing info by id

func GetQueryCmd

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

GetQueryCmd returns the cli query commands for this module

func GetSigningInfo added in v0.3.2

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

Give signing info by id

func GetSigningInfos added in v0.3.2

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

Give signing info by id

func GetTickCount added in v0.3.2

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

func GetTickSlashingInfos added in v0.3.2

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

Give tick slash infos

func GetTxCmd

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

func IsOldTx added in v0.3.2

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

Check whether the transaction is old

Types

This section is empty.

Jump to

Keyboard shortcuts

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