@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/abi.js
CHANGED
|
@@ -39203,6 +39203,1977 @@ exports.abi = {
|
|
|
39203
39203
|
"stateMutability": "view",
|
|
39204
39204
|
"type": "function"
|
|
39205
39205
|
}
|
|
39206
|
+
],
|
|
39207
|
+
"ComptrollerV2": [
|
|
39208
|
+
{
|
|
39209
|
+
"inputs": [],
|
|
39210
|
+
"stateMutability": "nonpayable",
|
|
39211
|
+
"type": "constructor"
|
|
39212
|
+
},
|
|
39213
|
+
{
|
|
39214
|
+
"inputs": [],
|
|
39215
|
+
"name": "AddReservesMarketNotFresh",
|
|
39216
|
+
"type": "error"
|
|
39217
|
+
},
|
|
39218
|
+
{
|
|
39219
|
+
"inputs": [],
|
|
39220
|
+
"name": "AddReservesOverflow",
|
|
39221
|
+
"type": "error"
|
|
39222
|
+
},
|
|
39223
|
+
{
|
|
39224
|
+
"inputs": [],
|
|
39225
|
+
"name": "BorrowAndDepositBackFailed",
|
|
39226
|
+
"type": "error"
|
|
39227
|
+
},
|
|
39228
|
+
{
|
|
39229
|
+
"inputs": [],
|
|
39230
|
+
"name": "BorrowCapReached",
|
|
39231
|
+
"type": "error"
|
|
39232
|
+
},
|
|
39233
|
+
{
|
|
39234
|
+
"inputs": [],
|
|
39235
|
+
"name": "BorrowCashNotAvailable",
|
|
39236
|
+
"type": "error"
|
|
39237
|
+
},
|
|
39238
|
+
{
|
|
39239
|
+
"inputs": [],
|
|
39240
|
+
"name": "BorrowMarketNotFresh",
|
|
39241
|
+
"type": "error"
|
|
39242
|
+
},
|
|
39243
|
+
{
|
|
39244
|
+
"inputs": [],
|
|
39245
|
+
"name": "BorrowPaused",
|
|
39246
|
+
"type": "error"
|
|
39247
|
+
},
|
|
39248
|
+
{
|
|
39249
|
+
"inputs": [
|
|
39250
|
+
{
|
|
39251
|
+
"internalType": "uint256",
|
|
39252
|
+
"name": "usdThreshold",
|
|
39253
|
+
"type": "uint256"
|
|
39254
|
+
}
|
|
39255
|
+
],
|
|
39256
|
+
"name": "BorrowValueMustBeLargerThanThreshold",
|
|
39257
|
+
"type": "error"
|
|
39258
|
+
},
|
|
39259
|
+
{
|
|
39260
|
+
"inputs": [],
|
|
39261
|
+
"name": "CantExitMarketWithNonZeroBorrowBalance",
|
|
39262
|
+
"type": "error"
|
|
39263
|
+
},
|
|
39264
|
+
{
|
|
39265
|
+
"inputs": [],
|
|
39266
|
+
"name": "CantSweepUnderlying",
|
|
39267
|
+
"type": "error"
|
|
39268
|
+
},
|
|
39269
|
+
{
|
|
39270
|
+
"inputs": [],
|
|
39271
|
+
"name": "ComptrollerMismatch",
|
|
39272
|
+
"type": "error"
|
|
39273
|
+
},
|
|
39274
|
+
{
|
|
39275
|
+
"inputs": [],
|
|
39276
|
+
"name": "EitherAssetOrDebtMustBeZero",
|
|
39277
|
+
"type": "error"
|
|
39278
|
+
},
|
|
39279
|
+
{
|
|
39280
|
+
"inputs": [
|
|
39281
|
+
{
|
|
39282
|
+
"internalType": "uint8",
|
|
39283
|
+
"name": "groupId",
|
|
39284
|
+
"type": "uint8"
|
|
39285
|
+
},
|
|
39286
|
+
{
|
|
39287
|
+
"internalType": "uint256",
|
|
39288
|
+
"name": "cDepositVal",
|
|
39289
|
+
"type": "uint256"
|
|
39290
|
+
},
|
|
39291
|
+
{
|
|
39292
|
+
"internalType": "uint256",
|
|
39293
|
+
"name": "suDepositVal",
|
|
39294
|
+
"type": "uint256"
|
|
39295
|
+
},
|
|
39296
|
+
{
|
|
39297
|
+
"internalType": "uint256",
|
|
39298
|
+
"name": "cBorrowVal",
|
|
39299
|
+
"type": "uint256"
|
|
39300
|
+
},
|
|
39301
|
+
{
|
|
39302
|
+
"internalType": "uint256",
|
|
39303
|
+
"name": "suBorrowVal",
|
|
39304
|
+
"type": "uint256"
|
|
39305
|
+
}
|
|
39306
|
+
],
|
|
39307
|
+
"name": "EitherAssetOrDebtMustBeZeroInGroup",
|
|
39308
|
+
"type": "error"
|
|
39309
|
+
},
|
|
39310
|
+
{
|
|
39311
|
+
"inputs": [],
|
|
39312
|
+
"name": "ExpiredSignature",
|
|
39313
|
+
"type": "error"
|
|
39314
|
+
},
|
|
39315
|
+
{
|
|
39316
|
+
"inputs": [],
|
|
39317
|
+
"name": "InsufficientCollateral",
|
|
39318
|
+
"type": "error"
|
|
39319
|
+
},
|
|
39320
|
+
{
|
|
39321
|
+
"inputs": [],
|
|
39322
|
+
"name": "InsufficientShortfall",
|
|
39323
|
+
"type": "error"
|
|
39324
|
+
},
|
|
39325
|
+
{
|
|
39326
|
+
"inputs": [],
|
|
39327
|
+
"name": "InvalidAddress",
|
|
39328
|
+
"type": "error"
|
|
39329
|
+
},
|
|
39330
|
+
{
|
|
39331
|
+
"inputs": [],
|
|
39332
|
+
"name": "InvalidAmount",
|
|
39333
|
+
"type": "error"
|
|
39334
|
+
},
|
|
39335
|
+
{
|
|
39336
|
+
"inputs": [],
|
|
39337
|
+
"name": "InvalidBlockNumber",
|
|
39338
|
+
"type": "error"
|
|
39339
|
+
},
|
|
39340
|
+
{
|
|
39341
|
+
"inputs": [],
|
|
39342
|
+
"name": "InvalidCloseFactor",
|
|
39343
|
+
"type": "error"
|
|
39344
|
+
},
|
|
39345
|
+
{
|
|
39346
|
+
"inputs": [],
|
|
39347
|
+
"name": "InvalidComptroller",
|
|
39348
|
+
"type": "error"
|
|
39349
|
+
},
|
|
39350
|
+
{
|
|
39351
|
+
"inputs": [],
|
|
39352
|
+
"name": "InvalidDiscountRate",
|
|
39353
|
+
"type": "error"
|
|
39354
|
+
},
|
|
39355
|
+
{
|
|
39356
|
+
"inputs": [],
|
|
39357
|
+
"name": "InvalidExchangeRate",
|
|
39358
|
+
"type": "error"
|
|
39359
|
+
},
|
|
39360
|
+
{
|
|
39361
|
+
"inputs": [],
|
|
39362
|
+
"name": "InvalidGroupId",
|
|
39363
|
+
"type": "error"
|
|
39364
|
+
},
|
|
39365
|
+
{
|
|
39366
|
+
"inputs": [],
|
|
39367
|
+
"name": "InvalidInput",
|
|
39368
|
+
"type": "error"
|
|
39369
|
+
},
|
|
39370
|
+
{
|
|
39371
|
+
"inputs": [],
|
|
39372
|
+
"name": "InvalidInterestRateModel",
|
|
39373
|
+
"type": "error"
|
|
39374
|
+
},
|
|
39375
|
+
{
|
|
39376
|
+
"inputs": [],
|
|
39377
|
+
"name": "InvalidMinSuBorrowValue",
|
|
39378
|
+
"type": "error"
|
|
39379
|
+
},
|
|
39380
|
+
{
|
|
39381
|
+
"inputs": [],
|
|
39382
|
+
"name": "InvalidReduceAmount",
|
|
39383
|
+
"type": "error"
|
|
39384
|
+
},
|
|
39385
|
+
{
|
|
39386
|
+
"inputs": [],
|
|
39387
|
+
"name": "InvalidReserveFactor",
|
|
39388
|
+
"type": "error"
|
|
39389
|
+
},
|
|
39390
|
+
{
|
|
39391
|
+
"inputs": [],
|
|
39392
|
+
"name": "InvalidSignatureForRedeemFaceValue",
|
|
39393
|
+
"type": "error"
|
|
39394
|
+
},
|
|
39395
|
+
{
|
|
39396
|
+
"inputs": [],
|
|
39397
|
+
"name": "InvalidSignatureLength",
|
|
39398
|
+
"type": "error"
|
|
39399
|
+
},
|
|
39400
|
+
{
|
|
39401
|
+
"inputs": [],
|
|
39402
|
+
"name": "InvalidSuToken",
|
|
39403
|
+
"type": "error"
|
|
39404
|
+
},
|
|
39405
|
+
{
|
|
39406
|
+
"inputs": [],
|
|
39407
|
+
"name": "InvalidTimestamp",
|
|
39408
|
+
"type": "error"
|
|
39409
|
+
},
|
|
39410
|
+
{
|
|
39411
|
+
"inputs": [],
|
|
39412
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
39413
|
+
"type": "error"
|
|
39414
|
+
},
|
|
39415
|
+
{
|
|
39416
|
+
"inputs": [],
|
|
39417
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
39418
|
+
"type": "error"
|
|
39419
|
+
},
|
|
39420
|
+
{
|
|
39421
|
+
"inputs": [],
|
|
39422
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
39423
|
+
"type": "error"
|
|
39424
|
+
},
|
|
39425
|
+
{
|
|
39426
|
+
"inputs": [],
|
|
39427
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
39428
|
+
"type": "error"
|
|
39429
|
+
},
|
|
39430
|
+
{
|
|
39431
|
+
"inputs": [],
|
|
39432
|
+
"name": "LiquidateCollateralMarketNotFresh",
|
|
39433
|
+
"type": "error"
|
|
39434
|
+
},
|
|
39435
|
+
{
|
|
39436
|
+
"inputs": [],
|
|
39437
|
+
"name": "LiquidateMarketNotFresh",
|
|
39438
|
+
"type": "error"
|
|
39439
|
+
},
|
|
39440
|
+
{
|
|
39441
|
+
"inputs": [],
|
|
39442
|
+
"name": "MarketAlreadyListed",
|
|
39443
|
+
"type": "error"
|
|
39444
|
+
},
|
|
39445
|
+
{
|
|
39446
|
+
"inputs": [],
|
|
39447
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
39448
|
+
"type": "error"
|
|
39449
|
+
},
|
|
39450
|
+
{
|
|
39451
|
+
"inputs": [],
|
|
39452
|
+
"name": "MarketNotListed",
|
|
39453
|
+
"type": "error"
|
|
39454
|
+
},
|
|
39455
|
+
{
|
|
39456
|
+
"inputs": [],
|
|
39457
|
+
"name": "MinDelayNotReached",
|
|
39458
|
+
"type": "error"
|
|
39459
|
+
},
|
|
39460
|
+
{
|
|
39461
|
+
"inputs": [],
|
|
39462
|
+
"name": "MintMarketNotFresh",
|
|
39463
|
+
"type": "error"
|
|
39464
|
+
},
|
|
39465
|
+
{
|
|
39466
|
+
"inputs": [],
|
|
39467
|
+
"name": "MintPaused",
|
|
39468
|
+
"type": "error"
|
|
39469
|
+
},
|
|
39470
|
+
{
|
|
39471
|
+
"inputs": [],
|
|
39472
|
+
"name": "NoRedemptionProvider",
|
|
39473
|
+
"type": "error"
|
|
39474
|
+
},
|
|
39475
|
+
{
|
|
39476
|
+
"inputs": [],
|
|
39477
|
+
"name": "NotCToken",
|
|
39478
|
+
"type": "error"
|
|
39479
|
+
},
|
|
39480
|
+
{
|
|
39481
|
+
"inputs": [],
|
|
39482
|
+
"name": "NotEnoughForSeize",
|
|
39483
|
+
"type": "error"
|
|
39484
|
+
},
|
|
39485
|
+
{
|
|
39486
|
+
"inputs": [],
|
|
39487
|
+
"name": "NotLiquidatableYet",
|
|
39488
|
+
"type": "error"
|
|
39489
|
+
},
|
|
39490
|
+
{
|
|
39491
|
+
"inputs": [],
|
|
39492
|
+
"name": "NotSuToken",
|
|
39493
|
+
"type": "error"
|
|
39494
|
+
},
|
|
39495
|
+
{
|
|
39496
|
+
"inputs": [],
|
|
39497
|
+
"name": "OnlyAdmin",
|
|
39498
|
+
"type": "error"
|
|
39499
|
+
},
|
|
39500
|
+
{
|
|
39501
|
+
"inputs": [],
|
|
39502
|
+
"name": "OnlyAdminOrPauser",
|
|
39503
|
+
"type": "error"
|
|
39504
|
+
},
|
|
39505
|
+
{
|
|
39506
|
+
"inputs": [],
|
|
39507
|
+
"name": "OnlyCToken",
|
|
39508
|
+
"type": "error"
|
|
39509
|
+
},
|
|
39510
|
+
{
|
|
39511
|
+
"inputs": [],
|
|
39512
|
+
"name": "OnlyListedCToken",
|
|
39513
|
+
"type": "error"
|
|
39514
|
+
},
|
|
39515
|
+
{
|
|
39516
|
+
"inputs": [],
|
|
39517
|
+
"name": "OnlyPendingAdmin",
|
|
39518
|
+
"type": "error"
|
|
39519
|
+
},
|
|
39520
|
+
{
|
|
39521
|
+
"inputs": [],
|
|
39522
|
+
"name": "OnlyRedemptionManager",
|
|
39523
|
+
"type": "error"
|
|
39524
|
+
},
|
|
39525
|
+
{
|
|
39526
|
+
"inputs": [],
|
|
39527
|
+
"name": "PriceError",
|
|
39528
|
+
"type": "error"
|
|
39529
|
+
},
|
|
39530
|
+
{
|
|
39531
|
+
"inputs": [],
|
|
39532
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
39533
|
+
"type": "error"
|
|
39534
|
+
},
|
|
39535
|
+
{
|
|
39536
|
+
"inputs": [],
|
|
39537
|
+
"name": "RedeemMarketNotFresh",
|
|
39538
|
+
"type": "error"
|
|
39539
|
+
},
|
|
39540
|
+
{
|
|
39541
|
+
"inputs": [],
|
|
39542
|
+
"name": "RedeemTransferOutNotPossible",
|
|
39543
|
+
"type": "error"
|
|
39544
|
+
},
|
|
39545
|
+
{
|
|
39546
|
+
"inputs": [],
|
|
39547
|
+
"name": "RedemptionSeizeTooMuch",
|
|
39548
|
+
"type": "error"
|
|
39549
|
+
},
|
|
39550
|
+
{
|
|
39551
|
+
"inputs": [],
|
|
39552
|
+
"name": "RedemptionSignerNotInitialized",
|
|
39553
|
+
"type": "error"
|
|
39554
|
+
},
|
|
39555
|
+
{
|
|
39556
|
+
"inputs": [],
|
|
39557
|
+
"name": "ReduceReservesCashNotAvailable",
|
|
39558
|
+
"type": "error"
|
|
39559
|
+
},
|
|
39560
|
+
{
|
|
39561
|
+
"inputs": [],
|
|
39562
|
+
"name": "ReduceReservesMarketNotFresh",
|
|
39563
|
+
"type": "error"
|
|
39564
|
+
},
|
|
39565
|
+
{
|
|
39566
|
+
"inputs": [],
|
|
39567
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
39568
|
+
"type": "error"
|
|
39569
|
+
},
|
|
39570
|
+
{
|
|
39571
|
+
"inputs": [],
|
|
39572
|
+
"name": "SeizePaused",
|
|
39573
|
+
"type": "error"
|
|
39574
|
+
},
|
|
39575
|
+
{
|
|
39576
|
+
"inputs": [],
|
|
39577
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
39578
|
+
"type": "error"
|
|
39579
|
+
},
|
|
39580
|
+
{
|
|
39581
|
+
"inputs": [],
|
|
39582
|
+
"name": "SenderMustBeCToken",
|
|
39583
|
+
"type": "error"
|
|
39584
|
+
},
|
|
39585
|
+
{
|
|
39586
|
+
"inputs": [],
|
|
39587
|
+
"name": "SetInterestRateModelMarketNotFresh",
|
|
39588
|
+
"type": "error"
|
|
39589
|
+
},
|
|
39590
|
+
{
|
|
39591
|
+
"inputs": [],
|
|
39592
|
+
"name": "SetReservesFactorMarketNotFresh",
|
|
39593
|
+
"type": "error"
|
|
39594
|
+
},
|
|
39595
|
+
{
|
|
39596
|
+
"inputs": [],
|
|
39597
|
+
"name": "SupplyCapReached",
|
|
39598
|
+
"type": "error"
|
|
39599
|
+
},
|
|
39600
|
+
{
|
|
39601
|
+
"inputs": [],
|
|
39602
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
39603
|
+
"type": "error"
|
|
39604
|
+
},
|
|
39605
|
+
{
|
|
39606
|
+
"inputs": [],
|
|
39607
|
+
"name": "TokenTransferInFailed",
|
|
39608
|
+
"type": "error"
|
|
39609
|
+
},
|
|
39610
|
+
{
|
|
39611
|
+
"inputs": [],
|
|
39612
|
+
"name": "TokenTransferOutFailed",
|
|
39613
|
+
"type": "error"
|
|
39614
|
+
},
|
|
39615
|
+
{
|
|
39616
|
+
"inputs": [],
|
|
39617
|
+
"name": "TooMuchRepay",
|
|
39618
|
+
"type": "error"
|
|
39619
|
+
},
|
|
39620
|
+
{
|
|
39621
|
+
"inputs": [],
|
|
39622
|
+
"name": "TransferNotAllowed",
|
|
39623
|
+
"type": "error"
|
|
39624
|
+
},
|
|
39625
|
+
{
|
|
39626
|
+
"inputs": [],
|
|
39627
|
+
"name": "TransferPaused",
|
|
39628
|
+
"type": "error"
|
|
39629
|
+
},
|
|
39630
|
+
{
|
|
39631
|
+
"inputs": [],
|
|
39632
|
+
"name": "UnderlyingBalanceError",
|
|
39633
|
+
"type": "error"
|
|
39634
|
+
},
|
|
39635
|
+
{
|
|
39636
|
+
"inputs": [],
|
|
39637
|
+
"name": "ZeroAddressNotAllowed",
|
|
39638
|
+
"type": "error"
|
|
39639
|
+
},
|
|
39640
|
+
{
|
|
39641
|
+
"anonymous": false,
|
|
39642
|
+
"inputs": [
|
|
39643
|
+
{
|
|
39644
|
+
"indexed": false,
|
|
39645
|
+
"internalType": "uint8",
|
|
39646
|
+
"name": "version",
|
|
39647
|
+
"type": "uint8"
|
|
39648
|
+
}
|
|
39649
|
+
],
|
|
39650
|
+
"name": "Initialized",
|
|
39651
|
+
"type": "event"
|
|
39652
|
+
},
|
|
39653
|
+
{
|
|
39654
|
+
"anonymous": false,
|
|
39655
|
+
"inputs": [
|
|
39656
|
+
{
|
|
39657
|
+
"indexed": false,
|
|
39658
|
+
"internalType": "address",
|
|
39659
|
+
"name": "cToken",
|
|
39660
|
+
"type": "address"
|
|
39661
|
+
},
|
|
39662
|
+
{
|
|
39663
|
+
"indexed": false,
|
|
39664
|
+
"internalType": "address",
|
|
39665
|
+
"name": "account",
|
|
39666
|
+
"type": "address"
|
|
39667
|
+
}
|
|
39668
|
+
],
|
|
39669
|
+
"name": "MarketEntered",
|
|
39670
|
+
"type": "event"
|
|
39671
|
+
},
|
|
39672
|
+
{
|
|
39673
|
+
"anonymous": false,
|
|
39674
|
+
"inputs": [
|
|
39675
|
+
{
|
|
39676
|
+
"indexed": false,
|
|
39677
|
+
"internalType": "address",
|
|
39678
|
+
"name": "cToken",
|
|
39679
|
+
"type": "address"
|
|
39680
|
+
},
|
|
39681
|
+
{
|
|
39682
|
+
"indexed": false,
|
|
39683
|
+
"internalType": "address",
|
|
39684
|
+
"name": "account",
|
|
39685
|
+
"type": "address"
|
|
39686
|
+
}
|
|
39687
|
+
],
|
|
39688
|
+
"name": "MarketExited",
|
|
39689
|
+
"type": "event"
|
|
39690
|
+
},
|
|
39691
|
+
{
|
|
39692
|
+
"anonymous": false,
|
|
39693
|
+
"inputs": [
|
|
39694
|
+
{
|
|
39695
|
+
"indexed": false,
|
|
39696
|
+
"internalType": "address",
|
|
39697
|
+
"name": "cToken",
|
|
39698
|
+
"type": "address"
|
|
39699
|
+
}
|
|
39700
|
+
],
|
|
39701
|
+
"name": "MarketListed",
|
|
39702
|
+
"type": "event"
|
|
39703
|
+
},
|
|
39704
|
+
{
|
|
39705
|
+
"anonymous": false,
|
|
39706
|
+
"inputs": [
|
|
39707
|
+
{
|
|
39708
|
+
"indexed": true,
|
|
39709
|
+
"internalType": "uint8",
|
|
39710
|
+
"name": "groupId",
|
|
39711
|
+
"type": "uint8"
|
|
39712
|
+
},
|
|
39713
|
+
{
|
|
39714
|
+
"indexed": false,
|
|
39715
|
+
"internalType": "uint16",
|
|
39716
|
+
"name": "intraCRatePercent",
|
|
39717
|
+
"type": "uint16"
|
|
39718
|
+
},
|
|
39719
|
+
{
|
|
39720
|
+
"indexed": false,
|
|
39721
|
+
"internalType": "uint16",
|
|
39722
|
+
"name": "intraMintRatePercent",
|
|
39723
|
+
"type": "uint16"
|
|
39724
|
+
},
|
|
39725
|
+
{
|
|
39726
|
+
"indexed": false,
|
|
39727
|
+
"internalType": "uint16",
|
|
39728
|
+
"name": "intraSuRatePercent",
|
|
39729
|
+
"type": "uint16"
|
|
39730
|
+
},
|
|
39731
|
+
{
|
|
39732
|
+
"indexed": false,
|
|
39733
|
+
"internalType": "uint16",
|
|
39734
|
+
"name": "interCRatePercent",
|
|
39735
|
+
"type": "uint16"
|
|
39736
|
+
},
|
|
39737
|
+
{
|
|
39738
|
+
"indexed": false,
|
|
39739
|
+
"internalType": "uint16",
|
|
39740
|
+
"name": "interSuRatePercent",
|
|
39741
|
+
"type": "uint16"
|
|
39742
|
+
}
|
|
39743
|
+
],
|
|
39744
|
+
"name": "NewAssetGroup",
|
|
39745
|
+
"type": "event"
|
|
39746
|
+
},
|
|
39747
|
+
{
|
|
39748
|
+
"anonymous": false,
|
|
39749
|
+
"inputs": [
|
|
39750
|
+
{
|
|
39751
|
+
"indexed": true,
|
|
39752
|
+
"internalType": "address",
|
|
39753
|
+
"name": "cToken",
|
|
39754
|
+
"type": "address"
|
|
39755
|
+
},
|
|
39756
|
+
{
|
|
39757
|
+
"indexed": false,
|
|
39758
|
+
"internalType": "uint120",
|
|
39759
|
+
"name": "borrowCap",
|
|
39760
|
+
"type": "uint120"
|
|
39761
|
+
},
|
|
39762
|
+
{
|
|
39763
|
+
"indexed": false,
|
|
39764
|
+
"internalType": "uint120",
|
|
39765
|
+
"name": "supplyCap",
|
|
39766
|
+
"type": "uint120"
|
|
39767
|
+
}
|
|
39768
|
+
],
|
|
39769
|
+
"name": "NewCap",
|
|
39770
|
+
"type": "event"
|
|
39771
|
+
},
|
|
39772
|
+
{
|
|
39773
|
+
"anonymous": false,
|
|
39774
|
+
"inputs": [
|
|
39775
|
+
{
|
|
39776
|
+
"indexed": false,
|
|
39777
|
+
"internalType": "address",
|
|
39778
|
+
"name": "compLogic",
|
|
39779
|
+
"type": "address"
|
|
39780
|
+
},
|
|
39781
|
+
{
|
|
39782
|
+
"indexed": false,
|
|
39783
|
+
"internalType": "address",
|
|
39784
|
+
"name": "redemptionManager",
|
|
39785
|
+
"type": "address"
|
|
39786
|
+
}
|
|
39787
|
+
],
|
|
39788
|
+
"name": "NewDependencies",
|
|
39789
|
+
"type": "event"
|
|
39790
|
+
},
|
|
39791
|
+
{
|
|
39792
|
+
"anonymous": false,
|
|
39793
|
+
"inputs": [
|
|
39794
|
+
{
|
|
39795
|
+
"indexed": false,
|
|
39796
|
+
"internalType": "uint16",
|
|
39797
|
+
"name": "closeFactorPercent",
|
|
39798
|
+
"type": "uint16"
|
|
39799
|
+
},
|
|
39800
|
+
{
|
|
39801
|
+
"indexed": false,
|
|
39802
|
+
"internalType": "uint32",
|
|
39803
|
+
"name": "minCloseValue",
|
|
39804
|
+
"type": "uint32"
|
|
39805
|
+
},
|
|
39806
|
+
{
|
|
39807
|
+
"indexed": false,
|
|
39808
|
+
"internalType": "uint32",
|
|
39809
|
+
"name": "minSuBorrowValue",
|
|
39810
|
+
"type": "uint32"
|
|
39811
|
+
},
|
|
39812
|
+
{
|
|
39813
|
+
"indexed": false,
|
|
39814
|
+
"internalType": "uint32",
|
|
39815
|
+
"name": "minWaitBeforeLiquidatable",
|
|
39816
|
+
"type": "uint32"
|
|
39817
|
+
},
|
|
39818
|
+
{
|
|
39819
|
+
"indexed": false,
|
|
39820
|
+
"internalType": "uint8",
|
|
39821
|
+
"name": "largestGroupId",
|
|
39822
|
+
"type": "uint8"
|
|
39823
|
+
}
|
|
39824
|
+
],
|
|
39825
|
+
"name": "NewGlobalConfig",
|
|
39826
|
+
"type": "event"
|
|
39827
|
+
},
|
|
39828
|
+
{
|
|
39829
|
+
"anonymous": false,
|
|
39830
|
+
"inputs": [
|
|
39831
|
+
{
|
|
39832
|
+
"indexed": false,
|
|
39833
|
+
"internalType": "uint16",
|
|
39834
|
+
"name": "heteroPercent",
|
|
39835
|
+
"type": "uint16"
|
|
39836
|
+
},
|
|
39837
|
+
{
|
|
39838
|
+
"indexed": false,
|
|
39839
|
+
"internalType": "uint64",
|
|
39840
|
+
"name": "homoPercent",
|
|
39841
|
+
"type": "uint64"
|
|
39842
|
+
},
|
|
39843
|
+
{
|
|
39844
|
+
"indexed": false,
|
|
39845
|
+
"internalType": "uint64",
|
|
39846
|
+
"name": "sutokenPercent",
|
|
39847
|
+
"type": "uint64"
|
|
39848
|
+
}
|
|
39849
|
+
],
|
|
39850
|
+
"name": "NewLiquidationIncentive",
|
|
39851
|
+
"type": "event"
|
|
39852
|
+
},
|
|
39853
|
+
{
|
|
39854
|
+
"anonymous": false,
|
|
39855
|
+
"inputs": [
|
|
39856
|
+
{
|
|
39857
|
+
"indexed": false,
|
|
39858
|
+
"internalType": "address",
|
|
39859
|
+
"name": "ctoken",
|
|
39860
|
+
"type": "address"
|
|
39861
|
+
},
|
|
39862
|
+
{
|
|
39863
|
+
"indexed": false,
|
|
39864
|
+
"internalType": "bool",
|
|
39865
|
+
"name": "mintPaused",
|
|
39866
|
+
"type": "bool"
|
|
39867
|
+
},
|
|
39868
|
+
{
|
|
39869
|
+
"indexed": false,
|
|
39870
|
+
"internalType": "bool",
|
|
39871
|
+
"name": "borrowPaused",
|
|
39872
|
+
"type": "bool"
|
|
39873
|
+
},
|
|
39874
|
+
{
|
|
39875
|
+
"indexed": false,
|
|
39876
|
+
"internalType": "bool",
|
|
39877
|
+
"name": "transferPaused",
|
|
39878
|
+
"type": "bool"
|
|
39879
|
+
},
|
|
39880
|
+
{
|
|
39881
|
+
"indexed": false,
|
|
39882
|
+
"internalType": "bool",
|
|
39883
|
+
"name": "seizePaused",
|
|
39884
|
+
"type": "bool"
|
|
39885
|
+
}
|
|
39886
|
+
],
|
|
39887
|
+
"name": "NewPause",
|
|
39888
|
+
"type": "event"
|
|
39889
|
+
},
|
|
39890
|
+
{
|
|
39891
|
+
"anonymous": false,
|
|
39892
|
+
"inputs": [
|
|
39893
|
+
{
|
|
39894
|
+
"indexed": false,
|
|
39895
|
+
"internalType": "address",
|
|
39896
|
+
"name": "oldPauseGuardian",
|
|
39897
|
+
"type": "address"
|
|
39898
|
+
},
|
|
39899
|
+
{
|
|
39900
|
+
"indexed": false,
|
|
39901
|
+
"internalType": "address",
|
|
39902
|
+
"name": "newPauseGuardian",
|
|
39903
|
+
"type": "address"
|
|
39904
|
+
}
|
|
39905
|
+
],
|
|
39906
|
+
"name": "NewPauseGuardian",
|
|
39907
|
+
"type": "event"
|
|
39908
|
+
},
|
|
39909
|
+
{
|
|
39910
|
+
"anonymous": false,
|
|
39911
|
+
"inputs": [
|
|
39912
|
+
{
|
|
39913
|
+
"indexed": false,
|
|
39914
|
+
"internalType": "address",
|
|
39915
|
+
"name": "priceOracle",
|
|
39916
|
+
"type": "address"
|
|
39917
|
+
}
|
|
39918
|
+
],
|
|
39919
|
+
"name": "NewPriceOracle",
|
|
39920
|
+
"type": "event"
|
|
39921
|
+
},
|
|
39922
|
+
{
|
|
39923
|
+
"anonymous": false,
|
|
39924
|
+
"inputs": [
|
|
39925
|
+
{
|
|
39926
|
+
"indexed": false,
|
|
39927
|
+
"internalType": "address",
|
|
39928
|
+
"name": "timelock",
|
|
39929
|
+
"type": "address"
|
|
39930
|
+
}
|
|
39931
|
+
],
|
|
39932
|
+
"name": "NewTimelock",
|
|
39933
|
+
"type": "event"
|
|
39934
|
+
},
|
|
39935
|
+
{
|
|
39936
|
+
"anonymous": false,
|
|
39937
|
+
"inputs": [
|
|
39938
|
+
{
|
|
39939
|
+
"indexed": true,
|
|
39940
|
+
"internalType": "uint8",
|
|
39941
|
+
"name": "groupId",
|
|
39942
|
+
"type": "uint8"
|
|
39943
|
+
}
|
|
39944
|
+
],
|
|
39945
|
+
"name": "RemoveAssetGroup",
|
|
39946
|
+
"type": "event"
|
|
39947
|
+
},
|
|
39948
|
+
{
|
|
39949
|
+
"anonymous": false,
|
|
39950
|
+
"inputs": [
|
|
39951
|
+
{
|
|
39952
|
+
"indexed": true,
|
|
39953
|
+
"internalType": "bytes32",
|
|
39954
|
+
"name": "role",
|
|
39955
|
+
"type": "bytes32"
|
|
39956
|
+
},
|
|
39957
|
+
{
|
|
39958
|
+
"indexed": true,
|
|
39959
|
+
"internalType": "bytes32",
|
|
39960
|
+
"name": "previousAdminRole",
|
|
39961
|
+
"type": "bytes32"
|
|
39962
|
+
},
|
|
39963
|
+
{
|
|
39964
|
+
"indexed": true,
|
|
39965
|
+
"internalType": "bytes32",
|
|
39966
|
+
"name": "newAdminRole",
|
|
39967
|
+
"type": "bytes32"
|
|
39968
|
+
}
|
|
39969
|
+
],
|
|
39970
|
+
"name": "RoleAdminChanged",
|
|
39971
|
+
"type": "event"
|
|
39972
|
+
},
|
|
39973
|
+
{
|
|
39974
|
+
"anonymous": false,
|
|
39975
|
+
"inputs": [
|
|
39976
|
+
{
|
|
39977
|
+
"indexed": true,
|
|
39978
|
+
"internalType": "bytes32",
|
|
39979
|
+
"name": "role",
|
|
39980
|
+
"type": "bytes32"
|
|
39981
|
+
},
|
|
39982
|
+
{
|
|
39983
|
+
"indexed": true,
|
|
39984
|
+
"internalType": "address",
|
|
39985
|
+
"name": "account",
|
|
39986
|
+
"type": "address"
|
|
39987
|
+
},
|
|
39988
|
+
{
|
|
39989
|
+
"indexed": true,
|
|
39990
|
+
"internalType": "address",
|
|
39991
|
+
"name": "sender",
|
|
39992
|
+
"type": "address"
|
|
39993
|
+
}
|
|
39994
|
+
],
|
|
39995
|
+
"name": "RoleGranted",
|
|
39996
|
+
"type": "event"
|
|
39997
|
+
},
|
|
39998
|
+
{
|
|
39999
|
+
"anonymous": false,
|
|
40000
|
+
"inputs": [
|
|
40001
|
+
{
|
|
40002
|
+
"indexed": true,
|
|
40003
|
+
"internalType": "bytes32",
|
|
40004
|
+
"name": "role",
|
|
40005
|
+
"type": "bytes32"
|
|
40006
|
+
},
|
|
40007
|
+
{
|
|
40008
|
+
"indexed": true,
|
|
40009
|
+
"internalType": "address",
|
|
40010
|
+
"name": "account",
|
|
40011
|
+
"type": "address"
|
|
40012
|
+
},
|
|
40013
|
+
{
|
|
40014
|
+
"indexed": true,
|
|
40015
|
+
"internalType": "address",
|
|
40016
|
+
"name": "sender",
|
|
40017
|
+
"type": "address"
|
|
40018
|
+
}
|
|
40019
|
+
],
|
|
40020
|
+
"name": "RoleRevoked",
|
|
40021
|
+
"type": "event"
|
|
40022
|
+
},
|
|
40023
|
+
{
|
|
40024
|
+
"inputs": [],
|
|
40025
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
40026
|
+
"outputs": [
|
|
40027
|
+
{
|
|
40028
|
+
"internalType": "bytes32",
|
|
40029
|
+
"name": "",
|
|
40030
|
+
"type": "bytes32"
|
|
40031
|
+
}
|
|
40032
|
+
],
|
|
40033
|
+
"stateMutability": "view",
|
|
40034
|
+
"type": "function"
|
|
40035
|
+
},
|
|
40036
|
+
{
|
|
40037
|
+
"inputs": [],
|
|
40038
|
+
"name": "PAUSER_ROLE",
|
|
40039
|
+
"outputs": [
|
|
40040
|
+
{
|
|
40041
|
+
"internalType": "bytes32",
|
|
40042
|
+
"name": "",
|
|
40043
|
+
"type": "bytes32"
|
|
40044
|
+
}
|
|
40045
|
+
],
|
|
40046
|
+
"stateMutability": "view",
|
|
40047
|
+
"type": "function"
|
|
40048
|
+
},
|
|
40049
|
+
{
|
|
40050
|
+
"inputs": [
|
|
40051
|
+
{
|
|
40052
|
+
"internalType": "address",
|
|
40053
|
+
"name": "cToken",
|
|
40054
|
+
"type": "address"
|
|
40055
|
+
},
|
|
40056
|
+
{
|
|
40057
|
+
"internalType": "bool",
|
|
40058
|
+
"name": "mintPaused",
|
|
40059
|
+
"type": "bool"
|
|
40060
|
+
},
|
|
40061
|
+
{
|
|
40062
|
+
"internalType": "bool",
|
|
40063
|
+
"name": "borrowPaused",
|
|
40064
|
+
"type": "bool"
|
|
40065
|
+
},
|
|
40066
|
+
{
|
|
40067
|
+
"internalType": "bool",
|
|
40068
|
+
"name": "transferPaused",
|
|
40069
|
+
"type": "bool"
|
|
40070
|
+
},
|
|
40071
|
+
{
|
|
40072
|
+
"internalType": "bool",
|
|
40073
|
+
"name": "seizePaused",
|
|
40074
|
+
"type": "bool"
|
|
40075
|
+
}
|
|
40076
|
+
],
|
|
40077
|
+
"name": "_pause",
|
|
40078
|
+
"outputs": [],
|
|
40079
|
+
"stateMutability": "nonpayable",
|
|
40080
|
+
"type": "function"
|
|
40081
|
+
},
|
|
40082
|
+
{
|
|
40083
|
+
"inputs": [
|
|
40084
|
+
{
|
|
40085
|
+
"internalType": "address[]",
|
|
40086
|
+
"name": "cTokens",
|
|
40087
|
+
"type": "address[]"
|
|
40088
|
+
},
|
|
40089
|
+
{
|
|
40090
|
+
"internalType": "uint120[]",
|
|
40091
|
+
"name": "borrowCaps",
|
|
40092
|
+
"type": "uint120[]"
|
|
40093
|
+
},
|
|
40094
|
+
{
|
|
40095
|
+
"internalType": "uint120[]",
|
|
40096
|
+
"name": "supplyCaps",
|
|
40097
|
+
"type": "uint120[]"
|
|
40098
|
+
}
|
|
40099
|
+
],
|
|
40100
|
+
"name": "_setCaps",
|
|
40101
|
+
"outputs": [],
|
|
40102
|
+
"stateMutability": "nonpayable",
|
|
40103
|
+
"type": "function"
|
|
40104
|
+
},
|
|
40105
|
+
{
|
|
40106
|
+
"inputs": [
|
|
40107
|
+
{
|
|
40108
|
+
"components": [
|
|
40109
|
+
{
|
|
40110
|
+
"internalType": "uint16",
|
|
40111
|
+
"name": "closeFactorPercent",
|
|
40112
|
+
"type": "uint16"
|
|
40113
|
+
},
|
|
40114
|
+
{
|
|
40115
|
+
"internalType": "uint32",
|
|
40116
|
+
"name": "minCloseValue",
|
|
40117
|
+
"type": "uint32"
|
|
40118
|
+
},
|
|
40119
|
+
{
|
|
40120
|
+
"internalType": "uint32",
|
|
40121
|
+
"name": "minSuBorrowValue",
|
|
40122
|
+
"type": "uint32"
|
|
40123
|
+
},
|
|
40124
|
+
{
|
|
40125
|
+
"internalType": "uint32",
|
|
40126
|
+
"name": "minWaitBeforeLiquidatable",
|
|
40127
|
+
"type": "uint32"
|
|
40128
|
+
},
|
|
40129
|
+
{
|
|
40130
|
+
"internalType": "uint8",
|
|
40131
|
+
"name": "largestGroupId",
|
|
40132
|
+
"type": "uint8"
|
|
40133
|
+
}
|
|
40134
|
+
],
|
|
40135
|
+
"internalType": "struct GlobalConfig",
|
|
40136
|
+
"name": "globalConfig_",
|
|
40137
|
+
"type": "tuple"
|
|
40138
|
+
}
|
|
40139
|
+
],
|
|
40140
|
+
"name": "_setGlobalConfig",
|
|
40141
|
+
"outputs": [],
|
|
40142
|
+
"stateMutability": "nonpayable",
|
|
40143
|
+
"type": "function"
|
|
40144
|
+
},
|
|
40145
|
+
{
|
|
40146
|
+
"inputs": [
|
|
40147
|
+
{
|
|
40148
|
+
"internalType": "address",
|
|
40149
|
+
"name": "_governanceToken",
|
|
40150
|
+
"type": "address"
|
|
40151
|
+
}
|
|
40152
|
+
],
|
|
40153
|
+
"name": "_setGovTokenAddress",
|
|
40154
|
+
"outputs": [],
|
|
40155
|
+
"stateMutability": "nonpayable",
|
|
40156
|
+
"type": "function"
|
|
40157
|
+
},
|
|
40158
|
+
{
|
|
40159
|
+
"inputs": [
|
|
40160
|
+
{
|
|
40161
|
+
"components": [
|
|
40162
|
+
{
|
|
40163
|
+
"internalType": "uint16",
|
|
40164
|
+
"name": "heteroPercent",
|
|
40165
|
+
"type": "uint16"
|
|
40166
|
+
},
|
|
40167
|
+
{
|
|
40168
|
+
"internalType": "uint16",
|
|
40169
|
+
"name": "homoPercent",
|
|
40170
|
+
"type": "uint16"
|
|
40171
|
+
},
|
|
40172
|
+
{
|
|
40173
|
+
"internalType": "uint16",
|
|
40174
|
+
"name": "sutokenPercent",
|
|
40175
|
+
"type": "uint16"
|
|
40176
|
+
}
|
|
40177
|
+
],
|
|
40178
|
+
"internalType": "struct LiquidationIncentive",
|
|
40179
|
+
"name": "liquidationIncentive_",
|
|
40180
|
+
"type": "tuple"
|
|
40181
|
+
}
|
|
40182
|
+
],
|
|
40183
|
+
"name": "_setLiquidationIncentive",
|
|
40184
|
+
"outputs": [],
|
|
40185
|
+
"stateMutability": "nonpayable",
|
|
40186
|
+
"type": "function"
|
|
40187
|
+
},
|
|
40188
|
+
{
|
|
40189
|
+
"inputs": [
|
|
40190
|
+
{
|
|
40191
|
+
"internalType": "address",
|
|
40192
|
+
"name": "newPauseGuardian",
|
|
40193
|
+
"type": "address"
|
|
40194
|
+
}
|
|
40195
|
+
],
|
|
40196
|
+
"name": "_setPauseGuardian",
|
|
40197
|
+
"outputs": [],
|
|
40198
|
+
"stateMutability": "nonpayable",
|
|
40199
|
+
"type": "function"
|
|
40200
|
+
},
|
|
40201
|
+
{
|
|
40202
|
+
"inputs": [
|
|
40203
|
+
{
|
|
40204
|
+
"internalType": "address",
|
|
40205
|
+
"name": "_oracle",
|
|
40206
|
+
"type": "address"
|
|
40207
|
+
}
|
|
40208
|
+
],
|
|
40209
|
+
"name": "_setPriceOracle",
|
|
40210
|
+
"outputs": [],
|
|
40211
|
+
"stateMutability": "nonpayable",
|
|
40212
|
+
"type": "function"
|
|
40213
|
+
},
|
|
40214
|
+
{
|
|
40215
|
+
"inputs": [
|
|
40216
|
+
{
|
|
40217
|
+
"internalType": "address",
|
|
40218
|
+
"name": "_timelock",
|
|
40219
|
+
"type": "address"
|
|
40220
|
+
}
|
|
40221
|
+
],
|
|
40222
|
+
"name": "_setTimelock",
|
|
40223
|
+
"outputs": [],
|
|
40224
|
+
"stateMutability": "nonpayable",
|
|
40225
|
+
"type": "function"
|
|
40226
|
+
},
|
|
40227
|
+
{
|
|
40228
|
+
"inputs": [
|
|
40229
|
+
{
|
|
40230
|
+
"internalType": "address",
|
|
40231
|
+
"name": "cToken",
|
|
40232
|
+
"type": "address"
|
|
40233
|
+
},
|
|
40234
|
+
{
|
|
40235
|
+
"internalType": "uint8",
|
|
40236
|
+
"name": "groupId",
|
|
40237
|
+
"type": "uint8"
|
|
40238
|
+
},
|
|
40239
|
+
{
|
|
40240
|
+
"internalType": "uint120",
|
|
40241
|
+
"name": "borrowCap",
|
|
40242
|
+
"type": "uint120"
|
|
40243
|
+
},
|
|
40244
|
+
{
|
|
40245
|
+
"internalType": "uint120",
|
|
40246
|
+
"name": "supplyCap",
|
|
40247
|
+
"type": "uint120"
|
|
40248
|
+
}
|
|
40249
|
+
],
|
|
40250
|
+
"name": "_supportMarket",
|
|
40251
|
+
"outputs": [],
|
|
40252
|
+
"stateMutability": "nonpayable",
|
|
40253
|
+
"type": "function"
|
|
40254
|
+
},
|
|
40255
|
+
{
|
|
40256
|
+
"inputs": [
|
|
40257
|
+
{
|
|
40258
|
+
"internalType": "address",
|
|
40259
|
+
"name": "",
|
|
40260
|
+
"type": "address"
|
|
40261
|
+
},
|
|
40262
|
+
{
|
|
40263
|
+
"internalType": "uint256",
|
|
40264
|
+
"name": "",
|
|
40265
|
+
"type": "uint256"
|
|
40266
|
+
}
|
|
40267
|
+
],
|
|
40268
|
+
"name": "accountAssets",
|
|
40269
|
+
"outputs": [
|
|
40270
|
+
{
|
|
40271
|
+
"internalType": "address",
|
|
40272
|
+
"name": "",
|
|
40273
|
+
"type": "address"
|
|
40274
|
+
}
|
|
40275
|
+
],
|
|
40276
|
+
"stateMutability": "view",
|
|
40277
|
+
"type": "function"
|
|
40278
|
+
},
|
|
40279
|
+
{
|
|
40280
|
+
"inputs": [
|
|
40281
|
+
{
|
|
40282
|
+
"internalType": "uint256",
|
|
40283
|
+
"name": "",
|
|
40284
|
+
"type": "uint256"
|
|
40285
|
+
}
|
|
40286
|
+
],
|
|
40287
|
+
"name": "allMarkets",
|
|
40288
|
+
"outputs": [
|
|
40289
|
+
{
|
|
40290
|
+
"internalType": "address",
|
|
40291
|
+
"name": "",
|
|
40292
|
+
"type": "address"
|
|
40293
|
+
}
|
|
40294
|
+
],
|
|
40295
|
+
"stateMutability": "view",
|
|
40296
|
+
"type": "function"
|
|
40297
|
+
},
|
|
40298
|
+
{
|
|
40299
|
+
"inputs": [
|
|
40300
|
+
{
|
|
40301
|
+
"internalType": "uint8",
|
|
40302
|
+
"name": "",
|
|
40303
|
+
"type": "uint8"
|
|
40304
|
+
}
|
|
40305
|
+
],
|
|
40306
|
+
"name": "assetGroup",
|
|
40307
|
+
"outputs": [
|
|
40308
|
+
{
|
|
40309
|
+
"internalType": "uint8",
|
|
40310
|
+
"name": "groupId",
|
|
40311
|
+
"type": "uint8"
|
|
40312
|
+
},
|
|
40313
|
+
{
|
|
40314
|
+
"internalType": "uint16",
|
|
40315
|
+
"name": "intraCRatePercent",
|
|
40316
|
+
"type": "uint16"
|
|
40317
|
+
},
|
|
40318
|
+
{
|
|
40319
|
+
"internalType": "uint16",
|
|
40320
|
+
"name": "intraMintRatePercent",
|
|
40321
|
+
"type": "uint16"
|
|
40322
|
+
},
|
|
40323
|
+
{
|
|
40324
|
+
"internalType": "uint16",
|
|
40325
|
+
"name": "intraSuRatePercent",
|
|
40326
|
+
"type": "uint16"
|
|
40327
|
+
},
|
|
40328
|
+
{
|
|
40329
|
+
"internalType": "uint16",
|
|
40330
|
+
"name": "interCRatePercent",
|
|
40331
|
+
"type": "uint16"
|
|
40332
|
+
},
|
|
40333
|
+
{
|
|
40334
|
+
"internalType": "uint16",
|
|
40335
|
+
"name": "interSuRatePercent",
|
|
40336
|
+
"type": "uint16"
|
|
40337
|
+
}
|
|
40338
|
+
],
|
|
40339
|
+
"stateMutability": "view",
|
|
40340
|
+
"type": "function"
|
|
40341
|
+
},
|
|
40342
|
+
{
|
|
40343
|
+
"inputs": [
|
|
40344
|
+
{
|
|
40345
|
+
"internalType": "address",
|
|
40346
|
+
"name": "cToken",
|
|
40347
|
+
"type": "address"
|
|
40348
|
+
},
|
|
40349
|
+
{
|
|
40350
|
+
"internalType": "address",
|
|
40351
|
+
"name": "borrower",
|
|
40352
|
+
"type": "address"
|
|
40353
|
+
},
|
|
40354
|
+
{
|
|
40355
|
+
"internalType": "uint256",
|
|
40356
|
+
"name": "borrowAmount",
|
|
40357
|
+
"type": "uint256"
|
|
40358
|
+
}
|
|
40359
|
+
],
|
|
40360
|
+
"name": "borrowAllowed",
|
|
40361
|
+
"outputs": [],
|
|
40362
|
+
"stateMutability": "nonpayable",
|
|
40363
|
+
"type": "function"
|
|
40364
|
+
},
|
|
40365
|
+
{
|
|
40366
|
+
"inputs": [
|
|
40367
|
+
{
|
|
40368
|
+
"internalType": "address",
|
|
40369
|
+
"name": "borrower",
|
|
40370
|
+
"type": "address"
|
|
40371
|
+
},
|
|
40372
|
+
{
|
|
40373
|
+
"internalType": "uint256",
|
|
40374
|
+
"name": "borrowAmount",
|
|
40375
|
+
"type": "uint256"
|
|
40376
|
+
}
|
|
40377
|
+
],
|
|
40378
|
+
"name": "borrowVerify",
|
|
40379
|
+
"outputs": [],
|
|
40380
|
+
"stateMutability": "nonpayable",
|
|
40381
|
+
"type": "function"
|
|
40382
|
+
},
|
|
40383
|
+
{
|
|
40384
|
+
"inputs": [],
|
|
40385
|
+
"name": "compLogic",
|
|
40386
|
+
"outputs": [
|
|
40387
|
+
{
|
|
40388
|
+
"internalType": "contract ICompLogic",
|
|
40389
|
+
"name": "",
|
|
40390
|
+
"type": "address"
|
|
40391
|
+
}
|
|
40392
|
+
],
|
|
40393
|
+
"stateMutability": "view",
|
|
40394
|
+
"type": "function"
|
|
40395
|
+
},
|
|
40396
|
+
{
|
|
40397
|
+
"inputs": [
|
|
40398
|
+
{
|
|
40399
|
+
"internalType": "address[]",
|
|
40400
|
+
"name": "cTokens",
|
|
40401
|
+
"type": "address[]"
|
|
40402
|
+
}
|
|
40403
|
+
],
|
|
40404
|
+
"name": "enterMarkets",
|
|
40405
|
+
"outputs": [],
|
|
40406
|
+
"stateMutability": "nonpayable",
|
|
40407
|
+
"type": "function"
|
|
40408
|
+
},
|
|
40409
|
+
{
|
|
40410
|
+
"inputs": [
|
|
40411
|
+
{
|
|
40412
|
+
"internalType": "address",
|
|
40413
|
+
"name": "cTokenAddress",
|
|
40414
|
+
"type": "address"
|
|
40415
|
+
}
|
|
40416
|
+
],
|
|
40417
|
+
"name": "exitMarket",
|
|
40418
|
+
"outputs": [],
|
|
40419
|
+
"stateMutability": "nonpayable",
|
|
40420
|
+
"type": "function"
|
|
40421
|
+
},
|
|
40422
|
+
{
|
|
40423
|
+
"inputs": [
|
|
40424
|
+
{
|
|
40425
|
+
"internalType": "address",
|
|
40426
|
+
"name": "account",
|
|
40427
|
+
"type": "address"
|
|
40428
|
+
},
|
|
40429
|
+
{
|
|
40430
|
+
"internalType": "address",
|
|
40431
|
+
"name": "cTokenModify",
|
|
40432
|
+
"type": "address"
|
|
40433
|
+
},
|
|
40434
|
+
{
|
|
40435
|
+
"internalType": "uint256",
|
|
40436
|
+
"name": "intraSafeLimitMantissa",
|
|
40437
|
+
"type": "uint256"
|
|
40438
|
+
},
|
|
40439
|
+
{
|
|
40440
|
+
"internalType": "uint256",
|
|
40441
|
+
"name": "interSafeLimitMantissa",
|
|
40442
|
+
"type": "uint256"
|
|
40443
|
+
}
|
|
40444
|
+
],
|
|
40445
|
+
"name": "getAccountSafeLimit",
|
|
40446
|
+
"outputs": [
|
|
40447
|
+
{
|
|
40448
|
+
"internalType": "uint256",
|
|
40449
|
+
"name": "",
|
|
40450
|
+
"type": "uint256"
|
|
40451
|
+
}
|
|
40452
|
+
],
|
|
40453
|
+
"stateMutability": "view",
|
|
40454
|
+
"type": "function"
|
|
40455
|
+
},
|
|
40456
|
+
{
|
|
40457
|
+
"inputs": [],
|
|
40458
|
+
"name": "getAllMarkets",
|
|
40459
|
+
"outputs": [
|
|
40460
|
+
{
|
|
40461
|
+
"internalType": "address[]",
|
|
40462
|
+
"name": "",
|
|
40463
|
+
"type": "address[]"
|
|
40464
|
+
}
|
|
40465
|
+
],
|
|
40466
|
+
"stateMutability": "view",
|
|
40467
|
+
"type": "function"
|
|
40468
|
+
},
|
|
40469
|
+
{
|
|
40470
|
+
"inputs": [
|
|
40471
|
+
{
|
|
40472
|
+
"internalType": "address",
|
|
40473
|
+
"name": "account",
|
|
40474
|
+
"type": "address"
|
|
40475
|
+
}
|
|
40476
|
+
],
|
|
40477
|
+
"name": "getAssetsIn",
|
|
40478
|
+
"outputs": [
|
|
40479
|
+
{
|
|
40480
|
+
"internalType": "address[]",
|
|
40481
|
+
"name": "",
|
|
40482
|
+
"type": "address[]"
|
|
40483
|
+
}
|
|
40484
|
+
],
|
|
40485
|
+
"stateMutability": "view",
|
|
40486
|
+
"type": "function"
|
|
40487
|
+
},
|
|
40488
|
+
{
|
|
40489
|
+
"inputs": [
|
|
40490
|
+
{
|
|
40491
|
+
"internalType": "address",
|
|
40492
|
+
"name": "account",
|
|
40493
|
+
"type": "address"
|
|
40494
|
+
},
|
|
40495
|
+
{
|
|
40496
|
+
"internalType": "address",
|
|
40497
|
+
"name": "cTokenModify",
|
|
40498
|
+
"type": "address"
|
|
40499
|
+
},
|
|
40500
|
+
{
|
|
40501
|
+
"internalType": "uint256",
|
|
40502
|
+
"name": "redeemTokens",
|
|
40503
|
+
"type": "uint256"
|
|
40504
|
+
},
|
|
40505
|
+
{
|
|
40506
|
+
"internalType": "uint256",
|
|
40507
|
+
"name": "borrowAmount",
|
|
40508
|
+
"type": "uint256"
|
|
40509
|
+
}
|
|
40510
|
+
],
|
|
40511
|
+
"name": "getHypotheticalAccountLiquidity",
|
|
40512
|
+
"outputs": [
|
|
40513
|
+
{
|
|
40514
|
+
"internalType": "uint256",
|
|
40515
|
+
"name": "",
|
|
40516
|
+
"type": "uint256"
|
|
40517
|
+
},
|
|
40518
|
+
{
|
|
40519
|
+
"internalType": "uint256",
|
|
40520
|
+
"name": "",
|
|
40521
|
+
"type": "uint256"
|
|
40522
|
+
}
|
|
40523
|
+
],
|
|
40524
|
+
"stateMutability": "view",
|
|
40525
|
+
"type": "function"
|
|
40526
|
+
},
|
|
40527
|
+
{
|
|
40528
|
+
"inputs": [
|
|
40529
|
+
{
|
|
40530
|
+
"internalType": "bytes32",
|
|
40531
|
+
"name": "role",
|
|
40532
|
+
"type": "bytes32"
|
|
40533
|
+
}
|
|
40534
|
+
],
|
|
40535
|
+
"name": "getRoleAdmin",
|
|
40536
|
+
"outputs": [
|
|
40537
|
+
{
|
|
40538
|
+
"internalType": "bytes32",
|
|
40539
|
+
"name": "",
|
|
40540
|
+
"type": "bytes32"
|
|
40541
|
+
}
|
|
40542
|
+
],
|
|
40543
|
+
"stateMutability": "view",
|
|
40544
|
+
"type": "function"
|
|
40545
|
+
},
|
|
40546
|
+
{
|
|
40547
|
+
"inputs": [
|
|
40548
|
+
{
|
|
40549
|
+
"internalType": "address",
|
|
40550
|
+
"name": "cToken",
|
|
40551
|
+
"type": "address"
|
|
40552
|
+
}
|
|
40553
|
+
],
|
|
40554
|
+
"name": "getUnderlyingPriceNormalized",
|
|
40555
|
+
"outputs": [
|
|
40556
|
+
{
|
|
40557
|
+
"internalType": "uint256",
|
|
40558
|
+
"name": "",
|
|
40559
|
+
"type": "uint256"
|
|
40560
|
+
}
|
|
40561
|
+
],
|
|
40562
|
+
"stateMutability": "view",
|
|
40563
|
+
"type": "function"
|
|
40564
|
+
},
|
|
40565
|
+
{
|
|
40566
|
+
"inputs": [],
|
|
40567
|
+
"name": "globalConfig",
|
|
40568
|
+
"outputs": [
|
|
40569
|
+
{
|
|
40570
|
+
"internalType": "uint16",
|
|
40571
|
+
"name": "closeFactorPercent",
|
|
40572
|
+
"type": "uint16"
|
|
40573
|
+
},
|
|
40574
|
+
{
|
|
40575
|
+
"internalType": "uint32",
|
|
40576
|
+
"name": "minCloseValue",
|
|
40577
|
+
"type": "uint32"
|
|
40578
|
+
},
|
|
40579
|
+
{
|
|
40580
|
+
"internalType": "uint32",
|
|
40581
|
+
"name": "minSuBorrowValue",
|
|
40582
|
+
"type": "uint32"
|
|
40583
|
+
},
|
|
40584
|
+
{
|
|
40585
|
+
"internalType": "uint32",
|
|
40586
|
+
"name": "minWaitBeforeLiquidatable",
|
|
40587
|
+
"type": "uint32"
|
|
40588
|
+
},
|
|
40589
|
+
{
|
|
40590
|
+
"internalType": "uint8",
|
|
40591
|
+
"name": "largestGroupId",
|
|
40592
|
+
"type": "uint8"
|
|
40593
|
+
}
|
|
40594
|
+
],
|
|
40595
|
+
"stateMutability": "view",
|
|
40596
|
+
"type": "function"
|
|
40597
|
+
},
|
|
40598
|
+
{
|
|
40599
|
+
"inputs": [],
|
|
40600
|
+
"name": "governanceToken",
|
|
40601
|
+
"outputs": [
|
|
40602
|
+
{
|
|
40603
|
+
"internalType": "address",
|
|
40604
|
+
"name": "",
|
|
40605
|
+
"type": "address"
|
|
40606
|
+
}
|
|
40607
|
+
],
|
|
40608
|
+
"stateMutability": "view",
|
|
40609
|
+
"type": "function"
|
|
40610
|
+
},
|
|
40611
|
+
{
|
|
40612
|
+
"inputs": [
|
|
40613
|
+
{
|
|
40614
|
+
"internalType": "bytes32",
|
|
40615
|
+
"name": "role",
|
|
40616
|
+
"type": "bytes32"
|
|
40617
|
+
},
|
|
40618
|
+
{
|
|
40619
|
+
"internalType": "address",
|
|
40620
|
+
"name": "account",
|
|
40621
|
+
"type": "address"
|
|
40622
|
+
}
|
|
40623
|
+
],
|
|
40624
|
+
"name": "grantRole",
|
|
40625
|
+
"outputs": [],
|
|
40626
|
+
"stateMutability": "nonpayable",
|
|
40627
|
+
"type": "function"
|
|
40628
|
+
},
|
|
40629
|
+
{
|
|
40630
|
+
"inputs": [
|
|
40631
|
+
{
|
|
40632
|
+
"internalType": "bytes32",
|
|
40633
|
+
"name": "role",
|
|
40634
|
+
"type": "bytes32"
|
|
40635
|
+
},
|
|
40636
|
+
{
|
|
40637
|
+
"internalType": "address",
|
|
40638
|
+
"name": "account",
|
|
40639
|
+
"type": "address"
|
|
40640
|
+
}
|
|
40641
|
+
],
|
|
40642
|
+
"name": "hasRole",
|
|
40643
|
+
"outputs": [
|
|
40644
|
+
{
|
|
40645
|
+
"internalType": "bool",
|
|
40646
|
+
"name": "",
|
|
40647
|
+
"type": "bool"
|
|
40648
|
+
}
|
|
40649
|
+
],
|
|
40650
|
+
"stateMutability": "view",
|
|
40651
|
+
"type": "function"
|
|
40652
|
+
},
|
|
40653
|
+
{
|
|
40654
|
+
"inputs": [
|
|
40655
|
+
{
|
|
40656
|
+
"internalType": "address",
|
|
40657
|
+
"name": "_admin",
|
|
40658
|
+
"type": "address"
|
|
40659
|
+
},
|
|
40660
|
+
{
|
|
40661
|
+
"internalType": "address",
|
|
40662
|
+
"name": "_gov",
|
|
40663
|
+
"type": "address"
|
|
40664
|
+
},
|
|
40665
|
+
{
|
|
40666
|
+
"internalType": "address",
|
|
40667
|
+
"name": "_compLogic",
|
|
40668
|
+
"type": "address"
|
|
40669
|
+
},
|
|
40670
|
+
{
|
|
40671
|
+
"internalType": "address",
|
|
40672
|
+
"name": "_redemptionManager",
|
|
40673
|
+
"type": "address"
|
|
40674
|
+
},
|
|
40675
|
+
{
|
|
40676
|
+
"internalType": "address",
|
|
40677
|
+
"name": "_timelock",
|
|
40678
|
+
"type": "address"
|
|
40679
|
+
},
|
|
40680
|
+
{
|
|
40681
|
+
"internalType": "address",
|
|
40682
|
+
"name": "_oracle",
|
|
40683
|
+
"type": "address"
|
|
40684
|
+
}
|
|
40685
|
+
],
|
|
40686
|
+
"name": "initialize",
|
|
40687
|
+
"outputs": [],
|
|
40688
|
+
"stateMutability": "nonpayable",
|
|
40689
|
+
"type": "function"
|
|
40690
|
+
},
|
|
40691
|
+
{
|
|
40692
|
+
"inputs": [],
|
|
40693
|
+
"name": "isComptroller",
|
|
40694
|
+
"outputs": [
|
|
40695
|
+
{
|
|
40696
|
+
"internalType": "bool",
|
|
40697
|
+
"name": "",
|
|
40698
|
+
"type": "bool"
|
|
40699
|
+
}
|
|
40700
|
+
],
|
|
40701
|
+
"stateMutability": "view",
|
|
40702
|
+
"type": "function"
|
|
40703
|
+
},
|
|
40704
|
+
{
|
|
40705
|
+
"inputs": [
|
|
40706
|
+
{
|
|
40707
|
+
"internalType": "address",
|
|
40708
|
+
"name": "asset",
|
|
40709
|
+
"type": "address"
|
|
40710
|
+
}
|
|
40711
|
+
],
|
|
40712
|
+
"name": "isListed",
|
|
40713
|
+
"outputs": [
|
|
40714
|
+
{
|
|
40715
|
+
"internalType": "bool",
|
|
40716
|
+
"name": "",
|
|
40717
|
+
"type": "bool"
|
|
40718
|
+
}
|
|
40719
|
+
],
|
|
40720
|
+
"stateMutability": "view",
|
|
40721
|
+
"type": "function"
|
|
40722
|
+
},
|
|
40723
|
+
{
|
|
40724
|
+
"inputs": [
|
|
40725
|
+
{
|
|
40726
|
+
"internalType": "address",
|
|
40727
|
+
"name": "",
|
|
40728
|
+
"type": "address"
|
|
40729
|
+
}
|
|
40730
|
+
],
|
|
40731
|
+
"name": "lastBorrowedAt",
|
|
40732
|
+
"outputs": [
|
|
40733
|
+
{
|
|
40734
|
+
"internalType": "uint48",
|
|
40735
|
+
"name": "",
|
|
40736
|
+
"type": "uint48"
|
|
40737
|
+
}
|
|
40738
|
+
],
|
|
40739
|
+
"stateMutability": "view",
|
|
40740
|
+
"type": "function"
|
|
40741
|
+
},
|
|
40742
|
+
{
|
|
40743
|
+
"inputs": [
|
|
40744
|
+
{
|
|
40745
|
+
"internalType": "address",
|
|
40746
|
+
"name": "cTokenBorrowed",
|
|
40747
|
+
"type": "address"
|
|
40748
|
+
},
|
|
40749
|
+
{
|
|
40750
|
+
"internalType": "address",
|
|
40751
|
+
"name": "cTokenCollateral",
|
|
40752
|
+
"type": "address"
|
|
40753
|
+
},
|
|
40754
|
+
{
|
|
40755
|
+
"internalType": "address",
|
|
40756
|
+
"name": "liquidator",
|
|
40757
|
+
"type": "address"
|
|
40758
|
+
},
|
|
40759
|
+
{
|
|
40760
|
+
"internalType": "address",
|
|
40761
|
+
"name": "borrower",
|
|
40762
|
+
"type": "address"
|
|
40763
|
+
},
|
|
40764
|
+
{
|
|
40765
|
+
"internalType": "uint256",
|
|
40766
|
+
"name": "repayAmount",
|
|
40767
|
+
"type": "uint256"
|
|
40768
|
+
}
|
|
40769
|
+
],
|
|
40770
|
+
"name": "liquidateBorrowAllowed",
|
|
40771
|
+
"outputs": [],
|
|
40772
|
+
"stateMutability": "view",
|
|
40773
|
+
"type": "function"
|
|
40774
|
+
},
|
|
40775
|
+
{
|
|
40776
|
+
"inputs": [],
|
|
40777
|
+
"name": "liquidationIncentive",
|
|
40778
|
+
"outputs": [
|
|
40779
|
+
{
|
|
40780
|
+
"internalType": "uint16",
|
|
40781
|
+
"name": "heteroPercent",
|
|
40782
|
+
"type": "uint16"
|
|
40783
|
+
},
|
|
40784
|
+
{
|
|
40785
|
+
"internalType": "uint16",
|
|
40786
|
+
"name": "homoPercent",
|
|
40787
|
+
"type": "uint16"
|
|
40788
|
+
},
|
|
40789
|
+
{
|
|
40790
|
+
"internalType": "uint16",
|
|
40791
|
+
"name": "sutokenPercent",
|
|
40792
|
+
"type": "uint16"
|
|
40793
|
+
}
|
|
40794
|
+
],
|
|
40795
|
+
"stateMutability": "view",
|
|
40796
|
+
"type": "function"
|
|
40797
|
+
},
|
|
40798
|
+
{
|
|
40799
|
+
"inputs": [
|
|
40800
|
+
{
|
|
40801
|
+
"internalType": "address",
|
|
40802
|
+
"name": "",
|
|
40803
|
+
"type": "address"
|
|
40804
|
+
}
|
|
40805
|
+
],
|
|
40806
|
+
"name": "marketConfig",
|
|
40807
|
+
"outputs": [
|
|
40808
|
+
{
|
|
40809
|
+
"internalType": "bool",
|
|
40810
|
+
"name": "mintPaused",
|
|
40811
|
+
"type": "bool"
|
|
40812
|
+
},
|
|
40813
|
+
{
|
|
40814
|
+
"internalType": "bool",
|
|
40815
|
+
"name": "borrowPaused",
|
|
40816
|
+
"type": "bool"
|
|
40817
|
+
},
|
|
40818
|
+
{
|
|
40819
|
+
"internalType": "bool",
|
|
40820
|
+
"name": "transferPaused",
|
|
40821
|
+
"type": "bool"
|
|
40822
|
+
},
|
|
40823
|
+
{
|
|
40824
|
+
"internalType": "bool",
|
|
40825
|
+
"name": "seizePaused",
|
|
40826
|
+
"type": "bool"
|
|
40827
|
+
},
|
|
40828
|
+
{
|
|
40829
|
+
"internalType": "uint120",
|
|
40830
|
+
"name": "borrowCap",
|
|
40831
|
+
"type": "uint120"
|
|
40832
|
+
},
|
|
40833
|
+
{
|
|
40834
|
+
"internalType": "uint120",
|
|
40835
|
+
"name": "supplyCap",
|
|
40836
|
+
"type": "uint120"
|
|
40837
|
+
}
|
|
40838
|
+
],
|
|
40839
|
+
"stateMutability": "view",
|
|
40840
|
+
"type": "function"
|
|
40841
|
+
},
|
|
40842
|
+
{
|
|
40843
|
+
"inputs": [
|
|
40844
|
+
{
|
|
40845
|
+
"internalType": "address",
|
|
40846
|
+
"name": "",
|
|
40847
|
+
"type": "address"
|
|
40848
|
+
}
|
|
40849
|
+
],
|
|
40850
|
+
"name": "markets",
|
|
40851
|
+
"outputs": [
|
|
40852
|
+
{
|
|
40853
|
+
"internalType": "bool",
|
|
40854
|
+
"name": "isListed",
|
|
40855
|
+
"type": "bool"
|
|
40856
|
+
},
|
|
40857
|
+
{
|
|
40858
|
+
"internalType": "uint8",
|
|
40859
|
+
"name": "assetGroupId",
|
|
40860
|
+
"type": "uint8"
|
|
40861
|
+
},
|
|
40862
|
+
{
|
|
40863
|
+
"internalType": "bool",
|
|
40864
|
+
"name": "isComped",
|
|
40865
|
+
"type": "bool"
|
|
40866
|
+
}
|
|
40867
|
+
],
|
|
40868
|
+
"stateMutability": "view",
|
|
40869
|
+
"type": "function"
|
|
40870
|
+
},
|
|
40871
|
+
{
|
|
40872
|
+
"inputs": [
|
|
40873
|
+
{
|
|
40874
|
+
"internalType": "address",
|
|
40875
|
+
"name": "cToken",
|
|
40876
|
+
"type": "address"
|
|
40877
|
+
},
|
|
40878
|
+
{
|
|
40879
|
+
"internalType": "address",
|
|
40880
|
+
"name": "minter",
|
|
40881
|
+
"type": "address"
|
|
40882
|
+
},
|
|
40883
|
+
{
|
|
40884
|
+
"internalType": "uint256",
|
|
40885
|
+
"name": "mintAmount",
|
|
40886
|
+
"type": "uint256"
|
|
40887
|
+
}
|
|
40888
|
+
],
|
|
40889
|
+
"name": "mintAllowed",
|
|
40890
|
+
"outputs": [],
|
|
40891
|
+
"stateMutability": "nonpayable",
|
|
40892
|
+
"type": "function"
|
|
40893
|
+
},
|
|
40894
|
+
{
|
|
40895
|
+
"inputs": [],
|
|
40896
|
+
"name": "oracle",
|
|
40897
|
+
"outputs": [
|
|
40898
|
+
{
|
|
40899
|
+
"internalType": "contract IPriceOracle",
|
|
40900
|
+
"name": "",
|
|
40901
|
+
"type": "address"
|
|
40902
|
+
}
|
|
40903
|
+
],
|
|
40904
|
+
"stateMutability": "view",
|
|
40905
|
+
"type": "function"
|
|
40906
|
+
},
|
|
40907
|
+
{
|
|
40908
|
+
"inputs": [],
|
|
40909
|
+
"name": "pauseGuardian",
|
|
40910
|
+
"outputs": [
|
|
40911
|
+
{
|
|
40912
|
+
"internalType": "address",
|
|
40913
|
+
"name": "",
|
|
40914
|
+
"type": "address"
|
|
40915
|
+
}
|
|
40916
|
+
],
|
|
40917
|
+
"stateMutability": "view",
|
|
40918
|
+
"type": "function"
|
|
40919
|
+
},
|
|
40920
|
+
{
|
|
40921
|
+
"inputs": [
|
|
40922
|
+
{
|
|
40923
|
+
"internalType": "address",
|
|
40924
|
+
"name": "cToken",
|
|
40925
|
+
"type": "address"
|
|
40926
|
+
},
|
|
40927
|
+
{
|
|
40928
|
+
"internalType": "address",
|
|
40929
|
+
"name": "redeemer",
|
|
40930
|
+
"type": "address"
|
|
40931
|
+
},
|
|
40932
|
+
{
|
|
40933
|
+
"internalType": "uint256",
|
|
40934
|
+
"name": "redeemTokens",
|
|
40935
|
+
"type": "uint256"
|
|
40936
|
+
}
|
|
40937
|
+
],
|
|
40938
|
+
"name": "redeemAllowed",
|
|
40939
|
+
"outputs": [],
|
|
40940
|
+
"stateMutability": "nonpayable",
|
|
40941
|
+
"type": "function"
|
|
40942
|
+
},
|
|
40943
|
+
{
|
|
40944
|
+
"inputs": [],
|
|
40945
|
+
"name": "redemptionManager",
|
|
40946
|
+
"outputs": [
|
|
40947
|
+
{
|
|
40948
|
+
"internalType": "contract IRedemptionManager",
|
|
40949
|
+
"name": "",
|
|
40950
|
+
"type": "address"
|
|
40951
|
+
}
|
|
40952
|
+
],
|
|
40953
|
+
"stateMutability": "view",
|
|
40954
|
+
"type": "function"
|
|
40955
|
+
},
|
|
40956
|
+
{
|
|
40957
|
+
"inputs": [
|
|
40958
|
+
{
|
|
40959
|
+
"internalType": "uint8",
|
|
40960
|
+
"name": "groupId",
|
|
40961
|
+
"type": "uint8"
|
|
40962
|
+
}
|
|
40963
|
+
],
|
|
40964
|
+
"name": "removeAssetGroup",
|
|
40965
|
+
"outputs": [],
|
|
40966
|
+
"stateMutability": "nonpayable",
|
|
40967
|
+
"type": "function"
|
|
40968
|
+
},
|
|
40969
|
+
{
|
|
40970
|
+
"inputs": [
|
|
40971
|
+
{
|
|
40972
|
+
"internalType": "bytes32",
|
|
40973
|
+
"name": "role",
|
|
40974
|
+
"type": "bytes32"
|
|
40975
|
+
},
|
|
40976
|
+
{
|
|
40977
|
+
"internalType": "address",
|
|
40978
|
+
"name": "account",
|
|
40979
|
+
"type": "address"
|
|
40980
|
+
}
|
|
40981
|
+
],
|
|
40982
|
+
"name": "renounceRole",
|
|
40983
|
+
"outputs": [],
|
|
40984
|
+
"stateMutability": "nonpayable",
|
|
40985
|
+
"type": "function"
|
|
40986
|
+
},
|
|
40987
|
+
{
|
|
40988
|
+
"inputs": [
|
|
40989
|
+
{
|
|
40990
|
+
"internalType": "address",
|
|
40991
|
+
"name": "cToken",
|
|
40992
|
+
"type": "address"
|
|
40993
|
+
},
|
|
40994
|
+
{
|
|
40995
|
+
"internalType": "address",
|
|
40996
|
+
"name": "payer",
|
|
40997
|
+
"type": "address"
|
|
40998
|
+
},
|
|
40999
|
+
{
|
|
41000
|
+
"internalType": "address",
|
|
41001
|
+
"name": "borrower",
|
|
41002
|
+
"type": "address"
|
|
41003
|
+
},
|
|
41004
|
+
{
|
|
41005
|
+
"internalType": "uint256",
|
|
41006
|
+
"name": "repayAmount",
|
|
41007
|
+
"type": "uint256"
|
|
41008
|
+
}
|
|
41009
|
+
],
|
|
41010
|
+
"name": "repayBorrowAllowed",
|
|
41011
|
+
"outputs": [],
|
|
41012
|
+
"stateMutability": "nonpayable",
|
|
41013
|
+
"type": "function"
|
|
41014
|
+
},
|
|
41015
|
+
{
|
|
41016
|
+
"inputs": [
|
|
41017
|
+
{
|
|
41018
|
+
"internalType": "bytes32",
|
|
41019
|
+
"name": "role",
|
|
41020
|
+
"type": "bytes32"
|
|
41021
|
+
},
|
|
41022
|
+
{
|
|
41023
|
+
"internalType": "address",
|
|
41024
|
+
"name": "account",
|
|
41025
|
+
"type": "address"
|
|
41026
|
+
}
|
|
41027
|
+
],
|
|
41028
|
+
"name": "revokeRole",
|
|
41029
|
+
"outputs": [],
|
|
41030
|
+
"stateMutability": "nonpayable",
|
|
41031
|
+
"type": "function"
|
|
41032
|
+
},
|
|
41033
|
+
{
|
|
41034
|
+
"inputs": [
|
|
41035
|
+
{
|
|
41036
|
+
"internalType": "address",
|
|
41037
|
+
"name": "cTokenCollateral",
|
|
41038
|
+
"type": "address"
|
|
41039
|
+
},
|
|
41040
|
+
{
|
|
41041
|
+
"internalType": "address",
|
|
41042
|
+
"name": "cTokenBorrowed",
|
|
41043
|
+
"type": "address"
|
|
41044
|
+
},
|
|
41045
|
+
{
|
|
41046
|
+
"internalType": "address",
|
|
41047
|
+
"name": "liquidator",
|
|
41048
|
+
"type": "address"
|
|
41049
|
+
},
|
|
41050
|
+
{
|
|
41051
|
+
"internalType": "address",
|
|
41052
|
+
"name": "borrower",
|
|
41053
|
+
"type": "address"
|
|
41054
|
+
},
|
|
41055
|
+
{
|
|
41056
|
+
"internalType": "uint256",
|
|
41057
|
+
"name": "seizeTokens",
|
|
41058
|
+
"type": "uint256"
|
|
41059
|
+
}
|
|
41060
|
+
],
|
|
41061
|
+
"name": "seizeAllowed",
|
|
41062
|
+
"outputs": [],
|
|
41063
|
+
"stateMutability": "nonpayable",
|
|
41064
|
+
"type": "function"
|
|
41065
|
+
},
|
|
41066
|
+
{
|
|
41067
|
+
"inputs": [
|
|
41068
|
+
{
|
|
41069
|
+
"internalType": "uint8",
|
|
41070
|
+
"name": "groupId",
|
|
41071
|
+
"type": "uint8"
|
|
41072
|
+
},
|
|
41073
|
+
{
|
|
41074
|
+
"internalType": "uint16",
|
|
41075
|
+
"name": "intraCRatePercent",
|
|
41076
|
+
"type": "uint16"
|
|
41077
|
+
},
|
|
41078
|
+
{
|
|
41079
|
+
"internalType": "uint16",
|
|
41080
|
+
"name": "intraMintRatePercent",
|
|
41081
|
+
"type": "uint16"
|
|
41082
|
+
},
|
|
41083
|
+
{
|
|
41084
|
+
"internalType": "uint16",
|
|
41085
|
+
"name": "intraSuRatePercent",
|
|
41086
|
+
"type": "uint16"
|
|
41087
|
+
},
|
|
41088
|
+
{
|
|
41089
|
+
"internalType": "uint16",
|
|
41090
|
+
"name": "interCRatePercent",
|
|
41091
|
+
"type": "uint16"
|
|
41092
|
+
},
|
|
41093
|
+
{
|
|
41094
|
+
"internalType": "uint16",
|
|
41095
|
+
"name": "interSuRatePercent",
|
|
41096
|
+
"type": "uint16"
|
|
41097
|
+
}
|
|
41098
|
+
],
|
|
41099
|
+
"name": "setAssetGroup",
|
|
41100
|
+
"outputs": [],
|
|
41101
|
+
"stateMutability": "nonpayable",
|
|
41102
|
+
"type": "function"
|
|
41103
|
+
},
|
|
41104
|
+
{
|
|
41105
|
+
"inputs": [
|
|
41106
|
+
{
|
|
41107
|
+
"internalType": "bytes4",
|
|
41108
|
+
"name": "interfaceId",
|
|
41109
|
+
"type": "bytes4"
|
|
41110
|
+
}
|
|
41111
|
+
],
|
|
41112
|
+
"name": "supportsInterface",
|
|
41113
|
+
"outputs": [
|
|
41114
|
+
{
|
|
41115
|
+
"internalType": "bool",
|
|
41116
|
+
"name": "",
|
|
41117
|
+
"type": "bool"
|
|
41118
|
+
}
|
|
41119
|
+
],
|
|
41120
|
+
"stateMutability": "view",
|
|
41121
|
+
"type": "function"
|
|
41122
|
+
},
|
|
41123
|
+
{
|
|
41124
|
+
"inputs": [],
|
|
41125
|
+
"name": "timelock",
|
|
41126
|
+
"outputs": [
|
|
41127
|
+
{
|
|
41128
|
+
"internalType": "address",
|
|
41129
|
+
"name": "",
|
|
41130
|
+
"type": "address"
|
|
41131
|
+
}
|
|
41132
|
+
],
|
|
41133
|
+
"stateMutability": "view",
|
|
41134
|
+
"type": "function"
|
|
41135
|
+
},
|
|
41136
|
+
{
|
|
41137
|
+
"inputs": [
|
|
41138
|
+
{
|
|
41139
|
+
"internalType": "address",
|
|
41140
|
+
"name": "cToken",
|
|
41141
|
+
"type": "address"
|
|
41142
|
+
},
|
|
41143
|
+
{
|
|
41144
|
+
"internalType": "address",
|
|
41145
|
+
"name": "src",
|
|
41146
|
+
"type": "address"
|
|
41147
|
+
},
|
|
41148
|
+
{
|
|
41149
|
+
"internalType": "address",
|
|
41150
|
+
"name": "dst",
|
|
41151
|
+
"type": "address"
|
|
41152
|
+
},
|
|
41153
|
+
{
|
|
41154
|
+
"internalType": "uint256",
|
|
41155
|
+
"name": "transferTokens",
|
|
41156
|
+
"type": "uint256"
|
|
41157
|
+
}
|
|
41158
|
+
],
|
|
41159
|
+
"name": "transferAllowed",
|
|
41160
|
+
"outputs": [],
|
|
41161
|
+
"stateMutability": "nonpayable",
|
|
41162
|
+
"type": "function"
|
|
41163
|
+
},
|
|
41164
|
+
{
|
|
41165
|
+
"inputs": [],
|
|
41166
|
+
"name": "version",
|
|
41167
|
+
"outputs": [
|
|
41168
|
+
{
|
|
41169
|
+
"internalType": "enum Version",
|
|
41170
|
+
"name": "",
|
|
41171
|
+
"type": "uint8"
|
|
41172
|
+
}
|
|
41173
|
+
],
|
|
41174
|
+
"stateMutability": "pure",
|
|
41175
|
+
"type": "function"
|
|
41176
|
+
}
|
|
39206
41177
|
]
|
|
39207
41178
|
};
|
|
39208
41179
|
//# sourceMappingURL=abi.js.map
|