@meterio/sumer-js 0.2.103 → 0.2.104

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 (258) hide show
  1. package/dist/browser/sumer.min.js +7 -7
  2. package/dist/nodejs/abi.d.ts +0 -146
  3. package/dist/nodejs/abi.js +0 -4151
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/beramain.d.ts +5 -0
  6. package/dist/nodejs/constants/beramain.js +44 -5
  7. package/dist/nodejs/constants/beramain.js.map +1 -1
  8. package/dist/nodejs/errorABIs.js +0 -1207
  9. package/dist/nodejs/errorABIs.js.map +1 -1
  10. package/dist/nodejs/index.d.ts +0 -146
  11. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.d.ts +69 -0
  12. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js +3 -0
  13. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.js.map +1 -0
  14. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
  15. package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +40 -9
  16. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +1 -5
  17. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +1 -5
  18. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
  19. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +98 -35
  20. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.d.ts +1124 -0
  21. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js +3 -0
  22. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.js.map +1 -0
  23. package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.d.ts +118 -0
  24. package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js +3 -0
  25. package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.js.map +1 -0
  26. package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.d.ts +376 -0
  27. package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js +3 -0
  28. package/dist/nodejs/typechain/contracts/Infrared/IInfraredVault.js.map +1 -0
  29. package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.d.ts +276 -0
  30. package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js +3 -0
  31. package/dist/nodejs/typechain/contracts/Infrared/IMultiRewards.js.map +1 -0
  32. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +149 -0
  33. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +3 -0
  34. package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +1 -0
  35. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +186 -0
  36. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +3 -0
  37. package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +1 -0
  38. package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.d.ts +354 -0
  39. package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js +3 -0
  40. package/dist/nodejs/typechain/contracts/Infrared/MultiRewards.js.map +1 -0
  41. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +217 -0
  42. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +3 -0
  43. package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +1 -0
  44. package/dist/nodejs/typechain/contracts/Infrared/index.d.ts +5 -0
  45. package/dist/nodejs/typechain/contracts/Infrared/index.js +3 -0
  46. package/dist/nodejs/typechain/contracts/Infrared/index.js.map +1 -0
  47. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +33 -0
  48. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +3 -0
  49. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +1 -0
  50. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.d.ts +37 -0
  51. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js +3 -0
  52. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerPool.js.map +1 -0
  53. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.d.ts +49 -0
  54. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js +3 -0
  55. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerVault.js.map +1 -0
  56. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
  57. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js +3 -0
  58. package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
  59. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
  60. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +76 -5
  61. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.d.ts +53 -0
  62. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js +3 -0
  63. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/IKodiakIsland.js.map +1 -0
  64. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
  65. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js +3 -0
  66. package/dist/nodejs/typechain/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
  67. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.d.ts +25 -0
  68. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js +3 -0
  69. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IPriceOracle.js.map +1 -0
  70. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.d.ts +59 -0
  71. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js +3 -0
  72. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair.js.map +1 -0
  73. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
  74. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js +3 -0
  75. package/dist/nodejs/typechain/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
  76. package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +6 -0
  77. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +93 -0
  78. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +3 -0
  79. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +1 -0
  80. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +33 -0
  81. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +3 -0
  82. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +1 -0
  83. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +49 -0
  84. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js +3 -0
  85. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +1 -0
  86. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +25 -0
  87. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +3 -0
  88. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +1 -0
  89. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
  90. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +3 -0
  91. package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
  92. package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +43 -1
  93. package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
  94. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.d.ts +47 -0
  95. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js +72 -0
  96. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable__factory.js.map +1 -0
  97. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
  98. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +3 -1
  99. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
  100. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +39 -11
  101. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +49 -13
  102. package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -1
  103. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +57 -7
  104. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +71 -8
  105. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  106. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +57 -1
  107. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +71 -1
  108. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  109. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +56 -0
  110. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +70 -0
  111. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  112. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +57 -7
  113. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +71 -8
  114. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  115. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +67 -1
  116. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +84 -1
  117. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  118. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +57 -1
  119. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +71 -1
  120. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  121. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  122. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  123. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +162 -30
  124. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +203 -35
  125. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  126. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +57 -1
  127. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +71 -1
  128. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  129. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  130. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  131. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +1887 -0
  132. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +2444 -0
  133. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -0
  134. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.d.ts +124 -0
  135. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js +171 -0
  136. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js.map +1 -0
  137. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.d.ts +439 -0
  138. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js +579 -0
  139. package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredVault__factory.js.map +1 -0
  140. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.d.ts +310 -0
  141. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js +412 -0
  142. package/dist/nodejs/typechain/factories/contracts/Infrared/IMultiRewards__factory.js.map +1 -0
  143. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +169 -0
  144. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +229 -0
  145. package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +1 -0
  146. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +219 -0
  147. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +296 -0
  148. package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +1 -0
  149. package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.d.ts +396 -0
  150. package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js +525 -0
  151. package/dist/nodejs/typechain/factories/contracts/Infrared/MultiRewards__factory.js.map +1 -0
  152. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +241 -0
  153. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +323 -0
  154. package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +1 -0
  155. package/dist/nodejs/typechain/factories/contracts/Infrared/index.d.ts +5 -0
  156. package/dist/nodejs/typechain/factories/contracts/Infrared/index.js +17 -0
  157. package/dist/nodejs/typechain/factories/contracts/Infrared/index.js.map +1 -0
  158. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +37 -0
  159. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +59 -0
  160. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +1 -0
  161. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.d.ts +47 -0
  162. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js +72 -0
  163. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerPool__factory.js.map +1 -0
  164. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.d.ts +29 -0
  165. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js +49 -0
  166. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerVault__factory.js.map +1 -0
  167. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.d.ts +2 -0
  168. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js +11 -0
  169. package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/index.js.map +1 -0
  170. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
  171. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
  172. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  173. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +86 -0
  174. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +109 -0
  175. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  176. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.d.ts +61 -0
  177. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js +90 -0
  178. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/IKodiakIsland__factory.js.map +1 -0
  179. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.d.ts +1 -0
  180. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js +9 -0
  181. package/dist/nodejs/typechain/factories/contracts/Interfaces/Kodiak.sol/index.js.map +1 -0
  182. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.d.ts +21 -0
  183. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js +39 -0
  184. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IPriceOracle__factory.js.map +1 -0
  185. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.d.ts +55 -0
  186. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js +82 -0
  187. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/IUniswapV2Pair__factory.js.map +1 -0
  188. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.d.ts +2 -0
  189. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js +11 -0
  190. package/dist/nodejs/typechain/factories/contracts/Interfaces/UniswapV2.sol/index.js.map +1 -0
  191. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +3 -0
  192. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +4 -1
  193. package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
  194. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  195. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  196. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +158 -0
  197. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +214 -0
  198. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +1 -0
  199. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +37 -0
  200. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +59 -0
  201. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +1 -0
  202. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +29 -0
  203. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +49 -0
  204. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +1 -0
  205. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +21 -0
  206. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +39 -0
  207. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +1 -0
  208. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +4 -0
  209. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +15 -0
  210. package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +1 -0
  211. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +47 -1
  212. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +61 -1
  213. package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
  214. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
  215. package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
  216. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
  217. package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
  218. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +57 -1
  219. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +71 -1
  220. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  221. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +57 -1
  222. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +71 -1
  223. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  224. package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
  225. package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
  226. package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
  227. package/dist/nodejs/typechain/factories/index.d.ts +1 -0
  228. package/dist/nodejs/typechain/factories/index.js +2 -1
  229. package/dist/nodejs/typechain/factories/index.js.map +1 -1
  230. package/dist/nodejs/typechain/factories/solmate/index.d.ts +1 -0
  231. package/dist/nodejs/typechain/factories/solmate/index.js +31 -0
  232. package/dist/nodejs/typechain/factories/solmate/index.js.map +1 -0
  233. package/dist/nodejs/typechain/factories/solmate/src/index.d.ts +1 -0
  234. package/dist/nodejs/typechain/factories/solmate/src/index.js +31 -0
  235. package/dist/nodejs/typechain/factories/solmate/src/index.js.map +1 -0
  236. package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
  237. package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js +317 -0
  238. package/dist/nodejs/typechain/factories/solmate/src/tokens/ERC20__factory.js.map +1 -0
  239. package/dist/nodejs/typechain/factories/solmate/src/tokens/index.d.ts +1 -0
  240. package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js +9 -0
  241. package/dist/nodejs/typechain/factories/solmate/src/tokens/index.js.map +1 -0
  242. package/dist/nodejs/typechain/hardhat.d.ts +216 -0
  243. package/dist/nodejs/typechain/index.d.ts +22 -2
  244. package/dist/nodejs/typechain/index.js +23 -5
  245. package/dist/nodejs/typechain/index.js.map +1 -1
  246. package/dist/nodejs/typechain/solmate/index.d.ts +2 -0
  247. package/dist/nodejs/typechain/solmate/index.js +3 -0
  248. package/dist/nodejs/typechain/solmate/index.js.map +1 -0
  249. package/dist/nodejs/typechain/solmate/src/index.d.ts +2 -0
  250. package/dist/nodejs/typechain/solmate/src/index.js +3 -0
  251. package/dist/nodejs/typechain/solmate/src/index.js.map +1 -0
  252. package/dist/nodejs/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
  253. package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js +3 -0
  254. package/dist/nodejs/typechain/solmate/src/tokens/ERC20.js.map +1 -0
  255. package/dist/nodejs/typechain/solmate/src/tokens/index.d.ts +1 -0
  256. package/dist/nodejs/typechain/solmate/src/tokens/index.js +3 -0
  257. package/dist/nodejs/typechain/solmate/src/tokens/index.js.map +1 -0
  258. package/package.json +1 -1
@@ -3411,3774 +3411,6 @@ exports.abi = {
3411
3411
  "type": "receive"
3412
3412
  }
3413
3413
  ],
