@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,796 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "contract IPangolinV3Factory",
6
- "name": "factory",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "tokenIn",
12
- "type": "address"
13
- },
14
- {
15
- "internalType": "address",
16
- "name": "tokenOut",
17
- "type": "address"
18
- },
19
- {
20
- "internalType": "uint24",
21
- "name": "fee",
22
- "type": "uint24"
23
- },
24
- {
25
- "internalType": "int16",
26
- "name": "tickBitmapStart",
27
- "type": "int16"
28
- },
29
- {
30
- "internalType": "int16",
31
- "name": "tickBitmapEnd",
32
- "type": "int16"
33
- }
34
- ],
35
- "name": "getAdditionalBitmapWithTicks",
36
- "outputs": [
37
- {
38
- "components": [
39
- {
40
- "internalType": "int16",
41
- "name": "index",
42
- "type": "int16"
43
- },
44
- {
45
- "internalType": "uint256",
46
- "name": "value",
47
- "type": "uint256"
48
- }
49
- ],
50
- "internalType": "struct IPangolinV3StateMulticall.TickBitMapMappings[]",
51
- "name": "tickBitmap",
52
- "type": "tuple[]"
53
- },
54
- {
55
- "components": [
56
- {
57
- "internalType": "int24",
58
- "name": "index",
59
- "type": "int24"
60
- },
61
- {
62
- "components": [
63
- {
64
- "internalType": "uint128",
65
- "name": "liquidityGross",
66
- "type": "uint128"
67
- },
68
- {
69
- "internalType": "int128",
70
- "name": "liquidityNet",
71
- "type": "int128"
72
- },
73
- {
74
- "internalType": "int56",
75
- "name": "tickCumulativeOutside",
76
- "type": "int56"
77
- },
78
- {
79
- "internalType": "uint160",
80
- "name": "secondsPerLiquidityOutsideX128",
81
- "type": "uint160"
82
- },
83
- {
84
- "internalType": "uint32",
85
- "name": "secondsOutside",
86
- "type": "uint32"
87
- },
88
- {
89
- "internalType": "bool",
90
- "name": "initialized",
91
- "type": "bool"
92
- }
93
- ],
94
- "internalType": "struct IPangolinV3StateMulticall.TickInfo",
95
- "name": "value",
96
- "type": "tuple"
97
- }
98
- ],
99
- "internalType": "struct IPangolinV3StateMulticall.TickInfoMappings[]",
100
- "name": "ticks",
101
- "type": "tuple[]"
102
- }
103
- ],
104
- "stateMutability": "view",
105
- "type": "function"
106
- },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "contract IPangolinV3Factory",
111
- "name": "factory",
112
- "type": "address"
113
- },
114
- {
115
- "internalType": "address",
116
- "name": "tokenIn",
117
- "type": "address"
118
- },
119
- {
120
- "internalType": "address",
121
- "name": "tokenOut",
122
- "type": "address"
123
- },
124
- {
125
- "internalType": "uint24",
126
- "name": "fee",
127
- "type": "uint24"
128
- },
129
- {
130
- "internalType": "int16",
131
- "name": "tickBitmapStart",
132
- "type": "int16"
133
- },
134
- {
135
- "internalType": "int16",
136
- "name": "tickBitmapEnd",
137
- "type": "int16"
138
- }
139
- ],
140
- "name": "getAdditionalBitmapWithoutTicks",
141
- "outputs": [
142
- {
143
- "components": [
144
- {
145
- "internalType": "int16",
146
- "name": "index",
147
- "type": "int16"
148
- },
149
- {
150
- "internalType": "uint256",
151
- "name": "value",
152
- "type": "uint256"
153
- }
154
- ],
155
- "internalType": "struct IPangolinV3StateMulticall.TickBitMapMappings[]",
156
- "name": "tickBitmap",
157
- "type": "tuple[]"
158
- }
159
- ],
160
- "stateMutability": "view",
161
- "type": "function"
162
- },
163
- {
164
- "inputs": [
165
- {
166
- "internalType": "contract IPangolinV3Factory",
167
- "name": "factory",
168
- "type": "address"
169
- },
170
- {
171
- "internalType": "address",
172
- "name": "tokenIn",
173
- "type": "address"
174
- },
175
- {
176
- "internalType": "address",
177
- "name": "tokenOut",
178
- "type": "address"
179
- },
180
- {
181
- "internalType": "uint24",
182
- "name": "fee",
183
- "type": "uint24"
184
- },
185
- {
186
- "internalType": "int16",
187
- "name": "tickBitmapStart",
188
- "type": "int16"
189
- },
190
- {
191
- "internalType": "int16",
192
- "name": "tickBitmapEnd",
193
- "type": "int16"
194
- }
195
- ],
196
- "name": "getFullState",
197
- "outputs": [
198
- {
199
- "components": [
200
- {
201
- "internalType": "contract IPangolinV3Pool",
202
- "name": "pool",
203
- "type": "address"
204
- },
205
- {
206
- "internalType": "uint256",
207
- "name": "blockTimestamp",
208
- "type": "uint256"
209
- },
210
- {
211
- "components": [
212
- {
213
- "internalType": "uint160",
214
- "name": "sqrtPriceX96",
215
- "type": "uint160"
216
- },
217
- {
218
- "internalType": "int24",
219
- "name": "tick",
220
- "type": "int24"
221
- },
222
- {
223
- "internalType": "uint16",
224
- "name": "observationIndex",
225
- "type": "uint16"
226
- },
227
- {
228
- "internalType": "uint16",
229
- "name": "observationCardinality",
230
- "type": "uint16"
231
- },
232
- {
233
- "internalType": "uint16",
234
- "name": "observationCardinalityNext",
235
- "type": "uint16"
236
- },
237
- {
238
- "internalType": "uint8",
239
- "name": "feeProtocol",
240
- "type": "uint8"
241
- },
242
- {
243
- "internalType": "bool",
244
- "name": "unlocked",
245
- "type": "bool"
246
- },
247
- {
248
- "internalType": "uint24",
249
- "name": "fee",
250
- "type": "uint24"
251
- }
252
- ],
253
- "internalType": "struct IPangolinV3StateMulticall.Slot0",
254
- "name": "slot0",
255
- "type": "tuple"
256
- },
257
- {
258
- "internalType": "uint128",
259
- "name": "liquidity",
260
- "type": "uint128"
261
- },
262
- {
263
- "internalType": "int24",
264
- "name": "tickSpacing",
265
- "type": "int24"
266
- },
267
- {
268
- "internalType": "uint128",
269
- "name": "maxLiquidityPerTick",
270
- "type": "uint128"
271
- },
272
- {
273
- "components": [
274
- {
275
- "internalType": "uint32",
276
- "name": "blockTimestamp",
277
- "type": "uint32"
278
- },
279
- {
280
- "internalType": "int56",
281
- "name": "tickCumulative",
282
- "type": "int56"
283
- },
284
- {
285
- "internalType": "uint160",
286
- "name": "secondsPerLiquidityCumulativeX128",
287
- "type": "uint160"
288
- },
289
- {
290
- "internalType": "bool",
291
- "name": "initialized",
292
- "type": "bool"
293
- }
294
- ],
295
- "internalType": "struct IPangolinV3StateMulticall.Observation",
296
- "name": "observation",
297
- "type": "tuple"
298
- },
299
- {
300
- "components": [
301
- {
302
- "internalType": "int16",
303
- "name": "index",
304
- "type": "int16"
305
- },
306
- {
307
- "internalType": "uint256",
308
- "name": "value",
309
- "type": "uint256"
310
- }
311
- ],
312
- "internalType": "struct IPangolinV3StateMulticall.TickBitMapMappings[]",
313
- "name": "tickBitmap",
314
- "type": "tuple[]"
315
- },
316
- {
317
- "components": [
318
- {
319
- "internalType": "int24",
320
- "name": "index",
321
- "type": "int24"
322
- },
323
- {
324
- "components": [
325
- {
326
- "internalType": "uint128",
327
- "name": "liquidityGross",
328
- "type": "uint128"
329
- },
330
- {
331
- "internalType": "int128",
332
- "name": "liquidityNet",
333
- "type": "int128"
334
- },
335
- {
336
- "internalType": "int56",
337
- "name": "tickCumulativeOutside",
338
- "type": "int56"
339
- },
340
- {
341
- "internalType": "uint160",
342
- "name": "secondsPerLiquidityOutsideX128",
343
- "type": "uint160"
344
- },
345
- {
346
- "internalType": "uint32",
347
- "name": "secondsOutside",
348
- "type": "uint32"
349
- },
350
- {
351
- "internalType": "bool",
352
- "name": "initialized",
353
- "type": "bool"
354
- }
355
- ],
356
- "internalType": "struct IPangolinV3StateMulticall.TickInfo",
357
- "name": "value",
358
- "type": "tuple"
359
- }
360
- ],
361
- "internalType": "struct IPangolinV3StateMulticall.TickInfoMappings[]",
362
- "name": "ticks",
363
- "type": "tuple[]"
364
- }
365
- ],
366
- "internalType": "struct IPangolinV3StateMulticall.StateResult",
367
- "name": "state",
368
- "type": "tuple"
369
- }
370
- ],
371
- "stateMutability": "view",
372
- "type": "function"
373
- },
374
- {
375
- "inputs": [
376
- {
377
- "internalType": "contract IPangolinV3Factory",
378
- "name": "factory",
379
- "type": "address"
380
- },
381
- {
382
- "internalType": "address",
383
- "name": "tokenIn",
384
- "type": "address"
385
- },
386
- {
387
- "internalType": "address",
388
- "name": "tokenOut",
389
- "type": "address"
390
- },
391
- {
392
- "internalType": "uint24",
393
- "name": "fee",
394
- "type": "uint24"
395
- },
396
- {
397
- "internalType": "int16",
398
- "name": "leftBitmapAmount",
399
- "type": "int16"
400
- },
401
- {
402
- "internalType": "int16",
403
- "name": "rightBitmapAmount",
404
- "type": "int16"
405
- }
406
- ],
407
- "name": "getFullStateWithRelativeBitmaps",
408
- "outputs": [
409
- {
410
- "components": [
411
- {
412
- "internalType": "contract IPangolinV3Pool",
413
- "name": "pool",
414
- "type": "address"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "blockTimestamp",
419
- "type": "uint256"
420
- },
421
- {
422
- "components": [
423
- {
424
- "internalType": "uint160",
425
- "name": "sqrtPriceX96",
426
- "type": "uint160"
427
- },
428
- {
429
- "internalType": "int24",
430
- "name": "tick",
431
- "type": "int24"
432
- },
433
- {
434
- "internalType": "uint16",
435
- "name": "observationIndex",
436
- "type": "uint16"
437
- },
438
- {
439
- "internalType": "uint16",
440
- "name": "observationCardinality",
441
- "type": "uint16"
442
- },
443
- {
444
- "internalType": "uint16",
445
- "name": "observationCardinalityNext",
446
- "type": "uint16"
447
- },
448
- {
449
- "internalType": "uint8",
450
- "name": "feeProtocol",
451
- "type": "uint8"
452
- },
453
- {
454
- "internalType": "bool",
455
- "name": "unlocked",
456
- "type": "bool"
457
- },
458
- {
459
- "internalType": "uint24",
460
- "name": "fee",
461
- "type": "uint24"
462
- }
463
- ],
464
- "internalType": "struct IPangolinV3StateMulticall.Slot0",
465
- "name": "slot0",
466
- "type": "tuple"
467
- },
468
- {
469
- "internalType": "uint128",
470
- "name": "liquidity",
471
- "type": "uint128"
472
- },
473
- {
474
- "internalType": "int24",
475
- "name": "tickSpacing",
476
- "type": "int24"
477
- },
478
- {
479
- "internalType": "uint128",
480
- "name": "maxLiquidityPerTick",
481
- "type": "uint128"
482
- },
483
- {
484
- "components": [
485
- {
486
- "internalType": "uint32",
487
- "name": "blockTimestamp",
488
- "type": "uint32"
489
- },
490
- {
491
- "internalType": "int56",
492
- "name": "tickCumulative",
493
- "type": "int56"
494
- },
495
- {
496
- "internalType": "uint160",
497
- "name": "secondsPerLiquidityCumulativeX128",
498
- "type": "uint160"
499
- },
500
- {
501
- "internalType": "bool",
502
- "name": "initialized",
503
- "type": "bool"
504
- }
505
- ],
506
- "internalType": "struct IPangolinV3StateMulticall.Observation",
507
- "name": "observation",
508
- "type": "tuple"
509
- },
510
- {
511
- "components": [
512
- {
513
- "internalType": "int16",
514
- "name": "index",
515
- "type": "int16"
516
- },
517
- {
518
- "internalType": "uint256",
519
- "name": "value",
520
- "type": "uint256"
521
- }
522
- ],
523
- "internalType": "struct IPangolinV3StateMulticall.TickBitMapMappings[]",
524
- "name": "tickBitmap",
525
- "type": "tuple[]"
526
- },
527
- {
528
- "components": [
529
- {
530
- "internalType": "int24",
531
- "name": "index",
532
- "type": "int24"
533
- },
534
- {
535
- "components": [
536
- {
537
- "internalType": "uint128",
538
- "name": "liquidityGross",
539
- "type": "uint128"
540
- },
541
- {
542
- "internalType": "int128",
543
- "name": "liquidityNet",
544
- "type": "int128"
545
- },
546
- {
547
- "internalType": "int56",
548
- "name": "tickCumulativeOutside",
549
- "type": "int56"
550
- },
551
- {
552
- "internalType": "uint160",
553
- "name": "secondsPerLiquidityOutsideX128",
554
- "type": "uint160"
555
- },
556
- {
557
- "internalType": "uint32",
558
- "name": "secondsOutside",
559
- "type": "uint32"
560
- },
561
- {
562
- "internalType": "bool",
563
- "name": "initialized",
564
- "type": "bool"
565
- }
566
- ],
567
- "internalType": "struct IPangolinV3StateMulticall.TickInfo",
568
- "name": "value",
569
- "type": "tuple"
570
- }
571
- ],
572
- "internalType": "struct IPangolinV3StateMulticall.TickInfoMappings[]",
573
- "name": "ticks",
574
- "type": "tuple[]"
575
- }
576
- ],
577
- "internalType": "struct IPangolinV3StateMulticall.StateResult",
578
- "name": "state",
579
- "type": "tuple"
580
- }
581
- ],
582
- "stateMutability": "view",
583
- "type": "function"
584
- },
585
- {
586
- "inputs": [
587
- {
588
- "internalType": "contract IPangolinV3Factory",
589
- "name": "factory",
590
- "type": "address"
591
- },
592
- {
593
- "internalType": "address",
594
- "name": "tokenIn",
595
- "type": "address"
596
- },
597
- {
598
- "internalType": "address",
599
- "name": "tokenOut",
600
- "type": "address"
601
- },
602
- {
603
- "internalType": "uint24",
604
- "name": "fee",
605
- "type": "uint24"
606
- },
607
- {
608
- "internalType": "int16",
609
- "name": "tickBitmapStart",
610
- "type": "int16"
611
- },
612
- {
613
- "internalType": "int16",
614
- "name": "tickBitmapEnd",
615
- "type": "int16"
616
- }
617
- ],
618
- "name": "getFullStateWithoutTicks",
619
- "outputs": [
620
- {
621
- "components": [
622
- {
623
- "internalType": "contract IPangolinV3Pool",
624
- "name": "pool",
625
- "type": "address"
626
- },
627
- {
628
- "internalType": "uint256",
629
- "name": "blockTimestamp",
630
- "type": "uint256"
631
- },
632
- {
633
- "components": [
634
- {
635
- "internalType": "uint160",
636
- "name": "sqrtPriceX96",
637
- "type": "uint160"
638
- },
639
- {
640
- "internalType": "int24",
641
- "name": "tick",
642
- "type": "int24"
643
- },
644
- {
645
- "internalType": "uint16",
646
- "name": "observationIndex",
647
- "type": "uint16"
648
- },
649
- {
650
- "internalType": "uint16",
651
- "name": "observationCardinality",
652
- "type": "uint16"
653
- },
654
- {
655
- "internalType": "uint16",
656
- "name": "observationCardinalityNext",
657
- "type": "uint16"
658
- },
659
- {
660
- "internalType": "uint8",
661
- "name": "feeProtocol",
662
- "type": "uint8"
663
- },
664
- {
665
- "internalType": "bool",
666
- "name": "unlocked",
667
- "type": "bool"
668
- },
669
- {
670
- "internalType": "uint24",
671
- "name": "fee",
672
- "type": "uint24"
673
- }
674
- ],
675
- "internalType": "struct IPangolinV3StateMulticall.Slot0",
676
- "name": "slot0",
677
- "type": "tuple"
678
- },
679
- {
680
- "internalType": "uint128",
681
- "name": "liquidity",
682
- "type": "uint128"
683
- },
684
- {
685
- "internalType": "int24",
686
- "name": "tickSpacing",
687
- "type": "int24"
688
- },
689
- {
690
- "internalType": "uint128",
691
- "name": "maxLiquidityPerTick",
692
- "type": "uint128"
693
- },
694
- {
695
- "components": [
696
- {
697
- "internalType": "uint32",
698
- "name": "blockTimestamp",
699
- "type": "uint32"
700
- },
701
- {
702
- "internalType": "int56",
703
- "name": "tickCumulative",
704
- "type": "int56"
705
- },
706
- {
707
- "internalType": "uint160",
708
- "name": "secondsPerLiquidityCumulativeX128",
709
- "type": "uint160"
710
- },
711
- {
712
- "internalType": "bool",
713
- "name": "initialized",
714
- "type": "bool"
715
- }
716
- ],
717
- "internalType": "struct IPangolinV3StateMulticall.Observation",
718
- "name": "observation",
719
- "type": "tuple"
720
- },
721
- {
722
- "components": [
723
- {
724
- "internalType": "int16",
725
- "name": "index",
726
- "type": "int16"
727
- },
728
- {
729
- "internalType": "uint256",
730
- "name": "value",
731
- "type": "uint256"
732
- }
733
- ],
734
- "internalType": "struct IPangolinV3StateMulticall.TickBitMapMappings[]",
735
- "name": "tickBitmap",
736
- "type": "tuple[]"
737
- },
738
- {
739
- "components": [
740
- {
741
- "internalType": "int24",
742
- "name": "index",
743
- "type": "int24"
744
- },
745
- {
746
- "components": [
747
- {
748
- "internalType": "uint128",
749
- "name": "liquidityGross",
750
- "type": "uint128"
751
- },
752
- {
753
- "internalType": "int128",
754
- "name": "liquidityNet",
755
- "type": "int128"
756
- },
757
- {
758
- "internalType": "int56",
759
- "name": "tickCumulativeOutside",
760
- "type": "int56"
761
- },
762
- {
763
- "internalType": "uint160",
764
- "name": "secondsPerLiquidityOutsideX128",
765
- "type": "uint160"
766
- },
767
- {
768
- "internalType": "uint32",
769
- "name": "secondsOutside",
770
- "type": "uint32"
771
- },
772
- {
773
- "internalType": "bool",
774
- "name": "initialized",
775
- "type": "bool"
776
- }
777
- ],
778
- "internalType": "struct IPangolinV3StateMulticall.TickInfo",
779
- "name": "value",
780
- "type": "tuple"
781
- }
782
- ],
783
- "internalType": "struct IPangolinV3StateMulticall.TickInfoMappings[]",
784
- "name": "ticks",
785
- "type": "tuple[]"
786
- }
787
- ],
788
- "internalType": "struct IPangolinV3StateMulticall.StateResult",
789
- "name": "state",
790
- "type": "tuple"
791
- }
792
- ],
793
- "stateMutability": "view",
794
- "type": "function"
795
- }
796
- ]