@meterio/sumer-js 0.2.45 → 0.2.47

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 (44) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +49 -1
  3. package/dist/nodejs/abi.js +1540 -34
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/metermain.js +1 -1
  6. package/dist/nodejs/constants/metermain.js.map +1 -1
  7. package/dist/nodejs/constants/metertest.js +1 -1
  8. package/dist/nodejs/errorABIs.js +427 -0
  9. package/dist/nodejs/errorABIs.js.map +1 -1
  10. package/dist/nodejs/index.d.ts +49 -1
  11. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
  12. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
  13. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  14. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
  15. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
  16. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  17. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
  18. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
  19. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  20. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
  21. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
  22. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  23. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
  24. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
  25. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  26. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  27. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  28. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
  29. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
  30. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  32. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
  33. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  35. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  36. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js.map +1 -1
  38. package/dist/nodejs/typechain/factories/contracts/Test__factory.d.ts +1 -1
  39. package/dist/nodejs/typechain/factories/contracts/Test__factory.js +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/Test__factory.js.map +1 -1
  41. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -1
  42. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -1
  43. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  44. package/package.json +1 -1
@@ -1624,6 +1624,64 @@ exports.abi = {
1624
1624
  ],
1625
1625
  "stateMutability": "view",
1626
1626
  "type": "function"
1627
+ },
1628
+ {
1629
+ "inputs": [
1630
+ {
1631
+ "internalType": "uint256",
1632
+ "name": "a",
1633
+ "type": "uint256"
1634
+ },
1635
+ {
1636
+ "internalType": "uint256",
1637
+ "name": "b",
1638
+ "type": "uint256"
1639
+ }
1640
+ ],
1641
+ "name": "mul",
1642
+ "outputs": [
1643
+ {
1644
+ "internalType": "uint256",
1645
+ "name": "",
1646
+ "type": "uint256"
1647
+ },
1648
+ {
1649
+ "internalType": "uint256",
1650
+ "name": "",
1651
+ "type": "uint256"
1652
+ }
1653
+ ],
1654
+ "stateMutability": "view",
1655
+ "type": "function"
1656
+ },
1657
+ {
1658
+ "inputs": [
1659
+ {
1660
+ "internalType": "uint256",
1661
+ "name": "a",
1662
+ "type": "uint256"
1663
+ },
1664
+ {
1665
+ "internalType": "uint256",
1666
+ "name": "b",
1667
+ "type": "uint256"
1668
+ }
1669
+ ],
1670
+ "name": "mulTruncate",
1671
+ "outputs": [
1672
+ {
1673
+ "internalType": "uint256",
1674
+ "name": "",
1675
+ "type": "uint256"
1676
+ },
1677
+ {
1678
+ "internalType": "uint256",
1679
+ "name": "",
1680
+ "type": "uint256"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "view",
1684
+ "type": "function"
1627
1685
  }
1628
1686
  ],
1629
1687
  "Timelock": [
@@ -13985,6 +14043,11 @@ exports.abi = {
13985
14043
  "internalType": "uint256",
13986
14044
  "name": "discountRate",
13987
14045
  "type": "uint256"
14046
+ },
14047
+ {
14048
+ "internalType": "uint256",
14049
+ "name": "interMintRate",
14050
+ "type": "uint256"
13988
14051
  }
13989
14052
  ],
13990
14053
  "internalType": "struct CompoundLens.CTokenMetadata",
@@ -14131,6 +14194,11 @@ exports.abi = {
14131
14194
  "internalType": "uint256",
14132
14195
  "name": "discountRate",
14133
14196
  "type": "uint256"
14197
+ },
14198
+ {
14199
+ "internalType": "uint256",
14200
+ "name": "interMintRate",
14201
+ "type": "uint256"
14134
14202
  }
14135
14203
  ],
14136
14204
  "internalType": "struct CompoundLens.CTokenMetadata[]",
@@ -14746,6 +14814,19 @@ exports.abi = {
14746
14814
  ],
14747
14815
  "stateMutability": "view",
14748
14816
  "type": "function"
14817
+ },
14818
+ {
14819
+ "inputs": [],
14820
+ "name": "version",
14821
+ "outputs": [
14822
+ {
14823
+ "internalType": "enum Version",
14824
+ "name": "",
14825
+ "type": "uint8"
14826
+ }
14827
+ ],
14828
+ "stateMutability": "pure",
14829
+ "type": "function"
14749
14830
  }
14750
14831
  ],
