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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +11 -1
  2. package/deployments/bscmainnet/JumpRateModel_base0bps_slope900bps_jump35000bps_kink4500bps.json +380 -0
  3. package/deployments/bscmainnet/vTHE.json +2382 -0
  4. package/deployments/bscmainnet.json +11519 -9584
  5. package/deployments/bscmainnet_addresses.json +2 -0
  6. package/deployments/bsctestnet/JumpRateModel_base0bps_slope900bps_jump35000bps_kink4500bps.json +380 -0
  7. package/deployments/bsctestnet/MockTHE.json +458 -0
  8. package/deployments/bsctestnet/vAAVE.json +3326 -0
  9. package/deployments/bsctestnet/vADA.json +3244 -0
  10. package/deployments/bsctestnet/{vBTC.json → vBTCB.json} +55 -15
  11. package/deployments/bsctestnet/vBUSD.json +55 -15
  12. package/deployments/bsctestnet/vCAKE.json +1493 -0
  13. package/deployments/bsctestnet/vDOGE.json +3269 -0
  14. package/deployments/bsctestnet/vETH.json +55 -15
  15. package/deployments/bsctestnet/vFDUSD.json +3 -15
  16. package/deployments/bsctestnet/vLTC.json +55 -15
  17. package/deployments/bsctestnet/vMATIC.json +1550 -0
  18. package/deployments/bsctestnet/vSXP.json +55 -15
  19. package/deployments/bsctestnet/vSolvBTC.json +1776 -697
  20. package/deployments/bsctestnet/vTHE.json +2382 -0
  21. package/deployments/bsctestnet/vTRX.json +56 -16
  22. package/deployments/bsctestnet/vTRXOLD.json +3326 -0
  23. package/deployments/bsctestnet/vTUSD.json +55 -15
  24. package/deployments/bsctestnet/vTUSDOLD.json +3326 -0
  25. package/deployments/bsctestnet/vTWT.json +1776 -697
  26. package/deployments/bsctestnet/vUNI.json +3344 -0
  27. package/deployments/bsctestnet/vUSDC.json +55 -15
  28. package/deployments/bsctestnet/vUSDT.json +55 -15
  29. package/deployments/bsctestnet/vWBETH.json +269 -5
  30. package/deployments/bsctestnet/vXRP.json +55 -15
  31. package/deployments/bsctestnet/vXVS.json +55 -15
  32. package/deployments/bsctestnet.json +31978 -2628
  33. package/deployments/bsctestnet_addresses.json +13 -2
  34. package/dist/deployments/bscmainnet.json +11519 -9584
  35. package/dist/deployments/bsctestnet.json +31978 -2628
  36. package/dist/hardhat.config.js +24 -3
  37. package/dist/helpers/deploymentConfig.js +45 -0
  38. package/dist/type-extensions.d.ts +6 -0
  39. package/dist/type-extensions.js +3 -0
  40. package/package.json +1 -1
