Module 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::isolation_mode_logic
@title Isolation Mode Logic Module @author Aave @notice Implements the logic for the isolation mode functionality
use 0x1::object;
use 0xa888dd108ea636a234c973b8b72b9cadf0c7ae94d6f355c64dde9fdc275724ee::reserve_config;
use 0xa888dd108ea636a234c973b8b72b9cadf0c7ae94d6f355c64dde9fdc275724ee::user_config;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::events;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::pool;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::pool_logic;
use 0xd63343bff7977cb364b17dcdcdeb64e77b7bc9b4ec252f481ace51b6de3bbd96::math_utils;
Function update_isolated_debt_if_isolated
@notice Updates the isolated debt whenever a position collateralized by an isolated asset is repaid @dev Only callable by the borrow_logic module @param user_config_map The user configuration map @param reserve_cache The reserve cache @param repay_amount The amount being repaid
public(friend) fun update_isolated_debt_if_isolated(user_config_map: &user_config::UserConfigurationMap, reserve_cache: &pool_logic::ReserveCache, repay_amount: u256)
Function update_isolated_debt
@notice Updates the isolated debt whenever a position collateralized by an isolated asset is liquidated @dev Only callable by the liquidation_logic module @param reserve_cache The reserve cache @param repay_amount The amount being repaid @param isolation_mode_collateral_address The address of the underlying asset of the reserve
public(friend) fun update_isolated_debt(reserve_cache: &pool_logic::ReserveCache, repay_amount: u256, isolation_mode_collateral_address: address)