-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixed LI-CF PreLiquidation #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments to resolve but LGTM otherwise 🚀
Should we delete branches after they've been merged? |
Yes because then on github the PRs on top have their base branch changed automatically, which prevents some mistakes when merging multiple PRs. So for example #19 base branch is now |
PR for the Morpho Liquidation Protection Contract
The general idea is that this contract will allow borrowers to be pre-liquidated on some Morpho market for specific pre-liquidation parameters.
A factory can deploy pre-liquidation contracts each implementing pre-liquidation for its own specific parameters and its own specific morpho market.
A borrower can then authorize the pre-liquidation contract on morpho which will allow liquidators to close part of the position when it is insolvent under the pre-liquidation parameters