@raac/rpc 1.0.2-beta.2 → 1.0.2-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 (628) hide show
  1. package/RPCLibrary.ts +449 -0
  2. package/assets/getAsset.ts +28 -0
  3. package/assets/getAssets.ts +30 -0
  4. package/assets/getSupply.ts +23 -0
  5. package/configs/chains/11155111.json +132 -0
  6. package/configs/chains/17000.json +128 -0
  7. package/configs/chains/8453.json +128 -0
  8. package/configs/chains/chain.d.ts +95 -0
  9. package/configs/chains/index.ts +17 -0
  10. package/configs/chains/list.json +1 -0
  11. package/configs/createConfig.ts +97 -0
  12. package/configs/index.ts +51 -0
  13. package/contracts/crvUSDToken/getBalance.ts +23 -0
  14. package/contracts/crvUSDToken/getTotalSupply.ts +36 -0
  15. package/contracts/feeCollector/claimRewardFromPool.ts +33 -0
  16. package/contracts/getContract.ts +21 -0
  17. package/contracts/getContractAddress.ts +61 -0
  18. package/contracts/housePrices/getLatestPrice.ts +38 -0
  19. package/contracts/housePrices/setOracle.ts +40 -0
  20. package/contracts/indexToken/getNextRandomNFT.ts +38 -0
  21. package/contracts/indexToken/redeemNFT.ts +65 -0
  22. package/contracts/rcrvUSDToken/getBalance.ts +23 -0
  23. package/contracts/rcrvUSDToken/getTotalSupply.ts +39 -0
  24. package/contracts/zeno/createAuction.ts +57 -0
  25. package/contracts/zeno/createZeno.ts +47 -0
  26. package/contracts/zeno/getAuctions.ts +38 -0
  27. package/contracts/zeno/getZenos.ts +38 -0
  28. package/custom-types.d.ts +20 -0
  29. package/index.ts +3 -0
  30. package/methods/approveToken.ts +47 -0
  31. package/methods/commons/checkAllowance.ts +36 -0
  32. package/methods/commons/estimateGasPrice.ts +26 -0
  33. package/methods/debug/mintToken.js +83 -0
  34. package/methods/getAssetBalance.ts +48 -0
  35. package/methods/getAssetsBalance.ts +9 -0
  36. package/minter/get.ts +150 -0
  37. package/minter/getApy.ts +37 -0
  38. package/minter/tick.ts +40 -0
  39. package/nfts/getAllTokens.ts +51 -0
  40. package/nfts/getBaseUri.ts +32 -0
  41. package/nfts/getHousePrice.ts +30 -0
  42. package/nfts/getMintFeePercentage.ts +33 -0
  43. package/nfts/getMintPrice.ts +46 -0
  44. package/nfts/getTokenURI.ts +35 -0
  45. package/nfts/getTokensByOwner.ts +51 -0
  46. package/nfts/getTotalPropertiesCount.ts +33 -0
  47. package/nfts/mint.ts +42 -0
  48. package/nfts/setBaseUri.ts +33 -0
  49. package/nfts/totalNFTSupply.ts +26 -0
  50. package/package.json +1 -4
  51. package/pools/lendingPool/borrowFromLendingPool.ts +41 -0
  52. package/pools/lendingPool/borrowFromLendingPoolWithInsurance.ts +80 -0
  53. package/pools/lendingPool/calculateInsuranceFee.ts +38 -0
  54. package/pools/lendingPool/claimReward.ts +30 -0
  55. package/pools/lendingPool/closeLiquidation.ts +40 -0
  56. package/pools/lendingPool/depositNFTToLendingPool.ts +69 -0
  57. package/pools/lendingPool/depositToLendingPool.ts +52 -0
  58. package/pools/lendingPool/getAllUserData.ts +47 -0
  59. package/pools/lendingPool/getEligibleUserDeposits.ts +39 -0
  60. package/pools/lendingPool/getHealthFactor.ts +43 -0
  61. package/pools/lendingPool/getHousePrice.ts +46 -0
  62. package/pools/lendingPool/getLendingPoolInfo.ts +157 -0
  63. package/pools/lendingPool/getLendingPoolTotalLiquidity.ts +32 -0
  64. package/pools/lendingPool/getPendingReward.ts +32 -0
  65. package/pools/lendingPool/getPositionDebt.ts +40 -0
  66. package/pools/lendingPool/getPositionScaledDebt.ts +43 -0
  67. package/pools/lendingPool/getPositionView.ts +52 -0
  68. package/pools/lendingPool/getPositionsScaledDebt.ts +39 -0
  69. package/pools/lendingPool/getRawUserDepositsInLendingPool.ts +33 -0
  70. package/pools/lendingPool/getUserCollateralValue.ts +39 -0
  71. package/pools/lendingPool/initializeLiquidation.ts +41 -0
  72. package/pools/lendingPool/repayToLendingPool.ts +38 -0
  73. package/pools/lendingPool/withdrawFromLendingPool.ts +68 -0
  74. package/pools/lendingPool/withdrawNFTFromLendingPool.ts +39 -0
  75. package/pools/liquidityPool/getLiquidityPoolInfo.ts +91 -0
  76. package/pools/stabilityPool/calculateRAACRewards.ts +36 -0
  77. package/pools/stabilityPool/depositNFTToStabilityPool.ts +67 -0
  78. package/pools/stabilityPool/depositToStabilityPool.ts +47 -0
  79. package/pools/stabilityPool/getRawUserDepositsInStabilityPool.ts +35 -0
  80. package/pools/stabilityPool/getStabilityPoolInfo.ts +111 -0
  81. package/pools/stabilityPool/getStabilityPoolTotalDeposits.ts +27 -0
  82. package/pools/stabilityPool/withdrawFromStabilityPool.ts +47 -0
  83. package/scripts/index.ts +236 -0
  84. package/sync-contracts.sh +80 -0
  85. package/tests/test.ts +40 -0
  86. package/tsconfig.dts.json +12 -0
  87. package/tsconfig.json +115 -0
  88. package/typechain-types/@chainlink/contracts/index.d.ts +2 -0
  89. package/typechain-types/@chainlink/contracts/src/index.d.ts +2 -0
  90. package/typechain-types/@chainlink/contracts/src/v0.8/functions/index.d.ts +2 -0
  91. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.d.ts +67 -0
  92. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +5 -0
  93. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient.d.ts +37 -0
  94. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter.d.ts +205 -0
  95. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
  96. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.d.ts +25 -0
  97. package/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
  98. package/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +6 -0
  99. package/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.d.ts +69 -0
  100. package/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal.d.ts +69 -0
  101. package/typechain-types/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
  102. package/typechain-types/@chainlink/contracts/src/v0.8/shared/index.d.ts +4 -0
  103. package/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable.d.ts +37 -0
  104. package/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
  105. package/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
  106. package/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
  107. package/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
  108. package/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  109. package/typechain-types/@chainlink/index.d.ts +2 -0
  110. package/typechain-types/@openzeppelin/contracts/access/AccessControl.d.ts +159 -0
  111. package/typechain-types/@openzeppelin/contracts/access/IAccessControl.d.ts +147 -0
  112. package/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts +54 -0
  113. package/typechain-types/@openzeppelin/contracts/access/index.d.ts +3 -0
  114. package/typechain-types/@openzeppelin/contracts/index.d.ts +8 -0
  115. package/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.d.ts +78 -0
  116. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.d.ts +20 -0
  117. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.d.ts +20 -0
  118. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.d.ts +20 -0
  119. package/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
  120. package/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +3 -0
  121. package/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts +141 -0
  122. package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +129 -0
  123. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.d.ts +236 -0
  124. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +141 -0
  125. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.d.ts +61 -0
  126. package/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
  127. package/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts +6 -0
  128. package/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts +20 -0
  129. package/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
  130. package/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts +211 -0
  131. package/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +199 -0
  132. package/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721Receiver.d.ts +39 -0
  133. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.d.ts +233 -0
  134. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.d.ts +221 -0
  135. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.d.ts +211 -0
  136. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
  137. package/typechain-types/@openzeppelin/contracts/token/ERC721/index.d.ts +7 -0
  138. package/typechain-types/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.d.ts +39 -0
  139. package/typechain-types/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
  140. package/typechain-types/@openzeppelin/contracts/token/index.d.ts +4 -0
  141. package/typechain-types/@openzeppelin/contracts/utils/Address.d.ts +20 -0
  142. package/typechain-types/@openzeppelin/contracts/utils/Nonces.d.ts +25 -0
  143. package/typechain-types/@openzeppelin/contracts/utils/Pausable.d.ts +55 -0
  144. package/typechain-types/@openzeppelin/contracts/utils/ReentrancyGuard.d.ts +20 -0
  145. package/typechain-types/@openzeppelin/contracts/utils/ShortStrings.d.ts +20 -0
  146. package/typechain-types/@openzeppelin/contracts/utils/Strings.d.ts +20 -0
  147. package/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.d.ts +20 -0
  148. package/typechain-types/@openzeppelin/contracts/utils/cryptography/EIP712.d.ts +78 -0
  149. package/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
  150. package/typechain-types/@openzeppelin/contracts/utils/index.d.ts +12 -0
  151. package/typechain-types/@openzeppelin/contracts/utils/introspection/ERC165.d.ts +29 -0
  152. package/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +29 -0
  153. package/typechain-types/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  154. package/typechain-types/@openzeppelin/contracts/utils/math/Math.d.ts +20 -0
  155. package/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.d.ts +20 -0
  156. package/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
  157. package/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +68 -0
  158. package/typechain-types/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
  159. package/typechain-types/@openzeppelin/contracts-upgradeable/index.d.ts +6 -0
  160. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +2 -0
  161. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +36 -0
  162. package/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  163. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +36 -0
  164. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.d.ts +69 -0
  165. package/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
  166. package/typechain-types/@openzeppelin/index.d.ts +4 -0
  167. package/typechain-types/common.d.ts +50 -0
  168. package/typechain-types/contracts/core/collectors/FeeCollector.d.ts +933 -0
  169. package/typechain-types/contracts/core/collectors/Treasury.d.ts +283 -0
  170. package/typechain-types/contracts/core/collectors/index.d.ts +2 -0
  171. package/typechain-types/contracts/core/governance/boost/BoostController.d.ts +573 -0
  172. package/typechain-types/contracts/core/governance/boost/index.d.ts +1 -0
  173. package/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +779 -0
  174. package/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +815 -0
  175. package/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +803 -0
  176. package/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +807 -0
  177. package/typechain-types/contracts/core/governance/gauges/index.d.ts +4 -0
  178. package/typechain-types/contracts/core/governance/index.d.ts +6 -0
  179. package/typechain-types/contracts/core/governance/proposals/Governance.d.ts +612 -0
  180. package/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts +447 -0
  181. package/typechain-types/contracts/core/governance/proposals/index.d.ts +2 -0
  182. package/typechain-types/contracts/core/index.d.ts +14 -0
  183. package/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +791 -0
  184. package/typechain-types/contracts/core/minters/RAACMinter/index.d.ts +1 -0
  185. package/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +493 -0
  186. package/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  187. package/typechain-types/contracts/core/minters/index.d.ts +4 -0
  188. package/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +165 -0
  189. package/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
  190. package/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +188 -0
  191. package/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +195 -0
  192. package/typechain-types/contracts/core/oracles/index.d.ts +4 -0
  193. package/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +1647 -0
  194. package/typechain-types/contracts/core/pools/LendingPool/index.d.ts +1 -0
  195. package/typechain-types/contracts/core/pools/StabilityPool/NFTLiquidator.d.ts +283 -0
  196. package/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +576 -0
  197. package/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +2 -0
  198. package/typechain-types/contracts/core/pools/index.d.ts +4 -0
  199. package/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +138 -0
  200. package/typechain-types/contracts/core/primitives/index.d.ts +1 -0
  201. package/typechain-types/contracts/core/tokens/DEToken.d.ts +384 -0
  202. package/typechain-types/contracts/core/tokens/DebtToken.d.ts +429 -0
  203. package/typechain-types/contracts/core/tokens/IndexToken.d.ts +340 -0
  204. package/typechain-types/contracts/core/tokens/LPToken.d.ts +224 -0
  205. package/typechain-types/contracts/core/tokens/RAACNFT.d.ts +728 -0
  206. package/typechain-types/contracts/core/tokens/RAACToken.d.ts +401 -0
  207. package/typechain-types/contracts/core/tokens/RToken.d.ts +567 -0
  208. package/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +816 -0
  209. package/typechain-types/contracts/core/tokens/index.d.ts +8 -0
  210. package/typechain-types/contracts/index.d.ts +10 -0
  211. package/typechain-types/contracts/interfaces/IERC20.d.ts +129 -0
  212. package/typechain-types/contracts/interfaces/IHousePrices.d.ts +29 -0
  213. package/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +73 -0
  214. package/typechain-types/contracts/interfaces/IPoolManager.d.ts +37 -0
  215. package/typechain-types/contracts/interfaces/IReserveAllocationLibraryMock.d.ts +164 -0
  216. package/typechain-types/contracts/interfaces/IUSDC.d.ts +129 -0
  217. package/typechain-types/contracts/interfaces/IveRAACDistributor.d.ts +59 -0
  218. package/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
  219. package/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +487 -0
  220. package/typechain-types/contracts/interfaces/core/collectors/ITreasury.d.ts +139 -0
  221. package/typechain-types/contracts/interfaces/core/collectors/index.d.ts +3 -0
  222. package/typechain-types/contracts/interfaces/core/governance/IBoostController.d.ts +269 -0
  223. package/typechain-types/contracts/interfaces/core/governance/gauges/IGauge.d.ts +235 -0
  224. package/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +341 -0
  225. package/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
  226. package/typechain-types/contracts/interfaces/core/governance/index.d.ts +5 -0
  227. package/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +577 -0
  228. package/typechain-types/contracts/interfaces/core/governance/proposals/ITimelockController.d.ts +279 -0
  229. package/typechain-types/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
  230. package/typechain-types/contracts/interfaces/core/index.d.ts +14 -0
  231. package/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +352 -0
  232. package/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
  233. package/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +237 -0
  234. package/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  235. package/typechain-types/contracts/interfaces/core/minters/index.d.ts +4 -0
  236. package/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
  237. package/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +110 -0
  238. package/typechain-types/contracts/interfaces/core/oracles/index.d.ts +2 -0
  239. package/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +185 -0
  240. package/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +982 -0
  241. package/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
  242. package/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +371 -0
  243. package/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
  244. package/typechain-types/contracts/interfaces/core/pools/index.d.ts +5 -0
  245. package/typechain-types/contracts/interfaces/core/tokens/IDEToken.d.ts +226 -0
  246. package/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +291 -0
  247. package/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
  248. package/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +505 -0
  249. package/typechain-types/contracts/interfaces/core/tokens/IRAACToken.d.ts +346 -0
  250. package/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +397 -0
  251. package/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +362 -0
  252. package/typechain-types/contracts/interfaces/core/tokens/index.d.ts +7 -0
  253. package/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
  254. package/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
  255. package/typechain-types/contracts/interfaces/curve/ICurveCrvUSDVault.d.ts +144 -0
  256. package/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
  257. package/typechain-types/contracts/interfaces/index.d.ts +13 -0
  258. package/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +122 -0
  259. package/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +186 -0
  260. package/typechain-types/contracts/interfaces/zeno/index.d.ts +2 -0
  261. package/typechain-types/contracts/libraries/governance/BoostCalculator.d.ts +42 -0
  262. package/typechain-types/contracts/libraries/governance/Checkpoints.d.ts +55 -0
  263. package/typechain-types/contracts/libraries/governance/LockManager.d.ts +87 -0
  264. package/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +60 -0
  265. package/typechain-types/contracts/libraries/governance/RAACVoting.d.ts +45 -0
  266. package/typechain-types/contracts/libraries/governance/VotingPowerLib.d.ts +66 -0
  267. package/typechain-types/contracts/libraries/governance/index.d.ts +6 -0
  268. package/typechain-types/contracts/libraries/index.d.ts +8 -0
  269. package/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +104 -0
  270. package/typechain-types/contracts/libraries/math/index.d.ts +1 -0
  271. package/typechain-types/contracts/libraries/pools/ReserveLibrary.d.ts +124 -0
  272. package/typechain-types/contracts/libraries/pools/index.d.ts +1 -0
  273. package/typechain-types/contracts/libraries/utils/StringUtils.d.ts +20 -0
  274. package/typechain-types/contracts/libraries/utils/index.d.ts +1 -0
  275. package/typechain-types/contracts/mocks/core/collectors/MockTreasury.d.ts +169 -0
  276. package/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
  277. package/typechain-types/contracts/mocks/core/governance/gauges/MockBaseGauge.d.ts +845 -0
  278. package/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +29 -0
  279. package/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
  280. package/typechain-types/contracts/mocks/core/governance/index.d.ts +4 -0
  281. package/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +76 -0
  282. package/typechain-types/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
  283. package/typechain-types/contracts/mocks/core/index.d.ts +14 -0
  284. package/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.d.ts +41 -0
  285. package/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +45 -0
  286. package/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
  287. package/typechain-types/contracts/mocks/core/oracles/MockOracle.d.ts +43 -0
  288. package/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
  289. package/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +204 -0
  290. package/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +211 -0
  291. package/typechain-types/contracts/mocks/core/oracles/index.d.ts +6 -0
  292. package/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +121 -0
  293. package/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
  294. package/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +994 -0
  295. package/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
  296. package/typechain-types/contracts/mocks/core/pools/MockPool.d.ts +55 -0
  297. package/typechain-types/contracts/mocks/core/pools/MockStabilityPool.d.ts +69 -0
  298. package/typechain-types/contracts/mocks/core/pools/index.d.ts +6 -0
  299. package/typechain-types/contracts/mocks/core/primitives/MockContract.d.ts +29 -0
  300. package/typechain-types/contracts/mocks/core/primitives/MockContractWithConfig.d.ts +39 -0
  301. package/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
  302. package/typechain-types/contracts/mocks/core/primitives/RAACHousePricesMock.d.ts +47 -0
  303. package/typechain-types/contracts/mocks/core/primitives/index.d.ts +4 -0
  304. package/typechain-types/contracts/mocks/core/tokens/CrvUSDToken.d.ts +212 -0
  305. package/typechain-types/contracts/mocks/core/tokens/ERC20Mock.d.ts +155 -0
  306. package/typechain-types/contracts/mocks/core/tokens/ERC721Mock.d.ts +229 -0
  307. package/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
  308. package/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +220 -0
  309. package/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +191 -0
  310. package/typechain-types/contracts/mocks/core/tokens/MockUSDC.d.ts +155 -0
  311. package/typechain-types/contracts/mocks/core/tokens/MockVeToken.d.ts +510 -0
  312. package/typechain-types/contracts/mocks/core/tokens/RAACMockERC20.d.ts +186 -0
  313. package/typechain-types/contracts/mocks/core/tokens/index.d.ts +9 -0
  314. package/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
  315. package/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
  316. package/typechain-types/contracts/mocks/index.d.ts +6 -0
  317. package/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
  318. package/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +275 -0
  319. package/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts +83 -0
  320. package/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +163 -0
  321. package/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +141 -0
  322. package/typechain-types/contracts/mocks/libraries/governance/RAACVotingMock.d.ts +41 -0
  323. package/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts +281 -0
  324. package/typechain-types/contracts/mocks/libraries/governance/index.d.ts +6 -0
  325. package/typechain-types/contracts/mocks/libraries/index.d.ts +7 -0
  326. package/typechain-types/contracts/mocks/libraries/math/TimeWeightedAverageMock.d.ts +203 -0
  327. package/typechain-types/contracts/mocks/libraries/math/WadRayMathMock.d.ts +78 -0
  328. package/typechain-types/contracts/mocks/libraries/math/index.d.ts +2 -0
  329. package/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMock.d.ts +225 -0
  330. package/typechain-types/contracts/mocks/libraries/pools/index.d.ts +1 -0
  331. package/typechain-types/contracts/mocks/tests/MaliciousDeposit.d.ts +29 -0
  332. package/typechain-types/contracts/mocks/tests/MaliciousWithdraw.d.ts +29 -0
  333. package/typechain-types/contracts/mocks/tests/VeRAACFuzzHelper.d.ts +71 -0
  334. package/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.d.ts +25 -0
  335. package/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.d.ts +100 -0
  336. package/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
  337. package/typechain-types/contracts/mocks/tests/index.d.ts +5 -0
  338. package/typechain-types/contracts/zeno/Auction.d.ts +215 -0
  339. package/typechain-types/contracts/zeno/AuctionFactory.d.ts +177 -0
  340. package/typechain-types/contracts/zeno/ZENO.d.ts +237 -0
  341. package/typechain-types/contracts/zeno/ZENOFactory.d.ts +151 -0
  342. package/typechain-types/contracts/zeno/index.d.ts +4 -0
  343. package/typechain-types/factories/@chainlink/contracts/index.d.ts +1 -0
  344. package/typechain-types/factories/@chainlink/contracts/src/index.d.ts +1 -0
  345. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/index.d.ts +1 -0
  346. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient__factory.d.ts +49 -0
  347. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +3 -0
  348. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient__factory.d.ts +25 -0
  349. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter__factory.d.ts +268 -0
  350. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
  351. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +48 -0
  352. package/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
  353. package/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +3 -0
  354. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +90 -0
  355. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +86 -0
  356. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
  357. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/index.d.ts +2 -0
  358. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable__factory.d.ts +33 -0
  359. package/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
  360. package/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -0
  361. package/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
  362. package/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
  363. package/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  364. package/typechain-types/factories/@chainlink/index.d.ts +1 -0
  365. package/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.d.ts +181 -0
  366. package/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.d.ts +157 -0
  367. package/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts +64 -0
  368. package/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +3 -0
  369. package/typechain-types/factories/@openzeppelin/contracts/index.d.ts +4 -0
  370. package/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.d.ts +46 -0
  371. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.d.ts +83 -0
  372. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.d.ts +71 -0
  373. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.d.ts +83 -0
  374. package/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
  375. package/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
  376. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +241 -0
  377. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +147 -0
  378. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit__factory.d.ts +402 -0
  379. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +177 -0
  380. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.d.ts +65 -0
  381. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
  382. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +4 -0
  383. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +46 -0
  384. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
  385. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.d.ts +337 -0
  386. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.d.ts +33 -0
  387. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +227 -0
  388. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable__factory.d.ts +395 -0
  389. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable__factory.d.ts +269 -0
  390. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.d.ts +261 -0
  391. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
  392. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +5 -0
  393. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder__factory.d.ts +33 -0
  394. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
  395. package/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts +2 -0
  396. package/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +42 -0
  397. package/typechain-types/factories/@openzeppelin/contracts/utils/Nonces__factory.d.ts +33 -0
  398. package/typechain-types/factories/@openzeppelin/contracts/utils/Pausable__factory.d.ts +45 -0
  399. package/typechain-types/factories/@openzeppelin/contracts/utils/ReentrancyGuard__factory.d.ts +11 -0
  400. package/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +34 -0
  401. package/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +34 -0
  402. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +42 -0
  403. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory.d.ts +58 -0
  404. package/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
  405. package/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +9 -0
  406. package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.d.ts +21 -0
  407. package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +21 -0
  408. package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  409. package/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +26 -0
  410. package/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +62 -0
  411. package/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
  412. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +82 -0
  413. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
  414. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.d.ts +3 -0
  415. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +1 -0
  416. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +25 -0
  417. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  418. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +25 -0
  419. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable__factory.d.ts +63 -0
  420. package/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
  421. package/typechain-types/factories/@openzeppelin/index.d.ts +2 -0
  422. package/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +1362 -0
  423. package/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +386 -0
  424. package/typechain-types/factories/contracts/core/collectors/index.d.ts +2 -0
  425. package/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +716 -0
  426. package/typechain-types/factories/contracts/core/governance/boost/index.d.ts +1 -0
  427. package/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +1083 -0
  428. package/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1124 -0
  429. package/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1154 -0
  430. package/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1154 -0
  431. package/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +4 -0
  432. package/typechain-types/factories/contracts/core/governance/index.d.ts +3 -0
  433. package/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +976 -0
  434. package/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +773 -0
  435. package/typechain-types/factories/contracts/core/governance/proposals/index.d.ts +2 -0
  436. package/typechain-types/factories/contracts/core/index.d.ts +7 -0
  437. package/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1132 -0
  438. package/typechain-types/factories/contracts/core/minters/RAACMinter/index.d.ts +1 -0
  439. package/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +680 -0
  440. package/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  441. package/typechain-types/factories/contracts/core/minters/index.d.ts +2 -0
  442. package/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +205 -0
  443. package/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
  444. package/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +275 -0
  445. package/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +286 -0
  446. package/typechain-types/factories/contracts/core/oracles/index.d.ts +4 -0
  447. package/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +2160 -0
  448. package/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +1 -0
  449. package/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +390 -0
  450. package/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +897 -0
  451. package/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +2 -0
  452. package/typechain-types/factories/contracts/core/pools/index.d.ts +2 -0
  453. package/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +231 -0
  454. package/typechain-types/factories/contracts/core/primitives/index.d.ts +1 -0
  455. package/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +671 -0
  456. package/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +747 -0
  457. package/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +602 -0
  458. package/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +401 -0
  459. package/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +1143 -0
  460. package/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +652 -0
  461. package/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +941 -0
  462. package/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1264 -0
  463. package/typechain-types/factories/contracts/core/tokens/index.d.ts +8 -0
  464. package/typechain-types/factories/contracts/index.d.ts +5 -0
  465. package/typechain-types/factories/contracts/interfaces/IERC20__factory.d.ts +147 -0
  466. package/typechain-types/factories/contracts/interfaces/IHousePrices__factory.d.ts +21 -0
  467. package/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +65 -0
  468. package/typechain-types/factories/contracts/interfaces/IPoolManager__factory.d.ts +43 -0
  469. package/typechain-types/factories/contracts/interfaces/IReserveAllocationLibraryMock__factory.d.ts +189 -0
  470. package/typechain-types/factories/contracts/interfaces/IUSDC__factory.d.ts +147 -0
  471. package/typechain-types/factories/contracts/interfaces/IveRAACDistributor__factory.d.ts +75 -0
  472. package/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
  473. package/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +715 -0
  474. package/typechain-types/factories/contracts/interfaces/core/collectors/ITreasury__factory.d.ts +165 -0
  475. package/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +3 -0
  476. package/typechain-types/factories/contracts/interfaces/core/governance/IBoostController__factory.d.ts +295 -0
  477. package/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +449 -0
  478. package/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGauge__factory.d.ts +307 -0
  479. package/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
  480. package/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +3 -0
  481. package/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +878 -0
  482. package/typechain-types/factories/contracts/interfaces/core/governance/proposals/ITimelockController__factory.d.ts +468 -0
  483. package/typechain-types/factories/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
  484. package/typechain-types/factories/contracts/interfaces/core/index.d.ts +7 -0
  485. package/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +424 -0
  486. package/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
  487. package/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +279 -0
  488. package/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  489. package/typechain-types/factories/contracts/interfaces/core/minters/index.d.ts +2 -0
  490. package/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +78 -0
  491. package/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +146 -0
  492. package/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +2 -0
  493. package/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +233 -0
  494. package/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +1170 -0
  495. package/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
  496. package/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +481 -0
  497. package/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
  498. package/typechain-types/factories/contracts/interfaces/core/pools/index.d.ts +3 -0
  499. package/typechain-types/factories/contracts/interfaces/core/tokens/IDEToken__factory.d.ts +256 -0
  500. package/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +392 -0
  501. package/typechain-types/factories/contracts/interfaces/core/tokens/IIndexToken__factory.d.ts +227 -0
  502. package/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +627 -0
  503. package/typechain-types/factories/contracts/interfaces/core/tokens/IRAACToken__factory.d.ts +436 -0
  504. package/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +496 -0
  505. package/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +435 -0
  506. package/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +7 -0
  507. package/typechain-types/factories/contracts/interfaces/core/vaults/IBaseVault__factory.d.ts +137 -0
  508. package/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
  509. package/typechain-types/factories/contracts/interfaces/curve/ICurveCrvUSDVault__factory.d.ts +194 -0
  510. package/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
  511. package/typechain-types/factories/contracts/interfaces/index.d.ts +10 -0
  512. package/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +126 -0
  513. package/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +246 -0
  514. package/typechain-types/factories/contracts/interfaces/zeno/index.d.ts +2 -0
  515. package/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +54 -0
  516. package/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +68 -0
  517. package/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +111 -0
  518. package/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +69 -0
  519. package/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +92 -0
  520. package/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +74 -0
  521. package/typechain-types/factories/contracts/libraries/governance/index.d.ts +6 -0
  522. package/typechain-types/factories/contracts/libraries/index.d.ts +4 -0
  523. package/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +125 -0
  524. package/typechain-types/factories/contracts/libraries/math/index.d.ts +1 -0
  525. package/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +135 -0
  526. package/typechain-types/factories/contracts/libraries/pools/index.d.ts +1 -0
  527. package/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +26 -0
  528. package/typechain-types/factories/contracts/libraries/utils/index.d.ts +1 -0
  529. package/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +212 -0
  530. package/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
  531. package/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +1194 -0
  532. package/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +50 -0
  533. package/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
  534. package/typechain-types/factories/contracts/mocks/core/governance/index.d.ts +2 -0
  535. package/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +100 -0
  536. package/typechain-types/factories/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
  537. package/typechain-types/factories/contracts/mocks/core/index.d.ts +7 -0
  538. package/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter__factory.d.ts +37 -0
  539. package/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +66 -0
  540. package/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
  541. package/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +62 -0
  542. package/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +620 -0
  543. package/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +293 -0
  544. package/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +304 -0
  545. package/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +5 -0
  546. package/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +234 -0
  547. package/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +1202 -0
  548. package/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +199 -0
  549. package/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +795 -0
  550. package/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +84 -0
  551. package/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +109 -0
  552. package/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +6 -0
  553. package/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +53 -0
  554. package/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +42 -0
  555. package/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
  556. package/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +64 -0
  557. package/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +4 -0
  558. package/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +379 -0
  559. package/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +282 -0
  560. package/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +388 -0
  561. package/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
  562. package/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +407 -0
  563. package/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +338 -0
  564. package/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +278 -0
  565. package/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +714 -0
  566. package/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +335 -0
  567. package/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +9 -0
  568. package/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
  569. package/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
  570. package/typechain-types/factories/contracts/mocks/index.d.ts +3 -0
  571. package/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
  572. package/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +351 -0
  573. package/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +124 -0
  574. package/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +197 -0
  575. package/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +183 -0
  576. package/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +70 -0
  577. package/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +341 -0
  578. package/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +6 -0
  579. package/typechain-types/factories/contracts/mocks/libraries/index.d.ts +4 -0
  580. package/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +247 -0
  581. package/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +154 -0
  582. package/typechain-types/factories/contracts/mocks/libraries/math/index.d.ts +2 -0
  583. package/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +277 -0
  584. package/typechain-types/factories/contracts/mocks/libraries/pools/index.d.ts +1 -0
  585. package/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +53 -0
  586. package/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +53 -0
  587. package/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +80 -0
  588. package/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl__factory.d.ts +17 -0
  589. package/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +113 -0
  590. package/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
  591. package/typechain-types/factories/contracts/mocks/tests/index.d.ts +4 -0
  592. package/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +250 -0
  593. package/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +320 -0
  594. package/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +223 -0
  595. package/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +488 -0
  596. package/typechain-types/factories/contracts/zeno/index.d.ts +4 -0
  597. package/typechain-types/factories/index.d.ts +3 -0
  598. package/typechain-types/index.d.ts +329 -0
  599. package/utils/artifacts.ts +75 -0
  600. package/utils/chain.ts +94 -0
  601. package/utils/config.ts +49 -0
  602. package/utils/contracts.ts +94 -0
  603. package/wallet/assets/approveAsset.ts +45 -0
  604. package/wallet/assets/burnAsset.ts +58 -0
  605. package/wallet/assets/getAllowance.ts +38 -0
  606. package/wallet/assets/getAsset.ts +32 -0
  607. package/wallet/assets/getAssets.ts +35 -0
  608. package/wallet/assets/getBalance.ts +34 -0
  609. package/wallet/assets/mintAsset.ts +60 -0
  610. package/wallet/assets/transferAsset.ts +80 -0
  611. package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +0 -1743
  612. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +0 -1443
  613. package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +0 -279
  614. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +0 -2760
  615. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +0 -1146
  616. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +0 -285
  617. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +0 -858
  618. package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
  619. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +0 -1472
  620. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +0 -832
  621. package/dist/artifacts/core/tokens/RToken.sol/RToken.json +0 -1205
  622. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +0 -1616
  623. package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +0 -774
  624. package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +0 -479
  625. package/dist/artifacts/zeno/Auction.sol/Auction.json +0 -393
  626. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +0 -307
  627. package/dist/artifacts/zeno/Zeno.sol/Zeno.json +0 -620
  628. package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +0 -275
