AaveV3UserData
Documentation for eth_defi.aave_v3.deployment.AaveV3UserData Python class.
- class AaveV3UserData[source]
AaveV3UserData(total_collateral_base, total_debt_base, available_borrows_base, current_liquidation_threshold, ltv, health_factor)
Attributes summary
The borrowing power left of the user in the base currency used by the price feed
The liquidation threshold of the user
The current health factor of the user
The loan to value of the user
The total collateral of the user in the base currency used by the price feed
The total debt of the user in the base currency used by the price feed
Methods summary
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
- total_collateral_base: int
The total collateral of the user in the base currency used by the price feed
- available_borrows_base: int
The borrowing power left of the user in the base currency used by the price feed
- static __new__(_cls, total_collateral_base, total_debt_base, available_borrows_base, current_liquidation_threshold, ltv, health_factor)
Create new instance of AaveV3UserData(total_collateral_base, total_debt_base, available_borrows_base, current_liquidation_threshold, ltv, health_factor)