cli

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: GPL-3.0 Imports: 17 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"
)

Variables

This section is empty.

Functions

func GetCurrentValSet

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

GetCurrentValSet validator information via address

func GetQueryCmd

func GetQueryCmd(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

func GetValidatorInfo

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

GetValidatorInfo validator information via id or address

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