@raac/rpc 1.0.2-beta.3 → 1.0.2-beta.5

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 (360) hide show
  1. package/{RPCLibrary.ts → RPCLibrary.js} +7 -121
  2. package/artifacts/core/collectors/FeeCollector.sol/FeeCollector.dbg.json +4 -0
  3. package/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
  4. package/artifacts/core/collectors/Treasury.sol/Treasury.dbg.json +4 -0
  5. package/artifacts/core/collectors/Treasury.sol/Treasury.json +481 -0
  6. package/artifacts/core/governance/boost/BoostController.sol/BoostController.dbg.json +4 -0
  7. package/artifacts/core/governance/boost/BoostController.sol/BoostController.json +905 -0
  8. package/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.dbg.json +4 -0
  9. package/artifacts/core/governance/gauges/BaseGauge.sol/BaseGauge.json +1398 -0
  10. package/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.dbg.json +4 -0
  11. package/artifacts/core/governance/gauges/GaugeController.sol/GaugeController.json +1435 -0
  12. package/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.dbg.json +4 -0
  13. package/artifacts/core/governance/gauges/RAACGauge.sol/RAACGauge.json +1471 -0
  14. package/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.dbg.json +4 -0
  15. package/artifacts/core/governance/gauges/RWAGauge.sol/RWAGauge.json +1471 -0
  16. package/artifacts/core/governance/proposals/Governance.sol/Governance.dbg.json +4 -0
  17. package/artifacts/core/governance/proposals/Governance.sol/Governance.json +1242 -0
  18. package/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.dbg.json +4 -0
  19. package/artifacts/core/governance/proposals/TimelockController.sol/TimelockController.json +988 -0
  20. package/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.dbg.json +4 -0
  21. package/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1443 -0
  22. package/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.dbg.json +4 -0
  23. package/artifacts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.sol/RAACReleaseOrchestrator.json +860 -0
  24. package/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.dbg.json +4 -0
  25. package/artifacts/core/oracles/BaseChainlinkFunctionsOracle.sol/BaseChainlinkFunctionsOracle.json +264 -0
  26. package/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.dbg.json +4 -0
  27. package/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
  28. package/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.dbg.json +4 -0
  29. package/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +335 -0
  30. package/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.dbg.json +4 -0
  31. package/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +350 -0
  32. package/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.dbg.json +4 -0
  33. package/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +2760 -0
  34. package/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.dbg.json +4 -0
  35. package/artifacts/core/pools/StabilityPool/NFTLiquidator.sol/NFTLiquidator.json +485 -0
  36. package/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.dbg.json +4 -0
  37. package/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1146 -0
  38. package/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.dbg.json +4 -0
  39. package/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +285 -0
  40. package/artifacts/core/tokens/DEToken.sol/DEToken.dbg.json +4 -0
  41. package/artifacts/core/tokens/DEToken.sol/DEToken.json +858 -0
  42. package/artifacts/core/tokens/DebtToken.sol/DebtToken.dbg.json +4 -0
  43. package/artifacts/core/tokens/DebtToken.sol/DebtToken.json +953 -0
  44. package/artifacts/core/tokens/IndexToken.sol/IndexToken.dbg.json +4 -0
  45. package/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
  46. package/artifacts/core/tokens/LPToken.sol/LPToken.dbg.json +4 -0
  47. package/artifacts/core/tokens/LPToken.sol/LPToken.json +507 -0
  48. package/artifacts/core/tokens/RAACNFT.sol/RAACNFT.dbg.json +4 -0
  49. package/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +1472 -0
  50. package/artifacts/core/tokens/RAACToken.sol/RAACToken.dbg.json +4 -0
  51. package/artifacts/core/tokens/RAACToken.sol/RAACToken.json +832 -0
  52. package/artifacts/core/tokens/RToken.sol/RToken.dbg.json +4 -0
  53. package/artifacts/core/tokens/RToken.sol/RToken.json +1205 -0
  54. package/artifacts/core/tokens/veRAACToken.sol/veRAACToken.dbg.json +4 -0
  55. package/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1616 -0
  56. package/artifacts/interfaces/IERC20.sol/IERC20.dbg.json +4 -0
  57. package/artifacts/interfaces/IERC20.sol/IERC20.json +194 -0
  58. package/artifacts/interfaces/IHousePrices.sol/IHousePrices.dbg.json +4 -0
  59. package/artifacts/interfaces/IHousePrices.sol/IHousePrices.json +30 -0
  60. package/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.dbg.json +4 -0
  61. package/artifacts/interfaces/INFTLiquidator.sol/INFTLiquidator.json +86 -0
  62. package/artifacts/interfaces/IPoolManager.sol/IPoolManager.dbg.json +4 -0
  63. package/artifacts/interfaces/IPoolManager.sol/IPoolManager.json +57 -0
  64. package/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.dbg.json +4 -0
  65. package/artifacts/interfaces/IReserveAllocationLibraryMock.sol/IReserveAllocationLibraryMock.json +246 -0
  66. package/artifacts/interfaces/IUSDC.sol/IUSDC.dbg.json +4 -0
  67. package/artifacts/interfaces/IUSDC.sol/IUSDC.json +194 -0
  68. package/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.dbg.json +4 -0
  69. package/artifacts/interfaces/IveRAACDistributor.sol/IveRAACDistributor.json +100 -0
  70. package/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.dbg.json +4 -0
  71. package/artifacts/interfaces/core/collectors/IBaseCollector.sol/IBaseCollector.json +45 -0
  72. package/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.dbg.json +4 -0
  73. package/artifacts/interfaces/core/collectors/IFeeCollector.sol/IFeeCollector.json +922 -0
  74. package/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.dbg.json +4 -0
  75. package/artifacts/interfaces/core/collectors/ITreasury.sol/ITreasury.json +214 -0
  76. package/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.dbg.json +4 -0
  77. package/artifacts/interfaces/core/governance/IBoostController.sol/IBoostController.json +378 -0
  78. package/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.dbg.json +4 -0
  79. package/artifacts/interfaces/core/governance/gauges/IGauge.sol/IGauge.json +394 -0
  80. package/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.dbg.json +4 -0
  81. package/artifacts/interfaces/core/governance/gauges/IGaugeController.sol/IGaugeController.json +577 -0
  82. package/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.dbg.json +4 -0
  83. package/artifacts/interfaces/core/governance/proposals/IGovernance.sol/IGovernance.json +1134 -0
  84. package/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.dbg.json +4 -0
  85. package/artifacts/interfaces/core/governance/proposals/ITimelockController.sol/ITimelockController.json +612 -0
  86. package/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.dbg.json +4 -0
  87. package/artifacts/interfaces/core/minters/RAACMinter/IRAACMinter.sol/IRAACMinter.json +542 -0
  88. package/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.dbg.json +4 -0
  89. package/artifacts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.sol/IReleaseOrchestrator.json +358 -0
  90. package/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.dbg.json +4 -0
  91. package/artifacts/interfaces/core/oracles/IBaseVRFv2Consumer.sol/IBaseVRFv2Consumer.json +102 -0
  92. package/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.dbg.json +4 -0
  93. package/artifacts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.json +193 -0
  94. package/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.dbg.json +4 -0
  95. package/artifacts/interfaces/core/pools/ILiquidityPool.sol/ILiquidityPool.json +310 -0
  96. package/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.dbg.json +4 -0
  97. package/artifacts/interfaces/core/pools/LendingPool/ILendingPool.sol/ILendingPool.json +1500 -0
  98. package/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.dbg.json +4 -0
  99. package/artifacts/interfaces/core/pools/StabilityPool/IStabilityPool.sol/IStabilityPool.json +622 -0
  100. package/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.dbg.json +4 -0
  101. package/artifacts/interfaces/core/tokens/IDEToken.sol/IDEToken.json +333 -0
  102. package/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.dbg.json +4 -0
  103. package/artifacts/interfaces/core/tokens/IDebtToken.sol/IDebtToken.json +507 -0
  104. package/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.dbg.json +4 -0
  105. package/artifacts/interfaces/core/tokens/IIndexToken.sol/IIndexToken.json +299 -0
  106. package/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.dbg.json +4 -0
  107. package/artifacts/interfaces/core/tokens/IRAACNFT.sol/IRAACNFT.json +816 -0
  108. package/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.dbg.json +4 -0
  109. package/artifacts/interfaces/core/tokens/IRAACToken.sol/IRAACToken.json +567 -0
  110. package/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.dbg.json +4 -0
  111. package/artifacts/interfaces/core/tokens/IRToken.sol/IRToken.json +641 -0
  112. package/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.dbg.json +4 -0
  113. package/artifacts/interfaces/core/tokens/IveRAACToken.sol/IveRAACToken.json +560 -0
  114. package/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.dbg.json +4 -0
  115. package/artifacts/interfaces/core/vaults/IBaseVault.sol/IBaseVault.json +185 -0
  116. package/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.dbg.json +4 -0
  117. package/artifacts/interfaces/curve/ICurveCrvUSDVault.sol/ICurveCrvUSDVault.json +250 -0
  118. package/artifacts/interfaces/zeno/IAuction.sol/IAuction.dbg.json +4 -0
  119. package/artifacts/interfaces/zeno/IAuction.sol/IAuction.json +162 -0
  120. package/artifacts/interfaces/zeno/IZENO.sol/IZENO.dbg.json +4 -0
  121. package/artifacts/interfaces/zeno/IZENO.sol/IZENO.json +321 -0
  122. package/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.dbg.json +4 -0
  123. package/artifacts/libraries/governance/BoostCalculator.sol/BoostCalculator.json +51 -0
  124. package/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.dbg.json +4 -0
  125. package/artifacts/libraries/governance/Checkpoints.sol/Checkpoints.json +69 -0
  126. package/artifacts/libraries/governance/LockManager.sol/LockManager.dbg.json +4 -0
  127. package/artifacts/libraries/governance/LockManager.sol/LockManager.json +123 -0
  128. package/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.dbg.json +4 -0
  129. package/artifacts/libraries/governance/PowerCheckpoint.sol/PowerCheckpoint.json +70 -0
  130. package/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.dbg.json +4 -0
  131. package/artifacts/libraries/governance/RAACVoting.sol/RAACVoting.json +102 -0
  132. package/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.dbg.json +4 -0
  133. package/artifacts/libraries/governance/VotingPowerLib.sol/VotingPowerLib.json +76 -0
  134. package/artifacts/libraries/math/PercentageMath.sol/PercentageMath.dbg.json +4 -0
  135. package/artifacts/libraries/math/PercentageMath.sol/PercentageMath.json +10 -0
  136. package/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.dbg.json +4 -0
  137. package/artifacts/libraries/math/TimeWeightedAverage.sol/TimeWeightedAverage.json +142 -0
  138. package/artifacts/libraries/math/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  139. package/artifacts/libraries/math/WadRayMath.sol/WadRayMath.json +10 -0
  140. package/artifacts/libraries/pools/DataTypes.sol/DataTypes.dbg.json +4 -0
  141. package/artifacts/libraries/pools/DataTypes.sol/DataTypes.json +10 -0
  142. package/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.dbg.json +4 -0
  143. package/artifacts/libraries/pools/ReserveLibrary.sol/ReserveLibrary.json +153 -0
  144. package/artifacts/libraries/utils/StringUtils.sol/StringUtils.dbg.json +4 -0
  145. package/artifacts/libraries/utils/StringUtils.sol/StringUtils.json +16 -0
  146. package/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.dbg.json +4 -0
  147. package/artifacts/mocks/core/collectors/MockTreasury.sol/MockTreasury.json +255 -0
  148. package/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.dbg.json +4 -0
  149. package/artifacts/mocks/core/governance/gauges/MockBaseGauge.sol/MockBaseGauge.json +1522 -0
  150. package/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.dbg.json +4 -0
  151. package/artifacts/mocks/core/governance/gauges/MockGaugeController.sol/MockGaugeController.json +49 -0
  152. package/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.dbg.json +4 -0
  153. package/artifacts/mocks/core/governance/proposals/TimelockTestTarget.sol/TimelockTestTarget.json +112 -0
  154. package/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.dbg.json +4 -0
  155. package/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.json +50 -0
  156. package/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.dbg.json +4 -0
  157. package/artifacts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.json +69 -0
  158. package/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.dbg.json +4 -0
  159. package/artifacts/mocks/core/oracles/MockOracle.sol/MockOracle.json +63 -0
  160. package/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.dbg.json +4 -0
  161. package/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
  162. package/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.dbg.json +4 -0
  163. package/artifacts/mocks/core/oracles/TestRAACHousePriceOracle.sol/TestRAACHousePriceOracle.json +358 -0
  164. package/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.dbg.json +4 -0
  165. package/artifacts/mocks/core/oracles/TestRAACPrimeRateOracle.sol/TestRAACPrimeRateOracle.json +373 -0
  166. package/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.dbg.json +4 -0
  167. package/artifacts/mocks/core/pools/MockLendingPool.sol/MockLendingPool.json +241 -0
  168. package/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.dbg.json +4 -0
  169. package/artifacts/mocks/core/pools/MockLendingPoolCollector.sol/MockLendingPoolCollector.json +288 -0
  170. package/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.dbg.json +4 -0
  171. package/artifacts/mocks/core/pools/MockLendingPoolDebtToken.sol/MockLendingPoolDebtToken.json +1522 -0
  172. package/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.dbg.json +4 -0
  173. package/artifacts/mocks/core/pools/MockLiquidityPool.sol/MockLiquidityPool.json +1019 -0
  174. package/artifacts/mocks/core/pools/MockPool.sol/MockPool.dbg.json +4 -0
  175. package/artifacts/mocks/core/pools/MockPool.sol/MockPool.json +93 -0
  176. package/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.dbg.json +4 -0
  177. package/artifacts/mocks/core/pools/MockStabilityPool.sol/MockStabilityPool.json +126 -0
  178. package/artifacts/mocks/core/primitives/MockContract.sol/MockContract.dbg.json +4 -0
  179. package/artifacts/mocks/core/primitives/MockContract.sol/MockContract.json +37 -0
  180. package/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.dbg.json +4 -0
  181. package/artifacts/mocks/core/primitives/MockContractWithConfig.sol/MockContractWithConfig.json +52 -0
  182. package/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.dbg.json +4 -0
  183. package/artifacts/mocks/core/primitives/MockDistributableContract.sol/MockDistributableContract.json +73 -0
  184. package/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.dbg.json +4 -0
  185. package/artifacts/mocks/core/primitives/RAACHousePricesMock.sol/RAACHousePricesMock.json +67 -0
  186. package/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.dbg.json +4 -0
  187. package/artifacts/mocks/core/tokens/ERC20Mock.sol/ERC20Mock.json +353 -0
  188. package/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.dbg.json +4 -0
  189. package/artifacts/mocks/core/tokens/ERC721Mock.sol/ERC721Mock.json +491 -0
  190. package/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.dbg.json +4 -0
  191. package/artifacts/mocks/core/tokens/MockCollectableUnderlying.sol/MockCollectableUnderlying.json +568 -0
  192. package/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.dbg.json +4 -0
  193. package/artifacts/mocks/core/tokens/MockFeeCollectorToken.sol/MockFeeCollectorToken.json +515 -0
  194. package/artifacts/mocks/core/tokens/MockToken.sol/MockToken.dbg.json +4 -0
  195. package/artifacts/mocks/core/tokens/MockToken.sol/MockToken.json +426 -0
  196. package/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.dbg.json +4 -0
  197. package/artifacts/mocks/core/tokens/MockUSDC.sol/MockUSDC.json +348 -0
  198. package/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.dbg.json +4 -0
  199. package/artifacts/mocks/core/tokens/MockVeToken.sol/MockVeToken.json +905 -0
  200. package/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.dbg.json +4 -0
  201. package/artifacts/mocks/core/tokens/RAACMockERC20.sol/RAACMockERC20.json +422 -0
  202. package/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.dbg.json +4 -0
  203. package/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +479 -0
  204. package/artifacts/mocks/core/vaults/MockVault.sol/MockVault.dbg.json +4 -0
  205. package/artifacts/mocks/core/vaults/MockVault.sol/MockVault.json +672 -0
  206. package/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.dbg.json +4 -0
  207. package/artifacts/mocks/libraries/MockStringUtils.sol/MockStringUtils.json +35 -0
  208. package/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.dbg.json +4 -0
  209. package/artifacts/mocks/libraries/governance/BoostCalculatorMock.sol/BoostCalculatorMock.json +431 -0
  210. package/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.dbg.json +4 -0
  211. package/artifacts/mocks/libraries/governance/CheckpointsMock.sol/CheckpointsMock.json +144 -0
  212. package/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.dbg.json +4 -0
  213. package/artifacts/mocks/libraries/governance/LockManagerMock.sol/LockManagerMock.json +237 -0
  214. package/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.dbg.json +4 -0
  215. package/artifacts/mocks/libraries/governance/PowerCheckpointMock.sol/PowerCheckpointMock.json +221 -0
  216. package/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.dbg.json +4 -0
  217. package/artifacts/mocks/libraries/governance/RAACVotingMock.sol/RAACVotingMock.json +95 -0
  218. package/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.dbg.json +4 -0
  219. package/artifacts/mocks/libraries/governance/VotingPowerMock.sol/VotingPowerMock.json +442 -0
  220. package/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.dbg.json +4 -0
  221. package/artifacts/mocks/libraries/math/TimeWeightedAverageMock.sol/TimeWeightedAverageMock.json +309 -0
  222. package/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.dbg.json +4 -0
  223. package/artifacts/mocks/libraries/math/WadRayMathMock.sol/WadRayMathMock.json +188 -0
  224. package/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.dbg.json +4 -0
  225. package/artifacts/mocks/libraries/pools/ReserveLibraryMock.sol/ReserveLibraryMock.json +339 -0
  226. package/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.dbg.json +4 -0
  227. package/artifacts/mocks/tests/MaliciousDeposit.sol/MaliciousDeposit.json +52 -0
  228. package/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.dbg.json +4 -0
  229. package/artifacts/mocks/tests/MaliciousWithdraw.sol/MaliciousWithdraw.json +52 -0
  230. package/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.dbg.json +4 -0
  231. package/artifacts/mocks/tests/VeRAACFuzzHelper.sol/VeRAACFuzzHelper.json +88 -0
  232. package/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.dbg.json +4 -0
  233. package/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.json +24 -0
  234. package/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.dbg.json +4 -0
  235. package/artifacts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.json +129 -0
  236. package/artifacts/zeno/Auction.sol/Auction.dbg.json +4 -0
  237. package/artifacts/zeno/Auction.sol/Auction.json +393 -0
  238. package/artifacts/zeno/AuctionFactory.sol/AuctionFactory.dbg.json +4 -0
  239. package/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +307 -0
  240. package/artifacts/zeno/ZENO.sol/ZENO.dbg.json +4 -0
  241. package/artifacts/zeno/ZENO.sol/ZENO.json +620 -0
  242. package/artifacts/zeno/ZENOFactory.sol/ZENOFactory.dbg.json +4 -0
  243. package/artifacts/zeno/ZENOFactory.sol/ZENOFactory.json +275 -0
  244. package/assets/{getAsset.ts → getAsset.js} +6 -6
  245. package/assets/{getAssets.ts → getAssets.js} +2 -3
  246. package/assets/{getSupply.ts → getSupply.js} +5 -7
  247. package/configs/chains/index.js +13 -0
  248. package/configs/index.js +17 -0
  249. package/contracts/feeCollector/{claimRewardFromPool.ts → claimRewardFromPool.js} +4 -10
  250. package/contracts/{getContract.ts → getContract.js} +5 -6
  251. package/contracts/{getContractAddress.ts → getContractAddress.js} +4 -6
  252. package/contracts/housePrices/{getLatestPrice.ts → getLatestPrice.js} +6 -8
  253. package/contracts/housePrices/{setOracle.ts → setOracle.js} +6 -8
  254. package/contracts/indexToken/{getNextRandomNFT.ts → getNextRandomNFT.js} +5 -7
  255. package/contracts/indexToken/{redeemNFT.ts → redeemNFT.js} +5 -7
  256. package/contracts/zeno/{createAuction.ts → createAuction.js} +14 -16
  257. package/contracts/zeno/{createZeno.ts → createZeno.js} +8 -10
  258. package/contracts/zeno/{getAuctions.ts → getAuctions.js} +5 -7
  259. package/contracts/zeno/{getZenos.ts → getZenos.js} +5 -7
  260. package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
  261. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1443 -0
  262. package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
  263. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +2760 -0
  264. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1146 -0
  265. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +285 -0
  266. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +858 -0
  267. package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
  268. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +1472 -0
  269. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +832 -0
  270. package/dist/artifacts/core/tokens/RToken.sol/RToken.json +1205 -0
  271. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1616 -0
  272. package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
  273. package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +479 -0
  274. package/dist/artifacts/zeno/Auction.sol/Auction.json +393 -0
  275. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +307 -0
  276. package/dist/artifacts/zeno/Zeno.sol/Zeno.json +620 -0
  277. package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +275 -0
  278. package/methods/commons/{checkAllowance.ts → checkAllowance.js} +10 -12
  279. package/methods/commons/{estimateGasPrice.ts → estimateGasPrice.js} +5 -7
  280. package/minter/{get.ts → get.js} +6 -8
  281. package/minter/{getApy.ts → getApy.js} +5 -7
  282. package/minter/{tick.ts → tick.js} +5 -7
  283. package/nfts/{getAllTokens.ts → getAllTokens.js} +7 -9
  284. package/nfts/{getBaseUri.ts → getBaseUri.js} +5 -7
  285. package/nfts/{getHousePrice.ts → getHousePrice.js} +6 -8
  286. package/nfts/{getMintFeePercentage.ts → getMintFeePercentage.js} +4 -6
  287. package/nfts/{getMintPrice.ts → getMintPrice.js} +7 -9
  288. package/nfts/{getTokenURI.ts → getTokenURI.js} +7 -9
  289. package/nfts/{getTokensByOwner.ts → getTokensByOwner.js} +8 -10
  290. package/nfts/{getTotalPropertiesCount.ts → getTotalPropertiesCount.js} +5 -7
  291. package/nfts/{mint.ts → mint.js} +7 -9
  292. package/nfts/{setBaseUri.ts → setBaseUri.js} +4 -6
  293. package/nfts/{totalNFTSupply.ts → totalNFTSupply.js} +4 -6
  294. package/package.json +1 -1
  295. package/pools/lendingPool/{borrowFromLendingPool.ts → borrowFromLendingPool.js} +8 -10
  296. package/pools/lendingPool/{borrowFromLendingPoolWithInsurance.ts → borrowFromLendingPoolWithInsurance.js} +8 -10
  297. package/pools/lendingPool/{calculateInsuranceFee.ts → calculateInsuranceFee.js} +9 -11
  298. package/pools/lendingPool/{claimReward.ts → claimReward.js} +5 -7
  299. package/pools/lendingPool/{closeLiquidation.ts → closeLiquidation.js} +7 -9
  300. package/pools/lendingPool/{depositNFTToLendingPool.ts → depositNFTToLendingPool.js} +6 -8
  301. package/pools/lendingPool/{depositToLendingPool.ts → depositToLendingPool.js} +6 -8
  302. package/pools/lendingPool/{getAllUserData.ts → getAllUserData.js} +7 -14
  303. package/pools/lendingPool/{getEligibleUserDeposits.ts → getEligibleUserDeposits.js} +7 -9
  304. package/pools/lendingPool/{getHealthFactor.ts → getHealthFactor.js} +8 -10
  305. package/pools/lendingPool/{getHousePrice.ts → getHousePrice.js} +6 -8
  306. package/pools/lendingPool/{getLendingPoolInfo.ts → getLendingPoolInfo.js} +23 -31
  307. package/pools/lendingPool/{getLendingPoolTotalLiquidity.ts → getLendingPoolTotalLiquidity.js} +7 -10
  308. package/pools/lendingPool/{getPendingReward.ts → getPendingReward.js} +7 -9
  309. package/pools/lendingPool/{getPositionDebt.ts → getPositionDebt.js} +8 -10
  310. package/pools/lendingPool/{getPositionScaledDebt.ts → getPositionScaledDebt.js} +8 -10
  311. package/pools/lendingPool/{getPositionView.ts → getPositionView.js} +9 -11
  312. package/pools/lendingPool/{getPositionsScaledDebt.ts → getPositionsScaledDebt.js} +7 -9
  313. package/pools/lendingPool/{getRawUserDepositsInLendingPool.ts → getRawUserDepositsInLendingPool.js} +7 -9
  314. package/pools/lendingPool/{getUserCollateralValue.ts → getUserCollateralValue.js} +7 -9
  315. package/pools/lendingPool/{initializeLiquidation.ts → initializeLiquidation.js} +8 -10
  316. package/pools/lendingPool/{repayToLendingPool.ts → repayToLendingPool.js} +8 -10
  317. package/pools/lendingPool/{withdrawFromLendingPool.ts → withdrawFromLendingPool.js} +9 -10
  318. package/pools/lendingPool/{withdrawNFTFromLendingPool.ts → withdrawNFTFromLendingPool.js} +7 -9
  319. package/pools/stabilityPool/{calculateRAACRewards.ts → calculateRAACRewards.js} +6 -9
  320. package/pools/stabilityPool/configs/chains/index.js +17 -0
  321. package/pools/stabilityPool/configs/index.js +43 -0
  322. package/pools/stabilityPool/{depositNFTToStabilityPool.ts → depositNFTToStabilityPool.js} +6 -9
  323. package/pools/stabilityPool/{depositToStabilityPool.ts → depositToStabilityPool.js} +6 -8
  324. package/pools/stabilityPool/{getRawUserDepositsInStabilityPool.ts → getRawUserDepositsInStabilityPool.js} +7 -9
  325. package/pools/stabilityPool/{getStabilityPoolInfo.ts → getStabilityPoolInfo.js} +10 -12
  326. package/pools/stabilityPool/{getStabilityPoolTotalDeposits.ts → getStabilityPoolTotalDeposits.js} +6 -8
  327. package/pools/stabilityPool/methods/commons/estimateGasPrice.js +28 -0
  328. package/pools/stabilityPool/pools/stabilityPool/withdrawFromStabilityPool.js +34 -0
  329. package/pools/stabilityPool/utils/artifacts.js +74 -0
  330. package/pools/stabilityPool/utils/contracts.js +82 -0
  331. package/pools/stabilityPool/{withdrawFromStabilityPool.ts → withdrawFromStabilityPool.js} +6 -8
  332. package/ts-to-js.sh +42 -0
  333. package/utils/{artifacts.ts → artifacts.js} +1 -4
  334. package/utils/{contracts.ts → contracts.js} +16 -18
  335. package/wallet/assets/{approveAsset.ts → approveAsset.js} +7 -8
  336. package/wallet/assets/{burnAsset.ts → burnAsset.js} +7 -9
  337. package/wallet/assets/{getAllowance.ts → getAllowance.js} +9 -10
  338. package/wallet/assets/{getAsset.ts → getAsset.js} +6 -7
  339. package/wallet/assets/{getAssets.ts → getAssets.js} +5 -7
  340. package/wallet/assets/{getBalance.ts → getBalance.js} +8 -9
  341. package/wallet/assets/{mintAsset.ts → mintAsset.js} +8 -9
  342. package/wallet/assets/{transferAsset.ts → transferAsset.js} +10 -11
  343. package/configs/chains/index.ts +0 -17
  344. package/configs/index.ts +0 -51
  345. /package/configs/chains/{chain.d.ts → chain.d.js} +0 -0
  346. /package/configs/{createConfig.ts → createConfig.js} +0 -0
  347. /package/contracts/crvUSDToken/{getBalance.ts → getBalance.js} +0 -0
  348. /package/contracts/crvUSDToken/{getTotalSupply.ts → getTotalSupply.js} +0 -0
  349. /package/contracts/rcrvUSDToken/{getBalance.ts → getBalance.js} +0 -0
  350. /package/contracts/rcrvUSDToken/{getTotalSupply.ts → getTotalSupply.js} +0 -0
  351. /package/{custom-types.d.ts → custom-types.d.js} +0 -0
  352. /package/{index.ts → index.js} +0 -0
  353. /package/methods/{approveToken.ts → approveToken.js} +0 -0
  354. /package/methods/{getAssetBalance.ts → getAssetBalance.js} +0 -0
  355. /package/methods/{getAssetsBalance.ts → getAssetsBalance.js} +0 -0
  356. /package/pools/liquidityPool/{getLiquidityPoolInfo.ts → getLiquidityPoolInfo.js} +0 -0
  357. /package/scripts/{index.ts → index.js} +0 -0
  358. /package/tests/{test.ts → test.js} +0 -0
  359. /package/utils/{chain.ts → chain.js} +0 -0
  360. /package/utils/{config.ts → config.js} +0 -0
