Retrieve the exact Aave health factor for a specified user address.
This is achieved by two methods:
- Utilising the Aave protocol SDK alongside The Graph subgraph:
npm start
- Querying the LendingPool contract directly:
npm aave
An example of an advanced automated DeFi trading strategy for part 2 of the case stude can be found here.