@paraswap/dex-lib 4.7.20-native-insert-amount.3 → 4.7.20-native-insert-amount.4

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.
Files changed (148) hide show
  1. package/build/dex/idle-dao/idle-dao.d.ts +1 -0
  2. package/build/dex/idle-dao/idle-dao.js +23 -11
  3. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  4. package/build/dex/index.js +12 -15
  5. package/build/dex/index.js.map +1 -1
  6. package/build/dex/maker-psm/maker-psm.d.ts +4 -41
  7. package/build/dex/maker-psm/maker-psm.js +40 -143
  8. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  9. package/build/dex/uniswap-v2/constants.js +1 -0
  10. package/build/dex/uniswap-v2/constants.js.map +1 -1
  11. package/build/executor/Executor02BytecodeBuilderMultiRoute.d.ts +101 -0
  12. package/build/executor/Executor02BytecodeBuilderMultiRoute.js +878 -0
  13. package/build/executor/Executor02BytecodeBuilderMultiRoute.js.map +1 -0
  14. package/package.json +1 -1
  15. package/build/abi/PendleRouterStatic.json +0 -19
  16. package/build/abi/apex-defi/ApexDefiFactory.abi.json +0 -1749
  17. package/build/abi/apex-defi/ApexDefiRouter.abi.json +0 -1120
  18. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  19. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  20. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +0 -1107
  21. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  22. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  23. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  24. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  25. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  26. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  27. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  28. package/build/abi/stabull/stabull-curve.json +0 -738
  29. package/build/abi/stabull/stabull-router.json +0 -76
  30. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  31. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  32. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  33. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  34. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  35. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  36. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  37. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  38. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +0 -40
  39. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  40. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  41. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  42. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  43. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  44. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  45. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  46. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  47. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  48. package/build/dex/aave-pt-to-underlying/types.js +0 -3
  49. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  50. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  51. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  52. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  53. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  54. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  55. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  56. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  57. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  58. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  59. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  60. package/build/dex/aave-pt-to-usdc/types.js +0 -3
  61. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  62. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  63. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  64. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  65. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  66. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  67. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  68. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  69. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  70. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  71. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  72. package/build/dex/apex-defi/apex-defi.js +0 -1021
  73. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  74. package/build/dex/apex-defi/config.d.ts +0 -4
  75. package/build/dex/apex-defi/config.js +0 -138
  76. package/build/dex/apex-defi/config.js.map +0 -1
  77. package/build/dex/apex-defi/types.d.ts +0 -32
  78. package/build/dex/apex-defi/types.js +0 -3
  79. package/build/dex/apex-defi/types.js.map +0 -1
  80. package/build/dex/apex-defi/utils.d.ts +0 -46
  81. package/build/dex/apex-defi/utils.js +0 -133
  82. package/build/dex/apex-defi/utils.js.map +0 -1
  83. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  84. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  85. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  86. package/build/dex/stabull/config.d.ts +0 -3
  87. package/build/dex/stabull/config.js +0 -177
  88. package/build/dex/stabull/config.js.map +0 -1
  89. package/build/dex/stabull/stabull-pool.d.ts +0 -46
  90. package/build/dex/stabull/stabull-pool.js +0 -113
  91. package/build/dex/stabull/stabull-pool.js.map +0 -1
  92. package/build/dex/stabull/stabull.d.ts +0 -55
  93. package/build/dex/stabull/stabull.js +0 -286
  94. package/build/dex/stabull/stabull.js.map +0 -1
  95. package/build/dex/stabull/types.d.ts +0 -21
  96. package/build/dex/stabull/types.js +0 -3
  97. package/build/dex/stabull/types.js.map +0 -1
  98. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  99. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  100. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  101. package/build/dex/uniswap-v4/hooks/arena.d.ts +0 -6
  102. package/build/dex/uniswap-v4/hooks/arena.js +0 -10
  103. package/build/dex/uniswap-v4/hooks/arena.js.map +0 -1
  104. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  105. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +0 -2
  106. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +0 -1
  107. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  108. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  109. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  110. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  111. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  112. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  113. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  114. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  115. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  116. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  117. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  118. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  119. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  120. package/build/dex/uniswap-v4/hooks/index.js +0 -18
  121. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  122. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  123. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  124. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  125. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  126. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  127. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  128. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  129. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  130. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  131. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  132. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  133. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  134. package/build/dex/yo/config.d.ts +0 -3
  135. package/build/dex/yo/config.js +0 -21
  136. package/build/dex/yo/config.js.map +0 -1
  137. package/build/dex/yo/types.d.ts +0 -13
  138. package/build/dex/yo/types.js +0 -3
  139. package/build/dex/yo/types.js.map +0 -1
  140. package/build/dex/yo/yo-pool.d.ts +0 -13
  141. package/build/dex/yo/yo-pool.js +0 -26
  142. package/build/dex/yo/yo-pool.js.map +0 -1
  143. package/build/dex/yo/yo.d.ts +0 -39
  144. package/build/dex/yo/yo.js +0 -248
  145. package/build/dex/yo/yo.js.map +0 -1
  146. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  147. package/build/implementations/api-paraswap-sdk.js +0 -102
  148. package/build/implementations/api-paraswap-sdk.js.map +0 -1
@@ -1,413 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "inputs": [
9
- {
10
- "internalType": "uint256",
11
- "name": "blockCycleNumerator",
12
- "type": "uint256"
13
- }
14
- ],
15
- "name": "InvalidBlockRate",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "int256",
22
- "name": "exchangeRate",
23
- "type": "int256"
24
- }
25
- ],
26
- "name": "MarketExchangeRateBelowOne",
27
- "type": "error"
28
- },
29
- {
30
- "inputs": [],
31
- "name": "MarketExpired",
32
- "type": "error"
33
- },
34
- {
35
- "inputs": [],
36
- "name": "MarketProportionMustNotEqualOne",
37
- "type": "error"
38
- },
39
- {
40
- "inputs": [
41
- {
42
- "internalType": "int256",
43
- "name": "rateScalar",
44
- "type": "int256"
45
- }
46
- ],
47
- "name": "MarketRateScalarBelowZero",
48
- "type": "error"
49
- },
50
- {
51
- "inputs": [
52
- {
53
- "internalType": "int256",
54
- "name": "totalPt",
55
- "type": "int256"
56
- },
57
- {
58
- "internalType": "int256",
59
- "name": "totalAsset",
60
- "type": "int256"
61
- }
62
- ],
63
- "name": "MarketZeroTotalPtOrTotalAsset",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [
68
- {
69
- "internalType": "uint32",
70
- "name": "duration",
71
- "type": "uint32"
72
- },
73
- {
74
- "internalType": "uint32",
75
- "name": "cardinalityRequired",
76
- "type": "uint32"
77
- }
78
- ],
79
- "name": "TwapDurationTooLarge",
80
- "type": "error"
81
- },
82
- {
83
- "anonymous": false,
84
- "inputs": [
85
- {
86
- "indexed": false,
87
- "internalType": "uint8",
88
- "name": "version",
89
- "type": "uint8"
90
- }
91
- ],
92
- "name": "Initialized",
93
- "type": "event"
94
- },
95
- {
96
- "anonymous": false,
97
- "inputs": [
98
- {
99
- "indexed": true,
100
- "internalType": "address",
101
- "name": "previousOwner",
102
- "type": "address"
103
- },
104
- {
105
- "indexed": true,
106
- "internalType": "address",
107
- "name": "newOwner",
108
- "type": "address"
109
- }
110
- ],
111
- "name": "OwnershipTransferred",
112
- "type": "event"
113
- },
114
- {
115
- "anonymous": false,
116
- "inputs": [
117
- {
118
- "indexed": false,
119
- "internalType": "uint16",
120
- "name": "newBlockCycleNumerator",
121
- "type": "uint16"
122
- }
123
- ],
124
- "name": "SetBlockCycleNumerator",
125
- "type": "event"
126
- },
127
- {
128
- "inputs": [],
129
- "name": "BLOCK_CYCLE_DENOMINATOR",
130
- "outputs": [
131
- {
132
- "internalType": "uint16",
133
- "name": "",
134
- "type": "uint16"
135
- }
136
- ],
137
- "stateMutability": "view",
138
- "type": "function"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "blockCycleNumerator",
143
- "outputs": [
144
- {
145
- "internalType": "uint16",
146
- "name": "",
147
- "type": "uint16"
148
- }
149
- ],
150
- "stateMutability": "view",
151
- "type": "function"
152
- },
153
- {
154
- "inputs": [],
155
- "name": "claimOwnership",
156
- "outputs": [],
157
- "stateMutability": "nonpayable",
158
- "type": "function"
159
- },
160
- {
161
- "inputs": [
162
- {
163
- "internalType": "address",
164
- "name": "market",
165
- "type": "address"
166
- },
167
- {
168
- "internalType": "uint32",
169
- "name": "duration",
170
- "type": "uint32"
171
- }
172
- ],
173
- "name": "getLpToAssetRate",
174
- "outputs": [
175
- {
176
- "internalType": "uint256",
177
- "name": "",
178
- "type": "uint256"
179
- }
180
- ],
181
- "stateMutability": "view",
182
- "type": "function"
183
- },
184
- {
185
- "inputs": [
186
- {
187
- "internalType": "address",
188
- "name": "market",
189
- "type": "address"
190
- },
191
- {
192
- "internalType": "uint32",
193
- "name": "duration",
194
- "type": "uint32"
195
- }
196
- ],
197
- "name": "getLpToSyRate",
198
- "outputs": [
199
- {
200
- "internalType": "uint256",
201
- "name": "",
202
- "type": "uint256"
203
- }
204
- ],
205
- "stateMutability": "view",
206
- "type": "function"
207
- },
208
- {
209
- "inputs": [
210
- {
211
- "internalType": "address",
212
- "name": "market",
213
- "type": "address"
214
- },
215
- {
216
- "internalType": "uint32",
217
- "name": "duration",
218
- "type": "uint32"
219
- }
220
- ],
221
- "name": "getOracleState",
222
- "outputs": [
223
- {
224
- "internalType": "bool",
225
- "name": "increaseCardinalityRequired",
226
- "type": "bool"
227
- },
228
- {
229
- "internalType": "uint16",
230
- "name": "cardinalityRequired",
231
- "type": "uint16"
232
- },
233
- {
234
- "internalType": "bool",
235
- "name": "oldestObservationSatisfied",
236
- "type": "bool"
237
- }
238
- ],
239
- "stateMutability": "view",
240
- "type": "function"
241
- },
242
- {
243
- "inputs": [
244
- {
245
- "internalType": "address",
246
- "name": "market",
247
- "type": "address"
248
- },
249
- {
250
- "internalType": "uint32",
251
- "name": "duration",
252
- "type": "uint32"
253
- }
254
- ],
255
- "name": "getPtToAssetRate",
256
- "outputs": [
257
- {
258
- "internalType": "uint256",
259
- "name": "",
260
- "type": "uint256"
261
- }
262
- ],
263
- "stateMutability": "view",
264
- "type": "function"
265
- },
266
- {
267
- "inputs": [
268
- {
269
- "internalType": "address",
270
- "name": "market",
271
- "type": "address"
272
- },
273
- {
274
- "internalType": "uint32",
275
- "name": "duration",
276
- "type": "uint32"
277
- }
278
- ],
279
- "name": "getPtToSyRate",
280
- "outputs": [
281
- {
282
- "internalType": "uint256",
283
- "name": "",
284
- "type": "uint256"
285
- }
286
- ],
287
- "stateMutability": "view",
288
- "type": "function"
289
- },
290
- {
291
- "inputs": [
292
- {
293
- "internalType": "address",
294
- "name": "market",
295
- "type": "address"
296
- },
297
- {
298
- "internalType": "uint32",
299
- "name": "duration",
300
- "type": "uint32"
301
- }
302
- ],
303
- "name": "getYtToAssetRate",
304
- "outputs": [
305
- {
306
- "internalType": "uint256",
307
- "name": "",
308
- "type": "uint256"
309
- }
310
- ],
311
- "stateMutability": "view",
312
- "type": "function"
313
- },
314
- {
315
- "inputs": [
316
- {
317
- "internalType": "address",
318
- "name": "market",
319
- "type": "address"
320
- },
321
- {
322
- "internalType": "uint32",
323
- "name": "duration",
324
- "type": "uint32"
325
- }
326
- ],
327
- "name": "getYtToSyRate",
328
- "outputs": [
329
- {
330
- "internalType": "uint256",
331
- "name": "",
332
- "type": "uint256"
333
- }
334
- ],
335
- "stateMutability": "view",
336
- "type": "function"
337
- },
338
- {
339
- "inputs": [
340
- {
341
- "internalType": "uint16",
342
- "name": "_blockCycleNumerator",
343
- "type": "uint16"
344
- }
345
- ],
346
- "name": "initialize",
347
- "outputs": [],
348
- "stateMutability": "nonpayable",
349
- "type": "function"
350
- },
351
- {
352
- "inputs": [],
353
- "name": "owner",
354
- "outputs": [
355
- {
356
- "internalType": "address",
357
- "name": "",
358
- "type": "address"
359
- }
360
- ],
361
- "stateMutability": "view",
362
- "type": "function"
363
- },
364
- {
365
- "inputs": [],
366
- "name": "pendingOwner",
367
- "outputs": [
368
- {
369
- "internalType": "address",
370
- "name": "",
371
- "type": "address"
372
- }
373
- ],
374
- "stateMutability": "view",
375
- "type": "function"
376
- },
377
- {
378
- "inputs": [
379
- {
380
- "internalType": "uint16",
381
- "name": "newBlockCycleNumerator",
382
- "type": "uint16"
383
- }
384
- ],
385
- "name": "setBlockCycleNumerator",
386
- "outputs": [],
387
- "stateMutability": "nonpayable",
388
- "type": "function"
389
- },
390
- {
391
- "inputs": [
392
- {
393
- "internalType": "address",
394
- "name": "newOwner",
395
- "type": "address"
396
- },
397
- {
398
- "internalType": "bool",
399
- "name": "direct",
400
- "type": "bool"
401
- },
402
- {
403
- "internalType": "bool",
404
- "name": "renounce",
405
- "type": "bool"
406
- }
407
- ],
408
- "name": "transferOwnership",
409
- "outputs": [],
410
- "stateMutability": "nonpayable",
411
- "type": "function"
412
- }
413
- ]