@raac/rpc 1.1.0-beta.2 → 1.1.0-beta.3

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 (243) hide show
  1. package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.dbg.json +4 -0
  2. package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1688 -1688
  3. package/dist/artifacts/core/collectors/Treasury.sol/Treasury.dbg.json +4 -0
  4. package/dist/artifacts/core/collectors/Treasury.sol/Treasury.json +481 -0
  5. package/dist/artifacts/core/governance/boost/BoostController.sol/BoostController.dbg.json +4 -0
  6. package/dist/artifacts/core/governance/boost/BoostController.sol/BoostController.json +905 -0
  7. package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.dbg.json +4 -0
  8. package/dist/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +1398 -0
  9. package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.dbg.json +4 -0
  10. package/dist/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +1435 -0
  11. package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.dbg.json +4 -0
  12. package/dist/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +1471 -0
  13. package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.dbg.json +4 -0
  14. package/dist/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +1471 -0
  15. package/dist/artifacts/core/governance/proposals/Governance.sol/Governance.dbg.json +4 -0
  16. package/dist/artifacts/core/governance/proposals/Governance.sol/Governance.json +1242 -0
  17. package/dist/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.dbg.json +4 -0
  18. package/dist/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.json +988 -0
  19. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.dbg.json +4 -0
  20. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1418 -1418
  21. package/dist/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.dbg.json +4 -0
  22. package/dist/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.json +860 -0
  23. package/dist/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.dbg.json +4 -0
  24. package/dist/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.json +264 -0
  25. package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.dbg.json +4 -0
  26. package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +247 -247
  27. package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.dbg.json +4 -0
  28. package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +335 -0
  29. package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.dbg.json +4 -0
  30. package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +350 -0
  31. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.dbg.json +4 -0
  32. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +2699 -2699
  33. package/dist/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.dbg.json +4 -0
  34. package/dist/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.json +485 -0
  35. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.dbg.json +4 -0
  36. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1107 -1107
  37. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.dbg.json +4 -0
  38. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +259 -259
  39. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.dbg.json +4 -0
  40. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +856 -856
  41. package/dist/artifacts/core/tokens/DebtToken.sol/DebtToken.dbg.json +4 -0
  42. package/dist/artifacts/core/tokens/DebtToken.sol/DebtToken.json +953 -0
  43. package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.dbg.json +4 -0
  44. package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +710 -710
  45. package/dist/artifacts/core/tokens/LPToken.sol/LPToken.dbg.json +4 -0
  46. package/dist/artifacts/core/tokens/LPToken.sol/LPToken.json +507 -0
  47. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.dbg.json +4 -0
  48. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +1391 -1391
  49. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.dbg.json +4 -0
  50. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +796 -796
  51. package/dist/artifacts/core/tokens/RToken.sol/RToken.dbg.json +4 -0
  52. package/dist/artifacts/core/tokens/RToken.sol/RToken.json +1084 -1084
  53. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.dbg.json +4 -0
  54. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1555 -1555
  55. package/dist/artifacts/interfaces/IERC20.sol/IERC20.dbg.json +4 -0
  56. package/dist/artifacts/interfaces/IERC20.sol/IERC20.json +194 -0
  57. package/dist/artifacts/interfaces/IHousePrices.sol/IHousePrices.dbg.json +4 -0
  58. package/dist/artifacts/interfaces/IHousePrices.sol/IHousePrices.json +30 -0
  59. package/dist/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.dbg.json +4 -0
  60. package/dist/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.json +86 -0
  61. package/dist/artifacts/interfaces/IPoolManager.sol/IPoolManager.dbg.json +4 -0
  62. package/dist/artifacts/interfaces/IPoolManager.sol/IPoolManager.json +57 -0
  63. package/dist/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.dbg.json +4 -0
  64. package/dist/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.json +246 -0
  65. package/dist/artifacts/interfaces/IUSDC.sol/IUSDC.dbg.json +4 -0
  66. package/dist/artifacts/interfaces/IUSDC.sol/IUSDC.json +194 -0
  67. package/dist/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.dbg.json +4 -0
  68. package/dist/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.json +100 -0
  69. package/dist/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.dbg.json +4 -0
  70. package/dist/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.json +45 -0
  71. package/dist/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.dbg.json +4 -0
  72. package/dist/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.json +922 -0
  73. package/dist/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.dbg.json +4 -0
  74. package/dist/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.json +214 -0
  75. package/dist/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.dbg.json +4 -0
  76. package/dist/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.json +378 -0
  77. package/dist/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.dbg.json +4 -0
  78. package/dist/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.json +394 -0
  79. package/dist/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.dbg.json +4 -0
  80. package/dist/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.json +577 -0
  81. package/dist/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.dbg.json +4 -0
  82. package/dist/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.json +1134 -0
  83. package/dist/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.dbg.json +4 -0
  84. package/dist/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.json +612 -0
  85. package/dist/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.dbg.json +4 -0
  86. package/dist/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.json +542 -0
  87. package/dist/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.dbg.json +4 -0
  88. package/dist/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.json +358 -0
  89. package/dist/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.dbg.json +4 -0
  90. package/dist/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.json +102 -0
  91. package/dist/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.dbg.json +4 -0
  92. package/dist/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.json +193 -0
  93. package/dist/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.dbg.json +4 -0
  94. package/dist/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.json +310 -0
  95. package/dist/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.dbg.json +4 -0
  96. package/dist/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.json +1538 -0
  97. package/dist/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.dbg.json +4 -0
  98. package/dist/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.json +622 -0
  99. package/dist/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.dbg.json +4 -0
  100. package/dist/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.json +333 -0
  101. package/dist/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.dbg.json +4 -0
  102. package/dist/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.json +507 -0
  103. package/dist/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.dbg.json +4 -0
  104. package/dist/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.json +299 -0
  105. package/dist/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.dbg.json +4 -0
  106. package/dist/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.json +816 -0
  107. package/dist/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.dbg.json +4 -0
  108. package/dist/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.json +567 -0
  109. package/dist/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.dbg.json +4 -0
  110. package/dist/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.json +641 -0
  111. package/dist/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.dbg.json +4 -0
  112. package/dist/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.json +560 -0
  113. package/dist/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.dbg.json +4 -0
  114. package/dist/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.json +185 -0
  115. package/dist/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.dbg.json +4 -0
  116. package/dist/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.json +250 -0
  117. package/dist/artifacts/interfaces/zeno/IAuction.sol/IAuction.dbg.json +4 -0
  118. package/dist/artifacts/interfaces/zeno/IAuction.sol/IAuction.json +162 -0
  119. package/dist/artifacts/interfaces/zeno/IZENO.sol/IZENO.dbg.json +4 -0
  120. package/dist/artifacts/interfaces/zeno/IZENO.sol/IZENO.json +321 -0
  121. package/dist/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.dbg.json +4 -0
  122. package/dist/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.json +51 -0
  123. package/dist/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.dbg.json +4 -0
  124. package/dist/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.json +69 -0
  125. package/dist/artifacts/libraries/governance/LockManager.sol/LockManager.dbg.json +4 -0
  126. package/dist/artifacts/libraries/governance/LockManager.sol/LockManager.json +123 -0
  127. package/dist/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.dbg.json +4 -0
  128. package/dist/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.json +70 -0
  129. package/dist/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.dbg.json +4 -0
  130. package/dist/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.json +102 -0
  131. package/dist/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.dbg.json +4 -0
  132. package/dist/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.json +76 -0
  133. package/dist/artifacts/libraries/math/PercentageMath.sol/PercentageMath.dbg.json +4 -0
  134. package/dist/artifacts/libraries/math/PercentageMath.sol/PercentageMath.json +10 -0
  135. package/dist/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.dbg.json +4 -0
  136. package/dist/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.json +142 -0
  137. package/dist/artifacts/libraries/math/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  138. package/dist/artifacts/libraries/math/WadRayMath.sol/WadRayMath.json +10 -0
  139. package/dist/artifacts/libraries/pools/DataTypes.sol/DataTypes.dbg.json +4 -0
  140. package/dist/artifacts/libraries/pools/DataTypes.sol/DataTypes.json +10 -0
  141. package/dist/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.dbg.json +4 -0
  142. package/dist/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.json +153 -0
  143. package/dist/artifacts/libraries/utils/StringUtils.sol/StringUtils.dbg.json +4 -0
  144. package/dist/artifacts/libraries/utils/StringUtils.sol/StringUtils.json +16 -0
  145. package/dist/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.dbg.json +4 -0
  146. package/dist/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.json +255 -0
  147. package/dist/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.dbg.json +4 -0
  148. package/dist/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.json +1522 -0
  149. package/dist/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.dbg.json +4 -0
  150. package/dist/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.json +49 -0
  151. package/dist/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.dbg.json +4 -0
  152. package/dist/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.json +112 -0
  153. package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.dbg.json +4 -0
  154. package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.json +50 -0
  155. package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.dbg.json +4 -0
  156. package/dist/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.json +69 -0
  157. package/dist/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.dbg.json +4 -0
  158. package/dist/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.json +63 -0
  159. package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.dbg.json +4 -0
  160. package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +772 -772
  161. package/dist/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.dbg.json +4 -0
  162. package/dist/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.json +358 -0
  163. package/dist/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.dbg.json +4 -0
  164. package/dist/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.json +373 -0
  165. package/dist/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.dbg.json +4 -0
  166. package/dist/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.json +241 -0
  167. package/dist/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.dbg.json +4 -0
  168. package/dist/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.json +288 -0
  169. package/dist/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.dbg.json +4 -0
  170. package/dist/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.json +1560 -0
  171. package/dist/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.dbg.json +4 -0
  172. package/dist/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.json +1019 -0
  173. package/dist/artifacts/mocks/core/pools/MockPool.sol/MockPool.dbg.json +4 -0
  174. package/dist/artifacts/mocks/core/pools/MockPool.sol/MockPool.json +93 -0
  175. package/dist/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.dbg.json +4 -0
  176. package/dist/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.json +126 -0
  177. package/dist/artifacts/mocks/core/primitives/MockContract.sol/MockContract.dbg.json +4 -0
  178. package/dist/artifacts/mocks/core/primitives/MockContract.sol/MockContract.json +37 -0
  179. package/dist/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.dbg.json +4 -0
  180. package/dist/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.json +52 -0
  181. package/dist/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.dbg.json +4 -0
  182. package/dist/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.json +73 -0
  183. package/dist/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.dbg.json +4 -0
  184. package/dist/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.json +67 -0
  185. package/dist/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.dbg.json +4 -0
  186. package/dist/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.json +353 -0
  187. package/dist/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.dbg.json +4 -0
  188. package/dist/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.json +491 -0
  189. package/dist/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.dbg.json +4 -0
  190. package/dist/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.json +568 -0
  191. package/dist/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.dbg.json +4 -0
  192. package/dist/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.json +515 -0
  193. package/dist/artifacts/mocks/core/tokens/MockToken.sol/MockToken.dbg.json +4 -0
  194. package/dist/artifacts/mocks/core/tokens/MockToken.sol/MockToken.json +426 -0
  195. package/dist/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.dbg.json +4 -0
  196. package/dist/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.json +348 -0
  197. package/dist/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.dbg.json +4 -0
  198. package/dist/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.json +905 -0
  199. package/dist/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.dbg.json +4 -0
  200. package/dist/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.json +422 -0
  201. package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.dbg.json +4 -0
  202. package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +433 -433
  203. package/dist/artifacts/mocks/core/vaults/MockVault.sol/MockVault.dbg.json +4 -0
  204. package/dist/artifacts/mocks/core/vaults/MockVault.sol/MockVault.json +672 -0
  205. package/dist/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.dbg.json +4 -0
  206. package/dist/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.json +35 -0
  207. package/dist/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.dbg.json +4 -0
  208. package/dist/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.json +431 -0
  209. package/dist/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.dbg.json +4 -0
  210. package/dist/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.json +144 -0
  211. package/dist/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.dbg.json +4 -0
  212. package/dist/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.json +237 -0
  213. package/dist/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.dbg.json +4 -0
  214. package/dist/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.json +221 -0
  215. package/dist/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.dbg.json +4 -0
  216. package/dist/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.json +95 -0
  217. package/dist/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.dbg.json +4 -0
  218. package/dist/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.json +442 -0
  219. package/dist/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.dbg.json +4 -0
  220. package/dist/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.json +309 -0
  221. package/dist/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.dbg.json +4 -0
  222. package/dist/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.json +188 -0
  223. package/dist/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.dbg.json +4 -0
  224. package/dist/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.json +339 -0
  225. package/dist/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.dbg.json +4 -0
  226. package/dist/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.json +52 -0
  227. package/dist/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.dbg.json +4 -0
  228. package/dist/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.json +52 -0
  229. package/dist/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.dbg.json +4 -0
  230. package/dist/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.json +88 -0
  231. package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.dbg.json +4 -0
  232. package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.json +24 -0
  233. package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.dbg.json +4 -0
  234. package/dist/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.json +129 -0
  235. package/dist/artifacts/zeno/Auction.sol/Auction.dbg.json +4 -0
  236. package/dist/artifacts/zeno/Auction.sol/Auction.json +356 -356
  237. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.dbg.json +4 -0
  238. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +282 -282
  239. package/dist/artifacts/zeno/Zeno.sol/ZENO.dbg.json +4 -0
  240. package/dist/artifacts/zeno/Zeno.sol/Zeno.json +582 -582
  241. package/dist/artifacts/zeno/ZenoFactory.sol/ZENOFactory.dbg.json +4 -0
  242. package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +252 -252
  243. package/package.json +2 -2
