@gearbox-protocol/sdk 3.1.1 → 3.1.3-next.1
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/cjs/abi/compressors.js +1124 -518
- package/dist/cjs/adapters/abi/adapters.js +123 -0
- package/dist/cjs/adapters/abi/index.js +1 -3
- package/dist/cjs/dev/setLTZero.js +7 -0
- package/dist/cjs/sdk/accounts/CreditAccountsService.js +45 -30
- package/dist/cjs/sdk/accounts/utils.js +38 -0
- package/dist/cjs/sdk/chain/chains.js +3 -1
- package/dist/cjs/sdk/constants/address-provider.js +10 -16
- package/dist/cjs/sdk/market/MarketSuite.js +1 -1
- package/dist/cjs/sdk/market/credit/CreditFacadeV300Contract.js +1 -5
- package/dist/cjs/sdk/market/credit/CreditFacadeV310Contract.js +1 -5
- package/dist/cjs/sdk/market/oracle/PriceOracleBaseContract.js +6 -5
- package/dist/cjs/sdk/market/pool/PoolSuite.js +1 -1
- package/dist/cjs/sdk/market/pricefeeds/PriceFeedsRegister.js +4 -4
- package/dist/cjs/sdk/sdk-legacy/core/creditAccount.js +3 -1
- package/dist/esm/abi/compressors.js +1124 -513
- package/dist/esm/adapters/abi/adapters.js +120 -0
- package/dist/esm/adapters/abi/index.js +0 -1
- package/dist/esm/dev/setLTZero.js +7 -0
- package/dist/esm/sdk/accounts/CreditAccountsService.js +45 -30
- package/dist/esm/sdk/accounts/utils.js +14 -0
- package/dist/esm/sdk/chain/chains.js +3 -1
- package/dist/esm/sdk/constants/address-provider.js +10 -14
- package/dist/esm/sdk/market/MarketSuite.js +1 -1
- package/dist/esm/sdk/market/credit/CreditFacadeV300Contract.js +1 -5
- package/dist/esm/sdk/market/credit/CreditFacadeV310Contract.js +1 -5
- package/dist/esm/sdk/market/oracle/PriceOracleBaseContract.js +6 -5
- package/dist/esm/sdk/market/pool/PoolSuite.js +1 -1
- package/dist/esm/sdk/market/pricefeeds/PriceFeedsRegister.js +9 -6
- package/dist/esm/sdk/sdk-legacy/core/creditAccount.js +3 -1
- package/dist/types/abi/compressors.d.ts +1403 -775
- package/dist/types/adapters/BalancerV3RouterAdapterContract.d.ts +62 -104
- package/dist/types/adapters/abi/adapters.d.ts +213 -0
- package/dist/types/adapters/abi/index.d.ts +0 -1
- package/dist/types/sdk/accounts/CreditAccountsService.d.ts +3 -3
- package/dist/types/sdk/accounts/types.d.ts +15 -2
- package/dist/types/sdk/accounts/utils.d.ts +2 -0
- package/dist/types/sdk/base/types.d.ts +6 -6
- package/dist/types/sdk/constants/address-provider.d.ts +10 -12
- package/dist/types/sdk/market/oracle/PriceOracleBaseContract.d.ts +425 -85
- package/dist/types/sdk/market/pool/PoolQuotaKeeperV300Contract.d.ts +2 -2
- package/dist/types/sdk/market/pool/PoolQuotaKeeperV310Contract.d.ts +2 -2
- package/dist/types/sdk/market/pool/createPoolQuotaKeeper.d.ts +2 -2
- package/dist/types/sdk/types/state-human.d.ts +1 -3
- package/package.json +1 -1
- package/dist/cjs/adapters/abi/iBalancerV3RouterAdapter.js +0 -153
- package/dist/esm/adapters/abi/iBalancerV3RouterAdapter.js +0 -129
- package/dist/types/adapters/abi/iBalancerV3RouterAdapter.d.ts +0 -230
|
@@ -1,136 +1,3 @@
|
|
|
1
|
-
export declare const iAdapterCompressorAbi: readonly [{
|
|
2
|
-
readonly type: "function";
|
|
3
|
-
readonly inputs: readonly [];
|
|
4
|
-
readonly name: "contractType";
|
|
5
|
-
readonly outputs: readonly [{
|
|
6
|
-
readonly name: "";
|
|
7
|
-
readonly internalType: "bytes32";
|
|
8
|
-
readonly type: "bytes32";
|
|
9
|
-
}];
|
|
10
|
-
readonly stateMutability: "view";
|
|
11
|
-
}, {
|
|
12
|
-
readonly type: "function";
|
|
13
|
-
readonly inputs: readonly [{
|
|
14
|
-
readonly name: "creditManager";
|
|
15
|
-
readonly internalType: "address";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}];
|
|
18
|
-
readonly name: "getAdapters";
|
|
19
|
-
readonly outputs: readonly [{
|
|
20
|
-
readonly name: "result";
|
|
21
|
-
readonly internalType: "struct AdapterState[]";
|
|
22
|
-
readonly type: "tuple[]";
|
|
23
|
-
readonly components: readonly [{
|
|
24
|
-
readonly name: "baseParams";
|
|
25
|
-
readonly internalType: "struct BaseParams";
|
|
26
|
-
readonly type: "tuple";
|
|
27
|
-
readonly components: readonly [{
|
|
28
|
-
readonly name: "addr";
|
|
29
|
-
readonly internalType: "address";
|
|
30
|
-
readonly type: "address";
|
|
31
|
-
}, {
|
|
32
|
-
readonly name: "version";
|
|
33
|
-
readonly internalType: "uint256";
|
|
34
|
-
readonly type: "uint256";
|
|
35
|
-
}, {
|
|
36
|
-
readonly name: "contractType";
|
|
37
|
-
readonly internalType: "bytes32";
|
|
38
|
-
readonly type: "bytes32";
|
|
39
|
-
}, {
|
|
40
|
-
readonly name: "serializedParams";
|
|
41
|
-
readonly internalType: "bytes";
|
|
42
|
-
readonly type: "bytes";
|
|
43
|
-
}];
|
|
44
|
-
}, {
|
|
45
|
-
readonly name: "targetContract";
|
|
46
|
-
readonly internalType: "address";
|
|
47
|
-
readonly type: "address";
|
|
48
|
-
}];
|
|
49
|
-
}];
|
|
50
|
-
readonly stateMutability: "view";
|
|
51
|
-
}, {
|
|
52
|
-
readonly type: "function";
|
|
53
|
-
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "version";
|
|
55
|
-
readonly outputs: readonly [{
|
|
56
|
-
readonly name: "";
|
|
57
|
-
readonly internalType: "uint256";
|
|
58
|
-
readonly type: "uint256";
|
|
59
|
-
}];
|
|
60
|
-
readonly stateMutability: "view";
|
|
61
|
-
}];
|
|
62
|
-
export declare const iAuraL2CoordinatorAbi: readonly [{
|
|
63
|
-
readonly type: "function";
|
|
64
|
-
readonly inputs: readonly [];
|
|
65
|
-
readonly name: "auraOFT";
|
|
66
|
-
readonly outputs: readonly [{
|
|
67
|
-
readonly name: "";
|
|
68
|
-
readonly internalType: "address";
|
|
69
|
-
readonly type: "address";
|
|
70
|
-
}];
|
|
71
|
-
readonly stateMutability: "view";
|
|
72
|
-
}, {
|
|
73
|
-
readonly type: "function";
|
|
74
|
-
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "mintRate";
|
|
76
|
-
readonly outputs: readonly [{
|
|
77
|
-
readonly name: "";
|
|
78
|
-
readonly internalType: "uint256";
|
|
79
|
-
readonly type: "uint256";
|
|
80
|
-
}];
|
|
81
|
-
readonly stateMutability: "view";
|
|
82
|
-
}];
|
|
83
|
-
export declare const iConvexTokenAbi: readonly [{
|
|
84
|
-
readonly type: "function";
|
|
85
|
-
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "EMISSIONS_MAX_SUPPLY";
|
|
87
|
-
readonly outputs: readonly [{
|
|
88
|
-
readonly name: "";
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
|
-
readonly type: "uint256";
|
|
91
|
-
}];
|
|
92
|
-
readonly stateMutability: "view";
|
|
93
|
-
}, {
|
|
94
|
-
readonly type: "function";
|
|
95
|
-
readonly inputs: readonly [];
|
|
96
|
-
readonly name: "maxSupply";
|
|
97
|
-
readonly outputs: readonly [{
|
|
98
|
-
readonly name: "";
|
|
99
|
-
readonly internalType: "uint256";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}];
|
|
102
|
-
readonly stateMutability: "view";
|
|
103
|
-
}, {
|
|
104
|
-
readonly type: "function";
|
|
105
|
-
readonly inputs: readonly [];
|
|
106
|
-
readonly name: "reductionPerCliff";
|
|
107
|
-
readonly outputs: readonly [{
|
|
108
|
-
readonly name: "";
|
|
109
|
-
readonly internalType: "uint256";
|
|
110
|
-
readonly type: "uint256";
|
|
111
|
-
}];
|
|
112
|
-
readonly stateMutability: "view";
|
|
113
|
-
}, {
|
|
114
|
-
readonly type: "function";
|
|
115
|
-
readonly inputs: readonly [];
|
|
116
|
-
readonly name: "totalCliffs";
|
|
117
|
-
readonly outputs: readonly [{
|
|
118
|
-
readonly name: "";
|
|
119
|
-
readonly internalType: "uint256";
|
|
120
|
-
readonly type: "uint256";
|
|
121
|
-
}];
|
|
122
|
-
readonly stateMutability: "view";
|
|
123
|
-
}, {
|
|
124
|
-
readonly type: "function";
|
|
125
|
-
readonly inputs: readonly [];
|
|
126
|
-
readonly name: "totalSupply";
|
|
127
|
-
readonly outputs: readonly [{
|
|
128
|
-
readonly name: "";
|
|
129
|
-
readonly internalType: "uint256";
|
|
130
|
-
readonly type: "uint256";
|
|
131
|
-
}];
|
|
132
|
-
readonly stateMutability: "view";
|
|
133
|
-
}];
|
|
134
1
|
export declare const iCreditAccountCompressorAbi: readonly [{
|
|
135
2
|
readonly type: "function";
|
|
136
3
|
readonly inputs: readonly [];
|
|
@@ -161,12 +28,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
161
28
|
readonly type: "bool";
|
|
162
29
|
}, {
|
|
163
30
|
readonly name: "minHealthFactor";
|
|
164
|
-
readonly internalType: "
|
|
165
|
-
readonly type: "
|
|
31
|
+
readonly internalType: "uint256";
|
|
32
|
+
readonly type: "uint256";
|
|
166
33
|
}, {
|
|
167
34
|
readonly name: "maxHealthFactor";
|
|
168
|
-
readonly internalType: "
|
|
169
|
-
readonly type: "
|
|
35
|
+
readonly internalType: "uint256";
|
|
36
|
+
readonly type: "uint256";
|
|
170
37
|
}, {
|
|
171
38
|
readonly name: "reverting";
|
|
172
39
|
readonly internalType: "bool";
|
|
@@ -184,12 +51,16 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
184
51
|
readonly type: "function";
|
|
185
52
|
readonly inputs: readonly [{
|
|
186
53
|
readonly name: "cmFilter";
|
|
187
|
-
readonly internalType: "struct
|
|
54
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
188
55
|
readonly type: "tuple";
|
|
189
56
|
readonly components: readonly [{
|
|
190
57
|
readonly name: "configurators";
|
|
191
58
|
readonly internalType: "address[]";
|
|
192
59
|
readonly type: "address[]";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "creditManagers";
|
|
62
|
+
readonly internalType: "address[]";
|
|
63
|
+
readonly type: "address[]";
|
|
193
64
|
}, {
|
|
194
65
|
readonly name: "pools";
|
|
195
66
|
readonly internalType: "address[]";
|
|
@@ -213,12 +84,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
213
84
|
readonly type: "bool";
|
|
214
85
|
}, {
|
|
215
86
|
readonly name: "minHealthFactor";
|
|
216
|
-
readonly internalType: "
|
|
217
|
-
readonly type: "
|
|
87
|
+
readonly internalType: "uint256";
|
|
88
|
+
readonly type: "uint256";
|
|
218
89
|
}, {
|
|
219
90
|
readonly name: "maxHealthFactor";
|
|
220
|
-
readonly internalType: "
|
|
221
|
-
readonly type: "
|
|
91
|
+
readonly internalType: "uint256";
|
|
92
|
+
readonly type: "uint256";
|
|
222
93
|
}, {
|
|
223
94
|
readonly name: "reverting";
|
|
224
95
|
readonly internalType: "bool";
|
|
@@ -302,8 +173,8 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
302
173
|
readonly type: "uint256";
|
|
303
174
|
}, {
|
|
304
175
|
readonly name: "healthFactor";
|
|
305
|
-
readonly internalType: "
|
|
306
|
-
readonly type: "
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly type: "uint256";
|
|
307
178
|
}, {
|
|
308
179
|
readonly name: "success";
|
|
309
180
|
readonly internalType: "bool";
|
|
@@ -340,12 +211,16 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
340
211
|
readonly type: "function";
|
|
341
212
|
readonly inputs: readonly [{
|
|
342
213
|
readonly name: "cmFilter";
|
|
343
|
-
readonly internalType: "struct
|
|
214
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
344
215
|
readonly type: "tuple";
|
|
345
216
|
readonly components: readonly [{
|
|
346
217
|
readonly name: "configurators";
|
|
347
218
|
readonly internalType: "address[]";
|
|
348
219
|
readonly type: "address[]";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "creditManagers";
|
|
222
|
+
readonly internalType: "address[]";
|
|
223
|
+
readonly type: "address[]";
|
|
349
224
|
}, {
|
|
350
225
|
readonly name: "pools";
|
|
351
226
|
readonly internalType: "address[]";
|
|
@@ -369,12 +244,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
369
244
|
readonly type: "bool";
|
|
370
245
|
}, {
|
|
371
246
|
readonly name: "minHealthFactor";
|
|
372
|
-
readonly internalType: "
|
|
373
|
-
readonly type: "
|
|
247
|
+
readonly internalType: "uint256";
|
|
248
|
+
readonly type: "uint256";
|
|
374
249
|
}, {
|
|
375
250
|
readonly name: "maxHealthFactor";
|
|
376
|
-
readonly internalType: "
|
|
377
|
-
readonly type: "
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
readonly type: "uint256";
|
|
378
253
|
}, {
|
|
379
254
|
readonly name: "reverting";
|
|
380
255
|
readonly internalType: "bool";
|
|
@@ -384,6 +259,10 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
384
259
|
readonly name: "offset";
|
|
385
260
|
readonly internalType: "uint256";
|
|
386
261
|
readonly type: "uint256";
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: "limit";
|
|
264
|
+
readonly internalType: "uint256";
|
|
265
|
+
readonly type: "uint256";
|
|
387
266
|
}];
|
|
388
267
|
readonly name: "getCreditAccounts";
|
|
389
268
|
readonly outputs: readonly [{
|
|
@@ -448,8 +327,8 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
448
327
|
readonly type: "uint256";
|
|
449
328
|
}, {
|
|
450
329
|
readonly name: "healthFactor";
|
|
451
|
-
readonly internalType: "
|
|
452
|
-
readonly type: "
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly type: "uint256";
|
|
453
332
|
}, {
|
|
454
333
|
readonly name: "success";
|
|
455
334
|
readonly internalType: "bool";
|
|
@@ -506,12 +385,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
506
385
|
readonly type: "bool";
|
|
507
386
|
}, {
|
|
508
387
|
readonly name: "minHealthFactor";
|
|
509
|
-
readonly internalType: "
|
|
510
|
-
readonly type: "
|
|
388
|
+
readonly internalType: "uint256";
|
|
389
|
+
readonly type: "uint256";
|
|
511
390
|
}, {
|
|
512
391
|
readonly name: "maxHealthFactor";
|
|
513
|
-
readonly internalType: "
|
|
514
|
-
readonly type: "
|
|
392
|
+
readonly internalType: "uint256";
|
|
393
|
+
readonly type: "uint256";
|
|
515
394
|
}, {
|
|
516
395
|
readonly name: "reverting";
|
|
517
396
|
readonly internalType: "bool";
|
|
@@ -585,8 +464,8 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
585
464
|
readonly type: "uint256";
|
|
586
465
|
}, {
|
|
587
466
|
readonly name: "healthFactor";
|
|
588
|
-
readonly internalType: "
|
|
589
|
-
readonly type: "
|
|
467
|
+
readonly internalType: "uint256";
|
|
468
|
+
readonly type: "uint256";
|
|
590
469
|
}, {
|
|
591
470
|
readonly name: "success";
|
|
592
471
|
readonly internalType: "bool";
|
|
@@ -643,12 +522,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
643
522
|
readonly type: "bool";
|
|
644
523
|
}, {
|
|
645
524
|
readonly name: "minHealthFactor";
|
|
646
|
-
readonly internalType: "
|
|
647
|
-
readonly type: "
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
readonly type: "uint256";
|
|
648
527
|
}, {
|
|
649
528
|
readonly name: "maxHealthFactor";
|
|
650
|
-
readonly internalType: "
|
|
651
|
-
readonly type: "
|
|
529
|
+
readonly internalType: "uint256";
|
|
530
|
+
readonly type: "uint256";
|
|
652
531
|
}, {
|
|
653
532
|
readonly name: "reverting";
|
|
654
533
|
readonly internalType: "bool";
|
|
@@ -726,8 +605,8 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
726
605
|
readonly type: "uint256";
|
|
727
606
|
}, {
|
|
728
607
|
readonly name: "healthFactor";
|
|
729
|
-
readonly internalType: "
|
|
730
|
-
readonly type: "
|
|
608
|
+
readonly internalType: "uint256";
|
|
609
|
+
readonly type: "uint256";
|
|
731
610
|
}, {
|
|
732
611
|
readonly name: "success";
|
|
733
612
|
readonly internalType: "bool";
|
|
@@ -768,12 +647,16 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
768
647
|
readonly type: "function";
|
|
769
648
|
readonly inputs: readonly [{
|
|
770
649
|
readonly name: "cmFilter";
|
|
771
|
-
readonly internalType: "struct
|
|
650
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
772
651
|
readonly type: "tuple";
|
|
773
652
|
readonly components: readonly [{
|
|
774
653
|
readonly name: "configurators";
|
|
775
654
|
readonly internalType: "address[]";
|
|
776
655
|
readonly type: "address[]";
|
|
656
|
+
}, {
|
|
657
|
+
readonly name: "creditManagers";
|
|
658
|
+
readonly internalType: "address[]";
|
|
659
|
+
readonly type: "address[]";
|
|
777
660
|
}, {
|
|
778
661
|
readonly name: "pools";
|
|
779
662
|
readonly internalType: "address[]";
|
|
@@ -797,12 +680,12 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
797
680
|
readonly type: "bool";
|
|
798
681
|
}, {
|
|
799
682
|
readonly name: "minHealthFactor";
|
|
800
|
-
readonly internalType: "
|
|
801
|
-
readonly type: "
|
|
683
|
+
readonly internalType: "uint256";
|
|
684
|
+
readonly type: "uint256";
|
|
802
685
|
}, {
|
|
803
686
|
readonly name: "maxHealthFactor";
|
|
804
|
-
readonly internalType: "
|
|
805
|
-
readonly type: "
|
|
687
|
+
readonly internalType: "uint256";
|
|
688
|
+
readonly type: "uint256";
|
|
806
689
|
}, {
|
|
807
690
|
readonly name: "reverting";
|
|
808
691
|
readonly internalType: "bool";
|
|
@@ -812,10 +695,6 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
812
695
|
readonly name: "offset";
|
|
813
696
|
readonly internalType: "uint256";
|
|
814
697
|
readonly type: "uint256";
|
|
815
|
-
}, {
|
|
816
|
-
readonly name: "limit";
|
|
817
|
-
readonly internalType: "uint256";
|
|
818
|
-
readonly type: "uint256";
|
|
819
698
|
}];
|
|
820
699
|
readonly name: "getCreditAccounts";
|
|
821
700
|
readonly outputs: readonly [{
|
|
@@ -880,8 +759,8 @@ export declare const iCreditAccountCompressorAbi: readonly [{
|
|
|
880
759
|
readonly type: "uint256";
|
|
881
760
|
}, {
|
|
882
761
|
readonly name: "healthFactor";
|
|
883
|
-
readonly internalType: "
|
|
884
|
-
readonly type: "
|
|
762
|
+
readonly internalType: "uint256";
|
|
763
|
+
readonly type: "uint256";
|
|
885
764
|
}, {
|
|
886
765
|
readonly name: "success";
|
|
887
766
|
readonly internalType: "bool";
|
|
@@ -942,14 +821,14 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
942
821
|
}, {
|
|
943
822
|
readonly type: "function";
|
|
944
823
|
readonly inputs: readonly [{
|
|
945
|
-
readonly name: "
|
|
824
|
+
readonly name: "accountFactory";
|
|
946
825
|
readonly internalType: "address";
|
|
947
826
|
readonly type: "address";
|
|
948
827
|
}];
|
|
949
|
-
readonly name: "
|
|
828
|
+
readonly name: "getAccountFactoryState";
|
|
950
829
|
readonly outputs: readonly [{
|
|
951
830
|
readonly name: "";
|
|
952
|
-
readonly internalType: "struct
|
|
831
|
+
readonly internalType: "struct BaseState";
|
|
953
832
|
readonly type: "tuple";
|
|
954
833
|
readonly components: readonly [{
|
|
955
834
|
readonly name: "baseParams";
|
|
@@ -972,46 +851,154 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
972
851
|
readonly internalType: "bytes";
|
|
973
852
|
readonly type: "bytes";
|
|
974
853
|
}];
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly name: "
|
|
1013
|
-
readonly internalType: "
|
|
1014
|
-
readonly type: "
|
|
854
|
+
}];
|
|
855
|
+
}];
|
|
856
|
+
readonly stateMutability: "view";
|
|
857
|
+
}, {
|
|
858
|
+
readonly type: "function";
|
|
859
|
+
readonly inputs: readonly [{
|
|
860
|
+
readonly name: "creditManager";
|
|
861
|
+
readonly internalType: "address";
|
|
862
|
+
readonly type: "address";
|
|
863
|
+
}];
|
|
864
|
+
readonly name: "getAdapters";
|
|
865
|
+
readonly outputs: readonly [{
|
|
866
|
+
readonly name: "";
|
|
867
|
+
readonly internalType: "struct AdapterState[]";
|
|
868
|
+
readonly type: "tuple[]";
|
|
869
|
+
readonly components: readonly [{
|
|
870
|
+
readonly name: "baseParams";
|
|
871
|
+
readonly internalType: "struct BaseParams";
|
|
872
|
+
readonly type: "tuple";
|
|
873
|
+
readonly components: readonly [{
|
|
874
|
+
readonly name: "addr";
|
|
875
|
+
readonly internalType: "address";
|
|
876
|
+
readonly type: "address";
|
|
877
|
+
}, {
|
|
878
|
+
readonly name: "version";
|
|
879
|
+
readonly internalType: "uint256";
|
|
880
|
+
readonly type: "uint256";
|
|
881
|
+
}, {
|
|
882
|
+
readonly name: "contractType";
|
|
883
|
+
readonly internalType: "bytes32";
|
|
884
|
+
readonly type: "bytes32";
|
|
885
|
+
}, {
|
|
886
|
+
readonly name: "serializedParams";
|
|
887
|
+
readonly internalType: "bytes";
|
|
888
|
+
readonly type: "bytes";
|
|
889
|
+
}];
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "targetContract";
|
|
892
|
+
readonly internalType: "address";
|
|
893
|
+
readonly type: "address";
|
|
894
|
+
}];
|
|
895
|
+
}];
|
|
896
|
+
readonly stateMutability: "view";
|
|
897
|
+
}, {
|
|
898
|
+
readonly type: "function";
|
|
899
|
+
readonly inputs: readonly [{
|
|
900
|
+
readonly name: "creditConfigurator";
|
|
901
|
+
readonly internalType: "address";
|
|
902
|
+
readonly type: "address";
|
|
903
|
+
}];
|
|
904
|
+
readonly name: "getCreditConfiguratorState";
|
|
905
|
+
readonly outputs: readonly [{
|
|
906
|
+
readonly name: "";
|
|
907
|
+
readonly internalType: "struct BaseState";
|
|
908
|
+
readonly type: "tuple";
|
|
909
|
+
readonly components: readonly [{
|
|
910
|
+
readonly name: "baseParams";
|
|
911
|
+
readonly internalType: "struct BaseParams";
|
|
912
|
+
readonly type: "tuple";
|
|
913
|
+
readonly components: readonly [{
|
|
914
|
+
readonly name: "addr";
|
|
915
|
+
readonly internalType: "address";
|
|
916
|
+
readonly type: "address";
|
|
917
|
+
}, {
|
|
918
|
+
readonly name: "version";
|
|
919
|
+
readonly internalType: "uint256";
|
|
920
|
+
readonly type: "uint256";
|
|
921
|
+
}, {
|
|
922
|
+
readonly name: "contractType";
|
|
923
|
+
readonly internalType: "bytes32";
|
|
924
|
+
readonly type: "bytes32";
|
|
925
|
+
}, {
|
|
926
|
+
readonly name: "serializedParams";
|
|
927
|
+
readonly internalType: "bytes";
|
|
928
|
+
readonly type: "bytes";
|
|
929
|
+
}];
|
|
930
|
+
}];
|
|
931
|
+
}];
|
|
932
|
+
readonly stateMutability: "view";
|
|
933
|
+
}, {
|
|
934
|
+
readonly type: "function";
|
|
935
|
+
readonly inputs: readonly [{
|
|
936
|
+
readonly name: "creditFacade";
|
|
937
|
+
readonly internalType: "address";
|
|
938
|
+
readonly type: "address";
|
|
939
|
+
}];
|
|
940
|
+
readonly name: "getCreditFacadeState";
|
|
941
|
+
readonly outputs: readonly [{
|
|
942
|
+
readonly name: "";
|
|
943
|
+
readonly internalType: "struct CreditFacadeState";
|
|
944
|
+
readonly type: "tuple";
|
|
945
|
+
readonly components: readonly [{
|
|
946
|
+
readonly name: "baseParams";
|
|
947
|
+
readonly internalType: "struct BaseParams";
|
|
948
|
+
readonly type: "tuple";
|
|
949
|
+
readonly components: readonly [{
|
|
950
|
+
readonly name: "addr";
|
|
951
|
+
readonly internalType: "address";
|
|
952
|
+
readonly type: "address";
|
|
953
|
+
}, {
|
|
954
|
+
readonly name: "version";
|
|
955
|
+
readonly internalType: "uint256";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
}, {
|
|
958
|
+
readonly name: "contractType";
|
|
959
|
+
readonly internalType: "bytes32";
|
|
960
|
+
readonly type: "bytes32";
|
|
961
|
+
}, {
|
|
962
|
+
readonly name: "serializedParams";
|
|
963
|
+
readonly internalType: "bytes";
|
|
964
|
+
readonly type: "bytes";
|
|
965
|
+
}];
|
|
966
|
+
}, {
|
|
967
|
+
readonly name: "degenNFT";
|
|
968
|
+
readonly internalType: "address";
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "botList";
|
|
972
|
+
readonly internalType: "address";
|
|
973
|
+
readonly type: "address";
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "expirable";
|
|
976
|
+
readonly internalType: "bool";
|
|
977
|
+
readonly type: "bool";
|
|
978
|
+
}, {
|
|
979
|
+
readonly name: "expirationDate";
|
|
980
|
+
readonly internalType: "uint40";
|
|
981
|
+
readonly type: "uint40";
|
|
982
|
+
}, {
|
|
983
|
+
readonly name: "maxDebtPerBlockMultiplier";
|
|
984
|
+
readonly internalType: "uint8";
|
|
985
|
+
readonly type: "uint8";
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "minDebt";
|
|
988
|
+
readonly internalType: "uint256";
|
|
989
|
+
readonly type: "uint256";
|
|
990
|
+
}, {
|
|
991
|
+
readonly name: "maxDebt";
|
|
992
|
+
readonly internalType: "uint256";
|
|
993
|
+
readonly type: "uint256";
|
|
994
|
+
}, {
|
|
995
|
+
readonly name: "forbiddenTokensMask";
|
|
996
|
+
readonly internalType: "uint256";
|
|
997
|
+
readonly type: "uint256";
|
|
998
|
+
}, {
|
|
999
|
+
readonly name: "isPaused";
|
|
1000
|
+
readonly internalType: "bool";
|
|
1001
|
+
readonly type: "bool";
|
|
1015
1002
|
}];
|
|
1016
1003
|
}];
|
|
1017
1004
|
readonly stateMutability: "view";
|
|
@@ -1149,10 +1136,6 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
1149
1136
|
readonly internalType: "bytes";
|
|
1150
1137
|
readonly type: "bytes";
|
|
1151
1138
|
}];
|
|
1152
|
-
}, {
|
|
1153
|
-
readonly name: "creditManager";
|
|
1154
|
-
readonly internalType: "address";
|
|
1155
|
-
readonly type: "address";
|
|
1156
1139
|
}, {
|
|
1157
1140
|
readonly name: "degenNFT";
|
|
1158
1141
|
readonly internalType: "address";
|
|
@@ -1182,7 +1165,7 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
1182
1165
|
readonly internalType: "uint256";
|
|
1183
1166
|
readonly type: "uint256";
|
|
1184
1167
|
}, {
|
|
1185
|
-
readonly name: "
|
|
1168
|
+
readonly name: "forbiddenTokensMask";
|
|
1186
1169
|
readonly internalType: "uint256";
|
|
1187
1170
|
readonly type: "uint256";
|
|
1188
1171
|
}, {
|
|
@@ -1303,6 +1286,32 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
1303
1286
|
readonly type: "bytes";
|
|
1304
1287
|
}];
|
|
1305
1288
|
}];
|
|
1289
|
+
}, {
|
|
1290
|
+
readonly name: "accountFactory";
|
|
1291
|
+
readonly internalType: "struct BaseState";
|
|
1292
|
+
readonly type: "tuple";
|
|
1293
|
+
readonly components: readonly [{
|
|
1294
|
+
readonly name: "baseParams";
|
|
1295
|
+
readonly internalType: "struct BaseParams";
|
|
1296
|
+
readonly type: "tuple";
|
|
1297
|
+
readonly components: readonly [{
|
|
1298
|
+
readonly name: "addr";
|
|
1299
|
+
readonly internalType: "address";
|
|
1300
|
+
readonly type: "address";
|
|
1301
|
+
}, {
|
|
1302
|
+
readonly name: "version";
|
|
1303
|
+
readonly internalType: "uint256";
|
|
1304
|
+
readonly type: "uint256";
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly name: "contractType";
|
|
1307
|
+
readonly internalType: "bytes32";
|
|
1308
|
+
readonly type: "bytes32";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly name: "serializedParams";
|
|
1311
|
+
readonly internalType: "bytes";
|
|
1312
|
+
readonly type: "bytes";
|
|
1313
|
+
}];
|
|
1314
|
+
}];
|
|
1306
1315
|
}, {
|
|
1307
1316
|
readonly name: "adapters";
|
|
1308
1317
|
readonly internalType: "struct AdapterState[]";
|
|
@@ -1336,90 +1345,353 @@ export declare const iCreditSuiteCompressorAbi: readonly [{
|
|
|
1336
1345
|
}];
|
|
1337
1346
|
}];
|
|
1338
1347
|
readonly stateMutability: "view";
|
|
1339
|
-
}, {
|
|
1340
|
-
readonly type: "function";
|
|
1341
|
-
readonly inputs: readonly [];
|
|
1342
|
-
readonly name: "version";
|
|
1343
|
-
readonly outputs: readonly [{
|
|
1344
|
-
readonly name: "";
|
|
1345
|
-
readonly internalType: "uint256";
|
|
1346
|
-
readonly type: "uint256";
|
|
1347
|
-
}];
|
|
1348
|
-
readonly stateMutability: "view";
|
|
1349
|
-
}];
|
|
1350
|
-
export declare const iGaugeCompressorAbi: readonly [{
|
|
1351
|
-
readonly type: "function";
|
|
1352
|
-
readonly inputs: readonly [];
|
|
1353
|
-
readonly name: "contractType";
|
|
1354
|
-
readonly outputs: readonly [{
|
|
1355
|
-
readonly name: "";
|
|
1356
|
-
readonly internalType: "bytes32";
|
|
1357
|
-
readonly type: "bytes32";
|
|
1358
|
-
}];
|
|
1359
|
-
readonly stateMutability: "view";
|
|
1360
1348
|
}, {
|
|
1361
1349
|
readonly type: "function";
|
|
1362
1350
|
readonly inputs: readonly [{
|
|
1363
|
-
readonly name: "
|
|
1364
|
-
readonly internalType: "
|
|
1365
|
-
readonly type: "address";
|
|
1366
|
-
}, {
|
|
1367
|
-
readonly name: "staker";
|
|
1368
|
-
readonly internalType: "address";
|
|
1369
|
-
readonly type: "address";
|
|
1370
|
-
}];
|
|
1371
|
-
readonly name: "getGauge";
|
|
1372
|
-
readonly outputs: readonly [{
|
|
1373
|
-
readonly name: "result";
|
|
1374
|
-
readonly internalType: "struct GaugeInfo";
|
|
1351
|
+
readonly name: "filter";
|
|
1352
|
+
readonly internalType: "struct CreditManagerFilter";
|
|
1375
1353
|
readonly type: "tuple";
|
|
1376
1354
|
readonly components: readonly [{
|
|
1377
|
-
readonly name: "
|
|
1378
|
-
readonly internalType: "address";
|
|
1379
|
-
readonly type: "address";
|
|
1380
|
-
}, {
|
|
1381
|
-
readonly name: "pool";
|
|
1382
|
-
readonly internalType: "address";
|
|
1383
|
-
readonly type: "address";
|
|
1384
|
-
}, {
|
|
1385
|
-
readonly name: "symbol";
|
|
1386
|
-
readonly internalType: "string";
|
|
1387
|
-
readonly type: "string";
|
|
1355
|
+
readonly name: "configurators";
|
|
1356
|
+
readonly internalType: "address[]";
|
|
1357
|
+
readonly type: "address[]";
|
|
1388
1358
|
}, {
|
|
1389
|
-
readonly name: "
|
|
1390
|
-
readonly internalType: "
|
|
1391
|
-
readonly type: "
|
|
1359
|
+
readonly name: "creditManagers";
|
|
1360
|
+
readonly internalType: "address[]";
|
|
1361
|
+
readonly type: "address[]";
|
|
1392
1362
|
}, {
|
|
1393
|
-
readonly name: "
|
|
1394
|
-
readonly internalType: "address";
|
|
1395
|
-
readonly type: "address";
|
|
1363
|
+
readonly name: "pools";
|
|
1364
|
+
readonly internalType: "address[]";
|
|
1365
|
+
readonly type: "address[]";
|
|
1396
1366
|
}, {
|
|
1397
1367
|
readonly name: "underlying";
|
|
1398
1368
|
readonly internalType: "address";
|
|
1399
1369
|
readonly type: "address";
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
readonly
|
|
1410
|
-
readonly
|
|
1411
|
-
readonly
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1370
|
+
}];
|
|
1371
|
+
}];
|
|
1372
|
+
readonly name: "getCreditSuites";
|
|
1373
|
+
readonly outputs: readonly [{
|
|
1374
|
+
readonly name: "";
|
|
1375
|
+
readonly internalType: "struct CreditSuiteData[]";
|
|
1376
|
+
readonly type: "tuple[]";
|
|
1377
|
+
readonly components: readonly [{
|
|
1378
|
+
readonly name: "creditFacade";
|
|
1379
|
+
readonly internalType: "struct CreditFacadeState";
|
|
1380
|
+
readonly type: "tuple";
|
|
1381
|
+
readonly components: readonly [{
|
|
1382
|
+
readonly name: "baseParams";
|
|
1383
|
+
readonly internalType: "struct BaseParams";
|
|
1384
|
+
readonly type: "tuple";
|
|
1385
|
+
readonly components: readonly [{
|
|
1386
|
+
readonly name: "addr";
|
|
1387
|
+
readonly internalType: "address";
|
|
1388
|
+
readonly type: "address";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly name: "version";
|
|
1391
|
+
readonly internalType: "uint256";
|
|
1392
|
+
readonly type: "uint256";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly name: "contractType";
|
|
1395
|
+
readonly internalType: "bytes32";
|
|
1396
|
+
readonly type: "bytes32";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly name: "serializedParams";
|
|
1399
|
+
readonly internalType: "bytes";
|
|
1400
|
+
readonly type: "bytes";
|
|
1401
|
+
}];
|
|
1402
|
+
}, {
|
|
1403
|
+
readonly name: "degenNFT";
|
|
1404
|
+
readonly internalType: "address";
|
|
1405
|
+
readonly type: "address";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly name: "botList";
|
|
1408
|
+
readonly internalType: "address";
|
|
1409
|
+
readonly type: "address";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly name: "expirable";
|
|
1412
|
+
readonly internalType: "bool";
|
|
1413
|
+
readonly type: "bool";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "expirationDate";
|
|
1416
|
+
readonly internalType: "uint40";
|
|
1417
|
+
readonly type: "uint40";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly name: "maxDebtPerBlockMultiplier";
|
|
1420
|
+
readonly internalType: "uint8";
|
|
1421
|
+
readonly type: "uint8";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly name: "minDebt";
|
|
1424
|
+
readonly internalType: "uint256";
|
|
1425
|
+
readonly type: "uint256";
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly name: "maxDebt";
|
|
1428
|
+
readonly internalType: "uint256";
|
|
1429
|
+
readonly type: "uint256";
|
|
1430
|
+
}, {
|
|
1431
|
+
readonly name: "forbiddenTokensMask";
|
|
1432
|
+
readonly internalType: "uint256";
|
|
1433
|
+
readonly type: "uint256";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly name: "isPaused";
|
|
1436
|
+
readonly internalType: "bool";
|
|
1437
|
+
readonly type: "bool";
|
|
1438
|
+
}];
|
|
1439
|
+
}, {
|
|
1440
|
+
readonly name: "creditManager";
|
|
1441
|
+
readonly internalType: "struct CreditManagerState";
|
|
1442
|
+
readonly type: "tuple";
|
|
1443
|
+
readonly components: readonly [{
|
|
1444
|
+
readonly name: "baseParams";
|
|
1445
|
+
readonly internalType: "struct BaseParams";
|
|
1446
|
+
readonly type: "tuple";
|
|
1447
|
+
readonly components: readonly [{
|
|
1448
|
+
readonly name: "addr";
|
|
1449
|
+
readonly internalType: "address";
|
|
1450
|
+
readonly type: "address";
|
|
1451
|
+
}, {
|
|
1452
|
+
readonly name: "version";
|
|
1453
|
+
readonly internalType: "uint256";
|
|
1454
|
+
readonly type: "uint256";
|
|
1455
|
+
}, {
|
|
1456
|
+
readonly name: "contractType";
|
|
1457
|
+
readonly internalType: "bytes32";
|
|
1458
|
+
readonly type: "bytes32";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly name: "serializedParams";
|
|
1461
|
+
readonly internalType: "bytes";
|
|
1462
|
+
readonly type: "bytes";
|
|
1463
|
+
}];
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly name: "name";
|
|
1466
|
+
readonly internalType: "string";
|
|
1467
|
+
readonly type: "string";
|
|
1468
|
+
}, {
|
|
1469
|
+
readonly name: "accountFactory";
|
|
1470
|
+
readonly internalType: "address";
|
|
1471
|
+
readonly type: "address";
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly name: "underlying";
|
|
1474
|
+
readonly internalType: "address";
|
|
1475
|
+
readonly type: "address";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly name: "pool";
|
|
1478
|
+
readonly internalType: "address";
|
|
1479
|
+
readonly type: "address";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly name: "creditFacade";
|
|
1482
|
+
readonly internalType: "address";
|
|
1483
|
+
readonly type: "address";
|
|
1484
|
+
}, {
|
|
1485
|
+
readonly name: "creditConfigurator";
|
|
1486
|
+
readonly internalType: "address";
|
|
1487
|
+
readonly type: "address";
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly name: "maxEnabledTokens";
|
|
1490
|
+
readonly internalType: "uint8";
|
|
1491
|
+
readonly type: "uint8";
|
|
1492
|
+
}, {
|
|
1493
|
+
readonly name: "collateralTokens";
|
|
1494
|
+
readonly internalType: "struct CollateralToken[]";
|
|
1495
|
+
readonly type: "tuple[]";
|
|
1496
|
+
readonly components: readonly [{
|
|
1497
|
+
readonly name: "token";
|
|
1498
|
+
readonly internalType: "address";
|
|
1499
|
+
readonly type: "address";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly name: "liquidationThreshold";
|
|
1502
|
+
readonly internalType: "uint16";
|
|
1503
|
+
readonly type: "uint16";
|
|
1504
|
+
}];
|
|
1505
|
+
}, {
|
|
1506
|
+
readonly name: "feeInterest";
|
|
1507
|
+
readonly internalType: "uint16";
|
|
1508
|
+
readonly type: "uint16";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly name: "feeLiquidation";
|
|
1511
|
+
readonly internalType: "uint16";
|
|
1512
|
+
readonly type: "uint16";
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly name: "liquidationDiscount";
|
|
1515
|
+
readonly internalType: "uint16";
|
|
1516
|
+
readonly type: "uint16";
|
|
1517
|
+
}, {
|
|
1518
|
+
readonly name: "feeLiquidationExpired";
|
|
1519
|
+
readonly internalType: "uint16";
|
|
1520
|
+
readonly type: "uint16";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly name: "liquidationDiscountExpired";
|
|
1523
|
+
readonly internalType: "uint16";
|
|
1524
|
+
readonly type: "uint16";
|
|
1525
|
+
}];
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly name: "creditConfigurator";
|
|
1528
|
+
readonly internalType: "struct BaseState";
|
|
1529
|
+
readonly type: "tuple";
|
|
1530
|
+
readonly components: readonly [{
|
|
1531
|
+
readonly name: "baseParams";
|
|
1532
|
+
readonly internalType: "struct BaseParams";
|
|
1533
|
+
readonly type: "tuple";
|
|
1534
|
+
readonly components: readonly [{
|
|
1535
|
+
readonly name: "addr";
|
|
1536
|
+
readonly internalType: "address";
|
|
1537
|
+
readonly type: "address";
|
|
1538
|
+
}, {
|
|
1539
|
+
readonly name: "version";
|
|
1540
|
+
readonly internalType: "uint256";
|
|
1541
|
+
readonly type: "uint256";
|
|
1542
|
+
}, {
|
|
1543
|
+
readonly name: "contractType";
|
|
1544
|
+
readonly internalType: "bytes32";
|
|
1545
|
+
readonly type: "bytes32";
|
|
1546
|
+
}, {
|
|
1547
|
+
readonly name: "serializedParams";
|
|
1548
|
+
readonly internalType: "bytes";
|
|
1549
|
+
readonly type: "bytes";
|
|
1550
|
+
}];
|
|
1551
|
+
}];
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly name: "accountFactory";
|
|
1554
|
+
readonly internalType: "struct BaseState";
|
|
1555
|
+
readonly type: "tuple";
|
|
1556
|
+
readonly components: readonly [{
|
|
1557
|
+
readonly name: "baseParams";
|
|
1558
|
+
readonly internalType: "struct BaseParams";
|
|
1559
|
+
readonly type: "tuple";
|
|
1560
|
+
readonly components: readonly [{
|
|
1561
|
+
readonly name: "addr";
|
|
1562
|
+
readonly internalType: "address";
|
|
1563
|
+
readonly type: "address";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly name: "version";
|
|
1566
|
+
readonly internalType: "uint256";
|
|
1567
|
+
readonly type: "uint256";
|
|
1568
|
+
}, {
|
|
1569
|
+
readonly name: "contractType";
|
|
1570
|
+
readonly internalType: "bytes32";
|
|
1571
|
+
readonly type: "bytes32";
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly name: "serializedParams";
|
|
1574
|
+
readonly internalType: "bytes";
|
|
1575
|
+
readonly type: "bytes";
|
|
1576
|
+
}];
|
|
1577
|
+
}];
|
|
1578
|
+
}, {
|
|
1579
|
+
readonly name: "adapters";
|
|
1580
|
+
readonly internalType: "struct AdapterState[]";
|
|
1581
|
+
readonly type: "tuple[]";
|
|
1582
|
+
readonly components: readonly [{
|
|
1583
|
+
readonly name: "baseParams";
|
|
1584
|
+
readonly internalType: "struct BaseParams";
|
|
1585
|
+
readonly type: "tuple";
|
|
1586
|
+
readonly components: readonly [{
|
|
1587
|
+
readonly name: "addr";
|
|
1588
|
+
readonly internalType: "address";
|
|
1589
|
+
readonly type: "address";
|
|
1590
|
+
}, {
|
|
1591
|
+
readonly name: "version";
|
|
1592
|
+
readonly internalType: "uint256";
|
|
1593
|
+
readonly type: "uint256";
|
|
1594
|
+
}, {
|
|
1595
|
+
readonly name: "contractType";
|
|
1596
|
+
readonly internalType: "bytes32";
|
|
1597
|
+
readonly type: "bytes32";
|
|
1598
|
+
}, {
|
|
1599
|
+
readonly name: "serializedParams";
|
|
1600
|
+
readonly internalType: "bytes";
|
|
1601
|
+
readonly type: "bytes";
|
|
1602
|
+
}];
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly name: "targetContract";
|
|
1605
|
+
readonly internalType: "address";
|
|
1606
|
+
readonly type: "address";
|
|
1607
|
+
}];
|
|
1608
|
+
}];
|
|
1609
|
+
}];
|
|
1610
|
+
readonly stateMutability: "view";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly type: "function";
|
|
1613
|
+
readonly inputs: readonly [];
|
|
1614
|
+
readonly name: "version";
|
|
1615
|
+
readonly outputs: readonly [{
|
|
1616
|
+
readonly name: "";
|
|
1617
|
+
readonly internalType: "uint256";
|
|
1618
|
+
readonly type: "uint256";
|
|
1619
|
+
}];
|
|
1620
|
+
readonly stateMutability: "view";
|
|
1621
|
+
}];
|
|
1622
|
+
export declare const iGaugeCompressorAbi: readonly [{
|
|
1623
|
+
readonly type: "function";
|
|
1624
|
+
readonly inputs: readonly [];
|
|
1625
|
+
readonly name: "contractType";
|
|
1626
|
+
readonly outputs: readonly [{
|
|
1627
|
+
readonly name: "";
|
|
1628
|
+
readonly internalType: "bytes32";
|
|
1629
|
+
readonly type: "bytes32";
|
|
1630
|
+
}];
|
|
1631
|
+
readonly stateMutability: "view";
|
|
1632
|
+
}, {
|
|
1633
|
+
readonly type: "function";
|
|
1634
|
+
readonly inputs: readonly [{
|
|
1635
|
+
readonly name: "gauge";
|
|
1636
|
+
readonly internalType: "address";
|
|
1637
|
+
readonly type: "address";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly name: "staker";
|
|
1640
|
+
readonly internalType: "address";
|
|
1641
|
+
readonly type: "address";
|
|
1642
|
+
}];
|
|
1643
|
+
readonly name: "getGaugeInfo";
|
|
1644
|
+
readonly outputs: readonly [{
|
|
1645
|
+
readonly name: "";
|
|
1646
|
+
readonly internalType: "struct GaugeInfo";
|
|
1647
|
+
readonly type: "tuple";
|
|
1648
|
+
readonly components: readonly [{
|
|
1649
|
+
readonly name: "addr";
|
|
1650
|
+
readonly internalType: "address";
|
|
1651
|
+
readonly type: "address";
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly name: "pool";
|
|
1654
|
+
readonly internalType: "address";
|
|
1655
|
+
readonly type: "address";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly name: "symbol";
|
|
1658
|
+
readonly internalType: "string";
|
|
1659
|
+
readonly type: "string";
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly name: "name";
|
|
1662
|
+
readonly internalType: "string";
|
|
1663
|
+
readonly type: "string";
|
|
1664
|
+
}, {
|
|
1665
|
+
readonly name: "voter";
|
|
1666
|
+
readonly internalType: "address";
|
|
1667
|
+
readonly type: "address";
|
|
1668
|
+
}, {
|
|
1669
|
+
readonly name: "underlying";
|
|
1670
|
+
readonly internalType: "address";
|
|
1671
|
+
readonly type: "address";
|
|
1672
|
+
}, {
|
|
1673
|
+
readonly name: "currentEpoch";
|
|
1674
|
+
readonly internalType: "uint16";
|
|
1675
|
+
readonly type: "uint16";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly name: "epochLastUpdate";
|
|
1678
|
+
readonly internalType: "uint16";
|
|
1679
|
+
readonly type: "uint16";
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly name: "epochFrozen";
|
|
1682
|
+
readonly internalType: "bool";
|
|
1683
|
+
readonly type: "bool";
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly name: "quotaParams";
|
|
1686
|
+
readonly internalType: "struct GaugeQuotaParams[]";
|
|
1687
|
+
readonly type: "tuple[]";
|
|
1688
|
+
readonly components: readonly [{
|
|
1689
|
+
readonly name: "token";
|
|
1690
|
+
readonly internalType: "address";
|
|
1691
|
+
readonly type: "address";
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly name: "minRate";
|
|
1694
|
+
readonly internalType: "uint16";
|
|
1423
1695
|
readonly type: "uint16";
|
|
1424
1696
|
}, {
|
|
1425
1697
|
readonly name: "maxRate";
|
|
@@ -1471,7 +1743,7 @@ export declare const iGaugeCompressorAbi: readonly [{
|
|
|
1471
1743
|
}];
|
|
1472
1744
|
readonly name: "getGauges";
|
|
1473
1745
|
readonly outputs: readonly [{
|
|
1474
|
-
readonly name: "
|
|
1746
|
+
readonly name: "";
|
|
1475
1747
|
readonly internalType: "struct GaugeInfo[]";
|
|
1476
1748
|
readonly type: "tuple[]";
|
|
1477
1749
|
readonly components: readonly [{
|
|
@@ -1567,6 +1839,78 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1567
1839
|
readonly type: "bytes32";
|
|
1568
1840
|
}];
|
|
1569
1841
|
readonly stateMutability: "view";
|
|
1842
|
+
}, {
|
|
1843
|
+
readonly type: "function";
|
|
1844
|
+
readonly inputs: readonly [{
|
|
1845
|
+
readonly name: "interestRateModel";
|
|
1846
|
+
readonly internalType: "address";
|
|
1847
|
+
readonly type: "address";
|
|
1848
|
+
}];
|
|
1849
|
+
readonly name: "getInterestRateModelState";
|
|
1850
|
+
readonly outputs: readonly [{
|
|
1851
|
+
readonly name: "";
|
|
1852
|
+
readonly internalType: "struct BaseState";
|
|
1853
|
+
readonly type: "tuple";
|
|
1854
|
+
readonly components: readonly [{
|
|
1855
|
+
readonly name: "baseParams";
|
|
1856
|
+
readonly internalType: "struct BaseParams";
|
|
1857
|
+
readonly type: "tuple";
|
|
1858
|
+
readonly components: readonly [{
|
|
1859
|
+
readonly name: "addr";
|
|
1860
|
+
readonly internalType: "address";
|
|
1861
|
+
readonly type: "address";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly name: "version";
|
|
1864
|
+
readonly internalType: "uint256";
|
|
1865
|
+
readonly type: "uint256";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly name: "contractType";
|
|
1868
|
+
readonly internalType: "bytes32";
|
|
1869
|
+
readonly type: "bytes32";
|
|
1870
|
+
}, {
|
|
1871
|
+
readonly name: "serializedParams";
|
|
1872
|
+
readonly internalType: "bytes";
|
|
1873
|
+
readonly type: "bytes";
|
|
1874
|
+
}];
|
|
1875
|
+
}];
|
|
1876
|
+
}];
|
|
1877
|
+
readonly stateMutability: "view";
|
|
1878
|
+
}, {
|
|
1879
|
+
readonly type: "function";
|
|
1880
|
+
readonly inputs: readonly [{
|
|
1881
|
+
readonly name: "lossPolicy";
|
|
1882
|
+
readonly internalType: "address";
|
|
1883
|
+
readonly type: "address";
|
|
1884
|
+
}];
|
|
1885
|
+
readonly name: "getLossPolicyState";
|
|
1886
|
+
readonly outputs: readonly [{
|
|
1887
|
+
readonly name: "";
|
|
1888
|
+
readonly internalType: "struct BaseState";
|
|
1889
|
+
readonly type: "tuple";
|
|
1890
|
+
readonly components: readonly [{
|
|
1891
|
+
readonly name: "baseParams";
|
|
1892
|
+
readonly internalType: "struct BaseParams";
|
|
1893
|
+
readonly type: "tuple";
|
|
1894
|
+
readonly components: readonly [{
|
|
1895
|
+
readonly name: "addr";
|
|
1896
|
+
readonly internalType: "address";
|
|
1897
|
+
readonly type: "address";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly name: "version";
|
|
1900
|
+
readonly internalType: "uint256";
|
|
1901
|
+
readonly type: "uint256";
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly name: "contractType";
|
|
1904
|
+
readonly internalType: "bytes32";
|
|
1905
|
+
readonly type: "bytes32";
|
|
1906
|
+
}, {
|
|
1907
|
+
readonly name: "serializedParams";
|
|
1908
|
+
readonly internalType: "bytes";
|
|
1909
|
+
readonly type: "bytes";
|
|
1910
|
+
}];
|
|
1911
|
+
}];
|
|
1912
|
+
}];
|
|
1913
|
+
readonly stateMutability: "view";
|
|
1570
1914
|
}, {
|
|
1571
1915
|
readonly type: "function";
|
|
1572
1916
|
readonly inputs: readonly [{
|
|
@@ -1580,7 +1924,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1580
1924
|
}];
|
|
1581
1925
|
readonly name: "getMarketData";
|
|
1582
1926
|
readonly outputs: readonly [{
|
|
1583
|
-
readonly name: "
|
|
1927
|
+
readonly name: "";
|
|
1584
1928
|
readonly internalType: "struct MarketData";
|
|
1585
1929
|
readonly type: "tuple";
|
|
1586
1930
|
readonly components: readonly [{
|
|
@@ -1637,7 +1981,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1637
1981
|
readonly internalType: "uint256";
|
|
1638
1982
|
readonly type: "uint256";
|
|
1639
1983
|
}, {
|
|
1640
|
-
readonly name: "
|
|
1984
|
+
readonly name: "quotaKeeper";
|
|
1641
1985
|
readonly internalType: "address";
|
|
1642
1986
|
readonly type: "address";
|
|
1643
1987
|
}, {
|
|
@@ -1731,8 +2075,8 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1731
2075
|
readonly type: "bool";
|
|
1732
2076
|
}];
|
|
1733
2077
|
}, {
|
|
1734
|
-
readonly name: "
|
|
1735
|
-
readonly internalType: "struct
|
|
2078
|
+
readonly name: "quotaKeeper";
|
|
2079
|
+
readonly internalType: "struct QuotaKeeperState";
|
|
1736
2080
|
readonly type: "tuple";
|
|
1737
2081
|
readonly components: readonly [{
|
|
1738
2082
|
readonly name: "baseParams";
|
|
@@ -1867,7 +2211,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1867
2211
|
}];
|
|
1868
2212
|
}];
|
|
1869
2213
|
}, {
|
|
1870
|
-
readonly name: "
|
|
2214
|
+
readonly name: "priceOracle";
|
|
1871
2215
|
readonly internalType: "struct PriceOracleState";
|
|
1872
2216
|
readonly type: "tuple";
|
|
1873
2217
|
readonly components: readonly [{
|
|
@@ -1892,7 +2236,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1892
2236
|
readonly type: "bytes";
|
|
1893
2237
|
}];
|
|
1894
2238
|
}, {
|
|
1895
|
-
readonly name: "
|
|
2239
|
+
readonly name: "priceFeedMap";
|
|
1896
2240
|
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
1897
2241
|
readonly type: "tuple[]";
|
|
1898
2242
|
readonly components: readonly [{
|
|
@@ -1913,7 +2257,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
1913
2257
|
readonly type: "uint32";
|
|
1914
2258
|
}];
|
|
1915
2259
|
}, {
|
|
1916
|
-
readonly name: "
|
|
2260
|
+
readonly name: "priceFeedTree";
|
|
1917
2261
|
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
1918
2262
|
readonly type: "tuple[]";
|
|
1919
2263
|
readonly components: readonly [{
|
|
@@ -2056,10 +2400,6 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2056
2400
|
readonly internalType: "bytes";
|
|
2057
2401
|
readonly type: "bytes";
|
|
2058
2402
|
}];
|
|
2059
|
-
}, {
|
|
2060
|
-
readonly name: "creditManager";
|
|
2061
|
-
readonly internalType: "address";
|
|
2062
|
-
readonly type: "address";
|
|
2063
2403
|
}, {
|
|
2064
2404
|
readonly name: "degenNFT";
|
|
2065
2405
|
readonly internalType: "address";
|
|
@@ -2089,7 +2429,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2089
2429
|
readonly internalType: "uint256";
|
|
2090
2430
|
readonly type: "uint256";
|
|
2091
2431
|
}, {
|
|
2092
|
-
readonly name: "
|
|
2432
|
+
readonly name: "forbiddenTokensMask";
|
|
2093
2433
|
readonly internalType: "uint256";
|
|
2094
2434
|
readonly type: "uint256";
|
|
2095
2435
|
}, {
|
|
@@ -2210,6 +2550,32 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2210
2550
|
readonly type: "bytes";
|
|
2211
2551
|
}];
|
|
2212
2552
|
}];
|
|
2553
|
+
}, {
|
|
2554
|
+
readonly name: "accountFactory";
|
|
2555
|
+
readonly internalType: "struct BaseState";
|
|
2556
|
+
readonly type: "tuple";
|
|
2557
|
+
readonly components: readonly [{
|
|
2558
|
+
readonly name: "baseParams";
|
|
2559
|
+
readonly internalType: "struct BaseParams";
|
|
2560
|
+
readonly type: "tuple";
|
|
2561
|
+
readonly components: readonly [{
|
|
2562
|
+
readonly name: "addr";
|
|
2563
|
+
readonly internalType: "address";
|
|
2564
|
+
readonly type: "address";
|
|
2565
|
+
}, {
|
|
2566
|
+
readonly name: "version";
|
|
2567
|
+
readonly internalType: "uint256";
|
|
2568
|
+
readonly type: "uint256";
|
|
2569
|
+
}, {
|
|
2570
|
+
readonly name: "contractType";
|
|
2571
|
+
readonly internalType: "bytes32";
|
|
2572
|
+
readonly type: "bytes32";
|
|
2573
|
+
}, {
|
|
2574
|
+
readonly name: "serializedParams";
|
|
2575
|
+
readonly internalType: "bytes";
|
|
2576
|
+
readonly type: "bytes";
|
|
2577
|
+
}];
|
|
2578
|
+
}];
|
|
2213
2579
|
}, {
|
|
2214
2580
|
readonly name: "adapters";
|
|
2215
2581
|
readonly internalType: "struct AdapterState[]";
|
|
@@ -2269,7 +2635,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2269
2635
|
}];
|
|
2270
2636
|
readonly name: "getMarketData";
|
|
2271
2637
|
readonly outputs: readonly [{
|
|
2272
|
-
readonly name: "
|
|
2638
|
+
readonly name: "";
|
|
2273
2639
|
readonly internalType: "struct MarketData";
|
|
2274
2640
|
readonly type: "tuple";
|
|
2275
2641
|
readonly components: readonly [{
|
|
@@ -2326,7 +2692,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2326
2692
|
readonly internalType: "uint256";
|
|
2327
2693
|
readonly type: "uint256";
|
|
2328
2694
|
}, {
|
|
2329
|
-
readonly name: "
|
|
2695
|
+
readonly name: "quotaKeeper";
|
|
2330
2696
|
readonly internalType: "address";
|
|
2331
2697
|
readonly type: "address";
|
|
2332
2698
|
}, {
|
|
@@ -2420,8 +2786,8 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2420
2786
|
readonly type: "bool";
|
|
2421
2787
|
}];
|
|
2422
2788
|
}, {
|
|
2423
|
-
readonly name: "
|
|
2424
|
-
readonly internalType: "struct
|
|
2789
|
+
readonly name: "quotaKeeper";
|
|
2790
|
+
readonly internalType: "struct QuotaKeeperState";
|
|
2425
2791
|
readonly type: "tuple";
|
|
2426
2792
|
readonly components: readonly [{
|
|
2427
2793
|
readonly name: "baseParams";
|
|
@@ -2556,7 +2922,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2556
2922
|
}];
|
|
2557
2923
|
}];
|
|
2558
2924
|
}, {
|
|
2559
|
-
readonly name: "
|
|
2925
|
+
readonly name: "priceOracle";
|
|
2560
2926
|
readonly internalType: "struct PriceOracleState";
|
|
2561
2927
|
readonly type: "tuple";
|
|
2562
2928
|
readonly components: readonly [{
|
|
@@ -2581,7 +2947,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2581
2947
|
readonly type: "bytes";
|
|
2582
2948
|
}];
|
|
2583
2949
|
}, {
|
|
2584
|
-
readonly name: "
|
|
2950
|
+
readonly name: "priceFeedMap";
|
|
2585
2951
|
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
2586
2952
|
readonly type: "tuple[]";
|
|
2587
2953
|
readonly components: readonly [{
|
|
@@ -2602,7 +2968,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2602
2968
|
readonly type: "uint32";
|
|
2603
2969
|
}];
|
|
2604
2970
|
}, {
|
|
2605
|
-
readonly name: "
|
|
2971
|
+
readonly name: "priceFeedTree";
|
|
2606
2972
|
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
2607
2973
|
readonly type: "tuple[]";
|
|
2608
2974
|
readonly components: readonly [{
|
|
@@ -2745,10 +3111,6 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2745
3111
|
readonly internalType: "bytes";
|
|
2746
3112
|
readonly type: "bytes";
|
|
2747
3113
|
}];
|
|
2748
|
-
}, {
|
|
2749
|
-
readonly name: "creditManager";
|
|
2750
|
-
readonly internalType: "address";
|
|
2751
|
-
readonly type: "address";
|
|
2752
3114
|
}, {
|
|
2753
3115
|
readonly name: "degenNFT";
|
|
2754
3116
|
readonly internalType: "address";
|
|
@@ -2778,7 +3140,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2778
3140
|
readonly internalType: "uint256";
|
|
2779
3141
|
readonly type: "uint256";
|
|
2780
3142
|
}, {
|
|
2781
|
-
readonly name: "
|
|
3143
|
+
readonly name: "forbiddenTokensMask";
|
|
2782
3144
|
readonly internalType: "uint256";
|
|
2783
3145
|
readonly type: "uint256";
|
|
2784
3146
|
}, {
|
|
@@ -2874,7 +3236,33 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2874
3236
|
readonly type: "uint16";
|
|
2875
3237
|
}];
|
|
2876
3238
|
}, {
|
|
2877
|
-
readonly name: "creditConfigurator";
|
|
3239
|
+
readonly name: "creditConfigurator";
|
|
3240
|
+
readonly internalType: "struct BaseState";
|
|
3241
|
+
readonly type: "tuple";
|
|
3242
|
+
readonly components: readonly [{
|
|
3243
|
+
readonly name: "baseParams";
|
|
3244
|
+
readonly internalType: "struct BaseParams";
|
|
3245
|
+
readonly type: "tuple";
|
|
3246
|
+
readonly components: readonly [{
|
|
3247
|
+
readonly name: "addr";
|
|
3248
|
+
readonly internalType: "address";
|
|
3249
|
+
readonly type: "address";
|
|
3250
|
+
}, {
|
|
3251
|
+
readonly name: "version";
|
|
3252
|
+
readonly internalType: "uint256";
|
|
3253
|
+
readonly type: "uint256";
|
|
3254
|
+
}, {
|
|
3255
|
+
readonly name: "contractType";
|
|
3256
|
+
readonly internalType: "bytes32";
|
|
3257
|
+
readonly type: "bytes32";
|
|
3258
|
+
}, {
|
|
3259
|
+
readonly name: "serializedParams";
|
|
3260
|
+
readonly internalType: "bytes";
|
|
3261
|
+
readonly type: "bytes";
|
|
3262
|
+
}];
|
|
3263
|
+
}];
|
|
3264
|
+
}, {
|
|
3265
|
+
readonly name: "accountFactory";
|
|
2878
3266
|
readonly internalType: "struct BaseState";
|
|
2879
3267
|
readonly type: "tuple";
|
|
2880
3268
|
readonly components: readonly [{
|
|
@@ -2971,7 +3359,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
2971
3359
|
}];
|
|
2972
3360
|
readonly name: "getMarkets";
|
|
2973
3361
|
readonly outputs: readonly [{
|
|
2974
|
-
readonly name: "
|
|
3362
|
+
readonly name: "";
|
|
2975
3363
|
readonly internalType: "struct MarketData[]";
|
|
2976
3364
|
readonly type: "tuple[]";
|
|
2977
3365
|
readonly components: readonly [{
|
|
@@ -3028,7 +3416,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3028
3416
|
readonly internalType: "uint256";
|
|
3029
3417
|
readonly type: "uint256";
|
|
3030
3418
|
}, {
|
|
3031
|
-
readonly name: "
|
|
3419
|
+
readonly name: "quotaKeeper";
|
|
3032
3420
|
readonly internalType: "address";
|
|
3033
3421
|
readonly type: "address";
|
|
3034
3422
|
}, {
|
|
@@ -3122,8 +3510,8 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3122
3510
|
readonly type: "bool";
|
|
3123
3511
|
}];
|
|
3124
3512
|
}, {
|
|
3125
|
-
readonly name: "
|
|
3126
|
-
readonly internalType: "struct
|
|
3513
|
+
readonly name: "quotaKeeper";
|
|
3514
|
+
readonly internalType: "struct QuotaKeeperState";
|
|
3127
3515
|
readonly type: "tuple";
|
|
3128
3516
|
readonly components: readonly [{
|
|
3129
3517
|
readonly name: "baseParams";
|
|
@@ -3258,7 +3646,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3258
3646
|
}];
|
|
3259
3647
|
}];
|
|
3260
3648
|
}, {
|
|
3261
|
-
readonly name: "
|
|
3649
|
+
readonly name: "priceOracle";
|
|
3262
3650
|
readonly internalType: "struct PriceOracleState";
|
|
3263
3651
|
readonly type: "tuple";
|
|
3264
3652
|
readonly components: readonly [{
|
|
@@ -3283,7 +3671,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3283
3671
|
readonly type: "bytes";
|
|
3284
3672
|
}];
|
|
3285
3673
|
}, {
|
|
3286
|
-
readonly name: "
|
|
3674
|
+
readonly name: "priceFeedMap";
|
|
3287
3675
|
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
3288
3676
|
readonly type: "tuple[]";
|
|
3289
3677
|
readonly components: readonly [{
|
|
@@ -3304,7 +3692,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3304
3692
|
readonly type: "uint32";
|
|
3305
3693
|
}];
|
|
3306
3694
|
}, {
|
|
3307
|
-
readonly name: "
|
|
3695
|
+
readonly name: "priceFeedTree";
|
|
3308
3696
|
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
3309
3697
|
readonly type: "tuple[]";
|
|
3310
3698
|
readonly components: readonly [{
|
|
@@ -3447,10 +3835,6 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3447
3835
|
readonly internalType: "bytes";
|
|
3448
3836
|
readonly type: "bytes";
|
|
3449
3837
|
}];
|
|
3450
|
-
}, {
|
|
3451
|
-
readonly name: "creditManager";
|
|
3452
|
-
readonly internalType: "address";
|
|
3453
|
-
readonly type: "address";
|
|
3454
3838
|
}, {
|
|
3455
3839
|
readonly name: "degenNFT";
|
|
3456
3840
|
readonly internalType: "address";
|
|
@@ -3480,7 +3864,7 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3480
3864
|
readonly internalType: "uint256";
|
|
3481
3865
|
readonly type: "uint256";
|
|
3482
3866
|
}, {
|
|
3483
|
-
readonly name: "
|
|
3867
|
+
readonly name: "forbiddenTokensMask";
|
|
3484
3868
|
readonly internalType: "uint256";
|
|
3485
3869
|
readonly type: "uint256";
|
|
3486
3870
|
}, {
|
|
@@ -3601,6 +3985,32 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3601
3985
|
readonly type: "bytes";
|
|
3602
3986
|
}];
|
|
3603
3987
|
}];
|
|
3988
|
+
}, {
|
|
3989
|
+
readonly name: "accountFactory";
|
|
3990
|
+
readonly internalType: "struct BaseState";
|
|
3991
|
+
readonly type: "tuple";
|
|
3992
|
+
readonly components: readonly [{
|
|
3993
|
+
readonly name: "baseParams";
|
|
3994
|
+
readonly internalType: "struct BaseParams";
|
|
3995
|
+
readonly type: "tuple";
|
|
3996
|
+
readonly components: readonly [{
|
|
3997
|
+
readonly name: "addr";
|
|
3998
|
+
readonly internalType: "address";
|
|
3999
|
+
readonly type: "address";
|
|
4000
|
+
}, {
|
|
4001
|
+
readonly name: "version";
|
|
4002
|
+
readonly internalType: "uint256";
|
|
4003
|
+
readonly type: "uint256";
|
|
4004
|
+
}, {
|
|
4005
|
+
readonly name: "contractType";
|
|
4006
|
+
readonly internalType: "bytes32";
|
|
4007
|
+
readonly type: "bytes32";
|
|
4008
|
+
}, {
|
|
4009
|
+
readonly name: "serializedParams";
|
|
4010
|
+
readonly internalType: "bytes";
|
|
4011
|
+
readonly type: "bytes";
|
|
4012
|
+
}];
|
|
4013
|
+
}];
|
|
3604
4014
|
}, {
|
|
3605
4015
|
readonly name: "adapters";
|
|
3606
4016
|
readonly internalType: "struct AdapterState[]";
|
|
@@ -3645,53 +4055,284 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3645
4055
|
readonly internalType: "address[]";
|
|
3646
4056
|
readonly type: "address[]";
|
|
3647
4057
|
}, {
|
|
3648
|
-
readonly name: "emergencyLiquidators";
|
|
4058
|
+
readonly name: "emergencyLiquidators";
|
|
4059
|
+
readonly internalType: "address[]";
|
|
4060
|
+
readonly type: "address[]";
|
|
4061
|
+
}];
|
|
4062
|
+
}];
|
|
4063
|
+
readonly stateMutability: "view";
|
|
4064
|
+
}, {
|
|
4065
|
+
readonly type: "function";
|
|
4066
|
+
readonly inputs: readonly [{
|
|
4067
|
+
readonly name: "pool";
|
|
4068
|
+
readonly internalType: "address";
|
|
4069
|
+
readonly type: "address";
|
|
4070
|
+
}];
|
|
4071
|
+
readonly name: "getPoolState";
|
|
4072
|
+
readonly outputs: readonly [{
|
|
4073
|
+
readonly name: "";
|
|
4074
|
+
readonly internalType: "struct PoolState";
|
|
4075
|
+
readonly type: "tuple";
|
|
4076
|
+
readonly components: readonly [{
|
|
4077
|
+
readonly name: "baseParams";
|
|
4078
|
+
readonly internalType: "struct BaseParams";
|
|
4079
|
+
readonly type: "tuple";
|
|
4080
|
+
readonly components: readonly [{
|
|
4081
|
+
readonly name: "addr";
|
|
4082
|
+
readonly internalType: "address";
|
|
4083
|
+
readonly type: "address";
|
|
4084
|
+
}, {
|
|
4085
|
+
readonly name: "version";
|
|
4086
|
+
readonly internalType: "uint256";
|
|
4087
|
+
readonly type: "uint256";
|
|
4088
|
+
}, {
|
|
4089
|
+
readonly name: "contractType";
|
|
4090
|
+
readonly internalType: "bytes32";
|
|
4091
|
+
readonly type: "bytes32";
|
|
4092
|
+
}, {
|
|
4093
|
+
readonly name: "serializedParams";
|
|
4094
|
+
readonly internalType: "bytes";
|
|
4095
|
+
readonly type: "bytes";
|
|
4096
|
+
}];
|
|
4097
|
+
}, {
|
|
4098
|
+
readonly name: "symbol";
|
|
4099
|
+
readonly internalType: "string";
|
|
4100
|
+
readonly type: "string";
|
|
4101
|
+
}, {
|
|
4102
|
+
readonly name: "name";
|
|
4103
|
+
readonly internalType: "string";
|
|
4104
|
+
readonly type: "string";
|
|
4105
|
+
}, {
|
|
4106
|
+
readonly name: "decimals";
|
|
4107
|
+
readonly internalType: "uint8";
|
|
4108
|
+
readonly type: "uint8";
|
|
4109
|
+
}, {
|
|
4110
|
+
readonly name: "totalSupply";
|
|
4111
|
+
readonly internalType: "uint256";
|
|
4112
|
+
readonly type: "uint256";
|
|
4113
|
+
}, {
|
|
4114
|
+
readonly name: "quotaKeeper";
|
|
4115
|
+
readonly internalType: "address";
|
|
4116
|
+
readonly type: "address";
|
|
4117
|
+
}, {
|
|
4118
|
+
readonly name: "interestRateModel";
|
|
4119
|
+
readonly internalType: "address";
|
|
4120
|
+
readonly type: "address";
|
|
4121
|
+
}, {
|
|
4122
|
+
readonly name: "underlying";
|
|
4123
|
+
readonly internalType: "address";
|
|
4124
|
+
readonly type: "address";
|
|
4125
|
+
}, {
|
|
4126
|
+
readonly name: "availableLiquidity";
|
|
4127
|
+
readonly internalType: "uint256";
|
|
4128
|
+
readonly type: "uint256";
|
|
4129
|
+
}, {
|
|
4130
|
+
readonly name: "expectedLiquidity";
|
|
4131
|
+
readonly internalType: "uint256";
|
|
4132
|
+
readonly type: "uint256";
|
|
4133
|
+
}, {
|
|
4134
|
+
readonly name: "baseInterestIndex";
|
|
4135
|
+
readonly internalType: "uint256";
|
|
4136
|
+
readonly type: "uint256";
|
|
4137
|
+
}, {
|
|
4138
|
+
readonly name: "baseInterestRate";
|
|
4139
|
+
readonly internalType: "uint256";
|
|
4140
|
+
readonly type: "uint256";
|
|
4141
|
+
}, {
|
|
4142
|
+
readonly name: "dieselRate";
|
|
4143
|
+
readonly internalType: "uint256";
|
|
4144
|
+
readonly type: "uint256";
|
|
4145
|
+
}, {
|
|
4146
|
+
readonly name: "supplyRate";
|
|
4147
|
+
readonly internalType: "uint256";
|
|
4148
|
+
readonly type: "uint256";
|
|
4149
|
+
}, {
|
|
4150
|
+
readonly name: "withdrawFee";
|
|
4151
|
+
readonly internalType: "uint256";
|
|
4152
|
+
readonly type: "uint256";
|
|
4153
|
+
}, {
|
|
4154
|
+
readonly name: "totalBorrowed";
|
|
4155
|
+
readonly internalType: "uint256";
|
|
4156
|
+
readonly type: "uint256";
|
|
4157
|
+
}, {
|
|
4158
|
+
readonly name: "totalDebtLimit";
|
|
4159
|
+
readonly internalType: "uint256";
|
|
4160
|
+
readonly type: "uint256";
|
|
4161
|
+
}, {
|
|
4162
|
+
readonly name: "creditManagerDebtParams";
|
|
4163
|
+
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
4164
|
+
readonly type: "tuple[]";
|
|
4165
|
+
readonly components: readonly [{
|
|
4166
|
+
readonly name: "creditManager";
|
|
4167
|
+
readonly internalType: "address";
|
|
4168
|
+
readonly type: "address";
|
|
4169
|
+
}, {
|
|
4170
|
+
readonly name: "borrowed";
|
|
4171
|
+
readonly internalType: "uint256";
|
|
4172
|
+
readonly type: "uint256";
|
|
4173
|
+
}, {
|
|
4174
|
+
readonly name: "limit";
|
|
4175
|
+
readonly internalType: "uint256";
|
|
4176
|
+
readonly type: "uint256";
|
|
4177
|
+
}, {
|
|
4178
|
+
readonly name: "available";
|
|
4179
|
+
readonly internalType: "uint256";
|
|
4180
|
+
readonly type: "uint256";
|
|
4181
|
+
}];
|
|
4182
|
+
}, {
|
|
4183
|
+
readonly name: "baseInterestIndexLU";
|
|
4184
|
+
readonly internalType: "uint256";
|
|
4185
|
+
readonly type: "uint256";
|
|
4186
|
+
}, {
|
|
4187
|
+
readonly name: "expectedLiquidityLU";
|
|
4188
|
+
readonly internalType: "uint256";
|
|
4189
|
+
readonly type: "uint256";
|
|
4190
|
+
}, {
|
|
4191
|
+
readonly name: "quotaRevenue";
|
|
4192
|
+
readonly internalType: "uint256";
|
|
4193
|
+
readonly type: "uint256";
|
|
4194
|
+
}, {
|
|
4195
|
+
readonly name: "lastBaseInterestUpdate";
|
|
4196
|
+
readonly internalType: "uint40";
|
|
4197
|
+
readonly type: "uint40";
|
|
4198
|
+
}, {
|
|
4199
|
+
readonly name: "lastQuotaRevenueUpdate";
|
|
4200
|
+
readonly internalType: "uint40";
|
|
4201
|
+
readonly type: "uint40";
|
|
4202
|
+
}, {
|
|
4203
|
+
readonly name: "isPaused";
|
|
4204
|
+
readonly internalType: "bool";
|
|
4205
|
+
readonly type: "bool";
|
|
4206
|
+
}];
|
|
4207
|
+
}];
|
|
4208
|
+
readonly stateMutability: "view";
|
|
4209
|
+
}, {
|
|
4210
|
+
readonly type: "function";
|
|
4211
|
+
readonly inputs: readonly [{
|
|
4212
|
+
readonly name: "quotaKeeper";
|
|
4213
|
+
readonly internalType: "address";
|
|
4214
|
+
readonly type: "address";
|
|
4215
|
+
}];
|
|
4216
|
+
readonly name: "getQuotaKeeperState";
|
|
4217
|
+
readonly outputs: readonly [{
|
|
4218
|
+
readonly name: "";
|
|
4219
|
+
readonly internalType: "struct QuotaKeeperState";
|
|
4220
|
+
readonly type: "tuple";
|
|
4221
|
+
readonly components: readonly [{
|
|
4222
|
+
readonly name: "baseParams";
|
|
4223
|
+
readonly internalType: "struct BaseParams";
|
|
4224
|
+
readonly type: "tuple";
|
|
4225
|
+
readonly components: readonly [{
|
|
4226
|
+
readonly name: "addr";
|
|
4227
|
+
readonly internalType: "address";
|
|
4228
|
+
readonly type: "address";
|
|
4229
|
+
}, {
|
|
4230
|
+
readonly name: "version";
|
|
4231
|
+
readonly internalType: "uint256";
|
|
4232
|
+
readonly type: "uint256";
|
|
4233
|
+
}, {
|
|
4234
|
+
readonly name: "contractType";
|
|
4235
|
+
readonly internalType: "bytes32";
|
|
4236
|
+
readonly type: "bytes32";
|
|
4237
|
+
}, {
|
|
4238
|
+
readonly name: "serializedParams";
|
|
4239
|
+
readonly internalType: "bytes";
|
|
4240
|
+
readonly type: "bytes";
|
|
4241
|
+
}];
|
|
4242
|
+
}, {
|
|
4243
|
+
readonly name: "rateKeeper";
|
|
4244
|
+
readonly internalType: "address";
|
|
4245
|
+
readonly type: "address";
|
|
4246
|
+
}, {
|
|
4247
|
+
readonly name: "quotas";
|
|
4248
|
+
readonly internalType: "struct QuotaTokenParams[]";
|
|
4249
|
+
readonly type: "tuple[]";
|
|
4250
|
+
readonly components: readonly [{
|
|
4251
|
+
readonly name: "token";
|
|
4252
|
+
readonly internalType: "address";
|
|
4253
|
+
readonly type: "address";
|
|
4254
|
+
}, {
|
|
4255
|
+
readonly name: "rate";
|
|
4256
|
+
readonly internalType: "uint16";
|
|
4257
|
+
readonly type: "uint16";
|
|
4258
|
+
}, {
|
|
4259
|
+
readonly name: "cumulativeIndexLU";
|
|
4260
|
+
readonly internalType: "uint192";
|
|
4261
|
+
readonly type: "uint192";
|
|
4262
|
+
}, {
|
|
4263
|
+
readonly name: "quotaIncreaseFee";
|
|
4264
|
+
readonly internalType: "uint16";
|
|
4265
|
+
readonly type: "uint16";
|
|
4266
|
+
}, {
|
|
4267
|
+
readonly name: "totalQuoted";
|
|
4268
|
+
readonly internalType: "uint96";
|
|
4269
|
+
readonly type: "uint96";
|
|
4270
|
+
}, {
|
|
4271
|
+
readonly name: "limit";
|
|
4272
|
+
readonly internalType: "uint96";
|
|
4273
|
+
readonly type: "uint96";
|
|
4274
|
+
}, {
|
|
4275
|
+
readonly name: "isActive";
|
|
4276
|
+
readonly internalType: "bool";
|
|
4277
|
+
readonly type: "bool";
|
|
4278
|
+
}];
|
|
4279
|
+
}, {
|
|
4280
|
+
readonly name: "creditManagers";
|
|
3649
4281
|
readonly internalType: "address[]";
|
|
3650
4282
|
readonly type: "address[]";
|
|
4283
|
+
}, {
|
|
4284
|
+
readonly name: "lastQuotaRateUpdate";
|
|
4285
|
+
readonly internalType: "uint40";
|
|
4286
|
+
readonly type: "uint40";
|
|
3651
4287
|
}];
|
|
3652
4288
|
}];
|
|
3653
4289
|
readonly stateMutability: "view";
|
|
3654
4290
|
}, {
|
|
3655
4291
|
readonly type: "function";
|
|
3656
4292
|
readonly inputs: readonly [{
|
|
3657
|
-
readonly name: "
|
|
3658
|
-
readonly internalType: "
|
|
3659
|
-
readonly type: "
|
|
3660
|
-
readonly components: readonly [{
|
|
3661
|
-
readonly name: "configurators";
|
|
3662
|
-
readonly internalType: "address[]";
|
|
3663
|
-
readonly type: "address[]";
|
|
3664
|
-
}, {
|
|
3665
|
-
readonly name: "pools";
|
|
3666
|
-
readonly internalType: "address[]";
|
|
3667
|
-
readonly type: "address[]";
|
|
3668
|
-
}, {
|
|
3669
|
-
readonly name: "underlying";
|
|
3670
|
-
readonly internalType: "address";
|
|
3671
|
-
readonly type: "address";
|
|
3672
|
-
}];
|
|
4293
|
+
readonly name: "rateKeeper";
|
|
4294
|
+
readonly internalType: "address";
|
|
4295
|
+
readonly type: "address";
|
|
3673
4296
|
}];
|
|
3674
|
-
readonly name: "
|
|
4297
|
+
readonly name: "getRateKeeperState";
|
|
3675
4298
|
readonly outputs: readonly [{
|
|
3676
|
-
readonly name: "
|
|
3677
|
-
readonly internalType: "struct
|
|
3678
|
-
readonly type: "tuple
|
|
4299
|
+
readonly name: "";
|
|
4300
|
+
readonly internalType: "struct RateKeeperState";
|
|
4301
|
+
readonly type: "tuple";
|
|
3679
4302
|
readonly components: readonly [{
|
|
3680
|
-
readonly name: "
|
|
3681
|
-
readonly internalType: "
|
|
3682
|
-
readonly type: "
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
4303
|
+
readonly name: "baseParams";
|
|
4304
|
+
readonly internalType: "struct BaseParams";
|
|
4305
|
+
readonly type: "tuple";
|
|
4306
|
+
readonly components: readonly [{
|
|
4307
|
+
readonly name: "addr";
|
|
4308
|
+
readonly internalType: "address";
|
|
4309
|
+
readonly type: "address";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly name: "version";
|
|
4312
|
+
readonly internalType: "uint256";
|
|
4313
|
+
readonly type: "uint256";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly name: "contractType";
|
|
4316
|
+
readonly internalType: "bytes32";
|
|
4317
|
+
readonly type: "bytes32";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly name: "serializedParams";
|
|
4320
|
+
readonly internalType: "bytes";
|
|
4321
|
+
readonly type: "bytes";
|
|
4322
|
+
}];
|
|
3691
4323
|
}, {
|
|
3692
|
-
readonly name: "
|
|
3693
|
-
readonly internalType: "
|
|
3694
|
-
readonly type: "
|
|
4324
|
+
readonly name: "rates";
|
|
4325
|
+
readonly internalType: "struct Rate[]";
|
|
4326
|
+
readonly type: "tuple[]";
|
|
4327
|
+
readonly components: readonly [{
|
|
4328
|
+
readonly name: "token";
|
|
4329
|
+
readonly internalType: "address";
|
|
4330
|
+
readonly type: "address";
|
|
4331
|
+
}, {
|
|
4332
|
+
readonly name: "rate";
|
|
4333
|
+
readonly internalType: "uint16";
|
|
4334
|
+
readonly type: "uint16";
|
|
4335
|
+
}];
|
|
3695
4336
|
}];
|
|
3696
4337
|
}];
|
|
3697
4338
|
readonly stateMutability: "view";
|
|
@@ -3706,21 +4347,6 @@ export declare const iMarketCompressorAbi: readonly [{
|
|
|
3706
4347
|
}];
|
|
3707
4348
|
readonly stateMutability: "view";
|
|
3708
4349
|
}];
|
|
3709
|
-
export declare const iModifiedBoosterAbi: readonly [{
|
|
3710
|
-
readonly type: "function";
|
|
3711
|
-
readonly inputs: readonly [{
|
|
3712
|
-
readonly name: "pool";
|
|
3713
|
-
readonly internalType: "address";
|
|
3714
|
-
readonly type: "address";
|
|
3715
|
-
}];
|
|
3716
|
-
readonly name: "getRewardMultipliers";
|
|
3717
|
-
readonly outputs: readonly [{
|
|
3718
|
-
readonly name: "";
|
|
3719
|
-
readonly internalType: "uint256";
|
|
3720
|
-
readonly type: "uint256";
|
|
3721
|
-
}];
|
|
3722
|
-
readonly stateMutability: "view";
|
|
3723
|
-
}];
|
|
3724
4350
|
export declare const iPeripheryCompressorAbi: readonly [{
|
|
3725
4351
|
readonly type: "function";
|
|
3726
4352
|
readonly inputs: readonly [];
|
|
@@ -3914,186 +4540,33 @@ export declare const iPeripheryCompressorAbi: readonly [{
|
|
|
3914
4540
|
readonly inputs: readonly [];
|
|
3915
4541
|
readonly name: "version";
|
|
3916
4542
|
readonly outputs: readonly [{
|
|
3917
|
-
readonly name: "";
|
|
3918
|
-
readonly internalType: "uint256";
|
|
3919
|
-
readonly type: "uint256";
|
|
3920
|
-
}];
|
|
3921
|
-
readonly stateMutability: "view";
|
|
3922
|
-
}];
|
|
3923
|
-
export declare const
|
|
3924
|
-
readonly type: "function";
|
|
3925
|
-
readonly inputs: readonly [];
|
|
3926
|
-
readonly name: "contractType";
|
|
3927
|
-
readonly outputs: readonly [{
|
|
3928
|
-
readonly name: "";
|
|
3929
|
-
readonly internalType: "bytes32";
|
|
3930
|
-
readonly type: "bytes32";
|
|
3931
|
-
}];
|
|
3932
|
-
readonly stateMutability: "view";
|
|
3933
|
-
}, {
|
|
3934
|
-
readonly type: "function";
|
|
3935
|
-
readonly inputs: readonly [{
|
|
3936
|
-
readonly name: "interestRateModel";
|
|
3937
|
-
readonly internalType: "address";
|
|
3938
|
-
readonly type: "address";
|
|
3939
|
-
}];
|
|
3940
|
-
readonly name: "getInterestRateModelState";
|
|
3941
|
-
readonly outputs: readonly [{
|
|
3942
|
-
readonly name: "";
|
|
3943
|
-
readonly internalType: "struct BaseState";
|
|
3944
|
-
readonly type: "tuple";
|
|
3945
|
-
readonly components: readonly [{
|
|
3946
|
-
readonly name: "baseParams";
|
|
3947
|
-
readonly internalType: "struct BaseParams";
|
|
3948
|
-
readonly type: "tuple";
|
|
3949
|
-
readonly components: readonly [{
|
|
3950
|
-
readonly name: "addr";
|
|
3951
|
-
readonly internalType: "address";
|
|
3952
|
-
readonly type: "address";
|
|
3953
|
-
}, {
|
|
3954
|
-
readonly name: "version";
|
|
3955
|
-
readonly internalType: "uint256";
|
|
3956
|
-
readonly type: "uint256";
|
|
3957
|
-
}, {
|
|
3958
|
-
readonly name: "contractType";
|
|
3959
|
-
readonly internalType: "bytes32";
|
|
3960
|
-
readonly type: "bytes32";
|
|
3961
|
-
}, {
|
|
3962
|
-
readonly name: "serializedParams";
|
|
3963
|
-
readonly internalType: "bytes";
|
|
3964
|
-
readonly type: "bytes";
|
|
3965
|
-
}];
|
|
3966
|
-
}];
|
|
3967
|
-
}];
|
|
3968
|
-
readonly stateMutability: "view";
|
|
3969
|
-
}, {
|
|
3970
|
-
readonly type: "function";
|
|
3971
|
-
readonly inputs: readonly [{
|
|
3972
|
-
readonly name: "lossPolicy";
|
|
3973
|
-
readonly internalType: "address";
|
|
3974
|
-
readonly type: "address";
|
|
3975
|
-
}];
|
|
3976
|
-
readonly name: "getLossPolicyState";
|
|
3977
|
-
readonly outputs: readonly [{
|
|
3978
|
-
readonly name: "";
|
|
3979
|
-
readonly internalType: "struct BaseState";
|
|
3980
|
-
readonly type: "tuple";
|
|
3981
|
-
readonly components: readonly [{
|
|
3982
|
-
readonly name: "baseParams";
|
|
3983
|
-
readonly internalType: "struct BaseParams";
|
|
3984
|
-
readonly type: "tuple";
|
|
3985
|
-
readonly components: readonly [{
|
|
3986
|
-
readonly name: "addr";
|
|
3987
|
-
readonly internalType: "address";
|
|
3988
|
-
readonly type: "address";
|
|
3989
|
-
}, {
|
|
3990
|
-
readonly name: "version";
|
|
3991
|
-
readonly internalType: "uint256";
|
|
3992
|
-
readonly type: "uint256";
|
|
3993
|
-
}, {
|
|
3994
|
-
readonly name: "contractType";
|
|
3995
|
-
readonly internalType: "bytes32";
|
|
3996
|
-
readonly type: "bytes32";
|
|
3997
|
-
}, {
|
|
3998
|
-
readonly name: "serializedParams";
|
|
3999
|
-
readonly internalType: "bytes";
|
|
4000
|
-
readonly type: "bytes";
|
|
4001
|
-
}];
|
|
4002
|
-
}];
|
|
4003
|
-
}];
|
|
4004
|
-
readonly stateMutability: "view";
|
|
4005
|
-
}, {
|
|
4006
|
-
readonly type: "function";
|
|
4007
|
-
readonly inputs: readonly [{
|
|
4008
|
-
readonly name: "quotaKeeper";
|
|
4009
|
-
readonly internalType: "address";
|
|
4010
|
-
readonly type: "address";
|
|
4011
|
-
}];
|
|
4012
|
-
readonly name: "getPoolQuotaKeeperState";
|
|
4013
|
-
readonly outputs: readonly [{
|
|
4014
|
-
readonly name: "";
|
|
4015
|
-
readonly internalType: "struct PoolQuotaKeeperState";
|
|
4016
|
-
readonly type: "tuple";
|
|
4017
|
-
readonly components: readonly [{
|
|
4018
|
-
readonly name: "baseParams";
|
|
4019
|
-
readonly internalType: "struct BaseParams";
|
|
4020
|
-
readonly type: "tuple";
|
|
4021
|
-
readonly components: readonly [{
|
|
4022
|
-
readonly name: "addr";
|
|
4023
|
-
readonly internalType: "address";
|
|
4024
|
-
readonly type: "address";
|
|
4025
|
-
}, {
|
|
4026
|
-
readonly name: "version";
|
|
4027
|
-
readonly internalType: "uint256";
|
|
4028
|
-
readonly type: "uint256";
|
|
4029
|
-
}, {
|
|
4030
|
-
readonly name: "contractType";
|
|
4031
|
-
readonly internalType: "bytes32";
|
|
4032
|
-
readonly type: "bytes32";
|
|
4033
|
-
}, {
|
|
4034
|
-
readonly name: "serializedParams";
|
|
4035
|
-
readonly internalType: "bytes";
|
|
4036
|
-
readonly type: "bytes";
|
|
4037
|
-
}];
|
|
4038
|
-
}, {
|
|
4039
|
-
readonly name: "rateKeeper";
|
|
4040
|
-
readonly internalType: "address";
|
|
4041
|
-
readonly type: "address";
|
|
4042
|
-
}, {
|
|
4043
|
-
readonly name: "quotas";
|
|
4044
|
-
readonly internalType: "struct QuotaTokenParams[]";
|
|
4045
|
-
readonly type: "tuple[]";
|
|
4046
|
-
readonly components: readonly [{
|
|
4047
|
-
readonly name: "token";
|
|
4048
|
-
readonly internalType: "address";
|
|
4049
|
-
readonly type: "address";
|
|
4050
|
-
}, {
|
|
4051
|
-
readonly name: "rate";
|
|
4052
|
-
readonly internalType: "uint16";
|
|
4053
|
-
readonly type: "uint16";
|
|
4054
|
-
}, {
|
|
4055
|
-
readonly name: "cumulativeIndexLU";
|
|
4056
|
-
readonly internalType: "uint192";
|
|
4057
|
-
readonly type: "uint192";
|
|
4058
|
-
}, {
|
|
4059
|
-
readonly name: "quotaIncreaseFee";
|
|
4060
|
-
readonly internalType: "uint16";
|
|
4061
|
-
readonly type: "uint16";
|
|
4062
|
-
}, {
|
|
4063
|
-
readonly name: "totalQuoted";
|
|
4064
|
-
readonly internalType: "uint96";
|
|
4065
|
-
readonly type: "uint96";
|
|
4066
|
-
}, {
|
|
4067
|
-
readonly name: "limit";
|
|
4068
|
-
readonly internalType: "uint96";
|
|
4069
|
-
readonly type: "uint96";
|
|
4070
|
-
}, {
|
|
4071
|
-
readonly name: "isActive";
|
|
4072
|
-
readonly internalType: "bool";
|
|
4073
|
-
readonly type: "bool";
|
|
4074
|
-
}];
|
|
4075
|
-
}, {
|
|
4076
|
-
readonly name: "creditManagers";
|
|
4077
|
-
readonly internalType: "address[]";
|
|
4078
|
-
readonly type: "address[]";
|
|
4079
|
-
}, {
|
|
4080
|
-
readonly name: "lastQuotaRateUpdate";
|
|
4081
|
-
readonly internalType: "uint40";
|
|
4082
|
-
readonly type: "uint40";
|
|
4083
|
-
}];
|
|
4543
|
+
readonly name: "";
|
|
4544
|
+
readonly internalType: "uint256";
|
|
4545
|
+
readonly type: "uint256";
|
|
4546
|
+
}];
|
|
4547
|
+
readonly stateMutability: "view";
|
|
4548
|
+
}];
|
|
4549
|
+
export declare const iPriceFeedCompressorAbi: readonly [{
|
|
4550
|
+
readonly type: "function";
|
|
4551
|
+
readonly inputs: readonly [];
|
|
4552
|
+
readonly name: "contractType";
|
|
4553
|
+
readonly outputs: readonly [{
|
|
4554
|
+
readonly name: "";
|
|
4555
|
+
readonly internalType: "bytes32";
|
|
4556
|
+
readonly type: "bytes32";
|
|
4084
4557
|
}];
|
|
4085
4558
|
readonly stateMutability: "view";
|
|
4086
4559
|
}, {
|
|
4087
4560
|
readonly type: "function";
|
|
4088
4561
|
readonly inputs: readonly [{
|
|
4089
|
-
readonly name: "
|
|
4562
|
+
readonly name: "priceOracle";
|
|
4090
4563
|
readonly internalType: "address";
|
|
4091
4564
|
readonly type: "address";
|
|
4092
4565
|
}];
|
|
4093
|
-
readonly name: "
|
|
4566
|
+
readonly name: "getPriceOracleState";
|
|
4094
4567
|
readonly outputs: readonly [{
|
|
4095
4568
|
readonly name: "";
|
|
4096
|
-
readonly internalType: "struct
|
|
4569
|
+
readonly internalType: "struct PriceOracleState";
|
|
4097
4570
|
readonly type: "tuple";
|
|
4098
4571
|
readonly components: readonly [{
|
|
4099
4572
|
readonly name: "baseParams";
|
|
@@ -4117,128 +4590,111 @@ export declare const iPoolCompressorAbi: readonly [{
|
|
|
4117
4590
|
readonly type: "bytes";
|
|
4118
4591
|
}];
|
|
4119
4592
|
}, {
|
|
4120
|
-
readonly name: "
|
|
4121
|
-
readonly internalType: "
|
|
4122
|
-
readonly type: "string";
|
|
4123
|
-
}, {
|
|
4124
|
-
readonly name: "name";
|
|
4125
|
-
readonly internalType: "string";
|
|
4126
|
-
readonly type: "string";
|
|
4127
|
-
}, {
|
|
4128
|
-
readonly name: "decimals";
|
|
4129
|
-
readonly internalType: "uint8";
|
|
4130
|
-
readonly type: "uint8";
|
|
4131
|
-
}, {
|
|
4132
|
-
readonly name: "totalSupply";
|
|
4133
|
-
readonly internalType: "uint256";
|
|
4134
|
-
readonly type: "uint256";
|
|
4135
|
-
}, {
|
|
4136
|
-
readonly name: "poolQuotaKeeper";
|
|
4137
|
-
readonly internalType: "address";
|
|
4138
|
-
readonly type: "address";
|
|
4139
|
-
}, {
|
|
4140
|
-
readonly name: "interestRateModel";
|
|
4141
|
-
readonly internalType: "address";
|
|
4142
|
-
readonly type: "address";
|
|
4143
|
-
}, {
|
|
4144
|
-
readonly name: "underlying";
|
|
4145
|
-
readonly internalType: "address";
|
|
4146
|
-
readonly type: "address";
|
|
4147
|
-
}, {
|
|
4148
|
-
readonly name: "availableLiquidity";
|
|
4149
|
-
readonly internalType: "uint256";
|
|
4150
|
-
readonly type: "uint256";
|
|
4151
|
-
}, {
|
|
4152
|
-
readonly name: "expectedLiquidity";
|
|
4153
|
-
readonly internalType: "uint256";
|
|
4154
|
-
readonly type: "uint256";
|
|
4155
|
-
}, {
|
|
4156
|
-
readonly name: "baseInterestIndex";
|
|
4157
|
-
readonly internalType: "uint256";
|
|
4158
|
-
readonly type: "uint256";
|
|
4159
|
-
}, {
|
|
4160
|
-
readonly name: "baseInterestRate";
|
|
4161
|
-
readonly internalType: "uint256";
|
|
4162
|
-
readonly type: "uint256";
|
|
4163
|
-
}, {
|
|
4164
|
-
readonly name: "dieselRate";
|
|
4165
|
-
readonly internalType: "uint256";
|
|
4166
|
-
readonly type: "uint256";
|
|
4167
|
-
}, {
|
|
4168
|
-
readonly name: "supplyRate";
|
|
4169
|
-
readonly internalType: "uint256";
|
|
4170
|
-
readonly type: "uint256";
|
|
4171
|
-
}, {
|
|
4172
|
-
readonly name: "withdrawFee";
|
|
4173
|
-
readonly internalType: "uint256";
|
|
4174
|
-
readonly type: "uint256";
|
|
4175
|
-
}, {
|
|
4176
|
-
readonly name: "totalBorrowed";
|
|
4177
|
-
readonly internalType: "uint256";
|
|
4178
|
-
readonly type: "uint256";
|
|
4179
|
-
}, {
|
|
4180
|
-
readonly name: "totalDebtLimit";
|
|
4181
|
-
readonly internalType: "uint256";
|
|
4182
|
-
readonly type: "uint256";
|
|
4183
|
-
}, {
|
|
4184
|
-
readonly name: "creditManagerDebtParams";
|
|
4185
|
-
readonly internalType: "struct CreditManagerDebtParams[]";
|
|
4593
|
+
readonly name: "priceFeedMap";
|
|
4594
|
+
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
4186
4595
|
readonly type: "tuple[]";
|
|
4187
4596
|
readonly components: readonly [{
|
|
4188
|
-
readonly name: "
|
|
4597
|
+
readonly name: "token";
|
|
4189
4598
|
readonly internalType: "address";
|
|
4190
4599
|
readonly type: "address";
|
|
4191
4600
|
}, {
|
|
4192
|
-
readonly name: "
|
|
4193
|
-
readonly internalType: "
|
|
4194
|
-
readonly type: "
|
|
4601
|
+
readonly name: "reserve";
|
|
4602
|
+
readonly internalType: "bool";
|
|
4603
|
+
readonly type: "bool";
|
|
4195
4604
|
}, {
|
|
4196
|
-
readonly name: "
|
|
4197
|
-
readonly internalType: "
|
|
4198
|
-
readonly type: "
|
|
4605
|
+
readonly name: "priceFeed";
|
|
4606
|
+
readonly internalType: "address";
|
|
4607
|
+
readonly type: "address";
|
|
4199
4608
|
}, {
|
|
4200
|
-
readonly name: "
|
|
4201
|
-
readonly internalType: "
|
|
4202
|
-
readonly type: "
|
|
4609
|
+
readonly name: "stalenessPeriod";
|
|
4610
|
+
readonly internalType: "uint32";
|
|
4611
|
+
readonly type: "uint32";
|
|
4203
4612
|
}];
|
|
4204
4613
|
}, {
|
|
4205
|
-
readonly name: "
|
|
4206
|
-
readonly internalType: "
|
|
4207
|
-
readonly type: "
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4614
|
+
readonly name: "priceFeedTree";
|
|
4615
|
+
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
4616
|
+
readonly type: "tuple[]";
|
|
4617
|
+
readonly components: readonly [{
|
|
4618
|
+
readonly name: "baseParams";
|
|
4619
|
+
readonly internalType: "struct BaseParams";
|
|
4620
|
+
readonly type: "tuple";
|
|
4621
|
+
readonly components: readonly [{
|
|
4622
|
+
readonly name: "addr";
|
|
4623
|
+
readonly internalType: "address";
|
|
4624
|
+
readonly type: "address";
|
|
4625
|
+
}, {
|
|
4626
|
+
readonly name: "version";
|
|
4627
|
+
readonly internalType: "uint256";
|
|
4628
|
+
readonly type: "uint256";
|
|
4629
|
+
}, {
|
|
4630
|
+
readonly name: "contractType";
|
|
4631
|
+
readonly internalType: "bytes32";
|
|
4632
|
+
readonly type: "bytes32";
|
|
4633
|
+
}, {
|
|
4634
|
+
readonly name: "serializedParams";
|
|
4635
|
+
readonly internalType: "bytes";
|
|
4636
|
+
readonly type: "bytes";
|
|
4637
|
+
}];
|
|
4638
|
+
}, {
|
|
4639
|
+
readonly name: "description";
|
|
4640
|
+
readonly internalType: "string";
|
|
4641
|
+
readonly type: "string";
|
|
4642
|
+
}, {
|
|
4643
|
+
readonly name: "decimals";
|
|
4644
|
+
readonly internalType: "uint8";
|
|
4645
|
+
readonly type: "uint8";
|
|
4646
|
+
}, {
|
|
4647
|
+
readonly name: "skipCheck";
|
|
4648
|
+
readonly internalType: "bool";
|
|
4649
|
+
readonly type: "bool";
|
|
4650
|
+
}, {
|
|
4651
|
+
readonly name: "updatable";
|
|
4652
|
+
readonly internalType: "bool";
|
|
4653
|
+
readonly type: "bool";
|
|
4654
|
+
}, {
|
|
4655
|
+
readonly name: "underlyingFeeds";
|
|
4656
|
+
readonly internalType: "address[]";
|
|
4657
|
+
readonly type: "address[]";
|
|
4658
|
+
}, {
|
|
4659
|
+
readonly name: "underlyingStalenessPeriods";
|
|
4660
|
+
readonly internalType: "uint32[]";
|
|
4661
|
+
readonly type: "uint32[]";
|
|
4662
|
+
}, {
|
|
4663
|
+
readonly name: "answer";
|
|
4664
|
+
readonly internalType: "struct PriceFeedAnswer";
|
|
4665
|
+
readonly type: "tuple";
|
|
4666
|
+
readonly components: readonly [{
|
|
4667
|
+
readonly name: "price";
|
|
4668
|
+
readonly internalType: "int256";
|
|
4669
|
+
readonly type: "int256";
|
|
4670
|
+
}, {
|
|
4671
|
+
readonly name: "updatedAt";
|
|
4672
|
+
readonly internalType: "uint256";
|
|
4673
|
+
readonly type: "uint256";
|
|
4674
|
+
}, {
|
|
4675
|
+
readonly name: "success";
|
|
4676
|
+
readonly internalType: "bool";
|
|
4677
|
+
readonly type: "bool";
|
|
4678
|
+
}];
|
|
4679
|
+
}];
|
|
4228
4680
|
}];
|
|
4229
4681
|
}];
|
|
4230
4682
|
readonly stateMutability: "view";
|
|
4231
4683
|
}, {
|
|
4232
4684
|
readonly type: "function";
|
|
4233
4685
|
readonly inputs: readonly [{
|
|
4234
|
-
readonly name: "
|
|
4686
|
+
readonly name: "priceOracle";
|
|
4235
4687
|
readonly internalType: "address";
|
|
4236
4688
|
readonly type: "address";
|
|
4689
|
+
}, {
|
|
4690
|
+
readonly name: "tokens";
|
|
4691
|
+
readonly internalType: "address[]";
|
|
4692
|
+
readonly type: "address[]";
|
|
4237
4693
|
}];
|
|
4238
|
-
readonly name: "
|
|
4694
|
+
readonly name: "getPriceOracleState";
|
|
4239
4695
|
readonly outputs: readonly [{
|
|
4240
4696
|
readonly name: "";
|
|
4241
|
-
readonly internalType: "struct
|
|
4697
|
+
readonly internalType: "struct PriceOracleState";
|
|
4242
4698
|
readonly type: "tuple";
|
|
4243
4699
|
readonly components: readonly [{
|
|
4244
4700
|
readonly name: "baseParams";
|
|
@@ -4262,78 +4718,120 @@ export declare const iPoolCompressorAbi: readonly [{
|
|
|
4262
4718
|
readonly type: "bytes";
|
|
4263
4719
|
}];
|
|
4264
4720
|
}, {
|
|
4265
|
-
readonly name: "
|
|
4266
|
-
readonly internalType: "struct
|
|
4721
|
+
readonly name: "priceFeedMap";
|
|
4722
|
+
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
4267
4723
|
readonly type: "tuple[]";
|
|
4268
4724
|
readonly components: readonly [{
|
|
4269
4725
|
readonly name: "token";
|
|
4270
4726
|
readonly internalType: "address";
|
|
4271
4727
|
readonly type: "address";
|
|
4272
4728
|
}, {
|
|
4273
|
-
readonly name: "
|
|
4274
|
-
readonly internalType: "
|
|
4275
|
-
readonly type: "
|
|
4729
|
+
readonly name: "reserve";
|
|
4730
|
+
readonly internalType: "bool";
|
|
4731
|
+
readonly type: "bool";
|
|
4732
|
+
}, {
|
|
4733
|
+
readonly name: "priceFeed";
|
|
4734
|
+
readonly internalType: "address";
|
|
4735
|
+
readonly type: "address";
|
|
4736
|
+
}, {
|
|
4737
|
+
readonly name: "stalenessPeriod";
|
|
4738
|
+
readonly internalType: "uint32";
|
|
4739
|
+
readonly type: "uint32";
|
|
4276
4740
|
}];
|
|
4277
|
-
}
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4741
|
+
}, {
|
|
4742
|
+
readonly name: "priceFeedTree";
|
|
4743
|
+
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
4744
|
+
readonly type: "tuple[]";
|
|
4745
|
+
readonly components: readonly [{
|
|
4746
|
+
readonly name: "baseParams";
|
|
4747
|
+
readonly internalType: "struct BaseParams";
|
|
4748
|
+
readonly type: "tuple";
|
|
4749
|
+
readonly components: readonly [{
|
|
4750
|
+
readonly name: "addr";
|
|
4751
|
+
readonly internalType: "address";
|
|
4752
|
+
readonly type: "address";
|
|
4753
|
+
}, {
|
|
4754
|
+
readonly name: "version";
|
|
4755
|
+
readonly internalType: "uint256";
|
|
4756
|
+
readonly type: "uint256";
|
|
4757
|
+
}, {
|
|
4758
|
+
readonly name: "contractType";
|
|
4759
|
+
readonly internalType: "bytes32";
|
|
4760
|
+
readonly type: "bytes32";
|
|
4761
|
+
}, {
|
|
4762
|
+
readonly name: "serializedParams";
|
|
4763
|
+
readonly internalType: "bytes";
|
|
4764
|
+
readonly type: "bytes";
|
|
4765
|
+
}];
|
|
4766
|
+
}, {
|
|
4767
|
+
readonly name: "description";
|
|
4768
|
+
readonly internalType: "string";
|
|
4769
|
+
readonly type: "string";
|
|
4770
|
+
}, {
|
|
4771
|
+
readonly name: "decimals";
|
|
4772
|
+
readonly internalType: "uint8";
|
|
4773
|
+
readonly type: "uint8";
|
|
4774
|
+
}, {
|
|
4775
|
+
readonly name: "skipCheck";
|
|
4776
|
+
readonly internalType: "bool";
|
|
4777
|
+
readonly type: "bool";
|
|
4778
|
+
}, {
|
|
4779
|
+
readonly name: "updatable";
|
|
4780
|
+
readonly internalType: "bool";
|
|
4781
|
+
readonly type: "bool";
|
|
4782
|
+
}, {
|
|
4783
|
+
readonly name: "underlyingFeeds";
|
|
4784
|
+
readonly internalType: "address[]";
|
|
4785
|
+
readonly type: "address[]";
|
|
4786
|
+
}, {
|
|
4787
|
+
readonly name: "underlyingStalenessPeriods";
|
|
4788
|
+
readonly internalType: "uint32[]";
|
|
4789
|
+
readonly type: "uint32[]";
|
|
4790
|
+
}, {
|
|
4791
|
+
readonly name: "answer";
|
|
4792
|
+
readonly internalType: "struct PriceFeedAnswer";
|
|
4793
|
+
readonly type: "tuple";
|
|
4794
|
+
readonly components: readonly [{
|
|
4795
|
+
readonly name: "price";
|
|
4796
|
+
readonly internalType: "int256";
|
|
4797
|
+
readonly type: "int256";
|
|
4798
|
+
}, {
|
|
4799
|
+
readonly name: "updatedAt";
|
|
4800
|
+
readonly internalType: "uint256";
|
|
4801
|
+
readonly type: "uint256";
|
|
4802
|
+
}, {
|
|
4803
|
+
readonly name: "success";
|
|
4804
|
+
readonly internalType: "bool";
|
|
4805
|
+
readonly type: "bool";
|
|
4806
|
+
}];
|
|
4807
|
+
}];
|
|
4808
|
+
}];
|
|
4299
4809
|
}];
|
|
4300
4810
|
readonly stateMutability: "view";
|
|
4301
4811
|
}, {
|
|
4302
4812
|
readonly type: "function";
|
|
4303
4813
|
readonly inputs: readonly [{
|
|
4304
|
-
readonly name: "
|
|
4305
|
-
readonly internalType: "
|
|
4306
|
-
readonly type: "
|
|
4307
|
-
}, {
|
|
4308
|
-
readonly name: "tokens";
|
|
4309
|
-
readonly internalType: "address[]";
|
|
4310
|
-
readonly type: "address[]";
|
|
4311
|
-
}];
|
|
4312
|
-
readonly name: "getPriceFeeds";
|
|
4313
|
-
readonly outputs: readonly [{
|
|
4314
|
-
readonly name: "priceFeedMap";
|
|
4315
|
-
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
4316
|
-
readonly type: "tuple[]";
|
|
4814
|
+
readonly name: "filter";
|
|
4815
|
+
readonly internalType: "struct MarketFilter";
|
|
4816
|
+
readonly type: "tuple";
|
|
4317
4817
|
readonly components: readonly [{
|
|
4318
|
-
readonly name: "
|
|
4319
|
-
readonly internalType: "address";
|
|
4320
|
-
readonly type: "address";
|
|
4818
|
+
readonly name: "configurators";
|
|
4819
|
+
readonly internalType: "address[]";
|
|
4820
|
+
readonly type: "address[]";
|
|
4321
4821
|
}, {
|
|
4322
|
-
readonly name: "
|
|
4323
|
-
readonly internalType: "
|
|
4324
|
-
readonly type: "
|
|
4822
|
+
readonly name: "pools";
|
|
4823
|
+
readonly internalType: "address[]";
|
|
4824
|
+
readonly type: "address[]";
|
|
4325
4825
|
}, {
|
|
4326
|
-
readonly name: "
|
|
4826
|
+
readonly name: "underlying";
|
|
4327
4827
|
readonly internalType: "address";
|
|
4328
4828
|
readonly type: "address";
|
|
4329
|
-
}, {
|
|
4330
|
-
readonly name: "stalenessPeriod";
|
|
4331
|
-
readonly internalType: "uint32";
|
|
4332
|
-
readonly type: "uint32";
|
|
4333
4829
|
}];
|
|
4334
|
-
}
|
|
4335
|
-
|
|
4336
|
-
|
|
4830
|
+
}];
|
|
4831
|
+
readonly name: "getPriceOracles";
|
|
4832
|
+
readonly outputs: readonly [{
|
|
4833
|
+
readonly name: "";
|
|
4834
|
+
readonly internalType: "struct PriceOracleState[]";
|
|
4337
4835
|
readonly type: "tuple[]";
|
|
4338
4836
|
readonly components: readonly [{
|
|
4339
4837
|
readonly name: "baseParams";
|
|
@@ -4357,45 +4855,92 @@ export declare const iPriceFeedCompressorAbi: readonly [{
|
|
|
4357
4855
|
readonly type: "bytes";
|
|
4358
4856
|
}];
|
|
4359
4857
|
}, {
|
|
4360
|
-
readonly name: "
|
|
4361
|
-
readonly internalType: "
|
|
4362
|
-
readonly type: "
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
readonly name: "underlyingStalenessPeriods";
|
|
4381
|
-
readonly internalType: "uint32[]";
|
|
4382
|
-
readonly type: "uint32[]";
|
|
4858
|
+
readonly name: "priceFeedMap";
|
|
4859
|
+
readonly internalType: "struct PriceFeedMapEntry[]";
|
|
4860
|
+
readonly type: "tuple[]";
|
|
4861
|
+
readonly components: readonly [{
|
|
4862
|
+
readonly name: "token";
|
|
4863
|
+
readonly internalType: "address";
|
|
4864
|
+
readonly type: "address";
|
|
4865
|
+
}, {
|
|
4866
|
+
readonly name: "reserve";
|
|
4867
|
+
readonly internalType: "bool";
|
|
4868
|
+
readonly type: "bool";
|
|
4869
|
+
}, {
|
|
4870
|
+
readonly name: "priceFeed";
|
|
4871
|
+
readonly internalType: "address";
|
|
4872
|
+
readonly type: "address";
|
|
4873
|
+
}, {
|
|
4874
|
+
readonly name: "stalenessPeriod";
|
|
4875
|
+
readonly internalType: "uint32";
|
|
4876
|
+
readonly type: "uint32";
|
|
4877
|
+
}];
|
|
4383
4878
|
}, {
|
|
4384
|
-
readonly name: "
|
|
4385
|
-
readonly internalType: "struct
|
|
4386
|
-
readonly type: "tuple";
|
|
4879
|
+
readonly name: "priceFeedTree";
|
|
4880
|
+
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
4881
|
+
readonly type: "tuple[]";
|
|
4387
4882
|
readonly components: readonly [{
|
|
4388
|
-
readonly name: "
|
|
4389
|
-
readonly internalType: "
|
|
4390
|
-
readonly type: "
|
|
4883
|
+
readonly name: "baseParams";
|
|
4884
|
+
readonly internalType: "struct BaseParams";
|
|
4885
|
+
readonly type: "tuple";
|
|
4886
|
+
readonly components: readonly [{
|
|
4887
|
+
readonly name: "addr";
|
|
4888
|
+
readonly internalType: "address";
|
|
4889
|
+
readonly type: "address";
|
|
4890
|
+
}, {
|
|
4891
|
+
readonly name: "version";
|
|
4892
|
+
readonly internalType: "uint256";
|
|
4893
|
+
readonly type: "uint256";
|
|
4894
|
+
}, {
|
|
4895
|
+
readonly name: "contractType";
|
|
4896
|
+
readonly internalType: "bytes32";
|
|
4897
|
+
readonly type: "bytes32";
|
|
4898
|
+
}, {
|
|
4899
|
+
readonly name: "serializedParams";
|
|
4900
|
+
readonly internalType: "bytes";
|
|
4901
|
+
readonly type: "bytes";
|
|
4902
|
+
}];
|
|
4391
4903
|
}, {
|
|
4392
|
-
readonly name: "
|
|
4393
|
-
readonly internalType: "
|
|
4394
|
-
readonly type: "
|
|
4904
|
+
readonly name: "description";
|
|
4905
|
+
readonly internalType: "string";
|
|
4906
|
+
readonly type: "string";
|
|
4395
4907
|
}, {
|
|
4396
|
-
readonly name: "
|
|
4908
|
+
readonly name: "decimals";
|
|
4909
|
+
readonly internalType: "uint8";
|
|
4910
|
+
readonly type: "uint8";
|
|
4911
|
+
}, {
|
|
4912
|
+
readonly name: "skipCheck";
|
|
4913
|
+
readonly internalType: "bool";
|
|
4914
|
+
readonly type: "bool";
|
|
4915
|
+
}, {
|
|
4916
|
+
readonly name: "updatable";
|
|
4397
4917
|
readonly internalType: "bool";
|
|
4398
4918
|
readonly type: "bool";
|
|
4919
|
+
}, {
|
|
4920
|
+
readonly name: "underlyingFeeds";
|
|
4921
|
+
readonly internalType: "address[]";
|
|
4922
|
+
readonly type: "address[]";
|
|
4923
|
+
}, {
|
|
4924
|
+
readonly name: "underlyingStalenessPeriods";
|
|
4925
|
+
readonly internalType: "uint32[]";
|
|
4926
|
+
readonly type: "uint32[]";
|
|
4927
|
+
}, {
|
|
4928
|
+
readonly name: "answer";
|
|
4929
|
+
readonly internalType: "struct PriceFeedAnswer";
|
|
4930
|
+
readonly type: "tuple";
|
|
4931
|
+
readonly components: readonly [{
|
|
4932
|
+
readonly name: "price";
|
|
4933
|
+
readonly internalType: "int256";
|
|
4934
|
+
readonly type: "int256";
|
|
4935
|
+
}, {
|
|
4936
|
+
readonly name: "updatedAt";
|
|
4937
|
+
readonly internalType: "uint256";
|
|
4938
|
+
readonly type: "uint256";
|
|
4939
|
+
}, {
|
|
4940
|
+
readonly name: "success";
|
|
4941
|
+
readonly internalType: "bool";
|
|
4942
|
+
readonly type: "bool";
|
|
4943
|
+
}];
|
|
4399
4944
|
}];
|
|
4400
4945
|
}];
|
|
4401
4946
|
}];
|
|
@@ -4403,34 +4948,101 @@ export declare const iPriceFeedCompressorAbi: readonly [{
|
|
|
4403
4948
|
}, {
|
|
4404
4949
|
readonly type: "function";
|
|
4405
4950
|
readonly inputs: readonly [{
|
|
4406
|
-
readonly name: "
|
|
4407
|
-
readonly internalType: "address";
|
|
4408
|
-
readonly type: "address";
|
|
4951
|
+
readonly name: "priceFeeds";
|
|
4952
|
+
readonly internalType: "address[]";
|
|
4953
|
+
readonly type: "address[]";
|
|
4409
4954
|
}];
|
|
4410
|
-
readonly name: "
|
|
4955
|
+
readonly name: "getUpdatablePriceFeeds";
|
|
4411
4956
|
readonly outputs: readonly [{
|
|
4412
|
-
readonly name: "
|
|
4413
|
-
readonly internalType: "struct
|
|
4957
|
+
readonly name: "";
|
|
4958
|
+
readonly internalType: "struct BaseParams[]";
|
|
4414
4959
|
readonly type: "tuple[]";
|
|
4415
4960
|
readonly components: readonly [{
|
|
4416
|
-
readonly name: "
|
|
4961
|
+
readonly name: "addr";
|
|
4417
4962
|
readonly internalType: "address";
|
|
4418
4963
|
readonly type: "address";
|
|
4419
4964
|
}, {
|
|
4420
|
-
readonly name: "
|
|
4421
|
-
readonly internalType: "
|
|
4422
|
-
readonly type: "
|
|
4965
|
+
readonly name: "version";
|
|
4966
|
+
readonly internalType: "uint256";
|
|
4967
|
+
readonly type: "uint256";
|
|
4968
|
+
}, {
|
|
4969
|
+
readonly name: "contractType";
|
|
4970
|
+
readonly internalType: "bytes32";
|
|
4971
|
+
readonly type: "bytes32";
|
|
4972
|
+
}, {
|
|
4973
|
+
readonly name: "serializedParams";
|
|
4974
|
+
readonly internalType: "bytes";
|
|
4975
|
+
readonly type: "bytes";
|
|
4976
|
+
}];
|
|
4977
|
+
}];
|
|
4978
|
+
readonly stateMutability: "view";
|
|
4979
|
+
}, {
|
|
4980
|
+
readonly type: "function";
|
|
4981
|
+
readonly inputs: readonly [{
|
|
4982
|
+
readonly name: "filter";
|
|
4983
|
+
readonly internalType: "struct MarketFilter";
|
|
4984
|
+
readonly type: "tuple";
|
|
4985
|
+
readonly components: readonly [{
|
|
4986
|
+
readonly name: "configurators";
|
|
4987
|
+
readonly internalType: "address[]";
|
|
4988
|
+
readonly type: "address[]";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly name: "pools";
|
|
4991
|
+
readonly internalType: "address[]";
|
|
4992
|
+
readonly type: "address[]";
|
|
4423
4993
|
}, {
|
|
4424
|
-
readonly name: "
|
|
4994
|
+
readonly name: "underlying";
|
|
4995
|
+
readonly internalType: "address";
|
|
4996
|
+
readonly type: "address";
|
|
4997
|
+
}];
|
|
4998
|
+
}];
|
|
4999
|
+
readonly name: "getUpdatablePriceFeeds";
|
|
5000
|
+
readonly outputs: readonly [{
|
|
5001
|
+
readonly name: "";
|
|
5002
|
+
readonly internalType: "struct BaseParams[]";
|
|
5003
|
+
readonly type: "tuple[]";
|
|
5004
|
+
readonly components: readonly [{
|
|
5005
|
+
readonly name: "addr";
|
|
4425
5006
|
readonly internalType: "address";
|
|
4426
5007
|
readonly type: "address";
|
|
4427
5008
|
}, {
|
|
4428
|
-
readonly name: "
|
|
4429
|
-
readonly internalType: "
|
|
4430
|
-
readonly type: "
|
|
5009
|
+
readonly name: "version";
|
|
5010
|
+
readonly internalType: "uint256";
|
|
5011
|
+
readonly type: "uint256";
|
|
5012
|
+
}, {
|
|
5013
|
+
readonly name: "contractType";
|
|
5014
|
+
readonly internalType: "bytes32";
|
|
5015
|
+
readonly type: "bytes32";
|
|
5016
|
+
}, {
|
|
5017
|
+
readonly name: "serializedParams";
|
|
5018
|
+
readonly internalType: "bytes";
|
|
5019
|
+
readonly type: "bytes";
|
|
4431
5020
|
}];
|
|
4432
|
-
}
|
|
4433
|
-
|
|
5021
|
+
}];
|
|
5022
|
+
readonly stateMutability: "view";
|
|
5023
|
+
}, {
|
|
5024
|
+
readonly type: "function";
|
|
5025
|
+
readonly inputs: readonly [{
|
|
5026
|
+
readonly name: "filter";
|
|
5027
|
+
readonly internalType: "struct MarketFilter";
|
|
5028
|
+
readonly type: "tuple";
|
|
5029
|
+
readonly components: readonly [{
|
|
5030
|
+
readonly name: "configurators";
|
|
5031
|
+
readonly internalType: "address[]";
|
|
5032
|
+
readonly type: "address[]";
|
|
5033
|
+
}, {
|
|
5034
|
+
readonly name: "pools";
|
|
5035
|
+
readonly internalType: "address[]";
|
|
5036
|
+
readonly type: "address[]";
|
|
5037
|
+
}, {
|
|
5038
|
+
readonly name: "underlying";
|
|
5039
|
+
readonly internalType: "address";
|
|
5040
|
+
readonly type: "address";
|
|
5041
|
+
}];
|
|
5042
|
+
}];
|
|
5043
|
+
readonly name: "loadPriceFeedTree";
|
|
5044
|
+
readonly outputs: readonly [{
|
|
5045
|
+
readonly name: "";
|
|
4434
5046
|
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
4435
5047
|
readonly type: "tuple[]";
|
|
4436
5048
|
readonly components: readonly [{
|
|
@@ -4507,7 +5119,7 @@ export declare const iPriceFeedCompressorAbi: readonly [{
|
|
|
4507
5119
|
}];
|
|
4508
5120
|
readonly name: "loadPriceFeedTree";
|
|
4509
5121
|
readonly outputs: readonly [{
|
|
4510
|
-
readonly name: "
|
|
5122
|
+
readonly name: "";
|
|
4511
5123
|
readonly internalType: "struct PriceFeedTreeNode[]";
|
|
4512
5124
|
readonly type: "tuple[]";
|
|
4513
5125
|
readonly components: readonly [{
|
|
@@ -4585,21 +5197,6 @@ export declare const iPriceFeedCompressorAbi: readonly [{
|
|
|
4585
5197
|
readonly type: "uint256";
|
|
4586
5198
|
}];
|
|
4587
5199
|
readonly stateMutability: "view";
|
|
4588
|
-
}, {
|
|
4589
|
-
readonly type: "event";
|
|
4590
|
-
readonly anonymous: false;
|
|
4591
|
-
readonly inputs: readonly [{
|
|
4592
|
-
readonly name: "contractType";
|
|
4593
|
-
readonly internalType: "bytes32";
|
|
4594
|
-
readonly type: "bytes32";
|
|
4595
|
-
readonly indexed: true;
|
|
4596
|
-
}, {
|
|
4597
|
-
readonly name: "serializer";
|
|
4598
|
-
readonly internalType: "address";
|
|
4599
|
-
readonly type: "address";
|
|
4600
|
-
readonly indexed: true;
|
|
4601
|
-
}];
|
|
4602
|
-
readonly name: "SetSerializer";
|
|
4603
5200
|
}];
|
|
4604
5201
|
export declare const iRewardsCompressorAbi: readonly [{
|
|
4605
5202
|
readonly type: "function";
|
|
@@ -4672,7 +5269,7 @@ export declare const iTokenCompressorAbi: readonly [{
|
|
|
4672
5269
|
}];
|
|
4673
5270
|
readonly name: "getTokenInfo";
|
|
4674
5271
|
readonly outputs: readonly [{
|
|
4675
|
-
readonly name: "
|
|
5272
|
+
readonly name: "";
|
|
4676
5273
|
readonly internalType: "struct TokenData";
|
|
4677
5274
|
readonly type: "tuple";
|
|
4678
5275
|
readonly components: readonly [{
|
|
@@ -4694,6 +5291,37 @@ export declare const iTokenCompressorAbi: readonly [{
|
|
|
4694
5291
|
}];
|
|
4695
5292
|
}];
|
|
4696
5293
|
readonly stateMutability: "view";
|
|
5294
|
+
}, {
|
|
5295
|
+
readonly type: "function";
|
|
5296
|
+
readonly inputs: readonly [{
|
|
5297
|
+
readonly name: "tokens";
|
|
5298
|
+
readonly internalType: "address[]";
|
|
5299
|
+
readonly type: "address[]";
|
|
5300
|
+
}];
|
|
5301
|
+
readonly name: "getTokens";
|
|
5302
|
+
readonly outputs: readonly [{
|
|
5303
|
+
readonly name: "";
|
|
5304
|
+
readonly internalType: "struct TokenData[]";
|
|
5305
|
+
readonly type: "tuple[]";
|
|
5306
|
+
readonly components: readonly [{
|
|
5307
|
+
readonly name: "addr";
|
|
5308
|
+
readonly internalType: "address";
|
|
5309
|
+
readonly type: "address";
|
|
5310
|
+
}, {
|
|
5311
|
+
readonly name: "symbol";
|
|
5312
|
+
readonly internalType: "string";
|
|
5313
|
+
readonly type: "string";
|
|
5314
|
+
}, {
|
|
5315
|
+
readonly name: "name";
|
|
5316
|
+
readonly internalType: "string";
|
|
5317
|
+
readonly type: "string";
|
|
5318
|
+
}, {
|
|
5319
|
+
readonly name: "decimals";
|
|
5320
|
+
readonly internalType: "uint8";
|
|
5321
|
+
readonly type: "uint8";
|
|
5322
|
+
}];
|
|
5323
|
+
}];
|
|
5324
|
+
readonly stateMutability: "view";
|
|
4697
5325
|
}, {
|
|
4698
5326
|
readonly type: "function";
|
|
4699
5327
|
readonly inputs: readonly [];
|