Replies: 5 comments 23 replies
-
I think this actually describes two features:
Is my understanding correct? |
Beta Was this translation helpful? Give feedback.
-
I'm struggling with the terminology here: I (we?) have been calling liquidation the act of taking the collateral and giving it to the lender (for now in full). Here the loan is being repaid, albeit by another party. Browsing the internet it seems like I may have been using liquidation wrong. Should we use default instead of liquidation? Any other ideas? |
Beta Was this translation helpful? Give feedback.
-
With this comment in mind and given the title of this discussion, I was expecting this feature proposal to look something like:
This version still sees the lender possibly taking more collateral than they deserve (it should just be capped at the repayment amount), but that is already the case for all forms of |
Beta Was this translation helpful? Give feedback.
-
And now onto the actual feature that Philipp mentions here 😛 I think it's weird to allow anyone else to repay the loan, because you would be preventing the borrower from benefiting from the short position on the collateral asset which they took when they accepted the loan. If someone else can come along and take the cheap collateral that you bet you would be able to repurchase that kind of defeats the purpose of this product (for the borrower). |
Beta Was this translation helpful? Give feedback.
-
I think I understand better now, which different features could be added here. I'll try a summary of things I see as orthogonal:
The lender should receive their original asset back instead of the collateral. Hence, the loan contract should enforce that a liquidation branch can only be triggered if someone repays the loan in the original currency to the borrower. This someone is likely a different party that is interested in acquiring the collateral. The contract would only enforce the presence of the repayment output, (I think) what happens to the collateral doesn't matter at this stage but obviously, whoever pays back the loan will transfer the collateral to themselves. To incentivize liquidation, it can be triggered already at a price of say 110% of the original loan.
To avoid the situation of described in (1), a borrower should be able to take the loan contract and add more collateral to it. I am not sure if this is doable in a non-interactive manner. We would have to enforce presence of the loan contract with different terms in the output again. But to do that non-interactively, we would already need to know the new terms of the loan at the time of creating it. Maybe this can be solved by upping the collateral in fixed intervals like 10% or 20%? Alternatively, this branch could require interactivity with the borrower to co-sign the new terms.
I see this as a special case of (1) because it basically makes the mentioned 10% configurable and gives some of the collateral back to the borrower to make it fairer. In particular, if we define liquidation to be valid at 130% of loan value, we can allow repayment by claiming the equivalent of 110% and give the remaining BTC back to the borrower. |
Beta Was this translation helpful? Give feedback.
-
PR #25 introduces a new liquidation branch to the lending contract which allows the lender to take all the collateral if the bitcoin price falls below a certain value. For that he needs to provide the signature and values from oracle.
The downside of this is that the borrower will lose all the collateral if the price tanks.
Ideally the protocol would behave as following:
For example:
1 BTC
is$100
principal_amount/collateral => 100/200 => 0.5
).$60
(LTV ratio is 83%100/2*60 = 0.833
)$100
(we ignoring any interest rates)0.33
BTC (2 - 1.66
)please excuse any calculation errors
This reduces the risk for the borrower to lose all his Bitcoin just because the price tanked.
Everyone in this scenario should be happy:
Beta Was this translation helpful? Give feedback.
All reactions