Skip to content

Commit afa7442

Browse files
committed
fix SiAL routes and test
1 parent 41307df commit afa7442

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

chains/SonicLib.sol

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,7 @@ library SonicLib {
457457
pools[i++] = _makePoolData(POOL_SWAPX_CL_wS_stS, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_stS, TOKEN_wS);
458458
pools[i++] = _makePoolData(POOL_BEETS_BEETS_stS, AmmAdapterIdLib.BALANCER_WEIGHTED, TOKEN_BEETS, TOKEN_stS);
459459
pools[i++] = _makePoolData(POOL_SUSHI_wS_USDC, AmmAdapterIdLib.UNISWAPV3, TOKEN_USDC, TOKEN_wS);
460-
pools[i++] =
461-
_makePoolData(POOL_SHADOW_CL_USDC_scUSD_100, AmmAdapterIdLib.UNISWAPV3, TOKEN_scUSD, TOKEN_USDC);
460+
pools[i++] = _makePoolData(POOL_SHADOW_CL_USDC_scUSD_100, AmmAdapterIdLib.UNISWAPV3, TOKEN_scUSD, TOKEN_USDC);
462461
pools[i++] = _makePoolData(POOL_EQUALIZER_wS_EQUAL, AmmAdapterIdLib.SOLIDLY, TOKEN_EQUAL, TOKEN_wS);
463462
pools[i++] = _makePoolData(POOL_SWAPX_CL_USDC_WETH, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_wETH, TOKEN_USDC);
464463
pools[i++] = _makePoolData(POOL_EQUALIZER_wS_GOGLZ, AmmAdapterIdLib.SOLIDLY, TOKEN_GOGLZ, TOKEN_wS);
@@ -472,9 +471,14 @@ library SonicLib {
472471
pools[i++] = _makePoolData(POOL_SHADOW_CL_wS_BRUSH_5000, AmmAdapterIdLib.UNISWAPV3, TOKEN_BRUSH, TOKEN_wS);
473472
//pools[i++] = _makePoolData(POOL_SWAPX_CL_wS_scETH, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_scETH, TOKEN_wS);
474473
pools[i++] = _makePoolData(POOL_SHADOW_CL_scETH_WETH_100, AmmAdapterIdLib.UNISWAPV3, TOKEN_scETH, TOKEN_wETH);
475-
pools[i++] = _makePoolData(TOKEN_wstkscUSD, AmmAdapterIdLib.ERC_4626, TOKEN_wstkscUSD, TOKEN_stkscUSD);
474+
//pools[i++] = _makePoolData(TOKEN_wstkscUSD, AmmAdapterIdLib.ERC_4626, TOKEN_wstkscUSD, TOKEN_stkscUSD);
475+
//pools[i++] =
476+
// _makePoolData(POOL_SHADOW_CL_stkscUSD_scUSD_3000, AmmAdapterIdLib.UNISWAPV3, TOKEN_stkscUSD, TOKEN_scUSD);
477+
476478
pools[i++] =
477-
_makePoolData(POOL_SHADOW_CL_stkscUSD_scUSD_3000, AmmAdapterIdLib.UNISWAPV3, TOKEN_stkscUSD, TOKEN_scUSD);
479+
_makePoolData(POOL_SWAPX_CL_wstkscUSD_scUSD, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_wstkscUSD, TOKEN_scUSD);
480+
pools[i++] = _makePoolData(TOKEN_wstkscUSD, AmmAdapterIdLib.ERC_4626, TOKEN_stkscUSD, TOKEN_wstkscUSD);
481+
478482
pools[i++] = _makePoolData(TOKEN_wstkscETH, AmmAdapterIdLib.ERC_4626, TOKEN_wstkscETH, TOKEN_stkscETH);
479483
pools[i++] =
480484
_makePoolData(POOL_SHADOW_CL_scETH_stkscETH_250, AmmAdapterIdLib.UNISWAPV3, TOKEN_stkscETH, TOKEN_scETH);
@@ -489,7 +493,8 @@ library SonicLib {
489493
pools[i++] = _makePoolData(TOKEN_wanS, AmmAdapterIdLib.ERC_4626, TOKEN_wanS, TOKEN_anS);
490494

491495
pools[i++] = _makePoolData(POOL_SWAPX_CL_frxUSD_scUSD, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_frxUSD, TOKEN_scUSD);
492-
pools[i++] = _makePoolData(POOL_SWAPX_CL_sfrxUSD_frxUSD, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_sfrxUSD, TOKEN_frxUSD);
496+
pools[i++] =
497+
_makePoolData(POOL_SWAPX_CL_sfrxUSD_frxUSD, AmmAdapterIdLib.ALGEBRA_V4, TOKEN_sfrxUSD, TOKEN_frxUSD);
493498

494499
//endregion ----- Pools ----
495500
}

test/strategies/SiAL.Sonic.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import {StrategyIdLib} from "../../src/strategies/libs/StrategyIdLib.sol";
88

99
contract SiloAdvancedLeverageStrategyTest is SonicSetup, UniversalTest {
1010
constructor() {
11-
vm.selectFork(vm.createFork(vm.envString("SONIC_RPC_URL")));
11+
//vm.selectFork(vm.createFork(vm.envString("SONIC_RPC_URL")));
1212
//vm.rollFork(11356000); // Mar-03-2025 08:19:49 AM +UTC
13-
vm.rollFork(13119000); // Mar-11-2025 08:29:09 PM +UTC
13+
//vm.rollFork(13119000); // Mar-11-2025 08:29:09 PM +UTC
1414
allowZeroApr = true;
1515
duration1 = 0.1 hours;
1616
duration2 = 0.1 hours;

0 commit comments

Comments
 (0)