@venusprotocol/venus-protocol 9.5.0-dev.1 → 9.5.0-dev.3

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 (40) hide show
  1. package/README.md +11 -1
  2. package/deployments/bscmainnet/JumpRateModel_base0bps_slope900bps_jump35000bps_kink4500bps.json +380 -0
  3. package/deployments/bscmainnet/vTHE.json +2382 -0
  4. package/deployments/bscmainnet.json +11519 -9584
  5. package/deployments/bscmainnet_addresses.json +2 -0
  6. package/deployments/bsctestnet/JumpRateModel_base0bps_slope900bps_jump35000bps_kink4500bps.json +380 -0
  7. package/deployments/bsctestnet/MockTHE.json +458 -0
  8. package/deployments/bsctestnet/vAAVE.json +3326 -0
  9. package/deployments/bsctestnet/vADA.json +3244 -0
  10. package/deployments/bsctestnet/{vBTC.json → vBTCB.json} +55 -15
  11. package/deployments/bsctestnet/vBUSD.json +55 -15
  12. package/deployments/bsctestnet/vCAKE.json +1493 -0
  13. package/deployments/bsctestnet/vDOGE.json +3269 -0
  14. package/deployments/bsctestnet/vETH.json +55 -15
  15. package/deployments/bsctestnet/vFDUSD.json +3 -15
  16. package/deployments/bsctestnet/vLTC.json +55 -15
  17. package/deployments/bsctestnet/vMATIC.json +1550 -0
  18. package/deployments/bsctestnet/vSXP.json +55 -15
  19. package/deployments/bsctestnet/vSolvBTC.json +1776 -697
  20. package/deployments/bsctestnet/vTHE.json +2382 -0
  21. package/deployments/bsctestnet/vTRX.json +56 -16
  22. package/deployments/bsctestnet/vTRXOLD.json +3326 -0
  23. package/deployments/bsctestnet/vTUSD.json +55 -15
  24. package/deployments/bsctestnet/vTUSDOLD.json +3326 -0
  25. package/deployments/bsctestnet/vTWT.json +1776 -697
  26. package/deployments/bsctestnet/vUNI.json +3344 -0
  27. package/deployments/bsctestnet/vUSDC.json +55 -15
  28. package/deployments/bsctestnet/vUSDT.json +55 -15
  29. package/deployments/bsctestnet/vWBETH.json +269 -5
  30. package/deployments/bsctestnet/vXRP.json +55 -15
  31. package/deployments/bsctestnet/vXVS.json +55 -15
  32. package/deployments/bsctestnet.json +31978 -2628
  33. package/deployments/bsctestnet_addresses.json +13 -2
  34. package/dist/deployments/bscmainnet.json +11519 -9584
  35. package/dist/deployments/bsctestnet.json +31978 -2628
  36. package/dist/hardhat.config.js +24 -3
  37. package/dist/helpers/deploymentConfig.js +45 -0
  38. package/dist/type-extensions.d.ts +6 -0
  39. package/dist/type-extensions.js +3 -0
  40. package/package.json +1 -1
