timelock-sdk 0.0.135 → 0.0.136

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 (42) hide show
  1. package/dist/abis.cjs +602 -3
  2. package/dist/abis.cjs.map +1 -0
  3. package/dist/abis.d.cts +354 -90
  4. package/dist/abis.d.ts +354 -90
  5. package/dist/abis.js +602 -3
  6. package/dist/abis.js.map +1 -0
  7. package/dist/{client-DXq_0YH-.d.cts → client-B7kKAk49.d.cts} +38760 -28899
  8. package/dist/{client-BQGLnbLD.d.ts → client-D4EJlSs_.d.ts} +38760 -28899
  9. package/dist/client.cjs +86 -60
  10. package/dist/client.cjs.map +1 -1
  11. package/dist/client.d.cts +3 -3
  12. package/dist/client.d.ts +3 -3
  13. package/dist/client.js +85 -61
  14. package/dist/client.js.map +1 -1
  15. package/dist/optionUtils-B0rlRtfb.js +1401 -0
  16. package/dist/optionUtils-B0rlRtfb.js.map +1 -0
  17. package/dist/{optionUtils-OfLzCR6R.cjs → optionUtils-pH0o9gTm.cjs} +1069 -37
  18. package/dist/optionUtils-pH0o9gTm.cjs.map +1 -0
  19. package/dist/{optionsMarket-B2IsvbeA.js → optionsMarket-CjlRzn2K.js} +213 -21
  20. package/dist/optionsMarket-CjlRzn2K.js.map +1 -0
  21. package/dist/{optionsMarket-C6K82im8.cjs → optionsMarket-iZiYJCuW.cjs} +213 -21
  22. package/dist/optionsMarket-iZiYJCuW.cjs.map +1 -0
  23. package/dist/package.cjs +5 -6
  24. package/dist/package.d.cts +3 -3
  25. package/dist/package.d.ts +3 -3
  26. package/dist/package.js +3 -3
  27. package/dist/singleOwnerVault-BJyEs_D_.js +847 -0
  28. package/dist/singleOwnerVault-BJyEs_D_.js.map +1 -0
  29. package/dist/singleOwnerVault-GCpQV7pN.cjs +853 -0
  30. package/dist/singleOwnerVault-GCpQV7pN.cjs.map +1 -0
  31. package/dist/{uniswapMathLens-DHfzEjej.d.ts → uniswapMathLens-B0xWynAN.d.cts} +182 -21
  32. package/dist/{uniswapMathLens-Be6lFJcD.d.cts → uniswapMathLens-DAI2a8aU.d.ts} +182 -21
  33. package/package.json +38 -38
  34. package/dist/optionUtils-CQzUsKpO.js +0 -369
  35. package/dist/optionUtils-CQzUsKpO.js.map +0 -1
  36. package/dist/optionUtils-OfLzCR6R.cjs.map +0 -1
  37. package/dist/optionsMarket-B2IsvbeA.js.map +0 -1
  38. package/dist/optionsMarket-C6K82im8.cjs.map +0 -1
  39. package/dist/singleOwnerVault-gf2zNZVk.cjs +0 -1131
  40. package/dist/singleOwnerVault-gf2zNZVk.cjs.map +0 -1
  41. package/dist/singleOwnerVault-p81IjmWe.js +0 -1119
  42. package/dist/singleOwnerVault-p81IjmWe.js.map +0 -1
package/dist/abis.cjs CHANGED
@@ -1,9 +1,608 @@
1
- const require_optionsMarket = require('./optionsMarket-C6K82im8.cjs');
2
- const require_singleOwnerVault = require('./singleOwnerVault-gf2zNZVk.cjs');
1
+ const require_optionsMarket = require('./optionsMarket-iZiYJCuW.cjs');
2
+ const require_singleOwnerVault = require('./singleOwnerVault-GCpQV7pN.cjs');
3
3
 
