@meterio/sumer-js 0.2.43 → 0.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +62 -0
- package/dist/nodejs/abi.js +1971 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/errorABIs.js +427 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +62 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -1
- package/package.json +1 -1
package/dist/nodejs/errorABIs.js
CHANGED
|
@@ -4976,6 +4976,433 @@ exports.errorABIs = [
|
|
|
4976
4976
|
"inputs": [],
|
|
4977
4977
|
"name": "UnderlyingBalanceError",
|
|
4978
4978
|
"type": "error"
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"inputs": [],
|
|
4982
|
+
"name": "AddReservesMarketNotFresh",
|
|
4983
|
+
"type": "error"
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"inputs": [],
|
|
4987
|
+
"name": "AddReservesOverflow",
|
|
4988
|
+
"type": "error"
|
|
4989
|
+
},
|
|
4990
|
+
{
|
|
4991
|
+
"inputs": [],
|
|
4992
|
+
"name": "BorrowAndDepositBackFailed",
|
|
4993
|
+
"type": "error"
|
|
4994
|
+
},
|
|
4995
|
+
{
|
|
4996
|
+
"inputs": [],
|
|
4997
|
+
"name": "BorrowCapReached",
|
|
4998
|
+
"type": "error"
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
"inputs": [],
|
|
5002
|
+
"name": "BorrowCashNotAvailable",
|
|
5003
|
+
"type": "error"
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
"inputs": [],
|
|
5007
|
+
"name": "BorrowMarketNotFresh",
|
|
5008
|
+
"type": "error"
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
"inputs": [],
|
|
5012
|
+
"name": "BorrowPaused",
|
|
5013
|
+
"type": "error"
|
|
5014
|
+
},
|
|
5015
|
+
{
|
|
5016
|
+
"inputs": [
|
|
5017
|
+
{
|
|
5018
|
+
"internalType": "uint256",
|
|
5019
|
+
"name": "usdThreshold",
|
|
5020
|
+
"type": "uint256"
|
|
5021
|
+
}
|
|
5022
|
+
],
|
|
5023
|
+
"name": "BorrowValueMustBeLargerThanThreshold",
|
|
5024
|
+
"type": "error"
|
|
5025
|
+
},
|
|
5026
|
+
{
|
|
5027
|
+
"inputs": [],
|
|
5028
|
+
"name": "CantExitMarketWithNonZeroBorrowBalance",
|
|
5029
|
+
"type": "error"
|
|
5030
|
+
},
|
|
5031
|
+
{
|
|
5032
|
+
"inputs": [],
|
|
5033
|
+
"name": "CantSweepUnderlying",
|
|
5034
|
+
"type": "error"
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"inputs": [],
|
|
5038
|
+
"name": "ComptrollerMismatch",
|
|
5039
|
+
"type": "error"
|
|
5040
|
+
},
|
|
5041
|
+
{
|
|
5042
|
+
"inputs": [],
|
|
5043
|
+
"name": "EitherAssetOrDebtMustBeZero",
|
|
5044
|
+
"type": "error"
|
|
5045
|
+
},
|
|
5046
|
+
{
|
|
5047
|
+
"inputs": [
|
|
5048
|
+
{
|
|
5049
|
+
"internalType": "uint8",
|
|
5050
|
+
"name": "groupId",
|
|
5051
|
+
"type": "uint8"
|
|
5052
|
+
},
|
|
5053
|
+
{
|
|
5054
|
+
"internalType": "uint256",
|
|
5055
|
+
"name": "cDepositVal",
|
|
5056
|
+
"type": "uint256"
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
"internalType": "uint256",
|
|
5060
|
+
"name": "suDepositVal",
|
|
5061
|
+
"type": "uint256"
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"internalType": "uint256",
|
|
5065
|
+
"name": "cBorrowVal",
|
|
5066
|
+
"type": "uint256"
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
"internalType": "uint256",
|
|
5070
|
+
"name": "suBorrowVal",
|
|
5071
|
+
"type": "uint256"
|
|
5072
|
+
}
|
|
5073
|
+
],
|
|
5074
|
+
"name": "EitherAssetOrDebtMustBeZeroInGroup",
|
|
5075
|
+
"type": "error"
|
|
5076
|
+
},
|
|
5077
|
+
{
|
|
5078
|
+
"inputs": [],
|
|
5079
|
+
"name": "ExpiredSignature",
|
|
5080
|
+
"type": "error"
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
"inputs": [],
|
|
5084
|
+
"name": "InsufficientCollateral",
|
|
5085
|
+
"type": "error"
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
"inputs": [],
|
|
5089
|
+
"name": "InsufficientShortfall",
|
|
5090
|
+
"type": "error"
|
|
5091
|
+
},
|
|
5092
|
+
{
|
|
5093
|
+
"inputs": [],
|
|
5094
|
+
"name": "InvalidAddress",
|
|
5095
|
+
"type": "error"
|
|
5096
|
+
},
|
|
5097
|
+
{
|
|
5098
|
+
"inputs": [],
|
|
5099
|
+
"name": "InvalidAmount",
|
|
5100
|
+
"type": "error"
|
|
5101
|
+
},
|
|
5102
|
+
{
|
|
5103
|
+
"inputs": [],
|
|
5104
|
+
"name": "InvalidBlockNumber",
|
|
5105
|
+
"type": "error"
|
|
5106
|
+
},
|
|
5107
|
+
{
|
|
5108
|
+
"inputs": [],
|
|
5109
|
+
"name": "InvalidCloseFactor",
|
|
5110
|
+
"type": "error"
|
|
5111
|
+
},
|
|
5112
|
+
{
|
|
5113
|
+
"inputs": [],
|
|
5114
|
+
"name": "InvalidComptroller",
|
|
5115
|
+
"type": "error"
|
|
5116
|
+
},
|
|
5117
|
+
{
|
|
5118
|
+
"inputs": [],
|
|
5119
|
+
"name": "InvalidDiscountRate",
|
|
5120
|
+
"type": "error"
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"inputs": [],
|
|
5124
|
+
"name": "InvalidExchangeRate",
|
|
5125
|
+
"type": "error"
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
"inputs": [],
|
|
5129
|
+
"name": "InvalidGroupId",
|
|
5130
|
+
"type": "error"
|
|
5131
|
+
},
|
|
5132
|
+
{
|
|
5133
|
+
"inputs": [],
|
|
5134
|
+
"name": "InvalidInput",
|
|
5135
|
+
"type": "error"
|
|
5136
|
+
},
|
|
5137
|
+
{
|
|
5138
|
+
"inputs": [],
|
|
5139
|
+
"name": "InvalidInterestRateModel",
|
|
5140
|
+
"type": "error"
|
|
5141
|
+
},
|
|
5142
|
+
{
|
|
5143
|
+
"inputs": [],
|
|
5144
|
+
"name": "InvalidMinSuBorrowValue",
|
|
5145
|
+
"type": "error"
|
|
5146
|
+
},
|
|
5147
|
+
{
|
|
5148
|
+
"inputs": [],
|
|
5149
|
+
"name": "InvalidReduceAmount",
|
|
5150
|
+
"type": "error"
|
|
5151
|
+
},
|
|
5152
|
+
{
|
|
5153
|
+
"inputs": [],
|
|
5154
|
+
"name": "InvalidReserveFactor",
|
|
5155
|
+
"type": "error"
|
|
5156
|
+
},
|
|
5157
|
+
{
|
|
5158
|
+
"inputs": [],
|
|
5159
|
+
"name": "InvalidSignatureForRedeemFaceValue",
|
|
5160
|
+
"type": "error"
|
|
5161
|
+
},
|
|
5162
|
+
{
|
|
5163
|
+
"inputs": [],
|
|
5164
|
+
"name": "InvalidSignatureLength",
|
|
5165
|
+
"type": "error"
|
|
5166
|
+
},
|
|
5167
|
+
{
|
|
5168
|
+
"inputs": [],
|
|
5169
|
+
"name": "InvalidSuToken",
|
|
5170
|
+
"type": "error"
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
"inputs": [],
|
|
5174
|
+
"name": "InvalidTimestamp",
|
|
5175
|
+
"type": "error"
|
|
5176
|
+
},
|
|
5177
|
+
{
|
|
5178
|
+
"inputs": [],
|
|
5179
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
5180
|
+
"type": "error"
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
"inputs": [],
|
|
5184
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
5185
|
+
"type": "error"
|
|
5186
|
+
},
|
|
5187
|
+
{
|
|
5188
|
+
"inputs": [],
|
|
5189
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
5190
|
+
"type": "error"
|
|
5191
|
+
},
|
|
5192
|
+
{
|
|
5193
|
+
"inputs": [],
|
|
5194
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
5195
|
+
"type": "error"
|
|
5196
|
+
},
|
|
5197
|
+
{
|
|
5198
|
+
"inputs": [],
|
|
5199
|
+
"name": "LiquidateCollateralMarketNotFresh",
|
|
5200
|
+
"type": "error"
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"inputs": [],
|
|
5204
|
+
"name": "LiquidateMarketNotFresh",
|
|
5205
|
+
"type": "error"
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
"inputs": [],
|
|
5209
|
+
"name": "MarketAlreadyListed",
|
|
5210
|
+
"type": "error"
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
"inputs": [],
|
|
5214
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
5215
|
+
"type": "error"
|
|
5216
|
+
},
|
|
5217
|
+
{
|
|
5218
|
+
"inputs": [],
|
|
5219
|
+
"name": "MarketNotListed",
|
|
5220
|
+
"type": "error"
|
|
5221
|
+
},
|
|
5222
|
+
{
|
|
5223
|
+
"inputs": [],
|
|
5224
|
+
"name": "MinDelayNotReached",
|
|
5225
|
+
"type": "error"
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
"inputs": [],
|
|
5229
|
+
"name": "MintMarketNotFresh",
|
|
5230
|
+
"type": "error"
|
|
5231
|
+
},
|
|
5232
|
+
{
|
|
5233
|
+
"inputs": [],
|
|
5234
|
+
"name": "MintPaused",
|
|
5235
|
+
"type": "error"
|
|
5236
|
+
},
|
|
5237
|
+
{
|
|
5238
|
+
"inputs": [],
|
|
5239
|
+
"name": "NoRedemptionProvider",
|
|
5240
|
+
"type": "error"
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
"inputs": [],
|
|
5244
|
+
"name": "NotCToken",
|
|
5245
|
+
"type": "error"
|
|
5246
|
+
},
|
|
5247
|
+
{
|
|
5248
|
+
"inputs": [],
|
|
5249
|
+
"name": "NotEnoughForSeize",
|
|
5250
|
+
"type": "error"
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"inputs": [],
|
|
5254
|
+
"name": "NotLiquidatableYet",
|
|
5255
|
+
"type": "error"
|
|
5256
|
+
},
|
|
5257
|
+
{
|
|
5258
|
+
"inputs": [],
|
|
5259
|
+
"name": "NotSuToken",
|
|
5260
|
+
"type": "error"
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"inputs": [],
|
|
5264
|
+
"name": "OnlyAdmin",
|
|
5265
|
+
"type": "error"
|
|
5266
|
+
},
|
|
5267
|
+
{
|
|
5268
|
+
"inputs": [],
|
|
5269
|
+
"name": "OnlyAdminOrPauser",
|
|
5270
|
+
"type": "error"
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
"inputs": [],
|
|
5274
|
+
"name": "OnlyCToken",
|
|
5275
|
+
"type": "error"
|
|
5276
|
+
},
|
|
5277
|
+
{
|
|
5278
|
+
"inputs": [],
|
|
5279
|
+
"name": "OnlyListedCToken",
|
|
5280
|
+
"type": "error"
|
|
5281
|
+
},
|
|
5282
|
+
{
|
|
5283
|
+
"inputs": [],
|
|
5284
|
+
"name": "OnlyPendingAdmin",
|
|
5285
|
+
"type": "error"
|
|
5286
|
+
},
|
|
5287
|
+
{
|
|
5288
|
+
"inputs": [],
|
|
5289
|
+
"name": "OnlyRedemptionManager",
|
|
5290
|
+
"type": "error"
|
|
5291
|
+
},
|
|
5292
|
+
{
|
|
5293
|
+
"inputs": [],
|
|
5294
|
+
"name": "PriceError",
|
|
5295
|
+
"type": "error"
|
|
5296
|
+
},
|
|
5297
|
+
{
|
|
5298
|
+
"inputs": [],
|
|
5299
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
5300
|
+
"type": "error"
|
|
5301
|
+
},
|
|
5302
|
+
{
|
|
5303
|
+
"inputs": [],
|
|
5304
|
+
"name": "RedeemMarketNotFresh",
|
|
5305
|
+
"type": "error"
|
|
5306
|
+
},
|
|
5307
|
+
{
|
|
5308
|
+
"inputs": [],
|
|
5309
|
+
"name": "RedeemTransferOutNotPossible",
|
|
5310
|
+
"type": "error"
|
|
5311
|
+
},
|
|
5312
|
+
{
|
|
5313
|
+
"inputs": [],
|
|
5314
|
+
"name": "RedemptionSeizeTooMuch",
|
|
5315
|
+
"type": "error"
|
|
5316
|
+
},
|
|
5317
|
+
{
|
|
5318
|
+
"inputs": [],
|
|
5319
|
+
"name": "RedemptionSignerNotInitialized",
|
|
5320
|
+
"type": "error"
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"inputs": [],
|
|
5324
|
+
"name": "ReduceReservesCashNotAvailable",
|
|
5325
|
+
"type": "error"
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
"inputs": [],
|
|
5329
|
+
"name": "ReduceReservesMarketNotFresh",
|
|
5330
|
+
"type": "error"
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"inputs": [],
|
|
5334
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
5335
|
+
"type": "error"
|
|
5336
|
+
},
|
|
5337
|
+
{
|
|
5338
|
+
"inputs": [],
|
|
5339
|
+
"name": "SeizePaused",
|
|
5340
|
+
"type": "error"
|
|
5341
|
+
},
|
|
5342
|
+
{
|
|
5343
|
+
"inputs": [],
|
|
5344
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
5345
|
+
"type": "error"
|
|
5346
|
+
},
|
|
5347
|
+
{
|
|
5348
|
+
"inputs": [],
|
|
5349
|
+
"name": "SenderMustBeCToken",
|
|
5350
|
+
"type": "error"
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"inputs": [],
|
|
5354
|
+
"name": "SetInterestRateModelMarketNotFresh",
|
|
5355
|
+
"type": "error"
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
"inputs": [],
|
|
5359
|
+
"name": "SetReservesFactorMarketNotFresh",
|
|
5360
|
+
"type": "error"
|
|
5361
|
+
},
|
|
5362
|
+
{
|
|
5363
|
+
"inputs": [],
|
|
5364
|
+
"name": "SupplyCapReached",
|
|
5365
|
+
"type": "error"
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"inputs": [],
|
|
5369
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
5370
|
+
"type": "error"
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"inputs": [],
|
|
5374
|
+
"name": "TokenTransferInFailed",
|
|
5375
|
+
"type": "error"
|
|
5376
|
+
},
|
|
5377
|
+
{
|
|
5378
|
+
"inputs": [],
|
|
5379
|
+
"name": "TokenTransferOutFailed",
|
|
5380
|
+
"type": "error"
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
"inputs": [],
|
|
5384
|
+
"name": "TooMuchRepay",
|
|
5385
|
+
"type": "error"
|
|
5386
|
+
},
|
|
5387
|
+
{
|
|
5388
|
+
"inputs": [],
|
|
5389
|
+
"name": "TransferNotAllowed",
|
|
5390
|
+
"type": "error"
|
|
5391
|
+
},
|
|
5392
|
+
{
|
|
5393
|
+
"inputs": [],
|
|
5394
|
+
"name": "TransferPaused",
|
|
5395
|
+
"type": "error"
|
|
5396
|
+
},
|
|
5397
|
+
{
|
|
5398
|
+
"inputs": [],
|
|
5399
|
+
"name": "UnderlyingBalanceError",
|
|
5400
|
+
"type": "error"
|
|
5401
|
+
},
|
|
5402
|
+
{
|
|
5403
|
+
"inputs": [],
|
|
5404
|
+
"name": "ZeroAddressNotAllowed",
|
|
5405
|
+
"type": "error"
|
|
4979
5406
|
}
|
|
4980
5407
|
];
|
|
4981
5408
|
//# sourceMappingURL=errorABIs.js.map
|