Regular Liquidation

The caller sends the amount of targeted assets to be used to close the borrow position of the targeted account. Also, the caller addresses return from desired borrower account deposit pool.


Liquidate (account_1, XRD, 1000, xUSDC) - meaning, I'm targeting account_1 for liquidation, and particularly XRD borrowed position, with 1000 XRD, and I'm expecting xUSDC in return.

In some cases, not all assets would be used (and would be returned as a change).

Also, there are cases when there is no adequate deposit balance in the desired pool.

Incentives for the caller and the protocol are taken into consideration, to be paid from the targeted user deposit position.

Last updated