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
jourdanDunkley committed Mar 17, 2024
1 parent 8b4aa25 commit 4f7ff4b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions contracts/test/LeveredPositionTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ abstract contract LeveredPositionTest is MarketsTest {
vm.stopPrank();
}

function _configurePairAndLiquidator(address _collat, address _stable, IRedemptionStrategy _liquidator) internal {
function _configurePairAndLiquidator(
address _collat,
address _stable,
IRedemptionStrategy _liquidator
) internal {
_configurePair(_collat, _stable);
_configureTwoWayLiquidator(_collat, _stable, _liquidator);
}
Expand Down Expand Up @@ -282,10 +286,14 @@ abstract contract LeveredPositionTest is MarketsTest {
}
}

function _openLeveredPosition(
address _positionOwner,
uint256 _depositAmount
) internal returns (LeveredPosition _position, uint256 _maxRatio, uint256 _minRatio) {
function _openLeveredPosition(address _positionOwner, uint256 _depositAmount)
internal
returns (
LeveredPosition _position,
uint256 _maxRatio,
uint256 _minRatio
)
{
IERC20Upgradeable collateralToken = IERC20Upgradeable(collateralMarket.underlying());
collateralToken.transfer(_positionOwner, _depositAmount);

Expand Down

0 comments on commit 4f7ff4b

Please sign in to comment.