diff --git a/README.md b/README.md index 78e8d66..12f1cb0 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,18 @@ The two main use-cases are: 1. Using normal fixed parameters when `preLIF1 = preLIF2` and `preLCF1 = preLCF2`. 2. Using health dependent liquidation when either `preLIF1 < preLIF2` or `preLCF1 < preLCF2`, similar to a Quasi Dutch Auction (as in [Euler liquidations](https://docs-v1.euler.finance/getting-started/white-paper#liquidations)). + +### Pre-liquidation parameters restrictions + +The PreLiquidation smart-contract enforces: +1. preLltv < LLTV; +2. preLCF1 <= preLCF2; +3. WAD <= preLIF1 <= preLIF2. + +Note that `preLCF1 <= WAD` and `preLCF1 <= WAD` is not mandatory. +Indeed without this, the close factor can reach 100% when the position LTV is less than LLTV allowing additionnal pre-liquidation close factor configurations. +A pre-liquidation close factor higher than 100% means that the whole position is liquidatable. + ### `onPreLiquidate` callback By calling `preLiquidate` with a smart contract that implements the `IPreLiquidationCallback` interface, the liquidator can be called back.