test: add sequential swap tests for hashflow

This commit is contained in:
adrian
2025-08-19 16:51:24 +02:00
committed by Adrian Benavides
parent a09d648f3c
commit 77de0d892a
5 changed files with 80 additions and 49 deletions

View File

@@ -7,8 +7,8 @@ import "./Constants.sol";
import "./TestUtils.sol";
import "@src/TychoRouter.sol";
import {
UniswapV3Executor,
IUniswapV3Pool
UniswapV3Executor,
IUniswapV3Pool
} from "../src/executors/UniswapV3Executor.sol";
import {BalancerV2Executor} from "../src/executors/BalancerV2Executor.sol";
import {BalancerV3Executor} from "../src/executors/BalancerV3Executor.sol";
@@ -137,7 +137,8 @@ contract TychoRouterTestSetup is Constants, Permit2TestHelper, TestUtils {
new MaverickV2Executor(MAVERICK_V2_FACTORY, PERMIT2_ADDRESS);
balancerV3Executor = new BalancerV3Executor(PERMIT2_ADDRESS);
bebopExecutor = new BebopExecutor(BEBOP_SETTLEMENT, PERMIT2_ADDRESS);
hashflowExecutor = new HashflowExecutor(HASHFLOW_ROUTER, PERMIT2_ADDRESS);
hashflowExecutor =
new HashflowExecutor(HASHFLOW_ROUTER, PERMIT2_ADDRESS);
address[] memory executors = new address[](11);
executors[0] = address(usv2Executor);