Documentation ¶
Index ¶
- Constants
- func GetCurrentProposer(cdc *codec.Codec) *cobra.Command
- func GetCurrentValSet(cdc *codec.Codec) *cobra.Command
- func GetProposer(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func GetTotalStakingPower(cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func GetValidatorInfo(cdc *codec.Codec) *cobra.Command
- func GetValidatorStatus(cdc *codec.Codec) *cobra.Command
- func IsOldTx(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" FlagTimes = "times" )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentProposer ¶ added in v1.0.7
Get Current proposer
func GetCurrentValSet ¶
GetCurrentValSet validator information via address
func GetProposer ¶ added in v0.3.2
GetValidatorInfo validator status via address
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetTotalStakingPower ¶ added in v0.3.2
Get total staking power
func GetValidatorInfo ¶
GetValidatorInfo validator information via id or address
func GetValidatorStatus ¶ added in v0.3.2
GetValidatorInfo validator status via 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.