Module term_state

Source

Modules§

lock_status
pos_state_config

Structs§

DisputeEvent
ElectedMap
ElectingHeap
ElectionEvent
ElectionNodeID
A node becomes its voting power number of ElectionNodes for election.
NodeData
NodeID
PosState
RegisterEvent
RetireEvent
TermData
TermList
UnlockEvent
UpdateVotingPowerEvent

Enums§

NodeList
NodeStatus

Constants§

COMMITTEE_POINTS
ELECTION_POINTS
IN_QUEUE_LOCKED_VIEWS
MAX_TERM_POINTS
OUT_QUEUE_LOCKED_VIEWS
ROUND_PER_TERM
TERM_ELECTED_SIZE
TERM_LIST_LEN
TERM_MAX_SIZE

Functions§

bonus_vote_points
leader_points

Type Aliases§

CandyMap