@meterio/sumer-js 0.2.169 → 0.2.171

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 (164) hide show
  1. package/dist/browser/sumer.min.js +1 -1
  2. package/dist/nodejs/abi.d.ts +117 -2
  3. package/dist/nodejs/abi.js +2712 -127
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.js +11 -0
  6. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  7. package/dist/nodejs/constants/b2main.js +11 -0
  8. package/dist/nodejs/constants/b2main.js.map +1 -1
  9. package/dist/nodejs/constants/basemain.js +11 -0
  10. package/dist/nodejs/constants/basemain.js.map +1 -1
  11. package/dist/nodejs/constants/berabartio.js +11 -0
  12. package/dist/nodejs/constants/berabartio.js.map +1 -1
  13. package/dist/nodejs/constants/beramain.d.ts +0 -6
  14. package/dist/nodejs/constants/beramain.js +13 -47
  15. package/dist/nodejs/constants/beramain.js.map +1 -1
  16. package/dist/nodejs/constants/bitlayer.js +11 -0
  17. package/dist/nodejs/constants/bitlayer.js.map +1 -1
  18. package/dist/nodejs/constants/bsc.js +11 -0
  19. package/dist/nodejs/constants/bsc.js.map +1 -1
  20. package/dist/nodejs/constants/core.js +11 -0
  21. package/dist/nodejs/constants/core.js.map +1 -1
  22. package/dist/nodejs/constants/ethereum.js +11 -0
  23. package/dist/nodejs/constants/ethereum.js.map +1 -1
  24. package/dist/nodejs/constants/goat.d.ts +3 -0
  25. package/dist/nodejs/constants/goat.js +28 -2
  26. package/dist/nodejs/constants/goat.js.map +1 -1
  27. package/dist/nodejs/constants/hemi.js +11 -0
  28. package/dist/nodejs/constants/hemi.js.map +1 -1
  29. package/dist/nodejs/constants/metertest.js +11 -0
  30. package/dist/nodejs/constants/metertest.js.map +1 -1
  31. package/dist/nodejs/constants/monadtest.js +11 -0
  32. package/dist/nodejs/constants/monadtest.js.map +1 -1
  33. package/dist/nodejs/constants/sepolia.d.ts +2 -17
  34. package/dist/nodejs/constants/sepolia.js +13 -30
  35. package/dist/nodejs/constants/sepolia.js.map +1 -1
  36. package/dist/nodejs/constants/zklink.js +11 -0
  37. package/dist/nodejs/constants/zklink.js.map +1 -1
  38. package/dist/nodejs/errorABIs.js +946 -13
  39. package/dist/nodejs/errorABIs.js.map +1 -1
  40. package/dist/nodejs/index.d.ts +117 -2
  41. package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.d.ts +966 -0
  42. package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js +3 -0
  43. package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js.map +1 -0
  44. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.d.ts +966 -0
  45. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js +3 -0
  46. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js.map +1 -0
  47. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
  48. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js +3 -0
  49. package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
  50. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +3 -0
  51. package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +1 -17
  52. package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +1 -5
  53. package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +18 -2
  54. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.d.ts +29 -0
  55. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js +3 -0
  56. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js.map +1 -0
  57. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.d.ts +29 -0
  58. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js +3 -0
  59. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js.map +1 -0
  60. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.d.ts +52 -0
  61. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js +3 -0
  62. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js.map +1 -0
  63. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
  64. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js +3 -0
  65. package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
  66. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +14 -36
  67. package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.d.ts +20 -0
  68. package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js +3 -0
  69. package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js.map +1 -0
  70. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +5 -1
  71. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +6 -6
  72. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  73. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
  74. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.d.ts +1649 -0
  75. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js +2118 -0
  76. package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js.map +1 -0
  77. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.d.ts +1649 -0
  78. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js +2118 -0
  79. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js.map +1 -0
  80. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
  81. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js +9 -0
  82. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
  83. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +21 -1
  84. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +28 -1
  85. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  86. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +21 -1
  87. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +28 -1
  88. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  89. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +20 -0
  90. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +27 -0
  91. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  92. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +21 -1
  93. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +28 -1
  94. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  95. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +2 -0
  96. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +27 -1
  97. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  98. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +21 -1
  99. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +28 -1
  100. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  101. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +21 -27
  102. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +28 -35
  103. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  104. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +21 -1
  105. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +28 -1
  106. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  107. package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.d.ts +21 -1
  108. package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +28 -1
  109. package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js.map +1 -1
  110. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +21 -1
  111. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +28 -1
  112. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  113. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  114. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +21 -1
  116. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +28 -1
  117. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +0 -10
  119. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +0 -13
  120. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +44 -0
  122. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +58 -0
  123. package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -1
  124. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.d.ts +54 -0
  125. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js +82 -0
  126. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js.map +1 -0
  127. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.d.ts +21 -0
  128. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js +39 -0
  129. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js.map +1 -0
  130. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.d.ts +38 -0
  131. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js +61 -0
  132. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js.map +1 -0
  133. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
  134. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js +13 -0
  135. package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
  136. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +19 -45
  137. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +25 -58
  138. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  139. package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.d.ts +74 -0
  140. package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js +105 -0
  141. package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js.map +1 -0
  142. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +11 -1
  143. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +14 -1
  144. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -1
  145. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +4 -8
  146. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +4 -10
  147. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -1
  148. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  149. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
  150. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
  151. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
  152. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
  153. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  154. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +21 -1
  155. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +28 -1
  156. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  157. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +21 -1
  158. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +28 -1
  159. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  160. package/dist/nodejs/typechain/hardhat.d.ts +126 -0
  161. package/dist/nodejs/typechain/index.d.ts +12 -0
  162. package/dist/nodejs/typechain/index.js +14 -2
  163. package/dist/nodejs/typechain/index.js.map +1 -1
  164. package/package.json +1 -1
@@ -513,6 +513,28 @@ exports.abi = {
513
513
  "name": "InvalidReserveFactor",
514
514
  "type": "error"
515
515
  },