@@ -0,0 +1,1500 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ILendingPool",
4
+ "sourceName": "contracts/interfaces/core/pools/LendingPool/ILendingPool.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "AddressCannotBeZero",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "CannotBorrowUnderLiquidation",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "CannotRepayUnderLiquidationWithoutInsurance",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "CannotWithdrawUnderLiquidation",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [],
28
+ "name": "DebtNotZero",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "GracePeriodExpired",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "GracePeriodNotExpired",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "HealthFactorTooLow",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "InsufficientAllowanceForFees",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "InsufficientBalance",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "InvalidAmount",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "InvalidInterestRateMode",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "InvalidNFTPrice",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "InvalidParameter",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "InvalidVaultAsset",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "NFTAlreadyDeposited",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "NFTNotDeposited",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "NFTNotInsured",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "NoActiveRewardToken",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "NoCollateral",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "NoDeposits",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "NoRewardsToClaim",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "NotEnoughCollateralToBorrow",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "NotOwnerOfNFT",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [],
128
+ "name": "NotUnderLiquidation",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "PaybackDebtDisabled",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "RepayAmountTooHigh",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "RewardTokenAlreadySet",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "SameAddressNotAllowed",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "StalePrice",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "TransferFailed",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "Unauthorized",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [],
168
+ "name": "UserAlreadyUnderLiquidation",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "WithdrawalWouldLeaveUserUnderCollateralized",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "WithdrawalsArePaused",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "anonymous": false,
183
+ "inputs": [
184
+ {
185
+ "indexed": true,
186
+ "internalType": "address",
187
+ "name": "user",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "uint256",
193
+ "name": "amount",
194
+ "type": "uint256"
195
+ }
196
+ ],
197
+ "name": "Borrow",
198
+ "type": "event"
199
+ },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": false,
205
+ "internalType": "bool",
206
+ "name": "enabled",
207
+ "type": "bool"
208
+ }
209
+ ],
210
+ "name": "CanPaybackDebtChanged",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": true,
218
+ "internalType": "address",
219
+ "name": "user",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "indexed": false,
224
+ "internalType": "uint256",
225
+ "name": "amount",
226
+ "type": "uint256"
227
+ },
228
+ {
229
+ "indexed": false,
230
+ "internalType": "uint256",
231
+ "name": "mintedAmount",
232
+ "type": "uint256"
233
+ }
234
+ ],
235
+ "name": "Deposit",
236
+ "type": "event"
237
+ },
238
+ {
239
+ "anonymous": false,
240
+ "inputs": [
241
+ {
242
+ "indexed": true,
243
+ "internalType": "address",
244
+ "name": "oldFeeCollector",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "indexed": true,
249
+ "internalType": "address",
250
+ "name": "newFeeCollector",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "FeeCollectorUpdated",
255
+ "type": "event"
256
+ },
257
+ {
258
+ "anonymous": false,
259
+ "inputs": [],
260
+ "name": "InsufficientFees",
261
+ "type": "event"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "uint256",
269
+ "name": "oldInsuranceFee",
270
+ "type": "uint256"
271
+ },
272
+ {
273
+ "indexed": false,
274
+ "internalType": "uint256",
275
+ "name": "newInsuranceFee",
276
+ "type": "uint256"
277
+ }
278
+ ],
279
+ "name": "InsuranceFeeUpdated",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [
285
+ {
286
+ "indexed": true,
287
+ "internalType": "uint256",
288
+ "name": "tokenId",
289
+ "type": "uint256"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "uint256",
294
+ "name": "amount",
295
+ "type": "uint256"
296
+ }
297
+ ],
298
+ "name": "InsuredNFT",
299
+ "type": "event"
300
+ },
301
+ {
302
+ "anonymous": false,
303
+ "inputs": [
304
+ {
305
+ "indexed": true,
306
+ "internalType": "address",
307
+ "name": "liquidator",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "indexed": true,
312
+ "internalType": "address",
313
+ "name": "user",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "uint256",
319
+ "name": "debtRepaid",
320
+ "type": "uint256"
321
+ },
322
+ {
323
+ "indexed": false,
324
+ "internalType": "uint256",
325
+ "name": "collateralLiquidated",
326
+ "type": "uint256"
327
+ }
328
+ ],
329
+ "name": "Liquidation",
330
+ "type": "event"
331
+ },
332
+ {
333
+ "anonymous": false,
334
+ "inputs": [
335
+ {
336
+ "indexed": true,
337
+ "internalType": "address",
338
+ "name": "user",
339
+ "type": "address"
340
+ },
341
+ {
342
+ "indexed": true,
343
+ "internalType": "uint256",
344
+ "name": "tokenId",
345
+ "type": "uint256"
346
+ }
347
+ ],
348
+ "name": "LiquidationClosed",
349
+ "type": "event"
350
+ },
351
+ {
352
+ "anonymous": false,
353
+ "inputs": [
354
+ {
355
+ "indexed": true,
356
+ "internalType": "address",
357
+ "name": "liquidator",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "indexed": true,
362
+ "internalType": "address",
363
+ "name": "user",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "indexed": true,
368
+ "internalType": "uint256",
369
+ "name": "tokenId",
370
+ "type": "uint256"
371
+ },
372
+ {
373
+ "indexed": false,
374
+ "internalType": "uint256",
375
+ "name": "debtRepaid",
376
+ "type": "uint256"
377
+ },
378
+ {
379
+ "indexed": false,
380
+ "internalType": "uint256",
381
+ "name": "collateralLiquidated",
382
+ "type": "uint256"
383
+ }
384
+ ],
385
+ "name": "LiquidationFinalized",
386
+ "type": "event"
387
+ },
388
+ {
389
+ "anonymous": false,
390
+ "inputs": [
391
+ {
392
+ "indexed": true,
393
+ "internalType": "address",
394
+ "name": "liquidator",
395
+ "type": "address"
396
+ },
397
+ {
398
+ "indexed": true,
399
+ "internalType": "address",
400
+ "name": "user",
401
+ "type": "address"
402
+ },
403
+ {
404
+ "indexed": true,
405
+ "internalType": "uint256",
406
+ "name": "tokenId",
407
+ "type": "uint256"
408
+ }
409
+ ],
410
+ "name": "LiquidationInitiated",
411
+ "type": "event"
412
+ },
413
+ {
414
+ "anonymous": false,
415
+ "inputs": [
416
+ {
417
+ "indexed": false,
418
+ "internalType": "uint256",
419
+ "name": "newLiquidationThreshold",
420
+ "type": "uint256"
421
+ },
422
+ {
423
+ "indexed": false,
424
+ "internalType": "uint256",
425
+ "name": "newHealthFactorLiquidationThreshold",
426
+ "type": "uint256"
427
+ },
428
+ {
429
+ "indexed": false,
430
+ "internalType": "uint256",
431
+ "name": "newLiquidationGracePeriod",
432
+ "type": "uint256"
433
+ }
434
+ ],
435
+ "name": "LiquidationParametersUpdated",
436
+ "type": "event"
437
+ },
438
+ {
439
+ "anonymous": false,
440
+ "inputs": [
441
+ {
442
+ "indexed": false,
443
+ "internalType": "uint256",
444
+ "name": "oldRatio",
445
+ "type": "uint256"
446
+ },
447
+ {
448
+ "indexed": false,
449
+ "internalType": "uint256",
450
+ "name": "newRatio",
451
+ "type": "uint256"
452
+ }
453
+ ],
454
+ "name": "LiquidityBufferRatioUpdated",
455
+ "type": "event"
456
+ },
457
+ {
458
+ "anonymous": false,
459
+ "inputs": [
460
+ {
461
+ "indexed": false,
462
+ "internalType": "uint256",
463
+ "name": "bufferAmount",
464
+ "type": "uint256"
465
+ },
466
+ {
467
+ "indexed": false,
468
+ "internalType": "uint256",
469
+ "name": "vaultAmount",
470
+ "type": "uint256"
471
+ }
472
+ ],
473
+ "name": "LiquidityRebalanced",
474
+ "type": "event"
475
+ },
476
+ {
477
+ "anonymous": false,
478
+ "inputs": [
479
+ {
480
+ "indexed": true,
481
+ "internalType": "address",
482
+ "name": "user",
483
+ "type": "address"
484
+ },
485
+ {
486
+ "indexed": false,
487
+ "internalType": "uint256",
488
+ "name": "tokenId",
489
+ "type": "uint256"
490
+ }
491
+ ],
492
+ "name": "NFTDeposited",
493
+ "type": "event"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": true,
500
+ "internalType": "address",
501
+ "name": "user",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "indexed": false,
506
+ "internalType": "uint256",
507
+ "name": "tokenId",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "name": "NFTWithdrawn",
512
+ "type": "event"
513
+ },
514
+ {
515
+ "anonymous": false,
516
+ "inputs": [],
517
+ "name": "NotFeeCollector",
518
+ "type": "event"
519
+ },
520
+ {
521
+ "anonymous": false,
522
+ "inputs": [
523
+ {
524
+ "indexed": false,
525
+ "internalType": "uint256",
526
+ "name": "oldValue",
527
+ "type": "uint256"
528
+ },
529
+ {
530
+ "indexed": false,
531
+ "internalType": "uint256",
532
+ "name": "newValue",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "name": "ProtocolFeeRateUpdated",
537
+ "type": "event"
538
+ },
539
+ {
540
+ "anonymous": false,
541
+ "inputs": [
542
+ {
543
+ "indexed": false,
544
+ "internalType": "uint256",
545
+ "name": "protocolFee",
546
+ "type": "uint256"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "uint256",
551
+ "name": "accumulatedProtocolFees",
552
+ "type": "uint256"
553
+ }
554
+ ],
555
+ "name": "ProtocolFeesCollected",
556
+ "type": "event"
557
+ },
558
+ {
559
+ "anonymous": false,
560
+ "inputs": [
561
+ {
562
+ "indexed": true,
563
+ "internalType": "address",
564
+ "name": "feeCollector",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "indexed": false,
569
+ "internalType": "uint256",
570
+ "name": "amount",
571
+ "type": "uint256"
572
+ }
573
+ ],
574
+ "name": "ProtocolFeesWithdrawn",
575
+ "type": "event"
576
+ },
577
+ {
578
+ "anonymous": false,
579
+ "inputs": [
580
+ {
581
+ "indexed": true,
582
+ "internalType": "address",
583
+ "name": "user",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "indexed": true,
588
+ "internalType": "address",
589
+ "name": "onBehalfOf",
590
+ "type": "address"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "uint256",
595
+ "name": "amount",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "name": "Repay",
600
+ "type": "event"
601
+ },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": true,
607
+ "internalType": "address",
608
+ "name": "user",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "indexed": true,
613
+ "internalType": "address",
614
+ "name": "token",
615
+ "type": "address"
616
+ },
617
+ {
618
+ "indexed": false,
619
+ "internalType": "uint256",
620
+ "name": "amount",
621
+ "type": "uint256"
622
+ }
623
+ ],
624
+ "name": "RewardClaimed",
625
+ "type": "event"
626
+ },
627
+ {
628
+ "anonymous": false,
629
+ "inputs": [
630
+ {
631
+ "indexed": true,
632
+ "internalType": "address",
633
+ "name": "user",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "indexed": false,
638
+ "internalType": "uint256",
639
+ "name": "amount",
640
+ "type": "uint256"
641
+ }
642
+ ],
643
+ "name": "RewardDistributed",
644
+ "type": "event"
645
+ },
646
+ {
647
+ "anonymous": false,
648
+ "inputs": [
649
+ {
650
+ "indexed": true,
651
+ "internalType": "address",
652
+ "name": "token",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "indexed": false,
657
+ "internalType": "uint256",
658
+ "name": "rewardRate",
659
+ "type": "uint256"
660
+ },
661
+ {
662
+ "indexed": false,
663
+ "internalType": "uint256",
664
+ "name": "duration",
665
+ "type": "uint256"
666
+ }
667
+ ],
668
+ "name": "RewardParametersUpdated",
669
+ "type": "event"
670
+ },
671
+ {
672
+ "anonymous": false,
673
+ "inputs": [
674
+ {
675
+ "indexed": true,
676
+ "internalType": "address",
677
+ "name": "token",
678
+ "type": "address"
679
+ },
680
+ {
681
+ "indexed": false,
682
+ "internalType": "uint256",
683
+ "name": "rewardRate",
684
+ "type": "uint256"
685
+ },
686
+ {
687
+ "indexed": false,
688
+ "internalType": "uint256",
689
+ "name": "duration",
690
+ "type": "uint256"
691
+ }
692
+ ],
693
+ "name": "RewardTokenAdded",
694
+ "type": "event"
695
+ },
696
+ {
697
+ "anonymous": false,
698
+ "inputs": [
699
+ {
700
+ "indexed": true,
701
+ "internalType": "address",
702
+ "name": "user",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "indexed": false,
707
+ "internalType": "uint256",
708
+ "name": "amount",
709
+ "type": "uint256"
710
+ }
711
+ ],
712
+ "name": "RewardTokensDeposited",
713
+ "type": "event"
714
+ },
715
+ {
716
+ "anonymous": false,
717
+ "inputs": [
718
+ {
719
+ "indexed": true,
720
+ "internalType": "address",
721
+ "name": "oldStabilityPool",
722
+ "type": "address"
723
+ },
724
+ {
725
+ "indexed": true,
726
+ "internalType": "address",
727
+ "name": "newStabilityPool",
728
+ "type": "address"
729
+ }
730
+ ],
731
+ "name": "StabilityPoolUpdated",
732
+ "type": "event"
733
+ },
734
+ {
735
+ "anonymous": false,
736
+ "inputs": [
737
+ {
738
+ "indexed": false,
739
+ "internalType": "uint256",
740
+ "name": "amount",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "name": "VaultRewardsClaimed",
745
+ "type": "event"
746
+ },
747
+ {
748
+ "anonymous": false,
749
+ "inputs": [
750
+ {
751
+ "indexed": true,
752
+ "internalType": "address",
753
+ "name": "oldVault",
754
+ "type": "address"
755
+ },
756
+ {
757
+ "indexed": true,
758
+ "internalType": "address",
759
+ "name": "newVault",
760
+ "type": "address"
761
+ }
762
+ ],
763
+ "name": "VaultUpdated",
764
+ "type": "event"
765
+ },
766
+ {
767
+ "anonymous": false,
768
+ "inputs": [
769
+ {
770
+ "indexed": true,
771
+ "internalType": "address",
772
+ "name": "vault",
773
+ "type": "address"
774
+ }
775
+ ],
776
+ "name": "VaultWithdrawalFailed",
777
+ "type": "event"
778
+ },
779
+ {
780
+ "anonymous": false,
781
+ "inputs": [
782
+ {
783
+ "indexed": true,
784
+ "internalType": "address",
785
+ "name": "user",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "indexed": false,
790
+ "internalType": "uint256",
791
+ "name": "amount",
792
+ "type": "uint256"
793
+ }
794
+ ],
795
+ "name": "Withdraw",
796
+ "type": "event"
797
+ },
798
+ {
799
+ "anonymous": false,
800
+ "inputs": [
801
+ {
802
+ "indexed": false,
803
+ "internalType": "bool",
804
+ "name": "isPaused",
805
+ "type": "bool"
806
+ }
807
+ ],
808
+ "name": "WithdrawalsPauseStatusChanged",
809
+ "type": "event"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "tokenId",
816
+ "type": "uint256"
817
+ },
818
+ {
819
+ "internalType": "uint256",
820
+ "name": "amount",
821
+ "type": "uint256"
822
+ }
823
+ ],
824
+ "name": "borrow",
825
+ "outputs": [],
826
+ "stateMutability": "nonpayable",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "address",
833
+ "name": "userAddress",
834
+ "type": "address"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "tokenId",
839
+ "type": "uint256"
840
+ }
841
+ ],
842
+ "name": "calculateHealthFactor",
843
+ "outputs": [
844
+ {
845
+ "internalType": "uint256",
846
+ "name": "",
847
+ "type": "uint256"
848
+ }
849
+ ],
850
+ "stateMutability": "view",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "claimCollectorRewards",
856
+ "outputs": [
857
+ {
858
+ "internalType": "uint256",
859
+ "name": "",
860
+ "type": "uint256"
861
+ }
862
+ ],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
868
+ "name": "claimReward",
869
+ "outputs": [
870
+ {
871
+ "internalType": "bool",
872
+ "name": "",
873
+ "type": "bool"
874
+ }
875
+ ],
876
+ "stateMutability": "nonpayable",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
881
+ {
882
+ "internalType": "uint256",
883
+ "name": "tokenId",
884
+ "type": "uint256"
885
+ }
886
+ ],
887
+ "name": "closeLiquidation",
888
+ "outputs": [],
889
+ "stateMutability": "nonpayable",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [
894
+ {
895
+ "internalType": "uint256",
896
+ "name": "amount",
897
+ "type": "uint256"
898
+ }
899
+ ],
900
+ "name": "deposit",
901
+ "outputs": [],
902
+ "stateMutability": "nonpayable",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "uint256",
909
+ "name": "tokenId",
910
+ "type": "uint256"
911
+ }
912
+ ],
913
+ "name": "depositNFT",
914
+ "outputs": [],
915
+ "stateMutability": "nonpayable",
916
+ "type": "function"
917
+ },
918
+ {
919
+ "inputs": [
920
+ {
921
+ "internalType": "uint256",
922
+ "name": "amount",
923
+ "type": "uint256"
924
+ }
925
+ ],
926
+ "name": "depositRewardTokens",
927
+ "outputs": [],
928
+ "stateMutability": "nonpayable",
929
+ "type": "function"
930
+ },
931
+ {
932
+ "inputs": [
933
+ {
934
+ "internalType": "address",
935
+ "name": "userAddress",
936
+ "type": "address"
937
+ },
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "tokenId",
941
+ "type": "uint256"
942
+ }
943
+ ],
944
+ "name": "finalizeLiquidation",
945
+ "outputs": [],
946
+ "stateMutability": "nonpayable",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [
951
+ {
952
+ "internalType": "address",
953
+ "name": "userAddress",
954
+ "type": "address"
955
+ }
956
+ ],
957
+ "name": "getAllUserData",
958
+ "outputs": [
959
+ {
960
+ "components": [
961
+ {
962
+ "internalType": "uint256[]",
963
+ "name": "nftTokenIds",
964
+ "type": "uint256[]"
965
+ },
966
+ {
967
+ "internalType": "uint256",
968
+ "name": "scaledDebtBalance",
969
+ "type": "uint256"
970
+ },
971
+ {
972
+ "internalType": "uint256",
973
+ "name": "collateralValue",
974
+ "type": "uint256"
975
+ },
976
+ {
977
+ "components": [
978
+ {
979
+ "internalType": "uint256",
980
+ "name": "rawDebtBalance",
981
+ "type": "uint256"
982
+ },
983
+ {
984
+ "internalType": "uint256",
985
+ "name": "scaledDebtBalance",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "internalType": "uint256",
990
+ "name": "healthFactor",
991
+ "type": "uint256"
992
+ },
993
+ {
994
+ "internalType": "bool",
995
+ "name": "isUnderLiquidation",
996
+ "type": "bool"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "liquidationStartTime",
1001
+ "type": "uint256"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "positionIndex",
1006
+ "type": "uint256"
1007
+ },
1008
+ {
1009
+ "internalType": "bool",
1010
+ "name": "isInsured",
1011
+ "type": "bool"
1012
+ }
1013
+ ],
1014
+ "internalType": "struct ILendingPool.NFTPositionView[]",
1015
+ "name": "positions",
1016
+ "type": "tuple[]"
1017
+ }
1018
+ ],
1019
+ "internalType": "struct ILendingPool.UserDataView",
1020
+ "name": "",
1021
+ "type": "tuple"
1022
+ }
1023
+ ],
1024
+ "stateMutability": "view",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "inputs": [
1029
+ {
1030
+ "internalType": "uint256",
1031
+ "name": "tokenId",
1032
+ "type": "uint256"
1033
+ }
1034
+ ],
1035
+ "name": "getNFTPrice",
1036
+ "outputs": [
1037
+ {
1038
+ "internalType": "uint256",
1039
+ "name": "",
1040
+ "type": "uint256"
1041
+ }
1042
+ ],
1043
+ "stateMutability": "view",
1044
+ "type": "function"
1045
+ },
1046
+ {
1047
+ "inputs": [],
1048
+ "name": "getNormalizedDebt",
1049
+ "outputs": [
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "",
1053
+ "type": "uint256"
1054
+ }
1055
+ ],
1056
+ "stateMutability": "view",
1057
+ "type": "function"
1058
+ },
1059
+ {
1060
+ "inputs": [],
1061
+ "name": "getNormalizedIncome",
1062
+ "outputs": [
1063
+ {
1064
+ "internalType": "uint256",
1065
+ "name": "",
1066
+ "type": "uint256"
1067
+ }
1068
+ ],
1069
+ "stateMutability": "view",
1070
+ "type": "function"
1071
+ },
1072
+ {
1073
+ "inputs": [
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "user",
1077
+ "type": "address"
1078
+ }
1079
+ ],
1080
+ "name": "getPendingReward",
1081
+ "outputs": [
1082
+ {
1083
+ "internalType": "uint256",
1084
+ "name": "",
1085
+ "type": "uint256"
1086
+ }
1087
+ ],
1088
+ "stateMutability": "view",
1089
+ "type": "function"
1090
+ },
1091
+ {
1092
+ "inputs": [
1093
+ {
1094
+ "internalType": "address",
1095
+ "name": "userAddress",
1096
+ "type": "address"
1097
+ },
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "tokenId",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "name": "getPosition",
1105
+ "outputs": [
1106
+ {
1107
+ "components": [
1108
+ {
1109
+ "internalType": "uint256",
1110
+ "name": "rawDebtBalance",
1111
+ "type": "uint256"
1112
+ },
1113
+ {
1114
+ "internalType": "bool",
1115
+ "name": "isUnderLiquidation",
1116
+ "type": "bool"
1117
+ },
1118
+ {
1119
+ "internalType": "uint256",
1120
+ "name": "liquidationStartTime",
1121
+ "type": "uint256"
1122
+ },
1123
+ {
1124
+ "internalType": "uint256",
1125
+ "name": "positionIndex",
1126
+ "type": "uint256"
1127
+ },
1128
+ {
1129
+ "internalType": "bool",
1130
+ "name": "isInsured",
1131
+ "type": "bool"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "rawInsuredBalance",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "internalType": "struct ILendingPool.NFTPosition",
1140
+ "name": "",
1141
+ "type": "tuple"
1142
+ }
1143
+ ],
1144
+ "stateMutability": "view",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "internalType": "address",
1151
+ "name": "userAddress",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "tokenId",
1157
+ "type": "uint256"
1158
+ }
1159
+ ],
1160
+ "name": "getPositionData",
1161
+ "outputs": [
1162
+ {
1163
+ "internalType": "uint256",
1164
+ "name": "",
1165
+ "type": "uint256"
1166
+ },
1167
+ {
1168
+ "internalType": "uint256",
1169
+ "name": "",
1170
+ "type": "uint256"
1171
+ }
1172
+ ],
1173
+ "stateMutability": "view",
1174
+ "type": "function"
1175
+ },
1176
+ {
1177
+ "inputs": [
1178
+ {
1179
+ "internalType": "address",
1180
+ "name": "userAddress",
1181
+ "type": "address"
1182
+ },
1183
+ {
1184
+ "internalType": "uint256",
1185
+ "name": "tokenId",
1186
+ "type": "uint256"
1187
+ }
1188
+ ],
1189
+ "name": "getPositionDebt",
1190
+ "outputs": [
1191
+ {
1192
+ "internalType": "uint256",
1193
+ "name": "",
1194
+ "type": "uint256"
1195
+ }
1196
+ ],
1197
+ "stateMutability": "view",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "userAddress",
1205
+ "type": "address"
1206
+ },
1207
+ {
1208
+ "internalType": "uint256",
1209
+ "name": "tokenId",
1210
+ "type": "uint256"
1211
+ }
1212
+ ],
1213
+ "name": "getPositionScaledDebt",
1214
+ "outputs": [
1215
+ {
1216
+ "internalType": "uint256",
1217
+ "name": "",
1218
+ "type": "uint256"
1219
+ }
1220
+ ],
1221
+ "stateMutability": "view",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "address",
1228
+ "name": "userAddress",
1229
+ "type": "address"
1230
+ }
1231
+ ],
1232
+ "name": "getPositionsScaledDebt",
1233
+ "outputs": [
1234
+ {
1235
+ "internalType": "uint256",
1236
+ "name": "",
1237
+ "type": "uint256"
1238
+ }
1239
+ ],
1240
+ "stateMutability": "view",
1241
+ "type": "function"
1242
+ },
1243
+ {
1244
+ "inputs": [],
1245
+ "name": "getRAACNFTAddress",
1246
+ "outputs": [
1247
+ {
1248
+ "internalType": "address",
1249
+ "name": "",
1250
+ "type": "address"
1251
+ }
1252
+ ],
1253
+ "stateMutability": "view",
1254
+ "type": "function"
1255
+ },
1256
+ {
1257
+ "inputs": [
1258
+ {
1259
+ "internalType": "address",
1260
+ "name": "userAddress",
1261
+ "type": "address"
1262
+ }
1263
+ ],
1264
+ "name": "getUserCollateralValue",
1265
+ "outputs": [
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "",
1269
+ "type": "uint256"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [
1277
+ {
1278
+ "internalType": "address",
1279
+ "name": "userAddress",
1280
+ "type": "address"
1281
+ }
1282
+ ],
1283
+ "name": "getUserDebt",
1284
+ "outputs": [
1285
+ {
1286
+ "internalType": "uint256",
1287
+ "name": "",
1288
+ "type": "uint256"
1289
+ }
1290
+ ],
1291
+ "stateMutability": "view",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [
1296
+ {
1297
+ "internalType": "address",
1298
+ "name": "userAddress",
1299
+ "type": "address"
1300
+ },
1301
+ {
1302
+ "internalType": "uint256",
1303
+ "name": "tokenId",
1304
+ "type": "uint256"
1305
+ }
1306
+ ],
1307
+ "name": "initiateLiquidation",
1308
+ "outputs": [],
1309
+ "stateMutability": "nonpayable",
1310
+ "type": "function"
1311
+ },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "address",
1316
+ "name": "operator",
1317
+ "type": "address"
1318
+ },
1319
+ {
1320
+ "internalType": "address",
1321
+ "name": "from",
1322
+ "type": "address"
1323
+ },
1324
+ {
1325
+ "internalType": "uint256",
1326
+ "name": "tokenId",
1327
+ "type": "uint256"
1328
+ },
1329
+ {
1330
+ "internalType": "bytes",
1331
+ "name": "data",
1332
+ "type": "bytes"
1333
+ }
1334
+ ],
1335
+ "name": "onERC721Received",
1336
+ "outputs": [
1337
+ {
1338
+ "internalType": "bytes4",
1339
+ "name": "",
1340
+ "type": "bytes4"
1341
+ }
1342
+ ],
1343
+ "stateMutability": "nonpayable",
1344
+ "type": "function"
1345
+ },
1346
+ {
1347
+ "inputs": [
1348
+ {
1349
+ "internalType": "uint256",
1350
+ "name": "tokenId",
1351
+ "type": "uint256"
1352
+ },
1353
+ {
1354
+ "internalType": "uint256",
1355
+ "name": "amount",
1356
+ "type": "uint256"
1357
+ }
1358
+ ],
1359
+ "name": "repay",
1360
+ "outputs": [],
1361
+ "stateMutability": "nonpayable",
1362
+ "type": "function"
1363
+ },
1364
+ {
1365
+ "inputs": [
1366
+ {
1367
+ "internalType": "uint256",
1368
+ "name": "tokenId",
1369
+ "type": "uint256"
1370
+ },
1371
+ {
1372
+ "internalType": "uint256",
1373
+ "name": "amount",
1374
+ "type": "uint256"
1375
+ },
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "onBehalfOf",
1379
+ "type": "address"
1380
+ }
1381
+ ],
1382
+ "name": "repayOnBehalf",
1383
+ "outputs": [],
1384
+ "stateMutability": "nonpayable",
1385
+ "type": "function"
1386
+ },
1387
+ {
1388
+ "inputs": [
1389
+ {
1390
+ "internalType": "enum ILendingPool.OwnerParameter",
1391
+ "name": "param",
1392
+ "type": "uint8"
1393
+ },
1394
+ {
1395
+ "internalType": "uint256",
1396
+ "name": "newValue",
1397
+ "type": "uint256"
1398
+ }
1399
+ ],
1400
+ "name": "setParameter",
1401
+ "outputs": [],
1402
+ "stateMutability": "nonpayable",
1403
+ "type": "function"
1404
+ },
1405
+ {
1406
+ "inputs": [
1407
+ {
1408
+ "internalType": "uint256",
1409
+ "name": "newPrimeRate",
1410
+ "type": "uint256"
1411
+ }
1412
+ ],
1413
+ "name": "setPrimeRate",
1414
+ "outputs": [],
1415
+ "stateMutability": "nonpayable",
1416
+ "type": "function"
1417
+ },
1418
+ {
1419
+ "inputs": [
1420
+ {
1421
+ "internalType": "address",
1422
+ "name": "newStabilityPool",
1423
+ "type": "address"
1424
+ }
1425
+ ],
1426
+ "name": "setStabilityPool",
1427
+ "outputs": [],
1428
+ "stateMutability": "nonpayable",
1429
+ "type": "function"
1430
+ },
1431
+ {
1432
+ "inputs": [
1433
+ {
1434
+ "internalType": "address",
1435
+ "name": "recipient",
1436
+ "type": "address"
1437
+ },
1438
+ {
1439
+ "internalType": "uint256",
1440
+ "name": "amountUnderlying",
1441
+ "type": "uint256"
1442
+ }
1443
+ ],
1444
+ "name": "transferAccruedDust",
1445
+ "outputs": [],
1446
+ "stateMutability": "nonpayable",
1447
+ "type": "function"
1448
+ },
1449
+ {
1450
+ "inputs": [],
1451
+ "name": "updateState",
1452
+ "outputs": [],
1453
+ "stateMutability": "nonpayable",
1454
+ "type": "function"
1455
+ },
1456
+ {
1457
+ "inputs": [
1458
+ {
1459
+ "internalType": "address",
1460
+ "name": "user",
1461
+ "type": "address"
1462
+ }
1463
+ ],
1464
+ "name": "updateUserReward",
1465
+ "outputs": [],
1466
+ "stateMutability": "nonpayable",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "uint256",
1473
+ "name": "amount",
1474
+ "type": "uint256"
1475
+ }
1476
+ ],
1477
+ "name": "withdraw",
1478
+ "outputs": [],
1479
+ "stateMutability": "nonpayable",
1480
+ "type": "function"
1481
+ },
1482
+ {
1483
+ "inputs": [
1484
+ {
1485
+ "internalType": "uint256",
1486
+ "name": "tokenId",
1487
+ "type": "uint256"
1488
+ }
1489
+ ],
1490
+ "name": "withdrawNFT",
1491
+ "outputs": [],
1492
+ "stateMutability": "nonpayable",
1493
+ "type": "function"
1494
+ }
1495
+ ],
1496
+ "bytecode": "0x",
1497
+ "deployedBytecode": "0x",
1498
+ "linkReferences": {},
1499
+ "deployedLinkReferences": {}
1500
+ }