@venusprotocol/isolated-pools 3.9.0-dev.3 → 4.0.0-dev.1

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 (42) hide show
  1. package/deployments/bscmainnet/VToken_vEURA_Stablecoins.json +2140 -0
  2. package/deployments/bscmainnet/VToken_vlisUSD_Stablecoins.json +2140 -0
  3. package/deployments/bscmainnet/VToken_vslisBNB_LiquidStakedBNB.json +2140 -0
  4. package/deployments/bscmainnet.json +7275 -1009
  5. package/deployments/bscmainnet_addresses.json +3 -2
  6. package/deployments/bsctestnet/Comptroller_Stablecoins.json +176 -0
  7. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_0.json +1270 -0
  8. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_0_Proxy.json +277 -0
  9. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_1.json +1270 -0
  10. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_1_Proxy.json +277 -0
  11. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_2.json +1270 -0
  12. package/deployments/bsctestnet/RewardsDistributor_Stablecoins_2_Proxy.json +277 -0
  13. package/deployments/bsctestnet/SwapRouter_Stablecoins.json +2422 -0
  14. package/deployments/{bscmainnet/VToken_vSnBNB_LiquidStakedBNB.json → bsctestnet/VToken_vHAY_Stablecoins.json} +84 -84
  15. package/deployments/{bscmainnet/VToken_vagEUR_Stablecoins.json → bsctestnet/VToken_vUSDD_Stablecoins.json} +83 -83
  16. package/deployments/bsctestnet/VToken_vUSDT_Stablecoins.json +246 -0
  17. package/deployments/{ethereum/VToken_veBTC.json → bsctestnet/VToken_vlisUSD_Stablecoins.json} +82 -82
  18. package/deployments/bsctestnet.json +6706 -793
  19. package/deployments/bsctestnet_addresses.json +16 -4
  20. package/deployments/ethereum/VToken_vEIGEN_Core.json +2140 -0
  21. package/deployments/ethereum/VToken_vEIGEN_Core_Implementation.json +2070 -0
  22. package/deployments/ethereum/VToken_vEIGEN_Core_Proxy.json +75 -0
  23. package/deployments/ethereum/VToken_veBTC_Core.json +2140 -0
  24. package/deployments/ethereum/VToken_veBTC_Core_Implementation.json +2070 -0
  25. package/deployments/ethereum/VToken_veBTC_Core_Proxy.json +75 -0
  26. package/deployments/ethereum.json +9070 -656
  27. package/deployments/ethereum_addresses.json +6 -2
  28. package/dist/deploy/009-deploy-vtokens.js +5 -2
  29. package/dist/deployments/bscmainnet.json +7275 -1009
  30. package/dist/deployments/bsctestnet.json +6706 -793
  31. package/dist/deployments/ethereum.json +9070 -656
  32. package/dist/helpers/deploymentConfig.js +62 -62
  33. package/dist/typechain/factories/IVToken__factory.d.ts +5 -1
  34. package/dist/typechain/factories/IVToken__factory.js +201 -1
  35. package/package.json +1 -1
  36. package/typechain/IVToken.d.ts +341 -4
  37. package/typechain/factories/IVToken__factory.ts +201 -1
  38. package/deployments/ethereum/VToken_vEIGEN.json +0 -257
  39. /package/deployments/bsctestnet/{MockagEUR.json → MockEURA.json} +0 -0
  40. /package/deployments/bsctestnet/{MockHAY.json → MocklisUSD.json} +0 -0
  41. /package/deployments/bsctestnet/{VToken_vagEUR_Stablecoins.json → VToken_vEURA_Stablecoins.json} +0 -0
  42. /package/deployments/bsctestnet/{VToken_vSnBNB_LiquidStakedBNB.json → VToken_vslisBNB_LiquidStakedBNB.json} +0 -0
