@paraswap/dex-lib 4.6.22 → 4.6.23-0

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