Type Definition staking::pallet::RewardPerToken
source · pub type RewardPerToken<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageRewardPerToken<T>, Blake2_128Concat, T::CurrencyId, Blake2_128Concat, (T::Nonce, DefaultVaultId<T>), <T as Config>::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 :: Nonce, DefaultVaultId < T >) and value type SignedFixedPoint < T >.