@@ -0,0 +1,2070 @@
1
+ {
2
+ "address": "0xefdf5ccc12d8cff4a7ed4e421b95f8f69cf2f766",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "bool",
8
+ "name": "timeBased_",
9
+ "type": "bool"
10
+ },
11
+ {
12
+ "internalType": "uint256",
13
+ "name": "blocksPerYear_",
14
+ "type": "uint256"
15
+ },
16
+ {
17
+ "internalType": "uint256",
18
+ "name": "maxBorrowRateMantissa_",
19
+ "type": "uint256"
20
+ }
21
+ ],
22
+ "stateMutability": "nonpayable",
23
+ "type": "constructor"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "uint256",
29
+ "name": "actualAddAmount",
30
+ "type": "uint256"
31
+ }
32
+ ],
33
+ "name": "AddReservesFactorFreshCheck",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "BorrowCashNotAvailable",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "BorrowFreshnessCheck",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "DelegateNotApproved",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "ForceLiquidateBorrowUnauthorized",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "HealBorrowUnauthorized",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "InvalidBlocksPerYear",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "InvalidTimeBasedConfiguration",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "uint256",
75
+ "name": "errorCode",
76
+ "type": "uint256"
77
+ }
78
+ ],
79
+ "name": "LiquidateAccrueCollateralInterestFailed",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "LiquidateCloseAmountIsUintMax",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "LiquidateCloseAmountIsZero",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "LiquidateCollateralFreshnessCheck",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "LiquidateFreshnessCheck",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "LiquidateLiquidatorIsBorrower",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "LiquidateSeizeLiquidatorIsBorrower",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "MintFreshnessCheck",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ProtocolSeizeShareTooBig",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [],
124
+ "name": "RedeemFreshnessCheck",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "RedeemTransferOutNotPossible",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "ReduceReservesCashNotAvailable",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "ReduceReservesCashValidation",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "ReduceReservesFreshCheck",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "RepayBorrowFreshnessCheck",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "SetInterestRateModelFreshCheck",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "SetReserveFactorBoundsCheck",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "SetReserveFactorFreshCheck",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "TransferNotAllowed",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "sender",
177
+ "type": "address"
178
+ },
179
+ {
180
+ "internalType": "address",
181
+ "name": "calledContract",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "internalType": "string",
186
+ "name": "methodSignature",
187
+ "type": "string"
188
+ }
189
+ ],
190
+ "name": "Unauthorized",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "ZeroAddressNotAllowed",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "anonymous": false,
200
+ "inputs": [
201
+ {
202
+ "indexed": false,
203
+ "internalType": "uint256",
204
+ "name": "cashPrior",
205
+ "type": "uint256"
206
+ },
207
+ {
208
+ "indexed": false,
209
+ "internalType": "uint256",
210
+ "name": "interestAccumulated",
211
+ "type": "uint256"
212
+ },
213
+ {
214
+ "indexed": false,
215
+ "internalType": "uint256",
216
+ "name": "borrowIndex",
217
+ "type": "uint256"
218
+ },
219
+ {
220
+ "indexed": false,
221
+ "internalType": "uint256",
222
+ "name": "totalBorrows",
223
+ "type": "uint256"
224
+ }
225
+ ],
226
+ "name": "AccrueInterest",
227
+ "type": "event"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": true,
234
+ "internalType": "address",
235
+ "name": "owner",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "indexed": true,
240
+ "internalType": "address",
241
+ "name": "spender",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "indexed": false,
246
+ "internalType": "uint256",
247
+ "name": "amount",
248
+ "type": "uint256"
249
+ }
250
+ ],
251
+ "name": "Approval",
252
+ "type": "event"
253
+ },
254
+ {
255
+ "anonymous": false,
256
+ "inputs": [
257
+ {
258
+ "indexed": true,
259
+ "internalType": "address",
260
+ "name": "borrower",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "uint256",
266
+ "name": "badDebtDelta",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "uint256",
272
+ "name": "badDebtOld",
273
+ "type": "uint256"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint256",
278
+ "name": "badDebtNew",
279
+ "type": "uint256"
280
+ }
281
+ ],
282
+ "name": "BadDebtIncreased",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "uint256",
291
+ "name": "badDebtOld",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "uint256",
297
+ "name": "badDebtNew",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "BadDebtRecovered",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "anonymous": false,
306
+ "inputs": [
307
+ {
308
+ "indexed": true,
309
+ "internalType": "address",
310
+ "name": "borrower",
311
+ "type": "address"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "uint256",
316
+ "name": "borrowAmount",
317
+ "type": "uint256"
318
+ },
319
+ {
320
+ "indexed": false,
321
+ "internalType": "uint256",
322
+ "name": "accountBorrows",
323
+ "type": "uint256"
324
+ },
325
+ {
326
+ "indexed": false,
327
+ "internalType": "uint256",
328
+ "name": "totalBorrows",
329
+ "type": "uint256"
330
+ }
331
+ ],
332
+ "name": "Borrow",
333
+ "type": "event"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": true,
340
+ "internalType": "address",
341
+ "name": "payer",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": true,
346
+ "internalType": "address",
347
+ "name": "borrower",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "indexed": false,
352
+ "internalType": "uint256",
353
+ "name": "repayAmount",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "name": "HealBorrow",
358
+ "type": "event"
359
+ },
360
+ {
361
+ "anonymous": false,
362
+ "inputs": [
363
+ {
364
+ "indexed": false,
365
+ "internalType": "uint8",
366
+ "name": "version",
367
+ "type": "uint8"
368
+ }
369
+ ],
370
+ "name": "Initialized",
371
+ "type": "event"
372
+ },
373
+ {
374
+ "anonymous": false,
375
+ "inputs": [
376
+ {
377
+ "indexed": true,
378
+ "internalType": "address",
379
+ "name": "liquidator",
380
+ "type": "address"
381
+ },
382
+ {
383
+ "indexed": true,
384
+ "internalType": "address",
385
+ "name": "borrower",
386
+ "type": "address"
387
+ },
388
+ {
389
+ "indexed": false,
390
+ "internalType": "uint256",
391
+ "name": "repayAmount",
392
+ "type": "uint256"
393
+ },
394
+ {
395
+ "indexed": true,
396
+ "internalType": "address",
397
+ "name": "vTokenCollateral",
398
+ "type": "address"
399
+ },
400
+ {
401
+ "indexed": false,
402
+ "internalType": "uint256",
403
+ "name": "seizeTokens",
404
+ "type": "uint256"
405
+ }
406
+ ],
407
+ "name": "LiquidateBorrow",
408
+ "type": "event"
409
+ },
410
+ {
411
+ "anonymous": false,
412
+ "inputs": [
413
+ {
414
+ "indexed": true,
415
+ "internalType": "address",
416
+ "name": "minter",
417
+ "type": "address"
418
+ },
419
+ {
420
+ "indexed": false,
421
+ "internalType": "uint256",
422
+ "name": "mintAmount",
423
+ "type": "uint256"
424
+ },
425
+ {
426
+ "indexed": false,
427
+ "internalType": "uint256",
428
+ "name": "mintTokens",
429
+ "type": "uint256"
430
+ },
431
+ {
432
+ "indexed": false,
433
+ "internalType": "uint256",
434
+ "name": "accountBalance",
435
+ "type": "uint256"
436
+ }
437
+ ],
438
+ "name": "Mint",
439
+ "type": "event"
440
+ },
441
+ {
442
+ "anonymous": false,
443
+ "inputs": [
444
+ {
445
+ "indexed": false,
446
+ "internalType": "address",
447
+ "name": "oldAccessControlManager",
448
+ "type": "address"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "address",
453
+ "name": "newAccessControlManager",
454
+ "type": "address"
455
+ }
456
+ ],
457
+ "name": "NewAccessControlManager",
458
+ "type": "event"
459
+ },
460
+ {
461
+ "anonymous": false,
462
+ "inputs": [
463
+ {
464
+ "indexed": true,
465
+ "internalType": "contract ComptrollerInterface",
466
+ "name": "oldComptroller",
467
+ "type": "address"
468
+ },
469
+ {
470
+ "indexed": true,
471
+ "internalType": "contract ComptrollerInterface",
472
+ "name": "newComptroller",
473
+ "type": "address"
474
+ }
475
+ ],
476
+ "name": "NewComptroller",
477
+ "type": "event"
478
+ },
479
+ {
480
+ "anonymous": false,
481
+ "inputs": [
482
+ {
483
+ "indexed": true,
484
+ "internalType": "contract InterestRateModel",
485
+ "name": "oldInterestRateModel",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "indexed": true,
490
+ "internalType": "contract InterestRateModel",
491
+ "name": "newInterestRateModel",
492
+ "type": "address"
493
+ }
494
+ ],
495
+ "name": "NewMarketInterestRateModel",
496
+ "type": "event"
497
+ },
498
+ {
499
+ "anonymous": false,
500
+ "inputs": [
501
+ {
502
+ "indexed": false,
503
+ "internalType": "uint256",
504
+ "name": "oldProtocolSeizeShareMantissa",
505
+ "type": "uint256"
506
+ },
507
+ {
508
+ "indexed": false,
509
+ "internalType": "uint256",
510
+ "name": "newProtocolSeizeShareMantissa",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "name": "NewProtocolSeizeShare",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "anonymous": false,
519
+ "inputs": [
520
+ {
521
+ "indexed": true,
522
+ "internalType": "address",
523
+ "name": "oldProtocolShareReserve",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "indexed": true,
528
+ "internalType": "address",
529
+ "name": "newProtocolShareReserve",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "name": "NewProtocolShareReserve",
534
+ "type": "event"
535
+ },
536
+ {
537
+ "anonymous": false,
538
+ "inputs": [
539
+ {
540
+ "indexed": false,
541
+ "internalType": "uint256",
542
+ "name": "oldReduceReservesBlockOrTimestampDelta",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "indexed": false,
547
+ "internalType": "uint256",
548
+ "name": "newReduceReservesBlockOrTimestampDelta",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "name": "NewReduceReservesBlockDelta",
553
+ "type": "event"
554
+ },
555
+ {
556
+ "anonymous": false,
557
+ "inputs": [
558
+ {
559
+ "indexed": false,
560
+ "internalType": "uint256",
561
+ "name": "oldReserveFactorMantissa",
562
+ "type": "uint256"
563
+ },
564
+ {
565
+ "indexed": false,
566
+ "internalType": "uint256",
567
+ "name": "newReserveFactorMantissa",
568
+ "type": "uint256"
569
+ }
570
+ ],
571
+ "name": "NewReserveFactor",
572
+ "type": "event"
573
+ },
574
+ {
575
+ "anonymous": false,
576
+ "inputs": [
577
+ {
578
+ "indexed": true,
579
+ "internalType": "address",
580
+ "name": "oldShortfall",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "indexed": true,
585
+ "internalType": "address",
586
+ "name": "newShortfall",
587
+ "type": "address"
588
+ }
589
+ ],
590
+ "name": "NewShortfallContract",
591
+ "type": "event"
592
+ },
593
+ {
594
+ "anonymous": false,
595
+ "inputs": [
596
+ {
597
+ "indexed": true,
598
+ "internalType": "address",
599
+ "name": "previousOwner",
600
+ "type": "address"
601
+ },
602
+ {
603
+ "indexed": true,
604
+ "internalType": "address",
605
+ "name": "newOwner",
606
+ "type": "address"
607
+ }
608
+ ],
609
+ "name": "OwnershipTransferStarted",
610
+ "type": "event"
611
+ },
612
+ {
613
+ "anonymous": false,
614
+ "inputs": [
615
+ {
616
+ "indexed": true,
617
+ "internalType": "address",
618
+ "name": "previousOwner",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "indexed": true,
623
+ "internalType": "address",
624
+ "name": "newOwner",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "name": "OwnershipTransferred",
629
+ "type": "event"
630
+ },
631
+ {
632
+ "anonymous": false,
633
+ "inputs": [
634
+ {
635
+ "indexed": true,
636
+ "internalType": "address",
637
+ "name": "from",
638
+ "type": "address"
639
+ },
640
+ {
641
+ "indexed": true,
642
+ "internalType": "address",
643
+ "name": "to",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "indexed": false,
648
+ "internalType": "uint256",
649
+ "name": "amount",
650
+ "type": "uint256"
651
+ }
652
+ ],
653
+ "name": "ProtocolSeize",
654
+ "type": "event"
655
+ },
656
+ {
657
+ "anonymous": false,
658
+ "inputs": [
659
+ {
660
+ "indexed": true,
661
+ "internalType": "address",
662
+ "name": "redeemer",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "indexed": false,
667
+ "internalType": "uint256",
668
+ "name": "redeemAmount",
669
+ "type": "uint256"
670
+ },
671
+ {
672
+ "indexed": false,
673
+ "internalType": "uint256",
674
+ "name": "redeemTokens",
675
+ "type": "uint256"
676
+ },
677
+ {
678
+ "indexed": false,
679
+ "internalType": "uint256",
680
+ "name": "accountBalance",
681
+ "type": "uint256"
682
+ }
683
+ ],
684
+ "name": "Redeem",
685
+ "type": "event"
686
+ },
687
+ {
688
+ "anonymous": false,
689
+ "inputs": [
690
+ {
691
+ "indexed": true,
692
+ "internalType": "address",
693
+ "name": "payer",
694
+ "type": "address"
695
+ },
696
+ {
697
+ "indexed": true,
698
+ "internalType": "address",
699
+ "name": "borrower",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "indexed": false,
704
+ "internalType": "uint256",
705
+ "name": "repayAmount",
706
+ "type": "uint256"
707
+ },
708
+ {
709
+ "indexed": false,
710
+ "internalType": "uint256",
711
+ "name": "accountBorrows",
712
+ "type": "uint256"
713
+ },
714
+ {
715
+ "indexed": false,
716
+ "internalType": "uint256",
717
+ "name": "totalBorrows",
718
+ "type": "uint256"
719
+ }
720
+ ],
721
+ "name": "RepayBorrow",
722
+ "type": "event"
723
+ },
724
+ {
725
+ "anonymous": false,
726
+ "inputs": [
727
+ {
728
+ "indexed": true,
729
+ "internalType": "address",
730
+ "name": "benefactor",
731
+ "type": "address"
732
+ },
733
+ {
734
+ "indexed": false,
735
+ "internalType": "uint256",
736
+ "name": "addAmount",
737
+ "type": "uint256"
738
+ },
739
+ {
740
+ "indexed": false,
741
+ "internalType": "uint256",
742
+ "name": "newTotalReserves",
743
+ "type": "uint256"
744
+ }
745
+ ],
746
+ "name": "ReservesAdded",
747
+ "type": "event"
748
+ },
749
+ {
750
+ "anonymous": false,
751
+ "inputs": [
752
+ {
753
+ "indexed": true,
754
+ "internalType": "address",
755
+ "name": "protocolShareReserve",
756
+ "type": "address"
757
+ },
758
+ {
759
+ "indexed": false,
760
+ "internalType": "uint256",
761
+ "name": "reduceAmount",
762
+ "type": "uint256"
763
+ },
764
+ {
765
+ "indexed": false,
766
+ "internalType": "uint256",
767
+ "name": "newTotalReserves",
768
+ "type": "uint256"
769
+ }
770
+ ],
771
+ "name": "SpreadReservesReduced",
772
+ "type": "event"
773
+ },
774
+ {
775
+ "anonymous": false,
776
+ "inputs": [
777
+ {
778
+ "indexed": true,
779
+ "internalType": "address",
780
+ "name": "token",
781
+ "type": "address"
782
+ }
783
+ ],
784
+ "name": "SweepToken",
785
+ "type": "event"
786
+ },
787
+ {
788
+ "anonymous": false,
789
+ "inputs": [
790
+ {
791
+ "indexed": true,
792
+ "internalType": "address",
793
+ "name": "from",
794
+ "type": "address"
795
+ },
796
+ {
797
+ "indexed": true,
798
+ "internalType": "address",
799
+ "name": "to",
800
+ "type": "address"
801
+ },
802
+ {
803
+ "indexed": false,
804
+ "internalType": "uint256",
805
+ "name": "amount",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "name": "Transfer",
810
+ "type": "event"
811
+ },
812
+ {
813
+ "inputs": [],
814
+ "name": "NO_ERROR",
815
+ "outputs": [
816
+ {
817
+ "internalType": "uint256",
818
+ "name": "",
819
+ "type": "uint256"
820
+ }
821
+ ],
822
+ "stateMutability": "view",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [],
827
+ "name": "acceptOwnership",
828
+ "outputs": [],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [],
834
+ "name": "accessControlManager",
835
+ "outputs": [
836
+ {
837
+ "internalType": "contract IAccessControlManagerV8",
838
+ "name": "",
839
+ "type": "address"
840
+ }
841
+ ],
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ },
845
+ {
846
+ "inputs": [],
847
+ "name": "accrualBlockNumber",
848
+ "outputs": [
849
+ {
850
+ "internalType": "uint256",
851
+ "name": "",
852
+ "type": "uint256"
853
+ }
854
+ ],
855
+ "stateMutability": "view",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [],
860
+ "name": "accrueInterest",
861
+ "outputs": [
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "stateMutability": "nonpayable",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "uint256",
875
+ "name": "addAmount",
876
+ "type": "uint256"
877
+ }
878
+ ],
879
+ "name": "addReserves",
880
+ "outputs": [],
881
+ "stateMutability": "nonpayable",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [
886
+ {
887
+ "internalType": "address",
888
+ "name": "owner",
889
+ "type": "address"
890
+ },
891
+ {
892
+ "internalType": "address",
893
+ "name": "spender",
894
+ "type": "address"
895
+ }
896
+ ],
897
+ "name": "allowance",
898
+ "outputs": [
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "",
902
+ "type": "uint256"
903
+ }
904
+ ],
905
+ "stateMutability": "view",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [
910
+ {
911
+ "internalType": "address",
912
+ "name": "spender",
913
+ "type": "address"
914
+ },
915
+ {
916
+ "internalType": "uint256",
917
+ "name": "amount",
918
+ "type": "uint256"
919
+ }
920
+ ],
921
+ "name": "approve",
922
+ "outputs": [
923
+ {
924
+ "internalType": "bool",
925
+ "name": "",
926
+ "type": "bool"
927
+ }
928
+ ],
929
+ "stateMutability": "nonpayable",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [],
934
+ "name": "badDebt",
935
+ "outputs": [
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "",
939
+ "type": "uint256"
940
+ }
941
+ ],
942
+ "stateMutability": "view",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [
947
+ {
948
+ "internalType": "uint256",
949
+ "name": "recoveredAmount_",
950
+ "type": "uint256"
951
+ }
952
+ ],
953
+ "name": "badDebtRecovered",
954
+ "outputs": [],
955
+ "stateMutability": "nonpayable",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ {
961
+ "internalType": "address",
962
+ "name": "owner",
963
+ "type": "address"
964
+ }
965
+ ],
966
+ "name": "balanceOf",
967
+ "outputs": [
968
+ {
969
+ "internalType": "uint256",
970
+ "name": "",
971
+ "type": "uint256"
972
+ }
973
+ ],
974
+ "stateMutability": "view",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [
979
+ {
980
+ "internalType": "address",
981
+ "name": "owner",
982
+ "type": "address"
983
+ }
984
+ ],
985
+ "name": "balanceOfUnderlying",
986
+ "outputs": [
987
+ {
988
+ "internalType": "uint256",
989
+ "name": "",
990
+ "type": "uint256"
991
+ }
992
+ ],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [],
998
+ "name": "blocksOrSecondsPerYear",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "uint256",
1002
+ "name": "",
1003
+ "type": "uint256"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [
1011
+ {
1012
+ "internalType": "uint256",
1013
+ "name": "borrowAmount",
1014
+ "type": "uint256"
1015
+ }
1016
+ ],
1017
+ "name": "borrow",
1018
+ "outputs": [
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "",
1022
+ "type": "uint256"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "nonpayable",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "address",
1032
+ "name": "account",
1033
+ "type": "address"
1034
+ }
1035
+ ],
1036
+ "name": "borrowBalanceCurrent",
1037
+ "outputs": [
1038
+ {
1039
+ "internalType": "uint256",
1040
+ "name": "",
1041
+ "type": "uint256"
1042
+ }
1043
+ ],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [
1049
+ {
1050
+ "internalType": "address",
1051
+ "name": "account",
1052
+ "type": "address"
1053
+ }
1054
+ ],
1055
+ "name": "borrowBalanceStored",
1056
+ "outputs": [
1057
+ {
1058
+ "internalType": "uint256",
1059
+ "name": "",
1060
+ "type": "uint256"
1061
+ }
1062
+ ],
1063
+ "stateMutability": "view",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "borrower",
1071
+ "type": "address"
1072
+ },
1073
+ {
1074
+ "internalType": "uint256",
1075
+ "name": "borrowAmount",
1076
+ "type": "uint256"
1077
+ }
1078
+ ],
1079
+ "name": "borrowBehalf",
1080
+ "outputs": [
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "",
1084
+ "type": "uint256"
1085
+ }
1086
+ ],
1087
+ "stateMutability": "nonpayable",
1088
+ "type": "function"
1089
+ },
1090
+ {
1091
+ "inputs": [],
1092
+ "name": "borrowIndex",
1093
+ "outputs": [
1094
+ {
1095
+ "internalType": "uint256",
1096
+ "name": "",
1097
+ "type": "uint256"
1098
+ }
1099
+ ],
1100
+ "stateMutability": "view",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [],
1105
+ "name": "borrowRatePerBlock",
1106
+ "outputs": [
1107
+ {
1108
+ "internalType": "uint256",
1109
+ "name": "",
1110
+ "type": "uint256"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "view",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [],
1118
+ "name": "comptroller",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "contract ComptrollerInterface",
1122
+ "name": "",
1123
+ "type": "address"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [],
1131
+ "name": "decimals",
1132
+ "outputs": [
1133
+ {
1134
+ "internalType": "uint8",
1135
+ "name": "",
1136
+ "type": "uint8"
1137
+ }
1138
+ ],
1139
+ "stateMutability": "view",
1140
+ "type": "function"
1141
+ },
1142
+ {
1143
+ "inputs": [
1144
+ {
1145
+ "internalType": "address",
1146
+ "name": "spender",
1147
+ "type": "address"
1148
+ },
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "subtractedValue",
1152
+ "type": "uint256"
1153
+ }
1154
+ ],
1155
+ "name": "decreaseAllowance",
1156
+ "outputs": [
1157
+ {
1158
+ "internalType": "bool",
1159
+ "name": "",
1160
+ "type": "bool"
1161
+ }
1162
+ ],
1163
+ "stateMutability": "nonpayable",
1164
+ "type": "function"
1165
+ },
1166
+ {
1167
+ "inputs": [],
1168
+ "name": "exchangeRateCurrent",
1169
+ "outputs": [
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "",
1173
+ "type": "uint256"
1174
+ }
1175
+ ],
1176
+ "stateMutability": "nonpayable",
1177
+ "type": "function"
1178
+ },
1179
+ {
1180
+ "inputs": [],
1181
+ "name": "exchangeRateStored",
1182
+ "outputs": [
1183
+ {
1184
+ "internalType": "uint256",
1185
+ "name": "",
1186
+ "type": "uint256"
1187
+ }
1188
+ ],
1189
+ "stateMutability": "view",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "address",
1196
+ "name": "liquidator",
1197
+ "type": "address"
1198
+ },
1199
+ {
1200
+ "internalType": "address",
1201
+ "name": "borrower",
1202
+ "type": "address"
1203
+ },
1204
+ {
1205
+ "internalType": "uint256",
1206
+ "name": "repayAmount",
1207
+ "type": "uint256"
1208
+ },
1209
+ {
1210
+ "internalType": "contract VTokenInterface",
1211
+ "name": "vTokenCollateral",
1212
+ "type": "address"
1213
+ },
1214
+ {
1215
+ "internalType": "bool",
1216
+ "name": "skipLiquidityCheck",
1217
+ "type": "bool"
1218
+ }
1219
+ ],
1220
+ "name": "forceLiquidateBorrow",
1221
+ "outputs": [],
1222
+ "stateMutability": "nonpayable",
1223
+ "type": "function"
1224
+ },
1225
+ {
1226
+ "inputs": [
1227
+ {
1228
+ "internalType": "address",
1229
+ "name": "account",
1230
+ "type": "address"
1231
+ }
1232
+ ],
1233
+ "name": "getAccountSnapshot",
1234
+ "outputs": [
1235
+ {
1236
+ "internalType": "uint256",
1237
+ "name": "error",
1238
+ "type": "uint256"
1239
+ },
1240
+ {
1241
+ "internalType": "uint256",
1242
+ "name": "vTokenBalance",
1243
+ "type": "uint256"
1244
+ },
1245
+ {
1246
+ "internalType": "uint256",
1247
+ "name": "borrowBalance",
1248
+ "type": "uint256"
1249
+ },
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "exchangeRate",
1253
+ "type": "uint256"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [],
1261
+ "name": "getBlockNumberOrTimestamp",
1262
+ "outputs": [
1263
+ {
1264
+ "internalType": "uint256",
1265
+ "name": "",
1266
+ "type": "uint256"
1267
+ }
1268
+ ],
1269
+ "stateMutability": "view",
1270
+ "type": "function"
1271
+ },
1272
+ {
1273
+ "inputs": [],
1274
+ "name": "getCash",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "",
1279
+ "type": "uint256"
1280
+ }
1281
+ ],
1282
+ "stateMutability": "view",
1283
+ "type": "function"
1284
+ },
1285
+ {
1286
+ "inputs": [
1287
+ {
1288
+ "internalType": "address",
1289
+ "name": "payer",
1290
+ "type": "address"
1291
+ },
1292
+ {
1293
+ "internalType": "address",
1294
+ "name": "borrower",
1295
+ "type": "address"
1296
+ },
1297
+ {
1298
+ "internalType": "uint256",
1299
+ "name": "repayAmount",
1300
+ "type": "uint256"
1301
+ }
1302
+ ],
1303
+ "name": "healBorrow",
1304
+ "outputs": [],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1308
+ {
1309
+ "inputs": [
1310
+ {
1311
+ "internalType": "address",
1312
+ "name": "spender",
1313
+ "type": "address"
1314
+ },
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "addedValue",
1318
+ "type": "uint256"
1319
+ }
1320
+ ],
1321
+ "name": "increaseAllowance",
1322
+ "outputs": [
1323
+ {
1324
+ "internalType": "bool",
1325
+ "name": "",
1326
+ "type": "bool"
1327
+ }
1328
+ ],
1329
+ "stateMutability": "nonpayable",
1330
+ "type": "function"
1331
+ },
1332
+ {
1333
+ "inputs": [
1334
+ {
1335
+ "internalType": "address",
1336
+ "name": "underlying_",
1337
+ "type": "address"
1338
+ },
1339
+ {
1340
+ "internalType": "contract ComptrollerInterface",
1341
+ "name": "comptroller_",
1342
+ "type": "address"
1343
+ },
1344
+ {
1345
+ "internalType": "contract InterestRateModel",
1346
+ "name": "interestRateModel_",
1347
+ "type": "address"
1348
+ },
1349
+ {
1350
+ "internalType": "uint256",
1351
+ "name": "initialExchangeRateMantissa_",
1352
+ "type": "uint256"
1353
+ },
1354
+ {
1355
+ "internalType": "string",
1356
+ "name": "name_",
1357
+ "type": "string"
1358
+ },
1359
+ {
1360
+ "internalType": "string",
1361
+ "name": "symbol_",
1362
+ "type": "string"
1363
+ },
1364
+ {
1365
+ "internalType": "uint8",
1366
+ "name": "decimals_",
1367
+ "type": "uint8"
1368
+ },
1369
+ {
1370
+ "internalType": "address",
1371
+ "name": "admin_",
1372
+ "type": "address"
1373
+ },
1374
+ {
1375
+ "internalType": "address",
1376
+ "name": "accessControlManager_",
1377
+ "type": "address"
1378
+ },
1379
+ {
1380
+ "components": [
1381
+ {
1382
+ "internalType": "address",
1383
+ "name": "shortfall",
1384
+ "type": "address"
1385
+ },
1386
+ {
1387
+ "internalType": "address payable",
1388
+ "name": "protocolShareReserve",
1389
+ "type": "address"
1390
+ }
1391
+ ],
1392
+ "internalType": "struct VTokenInterface.RiskManagementInit",
1393
+ "name": "riskManagement",
1394
+ "type": "tuple"
1395
+ },
1396
+ {
1397
+ "internalType": "uint256",
1398
+ "name": "reserveFactorMantissa_",
1399
+ "type": "uint256"
1400
+ }
1401
+ ],
1402
+ "name": "initialize",
1403
+ "outputs": [],
1404
+ "stateMutability": "nonpayable",
1405
+ "type": "function"
1406
+ },
1407
+ {
1408
+ "inputs": [],
1409
+ "name": "interestRateModel",
1410
+ "outputs": [
1411
+ {
1412
+ "internalType": "contract InterestRateModel",
1413
+ "name": "",
1414
+ "type": "address"
1415
+ }
1416
+ ],
1417
+ "stateMutability": "view",
1418
+ "type": "function"
1419
+ },
1420
+ {
1421
+ "inputs": [],
1422
+ "name": "isTimeBased",
1423
+ "outputs": [
1424
+ {
1425
+ "internalType": "bool",
1426
+ "name": "",
1427
+ "type": "bool"
1428
+ }
1429
+ ],
1430
+ "stateMutability": "view",
1431
+ "type": "function"
1432
+ },
1433
+ {
1434
+ "inputs": [],
1435
+ "name": "isVToken",
1436
+ "outputs": [
1437
+ {
1438
+ "internalType": "bool",
1439
+ "name": "",
1440
+ "type": "bool"
1441
+ }
1442
+ ],
1443
+ "stateMutability": "pure",
1444
+ "type": "function"
1445
+ },
1446
+ {
1447
+ "inputs": [
1448
+ {
1449
+ "internalType": "address",
1450
+ "name": "borrower",
1451
+ "type": "address"
1452
+ },
1453
+ {
1454
+ "internalType": "uint256",
1455
+ "name": "repayAmount",
1456
+ "type": "uint256"
1457
+ },
1458
+ {
1459
+ "internalType": "contract VTokenInterface",
1460
+ "name": "vTokenCollateral",
1461
+ "type": "address"
1462
+ }
1463
+ ],
1464
+ "name": "liquidateBorrow",
1465
+ "outputs": [
1466
+ {
1467
+ "internalType": "uint256",
1468
+ "name": "",
1469
+ "type": "uint256"
1470
+ }
1471
+ ],
1472
+ "stateMutability": "nonpayable",
1473
+ "type": "function"
1474
+ },
1475
+ {
1476
+ "inputs": [
1477
+ {
1478
+ "internalType": "uint256",
1479
+ "name": "mintAmount",
1480
+ "type": "uint256"
1481
+ }
1482
+ ],
1483
+ "name": "mint",
1484
+ "outputs": [
1485
+ {
1486
+ "internalType": "uint256",
1487
+ "name": "",
1488
+ "type": "uint256"
1489
+ }
1490
+ ],
1491
+ "stateMutability": "nonpayable",
1492
+ "type": "function"
1493
+ },
1494
+ {
1495
+ "inputs": [
1496
+ {
1497
+ "internalType": "address",
1498
+ "name": "minter",
1499
+ "type": "address"
1500
+ },
1501
+ {
1502
+ "internalType": "uint256",
1503
+ "name": "mintAmount",
1504
+ "type": "uint256"
1505
+ }
1506
+ ],
1507
+ "name": "mintBehalf",
1508
+ "outputs": [
1509
+ {
1510
+ "internalType": "uint256",
1511
+ "name": "",
1512
+ "type": "uint256"
1513
+ }
1514
+ ],
1515
+ "stateMutability": "nonpayable",
1516
+ "type": "function"
1517
+ },
1518
+ {
1519
+ "inputs": [],
1520
+ "name": "name",
1521
+ "outputs": [
1522
+ {
1523
+ "internalType": "string",
1524
+ "name": "",
1525
+ "type": "string"
1526
+ }
1527
+ ],
1528
+ "stateMutability": "view",
1529
+ "type": "function"
1530
+ },
1531
+ {
1532
+ "inputs": [],
1533
+ "name": "owner",
1534
+ "outputs": [
1535
+ {
1536
+ "internalType": "address",
1537
+ "name": "",
1538
+ "type": "address"
1539
+ }
1540
+ ],
1541
+ "stateMutability": "view",
1542
+ "type": "function"
1543
+ },
1544
+ {
1545
+ "inputs": [],
1546
+ "name": "pendingOwner",
1547
+ "outputs": [
1548
+ {
1549
+ "internalType": "address",
1550
+ "name": "",
1551
+ "type": "address"
1552
+ }
1553
+ ],
1554
+ "stateMutability": "view",
1555
+ "type": "function"
1556
+ },
1557
+ {
1558
+ "inputs": [],
1559
+ "name": "protocolSeizeShareMantissa",
1560
+ "outputs": [
1561
+ {
1562
+ "internalType": "uint256",
1563
+ "name": "",
1564
+ "type": "uint256"
1565
+ }
1566
+ ],
1567
+ "stateMutability": "view",
1568
+ "type": "function"
1569
+ },
1570
+ {
1571
+ "inputs": [],
1572
+ "name": "protocolShareReserve",
1573
+ "outputs": [
1574
+ {
1575
+ "internalType": "address payable",
1576
+ "name": "",
1577
+ "type": "address"
1578
+ }
1579
+ ],
1580
+ "stateMutability": "view",
1581
+ "type": "function"
1582
+ },
1583
+ {
1584
+ "inputs": [
1585
+ {
1586
+ "internalType": "uint256",
1587
+ "name": "redeemTokens",
1588
+ "type": "uint256"
1589
+ }
1590
+ ],
1591
+ "name": "redeem",
1592
+ "outputs": [
1593
+ {
1594
+ "internalType": "uint256",
1595
+ "name": "",
1596
+ "type": "uint256"
1597
+ }
1598
+ ],
1599
+ "stateMutability": "nonpayable",
1600
+ "type": "function"
1601
+ },
1602
+ {
1603
+ "inputs": [
1604
+ {
1605
+ "internalType": "address",
1606
+ "name": "redeemer",
1607
+ "type": "address"
1608
+ },
1609
+ {
1610
+ "internalType": "uint256",
1611
+ "name": "redeemTokens",
1612
+ "type": "uint256"
1613
+ }
1614
+ ],
1615
+ "name": "redeemBehalf",
1616
+ "outputs": [
1617
+ {
1618
+ "internalType": "uint256",
1619
+ "name": "",
1620
+ "type": "uint256"
1621
+ }
1622
+ ],
1623
+ "stateMutability": "nonpayable",
1624
+ "type": "function"
1625
+ },
1626
+ {
1627
+ "inputs": [
1628
+ {
1629
+ "internalType": "uint256",
1630
+ "name": "redeemAmount",
1631
+ "type": "uint256"
1632
+ }
1633
+ ],
1634
+ "name": "redeemUnderlying",
1635
+ "outputs": [
1636
+ {
1637
+ "internalType": "uint256",
1638
+ "name": "",
1639
+ "type": "uint256"
1640
+ }
1641
+ ],
1642
+ "stateMutability": "nonpayable",
1643
+ "type": "function"
1644
+ },
1645
+ {
1646
+ "inputs": [
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "redeemer",
1650
+ "type": "address"
1651
+ },
1652
+ {
1653
+ "internalType": "uint256",
1654
+ "name": "redeemAmount",
1655
+ "type": "uint256"
1656
+ }
1657
+ ],
1658
+ "name": "redeemUnderlyingBehalf",
1659
+ "outputs": [
1660
+ {
1661
+ "internalType": "uint256",
1662
+ "name": "",
1663
+ "type": "uint256"
1664
+ }
1665
+ ],
1666
+ "stateMutability": "nonpayable",
1667
+ "type": "function"
1668
+ },
1669
+ {
1670
+ "inputs": [
1671
+ {
1672
+ "internalType": "uint256",
1673
+ "name": "reduceAmount",
1674
+ "type": "uint256"
1675
+ }
1676
+ ],
1677
+ "name": "reduceReserves",
1678
+ "outputs": [],
1679
+ "stateMutability": "nonpayable",
1680
+ "type": "function"
1681
+ },
1682
+ {
1683
+ "inputs": [],
1684
+ "name": "reduceReservesBlockDelta",
1685
+ "outputs": [
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "stateMutability": "view",
1693
+ "type": "function"
1694
+ },
1695
+ {
1696
+ "inputs": [],
1697
+ "name": "reduceReservesBlockNumber",
1698
+ "outputs": [
1699
+ {
1700
+ "internalType": "uint256",
1701
+ "name": "",
1702
+ "type": "uint256"
1703
+ }
1704
+ ],
1705
+ "stateMutability": "view",
1706
+ "type": "function"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "renounceOwnership",
1711
+ "outputs": [],
1712
+ "stateMutability": "nonpayable",
1713
+ "type": "function"
1714
+ },
1715
+ {
1716
+ "inputs": [
1717
+ {
1718
+ "internalType": "uint256",
1719
+ "name": "repayAmount",
1720
+ "type": "uint256"
1721
+ }
1722
+ ],
1723
+ "name": "repayBorrow",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "uint256",
1727
+ "name": "",
1728
+ "type": "uint256"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "nonpayable",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "address",
1738
+ "name": "borrower",
1739
+ "type": "address"
1740
+ },
1741
+ {
1742
+ "internalType": "uint256",
1743
+ "name": "repayAmount",
1744
+ "type": "uint256"
1745
+ }
1746
+ ],
1747
+ "name": "repayBorrowBehalf",
1748
+ "outputs": [
1749
+ {
1750
+ "internalType": "uint256",
1751
+ "name": "",
1752
+ "type": "uint256"
1753
+ }
1754
+ ],
1755
+ "stateMutability": "nonpayable",
1756
+ "type": "function"
1757
+ },
1758
+ {
1759
+ "inputs": [],
1760
+ "name": "reserveFactorMantissa",
1761
+ "outputs": [
1762
+ {
1763
+ "internalType": "uint256",
1764
+ "name": "",
1765
+ "type": "uint256"
1766
+ }
1767
+ ],
1768
+ "stateMutability": "view",
1769
+ "type": "function"
1770
+ },
1771
+ {
1772
+ "inputs": [
1773
+ {
1774
+ "internalType": "address",
1775
+ "name": "liquidator",
1776
+ "type": "address"
1777
+ },
1778
+ {
1779
+ "internalType": "address",
1780
+ "name": "borrower",
1781
+ "type": "address"
1782
+ },
1783
+ {
1784
+ "internalType": "uint256",
1785
+ "name": "seizeTokens",
1786
+ "type": "uint256"
1787
+ }
1788
+ ],
1789
+ "name": "seize",
1790
+ "outputs": [],
1791
+ "stateMutability": "nonpayable",
1792
+ "type": "function"
1793
+ },
1794
+ {
1795
+ "inputs": [
1796
+ {
1797
+ "internalType": "address",
1798
+ "name": "accessControlManager_",
1799
+ "type": "address"
1800
+ }
1801
+ ],
1802
+ "name": "setAccessControlManager",
1803
+ "outputs": [],
1804
+ "stateMutability": "nonpayable",
1805
+ "type": "function"
1806
+ },
1807
+ {
1808
+ "inputs": [
1809
+ {
1810
+ "internalType": "contract InterestRateModel",
1811
+ "name": "newInterestRateModel",
1812
+ "type": "address"
1813
+ }
1814
+ ],
1815
+ "name": "setInterestRateModel",
1816
+ "outputs": [],
1817
+ "stateMutability": "nonpayable",
1818
+ "type": "function"
1819
+ },
1820
+ {
1821
+ "inputs": [
1822
+ {
1823
+ "internalType": "uint256",
1824
+ "name": "newProtocolSeizeShareMantissa_",
1825
+ "type": "uint256"
1826
+ }
1827
+ ],
1828
+ "name": "setProtocolSeizeShare",
1829
+ "outputs": [],
1830
+ "stateMutability": "nonpayable",
1831
+ "type": "function"
1832
+ },
1833
+ {
1834
+ "inputs": [
1835
+ {
1836
+ "internalType": "address payable",
1837
+ "name": "protocolShareReserve_",
1838
+ "type": "address"
1839
+ }
1840
+ ],
1841
+ "name": "setProtocolShareReserve",
1842
+ "outputs": [],
1843
+ "stateMutability": "nonpayable",
1844
+ "type": "function"
1845
+ },
1846
+ {
1847
+ "inputs": [
1848
+ {
1849
+ "internalType": "uint256",
1850
+ "name": "_newReduceReservesBlockOrTimestampDelta",
1851
+ "type": "uint256"
1852
+ }
1853
+ ],
1854
+ "name": "setReduceReservesBlockDelta",
1855
+ "outputs": [],
1856
+ "stateMutability": "nonpayable",
1857
+ "type": "function"
1858
+ },
1859
+ {
1860
+ "inputs": [
1861
+ {
1862
+ "internalType": "uint256",
1863
+ "name": "newReserveFactorMantissa",
1864
+ "type": "uint256"
1865
+ }
1866
+ ],
1867
+ "name": "setReserveFactor",
1868
+ "outputs": [],
1869
+ "stateMutability": "nonpayable",
1870
+ "type": "function"
1871
+ },
1872
+ {
1873
+ "inputs": [
1874
+ {
1875
+ "internalType": "address",
1876
+ "name": "shortfall_",
1877
+ "type": "address"
1878
+ }
1879
+ ],
1880
+ "name": "setShortfallContract",
1881
+ "outputs": [],
1882
+ "stateMutability": "nonpayable",
1883
+ "type": "function"
1884
+ },
1885
+ {
1886
+ "inputs": [],
1887
+ "name": "shortfall",
1888
+ "outputs": [
1889
+ {
1890
+ "internalType": "address",
1891
+ "name": "",
1892
+ "type": "address"
1893
+ }
1894
+ ],
1895
+ "stateMutability": "view",
1896
+ "type": "function"
1897
+ },
1898
+ {
1899
+ "inputs": [],
1900
+ "name": "supplyRatePerBlock",
1901
+ "outputs": [
1902
+ {
1903
+ "internalType": "uint256",
1904
+ "name": "",
1905
+ "type": "uint256"
1906
+ }
1907
+ ],
1908
+ "stateMutability": "view",
1909
+ "type": "function"
1910
+ },
1911
+ {
1912
+ "inputs": [
1913
+ {
1914
+ "internalType": "contract IERC20Upgradeable",
1915
+ "name": "token",
1916
+ "type": "address"
1917
+ }
1918
+ ],
1919
+ "name": "sweepToken",
1920
+ "outputs": [],
1921
+ "stateMutability": "nonpayable",
1922
+ "type": "function"
1923
+ },
1924
+ {
1925
+ "inputs": [],
1926
+ "name": "symbol",
1927
+ "outputs": [
1928
+ {
1929
+ "internalType": "string",
1930
+ "name": "",
1931
+ "type": "string"
1932
+ }
1933
+ ],
1934
+ "stateMutability": "view",
1935
+ "type": "function"
1936
+ },
1937
+ {
1938
+ "inputs": [],
1939
+ "name": "totalBorrows",
1940
+ "outputs": [
1941
+ {
1942
+ "internalType": "uint256",
1943
+ "name": "",
1944
+ "type": "uint256"
1945
+ }
1946
+ ],
1947
+ "stateMutability": "view",
1948
+ "type": "function"
1949
+ },
1950
+ {
1951
+ "inputs": [],
1952
+ "name": "totalBorrowsCurrent",
1953
+ "outputs": [
1954
+ {
1955
+ "internalType": "uint256",
1956
+ "name": "",
1957
+ "type": "uint256"
1958
+ }
1959
+ ],
1960
+ "stateMutability": "nonpayable",
1961
+ "type": "function"
1962
+ },
1963
+ {
1964
+ "inputs": [],
1965
+ "name": "totalReserves",
1966
+ "outputs": [
1967
+ {
1968
+ "internalType": "uint256",
1969
+ "name": "",
1970
+ "type": "uint256"
1971
+ }
1972
+ ],
1973
+ "stateMutability": "view",
1974
+ "type": "function"
1975
+ },
1976
+ {
1977
+ "inputs": [],
1978
+ "name": "totalSupply",
1979
+ "outputs": [
1980
+ {
1981
+ "internalType": "uint256",
1982
+ "name": "",
1983
+ "type": "uint256"
1984
+ }
1985
+ ],
1986
+ "stateMutability": "view",
1987
+ "type": "function"
1988
+ },
1989
+ {
1990
+ "inputs": [
1991
+ {
1992
+ "internalType": "address",
1993
+ "name": "dst",
1994
+ "type": "address"
1995
+ },
1996
+ {
1997
+ "internalType": "uint256",
1998
+ "name": "amount",
1999
+ "type": "uint256"
2000
+ }
2001
+ ],
2002
+ "name": "transfer",
2003
+ "outputs": [
2004
+ {
2005
+ "internalType": "bool",
2006
+ "name": "",
2007
+ "type": "bool"
2008
+ }
2009
+ ],
2010
+ "stateMutability": "nonpayable",
2011
+ "type": "function"
2012
+ },
2013
+ {
2014
+ "inputs": [
2015
+ {
2016
+ "internalType": "address",
2017
+ "name": "src",
2018
+ "type": "address"
2019
+ },
2020
+ {
2021
+ "internalType": "address",
2022
+ "name": "dst",
2023
+ "type": "address"
2024
+ },
2025
+ {
2026
+ "internalType": "uint256",
2027
+ "name": "amount",
2028
+ "type": "uint256"
2029
+ }
2030
+ ],
2031
+ "name": "transferFrom",
2032
+ "outputs": [
2033
+ {
2034
+ "internalType": "bool",
2035
+ "name": "",
2036
+ "type": "bool"
2037
+ }
2038
+ ],
2039
+ "stateMutability": "nonpayable",
2040
+ "type": "function"
2041
+ },
2042
+ {
2043
+ "inputs": [
2044
+ {
2045
+ "internalType": "address",
2046
+ "name": "newOwner",
2047
+ "type": "address"
2048
+ }
2049
+ ],
2050
+ "name": "transferOwnership",
2051
+ "outputs": [],
2052
+ "stateMutability": "nonpayable",
2053
+ "type": "function"
2054
+ },
2055
+ {
2056
+ "inputs": [],
2057
+ "name": "underlying",
2058
+ "outputs": [
2059
+ {
2060
+ "internalType": "address",
2061
+ "name": "",
2062
+ "type": "address"
2063
+ }
2064
+ ],
2065
+ "stateMutability": "view",
2066
+ "type": "function"
2067
+ }
2068
+ ],
2069
+ "numDeployments": 1
2070
+ }