Skip to content

Wilson-Wu1/AaveHealthCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://aavehealth.org/

The Aave Health Calculator is a web-based tool that allows users to assess the risk level associated with their Aave positions on any supporting chain and Aave market. Users can input their wallet address, view their current health factor, and make adjustments to their position by changing token prices, adding or removing tokens from the supply or borrow side, and then view their updated health factor.

Features

  • Chains and Markets: Users can switch to any chain supporting the Aave protocol. Furthermore, the user can specify the Aave market version, either Version 2 or Version 3. The interface, supply tokens, and borrow tokens will update accordingly with the choosen chain / Aave market.
Supported Chains Aave Markets V2 Aave Markets V3
Ethereum Needs to be fixed
Polygon Needs to be fixed
Avalanche Needs to be fixed
Optimism
Arbitrum
Metis Needs to be fixed
Base
  • Address Input: Users can input their wallet address to fetch an Aave position.

  • Token Price Adjustment: Users can change token prices to simulate the impact on a position's health factor.

  • Token Adjustment: Users can add or remove tokens from either the supply or borrow side of a position to see how it affects their health factor.

  • Token Liquidation Threshold Adjustment: Users can adjust the liquidation threshold of borrowed tokens. The liquidation threshold is the percentage at which a position is defined as undercollateralised. For example, a Liquidation threshold of 80% means that if the value rises above 80% of the collateral, the position is undercollateralised and could be liquidated. Further documentation on liquidation thresholds.

  • Position Information: Once tokens have been supplied and borrowed, the app will display three important metrics about the position.

    • Net Worth: The value supplied minus the value borrowed.
    • Health Factor: A numeric representation of the safety of the deposited assets against the borrowed assets and its underlying value. The higher the value is, the safer the state of the funds are against liquidation. If the health factor reaches 1, the liquidation of your deposits will be triggered. Further documentation on health factor.
    • Liquidation To Value Ratio: The Loan to Value (”LTV”) ratio defines the maximum amount of assets that can be borrowed with a specific collateral. It is expressed as a percentage (e.g., at LTV=75%, for every 1 ETH worth of collateral, borrowers will be able to borrow 0.75 ETH worth of the corresponding currency).

Data Sources Used

Other Considerations

  • The Aave protocol maintains a fixed value of $1 for the GHO stable-coin, as stated in the GHO documentation. Consequently, the app enforces a $1 price for GHO unless the user explicitly modifies it. This fixed price for GHO is not fetched from any external data sources.

About

Liquidation calculator for the Aave protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •