@paraswap/dex-lib 4.6.13 → 4.6.15
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/abi/miro-migrator/MiroMigrator.abi.json +19 -36
- package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +796 -0
- package/build/abi/ring-v2/few-wrapped-token.json +587 -0
- package/build/abi/ring-v2/ring-v2-factory.json +125 -0
- package/build/abi/ring-v2/ring-v2-pool.json +461 -0
- package/build/abi/ring-v2/ring-v2-router.json +332 -0
- package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +682 -0
- package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +1335 -0
- package/build/abi/usual-usual-usdc/abi.json +698 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +39 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +244 -0
- package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/config.d.ts +3 -0
- package/build/dex/aave-pt-to-underlying/config.js +47 -0
- package/build/dex/aave-pt-to-underlying/config.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-underlying/constants.js +6 -0
- package/build/dex/aave-pt-to-underlying/constants.js.map +1 -0
- package/build/dex/aave-pt-to-underlying/types.d.ts +22 -0
- package/build/dex/aave-pt-to-underlying/types.js +3 -0
- package/build/dex/aave-pt-to-underlying/types.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +39 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +244 -0
- package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/config.d.ts +3 -0
- package/build/dex/aave-pt-to-usdc/config.js +47 -0
- package/build/dex/aave-pt-to-usdc/config.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/constants.d.ts +2 -0
- package/build/dex/aave-pt-to-usdc/constants.js +6 -0
- package/build/dex/aave-pt-to-usdc/constants.js.map +1 -0
- package/build/dex/aave-pt-to-usdc/types.d.ts +22 -0
- package/build/dex/aave-pt-to-usdc/types.js +3 -0
- package/build/dex/aave-pt-to-usdc/types.js.map +1 -0
- package/build/dex/algebra/lib/AlgebraMath.js +3 -13
- package/build/dex/algebra/lib/AlgebraMath.js.map +1 -1
- package/build/dex/algebra/lib/TickManager.js +0 -5
- package/build/dex/algebra/lib/TickManager.js.map +1 -1
- package/build/dex/ekubo/pools/math/sqrt-ratio.d.ts +8 -0
- package/build/dex/ekubo/pools/math/sqrt-ratio.js +113 -0
- package/build/dex/ekubo/pools/math/sqrt-ratio.js.map +1 -0
- package/build/dex/ekubo/pools/mev-resist.d.ts +7 -0
- package/build/dex/ekubo/pools/mev-resist.js +40 -0
- package/build/dex/ekubo/pools/mev-resist.js.map +1 -0
- package/build/dex/ekubo/pools/pool.d.ts +52 -0
- package/build/dex/ekubo/pools/pool.js +86 -0
- package/build/dex/ekubo/pools/pool.js.map +1 -0
- package/build/dex/idle-dao/idle-dao.d.ts +0 -1
- package/build/dex/idle-dao/idle-dao.js +11 -23
- package/build/dex/idle-dao/idle-dao.js.map +1 -1
- package/build/dex/index.js +2 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/maker-psm/maker-psm.d.ts +41 -4
- package/build/dex/maker-psm/maker-psm.js +143 -40
- package/build/dex/maker-psm/maker-psm.js.map +1 -1
- package/build/dex/miro-migrator/config.js +16 -3
- package/build/dex/miro-migrator/config.js.map +1 -1
- package/build/dex/miro-migrator/constants.d.ts +1 -2
- package/build/dex/miro-migrator/constants.js +2 -3
- package/build/dex/miro-migrator/constants.js.map +1 -1
- package/build/dex/miro-migrator/miro-migrator-pool.d.ts +5 -9
- package/build/dex/miro-migrator/miro-migrator-pool.js +28 -49
- package/build/dex/miro-migrator/miro-migrator-pool.js.map +1 -1
- package/build/dex/miro-migrator/miro-migrator-state.d.ts +27 -0
- package/build/dex/miro-migrator/miro-migrator-state.js +89 -0
- package/build/dex/miro-migrator/miro-migrator-state.js.map +1 -0
- package/build/dex/miro-migrator/miro-migrator.d.ts +4 -5
- package/build/dex/miro-migrator/miro-migrator.js +83 -41
- package/build/dex/miro-migrator/miro-migrator.js.map +1 -1
- package/build/dex/miro-migrator/types.d.ts +4 -2
- package/build/dex/miro-migrator/types.js +2 -1
- package/build/dex/miro-migrator/types.js.map +1 -1
- package/build/dex/pancakeswap-v3/contract-math/Tick.d.ts +1 -1
- package/build/dex/pancakeswap-v3/contract-math/Tick.js +1 -10
- package/build/dex/pancakeswap-v3/contract-math/Tick.js.map +1 -1
- package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.js +3 -11
- package/build/dex/pancakeswap-v3/contract-math/pancakeswap-v3-math.js.map +1 -1
- package/build/dex/sky-converter/config.js +1 -1
- package/build/dex/uniswap-v3/contract-math/Tick.d.ts +1 -1
- package/build/dex/uniswap-v3/contract-math/Tick.js +1 -10
- package/build/dex/uniswap-v3/contract-math/Tick.js.map +1 -1
- package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.js +3 -11
- package/build/dex/uniswap-v3/contract-math/uniswap-v3-math.js.map +1 -1
- package/build/dex/uniswap-v3/contract-math/utils.js +0 -3
- package/build/dex/uniswap-v3/contract-math/utils.js.map +1 -1
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +4 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +56 -0
- package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +1 -0
- package/build/dex/uniswap-v3/types.d.ts +0 -3
- package/build/dex/uniswap-v3/types.js.map +1 -1
- package/build/dex/uniswap-v4/contract-math/Tick.d.ts +1 -1
- package/build/dex/uniswap-v4/contract-math/Tick.js +2 -17
- package/build/dex/uniswap-v4/contract-math/Tick.js.map +1 -1
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.d.ts +3 -8
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js +8 -57
- package/build/dex/uniswap-v4/contract-math/uniswap-v4-pool-math.js.map +1 -1
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +7 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +28 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js +2 -0
- package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +1 -0
- package/build/dex/uniswap-v4/hooks/index.d.ts +2 -0
- package/build/dex/uniswap-v4/hooks/index.js +8 -0
- package/build/dex/uniswap-v4/hooks/index.js.map +1 -0
- package/build/dex/uniswap-v4/types.d.ts +0 -10
- package/build/dex/uniswap-v4/uniswap-v4-pool.d.ts +4 -5
- package/build/dex/uniswap-v4/uniswap-v4-pool.js +4 -42
- package/build/dex/uniswap-v4/uniswap-v4-pool.js.map +1 -1
- package/build/dex/uniswap-v4/uniswap-v4.d.ts +2 -2
- package/build/dex/uniswap-v4/uniswap-v4.js +4 -17
- package/build/dex/uniswap-v4/uniswap-v4.js.map +1 -1
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +26 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +75 -0
- package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +1 -0
- package/build/dex/usual/usdc-usual-usdc.d.ts +17 -0
- package/build/dex/usual/usdc-usual-usdc.js +60 -0
- package/build/dex/usual/usdc-usual-usdc.js.map +1 -0
- package/build/dex/usual/usual-usdc-usd0.d.ts +17 -0
- package/build/dex/usual/usual-usdc-usd0.js +55 -0
- package/build/dex/usual/usual-usdc-usd0.js.map +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"inputs": [
|
|
4
4
|
{
|
|
5
5
|
"components": [
|
|
6
|
-
{ "internalType": "address", "name": "
|
|
6
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
7
7
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
8
8
|
{
|
|
9
9
|
"internalType": "address",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
{ "internalType": "address", "name": "sePSP1", "type": "address" },
|
|
24
24
|
{ "internalType": "address", "name": "sePSP2", "type": "address" },
|
|
25
|
-
{ "internalType": "address", "name": "
|
|
25
|
+
{ "internalType": "address", "name": "seVLR", "type": "address" },
|
|
26
26
|
{
|
|
27
27
|
"internalType": "contract IAcrossSpokePool",
|
|
28
28
|
"name": "spokePool",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
{
|
|
114
114
|
"indexed": true,
|
|
115
115
|
"internalType": "uint256",
|
|
116
|
-
"name": "
|
|
116
|
+
"name": "vlrAmount",
|
|
117
117
|
"type": "uint256"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
@@ -151,13 +151,6 @@
|
|
|
151
151
|
"name": "Unpaused",
|
|
152
152
|
"type": "event"
|
|
153
153
|
},
|
|
154
|
-
{
|
|
155
|
-
"inputs": [],
|
|
156
|
-
"name": "BURN_ADDR",
|
|
157
|
-
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
158
|
-
"stateMutability": "view",
|
|
159
|
-
"type": "function"
|
|
160
|
-
},
|
|
161
154
|
{
|
|
162
155
|
"inputs": [],
|
|
163
156
|
"name": "PSP",
|
|
@@ -181,7 +174,7 @@
|
|
|
181
174
|
},
|
|
182
175
|
{
|
|
183
176
|
"inputs": [],
|
|
184
|
-
"name": "
|
|
177
|
+
"name": "SE_VLR",
|
|
185
178
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
186
179
|
"stateMutability": "view",
|
|
187
180
|
"type": "function"
|
|
@@ -201,14 +194,14 @@
|
|
|
201
194
|
},
|
|
202
195
|
{
|
|
203
196
|
"inputs": [],
|
|
204
|
-
"name": "
|
|
197
|
+
"name": "VLR",
|
|
205
198
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
206
199
|
"stateMutability": "view",
|
|
207
200
|
"type": "function"
|
|
208
201
|
},
|
|
209
202
|
{
|
|
210
203
|
"inputs": [],
|
|
211
|
-
"name": "
|
|
204
|
+
"name": "WETH",
|
|
212
205
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
213
206
|
"stateMutability": "view",
|
|
214
207
|
"type": "function"
|
|
@@ -219,7 +212,7 @@
|
|
|
219
212
|
],
|
|
220
213
|
"name": "bridgeConfigs",
|
|
221
214
|
"outputs": [
|
|
222
|
-
{ "internalType": "address", "name": "
|
|
215
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
223
216
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
224
217
|
{ "internalType": "address", "name": "bridgeStaking", "type": "address" },
|
|
225
218
|
{ "internalType": "uint256", "name": "destChainId", "type": "uint256" }
|
|
@@ -229,7 +222,7 @@
|
|
|
229
222
|
},
|
|
230
223
|
{
|
|
231
224
|
"inputs": [
|
|
232
|
-
{ "internalType": "uint256", "name": "
|
|
225
|
+
{ "internalType": "uint256", "name": "vlrAmount", "type": "uint256" },
|
|
233
226
|
{ "internalType": "uint256", "name": "wethAmount", "type": "uint256" },
|
|
234
227
|
{ "internalType": "uint256", "name": "destChainId", "type": "uint256" },
|
|
235
228
|
{
|
|
@@ -267,7 +260,7 @@
|
|
|
267
260
|
}
|
|
268
261
|
],
|
|
269
262
|
"internalType": "struct IMiroMigrator.BridgeData",
|
|
270
|
-
"name": "
|
|
263
|
+
"name": "vlrBridgeData",
|
|
271
264
|
"type": "tuple"
|
|
272
265
|
},
|
|
273
266
|
{
|
|
@@ -304,7 +297,7 @@
|
|
|
304
297
|
},
|
|
305
298
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
306
299
|
],
|
|
307
|
-
"name": "
|
|
300
|
+
"name": "bridgeVLRAndStake",
|
|
308
301
|
"outputs": [],
|
|
309
302
|
"stateMutability": "payable",
|
|
310
303
|
"type": "function"
|
|
@@ -316,7 +309,7 @@
|
|
|
316
309
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
317
310
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
318
311
|
],
|
|
319
|
-
"name": "
|
|
312
|
+
"name": "migratePSPtoSeVLR",
|
|
320
313
|
"outputs": [],
|
|
321
314
|
"stateMutability": "payable",
|
|
322
315
|
"type": "function"
|
|
@@ -326,7 +319,7 @@
|
|
|
326
319
|
{ "internalType": "uint256", "name": "pspAmount", "type": "uint256" },
|
|
327
320
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
328
321
|
],
|
|
329
|
-
"name": "
|
|
322
|
+
"name": "migratePSPtoVLR",
|
|
330
323
|
"outputs": [],
|
|
331
324
|
"stateMutability": "nonpayable",
|
|
332
325
|
"type": "function"
|
|
@@ -338,7 +331,7 @@
|
|
|
338
331
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
339
332
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
340
333
|
],
|
|
341
|
-
"name": "
|
|
334
|
+
"name": "migrateSePSP1toSeVLR",
|
|
342
335
|
"outputs": [],
|
|
343
336
|
"stateMutability": "payable",
|
|
344
337
|
"type": "function"
|
|
@@ -348,7 +341,7 @@
|
|
|
348
341
|
{ "internalType": "uint256", "name": "sePSP1Amount", "type": "uint256" },
|
|
349
342
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
350
343
|
],
|
|
351
|
-
"name": "
|
|
344
|
+
"name": "migrateSePSP1toVLR",
|
|
352
345
|
"outputs": [],
|
|
353
346
|
"stateMutability": "nonpayable",
|
|
354
347
|
"type": "function"
|
|
@@ -361,7 +354,7 @@
|
|
|
361
354
|
{ "internalType": "uint256", "name": "minBptOut", "type": "uint256" },
|
|
362
355
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
363
356
|
],
|
|
364
|
-
"name": "
|
|
357
|
+
"name": "migrateSePSP2toSeVLR",
|
|
365
358
|
"outputs": [],
|
|
366
359
|
"stateMutability": "nonpayable",
|
|
367
360
|
"type": "function"
|
|
@@ -407,7 +400,7 @@
|
|
|
407
400
|
}
|
|
408
401
|
],
|
|
409
402
|
"internalType": "struct IMiroMigrator.BridgeData",
|
|
410
|
-
"name": "
|
|
403
|
+
"name": "vlrBridgeData",
|
|
411
404
|
"type": "tuple"
|
|
412
405
|
},
|
|
413
406
|
{
|
|
@@ -444,7 +437,7 @@
|
|
|
444
437
|
},
|
|
445
438
|
{ "internalType": "bytes", "name": "permitData", "type": "bytes" }
|
|
446
439
|
],
|
|
447
|
-
"name": "
|
|
440
|
+
"name": "migrateSePSP2toSeVLRAndBridge",
|
|
448
441
|
"outputs": [],
|
|
449
442
|
"stateMutability": "nonpayable",
|
|
450
443
|
"type": "function"
|
|
@@ -470,19 +463,9 @@
|
|
|
470
463
|
"stateMutability": "view",
|
|
471
464
|
"type": "function"
|
|
472
465
|
},
|
|
473
|
-
{
|
|
474
|
-
"inputs": [
|
|
475
|
-
{ "internalType": "address", "name": "token", "type": "address" },
|
|
476
|
-
{ "internalType": "address", "name": "to", "type": "address" }
|
|
477
|
-
],
|
|
478
|
-
"name": "reClaimERC20",
|
|
479
|
-
"outputs": [],
|
|
480
|
-
"stateMutability": "nonpayable",
|
|
481
|
-
"type": "function"
|
|
482
|
-
},
|
|
483
466
|
{
|
|
484
467
|
"inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
|
|
485
|
-
"name": "
|
|
468
|
+
"name": "reClaimVLR",
|
|
486
469
|
"outputs": [],
|
|
487
470
|
"stateMutability": "nonpayable",
|
|
488
471
|
"type": "function"
|
|
@@ -498,7 +481,7 @@
|
|
|
498
481
|
"inputs": [
|
|
499
482
|
{
|
|
500
483
|
"components": [
|
|
501
|
-
{ "internalType": "address", "name": "
|
|
484
|
+
{ "internalType": "address", "name": "vlr", "type": "address" },
|
|
502
485
|
{ "internalType": "address", "name": "weth", "type": "address" },
|
|
503
486
|
{
|
|
504
487
|
"internalType": "address",
|