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

WIP(loans): allow redeems to use reserve cash #873

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

daniel-savu
Copy link
Contributor

@daniel-savu daniel-savu commented Jan 20, 2023

Experimental feature inspired by Compound V2 to allow redeems to use reserve cash when market utilization is too high to exit using user deposits. Note that unlike Compound V2, borrows are still not allowed to use reserve cash, because the point is to allow users to exit their lend token position rather than create more positions.

The side effect of this feature is that market utilization no longer has an upper bound of 100% and can be infinite.

Compound source:

@daniel-savu daniel-savu marked this pull request as draft January 20, 2023 15:06
@daniel-savu daniel-savu changed the title WIP: allow redeems to use reserve cash WIP(loans): allow redeems to use reserve cash Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant