fn borrow_balance_stored(who: &T::AccountId, underlying_asset_id: CurrencyId) -> BalanceResult {
		let pool_borrow_index = T::LiquidityPoolsManager::get_pool_borrow_index(underlying_asset_id);
		let borrow_balance = Self::calculate_user_borrow_balance(who, underlying_asset_id, pool_borrow_index)?;
		Ok(borrow_balance)
	}
/// Return the borrow balance of account based on stored data.
///
/// - `who`: The address whose balance should be calculated.
/// - `currency_id`: ID of the currency, the balance of borrowing of which we calculate.
Return the borrow balance of account based on stored data.
`who`: The address whose balance should be calculated.
`currency_id`: ID of the currency, the balance of borrowing of which we calculate.
Return the borrow balance of account based on stored data . ` who ` : The address whose balance should be calculated . ` currency_id ` : ID of the currency the balance of borrowing of which we calculate .
fn borrow_balance_stored(who: &T::AccountId, underlying_asset_id: CurrencyId) -> BalanceResult {
		let pool_borrow_index = T::LiquidityPoolsManager::get_pool_borrow_index(underlying_asset_id);
		let borrow_balance = Self::calculate_user_borrow_balance(who, underlying_asset_id, pool_borrow_index)?;
		Ok(borrow_balance)
	}
fn borrow_balance_stored ( who : & T :: AccountId , underlying_asset_id : CurrencyId ) -> BalanceResult { let pool_borrow_index = T :: LiquidityPoolsManager :: get_pool_borrow_index ( underlying_asset_id ) ; let borrow_balance = Self :: calculate_user_borrow_balance ( who , underlying_asset_id , pool_borrow_index ) ? ; Ok ( borrow_balance ) }
Return the borrow balance of account based on stored data.
Return the borrow balance of account based on stored data .
who
&T::AccountId
underlying_asset_id
CurrencyId
who
&T::AccountId
underlying_asset_id
CurrencyId