Skip to content

Commit

Permalink
refactor: import
Browse files Browse the repository at this point in the history
  • Loading branch information
peyha committed Sep 25, 2024
1 parent 2178f35 commit ccfd8f1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/PreLiquidation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ pragma solidity 0.8.27;
import {Id, MarketParams, IMorpho, Position, Market} from "../lib/morpho-blue/src/interfaces/IMorpho.sol";
import {IOracle} from "../lib/morpho-blue/src/interfaces/IOracle.sol";
import {UtilsLib} from "../lib/morpho-blue/src/libraries/UtilsLib.sol";
import {MarketParamsLib} from "../lib/morpho-blue/src/libraries/MarketParamsLib.sol";
import "../lib/morpho-blue/src/libraries/ConstantsLib.sol";
import {ORACLE_PRICE_SCALE} from "../lib/morpho-blue/src/libraries/ConstantsLib.sol";
import {WAD, MathLib} from "../lib/morpho-blue/src/libraries/MathLib.sol";
import {SharesMathLib} from "../lib/morpho-blue/src/libraries/SharesMathLib.sol";
import {SafeTransferLib} from "../lib/solmate/src/utils/SafeTransferLib.sol";
Expand All @@ -21,8 +20,6 @@ import {IMorphoRepayCallback} from "../lib/morpho-blue/src/interfaces/IMorphoCal
/// @custom:contact [email protected]
/// @notice The Fixed LI, Fixed CF pre-liquidation contract for Morpho.
contract PreLiquidation is IPreLiquidation, IMorphoRepayCallback {
using MarketParamsLib for MarketParams;
using UtilsLib for uint256;
using SharesMathLib for uint256;
using MathLib for uint256;
using SafeTransferLib for ERC20;
Expand Down Expand Up @@ -104,7 +101,7 @@ contract PreLiquidation is IPreLiquidation, IMorphoRepayCallback {
/* PRE-LIQUIDATION */

/// @notice Pre-liquidates the given borrower on the market of this contract and with the parameters of this contract.
/// @dev Either `seizedAssets`or `repaidShares` should be zero.
/// @dev Either `seizedAssets` or `repaidShares` should be zero.
/// @param borrower The owner of the position.
/// @param seizedAssets The amount of collateral to seize.
/// @param repaidShares The amount of shares to repay.
Expand Down

0 comments on commit ccfd8f1

Please sign in to comment.