aave / aave-ui

[DEPRECATED] An open source interface for the decentralized liquidity protocol Aave
https://classic.aave.com
Other
131 stars 108 forks source link

Refactor data providers #216

Closed defispartan closed 2 years ago

defispartan commented 2 years ago

Create a single data provider which will unify the static, dynamic, and incentives providers

[ ] Unify the static and dynamic providers [x] Use updated utilities to calculate incentive data along with reserve and user formatting [ ] Clean up unnecessary parameters from the static provider such as reserves with/without the replaced base token address

defispartan commented 2 years ago

@sakulstra The incentives formatting for V3 has been merged into https://github.com/aave/aave-utilities/pull/176 and is already being used in formatReserves. Tomorrow I will add the same for formatUserSummary and add this to your client PR.