516
+ {
517
+ "inputs": [
518
+ {
519
+ "internalType": "address",
520
+ "name": "signer",
521
+ "type": "address"
522
+ }
523
+ ],
524
+ "name": "InvalidSignatureForBorrow",
525
+ "type": "error"
526
+ },
527
+ {
528
+ "inputs": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "signer",
532
+ "type": "address"
533
+ }
534
+ ],
535
+ "name": "InvalidSignatureForMint",
536
+ "type": "error"
537
+ },
516
538
  {
517
539
  "inputs": [],
518
540
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -648,6 +670,11 @@ exports.abi = {
648
670
  "name": "NotEnoughUnderlyingForMint",
649
671
  "type": "error"
650
672
  },
673
+ {
674
+ "inputs": [],
675
+ "name": "NotImplemented",
676
+ "type": "error"
677
+ },
651
678
  {
652
679
  "inputs": [],
653
680
  "name": "NotLiquidatableYet",
@@ -1998,6 +2025,28 @@ exports.abi = {
1998
2025
  "name": "InvalidReserveFactor",
1999
2026
  "type": "error"
2000
2027
  },
2028
+ {
2029
+ "inputs": [
2030
+ {
2031
+ "internalType": "address",
2032
+ "name": "signer",
2033
+ "type": "address"
2034
+ }
2035
+ ],
2036
+ "name": "InvalidSignatureForBorrow",
2037
+ "type": "error"
2038
+ },
2039
+ {
2040
+ "inputs": [
2041
+ {
2042
+ "internalType": "address",
2043
+ "name": "signer",
2044
+ "type": "address"
2045
+ }
2046
+ ],
2047
+ "name": "InvalidSignatureForMint",
2048
+ "type": "error"
2049
+ },
2001
2050
  {
2002
2051
  "inputs": [],
2003
2052
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -2133,6 +2182,11 @@ exports.abi = {
2133
2182
  "name": "NotEnoughUnderlyingForMint",
2134
2183
  "type": "error"
2135
2184
  },
2185
+ {
2186
+ "inputs": [],
2187
+ "name": "NotImplemented",
2188
+ "type": "error"
2189
+ },
2136
2190
  {
2137
2191
  "inputs": [],
2138
2192
  "name": "NotLiquidatableYet",
@@ -3441,12 +3495,7 @@ exports.abi = {
3441
3495
  "type": "receive"
3442
3496
  }
3443
3497
  ],
3444
- "CErc20": [
3445
- {
3446
- "inputs": [],
3447
- "stateMutability": "nonpayable",
3448
- "type": "constructor"
3449
- },
3498
+ "CCompliantErc20": [
3450
3499
  {
3451
3500
  "inputs": [],
3452
3501
  "name": "AddReservesMarketNotFresh",
@@ -3644,6 +3693,28 @@ exports.abi = {
3644
3693
  "name": "InvalidReserveFactor",
3645
3694
  "type": "error"
3646
3695
  },
3696
+ {
3697
+ "inputs": [
3698
+ {
3699
+ "internalType": "address",
3700
+ "name": "signer",
3701
+ "type": "address"
3702
+ }
3703
+ ],
3704
+ "name": "InvalidSignatureForBorrow",
3705
+ "type": "error"
3706
+ },
3707
+ {
3708
+ "inputs": [
3709
+ {
3710
+ "internalType": "address",
3711
+ "name": "signer",
3712
+ "type": "address"
3713
+ }
3714
+ ],
3715
+ "name": "InvalidSignatureForMint",
3716
+ "type": "error"
3717
+ },
3647
3718
  {
3648
3719
  "inputs": [],
3649
3720
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -3779,6 +3850,11 @@ exports.abi = {
3779
3850
  "name": "NotEnoughUnderlyingForMint",
3780
3851
  "type": "error"
3781
3852
  },
3853
+ {
3854
+ "inputs": [],
3855
+ "name": "NotImplemented",
3856
+ "type": "error"
3857
+ },
3782
3858
  {
3783
3859
  "inputs": [],
3784
3860
  "name": "NotLiquidatableYet",
@@ -4750,6 +4826,62 @@ exports.abi = {
4750
4826
  "stateMutability": "view",
4751
4827
  "type": "function"
4752
4828
  },
4829
+ {
4830
+ "inputs": [
4831
+ {
4832
+ "internalType": "uint256",
4833
+ "name": "borrowAmount",
4834
+ "type": "uint256"
4835
+ },
4836
+ {
4837
+ "internalType": "uint256",
4838
+ "name": "allowedAmount",
4839
+ "type": "uint256"
4840
+ },
4841
+ {
4842
+ "internalType": "bytes",
4843
+ "name": "extras",
4844
+ "type": "bytes"
4845
+ },
4846
+ {
4847
+ "internalType": "bytes",
4848
+ "name": "signature",
4849
+ "type": "bytes"
4850
+ }
4851
+ ],
4852
+ "name": "compliantBorrow",
4853
+ "outputs": [],
4854
+ "stateMutability": "nonpayable",
4855
+ "type": "function"
4856
+ },
4857
+ {
4858
+ "inputs": [
4859
+ {
4860
+ "internalType": "uint256",
4861
+ "name": "mintAmount",
4862
+ "type": "uint256"
4863
+ },
4864
+ {
4865
+ "internalType": "uint256",
4866
+ "name": "allowedAmount",
4867
+ "type": "uint256"
4868
+ },
4869
+ {
4870
+ "internalType": "bytes",
4871
+ "name": "extras",
4872
+ "type": "bytes"
4873
+ },
4874
+ {
4875
+ "internalType": "bytes",
4876
+ "name": "signature",
4877
+ "type": "bytes"
4878
+ }
4879
+ ],
4880
+ "name": "compliantMint",
4881
+ "outputs": [],
4882
+ "stateMutability": "nonpayable",
4883
+ "type": "function"
4884
+ },
4753
4885
  {
4754
4886
  "inputs": [],
4755
4887
  "name": "comptroller",
@@ -5246,6 +5378,19 @@ exports.abi = {
5246
5378
  "stateMutability": "nonpayable",
5247
5379
  "type": "function"
5248
5380
  },
5381
+ {
5382
+ "inputs": [
5383
+ {
5384
+ "internalType": "address",
5385
+ "name": "_kycSigner",
5386
+ "type": "address"
5387
+ }
5388
+ ],
5389
+ "name": "setKYCSigner",
5390
+ "outputs": [],
5391
+ "stateMutability": "nonpayable",
5392
+ "type": "function"
5393
+ },
5249
5394
  {
5250
5395
  "inputs": [],
5251
5396
  "name": "supplyRatePerBlock",
@@ -5430,7 +5575,7 @@ exports.abi = {
5430
5575
  "type": "function"
5431
5576
  }
5432
5577
  ],
5433
- "CEther": [
5578
+ "CErc20": [
5434
5579
  {
5435
5580
  "inputs": [],
5436
5581
  "stateMutability": "nonpayable",
@@ -5633,6 +5778,28 @@ exports.abi = {
5633
5778
  "name": "InvalidReserveFactor",
5634
5779
  "type": "error"
5635
5780
  },
5781
+ {
5782
+ "inputs": [
5783
+ {
5784
+ "internalType": "address",
5785
+ "name": "signer",
5786
+ "type": "address"
5787
+ }
5788
+ ],
5789
+ "name": "InvalidSignatureForBorrow",
5790
+ "type": "error"
5791
+ },
5792
+ {
5793
+ "inputs": [
5794
+ {
5795
+ "internalType": "address",
5796
+ "name": "signer",
5797
+ "type": "address"
5798
+ }
5799
+ ],
5800
+ "name": "InvalidSignatureForMint",
5801
+ "type": "error"
5802
+ },
5636
5803
  {
5637
5804
  "inputs": [],
5638
5805
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -5768,6 +5935,11 @@ exports.abi = {
5768
5935
  "name": "NotEnoughUnderlyingForMint",
5769
5936
  "type": "error"
5770
5937
  },
5938
+ {
5939
+ "inputs": [],
5940
+ "name": "NotImplemented",
5941
+ "type": "error"
5942
+ },
5771
5943
  {
5772
5944
  "inputs": [],
5773
5945
  "name": "NotLiquidatableYet",
@@ -6422,10 +6594,16 @@ exports.abi = {
6422
6594
  "type": "function"
6423
6595
  },
6424
6596
  {
6425
- "inputs": [],
6597
+ "inputs": [
6598
+ {
6599
+ "internalType": "uint256",
6600
+ "name": "addAmount",
6601
+ "type": "uint256"
6602
+ }
6603
+ ],
6426
6604
  "name": "_addReserves",
6427
6605
  "outputs": [],
6428
- "stateMutability": "payable",
6606
+ "stateMutability": "nonpayable",
6429
6607
  "type": "function"
6430
6608
  },
6431
6609
  {
@@ -6847,6 +7025,11 @@ exports.abi = {
6847
7025
  },
6848
7026
  {
6849
7027
  "inputs": [
7028
+ {
7029
+ "internalType": "address",
7030
+ "name": "underlying_",
7031
+ "type": "address"
7032
+ },
6850
7033
  {
6851
7034
  "internalType": "address",
6852
7035
  "name": "comptroller_",
@@ -6888,13 +7071,6 @@ exports.abi = {
6888
7071
  "stateMutability": "nonpayable",
6889
7072
  "type": "function"
6890
7073
  },
6891
- {
6892
- "inputs": [],
6893
- "name": "initializeVersion2",
6894
- "outputs": [],
6895
- "stateMutability": "nonpayable",
6896
- "type": "function"
6897
- },
6898
7074
  {
6899
7075
  "inputs": [],
6900
7076
  "name": "interestRateModel",
@@ -6967,6 +7143,11 @@ exports.abi = {
6967
7143
  "name": "borrower",
6968
7144
  "type": "address"
6969
7145
  },
7146
+ {
7147
+ "internalType": "uint256",
7148
+ "name": "repayAmount",
7149
+ "type": "uint256"
7150
+ },
6970
7151
  {
6971
7152
  "internalType": "address",
6972
7153
  "name": "cTokenCollateral",
@@ -6975,7 +7156,7 @@ exports.abi = {
6975
7156
  ],
6976
7157
  "name": "liquidateBorrow",
6977
7158
  "outputs": [],
6978
- "stateMutability": "payable",
7159
+ "stateMutability": "nonpayable",
6979
7160
  "type": "function"
6980
7161
  },
6981
7162
  {
@@ -7008,10 +7189,39 @@ exports.abi = {
7008
7189
  "type": "function"
7009
7190
  },
7010
7191
  {
7011
- "inputs": [],
7192
+ "inputs": [
7193
+ {
7194
+ "internalType": "uint256",
7195
+ "name": "mintAmount",
7196
+ "type": "uint256"
7197
+ }
7198
+ ],
7012
7199
  "name": "mint",
7013
7200
  "outputs": [],
7014
- "stateMutability": "payable",
7201
+ "stateMutability": "nonpayable",
7202
+ "type": "function"
7203
+ },
7204
+ {
7205
+ "inputs": [
7206
+ {
7207
+ "internalType": "uint256",
7208
+ "name": "mintAmount",
7209
+ "type": "uint256"
7210
+ },
7211
+ {
7212
+ "internalType": "uint256",
7213
+ "name": "deadline",
7214
+ "type": "uint256"
7215
+ },
7216
+ {
7217
+ "internalType": "bytes",
7218
+ "name": "signature",
7219
+ "type": "bytes"
7220
+ }
7221
+ ],
7222
+ "name": "mintWithPermit",
7223
+ "outputs": [],
7224
+ "stateMutability": "nonpayable",
7015
7225
  "type": "function"
7016
7226
  },
7017
7227
  {
@@ -7093,10 +7303,16 @@ exports.abi = {
7093
7303
  "type": "function"
7094
7304
  },
7095
7305
  {
7096
- "inputs": [],
7306
+ "inputs": [
7307
+ {
7308
+ "internalType": "uint256",
7309
+ "name": "repayAmount",
7310
+ "type": "uint256"
7311
+ }
7312
+ ],
7097
7313
  "name": "repayBorrow",
7098
7314
  "outputs": [],
7099
- "stateMutability": "payable",
7315
+ "stateMutability": "nonpayable",
7100
7316
  "type": "function"
7101
7317
  },
7102
7318
  {
@@ -7105,11 +7321,1983 @@ exports.abi = {
7105
7321
  "internalType": "address",
7106
7322
  "name": "borrower",
7107
7323
  "type": "address"
7324
+ },
7325
+ {
7326
+ "internalType": "uint256",
7327
+ "name": "repayAmount",
7328
+ "type": "uint256"
7108
7329
  }
7109
7330
  ],
7110
7331
  "name": "repayBorrowBehalf",
7111
7332
  "outputs": [],
7112
- "stateMutability": "payable",
7333
+ "stateMutability": "nonpayable",
7334
+ "type": "function"
7335
+ },
7336
+ {
7337
+ "inputs": [
7338
+ {
7339
+ "internalType": "uint256",
7340
+ "name": "repayAmount",
7341
+ "type": "uint256"
7342
+ },
7343
+ {
7344
+ "internalType": "uint256",
7345
+ "name": "deadline",
7346
+ "type": "uint256"
7347
+ },
7348
+ {
7349
+ "internalType": "bytes",
7350
+ "name": "signature",
7351
+ "type": "bytes"
7352
+ }
7353
+ ],
7354
+ "name": "repayBorrowWithPermit",
7355
+ "outputs": [],
7356
+ "stateMutability": "nonpayable",
7357
+ "type": "function"
7358
+ },
7359
+ {
7360
+ "inputs": [],
7361
+ "name": "reserveFactorMantissa",
7362
+ "outputs": [
7363
+ {
7364
+ "internalType": "uint256",
7365
+ "name": "",
7366
+ "type": "uint256"
7367
+ }
7368
+ ],
7369
+ "stateMutability": "view",
7370
+ "type": "function"
7371
+ },
7372
+ {
7373
+ "inputs": [
7374
+ {
7375
+ "internalType": "address",
7376
+ "name": "liquidator",
7377
+ "type": "address"
7378
+ },
7379
+ {
7380
+ "internalType": "address",
7381
+ "name": "borrower",
7382
+ "type": "address"
7383
+ },
7384
+ {
7385
+ "internalType": "uint256",
7386
+ "name": "seizeTokens",
7387
+ "type": "uint256"
7388
+ },
7389
+ {
7390
+ "internalType": "uint256",
7391
+ "name": "seizeProfitTokens",
7392
+ "type": "uint256"
7393
+ },
7394
+ {
7395
+ "internalType": "bool",
7396
+ "name": "isRedemption",
7397
+ "type": "bool"
7398
+ },
7399
+ {
7400
+ "internalType": "uint256",
7401
+ "name": "redemptionRateMantissa",
7402
+ "type": "uint256"
7403
+ }
7404
+ ],
7405
+ "name": "seize",
7406
+ "outputs": [],
7407
+ "stateMutability": "nonpayable",
7408
+ "type": "function"
7409
+ },
7410
+ {
7411
+ "inputs": [],
7412
+ "name": "supplyRatePerBlock",
7413
+ "outputs": [
7414
+ {
7415
+ "internalType": "uint256",
7416
+ "name": "",
7417
+ "type": "uint256"
7418
+ }
7419
+ ],
7420
+ "stateMutability": "view",
7421
+ "type": "function"
7422
+ },
7423
+ {
7424
+ "inputs": [
7425
+ {
7426
+ "internalType": "contract ERC20",
7427
+ "name": "token",
7428
+ "type": "address"
7429
+ }
7430
+ ],
7431
+ "name": "sweepToken",
7432
+ "outputs": [],
7433
+ "stateMutability": "nonpayable",
7434
+ "type": "function"
7435
+ },
7436
+ {
7437
+ "inputs": [],
7438
+ "name": "symbol",
7439
+ "outputs": [
7440
+ {
7441
+ "internalType": "string",
7442
+ "name": "",
7443
+ "type": "string"
7444
+ }
7445
+ ],
7446
+ "stateMutability": "view",
7447
+ "type": "function"
7448
+ },
7449
+ {
7450
+ "inputs": [],
7451
+ "name": "tokenType",
7452
+ "outputs": [
7453
+ {
7454
+ "internalType": "enum CToken.CTokenType",
7455
+ "name": "",
7456
+ "type": "uint8"
7457
+ }
7458
+ ],
7459
+ "stateMutability": "pure",
7460
+ "type": "function"
7461
+ },
7462
+ {
7463
+ "inputs": [],
7464
+ "name": "totalBorrows",
7465
+ "outputs": [
7466
+ {
7467
+ "internalType": "uint256",
7468
+ "name": "",
7469
+ "type": "uint256"
7470
+ }
7471
+ ],
7472
+ "stateMutability": "view",
7473
+ "type": "function"
7474
+ },
7475
+ {
7476
+ "inputs": [],
7477
+ "name": "totalBorrowsCurrent",
7478
+ "outputs": [
7479
+ {
7480
+ "internalType": "uint256",
7481
+ "name": "",
7482
+ "type": "uint256"
7483
+ }
7484
+ ],
7485
+ "stateMutability": "nonpayable",
7486
+ "type": "function"
7487
+ },
7488
+ {
7489
+ "inputs": [],
7490
+ "name": "totalReserves",
7491
+ "outputs": [
7492
+ {
7493
+ "internalType": "uint256",
7494
+ "name": "",
7495
+ "type": "uint256"
7496
+ }
7497
+ ],
7498
+ "stateMutability": "view",
7499
+ "type": "function"
7500
+ },
7501
+ {
7502
+ "inputs": [],
7503
+ "name": "totalSupply",
7504
+ "outputs": [
7505
+ {
7506
+ "internalType": "uint256",
7507
+ "name": "",
7508
+ "type": "uint256"
7509
+ }
7510
+ ],
7511
+ "stateMutability": "view",
7512
+ "type": "function"
7513
+ },
7514
+ {
7515
+ "inputs": [
7516
+ {
7517
+ "internalType": "address",
7518
+ "name": "dst",
7519
+ "type": "address"
7520
+ },
7521
+ {
7522
+ "internalType": "uint256",
7523
+ "name": "amount",
7524
+ "type": "uint256"
7525
+ }
7526
+ ],
7527
+ "name": "transfer",
7528
+ "outputs": [
7529
+ {
7530
+ "internalType": "bool",
7531
+ "name": "",
7532
+ "type": "bool"
7533
+ }
7534
+ ],
7535
+ "stateMutability": "nonpayable",
7536
+ "type": "function"
7537
+ },
7538
+ {
7539
+ "inputs": [
7540
+ {
7541
+ "internalType": "address",
7542
+ "name": "src",
7543
+ "type": "address"
7544
+ },
7545
+ {
7546
+ "internalType": "address",
7547
+ "name": "dst",
7548
+ "type": "address"
7549
+ },
7550
+ {
7551
+ "internalType": "uint256",
7552
+ "name": "amount",
7553
+ "type": "uint256"
7554
+ }
7555
+ ],
7556
+ "name": "transferFrom",
7557
+ "outputs": [
7558
+ {
7559
+ "internalType": "bool",
7560
+ "name": "",
7561
+ "type": "bool"
7562
+ }
7563
+ ],
7564
+ "stateMutability": "nonpayable",
7565
+ "type": "function"
7566
+ },
7567
+ {
7568
+ "inputs": [],
7569
+ "name": "underlying",
7570
+ "outputs": [
7571
+ {
7572
+ "internalType": "address",
7573
+ "name": "",
7574
+ "type": "address"
7575
+ }
7576
+ ],
7577
+ "stateMutability": "view",
7578
+ "type": "function"
7579
+ },
7580
+ {
7581
+ "inputs": [],
7582
+ "name": "underlyingBalance",
7583
+ "outputs": [
7584
+ {
7585
+ "internalType": "uint256",
7586
+ "name": "",
7587
+ "type": "uint256"
7588
+ }
7589
+ ],
7590
+ "stateMutability": "view",
7591
+ "type": "function"
7592
+ }
7593
+ ],
7594
+ "CEther": [
7595
+ {
7596
+ "inputs": [],
7597
+ "stateMutability": "nonpayable",
7598
+ "type": "constructor"
7599
+ },
7600
+ {
7601
+ "inputs": [],
7602
+ "name": "AddReservesMarketNotFresh",
7603
+ "type": "error"
7604
+ },
7605
+ {
7606
+ "inputs": [],
7607
+ "name": "AddReservesOverflow",
7608
+ "type": "error"
7609
+ },
7610
+ {
7611
+ "inputs": [],
7612
+ "name": "BorrowAndDepositBackFailed",
7613
+ "type": "error"
7614
+ },
7615
+ {
7616
+ "inputs": [],
7617
+ "name": "BorrowCapReached",
7618
+ "type": "error"
7619
+ },
7620
+ {
7621
+ "inputs": [],
7622
+ "name": "BorrowCashNotAvailable",
7623
+ "type": "error"
7624
+ },
7625
+ {
7626
+ "inputs": [],
7627
+ "name": "BorrowMarketNotFresh",
7628
+ "type": "error"
7629
+ },
7630
+ {
7631
+ "inputs": [],
7632
+ "name": "BorrowPaused",
7633
+ "type": "error"
7634
+ },
7635
+ {
7636
+ "inputs": [
7637
+ {
7638
+ "internalType": "uint256",
7639
+ "name": "usdThreshold",
7640
+ "type": "uint256"
7641
+ }
7642
+ ],
7643
+ "name": "BorrowValueMustBeLargerThanThreshold",
7644
+ "type": "error"
7645
+ },
7646
+ {
7647
+ "inputs": [],
7648
+ "name": "CantEnterPausedMarket",
7649
+ "type": "error"
7650
+ },
7651
+ {
7652
+ "inputs": [],
7653
+ "name": "CantExitMarketWithNonZeroBorrowBalance",
7654
+ "type": "error"
7655
+ },
7656
+ {
7657
+ "inputs": [],
7658
+ "name": "CantSweepUnderlying",
7659
+ "type": "error"
7660
+ },
7661
+ {
7662
+ "inputs": [],
7663
+ "name": "ComptrollerMismatch",
7664
+ "type": "error"
7665
+ },
7666
+ {
7667
+ "inputs": [],
7668
+ "name": "EitherAssetOrDebtMustBeZero",
7669
+ "type": "error"
7670
+ },
7671
+ {
7672
+ "inputs": [
7673
+ {
7674
+ "internalType": "uint8",
7675
+ "name": "groupId",
7676
+ "type": "uint8"
7677
+ },
7678
+ {
7679
+ "internalType": "uint256",
7680
+ "name": "cDepositVal",
7681
+ "type": "uint256"
7682
+ },
7683
+ {
7684
+ "internalType": "uint256",
7685
+ "name": "suDepositVal",
7686
+ "type": "uint256"
7687
+ },
7688
+ {
7689
+ "internalType": "uint256",
7690
+ "name": "cBorrowVal",
7691
+ "type": "uint256"
7692
+ },
7693
+ {
7694
+ "internalType": "uint256",
7695
+ "name": "suBorrowVal",
7696
+ "type": "uint256"
7697
+ }
7698
+ ],
7699
+ "name": "EitherAssetOrDebtMustBeZeroInGroup",
7700
+ "type": "error"
7701
+ },
7702
+ {
7703
+ "inputs": [],
7704
+ "name": "ExpiredSignature",
7705
+ "type": "error"
7706
+ },
7707
+ {
7708
+ "inputs": [],
7709
+ "name": "InsufficientCollateral",
7710
+ "type": "error"
7711
+ },
7712
+ {
7713
+ "inputs": [],
7714
+ "name": "InsufficientShortfall",
7715
+ "type": "error"
7716
+ },
7717
+ {
7718
+ "inputs": [],
7719
+ "name": "InterMintNotAllowed",
7720
+ "type": "error"
7721
+ },
7722
+ {
7723
+ "inputs": [],
7724
+ "name": "InvalidAddress",
7725
+ "type": "error"
7726
+ },
7727
+ {
7728
+ "inputs": [],
7729
+ "name": "InvalidAmount",
7730
+ "type": "error"
7731
+ },
7732
+ {
7733
+ "inputs": [],
7734
+ "name": "InvalidBlockNumber",
7735
+ "type": "error"
7736
+ },
7737
+ {
7738
+ "inputs": [],
7739
+ "name": "InvalidCToken",
7740
+ "type": "error"
7741
+ },
7742
+ {
7743
+ "inputs": [],
7744
+ "name": "InvalidCloseFactor",
7745
+ "type": "error"
7746
+ },
7747
+ {
7748
+ "inputs": [],
7749
+ "name": "InvalidComptroller",
7750
+ "type": "error"
7751
+ },
7752
+ {
7753
+ "inputs": [],
7754
+ "name": "InvalidDiscountRate",
7755
+ "type": "error"
7756
+ },
7757
+ {
7758
+ "inputs": [],
7759
+ "name": "InvalidExchangeRate",
7760
+ "type": "error"
7761
+ },
7762
+ {
7763
+ "inputs": [],
7764
+ "name": "InvalidGroupId",
7765
+ "type": "error"
7766
+ },
7767
+ {
7768
+ "inputs": [],
7769
+ "name": "InvalidInput",
7770
+ "type": "error"
7771
+ },
7772
+ {
7773
+ "inputs": [],
7774
+ "name": "InvalidInterestRateModel",
7775
+ "type": "error"
7776
+ },
7777
+ {
7778
+ "inputs": [],
7779
+ "name": "InvalidMinSuBorrowValue",
7780
+ "type": "error"
7781
+ },
7782
+ {
7783
+ "inputs": [],
7784
+ "name": "InvalidRedeem",
7785
+ "type": "error"
7786
+ },
7787
+ {
7788
+ "inputs": [],
7789
+ "name": "InvalidReduceAmount",
7790
+ "type": "error"
7791
+ },
7792
+ {
7793
+ "inputs": [],
7794
+ "name": "InvalidReserveFactor",
7795
+ "type": "error"
7796
+ },
7797
+ {
7798
+ "inputs": [
7799
+ {
7800
+ "internalType": "address",
7801
+ "name": "signer",
7802
+ "type": "address"
7803
+ }
7804
+ ],
7805
+ "name": "InvalidSignatureForBorrow",
7806
+ "type": "error"
7807
+ },
7808
+ {
7809
+ "inputs": [
7810
+ {
7811
+ "internalType": "address",
7812
+ "name": "signer",
7813
+ "type": "address"
7814
+ }
7815
+ ],
7816
+ "name": "InvalidSignatureForMint",
7817
+ "type": "error"
7818
+ },
7819
+ {
7820
+ "inputs": [],
7821
+ "name": "InvalidSignatureForRedeemFaceValue",
7822
+ "type": "error"
7823
+ },
7824
+ {
7825
+ "inputs": [],
7826
+ "name": "InvalidSignatureLength",
7827
+ "type": "error"
7828
+ },
7829
+ {
7830
+ "inputs": [],
7831
+ "name": "InvalidSuToken",
7832
+ "type": "error"
7833
+ },
7834
+ {
7835
+ "inputs": [],
7836
+ "name": "InvalidTimestamp",
7837
+ "type": "error"
7838
+ },
7839
+ {
7840
+ "inputs": [],
7841
+ "name": "LiquidateBorrow_LiquidatorIsBorrower",
7842
+ "type": "error"
7843
+ },
7844
+ {
7845
+ "inputs": [],
7846
+ "name": "LiquidateBorrow_RepayAmountIsMax",
7847
+ "type": "error"
7848
+ },
7849
+ {
7850
+ "inputs": [],
7851
+ "name": "LiquidateBorrow_RepayAmountIsZero",
7852
+ "type": "error"
7853
+ },
7854
+ {
7855
+ "inputs": [],
7856
+ "name": "LiquidateBorrow_SeizeTooMuch",
7857
+ "type": "error"
7858
+ },
7859
+ {
7860
+ "inputs": [],
7861
+ "name": "LiquidateCollateralMarketNotFresh",
7862
+ "type": "error"
7863
+ },
7864
+ {
7865
+ "inputs": [],
7866
+ "name": "LiquidateMarketNotFresh",
7867
+ "type": "error"
7868
+ },
7869
+ {
7870
+ "inputs": [],
7871
+ "name": "MarketAlreadyListed",
7872
+ "type": "error"
7873
+ },
7874
+ {
7875
+ "inputs": [],
7876
+ "name": "MarketAlreadyUnlisted",
7877
+ "type": "error"
7878
+ },
7879
+ {
7880
+ "inputs": [],
7881
+ "name": "MarketCanOnlyInitializeOnce",
7882
+ "type": "error"
7883
+ },
7884
+ {
7885
+ "inputs": [],
7886
+ "name": "MarketNotEmpty",
7887
+ "type": "error"
7888
+ },
7889
+ {
7890
+ "inputs": [],
7891
+ "name": "MarketNotListed",
7892
+ "type": "error"
7893
+ },
7894
+ {
7895
+ "inputs": [],
7896
+ "name": "MarketPaused",
7897
+ "type": "error"
7898
+ },
7899
+ {
7900
+ "inputs": [],
7901
+ "name": "MinDelayNotReached",
7902
+ "type": "error"
7903
+ },
7904
+ {
7905
+ "inputs": [],
7906
+ "name": "MintMarketNotFresh",
7907
+ "type": "error"
7908
+ },
7909
+ {
7910
+ "inputs": [],
7911
+ "name": "MintPaused",
7912
+ "type": "error"
7913
+ },
7914
+ {
7915
+ "inputs": [],
7916
+ "name": "MintTokensCantBeZero",
7917
+ "type": "error"
7918
+ },
7919
+ {
7920
+ "inputs": [],
7921
+ "name": "NoRedemptionProvider",
7922
+ "type": "error"
7923
+ },
7924
+ {
7925
+ "inputs": [],
7926
+ "name": "NotCToken",
7927
+ "type": "error"
7928
+ },
7929
+ {
7930
+ "inputs": [],
7931
+ "name": "NotEnoughForSeize",
7932
+ "type": "error"
7933
+ },
7934
+ {
7935
+ "inputs": [],
7936
+ "name": "NotEnoughRedeemAmount",
7937
+ "type": "error"
7938
+ },
7939
+ {
7940
+ "inputs": [],
7941
+ "name": "NotEnoughRedeemTokens",
7942
+ "type": "error"
7943
+ },
7944
+ {
7945
+ "inputs": [],
7946
+ "name": "NotEnoughUnderlyingAfterRedeem",
7947
+ "type": "error"
7948
+ },
7949
+ {
7950
+ "inputs": [],
7951
+ "name": "NotEnoughUnderlyingForMint",
7952
+ "type": "error"
7953
+ },
7954
+ {
7955
+ "inputs": [],
7956
+ "name": "NotImplemented",
7957
+ "type": "error"
7958
+ },
7959
+ {
7960
+ "inputs": [],
7961
+ "name": "NotLiquidatableYet",
7962
+ "type": "error"
7963
+ },
7964
+ {
7965
+ "inputs": [],
7966
+ "name": "NotSuToken",
7967
+ "type": "error"
7968
+ },
7969
+ {
7970
+ "inputs": [],
7971
+ "name": "OnlyAdmin",
7972
+ "type": "error"
7973
+ },
7974
+ {
7975
+ "inputs": [],
7976
+ "name": "OnlyAdminOrPauser",
7977
+ "type": "error"
7978
+ },
7979
+ {
7980
+ "inputs": [],
7981
+ "name": "OnlyCToken",
7982
+ "type": "error"
7983
+ },
7984
+ {
7985
+ "inputs": [],
7986
+ "name": "OnlyListedCToken",
7987
+ "type": "error"
7988
+ },
7989
+ {
7990
+ "inputs": [],
7991
+ "name": "OnlyPausedMarketCanBeUnlisted",
7992
+ "type": "error"
7993
+ },
7994
+ {
7995
+ "inputs": [],
7996
+ "name": "OnlyPendingAdmin",
7997
+ "type": "error"
7998
+ },
7999
+ {
8000
+ "inputs": [],
8001
+ "name": "OnlyRedemptionManager",
8002
+ "type": "error"
8003
+ },
8004
+ {
8005
+ "inputs": [],
8006
+ "name": "OverThreshold",
8007
+ "type": "error"
8008
+ },
8009
+ {
8010
+ "inputs": [],
8011
+ "name": "PriceError",
8012
+ "type": "error"
8013
+ },
8014
+ {
8015
+ "inputs": [],
8016
+ "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
8017
+ "type": "error"
8018
+ },
8019
+ {
8020
+ "inputs": [],
8021
+ "name": "RedeemMarketNotFresh",
8022
+ "type": "error"
8023
+ },
8024
+ {
8025
+ "inputs": [],
8026
+ "name": "RedeemTransferOutNotPossible",
8027
+ "type": "error"
8028
+ },
8029
+ {
8030
+ "inputs": [],
8031
+ "name": "RedemptionSeizeTooMuch",
8032
+ "type": "error"
8033
+ },
8034
+ {
8035
+ "inputs": [],
8036
+ "name": "RedemptionSignerNotInitialized",
8037
+ "type": "error"
8038
+ },
8039
+ {
8040
+ "inputs": [],
8041
+ "name": "ReduceReservesCashNotAvailable",
8042
+ "type": "error"
8043
+ },
8044
+ {
8045
+ "inputs": [],
8046
+ "name": "ReduceReservesMarketNotFresh",
8047
+ "type": "error"
8048
+ },
8049
+ {
8050
+ "inputs": [],
8051
+ "name": "Reentered",
8052
+ "type": "error"
8053
+ },
8054
+ {
8055
+ "inputs": [],
8056
+ "name": "RepayBorrowMarketNotFresh",
8057
+ "type": "error"
8058
+ },
8059
+ {
8060
+ "inputs": [],
8061
+ "name": "RepayTokenNotListed",
8062
+ "type": "error"
8063
+ },
8064
+ {
8065
+ "inputs": [],
8066
+ "name": "SeizePaused",
8067
+ "type": "error"
8068
+ },
8069
+ {
8070
+ "inputs": [],
8071
+ "name": "SeizeTokenNotListed",
8072
+ "type": "error"
8073
+ },
8074
+ {
8075
+ "inputs": [],
8076
+ "name": "Seize_LiquidatorIsBorrower",
8077
+ "type": "error"
8078
+ },
8079
+ {
8080
+ "inputs": [],
8081
+ "name": "SenderMustBeCToken",
8082
+ "type": "error"
8083
+ },
8084
+ {
8085
+ "inputs": [],
8086
+ "name": "SetInterestRateModelMarketNotFresh",
8087
+ "type": "error"
8088
+ },
8089
+ {
8090
+ "inputs": [],
8091
+ "name": "SetReservesFactorMarketNotFresh",
8092
+ "type": "error"
8093
+ },
8094
+ {
8095
+ "inputs": [],
8096
+ "name": "SupplyCapReached",
8097
+ "type": "error"
8098
+ },
8099
+ {
8100
+ "inputs": [],
8101
+ "name": "TokenInOrAmountInMustBeZero",
8102
+ "type": "error"
8103
+ },
8104
+ {
8105
+ "inputs": [],
8106
+ "name": "TokenTransferInFailed",
8107
+ "type": "error"
8108
+ },
8109
+ {
8110
+ "inputs": [],
8111
+ "name": "TokenTransferOutFailed",
8112
+ "type": "error"
8113
+ },
8114
+ {
8115
+ "inputs": [],
8116
+ "name": "TooMuchRepay",
8117
+ "type": "error"
8118
+ },
8119
+ {
8120
+ "inputs": [],
8121
+ "name": "TotalBorrowsNotZero",
8122
+ "type": "error"
8123
+ },
8124
+ {
8125
+ "inputs": [],
8126
+ "name": "TotalSupplyNotZero",
8127
+ "type": "error"
8128
+ },
8129
+ {
8130
+ "inputs": [],
8131
+ "name": "TransferNotAllowed",
8132
+ "type": "error"
8133
+ },
8134
+ {
8135
+ "inputs": [],
8136
+ "name": "TransferPaused",
8137
+ "type": "error"
8138
+ },
8139
+ {
8140
+ "inputs": [],
8141
+ "name": "UnderlyingBalanceError",
8142
+ "type": "error"
8143
+ },
8144
+ {
8145
+ "inputs": [],
8146
+ "name": "ZeroAddressNotAllowed",
8147
+ "type": "error"
8148
+ },
8149
+ {
8150
+ "anonymous": false,
8151
+ "inputs": [
8152
+ {
8153
+ "indexed": false,
8154
+ "internalType": "uint256",
8155
+ "name": "cashPrior",
8156
+ "type": "uint256"
8157
+ },
8158
+ {
8159
+ "indexed": false,
8160
+ "internalType": "uint256",
8161
+ "name": "interestAccumulated",
8162
+ "type": "uint256"
8163
+ },
8164
+ {
8165
+ "indexed": false,
8166
+ "internalType": "uint256",
8167
+ "name": "borrowIndex",
8168
+ "type": "uint256"
8169
+ },
8170
+ {
8171
+ "indexed": false,
8172
+ "internalType": "uint256",
8173
+ "name": "totalBorrows",
8174
+ "type": "uint256"
8175
+ }
8176
+ ],
8177
+ "name": "AccrueInterest",
8178
+ "type": "event"
8179
+ },
8180
+ {
8181
+ "anonymous": false,
8182
+ "inputs": [
8183
+ {
8184
+ "indexed": true,
8185
+ "internalType": "address",
8186
+ "name": "owner",
8187
+ "type": "address"
8188
+ },
8189
+ {
8190
+ "indexed": true,
8191
+ "internalType": "address",
8192
+ "name": "spender",
8193
+ "type": "address"
8194
+ },
8195
+ {
8196
+ "indexed": false,
8197
+ "internalType": "uint256",
8198
+ "name": "amount",
8199
+ "type": "uint256"
8200
+ }
8201
+ ],
8202
+ "name": "Approval",
8203
+ "type": "event"
8204
+ },
8205
+ {
8206
+ "anonymous": false,
8207
+ "inputs": [
8208
+ {
8209
+ "indexed": false,
8210
+ "internalType": "address",
8211
+ "name": "borrower",
8212
+ "type": "address"
8213
+ },
8214
+ {
8215
+ "indexed": false,
8216
+ "internalType": "uint256",
8217
+ "name": "borrowAmount",
8218
+ "type": "uint256"
8219
+ },
8220
+ {
8221
+ "indexed": false,
8222
+ "internalType": "uint256",
8223
+ "name": "accountBorrows",
8224
+ "type": "uint256"
8225
+ },
8226
+ {
8227
+ "indexed": false,
8228
+ "internalType": "uint256",
8229
+ "name": "totalBorrows",
8230
+ "type": "uint256"
8231
+ }
8232
+ ],
8233
+ "name": "Borrow",
8234
+ "type": "event"
8235
+ },
8236
+ {
8237
+ "anonymous": false,
8238
+ "inputs": [
8239
+ {
8240
+ "indexed": false,
8241
+ "internalType": "uint8",
8242
+ "name": "version",
8243
+ "type": "uint8"
8244
+ }
8245
+ ],
8246
+ "name": "Initialized",
8247
+ "type": "event"
8248
+ },
8249
+ {
8250
+ "anonymous": false,
8251
+ "inputs": [
8252
+ {
8253
+ "indexed": false,
8254
+ "internalType": "address",
8255
+ "name": "liquidator",
8256
+ "type": "address"
8257
+ },
8258
+ {
8259
+ "indexed": false,
8260
+ "internalType": "address",
8261
+ "name": "borrower",
8262
+ "type": "address"
8263
+ },
8264
+ {
8265
+ "indexed": false,
8266
+ "internalType": "uint256",
8267
+ "name": "repayAmount",
8268
+ "type": "uint256"
8269
+ },
8270
+ {
8271
+ "indexed": false,
8272
+ "internalType": "address",
8273
+ "name": "cTokenCollateral",
8274
+ "type": "address"
8275
+ },
8276
+ {
8277
+ "indexed": false,
8278
+ "internalType": "uint256",
8279
+ "name": "seizeTokens",
8280
+ "type": "uint256"
8281
+ }
8282
+ ],
8283
+ "name": "LiquidateBorrow",
8284
+ "type": "event"
8285
+ },
8286
+ {
8287
+ "anonymous": false,
8288
+ "inputs": [
8289
+ {
8290
+ "indexed": false,
8291
+ "internalType": "address",
8292
+ "name": "minter",
8293
+ "type": "address"
8294
+ },
8295
+ {
8296
+ "indexed": false,
8297
+ "internalType": "uint256",
8298
+ "name": "mintAmount",
8299
+ "type": "uint256"
8300
+ },
8301
+ {
8302
+ "indexed": false,
8303
+ "internalType": "uint256",
8304
+ "name": "mintTokens",
8305
+ "type": "uint256"
8306
+ }
8307
+ ],
8308
+ "name": "Mint",
8309
+ "type": "event"
8310
+ },
8311
+ {
8312
+ "anonymous": false,
8313
+ "inputs": [
8314
+ {
8315
+ "indexed": false,
8316
+ "internalType": "address",
8317
+ "name": "oldAdmin",
8318
+ "type": "address"
8319
+ },
8320
+ {
8321
+ "indexed": false,
8322
+ "internalType": "address",
8323
+ "name": "newAdmin",
8324
+ "type": "address"
8325
+ }
8326
+ ],
8327
+ "name": "NewAdmin",
8328
+ "type": "event"
8329
+ },
8330
+ {
8331
+ "anonymous": false,
8332
+ "inputs": [
8333
+ {
8334
+ "indexed": false,
8335
+ "internalType": "address",
8336
+ "name": "oldComptroller",
8337
+ "type": "address"
8338
+ },
8339
+ {
8340
+ "indexed": false,
8341
+ "internalType": "address",
8342
+ "name": "newComptroller",
8343
+ "type": "address"
8344
+ }
8345
+ ],
8346
+ "name": "NewComptroller",
8347
+ "type": "event"
8348
+ },
8349
+ {
8350
+ "anonymous": false,
8351
+ "inputs": [
8352
+ {
8353
+ "indexed": false,
8354
+ "internalType": "uint256",
8355
+ "name": "oldDiscountRateMantissa",
8356
+ "type": "uint256"
8357
+ },
8358
+ {
8359
+ "indexed": false,
8360
+ "internalType": "uint256",
8361
+ "name": "newDiscountRateMantissa",
8362
+ "type": "uint256"
8363
+ }
8364
+ ],
8365
+ "name": "NewDiscountRate",
8366
+ "type": "event"
8367
+ },
8368
+ {
8369
+ "anonymous": false,
8370
+ "inputs": [
8371
+ {
8372
+ "indexed": false,
8373
+ "internalType": "address",
8374
+ "name": "oldInterestRateModel",
8375
+ "type": "address"
8376
+ },
8377
+ {
8378
+ "indexed": false,
8379
+ "internalType": "address",
8380
+ "name": "newInterestRateModel",
8381
+ "type": "address"
8382
+ }
8383
+ ],
8384
+ "name": "NewMarketInterestRateModel",
8385
+ "type": "event"
8386
+ },
8387
+ {
8388
+ "anonymous": false,
8389
+ "inputs": [
8390
+ {
8391
+ "indexed": false,
8392
+ "internalType": "address",
8393
+ "name": "oldPendingAdmin",
8394
+ "type": "address"
8395
+ },
8396
+ {
8397
+ "indexed": false,
8398
+ "internalType": "address",
8399
+ "name": "newPendingAdmin",
8400
+ "type": "address"
8401
+ }
8402
+ ],
8403
+ "name": "NewPendingAdmin",
8404
+ "type": "event"
8405
+ },
8406
+ {
8407
+ "anonymous": false,
8408
+ "inputs": [
8409
+ {
8410
+ "indexed": false,
8411
+ "internalType": "uint256",
8412
+ "name": "oldReserveFactorMantissa",
8413
+ "type": "uint256"
8414
+ },
8415
+ {
8416
+ "indexed": false,
8417
+ "internalType": "uint256",
8418
+ "name": "newReserveFactorMantissa",
8419
+ "type": "uint256"
8420
+ }
8421
+ ],
8422
+ "name": "NewReserveFactor",
8423
+ "type": "event"
8424
+ },
8425
+ {
8426
+ "anonymous": false,
8427
+ "inputs": [
8428
+ {
8429
+ "indexed": false,
8430
+ "internalType": "address",
8431
+ "name": "redeemer",
8432
+ "type": "address"
8433
+ },
8434
+ {
8435
+ "indexed": false,
8436
+ "internalType": "uint256",
8437
+ "name": "redeemAmount",
8438
+ "type": "uint256"
8439
+ },
8440
+ {
8441
+ "indexed": false,
8442
+ "internalType": "uint256",
8443
+ "name": "redeemTokens",
8444
+ "type": "uint256"
8445
+ }
8446
+ ],
8447
+ "name": "Redeem",
8448
+ "type": "event"
8449
+ },
8450
+ {
8451
+ "anonymous": false,
8452
+ "inputs": [
8453
+ {
8454
+ "indexed": true,
8455
+ "internalType": "address",
8456
+ "name": "redeemer",
8457
+ "type": "address"
8458
+ },
8459
+ {
8460
+ "indexed": true,
8461
+ "internalType": "address",
8462
+ "name": "provider",
8463
+ "type": "address"
8464
+ },
8465
+ {
8466
+ "indexed": false,
8467
+ "internalType": "uint256",
8468
+ "name": "repayAmount",
8469
+ "type": "uint256"
8470
+ },
8471
+ {
8472
+ "indexed": false,
8473
+ "internalType": "address",
8474
+ "name": "seizeToken",
8475
+ "type": "address"
8476
+ },
8477
+ {
8478
+ "indexed": false,
8479
+ "internalType": "uint256",
8480
+ "name": "seizeAmount",
8481
+ "type": "uint256"
8482
+ },
8483
+ {
8484
+ "indexed": false,
8485
+ "internalType": "uint256",
8486
+ "name": "redemptionRateMantissa",
8487
+ "type": "uint256"
8488
+ }
8489
+ ],
8490
+ "name": "RedeemFaceValue",
8491
+ "type": "event"
8492
+ },
8493
+ {
8494
+ "anonymous": false,
8495
+ "inputs": [
8496
+ {
8497
+ "indexed": false,
8498
+ "internalType": "address",
8499
+ "name": "payer",
8500
+ "type": "address"
8501
+ },
8502
+ {
8503
+ "indexed": false,
8504
+ "internalType": "address",
8505
+ "name": "borrower",
8506
+ "type": "address"
8507
+ },
8508
+ {
8509
+ "indexed": false,
8510
+ "internalType": "uint256",
8511
+ "name": "repayAmount",
8512
+ "type": "uint256"
8513
+ },
8514
+ {
8515
+ "indexed": false,
8516
+ "internalType": "uint256",
8517
+ "name": "accountBorrows",
8518
+ "type": "uint256"
8519
+ },
8520
+ {
8521
+ "indexed": false,
8522
+ "internalType": "uint256",
8523
+ "name": "totalBorrows",
8524
+ "type": "uint256"
8525
+ }
8526
+ ],
8527
+ "name": "RepayBorrow",
8528
+ "type": "event"
8529
+ },
8530
+ {
8531
+ "anonymous": false,
8532
+ "inputs": [
8533
+ {
8534
+ "indexed": false,
8535
+ "internalType": "address",
8536
+ "name": "benefactor",
8537
+ "type": "address"
8538
+ },
8539
+ {
8540
+ "indexed": false,
8541
+ "internalType": "uint256",
8542
+ "name": "addAmount",
8543
+ "type": "uint256"
8544
+ },
8545
+ {
8546
+ "indexed": false,
8547
+ "internalType": "uint256",
8548
+ "name": "newTotalReserves",
8549
+ "type": "uint256"
8550
+ }
8551
+ ],
8552
+ "name": "ReservesAdded",
8553
+ "type": "event"
8554
+ },
8555
+ {
8556
+ "anonymous": false,
8557
+ "inputs": [
8558
+ {
8559
+ "indexed": false,
8560
+ "internalType": "address",
8561
+ "name": "admin",
8562
+ "type": "address"
8563
+ },
8564
+ {
8565
+ "indexed": false,
8566
+ "internalType": "uint256",
8567
+ "name": "reduceAmount",
8568
+ "type": "uint256"
8569
+ },
8570
+ {
8571
+ "indexed": false,
8572
+ "internalType": "uint256",
8573
+ "name": "newTotalReserves",
8574
+ "type": "uint256"
8575
+ }
8576
+ ],
8577
+ "name": "ReservesReduced",
8578
+ "type": "event"
8579
+ },
8580
+ {
8581
+ "anonymous": false,
8582
+ "inputs": [
8583
+ {
8584
+ "indexed": true,
8585
+ "internalType": "address",
8586
+ "name": "from",
8587
+ "type": "address"
8588
+ },
8589
+ {
8590
+ "indexed": true,
8591
+ "internalType": "address",
8592
+ "name": "to",
8593
+ "type": "address"
8594
+ },
8595
+ {
8596
+ "indexed": false,
8597
+ "internalType": "uint256",
8598
+ "name": "amount",
8599
+ "type": "uint256"
8600
+ }
8601
+ ],
8602
+ "name": "Transfer",
8603
+ "type": "event"
8604
+ },
8605
+ {
8606
+ "inputs": [],
8607
+ "name": "_acceptAdmin",
8608
+ "outputs": [],
8609
+ "stateMutability": "nonpayable",
8610
+ "type": "function"
8611
+ },
8612
+ {
8613
+ "inputs": [],
8614
+ "name": "_addReserves",
8615
+ "outputs": [],
8616
+ "stateMutability": "payable",
8617
+ "type": "function"
8618
+ },
8619
+ {
8620
+ "inputs": [
8621
+ {
8622
+ "internalType": "uint256",
8623
+ "name": "reduceAmount",
8624
+ "type": "uint256"
8625
+ }
8626
+ ],
8627
+ "name": "_reduceReserves",
8628
+ "outputs": [],
8629
+ "stateMutability": "nonpayable",
8630
+ "type": "function"
8631
+ },
8632
+ {
8633
+ "inputs": [
8634
+ {
8635
+ "internalType": "address",
8636
+ "name": "newComptroller",
8637
+ "type": "address"
8638
+ }
8639
+ ],
8640
+ "name": "_setComptroller",
8641
+ "outputs": [],
8642
+ "stateMutability": "nonpayable",
8643
+ "type": "function"
8644
+ },
8645
+ {
8646
+ "inputs": [
8647
+ {
8648
+ "internalType": "uint256",
8649
+ "name": "discountRateMantissa_",
8650
+ "type": "uint256"
8651
+ }
8652
+ ],
8653
+ "name": "_setDiscountRate",
8654
+ "outputs": [
8655
+ {
8656
+ "internalType": "uint256",
8657
+ "name": "",
8658
+ "type": "uint256"
8659
+ }
8660
+ ],
8661
+ "stateMutability": "nonpayable",
8662
+ "type": "function"
8663
+ },
8664
+ {
8665
+ "inputs": [
8666
+ {
8667
+ "internalType": "address",
8668
+ "name": "newInterestRateModel",
8669
+ "type": "address"
8670
+ }
8671
+ ],
8672
+ "name": "_setInterestRateModel",
8673
+ "outputs": [],
8674
+ "stateMutability": "nonpayable",
8675
+ "type": "function"
8676
+ },
8677
+ {
8678
+ "inputs": [
8679
+ {
8680
+ "internalType": "address payable",
8681
+ "name": "newPendingAdmin",
8682
+ "type": "address"
8683
+ }
8684
+ ],
8685
+ "name": "_setPendingAdmin",
8686
+ "outputs": [],
8687
+ "stateMutability": "nonpayable",
8688
+ "type": "function"
8689
+ },
8690
+ {
8691
+ "inputs": [
8692
+ {
8693
+ "internalType": "uint256",
8694
+ "name": "newReserveFactorMantissa",
8695
+ "type": "uint256"
8696
+ }
8697
+ ],
8698
+ "name": "_setReserveFactor",
8699
+ "outputs": [],
8700
+ "stateMutability": "nonpayable",
8701
+ "type": "function"
8702
+ },
8703
+ {
8704
+ "inputs": [],
8705
+ "name": "_syncUnderlyingBalance",
8706
+ "outputs": [],
8707
+ "stateMutability": "nonpayable",
8708
+ "type": "function"
8709
+ },
8710
+ {
8711
+ "inputs": [],
8712
+ "name": "accrualBlockTimestamp",
8713
+ "outputs": [
8714
+ {
8715
+ "internalType": "uint256",
8716
+ "name": "",
8717
+ "type": "uint256"
8718
+ }
8719
+ ],
8720
+ "stateMutability": "view",
8721
+ "type": "function"
8722
+ },
8723
+ {
8724
+ "inputs": [],
8725
+ "name": "accrueInterest",
8726
+ "outputs": [],
8727
+ "stateMutability": "nonpayable",
8728
+ "type": "function"
8729
+ },
8730
+ {
8731
+ "inputs": [],
8732
+ "name": "admin",
8733
+ "outputs": [
8734
+ {
8735
+ "internalType": "address payable",
8736
+ "name": "",
8737
+ "type": "address"
8738
+ }
8739
+ ],
8740
+ "stateMutability": "view",
8741
+ "type": "function"
8742
+ },
8743
+ {
8744
+ "inputs": [
8745
+ {
8746
+ "internalType": "address",
8747
+ "name": "owner",
8748
+ "type": "address"
8749
+ },
8750
+ {
8751
+ "internalType": "address",
8752
+ "name": "spender",
8753
+ "type": "address"
8754
+ }
8755
+ ],
8756
+ "name": "allowance",
8757
+ "outputs": [
8758
+ {
8759
+ "internalType": "uint256",
8760
+ "name": "",
8761
+ "type": "uint256"
8762
+ }
8763
+ ],
8764
+ "stateMutability": "view",
8765
+ "type": "function"
8766
+ },
8767
+ {
8768
+ "inputs": [
8769
+ {
8770
+ "internalType": "address",
8771
+ "name": "spender",
8772
+ "type": "address"
8773
+ },
8774
+ {
8775
+ "internalType": "uint256",
8776
+ "name": "amount",
8777
+ "type": "uint256"
8778
+ }
8779
+ ],
8780
+ "name": "approve",
8781
+ "outputs": [
8782
+ {
8783
+ "internalType": "bool",
8784
+ "name": "",
8785
+ "type": "bool"
8786
+ }
8787
+ ],
8788
+ "stateMutability": "nonpayable",
8789
+ "type": "function"
8790
+ },
8791
+ {
8792
+ "inputs": [
8793
+ {
8794
+ "internalType": "address",
8795
+ "name": "owner",
8796
+ "type": "address"
8797
+ }
8798
+ ],
8799
+ "name": "balanceOf",
8800
+ "outputs": [
8801
+ {
8802
+ "internalType": "uint256",
8803
+ "name": "",
8804
+ "type": "uint256"
8805
+ }
8806
+ ],
8807
+ "stateMutability": "view",
8808
+ "type": "function"
8809
+ },
8810
+ {
8811
+ "inputs": [
8812
+ {
8813
+ "internalType": "address",
8814
+ "name": "owner",
8815
+ "type": "address"
8816
+ }
8817
+ ],
8818
+ "name": "balanceOfUnderlying",
8819
+ "outputs": [
8820
+ {
8821
+ "internalType": "uint256",
8822
+ "name": "",
8823
+ "type": "uint256"
8824
+ }
8825
+ ],
8826
+ "stateMutability": "nonpayable",
8827
+ "type": "function"
8828
+ },
8829
+ {
8830
+ "inputs": [
8831
+ {
8832
+ "internalType": "uint256",
8833
+ "name": "borrowAmount",
8834
+ "type": "uint256"
8835
+ }
8836
+ ],
8837
+ "name": "borrow",
8838
+ "outputs": [],
8839
+ "stateMutability": "nonpayable",
8840
+ "type": "function"
8841
+ },
8842
+ {
8843
+ "inputs": [
8844
+ {
8845
+ "internalType": "address",
8846
+ "name": "borrower",
8847
+ "type": "address"
8848
+ },
8849
+ {
8850
+ "internalType": "uint256",
8851
+ "name": "borrowAmount",
8852
+ "type": "uint256"
8853
+ }
8854
+ ],
8855
+ "name": "borrowAndDepositBack",
8856
+ "outputs": [],
8857
+ "stateMutability": "nonpayable",
8858
+ "type": "function"
8859
+ },
8860
+ {
8861
+ "inputs": [
8862
+ {
8863
+ "internalType": "address",
8864
+ "name": "account",
8865
+ "type": "address"
8866
+ }
8867
+ ],
8868
+ "name": "borrowBalanceCurrent",
8869
+ "outputs": [
8870
+ {
8871
+ "internalType": "uint256",
8872
+ "name": "",
8873
+ "type": "uint256"
8874
+ }
8875
+ ],
8876
+ "stateMutability": "nonpayable",
8877
+ "type": "function"
8878
+ },
8879
+ {
8880
+ "inputs": [
8881
+ {
8882
+ "internalType": "address",
8883
+ "name": "account",
8884
+ "type": "address"
8885
+ }
8886
+ ],
8887
+ "name": "borrowBalanceStored",
8888
+ "outputs": [
8889
+ {
8890
+ "internalType": "uint256",
8891
+ "name": "",
8892
+ "type": "uint256"
8893
+ }
8894
+ ],
8895
+ "stateMutability": "view",
8896
+ "type": "function"
8897
+ },
8898
+ {
8899
+ "inputs": [],
8900
+ "name": "borrowIndex",
8901
+ "outputs": [
8902
+ {
8903
+ "internalType": "uint256",
8904
+ "name": "",
8905
+ "type": "uint256"
8906
+ }
8907
+ ],
8908
+ "stateMutability": "view",
8909
+ "type": "function"
8910
+ },
8911
+ {
8912
+ "inputs": [],
8913
+ "name": "borrowRatePerBlock",
8914
+ "outputs": [
8915
+ {
8916
+ "internalType": "uint256",
8917
+ "name": "",
8918
+ "type": "uint256"
8919
+ }
8920
+ ],
8921
+ "stateMutability": "view",
8922
+ "type": "function"
8923
+ },
8924
+ {
8925
+ "inputs": [],
8926
+ "name": "comptroller",
8927
+ "outputs": [
8928
+ {
8929
+ "internalType": "address",
8930
+ "name": "",
8931
+ "type": "address"
8932
+ }
8933
+ ],
8934
+ "stateMutability": "view",
8935
+ "type": "function"
8936
+ },
8937
+ {
8938
+ "inputs": [],
8939
+ "name": "decimals",
8940
+ "outputs": [
8941
+ {
8942
+ "internalType": "uint8",
8943
+ "name": "",
8944
+ "type": "uint8"
8945
+ }
8946
+ ],
8947
+ "stateMutability": "view",
8948
+ "type": "function"
8949
+ },
8950
+ {
8951
+ "inputs": [],
8952
+ "name": "discountRateMantissa",
8953
+ "outputs": [
8954
+ {
8955
+ "internalType": "uint256",
8956
+ "name": "",
8957
+ "type": "uint256"
8958
+ }
8959
+ ],
8960
+ "stateMutability": "view",
8961
+ "type": "function"
8962
+ },
8963
+ {
8964
+ "inputs": [],
8965
+ "name": "exchangeRateCurrent",
8966
+ "outputs": [
8967
+ {
8968
+ "internalType": "uint256",
8969
+ "name": "",
8970
+ "type": "uint256"
8971
+ }
8972
+ ],
8973
+ "stateMutability": "nonpayable",
8974
+ "type": "function"
8975
+ },
8976
+ {
8977
+ "inputs": [],
8978
+ "name": "exchangeRateStored",
8979
+ "outputs": [
8980
+ {
8981
+ "internalType": "uint256",
8982
+ "name": "",
8983
+ "type": "uint256"
8984
+ }
8985
+ ],
8986
+ "stateMutability": "view",
8987
+ "type": "function"
8988
+ },
8989
+ {
8990
+ "inputs": [
8991
+ {
8992
+ "internalType": "address",
8993
+ "name": "account",
8994
+ "type": "address"
8995
+ }
8996
+ ],
8997
+ "name": "getAccountSnapshot",
8998
+ "outputs": [
8999
+ {
9000
+ "internalType": "uint256",
9001
+ "name": "",
9002
+ "type": "uint256"
9003
+ },
9004
+ {
9005
+ "internalType": "uint256",
9006
+ "name": "",
9007
+ "type": "uint256"
9008
+ },
9009
+ {
9010
+ "internalType": "uint256",
9011
+ "name": "",
9012
+ "type": "uint256"
9013
+ },
9014
+ {
9015
+ "internalType": "uint256",
9016
+ "name": "",
9017
+ "type": "uint256"
9018
+ }
9019
+ ],
9020
+ "stateMutability": "view",
9021
+ "type": "function"
9022
+ },
9023
+ {
9024
+ "inputs": [],
9025
+ "name": "getCash",
9026
+ "outputs": [
9027
+ {
9028
+ "internalType": "uint256",
9029
+ "name": "",
9030
+ "type": "uint256"
9031
+ }
9032
+ ],
9033
+ "stateMutability": "view",
9034
+ "type": "function"
9035
+ },
9036
+ {
9037
+ "inputs": [
9038
+ {
9039
+ "internalType": "address",
9040
+ "name": "comptroller_",
9041
+ "type": "address"
9042
+ },
9043
+ {
9044
+ "internalType": "address",
9045
+ "name": "interestRateModel_",
9046
+ "type": "address"
9047
+ },
9048
+ {
9049
+ "internalType": "uint256",
9050
+ "name": "initialExchangeRateMantissa_",
9051
+ "type": "uint256"
9052
+ },
9053
+ {
9054
+ "internalType": "string",
9055
+ "name": "name_",
9056
+ "type": "string"
9057
+ },
9058
+ {
9059
+ "internalType": "string",
9060
+ "name": "symbol_",
9061
+ "type": "string"
9062
+ },
9063
+ {
9064
+ "internalType": "uint8",
9065
+ "name": "decimals_",
9066
+ "type": "uint8"
9067
+ },
9068
+ {
9069
+ "internalType": "address payable",
9070
+ "name": "admin_",
9071
+ "type": "address"
9072
+ }
9073
+ ],
9074
+ "name": "initialize",
9075
+ "outputs": [],
9076
+ "stateMutability": "nonpayable",
9077
+ "type": "function"
9078
+ },
9079
+ {
9080
+ "inputs": [],
9081
+ "name": "initializeVersion2",
9082
+ "outputs": [],
9083
+ "stateMutability": "nonpayable",
9084
+ "type": "function"
9085
+ },
9086
+ {
9087
+ "inputs": [],
9088
+ "name": "interestRateModel",
9089
+ "outputs": [
9090
+ {
9091
+ "internalType": "address",
9092
+ "name": "",
9093
+ "type": "address"
9094
+ }
9095
+ ],
9096
+ "stateMutability": "view",
9097
+ "type": "function"
9098
+ },
9099
+ {
9100
+ "inputs": [],
9101
+ "name": "isCEther",
9102
+ "outputs": [
9103
+ {
9104
+ "internalType": "bool",
9105
+ "name": "",
9106
+ "type": "bool"
9107
+ }
9108
+ ],
9109
+ "stateMutability": "pure",
9110
+ "type": "function"
9111
+ },
9112
+ {
9113
+ "inputs": [],
9114
+ "name": "isCEtherDeprecated",
9115
+ "outputs": [
9116
+ {
9117
+ "internalType": "bool",
9118
+ "name": "",
9119
+ "type": "bool"
9120
+ }
9121
+ ],
9122
+ "stateMutability": "view",
9123
+ "type": "function"
9124
+ },
9125
+ {
9126
+ "inputs": [],
9127
+ "name": "isCToken",
9128
+ "outputs": [
9129
+ {
9130
+ "internalType": "bool",
9131
+ "name": "",
9132
+ "type": "bool"
9133
+ }
9134
+ ],
9135
+ "stateMutability": "pure",
9136
+ "type": "function"
9137
+ },
9138
+ {
9139
+ "inputs": [],
9140
+ "name": "isCTokenDeprecated",
9141
+ "outputs": [
9142
+ {
9143
+ "internalType": "bool",
9144
+ "name": "",
9145
+ "type": "bool"
9146
+ }
9147
+ ],
9148
+ "stateMutability": "view",
9149
+ "type": "function"
9150
+ },
9151
+ {
9152
+ "inputs": [
9153
+ {
9154
+ "internalType": "address",
9155
+ "name": "borrower",
9156
+ "type": "address"
9157
+ },
9158
+ {
9159
+ "internalType": "address",
9160
+ "name": "cTokenCollateral",
9161
+ "type": "address"
9162
+ }
9163
+ ],
9164
+ "name": "liquidateBorrow",
9165
+ "outputs": [],
9166
+ "stateMutability": "payable",
9167
+ "type": "function"
9168
+ },
9169
+ {
9170
+ "inputs": [
9171
+ {
9172
+ "internalType": "address",
9173
+ "name": "cTokenCollateral",
9174
+ "type": "address"
9175
+ },
9176
+ {
9177
+ "internalType": "uint256",
9178
+ "name": "actualRepayAmount",
9179
+ "type": "uint256"
9180
+ }
9181
+ ],
9182
+ "name": "liquidateCalculateSeizeTokens",
9183
+ "outputs": [
9184
+ {
9185
+ "internalType": "uint256",
9186
+ "name": "",
9187
+ "type": "uint256"
9188
+ },
9189
+ {
9190
+ "internalType": "uint256",
9191
+ "name": "",
9192
+ "type": "uint256"
9193
+ }
9194
+ ],
9195
+ "stateMutability": "view",
9196
+ "type": "function"
9197
+ },
9198
+ {
9199
+ "inputs": [],
9200
+ "name": "mint",
9201
+ "outputs": [],
9202
+ "stateMutability": "payable",
9203
+ "type": "function"
9204
+ },
9205
+ {
9206
+ "inputs": [],
9207
+ "name": "name",
9208
+ "outputs": [
9209
+ {
9210
+ "internalType": "string",
9211
+ "name": "",
9212
+ "type": "string"
9213
+ }
9214
+ ],
9215
+ "stateMutability": "view",
9216
+ "type": "function"
9217
+ },
9218
+ {
9219
+ "inputs": [],
9220
+ "name": "pendingAdmin",
9221
+ "outputs": [
9222
+ {
9223
+ "internalType": "address payable",
9224
+ "name": "",
9225
+ "type": "address"
9226
+ }
9227
+ ],
9228
+ "stateMutability": "view",
9229
+ "type": "function"
9230
+ },
9231
+ {
9232
+ "inputs": [],
9233
+ "name": "percentScale",
9234
+ "outputs": [
9235
+ {
9236
+ "internalType": "uint256",
9237
+ "name": "",
9238
+ "type": "uint256"
9239
+ }
9240
+ ],
9241
+ "stateMutability": "view",
9242
+ "type": "function"
9243
+ },
9244
+ {
9245
+ "inputs": [],
9246
+ "name": "protocolSeizeShareMantissa",
9247
+ "outputs": [
9248
+ {
9249
+ "internalType": "uint256",
9250
+ "name": "",
9251
+ "type": "uint256"
9252
+ }
9253
+ ],
9254
+ "stateMutability": "view",
9255
+ "type": "function"
9256
+ },
9257
+ {
9258
+ "inputs": [
9259
+ {
9260
+ "internalType": "uint256",
9261
+ "name": "redeemTokens",
9262
+ "type": "uint256"
9263
+ }
9264
+ ],
9265
+ "name": "redeem",
9266
+ "outputs": [],
9267
+ "stateMutability": "nonpayable",
9268
+ "type": "function"
9269
+ },
9270
+ {
9271
+ "inputs": [
9272
+ {
9273
+ "internalType": "uint256",
9274
+ "name": "redeemAmount",
9275
+ "type": "uint256"
9276
+ }
9277
+ ],
9278
+ "name": "redeemUnderlying",
9279
+ "outputs": [],
9280
+ "stateMutability": "nonpayable",
9281
+ "type": "function"
9282
+ },
9283
+ {
9284
+ "inputs": [],
9285
+ "name": "repayBorrow",
9286
+ "outputs": [],
9287
+ "stateMutability": "payable",
9288
+ "type": "function"
9289
+ },
9290
+ {
9291
+ "inputs": [
9292
+ {
9293
+ "internalType": "address",
9294
+ "name": "borrower",
9295
+ "type": "address"
9296
+ }
9297
+ ],
9298
+ "name": "repayBorrowBehalf",
9299
+ "outputs": [],
9300
+ "stateMutability": "payable",
7113
9301
  "type": "function"
7114
9302
  },
7115
9303
  {
@@ -7536,6 +9724,28 @@ exports.abi = {
7536
9724
  "name": "InvalidReserveFactor",
7537
9725
  "type": "error"
7538
9726
  },
9727
+ {
9728
+ "inputs": [
9729
+ {
9730
+ "internalType": "address",
9731
+ "name": "signer",
9732
+ "type": "address"
9733
+ }
9734
+ ],
9735
+ "name": "InvalidSignatureForBorrow",
9736
+ "type": "error"
9737
+ },
9738
+ {
9739
+ "inputs": [
9740
+ {
9741
+ "internalType": "address",
9742
+ "name": "signer",
9743
+ "type": "address"
9744
+ }
9745
+ ],
9746
+ "name": "InvalidSignatureForMint",
9747
+ "type": "error"
9748
+ },
7539
9749
  {
7540
9750
  "inputs": [],
7541
9751
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -7671,6 +9881,11 @@ exports.abi = {
7671
9881
  "name": "NotEnoughUnderlyingForMint",
7672
9882
  "type": "error"
7673
9883
  },
9884
+ {
9885
+ "inputs": [],
9886
+ "name": "NotImplemented",
9887
+ "type": "error"
9888
+ },
7674
9889
  {
7675
9890
  "inputs": [],
7676
9891
  "name": "NotLiquidatableYet",
@@ -9955,6 +12170,28 @@ exports.abi = {
9955
12170
  "name": "InvalidReserveFactor",
9956
12171
  "type": "error"
9957
12172
  },
12173
+ {
12174
+ "inputs": [
12175
+ {
12176
+ "internalType": "address",
12177
+ "name": "signer",
12178
+ "type": "address"
12179
+ }
12180
+ ],
12181
+ "name": "InvalidSignatureForBorrow",
12182
+ "type": "error"
12183
+ },
12184
+ {
12185
+ "inputs": [
12186
+ {
12187
+ "internalType": "address",
12188
+ "name": "signer",
12189
+ "type": "address"
12190
+ }
12191
+ ],
12192
+ "name": "InvalidSignatureForMint",
12193
+ "type": "error"
12194
+ },
9958
12195
  {
9959
12196
  "inputs": [],
9960
12197
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -10090,6 +12327,11 @@ exports.abi = {
10090
12327
  "name": "NotEnoughUnderlyingForMint",
10091
12328
  "type": "error"
10092
12329
  },
12330
+ {
12331
+ "inputs": [],
12332
+ "name": "NotImplemented",
12333
+ "type": "error"
12334
+ },
10093
12335
  {
10094
12336
  "inputs": [],
10095
12337
  "name": "NotLiquidatableYet",
@@ -12005,6 +14247,28 @@ exports.abi = {
12005
14247
  "name": "InvalidReserveFactor",
12006
14248
  "type": "error"
12007
14249
  },
14250
+ {
14251
+ "inputs": [
14252
+ {
14253
+ "internalType": "address",
14254
+ "name": "signer",
14255
+ "type": "address"
14256
+ }
14257
+ ],
14258
+ "name": "InvalidSignatureForBorrow",
14259
+ "type": "error"
14260
+ },
14261
+ {
14262
+ "inputs": [
14263
+ {
14264
+ "internalType": "address",
14265
+ "name": "signer",
14266
+ "type": "address"
14267
+ }
14268
+ ],
14269
+ "name": "InvalidSignatureForMint",
14270
+ "type": "error"
14271
+ },
12008
14272
  {
12009
14273
  "inputs": [],
12010
14274
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -12140,6 +14404,11 @@ exports.abi = {
12140
14404
  "name": "NotEnoughUnderlyingForMint",
12141
14405
  "type": "error"
12142
14406
  },
14407
+ {
14408
+ "inputs": [],
14409
+ "name": "NotImplemented",
14410
+ "type": "error"
14411
+ },
12143
14412
  {
12144
14413
  "inputs": [],
12145
14414
  "name": "NotLiquidatableYet",
@@ -13538,6 +15807,28 @@ exports.abi = {
13538
15807
  "name": "InvalidReserveFactor",
13539
15808
  "type": "error"
13540
15809
  },
15810
+ {
15811
+ "inputs": [
15812
+ {
15813
+ "internalType": "address",
15814
+ "name": "signer",
15815
+ "type": "address"
15816
+ }
15817
+ ],
15818
+ "name": "InvalidSignatureForBorrow",
15819
+ "type": "error"
15820
+ },
15821
+ {
15822
+ "inputs": [
15823
+ {
15824
+ "internalType": "address",
15825
+ "name": "signer",
15826
+ "type": "address"
15827
+ }
15828
+ ],
15829
+ "name": "InvalidSignatureForMint",
15830
+ "type": "error"
15831
+ },
13541
15832
  {
13542
15833
  "inputs": [],
13543
15834
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -13673,6 +15964,11 @@ exports.abi = {
13673
15964
  "name": "NotEnoughUnderlyingForMint",
13674
15965
  "type": "error"
13675
15966
  },
15967
+ {
15968
+ "inputs": [],
15969
+ "name": "NotImplemented",
15970
+ "type": "error"
15971
+ },
13676
15972
  {
13677
15973
  "inputs": [],
13678
15974
  "name": "NotLiquidatableYet",
@@ -14398,40 +16694,6 @@ exports.abi = {
14398
16694
  "stateMutability": "view",
14399
16695
  "type": "function"
14400
16696
  },
14401
- {
14402
- "inputs": [
14403
- {
14404
- "internalType": "address",
14405
- "name": "account",
14406
- "type": "address"
14407
- },
14408
- {
14409
- "internalType": "address",
14410
- "name": "repayTokenAddress",
14411
- "type": "address"
14412
- },
14413
- {
14414
- "internalType": "address",
14415
- "name": "seizeTokenAddress",
14416
- "type": "address"
14417
- }
14418
- ],
14419
- "name": "calcPlan",
14420
- "outputs": [
14421
- {
14422
- "internalType": "uint256",
14423
- "name": "",
14424
- "type": "uint256"
14425
- },
14426
- {
14427
- "internalType": "uint256",
14428
- "name": "",
14429
- "type": "uint256"
14430
- }
14431
- ],
14432
- "stateMutability": "view",
14433
- "type": "function"
14434
- },
14435
16697
  {
14436
16698
  "inputs": [
14437
16699
  {
@@ -15154,6 +17416,28 @@ exports.abi = {
15154
17416
  "name": "InvalidReserveFactor",
15155
17417
  "type": "error"
15156
17418
  },
17419
+ {
17420
+ "inputs": [
17421
+ {
17422
+ "internalType": "address",
17423
+ "name": "signer",
17424
+ "type": "address"
17425
+ }
17426
+ ],
17427
+ "name": "InvalidSignatureForBorrow",
17428
+ "type": "error"
17429
+ },
17430
+ {
17431
+ "inputs": [
17432
+ {
17433
+ "internalType": "address",
17434
+ "name": "signer",
17435
+ "type": "address"
17436
+ }
17437
+ ],
17438
+ "name": "InvalidSignatureForMint",
17439
+ "type": "error"
17440
+ },
15157
17441
  {
15158
17442
  "inputs": [],
15159
17443
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -15289,6 +17573,11 @@ exports.abi = {
15289
17573
  "name": "NotEnoughUnderlyingForMint",
15290
17574
  "type": "error"
15291
17575
  },
17576
+ {
17577
+ "inputs": [],
17578
+ "name": "NotImplemented",
17579
+ "type": "error"
17580
+ },
15292
17581
  {
15293
17582
  "inputs": [],
15294
17583
  "name": "NotLiquidatableYet",
@@ -17750,6 +20039,28 @@ exports.abi = {
17750
20039
  "name": "InvalidReserveFactor",
17751
20040
  "type": "error"
17752
20041
  },
20042
+ {
20043
+ "inputs": [
20044
+ {
20045
+ "internalType": "address",
20046
+ "name": "signer",
20047
+ "type": "address"
20048
+ }
20049
+ ],
20050
+ "name": "InvalidSignatureForBorrow",
20051
+ "type": "error"
20052
+ },
20053
+ {
20054
+ "inputs": [
20055
+ {
20056
+ "internalType": "address",
20057
+ "name": "signer",
20058
+ "type": "address"
20059
+ }
20060
+ ],
20061
+ "name": "InvalidSignatureForMint",
20062
+ "type": "error"
20063
+ },
17753
20064
  {
17754
20065
  "inputs": [],
17755
20066
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -17885,6 +20196,11 @@ exports.abi = {
17885
20196
  "name": "NotEnoughUnderlyingForMint",
17886
20197
  "type": "error"
17887
20198
  },
20199
+ {
20200
+ "inputs": [],
20201
+ "name": "NotImplemented",
20202
+ "type": "error"
20203
+ },
17888
20204
  {
17889
20205
  "inputs": [],
17890
20206
  "name": "NotLiquidatableYet",
@@ -20131,6 +22447,28 @@ exports.abi = {
20131
22447
  "name": "InvalidReserveFactor",
20132
22448
  "type": "error"
20133
22449
  },
22450
+ {
22451
+ "inputs": [
22452
+ {
22453
+ "internalType": "address",
22454
+ "name": "signer",
22455
+ "type": "address"
22456
+ }
22457
+ ],
22458
+ "name": "InvalidSignatureForBorrow",
22459
+ "type": "error"
22460
+ },
22461
+ {
22462
+ "inputs": [
22463
+ {
22464
+ "internalType": "address",
22465
+ "name": "signer",
22466
+ "type": "address"
22467
+ }
22468
+ ],
22469
+ "name": "InvalidSignatureForMint",
22470
+ "type": "error"
22471
+ },
20134
22472
  {
20135
22473
  "inputs": [],
20136
22474
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -20266,6 +22604,11 @@ exports.abi = {
20266
22604
  "name": "NotEnoughUnderlyingForMint",
20267
22605
  "type": "error"
20268
22606
  },
22607
+ {
22608
+ "inputs": [],
22609
+ "name": "NotImplemented",
22610
+ "type": "error"
22611
+ },
20269
22612
  {
20270
22613
  "inputs": [],
20271
22614
  "name": "NotLiquidatableYet",
@@ -23618,6 +25961,28 @@ exports.abi = {
23618
25961
  "name": "InvalidReserveFactor",
23619
25962
  "type": "error"
23620
25963
  },
25964
+ {
25965
+ "inputs": [
25966
+ {
25967
+ "internalType": "address",
25968
+ "name": "signer",
25969
+ "type": "address"
25970
+ }
25971
+ ],
25972
+ "name": "InvalidSignatureForBorrow",
25973
+ "type": "error"
25974
+ },
25975
+ {
25976
+ "inputs": [
25977
+ {
25978
+ "internalType": "address",
25979
+ "name": "signer",
25980
+ "type": "address"
25981
+ }
25982
+ ],
25983
+ "name": "InvalidSignatureForMint",
25984
+ "type": "error"
25985
+ },
23621
25986
  {
23622
25987
  "inputs": [],
23623
25988
  "name": "InvalidSignatureForRedeemFaceValue",
@@ -23753,6 +26118,11 @@ exports.abi = {
23753
26118
  "name": "NotEnoughUnderlyingForMint",
23754
26119
  "type": "error"
23755
26120
  },
26121
+ {
26122
+ "inputs": [],
26123
+ "name": "NotImplemented",
26124
+ "type": "error"
26125
+ },
23756
26126
  {
23757
26127
  "inputs": [],
23758
26128
  "name": "NotLiquidatableYet",
@@ -25663,6 +28033,32 @@ exports.abi = {
25663
28033
  "stateMutability": "view",
25664
28034
  "type": "function"
25665
28035
  },
28036
+ {
28037
+ "inputs": [],
28038
+ "name": "getInvariant",
28039
+ "outputs": [
28040
+ {
28041
+ "internalType": "uint256",
28042
+ "name": "",
28043
+ "type": "uint256"
28044
+ }
28045
+ ],
28046
+ "stateMutability": "view",
28047
+ "type": "function"
28048
+ },
28049
+ {
28050
+ "inputs": [],
28051
+ "name": "getNormalizedWeights",
28052
+ "outputs": [
28053
+ {
28054
+ "internalType": "uint256[]",
28055
+ "name": "",
28056
+ "type": "uint256[]"
28057
+ }
28058
+ ],
28059
+ "stateMutability": "view",
28060
+ "type": "function"
28061
+ },
25666
28062
  {
25667
28063
  "inputs": [],
25668
28064
  "name": "getPoolId",
@@ -25676,6 +28072,38 @@ exports.abi = {
25676
28072
  "stateMutability": "view",
25677
28073
  "type": "function"
25678
28074
  },
28075
+ {
28076
+ "inputs": [],
28077
+ "name": "getRate",
28078
+ "outputs": [
28079
+ {
28080
+ "internalType": "uint256",
28081
+ "name": "",
28082
+ "type": "uint256"
28083
+ }
28084
+ ],
28085
+ "stateMutability": "view",
28086
+ "type": "function"
28087
+ },
28088
+ {
28089
+ "inputs": [
28090
+ {
28091
+ "internalType": "address",
28092
+ "name": "token",
28093
+ "type": "address"
28094
+ }
28095
+ ],
28096
+ "name": "getTokenRate",
28097
+ "outputs": [
28098
+ {
28099
+ "internalType": "uint256",
28100
+ "name": "",
28101
+ "type": "uint256"
28102
+ }
28103
+ ],
28104
+ "stateMutability": "view",
28105
+ "type": "function"
28106
+ },
25679
28107
  {
25680
28108
  "inputs": [],
25681
28109
  "name": "getVault",
@@ -27531,19 +29959,6 @@ exports.abi = {
27531
29959
  "stateMutability": "view",
27532
29960
  "type": "function"
27533
29961
  },
27534
- {
27535
- "inputs": [],
27536
- "name": "isDeprecated",
27537
- "outputs": [
27538
- {
27539
- "internalType": "bool",
27540
- "name": "",
27541
- "type": "bool"
27542
- }
27543
- ],
27544
- "stateMutability": "view",
27545
- "type": "function"
27546
- },
27547
29962
  {
27548
29963
  "inputs": [
27549
29964
  {
@@ -33838,6 +36253,114 @@ exports.abi = {
33838
36253
  "type": "function"
33839
36254
  }
33840
36255
  ],
36256
+ "ArtBTCAdapter": [
36257
+ {
36258
+ "inputs": [
36259
+ {
36260
+ "internalType": "address",
36261
+ "name": "_correlatedToken",
36262
+ "type": "address"
36263
+ },
36264
+ {
36265
+ "internalType": "address",
36266
+ "name": "_underlyingToken",
36267
+ "type": "address"
36268
+ }
36269
+ ],
36270
+ "stateMutability": "nonpayable",
36271
+ "type": "constructor"
36272
+ },
36273
+ {
36274
+ "inputs": [],
36275
+ "name": "depositPool",
36276
+ "outputs": [
36277
+ {
36278
+ "internalType": "contract IDepositPool",
36279
+ "name": "",
36280
+ "type": "address"
36281
+ }
36282
+ ],
36283
+ "stateMutability": "view",
36284
+ "type": "function"
36285
+ },
36286
+ {
36287
+ "inputs": [],
36288
+ "name": "exchangeRate",
36289
+ "outputs": [
36290
+ {
36291
+ "internalType": "uint256",
36292
+ "name": "",
36293
+ "type": "uint256"
36294
+ }
36295
+ ],
36296
+ "stateMutability": "view",
36297
+ "type": "function"
36298
+ }
36299
+ ],
36300
+ "IDepositPool": [
36301
+ {
36302
+ "inputs": [
36303
+ {
36304
+ "internalType": "uint256",
36305
+ "name": "_amount",
36306
+ "type": "uint256"
36307
+ }
36308
+ ],
36309
+ "name": "getArtTokenAmountToMint",
36310
+ "outputs": [
36311
+ {
36312
+ "internalType": "uint256",
36313
+ "name": "",
36314
+ "type": "uint256"
36315
+ }
36316
+ ],
36317
+ "stateMutability": "view",
36318
+ "type": "function"
36319
+ }
36320
+ ],
36321
+ "IGoatConfig": [
36322
+ {
36323
+ "inputs": [
36324
+ {
36325
+ "internalType": "address",
36326
+ "name": "_token",
36327
+ "type": "address"
36328
+ }
36329
+ ],
36330
+ "name": "getTokenContracts",
36331
+ "outputs": [
36332
+ {
36333
+ "components": [
36334
+ {
36335
+ "internalType": "address",
36336
+ "name": "artToken",
36337
+ "type": "address"
36338
+ },
36339
+ {
36340
+ "internalType": "address",
36341
+ "name": "depositPool",
36342
+ "type": "address"
36343
+ },
36344
+ {
36345
+ "internalType": "address",
36346
+ "name": "withdrawalManager",
36347
+ "type": "address"
36348
+ },
36349
+ {
36350
+ "internalType": "address",
36351
+ "name": "baseRewardPool",
36352
+ "type": "address"
36353
+ }
36354
+ ],
36355
+ "internalType": "struct IGoatConfig.TokenContracts",
36356
+ "name": "",
36357
+ "type": "tuple"
36358
+ }
36359
+ ],
36360
+ "stateMutability": "view",
36361
+ "type": "function"
36362
+ }
36363
+ ],
33841
36364
  "FeedPriceOracle": [
33842
36365
  {
33843
36366
  "inputs": [
@@ -33895,11 +36418,6 @@ exports.abi = {
33895
36418
  "name": "EmptyPythOracle",
33896
36419
  "type": "error"
33897
36420
  },
33898
- {
33899
- "inputs": [],
33900
- "name": "InvalidDecimals",
33901
- "type": "error"
33902
- },
33903
36421
  {
33904
36422
  "inputs": [],
33905
36423
  "name": "InvalidFeedDecimals",
@@ -34074,6 +36592,25 @@ exports.abi = {
34074
36592
  "stateMutability": "view",
34075
36593
  "type": "function"
34076
36594
  },
36595
+ {
36596
+ "inputs": [
36597
+ {
36598
+ "internalType": "address",
36599
+ "name": "",
36600
+ "type": "address"
36601
+ }
36602
+ ],
36603
+ "name": "balancerFeeds",
36604
+ "outputs": [
36605
+ {
36606
+ "internalType": "bool",
36607
+ "name": "isStable",
36608
+ "type": "bool"
36609
+ }
36610
+ ],
36611
+ "stateMutability": "view",
36612
+ "type": "function"
36613
+ },
34077
36614
  {
34078
36615
  "inputs": [
34079
36616
  {
@@ -34481,19 +37018,6 @@ exports.abi = {
34481
37018
  "stateMutability": "nonpayable",
34482
37019
  "type": "function"
34483
37020
  },
34484
- {
34485
- "inputs": [
34486
- {
34487
- "internalType": "address",
34488
- "name": "asset",
34489
- "type": "address"
34490
- }
34491
- ],
34492
- "name": "removeKodiakIslandFeed",
34493
- "outputs": [],
34494
- "stateMutability": "nonpayable",
34495
- "type": "function"
34496
- },
34497
37021
  {
34498
37022
  "inputs": [
34499
37023
  {
@@ -34546,19 +37070,6 @@ exports.abi = {
34546
37070
  "stateMutability": "nonpayable",
34547
37071
  "type": "function"
34548
37072
  },
34549
- {
34550
- "inputs": [
34551
- {
34552
- "internalType": "address",
34553
- "name": "asset",
34554
- "type": "address"
34555
- }
34556
- ],
34557
- "name": "removeUniswapV2Feed",
34558
- "outputs": [],
34559
- "stateMutability": "nonpayable",
34560
- "type": "function"
34561
- },
34562
37073
  {
34563
37074
  "inputs": [],
34564
37075
  "name": "renounceOwnership",
@@ -34595,6 +37106,11 @@ exports.abi = {
34595
37106
  "internalType": "address",
34596
37107
  "name": "asset",
34597
37108
  "type": "address"
37109
+ },
37110
+ {
37111
+ "internalType": "bool",
37112
+ "name": "isStable",
37113
+ "type": "bool"
34598
37114
  }
34599
37115
  ],
34600
37116
  "name": "setBalancerFeed",
@@ -34648,19 +37164,6 @@ exports.abi = {
34648
37164
  "stateMutability": "nonpayable",
34649
37165
  "type": "function"
34650
37166
  },
34651
- {
34652
- "inputs": [
34653
- {
34654
- "internalType": "address",
34655
- "name": "asset",
34656
- "type": "address"
34657
- }
34658
- ],
34659
- "name": "setKodiakIslandFeed",
34660
- "outputs": [],
34661
- "stateMutability": "nonpayable",
34662
- "type": "function"
34663
- },
34664
37167
  {
34665
37168
  "inputs": [
34666
37169
  {
@@ -34812,19 +37315,6 @@ exports.abi = {
34812
37315
  "stateMutability": "nonpayable",
34813
37316
  "type": "function"
34814
37317
  },
34815
- {
34816
- "inputs": [
34817
- {
34818
- "internalType": "address",
34819
- "name": "asset",
34820
- "type": "address"
34821
- }
34822
- ],
34823
- "name": "setUniswapV2Feed",
34824
- "outputs": [],
34825
- "stateMutability": "nonpayable",
34826
- "type": "function"
34827
- },
34828
37318
  {
34829
37319
  "inputs": [
34830
37320
  {
@@ -34839,6 +37329,73 @@ exports.abi = {
34839
37329
  "type": "function"
34840
37330
  }
34841
37331
  ],
37332
+ "FixedPointMathLib": [
37333
+ {
37334
+ "inputs": [],
37335
+ "name": "DivFailed",
37336
+ "type": "error"
37337
+ },
37338
+ {
37339
+ "inputs": [],
37340
+ "name": "DivWadFailed",
37341
+ "type": "error"
37342
+ },
37343
+ {
37344
+ "inputs": [],
37345
+ "name": "ExpOverflow",
37346
+ "type": "error"
37347
+ },
37348
+ {
37349
+ "inputs": [],
37350
+ "name": "FactorialOverflow",
37351
+ "type": "error"
37352
+ },
37353
+ {
37354
+ "inputs": [],
37355
+ "name": "FullMulDivFailed",
37356
+ "type": "error"
37357
+ },
37358
+ {
37359
+ "inputs": [],
37360
+ "name": "LnWadUndefined",
37361
+ "type": "error"
37362
+ },
37363
+ {
37364
+ "inputs": [],
37365
+ "name": "MantissaOverflow",
37366
+ "type": "error"
37367
+ },
37368
+ {
37369
+ "inputs": [],
37370
+ "name": "MulDivFailed",
37371
+ "type": "error"
37372
+ },
37373
+ {
37374
+ "inputs": [],
37375
+ "name": "MulWadFailed",
37376
+ "type": "error"
37377
+ },
37378
+ {
37379
+ "inputs": [],
37380
+ "name": "OutOfDomain",
37381
+ "type": "error"
37382
+ },
37383
+ {
37384
+ "inputs": [],
37385
+ "name": "RPowOverflow",
37386
+ "type": "error"
37387
+ },
37388
+ {
37389
+ "inputs": [],
37390
+ "name": "SDivWadFailed",
37391
+ "type": "error"
37392
+ },
37393
+ {
37394
+ "inputs": [],
37395
+ "name": "SMulWadFailed",
37396
+ "type": "error"
37397
+ }
37398
+ ],
34842
37399
  "LayerBankAdapter": [
34843
37400
  {
34844
37401
  "inputs": [
@@ -35119,7 +37676,7 @@ exports.abi = {
35119
37676
  "type": "function"
35120
37677
  }
35121
37678
  ],
35122
- "IDualCore": [
37679
+ "ICoreVault": [
35123
37680
  {
35124
37681
  "inputs": [
35125
37682
  {
@@ -35140,6 +37697,21 @@ exports.abi = {
35140
37697
  "type": "function"
35141
37698
  }
35142
37699
  ],
37700
+ "IDualCore": [
37701
+ {
37702
+ "inputs": [],
37703
+ "name": "coreVault",
37704
+ "outputs": [
37705
+ {
37706
+ "internalType": "address",
37707
+ "name": "",
37708
+ "type": "address"
37709
+ }
37710
+ ],
37711
+ "stateMutability": "view",
37712
+ "type": "function"
37713
+ }
37714
+ ],
35143
37715
  "dualCoreAdapter": [
35144
37716
  {
35145
37717
  "inputs": [
@@ -35157,6 +37729,19 @@ exports.abi = {
35157
37729
  "stateMutability": "nonpayable",
35158
37730
  "type": "constructor"
35159
37731
  },
37732
+ {
37733
+ "inputs": [],
37734
+ "name": "coreVault",
37735
+ "outputs": [
37736
+ {
37737
+ "internalType": "address",
37738
+ "name": "",
37739
+ "type": "address"
37740
+ }
37741
+ ],
37742
+ "stateMutability": "view",
37743
+ "type": "function"
37744
+ },
35160
37745
  {
35161
37746
  "inputs": [],
35162
37747
  "name": "exchangeRate",