Type Definition loans::pallet::ExchangeRate

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

The internal exchange rate from the associated lend token to the underlying currency.

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