GetReserveConfigurationData
Aave V2 Getter Plugin - GetReserveConfigurationData
Description
Returns the configuration data for asset
.
Method
getReserveConfigurationData(address)
Input Parameters
No required input parameters
Method Parameters
Name | Plugin Type | Description |
---|---|---|
asset |
| Address of asset |
Returned Values
Name | Plugin Type | Description |
---|---|---|
decimals |
| The decimals used by the reserve |
ltv |
| Loan To Value |
liquidationThreshold |
| The liquidation threshold of the reserve |
liquidationBonus |
| The bonus awarded to liquidators |
reserveFactor |
| The reserve factor |
usageAsCollateralEnabled |
| Whether the reserve is enabled as collateral |
borrowingEnabled |
| Whether borrowing is enabled on the reserve |
stableBorrowRateEnabled |
| Whether stable borrowing is enabled |
isActive |
| Whether the reserve is active |
isFrozen |
| Whether the reserve is frozen / disabled |
Example
Example with initParams
Example without initParams
Learn more
Learn more about Aave V2 get reserve configuration data method here
Last updated