AaveV3ReserveConfiguration
Documentation for eth_defi.aave_v3.deployment.AaveV3ReserveConfiguration Python class.
- class AaveV3ReserveConfiguration
Bases:
NamedTupleAaveV3ReserveConfiguration(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)
Attributes summary
Borrowing is enabled
Asset decimals
Reserve is active
Reserve is frozen
Liquidation bonus of the reserve
Liquidation threshold of the reserve
Loan to Value of the reserve
Reserve factor
Stable rate borrowing 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)
- count(value, /)
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)
Return first index of value.
Raises ValueError if the value is not present.