Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vminkov committed Jan 16, 2024
1 parent 9ca1fc4 commit f5d8bbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 6 additions & 4 deletions contracts/ILiquidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import "./liquidators/IRedemptionStrategy.sol";
import "./liquidators/IFundsConversionStrategy.sol";

interface ILiquidator {

/**
* borrower The borrower's Ethereum address.
* repayAmount The amount to repay to liquidate the unhealthy loan.
Expand Down Expand Up @@ -39,9 +38,12 @@ interface ILiquidator {
uint256 minOutputAmount
) external returns (uint256);

function safeLiquidateToTokensWithFlashLoan(LiquidateToTokensWithFlashSwapVars calldata vars) external returns (uint256);
function safeLiquidateToTokensWithFlashLoan(LiquidateToTokensWithFlashSwapVars calldata vars)
external
returns (uint256);

function _whitelistRedemptionStrategy(IRedemptionStrategy strategy, bool whitelisted) external;

function _whitelistRedemptionStrategies(IRedemptionStrategy[] calldata strategies, bool[] calldata whitelisted) external;
}
function _whitelistRedemptionStrategies(IRedemptionStrategy[] calldata strategies, bool[] calldata whitelisted)
external;
}
7 changes: 1 addition & 6 deletions contracts/IonicLiquidator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,7 @@ contract IonicLiquidator is OwnableUpgradeable, ILiquidator, IUniswapV2Callee {
}

// Repay flashloan
return
repayTokenFlashLoan(
vars.cTokenCollateral,
vars.redemptionStrategies,
vars.strategyData
);
return repayTokenFlashLoan(vars.cTokenCollateral, vars.redemptionStrategies, vars.strategyData);
}

/**
Expand Down

0 comments on commit f5d8bbf

Please sign in to comment.