@meterio/sumer-js 0.2.131 → 0.2.133

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 (53) hide show
  1. package/dist/browser/sumer.min.js +5 -5
  2. package/dist/nodejs/abi.d.ts +47 -1
  3. package/dist/nodejs/abi.js +2186 -76
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/sepolia.d.ts +2 -0
  6. package/dist/nodejs/constants/sepolia.js +3 -1
  7. package/dist/nodejs/constants/sepolia.js.map +1 -1
  8. package/dist/nodejs/errorABIs.js +522 -0
  9. package/dist/nodejs/errorABIs.js.map +1 -1
  10. package/dist/nodejs/index.d.ts +47 -1
  11. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/CAToken.d.ts +1002 -0
  12. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/CAToken.js +3 -0
  13. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/CAToken.js.map +1 -0
  14. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAToken.d.ts +29 -0
  15. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAToken.js +3 -0
  16. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAToken.js.map +1 -0
  17. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAaveV3Pool.d.ts +133 -0
  18. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAaveV3Pool.js +3 -0
  19. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/IAaveV3Pool.js.map +1 -0
  20. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/index.d.ts +3 -0
  21. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/index.js +3 -0
  22. package/dist/nodejs/typechain/contracts/CToken/CAToken.sol/index.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +2 -0
  24. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/CAToken__factory.d.ts +1673 -0
  25. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/CAToken__factory.js +2148 -0
  26. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/CAToken__factory.js.map +1 -0
  27. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAToken__factory.d.ts +31 -0
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAToken__factory.js +52 -0
  29. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAToken__factory.js.map +1 -0
  30. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAaveV3Pool__factory.d.ts +145 -0
  31. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAaveV3Pool__factory.js +199 -0
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/IAaveV3Pool__factory.js.map +1 -0
  33. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/index.d.ts +3 -0
  34. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/index.js +13 -0
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CAToken.sol/index.js.map +1 -0
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  42. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  43. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  44. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +1 -0
  45. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +2 -1
  46. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -1
  49. package/dist/nodejs/typechain/hardhat.d.ts +54 -0
  50. package/dist/nodejs/typechain/index.d.ts +2 -0
  51. package/dist/nodejs/typechain/index.js +4 -2
  52. package/dist/nodejs/typechain/index.js.map +1 -1
  53. package/package.json +1 -1
@@ -3441,7 +3441,7 @@ exports.abi = {
3441
3441
  "type": "receive"
3442
3442
  }
3443
3443
  ],
3444
- "CAavePool": [
3444
+ "CAToken": [
3445
3445
  {
3446
3446
  "inputs": [],
3447
3447
  "stateMutability": "nonpayable",
@@ -4000,37 +4000,6 @@ exports.abi = {
4000
4000
  "name": "AccrueInterest",
4001
4001
  "type": "event"
4002
4002
  },
4003
- {
4004
- "anonymous": false,
4005
- "inputs": [
4006
- {
4007
- "indexed": false,
4008
- "internalType": "uint256",
4009
- "name": "amount",
4010
- "type": "uint256"
4011
- },
4012
- {
4013
- "indexed": false,
4014
- "internalType": "uint256",
4015
- "name": "liquidityIndex",
4016
- "type": "uint256"
4017
- },
4018
- {
4019
- "indexed": false,
4020
- "internalType": "uint256",
4021
- "name": "addScaledBalance",
4022
- "type": "uint256"
4023
- },
4024
- {
4025
- "indexed": false,
4026
- "internalType": "uint256",
4027
- "name": "scaledBalance",
4028
- "type": "uint256"
4029
- }
4030
- ],
4031
- "name": "AddScaledBalance",
4032
- "type": "event"
4033
- },
4034
4003
  {
4035
4004
  "anonymous": false,
4036
4005
  "inputs": [
@@ -4431,37 +4400,6 @@ exports.abi = {
4431
4400
  "name": "ReservesReduced",
4432
4401
  "type": "event"
4433
4402
  },
4434
- {
4435
- "anonymous": false,
4436
- "inputs": [
4437
- {
4438
- "indexed": false,
4439
- "internalType": "uint256",
4440
- "name": "amount",
4441
- "type": "uint256"
4442
- },
4443
- {
4444
- "indexed": false,
4445
- "internalType": "uint256",
4446
- "name": "liquidityIndex",
4447
- "type": "uint256"
4448
- },
4449
- {
4450
- "indexed": false,
4451
- "internalType": "uint256",
4452
- "name": "subScaledBalance",
4453
- "type": "uint256"
4454
- },
4455
- {
4456
- "indexed": false,
4457
- "internalType": "uint256",
4458
- "name": "scaledBalance",
4459
- "type": "uint256"
4460
- }
4461
- ],
4462
- "name": "SubScaledBalance",
4463
- "type": "event"
4464
- },
4465
4403
  {
4466
4404
  "anonymous": false,
4467
4405
  "inputs": [
@@ -5359,19 +5297,6 @@ exports.abi = {
5359
5297
  "stateMutability": "nonpayable",
5360
5298
  "type": "function"
5361
5299
  },
5362
- {
5363
- "inputs": [],
5364
- "name": "scaledBalance",
5365
- "outputs": [
5366
- {
5367
- "internalType": "uint256",
5368
- "name": "",
5369
- "type": "uint256"
5370
- }
5371
- ],
5372
- "stateMutability": "view",
5373
- "type": "function"
5374
- },
5375
5300
  {
5376
5301
  "inputs": [
5377
5302
  {
@@ -5873,6 +5798,2191 @@ exports.abi = {
5873
5798
  "type": "function"
5874
5799
  }
5875
5800
  ],
5801
+ "CAavePool": [
5802
+ {
5803
+ "inputs": [],
5804
+ "stateMutability": "nonpayable",
5805
+ "type": "constructor"
5806
+ },
5807
+ {
5808
+ "inputs": [],
5809
+ "name": "AddReservesMarketNotFresh",
5810
+ "type": "error"
5811
+ },
5812
+ {
5813
+ "inputs": [],
5814
+ "name": "AddReservesOverflow",
5815
+ "type": "error"
5816
+ },
5817
+ {
5818
+ "inputs": [],
5819
+ "name": "BorrowAndDepositBackFailed",
5820
+ "type": "error"
5821
+ },
5822
+ {
5823
+ "inputs": [],
5824
+ "name": "BorrowCapReached",
5825
+ "type": "error"
5826
+ },
5827
+ {
5828
+ "inputs": [],
5829
+ "name": "BorrowCashNotAvailable",
5830
+ "type": "error"
5831
+ },
5832
+ {
5833
+ "inputs": [],
5834
+ "name": "BorrowMarketNotFresh",
5835
+ "type": "error"
5836
+ },
5837
+ {
5838
+ "inputs": [],
5839
+ "name": "BorrowPaused",
5840
+ "type": "error"
5841
+ },
5842
+ {
5843
+ "inputs": [
5844
+ {
5845
+ "internalType": "uint256",
5846
+ "name": "usdThreshold",
5847
+ "type": "uint256"
5848
+ }
5849
+ ],
5850
+ "name": "BorrowValueMustBeLargerThanThreshold",
5851
+ "type": "error"
5852
+ },
5853
+ {
5854
+ "inputs": [],
5855
+ "name": "CantEnterPausedMarket",
5856
+ "type": "error"
5857
+ },
5858
+ {
5859
+ "inputs": [],
5860
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
5861
+ "type": "error"
5862
+ },
5863
+ {
5864
+ "inputs": [],
5865
+ "name": "CantSweepUnderlying",
5866
+ "type": "error"
5867
+ },
5868
+ {
5869
+ "inputs": [],
5870
+ "name": "ComptrollerMismatch",
5871
+ "type": "error"
5872
+ },
5873
+ {
5874
+ "inputs": [],
5875
+ "name": "EitherAssetOrDebtMustBeZero",
5876
+ "type": "error"
5877
+ },
5878
+ {
5879
+ "inputs": [
5880
+ {
5881
+ "internalType": "uint8",
5882
+ "name": "groupId",
5883
+ "type": "uint8"
5884
+ },
5885
+ {
5886
+ "internalType": "uint256",
5887
+ "name": "cDepositVal",
5888
+ "type": "uint256"
5889
+ },
5890
+ {
5891
+ "internalType": "uint256",
5892
+ "name": "suDepositVal",
5893
+ "type": "uint256"
5894
+ },
5895
+ {
5896
+ "internalType": "uint256",
5897
+ "name": "cBorrowVal",
5898
+ "type": "uint256"
5899
+ },
5900
+ {
5901
+ "internalType": "uint256",
5902
+ "name": "suBorrowVal",
5903
+ "type": "uint256"
5904
+ }
5905
+ ],
5906
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
5907
+ "type": "error"
5908
+ },
5909
+ {
5910
+ "inputs": [],
5911
+ "name": "ExpiredSignature",
5912
+ "type": "error"
5913
+ },
5914
+ {
5915
+ "inputs": [],
5916
+ "name": "InsufficientCollateral",
5917
+ "type": "error"
5918
+ },
5919
+ {
5920
+ "inputs": [],
5921
+ "name": "InsufficientShortfall",
5922
+ "type": "error"
5923
+ },
5924
+ {
5925
+ "inputs": [],
5926
+ "name": "InterMintNotAllowed",
5927
+ "type": "error"
5928
+ },
5929
+ {
5930
+ "inputs": [],
5931
+ "name": "InvalidAddress",
5932
+ "type": "error"
5933
+ },
5934
+ {
5935
+ "inputs": [],
5936
+ "name": "InvalidAmount",
5937
+ "type": "error"
5938
+ },
5939
+ {
5940
+ "inputs": [],
5941
+ "name": "InvalidBlockNumber",
5942
+ "type": "error"
5943
+ },
5944
+ {
5945
+ "inputs": [],
5946
+ "name": "InvalidCToken",
5947
+ "type": "error"
5948
+ },
5949
+ {
5950
+ "inputs": [],
5951
+ "name": "InvalidCloseFactor",
5952
+ "type": "error"
5953
+ },
5954
+ {
5955
+ "inputs": [],
5956
+ "name": "InvalidComptroller",
5957
+ "type": "error"
5958
+ },
5959
+ {
5960
+ "inputs": [],
5961
+ "name": "InvalidDiscountRate",
5962
+ "type": "error"
5963
+ },
5964
+ {
5965
+ "inputs": [],
5966
+ "name": "InvalidExchangeRate",
5967
+ "type": "error"
5968
+ },
5969
+ {
5970
+ "inputs": [],
5971
+ "name": "InvalidGroupId",
5972
+ "type": "error"
5973
+ },
5974
+ {
5975
+ "inputs": [],
5976
+ "name": "InvalidInput",
5977
+ "type": "error"
5978
+ },
5979
+ {
5980
+ "inputs": [],
5981
+ "name": "InvalidInterestRateModel",
5982
+ "type": "error"
5983
+ },
5984
+ {
5985
+ "inputs": [],
5986
+ "name": "InvalidMinSuBorrowValue",
5987
+ "type": "error"
5988
+ },
5989
+ {
5990
+ "inputs": [],
5991
+ "name": "InvalidRedeem",
5992
+ "type": "error"
5993
+ },
5994
+ {
5995
+ "inputs": [],
5996
+ "name": "InvalidReduceAmount",
5997
+ "type": "error"
5998
+ },
5999
+ {
6000
+ "inputs": [],
6001
+ "name": "InvalidReserveFactor",
6002
+ "type": "error"
6003
+ },
6004
+ {
6005
+ "inputs": [],
6006
+ "name": "InvalidSignatureForRedeemFaceValue",
6007
+ "type": "error"
6008
+ },
6009
+ {
6010
+ "inputs": [],
6011
+ "name": "InvalidSignatureLength",
6012
+ "type": "error"
6013
+ },
6014
+ {
6015
+ "inputs": [],
6016
+ "name": "InvalidSuToken",
6017
+ "type": "error"
6018
+ },
6019
+ {
6020
+ "inputs": [],
6021
+ "name": "InvalidTimestamp",
6022
+ "type": "error"
6023
+ },
6024
+ {
6025
+ "inputs": [],
6026
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
6027
+ "type": "error"
6028
+ },
6029
+ {
6030
+ "inputs": [],
6031
+ "name": "LiquidateBorrow_RepayAmountIsMax",
6032
+ "type": "error"
6033
+ },
6034
+ {
6035
+ "inputs": [],
6036
+ "name": "LiquidateBorrow_RepayAmountIsZero",
6037
+ "type": "error"
6038
+ },
6039
+ {
6040
+ "inputs": [],
6041
+ "name": "LiquidateBorrow_SeizeTooMuch",
6042
+ "type": "error"
6043
+ },
6044
+ {
6045
+ "inputs": [],
6046
+ "name": "LiquidateCollateralMarketNotFresh",
6047
+ "type": "error"
6048
+ },
6049
+ {
6050
+ "inputs": [],
6051
+ "name": "LiquidateMarketNotFresh",
6052
+ "type": "error"
6053
+ },
6054
+ {
6055
+ "inputs": [],
6056
+ "name": "MarketAlreadyListed",
6057
+ "type": "error"
6058
+ },
6059
+ {
6060
+ "inputs": [],
6061
+ "name": "MarketAlreadyUnlisted",
6062
+ "type": "error"
6063
+ },
6064
+ {
6065
+ "inputs": [],
6066
+ "name": "MarketCanOnlyInitializeOnce",
6067
+ "type": "error"
6068
+ },
6069
+ {
6070
+ "inputs": [],
6071
+ "name": "MarketNotEmpty",
6072
+ "type": "error"
6073
+ },
6074
+ {
6075
+ "inputs": [],
6076
+ "name": "MarketNotListed",
6077
+ "type": "error"
6078
+ },
6079
+ {
6080
+ "inputs": [],
6081
+ "name": "MarketPaused",
6082
+ "type": "error"
6083
+ },
6084
+ {
6085
+ "inputs": [],
6086
+ "name": "MinDelayNotReached",
6087
+ "type": "error"
6088
+ },
6089
+ {
6090
+ "inputs": [],
6091
+ "name": "MintMarketNotFresh",
6092
+ "type": "error"
6093
+ },
6094
+ {
6095
+ "inputs": [],
6096
+ "name": "MintPaused",
6097
+ "type": "error"
6098
+ },
6099
+ {
6100
+ "inputs": [],
6101
+ "name": "MintTokensCantBeZero",
6102
+ "type": "error"
6103
+ },
6104
+ {
6105
+ "inputs": [],
6106
+ "name": "NoRedemptionProvider",
6107
+ "type": "error"
6108
+ },
6109
+ {
6110
+ "inputs": [],
6111
+ "name": "NotCToken",
6112
+ "type": "error"
6113
+ },
6114
+ {
6115
+ "inputs": [],
6116
+ "name": "NotEnoughForSeize",
6117
+ "type": "error"
6118
+ },
6119
+ {
6120
+ "inputs": [],
6121
+ "name": "NotEnoughRedeemAmount",
6122
+ "type": "error"
6123
+ },
6124
+ {
6125
+ "inputs": [],
6126
+ "name": "NotEnoughRedeemTokens",
6127
+ "type": "error"
6128
+ },
6129
+ {
6130
+ "inputs": [],
6131
+ "name": "NotEnoughUnderlyingAfterRedeem",
6132
+ "type": "error"
6133
+ },
6134
+ {
6135
+ "inputs": [],
6136
+ "name": "NotEnoughUnderlyingForMint",
6137
+ "type": "error"
6138
+ },
6139
+ {
6140
+ "inputs": [],
6141
+ "name": "NotLiquidatableYet",
6142
+ "type": "error"
6143
+ },
6144
+ {
6145
+ "inputs": [],
6146
+ "name": "NotSuToken",
6147
+ "type": "error"
6148
+ },
6149
+ {
6150
+ "inputs": [],
6151
+ "name": "OnlyAdmin",
6152
+ "type": "error"
6153
+ },
6154
+ {
6155
+ "inputs": [],
6156
+ "name": "OnlyAdminOrPauser",
6157
+ "type": "error"
6158
+ },
6159
+ {
6160
+ "inputs": [],
6161
+ "name": "OnlyCToken",
6162
+ "type": "error"
6163
+ },
6164
+ {
6165
+ "inputs": [],
6166
+ "name": "OnlyListedCToken",
6167
+ "type": "error"
6168
+ },
6169
+ {
6170
+ "inputs": [],
6171
+ "name": "OnlyPausedMarketCanBeUnlisted",
6172
+ "type": "error"
6173
+ },
6174
+ {
6175
+ "inputs": [],
6176
+ "name": "OnlyPendingAdmin",
6177
+ "type": "error"
6178
+ },
6179
+ {
6180
+ "inputs": [],
6181
+ "name": "OnlyRedemptionManager",
6182
+ "type": "error"
6183
+ },
6184
+ {
6185
+ "inputs": [],
6186
+ "name": "OverThreshold",
6187
+ "type": "error"
6188
+ },
6189
+ {
6190
+ "inputs": [],
6191
+ "name": "PriceError",
6192
+ "type": "error"
6193
+ },
6194
+ {
6195
+ "inputs": [],
6196
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
6197
+ "type": "error"
6198
+ },
6199
+ {
6200
+ "inputs": [],
6201
+ "name": "RedeemMarketNotFresh",
6202
+ "type": "error"
6203
+ },
6204
+ {
6205
+ "inputs": [],
6206
+ "name": "RedeemTransferOutNotPossible",
6207
+ "type": "error"
6208
+ },
6209
+ {
6210
+ "inputs": [],
6211
+ "name": "RedemptionSeizeTooMuch",
6212
+ "type": "error"
6213
+ },
6214
+ {
6215
+ "inputs": [],
6216
+ "name": "RedemptionSignerNotInitialized",
6217
+ "type": "error"
6218
+ },
6219
+ {
6220
+ "inputs": [],
6221
+ "name": "ReduceReservesCashNotAvailable",
6222
+ "type": "error"
6223
+ },
6224
+ {
6225
+ "inputs": [],
6226
+ "name": "ReduceReservesMarketNotFresh",
6227
+ "type": "error"
6228
+ },
6229
+ {
6230
+ "inputs": [],
6231
+ "name": "Reentered",
6232
+ "type": "error"
6233
+ },
6234
+ {
6235
+ "inputs": [],
6236
+ "name": "RepayBorrowMarketNotFresh",
6237
+ "type": "error"
6238
+ },
6239
+ {
6240
+ "inputs": [],
6241
+ "name": "RepayTokenNotListed",
6242
+ "type": "error"
6243
+ },
6244
+ {
6245
+ "inputs": [],
6246
+ "name": "SeizePaused",
6247
+ "type": "error"
6248
+ },
6249
+ {
6250
+ "inputs": [],
6251
+ "name": "SeizeTokenNotListed",
6252
+ "type": "error"
6253
+ },
6254
+ {
6255
+ "inputs": [],
6256
+ "name": "Seize_LiquidatorIsBorrower",
6257
+ "type": "error"
6258
+ },
6259
+ {
6260
+ "inputs": [],
6261
+ "name": "SenderMustBeCToken",
6262
+ "type": "error"
6263
+ },
6264
+ {
6265
+ "inputs": [],
6266
+ "name": "SetInterestRateModelMarketNotFresh",
6267
+ "type": "error"
6268
+ },
6269
+ {
6270
+ "inputs": [],
6271
+ "name": "SetReservesFactorMarketNotFresh",
6272
+ "type": "error"
6273
+ },
6274
+ {
6275
+ "inputs": [],
6276
+ "name": "SupplyCapReached",
6277
+ "type": "error"
6278
+ },
6279
+ {
6280
+ "inputs": [],
6281
+ "name": "TokenInOrAmountInMustBeZero",
6282
+ "type": "error"
6283
+ },
6284
+ {
6285
+ "inputs": [],
6286
+ "name": "TokenTransferInFailed",
6287
+ "type": "error"
6288
+ },
6289
+ {
6290
+ "inputs": [],
6291
+ "name": "TokenTransferOutFailed",
6292
+ "type": "error"
6293
+ },
6294
+ {
6295
+ "inputs": [],
6296
+ "name": "TooMuchRepay",
6297
+ "type": "error"
6298
+ },
6299
+ {
6300
+ "inputs": [],
6301
+ "name": "TotalBorrowsNotZero",
6302
+ "type": "error"
6303
+ },
6304
+ {
6305
+ "inputs": [],
6306
+ "name": "TotalSupplyNotZero",
6307
+ "type": "error"
6308
+ },
6309
+ {
6310
+ "inputs": [],
6311
+ "name": "TransferNotAllowed",
6312
+ "type": "error"
6313
+ },
6314
+ {
6315
+ "inputs": [],
6316
+ "name": "TransferPaused",
6317
+ "type": "error"
6318
+ },
6319
+ {
6320
+ "inputs": [],
6321
+ "name": "UnderlyingBalanceError",
6322
+ "type": "error"
6323
+ },
6324
+ {
6325
+ "inputs": [],
6326
+ "name": "ZeroAddressNotAllowed",
6327
+ "type": "error"
6328
+ },
6329
+ {
6330
+ "anonymous": false,
6331
+ "inputs": [
6332
+ {
6333
+ "indexed": false,
6334
+ "internalType": "uint256",
6335
+ "name": "cashPrior",
6336
+ "type": "uint256"
6337
+ },
6338
+ {
6339
+ "indexed": false,
6340
+ "internalType": "uint256",
6341
+ "name": "interestAccumulated",
6342
+ "type": "uint256"
6343
+ },
6344
+ {
6345
+ "indexed": false,
6346
+ "internalType": "uint256",
6347
+ "name": "borrowIndex",
6348
+ "type": "uint256"
6349
+ },
6350
+ {
6351
+ "indexed": false,
6352
+ "internalType": "uint256",
6353
+ "name": "totalBorrows",
6354
+ "type": "uint256"
6355
+ }
6356
+ ],
6357
+ "name": "AccrueInterest",
6358
+ "type": "event"
6359
+ },
6360
+ {
6361
+ "anonymous": false,
6362
+ "inputs": [
6363
+ {
6364
+ "indexed": false,
6365
+ "internalType": "uint256",
6366
+ "name": "amount",
6367
+ "type": "uint256"
6368
+ },
6369
+ {
6370
+ "indexed": false,
6371
+ "internalType": "uint256",
6372
+ "name": "liquidityIndex",
6373
+ "type": "uint256"
6374
+ },
6375
+ {
6376
+ "indexed": false,
6377
+ "internalType": "uint256",
6378
+ "name": "addScaledBalance",
6379
+ "type": "uint256"
6380
+ },
6381
+ {
6382
+ "indexed": false,
6383
+ "internalType": "uint256",
6384
+ "name": "scaledBalance",
6385
+ "type": "uint256"
6386
+ }
6387
+ ],
6388
+ "name": "AddScaledBalance",
6389
+ "type": "event"
6390
+ },
6391
+ {
6392
+ "anonymous": false,
6393
+ "inputs": [
6394
+ {
6395
+ "indexed": true,
6396
+ "internalType": "address",
6397
+ "name": "owner",
6398
+ "type": "address"
6399
+ },
6400
+ {
6401
+ "indexed": true,
6402
+ "internalType": "address",
6403
+ "name": "spender",
6404
+ "type": "address"
6405
+ },
6406
+ {
6407
+ "indexed": false,
6408
+ "internalType": "uint256",
6409
+ "name": "amount",
6410
+ "type": "uint256"
6411
+ }
6412
+ ],
6413
+ "name": "Approval",
6414
+ "type": "event"
6415
+ },
6416
+ {
6417
+ "anonymous": false,
6418
+ "inputs": [
6419
+ {
6420
+ "indexed": false,
6421
+ "internalType": "address",
6422
+ "name": "borrower",
6423
+ "type": "address"
6424
+ },
6425
+ {
6426
+ "indexed": false,
6427
+ "internalType": "uint256",
6428
+ "name": "borrowAmount",
6429
+ "type": "uint256"
6430
+ },
6431
+ {
6432
+ "indexed": false,
6433
+ "internalType": "uint256",
6434
+ "name": "accountBorrows",
6435
+ "type": "uint256"
6436
+ },
6437
+ {
6438
+ "indexed": false,
6439
+ "internalType": "uint256",
6440
+ "name": "totalBorrows",
6441
+ "type": "uint256"
6442
+ }
6443
+ ],
6444
+ "name": "Borrow",
6445
+ "type": "event"
6446
+ },
6447
+ {
6448
+ "anonymous": false,
6449
+ "inputs": [
6450
+ {
6451
+ "indexed": false,
6452
+ "internalType": "uint8",
6453
+ "name": "version",
6454
+ "type": "uint8"
6455
+ }
6456
+ ],
6457
+ "name": "Initialized",
6458
+ "type": "event"
6459
+ },
6460
+ {
6461
+ "anonymous": false,
6462
+ "inputs": [
6463
+ {
6464
+ "indexed": false,
6465
+ "internalType": "address",
6466
+ "name": "liquidator",
6467
+ "type": "address"
6468
+ },
6469
+ {
6470
+ "indexed": false,
6471
+ "internalType": "address",
6472
+ "name": "borrower",
6473
+ "type": "address"
6474
+ },
6475
+ {
6476
+ "indexed": false,
6477
+ "internalType": "uint256",
6478
+ "name": "repayAmount",
6479
+ "type": "uint256"
6480
+ },
6481
+ {
6482
+ "indexed": false,
6483
+ "internalType": "address",
6484
+ "name": "cTokenCollateral",
6485
+ "type": "address"
6486
+ },
6487
+ {
6488
+ "indexed": false,
6489
+ "internalType": "uint256",
6490
+ "name": "seizeTokens",
6491
+ "type": "uint256"
6492
+ }
6493
+ ],
6494
+ "name": "LiquidateBorrow",
6495
+ "type": "event"
6496
+ },
6497
+ {
6498
+ "anonymous": false,
6499
+ "inputs": [
6500
+ {
6501
+ "indexed": false,
6502
+ "internalType": "address",
6503
+ "name": "minter",
6504
+ "type": "address"
6505
+ },
6506
+ {
6507
+ "indexed": false,
6508
+ "internalType": "uint256",
6509
+ "name": "mintAmount",
6510
+ "type": "uint256"
6511
+ },
6512
+ {
6513
+ "indexed": false,
6514
+ "internalType": "uint256",
6515
+ "name": "mintTokens",
6516
+ "type": "uint256"
6517
+ }
6518
+ ],
6519
+ "name": "Mint",
6520
+ "type": "event"
6521
+ },
6522
+ {
6523
+ "anonymous": false,
6524
+ "inputs": [
6525
+ {
6526
+ "indexed": false,
6527
+ "internalType": "address",
6528
+ "name": "oldAdmin",
6529
+ "type": "address"
6530
+ },
6531
+ {
6532
+ "indexed": false,
6533
+ "internalType": "address",
6534
+ "name": "newAdmin",
6535
+ "type": "address"
6536
+ }
6537
+ ],
6538
+ "name": "NewAdmin",
6539
+ "type": "event"
6540
+ },
6541
+ {
6542
+ "anonymous": false,
6543
+ "inputs": [
6544
+ {
6545
+ "indexed": false,
6546
+ "internalType": "address",
6547
+ "name": "oldComptroller",
6548
+ "type": "address"
6549
+ },
6550
+ {
6551
+ "indexed": false,
6552
+ "internalType": "address",
6553
+ "name": "newComptroller",
6554
+ "type": "address"
6555
+ }
6556
+ ],
6557
+ "name": "NewComptroller",
6558
+ "type": "event"
6559
+ },
6560
+ {
6561
+ "anonymous": false,
6562
+ "inputs": [
6563
+ {
6564
+ "indexed": false,
6565
+ "internalType": "uint256",
6566
+ "name": "oldDiscountRateMantissa",
6567
+ "type": "uint256"
6568
+ },
6569
+ {
6570
+ "indexed": false,
6571
+ "internalType": "uint256",
6572
+ "name": "newDiscountRateMantissa",
6573
+ "type": "uint256"
6574
+ }
6575
+ ],
6576
+ "name": "NewDiscountRate",
6577
+ "type": "event"
6578
+ },
6579
+ {
6580
+ "anonymous": false,
6581
+ "inputs": [
6582
+ {
6583
+ "indexed": false,
6584
+ "internalType": "address",
6585
+ "name": "oldInterestRateModel",
6586
+ "type": "address"
6587
+ },
6588
+ {
6589
+ "indexed": false,
6590
+ "internalType": "address",
6591
+ "name": "newInterestRateModel",
6592
+ "type": "address"
6593
+ }
6594
+ ],
6595
+ "name": "NewMarketInterestRateModel",
6596
+ "type": "event"
6597
+ },
6598
+ {
6599
+ "anonymous": false,
6600
+ "inputs": [
6601
+ {
6602
+ "indexed": false,
6603
+ "internalType": "address",
6604
+ "name": "oldPendingAdmin",
6605
+ "type": "address"
6606
+ },
6607
+ {
6608
+ "indexed": false,
6609
+ "internalType": "address",
6610
+ "name": "newPendingAdmin",
6611
+ "type": "address"
6612
+ }
6613
+ ],
6614
+ "name": "NewPendingAdmin",
6615
+ "type": "event"
6616
+ },
6617
+ {
6618
+ "anonymous": false,
6619
+ "inputs": [
6620
+ {
6621
+ "indexed": false,
6622
+ "internalType": "uint256",
6623
+ "name": "oldReserveFactorMantissa",
6624
+ "type": "uint256"
6625
+ },
6626
+ {
6627
+ "indexed": false,
6628
+ "internalType": "uint256",
6629
+ "name": "newReserveFactorMantissa",
6630
+ "type": "uint256"
6631
+ }
6632
+ ],
6633
+ "name": "NewReserveFactor",
6634
+ "type": "event"
6635
+ },
6636
+ {
6637
+ "anonymous": false,
6638
+ "inputs": [
6639
+ {
6640
+ "indexed": false,
6641
+ "internalType": "address",
6642
+ "name": "redeemer",
6643
+ "type": "address"
6644
+ },
6645
+ {
6646
+ "indexed": false,
6647
+ "internalType": "uint256",
6648
+ "name": "redeemAmount",
6649
+ "type": "uint256"
6650
+ },
6651
+ {
6652
+ "indexed": false,
6653
+ "internalType": "uint256",
6654
+ "name": "redeemTokens",
6655
+ "type": "uint256"
6656
+ }
6657
+ ],
6658
+ "name": "Redeem",
6659
+ "type": "event"
6660
+ },
6661
+ {
6662
+ "anonymous": false,
6663
+ "inputs": [
6664
+ {
6665
+ "indexed": true,
6666
+ "internalType": "address",
6667
+ "name": "redeemer",
6668
+ "type": "address"
6669
+ },
6670
+ {
6671
+ "indexed": true,
6672
+ "internalType": "address",
6673
+ "name": "provider",
6674
+ "type": "address"
6675
+ },
6676
+ {
6677
+ "indexed": false,
6678
+ "internalType": "uint256",
6679
+ "name": "repayAmount",
6680
+ "type": "uint256"
6681
+ },
6682
+ {
6683
+ "indexed": false,
6684
+ "internalType": "address",
6685
+ "name": "seizeToken",
6686
+ "type": "address"
6687
+ },
6688
+ {
6689
+ "indexed": false,
6690
+ "internalType": "uint256",
6691
+ "name": "seizeAmount",
6692
+ "type": "uint256"
6693
+ },
6694
+ {
6695
+ "indexed": false,
6696
+ "internalType": "uint256",
6697
+ "name": "redemptionRateMantissa",
6698
+ "type": "uint256"
6699
+ }
6700
+ ],
6701
+ "name": "RedeemFaceValue",
6702
+ "type": "event"
6703
+ },
6704
+ {
6705
+ "anonymous": false,
6706
+ "inputs": [
6707
+ {
6708
+ "indexed": false,
6709
+ "internalType": "address",
6710
+ "name": "payer",
6711
+ "type": "address"
6712
+ },
6713
+ {
6714
+ "indexed": false,
6715
+ "internalType": "address",
6716
+ "name": "borrower",
6717
+ "type": "address"
6718
+ },
6719
+ {
6720
+ "indexed": false,
6721
+ "internalType": "uint256",
6722
+ "name": "repayAmount",
6723
+ "type": "uint256"
6724
+ },
6725
+ {
6726
+ "indexed": false,
6727
+ "internalType": "uint256",
6728
+ "name": "accountBorrows",
6729
+ "type": "uint256"
6730
+ },
6731
+ {
6732
+ "indexed": false,
6733
+ "internalType": "uint256",
6734
+ "name": "totalBorrows",
6735
+ "type": "uint256"
6736
+ }
6737
+ ],
6738
+ "name": "RepayBorrow",
6739
+ "type": "event"
6740
+ },
6741
+ {
6742
+ "anonymous": false,
6743
+ "inputs": [
6744
+ {
6745
+ "indexed": false,
6746
+ "internalType": "address",
6747
+ "name": "benefactor",
6748
+ "type": "address"
6749
+ },
6750
+ {
6751
+ "indexed": false,
6752
+ "internalType": "uint256",
6753
+ "name": "addAmount",
6754
+ "type": "uint256"
6755
+ },
6756
+ {
6757
+ "indexed": false,
6758
+ "internalType": "uint256",
6759
+ "name": "newTotalReserves",
6760
+ "type": "uint256"
6761
+ }
6762
+ ],
6763
+ "name": "ReservesAdded",
6764
+ "type": "event"
6765
+ },
6766
+ {
6767
+ "anonymous": false,
6768
+ "inputs": [
6769
+ {
6770
+ "indexed": false,
6771
+ "internalType": "address",
6772
+ "name": "admin",
6773
+ "type": "address"
6774
+ },
6775
+ {
6776
+ "indexed": false,
6777
+ "internalType": "uint256",
6778
+ "name": "reduceAmount",
6779
+ "type": "uint256"
6780
+ },
6781
+ {
6782
+ "indexed": false,
6783
+ "internalType": "uint256",
6784
+ "name": "newTotalReserves",
6785
+ "type": "uint256"
6786
+ }
6787
+ ],
6788
+ "name": "ReservesReduced",
6789
+ "type": "event"
6790
+ },
6791
+ {
6792
+ "anonymous": false,
6793
+ "inputs": [
6794
+ {
6795
+ "indexed": false,
6796
+ "internalType": "uint256",
6797
+ "name": "amount",
6798
+ "type": "uint256"
6799
+ },
6800
+ {
6801
+ "indexed": false,
6802
+ "internalType": "uint256",
6803
+ "name": "liquidityIndex",
6804
+ "type": "uint256"
6805
+ },
6806
+ {
6807
+ "indexed": false,
6808
+ "internalType": "uint256",
6809
+ "name": "subScaledBalance",
6810
+ "type": "uint256"
6811
+ },
6812
+ {
6813
+ "indexed": false,
6814
+ "internalType": "uint256",
6815
+ "name": "scaledBalance",
6816
+ "type": "uint256"
6817
+ }
6818
+ ],
6819
+ "name": "SubScaledBalance",
6820
+ "type": "event"
6821
+ },
6822
+ {
6823
+ "anonymous": false,
6824
+ "inputs": [
6825
+ {
6826
+ "indexed": true,
6827
+ "internalType": "address",
6828
+ "name": "from",
6829
+ "type": "address"
6830
+ },
6831
+ {
6832
+ "indexed": true,
6833
+ "internalType": "address",
6834
+ "name": "to",
6835
+ "type": "address"
6836
+ },
6837
+ {
6838
+ "indexed": false,
6839
+ "internalType": "uint256",
6840
+ "name": "amount",
6841
+ "type": "uint256"
6842
+ }
6843
+ ],
6844
+ "name": "Transfer",
6845
+ "type": "event"
6846
+ },
6847
+ {
6848
+ "inputs": [],
6849
+ "name": "_acceptAdmin",
6850
+ "outputs": [],
6851
+ "stateMutability": "nonpayable",
6852
+ "type": "function"
6853
+ },
6854
+ {
6855
+ "inputs": [
6856
+ {
6857
+ "internalType": "uint256",
6858
+ "name": "addAmount",
6859
+ "type": "uint256"
6860
+ }
6861
+ ],
6862
+ "name": "_addReserves",
6863
+ "outputs": [],
6864
+ "stateMutability": "nonpayable",
6865
+ "type": "function"
6866
+ },
6867
+ {
6868
+ "inputs": [
6869
+ {
6870
+ "internalType": "uint256",
6871
+ "name": "reduceAmount",
6872
+ "type": "uint256"
6873
+ }
6874
+ ],
6875
+ "name": "_reduceReserves",
6876
+ "outputs": [],
6877
+ "stateMutability": "nonpayable",
6878
+ "type": "function"
6879
+ },
6880
+ {
6881
+ "inputs": [
6882
+ {
6883
+ "internalType": "address",
6884
+ "name": "newComptroller",
6885
+ "type": "address"
6886
+ }
6887
+ ],
6888
+ "name": "_setComptroller",
6889
+ "outputs": [],
6890
+ "stateMutability": "nonpayable",
6891
+ "type": "function"
6892
+ },
6893
+ {
6894
+ "inputs": [
6895
+ {
6896
+ "internalType": "uint256",
6897
+ "name": "discountRateMantissa_",
6898
+ "type": "uint256"
6899
+ }
6900
+ ],
6901
+ "name": "_setDiscountRate",
6902
+ "outputs": [
6903
+ {
6904
+ "internalType": "uint256",
6905
+ "name": "",
6906
+ "type": "uint256"
6907
+ }
6908
+ ],
6909
+ "stateMutability": "nonpayable",
6910
+ "type": "function"
6911
+ },
6912
+ {
6913
+ "inputs": [
6914
+ {
6915
+ "internalType": "address",
6916
+ "name": "newInterestRateModel",
6917
+ "type": "address"
6918
+ }
6919
+ ],
6920
+ "name": "_setInterestRateModel",
6921
+ "outputs": [],
6922
+ "stateMutability": "nonpayable",
6923
+ "type": "function"
6924
+ },
6925
+ {
6926
+ "inputs": [
6927
+ {
6928
+ "internalType": "address payable",
6929
+ "name": "newPendingAdmin",
6930
+ "type": "address"
6931
+ }
6932
+ ],
6933
+ "name": "_setPendingAdmin",
6934
+ "outputs": [],
6935
+ "stateMutability": "nonpayable",
6936
+ "type": "function"
6937
+ },
6938
+ {
6939
+ "inputs": [
6940
+ {
6941
+ "internalType": "uint256",
6942
+ "name": "newReserveFactorMantissa",
6943
+ "type": "uint256"
6944
+ }
6945
+ ],
6946
+ "name": "_setReserveFactor",
6947
+ "outputs": [],
6948
+ "stateMutability": "nonpayable",
6949
+ "type": "function"
6950
+ },
6951
+ {
6952
+ "inputs": [],
6953
+ "name": "_syncUnderlyingBalance",
6954
+ "outputs": [],
6955
+ "stateMutability": "nonpayable",
6956
+ "type": "function"
6957
+ },
6958
+ {
6959
+ "inputs": [],
6960
+ "name": "accrualBlockTimestamp",
6961
+ "outputs": [
6962
+ {
6963
+ "internalType": "uint256",
6964
+ "name": "",
6965
+ "type": "uint256"
6966
+ }
6967
+ ],
6968
+ "stateMutability": "view",
6969
+ "type": "function"
6970
+ },
6971
+ {
6972
+ "inputs": [],
6973
+ "name": "accrueInterest",
6974
+ "outputs": [],
6975
+ "stateMutability": "nonpayable",
6976
+ "type": "function"
6977
+ },
6978
+ {
6979
+ "inputs": [],
6980
+ "name": "admin",
6981
+ "outputs": [
6982
+ {
6983
+ "internalType": "address payable",
6984
+ "name": "",
6985
+ "type": "address"
6986
+ }
6987
+ ],
6988
+ "stateMutability": "view",
6989
+ "type": "function"
6990
+ },
6991
+ {
6992
+ "inputs": [
6993
+ {
6994
+ "internalType": "address",
6995
+ "name": "owner",
6996
+ "type": "address"
6997
+ },
6998
+ {
6999
+ "internalType": "address",
7000
+ "name": "spender",
7001
+ "type": "address"
7002
+ }
7003
+ ],
7004
+ "name": "allowance",
7005
+ "outputs": [
7006
+ {
7007
+ "internalType": "uint256",
7008
+ "name": "",
7009
+ "type": "uint256"
7010
+ }
7011
+ ],
7012
+ "stateMutability": "view",
7013
+ "type": "function"
7014
+ },
7015
+ {
7016
+ "inputs": [
7017
+ {
7018
+ "internalType": "address",
7019
+ "name": "spender",
7020
+ "type": "address"
7021
+ },
7022
+ {
7023
+ "internalType": "uint256",
7024
+ "name": "amount",
7025
+ "type": "uint256"
7026
+ }
7027
+ ],
7028
+ "name": "approve",
7029
+ "outputs": [
7030
+ {
7031
+ "internalType": "bool",
7032
+ "name": "",
7033
+ "type": "bool"
7034
+ }
7035
+ ],
7036
+ "stateMutability": "nonpayable",
7037
+ "type": "function"
7038
+ },
7039
+ {
7040
+ "inputs": [
7041
+ {
7042
+ "internalType": "address",
7043
+ "name": "owner",
7044
+ "type": "address"
7045
+ }
7046
+ ],
7047
+ "name": "balanceOf",
7048
+ "outputs": [
7049
+ {
7050
+ "internalType": "uint256",
7051
+ "name": "",
7052
+ "type": "uint256"
7053
+ }
7054
+ ],
7055
+ "stateMutability": "view",
7056
+ "type": "function"
7057
+ },
7058
+ {
7059
+ "inputs": [
7060
+ {
7061
+ "internalType": "address",
7062
+ "name": "owner",
7063
+ "type": "address"
7064
+ }
7065
+ ],
7066
+ "name": "balanceOfUnderlying",
7067
+ "outputs": [
7068
+ {
7069
+ "internalType": "uint256",
7070
+ "name": "",
7071
+ "type": "uint256"
7072
+ }
7073
+ ],
7074
+ "stateMutability": "nonpayable",
7075
+ "type": "function"
7076
+ },
7077
+ {
7078
+ "inputs": [
7079
+ {
7080
+ "internalType": "uint256",
7081
+ "name": "borrowAmount",
7082
+ "type": "uint256"
7083
+ }
7084
+ ],
7085
+ "name": "borrow",
7086
+ "outputs": [],
7087
+ "stateMutability": "nonpayable",
7088
+ "type": "function"
7089
+ },
7090
+ {
7091
+ "inputs": [
7092
+ {
7093
+ "internalType": "address",
7094
+ "name": "borrower",
7095
+ "type": "address"
7096
+ },
7097
+ {
7098
+ "internalType": "uint256",
7099
+ "name": "borrowAmount",
7100
+ "type": "uint256"
7101
+ }
7102
+ ],
7103
+ "name": "borrowAndDepositBack",
7104
+ "outputs": [],
7105
+ "stateMutability": "nonpayable",
7106
+ "type": "function"
7107
+ },
7108
+ {
7109
+ "inputs": [
7110
+ {
7111
+ "internalType": "address",
7112
+ "name": "account",
7113
+ "type": "address"
7114
+ }
7115
+ ],
7116
+ "name": "borrowBalanceCurrent",
7117
+ "outputs": [
7118
+ {
7119
+ "internalType": "uint256",
7120
+ "name": "",
7121
+ "type": "uint256"
7122
+ }
7123
+ ],
7124
+ "stateMutability": "nonpayable",
7125
+ "type": "function"
7126
+ },
7127
+ {
7128
+ "inputs": [
7129
+ {
7130
+ "internalType": "address",
7131
+ "name": "account",
7132
+ "type": "address"
7133
+ }
7134
+ ],
7135
+ "name": "borrowBalanceStored",
7136
+ "outputs": [
7137
+ {
7138
+ "internalType": "uint256",
7139
+ "name": "",
7140
+ "type": "uint256"
7141
+ }
7142
+ ],
7143
+ "stateMutability": "view",
7144
+ "type": "function"
7145
+ },
7146
+ {
7147
+ "inputs": [],
7148
+ "name": "borrowIndex",
7149
+ "outputs": [
7150
+ {
7151
+ "internalType": "uint256",
7152
+ "name": "",
7153
+ "type": "uint256"
7154
+ }
7155
+ ],
7156
+ "stateMutability": "view",
7157
+ "type": "function"
7158
+ },
7159
+ {
7160
+ "inputs": [],
7161
+ "name": "borrowRatePerBlock",
7162
+ "outputs": [
7163
+ {
7164
+ "internalType": "uint256",
7165
+ "name": "",
7166
+ "type": "uint256"
7167
+ }
7168
+ ],
7169
+ "stateMutability": "view",
7170
+ "type": "function"
7171
+ },
7172
+ {
7173
+ "inputs": [],
7174
+ "name": "comptroller",
7175
+ "outputs": [
7176
+ {
7177
+ "internalType": "address",
7178
+ "name": "",
7179
+ "type": "address"
7180
+ }
7181
+ ],
7182
+ "stateMutability": "view",
7183
+ "type": "function"
7184
+ },
7185
+ {
7186
+ "inputs": [],
7187
+ "name": "decimals",
7188
+ "outputs": [
7189
+ {
7190
+ "internalType": "uint8",
7191
+ "name": "",
7192
+ "type": "uint8"
7193
+ }
7194
+ ],
7195
+ "stateMutability": "view",
7196
+ "type": "function"
7197
+ },
7198
+ {
7199
+ "inputs": [],
7200
+ "name": "discountRateMantissa",
7201
+ "outputs": [
7202
+ {
7203
+ "internalType": "uint256",
7204
+ "name": "",
7205
+ "type": "uint256"
7206
+ }
7207
+ ],
7208
+ "stateMutability": "view",
7209
+ "type": "function"
7210
+ },
7211
+ {
7212
+ "inputs": [],
7213
+ "name": "exchangeRateCurrent",
7214
+ "outputs": [
7215
+ {
7216
+ "internalType": "uint256",
7217
+ "name": "",
7218
+ "type": "uint256"
7219
+ }
7220
+ ],
7221
+ "stateMutability": "nonpayable",
7222
+ "type": "function"
7223
+ },
7224
+ {
7225
+ "inputs": [],
7226
+ "name": "exchangeRateStored",
7227
+ "outputs": [
7228
+ {
7229
+ "internalType": "uint256",
7230
+ "name": "",
7231
+ "type": "uint256"
7232
+ }
7233
+ ],
7234
+ "stateMutability": "view",
7235
+ "type": "function"
7236
+ },
7237
+ {
7238
+ "inputs": [],
7239
+ "name": "getAaveAPRs",
7240
+ "outputs": [
7241
+ {
7242
+ "internalType": "uint256",
7243
+ "name": "depositAPR",
7244
+ "type": "uint256"
7245
+ },
7246
+ {
7247
+ "internalType": "uint256",
7248
+ "name": "variableBorrowAPR",
7249
+ "type": "uint256"
7250
+ },
7251
+ {
7252
+ "internalType": "uint256",
7253
+ "name": "stableBorrowAPR",
7254
+ "type": "uint256"
7255
+ }
7256
+ ],
7257
+ "stateMutability": "view",
7258
+ "type": "function"
7259
+ },
7260
+ {
7261
+ "inputs": [
7262
+ {
7263
+ "internalType": "address",
7264
+ "name": "account",
7265
+ "type": "address"
7266
+ }
7267
+ ],
7268
+ "name": "getAccountSnapshot",
7269
+ "outputs": [
7270
+ {
7271
+ "internalType": "uint256",
7272
+ "name": "",
7273
+ "type": "uint256"
7274
+ },
7275
+ {
7276
+ "internalType": "uint256",
7277
+ "name": "",
7278
+ "type": "uint256"
7279
+ },
7280
+ {
7281
+ "internalType": "uint256",
7282
+ "name": "",
7283
+ "type": "uint256"
7284
+ },
7285
+ {
7286
+ "internalType": "uint256",
7287
+ "name": "",
7288
+ "type": "uint256"
7289
+ }
7290
+ ],
7291
+ "stateMutability": "view",
7292
+ "type": "function"
7293
+ },
7294
+ {
7295
+ "inputs": [],
7296
+ "name": "getCash",
7297
+ "outputs": [
7298
+ {
7299
+ "internalType": "uint256",
7300
+ "name": "",
7301
+ "type": "uint256"
7302
+ }
7303
+ ],
7304
+ "stateMutability": "view",
7305
+ "type": "function"
7306
+ },
7307
+ {
7308
+ "inputs": [
7309
+ {
7310
+ "internalType": "address",
7311
+ "name": "underlying_",
7312
+ "type": "address"
7313
+ },
7314
+ {
7315
+ "internalType": "address",
7316
+ "name": "comptroller_",
7317
+ "type": "address"
7318
+ },
7319
+ {
7320
+ "internalType": "address",
7321
+ "name": "interestRateModel_",
7322
+ "type": "address"
7323
+ },
7324
+ {
7325
+ "internalType": "uint256",
7326
+ "name": "initialExchangeRateMantissa_",
7327
+ "type": "uint256"
7328
+ },
7329
+ {
7330
+ "internalType": "string",
7331
+ "name": "name_",
7332
+ "type": "string"
7333
+ },
7334
+ {
7335
+ "internalType": "string",
7336
+ "name": "symbol_",
7337
+ "type": "string"
7338
+ },
7339
+ {
7340
+ "internalType": "uint8",
7341
+ "name": "decimals_",
7342
+ "type": "uint8"
7343
+ },
7344
+ {
7345
+ "internalType": "address payable",
7346
+ "name": "admin_",
7347
+ "type": "address"
7348
+ }
7349
+ ],
7350
+ "name": "initialize",
7351
+ "outputs": [],
7352
+ "stateMutability": "nonpayable",
7353
+ "type": "function"
7354
+ },
7355
+ {
7356
+ "inputs": [
7357
+ {
7358
+ "internalType": "address",
7359
+ "name": "underlying_",
7360
+ "type": "address"
7361
+ },
7362
+ {
7363
+ "internalType": "address",
7364
+ "name": "comptroller_",
7365
+ "type": "address"
7366
+ },
7367
+ {
7368
+ "internalType": "address",
7369
+ "name": "interestRateModel_",
7370
+ "type": "address"
7371
+ },
7372
+ {
7373
+ "internalType": "uint256",
7374
+ "name": "initialExchangeRateMantissa_",
7375
+ "type": "uint256"
7376
+ },
7377
+ {
7378
+ "internalType": "string",
7379
+ "name": "name_",
7380
+ "type": "string"
7381
+ },
7382
+ {
7383
+ "internalType": "string",
7384
+ "name": "symbol_",
7385
+ "type": "string"
7386
+ },
7387
+ {
7388
+ "internalType": "uint8",
7389
+ "name": "decimals_",
7390
+ "type": "uint8"
7391
+ },
7392
+ {
7393
+ "internalType": "address payable",
7394
+ "name": "admin_",
7395
+ "type": "address"
7396
+ },
7397
+ {
7398
+ "internalType": "address",
7399
+ "name": "aaveV3Pool_",
7400
+ "type": "address"
7401
+ }
7402
+ ],
7403
+ "name": "initialize",
7404
+ "outputs": [],
7405
+ "stateMutability": "nonpayable",
7406
+ "type": "function"
7407
+ },
7408
+ {
7409
+ "inputs": [],
7410
+ "name": "interestRateModel",
7411
+ "outputs": [
7412
+ {
7413
+ "internalType": "address",
7414
+ "name": "",
7415
+ "type": "address"
7416
+ }
7417
+ ],
7418
+ "stateMutability": "view",
7419
+ "type": "function"
7420
+ },
7421
+ {
7422
+ "inputs": [],
7423
+ "name": "isCEther",
7424
+ "outputs": [
7425
+ {
7426
+ "internalType": "bool",
7427
+ "name": "",
7428
+ "type": "bool"
7429
+ }
7430
+ ],
7431
+ "stateMutability": "pure",
7432
+ "type": "function"
7433
+ },
7434
+ {
7435
+ "inputs": [],
7436
+ "name": "isCEtherDeprecated",
7437
+ "outputs": [
7438
+ {
7439
+ "internalType": "bool",
7440
+ "name": "",
7441
+ "type": "bool"
7442
+ }
7443
+ ],
7444
+ "stateMutability": "view",
7445
+ "type": "function"
7446
+ },
7447
+ {
7448
+ "inputs": [],
7449
+ "name": "isCToken",
7450
+ "outputs": [
7451
+ {
7452
+ "internalType": "bool",
7453
+ "name": "",
7454
+ "type": "bool"
7455
+ }
7456
+ ],
7457
+ "stateMutability": "pure",
7458
+ "type": "function"
7459
+ },
7460
+ {
7461
+ "inputs": [],
7462
+ "name": "isCTokenDeprecated",
7463
+ "outputs": [
7464
+ {
7465
+ "internalType": "bool",
7466
+ "name": "",
7467
+ "type": "bool"
7468
+ }
7469
+ ],
7470
+ "stateMutability": "view",
7471
+ "type": "function"
7472
+ },
7473
+ {
7474
+ "inputs": [
7475
+ {
7476
+ "internalType": "address",
7477
+ "name": "borrower",
7478
+ "type": "address"
7479
+ },
7480
+ {
7481
+ "internalType": "uint256",
7482
+ "name": "repayAmount",
7483
+ "type": "uint256"
7484
+ },
7485
+ {
7486
+ "internalType": "address",
7487
+ "name": "cTokenCollateral",
7488
+ "type": "address"
7489
+ }
7490
+ ],
7491
+ "name": "liquidateBorrow",
7492
+ "outputs": [],
7493
+ "stateMutability": "nonpayable",
7494
+ "type": "function"
7495
+ },
7496
+ {
7497
+ "inputs": [
7498
+ {
7499
+ "internalType": "address",
7500
+ "name": "cTokenCollateral",
7501
+ "type": "address"
7502
+ },
7503
+ {
7504
+ "internalType": "uint256",
7505
+ "name": "actualRepayAmount",
7506
+ "type": "uint256"
7507
+ }
7508
+ ],
7509
+ "name": "liquidateCalculateSeizeTokens",
7510
+ "outputs": [
7511
+ {
7512
+ "internalType": "uint256",
7513
+ "name": "",
7514
+ "type": "uint256"
7515
+ },
7516
+ {
7517
+ "internalType": "uint256",
7518
+ "name": "",
7519
+ "type": "uint256"
7520
+ }
7521
+ ],
7522
+ "stateMutability": "view",
7523
+ "type": "function"
7524
+ },
7525
+ {
7526
+ "inputs": [
7527
+ {
7528
+ "internalType": "uint256",
7529
+ "name": "mintAmount",
7530
+ "type": "uint256"
7531
+ }
7532
+ ],
7533
+ "name": "mint",
7534
+ "outputs": [],
7535
+ "stateMutability": "nonpayable",
7536
+ "type": "function"
7537
+ },
7538
+ {
7539
+ "inputs": [
7540
+ {
7541
+ "internalType": "uint256",
7542
+ "name": "mintAmount",
7543
+ "type": "uint256"
7544
+ },
7545
+ {
7546
+ "internalType": "uint256",
7547
+ "name": "deadline",
7548
+ "type": "uint256"
7549
+ },
7550
+ {
7551
+ "internalType": "bytes",
7552
+ "name": "signature",
7553
+ "type": "bytes"
7554
+ }
7555
+ ],
7556
+ "name": "mintWithPermit",
7557
+ "outputs": [],
7558
+ "stateMutability": "nonpayable",
7559
+ "type": "function"
7560
+ },
7561
+ {
7562
+ "inputs": [],
7563
+ "name": "name",
7564
+ "outputs": [
7565
+ {
7566
+ "internalType": "string",
7567
+ "name": "",
7568
+ "type": "string"
7569
+ }
7570
+ ],
7571
+ "stateMutability": "view",
7572
+ "type": "function"
7573
+ },
7574
+ {
7575
+ "inputs": [],
7576
+ "name": "pendingAdmin",
7577
+ "outputs": [
7578
+ {
7579
+ "internalType": "address payable",
7580
+ "name": "",
7581
+ "type": "address"
7582
+ }
7583
+ ],
7584
+ "stateMutability": "view",
7585
+ "type": "function"
7586
+ },
7587
+ {
7588
+ "inputs": [],
7589
+ "name": "percentScale",
7590
+ "outputs": [
7591
+ {
7592
+ "internalType": "uint256",
7593
+ "name": "",
7594
+ "type": "uint256"
7595
+ }
7596
+ ],
7597
+ "stateMutability": "view",
7598
+ "type": "function"
7599
+ },
7600
+ {
7601
+ "inputs": [],
7602
+ "name": "protocolSeizeShareMantissa",
7603
+ "outputs": [
7604
+ {
7605
+ "internalType": "uint256",
7606
+ "name": "",
7607
+ "type": "uint256"
7608
+ }
7609
+ ],
7610
+ "stateMutability": "view",
7611
+ "type": "function"
7612
+ },
7613
+ {
7614
+ "inputs": [
7615
+ {
7616
+ "internalType": "uint256",
7617
+ "name": "redeemTokens",
7618
+ "type": "uint256"
7619
+ }
7620
+ ],
7621
+ "name": "redeem",
7622
+ "outputs": [],
7623
+ "stateMutability": "nonpayable",
7624
+ "type": "function"
7625
+ },
7626
+ {
7627
+ "inputs": [
7628
+ {
7629
+ "internalType": "uint256",
7630
+ "name": "redeemAmount",
7631
+ "type": "uint256"
7632
+ }
7633
+ ],
7634
+ "name": "redeemUnderlying",
7635
+ "outputs": [],
7636
+ "stateMutability": "nonpayable",
7637
+ "type": "function"
7638
+ },
7639
+ {
7640
+ "inputs": [
7641
+ {
7642
+ "internalType": "uint256",
7643
+ "name": "repayAmount",
7644
+ "type": "uint256"
7645
+ }
7646
+ ],
7647
+ "name": "repayBorrow",
7648
+ "outputs": [],
7649
+ "stateMutability": "nonpayable",
7650
+ "type": "function"
7651
+ },
7652
+ {
7653
+ "inputs": [
7654
+ {
7655
+ "internalType": "address",
7656
+ "name": "borrower",
7657
+ "type": "address"
7658
+ },
7659
+ {
7660
+ "internalType": "uint256",
7661
+ "name": "repayAmount",
7662
+ "type": "uint256"
7663
+ }
7664
+ ],
7665
+ "name": "repayBorrowBehalf",
7666
+ "outputs": [],
7667
+ "stateMutability": "nonpayable",
7668
+ "type": "function"
7669
+ },
7670
+ {
7671
+ "inputs": [
7672
+ {
7673
+ "internalType": "uint256",
7674
+ "name": "repayAmount",
7675
+ "type": "uint256"
7676
+ },
7677
+ {
7678
+ "internalType": "uint256",
7679
+ "name": "deadline",
7680
+ "type": "uint256"
7681
+ },
7682
+ {
7683
+ "internalType": "bytes",
7684
+ "name": "signature",
7685
+ "type": "bytes"
7686
+ }
7687
+ ],
7688
+ "name": "repayBorrowWithPermit",
7689
+ "outputs": [],
7690
+ "stateMutability": "nonpayable",
7691
+ "type": "function"
7692
+ },
7693
+ {
7694
+ "inputs": [],
7695
+ "name": "reserveFactorMantissa",
7696
+ "outputs": [
7697
+ {
7698
+ "internalType": "uint256",
7699
+ "name": "",
7700
+ "type": "uint256"
7701
+ }
7702
+ ],
7703
+ "stateMutability": "view",
7704
+ "type": "function"
7705
+ },
7706
+ {
7707
+ "inputs": [
7708
+ {
7709
+ "internalType": "address",
7710
+ "name": "addr",
7711
+ "type": "address"
7712
+ }
7713
+ ],
7714
+ "name": "revokeWhitelist",
7715
+ "outputs": [],
7716
+ "stateMutability": "nonpayable",
7717
+ "type": "function"
7718
+ },
7719
+ {
7720
+ "inputs": [],
7721
+ "name": "scaledBalance",
7722
+ "outputs": [
7723
+ {
7724
+ "internalType": "uint256",
7725
+ "name": "",
7726
+ "type": "uint256"
7727
+ }
7728
+ ],
7729
+ "stateMutability": "view",
7730
+ "type": "function"
7731
+ },
7732
+ {
7733
+ "inputs": [
7734
+ {
7735
+ "internalType": "address",
7736
+ "name": "liquidator",
7737
+ "type": "address"
7738
+ },
7739
+ {
7740
+ "internalType": "address",
7741
+ "name": "borrower",
7742
+ "type": "address"
7743
+ },
7744
+ {
7745
+ "internalType": "uint256",
7746
+ "name": "seizeTokens",
7747
+ "type": "uint256"
7748
+ },
7749
+ {
7750
+ "internalType": "uint256",
7751
+ "name": "seizeProfitTokens",
7752
+ "type": "uint256"
7753
+ },
7754
+ {
7755
+ "internalType": "bool",
7756
+ "name": "isRedemption",
7757
+ "type": "bool"
7758
+ },
7759
+ {
7760
+ "internalType": "uint256",
7761
+ "name": "redemptionRateMantissa",
7762
+ "type": "uint256"
7763
+ }
7764
+ ],
7765
+ "name": "seize",
7766
+ "outputs": [],
7767
+ "stateMutability": "nonpayable",
7768
+ "type": "function"
7769
+ },
7770
+ {
7771
+ "inputs": [],
7772
+ "name": "supplyRatePerBlock",
7773
+ "outputs": [
7774
+ {
7775
+ "internalType": "uint256",
7776
+ "name": "",
7777
+ "type": "uint256"
7778
+ }
7779
+ ],
7780
+ "stateMutability": "view",
7781
+ "type": "function"
7782
+ },
7783
+ {
7784
+ "inputs": [
7785
+ {
7786
+ "internalType": "contract ERC20",
7787
+ "name": "token",
7788
+ "type": "address"
7789
+ }
7790
+ ],
7791
+ "name": "sweepToken",
7792
+ "outputs": [],
7793
+ "stateMutability": "nonpayable",
7794
+ "type": "function"
7795
+ },
7796
+ {
7797
+ "inputs": [],
7798
+ "name": "symbol",
7799
+ "outputs": [
7800
+ {
7801
+ "internalType": "string",
7802
+ "name": "",
7803
+ "type": "string"
7804
+ }
7805
+ ],
7806
+ "stateMutability": "view",
7807
+ "type": "function"
7808
+ },
7809
+ {
7810
+ "inputs": [],
7811
+ "name": "tokenType",
7812
+ "outputs": [
7813
+ {
7814
+ "internalType": "enum CToken.CTokenType",
7815
+ "name": "",
7816
+ "type": "uint8"
7817
+ }
7818
+ ],
7819
+ "stateMutability": "pure",
7820
+ "type": "function"
7821
+ },
7822
+ {
7823
+ "inputs": [],
7824
+ "name": "totalBorrows",
7825
+ "outputs": [
7826
+ {
7827
+ "internalType": "uint256",
7828
+ "name": "",
7829
+ "type": "uint256"
7830
+ }
7831
+ ],
7832
+ "stateMutability": "view",
7833
+ "type": "function"
7834
+ },
7835
+ {
7836
+ "inputs": [],
7837
+ "name": "totalBorrowsCurrent",
7838
+ "outputs": [
7839
+ {
7840
+ "internalType": "uint256",
7841
+ "name": "",
7842
+ "type": "uint256"
7843
+ }
7844
+ ],
7845
+ "stateMutability": "nonpayable",
7846
+ "type": "function"
7847
+ },
7848
+ {
7849
+ "inputs": [],
7850
+ "name": "totalReserves",
7851
+ "outputs": [
7852
+ {
7853
+ "internalType": "uint256",
7854
+ "name": "",
7855
+ "type": "uint256"
7856
+ }
7857
+ ],
7858
+ "stateMutability": "view",
7859
+ "type": "function"
7860
+ },
7861
+ {
7862
+ "inputs": [],
7863
+ "name": "totalSupply",
7864
+ "outputs": [
7865
+ {
7866
+ "internalType": "uint256",
7867
+ "name": "",
7868
+ "type": "uint256"
7869
+ }
7870
+ ],
7871
+ "stateMutability": "view",
7872
+ "type": "function"
7873
+ },
7874
+ {
7875
+ "inputs": [
7876
+ {
7877
+ "internalType": "address",
7878
+ "name": "dst",
7879
+ "type": "address"
7880
+ },
7881
+ {
7882
+ "internalType": "uint256",
7883
+ "name": "amount",
7884
+ "type": "uint256"
7885
+ }
7886
+ ],
7887
+ "name": "transfer",
7888
+ "outputs": [
7889
+ {
7890
+ "internalType": "bool",
7891
+ "name": "",
7892
+ "type": "bool"
7893
+ }
7894
+ ],
7895
+ "stateMutability": "nonpayable",
7896
+ "type": "function"
7897
+ },
7898
+ {
7899
+ "inputs": [
7900
+ {
7901
+ "internalType": "address",
7902
+ "name": "src",
7903
+ "type": "address"
7904
+ },
7905
+ {
7906
+ "internalType": "address",
7907
+ "name": "dst",
7908
+ "type": "address"
7909
+ },
7910
+ {
7911
+ "internalType": "uint256",
7912
+ "name": "amount",
7913
+ "type": "uint256"
7914
+ }
7915
+ ],
7916
+ "name": "transferFrom",
7917
+ "outputs": [
7918
+ {
7919
+ "internalType": "bool",
7920
+ "name": "",
7921
+ "type": "bool"
7922
+ }
7923
+ ],
7924
+ "stateMutability": "nonpayable",
7925
+ "type": "function"
7926
+ },
7927
+ {
7928
+ "inputs": [],
7929
+ "name": "underlying",
7930
+ "outputs": [
7931
+ {
7932
+ "internalType": "address",
7933
+ "name": "",
7934
+ "type": "address"
7935
+ }
7936
+ ],
7937
+ "stateMutability": "view",
7938
+ "type": "function"
7939
+ },
7940
+ {
7941
+ "inputs": [],
7942
+ "name": "underlyingBalance",
7943
+ "outputs": [
7944
+ {
7945
+ "internalType": "uint256",
7946
+ "name": "",
7947
+ "type": "uint256"
7948
+ }
7949
+ ],
7950
+ "stateMutability": "view",
7951
+ "type": "function"
7952
+ },
7953
+ {
7954
+ "inputs": [
7955
+ {
7956
+ "internalType": "address",
7957
+ "name": "addr",
7958
+ "type": "address"
7959
+ }
7960
+ ],
7961
+ "name": "whitelist",
7962
+ "outputs": [],
7963
+ "stateMutability": "nonpayable",
7964
+ "type": "function"
7965
+ },
7966
+ {
7967
+ "inputs": [
7968
+ {
7969
+ "internalType": "address",
7970
+ "name": "",
7971
+ "type": "address"
7972
+ }
7973
+ ],
7974
+ "name": "whitelisted",
7975
+ "outputs": [
7976
+ {
7977
+ "internalType": "bool",
7978
+ "name": "",
7979
+ "type": "bool"
7980
+ }
7981
+ ],
7982
+ "stateMutability": "view",
7983
+ "type": "function"
7984
+ }
7985
+ ],
5876
7986
  "CErc20": [
5877
7987
  {
5878
7988
  "inputs": [],