Type Alias pallet_ocif_staking::pallet::RewardAccumulator

source ·
pub type RewardAccumulator<T> = StorageValue<_GeneratedPrefixForStorageRewardAccumulator<T>, RewardInfo<BalanceOf<T>>, ValueQuery>;
Expand description

Accumulator for block rewards during an era. It is reset at every new era.

Storage type is [StorageValue] with value type RewardInfo < BalanceOf < T > >.

Aliased Type§

struct RewardAccumulator<T>(/* private fields */);