@paraswap/dex-lib 3.4.2-balancer-v2-single-swap.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +377 -377
- package/build/config.js +9 -5
- package/build/config.js.map +1 -1
- package/build/dex/algebra/algebra.js +25 -25
- package/build/dex/balancer-v1/balancer-v1.js +34 -34
- package/build/dex/balancer-v2/balancer-v2.d.ts +1 -1
- package/build/dex/balancer-v2/balancer-v2.js +65 -78
- package/build/dex/balancer-v2/balancer-v2.js.map +1 -1
- package/build/dex/camelot/camelot.js +27 -27
- package/build/dex/kyberdmm/kyberdmm.js +27 -27
- package/build/dex/pancakeswap-v3/pancakeswap-v3.js +25 -25
- package/build/dex/solidly/solidly.js +27 -27
- package/build/dex/solidly-v3/solidly-v3.js +25 -25
- package/build/dex/swaap-v2/config.js +15 -0
- package/build/dex/swaap-v2/config.js.map +1 -1
- package/build/dex/uniswap-v2/uniswap-v2.js +26 -26
- package/build/dex/uniswap-v3/uniswap-v3.js +25 -25
- package/funding.json +5 -5
- package/package.json +1 -1
- package/src/config.ts +500 -496
- package/src/constants.ts +67 -67
- package/src/dex/aave-v2/aave-v2.ts +409 -409
- package/src/dex/aave-v3/aave-v3.ts +320 -320
- package/src/dex/algebra/algebra.ts +1180 -1180
- package/src/dex/angle-staked-stable/angle-staked-stable.ts +347 -347
- package/src/dex/augustus-rfq.ts +180 -180
- package/src/dex/bProtocol/bProtocol.ts +108 -108
- package/src/dex/balancer-v1/balancer-v1.ts +572 -572
- package/src/dex/balancer-v2/balancer-v2-e2e.test.ts +1699 -1699
- package/src/dex/balancer-v2/balancer-v2.ts +1669 -1701
- package/src/dex/bancor/bancor.ts +128 -128
- package/src/dex/camelot/camelot.ts +873 -873
- package/src/dex/compound/compound.ts +107 -107
- package/src/dex/curve-v1/config.ts +1179 -1179
- package/src/dex/curve-v1/curve-v1-e2e.test.ts +507 -507
- package/src/dex/curve-v1/curve-v1.ts +1315 -1315
- package/src/dex/curve-v1-factory/config.ts +1018 -1018
- package/src/dex/curve-v1-factory/curve-v1-factory.ts +1288 -1288
- package/src/dex/curve-v2/curve-v2.ts +440 -440
- package/src/dex/dexalot/dexalot.ts +1100 -1100
- package/src/dex/dodo-v1/dodo-v1.ts +132 -132
- package/src/dex/dodo-v2.ts +266 -266
- package/src/dex/etherfi.ts +239 -239
- package/src/dex/generic-rfq/generic-rfq.ts +431 -431
- package/src/dex/gmx/gmx.ts +321 -321
- package/src/dex/hashflow/hashflow.ts +1135 -1135
- package/src/dex/idex.ts +254 -254
- package/src/dex/index.ts +357 -357
- package/src/dex/jarvis-v6/jarvis-v6.ts +509 -509
- package/src/dex/jarvis.ts +262 -262
- package/src/dex/kyberdmm/kyberdmm.ts +649 -649
- package/src/dex/lido/lido.ts +110 -110
- package/src/dex/maker-psm/maker-psm.ts +592 -592
- package/src/dex/maverick-v1/maverick-v1.ts +537 -537
- package/src/dex/nerve/config.ts +635 -635
- package/src/dex/nerve/nerve-e2e.test.ts +731 -731
- package/src/dex/nerve/nerve-events.test.ts +911 -911
- package/src/dex/nerve/nerve.ts +467 -467
- package/src/dex/onebit/onebit.ts +113 -113
- package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +1150 -1150
- package/src/dex/paraswap-limit-orders/config.ts +60 -60
- package/src/dex/paraswap-limit-orders/paraswap-limit-orders-e2e.test.ts +137 -137
- package/src/dex/paraswap-limit-orders/paraswap-limit-orders-integration.test.ts +328 -328
- package/src/dex/paraswap-limit-orders/paraswap-limit-orders.ts +631 -631
- package/src/dex/polygon-migrator/polygon-migrator.ts +194 -194
- package/src/dex/quick-perps/quick-perps.ts +337 -337
- package/src/dex/quickswap/config.ts +16 -16
- package/src/dex/quickswap/quickswap-e2e.test.ts +384 -384
- package/src/dex/smoothy/smoothy.ts +110 -110
- package/src/dex/solidly/config.ts +225 -225
- package/src/dex/solidly/solidly-e2e.test.ts +1421 -1421
- package/src/dex/solidly/solidly-integration.test.ts +1753 -1753
- package/src/dex/solidly/solidly.ts +687 -687
- package/src/dex/solidly-v3/solidly-v3.ts +968 -968
- package/src/dex/spark/spark.ts +284 -284
- package/src/dex/stable-pool/stable-pool.ts +129 -129
- package/src/dex/swaap-v2/config.ts +15 -0
- package/src/dex/swaap-v2/swaap-v2-e2e.test.ts +233 -17
- package/src/dex/swaap-v2/swaap-v2-integration.test.ts +1 -1
- package/src/dex/swaap-v2/swaap-v2.ts +1056 -1056
- package/src/dex/swell/swell.ts +312 -312
- package/src/dex/synthetix/synthetix.ts +420 -420
- package/src/dex/trader-joe-v2.1/trader-joe-v2.1.ts +180 -180
- package/src/dex/uniswap-v2/config.ts +637 -637
- package/src/dex/uniswap-v2/constants.ts +58 -58
- package/src/dex/uniswap-v2/uniswap-v2-e2e-avalanche.test.ts +1257 -1257
- package/src/dex/uniswap-v2/uniswap-v2-e2e-base.test.ts +42 -42
- package/src/dex/uniswap-v2/uniswap-v2-e2e-bsc.test.ts +1295 -1295
- package/src/dex/uniswap-v2/uniswap-v2-e2e-mainnet.test.ts +1834 -1834
- package/src/dex/uniswap-v2/uniswap-v2-e2e-polygon.test.ts +871 -871
- package/src/dex/uniswap-v2/uniswap-v2.ts +1117 -1117
- package/src/dex/uniswap-v3/uniswap-v3.ts +1501 -1501
- package/src/dex/uniswap-v3.ts +242 -242
- package/src/dex/weth/config.ts +73 -73
- package/src/dex/weth/weth.ts +230 -230
- package/src/dex/wombat/wombat.ts +467 -467
- package/src/dex/woo-fi-v2/woo-fi-v2.ts +529 -529
- package/src/dex/wsteth/wsteth.ts +304 -304
- package/src/dex/zerox/index.ts +328 -328
- package/src/executor/Executor01BytecodeBuilder.ts +474 -474
- package/src/executor/Executor02BytecodeBuilder.ts +1392 -1392
- package/src/executor/ExecutorBytecodeBuilder.ts +390 -390
- package/src/executor/ExecutorDetector.ts +131 -131
- package/src/executor/constants.ts +66 -66
- package/src/executor/executor01-bytecode-builder-e2e.test.ts +1478 -1478
- package/src/executor/utils.ts +62 -62
- package/src/router/simpleswap.ts +366 -366
- package/src/types.ts +342 -342
- package/tests/constants-e2e.ts +1632 -1622
- package/tests/generate-new-limit-order.ts +107 -107
package/src/dex/nerve/config.ts
CHANGED
|
@@ -1,635 +1,635 @@
|
|
|
1
|
-
import { SwapSide } from '@paraswap/core';
|
|
2
|
-
import { DexParams } from './types';
|
|
3
|
-
import { AdapterMappings, DexConfigMap } from '../../types';
|
|
4
|
-
import { Network } from '../../constants';
|
|
5
|
-
import nervePoolABI from '../../abi/nerve/nerve-pool.json';
|
|
6
|
-
import axialPoolABI from '../../abi/nerve/axial-pool.json';
|
|
7
|
-
import ironV2PoolABI from '../../abi/nerve/iron-v2-pool.json';
|
|
8
|
-
|
|
9
|
-
export const threePoolName = 'ThreePool';
|
|
10
|
-
|
|
11
|
-
// The order of the coins must be places with the same indexes as in contracts
|
|
12
|
-
export const NerveConfig: DexConfigMap<DexParams> = {
|
|
13
|
-
Nerve: {
|
|
14
|
-
[Network.BSC]: {
|
|
15
|
-
poolConfigs: {
|
|
16
|
-
[threePoolName]: {
|
|
17
|
-
name: threePoolName,
|
|
18
|
-
address: '0x1B3771a66ee31180906972580adE9b81AFc5fCDc',
|
|
19
|
-
coins: [
|
|
20
|
-
{
|
|
21
|
-
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 0 - BUSD
|
|
22
|
-
decimals: 18,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
address: '0x55d398326f99059fF775485246999027B3197955', // 1 - USDT
|
|
26
|
-
decimals: 18,
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 2 - USDC
|
|
30
|
-
decimals: 18,
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
isMetapool: false,
|
|
34
|
-
isUSDPool: true,
|
|
35
|
-
lpToken: {
|
|
36
|
-
address: '0xf2511b5E4FB0e5E2d123004b672BA14850478C14',
|
|
37
|
-
decimals: 18,
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
BTC: {
|
|
41
|
-
name: 'BTC',
|
|
42
|
-
address: '0x6C341938bB75dDe823FAAfe7f446925c66E6270c',
|
|
43
|
-
coins: [
|
|
44
|
-
{
|
|
45
|
-
address: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', // 0 - bBTC
|
|
46
|
-
decimals: 18,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
address: '0x54261774905f3e6E9718f2ABb10ed6555cae308a', // 1 - anyBTC
|
|
50
|
-
decimals: 8,
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
isMetapool: false,
|
|
54
|
-
isUSDPool: false,
|
|
55
|
-
lpToken: {
|
|
56
|
-
address: '0xD1D5Af92C606C6F2eC59D453f57A6FCc188D7dB5',
|
|
57
|
-
decimals: 18,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
ETH: {
|
|
61
|
-
name: 'ETH',
|
|
62
|
-
address: '0x146CD24dCc9f4EB224DFd010c5Bf2b0D25aFA9C0',
|
|
63
|
-
coins: [
|
|
64
|
-
{
|
|
65
|
-
address: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', // 0 - bETH
|
|
66
|
-
decimals: 18,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
address: '0x6F817a0cE8F7640Add3bC0c1C2298635043c2423', // 1 - anyETH
|
|
70
|
-
decimals: 18,
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
isMetapool: false,
|
|
74
|
-
isUSDPool: false,
|
|
75
|
-
lpToken: {
|
|
76
|
-
address: '0x0d283BF16A9bdE49cfC48d8dc050AF28b71bdD90',
|
|
77
|
-
decimals: 18,
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
// fUSDT: {
|
|
81
|
-
// name: 'fUSDT',
|
|
82
|
-
// address: '0xd0fBF0A224563D5fFc8A57e4fdA6Ae080EbCf3D3',
|
|
83
|
-
// coins: [
|
|
84
|
-
// '0x049d68029688eAbF473097a2fC38ef61633A3C7A', // 0 - fUSDT
|
|
85
|
-
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
86
|
-
// ],
|
|
87
|
-
// isMetapool: true,
|
|
88
|
-
// lpTokenAddress: '0x2e91A0CECf28c5E518bB2E7fdcd9F8e2cd511c10',
|
|
89
|
-
// },
|
|
90
|
-
// UST: {
|
|
91
|
-
// name: 'UST',
|
|
92
|
-
// address: '0x2dcCe1586b1664f41C72206900e404Ec3cA130e0',
|
|
93
|
-
// coins: [
|
|
94
|
-
// '0x23396cF899Ca06c4472205fC903bDB4de249D6fC', // 0 - wUST
|
|
95
|
-
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
96
|
-
// ],
|
|
97
|
-
// isMetapool: true,
|
|
98
|
-
// lpTokenAddress: '0x35Ce243e0DC9eD77e3C348Bb2742095F78e1Cb70',
|
|
99
|
-
// },
|
|
100
|
-
// rUSD: {
|
|
101
|
-
// name: 'rUSD',
|
|
102
|
-
// address: '0x0eafaa7ed9866c1f08ac21dd0ef3395e910f7114',
|
|
103
|
-
// coins: [
|
|
104
|
-
// '0x07663837218A003e66310a01596af4bf4e44623D', // 0 - rUSD
|
|
105
|
-
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
106
|
-
// ],
|
|
107
|
-
// isMetapool: true,
|
|
108
|
-
// lpTokenAddress: '0x870ee4d19c12A789c61de69E3E5eFb42383E4434',
|
|
109
|
-
// },
|
|
110
|
-
},
|
|
111
|
-
abi: nervePoolABI,
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
Axial: {
|
|
115
|
-
[Network.AVALANCHE]: {
|
|
116
|
-
poolConfigs: {
|
|
117
|
-
AS4D: {
|
|
118
|
-
name: 'AS4D',
|
|
119
|
-
address: '0x2a716c4933A20Cd8B9f9D9C39Ae7196A85c24228',
|
|
120
|
-
coins: [
|
|
121
|
-
{
|
|
122
|
-
address: '0x1C20E891Bab6b1727d14Da358FAe2984Ed9B59EB', // 0 - TUSD
|
|
123
|
-
decimals: 18,
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
127
|
-
decimals: 6,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 2 - DAI.e
|
|
131
|
-
decimals: 18,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 3 - USDT.e
|
|
135
|
-
decimals: 6,
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
isMetapool: false,
|
|
139
|
-
isUSDPool: true,
|
|
140
|
-
lpToken: {
|
|
141
|
-
address: '0x3a7387f8ba3ebffa4a0eccb1733e940ce2275d3f',
|
|
142
|
-
decimals: 18,
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
AC4D: {
|
|
146
|
-
name: 'AC4D',
|
|
147
|
-
address: '0x8c3c1C6F971C01481150CA7942bD2bbB9Bc27bC7',
|
|
148
|
-
coins: [
|
|
149
|
-
{
|
|
150
|
-
address: '0x4fbf0429599460D327BD5F55625E30E4fC066095', // 0 - TSD
|
|
151
|
-
decimals: 18,
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 1 - MIM
|
|
155
|
-
decimals: 18,
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
address: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', // 2 - FRAX
|
|
159
|
-
decimals: 18,
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 3 - DAI.e
|
|
163
|
-
decimals: 18,
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
|
-
isMetapool: false,
|
|
167
|
-
isUSDPool: true,
|
|
168
|
-
lpToken: {
|
|
169
|
-
address: '0x4da067E13974A4d32D342d86fBBbE4fb0f95f382',
|
|
170
|
-
decimals: 18,
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
AM3D: {
|
|
174
|
-
name: 'AM3D',
|
|
175
|
-
address: '0x90c7b96AD2142166D001B27b5fbc128494CDfBc8',
|
|
176
|
-
coins: [
|
|
177
|
-
{
|
|
178
|
-
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 0 - MIM
|
|
179
|
-
decimals: 18,
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
183
|
-
decimals: 6,
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 2 - DAI.e
|
|
187
|
-
decimals: 18,
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
isMetapool: false,
|
|
191
|
-
isUSDPool: true,
|
|
192
|
-
lpToken: {
|
|
193
|
-
address: '0xc161E4B11FaF62584EFCD2100cCB461A2DdE64D1',
|
|
194
|
-
decimals: 18,
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
AA3D: {
|
|
198
|
-
name: 'AA3D',
|
|
199
|
-
address: '0x6EfbC734D91b229BE29137cf9fE531C1D3bf4Da6',
|
|
200
|
-
coins: [
|
|
201
|
-
{
|
|
202
|
-
address: '0x346A59146b9b4a77100D369a3d18E8007A9F46a6', // 0 - AVAI
|
|
203
|
-
decimals: 18,
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 1 - MIM
|
|
207
|
-
decimals: 18,
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
211
|
-
decimals: 6,
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
isMetapool: false,
|
|
215
|
-
isUSDPool: true,
|
|
216
|
-
lpToken: {
|
|
217
|
-
address: '0xaD556e7dc377d9089C6564f9E8d275f5EE4da22d',
|
|
218
|
-
decimals: 18,
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
SCALES: {
|
|
222
|
-
name: 'SCALES',
|
|
223
|
-
address: '0xfD24d41B7C4C7C8Cd363Dd3FF6f49C99c8280430',
|
|
224
|
-
coins: [
|
|
225
|
-
{
|
|
226
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 0 - DAI.e
|
|
227
|
-
decimals: 18,
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 1 - USDT.e
|
|
231
|
-
decimals: 6,
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
235
|
-
decimals: 6,
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // 3 - USDC
|
|
239
|
-
decimals: 6,
|
|
240
|
-
},
|
|
241
|
-
],
|
|
242
|
-
isMetapool: false,
|
|
243
|
-
isUSDPool: true,
|
|
244
|
-
lpToken: {
|
|
245
|
-
address: '0x556FB44205549c115e83A58d91522B14340Fb8d3',
|
|
246
|
-
decimals: 18,
|
|
247
|
-
},
|
|
248
|
-
},
|
|
249
|
-
HERO: {
|
|
250
|
-
name: 'HERO',
|
|
251
|
-
address: '0xa0f6397FEBB03021F9BeF25134DE79835a24D76e',
|
|
252
|
-
coins: [
|
|
253
|
-
{
|
|
254
|
-
address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // 0 - USDC
|
|
255
|
-
decimals: 6,
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
address: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', // 1 - USDT
|
|
259
|
-
decimals: 6,
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 2 - MIM
|
|
263
|
-
decimals: 18,
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
address: '0x111111111111ed1D73f860F57b2798b683f2d325', // 3 - YUSD
|
|
267
|
-
decimals: 18,
|
|
268
|
-
},
|
|
269
|
-
],
|
|
270
|
-
isMetapool: false,
|
|
271
|
-
isUSDPool: true,
|
|
272
|
-
lpToken: {
|
|
273
|
-
address: '0x73fA690aE97CdE1426d144E5f7406895fEa715E4',
|
|
274
|
-
decimals: 18,
|
|
275
|
-
},
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
|
-
abi: axialPoolABI,
|
|
279
|
-
},
|
|
280
|
-
},
|
|
281
|
-
IronV2: {
|
|
282
|
-
[Network.POLYGON]: {
|
|
283
|
-
poolConfigs: {
|
|
284
|
-
IS3USD_POLYGON: {
|
|
285
|
-
name: 'IS3USD_POLYGON',
|
|
286
|
-
address: '0x837503e8A8753ae17fB8C8151B8e6f586defCb57',
|
|
287
|
-
coins: [
|
|
288
|
-
{
|
|
289
|
-
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 0 - USDC
|
|
290
|
-
decimals: 6,
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 1 - USDT
|
|
294
|
-
decimals: 6,
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 2 - DAI
|
|
298
|
-
decimals: 18,
|
|
299
|
-
},
|
|
300
|
-
],
|
|
301
|
-
isMetapool: false,
|
|
302
|
-
isUSDPool: true,
|
|
303
|
-
lpToken: {
|
|
304
|
-
address: '0xb4d09ff3dA7f9e9A2BA029cb0A81A989fd7B8f17',
|
|
305
|
-
decimals: 18,
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
},
|
|
309
|
-
abi: ironV2PoolABI,
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
Synapse: {
|
|
313
|
-
[Network.MAINNET]: {
|
|
314
|
-
poolConfigs: {
|
|
315
|
-
stableSwapPool: {
|
|
316
|
-
name: 'stableSwapPool',
|
|
317
|
-
address: '0x1116898dda4015ed8ddefb84b6e8bc24528af2d8',
|
|
318
|
-
coins: [
|
|
319
|
-
{
|
|
320
|
-
address: '0x6B175474E89094C44Da98b954EedeAC495271d0F', // 0 - DAI
|
|
321
|
-
decimals: 18,
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // 1 - USDC
|
|
325
|
-
decimals: 6,
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
address: '0xdAC17F958D2ee523a2206206994597C13D831ec7', // 2 - USDT
|
|
329
|
-
decimals: 6,
|
|
330
|
-
},
|
|
331
|
-
],
|
|
332
|
-
isMetapool: false,
|
|
333
|
-
isUSDPool: true,
|
|
334
|
-
lpToken: {
|
|
335
|
-
address: '0x1B84765dE8B7566e4cEAF4D0fD3c5aF52D3DdE4F',
|
|
336
|
-
decimals: 18,
|
|
337
|
-
},
|
|
338
|
-
},
|
|
339
|
-
},
|
|
340
|
-
abi: axialPoolABI,
|
|
341
|
-
},
|
|
342
|
-
[Network.BSC]: {
|
|
343
|
-
poolConfigs: {
|
|
344
|
-
USDPool: {
|
|
345
|
-
name: 'USDPool',
|
|
346
|
-
address: '0x938afafb36e8b1ab3347427eb44537f543475cf9',
|
|
347
|
-
coins: [
|
|
348
|
-
{
|
|
349
|
-
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 0 - BUSD
|
|
350
|
-
decimals: 18,
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 1 - USDC
|
|
354
|
-
decimals: 18,
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
address: '0x55d398326f99059fF775485246999027B3197955', // 2 - BSC-USD
|
|
358
|
-
decimals: 18,
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
isMetapool: false,
|
|
362
|
-
isUSDPool: true,
|
|
363
|
-
lpToken: {
|
|
364
|
-
address: '0xF0b8B631145d393a767b4387d08Aa09969b2dFed',
|
|
365
|
-
decimals: 18,
|
|
366
|
-
},
|
|
367
|
-
},
|
|
368
|
-
nUSDPoolV2: {
|
|
369
|
-
name: 'nUSDPoolV2',
|
|
370
|
-
address: '0x28ec0B36F0819ecB5005cAB836F4ED5a2eCa4D13',
|
|
371
|
-
coins: [
|
|
372
|
-
{
|
|
373
|
-
address: '0x23b891e5C62E0955ae2bD185990103928Ab817b3', // 0 - nUSD
|
|
374
|
-
decimals: 18,
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 1 - BUSD
|
|
378
|
-
decimals: 18,
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 2 - USDC
|
|
382
|
-
decimals: 18,
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
address: '0x55d398326f99059fF775485246999027B3197955', // 3 - BSC-USD
|
|
386
|
-
decimals: 18,
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
isMetapool: false,
|
|
390
|
-
isUSDPool: true,
|
|
391
|
-
lpToken: {
|
|
392
|
-
address: '0xa4b7Bc06EC817785170C2DbC1dD3ff86CDcdcc4C',
|
|
393
|
-
decimals: 18,
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
abi: axialPoolABI,
|
|
398
|
-
},
|
|
399
|
-
[Network.POLYGON]: {
|
|
400
|
-
poolConfigs: {
|
|
401
|
-
USDPool: {
|
|
402
|
-
name: 'USDPool',
|
|
403
|
-
address: '0x3f52E42783064bEba9C1CFcD2E130D156264ca77',
|
|
404
|
-
coins: [
|
|
405
|
-
{
|
|
406
|
-
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 0 - DAI
|
|
407
|
-
decimals: 18,
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 1 - USDC
|
|
411
|
-
decimals: 6,
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 2 - USDT
|
|
415
|
-
decimals: 6,
|
|
416
|
-
},
|
|
417
|
-
],
|
|
418
|
-
isMetapool: false,
|
|
419
|
-
isUSDPool: true,
|
|
420
|
-
lpToken: {
|
|
421
|
-
address: '0x128A587555d1148766ef4327172129B50EC66E5D',
|
|
422
|
-
decimals: 18,
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
nUSDPoolV2: {
|
|
426
|
-
name: 'nUSDPoolV2',
|
|
427
|
-
address: '0x85fCD7Dd0a1e1A9FCD5FD886ED522dE8221C3EE5',
|
|
428
|
-
coins: [
|
|
429
|
-
{
|
|
430
|
-
address: '0xB6c473756050dE474286bED418B77Aeac39B02aF', // 0 - nUSD
|
|
431
|
-
decimals: 18,
|
|
432
|
-
},
|
|
433
|
-
|
|
434
|
-
{
|
|
435
|
-
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 1 - DAI
|
|
436
|
-
decimals: 18,
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 2 - USDC
|
|
440
|
-
decimals: 6,
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 3 - USDT
|
|
444
|
-
decimals: 6,
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
isMetapool: false,
|
|
448
|
-
isUSDPool: true,
|
|
449
|
-
lpToken: {
|
|
450
|
-
address: '0x7479e1Bc2F2473f9e78c89B4210eb6d55d33b645',
|
|
451
|
-
decimals: 18,
|
|
452
|
-
},
|
|
453
|
-
},
|
|
454
|
-
},
|
|
455
|
-
abi: axialPoolABI,
|
|
456
|
-
},
|
|
457
|
-
[Network.AVALANCHE]: {
|
|
458
|
-
poolConfigs: {
|
|
459
|
-
AaveETHPool: {
|
|
460
|
-
name: 'AaveETHPool',
|
|
461
|
-
address: '0x77a7e60555bC18B4Be44C181b2575eee46212d44',
|
|
462
|
-
coins: [
|
|
463
|
-
{
|
|
464
|
-
address: '0x19E1ae0eE35c0404f835521146206595d37981ae', // 0 - nETH
|
|
465
|
-
decimals: 18,
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
address: '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', // 1 - avWETH
|
|
469
|
-
decimals: 18,
|
|
470
|
-
},
|
|
471
|
-
],
|
|
472
|
-
isMetapool: false,
|
|
473
|
-
isUSDPool: false,
|
|
474
|
-
lpToken: {
|
|
475
|
-
address: '0x5dF1dB940dd8fEE0e0eB0C8917cb50b4dfaDF98c',
|
|
476
|
-
decimals: 18,
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
USDPool: {
|
|
480
|
-
name: 'USDPool',
|
|
481
|
-
address: '0xE55e19Fb4F2D85af758950957714292DAC1e25B2',
|
|
482
|
-
coins: [
|
|
483
|
-
{
|
|
484
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 0 - DAI.e
|
|
485
|
-
decimals: 18,
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
489
|
-
decimals: 6,
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 2 - USDT.e
|
|
493
|
-
decimals: 6,
|
|
494
|
-
},
|
|
495
|
-
],
|
|
496
|
-
isMetapool: false,
|
|
497
|
-
isUSDPool: true,
|
|
498
|
-
lpToken: {
|
|
499
|
-
address: '0x55904F416586b5140A0f666CF5AcF320AdF64846',
|
|
500
|
-
decimals: 18,
|
|
501
|
-
},
|
|
502
|
-
},
|
|
503
|
-
nUSDV2: {
|
|
504
|
-
name: 'nUSDV2',
|
|
505
|
-
address: '0xED2a7edd7413021d440b09D654f3b87712abAB66',
|
|
506
|
-
coins: [
|
|
507
|
-
{
|
|
508
|
-
address: '0xCFc37A6AB183dd4aED08C204D1c2773c0b1BDf46', // 0 - nUSD
|
|
509
|
-
decimals: 18,
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 1 - DAI.e
|
|
513
|
-
decimals: 18,
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
517
|
-
decimals: 6,
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 3 - USDT.e
|
|
521
|
-
decimals: 6,
|
|
522
|
-
},
|
|
523
|
-
],
|
|
524
|
-
isMetapool: false,
|
|
525
|
-
isUSDPool: true,
|
|
526
|
-
lpToken: {
|
|
527
|
-
address: '0xCA87BF3ec55372D9540437d7a86a7750B42C02f4',
|
|
528
|
-
decimals: 18,
|
|
529
|
-
},
|
|
530
|
-
},
|
|
531
|
-
},
|
|
532
|
-
abi: axialPoolABI,
|
|
533
|
-
},
|
|
534
|
-
[Network.ARBITRUM]: {
|
|
535
|
-
poolConfigs: {
|
|
536
|
-
ArbETHPool: {
|
|
537
|
-
name: 'ArbETHPool',
|
|
538
|
-
address: '0xa067668661C84476aFcDc6fA5D758C4c01C34352',
|
|
539
|
-
coins: [
|
|
540
|
-
{
|
|
541
|
-
address: '0x3ea9B0ab55F34Fb188824Ee288CeaEfC63cf908e', // 0 - nETH
|
|
542
|
-
decimals: 18,
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', // 1 - WETH
|
|
546
|
-
decimals: 18,
|
|
547
|
-
},
|
|
548
|
-
],
|
|
549
|
-
isMetapool: false,
|
|
550
|
-
isUSDPool: false,
|
|
551
|
-
lpToken: {
|
|
552
|
-
address: '0xD70A52248e546A3B260849386410C7170c7BD1E9',
|
|
553
|
-
decimals: 18,
|
|
554
|
-
},
|
|
555
|
-
},
|
|
556
|
-
nUSDV2: {
|
|
557
|
-
name: 'nUSDV2',
|
|
558
|
-
address: '0x0Db3FE3B770c95A0B99D1Ed6F2627933466c0Dd8',
|
|
559
|
-
coins: [
|
|
560
|
-
{
|
|
561
|
-
address: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688', // 0 - nUSD
|
|
562
|
-
decimals: 18,
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
address: '0xFEa7a6a0B346362BF88A9e4A88416B77a57D6c2A', // 1 - MIM
|
|
566
|
-
decimals: 18,
|
|
567
|
-
},
|
|
568
|
-
{
|
|
569
|
-
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // 2 - USDC
|
|
570
|
-
decimals: 6,
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // 3 - USDT
|
|
574
|
-
decimals: 6,
|
|
575
|
-
},
|
|
576
|
-
],
|
|
577
|
-
isMetapool: false,
|
|
578
|
-
isUSDPool: true,
|
|
579
|
-
lpToken: {
|
|
580
|
-
address: '0xADeac0343C2Ac62DFE5A5f51E896AefFF5Ab513E',
|
|
581
|
-
decimals: 18,
|
|
582
|
-
},
|
|
583
|
-
},
|
|
584
|
-
nUSDV3: {
|
|
585
|
-
name: 'nUSDV3',
|
|
586
|
-
address: '0x9Dd329F5411466d9e0C488fF72519CA9fEf0cb40',
|
|
587
|
-
coins: [
|
|
588
|
-
{
|
|
589
|
-
address: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688', // 0 - nUSD
|
|
590
|
-
decimals: 18,
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // 1 - USDC
|
|
594
|
-
decimals: 6,
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // 2 - USDT
|
|
598
|
-
decimals: 6,
|
|
599
|
-
},
|
|
600
|
-
],
|
|
601
|
-
isMetapool: false,
|
|
602
|
-
isUSDPool: true,
|
|
603
|
-
lpToken: {
|
|
604
|
-
address: '0xcFd72be67Ee69A0dd7cF0f846Fc0D98C33d60F16',
|
|
605
|
-
decimals: 18,
|
|
606
|
-
},
|
|
607
|
-
},
|
|
608
|
-
},
|
|
609
|
-
abi: axialPoolABI,
|
|
610
|
-
},
|
|
611
|
-
},
|
|
612
|
-
};
|
|
613
|
-
|
|
614
|
-
export const NERVE_GAS_COST = 200 * 1000;
|
|
615
|
-
|
|
616
|
-
export const Adapters: Record<number, AdapterMappings> = {
|
|
617
|
-
[Network.BSC]: {
|
|
618
|
-
[SwapSide.SELL]: [{ name: 'BscAdapter01', index: 4 }],
|
|
619
|
-
},
|
|
620
|
-
[Network.AVALANCHE]: {
|
|
621
|
-
[SwapSide.SELL]: [{ name: 'AvalancheAdapter01', index: 3 }],
|
|
622
|
-
},
|
|
623
|
-
[Network.POLYGON]: {
|
|
624
|
-
[SwapSide.SELL]: [{ name: 'PolygonAdapter01', index: 7 }],
|
|
625
|
-
},
|
|
626
|
-
[Network.MAINNET]: {
|
|
627
|
-
[SwapSide.SELL]: [{ name: 'Adapter02', index: 8 }],
|
|
628
|
-
},
|
|
629
|
-
[Network.FANTOM]: {
|
|
630
|
-
[SwapSide.SELL]: [{ name: 'FantomAdapter01', index: 7 }],
|
|
631
|
-
},
|
|
632
|
-
[Network.ARBITRUM]: {
|
|
633
|
-
[SwapSide.SELL]: [{ name: 'ArbitrumAdapter01', index: 8 }],
|
|
634
|
-
},
|
|
635
|
-
};
|
|
1
|
+
import { SwapSide } from '@paraswap/core';
|
|
2
|
+
import { DexParams } from './types';
|
|
3
|
+
import { AdapterMappings, DexConfigMap } from '../../types';
|
|
4
|
+
import { Network } from '../../constants';
|
|
5
|
+
import nervePoolABI from '../../abi/nerve/nerve-pool.json';
|
|
6
|
+
import axialPoolABI from '../../abi/nerve/axial-pool.json';
|
|
7
|
+
import ironV2PoolABI from '../../abi/nerve/iron-v2-pool.json';
|
|
8
|
+
|
|
9
|
+
export const threePoolName = 'ThreePool';
|
|
10
|
+
|
|
11
|
+
// The order of the coins must be places with the same indexes as in contracts
|
|
12
|
+
export const NerveConfig: DexConfigMap<DexParams> = {
|
|
13
|
+
Nerve: {
|
|
14
|
+
[Network.BSC]: {
|
|
15
|
+
poolConfigs: {
|
|
16
|
+
[threePoolName]: {
|
|
17
|
+
name: threePoolName,
|
|
18
|
+
address: '0x1B3771a66ee31180906972580adE9b81AFc5fCDc',
|
|
19
|
+
coins: [
|
|
20
|
+
{
|
|
21
|
+
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 0 - BUSD
|
|
22
|
+
decimals: 18,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
address: '0x55d398326f99059fF775485246999027B3197955', // 1 - USDT
|
|
26
|
+
decimals: 18,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 2 - USDC
|
|
30
|
+
decimals: 18,
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
isMetapool: false,
|
|
34
|
+
isUSDPool: true,
|
|
35
|
+
lpToken: {
|
|
36
|
+
address: '0xf2511b5E4FB0e5E2d123004b672BA14850478C14',
|
|
37
|
+
decimals: 18,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
BTC: {
|
|
41
|
+
name: 'BTC',
|
|
42
|
+
address: '0x6C341938bB75dDe823FAAfe7f446925c66E6270c',
|
|
43
|
+
coins: [
|
|
44
|
+
{
|
|
45
|
+
address: '0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c', // 0 - bBTC
|
|
46
|
+
decimals: 18,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
address: '0x54261774905f3e6E9718f2ABb10ed6555cae308a', // 1 - anyBTC
|
|
50
|
+
decimals: 8,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
isMetapool: false,
|
|
54
|
+
isUSDPool: false,
|
|
55
|
+
lpToken: {
|
|
56
|
+
address: '0xD1D5Af92C606C6F2eC59D453f57A6FCc188D7dB5',
|
|
57
|
+
decimals: 18,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
ETH: {
|
|
61
|
+
name: 'ETH',
|
|
62
|
+
address: '0x146CD24dCc9f4EB224DFd010c5Bf2b0D25aFA9C0',
|
|
63
|
+
coins: [
|
|
64
|
+
{
|
|
65
|
+
address: '0x2170Ed0880ac9A755fd29B2688956BD959F933F8', // 0 - bETH
|
|
66
|
+
decimals: 18,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
address: '0x6F817a0cE8F7640Add3bC0c1C2298635043c2423', // 1 - anyETH
|
|
70
|
+
decimals: 18,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
isMetapool: false,
|
|
74
|
+
isUSDPool: false,
|
|
75
|
+
lpToken: {
|
|
76
|
+
address: '0x0d283BF16A9bdE49cfC48d8dc050AF28b71bdD90',
|
|
77
|
+
decimals: 18,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
// fUSDT: {
|
|
81
|
+
// name: 'fUSDT',
|
|
82
|
+
// address: '0xd0fBF0A224563D5fFc8A57e4fdA6Ae080EbCf3D3',
|
|
83
|
+
// coins: [
|
|
84
|
+
// '0x049d68029688eAbF473097a2fC38ef61633A3C7A', // 0 - fUSDT
|
|
85
|
+
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
86
|
+
// ],
|
|
87
|
+
// isMetapool: true,
|
|
88
|
+
// lpTokenAddress: '0x2e91A0CECf28c5E518bB2E7fdcd9F8e2cd511c10',
|
|
89
|
+
// },
|
|
90
|
+
// UST: {
|
|
91
|
+
// name: 'UST',
|
|
92
|
+
// address: '0x2dcCe1586b1664f41C72206900e404Ec3cA130e0',
|
|
93
|
+
// coins: [
|
|
94
|
+
// '0x23396cF899Ca06c4472205fC903bDB4de249D6fC', // 0 - wUST
|
|
95
|
+
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
96
|
+
// ],
|
|
97
|
+
// isMetapool: true,
|
|
98
|
+
// lpTokenAddress: '0x35Ce243e0DC9eD77e3C348Bb2742095F78e1Cb70',
|
|
99
|
+
// },
|
|
100
|
+
// rUSD: {
|
|
101
|
+
// name: 'rUSD',
|
|
102
|
+
// address: '0x0eafaa7ed9866c1f08ac21dd0ef3395e910f7114',
|
|
103
|
+
// coins: [
|
|
104
|
+
// '0x07663837218A003e66310a01596af4bf4e44623D', // 0 - rUSD
|
|
105
|
+
// '0xf2511b5E4FB0e5E2d123004b672BA14850478C14', // 1 - 3Pool-LP
|
|
106
|
+
// ],
|
|
107
|
+
// isMetapool: true,
|
|
108
|
+
// lpTokenAddress: '0x870ee4d19c12A789c61de69E3E5eFb42383E4434',
|
|
109
|
+
// },
|
|
110
|
+
},
|
|
111
|
+
abi: nervePoolABI,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
Axial: {
|
|
115
|
+
[Network.AVALANCHE]: {
|
|
116
|
+
poolConfigs: {
|
|
117
|
+
AS4D: {
|
|
118
|
+
name: 'AS4D',
|
|
119
|
+
address: '0x2a716c4933A20Cd8B9f9D9C39Ae7196A85c24228',
|
|
120
|
+
coins: [
|
|
121
|
+
{
|
|
122
|
+
address: '0x1C20E891Bab6b1727d14Da358FAe2984Ed9B59EB', // 0 - TUSD
|
|
123
|
+
decimals: 18,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
127
|
+
decimals: 6,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 2 - DAI.e
|
|
131
|
+
decimals: 18,
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 3 - USDT.e
|
|
135
|
+
decimals: 6,
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
isMetapool: false,
|
|
139
|
+
isUSDPool: true,
|
|
140
|
+
lpToken: {
|
|
141
|
+
address: '0x3a7387f8ba3ebffa4a0eccb1733e940ce2275d3f',
|
|
142
|
+
decimals: 18,
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
AC4D: {
|
|
146
|
+
name: 'AC4D',
|
|
147
|
+
address: '0x8c3c1C6F971C01481150CA7942bD2bbB9Bc27bC7',
|
|
148
|
+
coins: [
|
|
149
|
+
{
|
|
150
|
+
address: '0x4fbf0429599460D327BD5F55625E30E4fC066095', // 0 - TSD
|
|
151
|
+
decimals: 18,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 1 - MIM
|
|
155
|
+
decimals: 18,
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
address: '0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64', // 2 - FRAX
|
|
159
|
+
decimals: 18,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 3 - DAI.e
|
|
163
|
+
decimals: 18,
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
isMetapool: false,
|
|
167
|
+
isUSDPool: true,
|
|
168
|
+
lpToken: {
|
|
169
|
+
address: '0x4da067E13974A4d32D342d86fBBbE4fb0f95f382',
|
|
170
|
+
decimals: 18,
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
AM3D: {
|
|
174
|
+
name: 'AM3D',
|
|
175
|
+
address: '0x90c7b96AD2142166D001B27b5fbc128494CDfBc8',
|
|
176
|
+
coins: [
|
|
177
|
+
{
|
|
178
|
+
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 0 - MIM
|
|
179
|
+
decimals: 18,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
183
|
+
decimals: 6,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 2 - DAI.e
|
|
187
|
+
decimals: 18,
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
isMetapool: false,
|
|
191
|
+
isUSDPool: true,
|
|
192
|
+
lpToken: {
|
|
193
|
+
address: '0xc161E4B11FaF62584EFCD2100cCB461A2DdE64D1',
|
|
194
|
+
decimals: 18,
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
AA3D: {
|
|
198
|
+
name: 'AA3D',
|
|
199
|
+
address: '0x6EfbC734D91b229BE29137cf9fE531C1D3bf4Da6',
|
|
200
|
+
coins: [
|
|
201
|
+
{
|
|
202
|
+
address: '0x346A59146b9b4a77100D369a3d18E8007A9F46a6', // 0 - AVAI
|
|
203
|
+
decimals: 18,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 1 - MIM
|
|
207
|
+
decimals: 18,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
211
|
+
decimals: 6,
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
isMetapool: false,
|
|
215
|
+
isUSDPool: true,
|
|
216
|
+
lpToken: {
|
|
217
|
+
address: '0xaD556e7dc377d9089C6564f9E8d275f5EE4da22d',
|
|
218
|
+
decimals: 18,
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
SCALES: {
|
|
222
|
+
name: 'SCALES',
|
|
223
|
+
address: '0xfD24d41B7C4C7C8Cd363Dd3FF6f49C99c8280430',
|
|
224
|
+
coins: [
|
|
225
|
+
{
|
|
226
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 0 - DAI.e
|
|
227
|
+
decimals: 18,
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 1 - USDT.e
|
|
231
|
+
decimals: 6,
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
235
|
+
decimals: 6,
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // 3 - USDC
|
|
239
|
+
decimals: 6,
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
isMetapool: false,
|
|
243
|
+
isUSDPool: true,
|
|
244
|
+
lpToken: {
|
|
245
|
+
address: '0x556FB44205549c115e83A58d91522B14340Fb8d3',
|
|
246
|
+
decimals: 18,
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
HERO: {
|
|
250
|
+
name: 'HERO',
|
|
251
|
+
address: '0xa0f6397FEBB03021F9BeF25134DE79835a24D76e',
|
|
252
|
+
coins: [
|
|
253
|
+
{
|
|
254
|
+
address: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E', // 0 - USDC
|
|
255
|
+
decimals: 6,
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
address: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7', // 1 - USDT
|
|
259
|
+
decimals: 6,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
address: '0x130966628846BFd36ff31a822705796e8cb8C18D', // 2 - MIM
|
|
263
|
+
decimals: 18,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
address: '0x111111111111ed1D73f860F57b2798b683f2d325', // 3 - YUSD
|
|
267
|
+
decimals: 18,
|
|
268
|
+
},
|
|
269
|
+
],
|
|
270
|
+
isMetapool: false,
|
|
271
|
+
isUSDPool: true,
|
|
272
|
+
lpToken: {
|
|
273
|
+
address: '0x73fA690aE97CdE1426d144E5f7406895fEa715E4',
|
|
274
|
+
decimals: 18,
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
abi: axialPoolABI,
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
IronV2: {
|
|
282
|
+
[Network.POLYGON]: {
|
|
283
|
+
poolConfigs: {
|
|
284
|
+
IS3USD_POLYGON: {
|
|
285
|
+
name: 'IS3USD_POLYGON',
|
|
286
|
+
address: '0x837503e8A8753ae17fB8C8151B8e6f586defCb57',
|
|
287
|
+
coins: [
|
|
288
|
+
{
|
|
289
|
+
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 0 - USDC
|
|
290
|
+
decimals: 6,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 1 - USDT
|
|
294
|
+
decimals: 6,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 2 - DAI
|
|
298
|
+
decimals: 18,
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
isMetapool: false,
|
|
302
|
+
isUSDPool: true,
|
|
303
|
+
lpToken: {
|
|
304
|
+
address: '0xb4d09ff3dA7f9e9A2BA029cb0A81A989fd7B8f17',
|
|
305
|
+
decimals: 18,
|
|
306
|
+
},
|
|
307
|
+
},
|
|
308
|
+
},
|
|
309
|
+
abi: ironV2PoolABI,
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
Synapse: {
|
|
313
|
+
[Network.MAINNET]: {
|
|
314
|
+
poolConfigs: {
|
|
315
|
+
stableSwapPool: {
|
|
316
|
+
name: 'stableSwapPool',
|
|
317
|
+
address: '0x1116898dda4015ed8ddefb84b6e8bc24528af2d8',
|
|
318
|
+
coins: [
|
|
319
|
+
{
|
|
320
|
+
address: '0x6B175474E89094C44Da98b954EedeAC495271d0F', // 0 - DAI
|
|
321
|
+
decimals: 18,
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // 1 - USDC
|
|
325
|
+
decimals: 6,
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
address: '0xdAC17F958D2ee523a2206206994597C13D831ec7', // 2 - USDT
|
|
329
|
+
decimals: 6,
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
isMetapool: false,
|
|
333
|
+
isUSDPool: true,
|
|
334
|
+
lpToken: {
|
|
335
|
+
address: '0x1B84765dE8B7566e4cEAF4D0fD3c5aF52D3DdE4F',
|
|
336
|
+
decimals: 18,
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
abi: axialPoolABI,
|
|
341
|
+
},
|
|
342
|
+
[Network.BSC]: {
|
|
343
|
+
poolConfigs: {
|
|
344
|
+
USDPool: {
|
|
345
|
+
name: 'USDPool',
|
|
346
|
+
address: '0x938afafb36e8b1ab3347427eb44537f543475cf9',
|
|
347
|
+
coins: [
|
|
348
|
+
{
|
|
349
|
+
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 0 - BUSD
|
|
350
|
+
decimals: 18,
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 1 - USDC
|
|
354
|
+
decimals: 18,
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
address: '0x55d398326f99059fF775485246999027B3197955', // 2 - BSC-USD
|
|
358
|
+
decimals: 18,
|
|
359
|
+
},
|
|
360
|
+
],
|
|
361
|
+
isMetapool: false,
|
|
362
|
+
isUSDPool: true,
|
|
363
|
+
lpToken: {
|
|
364
|
+
address: '0xF0b8B631145d393a767b4387d08Aa09969b2dFed',
|
|
365
|
+
decimals: 18,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
nUSDPoolV2: {
|
|
369
|
+
name: 'nUSDPoolV2',
|
|
370
|
+
address: '0x28ec0B36F0819ecB5005cAB836F4ED5a2eCa4D13',
|
|
371
|
+
coins: [
|
|
372
|
+
{
|
|
373
|
+
address: '0x23b891e5C62E0955ae2bD185990103928Ab817b3', // 0 - nUSD
|
|
374
|
+
decimals: 18,
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
address: '0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56', // 1 - BUSD
|
|
378
|
+
decimals: 18,
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
address: '0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d', // 2 - USDC
|
|
382
|
+
decimals: 18,
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
address: '0x55d398326f99059fF775485246999027B3197955', // 3 - BSC-USD
|
|
386
|
+
decimals: 18,
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
isMetapool: false,
|
|
390
|
+
isUSDPool: true,
|
|
391
|
+
lpToken: {
|
|
392
|
+
address: '0xa4b7Bc06EC817785170C2DbC1dD3ff86CDcdcc4C',
|
|
393
|
+
decimals: 18,
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
abi: axialPoolABI,
|
|
398
|
+
},
|
|
399
|
+
[Network.POLYGON]: {
|
|
400
|
+
poolConfigs: {
|
|
401
|
+
USDPool: {
|
|
402
|
+
name: 'USDPool',
|
|
403
|
+
address: '0x3f52E42783064bEba9C1CFcD2E130D156264ca77',
|
|
404
|
+
coins: [
|
|
405
|
+
{
|
|
406
|
+
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 0 - DAI
|
|
407
|
+
decimals: 18,
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 1 - USDC
|
|
411
|
+
decimals: 6,
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 2 - USDT
|
|
415
|
+
decimals: 6,
|
|
416
|
+
},
|
|
417
|
+
],
|
|
418
|
+
isMetapool: false,
|
|
419
|
+
isUSDPool: true,
|
|
420
|
+
lpToken: {
|
|
421
|
+
address: '0x128A587555d1148766ef4327172129B50EC66E5D',
|
|
422
|
+
decimals: 18,
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
nUSDPoolV2: {
|
|
426
|
+
name: 'nUSDPoolV2',
|
|
427
|
+
address: '0x85fCD7Dd0a1e1A9FCD5FD886ED522dE8221C3EE5',
|
|
428
|
+
coins: [
|
|
429
|
+
{
|
|
430
|
+
address: '0xB6c473756050dE474286bED418B77Aeac39B02aF', // 0 - nUSD
|
|
431
|
+
decimals: 18,
|
|
432
|
+
},
|
|
433
|
+
|
|
434
|
+
{
|
|
435
|
+
address: '0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // 1 - DAI
|
|
436
|
+
decimals: 18,
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
address: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // 2 - USDC
|
|
440
|
+
decimals: 6,
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
address: '0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // 3 - USDT
|
|
444
|
+
decimals: 6,
|
|
445
|
+
},
|
|
446
|
+
],
|
|
447
|
+
isMetapool: false,
|
|
448
|
+
isUSDPool: true,
|
|
449
|
+
lpToken: {
|
|
450
|
+
address: '0x7479e1Bc2F2473f9e78c89B4210eb6d55d33b645',
|
|
451
|
+
decimals: 18,
|
|
452
|
+
},
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
|
+
abi: axialPoolABI,
|
|
456
|
+
},
|
|
457
|
+
[Network.AVALANCHE]: {
|
|
458
|
+
poolConfigs: {
|
|
459
|
+
AaveETHPool: {
|
|
460
|
+
name: 'AaveETHPool',
|
|
461
|
+
address: '0x77a7e60555bC18B4Be44C181b2575eee46212d44',
|
|
462
|
+
coins: [
|
|
463
|
+
{
|
|
464
|
+
address: '0x19E1ae0eE35c0404f835521146206595d37981ae', // 0 - nETH
|
|
465
|
+
decimals: 18,
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
address: '0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21', // 1 - avWETH
|
|
469
|
+
decimals: 18,
|
|
470
|
+
},
|
|
471
|
+
],
|
|
472
|
+
isMetapool: false,
|
|
473
|
+
isUSDPool: false,
|
|
474
|
+
lpToken: {
|
|
475
|
+
address: '0x5dF1dB940dd8fEE0e0eB0C8917cb50b4dfaDF98c',
|
|
476
|
+
decimals: 18,
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
USDPool: {
|
|
480
|
+
name: 'USDPool',
|
|
481
|
+
address: '0xE55e19Fb4F2D85af758950957714292DAC1e25B2',
|
|
482
|
+
coins: [
|
|
483
|
+
{
|
|
484
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 0 - DAI.e
|
|
485
|
+
decimals: 18,
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 1 - USDC.e
|
|
489
|
+
decimals: 6,
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 2 - USDT.e
|
|
493
|
+
decimals: 6,
|
|
494
|
+
},
|
|
495
|
+
],
|
|
496
|
+
isMetapool: false,
|
|
497
|
+
isUSDPool: true,
|
|
498
|
+
lpToken: {
|
|
499
|
+
address: '0x55904F416586b5140A0f666CF5AcF320AdF64846',
|
|
500
|
+
decimals: 18,
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
nUSDV2: {
|
|
504
|
+
name: 'nUSDV2',
|
|
505
|
+
address: '0xED2a7edd7413021d440b09D654f3b87712abAB66',
|
|
506
|
+
coins: [
|
|
507
|
+
{
|
|
508
|
+
address: '0xCFc37A6AB183dd4aED08C204D1c2773c0b1BDf46', // 0 - nUSD
|
|
509
|
+
decimals: 18,
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
address: '0xd586E7F844cEa2F87f50152665BCbc2C279D8d70', // 1 - DAI.e
|
|
513
|
+
decimals: 18,
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
address: '0xA7D7079b0FEaD91F3e65f86E8915Cb59c1a4C664', // 2 - USDC.e
|
|
517
|
+
decimals: 6,
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
address: '0xc7198437980c041c805A1EDcbA50c1Ce5db95118', // 3 - USDT.e
|
|
521
|
+
decimals: 6,
|
|
522
|
+
},
|
|
523
|
+
],
|
|
524
|
+
isMetapool: false,
|
|
525
|
+
isUSDPool: true,
|
|
526
|
+
lpToken: {
|
|
527
|
+
address: '0xCA87BF3ec55372D9540437d7a86a7750B42C02f4',
|
|
528
|
+
decimals: 18,
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
abi: axialPoolABI,
|
|
533
|
+
},
|
|
534
|
+
[Network.ARBITRUM]: {
|
|
535
|
+
poolConfigs: {
|
|
536
|
+
ArbETHPool: {
|
|
537
|
+
name: 'ArbETHPool',
|
|
538
|
+
address: '0xa067668661C84476aFcDc6fA5D758C4c01C34352',
|
|
539
|
+
coins: [
|
|
540
|
+
{
|
|
541
|
+
address: '0x3ea9B0ab55F34Fb188824Ee288CeaEfC63cf908e', // 0 - nETH
|
|
542
|
+
decimals: 18,
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
address: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', // 1 - WETH
|
|
546
|
+
decimals: 18,
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
isMetapool: false,
|
|
550
|
+
isUSDPool: false,
|
|
551
|
+
lpToken: {
|
|
552
|
+
address: '0xD70A52248e546A3B260849386410C7170c7BD1E9',
|
|
553
|
+
decimals: 18,
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
nUSDV2: {
|
|
557
|
+
name: 'nUSDV2',
|
|
558
|
+
address: '0x0Db3FE3B770c95A0B99D1Ed6F2627933466c0Dd8',
|
|
559
|
+
coins: [
|
|
560
|
+
{
|
|
561
|
+
address: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688', // 0 - nUSD
|
|
562
|
+
decimals: 18,
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
address: '0xFEa7a6a0B346362BF88A9e4A88416B77a57D6c2A', // 1 - MIM
|
|
566
|
+
decimals: 18,
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // 2 - USDC
|
|
570
|
+
decimals: 6,
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // 3 - USDT
|
|
574
|
+
decimals: 6,
|
|
575
|
+
},
|
|
576
|
+
],
|
|
577
|
+
isMetapool: false,
|
|
578
|
+
isUSDPool: true,
|
|
579
|
+
lpToken: {
|
|
580
|
+
address: '0xADeac0343C2Ac62DFE5A5f51E896AefFF5Ab513E',
|
|
581
|
+
decimals: 18,
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
nUSDV3: {
|
|
585
|
+
name: 'nUSDV3',
|
|
586
|
+
address: '0x9Dd329F5411466d9e0C488fF72519CA9fEf0cb40',
|
|
587
|
+
coins: [
|
|
588
|
+
{
|
|
589
|
+
address: '0x2913E812Cf0dcCA30FB28E6Cac3d2DCFF4497688', // 0 - nUSD
|
|
590
|
+
decimals: 18,
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
address: '0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // 1 - USDC
|
|
594
|
+
decimals: 6,
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
address: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // 2 - USDT
|
|
598
|
+
decimals: 6,
|
|
599
|
+
},
|
|
600
|
+
],
|
|
601
|
+
isMetapool: false,
|
|
602
|
+
isUSDPool: true,
|
|
603
|
+
lpToken: {
|
|
604
|
+
address: '0xcFd72be67Ee69A0dd7cF0f846Fc0D98C33d60F16',
|
|
605
|
+
decimals: 18,
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
abi: axialPoolABI,
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
export const NERVE_GAS_COST = 200 * 1000;
|
|
615
|
+
|
|
616
|
+
export const Adapters: Record<number, AdapterMappings> = {
|
|
617
|
+
[Network.BSC]: {
|
|
618
|
+
[SwapSide.SELL]: [{ name: 'BscAdapter01', index: 4 }],
|
|
619
|
+
},
|
|
620
|
+
[Network.AVALANCHE]: {
|
|
621
|
+
[SwapSide.SELL]: [{ name: 'AvalancheAdapter01', index: 3 }],
|
|
622
|
+
},
|
|
623
|
+
[Network.POLYGON]: {
|
|
624
|
+
[SwapSide.SELL]: [{ name: 'PolygonAdapter01', index: 7 }],
|
|
625
|
+
},
|
|
626
|
+
[Network.MAINNET]: {
|
|
627
|
+
[SwapSide.SELL]: [{ name: 'Adapter02', index: 8 }],
|
|
628
|
+
},
|
|
629
|
+
[Network.FANTOM]: {
|
|
630
|
+
[SwapSide.SELL]: [{ name: 'FantomAdapter01', index: 7 }],
|
|
631
|
+
},
|
|
632
|
+
[Network.ARBITRUM]: {
|
|
633
|
+
[SwapSide.SELL]: [{ name: 'ArbitrumAdapter01', index: 8 }],
|
|
634
|
+
},
|
|
635
|
+
};
|