-
Notifications
You must be signed in to change notification settings - Fork 122
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
Update DFI DUSD vault collateral requirement rules #1450
Conversation
Adds tests for withdraw
Add accurate testing for takeloan
Tests need fix on update price
…/fce-no-dusd-loop
Update test error message
If you want to mint dTokens and DUSD, you need two vaults to get the same effect as before. Wouldn't it be easier from a user's perspective to evaluate Loans and Collaterals in mn_checks.cpp? |
you do not need 2 vaults. DUSD loan doesn't have to be backed fully by DFI. Its just that as soon as you have DUSD loans in the vault, 50% of your required collateral needs to be DFI. |
What kind of PR is this?:
/kind feature
What this PR does / why we need it:
Force 50% DFI collateral on vaults with DUSD loan