---
# System prepended metadata

title: Dex Aggregator Project

---

# Dex Aggregator Project


## Routing



LSR Pair:
BUSD-USX
USDC-USX
DAI-USX

只要涉及到LSR中的资产：USX，就需要检查一遍LSR


BSC:
| Swap Pair | 路径1(已实现) | 路径2              | 路径3           |
| --------- | ------------- | ------------------ | --------------- |
| DAI-USX  | DAI-USX      | DAI-USDC-USX |  |
| DAI-USDC | DAI-USDC     | DAI-USX-USDC      |     |
| USX-DAI  | USX-DAI      | USX-USDC-DAI      |                 |
| USDC-DAI | USDC-DAI     | USDC-USX-DAI      |      |


BUSD-USX：直接Pair或LSR
BUSD-USDC-USX：1inch+LSR
BUSD-A-USDC-USX：1inch+LSR

BUSD-USX-USDC：直接Pair+LSR或全走LSR

USX-USDC-BUSD：LSR+1inch

USDC-USX-BUSD:全走LSR或LSR+直接Pair



| Network  | Common Middle              | dForce Middle | DF、USX Pair               |
| -------- | -------------------------- | ------------- | -------------------------- |
| Ethereum | M(ETH/WBTC/USDT/USDC/DAI)  | USX           | DF-USX、DF-ETH、Stable-USX |
| BSC      | M(ETH/BTCB/USDT/USDC/BUSD) | USX           | DF-USX、Stable-USX         |
| Arbitrm  | M(ETH/WBTC/USDT/USDC)      | USX           | DF-USX、Stable-USX         |
| Polygon  |                            |               |                            |


### Ethereum Support Routing

| Pair        | Example              | Two-way     |
| ----------- | -------------------- | ----------- |
| A-B         | DF-USX               | B-A         |
| A-M-B       | WBTC-USDC-USX        | B-M-A       |
| A-USX-B     | DF-USX-USDC          | B-USX-A     |
| A-USX-B-C   | DF-USX-USDC-ETH      | C-B-USX-A   |
| A-USX-B-C-D | DF-USX-USDC-ETH-Comp | D-C-B-USX-A |

### BSC Support Routing

| Pair        | Example              | Two-way     |
| ----------- | -------------------- | ----------- |
| A-B         | DF-USX               | B-A         |
| A-M-B       | WBTC-BUSD-USX        | B-M-A       |
| A-USX-B     | DF-USX-BUSD          | B-USX-A     |
| A-USX-B-C   | DF-USX-BUSD-ETH      | C-B-USX-A   |
| A-USX-B-C-D | DF-USX-BUSD-ETH-Comp | D-C-B-USX-A |

### Arbitrum Support Routing

| Pair        | Example              | Two-way     |
| ----------- | -------------------- | ----------- |
| A-B         | DF-USX               | B-A         |
| A-M-B       | WBTC-USDC-USX        | B-M-A       |
| A-USX-B     | DF-USX-USDC          | B-USX-A     |
| A-USX-B-C   | DF-USX-USDC-ETH      | C-B-USX-A   |
| A-USX-B-C-D | DF-USX-USDC-ETH-Comp | D-C-B-USX-A |



## Support DEX
https://drive.google.com/drive/folders/1eRq60QMXi0cXNxfoJ1--qvxLJDri3YNk
https://docs.google.com/spreadsheets/d/1eESBeeE-EckWpxR1HS-zGiaeULT-ro7wOtzItdQb79Y



