Expand description

Auto-generated docs-only module listing all defined storage types for this pallet. Note that members of this module cannot be used directly and are only provided for documentation purposes.


  • 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 (the Pool is not sorted by T::AccountId, but by T::Score instead).
  • Size of the Members set.
  • The current membership, stored as an ordered Vec.
  • The current pool of candidates, stored as an ordered Bounded Vec (ordered descending by score, None last, highest first).