@meterio/sumer-js 0.1.20 → 0.1.22
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.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +6 -3
- package/dist/nodejs/abi.js +1362 -717
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/cToken.d.ts +1 -0
- package/dist/nodejs/cToken.js +42 -3
- package/dist/nodejs/cToken.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +13 -2
- package/dist/nodejs/constants/arbitrum.js +20 -10
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +13 -2
- package/dist/nodejs/constants/basemain.js +14 -7
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +13 -2
- package/dist/nodejs/constants/basetest.js +12 -6
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/goerli.d.ts +13 -2
- package/dist/nodejs/constants/goerli.js +18 -9
- package/dist/nodejs/constants/goerli.js.map +1 -1
- package/dist/nodejs/constants/index.d.ts +2 -0
- package/dist/nodejs/constants/index.js +9 -1
- package/dist/nodejs/constants/index.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +1 -0
- package/dist/nodejs/constants/metermain.js +14 -7
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +13 -2
- package/dist/nodejs/constants/metertest.js +19 -10
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +13 -2
- package/dist/nodejs/constants/sepolia.js +8 -4
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/errors.d.ts +45 -149
- package/dist/nodejs/errors.js +91 -195
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +65 -152
- package/dist/nodejs/index.js +3 -0
- package/dist/nodejs/index.js.map +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/AccountLiquidity.d.ts +2 -2
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +14 -12
- package/dist/nodejs/typechain/contracts/Interfaces/IAccountLiquidity.d.ts +2 -2
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +14 -12
- package/dist/nodejs/typechain/contracts/SumerErrors.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/SumerErrors.js +3 -0
- package/dist/nodejs/typechain/contracts/SumerErrors.js.map +1 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +43 -75
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +44 -84
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +48 -64
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +49 -69
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +81 -33
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +93 -33
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +36 -84
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +40 -100
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +1 -5
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +1 -6
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +3 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +3 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +209 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +261 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +153 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +191 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.d.ts +0 -4
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.js +0 -5
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IAccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +2 -2
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +2 -2
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +234 -0
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +305 -0
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock.sol/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +18 -0
- package/dist/nodejs/typechain/index.d.ts +2 -0
- package/dist/nodejs/typechain/index.js +3 -1
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/abi.js
CHANGED
|
@@ -315,6 +315,273 @@ exports.abi = {
|
|
|
315
315
|
"type": "function"
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
|
+
"SumerErrors": [
|
|
319
|
+
{
|
|
320
|
+
"inputs": [],
|
|
321
|
+
"name": "AddReservesOverflow",
|
|
322
|
+
"type": "error"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"inputs": [],
|
|
326
|
+
"name": "BorrowAndDepositBackFailed",
|
|
327
|
+
"type": "error"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"inputs": [],
|
|
331
|
+
"name": "BorrowMarketNotFresh",
|
|
332
|
+
"type": "error"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"inputs": [],
|
|
336
|
+
"name": "BorrowMinimumNotReached",
|
|
337
|
+
"type": "error"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"inputs": [],
|
|
341
|
+
"name": "BorrowPaused",
|
|
342
|
+
"type": "error"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"inputs": [],
|
|
346
|
+
"name": "CantSweepUnderlying",
|
|
347
|
+
"type": "error"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"inputs": [],
|
|
351
|
+
"name": "InsufficientCash",
|
|
352
|
+
"type": "error"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"inputs": [],
|
|
356
|
+
"name": "InsufficientShortfall",
|
|
357
|
+
"type": "error"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"inputs": [],
|
|
361
|
+
"name": "InvalidAddress",
|
|
362
|
+
"type": "error"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"inputs": [],
|
|
366
|
+
"name": "InvalidAmount",
|
|
367
|
+
"type": "error"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"inputs": [],
|
|
371
|
+
"name": "InvalidComptroller",
|
|
372
|
+
"type": "error"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"inputs": [],
|
|
376
|
+
"name": "InvalidDiscountRate",
|
|
377
|
+
"type": "error"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"inputs": [],
|
|
381
|
+
"name": "InvalidExchangeRate",
|
|
382
|
+
"type": "error"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"inputs": [],
|
|
386
|
+
"name": "InvalidInterestRateModel",
|
|
387
|
+
"type": "error"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"inputs": [],
|
|
391
|
+
"name": "InvalidMinSuBorrowValue",
|
|
392
|
+
"type": "error"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"inputs": [],
|
|
396
|
+
"name": "InvalidReduceAmount",
|
|
397
|
+
"type": "error"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"inputs": [],
|
|
401
|
+
"name": "InvalidReserveFactor",
|
|
402
|
+
"type": "error"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"inputs": [],
|
|
406
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
407
|
+
"type": "error"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"inputs": [],
|
|
411
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
412
|
+
"type": "error"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"inputs": [],
|
|
416
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
417
|
+
"type": "error"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"inputs": [],
|
|
421
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
422
|
+
"type": "error"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"inputs": [],
|
|
426
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
427
|
+
"type": "error"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"inputs": [],
|
|
431
|
+
"name": "MarketAlreadyListed",
|
|
432
|
+
"type": "error"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"inputs": [],
|
|
436
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
437
|
+
"type": "error"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"inputs": [],
|
|
441
|
+
"name": "MarketNotFresh",
|
|
442
|
+
"type": "error"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"inputs": [],
|
|
446
|
+
"name": "MarketNotListed",
|
|
447
|
+
"type": "error"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"inputs": [],
|
|
451
|
+
"name": "MintMarketNotFresh",
|
|
452
|
+
"type": "error"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"inputs": [],
|
|
456
|
+
"name": "MintPaused",
|
|
457
|
+
"type": "error"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"inputs": [],
|
|
461
|
+
"name": "NoRedemptionProvider",
|
|
462
|
+
"type": "error"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"inputs": [],
|
|
466
|
+
"name": "NotCToken",
|
|
467
|
+
"type": "error"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"inputs": [],
|
|
471
|
+
"name": "NotSuToken",
|
|
472
|
+
"type": "error"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"inputs": [],
|
|
476
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
477
|
+
"type": "error"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"inputs": [],
|
|
481
|
+
"name": "OnlyAdmin",
|
|
482
|
+
"type": "error"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"inputs": [],
|
|
486
|
+
"name": "OnlyComptroller",
|
|
487
|
+
"type": "error"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"inputs": [],
|
|
491
|
+
"name": "OnlyPendingAdmin",
|
|
492
|
+
"type": "error"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"inputs": [],
|
|
496
|
+
"name": "PriceError",
|
|
497
|
+
"type": "error"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"inputs": [],
|
|
501
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
502
|
+
"type": "error"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"inputs": [],
|
|
506
|
+
"name": "ProtocolIsPaused",
|
|
507
|
+
"type": "error"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"inputs": [],
|
|
511
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
512
|
+
"type": "error"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"inputs": [],
|
|
516
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
517
|
+
"type": "error"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"inputs": [],
|
|
521
|
+
"name": "RedeemMarketNotFresh",
|
|
522
|
+
"type": "error"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"inputs": [],
|
|
526
|
+
"name": "ReduceReservesOverflow",
|
|
527
|
+
"type": "error"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"inputs": [],
|
|
531
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
532
|
+
"type": "error"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"inputs": [],
|
|
536
|
+
"name": "SeizePaused",
|
|
537
|
+
"type": "error"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"inputs": [],
|
|
541
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
542
|
+
"type": "error"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"inputs": [],
|
|
546
|
+
"name": "SenderMustBeCToken",
|
|
547
|
+
"type": "error"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"inputs": [],
|
|
551
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
552
|
+
"type": "error"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"inputs": [],
|
|
556
|
+
"name": "TokenTransferInFailed",
|
|
557
|
+
"type": "error"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"inputs": [],
|
|
561
|
+
"name": "TokenTransferOutFailed",
|
|
562
|
+
"type": "error"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"inputs": [],
|
|
566
|
+
"name": "TooMuchRepay",
|
|
567
|
+
"type": "error"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"inputs": [],
|
|
571
|
+
"name": "TransferNotAllowed",
|
|
572
|
+
"type": "error"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"inputs": [],
|
|
576
|
+
"name": "TransferPaused",
|
|
577
|
+
"type": "error"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"inputs": [],
|
|
581
|
+
"name": "UnderlyingBalanceError",
|
|
582
|
+
"type": "error"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
318
585
|
"SumerTimelockController": [
|
|
319
586
|
{
|
|
320
587
|
"inputs": [
|
|
@@ -2506,36 +2773,6 @@ exports.abi = {
|
|
|
2506
2773
|
}
|
|
2507
2774
|
],
|
|
2508
2775
|
"CErc20": [
|
|
2509
|
-
{
|
|
2510
|
-
"inputs": [],
|
|
2511
|
-
"name": "AccrueInterest_AccumulatedCalcFailed",
|
|
2512
|
-
"type": "error"
|
|
2513
|
-
},
|
|
2514
|
-
{
|
|
2515
|
-
"inputs": [],
|
|
2516
|
-
"name": "AccrueInterest_DeltaCalcFailed",
|
|
2517
|
-
"type": "error"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"inputs": [],
|
|
2521
|
-
"name": "AccrueInterest_FactorCalcFailed",
|
|
2522
|
-
"type": "error"
|
|
2523
|
-
},
|
|
2524
|
-
{
|
|
2525
|
-
"inputs": [],
|
|
2526
|
-
"name": "AccrueInterest_IndexCalcFailed",
|
|
2527
|
-
"type": "error"
|
|
2528
|
-
},
|
|
2529
|
-
{
|
|
2530
|
-
"inputs": [],
|
|
2531
|
-
"name": "AccrueInterest_ReserveCalcFailed",
|
|
2532
|
-
"type": "error"
|
|
2533
|
-
},
|
|
2534
|
-
{
|
|
2535
|
-
"inputs": [],
|
|
2536
|
-
"name": "AccrueInterest_TotalBorrowCalcFailed",
|
|
2537
|
-
"type": "error"
|
|
2538
|
-
},
|
|
2539
2776
|
{
|
|
2540
2777
|
"inputs": [],
|
|
2541
2778
|
"name": "AddReservesOverflow",
|
|
@@ -2543,47 +2780,47 @@ exports.abi = {
|
|
|
2543
2780
|
},
|
|
2544
2781
|
{
|
|
2545
2782
|
"inputs": [],
|
|
2546
|
-
"name": "
|
|
2783
|
+
"name": "BorrowAndDepositBackFailed",
|
|
2547
2784
|
"type": "error"
|
|
2548
2785
|
},
|
|
2549
2786
|
{
|
|
2550
2787
|
"inputs": [],
|
|
2551
|
-
"name": "
|
|
2788
|
+
"name": "BorrowMarketNotFresh",
|
|
2552
2789
|
"type": "error"
|
|
2553
2790
|
},
|
|
2554
2791
|
{
|
|
2555
2792
|
"inputs": [],
|
|
2556
|
-
"name": "
|
|
2793
|
+
"name": "BorrowMinimumNotReached",
|
|
2557
2794
|
"type": "error"
|
|
2558
2795
|
},
|
|
2559
2796
|
{
|
|
2560
2797
|
"inputs": [],
|
|
2561
|
-
"name": "
|
|
2798
|
+
"name": "BorrowPaused",
|
|
2562
2799
|
"type": "error"
|
|
2563
2800
|
},
|
|
2564
2801
|
{
|
|
2565
2802
|
"inputs": [],
|
|
2566
|
-
"name": "
|
|
2803
|
+
"name": "CantSweepUnderlying",
|
|
2567
2804
|
"type": "error"
|
|
2568
2805
|
},
|
|
2569
2806
|
{
|
|
2570
2807
|
"inputs": [],
|
|
2571
|
-
"name": "
|
|
2808
|
+
"name": "InsufficientCash",
|
|
2572
2809
|
"type": "error"
|
|
2573
2810
|
},
|
|
2574
2811
|
{
|
|
2575
2812
|
"inputs": [],
|
|
2576
|
-
"name": "
|
|
2813
|
+
"name": "InsufficientShortfall",
|
|
2577
2814
|
"type": "error"
|
|
2578
2815
|
},
|
|
2579
2816
|
{
|
|
2580
2817
|
"inputs": [],
|
|
2581
|
-
"name": "
|
|
2818
|
+
"name": "InvalidAddress",
|
|
2582
2819
|
"type": "error"
|
|
2583
2820
|
},
|
|
2584
2821
|
{
|
|
2585
2822
|
"inputs": [],
|
|
2586
|
-
"name": "
|
|
2823
|
+
"name": "InvalidAmount",
|
|
2587
2824
|
"type": "error"
|
|
2588
2825
|
},
|
|
2589
2826
|
{
|
|
@@ -2608,137 +2845,137 @@ exports.abi = {
|
|
|
2608
2845
|
},
|
|
2609
2846
|
{
|
|
2610
2847
|
"inputs": [],
|
|
2611
|
-
"name": "
|
|
2848
|
+
"name": "InvalidMinSuBorrowValue",
|
|
2612
2849
|
"type": "error"
|
|
2613
2850
|
},
|
|
2614
2851
|
{
|
|
2615
2852
|
"inputs": [],
|
|
2616
|
-
"name": "
|
|
2853
|
+
"name": "InvalidReduceAmount",
|
|
2617
2854
|
"type": "error"
|
|
2618
2855
|
},
|
|
2619
2856
|
{
|
|
2620
2857
|
"inputs": [],
|
|
2621
|
-
"name": "
|
|
2858
|
+
"name": "InvalidReserveFactor",
|
|
2622
2859
|
"type": "error"
|
|
2623
2860
|
},
|
|
2624
2861
|
{
|
|
2625
2862
|
"inputs": [],
|
|
2626
|
-
"name": "
|
|
2863
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
2627
2864
|
"type": "error"
|
|
2628
2865
|
},
|
|
2629
2866
|
{
|
|
2630
2867
|
"inputs": [],
|
|
2631
|
-
"name": "
|
|
2868
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
2632
2869
|
"type": "error"
|
|
2633
2870
|
},
|
|
2634
2871
|
{
|
|
2635
2872
|
"inputs": [],
|
|
2636
|
-
"name": "
|
|
2873
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
2637
2874
|
"type": "error"
|
|
2638
2875
|
},
|
|
2639
2876
|
{
|
|
2640
2877
|
"inputs": [],
|
|
2641
|
-
"name": "
|
|
2878
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
2642
2879
|
"type": "error"
|
|
2643
2880
|
},
|
|
2644
2881
|
{
|
|
2645
2882
|
"inputs": [],
|
|
2646
|
-
"name": "
|
|
2883
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
2647
2884
|
"type": "error"
|
|
2648
2885
|
},
|
|
2649
2886
|
{
|
|
2650
2887
|
"inputs": [],
|
|
2651
|
-
"name": "
|
|
2888
|
+
"name": "MarketAlreadyListed",
|
|
2652
2889
|
"type": "error"
|
|
2653
2890
|
},
|
|
2654
2891
|
{
|
|
2655
2892
|
"inputs": [],
|
|
2656
|
-
"name": "
|
|
2893
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
2657
2894
|
"type": "error"
|
|
2658
2895
|
},
|
|
2659
2896
|
{
|
|
2660
2897
|
"inputs": [],
|
|
2661
|
-
"name": "
|
|
2898
|
+
"name": "MarketNotFresh",
|
|
2662
2899
|
"type": "error"
|
|
2663
2900
|
},
|
|
2664
2901
|
{
|
|
2665
2902
|
"inputs": [],
|
|
2666
|
-
"name": "
|
|
2903
|
+
"name": "MarketNotListed",
|
|
2667
2904
|
"type": "error"
|
|
2668
2905
|
},
|
|
2669
2906
|
{
|
|
2670
2907
|
"inputs": [],
|
|
2671
|
-
"name": "
|
|
2908
|
+
"name": "MintMarketNotFresh",
|
|
2672
2909
|
"type": "error"
|
|
2673
2910
|
},
|
|
2674
2911
|
{
|
|
2675
2912
|
"inputs": [],
|
|
2676
|
-
"name": "
|
|
2913
|
+
"name": "MintPaused",
|
|
2677
2914
|
"type": "error"
|
|
2678
2915
|
},
|
|
2679
2916
|
{
|
|
2680
2917
|
"inputs": [],
|
|
2681
|
-
"name": "
|
|
2918
|
+
"name": "NoRedemptionProvider",
|
|
2682
2919
|
"type": "error"
|
|
2683
2920
|
},
|
|
2684
2921
|
{
|
|
2685
2922
|
"inputs": [],
|
|
2686
|
-
"name": "
|
|
2923
|
+
"name": "NotCToken",
|
|
2687
2924
|
"type": "error"
|
|
2688
2925
|
},
|
|
2689
2926
|
{
|
|
2690
2927
|
"inputs": [],
|
|
2691
|
-
"name": "
|
|
2928
|
+
"name": "NotSuToken",
|
|
2692
2929
|
"type": "error"
|
|
2693
2930
|
},
|
|
2694
2931
|
{
|
|
2695
2932
|
"inputs": [],
|
|
2696
|
-
"name": "
|
|
2933
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
2697
2934
|
"type": "error"
|
|
2698
2935
|
},
|
|
2699
2936
|
{
|
|
2700
2937
|
"inputs": [],
|
|
2701
|
-
"name": "
|
|
2938
|
+
"name": "OnlyAdmin",
|
|
2702
2939
|
"type": "error"
|
|
2703
2940
|
},
|
|
2704
2941
|
{
|
|
2705
2942
|
"inputs": [],
|
|
2706
|
-
"name": "
|
|
2943
|
+
"name": "OnlyComptroller",
|
|
2707
2944
|
"type": "error"
|
|
2708
2945
|
},
|
|
2709
2946
|
{
|
|
2710
2947
|
"inputs": [],
|
|
2711
|
-
"name": "
|
|
2948
|
+
"name": "OnlyPendingAdmin",
|
|
2712
2949
|
"type": "error"
|
|
2713
2950
|
},
|
|
2714
2951
|
{
|
|
2715
2952
|
"inputs": [],
|
|
2716
|
-
"name": "
|
|
2953
|
+
"name": "PriceError",
|
|
2717
2954
|
"type": "error"
|
|
2718
2955
|
},
|
|
2719
2956
|
{
|
|
2720
2957
|
"inputs": [],
|
|
2721
|
-
"name": "
|
|
2958
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
2722
2959
|
"type": "error"
|
|
2723
2960
|
},
|
|
2724
2961
|
{
|
|
2725
2962
|
"inputs": [],
|
|
2726
|
-
"name": "
|
|
2963
|
+
"name": "ProtocolIsPaused",
|
|
2727
2964
|
"type": "error"
|
|
2728
2965
|
},
|
|
2729
2966
|
{
|
|
2730
2967
|
"inputs": [],
|
|
2731
|
-
"name": "
|
|
2968
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
2732
2969
|
"type": "error"
|
|
2733
2970
|
},
|
|
2734
2971
|
{
|
|
2735
2972
|
"inputs": [],
|
|
2736
|
-
"name": "
|
|
2973
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
2737
2974
|
"type": "error"
|
|
2738
2975
|
},
|
|
2739
2976
|
{
|
|
2740
2977
|
"inputs": [],
|
|
2741
|
-
"name": "
|
|
2978
|
+
"name": "RedeemMarketNotFresh",
|
|
2742
2979
|
"type": "error"
|
|
2743
2980
|
},
|
|
2744
2981
|
{
|
|
@@ -2748,32 +2985,22 @@ exports.abi = {
|
|
|
2748
2985
|
},
|
|
2749
2986
|
{
|
|
2750
2987
|
"inputs": [],
|
|
2751
|
-
"name": "
|
|
2988
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
2752
2989
|
"type": "error"
|
|
2753
2990
|
},
|
|
2754
2991
|
{
|
|
2755
2992
|
"inputs": [],
|
|
2756
|
-
"name": "
|
|
2757
|
-
"type": "error"
|
|
2758
|
-
},
|
|
2759
|
-
{
|
|
2760
|
-
"inputs": [],
|
|
2761
|
-
"name": "RepayBorrow_TotalBorrowCalcFailed",
|
|
2762
|
-
"type": "error"
|
|
2763
|
-
},
|
|
2764
|
-
{
|
|
2765
|
-
"inputs": [],
|
|
2766
|
-
"name": "Seize_DecrementFailed",
|
|
2993
|
+
"name": "SeizePaused",
|
|
2767
2994
|
"type": "error"
|
|
2768
2995
|
},
|
|
2769
2996
|
{
|
|
2770
2997
|
"inputs": [],
|
|
2771
|
-
"name": "
|
|
2998
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
2772
2999
|
"type": "error"
|
|
2773
3000
|
},
|
|
2774
3001
|
{
|
|
2775
3002
|
"inputs": [],
|
|
2776
|
-
"name": "
|
|
3003
|
+
"name": "SenderMustBeCToken",
|
|
2777
3004
|
"type": "error"
|
|
2778
3005
|
},
|
|
2779
3006
|
{
|
|
@@ -2793,17 +3020,17 @@ exports.abi = {
|
|
|
2793
3020
|
},
|
|
2794
3021
|
{
|
|
2795
3022
|
"inputs": [],
|
|
2796
|
-
"name": "
|
|
3023
|
+
"name": "TooMuchRepay",
|
|
2797
3024
|
"type": "error"
|
|
2798
3025
|
},
|
|
2799
3026
|
{
|
|
2800
3027
|
"inputs": [],
|
|
2801
|
-
"name": "
|
|
3028
|
+
"name": "TransferNotAllowed",
|
|
2802
3029
|
"type": "error"
|
|
2803
3030
|
},
|
|
2804
3031
|
{
|
|
2805
3032
|
"inputs": [],
|
|
2806
|
-
"name": "
|
|
3033
|
+
"name": "TransferPaused",
|
|
2807
3034
|
"type": "error"
|
|
2808
3035
|
},
|
|
2809
3036
|
{
|
|
@@ -4303,116 +4530,101 @@ exports.abi = {
|
|
|
4303
4530
|
"internalType": "uint256",
|
|
4304
4531
|
"name": "",
|
|
4305
4532
|
"type": "uint256"
|
|
4306
|
-
}
|
|
4307
|
-
],
|
|
4308
|
-
"stateMutability": "view",
|
|
4309
|
-
"type": "function"
|
|
4310
|
-
}
|
|
4311
|
-
],
|
|
4312
|
-
"CEther": [
|
|
4313
|
-
{
|
|
4314
|
-
"inputs": [],
|
|
4315
|
-
"name": "AccrueInterest_AccumulatedCalcFailed",
|
|
4316
|
-
"type": "error"
|
|
4317
|
-
},
|
|
4318
|
-
{
|
|
4319
|
-
"inputs": [],
|
|
4320
|
-
"name": "AccrueInterest_DeltaCalcFailed",
|
|
4321
|
-
"type": "error"
|
|
4322
|
-
},
|
|
4323
|
-
{
|
|
4324
|
-
"inputs": [],
|
|
4325
|
-
"name": "AccrueInterest_FactorCalcFailed",
|
|
4326
|
-
"type": "error"
|
|
4327
|
-
},
|
|
4533
|
+
}
|
|
4534
|
+
],
|
|
4535
|
+
"stateMutability": "view",
|
|
4536
|
+
"type": "function"
|
|
4537
|
+
}
|
|
4538
|
+
],
|
|
4539
|
+
"CEther": [
|
|
4328
4540
|
{
|
|
4329
4541
|
"inputs": [],
|
|
4330
|
-
"name": "
|
|
4542
|
+
"name": "AddReservesOverflow",
|
|
4331
4543
|
"type": "error"
|
|
4332
4544
|
},
|
|
4333
4545
|
{
|
|
4334
4546
|
"inputs": [],
|
|
4335
|
-
"name": "
|
|
4547
|
+
"name": "BorrowAndDepositBackFailed",
|
|
4336
4548
|
"type": "error"
|
|
4337
4549
|
},
|
|
4338
4550
|
{
|
|
4339
4551
|
"inputs": [],
|
|
4340
|
-
"name": "
|
|
4552
|
+
"name": "BorrowMarketNotFresh",
|
|
4341
4553
|
"type": "error"
|
|
4342
4554
|
},
|
|
4343
4555
|
{
|
|
4344
4556
|
"inputs": [],
|
|
4345
|
-
"name": "
|
|
4557
|
+
"name": "BorrowMinimumNotReached",
|
|
4346
4558
|
"type": "error"
|
|
4347
4559
|
},
|
|
4348
4560
|
{
|
|
4349
4561
|
"inputs": [],
|
|
4350
|
-
"name": "
|
|
4562
|
+
"name": "BorrowPaused",
|
|
4351
4563
|
"type": "error"
|
|
4352
4564
|
},
|
|
4353
4565
|
{
|
|
4354
4566
|
"inputs": [],
|
|
4355
|
-
"name": "
|
|
4567
|
+
"name": "CantSweepUnderlying",
|
|
4356
4568
|
"type": "error"
|
|
4357
4569
|
},
|
|
4358
4570
|
{
|
|
4359
4571
|
"inputs": [],
|
|
4360
|
-
"name": "
|
|
4572
|
+
"name": "InsufficientCash",
|
|
4361
4573
|
"type": "error"
|
|
4362
4574
|
},
|
|
4363
4575
|
{
|
|
4364
4576
|
"inputs": [],
|
|
4365
|
-
"name": "
|
|
4577
|
+
"name": "InsufficientShortfall",
|
|
4366
4578
|
"type": "error"
|
|
4367
4579
|
},
|
|
4368
4580
|
{
|
|
4369
4581
|
"inputs": [],
|
|
4370
|
-
"name": "
|
|
4582
|
+
"name": "InvalidAddress",
|
|
4371
4583
|
"type": "error"
|
|
4372
4584
|
},
|
|
4373
4585
|
{
|
|
4374
4586
|
"inputs": [],
|
|
4375
|
-
"name": "
|
|
4587
|
+
"name": "InvalidAmount",
|
|
4376
4588
|
"type": "error"
|
|
4377
4589
|
},
|
|
4378
4590
|
{
|
|
4379
4591
|
"inputs": [],
|
|
4380
|
-
"name": "
|
|
4592
|
+
"name": "InvalidComptroller",
|
|
4381
4593
|
"type": "error"
|
|
4382
4594
|
},
|
|
4383
4595
|
{
|
|
4384
4596
|
"inputs": [],
|
|
4385
|
-
"name": "
|
|
4597
|
+
"name": "InvalidDiscountRate",
|
|
4386
4598
|
"type": "error"
|
|
4387
4599
|
},
|
|
4388
4600
|
{
|
|
4389
4601
|
"inputs": [],
|
|
4390
|
-
"name": "
|
|
4602
|
+
"name": "InvalidExchangeRate",
|
|
4391
4603
|
"type": "error"
|
|
4392
4604
|
},
|
|
4393
4605
|
{
|
|
4394
4606
|
"inputs": [],
|
|
4395
|
-
"name": "
|
|
4607
|
+
"name": "InvalidInterestRateModel",
|
|
4396
4608
|
"type": "error"
|
|
4397
4609
|
},
|
|
4398
4610
|
{
|
|
4399
4611
|
"inputs": [],
|
|
4400
|
-
"name": "
|
|
4612
|
+
"name": "InvalidMinSuBorrowValue",
|
|
4401
4613
|
"type": "error"
|
|
4402
4614
|
},
|
|
4403
4615
|
{
|
|
4404
4616
|
"inputs": [],
|
|
4405
|
-
"name": "
|
|
4617
|
+
"name": "InvalidReduceAmount",
|
|
4406
4618
|
"type": "error"
|
|
4407
4619
|
},
|
|
4408
4620
|
{
|
|
4409
4621
|
"inputs": [],
|
|
4410
|
-
"name": "
|
|
4622
|
+
"name": "InvalidReserveFactor",
|
|
4411
4623
|
"type": "error"
|
|
4412
4624
|
},
|
|
4413
4625
|
{
|
|
4414
4626
|
"inputs": [],
|
|
4415
|
-
"name": "
|
|
4627
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
4416
4628
|
"type": "error"
|
|
4417
4629
|
},
|
|
4418
4630
|
{
|
|
@@ -4437,147 +4649,142 @@ exports.abi = {
|
|
|
4437
4649
|
},
|
|
4438
4650
|
{
|
|
4439
4651
|
"inputs": [],
|
|
4440
|
-
"name": "
|
|
4441
|
-
"type": "error"
|
|
4442
|
-
},
|
|
4443
|
-
{
|
|
4444
|
-
"inputs": [],
|
|
4445
|
-
"name": "MarketNotFresh",
|
|
4652
|
+
"name": "MarketAlreadyListed",
|
|
4446
4653
|
"type": "error"
|
|
4447
4654
|
},
|
|
4448
4655
|
{
|
|
4449
4656
|
"inputs": [],
|
|
4450
|
-
"name": "
|
|
4657
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
4451
4658
|
"type": "error"
|
|
4452
4659
|
},
|
|
4453
4660
|
{
|
|
4454
4661
|
"inputs": [],
|
|
4455
|
-
"name": "
|
|
4662
|
+
"name": "MarketNotFresh",
|
|
4456
4663
|
"type": "error"
|
|
4457
4664
|
},
|
|
4458
4665
|
{
|
|
4459
4666
|
"inputs": [],
|
|
4460
|
-
"name": "
|
|
4667
|
+
"name": "MarketNotListed",
|
|
4461
4668
|
"type": "error"
|
|
4462
4669
|
},
|
|
4463
4670
|
{
|
|
4464
4671
|
"inputs": [],
|
|
4465
|
-
"name": "
|
|
4672
|
+
"name": "MintMarketNotFresh",
|
|
4466
4673
|
"type": "error"
|
|
4467
4674
|
},
|
|
4468
4675
|
{
|
|
4469
4676
|
"inputs": [],
|
|
4470
|
-
"name": "
|
|
4677
|
+
"name": "MintPaused",
|
|
4471
4678
|
"type": "error"
|
|
4472
4679
|
},
|
|
4473
4680
|
{
|
|
4474
4681
|
"inputs": [],
|
|
4475
|
-
"name": "
|
|
4682
|
+
"name": "NoRedemptionProvider",
|
|
4476
4683
|
"type": "error"
|
|
4477
4684
|
},
|
|
4478
4685
|
{
|
|
4479
4686
|
"inputs": [],
|
|
4480
|
-
"name": "
|
|
4687
|
+
"name": "NotCToken",
|
|
4481
4688
|
"type": "error"
|
|
4482
4689
|
},
|
|
4483
4690
|
{
|
|
4484
4691
|
"inputs": [],
|
|
4485
|
-
"name": "
|
|
4692
|
+
"name": "NotSuToken",
|
|
4486
4693
|
"type": "error"
|
|
4487
4694
|
},
|
|
4488
4695
|
{
|
|
4489
4696
|
"inputs": [],
|
|
4490
|
-
"name": "
|
|
4697
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
4491
4698
|
"type": "error"
|
|
4492
4699
|
},
|
|
4493
4700
|
{
|
|
4494
4701
|
"inputs": [],
|
|
4495
|
-
"name": "
|
|
4702
|
+
"name": "OnlyAdmin",
|
|
4496
4703
|
"type": "error"
|
|
4497
4704
|
},
|
|
4498
4705
|
{
|
|
4499
4706
|
"inputs": [],
|
|
4500
|
-
"name": "
|
|
4707
|
+
"name": "OnlyComptroller",
|
|
4501
4708
|
"type": "error"
|
|
4502
4709
|
},
|
|
4503
4710
|
{
|
|
4504
4711
|
"inputs": [],
|
|
4505
|
-
"name": "
|
|
4712
|
+
"name": "OnlyPendingAdmin",
|
|
4506
4713
|
"type": "error"
|
|
4507
4714
|
},
|
|
4508
4715
|
{
|
|
4509
4716
|
"inputs": [],
|
|
4510
|
-
"name": "
|
|
4717
|
+
"name": "PriceError",
|
|
4511
4718
|
"type": "error"
|
|
4512
4719
|
},
|
|
4513
4720
|
{
|
|
4514
4721
|
"inputs": [],
|
|
4515
|
-
"name": "
|
|
4722
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
4516
4723
|
"type": "error"
|
|
4517
4724
|
},
|
|
4518
4725
|
{
|
|
4519
4726
|
"inputs": [],
|
|
4520
|
-
"name": "
|
|
4727
|
+
"name": "ProtocolIsPaused",
|
|
4521
4728
|
"type": "error"
|
|
4522
4729
|
},
|
|
4523
4730
|
{
|
|
4524
4731
|
"inputs": [],
|
|
4525
|
-
"name": "
|
|
4732
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
4526
4733
|
"type": "error"
|
|
4527
4734
|
},
|
|
4528
4735
|
{
|
|
4529
4736
|
"inputs": [],
|
|
4530
|
-
"name": "
|
|
4737
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
4531
4738
|
"type": "error"
|
|
4532
4739
|
},
|
|
4533
4740
|
{
|
|
4534
4741
|
"inputs": [],
|
|
4535
|
-
"name": "
|
|
4742
|
+
"name": "RedeemMarketNotFresh",
|
|
4536
4743
|
"type": "error"
|
|
4537
4744
|
},
|
|
4538
4745
|
{
|
|
4539
4746
|
"inputs": [],
|
|
4540
|
-
"name": "
|
|
4747
|
+
"name": "ReduceReservesOverflow",
|
|
4541
4748
|
"type": "error"
|
|
4542
4749
|
},
|
|
4543
4750
|
{
|
|
4544
4751
|
"inputs": [],
|
|
4545
|
-
"name": "
|
|
4752
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
4546
4753
|
"type": "error"
|
|
4547
4754
|
},
|
|
4548
4755
|
{
|
|
4549
4756
|
"inputs": [],
|
|
4550
|
-
"name": "
|
|
4757
|
+
"name": "SeizePaused",
|
|
4551
4758
|
"type": "error"
|
|
4552
4759
|
},
|
|
4553
4760
|
{
|
|
4554
4761
|
"inputs": [],
|
|
4555
|
-
"name": "
|
|
4762
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
4556
4763
|
"type": "error"
|
|
4557
4764
|
},
|
|
4558
4765
|
{
|
|
4559
4766
|
"inputs": [],
|
|
4560
|
-
"name": "
|
|
4767
|
+
"name": "SenderMustBeCToken",
|
|
4561
4768
|
"type": "error"
|
|
4562
4769
|
},
|
|
4563
4770
|
{
|
|
4564
4771
|
"inputs": [],
|
|
4565
|
-
"name": "
|
|
4772
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
4566
4773
|
"type": "error"
|
|
4567
4774
|
},
|
|
4568
4775
|
{
|
|
4569
4776
|
"inputs": [],
|
|
4570
|
-
"name": "
|
|
4777
|
+
"name": "TokenTransferInFailed",
|
|
4571
4778
|
"type": "error"
|
|
4572
4779
|
},
|
|
4573
4780
|
{
|
|
4574
4781
|
"inputs": [],
|
|
4575
|
-
"name": "
|
|
4782
|
+
"name": "TokenTransferOutFailed",
|
|
4576
4783
|
"type": "error"
|
|
4577
4784
|
},
|
|
4578
4785
|
{
|
|
4579
4786
|
"inputs": [],
|
|
4580
|
-
"name": "
|
|
4787
|
+
"name": "TooMuchRepay",
|
|
4581
4788
|
"type": "error"
|
|
4582
4789
|
},
|
|
4583
4790
|
{
|
|
@@ -4587,12 +4794,12 @@ exports.abi = {
|
|
|
4587
4794
|
},
|
|
4588
4795
|
{
|
|
4589
4796
|
"inputs": [],
|
|
4590
|
-
"name": "
|
|
4797
|
+
"name": "TransferPaused",
|
|
4591
4798
|
"type": "error"
|
|
4592
4799
|
},
|
|
4593
4800
|
{
|
|
4594
4801
|
"inputs": [],
|
|
4595
|
-
"name": "
|
|
4802
|
+
"name": "UnderlyingBalanceError",
|
|
4596
4803
|
"type": "error"
|
|
4597
4804
|
},
|
|
4598
4805
|
{
|
|
@@ -5972,92 +6179,122 @@ exports.abi = {
|
|
|
5972
6179
|
"CToken": [
|
|
5973
6180
|
{
|
|
5974
6181
|
"inputs": [],
|
|
5975
|
-
"name": "
|
|
6182
|
+
"name": "AddReservesOverflow",
|
|
5976
6183
|
"type": "error"
|
|
5977
6184
|
},
|
|
5978
6185
|
{
|
|
5979
6186
|
"inputs": [],
|
|
5980
|
-
"name": "
|
|
6187
|
+
"name": "BorrowAndDepositBackFailed",
|
|
5981
6188
|
"type": "error"
|
|
5982
6189
|
},
|
|
5983
6190
|
{
|
|
5984
6191
|
"inputs": [],
|
|
5985
|
-
"name": "
|
|
6192
|
+
"name": "BorrowMarketNotFresh",
|
|
5986
6193
|
"type": "error"
|
|
5987
6194
|
},
|
|
5988
6195
|
{
|
|
5989
6196
|
"inputs": [],
|
|
5990
|
-
"name": "
|
|
6197
|
+
"name": "BorrowMinimumNotReached",
|
|
5991
6198
|
"type": "error"
|
|
5992
6199
|
},
|
|
5993
6200
|
{
|
|
5994
6201
|
"inputs": [],
|
|
5995
|
-
"name": "
|
|
6202
|
+
"name": "BorrowPaused",
|
|
5996
6203
|
"type": "error"
|
|
5997
6204
|
},
|
|
5998
6205
|
{
|
|
5999
6206
|
"inputs": [],
|
|
6000
|
-
"name": "
|
|
6207
|
+
"name": "CantSweepUnderlying",
|
|
6001
6208
|
"type": "error"
|
|
6002
6209
|
},
|
|
6003
6210
|
{
|
|
6004
6211
|
"inputs": [],
|
|
6005
|
-
"name": "
|
|
6212
|
+
"name": "InsufficientCash",
|
|
6006
6213
|
"type": "error"
|
|
6007
6214
|
},
|
|
6008
6215
|
{
|
|
6009
6216
|
"inputs": [],
|
|
6010
|
-
"name": "
|
|
6217
|
+
"name": "InsufficientShortfall",
|
|
6011
6218
|
"type": "error"
|
|
6012
6219
|
},
|
|
6013
6220
|
{
|
|
6014
6221
|
"inputs": [],
|
|
6015
|
-
"name": "
|
|
6222
|
+
"name": "InvalidAddress",
|
|
6016
6223
|
"type": "error"
|
|
6017
6224
|
},
|
|
6018
6225
|
{
|
|
6019
6226
|
"inputs": [],
|
|
6020
|
-
"name": "
|
|
6227
|
+
"name": "InvalidAmount",
|
|
6021
6228
|
"type": "error"
|
|
6022
6229
|
},
|
|
6023
6230
|
{
|
|
6024
6231
|
"inputs": [],
|
|
6025
|
-
"name": "
|
|
6232
|
+
"name": "InvalidComptroller",
|
|
6026
6233
|
"type": "error"
|
|
6027
6234
|
},
|
|
6028
6235
|
{
|
|
6029
6236
|
"inputs": [],
|
|
6030
|
-
"name": "
|
|
6237
|
+
"name": "InvalidDiscountRate",
|
|
6031
6238
|
"type": "error"
|
|
6032
6239
|
},
|
|
6033
6240
|
{
|
|
6034
6241
|
"inputs": [],
|
|
6035
|
-
"name": "
|
|
6242
|
+
"name": "InvalidExchangeRate",
|
|
6036
6243
|
"type": "error"
|
|
6037
6244
|
},
|
|
6038
6245
|
{
|
|
6039
6246
|
"inputs": [],
|
|
6040
|
-
"name": "
|
|
6247
|
+
"name": "InvalidInterestRateModel",
|
|
6041
6248
|
"type": "error"
|
|
6042
6249
|
},
|
|
6043
6250
|
{
|
|
6044
6251
|
"inputs": [],
|
|
6045
|
-
"name": "
|
|
6252
|
+
"name": "InvalidMinSuBorrowValue",
|
|
6046
6253
|
"type": "error"
|
|
6047
6254
|
},
|
|
6048
6255
|
{
|
|
6049
6256
|
"inputs": [],
|
|
6050
|
-
"name": "
|
|
6257
|
+
"name": "InvalidReduceAmount",
|
|
6051
6258
|
"type": "error"
|
|
6052
6259
|
},
|
|
6053
6260
|
{
|
|
6054
6261
|
"inputs": [],
|
|
6055
|
-
"name": "
|
|
6262
|
+
"name": "InvalidReserveFactor",
|
|
6056
6263
|
"type": "error"
|
|
6057
6264
|
},
|
|
6058
6265
|
{
|
|
6059
6266
|
"inputs": [],
|
|
6060
|
-
"name": "
|
|
6267
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
6268
|
+
"type": "error"
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
"inputs": [],
|
|
6272
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
6273
|
+
"type": "error"
|
|
6274
|
+
},
|
|
6275
|
+
{
|
|
6276
|
+
"inputs": [],
|
|
6277
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
6278
|
+
"type": "error"
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"inputs": [],
|
|
6282
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
6283
|
+
"type": "error"
|
|
6284
|
+
},
|
|
6285
|
+
{
|
|
6286
|
+
"inputs": [],
|
|
6287
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
6288
|
+
"type": "error"
|
|
6289
|
+
},
|
|
6290
|
+
{
|
|
6291
|
+
"inputs": [],
|
|
6292
|
+
"name": "MarketAlreadyListed",
|
|
6293
|
+
"type": "error"
|
|
6294
|
+
},
|
|
6295
|
+
{
|
|
6296
|
+
"inputs": [],
|
|
6297
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
6061
6298
|
"type": "error"
|
|
6062
6299
|
},
|
|
6063
6300
|
{
|
|
@@ -6067,22 +6304,22 @@ exports.abi = {
|
|
|
6067
6304
|
},
|
|
6068
6305
|
{
|
|
6069
6306
|
"inputs": [],
|
|
6070
|
-
"name": "
|
|
6307
|
+
"name": "MarketNotListed",
|
|
6071
6308
|
"type": "error"
|
|
6072
6309
|
},
|
|
6073
6310
|
{
|
|
6074
6311
|
"inputs": [],
|
|
6075
|
-
"name": "
|
|
6312
|
+
"name": "MintMarketNotFresh",
|
|
6076
6313
|
"type": "error"
|
|
6077
6314
|
},
|
|
6078
6315
|
{
|
|
6079
6316
|
"inputs": [],
|
|
6080
|
-
"name": "
|
|
6317
|
+
"name": "MintPaused",
|
|
6081
6318
|
"type": "error"
|
|
6082
6319
|
},
|
|
6083
6320
|
{
|
|
6084
6321
|
"inputs": [],
|
|
6085
|
-
"name": "
|
|
6322
|
+
"name": "NoRedemptionProvider",
|
|
6086
6323
|
"type": "error"
|
|
6087
6324
|
},
|
|
6088
6325
|
{
|
|
@@ -6095,11 +6332,21 @@ exports.abi = {
|
|
|
6095
6332
|
"name": "NotSuToken",
|
|
6096
6333
|
"type": "error"
|
|
6097
6334
|
},
|
|
6335
|
+
{
|
|
6336
|
+
"inputs": [],
|
|
6337
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
6338
|
+
"type": "error"
|
|
6339
|
+
},
|
|
6098
6340
|
{
|
|
6099
6341
|
"inputs": [],
|
|
6100
6342
|
"name": "OnlyAdmin",
|
|
6101
6343
|
"type": "error"
|
|
6102
6344
|
},
|
|
6345
|
+
{
|
|
6346
|
+
"inputs": [],
|
|
6347
|
+
"name": "OnlyComptroller",
|
|
6348
|
+
"type": "error"
|
|
6349
|
+
},
|
|
6103
6350
|
{
|
|
6104
6351
|
"inputs": [],
|
|
6105
6352
|
"name": "OnlyPendingAdmin",
|
|
@@ -6112,12 +6359,17 @@ exports.abi = {
|
|
|
6112
6359
|
},
|
|
6113
6360
|
{
|
|
6114
6361
|
"inputs": [],
|
|
6115
|
-
"name": "
|
|
6362
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
6363
|
+
"type": "error"
|
|
6364
|
+
},
|
|
6365
|
+
{
|
|
6366
|
+
"inputs": [],
|
|
6367
|
+
"name": "ProtocolIsPaused",
|
|
6116
6368
|
"type": "error"
|
|
6117
6369
|
},
|
|
6118
6370
|
{
|
|
6119
6371
|
"inputs": [],
|
|
6120
|
-
"name": "
|
|
6372
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
6121
6373
|
"type": "error"
|
|
6122
6374
|
},
|
|
6123
6375
|
{
|
|
@@ -6127,37 +6379,52 @@ exports.abi = {
|
|
|
6127
6379
|
},
|
|
6128
6380
|
{
|
|
6129
6381
|
"inputs": [],
|
|
6130
|
-
"name": "
|
|
6382
|
+
"name": "RedeemMarketNotFresh",
|
|
6131
6383
|
"type": "error"
|
|
6132
6384
|
},
|
|
6133
6385
|
{
|
|
6134
6386
|
"inputs": [],
|
|
6135
|
-
"name": "
|
|
6387
|
+
"name": "ReduceReservesOverflow",
|
|
6136
6388
|
"type": "error"
|
|
6137
6389
|
},
|
|
6138
6390
|
{
|
|
6139
6391
|
"inputs": [],
|
|
6140
|
-
"name": "
|
|
6392
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
6141
6393
|
"type": "error"
|
|
6142
6394
|
},
|
|
6143
6395
|
{
|
|
6144
6396
|
"inputs": [],
|
|
6145
|
-
"name": "
|
|
6397
|
+
"name": "SeizePaused",
|
|
6146
6398
|
"type": "error"
|
|
6147
6399
|
},
|
|
6148
6400
|
{
|
|
6149
6401
|
"inputs": [],
|
|
6150
|
-
"name": "
|
|
6402
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
6151
6403
|
"type": "error"
|
|
6152
6404
|
},
|
|
6153
6405
|
{
|
|
6154
6406
|
"inputs": [],
|
|
6155
|
-
"name": "
|
|
6407
|
+
"name": "SenderMustBeCToken",
|
|
6156
6408
|
"type": "error"
|
|
6157
6409
|
},
|
|
6158
6410
|
{
|
|
6159
6411
|
"inputs": [],
|
|
6160
|
-
"name": "
|
|
6412
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
6413
|
+
"type": "error"
|
|
6414
|
+
},
|
|
6415
|
+
{
|
|
6416
|
+
"inputs": [],
|
|
6417
|
+
"name": "TokenTransferInFailed",
|
|
6418
|
+
"type": "error"
|
|
6419
|
+
},
|
|
6420
|
+
{
|
|
6421
|
+
"inputs": [],
|
|
6422
|
+
"name": "TokenTransferOutFailed",
|
|
6423
|
+
"type": "error"
|
|
6424
|
+
},
|
|
6425
|
+
{
|
|
6426
|
+
"inputs": [],
|
|
6427
|
+
"name": "TooMuchRepay",
|
|
6161
6428
|
"type": "error"
|
|
6162
6429
|
},
|
|
6163
6430
|
{
|
|
@@ -6167,12 +6434,12 @@ exports.abi = {
|
|
|
6167
6434
|
},
|
|
6168
6435
|
{
|
|
6169
6436
|
"inputs": [],
|
|
6170
|
-
"name": "
|
|
6437
|
+
"name": "TransferPaused",
|
|
6171
6438
|
"type": "error"
|
|
6172
6439
|
},
|
|
6173
6440
|
{
|
|
6174
6441
|
"inputs": [],
|
|
6175
|
-
"name": "
|
|
6442
|
+
"name": "UnderlyingBalanceError",
|
|
6176
6443
|
"type": "error"
|
|
6177
6444
|
},
|
|
6178
6445
|
{
|
|
@@ -8477,46 +8744,11 @@ exports.abi = {
|
|
|
8477
8744
|
}
|
|
8478
8745
|
],
|
|
8479
8746
|
"suErc20": [
|
|
8480
|
-
{
|
|
8481
|
-
"inputs": [],
|
|
8482
|
-
"name": "AccrueInterest_AccumulatedCalcFailed",
|
|
8483
|
-
"type": "error"
|
|
8484
|
-
},
|
|
8485
|
-
{
|
|
8486
|
-
"inputs": [],
|
|
8487
|
-
"name": "AccrueInterest_DeltaCalcFailed",
|
|
8488
|
-
"type": "error"
|
|
8489
|
-
},
|
|
8490
|
-
{
|
|
8491
|
-
"inputs": [],
|
|
8492
|
-
"name": "AccrueInterest_FactorCalcFailed",
|
|
8493
|
-
"type": "error"
|
|
8494
|
-
},
|
|
8495
|
-
{
|
|
8496
|
-
"inputs": [],
|
|
8497
|
-
"name": "AccrueInterest_IndexCalcFailed",
|
|
8498
|
-
"type": "error"
|
|
8499
|
-
},
|
|
8500
|
-
{
|
|
8501
|
-
"inputs": [],
|
|
8502
|
-
"name": "AccrueInterest_ReserveCalcFailed",
|
|
8503
|
-
"type": "error"
|
|
8504
|
-
},
|
|
8505
|
-
{
|
|
8506
|
-
"inputs": [],
|
|
8507
|
-
"name": "AccrueInterest_TotalBorrowCalcFailed",
|
|
8508
|
-
"type": "error"
|
|
8509
|
-
},
|
|
8510
8747
|
{
|
|
8511
8748
|
"inputs": [],
|
|
8512
8749
|
"name": "AddReservesOverflow",
|
|
8513
8750
|
"type": "error"
|
|
8514
8751
|
},
|
|
8515
|
-
{
|
|
8516
|
-
"inputs": [],
|
|
8517
|
-
"name": "BalanceCalcFailed",
|
|
8518
|
-
"type": "error"
|
|
8519
|
-
},
|
|
8520
8752
|
{
|
|
8521
8753
|
"inputs": [],
|
|
8522
8754
|
"name": "BorrowAndDepositBackFailed",
|
|
@@ -8524,22 +8756,17 @@ exports.abi = {
|
|
|
8524
8756
|
},
|
|
8525
8757
|
{
|
|
8526
8758
|
"inputs": [],
|
|
8527
|
-
"name": "
|
|
8528
|
-
"type": "error"
|
|
8529
|
-
},
|
|
8530
|
-
{
|
|
8531
|
-
"inputs": [],
|
|
8532
|
-
"name": "Borrow_AccountBorrowCalcFailed",
|
|
8759
|
+
"name": "BorrowMarketNotFresh",
|
|
8533
8760
|
"type": "error"
|
|
8534
8761
|
},
|
|
8535
8762
|
{
|
|
8536
8763
|
"inputs": [],
|
|
8537
|
-
"name": "
|
|
8764
|
+
"name": "BorrowMinimumNotReached",
|
|
8538
8765
|
"type": "error"
|
|
8539
8766
|
},
|
|
8540
8767
|
{
|
|
8541
8768
|
"inputs": [],
|
|
8542
|
-
"name": "
|
|
8769
|
+
"name": "BorrowPaused",
|
|
8543
8770
|
"type": "error"
|
|
8544
8771
|
},
|
|
8545
8772
|
{
|
|
@@ -8549,12 +8776,12 @@ exports.abi = {
|
|
|
8549
8776
|
},
|
|
8550
8777
|
{
|
|
8551
8778
|
"inputs": [],
|
|
8552
|
-
"name": "
|
|
8779
|
+
"name": "InsufficientCash",
|
|
8553
8780
|
"type": "error"
|
|
8554
8781
|
},
|
|
8555
8782
|
{
|
|
8556
8783
|
"inputs": [],
|
|
8557
|
-
"name": "
|
|
8784
|
+
"name": "InsufficientShortfall",
|
|
8558
8785
|
"type": "error"
|
|
8559
8786
|
},
|
|
8560
8787
|
{
|
|
@@ -8589,182 +8816,162 @@ exports.abi = {
|
|
|
8589
8816
|
},
|
|
8590
8817
|
{
|
|
8591
8818
|
"inputs": [],
|
|
8592
|
-
"name": "
|
|
8593
|
-
"type": "error"
|
|
8594
|
-
},
|
|
8595
|
-
{
|
|
8596
|
-
"inputs": [],
|
|
8597
|
-
"name": "InvalidReserveFactor",
|
|
8598
|
-
"type": "error"
|
|
8599
|
-
},
|
|
8600
|
-
{
|
|
8601
|
-
"inputs": [],
|
|
8602
|
-
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
8603
|
-
"type": "error"
|
|
8604
|
-
},
|
|
8605
|
-
{
|
|
8606
|
-
"inputs": [],
|
|
8607
|
-
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
8608
|
-
"type": "error"
|
|
8609
|
-
},
|
|
8610
|
-
{
|
|
8611
|
-
"inputs": [],
|
|
8612
|
-
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
8819
|
+
"name": "InvalidMinSuBorrowValue",
|
|
8613
8820
|
"type": "error"
|
|
8614
8821
|
},
|
|
8615
8822
|
{
|
|
8616
8823
|
"inputs": [],
|
|
8617
|
-
"name": "
|
|
8824
|
+
"name": "InvalidReduceAmount",
|
|
8618
8825
|
"type": "error"
|
|
8619
8826
|
},
|
|
8620
8827
|
{
|
|
8621
8828
|
"inputs": [],
|
|
8622
|
-
"name": "
|
|
8829
|
+
"name": "InvalidReserveFactor",
|
|
8623
8830
|
"type": "error"
|
|
8624
8831
|
},
|
|
8625
8832
|
{
|
|
8626
8833
|
"inputs": [],
|
|
8627
|
-
"name": "
|
|
8834
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
8628
8835
|
"type": "error"
|
|
8629
8836
|
},
|
|
8630
8837
|
{
|
|
8631
8838
|
"inputs": [],
|
|
8632
|
-
"name": "
|
|
8839
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
8633
8840
|
"type": "error"
|
|
8634
8841
|
},
|
|
8635
8842
|
{
|
|
8636
8843
|
"inputs": [],
|
|
8637
|
-
"name": "
|
|
8844
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
8638
8845
|
"type": "error"
|
|
8639
8846
|
},
|
|
8640
8847
|
{
|
|
8641
8848
|
"inputs": [],
|
|
8642
|
-
"name": "
|
|
8849
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
8643
8850
|
"type": "error"
|
|
8644
8851
|
},
|
|
8645
8852
|
{
|
|
8646
8853
|
"inputs": [],
|
|
8647
|
-
"name": "
|
|
8854
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
8648
8855
|
"type": "error"
|
|
8649
8856
|
},
|
|
8650
8857
|
{
|
|
8651
8858
|
"inputs": [],
|
|
8652
|
-
"name": "
|
|
8859
|
+
"name": "MarketAlreadyListed",
|
|
8653
8860
|
"type": "error"
|
|
8654
8861
|
},
|
|
8655
8862
|
{
|
|
8656
8863
|
"inputs": [],
|
|
8657
|
-
"name": "
|
|
8864
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
8658
8865
|
"type": "error"
|
|
8659
8866
|
},
|
|
8660
8867
|
{
|
|
8661
8868
|
"inputs": [],
|
|
8662
|
-
"name": "
|
|
8869
|
+
"name": "MarketNotFresh",
|
|
8663
8870
|
"type": "error"
|
|
8664
8871
|
},
|
|
8665
8872
|
{
|
|
8666
8873
|
"inputs": [],
|
|
8667
|
-
"name": "
|
|
8874
|
+
"name": "MarketNotListed",
|
|
8668
8875
|
"type": "error"
|
|
8669
8876
|
},
|
|
8670
8877
|
{
|
|
8671
8878
|
"inputs": [],
|
|
8672
|
-
"name": "
|
|
8879
|
+
"name": "MintMarketNotFresh",
|
|
8673
8880
|
"type": "error"
|
|
8674
8881
|
},
|
|
8675
8882
|
{
|
|
8676
8883
|
"inputs": [],
|
|
8677
|
-
"name": "
|
|
8884
|
+
"name": "MintPaused",
|
|
8678
8885
|
"type": "error"
|
|
8679
8886
|
},
|
|
8680
8887
|
{
|
|
8681
8888
|
"inputs": [],
|
|
8682
|
-
"name": "
|
|
8889
|
+
"name": "NoRedemptionProvider",
|
|
8683
8890
|
"type": "error"
|
|
8684
8891
|
},
|
|
8685
8892
|
{
|
|
8686
8893
|
"inputs": [],
|
|
8687
|
-
"name": "
|
|
8894
|
+
"name": "NotCToken",
|
|
8688
8895
|
"type": "error"
|
|
8689
8896
|
},
|
|
8690
8897
|
{
|
|
8691
8898
|
"inputs": [],
|
|
8692
|
-
"name": "
|
|
8899
|
+
"name": "NotSuToken",
|
|
8693
8900
|
"type": "error"
|
|
8694
8901
|
},
|
|
8695
8902
|
{
|
|
8696
8903
|
"inputs": [],
|
|
8697
|
-
"name": "
|
|
8904
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
8698
8905
|
"type": "error"
|
|
8699
8906
|
},
|
|
8700
8907
|
{
|
|
8701
8908
|
"inputs": [],
|
|
8702
|
-
"name": "
|
|
8909
|
+
"name": "OnlyAdmin",
|
|
8703
8910
|
"type": "error"
|
|
8704
8911
|
},
|
|
8705
8912
|
{
|
|
8706
8913
|
"inputs": [],
|
|
8707
|
-
"name": "
|
|
8914
|
+
"name": "OnlyComptroller",
|
|
8708
8915
|
"type": "error"
|
|
8709
8916
|
},
|
|
8710
8917
|
{
|
|
8711
8918
|
"inputs": [],
|
|
8712
|
-
"name": "
|
|
8919
|
+
"name": "OnlyPendingAdmin",
|
|
8713
8920
|
"type": "error"
|
|
8714
8921
|
},
|
|
8715
8922
|
{
|
|
8716
8923
|
"inputs": [],
|
|
8717
|
-
"name": "
|
|
8924
|
+
"name": "PriceError",
|
|
8718
8925
|
"type": "error"
|
|
8719
8926
|
},
|
|
8720
8927
|
{
|
|
8721
8928
|
"inputs": [],
|
|
8722
|
-
"name": "
|
|
8929
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
8723
8930
|
"type": "error"
|
|
8724
8931
|
},
|
|
8725
8932
|
{
|
|
8726
8933
|
"inputs": [],
|
|
8727
|
-
"name": "
|
|
8934
|
+
"name": "ProtocolIsPaused",
|
|
8728
8935
|
"type": "error"
|
|
8729
8936
|
},
|
|
8730
8937
|
{
|
|
8731
8938
|
"inputs": [],
|
|
8732
|
-
"name": "
|
|
8939
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
8733
8940
|
"type": "error"
|
|
8734
8941
|
},
|
|
8735
8942
|
{
|
|
8736
8943
|
"inputs": [],
|
|
8737
|
-
"name": "
|
|
8944
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
8738
8945
|
"type": "error"
|
|
8739
8946
|
},
|
|
8740
8947
|
{
|
|
8741
8948
|
"inputs": [],
|
|
8742
|
-
"name": "
|
|
8949
|
+
"name": "RedeemMarketNotFresh",
|
|
8743
8950
|
"type": "error"
|
|
8744
8951
|
},
|
|
8745
8952
|
{
|
|
8746
8953
|
"inputs": [],
|
|
8747
|
-
"name": "
|
|
8954
|
+
"name": "ReduceReservesOverflow",
|
|
8748
8955
|
"type": "error"
|
|
8749
8956
|
},
|
|
8750
8957
|
{
|
|
8751
8958
|
"inputs": [],
|
|
8752
|
-
"name": "
|
|
8959
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
8753
8960
|
"type": "error"
|
|
8754
8961
|
},
|
|
8755
8962
|
{
|
|
8756
8963
|
"inputs": [],
|
|
8757
|
-
"name": "
|
|
8964
|
+
"name": "SeizePaused",
|
|
8758
8965
|
"type": "error"
|
|
8759
8966
|
},
|
|
8760
8967
|
{
|
|
8761
8968
|
"inputs": [],
|
|
8762
|
-
"name": "
|
|
8969
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
8763
8970
|
"type": "error"
|
|
8764
8971
|
},
|
|
8765
8972
|
{
|
|
8766
8973
|
"inputs": [],
|
|
8767
|
-
"name": "
|
|
8974
|
+
"name": "SenderMustBeCToken",
|
|
8768
8975
|
"type": "error"
|
|
8769
8976
|
},
|
|
8770
8977
|
{
|
|
@@ -8784,17 +8991,17 @@ exports.abi = {
|
|
|
8784
8991
|
},
|
|
8785
8992
|
{
|
|
8786
8993
|
"inputs": [],
|
|
8787
|
-
"name": "
|
|
8994
|
+
"name": "TooMuchRepay",
|
|
8788
8995
|
"type": "error"
|
|
8789
8996
|
},
|
|
8790
8997
|
{
|
|
8791
8998
|
"inputs": [],
|
|
8792
|
-
"name": "
|
|
8999
|
+
"name": "TransferNotAllowed",
|
|
8793
9000
|
"type": "error"
|
|
8794
9001
|
},
|
|
8795
9002
|
{
|
|
8796
9003
|
"inputs": [],
|
|
8797
|
-
"name": "
|
|
9004
|
+
"name": "TransferPaused",
|
|
8798
9005
|
"type": "error"
|
|
8799
9006
|
},
|
|
8800
9007
|
{
|
|
@@ -10518,11 +10725,6 @@ exports.abi = {
|
|
|
10518
10725
|
"name": "",
|
|
10519
10726
|
"type": "uint256"
|
|
10520
10727
|
},
|
|
10521
|
-
{
|
|
10522
|
-
"internalType": "uint256",
|
|
10523
|
-
"name": "",
|
|
10524
|
-
"type": "uint256"
|
|
10525
|
-
},
|
|
10526
10728
|
{
|
|
10527
10729
|
"internalType": "uint256",
|
|
10528
10730
|
"name": "",
|
|
@@ -11024,55 +11226,288 @@ exports.abi = {
|
|
|
11024
11226
|
"type": "function"
|
|
11025
11227
|
},
|
|
11026
11228
|
{
|
|
11027
|
-
"inputs": [
|
|
11028
|
-
{
|
|
11029
|
-
"internalType": "address[]",
|
|
11030
|
-
"name": "cTokens",
|
|
11031
|
-
"type": "address[]"
|
|
11032
|
-
},
|
|
11033
|
-
{
|
|
11034
|
-
"internalType": "uint256[]",
|
|
11035
|
-
"name": "supplySpeeds",
|
|
11036
|
-
"type": "uint256[]"
|
|
11037
|
-
},
|
|
11229
|
+
"inputs": [
|
|
11230
|
+
{
|
|
11231
|
+
"internalType": "address[]",
|
|
11232
|
+
"name": "cTokens",
|
|
11233
|
+
"type": "address[]"
|
|
11234
|
+
},
|
|
11235
|
+
{
|
|
11236
|
+
"internalType": "uint256[]",
|
|
11237
|
+
"name": "supplySpeeds",
|
|
11238
|
+
"type": "uint256[]"
|
|
11239
|
+
},
|
|
11240
|
+
{
|
|
11241
|
+
"internalType": "uint256[]",
|
|
11242
|
+
"name": "borrowSpeeds",
|
|
11243
|
+
"type": "uint256[]"
|
|
11244
|
+
}
|
|
11245
|
+
],
|
|
11246
|
+
"name": "_setCompSpeeds",
|
|
11247
|
+
"outputs": [],
|
|
11248
|
+
"stateMutability": "nonpayable",
|
|
11249
|
+
"type": "function"
|
|
11250
|
+
},
|
|
11251
|
+
{
|
|
11252
|
+
"inputs": [
|
|
11253
|
+
{
|
|
11254
|
+
"internalType": "address",
|
|
11255
|
+
"name": "contributor",
|
|
11256
|
+
"type": "address"
|
|
11257
|
+
},
|
|
11258
|
+
{
|
|
11259
|
+
"internalType": "uint256",
|
|
11260
|
+
"name": "compSpeed",
|
|
11261
|
+
"type": "uint256"
|
|
11262
|
+
}
|
|
11263
|
+
],
|
|
11264
|
+
"name": "_setContributorCompSpeed",
|
|
11265
|
+
"outputs": [],
|
|
11266
|
+
"stateMutability": "nonpayable",
|
|
11267
|
+
"type": "function"
|
|
11268
|
+
},
|
|
11269
|
+
{
|
|
11270
|
+
"inputs": [
|
|
11271
|
+
{
|
|
11272
|
+
"internalType": "address",
|
|
11273
|
+
"name": "holder",
|
|
11274
|
+
"type": "address"
|
|
11275
|
+
}
|
|
11276
|
+
],
|
|
11277
|
+
"name": "calculateComp",
|
|
11278
|
+
"outputs": [
|
|
11279
|
+
{
|
|
11280
|
+
"internalType": "uint256",
|
|
11281
|
+
"name": "",
|
|
11282
|
+
"type": "uint256"
|
|
11283
|
+
}
|
|
11284
|
+
],
|
|
11285
|
+
"stateMutability": "view",
|
|
11286
|
+
"type": "function"
|
|
11287
|
+
},
|
|
11288
|
+
{
|
|
11289
|
+
"inputs": [
|
|
11290
|
+
{
|
|
11291
|
+
"internalType": "address[]",
|
|
11292
|
+
"name": "holders",
|
|
11293
|
+
"type": "address[]"
|
|
11294
|
+
},
|
|
11295
|
+
{
|
|
11296
|
+
"internalType": "address[]",
|
|
11297
|
+
"name": "cTokens",
|
|
11298
|
+
"type": "address[]"
|
|
11299
|
+
},
|
|
11300
|
+
{
|
|
11301
|
+
"internalType": "bool",
|
|
11302
|
+
"name": "borrowers",
|
|
11303
|
+
"type": "bool"
|
|
11304
|
+
},
|
|
11305
|
+
{
|
|
11306
|
+
"internalType": "bool",
|
|
11307
|
+
"name": "suppliers",
|
|
11308
|
+
"type": "bool"
|
|
11309
|
+
}
|
|
11310
|
+
],
|
|
11311
|
+
"name": "claimSumer",
|
|
11312
|
+
"outputs": [],
|
|
11313
|
+
"stateMutability": "nonpayable",
|
|
11314
|
+
"type": "function"
|
|
11315
|
+
},
|
|
11316
|
+
{
|
|
11317
|
+
"inputs": [
|
|
11318
|
+
{
|
|
11319
|
+
"internalType": "address",
|
|
11320
|
+
"name": "holder",
|
|
11321
|
+
"type": "address"
|
|
11322
|
+
}
|
|
11323
|
+
],
|
|
11324
|
+
"name": "claimSumer",
|
|
11325
|
+
"outputs": [],
|
|
11326
|
+
"stateMutability": "nonpayable",
|
|
11327
|
+
"type": "function"
|
|
11328
|
+
},
|
|
11329
|
+
{
|
|
11330
|
+
"inputs": [
|
|
11331
|
+
{
|
|
11332
|
+
"internalType": "address",
|
|
11333
|
+
"name": "holder",
|
|
11334
|
+
"type": "address"
|
|
11335
|
+
},
|
|
11336
|
+
{
|
|
11337
|
+
"internalType": "address[]",
|
|
11338
|
+
"name": "cTokens",
|
|
11339
|
+
"type": "address[]"
|
|
11340
|
+
}
|
|
11341
|
+
],
|
|
11342
|
+
"name": "claimSumer",
|
|
11343
|
+
"outputs": [],
|
|
11344
|
+
"stateMutability": "nonpayable",
|
|
11345
|
+
"type": "function"
|
|
11346
|
+
},
|
|
11347
|
+
{
|
|
11348
|
+
"inputs": [],
|
|
11349
|
+
"name": "comp",
|
|
11350
|
+
"outputs": [
|
|
11351
|
+
{
|
|
11352
|
+
"internalType": "address",
|
|
11353
|
+
"name": "",
|
|
11354
|
+
"type": "address"
|
|
11355
|
+
}
|
|
11356
|
+
],
|
|
11357
|
+
"stateMutability": "view",
|
|
11358
|
+
"type": "function"
|
|
11359
|
+
},
|
|
11360
|
+
{
|
|
11361
|
+
"inputs": [
|
|
11362
|
+
{
|
|
11363
|
+
"internalType": "address",
|
|
11364
|
+
"name": "",
|
|
11365
|
+
"type": "address"
|
|
11366
|
+
}
|
|
11367
|
+
],
|
|
11368
|
+
"name": "compAccrued",
|
|
11369
|
+
"outputs": [
|
|
11370
|
+
{
|
|
11371
|
+
"internalType": "uint256",
|
|
11372
|
+
"name": "",
|
|
11373
|
+
"type": "uint256"
|
|
11374
|
+
}
|
|
11375
|
+
],
|
|
11376
|
+
"stateMutability": "view",
|
|
11377
|
+
"type": "function"
|
|
11378
|
+
},
|
|
11379
|
+
{
|
|
11380
|
+
"inputs": [
|
|
11381
|
+
{
|
|
11382
|
+
"internalType": "address",
|
|
11383
|
+
"name": "",
|
|
11384
|
+
"type": "address"
|
|
11385
|
+
}
|
|
11386
|
+
],
|
|
11387
|
+
"name": "compBorrowSpeeds",
|
|
11388
|
+
"outputs": [
|
|
11389
|
+
{
|
|
11390
|
+
"internalType": "uint256",
|
|
11391
|
+
"name": "",
|
|
11392
|
+
"type": "uint256"
|
|
11393
|
+
}
|
|
11394
|
+
],
|
|
11395
|
+
"stateMutability": "view",
|
|
11396
|
+
"type": "function"
|
|
11397
|
+
},
|
|
11398
|
+
{
|
|
11399
|
+
"inputs": [
|
|
11400
|
+
{
|
|
11401
|
+
"internalType": "address",
|
|
11402
|
+
"name": "",
|
|
11403
|
+
"type": "address"
|
|
11404
|
+
}
|
|
11405
|
+
],
|
|
11406
|
+
"name": "compBorrowState",
|
|
11407
|
+
"outputs": [
|
|
11408
|
+
{
|
|
11409
|
+
"internalType": "uint224",
|
|
11410
|
+
"name": "index",
|
|
11411
|
+
"type": "uint224"
|
|
11412
|
+
},
|
|
11413
|
+
{
|
|
11414
|
+
"internalType": "uint32",
|
|
11415
|
+
"name": "block",
|
|
11416
|
+
"type": "uint32"
|
|
11417
|
+
}
|
|
11418
|
+
],
|
|
11419
|
+
"stateMutability": "view",
|
|
11420
|
+
"type": "function"
|
|
11421
|
+
},
|
|
11422
|
+
{
|
|
11423
|
+
"inputs": [
|
|
11424
|
+
{
|
|
11425
|
+
"internalType": "address",
|
|
11426
|
+
"name": "",
|
|
11427
|
+
"type": "address"
|
|
11428
|
+
},
|
|
11429
|
+
{
|
|
11430
|
+
"internalType": "address",
|
|
11431
|
+
"name": "",
|
|
11432
|
+
"type": "address"
|
|
11433
|
+
}
|
|
11434
|
+
],
|
|
11435
|
+
"name": "compBorrowerIndex",
|
|
11436
|
+
"outputs": [
|
|
11437
|
+
{
|
|
11438
|
+
"internalType": "uint256",
|
|
11439
|
+
"name": "",
|
|
11440
|
+
"type": "uint256"
|
|
11441
|
+
}
|
|
11442
|
+
],
|
|
11443
|
+
"stateMutability": "view",
|
|
11444
|
+
"type": "function"
|
|
11445
|
+
},
|
|
11446
|
+
{
|
|
11447
|
+
"inputs": [
|
|
11448
|
+
{
|
|
11449
|
+
"internalType": "address",
|
|
11450
|
+
"name": "",
|
|
11451
|
+
"type": "address"
|
|
11452
|
+
}
|
|
11453
|
+
],
|
|
11454
|
+
"name": "compContributorSpeeds",
|
|
11455
|
+
"outputs": [
|
|
11456
|
+
{
|
|
11457
|
+
"internalType": "uint256",
|
|
11458
|
+
"name": "",
|
|
11459
|
+
"type": "uint256"
|
|
11460
|
+
}
|
|
11461
|
+
],
|
|
11462
|
+
"stateMutability": "view",
|
|
11463
|
+
"type": "function"
|
|
11464
|
+
},
|
|
11465
|
+
{
|
|
11466
|
+
"inputs": [],
|
|
11467
|
+
"name": "compInitialIndex",
|
|
11468
|
+
"outputs": [
|
|
11038
11469
|
{
|
|
11039
|
-
"internalType": "
|
|
11040
|
-
"name": "
|
|
11041
|
-
"type": "
|
|
11470
|
+
"internalType": "uint224",
|
|
11471
|
+
"name": "",
|
|
11472
|
+
"type": "uint224"
|
|
11042
11473
|
}
|
|
11043
11474
|
],
|
|
11044
|
-
"
|
|
11045
|
-
"outputs": [],
|
|
11046
|
-
"stateMutability": "nonpayable",
|
|
11475
|
+
"stateMutability": "view",
|
|
11047
11476
|
"type": "function"
|
|
11048
11477
|
},
|
|
11049
11478
|
{
|
|
11050
11479
|
"inputs": [
|
|
11051
11480
|
{
|
|
11052
11481
|
"internalType": "address",
|
|
11053
|
-
"name": "
|
|
11482
|
+
"name": "",
|
|
11054
11483
|
"type": "address"
|
|
11055
11484
|
},
|
|
11485
|
+
{
|
|
11486
|
+
"internalType": "address",
|
|
11487
|
+
"name": "",
|
|
11488
|
+
"type": "address"
|
|
11489
|
+
}
|
|
11490
|
+
],
|
|
11491
|
+
"name": "compSupplierIndex",
|
|
11492
|
+
"outputs": [
|
|
11056
11493
|
{
|
|
11057
11494
|
"internalType": "uint256",
|
|
11058
|
-
"name": "
|
|
11495
|
+
"name": "",
|
|
11059
11496
|
"type": "uint256"
|
|
11060
11497
|
}
|
|
11061
11498
|
],
|
|
11062
|
-
"
|
|
11063
|
-
"outputs": [],
|
|
11064
|
-
"stateMutability": "nonpayable",
|
|
11499
|
+
"stateMutability": "view",
|
|
11065
11500
|
"type": "function"
|
|
11066
11501
|
},
|
|
11067
11502
|
{
|
|
11068
11503
|
"inputs": [
|
|
11069
11504
|
{
|
|
11070
11505
|
"internalType": "address",
|
|
11071
|
-
"name": "
|
|
11506
|
+
"name": "",
|
|
11072
11507
|
"type": "address"
|
|
11073
11508
|
}
|
|
11074
11509
|
],
|
|
11075
|
-
"name": "
|
|
11510
|
+
"name": "compSupplySpeeds",
|
|
11076
11511
|
"outputs": [
|
|
11077
11512
|
{
|
|
11078
11513
|
"internalType": "uint256",
|
|
@@ -11086,40 +11521,66 @@ exports.abi = {
|
|
|
11086
11521
|
{
|
|
11087
11522
|
"inputs": [
|
|
11088
11523
|
{
|
|
11089
|
-
"internalType": "address
|
|
11090
|
-
"name": "
|
|
11091
|
-
"type": "address
|
|
11092
|
-
}
|
|
11524
|
+
"internalType": "address",
|
|
11525
|
+
"name": "",
|
|
11526
|
+
"type": "address"
|
|
11527
|
+
}
|
|
11528
|
+
],
|
|
11529
|
+
"name": "compSupplyState",
|
|
11530
|
+
"outputs": [
|
|
11093
11531
|
{
|
|
11094
|
-
"internalType": "
|
|
11095
|
-
"name": "
|
|
11096
|
-
"type": "
|
|
11532
|
+
"internalType": "uint224",
|
|
11533
|
+
"name": "index",
|
|
11534
|
+
"type": "uint224"
|
|
11097
11535
|
},
|
|
11098
11536
|
{
|
|
11099
|
-
"internalType": "
|
|
11100
|
-
"name": "
|
|
11101
|
-
"type": "
|
|
11102
|
-
}
|
|
11537
|
+
"internalType": "uint32",
|
|
11538
|
+
"name": "block",
|
|
11539
|
+
"type": "uint32"
|
|
11540
|
+
}
|
|
11541
|
+
],
|
|
11542
|
+
"stateMutability": "view",
|
|
11543
|
+
"type": "function"
|
|
11544
|
+
},
|
|
11545
|
+
{
|
|
11546
|
+
"inputs": [],
|
|
11547
|
+
"name": "comptroller",
|
|
11548
|
+
"outputs": [
|
|
11103
11549
|
{
|
|
11104
|
-
"internalType": "
|
|
11105
|
-
"name": "
|
|
11106
|
-
"type": "
|
|
11550
|
+
"internalType": "contract IComptroller",
|
|
11551
|
+
"name": "",
|
|
11552
|
+
"type": "address"
|
|
11107
11553
|
}
|
|
11108
11554
|
],
|
|
11109
|
-
"
|
|
11110
|
-
"outputs": [],
|
|
11111
|
-
"stateMutability": "nonpayable",
|
|
11555
|
+
"stateMutability": "view",
|
|
11112
11556
|
"type": "function"
|
|
11113
11557
|
},
|
|
11114
11558
|
{
|
|
11115
11559
|
"inputs": [
|
|
11116
11560
|
{
|
|
11117
11561
|
"internalType": "address",
|
|
11118
|
-
"name": "
|
|
11562
|
+
"name": "cToken",
|
|
11563
|
+
"type": "address"
|
|
11564
|
+
},
|
|
11565
|
+
{
|
|
11566
|
+
"internalType": "address",
|
|
11567
|
+
"name": "borrower",
|
|
11119
11568
|
"type": "address"
|
|
11569
|
+
},
|
|
11570
|
+
{
|
|
11571
|
+
"components": [
|
|
11572
|
+
{
|
|
11573
|
+
"internalType": "uint256",
|
|
11574
|
+
"name": "mantissa",
|
|
11575
|
+
"type": "uint256"
|
|
11576
|
+
}
|
|
11577
|
+
],
|
|
11578
|
+
"internalType": "struct ExponentialNoErrorNew.Exp",
|
|
11579
|
+
"name": "marketBorrowIndex",
|
|
11580
|
+
"type": "tuple"
|
|
11120
11581
|
}
|
|
11121
11582
|
],
|
|
11122
|
-
"name": "
|
|
11583
|
+
"name": "distributeBorrowerComp",
|
|
11123
11584
|
"outputs": [],
|
|
11124
11585
|
"stateMutability": "nonpayable",
|
|
11125
11586
|
"type": "function"
|
|
@@ -11128,28 +11589,34 @@ exports.abi = {
|
|
|
11128
11589
|
"inputs": [
|
|
11129
11590
|
{
|
|
11130
11591
|
"internalType": "address",
|
|
11131
|
-
"name": "
|
|
11592
|
+
"name": "cToken",
|
|
11132
11593
|
"type": "address"
|
|
11133
11594
|
},
|
|
11134
11595
|
{
|
|
11135
|
-
"internalType": "address
|
|
11136
|
-
"name": "
|
|
11137
|
-
"type": "address
|
|
11596
|
+
"internalType": "address",
|
|
11597
|
+
"name": "supplier",
|
|
11598
|
+
"type": "address"
|
|
11138
11599
|
}
|
|
11139
11600
|
],
|
|
11140
|
-
"name": "
|
|
11601
|
+
"name": "distributeSupplierComp",
|
|
11141
11602
|
"outputs": [],
|
|
11142
11603
|
"stateMutability": "nonpayable",
|
|
11143
11604
|
"type": "function"
|
|
11144
11605
|
},
|
|
11145
11606
|
{
|
|
11146
|
-
"inputs": [
|
|
11147
|
-
|
|
11607
|
+
"inputs": [
|
|
11608
|
+
{
|
|
11609
|
+
"internalType": "bytes32",
|
|
11610
|
+
"name": "role",
|
|
11611
|
+
"type": "bytes32"
|
|
11612
|
+
}
|
|
11613
|
+
],
|
|
11614
|
+
"name": "getRoleAdmin",
|
|
11148
11615
|
"outputs": [
|
|
11149
11616
|
{
|
|
11150
|
-
"internalType": "
|
|
11617
|
+
"internalType": "bytes32",
|
|
11151
11618
|
"name": "",
|
|
11152
|
-
"type": "
|
|
11619
|
+
"type": "bytes32"
|
|
11153
11620
|
}
|
|
11154
11621
|
],
|
|
11155
11622
|
"stateMutability": "view",
|
|
@@ -11158,17 +11625,22 @@ exports.abi = {
|
|
|
11158
11625
|
{
|
|
11159
11626
|
"inputs": [
|
|
11160
11627
|
{
|
|
11161
|
-
"internalType": "
|
|
11162
|
-
"name": "",
|
|
11163
|
-
"type": "
|
|
11628
|
+
"internalType": "bytes32",
|
|
11629
|
+
"name": "role",
|
|
11630
|
+
"type": "bytes32"
|
|
11631
|
+
},
|
|
11632
|
+
{
|
|
11633
|
+
"internalType": "uint256",
|
|
11634
|
+
"name": "index",
|
|
11635
|
+
"type": "uint256"
|
|
11164
11636
|
}
|
|
11165
11637
|
],
|
|
11166
|
-
"name": "
|
|
11638
|
+
"name": "getRoleMember",
|
|
11167
11639
|
"outputs": [
|
|
11168
11640
|
{
|
|
11169
|
-
"internalType": "
|
|
11641
|
+
"internalType": "address",
|
|
11170
11642
|
"name": "",
|
|
11171
|
-
"type": "
|
|
11643
|
+
"type": "address"
|
|
11172
11644
|
}
|
|
11173
11645
|
],
|
|
11174
11646
|
"stateMutability": "view",
|
|
@@ -11177,12 +11649,12 @@ exports.abi = {
|
|
|
11177
11649
|
{
|
|
11178
11650
|
"inputs": [
|
|
11179
11651
|
{
|
|
11180
|
-
"internalType": "
|
|
11181
|
-
"name": "",
|
|
11182
|
-
"type": "
|
|
11652
|
+
"internalType": "bytes32",
|
|
11653
|
+
"name": "role",
|
|
11654
|
+
"type": "bytes32"
|
|
11183
11655
|
}
|
|
11184
11656
|
],
|
|
11185
|
-
"name": "
|
|
11657
|
+
"name": "getRoleMemberCount",
|
|
11186
11658
|
"outputs": [
|
|
11187
11659
|
{
|
|
11188
11660
|
"internalType": "uint256",
|
|
@@ -11195,23 +11667,41 @@ exports.abi = {
|
|
|
11195
11667
|
},
|
|
11196
11668
|
{
|
|
11197
11669
|
"inputs": [
|
|
11670
|
+
{
|
|
11671
|
+
"internalType": "bytes32",
|
|
11672
|
+
"name": "role",
|
|
11673
|
+
"type": "bytes32"
|
|
11674
|
+
},
|
|
11198
11675
|
{
|
|
11199
11676
|
"internalType": "address",
|
|
11200
|
-
"name": "",
|
|
11677
|
+
"name": "account",
|
|
11201
11678
|
"type": "address"
|
|
11202
11679
|
}
|
|
11203
11680
|
],
|
|
11204
|
-
"name": "
|
|
11205
|
-
"outputs": [
|
|
11681
|
+
"name": "grantRole",
|
|
11682
|
+
"outputs": [],
|
|
11683
|
+
"stateMutability": "nonpayable",
|
|
11684
|
+
"type": "function"
|
|
11685
|
+
},
|
|
11686
|
+
{
|
|
11687
|
+
"inputs": [
|
|
11206
11688
|
{
|
|
11207
|
-
"internalType": "
|
|
11208
|
-
"name": "
|
|
11209
|
-
"type": "
|
|
11689
|
+
"internalType": "bytes32",
|
|
11690
|
+
"name": "role",
|
|
11691
|
+
"type": "bytes32"
|
|
11210
11692
|
},
|
|
11211
11693
|
{
|
|
11212
|
-
"internalType": "
|
|
11213
|
-
"name": "
|
|
11214
|
-
"type": "
|
|
11694
|
+
"internalType": "address",
|
|
11695
|
+
"name": "account",
|
|
11696
|
+
"type": "address"
|
|
11697
|
+
}
|
|
11698
|
+
],
|
|
11699
|
+
"name": "hasRole",
|
|
11700
|
+
"outputs": [
|
|
11701
|
+
{
|
|
11702
|
+
"internalType": "bool",
|
|
11703
|
+
"name": "",
|
|
11704
|
+
"type": "bool"
|
|
11215
11705
|
}
|
|
11216
11706
|
],
|
|
11217
11707
|
"stateMutability": "view",
|
|
@@ -11221,24 +11711,36 @@ exports.abi = {
|
|
|
11221
11711
|
"inputs": [
|
|
11222
11712
|
{
|
|
11223
11713
|
"internalType": "address",
|
|
11224
|
-
"name": "",
|
|
11714
|
+
"name": "_admin",
|
|
11225
11715
|
"type": "address"
|
|
11226
11716
|
},
|
|
11227
11717
|
{
|
|
11228
11718
|
"internalType": "address",
|
|
11229
|
-
"name": "",
|
|
11719
|
+
"name": "_comp",
|
|
11230
11720
|
"type": "address"
|
|
11231
11721
|
}
|
|
11232
11722
|
],
|
|
11233
|
-
"name": "
|
|
11234
|
-
"outputs": [
|
|
11723
|
+
"name": "initialize",
|
|
11724
|
+
"outputs": [],
|
|
11725
|
+
"stateMutability": "nonpayable",
|
|
11726
|
+
"type": "function"
|
|
11727
|
+
},
|
|
11728
|
+
{
|
|
11729
|
+
"inputs": [
|
|
11235
11730
|
{
|
|
11236
|
-
"internalType": "
|
|
11237
|
-
"name": "",
|
|
11238
|
-
"type": "
|
|
11731
|
+
"internalType": "address",
|
|
11732
|
+
"name": "cToken",
|
|
11733
|
+
"type": "address"
|
|
11734
|
+
},
|
|
11735
|
+
{
|
|
11736
|
+
"internalType": "uint32",
|
|
11737
|
+
"name": "blockNumber",
|
|
11738
|
+
"type": "uint32"
|
|
11239
11739
|
}
|
|
11240
11740
|
],
|
|
11241
|
-
"
|
|
11741
|
+
"name": "initializeMarket",
|
|
11742
|
+
"outputs": [],
|
|
11743
|
+
"stateMutability": "nonpayable",
|
|
11242
11744
|
"type": "function"
|
|
11243
11745
|
},
|
|
11244
11746
|
{
|
|
@@ -11249,7 +11751,7 @@ exports.abi = {
|
|
|
11249
11751
|
"type": "address"
|
|
11250
11752
|
}
|
|
11251
11753
|
],
|
|
11252
|
-
"name": "
|
|
11754
|
+
"name": "lastContributorBlock",
|
|
11253
11755
|
"outputs": [
|
|
11254
11756
|
{
|
|
11255
11757
|
"internalType": "uint256",
|
|
@@ -11260,94 +11762,92 @@ exports.abi = {
|
|
|
11260
11762
|
"stateMutability": "view",
|
|
11261
11763
|
"type": "function"
|
|
11262
11764
|
},
|
|
11263
|
-
{
|
|
11264
|
-
"inputs": [],
|
|
11265
|
-
"name": "compInitialIndex",
|
|
11266
|
-
"outputs": [
|
|
11267
|
-
{
|
|
11268
|
-
"internalType": "uint224",
|
|
11269
|
-
"name": "",
|
|
11270
|
-
"type": "uint224"
|
|
11271
|
-
}
|
|
11272
|
-
],
|
|
11273
|
-
"stateMutability": "view",
|
|
11274
|
-
"type": "function"
|
|
11275
|
-
},
|
|
11276
11765
|
{
|
|
11277
11766
|
"inputs": [
|
|
11278
11767
|
{
|
|
11279
|
-
"internalType": "
|
|
11280
|
-
"name": "",
|
|
11281
|
-
"type": "
|
|
11768
|
+
"internalType": "bytes32",
|
|
11769
|
+
"name": "role",
|
|
11770
|
+
"type": "bytes32"
|
|
11282
11771
|
},
|
|
11283
11772
|
{
|
|
11284
11773
|
"internalType": "address",
|
|
11285
|
-
"name": "",
|
|
11774
|
+
"name": "account",
|
|
11286
11775
|
"type": "address"
|
|
11287
11776
|
}
|
|
11288
11777
|
],
|
|
11289
|
-
"name": "
|
|
11290
|
-
"outputs": [
|
|
11778
|
+
"name": "renounceRole",
|
|
11779
|
+
"outputs": [],
|
|
11780
|
+
"stateMutability": "nonpayable",
|
|
11781
|
+
"type": "function"
|
|
11782
|
+
},
|
|
11783
|
+
{
|
|
11784
|
+
"inputs": [
|
|
11785
|
+
{
|
|
11786
|
+
"internalType": "bytes32",
|
|
11787
|
+
"name": "role",
|
|
11788
|
+
"type": "bytes32"
|
|
11789
|
+
},
|
|
11291
11790
|
{
|
|
11292
|
-
"internalType": "
|
|
11293
|
-
"name": "",
|
|
11294
|
-
"type": "
|
|
11791
|
+
"internalType": "address",
|
|
11792
|
+
"name": "account",
|
|
11793
|
+
"type": "address"
|
|
11295
11794
|
}
|
|
11296
11795
|
],
|
|
11297
|
-
"
|
|
11796
|
+
"name": "revokeRole",
|
|
11797
|
+
"outputs": [],
|
|
11798
|
+
"stateMutability": "nonpayable",
|
|
11298
11799
|
"type": "function"
|
|
11299
11800
|
},
|
|
11300
11801
|
{
|
|
11301
11802
|
"inputs": [
|
|
11302
11803
|
{
|
|
11303
11804
|
"internalType": "address",
|
|
11304
|
-
"name": "",
|
|
11805
|
+
"name": "cToken",
|
|
11305
11806
|
"type": "address"
|
|
11306
|
-
}
|
|
11307
|
-
],
|
|
11308
|
-
"name": "compSupplySpeeds",
|
|
11309
|
-
"outputs": [
|
|
11807
|
+
},
|
|
11310
11808
|
{
|
|
11311
11809
|
"internalType": "uint256",
|
|
11312
|
-
"name": "",
|
|
11810
|
+
"name": "supplySpeed",
|
|
11811
|
+
"type": "uint256"
|
|
11812
|
+
},
|
|
11813
|
+
{
|
|
11814
|
+
"internalType": "uint256",
|
|
11815
|
+
"name": "borrowSpeed",
|
|
11313
11816
|
"type": "uint256"
|
|
11314
11817
|
}
|
|
11315
11818
|
],
|
|
11316
|
-
"
|
|
11819
|
+
"name": "setCompSpeed",
|
|
11820
|
+
"outputs": [],
|
|
11821
|
+
"stateMutability": "nonpayable",
|
|
11317
11822
|
"type": "function"
|
|
11318
11823
|
},
|
|
11319
11824
|
{
|
|
11320
11825
|
"inputs": [
|
|
11321
11826
|
{
|
|
11322
|
-
"internalType": "
|
|
11323
|
-
"name": "",
|
|
11827
|
+
"internalType": "contract IComptroller",
|
|
11828
|
+
"name": "_comptroller",
|
|
11324
11829
|
"type": "address"
|
|
11325
11830
|
}
|
|
11326
11831
|
],
|
|
11327
|
-
"name": "
|
|
11328
|
-
"outputs": [
|
|
11329
|
-
|
|
11330
|
-
"internalType": "uint224",
|
|
11331
|
-
"name": "index",
|
|
11332
|
-
"type": "uint224"
|
|
11333
|
-
},
|
|
11334
|
-
{
|
|
11335
|
-
"internalType": "uint32",
|
|
11336
|
-
"name": "block",
|
|
11337
|
-
"type": "uint32"
|
|
11338
|
-
}
|
|
11339
|
-
],
|
|
11340
|
-
"stateMutability": "view",
|
|
11832
|
+
"name": "setComptroller",
|
|
11833
|
+
"outputs": [],
|
|
11834
|
+
"stateMutability": "nonpayable",
|
|
11341
11835
|
"type": "function"
|
|
11342
11836
|
},
|
|
11343
11837
|
{
|
|
11344
|
-
"inputs": [
|
|
11345
|
-
|
|
11838
|
+
"inputs": [
|
|
11839
|
+
{
|
|
11840
|
+
"internalType": "bytes4",
|
|
11841
|
+
"name": "interfaceId",
|
|
11842
|
+
"type": "bytes4"
|
|
11843
|
+
}
|
|
11844
|
+
],
|
|
11845
|
+
"name": "supportsInterface",
|
|
11346
11846
|
"outputs": [
|
|
11347
11847
|
{
|
|
11348
|
-
"internalType": "
|
|
11848
|
+
"internalType": "bool",
|
|
11349
11849
|
"name": "",
|
|
11350
|
-
"type": "
|
|
11850
|
+
"type": "bool"
|
|
11351
11851
|
}
|
|
11352
11852
|
],
|
|
11353
11853
|
"stateMutability": "view",
|
|
@@ -11360,11 +11860,6 @@ exports.abi = {
|
|
|
11360
11860
|
"name": "cToken",
|
|
11361
11861
|
"type": "address"
|
|
11362
11862
|
},
|
|
11363
|
-
{
|
|
11364
|
-
"internalType": "address",
|
|
11365
|
-
"name": "borrower",
|
|
11366
|
-
"type": "address"
|
|
11367
|
-
},
|
|
11368
11863
|
{
|
|
11369
11864
|
"components": [
|
|
11370
11865
|
{
|
|
@@ -11373,12 +11868,12 @@ exports.abi = {
|
|
|
11373
11868
|
"type": "uint256"
|
|
11374
11869
|
}
|
|
11375
11870
|
],
|
|
11376
|
-
"internalType": "struct Exp",
|
|
11871
|
+
"internalType": "struct ExponentialNoErrorNew.Exp",
|
|
11377
11872
|
"name": "marketBorrowIndex",
|
|
11378
11873
|
"type": "tuple"
|
|
11379
11874
|
}
|
|
11380
11875
|
],
|
|
11381
|
-
"name": "
|
|
11876
|
+
"name": "updateCompBorrowIndex",
|
|
11382
11877
|
"outputs": [],
|
|
11383
11878
|
"stateMutability": "nonpayable",
|
|
11384
11879
|
"type": "function"
|
|
@@ -11389,14 +11884,9 @@ exports.abi = {
|
|
|
11389
11884
|
"internalType": "address",
|
|
11390
11885
|
"name": "cToken",
|
|
11391
11886
|
"type": "address"
|
|
11392
|
-
},
|
|
11393
|
-
{
|
|
11394
|
-
"internalType": "address",
|
|
11395
|
-
"name": "supplier",
|
|
11396
|
-
"type": "address"
|
|
11397
11887
|
}
|
|
11398
11888
|
],
|
|
11399
|
-
"name": "
|
|
11889
|
+
"name": "updateCompSupplyIndex",
|
|
11400
11890
|
"outputs": [],
|
|
11401
11891
|
"stateMutability": "nonpayable",
|
|
11402
11892
|
"type": "function"
|
|
@@ -11404,309 +11894,281 @@ exports.abi = {
|
|
|
11404
11894
|
{
|
|
11405
11895
|
"inputs": [
|
|
11406
11896
|
{
|
|
11407
|
-
"internalType": "
|
|
11408
|
-
"name": "
|
|
11409
|
-
"type": "
|
|
11410
|
-
}
|
|
11411
|
-
],
|
|
11412
|
-
"name": "getRoleAdmin",
|
|
11413
|
-
"outputs": [
|
|
11414
|
-
{
|
|
11415
|
-
"internalType": "bytes32",
|
|
11416
|
-
"name": "",
|
|
11417
|
-
"type": "bytes32"
|
|
11897
|
+
"internalType": "address",
|
|
11898
|
+
"name": "contributor",
|
|
11899
|
+
"type": "address"
|
|
11418
11900
|
}
|
|
11419
11901
|
],
|
|
11420
|
-
"
|
|
11902
|
+
"name": "updateContributorRewards",
|
|
11903
|
+
"outputs": [],
|
|
11904
|
+
"stateMutability": "nonpayable",
|
|
11421
11905
|
"type": "function"
|
|
11906
|
+
}
|
|
11907
|
+
],
|
|
11908
|
+
"CompoundLens": [
|
|
11909
|
+
{
|
|
11910
|
+
"inputs": [],
|
|
11911
|
+
"name": "AddReservesOverflow",
|
|
11912
|
+
"type": "error"
|
|
11913
|
+
},
|
|
11914
|
+
{
|
|
11915
|
+
"inputs": [],
|
|
11916
|
+
"name": "BorrowAndDepositBackFailed",
|
|
11917
|
+
"type": "error"
|
|
11918
|
+
},
|
|
11919
|
+
{
|
|
11920
|
+
"inputs": [],
|
|
11921
|
+
"name": "BorrowMarketNotFresh",
|
|
11922
|
+
"type": "error"
|
|
11923
|
+
},
|
|
11924
|
+
{
|
|
11925
|
+
"inputs": [],
|
|
11926
|
+
"name": "BorrowMinimumNotReached",
|
|
11927
|
+
"type": "error"
|
|
11928
|
+
},
|
|
11929
|
+
{
|
|
11930
|
+
"inputs": [],
|
|
11931
|
+
"name": "BorrowPaused",
|
|
11932
|
+
"type": "error"
|
|
11933
|
+
},
|
|
11934
|
+
{
|
|
11935
|
+
"inputs": [],
|
|
11936
|
+
"name": "CantSweepUnderlying",
|
|
11937
|
+
"type": "error"
|
|
11938
|
+
},
|
|
11939
|
+
{
|
|
11940
|
+
"inputs": [],
|
|
11941
|
+
"name": "InsufficientCash",
|
|
11942
|
+
"type": "error"
|
|
11943
|
+
},
|
|
11944
|
+
{
|
|
11945
|
+
"inputs": [],
|
|
11946
|
+
"name": "InsufficientShortfall",
|
|
11947
|
+
"type": "error"
|
|
11948
|
+
},
|
|
11949
|
+
{
|
|
11950
|
+
"inputs": [],
|
|
11951
|
+
"name": "InvalidAddress",
|
|
11952
|
+
"type": "error"
|
|
11953
|
+
},
|
|
11954
|
+
{
|
|
11955
|
+
"inputs": [],
|
|
11956
|
+
"name": "InvalidAmount",
|
|
11957
|
+
"type": "error"
|
|
11958
|
+
},
|
|
11959
|
+
{
|
|
11960
|
+
"inputs": [],
|
|
11961
|
+
"name": "InvalidComptroller",
|
|
11962
|
+
"type": "error"
|
|
11963
|
+
},
|
|
11964
|
+
{
|
|
11965
|
+
"inputs": [],
|
|
11966
|
+
"name": "InvalidDiscountRate",
|
|
11967
|
+
"type": "error"
|
|
11968
|
+
},
|
|
11969
|
+
{
|
|
11970
|
+
"inputs": [],
|
|
11971
|
+
"name": "InvalidExchangeRate",
|
|
11972
|
+
"type": "error"
|
|
11973
|
+
},
|
|
11974
|
+
{
|
|
11975
|
+
"inputs": [],
|
|
11976
|
+
"name": "InvalidInterestRateModel",
|
|
11977
|
+
"type": "error"
|
|
11978
|
+
},
|
|
11979
|
+
{
|
|
11980
|
+
"inputs": [],
|
|
11981
|
+
"name": "InvalidMinSuBorrowValue",
|
|
11982
|
+
"type": "error"
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
"inputs": [],
|
|
11986
|
+
"name": "InvalidReduceAmount",
|
|
11987
|
+
"type": "error"
|
|
11988
|
+
},
|
|
11989
|
+
{
|
|
11990
|
+
"inputs": [],
|
|
11991
|
+
"name": "InvalidReserveFactor",
|
|
11992
|
+
"type": "error"
|
|
11993
|
+
},
|
|
11994
|
+
{
|
|
11995
|
+
"inputs": [],
|
|
11996
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
11997
|
+
"type": "error"
|
|
11998
|
+
},
|
|
11999
|
+
{
|
|
12000
|
+
"inputs": [],
|
|
12001
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
12002
|
+
"type": "error"
|
|
12003
|
+
},
|
|
12004
|
+
{
|
|
12005
|
+
"inputs": [],
|
|
12006
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
12007
|
+
"type": "error"
|
|
12008
|
+
},
|
|
12009
|
+
{
|
|
12010
|
+
"inputs": [],
|
|
12011
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
12012
|
+
"type": "error"
|
|
12013
|
+
},
|
|
12014
|
+
{
|
|
12015
|
+
"inputs": [],
|
|
12016
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
12017
|
+
"type": "error"
|
|
12018
|
+
},
|
|
12019
|
+
{
|
|
12020
|
+
"inputs": [],
|
|
12021
|
+
"name": "MarketAlreadyListed",
|
|
12022
|
+
"type": "error"
|
|
12023
|
+
},
|
|
12024
|
+
{
|
|
12025
|
+
"inputs": [],
|
|
12026
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
12027
|
+
"type": "error"
|
|
12028
|
+
},
|
|
12029
|
+
{
|
|
12030
|
+
"inputs": [],
|
|
12031
|
+
"name": "MarketNotFresh",
|
|
12032
|
+
"type": "error"
|
|
12033
|
+
},
|
|
12034
|
+
{
|
|
12035
|
+
"inputs": [],
|
|
12036
|
+
"name": "MarketNotListed",
|
|
12037
|
+
"type": "error"
|
|
12038
|
+
},
|
|
12039
|
+
{
|
|
12040
|
+
"inputs": [],
|
|
12041
|
+
"name": "MintMarketNotFresh",
|
|
12042
|
+
"type": "error"
|
|
12043
|
+
},
|
|
12044
|
+
{
|
|
12045
|
+
"inputs": [],
|
|
12046
|
+
"name": "MintPaused",
|
|
12047
|
+
"type": "error"
|
|
12048
|
+
},
|
|
12049
|
+
{
|
|
12050
|
+
"inputs": [],
|
|
12051
|
+
"name": "NoRedemptionProvider",
|
|
12052
|
+
"type": "error"
|
|
12053
|
+
},
|
|
12054
|
+
{
|
|
12055
|
+
"inputs": [],
|
|
12056
|
+
"name": "NotCToken",
|
|
12057
|
+
"type": "error"
|
|
12058
|
+
},
|
|
12059
|
+
{
|
|
12060
|
+
"inputs": [],
|
|
12061
|
+
"name": "NotSuToken",
|
|
12062
|
+
"type": "error"
|
|
12063
|
+
},
|
|
12064
|
+
{
|
|
12065
|
+
"inputs": [],
|
|
12066
|
+
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
12067
|
+
"type": "error"
|
|
12068
|
+
},
|
|
12069
|
+
{
|
|
12070
|
+
"inputs": [],
|
|
12071
|
+
"name": "OnlyAdmin",
|
|
12072
|
+
"type": "error"
|
|
11422
12073
|
},
|
|
11423
12074
|
{
|
|
11424
|
-
"inputs": [
|
|
11425
|
-
|
|
11426
|
-
|
|
11427
|
-
"name": "role",
|
|
11428
|
-
"type": "bytes32"
|
|
11429
|
-
},
|
|
11430
|
-
{
|
|
11431
|
-
"internalType": "uint256",
|
|
11432
|
-
"name": "index",
|
|
11433
|
-
"type": "uint256"
|
|
11434
|
-
}
|
|
11435
|
-
],
|
|
11436
|
-
"name": "getRoleMember",
|
|
11437
|
-
"outputs": [
|
|
11438
|
-
{
|
|
11439
|
-
"internalType": "address",
|
|
11440
|
-
"name": "",
|
|
11441
|
-
"type": "address"
|
|
11442
|
-
}
|
|
11443
|
-
],
|
|
11444
|
-
"stateMutability": "view",
|
|
11445
|
-
"type": "function"
|
|
12075
|
+
"inputs": [],
|
|
12076
|
+
"name": "OnlyComptroller",
|
|
12077
|
+
"type": "error"
|
|
11446
12078
|
},
|
|
11447
12079
|
{
|
|
11448
|
-
"inputs": [
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
"name": "role",
|
|
11452
|
-
"type": "bytes32"
|
|
11453
|
-
}
|
|
11454
|
-
],
|
|
11455
|
-
"name": "getRoleMemberCount",
|
|
11456
|
-
"outputs": [
|
|
11457
|
-
{
|
|
11458
|
-
"internalType": "uint256",
|
|
11459
|
-
"name": "",
|
|
11460
|
-
"type": "uint256"
|
|
11461
|
-
}
|
|
11462
|
-
],
|
|
11463
|
-
"stateMutability": "view",
|
|
11464
|
-
"type": "function"
|
|
12080
|
+
"inputs": [],
|
|
12081
|
+
"name": "OnlyPendingAdmin",
|
|
12082
|
+
"type": "error"
|
|
11465
12083
|
},
|
|
11466
12084
|
{
|
|
11467
|
-
"inputs": [
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
"name": "role",
|
|
11471
|
-
"type": "bytes32"
|
|
11472
|
-
},
|
|
11473
|
-
{
|
|
11474
|
-
"internalType": "address",
|
|
11475
|
-
"name": "account",
|
|
11476
|
-
"type": "address"
|
|
11477
|
-
}
|
|
11478
|
-
],
|
|
11479
|
-
"name": "grantRole",
|
|
11480
|
-
"outputs": [],
|
|
11481
|
-
"stateMutability": "nonpayable",
|
|
11482
|
-
"type": "function"
|
|
12085
|
+
"inputs": [],
|
|
12086
|
+
"name": "PriceError",
|
|
12087
|
+
"type": "error"
|
|
11483
12088
|
},
|
|
11484
12089
|
{
|
|
11485
|
-
"inputs": [
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
"name": "role",
|
|
11489
|
-
"type": "bytes32"
|
|
11490
|
-
},
|
|
11491
|
-
{
|
|
11492
|
-
"internalType": "address",
|
|
11493
|
-
"name": "account",
|
|
11494
|
-
"type": "address"
|
|
11495
|
-
}
|
|
11496
|
-
],
|
|
11497
|
-
"name": "hasRole",
|
|
11498
|
-
"outputs": [
|
|
11499
|
-
{
|
|
11500
|
-
"internalType": "bool",
|
|
11501
|
-
"name": "",
|
|
11502
|
-
"type": "bool"
|
|
11503
|
-
}
|
|
11504
|
-
],
|
|
11505
|
-
"stateMutability": "view",
|
|
11506
|
-
"type": "function"
|
|
12090
|
+
"inputs": [],
|
|
12091
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
12092
|
+
"type": "error"
|
|
11507
12093
|
},
|
|
11508
12094
|
{
|
|
11509
|
-
"inputs": [
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
"name": "_admin",
|
|
11513
|
-
"type": "address"
|
|
11514
|
-
},
|
|
11515
|
-
{
|
|
11516
|
-
"internalType": "address",
|
|
11517
|
-
"name": "_comp",
|
|
11518
|
-
"type": "address"
|
|
11519
|
-
}
|
|
11520
|
-
],
|
|
11521
|
-
"name": "initialize",
|
|
11522
|
-
"outputs": [],
|
|
11523
|
-
"stateMutability": "nonpayable",
|
|
11524
|
-
"type": "function"
|
|
12095
|
+
"inputs": [],
|
|
12096
|
+
"name": "ProtocolIsPaused",
|
|
12097
|
+
"type": "error"
|
|
11525
12098
|
},
|
|
11526
12099
|
{
|
|
11527
|
-
"inputs": [
|
|
11528
|
-
|
|
11529
|
-
|
|
11530
|
-
"name": "cToken",
|
|
11531
|
-
"type": "address"
|
|
11532
|
-
},
|
|
11533
|
-
{
|
|
11534
|
-
"internalType": "uint32",
|
|
11535
|
-
"name": "blockNumber",
|
|
11536
|
-
"type": "uint32"
|
|
11537
|
-
}
|
|
11538
|
-
],
|
|
11539
|
-
"name": "initializeMarket",
|
|
11540
|
-
"outputs": [],
|
|
11541
|
-
"stateMutability": "nonpayable",
|
|
11542
|
-
"type": "function"
|
|
12100
|
+
"inputs": [],
|
|
12101
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
12102
|
+
"type": "error"
|
|
11543
12103
|
},
|
|
11544
12104
|
{
|
|
11545
|
-
"inputs": [
|
|
11546
|
-
|
|
11547
|
-
|
|
11548
|
-
"name": "",
|
|
11549
|
-
"type": "address"
|
|
11550
|
-
}
|
|
11551
|
-
],
|
|
11552
|
-
"name": "lastContributorBlock",
|
|
11553
|
-
"outputs": [
|
|
11554
|
-
{
|
|
11555
|
-
"internalType": "uint256",
|
|
11556
|
-
"name": "",
|
|
11557
|
-
"type": "uint256"
|
|
11558
|
-
}
|
|
11559
|
-
],
|
|
11560
|
-
"stateMutability": "view",
|
|
11561
|
-
"type": "function"
|
|
12105
|
+
"inputs": [],
|
|
12106
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
12107
|
+
"type": "error"
|
|
11562
12108
|
},
|
|
11563
12109
|
{
|
|
11564
|
-
"inputs": [
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
"name": "role",
|
|
11568
|
-
"type": "bytes32"
|
|
11569
|
-
},
|
|
11570
|
-
{
|
|
11571
|
-
"internalType": "address",
|
|
11572
|
-
"name": "account",
|
|
11573
|
-
"type": "address"
|
|
11574
|
-
}
|
|
11575
|
-
],
|
|
11576
|
-
"name": "renounceRole",
|
|
11577
|
-
"outputs": [],
|
|
11578
|
-
"stateMutability": "nonpayable",
|
|
11579
|
-
"type": "function"
|
|
12110
|
+
"inputs": [],
|
|
12111
|
+
"name": "RedeemMarketNotFresh",
|
|
12112
|
+
"type": "error"
|
|
11580
12113
|
},
|
|
11581
12114
|
{
|
|
11582
|
-
"inputs": [
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
"name": "role",
|
|
11586
|
-
"type": "bytes32"
|
|
11587
|
-
},
|
|
11588
|
-
{
|
|
11589
|
-
"internalType": "address",
|
|
11590
|
-
"name": "account",
|
|
11591
|
-
"type": "address"
|
|
11592
|
-
}
|
|
11593
|
-
],
|
|
11594
|
-
"name": "revokeRole",
|
|
11595
|
-
"outputs": [],
|
|
11596
|
-
"stateMutability": "nonpayable",
|
|
11597
|
-
"type": "function"
|
|
12115
|
+
"inputs": [],
|
|
12116
|
+
"name": "ReduceReservesOverflow",
|
|
12117
|
+
"type": "error"
|
|
11598
12118
|
},
|
|
11599
12119
|
{
|
|
11600
|
-
"inputs": [
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
"name": "cToken",
|
|
11604
|
-
"type": "address"
|
|
11605
|
-
},
|
|
11606
|
-
{
|
|
11607
|
-
"internalType": "uint256",
|
|
11608
|
-
"name": "supplySpeed",
|
|
11609
|
-
"type": "uint256"
|
|
11610
|
-
},
|
|
11611
|
-
{
|
|
11612
|
-
"internalType": "uint256",
|
|
11613
|
-
"name": "borrowSpeed",
|
|
11614
|
-
"type": "uint256"
|
|
11615
|
-
}
|
|
11616
|
-
],
|
|
11617
|
-
"name": "setCompSpeed",
|
|
11618
|
-
"outputs": [],
|
|
11619
|
-
"stateMutability": "nonpayable",
|
|
11620
|
-
"type": "function"
|
|
12120
|
+
"inputs": [],
|
|
12121
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
12122
|
+
"type": "error"
|
|
11621
12123
|
},
|
|
11622
12124
|
{
|
|
11623
|
-
"inputs": [
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
"name": "_comptroller",
|
|
11627
|
-
"type": "address"
|
|
11628
|
-
}
|
|
11629
|
-
],
|
|
11630
|
-
"name": "setComptroller",
|
|
11631
|
-
"outputs": [],
|
|
11632
|
-
"stateMutability": "nonpayable",
|
|
11633
|
-
"type": "function"
|
|
12125
|
+
"inputs": [],
|
|
12126
|
+
"name": "SeizePaused",
|
|
12127
|
+
"type": "error"
|
|
11634
12128
|
},
|
|
11635
12129
|
{
|
|
11636
|
-
"inputs": [
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
"
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
"
|
|
11652
|
-
"
|
|
12130
|
+
"inputs": [],
|
|
12131
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
12132
|
+
"type": "error"
|
|
12133
|
+
},
|
|
12134
|
+
{
|
|
12135
|
+
"inputs": [],
|
|
12136
|
+
"name": "SenderMustBeCToken",
|
|
12137
|
+
"type": "error"
|
|
12138
|
+
},
|
|
12139
|
+
{
|
|
12140
|
+
"inputs": [],
|
|
12141
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
12142
|
+
"type": "error"
|
|
12143
|
+
},
|
|
12144
|
+
{
|
|
12145
|
+
"inputs": [],
|
|
12146
|
+
"name": "TokenTransferInFailed",
|
|
12147
|
+
"type": "error"
|
|
11653
12148
|
},
|
|
11654
12149
|
{
|
|
11655
|
-
"inputs": [
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
"name": "cToken",
|
|
11659
|
-
"type": "address"
|
|
11660
|
-
},
|
|
11661
|
-
{
|
|
11662
|
-
"components": [
|
|
11663
|
-
{
|
|
11664
|
-
"internalType": "uint256",
|
|
11665
|
-
"name": "mantissa",
|
|
11666
|
-
"type": "uint256"
|
|
11667
|
-
}
|
|
11668
|
-
],
|
|
11669
|
-
"internalType": "struct Exp",
|
|
11670
|
-
"name": "marketBorrowIndex",
|
|
11671
|
-
"type": "tuple"
|
|
11672
|
-
}
|
|
11673
|
-
],
|
|
11674
|
-
"name": "updateCompBorrowIndex",
|
|
11675
|
-
"outputs": [],
|
|
11676
|
-
"stateMutability": "nonpayable",
|
|
11677
|
-
"type": "function"
|
|
12150
|
+
"inputs": [],
|
|
12151
|
+
"name": "TokenTransferOutFailed",
|
|
12152
|
+
"type": "error"
|
|
11678
12153
|
},
|
|
11679
12154
|
{
|
|
11680
|
-
"inputs": [
|
|
11681
|
-
|
|
11682
|
-
|
|
11683
|
-
"name": "cToken",
|
|
11684
|
-
"type": "address"
|
|
11685
|
-
}
|
|
11686
|
-
],
|
|
11687
|
-
"name": "updateCompSupplyIndex",
|
|
11688
|
-
"outputs": [],
|
|
11689
|
-
"stateMutability": "nonpayable",
|
|
11690
|
-
"type": "function"
|
|
12155
|
+
"inputs": [],
|
|
12156
|
+
"name": "TooMuchRepay",
|
|
12157
|
+
"type": "error"
|
|
11691
12158
|
},
|
|
11692
12159
|
{
|
|
11693
|
-
"inputs": [
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
|
-
"type": "address"
|
|
11698
|
-
}
|
|
11699
|
-
],
|
|
11700
|
-
"name": "updateContributorRewards",
|
|
11701
|
-
"outputs": [],
|
|
11702
|
-
"stateMutability": "nonpayable",
|
|
11703
|
-
"type": "function"
|
|
11704
|
-
}
|
|
11705
|
-
],
|
|
11706
|
-
"CompoundLens": [
|
|
12160
|
+
"inputs": [],
|
|
12161
|
+
"name": "TransferNotAllowed",
|
|
12162
|
+
"type": "error"
|
|
12163
|
+
},
|
|
11707
12164
|
{
|
|
11708
12165
|
"inputs": [],
|
|
11709
|
-
"name": "
|
|
12166
|
+
"name": "TransferPaused",
|
|
12167
|
+
"type": "error"
|
|
12168
|
+
},
|
|
12169
|
+
{
|
|
12170
|
+
"inputs": [],
|
|
12171
|
+
"name": "UnderlyingBalanceError",
|
|
11710
12172
|
"type": "error"
|
|
11711
12173
|
},
|
|
11712
12174
|
{
|
|
@@ -12694,6 +13156,21 @@ exports.abi = {
|
|
|
12694
13156
|
}
|
|
12695
13157
|
],
|
|
12696
13158
|
"Comptroller": [
|
|
13159
|
+
{
|
|
13160
|
+
"inputs": [],
|
|
13161
|
+
"name": "AddReservesOverflow",
|
|
13162
|
+
"type": "error"
|
|
13163
|
+
},
|
|
13164
|
+
{
|
|
13165
|
+
"inputs": [],
|
|
13166
|
+
"name": "BorrowAndDepositBackFailed",
|
|
13167
|
+
"type": "error"
|
|
13168
|
+
},
|
|
13169
|
+
{
|
|
13170
|
+
"inputs": [],
|
|
13171
|
+
"name": "BorrowMarketNotFresh",
|
|
13172
|
+
"type": "error"
|
|
13173
|
+
},
|
|
12697
13174
|
{
|
|
12698
13175
|
"inputs": [],
|
|
12699
13176
|
"name": "BorrowMinimumNotReached",
|
|
@@ -12704,6 +13181,16 @@ exports.abi = {
|
|
|
12704
13181
|
"name": "BorrowPaused",
|
|
12705
13182
|
"type": "error"
|
|
12706
13183
|
},
|
|
13184
|
+
{
|
|
13185
|
+
"inputs": [],
|
|
13186
|
+
"name": "CantSweepUnderlying",
|
|
13187
|
+
"type": "error"
|
|
13188
|
+
},
|
|
13189
|
+
{
|
|
13190
|
+
"inputs": [],
|
|
13191
|
+
"name": "InsufficientCash",
|
|
13192
|
+
"type": "error"
|
|
13193
|
+
},
|
|
12707
13194
|
{
|
|
12708
13195
|
"inputs": [],
|
|
12709
13196
|
"name": "InsufficientShortfall",
|
|
@@ -12714,21 +13201,96 @@ exports.abi = {
|
|
|
12714
13201
|
"name": "InvalidAddress",
|
|
12715
13202
|
"type": "error"
|
|
12716
13203
|
},
|
|
13204
|
+
{
|
|
13205
|
+
"inputs": [],
|
|
13206
|
+
"name": "InvalidAmount",
|
|
13207
|
+
"type": "error"
|
|
13208
|
+
},
|
|
13209
|
+
{
|
|
13210
|
+
"inputs": [],
|
|
13211
|
+
"name": "InvalidComptroller",
|
|
13212
|
+
"type": "error"
|
|
13213
|
+
},
|
|
13214
|
+
{
|
|
13215
|
+
"inputs": [],
|
|
13216
|
+
"name": "InvalidDiscountRate",
|
|
13217
|
+
"type": "error"
|
|
13218
|
+
},
|
|
13219
|
+
{
|
|
13220
|
+
"inputs": [],
|
|
13221
|
+
"name": "InvalidExchangeRate",
|
|
13222
|
+
"type": "error"
|
|
13223
|
+
},
|
|
13224
|
+
{
|
|
13225
|
+
"inputs": [],
|
|
13226
|
+
"name": "InvalidInterestRateModel",
|
|
13227
|
+
"type": "error"
|
|
13228
|
+
},
|
|
12717
13229
|
{
|
|
12718
13230
|
"inputs": [],
|
|
12719
13231
|
"name": "InvalidMinSuBorrowValue",
|
|
12720
13232
|
"type": "error"
|
|
12721
13233
|
},
|
|
13234
|
+
{
|
|
13235
|
+
"inputs": [],
|
|
13236
|
+
"name": "InvalidReduceAmount",
|
|
13237
|
+
"type": "error"
|
|
13238
|
+
},
|
|
13239
|
+
{
|
|
13240
|
+
"inputs": [],
|
|
13241
|
+
"name": "InvalidReserveFactor",
|
|
13242
|
+
"type": "error"
|
|
13243
|
+
},
|
|
13244
|
+
{
|
|
13245
|
+
"inputs": [],
|
|
13246
|
+
"name": "LiquidateBorrowMarketNotFresh",
|
|
13247
|
+
"type": "error"
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"inputs": [],
|
|
13251
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
13252
|
+
"type": "error"
|
|
13253
|
+
},
|
|
13254
|
+
{
|
|
13255
|
+
"inputs": [],
|
|
13256
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
13257
|
+
"type": "error"
|
|
13258
|
+
},
|
|
13259
|
+
{
|
|
13260
|
+
"inputs": [],
|
|
13261
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
13262
|
+
"type": "error"
|
|
13263
|
+
},
|
|
13264
|
+
{
|
|
13265
|
+
"inputs": [],
|
|
13266
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
13267
|
+
"type": "error"
|
|
13268
|
+
},
|
|
12722
13269
|
{
|
|
12723
13270
|
"inputs": [],
|
|
12724
13271
|
"name": "MarketAlreadyListed",
|
|
12725
13272
|
"type": "error"
|
|
12726
13273
|
},
|
|
13274
|
+
{
|
|
13275
|
+
"inputs": [],
|
|
13276
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
13277
|
+
"type": "error"
|
|
13278
|
+
},
|
|
13279
|
+
{
|
|
13280
|
+
"inputs": [],
|
|
13281
|
+
"name": "MarketNotFresh",
|
|
13282
|
+
"type": "error"
|
|
13283
|
+
},
|
|
12727
13284
|
{
|
|
12728
13285
|
"inputs": [],
|
|
12729
13286
|
"name": "MarketNotListed",
|
|
12730
13287
|
"type": "error"
|
|
12731
13288
|
},
|
|
13289
|
+
{
|
|
13290
|
+
"inputs": [],
|
|
13291
|
+
"name": "MintMarketNotFresh",
|
|
13292
|
+
"type": "error"
|
|
13293
|
+
},
|
|
12732
13294
|
{
|
|
12733
13295
|
"inputs": [],
|
|
12734
13296
|
"name": "MintPaused",
|
|
@@ -12739,36 +13301,126 @@ exports.abi = {
|
|
|
12739
13301
|
"name": "NoRedemptionProvider",
|
|
12740
13302
|
"type": "error"
|
|
12741
13303
|
},
|
|
13304
|
+
{
|
|
13305
|
+
"inputs": [],
|
|
13306
|
+
"name": "NotCToken",
|
|
13307
|
+
"type": "error"
|
|
13308
|
+
},
|
|
13309
|
+
{
|
|
13310
|
+
"inputs": [],
|
|
13311
|
+
"name": "NotSuToken",
|
|
13312
|
+
"type": "error"
|
|
13313
|
+
},
|
|
12742
13314
|
{
|
|
12743
13315
|
"inputs": [],
|
|
12744
13316
|
"name": "OneOfRedeemTokensAndRedeemAmountMustBeZero",
|
|
12745
13317
|
"type": "error"
|
|
12746
13318
|
},
|
|
13319
|
+
{
|
|
13320
|
+
"inputs": [],
|
|
13321
|
+
"name": "OnlyAdmin",
|
|
13322
|
+
"type": "error"
|
|
13323
|
+
},
|
|
13324
|
+
{
|
|
13325
|
+
"inputs": [],
|
|
13326
|
+
"name": "OnlyComptroller",
|
|
13327
|
+
"type": "error"
|
|
13328
|
+
},
|
|
13329
|
+
{
|
|
13330
|
+
"inputs": [],
|
|
13331
|
+
"name": "OnlyPendingAdmin",
|
|
13332
|
+
"type": "error"
|
|
13333
|
+
},
|
|
13334
|
+
{
|
|
13335
|
+
"inputs": [],
|
|
13336
|
+
"name": "PriceError",
|
|
13337
|
+
"type": "error"
|
|
13338
|
+
},
|
|
13339
|
+
{
|
|
13340
|
+
"inputs": [],
|
|
13341
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
13342
|
+
"type": "error"
|
|
13343
|
+
},
|
|
12747
13344
|
{
|
|
12748
13345
|
"inputs": [],
|
|
12749
13346
|
"name": "ProtocolIsPaused",
|
|
12750
13347
|
"type": "error"
|
|
12751
13348
|
},
|
|
13349
|
+
{
|
|
13350
|
+
"inputs": [],
|
|
13351
|
+
"name": "RedeemAndTransferMarketNotFresh",
|
|
13352
|
+
"type": "error"
|
|
13353
|
+
},
|
|
13354
|
+
{
|
|
13355
|
+
"inputs": [],
|
|
13356
|
+
"name": "RedeemAndTransfer_AmountIsZero",
|
|
13357
|
+
"type": "error"
|
|
13358
|
+
},
|
|
13359
|
+
{
|
|
13360
|
+
"inputs": [],
|
|
13361
|
+
"name": "RedeemMarketNotFresh",
|
|
13362
|
+
"type": "error"
|
|
13363
|
+
},
|
|
13364
|
+
{
|
|
13365
|
+
"inputs": [],
|
|
13366
|
+
"name": "ReduceReservesOverflow",
|
|
13367
|
+
"type": "error"
|
|
13368
|
+
},
|
|
13369
|
+
{
|
|
13370
|
+
"inputs": [],
|
|
13371
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
13372
|
+
"type": "error"
|
|
13373
|
+
},
|
|
12752
13374
|
{
|
|
12753
13375
|
"inputs": [],
|
|
12754
13376
|
"name": "SeizePaused",
|
|
12755
13377
|
"type": "error"
|
|
12756
13378
|
},
|
|
13379
|
+
{
|
|
13380
|
+
"inputs": [],
|
|
13381
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
13382
|
+
"type": "error"
|
|
13383
|
+
},
|
|
12757
13384
|
{
|
|
12758
13385
|
"inputs": [],
|
|
12759
13386
|
"name": "SenderMustBeCToken",
|
|
12760
13387
|
"type": "error"
|
|
12761
13388
|
},
|
|
13389
|
+
{
|
|
13390
|
+
"inputs": [],
|
|
13391
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
13392
|
+
"type": "error"
|
|
13393
|
+
},
|
|
13394
|
+
{
|
|
13395
|
+
"inputs": [],
|
|
13396
|
+
"name": "TokenTransferInFailed",
|
|
13397
|
+
"type": "error"
|
|
13398
|
+
},
|
|
13399
|
+
{
|
|
13400
|
+
"inputs": [],
|
|
13401
|
+
"name": "TokenTransferOutFailed",
|
|
13402
|
+
"type": "error"
|
|
13403
|
+
},
|
|
12762
13404
|
{
|
|
12763
13405
|
"inputs": [],
|
|
12764
13406
|
"name": "TooMuchRepay",
|
|
12765
13407
|
"type": "error"
|
|
12766
13408
|
},
|
|
13409
|
+
{
|
|
13410
|
+
"inputs": [],
|
|
13411
|
+
"name": "TransferNotAllowed",
|
|
13412
|
+
"type": "error"
|
|
13413
|
+
},
|
|
12767
13414
|
{
|
|
12768
13415
|
"inputs": [],
|
|
12769
13416
|
"name": "TransferPaused",
|
|
12770
13417
|
"type": "error"
|
|
12771
13418
|
},
|
|
13419
|
+
{
|
|
13420
|
+
"inputs": [],
|
|
13421
|
+
"name": "UnderlyingBalanceError",
|
|
13422
|
+
"type": "error"
|
|
13423
|
+
},
|
|
12772
13424
|
{
|
|
12773
13425
|
"anonymous": false,
|
|
12774
13426
|
"inputs": [
|
|
@@ -18724,9 +19376,7 @@ exports.abi = {
|
|
|
18724
19376
|
"type": "function"
|
|
18725
19377
|
}
|
|
18726
19378
|
],
|
|
18727
|
-
"
|
|
18728
|
-
"Exponential": [],
|
|
18729
|
-
"ExponentialNoError": [],
|
|
19379
|
+
"ExponentialNoErrorNew": [],
|
|
18730
19380
|
"InterestRateModel": [
|
|
18731
19381
|
{
|
|
18732
19382
|
"inputs": [
|
|
@@ -19816,11 +20466,6 @@ exports.abi = {
|
|
|
19816
20466
|
"name": "",
|
|
19817
20467
|
"type": "uint256"
|
|
19818
20468
|
},
|
|
19819
|
-
{
|
|
19820
|
-
"internalType": "uint256",
|
|
19821
|
-
"name": "",
|
|
19822
|
-
"type": "uint256"
|
|
19823
|
-
},
|
|
19824
20469
|
{
|
|
19825
20470
|
"internalType": "uint256",
|
|
19826
20471
|
"name": "",
|
|
@@ -20116,7 +20761,7 @@ exports.abi = {
|
|
|
20116
20761
|
"type": "uint256"
|
|
20117
20762
|
}
|
|
20118
20763
|
],
|
|
20119
|
-
"internalType": "struct Exp",
|
|
20764
|
+
"internalType": "struct ICompLogic.Exp",
|
|
20120
20765
|
"name": "marketBorrowIndex",
|
|
20121
20766
|
"type": "tuple"
|
|
20122
20767
|
}
|
|
@@ -20237,7 +20882,7 @@ exports.abi = {
|
|
|
20237
20882
|
"type": "uint256"
|
|
20238
20883
|
}
|
|
20239
20884
|
],
|
|
20240
|
-
"internalType": "struct Exp",
|
|
20885
|
+
"internalType": "struct ICompLogic.Exp",
|
|
20241
20886
|
"name": "marketBorrowIndex",
|
|
20242
20887
|
"type": "tuple"
|
|
20243
20888
|
}
|