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