Skip to content

About

Calculate aave leverage gain

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple page to calculate leverage gain of end of investment on Aave, with health factor, debt rate and desired gain of collateral.

The formula to calculate Leverage Gain (G) is:

G = ((HF * (1 + r)) - (1 + i)) / ((HF - 1) * (1 + r)) - 1

Where:

  • HF is the Health Factor.
  • r is the Desired performance of collateral at the end of investment (%).
  • i is the Debt rate (%).

About

Calculate aave leverage gain

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages