Skip to content

Commit

Permalink
docs: requirement of pre-liqudiation incentive factors
Browse files Browse the repository at this point in the history
Co-authored-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Signed-off-by: Quentin Garchery <QGarchery@users.noreply.github.com>
  • Loading branch information
QGarchery and MathisGD authored Oct 5, 2024
1 parent e257eed commit bdcffe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PreLiquidation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ contract PreLiquidation is IPreLiquidation, IMorphoRepayCallback {
/// @dev The following requirements should be met:
/// - preLltv < LLTV;
/// - preLCF1 <= preLCF2;
/// - WAD <= preLIF1 <= preLIF2 <= 1 / LLTV.
/// - 1 <= preLIF1 <= preLIF2 <= 1 / LLTV.
constructor(address morpho, Id id, PreLiquidationParams memory _preLiquidationParams) {
require(IMorpho(morpho).market(id).lastUpdate != 0, ErrorsLib.NonexistentMarket());
MarketParams memory _marketParams = IMorpho(morpho).idToMarketParams(id);
Expand Down

0 comments on commit bdcffe9

Please sign in to comment.