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

Fair liquidation price #12

Open
0xmikko opened this issue Nov 18, 2022 · 0 comments
Open

Fair liquidation price #12

0xmikko opened this issue Nov 18, 2022 · 0 comments

Comments

@0xmikko
Copy link
Contributor

0xmikko commented Nov 18, 2022

At the moment, credit manager provides liquidation premium = totalValue * liquidationPremium.
For some cases, if account has very valkid assets with low LT (for example 25%), such account could be liquidation and the premium would be unfairly high.

Idea is to change the formula to liquidation premium = min(totalValue; borrowedAmount) * liquidationPremium. At this case, bad accounts will have the same amount, however healthy accs which keep assets in token with low LT would get more fair amount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant