@meterio/sumer-js 0.2.128 → 0.2.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +0 -141
  3. package/dist/nodejs/abi.js +0 -2341
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/bsc.d.ts +2 -2
  6. package/dist/nodejs/constants/bsc.js +4 -4
  7. package/dist/nodejs/constants/bsc.js.map +1 -1
  8. package/dist/nodejs/constants/ethereum.d.ts +2 -2
  9. package/dist/nodejs/constants/ethereum.js +4 -4
  10. package/dist/nodejs/constants/ethereum.js.map +1 -1
  11. package/dist/nodejs/constants/monadtest.d.ts +0 -1
  12. package/dist/nodejs/constants/monadtest.js +1 -2
  13. package/dist/nodejs/constants/monadtest.js.map +1 -1
  14. package/dist/nodejs/constants/sepolia.d.ts +2 -17
  15. package/dist/nodejs/constants/sepolia.js +21 -36
  16. package/dist/nodejs/constants/sepolia.js.map +1 -1
  17. package/dist/nodejs/errorABIs.js +0 -522
  18. package/dist/nodejs/errorABIs.js.map +1 -1
  19. package/dist/nodejs/index.d.ts +0 -141
  20. package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
  21. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -2
  22. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
  23. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +0 -2
  24. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js +1 -5
  25. package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -1
  26. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  32. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -1
  33. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -25
  34. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
  38. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
  39. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  40. package/dist/nodejs/typechain/hardhat.d.ts +0 -126
  41. package/dist/nodejs/typechain/index.d.ts +0 -14
  42. package/dist/nodejs/typechain/index.js +3 -17
  43. package/dist/nodejs/typechain/index.js.map +1 -1
  44. package/package.json +1 -1
  45. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.d.ts +0 -960
  46. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js +0 -3
  47. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.js.map +0 -1
  48. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +0 -37
  49. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +0 -3
  50. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +0 -1
  51. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +0 -125
  52. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +0 -3
  53. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +0 -1
  54. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  55. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +0 -3
  56. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  57. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.d.ts +0 -25
  58. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +0 -3
  59. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +0 -1
  60. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +0 -37
  61. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +0 -3
  62. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +0 -1
  63. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  64. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js +0 -3
  65. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
  66. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +0 -1621
  67. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +0 -2080
  68. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js.map +0 -1
  69. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +0 -55
  70. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +0 -84
  71. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +0 -1
  72. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +0 -131
  73. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +0 -180
  74. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +0 -1
  75. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  76. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +0 -13
  77. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  78. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +0 -44
  79. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +0 -69
  80. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +0 -1
  81. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +0 -35
  82. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js +0 -58
  83. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +0 -1
  84. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  85. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +0 -11
  86. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
@@ -3441,2276 +3441,6 @@ exports.abi = {
3441
3441
  "type": "receive"
3442
3442
  }
3443
3443
  ],
3444
- "CAavePool": [
3445
- {
3446
- "inputs": [],
3447
- "stateMutability": "nonpayable",
3448
- "type": "constructor"
3449
- },
3450
- {
3451
- "inputs": [],
3452
- "name": "AddReservesMarketNotFresh",
3453
- "type": "error"
3454
- },
3455
- {
3456
- "inputs": [],
3457
- "name": "AddReservesOverflow",
3458
- "type": "error"
3459
- },
3460
- {
3461
- "inputs": [],
3462
- "name": "BorrowAndDepositBackFailed",
3463
- "type": "error"
3464
- },
3465
- {
3466
- "inputs": [],
3467
- "name": "BorrowCapReached",
3468
- "type": "error"
3469
- },
3470
- {
3471
- "inputs": [],
3472
- "name": "BorrowCashNotAvailable",
3473
- "type": "error"
3474
- },
3475
- {
3476
- "inputs": [],
3477
- "name": "BorrowMarketNotFresh",
3478
- "type": "error"
3479
- },
3480
- {
3481
- "inputs": [],
3482
- "name": "BorrowPaused",
3483
- "type": "error"
3484
- },
3485
- {
3486
- "inputs": [
3487
- {
3488
- "internalType": "uint256",
3489
- "name": "usdThreshold",
3490
- "type": "uint256"
3491
- }
3492
- ],
3493
- "name": "BorrowValueMustBeLargerThanThreshold",
3494
- "type": "error"
3495
- },
3496
- {
3497
- "inputs": [],
3498
- "name": "CantEnterPausedMarket",
3499
- "type": "error"
3500
- },
3501
- {
3502
- "inputs": [],
3503
- "name": "CantExitMarketWithNonZeroBorrowBalance",
3504
- "type": "error"
3505
- },
3506
- {
3507
- "inputs": [],
3508
- "name": "CantSweepUnderlying",
3509
- "type": "error"
3510
- },
3511
- {
3512
- "inputs": [],
3513
- "name": "ComptrollerMismatch",
3514
- "type": "error"
3515
- },
3516
- {
3517
- "inputs": [],
3518
- "name": "EitherAssetOrDebtMustBeZero",
3519
- "type": "error"
3520
- },
3521
- {
3522
- "inputs": [
3523
- {
3524
- "internalType": "uint8",
3525
- "name": "groupId",
3526
- "type": "uint8"
3527
- },
3528
- {
3529
- "internalType": "uint256",
3530
- "name": "cDepositVal",
3531
- "type": "uint256"
3532
- },
3533
- {
3534
- "internalType": "uint256",
3535
- "name": "suDepositVal",
3536
- "type": "uint256"
3537
- },
3538
- {
3539
- "internalType": "uint256",
3540
- "name": "cBorrowVal",
3541
- "type": "uint256"
3542
- },
3543
- {
3544
- "internalType": "uint256",
3545
- "name": "suBorrowVal",
3546
- "type": "uint256"
3547
- }
3548
- ],
3549
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3550
- "type": "error"
3551
- },
3552
- {
3553
- "inputs": [],
3554
- "name": "ExpiredSignature",
3555
- "type": "error"
3556
- },
3557
- {
3558
- "inputs": [],
3559
- "name": "InsufficientCollateral",
3560
- "type": "error"
3561
- },
3562
- {
3563
- "inputs": [],
3564
- "name": "InsufficientShortfall",
3565
- "type": "error"
3566
- },
3567
- {
3568
- "inputs": [],
3569
- "name": "InterMintNotAllowed",
3570
- "type": "error"
3571
- },
3572
- {
3573
- "inputs": [],
3574
- "name": "InvalidAddress",
3575
- "type": "error"
3576
- },
3577
- {
3578
- "inputs": [],
3579
- "name": "InvalidAmount",
3580
- "type": "error"
3581
- },
3582
- {
3583
- "inputs": [],
3584
- "name": "InvalidBlockNumber",
3585
- "type": "error"
3586
- },
3587
- {
3588
- "inputs": [],
3589
- "name": "InvalidCToken",
3590
- "type": "error"
3591
- },
3592
- {
3593
- "inputs": [],
3594
- "name": "InvalidCloseFactor",
3595
- "type": "error"
3596
- },
3597
- {
3598
- "inputs": [],
3599
- "name": "InvalidComptroller",
3600
- "type": "error"
3601
- },
3602
- {
3603
- "inputs": [],
3604
- "name": "InvalidDiscountRate",
3605
- "type": "error"
3606
- },
3607
- {
3608
- "inputs": [],
3609
- "name": "InvalidExchangeRate",
3610
- "type": "error"
3611
- },
3612
- {
3613
- "inputs": [],
3614
- "name": "InvalidGroupId",
3615
- "type": "error"
3616
- },
3617
- {
3618
- "inputs": [],
3619
- "name": "InvalidInput",
3620
- "type": "error"
3621
- },
3622
- {
3623
- "inputs": [],
3624
- "name": "InvalidInterestRateModel",
3625
- "type": "error"
3626
- },
3627
- {
3628
- "inputs": [],
3629
- "name": "InvalidMinSuBorrowValue",
3630
- "type": "error"
3631
- },
3632
- {
3633
- "inputs": [],
3634
- "name": "InvalidRedeem",
3635
- "type": "error"
3636
- },
3637
- {
3638
- "inputs": [],
3639
- "name": "InvalidReduceAmount",
3640
- "type": "error"
3641
- },
3642
- {
3643
- "inputs": [],
3644
- "name": "InvalidReserveFactor",
3645
- "type": "error"
3646
- },
3647
- {
3648
- "inputs": [],
3649
- "name": "InvalidSignatureForRedeemFaceValue",
3650
- "type": "error"
3651
- },
3652
- {
3653
- "inputs": [],
3654
- "name": "InvalidSignatureLength",
3655
- "type": "error"
3656
- },
3657
- {
3658
- "inputs": [],
3659
- "name": "InvalidSuToken",
3660
- "type": "error"
3661
- },
3662
- {
3663
- "inputs": [],
3664
- "name": "InvalidTimestamp",
3665
- "type": "error"
3666
- },
3667
- {
3668
- "inputs": [],
3669
- "name": "LiquidateBorrow_LiquidatorIsBorrower",
3670
- "type": "error"
3671
- },
3672
- {
3673
- "inputs": [],
3674
- "name": "LiquidateBorrow_RepayAmountIsMax",
3675
- "type": "error"
3676
- },
3677
- {
3678
- "inputs": [],
3679
- "name": "LiquidateBorrow_RepayAmountIsZero",
3680
- "type": "error"
3681
- },
3682
- {
3683
- "inputs": [],
3684
- "name": "LiquidateBorrow_SeizeTooMuch",
3685
- "type": "error"
3686
- },
3687
- {
3688
- "inputs": [],
3689
- "name": "LiquidateCollateralMarketNotFresh",
3690
- "type": "error"
3691
- },
3692
- {
3693
- "inputs": [],
3694
- "name": "LiquidateMarketNotFresh",
3695
- "type": "error"
3696
- },
3697
- {
3698
- "inputs": [],
3699
- "name": "MarketAlreadyListed",
3700
- "type": "error"
3701
- },
3702
- {
3703
- "inputs": [],
3704
- "name": "MarketAlreadyUnlisted",
3705
- "type": "error"
3706
- },
3707
- {
3708
- "inputs": [],
3709
- "name": "MarketCanOnlyInitializeOnce",
3710
- "type": "error"
3711
- },
3712
- {
3713
- "inputs": [],
3714
- "name": "MarketNotEmpty",
3715
- "type": "error"
3716
- },
3717
- {
3718
- "inputs": [],
3719
- "name": "MarketNotListed",
3720
- "type": "error"
3721
- },
3722
- {
3723
- "inputs": [],
3724
- "name": "MarketPaused",
3725
- "type": "error"
3726
- },
3727
- {
3728
- "inputs": [],
3729
- "name": "MinDelayNotReached",
3730
- "type": "error"
3731
- },
3732
- {
3733
- "inputs": [],
3734
- "name": "MintMarketNotFresh",
3735
- "type": "error"
3736
- },
3737
- {
3738
- "inputs": [],
3739
- "name": "MintPaused",
3740
- "type": "error"
3741
- },
3742
- {
3743
- "inputs": [],
3744
- "name": "MintTokensCantBeZero",
3745
- "type": "error"
3746
- },
3747
- {
3748
- "inputs": [],
3749
- "name": "NoRedemptionProvider",
3750
- "type": "error"
3751
- },
3752
- {
3753
- "inputs": [],
3754
- "name": "NotCToken",
3755
- "type": "error"
3756
- },
3757
- {
3758
- "inputs": [],
3759
- "name": "NotEnoughForSeize",
3760
- "type": "error"
3761
- },
3762
- {
3763
- "inputs": [],
3764
- "name": "NotEnoughRedeemAmount",
3765
- "type": "error"
3766
- },
3767
- {
3768
- "inputs": [],
3769
- "name": "NotEnoughRedeemTokens",
3770
- "type": "error"
3771
- },
3772
- {
3773
- "inputs": [],
3774
- "name": "NotEnoughUnderlyingAfterRedeem",
3775
- "type": "error"
3776
- },
3777
- {
3778
- "inputs": [],
3779
- "name": "NotEnoughUnderlyingForMint",
3780
- "type": "error"
3781
- },
3782
- {
3783
- "inputs": [],
3784
- "name": "NotLiquidatableYet",
3785
- "type": "error"
3786
- },
3787
- {
3788
- "inputs": [],
3789
- "name": "NotSuToken",
3790
- "type": "error"
3791
- },
3792
- {
3793
- "inputs": [],
3794
- "name": "OnlyAdmin",
3795
- "type": "error"
3796
- },
3797
- {
3798
- "inputs": [],
3799
- "name": "OnlyAdminOrPauser",
3800
- "type": "error"
3801
- },
3802
- {
3803
- "inputs": [],
3804
- "name": "OnlyCToken",
3805
- "type": "error"
3806
- },
3807
- {
3808
- "inputs": [],
3809
- "name": "OnlyListedCToken",
3810
- "type": "error"
3811
- },
3812
- {
3813
- "inputs": [],
3814
- "name": "OnlyPausedMarketCanBeUnlisted",
3815
- "type": "error"
3816
- },
3817
- {
3818
- "inputs": [],
3819
- "name": "OnlyPendingAdmin",
3820
- "type": "error"
3821
- },
3822
- {
3823
- "inputs": [],
3824
- "name": "OnlyRedemptionManager",
3825
- "type": "error"
3826
- },
3827
- {
3828
- "inputs": [],
3829
- "name": "OverThreshold",
3830
- "type": "error"
3831
- },
3832
- {
3833
- "inputs": [],
3834
- "name": "PriceError",
3835
- "type": "error"
3836
- },
3837
- {
3838
- "inputs": [],
3839
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3840
- "type": "error"
3841
- },
3842
- {
3843
- "inputs": [],
3844
- "name": "RedeemMarketNotFresh",
3845
- "type": "error"
3846
- },
3847
- {
3848
- "inputs": [],
3849
- "name": "RedeemTransferOutNotPossible",
3850
- "type": "error"
3851
- },
3852
- {
3853
- "inputs": [],
3854
- "name": "RedemptionSeizeTooMuch",
3855
- "type": "error"
3856
- },
3857
- {
3858
- "inputs": [],
3859
- "name": "RedemptionSignerNotInitialized",
3860
- "type": "error"
3861
- },
3862
- {
3863
- "inputs": [],
3864
- "name": "ReduceReservesCashNotAvailable",
3865
- "type": "error"
3866
- },
3867
- {
3868
- "inputs": [],
3869
- "name": "ReduceReservesMarketNotFresh",
3870
- "type": "error"
3871
- },
3872
- {
3873
- "inputs": [],
3874
- "name": "Reentered",
3875
- "type": "error"
3876
- },
3877
- {
3878
- "inputs": [],
3879
- "name": "RepayBorrowMarketNotFresh",
3880
- "type": "error"
3881
- },
3882
- {
3883
- "inputs": [],
3884
- "name": "RepayTokenNotListed",
3885
- "type": "error"
3886
- },
3887
- {
3888
- "inputs": [],
3889
- "name": "SeizePaused",
3890
- "type": "error"
3891
- },
3892
- {
3893
- "inputs": [],
3894
- "name": "SeizeTokenNotListed",
3895
- "type": "error"
3896
- },
3897
- {
3898
- "inputs": [],
3899
- "name": "Seize_LiquidatorIsBorrower",
3900
- "type": "error"
3901
- },
3902
- {
3903
- "inputs": [],
3904
- "name": "SenderMustBeCToken",
3905
- "type": "error"
3906
- },
3907
- {
3908
- "inputs": [],
3909
- "name": "SetInterestRateModelMarketNotFresh",
3910
- "type": "error"
3911
- },
3912
- {
3913
- "inputs": [],
3914
- "name": "SetReservesFactorMarketNotFresh",
3915
- "type": "error"
3916
- },
3917
- {
3918
- "inputs": [],
3919
- "name": "SupplyCapReached",
3920
- "type": "error"
3921
- },
3922
- {
3923
- "inputs": [],
3924
- "name": "TokenInOrAmountInMustBeZero",
3925
- "type": "error"
3926
- },
3927
- {
3928
- "inputs": [],
3929
- "name": "TokenTransferInFailed",
3930
- "type": "error"
3931
- },
3932
- {
3933
- "inputs": [],
3934
- "name": "TokenTransferOutFailed",
3935
- "type": "error"
3936
- },
3937
- {
3938
- "inputs": [],
3939
- "name": "TooMuchRepay",
3940
- "type": "error"
3941
- },
3942
- {
3943
- "inputs": [],
3944
- "name": "TotalBorrowsNotZero",
3945
- "type": "error"
3946
- },
3947
- {
3948
- "inputs": [],
3949
- "name": "TotalSupplyNotZero",
3950
- "type": "error"
3951
- },
3952
- {
3953
- "inputs": [],
3954
- "name": "TransferNotAllowed",
3955
- "type": "error"
3956
- },
3957
- {
3958
- "inputs": [],
3959
- "name": "TransferPaused",
3960
- "type": "error"
3961
- },
3962
- {
3963
- "inputs": [],
3964
- "name": "UnderlyingBalanceError",
3965
- "type": "error"
3966
- },
3967
- {
3968
- "inputs": [],
3969
- "name": "ZeroAddressNotAllowed",
3970
- "type": "error"
3971
- },
3972
- {
3973
- "anonymous": false,
3974
- "inputs": [
3975
- {
3976
- "indexed": false,
3977
- "internalType": "uint256",
3978
- "name": "cashPrior",
3979
- "type": "uint256"
3980
- },
3981
- {
3982
- "indexed": false,
3983
- "internalType": "uint256",
3984
- "name": "interestAccumulated",
3985
- "type": "uint256"
3986
- },
3987
- {
3988
- "indexed": false,
3989
- "internalType": "uint256",
3990
- "name": "borrowIndex",
3991
- "type": "uint256"
3992
- },
3993
- {
3994
- "indexed": false,
3995
- "internalType": "uint256",
3996
- "name": "totalBorrows",
3997
- "type": "uint256"
3998
- }
3999
- ],
4000
- "name": "AccrueInterest",
4001
- "type": "event"
4002
- },
4003
- {
4004
- "anonymous": false,
4005
- "inputs": [
4006
- {
4007
- "indexed": true,
4008
- "internalType": "address",
4009
- "name": "owner",
4010
- "type": "address"
4011
- },
4012
- {
4013
- "indexed": true,
4014
- "internalType": "address",
4015
- "name": "spender",
4016
- "type": "address"
4017
- },
4018
- {
4019
- "indexed": false,
4020
- "internalType": "uint256",
4021
- "name": "amount",
4022
- "type": "uint256"
4023
- }
4024
- ],
4025
- "name": "Approval",
4026
- "type": "event"
4027
- },
4028
- {
4029
- "anonymous": false,
4030
- "inputs": [
4031
- {
4032
- "indexed": false,
4033
- "internalType": "address",
4034
- "name": "borrower",
4035
- "type": "address"
4036
- },
4037
- {
4038
- "indexed": false,
4039
- "internalType": "uint256",
4040
- "name": "borrowAmount",
4041
- "type": "uint256"
4042
- },
4043
- {
4044
- "indexed": false,
4045
- "internalType": "uint256",
4046
- "name": "accountBorrows",
4047
- "type": "uint256"
4048
- },
4049
- {
4050
- "indexed": false,
4051
- "internalType": "uint256",
4052
- "name": "totalBorrows",
4053
- "type": "uint256"
4054
- }
4055
- ],
4056
- "name": "Borrow",
4057
- "type": "event"
4058
- },
4059
- {
4060
- "anonymous": false,
4061
- "inputs": [
4062
- {
4063
- "indexed": false,
4064
- "internalType": "uint8",
4065
- "name": "version",
4066
- "type": "uint8"
4067
- }
4068
- ],
4069
- "name": "Initialized",
4070
- "type": "event"
4071
- },
4072
- {
4073
- "anonymous": false,
4074
- "inputs": [
4075
- {
4076
- "indexed": false,
4077
- "internalType": "address",
4078
- "name": "liquidator",
4079
- "type": "address"
4080
- },
4081
- {
4082
- "indexed": false,
4083
- "internalType": "address",
4084
- "name": "borrower",
4085
- "type": "address"
4086
- },
4087
- {
4088
- "indexed": false,
4089
- "internalType": "uint256",
4090
- "name": "repayAmount",
4091
- "type": "uint256"
4092
- },
4093
- {
4094
- "indexed": false,
4095
- "internalType": "address",
4096
- "name": "cTokenCollateral",
4097
- "type": "address"
4098
- },
4099
- {
4100
- "indexed": false,
4101
- "internalType": "uint256",
4102
- "name": "seizeTokens",
4103
- "type": "uint256"
4104
- }
4105
- ],
4106
- "name": "LiquidateBorrow",
4107
- "type": "event"
4108
- },
4109
- {
4110
- "anonymous": false,
4111
- "inputs": [
4112
- {
4113
- "indexed": false,
4114
- "internalType": "address",
4115
- "name": "minter",
4116
- "type": "address"
4117
- },
4118
- {
4119
- "indexed": false,
4120
- "internalType": "uint256",
4121
- "name": "mintAmount",
4122
- "type": "uint256"
4123
- },
4124
- {
4125
- "indexed": false,
4126
- "internalType": "uint256",
4127
- "name": "mintTokens",
4128
- "type": "uint256"
4129
- }
4130
- ],
4131
- "name": "Mint",
4132
- "type": "event"
4133
- },
4134
- {
4135
- "anonymous": false,
4136
- "inputs": [
4137
- {
4138
- "indexed": false,
4139
- "internalType": "address",
4140
- "name": "oldAdmin",
4141
- "type": "address"
4142
- },
4143
- {
4144
- "indexed": false,
4145
- "internalType": "address",
4146
- "name": "newAdmin",
4147
- "type": "address"
4148
- }
4149
- ],
4150
- "name": "NewAdmin",
4151
- "type": "event"
4152
- },
4153
- {
4154
- "anonymous": false,
4155
- "inputs": [
4156
- {
4157
- "indexed": false,
4158
- "internalType": "address",
4159
- "name": "oldComptroller",
4160
- "type": "address"
4161
- },
4162
- {
4163
- "indexed": false,
4164
- "internalType": "address",
4165
- "name": "newComptroller",
4166
- "type": "address"
4167
- }
4168
- ],
4169
- "name": "NewComptroller",
4170
- "type": "event"
4171
- },
4172
- {
4173
- "anonymous": false,
4174
- "inputs": [
4175
- {
4176
- "indexed": false,
4177
- "internalType": "uint256",
4178
- "name": "oldDiscountRateMantissa",
4179
- "type": "uint256"
4180
- },
4181
- {
4182
- "indexed": false,
4183
- "internalType": "uint256",
4184
- "name": "newDiscountRateMantissa",
4185
- "type": "uint256"
4186
- }
4187
- ],
4188
- "name": "NewDiscountRate",
4189
- "type": "event"
4190
- },
4191
- {
4192
- "anonymous": false,
4193
- "inputs": [
4194
- {
4195
- "indexed": false,
4196
- "internalType": "address",
4197
- "name": "oldInterestRateModel",
4198
- "type": "address"
4199
- },
4200
- {
4201
- "indexed": false,
4202
- "internalType": "address",
4203
- "name": "newInterestRateModel",
4204
- "type": "address"
4205
- }
4206
- ],
4207
- "name": "NewMarketInterestRateModel",
4208
- "type": "event"
4209
- },
4210
- {
4211
- "anonymous": false,
4212
- "inputs": [
4213
- {
4214
- "indexed": false,
4215
- "internalType": "address",
4216
- "name": "oldPendingAdmin",
4217
- "type": "address"
4218
- },
4219
- {
4220
- "indexed": false,
4221
- "internalType": "address",
4222
- "name": "newPendingAdmin",
4223
- "type": "address"
4224
- }
4225
- ],
4226
- "name": "NewPendingAdmin",
4227
- "type": "event"
4228
- },
4229
- {
4230
- "anonymous": false,
4231
- "inputs": [
4232
- {
4233
- "indexed": false,
4234
- "internalType": "uint256",
4235
- "name": "oldReserveFactorMantissa",
4236
- "type": "uint256"
4237
- },
4238
- {
4239
- "indexed": false,
4240
- "internalType": "uint256",
4241
- "name": "newReserveFactorMantissa",
4242
- "type": "uint256"
4243
- }
4244
- ],
4245
- "name": "NewReserveFactor",
4246
- "type": "event"
4247
- },
4248
- {
4249
- "anonymous": false,
4250
- "inputs": [
4251
- {
4252
- "indexed": false,
4253
- "internalType": "address",
4254
- "name": "redeemer",
4255
- "type": "address"
4256
- },
4257
- {
4258
- "indexed": false,
4259
- "internalType": "uint256",
4260
- "name": "redeemAmount",
4261
- "type": "uint256"
4262
- },
4263
- {
4264
- "indexed": false,
4265
- "internalType": "uint256",
4266
- "name": "redeemTokens",
4267
- "type": "uint256"
4268
- }
4269
- ],
4270
- "name": "Redeem",
4271
- "type": "event"
4272
- },
4273
- {
4274
- "anonymous": false,
4275
- "inputs": [
4276
- {
4277
- "indexed": true,
4278
- "internalType": "address",
4279
- "name": "redeemer",
4280
- "type": "address"
4281
- },
4282
- {
4283
- "indexed": true,
4284
- "internalType": "address",
4285
- "name": "provider",
4286
- "type": "address"
4287
- },
4288
- {
4289
- "indexed": false,
4290
- "internalType": "uint256",
4291
- "name": "repayAmount",
4292
- "type": "uint256"
4293
- },
4294
- {
4295
- "indexed": false,
4296
- "internalType": "address",
4297
- "name": "seizeToken",
4298
- "type": "address"
4299
- },
4300
- {
4301
- "indexed": false,
4302
- "internalType": "uint256",
4303
- "name": "seizeAmount",
4304
- "type": "uint256"
4305
- },
4306
- {
4307
- "indexed": false,
4308
- "internalType": "uint256",
4309
- "name": "redemptionRateMantissa",
4310
- "type": "uint256"
4311
- }
4312
- ],
4313
- "name": "RedeemFaceValue",
4314
- "type": "event"
4315
- },
4316
- {
4317
- "anonymous": false,
4318
- "inputs": [
4319
- {
4320
- "indexed": false,
4321
- "internalType": "address",
4322
- "name": "payer",
4323
- "type": "address"
4324
- },
4325
- {
4326
- "indexed": false,
4327
- "internalType": "address",
4328
- "name": "borrower",
4329
- "type": "address"
4330
- },
4331
- {
4332
- "indexed": false,
4333
- "internalType": "uint256",
4334
- "name": "repayAmount",
4335
- "type": "uint256"
4336
- },
4337
- {
4338
- "indexed": false,
4339
- "internalType": "uint256",
4340
- "name": "accountBorrows",
4341
- "type": "uint256"
4342
- },
4343
- {
4344
- "indexed": false,
4345
- "internalType": "uint256",
4346
- "name": "totalBorrows",
4347
- "type": "uint256"
4348
- }
4349
- ],
4350
- "name": "RepayBorrow",
4351
- "type": "event"
4352
- },
4353
- {
4354
- "anonymous": false,
4355
- "inputs": [
4356
- {
4357
- "indexed": false,
4358
- "internalType": "address",
4359
- "name": "benefactor",
4360
- "type": "address"
4361
- },
4362
- {
4363
- "indexed": false,
4364
- "internalType": "uint256",
4365
- "name": "addAmount",
4366
- "type": "uint256"
4367
- },
4368
- {
4369
- "indexed": false,
4370
- "internalType": "uint256",
4371
- "name": "newTotalReserves",
4372
- "type": "uint256"
4373
- }
4374
- ],
4375
- "name": "ReservesAdded",
4376
- "type": "event"
4377
- },
4378
- {
4379
- "anonymous": false,
4380
- "inputs": [
4381
- {
4382
- "indexed": false,
4383
- "internalType": "address",
4384
- "name": "admin",
4385
- "type": "address"
4386
- },
4387
- {
4388
- "indexed": false,
4389
- "internalType": "uint256",
4390
- "name": "reduceAmount",
4391
- "type": "uint256"
4392
- },
4393
- {
4394
- "indexed": false,
4395
- "internalType": "uint256",
4396
- "name": "newTotalReserves",
4397
- "type": "uint256"
4398
- }
4399
- ],
4400
- "name": "ReservesReduced",
4401
- "type": "event"
4402
- },
4403
- {
4404
- "anonymous": false,
4405
- "inputs": [
4406
- {
4407
- "indexed": true,
4408
- "internalType": "address",
4409
- "name": "from",
4410
- "type": "address"
4411
- },
4412
- {
4413
- "indexed": true,
4414
- "internalType": "address",
4415
- "name": "to",
4416
- "type": "address"
4417
- },
4418
- {
4419
- "indexed": false,
4420
- "internalType": "uint256",
4421
- "name": "amount",
4422
- "type": "uint256"
4423
- }
4424
- ],
4425
- "name": "Transfer",
4426
- "type": "event"
4427
- },
4428
- {
4429
- "inputs": [],
4430
- "name": "_acceptAdmin",
4431
- "outputs": [],
4432
- "stateMutability": "nonpayable",
4433
- "type": "function"
4434
- },
4435
- {
4436
- "inputs": [
4437
- {
4438
- "internalType": "uint256",
4439
- "name": "addAmount",
4440
- "type": "uint256"
4441
- }
4442
- ],
4443
- "name": "_addReserves",
4444
- "outputs": [],
4445
- "stateMutability": "nonpayable",
4446
- "type": "function"
4447
- },
4448
- {
4449
- "inputs": [
4450
- {
4451
- "internalType": "uint256",
4452
- "name": "reduceAmount",
4453
- "type": "uint256"
4454
- }
4455
- ],
4456
- "name": "_reduceReserves",
4457
- "outputs": [],
4458
- "stateMutability": "nonpayable",
4459
- "type": "function"
4460
- },
4461
- {
4462
- "inputs": [
4463
- {
4464
- "internalType": "address",
4465
- "name": "newComptroller",
4466
- "type": "address"
4467
- }
4468
- ],
4469
- "name": "_setComptroller",
4470
- "outputs": [],
4471
- "stateMutability": "nonpayable",
4472
- "type": "function"
4473
- },
4474
- {
4475
- "inputs": [
4476
- {
4477
- "internalType": "uint256",
4478
- "name": "discountRateMantissa_",
4479
- "type": "uint256"
4480
- }
4481
- ],
4482
- "name": "_setDiscountRate",
4483
- "outputs": [
4484
- {
4485
- "internalType": "uint256",
4486
- "name": "",
4487
- "type": "uint256"
4488
- }
4489
- ],
4490
- "stateMutability": "nonpayable",
4491
- "type": "function"
4492
- },
4493
- {
4494
- "inputs": [
4495
- {
4496
- "internalType": "address",
4497
- "name": "newInterestRateModel",
4498
- "type": "address"
4499
- }
4500
- ],
4501
- "name": "_setInterestRateModel",
4502
- "outputs": [],
4503
- "stateMutability": "nonpayable",
4504
- "type": "function"
4505
- },
4506
- {
4507
- "inputs": [
4508
- {
4509
- "internalType": "address payable",
4510
- "name": "newPendingAdmin",
4511
- "type": "address"
4512
- }
4513
- ],
4514
- "name": "_setPendingAdmin",
4515
- "outputs": [],
4516
- "stateMutability": "nonpayable",
4517
- "type": "function"
4518
- },
4519
- {
4520
- "inputs": [
4521
- {
4522
- "internalType": "uint256",
4523
- "name": "newReserveFactorMantissa",
4524
- "type": "uint256"
4525
- }
4526
- ],
4527
- "name": "_setReserveFactor",
4528
- "outputs": [],
4529
- "stateMutability": "nonpayable",
4530
- "type": "function"
4531
- },
4532
- {
4533
- "inputs": [],
4534
- "name": "_syncUnderlyingBalance",
4535
- "outputs": [],
4536
- "stateMutability": "nonpayable",
4537
- "type": "function"
4538
- },
4539
- {
4540
- "inputs": [],
4541
- "name": "accrualBlockTimestamp",
4542
- "outputs": [
4543
- {
4544
- "internalType": "uint256",
4545
- "name": "",
4546
- "type": "uint256"
4547
- }
4548
- ],
4549
- "stateMutability": "view",
4550
- "type": "function"
4551
- },
4552
- {
4553
- "inputs": [],
4554
- "name": "accrueInterest",
4555
- "outputs": [],
4556
- "stateMutability": "nonpayable",
4557
- "type": "function"
4558
- },
4559
- {
4560
- "inputs": [],
4561
- "name": "admin",
4562
- "outputs": [
4563
- {
4564
- "internalType": "address payable",
4565
- "name": "",
4566
- "type": "address"
4567
- }
4568
- ],
4569
- "stateMutability": "view",
4570
- "type": "function"
4571
- },
4572
- {
4573
- "inputs": [
4574
- {
4575
- "internalType": "address",
4576
- "name": "owner",
4577
- "type": "address"
4578
- },
4579
- {
4580
- "internalType": "address",
4581
- "name": "spender",
4582
- "type": "address"
4583
- }
4584
- ],
4585
- "name": "allowance",
4586
- "outputs": [
4587
- {
4588
- "internalType": "uint256",
4589
- "name": "",
4590
- "type": "uint256"
4591
- }
4592
- ],
4593
- "stateMutability": "view",
4594
- "type": "function"
4595
- },
4596
- {
4597
- "inputs": [
4598
- {
4599
- "internalType": "address",
4600
- "name": "spender",
4601
- "type": "address"
4602
- },
4603
- {
4604
- "internalType": "uint256",
4605
- "name": "amount",
4606
- "type": "uint256"
4607
- }
4608
- ],
4609
- "name": "approve",
4610
- "outputs": [
4611
- {
4612
- "internalType": "bool",
4613
- "name": "",
4614
- "type": "bool"
4615
- }
4616
- ],
4617
- "stateMutability": "nonpayable",
4618
- "type": "function"
4619
- },
4620
- {
4621
- "inputs": [
4622
- {
4623
- "internalType": "address",
4624
- "name": "owner",
4625
- "type": "address"
4626
- }
4627
- ],
4628
- "name": "balanceOf",
4629
- "outputs": [
4630
- {
4631
- "internalType": "uint256",
4632
- "name": "",
4633
- "type": "uint256"
4634
- }
4635
- ],
4636
- "stateMutability": "view",
4637
- "type": "function"
4638
- },
4639
- {
4640
- "inputs": [
4641
- {
4642
- "internalType": "address",
4643
- "name": "owner",
4644
- "type": "address"
4645
- }
4646
- ],
4647
- "name": "balanceOfUnderlying",
4648
- "outputs": [
4649
- {
4650
- "internalType": "uint256",
4651
- "name": "",
4652
- "type": "uint256"
4653
- }
4654
- ],
4655
- "stateMutability": "nonpayable",
4656
- "type": "function"
4657
- },
4658
- {
4659
- "inputs": [
4660
- {
4661
- "internalType": "uint256",
4662
- "name": "borrowAmount",
4663
- "type": "uint256"
4664
- }
4665
- ],
4666
- "name": "borrow",
4667
- "outputs": [],
4668
- "stateMutability": "nonpayable",
4669
- "type": "function"
4670
- },
4671
- {
4672
- "inputs": [
4673
- {
4674
- "internalType": "address",
4675
- "name": "borrower",
4676
- "type": "address"
4677
- },
4678
- {
4679
- "internalType": "uint256",
4680
- "name": "borrowAmount",
4681
- "type": "uint256"
4682
- }
4683
- ],
4684
- "name": "borrowAndDepositBack",
4685
- "outputs": [],
4686
- "stateMutability": "nonpayable",
4687
- "type": "function"
4688
- },
4689
- {
4690
- "inputs": [
4691
- {
4692
- "internalType": "address",
4693
- "name": "account",
4694
- "type": "address"
4695
- }
4696
- ],
4697
- "name": "borrowBalanceCurrent",
4698
- "outputs": [
4699
- {
4700
- "internalType": "uint256",
4701
- "name": "",
4702
- "type": "uint256"
4703
- }
4704
- ],
4705
- "stateMutability": "nonpayable",
4706
- "type": "function"
4707
- },
4708
- {
4709
- "inputs": [
4710
- {
4711
- "internalType": "address",
4712
- "name": "account",
4713
- "type": "address"
4714
- }
4715
- ],
4716
- "name": "borrowBalanceStored",
4717
- "outputs": [
4718
- {
4719
- "internalType": "uint256",
4720
- "name": "",
4721
- "type": "uint256"
4722
- }
4723
- ],
4724
- "stateMutability": "view",
4725
- "type": "function"
4726
- },
4727
- {
4728
- "inputs": [],
4729
- "name": "borrowIndex",
4730
- "outputs": [
4731
- {
4732
- "internalType": "uint256",
4733
- "name": "",
4734
- "type": "uint256"
4735
- }
4736
- ],
4737
- "stateMutability": "view",
4738
- "type": "function"
4739
- },
4740
- {
4741
- "inputs": [],
4742
- "name": "borrowRatePerBlock",
4743
- "outputs": [
4744
- {
4745
- "internalType": "uint256",
4746
- "name": "",
4747
- "type": "uint256"
4748
- }
4749
- ],
4750
- "stateMutability": "view",
4751
- "type": "function"
4752
- },
4753
- {
4754
- "inputs": [],
4755
- "name": "comptroller",
4756
- "outputs": [
4757
- {
4758
- "internalType": "address",
4759
- "name": "",
4760
- "type": "address"
4761
- }
4762
- ],
4763
- "stateMutability": "view",
4764
- "type": "function"
4765
- },
4766
- {
4767
- "inputs": [],
4768
- "name": "decimals",
4769
- "outputs": [
4770
- {
4771
- "internalType": "uint8",
4772
- "name": "",
4773
- "type": "uint8"
4774
- }
4775
- ],
4776
- "stateMutability": "view",
4777
- "type": "function"
4778
- },
4779
- {
4780
- "inputs": [],
4781
- "name": "discountRateMantissa",
4782
- "outputs": [
4783
- {
4784
- "internalType": "uint256",
4785
- "name": "",
4786
- "type": "uint256"
4787
- }
4788
- ],
4789
- "stateMutability": "view",
4790
- "type": "function"
4791
- },
4792
- {
4793
- "inputs": [],
4794
- "name": "exchangeRateCurrent",
4795
- "outputs": [
4796
- {
4797
- "internalType": "uint256",
4798
- "name": "",
4799
- "type": "uint256"
4800
- }
4801
- ],
4802
- "stateMutability": "nonpayable",
4803
- "type": "function"
4804
- },
4805
- {
4806
- "inputs": [],
4807
- "name": "exchangeRateStored",
4808
- "outputs": [
4809
- {
4810
- "internalType": "uint256",
4811
- "name": "",
4812
- "type": "uint256"
4813
- }
4814
- ],
4815
- "stateMutability": "view",
4816
- "type": "function"
4817
- },
4818
- {
4819
- "inputs": [
4820
- {
4821
- "internalType": "address",
4822
- "name": "account",
4823
- "type": "address"
4824
- }
4825
- ],
4826
- "name": "getAccountSnapshot",
4827
- "outputs": [
4828
- {
4829
- "internalType": "uint256",
4830
- "name": "",
4831
- "type": "uint256"
4832
- },
4833
- {
4834
- "internalType": "uint256",
4835
- "name": "",
4836
- "type": "uint256"
4837
- },
4838
- {
4839
- "internalType": "uint256",
4840
- "name": "",
4841
- "type": "uint256"
4842
- },
4843
- {
4844
- "internalType": "uint256",
4845
- "name": "",
4846
- "type": "uint256"
4847
- }
4848
- ],
4849
- "stateMutability": "view",
4850
- "type": "function"
4851
- },
4852
- {
4853
- "inputs": [],
4854
- "name": "getCash",
4855
- "outputs": [
4856
- {
4857
- "internalType": "uint256",
4858
- "name": "",
4859
- "type": "uint256"
4860
- }
4861
- ],
4862
- "stateMutability": "view",
4863
- "type": "function"
4864
- },
4865
- {
4866
- "inputs": [
4867
- {
4868
- "internalType": "address",
4869
- "name": "underlying_",
4870
- "type": "address"
4871
- },
4872
- {
4873
- "internalType": "address",
4874
- "name": "comptroller_",
4875
- "type": "address"
4876
- },
4877
- {
4878
- "internalType": "address",
4879
- "name": "interestRateModel_",
4880
- "type": "address"
4881
- },
4882
- {
4883
- "internalType": "uint256",
4884
- "name": "initialExchangeRateMantissa_",
4885
- "type": "uint256"
4886
- },
4887
- {
4888
- "internalType": "string",
4889
- "name": "name_",
4890
- "type": "string"
4891
- },
4892
- {
4893
- "internalType": "string",
4894
- "name": "symbol_",
4895
- "type": "string"
4896
- },
4897
- {
4898
- "internalType": "uint8",
4899
- "name": "decimals_",
4900
- "type": "uint8"
4901
- },
4902
- {
4903
- "internalType": "address payable",
4904
- "name": "admin_",
4905
- "type": "address"
4906
- }
4907
- ],
4908
- "name": "initialize",
4909
- "outputs": [],
4910
- "stateMutability": "nonpayable",
4911
- "type": "function"
4912
- },
4913
- {
4914
- "inputs": [
4915
- {
4916
- "internalType": "address",
4917
- "name": "underlying_",
4918
- "type": "address"
4919
- },
4920
- {
4921
- "internalType": "address",
4922
- "name": "comptroller_",
4923
- "type": "address"
4924
- },
4925
- {
4926
- "internalType": "address",
4927
- "name": "interestRateModel_",
4928
- "type": "address"
4929
- },
4930
- {
4931
- "internalType": "uint256",
4932
- "name": "initialExchangeRateMantissa_",
4933
- "type": "uint256"
4934
- },
4935
- {
4936
- "internalType": "string",
4937
- "name": "name_",
4938
- "type": "string"
4939
- },
4940
- {
4941
- "internalType": "string",
4942
- "name": "symbol_",
4943
- "type": "string"
4944
- },
4945
- {
4946
- "internalType": "uint8",
4947
- "name": "decimals_",
4948
- "type": "uint8"
4949
- },
4950
- {
4951
- "internalType": "address payable",
4952
- "name": "admin_",
4953
- "type": "address"
4954
- },
4955
- {
4956
- "internalType": "address",
4957
- "name": "aaveV3Pool_",
4958
- "type": "address"
4959
- }
4960
- ],
4961
- "name": "initialize",
4962
- "outputs": [],
4963
- "stateMutability": "nonpayable",
4964
- "type": "function"
4965
- },
4966
- {
4967
- "inputs": [],
4968
- "name": "interestRateModel",
4969
- "outputs": [
4970
- {
4971
- "internalType": "address",
4972
- "name": "",
4973
- "type": "address"
4974
- }
4975
- ],
4976
- "stateMutability": "view",
4977
- "type": "function"
4978
- },
4979
- {
4980
- "inputs": [],
4981
- "name": "isCEther",
4982
- "outputs": [
4983
- {
4984
- "internalType": "bool",
4985
- "name": "",
4986
- "type": "bool"
4987
- }
4988
- ],
4989
- "stateMutability": "pure",
4990
- "type": "function"
4991
- },
4992
- {
4993
- "inputs": [],
4994
- "name": "isCEtherDeprecated",
4995
- "outputs": [
4996
- {
4997
- "internalType": "bool",
4998
- "name": "",
4999
- "type": "bool"
5000
- }
5001
- ],
5002
- "stateMutability": "view",
5003
- "type": "function"
5004
- },
5005
- {
5006
- "inputs": [],
5007
- "name": "isCToken",
5008
- "outputs": [
5009
- {
5010
- "internalType": "bool",
5011
- "name": "",
5012
- "type": "bool"
5013
- }
5014
- ],
5015
- "stateMutability": "pure",
5016
- "type": "function"
5017
- },
5018
- {
5019
- "inputs": [],
5020
- "name": "isCTokenDeprecated",
5021
- "outputs": [
5022
- {
5023
- "internalType": "bool",
5024
- "name": "",
5025
- "type": "bool"
5026
- }
5027
- ],
5028
- "stateMutability": "view",
5029
- "type": "function"
5030
- },
5031
- {
5032
- "inputs": [
5033
- {
5034
- "internalType": "address",
5035
- "name": "borrower",
5036
- "type": "address"
5037
- },
5038
- {
5039
- "internalType": "uint256",
5040
- "name": "repayAmount",
5041
- "type": "uint256"
5042
- },
5043
- {
5044
- "internalType": "address",
5045
- "name": "cTokenCollateral",
5046
- "type": "address"
5047
- }
5048
- ],
5049
- "name": "liquidateBorrow",
5050
- "outputs": [],
5051
- "stateMutability": "nonpayable",
5052
- "type": "function"
5053
- },
5054
- {
5055
- "inputs": [
5056
- {
5057
- "internalType": "address",
5058
- "name": "cTokenCollateral",
5059
- "type": "address"
5060
- },
5061
- {
5062
- "internalType": "uint256",
5063
- "name": "actualRepayAmount",
5064
- "type": "uint256"
5065
- }
5066
- ],
5067
- "name": "liquidateCalculateSeizeTokens",
5068
- "outputs": [
5069
- {
5070
- "internalType": "uint256",
5071
- "name": "",
5072
- "type": "uint256"
5073
- },
5074
- {
5075
- "internalType": "uint256",
5076
- "name": "",
5077
- "type": "uint256"
5078
- }
5079
- ],
5080
- "stateMutability": "view",
5081
- "type": "function"
5082
- },
5083
- {
5084
- "inputs": [
5085
- {
5086
- "internalType": "uint256",
5087
- "name": "mintAmount",
5088
- "type": "uint256"
5089
- }
5090
- ],
5091
- "name": "mint",
5092
- "outputs": [],
5093
- "stateMutability": "nonpayable",
5094
- "type": "function"
5095
- },
5096
- {
5097
- "inputs": [
5098
- {
5099
- "internalType": "uint256",
5100
- "name": "mintAmount",
5101
- "type": "uint256"
5102
- },
5103
- {
5104
- "internalType": "uint256",
5105
- "name": "deadline",
5106
- "type": "uint256"
5107
- },
5108
- {
5109
- "internalType": "bytes",
5110
- "name": "signature",
5111
- "type": "bytes"
5112
- }
5113
- ],
5114
- "name": "mintWithPermit",
5115
- "outputs": [],
5116
- "stateMutability": "nonpayable",
5117
- "type": "function"
5118
- },
5119
- {
5120
- "inputs": [],
5121
- "name": "name",
5122
- "outputs": [
5123
- {
5124
- "internalType": "string",
5125
- "name": "",
5126
- "type": "string"
5127
- }
5128
- ],
5129
- "stateMutability": "view",
5130
- "type": "function"
5131
- },
5132
- {
5133
- "inputs": [],
5134
- "name": "pendingAdmin",
5135
- "outputs": [
5136
- {
5137
- "internalType": "address payable",
5138
- "name": "",
5139
- "type": "address"
5140
- }
5141
- ],
5142
- "stateMutability": "view",
5143
- "type": "function"
5144
- },
5145
- {
5146
- "inputs": [],
5147
- "name": "percentScale",
5148
- "outputs": [
5149
- {
5150
- "internalType": "uint256",
5151
- "name": "",
5152
- "type": "uint256"
5153
- }
5154
- ],
5155
- "stateMutability": "view",
5156
- "type": "function"
5157
- },
5158
- {
5159
- "inputs": [],
5160
- "name": "protocolSeizeShareMantissa",
5161
- "outputs": [
5162
- {
5163
- "internalType": "uint256",
5164
- "name": "",
5165
- "type": "uint256"
5166
- }
5167
- ],
5168
- "stateMutability": "view",
5169
- "type": "function"
5170
- },
5171
- {
5172
- "inputs": [
5173
- {
5174
- "internalType": "uint256",
5175
- "name": "redeemTokens",
5176
- "type": "uint256"
5177
- }
5178
- ],
5179
- "name": "redeem",
5180
- "outputs": [],
5181
- "stateMutability": "nonpayable",
5182
- "type": "function"
5183
- },
5184
- {
5185
- "inputs": [
5186
- {
5187
- "internalType": "uint256",
5188
- "name": "redeemAmount",
5189
- "type": "uint256"
5190
- }
5191
- ],
5192
- "name": "redeemUnderlying",
5193
- "outputs": [],
5194
- "stateMutability": "nonpayable",
5195
- "type": "function"
5196
- },
5197
- {
5198
- "inputs": [
5199
- {
5200
- "internalType": "uint256",
5201
- "name": "repayAmount",
5202
- "type": "uint256"
5203
- }
5204
- ],
5205
- "name": "repayBorrow",
5206
- "outputs": [],
5207
- "stateMutability": "nonpayable",
5208
- "type": "function"
5209
- },
5210
- {
5211
- "inputs": [
5212
- {
5213
- "internalType": "address",
5214
- "name": "borrower",
5215
- "type": "address"
5216
- },
5217
- {
5218
- "internalType": "uint256",
5219
- "name": "repayAmount",
5220
- "type": "uint256"
5221
- }
5222
- ],
5223
- "name": "repayBorrowBehalf",
5224
- "outputs": [],
5225
- "stateMutability": "nonpayable",
5226
- "type": "function"
5227
- },
5228
- {
5229
- "inputs": [
5230
- {
5231
- "internalType": "uint256",
5232
- "name": "repayAmount",
5233
- "type": "uint256"
5234
- },
5235
- {
5236
- "internalType": "uint256",
5237
- "name": "deadline",
5238
- "type": "uint256"
5239
- },
5240
- {
5241
- "internalType": "bytes",
5242
- "name": "signature",
5243
- "type": "bytes"
5244
- }
5245
- ],
5246
- "name": "repayBorrowWithPermit",
5247
- "outputs": [],
5248
- "stateMutability": "nonpayable",
5249
- "type": "function"
5250
- },
5251
- {
5252
- "inputs": [],
5253
- "name": "reserveFactorMantissa",
5254
- "outputs": [
5255
- {
5256
- "internalType": "uint256",
5257
- "name": "",
5258
- "type": "uint256"
5259
- }
5260
- ],
5261
- "stateMutability": "view",
5262
- "type": "function"
5263
- },
5264
- {
5265
- "inputs": [
5266
- {
5267
- "internalType": "address",
5268
- "name": "liquidator",
5269
- "type": "address"
5270
- },
5271
- {
5272
- "internalType": "address",
5273
- "name": "borrower",
5274
- "type": "address"
5275
- },
5276
- {
5277
- "internalType": "uint256",
5278
- "name": "seizeTokens",
5279
- "type": "uint256"
5280
- },
5281
- {
5282
- "internalType": "uint256",
5283
- "name": "seizeProfitTokens",
5284
- "type": "uint256"
5285
- },
5286
- {
5287
- "internalType": "bool",
5288
- "name": "isRedemption",
5289
- "type": "bool"
5290
- },
5291
- {
5292
- "internalType": "uint256",
5293
- "name": "redemptionRateMantissa",
5294
- "type": "uint256"
5295
- }
5296
- ],
5297
- "name": "seize",
5298
- "outputs": [],
5299
- "stateMutability": "nonpayable",
5300
- "type": "function"
5301
- },
5302
- {
5303
- "inputs": [],
5304
- "name": "supplyRatePerBlock",
5305
- "outputs": [
5306
- {
5307
- "internalType": "uint256",
5308
- "name": "",
5309
- "type": "uint256"
5310
- }
5311
- ],
5312
- "stateMutability": "view",
5313
- "type": "function"
5314
- },
5315
- {
5316
- "inputs": [
5317
- {
5318
- "internalType": "contract ERC20",
5319
- "name": "token",
5320
- "type": "address"
5321
- }
5322
- ],
5323
- "name": "sweepToken",
5324
- "outputs": [],
5325
- "stateMutability": "nonpayable",
5326
- "type": "function"
5327
- },
5328
- {
5329
- "inputs": [],
5330
- "name": "symbol",
5331
- "outputs": [
5332
- {
5333
- "internalType": "string",
5334
- "name": "",
5335
- "type": "string"
5336
- }
5337
- ],
5338
- "stateMutability": "view",
5339
- "type": "function"
5340
- },
5341
- {
5342
- "inputs": [],
5343
- "name": "tokenType",
5344
- "outputs": [
5345
- {
5346
- "internalType": "enum CToken.CTokenType",
5347
- "name": "",
5348
- "type": "uint8"
5349
- }
5350
- ],
5351
- "stateMutability": "pure",
5352
- "type": "function"
5353
- },
5354
- {
5355
- "inputs": [],
5356
- "name": "totalBorrows",
5357
- "outputs": [
5358
- {
5359
- "internalType": "uint256",
5360
- "name": "",
5361
- "type": "uint256"
5362
- }
5363
- ],
5364
- "stateMutability": "view",
5365
- "type": "function"
5366
- },
5367
- {
5368
- "inputs": [],
5369
- "name": "totalBorrowsCurrent",
5370
- "outputs": [
5371
- {
5372
- "internalType": "uint256",
5373
- "name": "",
5374
- "type": "uint256"
5375
- }
5376
- ],
5377
- "stateMutability": "nonpayable",
5378
- "type": "function"
5379
- },
5380
- {
5381
- "inputs": [],
5382
- "name": "totalReserves",
5383
- "outputs": [
5384
- {
5385
- "internalType": "uint256",
5386
- "name": "",
5387
- "type": "uint256"
5388
- }
5389
- ],
5390
- "stateMutability": "view",
5391
- "type": "function"
5392
- },
5393
- {
5394
- "inputs": [],
5395
- "name": "totalSupply",
5396
- "outputs": [
5397
- {
5398
- "internalType": "uint256",
5399
- "name": "",
5400
- "type": "uint256"
5401
- }
5402
- ],
5403
- "stateMutability": "view",
5404
- "type": "function"
5405
- },
5406
- {
5407
- "inputs": [
5408
- {
5409
- "internalType": "address",
5410
- "name": "dst",
5411
- "type": "address"
5412
- },
5413
- {
5414
- "internalType": "uint256",
5415
- "name": "amount",
5416
- "type": "uint256"
5417
- }
5418
- ],
5419
- "name": "transfer",
5420
- "outputs": [
5421
- {
5422
- "internalType": "bool",
5423
- "name": "",
5424
- "type": "bool"
5425
- }
5426
- ],
5427
- "stateMutability": "nonpayable",
5428
- "type": "function"
5429
- },
5430
- {
5431
- "inputs": [
5432
- {
5433
- "internalType": "address",
5434
- "name": "src",
5435
- "type": "address"
5436
- },
5437
- {
5438
- "internalType": "address",
5439
- "name": "dst",
5440
- "type": "address"
5441
- },
5442
- {
5443
- "internalType": "uint256",
5444
- "name": "amount",
5445
- "type": "uint256"
5446
- }
5447
- ],
5448
- "name": "transferFrom",
5449
- "outputs": [
5450
- {
5451
- "internalType": "bool",
5452
- "name": "",
5453
- "type": "bool"
5454
- }
5455
- ],
5456
- "stateMutability": "nonpayable",
5457
- "type": "function"
5458
- },
5459
- {
5460
- "inputs": [],
5461
- "name": "underlying",
5462
- "outputs": [
5463
- {
5464
- "internalType": "address",
5465
- "name": "",
5466
- "type": "address"
5467
- }
5468
- ],
5469
- "stateMutability": "view",
5470
- "type": "function"
5471
- },
5472
- {
5473
- "inputs": [],
5474
- "name": "underlyingBalance",
5475
- "outputs": [
5476
- {
5477
- "internalType": "uint256",
5478
- "name": "",
5479
- "type": "uint256"
5480
- }
5481
- ],
5482
- "stateMutability": "view",
5483
- "type": "function"
5484
- }
5485
- ],
5486
- "IAToken": [
5487
- {
5488
- "inputs": [
5489
- {
5490
- "internalType": "address",
5491
- "name": "user",
5492
- "type": "address"
5493
- }
5494
- ],
5495
- "name": "balanceOf",
5496
- "outputs": [
5497
- {
5498
- "internalType": "uint256",
5499
- "name": "",
5500
- "type": "uint256"
5501
- }
5502
- ],
5503
- "stateMutability": "view",
5504
- "type": "function"
5505
- },
5506
- {
5507
- "inputs": [
5508
- {
5509
- "internalType": "address",
5510
- "name": "user",
5511
- "type": "address"
5512
- }
5513
- ],
5514
- "name": "scaledBalanceOf",
5515
- "outputs": [
5516
- {
5517
- "internalType": "uint256",
5518
- "name": "",
5519
- "type": "uint256"
5520
- }
5521
- ],
5522
- "stateMutability": "view",
5523
- "type": "function"
5524
- },
5525
- {
5526
- "inputs": [],
5527
- "name": "scaledTotalSupply",
5528
- "outputs": [
5529
- {
5530
- "internalType": "uint256",
5531
- "name": "",
5532
- "type": "uint256"
5533
- }
5534
- ],
5535
- "stateMutability": "view",
5536
- "type": "function"
5537
- },
5538
- {
5539
- "inputs": [],
5540
- "name": "totalSupply",
5541
- "outputs": [
5542
- {
5543
- "internalType": "uint256",
5544
- "name": "",
5545
- "type": "uint256"
5546
- }
5547
- ],
5548
- "stateMutability": "view",
5549
- "type": "function"
5550
- }
5551
- ],
5552
- "IAaveV3Pool": [
5553
- {
5554
- "inputs": [
5555
- {
5556
- "internalType": "address",
5557
- "name": "asset",
5558
- "type": "address"
5559
- }
5560
- ],
5561
- "name": "getReserveData",
5562
- "outputs": [
5563
- {
5564
- "components": [
5565
- {
5566
- "components": [
5567
- {
5568
- "internalType": "uint256",
5569
- "name": "data",
5570
- "type": "uint256"
5571
- }
5572
- ],
5573
- "internalType": "struct IAaveV3Pool.ReserveConfigurationMap",
5574
- "name": "configuration",
5575
- "type": "tuple"
5576
- },
5577
- {
5578
- "internalType": "uint128",
5579
- "name": "liquidityIndex",
5580
- "type": "uint128"
5581
- },
5582
- {
5583
- "internalType": "uint128",
5584
- "name": "currentLiquidityRate",
5585
- "type": "uint128"
5586
- },
5587
- {
5588
- "internalType": "uint128",
5589
- "name": "variableBorrowIndex",
5590
- "type": "uint128"
5591
- },
5592
- {
5593
- "internalType": "uint128",
5594
- "name": "currentVariableBorrowRate",
5595
- "type": "uint128"
5596
- },
5597
- {
5598
- "internalType": "uint128",
5599
- "name": "currentStableBorrowRate",
5600
- "type": "uint128"
5601
- },
5602
- {
5603
- "internalType": "uint40",
5604
- "name": "lastUpdateTimestamp",
5605
- "type": "uint40"
5606
- },
5607
- {
5608
- "internalType": "uint16",
5609
- "name": "id",
5610
- "type": "uint16"
5611
- },
5612
- {
5613
- "internalType": "address",
5614
- "name": "aTokenAddress",
5615
- "type": "address"
5616
- },
5617
- {
5618
- "internalType": "address",
5619
- "name": "stableDebtTokenAddress",
5620
- "type": "address"
5621
- },
5622
- {
5623
- "internalType": "address",
5624
- "name": "variableDebtTokenAddress",
5625
- "type": "address"
5626
- },
5627
- {
5628
- "internalType": "address",
5629
- "name": "interestRateStrategyAddress",
5630
- "type": "address"
5631
- },
5632
- {
5633
- "internalType": "uint128",
5634
- "name": "accruedToTreasury",
5635
- "type": "uint128"
5636
- },
5637
- {
5638
- "internalType": "uint128",
5639
- "name": "unbacked",
5640
- "type": "uint128"
5641
- },
5642
- {
5643
- "internalType": "uint128",
5644
- "name": "isolationModeTotalDebt",
5645
- "type": "uint128"
5646
- }
5647
- ],
5648
- "internalType": "struct IAaveV3Pool.ReserveData",
5649
- "name": "",
5650
- "type": "tuple"
5651
- }
5652
- ],
5653
- "stateMutability": "view",
5654
- "type": "function"
5655
- },
5656
- {
5657
- "inputs": [
5658
- {
5659
- "internalType": "address",
5660
- "name": "asset",
5661
- "type": "address"
5662
- },
5663
- {
5664
- "internalType": "uint256",
5665
- "name": "amount",
5666
- "type": "uint256"
5667
- },
5668
- {
5669
- "internalType": "address",
5670
- "name": "onBehalfOf",
5671
- "type": "address"
5672
- },
5673
- {
5674
- "internalType": "uint16",
5675
- "name": "referralCode",
5676
- "type": "uint16"
5677
- }
5678
- ],
5679
- "name": "supply",
5680
- "outputs": [],
5681
- "stateMutability": "nonpayable",
5682
- "type": "function"
5683
- },
5684
- {
5685
- "inputs": [
5686
- {
5687
- "internalType": "address",
5688
- "name": "asset",
5689
- "type": "address"
5690
- },
5691
- {
5692
- "internalType": "uint256",
5693
- "name": "amount",
5694
- "type": "uint256"
5695
- },
5696
- {
5697
- "internalType": "address",
5698
- "name": "to",
5699
- "type": "address"
5700
- }
5701
- ],
5702
- "name": "withdraw",
5703
- "outputs": [
5704
- {
5705
- "internalType": "uint256",
5706
- "name": "",
5707
- "type": "uint256"
5708
- }
5709
- ],
5710
- "stateMutability": "nonpayable",
5711
- "type": "function"
5712
- }
5713
- ],
5714
3444
  "CErc20": [
5715
3445
  {
5716
3446
  "inputs": [],
@@ -37324,77 +35054,6 @@ exports.abi = {
37324
35054
  "type": "function"
37325
35055
  }
37326
35056
  ],
37327
- "IAprMon": [
37328
- {
37329
- "inputs": [
37330
- {
37331
- "internalType": "uint256",
37332
- "name": "shares",
37333
- "type": "uint256"
37334
- }
37335
- ],
37336
- "name": "convertToAssets",
37337
- "outputs": [
37338
- {
37339
- "internalType": "uint256",
37340
- "name": "",
37341
- "type": "uint256"
37342
- }
37343
- ],
37344
- "stateMutability": "view",
37345
- "type": "function"
37346
- },
37347
- {
37348
- "inputs": [
37349
- {
37350
- "internalType": "uint256",
37351
- "name": "amount",
37352
- "type": "uint256"
37353
- }
37354
- ],
37355
- "name": "convertToShares",
37356
- "outputs": [
37357
- {
37358
- "internalType": "uint256",
37359
- "name": "",
37360
- "type": "uint256"
37361
- }
37362
- ],
37363
- "stateMutability": "view",
37364
- "type": "function"
37365
- }
37366
- ],
37367
- "aprMONAdapter": [
37368
- {
37369
- "inputs": [
37370
- {
37371
- "internalType": "address",
37372
- "name": "_correlatedToken",
37373
- "type": "address"
37374
- },
37375
- {
37376
- "internalType": "address",
37377
- "name": "_underlyingToken",
37378
- "type": "address"
37379
- }
37380
- ],
37381
- "stateMutability": "nonpayable",
37382
- "type": "constructor"
37383
- },
37384
- {
37385
- "inputs": [],
37386
- "name": "exchangeRate",
37387
- "outputs": [
37388
- {
37389
- "internalType": "uint256",
37390
- "name": "",
37391
- "type": "uint256"
37392
- }
37393
- ],
37394
- "stateMutability": "view",
37395
- "type": "function"
37396
- }
37397
- ],
37398
35057
  "IDualCore": [
37399
35058
  {
37400
35059
  "inputs": [