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

available_borrows_base

The borrowing power left of the user in the base currency used by the price feed

current_liquidation_threshold

The liquidation threshold of the user

health_factor

The current health factor of the user

ltv

The loan to value of the user

total_collateral_base

The total collateral of the user in the base currency used by the price feed

total_debt_base

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

total_debt_base: int

The total debt 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

current_liquidation_threshold: int

The liquidation threshold of the user

ltv: int

The loan to value of the user

health_factor: int

The current health factor of the user

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)

Parameters
  • total_collateral_base (int) –

  • total_debt_base (int) –

  • available_borrows_base (int) –

  • current_liquidation_threshold (int) –

  • ltv (int) –

  • health_factor (int) –