Type Definition loans::pallet::BorrowIndex

source ·
pub type BorrowIndex<T: Config> = StorageMap<_GeneratedPrefixForStorageBorrowIndex<T>, Blake2_128Concat, <T as Config>::CurrencyId, Rate, ValueQuery>;
Expand description

Accumulator of the total earned interest rate since the opening of the market CurrencyId -> u128

Storage type is [StorageMap] with key type CurrencyId < T > and value type Rate.