pub type Candidates<T: Config> = StorageValue<_GeneratedPrefixForStorageCandidates<T>, Vec<(T::AccountId, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance)>, ValueQuery>;
Expand description

The present candidate list. A current member or runner-up can never enter this vector and is always implicitly assumed to be a candidate.

Second element is the deposit.

Invariant: Always sorted based on account id.

Storage type is [StorageValue] with value type Vec < (T :: AccountId, BalanceOf < T >) >.

Aliased Type§

struct Candidates<T: Config>(/* private fields */);