Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lens on Aave v2 fails when rates are inverted #1266

Closed
julien-devatom opened this issue Sep 2, 2022 · 0 comments · Fixed by #1267
Closed

Lens on Aave v2 fails when rates are inverted #1266

julien-devatom opened this issue Sep 2, 2022 · 0 comments · Fixed by #1267
Assignees
Labels
👻 aave-v2 🐛 bug Something isn't working

Comments

@julien-devatom
Copy link
Collaborator

If poolSupplyRate < poolBorrowRate, the p2pRate computation of the lens reverts.
This situation is possible with the stable Borrow mode of Aave who redistributes yields to suppliers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👻 aave-v2 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant