Type Definition pallet_staking::ErasStakers[][src]

type ErasStakers<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageErasStakers<T>, Twox64Concat, EraIndex, Twox64Concat, T::AccountId, Exposure<T::AccountId, BalanceOf<T>>, ValueQuery>;
Expand description

Exposure of validator at era.

This is keyed first 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.