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

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