4
+ //#region src/abis/uniswapV3Pool.ts
5
+ const uniswapV3PoolAbi = [
6
+ {
7
+ type: "function",
8
+ name: "burn",
9
+ inputs: [
10
+ {
11
+ name: "tickLower",
12
+ type: "int24",
13
+ internalType: "int24"
14
+ },
15
+ {
16
+ name: "tickUpper",
17
+ type: "int24",
18
+ internalType: "int24"
19
+ },
20
+ {
21
+ name: "amount",
22
+ type: "uint128",
23
+ internalType: "uint128"
24
+ }
25
+ ],
26
+ outputs: [{
27
+ name: "amount0",
28
+ type: "uint256",
29
+ internalType: "uint256"
30
+ }, {
31
+ name: "amount1",
32
+ type: "uint256",
33
+ internalType: "uint256"
34
+ }],
35
+ stateMutability: "nonpayable"
36
+ },
37
+ {
38
+ type: "function",
39
+ name: "collect",
40
+ inputs: [
41
+ {
42
+ name: "recipient",
43
+ type: "address",
44
+ internalType: "address"
45
+ },
46
+ {
47
+ name: "tickLower",
48
+ type: "int24",
49
+ internalType: "int24"
50
+ },
51
+ {
52
+ name: "tickUpper",
53
+ type: "int24",
54
+ internalType: "int24"
55
+ },
56
+ {
57
+ name: "amount0Requested",
58
+ type: "uint128",
59
+ internalType: "uint128"
60
+ },
61
+ {
62
+ name: "amount1Requested",
63
+ type: "uint128",
64
+ internalType: "uint128"
65
+ }
66
+ ],
67
+ outputs: [{
68
+ name: "amount0",
69
+ type: "uint128",
70
+ internalType: "uint128"
71
+ }, {
72
+ name: "amount1",
73
+ type: "uint128",
74
+ internalType: "uint128"
75
+ }],
76
+ stateMutability: "nonpayable"
77
+ },
78
+ {
79
+ type: "function",
80
+ name: "collectProtocol",
81
+ inputs: [
82
+ {
83
+ name: "recipient",
84
+ type: "address",
85
+ internalType: "address"
86
+ },
87
+ {
88
+ name: "amount0Requested",
89
+ type: "uint128",
90
+ internalType: "uint128"
91
+ },
92
+ {
93
+ name: "amount1Requested",
94
+ type: "uint128",
95
+ internalType: "uint128"
96
+ }
97
+ ],
98
+ outputs: [{
99
+ name: "amount0",
100
+ type: "uint128",
101
+ internalType: "uint128"
102
+ }, {
103
+ name: "amount1",
104
+ type: "uint128",
105
+ internalType: "uint128"
106
+ }],
107
+ stateMutability: "nonpayable"
108
+ },
109
+ {
110
+ type: "function",
111
+ name: "factory",
112
+ inputs: [],
113
+ outputs: [{
114
+ name: "",
115
+ type: "address",
116
+ internalType: "address"
117
+ }],
118
+ stateMutability: "view"
119
+ },
120
+ {
121
+ type: "function",
122
+ name: "fee",
123
+ inputs: [],
124
+ outputs: [{
125
+ name: "",
126
+ type: "uint24",
127
+ internalType: "uint24"
128
+ }],
129
+ stateMutability: "view"
130
+ },
131
+ {
132
+ type: "function",
133
+ name: "feeGrowthGlobal0X128",
134
+ inputs: [],
135
+ outputs: [{
136
+ name: "",
137
+ type: "uint256",
138
+ internalType: "uint256"
139
+ }],
140
+ stateMutability: "view"
141
+ },
142
+ {
143
+ type: "function",
144
+ name: "feeGrowthGlobal1X128",
145
+ inputs: [],
146
+ outputs: [{
147
+ name: "",
148
+ type: "uint256",
149
+ internalType: "uint256"
150
+ }],
151
+ stateMutability: "view"
152
+ },
153
+ {
154
+ type: "function",
155
+ name: "flash",
156
+ inputs: [
157
+ {
158
+ name: "recipient",
159
+ type: "address",
160
+ internalType: "address"
161
+ },
162
+ {
163
+ name: "amount0",
164
+ type: "uint256",
165
+ internalType: "uint256"
166
+ },
167
+ {
168
+ name: "amount1",
169
+ type: "uint256",
170
+ internalType: "uint256"
171
+ },
172
+ {
173
+ name: "data",
174
+ type: "bytes",
175
+ internalType: "bytes"
176
+ }
177
+ ],
178
+ outputs: [],
179
+ stateMutability: "nonpayable"
180
+ },
181
+ {
182
+ type: "function",
183
+ name: "increaseObservationCardinalityNext",
184
+ inputs: [{
185
+ name: "observationCardinalityNext",
186
+ type: "uint16",
187
+ internalType: "uint16"
188
+ }],
189
+ outputs: [],
190
+ stateMutability: "nonpayable"
191
+ },
192
+ {
193
+ type: "function",
194
+ name: "initialize",
195
+ inputs: [{
196
+ name: "sqrtPriceX96",
197
+ type: "uint160",
198
+ internalType: "uint160"
199
+ }],
200
+ outputs: [],
201
+ stateMutability: "nonpayable"
202
+ },
203
+ {
204
+ type: "function",
205
+ name: "liquidity",
206
+ inputs: [],
207
+ outputs: [{
208
+ name: "",
209
+ type: "uint128",
210
+ internalType: "uint128"
211
+ }],
212
+ stateMutability: "view"
213
+ },
214
+ {
215
+ type: "function",
216
+ name: "maxLiquidityPerTick",
217
+ inputs: [],
218
+ outputs: [{
219
+ name: "",
220
+ type: "uint128",
221
+ internalType: "uint128"
222
+ }],
223
+ stateMutability: "view"
224
+ },
225
+ {
226
+ type: "function",
227
+ name: "mint",
228
+ inputs: [
229
+ {
230
+ name: "recipient",
231
+ type: "address",
232
+ internalType: "address"
233
+ },
234
+ {
235
+ name: "tickLower",
236
+ type: "int24",
237
+ internalType: "int24"
238
+ },
239
+ {
240
+ name: "tickUpper",
241
+ type: "int24",
242
+ internalType: "int24"
243
+ },
244
+ {
245
+ name: "amount",
246
+ type: "uint128",
247
+ internalType: "uint128"
248
+ },
249
+ {
250
+ name: "data",
251
+ type: "bytes",
252
+ internalType: "bytes"
253
+ }
254
+ ],
255
+ outputs: [{
256
+ name: "amount0",
257
+ type: "uint256",
258
+ internalType: "uint256"
259
+ }, {
260
+ name: "amount1",
261
+ type: "uint256",
262
+ internalType: "uint256"
263
+ }],
264
+ stateMutability: "nonpayable"
265
+ },
266
+ {
267
+ type: "function",
268
+ name: "observations",
269
+ inputs: [{
270
+ name: "index",
271
+ type: "uint256",
272
+ internalType: "uint256"
273
+ }],
274
+ outputs: [
275
+ {
276
+ name: "blockTimestamp",
277
+ type: "uint32",
278
+ internalType: "uint32"
279
+ },
280
+ {
281
+ name: "tickCumulative",
282
+ type: "int56",
283
+ internalType: "int56"
284
+ },
285
+ {
286
+ name: "secondsPerLiquidityCumulativeX128",
287
+ type: "uint160",
288
+ internalType: "uint160"
289
+ },
290
+ {
291
+ name: "initialized",
292
+ type: "bool",
293
+ internalType: "bool"
294
+ }
295
+ ],
296
+ stateMutability: "view"
297
+ },
298
+ {
299
+ type: "function",
300
+ name: "observe",
301
+ inputs: [{
302
+ name: "secondsAgos",
303
+ type: "uint32[]",
304
+ internalType: "uint32[]"
305
+ }],
306
+ outputs: [{
307
+ name: "tickCumulatives",
308
+ type: "int56[]",
309
+ internalType: "int56[]"
310
+ }, {
311
+ name: "secondsPerLiquidityCumulativeX128s",
312
+ type: "uint160[]",
313
+ internalType: "uint160[]"
314
+ }],
315
+ stateMutability: "view"
316
+ },
317
+ {
318
+ type: "function",
319
+ name: "positions",
320
+ inputs: [{
321
+ name: "key",
322
+ type: "bytes32",
323
+ internalType: "bytes32"
324
+ }],
325
+ outputs: [
326
+ {
327
+ name: "liquidity",
328
+ type: "uint128",
329
+ internalType: "uint128"
330
+ },
331
+ {
332
+ name: "feeGrowthInside0LastX128",
333
+ type: "uint256",
334
+ internalType: "uint256"
335
+ },
336
+ {
337
+ name: "feeGrowthInside1LastX128",
338
+ type: "uint256",
339
+ internalType: "uint256"
340
+ },
341
+ {
342
+ name: "tokensOwed0",
343
+ type: "uint128",
344
+ internalType: "uint128"
345
+ },
346
+ {
347
+ name: "tokensOwed1",
348
+ type: "uint128",
349
+ internalType: "uint128"
350
+ }
351
+ ],
352
+ stateMutability: "view"
353
+ },
354
+ {
355
+ type: "function",
356
+ name: "protocolFees",
357
+ inputs: [],
358
+ outputs: [{
359
+ name: "token0",
360
+ type: "uint128",
361
+ internalType: "uint128"
362
+ }, {
363
+ name: "token1",
364
+ type: "uint128",
365
+ internalType: "uint128"
366
+ }],
367
+ stateMutability: "view"
368
+ },
369
+ {
370
+ type: "function",
371
+ name: "setFeeProtocol",
372
+ inputs: [{
373
+ name: "feeProtocol0",
374
+ type: "uint8",
375
+ internalType: "uint8"
376
+ }, {
377
+ name: "feeProtocol1",
378
+ type: "uint8",
379
+ internalType: "uint8"
380
+ }],
381
+ outputs: [],
382
+ stateMutability: "nonpayable"
383
+ },
384
+ {
385
+ type: "function",
386
+ name: "slot0",
387
+ inputs: [],
388
+ outputs: [
389
+ {
390
+ name: "sqrtPriceX96",
391
+ type: "uint160",
392
+ internalType: "uint160"
393
+ },
394
+ {
395
+ name: "tick",
396
+ type: "int24",
397
+ internalType: "int24"
398
+ },
399
+ {
400
+ name: "observationIndex",
401
+ type: "uint16",
402
+ internalType: "uint16"
403
+ },
404
+ {
405
+ name: "observationCardinality",
406
+ type: "uint16",
407
+ internalType: "uint16"
408
+ },
409
+ {
410
+ name: "observationCardinalityNext",
411
+ type: "uint16",
412
+ internalType: "uint16"
413
+ },
414
+ {
415
+ name: "feeProtocol",
416
+ type: "uint8",
417
+ internalType: "uint8"
418
+ },
419
+ {
420
+ name: "unlocked",
421
+ type: "bool",
422
+ internalType: "bool"
423
+ }
424
+ ],
425
+ stateMutability: "view"
426
+ },
427
+ {
428
+ type: "function",
429
+ name: "snapshotCumulativesInside",
430
+ inputs: [{
431
+ name: "tickLower",
432
+ type: "int24",
433
+ internalType: "int24"
434
+ }, {
435
+ name: "tickUpper",
436
+ type: "int24",
437
+ internalType: "int24"
438
+ }],
439
+ outputs: [
440
+ {
441
+ name: "tickCumulativeInside",
442
+ type: "int56",
443
+ internalType: "int56"
444
+ },
445
+ {
446
+ name: "secondsPerLiquidityInsideX128",
447
+ type: "uint160",
448
+ internalType: "uint160"
449
+ },
450
+ {
451
+ name: "secondsInside",
452
+ type: "uint32",
453
+ internalType: "uint32"
454
+ }
455
+ ],
456
+ stateMutability: "view"
457
+ },
458
+ {
459
+ type: "function",
460
+ name: "swap",
461
+ inputs: [
462
+ {
463
+ name: "recipient",
464
+ type: "address",
465
+ internalType: "address"
466
+ },
467
+ {
468
+ name: "zeroForOne",
469
+ type: "bool",
470
+ internalType: "bool"
471
+ },
472
+ {
473
+ name: "amountSpecified",
474
+ type: "int256",
475
+ internalType: "int256"
476
+ },
477
+ {
478
+ name: "sqrtPriceLimitX96",
479
+ type: "uint160",
480
+ internalType: "uint160"
481
+ },
482
+ {
483
+ name: "data",
484
+ type: "bytes",
485
+ internalType: "bytes"
486
+ }
487
+ ],
488
+ outputs: [{
489
+ name: "amount0",
490
+ type: "int256",
491
+ internalType: "int256"
492
+ }, {
493
+ name: "amount1",
494
+ type: "int256",
495
+ internalType: "int256"
496
+ }],
497
+ stateMutability: "nonpayable"
498
+ },
499
+ {
500
+ type: "function",
501
+ name: "tickBitmap",
502
+ inputs: [{
503
+ name: "wordPosition",
504
+ type: "int16",
505
+ internalType: "int16"
506
+ }],
507
+ outputs: [{
508
+ name: "",
509
+ type: "uint256",
510
+ internalType: "uint256"
511
+ }],
512
+ stateMutability: "view"
513
+ },
514
+ {
515
+ type: "function",
516
+ name: "tickSpacing",
517
+ inputs: [],
518
+ outputs: [{
519
+ name: "",
520
+ type: "int24",
521
+ internalType: "int24"
522
+ }],
523
+ stateMutability: "view"
524
+ },
525
+ {
526
+ type: "function",
527
+ name: "ticks",
528
+ inputs: [{
529
+ name: "tick",
530
+ type: "int24",
531
+ internalType: "int24"
532
+ }],
533
+ outputs: [
534
+ {
535
+ name: "liquidityGross",
536
+ type: "uint128",
537
+ internalType: "uint128"
538
+ },
539
+ {
540
+ name: "liquidityNet",
541
+ type: "int128",
542
+ internalType: "int128"
543
+ },
544
+ {
545
+ name: "feeGrowthOutside0X128",
546
+ type: "uint256",
547
+ internalType: "uint256"
548
+ },
549
+ {
550
+ name: "feeGrowthOutside1X128",
551
+ type: "uint256",
552
+ internalType: "uint256"
553
+ },
554
+ {
555
+ name: "tickCumulativeOutside",
556
+ type: "int56",
557
+ internalType: "int56"
558
+ },
559
+ {
560
+ name: "secondsPerLiquidityOutsideX128",
561
+ type: "uint160",
562
+ internalType: "uint160"
563
+ },
564
+ {
565
+ name: "secondsOutside",
566
+ type: "uint32",
567
+ internalType: "uint32"
568
+ },
569
+ {
570
+ name: "initialized",
571
+ type: "bool",
572
+ internalType: "bool"
573
+ }
574
+ ],
575
+ stateMutability: "view"
576
+ },
577
+ {
578
+ type: "function",
579
+ name: "token0",
580
+ inputs: [],
581
+ outputs: [{
582
+ name: "",
583
+ type: "address",
584
+ internalType: "address"
585
+ }],
586
+ stateMutability: "view"
587
+ },
588
+ {
589
+ type: "function",
590
+ name: "token1",
591
+ inputs: [],
592
+ outputs: [{
593
+ name: "",
594
+ type: "address",
595
+ internalType: "address"
596
+ }],
597
+ stateMutability: "view"
598
+ }
599
+ ];
600
+
601
+ //#endregion
4
602
  exports.erc20Abi = require_optionsMarket.erc20Abi;
