Type Definition pallet_proof_of_stake::pallet::PromotedPoolRewards
source · pub type PromotedPoolRewards<T: Config> = StorageValue<_GeneratedPrefixForStoragePromotedPoolRewards<T>, BTreeMap<<<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId, PromotedPools>, ValueQuery>;
Expand description
Stores information about pool weight and accumulated rewards. The accumulated rewards amount is the number of rewards that can be claimed per liquidity token. Here is tracked the number of rewards per liquidity token relationship. Expect larger values when the number of liquidity tokens are smaller.
Storage type is StorageValue
with value type BTreeMap < CurrencyIdOf < T >, PromotedPools >
.