vires.finance
Search…
Liquidators' Guide
Liquidators make sure all borrows are always covered
Only users with negative health can be liquidated.
To liquidate, one need to call transferDebt function in main.
Transferring debt moves part of both debt and collateral(+premium) to the caller.
There're 4 parameters in tranfserDebt function:
  • borrowReserve: the reserve address with debt,
  • collateralReserve: the reserve address with collateral,
  • borrower: address of the borrower with negative health,
  • liquidateDebtAmount: an amount of debt to be liquidated;
Up to 50% of debt can be liquidated within 1 transaction.
The caller needs to maintain positive health after this operation.
Last modified 1mo ago
Copy link