Skip to content

Use collateral with ltv > 15%#130

Open
hexonaut wants to merge 1 commit intoaave-dao:mainfrom
sparkdotfi:good-collateral-fix
Open

Use collateral with ltv > 15%#130
hexonaut wants to merge 1 commit intoaave-dao:mainfrom
sparkdotfi:good-collateral-fix

Conversation

@hexonaut
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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