Module 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::user_logic
@title User Logic Module @author Aave @notice Implements logic to retrieve user account data across all reserves
use 0xa888dd108ea636a234c973b8b72b9cadf0c7ae94d6f355c64dde9fdc275724ee::user_config;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::emode_logic;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::generic_logic;
use 0xd5044d9f4b80910ef7b8910a68d2ac257d14319fb9315ddce1ca5190878bc8ea::pool;
Function get_user_account_data
@notice Returns the user account data across all the reserves @param user The address of the user @return total_collateral_base The total collateral of the user in the base currency used by the price feed @return total_debt_base The total debt of the user in the base currency used by the price feed @return available_borrows_base The borrowing power left of the user in the base currency used by the price feed @return current_liquidation_threshold The liquidation threshold of the user @return ltv The loan to value of The user @return health_factor The current health factor of the user
#[view]
public fun get_user_account_data(user: address): (u256, u256, u256, u256, u256, u256)