defi-state-querier 0.0.9__py3-none-any.whl → 0.1.1__py3-none-any.whl

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