Liquidation is a critical component of Paystream’s risk management system. It ensures that lender funds remain secure, even in volatile market conditions. When a borrower’s position becomes undercollateralized, liquidation is triggered to prevent the protocol from incurring bad debt.Paystream employs a liquidation mechanism, triggered when a borrower’s Loan-To-Value (LTV) ratio exceeds a predefined threshold known as the Liquidation LTV (LLTV). This system is designed to be both reliable and efficient.To enhance this process, Paystream also operates an in-house automated liquidator bot. This bot continuously monitors the protocol and acts alongside external liquidators to ensure timely and consistent liquidation executionespecially in cases where external participation may be delayed or insufficient.
LTV represents the ratio of borrowed funds to the value of the collateral. It’s the primary metric used to assess the health of a borrowing position.LTV Formula:
Copy
LTV = (Borrowed Amount / Collateral Value in Loan Token) × 100%
Where:
Borrowed Amount is the total debt held by the borrower (in base units of the loan token).
The Health Factor is a normalized measure of a position’s risk. A value greater than 1.0 indicates a safe position, while values below 1.0 mark it as liquidatable.Health Factor Formula:
Copy
Health Factor = (Collateral Value × LLTV) / Borrowed Amount
Where:
LLTV is the market-defined liquidation threshold (e.g., 0.86 for 86%)
When a position becomes liquidatable, any external liquidator can repay a portion (or all) of the borrower’s debt.In return, they receive a proportional amount of the borrower’s collateral, along with a liquidation incentive (bonus).If no external liquidator acts promptly, Paystream’s internal automated liquidator bot steps in to execute the liquidation. This ensures system stability and protects lenders against prolonged exposure to risk.By combining both open participation and automated execution, Paystream delivers a robust and dependable liquidation process.