@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,161 +3,6 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { Contract, utils } from "ethers";
|
|
5
5
|
const _abi = [
|
|
6
|
-
{
|
|
7
|
-
inputs: [
|
|
8
|
-
{
|
|
9
|
-
components: [
|
|
10
|
-
{
|
|
11
|
-
internalType: "address",
|
|
12
|
-
name: "governor",
|
|
13
|
-
type: "address",
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
internalType: "address",
|
|
17
|
-
name: "pauseGuardian",
|
|
18
|
-
type: "address",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
internalType: "address",
|
|
22
|
-
name: "baseToken",
|
|
23
|
-
type: "address",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "baseTokenPriceFeed",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "extensionDelegate",
|
|
33
|
-
type: "address",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
internalType: "uint64",
|
|
37
|
-
name: "supplyKink",
|
|
38
|
-
type: "uint64",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
internalType: "uint64",
|
|
42
|
-
name: "supplyPerYearInterestRateSlopeLow",
|
|
43
|
-
type: "uint64",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint64",
|
|
47
|
-
name: "supplyPerYearInterestRateSlopeHigh",
|
|
48
|
-
type: "uint64",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "uint64",
|
|
52
|
-
name: "supplyPerYearInterestRateBase",
|
|
53
|
-
type: "uint64",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
internalType: "uint64",
|
|
57
|
-
name: "borrowKink",
|
|
58
|
-
type: "uint64",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
internalType: "uint64",
|
|
62
|
-
name: "borrowPerYearInterestRateSlopeLow",
|
|
63
|
-
type: "uint64",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
internalType: "uint64",
|
|
67
|
-
name: "borrowPerYearInterestRateSlopeHigh",
|
|
68
|
-
type: "uint64",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
internalType: "uint64",
|
|
72
|
-
name: "borrowPerYearInterestRateBase",
|
|
73
|
-
type: "uint64",
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
internalType: "uint64",
|
|
77
|
-
name: "storeFrontPriceFactor",
|
|
78
|
-
type: "uint64",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
internalType: "uint64",
|
|
82
|
-
name: "trackingIndexScale",
|
|
83
|
-
type: "uint64",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
internalType: "uint64",
|
|
87
|
-
name: "baseTrackingSupplySpeed",
|
|
88
|
-
type: "uint64",
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
internalType: "uint64",
|
|
92
|
-
name: "baseTrackingBorrowSpeed",
|
|
93
|
-
type: "uint64",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
internalType: "uint104",
|
|
97
|
-
name: "baseMinForRewards",
|
|
98
|
-
type: "uint104",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
internalType: "uint104",
|
|
102
|
-
name: "baseBorrowMin",
|
|
103
|
-
type: "uint104",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
internalType: "uint104",
|
|
107
|
-
name: "targetReserves",
|
|
108
|
-
type: "uint104",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
components: [
|
|
112
|
-
{
|
|
113
|
-
internalType: "address",
|
|
114
|
-
name: "asset",
|
|
115
|
-
type: "address",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
internalType: "address",
|
|
119
|
-
name: "priceFeed",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
internalType: "uint8",
|
|
124
|
-
name: "decimals",
|
|
125
|
-
type: "uint8",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
internalType: "uint64",
|
|
129
|
-
name: "borrowCollateralFactor",
|
|
130
|
-
type: "uint64",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
internalType: "uint64",
|
|
134
|
-
name: "liquidateCollateralFactor",
|
|
135
|
-
type: "uint64",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
internalType: "uint64",
|
|
139
|
-
name: "liquidationFactor",
|
|
140
|
-
type: "uint64",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
internalType: "uint128",
|
|
144
|
-
name: "supplyCap",
|
|
145
|
-
type: "uint128",
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
internalType: "struct CometConfiguration.AssetConfig[]",
|
|
149
|
-
name: "assetConfigs",
|
|
150
|
-
type: "tuple[]",
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
internalType: "struct CometConfiguration.Configuration",
|
|
154
|
-
name: "config",
|
|
155
|
-
type: "tuple",
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
stateMutability: "nonpayable",
|
|
159
|
-
type: "constructor",
|
|
160
|
-
},
|
|
161
6
|
{
|
|
162
7
|
inputs: [],
|
|
163
8
|
name: "Absurd",
|
|
@@ -168,6 +13,11 @@ const _abi = [
|
|
|
168
13
|
name: "AlreadyInitialized",
|
|
169
14
|
type: "error",
|
|
170
15
|
},
|
|
16
|
+
{
|
|
17
|
+
inputs: [],
|
|
18
|
+
name: "BadAmount",
|
|
19
|
+
type: "error",
|
|
20
|
+
},
|
|
171
21
|
{
|
|
172
22
|
inputs: [],
|
|
173
23
|
name: "BadAsset",
|
|
@@ -188,11 +38,21 @@ const _abi = [
|
|
|
188
38
|
name: "BadMinimum",
|
|
189
39
|
type: "error",
|
|
190
40
|
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [],
|
|
43
|
+
name: "BadNonce",
|
|
44
|
+
type: "error",
|
|
45
|
+
},
|
|
191
46
|
{
|
|
192
47
|
inputs: [],
|
|
193
48
|
name: "BadPrice",
|
|
194
49
|
type: "error",
|
|
195
50
|
},
|
|
51
|
+
{
|
|
52
|
+
inputs: [],
|
|
53
|
+
name: "BadSignatory",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
196
56
|
{
|
|
197
57
|
inputs: [],
|
|
198
58
|
name: "BorrowCFTooLarge",
|
|
@@ -233,6 +93,16 @@ const _abi = [
|
|
|
233
93
|
name: "InvalidUInt64",
|
|
234
94
|
type: "error",
|
|
235
95
|
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [],
|
|
98
|
+
name: "InvalidValueS",
|
|
99
|
+
type: "error",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
inputs: [],
|
|
103
|
+
name: "InvalidValueV",
|
|
104
|
+
type: "error",
|
|
105
|
+
},
|
|
236
106
|
{
|
|
237
107
|
inputs: [],
|
|
238
108
|
name: "LiquidateCFTooLarge",
|
|
@@ -270,7 +140,7 @@ const _abi = [
|
|
|
270
140
|
},
|
|
271
141
|
{
|
|
272
142
|
inputs: [],
|
|
273
|
-
name: "
|
|
143
|
+
name: "SignatureExpired",
|
|
274
144
|
type: "error",
|
|
275
145
|
},
|
|
276
146
|
{
|
|
@@ -376,6 +246,31 @@ const _abi = [
|
|
|
376
246
|
name: "AbsorbDebt",
|
|
377
247
|
type: "event",
|
|
378
248
|
},
|
|
249
|
+
{
|
|
250
|
+
anonymous: false,
|
|
251
|
+
inputs: [
|
|
252
|
+
{
|
|
253
|
+
indexed: true,
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "owner",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
indexed: true,
|
|
260
|
+
internalType: "address",
|
|
261
|
+
name: "spender",
|
|
262
|
+
type: "address",
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
indexed: false,
|
|
266
|
+
internalType: "uint256",
|
|
267
|
+
name: "amount",
|
|
268
|
+
type: "uint256",
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
name: "Approval",
|
|
272
|
+
type: "event",
|
|
273
|
+
},
|
|
379
274
|
{
|
|
380
275
|
anonymous: false,
|
|
381
276
|
inputs: [
|
|
@@ -631,10 +526,6 @@ const _abi = [
|
|
|
631
526
|
name: "WithdrawReserves",
|
|
632
527
|
type: "event",
|
|
633
528
|
},
|
|
634
|
-
{
|
|
635
|
-
stateMutability: "payable",
|
|
636
|
-
type: "fallback",
|
|
637
|
-
},
|
|
638
529
|
{
|
|
639
530
|
inputs: [
|
|
640
531
|
{
|
|
@@ -673,40 +564,141 @@ const _abi = [
|
|
|
673
564
|
name: "manager",
|
|
674
565
|
type: "address",
|
|
675
566
|
},
|
|
567
|
+
{
|
|
568
|
+
internalType: "bool",
|
|
569
|
+
name: "isAllowed",
|
|
570
|
+
type: "bool",
|
|
571
|
+
},
|
|
572
|
+
],
|
|
573
|
+
name: "allow",
|
|
574
|
+
outputs: [],
|
|
575
|
+
stateMutability: "nonpayable",
|
|
576
|
+
type: "function",
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
inputs: [
|
|
676
580
|
{
|
|
677
581
|
internalType: "address",
|
|
678
|
-
name: "
|
|
582
|
+
name: "owner",
|
|
583
|
+
type: "address",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
internalType: "address",
|
|
587
|
+
name: "manager",
|
|
679
588
|
type: "address",
|
|
680
589
|
},
|
|
590
|
+
{
|
|
591
|
+
internalType: "bool",
|
|
592
|
+
name: "isAllowed",
|
|
593
|
+
type: "bool",
|
|
594
|
+
},
|
|
681
595
|
{
|
|
682
596
|
internalType: "uint256",
|
|
683
|
-
name: "
|
|
597
|
+
name: "nonce",
|
|
684
598
|
type: "uint256",
|
|
685
599
|
},
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "expiry",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint8",
|
|
607
|
+
name: "v",
|
|
608
|
+
type: "uint8",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
internalType: "bytes32",
|
|
612
|
+
name: "r",
|
|
613
|
+
type: "bytes32",
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
internalType: "bytes32",
|
|
617
|
+
name: "s",
|
|
618
|
+
type: "bytes32",
|
|
619
|
+
},
|
|
686
620
|
],
|
|
687
|
-
name: "
|
|
621
|
+
name: "allowBySig",
|
|
688
622
|
outputs: [],
|
|
689
623
|
stateMutability: "nonpayable",
|
|
690
624
|
type: "function",
|
|
691
625
|
},
|
|
692
626
|
{
|
|
693
|
-
inputs: [
|
|
694
|
-
|
|
627
|
+
inputs: [
|
|
628
|
+
{
|
|
629
|
+
internalType: "address",
|
|
630
|
+
name: "owner",
|
|
631
|
+
type: "address",
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
internalType: "address",
|
|
635
|
+
name: "spender",
|
|
636
|
+
type: "address",
|
|
637
|
+
},
|
|
638
|
+
],
|
|
639
|
+
name: "allowance",
|
|
695
640
|
outputs: [
|
|
641
|
+
{
|
|
642
|
+
internalType: "uint256",
|
|
643
|
+
name: "",
|
|
644
|
+
type: "uint256",
|
|
645
|
+
},
|
|
646
|
+
],
|
|
647
|
+
stateMutability: "view",
|
|
648
|
+
type: "function",
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
inputs: [
|
|
696
652
|
{
|
|
697
653
|
internalType: "address",
|
|
654
|
+
name: "spender",
|
|
655
|
+
type: "address",
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
internalType: "uint256",
|
|
659
|
+
name: "amount",
|
|
660
|
+
type: "uint256",
|
|
661
|
+
},
|
|
662
|
+
],
|
|
663
|
+
name: "approve",
|
|
664
|
+
outputs: [
|
|
665
|
+
{
|
|
666
|
+
internalType: "bool",
|
|
698
667
|
name: "",
|
|
668
|
+
type: "bool",
|
|
669
|
+
},
|
|
670
|
+
],
|
|
671
|
+
stateMutability: "nonpayable",
|
|
672
|
+
type: "function",
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
inputs: [
|
|
676
|
+
{
|
|
677
|
+
internalType: "address",
|
|
678
|
+
name: "manager",
|
|
699
679
|
type: "address",
|
|
700
680
|
},
|
|
681
|
+
{
|
|
682
|
+
internalType: "address",
|
|
683
|
+
name: "asset",
|
|
684
|
+
type: "address",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
internalType: "uint256",
|
|
688
|
+
name: "amount",
|
|
689
|
+
type: "uint256",
|
|
690
|
+
},
|
|
701
691
|
],
|
|
702
|
-
|
|
692
|
+
name: "approveThis",
|
|
693
|
+
outputs: [],
|
|
694
|
+
stateMutability: "nonpayable",
|
|
703
695
|
type: "function",
|
|
704
696
|
},
|
|
705
697
|
{
|
|
706
698
|
inputs: [
|
|
707
699
|
{
|
|
708
700
|
internalType: "address",
|
|
709
|
-
name: "
|
|
701
|
+
name: "owner",
|
|
710
702
|
type: "address",
|
|
711
703
|
},
|
|
712
704
|
],
|
|
@@ -721,6 +713,19 @@ const _abi = [
|
|
|
721
713
|
stateMutability: "view",
|
|
722
714
|
type: "function",
|
|
723
715
|
},
|
|
716
|
+
{
|
|
717
|
+
inputs: [],
|
|
718
|
+
name: "baseAccrualScale",
|
|
719
|
+
outputs: [
|
|
720
|
+
{
|
|
721
|
+
internalType: "uint64",
|
|
722
|
+
name: "",
|
|
723
|
+
type: "uint64",
|
|
724
|
+
},
|
|
725
|
+
],
|
|
726
|
+
stateMutability: "view",
|
|
727
|
+
type: "function",
|
|
728
|
+
},
|
|
724
729
|
{
|
|
725
730
|
inputs: [],
|
|
726
731
|
name: "baseBorrowMin",
|
|
@@ -734,6 +739,19 @@ const _abi = [
|
|
|
734
739
|
stateMutability: "view",
|
|
735
740
|
type: "function",
|
|
736
741
|
},
|
|
742
|
+
{
|
|
743
|
+
inputs: [],
|
|
744
|
+
name: "baseIndexScale",
|
|
745
|
+
outputs: [
|
|
746
|
+
{
|
|
747
|
+
internalType: "uint64",
|
|
748
|
+
name: "",
|
|
749
|
+
type: "uint64",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
stateMutability: "view",
|
|
753
|
+
type: "function",
|
|
754
|
+
},
|
|
737
755
|
{
|
|
738
756
|
inputs: [],
|
|
739
757
|
name: "baseMinForRewards",
|
|
@@ -786,6 +804,25 @@ const _abi = [
|
|
|
786
804
|
stateMutability: "view",
|
|
787
805
|
type: "function",
|
|
788
806
|
},
|
|
807
|
+
{
|
|
808
|
+
inputs: [
|
|
809
|
+
{
|
|
810
|
+
internalType: "address",
|
|
811
|
+
name: "account",
|
|
812
|
+
type: "address",
|
|
813
|
+
},
|
|
814
|
+
],
|
|
815
|
+
name: "baseTrackingAccrued",
|
|
816
|
+
outputs: [
|
|
817
|
+
{
|
|
818
|
+
internalType: "uint64",
|
|
819
|
+
name: "",
|
|
820
|
+
type: "uint64",
|
|
821
|
+
},
|
|
822
|
+
],
|
|
823
|
+
stateMutability: "view",
|
|
824
|
+
type: "function",
|
|
825
|
+
},
|
|
789
826
|
{
|
|
790
827
|
inputs: [],
|
|
791
828
|
name: "baseTrackingBorrowSpeed",
|
|
@@ -911,6 +948,30 @@ const _abi = [
|
|
|
911
948
|
stateMutability: "nonpayable",
|
|
912
949
|
type: "function",
|
|
913
950
|
},
|
|
951
|
+
{
|
|
952
|
+
inputs: [
|
|
953
|
+
{
|
|
954
|
+
internalType: "address",
|
|
955
|
+
name: "account",
|
|
956
|
+
type: "address",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
internalType: "address",
|
|
960
|
+
name: "asset",
|
|
961
|
+
type: "address",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
name: "collateralBalanceOf",
|
|
965
|
+
outputs: [
|
|
966
|
+
{
|
|
967
|
+
internalType: "uint128",
|
|
968
|
+
name: "",
|
|
969
|
+
type: "uint128",
|
|
970
|
+
},
|
|
971
|
+
],
|
|
972
|
+
stateMutability: "view",
|
|
973
|
+
type: "function",
|
|
974
|
+
},
|
|
914
975
|
{
|
|
915
976
|
inputs: [],
|
|
916
977
|
name: "decimals",
|
|
@@ -937,6 +998,19 @@ const _abi = [
|
|
|
937
998
|
stateMutability: "view",
|
|
938
999
|
type: "function",
|
|
939
1000
|
},
|
|
1001
|
+
{
|
|
1002
|
+
inputs: [],
|
|
1003
|
+
name: "factorScale",
|
|
1004
|
+
outputs: [
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "uint64",
|
|
1007
|
+
name: "",
|
|
1008
|
+
type: "uint64",
|
|
1009
|
+
},
|
|
1010
|
+
],
|
|
1011
|
+
stateMutability: "view",
|
|
1012
|
+
type: "function",
|
|
1013
|
+
},
|
|
940
1014
|
{
|
|
941
1015
|
inputs: [
|
|
942
1016
|
{
|
|
@@ -1366,6 +1440,32 @@ const _abi = [
|
|
|
1366
1440
|
stateMutability: "view",
|
|
1367
1441
|
type: "function",
|
|
1368
1442
|
},
|
|
1443
|
+
{
|
|
1444
|
+
inputs: [],
|
|
1445
|
+
name: "maxAssets",
|
|
1446
|
+
outputs: [
|
|
1447
|
+
{
|
|
1448
|
+
internalType: "uint8",
|
|
1449
|
+
name: "",
|
|
1450
|
+
type: "uint8",
|
|
1451
|
+
},
|
|
1452
|
+
],
|
|
1453
|
+
stateMutability: "view",
|
|
1454
|
+
type: "function",
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
inputs: [],
|
|
1458
|
+
name: "name",
|
|
1459
|
+
outputs: [
|
|
1460
|
+
{
|
|
1461
|
+
internalType: "string",
|
|
1462
|
+
name: "",
|
|
1463
|
+
type: "string",
|
|
1464
|
+
},
|
|
1465
|
+
],
|
|
1466
|
+
stateMutability: "view",
|
|
1467
|
+
type: "function",
|
|
1468
|
+
},
|
|
1369
1469
|
{
|
|
1370
1470
|
inputs: [],
|
|
1371
1471
|
name: "numAssets",
|
|
@@ -1425,6 +1525,19 @@ const _abi = [
|
|
|
1425
1525
|
stateMutability: "view",
|
|
1426
1526
|
type: "function",
|
|
1427
1527
|
},
|
|
1528
|
+
{
|
|
1529
|
+
inputs: [],
|
|
1530
|
+
name: "priceScale",
|
|
1531
|
+
outputs: [
|
|
1532
|
+
{
|
|
1533
|
+
internalType: "uint64",
|
|
1534
|
+
name: "",
|
|
1535
|
+
type: "uint64",
|
|
1536
|
+
},
|
|
1537
|
+
],
|
|
1538
|
+
stateMutability: "view",
|
|
1539
|
+
type: "function",
|
|
1540
|
+
},
|
|
1428
1541
|
{
|
|
1429
1542
|
inputs: [
|
|
1430
1543
|
{
|
|
@@ -1583,6 +1696,19 @@ const _abi = [
|
|
|
1583
1696
|
stateMutability: "nonpayable",
|
|
1584
1697
|
type: "function",
|
|
1585
1698
|
},
|
|
1699
|
+
{
|
|
1700
|
+
inputs: [],
|
|
1701
|
+
name: "symbol",
|
|
1702
|
+
outputs: [
|
|
1703
|
+
{
|
|
1704
|
+
internalType: "string",
|
|
1705
|
+
name: "",
|
|
1706
|
+
type: "string",
|
|
1707
|
+
},
|
|
1708
|
+
],
|
|
1709
|
+
stateMutability: "view",
|
|
1710
|
+
type: "function",
|
|
1711
|
+
},
|
|
1586
1712
|
{
|
|
1587
1713
|
inputs: [],
|
|
1588
1714
|
name: "targetReserves",
|
|
@@ -1622,6 +1748,61 @@ const _abi = [
|
|
|
1622
1748
|
stateMutability: "view",
|
|
1623
1749
|
type: "function",
|
|
1624
1750
|
},
|
|
1751
|
+
{
|
|
1752
|
+
inputs: [],
|
|
1753
|
+
name: "totalsBasic",
|
|
1754
|
+
outputs: [
|
|
1755
|
+
{
|
|
1756
|
+
components: [
|
|
1757
|
+
{
|
|
1758
|
+
internalType: "uint64",
|
|
1759
|
+
name: "baseSupplyIndex",
|
|
1760
|
+
type: "uint64",
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
internalType: "uint64",
|
|
1764
|
+
name: "baseBorrowIndex",
|
|
1765
|
+
type: "uint64",
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
internalType: "uint64",
|
|
1769
|
+
name: "trackingSupplyIndex",
|
|
1770
|
+
type: "uint64",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
internalType: "uint64",
|
|
1774
|
+
name: "trackingBorrowIndex",
|
|
1775
|
+
type: "uint64",
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
internalType: "uint104",
|
|
1779
|
+
name: "totalSupplyBase",
|
|
1780
|
+
type: "uint104",
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
internalType: "uint104",
|
|
1784
|
+
name: "totalBorrowBase",
|
|
1785
|
+
type: "uint104",
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
internalType: "uint40",
|
|
1789
|
+
name: "lastAccrualTime",
|
|
1790
|
+
type: "uint40",
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
internalType: "uint8",
|
|
1794
|
+
name: "pauseFlags",
|
|
1795
|
+
type: "uint8",
|
|
1796
|
+
},
|
|
1797
|
+
],
|
|
1798
|
+
internalType: "struct CometStorage.TotalsBasic",
|
|
1799
|
+
name: "",
|
|
1800
|
+
type: "tuple",
|
|
1801
|
+
},
|
|
1802
|
+
],
|
|
1803
|
+
stateMutability: "view",
|
|
1804
|
+
type: "function",
|
|
1805
|
+
},
|
|
1625
1806
|
{
|
|
1626
1807
|
inputs: [
|
|
1627
1808
|
{
|
|
@@ -1850,6 +2031,19 @@ const _abi = [
|
|
|
1850
2031
|
stateMutability: "view",
|
|
1851
2032
|
type: "function",
|
|
1852
2033
|
},
|
|
2034
|
+
{
|
|
2035
|
+
inputs: [],
|
|
2036
|
+
name: "version",
|
|
2037
|
+
outputs: [
|
|
2038
|
+
{
|
|
2039
|
+
internalType: "string",
|
|
2040
|
+
name: "",
|
|
2041
|
+
type: "string",
|
|
2042
|
+
},
|
|
2043
|
+
],
|
|
2044
|
+
stateMutability: "view",
|
|
2045
|
+
type: "function",
|
|
2046
|
+
},
|
|
1853
2047
|
{
|
|
1854
2048
|
inputs: [
|
|
1855
2049
|
{
|