@@ -0,0 +1,1202 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../../../common";
4
+ import type { MockLendingPoolDebtToken, MockLendingPoolDebtTokenInterface } from "../../../../../contracts/mocks/core/pools/MockLendingPoolDebtToken";
5
+ type MockLendingPoolDebtTokenConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
7
+ constructor(...args: MockLendingPoolDebtTokenConstructorParams);
8
+ getDeployTransaction(overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<MockLendingPoolDebtToken & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): MockLendingPoolDebtToken__factory;
17
+ static readonly bytecode = "0x608060405234801561001057600080fd5b506b033b2e3c9fd0803ce800000060005561092c806100306000396000f3fe6080604052600436106102085760003560e01c80638aabb2d111610118578063b88a802f116100a0578063c6d6916c1161006f578063c6d6916c14610461578063d8aed1451461027b578063e65896c914610396578063e91a7ca614610214578063f91c3b0d146103f057600080fd5b8063b88a802f146104d9578063bf4eccdf146103f0578063bfd91c23146104f5578063c4f8911c1461021457600080fd5b80639daa54b4116100e75780639daa54b41461047c578063a5b350c914610258578063a8de4834146104a5578063a90d728f146104c5578063b6b55f251461021457600080fd5b80638aabb2d1146102145780638bc2ff5b1461042a578063929761791461044657806398d721e01461046157600080fd5b80632ab414fc1161019b5780634df9d6ba1161016a5780634df9d6ba14610396578063523a19ac146103b757806375417da614610396578063768bab45146103f0578063883c6b241461040b57600080fd5b80632ab414fc146102eb5780632e1a7d4d1461021457806332597266146103065780633adbb5af1461032657600080fd5b8063150b7a02116101d7578063150b7a021461029a57806316c621e01461021457806319c2d37e146102585780631d8557d7146102df57600080fd5b8063023245d7146102145780630ab30d8a146102345780630d408512146102585780630ecbcdab1461027b57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b5061023261022f366004610663565b50565b005b34801561024057600080fd5b506000545b6040519081526020015b60405180910390f35b34801561026457600080fd5b50610245610273366004610698565b600092915050565b34801561028757600080fd5b506102326102963660046106c2565b5050565b3480156102a657600080fd5b506102c66102b53660046106e4565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161024f565b34801561023257600080fd5b3480156102f757600080fd5b5061023261029636600461077f565b34801561031257600080fd5b50610232610321366004610663565b600055565b34801561033257600080fd5b50610346610341366004610698565b610522565b60405161024f9190600060c08201905082518252602083015115156020830152604083015160408301526060830151606083015260808301511515608083015260a083015160a083015292915050565b3480156103a257600080fd5b506102456103b13660046107a1565b50600090565b3480156103c357600080fd5b506103db6103d2366004610698565b50600091829150565b6040805192835260208301919091520161024f565b3480156103fc57600080fd5b50610232610296366004610698565b34801561041757600080fd5b506b033b2e3c9fd0803ce8000000610245565b34801561043657600080fd5b506040516000815260200161024f565b34801561045257600080fd5b506102456103b1366004610663565b34801561046d57600080fd5b5061023261022f3660046107a1565b34801561048857600080fd5b506102456104973660046107a1565b506805f68e8131ecf8000090565b3480156104b157600080fd5b506102326104c03660046107c3565b505050565b3480156104d157600080fd5b506000610245565b3480156104e557600080fd5b506040516001815260200161024f565b34801561050157600080fd5b506105156105103660046107a1565b61059e565b60405161024f9190610875565b61055f6040518060c00160405280600081526020016000151581526020016000815260200160008152602001600015158152602001600081525090565b6040518060c001604052806000815260200160001515815260200160008152602001600081526020016000151581526020016000815250905092915050565b6105c96040518060800160405280606081526020016000815260200160008152602001606081525090565b6040805160006080820181815260a0830184528252602080830182905282840182905283518281529081019093529091606083019161065a565b6106476040518060e0016040528060008152602001600081526020016000815260200160001515815260200160008152602001600081526020016000151581525090565b8152602001906001900390816106035790505b50905292915050565b60006020828403121561067557600080fd5b5035919050565b80356001600160a01b038116811461069357600080fd5b919050565b600080604083850312156106ab57600080fd5b6106b48361067c565b946020939093013593505050565b600080604083850312156106d557600080fd5b50508035926020909101359150565b6000806000806000608086880312156106fc57600080fd5b6107058661067c565b94506107136020870161067c565b935060408601359250606086013567ffffffffffffffff8082111561073757600080fd5b818801915088601f83011261074b57600080fd5b81358181111561075a57600080fd5b89602082850101111561076c57600080fd5b9699959850939650602001949392505050565b6000806040838503121561079257600080fd5b8235600881106106b457600080fd5b6000602082840312156107b357600080fd5b6107bc8261067c565b9392505050565b6000806000606084860312156107d857600080fd5b83359250602084013591506107ef6040850161067c565b90509250925092565b600081518084526020808501945080840160005b8381101561086a578151805188528381015184890152604080820151908901526060808201511515908901526080808201519089015260a0808201519089015260c09081015115159088015260e0909601959082019060010161080c565b509495945050505050565b60208082528251608083830152805160a0840181905260009291820190839060c08601905b808310156108ba578351825292840192600192909201919084019061089a565b508387015160408701526040870151606087015260608701519350601f198682030160808701526108eb81856107f8565b97965050505050505056fea26469706673582212202394ffd498e335564cd4ad66851b19a69f500e3b998d76372246f78dbf9c405164736f6c63430008140033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [];
20
+ readonly stateMutability: "nonpayable";
21
+ readonly type: "constructor";
22
+ }, {
23
+ readonly inputs: readonly [];
24
+ readonly name: "AddressCannotBeZero";
25
+ readonly type: "error";
26
+ }, {
27
+ readonly inputs: readonly [];
28
+ readonly name: "CannotBorrowUnderLiquidation";
29
+ readonly type: "error";
30
+ }, {
31
+ readonly inputs: readonly [];
32
+ readonly name: "CannotRepayUnderLiquidationWithoutInsurance";
33
+ readonly type: "error";
34
+ }, {
35
+ readonly inputs: readonly [];
36
+ readonly name: "CannotWithdrawUnderLiquidation";
37
+ readonly type: "error";
38
+ }, {
39
+ readonly inputs: readonly [];
40
+ readonly name: "DebtNotZero";
41
+ readonly type: "error";
42
+ }, {
43
+ readonly inputs: readonly [];
44
+ readonly name: "GracePeriodExpired";
45
+ readonly type: "error";
46
+ }, {
47
+ readonly inputs: readonly [];
48
+ readonly name: "GracePeriodNotExpired";
49
+ readonly type: "error";
50
+ }, {
51
+ readonly inputs: readonly [];
52
+ readonly name: "HealthFactorTooLow";
53
+ readonly type: "error";
54
+ }, {
55
+ readonly inputs: readonly [];
56
+ readonly name: "InsufficientAllowanceForFees";
57
+ readonly type: "error";
58
+ }, {
59
+ readonly inputs: readonly [];
60
+ readonly name: "InsufficientBalance";
61
+ readonly type: "error";
62
+ }, {
63
+ readonly inputs: readonly [];
64
+ readonly name: "InvalidAmount";
65
+ readonly type: "error";
66
+ }, {
67
+ readonly inputs: readonly [];
68
+ readonly name: "InvalidInterestRateMode";
69
+ readonly type: "error";
70
+ }, {
71
+ readonly inputs: readonly [];
72
+ readonly name: "InvalidNFTPrice";
73
+ readonly type: "error";
74
+ }, {
75
+ readonly inputs: readonly [];
76
+ readonly name: "InvalidParameter";
77
+ readonly type: "error";
78
+ }, {
79
+ readonly inputs: readonly [];
80
+ readonly name: "InvalidVaultAsset";
81
+ readonly type: "error";
82
+ }, {
83
+ readonly inputs: readonly [];
84
+ readonly name: "NFTAlreadyDeposited";
85
+ readonly type: "error";
86
+ }, {
87
+ readonly inputs: readonly [];
88
+ readonly name: "NFTNotDeposited";
89
+ readonly type: "error";
90
+ }, {
91
+ readonly inputs: readonly [];
92
+ readonly name: "NFTNotInsured";
93
+ readonly type: "error";
94
+ }, {
95
+ readonly inputs: readonly [];
96
+ readonly name: "NoActiveRewardToken";
97
+ readonly type: "error";
98
+ }, {
99
+ readonly inputs: readonly [];
100
+ readonly name: "NoCollateral";
101
+ readonly type: "error";
102
+ }, {
103
+ readonly inputs: readonly [];
104
+ readonly name: "NoDeposits";
105
+ readonly type: "error";
106
+ }, {
107
+ readonly inputs: readonly [];
108
+ readonly name: "NoRewardsToClaim";
109
+ readonly type: "error";
110
+ }, {
111
+ readonly inputs: readonly [];
112
+ readonly name: "NotEnoughCollateralToBorrow";
113
+ readonly type: "error";
114
+ }, {
115
+ readonly inputs: readonly [];
116
+ readonly name: "NotOwnerOfNFT";
117
+ readonly type: "error";
118
+ }, {
119
+ readonly inputs: readonly [];
120
+ readonly name: "NotUnderLiquidation";
121
+ readonly type: "error";
122
+ }, {
123
+ readonly inputs: readonly [];
124
+ readonly name: "PaybackDebtDisabled";
125
+ readonly type: "error";
126
+ }, {
127
+ readonly inputs: readonly [];
128
+ readonly name: "RepayAmountTooHigh";
129
+ readonly type: "error";
130
+ }, {
131
+ readonly inputs: readonly [];
132
+ readonly name: "RewardTokenAlreadySet";
133
+ readonly type: "error";
134
+ }, {
135
+ readonly inputs: readonly [];
136
+ readonly name: "SameAddressNotAllowed";
137
+ readonly type: "error";
138
+ }, {
139
+ readonly inputs: readonly [];
140
+ readonly name: "StalePrice";
141
+ readonly type: "error";
142
+ }, {
143
+ readonly inputs: readonly [];
144
+ readonly name: "TransferFailed";
145
+ readonly type: "error";
146
+ }, {
147
+ readonly inputs: readonly [];
148
+ readonly name: "Unauthorized";
149
+ readonly type: "error";
150
+ }, {
151
+ readonly inputs: readonly [];
152
+ readonly name: "UserAlreadyUnderLiquidation";
153
+ readonly type: "error";
154
+ }, {
155
+ readonly inputs: readonly [];
156
+ readonly name: "WithdrawalWouldLeaveUserUnderCollateralized";
157
+ readonly type: "error";
158
+ }, {
159
+ readonly inputs: readonly [];
160
+ readonly name: "WithdrawalsArePaused";
161
+ readonly type: "error";
162
+ }, {
163
+ readonly anonymous: false;
164
+ readonly inputs: readonly [{
165
+ readonly indexed: true;
166
+ readonly internalType: "address";
167
+ readonly name: "user";
168
+ readonly type: "address";
169
+ }, {
170
+ readonly indexed: false;
171
+ readonly internalType: "uint256";
172
+ readonly name: "amount";
173
+ readonly type: "uint256";
174
+ }];
175
+ readonly name: "Borrow";
176
+ readonly type: "event";
177
+ }, {
178
+ readonly anonymous: false;
179
+ readonly inputs: readonly [{
180
+ readonly indexed: false;
181
+ readonly internalType: "bool";
182
+ readonly name: "enabled";
183
+ readonly type: "bool";
184
+ }];
185
+ readonly name: "CanPaybackDebtChanged";
186
+ readonly type: "event";
187
+ }, {
188
+ readonly anonymous: false;
189
+ readonly inputs: readonly [{
190
+ readonly indexed: true;
191
+ readonly internalType: "address";
192
+ readonly name: "user";
193
+ readonly type: "address";
194
+ }, {
195
+ readonly indexed: false;
196
+ readonly internalType: "uint256";
197
+ readonly name: "amount";
198
+ readonly type: "uint256";
199
+ }, {
200
+ readonly indexed: false;
201
+ readonly internalType: "uint256";
202
+ readonly name: "mintedAmount";
203
+ readonly type: "uint256";
204
+ }];
205
+ readonly name: "Deposit";
206
+ readonly type: "event";
207
+ }, {
208
+ readonly anonymous: false;
209
+ readonly inputs: readonly [{
210
+ readonly indexed: true;
211
+ readonly internalType: "address";
212
+ readonly name: "oldFeeCollector";
213
+ readonly type: "address";
214
+ }, {
215
+ readonly indexed: true;
216
+ readonly internalType: "address";
217
+ readonly name: "newFeeCollector";
218
+ readonly type: "address";
219
+ }];
220
+ readonly name: "FeeCollectorUpdated";
221
+ readonly type: "event";
222
+ }, {
223
+ readonly anonymous: false;
224
+ readonly inputs: readonly [];
225
+ readonly name: "InsufficientFees";
226
+ readonly type: "event";
227
+ }, {
228
+ readonly anonymous: false;
229
+ readonly inputs: readonly [{
230
+ readonly indexed: false;
231
+ readonly internalType: "uint256";
232
+ readonly name: "oldInsuranceFee";
233
+ readonly type: "uint256";
234
+ }, {
235
+ readonly indexed: false;
236
+ readonly internalType: "uint256";
237
+ readonly name: "newInsuranceFee";
238
+ readonly type: "uint256";
239
+ }];
240
+ readonly name: "InsuranceFeeUpdated";
241
+ readonly type: "event";
242
+ }, {
243
+ readonly anonymous: false;
244
+ readonly inputs: readonly [{
245
+ readonly indexed: true;
246
+ readonly internalType: "uint256";
247
+ readonly name: "tokenId";
248
+ readonly type: "uint256";
249
+ }, {
250
+ readonly indexed: false;
251
+ readonly internalType: "uint256";
252
+ readonly name: "amount";
253
+ readonly type: "uint256";
254
+ }];
255
+ readonly name: "InsuredNFT";
256
+ readonly type: "event";
257
+ }, {
258
+ readonly anonymous: false;
259
+ readonly inputs: readonly [{
260
+ readonly indexed: true;
261
+ readonly internalType: "address";
262
+ readonly name: "liquidator";
263
+ readonly type: "address";
264
+ }, {
265
+ readonly indexed: true;
266
+ readonly internalType: "address";
267
+ readonly name: "user";
268
+ readonly type: "address";
269
+ }, {
270
+ readonly indexed: false;
271
+ readonly internalType: "uint256";
272
+ readonly name: "debtRepaid";
273
+ readonly type: "uint256";
274
+ }, {
275
+ readonly indexed: false;
276
+ readonly internalType: "uint256";
277
+ readonly name: "collateralLiquidated";
278
+ readonly type: "uint256";
279
+ }];
280
+ readonly name: "Liquidation";
281
+ readonly type: "event";
282
+ }, {
283
+ readonly anonymous: false;
284
+ readonly inputs: readonly [{
285
+ readonly indexed: true;
286
+ readonly internalType: "address";
287
+ readonly name: "user";
288
+ readonly type: "address";
289
+ }, {
290
+ readonly indexed: true;
291
+ readonly internalType: "uint256";
292
+ readonly name: "tokenId";
293
+ readonly type: "uint256";
294
+ }];
295
+ readonly name: "LiquidationClosed";
296
+ readonly type: "event";
297
+ }, {
298
+ readonly anonymous: false;
299
+ readonly inputs: readonly [{
300
+ readonly indexed: true;
301
+ readonly internalType: "address";
302
+ readonly name: "liquidator";
303
+ readonly type: "address";
304
+ }, {
305
+ readonly indexed: true;
306
+ readonly internalType: "address";
307
+ readonly name: "user";
308
+ readonly type: "address";
309
+ }, {
310
+ readonly indexed: true;
311
+ readonly internalType: "uint256";
312
+ readonly name: "tokenId";
313
+ readonly type: "uint256";
314
+ }, {
315
+ readonly indexed: false;
316
+ readonly internalType: "uint256";
317
+ readonly name: "debtRepaid";
318
+ readonly type: "uint256";
319
+ }, {
320
+ readonly indexed: false;
321
+ readonly internalType: "uint256";
322
+ readonly name: "collateralLiquidated";
323
+ readonly type: "uint256";
324
+ }];
325
+ readonly name: "LiquidationFinalized";
326
+ readonly type: "event";
327
+ }, {
328
+ readonly anonymous: false;
329
+ readonly inputs: readonly [{
330
+ readonly indexed: true;
331
+ readonly internalType: "address";
332
+ readonly name: "liquidator";
333
+ readonly type: "address";
334
+ }, {
335
+ readonly indexed: true;
336
+ readonly internalType: "address";
337
+ readonly name: "user";
338
+ readonly type: "address";
339
+ }, {
340
+ readonly indexed: true;
341
+ readonly internalType: "uint256";
342
+ readonly name: "tokenId";
343
+ readonly type: "uint256";
344
+ }];
345
+ readonly name: "LiquidationInitiated";
346
+ readonly type: "event";
347
+ }, {
348
+ readonly anonymous: false;
349
+ readonly inputs: readonly [{
350
+ readonly indexed: false;
351
+ readonly internalType: "uint256";
352
+ readonly name: "newLiquidationThreshold";
353
+ readonly type: "uint256";
354
+ }, {
355
+ readonly indexed: false;
356
+ readonly internalType: "uint256";
357
+ readonly name: "newHealthFactorLiquidationThreshold";
358
+ readonly type: "uint256";
359
+ }, {
360
+ readonly indexed: false;
361
+ readonly internalType: "uint256";
362
+ readonly name: "newLiquidationGracePeriod";
363
+ readonly type: "uint256";
364
+ }];
365
+ readonly name: "LiquidationParametersUpdated";
366
+ readonly type: "event";
367
+ }, {
368
+ readonly anonymous: false;
369
+ readonly inputs: readonly [{
370
+ readonly indexed: false;
371
+ readonly internalType: "uint256";
372
+ readonly name: "oldRatio";
373
+ readonly type: "uint256";
374
+ }, {
375
+ readonly indexed: false;
376
+ readonly internalType: "uint256";
377
+ readonly name: "newRatio";
378
+ readonly type: "uint256";
379
+ }];
380
+ readonly name: "LiquidityBufferRatioUpdated";
381
+ readonly type: "event";
382
+ }, {
383
+ readonly anonymous: false;
384
+ readonly inputs: readonly [{
385
+ readonly indexed: false;
386
+ readonly internalType: "uint256";
387
+ readonly name: "bufferAmount";
388
+ readonly type: "uint256";
389
+ }, {
390
+ readonly indexed: false;
391
+ readonly internalType: "uint256";
392
+ readonly name: "vaultAmount";
393
+ readonly type: "uint256";
394
+ }];
395
+ readonly name: "LiquidityRebalanced";
396
+ readonly type: "event";
397
+ }, {
398
+ readonly anonymous: false;
399
+ readonly inputs: readonly [{
400
+ readonly indexed: true;
401
+ readonly internalType: "address";
402
+ readonly name: "user";
403
+ readonly type: "address";
404
+ }, {
405
+ readonly indexed: false;
406
+ readonly internalType: "uint256";
407
+ readonly name: "tokenId";
408
+ readonly type: "uint256";
409
+ }];
410
+ readonly name: "NFTDeposited";
411
+ readonly type: "event";
412
+ }, {
413
+ readonly anonymous: false;
414
+ readonly inputs: readonly [{
415
+ readonly indexed: true;
416
+ readonly internalType: "address";
417
+ readonly name: "user";
418
+ readonly type: "address";
419
+ }, {
420
+ readonly indexed: false;
421
+ readonly internalType: "uint256";
422
+ readonly name: "tokenId";
423
+ readonly type: "uint256";
424
+ }];
425
+ readonly name: "NFTWithdrawn";
426
+ readonly type: "event";
427
+ }, {
428
+ readonly anonymous: false;
429
+ readonly inputs: readonly [];
430
+ readonly name: "NotFeeCollector";
431
+ readonly type: "event";
432
+ }, {
433
+ readonly anonymous: false;
434
+ readonly inputs: readonly [{
435
+ readonly indexed: false;
436
+ readonly internalType: "uint256";
437
+ readonly name: "oldValue";
438
+ readonly type: "uint256";
439
+ }, {
440
+ readonly indexed: false;
441
+ readonly internalType: "uint256";
442
+ readonly name: "newValue";
443
+ readonly type: "uint256";
444
+ }];
445
+ readonly name: "ProtocolFeeRateUpdated";
446
+ readonly type: "event";
447
+ }, {
448
+ readonly anonymous: false;
449
+ readonly inputs: readonly [{
450
+ readonly indexed: false;
451
+ readonly internalType: "uint256";
452
+ readonly name: "protocolFee";
453
+ readonly type: "uint256";
454
+ }, {
455
+ readonly indexed: false;
456
+ readonly internalType: "uint256";
457
+ readonly name: "accumulatedProtocolFees";
458
+ readonly type: "uint256";
459
+ }];
460
+ readonly name: "ProtocolFeesCollected";
461
+ readonly type: "event";
462
+ }, {
463
+ readonly anonymous: false;
464
+ readonly inputs: readonly [{
465
+ readonly indexed: true;
466
+ readonly internalType: "address";
467
+ readonly name: "feeCollector";
468
+ readonly type: "address";
469
+ }, {
470
+ readonly indexed: false;
471
+ readonly internalType: "uint256";
472
+ readonly name: "amount";
473
+ readonly type: "uint256";
474
+ }];
475
+ readonly name: "ProtocolFeesWithdrawn";
476
+ readonly type: "event";
477
+ }, {
478
+ readonly anonymous: false;
479
+ readonly inputs: readonly [{
480
+ readonly indexed: true;
481
+ readonly internalType: "address";
482
+ readonly name: "user";
483
+ readonly type: "address";
484
+ }, {
485
+ readonly indexed: true;
486
+ readonly internalType: "address";
487
+ readonly name: "onBehalfOf";
488
+ readonly type: "address";
489
+ }, {
490
+ readonly indexed: false;
491
+ readonly internalType: "uint256";
492
+ readonly name: "amount";
493
+ readonly type: "uint256";
494
+ }];
495
+ readonly name: "Repay";
496
+ readonly type: "event";
497
+ }, {
498
+ readonly anonymous: false;
499
+ readonly inputs: readonly [{
500
+ readonly indexed: true;
501
+ readonly internalType: "address";
502
+ readonly name: "user";
503
+ readonly type: "address";
504
+ }, {
505
+ readonly indexed: true;
506
+ readonly internalType: "address";
507
+ readonly name: "token";
508
+ readonly type: "address";
509
+ }, {
510
+ readonly indexed: false;
511
+ readonly internalType: "uint256";
512
+ readonly name: "amount";
513
+ readonly type: "uint256";
514
+ }];
515
+ readonly name: "RewardClaimed";
516
+ readonly type: "event";
517
+ }, {
518
+ readonly anonymous: false;
519
+ readonly inputs: readonly [{
520
+ readonly indexed: true;
521
+ readonly internalType: "address";
522
+ readonly name: "user";
523
+ readonly type: "address";
524
+ }, {
525
+ readonly indexed: false;
526
+ readonly internalType: "uint256";
527
+ readonly name: "amount";
528
+ readonly type: "uint256";
529
+ }];
530
+ readonly name: "RewardDistributed";
531
+ readonly type: "event";
532
+ }, {
533
+ readonly anonymous: false;
534
+ readonly inputs: readonly [{
535
+ readonly indexed: true;
536
+ readonly internalType: "address";
537
+ readonly name: "token";
538
+ readonly type: "address";
539
+ }, {
540
+ readonly indexed: false;
541
+ readonly internalType: "uint256";
542
+ readonly name: "rewardRate";
543
+ readonly type: "uint256";
544
+ }, {
545
+ readonly indexed: false;
546
+ readonly internalType: "uint256";
547
+ readonly name: "duration";
548
+ readonly type: "uint256";
549
+ }];
550
+ readonly name: "RewardParametersUpdated";
551
+ readonly type: "event";
552
+ }, {
553
+ readonly anonymous: false;
554
+ readonly inputs: readonly [{
555
+ readonly indexed: true;
556
+ readonly internalType: "address";
557
+ readonly name: "token";
558
+ readonly type: "address";
559
+ }, {
560
+ readonly indexed: false;
561
+ readonly internalType: "uint256";
562
+ readonly name: "rewardRate";
563
+ readonly type: "uint256";
564
+ }, {
565
+ readonly indexed: false;
566
+ readonly internalType: "uint256";
567
+ readonly name: "duration";
568
+ readonly type: "uint256";
569
+ }];
570
+ readonly name: "RewardTokenAdded";
571
+ readonly type: "event";
572
+ }, {
573
+ readonly anonymous: false;
574
+ readonly inputs: readonly [{
575
+ readonly indexed: true;
576
+ readonly internalType: "address";
577
+ readonly name: "user";
578
+ readonly type: "address";
579
+ }, {
580
+ readonly indexed: false;
581
+ readonly internalType: "uint256";
582
+ readonly name: "amount";
583
+ readonly type: "uint256";
584
+ }];
585
+ readonly name: "RewardTokensDeposited";
586
+ readonly type: "event";
587
+ }, {
588
+ readonly anonymous: false;
589
+ readonly inputs: readonly [{
590
+ readonly indexed: true;
591
+ readonly internalType: "address";
592
+ readonly name: "oldStabilityPool";
593
+ readonly type: "address";
594
+ }, {
595
+ readonly indexed: true;
596
+ readonly internalType: "address";
597
+ readonly name: "newStabilityPool";
598
+ readonly type: "address";
599
+ }];
600
+ readonly name: "StabilityPoolUpdated";
601
+ readonly type: "event";
602
+ }, {
603
+ readonly anonymous: false;
604
+ readonly inputs: readonly [{
605
+ readonly indexed: false;
606
+ readonly internalType: "uint256";
607
+ readonly name: "amount";
608
+ readonly type: "uint256";
609
+ }];
610
+ readonly name: "VaultRewardsClaimed";
611
+ readonly type: "event";
612
+ }, {
613
+ readonly anonymous: false;
614
+ readonly inputs: readonly [{
615
+ readonly indexed: true;
616
+ readonly internalType: "address";
617
+ readonly name: "oldVault";
618
+ readonly type: "address";
619
+ }, {
620
+ readonly indexed: true;
621
+ readonly internalType: "address";
622
+ readonly name: "newVault";
623
+ readonly type: "address";
624
+ }];
625
+ readonly name: "VaultUpdated";
626
+ readonly type: "event";
627
+ }, {
628
+ readonly anonymous: false;
629
+ readonly inputs: readonly [{
630
+ readonly indexed: true;
631
+ readonly internalType: "address";
632
+ readonly name: "vault";
633
+ readonly type: "address";
634
+ }];
635
+ readonly name: "VaultWithdrawalFailed";
636
+ readonly type: "event";
637
+ }, {
638
+ readonly anonymous: false;
639
+ readonly inputs: readonly [{
640
+ readonly indexed: true;
641
+ readonly internalType: "address";
642
+ readonly name: "user";
643
+ readonly type: "address";
644
+ }, {
645
+ readonly indexed: false;
646
+ readonly internalType: "uint256";
647
+ readonly name: "amount";
648
+ readonly type: "uint256";
649
+ }];
650
+ readonly name: "Withdraw";
651
+ readonly type: "event";
652
+ }, {
653
+ readonly anonymous: false;
654
+ readonly inputs: readonly [{
655
+ readonly indexed: false;
656
+ readonly internalType: "bool";
657
+ readonly name: "isPaused";
658
+ readonly type: "bool";
659
+ }];
660
+ readonly name: "WithdrawalsPauseStatusChanged";
661
+ readonly type: "event";
662
+ }, {
663
+ readonly inputs: readonly [{
664
+ readonly internalType: "uint256";
665
+ readonly name: "tokenId";
666
+ readonly type: "uint256";
667
+ }, {
668
+ readonly internalType: "uint256";
669
+ readonly name: "amount";
670
+ readonly type: "uint256";
671
+ }];
672
+ readonly name: "borrow";
673
+ readonly outputs: readonly [];
674
+ readonly stateMutability: "nonpayable";
675
+ readonly type: "function";
676
+ }, {
677
+ readonly inputs: readonly [{
678
+ readonly internalType: "address";
679
+ readonly name: "userAddress";
680
+ readonly type: "address";
681
+ }, {
682
+ readonly internalType: "uint256";
683
+ readonly name: "tokenId";
684
+ readonly type: "uint256";
685
+ }];
686
+ readonly name: "calculateHealthFactor";
687
+ readonly outputs: readonly [{
688
+ readonly internalType: "uint256";
689
+ readonly name: "";
690
+ readonly type: "uint256";
691
+ }];
692
+ readonly stateMutability: "pure";
693
+ readonly type: "function";
694
+ }, {
695
+ readonly inputs: readonly [];
696
+ readonly name: "claimCollectorRewards";
697
+ readonly outputs: readonly [{
698
+ readonly internalType: "uint256";
699
+ readonly name: "";
700
+ readonly type: "uint256";
701
+ }];
702
+ readonly stateMutability: "nonpayable";
703
+ readonly type: "function";
704
+ }, {
705
+ readonly inputs: readonly [];
706
+ readonly name: "claimReward";
707
+ readonly outputs: readonly [{
708
+ readonly internalType: "bool";
709
+ readonly name: "";
710
+ readonly type: "bool";
711
+ }];
712
+ readonly stateMutability: "nonpayable";
713
+ readonly type: "function";
714
+ }, {
715
+ readonly inputs: readonly [{
716
+ readonly internalType: "uint256";
717
+ readonly name: "tokenId";
718
+ readonly type: "uint256";
719
+ }];
720
+ readonly name: "closeLiquidation";
721
+ readonly outputs: readonly [];
722
+ readonly stateMutability: "nonpayable";
723
+ readonly type: "function";
724
+ }, {
725
+ readonly inputs: readonly [{
726
+ readonly internalType: "uint256";
727
+ readonly name: "amount";
728
+ readonly type: "uint256";
729
+ }];
730
+ readonly name: "deposit";
731
+ readonly outputs: readonly [];
732
+ readonly stateMutability: "nonpayable";
733
+ readonly type: "function";
734
+ }, {
735
+ readonly inputs: readonly [{
736
+ readonly internalType: "uint256";
737
+ readonly name: "tokenId";
738
+ readonly type: "uint256";
739
+ }];
740
+ readonly name: "depositNFT";
741
+ readonly outputs: readonly [];
742
+ readonly stateMutability: "nonpayable";
743
+ readonly type: "function";
744
+ }, {
745
+ readonly inputs: readonly [{
746
+ readonly internalType: "uint256";
747
+ readonly name: "amount";
748
+ readonly type: "uint256";
749
+ }];
750
+ readonly name: "depositRewardTokens";
751
+ readonly outputs: readonly [];
752
+ readonly stateMutability: "nonpayable";
753
+ readonly type: "function";
754
+ }, {
755
+ readonly inputs: readonly [{
756
+ readonly internalType: "address";
757
+ readonly name: "userAddress";
758
+ readonly type: "address";
759
+ }, {
760
+ readonly internalType: "uint256";
761
+ readonly name: "tokenId";
762
+ readonly type: "uint256";
763
+ }];
764
+ readonly name: "finalizeLiquidation";
765
+ readonly outputs: readonly [];
766
+ readonly stateMutability: "nonpayable";
767
+ readonly type: "function";
768
+ }, {
769
+ readonly inputs: readonly [{
770
+ readonly internalType: "address";
771
+ readonly name: "userAddress";
772
+ readonly type: "address";
773
+ }];
774
+ readonly name: "getAllUserData";
775
+ readonly outputs: readonly [{
776
+ readonly components: readonly [{
777
+ readonly internalType: "uint256[]";
778
+ readonly name: "nftTokenIds";
779
+ readonly type: "uint256[]";
780
+ }, {
781
+ readonly internalType: "uint256";
782
+ readonly name: "scaledDebtBalance";
783
+ readonly type: "uint256";
784
+ }, {
785
+ readonly internalType: "uint256";
786
+ readonly name: "collateralValue";
787
+ readonly type: "uint256";
788
+ }, {
789
+ readonly components: readonly [{
790
+ readonly internalType: "uint256";
791
+ readonly name: "rawDebtBalance";
792
+ readonly type: "uint256";
793
+ }, {
794
+ readonly internalType: "uint256";
795
+ readonly name: "scaledDebtBalance";
796
+ readonly type: "uint256";
797
+ }, {
798
+ readonly internalType: "uint256";
799
+ readonly name: "healthFactor";
800
+ readonly type: "uint256";
801
+ }, {
802
+ readonly internalType: "bool";
803
+ readonly name: "isUnderLiquidation";
804
+ readonly type: "bool";
805
+ }, {
806
+ readonly internalType: "uint256";
807
+ readonly name: "liquidationStartTime";
808
+ readonly type: "uint256";
809
+ }, {
810
+ readonly internalType: "uint256";
811
+ readonly name: "positionIndex";
812
+ readonly type: "uint256";
813
+ }, {
814
+ readonly internalType: "bool";
815
+ readonly name: "isInsured";
816
+ readonly type: "bool";
817
+ }];
818
+ readonly internalType: "struct ILendingPool.NFTPositionView[]";
819
+ readonly name: "positions";
820
+ readonly type: "tuple[]";
821
+ }];
822
+ readonly internalType: "struct ILendingPool.UserDataView";
823
+ readonly name: "";
824
+ readonly type: "tuple";
825
+ }];
826
+ readonly stateMutability: "view";
827
+ readonly type: "function";
828
+ }, {
829
+ readonly inputs: readonly [{
830
+ readonly internalType: "uint256";
831
+ readonly name: "tokenId";
832
+ readonly type: "uint256";
833
+ }];
834
+ readonly name: "getNFTPrice";
835
+ readonly outputs: readonly [{
836
+ readonly internalType: "uint256";
837
+ readonly name: "";
838
+ readonly type: "uint256";
839
+ }];
840
+ readonly stateMutability: "pure";
841
+ readonly type: "function";
842
+ }, {
843
+ readonly inputs: readonly [];
844
+ readonly name: "getNormalizedDebt";
845
+ readonly outputs: readonly [{
846
+ readonly internalType: "uint256";
847
+ readonly name: "";
848
+ readonly type: "uint256";
849
+ }];
850
+ readonly stateMutability: "view";
851
+ readonly type: "function";
852
+ }, {
853
+ readonly inputs: readonly [];
854
+ readonly name: "getNormalizedIncome";
855
+ readonly outputs: readonly [{
856
+ readonly internalType: "uint256";
857
+ readonly name: "";
858
+ readonly type: "uint256";
859
+ }];
860
+ readonly stateMutability: "pure";
861
+ readonly type: "function";
862
+ }, {
863
+ readonly inputs: readonly [{
864
+ readonly internalType: "address";
865
+ readonly name: "user";
866
+ readonly type: "address";
867
+ }];
868
+ readonly name: "getPendingReward";
869
+ readonly outputs: readonly [{
870
+ readonly internalType: "uint256";
871
+ readonly name: "";
872
+ readonly type: "uint256";
873
+ }];
874
+ readonly stateMutability: "view";
875
+ readonly type: "function";
876
+ }, {
877
+ readonly inputs: readonly [{
878
+ readonly internalType: "address";
879
+ readonly name: "userAddress";
880
+ readonly type: "address";
881
+ }, {
882
+ readonly internalType: "uint256";
883
+ readonly name: "tokenId";
884
+ readonly type: "uint256";
885
+ }];
886
+ readonly name: "getPosition";
887
+ readonly outputs: readonly [{
888
+ readonly components: readonly [{
889
+ readonly internalType: "uint256";
890
+ readonly name: "rawDebtBalance";
891
+ readonly type: "uint256";
892
+ }, {
893
+ readonly internalType: "bool";
894
+ readonly name: "isUnderLiquidation";
895
+ readonly type: "bool";
896
+ }, {
897
+ readonly internalType: "uint256";
898
+ readonly name: "liquidationStartTime";
899
+ readonly type: "uint256";
900
+ }, {
901
+ readonly internalType: "uint256";
902
+ readonly name: "positionIndex";
903
+ readonly type: "uint256";
904
+ }, {
905
+ readonly internalType: "bool";
906
+ readonly name: "isInsured";
907
+ readonly type: "bool";
908
+ }, {
909
+ readonly internalType: "uint256";
910
+ readonly name: "rawInsuredBalance";
911
+ readonly type: "uint256";
912
+ }];
913
+ readonly internalType: "struct ILendingPool.NFTPosition";
914
+ readonly name: "";
915
+ readonly type: "tuple";
916
+ }];
917
+ readonly stateMutability: "view";
918
+ readonly type: "function";
919
+ }, {
920
+ readonly inputs: readonly [{
921
+ readonly internalType: "address";
922
+ readonly name: "userAddress";
923
+ readonly type: "address";
924
+ }, {
925
+ readonly internalType: "uint256";
926
+ readonly name: "tokenId";
927
+ readonly type: "uint256";
928
+ }];
929
+ readonly name: "getPositionData";
930
+ readonly outputs: readonly [{
931
+ readonly internalType: "uint256";
932
+ readonly name: "";
933
+ readonly type: "uint256";
934
+ }, {
935
+ readonly internalType: "uint256";
936
+ readonly name: "";
937
+ readonly type: "uint256";
938
+ }];
939
+ readonly stateMutability: "view";
940
+ readonly type: "function";
941
+ }, {
942
+ readonly inputs: readonly [{
943
+ readonly internalType: "address";
944
+ readonly name: "userAddress";
945
+ readonly type: "address";
946
+ }, {
947
+ readonly internalType: "uint256";
948
+ readonly name: "tokenId";
949
+ readonly type: "uint256";
950
+ }];
951
+ readonly name: "getPositionDebt";
952
+ readonly outputs: readonly [{
953
+ readonly internalType: "uint256";
954
+ readonly name: "";
955
+ readonly type: "uint256";
956
+ }];
957
+ readonly stateMutability: "view";
958
+ readonly type: "function";
959
+ }, {
960
+ readonly inputs: readonly [{
961
+ readonly internalType: "address";
962
+ readonly name: "userAddress";
963
+ readonly type: "address";
964
+ }, {
965
+ readonly internalType: "uint256";
966
+ readonly name: "tokenId";
967
+ readonly type: "uint256";
968
+ }];
969
+ readonly name: "getPositionScaledDebt";
970
+ readonly outputs: readonly [{
971
+ readonly internalType: "uint256";
972
+ readonly name: "";
973
+ readonly type: "uint256";
974
+ }];
975
+ readonly stateMutability: "view";
976
+ readonly type: "function";
977
+ }, {
978
+ readonly inputs: readonly [{
979
+ readonly internalType: "address";
980
+ readonly name: "userAddress";
981
+ readonly type: "address";
982
+ }];
983
+ readonly name: "getPositionsScaledDebt";
984
+ readonly outputs: readonly [{
985
+ readonly internalType: "uint256";
986
+ readonly name: "";
987
+ readonly type: "uint256";
988
+ }];
989
+ readonly stateMutability: "view";
990
+ readonly type: "function";
991
+ }, {
992
+ readonly inputs: readonly [];
993
+ readonly name: "getRAACNFTAddress";
994
+ readonly outputs: readonly [{
995
+ readonly internalType: "address";
996
+ readonly name: "";
997
+ readonly type: "address";
998
+ }];
999
+ readonly stateMutability: "view";
1000
+ readonly type: "function";
1001
+ }, {
1002
+ readonly inputs: readonly [{
1003
+ readonly internalType: "address";
1004
+ readonly name: "userAddress";
1005
+ readonly type: "address";
1006
+ }];
1007
+ readonly name: "getUserCollateralValue";
1008
+ readonly outputs: readonly [{
1009
+ readonly internalType: "uint256";
1010
+ readonly name: "";
1011
+ readonly type: "uint256";
1012
+ }];
1013
+ readonly stateMutability: "pure";
1014
+ readonly type: "function";
1015
+ }, {
1016
+ readonly inputs: readonly [{
1017
+ readonly internalType: "address";
1018
+ readonly name: "userAddress";
1019
+ readonly type: "address";
1020
+ }];
1021
+ readonly name: "getUserDebt";
1022
+ readonly outputs: readonly [{
1023
+ readonly internalType: "uint256";
1024
+ readonly name: "";
1025
+ readonly type: "uint256";
1026
+ }];
1027
+ readonly stateMutability: "view";
1028
+ readonly type: "function";
1029
+ }, {
1030
+ readonly inputs: readonly [{
1031
+ readonly internalType: "address";
1032
+ readonly name: "userAddress";
1033
+ readonly type: "address";
1034
+ }, {
1035
+ readonly internalType: "uint256";
1036
+ readonly name: "tokenId";
1037
+ readonly type: "uint256";
1038
+ }];
1039
+ readonly name: "initiateLiquidation";
1040
+ readonly outputs: readonly [];
1041
+ readonly stateMutability: "nonpayable";
1042
+ readonly type: "function";
1043
+ }, {
1044
+ readonly inputs: readonly [{
1045
+ readonly internalType: "address";
1046
+ readonly name: "";
1047
+ readonly type: "address";
1048
+ }, {
1049
+ readonly internalType: "address";
1050
+ readonly name: "";
1051
+ readonly type: "address";
1052
+ }, {
1053
+ readonly internalType: "uint256";
1054
+ readonly name: "";
1055
+ readonly type: "uint256";
1056
+ }, {
1057
+ readonly internalType: "bytes";
1058
+ readonly name: "";
1059
+ readonly type: "bytes";
1060
+ }];
1061
+ readonly name: "onERC721Received";
1062
+ readonly outputs: readonly [{
1063
+ readonly internalType: "bytes4";
1064
+ readonly name: "";
1065
+ readonly type: "bytes4";
1066
+ }];
1067
+ readonly stateMutability: "pure";
1068
+ readonly type: "function";
1069
+ }, {
1070
+ readonly inputs: readonly [{
1071
+ readonly internalType: "uint256";
1072
+ readonly name: "tokenId";
1073
+ readonly type: "uint256";
1074
+ }, {
1075
+ readonly internalType: "uint256";
1076
+ readonly name: "amount";
1077
+ readonly type: "uint256";
1078
+ }];
1079
+ readonly name: "repay";
1080
+ readonly outputs: readonly [];
1081
+ readonly stateMutability: "nonpayable";
1082
+ readonly type: "function";
1083
+ }, {
1084
+ readonly inputs: readonly [{
1085
+ readonly internalType: "uint256";
1086
+ readonly name: "tokenId";
1087
+ readonly type: "uint256";
1088
+ }, {
1089
+ readonly internalType: "uint256";
1090
+ readonly name: "amount";
1091
+ readonly type: "uint256";
1092
+ }, {
1093
+ readonly internalType: "address";
1094
+ readonly name: "onBehalfOf";
1095
+ readonly type: "address";
1096
+ }];
1097
+ readonly name: "repayOnBehalf";
1098
+ readonly outputs: readonly [];
1099
+ readonly stateMutability: "nonpayable";
1100
+ readonly type: "function";
1101
+ }, {
1102
+ readonly inputs: readonly [{
1103
+ readonly internalType: "uint256";
1104
+ readonly name: "newNormalizedDebt";
1105
+ readonly type: "uint256";
1106
+ }];
1107
+ readonly name: "setNormalizedDebt";
1108
+ readonly outputs: readonly [];
1109
+ readonly stateMutability: "nonpayable";
1110
+ readonly type: "function";
1111
+ }, {
1112
+ readonly inputs: readonly [{
1113
+ readonly internalType: "enum ILendingPool.OwnerParameter";
1114
+ readonly name: "param";
1115
+ readonly type: "uint8";
1116
+ }, {
1117
+ readonly internalType: "uint256";
1118
+ readonly name: "newValue";
1119
+ readonly type: "uint256";
1120
+ }];
1121
+ readonly name: "setParameter";
1122
+ readonly outputs: readonly [];
1123
+ readonly stateMutability: "nonpayable";
1124
+ readonly type: "function";
1125
+ }, {
1126
+ readonly inputs: readonly [{
1127
+ readonly internalType: "uint256";
1128
+ readonly name: "newPrimeRate";
1129
+ readonly type: "uint256";
1130
+ }];
1131
+ readonly name: "setPrimeRate";
1132
+ readonly outputs: readonly [];
1133
+ readonly stateMutability: "nonpayable";
1134
+ readonly type: "function";
1135
+ }, {
1136
+ readonly inputs: readonly [{
1137
+ readonly internalType: "address";
1138
+ readonly name: "newStabilityPool";
1139
+ readonly type: "address";
1140
+ }];
1141
+ readonly name: "setStabilityPool";
1142
+ readonly outputs: readonly [];
1143
+ readonly stateMutability: "nonpayable";
1144
+ readonly type: "function";
1145
+ }, {
1146
+ readonly inputs: readonly [{
1147
+ readonly internalType: "address";
1148
+ readonly name: "recipient";
1149
+ readonly type: "address";
1150
+ }, {
1151
+ readonly internalType: "uint256";
1152
+ readonly name: "amountUnderlying";
1153
+ readonly type: "uint256";
1154
+ }];
1155
+ readonly name: "transferAccruedDust";
1156
+ readonly outputs: readonly [];
1157
+ readonly stateMutability: "nonpayable";
1158
+ readonly type: "function";
1159
+ }, {
1160
+ readonly inputs: readonly [];
1161
+ readonly name: "updateState";
1162
+ readonly outputs: readonly [];
1163
+ readonly stateMutability: "nonpayable";
1164
+ readonly type: "function";
1165
+ }, {
1166
+ readonly inputs: readonly [{
1167
+ readonly internalType: "address";
1168
+ readonly name: "user";
1169
+ readonly type: "address";
1170
+ }];
1171
+ readonly name: "updateUserReward";
1172
+ readonly outputs: readonly [];
1173
+ readonly stateMutability: "nonpayable";
1174
+ readonly type: "function";
1175
+ }, {
1176
+ readonly inputs: readonly [{
1177
+ readonly internalType: "uint256";
1178
+ readonly name: "amount";
1179
+ readonly type: "uint256";
1180
+ }];
1181
+ readonly name: "withdraw";
1182
+ readonly outputs: readonly [];
1183
+ readonly stateMutability: "nonpayable";
1184
+ readonly type: "function";
1185
+ }, {
1186
+ readonly inputs: readonly [{
1187
+ readonly internalType: "uint256";
1188
+ readonly name: "tokenId";
1189
+ readonly type: "uint256";
1190
+ }];
1191
+ readonly name: "withdrawNFT";
1192
+ readonly outputs: readonly [];
1193
+ readonly stateMutability: "nonpayable";
1194
+ readonly type: "function";
1195
+ }, {
1196
+ readonly stateMutability: "payable";
1197
+ readonly type: "receive";
1198
+ }];
1199
+ static createInterface(): MockLendingPoolDebtTokenInterface;
1200
+ static connect(address: string, runner?: ContractRunner | null): MockLendingPoolDebtToken;
1201
+ }
1202
+ export {};