defi-state-querier 0.5.33__py3-none-any.whl → 0.5.34__py3-none-any.whl

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.
Files changed (42) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/lending/venus/venus_comptroller_optimism_abi.py +2125 -0
  3. defi_services/abis/lending/yldr/__init__.py +0 -0
  4. defi_services/abis/lending/yldr/yldr_lending_abi.py +1725 -0
  5. defi_services/constants/chain_constant.py +4 -0
  6. defi_services/constants/entities/lending_constant.py +2 -1
  7. defi_services/constants/entities/lending_services.py +5 -2
  8. defi_services/jobs/queriers/state_querier.py +1 -1
  9. defi_services/services/lending/aave_v3_services.py +11 -1
  10. defi_services/services/lending/lending_info/arbitrum/venus_arbitrum.py +46 -2
  11. defi_services/services/lending/lending_info/arbitrum/yldr_arbitrum.py +51 -2
  12. defi_services/services/lending/lending_info/avalanche/benqi_avalanche.py +2 -2
  13. defi_services/services/lending/lending_info/base/venus_base.py +42 -0
  14. defi_services/services/lending/lending_info/celo/__init__.py +0 -0
  15. defi_services/services/lending/lending_info/celo/aave_v3_celo.py +47 -0
  16. defi_services/services/lending/lending_info/ethereum/spark_eth.py +1 -1
  17. defi_services/services/lending/lending_info/ethereum/venus_eth.py +124 -2
  18. defi_services/services/lending/lending_info/ethereum/yldr_ethereum.py +38 -2
  19. defi_services/services/lending/lending_info/gnosis/__init__.py +0 -0
  20. defi_services/services/lending/lending_info/gnosis/aave_v3_gnoisis.py +69 -0
  21. defi_services/services/lending/lending_info/gnosis/spark_gnosis.py +75 -0
  22. defi_services/services/lending/lending_info/harmony/__init__.py +0 -0
  23. defi_services/services/lending/lending_info/harmony/aave_v3_harmony.py +69 -0
  24. defi_services/services/lending/lending_info/opBNB/__init__.py +0 -0
  25. defi_services/services/lending/lending_info/opBNB/venus_opbnb.py +42 -0
  26. defi_services/services/lending/lending_info/optimism/moonwell_optimism.py +86 -0
  27. defi_services/services/lending/lending_info/optimism/venus_optimism.py +42 -0
  28. defi_services/services/lending/lending_info/scroll/__init__.py +0 -0
  29. defi_services/services/lending/lending_info/scroll/aave_v3_scroll.py +48 -0
  30. defi_services/services/lending/lending_info/sonic/__init__.py +0 -0
  31. defi_services/services/lending/lending_info/sonic/aave_v3_sonic.py +41 -0
  32. defi_services/services/lending/lending_info/zksync/venus_zksync.py +58 -2
  33. defi_services/services/lending/moonwell_service.py +3 -1
  34. defi_services/services/lending/spark_services.py +3 -1
  35. defi_services/services/lending/venus_services.py +18 -2
  36. defi_services/services/lending/xlend_services.py +2 -10
  37. defi_services/services/lending/yldr_services.py +394 -0
  38. {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.34.dist-info}/METADATA +1 -1
  39. {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.34.dist-info}/RECORD +42 -23
  40. {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.34.dist-info}/WHEEL +1 -1
  41. {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.34.dist-info}/licenses/LICENSE +0 -0
  42. {defi_state_querier-0.5.33.dist-info → defi_state_querier-0.5.34.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2125 @@
1
+ import json
2
+
3
+ VENUS_COMPTROLLER_OP_ABI = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "poolRegistry_",
10
+ "type": "address"
11
+ }
12
+ ],
13
+ "stateMutability": "nonpayable",
14
+ "type": "constructor"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "address",
20
+ "name": "market",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "enum Action",
25
+ "name": "action",
26
+ "type": "uint8"
27
+ }
28
+ ],
29
+ "name": "ActionPaused",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "BorrowActionNotPaused",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "market",
42
+ "type": "address"
43
+ },
44
+ {
45
+ "internalType": "uint256",
46
+ "name": "cap",
47
+ "type": "uint256"
48
+ }
49
+ ],
50
+ "name": "BorrowCapExceeded",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "BorrowCapIsNotZero",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "expectedLessThanOrEqualTo",
63
+ "type": "uint256"
64
+ },
65
+ {
66
+ "internalType": "uint256",
67
+ "name": "actual",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "CollateralExceedsThreshold",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "CollateralFactorIsNotZero",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "ComptrollerMismatch",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "DelegationStatusUnchanged",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "EnterMarketActionNotPaused",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "ExitMarketActionNotPaused",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "collateralToSeize",
104
+ "type": "uint256"
105
+ },
106
+ {
107
+ "internalType": "uint256",
108
+ "name": "availableCollateral",
109
+ "type": "uint256"
110
+ }
111
+ ],
112
+ "name": "InsufficientCollateral",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "InsufficientLiquidity",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "InsufficientShortfall",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "InvalidCollateralFactor",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidLiquidationThreshold",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "LiquidateActionNotPaused",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "market",
145
+ "type": "address"
146
+ }
147
+ ],
148
+ "name": "MarketAlreadyListed",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "vToken",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "address",
160
+ "name": "user",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "MarketNotCollateral",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "market",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "MarketNotListed",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "uint256",
182
+ "name": "loopsLimit",
183
+ "type": "uint256"
184
+ },
185
+ {
186
+ "internalType": "uint256",
187
+ "name": "requiredLoops",
188
+ "type": "uint256"
189
+ }
190
+ ],
191
+ "name": "MaxLoopsLimitExceeded",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "expectedGreaterThan",
199
+ "type": "uint256"
200
+ },
201
+ {
202
+ "internalType": "uint256",
203
+ "name": "actual",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "MinimalCollateralViolated",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "MintActionNotPaused",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "NonzeroBorrowBalance",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "vToken",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "PriceError",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "RedeemActionNotPaused",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "RepayActionNotPaused",
239
+ "type": "error"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "SeizeActionNotPaused",
244
+ "type": "error"
245
+ },
246
+ {
247
+ "inputs": [
248
+ {
249
+ "internalType": "address",
250
+ "name": "vToken",
251
+ "type": "address"
252
+ },
253
+ {
254
+ "internalType": "address",
255
+ "name": "user",
256
+ "type": "address"
257
+ }
258
+ ],
259
+ "name": "SnapshotError",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "market",
267
+ "type": "address"
268
+ },
269
+ {
270
+ "internalType": "uint256",
271
+ "name": "cap",
272
+ "type": "uint256"
273
+ }
274
+ ],
275
+ "name": "SupplyCapExceeded",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "SupplyCapIsNotZero",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "TooMuchRepay",
286
+ "type": "error"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "TransferActionNotPaused",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "address",
297
+ "name": "sender",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "address",
302
+ "name": "calledContract",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "string",
307
+ "name": "methodSignature",
308
+ "type": "string"
309
+ }
310
+ ],
311
+ "name": "Unauthorized",
312
+ "type": "error"
313
+ },
314
+ {
315
+ "inputs": [
316
+ {
317
+ "internalType": "address",
318
+ "name": "expectedSender",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "address",
323
+ "name": "actualSender",
324
+ "type": "address"
325
+ }
326
+ ],
327
+ "name": "UnexpectedSender",
328
+ "type": "error"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "ZeroAddressNotAllowed",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": false,
340
+ "internalType": "contract VToken",
341
+ "name": "vToken",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "enum Action",
347
+ "name": "action",
348
+ "type": "uint8"
349
+ },
350
+ {
351
+ "indexed": false,
352
+ "internalType": "bool",
353
+ "name": "pauseState",
354
+ "type": "bool"
355
+ }
356
+ ],
357
+ "name": "ActionPausedMarket",
358
+ "type": "event"
359
+ },
360
+ {
361
+ "anonymous": false,
362
+ "inputs": [
363
+ {
364
+ "indexed": true,
365
+ "internalType": "address",
366
+ "name": "approver",
367
+ "type": "address"
368
+ },
369
+ {
370
+ "indexed": true,
371
+ "internalType": "address",
372
+ "name": "delegate",
373
+ "type": "address"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "bool",
378
+ "name": "approved",
379
+ "type": "bool"
380
+ }
381
+ ],
382
+ "name": "DelegateUpdated",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": false,
390
+ "internalType": "uint8",
391
+ "name": "version",
392
+ "type": "uint8"
393
+ }
394
+ ],
395
+ "name": "Initialized",
396
+ "type": "event"
397
+ },
398
+ {
399
+ "anonymous": false,
400
+ "inputs": [
401
+ {
402
+ "indexed": true,
403
+ "internalType": "address",
404
+ "name": "vToken",
405
+ "type": "address"
406
+ },
407
+ {
408
+ "indexed": false,
409
+ "internalType": "bool",
410
+ "name": "enable",
411
+ "type": "bool"
412
+ }
413
+ ],
414
+ "name": "IsForcedLiquidationEnabledUpdated",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": true,
422
+ "internalType": "contract VToken",
423
+ "name": "vToken",
424
+ "type": "address"
425
+ },
426
+ {
427
+ "indexed": true,
428
+ "internalType": "address",
429
+ "name": "account",
430
+ "type": "address"
431
+ }
432
+ ],
433
+ "name": "MarketEntered",
434
+ "type": "event"
435
+ },
436
+ {
437
+ "anonymous": false,
438
+ "inputs": [
439
+ {
440
+ "indexed": true,
441
+ "internalType": "contract VToken",
442
+ "name": "vToken",
443
+ "type": "address"
444
+ },
445
+ {
446
+ "indexed": true,
447
+ "internalType": "address",
448
+ "name": "account",
449
+ "type": "address"
450
+ }
451
+ ],
452
+ "name": "MarketExited",
453
+ "type": "event"
454
+ },
455
+ {
456
+ "anonymous": false,
457
+ "inputs": [
458
+ {
459
+ "indexed": false,
460
+ "internalType": "contract VToken",
461
+ "name": "vToken",
462
+ "type": "address"
463
+ }
464
+ ],
465
+ "name": "MarketSupported",
466
+ "type": "event"
467
+ },
468
+ {
469
+ "anonymous": false,
470
+ "inputs": [
471
+ {
472
+ "indexed": true,
473
+ "internalType": "address",
474
+ "name": "vToken",
475
+ "type": "address"
476
+ }
477
+ ],
478
+ "name": "MarketUnlisted",
479
+ "type": "event"
480
+ },
481
+ {
482
+ "anonymous": false,
483
+ "inputs": [
484
+ {
485
+ "indexed": false,
486
+ "internalType": "uint256",
487
+ "name": "oldMaxLoopsLimit",
488
+ "type": "uint256"
489
+ },
490
+ {
491
+ "indexed": false,
492
+ "internalType": "uint256",
493
+ "name": "newmaxLoopsLimit",
494
+ "type": "uint256"
495
+ }
496
+ ],
497
+ "name": "MaxLoopsLimitUpdated",
498
+ "type": "event"
499
+ },
500
+ {
501
+ "anonymous": false,
502
+ "inputs": [
503
+ {
504
+ "indexed": false,
505
+ "internalType": "address",
506
+ "name": "oldAccessControlManager",
507
+ "type": "address"
508
+ },
509
+ {
510
+ "indexed": false,
511
+ "internalType": "address",
512
+ "name": "newAccessControlManager",
513
+ "type": "address"
514
+ }
515
+ ],
516
+ "name": "NewAccessControlManager",
517
+ "type": "event"
518
+ },
519
+ {
520
+ "anonymous": false,
521
+ "inputs": [
522
+ {
523
+ "indexed": true,
524
+ "internalType": "contract VToken",
525
+ "name": "vToken",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "indexed": false,
530
+ "internalType": "uint256",
531
+ "name": "newBorrowCap",
532
+ "type": "uint256"
533
+ }
534
+ ],
535
+ "name": "NewBorrowCap",
536
+ "type": "event"
537
+ },
538
+ {
539
+ "anonymous": false,
540
+ "inputs": [
541
+ {
542
+ "indexed": false,
543
+ "internalType": "uint256",
544
+ "name": "oldCloseFactorMantissa",
545
+ "type": "uint256"
546
+ },
547
+ {
548
+ "indexed": false,
549
+ "internalType": "uint256",
550
+ "name": "newCloseFactorMantissa",
551
+ "type": "uint256"
552
+ }
553
+ ],
554
+ "name": "NewCloseFactor",
555
+ "type": "event"
556
+ },
557
+ {
558
+ "anonymous": false,
559
+ "inputs": [
560
+ {
561
+ "indexed": false,
562
+ "internalType": "contract VToken",
563
+ "name": "vToken",
564
+ "type": "address"
565
+ },
566
+ {
567
+ "indexed": false,
568
+ "internalType": "uint256",
569
+ "name": "oldCollateralFactorMantissa",
570
+ "type": "uint256"
571
+ },
572
+ {
573
+ "indexed": false,
574
+ "internalType": "uint256",
575
+ "name": "newCollateralFactorMantissa",
576
+ "type": "uint256"
577
+ }
578
+ ],
579
+ "name": "NewCollateralFactor",
580
+ "type": "event"
581
+ },
582
+ {
583
+ "anonymous": false,
584
+ "inputs": [
585
+ {
586
+ "indexed": false,
587
+ "internalType": "uint256",
588
+ "name": "oldLiquidationIncentiveMantissa",
589
+ "type": "uint256"
590
+ },
591
+ {
592
+ "indexed": false,
593
+ "internalType": "uint256",
594
+ "name": "newLiquidationIncentiveMantissa",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "name": "NewLiquidationIncentive",
599
+ "type": "event"
600
+ },
601
+ {
602
+ "anonymous": false,
603
+ "inputs": [
604
+ {
605
+ "indexed": false,
606
+ "internalType": "contract VToken",
607
+ "name": "vToken",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "indexed": false,
612
+ "internalType": "uint256",
613
+ "name": "oldLiquidationThresholdMantissa",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "indexed": false,
618
+ "internalType": "uint256",
619
+ "name": "newLiquidationThresholdMantissa",
620
+ "type": "uint256"
621
+ }
622
+ ],
623
+ "name": "NewLiquidationThreshold",
624
+ "type": "event"
625
+ },
626
+ {
627
+ "anonymous": false,
628
+ "inputs": [
629
+ {
630
+ "indexed": false,
631
+ "internalType": "uint256",
632
+ "name": "oldMinLiquidatableCollateral",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "indexed": false,
637
+ "internalType": "uint256",
638
+ "name": "newMinLiquidatableCollateral",
639
+ "type": "uint256"
640
+ }
641
+ ],
642
+ "name": "NewMinLiquidatableCollateral",
643
+ "type": "event"
644
+ },
645
+ {
646
+ "anonymous": false,
647
+ "inputs": [
648
+ {
649
+ "indexed": false,
650
+ "internalType": "contract ResilientOracleInterface",
651
+ "name": "oldPriceOracle",
652
+ "type": "address"
653
+ },
654
+ {
655
+ "indexed": false,
656
+ "internalType": "contract ResilientOracleInterface",
657
+ "name": "newPriceOracle",
658
+ "type": "address"
659
+ }
660
+ ],
661
+ "name": "NewPriceOracle",
662
+ "type": "event"
663
+ },
664
+ {
665
+ "anonymous": false,
666
+ "inputs": [
667
+ {
668
+ "indexed": false,
669
+ "internalType": "contract IPrime",
670
+ "name": "oldPrimeToken",
671
+ "type": "address"
672
+ },
673
+ {
674
+ "indexed": false,
675
+ "internalType": "contract IPrime",
676
+ "name": "newPrimeToken",
677
+ "type": "address"
678
+ }
679
+ ],
680
+ "name": "NewPrimeToken",
681
+ "type": "event"
682
+ },
683
+ {
684
+ "anonymous": false,
685
+ "inputs": [
686
+ {
687
+ "indexed": true,
688
+ "internalType": "address",
689
+ "name": "rewardsDistributor",
690
+ "type": "address"
691
+ },
692
+ {
693
+ "indexed": true,
694
+ "internalType": "address",
695
+ "name": "rewardToken",
696
+ "type": "address"
697
+ }
698
+ ],
699
+ "name": "NewRewardsDistributor",
700
+ "type": "event"
701
+ },
702
+ {
703
+ "anonymous": false,
704
+ "inputs": [
705
+ {
706
+ "indexed": true,
707
+ "internalType": "contract VToken",
708
+ "name": "vToken",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "indexed": false,
713
+ "internalType": "uint256",
714
+ "name": "newSupplyCap",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "name": "NewSupplyCap",
719
+ "type": "event"
720
+ },
721
+ {
722
+ "anonymous": false,
723
+ "inputs": [
724
+ {
725
+ "indexed": true,
726
+ "internalType": "address",
727
+ "name": "previousOwner",
728
+ "type": "address"
729
+ },
730
+ {
731
+ "indexed": true,
732
+ "internalType": "address",
733
+ "name": "newOwner",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "OwnershipTransferStarted",
738
+ "type": "event"
739
+ },
740
+ {
741
+ "anonymous": false,
742
+ "inputs": [
743
+ {
744
+ "indexed": true,
745
+ "internalType": "address",
746
+ "name": "previousOwner",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "indexed": true,
751
+ "internalType": "address",
752
+ "name": "newOwner",
753
+ "type": "address"
754
+ }
755
+ ],
756
+ "name": "OwnershipTransferred",
757
+ "type": "event"
758
+ },
759
+ {
760
+ "inputs": [],
761
+ "name": "acceptOwnership",
762
+ "outputs": [],
763
+ "stateMutability": "nonpayable",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [],
768
+ "name": "accessControlManager",
769
+ "outputs": [
770
+ {
771
+ "internalType": "contract IAccessControlManagerV8",
772
+ "name": "",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "stateMutability": "view",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "address",
783
+ "name": "",
784
+ "type": "address"
785
+ },
786
+ {
787
+ "internalType": "uint256",
788
+ "name": "",
789
+ "type": "uint256"
790
+ }
791
+ ],
792
+ "name": "accountAssets",
793
+ "outputs": [
794
+ {
795
+ "internalType": "contract VToken",
796
+ "name": "",
797
+ "type": "address"
798
+ }
799
+ ],
800
+ "stateMutability": "view",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [
805
+ {
806
+ "internalType": "address",
807
+ "name": "market",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "enum Action",
812
+ "name": "action",
813
+ "type": "uint8"
814
+ }
815
+ ],
816
+ "name": "actionPaused",
817
+ "outputs": [
818
+ {
819
+ "internalType": "bool",
820
+ "name": "",
821
+ "type": "bool"
822
+ }
823
+ ],
824
+ "stateMutability": "view",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "contract RewardsDistributor",
831
+ "name": "_rewardsDistributor",
832
+ "type": "address"
833
+ }
834
+ ],
835
+ "name": "addRewardsDistributor",
836
+ "outputs": [],
837
+ "stateMutability": "nonpayable",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [
842
+ {
843
+ "internalType": "uint256",
844
+ "name": "",
845
+ "type": "uint256"
846
+ }
847
+ ],
848
+ "name": "allMarkets",
849
+ "outputs": [
850
+ {
851
+ "internalType": "contract VToken",
852
+ "name": "",
853
+ "type": "address"
854
+ }
855
+ ],
856
+ "stateMutability": "view",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ {
862
+ "internalType": "address",
863
+ "name": "",
864
+ "type": "address"
865
+ },
866
+ {
867
+ "internalType": "address",
868
+ "name": "",
869
+ "type": "address"
870
+ }
871
+ ],
872
+ "name": "approvedDelegates",
873
+ "outputs": [
874
+ {
875
+ "internalType": "bool",
876
+ "name": "",
877
+ "type": "bool"
878
+ }
879
+ ],
880
+ "stateMutability": "view",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "internalType": "address",
887
+ "name": "",
888
+ "type": "address"
889
+ }
890
+ ],
891
+ "name": "borrowCaps",
892
+ "outputs": [
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "",
896
+ "type": "uint256"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "vToken",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "internalType": "address",
911
+ "name": "borrower",
912
+ "type": "address"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "borrowAmount",
917
+ "type": "uint256"
918
+ }
919
+ ],
920
+ "name": "borrowVerify",
921
+ "outputs": [],
922
+ "stateMutability": "nonpayable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "address",
929
+ "name": "account",
930
+ "type": "address"
931
+ },
932
+ {
933
+ "internalType": "contract VToken",
934
+ "name": "vToken",
935
+ "type": "address"
936
+ }
937
+ ],
938
+ "name": "checkMembership",
939
+ "outputs": [
940
+ {
941
+ "internalType": "bool",
942
+ "name": "",
943
+ "type": "bool"
944
+ }
945
+ ],
946
+ "stateMutability": "view",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [],
951
+ "name": "closeFactorMantissa",
952
+ "outputs": [
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [
964
+ {
965
+ "internalType": "address[]",
966
+ "name": "vTokens",
967
+ "type": "address[]"
968
+ }
969
+ ],
970
+ "name": "enterMarkets",
971
+ "outputs": [
972
+ {
973
+ "internalType": "uint256[]",
974
+ "name": "",
975
+ "type": "uint256[]"
976
+ }
977
+ ],
978
+ "stateMutability": "nonpayable",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [
983
+ {
984
+ "internalType": "address",
985
+ "name": "vTokenAddress",
986
+ "type": "address"
987
+ }
988
+ ],
989
+ "name": "exitMarket",
990
+ "outputs": [
991
+ {
992
+ "internalType": "uint256",
993
+ "name": "",
994
+ "type": "uint256"
995
+ }
996
+ ],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "address",
1004
+ "name": "account",
1005
+ "type": "address"
1006
+ }
1007
+ ],
1008
+ "name": "getAccountLiquidity",
1009
+ "outputs": [
1010
+ {
1011
+ "internalType": "uint256",
1012
+ "name": "error",
1013
+ "type": "uint256"
1014
+ },
1015
+ {
1016
+ "internalType": "uint256",
1017
+ "name": "liquidity",
1018
+ "type": "uint256"
1019
+ },
1020
+ {
1021
+ "internalType": "uint256",
1022
+ "name": "shortfall",
1023
+ "type": "uint256"
1024
+ }
1025
+ ],
1026
+ "stateMutability": "view",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [],
1031
+ "name": "getAllMarkets",
1032
+ "outputs": [
1033
+ {
1034
+ "internalType": "contract VToken[]",
1035
+ "name": "",
1036
+ "type": "address[]"
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "address",
1046
+ "name": "account",
1047
+ "type": "address"
1048
+ }
1049
+ ],
1050
+ "name": "getAssetsIn",
1051
+ "outputs": [
1052
+ {
1053
+ "internalType": "contract VToken[]",
1054
+ "name": "",
1055
+ "type": "address[]"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "view",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ {
1064
+ "internalType": "address",
1065
+ "name": "account",
1066
+ "type": "address"
1067
+ }
1068
+ ],
1069
+ "name": "getBorrowingPower",
1070
+ "outputs": [
1071
+ {
1072
+ "internalType": "uint256",
1073
+ "name": "error",
1074
+ "type": "uint256"
1075
+ },
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "liquidity",
1079
+ "type": "uint256"
1080
+ },
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "shortfall",
1084
+ "type": "uint256"
1085
+ }
1086
+ ],
1087
+ "stateMutability": "view",
1088
+ "type": "function"
1089
+ },
1090
+ {
1091
+ "inputs": [
1092
+ {
1093
+ "internalType": "address",
1094
+ "name": "account",
1095
+ "type": "address"
1096
+ },
1097
+ {
1098
+ "internalType": "address",
1099
+ "name": "vTokenModify",
1100
+ "type": "address"
1101
+ },
1102
+ {
1103
+ "internalType": "uint256",
1104
+ "name": "redeemTokens",
1105
+ "type": "uint256"
1106
+ },
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "borrowAmount",
1110
+ "type": "uint256"
1111
+ }
1112
+ ],
1113
+ "name": "getHypotheticalAccountLiquidity",
1114
+ "outputs": [
1115
+ {
1116
+ "internalType": "uint256",
1117
+ "name": "error",
1118
+ "type": "uint256"
1119
+ },
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "liquidity",
1123
+ "type": "uint256"
1124
+ },
1125
+ {
1126
+ "internalType": "uint256",
1127
+ "name": "shortfall",
1128
+ "type": "uint256"
1129
+ }
1130
+ ],
1131
+ "stateMutability": "view",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [],
1136
+ "name": "getRewardDistributors",
1137
+ "outputs": [
1138
+ {
1139
+ "internalType": "contract RewardsDistributor[]",
1140
+ "name": "",
1141
+ "type": "address[]"
1142
+ }
1143
+ ],
1144
+ "stateMutability": "view",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "internalType": "address",
1151
+ "name": "vToken",
1152
+ "type": "address"
1153
+ }
1154
+ ],
1155
+ "name": "getRewardsByMarket",
1156
+ "outputs": [
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "address",
1161
+ "name": "rewardToken",
1162
+ "type": "address"
1163
+ },
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "supplySpeed",
1167
+ "type": "uint256"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "borrowSpeed",
1172
+ "type": "uint256"
1173
+ }
1174
+ ],
1175
+ "internalType": "struct ComptrollerStorage.RewardSpeeds[]",
1176
+ "name": "rewardSpeeds",
1177
+ "type": "tuple[]"
1178
+ }
1179
+ ],
1180
+ "stateMutability": "view",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [
1185
+ {
1186
+ "internalType": "address",
1187
+ "name": "user",
1188
+ "type": "address"
1189
+ }
1190
+ ],
1191
+ "name": "healAccount",
1192
+ "outputs": [],
1193
+ "stateMutability": "nonpayable",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [
1198
+ {
1199
+ "internalType": "uint256",
1200
+ "name": "loopLimit",
1201
+ "type": "uint256"
1202
+ },
1203
+ {
1204
+ "internalType": "address",
1205
+ "name": "accessControlManager",
1206
+ "type": "address"
1207
+ }
1208
+ ],
1209
+ "name": "initialize",
1210
+ "outputs": [],
1211
+ "stateMutability": "nonpayable",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [],
1216
+ "name": "isComptroller",
1217
+ "outputs": [
1218
+ {
1219
+ "internalType": "bool",
1220
+ "name": "",
1221
+ "type": "bool"
1222
+ }
1223
+ ],
1224
+ "stateMutability": "pure",
1225
+ "type": "function"
1226
+ },
1227
+ {
1228
+ "inputs": [
1229
+ {
1230
+ "internalType": "address",
1231
+ "name": "",
1232
+ "type": "address"
1233
+ }
1234
+ ],
1235
+ "name": "isForcedLiquidationEnabled",
1236
+ "outputs": [
1237
+ {
1238
+ "internalType": "bool",
1239
+ "name": "",
1240
+ "type": "bool"
1241
+ }
1242
+ ],
1243
+ "stateMutability": "view",
1244
+ "type": "function"
1245
+ },
1246
+ {
1247
+ "inputs": [
1248
+ {
1249
+ "internalType": "contract VToken",
1250
+ "name": "vToken",
1251
+ "type": "address"
1252
+ }
1253
+ ],
1254
+ "name": "isMarketListed",
1255
+ "outputs": [
1256
+ {
1257
+ "internalType": "bool",
1258
+ "name": "",
1259
+ "type": "bool"
1260
+ }
1261
+ ],
1262
+ "stateMutability": "view",
1263
+ "type": "function"
1264
+ },
1265
+ {
1266
+ "inputs": [
1267
+ {
1268
+ "internalType": "address",
1269
+ "name": "borrower",
1270
+ "type": "address"
1271
+ },
1272
+ {
1273
+ "components": [
1274
+ {
1275
+ "internalType": "contract VToken",
1276
+ "name": "vTokenCollateral",
1277
+ "type": "address"
1278
+ },
1279
+ {
1280
+ "internalType": "contract VToken",
1281
+ "name": "vTokenBorrowed",
1282
+ "type": "address"
1283
+ },
1284
+ {
1285
+ "internalType": "uint256",
1286
+ "name": "repayAmount",
1287
+ "type": "uint256"
1288
+ }
1289
+ ],
1290
+ "internalType": "struct ComptrollerStorage.LiquidationOrder[]",
1291
+ "name": "orders",
1292
+ "type": "tuple[]"
1293
+ }
1294
+ ],
1295
+ "name": "liquidateAccount",
1296
+ "outputs": [],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
1302
+ {
1303
+ "internalType": "address",
1304
+ "name": "vTokenBorrowed",
1305
+ "type": "address"
1306
+ },
1307
+ {
1308
+ "internalType": "address",
1309
+ "name": "vTokenCollateral",
1310
+ "type": "address"
1311
+ },
1312
+ {
1313
+ "internalType": "address",
1314
+ "name": "liquidator",
1315
+ "type": "address"
1316
+ },
1317
+ {
1318
+ "internalType": "address",
1319
+ "name": "borrower",
1320
+ "type": "address"
1321
+ },
1322
+ {
1323
+ "internalType": "uint256",
1324
+ "name": "actualRepayAmount",
1325
+ "type": "uint256"
1326
+ },
1327
+ {
1328
+ "internalType": "uint256",
1329
+ "name": "seizeTokens",
1330
+ "type": "uint256"
1331
+ }
1332
+ ],
1333
+ "name": "liquidateBorrowVerify",
1334
+ "outputs": [],
1335
+ "stateMutability": "nonpayable",
1336
+ "type": "function"
1337
+ },
1338
+ {
1339
+ "inputs": [
1340
+ {
1341
+ "internalType": "address",
1342
+ "name": "vTokenBorrowed",
1343
+ "type": "address"
1344
+ },
1345
+ {
1346
+ "internalType": "address",
1347
+ "name": "vTokenCollateral",
1348
+ "type": "address"
1349
+ },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "actualRepayAmount",
1353
+ "type": "uint256"
1354
+ }
1355
+ ],
1356
+ "name": "liquidateCalculateSeizeTokens",
1357
+ "outputs": [
1358
+ {
1359
+ "internalType": "uint256",
1360
+ "name": "error",
1361
+ "type": "uint256"
1362
+ },
1363
+ {
1364
+ "internalType": "uint256",
1365
+ "name": "tokensToSeize",
1366
+ "type": "uint256"
1367
+ }
1368
+ ],
1369
+ "stateMutability": "view",
1370
+ "type": "function"
1371
+ },
1372
+ {
1373
+ "inputs": [],
1374
+ "name": "liquidationIncentiveMantissa",
1375
+ "outputs": [
1376
+ {
1377
+ "internalType": "uint256",
1378
+ "name": "",
1379
+ "type": "uint256"
1380
+ }
1381
+ ],
1382
+ "stateMutability": "view",
1383
+ "type": "function"
1384
+ },
1385
+ {
1386
+ "inputs": [
1387
+ {
1388
+ "internalType": "address",
1389
+ "name": "",
1390
+ "type": "address"
1391
+ }
1392
+ ],
1393
+ "name": "markets",
1394
+ "outputs": [
1395
+ {
1396
+ "internalType": "bool",
1397
+ "name": "isListed",
1398
+ "type": "bool"
1399
+ },
1400
+ {
1401
+ "internalType": "uint256",
1402
+ "name": "collateralFactorMantissa",
1403
+ "type": "uint256"
1404
+ },
1405
+ {
1406
+ "internalType": "uint256",
1407
+ "name": "liquidationThresholdMantissa",
1408
+ "type": "uint256"
1409
+ }
1410
+ ],
1411
+ "stateMutability": "view",
1412
+ "type": "function"
1413
+ },
1414
+ {
1415
+ "inputs": [],
1416
+ "name": "maxLoopsLimit",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "uint256",
1420
+ "name": "",
1421
+ "type": "uint256"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [],
1429
+ "name": "minLiquidatableCollateral",
1430
+ "outputs": [
1431
+ {
1432
+ "internalType": "uint256",
1433
+ "name": "",
1434
+ "type": "uint256"
1435
+ }
1436
+ ],
1437
+ "stateMutability": "view",
1438
+ "type": "function"
1439
+ },
1440
+ {
1441
+ "inputs": [
1442
+ {
1443
+ "internalType": "address",
1444
+ "name": "vToken",
1445
+ "type": "address"
1446
+ },
1447
+ {
1448
+ "internalType": "address",
1449
+ "name": "minter",
1450
+ "type": "address"
1451
+ },
1452
+ {
1453
+ "internalType": "uint256",
1454
+ "name": "actualMintAmount",
1455
+ "type": "uint256"
1456
+ },
1457
+ {
1458
+ "internalType": "uint256",
1459
+ "name": "mintTokens",
1460
+ "type": "uint256"
1461
+ }
1462
+ ],
1463
+ "name": "mintVerify",
1464
+ "outputs": [],
1465
+ "stateMutability": "nonpayable",
1466
+ "type": "function"
1467
+ },
1468
+ {
1469
+ "inputs": [],
1470
+ "name": "oracle",
1471
+ "outputs": [
1472
+ {
1473
+ "internalType": "contract ResilientOracleInterface",
1474
+ "name": "",
1475
+ "type": "address"
1476
+ }
1477
+ ],
1478
+ "stateMutability": "view",
1479
+ "type": "function"
1480
+ },
1481
+ {
1482
+ "inputs": [],
1483
+ "name": "owner",
1484
+ "outputs": [
1485
+ {
1486
+ "internalType": "address",
1487
+ "name": "",
1488
+ "type": "address"
1489
+ }
1490
+ ],
1491
+ "stateMutability": "view",
1492
+ "type": "function"
1493
+ },
1494
+ {
1495
+ "inputs": [],
1496
+ "name": "pendingOwner",
1497
+ "outputs": [
1498
+ {
1499
+ "internalType": "address",
1500
+ "name": "",
1501
+ "type": "address"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [],
1509
+ "name": "poolRegistry",
1510
+ "outputs": [
1511
+ {
1512
+ "internalType": "address",
1513
+ "name": "",
1514
+ "type": "address"
1515
+ }
1516
+ ],
1517
+ "stateMutability": "view",
1518
+ "type": "function"
1519
+ },
1520
+ {
1521
+ "inputs": [
1522
+ {
1523
+ "internalType": "address",
1524
+ "name": "vToken",
1525
+ "type": "address"
1526
+ },
1527
+ {
1528
+ "internalType": "address",
1529
+ "name": "borrower",
1530
+ "type": "address"
1531
+ },
1532
+ {
1533
+ "internalType": "uint256",
1534
+ "name": "borrowAmount",
1535
+ "type": "uint256"
1536
+ }
1537
+ ],
1538
+ "name": "preBorrowHook",
1539
+ "outputs": [],
1540
+ "stateMutability": "nonpayable",
1541
+ "type": "function"
1542
+ },
1543
+ {
1544
+ "inputs": [
1545
+ {
1546
+ "internalType": "address",
1547
+ "name": "vTokenBorrowed",
1548
+ "type": "address"
1549
+ },
1550
+ {
1551
+ "internalType": "address",
1552
+ "name": "vTokenCollateral",
1553
+ "type": "address"
1554
+ },
1555
+ {
1556
+ "internalType": "address",
1557
+ "name": "borrower",
1558
+ "type": "address"
1559
+ },
1560
+ {
1561
+ "internalType": "uint256",
1562
+ "name": "repayAmount",
1563
+ "type": "uint256"
1564
+ },
1565
+ {
1566
+ "internalType": "bool",
1567
+ "name": "skipLiquidityCheck",
1568
+ "type": "bool"
1569
+ }
1570
+ ],
1571
+ "name": "preLiquidateHook",
1572
+ "outputs": [],
1573
+ "stateMutability": "nonpayable",
1574
+ "type": "function"
1575
+ },
1576
+ {
1577
+ "inputs": [
1578
+ {
1579
+ "internalType": "address",
1580
+ "name": "vToken",
1581
+ "type": "address"
1582
+ },
1583
+ {
1584
+ "internalType": "address",
1585
+ "name": "minter",
1586
+ "type": "address"
1587
+ },
1588
+ {
1589
+ "internalType": "uint256",
1590
+ "name": "mintAmount",
1591
+ "type": "uint256"
1592
+ }
1593
+ ],
1594
+ "name": "preMintHook",
1595
+ "outputs": [],
1596
+ "stateMutability": "nonpayable",
1597
+ "type": "function"
1598
+ },
1599
+ {
1600
+ "inputs": [
1601
+ {
1602
+ "internalType": "address",
1603
+ "name": "vToken",
1604
+ "type": "address"
1605
+ },
1606
+ {
1607
+ "internalType": "address",
1608
+ "name": "redeemer",
1609
+ "type": "address"
1610
+ },
1611
+ {
1612
+ "internalType": "uint256",
1613
+ "name": "redeemTokens",
1614
+ "type": "uint256"
1615
+ }
1616
+ ],
1617
+ "name": "preRedeemHook",
1618
+ "outputs": [],
1619
+ "stateMutability": "nonpayable",
1620
+ "type": "function"
1621
+ },
1622
+ {
1623
+ "inputs": [
1624
+ {
1625
+ "internalType": "address",
1626
+ "name": "vToken",
1627
+ "type": "address"
1628
+ },
1629
+ {
1630
+ "internalType": "address",
1631
+ "name": "borrower",
1632
+ "type": "address"
1633
+ }
1634
+ ],
1635
+ "name": "preRepayHook",
1636
+ "outputs": [],
1637
+ "stateMutability": "nonpayable",
1638
+ "type": "function"
1639
+ },
1640
+ {
1641
+ "inputs": [
1642
+ {
1643
+ "internalType": "address",
1644
+ "name": "vTokenCollateral",
1645
+ "type": "address"
1646
+ },
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "seizerContract",
1650
+ "type": "address"
1651
+ },
1652
+ {
1653
+ "internalType": "address",
1654
+ "name": "liquidator",
1655
+ "type": "address"
1656
+ },
1657
+ {
1658
+ "internalType": "address",
1659
+ "name": "borrower",
1660
+ "type": "address"
1661
+ }
1662
+ ],
1663
+ "name": "preSeizeHook",
1664
+ "outputs": [],
1665
+ "stateMutability": "nonpayable",
1666
+ "type": "function"
1667
+ },
1668
+ {
1669
+ "inputs": [
1670
+ {
1671
+ "internalType": "address",
1672
+ "name": "vToken",
1673
+ "type": "address"
1674
+ },
1675
+ {
1676
+ "internalType": "address",
1677
+ "name": "src",
1678
+ "type": "address"
1679
+ },
1680
+ {
1681
+ "internalType": "address",
1682
+ "name": "dst",
1683
+ "type": "address"
1684
+ },
1685
+ {
1686
+ "internalType": "uint256",
1687
+ "name": "transferTokens",
1688
+ "type": "uint256"
1689
+ }
1690
+ ],
1691
+ "name": "preTransferHook",
1692
+ "outputs": [],
1693
+ "stateMutability": "nonpayable",
1694
+ "type": "function"
1695
+ },
1696
+ {
1697
+ "inputs": [],
1698
+ "name": "prime",
1699
+ "outputs": [
1700
+ {
1701
+ "internalType": "contract IPrime",
1702
+ "name": "",
1703
+ "type": "address"
1704
+ }
1705
+ ],
1706
+ "stateMutability": "view",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [
1711
+ {
1712
+ "internalType": "address",
1713
+ "name": "vToken",
1714
+ "type": "address"
1715
+ },
1716
+ {
1717
+ "internalType": "address",
1718
+ "name": "redeemer",
1719
+ "type": "address"
1720
+ },
1721
+ {
1722
+ "internalType": "uint256",
1723
+ "name": "redeemAmount",
1724
+ "type": "uint256"
1725
+ },
1726
+ {
1727
+ "internalType": "uint256",
1728
+ "name": "redeemTokens",
1729
+ "type": "uint256"
1730
+ }
1731
+ ],
1732
+ "name": "redeemVerify",
1733
+ "outputs": [],
1734
+ "stateMutability": "nonpayable",
1735
+ "type": "function"
1736
+ },
1737
+ {
1738
+ "inputs": [],
1739
+ "name": "renounceOwnership",
1740
+ "outputs": [],
1741
+ "stateMutability": "nonpayable",
1742
+ "type": "function"
1743
+ },
1744
+ {
1745
+ "inputs": [
1746
+ {
1747
+ "internalType": "address",
1748
+ "name": "vToken",
1749
+ "type": "address"
1750
+ },
1751
+ {
1752
+ "internalType": "address",
1753
+ "name": "payer",
1754
+ "type": "address"
1755
+ },
1756
+ {
1757
+ "internalType": "address",
1758
+ "name": "borrower",
1759
+ "type": "address"
1760
+ },
1761
+ {
1762
+ "internalType": "uint256",
1763
+ "name": "actualRepayAmount",
1764
+ "type": "uint256"
1765
+ },
1766
+ {
1767
+ "internalType": "uint256",
1768
+ "name": "borrowerIndex",
1769
+ "type": "uint256"
1770
+ }
1771
+ ],
1772
+ "name": "repayBorrowVerify",
1773
+ "outputs": [],
1774
+ "stateMutability": "nonpayable",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [
1779
+ {
1780
+ "internalType": "address",
1781
+ "name": "vTokenCollateral",
1782
+ "type": "address"
1783
+ },
1784
+ {
1785
+ "internalType": "address",
1786
+ "name": "vTokenBorrowed",
1787
+ "type": "address"
1788
+ },
1789
+ {
1790
+ "internalType": "address",
1791
+ "name": "liquidator",
1792
+ "type": "address"
1793
+ },
1794
+ {
1795
+ "internalType": "address",
1796
+ "name": "borrower",
1797
+ "type": "address"
1798
+ },
1799
+ {
1800
+ "internalType": "uint256",
1801
+ "name": "seizeTokens",
1802
+ "type": "uint256"
1803
+ }
1804
+ ],
1805
+ "name": "seizeVerify",
1806
+ "outputs": [],
1807
+ "stateMutability": "nonpayable",
1808
+ "type": "function"
1809
+ },
1810
+ {
1811
+ "inputs": [
1812
+ {
1813
+ "internalType": "address",
1814
+ "name": "accessControlManager_",
1815
+ "type": "address"
1816
+ }
1817
+ ],
1818
+ "name": "setAccessControlManager",
1819
+ "outputs": [],
1820
+ "stateMutability": "nonpayable",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [
1825
+ {
1826
+ "internalType": "contract VToken[]",
1827
+ "name": "marketsList",
1828
+ "type": "address[]"
1829
+ },
1830
+ {
1831
+ "internalType": "enum Action[]",
1832
+ "name": "actionsList",
1833
+ "type": "uint8[]"
1834
+ },
1835
+ {
1836
+ "internalType": "bool",
1837
+ "name": "paused",
1838
+ "type": "bool"
1839
+ }
1840
+ ],
1841
+ "name": "setActionsPaused",
1842
+ "outputs": [],
1843
+ "stateMutability": "nonpayable",
1844
+ "type": "function"
1845
+ },
1846
+ {
1847
+ "inputs": [
1848
+ {
1849
+ "internalType": "uint256",
1850
+ "name": "newCloseFactorMantissa",
1851
+ "type": "uint256"
1852
+ }
1853
+ ],
1854
+ "name": "setCloseFactor",
1855
+ "outputs": [],
1856
+ "stateMutability": "nonpayable",
1857
+ "type": "function"
1858
+ },
1859
+ {
1860
+ "inputs": [
1861
+ {
1862
+ "internalType": "contract VToken",
1863
+ "name": "vToken",
1864
+ "type": "address"
1865
+ },
1866
+ {
1867
+ "internalType": "uint256",
1868
+ "name": "newCollateralFactorMantissa",
1869
+ "type": "uint256"
1870
+ },
1871
+ {
1872
+ "internalType": "uint256",
1873
+ "name": "newLiquidationThresholdMantissa",
1874
+ "type": "uint256"
1875
+ }
1876
+ ],
1877
+ "name": "setCollateralFactor",
1878
+ "outputs": [],
1879
+ "stateMutability": "nonpayable",
1880
+ "type": "function"
1881
+ },
1882
+ {
1883
+ "inputs": [
1884
+ {
1885
+ "internalType": "address",
1886
+ "name": "vTokenBorrowed",
1887
+ "type": "address"
1888
+ },
1889
+ {
1890
+ "internalType": "bool",
1891
+ "name": "enable",
1892
+ "type": "bool"
1893
+ }
1894
+ ],
1895
+ "name": "setForcedLiquidation",
1896
+ "outputs": [],
1897
+ "stateMutability": "nonpayable",
1898
+ "type": "function"
1899
+ },
1900
+ {
1901
+ "inputs": [
1902
+ {
1903
+ "internalType": "uint256",
1904
+ "name": "newLiquidationIncentiveMantissa",
1905
+ "type": "uint256"
1906
+ }
1907
+ ],
1908
+ "name": "setLiquidationIncentive",
1909
+ "outputs": [],
1910
+ "stateMutability": "nonpayable",
1911
+ "type": "function"
1912
+ },
1913
+ {
1914
+ "inputs": [
1915
+ {
1916
+ "internalType": "contract VToken[]",
1917
+ "name": "vTokens",
1918
+ "type": "address[]"
1919
+ },
1920
+ {
1921
+ "internalType": "uint256[]",
1922
+ "name": "newBorrowCaps",
1923
+ "type": "uint256[]"
1924
+ }
1925
+ ],
1926
+ "name": "setMarketBorrowCaps",
1927
+ "outputs": [],
1928
+ "stateMutability": "nonpayable",
1929
+ "type": "function"
1930
+ },
1931
+ {
1932
+ "inputs": [
1933
+ {
1934
+ "internalType": "contract VToken[]",
1935
+ "name": "vTokens",
1936
+ "type": "address[]"
1937
+ },
1938
+ {
1939
+ "internalType": "uint256[]",
1940
+ "name": "newSupplyCaps",
1941
+ "type": "uint256[]"
1942
+ }
1943
+ ],
1944
+ "name": "setMarketSupplyCaps",
1945
+ "outputs": [],
1946
+ "stateMutability": "nonpayable",
1947
+ "type": "function"
1948
+ },
1949
+ {
1950
+ "inputs": [
1951
+ {
1952
+ "internalType": "uint256",
1953
+ "name": "limit",
1954
+ "type": "uint256"
1955
+ }
1956
+ ],
1957
+ "name": "setMaxLoopsLimit",
1958
+ "outputs": [],
1959
+ "stateMutability": "nonpayable",
1960
+ "type": "function"
1961
+ },
1962
+ {
1963
+ "inputs": [
1964
+ {
1965
+ "internalType": "uint256",
1966
+ "name": "newMinLiquidatableCollateral",
1967
+ "type": "uint256"
1968
+ }
1969
+ ],
1970
+ "name": "setMinLiquidatableCollateral",
1971
+ "outputs": [],
1972
+ "stateMutability": "nonpayable",
1973
+ "type": "function"
1974
+ },
1975
+ {
1976
+ "inputs": [
1977
+ {
1978
+ "internalType": "contract ResilientOracleInterface",
1979
+ "name": "newOracle",
1980
+ "type": "address"
1981
+ }
1982
+ ],
1983
+ "name": "setPriceOracle",
1984
+ "outputs": [],
1985
+ "stateMutability": "nonpayable",
1986
+ "type": "function"
1987
+ },
1988
+ {
1989
+ "inputs": [
1990
+ {
1991
+ "internalType": "contract IPrime",
1992
+ "name": "_prime",
1993
+ "type": "address"
1994
+ }
1995
+ ],
1996
+ "name": "setPrimeToken",
1997
+ "outputs": [],
1998
+ "stateMutability": "nonpayable",
1999
+ "type": "function"
2000
+ },
2001
+ {
2002
+ "inputs": [
2003
+ {
2004
+ "internalType": "address",
2005
+ "name": "",
2006
+ "type": "address"
2007
+ }
2008
+ ],
2009
+ "name": "supplyCaps",
2010
+ "outputs": [
2011
+ {
2012
+ "internalType": "uint256",
2013
+ "name": "",
2014
+ "type": "uint256"
2015
+ }
2016
+ ],
2017
+ "stateMutability": "view",
2018
+ "type": "function"
2019
+ },
2020
+ {
2021
+ "inputs": [
2022
+ {
2023
+ "internalType": "contract VToken",
2024
+ "name": "vToken",
2025
+ "type": "address"
2026
+ }
2027
+ ],
2028
+ "name": "supportMarket",
2029
+ "outputs": [],
2030
+ "stateMutability": "nonpayable",
2031
+ "type": "function"
2032
+ },
2033
+ {
2034
+ "inputs": [
2035
+ {
2036
+ "internalType": "address",
2037
+ "name": "newOwner",
2038
+ "type": "address"
2039
+ }
2040
+ ],
2041
+ "name": "transferOwnership",
2042
+ "outputs": [],
2043
+ "stateMutability": "nonpayable",
2044
+ "type": "function"
2045
+ },
2046
+ {
2047
+ "inputs": [
2048
+ {
2049
+ "internalType": "address",
2050
+ "name": "vToken",
2051
+ "type": "address"
2052
+ },
2053
+ {
2054
+ "internalType": "address",
2055
+ "name": "src",
2056
+ "type": "address"
2057
+ },
2058
+ {
2059
+ "internalType": "address",
2060
+ "name": "dst",
2061
+ "type": "address"
2062
+ },
2063
+ {
2064
+ "internalType": "uint256",
2065
+ "name": "transferTokens",
2066
+ "type": "uint256"
2067
+ }
2068
+ ],
2069
+ "name": "transferVerify",
2070
+ "outputs": [],
2071
+ "stateMutability": "nonpayable",
2072
+ "type": "function"
2073
+ },
2074
+ {
2075
+ "inputs": [
2076
+ {
2077
+ "internalType": "address",
2078
+ "name": "market",
2079
+ "type": "address"
2080
+ }
2081
+ ],
2082
+ "name": "unlistMarket",
2083
+ "outputs": [
2084
+ {
2085
+ "internalType": "uint256",
2086
+ "name": "",
2087
+ "type": "uint256"
2088
+ }
2089
+ ],
2090
+ "stateMutability": "nonpayable",
2091
+ "type": "function"
2092
+ },
2093
+ {
2094
+ "inputs": [
2095
+ {
2096
+ "internalType": "address",
2097
+ "name": "delegate",
2098
+ "type": "address"
2099
+ },
2100
+ {
2101
+ "internalType": "bool",
2102
+ "name": "approved",
2103
+ "type": "bool"
2104
+ }
2105
+ ],
2106
+ "name": "updateDelegate",
2107
+ "outputs": [],
2108
+ "stateMutability": "nonpayable",
2109
+ "type": "function"
2110
+ },
2111
+ {
2112
+ "inputs": [
2113
+ {
2114
+ "internalType": "address",
2115
+ "name": "account",
2116
+ "type": "address"
2117
+ }
2118
+ ],
2119
+ "name": "updatePrices",
2120
+ "outputs": [],
2121
+ "stateMutability": "nonpayable",
2122
+ "type": "function"
2123
+ }
2124
+ ]
2125
+ ''')