3414
- "CBeraVault": [
3415
- {
3416
- "inputs": [],
3417
- "stateMutability": "nonpayable",
3418
- "type": "constructor"
3419
- },
3420
- {
3421
- "inputs": [],
3422
- "name": "AddReservesMarketNotFresh",
3423
- "type": "error"
3424
- },
3425
- {
3426
- "inputs": [],
3427
- "name": "AddReservesOverflow",
3428
- "type": "error"
3429
- },
3430
- {
3431
- "inputs": [],
3432
- "name": "BorrowAndDepositBackFailed",
3433
- "type": "error"
3434
- },
3435
- {
3436
- "inputs": [],
3437
- "name": "BorrowCapReached",
3438
- "type": "error"
3439
- },
3440
- {
3441
- "inputs": [],
3442
- "name": "BorrowCashNotAvailable",
3443
- "type": "error"
3444
- },
3445
- {
3446
- "inputs": [],
3447
- "name": "BorrowMarketNotFresh",
3448
- "type": "error"
3449
- },
3450
- {
3451
- "inputs": [],
3452
- "name": "BorrowPaused",
3453
- "type": "error"
3454
- },
3455
- {
3456
- "inputs": [
3457
- {
3458
- "internalType": "uint256",
3459
- "name": "usdThreshold",
3460
- "type": "uint256"
3461
- }
3462
- ],
3463
- "name": "BorrowValueMustBeLargerThanThreshold",
3464
- "type": "error"
3465
- },
3466
- {
3467
- "inputs": [],
3468
- "name": "CantEnterPausedMarket",
3469
- "type": "error"
3470
- },
3471
- {
3472
- "inputs": [],
3473
- "name": "CantExitMarketWithNonZeroBorrowBalance",
3474
- "type": "error"
3475
- },
3476
- {
3477
- "inputs": [],
3478
- "name": "CantSweepUnderlying",
3479
- "type": "error"
3480
- },
3481
- {
3482
- "inputs": [],
3483
- "name": "ComptrollerMismatch",
3484
- "type": "error"
3485
- },
3486
- {
3487
- "inputs": [],
3488
- "name": "EitherAssetOrDebtMustBeZero",
3489
- "type": "error"
3490
- },
3491
- {
3492
- "inputs": [
3493
- {
3494
- "internalType": "uint8",
3495
- "name": "groupId",
3496
- "type": "uint8"
3497
- },
3498
- {
3499
- "internalType": "uint256",
3500
- "name": "cDepositVal",
3501
- "type": "uint256"
3502
- },
3503
- {
3504
- "internalType": "uint256",
3505
- "name": "suDepositVal",
3506
- "type": "uint256"
3507
- },
3508
- {
3509
- "internalType": "uint256",
3510
- "name": "cBorrowVal",
3511
- "type": "uint256"
3512
- },
3513
- {
3514
- "internalType": "uint256",
3515
- "name": "suBorrowVal",
3516
- "type": "uint256"
3517
- }
3518
- ],
3519
- "name": "EitherAssetOrDebtMustBeZeroInGroup",
3520
- "type": "error"
3521
- },
3522
- {
3523
- "inputs": [],
3524
- "name": "ExpiredSignature",
3525
- "type": "error"
3526
- },
3527
- {
3528
- "inputs": [],
3529
- "name": "InsufficientCollateral",
3530
- "type": "error"
3531
- },
3532
- {
3533
- "inputs": [],
3534
- "name": "InsufficientShortfall",
3535
- "type": "error"
3536
- },
3537
- {
3538
- "inputs": [],
3539
- "name": "InterMintNotAllowed",
3540
- "type": "error"
3541
- },
3542
- {
3543
- "inputs": [],
3544
- "name": "InvalidAddress",
3545
- "type": "error"
3546
- },
3547
- {
3548
- "inputs": [],
3549
- "name": "InvalidAmount",
3550
- "type": "error"
3551
- },
3552
- {
3553
- "inputs": [],
3554
- "name": "InvalidBlockNumber",
3555
- "type": "error"
3556
- },
3557
- {
3558
- "inputs": [],
3559
- "name": "InvalidCToken",
3560
- "type": "error"
3561
- },
3562
- {
3563
- "inputs": [],
3564
- "name": "InvalidCloseFactor",
3565
- "type": "error"
3566
- },
3567
- {
3568
- "inputs": [],
3569
- "name": "InvalidComptroller",
3570
- "type": "error"
3571
- },
3572
- {
3573
- "inputs": [],
3574
- "name": "InvalidDiscountRate",
3575
- "type": "error"
3576
- },
3577
- {
3578
- "inputs": [],
3579
- "name": "InvalidExchangeRate",
3580
- "type": "error"
3581
- },
3582
- {
3583
- "inputs": [],
3584
- "name": "InvalidGroupId",
3585
- "type": "error"
3586
- },
3587
- {
3588
- "inputs": [],
3589
- "name": "InvalidInput",
3590
- "type": "error"
3591
- },
3592
- {
3593
- "inputs": [],
3594
- "name": "InvalidInterestRateModel",
3595
- "type": "error"
3596
- },
3597
- {
3598
- "inputs": [],
3599
- "name": "InvalidMinSuBorrowValue",
3600
- "type": "error"
3601
- },
3602
- {
3603
- "inputs": [],
3604
- "name": "InvalidRedeem",
3605
- "type": "error"
3606
- },
3607
- {
3608
- "inputs": [],
3609
- "name": "InvalidReduceAmount",
3610
- "type": "error"
3611
- },
3612
- {
3613
- "inputs": [],
3614
- "name": "InvalidReserveFactor",
3615
- "type": "error"
3616
- },
3617
- {
3618
- "inputs": [],
3619
- "name": "InvalidSignatureForRedeemFaceValue",
3620
- "type": "error"
3621
- },
3622
- {
3623
- "inputs": [],
3624
- "name": "InvalidSignatureLength",
3625
- "type": "error"
3626
- },
3627
- {
3628
- "inputs": [],
3629
- "name": "InvalidSuToken",
3630
- "type": "error"
3631
- },
3632
- {
3633
- "inputs": [],
3634
- "name": "InvalidTimestamp",
3635
- "type": "error"
3636
- },
3637
- {
3638
- "inputs": [],
3639
- "name": "LiquidateBorrow_LiquidatorIsBorrower",
3640
- "type": "error"
3641
- },
3642
- {
3643
- "inputs": [],
3644
- "name": "LiquidateBorrow_RepayAmountIsMax",
3645
- "type": "error"
3646
- },
3647
- {
3648
- "inputs": [],
3649
- "name": "LiquidateBorrow_RepayAmountIsZero",
3650
- "type": "error"
3651
- },
3652
- {
3653
- "inputs": [],
3654
- "name": "LiquidateBorrow_SeizeTooMuch",
3655
- "type": "error"
3656
- },
3657
- {
3658
- "inputs": [],
3659
- "name": "LiquidateCollateralMarketNotFresh",
3660
- "type": "error"
3661
- },
3662
- {
3663
- "inputs": [],
3664
- "name": "LiquidateMarketNotFresh",
3665
- "type": "error"
3666
- },
3667
- {
3668
- "inputs": [],
3669
- "name": "MarketAlreadyListed",
3670
- "type": "error"
3671
- },
3672
- {
3673
- "inputs": [],
3674
- "name": "MarketAlreadyUnlisted",
3675
- "type": "error"
3676
- },
3677
- {
3678
- "inputs": [],
3679
- "name": "MarketCanOnlyInitializeOnce",
3680
- "type": "error"
3681
- },
3682
- {
3683
- "inputs": [],
3684
- "name": "MarketNotEmpty",
3685
- "type": "error"
3686
- },
3687
- {
3688
- "inputs": [],
3689
- "name": "MarketNotListed",
3690
- "type": "error"
3691
- },
3692
- {
3693
- "inputs": [],
3694
- "name": "MarketPaused",
3695
- "type": "error"
3696
- },
3697
- {
3698
- "inputs": [],
3699
- "name": "MinDelayNotReached",
3700
- "type": "error"
3701
- },
3702
- {
3703
- "inputs": [],
3704
- "name": "MintMarketNotFresh",
3705
- "type": "error"
3706
- },
3707
- {
3708
- "inputs": [],
3709
- "name": "MintPaused",
3710
- "type": "error"
3711
- },
3712
- {
3713
- "inputs": [],
3714
- "name": "MintTokensCantBeZero",
3715
- "type": "error"
3716
- },
3717
- {
3718
- "inputs": [],
3719
- "name": "NoRedemptionProvider",
3720
- "type": "error"
3721
- },
3722
- {
3723
- "inputs": [],
3724
- "name": "NotCToken",
3725
- "type": "error"
3726
- },
3727
- {
3728
- "inputs": [],
3729
- "name": "NotEnoughForSeize",
3730
- "type": "error"
3731
- },
3732
- {
3733
- "inputs": [],
3734
- "name": "NotEnoughRedeemAmount",
3735
- "type": "error"
3736
- },
3737
- {
3738
- "inputs": [],
3739
- "name": "NotEnoughRedeemTokens",
3740
- "type": "error"
3741
- },
3742
- {
3743
- "inputs": [],
3744
- "name": "NotEnoughUnderlyingAfterRedeem",
3745
- "type": "error"
3746
- },
3747
- {
3748
- "inputs": [],
3749
- "name": "NotEnoughUnderlyingForMint",
3750
- "type": "error"
3751
- },
3752
- {
3753
- "inputs": [],
3754
- "name": "NotLiquidatableYet",
3755
- "type": "error"
3756
- },
3757
- {
3758
- "inputs": [],
3759
- "name": "NotSuToken",
3760
- "type": "error"
3761
- },
3762
- {
3763
- "inputs": [],
3764
- "name": "OnlyAdmin",
3765
- "type": "error"
3766
- },
3767
- {
3768
- "inputs": [],
3769
- "name": "OnlyAdminOrPauser",
3770
- "type": "error"
3771
- },
3772
- {
3773
- "inputs": [],
3774
- "name": "OnlyCToken",
3775
- "type": "error"
3776
- },
3777
- {
3778
- "inputs": [],
3779
- "name": "OnlyListedCToken",
3780
- "type": "error"
3781
- },
3782
- {
3783
- "inputs": [],
3784
- "name": "OnlyPausedMarketCanBeUnlisted",
3785
- "type": "error"
3786
- },
3787
- {
3788
- "inputs": [],
3789
- "name": "OnlyPendingAdmin",
3790
- "type": "error"
3791
- },
3792
- {
3793
- "inputs": [],
3794
- "name": "OnlyRedemptionManager",
3795
- "type": "error"
3796
- },
3797
- {
3798
- "inputs": [],
3799
- "name": "OverThreshold",
3800
- "type": "error"
3801
- },
3802
- {
3803
- "inputs": [],
3804
- "name": "PriceError",
3805
- "type": "error"
3806
- },
3807
- {
3808
- "inputs": [],
3809
- "name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
3810
- "type": "error"
3811
- },
3812
- {
3813
- "inputs": [],
3814
- "name": "RedeemMarketNotFresh",
3815
- "type": "error"
3816
- },
3817
- {
3818
- "inputs": [],
3819
- "name": "RedeemTransferOutNotPossible",
3820
- "type": "error"
3821
- },
3822
- {
3823
- "inputs": [],
3824
- "name": "RedemptionSeizeTooMuch",
3825
- "type": "error"
3826
- },
3827
- {
3828
- "inputs": [],
3829
- "name": "RedemptionSignerNotInitialized",
3830
- "type": "error"
3831
- },
3832
- {
3833
- "inputs": [],
3834
- "name": "ReduceReservesCashNotAvailable",
3835
- "type": "error"
3836
- },
3837
- {
3838
- "inputs": [],
3839
- "name": "ReduceReservesMarketNotFresh",
3840
- "type": "error"
3841
- },
3842
- {
3843
- "inputs": [],
3844
- "name": "RepayBorrowMarketNotFresh",
3845
- "type": "error"
3846
- },
3847
- {
3848
- "inputs": [],
3849
- "name": "SeizePaused",
3850
- "type": "error"
3851
- },
3852
- {
3853
- "inputs": [],
3854
- "name": "Seize_LiquidatorIsBorrower",
3855
- "type": "error"
3856
- },
3857
- {
3858
- "inputs": [],
3859
- "name": "SenderMustBeCToken",
3860
- "type": "error"
3861
- },
3862
- {
3863
- "inputs": [],
3864
- "name": "SetInterestRateModelMarketNotFresh",
3865
- "type": "error"
3866
- },
3867
- {
3868
- "inputs": [],
3869
- "name": "SetReservesFactorMarketNotFresh",
3870
- "type": "error"
3871
- },
3872
- {
3873
- "inputs": [],
3874
- "name": "SupplyCapReached",
3875
- "type": "error"
3876
- },
3877
- {
3878
- "inputs": [],
3879
- "name": "TokenInOrAmountInMustBeZero",
3880
- "type": "error"
3881
- },
3882
- {
3883
- "inputs": [],
3884
- "name": "TokenTransferInFailed",
3885
- "type": "error"
3886
- },
3887
- {
3888
- "inputs": [],
3889
- "name": "TokenTransferOutFailed",
3890
- "type": "error"
3891
- },
3892
- {
3893
- "inputs": [],
3894
- "name": "TooMuchRepay",
3895
- "type": "error"
3896
- },
3897
- {
3898
- "inputs": [],
3899
- "name": "TotalBorrowsNotZero",
3900
- "type": "error"
3901
- },
3902
- {
3903
- "inputs": [],
3904
- "name": "TotalSupplyNotZero",
3905
- "type": "error"
3906
- },
3907
- {
3908
- "inputs": [],
3909
- "name": "TransferNotAllowed",
3910
- "type": "error"
3911
- },
3912
- {
3913
- "inputs": [],
3914
- "name": "TransferPaused",
3915
- "type": "error"
3916
- },
3917
- {
3918
- "inputs": [],
3919
- "name": "UnderlyingBalanceError",
3920
- "type": "error"
3921
- },
3922
- {
3923
- "inputs": [],
3924
- "name": "ZeroAddressNotAllowed",
3925
- "type": "error"
3926
- },
3927
- {
3928
- "anonymous": false,
3929
- "inputs": [
3930
- {
3931
- "indexed": false,
3932
- "internalType": "uint256",
3933
- "name": "cashPrior",
3934
- "type": "uint256"
3935
- },
3936
- {
3937
- "indexed": false,
3938
- "internalType": "uint256",
3939
- "name": "interestAccumulated",
3940
- "type": "uint256"
3941
- },
3942
- {
3943
- "indexed": false,
3944
- "internalType": "uint256",
3945
- "name": "borrowIndex",
3946
- "type": "uint256"
3947
- },
3948
- {
3949
- "indexed": false,
3950
- "internalType": "uint256",
3951
- "name": "totalBorrows",
3952
- "type": "uint256"
3953
- }
3954
- ],
3955
- "name": "AccrueInterest",
3956
- "type": "event"
3957
- },
3958
- {
3959
- "anonymous": false,
3960
- "inputs": [
3961
- {
3962
- "indexed": true,
3963
- "internalType": "address",
3964
- "name": "owner",
3965
- "type": "address"
3966
- },
3967
- {
3968
- "indexed": true,
3969
- "internalType": "address",
3970
- "name": "spender",
3971
- "type": "address"
3972
- },
3973
- {
3974
- "indexed": false,
3975
- "internalType": "uint256",
3976
- "name": "amount",
3977
- "type": "uint256"
3978
- }
3979
- ],
3980
- "name": "Approval",
3981
- "type": "event"
3982
- },
3983
- {
3984
- "anonymous": false,
3985
- "inputs": [
3986
- {
3987
- "indexed": false,
3988
- "internalType": "address",
3989
- "name": "borrower",
3990
- "type": "address"
3991
- },
3992
- {
3993
- "indexed": false,
3994
- "internalType": "uint256",
3995
- "name": "borrowAmount",
3996
- "type": "uint256"
3997
- },
3998
- {
3999
- "indexed": false,
4000
- "internalType": "uint256",
4001
- "name": "accountBorrows",
4002
- "type": "uint256"
4003
- },
4004
- {
4005
- "indexed": false,
4006
- "internalType": "uint256",
4007
- "name": "totalBorrows",
4008
- "type": "uint256"
4009
- }
4010
- ],
4011
- "name": "Borrow",
4012
- "type": "event"
4013
- },
4014
- {
4015
- "anonymous": false,
4016
- "inputs": [
4017
- {
4018
- "indexed": false,
4019
- "internalType": "uint8",
4020
- "name": "version",
4021
- "type": "uint8"
4022
- }
4023
- ],
4024
- "name": "Initialized",
4025
- "type": "event"
4026
- },
4027
- {
4028
- "anonymous": false,
4029
- "inputs": [
4030
- {
4031
- "indexed": false,
4032
- "internalType": "address",
4033
- "name": "liquidator",
4034
- "type": "address"
4035
- },
4036
- {
4037
- "indexed": false,
4038
- "internalType": "address",
4039
- "name": "borrower",
4040
- "type": "address"
4041
- },
4042
- {
4043
- "indexed": false,
4044
- "internalType": "uint256",
4045
- "name": "repayAmount",
4046
- "type": "uint256"
4047
- },
4048
- {
4049
- "indexed": false,
4050
- "internalType": "address",
4051
- "name": "cTokenCollateral",
4052
- "type": "address"
4053
- },
4054
- {
4055
- "indexed": false,
4056
- "internalType": "uint256",
4057
- "name": "seizeTokens",
4058
- "type": "uint256"
4059
- }
4060
- ],
4061
- "name": "LiquidateBorrow",
4062
- "type": "event"
4063
- },
4064
- {
4065
- "anonymous": false,
4066
- "inputs": [
4067
- {
4068
- "indexed": false,
4069
- "internalType": "address",
4070
- "name": "minter",
4071
- "type": "address"
4072
- },
4073
- {
4074
- "indexed": false,
4075
- "internalType": "uint256",
4076
- "name": "mintAmount",
4077
- "type": "uint256"
4078
- },
4079
- {
4080
- "indexed": false,
4081
- "internalType": "uint256",
4082
- "name": "mintTokens",
4083
- "type": "uint256"
4084
- }
4085
- ],
4086
- "name": "Mint",
4087
- "type": "event"
4088
- },
4089
- {
4090
- "anonymous": false,
4091
- "inputs": [
4092
- {
4093
- "indexed": false,
4094
- "internalType": "address",
4095
- "name": "oldAdmin",
4096
- "type": "address"
4097
- },
4098
- {
4099
- "indexed": false,
4100
- "internalType": "address",
4101
- "name": "newAdmin",
4102
- "type": "address"
4103
- }
4104
- ],
4105
- "name": "NewAdmin",
4106
- "type": "event"
4107
- },
4108
- {
4109
- "anonymous": false,
4110
- "inputs": [
4111
- {
4112
- "indexed": false,
4113
- "internalType": "address",
4114
- "name": "oldComptroller",
4115
- "type": "address"
4116
- },
4117
- {
4118
- "indexed": false,
4119
- "internalType": "address",
4120
- "name": "newComptroller",
4121
- "type": "address"
4122
- }
4123
- ],
4124
- "name": "NewComptroller",
4125
- "type": "event"
4126
- },
4127
- {
4128
- "anonymous": false,
4129
- "inputs": [
4130
- {
4131
- "indexed": false,
4132
- "internalType": "uint256",
4133
- "name": "oldDiscountRateMantissa",
4134
- "type": "uint256"
4135
- },
4136
- {
4137
- "indexed": false,
4138
- "internalType": "uint256",
4139
- "name": "newDiscountRateMantissa",
4140
- "type": "uint256"
4141
- }
4142
- ],
4143
- "name": "NewDiscountRate",
4144
- "type": "event"
4145
- },
4146
- {
4147
- "anonymous": false,
4148
- "inputs": [
4149
- {
4150
- "indexed": false,
4151
- "internalType": "address",
4152
- "name": "oldInterestRateModel",
4153
- "type": "address"
4154
- },
4155
- {
4156
- "indexed": false,
4157
- "internalType": "address",
4158
- "name": "newInterestRateModel",
4159
- "type": "address"
4160
- }
4161
- ],
4162
- "name": "NewMarketInterestRateModel",
4163
- "type": "event"
4164
- },
4165
- {
4166
- "anonymous": false,
4167
- "inputs": [
4168
- {
4169
- "indexed": false,
4170
- "internalType": "address",
4171
- "name": "oldPendingAdmin",
4172
- "type": "address"
4173
- },
4174
- {
4175
- "indexed": false,
4176
- "internalType": "address",
4177
- "name": "newPendingAdmin",
4178
- "type": "address"
4179
- }
4180
- ],
4181
- "name": "NewPendingAdmin",
4182
- "type": "event"
4183
- },
4184
- {
4185
- "anonymous": false,
4186
- "inputs": [
4187
- {
4188
- "indexed": false,
4189
- "internalType": "uint256",
4190
- "name": "oldReserveFactorMantissa",
4191
- "type": "uint256"
4192
- },
4193
- {
4194
- "indexed": false,
4195
- "internalType": "uint256",
4196
- "name": "newReserveFactorMantissa",
4197
- "type": "uint256"
4198
- }
4199
- ],
4200
- "name": "NewReserveFactor",
4201
- "type": "event"
4202
- },
4203
- {
4204
- "anonymous": false,
4205
- "inputs": [
4206
- {
4207
- "indexed": false,
4208
- "internalType": "address",
4209
- "name": "redeemer",
4210
- "type": "address"
4211
- },
4212
- {
4213
- "indexed": false,
4214
- "internalType": "uint256",
4215
- "name": "redeemAmount",
4216
- "type": "uint256"
4217
- },
4218
- {
4219
- "indexed": false,
4220
- "internalType": "uint256",
4221
- "name": "redeemTokens",
4222
- "type": "uint256"
4223
- }
4224
- ],
4225
- "name": "Redeem",
4226
- "type": "event"
4227
- },
4228
- {
4229
- "anonymous": false,
4230
- "inputs": [
4231
- {
4232
- "indexed": true,
4233
- "internalType": "address",
4234
- "name": "redeemer",
4235
- "type": "address"
4236
- },
4237
- {
4238
- "indexed": true,
4239
- "internalType": "address",
4240
- "name": "provider",
4241
- "type": "address"
4242
- },
4243
- {
4244
- "indexed": false,
4245
- "internalType": "uint256",
4246
- "name": "repayAmount",
4247
- "type": "uint256"
4248
- },
4249
- {
4250
- "indexed": false,
4251
- "internalType": "address",
4252
- "name": "seizeToken",
4253
- "type": "address"
4254
- },
4255
- {
4256
- "indexed": false,
4257
- "internalType": "uint256",
4258
- "name": "seizeAmount",
4259
- "type": "uint256"
4260
- },
4261
- {
4262
- "indexed": false,
4263
- "internalType": "uint256",
4264
- "name": "redemptionRateMantissa",
4265
- "type": "uint256"
4266
- }
4267
- ],
4268
- "name": "RedeemFaceValue",
4269
- "type": "event"
4270
- },
4271
- {
4272
- "anonymous": false,
4273
- "inputs": [
4274
- {
4275
- "indexed": false,
4276
- "internalType": "address",
4277
- "name": "payer",
4278
- "type": "address"
4279
- },
4280
- {
4281
- "indexed": false,
4282
- "internalType": "address",
4283
- "name": "borrower",
4284
- "type": "address"
4285
- },
4286
- {
4287
- "indexed": false,
4288
- "internalType": "uint256",
4289
- "name": "repayAmount",
4290
- "type": "uint256"
4291
- },
4292
- {
4293
- "indexed": false,
4294
- "internalType": "uint256",
4295
- "name": "accountBorrows",
4296
- "type": "uint256"
4297
- },
4298
- {
4299
- "indexed": false,
4300
- "internalType": "uint256",
4301
- "name": "totalBorrows",
4302
- "type": "uint256"
4303
- }
4304
- ],
4305
- "name": "RepayBorrow",
4306
- "type": "event"
4307
- },
4308
- {
4309
- "anonymous": false,
4310
- "inputs": [
4311
- {
4312
- "indexed": false,
4313
- "internalType": "address",
4314
- "name": "benefactor",
4315
- "type": "address"
4316
- },
4317
- {
4318
- "indexed": false,
4319
- "internalType": "uint256",
4320
- "name": "addAmount",
4321
- "type": "uint256"
4322
- },
4323
- {
4324
- "indexed": false,
4325
- "internalType": "uint256",
4326
- "name": "newTotalReserves",
4327
- "type": "uint256"
4328
- }
4329
- ],
4330
- "name": "ReservesAdded",
4331
- "type": "event"
4332
- },
4333
- {
4334
- "anonymous": false,
4335
- "inputs": [
4336
- {
4337
- "indexed": false,
4338
- "internalType": "address",
4339
- "name": "admin",
4340
- "type": "address"
4341
- },
4342
- {
4343
- "indexed": false,
4344
- "internalType": "uint256",
4345
- "name": "reduceAmount",
4346
- "type": "uint256"
4347
- },
4348
- {
4349
- "indexed": false,
4350
- "internalType": "uint256",
4351
- "name": "newTotalReserves",
4352
- "type": "uint256"
4353
- }
4354
- ],
4355
- "name": "ReservesReduced",
4356
- "type": "event"
4357
- },
4358
- {
4359
- "anonymous": false,
4360
- "inputs": [
4361
- {
4362
- "indexed": true,
4363
- "internalType": "address",
4364
- "name": "from",
4365
- "type": "address"
4366
- },
4367
- {
4368
- "indexed": true,
4369
- "internalType": "address",
4370
- "name": "to",
4371
- "type": "address"
4372
- },
4373
- {
4374
- "indexed": false,
4375
- "internalType": "uint256",
4376
- "name": "amount",
4377
- "type": "uint256"
4378
- }
4379
- ],
4380
- "name": "Transfer",
4381
- "type": "event"
4382
- },
4383
- {
4384
- "inputs": [],
4385
- "name": "_acceptAdmin",
4386
- "outputs": [
4387
- {
4388
- "internalType": "uint256",
4389
- "name": "",
4390
- "type": "uint256"
4391
- }
4392
- ],
4393
- "stateMutability": "nonpayable",
4394
- "type": "function"
4395
- },
4396
- {
4397
- "inputs": [
4398
- {
4399
- "internalType": "uint256",
4400
- "name": "addAmount",
4401
- "type": "uint256"
4402
- }
4403
- ],
4404
- "name": "_addReserves",
4405
- "outputs": [
4406
- {
4407
- "internalType": "uint256",
4408
- "name": "",
4409
- "type": "uint256"
4410
- }
4411
- ],
4412
- "stateMutability": "nonpayable",
4413
- "type": "function"
4414
- },
4415
- {
4416
- "inputs": [
4417
- {
4418
- "internalType": "uint256",
4419
- "name": "reduceAmount",
4420
- "type": "uint256"
4421
- }
4422
- ],
4423
- "name": "_reduceReserves",
4424
- "outputs": [
4425
- {
4426
- "internalType": "uint256",
4427
- "name": "",
4428
- "type": "uint256"
4429
- }
4430
- ],
4431
- "stateMutability": "nonpayable",
4432
- "type": "function"
4433
- },
4434
- {
4435
- "inputs": [
4436
- {
4437
- "internalType": "address",
4438
- "name": "newComptroller",
4439
- "type": "address"
4440
- }
4441
- ],
4442
- "name": "_setComptroller",
4443
- "outputs": [
4444
- {
4445
- "internalType": "uint256",
4446
- "name": "",
4447
- "type": "uint256"
4448
- }
4449
- ],
4450
- "stateMutability": "nonpayable",
4451
- "type": "function"
4452
- },
4453
- {
4454
- "inputs": [
4455
- {
4456
- "internalType": "uint256",
4457
- "name": "discountRateMantissa_",
4458
- "type": "uint256"
4459
- }
4460
- ],
4461
- "name": "_setDiscountRate",
4462
- "outputs": [
4463
- {
4464
- "internalType": "uint256",
4465
- "name": "",
4466
- "type": "uint256"
4467
- }
4468
- ],
4469
- "stateMutability": "nonpayable",
4470
- "type": "function"
4471
- },
4472
- {
4473
- "inputs": [
4474
- {
4475
- "internalType": "address",
4476
- "name": "newInterestRateModel",
4477
- "type": "address"
4478
- }
4479
- ],
4480
- "name": "_setInterestRateModel",
4481
- "outputs": [
4482
- {
4483
- "internalType": "uint256",
4484
- "name": "",
4485
- "type": "uint256"
4486
- }
4487
- ],
4488
- "stateMutability": "nonpayable",
4489
- "type": "function"
4490
- },
4491
- {
4492
- "inputs": [
4493
- {
4494
- "internalType": "address payable",
4495
- "name": "newPendingAdmin",
4496
- "type": "address"
4497
- }
4498
- ],
4499
- "name": "_setPendingAdmin",
4500
- "outputs": [
4501
- {
4502
- "internalType": "uint256",
4503
- "name": "",
4504
- "type": "uint256"
4505
- }
4506
- ],
4507
- "stateMutability": "nonpayable",
4508
- "type": "function"
4509
- },
4510
- {
4511
- "inputs": [
4512
- {
4513
- "internalType": "uint256",
4514
- "name": "newReserveFactorMantissa",
4515
- "type": "uint256"
4516
- }
4517
- ],
4518
- "name": "_setReserveFactor",
4519
- "outputs": [
4520
- {
4521
- "internalType": "uint256",
4522
- "name": "",
4523
- "type": "uint256"
4524
- }
4525
- ],
4526
- "stateMutability": "nonpayable",
4527
- "type": "function"
4528
- },
4529
- {
4530
- "inputs": [],
4531
- "name": "_syncUnderlyingBalance",
4532
- "outputs": [],
4533
- "stateMutability": "nonpayable",
4534
- "type": "function"
4535
- },
4536
- {
4537
- "inputs": [],
4538
- "name": "accrualBlockTimestamp",
4539
- "outputs": [
4540
- {
4541
- "internalType": "uint256",
4542
- "name": "",
4543
- "type": "uint256"
4544
- }
4545
- ],
4546
- "stateMutability": "view",
4547
- "type": "function"
4548
- },
4549
- {
4550
- "inputs": [],
4551
- "name": "accrueInterest",
4552
- "outputs": [
4553
- {
4554
- "internalType": "uint256",
4555
- "name": "",
4556
- "type": "uint256"
4557
- }
4558
- ],
4559
- "stateMutability": "nonpayable",
4560
- "type": "function"
4561
- },
4562
- {
4563
- "inputs": [],
4564
- "name": "admin",
4565
- "outputs": [
4566
- {
4567
- "internalType": "address payable",
4568
- "name": "",
4569
- "type": "address"
4570
- }
4571
- ],
4572
- "stateMutability": "view",
4573
- "type": "function"
4574
- },
4575
- {
4576
- "inputs": [
4577
- {
4578
- "internalType": "address",
4579
- "name": "owner",
4580
- "type": "address"
4581
- },
4582
- {
4583
- "internalType": "address",
4584
- "name": "spender",
4585
- "type": "address"
4586
- }
4587
- ],
4588
- "name": "allowance",
4589
- "outputs": [
4590
- {
4591
- "internalType": "uint256",
4592
- "name": "",
4593
- "type": "uint256"
4594
- }
4595
- ],
4596
- "stateMutability": "view",
4597
- "type": "function"
4598
- },
4599
- {
4600
- "inputs": [
4601
- {
4602
- "internalType": "address",
4603
- "name": "spender",
4604
- "type": "address"
4605
- },
4606
- {
4607
- "internalType": "uint256",
4608
- "name": "amount",
4609
- "type": "uint256"
4610
- }
4611
- ],
4612
- "name": "approve",
4613
- "outputs": [
4614
- {
4615
- "internalType": "bool",
4616
- "name": "",
4617
- "type": "bool"
4618
- }
4619
- ],
4620
- "stateMutability": "nonpayable",
4621
- "type": "function"
4622
- },
4623
- {
4624
- "inputs": [
4625
- {
4626
- "internalType": "address",
4627
- "name": "owner",
4628
- "type": "address"
4629
- }
4630
- ],
4631
- "name": "balanceOf",
4632
- "outputs": [
4633
- {
4634
- "internalType": "uint256",
4635
- "name": "",
4636
- "type": "uint256"
4637
- }
4638
- ],
4639
- "stateMutability": "view",
4640
- "type": "function"
4641
- },
4642
- {
4643
- "inputs": [
4644
- {
4645
- "internalType": "address",
4646
- "name": "owner",
4647
- "type": "address"
4648
- }
4649
- ],
4650
- "name": "balanceOfUnderlying",
4651
- "outputs": [
4652
- {
4653
- "internalType": "uint256",
4654
- "name": "",
4655
- "type": "uint256"
4656
- }
4657
- ],
4658
- "stateMutability": "nonpayable",
4659
- "type": "function"
4660
- },
4661
- {
4662
- "inputs": [
4663
- {
4664
- "internalType": "uint256",
4665
- "name": "borrowAmount",
4666
- "type": "uint256"
4667
- }
4668
- ],
4669
- "name": "borrow",
4670
- "outputs": [
4671
- {
4672
- "internalType": "uint256",
4673
- "name": "",
4674
- "type": "uint256"
4675
- }
4676
- ],
4677
- "stateMutability": "nonpayable",
4678
- "type": "function"
4679
- },
4680
- {
4681
- "inputs": [
4682
- {
4683
- "internalType": "address",
4684
- "name": "borrower",
4685
- "type": "address"
4686
- },
4687
- {
4688
- "internalType": "uint256",
4689
- "name": "borrowAmount",
4690
- "type": "uint256"
4691
- }
4692
- ],
4693
- "name": "borrowAndDepositBack",
4694
- "outputs": [
4695
- {
4696
- "internalType": "uint256",
4697
- "name": "",
4698
- "type": "uint256"
4699
- }
4700
- ],
4701
- "stateMutability": "nonpayable",
4702
- "type": "function"
4703
- },
4704
- {
4705
- "inputs": [
4706
- {
4707
- "internalType": "address",
4708
- "name": "account",
4709
- "type": "address"
4710
- }
4711
- ],
4712
- "name": "borrowBalanceCurrent",
4713
- "outputs": [
4714
- {
4715
- "internalType": "uint256",
4716
- "name": "",
4717
- "type": "uint256"
4718
- }
4719
- ],
4720
- "stateMutability": "nonpayable",
4721
- "type": "function"
4722
- },
4723
- {
4724
- "inputs": [
4725
- {
4726
- "internalType": "address",
4727
- "name": "account",
4728
- "type": "address"
4729
- }
4730
- ],
4731
- "name": "borrowBalanceStored",
4732
- "outputs": [
4733
- {
4734
- "internalType": "uint256",
4735
- "name": "",
4736
- "type": "uint256"
4737
- }
4738
- ],
4739
- "stateMutability": "view",
4740
- "type": "function"
4741
- },
4742
- {
4743
- "inputs": [],
4744
- "name": "borrowIndex",
4745
- "outputs": [
4746
- {
4747
- "internalType": "uint256",
4748
- "name": "",
4749
- "type": "uint256"
4750
- }
4751
- ],
4752
- "stateMutability": "view",
4753
- "type": "function"
4754
- },
4755
- {
4756
- "inputs": [],
4757
- "name": "borrowRatePerBlock",
4758
- "outputs": [
4759
- {
4760
- "internalType": "uint256",
4761
- "name": "",
4762
- "type": "uint256"
4763
- }
4764
- ],
4765
- "stateMutability": "view",
4766
- "type": "function"
4767
- },
4768
- {
4769
- "inputs": [],
4770
- "name": "comptroller",
4771
- "outputs": [
4772
- {
4773
- "internalType": "address",
4774
- "name": "",
4775
- "type": "address"
4776
- }
4777
- ],
4778
- "stateMutability": "view",
4779
- "type": "function"
4780
- },
4781
- {
4782
- "inputs": [],
4783
- "name": "decimals",
4784
- "outputs": [
4785
- {
4786
- "internalType": "uint8",
4787
- "name": "",
4788
- "type": "uint8"
4789
- }
4790
- ],
4791
- "stateMutability": "view",
4792
- "type": "function"
4793
- },
4794
- {
4795
- "inputs": [],
4796
- "name": "discountRateMantissa",
4797
- "outputs": [
4798
- {
4799
- "internalType": "uint256",
4800
- "name": "",
4801
- "type": "uint256"
4802
- }
4803
- ],
4804
- "stateMutability": "view",
4805
- "type": "function"
4806
- },
4807
- {
4808
- "inputs": [],
4809
- "name": "exchangeRateCurrent",
4810
- "outputs": [
4811
- {
4812
- "internalType": "uint256",
4813
- "name": "",
4814
- "type": "uint256"
4815
- }
4816
- ],
4817
- "stateMutability": "nonpayable",
4818
- "type": "function"
4819
- },
4820
- {
4821
- "inputs": [],
4822
- "name": "exchangeRateStored",
4823
- "outputs": [
4824
- {
4825
- "internalType": "uint256",
4826
- "name": "",
4827
- "type": "uint256"
4828
- }
4829
- ],
4830
- "stateMutability": "view",
4831
- "type": "function"
4832
- },
4833
- {
4834
- "inputs": [
4835
- {
4836
- "internalType": "address",
4837
- "name": "account",
4838
- "type": "address"
4839
- }
4840
- ],
4841
- "name": "getAccountSnapshot",
4842
- "outputs": [
4843
- {
4844
- "internalType": "uint256",
4845
- "name": "",
4846
- "type": "uint256"
4847
- },
4848
- {
4849
- "internalType": "uint256",
4850
- "name": "",
4851
- "type": "uint256"
4852
- },
4853
- {
4854
- "internalType": "uint256",
4855
- "name": "",
4856
- "type": "uint256"
4857
- },
4858
- {
4859
- "internalType": "uint256",
4860
- "name": "",
4861
- "type": "uint256"
4862
- }
4863
- ],
4864
- "stateMutability": "view",
4865
- "type": "function"
4866
- },
4867
- {
4868
- "inputs": [
4869
- {
4870
- "internalType": "address",
4871
- "name": "borrower",
4872
- "type": "address"
4873
- }
4874
- ],
4875
- "name": "getBorrowSnapshot",
4876
- "outputs": [
4877
- {
4878
- "components": [
4879
- {
4880
- "internalType": "uint256",
4881
- "name": "principal",
4882
- "type": "uint256"
4883
- },
4884
- {
4885
- "internalType": "uint256",
4886
- "name": "interestIndex",
4887
- "type": "uint256"
4888
- }
4889
- ],
4890
- "internalType": "struct CTokenStorage.BorrowSnapshot",
4891
- "name": "",
4892
- "type": "tuple"
4893
- }
4894
- ],
4895
- "stateMutability": "view",
4896
- "type": "function"
4897
- },
4898
- {
4899
- "inputs": [],
4900
- "name": "getCash",
4901
- "outputs": [
4902
- {
4903
- "internalType": "uint256",
4904
- "name": "",
4905
- "type": "uint256"
4906
- }
4907
- ],
4908
- "stateMutability": "view",
4909
- "type": "function"
4910
- },
4911
- {
4912
- "inputs": [
4913
- {
4914
- "internalType": "address",
4915
- "name": "timeBasedInterestRateModel",
4916
- "type": "address"
4917
- }
4918
- ],
4919
- "name": "initAccrualBlockTimestamp",
4920
- "outputs": [],
4921
- "stateMutability": "nonpayable",
4922
- "type": "function"
4923
- },
4924
- {
4925
- "inputs": [
4926
- {
4927
- "internalType": "address",
4928
- "name": "underlying_",
4929
- "type": "address"
4930
- },
4931
- {
4932
- "internalType": "address",
4933
- "name": "comptroller_",
4934
- "type": "address"
4935
- },
4936
- {
4937
- "internalType": "address",
4938
- "name": "interestRateModel_",
4939
- "type": "address"
4940
- },
4941
- {
4942
- "internalType": "uint256",
4943
- "name": "initialExchangeRateMantissa_",
4944
- "type": "uint256"
4945
- },
4946
- {
4947
- "internalType": "string",
4948
- "name": "name_",
4949
- "type": "string"
4950
- },
4951
- {
4952
- "internalType": "string",
4953
- "name": "symbol_",
4954
- "type": "string"
4955
- },
4956
- {
4957
- "internalType": "uint8",
4958
- "name": "decimals_",
4959
- "type": "uint8"
4960
- },
4961
- {
4962
- "internalType": "address payable",
4963
- "name": "admin_",
4964
- "type": "address"
4965
- },
4966
- {
4967
- "internalType": "contract IRewardVault",
4968
- "name": "rewardVault_",
4969
- "type": "address"
4970
- }
4971
- ],
4972
- "name": "initialize",
4973
- "outputs": [],
4974
- "stateMutability": "nonpayable",
4975
- "type": "function"
4976
- },
4977
- {
4978
- "inputs": [],
4979
- "name": "initializeVersion2",
4980
- "outputs": [],
4981
- "stateMutability": "nonpayable",
4982
- "type": "function"
4983
- },
4984
- {
4985
- "inputs": [],
4986
- "name": "interestRateModel",
4987
- "outputs": [
4988
- {
4989
- "internalType": "address",
4990
- "name": "",
4991
- "type": "address"
4992
- }
4993
- ],
4994
- "stateMutability": "view",
4995
- "type": "function"
4996
- },
4997
- {
4998
- "inputs": [],
4999
- "name": "isCEther",
5000
- "outputs": [
5001
- {
5002
- "internalType": "bool",
5003
- "name": "",
5004
- "type": "bool"
5005
- }
5006
- ],
5007
- "stateMutability": "pure",
5008
- "type": "function"
5009
- },
5010
- {
5011
- "inputs": [],
5012
- "name": "isCEtherDeprecated",
5013
- "outputs": [
5014
- {
5015
- "internalType": "bool",
5016
- "name": "",
5017
- "type": "bool"
5018
- }
5019
- ],
5020
- "stateMutability": "view",
5021
- "type": "function"
5022
- },
5023
- {
5024
- "inputs": [],
5025
- "name": "isCToken",
5026
- "outputs": [
5027
- {
5028
- "internalType": "bool",
5029
- "name": "",
5030
- "type": "bool"
5031
- }
5032
- ],
5033
- "stateMutability": "pure",
5034
- "type": "function"
5035
- },
5036
- {
5037
- "inputs": [],
5038
- "name": "isCTokenDeprecated",
5039
- "outputs": [
5040
- {
5041
- "internalType": "bool",
5042
- "name": "",
5043
- "type": "bool"
5044
- }
5045
- ],
5046
- "stateMutability": "view",
5047
- "type": "function"
5048
- },
5049
- {
5050
- "inputs": [],
5051
- "name": "isDeprecated",
5052
- "outputs": [
5053
- {
5054
- "internalType": "bool",
5055
- "name": "",
5056
- "type": "bool"
5057
- }
5058
- ],
5059
- "stateMutability": "view",
5060
- "type": "function"
5061
- },
5062
- {
5063
- "inputs": [
5064
- {
5065
- "internalType": "address",
5066
- "name": "borrower",
5067
- "type": "address"
5068
- },
5069
- {
5070
- "internalType": "uint256",
5071
- "name": "repayAmount",
5072
- "type": "uint256"
5073
- },
5074
- {
5075
- "internalType": "address",
5076
- "name": "cTokenCollateral",
5077
- "type": "address"
5078
- }
5079
- ],
5080
- "name": "liquidateBorrow",
5081
- "outputs": [
5082
- {
5083
- "internalType": "uint256",
5084
- "name": "",
5085
- "type": "uint256"
5086
- }
5087
- ],
5088
- "stateMutability": "nonpayable",
5089
- "type": "function"
5090
- },
5091
- {
5092
- "inputs": [
5093
- {
5094
- "internalType": "address",
5095
- "name": "cTokenCollateral",
5096
- "type": "address"
5097
- },
5098
- {
5099
- "internalType": "uint256",
5100
- "name": "actualRepayAmount",
5101
- "type": "uint256"
5102
- }
5103
- ],
5104
- "name": "liquidateCalculateSeizeTokens",
5105
- "outputs": [
5106
- {
5107
- "internalType": "uint256",
5108
- "name": "",
5109
- "type": "uint256"
5110
- },
5111
- {
5112
- "internalType": "uint256",
5113
- "name": "",
5114
- "type": "uint256"
5115
- },
5116
- {
5117
- "internalType": "uint256",
5118
- "name": "",
5119
- "type": "uint256"
5120
- }
5121
- ],
5122
- "stateMutability": "view",
5123
- "type": "function"
5124
- },
5125
- {
5126
- "inputs": [
5127
- {
5128
- "internalType": "uint256",
5129
- "name": "mintAmount",
5130
- "type": "uint256"
5131
- }
5132
- ],
5133
- "name": "mint",
5134
- "outputs": [
5135
- {
5136
- "internalType": "uint256",
5137
- "name": "",
5138
- "type": "uint256"
5139
- }
5140
- ],
5141
- "stateMutability": "nonpayable",
5142
- "type": "function"
5143
- },
5144
- {
5145
- "inputs": [
5146
- {
5147
- "internalType": "uint256",
5148
- "name": "mintAmount",
5149
- "type": "uint256"
5150
- },
5151
- {
5152
- "internalType": "uint256",
5153
- "name": "deadline",
5154
- "type": "uint256"
5155
- },
5156
- {
5157
- "internalType": "bytes",
5158
- "name": "signature",
5159
- "type": "bytes"
5160
- }
5161
- ],
5162
- "name": "mintWithPermit",
5163
- "outputs": [
5164
- {
5165
- "internalType": "uint256",
5166
- "name": "",
5167
- "type": "uint256"
5168
- }
5169
- ],
5170
- "stateMutability": "nonpayable",
5171
- "type": "function"
5172
- },
5173
- {
5174
- "inputs": [],
5175
- "name": "name",
5176
- "outputs": [
5177
- {
5178
- "internalType": "string",
5179
- "name": "",
5180
- "type": "string"
5181
- }
5182
- ],
5183
- "stateMutability": "view",
5184
- "type": "function"
5185
- },
5186
- {
5187
- "inputs": [],
5188
- "name": "pendingAdmin",
5189
- "outputs": [
5190
- {
5191
- "internalType": "address payable",
5192
- "name": "",
5193
- "type": "address"
5194
- }
5195
- ],
5196
- "stateMutability": "view",
5197
- "type": "function"
5198
- },
5199
- {
5200
- "inputs": [],
5201
- "name": "percentScale",
5202
- "outputs": [
5203
- {
5204
- "internalType": "uint256",
5205
- "name": "",
5206
- "type": "uint256"
5207
- }
5208
- ],
5209
- "stateMutability": "view",
5210
- "type": "function"
5211
- },
5212
- {
5213
- "inputs": [],
5214
- "name": "protocolSeizeShareMantissa",
5215
- "outputs": [
5216
- {
5217
- "internalType": "uint256",
5218
- "name": "",
5219
- "type": "uint256"
5220
- }
5221
- ],
5222
- "stateMutability": "view",
5223
- "type": "function"
5224
- },
5225
- {
5226
- "inputs": [
5227
- {
5228
- "internalType": "uint256",
5229
- "name": "redeemTokens",
5230
- "type": "uint256"
5231
- }
5232
- ],
5233
- "name": "redeem",
5234
- "outputs": [
5235
- {
5236
- "internalType": "uint256",
5237
- "name": "",
5238
- "type": "uint256"
5239
- }
5240
- ],
5241
- "stateMutability": "nonpayable",
5242
- "type": "function"
5243
- },
5244
- {
5245
- "inputs": [
5246
- {
5247
- "internalType": "uint256",
5248
- "name": "redeemAmount",
5249
- "type": "uint256"
5250
- }
5251
- ],
5252
- "name": "redeemUnderlying",
5253
- "outputs": [
5254
- {
5255
- "internalType": "uint256",
5256
- "name": "",
5257
- "type": "uint256"
5258
- }
5259
- ],
5260
- "stateMutability": "nonpayable",
5261
- "type": "function"
5262
- },
5263
- {
5264
- "inputs": [
5265
- {
5266
- "internalType": "uint256",
5267
- "name": "repayAmount",
5268
- "type": "uint256"
5269
- }
5270
- ],
5271
- "name": "repayBorrow",
5272
- "outputs": [
5273
- {
5274
- "internalType": "uint256",
5275
- "name": "",
5276
- "type": "uint256"
5277
- }
5278
- ],
5279
- "stateMutability": "nonpayable",
5280
- "type": "function"
5281
- },
5282
- {
5283
- "inputs": [
5284
- {
5285
- "internalType": "address",
5286
- "name": "borrower",
5287
- "type": "address"
5288
- },
5289
- {
5290
- "internalType": "uint256",
5291
- "name": "repayAmount",
5292
- "type": "uint256"
5293
- }
5294
- ],
5295
- "name": "repayBorrowBehalf",
5296
- "outputs": [
5297
- {
5298
- "internalType": "uint256",
5299
- "name": "",
5300
- "type": "uint256"
5301
- }
5302
- ],
5303
- "stateMutability": "nonpayable",
5304
- "type": "function"
5305
- },
5306
- {
5307
- "inputs": [
5308
- {
5309
- "internalType": "uint256",
5310
- "name": "repayAmount",
5311
- "type": "uint256"
5312
- },
5313
- {
5314
- "internalType": "uint256",
5315
- "name": "deadline",
5316
- "type": "uint256"
5317
- },
5318
- {
5319
- "internalType": "bytes",
5320
- "name": "signature",
5321
- "type": "bytes"
5322
- }
5323
- ],
5324
- "name": "repayBorrowWithPermit",
5325
- "outputs": [
5326
- {
5327
- "internalType": "uint256",
5328
- "name": "",
5329
- "type": "uint256"
5330
- }
5331
- ],
5332
- "stateMutability": "nonpayable",
5333
- "type": "function"
5334
- },
5335
- {
5336
- "inputs": [],
5337
- "name": "reserveFactorMantissa",
5338
- "outputs": [
5339
- {
5340
- "internalType": "uint256",
5341
- "name": "",
5342
- "type": "uint256"
5343
- }
5344
- ],
5345
- "stateMutability": "view",
5346
- "type": "function"
5347
- },
5348
- {
5349
- "inputs": [],
5350
- "name": "rewardVault",
5351
- "outputs": [
5352
- {
5353
- "internalType": "contract IRewardVault",
5354
- "name": "",
5355
- "type": "address"
5356
- }
5357
- ],
5358
- "stateMutability": "view",
5359
- "type": "function"
5360
- },
5361
- {
5362
- "inputs": [
5363
- {
5364
- "internalType": "address",
5365
- "name": "liquidator",
5366
- "type": "address"
5367
- },
5368
- {
5369
- "internalType": "address",
5370
- "name": "borrower",
5371
- "type": "address"
5372
- },
5373
- {
5374
- "internalType": "uint256",
5375
- "name": "seizeTokens",
5376
- "type": "uint256"
5377
- },
5378
- {
5379
- "internalType": "uint256",
5380
- "name": "seizeProfitTokens",
5381
- "type": "uint256"
5382
- },
5383
- {
5384
- "internalType": "bool",
5385
- "name": "isRedemption",
5386
- "type": "bool"
5387
- },
5388
- {
5389
- "internalType": "uint256",
5390
- "name": "redemptionRateMantissa",
5391
- "type": "uint256"
5392
- }
5393
- ],
5394
- "name": "seize",
5395
- "outputs": [
5396
- {
5397
- "internalType": "uint256",
5398
- "name": "",
5399
- "type": "uint256"
5400
- }
5401
- ],
5402
- "stateMutability": "nonpayable",
5403
- "type": "function"
5404
- },
5405
- {
5406
- "inputs": [],
5407
- "name": "supplyRatePerBlock",
5408
- "outputs": [
5409
- {
5410
- "internalType": "uint256",
5411
- "name": "",
5412
- "type": "uint256"
5413
- }
5414
- ],
5415
- "stateMutability": "view",
5416
- "type": "function"
5417
- },
5418
- {
5419
- "inputs": [
5420
- {
5421
- "internalType": "contract IEIP20NonStandard",
5422
- "name": "token",
5423
- "type": "address"
5424
- }
5425
- ],
5426
- "name": "sweepToken",
5427
- "outputs": [],
5428
- "stateMutability": "nonpayable",
5429
- "type": "function"
5430
- },
5431
- {
5432
- "inputs": [],
5433
- "name": "symbol",
5434
- "outputs": [
5435
- {
5436
- "internalType": "string",
5437
- "name": "",
5438
- "type": "string"
5439
- }
5440
- ],
5441
- "stateMutability": "view",
5442
- "type": "function"
5443
- },
5444
- {
5445
- "inputs": [],
5446
- "name": "totalBorrows",
5447
- "outputs": [
5448
- {
5449
- "internalType": "uint256",
5450
- "name": "",
5451
- "type": "uint256"
5452
- }
5453
- ],
5454
- "stateMutability": "view",
5455
- "type": "function"
5456
- },
5457
- {
5458
- "inputs": [],
5459
- "name": "totalBorrowsCurrent",
5460
- "outputs": [
5461
- {
5462
- "internalType": "uint256",
5463
- "name": "",
5464
- "type": "uint256"
5465
- }
5466
- ],
5467
- "stateMutability": "nonpayable",
5468
- "type": "function"
5469
- },
5470
- {
5471
- "inputs": [],
5472
- "name": "totalReserves",
5473
- "outputs": [
5474
- {
5475
- "internalType": "uint256",
5476
- "name": "",
5477
- "type": "uint256"
5478
- }
5479
- ],
5480
- "stateMutability": "view",
5481
- "type": "function"
5482
- },
5483
- {
5484
- "inputs": [],
5485
- "name": "totalSupply",
5486
- "outputs": [
5487
- {
5488
- "internalType": "uint256",
5489
- "name": "",
5490
- "type": "uint256"
5491
- }
5492
- ],
5493
- "stateMutability": "view",
5494
- "type": "function"
5495
- },
5496
- {
5497
- "inputs": [
5498
- {
5499
- "internalType": "address",
5500
- "name": "dst",
5501
- "type": "address"
5502
- },
5503
- {
5504
- "internalType": "uint256",
5505
- "name": "amount",
5506
- "type": "uint256"
5507
- }
5508
- ],
5509
- "name": "transfer",
5510
- "outputs": [
5511
- {
5512
- "internalType": "bool",
5513
- "name": "",
5514
- "type": "bool"
5515
- }
5516
- ],
5517
- "stateMutability": "nonpayable",
5518
- "type": "function"
5519
- },
5520
- {
5521
- "inputs": [
5522
- {
5523
- "internalType": "address",
5524
- "name": "src",
5525
- "type": "address"
5526
- },
5527
- {
5528
- "internalType": "address",
5529
- "name": "dst",
5530
- "type": "address"
5531
- },
5532
- {
5533
- "internalType": "uint256",
5534
- "name": "amount",
5535
- "type": "uint256"
5536
- }
5537
- ],
5538
- "name": "transferFrom",
5539
- "outputs": [
5540
- {
5541
- "internalType": "bool",
5542
- "name": "",
5543
- "type": "bool"
5544
- }
5545
- ],
5546
- "stateMutability": "nonpayable",
5547
- "type": "function"
5548
- },
5549
- {
5550
- "inputs": [],
5551
- "name": "underlying",
5552
- "outputs": [
5553
- {
5554
- "internalType": "address",
5555
- "name": "",
5556
- "type": "address"
5557
- }
5558
- ],
5559
- "stateMutability": "view",
5560
- "type": "function"
5561
- },
5562
- {
5563
- "inputs": [],
5564
- "name": "underlyingBalance",
5565
- "outputs": [
5566
- {
5567
- "internalType": "uint256",
5568
- "name": "",
5569
- "type": "uint256"
5570
- }
5571
- ],
5572
- "stateMutability": "view",
5573
- "type": "function"
5574
- }
5575
- ],
5576
- "IPOLErrors": [
5577
- {
5578
- "inputs": [],
5579
- "name": "AmountLessThanMinIncentiveRate",
5580
- "type": "error"
5581
- },
5582
- {
5583
- "inputs": [],
5584
- "name": "CannotRecoverIncentiveToken",
5585
- "type": "error"
5586
- },
5587
- {
5588
- "inputs": [],
5589
- "name": "CannotRecoverRewardToken",
5590
- "type": "error"
5591
- },
5592
- {
5593
- "inputs": [],
5594
- "name": "CannotRecoverStakingToken",
5595
- "type": "error"
5596
- },
5597
- {
5598
- "inputs": [],
5599
- "name": "DepositNotMultipleOfGwei",
5600
- "type": "error"
5601
- },
5602
- {
5603
- "inputs": [],
5604
- "name": "DepositValueTooHigh",
5605
- "type": "error"
5606
- },
5607
- {
5608
- "inputs": [],
5609
- "name": "DonateAmountLessThanPayoutAmount",
5610
- "type": "error"
5611
- },
5612
- {
5613
- "inputs": [],
5614
- "name": "IncentiveRateTooHigh",
5615
- "type": "error"
5616
- },
5617
- {
5618
- "inputs": [],
5619
- "name": "IndexOutOfRange",
5620
- "type": "error"
5621
- },
5622
- {
5623
- "inputs": [],
5624
- "name": "InsolventReward",
5625
- "type": "error"
5626
- },
5627
- {
5628
- "inputs": [],
5629
- "name": "InsufficientDelegateStake",
5630
- "type": "error"
5631
- },
5632
- {
5633
- "inputs": [],
5634
- "name": "InsufficientDeposit",
5635
- "type": "error"
5636
- },
5637
- {
5638
- "inputs": [],
5639
- "name": "InsufficientSelfStake",
5640
- "type": "error"
5641
- },
5642
- {
5643
- "inputs": [],
5644
- "name": "InsufficientStake",
5645
- "type": "error"
5646
- },
5647
- {
5648
- "inputs": [],
5649
- "name": "InvalidActivateBoostDelay",
5650
- "type": "error"
5651
- },
5652
- {
5653
- "inputs": [],
5654
- "name": "InvalidBaseRate",
5655
- "type": "error"
5656
- },
5657
- {
5658
- "inputs": [],
5659
- "name": "InvalidBoostMultiplier",
5660
- "type": "error"
5661
- },
5662
- {
5663
- "inputs": [],
5664
- "name": "InvalidCredentialsLength",
5665
- "type": "error"
5666
- },
5667
- {
5668
- "inputs": [],
5669
- "name": "InvalidDropBoostDelay",
5670
- "type": "error"
5671
- },
5672
- {
5673
- "inputs": [],
5674
- "name": "InvalidMaxIncentiveTokensCount",
5675
- "type": "error"
5676
- },
5677
- {
5678
- "inputs": [],
5679
- "name": "InvalidMinBoostedRewardRate",
5680
- "type": "error"
5681
- },
5682
- {
5683
- "inputs": [],
5684
- "name": "InvalidProof",
5685
- "type": "error"
5686
- },
5687
- {
5688
- "inputs": [],
5689
- "name": "InvalidPubKeyLength",
5690
- "type": "error"
5691
- },
5692
- {
5693
- "inputs": [],
5694
- "name": "InvalidRewardAllocationWeights",
5695
- "type": "error"
5696
- },
5697
- {
5698
- "inputs": [],
5699
- "name": "InvalidRewardConvexity",
5700
- "type": "error"
5701
- },
5702
- {
5703
- "inputs": [],
5704
- "name": "InvalidRewardRate",
5705
- "type": "error"
5706
- },
5707
- {
5708
- "inputs": [],
5709
- "name": "InvalidSignatureLength",
5710
- "type": "error"
5711
- },
5712
- {
5713
- "inputs": [],
5714
- "name": "InvalidStartBlock",
5715
- "type": "error"
5716
- },
5717
- {
5718
- "inputs": [],
5719
- "name": "InvalidateDefaultRewardAllocation",
5720
- "type": "error"
5721
- },
5722
- {
5723
- "inputs": [],
5724
- "name": "InvariantCheckFailed",
5725
- "type": "error"
5726
- },
5727
- {
5728
- "inputs": [],
5729
- "name": "MaxNumWeightsPerRewardAllocationIsZero",
5730
- "type": "error"
5731
- },
5732
- {
5733
- "inputs": [],
5734
- "name": "MinIncentiveRateIsZero",
5735
- "type": "error"
5736
- },
5737
- {
5738
- "inputs": [],
5739
- "name": "NotAContract",
5740
- "type": "error"
5741
- },
5742
- {
5743
- "inputs": [],
5744
- "name": "NotApprovedSender",
5745
- "type": "error"
5746
- },
5747
- {
5748
- "inputs": [],
5749
- "name": "NotBGT",
5750
- "type": "error"
5751
- },
5752
- {
5753
- "inputs": [],
5754
- "name": "NotBlockRewardController",
5755
- "type": "error"
5756
- },
5757
- {
5758
- "inputs": [],
5759
- "name": "NotDelegate",
5760
- "type": "error"
5761
- },
5762
- {
5763
- "inputs": [],
5764
- "name": "NotDistributor",
5765
- "type": "error"
5766
- },
5767
- {
5768
- "inputs": [],
5769
- "name": "NotEnoughBalance",
5770
- "type": "error"
5771
- },
5772
- {
5773
- "inputs": [],
5774
- "name": "NotEnoughBoostedBalance",
5775
- "type": "error"
5776
- },
5777
- {
5778
- "inputs": [],
5779
- "name": "NotEnoughTime",
5780
- "type": "error"
5781
- },
5782
- {
5783
- "inputs": [],
5784
- "name": "NotFactoryVault",
5785
- "type": "error"
5786
- },
5787
- {
5788
- "inputs": [],
5789
- "name": "NotFeeCollector",
5790
- "type": "error"
5791
- },
5792
- {
5793
- "inputs": [],
5794
- "name": "NotIncentiveManager",
5795
- "type": "error"
5796
- },
5797
- {
5798
- "inputs": [],
5799
- "name": "NotNewOperator",
5800
- "type": "error"
5801
- },
5802
- {
5803
- "inputs": [],
5804
- "name": "NotOperator",
5805
- "type": "error"
5806
- },
5807
- {
5808
- "inputs": [],
5809
- "name": "NotWhitelistedVault",
5810
- "type": "error"
5811
- },
5812
- {
5813
- "inputs": [],
5814
- "name": "OperatorAlreadySet",
5815
- "type": "error"
5816
- },
5817
- {
5818
- "inputs": [],
5819
- "name": "PayoutAmountIsZero",
5820
- "type": "error"
5821
- },
5822
- {
5823
- "inputs": [],
5824
- "name": "RewardAllocationAlreadyQueued",
5825
- "type": "error"
5826
- },
5827
- {
5828
- "inputs": [],
5829
- "name": "RewardAllocationBlockDelayTooLarge",
5830
- "type": "error"
5831
- },
5832
- {
5833
- "inputs": [],
5834
- "name": "RewardCycleNotEnded",
5835
- "type": "error"
5836
- },
5837
- {
5838
- "inputs": [],
5839
- "name": "RewardsDurationIsZero",
5840
- "type": "error"
5841
- },
5842
- {
5843
- "inputs": [],
5844
- "name": "StakeAmountIsZero",
5845
- "type": "error"
5846
- },
5847
- {
5848
- "inputs": [],
5849
- "name": "TimestampAlreadyProcessed",
5850
- "type": "error"
5851
- },
5852
- {
5853
- "inputs": [],
5854
- "name": "TokenAlreadyWhitelistedOrLimitReached",
5855
- "type": "error"
5856
- },
5857
- {
5858
- "inputs": [],
5859
- "name": "TokenNotWhitelisted",
5860
- "type": "error"
5861
- },
5862
- {
5863
- "inputs": [],
5864
- "name": "TooManyWeights",
5865
- "type": "error"
5866
- },
5867
- {
5868
- "inputs": [],
5869
- "name": "TotalSupplyOverflow",
5870
- "type": "error"
5871
- },
5872
- {
5873
- "inputs": [],
5874
- "name": "WithdrawAmountIsZero",
5875
- "type": "error"
5876
- },
5877
- {
5878
- "inputs": [],
5879
- "name": "ZeroAddress",
5880
- "type": "error"
5881
- },
5882
- {
5883
- "inputs": [],
5884
- "name": "ZeroOperatorOnFirstDeposit",
5885
- "type": "error"
5886
- },
5887
- {
5888
- "inputs": [],
5889
- "name": "ZeroPercentageWeight",
5890
- "type": "error"
5891
- }
5892
- ],
5893
- "IRewardVault": [
5894
- {
5895
- "inputs": [],
5896
- "name": "AmountLessThanMinIncentiveRate",
5897
- "type": "error"
5898
- },
5899
- {
5900
- "inputs": [],
5901
- "name": "CannotRecoverIncentiveToken",
5902
- "type": "error"
5903
- },
5904
- {
5905
- "inputs": [],
5906
- "name": "CannotRecoverRewardToken",
5907
- "type": "error"
5908
- },
5909
- {
5910
- "inputs": [],
5911
- "name": "CannotRecoverStakingToken",
5912
- "type": "error"
5913
- },
5914
- {
5915
- "inputs": [],
5916
- "name": "DepositNotMultipleOfGwei",
5917
- "type": "error"
5918
- },
5919
- {
5920
- "inputs": [],
5921
- "name": "DepositValueTooHigh",
5922
- "type": "error"
5923
- },
5924
- {
5925
- "inputs": [],
5926
- "name": "DonateAmountLessThanPayoutAmount",
5927
- "type": "error"
5928
- },
5929
- {
5930
- "inputs": [],
5931
- "name": "IncentiveRateTooHigh",
5932
- "type": "error"
5933
- },
5934
- {
5935
- "inputs": [],
5936
- "name": "IndexOutOfRange",
5937
- "type": "error"
5938
- },
5939
- {
5940
- "inputs": [],
5941
- "name": "InsolventReward",
5942
- "type": "error"
5943
- },
5944
- {
5945
- "inputs": [],
5946
- "name": "InsufficientDelegateStake",
5947
- "type": "error"
5948
- },
5949
- {
5950
- "inputs": [],
5951
- "name": "InsufficientDeposit",
5952
- "type": "error"
5953
- },
5954
- {
5955
- "inputs": [],
5956
- "name": "InsufficientSelfStake",
5957
- "type": "error"
5958
- },
5959
- {
5960
- "inputs": [],
5961
- "name": "InsufficientStake",
5962
- "type": "error"
5963
- },
5964
- {
5965
- "inputs": [],
5966
- "name": "InvalidActivateBoostDelay",
5967
- "type": "error"
5968
- },
5969
- {
5970
- "inputs": [],
5971
- "name": "InvalidBaseRate",
5972
- "type": "error"
5973
- },
5974
- {
5975
- "inputs": [],
5976
- "name": "InvalidBoostMultiplier",
5977
- "type": "error"
5978
- },
5979
- {
5980
- "inputs": [],
5981
- "name": "InvalidCredentialsLength",
5982
- "type": "error"
5983
- },
5984
- {
5985
- "inputs": [],
5986
- "name": "InvalidDropBoostDelay",
5987
- "type": "error"
5988
- },
5989
- {
5990
- "inputs": [],
5991
- "name": "InvalidMaxIncentiveTokensCount",
5992
- "type": "error"
5993
- },
5994
- {
5995
- "inputs": [],
5996
- "name": "InvalidMinBoostedRewardRate",
5997
- "type": "error"
5998
- },
5999
- {
6000
- "inputs": [],
6001
- "name": "InvalidProof",
6002
- "type": "error"
6003
- },
6004
- {
6005
- "inputs": [],
6006
- "name": "InvalidPubKeyLength",
6007
- "type": "error"
6008
- },
6009
- {
6010
- "inputs": [],
6011
- "name": "InvalidRewardAllocationWeights",
6012
- "type": "error"
6013
- },
6014
- {
6015
- "inputs": [],
6016
- "name": "InvalidRewardConvexity",
6017
- "type": "error"
6018
- },
6019
- {
6020
- "inputs": [],
6021
- "name": "InvalidRewardRate",
6022
- "type": "error"
6023
- },
6024
- {
6025
- "inputs": [],
6026
- "name": "InvalidSignatureLength",
6027
- "type": "error"
6028
- },
6029
- {
6030
- "inputs": [],
6031
- "name": "InvalidStartBlock",
6032
- "type": "error"
6033
- },
6034
- {
6035
- "inputs": [],
6036
- "name": "InvalidateDefaultRewardAllocation",
6037
- "type": "error"
6038
- },
6039
- {
6040
- "inputs": [],
6041
- "name": "InvariantCheckFailed",
6042
- "type": "error"
6043
- },
6044
- {
6045
- "inputs": [],
6046
- "name": "MaxNumWeightsPerRewardAllocationIsZero",
6047
- "type": "error"
6048
- },
6049
- {
6050
- "inputs": [],
6051
- "name": "MinIncentiveRateIsZero",
6052
- "type": "error"
6053
- },
6054
- {
6055
- "inputs": [],
6056
- "name": "NotAContract",
6057
- "type": "error"
6058
- },
6059
- {
6060
- "inputs": [],
6061
- "name": "NotApprovedSender",
6062
- "type": "error"
6063
- },
6064
- {
6065
- "inputs": [],
6066
- "name": "NotBGT",
6067
- "type": "error"
6068
- },
6069
- {
6070
- "inputs": [],
6071
- "name": "NotBlockRewardController",
6072
- "type": "error"
6073
- },
6074
- {
6075
- "inputs": [],
6076
- "name": "NotDelegate",
6077
- "type": "error"
6078
- },
6079
- {
6080
- "inputs": [],
6081
- "name": "NotDistributor",
6082
- "type": "error"
6083
- },
6084
- {
6085
- "inputs": [],
6086
- "name": "NotEnoughBalance",
6087
- "type": "error"
6088
- },
6089
- {
6090
- "inputs": [],
6091
- "name": "NotEnoughBoostedBalance",
6092
- "type": "error"
6093
- },
6094
- {
6095
- "inputs": [],
6096
- "name": "NotEnoughTime",
6097
- "type": "error"
6098
- },
6099
- {
6100
- "inputs": [],
6101
- "name": "NotFactoryVault",
6102
- "type": "error"
6103
- },
6104
- {
6105
- "inputs": [],
6106
- "name": "NotFeeCollector",
6107
- "type": "error"
6108
- },
6109
- {
6110
- "inputs": [],
6111
- "name": "NotIncentiveManager",
6112
- "type": "error"
6113
- },
6114
- {
6115
- "inputs": [],
6116
- "name": "NotNewOperator",
6117
- "type": "error"
6118
- },
6119
- {
6120
- "inputs": [],
6121
- "name": "NotOperator",
6122
- "type": "error"
6123
- },
6124
- {
6125
- "inputs": [],
6126
- "name": "NotWhitelistedVault",
6127
- "type": "error"
6128
- },
6129
- {
6130
- "inputs": [],
6131
- "name": "OperatorAlreadySet",
6132
- "type": "error"
6133
- },
6134
- {
6135
- "inputs": [],
6136
- "name": "PayoutAmountIsZero",
6137
- "type": "error"
6138
- },
6139
- {
6140
- "inputs": [],
6141
- "name": "RewardAllocationAlreadyQueued",
6142
- "type": "error"
6143
- },
6144
- {
6145
- "inputs": [],
6146
- "name": "RewardAllocationBlockDelayTooLarge",
6147
- "type": "error"
6148
- },
6149
- {
6150
- "inputs": [],
6151
- "name": "RewardCycleNotEnded",
6152
- "type": "error"
6153
- },
6154
- {
6155
- "inputs": [],
6156
- "name": "RewardsDurationIsZero",
6157
- "type": "error"
6158
- },
6159
- {
6160
- "inputs": [],
6161
- "name": "StakeAmountIsZero",
6162
- "type": "error"
6163
- },
6164
- {
6165
- "inputs": [],
6166
- "name": "TimestampAlreadyProcessed",
6167
- "type": "error"
6168
- },
6169
- {
6170
- "inputs": [],
6171
- "name": "TokenAlreadyWhitelistedOrLimitReached",
6172
- "type": "error"
6173
- },
6174
- {
6175
- "inputs": [],
6176
- "name": "TokenNotWhitelisted",
6177
- "type": "error"
6178
- },
6179
- {
6180
- "inputs": [],
6181
- "name": "TooManyWeights",
6182
- "type": "error"
6183
- },
6184
- {
6185
- "inputs": [],
6186
- "name": "TotalSupplyOverflow",
6187
- "type": "error"
6188
- },
6189
- {
6190
- "inputs": [],
6191
- "name": "WithdrawAmountIsZero",
6192
- "type": "error"
6193
- },
6194
- {
6195
- "inputs": [],
6196
- "name": "ZeroAddress",
6197
- "type": "error"
6198
- },
6199
- {
6200
- "inputs": [],
6201
- "name": "ZeroOperatorOnFirstDeposit",
6202
- "type": "error"
6203
- },
6204
- {
6205
- "inputs": [],
6206
- "name": "ZeroPercentageWeight",
6207
- "type": "error"
6208
- },
6209
- {
6210
- "anonymous": false,
6211
- "inputs": [
6212
- {
6213
- "indexed": true,
6214
- "internalType": "address",
6215
- "name": "account",
6216
- "type": "address"
6217
- },
6218
- {
6219
- "indexed": true,
6220
- "internalType": "address",
6221
- "name": "delegate",
6222
- "type": "address"
6223
- },
6224
- {
6225
- "indexed": false,
6226
- "internalType": "uint256",
6227
- "name": "amount",
6228
- "type": "uint256"
6229
- }
6230
- ],
6231
- "name": "DelegateStaked",
6232
- "type": "event"
6233
- },
6234
- {
6235
- "anonymous": false,
6236
- "inputs": [
6237
- {
6238
- "indexed": true,
6239
- "internalType": "address",
6240
- "name": "account",
6241
- "type": "address"
6242
- },
6243
- {
6244
- "indexed": true,
6245
- "internalType": "address",
6246
- "name": "delegate",
6247
- "type": "address"
6248
- },
6249
- {
6250
- "indexed": false,
6251
- "internalType": "uint256",
6252
- "name": "amount",
6253
- "type": "uint256"
6254
- }
6255
- ],
6256
- "name": "DelegateWithdrawn",
6257
- "type": "event"
6258
- },
6259
- {
6260
- "anonymous": false,
6261
- "inputs": [
6262
- {
6263
- "indexed": true,
6264
- "internalType": "address",
6265
- "name": "distributor",
6266
- "type": "address"
6267
- }
6268
- ],
6269
- "name": "DistributorSet",
6270
- "type": "event"
6271
- },
6272
- {
6273
- "anonymous": false,
6274
- "inputs": [
6275
- {
6276
- "indexed": true,
6277
- "internalType": "address",
6278
- "name": "token",
6279
- "type": "address"
6280
- },
6281
- {
6282
- "indexed": false,
6283
- "internalType": "address",
6284
- "name": "sender",
6285
- "type": "address"
6286
- },
6287
- {
6288
- "indexed": false,
6289
- "internalType": "uint256",
6290
- "name": "amount",
6291
- "type": "uint256"
6292
- },
6293
- {
6294
- "indexed": false,
6295
- "internalType": "uint256",
6296
- "name": "incentiveRate",
6297
- "type": "uint256"
6298
- }
6299
- ],
6300
- "name": "IncentiveAdded",
6301
- "type": "event"
6302
- },
6303
- {
6304
- "anonymous": false,
6305
- "inputs": [
6306
- {
6307
- "indexed": true,
6308
- "internalType": "address",
6309
- "name": "token",
6310
- "type": "address"
6311
- },
6312
- {
6313
- "indexed": false,
6314
- "internalType": "address",
6315
- "name": "newManager",
6316
- "type": "address"
6317
- },
6318
- {
6319
- "indexed": false,
6320
- "internalType": "address",
6321
- "name": "oldManager",
6322
- "type": "address"
6323
- }
6324
- ],
6325
- "name": "IncentiveManagerChanged",
6326
- "type": "event"
6327
- },
6328
- {
6329
- "anonymous": false,
6330
- "inputs": [
6331
- {
6332
- "indexed": true,
6333
- "internalType": "address",
6334
- "name": "token",
6335
- "type": "address"
6336
- }
6337
- ],
6338
- "name": "IncentiveTokenRemoved",
6339
- "type": "event"
6340
- },
6341
- {
6342
- "anonymous": false,
6343
- "inputs": [
6344
- {
6345
- "indexed": true,
6346
- "internalType": "address",
6347
- "name": "token",
6348
- "type": "address"
6349
- },
6350
- {
6351
- "indexed": false,
6352
- "internalType": "uint256",
6353
- "name": "minIncentiveRate",
6354
- "type": "uint256"
6355
- },
6356
- {
6357
- "indexed": false,
6358
- "internalType": "address",
6359
- "name": "manager",
6360
- "type": "address"
6361
- }
6362
- ],
6363
- "name": "IncentiveTokenWhitelisted",
6364
- "type": "event"
6365
- },
6366
- {
6367
- "anonymous": false,
6368
- "inputs": [
6369
- {
6370
- "indexed": true,
6371
- "internalType": "bytes",
6372
- "name": "pubkey",
6373
- "type": "bytes"
6374
- },
6375
- {
6376
- "indexed": true,
6377
- "internalType": "address",
6378
- "name": "token",
6379
- "type": "address"
6380
- },
6381
- {
6382
- "indexed": false,
6383
- "internalType": "uint256",
6384
- "name": "bgtEmitted",
6385
- "type": "uint256"
6386
- },
6387
- {
6388
- "indexed": false,
6389
- "internalType": "uint256",
6390
- "name": "amount",
6391
- "type": "uint256"
6392
- }
6393
- ],
6394
- "name": "IncentivesProcessFailed",
6395
- "type": "event"
6396
- },
6397
- {
6398
- "anonymous": false,
6399
- "inputs": [
6400
- {
6401
- "indexed": true,
6402
- "internalType": "bytes",
6403
- "name": "pubkey",
6404
- "type": "bytes"
6405
- },
6406
- {
6407
- "indexed": true,
6408
- "internalType": "address",
6409
- "name": "token",
6410
- "type": "address"
6411
- },
6412
- {
6413
- "indexed": false,
6414
- "internalType": "uint256",
6415
- "name": "bgtEmitted",
6416
- "type": "uint256"
6417
- },
6418
- {
6419
- "indexed": false,
6420
- "internalType": "uint256",
6421
- "name": "amount",
6422
- "type": "uint256"
6423
- }
6424
- ],
6425
- "name": "IncentivesProcessed",
6426
- "type": "event"
6427
- },
6428
- {
6429
- "anonymous": false,
6430
- "inputs": [
6431
- {
6432
- "indexed": false,
6433
- "internalType": "uint8",
6434
- "name": "maxIncentiveTokensCount",
6435
- "type": "uint8"
6436
- }
6437
- ],
6438
- "name": "MaxIncentiveTokensCountUpdated",
6439
- "type": "event"
6440
- },
6441
- {
6442
- "anonymous": false,
6443
- "inputs": [
6444
- {
6445
- "indexed": false,
6446
- "internalType": "address",
6447
- "name": "account",
6448
- "type": "address"
6449
- },
6450
- {
6451
- "indexed": false,
6452
- "internalType": "address",
6453
- "name": "operator",
6454
- "type": "address"
6455
- }
6456
- ],
6457
- "name": "OperatorSet",
6458
- "type": "event"
6459
- },
6460
- {
6461
- "anonymous": false,
6462
- "inputs": [
6463
- {
6464
- "indexed": false,
6465
- "internalType": "address",
6466
- "name": "token",
6467
- "type": "address"
6468
- },
6469
- {
6470
- "indexed": false,
6471
- "internalType": "uint256",
6472
- "name": "amount",
6473
- "type": "uint256"
6474
- }
6475
- ],
6476
- "name": "Recovered",
6477
- "type": "event"
6478
- },
6479
- {
6480
- "anonymous": false,
6481
- "inputs": [
6482
- {
6483
- "indexed": false,
6484
- "internalType": "uint256",
6485
- "name": "reward",
6486
- "type": "uint256"
6487
- }
6488
- ],
6489
- "name": "RewardAdded",
6490
- "type": "event"
6491
- },
6492
- {
6493
- "anonymous": false,
6494
- "inputs": [
6495
- {
6496
- "indexed": true,
6497
- "internalType": "address",
6498
- "name": "account",
6499
- "type": "address"
6500
- },
6501
- {
6502
- "indexed": false,
6503
- "internalType": "address",
6504
- "name": "to",
6505
- "type": "address"
6506
- },
6507
- {
6508
- "indexed": false,
6509
- "internalType": "uint256",
6510
- "name": "reward",
6511
- "type": "uint256"
6512
- }
6513
- ],
6514
- "name": "RewardPaid",
6515
- "type": "event"
6516
- },
6517
- {
6518
- "anonymous": false,
6519
- "inputs": [
6520
- {
6521
- "indexed": false,
6522
- "internalType": "uint256",
6523
- "name": "newDuration",
6524
- "type": "uint256"
6525
- }
6526
- ],
6527
- "name": "RewardsDurationUpdated",
6528
- "type": "event"
6529
- },
6530
- {
6531
- "anonymous": false,
6532
- "inputs": [
6533
- {
6534
- "indexed": true,
6535
- "internalType": "address",
6536
- "name": "account",
6537
- "type": "address"
6538
- },
6539
- {
6540
- "indexed": false,
6541
- "internalType": "uint256",
6542
- "name": "amount",
6543
- "type": "uint256"
6544
- }
6545
- ],
6546
- "name": "Staked",
6547
- "type": "event"
6548
- },
6549
- {
6550
- "anonymous": false,
6551
- "inputs": [
6552
- {
6553
- "indexed": true,
6554
- "internalType": "address",
6555
- "name": "account",
6556
- "type": "address"
6557
- },
6558
- {
6559
- "indexed": false,
6560
- "internalType": "uint256",
6561
- "name": "amount",
6562
- "type": "uint256"
6563
- }
6564
- ],
6565
- "name": "Withdrawn",
6566
- "type": "event"
6567
- },
6568
- {
6569
- "inputs": [
6570
- {
6571
- "internalType": "address",
6572
- "name": "token",
6573
- "type": "address"
6574
- },
6575
- {
6576
- "internalType": "uint256",
6577
- "name": "amount",
6578
- "type": "uint256"
6579
- },
6580
- {
6581
- "internalType": "uint256",
6582
- "name": "incentiveRate",
6583
- "type": "uint256"
6584
- }
6585
- ],
6586
- "name": "addIncentive",
6587
- "outputs": [],
6588
- "stateMutability": "nonpayable",
6589
- "type": "function"
6590
- },
6591
- {
6592
- "inputs": [
6593
- {
6594
- "internalType": "address",
6595
- "name": "account",
6596
- "type": "address"
6597
- }
6598
- ],
6599
- "name": "balanceOf",
6600
- "outputs": [
6601
- {
6602
- "internalType": "uint256",
6603
- "name": "",
6604
- "type": "uint256"
6605
- }
6606
- ],
6607
- "stateMutability": "view",
6608
- "type": "function"
6609
- },
6610
- {
6611
- "inputs": [
6612
- {
6613
- "internalType": "address",
6614
- "name": "account",
6615
- "type": "address"
6616
- },
6617
- {
6618
- "internalType": "uint256",
6619
- "name": "amount",
6620
- "type": "uint256"
6621
- }
6622
- ],
6623
- "name": "delegateStake",
6624
- "outputs": [],
6625
- "stateMutability": "nonpayable",
6626
- "type": "function"
6627
- },
6628
- {
6629
- "inputs": [
6630
- {
6631
- "internalType": "address",
6632
- "name": "account",
6633
- "type": "address"
6634
- },
6635
- {
6636
- "internalType": "uint256",
6637
- "name": "amount",
6638
- "type": "uint256"
6639
- }
6640
- ],
6641
- "name": "delegateWithdraw",
6642
- "outputs": [],
6643
- "stateMutability": "nonpayable",
6644
- "type": "function"
6645
- },
6646
- {
6647
- "inputs": [],
6648
- "name": "distributor",
6649
- "outputs": [
6650
- {
6651
- "internalType": "address",
6652
- "name": "",
6653
- "type": "address"
6654
- }
6655
- ],
6656
- "stateMutability": "view",
6657
- "type": "function"
6658
- },
6659
- {
6660
- "inputs": [
6661
- {
6662
- "internalType": "address",
6663
- "name": "account",
6664
- "type": "address"
6665
- }
6666
- ],
6667
- "name": "earned",
6668
- "outputs": [
6669
- {
6670
- "internalType": "uint256",
6671
- "name": "",
6672
- "type": "uint256"
6673
- }
6674
- ],
6675
- "stateMutability": "view",
6676
- "type": "function"
6677
- },
6678
- {
6679
- "inputs": [
6680
- {
6681
- "internalType": "address",
6682
- "name": "recipient",
6683
- "type": "address"
6684
- }
6685
- ],
6686
- "name": "exit",
6687
- "outputs": [],
6688
- "stateMutability": "nonpayable",
6689
- "type": "function"
6690
- },
6691
- {
6692
- "inputs": [
6693
- {
6694
- "internalType": "address",
6695
- "name": "account",
6696
- "type": "address"
6697
- },
6698
- {
6699
- "internalType": "address",
6700
- "name": "delegate",
6701
- "type": "address"
6702
- }
6703
- ],
6704
- "name": "getDelegateStake",
6705
- "outputs": [
6706
- {
6707
- "internalType": "uint256",
6708
- "name": "",
6709
- "type": "uint256"
6710
- }
6711
- ],
6712
- "stateMutability": "view",
6713
- "type": "function"
6714
- },
6715
- {
6716
- "inputs": [
6717
- {
6718
- "internalType": "address",
6719
- "name": "account",
6720
- "type": "address"
6721
- },
6722
- {
6723
- "internalType": "address",
6724
- "name": "recipient",
6725
- "type": "address"
6726
- }
6727
- ],
6728
- "name": "getReward",
6729
- "outputs": [
6730
- {
6731
- "internalType": "uint256",
6732
- "name": "",
6733
- "type": "uint256"
6734
- }
6735
- ],
6736
- "stateMutability": "nonpayable",
6737
- "type": "function"
6738
- },
6739
- {
6740
- "inputs": [],
6741
- "name": "getRewardForDuration",
6742
- "outputs": [
6743
- {
6744
- "internalType": "uint256",
6745
- "name": "",
6746
- "type": "uint256"
6747
- }
6748
- ],
6749
- "stateMutability": "view",
6750
- "type": "function"
6751
- },
6752
- {
6753
- "inputs": [
6754
- {
6755
- "internalType": "address",
6756
- "name": "account",
6757
- "type": "address"
6758
- }
6759
- ],
6760
- "name": "getTotalDelegateStaked",
6761
- "outputs": [
6762
- {
6763
- "internalType": "uint256",
6764
- "name": "",
6765
- "type": "uint256"
6766
- }
6767
- ],
6768
- "stateMutability": "view",
6769
- "type": "function"
6770
- },
6771
- {
6772
- "inputs": [],
6773
- "name": "getWhitelistedTokens",
6774
- "outputs": [
6775
- {
6776
- "internalType": "address[]",
6777
- "name": "",
6778
- "type": "address[]"
6779
- }
6780
- ],
6781
- "stateMutability": "view",
6782
- "type": "function"
6783
- },
6784
- {
6785
- "inputs": [],
6786
- "name": "getWhitelistedTokensCount",
6787
- "outputs": [
6788
- {
6789
- "internalType": "uint256",
6790
- "name": "",
6791
- "type": "uint256"
6792
- }
6793
- ],
6794
- "stateMutability": "view",
6795
- "type": "function"
6796
- },
6797
- {
6798
- "inputs": [
6799
- {
6800
- "internalType": "address",
6801
- "name": "_berachef",
6802
- "type": "address"
6803
- },
6804
- {
6805
- "internalType": "address",
6806
- "name": "_bgt",
6807
- "type": "address"
6808
- },
6809
- {
6810
- "internalType": "address",
6811
- "name": "_distributor",
6812
- "type": "address"
6813
- },
6814
- {
6815
- "internalType": "address",
6816
- "name": "_stakingToken",
6817
- "type": "address"
6818
- }
6819
- ],
6820
- "name": "initialize",
6821
- "outputs": [],
6822
- "stateMutability": "nonpayable",
6823
- "type": "function"
6824
- },
6825
- {
6826
- "inputs": [],
6827
- "name": "lastTimeRewardApplicable",
6828
- "outputs": [
6829
- {
6830
- "internalType": "uint256",
6831
- "name": "",
6832
- "type": "uint256"
6833
- }
6834
- ],
6835
- "stateMutability": "view",
6836
- "type": "function"
6837
- },
6838
- {
6839
- "inputs": [],
6840
- "name": "lastUpdateTime",
6841
- "outputs": [
6842
- {
6843
- "internalType": "uint256",
6844
- "name": "",
6845
- "type": "uint256"
6846
- }
6847
- ],
6848
- "stateMutability": "view",
6849
- "type": "function"
6850
- },
6851
- {
6852
- "inputs": [
6853
- {
6854
- "internalType": "bytes",
6855
- "name": "pubkey",
6856
- "type": "bytes"
6857
- },
6858
- {
6859
- "internalType": "uint256",
6860
- "name": "reward",
6861
- "type": "uint256"
6862
- }
6863
- ],
6864
- "name": "notifyRewardAmount",
6865
- "outputs": [],
6866
- "stateMutability": "nonpayable",
6867
- "type": "function"
6868
- },
6869
- {
6870
- "inputs": [
6871
- {
6872
- "internalType": "address",
6873
- "name": "account",
6874
- "type": "address"
6875
- }
6876
- ],
6877
- "name": "operator",
6878
- "outputs": [
6879
- {
6880
- "internalType": "address",
6881
- "name": "",
6882
- "type": "address"
6883
- }
6884
- ],
6885
- "stateMutability": "view",
6886
- "type": "function"
6887
- },
6888
- {
6889
- "inputs": [],
6890
- "name": "pause",
6891
- "outputs": [],
6892
- "stateMutability": "nonpayable",
6893
- "type": "function"
6894
- },
6895
- {
6896
- "inputs": [],
6897
- "name": "periodFinish",
6898
- "outputs": [
6899
- {
6900
- "internalType": "uint256",
6901
- "name": "",
6902
- "type": "uint256"
6903
- }
6904
- ],
6905
- "stateMutability": "view",
6906
- "type": "function"
6907
- },
6908
- {
6909
- "inputs": [
6910
- {
6911
- "internalType": "address",
6912
- "name": "tokenAddress",
6913
- "type": "address"
6914
- },
6915
- {
6916
- "internalType": "uint256",
6917
- "name": "tokenAmount",
6918
- "type": "uint256"
6919
- }
6920
- ],
6921
- "name": "recoverERC20",
6922
- "outputs": [],
6923
- "stateMutability": "nonpayable",
6924
- "type": "function"
6925
- },
6926
- {
6927
- "inputs": [
6928
- {
6929
- "internalType": "address",
6930
- "name": "token",
6931
- "type": "address"
6932
- }
6933
- ],
6934
- "name": "removeIncentiveToken",
6935
- "outputs": [],
6936
- "stateMutability": "nonpayable",
6937
- "type": "function"
6938
- },
6939
- {
6940
- "inputs": [],
6941
- "name": "rewardPerToken",
6942
- "outputs": [
6943
- {
6944
- "internalType": "uint256",
6945
- "name": "",
6946
- "type": "uint256"
6947
- }
6948
- ],
6949
- "stateMutability": "view",
6950
- "type": "function"
6951
- },
6952
- {
6953
- "inputs": [],
6954
- "name": "rewardPerTokenStored",
6955
- "outputs": [
6956
- {
6957
- "internalType": "uint256",
6958
- "name": "",
6959
- "type": "uint256"
6960
- }
6961
- ],
6962
- "stateMutability": "view",
6963
- "type": "function"
6964
- },
6965
- {
6966
- "inputs": [],
6967
- "name": "rewardRate",
6968
- "outputs": [
6969
- {
6970
- "internalType": "uint256",
6971
- "name": "",
6972
- "type": "uint256"
6973
- }
6974
- ],
6975
- "stateMutability": "view",
6976
- "type": "function"
6977
- },
6978
- {
6979
- "inputs": [
6980
- {
6981
- "internalType": "address",
6982
- "name": "account",
6983
- "type": "address"
6984
- }
6985
- ],
6986
- "name": "rewards",
6987
- "outputs": [
6988
- {
6989
- "internalType": "uint256",
6990
- "name": "",
6991
- "type": "uint256"
6992
- }
6993
- ],
6994
- "stateMutability": "view",
6995
- "type": "function"
6996
- },
6997
- {
6998
- "inputs": [],
6999
- "name": "rewardsDuration",
7000
- "outputs": [
7001
- {
7002
- "internalType": "uint256",
7003
- "name": "",
7004
- "type": "uint256"
7005
- }
7006
- ],
7007
- "stateMutability": "view",
7008
- "type": "function"
7009
- },
7010
- {
7011
- "inputs": [
7012
- {
7013
- "internalType": "address",
7014
- "name": "_rewardDistribution",
7015
- "type": "address"
7016
- }
7017
- ],
7018
- "name": "setDistributor",
7019
- "outputs": [],
7020
- "stateMutability": "nonpayable",
7021
- "type": "function"
7022
- },
7023
- {
7024
- "inputs": [
7025
- {
7026
- "internalType": "uint8",
7027
- "name": "_maxIncentiveTokensCount",
7028
- "type": "uint8"
7029
- }
7030
- ],
7031
- "name": "setMaxIncentiveTokensCount",
7032
- "outputs": [],
7033
- "stateMutability": "nonpayable",
7034
- "type": "function"
7035
- },
7036
- {
7037
- "inputs": [
7038
- {
7039
- "internalType": "address",
7040
- "name": "_operator",
7041
- "type": "address"
7042
- }
7043
- ],
7044
- "name": "setOperator",
7045
- "outputs": [],
7046
- "stateMutability": "nonpayable",
7047
- "type": "function"
7048
- },
7049
- {
7050
- "inputs": [
7051
- {
7052
- "internalType": "uint256",
7053
- "name": "_rewardsDuration",
7054
- "type": "uint256"
7055
- }
7056
- ],
7057
- "name": "setRewardsDuration",
7058
- "outputs": [],
7059
- "stateMutability": "nonpayable",
7060
- "type": "function"
7061
- },
7062
- {
7063
- "inputs": [
7064
- {
7065
- "internalType": "uint256",
7066
- "name": "amount",
7067
- "type": "uint256"
7068
- }
7069
- ],
7070
- "name": "stake",
7071
- "outputs": [],
7072
- "stateMutability": "nonpayable",
7073
- "type": "function"
7074
- },
7075
- {
7076
- "inputs": [],
7077
- "name": "totalSupply",
7078
- "outputs": [
7079
- {
7080
- "internalType": "uint256",
7081
- "name": "",
7082
- "type": "uint256"
7083
- }
7084
- ],
7085
- "stateMutability": "view",
7086
- "type": "function"
7087
- },
7088
- {
7089
- "inputs": [],
7090
- "name": "undistributedRewards",
7091
- "outputs": [
7092
- {
7093
- "internalType": "uint256",
7094
- "name": "",
7095
- "type": "uint256"
7096
- }
7097
- ],
7098
- "stateMutability": "view",
7099
- "type": "function"
7100
- },
7101
- {
7102
- "inputs": [],
7103
- "name": "unpause",
7104
- "outputs": [],
7105
- "stateMutability": "nonpayable",
7106
- "type": "function"
7107
- },
7108
- {
7109
- "inputs": [
7110
- {
7111
- "internalType": "address",
7112
- "name": "token",
7113
- "type": "address"
7114
- },
7115
- {
7116
- "internalType": "address",
7117
- "name": "newManager",
7118
- "type": "address"
7119
- }
7120
- ],
7121
- "name": "updateIncentiveManager",
7122
- "outputs": [],
7123
- "stateMutability": "nonpayable",
7124
- "type": "function"
7125
- },
7126
- {
7127
- "inputs": [
7128
- {
7129
- "internalType": "address",
7130
- "name": "account",
7131
- "type": "address"
7132
- }
7133
- ],
7134
- "name": "userRewardPerTokenPaid",
7135
- "outputs": [
7136
- {
7137
- "internalType": "uint256",
7138
- "name": "",
7139
- "type": "uint256"
7140
- }
7141
- ],
7142
- "stateMutability": "view",
7143
- "type": "function"
7144
- },
7145
- {
7146
- "inputs": [
7147
- {
7148
- "internalType": "address",
7149
- "name": "token",
7150
- "type": "address"
7151
- },
7152
- {
7153
- "internalType": "uint256",
7154
- "name": "minIncentiveRate",
7155
- "type": "uint256"
7156
- },
7157
- {
7158
- "internalType": "address",
7159
- "name": "manager",
7160
- "type": "address"
7161
- }
7162
- ],
7163
- "name": "whitelistIncentiveToken",
7164
- "outputs": [],
7165
- "stateMutability": "nonpayable",
7166
- "type": "function"
7167
- },
7168
- {
7169
- "inputs": [
7170
- {
7171
- "internalType": "uint256",
7172
- "name": "amount",
7173
- "type": "uint256"
7174
- }
7175
- ],
7176
- "name": "withdraw",
7177
- "outputs": [],
7178
- "stateMutability": "nonpayable",
7179
- "type": "function"
7180
- }
7181
- ],
7182
3414
  "CErc20": [
7183
3415
  {
7184
3416
  "inputs": [],
@@ -8737,13 +4969,6 @@ exports.abi = {
8737
4969
  "stateMutability": "nonpayable",
8738
4970
  "type": "function"
8739
4971
  },
8740
- {
8741
- "inputs": [],
8742
- "name": "initializeVersion2",
8743
- "outputs": [],
8744
- "stateMutability": "nonpayable",
8745
- "type": "function"
8746
- },
8747
4972
  {
8748
4973
  "inputs": [],
8749
4974
  "name": "interestRateModel",
@@ -15508,13 +11733,6 @@ exports.abi = {
15508
11733
  "stateMutability": "nonpayable",
15509
11734
  "type": "function"
15510
11735
  },
15511
- {
15512
- "inputs": [],
15513
- "name": "initializeVersion2",
15514
- "outputs": [],
15515
- "stateMutability": "nonpayable",
15516
- "type": "function"
15517
- },
15518
11736
  {
15519
11737
  "inputs": [],
15520
11738
  "name": "interestRateModel",
@@ -41734,375 +37952,6 @@ exports.abi = {
41734
37952
  "type": "function"
41735
37953
  }
41736
37954
  ],
41737
- "IStakingRewards": [
41738
- {
41739
- "inputs": [],
41740
- "name": "InsolventReward",
41741
- "type": "error"
41742
- },
41743
- {
41744
- "inputs": [],
41745
- "name": "InsufficientStake",
41746
- "type": "error"
41747
- },
41748
- {
41749
- "inputs": [],
41750
- "name": "RewardCycleNotEnded",
41751
- "type": "error"
41752
- },
41753
- {
41754
- "inputs": [],
41755
- "name": "RewardsDurationIsZero",
41756
- "type": "error"
41757
- },
41758
- {
41759
- "inputs": [],
41760
- "name": "StakeAmountIsZero",
41761
- "type": "error"
41762
- },
41763
- {
41764
- "inputs": [],
41765
- "name": "TotalSupplyOverflow",
41766
- "type": "error"
41767
- },
41768
- {
41769
- "inputs": [],
41770
- "name": "WithdrawAmountIsZero",
41771
- "type": "error"
41772
- },
41773
- {
41774
- "anonymous": false,
41775
- "inputs": [
41776
- {
41777
- "indexed": false,
41778
- "internalType": "uint256",
41779
- "name": "reward",
41780
- "type": "uint256"
41781
- }
41782
- ],
41783
- "name": "RewardAdded",
41784
- "type": "event"
41785
- },
41786
- {
41787
- "anonymous": false,
41788
- "inputs": [
41789
- {
41790
- "indexed": true,
41791
- "internalType": "address",
41792
- "name": "account",
41793
- "type": "address"
41794
- },
41795
- {
41796
- "indexed": false,
41797
- "internalType": "address",
41798
- "name": "to",
41799
- "type": "address"
41800
- },
41801
- {
41802
- "indexed": false,
41803
- "internalType": "uint256",
41804
- "name": "reward",
41805
- "type": "uint256"
41806
- }
41807
- ],
41808
- "name": "RewardPaid",
41809
- "type": "event"
41810
- },
41811
- {
41812
- "anonymous": false,
41813
- "inputs": [
41814
- {
41815
- "indexed": false,
41816
- "internalType": "uint256",
41817
- "name": "newDuration",
41818
- "type": "uint256"
41819
- }
41820
- ],
41821
- "name": "RewardsDurationUpdated",
41822
- "type": "event"
41823
- },
41824
- {
41825
- "anonymous": false,
41826
- "inputs": [
41827
- {
41828
- "indexed": true,
41829
- "internalType": "address",
41830
- "name": "account",
41831
- "type": "address"
41832
- },
41833
- {
41834
- "indexed": false,
41835
- "internalType": "uint256",
41836
- "name": "amount",
41837
- "type": "uint256"
41838
- }
41839
- ],
41840
- "name": "Staked",
41841
- "type": "event"
41842
- },
41843
- {
41844
- "anonymous": false,
41845
- "inputs": [
41846
- {
41847
- "indexed": true,
41848
- "internalType": "address",
41849
- "name": "account",
41850
- "type": "address"
41851
- },
41852
- {
41853
- "indexed": false,
41854
- "internalType": "uint256",
41855
- "name": "amount",
41856
- "type": "uint256"
41857
- }
41858
- ],
41859
- "name": "Withdrawn",
41860
- "type": "event"
41861
- },
41862
- {
41863
- "inputs": [
41864
- {
41865
- "internalType": "address",
41866
- "name": "account",
41867
- "type": "address"
41868
- }
41869
- ],
41870
- "name": "balanceOf",
41871
- "outputs": [
41872
- {
41873
- "internalType": "uint256",
41874
- "name": "",
41875
- "type": "uint256"
41876
- }
41877
- ],
41878
- "stateMutability": "view",
41879
- "type": "function"
41880
- },
41881
- {
41882
- "inputs": [
41883
- {
41884
- "internalType": "address",
41885
- "name": "account",
41886
- "type": "address"
41887
- }
41888
- ],
41889
- "name": "earned",
41890
- "outputs": [
41891
- {
41892
- "internalType": "uint256",
41893
- "name": "",
41894
- "type": "uint256"
41895
- }
41896
- ],
41897
- "stateMutability": "view",
41898
- "type": "function"
41899
- },
41900
- {
41901
- "inputs": [],
41902
- "name": "getRewardForDuration",
41903
- "outputs": [
41904
- {
41905
- "internalType": "uint256",
41906
- "name": "",
41907
- "type": "uint256"
41908
- }
41909
- ],
41910
- "stateMutability": "view",
41911
- "type": "function"
41912
- },
41913
- {
41914
- "inputs": [],
41915
- "name": "lastTimeRewardApplicable",
41916
- "outputs": [
41917
- {
41918
- "internalType": "uint256",
41919
- "name": "",
41920
- "type": "uint256"
41921
- }
41922
- ],
41923
- "stateMutability": "view",
41924
- "type": "function"
41925
- },
41926
- {
41927
- "inputs": [],
41928
- "name": "lastUpdateTime",
41929
- "outputs": [
41930
- {
41931
- "internalType": "uint256",
41932
- "name": "",
41933
- "type": "uint256"
41934
- }
41935
- ],
41936
- "stateMutability": "view",
41937
- "type": "function"
41938
- },
41939
- {
41940
- "inputs": [],
41941
- "name": "periodFinish",
41942
- "outputs": [
41943
- {
41944
- "internalType": "uint256",
41945
- "name": "",
41946
- "type": "uint256"
41947
- }
41948
- ],
41949
- "stateMutability": "view",
41950
- "type": "function"
41951
- },
41952
- {
41953
- "inputs": [],
41954
- "name": "rewardPerToken",
41955
- "outputs": [
41956
- {
41957
- "internalType": "uint256",
41958
- "name": "",
41959
- "type": "uint256"
41960
- }
41961
- ],
41962
- "stateMutability": "view",
41963
- "type": "function"
41964
- },
41965
- {
41966
- "inputs": [],
41967
- "name": "rewardPerTokenStored",
41968
- "outputs": [
41969
- {
41970
- "internalType": "uint256",
41971
- "name": "",
41972
- "type": "uint256"
41973
- }
41974
- ],
41975
- "stateMutability": "view",
41976
- "type": "function"
41977
- },
41978
- {
41979
- "inputs": [],
41980
- "name": "rewardRate",
41981
- "outputs": [
41982
- {
41983
- "internalType": "uint256",
41984
- "name": "",
41985
- "type": "uint256"
41986
- }
41987
- ],
41988
- "stateMutability": "view",
41989
- "type": "function"
41990
- },
41991
- {
41992
- "inputs": [
41993
- {
41994
- "internalType": "address",
41995
- "name": "account",
41996
- "type": "address"
41997
- }
41998
- ],
41999
- "name": "rewards",
42000
- "outputs": [
42001
- {
42002
- "internalType": "uint256",
42003
- "name": "",
42004
- "type": "uint256"
42005
- }
42006
- ],
42007
- "stateMutability": "view",
42008
- "type": "function"
42009
- },
42010
- {
42011
- "inputs": [],
42012
- "name": "rewardsDuration",
42013
- "outputs": [
42014
- {
42015
- "internalType": "uint256",
42016
- "name": "",
42017
- "type": "uint256"
42018
- }
42019
- ],
42020
- "stateMutability": "view",
42021
- "type": "function"
42022
- },
42023
- {
42024
- "inputs": [],
42025
- "name": "totalSupply",
42026
- "outputs": [
42027
- {
42028
- "internalType": "uint256",
42029
- "name": "",
42030
- "type": "uint256"
42031
- }
42032
- ],
42033
- "stateMutability": "view",
42034
- "type": "function"
42035
- },
42036
- {
42037
- "inputs": [],
42038
- "name": "undistributedRewards",
42039
- "outputs": [
42040
- {
42041
- "internalType": "uint256",
42042
- "name": "",
42043
- "type": "uint256"
42044
- }
42045
- ],
42046
- "stateMutability": "view",
42047
- "type": "function"
42048
- },
42049
- {
42050
- "inputs": [
42051
- {
42052
- "internalType": "address",
42053
- "name": "account",
42054
- "type": "address"
42055
- }
42056
- ],
42057
- "name": "userRewardPerTokenPaid",
42058
- "outputs": [
42059
- {
42060
- "internalType": "uint256",
42061
- "name": "",
42062
- "type": "uint256"
42063
- }
42064
- ],
42065
- "stateMutability": "view",
42066
- "type": "function"
42067
- }
42068
- ],
42069
- "IStakingRewardsErrors": [
42070
- {
42071
- "inputs": [],
42072
- "name": "InsolventReward",
42073
- "type": "error"
42074
- },
42075
- {
42076
- "inputs": [],
42077
- "name": "InsufficientStake",
42078
- "type": "error"
42079
- },
42080
- {
42081
- "inputs": [],
42082
- "name": "RewardCycleNotEnded",
42083
- "type": "error"
42084
- },
42085
- {
42086
- "inputs": [],
42087
- "name": "RewardsDurationIsZero",
42088
- "type": "error"
42089
- },
42090
- {
42091
- "inputs": [],
42092
- "name": "StakeAmountIsZero",
42093
- "type": "error"
42094
- },
42095
- {
42096
- "inputs": [],
42097
- "name": "TotalSupplyOverflow",
42098
- "type": "error"
42099
- },
42100
- {
42101
- "inputs": [],
42102
- "name": "WithdrawAmountIsZero",
42103
- "type": "error"
42104
- }
42105
- ],
42106
37955
  "ComptrollerV1": [
42107
37956
  {
42108
37957
  "inputs": [],