Type Definition pallet_staking::ErasStakersClipped
source · pub type ErasStakersClipped<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageErasStakersClipped<T>, Twox64Concat, EraIndex, Twox64Concat, T::AccountId, Exposure<T::AccountId, BalanceOf<T>>, ValueQuery>;
Expand description
Clipped Exposure of validator at era.
This is similar to ErasStakers
but number of nominators exposed is reduced to the
T::MaxNominatorRewardedPerValidator
biggest stakers.
(Note: the field total
and own
of the exposure remains unchanged).
This is used to limit the i/o cost for the nominator payout.
This is keyed fist by the era index to allow bulk deletion and then the stash account.
Is it removed after HISTORY_DEPTH
eras.
If stakers hasn’t been set or has been removed then empty exposure is returned.