Type Definition pallet_staking::ErasTotalStake

source ·
pub type ErasTotalStake<T: Config> = StorageMap<_GeneratedPrefixForStorageErasTotalStake<T>, Twox64Concat, EraIndex, BalanceOf<T>, ValueQuery>;
Expand description

The total amount staked for the last HISTORY_DEPTH eras. If total hasn’t been set or has been removed then 0 stake is returned.

Storage type is StorageMap with key type EraIndex and value type BalanceOf < T >.