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

Use collateral with ltv > 15% #130

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

Conversation

hexonaut
Copy link

We make an assumption "good collateral" has an ltv of at least 10% in the $1000 collateral vs $100 borrows. Putting 15% for some small buffer.

@sakulstra
Copy link
Collaborator

Hello,
wondering why does it matter? I assume that with lower lt you will just need more, which is still guaranteed by supplyCaps check, no?

@hexonaut
Copy link
Author

e2eTest() will fail in Spark because the DAI market is first and we've set the LTV/LT to 1bps. DAI market is picked as "good collateral" and there isn't enough LTV power to support borrow $100 worth of other asset vs $1000 worth of DAI.

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.

2 participants