@@ -0,0 +1,1398 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BaseGauge",
4
+ "sourceName": "contracts/core/governance/gauges/BaseGauge.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "AccessControlBadConfirmation",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "account",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "bytes32",
20
+ "name": "neededRole",
21
+ "type": "bytes32"
22
+ }
23
+ ],
24
+ "name": "AccessControlUnauthorizedAccount",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "target",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "AddressEmptyCode",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "account",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "AddressInsufficientBalance",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ClaimTooFrequent",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "EnforcedPause",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ExcessiveRewardRate",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "ExpectedPause",
67
+ "type": "error"
68
+ },
69
+ {
70
+ "inputs": [],
71
+ "name": "FailedInnerCall",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "InsufficientBalance",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "InsufficientRewardBalance",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "InvalidAmount",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "InvalidWeight",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "NoVotingPower",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "PeriodNotElapsed",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "PeriodNotElapsed",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ReentrancyGuardReentrantCall",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "RewardCapExceeded",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "token",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "SafeERC20FailedOperation",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "UnauthorizedCaller",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "ValueOverflow",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "ZeroDuration",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "ZeroRewardRate",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "ZeroWeight",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "anonymous": false,
157
+ "inputs": [
158
+ {
159
+ "indexed": true,
160
+ "internalType": "address",
161
+ "name": "user",
162
+ "type": "address"
163
+ },
164
+ {
165
+ "indexed": false,
166
+ "internalType": "uint256",
167
+ "name": "timestamp",
168
+ "type": "uint256"
169
+ }
170
+ ],
171
+ "name": "Checkpoint",
172
+ "type": "event"
173
+ },
174
+ {
175
+ "anonymous": false,
176
+ "inputs": [
177
+ {
178
+ "indexed": true,
179
+ "internalType": "address",
180
+ "name": "user",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "indexed": false,
185
+ "internalType": "uint256",
186
+ "name": "direction",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "indexed": false,
191
+ "internalType": "uint256",
192
+ "name": "votingPower",
193
+ "type": "uint256"
194
+ }
195
+ ],
196
+ "name": "DirectionVoted",
197
+ "type": "event"
198
+ },
199
+ {
200
+ "anonymous": false,
201
+ "inputs": [
202
+ {
203
+ "indexed": false,
204
+ "internalType": "uint256",
205
+ "name": "newCap",
206
+ "type": "uint256"
207
+ }
208
+ ],
209
+ "name": "DistributionCapUpdated",
210
+ "type": "event"
211
+ },
212
+ {
213
+ "anonymous": false,
214
+ "inputs": [
215
+ {
216
+ "indexed": false,
217
+ "internalType": "uint256",
218
+ "name": "emission",
219
+ "type": "uint256"
220
+ }
221
+ ],
222
+ "name": "EmissionUpdated",
223
+ "type": "event"
224
+ },
225
+ {
226
+ "anonymous": false,
227
+ "inputs": [
228
+ {
229
+ "indexed": false,
230
+ "internalType": "address",
231
+ "name": "account",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "name": "Paused",
236
+ "type": "event"
237
+ },
238
+ {
239
+ "anonymous": false,
240
+ "inputs": [
241
+ {
242
+ "indexed": false,
243
+ "internalType": "uint256",
244
+ "name": "startTime",
245
+ "type": "uint256"
246
+ },
247
+ {
248
+ "indexed": false,
249
+ "internalType": "uint256",
250
+ "name": "duration",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "indexed": false,
255
+ "internalType": "uint256",
256
+ "name": "initialValue",
257
+ "type": "uint256"
258
+ }
259
+ ],
260
+ "name": "PeriodCreated",
261
+ "type": "event"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "uint256",
269
+ "name": "timestamp",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "indexed": false,
274
+ "internalType": "uint256",
275
+ "name": "avgWeight",
276
+ "type": "uint256"
277
+ }
278
+ ],
279
+ "name": "PeriodUpdated",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [
285
+ {
286
+ "indexed": false,
287
+ "internalType": "uint256",
288
+ "name": "amount",
289
+ "type": "uint256"
290
+ }
291
+ ],
292
+ "name": "RewardNotified",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": true,
300
+ "internalType": "address",
301
+ "name": "user",
302
+ "type": "address"
303
+ },
304
+ {
305
+ "indexed": false,
306
+ "internalType": "uint256",
307
+ "name": "reward",
308
+ "type": "uint256"
309
+ }
310
+ ],
311
+ "name": "RewardPaid",
312
+ "type": "event"
313
+ },
314
+ {
315
+ "anonymous": false,
316
+ "inputs": [
317
+ {
318
+ "indexed": true,
319
+ "internalType": "address",
320
+ "name": "user",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "uint256",
326
+ "name": "reward",
327
+ "type": "uint256"
328
+ }
329
+ ],
330
+ "name": "RewardUpdated",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": true,
338
+ "internalType": "bytes32",
339
+ "name": "role",
340
+ "type": "bytes32"
341
+ },
342
+ {
343
+ "indexed": true,
344
+ "internalType": "bytes32",
345
+ "name": "previousAdminRole",
346
+ "type": "bytes32"
347
+ },
348
+ {
349
+ "indexed": true,
350
+ "internalType": "bytes32",
351
+ "name": "newAdminRole",
352
+ "type": "bytes32"
353
+ }
354
+ ],
355
+ "name": "RoleAdminChanged",
356
+ "type": "event"
357
+ },
358
+ {
359
+ "anonymous": false,
360
+ "inputs": [
361
+ {
362
+ "indexed": true,
363
+ "internalType": "bytes32",
364
+ "name": "role",
365
+ "type": "bytes32"
366
+ },
367
+ {
368
+ "indexed": true,
369
+ "internalType": "address",
370
+ "name": "account",
371
+ "type": "address"
372
+ },
373
+ {
374
+ "indexed": true,
375
+ "internalType": "address",
376
+ "name": "sender",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "RoleGranted",
381
+ "type": "event"
382
+ },
383
+ {
384
+ "anonymous": false,
385
+ "inputs": [
386
+ {
387
+ "indexed": true,
388
+ "internalType": "bytes32",
389
+ "name": "role",
390
+ "type": "bytes32"
391
+ },
392
+ {
393
+ "indexed": true,
394
+ "internalType": "address",
395
+ "name": "account",
396
+ "type": "address"
397
+ },
398
+ {
399
+ "indexed": true,
400
+ "internalType": "address",
401
+ "name": "sender",
402
+ "type": "address"
403
+ }
404
+ ],
405
+ "name": "RoleRevoked",
406
+ "type": "event"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": true,
413
+ "internalType": "address",
414
+ "name": "user",
415
+ "type": "address"
416
+ },
417
+ {
418
+ "indexed": false,
419
+ "internalType": "uint256",
420
+ "name": "amount",
421
+ "type": "uint256"
422
+ }
423
+ ],
424
+ "name": "Staked",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "anonymous": false,
429
+ "inputs": [
430
+ {
431
+ "indexed": false,
432
+ "internalType": "address",
433
+ "name": "account",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "Unpaused",
438
+ "type": "event"
439
+ },
440
+ {
441
+ "anonymous": false,
442
+ "inputs": [
443
+ {
444
+ "indexed": true,
445
+ "internalType": "address",
446
+ "name": "user",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "uint256",
452
+ "name": "amount",
453
+ "type": "uint256"
454
+ }
455
+ ],
456
+ "name": "Withdrawn",
457
+ "type": "event"
458
+ },
459
+ {
460
+ "inputs": [],
461
+ "name": "CONTROLLER_ROLE",
462
+ "outputs": [
463
+ {
464
+ "internalType": "bytes32",
465
+ "name": "",
466
+ "type": "bytes32"
467
+ }
468
+ ],
469
+ "stateMutability": "view",
470
+ "type": "function"
471
+ },
472
+ {
473
+ "inputs": [],
474
+ "name": "DEFAULT_ADMIN_ROLE",
475
+ "outputs": [
476
+ {
477
+ "internalType": "bytes32",
478
+ "name": "",
479
+ "type": "bytes32"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "EMERGENCY_ADMIN",
488
+ "outputs": [
489
+ {
490
+ "internalType": "bytes32",
491
+ "name": "",
492
+ "type": "bytes32"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "FEE_ADMIN",
501
+ "outputs": [
502
+ {
503
+ "internalType": "bytes32",
504
+ "name": "",
505
+ "type": "bytes32"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "MAX_REWARD_RATE",
514
+ "outputs": [
515
+ {
516
+ "internalType": "uint256",
517
+ "name": "",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "MAX_SLIPPAGE",
527
+ "outputs": [
528
+ {
529
+ "internalType": "uint256",
530
+ "name": "",
531
+ "type": "uint256"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "MIN_CLAIM_INTERVAL",
540
+ "outputs": [
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "",
544
+ "type": "uint256"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [],
552
+ "name": "WEIGHT_PRECISION",
553
+ "outputs": [
554
+ {
555
+ "internalType": "uint256",
556
+ "name": "",
557
+ "type": "uint256"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "address",
567
+ "name": "account",
568
+ "type": "address"
569
+ }
570
+ ],
571
+ "name": "balanceOf",
572
+ "outputs": [
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "",
576
+ "type": "uint256"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
580
+ "type": "function"
581
+ },
582
+ {
583
+ "inputs": [],
584
+ "name": "boostState",
585
+ "outputs": [
586
+ {
587
+ "components": [
588
+ {
589
+ "internalType": "uint256",
590
+ "name": "startTime",
591
+ "type": "uint256"
592
+ },
593
+ {
594
+ "internalType": "uint256",
595
+ "name": "endTime",
596
+ "type": "uint256"
597
+ },
598
+ {
599
+ "internalType": "uint256",
600
+ "name": "lastUpdateTime",
601
+ "type": "uint256"
602
+ },
603
+ {
604
+ "internalType": "uint256",
605
+ "name": "value",
606
+ "type": "uint256"
607
+ },
608
+ {
609
+ "internalType": "uint256",
610
+ "name": "weightedSum",
611
+ "type": "uint256"
612
+ },
613
+ {
614
+ "internalType": "uint256",
615
+ "name": "totalDuration",
616
+ "type": "uint256"
617
+ },
618
+ {
619
+ "internalType": "uint256",
620
+ "name": "weight",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "internalType": "struct TimeWeightedAverage.Period",
625
+ "name": "boostPeriod",
626
+ "type": "tuple"
627
+ },
628
+ {
629
+ "internalType": "uint256",
630
+ "name": "maxBoost",
631
+ "type": "uint256"
632
+ },
633
+ {
634
+ "internalType": "uint256",
635
+ "name": "minBoost",
636
+ "type": "uint256"
637
+ },
638
+ {
639
+ "internalType": "uint256",
640
+ "name": "boostWindow",
641
+ "type": "uint256"
642
+ },
643
+ {
644
+ "internalType": "uint256",
645
+ "name": "baseWeight",
646
+ "type": "uint256"
647
+ },
648
+ {
649
+ "internalType": "uint256",
650
+ "name": "votingPower",
651
+ "type": "uint256"
652
+ },
653
+ {
654
+ "internalType": "uint256",
655
+ "name": "totalWeight",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "totalVotingPower",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [],
669
+ "name": "checkpoint",
670
+ "outputs": [],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "controller",
677
+ "outputs": [
678
+ {
679
+ "internalType": "address",
680
+ "name": "",
681
+ "type": "address"
682
+ }
683
+ ],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [],
689
+ "name": "distributionCap",
690
+ "outputs": [
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "",
694
+ "type": "uint256"
695
+ }
696
+ ],
697
+ "stateMutability": "view",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "address",
704
+ "name": "account",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "earned",
709
+ "outputs": [
710
+ {
711
+ "internalType": "uint256",
712
+ "name": "",
713
+ "type": "uint256"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "token",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "uint256",
728
+ "name": "amount",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "name": "emergencyWithdraw",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [],
739
+ "name": "getCurrentPeriodStart",
740
+ "outputs": [
741
+ {
742
+ "internalType": "uint256",
743
+ "name": "",
744
+ "type": "uint256"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [],
752
+ "name": "getPeriodDuration",
753
+ "outputs": [
754
+ {
755
+ "internalType": "uint256",
756
+ "name": "",
757
+ "type": "uint256"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "getReward",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [],
772
+ "name": "getRewardPerToken",
773
+ "outputs": [
774
+ {
775
+ "internalType": "uint256",
776
+ "name": "",
777
+ "type": "uint256"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "bytes32",
787
+ "name": "role",
788
+ "type": "bytes32"
789
+ }
790
+ ],
791
+ "name": "getRoleAdmin",
792
+ "outputs": [
793
+ {
794
+ "internalType": "bytes32",
795
+ "name": "",
796
+ "type": "bytes32"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "getTimeWeightedWeight",
805
+ "outputs": [
806
+ {
807
+ "internalType": "uint256",
808
+ "name": "",
809
+ "type": "uint256"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [],
817
+ "name": "getTotalWeight",
818
+ "outputs": [
819
+ {
820
+ "internalType": "uint256",
821
+ "name": "",
822
+ "type": "uint256"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [
830
+ {
831
+ "internalType": "address",
832
+ "name": "account",
833
+ "type": "address"
834
+ }
835
+ ],
836
+ "name": "getUserWeight",
837
+ "outputs": [
838
+ {
839
+ "internalType": "uint256",
840
+ "name": "",
841
+ "type": "uint256"
842
+ }
843
+ ],
844
+ "stateMutability": "view",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "bytes32",
851
+ "name": "role",
852
+ "type": "bytes32"
853
+ },
854
+ {
855
+ "internalType": "address",
856
+ "name": "account",
857
+ "type": "address"
858
+ }
859
+ ],
860
+ "name": "grantRole",
861
+ "outputs": [],
862
+ "stateMutability": "nonpayable",
863
+ "type": "function"
864
+ },
865
+ {
866
+ "inputs": [
867
+ {
868
+ "internalType": "bytes32",
869
+ "name": "role",
870
+ "type": "bytes32"
871
+ },
872
+ {
873
+ "internalType": "address",
874
+ "name": "account",
875
+ "type": "address"
876
+ }
877
+ ],
878
+ "name": "hasRole",
879
+ "outputs": [
880
+ {
881
+ "internalType": "bool",
882
+ "name": "",
883
+ "type": "bool"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [
891
+ {
892
+ "internalType": "address",
893
+ "name": "",
894
+ "type": "address"
895
+ }
896
+ ],
897
+ "name": "lastClaimTime",
898
+ "outputs": [
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "",
902
+ "type": "uint256"
903
+ }
904
+ ],
905
+ "stateMutability": "view",
906
+ "type": "function"
907
+ },
908
+ {
909
+ "inputs": [],
910
+ "name": "lastTimeRewardApplicable",
911
+ "outputs": [
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "",
915
+ "type": "uint256"
916
+ }
917
+ ],
918
+ "stateMutability": "view",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [],
923
+ "name": "lastUpdateTime",
924
+ "outputs": [
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "",
928
+ "type": "uint256"
929
+ }
930
+ ],
931
+ "stateMutability": "view",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [
936
+ {
937
+ "internalType": "uint256",
938
+ "name": "amount",
939
+ "type": "uint256"
940
+ }
941
+ ],
942
+ "name": "notifyRewardAmount",
943
+ "outputs": [],
944
+ "stateMutability": "nonpayable",
945
+ "type": "function"
946
+ },
947
+ {
948
+ "inputs": [],
949
+ "name": "paused",
950
+ "outputs": [
951
+ {
952
+ "internalType": "bool",
953
+ "name": "",
954
+ "type": "bool"
955
+ }
956
+ ],
957
+ "stateMutability": "view",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "inputs": [],
962
+ "name": "periodFinish",
963
+ "outputs": [
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "",
967
+ "type": "uint256"
968
+ }
969
+ ],
970
+ "stateMutability": "view",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [],
975
+ "name": "periodState",
976
+ "outputs": [
977
+ {
978
+ "components": [
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "startTime",
982
+ "type": "uint256"
983
+ },
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "endTime",
987
+ "type": "uint256"
988
+ },
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "lastUpdateTime",
992
+ "type": "uint256"
993
+ },
994
+ {
995
+ "internalType": "uint256",
996
+ "name": "value",
997
+ "type": "uint256"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "weightedSum",
1002
+ "type": "uint256"
1003
+ },
1004
+ {
1005
+ "internalType": "uint256",
1006
+ "name": "totalDuration",
1007
+ "type": "uint256"
1008
+ },
1009
+ {
1010
+ "internalType": "uint256",
1011
+ "name": "weight",
1012
+ "type": "uint256"
1013
+ }
1014
+ ],
1015
+ "internalType": "struct TimeWeightedAverage.Period",
1016
+ "name": "votingPeriod",
1017
+ "type": "tuple"
1018
+ },
1019
+ {
1020
+ "internalType": "uint256",
1021
+ "name": "emission",
1022
+ "type": "uint256"
1023
+ },
1024
+ {
1025
+ "internalType": "uint256",
1026
+ "name": "distributed",
1027
+ "type": "uint256"
1028
+ },
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "periodStartTime",
1032
+ "type": "uint256"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "bytes32",
1042
+ "name": "role",
1043
+ "type": "bytes32"
1044
+ },
1045
+ {
1046
+ "internalType": "address",
1047
+ "name": "callerConfirmation",
1048
+ "type": "address"
1049
+ }
1050
+ ],
1051
+ "name": "renounceRole",
1052
+ "outputs": [],
1053
+ "stateMutability": "nonpayable",
1054
+ "type": "function"
1055
+ },
1056
+ {
1057
+ "inputs": [
1058
+ {
1059
+ "internalType": "bytes32",
1060
+ "name": "role",
1061
+ "type": "bytes32"
1062
+ },
1063
+ {
1064
+ "internalType": "address",
1065
+ "name": "account",
1066
+ "type": "address"
1067
+ }
1068
+ ],
1069
+ "name": "revokeRole",
1070
+ "outputs": [],
1071
+ "stateMutability": "nonpayable",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [],
1076
+ "name": "rewardPerTokenStored",
1077
+ "outputs": [
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "stateMutability": "view",
1085
+ "type": "function"
1086
+ },
1087
+ {
1088
+ "inputs": [],
1089
+ "name": "rewardRate",
1090
+ "outputs": [
1091
+ {
1092
+ "internalType": "uint256",
1093
+ "name": "",
1094
+ "type": "uint256"
1095
+ }
1096
+ ],
1097
+ "stateMutability": "view",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [],
1102
+ "name": "rewardToken",
1103
+ "outputs": [
1104
+ {
1105
+ "internalType": "contract IERC20",
1106
+ "name": "",
1107
+ "type": "address"
1108
+ }
1109
+ ],
1110
+ "stateMutability": "view",
1111
+ "type": "function"
1112
+ },
1113
+ {
1114
+ "inputs": [
1115
+ {
1116
+ "internalType": "uint256",
1117
+ "name": "_maxBoost",
1118
+ "type": "uint256"
1119
+ },
1120
+ {
1121
+ "internalType": "uint256",
1122
+ "name": "_minBoost",
1123
+ "type": "uint256"
1124
+ },
1125
+ {
1126
+ "internalType": "uint256",
1127
+ "name": "_boostWindow",
1128
+ "type": "uint256"
1129
+ }
1130
+ ],
1131
+ "name": "setBoostParameters",
1132
+ "outputs": [],
1133
+ "stateMutability": "nonpayable",
1134
+ "type": "function"
1135
+ },
1136
+ {
1137
+ "inputs": [
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "newCap",
1141
+ "type": "uint256"
1142
+ }
1143
+ ],
1144
+ "name": "setDistributionCap",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "internalType": "bool",
1153
+ "name": "paused",
1154
+ "type": "bool"
1155
+ }
1156
+ ],
1157
+ "name": "setEmergencyPaused",
1158
+ "outputs": [],
1159
+ "stateMutability": "nonpayable",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "emission",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "name": "setEmission",
1171
+ "outputs": [],
1172
+ "stateMutability": "nonpayable",
1173
+ "type": "function"
1174
+ },
1175
+ {
1176
+ "inputs": [
1177
+ {
1178
+ "internalType": "uint256",
1179
+ "name": "weight",
1180
+ "type": "uint256"
1181
+ }
1182
+ ],
1183
+ "name": "setInitialWeight",
1184
+ "outputs": [],
1185
+ "stateMutability": "nonpayable",
1186
+ "type": "function"
1187
+ },
1188
+ {
1189
+ "inputs": [
1190
+ {
1191
+ "internalType": "uint256",
1192
+ "name": "amount",
1193
+ "type": "uint256"
1194
+ }
1195
+ ],
1196
+ "name": "stake",
1197
+ "outputs": [],
1198
+ "stateMutability": "nonpayable",
1199
+ "type": "function"
1200
+ },
1201
+ {
1202
+ "inputs": [],
1203
+ "name": "stakingToken",
1204
+ "outputs": [
1205
+ {
1206
+ "internalType": "contract IERC20",
1207
+ "name": "",
1208
+ "type": "address"
1209
+ }
1210
+ ],
1211
+ "stateMutability": "view",
1212
+ "type": "function"
1213
+ },
1214
+ {
1215
+ "inputs": [
1216
+ {
1217
+ "internalType": "bytes4",
1218
+ "name": "interfaceId",
1219
+ "type": "bytes4"
1220
+ }
1221
+ ],
1222
+ "name": "supportsInterface",
1223
+ "outputs": [
1224
+ {
1225
+ "internalType": "bool",
1226
+ "name": "",
1227
+ "type": "bool"
1228
+ }
1229
+ ],
1230
+ "stateMutability": "view",
1231
+ "type": "function"
1232
+ },
1233
+ {
1234
+ "inputs": [],
1235
+ "name": "totalSupply",
1236
+ "outputs": [
1237
+ {
1238
+ "internalType": "uint256",
1239
+ "name": "",
1240
+ "type": "uint256"
1241
+ }
1242
+ ],
1243
+ "stateMutability": "view",
1244
+ "type": "function"
1245
+ },
1246
+ {
1247
+ "inputs": [],
1248
+ "name": "totalVotes",
1249
+ "outputs": [
1250
+ {
1251
+ "internalType": "uint256",
1252
+ "name": "",
1253
+ "type": "uint256"
1254
+ }
1255
+ ],
1256
+ "stateMutability": "view",
1257
+ "type": "function"
1258
+ },
1259
+ {
1260
+ "inputs": [],
1261
+ "name": "updatePeriod",
1262
+ "outputs": [],
1263
+ "stateMutability": "nonpayable",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [
1268
+ {
1269
+ "internalType": "address",
1270
+ "name": "",
1271
+ "type": "address"
1272
+ }
1273
+ ],
1274
+ "name": "userStates",
1275
+ "outputs": [
1276
+ {
1277
+ "internalType": "uint256",
1278
+ "name": "lastUpdateTime",
1279
+ "type": "uint256"
1280
+ },
1281
+ {
1282
+ "internalType": "uint256",
1283
+ "name": "rewardPerTokenPaid",
1284
+ "type": "uint256"
1285
+ },
1286
+ {
1287
+ "internalType": "uint256",
1288
+ "name": "rewards",
1289
+ "type": "uint256"
1290
+ }
1291
+ ],
1292
+ "stateMutability": "view",
1293
+ "type": "function"
1294
+ },
1295
+ {
1296
+ "inputs": [
1297
+ {
1298
+ "internalType": "address",
1299
+ "name": "",
1300
+ "type": "address"
1301
+ }
1302
+ ],
1303
+ "name": "userVotes",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "uint256",
1307
+ "name": "direction",
1308
+ "type": "uint256"
1309
+ },
1310
+ {
1311
+ "internalType": "uint256",
1312
+ "name": "weight",
1313
+ "type": "uint256"
1314
+ },
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "timestamp",
1318
+ "type": "uint256"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "view",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [
1326
+ {
1327
+ "internalType": "uint256",
1328
+ "name": "direction",
1329
+ "type": "uint256"
1330
+ }
1331
+ ],
1332
+ "name": "voteDirection",
1333
+ "outputs": [],
1334
+ "stateMutability": "nonpayable",
1335
+ "type": "function"
1336
+ },
1337
+ {
1338
+ "inputs": [],
1339
+ "name": "weightPeriod",
1340
+ "outputs": [
1341
+ {
1342
+ "internalType": "uint256",
1343
+ "name": "startTime",
1344
+ "type": "uint256"
1345
+ },
1346
+ {
1347
+ "internalType": "uint256",
1348
+ "name": "endTime",
1349
+ "type": "uint256"
1350
+ },
1351
+ {
1352
+ "internalType": "uint256",
1353
+ "name": "lastUpdateTime",
1354
+ "type": "uint256"
1355
+ },
1356
+ {
1357
+ "internalType": "uint256",
1358
+ "name": "value",
1359
+ "type": "uint256"
1360
+ },
1361
+ {
1362
+ "internalType": "uint256",
1363
+ "name": "weightedSum",
1364
+ "type": "uint256"
1365
+ },
1366
+ {
1367
+ "internalType": "uint256",
1368
+ "name": "totalDuration",
1369
+ "type": "uint256"
1370
+ },
1371
+ {
1372
+ "internalType": "uint256",
1373
+ "name": "weight",
1374
+ "type": "uint256"
1375
+ }
1376
+ ],
1377
+ "stateMutability": "view",
1378
+ "type": "function"
1379
+ },
1380
+ {
1381
+ "inputs": [
1382
+ {
1383
+ "internalType": "uint256",
1384
+ "name": "amount",
1385
+ "type": "uint256"
1386
+ }
1387
+ ],
1388
+ "name": "withdraw",
1389
+ "outputs": [],
1390
+ "stateMutability": "nonpayable",
1391
+ "type": "function"
1392
+ }
1393
+ ],
1394
+ "bytecode": "0x",
1395
+ "deployedBytecode": "0x",
1396
+ "linkReferences": {},
1397
+ "deployedLinkReferences": {}
1398
+ }