@steerprotocol/sdk 1.19.15 → 1.19.17

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 (153) hide show
  1. package/README.md +281 -11
  2. package/dist/cjs/base/VaultClient.js +95 -1
  3. package/dist/cjs/base/VaultClient.js.map +1 -1
  4. package/dist/cjs/base/vault/single-asset/calculateLimitPrice.js +231 -0
  5. package/dist/cjs/base/vault/single-asset/calculateLimitPrice.js.map +1 -0
  6. package/dist/cjs/base/vault/single-asset/calculateSwapAmount.js +68 -0
  7. package/dist/cjs/base/vault/single-asset/calculateSwapAmount.js.map +1 -0
  8. package/dist/cjs/base/vault/single-asset/estimateLpTokens.js +355 -0
  9. package/dist/cjs/base/vault/single-asset/estimateLpTokens.js.map +1 -0
  10. package/dist/cjs/base/vault/single-asset/index.js +109 -0
  11. package/dist/cjs/base/vault/single-asset/index.js.map +1 -0
  12. package/dist/cjs/base/vault/single-asset/simulateSwap.js +317 -0
  13. package/dist/cjs/base/vault/single-asset/simulateSwap.js.map +1 -0
  14. package/dist/cjs/base/vault/single-asset/singleAssetDeposit.js +327 -0
  15. package/dist/cjs/base/vault/single-asset/singleAssetDeposit.js.map +1 -0
  16. package/dist/cjs/base/vault/single-asset/types.js +15 -0
  17. package/dist/cjs/base/vault/single-asset/types.js.map +1 -0
  18. package/dist/cjs/base/vault/utils.js +229 -18
  19. package/dist/cjs/base/vault/utils.js.map +1 -1
  20. package/dist/cjs/const/abis/index.js +3 -0
  21. package/dist/cjs/const/abis/index.js.map +1 -1
  22. package/dist/cjs/const/abis/quoter.js +1584 -0
  23. package/dist/cjs/const/abis/quoter.js.map +1 -0
  24. package/dist/cjs/const/abis/singleTokenDeposit.js +925 -0
  25. package/dist/cjs/const/abis/singleTokenDeposit.js.map +1 -0
  26. package/dist/cjs/const/amm/configs/protocols/machinex.js +3 -0
  27. package/dist/cjs/const/amm/configs/protocols/machinex.js.map +1 -1
  28. package/dist/cjs/const/amm/configs/protocols/quickswap.js +3 -0
  29. package/dist/cjs/const/amm/configs/protocols/quickswap.js.map +1 -1
  30. package/dist/cjs/const/amm/configs/protocols/retro.js +3 -0
  31. package/dist/cjs/const/amm/configs/protocols/retro.js.map +1 -1
  32. package/dist/cjs/const/amm/configs/protocols/sushi.js +3 -0
  33. package/dist/cjs/const/amm/configs/protocols/sushi.js.map +1 -1
  34. package/dist/cjs/const/amm/configs/protocols/uniswap.js +15 -0
  35. package/dist/cjs/const/amm/configs/protocols/uniswap.js.map +1 -1
  36. package/dist/cjs/const/amm/utils/contracts.js +6 -0
  37. package/dist/cjs/const/amm/utils/contracts.js.map +1 -1
  38. package/dist/cjs/const/deployments/abis.js +277 -0
  39. package/dist/cjs/const/deployments/abis.js.map +1 -1
  40. package/dist/cjs/const/deployments/peaq.js +8 -0
  41. package/dist/cjs/const/deployments/peaq.js.map +1 -1
  42. package/dist/cjs/const/deployments/polygon.js +8 -0
  43. package/dist/cjs/const/deployments/polygon.js.map +1 -1
  44. package/dist/cjs/const/index.js +6 -5
  45. package/dist/cjs/const/index.js.map +1 -1
  46. package/dist/cjs/const/network.js +9 -0
  47. package/dist/cjs/const/network.js.map +1 -1
  48. package/dist/cjs/const/protocol.js +18 -1
  49. package/dist/cjs/const/protocol.js.map +1 -1
  50. package/dist/cjs/const/quoter.js +425 -0
  51. package/dist/cjs/const/quoter.js.map +1 -0
  52. package/dist/cjs/index.js +1 -0
  53. package/dist/cjs/index.js.map +1 -1
  54. package/dist/esm/base/VaultClient.js +81 -1
  55. package/dist/esm/base/VaultClient.js.map +1 -1
  56. package/dist/esm/base/vault/single-asset/calculateLimitPrice.js +224 -0
  57. package/dist/esm/base/vault/single-asset/calculateLimitPrice.js.map +1 -0
  58. package/dist/esm/base/vault/single-asset/calculateSwapAmount.js +65 -0
  59. package/dist/esm/base/vault/single-asset/calculateSwapAmount.js.map +1 -0
  60. package/dist/esm/base/vault/single-asset/estimateLpTokens.js +350 -0
  61. package/dist/esm/base/vault/single-asset/estimateLpTokens.js.map +1 -0
  62. package/dist/esm/base/vault/single-asset/index.js +83 -0
  63. package/dist/esm/base/vault/single-asset/index.js.map +1 -0
  64. package/dist/esm/base/vault/single-asset/simulateSwap.js +311 -0
  65. package/dist/esm/base/vault/single-asset/simulateSwap.js.map +1 -0
  66. package/dist/esm/base/vault/single-asset/singleAssetDeposit.js +323 -0
  67. package/dist/esm/base/vault/single-asset/singleAssetDeposit.js.map +1 -0
  68. package/dist/esm/base/vault/single-asset/types.js +12 -0
  69. package/dist/esm/base/vault/single-asset/types.js.map +1 -0
  70. package/dist/esm/base/vault/utils.js +226 -18
  71. package/dist/esm/base/vault/utils.js.map +1 -1
  72. package/dist/esm/const/abis/index.js +3 -0
  73. package/dist/esm/const/abis/index.js.map +1 -1
  74. package/dist/esm/const/abis/quoter.js +1581 -0
  75. package/dist/esm/const/abis/quoter.js.map +1 -0
  76. package/dist/esm/const/abis/singleTokenDeposit.js +922 -0
  77. package/dist/esm/const/abis/singleTokenDeposit.js.map +1 -0
  78. package/dist/esm/const/amm/configs/protocols/machinex.js +3 -0
  79. package/dist/esm/const/amm/configs/protocols/machinex.js.map +1 -1
  80. package/dist/esm/const/amm/configs/protocols/quickswap.js +3 -0
  81. package/dist/esm/const/amm/configs/protocols/quickswap.js.map +1 -1
  82. package/dist/esm/const/amm/configs/protocols/retro.js +3 -0
  83. package/dist/esm/const/amm/configs/protocols/retro.js.map +1 -1
  84. package/dist/esm/const/amm/configs/protocols/sushi.js +3 -0
  85. package/dist/esm/const/amm/configs/protocols/sushi.js.map +1 -1
  86. package/dist/esm/const/amm/configs/protocols/uniswap.js +15 -0
  87. package/dist/esm/const/amm/configs/protocols/uniswap.js.map +1 -1
  88. package/dist/esm/const/amm/utils/contracts.js +5 -0
  89. package/dist/esm/const/amm/utils/contracts.js.map +1 -1
  90. package/dist/esm/const/deployments/abis.js +277 -0
  91. package/dist/esm/const/deployments/abis.js.map +1 -1
  92. package/dist/esm/const/deployments/peaq.js +8 -0
  93. package/dist/esm/const/deployments/peaq.js.map +1 -1
  94. package/dist/esm/const/deployments/polygon.js +8 -0
  95. package/dist/esm/const/deployments/polygon.js.map +1 -1
  96. package/dist/esm/const/index.js +6 -5
  97. package/dist/esm/const/index.js.map +1 -1
  98. package/dist/esm/const/network.js +7 -0
  99. package/dist/esm/const/network.js.map +1 -1
  100. package/dist/esm/const/protocol.js +16 -0
  101. package/dist/esm/const/protocol.js.map +1 -1
  102. package/dist/esm/const/quoter.js +414 -0
  103. package/dist/esm/const/quoter.js.map +1 -0
  104. package/dist/esm/index.js +1 -0
  105. package/dist/esm/index.js.map +1 -1
  106. package/dist/types/base/VaultClient.d.ts +136 -4
  107. package/dist/types/base/VaultClient.d.ts.map +1 -1
  108. package/dist/types/base/vault/single-asset/calculateLimitPrice.d.ts +59 -0
  109. package/dist/types/base/vault/single-asset/calculateLimitPrice.d.ts.map +1 -0
  110. package/dist/types/base/vault/single-asset/calculateSwapAmount.d.ts +30 -0
  111. package/dist/types/base/vault/single-asset/calculateSwapAmount.d.ts.map +1 -0
  112. package/dist/types/base/vault/single-asset/estimateLpTokens.d.ts +61 -0
  113. package/dist/types/base/vault/single-asset/estimateLpTokens.d.ts.map +1 -0
  114. package/dist/types/base/vault/single-asset/index.d.ts +80 -0
  115. package/dist/types/base/vault/single-asset/index.d.ts.map +1 -0
  116. package/dist/types/base/vault/single-asset/simulateSwap.d.ts +119 -0
  117. package/dist/types/base/vault/single-asset/simulateSwap.d.ts.map +1 -0
  118. package/dist/types/base/vault/single-asset/singleAssetDeposit.d.ts +141 -0
  119. package/dist/types/base/vault/single-asset/singleAssetDeposit.d.ts.map +1 -0
  120. package/dist/types/base/vault/single-asset/types.d.ts +169 -0
  121. package/dist/types/base/vault/single-asset/types.d.ts.map +1 -0
  122. package/dist/types/base/vault/utils.d.ts +95 -0
  123. package/dist/types/base/vault/utils.d.ts.map +1 -1
  124. package/dist/types/const/abis/index.d.ts +3 -0
  125. package/dist/types/const/abis/index.d.ts.map +1 -1
  126. package/dist/types/const/abis/quoter.d.ts +432 -0
  127. package/dist/types/const/abis/quoter.d.ts.map +1 -0
  128. package/dist/types/const/abis/singleTokenDeposit.d.ts +47 -0
  129. package/dist/types/const/abis/singleTokenDeposit.d.ts.map +1 -0
  130. package/dist/types/const/amm/configs/protocols/machinex.d.ts.map +1 -1
  131. package/dist/types/const/amm/configs/protocols/quickswap.d.ts.map +1 -1
  132. package/dist/types/const/amm/configs/protocols/retro.d.ts.map +1 -1
  133. package/dist/types/const/amm/configs/protocols/sushi.d.ts.map +1 -1
  134. package/dist/types/const/amm/configs/protocols/uniswap.d.ts.map +1 -1
  135. package/dist/types/const/amm/utils/contracts.d.ts +2 -0
  136. package/dist/types/const/amm/utils/contracts.d.ts.map +1 -1
  137. package/dist/types/const/deployments/abis.d.ts +215 -0
  138. package/dist/types/const/deployments/abis.d.ts.map +1 -1
  139. package/dist/types/const/deployments/peaq.d.ts.map +1 -1
  140. package/dist/types/const/deployments/polygon.d.ts.map +1 -1
  141. package/dist/types/const/index.d.ts +6 -5
  142. package/dist/types/const/index.d.ts.map +1 -1
  143. package/dist/types/const/network.d.ts +4 -0
  144. package/dist/types/const/network.d.ts.map +1 -1
  145. package/dist/types/const/protocol.d.ts +2 -0
  146. package/dist/types/const/protocol.d.ts.map +1 -1
  147. package/dist/types/const/quoter.d.ts +456 -0
  148. package/dist/types/const/quoter.d.ts.map +1 -0
  149. package/dist/types/index.d.ts +1 -0
  150. package/dist/types/index.d.ts.map +1 -1
  151. package/dist/types/types.d.ts +3 -0
  152. package/dist/types/types.d.ts.map +1 -1
  153. package/package.json +1 -1
