Expand description
Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
§Warning: Doc-Only
Members of this module cannot be used directly and are only provided for documentation purposes.
To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.
Structs§
- Candidate
Exists - A Map of the candidates. The information in this Map is redundant
to the information in the
Pool
. But the Map enables us to easily check if a candidate is already in the pool, without having to iterate over the entire pool (thePool
is not sorted byT::AccountId
, but byT::Score
instead). - Member
Count - Size of the
Members
set. - Members
- The current membership, stored as an ordered Vec.
- Pool
- The current pool of candidates, stored as an ordered Bounded Vec
(ordered descending by score,
None
last, highest first).