Documentation ¶
Index ¶
- Constants
- func GetCurrentValSet(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func GetValidatorInfo(cdc *codec.Codec) *cobra.Command
- func SendValidatorExitTx(cdc *codec.Codec) *cobra.Command
- func SendValidatorJoinTx(cdc *codec.Codec) *cobra.Command
- func SendValidatorStakeUpdateTx(cdc *codec.Codec) *cobra.Command
- func SendValidatorUpdateTx(cdc *codec.Codec) *cobra.Command
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 ¶
GetCurrentValSet validator information via address
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetValidatorInfo ¶
GetValidatorInfo validator information via id or address
func SendValidatorExitTx ¶
SendValidatorExitTx sends validator exit transaction
func SendValidatorJoinTx ¶
SendValidatorJoinTx send validator join transaction
func SendValidatorStakeUpdateTx ¶
SendValidatorStakeUpdateTx send validator stake update transaction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.