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.


  • 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).