Flash unwinder contracts and scripts, relay lane tuning, trustless bridge and token-aggregation updates.

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-12 06:33:54 -07:00
parent 662b35ad69
commit 6817f53591
40 changed files with 682 additions and 88 deletions

View File

@@ -9,9 +9,10 @@ This document describes DEX integration for swapping ETH/WETH to stablecoins in
### Supported DEXs
1. **Uniswap V3** (Primary)
- Router: `0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45`
- Router: `0xE592427A0AEce92De3Edee1F18E0157C05861564`
- Fee tiers: 0.05%, 0.3%, 1%
- Direct WETH → Stablecoin swaps
- Note: the trustless router contracts in this repo call the legacy `exactInputSingle` ABI directly
2. **Curve** (Secondary)
- 3Pool: `0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7`
@@ -110,4 +111,3 @@ Create `test/bridge/trustless/DEXIntegration.t.sol`:
- SwapRouter: `contracts/bridge/trustless/SwapRouter.sol`
- Interfaces: `contracts/bridge/trustless/interfaces/`
- Test Suite: `test/bridge/trustless/DEXIntegration.t.sol`

View File

@@ -97,13 +97,15 @@ DAI=0x6B175474E89094C44Da98b954EedeAC495271d0F
These are standard addresses and typically don't need to be changed:
```bash
UNISWAP_V3_ROUTER=0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45
UNISWAP_V3_ROUTER=0xE592427A0AEce92De3Edee1F18E0157C05861564
CURVE_3POOL=0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7
DODOEX_ROUTER=0xa356867fDCEa8e71AEaF87805808803806231FdC
BALANCER_VAULT=0xBA12222222228d8Ba445958a75a0704d566BF2C8
ONEINCH_ROUTER=0x1111111254EEB25477B68fb85Ed929f73A960582
```
`UNISWAP_V3_ROUTER` should point at the legacy SwapRouter on Ethereum mainnet because the trustless router contracts in this repo call `exactInputSingle` directly.
## Balancer Pool IDs (Configure After Deployment)
```bash
@@ -317,4 +319,3 @@ MARKET_REPORTING_API_KEY=your_api_key_here
- Ensure previous phase completed successfully
- Check deployment output for addresses
- Verify addresses are saved to `.env`

View File

@@ -1343,7 +1343,7 @@ We invite:
### A.2 External Contract Addresses
**Ethereum Mainnet**:
- Uniswap V3 SwapRouter: `0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45`
- Uniswap V3 SwapRouter: `0xE592427A0AEce92De3Edee1F18E0157C05861564`
- Curve 3pool: `0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7`
- 1inch Router: `0x1111111254EEB25477B68fb85Ed929f73A960582`
- WETH: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`