5
603
  exports.lensAbi = require_optionsMarket.lensAbi;
6
604
  exports.optionsMarketAbi = require_optionsMarket.optionsMarketAbi;
7
605
  exports.singleOwnerVaultAbi = require_singleOwnerVault.singleOwnerVaultAbi;
8
606
  exports.uniswapMathLensAbi = require_optionsMarket.uniswapMathLensAbi;
9
- exports.uniswapV3PoolAbi = require_singleOwnerVault.uniswapV3PoolAbi;
607
+ exports.uniswapV3PoolAbi = uniswapV3PoolAbi;
608
+ //# sourceMappingURL=abis.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"abis.cjs","names":[],"sources":["../src/abis/uniswapV3Pool.ts"],"sourcesContent":["export const uniswapV3PoolAbi = [\n {\n type: 'function',\n name: 'burn',\n inputs: [\n {name: 'tickLower', type: 'int24', internalType: 'int24'},\n {name: 'tickUpper', type: 'int24', internalType: 'int24'},\n {name: 'amount', type: 'uint128', internalType: 'uint128'},\n ],\n outputs: [\n {name: 'amount0', type: 'uint256', internalType: 'uint256'},\n {name: 'amount1', type: 'uint256', internalType: 'uint256'},\n ],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'collect',\n inputs: [\n {name: 'recipient', type: 'address', internalType: 'address'},\n {name: 'tickLower', type: 'int24', internalType: 'int24'},\n {name: 'tickUpper', type: 'int24', internalType: 'int24'},\n {\n name: 'amount0Requested',\n type: 'uint128',\n internalType: 'uint128',\n },\n {\n name: 'amount1Requested',\n type: 'uint128',\n internalType: 'uint128',\n },\n ],\n outputs: [\n {name: 'amount0', type: 'uint128', internalType: 'uint128'},\n {name: 'amount1', type: 'uint128', internalType: 'uint128'},\n ],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'collectProtocol',\n inputs: [\n {name: 'recipient', type: 'address', internalType: 'address'},\n {\n name: 'amount0Requested',\n type: 'uint128',\n internalType: 'uint128',\n },\n {\n name: 'amount1Requested',\n type: 'uint128',\n internalType: 'uint128',\n },\n ],\n outputs: [\n {name: 'amount0', type: 'uint128', internalType: 'uint128'},\n {name: 'amount1', type: 'uint128', internalType: 'uint128'},\n ],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'factory',\n inputs: [],\n outputs: [{name: '', type: 'address', internalType: 'address'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'fee',\n inputs: [],\n outputs: [{name: '', type: 'uint24', internalType: 'uint24'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'feeGrowthGlobal0X128',\n inputs: [],\n outputs: [{name: '', type: 'uint256', internalType: 'uint256'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'feeGrowthGlobal1X128',\n inputs: [],\n outputs: [{name: '', type: 'uint256', internalType: 'uint256'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'flash',\n inputs: [\n {name: 'recipient', type: 'address', internalType: 'address'},\n {name: 'amount0', type: 'uint256', internalType: 'uint256'},\n {name: 'amount1', type: 'uint256', internalType: 'uint256'},\n {name: 'data', type: 'bytes', internalType: 'bytes'},\n ],\n outputs: [],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'increaseObservationCardinalityNext',\n inputs: [\n {\n name: 'observationCardinalityNext',\n type: 'uint16',\n internalType: 'uint16',\n },\n ],\n outputs: [],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'initialize',\n inputs: [{name: 'sqrtPriceX96', type: 'uint160', internalType: 'uint160'}],\n outputs: [],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'liquidity',\n inputs: [],\n outputs: [{name: '', type: 'uint128', internalType: 'uint128'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'maxLiquidityPerTick',\n inputs: [],\n outputs: [{name: '', type: 'uint128', internalType: 'uint128'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'mint',\n inputs: [\n {name: 'recipient', type: 'address', internalType: 'address'},\n {name: 'tickLower', type: 'int24', internalType: 'int24'},\n {name: 'tickUpper', type: 'int24', internalType: 'int24'},\n {name: 'amount', type: 'uint128', internalType: 'uint128'},\n {name: 'data', type: 'bytes', internalType: 'bytes'},\n ],\n outputs: [\n {name: 'amount0', type: 'uint256', internalType: 'uint256'},\n {name: 'amount1', type: 'uint256', internalType: 'uint256'},\n ],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'observations',\n inputs: [{name: 'index', type: 'uint256', internalType: 'uint256'}],\n outputs: [\n {\n name: 'blockTimestamp',\n type: 'uint32',\n internalType: 'uint32',\n },\n {name: 'tickCumulative', type: 'int56', internalType: 'int56'},\n {\n name: 'secondsPerLiquidityCumulativeX128',\n type: 'uint160',\n internalType: 'uint160',\n },\n {name: 'initialized', type: 'bool', internalType: 'bool'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'observe',\n inputs: [\n {\n name: 'secondsAgos',\n type: 'uint32[]',\n internalType: 'uint32[]',\n },\n ],\n outputs: [\n {\n name: 'tickCumulatives',\n type: 'int56[]',\n internalType: 'int56[]',\n },\n {\n name: 'secondsPerLiquidityCumulativeX128s',\n type: 'uint160[]',\n internalType: 'uint160[]',\n },\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'positions',\n inputs: [{name: 'key', type: 'bytes32', internalType: 'bytes32'}],\n outputs: [\n {name: 'liquidity', type: 'uint128', internalType: 'uint128'},\n {\n name: 'feeGrowthInside0LastX128',\n type: 'uint256',\n internalType: 'uint256',\n },\n {\n name: 'feeGrowthInside1LastX128',\n type: 'uint256',\n internalType: 'uint256',\n },\n {name: 'tokensOwed0', type: 'uint128', internalType: 'uint128'},\n {name: 'tokensOwed1', type: 'uint128', internalType: 'uint128'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'protocolFees',\n inputs: [],\n outputs: [\n {name: 'token0', type: 'uint128', internalType: 'uint128'},\n {name: 'token1', type: 'uint128', internalType: 'uint128'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'setFeeProtocol',\n inputs: [\n {name: 'feeProtocol0', type: 'uint8', internalType: 'uint8'},\n {name: 'feeProtocol1', type: 'uint8', internalType: 'uint8'},\n ],\n outputs: [],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'slot0',\n inputs: [],\n outputs: [\n {\n name: 'sqrtPriceX96',\n type: 'uint160',\n internalType: 'uint160',\n },\n {name: 'tick', type: 'int24', internalType: 'int24'},\n {\n name: 'observationIndex',\n type: 'uint16',\n internalType: 'uint16',\n },\n {\n name: 'observationCardinality',\n type: 'uint16',\n internalType: 'uint16',\n },\n {\n name: 'observationCardinalityNext',\n type: 'uint16',\n internalType: 'uint16',\n },\n {name: 'feeProtocol', type: 'uint8', internalType: 'uint8'},\n {name: 'unlocked', type: 'bool', internalType: 'bool'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'snapshotCumulativesInside',\n inputs: [\n {name: 'tickLower', type: 'int24', internalType: 'int24'},\n {name: 'tickUpper', type: 'int24', internalType: 'int24'},\n ],\n outputs: [\n {\n name: 'tickCumulativeInside',\n type: 'int56',\n internalType: 'int56',\n },\n {\n name: 'secondsPerLiquidityInsideX128',\n type: 'uint160',\n internalType: 'uint160',\n },\n {name: 'secondsInside', type: 'uint32', internalType: 'uint32'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'swap',\n inputs: [\n {name: 'recipient', type: 'address', internalType: 'address'},\n {name: 'zeroForOne', type: 'bool', internalType: 'bool'},\n {\n name: 'amountSpecified',\n type: 'int256',\n internalType: 'int256',\n },\n {\n name: 'sqrtPriceLimitX96',\n type: 'uint160',\n internalType: 'uint160',\n },\n {name: 'data', type: 'bytes', internalType: 'bytes'},\n ],\n outputs: [\n {name: 'amount0', type: 'int256', internalType: 'int256'},\n {name: 'amount1', type: 'int256', internalType: 'int256'},\n ],\n stateMutability: 'nonpayable',\n },\n {\n type: 'function',\n name: 'tickBitmap',\n inputs: [{name: 'wordPosition', type: 'int16', internalType: 'int16'}],\n outputs: [{name: '', type: 'uint256', internalType: 'uint256'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'tickSpacing',\n inputs: [],\n outputs: [{name: '', type: 'int24', internalType: 'int24'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'ticks',\n inputs: [{name: 'tick', type: 'int24', internalType: 'int24'}],\n outputs: [\n {\n name: 'liquidityGross',\n type: 'uint128',\n internalType: 'uint128',\n },\n {name: 'liquidityNet', type: 'int128', internalType: 'int128'},\n {\n name: 'feeGrowthOutside0X128',\n type: 'uint256',\n internalType: 'uint256',\n },\n {\n name: 'feeGrowthOutside1X128',\n type: 'uint256',\n internalType: 'uint256',\n },\n {\n name: 'tickCumulativeOutside',\n type: 'int56',\n internalType: 'int56',\n },\n {\n name: 'secondsPerLiquidityOutsideX128',\n type: 'uint160',\n internalType: 'uint160',\n },\n {\n name: 'secondsOutside',\n type: 'uint32',\n internalType: 'uint32',\n },\n {name: 'initialized', type: 'bool', internalType: 'bool'},\n ],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'token0',\n inputs: [],\n outputs: [{name: '', type: 'address', internalType: 'address'}],\n stateMutability: 'view',\n },\n {\n type: 'function',\n name: 'token1',\n inputs: [],\n outputs: [{name: '', type: 'address', internalType: 'address'}],\n stateMutability: 'view',\n },\n] as const;\n"],"mappings":";;;;AAAA,MAAa,mBAAmB;CAC9B;EACE,MAAM;EACN,MAAM;EACN,QAAQ;GACN;IAAC,MAAM;IAAa,MAAM;IAAS,cAAc;IAAQ;GACzD;IAAC,MAAM;IAAa,MAAM;IAAS,cAAc;IAAQ;GACzD;IAAC,MAAM;IAAU,MAAM;IAAW,cAAc;IAAU;GAC3D;EACD,SAAS,CACP;GAAC,MAAM;GAAW,MAAM;GAAW,cAAc;GAAU,EAC3D;GAAC,MAAM;GAAW,MAAM;GAAW,cAAc;GAAU,CAC5D;EACD,iBAAiB;EAClB;CACD;EACE,MAAM;EACN,MAAM;EACN,QAAQ;GACN;IAAC,MAAM;IAAa,MAAM;IAAW,cAAc;IAAU;GAC7D;IAAC,MAAM;IAAa,MAAM;IAAS,cAAc;IAAQ;GACzD;IAAC,MAAM;IAAa,MAAM;IAAS,cAAc;IAAQ;GACzD;IACE,MAAM;IACN,MAAM;IACN,cAAc;IACf;GACD;IACE,MAAM;IACN,MAAM;IACN,cAAc;IACf;GACF;EACD,SAAS,CACP;GAAC,MAAM;GAAW,MAAM;GAAW,cAAc;GAAU,EAC3D;GAAC,MAAM;G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