Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
a17 committed Apr 29, 2024
1 parent b7fdca5 commit 0df40ae
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions test/strategies/Y.Polygon.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,16 @@ import "../base/UniversalTest.sol";

contract YearnStrategyTest is PolygonSetup, UniversalTest {
function testYearnStrategy() public universalTest {
_addStrategy(PolygonLib.YEARN_USDCe);
_addStrategy(PolygonLib.YEARN_DAI);
_addStrategy(PolygonLib.YEARN_USDT);
_addStrategy(PolygonLib.YEARN_WMATIC);
_addStrategy(PolygonLib.YEARN_WETH);
_addStrategy(PolygonLib.YEARN_USDCe);
_addStrategy(PolygonLib.YEARN_DAI);
_addStrategy(PolygonLib.YEARN_USDT);
_addStrategy(PolygonLib.YEARN_WMATIC);
_addStrategy(PolygonLib.YEARN_WETH);
}

function _addStrategy(address yaernV3Vault) internal {
strategies.push(
Strategy({
id: StrategyIdLib.YEARN,
pool: address(0),
farmId: type(uint).max,
underlying: yaernV3Vault
})
Strategy({id: StrategyIdLib.YEARN, pool: address(0), farmId: type(uint).max, underlying: yaernV3Vault})
);
}
}
}

0 comments on commit 0df40ae

Please sign in to comment.