@raac/rpc 1.0.1 → 1.0.2-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/RPCLibrary.js +61 -8
  2. package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
  3. package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +175 -67
  4. package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
  5. package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1231 -195
  6. package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +153 -199
  7. package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +72 -2
  8. package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -2
  9. package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
  10. package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +707 -49
  11. package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +23 -84
  12. package/dist/artifacts/core/tokens/RToken.sol/RToken.json +62 -62
  13. package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -2
  14. package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
  15. package/dist/artifacts/zeno/Auction.sol/Auction.json +34 -114
  16. package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +3 -3
  17. package/dist/artifacts/zeno/Zeno.sol/Zeno.json +3 -3
  18. package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +3 -3
  19. package/dist/configs/chains/11155111.json +132 -0
  20. package/dist/configs/chains/17000.json +127 -0
  21. package/dist/configs/chains/8453.json +26 -14
  22. package/dist/configs/chains/index.js +4 -0
  23. package/dist/configs/createConfig.js +6 -0
  24. package/dist/contracts/feeCollector/claimRewardFromPool.js +24 -0
  25. package/dist/contracts/housePrices/getLatestPrice.js +1 -1
  26. package/dist/contracts/indexToken/getNextRandomNFT.js +30 -0
  27. package/dist/contracts/indexToken/redeemNFT.js +39 -0
  28. package/dist/methods/commons/estimateGasPrice.js +7 -2
  29. package/dist/nfts/getAllTokens.js +34 -0
  30. package/dist/nfts/{addNewBatch.js → getBaseUri.js} +7 -8
  31. package/dist/nfts/getMintFeePercentage.js +23 -0
  32. package/dist/nfts/getMintPrice.js +28 -0
  33. package/dist/nfts/getTokenURI.js +23 -0
  34. package/dist/nfts/getTokensByOwner.js +35 -0
  35. package/dist/nfts/getTotalPropertiesCount.js +23 -0
  36. package/dist/nfts/{getCurrentBatchSize.js → totalNFTSupply.js} +3 -3
  37. package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -3
  38. package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +40 -0
  39. package/dist/pools/lendingPool/calculateInsuranceFee.js +20 -0
  40. package/dist/pools/lendingPool/claimReward.js +22 -0
  41. package/dist/pools/lendingPool/closeLiquidation.js +28 -0
  42. package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -1
  43. package/dist/pools/lendingPool/depositToLendingPool.js +2 -2
  44. package/dist/pools/lendingPool/getAllUserData.js +28 -0
  45. package/dist/pools/lendingPool/getEligibleUserDeposits.js +27 -0
  46. package/dist/pools/lendingPool/getHealthFactor.js +27 -0
  47. package/dist/pools/lendingPool/getLendingPoolInfo.js +8 -5
  48. package/dist/pools/lendingPool/getPendingReward.js +20 -0
  49. package/dist/pools/lendingPool/getPositionDebt.js +27 -0
  50. package/dist/pools/lendingPool/getPositionScaledDebt.js +27 -0
  51. package/dist/pools/lendingPool/getPositionView.js +38 -0
  52. package/dist/pools/lendingPool/getPositionsScaledDebt.js +27 -0
  53. package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +21 -0
  54. package/dist/pools/lendingPool/getUserCollateralValue.js +27 -0
  55. package/dist/pools/lendingPool/initializeLiquidation.js +28 -0
  56. package/dist/pools/lendingPool/repayToLendingPool.js +4 -8
  57. package/dist/pools/lendingPool/withdrawFromLendingPool.js +2 -2
  58. package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +40 -0
  59. package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +21 -0
  60. package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -12
  61. package/dist/scripts/index.js +90 -35
  62. package/dist/types/RPCLibrary.d.ts +61 -8
  63. package/dist/types/configs/chains/index.d.ts +5 -1
  64. package/dist/types/configs/createConfig.d.ts +6 -0
  65. package/dist/types/configs/index.d.ts +2 -0
  66. package/dist/types/contracts/feeCollector/claimRewardFromPool.d.ts +4 -0
  67. package/dist/types/contracts/housePrices/getLatestPrice.d.ts +1 -1
  68. package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +7 -0
  69. package/dist/types/contracts/indexToken/redeemNFT.d.ts +4 -0
  70. package/dist/types/nfts/getAllTokens.d.ts +7 -0
  71. package/dist/types/nfts/getBaseUri.d.ts +4 -0
  72. package/dist/types/nfts/getMintFeePercentage.d.ts +4 -0
  73. package/dist/types/nfts/getMintPrice.d.ts +7 -0
  74. package/dist/types/nfts/getTokenURI.d.ts +4 -0
  75. package/dist/types/nfts/getTokensByOwner.d.ts +10 -0
  76. package/dist/types/nfts/getTotalPropertiesCount.d.ts +4 -0
  77. package/dist/types/nfts/totalNFTSupply.d.ts +4 -0
  78. package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +1 -1
  79. package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -0
  80. package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +4 -0
  81. package/dist/types/pools/lendingPool/claimReward.d.ts +4 -0
  82. package/dist/types/pools/lendingPool/closeLiquidation.d.ts +11 -0
  83. package/dist/types/pools/lendingPool/getAllUserData.d.ts +16 -0
  84. package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +11 -0
  85. package/dist/types/pools/lendingPool/getHealthFactor.d.ts +11 -0
  86. package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +2 -1
  87. package/dist/types/pools/lendingPool/getPendingReward.d.ts +4 -0
  88. package/dist/types/pools/lendingPool/getPositionDebt.d.ts +11 -0
  89. package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +11 -0
  90. package/dist/types/pools/lendingPool/getPositionView.d.ts +27 -0
  91. package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +11 -0
  92. package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +4 -0
  93. package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +11 -0
  94. package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +11 -0
  95. package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
  96. package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +1 -1
  97. package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +4 -0
  98. package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +4 -0
  99. package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +1 -3
  100. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
  101. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
  102. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
  103. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
  104. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  105. package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +446 -221
  106. package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +108 -20
  107. package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +6 -16
  108. package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
  109. package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +1 -0
  110. package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +811 -99
  111. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +152 -148
  112. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +0 -1
  113. package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +29 -2
  114. package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +65 -51
  115. package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +187 -2
  116. package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +413 -19
  117. package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +40 -40
  118. package/dist/types/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
  119. package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +317 -130
  120. package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
  121. package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
  122. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +58 -22
  123. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +5 -3
  124. package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
  125. package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
  126. package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +83 -45
  127. package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +539 -54
  128. package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +92 -71
  129. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +123 -27
  130. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
  131. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +243 -17
  132. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +37 -37
  133. package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
  134. package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
  135. package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
  136. package/dist/types/typechain-types/contracts/interfaces/index.d.ts +0 -1
  137. package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +0 -1
  138. package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +5 -1
  139. package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +2 -0
  140. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
  141. package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +1 -0
  142. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
  143. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +557 -102
  144. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
  145. package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +2 -0
  146. package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
  147. package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +1 -0
  148. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
  149. package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
  150. package/dist/types/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
  151. package/dist/types/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
  152. package/dist/types/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
  153. package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +1 -0
  154. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
  155. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -0
  156. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
  157. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
  158. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  159. package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +571 -194
  160. package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +138 -54
  161. package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -31
  162. package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
  163. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
  164. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
  165. package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +1 -0
  166. package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +897 -64
  167. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
  168. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +128 -161
  169. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +0 -1
  170. package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +54 -1
  171. package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +47 -29
  172. package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +317 -1
  173. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +525 -17
  174. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
  175. package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +52 -52
  176. package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
  177. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
  178. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +409 -90
  179. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
  180. package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
  181. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +59 -15
  182. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
  183. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +78 -0
  184. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
  185. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +119 -39
  186. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +547 -19
  187. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +68 -67
  188. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +119 -6
  189. package/dist/types/typechain-types/factories/{erc721a/contracts/IERC721A__factory.d.ts → contracts/interfaces/core/tokens/IIndexToken__factory.d.ts} +74 -215
  190. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +274 -10
  191. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +26 -26
  192. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
  193. package/dist/types/typechain-types/factories/contracts/interfaces/{IMarketCreator__factory.d.ts → core/vaults/IBaseVault__factory.d.ts} +78 -42
  194. package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
  195. package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +0 -1
  196. package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
  197. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +0 -1
  198. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +16 -4
  199. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +10 -1
  200. package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +1 -0
  201. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
  202. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +620 -0
  203. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
  204. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
  205. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
  206. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +234 -0
  207. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +539 -77
  208. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
  209. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +795 -0
  210. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
  211. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +2 -0
  212. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
  213. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
  214. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
  215. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
  216. package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
  217. package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
  218. package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
  219. package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +1 -0
  220. package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
  221. package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
  222. package/dist/types/typechain-types/factories/index.d.ts +0 -1
  223. package/dist/types/typechain-types/index.d.ts +28 -10
  224. package/dist/types/utils/artifacts.d.ts +677 -39
  225. package/dist/types/utils/contracts.d.ts +4 -0
  226. package/dist/utils/artifacts.js +9 -0
  227. package/package.json +1 -1
  228. package/dist/nfts/getDepositedNFTs.js +0 -19
  229. package/dist/nfts/getOwnedNFTs.js +0 -34
  230. package/dist/types/nfts/addNewBatch.d.ts +0 -4
  231. package/dist/types/nfts/getCurrentBatchSize.d.ts +0 -4
  232. package/dist/types/nfts/getDepositedNFTs.d.ts +0 -7
  233. package/dist/types/nfts/getOwnedNFTs.d.ts +0 -7
  234. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +0 -274
  235. package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +0 -85
  236. package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +0 -708
  237. package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +0 -242
  238. package/dist/types/typechain-types/erc721a/contracts/index.d.ts +0 -1
  239. package/dist/types/typechain-types/erc721a/index.d.ts +0 -2
  240. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +0 -405
  241. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +0 -985
  242. package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +0 -1
  243. package/dist/types/typechain-types/factories/erc721a/index.d.ts +0 -1
