Implemented a linear pre-liquidation incentive factor and a linear pre-liquidation close factor.
It is given by the formula $\mathit{preLIF}=\frac{preLIF_1(LLTV-LTV)+preLIF_2(LTV-preLLTV)}{LLTV-preLLTV}$ which is computed in the code by `uint256 preLiquidationIncentiveFactor = (
PRE_LIQUIDATION_INCENTIVE_FACTOR_1.wMulDown(LLTV - ltv)
PRE_LIQUIDATION_INCENTIVE_FACTOR_2.wMulDown(ltv - PRE_LLTV)
).wDivDown(LLTV - PRE_LLTV);`
Similarly, the close factor is given by $\mathit{closeFactor}=\frac{preCF_1(LLTV-LTV)+preCF_2(LTV-preLLTV)}{LLTV-preLLTV}$
Implemented a linear pre-liquidation incentive factor and a linear pre-liquidation close factor. It is given by the formula $\mathit{preLIF}=\frac{preLIF_1(LLTV-LTV)+preLIF_2(LTV-preLLTV)}{LLTV-preLLTV}$ which is computed in the code by `uint256 preLiquidationIncentiveFactor = ( PRE_LIQUIDATION_INCENTIVE_FACTOR_1.wMulDown(LLTV - ltv)