feat: fixed USV3 Verification

- We cannot use the regular v3-periphery library because of outdated solc versions. I've copied the v3-updated library which we have used in our previous project
This commit is contained in:
TAMARA LIPOWSKI
2025-01-29 10:20:24 -05:00
parent 057c616b0c
commit 96af542923
9 changed files with 121 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ contract TychoRouterTestSetup is Test, Constants {
vm.startPrank(ADMIN);
tychoRouter =
new TychoRouterExposed(permit2Address, WETH_ADDR, address(0));
new TychoRouterExposed(permit2Address, WETH_ADDR, address(1));
tychoRouterAddr = address(tychoRouter);
tychoRouter.grantRole(keccak256("FUND_RESCUER_ROLE"), FUND_RESCUER);
tychoRouter.grantRole(keccak256("FEE_SETTER_ROLE"), FEE_SETTER);