@1delta/abis 0.0.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.
@@ -0,0 +1,789 @@
1
+ export const venusCompoundV2ComptrollerAbi = [
2
+ { inputs: [], name: 'AlreadyInSelectedPool', type: 'error' },
3
+ { inputs: [], name: 'ArrayLengthMismatch', type: 'error' },
4
+ { inputs: [], name: 'BorrowNotAllowedInPool', type: 'error' },
5
+ { inputs: [], name: 'EmptyPoolLabel', type: 'error' },
6
+ { inputs: [], name: 'ExecuteFlashLoanFailed', type: 'error' },
7
+ { inputs: [], name: 'FailedToCreateDebtPosition', type: 'error' },
8
+ { inputs: [], name: 'FlashLoanNotEnabled', type: 'error' },
9
+ { inputs: [], name: 'FlashLoanPausedSystemWide', type: 'error' },
10
+ { inputs: [{ internalType: 'uint96', name: 'poolId', type: 'uint96' }], name: 'InactivePool', type: 'error' },
11
+ { inputs: [], name: 'IncompatibleBorrowedAssets', type: 'error' },
12
+ { inputs: [], name: 'InvalidAmount', type: 'error' },
13
+ { inputs: [], name: 'InvalidFlashLoanParams', type: 'error' },
14
+ { inputs: [], name: 'InvalidOperationForCorePool', type: 'error' },
15
+ {
16
+ inputs: [{ internalType: 'enum WeightFunction', name: 'strategy', type: 'uint8' }],
17
+ name: 'InvalidWeightingStrategy',
18
+ type: 'error',
19
+ },
20
+ {
21
+ inputs: [
22
+ { internalType: 'uint256', name: 'errorCode', type: 'uint256' },
23
+ { internalType: 'uint256', name: 'shortfall', type: 'uint256' },
24
+ ],
25
+ name: 'LiquidityCheckFailed',
26
+ type: 'error',
27
+ },
28
+ {
29
+ inputs: [
30
+ { internalType: 'uint96', name: 'poolId', type: 'uint96' },
31
+ { internalType: 'address', name: 'vToken', type: 'address' },
32
+ ],
33
+ name: 'MarketAlreadyListed',
34
+ type: 'error',
35
+ },
36
+ { inputs: [], name: 'MarketConfigNotFound', type: 'error' },
37
+ { inputs: [{ internalType: 'address', name: 'vToken', type: 'address' }], name: 'MarketNotListed', type: 'error' },
38
+ { inputs: [], name: 'MarketNotListedInCorePool', type: 'error' },
39
+ { inputs: [], name: 'NoAssetsRequested', type: 'error' },
40
+ { inputs: [], name: 'NotAnApprovedDelegate', type: 'error' },
41
+ {
42
+ inputs: [
43
+ { internalType: 'uint256', name: 'repaid', type: 'uint256' },
44
+ { internalType: 'uint256', name: 'required', type: 'uint256' },
45
+ ],
46
+ name: 'NotEnoughRepayment',
47
+ type: 'error',
48
+ },
49
+ { inputs: [{ internalType: 'uint96', name: 'poolId', type: 'uint96' }], name: 'PoolDoesNotExist', type: 'error' },
50
+ {
51
+ inputs: [
52
+ { internalType: 'uint96', name: 'poolId', type: 'uint96' },
53
+ { internalType: 'address', name: 'vToken', type: 'address' },
54
+ ],
55
+ name: 'PoolMarketNotFound',
56
+ type: 'error',
57
+ },
58
+ {
59
+ inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
60
+ name: 'SenderNotAuthorizedForFlashLoan',
61
+ type: 'error',
62
+ },
63
+ {
64
+ inputs: [
65
+ { internalType: 'uint256', name: 'requested', type: 'uint256' },
66
+ { internalType: 'uint256', name: 'maximum', type: 'uint256' },
67
+ ],
68
+ name: 'TooManyAssetsRequested',
69
+ type: 'error',
70
+ },
71
+ {
72
+ anonymous: false,
73
+ inputs: [
74
+ { indexed: true, internalType: 'address', name: 'approver', type: 'address' },
75
+ { indexed: true, internalType: 'address', name: 'delegate', type: 'address' },
76
+ { indexed: false, internalType: 'bool', name: 'approved', type: 'bool' },
77
+ ],
78
+ name: 'DelegateUpdated',
79
+ type: 'event',
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [{ indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }],
84
+ name: 'DistributedVAIVaultVenus',
85
+ type: 'event',
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ { indexed: false, internalType: 'uint256', name: 'error', type: 'uint256' },
91
+ { indexed: false, internalType: 'uint256', name: 'info', type: 'uint256' },
92
+ { indexed: false, internalType: 'uint256', name: 'detail', type: 'uint256' },
93
+ ],
94
+ name: 'Failure',
95
+ type: 'event',
96
+ },
97
+ {
98
+ anonymous: false,
99
+ inputs: [
100
+ { indexed: true, internalType: 'contract VToken', name: 'vToken', type: 'address' },
101
+ { indexed: true, internalType: 'address', name: 'account', type: 'address' },
102
+ ],
103
+ name: 'MarketEntered',
104
+ type: 'event',
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ { indexed: true, internalType: 'contract VToken', name: 'vToken', type: 'address' },
110
+ { indexed: true, internalType: 'address', name: 'account', type: 'address' },
111
+ ],
112
+ name: 'MarketExited',
113
+ type: 'event',
114
+ },
115
+ {
116
+ anonymous: false,
117
+ inputs: [{ indexed: true, internalType: 'contract VToken', name: 'vToken', type: 'address' }],
118
+ name: 'MarketListed',
119
+ type: 'event',
120
+ },
121
+ {
122
+ anonymous: false,
123
+ inputs: [{ indexed: true, internalType: 'address', name: 'vToken', type: 'address' }],
124
+ name: 'MarketUnlisted',
125
+ type: 'event',
126
+ },
127
+ {
128
+ anonymous: false,
129
+ inputs: [
130
+ { indexed: true, internalType: 'uint96', name: 'poolId', type: 'uint96' },
131
+ { indexed: false, internalType: 'string', name: 'label', type: 'string' },
132
+ ],
133
+ name: 'PoolCreated',
134
+ type: 'event',
135
+ },
136
+ {
137
+ anonymous: false,
138
+ inputs: [
139
+ { indexed: true, internalType: 'uint96', name: 'poolId', type: 'uint96' },
140
+ { indexed: true, internalType: 'address', name: 'market', type: 'address' },
141
+ ],
142
+ name: 'PoolMarketInitialized',
143
+ type: 'event',
144
+ },
145
+ {
146
+ anonymous: false,
147
+ inputs: [
148
+ { indexed: true, internalType: 'uint96', name: 'poolId', type: 'uint96' },
149
+ { indexed: true, internalType: 'address', name: 'vToken', type: 'address' },
150
+ ],
151
+ name: 'PoolMarketRemoved',
152
+ type: 'event',
153
+ },
154
+ {
155
+ anonymous: false,
156
+ inputs: [
157
+ { indexed: true, internalType: 'address', name: 'account', type: 'address' },
158
+ { indexed: false, internalType: 'uint96', name: 'previousPoolId', type: 'uint96' },
159
+ { indexed: true, internalType: 'uint96', name: 'newPoolId', type: 'uint96' },
160
+ ],
161
+ name: 'PoolSelected',
162
+ type: 'event',
163
+ },
164
+ {
165
+ inputs: [{ internalType: 'contract VToken', name: 'vToken', type: 'address' }],
166
+ name: '_supportMarket',
167
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
168
+ stateMutability: 'nonpayable',
169
+ type: 'function',
170
+ },
171
+ {
172
+ inputs: [
173
+ { internalType: 'address', name: '', type: 'address' },
174
+ { internalType: 'uint256', name: '', type: 'uint256' },
175
+ ],
176
+ name: 'accountAssets',
177
+ outputs: [{ internalType: 'contract VToken', name: '', type: 'address' }],
178
+ stateMutability: 'view',
179
+ type: 'function',
180
+ },
181
+ {
182
+ inputs: [
183
+ { internalType: 'address', name: 'market', type: 'address' },
184
+ { internalType: 'enum Action', name: 'action', type: 'uint8' },
185
+ ],
186
+ name: 'actionPaused',
187
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
188
+ stateMutability: 'view',
189
+ type: 'function',
190
+ },
191
+ {
192
+ inputs: [
193
+ { internalType: 'uint96[]', name: 'poolIds', type: 'uint96[]' },
194
+ { internalType: 'address[]', name: 'vTokens', type: 'address[]' },
195
+ ],
196
+ name: 'addPoolMarkets',
197
+ outputs: [],
198
+ stateMutability: 'nonpayable',
199
+ type: 'function',
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: 'admin',
204
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
205
+ stateMutability: 'view',
206
+ type: 'function',
207
+ },
208
+ {
209
+ inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
210
+ name: 'allMarkets',
211
+ outputs: [{ internalType: 'contract VToken', name: '', type: 'address' }],
212
+ stateMutability: 'view',
213
+ type: 'function',
214
+ },
215
+ {
216
+ inputs: [
217
+ { internalType: 'address', name: '', type: 'address' },
218
+ { internalType: 'address', name: '', type: 'address' },
219
+ ],
220
+ name: 'approvedDelegates',
221
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
222
+ stateMutability: 'view',
223
+ type: 'function',
224
+ },
225
+ {
226
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
227
+ name: 'authorizedFlashLoan',
228
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
229
+ stateMutability: 'view',
230
+ type: 'function',
231
+ },
232
+ {
233
+ inputs: [],
234
+ name: 'borrowCapGuardian',
235
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
236
+ stateMutability: 'view',
237
+ type: 'function',
238
+ },
239
+ {
240
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
241
+ name: 'borrowCaps',
242
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
243
+ stateMutability: 'view',
244
+ type: 'function',
245
+ },
246
+ {
247
+ inputs: [
248
+ { internalType: 'address', name: 'account', type: 'address' },
249
+ { internalType: 'contract VToken', name: 'vToken', type: 'address' },
250
+ ],
251
+ name: 'checkMembership',
252
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
253
+ stateMutability: 'view',
254
+ type: 'function',
255
+ },
256
+ {
257
+ inputs: [],
258
+ name: 'closeFactorMantissa',
259
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
260
+ stateMutability: 'view',
261
+ type: 'function',
262
+ },
263
+ {
264
+ inputs: [],
265
+ name: 'comptrollerImplementation',
266
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
267
+ stateMutability: 'view',
268
+ type: 'function',
269
+ },
270
+ {
271
+ inputs: [],
272
+ name: 'comptrollerLens',
273
+ outputs: [{ internalType: 'contract ComptrollerLensInterface', name: '', type: 'address' }],
274
+ stateMutability: 'view',
275
+ type: 'function',
276
+ },
277
+ {
278
+ inputs: [],
279
+ name: 'corePoolId',
280
+ outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
281
+ stateMutability: 'view',
282
+ type: 'function',
283
+ },
284
+ {
285
+ inputs: [{ internalType: 'string', name: 'label', type: 'string' }],
286
+ name: 'createPool',
287
+ outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
288
+ stateMutability: 'nonpayable',
289
+ type: 'function',
290
+ },
291
+ {
292
+ inputs: [{ internalType: 'address[]', name: 'vTokens', type: 'address[]' }],
293
+ name: 'enterMarkets',
294
+ outputs: [{ internalType: 'uint256[]', name: '', type: 'uint256[]' }],
295
+ stateMutability: 'nonpayable',
296
+ type: 'function',
297
+ },
298
+ {
299
+ inputs: [{ internalType: 'uint96', name: 'poolId', type: 'uint96' }],
300
+ name: 'enterPool',
301
+ outputs: [],
302
+ stateMutability: 'nonpayable',
303
+ type: 'function',
304
+ },
305
+ {
306
+ inputs: [{ internalType: 'address', name: 'vTokenAddress', type: 'address' }],
307
+ name: 'exitMarket',
308
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
309
+ stateMutability: 'nonpayable',
310
+ type: 'function',
311
+ },
312
+ {
313
+ inputs: [],
314
+ name: 'flashLoanPaused',
315
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
316
+ stateMutability: 'view',
317
+ type: 'function',
318
+ },
319
+ {
320
+ inputs: [],
321
+ name: 'getAllMarkets',
322
+ outputs: [{ internalType: 'contract VToken[]', name: '', type: 'address[]' }],
323
+ stateMutability: 'view',
324
+ type: 'function',
325
+ },
326
+ {
327
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
328
+ name: 'getAssetsIn',
329
+ outputs: [{ internalType: 'contract VToken[]', name: '', type: 'address[]' }],
330
+ stateMutability: 'view',
331
+ type: 'function',
332
+ },
333
+ {
334
+ inputs: [{ internalType: 'address', name: 'vToken', type: 'address' }],
335
+ name: 'getCollateralFactor',
336
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
337
+ stateMutability: 'view',
338
+ type: 'function',
339
+ },
340
+ {
341
+ inputs: [
342
+ { internalType: 'address', name: 'account', type: 'address' },
343
+ { internalType: 'address', name: 'vToken', type: 'address' },
344
+ ],
345
+ name: 'getEffectiveLiquidationIncentive',
346
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
347
+ stateMutability: 'view',
348
+ type: 'function',
349
+ },
350
+ {
351
+ inputs: [
352
+ { internalType: 'address', name: 'account', type: 'address' },
353
+ { internalType: 'address', name: 'vToken', type: 'address' },
354
+ { internalType: 'enum WeightFunction', name: 'weightingStrategy', type: 'uint8' },
355
+ ],
356
+ name: 'getEffectiveLtvFactor',
357
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
358
+ stateMutability: 'view',
359
+ type: 'function',
360
+ },
361
+ {
362
+ inputs: [{ internalType: 'address', name: 'vToken', type: 'address' }],
363
+ name: 'getLiquidationIncentive',
364
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
365
+ stateMutability: 'view',
366
+ type: 'function',
367
+ },
368
+ {
369
+ inputs: [{ internalType: 'address', name: 'vToken', type: 'address' }],
370
+ name: 'getLiquidationThreshold',
371
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
372
+ stateMutability: 'view',
373
+ type: 'function',
374
+ },
375
+ {
376
+ inputs: [
377
+ { internalType: 'uint96', name: 'poolId', type: 'uint96' },
378
+ { internalType: 'address', name: 'vToken', type: 'address' },
379
+ ],
380
+ name: 'getPoolMarketIndex',
381
+ outputs: [{ internalType: 'PoolMarketId', name: '', type: 'bytes32' }],
382
+ stateMutability: 'pure',
383
+ type: 'function',
384
+ },
385
+ {
386
+ inputs: [{ internalType: 'uint96', name: 'poolId', type: 'uint96' }],
387
+ name: 'getPoolVTokens',
388
+ outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }],
389
+ stateMutability: 'view',
390
+ type: 'function',
391
+ },
392
+ {
393
+ inputs: [],
394
+ name: 'getXVSAddress',
395
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
396
+ stateMutability: 'view',
397
+ type: 'function',
398
+ },
399
+ {
400
+ inputs: [
401
+ { internalType: 'address', name: 'account', type: 'address' },
402
+ { internalType: 'uint96', name: 'targetPoolId', type: 'uint96' },
403
+ ],
404
+ name: 'hasValidPoolBorrows',
405
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
406
+ stateMutability: 'view',
407
+ type: 'function',
408
+ },
409
+ {
410
+ inputs: [],
411
+ name: 'isComptroller',
412
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
413
+ stateMutability: 'pure',
414
+ type: 'function',
415
+ },
416
+ {
417
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
418
+ name: 'isForcedLiquidationEnabled',
419
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
420
+ stateMutability: 'view',
421
+ type: 'function',
422
+ },
423
+ {
424
+ inputs: [
425
+ { internalType: 'address', name: 'user', type: 'address' },
426
+ { internalType: 'address', name: 'market', type: 'address' },
427
+ ],
428
+ name: 'isForcedLiquidationEnabledForUser',
429
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
430
+ stateMutability: 'view',
431
+ type: 'function',
432
+ },
433
+ {
434
+ inputs: [{ internalType: 'contract VToken', name: 'vToken', type: 'address' }],
435
+ name: 'isMarketListed',
436
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
437
+ stateMutability: 'view',
438
+ type: 'function',
439
+ },
440
+ {
441
+ inputs: [],
442
+ name: 'lastPoolId',
443
+ outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
444
+ stateMutability: 'view',
445
+ type: 'function',
446
+ },
447
+ {
448
+ inputs: [
449
+ { internalType: 'address', name: 'borrower', type: 'address' },
450
+ { internalType: 'address', name: 'vTokenBorrowed', type: 'address' },
451
+ { internalType: 'address', name: 'vTokenCollateral', type: 'address' },
452
+ { internalType: 'uint256', name: 'actualRepayAmount', type: 'uint256' },
453
+ ],
454
+ name: 'liquidateCalculateSeizeTokens',
455
+ outputs: [
456
+ { internalType: 'uint256', name: '', type: 'uint256' },
457
+ { internalType: 'uint256', name: '', type: 'uint256' },
458
+ ],
459
+ stateMutability: 'view',
460
+ type: 'function',
461
+ },
462
+ {
463
+ inputs: [
464
+ { internalType: 'address', name: 'vTokenBorrowed', type: 'address' },
465
+ { internalType: 'address', name: 'vTokenCollateral', type: 'address' },
466
+ { internalType: 'uint256', name: 'actualRepayAmount', type: 'uint256' },
467
+ ],
468
+ name: 'liquidateCalculateSeizeTokens',
469
+ outputs: [
470
+ { internalType: 'uint256', name: '', type: 'uint256' },
471
+ { internalType: 'uint256', name: '', type: 'uint256' },
472
+ ],
473
+ stateMutability: 'view',
474
+ type: 'function',
475
+ },
476
+ {
477
+ inputs: [
478
+ { internalType: 'address', name: 'vTokenCollateral', type: 'address' },
479
+ { internalType: 'uint256', name: 'actualRepayAmount', type: 'uint256' },
480
+ ],
481
+ name: 'liquidateVAICalculateSeizeTokens',
482
+ outputs: [
483
+ { internalType: 'uint256', name: '', type: 'uint256' },
484
+ { internalType: 'uint256', name: '', type: 'uint256' },
485
+ ],
486
+ stateMutability: 'view',
487
+ type: 'function',
488
+ },
489
+ {
490
+ inputs: [],
491
+ name: 'liquidatorContract',
492
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
493
+ stateMutability: 'view',
494
+ type: 'function',
495
+ },
496
+ {
497
+ inputs: [{ internalType: 'address', name: 'vToken', type: 'address' }],
498
+ name: 'markets',
499
+ outputs: [
500
+ { internalType: 'bool', name: 'isListed', type: 'bool' },
501
+ { internalType: 'uint256', name: 'collateralFactorMantissa', type: 'uint256' },
502
+ { internalType: 'bool', name: 'isVenus', type: 'bool' },
503
+ { internalType: 'uint256', name: 'liquidationThresholdMantissa', type: 'uint256' },
504
+ { internalType: 'uint256', name: 'liquidationIncentiveMantissa', type: 'uint256' },
505
+ { internalType: 'uint96', name: 'marketPoolId', type: 'uint96' },
506
+ { internalType: 'bool', name: 'isBorrowAllowed', type: 'bool' },
507
+ ],
508
+ stateMutability: 'view',
509
+ type: 'function',
510
+ },
511
+ {
512
+ inputs: [],
513
+ name: 'maxAssets',
514
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
515
+ stateMutability: 'view',
516
+ type: 'function',
517
+ },
518
+ {
519
+ inputs: [],
520
+ name: 'minReleaseAmount',
521
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
522
+ stateMutability: 'view',
523
+ type: 'function',
524
+ },
525
+ {
526
+ inputs: [],
527
+ name: 'mintVAIGuardianPaused',
528
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
529
+ stateMutability: 'view',
530
+ type: 'function',
531
+ },
532
+ {
533
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
534
+ name: 'mintedVAIs',
535
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
536
+ stateMutability: 'view',
537
+ type: 'function',
538
+ },
539
+ {
540
+ inputs: [],
541
+ name: 'oracle',
542
+ outputs: [{ internalType: 'contract ResilientOracleInterface', name: '', type: 'address' }],
543
+ stateMutability: 'view',
544
+ type: 'function',
545
+ },
546
+ {
547
+ inputs: [],
548
+ name: 'pauseGuardian',
549
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
550
+ stateMutability: 'view',
551
+ type: 'function',
552
+ },
553
+ {
554
+ inputs: [],
555
+ name: 'pendingAdmin',
556
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
557
+ stateMutability: 'view',
558
+ type: 'function',
559
+ },
560
+ {
561
+ inputs: [],
562
+ name: 'pendingComptrollerImplementation',
563
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
564
+ stateMutability: 'view',
565
+ type: 'function',
566
+ },
567
+ {
568
+ inputs: [
569
+ { internalType: 'uint96', name: 'poolId', type: 'uint96' },
570
+ { internalType: 'address', name: 'vToken', type: 'address' },
571
+ ],
572
+ name: 'poolMarkets',
573
+ outputs: [
574
+ { internalType: 'bool', name: 'isListed', type: 'bool' },
575
+ { internalType: 'uint256', name: 'collateralFactorMantissa', type: 'uint256' },
576
+ { internalType: 'bool', name: 'isVenus', type: 'bool' },
577
+ { internalType: 'uint256', name: 'liquidationThresholdMantissa', type: 'uint256' },
578
+ { internalType: 'uint256', name: 'liquidationIncentiveMantissa', type: 'uint256' },
579
+ { internalType: 'uint96', name: 'marketPoolId', type: 'uint96' },
580
+ { internalType: 'bool', name: 'isBorrowAllowed', type: 'bool' },
581
+ ],
582
+ stateMutability: 'view',
583
+ type: 'function',
584
+ },
585
+ {
586
+ inputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
587
+ name: 'pools',
588
+ outputs: [
589
+ { internalType: 'string', name: 'label', type: 'string' },
590
+ { internalType: 'bool', name: 'isActive', type: 'bool' },
591
+ { internalType: 'bool', name: 'allowCorePoolFallback', type: 'bool' },
592
+ ],
593
+ stateMutability: 'view',
594
+ type: 'function',
595
+ },
596
+ {
597
+ inputs: [],
598
+ name: 'prime',
599
+ outputs: [{ internalType: 'contract IPrime', name: '', type: 'address' }],
600
+ stateMutability: 'view',
601
+ type: 'function',
602
+ },
603
+ {
604
+ inputs: [],
605
+ name: 'protocolPaused',
606
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
607
+ stateMutability: 'view',
608
+ type: 'function',
609
+ },
610
+ {
611
+ inputs: [],
612
+ name: 'releaseStartBlock',
613
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
614
+ stateMutability: 'view',
615
+ type: 'function',
616
+ },
617
+ {
618
+ inputs: [
619
+ { internalType: 'uint96', name: 'poolId', type: 'uint96' },
620
+ { internalType: 'address', name: 'vToken', type: 'address' },
621
+ ],
622
+ name: 'removePoolMarket',
623
+ outputs: [],
624
+ stateMutability: 'nonpayable',
625
+ type: 'function',
626
+ },
627
+ {
628
+ inputs: [],
629
+ name: 'repayVAIGuardianPaused',
630
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
631
+ stateMutability: 'view',
632
+ type: 'function',
633
+ },
634
+ {
635
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
636
+ name: 'supplyCaps',
637
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
638
+ stateMutability: 'view',
639
+ type: 'function',
640
+ },
641
+ {
642
+ inputs: [{ internalType: 'contract VToken', name: 'vToken', type: 'address' }],
643
+ name: 'supportMarket',
644
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
645
+ stateMutability: 'nonpayable',
646
+ type: 'function',
647
+ },
648
+ {
649
+ inputs: [],
650
+ name: 'treasuryAddress',
651
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
652
+ stateMutability: 'view',
653
+ type: 'function',
654
+ },
655
+ {
656
+ inputs: [],
657
+ name: 'treasuryGuardian',
658
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
659
+ stateMutability: 'view',
660
+ type: 'function',
661
+ },
662
+ {
663
+ inputs: [],
664
+ name: 'treasuryPercent',
665
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
666
+ stateMutability: 'view',
667
+ type: 'function',
668
+ },
669
+ {
670
+ inputs: [{ internalType: 'address', name: 'market', type: 'address' }],
671
+ name: 'unlistMarket',
672
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
673
+ stateMutability: 'nonpayable',
674
+ type: 'function',
675
+ },
676
+ {
677
+ inputs: [
678
+ { internalType: 'address', name: 'delegate', type: 'address' },
679
+ { internalType: 'bool', name: 'approved', type: 'bool' },
680
+ ],
681
+ name: 'updateDelegate',
682
+ outputs: [],
683
+ stateMutability: 'nonpayable',
684
+ type: 'function',
685
+ },
686
+ {
687
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
688
+ name: 'userPoolId',
689
+ outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
690
+ stateMutability: 'view',
691
+ type: 'function',
692
+ },
693
+ {
694
+ inputs: [],
695
+ name: 'vaiController',
696
+ outputs: [{ internalType: 'contract VAIControllerInterface', name: '', type: 'address' }],
697
+ stateMutability: 'view',
698
+ type: 'function',
699
+ },
700
+ {
701
+ inputs: [],
702
+ name: 'vaiMintRate',
703
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
704
+ stateMutability: 'view',
705
+ type: 'function',
706
+ },
707
+ {
708
+ inputs: [],
709
+ name: 'vaiVaultAddress',
710
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
711
+ stateMutability: 'view',
712
+ type: 'function',
713
+ },
714
+ {
715
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
716
+ name: 'venusAccrued',
717
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
718
+ stateMutability: 'view',
719
+ type: 'function',
720
+ },
721
+ {
722
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
723
+ name: 'venusBorrowSpeeds',
724
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
725
+ stateMutability: 'view',
726
+ type: 'function',
727
+ },
728
+ {
729
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
730
+ name: 'venusBorrowState',
731
+ outputs: [
732
+ { internalType: 'uint224', name: 'index', type: 'uint224' },
733
+ { internalType: 'uint32', name: 'block', type: 'uint32' },
734
+ ],
735
+ stateMutability: 'view',
736
+ type: 'function',
737
+ },
738
+ {
739
+ inputs: [
740
+ { internalType: 'address', name: '', type: 'address' },
741
+ { internalType: 'address', name: '', type: 'address' },
742
+ ],
743
+ name: 'venusBorrowerIndex',
744
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
745
+ stateMutability: 'view',
746
+ type: 'function',
747
+ },
748
+ {
749
+ inputs: [],
750
+ name: 'venusInitialIndex',
751
+ outputs: [{ internalType: 'uint224', name: '', type: 'uint224' }],
752
+ stateMutability: 'view',
753
+ type: 'function',
754
+ },
755
+ {
756
+ inputs: [
757
+ { internalType: 'address', name: '', type: 'address' },
758
+ { internalType: 'address', name: '', type: 'address' },
759
+ ],
760
+ name: 'venusSupplierIndex',
761
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
762
+ stateMutability: 'view',
763
+ type: 'function',
764
+ },
765
+ {
766
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
767
+ name: 'venusSupplySpeeds',
768
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
769
+ stateMutability: 'view',
770
+ type: 'function',
771
+ },
772
+ {
773
+ inputs: [{ internalType: 'address', name: '', type: 'address' }],
774
+ name: 'venusSupplyState',
775
+ outputs: [
776
+ { internalType: 'uint224', name: 'index', type: 'uint224' },
777
+ { internalType: 'uint32', name: 'block', type: 'uint32' },
778
+ ],
779
+ stateMutability: 'view',
780
+ type: 'function',
781
+ },
782
+ {
783
+ inputs: [],
784
+ name: 'venusVAIVaultRate',
785
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
786
+ stateMutability: 'view',
787
+ type: 'function',
788
+ },
789
+ ] as const