@merkl/contracts 1.31.28 → 1.32.0
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.
|
@@ -3,128 +3,6 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { CompoundV3, CompoundV3Interface } from "../CompoundV3";
|
|
4
4
|
export declare class CompoundV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly components: readonly [{
|
|
8
|
-
readonly internalType: "address";
|
|
9
|
-
readonly name: "governor";
|
|
10
|
-
readonly type: "address";
|
|
11
|
-
}, {
|
|
12
|
-
readonly internalType: "address";
|
|
13
|
-
readonly name: "pauseGuardian";
|
|
14
|
-
readonly type: "address";
|
|
15
|
-
}, {
|
|
16
|
-
readonly internalType: "address";
|
|
17
|
-
readonly name: "baseToken";
|
|
18
|
-
readonly type: "address";
|
|
19
|
-
}, {
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "baseTokenPriceFeed";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}, {
|
|
24
|
-
readonly internalType: "address";
|
|
25
|
-
readonly name: "extensionDelegate";
|
|
26
|
-
readonly type: "address";
|
|
27
|
-
}, {
|
|
28
|
-
readonly internalType: "uint64";
|
|
29
|
-
readonly name: "supplyKink";
|
|
30
|
-
readonly type: "uint64";
|
|
31
|
-
}, {
|
|
32
|
-
readonly internalType: "uint64";
|
|
33
|
-
readonly name: "supplyPerYearInterestRateSlopeLow";
|
|
34
|
-
readonly type: "uint64";
|
|
35
|
-
}, {
|
|
36
|
-
readonly internalType: "uint64";
|
|
37
|
-
readonly name: "supplyPerYearInterestRateSlopeHigh";
|
|
38
|
-
readonly type: "uint64";
|
|
39
|
-
}, {
|
|
40
|
-
readonly internalType: "uint64";
|
|
41
|
-
readonly name: "supplyPerYearInterestRateBase";
|
|
42
|
-
readonly type: "uint64";
|
|
43
|
-
}, {
|
|
44
|
-
readonly internalType: "uint64";
|
|
45
|
-
readonly name: "borrowKink";
|
|
46
|
-
readonly type: "uint64";
|
|
47
|
-
}, {
|
|
48
|
-
readonly internalType: "uint64";
|
|
49
|
-
readonly name: "borrowPerYearInterestRateSlopeLow";
|
|
50
|
-
readonly type: "uint64";
|
|
51
|
-
}, {
|
|
52
|
-
readonly internalType: "uint64";
|
|
53
|
-
readonly name: "borrowPerYearInterestRateSlopeHigh";
|
|
54
|
-
readonly type: "uint64";
|
|
55
|
-
}, {
|
|
56
|
-
readonly internalType: "uint64";
|
|
57
|
-
readonly name: "borrowPerYearInterestRateBase";
|
|
58
|
-
readonly type: "uint64";
|
|
59
|
-
}, {
|
|
60
|
-
readonly internalType: "uint64";
|
|
61
|
-
readonly name: "storeFrontPriceFactor";
|
|
62
|
-
readonly type: "uint64";
|
|
63
|
-
}, {
|
|
64
|
-
readonly internalType: "uint64";
|
|
65
|
-
readonly name: "trackingIndexScale";
|
|
66
|
-
readonly type: "uint64";
|
|
67
|
-
}, {
|
|
68
|
-
readonly internalType: "uint64";
|
|
69
|
-
readonly name: "baseTrackingSupplySpeed";
|
|
70
|
-
readonly type: "uint64";
|
|
71
|
-
}, {
|
|
72
|
-
readonly internalType: "uint64";
|
|
73
|
-
readonly name: "baseTrackingBorrowSpeed";
|
|
74
|
-
readonly type: "uint64";
|
|
75
|
-
}, {
|
|
76
|
-
readonly internalType: "uint104";
|
|
77
|
-
readonly name: "baseMinForRewards";
|
|
78
|
-
readonly type: "uint104";
|
|
79
|
-
}, {
|
|
80
|
-
readonly internalType: "uint104";
|
|
81
|
-
readonly name: "baseBorrowMin";
|
|
82
|
-
readonly type: "uint104";
|
|
83
|
-
}, {
|
|
84
|
-
readonly internalType: "uint104";
|
|
85
|
-
readonly name: "targetReserves";
|
|
86
|
-
readonly type: "uint104";
|
|
87
|
-
}, {
|
|
88
|
-
readonly components: readonly [{
|
|
89
|
-
readonly internalType: "address";
|
|
90
|
-
readonly name: "asset";
|
|
91
|
-
readonly type: "address";
|
|
92
|
-
}, {
|
|
93
|
-
readonly internalType: "address";
|
|
94
|
-
readonly name: "priceFeed";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly internalType: "uint8";
|
|
98
|
-
readonly name: "decimals";
|
|
99
|
-
readonly type: "uint8";
|
|
100
|
-
}, {
|
|
101
|
-
readonly internalType: "uint64";
|
|
102
|
-
readonly name: "borrowCollateralFactor";
|
|
103
|
-
readonly type: "uint64";
|
|
104
|
-
}, {
|
|
105
|
-
readonly internalType: "uint64";
|
|
106
|
-
readonly name: "liquidateCollateralFactor";
|
|
107
|
-
readonly type: "uint64";
|
|
108
|
-
}, {
|
|
109
|
-
readonly internalType: "uint64";
|
|
110
|
-
readonly name: "liquidationFactor";
|
|
111
|
-
readonly type: "uint64";
|
|
112
|
-
}, {
|
|
113
|
-
readonly internalType: "uint128";
|
|
114
|
-
readonly name: "supplyCap";
|
|
115
|
-
readonly type: "uint128";
|
|
116
|
-
}];
|
|
117
|
-
readonly internalType: "struct CometConfiguration.AssetConfig[]";
|
|
118
|
-
readonly name: "assetConfigs";
|
|
119
|
-
readonly type: "tuple[]";
|
|
120
|
-
}];
|
|
121
|
-
readonly internalType: "struct CometConfiguration.Configuration";
|
|
122
|
-
readonly name: "config";
|
|
123
|
-
readonly type: "tuple";
|
|
124
|
-
}];
|
|
125
|
-
readonly stateMutability: "nonpayable";
|
|
126
|
-
readonly type: "constructor";
|
|
127
|
-
}, {
|
|
128
6
|
readonly inputs: readonly [];
|
|
129
7
|
readonly name: "Absurd";
|
|
130
8
|
readonly type: "error";
|
|
@@ -132,6 +10,10 @@ export declare class CompoundV3__factory {
|
|
|
132
10
|
readonly inputs: readonly [];
|
|
133
11
|
readonly name: "AlreadyInitialized";
|
|
134
12
|
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly name: "BadAmount";
|
|
16
|
+
readonly type: "error";
|
|
135
17
|
}, {
|
|
136
18
|
readonly inputs: readonly [];
|
|
137
19
|
readonly name: "BadAsset";
|
|
@@ -148,10 +30,18 @@ export declare class CompoundV3__factory {
|
|
|
148
30
|
readonly inputs: readonly [];
|
|
149
31
|
readonly name: "BadMinimum";
|
|
150
32
|
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [];
|
|
35
|
+
readonly name: "BadNonce";
|
|
36
|
+
readonly type: "error";
|
|
151
37
|
}, {
|
|
152
38
|
readonly inputs: readonly [];
|
|
153
39
|
readonly name: "BadPrice";
|
|
154
40
|
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [];
|
|
43
|
+
readonly name: "BadSignatory";
|
|
44
|
+
readonly type: "error";
|
|
155
45
|
}, {
|
|
156
46
|
readonly inputs: readonly [];
|
|
157
47
|
readonly name: "BorrowCFTooLarge";
|
|
@@ -184,6 +74,14 @@ export declare class CompoundV3__factory {
|
|
|
184
74
|
readonly inputs: readonly [];
|
|
185
75
|
readonly name: "InvalidUInt64";
|
|
186
76
|
readonly type: "error";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "InvalidValueS";
|
|
80
|
+
readonly type: "error";
|
|
81
|
+
}, {
|
|
82
|
+
readonly inputs: readonly [];
|
|
83
|
+
readonly name: "InvalidValueV";
|
|
84
|
+
readonly type: "error";
|
|
187
85
|
}, {
|
|
188
86
|
readonly inputs: readonly [];
|
|
189
87
|
readonly name: "LiquidateCFTooLarge";
|
|
@@ -214,7 +112,7 @@ export declare class CompoundV3__factory {
|
|
|
214
112
|
readonly type: "error";
|
|
215
113
|
}, {
|
|
216
114
|
readonly inputs: readonly [];
|
|
217
|
-
readonly name: "
|
|
115
|
+
readonly name: "SignatureExpired";
|
|
218
116
|
readonly type: "error";
|
|
219
117
|
}, {
|
|
220
118
|
readonly inputs: readonly [];
|
|
@@ -299,6 +197,26 @@ export declare class CompoundV3__factory {
|
|
|
299
197
|
}];
|
|
300
198
|
readonly name: "AbsorbDebt";
|
|
301
199
|
readonly type: "event";
|
|
200
|
+
}, {
|
|
201
|
+
readonly anonymous: false;
|
|
202
|
+
readonly inputs: readonly [{
|
|
203
|
+
readonly indexed: true;
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "owner";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly indexed: true;
|
|
209
|
+
readonly internalType: "address";
|
|
210
|
+
readonly name: "spender";
|
|
211
|
+
readonly type: "address";
|
|
212
|
+
}, {
|
|
213
|
+
readonly indexed: false;
|
|
214
|
+
readonly internalType: "uint256";
|
|
215
|
+
readonly name: "amount";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
}];
|
|
218
|
+
readonly name: "Approval";
|
|
219
|
+
readonly type: "event";
|
|
302
220
|
}, {
|
|
303
221
|
readonly anonymous: false;
|
|
304
222
|
readonly inputs: readonly [{
|
|
@@ -504,9 +422,6 @@ export declare class CompoundV3__factory {
|
|
|
504
422
|
}];
|
|
505
423
|
readonly name: "WithdrawReserves";
|
|
506
424
|
readonly type: "event";
|
|
507
|
-
}, {
|
|
508
|
-
readonly stateMutability: "payable";
|
|
509
|
-
readonly type: "fallback";
|
|
510
425
|
}, {
|
|
511
426
|
readonly inputs: readonly [{
|
|
512
427
|
readonly internalType: "address";
|
|
@@ -537,32 +452,110 @@ export declare class CompoundV3__factory {
|
|
|
537
452
|
readonly name: "manager";
|
|
538
453
|
readonly type: "address";
|
|
539
454
|
}, {
|
|
455
|
+
readonly internalType: "bool";
|
|
456
|
+
readonly name: "isAllowed";
|
|
457
|
+
readonly type: "bool";
|
|
458
|
+
}];
|
|
459
|
+
readonly name: "allow";
|
|
460
|
+
readonly outputs: readonly [];
|
|
461
|
+
readonly stateMutability: "nonpayable";
|
|
462
|
+
readonly type: "function";
|
|
463
|
+
}, {
|
|
464
|
+
readonly inputs: readonly [{
|
|
540
465
|
readonly internalType: "address";
|
|
541
|
-
readonly name: "
|
|
466
|
+
readonly name: "owner";
|
|
542
467
|
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "address";
|
|
470
|
+
readonly name: "manager";
|
|
471
|
+
readonly type: "address";
|
|
472
|
+
}, {
|
|
473
|
+
readonly internalType: "bool";
|
|
474
|
+
readonly name: "isAllowed";
|
|
475
|
+
readonly type: "bool";
|
|
543
476
|
}, {
|
|
544
477
|
readonly internalType: "uint256";
|
|
545
|
-
readonly name: "
|
|
478
|
+
readonly name: "nonce";
|
|
546
479
|
readonly type: "uint256";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "uint256";
|
|
482
|
+
readonly name: "expiry";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "uint8";
|
|
486
|
+
readonly name: "v";
|
|
487
|
+
readonly type: "uint8";
|
|
488
|
+
}, {
|
|
489
|
+
readonly internalType: "bytes32";
|
|
490
|
+
readonly name: "r";
|
|
491
|
+
readonly type: "bytes32";
|
|
492
|
+
}, {
|
|
493
|
+
readonly internalType: "bytes32";
|
|
494
|
+
readonly name: "s";
|
|
495
|
+
readonly type: "bytes32";
|
|
547
496
|
}];
|
|
548
|
-
readonly name: "
|
|
497
|
+
readonly name: "allowBySig";
|
|
549
498
|
readonly outputs: readonly [];
|
|
550
499
|
readonly stateMutability: "nonpayable";
|
|
551
500
|
readonly type: "function";
|
|
552
501
|
}, {
|
|
553
|
-
readonly inputs: readonly [
|
|
554
|
-
|
|
502
|
+
readonly inputs: readonly [{
|
|
503
|
+
readonly internalType: "address";
|
|
504
|
+
readonly name: "owner";
|
|
505
|
+
readonly type: "address";
|
|
506
|
+
}, {
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
readonly name: "spender";
|
|
509
|
+
readonly type: "address";
|
|
510
|
+
}];
|
|
511
|
+
readonly name: "allowance";
|
|
555
512
|
readonly outputs: readonly [{
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly type: "uint256";
|
|
516
|
+
}];
|
|
517
|
+
readonly stateMutability: "view";
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
}, {
|
|
520
|
+
readonly inputs: readonly [{
|
|
556
521
|
readonly internalType: "address";
|
|
522
|
+
readonly name: "spender";
|
|
523
|
+
readonly type: "address";
|
|
524
|
+
}, {
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
readonly name: "amount";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
}];
|
|
529
|
+
readonly name: "approve";
|
|
530
|
+
readonly outputs: readonly [{
|
|
531
|
+
readonly internalType: "bool";
|
|
557
532
|
readonly name: "";
|
|
533
|
+
readonly type: "bool";
|
|
534
|
+
}];
|
|
535
|
+
readonly stateMutability: "nonpayable";
|
|
536
|
+
readonly type: "function";
|
|
537
|
+
}, {
|
|
538
|
+
readonly inputs: readonly [{
|
|
539
|
+
readonly internalType: "address";
|
|
540
|
+
readonly name: "manager";
|
|
558
541
|
readonly type: "address";
|
|
542
|
+
}, {
|
|
543
|
+
readonly internalType: "address";
|
|
544
|
+
readonly name: "asset";
|
|
545
|
+
readonly type: "address";
|
|
546
|
+
}, {
|
|
547
|
+
readonly internalType: "uint256";
|
|
548
|
+
readonly name: "amount";
|
|
549
|
+
readonly type: "uint256";
|
|
559
550
|
}];
|
|
560
|
-
readonly
|
|
551
|
+
readonly name: "approveThis";
|
|
552
|
+
readonly outputs: readonly [];
|
|
553
|
+
readonly stateMutability: "nonpayable";
|
|
561
554
|
readonly type: "function";
|
|
562
555
|
}, {
|
|
563
556
|
readonly inputs: readonly [{
|
|
564
557
|
readonly internalType: "address";
|
|
565
|
-
readonly name: "
|
|
558
|
+
readonly name: "owner";
|
|
566
559
|
readonly type: "address";
|
|
567
560
|
}];
|
|
568
561
|
readonly name: "balanceOf";
|
|
@@ -573,6 +566,16 @@ export declare class CompoundV3__factory {
|
|
|
573
566
|
}];
|
|
574
567
|
readonly stateMutability: "view";
|
|
575
568
|
readonly type: "function";
|
|
569
|
+
}, {
|
|
570
|
+
readonly inputs: readonly [];
|
|
571
|
+
readonly name: "baseAccrualScale";
|
|
572
|
+
readonly outputs: readonly [{
|
|
573
|
+
readonly internalType: "uint64";
|
|
574
|
+
readonly name: "";
|
|
575
|
+
readonly type: "uint64";
|
|
576
|
+
}];
|
|
577
|
+
readonly stateMutability: "view";
|
|
578
|
+
readonly type: "function";
|
|
576
579
|
}, {
|
|
577
580
|
readonly inputs: readonly [];
|
|
578
581
|
readonly name: "baseBorrowMin";
|
|
@@ -583,6 +586,16 @@ export declare class CompoundV3__factory {
|
|
|
583
586
|
}];
|
|
584
587
|
readonly stateMutability: "view";
|
|
585
588
|
readonly type: "function";
|
|
589
|
+
}, {
|
|
590
|
+
readonly inputs: readonly [];
|
|
591
|
+
readonly name: "baseIndexScale";
|
|
592
|
+
readonly outputs: readonly [{
|
|
593
|
+
readonly internalType: "uint64";
|
|
594
|
+
readonly name: "";
|
|
595
|
+
readonly type: "uint64";
|
|
596
|
+
}];
|
|
597
|
+
readonly stateMutability: "view";
|
|
598
|
+
readonly type: "function";
|
|
586
599
|
}, {
|
|
587
600
|
readonly inputs: readonly [];
|
|
588
601
|
readonly name: "baseMinForRewards";
|
|
@@ -623,6 +636,20 @@ export declare class CompoundV3__factory {
|
|
|
623
636
|
}];
|
|
624
637
|
readonly stateMutability: "view";
|
|
625
638
|
readonly type: "function";
|
|
639
|
+
}, {
|
|
640
|
+
readonly inputs: readonly [{
|
|
641
|
+
readonly internalType: "address";
|
|
642
|
+
readonly name: "account";
|
|
643
|
+
readonly type: "address";
|
|
644
|
+
}];
|
|
645
|
+
readonly name: "baseTrackingAccrued";
|
|
646
|
+
readonly outputs: readonly [{
|
|
647
|
+
readonly internalType: "uint64";
|
|
648
|
+
readonly name: "";
|
|
649
|
+
readonly type: "uint64";
|
|
650
|
+
}];
|
|
651
|
+
readonly stateMutability: "view";
|
|
652
|
+
readonly type: "function";
|
|
626
653
|
}, {
|
|
627
654
|
readonly inputs: readonly [];
|
|
628
655
|
readonly name: "baseTrackingBorrowSpeed";
|
|
@@ -719,6 +746,24 @@ export declare class CompoundV3__factory {
|
|
|
719
746
|
readonly outputs: readonly [];
|
|
720
747
|
readonly stateMutability: "nonpayable";
|
|
721
748
|
readonly type: "function";
|
|
749
|
+
}, {
|
|
750
|
+
readonly inputs: readonly [{
|
|
751
|
+
readonly internalType: "address";
|
|
752
|
+
readonly name: "account";
|
|
753
|
+
readonly type: "address";
|
|
754
|
+
}, {
|
|
755
|
+
readonly internalType: "address";
|
|
756
|
+
readonly name: "asset";
|
|
757
|
+
readonly type: "address";
|
|
758
|
+
}];
|
|
759
|
+
readonly name: "collateralBalanceOf";
|
|
760
|
+
readonly outputs: readonly [{
|
|
761
|
+
readonly internalType: "uint128";
|
|
762
|
+
readonly name: "";
|
|
763
|
+
readonly type: "uint128";
|
|
764
|
+
}];
|
|
765
|
+
readonly stateMutability: "view";
|
|
766
|
+
readonly type: "function";
|
|
722
767
|
}, {
|
|
723
768
|
readonly inputs: readonly [];
|
|
724
769
|
readonly name: "decimals";
|
|
@@ -739,6 +784,16 @@ export declare class CompoundV3__factory {
|
|
|
739
784
|
}];
|
|
740
785
|
readonly stateMutability: "view";
|
|
741
786
|
readonly type: "function";
|
|
787
|
+
}, {
|
|
788
|
+
readonly inputs: readonly [];
|
|
789
|
+
readonly name: "factorScale";
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly internalType: "uint64";
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly type: "uint64";
|
|
794
|
+
}];
|
|
795
|
+
readonly stateMutability: "view";
|
|
796
|
+
readonly type: "function";
|
|
742
797
|
}, {
|
|
743
798
|
readonly inputs: readonly [{
|
|
744
799
|
readonly internalType: "uint8";
|
|
@@ -1065,6 +1120,26 @@ export declare class CompoundV3__factory {
|
|
|
1065
1120
|
}];
|
|
1066
1121
|
readonly stateMutability: "view";
|
|
1067
1122
|
readonly type: "function";
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly inputs: readonly [];
|
|
1125
|
+
readonly name: "maxAssets";
|
|
1126
|
+
readonly outputs: readonly [{
|
|
1127
|
+
readonly internalType: "uint8";
|
|
1128
|
+
readonly name: "";
|
|
1129
|
+
readonly type: "uint8";
|
|
1130
|
+
}];
|
|
1131
|
+
readonly stateMutability: "view";
|
|
1132
|
+
readonly type: "function";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly inputs: readonly [];
|
|
1135
|
+
readonly name: "name";
|
|
1136
|
+
readonly outputs: readonly [{
|
|
1137
|
+
readonly internalType: "string";
|
|
1138
|
+
readonly name: "";
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
}];
|
|
1141
|
+
readonly stateMutability: "view";
|
|
1142
|
+
readonly type: "function";
|
|
1068
1143
|
}, {
|
|
1069
1144
|
readonly inputs: readonly [];
|
|
1070
1145
|
readonly name: "numAssets";
|
|
@@ -1111,6 +1186,16 @@ export declare class CompoundV3__factory {
|
|
|
1111
1186
|
}];
|
|
1112
1187
|
readonly stateMutability: "view";
|
|
1113
1188
|
readonly type: "function";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly inputs: readonly [];
|
|
1191
|
+
readonly name: "priceScale";
|
|
1192
|
+
readonly outputs: readonly [{
|
|
1193
|
+
readonly internalType: "uint64";
|
|
1194
|
+
readonly name: "";
|
|
1195
|
+
readonly type: "uint64";
|
|
1196
|
+
}];
|
|
1197
|
+
readonly stateMutability: "view";
|
|
1198
|
+
readonly type: "function";
|
|
1114
1199
|
}, {
|
|
1115
1200
|
readonly inputs: readonly [{
|
|
1116
1201
|
readonly internalType: "address";
|
|
@@ -1233,6 +1318,16 @@ export declare class CompoundV3__factory {
|
|
|
1233
1318
|
readonly outputs: readonly [];
|
|
1234
1319
|
readonly stateMutability: "nonpayable";
|
|
1235
1320
|
readonly type: "function";
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly inputs: readonly [];
|
|
1323
|
+
readonly name: "symbol";
|
|
1324
|
+
readonly outputs: readonly [{
|
|
1325
|
+
readonly internalType: "string";
|
|
1326
|
+
readonly name: "";
|
|
1327
|
+
readonly type: "string";
|
|
1328
|
+
}];
|
|
1329
|
+
readonly stateMutability: "view";
|
|
1330
|
+
readonly type: "function";
|
|
1236
1331
|
}, {
|
|
1237
1332
|
readonly inputs: readonly [];
|
|
1238
1333
|
readonly name: "targetReserves";
|
|
@@ -1263,6 +1358,49 @@ export declare class CompoundV3__factory {
|
|
|
1263
1358
|
}];
|
|
1264
1359
|
readonly stateMutability: "view";
|
|
1265
1360
|
readonly type: "function";
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly inputs: readonly [];
|
|
1363
|
+
readonly name: "totalsBasic";
|
|
1364
|
+
readonly outputs: readonly [{
|
|
1365
|
+
readonly components: readonly [{
|
|
1366
|
+
readonly internalType: "uint64";
|
|
1367
|
+
readonly name: "baseSupplyIndex";
|
|
1368
|
+
readonly type: "uint64";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly internalType: "uint64";
|
|
1371
|
+
readonly name: "baseBorrowIndex";
|
|
1372
|
+
readonly type: "uint64";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "uint64";
|
|
1375
|
+
readonly name: "trackingSupplyIndex";
|
|
1376
|
+
readonly type: "uint64";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly internalType: "uint64";
|
|
1379
|
+
readonly name: "trackingBorrowIndex";
|
|
1380
|
+
readonly type: "uint64";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly internalType: "uint104";
|
|
1383
|
+
readonly name: "totalSupplyBase";
|
|
1384
|
+
readonly type: "uint104";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly internalType: "uint104";
|
|
1387
|
+
readonly name: "totalBorrowBase";
|
|
1388
|
+
readonly type: "uint104";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly internalType: "uint40";
|
|
1391
|
+
readonly name: "lastAccrualTime";
|
|
1392
|
+
readonly type: "uint40";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly internalType: "uint8";
|
|
1395
|
+
readonly name: "pauseFlags";
|
|
1396
|
+
readonly type: "uint8";
|
|
1397
|
+
}];
|
|
1398
|
+
readonly internalType: "struct CometStorage.TotalsBasic";
|
|
1399
|
+
readonly name: "";
|
|
1400
|
+
readonly type: "tuple";
|
|
1401
|
+
}];
|
|
1402
|
+
readonly stateMutability: "view";
|
|
1403
|
+
readonly type: "function";
|
|
1266
1404
|
}, {
|
|
1267
1405
|
readonly inputs: readonly [{
|
|
1268
1406
|
readonly internalType: "address";
|
|
@@ -1437,6 +1575,16 @@ export declare class CompoundV3__factory {
|
|
|
1437
1575
|
}];
|
|
1438
1576
|
readonly stateMutability: "view";
|
|
1439
1577
|
readonly type: "function";
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly inputs: readonly [];
|
|
1580
|
+
readonly name: "version";
|
|
1581
|
+
readonly outputs: readonly [{
|
|
1582
|
+
readonly internalType: "string";
|
|
1583
|
+
readonly name: "";
|
|
1584
|
+
readonly type: "string";
|
|
1585
|
+
}];
|
|
1586
|
+
readonly stateMutability: "view";
|
|
1587
|
+
readonly type: "function";
|
|
1440
1588
|
}, {
|
|
1441
1589
|
readonly inputs: readonly [{
|
|
1442
1590
|
readonly internalType: "address";
|