referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_elections_phragmen::pallet::RunnersUp

source ·
pub type RunnersUp<T: Config> = StorageValue<_GeneratedPrefixForStorageRunnersUp<T>, Vec<SeatHolder<T::AccountId, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>>, ValueQuery>;
Expand description

The current reserved runners-up.

Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the last (i.e. best) runner-up will be replaced.

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

Aliased Type§

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