diff --git a/README.md b/README.md index 35e7975..41cee34 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,5 @@ Velodrome has a live bug bounty hosted on ([Immunefi](https://immunefi.com/bount | QuoterV2 | [0x89D8218ed5fF1e46d8dcd33fb0bbeE3be1621466](https://optimistic.etherscan.io/address/0x89D8218ed5fF1e46d8dcd33fb0bbeE3be1621466#code) | | CustomSwapFeeModule | [0x7361E9079920fb75496E9764A2665d8ee5049D5f](https://optimistic.etherscan.io/address/0x7361E9079920fb75496E9764A2665d8ee5049D5f#code) | | CustomUnstakedFeeModule | [0xC565F7ba9c56b157Da983c4Db30e13F5f06C59D9](https://optimistic.etherscan.io/address/0xC565F7ba9c56b157Da983c4Db30e13F5f06C59D9#code) | +| Swap Router | [0x0792a633F0c19c351081CF4B211F68F79bCc9676](http://optimistic.etherscan.io/address/0x0792a633F0c19c351081CF4B211F68F79bCc9676#code) | | LpMigrator | [0x3Fdb481B25b24824A2339a4A1AbD0B0BC7534e71](http://optimistic.etherscan.io/address/0x3Fdb481B25b24824A2339a4A1AbD0B0BC7534e71#code) | \ No newline at end of file diff --git a/script/DeployCL.s.sol b/script/DeployCL.s.sol index d0c9987..b5151e9 100644 --- a/script/DeployCL.s.sol +++ b/script/DeployCL.s.sol @@ -14,6 +14,7 @@ import {CustomSwapFeeModule} from "contracts/core/fees/CustomSwapFeeModule.sol"; import {CustomUnstakedFeeModule} from "contracts/core/fees/CustomUnstakedFeeModule.sol"; import {MixedRouteQuoterV1} from "contracts/periphery/lens/MixedRouteQuoterV1.sol"; import {QuoterV2} from "contracts/periphery/lens/QuoterV2.sol"; +import {SwapRouter} from "contracts/periphery/SwapRouter.sol"; contract DeployCL is Script { using stdJson for string; @@ -47,6 +48,7 @@ contract DeployCL is Script { CustomUnstakedFeeModule public unstakedFeeModule; MixedRouteQuoterV1 public mixedQuoter; QuoterV2 public quoter; + SwapRouter public swapRouter; function run() public { string memory root = vm.projectRoot(); @@ -105,6 +107,7 @@ contract DeployCL is Script { mixedQuoter = new MixedRouteQuoterV1({_factory: address(poolFactory), _factoryV2: factoryV2, _WETH9: weth}); quoter = new QuoterV2({_factory: address(poolFactory), _WETH9: weth}); + swapRouter = new SwapRouter({_factory: address(poolFactory), _WETH9: weth}); vm.stopBroadcast(); // write to file @@ -120,6 +123,7 @@ contract DeployCL is Script { vm.writeJson(vm.serializeAddress("", "UnstakedFeeModule", address(unstakedFeeModule)), path); vm.writeJson(vm.serializeAddress("", "MixedQuoter", address(mixedQuoter)), path); vm.writeJson(vm.serializeAddress("", "Quoter", address(quoter)), path); + vm.writeJson(vm.serializeAddress("", "SwapRouter", address(swapRouter)), path); } function concat(string memory a, string memory b) internal pure returns (string memory) {