Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.
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
Poolis not sorted by
T::AccountId, but by
- Size of the
- The current membership, stored as an ordered Vec.
- The current pool of candidates, stored as an ordered Bounded Vec (ordered descending by score,
Nonelast, highest first).