@@ -0,0 +1,1584 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoterV2Shadow = exports.QuoterV2AlgebgraIntegral21 = exports.QuoterV2AlgebgraIntegral = exports.QuoterV2Thick = exports.QuickSwapQuoterV2 = exports.UniswapV3QuoterABI = void 0;
4
+ exports.UniswapV3QuoterABI = [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_factory",
10
+ "type": "address"
11
+ }, {
12
+ "internalType": "address",
13
+ "name": "_WETH9",
14
+ "type": "address"
15
+ }
16
+ ],
17
+ "stateMutability": "nonpayable",
18
+ "type": "constructor"
19
+ },
20
+ {
21
+ "inputs": [],
22
+ "name": "WETH9",
23
+ "outputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "stateMutability": "view",
31
+ "type": "function"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "factory",
36
+ "outputs": [
37
+ {
38
+ "internalType": "address",
39
+ "name": "",
40
+ "type": "address"
41
+ }
42
+ ],
43
+ "stateMutability": "view",
44
+ "type": "function"
45
+ },
46
+ {
47
+ "inputs": [
48
+ {
49
+ "internalType": "bytes",
50
+ "name": "path",
51
+ "type": "bytes"
52
+ }, {
53
+ "internalType": "uint256",
54
+ "name": "amountIn",
55
+ "type": "uint256"
56
+ }
57
+ ],
58
+ "name": "quoteExactInput",
59
+ "outputs": [
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "amountOut",
63
+ "type": "uint256"
64
+ }, {
65
+ "internalType": "uint160[]",
66
+ "name": "sqrtPriceX96AfterList",
67
+ "type": "uint160[]"
68
+ }, {
69
+ "internalType": "uint32[]",
70
+ "name": "initializedTicksCrossedList",
71
+ "type": "uint32[]"
72
+ }, {
73
+ "internalType": "uint256",
74
+ "name": "gasEstimate",
75
+ "type": "uint256"
76
+ }
77
+ ],
78
+ "stateMutability": "nonpayable",
79
+ "type": "function"
80
+ }, {
81
+ "inputs": [
82
+ {
83
+ "components": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "tokenIn",
87
+ "type": "address"
88
+ },
89
+ {
90
+ "internalType": "address",
91
+ "name": "tokenOut",
92
+ "type": "address"
93
+ },
94
+ {
95
+ "internalType": "uint256",
96
+ "name": "amountIn",
97
+ "type": "uint256"
98
+ },
99
+ {
100
+ "internalType": "uint24",
101
+ "name": "fee",
102
+ "type": "uint24"
103
+ }, {
104
+ "internalType": "uint160",
105
+ "name": "sqrtPriceLimitX96",
106
+ "type": "uint160"
107
+ }
108
+ ],
109
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
110
+ "name": "params",
111
+ "type": "tuple"
112
+ }
113
+ ],
114
+ "name": "quoteExactInputSingle",
115
+ "outputs": [
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "amountOut",
119
+ "type": "uint256"
120
+ }, {
121
+ "internalType": "uint160",
122
+ "name": "sqrtPriceX96After",
123
+ "type": "uint160"
124
+ }, {
125
+ "internalType": "uint32",
126
+ "name": "initializedTicksCrossed",
127
+ "type": "uint32"
128
+ }, {
129
+ "internalType": "uint256",
130
+ "name": "gasEstimate",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "stateMutability": "nonpayable",
135
+ "type": "function"
136
+ }, {
137
+ "inputs": [
138
+ {
139
+ "internalType": "bytes",
140
+ "name": "path",
141
+ "type": "bytes"
142
+ }, {
143
+ "internalType": "uint256",
144
+ "name": "amountOut",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "name": "quoteExactOutput",
149
+ "outputs": [
150
+ {
151
+ "internalType": "uint256",
152
+ "name": "amountIn",
153
+ "type": "uint256"
154
+ }, {
155
+ "internalType": "uint160[]",
156
+ "name": "sqrtPriceX96AfterList",
157
+ "type": "uint160[]"
158
+ }, {
159
+ "internalType": "uint32[]",
160
+ "name": "initializedTicksCrossedList",
161
+ "type": "uint32[]"
162
+ }, {
163
+ "internalType": "uint256",
164
+ "name": "gasEstimate",
165
+ "type": "uint256"
166
+ }
167
+ ],
168
+ "stateMutability": "nonpayable",
169
+ "type": "function"
170
+ }, {
171
+ "inputs": [
172
+ {
173
+ "components": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "tokenIn",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "address",
181
+ "name": "tokenOut",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "amount",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "uint24",
191
+ "name": "fee",
192
+ "type": "uint24"
193
+ }, {
194
+ "internalType": "uint160",
195
+ "name": "sqrtPriceLimitX96",
196
+ "type": "uint160"
197
+ }
198
+ ],
199
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
200
+ "name": "params",
201
+ "type": "tuple"
202
+ }
203
+ ],
204
+ "name": "quoteExactOutputSingle",
205
+ "outputs": [
206
+ {
207
+ "internalType": "uint256",
208
+ "name": "amountIn",
209
+ "type": "uint256"
210
+ }, {
211
+ "internalType": "uint160",
212
+ "name": "sqrtPriceX96After",
213
+ "type": "uint160"
214
+ }, {
215
+ "internalType": "uint32",
216
+ "name": "initializedTicksCrossed",
217
+ "type": "uint32"
218
+ }, {
219
+ "internalType": "uint256",
220
+ "name": "gasEstimate",
221
+ "type": "uint256"
222
+ }
223
+ ],
224
+ "stateMutability": "nonpayable",
225
+ "type": "function"
226
+ }, {
227
+ "inputs": [
228
+ {
229
+ "internalType": "int256",
230
+ "name": "amount0Delta",
231
+ "type": "int256"
232
+ }, {
233
+ "internalType": "int256",
234
+ "name": "amount1Delta",
235
+ "type": "int256"
236
+ }, {
237
+ "internalType": "bytes",
238
+ "name": "path",
239
+ "type": "bytes"
240
+ }
241
+ ],
242
+ "name": "uniswapV3SwapCallback",
243
+ "outputs": [],
244
+ "stateMutability": "view",
245
+ "type": "function"
246
+ }
247
+ ];
248
+ exports.QuickSwapQuoterV2 = [
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "address",
253
+ "name": "_factory",
254
+ "type": "address"
255
+ }, {
256
+ "internalType": "address",
257
+ "name": "_WNativeToken",
258
+ "type": "address"
259
+ }, {
260
+ "internalType": "address",
261
+ "name": "_poolDeployer",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "stateMutability": "nonpayable",
266
+ "type": "constructor"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "WNativeToken",
271
+ "outputs": [
272
+ {
273
+ "internalType": "address",
274
+ "name": "",
275
+ "type": "address"
276
+ }
277
+ ],
278
+ "stateMutability": "view",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "int256",
285
+ "name": "amount0Delta",
286
+ "type": "int256"
287
+ }, {
288
+ "internalType": "int256",
289
+ "name": "amount1Delta",
290
+ "type": "int256"
291
+ }, {
292
+ "internalType": "bytes",
293
+ "name": "path",
294
+ "type": "bytes"
295
+ }
296
+ ],
297
+ "name": "algebraSwapCallback",
298
+ "outputs": [],
299
+ "stateMutability": "view",
300
+ "type": "function"
301
+ },
302
+ {
303
+ "inputs": [],
304
+ "name": "factory",
305
+ "outputs": [
306
+ {
307
+ "internalType": "address",
308
+ "name": "",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "stateMutability": "view",
313
+ "type": "function"
314
+ }, {
315
+ "inputs": [],
316
+ "name": "poolDeployer",
317
+ "outputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ }, {
327
+ "inputs": [
328
+ {
329
+ "internalType": "bytes",
330
+ "name": "path",
331
+ "type": "bytes"
332
+ }, {
333
+ "internalType": "uint256",
334
+ "name": "amountIn",
335
+ "type": "uint256"
336
+ }
337
+ ],
338
+ "name": "quoteExactInput",
339
+ "outputs": [
340
+ {
341
+ "internalType": "uint256",
342
+ "name": "amountOut",
343
+ "type": "uint256"
344
+ }, {
345
+ "internalType": "uint160[]",
346
+ "name": "sqrtPriceX96AfterList",
347
+ "type": "uint160[]"
348
+ }, {
349
+ "internalType": "uint32[]",
350
+ "name": "initializedTicksCrossedList",
351
+ "type": "uint32[]"
352
+ }, {
353
+ "internalType": "uint256",
354
+ "name": "gasEstimate",
355
+ "type": "uint256"
356
+ }
357
+ ],
358
+ "stateMutability": "nonpayable",
359
+ "type": "function"
360
+ }, {
361
+ "inputs": [
362
+ {
363
+ "components": [
364
+ {
365
+ "internalType": "address",
366
+ "name": "tokenIn",
367
+ "type": "address"
368
+ }, {
369
+ "internalType": "address",
370
+ "name": "tokenOut",
371
+ "type": "address"
372
+ }, {
373
+ "internalType": "uint256",
374
+ "name": "amountIn",
375
+ "type": "uint256"
376
+ }, {
377
+ "internalType": "uint160",
378
+ "name": "limitSqrtPrice",
379
+ "type": "uint160"
380
+ }
381
+ ],
382
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
383
+ "name": "params",
384
+ "type": "tuple"
385
+ }
386
+ ],
387
+ "name": "quoteExactInputSingle",
388
+ "outputs": [
389
+ {
390
+ "internalType": "uint256",
391
+ "name": "amountOut",
392
+ "type": "uint256"
393
+ }, {
394
+ "internalType": "uint160",
395
+ "name": "sqrtPriceX96After",
396
+ "type": "uint160"
397
+ }, {
398
+ "internalType": "uint32",
399
+ "name": "initializedTicksCrossed",
400
+ "type": "uint32"
401
+ }, {
402
+ "internalType": "uint256",
403
+ "name": "gasEstimate",
404
+ "type": "uint256"
405
+ }
406
+ ],
407
+ "stateMutability": "nonpayable",
408
+ "type": "function"
409
+ }, {
410
+ "inputs": [
411
+ {
412
+ "internalType": "bytes",
413
+ "name": "path",
414
+ "type": "bytes"
415
+ }, {
416
+ "internalType": "uint256",
417
+ "name": "amountOut",
418
+ "type": "uint256"
419
+ }
420
+ ],
421
+ "name": "quoteExactOutput",
422
+ "outputs": [
423
+ {
424
+ "internalType": "uint256",
425
+ "name": "amountIn",
426
+ "type": "uint256"
427
+ }, {
428
+ "internalType": "uint160[]",
429
+ "name": "sqrtPriceX96AfterList",
430
+ "type": "uint160[]"
431
+ }, {
432
+ "internalType": "uint32[]",
433
+ "name": "initializedTicksCrossedList",
434
+ "type": "uint32[]"
435
+ }, {
436
+ "internalType": "uint256",
437
+ "name": "gasEstimate",
438
+ "type": "uint256"
439
+ }
440
+ ],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ }, {
444
+ "inputs": [
445
+ {
446
+ "components": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "tokenIn",
450
+ "type": "address"
451
+ }, {
452
+ "internalType": "address",
453
+ "name": "tokenOut",
454
+ "type": "address"
455
+ }, {
456
+ "internalType": "uint256",
457
+ "name": "amount",
458
+ "type": "uint256"
459
+ }, {
460
+ "internalType": "uint160",
461
+ "name": "limitSqrtPrice",
462
+ "type": "uint160"
463
+ }
464
+ ],
465
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
466
+ "name": "params",
467
+ "type": "tuple"
468
+ }
469
+ ],
470
+ "name": "quoteExactOutputSingle",
471
+ "outputs": [
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "amountIn",
475
+ "type": "uint256"
476
+ }, {
477
+ "internalType": "uint160",
478
+ "name": "sqrtPriceX96After",
479
+ "type": "uint160"
480
+ }, {
481
+ "internalType": "uint32",
482
+ "name": "initializedTicksCrossed",
483
+ "type": "uint32"
484
+ }, {
485
+ "internalType": "uint256",
486
+ "name": "gasEstimate",
487
+ "type": "uint256"
488
+ }
489
+ ],
490
+ "stateMutability": "nonpayable",
491
+ "type": "function"
492
+ }
493
+ ];
494
+ exports.QuoterV2Thick = [
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "address",
499
+ "name": "_factory",
500
+ "type": "address"
501
+ }, {
502
+ "internalType": "address",
503
+ "name": "_WETH9",
504
+ "type": "address"
505
+ }
506
+ ],
507
+ "stateMutability": "nonpayable",
508
+ "type": "constructor"
509
+ },
510
+ {
511
+ "inputs": [],
512
+ "name": "WETH9",
513
+ "outputs": [
514
+ {
515
+ "internalType": "address",
516
+ "name": "",
517
+ "type": "address"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [],
525
+ "name": "factory",
526
+ "outputs": [
527
+ {
528
+ "internalType": "address",
529
+ "name": "",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [
538
+ {
539
+ "internalType": "bytes",
540
+ "name": "path",
541
+ "type": "bytes"
542
+ }, {
543
+ "internalType": "uint256",
544
+ "name": "amountIn",
545
+ "type": "uint256"
546
+ }
547
+ ],
548
+ "name": "quoteExactInput",
549
+ "outputs": [
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "amountOut",
553
+ "type": "uint256"
554
+ }, {
555
+ "internalType": "uint160[]",
556
+ "name": "sqrtPriceX96AfterList",
557
+ "type": "uint160[]"
558
+ }, {
559
+ "internalType": "uint32[]",
560
+ "name": "initializedTicksCrossedList",
561
+ "type": "uint32[]"
562
+ }, {
563
+ "internalType": "uint256",
564
+ "name": "gasEstimate",
565
+ "type": "uint256"
566
+ }
567
+ ],
568
+ "stateMutability": "nonpayable",
569
+ "type": "function"
570
+ }, {
571
+ "inputs": [
572
+ {
573
+ "components": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "tokenIn",
577
+ "type": "address"
578
+ },
579
+ {
580
+ "internalType": "address",
581
+ "name": "tokenOut",
582
+ "type": "address"
583
+ },
584
+ {
585
+ "internalType": "uint256",
586
+ "name": "amountIn",
587
+ "type": "uint256"
588
+ },
589
+ {
590
+ "internalType": "int24",
591
+ "name": "tickSpacing",
592
+ "type": "int24"
593
+ }, {
594
+ "internalType": "uint160",
595
+ "name": "sqrtPriceLimitX96",
596
+ "type": "uint160"
597
+ }
598
+ ],
599
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
600
+ "name": "params",
601
+ "type": "tuple"
602
+ }
603
+ ],
604
+ "name": "quoteExactInputSingle",
605
+ "outputs": [
606
+ {
607
+ "internalType": "uint256",
608
+ "name": "amountOut",
609
+ "type": "uint256"
610
+ }, {
611
+ "internalType": "uint160",
612
+ "name": "sqrtPriceX96After",
613
+ "type": "uint160"
614
+ }, {
615
+ "internalType": "uint32",
616
+ "name": "initializedTicksCrossed",
617
+ "type": "uint32"
618
+ }, {
619
+ "internalType": "uint256",
620
+ "name": "gasEstimate",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ }, {
627
+ "inputs": [
628
+ {
629
+ "internalType": "bytes",
630
+ "name": "path",
631
+ "type": "bytes"
632
+ }, {
633
+ "internalType": "uint256",
634
+ "name": "amountOut",
635
+ "type": "uint256"
636
+ }
637
+ ],
638
+ "name": "quoteExactOutput",
639
+ "outputs": [
640
+ {
641
+ "internalType": "uint256",
642
+ "name": "amountIn",
643
+ "type": "uint256"
644
+ }, {
645
+ "internalType": "uint160[]",
646
+ "name": "sqrtPriceX96AfterList",
647
+ "type": "uint160[]"
648
+ }, {
649
+ "internalType": "uint32[]",
650
+ "name": "initializedTicksCrossedList",
651
+ "type": "uint32[]"
652
+ }, {
653
+ "internalType": "uint256",
654
+ "name": "gasEstimate",
655
+ "type": "uint256"
656
+ }
657
+ ],
658
+ "stateMutability": "nonpayable",
659
+ "type": "function"
660
+ }, {
661
+ "inputs": [
662
+ {
663
+ "components": [
664
+ {
665
+ "internalType": "address",
666
+ "name": "tokenIn",
667
+ "type": "address"
668
+ },
669
+ {
670
+ "internalType": "address",
671
+ "name": "tokenOut",
672
+ "type": "address"
673
+ },
674
+ {
675
+ "internalType": "uint256",
676
+ "name": "amount",
677
+ "type": "uint256"
678
+ },
679
+ {
680
+ "internalType": "uint24",
681
+ "name": "fee",
682
+ "type": "uint24"
683
+ }, {
684
+ "internalType": "uint160",
685
+ "name": "sqrtPriceLimitX96",
686
+ "type": "uint160"
687
+ }
688
+ ],
689
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
690
+ "name": "params",
691
+ "type": "tuple"
692
+ }
693
+ ],
694
+ "name": "quoteExactOutputSingle",
695
+ "outputs": [
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "amountIn",
699
+ "type": "uint256"
700
+ }, {
701
+ "internalType": "uint160",
702
+ "name": "sqrtPriceX96After",
703
+ "type": "uint160"
704
+ }, {
705
+ "internalType": "uint32",
706
+ "name": "initializedTicksCrossed",
707
+ "type": "uint32"
708
+ }, {
709
+ "internalType": "uint256",
710
+ "name": "gasEstimate",
711
+ "type": "uint256"
712
+ }
713
+ ],
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ }, {
717
+ "inputs": [
718
+ {
719
+ "internalType": "int256",
720
+ "name": "amount0Delta",
721
+ "type": "int256"
722
+ }, {
723
+ "internalType": "int256",
724
+ "name": "amount1Delta",
725
+ "type": "int256"
726
+ }, {
727
+ "internalType": "bytes",
728
+ "name": "path",
729
+ "type": "bytes"
730
+ }
731
+ ],
732
+ "name": "uniswapV3SwapCallback",
733
+ "outputs": [],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ }
737
+ ];
738
+ exports.QuoterV2AlgebgraIntegral = [
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "address",
743
+ "name": "_factory",
744
+ "type": "address"
745
+ }, {
746
+ "internalType": "address",
747
+ "name": "_WNativeToken",
748
+ "type": "address"
749
+ }, {
750
+ "internalType": "address",
751
+ "name": "_poolDeployer",
752
+ "type": "address"
753
+ }
754
+ ],
755
+ "stateMutability": "nonpayable",
756
+ "type": "constructor"
757
+ },
758
+ {
759
+ "inputs": [],
760
+ "name": "WNativeToken",
761
+ "outputs": [
762
+ {
763
+ "internalType": "address",
764
+ "name": "",
765
+ "type": "address"
766
+ }
767
+ ],
768
+ "stateMutability": "view",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "int256",
775
+ "name": "amount0Delta",
776
+ "type": "int256"
777
+ }, {
778
+ "internalType": "int256",
779
+ "name": "amount1Delta",
780
+ "type": "int256"
781
+ }, {
782
+ "internalType": "bytes",
783
+ "name": "path",
784
+ "type": "bytes"
785
+ }
786
+ ],
787
+ "name": "algebraSwapCallback",
788
+ "outputs": [],
789
+ "stateMutability": "view",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [],
794
+ "name": "factory",
795
+ "outputs": [
796
+ {
797
+ "internalType": "address",
798
+ "name": "",
799
+ "type": "address"
800
+ }
801
+ ],
802
+ "stateMutability": "view",
803
+ "type": "function"
804
+ }, {
805
+ "inputs": [],
806
+ "name": "poolDeployer",
807
+ "outputs": [
808
+ {
809
+ "internalType": "address",
810
+ "name": "",
811
+ "type": "address"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ }, {
817
+ "inputs": [
818
+ {
819
+ "internalType": "bytes",
820
+ "name": "path",
821
+ "type": "bytes"
822
+ }, {
823
+ "internalType": "uint256",
824
+ "name": "amountInRequired",
825
+ "type": "uint256"
826
+ }
827
+ ],
828
+ "name": "quoteExactInput",
829
+ "outputs": [
830
+ {
831
+ "internalType": "uint256",
832
+ "name": "amountOut",
833
+ "type": "uint256"
834
+ },
835
+ {
836
+ "internalType": "uint256",
837
+ "name": "amountIn",
838
+ "type": "uint256"
839
+ },
840
+ {
841
+ "internalType": "uint160[]",
842
+ "name": "sqrtPriceX96AfterList",
843
+ "type": "uint160[]"
844
+ },
845
+ {
846
+ "internalType": "uint32[]",
847
+ "name": "initializedTicksCrossedList",
848
+ "type": "uint32[]"
849
+ }, {
850
+ "internalType": "uint256",
851
+ "name": "gasEstimate",
852
+ "type": "uint256"
853
+ }, {
854
+ "internalType": "uint16[]",
855
+ "name": "feeList",
856
+ "type": "uint16[]"
857
+ }
858
+ ],
859
+ "stateMutability": "nonpayable",
860
+ "type": "function"
861
+ }, {
862
+ "inputs": [
863
+ {
864
+ "components": [
865
+ {
866
+ "internalType": "address",
867
+ "name": "tokenIn",
868
+ "type": "address"
869
+ }, {
870
+ "internalType": "address",
871
+ "name": "tokenOut",
872
+ "type": "address"
873
+ }, {
874
+ "internalType": "uint256",
875
+ "name": "amountIn",
876
+ "type": "uint256"
877
+ }, {
878
+ "internalType": "uint160",
879
+ "name": "limitSqrtPrice",
880
+ "type": "uint160"
881
+ }
882
+ ],
883
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
884
+ "name": "params",
885
+ "type": "tuple"
886
+ }
887
+ ],
888
+ "name": "quoteExactInputSingle",
889
+ "outputs": [
890
+ {
891
+ "internalType": "uint256",
892
+ "name": "amountOut",
893
+ "type": "uint256"
894
+ },
895
+ {
896
+ "internalType": "uint256",
897
+ "name": "amountIn",
898
+ "type": "uint256"
899
+ },
900
+ {
901
+ "internalType": "uint160",
902
+ "name": "sqrtPriceX96After",
903
+ "type": "uint160"
904
+ },
905
+ {
906
+ "internalType": "uint32",
907
+ "name": "initializedTicksCrossed",
908
+ "type": "uint32"
909
+ }, {
910
+ "internalType": "uint256",
911
+ "name": "gasEstimate",
912
+ "type": "uint256"
913
+ }, {
914
+ "internalType": "uint16",
915
+ "name": "fee",
916
+ "type": "uint16"
917
+ }
918
+ ],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ }, {
922
+ "inputs": [
923
+ {
924
+ "internalType": "bytes",
925
+ "name": "path",
926
+ "type": "bytes"
927
+ }, {
928
+ "internalType": "uint256",
929
+ "name": "amountOutRequired",
930
+ "type": "uint256"
931
+ }
932
+ ],
933
+ "name": "quoteExactOutput",
934
+ "outputs": [
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "amountOut",
938
+ "type": "uint256"
939
+ },
940
+ {
941
+ "internalType": "uint256",
942
+ "name": "amountIn",
943
+ "type": "uint256"
944
+ },
945
+ {
946
+ "internalType": "uint160[]",
947
+ "name": "sqrtPriceX96AfterList",
948
+ "type": "uint160[]"
949
+ },
950
+ {
951
+ "internalType": "uint32[]",
952
+ "name": "initializedTicksCrossedList",
953
+ "type": "uint32[]"
954
+ }, {
955
+ "internalType": "uint256",
956
+ "name": "gasEstimate",
957
+ "type": "uint256"
958
+ }, {
959
+ "internalType": "uint16[]",
960
+ "name": "feeList",
961
+ "type": "uint16[]"
962
+ }
963
+ ],
964
+ "stateMutability": "nonpayable",
965
+ "type": "function"
966
+ }, {
967
+ "inputs": [
968
+ {
969
+ "components": [
970
+ {
971
+ "internalType": "address",
972
+ "name": "tokenIn",
973
+ "type": "address"
974
+ }, {
975
+ "internalType": "address",
976
+ "name": "tokenOut",
977
+ "type": "address"
978
+ }, {
979
+ "internalType": "uint256",
980
+ "name": "amount",
981
+ "type": "uint256"
982
+ }, {
983
+ "internalType": "uint160",
984
+ "name": "limitSqrtPrice",
985
+ "type": "uint160"
986
+ }
987
+ ],
988
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
989
+ "name": "params",
990
+ "type": "tuple"
991
+ }
992
+ ],
993
+ "name": "quoteExactOutputSingle",
994
+ "outputs": [
995
+ {
996
+ "internalType": "uint256",
997
+ "name": "amountOut",
998
+ "type": "uint256"
999
+ },
1000
+ {
1001
+ "internalType": "uint256",
1002
+ "name": "amountIn",
1003
+ "type": "uint256"
1004
+ },
1005
+ {
1006
+ "internalType": "uint160",
1007
+ "name": "sqrtPriceX96After",
1008
+ "type": "uint160"
1009
+ },
1010
+ {
1011
+ "internalType": "uint32",
1012
+ "name": "initializedTicksCrossed",
1013
+ "type": "uint32"
1014
+ }, {
1015
+ "internalType": "uint256",
1016
+ "name": "gasEstimate",
1017
+ "type": "uint256"
1018
+ }, {
1019
+ "internalType": "uint16",
1020
+ "name": "fee",
1021
+ "type": "uint16"
1022
+ }
1023
+ ],
1024
+ "stateMutability": "nonpayable",
1025
+ "type": "function"
1026
+ }
1027
+ ];
1028
+ exports.QuoterV2AlgebgraIntegral21 = [
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "address",
1033
+ "name": "_factory",
1034
+ "type": "address"
1035
+ }, {
1036
+ "internalType": "address",
1037
+ "name": "_WNativeToken",
1038
+ "type": "address"
1039
+ }, {
1040
+ "internalType": "address",
1041
+ "name": "_poolDeployer",
1042
+ "type": "address"
1043
+ }
1044
+ ],
1045
+ "stateMutability": "nonpayable",
1046
+ "type": "constructor"
1047
+ },
1048
+ {
1049
+ "inputs": [],
1050
+ "name": "WNativeToken",
1051
+ "outputs": [
1052
+ {
1053
+ "internalType": "address",
1054
+ "name": "",
1055
+ "type": "address"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "view",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ {
1064
+ "internalType": "int256",
1065
+ "name": "amount0Delta",
1066
+ "type": "int256"
1067
+ }, {
1068
+ "internalType": "int256",
1069
+ "name": "amount1Delta",
1070
+ "type": "int256"
1071
+ }, {
1072
+ "internalType": "bytes",
1073
+ "name": "path",
1074
+ "type": "bytes"
1075
+ }
1076
+ ],
1077
+ "name": "algebraSwapCallback",
1078
+ "outputs": [],
1079
+ "stateMutability": "view",
1080
+ "type": "function"
1081
+ },
1082
+ {
1083
+ "inputs": [],
1084
+ "name": "factory",
1085
+ "outputs": [
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "",
1089
+ "type": "address"
1090
+ }
1091
+ ],
1092
+ "stateMutability": "view",
1093
+ "type": "function"
1094
+ }, {
1095
+ "inputs": [],
1096
+ "name": "poolDeployer",
1097
+ "outputs": [
1098
+ {
1099
+ "internalType": "address",
1100
+ "name": "",
1101
+ "type": "address"
1102
+ }
1103
+ ],
1104
+ "stateMutability": "view",
1105
+ "type": "function"
1106
+ }, {
1107
+ "inputs": [
1108
+ {
1109
+ "internalType": "bytes",
1110
+ "name": "path",
1111
+ "type": "bytes"
1112
+ }, {
1113
+ "internalType": "uint256",
1114
+ "name": "amountInRequired",
1115
+ "type": "uint256"
1116
+ }
1117
+ ],
1118
+ "name": "quoteExactInput",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "uint256[]",
1122
+ "name": "amountOutList",
1123
+ "type": "uint256[]"
1124
+ },
1125
+ {
1126
+ "internalType": "uint256[]",
1127
+ "name": "amountInList",
1128
+ "type": "uint256[]"
1129
+ },
1130
+ {
1131
+ "internalType": "uint160[]",
1132
+ "name": "sqrtPriceX96AfterList",
1133
+ "type": "uint160[]"
1134
+ },
1135
+ {
1136
+ "internalType": "uint32[]",
1137
+ "name": "initializedTicksCrossedList",
1138
+ "type": "uint32[]"
1139
+ }, {
1140
+ "internalType": "uint256",
1141
+ "name": "gasEstimate",
1142
+ "type": "uint256"
1143
+ }, {
1144
+ "internalType": "uint16[]",
1145
+ "name": "feeList",
1146
+ "type": "uint16[]"
1147
+ }
1148
+ ],
1149
+ "stateMutability": "nonpayable",
1150
+ "type": "function"
1151
+ }, {
1152
+ "inputs": [
1153
+ {
1154
+ "components": [
1155
+ {
1156
+ "internalType": "address",
1157
+ "name": "tokenIn",
1158
+ "type": "address"
1159
+ },
1160
+ {
1161
+ "internalType": "address",
1162
+ "name": "tokenOut",
1163
+ "type": "address"
1164
+ },
1165
+ {
1166
+ "internalType": "address",
1167
+ "name": "deployer",
1168
+ "type": "address"
1169
+ },
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "amountIn",
1173
+ "type": "uint256"
1174
+ }, {
1175
+ "internalType": "uint160",
1176
+ "name": "limitSqrtPrice",
1177
+ "type": "uint160"
1178
+ }
1179
+ ],
1180
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
1181
+ "name": "params",
1182
+ "type": "tuple"
1183
+ }
1184
+ ],
1185
+ "name": "quoteExactInputSingle",
1186
+ "outputs": [
1187
+ {
1188
+ "internalType": "uint256",
1189
+ "name": "amountOut",
1190
+ "type": "uint256"
1191
+ },
1192
+ {
1193
+ "internalType": "uint256",
1194
+ "name": "amountIn",
1195
+ "type": "uint256"
1196
+ },
1197
+ {
1198
+ "internalType": "uint160",
1199
+ "name": "sqrtPriceX96After",
1200
+ "type": "uint160"
1201
+ },
1202
+ {
1203
+ "internalType": "uint32",
1204
+ "name": "initializedTicksCrossed",
1205
+ "type": "uint32"
1206
+ }, {
1207
+ "internalType": "uint256",
1208
+ "name": "gasEstimate",
1209
+ "type": "uint256"
1210
+ }, {
1211
+ "internalType": "uint16",
1212
+ "name": "fee",
1213
+ "type": "uint16"
1214
+ }
1215
+ ],
1216
+ "stateMutability": "nonpayable",
1217
+ "type": "function"
1218
+ }, {
1219
+ "inputs": [
1220
+ {
1221
+ "internalType": "bytes",
1222
+ "name": "path",
1223
+ "type": "bytes"
1224
+ }, {
1225
+ "internalType": "uint256",
1226
+ "name": "amountOutRequired",
1227
+ "type": "uint256"
1228
+ }
1229
+ ],
1230
+ "name": "quoteExactOutput",
1231
+ "outputs": [
1232
+ {
1233
+ "internalType": "uint256[]",
1234
+ "name": "amountOutList",
1235
+ "type": "uint256[]"
1236
+ },
1237
+ {
1238
+ "internalType": "uint256[]",
1239
+ "name": "amountInList",
1240
+ "type": "uint256[]"
1241
+ },
1242
+ {
1243
+ "internalType": "uint160[]",
1244
+ "name": "sqrtPriceX96AfterList",
1245
+ "type": "uint160[]"
1246
+ },
1247
+ {
1248
+ "internalType": "uint32[]",
1249
+ "name": "initializedTicksCrossedList",
1250
+ "type": "uint32[]"
1251
+ }, {
1252
+ "internalType": "uint256",
1253
+ "name": "gasEstimate",
1254
+ "type": "uint256"
1255
+ }, {
1256
+ "internalType": "uint16[]",
1257
+ "name": "feeList",
1258
+ "type": "uint16[]"
1259
+ }
1260
+ ],
1261
+ "stateMutability": "nonpayable",
1262
+ "type": "function"
1263
+ }, {
1264
+ "inputs": [
1265
+ {
1266
+ "components": [
1267
+ {
1268
+ "internalType": "address",
1269
+ "name": "tokenIn",
1270
+ "type": "address"
1271
+ },
1272
+ {
1273
+ "internalType": "address",
1274
+ "name": "tokenOut",
1275
+ "type": "address"
1276
+ },
1277
+ {
1278
+ "internalType": "address",
1279
+ "name": "deployer",
1280
+ "type": "address"
1281
+ },
1282
+ {
1283
+ "internalType": "uint256",
1284
+ "name": "amount",
1285
+ "type": "uint256"
1286
+ }, {
1287
+ "internalType": "uint160",
1288
+ "name": "limitSqrtPrice",
1289
+ "type": "uint160"
1290
+ }
1291
+ ],
1292
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
1293
+ "name": "params",
1294
+ "type": "tuple"
1295
+ }
1296
+ ],
1297
+ "name": "quoteExactOutputSingle",
1298
+ "outputs": [
1299
+ {
1300
+ "internalType": "uint256",
1301
+ "name": "amountOut",
1302
+ "type": "uint256"
1303
+ },
1304
+ {
1305
+ "internalType": "uint256",
1306
+ "name": "amountIn",
1307
+ "type": "uint256"
1308
+ },
1309
+ {
1310
+ "internalType": "uint160",
1311
+ "name": "sqrtPriceX96After",
1312
+ "type": "uint160"
1313
+ },
1314
+ {
1315
+ "internalType": "uint32",
1316
+ "name": "initializedTicksCrossed",
1317
+ "type": "uint32"
1318
+ }, {
1319
+ "internalType": "uint256",
1320
+ "name": "gasEstimate",
1321
+ "type": "uint256"
1322
+ }, {
1323
+ "internalType": "uint16",
1324
+ "name": "fee",
1325
+ "type": "uint16"
1326
+ }
1327
+ ],
1328
+ "stateMutability": "nonpayable",
1329
+ "type": "function"
1330
+ }
1331
+ ];
1332
+ exports.QuoterV2Shadow = [
1333
+ {
1334
+ "inputs": [
1335
+ {
1336
+ "internalType": "address",
1337
+ "name": "_deployer",
1338
+ "type": "address"
1339
+ }, {
1340
+ "internalType": "address",
1341
+ "name": "_WETH9",
1342
+ "type": "address"
1343
+ }
1344
+ ],
1345
+ "stateMutability": "nonpayable",
1346
+ "type": "constructor"
1347
+ },
1348
+ {
1349
+ "inputs": [],
1350
+ "name": "OutOfBounds",
1351
+ "type": "error"
1352
+ },
1353
+ {
1354
+ "inputs": [],
1355
+ "name": "Overflow",
1356
+ "type": "error"
1357
+ },
1358
+ {
1359
+ "inputs": [],
1360
+ "name": "WETH9",
1361
+ "outputs": [
1362
+ {
1363
+ "internalType": "address",
1364
+ "name": "",
1365
+ "type": "address"
1366
+ }
1367
+ ],
1368
+ "stateMutability": "view",
1369
+ "type": "function"
1370
+ }, {
1371
+ "inputs": [],
1372
+ "name": "deployer",
1373
+ "outputs": [
1374
+ {
1375
+ "internalType": "address",
1376
+ "name": "",
1377
+ "type": "address"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "view",
1381
+ "type": "function"
1382
+ }, {
1383
+ "inputs": [
1384
+ {
1385
+ "internalType": "bytes",
1386
+ "name": "path",
1387
+ "type": "bytes"
1388
+ }, {
1389
+ "internalType": "uint256",
1390
+ "name": "amountIn",
1391
+ "type": "uint256"
1392
+ }
1393
+ ],
1394
+ "name": "quoteExactInput",
1395
+ "outputs": [
1396
+ {
1397
+ "internalType": "uint256",
1398
+ "name": "amountOut",
1399
+ "type": "uint256"
1400
+ }, {
1401
+ "internalType": "uint160[]",
1402
+ "name": "sqrtPriceX96AfterList",
1403
+ "type": "uint160[]"
1404
+ }, {
1405
+ "internalType": "uint32[]",
1406
+ "name": "initializedTicksCrossedList",
1407
+ "type": "uint32[]"
1408
+ }, {
1409
+ "internalType": "uint256",
1410
+ "name": "gasEstimate",
1411
+ "type": "uint256"
1412
+ }
1413
+ ],
1414
+ "stateMutability": "nonpayable",
1415
+ "type": "function"
1416
+ }, {
1417
+ "inputs": [
1418
+ {
1419
+ "components": [
1420
+ {
1421
+ "internalType": "address",
1422
+ "name": "tokenIn",
1423
+ "type": "address"
1424
+ },
1425
+ {
1426
+ "internalType": "address",
1427
+ "name": "tokenOut",
1428
+ "type": "address"
1429
+ },
1430
+ {
1431
+ "internalType": "uint256",
1432
+ "name": "amountIn",
1433
+ "type": "uint256"
1434
+ },
1435
+ {
1436
+ "internalType": "int24",
1437
+ "name": "tickSpacing",
1438
+ "type": "int24"
1439
+ }, {
1440
+ "internalType": "uint160",
1441
+ "name": "sqrtPriceLimitX96",
1442
+ "type": "uint160"
1443
+ }
1444
+ ],
1445
+ "internalType": "struct IQuoterV2.QuoteExactInputSingleParams",
1446
+ "name": "params",
1447
+ "type": "tuple"
1448
+ }
1449
+ ],
1450
+ "name": "quoteExactInputSingle",
1451
+ "outputs": [
1452
+ {
1453
+ "internalType": "uint256",
1454
+ "name": "amountOut",
1455
+ "type": "uint256"
1456
+ }, {
1457
+ "internalType": "uint160",
1458
+ "name": "sqrtPriceX96After",
1459
+ "type": "uint160"
1460
+ }, {
1461
+ "internalType": "uint32",
1462
+ "name": "initializedTicksCrossed",
1463
+ "type": "uint32"
1464
+ }, {
1465
+ "internalType": "uint256",
1466
+ "name": "gasEstimate",
1467
+ "type": "uint256"
1468
+ }
1469
+ ],
1470
+ "stateMutability": "nonpayable",
1471
+ "type": "function"
1472
+ }, {
1473
+ "inputs": [
1474
+ {
1475
+ "internalType": "bytes",
1476
+ "name": "path",
1477
+ "type": "bytes"
1478
+ }, {
1479
+ "internalType": "uint256",
1480
+ "name": "amountOut",
1481
+ "type": "uint256"
1482
+ }
1483
+ ],
1484
+ "name": "quoteExactOutput",
1485
+ "outputs": [
1486
+ {
1487
+ "internalType": "uint256",
1488
+ "name": "amountIn",
1489
+ "type": "uint256"
1490
+ }, {
1491
+ "internalType": "uint160[]",
1492
+ "name": "sqrtPriceX96AfterList",
1493
+ "type": "uint160[]"
1494
+ }, {
1495
+ "internalType": "uint32[]",
1496
+ "name": "initializedTicksCrossedList",
1497
+ "type": "uint32[]"
1498
+ }, {
1499
+ "internalType": "uint256",
1500
+ "name": "gasEstimate",
1501
+ "type": "uint256"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "nonpayable",
1505
+ "type": "function"
1506
+ }, {
1507
+ "inputs": [
1508
+ {
1509
+ "components": [
1510
+ {
1511
+ "internalType": "address",
1512
+ "name": "tokenIn",
1513
+ "type": "address"
1514
+ },
1515
+ {
1516
+ "internalType": "address",
1517
+ "name": "tokenOut",
1518
+ "type": "address"
1519
+ },
1520
+ {
1521
+ "internalType": "uint256",
1522
+ "name": "amount",
1523
+ "type": "uint256"
1524
+ },
1525
+ {
1526
+ "internalType": "int24",
1527
+ "name": "tickSpacing",
1528
+ "type": "int24"
1529
+ }, {
1530
+ "internalType": "uint160",
1531
+ "name": "sqrtPriceLimitX96",
1532
+ "type": "uint160"
1533
+ }
1534
+ ],
1535
+ "internalType": "struct IQuoterV2.QuoteExactOutputSingleParams",
1536
+ "name": "params",
1537
+ "type": "tuple"
1538
+ }
1539
+ ],
1540
+ "name": "quoteExactOutputSingle",
1541
+ "outputs": [
1542
+ {
1543
+ "internalType": "uint256",
1544
+ "name": "amountIn",
1545
+ "type": "uint256"
1546
+ }, {
1547
+ "internalType": "uint160",
1548
+ "name": "sqrtPriceX96After",
1549
+ "type": "uint160"
1550
+ }, {
1551
+ "internalType": "uint32",
1552
+ "name": "initializedTicksCrossed",
1553
+ "type": "uint32"
1554
+ }, {
1555
+ "internalType": "uint256",
1556
+ "name": "gasEstimate",
1557
+ "type": "uint256"
1558
+ }
1559
+ ],
1560
+ "stateMutability": "nonpayable",
1561
+ "type": "function"
1562
+ }, {
1563
+ "inputs": [
1564
+ {
1565
+ "internalType": "int256",
1566
+ "name": "amount0Delta",
1567
+ "type": "int256"
1568
+ }, {
1569
+ "internalType": "int256",
1570
+ "name": "amount1Delta",
1571
+ "type": "int256"
1572
+ }, {
1573
+ "internalType": "bytes",
1574
+ "name": "path",
1575
+ "type": "bytes"
1576
+ }
1577
+ ],
1578
+ "name": "uniswapV3SwapCallback",
1579
+ "outputs": [],
1580
+ "stateMutability": "view",
1581
+ "type": "function"
1582
+ }
1583
+ ];
1584
+ //# sourceMappingURL=quoter.js.map