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