timelock-sdk 0.0.134 → 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-CJcTIGGv.d.cts → client-B7kKAk49.d.cts} +44622 -34761
  8. package/dist/{client-CZdmjIOb.d.ts → client-D4EJlSs_.d.ts} +44623 -34762
  9. package/dist/client.cjs +88 -74
  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 +87 -75
  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
@@ -1,1119 +0,0 @@
1
- //#region src/abis/uniswapV3Pool.ts
2
- const uniswapV3PoolAbi = [
3
- {
4
- type: "function",
5
- name: "burn",
6
- inputs: [
7
- {
8
- name: "tickLower",
9
- type: "int24",
10
- internalType: "int24"
11
- },
12
- {
13
- name: "tickUpper",
14
- type: "int24",
15
- internalType: "int24"
16
- },
17
- {
18
- name: "amount",
19
- type: "uint128",
20
- internalType: "uint128"
21
- }
22
- ],
23
- outputs: [{
24
- name: "amount0",
25
- type: "uint256",
26
- internalType: "uint256"
27
- }, {
28
- name: "amount1",
29
- type: "uint256",
30
- internalType: "uint256"
31
- }],
32
- stateMutability: "nonpayable"
33
- },
34
- {
35
- type: "function",
36
- name: "collect",
37
- inputs: [
38
- {
39
- name: "recipient",
40
- type: "address",
41
- internalType: "address"
42
- },
43
- {
44
- name: "tickLower",
45
- type: "int24",
46
- internalType: "int24"
47
- },
48
- {
49
- name: "tickUpper",
50
- type: "int24",
51
- internalType: "int24"
52
- },
53
- {
54
- name: "amount0Requested",
55
- type: "uint128",
56
- internalType: "uint128"
57
- },
58
- {
59
- name: "amount1Requested",
60
- type: "uint128",
61
- internalType: "uint128"
62
- }
63
- ],
64
- outputs: [{
65
- name: "amount0",
66
- type: "uint128",
67
- internalType: "uint128"
68
- }, {
69
- name: "amount1",
70
- type: "uint128",
71
- internalType: "uint128"
72
- }],
73
- stateMutability: "nonpayable"
74
- },
75
- {
76
- type: "function",
77
- name: "collectProtocol",
78
- inputs: [
79
- {
80
- name: "recipient",
81
- type: "address",
82
- internalType: "address"
83
- },
84
- {
85
- name: "amount0Requested",
86
- type: "uint128",
87
- internalType: "uint128"
88
- },
89
- {
90
- name: "amount1Requested",
91
- type: "uint128",
92
- internalType: "uint128"
93
- }
94
- ],
95
- outputs: [{
96
- name: "amount0",
97
- type: "uint128",
98
- internalType: "uint128"
99
- }, {
100
- name: "amount1",
101
- type: "uint128",
102
- internalType: "uint128"
103
- }],
104
- stateMutability: "nonpayable"
105
- },
106
- {
107
- type: "function",
108
- name: "factory",
109
- inputs: [],
110
- outputs: [{
111
- name: "",
112
- type: "address",
113
- internalType: "address"
114
- }],
115
- stateMutability: "view"
116
- },
117
- {
118
- type: "function",
119
- name: "fee",
120
- inputs: [],
121
- outputs: [{
122
- name: "",
123
- type: "uint24",
124
- internalType: "uint24"
125
- }],
126
- stateMutability: "view"
127
- },
128
- {
129
- type: "function",
130
- name: "feeGrowthGlobal0X128",
131
- inputs: [],
132
- outputs: [{
133
- name: "",
134
- type: "uint256",
135
- internalType: "uint256"
136
- }],
137
- stateMutability: "view"
138
- },
139
- {
140
- type: "function",
141
- name: "feeGrowthGlobal1X128",
142
- inputs: [],
143
- outputs: [{
144
- name: "",
145
- type: "uint256",
146
- internalType: "uint256"
147
- }],
148
- stateMutability: "view"
149
- },
150
- {
151
- type: "function",
152
- name: "flash",
153
- inputs: [
154
- {
155
- name: "recipient",
156
- type: "address",
157
- internalType: "address"
158
- },
159
- {
160
- name: "amount0",
161
- type: "uint256",
162
- internalType: "uint256"
163
- },
164
- {
165
- name: "amount1",
166
- type: "uint256",
167
- internalType: "uint256"
168
- },
169
- {
170
- name: "data",
171
- type: "bytes",
172
- internalType: "bytes"
173
- }
174
- ],
175
- outputs: [],
176
- stateMutability: "nonpayable"
177
- },
178
- {
179
- type: "function",
180
- name: "increaseObservationCardinalityNext",
181
- inputs: [{
182
- name: "observationCardinalityNext",
183
- type: "uint16",
184
- internalType: "uint16"
185
- }],
186
- outputs: [],
187
- stateMutability: "nonpayable"
188
- },
189
- {
190
- type: "function",
191
- name: "initialize",
192
- inputs: [{
193
- name: "sqrtPriceX96",
194
- type: "uint160",
195
- internalType: "uint160"
196
- }],
197
- outputs: [],
198
- stateMutability: "nonpayable"
199
- },
200
- {
201
- type: "function",
202
- name: "liquidity",
203
- inputs: [],
204
- outputs: [{
205
- name: "",
206
- type: "uint128",
207
- internalType: "uint128"
208
- }],
209
- stateMutability: "view"
210
- },
211
- {
212
- type: "function",
213
- name: "maxLiquidityPerTick",
214
- inputs: [],
215
- outputs: [{
216
- name: "",
217
- type: "uint128",
218
- internalType: "uint128"
219
- }],
220
- stateMutability: "view"
221
- },
222
- {
223
- type: "function",
224
- name: "mint",
225
- inputs: [
226
- {
227
- name: "recipient",
228
- type: "address",
229
- internalType: "address"
230
- },
231
- {
232
- name: "tickLower",
233
- type: "int24",
234
- internalType: "int24"
235
- },
236
- {
237
- name: "tickUpper",
238
- type: "int24",
239
- internalType: "int24"
240
- },
241
- {
242
- name: "amount",
243
- type: "uint128",
244
- internalType: "uint128"
245
- },
246
- {
247
- name: "data",
248
- type: "bytes",
249
- internalType: "bytes"
250
- }
251
- ],
252
- outputs: [{
253
- name: "amount0",
254
- type: "uint256",
255
- internalType: "uint256"
256
- }, {
257
- name: "amount1",
258
- type: "uint256",
259
- internalType: "uint256"
260
- }],
261
- stateMutability: "nonpayable"
262
- },
263
- {
264
- type: "function",
265
- name: "observations",
266
- inputs: [{
267
- name: "index",
268
- type: "uint256",
269
- internalType: "uint256"
270
- }],
271
- outputs: [
272
- {
273
- name: "blockTimestamp",
274
- type: "uint32",
275
- internalType: "uint32"
276
- },
277
- {
278
- name: "tickCumulative",
279
- type: "int56",
280
- internalType: "int56"
281
- },
282
- {
283
- name: "secondsPerLiquidityCumulativeX128",
284
- type: "uint160",
285
- internalType: "uint160"
286
- },
287
- {
288
- name: "initialized",
289
- type: "bool",
290
- internalType: "bool"
291
- }
292
- ],
293
- stateMutability: "view"
294
- },
295
- {
296
- type: "function",
297
- name: "observe",
298
- inputs: [{
299
- name: "secondsAgos",
300
- type: "uint32[]",
301
- internalType: "uint32[]"
302
- }],
303
- outputs: [{
304
- name: "tickCumulatives",
305
- type: "int56[]",
306
- internalType: "int56[]"
307
- }, {
308
- name: "secondsPerLiquidityCumulativeX128s",
309
- type: "uint160[]",
310
- internalType: "uint160[]"
311
- }],
312
- stateMutability: "view"
313
- },
314
- {
315
- type: "function",
316
- name: "positions",
317
- inputs: [{
318
- name: "key",
319
- type: "bytes32",
320
- internalType: "bytes32"
321
- }],
322
- outputs: [
323
- {
324
- name: "liquidity",
325
- type: "uint128",
326
- internalType: "uint128"
327
- },
328
- {
329
- name: "feeGrowthInside0LastX128",
330
- type: "uint256",
331
- internalType: "uint256"
332
- },
333
- {
334
- name: "feeGrowthInside1LastX128",
335
- type: "uint256",
336
- internalType: "uint256"
337
- },
338
- {
339
- name: "tokensOwed0",
340
- type: "uint128",
341
- internalType: "uint128"
342
- },
343
- {
344
- name: "tokensOwed1",
345
- type: "uint128",
346
- internalType: "uint128"
347
- }
348
- ],
349
- stateMutability: "view"
350
- },
351
- {
352
- type: "function",
353
- name: "protocolFees",
354
- inputs: [],
355
- outputs: [{
356
- name: "token0",
357
- type: "uint128",
358
- internalType: "uint128"
359
- }, {
360
- name: "token1",
361
- type: "uint128",
362
- internalType: "uint128"
363
- }],
364
- stateMutability: "view"
365
- },
366
- {
367
- type: "function",
368
- name: "setFeeProtocol",
369
- inputs: [{
370
- name: "feeProtocol0",
371
- type: "uint8",
372
- internalType: "uint8"
373
- }, {
374
- name: "feeProtocol1",
375
- type: "uint8",
376
- internalType: "uint8"
377
- }],
378
- outputs: [],
379
- stateMutability: "nonpayable"
380
- },
381
- {
382
- type: "function",
383
- name: "slot0",
384
- inputs: [],
385
- outputs: [
386
- {
387
- name: "sqrtPriceX96",
388
- type: "uint160",
389
- internalType: "uint160"
390
- },
391
- {
392
- name: "tick",
393
- type: "int24",
394
- internalType: "int24"
395
- },
396
- {
397
- name: "observationIndex",
398
- type: "uint16",
399
- internalType: "uint16"
400
- },
401
- {
402
- name: "observationCardinality",
403
- type: "uint16",
404
- internalType: "uint16"
405
- },
406
- {
407
- name: "observationCardinalityNext",
408
- type: "uint16",
409
- internalType: "uint16"
410
- },
411
- {
412
- name: "feeProtocol",
413
- type: "uint8",
414
- internalType: "uint8"
415
- },
416
- {
417
- name: "unlocked",
418
- type: "bool",
419
- internalType: "bool"
420
- }
421
- ],
422
- stateMutability: "view"
423
- },
424
- {
425
- type: "function",
426
- name: "snapshotCumulativesInside",
427
- inputs: [{
428
- name: "tickLower",
429
- type: "int24",
430
- internalType: "int24"
431
- }, {
432
- name: "tickUpper",
433
- type: "int24",
434
- internalType: "int24"
435
- }],
436
- outputs: [
437
- {
438
- name: "tickCumulativeInside",
439
- type: "int56",
440
- internalType: "int56"
441
- },
442
- {
443
- name: "secondsPerLiquidityInsideX128",
444
- type: "uint160",
445
- internalType: "uint160"
446
- },
447
- {
448
- name: "secondsInside",
449
- type: "uint32",
450
- internalType: "uint32"
451
- }
452
- ],
453
- stateMutability: "view"
454
- },
455
- {
456
- type: "function",
457
- name: "swap",
458
- inputs: [
459
- {
460
- name: "recipient",
461
- type: "address",
462
- internalType: "address"
463
- },
464
- {
465
- name: "zeroForOne",
466
- type: "bool",
467
- internalType: "bool"
468
- },
469
- {
470
- name: "amountSpecified",
471
- type: "int256",
472
- internalType: "int256"
473
- },
474
- {
475
- name: "sqrtPriceLimitX96",
476
- type: "uint160",
477
- internalType: "uint160"
478
- },
479
- {
480
- name: "data",
481
- type: "bytes",
482
- internalType: "bytes"
483
- }
484
- ],
485
- outputs: [{
486
- name: "amount0",
487
- type: "int256",
488
- internalType: "int256"
489
- }, {
490
- name: "amount1",
491
- type: "int256",
492
- internalType: "int256"
493
- }],
494
- stateMutability: "nonpayable"
495
- },
496
- {
497
- type: "function",
498
- name: "tickBitmap",
499
- inputs: [{
500
- name: "wordPosition",
501
- type: "int16",
502
- internalType: "int16"
503
- }],
504
- outputs: [{
505
- name: "",
506
- type: "uint256",
507
- internalType: "uint256"
508
- }],
509
- stateMutability: "view"
510
- },
511
- {
512
- type: "function",
513
- name: "tickSpacing",
514
- inputs: [],
515
- outputs: [{
516
- name: "",
517
- type: "int24",
518
- internalType: "int24"
519
- }],
520
- stateMutability: "view"
521
- },
522
- {
523
- type: "function",
524
- name: "ticks",
525
- inputs: [{
526
- name: "tick",
527
- type: "int24",
528
- internalType: "int24"
529
- }],
530
- outputs: [
531
- {
532
- name: "liquidityGross",
533
- type: "uint128",
534
- internalType: "uint128"
535
- },
536
- {
537
- name: "liquidityNet",
538
- type: "int128",
539
- internalType: "int128"
540
- },
541
- {
542
- name: "feeGrowthOutside0X128",
543
- type: "uint256",
544
- internalType: "uint256"
545
- },
546
- {
547
- name: "feeGrowthOutside1X128",
548
- type: "uint256",
549
- internalType: "uint256"
550
- },
551
- {
552
- name: "tickCumulativeOutside",
553
- type: "int56",
554
- internalType: "int56"
555
- },
556
- {
557
- name: "secondsPerLiquidityOutsideX128",
558
- type: "uint160",
559
- internalType: "uint160"
560
- },
561
- {
562
- name: "secondsOutside",
563
- type: "uint32",
564
- internalType: "uint32"
565
- },
566
- {
567
- name: "initialized",
568
- type: "bool",
569
- internalType: "bool"
570
- }
571
- ],
572
- stateMutability: "view"
573
- },
574
- {
575
- type: "function",
576
- name: "token0",
577
- inputs: [],
578
- outputs: [{
579
- name: "",
580
- type: "address",
581
- internalType: "address"
582
- }],
583
- stateMutability: "view"
584
- },
585
- {
586
- type: "function",
587
- name: "token1",
588
- inputs: [],
589
- outputs: [{
590
- name: "",
591
- type: "address",
592
- internalType: "address"
593
- }],
594
- stateMutability: "view"
595
- }
596
- ];
597
-
598
- //#endregion
599
- //#region src/abis/singleOwnerVault.ts
600
- const singleOwnerVaultAbi = [
601
- {
602
- type: "constructor",
603
- inputs: [{
604
- name: "_pool",
605
- type: "address",
606
- internalType: "contract IUniswapV3Pool"
607
- }, {
608
- name: "_owner",
609
- type: "address",
610
- internalType: "address"
611
- }],
612
- stateMutability: "nonpayable"
613
- },
614
- {
615
- type: "function",
616
- name: "BORROW",
617
- inputs: [],
618
- outputs: [{
619
- name: "",
620
- type: "uint8",
621
- internalType: "uint8"
622
- }],
623
- stateMutability: "view"
624
- },
625
- {
626
- type: "function",
627
- name: "BURN",
628
- inputs: [],
629
- outputs: [{
630
- name: "",
631
- type: "uint8",
632
- internalType: "uint8"
633
- }],
634
- stateMutability: "view"
635
- },
636
- {
637
- type: "function",
638
- name: "MINT",
639
- inputs: [],
640
- outputs: [{
641
- name: "",
642
- type: "uint8",
643
- internalType: "uint8"
644
- }],
645
- stateMutability: "view"
646
- },
647
- {
648
- type: "function",
649
- name: "MIN_DUST_THRESHOLD",
650
- inputs: [],
651
- outputs: [{
652
- name: "",
653
- type: "uint256",
654
- internalType: "uint256"
655
- }],
656
- stateMutability: "view"
657
- },
658
- {
659
- type: "function",
660
- name: "REPAY",
661
- inputs: [],
662
- outputs: [{
663
- name: "",
664
- type: "uint8",
665
- internalType: "uint8"
666
- }],
667
- stateMutability: "view"
668
- },
669
- {
670
- type: "function",
671
- name: "blocks",
672
- inputs: [{
673
- name: "",
674
- type: "int24",
675
- internalType: "int24"
676
- }],
677
- outputs: [
678
- {
679
- name: "tickLower",
680
- type: "int24",
681
- internalType: "int24"
682
- },
683
- {
684
- name: "tickUpper",
685
- type: "int24",
686
- internalType: "int24"
687
- },
688
- {
689
- name: "prevTickLower",
690
- type: "int24",
691
- internalType: "int24"
692
- },
693
- {
694
- name: "totalLiquidity",
695
- type: "uint128",
696
- internalType: "uint128"
697
- },
698
- {
699
- name: "borrowedLiquidity",
700
- type: "uint128",
701
- internalType: "uint128"
702
- }
703
- ],
704
- stateMutability: "view"
705
- },
706
- {
707
- type: "function",
708
- name: "blocksCount",
709
- inputs: [],
710
- outputs: [{
711
- name: "",
712
- type: "uint256",
713
- internalType: "uint256"
714
- }],
715
- stateMutability: "view"
716
- },
717
- {
718
- type: "function",
719
- name: "borrow",
720
- inputs: [
721
- {
722
- name: "tickLower",
723
- type: "int24",
724
- internalType: "int24"
725
- },
726
- {
727
- name: "tickUpper",
728
- type: "int24",
729
- internalType: "int24"
730
- },
731
- {
732
- name: "liquidity",
733
- type: "uint128",
734
- internalType: "uint128"
735
- },
736
- {
737
- name: "refTick",
738
- type: "int24",
739
- internalType: "int24"
740
- }
741
- ],
742
- outputs: [{
743
- name: "amount0",
744
- type: "uint256",
745
- internalType: "uint256"
746
- }, {
747
- name: "amount1",
748
- type: "uint256",
749
- internalType: "uint256"
750
- }],
751
- stateMutability: "nonpayable"
752
- },
753
- {
754
- type: "function",
755
- name: "borrowerWhitelist",
756
- inputs: [{
757
- name: "",
758
- type: "address",
759
- internalType: "address"
760
- }],
761
- outputs: [{
762
- name: "",
763
- type: "bool",
764
- internalType: "bool"
765
- }],
766
- stateMutability: "view"
767
- },
768
- {
769
- type: "function",
770
- name: "burn",
771
- inputs: [
772
- {
773
- name: "tickLower",
774
- type: "int24",
775
- internalType: "int24"
776
- },
777
- {
778
- name: "tickUpper",
779
- type: "int24",
780
- internalType: "int24"
781
- },
782
- {
783
- name: "liquidity",
784
- type: "uint128",
785
- internalType: "uint128"
786
- },
787
- {
788
- name: "refTick",
789
- type: "int24",
790
- internalType: "int24"
791
- }
792
- ],
793
- outputs: [{
794
- name: "amount0",
795
- type: "uint256",
796
- internalType: "uint256"
797
- }, {
798
- name: "amount1",
799
- type: "uint256",
800
- internalType: "uint256"
801
- }],
802
- stateMutability: "nonpayable"
803
- },
804
- {
805
- type: "function",
806
- name: "collectFees",
807
- inputs: [{
808
- name: "tickLower",
809
- type: "int24",
810
- internalType: "int24"
811
- }, {
812
- name: "tickUpper",
813
- type: "int24",
814
- internalType: "int24"
815
- }],
816
- outputs: [{
817
- name: "totalAmount0",
818
- type: "uint256",
819
- internalType: "uint256"
820
- }, {
821
- name: "totalAmount1",
822
- type: "uint256",
823
- internalType: "uint256"
824
- }],
825
- stateMutability: "nonpayable"
826
- },
827
- {
828
- type: "function",
829
- name: "getBlock",
830
- inputs: [{
831
- name: "tickLower",
832
- type: "int24",
833
- internalType: "int24"
834
- }, {
835
- name: "refTick",
836
- type: "int24",
837
- internalType: "int24"
838
- }],
839
- outputs: [{
840
- name: "",
841
- type: "tuple",
842
- internalType: "struct TimelockVaultCore.LiquidityBlock",
843
- components: [
844
- {
845
- name: "tickLower",
846
- type: "int24",
847
- internalType: "int24"
848
- },
849
- {
850
- name: "tickUpper",
851
- type: "int24",
852
- internalType: "int24"
853
- },
854
- {
855
- name: "prevTickLower",
856
- type: "int24",
857
- internalType: "int24"
858
- },
859
- {
860
- name: "totalLiquidity",
861
- type: "uint128",
862
- internalType: "uint128"
863
- },
864
- {
865
- name: "borrowedLiquidity",
866
- type: "uint128",
867
- internalType: "uint128"
868
- }
869
- ]
870
- }],
871
- stateMutability: "view"
872
- },
873
- {
874
- type: "function",
875
- name: "highestTick",
876
- inputs: [],
877
- outputs: [{
878
- name: "",
879
- type: "int24",
880
- internalType: "int24"
881
- }],
882
- stateMutability: "view"
883
- },
884
- {
885
- type: "function",
886
- name: "lowestTick",
887
- inputs: [],
888
- outputs: [{
889
- name: "",
890
- type: "int24",
891
- internalType: "int24"
892
- }],
893
- stateMutability: "view"
894
- },
895
- {
896
- type: "function",
897
- name: "mint",
898
- inputs: [
899
- {
900
- name: "tickLower",
901
- type: "int24",
902
- internalType: "int24"
903
- },
904
- {
905
- name: "tickUpper",
906
- type: "int24",
907
- internalType: "int24"
908
- },
909
- {
910
- name: "liquidity",
911
- type: "uint128",
912
- internalType: "uint128"
913
- },
914
- {
915
- name: "refTick",
916
- type: "int24",
917
- internalType: "int24"
918
- }
919
- ],
920
- outputs: [{
921
- name: "amount0",
922
- type: "uint256",
923
- internalType: "uint256"
924
- }, {
925
- name: "amount1",
926
- type: "uint256",
927
- internalType: "uint256"
928
- }],
929
- stateMutability: "nonpayable"
930
- },
931
- {
932
- type: "function",
933
- name: "multicall",
934
- inputs: [{
935
- name: "data",
936
- type: "bytes[]",
937
- internalType: "bytes[]"
938
- }],
939
- outputs: [{
940
- name: "results",
941
- type: "bytes[]",
942
- internalType: "bytes[]"
943
- }],
944
- stateMutability: "nonpayable"
945
- },
946
- {
947
- type: "function",
948
- name: "owner",
949
- inputs: [],
950
- outputs: [{
951
- name: "",
952
- type: "address",
953
- internalType: "address"
954
- }],
955
- stateMutability: "view"
956
- },
957
- {
958
- type: "function",
959
- name: "pool",
960
- inputs: [],
961
- outputs: [{
962
- name: "",
963
- type: "address",
964
- internalType: "contract IUniswapV3Pool"
965
- }],
966
- stateMutability: "view"
967
- },
968
- {
969
- type: "function",
970
- name: "pool_",
971
- inputs: [],
972
- outputs: [{
973
- name: "",
974
- type: "address",
975
- internalType: "contract IUniswapV3Pool"
976
- }],
977
- stateMutability: "view"
978
- },
979
- {
980
- type: "function",
981
- name: "renounceOwnership",
982
- inputs: [],
983
- outputs: [],
984
- stateMutability: "nonpayable"
985
- },
986
- {
987
- type: "function",
988
- name: "repay",
989
- inputs: [
990
- {
991
- name: "tickLower",
992
- type: "int24",
993
- internalType: "int24"
994
- },
995
- {
996
- name: "tickUpper",
997
- type: "int24",
998
- internalType: "int24"
999
- },
1000
- {
1001
- name: "liquidity",
1002
- type: "uint128",
1003
- internalType: "uint128"
1004
- },
1005
- {
1006
- name: "refTick",
1007
- type: "int24",
1008
- internalType: "int24"
1009
- }
1010
- ],
1011
- outputs: [{
1012
- name: "amount0",
1013
- type: "uint256",
1014
- internalType: "uint256"
1015
- }, {
1016
- name: "amount1",
1017
- type: "uint256",
1018
- internalType: "uint256"
1019
- }],
1020
- stateMutability: "nonpayable"
1021
- },
1022
- {
1023
- type: "function",
1024
- name: "tickSpacing",
1025
- inputs: [],
1026
- outputs: [{
1027
- name: "",
1028
- type: "int24",
1029
- internalType: "int24"
1030
- }],
1031
- stateMutability: "view"
1032
- },
1033
- {
1034
- type: "function",
1035
- name: "token0",
1036
- inputs: [],
1037
- outputs: [{
1038
- name: "",
1039
- type: "address",
1040
- internalType: "contract IERC20"
1041
- }],
1042
- stateMutability: "view"
1043
- },
1044
- {
1045
- type: "function",
1046
- name: "token1",
1047
- inputs: [],
1048
- outputs: [{
1049
- name: "",
1050
- type: "address",
1051
- internalType: "contract IERC20"
1052
- }],
1053
- stateMutability: "view"
1054
- },
1055
- {
1056
- type: "function",
1057
- name: "transferOwnership",
1058
- inputs: [{
1059
- name: "newOwner",
1060
- type: "address",
1061
- internalType: "address"
1062
- }],
1063
- outputs: [],
1064
- stateMutability: "nonpayable"
1065
- },
1066
- {
1067
- type: "function",
1068
- name: "uniswapV3MintCallback",
1069
- inputs: [
1070
- {
1071
- name: "amount0",
1072
- type: "uint256",
1073
- internalType: "uint256"
1074
- },
1075
- {
1076
- name: "amount1",
1077
- type: "uint256",
1078
- internalType: "uint256"
1079
- },
1080
- {
1081
- name: "data",
1082
- type: "bytes",
1083
- internalType: "bytes"
1084
- }
1085
- ],
1086
- outputs: [],
1087
- stateMutability: "nonpayable"
1088
- },
1089
- {
1090
- type: "function",
1091
- name: "whitelistBorrower",
1092
- inputs: [{
1093
- name: "borrower",
1094
- type: "address",
1095
- internalType: "address"
1096
- }, {
1097
- name: "status",
1098
- type: "bool",
1099
- internalType: "bool"
1100
- }],
1101
- outputs: [],
1102
- stateMutability: "nonpayable"
1103
- },
1104
- {
1105
- type: "function",
1106
- name: "withdrawTokens",
1107
- inputs: [{
1108
- name: "tokens",
1109
- type: "address[]",
1110
- internalType: "contract IERC20[]"
1111
- }],
1112
- outputs: [],
1113
- stateMutability: "nonpayable"
1114
- }
1115
- ];
1116
-
1117
- //#endregion
1118
- export { uniswapV3PoolAbi as n, singleOwnerVaultAbi as t };
1119
- //# sourceMappingURL=singleOwnerVault-p81IjmWe.js.map