14751
14832
  "Comptroller": [
@@ -15974,40 +16055,6 @@ exports.abi = {
15974
16055
  "stateMutability": "nonpayable",
15975
16056
  "type": "function"
15976
16057
  },
15977
- {
15978
- "inputs": [
15979
- {
15980
- "internalType": "address",
15981
- "name": "account",
15982
- "type": "address"
15983
- },
15984
- {
15985
- "internalType": "address",
15986
- "name": "cTokenModify",
15987
- "type": "address"
15988
- },
15989
- {
15990
- "internalType": "uint256",
15991
- "name": "intraSafeLimitMantissa",
15992
- "type": "uint256"
15993
- },
15994
- {
15995
- "internalType": "uint256",
15996
- "name": "interSafeLimitMantissa",
15997
- "type": "uint256"
15998
- }
15999
- ],
16000
- "name": "getAccountSafeLimit",
16001
- "outputs": [
16002
- {
16003
- "internalType": "uint256",
16004
- "name": "",
16005
- "type": "uint256"
16006
- }
16007
- ],
16008
- "stateMutability": "view",
16009
- "type": "function"
16010
- },
16011
16058
  {
16012
16059
  "inputs": [],
16013
16060
  "name": "getAllMarkets",
@@ -41174,6 +41221,1465 @@ exports.abi = {
41174
41221
  "stateMutability": "pure",
41175
41222
  "type": "function"
41176
41223
  }
41224
+ ],
41225
+ "CompoundLensV2": [
41226
+ {
41227
+ "inputs": [],
41228
+ "name": "AddReservesMarketNotFresh",
41229
+ "type": "error"
41230
+ },
41231
+ {
41232
+ "inputs": [],
41233
+ "name": "AddReservesOverflow",
41234
+ "type": "error"
41235
+ },
41236
+ {
41237
+ "inputs": [],
41238
+ "name": "BorrowAndDepositBackFailed",
41239
+ "type": "error"
41240
+ },
41241
+ {
41242
+ "inputs": [],
41243
+ "name": "BorrowCapReached",
41244
+ "type": "error"
41245
+ },
41246
+ {
41247
+ "inputs": [],
41248
+ "name": "BorrowCashNotAvailable",
41249
+ "type": "error"
41250
+ },
41251
+ {
41252
+ "inputs": [],
41253
+ "name": "BorrowMarketNotFresh",
41254
+ "type": "error"
41255
+ },
41256
+ {
41257
+ "inputs": [],
41258
+ "name": "BorrowPaused",
41259
+ "type": "error"
41260
+ },
41261
+ {
41262
+ "inputs": [
41263
+ {
41264
+ "internalType": "uint256",
41265
+ "name": "usdThreshold",
41266
+ "type": "uint256"
41267
+ }
41268
+ ],
41269
+ "name": "BorrowValueMustBeLargerThanThreshold",
41270
+ "type": "error"
41271
+ },
41272
+ {
41273
+ "inputs": [],
41274
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
41275
+ "type": "error"
41276
+ },
41277
+ {
41278
+ "inputs": [],
41279
+ "name": "CantSweepUnderlying",
41280
+ "type": "error"
41281
+ },
41282
+ {
41283
+ "inputs": [],
41284
+ "name": "ComptrollerMismatch",
41285
+ "type": "error"
41286
+ },
41287
+ {
41288
+ "inputs": [],
41289
+ "name": "EitherAssetOrDebtMustBeZero",
41290
+ "type": "error"
41291
+ },
41292
+ {
41293
+ "inputs": [
41294
+ {
41295
+ "internalType": "uint8",
41296
+ "name": "groupId",
41297
+ "type": "uint8"
41298
+ },
41299
+ {
41300
+ "internalType": "uint256",
41301
+ "name": "cDepositVal",
41302
+ "type": "uint256"
41303
+ },
41304
+ {
41305
+ "internalType": "uint256",
41306
+ "name": "suDepositVal",
41307
+ "type": "uint256"
41308
+ },
41309
+ {
41310
+ "internalType": "uint256",
41311
+ "name": "cBorrowVal",
41312
+ "type": "uint256"
41313
+ },
41314
+ {
41315
+ "internalType": "uint256",
41316
+ "name": "suBorrowVal",
41317
+ "type": "uint256"
41318
+ }
41319
+ ],
41320
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
41321
+ "type": "error"
41322
+ },
41323
+ {
41324
+ "inputs": [],
41325
+ "name": "ExpiredSignature",
41326
+ "type": "error"
41327
+ },
41328
+ {
41329
+ "inputs": [],
41330
+ "name": "InsufficientCollateral",
41331
+ "type": "error"
41332
+ },
41333
+ {
41334
+ "inputs": [],
41335
+ "name": "InsufficientShortfall",
41336
+ "type": "error"
41337
+ },
41338
+ {
41339
+ "inputs": [],
41340
+ "name": "InvalidAddress",
41341
+ "type": "error"
41342
+ },
41343
+ {
41344
+ "inputs": [],
41345
+ "name": "InvalidAmount",
41346
+ "type": "error"
41347
+ },
41348
+ {
41349
+ "inputs": [],
41350
+ "name": "InvalidBlockNumber",
41351
+ "type": "error"
41352
+ },
41353
+ {
41354
+ "inputs": [],
41355
+ "name": "InvalidCloseFactor",
41356
+ "type": "error"
41357
+ },
41358
+ {
41359
+ "inputs": [],
41360
+ "name": "InvalidComptroller",
41361
+ "type": "error"
41362
+ },
41363
+ {
41364
+ "inputs": [],
41365
+ "name": "InvalidDiscountRate",
41366
+ "type": "error"
41367
+ },
41368
+ {
41369
+ "inputs": [],
41370
+ "name": "InvalidExchangeRate",
41371
+ "type": "error"
41372
+ },
41373
+ {
41374
+ "inputs": [],
41375
+ "name": "InvalidGroupId",
41376
+ "type": "error"
41377
+ },
41378
+ {
41379
+ "inputs": [],
41380
+ "name": "InvalidInput",
41381
+ "type": "error"
41382
+ },
41383
+ {
41384
+ "inputs": [],
41385
+ "name": "InvalidInterestRateModel",
41386
+ "type": "error"
41387
+ },
41388
+ {
41389
+ "inputs": [],
41390
+ "name": "InvalidMinSuBorrowValue",
41391
+ "type": "error"
41392
+ },
41393
+ {
41394
+ "inputs": [],
41395
+ "name": "InvalidReduceAmount",
41396
+ "type": "error"
41397
+ },
41398
+ {
41399
+ "inputs": [],
41400
+ "name": "InvalidReserveFactor",
41401
+ "type": "error"
41402
+ },
41403
+ {
41404
+ "inputs": [],
41405
+ "name": "InvalidSignatureForRedeemFaceValue",
41406
+ "type": "error"
41407
+ },
41408
+ {
41409
+ "inputs": [],
41410
+ "name": "InvalidSignatureLength",
41411
+ "type": "error"
41412
+ },
41413
+ {
41414
+ "inputs": [],
41415
+ "name": "InvalidSuToken",
41416
+ "type": "error"
41417
+ },
41418
+ {
41419
+ "inputs": [],
41420
+ "name": "InvalidTimestamp",
41421
+ "type": "error"
41422
+ },
41423
+ {
41424
+ "inputs": [],
41425
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
41426
+ "type": "error"
41427
+ },
41428
+ {
41429
+ "inputs": [],
41430
+ "name": "LiquidateBorrow_RepayAmountIsMax",
41431
+ "type": "error"
41432
+ },
41433
+ {
41434
+ "inputs": [],
41435
+ "name": "LiquidateBorrow_RepayAmountIsZero",
41436
+ "type": "error"
41437
+ },
41438
+ {
41439
+ "inputs": [],
41440
+ "name": "LiquidateBorrow_SeizeTooMuch",
41441
+ "type": "error"
41442
+ },
41443
+ {
41444
+ "inputs": [],
41445
+ "name": "LiquidateCollateralMarketNotFresh",
41446
+ "type": "error"
41447
+ },
41448
+ {
41449
+ "inputs": [],
41450
+ "name": "LiquidateMarketNotFresh",
41451
+ "type": "error"
41452
+ },
41453
+ {
41454
+ "inputs": [],
41455
+ "name": "MarketAlreadyListed",
41456
+ "type": "error"
41457
+ },
41458
+ {
41459
+ "inputs": [],
41460
+ "name": "MarketCanOnlyInitializeOnce",
41461
+ "type": "error"
41462
+ },
41463
+ {
41464
+ "inputs": [],
41465
+ "name": "MarketNotListed",
41466
+ "type": "error"
41467
+ },
41468
+ {
41469
+ "inputs": [],
41470
+ "name": "MinDelayNotReached",
41471
+ "type": "error"
41472
+ },
41473
+ {
41474
+ "inputs": [],
41475
+ "name": "MintMarketNotFresh",
41476
+ "type": "error"
41477
+ },
41478
+ {
41479
+ "inputs": [],
41480
+ "name": "MintPaused",
41481
+ "type": "error"
41482
+ },
41483
+ {
41484
+ "inputs": [],
41485
+ "name": "NoRedemptionProvider",
41486
+ "type": "error"
41487
+ },
41488
+ {
41489
+ "inputs": [],
41490
+ "name": "NotCToken",
41491
+ "type": "error"
41492
+ },
41493
+ {
41494
+ "inputs": [],
41495
+ "name": "NotEnoughForSeize",
41496
+ "type": "error"
41497
+ },
41498
+ {
41499
+ "inputs": [],
41500
+ "name": "NotLiquidatableYet",
41501
+ "type": "error"
41502
+ },
41503
+ {
41504
+ "inputs": [],
41505
+ "name": "NotSuToken",
41506
+ "type": "error"
41507
+ },
41508
+ {
41509
+ "inputs": [],
41510
+ "name": "OnlyAdmin",
41511
+ "type": "error"
41512
+ },
41513
+ {
41514
+ "inputs": [],
41515
+ "name": "OnlyAdminOrPauser",
41516
+ "type": "error"
41517
+ },
41518
+ {
41519
+ "inputs": [],
41520
+ "name": "OnlyCToken",
41521
+ "type": "error"
41522
+ },
41523
+ {
41524
+ "inputs": [],
41525
+ "name": "OnlyListedCToken",
41526
+ "type": "error"
41527
+ },
41528
+ {
41529
+ "inputs": [],
41530
+ "name": "OnlyPendingAdmin",
41531
+ "type": "error"
41532
+ },
41533
+ {
41534
+ "inputs": [],
41535
+ "name": "OnlyRedemptionManager",
41536
+ "type": "error"
41537
+ },
41538
+ {
41539
+ "inputs": [],
41540
+ "name": "PriceError",
41541
+ "type": "error"
41542
+ },
41543
+ {
41544
+ "inputs": [],
41545
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
41546
+ "type": "error"
41547
+ },
41548
+ {
41549
+ "inputs": [],
41550
+ "name": "RedeemMarketNotFresh",
41551
+ "type": "error"
41552
+ },
41553
+ {
41554
+ "inputs": [],
41555
+ "name": "RedeemTransferOutNotPossible",
41556
+ "type": "error"
41557
+ },
41558
+ {
41559
+ "inputs": [],
41560
+ "name": "RedemptionSeizeTooMuch",
41561
+ "type": "error"
41562
+ },
41563
+ {
41564
+ "inputs": [],
41565
+ "name": "RedemptionSignerNotInitialized",
41566
+ "type": "error"
41567
+ },
41568
+ {
41569
+ "inputs": [],
41570
+ "name": "ReduceReservesCashNotAvailable",
41571
+ "type": "error"
41572
+ },
41573
+ {
41574
+ "inputs": [],
41575
+ "name": "ReduceReservesMarketNotFresh",
41576
+ "type": "error"
41577
+ },
41578
+ {
41579
+ "inputs": [],
41580
+ "name": "RepayBorrowMarketNotFresh",
41581
+ "type": "error"
41582
+ },
41583
+ {
41584
+ "inputs": [],
41585
+ "name": "SeizePaused",
41586
+ "type": "error"
41587
+ },
41588
+ {
41589
+ "inputs": [],
41590
+ "name": "Seize_LiquidatorIsBorrower",
41591
+ "type": "error"
41592
+ },
41593
+ {
41594
+ "inputs": [],
41595
+ "name": "SenderMustBeCToken",
41596
+ "type": "error"
41597
+ },
41598
+ {
41599
+ "inputs": [],
41600
+ "name": "SetInterestRateModelMarketNotFresh",
41601
+ "type": "error"
41602
+ },
41603
+ {
41604
+ "inputs": [],
41605
+ "name": "SetReservesFactorMarketNotFresh",
41606
+ "type": "error"
41607
+ },
41608
+ {
41609
+ "inputs": [],
41610
+ "name": "SupplyCapReached",
41611
+ "type": "error"
41612
+ },
41613
+ {
41614
+ "inputs": [],
41615
+ "name": "TokenInOrAmountInMustBeZero",
41616
+ "type": "error"
41617
+ },
41618
+ {
41619
+ "inputs": [],
41620
+ "name": "TokenTransferInFailed",
41621
+ "type": "error"
41622
+ },
41623
+ {
41624
+ "inputs": [],
41625
+ "name": "TokenTransferOutFailed",
41626
+ "type": "error"
41627
+ },
41628
+ {
41629
+ "inputs": [],
41630
+ "name": "TooMuchRepay",
41631
+ "type": "error"
41632
+ },
41633
+ {
41634
+ "inputs": [],
41635
+ "name": "TransferNotAllowed",
41636
+ "type": "error"
41637
+ },
41638
+ {
41639
+ "inputs": [],
41640
+ "name": "TransferPaused",
41641
+ "type": "error"
41642
+ },
41643
+ {
41644
+ "inputs": [],
41645
+ "name": "UnderlyingBalanceError",
41646
+ "type": "error"
41647
+ },
41648
+ {
41649
+ "inputs": [],
41650
+ "name": "ZeroAddressNotAllowed",
41651
+ "type": "error"
41652
+ },
41653
+ {
41654
+ "inputs": [
41655
+ {
41656
+ "internalType": "contract ICToken",
41657
+ "name": "cToken",
41658
+ "type": "address"
41659
+ },
41660
+ {
41661
+ "internalType": "address payable",
41662
+ "name": "account",
41663
+ "type": "address"
41664
+ }
41665
+ ],
41666
+ "name": "cTokenBalances",
41667
+ "outputs": [
41668
+ {
41669
+ "components": [
41670
+ {
41671
+ "internalType": "address",
41672
+ "name": "cToken",
41673
+ "type": "address"
41674
+ },
41675
+ {
41676
+ "internalType": "bool",
41677
+ "name": "isCToken",
41678
+ "type": "bool"
41679
+ },
41680
+ {
41681
+ "internalType": "bool",
41682
+ "name": "isCEther",
41683
+ "type": "bool"
41684
+ },
41685
+ {
41686
+ "internalType": "uint256",
41687
+ "name": "balanceOf",
41688
+ "type": "uint256"
41689
+ },
41690
+ {
41691
+ "internalType": "uint256",
41692
+ "name": "borrowBalanceCurrent",
41693
+ "type": "uint256"
41694
+ },
41695
+ {
41696
+ "internalType": "uint256",
41697
+ "name": "balanceOfUnderlying",
41698
+ "type": "uint256"
41699
+ },
41700
+ {
41701
+ "internalType": "uint256",
41702
+ "name": "tokenBalance",
41703
+ "type": "uint256"
41704
+ },
41705
+ {
41706
+ "internalType": "uint256",
41707
+ "name": "tokenAllowance",
41708
+ "type": "uint256"
41709
+ }
41710
+ ],
41711
+ "internalType": "struct CompoundLens.CTokenBalances",
41712
+ "name": "",
41713
+ "type": "tuple"
41714
+ }
41715
+ ],
41716
+ "stateMutability": "nonpayable",
41717
+ "type": "function"
41718
+ },
41719
+ {
41720
+ "inputs": [
41721
+ {
41722
+ "internalType": "contract ICToken[]",
41723
+ "name": "cTokens",
41724
+ "type": "address[]"
41725
+ },
41726
+ {
41727
+ "internalType": "address payable",
41728
+ "name": "account",
41729
+ "type": "address"
41730
+ }
41731
+ ],
41732
+ "name": "cTokenBalancesAll",
41733
+ "outputs": [
41734
+ {
41735
+ "components": [
41736
+ {
41737
+ "internalType": "address",
41738
+ "name": "cToken",
41739
+ "type": "address"
41740
+ },
41741
+ {
41742
+ "internalType": "bool",
41743
+ "name": "isCToken",
41744
+ "type": "bool"
41745
+ },
41746
+ {
41747
+ "internalType": "bool",
41748
+ "name": "isCEther",
41749
+ "type": "bool"
41750
+ },
41751
+ {
41752
+ "internalType": "uint256",
41753
+ "name": "balanceOf",
41754
+ "type": "uint256"
41755
+ },
41756
+ {
41757
+ "internalType": "uint256",
41758
+ "name": "borrowBalanceCurrent",
41759
+ "type": "uint256"
41760
+ },
41761
+ {
41762
+ "internalType": "uint256",
41763
+ "name": "balanceOfUnderlying",
41764
+ "type": "uint256"
41765
+ },
41766
+ {
41767
+ "internalType": "uint256",
41768
+ "name": "tokenBalance",
41769
+ "type": "uint256"
41770
+ },
41771
+ {
41772
+ "internalType": "uint256",
41773
+ "name": "tokenAllowance",
41774
+ "type": "uint256"
41775
+ }
41776
+ ],
41777
+ "internalType": "struct CompoundLens.CTokenBalances[]",
41778
+ "name": "",
41779
+ "type": "tuple[]"
41780
+ }
41781
+ ],
41782
+ "stateMutability": "nonpayable",
41783
+ "type": "function"
41784
+ },
41785
+ {
41786
+ "inputs": [
41787
+ {
41788
+ "internalType": "contract ICToken",
41789
+ "name": "cToken",
41790
+ "type": "address"
41791
+ }
41792
+ ],
41793
+ "name": "cTokenMetadata",
41794
+ "outputs": [
41795
+ {
41796
+ "components": [
41797
+ {
41798
+ "internalType": "address",
41799
+ "name": "cToken",
41800
+ "type": "address"
41801
+ },
41802
+ {
41803
+ "internalType": "uint256",
41804
+ "name": "exchangeRateCurrent",
41805
+ "type": "uint256"
41806
+ },
41807
+ {
41808
+ "internalType": "uint256",
41809
+ "name": "supplyRatePerBlock",
41810
+ "type": "uint256"
41811
+ },
41812
+ {
41813
+ "internalType": "uint256",
41814
+ "name": "borrowRatePerBlock",
41815
+ "type": "uint256"
41816
+ },
41817
+ {
41818
+ "internalType": "uint256",
41819
+ "name": "reserveFactorMantissa",
41820
+ "type": "uint256"
41821
+ },
41822
+ {
41823
+ "internalType": "uint256",
41824
+ "name": "totalBorrows",
41825
+ "type": "uint256"
41826
+ },
41827
+ {
41828
+ "internalType": "uint256",
41829
+ "name": "totalReserves",
41830
+ "type": "uint256"
41831
+ },
41832
+ {
41833
+ "internalType": "uint256",
41834
+ "name": "totalSupply",
41835
+ "type": "uint256"
41836
+ },
41837
+ {
41838
+ "internalType": "uint256",
41839
+ "name": "totalCash",
41840
+ "type": "uint256"
41841
+ },
41842
+ {
41843
+ "internalType": "bool",
41844
+ "name": "isListed",
41845
+ "type": "bool"
41846
+ },
41847
+ {
41848
+ "internalType": "address",
41849
+ "name": "underlyingAssetAddress",
41850
+ "type": "address"
41851
+ },
41852
+ {
41853
+ "internalType": "uint256",
41854
+ "name": "cTokenDecimals",
41855
+ "type": "uint256"
41856
+ },
41857
+ {
41858
+ "internalType": "uint256",
41859
+ "name": "underlyingDecimals",
41860
+ "type": "uint256"
41861
+ },
41862
+ {
41863
+ "internalType": "bool",
41864
+ "name": "isCToken",
41865
+ "type": "bool"
41866
+ },
41867
+ {
41868
+ "internalType": "bool",
41869
+ "name": "isCEther",
41870
+ "type": "bool"
41871
+ },
41872
+ {
41873
+ "internalType": "uint256",
41874
+ "name": "borrowCap",
41875
+ "type": "uint256"
41876
+ },
41877
+ {
41878
+ "internalType": "uint256",
41879
+ "name": "depositCap",
41880
+ "type": "uint256"
41881
+ },
41882
+ {
41883
+ "internalType": "uint256",
41884
+ "name": "heteroLiquidationIncentive",
41885
+ "type": "uint256"
41886
+ },
41887
+ {
41888
+ "internalType": "uint256",
41889
+ "name": "homoLiquidationIncentive",
41890
+ "type": "uint256"
41891
+ },
41892
+ {
41893
+ "internalType": "uint256",
41894
+ "name": "sutokenLiquidationIncentive",
41895
+ "type": "uint256"
41896
+ },
41897
+ {
41898
+ "internalType": "uint8",
41899
+ "name": "groupId",
41900
+ "type": "uint8"
41901
+ },
41902
+ {
41903
+ "internalType": "uint256",
41904
+ "name": "intraRate",
41905
+ "type": "uint256"
41906
+ },
41907
+ {
41908
+ "internalType": "uint256",
41909
+ "name": "mintRate",
41910
+ "type": "uint256"
41911
+ },
41912
+ {
41913
+ "internalType": "uint256",
41914
+ "name": "interRate",
41915
+ "type": "uint256"
41916
+ },
41917
+ {
41918
+ "internalType": "uint256",
41919
+ "name": "discountRate",
41920
+ "type": "uint256"
41921
+ }
41922
+ ],
41923
+ "internalType": "struct CompoundLens.CTokenMetadata",
41924
+ "name": "",
41925
+ "type": "tuple"
41926
+ }
41927
+ ],
41928
+ "stateMutability": "nonpayable",
41929
+ "type": "function"
41930
+ },
41931
+ {
41932
+ "inputs": [
41933
+ {
41934
+ "internalType": "contract ICToken[]",
41935
+ "name": "cTokens",
41936
+ "type": "address[]"
41937
+ }
41938
+ ],
41939
+ "name": "cTokenMetadataAll",
41940
+ "outputs": [
41941
+ {
41942
+ "components": [
41943
+ {
41944
+ "internalType": "address",
41945
+ "name": "cToken",
41946
+ "type": "address"
41947
+ },
41948
+ {
41949
+ "internalType": "uint256",
41950
+ "name": "exchangeRateCurrent",
41951
+ "type": "uint256"
41952
+ },
41953
+ {
41954
+ "internalType": "uint256",
41955
+ "name": "supplyRatePerBlock",
41956
+ "type": "uint256"
41957
+ },
41958
+ {
41959
+ "internalType": "uint256",
41960
+ "name": "borrowRatePerBlock",
41961
+ "type": "uint256"
41962
+ },
41963
+ {
41964
+ "internalType": "uint256",
41965
+ "name": "reserveFactorMantissa",
41966
+ "type": "uint256"
41967
+ },
41968
+ {
41969
+ "internalType": "uint256",
41970
+ "name": "totalBorrows",
41971
+ "type": "uint256"
41972
+ },
41973
+ {
41974
+ "internalType": "uint256",
41975
+ "name": "totalReserves",
41976
+ "type": "uint256"
41977
+ },
41978
+ {
41979
+ "internalType": "uint256",
41980
+ "name": "totalSupply",
41981
+ "type": "uint256"
41982
+ },
41983
+ {
41984
+ "internalType": "uint256",
41985
+ "name": "totalCash",
41986
+ "type": "uint256"
41987
+ },
41988
+ {
41989
+ "internalType": "bool",
41990
+ "name": "isListed",
41991
+ "type": "bool"
41992
+ },
41993
+ {
41994
+ "internalType": "address",
41995
+ "name": "underlyingAssetAddress",
41996
+ "type": "address"
41997
+ },
41998
+ {
41999
+ "internalType": "uint256",
42000
+ "name": "cTokenDecimals",
42001
+ "type": "uint256"
42002
+ },
42003
+ {
42004
+ "internalType": "uint256",
42005
+ "name": "underlyingDecimals",
42006
+ "type": "uint256"
42007
+ },
42008
+ {
42009
+ "internalType": "bool",
42010
+ "name": "isCToken",
42011
+ "type": "bool"
42012
+ },
42013
+ {
42014
+ "internalType": "bool",
42015
+ "name": "isCEther",
42016
+ "type": "bool"
42017
+ },
42018
+ {
42019
+ "internalType": "uint256",
42020
+ "name": "borrowCap",
42021
+ "type": "uint256"
42022
+ },
42023
+ {
42024
+ "internalType": "uint256",
42025
+ "name": "depositCap",
42026
+ "type": "uint256"
42027
+ },
42028
+ {
42029
+ "internalType": "uint256",
42030
+ "name": "heteroLiquidationIncentive",
42031
+ "type": "uint256"
42032
+ },
42033
+ {
42034
+ "internalType": "uint256",
42035
+ "name": "homoLiquidationIncentive",
42036
+ "type": "uint256"
42037
+ },
42038
+ {
42039
+ "internalType": "uint256",
42040
+ "name": "sutokenLiquidationIncentive",
42041
+ "type": "uint256"
42042
+ },
42043
+ {
42044
+ "internalType": "uint8",
42045
+ "name": "groupId",
42046
+ "type": "uint8"
42047
+ },
42048
+ {
42049
+ "internalType": "uint256",
42050
+ "name": "intraRate",
42051
+ "type": "uint256"
42052
+ },
42053
+ {
42054
+ "internalType": "uint256",
42055
+ "name": "mintRate",
42056
+ "type": "uint256"
42057
+ },
42058
+ {
42059
+ "internalType": "uint256",
42060
+ "name": "interRate",
42061
+ "type": "uint256"
42062
+ },
42063
+ {
42064
+ "internalType": "uint256",
42065
+ "name": "discountRate",
42066
+ "type": "uint256"
42067
+ }
42068
+ ],
42069
+ "internalType": "struct CompoundLens.CTokenMetadata[]",
42070
+ "name": "",
42071
+ "type": "tuple[]"
42072
+ }
42073
+ ],
42074
+ "stateMutability": "nonpayable",
42075
+ "type": "function"
42076
+ },
42077
+ {
42078
+ "inputs": [
42079
+ {
42080
+ "internalType": "contract ICToken",
42081
+ "name": "cToken",
42082
+ "type": "address"
42083
+ }
42084
+ ],
42085
+ "name": "cTokenUnderlyingPrice",
42086
+ "outputs": [
42087
+ {
42088
+ "components": [
42089
+ {
42090
+ "internalType": "address",
42091
+ "name": "cToken",
42092
+ "type": "address"
42093
+ },
42094
+ {
42095
+ "internalType": "uint256",
42096
+ "name": "underlyingPrice",
42097
+ "type": "uint256"
42098
+ }
42099
+ ],
42100
+ "internalType": "struct CompoundLens.CTokenUnderlyingPrice",
42101
+ "name": "",
42102
+ "type": "tuple"
42103
+ }
42104
+ ],
42105
+ "stateMutability": "view",
42106
+ "type": "function"
42107
+ },
42108
+ {
42109
+ "inputs": [
42110
+ {
42111
+ "internalType": "contract ICToken[]",
42112
+ "name": "cTokens",
42113
+ "type": "address[]"
42114
+ }
42115
+ ],
42116
+ "name": "cTokenUnderlyingPriceAll",
42117
+ "outputs": [
42118
+ {
42119
+ "components": [
42120
+ {
42121
+ "internalType": "address",
42122
+ "name": "cToken",
42123
+ "type": "address"
42124
+ },
42125
+ {
42126
+ "internalType": "uint256",
42127
+ "name": "underlyingPrice",
42128
+ "type": "uint256"
42129
+ }
42130
+ ],
42131
+ "internalType": "struct CompoundLens.CTokenUnderlyingPrice[]",
42132
+ "name": "",
42133
+ "type": "tuple[]"
42134
+ }
42135
+ ],
42136
+ "stateMutability": "view",
42137
+ "type": "function"
42138
+ },
42139
+ {
42140
+ "inputs": [
42141
+ {
42142
+ "internalType": "address",
42143
+ "name": "account",
42144
+ "type": "address"
42145
+ },
42146
+ {
42147
+ "internalType": "address",
42148
+ "name": "cTokenCollateral",
42149
+ "type": "address"
42150
+ },
42151
+ {
42152
+ "internalType": "address",
42153
+ "name": "suToken",
42154
+ "type": "address"
42155
+ },
42156
+ {
42157
+ "internalType": "uint256",
42158
+ "name": "suBorrowAmount",
42159
+ "type": "uint256"
42160
+ }
42161
+ ],
42162
+ "name": "calcBorrowAmountForProtectedMint",
42163
+ "outputs": [
42164
+ {
42165
+ "internalType": "uint256",
42166
+ "name": "",
42167
+ "type": "uint256"
42168
+ },
42169
+ {
42170
+ "internalType": "uint256",
42171
+ "name": "",
42172
+ "type": "uint256"
42173
+ }
42174
+ ],
42175
+ "stateMutability": "view",
42176
+ "type": "function"
42177
+ },
42178
+ {
42179
+ "inputs": [
42180
+ {
42181
+ "internalType": "contract IComptroller",
42182
+ "name": "comptroller",
42183
+ "type": "address"
42184
+ },
42185
+ {
42186
+ "internalType": "address",
42187
+ "name": "account",
42188
+ "type": "address"
42189
+ }
42190
+ ],
42191
+ "name": "getAccountLimits",
42192
+ "outputs": [
42193
+ {
42194
+ "components": [
42195
+ {
42196
+ "internalType": "address[]",
42197
+ "name": "markets",
42198
+ "type": "address[]"
42199
+ },
42200
+ {
42201
+ "internalType": "uint256",
42202
+ "name": "liquidity",
42203
+ "type": "uint256"
42204
+ },
42205
+ {
42206
+ "internalType": "uint256",
42207
+ "name": "shortfall",
42208
+ "type": "uint256"
42209
+ }
42210
+ ],
42211
+ "internalType": "struct CompoundLens.AccountLimits",
42212
+ "name": "",
42213
+ "type": "tuple"
42214
+ }
42215
+ ],
42216
+ "stateMutability": "view",
42217
+ "type": "function"
42218
+ },
42219
+ {
42220
+ "inputs": [
42221
+ {
42222
+ "internalType": "contract IComptroller",
42223
+ "name": "comptroller",
42224
+ "type": "address"
42225
+ },
42226
+ {
42227
+ "internalType": "address",
42228
+ "name": "collateralToken",
42229
+ "type": "address"
42230
+ },
42231
+ {
42232
+ "internalType": "address",
42233
+ "name": "liabilityToken",
42234
+ "type": "address"
42235
+ }
42236
+ ],
42237
+ "name": "getCollateralRate",
42238
+ "outputs": [
42239
+ {
42240
+ "internalType": "uint256",
42241
+ "name": "",
42242
+ "type": "uint256"
42243
+ }
42244
+ ],
42245
+ "stateMutability": "view",
42246
+ "type": "function"
42247
+ },
42248
+ {
42249
+ "inputs": [
42250
+ {
42251
+ "internalType": "contract ICToken",
42252
+ "name": "comp",
42253
+ "type": "address"
42254
+ },
42255
+ {
42256
+ "internalType": "address",
42257
+ "name": "account",
42258
+ "type": "address"
42259
+ }
42260
+ ],
42261
+ "name": "getCompBalanceMetadata",
42262
+ "outputs": [
42263
+ {
42264
+ "components": [
42265
+ {
42266
+ "internalType": "uint256",
42267
+ "name": "balance",
42268
+ "type": "uint256"
42269
+ },
42270
+ {
42271
+ "internalType": "uint256",
42272
+ "name": "votes",
42273
+ "type": "uint256"
42274
+ },
42275
+ {
42276
+ "internalType": "address",
42277
+ "name": "delegate",
42278
+ "type": "address"
42279
+ }
42280
+ ],
42281
+ "internalType": "struct CompoundLens.CompBalanceMetadata",
42282
+ "name": "",
42283
+ "type": "tuple"
42284
+ }
42285
+ ],
42286
+ "stateMutability": "view",
42287
+ "type": "function"
42288
+ },
42289
+ {
42290
+ "inputs": [
42291
+ {
42292
+ "internalType": "contract ICToken",
42293
+ "name": "comp",
42294
+ "type": "address"
42295
+ },
42296
+ {
42297
+ "internalType": "contract IComptroller",
42298
+ "name": "comptroller",
42299
+ "type": "address"
42300
+ },
42301
+ {
42302
+ "internalType": "address",
42303
+ "name": "account",
42304
+ "type": "address"
42305
+ }
42306
+ ],
42307
+ "name": "getCompBalanceMetadataExt",
42308
+ "outputs": [
42309
+ {
42310
+ "components": [
42311
+ {
42312
+ "internalType": "uint256",
42313
+ "name": "balance",
42314
+ "type": "uint256"
42315
+ },
42316
+ {
42317
+ "internalType": "uint256",
42318
+ "name": "votes",
42319
+ "type": "uint256"
42320
+ },
42321
+ {
42322
+ "internalType": "address",
42323
+ "name": "delegate",
42324
+ "type": "address"
42325
+ },
42326
+ {
42327
+ "internalType": "uint256",
42328
+ "name": "allocated",
42329
+ "type": "uint256"
42330
+ }
42331
+ ],
42332
+ "internalType": "struct CompoundLens.CompBalanceMetadataExt",
42333
+ "name": "",
42334
+ "type": "tuple"
42335
+ }
42336
+ ],
42337
+ "stateMutability": "nonpayable",
42338
+ "type": "function"
42339
+ },
42340
+ {
42341
+ "inputs": [
42342
+ {
42343
+ "internalType": "contract ICToken",
42344
+ "name": "comp",
42345
+ "type": "address"
42346
+ },
42347
+ {
42348
+ "internalType": "address",
42349
+ "name": "account",
42350
+ "type": "address"
42351
+ },
42352
+ {
42353
+ "internalType": "uint32[]",
42354
+ "name": "blockNumbers",
42355
+ "type": "uint32[]"
42356
+ }
42357
+ ],
42358
+ "name": "getCompVotes",
42359
+ "outputs": [
42360
+ {
42361
+ "components": [
42362
+ {
42363
+ "internalType": "uint256",
42364
+ "name": "blockNumber",
42365
+ "type": "uint256"
42366
+ },
42367
+ {
42368
+ "internalType": "uint256",
42369
+ "name": "votes",
42370
+ "type": "uint256"
42371
+ }
42372
+ ],
42373
+ "internalType": "struct CompoundLens.CompVotes[]",
42374
+ "name": "",
42375
+ "type": "tuple[]"
42376
+ }
42377
+ ],
42378
+ "stateMutability": "view",
42379
+ "type": "function"
42380
+ },
42381
+ {
42382
+ "inputs": [
42383
+ {
42384
+ "internalType": "contract IGovernorBravo",
42385
+ "name": "governor",
42386
+ "type": "address"
42387
+ },
42388
+ {
42389
+ "internalType": "uint256[]",
42390
+ "name": "proposalIds",
42391
+ "type": "uint256[]"
42392
+ }
42393
+ ],
42394
+ "name": "getGovBravoProposals",
42395
+ "outputs": [
42396
+ {
42397
+ "components": [
42398
+ {
42399
+ "internalType": "uint256",
42400
+ "name": "proposalId",
42401
+ "type": "uint256"
42402
+ },
42403
+ {
42404
+ "internalType": "address",
42405
+ "name": "proposer",
42406
+ "type": "address"
42407
+ },
42408
+ {
42409
+ "internalType": "uint256",
42410
+ "name": "eta",
42411
+ "type": "uint256"
42412
+ },
42413
+ {
42414
+ "internalType": "address[]",
42415
+ "name": "targets",
42416
+ "type": "address[]"
42417
+ },
42418
+ {
42419
+ "internalType": "uint256[]",
42420
+ "name": "values",
42421
+ "type": "uint256[]"
42422
+ },
42423
+ {
42424
+ "internalType": "string[]",
42425
+ "name": "signatures",
42426
+ "type": "string[]"
42427
+ },
42428
+ {
42429
+ "internalType": "bytes[]",
42430
+ "name": "calldatas",
42431
+ "type": "bytes[]"
42432
+ },
42433
+ {
42434
+ "internalType": "uint256",
42435
+ "name": "startBlock",
42436
+ "type": "uint256"
42437
+ },
42438
+ {
42439
+ "internalType": "uint256",
42440
+ "name": "endBlock",
42441
+ "type": "uint256"
42442
+ },
42443
+ {
42444
+ "internalType": "uint256",
42445
+ "name": "forVotes",
42446
+ "type": "uint256"
42447
+ },
42448
+ {
42449
+ "internalType": "uint256",
42450
+ "name": "againstVotes",
42451
+ "type": "uint256"
42452
+ },
42453
+ {
42454
+ "internalType": "uint256",
42455
+ "name": "abstainVotes",
42456
+ "type": "uint256"
42457
+ },
42458
+ {
42459
+ "internalType": "bool",
42460
+ "name": "canceled",
42461
+ "type": "bool"
42462
+ },
42463
+ {
42464
+ "internalType": "bool",
42465
+ "name": "executed",
42466
+ "type": "bool"
42467
+ }
42468
+ ],
42469
+ "internalType": "struct CompoundLens.GovBravoProposal[]",
42470
+ "name": "",
42471
+ "type": "tuple[]"
42472
+ }
42473
+ ],
42474
+ "stateMutability": "view",
42475
+ "type": "function"
42476
+ },
42477
+ {
42478
+ "inputs": [
42479
+ {
42480
+ "internalType": "contract IGovernorBravo",
42481
+ "name": "governor",
42482
+ "type": "address"
42483
+ },
42484
+ {
42485
+ "internalType": "address",
42486
+ "name": "voter",
42487
+ "type": "address"
42488
+ },
42489
+ {
42490
+ "internalType": "uint256[]",
42491
+ "name": "proposalIds",
42492
+ "type": "uint256[]"
42493
+ }
42494
+ ],
42495
+ "name": "getGovBravoReceipts",
42496
+ "outputs": [
42497
+ {
42498
+ "components": [
42499
+ {
42500
+ "internalType": "uint256",
42501
+ "name": "proposalId",
42502
+ "type": "uint256"
42503
+ },
42504
+ {
42505
+ "internalType": "bool",
42506
+ "name": "hasVoted",
42507
+ "type": "bool"
42508
+ },
42509
+ {
42510
+ "internalType": "uint8",
42511
+ "name": "support",
42512
+ "type": "uint8"
42513
+ },
42514
+ {
42515
+ "internalType": "uint96",
42516
+ "name": "votes",
42517
+ "type": "uint96"
42518
+ }
42519
+ ],
42520
+ "internalType": "struct CompoundLens.GovBravoReceipt[]",
42521
+ "name": "",
42522
+ "type": "tuple[]"
42523
+ }
42524
+ ],
42525
+ "stateMutability": "view",
42526
+ "type": "function"
42527
+ },
42528
+ {
42529
+ "inputs": [
42530
+ {
42531
+ "internalType": "contract IGovernorAlpha",
42532
+ "name": "governor",
42533
+ "type": "address"
42534
+ },
42535
+ {
42536
+ "internalType": "uint256[]",
42537
+ "name": "proposalIds",
42538
+ "type": "uint256[]"
42539
+ }
42540
+ ],
42541
+ "name": "getGovProposals",
42542
+ "outputs": [
42543
+ {
42544
+ "components": [
42545
+ {
42546
+ "internalType": "uint256",
42547
+ "name": "proposalId",
42548
+ "type": "uint256"
42549
+ },
42550
+ {
42551
+ "internalType": "address",
42552
+ "name": "proposer",
42553
+ "type": "address"
42554
+ },
42555
+ {
42556
+ "internalType": "uint256",
42557
+ "name": "eta",
42558
+ "type": "uint256"
42559
+ },
42560
+ {
42561
+ "internalType": "address[]",
42562
+ "name": "targets",
42563
+ "type": "address[]"
42564
+ },
42565
+ {
42566
+ "internalType": "uint256[]",
42567
+ "name": "values",
42568
+ "type": "uint256[]"
42569
+ },
42570
+ {
42571
+ "internalType": "string[]",
42572
+ "name": "signatures",
42573
+ "type": "string[]"
42574
+ },
42575
+ {
42576
+ "internalType": "bytes[]",
42577
+ "name": "calldatas",
42578
+ "type": "bytes[]"
42579
+ },
42580
+ {
42581
+ "internalType": "uint256",
42582
+ "name": "startBlock",
42583
+ "type": "uint256"
42584
+ },
42585
+ {
42586
+ "internalType": "uint256",
42587
+ "name": "endBlock",
42588
+ "type": "uint256"
42589
+ },
42590
+ {
42591
+ "internalType": "uint256",
42592
+ "name": "forVotes",
42593
+ "type": "uint256"
42594
+ },
42595
+ {
42596
+ "internalType": "uint256",
42597
+ "name": "againstVotes",
42598
+ "type": "uint256"
42599
+ },
42600
+ {
42601
+ "internalType": "bool",
42602
+ "name": "canceled",
42603
+ "type": "bool"
42604
+ },
42605
+ {
42606
+ "internalType": "bool",
42607
+ "name": "executed",
42608
+ "type": "bool"
42609
+ }
42610
+ ],
42611
+ "internalType": "struct CompoundLens.GovProposal[]",
42612
+ "name": "",
42613
+ "type": "tuple[]"
42614
+ }
42615
+ ],
42616
+ "stateMutability": "view",
42617
+ "type": "function"
42618
+ },
42619
+ {
42620
+ "inputs": [
42621
+ {
42622
+ "internalType": "contract IGovernorAlpha",
42623
+ "name": "governor",
42624
+ "type": "address"
42625
+ },
42626
+ {
42627
+ "internalType": "address",
42628
+ "name": "voter",
42629
+ "type": "address"
42630
+ },
42631
+ {
42632
+ "internalType": "uint256[]",
42633
+ "name": "proposalIds",
42634
+ "type": "uint256[]"
42635
+ }
42636
+ ],
42637
+ "name": "getGovReceipts",
42638
+ "outputs": [
42639
+ {
42640
+ "components": [
42641
+ {
42642
+ "internalType": "uint256",
42643
+ "name": "proposalId",
42644
+ "type": "uint256"
42645
+ },
42646
+ {
42647
+ "internalType": "bool",
42648
+ "name": "hasVoted",
42649
+ "type": "bool"
42650
+ },
42651
+ {
42652
+ "internalType": "bool",
42653
+ "name": "support",
42654
+ "type": "bool"
42655
+ },
42656
+ {
42657
+ "internalType": "uint96",
42658
+ "name": "votes",
42659
+ "type": "uint96"
42660
+ }
42661
+ ],
42662
+ "internalType": "struct CompoundLens.GovReceipt[]",
42663
+ "name": "",
42664
+ "type": "tuple[]"
42665
+ }
42666
+ ],
42667
+ "stateMutability": "view",
42668
+ "type": "function"
42669
+ },
42670
+ {
42671
+ "inputs": [],
42672
+ "name": "percentScale",
42673
+ "outputs": [
42674
+ {
42675
+ "internalType": "uint256",
42676
+ "name": "",
42677
+ "type": "uint256"
42678
+ }
42679
+ ],
42680
+ "stateMutability": "view",
42681
+ "type": "function"
42682
+ }
41177
42683
  ]
41178
42684
  };
41179
42685
  //# sourceMappingURL=abi.js.map