@raac/rpc 1.0.0 → 1.0.1

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 (699) hide show
  1. package/dist/RPCLibrary.js +269 -0
  2. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1335 -0
  3. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1724 -0
  4. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1192 -0
  5. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +215 -0
  6. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +858 -0
  7. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +814 -0
  8. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +893 -0
  9. package/dist/artifacts/core/tokens/RToken.sol/RToken.json +1205 -0
  10. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1616 -0
  11. package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +479 -0
  12. package/dist/artifacts/zeno/Auction.sol/Auction.json +473 -0
  13. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +307 -0
  14. package/dist/artifacts/zeno/Zeno.sol/Zeno.json +620 -0
  15. package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +275 -0
  16. package/dist/assets/getAsset.js +23 -0
  17. package/dist/assets/getAssets.js +26 -0
  18. package/dist/assets/getSupply.js +18 -0
  19. package/dist/configs/chains/8453.json +115 -0
  20. package/dist/configs/chains/index.js +13 -0
  21. package/dist/configs/createConfig.js +89 -0
  22. package/dist/configs/index.js +43 -0
  23. package/dist/contracts/crvUSDToken/getBalance.js +17 -0
  24. package/dist/contracts/crvUSDToken/getTotalSupply.js +31 -0
  25. package/dist/contracts/getContract.js +18 -0
  26. package/dist/contracts/getContractAddress.js +50 -0
  27. package/dist/contracts/housePrices/getLatestPrice.js +21 -0
  28. package/dist/contracts/housePrices/setOracle.js +24 -0
  29. package/dist/contracts/rcrvUSDToken/getBalance.js +14 -0
  30. package/dist/contracts/rcrvUSDToken/getTotalSupply.js +30 -0
  31. package/dist/contracts/zeno/createAuction.js +25 -0
  32. package/dist/contracts/zeno/createZeno.js +26 -0
  33. package/dist/contracts/zeno/getAuctions.js +28 -0
  34. package/dist/contracts/zeno/getZenos.js +28 -0
  35. package/dist/index.js +7 -0
  36. package/dist/methods/approveToken.js +35 -0
  37. package/dist/methods/commons/checkAllowance.js +19 -0
  38. package/dist/methods/commons/estimateGasPrice.js +23 -0
  39. package/dist/methods/getAssetBalance.js +33 -0
  40. package/dist/methods/getAssetsBalance.js +4 -0
  41. package/dist/minter/get.js +121 -0
  42. package/dist/minter/getApy.js +28 -0
  43. package/dist/minter/tick.js +33 -0
  44. package/dist/nfts/addNewBatch.js +24 -0
  45. package/dist/nfts/getCurrentBatchSize.js +19 -0
  46. package/dist/nfts/getDepositedNFTs.js +19 -0
  47. package/dist/nfts/getHousePrice.js +19 -0
  48. package/dist/nfts/getOwnedNFTs.js +34 -0
  49. package/dist/nfts/mint.js +24 -0
  50. package/dist/nfts/setBaseUri.js +24 -0
  51. package/dist/pools/lendingPool/borrowFromLendingPool.js +23 -0
  52. package/dist/pools/lendingPool/depositNFTToLendingPool.js +51 -0
  53. package/dist/pools/lendingPool/depositToLendingPool.js +35 -0
  54. package/dist/pools/lendingPool/getHousePrice.js +26 -0
  55. package/dist/pools/lendingPool/getLendingPoolInfo.js +106 -0
  56. package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +22 -0
  57. package/dist/pools/lendingPool/repayToLendingPool.js +28 -0
  58. package/dist/pools/lendingPool/withdrawFromLendingPool.js +42 -0
  59. package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +24 -0
  60. package/dist/pools/liquidityPool/getLiquidityPoolInfo.js +73 -0
  61. package/dist/pools/stabilityPool/calculateRAACRewards.js +21 -0
  62. package/dist/pools/stabilityPool/depositToStabilityPool.js +34 -0
  63. package/dist/pools/stabilityPool/getStabilityPoolInfo.js +90 -0
  64. package/dist/pools/stabilityPool/getStabilityPoolTotalDeposits.js +19 -0
  65. package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +34 -0
  66. package/dist/scripts/index.js +83 -0
  67. package/dist/tests/test.js +32 -0
  68. package/dist/types/RPCLibrary.d.ts +139 -0
  69. package/dist/types/assets/getAsset.d.ts +5 -0
  70. package/dist/types/assets/getAssets.d.ts +4 -0
  71. package/dist/types/assets/getSupply.d.ts +5 -0
  72. package/dist/types/configs/chains/index.d.ts +11 -0
  73. package/dist/types/configs/createConfig.d.ts +86 -0
  74. package/dist/types/configs/index.d.ts +13 -0
  75. package/dist/types/contracts/crvUSDToken/getBalance.d.ts +2 -0
  76. package/dist/types/contracts/crvUSDToken/getTotalSupply.d.ts +10 -0
  77. package/dist/types/contracts/getContract.d.ts +4 -0
  78. package/dist/types/contracts/getContractAddress.d.ts +10 -0
  79. package/dist/types/contracts/housePrices/getLatestPrice.d.ts +10 -0
  80. package/dist/types/contracts/housePrices/setOracle.d.ts +4 -0
  81. package/dist/types/contracts/rcrvUSDToken/getBalance.d.ts +2 -0
  82. package/dist/types/contracts/rcrvUSDToken/getTotalSupply.d.ts +10 -0
  83. package/dist/types/contracts/zeno/createAuction.d.ts +4 -0
  84. package/dist/types/contracts/zeno/createZeno.d.ts +4 -0
  85. package/dist/types/contracts/zeno/getAuctions.d.ts +4 -0
  86. package/dist/types/contracts/zeno/getZenos.d.ts +4 -0
  87. package/{index.ts → dist/types/index.d.ts} +0 -1
  88. package/dist/types/methods/approveToken.d.ts +5 -0
  89. package/dist/types/methods/commons/checkAllowance.d.ts +6 -0
  90. package/dist/types/methods/commons/estimateGasPrice.d.ts +11 -0
  91. package/dist/types/methods/getAssetBalance.d.ts +6 -0
  92. package/dist/types/methods/getAssetsBalance.d.ts +3 -0
  93. package/dist/types/minter/get.d.ts +17 -0
  94. package/dist/types/minter/getApy.d.ts +4 -0
  95. package/dist/types/minter/tick.d.ts +4 -0
  96. package/dist/types/nfts/addNewBatch.d.ts +4 -0
  97. package/dist/types/nfts/getCurrentBatchSize.d.ts +4 -0
  98. package/dist/types/nfts/getDepositedNFTs.d.ts +7 -0
  99. package/dist/types/nfts/getHousePrice.d.ts +4 -0
  100. package/dist/types/nfts/getOwnedNFTs.d.ts +7 -0
  101. package/dist/types/nfts/mint.d.ts +4 -0
  102. package/dist/types/nfts/setBaseUri.d.ts +4 -0
  103. package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -0
  104. package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +4 -0
  105. package/dist/types/pools/lendingPool/depositToLendingPool.d.ts +4 -0
  106. package/dist/types/pools/lendingPool/getHousePrice.d.ts +4 -0
  107. package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +23 -0
  108. package/dist/types/pools/lendingPool/getLendingPoolTotalLiquidity.d.ts +4 -0
  109. package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -0
  110. package/dist/types/pools/lendingPool/withdrawFromLendingPool.d.ts +4 -0
  111. package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +4 -0
  112. package/dist/types/pools/liquidityPool/getLiquidityPoolInfo.d.ts +7 -0
  113. package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +4 -0
  114. package/dist/types/pools/stabilityPool/depositToStabilityPool.d.ts +4 -0
  115. package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +12 -0
  116. package/dist/types/pools/stabilityPool/getStabilityPoolTotalDeposits.d.ts +4 -0
  117. package/dist/types/pools/stabilityPool/withdrawFromStabilityPool.d.ts +4 -0
  118. package/dist/types/scripts/index.d.ts +1 -0
  119. package/dist/types/tests/test.d.ts +1 -0
  120. package/dist/types/typechain-types/@chainlink/contracts/index.d.ts +2 -0
  121. package/dist/types/typechain-types/@chainlink/contracts/src/index.d.ts +2 -0
  122. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/index.d.ts +2 -0
  123. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.d.ts +67 -0
  124. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +5 -0
  125. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient.d.ts +37 -0
  126. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter.d.ts +205 -0
  127. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
  128. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.d.ts +25 -0
  129. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
  130. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +4 -0
  131. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.d.ts +69 -0
  132. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal.d.ts +69 -0
  133. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
  134. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/index.d.ts +4 -0
  135. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable.d.ts +37 -0
  136. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
  137. package/dist/types/typechain-types/@chainlink/index.d.ts +2 -0
  138. package/dist/types/typechain-types/@openzeppelin/contracts/access/AccessControl.d.ts +159 -0
  139. package/dist/types/typechain-types/@openzeppelin/contracts/access/IAccessControl.d.ts +147 -0
  140. package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts +54 -0
  141. package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +3 -0
  142. package/dist/types/typechain-types/@openzeppelin/contracts/index.d.ts +8 -0
  143. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.d.ts +78 -0
  144. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.d.ts +20 -0
  145. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.d.ts +20 -0
  146. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.d.ts +20 -0
  147. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
  148. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +3 -0
  149. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts +141 -0
  150. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +129 -0
  151. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.d.ts +236 -0
  152. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +141 -0
  153. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.d.ts +61 -0
  154. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
  155. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts +6 -0
  156. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts +20 -0
  157. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
  158. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts +211 -0
  159. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +199 -0
  160. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721Receiver.d.ts +39 -0
  161. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.d.ts +233 -0
  162. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.d.ts +221 -0
  163. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.d.ts +211 -0
  164. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
  165. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/index.d.ts +7 -0
  166. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.d.ts +39 -0
  167. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
  168. package/dist/types/typechain-types/@openzeppelin/contracts/token/index.d.ts +4 -0
  169. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Address.d.ts +20 -0
  170. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Nonces.d.ts +25 -0
  171. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Pausable.d.ts +55 -0
  172. package/dist/types/typechain-types/@openzeppelin/contracts/utils/ReentrancyGuard.d.ts +20 -0
  173. package/dist/types/typechain-types/@openzeppelin/contracts/utils/ShortStrings.d.ts +20 -0
  174. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Strings.d.ts +20 -0
  175. package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.d.ts +20 -0
  176. package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/EIP712.d.ts +78 -0
  177. package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
  178. package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +12 -0
  179. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/ERC165.d.ts +29 -0
  180. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +29 -0
  181. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  182. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/Math.d.ts +20 -0
  183. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.d.ts +20 -0
  184. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
  185. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +68 -0
  186. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
  187. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/index.d.ts +6 -0
  188. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +2 -0
  189. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +36 -0
  190. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  191. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +36 -0
  192. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.d.ts +69 -0
  193. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
  194. package/dist/types/typechain-types/@openzeppelin/index.d.ts +4 -0
  195. package/dist/types/typechain-types/common.d.ts +50 -0
  196. package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +708 -0
  197. package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +283 -0
  198. package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
  199. package/dist/types/typechain-types/contracts/core/governance/boost/BoostController.d.ts +573 -0
  200. package/dist/types/typechain-types/contracts/core/governance/boost/index.d.ts +1 -0
  201. package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +779 -0
  202. package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +815 -0
  203. package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +803 -0
  204. package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +807 -0
  205. package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +4 -0
  206. package/dist/types/typechain-types/contracts/core/governance/index.d.ts +6 -0
  207. package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +612 -0
  208. package/dist/types/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts +447 -0
  209. package/dist/types/typechain-types/contracts/core/governance/proposals/index.d.ts +2 -0
  210. package/dist/types/typechain-types/contracts/core/index.d.ts +14 -0
  211. package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +703 -0
  212. package/dist/types/typechain-types/contracts/core/minters/RAACMinter/index.d.ts +1 -0
  213. package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +503 -0
  214. package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  215. package/dist/types/typechain-types/contracts/core/minters/index.d.ts +4 -0
  216. package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +165 -0
  217. package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +188 -0
  218. package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +195 -0
  219. package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +3 -0
  220. package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +935 -0
  221. package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +1 -0
  222. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +274 -0
  223. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/NFTLiquidator.d.ts +283 -0
  224. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +572 -0
  225. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -0
  226. package/dist/types/typechain-types/contracts/core/pools/index.d.ts +4 -0
  227. package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +111 -0
  228. package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +1 -0
  229. package/dist/types/typechain-types/contracts/core/tokens/DEToken.d.ts +384 -0
  230. package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +415 -0
  231. package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +155 -0
  232. package/dist/types/typechain-types/contracts/core/tokens/LPToken.d.ts +224 -0
  233. package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +334 -0
  234. package/dist/types/typechain-types/contracts/core/tokens/RAACToken.d.ts +401 -0
  235. package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +567 -0
  236. package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +816 -0
  237. package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +8 -0
  238. package/dist/types/typechain-types/contracts/index.d.ts +10 -0
  239. package/dist/types/typechain-types/contracts/interfaces/IERC20.d.ts +129 -0
  240. package/dist/types/typechain-types/contracts/interfaces/IHousePrices.d.ts +29 -0
  241. package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +85 -0
  242. package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +73 -0
  243. package/dist/types/typechain-types/contracts/interfaces/IPoolManager.d.ts +37 -0
  244. package/dist/types/typechain-types/contracts/interfaces/IReserveAllocationLibraryMock.d.ts +164 -0
  245. package/dist/types/typechain-types/contracts/interfaces/IUSDC.d.ts +129 -0
  246. package/dist/types/typechain-types/contracts/interfaces/IveRAACDistributor.d.ts +59 -0
  247. package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +300 -0
  248. package/dist/types/typechain-types/contracts/interfaces/core/collectors/ITreasury.d.ts +139 -0
  249. package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +2 -0
  250. package/dist/types/typechain-types/contracts/interfaces/core/governance/IBoostController.d.ts +269 -0
  251. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGauge.d.ts +235 -0
  252. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +341 -0
  253. package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
  254. package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +5 -0
  255. package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +577 -0
  256. package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/ITimelockController.d.ts +279 -0
  257. package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
  258. package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +12 -0
  259. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +316 -0
  260. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
  261. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +235 -0
  262. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  263. package/dist/types/typechain-types/contracts/interfaces/core/minters/index.d.ts +4 -0
  264. package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +110 -0
  265. package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
  266. package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +147 -0
  267. package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +497 -0
  268. package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
  269. package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +350 -0
  270. package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
  271. package/dist/types/typechain-types/contracts/interfaces/core/pools/index.d.ts +5 -0
  272. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDEToken.d.ts +226 -0
  273. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +195 -0
  274. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +279 -0
  275. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACToken.d.ts +346 -0
  276. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +397 -0
  277. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +362 -0
  278. package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +6 -0
  279. package/dist/types/typechain-types/contracts/interfaces/curve/ICurveCrvUSDVault.d.ts +144 -0
  280. package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
  281. package/dist/types/typechain-types/contracts/interfaces/index.d.ts +14 -0
  282. package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +122 -0
  283. package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +186 -0
  284. package/dist/types/typechain-types/contracts/interfaces/zeno/index.d.ts +2 -0
  285. package/dist/types/typechain-types/contracts/libraries/governance/BoostCalculator.d.ts +42 -0
  286. package/dist/types/typechain-types/contracts/libraries/governance/Checkpoints.d.ts +55 -0
  287. package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +87 -0
  288. package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +60 -0
  289. package/dist/types/typechain-types/contracts/libraries/governance/RAACVoting.d.ts +45 -0
  290. package/dist/types/typechain-types/contracts/libraries/governance/VotingPowerLib.d.ts +66 -0
  291. package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +6 -0
  292. package/dist/types/typechain-types/contracts/libraries/index.d.ts +8 -0
  293. package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +104 -0
  294. package/dist/types/typechain-types/contracts/libraries/math/index.d.ts +1 -0
  295. package/dist/types/typechain-types/contracts/libraries/pools/ReserveLibrary.d.ts +124 -0
  296. package/dist/types/typechain-types/contracts/libraries/pools/index.d.ts +1 -0
  297. package/dist/types/typechain-types/contracts/libraries/utils/StringUtils.d.ts +20 -0
  298. package/dist/types/typechain-types/contracts/libraries/utils/index.d.ts +1 -0
  299. package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +708 -0
  300. package/dist/types/typechain-types/contracts/mocks/core/collectors/MockTreasury.d.ts +169 -0
  301. package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +2 -0
  302. package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockBaseGauge.d.ts +845 -0
  303. package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +29 -0
  304. package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
  305. package/dist/types/typechain-types/contracts/mocks/core/governance/index.d.ts +4 -0
  306. package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +72 -0
  307. package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
  308. package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +12 -0
  309. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.d.ts +41 -0
  310. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +45 -0
  311. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
  312. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockOracle.d.ts +43 -0
  313. package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +204 -0
  314. package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +211 -0
  315. package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +5 -0
  316. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +121 -0
  317. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +539 -0
  318. package/dist/types/typechain-types/contracts/mocks/core/pools/MockPool.d.ts +55 -0
  319. package/dist/types/typechain-types/contracts/mocks/core/pools/MockStabilityPool.d.ts +69 -0
  320. package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +4 -0
  321. package/dist/types/typechain-types/contracts/mocks/core/primitives/MockContract.d.ts +29 -0
  322. package/dist/types/typechain-types/contracts/mocks/core/primitives/MockContractWithConfig.d.ts +39 -0
  323. package/dist/types/typechain-types/contracts/mocks/core/primitives/RAACHousePricesMock.d.ts +47 -0
  324. package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +3 -0
  325. package/dist/types/typechain-types/contracts/mocks/core/tokens/CrvUSDToken.d.ts +212 -0
  326. package/dist/types/typechain-types/contracts/mocks/core/tokens/ERC20Mock.d.ts +155 -0
  327. package/dist/types/typechain-types/contracts/mocks/core/tokens/ERC721Mock.d.ts +229 -0
  328. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +220 -0
  329. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +191 -0
  330. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockUSDC.d.ts +155 -0
  331. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockVeToken.d.ts +510 -0
  332. package/dist/types/typechain-types/contracts/mocks/core/tokens/RAACMockERC20.d.ts +186 -0
  333. package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +8 -0
  334. package/dist/types/typechain-types/contracts/mocks/index.d.ts +6 -0
  335. package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +275 -0
  336. package/dist/types/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts +83 -0
  337. package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +163 -0
  338. package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +141 -0
  339. package/dist/types/typechain-types/contracts/mocks/libraries/governance/RAACVotingMock.d.ts +41 -0
  340. package/dist/types/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts +281 -0
  341. package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +6 -0
  342. package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +6 -0
  343. package/dist/types/typechain-types/contracts/mocks/libraries/math/TimeWeightedAverageMock.d.ts +203 -0
  344. package/dist/types/typechain-types/contracts/mocks/libraries/math/WadRayMathMock.d.ts +78 -0
  345. package/dist/types/typechain-types/contracts/mocks/libraries/math/index.d.ts +2 -0
  346. package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMock.d.ts +225 -0
  347. package/dist/types/typechain-types/contracts/mocks/libraries/pools/index.d.ts +1 -0
  348. package/dist/types/typechain-types/contracts/mocks/tests/MaliciousDeposit.d.ts +29 -0
  349. package/dist/types/typechain-types/contracts/mocks/tests/MaliciousWithdraw.d.ts +29 -0
  350. package/dist/types/typechain-types/contracts/mocks/tests/VeRAACFuzzHelper.d.ts +71 -0
  351. package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.d.ts +25 -0
  352. package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.d.ts +100 -0
  353. package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
  354. package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +5 -0
  355. package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +215 -0
  356. package/dist/types/typechain-types/contracts/zeno/AuctionFactory.d.ts +177 -0
  357. package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +237 -0
  358. package/dist/types/typechain-types/contracts/zeno/ZENOFactory.d.ts +151 -0
  359. package/dist/types/typechain-types/contracts/zeno/index.d.ts +4 -0
  360. package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +242 -0
  361. package/dist/types/typechain-types/erc721a/contracts/index.d.ts +1 -0
  362. package/dist/types/typechain-types/erc721a/index.d.ts +2 -0
  363. package/dist/types/typechain-types/factories/@chainlink/contracts/index.d.ts +1 -0
  364. package/dist/types/typechain-types/factories/@chainlink/contracts/src/index.d.ts +1 -0
  365. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/index.d.ts +1 -0
  366. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient__factory.d.ts +49 -0
  367. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +3 -0
  368. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient__factory.d.ts +25 -0
  369. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter__factory.d.ts +268 -0
  370. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
  371. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +48 -0
  372. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
  373. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
  374. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +90 -0
  375. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +86 -0
  376. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
  377. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/index.d.ts +2 -0
  378. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable__factory.d.ts +33 -0
  379. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
  380. package/dist/types/typechain-types/factories/@chainlink/index.d.ts +1 -0
  381. package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.d.ts +181 -0
  382. package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.d.ts +157 -0
  383. package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts +64 -0
  384. package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +3 -0
  385. package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.d.ts +4 -0
  386. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.d.ts +46 -0
  387. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.d.ts +83 -0
  388. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.d.ts +71 -0
  389. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.d.ts +83 -0
  390. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
  391. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
  392. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +241 -0
  393. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +147 -0
  394. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit__factory.d.ts +402 -0
  395. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +177 -0
  396. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.d.ts +65 -0
  397. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
  398. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +4 -0
  399. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +46 -0
  400. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
  401. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.d.ts +337 -0
  402. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.d.ts +33 -0
  403. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +227 -0
  404. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable__factory.d.ts +395 -0
  405. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable__factory.d.ts +269 -0
  406. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.d.ts +261 -0
  407. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
  408. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +5 -0
  409. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder__factory.d.ts +33 -0
  410. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
  411. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts +2 -0
  412. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +42 -0
  413. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Nonces__factory.d.ts +33 -0
  414. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Pausable__factory.d.ts +45 -0
  415. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ReentrancyGuard__factory.d.ts +11 -0
  416. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +34 -0
  417. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +34 -0
  418. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +42 -0
  419. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory.d.ts +58 -0
  420. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
  421. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +9 -0
  422. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.d.ts +21 -0
  423. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +21 -0
  424. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
  425. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +26 -0
  426. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +62 -0
  427. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
  428. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +82 -0
  429. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
  430. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.d.ts +3 -0
  431. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +1 -0
  432. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +25 -0
  433. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
  434. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +25 -0
  435. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable__factory.d.ts +63 -0
  436. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
  437. package/dist/types/typechain-types/factories/@openzeppelin/index.d.ts +2 -0
  438. package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +985 -0
  439. package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +386 -0
  440. package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +2 -0
  441. package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +716 -0
  442. package/dist/types/typechain-types/factories/contracts/core/governance/boost/index.d.ts +1 -0
  443. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +1083 -0
  444. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1124 -0
  445. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1154 -0
  446. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1154 -0
  447. package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +4 -0
  448. package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +3 -0
  449. package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +976 -0
  450. package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +773 -0
  451. package/dist/types/typechain-types/factories/contracts/core/governance/proposals/index.d.ts +2 -0
  452. package/dist/types/typechain-types/factories/contracts/core/index.d.ts +7 -0
  453. package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1048 -0
  454. package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/index.d.ts +1 -0
  455. package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +706 -0
  456. package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  457. package/dist/types/typechain-types/factories/contracts/core/minters/index.d.ts +2 -0
  458. package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +205 -0
  459. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +275 -0
  460. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +286 -0
  461. package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +3 -0
  462. package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +1327 -0
  463. package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +1 -0
  464. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +405 -0
  465. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +390 -0
  466. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +930 -0
  467. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -0
  468. package/dist/types/typechain-types/factories/contracts/core/pools/index.d.ts +2 -0
  469. package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +178 -0
  470. package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +1 -0
  471. package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +671 -0
  472. package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +729 -0
  473. package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +286 -0
  474. package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +401 -0
  475. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +635 -0
  476. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +652 -0
  477. package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +941 -0
  478. package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1264 -0
  479. package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +8 -0
  480. package/dist/types/typechain-types/factories/contracts/index.d.ts +5 -0
  481. package/dist/types/typechain-types/factories/contracts/interfaces/IERC20__factory.d.ts +147 -0
  482. package/dist/types/typechain-types/factories/contracts/interfaces/IHousePrices__factory.d.ts +21 -0
  483. package/dist/types/typechain-types/factories/contracts/interfaces/IMarketCreator__factory.d.ts +101 -0
  484. package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +65 -0
  485. package/dist/types/typechain-types/factories/contracts/interfaces/IPoolManager__factory.d.ts +43 -0
  486. package/dist/types/typechain-types/factories/contracts/interfaces/IReserveAllocationLibraryMock__factory.d.ts +189 -0
  487. package/dist/types/typechain-types/factories/contracts/interfaces/IUSDC__factory.d.ts +147 -0
  488. package/dist/types/typechain-types/factories/contracts/interfaces/IveRAACDistributor__factory.d.ts +75 -0
  489. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +396 -0
  490. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/ITreasury__factory.d.ts +165 -0
  491. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +2 -0
  492. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/IBoostController__factory.d.ts +295 -0
  493. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +449 -0
  494. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGauge__factory.d.ts +307 -0
  495. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
  496. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +3 -0
  497. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +878 -0
  498. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/ITimelockController__factory.d.ts +468 -0
  499. package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
  500. package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +6 -0
  501. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +380 -0
  502. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
  503. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +275 -0
  504. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
  505. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/index.d.ts +2 -0
  506. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +146 -0
  507. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
  508. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +153 -0
  509. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +642 -0
  510. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
  511. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +480 -0
  512. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
  513. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/index.d.ts +3 -0
  514. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDEToken__factory.d.ts +256 -0
  515. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +279 -0
  516. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +363 -0
  517. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACToken__factory.d.ts +436 -0
  518. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +496 -0
  519. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +435 -0
  520. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +6 -0
  521. package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveCrvUSDVault__factory.d.ts +194 -0
  522. package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
  523. package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +11 -0
  524. package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +126 -0
  525. package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +246 -0
  526. package/dist/types/typechain-types/factories/contracts/interfaces/zeno/index.d.ts +2 -0
  527. package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +54 -0
  528. package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +68 -0
  529. package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +111 -0
  530. package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +69 -0
  531. package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +92 -0
  532. package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +74 -0
  533. package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +6 -0
  534. package/dist/types/typechain-types/factories/contracts/libraries/index.d.ts +4 -0
  535. package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +125 -0
  536. package/dist/types/typechain-types/factories/contracts/libraries/math/index.d.ts +1 -0
  537. package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +135 -0
  538. package/dist/types/typechain-types/factories/contracts/libraries/pools/index.d.ts +1 -0
  539. package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +26 -0
  540. package/dist/types/typechain-types/factories/contracts/libraries/utils/index.d.ts +1 -0
  541. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +985 -0
  542. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +212 -0
  543. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +2 -0
  544. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +1182 -0
  545. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +50 -0
  546. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
  547. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/index.d.ts +2 -0
  548. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +91 -0
  549. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
  550. package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +6 -0
  551. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter__factory.d.ts +37 -0
  552. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +66 -0
  553. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
  554. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +62 -0
  555. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +293 -0
  556. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +304 -0
  557. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +4 -0
  558. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +740 -0
  559. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +199 -0
  560. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +84 -0
  561. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +109 -0
  562. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +4 -0
  563. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +53 -0
  564. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +42 -0
  565. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +64 -0
  566. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +3 -0
  567. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +379 -0
  568. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +282 -0
  569. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +388 -0
  570. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +407 -0
  571. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +338 -0
  572. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +278 -0
  573. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +714 -0
  574. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +335 -0
  575. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +8 -0
  576. package/dist/types/typechain-types/factories/contracts/mocks/index.d.ts +3 -0
  577. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +351 -0
  578. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +124 -0
  579. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +197 -0
  580. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +183 -0
  581. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +70 -0
  582. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +341 -0
  583. package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +6 -0
  584. package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +3 -0
  585. package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +247 -0
  586. package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +154 -0
  587. package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/index.d.ts +2 -0
  588. package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +277 -0
  589. package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/index.d.ts +1 -0
  590. package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +53 -0
  591. package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +53 -0
  592. package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +80 -0
  593. package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl__factory.d.ts +17 -0
  594. package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +113 -0
  595. package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
  596. package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +4 -0
  597. package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +250 -0
  598. package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +320 -0
  599. package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +223 -0
  600. package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +488 -0
  601. package/dist/types/typechain-types/factories/contracts/zeno/index.d.ts +4 -0
  602. package/dist/types/typechain-types/factories/erc721a/contracts/IERC721A__factory.d.ts +368 -0
  603. package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +1 -0
  604. package/dist/types/typechain-types/factories/erc721a/index.d.ts +1 -0
  605. package/dist/types/typechain-types/factories/index.d.ts +4 -0
  606. package/dist/types/typechain-types/index.d.ts +311 -0
  607. package/dist/types/utils/artifacts.d.ts +1627 -0
  608. package/dist/types/utils/chain.d.ts +13 -0
  609. package/dist/types/utils/config.d.ts +0 -0
  610. package/dist/types/utils/contracts.d.ts +20 -0
  611. package/dist/types/wallet/assets/approveAsset.d.ts +5 -0
  612. package/dist/types/wallet/assets/burnAsset.d.ts +5 -0
  613. package/dist/types/wallet/assets/getAllowance.d.ts +5 -0
  614. package/dist/types/wallet/assets/getAsset.d.ts +4 -0
  615. package/dist/types/wallet/assets/getAssets.d.ts +4 -0
  616. package/dist/types/wallet/assets/getBalance.d.ts +5 -0
  617. package/dist/types/wallet/assets/mintAsset.d.ts +5 -0
  618. package/dist/types/wallet/assets/transferAsset.d.ts +5 -0
  619. package/dist/utils/artifacts.js +65 -0
  620. package/dist/utils/chain.js +92 -0
  621. package/{utils/config.ts → dist/utils/config.js} +0 -6
  622. package/dist/utils/contracts.js +81 -0
  623. package/dist/wallet/assets/approveAsset.js +35 -0
  624. package/dist/wallet/assets/burnAsset.js +46 -0
  625. package/dist/wallet/assets/getAllowance.js +26 -0
  626. package/dist/wallet/assets/getAsset.js +22 -0
  627. package/dist/wallet/assets/getAssets.js +26 -0
  628. package/dist/wallet/assets/getBalance.js +24 -0
  629. package/dist/wallet/assets/mintAsset.js +47 -0
  630. package/dist/wallet/assets/transferAsset.js +62 -0
  631. package/package.json +34 -25
  632. package/RPCLibrary.ts +0 -358
  633. package/assets/getAsset.ts +0 -26
  634. package/assets/getAssets.ts +0 -30
  635. package/assets/getSupply.ts +0 -23
  636. package/configs/chains/8453.json +0 -116
  637. package/configs/chains/chain.d.ts +0 -87
  638. package/configs/chains/index.ts +0 -13
  639. package/configs/chains/list.json +0 -3
  640. package/configs/createConfig.ts +0 -91
  641. package/configs/index.ts +0 -51
  642. package/contracts/crvUSDToken/getBalance.ts +0 -23
  643. package/contracts/crvUSDToken/getTotalSupply.ts +0 -36
  644. package/contracts/getContract.ts +0 -21
  645. package/contracts/getContractAddress.ts +0 -61
  646. package/contracts/housePrices/getLatestPrice.ts +0 -38
  647. package/contracts/housePrices/setOracle.ts +0 -40
  648. package/contracts/rcrvUSDToken/getBalance.ts +0 -23
  649. package/contracts/rcrvUSDToken/getTotalSupply.ts +0 -39
  650. package/contracts/zeno/createAuction.ts +0 -57
  651. package/contracts/zeno/createZeno.ts +0 -45
  652. package/contracts/zeno/getAuctions.ts +0 -38
  653. package/contracts/zeno/getZenos.ts +0 -38
  654. package/custom-types.d.ts +0 -20
  655. package/methods/approveToken.ts +0 -47
  656. package/methods/commons/checkAllowance.ts +0 -36
  657. package/methods/commons/estimateGasPrice.ts +0 -21
  658. package/methods/debug/mintToken.js +0 -83
  659. package/methods/getAssetBalance.ts +0 -47
  660. package/methods/getAssetsBalance.ts +0 -9
  661. package/minter/get.ts +0 -150
  662. package/minter/getApy.ts +0 -37
  663. package/minter/tick.ts +0 -40
  664. package/nfts/addNewBatch.ts +0 -37
  665. package/nfts/getCurrentBatchSize.ts +0 -26
  666. package/nfts/getDepositedNFTs.ts +0 -31
  667. package/nfts/getHousePrice.ts +0 -30
  668. package/nfts/getOwnedNFTs.ts +0 -46
  669. package/nfts/mint.ts +0 -43
  670. package/nfts/setBaseUri.ts +0 -33
  671. package/pools/lendingPool/borrowFromLendingPool.ts +0 -39
  672. package/pools/lendingPool/depositNFTToLendingPool.ts +0 -70
  673. package/pools/lendingPool/depositToLendingPool.ts +0 -52
  674. package/pools/lendingPool/getHousePrice.ts +0 -46
  675. package/pools/lendingPool/getLendingPoolInfo.ts +0 -153
  676. package/pools/lendingPool/getLendingPoolTotalLiquidity.ts +0 -32
  677. package/pools/lendingPool/repayToLendingPool.ts +0 -52
  678. package/pools/lendingPool/withdrawFromLendingPool.ts +0 -68
  679. package/pools/lendingPool/withdrawNFTFromLendingPool.ts +0 -39
  680. package/pools/liquidityPool/getLiquidityPoolInfo.ts +0 -90
  681. package/pools/stabilityPool/calculateRAACRewards.ts +0 -37
  682. package/pools/stabilityPool/depositToStabilityPool.ts +0 -47
  683. package/pools/stabilityPool/getStabilityPoolInfo.ts +0 -121
  684. package/pools/stabilityPool/getStabilityPoolTotalDeposits.ts +0 -27
  685. package/pools/stabilityPool/withdrawFromStabilityPool.ts +0 -47
  686. package/sync-contracts.sh +0 -63
  687. package/tests/test.ts +0 -40
  688. package/tsconfig.json +0 -113
  689. package/utils/artifacts.ts +0 -66
  690. package/utils/chain.ts +0 -94
  691. package/utils/contracts.ts +0 -94
  692. package/wallet/assets/approveAsset.ts +0 -44
  693. package/wallet/assets/burnAsset.ts +0 -55
  694. package/wallet/assets/getAllowance.ts +0 -38
  695. package/wallet/assets/getAsset.ts +0 -33
  696. package/wallet/assets/getAssets.ts +0 -35
  697. package/wallet/assets/getBalance.ts +0 -34
  698. package/wallet/assets/mintAsset.ts +0 -57
  699. package/wallet/assets/transferAsset.ts +0 -78
