Insolvency Liquidation

The account is considered insolvent when the total deposit value across all pools is insufficient to cover the value of all borrowed assets. That way, there's no interest to repay the loan and rewards.

max_liquidation_percent is set to 1, and all rewards go to the blueprint owner.

Once the deposits are gone, there is left to close the debt position of a given account. This is achieved by calling the same liquidation function, and as a result, the borrow balance would be decreased and there will be no returns for the caller.

Last updated