Closed uint closed 2 years ago
Blocked because: We don't yet have cosmos integration point to osmosis blockchain. Help from @ethanfrey We would like to know the status. Any updates?
Yes, this is blocked, it will be some time before system tests can cover this
No longer blocked since we have https://github.com/confio/osmosis-bindings. TWAP to arrive in the future.
Ideally, we wait for #101 to be complete before tackling this since it's going to provide us with
SwapWithdrawFrom
.Desc
Right now, a liquidator has to manually choose to liquidate a particular debt and cover the whole thing. They pay for some of the debt, they receive some of the debtor's collateral for doing that.
We're changing that. Now whenever liquidation is triggered and
debt <= credit_line
, the following needs to happen:Suggested solution
Liquidation logic:
Background
68 - previous ticket by @ethanfrey