cli

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 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

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

func GetLatestSlashInfoBytes

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

func GetLatestSlashingInfos

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

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

Give signing info by id

func GetSigningInfos

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

Give signing info by id

func GetTickCount

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

func GetTickSlashingInfos

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

Give tick slash infos

func GetTxCmd

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

func IsOldTx

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