Type Definition pallet_elections::pallet::Leaderboard [−][src]
type Leaderboard<T: Config> = StorageValue<_GeneratedPrefixForStorageLeaderboard<T>, Vec<(<<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance, T::AccountId)>>;
Expand description
Get the leaderboard if we’re in the presentation phase. The first element is the weight of each entry; It may be the direct summed approval stakes, or a weighted version of it. Sorted from low to high.