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.
- package/dist/abis.cjs +602 -3
- package/dist/abis.cjs.map +1 -0
- package/dist/abis.d.cts +354 -90
- package/dist/abis.d.ts +354 -90
- package/dist/abis.js +602 -3
- package/dist/abis.js.map +1 -0
- package/dist/{client-CJcTIGGv.d.cts → client-B7kKAk49.d.cts} +44622 -34761
- package/dist/{client-CZdmjIOb.d.ts → client-D4EJlSs_.d.ts} +44623 -34762
- package/dist/client.cjs +88 -74
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +87 -75
- package/dist/client.js.map +1 -1
- package/dist/optionUtils-B0rlRtfb.js +1401 -0
- package/dist/optionUtils-B0rlRtfb.js.map +1 -0
- package/dist/{optionUtils-OfLzCR6R.cjs → optionUtils-pH0o9gTm.cjs} +1069 -37
- package/dist/optionUtils-pH0o9gTm.cjs.map +1 -0
- package/dist/{optionsMarket-B2IsvbeA.js → optionsMarket-CjlRzn2K.js} +213 -21
- package/dist/optionsMarket-CjlRzn2K.js.map +1 -0
- package/dist/{optionsMarket-C6K82im8.cjs → optionsMarket-iZiYJCuW.cjs} +213 -21
- package/dist/optionsMarket-iZiYJCuW.cjs.map +1 -0
- package/dist/package.cjs +5 -6
- package/dist/package.d.cts +3 -3
- package/dist/package.d.ts +3 -3
- package/dist/package.js +3 -3
- package/dist/singleOwnerVault-BJyEs_D_.js +847 -0
- package/dist/singleOwnerVault-BJyEs_D_.js.map +1 -0
- package/dist/singleOwnerVault-GCpQV7pN.cjs +853 -0
- package/dist/singleOwnerVault-GCpQV7pN.cjs.map +1 -0
- package/dist/{uniswapMathLens-DHfzEjej.d.ts → uniswapMathLens-B0xWynAN.d.cts} +182 -21
- package/dist/{uniswapMathLens-Be6lFJcD.d.cts → uniswapMathLens-DAI2a8aU.d.ts} +182 -21
- package/package.json +38 -38
- package/dist/optionUtils-CQzUsKpO.js +0 -369
- package/dist/optionUtils-CQzUsKpO.js.map +0 -1
- package/dist/optionUtils-OfLzCR6R.cjs.map +0 -1
- package/dist/optionsMarket-B2IsvbeA.js.map +0 -1
- package/dist/optionsMarket-C6K82im8.cjs.map +0 -1
- package/dist/singleOwnerVault-gf2zNZVk.cjs +0 -1131
- package/dist/singleOwnerVault-gf2zNZVk.cjs.map +0 -1
- package/dist/singleOwnerVault-p81IjmWe.js +0 -1119
- package/dist/singleOwnerVault-p81IjmWe.js.map +0 -1
package/dist/abis.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-
|
|
1
|
+
import { n as optionsMarketAbi, r as lensAbi, t as uniswapMathLensAbi } from "./uniswapMathLens-B0xWynAN.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/abis/erc20.d.ts
|
|
4
4
|
declare const erc20Abi: readonly [{
|
|
@@ -185,13 +185,34 @@ declare const erc20Abi: readonly [{
|
|
|
185
185
|
declare const singleOwnerVaultAbi: readonly [{
|
|
186
186
|
readonly type: "constructor";
|
|
187
187
|
readonly inputs: readonly [{
|
|
188
|
-
readonly name: "
|
|
188
|
+
readonly name: "_poolManager";
|
|
189
189
|
readonly type: "address";
|
|
190
|
-
readonly internalType: "contract
|
|
190
|
+
readonly internalType: "contract IPoolManager";
|
|
191
191
|
}, {
|
|
192
|
-
readonly name: "
|
|
193
|
-
readonly type: "
|
|
194
|
-
readonly internalType: "
|
|
192
|
+
readonly name: "_poolKey";
|
|
193
|
+
readonly type: "tuple";
|
|
194
|
+
readonly internalType: "struct PoolKey";
|
|
195
|
+
readonly components: readonly [{
|
|
196
|
+
readonly name: "currency0";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
readonly internalType: "Currency";
|
|
199
|
+
}, {
|
|
200
|
+
readonly name: "currency1";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
readonly internalType: "Currency";
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "fee";
|
|
205
|
+
readonly type: "uint24";
|
|
206
|
+
readonly internalType: "uint24";
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: "tickSpacing";
|
|
209
|
+
readonly type: "int24";
|
|
210
|
+
readonly internalType: "int24";
|
|
211
|
+
}, {
|
|
212
|
+
readonly name: "hooks";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
readonly internalType: "contract IHooks";
|
|
215
|
+
}];
|
|
195
216
|
}];
|
|
196
217
|
readonly stateMutability: "nonpayable";
|
|
197
218
|
}, {
|
|
@@ -224,16 +245,6 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
224
245
|
readonly internalType: "uint8";
|
|
225
246
|
}];
|
|
226
247
|
readonly stateMutability: "view";
|
|
227
|
-
}, {
|
|
228
|
-
readonly type: "function";
|
|
229
|
-
readonly name: "MIN_DUST_THRESHOLD";
|
|
230
|
-
readonly inputs: readonly [];
|
|
231
|
-
readonly outputs: readonly [{
|
|
232
|
-
readonly name: "";
|
|
233
|
-
readonly type: "uint256";
|
|
234
|
-
readonly internalType: "uint256";
|
|
235
|
-
}];
|
|
236
|
-
readonly stateMutability: "view";
|
|
237
248
|
}, {
|
|
238
249
|
readonly type: "function";
|
|
239
250
|
readonly name: "REPAY";
|
|
@@ -305,13 +316,13 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
305
316
|
readonly internalType: "int24";
|
|
306
317
|
}];
|
|
307
318
|
readonly outputs: readonly [{
|
|
308
|
-
readonly name: "
|
|
309
|
-
readonly type: "
|
|
310
|
-
readonly internalType: "
|
|
319
|
+
readonly name: "delta0";
|
|
320
|
+
readonly type: "int256";
|
|
321
|
+
readonly internalType: "int256";
|
|
311
322
|
}, {
|
|
312
|
-
readonly name: "
|
|
313
|
-
readonly type: "
|
|
314
|
-
readonly internalType: "
|
|
323
|
+
readonly name: "delta1";
|
|
324
|
+
readonly type: "int256";
|
|
325
|
+
readonly internalType: "int256";
|
|
315
326
|
}];
|
|
316
327
|
readonly stateMutability: "nonpayable";
|
|
317
328
|
}, {
|
|
@@ -350,32 +361,18 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
350
361
|
}];
|
|
351
362
|
readonly outputs: readonly [{
|
|
352
363
|
readonly name: "amount0";
|
|
353
|
-
readonly type: "
|
|
354
|
-
readonly internalType: "
|
|
364
|
+
readonly type: "int256";
|
|
365
|
+
readonly internalType: "int256";
|
|
355
366
|
}, {
|
|
356
367
|
readonly name: "amount1";
|
|
357
|
-
readonly type: "
|
|
358
|
-
readonly internalType: "
|
|
359
|
-
}];
|
|
360
|
-
readonly stateMutability: "nonpayable";
|
|
361
|
-
}, {
|
|
362
|
-
readonly type: "function";
|
|
363
|
-
readonly name: "collectFees";
|
|
364
|
-
readonly inputs: readonly [{
|
|
365
|
-
readonly name: "tickLower";
|
|
366
|
-
readonly type: "int24";
|
|
367
|
-
readonly internalType: "int24";
|
|
368
|
+
readonly type: "int256";
|
|
369
|
+
readonly internalType: "int256";
|
|
368
370
|
}, {
|
|
369
|
-
readonly name: "
|
|
370
|
-
readonly type: "int24";
|
|
371
|
-
readonly internalType: "int24";
|
|
372
|
-
}];
|
|
373
|
-
readonly outputs: readonly [{
|
|
374
|
-
readonly name: "totalAmount0";
|
|
371
|
+
readonly name: "fees0";
|
|
375
372
|
readonly type: "uint256";
|
|
376
373
|
readonly internalType: "uint256";
|
|
377
374
|
}, {
|
|
378
|
-
readonly name: "
|
|
375
|
+
readonly name: "fees1";
|
|
379
376
|
readonly type: "uint256";
|
|
380
377
|
readonly internalType: "uint256";
|
|
381
378
|
}];
|
|
@@ -461,10 +458,18 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
461
458
|
}];
|
|
462
459
|
readonly outputs: readonly [{
|
|
463
460
|
readonly name: "amount0";
|
|
461
|
+
readonly type: "int256";
|
|
462
|
+
readonly internalType: "int256";
|
|
463
|
+
}, {
|
|
464
|
+
readonly name: "amount1";
|
|
465
|
+
readonly type: "int256";
|
|
466
|
+
readonly internalType: "int256";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "fees0";
|
|
464
469
|
readonly type: "uint256";
|
|
465
470
|
readonly internalType: "uint256";
|
|
466
471
|
}, {
|
|
467
|
-
readonly name: "
|
|
472
|
+
readonly name: "fees1";
|
|
468
473
|
readonly type: "uint256";
|
|
469
474
|
readonly internalType: "uint256";
|
|
470
475
|
}];
|
|
@@ -495,22 +500,43 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
495
500
|
readonly stateMutability: "view";
|
|
496
501
|
}, {
|
|
497
502
|
readonly type: "function";
|
|
498
|
-
readonly name: "
|
|
503
|
+
readonly name: "poolKey";
|
|
499
504
|
readonly inputs: readonly [];
|
|
500
505
|
readonly outputs: readonly [{
|
|
501
506
|
readonly name: "";
|
|
502
|
-
readonly type: "
|
|
503
|
-
readonly internalType: "
|
|
507
|
+
readonly type: "tuple";
|
|
508
|
+
readonly internalType: "struct PoolKey";
|
|
509
|
+
readonly components: readonly [{
|
|
510
|
+
readonly name: "currency0";
|
|
511
|
+
readonly type: "address";
|
|
512
|
+
readonly internalType: "Currency";
|
|
513
|
+
}, {
|
|
514
|
+
readonly name: "currency1";
|
|
515
|
+
readonly type: "address";
|
|
516
|
+
readonly internalType: "Currency";
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "fee";
|
|
519
|
+
readonly type: "uint24";
|
|
520
|
+
readonly internalType: "uint24";
|
|
521
|
+
}, {
|
|
522
|
+
readonly name: "tickSpacing";
|
|
523
|
+
readonly type: "int24";
|
|
524
|
+
readonly internalType: "int24";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "hooks";
|
|
527
|
+
readonly type: "address";
|
|
528
|
+
readonly internalType: "contract IHooks";
|
|
529
|
+
}];
|
|
504
530
|
}];
|
|
505
531
|
readonly stateMutability: "view";
|
|
506
532
|
}, {
|
|
507
533
|
readonly type: "function";
|
|
508
|
-
readonly name: "
|
|
534
|
+
readonly name: "poolManager";
|
|
509
535
|
readonly inputs: readonly [];
|
|
510
536
|
readonly outputs: readonly [{
|
|
511
537
|
readonly name: "";
|
|
512
538
|
readonly type: "address";
|
|
513
|
-
readonly internalType: "contract
|
|
539
|
+
readonly internalType: "contract IPoolManager";
|
|
514
540
|
}];
|
|
515
541
|
readonly stateMutability: "view";
|
|
516
542
|
}, {
|
|
@@ -540,45 +566,29 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
540
566
|
readonly internalType: "int24";
|
|
541
567
|
}];
|
|
542
568
|
readonly outputs: readonly [{
|
|
543
|
-
readonly name: "
|
|
544
|
-
readonly type: "
|
|
545
|
-
readonly internalType: "
|
|
569
|
+
readonly name: "delta0";
|
|
570
|
+
readonly type: "int256";
|
|
571
|
+
readonly internalType: "int256";
|
|
546
572
|
}, {
|
|
547
|
-
readonly name: "
|
|
548
|
-
readonly type: "
|
|
549
|
-
readonly internalType: "
|
|
573
|
+
readonly name: "delta1";
|
|
574
|
+
readonly type: "int256";
|
|
575
|
+
readonly internalType: "int256";
|
|
550
576
|
}];
|
|
551
577
|
readonly stateMutability: "nonpayable";
|
|
552
578
|
}, {
|
|
553
579
|
readonly type: "function";
|
|
554
|
-
readonly name: "
|
|
580
|
+
readonly name: "settleAndTake";
|
|
555
581
|
readonly inputs: readonly [];
|
|
556
582
|
readonly outputs: readonly [{
|
|
557
|
-
readonly name: "";
|
|
558
|
-
readonly type: "
|
|
559
|
-
readonly internalType: "
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
readonly name: "token0";
|
|
565
|
-
readonly inputs: readonly [];
|
|
566
|
-
readonly outputs: readonly [{
|
|
567
|
-
readonly name: "";
|
|
568
|
-
readonly type: "address";
|
|
569
|
-
readonly internalType: "contract IERC20";
|
|
570
|
-
}];
|
|
571
|
-
readonly stateMutability: "view";
|
|
572
|
-
}, {
|
|
573
|
-
readonly type: "function";
|
|
574
|
-
readonly name: "token1";
|
|
575
|
-
readonly inputs: readonly [];
|
|
576
|
-
readonly outputs: readonly [{
|
|
577
|
-
readonly name: "";
|
|
578
|
-
readonly type: "address";
|
|
579
|
-
readonly internalType: "contract IERC20";
|
|
583
|
+
readonly name: "delta0";
|
|
584
|
+
readonly type: "int256";
|
|
585
|
+
readonly internalType: "int256";
|
|
586
|
+
}, {
|
|
587
|
+
readonly name: "delta1";
|
|
588
|
+
readonly type: "int256";
|
|
589
|
+
readonly internalType: "int256";
|
|
580
590
|
}];
|
|
581
|
-
readonly stateMutability: "
|
|
591
|
+
readonly stateMutability: "nonpayable";
|
|
582
592
|
}, {
|
|
583
593
|
readonly type: "function";
|
|
584
594
|
readonly name: "transferOwnership";
|
|
@@ -591,21 +601,17 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
591
601
|
readonly stateMutability: "nonpayable";
|
|
592
602
|
}, {
|
|
593
603
|
readonly type: "function";
|
|
594
|
-
readonly name: "
|
|
604
|
+
readonly name: "unlockCallback";
|
|
595
605
|
readonly inputs: readonly [{
|
|
596
|
-
readonly name: "
|
|
597
|
-
readonly type: "
|
|
598
|
-
readonly internalType: "
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
readonly
|
|
602
|
-
readonly internalType: "uint256";
|
|
603
|
-
}, {
|
|
604
|
-
readonly name: "data";
|
|
606
|
+
readonly name: "rawData";
|
|
607
|
+
readonly type: "bytes";
|
|
608
|
+
readonly internalType: "bytes";
|
|
609
|
+
}];
|
|
610
|
+
readonly outputs: readonly [{
|
|
611
|
+
readonly name: "";
|
|
605
612
|
readonly type: "bytes";
|
|
606
613
|
readonly internalType: "bytes";
|
|
607
614
|
}];
|
|
608
|
-
readonly outputs: readonly [];
|
|
609
615
|
readonly stateMutability: "nonpayable";
|
|
610
616
|
}, {
|
|
611
617
|
readonly type: "function";
|
|
@@ -631,6 +637,264 @@ declare const singleOwnerVaultAbi: readonly [{
|
|
|
631
637
|
}];
|
|
632
638
|
readonly outputs: readonly [];
|
|
633
639
|
readonly stateMutability: "nonpayable";
|
|
640
|
+
}, {
|
|
641
|
+
readonly type: "event";
|
|
642
|
+
readonly name: "Borrow";
|
|
643
|
+
readonly inputs: readonly [{
|
|
644
|
+
readonly name: "user";
|
|
645
|
+
readonly type: "address";
|
|
646
|
+
readonly indexed: false;
|
|
647
|
+
readonly internalType: "address";
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "tickLower";
|
|
650
|
+
readonly type: "int24";
|
|
651
|
+
readonly indexed: false;
|
|
652
|
+
readonly internalType: "int24";
|
|
653
|
+
}, {
|
|
654
|
+
readonly name: "tickUpper";
|
|
655
|
+
readonly type: "int24";
|
|
656
|
+
readonly indexed: false;
|
|
657
|
+
readonly internalType: "int24";
|
|
658
|
+
}, {
|
|
659
|
+
readonly name: "liquidity";
|
|
660
|
+
readonly type: "uint128";
|
|
661
|
+
readonly indexed: false;
|
|
662
|
+
readonly internalType: "uint128";
|
|
663
|
+
}];
|
|
664
|
+
readonly anonymous: false;
|
|
665
|
+
}, {
|
|
666
|
+
readonly type: "event";
|
|
667
|
+
readonly name: "BorrowerWhitelisted";
|
|
668
|
+
readonly inputs: readonly [{
|
|
669
|
+
readonly name: "borrower";
|
|
670
|
+
readonly type: "address";
|
|
671
|
+
readonly indexed: true;
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
}, {
|
|
674
|
+
readonly name: "status";
|
|
675
|
+
readonly type: "bool";
|
|
676
|
+
readonly indexed: false;
|
|
677
|
+
readonly internalType: "bool";
|
|
678
|
+
}];
|
|
679
|
+
readonly anonymous: false;
|
|
680
|
+
}, {
|
|
681
|
+
readonly type: "event";
|
|
682
|
+
readonly name: "Burn";
|
|
683
|
+
readonly inputs: readonly [{
|
|
684
|
+
readonly name: "user";
|
|
685
|
+
readonly type: "address";
|
|
686
|
+
readonly indexed: false;
|
|
687
|
+
readonly internalType: "address";
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: "tickLower";
|
|
690
|
+
readonly type: "int24";
|
|
691
|
+
readonly indexed: false;
|
|
692
|
+
readonly internalType: "int24";
|
|
693
|
+
}, {
|
|
694
|
+
readonly name: "tickUpper";
|
|
695
|
+
readonly type: "int24";
|
|
696
|
+
readonly indexed: false;
|
|
697
|
+
readonly internalType: "int24";
|
|
698
|
+
}, {
|
|
699
|
+
readonly name: "liquidity";
|
|
700
|
+
readonly type: "uint128";
|
|
701
|
+
readonly indexed: false;
|
|
702
|
+
readonly internalType: "uint128";
|
|
703
|
+
}];
|
|
704
|
+
readonly anonymous: false;
|
|
705
|
+
}, {
|
|
706
|
+
readonly type: "event";
|
|
707
|
+
readonly name: "Mint";
|
|
708
|
+
readonly inputs: readonly [{
|
|
709
|
+
readonly name: "user";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
readonly indexed: false;
|
|
712
|
+
readonly internalType: "address";
|
|
713
|
+
}, {
|
|
714
|
+
readonly name: "tickLower";
|
|
715
|
+
readonly type: "int24";
|
|
716
|
+
readonly indexed: false;
|
|
717
|
+
readonly internalType: "int24";
|
|
718
|
+
}, {
|
|
719
|
+
readonly name: "tickUpper";
|
|
720
|
+
readonly type: "int24";
|
|
721
|
+
readonly indexed: false;
|
|
722
|
+
readonly internalType: "int24";
|
|
723
|
+
}, {
|
|
724
|
+
readonly name: "liquidity";
|
|
725
|
+
readonly type: "uint128";
|
|
726
|
+
readonly indexed: false;
|
|
727
|
+
readonly internalType: "uint128";
|
|
728
|
+
}];
|
|
729
|
+
readonly anonymous: false;
|
|
730
|
+
}, {
|
|
731
|
+
readonly type: "event";
|
|
732
|
+
readonly name: "OwnershipTransferred";
|
|
733
|
+
readonly inputs: readonly [{
|
|
734
|
+
readonly name: "previousOwner";
|
|
735
|
+
readonly type: "address";
|
|
736
|
+
readonly indexed: true;
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
}, {
|
|
739
|
+
readonly name: "newOwner";
|
|
740
|
+
readonly type: "address";
|
|
741
|
+
readonly indexed: true;
|
|
742
|
+
readonly internalType: "address";
|
|
743
|
+
}];
|
|
744
|
+
readonly anonymous: false;
|
|
745
|
+
}, {
|
|
746
|
+
readonly type: "event";
|
|
747
|
+
readonly name: "Repay";
|
|
748
|
+
readonly inputs: readonly [{
|
|
749
|
+
readonly name: "user";
|
|
750
|
+
readonly type: "address";
|
|
751
|
+
readonly indexed: false;
|
|
752
|
+
readonly internalType: "address";
|
|
753
|
+
}, {
|
|
754
|
+
readonly name: "tickLower";
|
|
755
|
+
readonly type: "int24";
|
|
756
|
+
readonly indexed: false;
|
|
757
|
+
readonly internalType: "int24";
|
|
758
|
+
}, {
|
|
759
|
+
readonly name: "tickUpper";
|
|
760
|
+
readonly type: "int24";
|
|
761
|
+
readonly indexed: false;
|
|
762
|
+
readonly internalType: "int24";
|
|
763
|
+
}, {
|
|
764
|
+
readonly name: "liquidity";
|
|
765
|
+
readonly type: "uint128";
|
|
766
|
+
readonly indexed: false;
|
|
767
|
+
readonly internalType: "uint128";
|
|
768
|
+
}];
|
|
769
|
+
readonly anonymous: false;
|
|
770
|
+
}, {
|
|
771
|
+
readonly type: "event";
|
|
772
|
+
readonly name: "TokenWithdrawn";
|
|
773
|
+
readonly inputs: readonly [{
|
|
774
|
+
readonly name: "token";
|
|
775
|
+
readonly type: "address";
|
|
776
|
+
readonly indexed: true;
|
|
777
|
+
readonly internalType: "address";
|
|
778
|
+
}, {
|
|
779
|
+
readonly name: "to";
|
|
780
|
+
readonly type: "address";
|
|
781
|
+
readonly indexed: true;
|
|
782
|
+
readonly internalType: "address";
|
|
783
|
+
}, {
|
|
784
|
+
readonly name: "amount";
|
|
785
|
+
readonly type: "uint256";
|
|
786
|
+
readonly indexed: false;
|
|
787
|
+
readonly internalType: "uint256";
|
|
788
|
+
}];
|
|
789
|
+
readonly anonymous: false;
|
|
790
|
+
}, {
|
|
791
|
+
readonly type: "error";
|
|
792
|
+
readonly name: "AddressEmptyCode";
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly name: "target";
|
|
795
|
+
readonly type: "address";
|
|
796
|
+
readonly internalType: "address";
|
|
797
|
+
}];
|
|
798
|
+
}, {
|
|
799
|
+
readonly type: "error";
|
|
800
|
+
readonly name: "BorrowerNotWhitelisted";
|
|
801
|
+
readonly inputs: readonly [{
|
|
802
|
+
readonly name: "borrower";
|
|
803
|
+
readonly type: "address";
|
|
804
|
+
readonly internalType: "address";
|
|
805
|
+
}];
|
|
806
|
+
}, {
|
|
807
|
+
readonly type: "error";
|
|
808
|
+
readonly name: "FailedCall";
|
|
809
|
+
readonly inputs: readonly [];
|
|
810
|
+
}, {
|
|
811
|
+
readonly type: "error";
|
|
812
|
+
readonly name: "InsufficientLiquidity";
|
|
813
|
+
readonly inputs: readonly [{
|
|
814
|
+
readonly name: "blockTickLower";
|
|
815
|
+
readonly type: "int24";
|
|
816
|
+
readonly internalType: "int24";
|
|
817
|
+
}, {
|
|
818
|
+
readonly name: "required";
|
|
819
|
+
readonly type: "uint128";
|
|
820
|
+
readonly internalType: "uint128";
|
|
821
|
+
}];
|
|
822
|
+
}, {
|
|
823
|
+
readonly type: "error";
|
|
824
|
+
readonly name: "InvalidActionType";
|
|
825
|
+
readonly inputs: readonly [{
|
|
826
|
+
readonly name: "actionType";
|
|
827
|
+
readonly type: "uint8";
|
|
828
|
+
readonly internalType: "uint8";
|
|
829
|
+
}];
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "error";
|
|
832
|
+
readonly name: "InvalidRefTick";
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly name: "tickLower";
|
|
835
|
+
readonly type: "int24";
|
|
836
|
+
readonly internalType: "int24";
|
|
837
|
+
}];
|
|
838
|
+
}, {
|
|
839
|
+
readonly type: "error";
|
|
840
|
+
readonly name: "InvalidTickRange";
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly name: "tickLower";
|
|
843
|
+
readonly type: "int24";
|
|
844
|
+
readonly internalType: "int24";
|
|
845
|
+
}, {
|
|
846
|
+
readonly name: "tickUpper";
|
|
847
|
+
readonly type: "int24";
|
|
848
|
+
readonly internalType: "int24";
|
|
849
|
+
}];
|
|
850
|
+
}, {
|
|
851
|
+
readonly type: "error";
|
|
852
|
+
readonly name: "OwnableInvalidOwner";
|
|
853
|
+
readonly inputs: readonly [{
|
|
854
|
+
readonly name: "owner";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
readonly internalType: "address";
|
|
857
|
+
}];
|
|
858
|
+
}, {
|
|
859
|
+
readonly type: "error";
|
|
860
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly name: "account";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
readonly internalType: "address";
|
|
865
|
+
}];
|
|
866
|
+
}, {
|
|
867
|
+
readonly type: "error";
|
|
868
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
869
|
+
readonly inputs: readonly [];
|
|
870
|
+
}, {
|
|
871
|
+
readonly type: "error";
|
|
872
|
+
readonly name: "SafeERC20FailedOperation";
|
|
873
|
+
readonly inputs: readonly [{
|
|
874
|
+
readonly name: "token";
|
|
875
|
+
readonly type: "address";
|
|
876
|
+
readonly internalType: "address";
|
|
877
|
+
}];
|
|
878
|
+
}, {
|
|
879
|
+
readonly type: "error";
|
|
880
|
+
readonly name: "TooMuchRepay";
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly name: "blockTickLower";
|
|
883
|
+
readonly type: "int24";
|
|
884
|
+
readonly internalType: "int24";
|
|
885
|
+
}, {
|
|
886
|
+
readonly name: "attempted";
|
|
887
|
+
readonly type: "uint128";
|
|
888
|
+
readonly internalType: "uint128";
|
|
889
|
+
}, {
|
|
890
|
+
readonly name: "maximum";
|
|
891
|
+
readonly type: "uint128";
|
|
892
|
+
readonly internalType: "uint128";
|
|
893
|
+
}];
|
|
894
|
+
}, {
|
|
895
|
+
readonly type: "error";
|
|
896
|
+
readonly name: "UnauthorizedCaller";
|
|
897
|
+
readonly inputs: readonly [];
|
|
634
898
|
}];
|
|
635
899
|
//#endregion
|
|
636
900
|
//#region src/abis/uniswapV3Pool.d.ts
|