@@ -0,0 +1,3344 @@
1
+ {
2
+ "address": "0x171B468b52d7027F12cEF90cd065d6776a25E24e",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "underlying_",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "contract ComptrollerInterface",
13
+ "name": "comptroller_",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "internalType": "contract InterestRateModel",
18
+ "name": "interestRateModel_",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "internalType": "uint256",
23
+ "name": "initialExchangeRateMantissa_",
24
+ "type": "uint256"
25
+ },
26
+ {
27
+ "internalType": "string",
28
+ "name": "name_",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "internalType": "string",
33
+ "name": "symbol_",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "internalType": "uint8",
38
+ "name": "decimals_",
39
+ "type": "uint8"
40
+ },
41
+ {
42
+ "internalType": "address payable",
43
+ "name": "admin_",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "internalType": "address",
48
+ "name": "implementation_",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "bytes",
53
+ "name": "becomeImplementationData",
54
+ "type": "bytes"
55
+ }
56
+ ],
57
+ "payable": false,
58
+ "stateMutability": "nonpayable",
59
+ "type": "constructor"
60
+ },
61
+ {
62
+ "anonymous": false,
63
+ "inputs": [
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "cashPrior",
68
+ "type": "uint256"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "uint256",
73
+ "name": "interestAccumulated",
74
+ "type": "uint256"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "uint256",
79
+ "name": "borrowIndex",
80
+ "type": "uint256"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "uint256",
85
+ "name": "totalBorrows",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "name": "AccrueInterest",
90
+ "type": "event"
91
+ },
92
+ {
93
+ "anonymous": false,
94
+ "inputs": [
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "owner",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": true,
103
+ "internalType": "address",
104
+ "name": "spender",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "uint256",
110
+ "name": "amount",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "name": "Approval",
115
+ "type": "event"
116
+ },
117
+ {
118
+ "anonymous": false,
119
+ "inputs": [
120
+ {
121
+ "indexed": false,
122
+ "internalType": "address",
123
+ "name": "borrower",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "indexed": false,
128
+ "internalType": "uint256",
129
+ "name": "borrowAmount",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "uint256",
135
+ "name": "accountBorrows",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "uint256",
141
+ "name": "totalBorrows",
142
+ "type": "uint256"
143
+ }
144
+ ],
145
+ "name": "Borrow",
146
+ "type": "event"
147
+ },
148
+ {
149
+ "anonymous": false,
150
+ "inputs": [
151
+ {
152
+ "indexed": false,
153
+ "internalType": "uint256",
154
+ "name": "error",
155
+ "type": "uint256"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint256",
160
+ "name": "info",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "uint256",
166
+ "name": "detail",
167
+ "type": "uint256"
168
+ }
169
+ ],
170
+ "name": "Failure",
171
+ "type": "event"
172
+ },
173
+ {
174
+ "anonymous": false,
175
+ "inputs": [
176
+ {
177
+ "indexed": false,
178
+ "internalType": "address",
179
+ "name": "liquidator",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "indexed": false,
184
+ "internalType": "address",
185
+ "name": "borrower",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "indexed": false,
190
+ "internalType": "uint256",
191
+ "name": "repayAmount",
192
+ "type": "uint256"
193
+ },
194
+ {
195
+ "indexed": false,
196
+ "internalType": "address",
197
+ "name": "vTokenCollateral",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint256",
203
+ "name": "seizeTokens",
204
+ "type": "uint256"
205
+ }
206
+ ],
207
+ "name": "LiquidateBorrow",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "internalType": "address",
216
+ "name": "minter",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "indexed": false,
221
+ "internalType": "uint256",
222
+ "name": "mintAmount",
223
+ "type": "uint256"
224
+ },
225
+ {
226
+ "indexed": false,
227
+ "internalType": "uint256",
228
+ "name": "mintTokens",
229
+ "type": "uint256"
230
+ },
231
+ {
232
+ "indexed": false,
233
+ "internalType": "uint256",
234
+ "name": "totalSupply",
235
+ "type": "uint256"
236
+ }
237
+ ],
238
+ "name": "Mint",
239
+ "type": "event"
240
+ },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "payer",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "address",
253
+ "name": "receiver",
254
+ "type": "address"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "mintAmount",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "indexed": false,
264
+ "internalType": "uint256",
265
+ "name": "mintTokens",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "uint256",
271
+ "name": "totalSupply",
272
+ "type": "uint256"
273
+ }
274
+ ],
275
+ "name": "MintBehalf",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "anonymous": false,
280
+ "inputs": [
281
+ {
282
+ "indexed": false,
283
+ "internalType": "address",
284
+ "name": "oldAdmin",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "indexed": false,
289
+ "internalType": "address",
290
+ "name": "newAdmin",
291
+ "type": "address"
292
+ }
293
+ ],
294
+ "name": "NewAdmin",
295
+ "type": "event"
296
+ },
297
+ {
298
+ "anonymous": false,
299
+ "inputs": [
300
+ {
301
+ "indexed": false,
302
+ "internalType": "contract ComptrollerInterface",
303
+ "name": "oldComptroller",
304
+ "type": "address"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "contract ComptrollerInterface",
309
+ "name": "newComptroller",
310
+ "type": "address"
311
+ }
312
+ ],
313
+ "name": "NewComptroller",
314
+ "type": "event"
315
+ },
316
+ {
317
+ "anonymous": false,
318
+ "inputs": [
319
+ {
320
+ "indexed": false,
321
+ "internalType": "address",
322
+ "name": "oldImplementation",
323
+ "type": "address"
324
+ },
325
+ {
326
+ "indexed": false,
327
+ "internalType": "address",
328
+ "name": "newImplementation",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "NewImplementation",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": false,
340
+ "internalType": "contract InterestRateModel",
341
+ "name": "oldInterestRateModel",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "contract InterestRateModel",
347
+ "name": "newInterestRateModel",
348
+ "type": "address"
349
+ }
350
+ ],
351
+ "name": "NewMarketInterestRateModel",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "address",
360
+ "name": "oldPendingAdmin",
361
+ "type": "address"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "address",
366
+ "name": "newPendingAdmin",
367
+ "type": "address"
368
+ }
369
+ ],
370
+ "name": "NewPendingAdmin",
371
+ "type": "event"
372
+ },
373
+ {
374
+ "anonymous": false,
375
+ "inputs": [
376
+ {
377
+ "indexed": false,
378
+ "internalType": "uint256",
379
+ "name": "oldReserveFactorMantissa",
380
+ "type": "uint256"
381
+ },
382
+ {
383
+ "indexed": false,
384
+ "internalType": "uint256",
385
+ "name": "newReserveFactorMantissa",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "name": "NewReserveFactor",
390
+ "type": "event"
391
+ },
392
+ {
393
+ "anonymous": false,
394
+ "inputs": [
395
+ {
396
+ "indexed": false,
397
+ "internalType": "address",
398
+ "name": "redeemer",
399
+ "type": "address"
400
+ },
401
+ {
402
+ "indexed": false,
403
+ "internalType": "uint256",
404
+ "name": "redeemAmount",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "indexed": false,
409
+ "internalType": "uint256",
410
+ "name": "redeemTokens",
411
+ "type": "uint256"
412
+ },
413
+ {
414
+ "indexed": false,
415
+ "internalType": "uint256",
416
+ "name": "totalSupply",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "name": "Redeem",
421
+ "type": "event"
422
+ },
423
+ {
424
+ "anonymous": false,
425
+ "inputs": [
426
+ {
427
+ "indexed": false,
428
+ "internalType": "address",
429
+ "name": "redeemer",
430
+ "type": "address"
431
+ },
432
+ {
433
+ "indexed": false,
434
+ "internalType": "uint256",
435
+ "name": "feeAmount",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "uint256",
441
+ "name": "redeemTokens",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "name": "RedeemFee",
446
+ "type": "event"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [
451
+ {
452
+ "indexed": false,
453
+ "internalType": "address",
454
+ "name": "payer",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "address",
460
+ "name": "borrower",
461
+ "type": "address"
462
+ },
463
+ {
464
+ "indexed": false,
465
+ "internalType": "uint256",
466
+ "name": "repayAmount",
467
+ "type": "uint256"
468
+ },
469
+ {
470
+ "indexed": false,
471
+ "internalType": "uint256",
472
+ "name": "accountBorrows",
473
+ "type": "uint256"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "uint256",
478
+ "name": "totalBorrows",
479
+ "type": "uint256"
480
+ }
481
+ ],
482
+ "name": "RepayBorrow",
483
+ "type": "event"
484
+ },
485
+ {
486
+ "anonymous": false,
487
+ "inputs": [
488
+ {
489
+ "indexed": false,
490
+ "internalType": "address",
491
+ "name": "benefactor",
492
+ "type": "address"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "uint256",
497
+ "name": "addAmount",
498
+ "type": "uint256"
499
+ },
500
+ {
501
+ "indexed": false,
502
+ "internalType": "uint256",
503
+ "name": "newTotalReserves",
504
+ "type": "uint256"
505
+ }
506
+ ],
507
+ "name": "ReservesAdded",
508
+ "type": "event"
509
+ },
510
+ {
511
+ "anonymous": false,
512
+ "inputs": [
513
+ {
514
+ "indexed": false,
515
+ "internalType": "address",
516
+ "name": "admin",
517
+ "type": "address"
518
+ },
519
+ {
520
+ "indexed": false,
521
+ "internalType": "uint256",
522
+ "name": "reduceAmount",
523
+ "type": "uint256"
524
+ },
525
+ {
526
+ "indexed": false,
527
+ "internalType": "uint256",
528
+ "name": "newTotalReserves",
529
+ "type": "uint256"
530
+ }
531
+ ],
532
+ "name": "ReservesReduced",
533
+ "type": "event"
534
+ },
535
+ {
536
+ "anonymous": false,
537
+ "inputs": [
538
+ {
539
+ "indexed": true,
540
+ "internalType": "address",
541
+ "name": "from",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "indexed": true,
546
+ "internalType": "address",
547
+ "name": "to",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "indexed": false,
552
+ "internalType": "uint256",
553
+ "name": "amount",
554
+ "type": "uint256"
555
+ }
556
+ ],
557
+ "name": "Transfer",
558
+ "type": "event"
559
+ },
560
+ {
561
+ "payable": true,
562
+ "stateMutability": "payable",
563
+ "type": "fallback"
564
+ },
565
+ {
566
+ "constant": false,
567
+ "inputs": [],
568
+ "name": "_acceptAdmin",
569
+ "outputs": [
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "payable": false,
577
+ "stateMutability": "nonpayable",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "constant": false,
582
+ "inputs": [
583
+ {
584
+ "internalType": "uint256",
585
+ "name": "addAmount",
586
+ "type": "uint256"
587
+ }
588
+ ],
589
+ "name": "_addReserves",
590
+ "outputs": [
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "",
594
+ "type": "uint256"
595
+ }
596
+ ],
597
+ "payable": false,
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "constant": false,
603
+ "inputs": [
604
+ {
605
+ "internalType": "uint256",
606
+ "name": "reduceAmount",
607
+ "type": "uint256"
608
+ }
609
+ ],
610
+ "name": "_reduceReserves",
611
+ "outputs": [
612
+ {
613
+ "internalType": "uint256",
614
+ "name": "",
615
+ "type": "uint256"
616
+ }
617
+ ],
618
+ "payable": false,
619
+ "stateMutability": "nonpayable",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "constant": false,
624
+ "inputs": [
625
+ {
626
+ "internalType": "contract ComptrollerInterface",
627
+ "name": "newComptroller",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "name": "_setComptroller",
632
+ "outputs": [
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "",
636
+ "type": "uint256"
637
+ }
638
+ ],
639
+ "payable": false,
640
+ "stateMutability": "nonpayable",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "constant": false,
645
+ "inputs": [
646
+ {
647
+ "internalType": "address",
648
+ "name": "implementation_",
649
+ "type": "address"
650
+ },
651
+ {
652
+ "internalType": "bool",
653
+ "name": "allowResign",
654
+ "type": "bool"
655
+ },
656
+ {
657
+ "internalType": "bytes",
658
+ "name": "becomeImplementationData",
659
+ "type": "bytes"
660
+ }
661
+ ],
662
+ "name": "_setImplementation",
663
+ "outputs": [],
664
+ "payable": false,
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "constant": false,
670
+ "inputs": [
671
+ {
672
+ "internalType": "contract InterestRateModel",
673
+ "name": "newInterestRateModel",
674
+ "type": "address"
675
+ }
676
+ ],
677
+ "name": "_setInterestRateModel",
678
+ "outputs": [
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "",
682
+ "type": "uint256"
683
+ }
684
+ ],
685
+ "payable": false,
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "constant": false,
691
+ "inputs": [
692
+ {
693
+ "internalType": "address payable",
694
+ "name": "newPendingAdmin",
695
+ "type": "address"
696
+ }
697
+ ],
698
+ "name": "_setPendingAdmin",
699
+ "outputs": [
700
+ {
701
+ "internalType": "uint256",
702
+ "name": "",
703
+ "type": "uint256"
704
+ }
705
+ ],
706
+ "payable": false,
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "constant": false,
712
+ "inputs": [
713
+ {
714
+ "internalType": "uint256",
715
+ "name": "newReserveFactorMantissa",
716
+ "type": "uint256"
717
+ }
718
+ ],
719
+ "name": "_setReserveFactor",
720
+ "outputs": [
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "",
724
+ "type": "uint256"
725
+ }
726
+ ],
727
+ "payable": false,
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "constant": true,
733
+ "inputs": [],
734
+ "name": "accrualBlockNumber",
735
+ "outputs": [
736
+ {
737
+ "internalType": "uint256",
738
+ "name": "",
739
+ "type": "uint256"
740
+ }
741
+ ],
742
+ "payable": false,
743
+ "stateMutability": "view",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "constant": false,
748
+ "inputs": [],
749
+ "name": "accrueInterest",
750
+ "outputs": [
751
+ {
752
+ "internalType": "uint256",
753
+ "name": "",
754
+ "type": "uint256"
755
+ }
756
+ ],
757
+ "payable": false,
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "constant": true,
763
+ "inputs": [],
764
+ "name": "admin",
765
+ "outputs": [
766
+ {
767
+ "internalType": "address payable",
768
+ "name": "",
769
+ "type": "address"
770
+ }
771
+ ],
772
+ "payable": false,
773
+ "stateMutability": "view",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "constant": true,
778
+ "inputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "owner",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "address",
786
+ "name": "spender",
787
+ "type": "address"
788
+ }
789
+ ],
790
+ "name": "allowance",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "payable": false,
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "constant": false,
804
+ "inputs": [
805
+ {
806
+ "internalType": "address",
807
+ "name": "spender",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "amount",
813
+ "type": "uint256"
814
+ }
815
+ ],
816
+ "name": "approve",
817
+ "outputs": [
818
+ {
819
+ "internalType": "bool",
820
+ "name": "",
821
+ "type": "bool"
822
+ }
823
+ ],
824
+ "payable": false,
825
+ "stateMutability": "nonpayable",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "constant": true,
830
+ "inputs": [
831
+ {
832
+ "internalType": "address",
833
+ "name": "owner",
834
+ "type": "address"
835
+ }
836
+ ],
837
+ "name": "balanceOf",
838
+ "outputs": [
839
+ {
840
+ "internalType": "uint256",
841
+ "name": "",
842
+ "type": "uint256"
843
+ }
844
+ ],
845
+ "payable": false,
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "constant": false,
851
+ "inputs": [
852
+ {
853
+ "internalType": "address",
854
+ "name": "owner",
855
+ "type": "address"
856
+ }
857
+ ],
858
+ "name": "balanceOfUnderlying",
859
+ "outputs": [
860
+ {
861
+ "internalType": "uint256",
862
+ "name": "",
863
+ "type": "uint256"
864
+ }
865
+ ],
866
+ "payable": false,
867
+ "stateMutability": "nonpayable",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "constant": false,
872
+ "inputs": [
873
+ {
874
+ "internalType": "uint256",
875
+ "name": "borrowAmount",
876
+ "type": "uint256"
877
+ }
878
+ ],
879
+ "name": "borrow",
880
+ "outputs": [
881
+ {
882
+ "internalType": "uint256",
883
+ "name": "",
884
+ "type": "uint256"
885
+ }
886
+ ],
887
+ "payable": false,
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "constant": false,
893
+ "inputs": [
894
+ {
895
+ "internalType": "address",
896
+ "name": "account",
897
+ "type": "address"
898
+ }
899
+ ],
900
+ "name": "borrowBalanceCurrent",
901
+ "outputs": [
902
+ {
903
+ "internalType": "uint256",
904
+ "name": "",
905
+ "type": "uint256"
906
+ }
907
+ ],
908
+ "payable": false,
909
+ "stateMutability": "nonpayable",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "constant": true,
914
+ "inputs": [
915
+ {
916
+ "internalType": "address",
917
+ "name": "account",
918
+ "type": "address"
919
+ }
920
+ ],
921
+ "name": "borrowBalanceStored",
922
+ "outputs": [
923
+ {
924
+ "internalType": "uint256",
925
+ "name": "",
926
+ "type": "uint256"
927
+ }
928
+ ],
929
+ "payable": false,
930
+ "stateMutability": "view",
931
+ "type": "function"
932
+ },
933
+ {
934
+ "constant": true,
935
+ "inputs": [],
936
+ "name": "borrowIndex",
937
+ "outputs": [
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "",
941
+ "type": "uint256"
942
+ }
943
+ ],
944
+ "payable": false,
945
+ "stateMutability": "view",
946
+ "type": "function"
947
+ },
948
+ {
949
+ "constant": true,
950
+ "inputs": [],
951
+ "name": "borrowRatePerBlock",
952
+ "outputs": [
953
+ {
954
+ "internalType": "uint256",
955
+ "name": "",
956
+ "type": "uint256"
957
+ }
958
+ ],
959
+ "payable": false,
960
+ "stateMutability": "view",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "constant": true,
965
+ "inputs": [],
966
+ "name": "comptroller",
967
+ "outputs": [
968
+ {
969
+ "internalType": "contract ComptrollerInterface",
970
+ "name": "",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "payable": false,
975
+ "stateMutability": "view",
976
+ "type": "function"
977
+ },
978
+ {
979
+ "constant": true,
980
+ "inputs": [],
981
+ "name": "decimals",
982
+ "outputs": [
983
+ {
984
+ "internalType": "uint8",
985
+ "name": "",
986
+ "type": "uint8"
987
+ }
988
+ ],
989
+ "payable": false,
990
+ "stateMutability": "view",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "constant": false,
995
+ "inputs": [
996
+ {
997
+ "internalType": "bytes",
998
+ "name": "data",
999
+ "type": "bytes"
1000
+ }
1001
+ ],
1002
+ "name": "delegateToImplementation",
1003
+ "outputs": [
1004
+ {
1005
+ "internalType": "bytes",
1006
+ "name": "",
1007
+ "type": "bytes"
1008
+ }
1009
+ ],
1010
+ "payable": false,
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "constant": true,
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "bytes",
1019
+ "name": "data",
1020
+ "type": "bytes"
1021
+ }
1022
+ ],
1023
+ "name": "delegateToViewImplementation",
1024
+ "outputs": [
1025
+ {
1026
+ "internalType": "bytes",
1027
+ "name": "",
1028
+ "type": "bytes"
1029
+ }
1030
+ ],
1031
+ "payable": false,
1032
+ "stateMutability": "view",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "constant": false,
1037
+ "inputs": [],
1038
+ "name": "exchangeRateCurrent",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "uint256",
1042
+ "name": "",
1043
+ "type": "uint256"
1044
+ }
1045
+ ],
1046
+ "payable": false,
1047
+ "stateMutability": "nonpayable",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "constant": true,
1052
+ "inputs": [],
1053
+ "name": "exchangeRateStored",
1054
+ "outputs": [
1055
+ {
1056
+ "internalType": "uint256",
1057
+ "name": "",
1058
+ "type": "uint256"
1059
+ }
1060
+ ],
1061
+ "payable": false,
1062
+ "stateMutability": "view",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "constant": true,
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "account",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "name": "getAccountSnapshot",
1075
+ "outputs": [
1076
+ {
1077
+ "internalType": "uint256",
1078
+ "name": "",
1079
+ "type": "uint256"
1080
+ },
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "",
1084
+ "type": "uint256"
1085
+ },
1086
+ {
1087
+ "internalType": "uint256",
1088
+ "name": "",
1089
+ "type": "uint256"
1090
+ },
1091
+ {
1092
+ "internalType": "uint256",
1093
+ "name": "",
1094
+ "type": "uint256"
1095
+ }
1096
+ ],
1097
+ "payable": false,
1098
+ "stateMutability": "view",
1099
+ "type": "function"
1100
+ },
1101
+ {
1102
+ "constant": true,
1103
+ "inputs": [],
1104
+ "name": "getCash",
1105
+ "outputs": [
1106
+ {
1107
+ "internalType": "uint256",
1108
+ "name": "",
1109
+ "type": "uint256"
1110
+ }
1111
+ ],
1112
+ "payable": false,
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "constant": true,
1118
+ "inputs": [],
1119
+ "name": "implementation",
1120
+ "outputs": [
1121
+ {
1122
+ "internalType": "address",
1123
+ "name": "",
1124
+ "type": "address"
1125
+ }
1126
+ ],
1127
+ "payable": false,
1128
+ "stateMutability": "view",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "constant": true,
1133
+ "inputs": [],
1134
+ "name": "interestRateModel",
1135
+ "outputs": [
1136
+ {
1137
+ "internalType": "contract InterestRateModel",
1138
+ "name": "",
1139
+ "type": "address"
1140
+ }
1141
+ ],
1142
+ "payable": false,
1143
+ "stateMutability": "view",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "constant": true,
1148
+ "inputs": [],
1149
+ "name": "isVToken",
1150
+ "outputs": [
1151
+ {
1152
+ "internalType": "bool",
1153
+ "name": "",
1154
+ "type": "bool"
1155
+ }
1156
+ ],
1157
+ "payable": false,
1158
+ "stateMutability": "view",
1159
+ "type": "function"
1160
+ },
1161
+ {
1162
+ "constant": false,
1163
+ "inputs": [
1164
+ {
1165
+ "internalType": "address",
1166
+ "name": "borrower",
1167
+ "type": "address"
1168
+ },
1169
+ {
1170
+ "internalType": "uint256",
1171
+ "name": "repayAmount",
1172
+ "type": "uint256"
1173
+ },
1174
+ {
1175
+ "internalType": "contract VTokenInterface",
1176
+ "name": "vTokenCollateral",
1177
+ "type": "address"
1178
+ }
1179
+ ],
1180
+ "name": "liquidateBorrow",
1181
+ "outputs": [
1182
+ {
1183
+ "internalType": "uint256",
1184
+ "name": "",
1185
+ "type": "uint256"
1186
+ }
1187
+ ],
1188
+ "payable": false,
1189
+ "stateMutability": "nonpayable",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "constant": false,
1194
+ "inputs": [
1195
+ {
1196
+ "internalType": "uint256",
1197
+ "name": "mintAmount",
1198
+ "type": "uint256"
1199
+ }
1200
+ ],
1201
+ "name": "mint",
1202
+ "outputs": [
1203
+ {
1204
+ "internalType": "uint256",
1205
+ "name": "",
1206
+ "type": "uint256"
1207
+ }
1208
+ ],
1209
+ "payable": false,
1210
+ "stateMutability": "nonpayable",
1211
+ "type": "function"
1212
+ },
1213
+ {
1214
+ "constant": false,
1215
+ "inputs": [
1216
+ {
1217
+ "internalType": "address",
1218
+ "name": "receiver",
1219
+ "type": "address"
1220
+ },
1221
+ {
1222
+ "internalType": "uint256",
1223
+ "name": "mintAmount",
1224
+ "type": "uint256"
1225
+ }
1226
+ ],
1227
+ "name": "mintBehalf",
1228
+ "outputs": [
1229
+ {
1230
+ "internalType": "uint256",
1231
+ "name": "",
1232
+ "type": "uint256"
1233
+ }
1234
+ ],
1235
+ "payable": false,
1236
+ "stateMutability": "nonpayable",
1237
+ "type": "function"
1238
+ },
1239
+ {
1240
+ "constant": true,
1241
+ "inputs": [],
1242
+ "name": "name",
1243
+ "outputs": [
1244
+ {
1245
+ "internalType": "string",
1246
+ "name": "",
1247
+ "type": "string"
1248
+ }
1249
+ ],
1250
+ "payable": false,
1251
+ "stateMutability": "view",
1252
+ "type": "function"
1253
+ },
1254
+ {
1255
+ "constant": true,
1256
+ "inputs": [],
1257
+ "name": "pendingAdmin",
1258
+ "outputs": [
1259
+ {
1260
+ "internalType": "address payable",
1261
+ "name": "",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "payable": false,
1266
+ "stateMutability": "view",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "constant": false,
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "uint256",
1274
+ "name": "redeemTokens",
1275
+ "type": "uint256"
1276
+ }
1277
+ ],
1278
+ "name": "redeem",
1279
+ "outputs": [
1280
+ {
1281
+ "internalType": "uint256",
1282
+ "name": "",
1283
+ "type": "uint256"
1284
+ }
1285
+ ],
1286
+ "payable": false,
1287
+ "stateMutability": "nonpayable",
1288
+ "type": "function"
1289
+ },
1290
+ {
1291
+ "constant": false,
1292
+ "inputs": [
1293
+ {
1294
+ "internalType": "uint256",
1295
+ "name": "redeemAmount",
1296
+ "type": "uint256"
1297
+ }
1298
+ ],
1299
+ "name": "redeemUnderlying",
1300
+ "outputs": [
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "",
1304
+ "type": "uint256"
1305
+ }
1306
+ ],
1307
+ "payable": false,
1308
+ "stateMutability": "nonpayable",
1309
+ "type": "function"
1310
+ },
1311
+ {
1312
+ "constant": false,
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "uint256",
1316
+ "name": "repayAmount",
1317
+ "type": "uint256"
1318
+ }
1319
+ ],
1320
+ "name": "repayBorrow",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "uint256",
1324
+ "name": "",
1325
+ "type": "uint256"
1326
+ }
1327
+ ],
1328
+ "payable": false,
1329
+ "stateMutability": "nonpayable",
1330
+ "type": "function"
1331
+ },
1332
+ {
1333
+ "constant": false,
1334
+ "inputs": [
1335
+ {
1336
+ "internalType": "address",
1337
+ "name": "borrower",
1338
+ "type": "address"
1339
+ },
1340
+ {
1341
+ "internalType": "uint256",
1342
+ "name": "repayAmount",
1343
+ "type": "uint256"
1344
+ }
1345
+ ],
1346
+ "name": "repayBorrowBehalf",
1347
+ "outputs": [
1348
+ {
1349
+ "internalType": "uint256",
1350
+ "name": "",
1351
+ "type": "uint256"
1352
+ }
1353
+ ],
1354
+ "payable": false,
1355
+ "stateMutability": "nonpayable",
1356
+ "type": "function"
1357
+ },
1358
+ {
1359
+ "constant": true,
1360
+ "inputs": [],
1361
+ "name": "reserveFactorMantissa",
1362
+ "outputs": [
1363
+ {
1364
+ "internalType": "uint256",
1365
+ "name": "",
1366
+ "type": "uint256"
1367
+ }
1368
+ ],
1369
+ "payable": false,
1370
+ "stateMutability": "view",
1371
+ "type": "function"
1372
+ },
1373
+ {
1374
+ "constant": false,
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "liquidator",
1379
+ "type": "address"
1380
+ },
1381
+ {
1382
+ "internalType": "address",
1383
+ "name": "borrower",
1384
+ "type": "address"
1385
+ },
1386
+ {
1387
+ "internalType": "uint256",
1388
+ "name": "seizeTokens",
1389
+ "type": "uint256"
1390
+ }
1391
+ ],
1392
+ "name": "seize",
1393
+ "outputs": [
1394
+ {
1395
+ "internalType": "uint256",
1396
+ "name": "",
1397
+ "type": "uint256"
1398
+ }
1399
+ ],
1400
+ "payable": false,
1401
+ "stateMutability": "nonpayable",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "constant": true,
1406
+ "inputs": [],
1407
+ "name": "supplyRatePerBlock",
1408
+ "outputs": [
1409
+ {
1410
+ "internalType": "uint256",
1411
+ "name": "",
1412
+ "type": "uint256"
1413
+ }
1414
+ ],
1415
+ "payable": false,
1416
+ "stateMutability": "view",
1417
+ "type": "function"
1418
+ },
1419
+ {
1420
+ "constant": true,
1421
+ "inputs": [],
1422
+ "name": "symbol",
1423
+ "outputs": [
1424
+ {
1425
+ "internalType": "string",
1426
+ "name": "",
1427
+ "type": "string"
1428
+ }
1429
+ ],
1430
+ "payable": false,
1431
+ "stateMutability": "view",
1432
+ "type": "function"
1433
+ },
1434
+ {
1435
+ "constant": true,
1436
+ "inputs": [],
1437
+ "name": "totalBorrows",
1438
+ "outputs": [
1439
+ {
1440
+ "internalType": "uint256",
1441
+ "name": "",
1442
+ "type": "uint256"
1443
+ }
1444
+ ],
1445
+ "payable": false,
1446
+ "stateMutability": "view",
1447
+ "type": "function"
1448
+ },
1449
+ {
1450
+ "constant": false,
1451
+ "inputs": [],
1452
+ "name": "totalBorrowsCurrent",
1453
+ "outputs": [
1454
+ {
1455
+ "internalType": "uint256",
1456
+ "name": "",
1457
+ "type": "uint256"
1458
+ }
1459
+ ],
1460
+ "payable": false,
1461
+ "stateMutability": "nonpayable",
1462
+ "type": "function"
1463
+ },
1464
+ {
1465
+ "constant": true,
1466
+ "inputs": [],
1467
+ "name": "totalReserves",
1468
+ "outputs": [
1469
+ {
1470
+ "internalType": "uint256",
1471
+ "name": "",
1472
+ "type": "uint256"
1473
+ }
1474
+ ],
1475
+ "payable": false,
1476
+ "stateMutability": "view",
1477
+ "type": "function"
1478
+ },
1479
+ {
1480
+ "constant": true,
1481
+ "inputs": [],
1482
+ "name": "totalSupply",
1483
+ "outputs": [
1484
+ {
1485
+ "internalType": "uint256",
1486
+ "name": "",
1487
+ "type": "uint256"
1488
+ }
1489
+ ],
1490
+ "payable": false,
1491
+ "stateMutability": "view",
1492
+ "type": "function"
1493
+ },
1494
+ {
1495
+ "constant": false,
1496
+ "inputs": [
1497
+ {
1498
+ "internalType": "address",
1499
+ "name": "dst",
1500
+ "type": "address"
1501
+ },
1502
+ {
1503
+ "internalType": "uint256",
1504
+ "name": "amount",
1505
+ "type": "uint256"
1506
+ }
1507
+ ],
1508
+ "name": "transfer",
1509
+ "outputs": [
1510
+ {
1511
+ "internalType": "bool",
1512
+ "name": "",
1513
+ "type": "bool"
1514
+ }
1515
+ ],
1516
+ "payable": false,
1517
+ "stateMutability": "nonpayable",
1518
+ "type": "function"
1519
+ },
1520
+ {
1521
+ "constant": false,
1522
+ "inputs": [
1523
+ {
1524
+ "internalType": "address",
1525
+ "name": "src",
1526
+ "type": "address"
1527
+ },
1528
+ {
1529
+ "internalType": "address",
1530
+ "name": "dst",
1531
+ "type": "address"
1532
+ },
1533
+ {
1534
+ "internalType": "uint256",
1535
+ "name": "amount",
1536
+ "type": "uint256"
1537
+ }
1538
+ ],
1539
+ "name": "transferFrom",
1540
+ "outputs": [
1541
+ {
1542
+ "internalType": "bool",
1543
+ "name": "",
1544
+ "type": "bool"
1545
+ }
1546
+ ],
1547
+ "payable": false,
1548
+ "stateMutability": "nonpayable",
1549
+ "type": "function"
1550
+ },
1551
+ {
1552
+ "constant": true,
1553
+ "inputs": [],
1554
+ "name": "underlying",
1555
+ "outputs": [
1556
+ {
1557
+ "internalType": "address",
1558
+ "name": "",
1559
+ "type": "address"
1560
+ }
1561
+ ],
1562
+ "payable": false,
1563
+ "stateMutability": "view",
1564
+ "type": "function"
1565
+ },
1566
+ {
1567
+ "inputs": [],
1568
+ "payable": false,
1569
+ "stateMutability": "nonpayable",
1570
+ "type": "constructor"
1571
+ },
1572
+ {
1573
+ "anonymous": false,
1574
+ "inputs": [
1575
+ {
1576
+ "indexed": false,
1577
+ "internalType": "uint256",
1578
+ "name": "cashPrior",
1579
+ "type": "uint256"
1580
+ },
1581
+ {
1582
+ "indexed": false,
1583
+ "internalType": "uint256",
1584
+ "name": "interestAccumulated",
1585
+ "type": "uint256"
1586
+ },
1587
+ {
1588
+ "indexed": false,
1589
+ "internalType": "uint256",
1590
+ "name": "borrowIndex",
1591
+ "type": "uint256"
1592
+ },
1593
+ {
1594
+ "indexed": false,
1595
+ "internalType": "uint256",
1596
+ "name": "totalBorrows",
1597
+ "type": "uint256"
1598
+ }
1599
+ ],
1600
+ "name": "AccrueInterest",
1601
+ "type": "event"
1602
+ },
1603
+ {
1604
+ "anonymous": false,
1605
+ "inputs": [
1606
+ {
1607
+ "indexed": true,
1608
+ "internalType": "address",
1609
+ "name": "owner",
1610
+ "type": "address"
1611
+ },
1612
+ {
1613
+ "indexed": true,
1614
+ "internalType": "address",
1615
+ "name": "spender",
1616
+ "type": "address"
1617
+ },
1618
+ {
1619
+ "indexed": false,
1620
+ "internalType": "uint256",
1621
+ "name": "amount",
1622
+ "type": "uint256"
1623
+ }
1624
+ ],
1625
+ "name": "Approval",
1626
+ "type": "event"
1627
+ },
1628
+ {
1629
+ "anonymous": false,
1630
+ "inputs": [
1631
+ {
1632
+ "indexed": false,
1633
+ "internalType": "address",
1634
+ "name": "borrower",
1635
+ "type": "address"
1636
+ },
1637
+ {
1638
+ "indexed": false,
1639
+ "internalType": "uint256",
1640
+ "name": "borrowAmount",
1641
+ "type": "uint256"
1642
+ },
1643
+ {
1644
+ "indexed": false,
1645
+ "internalType": "uint256",
1646
+ "name": "accountBorrows",
1647
+ "type": "uint256"
1648
+ },
1649
+ {
1650
+ "indexed": false,
1651
+ "internalType": "uint256",
1652
+ "name": "totalBorrows",
1653
+ "type": "uint256"
1654
+ }
1655
+ ],
1656
+ "name": "Borrow",
1657
+ "type": "event"
1658
+ },
1659
+ {
1660
+ "anonymous": false,
1661
+ "inputs": [
1662
+ {
1663
+ "indexed": false,
1664
+ "internalType": "uint256",
1665
+ "name": "error",
1666
+ "type": "uint256"
1667
+ },
1668
+ {
1669
+ "indexed": false,
1670
+ "internalType": "uint256",
1671
+ "name": "info",
1672
+ "type": "uint256"
1673
+ },
1674
+ {
1675
+ "indexed": false,
1676
+ "internalType": "uint256",
1677
+ "name": "detail",
1678
+ "type": "uint256"
1679
+ }
1680
+ ],
1681
+ "name": "Failure",
1682
+ "type": "event"
1683
+ },
1684
+ {
1685
+ "anonymous": false,
1686
+ "inputs": [
1687
+ {
1688
+ "indexed": false,
1689
+ "internalType": "address",
1690
+ "name": "liquidator",
1691
+ "type": "address"
1692
+ },
1693
+ {
1694
+ "indexed": false,
1695
+ "internalType": "address",
1696
+ "name": "borrower",
1697
+ "type": "address"
1698
+ },
1699
+ {
1700
+ "indexed": false,
1701
+ "internalType": "uint256",
1702
+ "name": "repayAmount",
1703
+ "type": "uint256"
1704
+ },
1705
+ {
1706
+ "indexed": false,
1707
+ "internalType": "address",
1708
+ "name": "vTokenCollateral",
1709
+ "type": "address"
1710
+ },
1711
+ {
1712
+ "indexed": false,
1713
+ "internalType": "uint256",
1714
+ "name": "seizeTokens",
1715
+ "type": "uint256"
1716
+ }
1717
+ ],
1718
+ "name": "LiquidateBorrow",
1719
+ "type": "event"
1720
+ },
1721
+ {
1722
+ "anonymous": false,
1723
+ "inputs": [
1724
+ {
1725
+ "indexed": false,
1726
+ "internalType": "address",
1727
+ "name": "minter",
1728
+ "type": "address"
1729
+ },
1730
+ {
1731
+ "indexed": false,
1732
+ "internalType": "uint256",
1733
+ "name": "mintAmount",
1734
+ "type": "uint256"
1735
+ },
1736
+ {
1737
+ "indexed": false,
1738
+ "internalType": "uint256",
1739
+ "name": "mintTokens",
1740
+ "type": "uint256"
1741
+ },
1742
+ {
1743
+ "indexed": false,
1744
+ "internalType": "uint256",
1745
+ "name": "totalSupply",
1746
+ "type": "uint256"
1747
+ }
1748
+ ],
1749
+ "name": "Mint",
1750
+ "type": "event"
1751
+ },
1752
+ {
1753
+ "anonymous": false,
1754
+ "inputs": [
1755
+ {
1756
+ "indexed": false,
1757
+ "internalType": "address",
1758
+ "name": "payer",
1759
+ "type": "address"
1760
+ },
1761
+ {
1762
+ "indexed": false,
1763
+ "internalType": "address",
1764
+ "name": "receiver",
1765
+ "type": "address"
1766
+ },
1767
+ {
1768
+ "indexed": false,
1769
+ "internalType": "uint256",
1770
+ "name": "mintAmount",
1771
+ "type": "uint256"
1772
+ },
1773
+ {
1774
+ "indexed": false,
1775
+ "internalType": "uint256",
1776
+ "name": "mintTokens",
1777
+ "type": "uint256"
1778
+ },
1779
+ {
1780
+ "indexed": false,
1781
+ "internalType": "uint256",
1782
+ "name": "totalSupply",
1783
+ "type": "uint256"
1784
+ }
1785
+ ],
1786
+ "name": "MintBehalf",
1787
+ "type": "event"
1788
+ },
1789
+ {
1790
+ "anonymous": false,
1791
+ "inputs": [
1792
+ {
1793
+ "indexed": false,
1794
+ "internalType": "address",
1795
+ "name": "oldAccessControlAddress",
1796
+ "type": "address"
1797
+ },
1798
+ {
1799
+ "indexed": false,
1800
+ "internalType": "address",
1801
+ "name": "newAccessControlAddress",
1802
+ "type": "address"
1803
+ }
1804
+ ],
1805
+ "name": "NewAccessControlManager",
1806
+ "type": "event"
1807
+ },
1808
+ {
1809
+ "anonymous": false,
1810
+ "inputs": [
1811
+ {
1812
+ "indexed": false,
1813
+ "internalType": "address",
1814
+ "name": "oldAdmin",
1815
+ "type": "address"
1816
+ },
1817
+ {
1818
+ "indexed": false,
1819
+ "internalType": "address",
1820
+ "name": "newAdmin",
1821
+ "type": "address"
1822
+ }
1823
+ ],
1824
+ "name": "NewAdmin",
1825
+ "type": "event"
1826
+ },
1827
+ {
1828
+ "anonymous": false,
1829
+ "inputs": [
1830
+ {
1831
+ "indexed": false,
1832
+ "internalType": "contract ComptrollerInterface",
1833
+ "name": "oldComptroller",
1834
+ "type": "address"
1835
+ },
1836
+ {
1837
+ "indexed": false,
1838
+ "internalType": "contract ComptrollerInterface",
1839
+ "name": "newComptroller",
1840
+ "type": "address"
1841
+ }
1842
+ ],
1843
+ "name": "NewComptroller",
1844
+ "type": "event"
1845
+ },
1846
+ {
1847
+ "anonymous": false,
1848
+ "inputs": [
1849
+ {
1850
+ "indexed": false,
1851
+ "internalType": "contract InterestRateModel",
1852
+ "name": "oldInterestRateModel",
1853
+ "type": "address"
1854
+ },
1855
+ {
1856
+ "indexed": false,
1857
+ "internalType": "contract InterestRateModel",
1858
+ "name": "newInterestRateModel",
1859
+ "type": "address"
1860
+ }
1861
+ ],
1862
+ "name": "NewMarketInterestRateModel",
1863
+ "type": "event"
1864
+ },
1865
+ {
1866
+ "anonymous": false,
1867
+ "inputs": [
1868
+ {
1869
+ "indexed": false,
1870
+ "internalType": "address",
1871
+ "name": "oldPendingAdmin",
1872
+ "type": "address"
1873
+ },
1874
+ {
1875
+ "indexed": false,
1876
+ "internalType": "address",
1877
+ "name": "newPendingAdmin",
1878
+ "type": "address"
1879
+ }
1880
+ ],
1881
+ "name": "NewPendingAdmin",
1882
+ "type": "event"
1883
+ },
1884
+ {
1885
+ "anonymous": false,
1886
+ "inputs": [
1887
+ {
1888
+ "indexed": true,
1889
+ "internalType": "address",
1890
+ "name": "oldProtocolShareReserve",
1891
+ "type": "address"
1892
+ },
1893
+ {
1894
+ "indexed": true,
1895
+ "internalType": "address",
1896
+ "name": "newProtocolShareReserve",
1897
+ "type": "address"
1898
+ }
1899
+ ],
1900
+ "name": "NewProtocolShareReserve",
1901
+ "type": "event"
1902
+ },
1903
+ {
1904
+ "anonymous": false,
1905
+ "inputs": [
1906
+ {
1907
+ "indexed": false,
1908
+ "internalType": "uint256",
1909
+ "name": "oldReduceReservesBlockDelta",
1910
+ "type": "uint256"
1911
+ },
1912
+ {
1913
+ "indexed": false,
1914
+ "internalType": "uint256",
1915
+ "name": "newReduceReservesBlockDelta",
1916
+ "type": "uint256"
1917
+ }
1918
+ ],
1919
+ "name": "NewReduceReservesBlockDelta",
1920
+ "type": "event"
1921
+ },
1922
+ {
1923
+ "anonymous": false,
1924
+ "inputs": [
1925
+ {
1926
+ "indexed": false,
1927
+ "internalType": "uint256",
1928
+ "name": "oldReserveFactorMantissa",
1929
+ "type": "uint256"
1930
+ },
1931
+ {
1932
+ "indexed": false,
1933
+ "internalType": "uint256",
1934
+ "name": "newReserveFactorMantissa",
1935
+ "type": "uint256"
1936
+ }
1937
+ ],
1938
+ "name": "NewReserveFactor",
1939
+ "type": "event"
1940
+ },
1941
+ {
1942
+ "anonymous": false,
1943
+ "inputs": [
1944
+ {
1945
+ "indexed": false,
1946
+ "internalType": "address",
1947
+ "name": "redeemer",
1948
+ "type": "address"
1949
+ },
1950
+ {
1951
+ "indexed": false,
1952
+ "internalType": "uint256",
1953
+ "name": "redeemAmount",
1954
+ "type": "uint256"
1955
+ },
1956
+ {
1957
+ "indexed": false,
1958
+ "internalType": "uint256",
1959
+ "name": "redeemTokens",
1960
+ "type": "uint256"
1961
+ },
1962
+ {
1963
+ "indexed": false,
1964
+ "internalType": "uint256",
1965
+ "name": "totalSupply",
1966
+ "type": "uint256"
1967
+ }
1968
+ ],
1969
+ "name": "Redeem",
1970
+ "type": "event"
1971
+ },
1972
+ {
1973
+ "anonymous": false,
1974
+ "inputs": [
1975
+ {
1976
+ "indexed": false,
1977
+ "internalType": "address",
1978
+ "name": "redeemer",
1979
+ "type": "address"
1980
+ },
1981
+ {
1982
+ "indexed": false,
1983
+ "internalType": "uint256",
1984
+ "name": "feeAmount",
1985
+ "type": "uint256"
1986
+ },
1987
+ {
1988
+ "indexed": false,
1989
+ "internalType": "uint256",
1990
+ "name": "redeemTokens",
1991
+ "type": "uint256"
1992
+ }
1993
+ ],
1994
+ "name": "RedeemFee",
1995
+ "type": "event"
1996
+ },
1997
+ {
1998
+ "anonymous": false,
1999
+ "inputs": [
2000
+ {
2001
+ "indexed": false,
2002
+ "internalType": "address",
2003
+ "name": "payer",
2004
+ "type": "address"
2005
+ },
2006
+ {
2007
+ "indexed": false,
2008
+ "internalType": "address",
2009
+ "name": "borrower",
2010
+ "type": "address"
2011
+ },
2012
+ {
2013
+ "indexed": false,
2014
+ "internalType": "uint256",
2015
+ "name": "repayAmount",
2016
+ "type": "uint256"
2017
+ },
2018
+ {
2019
+ "indexed": false,
2020
+ "internalType": "uint256",
2021
+ "name": "accountBorrows",
2022
+ "type": "uint256"
2023
+ },
2024
+ {
2025
+ "indexed": false,
2026
+ "internalType": "uint256",
2027
+ "name": "totalBorrows",
2028
+ "type": "uint256"
2029
+ }
2030
+ ],
2031
+ "name": "RepayBorrow",
2032
+ "type": "event"
2033
+ },
2034
+ {
2035
+ "anonymous": false,
2036
+ "inputs": [
2037
+ {
2038
+ "indexed": false,
2039
+ "internalType": "address",
2040
+ "name": "benefactor",
2041
+ "type": "address"
2042
+ },
2043
+ {
2044
+ "indexed": false,
2045
+ "internalType": "uint256",
2046
+ "name": "addAmount",
2047
+ "type": "uint256"
2048
+ },
2049
+ {
2050
+ "indexed": false,
2051
+ "internalType": "uint256",
2052
+ "name": "newTotalReserves",
2053
+ "type": "uint256"
2054
+ }
2055
+ ],
2056
+ "name": "ReservesAdded",
2057
+ "type": "event"
2058
+ },
2059
+ {
2060
+ "anonymous": false,
2061
+ "inputs": [
2062
+ {
2063
+ "indexed": false,
2064
+ "internalType": "address",
2065
+ "name": "protocolShareReserve",
2066
+ "type": "address"
2067
+ },
2068
+ {
2069
+ "indexed": false,
2070
+ "internalType": "uint256",
2071
+ "name": "reduceAmount",
2072
+ "type": "uint256"
2073
+ },
2074
+ {
2075
+ "indexed": false,
2076
+ "internalType": "uint256",
2077
+ "name": "newTotalReserves",
2078
+ "type": "uint256"
2079
+ }
2080
+ ],
2081
+ "name": "ReservesReduced",
2082
+ "type": "event"
2083
+ },
2084
+ {
2085
+ "anonymous": false,
2086
+ "inputs": [
2087
+ {
2088
+ "indexed": true,
2089
+ "internalType": "address",
2090
+ "name": "from",
2091
+ "type": "address"
2092
+ },
2093
+ {
2094
+ "indexed": true,
2095
+ "internalType": "address",
2096
+ "name": "to",
2097
+ "type": "address"
2098
+ },
2099
+ {
2100
+ "indexed": false,
2101
+ "internalType": "uint256",
2102
+ "name": "amount",
2103
+ "type": "uint256"
2104
+ }
2105
+ ],
2106
+ "name": "Transfer",
2107
+ "type": "event"
2108
+ },
2109
+ {
2110
+ "constant": false,
2111
+ "inputs": [],
2112
+ "name": "_acceptAdmin",
2113
+ "outputs": [
2114
+ {
2115
+ "internalType": "uint256",
2116
+ "name": "",
2117
+ "type": "uint256"
2118
+ }
2119
+ ],
2120
+ "payable": false,
2121
+ "stateMutability": "nonpayable",
2122
+ "type": "function"
2123
+ },
2124
+ {
2125
+ "constant": false,
2126
+ "inputs": [
2127
+ {
2128
+ "internalType": "uint256",
2129
+ "name": "addAmount",
2130
+ "type": "uint256"
2131
+ }
2132
+ ],
2133
+ "name": "_addReserves",
2134
+ "outputs": [
2135
+ {
2136
+ "internalType": "uint256",
2137
+ "name": "",
2138
+ "type": "uint256"
2139
+ }
2140
+ ],
2141
+ "payable": false,
2142
+ "stateMutability": "nonpayable",
2143
+ "type": "function"
2144
+ },
2145
+ {
2146
+ "constant": false,
2147
+ "inputs": [
2148
+ {
2149
+ "internalType": "bytes",
2150
+ "name": "data",
2151
+ "type": "bytes"
2152
+ }
2153
+ ],
2154
+ "name": "_becomeImplementation",
2155
+ "outputs": [],
2156
+ "payable": false,
2157
+ "stateMutability": "nonpayable",
2158
+ "type": "function"
2159
+ },
2160
+ {
2161
+ "constant": false,
2162
+ "inputs": [
2163
+ {
2164
+ "internalType": "uint256",
2165
+ "name": "reduceAmount_",
2166
+ "type": "uint256"
2167
+ }
2168
+ ],
2169
+ "name": "_reduceReserves",
2170
+ "outputs": [
2171
+ {
2172
+ "internalType": "uint256",
2173
+ "name": "",
2174
+ "type": "uint256"
2175
+ }
2176
+ ],
2177
+ "payable": false,
2178
+ "stateMutability": "nonpayable",
2179
+ "type": "function"
2180
+ },
2181
+ {
2182
+ "constant": false,
2183
+ "inputs": [],
2184
+ "name": "_resignImplementation",
2185
+ "outputs": [],
2186
+ "payable": false,
2187
+ "stateMutability": "nonpayable",
2188
+ "type": "function"
2189
+ },
2190
+ {
2191
+ "constant": false,
2192
+ "inputs": [
2193
+ {
2194
+ "internalType": "contract ComptrollerInterface",
2195
+ "name": "newComptroller",
2196
+ "type": "address"
2197
+ }
2198
+ ],
2199
+ "name": "_setComptroller",
2200
+ "outputs": [
2201
+ {
2202
+ "internalType": "uint256",
2203
+ "name": "",
2204
+ "type": "uint256"
2205
+ }
2206
+ ],
2207
+ "payable": false,
2208
+ "stateMutability": "nonpayable",
2209
+ "type": "function"
2210
+ },
2211
+ {
2212
+ "constant": false,
2213
+ "inputs": [
2214
+ {
2215
+ "internalType": "contract InterestRateModel",
2216
+ "name": "newInterestRateModel_",
2217
+ "type": "address"
2218
+ }
2219
+ ],
2220
+ "name": "_setInterestRateModel",
2221
+ "outputs": [
2222
+ {
2223
+ "internalType": "uint256",
2224
+ "name": "",
2225
+ "type": "uint256"
2226
+ }
2227
+ ],
2228
+ "payable": false,
2229
+ "stateMutability": "nonpayable",
2230
+ "type": "function"
2231
+ },
2232
+ {
2233
+ "constant": false,
2234
+ "inputs": [
2235
+ {
2236
+ "internalType": "address payable",
2237
+ "name": "newPendingAdmin",
2238
+ "type": "address"
2239
+ }
2240
+ ],
2241
+ "name": "_setPendingAdmin",
2242
+ "outputs": [
2243
+ {
2244
+ "internalType": "uint256",
2245
+ "name": "",
2246
+ "type": "uint256"
2247
+ }
2248
+ ],
2249
+ "payable": false,
2250
+ "stateMutability": "nonpayable",
2251
+ "type": "function"
2252
+ },
2253
+ {
2254
+ "constant": false,
2255
+ "inputs": [
2256
+ {
2257
+ "internalType": "uint256",
2258
+ "name": "newReserveFactorMantissa_",
2259
+ "type": "uint256"
2260
+ }
2261
+ ],
2262
+ "name": "_setReserveFactor",
2263
+ "outputs": [
2264
+ {
2265
+ "internalType": "uint256",
2266
+ "name": "",
2267
+ "type": "uint256"
2268
+ }
2269
+ ],
2270
+ "payable": false,
2271
+ "stateMutability": "nonpayable",
2272
+ "type": "function"
2273
+ },
2274
+ {
2275
+ "constant": true,
2276
+ "inputs": [],
2277
+ "name": "accessControlManager",
2278
+ "outputs": [
2279
+ {
2280
+ "internalType": "address",
2281
+ "name": "",
2282
+ "type": "address"
2283
+ }
2284
+ ],
2285
+ "payable": false,
2286
+ "stateMutability": "view",
2287
+ "type": "function"
2288
+ },
2289
+ {
2290
+ "constant": true,
2291
+ "inputs": [],
2292
+ "name": "accrualBlockNumber",
2293
+ "outputs": [
2294
+ {
2295
+ "internalType": "uint256",
2296
+ "name": "",
2297
+ "type": "uint256"
2298
+ }
2299
+ ],
2300
+ "payable": false,
2301
+ "stateMutability": "view",
2302
+ "type": "function"
2303
+ },
2304
+ {
2305
+ "constant": false,
2306
+ "inputs": [],
2307
+ "name": "accrueInterest",
2308
+ "outputs": [
2309
+ {
2310
+ "internalType": "uint256",
2311
+ "name": "",
2312
+ "type": "uint256"
2313
+ }
2314
+ ],
2315
+ "payable": false,
2316
+ "stateMutability": "nonpayable",
2317
+ "type": "function"
2318
+ },
2319
+ {
2320
+ "constant": true,
2321
+ "inputs": [],
2322
+ "name": "admin",
2323
+ "outputs": [
2324
+ {
2325
+ "internalType": "address payable",
2326
+ "name": "",
2327
+ "type": "address"
2328
+ }
2329
+ ],
2330
+ "payable": false,
2331
+ "stateMutability": "view",
2332
+ "type": "function"
2333
+ },
2334
+ {
2335
+ "constant": true,
2336
+ "inputs": [
2337
+ {
2338
+ "internalType": "address",
2339
+ "name": "owner",
2340
+ "type": "address"
2341
+ },
2342
+ {
2343
+ "internalType": "address",
2344
+ "name": "spender",
2345
+ "type": "address"
2346
+ }
2347
+ ],
2348
+ "name": "allowance",
2349
+ "outputs": [
2350
+ {
2351
+ "internalType": "uint256",
2352
+ "name": "",
2353
+ "type": "uint256"
2354
+ }
2355
+ ],
2356
+ "payable": false,
2357
+ "stateMutability": "view",
2358
+ "type": "function"
2359
+ },
2360
+ {
2361
+ "constant": false,
2362
+ "inputs": [
2363
+ {
2364
+ "internalType": "address",
2365
+ "name": "spender",
2366
+ "type": "address"
2367
+ },
2368
+ {
2369
+ "internalType": "uint256",
2370
+ "name": "amount",
2371
+ "type": "uint256"
2372
+ }
2373
+ ],
2374
+ "name": "approve",
2375
+ "outputs": [
2376
+ {
2377
+ "internalType": "bool",
2378
+ "name": "",
2379
+ "type": "bool"
2380
+ }
2381
+ ],
2382
+ "payable": false,
2383
+ "stateMutability": "nonpayable",
2384
+ "type": "function"
2385
+ },
2386
+ {
2387
+ "constant": true,
2388
+ "inputs": [
2389
+ {
2390
+ "internalType": "address",
2391
+ "name": "owner",
2392
+ "type": "address"
2393
+ }
2394
+ ],
2395
+ "name": "balanceOf",
2396
+ "outputs": [
2397
+ {
2398
+ "internalType": "uint256",
2399
+ "name": "",
2400
+ "type": "uint256"
2401
+ }
2402
+ ],
2403
+ "payable": false,
2404
+ "stateMutability": "view",
2405
+ "type": "function"
2406
+ },
2407
+ {
2408
+ "constant": false,
2409
+ "inputs": [
2410
+ {
2411
+ "internalType": "address",
2412
+ "name": "owner",
2413
+ "type": "address"
2414
+ }
2415
+ ],
2416
+ "name": "balanceOfUnderlying",
2417
+ "outputs": [
2418
+ {
2419
+ "internalType": "uint256",
2420
+ "name": "",
2421
+ "type": "uint256"
2422
+ }
2423
+ ],
2424
+ "payable": false,
2425
+ "stateMutability": "nonpayable",
2426
+ "type": "function"
2427
+ },
2428
+ {
2429
+ "constant": false,
2430
+ "inputs": [
2431
+ {
2432
+ "internalType": "uint256",
2433
+ "name": "borrowAmount",
2434
+ "type": "uint256"
2435
+ }
2436
+ ],
2437
+ "name": "borrow",
2438
+ "outputs": [
2439
+ {
2440
+ "internalType": "uint256",
2441
+ "name": "",
2442
+ "type": "uint256"
2443
+ }
2444
+ ],
2445
+ "payable": false,
2446
+ "stateMutability": "nonpayable",
2447
+ "type": "function"
2448
+ },
2449
+ {
2450
+ "constant": false,
2451
+ "inputs": [
2452
+ {
2453
+ "internalType": "address",
2454
+ "name": "account",
2455
+ "type": "address"
2456
+ }
2457
+ ],
2458
+ "name": "borrowBalanceCurrent",
2459
+ "outputs": [
2460
+ {
2461
+ "internalType": "uint256",
2462
+ "name": "",
2463
+ "type": "uint256"
2464
+ }
2465
+ ],
2466
+ "payable": false,
2467
+ "stateMutability": "nonpayable",
2468
+ "type": "function"
2469
+ },
2470
+ {
2471
+ "constant": true,
2472
+ "inputs": [
2473
+ {
2474
+ "internalType": "address",
2475
+ "name": "account",
2476
+ "type": "address"
2477
+ }
2478
+ ],
2479
+ "name": "borrowBalanceStored",
2480
+ "outputs": [
2481
+ {
2482
+ "internalType": "uint256",
2483
+ "name": "",
2484
+ "type": "uint256"
2485
+ }
2486
+ ],
2487
+ "payable": false,
2488
+ "stateMutability": "view",
2489
+ "type": "function"
2490
+ },
2491
+ {
2492
+ "constant": false,
2493
+ "inputs": [
2494
+ {
2495
+ "internalType": "address",
2496
+ "name": "borrower",
2497
+ "type": "address"
2498
+ },
2499
+ {
2500
+ "internalType": "uint256",
2501
+ "name": "borrowAmount",
2502
+ "type": "uint256"
2503
+ }
2504
+ ],
2505
+ "name": "borrowBehalf",
2506
+ "outputs": [
2507
+ {
2508
+ "internalType": "uint256",
2509
+ "name": "",
2510
+ "type": "uint256"
2511
+ }
2512
+ ],
2513
+ "payable": false,
2514
+ "stateMutability": "nonpayable",
2515
+ "type": "function"
2516
+ },
2517
+ {
2518
+ "constant": true,
2519
+ "inputs": [],
2520
+ "name": "borrowIndex",
2521
+ "outputs": [
2522
+ {
2523
+ "internalType": "uint256",
2524
+ "name": "",
2525
+ "type": "uint256"
2526
+ }
2527
+ ],
2528
+ "payable": false,
2529
+ "stateMutability": "view",
2530
+ "type": "function"
2531
+ },
2532
+ {
2533
+ "constant": true,
2534
+ "inputs": [],
2535
+ "name": "borrowRatePerBlock",
2536
+ "outputs": [
2537
+ {
2538
+ "internalType": "uint256",
2539
+ "name": "",
2540
+ "type": "uint256"
2541
+ }
2542
+ ],
2543
+ "payable": false,
2544
+ "stateMutability": "view",
2545
+ "type": "function"
2546
+ },
2547
+ {
2548
+ "constant": true,
2549
+ "inputs": [],
2550
+ "name": "comptroller",
2551
+ "outputs": [
2552
+ {
2553
+ "internalType": "contract ComptrollerInterface",
2554
+ "name": "",
2555
+ "type": "address"
2556
+ }
2557
+ ],
2558
+ "payable": false,
2559
+ "stateMutability": "view",
2560
+ "type": "function"
2561
+ },
2562
+ {
2563
+ "constant": true,
2564
+ "inputs": [],
2565
+ "name": "decimals",
2566
+ "outputs": [
2567
+ {
2568
+ "internalType": "uint8",
2569
+ "name": "",
2570
+ "type": "uint8"
2571
+ }
2572
+ ],
2573
+ "payable": false,
2574
+ "stateMutability": "view",
2575
+ "type": "function"
2576
+ },
2577
+ {
2578
+ "constant": false,
2579
+ "inputs": [],
2580
+ "name": "exchangeRateCurrent",
2581
+ "outputs": [
2582
+ {
2583
+ "internalType": "uint256",
2584
+ "name": "",
2585
+ "type": "uint256"
2586
+ }
2587
+ ],
2588
+ "payable": false,
2589
+ "stateMutability": "nonpayable",
2590
+ "type": "function"
2591
+ },
2592
+ {
2593
+ "constant": true,
2594
+ "inputs": [],
2595
+ "name": "exchangeRateStored",
2596
+ "outputs": [
2597
+ {
2598
+ "internalType": "uint256",
2599
+ "name": "",
2600
+ "type": "uint256"
2601
+ }
2602
+ ],
2603
+ "payable": false,
2604
+ "stateMutability": "view",
2605
+ "type": "function"
2606
+ },
2607
+ {
2608
+ "constant": true,
2609
+ "inputs": [
2610
+ {
2611
+ "internalType": "address",
2612
+ "name": "account",
2613
+ "type": "address"
2614
+ }
2615
+ ],
2616
+ "name": "getAccountSnapshot",
2617
+ "outputs": [
2618
+ {
2619
+ "internalType": "uint256",
2620
+ "name": "",
2621
+ "type": "uint256"
2622
+ },
2623
+ {
2624
+ "internalType": "uint256",
2625
+ "name": "",
2626
+ "type": "uint256"
2627
+ },
2628
+ {
2629
+ "internalType": "uint256",
2630
+ "name": "",
2631
+ "type": "uint256"
2632
+ },
2633
+ {
2634
+ "internalType": "uint256",
2635
+ "name": "",
2636
+ "type": "uint256"
2637
+ }
2638
+ ],
2639
+ "payable": false,
2640
+ "stateMutability": "view",
2641
+ "type": "function"
2642
+ },
2643
+ {
2644
+ "constant": true,
2645
+ "inputs": [],
2646
+ "name": "getCash",
2647
+ "outputs": [
2648
+ {
2649
+ "internalType": "uint256",
2650
+ "name": "",
2651
+ "type": "uint256"
2652
+ }
2653
+ ],
2654
+ "payable": false,
2655
+ "stateMutability": "view",
2656
+ "type": "function"
2657
+ },
2658
+ {
2659
+ "constant": true,
2660
+ "inputs": [],
2661
+ "name": "implementation",
2662
+ "outputs": [
2663
+ {
2664
+ "internalType": "address",
2665
+ "name": "",
2666
+ "type": "address"
2667
+ }
2668
+ ],
2669
+ "payable": false,
2670
+ "stateMutability": "view",
2671
+ "type": "function"
2672
+ },
2673
+ {
2674
+ "constant": false,
2675
+ "inputs": [
2676
+ {
2677
+ "internalType": "address",
2678
+ "name": "underlying_",
2679
+ "type": "address"
2680
+ },
2681
+ {
2682
+ "internalType": "contract ComptrollerInterface",
2683
+ "name": "comptroller_",
2684
+ "type": "address"
2685
+ },
2686
+ {
2687
+ "internalType": "contract InterestRateModel",
2688
+ "name": "interestRateModel_",
2689
+ "type": "address"
2690
+ },
2691
+ {
2692
+ "internalType": "uint256",
2693
+ "name": "initialExchangeRateMantissa_",
2694
+ "type": "uint256"
2695
+ },
2696
+ {
2697
+ "internalType": "string",
2698
+ "name": "name_",
2699
+ "type": "string"
2700
+ },
2701
+ {
2702
+ "internalType": "string",
2703
+ "name": "symbol_",
2704
+ "type": "string"
2705
+ },
2706
+ {
2707
+ "internalType": "uint8",
2708
+ "name": "decimals_",
2709
+ "type": "uint8"
2710
+ }
2711
+ ],
2712
+ "name": "initialize",
2713
+ "outputs": [],
2714
+ "payable": false,
2715
+ "stateMutability": "nonpayable",
2716
+ "type": "function"
2717
+ },
2718
+ {
2719
+ "constant": false,
2720
+ "inputs": [
2721
+ {
2722
+ "internalType": "contract ComptrollerInterface",
2723
+ "name": "comptroller_",
2724
+ "type": "address"
2725
+ },
2726
+ {
2727
+ "internalType": "contract InterestRateModel",
2728
+ "name": "interestRateModel_",
2729
+ "type": "address"
2730
+ },
2731
+ {
2732
+ "internalType": "uint256",
2733
+ "name": "initialExchangeRateMantissa_",
2734
+ "type": "uint256"
2735
+ },
2736
+ {
2737
+ "internalType": "string",
2738
+ "name": "name_",
2739
+ "type": "string"
2740
+ },
2741
+ {
2742
+ "internalType": "string",
2743
+ "name": "symbol_",
2744
+ "type": "string"
2745
+ },
2746
+ {
2747
+ "internalType": "uint8",
2748
+ "name": "decimals_",
2749
+ "type": "uint8"
2750
+ }
2751
+ ],
2752
+ "name": "initialize",
2753
+ "outputs": [],
2754
+ "payable": false,
2755
+ "stateMutability": "nonpayable",
2756
+ "type": "function"
2757
+ },
2758
+ {
2759
+ "constant": true,
2760
+ "inputs": [],
2761
+ "name": "interestRateModel",
2762
+ "outputs": [
2763
+ {
2764
+ "internalType": "contract InterestRateModel",
2765
+ "name": "",
2766
+ "type": "address"
2767
+ }
2768
+ ],
2769
+ "payable": false,
2770
+ "stateMutability": "view",
2771
+ "type": "function"
2772
+ },
2773
+ {
2774
+ "constant": true,
2775
+ "inputs": [],
2776
+ "name": "isVToken",
2777
+ "outputs": [
2778
+ {
2779
+ "internalType": "bool",
2780
+ "name": "",
2781
+ "type": "bool"
2782
+ }
2783
+ ],
2784
+ "payable": false,
2785
+ "stateMutability": "view",
2786
+ "type": "function"
2787
+ },
2788
+ {
2789
+ "constant": false,
2790
+ "inputs": [
2791
+ {
2792
+ "internalType": "address",
2793
+ "name": "borrower",
2794
+ "type": "address"
2795
+ },
2796
+ {
2797
+ "internalType": "uint256",
2798
+ "name": "repayAmount",
2799
+ "type": "uint256"
2800
+ },
2801
+ {
2802
+ "internalType": "contract VTokenInterface",
2803
+ "name": "vTokenCollateral",
2804
+ "type": "address"
2805
+ }
2806
+ ],
2807
+ "name": "liquidateBorrow",
2808
+ "outputs": [
2809
+ {
2810
+ "internalType": "uint256",
2811
+ "name": "",
2812
+ "type": "uint256"
2813
+ }
2814
+ ],
2815
+ "payable": false,
2816
+ "stateMutability": "nonpayable",
2817
+ "type": "function"
2818
+ },
2819
+ {
2820
+ "constant": false,
2821
+ "inputs": [
2822
+ {
2823
+ "internalType": "uint256",
2824
+ "name": "mintAmount",
2825
+ "type": "uint256"
2826
+ }
2827
+ ],
2828
+ "name": "mint",
2829
+ "outputs": [
2830
+ {
2831
+ "internalType": "uint256",
2832
+ "name": "",
2833
+ "type": "uint256"
2834
+ }
2835
+ ],
2836
+ "payable": false,
2837
+ "stateMutability": "nonpayable",
2838
+ "type": "function"
2839
+ },
2840
+ {
2841
+ "constant": false,
2842
+ "inputs": [
2843
+ {
2844
+ "internalType": "address",
2845
+ "name": "receiver",
2846
+ "type": "address"
2847
+ },
2848
+ {
2849
+ "internalType": "uint256",
2850
+ "name": "mintAmount",
2851
+ "type": "uint256"
2852
+ }
2853
+ ],
2854
+ "name": "mintBehalf",
2855
+ "outputs": [
2856
+ {
2857
+ "internalType": "uint256",
2858
+ "name": "",
2859
+ "type": "uint256"
2860
+ }
2861
+ ],
2862
+ "payable": false,
2863
+ "stateMutability": "nonpayable",
2864
+ "type": "function"
2865
+ },
2866
+ {
2867
+ "constant": true,
2868
+ "inputs": [],
2869
+ "name": "name",
2870
+ "outputs": [
2871
+ {
2872
+ "internalType": "string",
2873
+ "name": "",
2874
+ "type": "string"
2875
+ }
2876
+ ],
2877
+ "payable": false,
2878
+ "stateMutability": "view",
2879
+ "type": "function"
2880
+ },
2881
+ {
2882
+ "constant": true,
2883
+ "inputs": [],
2884
+ "name": "pendingAdmin",
2885
+ "outputs": [
2886
+ {
2887
+ "internalType": "address payable",
2888
+ "name": "",
2889
+ "type": "address"
2890
+ }
2891
+ ],
2892
+ "payable": false,
2893
+ "stateMutability": "view",
2894
+ "type": "function"
2895
+ },
2896
+ {
2897
+ "constant": true,
2898
+ "inputs": [],
2899
+ "name": "protocolShareReserve",
2900
+ "outputs": [
2901
+ {
2902
+ "internalType": "address payable",
2903
+ "name": "",
2904
+ "type": "address"
2905
+ }
2906
+ ],
2907
+ "payable": false,
2908
+ "stateMutability": "view",
2909
+ "type": "function"
2910
+ },
2911
+ {
2912
+ "constant": false,
2913
+ "inputs": [
2914
+ {
2915
+ "internalType": "uint256",
2916
+ "name": "redeemTokens",
2917
+ "type": "uint256"
2918
+ }
2919
+ ],
2920
+ "name": "redeem",
2921
+ "outputs": [
2922
+ {
2923
+ "internalType": "uint256",
2924
+ "name": "",
2925
+ "type": "uint256"
2926
+ }
2927
+ ],
2928
+ "payable": false,
2929
+ "stateMutability": "nonpayable",
2930
+ "type": "function"
2931
+ },
2932
+ {
2933
+ "constant": false,
2934
+ "inputs": [
2935
+ {
2936
+ "internalType": "address",
2937
+ "name": "redeemer",
2938
+ "type": "address"
2939
+ },
2940
+ {
2941
+ "internalType": "uint256",
2942
+ "name": "redeemTokens",
2943
+ "type": "uint256"
2944
+ }
2945
+ ],
2946
+ "name": "redeemBehalf",
2947
+ "outputs": [
2948
+ {
2949
+ "internalType": "uint256",
2950
+ "name": "",
2951
+ "type": "uint256"
2952
+ }
2953
+ ],
2954
+ "payable": false,
2955
+ "stateMutability": "nonpayable",
2956
+ "type": "function"
2957
+ },
2958
+ {
2959
+ "constant": false,
2960
+ "inputs": [
2961
+ {
2962
+ "internalType": "uint256",
2963
+ "name": "redeemAmount",
2964
+ "type": "uint256"
2965
+ }
2966
+ ],
2967
+ "name": "redeemUnderlying",
2968
+ "outputs": [
2969
+ {
2970
+ "internalType": "uint256",
2971
+ "name": "",
2972
+ "type": "uint256"
2973
+ }
2974
+ ],
2975
+ "payable": false,
2976
+ "stateMutability": "nonpayable",
2977
+ "type": "function"
2978
+ },
2979
+ {
2980
+ "constant": false,
2981
+ "inputs": [
2982
+ {
2983
+ "internalType": "address",
2984
+ "name": "redeemer",
2985
+ "type": "address"
2986
+ },
2987
+ {
2988
+ "internalType": "uint256",
2989
+ "name": "redeemAmount",
2990
+ "type": "uint256"
2991
+ }
2992
+ ],
2993
+ "name": "redeemUnderlyingBehalf",
2994
+ "outputs": [
2995
+ {
2996
+ "internalType": "uint256",
2997
+ "name": "",
2998
+ "type": "uint256"
2999
+ }
3000
+ ],
3001
+ "payable": false,
3002
+ "stateMutability": "nonpayable",
3003
+ "type": "function"
3004
+ },
3005
+ {
3006
+ "constant": true,
3007
+ "inputs": [],
3008
+ "name": "reduceReservesBlockDelta",
3009
+ "outputs": [
3010
+ {
3011
+ "internalType": "uint256",
3012
+ "name": "",
3013
+ "type": "uint256"
3014
+ }
3015
+ ],
3016
+ "payable": false,
3017
+ "stateMutability": "view",
3018
+ "type": "function"
3019
+ },
3020
+ {
3021
+ "constant": true,
3022
+ "inputs": [],
3023
+ "name": "reduceReservesBlockNumber",
3024
+ "outputs": [
3025
+ {
3026
+ "internalType": "uint256",
3027
+ "name": "",
3028
+ "type": "uint256"
3029
+ }
3030
+ ],
3031
+ "payable": false,
3032
+ "stateMutability": "view",
3033
+ "type": "function"
3034
+ },
3035
+ {
3036
+ "constant": false,
3037
+ "inputs": [
3038
+ {
3039
+ "internalType": "uint256",
3040
+ "name": "repayAmount",
3041
+ "type": "uint256"
3042
+ }
3043
+ ],
3044
+ "name": "repayBorrow",
3045
+ "outputs": [
3046
+ {
3047
+ "internalType": "uint256",
3048
+ "name": "",
3049
+ "type": "uint256"
3050
+ }
3051
+ ],
3052
+ "payable": false,
3053
+ "stateMutability": "nonpayable",
3054
+ "type": "function"
3055
+ },
3056
+ {
3057
+ "constant": false,
3058
+ "inputs": [
3059
+ {
3060
+ "internalType": "address",
3061
+ "name": "borrower",
3062
+ "type": "address"
3063
+ },
3064
+ {
3065
+ "internalType": "uint256",
3066
+ "name": "repayAmount",
3067
+ "type": "uint256"
3068
+ }
3069
+ ],
3070
+ "name": "repayBorrowBehalf",
3071
+ "outputs": [
3072
+ {
3073
+ "internalType": "uint256",
3074
+ "name": "",
3075
+ "type": "uint256"
3076
+ }
3077
+ ],
3078
+ "payable": false,
3079
+ "stateMutability": "nonpayable",
3080
+ "type": "function"
3081
+ },
3082
+ {
3083
+ "constant": true,
3084
+ "inputs": [],
3085
+ "name": "reserveFactorMantissa",
3086
+ "outputs": [
3087
+ {
3088
+ "internalType": "uint256",
3089
+ "name": "",
3090
+ "type": "uint256"
3091
+ }
3092
+ ],
3093
+ "payable": false,
3094
+ "stateMutability": "view",
3095
+ "type": "function"
3096
+ },
3097
+ {
3098
+ "constant": false,
3099
+ "inputs": [
3100
+ {
3101
+ "internalType": "address",
3102
+ "name": "liquidator",
3103
+ "type": "address"
3104
+ },
3105
+ {
3106
+ "internalType": "address",
3107
+ "name": "borrower",
3108
+ "type": "address"
3109
+ },
3110
+ {
3111
+ "internalType": "uint256",
3112
+ "name": "seizeTokens",
3113
+ "type": "uint256"
3114
+ }
3115
+ ],
3116
+ "name": "seize",
3117
+ "outputs": [
3118
+ {
3119
+ "internalType": "uint256",
3120
+ "name": "",
3121
+ "type": "uint256"
3122
+ }
3123
+ ],
3124
+ "payable": false,
3125
+ "stateMutability": "nonpayable",
3126
+ "type": "function"
3127
+ },
3128
+ {
3129
+ "constant": false,
3130
+ "inputs": [
3131
+ {
3132
+ "internalType": "address",
3133
+ "name": "newAccessControlManagerAddress",
3134
+ "type": "address"
3135
+ }
3136
+ ],
3137
+ "name": "setAccessControlManager",
3138
+ "outputs": [
3139
+ {
3140
+ "internalType": "uint256",
3141
+ "name": "",
3142
+ "type": "uint256"
3143
+ }
3144
+ ],
3145
+ "payable": false,
3146
+ "stateMutability": "nonpayable",
3147
+ "type": "function"
3148
+ },
3149
+ {
3150
+ "constant": false,
3151
+ "inputs": [
3152
+ {
3153
+ "internalType": "address payable",
3154
+ "name": "protcolShareReserve_",
3155
+ "type": "address"
3156
+ }
3157
+ ],
3158
+ "name": "setProtocolShareReserve",
3159
+ "outputs": [],
3160
+ "payable": false,
3161
+ "stateMutability": "nonpayable",
3162
+ "type": "function"
3163
+ },
3164
+ {
3165
+ "constant": false,
3166
+ "inputs": [
3167
+ {
3168
+ "internalType": "uint256",
3169
+ "name": "newReduceReservesBlockDelta_",
3170
+ "type": "uint256"
3171
+ }
3172
+ ],
3173
+ "name": "setReduceReservesBlockDelta",
3174
+ "outputs": [],
3175
+ "payable": false,
3176
+ "stateMutability": "nonpayable",
3177
+ "type": "function"
3178
+ },
3179
+ {
3180
+ "constant": true,
3181
+ "inputs": [],
3182
+ "name": "supplyRatePerBlock",
3183
+ "outputs": [
3184
+ {
3185
+ "internalType": "uint256",
3186
+ "name": "",
3187
+ "type": "uint256"
3188
+ }
3189
+ ],
3190
+ "payable": false,
3191
+ "stateMutability": "view",
3192
+ "type": "function"
3193
+ },
3194
+ {
3195
+ "constant": true,
3196
+ "inputs": [],
3197
+ "name": "symbol",
3198
+ "outputs": [
3199
+ {
3200
+ "internalType": "string",
3201
+ "name": "",
3202
+ "type": "string"
3203
+ }
3204
+ ],
3205
+ "payable": false,
3206
+ "stateMutability": "view",
3207
+ "type": "function"
3208
+ },
3209
+ {
3210
+ "constant": true,
3211
+ "inputs": [],
3212
+ "name": "totalBorrows",
3213
+ "outputs": [
3214
+ {
3215
+ "internalType": "uint256",
3216
+ "name": "",
3217
+ "type": "uint256"
3218
+ }
3219
+ ],
3220
+ "payable": false,
3221
+ "stateMutability": "view",
3222
+ "type": "function"
3223
+ },
3224
+ {
3225
+ "constant": false,
3226
+ "inputs": [],
3227
+ "name": "totalBorrowsCurrent",
3228
+ "outputs": [
3229
+ {
3230
+ "internalType": "uint256",
3231
+ "name": "",
3232
+ "type": "uint256"
3233
+ }
3234
+ ],
3235
+ "payable": false,
3236
+ "stateMutability": "nonpayable",
3237
+ "type": "function"
3238
+ },
3239
+ {
3240
+ "constant": true,
3241
+ "inputs": [],
3242
+ "name": "totalReserves",
3243
+ "outputs": [
3244
+ {
3245
+ "internalType": "uint256",
3246
+ "name": "",
3247
+ "type": "uint256"
3248
+ }
3249
+ ],
3250
+ "payable": false,
3251
+ "stateMutability": "view",
3252
+ "type": "function"
3253
+ },
3254
+ {
3255
+ "constant": true,
3256
+ "inputs": [],
3257
+ "name": "totalSupply",
3258
+ "outputs": [
3259
+ {
3260
+ "internalType": "uint256",
3261
+ "name": "",
3262
+ "type": "uint256"
3263
+ }
3264
+ ],
3265
+ "payable": false,
3266
+ "stateMutability": "view",
3267
+ "type": "function"
3268
+ },
3269
+ {
3270
+ "constant": false,
3271
+ "inputs": [
3272
+ {
3273
+ "internalType": "address",
3274
+ "name": "dst",
3275
+ "type": "address"
3276
+ },
3277
+ {
3278
+ "internalType": "uint256",
3279
+ "name": "amount",
3280
+ "type": "uint256"
3281
+ }
3282
+ ],
3283
+ "name": "transfer",
3284
+ "outputs": [
3285
+ {
3286
+ "internalType": "bool",
3287
+ "name": "",
3288
+ "type": "bool"
3289
+ }
3290
+ ],
3291
+ "payable": false,
3292
+ "stateMutability": "nonpayable",
3293
+ "type": "function"
3294
+ },
3295
+ {
3296
+ "constant": false,
3297
+ "inputs": [
3298
+ {
3299
+ "internalType": "address",
3300
+ "name": "src",
3301
+ "type": "address"
3302
+ },
3303
+ {
3304
+ "internalType": "address",
3305
+ "name": "dst",
3306
+ "type": "address"
3307
+ },
3308
+ {
3309
+ "internalType": "uint256",
3310
+ "name": "amount",
3311
+ "type": "uint256"
3312
+ }
3313
+ ],
3314
+ "name": "transferFrom",
3315
+ "outputs": [
3316
+ {
3317
+ "internalType": "bool",
3318
+ "name": "",
3319
+ "type": "bool"
3320
+ }
3321
+ ],
3322
+ "payable": false,
3323
+ "stateMutability": "nonpayable",
3324
+ "type": "function"
3325
+ },
3326
+ {
3327
+ "constant": true,
3328
+ "inputs": [],
3329
+ "name": "underlying",
3330
+ "outputs": [
3331
+ {
3332
+ "internalType": "address",
3333
+ "name": "",
3334
+ "type": "address"
3335
+ }
3336
+ ],
3337
+ "payable": false,
3338
+ "stateMutability": "view",
3339
+ "type": "function"
3340
+ }
3341
+ ],
3342
+ "numDeployments": 1,
3343
+ "implementation": "0xad6aa8bb4829560412a94aa930745f407bf8000b"
3344
+ }