@paraswap/dex-lib 2.42.20-hashflow-v3 → 2.42.20-hashflow-v3.3
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/build/config.js +14 -14
- package/package.json +1 -1
- package/src/config.ts +14 -14
- package/tests/constants-e2e.ts +2 -2
package/build/config.js
CHANGED
|
@@ -20,9 +20,9 @@ const baseConfigs = {
|
|
|
20
20
|
adapterAddresses: {
|
|
21
21
|
Adapter01: '0x9bE264469eF954c139Da4A45Cf76CbCC5e3A6A73',
|
|
22
22
|
Adapter02: '0xFC2Ba6E830a04C25e207B8214b26d8C713F6881F',
|
|
23
|
-
Adapter03: '
|
|
23
|
+
Adapter03: '0xBAEeb4540f59d30E567a5B563CC0c4587eDd9366',
|
|
24
24
|
Adapter04: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
25
|
-
BuyAdapter: '
|
|
25
|
+
BuyAdapter: '0x84bEF12C9931cE12662cc9F2366b6a5029E4BD29',
|
|
26
26
|
BuyAdapter02: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
27
27
|
},
|
|
28
28
|
uniswapV2ExchangeRouterAddress: '0xF9234CB08edb93c0d4a4d4c70cC3FfD070e78e07',
|
|
@@ -128,8 +128,8 @@ const baseConfigs = {
|
|
|
128
128
|
hashFlowDisabledMMs: process.env[`HASHFLOW_DISABLED_MMS_56`]?.split(',') || [],
|
|
129
129
|
adapterAddresses: {
|
|
130
130
|
BscAdapter01: '0xA31d9C571DF00e0F428B0bD24c34D103E8112222',
|
|
131
|
-
BscAdapter02: '
|
|
132
|
-
BscBuyAdapter: '
|
|
131
|
+
BscAdapter02: '0x84bEF12C9931cE12662cc9F2366b6a5029E4BD29',
|
|
132
|
+
BscBuyAdapter: '0xBAEeb4540f59d30E567a5B563CC0c4587eDd9366',
|
|
133
133
|
},
|
|
134
134
|
rpcPollingMaxAllowedStateDelayInBlocks: 1,
|
|
135
135
|
rpcPollingBlocksBackToTriggerUpdate: 1,
|
|
@@ -154,8 +154,8 @@ const baseConfigs = {
|
|
|
154
154
|
hashFlowDisabledMMs: process.env[`HASHFLOW_DISABLED_MMS_137`]?.split(',') || [],
|
|
155
155
|
adapterAddresses: {
|
|
156
156
|
PolygonAdapter01: '0xE44769f42E1e9592f86B82f206407a8f7C84b4ed',
|
|
157
|
-
PolygonAdapter02: '
|
|
158
|
-
PolygonBuyAdapter: '
|
|
157
|
+
PolygonAdapter02: '0xEECA9223063bD13e8ca77ed9e39a07f2BD1923E6',
|
|
158
|
+
PolygonBuyAdapter: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
159
159
|
},
|
|
160
160
|
uniswapV2ExchangeRouterAddress: '0xf3938337F7294fEf84e9B2c6D548A93F956Cc281',
|
|
161
161
|
uniswapV3EventLoggingSampleRate: 0,
|
|
@@ -183,8 +183,8 @@ const baseConfigs = {
|
|
|
183
183
|
dexalotAuthToken: process.env.API_KEY_DEXALOT_AUTH_TOKEN || '',
|
|
184
184
|
adapterAddresses: {
|
|
185
185
|
AvalancheAdapter01: '0x745Ec73855CeC7249E5fF4c9DD81cc65b4D297a9',
|
|
186
|
-
AvalancheAdapter02: '
|
|
187
|
-
AvalancheBuyAdapter: '
|
|
186
|
+
AvalancheAdapter02: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
187
|
+
AvalancheBuyAdapter: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
188
188
|
},
|
|
189
189
|
uniswapV2ExchangeRouterAddress: '0x53e693c6C7FFC4446c53B205Cf513105Bf140D7b',
|
|
190
190
|
rfqConfigs: {},
|
|
@@ -234,9 +234,9 @@ const baseConfigs = {
|
|
|
234
234
|
swaapV2AuthToken: process.env.API_KEY_SWAAP_V2_AUTH_TOKEN || '',
|
|
235
235
|
hashFlowDisabledMMs: process.env[`HASHFLOW_DISABLED_MMS_42161`]?.split(',') || [],
|
|
236
236
|
adapterAddresses: {
|
|
237
|
-
ArbitrumAdapter01: '
|
|
238
|
-
ArbitrumAdapter02: '
|
|
239
|
-
ArbitrumBuyAdapter: '
|
|
237
|
+
ArbitrumAdapter01: '0x369A2FDb910d432f0a07381a5E3d27572c876713',
|
|
238
|
+
ArbitrumAdapter02: '0xe9166234DFB6d3ec05C82404109C02Ca82b16c22',
|
|
239
|
+
ArbitrumBuyAdapter: '0xe53d24CD81cC81bbf271AD7B02D0d67f851D727c',
|
|
240
240
|
},
|
|
241
241
|
uniswapV2ExchangeRouterAddress: '0xB41dD984730dAf82f5C41489E21ac79D5e3B61bC',
|
|
242
242
|
uniswapV3EventLoggingSampleRate: 0,
|
|
@@ -261,8 +261,8 @@ const baseConfigs = {
|
|
|
261
261
|
hashFlowAuthToken: process.env.API_KEY_HASHFLOW_AUTH_TOKEN || '',
|
|
262
262
|
hashFlowDisabledMMs: process.env[`HASHFLOW_DISABLED_MMS_10`]?.split(',') || [],
|
|
263
263
|
adapterAddresses: {
|
|
264
|
-
OptimismAdapter01: '
|
|
265
|
-
OptimismBuyAdapter: '
|
|
264
|
+
OptimismAdapter01: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
265
|
+
OptimismBuyAdapter: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
266
266
|
},
|
|
267
267
|
uniswapV2ExchangeRouterAddress: '0xB41dD984730dAf82f5C41489E21ac79D5e3B61bC',
|
|
268
268
|
uniswapV3EventLoggingSampleRate: 0,
|
|
@@ -314,7 +314,7 @@ const baseConfigs = {
|
|
|
314
314
|
hashFlowAuthToken: process.env.API_KEY_HASHFLOW_AUTH_TOKEN || '',
|
|
315
315
|
hashFlowDisabledMMs: [],
|
|
316
316
|
adapterAddresses: {
|
|
317
|
-
BaseAdapter01: '
|
|
317
|
+
BaseAdapter01: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
318
318
|
BaseBuyAdapter: '0xB11bCA7B01b425afD0743A4D77B4f593883f94C0',
|
|
319
319
|
},
|
|
320
320
|
uniswapV2ExchangeRouterAddress: '0x75d199EfB540e47D27D52c62Da3E7daC2B9e834F',
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -51,9 +51,9 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
51
51
|
adapterAddresses: {
|
|
52
52
|
Adapter01: '0x9bE264469eF954c139Da4A45Cf76CbCC5e3A6A73',
|
|
53
53
|
Adapter02: '0xFC2Ba6E830a04C25e207B8214b26d8C713F6881F',
|
|
54
|
-
Adapter03: '
|
|
54
|
+
Adapter03: '0xBAEeb4540f59d30E567a5B563CC0c4587eDd9366',
|
|
55
55
|
Adapter04: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
56
|
-
BuyAdapter: '
|
|
56
|
+
BuyAdapter: '0x84bEF12C9931cE12662cc9F2366b6a5029E4BD29',
|
|
57
57
|
BuyAdapter02: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
58
58
|
},
|
|
59
59
|
uniswapV2ExchangeRouterAddress:
|
|
@@ -165,8 +165,8 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
165
165
|
process.env[`HASHFLOW_DISABLED_MMS_56`]?.split(',') || [],
|
|
166
166
|
adapterAddresses: {
|
|
167
167
|
BscAdapter01: '0xA31d9C571DF00e0F428B0bD24c34D103E8112222',
|
|
168
|
-
BscAdapter02: '
|
|
169
|
-
BscBuyAdapter: '
|
|
168
|
+
BscAdapter02: '0x84bEF12C9931cE12662cc9F2366b6a5029E4BD29',
|
|
169
|
+
BscBuyAdapter: '0xBAEeb4540f59d30E567a5B563CC0c4587eDd9366',
|
|
170
170
|
},
|
|
171
171
|
rpcPollingMaxAllowedStateDelayInBlocks: 1,
|
|
172
172
|
rpcPollingBlocksBackToTriggerUpdate: 1,
|
|
@@ -193,8 +193,8 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
193
193
|
process.env[`HASHFLOW_DISABLED_MMS_137`]?.split(',') || [],
|
|
194
194
|
adapterAddresses: {
|
|
195
195
|
PolygonAdapter01: '0xE44769f42E1e9592f86B82f206407a8f7C84b4ed',
|
|
196
|
-
PolygonAdapter02: '
|
|
197
|
-
PolygonBuyAdapter: '
|
|
196
|
+
PolygonAdapter02: '0xEECA9223063bD13e8ca77ed9e39a07f2BD1923E6',
|
|
197
|
+
PolygonBuyAdapter: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
198
198
|
},
|
|
199
199
|
uniswapV2ExchangeRouterAddress:
|
|
200
200
|
'0xf3938337F7294fEf84e9B2c6D548A93F956Cc281',
|
|
@@ -224,8 +224,8 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
224
224
|
dexalotAuthToken: process.env.API_KEY_DEXALOT_AUTH_TOKEN || '',
|
|
225
225
|
adapterAddresses: {
|
|
226
226
|
AvalancheAdapter01: '0x745Ec73855CeC7249E5fF4c9DD81cc65b4D297a9',
|
|
227
|
-
AvalancheAdapter02: '
|
|
228
|
-
AvalancheBuyAdapter: '
|
|
227
|
+
AvalancheAdapter02: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
228
|
+
AvalancheBuyAdapter: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
229
229
|
},
|
|
230
230
|
uniswapV2ExchangeRouterAddress:
|
|
231
231
|
'0x53e693c6C7FFC4446c53B205Cf513105Bf140D7b',
|
|
@@ -280,9 +280,9 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
280
280
|
hashFlowDisabledMMs:
|
|
281
281
|
process.env[`HASHFLOW_DISABLED_MMS_42161`]?.split(',') || [],
|
|
282
282
|
adapterAddresses: {
|
|
283
|
-
ArbitrumAdapter01: '
|
|
284
|
-
ArbitrumAdapter02: '
|
|
285
|
-
ArbitrumBuyAdapter: '
|
|
283
|
+
ArbitrumAdapter01: '0x369A2FDb910d432f0a07381a5E3d27572c876713',
|
|
284
|
+
ArbitrumAdapter02: '0xe9166234DFB6d3ec05C82404109C02Ca82b16c22',
|
|
285
|
+
ArbitrumBuyAdapter: '0xe53d24CD81cC81bbf271AD7B02D0d67f851D727c',
|
|
286
286
|
},
|
|
287
287
|
uniswapV2ExchangeRouterAddress:
|
|
288
288
|
'0xB41dD984730dAf82f5C41489E21ac79D5e3B61bC',
|
|
@@ -310,8 +310,8 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
310
310
|
process.env[`HASHFLOW_DISABLED_MMS_10`]?.split(',') || [],
|
|
311
311
|
|
|
312
312
|
adapterAddresses: {
|
|
313
|
-
OptimismAdapter01: '
|
|
314
|
-
OptimismBuyAdapter: '
|
|
313
|
+
OptimismAdapter01: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
314
|
+
OptimismBuyAdapter: '0xA10c9a84E72d9DfF424Fe2284B6460784bed407E',
|
|
315
315
|
},
|
|
316
316
|
uniswapV2ExchangeRouterAddress:
|
|
317
317
|
'0xB41dD984730dAf82f5C41489E21ac79D5e3B61bC',
|
|
@@ -366,7 +366,7 @@ const baseConfigs: { [network: number]: BaseConfig } = {
|
|
|
366
366
|
hashFlowAuthToken: process.env.API_KEY_HASHFLOW_AUTH_TOKEN || '',
|
|
367
367
|
hashFlowDisabledMMs: [],
|
|
368
368
|
adapterAddresses: {
|
|
369
|
-
BaseAdapter01: '
|
|
369
|
+
BaseAdapter01: '0x654dE10890f8B2C5bF54E50Af169a7E93165C416',
|
|
370
370
|
BaseBuyAdapter: '0xB11bCA7B01b425afD0743A4D77B4f593883f94C0',
|
|
371
371
|
},
|
|
372
372
|
uniswapV2ExchangeRouterAddress:
|
package/tests/constants-e2e.ts
CHANGED
|
@@ -1150,7 +1150,7 @@ export const Holders: {
|
|
|
1150
1150
|
DAI: '0x07d7f291e731a41d3f0ea4f1ae5b6d920ffb3fe0',
|
|
1151
1151
|
WETH: '0xc31e54c7a869b9fcbecc14363cf510d1c41fa443',
|
|
1152
1152
|
USDCe: '0x62383739d68dd0f844103db8dfb05a7eded5bbe6',
|
|
1153
|
-
USDC: '
|
|
1153
|
+
USDC: '0x463f5d63e5a5edb8615b0e485a090a18aba08578',
|
|
1154
1154
|
OHM: '0xebce5f29ff5ca9aa330ebdf7ec6b5f474bff271e',
|
|
1155
1155
|
USDT: '0x5ff47d4ab75bcaff6807c81f1367abb53439883c',
|
|
1156
1156
|
POPS: '0x4b78b52e7de4d8b7d367297cb8a87c1875a9d591',
|
|
@@ -1173,7 +1173,7 @@ export const Holders: {
|
|
|
1173
1173
|
DAI: '0x1337bedc9d22ecbe766df105c9623922a27963ec',
|
|
1174
1174
|
WETH: '0x68F5C0A2DE713a54991E01858Fd27a3832401849',
|
|
1175
1175
|
POPS: '0x3cbd9044aaabef08ce93a68448e093cff405ad76',
|
|
1176
|
-
USDC: '
|
|
1176
|
+
USDC: ' 0x9f7b6e20bc64f12adaabeb739ead802fc7765d03',
|
|
1177
1177
|
USDT: '0xEBb8EA128BbdFf9a1780A4902A9380022371d466',
|
|
1178
1178
|
OP: '0xEBb8EA128BbdFf9a1780A4902A9380022371d466',
|
|
1179
1179
|
aOptWETH: '0x7B7D80C40415F744864f051B806b466e2fbB8E68',
|