ops

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagCandidateAddr = "candidate"
	FlagDelegatorAddr = "delegator"
	FlagConsumerAddr  = "consumer"
)

Variables

This section is empty.

Functions

func ClaimValidatorCommand added in v0.2.2

func ClaimValidatorCommand() *cobra.Command

func ConfirmUnbondedCandidateCommand added in v0.2.2

func ConfirmUnbondedCandidateCommand() *cobra.Command

func DelegateCommand added in v0.2.2

func DelegateCommand() *cobra.Command

func GetAllValidatorsCommand added in v0.2.3

func GetAllValidatorsCommand() *cobra.Command

func GetCandidateInfoCommand added in v0.2.2

func GetCandidateInfoCommand() *cobra.Command

func GetCmdSyncDelegator added in v0.2.3

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

GetCmdSyncDelegator

func GetCmdSyncSubscriptionBalance added in v0.2.3

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

GetCmdSyncSubscriptionBalance

func GetCmdSyncValidator added in v0.2.3

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

GetCmdSyncValidator

func GetDelegatorInfoCommand added in v0.2.2

func GetDelegatorInfoCommand() *cobra.Command

func GetSyncCmd added in v0.2.3

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

GetSyncCmd

func GetSyncUpdateSidechainAddr added in v0.2.3

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

GetSyncUpdateSidechainAddr

func GovCommand added in v0.2.5

func GovCommand() *cobra.Command

func InitCandidateCommand

func InitCandidateCommand() *cobra.Command

func SnapshotMainchainCommand added in v0.2.5

func SnapshotMainchainCommand() *cobra.Command

func UpdateCommissionRateCommand added in v0.2.3

func UpdateCommissionRateCommand() *cobra.Command

func UpdateMinSelfStakeCommand added in v0.2.3

func UpdateMinSelfStakeCommand() *cobra.Command

func WithdrawCommand added in v0.2.3

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

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"`
}

type Delegator added in v0.2.5

type Delegator struct {
	DelegatedStake    *big.Int `json:"delegated_stake"`
	UndelegatingStake *big.Int `json:"undelegating_stake"`
}

type Snapshot added in v0.2.5

type Snapshot struct {
	EndBlockNumber uint64                `json:"end_block_number"`
	Candidates     map[string]*Candidate `json:"candidates"`
}

Jump to

Keyboard shortcuts

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