Type Definition pallet_bootstrap::pallet::ClaimedRewards
source · pub type ClaimedRewards<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageClaimedRewards<T>, Twox64Concat, T::AccountId, Twox64Concat, <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::CurrencyId, <<T as Config>::Currency as MultiTokenCurrency<<T as Config>::AccountId>>::Balance, ValueQuery>;
Expand description
Maps (frame_system::Config::AccountId
, [CurrencyId
] ) -> [Balance
] - where [CurrencyId
] is id of the token that user participated with. This storage item is used to identify how much liquidity tokens has been claim by the user. If user participated with 2 tokens there are two entries associated with given account (Address
, first_token_id
) and (Address
, second_token_id
)
Storage type is StorageDoubleMap
with key1 type T :: AccountId, key2 type CurrencyIdOf < T > and value type BalanceOf < T >.