cli

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagProposerAddress   = "proposer"
	FlagValidatorAddress  = "validator"
	FlagValidatorID       = "id"
	FlagSignerAddress     = "signer"
	FlagSignerPubkey      = "signer-pubkey"
	FlagNewSignerPubkey   = "new-pubkey"
	FlagAmount            = "staked-amount"
	FlagAcceptDelegation  = "accept-delegation"
	FlagTxHash            = "tx-hash"
	FlagLogIndex          = "log-index"
	FlagActivationEpoch   = "activation-epoch"
	FlagDeactivationEpoch = "deactivation-epoch"
	FlagFeeAmount         = "fee-amount"
	FlagBlockNumber       = "block-number"
	FlagNonce             = "nonce"
	FlagStartEpoch        = "start-epoch"
	FlagEndEpoch          = "end-epoch"
	FlagTimes             = "times"
)

Variables

This section is empty.

Functions

func GetCurentProposer added in v0.3.2

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

Get Current proposer

func GetCurrentValSet

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

GetCurrentValSet validator information via address

func GetProposer added in v0.3.2

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

GetValidatorInfo validator status via address

func GetQueryCmd

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

GetQueryCmd returns the cli query commands for this module

func GetTotalStakingPower added in v0.3.2

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

Get total staking power

func GetTxCmd

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

GetTxCmd returns the transaction commands for this module

func GetValidatorInfo

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

GetValidatorInfo validator information via id or address

func GetValidatorStatus added in v0.3.2

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

GetValidatorInfo validator status via address

func IsOldTx added in v0.3.2

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

Check whether the transaction is old

func SendValidatorExitTx

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

SendValidatorExitTx sends validator exit transaction

func SendValidatorJoinTx

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

SendValidatorJoinTx send validator join transaction

func SendValidatorStakeUpdateTx

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

SendValidatorStakeUpdateTx send validator stake update transaction

func SendValidatorUpdateTx

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

SendValidatorUpdateTx send validator update transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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