@@ -1,87 +0,0 @@
1
- export interface Chain {
2
- chainId: number;
3
- name: string;
4
- rpcs: string[];
5
- contracts: Contracts;
6
- pools: Pools;
7
- nfts: Nfts;
8
- assets: Assets;
9
- nativeCurrency: NativeCurrency;
10
- blockExplorer: BlockExplorer[];
11
- }
12
-
13
- export interface BlockExplorer {
14
- name: string;
15
- url: string;
16
- }
17
-
18
- export interface Chain8453 extends Chain {
19
- contracts: Contracts8453;
20
- pools: Pools8453;
21
- nfts: Nfts8453;
22
- assets: Assets8453;
23
- }
24
-
25
- export interface NativeCurrency {
26
- name: string;
27
- symbol: string;
28
- decimals: number;
29
- }
30
-
31
- export interface Contracts {
32
- [contract: string]: DeployedContract;
33
- }
34
-
35
- export interface Contracts8453 {
36
- raachouseprices: DeployedContract;
37
- raacminter: DeployedContract;
38
- auctionfactory: DeployedContract;
39
- zenofactory: DeployedContract;
40
- feecollector: DeployedContract;
41
- treasury: DeployedContract;
42
- repairfund: DeployedContract;
43
- releaseorchestrator: DeployedContract;
44
- }
45
-
46
- export interface Pools {
47
- [pool: string]: DeployedContract;
48
- }
49
-
50
- export interface Pools8453 {
51
- stabilitypool: DeployedContract;
52
- lendingpool: DeployedContract;
53
- }
54
-
55
- export interface Nfts {
56
- [nft: string]: DeployedContract;
57
- }
58
-
59
- export interface Nfts8453 {
60
- raacnft: DeployedContract;
61
- }
62
-
63
- export interface Assets {
64
- [asset: string]: Asset;
65
- }
66
-
67
- export interface Assets8453 {
68
- eth: Asset;
69
- crvusd: Asset;
70
- rtoken: Asset;
71
- detoken: Asset;
72
- raactoken: Asset;
73
- veraac: Asset;
74
- }
75
-
76
- export interface DeployedContract {
77
- id: string;
78
- name: string;
79
- contract: string;
80
- }
81
-
82
- export interface Asset {
83
- id: string;
84
- name: string;
85
- decimals: number;
86
- contract: string;
87
- }
@@ -1,13 +0,0 @@
1
- // @ts-ignore
2
- import chain8453 from "./8453.json"; // assert { type: "json" };
3
- import { Chain, Chain8453 } from "./chain";
4
-
5
- const chains = {
6
- 8453: chain8453 as Chain8453,
7
- };
8
-
9
- export default chains;
10
- export const configs = chains;
11
- export type Configs = typeof chains;
12
- export type ConfigKeys = keyof Configs;
13
- export type ChainId = ConfigKeys | string | number;
@@ -1,3 +0,0 @@
1
- [
2
- "8453"
3
- ]
@@ -1,91 +0,0 @@
1
- import { ChainId } from "./chains";
2
-
3
- function createConfig(chainId: ChainId) {
4
- return {
5
- chainId: chainId,
6
- name: "Local",
7
- rpcs: ["http://54.159.212.213:8545"],
8
- contracts: {
9
- raachouseprices: {
10
- id: "raachouseprices",
11
- name: "RAAC House Prices",
12
- contract: "",
13
- },
14
- raacminter: {
15
- id: "raacminter",
16
- name: "RAAC Minter",
17
- contract: "",
18
- },
19
-
20
- auctionfactory: {
21
- id: "auctionfactory",
22
- name: "Auction Factory",
23
- contract: "",
24
- },
25
- zenofactory: {
26
- id: "zenofactory",
27
- name: "Zeno Factory",
28
- contract: "",
29
- },
30
- },
31
- pools: {
32
- stabilitypool: {
33
- id: "stabilitypool",
34
- name: "Stability Pool",
35
- contract: "",
36
- },
37
- lendingpool: {
38
- id: "lendingpool",
39
- name: "Lending Pool",
40
- contract: "",
41
- },
42
- },
43
- nfts: {
44
- raacnft: {
45
- id: "raacnft",
46
- name: "RAAC NFT",
47
- contract: "",
48
- },
49
- },
50
- assets: {
51
- eth: {
52
- id: "eth",
53
- name: "ETH",
54
- decimals: 18,
55
- contract: "0x0000000000000000000000000000000000000000",
56
- },
57
- crvusd: {
58
- id: "crvusd",
59
- name: "CRVUSD",
60
- decimals: 18,
61
- contract: "",
62
- },
63
- rtoken: {
64
- id: "rtoken",
65
- name: "RToken",
66
- decimals: 18,
67
- contract: "",
68
- },
69
- detoken: {
70
- id: "detoken",
71
- name: "DEtoken",
72
- decimals: 18,
73
- contract: "",
74
- },
75
- raactoken: {
76
- id: "raactoken",
77
- name: "RAAC",
78
- decimals: 18,
79
- contract: "",
80
- },
81
- veraac: {
82
- id: "veraac",
83
- name: "VERAAC",
84
- decimals: 18,
85
- contract: "",
86
- },
87
- },
88
- };
89
- }
90
-
91
- export default createConfig;
package/configs/index.ts DELETED
@@ -1,51 +0,0 @@
1
- // let fs;
2
- // let path;
3
- // let fileURLToPath;
4
-
5
- // if (typeof window === 'undefined') {
6
- // // Server-side
7
- // // fs = import('fs');
8
- // path = import('path');
9
- // fileURLToPath = import('url').fileURLToPath;
10
- // }
11
-
12
- import { Chain } from "./chains/chain";
13
- import chains, { ChainId } from "./chains/index";
14
-
15
- function getChainsConfig() {
16
- // if (typeof window === 'undefined') {
17
- // // Server-side logic
18
- // const __filename = fileURLToPath(import.meta.url);
19
- // const __dirname = path.dirname(__filename);
20
- // const chainsDir = `${__dirname}/chains`;
21
- // const chainsFiles = fs.readdirSync(chainsDir).filter(file => file.endsWith('.json'));
22
-
23
- // const chains = {};
24
- // for(const chainFileName of chainsFiles) {
25
- // const chainId = chainFileName.split('.')[0];
26
- // const chainConfig = fs.readFileSync(`${chainsDir}/${chainFileName}`, 'utf8');
27
- // chains[chainId] = JSON.parse(chainConfig);
28
- // }
29
- // return chains;
30
- // } else {
31
- // const chainConfigs = {
32
- // 8453: chain8453,
33
- // };
34
- // // Client-side logic via API ?
35
- // return chainConfigs;
36
- // }
37
-
38
- return chains;
39
- }
40
-
41
- function setChainConfig(chainId: ChainId, config: any) {
42
- chains[chainId] = config;
43
- }
44
-
45
- function getChainConfig(chainId: ChainId) {
46
- const chains = getChainsConfig();
47
- return chains[chainId];
48
- }
49
-
50
- export default { getChainsConfig, getChainConfig, setChainConfig };
51
- export { getChainsConfig, getChainConfig, setChainConfig };
@@ -1,23 +0,0 @@
1
- import { ethers } from "ethers";
2
- import configs from "../../configs/chains";
3
- import { ERC20 } from "../../typechain-types";
4
-
5
- const BALANCE_OF_ABI =
6
- "function balanceOf(address account) view returns (uint256)";
7
-
8
- export const getBalance = async (
9
- chainId: keyof typeof configs,
10
- contractAddress: string,
11
- address: string
12
- ) => {
13
- const rpc = configs[chainId].rpcs[0] as string;
14
- const provider = new ethers.JsonRpcProvider(rpc);
15
-
16
- const contract = new ethers.Contract(
17
- contractAddress,
18
- [BALANCE_OF_ABI],
19
- provider
20
- ) as any as ERC20;
21
- const balance = await contract.balanceOf(address);
22
- return ethers.formatEther(balance);
23
- };
@@ -1,36 +0,0 @@
1
- import { ethers, Provider } from "ethers";
2
- import configs, { ConfigKeys } from "../../configs/chains";
3
- import { ERC20 } from "../../typechain-types";
4
-
5
- const TOTAL_SUPPLY_ABI = "function totalSupply() view returns (uint256)";
6
-
7
- /**
8
- *
9
- * @param {string} contractAddress
10
- * @param {number} chainId
11
- * @param {ethers.JsonRpcProvider} [provider]
12
- * @returns {Promise<string>}
13
- */
14
- export const getTotalSupply = async (
15
- chainId: ConfigKeys,
16
- contractAddress: string,
17
- provider: Provider
18
- ) => {
19
- console.log("Getting total supply for", contractAddress, "on chain", chainId);
20
- if (!provider) {
21
- console.log("Chain ID", chainId);
22
- if (!chainId) {
23
- throw new Error("Contract address not found in any chain configuration");
24
- }
25
- const rpc = configs[chainId].rpcs[0];
26
- provider = new ethers.JsonRpcProvider(rpc);
27
- }
28
-
29
- const contract = new ethers.Contract(
30
- contractAddress,
31
- [TOTAL_SUPPLY_ABI],
32
- provider
33
- ) as any as ERC20;
34
- const totalSupply = await contract.totalSupply();
35
- return ethers.formatEther(totalSupply);
36
- };
@@ -1,21 +0,0 @@
1
- import { ethers, Signer } from "ethers";
2
- import getContractAddress from "./getContractAddress";
3
- import { ChainId } from "../configs/chains/index";
4
- import { ContractType } from "../utils/artifacts";
5
-
6
- export default async function getContract(
7
- chainId: ChainId,
8
- contractName: ContractType,
9
- signer: Signer
10
- ) {
11
- if (!signer) {
12
- throw new Error("Signer is required");
13
- }
14
- const contractAddress = getContractAddress(chainId, contractName);
15
-
16
- // You'll need to import the ABI for the contract. This is just a placeholder.
17
- const abi: any[] = []; // Replace with actual ABI
18
-
19
- const contract = new ethers.Contract(contractAddress, abi, signer);
20
- return contract;
21
- }
@@ -1,61 +0,0 @@
1
- import { Chain } from "../configs/chains/chain";
2
- import configs, { ChainId } from "../configs/chains";
3
- import { ContractType } from "../utils/artifacts";
4
-
5
- /**
6
- * Get the contract address for a given asset on a specific chain
7
- * @param {number} chainId
8
- * @param {string} contractName
9
- * @returns {string}
10
- */
11
- export const getContractAddress = (
12
- chainId: ChainId,
13
- contractName: ContractType
14
- ) => {
15
- const normalizedContractName = contractName.toLowerCase();
16
-
17
- if (!chainId) {
18
- throw new Error("Chain ID is required");
19
- }
20
-
21
- const config = configs[chainId];
22
-
23
- if (!config) {
24
- throw new Error(`Chain configuration not found for chainId: ${chainId}`);
25
- }
26
-
27
- const lookupKeys = [
28
- "contracts",
29
- "assets",
30
- "pools",
31
- "nfts",
32
- ] as (keyof Chain)[];
33
-
34
- let address = null;
35
- for (const key of lookupKeys) {
36
- // @ts-ignore
37
- if (config[key] && config[key][normalizedContractName]) {
38
- // @ts-ignore
39
- address =
40
- // @ts-ignore
41
- config[key][normalizedContractName].contract ||
42
- // @ts-ignore
43
- config[key][normalizedContractName];
44
- break;
45
- }
46
- }
47
-
48
- if (!address) {
49
- console.error(
50
- `Contract address not found for ${normalizedContractName} on chain ${chainId}`
51
- );
52
- console.error("Available contracts:", Object.keys(config.contracts));
53
- throw new Error(
54
- `Contract ${normalizedContractName} not found for chain ID: ${chainId}`
55
- );
56
- }
57
-
58
- return address;
59
- };
60
-
61
- export default getContractAddress;
@@ -1,38 +0,0 @@
1
- import { ethers, Provider } from "ethers";
2
- import { getContractAddress } from "../../utils/contracts";
3
- import { getABI } from "../../utils/artifacts";
4
- import { ChainId } from "../../configs/chains/index";
5
- import { RAACHousePrices } from "../../typechain-types";
6
-
7
- async function getLatestPrice(
8
- chainId: ChainId,
9
- tokenId: string,
10
- provider: Provider
11
- ) {
12
- try {
13
- const raacHousePricesAddress = getContractAddress(
14
- chainId,
15
- "raachouseprices"
16
- );
17
- const raacHousePricesABI = getABI("raachouseprices");
18
-
19
- const raacHousePricesContract = new ethers.Contract(
20
- raacHousePricesAddress,
21
- raacHousePricesABI,
22
- provider
23
- ) as any as RAACHousePrices;
24
-
25
- const [price, timestamp] = await raacHousePricesContract.getLatestPrice(
26
- tokenId
27
- );
28
-
29
- return { price, timestamp };
30
- } catch (error: any) {
31
- console.error("Error getting latest price:", error);
32
- return { price: -1, timestamp: -1 };
33
- // console.error('Error getting latest price:', error);
34
- // throw new Error(`Failed to get latest price: ${error.message}`);
35
- }
36
- }
37
-
38
- export default getLatestPrice;
@@ -1,40 +0,0 @@
1
- import { ethers, Signer } from "ethers";
2
- import { getContractAddress } from "../../utils/contracts";
3
- import { getABI } from "../../utils/artifacts";
4
- import { ChainId } from "../../configs/chains/index";
5
- import { RAACHousePrices } from "../../typechain-types";
6
-
7
- async function setOracle(
8
- chainId: ChainId,
9
- newOracleAddress: string,
10
- signer: Signer
11
- ) {
12
- if (!signer) {
13
- throw new Error("Wallet not connected");
14
- }
15
-
16
- try {
17
- const raacHousePricesAddress = getContractAddress(
18
- chainId,
19
- "raachouseprices"
20
- );
21
- const raacHousePricesABI = getABI("raachouseprices");
22
-
23
- const raacHousePricesContract = new ethers.Contract(
24
- raacHousePricesAddress,
25
- raacHousePricesABI,
26
- signer
27
- ) as any as RAACHousePrices;
28
-
29
- const tx = await raacHousePricesContract.setOracle(newOracleAddress);
30
- await tx.wait();
31
-
32
- console.log(`Oracle address updated to: ${newOracleAddress}`);
33
- return tx;
34
- } catch (error: any) {
35
- console.error("Error setting oracle:", error);
36
- throw new Error(`Failed to set oracle: ${error.message}`);
37
- }
38
- }
39
-
40
- export default setOracle;
@@ -1,23 +0,0 @@
1
- import { ethers } from "ethers";
2
- import { ChainId, configs } from "../../configs/chains";
3
- import { ERC20 } from "../../typechain-types";
4
-
5
- const BALANCE_OF_ABI =
6
- "function balanceOf(address account) view returns (uint256)";
7
-
8
- export const getBalance = async (
9
- chainId: ChainId,
10
- contractAddress: string,
11
- address: string
12
- ) => {
13
- const rpc = configs[chainId].rpcs[0];
14
- const provider = new ethers.JsonRpcProvider(rpc);
15
-
16
- const contract = new ethers.Contract(
17
- contractAddress,
18
- [BALANCE_OF_ABI],
19
- provider
20
- ) as any as ERC20;
21
- const balance = await contract.balanceOf(address);
22
- return ethers.formatEther(balance);
23
- };
@@ -1,39 +0,0 @@
1
- import { ethers, Provider } from "ethers";
2
- import configs, { ChainId } from "../../configs/chains";
3
- import { ERC20 } from "../../typechain-types";
4
-
5
- const TOTAL_SUPPLY_ABI = "function totalSupply() view returns (uint256)";
6
-
7
- /**
8
- *
9
- * @param {string} contractAddress
10
- * @param {number} chainId
11
- * @param {ethers.JsonRpcProvider} [provider]
12
- * @returns {Promise<string>}
13
- */
14
- export const getTotalSupply = async (
15
- chainId: ChainId,
16
- contractAddress: string,
17
- provider: Provider
18
- ) => {
19
- if (!provider) {
20
- if (!chainId) {
21
- throw new Error("Contract address not found in any chain configuration");
22
- }
23
- const rpc = configs[chainId].rpcs[0];
24
- provider = new ethers.JsonRpcProvider(rpc);
25
- }
26
-
27
- console.log(
28
- `Getting total supply for ${contractAddress} on ${
29
- (await provider.getNetwork()).chainId
30
- } using provider ${provider}`
31
- );
32
- const contract = new ethers.Contract(
33
- contractAddress,
34
- [TOTAL_SUPPLY_ABI],
35
- provider
36
- ) as any as ERC20;
37
- const totalSupply = await contract.totalSupply();
38
- return ethers.formatEther(totalSupply);
39
- };
@@ -1,57 +0,0 @@
1
- import { ethers, Signer } from "ethers";
2
- import { getContractAddress } from "../../utils/contracts";
3
- import { getABI } from "../../utils/artifacts";
4
- import { ChainId } from "../../configs/chains/index";
5
- import { AuctionFactory } from "../../typechain-types";
6
-
7
- async function createAuction(
8
- chainId: ChainId,
9
- zenoAddress: string,
10
- usdcAddress: string,
11
- businessAddress: string,
12
- auctionStartTime: bigint,
13
- auctionEndTime: bigint,
14
- startingPrice: bigint,
15
- reservePrice: bigint,
16
- totalZenoAllocated: bigint,
17
- signer: Signer
18
- ) {
19
- if (!signer) {
20
- throw new Error("Wallet not connected");
21
- }
22
-
23
- try {
24
- const auctionFactoryAddress = getContractAddress(chainId, "auctionfactory");
25
- const auctionFactoryABI = getABI("auctionfactory");
26
-
27
- const auctionFactoryContract = new ethers.Contract(
28
- auctionFactoryAddress,
29
- auctionFactoryABI,
30
- signer
31
- ) as any as AuctionFactory;
32
-
33
- const tx = await auctionFactoryContract.createAuction(
34
- zenoAddress,
35
- usdcAddress,
36
- businessAddress,
37
- auctionStartTime,
38
- auctionEndTime,
39
- startingPrice,
40
- reservePrice,
41
- totalZenoAllocated
42
- );
43
- await tx.wait();
44
-
45
- const auctionsCount = await auctionFactoryContract.getAuctionCount();
46
- const auctionAddress = await auctionFactoryContract.getAuction(
47
- auctionsCount - 1n
48
- );
49
-
50
- console.log(`Zeno auction created at address: ${auctionAddress}`);
51
- } catch (error: any) {
52
- console.error("Error creating zeno auction:", error);
53
- throw new Error(`Failed to create zeno auction: ${error.message}`);
54
- }
55
- }
56
-
57
- export default createAuction;
@@ -1,45 +0,0 @@
1
- import { ethers, Signer } from "ethers";
2
- import { getContractAddress } from "../../utils/contracts";
3
- import { getABI } from "../../utils/artifacts";
4
- import { ChainId } from "../../configs/chains/index";
5
- import { ZENOFactory } from "../../typechain-types";
6
-
7
- async function createZeno(
8
- chainId: ChainId,
9
- usdcAddress: string,
10
- maturityDate: string,
11
- signer: Signer
12
- ) {
13
- if (!signer) {
14
- throw new Error("Wallet not connected");
15
- }
16
-
17
- try {
18
- const zenoFactoryAddress = getContractAddress(chainId, "zenofactory");
19
- const zenoFactoryABI = getABI("zenofactory");
20
-
21
- const zenoFactoryContract = new ethers.Contract(
22
- zenoFactoryAddress,
23
- zenoFactoryABI,
24
- signer
25
- ) as any as ZENOFactory;
26
-
27
- const tx = await zenoFactoryContract.createZENOContract(
28
- usdcAddress,
29
- maturityDate
30
- );
31
- await tx.wait();
32
-
33
- const zenosCount = await zenoFactoryContract.getZENOCount();
34
- const zenoAddress = await zenoFactoryContract.getZENO(zenosCount - 1n);
35
-
36
- console.log(`Zeno created at address: ${zenoAddress}`);
37
-
38
- return zenoAddress;
39
- } catch (error: any) {
40
- console.error("Error creating zeno:", error);
41
- throw new Error(`Failed to create zeno: ${error.message}`);
42
- }
43
- }
44
-
45
- export default createZeno;
@@ -1,38 +0,0 @@
1
- import { ethers, Signer } from "ethers";
2
- import { getContractAddress } from "../../utils/contracts";
3
- import { getABI } from "../../utils/artifacts";
4
- import { ChainId } from "../../configs/chains/index";
5
- import { AuctionFactory } from "../../typechain-types";
6
-
7
- async function getAuctions(chainId: ChainId, signer: Signer) {
8
- if (!signer) {
9
- throw new Error("Wallet not connected");
10
- }
11
-
12
- try {
13
- const auctionFactoryAddress = getContractAddress(chainId, "auctionfactory");
14
- const auctionFactoryABI = getABI("auctionfactory");
15
-
16
- const auctionFactoryContract = new ethers.Contract(
17
- auctionFactoryAddress,
18
- auctionFactoryABI,
19
- signer
20
- ) as any as AuctionFactory;
21
-
22
- const auctionsCount = await auctionFactoryContract.getAuctionCount();
23
- const auctions = [];
24
-
25
- for (let i = 0; i < auctionsCount; i++) {
26
- const auction = await auctionFactoryContract.getAuctionDetails(i);
27
- auctions.push(auction);
28
- }
29
-
30
- console.log(`Auctions: ${auctions}`);
31
- return auctions;
32
- } catch (error: any) {
33
- console.error("Error getting auctions:", error);
34
- throw new Error(`Failed to get auctions: ${error.message}`);
35
- }
36
- }
37
-
38
- export default getAuctions;