@@ -0,0 +1,1550 @@
1
+ {
2
+ "address": "0x3619bdDc61189F33365CC572DF3a68FB3b316516",
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": "payer",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "indexed": false,
246
+ "internalType": "address",
247
+ "name": "receiver",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint256",
253
+ "name": "mintAmount",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "mintTokens",
260
+ "type": "uint256"
261
+ }
262
+ ],
263
+ "name": "MintBehalf",
264
+ "type": "event"
265
+ },
266
+ {
267
+ "anonymous": false,
268
+ "inputs": [
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "oldAdmin",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "address",
278
+ "name": "newAdmin",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "name": "NewAdmin",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "contract ComptrollerInterface",
291
+ "name": "oldComptroller",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "contract ComptrollerInterface",
297
+ "name": "newComptroller",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "NewComptroller",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "anonymous": false,
306
+ "inputs": [
307
+ {
308
+ "indexed": false,
309
+ "internalType": "address",
310
+ "name": "oldImplementation",
311
+ "type": "address"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "address",
316
+ "name": "newImplementation",
317
+ "type": "address"
318
+ }
319
+ ],
320
+ "name": "NewImplementation",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "contract InterestRateModel",
329
+ "name": "oldInterestRateModel",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "contract InterestRateModel",
335
+ "name": "newInterestRateModel",
336
+ "type": "address"
337
+ }
338
+ ],
339
+ "name": "NewMarketInterestRateModel",
340
+ "type": "event"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": false,
347
+ "internalType": "address",
348
+ "name": "oldPendingAdmin",
349
+ "type": "address"
350
+ },
351
+ {
352
+ "indexed": false,
353
+ "internalType": "address",
354
+ "name": "newPendingAdmin",
355
+ "type": "address"
356
+ }
357
+ ],
358
+ "name": "NewPendingAdmin",
359
+ "type": "event"
360
+ },
361
+ {
362
+ "anonymous": false,
363
+ "inputs": [
364
+ {
365
+ "indexed": false,
366
+ "internalType": "uint256",
367
+ "name": "oldReserveFactorMantissa",
368
+ "type": "uint256"
369
+ },
370
+ {
371
+ "indexed": false,
372
+ "internalType": "uint256",
373
+ "name": "newReserveFactorMantissa",
374
+ "type": "uint256"
375
+ }
376
+ ],
377
+ "name": "NewReserveFactor",
378
+ "type": "event"
379
+ },
380
+ {
381
+ "anonymous": false,
382
+ "inputs": [
383
+ {
384
+ "indexed": false,
385
+ "internalType": "address",
386
+ "name": "redeemer",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "uint256",
392
+ "name": "redeemAmount",
393
+ "type": "uint256"
394
+ },
395
+ {
396
+ "indexed": false,
397
+ "internalType": "uint256",
398
+ "name": "redeemTokens",
399
+ "type": "uint256"
400
+ }
401
+ ],
402
+ "name": "Redeem",
403
+ "type": "event"
404
+ },
405
+ {
406
+ "anonymous": false,
407
+ "inputs": [
408
+ {
409
+ "indexed": false,
410
+ "internalType": "address",
411
+ "name": "redeemer",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "uint256",
417
+ "name": "feeAmount",
418
+ "type": "uint256"
419
+ },
420
+ {
421
+ "indexed": false,
422
+ "internalType": "uint256",
423
+ "name": "redeemTokens",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "name": "RedeemFee",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": false,
435
+ "internalType": "address",
436
+ "name": "payer",
437
+ "type": "address"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "address",
442
+ "name": "borrower",
443
+ "type": "address"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "uint256",
448
+ "name": "repayAmount",
449
+ "type": "uint256"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint256",
454
+ "name": "accountBorrows",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "uint256",
460
+ "name": "totalBorrows",
461
+ "type": "uint256"
462
+ }
463
+ ],
464
+ "name": "RepayBorrow",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": false,
472
+ "internalType": "address",
473
+ "name": "benefactor",
474
+ "type": "address"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "uint256",
479
+ "name": "addAmount",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "uint256",
485
+ "name": "newTotalReserves",
486
+ "type": "uint256"
487
+ }
488
+ ],
489
+ "name": "ReservesAdded",
490
+ "type": "event"
491
+ },
492
+ {
493
+ "anonymous": false,
494
+ "inputs": [
495
+ {
496
+ "indexed": false,
497
+ "internalType": "address",
498
+ "name": "admin",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "indexed": false,
503
+ "internalType": "uint256",
504
+ "name": "reduceAmount",
505
+ "type": "uint256"
506
+ },
507
+ {
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "newTotalReserves",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "name": "ReservesReduced",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "anonymous": false,
519
+ "inputs": [
520
+ {
521
+ "indexed": true,
522
+ "internalType": "address",
523
+ "name": "from",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "indexed": true,
528
+ "internalType": "address",
529
+ "name": "to",
530
+ "type": "address"
531
+ },
532
+ {
533
+ "indexed": false,
534
+ "internalType": "uint256",
535
+ "name": "amount",
536
+ "type": "uint256"
537
+ }
538
+ ],
539
+ "name": "Transfer",
540
+ "type": "event"
541
+ },
542
+ {
543
+ "payable": true,
544
+ "stateMutability": "payable",
545
+ "type": "fallback"
546
+ },
547
+ {
548
+ "constant": false,
549
+ "inputs": [],
550
+ "name": "_acceptAdmin",
551
+ "outputs": [
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "",
555
+ "type": "uint256"
556
+ }
557
+ ],
558
+ "payable": false,
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "constant": false,
564
+ "inputs": [
565
+ {
566
+ "internalType": "uint256",
567
+ "name": "addAmount",
568
+ "type": "uint256"
569
+ }
570
+ ],
571
+ "name": "_addReserves",
572
+ "outputs": [
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "",
576
+ "type": "uint256"
577
+ }
578
+ ],
579
+ "payable": false,
580
+ "stateMutability": "nonpayable",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "constant": false,
585
+ "inputs": [
586
+ {
587
+ "internalType": "uint256",
588
+ "name": "reduceAmount",
589
+ "type": "uint256"
590
+ }
591
+ ],
592
+ "name": "_reduceReserves",
593
+ "outputs": [
594
+ {
595
+ "internalType": "uint256",
596
+ "name": "",
597
+ "type": "uint256"
598
+ }
599
+ ],
600
+ "payable": false,
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "constant": false,
606
+ "inputs": [
607
+ {
608
+ "internalType": "contract ComptrollerInterface",
609
+ "name": "newComptroller",
610
+ "type": "address"
611
+ }
612
+ ],
613
+ "name": "_setComptroller",
614
+ "outputs": [
615
+ {
616
+ "internalType": "uint256",
617
+ "name": "",
618
+ "type": "uint256"
619
+ }
620
+ ],
621
+ "payable": false,
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "constant": false,
627
+ "inputs": [
628
+ {
629
+ "internalType": "address",
630
+ "name": "implementation_",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "bool",
635
+ "name": "allowResign",
636
+ "type": "bool"
637
+ },
638
+ {
639
+ "internalType": "bytes",
640
+ "name": "becomeImplementationData",
641
+ "type": "bytes"
642
+ }
643
+ ],
644
+ "name": "_setImplementation",
645
+ "outputs": [],
646
+ "payable": false,
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "constant": false,
652
+ "inputs": [
653
+ {
654
+ "internalType": "contract InterestRateModel",
655
+ "name": "newInterestRateModel",
656
+ "type": "address"
657
+ }
658
+ ],
659
+ "name": "_setInterestRateModel",
660
+ "outputs": [
661
+ {
662
+ "internalType": "uint256",
663
+ "name": "",
664
+ "type": "uint256"
665
+ }
666
+ ],
667
+ "payable": false,
668
+ "stateMutability": "nonpayable",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "constant": false,
673
+ "inputs": [
674
+ {
675
+ "internalType": "address payable",
676
+ "name": "newPendingAdmin",
677
+ "type": "address"
678
+ }
679
+ ],
680
+ "name": "_setPendingAdmin",
681
+ "outputs": [
682
+ {
683
+ "internalType": "uint256",
684
+ "name": "",
685
+ "type": "uint256"
686
+ }
687
+ ],
688
+ "payable": false,
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "constant": false,
694
+ "inputs": [
695
+ {
696
+ "internalType": "uint256",
697
+ "name": "newReserveFactorMantissa",
698
+ "type": "uint256"
699
+ }
700
+ ],
701
+ "name": "_setReserveFactor",
702
+ "outputs": [
703
+ {
704
+ "internalType": "uint256",
705
+ "name": "",
706
+ "type": "uint256"
707
+ }
708
+ ],
709
+ "payable": false,
710
+ "stateMutability": "nonpayable",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "constant": true,
715
+ "inputs": [],
716
+ "name": "accrualBlockNumber",
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
+ "name": "accrueInterest",
732
+ "outputs": [
733
+ {
734
+ "internalType": "uint256",
735
+ "name": "",
736
+ "type": "uint256"
737
+ }
738
+ ],
739
+ "payable": false,
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "constant": true,
745
+ "inputs": [],
746
+ "name": "admin",
747
+ "outputs": [
748
+ {
749
+ "internalType": "address payable",
750
+ "name": "",
751
+ "type": "address"
752
+ }
753
+ ],
754
+ "payable": false,
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "constant": true,
760
+ "inputs": [
761
+ {
762
+ "internalType": "address",
763
+ "name": "owner",
764
+ "type": "address"
765
+ },
766
+ {
767
+ "internalType": "address",
768
+ "name": "spender",
769
+ "type": "address"
770
+ }
771
+ ],
772
+ "name": "allowance",
773
+ "outputs": [
774
+ {
775
+ "internalType": "uint256",
776
+ "name": "",
777
+ "type": "uint256"
778
+ }
779
+ ],
780
+ "payable": false,
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "constant": false,
786
+ "inputs": [
787
+ {
788
+ "internalType": "address",
789
+ "name": "spender",
790
+ "type": "address"
791
+ },
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "amount",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "name": "approve",
799
+ "outputs": [
800
+ {
801
+ "internalType": "bool",
802
+ "name": "",
803
+ "type": "bool"
804
+ }
805
+ ],
806
+ "payable": false,
807
+ "stateMutability": "nonpayable",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "constant": true,
812
+ "inputs": [
813
+ {
814
+ "internalType": "address",
815
+ "name": "owner",
816
+ "type": "address"
817
+ }
818
+ ],
819
+ "name": "balanceOf",
820
+ "outputs": [
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "payable": false,
828
+ "stateMutability": "view",
829
+ "type": "function"
830
+ },
831
+ {
832
+ "constant": false,
833
+ "inputs": [
834
+ {
835
+ "internalType": "address",
836
+ "name": "owner",
837
+ "type": "address"
838
+ }
839
+ ],
840
+ "name": "balanceOfUnderlying",
841
+ "outputs": [
842
+ {
843
+ "internalType": "uint256",
844
+ "name": "",
845
+ "type": "uint256"
846
+ }
847
+ ],
848
+ "payable": false,
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "constant": false,
854
+ "inputs": [
855
+ {
856
+ "internalType": "uint256",
857
+ "name": "borrowAmount",
858
+ "type": "uint256"
859
+ }
860
+ ],
861
+ "name": "borrow",
862
+ "outputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "payable": false,
870
+ "stateMutability": "nonpayable",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "constant": false,
875
+ "inputs": [
876
+ {
877
+ "internalType": "address",
878
+ "name": "account",
879
+ "type": "address"
880
+ }
881
+ ],
882
+ "name": "borrowBalanceCurrent",
883
+ "outputs": [
884
+ {
885
+ "internalType": "uint256",
886
+ "name": "",
887
+ "type": "uint256"
888
+ }
889
+ ],
890
+ "payable": false,
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "constant": true,
896
+ "inputs": [
897
+ {
898
+ "internalType": "address",
899
+ "name": "account",
900
+ "type": "address"
901
+ }
902
+ ],
903
+ "name": "borrowBalanceStored",
904
+ "outputs": [
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "",
908
+ "type": "uint256"
909
+ }
910
+ ],
911
+ "payable": false,
912
+ "stateMutability": "view",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "constant": true,
917
+ "inputs": [],
918
+ "name": "borrowIndex",
919
+ "outputs": [
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "",
923
+ "type": "uint256"
924
+ }
925
+ ],
926
+ "payable": false,
927
+ "stateMutability": "view",
928
+ "type": "function"
929
+ },
930
+ {
931
+ "constant": true,
932
+ "inputs": [],
933
+ "name": "borrowRatePerBlock",
934
+ "outputs": [
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "",
938
+ "type": "uint256"
939
+ }
940
+ ],
941
+ "payable": false,
942
+ "stateMutability": "view",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "constant": true,
947
+ "inputs": [],
948
+ "name": "comptroller",
949
+ "outputs": [
950
+ {
951
+ "internalType": "contract ComptrollerInterface",
952
+ "name": "",
953
+ "type": "address"
954
+ }
955
+ ],
956
+ "payable": false,
957
+ "stateMutability": "view",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "constant": true,
962
+ "inputs": [],
963
+ "name": "decimals",
964
+ "outputs": [
965
+ {
966
+ "internalType": "uint8",
967
+ "name": "",
968
+ "type": "uint8"
969
+ }
970
+ ],
971
+ "payable": false,
972
+ "stateMutability": "view",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "constant": false,
977
+ "inputs": [
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "data",
981
+ "type": "bytes"
982
+ }
983
+ ],
984
+ "name": "delegateToImplementation",
985
+ "outputs": [
986
+ {
987
+ "internalType": "bytes",
988
+ "name": "",
989
+ "type": "bytes"
990
+ }
991
+ ],
992
+ "payable": false,
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "constant": true,
998
+ "inputs": [
999
+ {
1000
+ "internalType": "bytes",
1001
+ "name": "data",
1002
+ "type": "bytes"
1003
+ }
1004
+ ],
1005
+ "name": "delegateToViewImplementation",
1006
+ "outputs": [
1007
+ {
1008
+ "internalType": "bytes",
1009
+ "name": "",
1010
+ "type": "bytes"
1011
+ }
1012
+ ],
1013
+ "payable": false,
1014
+ "stateMutability": "view",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "constant": false,
1019
+ "inputs": [],
1020
+ "name": "exchangeRateCurrent",
1021
+ "outputs": [
1022
+ {
1023
+ "internalType": "uint256",
1024
+ "name": "",
1025
+ "type": "uint256"
1026
+ }
1027
+ ],
1028
+ "payable": false,
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "constant": true,
1034
+ "inputs": [],
1035
+ "name": "exchangeRateStored",
1036
+ "outputs": [
1037
+ {
1038
+ "internalType": "uint256",
1039
+ "name": "",
1040
+ "type": "uint256"
1041
+ }
1042
+ ],
1043
+ "payable": false,
1044
+ "stateMutability": "view",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "constant": true,
1049
+ "inputs": [
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "account",
1053
+ "type": "address"
1054
+ }
1055
+ ],
1056
+ "name": "getAccountSnapshot",
1057
+ "outputs": [
1058
+ {
1059
+ "internalType": "uint256",
1060
+ "name": "",
1061
+ "type": "uint256"
1062
+ },
1063
+ {
1064
+ "internalType": "uint256",
1065
+ "name": "",
1066
+ "type": "uint256"
1067
+ },
1068
+ {
1069
+ "internalType": "uint256",
1070
+ "name": "",
1071
+ "type": "uint256"
1072
+ },
1073
+ {
1074
+ "internalType": "uint256",
1075
+ "name": "",
1076
+ "type": "uint256"
1077
+ }
1078
+ ],
1079
+ "payable": false,
1080
+ "stateMutability": "view",
1081
+ "type": "function"
1082
+ },
1083
+ {
1084
+ "constant": true,
1085
+ "inputs": [],
1086
+ "name": "getCash",
1087
+ "outputs": [
1088
+ {
1089
+ "internalType": "uint256",
1090
+ "name": "",
1091
+ "type": "uint256"
1092
+ }
1093
+ ],
1094
+ "payable": false,
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "constant": true,
1100
+ "inputs": [],
1101
+ "name": "implementation",
1102
+ "outputs": [
1103
+ {
1104
+ "internalType": "address",
1105
+ "name": "",
1106
+ "type": "address"
1107
+ }
1108
+ ],
1109
+ "payable": false,
1110
+ "stateMutability": "view",
1111
+ "type": "function"
1112
+ },
1113
+ {
1114
+ "constant": true,
1115
+ "inputs": [],
1116
+ "name": "interestRateModel",
1117
+ "outputs": [
1118
+ {
1119
+ "internalType": "contract InterestRateModel",
1120
+ "name": "",
1121
+ "type": "address"
1122
+ }
1123
+ ],
1124
+ "payable": false,
1125
+ "stateMutability": "view",
1126
+ "type": "function"
1127
+ },
1128
+ {
1129
+ "constant": true,
1130
+ "inputs": [],
1131
+ "name": "isVToken",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "bool",
1135
+ "name": "",
1136
+ "type": "bool"
1137
+ }
1138
+ ],
1139
+ "payable": false,
1140
+ "stateMutability": "view",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "constant": false,
1145
+ "inputs": [
1146
+ {
1147
+ "internalType": "address",
1148
+ "name": "borrower",
1149
+ "type": "address"
1150
+ },
1151
+ {
1152
+ "internalType": "uint256",
1153
+ "name": "repayAmount",
1154
+ "type": "uint256"
1155
+ },
1156
+ {
1157
+ "internalType": "contract VTokenInterface",
1158
+ "name": "vTokenCollateral",
1159
+ "type": "address"
1160
+ }
1161
+ ],
1162
+ "name": "liquidateBorrow",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "payable": false,
1171
+ "stateMutability": "nonpayable",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "constant": false,
1176
+ "inputs": [
1177
+ {
1178
+ "internalType": "uint256",
1179
+ "name": "mintAmount",
1180
+ "type": "uint256"
1181
+ }
1182
+ ],
1183
+ "name": "mint",
1184
+ "outputs": [
1185
+ {
1186
+ "internalType": "uint256",
1187
+ "name": "",
1188
+ "type": "uint256"
1189
+ }
1190
+ ],
1191
+ "payable": false,
1192
+ "stateMutability": "nonpayable",
1193
+ "type": "function"
1194
+ },
1195
+ {
1196
+ "constant": false,
1197
+ "inputs": [
1198
+ {
1199
+ "internalType": "address",
1200
+ "name": "receiver",
1201
+ "type": "address"
1202
+ },
1203
+ {
1204
+ "internalType": "uint256",
1205
+ "name": "mintAmount",
1206
+ "type": "uint256"
1207
+ }
1208
+ ],
1209
+ "name": "mintBehalf",
1210
+ "outputs": [
1211
+ {
1212
+ "internalType": "uint256",
1213
+ "name": "",
1214
+ "type": "uint256"
1215
+ }
1216
+ ],
1217
+ "payable": false,
1218
+ "stateMutability": "nonpayable",
1219
+ "type": "function"
1220
+ },
1221
+ {
1222
+ "constant": true,
1223
+ "inputs": [],
1224
+ "name": "name",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "string",
1228
+ "name": "",
1229
+ "type": "string"
1230
+ }
1231
+ ],
1232
+ "payable": false,
1233
+ "stateMutability": "view",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "constant": true,
1238
+ "inputs": [],
1239
+ "name": "pendingAdmin",
1240
+ "outputs": [
1241
+ {
1242
+ "internalType": "address payable",
1243
+ "name": "",
1244
+ "type": "address"
1245
+ }
1246
+ ],
1247
+ "payable": false,
1248
+ "stateMutability": "view",
1249
+ "type": "function"
1250
+ },
1251
+ {
1252
+ "constant": false,
1253
+ "inputs": [
1254
+ {
1255
+ "internalType": "uint256",
1256
+ "name": "redeemTokens",
1257
+ "type": "uint256"
1258
+ }
1259
+ ],
1260
+ "name": "redeem",
1261
+ "outputs": [
1262
+ {
1263
+ "internalType": "uint256",
1264
+ "name": "",
1265
+ "type": "uint256"
1266
+ }
1267
+ ],
1268
+ "payable": false,
1269
+ "stateMutability": "nonpayable",
1270
+ "type": "function"
1271
+ },
1272
+ {
1273
+ "constant": false,
1274
+ "inputs": [
1275
+ {
1276
+ "internalType": "uint256",
1277
+ "name": "redeemAmount",
1278
+ "type": "uint256"
1279
+ }
1280
+ ],
1281
+ "name": "redeemUnderlying",
1282
+ "outputs": [
1283
+ {
1284
+ "internalType": "uint256",
1285
+ "name": "",
1286
+ "type": "uint256"
1287
+ }
1288
+ ],
1289
+ "payable": false,
1290
+ "stateMutability": "nonpayable",
1291
+ "type": "function"
1292
+ },
1293
+ {
1294
+ "constant": false,
1295
+ "inputs": [
1296
+ {
1297
+ "internalType": "uint256",
1298
+ "name": "repayAmount",
1299
+ "type": "uint256"
1300
+ }
1301
+ ],
1302
+ "name": "repayBorrow",
1303
+ "outputs": [
1304
+ {
1305
+ "internalType": "uint256",
1306
+ "name": "",
1307
+ "type": "uint256"
1308
+ }
1309
+ ],
1310
+ "payable": false,
1311
+ "stateMutability": "nonpayable",
1312
+ "type": "function"
1313
+ },
1314
+ {
1315
+ "constant": false,
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "address",
1319
+ "name": "borrower",
1320
+ "type": "address"
1321
+ },
1322
+ {
1323
+ "internalType": "uint256",
1324
+ "name": "repayAmount",
1325
+ "type": "uint256"
1326
+ }
1327
+ ],
1328
+ "name": "repayBorrowBehalf",
1329
+ "outputs": [
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "",
1333
+ "type": "uint256"
1334
+ }
1335
+ ],
1336
+ "payable": false,
1337
+ "stateMutability": "nonpayable",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "constant": true,
1342
+ "inputs": [],
1343
+ "name": "reserveFactorMantissa",
1344
+ "outputs": [
1345
+ {
1346
+ "internalType": "uint256",
1347
+ "name": "",
1348
+ "type": "uint256"
1349
+ }
1350
+ ],
1351
+ "payable": false,
1352
+ "stateMutability": "view",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "constant": false,
1357
+ "inputs": [
1358
+ {
1359
+ "internalType": "address",
1360
+ "name": "liquidator",
1361
+ "type": "address"
1362
+ },
1363
+ {
1364
+ "internalType": "address",
1365
+ "name": "borrower",
1366
+ "type": "address"
1367
+ },
1368
+ {
1369
+ "internalType": "uint256",
1370
+ "name": "seizeTokens",
1371
+ "type": "uint256"
1372
+ }
1373
+ ],
1374
+ "name": "seize",
1375
+ "outputs": [
1376
+ {
1377
+ "internalType": "uint256",
1378
+ "name": "",
1379
+ "type": "uint256"
1380
+ }
1381
+ ],
1382
+ "payable": false,
1383
+ "stateMutability": "nonpayable",
1384
+ "type": "function"
1385
+ },
1386
+ {
1387
+ "constant": true,
1388
+ "inputs": [],
1389
+ "name": "supplyRatePerBlock",
1390
+ "outputs": [
1391
+ {
1392
+ "internalType": "uint256",
1393
+ "name": "",
1394
+ "type": "uint256"
1395
+ }
1396
+ ],
1397
+ "payable": false,
1398
+ "stateMutability": "view",
1399
+ "type": "function"
1400
+ },
1401
+ {
1402
+ "constant": true,
1403
+ "inputs": [],
1404
+ "name": "symbol",
1405
+ "outputs": [
1406
+ {
1407
+ "internalType": "string",
1408
+ "name": "",
1409
+ "type": "string"
1410
+ }
1411
+ ],
1412
+ "payable": false,
1413
+ "stateMutability": "view",
1414
+ "type": "function"
1415
+ },
1416
+ {
1417
+ "constant": true,
1418
+ "inputs": [],
1419
+ "name": "totalBorrows",
1420
+ "outputs": [
1421
+ {
1422
+ "internalType": "uint256",
1423
+ "name": "",
1424
+ "type": "uint256"
1425
+ }
1426
+ ],
1427
+ "payable": false,
1428
+ "stateMutability": "view",
1429
+ "type": "function"
1430
+ },
1431
+ {
1432
+ "constant": false,
1433
+ "inputs": [],
1434
+ "name": "totalBorrowsCurrent",
1435
+ "outputs": [
1436
+ {
1437
+ "internalType": "uint256",
1438
+ "name": "",
1439
+ "type": "uint256"
1440
+ }
1441
+ ],
1442
+ "payable": false,
1443
+ "stateMutability": "nonpayable",
1444
+ "type": "function"
1445
+ },
1446
+ {
1447
+ "constant": true,
1448
+ "inputs": [],
1449
+ "name": "totalReserves",
1450
+ "outputs": [
1451
+ {
1452
+ "internalType": "uint256",
1453
+ "name": "",
1454
+ "type": "uint256"
1455
+ }
1456
+ ],
1457
+ "payable": false,
1458
+ "stateMutability": "view",
1459
+ "type": "function"
1460
+ },
1461
+ {
1462
+ "constant": true,
1463
+ "inputs": [],
1464
+ "name": "totalSupply",
1465
+ "outputs": [
1466
+ {
1467
+ "internalType": "uint256",
1468
+ "name": "",
1469
+ "type": "uint256"
1470
+ }
1471
+ ],
1472
+ "payable": false,
1473
+ "stateMutability": "view",
1474
+ "type": "function"
1475
+ },
1476
+ {
1477
+ "constant": false,
1478
+ "inputs": [
1479
+ {
1480
+ "internalType": "address",
1481
+ "name": "dst",
1482
+ "type": "address"
1483
+ },
1484
+ {
1485
+ "internalType": "uint256",
1486
+ "name": "amount",
1487
+ "type": "uint256"
1488
+ }
1489
+ ],
1490
+ "name": "transfer",
1491
+ "outputs": [
1492
+ {
1493
+ "internalType": "bool",
1494
+ "name": "",
1495
+ "type": "bool"
1496
+ }
1497
+ ],
1498
+ "payable": false,
1499
+ "stateMutability": "nonpayable",
1500
+ "type": "function"
1501
+ },
1502
+ {
1503
+ "constant": false,
1504
+ "inputs": [
1505
+ {
1506
+ "internalType": "address",
1507
+ "name": "src",
1508
+ "type": "address"
1509
+ },
1510
+ {
1511
+ "internalType": "address",
1512
+ "name": "dst",
1513
+ "type": "address"
1514
+ },
1515
+ {
1516
+ "internalType": "uint256",
1517
+ "name": "amount",
1518
+ "type": "uint256"
1519
+ }
1520
+ ],
1521
+ "name": "transferFrom",
1522
+ "outputs": [
1523
+ {
1524
+ "internalType": "bool",
1525
+ "name": "",
1526
+ "type": "bool"
1527
+ }
1528
+ ],
1529
+ "payable": false,
1530
+ "stateMutability": "nonpayable",
1531
+ "type": "function"
1532
+ },
1533
+ {
1534
+ "constant": true,
1535
+ "inputs": [],
1536
+ "name": "underlying",
1537
+ "outputs": [
1538
+ {
1539
+ "internalType": "address",
1540
+ "name": "",
1541
+ "type": "address"
1542
+ }
1543
+ ],
1544
+ "payable": false,
1545
+ "stateMutability": "view",
1546
+ "type": "function"
1547
+ }
1548
+ ],
1549
+ "numDeployments": 1
1550
+ }