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