AaveV3ReserveConfiguration

Documentation for eth_defi.aave_v3.deployment.AaveV3ReserveConfiguration Python class.

class AaveV3ReserveConfiguration[source]

AaveV3ReserveConfiguration(decimals, ltv, liquidation_threshold, liquidation_bonus, reserve_factor, usage_as_collateral_enabled, borrowing_enabled, stable_borrow_rate_enabled, is_active, is_frozen)

Attributes summary

borrowing_enabled

Borrowing is enabled

decimals

Asset decimals

is_active

Reserve is active

is_frozen

Reserve is frozen

liquidation_bonus

Liquidation bonus of the reserve

liquidation_threshold

Liquidation threshold of the reserve

ltv

Loan to Value of the reserve

reserve_factor

Reserve factor

stable_borrow_rate_enabled

Stable rate borrowing enabled

usage_as_collateral_enabled

Asset can be used as collateral

Methods summary

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

decimals: int

Asset decimals

ltv: int

Loan to Value of the reserve

liquidation_threshold: int

Liquidation threshold of the reserve

liquidation_bonus: int

Liquidation bonus of the reserve

reserve_factor: int

Reserve factor

usage_as_collateral_enabled: bool

Asset can be used as collateral

borrowing_enabled: bool

Borrowing is enabled

stable_borrow_rate_enabled: bool

Stable rate borrowing enabled

is_active: bool

Reserve is active

is_frozen: bool

Reserve is frozen

static __new__(_cls, decimals, ltv, liquidation_threshold, liquidation_bonus, reserve_factor, usage_as_collateral_enabled, borrowing_enabled, stable_borrow_rate_enabled, is_active, is_frozen)

Create new instance of AaveV3ReserveConfiguration(decimals, ltv, liquidation_threshold, liquidation_bonus, reserve_factor, usage_as_collateral_enabled, borrowing_enabled, stable_borrow_rate_enabled, is_active, is_frozen)

Parameters
  • decimals (int) –

  • ltv (int) –

  • liquidation_threshold (int) –

  • liquidation_bonus (int) –

  • reserve_factor (int) –

  • usage_as_collateral_enabled (bool) –

  • borrowing_enabled (bool) –

  • stable_borrow_rate_enabled (bool) –

  • is_active (bool) –

  • is_frozen (bool) –