Type Definition loans::pallet::AccountBorrows

source ·
pub type AccountBorrows<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageAccountBorrows<T>, Blake2_128Concat, <T as Config>::CurrencyId, Blake2_128Concat, T::AccountId, BorrowSnapshot<<T as Config>::Balance>, ValueQuery>;
Expand description

Mapping of account addresses to outstanding borrow balances CurrencyId -> Owner -> BorrowSnapshot

Storage type is [StorageDoubleMap] with key1 type CurrencyId < T >, key2 type T :: AccountId and value type BorrowSnapshot < BalanceOf < T > >.