Type Definition reward::pallet::RewardPerToken

source ·
pub type RewardPerToken<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageRewardPerToken<T, I>, Blake2_128Concat, T::CurrencyId, Blake2_128Concat, T::PoolId, <T as Config<I>>::SignedFixedPoint, ValueQuery>;
Expand description

Used to compute the rewards for a participant’s stake.

Storage type is [StorageDoubleMap] with key1 type T :: CurrencyId, key2 type T :: PoolId and value type SignedFixedPoint < T, I >.