@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,1493 @@
1
+ {
2
+ "address": "0xeDaC03D29ff74b5fDc0CC936F6288312e1459BC6",
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
+ "numDeployments": 1
1493
+ }