| Network  | DEX        | Pair     | Liquidity Ming | Provider | Notes                | Status | Link                                                                             |
| -------- | ---------- | -------- | -------------- | -------- | -------------------- | ------ |:-------------------------------------------------------------------------------- |
| Ethereum | Uniswap V2 | DF-ETH   | No             | Users    | 可忽略，后续可能更少 |        |                                                                                  |
| Ethereum | Uniswap V3 | DF-USX   | No             | Protocol |                      |        |                                                                                  |
| Ethereum | Curve      | USX+3CRV | Yes            | Users    | Stable Pool          |        |                                                                                  |
| BSC      | DODO V2    | DF-USX   | No             | Protocol |                      |        |                                                                                  |
| BSC      | Pancake V2 | DF-USX   | No             | Protocol | 可忽略，后续可能更少 |        |                                                                                  |
| BSC      | Kyber-dmm  | DF-USX   | No             | Users    |                      |        |                                                                                  |
| BSC      | DODO V2    | BUSD-USX | Yes            | Users    | Stable Pool          |        |                                                                                  |
| BSC      | Ellipsis   | USX+3EPS | No             | Users    | Stable Pool          |    | [Link](https://ellipsis.finance/pool/0x2d7485537d4ae91f875f7953E185c21544c34e6b) |
| Arbitrum | DODO V2    | DF-USX   | No             | Protocol |                      |        |                                                                                  |
| Arbitrum | DODO V2    | USDC-USX | Yes            | Users    | Stable Pool          |        |                                                                                  |
| Arbitrum | Uniswap V3 | DF-USX   | No             | Protocol |                      |        |                                                                                  |
| Arbitrum | Curve      | USX+2CRV | Yes            | Users    | Stable Pool          |        |                                                                                  |
| Optimism | Velodrome    | DF-USX   | No             | Protocol |                      |     新增   |  [Link](https://app.velodrome.finance/liquidity)                                                                                |
| Optimism | Velodrome    | USDC-USX | No            | Users    | Stable Pool          |     新增   |                                                                                [Link](https://app.velodrome.finance/liquidity)  |			

## Token List

### Ethereum

Search List：https://tokens.1inch.io/v1.1/1
默认Pair：USX-DF

| Position | Number | Token |
| -------- | ------ | ----- |
| Top      | 1      | USDC  |
| Top      | 2      | USX   |
| Top      | 3      | USDT  |
| Top      | 4      | DAI   |
| Top      | 5      | ETH   |
| Top      | 6      | DF    |
| Top      | 7      | WBTC  |
| Top      | 8      | WETH  |
|          |        |       |
| List     | 1      | ETH   |
| List     | 2      | USDC  |
| List     | 3      | USX   |
| List     | 4      | DF    |
| List     | 5      | USDT  |
| List     | 6      | DAI   |
| List     | 7      | WBTC  |
| List     | 8      | TUSD  |
| List     | 9      | USDP  |
| List     | 10     | COMP  |
| List     | 11     | CRV   |
| List     | 12     | AAVE  |
| List     | 13     | UNI   |
| List     | 14     | 1INCH |
| List     | 15     | SUSHI |
| List     | 16     | MKR   |
| List     | 17     | CVX   |
| List     | 18     | LDO   |
| List     | 19     | FRAX  |
| List     | 20     | EUX   |

### BSC
Search List：https://tokens.1inch.io/v1.1/56
默认Pair：USX-DF
| Position | Number | Token |
| -------- | ------ | ----- |
| Top      | 1      | USDC  |
| Top      | 2      | USX   |
| Top      | 3      | USDT  |
| Top      | 4      | DAI   |
| Top      | 5      | ETH   |
| Top      | 6      | DF    |
| Top      | 7      | BTCB  |
| Top      | 8      | WBNB  |
|          |        |       |
| List     | 1      | BNB   |
| List     | 2      | BUSD  |
| List     | 3      | USX   |
| List     | 4      | DF    |
| List     | 5      | USDC  |
| List     | 6      | USDT  |
| List     | 7      | DAI   |
| List     | 8      | ETH   |
| List     | 9      | BTCB  |
| List     | 10     | CAKE  |
| List     | 11     | FIL   |
| List     | 12     | DOT   |
| List     | 13     | UNI   |
| List     | 14     | LINK  |
| List     | 15     | ATOM  |
| List     | 16     | XTZ   |
| List     | 17     | 1INCH |
| List     | 18     | EUX   |
| List     | 19     | FRAX  |
| List     | 20     | TUSD  |

### Arbitrum
Token List:https://tokens.1inch.io/v1.1/42161
默认Pair：USX-DF
| Position | Number | Token |
| -------- | ------ | ----- |
| Top      | 1      | USDC  |
| Top      | 2      | USX   |
| Top      | 3      | USDT  |
| Top      | 4      | DAI   |
| Top      | 5      | ETH   |
| Top      | 6      | DF    |
| Top      | 7      | WBTC  |
| Top      | 8      | WETH  |
|          |        |       |
| List     | 1      | ETH   |
| List     | 2      | USDC  |
| List     | 3      | USX   |
| List     | 4      | DF    |
| List     | 5      | USDT  |
| List     | 6      | DAI   |
| List     | 7      | WBTC  |
| List     | 8      | CRV   |
| List     | 9      | AAVE  |
| List     | 10     | UNI   |
| List     | 11     | LINK  |
| List     | 12     | SUSHI |
| List     | 13     | GMX   |
| List     | 14     | FRAX  |
| List     | 15     | EUX   |


### Optimism
Token List:https://tokens.1inch.io/v1.1/10
默认Pair：USX-DF
| Position | Number | Token |
| -------- | ------ | ----- |
| Top      | 1      | USDC  |
| Top      | 2      | USX   |
| Top      | 3      | USDT  |
| Top      | 4      | DAI   |
| Top      | 5      | ETH   |
| Top      | 6      | DF    |
| Top      | 7      | WBTC  |
| Top      | 8      | WETH  |
|          |        |       |
| List     | 1      | ETH   |
| List     | 2      | USDC  |
| List     | 3      | USX   |
| List     | 4      | DF    |
| List     | 5      | USDT  |
| List     | 6      | DAI   |
| List     | 7      | WBTC  |
| List     | 8      | CRV   |
| List     | 9      | AAVE  |
| List     | 10     | OP   |
| List     | 11     | LINK  |
| List     | 12     | sUSD |
### Polygon
Token List:https://tokens.1inch.io/v1.1/137

### Avalanche
Token List:https://tokens.1inch.io/v1.1/43114




## DEX Swap
### 交易后跨链Error
* Pair：
USX（Arbi）/ USDC(Arbi) - USDC（BSC ）
* Sender：
0x2802247b16c302B811988Bf4Ac0e8DBFB85CDe36
* Contract：
0xf73932254090dab19700e5a2D61df2CCDE6fCC11

0.0000726ETH

* Data：
0xb0acbe06000000000000000000000000641441c631e2f909700d2f41fd87f0aa6a6b4edb0000000000000000000000008ac76a51cc950d9822d68b83fe1ad97b32cd580d0000000000000000000000000000000000000000000000056bc75e2d63100000000000000000000000000000000000000000000000000005369b7f2e968bf04900000000000000000000000000000000000000000000000000000000000000380000000000000000000000008a7f8afb8476908ed0ae8b0fbda40fc367307200000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000009340e3296121507318874ce9c04afb4492af0284000000000000000000000000641441c631e2f909700d2f41fd87f0aa6a6b4edb000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000

* Pair：
USDT（Arbi）/ ETH(Arbi) - ETH（BSC ）
* Sender：
0x2802247b16c302B811988Bf4Ac0e8DBFB85CDe36
* Contract：
0xf73932254090dab19700e5a2D61df2CCDE6fCC11


0.0000726ETH

* Data：

0xb0acbe06000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb90000000000000000000000002170ed0880ac9a755fd29b2688956bd959f933f80000000000000000000000000000000000000000000000000000000002faf080000000000000000000000000000000000000000000000000006b78e0c3b3131400000000000000000000000000000000000000000000000000000000000000380000000000000000000000008a7f8afb8476908ed0ae8b0fbda40fc36730720000000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000000000000000000000000000000000000000f4240000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000007c87c02520000000000000000000000000093131efee501d5721737c32576238f619548edda00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb900000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000093131efee501d5721737c32576238f619548edda000000000000000000000000f73932254090dab19700e5a2d61df2ccde6fcc110000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000380253d4a7bdcf000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001408000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000064eb5625d9000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9000000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c80000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000800000000000000000000000ba12222222228d8ba445958a75a0704d566bf2c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000404945bcec900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000030000000000000000000000000093131efee501d5721737c32576238f619548edda00000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111254fb6c44bac0bed2854e76f90643097d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000636640be0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001001533a3278f3f9141d5f820a184ea4b017fce2382000000000000000000000016000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000064541216bafffeec8ea535bb71fbc927831d059500010000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000fd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000082af49447d8a07e3bd95bd0d56f35241523fbab100000000000000000000000000000000000000000000000000000000000000037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffc7fdac2b58423100000000000000000000000000000000000000000000000000000000cfee7c08000000000000000000000000000000000000000000000000