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.
Note: This is deprecated, should be used as read-only and will be removed in the future.
New Exposures are stored in a paged manner in ErasStakersPaged instead.
This is similar to ErasStakers but number of nominators exposed is reduced to the
T::MaxExposurePageSize 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.
It is removed after Config::HistoryDepth eras.
If stakers hasn’t been set or has been removed then empty exposure is returned.
Note: Deprecated since v14. Use EraInfo instead to work with exposures.
Storage type is [StorageDoubleMap] with key1 type EraIndex, key2 type T :: AccountId and value type Exposure < T :: AccountId, BalanceOf < T > >.
Aliased Type§
struct ErasStakersClipped<T: Config>(/* private fields */);