@@ -418,6 +418,36 @@ declare const ABIS: {
418
418
  stateMutability: string;
419
419
  type: string;
420
420
  anonymous?: undefined;
421
+ } | {
422
+ inputs: {
423
+ internalType: string;
424
+ name: string;
425
+ type: string;
426
+ }[];
427
+ name: string;
428
+ outputs: {
429
+ components: ({
430
+ internalType: string;
431
+ name: string;
432
+ type: string;
433
+ components?: undefined;
434
+ } | {
435
+ components: {
436
+ internalType: string;
437
+ name: string;
438
+ type: string;
439
+ }[];
440
+ internalType: string;
441
+ name: string;
442
+ type: string;
443
+ })[];
444
+ internalType: string;
445
+ name: string;
446
+ type: string;
447
+ }[];
448
+ stateMutability: string;
449
+ type: string;
450
+ anonymous?: undefined;
421
451
  })[];
422
452
  stabilitypool: ({
423
453
  inputs: {
@@ -569,6 +599,108 @@ declare const ABIS: {
569
599
  type: string;
570
600
  anonymous?: undefined;
571
601
  })[];
602
+ feecollector: ({
603
+ inputs: {
604
+ internalType: string;
605
+ name: string;
606
+ type: string;
607
+ }[];
608
+ stateMutability: string;
609
+ type: string;
610
+ name?: undefined;
611
+ anonymous?: undefined;
612
+ outputs?: undefined;
613
+ } | {
614
+ inputs: {
615
+ internalType: string;
616
+ name: string;
617
+ type: string;
618
+ }[];
619
+ name: string;
620
+ type: string;
621
+ stateMutability?: undefined;
622
+ anonymous?: undefined;
623
+ outputs?: undefined;
624
+ } | {
625
+ anonymous: boolean;
626
+ inputs: ({
627
+ indexed: boolean;
628
+ internalType: string;
629
+ name: string;
630
+ type: string;
631
+ components?: undefined;
632
+ } | {
633
+ components: {
634
+ internalType: string;
635
+ name: string;
636
+ type: string;
637
+ }[];
638
+ indexed: boolean;
639
+ internalType: string;
640
+ name: string;
641
+ type: string;
642
+ })[];
643
+ name: string;
644
+ type: string;
645
+ stateMutability?: undefined;
646
+ outputs?: undefined;
647
+ } | {
648
+ inputs: {
649
+ internalType: string;
650
+ name: string;
651
+ type: string;
652
+ }[];
653
+ name: string;
654
+ outputs: {
655
+ internalType: string;
656
+ name: string;
657
+ type: string;
658
+ }[];
659
+ stateMutability: string;
660
+ type: string;
661
+ anonymous?: undefined;
662
+ } | {
663
+ inputs: {
664
+ internalType: string;
665
+ name: string;
666
+ type: string;
667
+ }[];
668
+ name: string;
669
+ outputs: {
670
+ components: {
671
+ internalType: string;
672
+ name: string;
673
+ type: string;
674
+ }[];
675
+ internalType: string;
676
+ name: string;
677
+ type: string;
678
+ }[];
679
+ stateMutability: string;
680
+ type: string;
681
+ anonymous?: undefined;
682
+ } | {
683
+ inputs: ({
684
+ internalType: string;
685
+ name: string;
686
+ type: string;
687
+ components?: undefined;
688
+ } | {
689
+ components: {
690
+ internalType: string;
691
+ name: string;
692
+ type: string;
693
+ }[];
694
+ internalType: string;
695
+ name: string;
696
+ type: string;
697
+ })[];
698
+ name: string;
699
+ outputs: any[];
700
+ stateMutability: string;
701
+ type: string;
702
+ anonymous?: undefined;
703
+ })[];
572
704
  auction: ({
573
705
  inputs: {
574
706
  internalType: string;
@@ -803,49 +935,356 @@ declare const ABIS: {
803
935
  }[];
804
936
  name: string;
805
937
  type: string;
806
- stateMutability?: undefined;
807
- outputs?: undefined;
808
- } | {
809
- inputs: {
810
- internalType: string;
811
- name: string;
812
- type: string;
813
- }[];
938
+ stateMutability?: undefined;
939
+ outputs?: undefined;
940
+ } | {
941
+ inputs: {
942
+ internalType: string;
943
+ name: string;
944
+ type: string;
945
+ }[];
946
+ name: string;
947
+ outputs: {
948
+ internalType: string;
949
+ name: string;
950
+ type: string;
951
+ }[];
952
+ stateMutability: string;
953
+ type: string;
954
+ anonymous?: undefined;
955
+ } | {
956
+ inputs: {
957
+ internalType: string;
958
+ name: string;
959
+ type: string;
960
+ }[];
961
+ name: string;
962
+ outputs: {
963
+ components: {
964
+ internalType: string;
965
+ name: string;
966
+ type: string;
967
+ }[];
968
+ internalType: string;
969
+ name: string;
970
+ type: string;
971
+ }[];
972
+ stateMutability: string;
973
+ type: string;
974
+ anonymous?: undefined;
975
+ })[];
976
+ indextoken: ({
977
+ inputs: {
978
+ internalType: string;
979
+ name: string;
980
+ type: string;
981
+ }[];
982
+ stateMutability: string;
983
+ type: string;
984
+ name?: undefined;
985
+ anonymous?: undefined;
986
+ outputs?: undefined;
987
+ } | {
988
+ inputs: {
989
+ internalType: string;
990
+ name: string;
991
+ type: string;
992
+ }[];
993
+ name: string;
994
+ type: string;
995
+ stateMutability?: undefined;
996
+ anonymous?: undefined;
997
+ outputs?: undefined;
998
+ } | {
999
+ anonymous: boolean;
1000
+ inputs: {
1001
+ indexed: boolean;
1002
+ internalType: string;
1003
+ name: string;
1004
+ type: string;
1005
+ }[];
1006
+ name: string;
1007
+ type: string;
1008
+ stateMutability?: undefined;
1009
+ outputs?: undefined;
1010
+ } | {
1011
+ inputs: {
1012
+ internalType: string;
1013
+ name: string;
1014
+ type: string;
1015
+ }[];
1016
+ name: string;
1017
+ outputs: {
1018
+ internalType: string;
1019
+ name: string;
1020
+ type: string;
1021
+ }[];
1022
+ stateMutability: string;
1023
+ type: string;
1024
+ anonymous?: undefined;
1025
+ } | {
1026
+ inputs: any[];
1027
+ name: string;
1028
+ outputs: {
1029
+ components: {
1030
+ internalType: string;
1031
+ name: string;
1032
+ type: string;
1033
+ }[];
1034
+ internalType: string;
1035
+ name: string;
1036
+ type: string;
1037
+ }[];
1038
+ stateMutability: string;
1039
+ type: string;
1040
+ anonymous?: undefined;
1041
+ })[];
1042
+ mockvrfcoordinator: ({
1043
+ inputs: {
1044
+ internalType: string;
1045
+ name: string;
1046
+ type: string;
1047
+ }[];
1048
+ stateMutability: string;
1049
+ type: string;
1050
+ name?: undefined;
1051
+ anonymous?: undefined;
1052
+ outputs?: undefined;
1053
+ } | {
1054
+ inputs: {
1055
+ internalType: string;
1056
+ name: string;
1057
+ type: string;
1058
+ }[];
1059
+ name: string;
1060
+ type: string;
1061
+ stateMutability?: undefined;
1062
+ anonymous?: undefined;
1063
+ outputs?: undefined;
1064
+ } | {
1065
+ anonymous: boolean;
1066
+ inputs: {
1067
+ indexed: boolean;
1068
+ internalType: string;
1069
+ name: string;
1070
+ type: string;
1071
+ }[];
1072
+ name: string;
1073
+ type: string;
1074
+ stateMutability?: undefined;
1075
+ outputs?: undefined;
1076
+ } | {
1077
+ inputs: {
1078
+ internalType: string;
1079
+ name: string;
1080
+ type: string;
1081
+ }[];
1082
+ name: string;
1083
+ outputs: {
1084
+ internalType: string;
1085
+ name: string;
1086
+ type: string;
1087
+ }[];
1088
+ stateMutability: string;
1089
+ type: string;
1090
+ anonymous?: undefined;
1091
+ })[];
1092
+ vrfconsumer: ({
1093
+ inputs: {
1094
+ internalType: string;
1095
+ name: string;
1096
+ type: string;
1097
+ }[];
1098
+ stateMutability: string;
1099
+ type: string;
1100
+ name?: undefined;
1101
+ anonymous?: undefined;
1102
+ outputs?: undefined;
1103
+ } | {
1104
+ inputs: {
1105
+ internalType: string;
1106
+ name: string;
1107
+ type: string;
1108
+ }[];
1109
+ name: string;
1110
+ type: string;
1111
+ stateMutability?: undefined;
1112
+ anonymous?: undefined;
1113
+ outputs?: undefined;
1114
+ } | {
1115
+ anonymous: boolean;
1116
+ inputs: {
1117
+ indexed: boolean;
1118
+ internalType: string;
1119
+ name: string;
1120
+ type: string;
1121
+ }[];
1122
+ name: string;
1123
+ type: string;
1124
+ stateMutability?: undefined;
1125
+ outputs?: undefined;
1126
+ } | {
1127
+ inputs: any[];
1128
+ name: string;
1129
+ outputs: {
1130
+ components: {
1131
+ internalType: string;
1132
+ name: string;
1133
+ type: string;
1134
+ }[];
1135
+ internalType: string;
1136
+ name: string;
1137
+ type: string;
1138
+ }[];
1139
+ stateMutability: string;
1140
+ type: string;
1141
+ anonymous?: undefined;
1142
+ } | {
1143
+ inputs: any[];
1144
+ name: string;
1145
+ outputs: {
1146
+ internalType: string;
1147
+ name: string;
1148
+ type: string;
1149
+ }[];
1150
+ stateMutability: string;
1151
+ type: string;
1152
+ anonymous?: undefined;
1153
+ } | {
1154
+ inputs: {
1155
+ internalType: string;
1156
+ name: string;
1157
+ type: string;
1158
+ }[];
1159
+ name: string;
1160
+ outputs: any[];
1161
+ stateMutability: string;
1162
+ type: string;
1163
+ anonymous?: undefined;
1164
+ })[];
1165
+ eth: any[];
1166
+ };
1167
+ export type AssetType = keyof typeof ABIS | string;
1168
+ export type ContractType = keyof typeof ABIS;
1169
+ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1170
+ inputs: {
1171
+ internalType: string;
1172
+ name: string;
1173
+ type: string;
1174
+ }[];
1175
+ stateMutability: string;
1176
+ type: string;
1177
+ name?: undefined;
1178
+ anonymous?: undefined;
1179
+ outputs?: undefined;
1180
+ } | {
1181
+ inputs: {
1182
+ internalType: string;
1183
+ name: string;
1184
+ type: string;
1185
+ }[];
1186
+ name: string;
1187
+ type: string;
1188
+ stateMutability?: undefined;
1189
+ anonymous?: undefined;
1190
+ outputs?: undefined;
1191
+ } | {
1192
+ anonymous: boolean;
1193
+ inputs: {
1194
+ indexed: boolean;
1195
+ internalType: string;
1196
+ name: string;
1197
+ type: string;
1198
+ }[];
1199
+ name: string;
1200
+ type: string;
1201
+ stateMutability?: undefined;
1202
+ outputs?: undefined;
1203
+ } | {
1204
+ inputs: {
1205
+ internalType: string;
1206
+ name: string;
1207
+ type: string;
1208
+ }[];
1209
+ name: string;
1210
+ outputs: {
1211
+ internalType: string;
1212
+ name: string;
1213
+ type: string;
1214
+ }[];
1215
+ stateMutability: string;
1216
+ type: string;
1217
+ anonymous?: undefined;
1218
+ })[] | ({
1219
+ inputs: {
1220
+ internalType: string;
1221
+ name: string;
1222
+ type: string;
1223
+ }[];
1224
+ stateMutability: string;
1225
+ type: string;
1226
+ name?: undefined;
1227
+ anonymous?: undefined;
1228
+ outputs?: undefined;
1229
+ } | {
1230
+ inputs: {
1231
+ internalType: string;
1232
+ name: string;
1233
+ type: string;
1234
+ }[];
1235
+ name: string;
1236
+ type: string;
1237
+ stateMutability?: undefined;
1238
+ anonymous?: undefined;
1239
+ outputs?: undefined;
1240
+ } | {
1241
+ anonymous: boolean;
1242
+ inputs: {
1243
+ indexed: boolean;
1244
+ internalType: string;
1245
+ name: string;
1246
+ type: string;
1247
+ }[];
1248
+ name: string;
1249
+ type: string;
1250
+ stateMutability?: undefined;
1251
+ outputs?: undefined;
1252
+ } | {
1253
+ inputs: {
1254
+ internalType: string;
1255
+ name: string;
1256
+ type: string;
1257
+ }[];
1258
+ name: string;
1259
+ outputs: {
1260
+ internalType: string;
814
1261
  name: string;
815
- outputs: {
816
- internalType: string;
817
- name: string;
818
- type: string;
819
- }[];
820
- stateMutability: string;
821
1262
  type: string;
822
- anonymous?: undefined;
823
- } | {
824
- inputs: {
825
- internalType: string;
826
- name: string;
827
- type: string;
828
- }[];
1263
+ }[];
1264
+ stateMutability: string;
1265
+ type: string;
1266
+ anonymous?: undefined;
1267
+ } | {
1268
+ inputs: {
1269
+ internalType: string;
829
1270
  name: string;
830
- outputs: {
831
- components: {
832
- internalType: string;
833
- name: string;
834
- type: string;
835
- }[];
1271
+ type: string;
1272
+ }[];
1273
+ name: string;
1274
+ outputs: {
1275
+ components: {
836
1276
  internalType: string;
837
1277
  name: string;
838
1278
  type: string;
839
1279
  }[];
840
- stateMutability: string;
1280
+ internalType: string;
1281
+ name: string;
841
1282
  type: string;
842
- anonymous?: undefined;
843
- })[];
844
- eth: any[];
845
- };
846
- export type AssetType = keyof typeof ABIS | string;
847
- export type ContractType = keyof typeof ABIS;
848
- declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1283
+ }[];
1284
+ stateMutability: string;
1285
+ type: string;
1286
+ anonymous?: undefined;
1287
+ })[] | ({
849
1288
  inputs: {
850
1289
  internalType: string;
851
1290
  name: string;
@@ -951,11 +1390,21 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
951
1390
  }[];
952
1391
  name: string;
953
1392
  outputs: {
954
- components: {
1393
+ components: ({
955
1394
  internalType: string;
956
1395
  name: string;
957
1396
  type: string;
958
- }[];
1397
+ components?: undefined;
1398
+ } | {
1399
+ components: {
1400
+ internalType: string;
1401
+ name: string;
1402
+ type: string;
1403
+ }[];
1404
+ internalType: string;
1405
+ name: string;
1406
+ type: string;
1407
+ })[];
959
1408
  internalType: string;
960
1409
  name: string;
961
1410
  type: string;
@@ -1306,6 +1755,26 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1306
1755
  stateMutability: string;
1307
1756
  type: string;
1308
1757
  anonymous?: undefined;
1758
+ } | {
1759
+ inputs: {
1760
+ internalType: string;
1761
+ name: string;
1762
+ type: string;
1763
+ }[];
1764
+ name: string;
1765
+ outputs: {
1766
+ components: {
1767
+ internalType: string;
1768
+ name: string;
1769
+ type: string;
1770
+ }[];
1771
+ internalType: string;
1772
+ name: string;
1773
+ type: string;
1774
+ }[];
1775
+ stateMutability: string;
1776
+ type: string;
1777
+ anonymous?: undefined;
1309
1778
  })[] | ({
1310
1779
  inputs: {
1311
1780
  internalType: string;
@@ -1355,6 +1824,22 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1355
1824
  stateMutability: string;
1356
1825
  type: string;
1357
1826
  anonymous?: undefined;
1827
+ } | {
1828
+ inputs: any[];
1829
+ name: string;
1830
+ outputs: {
1831
+ components: {
1832
+ internalType: string;
1833
+ name: string;
1834
+ type: string;
1835
+ }[];
1836
+ internalType: string;
1837
+ name: string;
1838
+ type: string;
1839
+ }[];
1840
+ stateMutability: string;
1841
+ type: string;
1842
+ anonymous?: undefined;
1358
1843
  })[] | ({
1359
1844
  inputs: {
1360
1845
  internalType: string;
@@ -1513,12 +1998,23 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1513
1998
  outputs?: undefined;
1514
1999
  } | {
1515
2000
  anonymous: boolean;
1516
- inputs: {
2001
+ inputs: ({
1517
2002
  indexed: boolean;
1518
2003
  internalType: string;
1519
2004
  name: string;
1520
2005
  type: string;
1521
- }[];
2006
+ components?: undefined;
2007
+ } | {
2008
+ components: {
2009
+ internalType: string;
2010
+ name: string;
2011
+ type: string;
2012
+ }[];
2013
+ indexed: boolean;
2014
+ internalType: string;
2015
+ name: string;
2016
+ type: string;
2017
+ })[];
1522
2018
  name: string;
1523
2019
  type: string;
1524
2020
  stateMutability?: undefined;
@@ -1558,6 +2054,92 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1558
2054
  stateMutability: string;
1559
2055
  type: string;
1560
2056
  anonymous?: undefined;
2057
+ } | {
2058
+ inputs: ({
2059
+ internalType: string;
2060
+ name: string;
2061
+ type: string;
2062
+ components?: undefined;
2063
+ } | {
2064
+ components: {
2065
+ internalType: string;
2066
+ name: string;
2067
+ type: string;
2068
+ }[];
2069
+ internalType: string;
2070
+ name: string;
2071
+ type: string;
2072
+ })[];
2073
+ name: string;
2074
+ outputs: any[];
2075
+ stateMutability: string;
2076
+ type: string;
2077
+ anonymous?: undefined;
2078
+ })[] | ({
2079
+ inputs: {
2080
+ internalType: string;
2081
+ name: string;
2082
+ type: string;
2083
+ }[];
2084
+ stateMutability: string;
2085
+ type: string;
2086
+ name?: undefined;
2087
+ anonymous?: undefined;
2088
+ outputs?: undefined;
2089
+ } | {
2090
+ inputs: {
2091
+ internalType: string;
2092
+ name: string;
2093
+ type: string;
2094
+ }[];
2095
+ name: string;
2096
+ type: string;
2097
+ stateMutability?: undefined;
2098
+ anonymous?: undefined;
2099
+ outputs?: undefined;
2100
+ } | {
2101
+ anonymous: boolean;
2102
+ inputs: {
2103
+ indexed: boolean;
2104
+ internalType: string;
2105
+ name: string;
2106
+ type: string;
2107
+ }[];
2108
+ name: string;
2109
+ type: string;
2110
+ stateMutability?: undefined;
2111
+ outputs?: undefined;
2112
+ } | {
2113
+ inputs: {
2114
+ internalType: string;
2115
+ name: string;
2116
+ type: string;
2117
+ }[];
2118
+ name: string;
2119
+ outputs: {
2120
+ internalType: string;
2121
+ name: string;
2122
+ type: string;
2123
+ }[];
2124
+ stateMutability: string;
2125
+ type: string;
2126
+ anonymous?: undefined;
2127
+ } | {
2128
+ inputs: any[];
2129
+ name: string;
2130
+ outputs: {
2131
+ components: {
2132
+ internalType: string;
2133
+ name: string;
2134
+ type: string;
2135
+ }[];
2136
+ internalType: string;
2137
+ name: string;
2138
+ type: string;
2139
+ }[];
2140
+ stateMutability: string;
2141
+ type: string;
2142
+ anonymous?: undefined;
1561
2143
  })[] | ({
1562
2144
  inputs: {
1563
2145
  internalType: string;
@@ -1607,6 +2189,40 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1607
2189
  stateMutability: string;
1608
2190
  type: string;
1609
2191
  anonymous?: undefined;
2192
+ })[] | ({
2193
+ inputs: {
2194
+ internalType: string;
2195
+ name: string;
2196
+ type: string;
2197
+ }[];
2198
+ stateMutability: string;
2199
+ type: string;
2200
+ name?: undefined;
2201
+ anonymous?: undefined;
2202
+ outputs?: undefined;
2203
+ } | {
2204
+ inputs: {
2205
+ internalType: string;
2206
+ name: string;
2207
+ type: string;
2208
+ }[];
2209
+ name: string;
2210
+ type: string;
2211
+ stateMutability?: undefined;
2212
+ anonymous?: undefined;
2213
+ outputs?: undefined;
2214
+ } | {
2215
+ anonymous: boolean;
2216
+ inputs: {
2217
+ indexed: boolean;
2218
+ internalType: string;
2219
+ name: string;
2220
+ type: string;
2221
+ }[];
2222
+ name: string;
2223
+ type: string;
2224
+ stateMutability?: undefined;
2225
+ outputs?: undefined;
1610
2226
  } | {
1611
2227
  inputs: any[];
1612
2228
  name: string;
@@ -1623,5 +2239,27 @@ declare const getABI: (name: keyof typeof ABIS) => any[] | ({
1623
2239
  stateMutability: string;
1624
2240
  type: string;
1625
2241
  anonymous?: undefined;
2242
+ } | {
2243
+ inputs: any[];
2244
+ name: string;
2245
+ outputs: {
2246
+ internalType: string;
2247
+ name: string;
2248
+ type: string;
2249
+ }[];
2250
+ stateMutability: string;
2251
+ type: string;
2252
+ anonymous?: undefined;
2253
+ } | {
2254
+ inputs: {
2255
+ internalType: string;
2256
+ name: string;
2257
+ type: string;
2258
+ }[];
2259
+ name: string;
2260
+ outputs: any[];
2261
+ stateMutability: string;
2262
+ type: string;
2263
+ anonymous?: undefined;
1626
2264
  })[];
1627
2265
  export { getABI, ABIS };