# Chain 138 EnhancedSwapRouterV2 Redeploy And Cutover

Date: 2026-04-29 PDT

Signer: `0x4A666F96fC8764181194447A7dFdb7d471b301C8`

Purpose: redeploy `EnhancedSwapRouterV2` with the new `quoteConfiguredProvider(...)` single-provider quote path, then cut the Chain 138 V2 router inventory to the new address.

## Deployed Contracts

| Contract | Address | Tx hash | Block |
|---|---|---|---:|
| DODO RouteExecutorAdapter | `0xa505eaee26c6503c63eaa6b4b05a28bb40097f25` | `0xa1aeada5d6e1b351513a72c133e22d5dce8c6b3f1b55723b3d0ab07cb534e55f` | 4563327 |
| DODO V3 RouteExecutorAdapter | `0x046ce4030af57b3057c052a48ebaacfac74ec1b2` | `0x9f6f126805170d50ab57c33f5afeb66a6b965d00a564a99cf842e0e7d2aa43d6` | 4563328 |
| Uniswap V3 RouteExecutorAdapter | `0x51f6fc9b76f2b319837118d93daeb96fae09da56` | `0xccfed88aa3b1cb555be27292b067de4f8871b4fdb77158430800d78e2a677ad6` | 4563329 |
| Balancer RouteExecutorAdapter | `0xb36b60a16f8ac53379c7547841cb74cbc1d490d5` | `0x923e771d70e94ee8cb203f4a105141cdf5763b2c02bf36f1cfbd950dd4bba8cf` | 4563330 |
| Curve RouteExecutorAdapter | `0xd1af10f0d2d5fafc55dee47560e985afa1ee7f90` | `0xeb004c4b4bb5741ec077bb23f30bdedc60e00f562cd222a0de997696aaffe430` | 4563331 |
| 1inch RouteExecutorAdapter | `0x0e1b66e7997dcef2e271fc28eb8a38520eb7aad0` | `0xb3e05ead43dd640db296d7fddcb72289deba6dc771dfb45bd98228c1a89d9cf7` | 4563332 |
| EnhancedSwapRouterV2 | `0xa421706768aeb7fafa2d912c5e10824ef3437ad4` | `0xe3430bcfcf7809ca6574f9ae22d243f5945b2e2ee186c4da5f25f1cdd4c843b4` | 4563333 |
| IntentBridgeCoordinatorV2 | `0x7aa03fa96e884ec503510d725e68301ff9fe53c1` | `0x9a7c24aa58dbe303ec9ee4e98ca67eb23af894de7ab704de9a52d6535d7ad759` | 4563334 |

## Router Configuration

The new router was configured with:

- Adapter mappings for DODO, DODO V3, Uniswap V3, Balancer, Curve, and 1inch.
- DODO-only size routing:
  - `setRoutingConfig(0, [Dodo])`: `0x226eda46936e8d1c89208ae45ca5777dd224a6404eb7de1b5e7a8e614b0a9934`
  - `setRoutingConfig(1, [Dodo])`: `0xda55d6139c1862870ac502f6c14fa6001ea65bf8279a9dfbd3a19cca82699e3a`
  - `setRoutingConfig(2, [Dodo])`: `0x4780de510031c9f66d5be3630391a253f3650dc089e0b54fdd28d293fbb23a74`
- Bidirectional DODO provider routes for cUSDT/cUSDC, cUSDT/USDT, cUSDC/USDC, cUSDT/cXAUC, cUSDC/cXAUC, and cEURT/cXAUC.
- Bidirectional DODO V3 provider route for WETH10/USDT.

Final provider flag check:

| Provider ID | Provider | Enabled |
|---:|---|---|
| 0 | Dodo | `true` |
| 1 | UniswapV3 | `false` |
| 2 | Balancer | `false` |
| 3 | Curve | `false` |
| 4 | OneInch | `false` |
| 5 | Partner | `false` |
| 6 | DodoV3 | `true` |

Non-DODO disable txs:

- UniswapV3: `0xbb17e5193c2d3043a42d8afdf18bef1bd6470e72420b20d2f3693e4a2e09d200`
- Balancer: `0x2e630057e944d5dbe863244a9e0500f99ad64d8a620cd5f02b0a2093e5629af9`
- Curve: `0x6966e8ef4961eae4d5d56ec021a512a72bbb56379b4af98f12a8ab54fba34655`

## Cutover Files

Updated:

- `config/address-inventory.chain138.json`
- `config/runtime-env.chain138.json`
- `.env`
- `reports/inventory/DEPLOYED_CONTRACTS_UNIFIED_EXTENDED.md`
- `reports/inventory/deployed-contracts-by-network.md`

## Verification

- `cast code` confirmed bytecode at the new router and coordinator.
- `quoteConfiguredProvider(cUSDT, cUSDC, 1e18, Dodo)` returned successfully from the new router selector.
- `getProviderRoute(cUSDT, cUSDC, Dodo)` returned the DODO provider target and configured pool bytes.
