Documentation ¶
Index ¶
- Constants
- func ClaimValidatorCommand() *cobra.Command
- func ConfirmUnbondedCandidateCommand() *cobra.Command
- func DelegateCommand() *cobra.Command
- func GetAllValidatorsCommand() *cobra.Command
- func GetCandidateInfoCommand() *cobra.Command
- func GetCmdSyncDelegator(cdc *codec.Codec) *cobra.Command
- func GetCmdSyncSubscriptionBalance(cdc *codec.Codec) *cobra.Command
- func GetCmdSyncValidator(cdc *codec.Codec) *cobra.Command
- func GetDelegatorInfoCommand() *cobra.Command
- func GetSyncCmd(cdc *codec.Codec) *cobra.Command
- func GetSyncUpdateSidechainAddr(cdc *codec.Codec) *cobra.Command
- func GovCommand() *cobra.Command
- func InitCandidateCommand() *cobra.Command
- func SnapshotMainchainCommand() *cobra.Command
- func UpdateCommissionRateCommand() *cobra.Command
- func UpdateMinSelfStakeCommand() *cobra.Command
- func WithdrawCommand(cdc *codec.Codec) *cobra.Command
- type Candidate
- type Delegator
- type Snapshot
Constants ¶
View Source
const ( FlagCandidateAddr = "candidate" FlagDelegatorAddr = "delegator" FlagConsumerAddr = "consumer" )
Variables ¶
This section is empty.
Functions ¶
func ClaimValidatorCommand ¶ added in v0.2.2
func ConfirmUnbondedCandidateCommand ¶ added in v0.2.2
func DelegateCommand ¶ added in v0.2.2
func GetAllValidatorsCommand ¶ added in v0.2.3
func GetCandidateInfoCommand ¶ added in v0.2.2
func GetCmdSyncDelegator ¶ added in v0.2.3
GetCmdSyncDelegator
func GetCmdSyncSubscriptionBalance ¶ added in v0.2.3
GetCmdSyncSubscriptionBalance
func GetCmdSyncValidator ¶ added in v0.2.3
GetCmdSyncValidator
func GetDelegatorInfoCommand ¶ added in v0.2.2
func GetSyncUpdateSidechainAddr ¶ added in v0.2.3
GetSyncUpdateSidechainAddr
func GovCommand ¶ added in v0.2.5
func InitCandidateCommand ¶
func SnapshotMainchainCommand ¶ added in v0.2.5
func UpdateCommissionRateCommand ¶ added in v0.2.3
func UpdateMinSelfStakeCommand ¶ added in v0.2.3
Types ¶
type Candidate ¶ added in v0.2.5
type Candidate struct { StakingPool *big.Int `json:"staking_pool"` CommissionRate *big.Int `json:"commission_rate"` MinSelfStake *big.Int `json:"min_self_stake"` RateLockEndTime *big.Int `json:"rate_lock_end_time"` Status *big.Int `json:"status"` UnbondTime *big.Int `json:"unbond_time"` Delegators map[string]*Delegator `json:"delegators"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.