@raac/rpc 1.0.1 → 1.0.2-beta.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 (241) 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/17000.json +127 -0
  20. package/dist/configs/chains/8453.json +26 -14
  21. package/dist/configs/chains/index.js +2 -0
  22. package/dist/configs/createConfig.js +6 -0
  23. package/dist/contracts/feeCollector/claimRewardFromPool.js +24 -0
  24. package/dist/contracts/housePrices/getLatestPrice.js +1 -1
  25. package/dist/contracts/indexToken/getNextRandomNFT.js +30 -0
  26. package/dist/contracts/indexToken/redeemNFT.js +39 -0
  27. package/dist/nfts/getAllTokens.js +34 -0
  28. package/dist/nfts/{addNewBatch.js → getBaseUri.js} +7 -8
  29. package/dist/nfts/getMintFeePercentage.js +23 -0
  30. package/dist/nfts/getMintPrice.js +28 -0
  31. package/dist/nfts/getTokenURI.js +23 -0
  32. package/dist/nfts/getTokensByOwner.js +35 -0
  33. package/dist/nfts/getTotalPropertiesCount.js +23 -0
  34. package/dist/nfts/{getCurrentBatchSize.js → totalNFTSupply.js} +3 -3
  35. package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -3
  36. package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +40 -0
  37. package/dist/pools/lendingPool/calculateInsuranceFee.js +20 -0
  38. package/dist/pools/lendingPool/claimReward.js +22 -0
  39. package/dist/pools/lendingPool/closeLiquidation.js +28 -0
  40. package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -1
  41. package/dist/pools/lendingPool/depositToLendingPool.js +2 -2
  42. package/dist/pools/lendingPool/getAllUserData.js +28 -0
  43. package/dist/pools/lendingPool/getEligibleUserDeposits.js +27 -0
  44. package/dist/pools/lendingPool/getHealthFactor.js +27 -0
  45. package/dist/pools/lendingPool/getLendingPoolInfo.js +8 -5
  46. package/dist/pools/lendingPool/getPendingReward.js +20 -0
  47. package/dist/pools/lendingPool/getPositionDebt.js +27 -0
  48. package/dist/pools/lendingPool/getPositionScaledDebt.js +27 -0
  49. package/dist/pools/lendingPool/getPositionView.js +38 -0
  50. package/dist/pools/lendingPool/getPositionsScaledDebt.js +27 -0
  51. package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +21 -0
  52. package/dist/pools/lendingPool/getUserCollateralValue.js +27 -0
  53. package/dist/pools/lendingPool/initializeLiquidation.js +28 -0
  54. package/dist/pools/lendingPool/repayToLendingPool.js +4 -8
  55. package/dist/pools/lendingPool/withdrawFromLendingPool.js +2 -2
  56. package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +40 -0
  57. package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +21 -0
  58. package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -12
  59. package/dist/scripts/index.js +90 -35
  60. package/dist/types/RPCLibrary.d.ts +61 -8
  61. package/dist/types/configs/chains/index.d.ts +2 -0
  62. package/dist/types/configs/createConfig.d.ts +6 -0
  63. package/dist/types/configs/index.d.ts +1 -0
  64. package/dist/types/contracts/feeCollector/claimRewardFromPool.d.ts +4 -0
  65. package/dist/types/contracts/housePrices/getLatestPrice.d.ts +1 -1
  66. package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +7 -0
  67. package/dist/types/contracts/indexToken/redeemNFT.d.ts +4 -0
  68. package/dist/types/nfts/getAllTokens.d.ts +7 -0
  69. package/dist/types/nfts/getBaseUri.d.ts +4 -0
  70. package/dist/types/nfts/getMintFeePercentage.d.ts +4 -0
  71. package/dist/types/nfts/getMintPrice.d.ts +7 -0
  72. package/dist/types/nfts/getTokenURI.d.ts +4 -0
  73. package/dist/types/nfts/getTokensByOwner.d.ts +10 -0
  74. package/dist/types/nfts/getTotalPropertiesCount.d.ts +4 -0
  75. package/dist/types/nfts/totalNFTSupply.d.ts +4 -0
  76. package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +1 -1
  77. package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -0
  78. package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +4 -0
  79. package/dist/types/pools/lendingPool/claimReward.d.ts +4 -0
  80. package/dist/types/pools/lendingPool/closeLiquidation.d.ts +11 -0
  81. package/dist/types/pools/lendingPool/getAllUserData.d.ts +16 -0
  82. package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +11 -0
  83. package/dist/types/pools/lendingPool/getHealthFactor.d.ts +11 -0
  84. package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +2 -1
  85. package/dist/types/pools/lendingPool/getPendingReward.d.ts +4 -0
  86. package/dist/types/pools/lendingPool/getPositionDebt.d.ts +11 -0
  87. package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +11 -0
  88. package/dist/types/pools/lendingPool/getPositionView.d.ts +27 -0
  89. package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +11 -0
  90. package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +4 -0
  91. package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +11 -0
  92. package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +11 -0
  93. package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
  94. package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +1 -1
  95. package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +4 -0
  96. package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +4 -0
  97. package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +1 -3
  98. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
  99. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
  100. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
  101. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
  102. package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  103. package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +446 -221
  104. package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +108 -20
  105. package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +6 -16
  106. package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
  107. package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +1 -0
  108. package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +811 -99
  109. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +152 -148
  110. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +0 -1
  111. package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +29 -2
  112. package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +65 -51
  113. package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +187 -2
  114. package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +413 -19
  115. package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +40 -40
  116. package/dist/types/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
  117. package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +317 -130
  118. package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
  119. package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
  120. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +58 -22
  121. package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +5 -3
  122. package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
  123. package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
  124. package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +83 -45
  125. package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +539 -54
  126. package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +92 -71
  127. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +123 -27
  128. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
  129. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +243 -17
  130. package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +37 -37
  131. package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
  132. package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
  133. package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
  134. package/dist/types/typechain-types/contracts/interfaces/index.d.ts +0 -1
  135. package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +0 -1
  136. package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +5 -1
  137. package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +2 -0
  138. package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
  139. package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +1 -0
  140. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
  141. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +557 -102
  142. package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
  143. package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +2 -0
  144. package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
  145. package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +1 -0
  146. package/dist/types/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
  147. package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
  148. package/dist/types/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
  149. package/dist/types/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
  150. package/dist/types/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
  151. package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +1 -0
  152. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
  153. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -0
  154. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
  155. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
  156. package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
  157. package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +571 -194
  158. package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +138 -54
  159. package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -31
  160. package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
  161. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
  162. package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
  163. package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +1 -0
  164. package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +897 -64
  165. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
  166. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +128 -161
  167. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +0 -1
  168. package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +54 -1
  169. package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +47 -29
  170. package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +317 -1
  171. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +525 -17
  172. package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
  173. package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +52 -52
  174. package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
  175. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
  176. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +409 -90
  177. package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
  178. package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
  179. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +59 -15
  180. package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
  181. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +78 -0
  182. package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
  183. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +119 -39
  184. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +547 -19
  185. package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +68 -67
  186. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +119 -6
  187. package/dist/types/typechain-types/factories/{erc721a/contracts/IERC721A__factory.d.ts → contracts/interfaces/core/tokens/IIndexToken__factory.d.ts} +74 -215
  188. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +274 -10
  189. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +26 -26
  190. package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
  191. package/dist/types/typechain-types/factories/contracts/interfaces/{IMarketCreator__factory.d.ts → core/vaults/IBaseVault__factory.d.ts} +78 -42
  192. package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
  193. package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +0 -1
  194. package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
  195. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +0 -1
  196. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +16 -4
  197. package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +10 -1
  198. package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +1 -0
  199. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
  200. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +620 -0
  201. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
  202. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
  203. package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
  204. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +234 -0
  205. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +539 -77
  206. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
  207. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +795 -0
  208. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
  209. package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +2 -0
  210. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
  211. package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
  212. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
  213. package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
  214. package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
  215. package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
  216. package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
  217. package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +1 -0
  218. package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
  219. package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
  220. package/dist/types/typechain-types/factories/index.d.ts +0 -1
  221. package/dist/types/typechain-types/index.d.ts +28 -10
  222. package/dist/types/utils/artifacts.d.ts +677 -39
  223. package/dist/types/utils/contracts.d.ts +2 -0
  224. package/dist/utils/artifacts.js +9 -0
  225. package/package.json +1 -1
  226. package/dist/nfts/getDepositedNFTs.js +0 -19
  227. package/dist/nfts/getOwnedNFTs.js +0 -34
  228. package/dist/types/nfts/addNewBatch.d.ts +0 -4
  229. package/dist/types/nfts/getCurrentBatchSize.d.ts +0 -4
  230. package/dist/types/nfts/getDepositedNFTs.d.ts +0 -7
  231. package/dist/types/nfts/getOwnedNFTs.d.ts +0 -7
  232. package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +0 -274
  233. package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +0 -85
  234. package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +0 -708
  235. package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +0 -242
  236. package/dist/types/typechain-types/erc721a/contracts/index.d.ts +0 -1
  237. package/dist/types/typechain-types/erc721a/index.d.ts +0 -2
  238. package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +0 -405
  239. package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +0 -985
  240. package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +0 -1
  241. package/dist/types/typechain-types/factories/erc721a/index.d.ts +0 -1
@@ -1,62 +1,215 @@
1
1
  import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
2
  import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
3
+ export declare namespace ILendingPool {
4
+ type NFTPositionViewStruct = {
5
+ rawDebtBalance: BigNumberish;
6
+ scaledDebtBalance: BigNumberish;
7
+ healthFactor: BigNumberish;
8
+ isUnderLiquidation: boolean;
9
+ liquidationStartTime: BigNumberish;
10
+ positionIndex: BigNumberish;
11
+ isInsured: boolean;
12
+ };
13
+ type NFTPositionViewStructOutput = [
14
+ rawDebtBalance: bigint,
15
+ scaledDebtBalance: bigint,
16
+ healthFactor: bigint,
17
+ isUnderLiquidation: boolean,
18
+ liquidationStartTime: bigint,
19
+ positionIndex: bigint,
20
+ isInsured: boolean
21
+ ] & {
22
+ rawDebtBalance: bigint;
23
+ scaledDebtBalance: bigint;
24
+ healthFactor: bigint;
25
+ isUnderLiquidation: boolean;
26
+ liquidationStartTime: bigint;
27
+ positionIndex: bigint;
28
+ isInsured: boolean;
29
+ };
30
+ type UserDataViewStruct = {
31
+ nftTokenIds: BigNumberish[];
32
+ scaledDebtBalance: BigNumberish;
33
+ collateralValue: BigNumberish;
34
+ positions: ILendingPool.NFTPositionViewStruct[];
35
+ };
36
+ type UserDataViewStructOutput = [
37
+ nftTokenIds: bigint[],
38
+ scaledDebtBalance: bigint,
39
+ collateralValue: bigint,
40
+ positions: ILendingPool.NFTPositionViewStructOutput[]
41
+ ] & {
42
+ nftTokenIds: bigint[];
43
+ scaledDebtBalance: bigint;
44
+ collateralValue: bigint;
45
+ positions: ILendingPool.NFTPositionViewStructOutput[];
46
+ };
47
+ type NFTPositionStruct = {
48
+ rawDebtBalance: BigNumberish;
49
+ isUnderLiquidation: boolean;
50
+ liquidationStartTime: BigNumberish;
51
+ positionIndex: BigNumberish;
52
+ isInsured: boolean;
53
+ rawInsuredBalance: BigNumberish;
54
+ };
55
+ type NFTPositionStructOutput = [
56
+ rawDebtBalance: bigint,
57
+ isUnderLiquidation: boolean,
58
+ liquidationStartTime: bigint,
59
+ positionIndex: bigint,
60
+ isInsured: boolean,
61
+ rawInsuredBalance: bigint
62
+ ] & {
63
+ rawDebtBalance: bigint;
64
+ isUnderLiquidation: boolean;
65
+ liquidationStartTime: bigint;
66
+ positionIndex: bigint;
67
+ isInsured: boolean;
68
+ rawInsuredBalance: bigint;
69
+ };
70
+ }
71
+ export declare namespace ReserveLibrary {
72
+ type ReserveRateDataStruct = {
73
+ currentLiquidityRate: BigNumberish;
74
+ currentUsageRate: BigNumberish;
75
+ primeRate: BigNumberish;
76
+ baseRate: BigNumberish;
77
+ optimalRate: BigNumberish;
78
+ maxRate: BigNumberish;
79
+ optimalUtilizationRate: BigNumberish;
80
+ protocolFeeRate: BigNumberish;
81
+ };
82
+ type ReserveRateDataStructOutput = [
83
+ currentLiquidityRate: bigint,
84
+ currentUsageRate: bigint,
85
+ primeRate: bigint,
86
+ baseRate: bigint,
87
+ optimalRate: bigint,
88
+ maxRate: bigint,
89
+ optimalUtilizationRate: bigint,
90
+ protocolFeeRate: bigint
91
+ ] & {
92
+ currentLiquidityRate: bigint;
93
+ currentUsageRate: bigint;
94
+ primeRate: bigint;
95
+ baseRate: bigint;
96
+ optimalRate: bigint;
97
+ maxRate: bigint;
98
+ optimalUtilizationRate: bigint;
99
+ protocolFeeRate: bigint;
100
+ };
101
+ type ReserveDataStruct = {
102
+ reserveRTokenAddress: AddressLike;
103
+ reserveAssetAddress: AddressLike;
104
+ reserveDebtTokenAddress: AddressLike;
105
+ totalLiquidity: BigNumberish;
106
+ totalUsage: BigNumberish;
107
+ liquidityIndex: BigNumberish;
108
+ usageIndex: BigNumberish;
109
+ lastUpdateTimestamp: BigNumberish;
110
+ };
111
+ type ReserveDataStructOutput = [
112
+ reserveRTokenAddress: string,
113
+ reserveAssetAddress: string,
114
+ reserveDebtTokenAddress: string,
115
+ totalLiquidity: bigint,
116
+ totalUsage: bigint,
117
+ liquidityIndex: bigint,
118
+ usageIndex: bigint,
119
+ lastUpdateTimestamp: bigint
120
+ ] & {
121
+ reserveRTokenAddress: string;
122
+ reserveAssetAddress: string;
123
+ reserveDebtTokenAddress: string;
124
+ totalLiquidity: bigint;
125
+ totalUsage: bigint;
126
+ liquidityIndex: bigint;
127
+ usageIndex: bigint;
128
+ lastUpdateTimestamp: bigint;
129
+ };
130
+ }
3
131
  export interface LendingPoolInterface extends Interface {
4
- getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "borrow" | "calculateHealthFactor" | "canPaybackDebt" | "closeLiquidation" | "curveVault" | "debtToken" | "deposit" | "depositNFT" | "finalizeLiquidation" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPrimeRate" | "getUserCollateralValue" | "getUserDebt" | "getUserDepositedNFTs" | "healthFactorLiquidationThreshold" | "initiateLiquidation" | "isUnderLiquidation" | "liquidationGracePeriod" | "liquidationStartTime" | "liquidationThreshold" | "liquidityBufferRatio" | "onERC721Received" | "owner" | "pause" | "paused" | "priceOracle" | "primeRateOracle" | "rToken" | "raacNFT" | "rateData" | "renounceOwnership" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "reserveAssetToken" | "setCurveVault" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setProtocolFeeRate" | "setStabilityPool" | "stabilityPool" | "totalVaultDeposits" | "transferAccruedDust" | "transferOwnership" | "unpause" | "updateState" | "userData" | "withdraw" | "withdrawNFT" | "withdrawalsPaused"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "CurveVaultUpdated" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "OwnershipTransferred" | "Paused" | "PrimeRateUpdated" | "Repay" | "ReserveInterestsUpdated" | "StabilityPoolUpdated" | "Unpaused" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawalsPauseStatusChanged"): EventFragment;
132
+ getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD" | "BASE_LIQUIDATION_GRACE_PERIOD" | "BASE_LIQUIDATION_THRESHOLD" | "borrow" | "borrowWithInsurance" | "calculateHealthFactor" | "calculateInsuranceFee" | "canPaybackDebt" | "claimCollectorRewards" | "claimReward" | "closeLiquidation" | "debtToken" | "deposit" | "depositNFT" | "depositRewardTokens" | "feeCollector" | "finalizeLiquidation" | "getAllUserData" | "getEligibleUserDeposits" | "getNFTPrice" | "getNormalizedDebt" | "getNormalizedIncome" | "getPendingReward" | "getPosition" | "getPositionData" | "getPositionDebt" | "getPositionScaledDebt" | "getPositionView" | "getPositionsScaledDebt" | "getPrimeRate" | "getRAACNFTAddress" | "getReserveRateData" | "getReserveState" | "getUnclaimedVaultRewards" | "getUninsuredBalance" | "getUserCollateralValue" | "getUserDebt" | "getUserDeposits" | "getUserDepositsInStabilityPool" | "getUserOfDepositedNFT" | "healthFactorLiquidationThreshold" | "initiateLiquidation" | "insuranceFee" | "liquidationGracePeriod" | "liquidationThreshold" | "liquidityBufferRatio" | "onERC721Received" | "owner" | "pause" | "paused" | "positions" | "priceOracle" | "primeRateOracle" | "rToken" | "raacNFT" | "rateData" | "renounceOwnership" | "repay" | "repayOnBehalf" | "rescueToken" | "reserve" | "reserveAssetToken" | "rewardData" | "setFeeCollector" | "setParameter" | "setPrimeRate" | "setPrimeRateOracle" | "setRewardToken" | "setStabilityPool" | "setVault" | "stabilityPool" | "transferAccruedDust" | "transferOwnership" | "unpause" | "updateState" | "updateUserReward" | "userData" | "vault" | "vaultRewards" | "withdraw" | "withdrawNFT" | "withdrawalsPaused"): FunctionFragment;
133
+ getEvent(nameOrSignatureOrTopic: "Borrow" | "CanPaybackDebtChanged" | "Deposit(address,uint256,uint256)" | "Deposit(address,uint256,uint256)" | "FeeCollectorUpdated" | "InsufficientFees" | "InsuranceFeeUpdated" | "InsuredNFT" | "InterestRatesUpdated" | "Liquidation" | "LiquidationClosed" | "LiquidationFinalized" | "LiquidationInitiated" | "LiquidationParametersUpdated" | "LiquidityBufferRatioUpdated" | "LiquidityRebalanced" | "NFTDeposited" | "NFTWithdrawn" | "NotFeeCollector" | "OwnershipTransferred" | "Paused" | "PrimeRateUpdated" | "ProtocolFeeRateUpdated" | "ProtocolFeesCollected" | "ProtocolFeesWithdrawn" | "Repay" | "ReserveInterestsUpdated" | "RewardClaimed" | "RewardDistributed" | "RewardParametersUpdated" | "RewardTokenAdded" | "RewardTokensDeposited" | "StabilityPoolUpdated" | "Unpaused" | "VaultRewardsClaimed" | "VaultUpdated" | "VaultWithdrawalFailed" | "Withdraw(address,uint256)" | "Withdraw(address,uint256,uint256)" | "WithdrawalsPauseStatusChanged"): EventFragment;
6
134
  encodeFunctionData(functionFragment: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD", values?: undefined): string;
7
135
  encodeFunctionData(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", values?: undefined): string;
8
136
  encodeFunctionData(functionFragment: "BASE_LIQUIDATION_THRESHOLD", values?: undefined): string;
9
- encodeFunctionData(functionFragment: "borrow", values: [BigNumberish]): string;
10
- encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike]): string;
137
+ encodeFunctionData(functionFragment: "borrow", values: [BigNumberish, BigNumberish]): string;
138
+ encodeFunctionData(functionFragment: "borrowWithInsurance", values: [BigNumberish, BigNumberish]): string;
139
+ encodeFunctionData(functionFragment: "calculateHealthFactor", values: [AddressLike, BigNumberish]): string;
140
+ encodeFunctionData(functionFragment: "calculateInsuranceFee", values: [AddressLike, BigNumberish, BigNumberish]): string;
11
141
  encodeFunctionData(functionFragment: "canPaybackDebt", values?: undefined): string;
12
- encodeFunctionData(functionFragment: "closeLiquidation", values?: undefined): string;
13
- encodeFunctionData(functionFragment: "curveVault", values?: undefined): string;
142
+ encodeFunctionData(functionFragment: "claimCollectorRewards", values?: undefined): string;
143
+ encodeFunctionData(functionFragment: "claimReward", values?: undefined): string;
144
+ encodeFunctionData(functionFragment: "closeLiquidation", values: [BigNumberish]): string;
14
145
  encodeFunctionData(functionFragment: "debtToken", values?: undefined): string;
15
146
  encodeFunctionData(functionFragment: "deposit", values: [BigNumberish]): string;
16
147
  encodeFunctionData(functionFragment: "depositNFT", values: [BigNumberish]): string;
17
- encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike]): string;
148
+ encodeFunctionData(functionFragment: "depositRewardTokens", values: [BigNumberish]): string;
149
+ encodeFunctionData(functionFragment: "feeCollector", values?: undefined): string;
150
+ encodeFunctionData(functionFragment: "finalizeLiquidation", values: [AddressLike, BigNumberish]): string;
151
+ encodeFunctionData(functionFragment: "getAllUserData", values: [AddressLike]): string;
152
+ encodeFunctionData(functionFragment: "getEligibleUserDeposits", values: [AddressLike]): string;
18
153
  encodeFunctionData(functionFragment: "getNFTPrice", values: [BigNumberish]): string;
19
154
  encodeFunctionData(functionFragment: "getNormalizedDebt", values?: undefined): string;
20
155
  encodeFunctionData(functionFragment: "getNormalizedIncome", values?: undefined): string;
156
+ encodeFunctionData(functionFragment: "getPendingReward", values: [AddressLike]): string;
157
+ encodeFunctionData(functionFragment: "getPosition", values: [AddressLike, BigNumberish]): string;
158
+ encodeFunctionData(functionFragment: "getPositionData", values: [AddressLike, BigNumberish]): string;
159
+ encodeFunctionData(functionFragment: "getPositionDebt", values: [AddressLike, BigNumberish]): string;
160
+ encodeFunctionData(functionFragment: "getPositionScaledDebt", values: [AddressLike, BigNumberish]): string;
161
+ encodeFunctionData(functionFragment: "getPositionView", values: [AddressLike, BigNumberish]): string;
162
+ encodeFunctionData(functionFragment: "getPositionsScaledDebt", values: [AddressLike]): string;
21
163
  encodeFunctionData(functionFragment: "getPrimeRate", values?: undefined): string;
164
+ encodeFunctionData(functionFragment: "getRAACNFTAddress", values?: undefined): string;
165
+ encodeFunctionData(functionFragment: "getReserveRateData", values?: undefined): string;
166
+ encodeFunctionData(functionFragment: "getReserveState", values?: undefined): string;
167
+ encodeFunctionData(functionFragment: "getUnclaimedVaultRewards", values?: undefined): string;
168
+ encodeFunctionData(functionFragment: "getUninsuredBalance", values: [AddressLike, BigNumberish]): string;
22
169
  encodeFunctionData(functionFragment: "getUserCollateralValue", values: [AddressLike]): string;
23
170
  encodeFunctionData(functionFragment: "getUserDebt", values: [AddressLike]): string;
24
- encodeFunctionData(functionFragment: "getUserDepositedNFTs", values: [AddressLike]): string;
171
+ encodeFunctionData(functionFragment: "getUserDeposits", values: [AddressLike]): string;
172
+ encodeFunctionData(functionFragment: "getUserDepositsInStabilityPool", values: [AddressLike]): string;
173
+ encodeFunctionData(functionFragment: "getUserOfDepositedNFT", values: [BigNumberish]): string;
25
174
  encodeFunctionData(functionFragment: "healthFactorLiquidationThreshold", values?: undefined): string;
26
- encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike]): string;
27
- encodeFunctionData(functionFragment: "isUnderLiquidation", values: [AddressLike]): string;
175
+ encodeFunctionData(functionFragment: "initiateLiquidation", values: [AddressLike, BigNumberish]): string;
176
+ encodeFunctionData(functionFragment: "insuranceFee", values?: undefined): string;
28
177
  encodeFunctionData(functionFragment: "liquidationGracePeriod", values?: undefined): string;
29
- encodeFunctionData(functionFragment: "liquidationStartTime", values: [AddressLike]): string;
30
178
  encodeFunctionData(functionFragment: "liquidationThreshold", values?: undefined): string;
31
179
  encodeFunctionData(functionFragment: "liquidityBufferRatio", values?: undefined): string;
32
180
  encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
33
181
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
34
182
  encodeFunctionData(functionFragment: "pause", values?: undefined): string;
35
183
  encodeFunctionData(functionFragment: "paused", values?: undefined): string;
184
+ encodeFunctionData(functionFragment: "positions", values: [AddressLike, BigNumberish]): string;
36
185
  encodeFunctionData(functionFragment: "priceOracle", values?: undefined): string;
37
186
  encodeFunctionData(functionFragment: "primeRateOracle", values?: undefined): string;
38
187
  encodeFunctionData(functionFragment: "rToken", values?: undefined): string;
39
188
  encodeFunctionData(functionFragment: "raacNFT", values?: undefined): string;
40
189
  encodeFunctionData(functionFragment: "rateData", values?: undefined): string;
41
190
  encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
42
- encodeFunctionData(functionFragment: "repay", values: [BigNumberish]): string;
43
- encodeFunctionData(functionFragment: "repayOnBehalf", values: [BigNumberish, AddressLike]): string;
191
+ encodeFunctionData(functionFragment: "repay", values: [BigNumberish, BigNumberish]): string;
192
+ encodeFunctionData(functionFragment: "repayOnBehalf", values: [BigNumberish, BigNumberish, AddressLike]): string;
44
193
  encodeFunctionData(functionFragment: "rescueToken", values: [AddressLike, AddressLike, BigNumberish]): string;
45
194
  encodeFunctionData(functionFragment: "reserve", values?: undefined): string;
46
195
  encodeFunctionData(functionFragment: "reserveAssetToken", values?: undefined): string;
47
- encodeFunctionData(functionFragment: "setCurveVault", values: [AddressLike]): string;
196
+ encodeFunctionData(functionFragment: "rewardData", values?: undefined): string;
197
+ encodeFunctionData(functionFragment: "setFeeCollector", values: [AddressLike]): string;
48
198
  encodeFunctionData(functionFragment: "setParameter", values: [BigNumberish, BigNumberish]): string;
49
199
  encodeFunctionData(functionFragment: "setPrimeRate", values: [BigNumberish]): string;
50
200
  encodeFunctionData(functionFragment: "setPrimeRateOracle", values: [AddressLike]): string;
51
- encodeFunctionData(functionFragment: "setProtocolFeeRate", values: [BigNumberish]): string;
201
+ encodeFunctionData(functionFragment: "setRewardToken", values: [AddressLike]): string;
52
202
  encodeFunctionData(functionFragment: "setStabilityPool", values: [AddressLike]): string;
203
+ encodeFunctionData(functionFragment: "setVault", values: [AddressLike]): string;
53
204
  encodeFunctionData(functionFragment: "stabilityPool", values?: undefined): string;
54
- encodeFunctionData(functionFragment: "totalVaultDeposits", values?: undefined): string;
55
205
  encodeFunctionData(functionFragment: "transferAccruedDust", values: [AddressLike, BigNumberish]): string;
56
206
  encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
57
207
  encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
58
208
  encodeFunctionData(functionFragment: "updateState", values?: undefined): string;
209
+ encodeFunctionData(functionFragment: "updateUserReward", values: [AddressLike]): string;
59
210
  encodeFunctionData(functionFragment: "userData", values: [AddressLike]): string;
211
+ encodeFunctionData(functionFragment: "vault", values?: undefined): string;
212
+ encodeFunctionData(functionFragment: "vaultRewards", values?: undefined): string;
60
213
  encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish]): string;
61
214
  encodeFunctionData(functionFragment: "withdrawNFT", values: [BigNumberish]): string;
62
215
  encodeFunctionData(functionFragment: "withdrawalsPaused", values?: undefined): string;
@@ -64,32 +217,53 @@ export interface LendingPoolInterface extends Interface {
64
217
  decodeFunctionResult(functionFragment: "BASE_LIQUIDATION_GRACE_PERIOD", data: BytesLike): Result;
65
218
  decodeFunctionResult(functionFragment: "BASE_LIQUIDATION_THRESHOLD", data: BytesLike): Result;
66
219
  decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
220
+ decodeFunctionResult(functionFragment: "borrowWithInsurance", data: BytesLike): Result;
67
221
  decodeFunctionResult(functionFragment: "calculateHealthFactor", data: BytesLike): Result;
222
+ decodeFunctionResult(functionFragment: "calculateInsuranceFee", data: BytesLike): Result;
68
223
  decodeFunctionResult(functionFragment: "canPaybackDebt", data: BytesLike): Result;
224
+ decodeFunctionResult(functionFragment: "claimCollectorRewards", data: BytesLike): Result;
225
+ decodeFunctionResult(functionFragment: "claimReward", data: BytesLike): Result;
69
226
  decodeFunctionResult(functionFragment: "closeLiquidation", data: BytesLike): Result;
70
- decodeFunctionResult(functionFragment: "curveVault", data: BytesLike): Result;
71
227
  decodeFunctionResult(functionFragment: "debtToken", data: BytesLike): Result;
72
228
  decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
73
229
  decodeFunctionResult(functionFragment: "depositNFT", data: BytesLike): Result;
230
+ decodeFunctionResult(functionFragment: "depositRewardTokens", data: BytesLike): Result;
231
+ decodeFunctionResult(functionFragment: "feeCollector", data: BytesLike): Result;
74
232
  decodeFunctionResult(functionFragment: "finalizeLiquidation", data: BytesLike): Result;
233
+ decodeFunctionResult(functionFragment: "getAllUserData", data: BytesLike): Result;
234
+ decodeFunctionResult(functionFragment: "getEligibleUserDeposits", data: BytesLike): Result;
75
235
  decodeFunctionResult(functionFragment: "getNFTPrice", data: BytesLike): Result;
76
236
  decodeFunctionResult(functionFragment: "getNormalizedDebt", data: BytesLike): Result;
77
237
  decodeFunctionResult(functionFragment: "getNormalizedIncome", data: BytesLike): Result;
238
+ decodeFunctionResult(functionFragment: "getPendingReward", data: BytesLike): Result;
239
+ decodeFunctionResult(functionFragment: "getPosition", data: BytesLike): Result;
240
+ decodeFunctionResult(functionFragment: "getPositionData", data: BytesLike): Result;
241
+ decodeFunctionResult(functionFragment: "getPositionDebt", data: BytesLike): Result;
242
+ decodeFunctionResult(functionFragment: "getPositionScaledDebt", data: BytesLike): Result;
243
+ decodeFunctionResult(functionFragment: "getPositionView", data: BytesLike): Result;
244
+ decodeFunctionResult(functionFragment: "getPositionsScaledDebt", data: BytesLike): Result;
78
245
  decodeFunctionResult(functionFragment: "getPrimeRate", data: BytesLike): Result;
246
+ decodeFunctionResult(functionFragment: "getRAACNFTAddress", data: BytesLike): Result;
247
+ decodeFunctionResult(functionFragment: "getReserveRateData", data: BytesLike): Result;
248
+ decodeFunctionResult(functionFragment: "getReserveState", data: BytesLike): Result;
249
+ decodeFunctionResult(functionFragment: "getUnclaimedVaultRewards", data: BytesLike): Result;
250
+ decodeFunctionResult(functionFragment: "getUninsuredBalance", data: BytesLike): Result;
79
251
  decodeFunctionResult(functionFragment: "getUserCollateralValue", data: BytesLike): Result;
80
252
  decodeFunctionResult(functionFragment: "getUserDebt", data: BytesLike): Result;
81
- decodeFunctionResult(functionFragment: "getUserDepositedNFTs", data: BytesLike): Result;
253
+ decodeFunctionResult(functionFragment: "getUserDeposits", data: BytesLike): Result;
254
+ decodeFunctionResult(functionFragment: "getUserDepositsInStabilityPool", data: BytesLike): Result;
255
+ decodeFunctionResult(functionFragment: "getUserOfDepositedNFT", data: BytesLike): Result;
82
256
  decodeFunctionResult(functionFragment: "healthFactorLiquidationThreshold", data: BytesLike): Result;
83
257
  decodeFunctionResult(functionFragment: "initiateLiquidation", data: BytesLike): Result;
84
- decodeFunctionResult(functionFragment: "isUnderLiquidation", data: BytesLike): Result;
258
+ decodeFunctionResult(functionFragment: "insuranceFee", data: BytesLike): Result;
85
259
  decodeFunctionResult(functionFragment: "liquidationGracePeriod", data: BytesLike): Result;
86
- decodeFunctionResult(functionFragment: "liquidationStartTime", data: BytesLike): Result;
87
260
  decodeFunctionResult(functionFragment: "liquidationThreshold", data: BytesLike): Result;
88
261
  decodeFunctionResult(functionFragment: "liquidityBufferRatio", data: BytesLike): Result;
89
262
  decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
90
263
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
91
264
  decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
92
265
  decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
266
+ decodeFunctionResult(functionFragment: "positions", data: BytesLike): Result;
93
267
  decodeFunctionResult(functionFragment: "priceOracle", data: BytesLike): Result;
94
268
  decodeFunctionResult(functionFragment: "primeRateOracle", data: BytesLike): Result;
95
269
  decodeFunctionResult(functionFragment: "rToken", data: BytesLike): Result;
@@ -101,19 +275,23 @@ export interface LendingPoolInterface extends Interface {
101
275
  decodeFunctionResult(functionFragment: "rescueToken", data: BytesLike): Result;
102
276
  decodeFunctionResult(functionFragment: "reserve", data: BytesLike): Result;
103
277
  decodeFunctionResult(functionFragment: "reserveAssetToken", data: BytesLike): Result;
104
- decodeFunctionResult(functionFragment: "setCurveVault", data: BytesLike): Result;
278
+ decodeFunctionResult(functionFragment: "rewardData", data: BytesLike): Result;
279
+ decodeFunctionResult(functionFragment: "setFeeCollector", data: BytesLike): Result;
105
280
  decodeFunctionResult(functionFragment: "setParameter", data: BytesLike): Result;
106
281
  decodeFunctionResult(functionFragment: "setPrimeRate", data: BytesLike): Result;
107
282
  decodeFunctionResult(functionFragment: "setPrimeRateOracle", data: BytesLike): Result;
108
- decodeFunctionResult(functionFragment: "setProtocolFeeRate", data: BytesLike): Result;
283
+ decodeFunctionResult(functionFragment: "setRewardToken", data: BytesLike): Result;
109
284
  decodeFunctionResult(functionFragment: "setStabilityPool", data: BytesLike): Result;
285
+ decodeFunctionResult(functionFragment: "setVault", data: BytesLike): Result;
110
286
  decodeFunctionResult(functionFragment: "stabilityPool", data: BytesLike): Result;
111
- decodeFunctionResult(functionFragment: "totalVaultDeposits", data: BytesLike): Result;
112
287
  decodeFunctionResult(functionFragment: "transferAccruedDust", data: BytesLike): Result;
113
288
  decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
114
289
  decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
115
290
  decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
291
+ decodeFunctionResult(functionFragment: "updateUserReward", data: BytesLike): Result;
116
292
  decodeFunctionResult(functionFragment: "userData", data: BytesLike): Result;
293
+ decodeFunctionResult(functionFragment: "vault", data: BytesLike): Result;
294
+ decodeFunctionResult(functionFragment: "vaultRewards", data: BytesLike): Result;
117
295
  decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
118
296
  decodeFunctionResult(functionFragment: "withdrawNFT", data: BytesLike): Result;
119
297
  decodeFunctionResult(functionFragment: "withdrawalsPaused", data: BytesLike): Result;
@@ -141,18 +319,6 @@ export declare namespace CanPaybackDebtChangedEvent {
141
319
  type Log = TypedEventLog<Event>;
142
320
  type LogDescription = TypedLogDescription<Event>;
143
321
  }
144
- export declare namespace CurveVaultUpdatedEvent {
145
- type InputTuple = [oldVault: AddressLike, newVault: AddressLike];
146
- type OutputTuple = [oldVault: string, newVault: string];
147
- interface OutputObject {
148
- oldVault: string;
149
- newVault: string;
150
- }
151
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
152
- type Filter = TypedDeferredTopicFilter<Event>;
153
- type Log = TypedEventLog<Event>;
154
- type LogDescription = TypedLogDescription<Event>;
155
- }
156
322
  export declare namespace Deposit_address_uint256_uint256_Event {
157
323
  type InputTuple = [
158
324
  user: AddressLike,
@@ -195,6 +361,58 @@ export declare namespace Deposit_address_uint256_uint256_Event {
195
361
  type Log = TypedEventLog<Event>;
196
362
  type LogDescription = TypedLogDescription<Event>;
197
363
  }
364
+ export declare namespace FeeCollectorUpdatedEvent {
365
+ type InputTuple = [
366
+ oldFeeCollector: AddressLike,
367
+ newFeeCollector: AddressLike
368
+ ];
369
+ type OutputTuple = [oldFeeCollector: string, newFeeCollector: string];
370
+ interface OutputObject {
371
+ oldFeeCollector: string;
372
+ newFeeCollector: string;
373
+ }
374
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
375
+ type Filter = TypedDeferredTopicFilter<Event>;
376
+ type Log = TypedEventLog<Event>;
377
+ type LogDescription = TypedLogDescription<Event>;
378
+ }
379
+ export declare namespace InsufficientFeesEvent {
380
+ type InputTuple = [];
381
+ type OutputTuple = [];
382
+ interface OutputObject {
383
+ }
384
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
385
+ type Filter = TypedDeferredTopicFilter<Event>;
386
+ type Log = TypedEventLog<Event>;
387
+ type LogDescription = TypedLogDescription<Event>;
388
+ }
389
+ export declare namespace InsuranceFeeUpdatedEvent {
390
+ type InputTuple = [
391
+ oldInsuranceFee: BigNumberish,
392
+ newInsuranceFee: BigNumberish
393
+ ];
394
+ type OutputTuple = [oldInsuranceFee: bigint, newInsuranceFee: bigint];
395
+ interface OutputObject {
396
+ oldInsuranceFee: bigint;
397
+ newInsuranceFee: bigint;
398
+ }
399
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
400
+ type Filter = TypedDeferredTopicFilter<Event>;
401
+ type Log = TypedEventLog<Event>;
402
+ type LogDescription = TypedLogDescription<Event>;
403
+ }
404
+ export declare namespace InsuredNFTEvent {
405
+ type InputTuple = [tokenId: BigNumberish, amount: BigNumberish];
406
+ type OutputTuple = [tokenId: bigint, amount: bigint];
407
+ interface OutputObject {
408
+ tokenId: bigint;
409
+ amount: bigint;
410
+ }
411
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
412
+ type Filter = TypedDeferredTopicFilter<Event>;
413
+ type Log = TypedEventLog<Event>;
414
+ type LogDescription = TypedLogDescription<Event>;
415
+ }
198
416
  export declare namespace InterestRatesUpdatedEvent {
199
417
  type InputTuple = [
200
418
  liquidityRate: BigNumberish,
@@ -235,10 +453,11 @@ export declare namespace LiquidationEvent {
235
453
  type LogDescription = TypedLogDescription<Event>;
236
454
  }
237
455
  export declare namespace LiquidationClosedEvent {
238
- type InputTuple = [user: AddressLike];
239
- type OutputTuple = [user: string];
456
+ type InputTuple = [user: AddressLike, tokenId: BigNumberish];
457
+ type OutputTuple = [user: string, tokenId: bigint];
240
458
  interface OutputObject {
241
459
  user: string;
460
+ tokenId: bigint;
242
461
  }
243
462
  type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
244
463
  type Filter = TypedDeferredTopicFilter<Event>;
@@ -249,18 +468,21 @@ export declare namespace LiquidationFinalizedEvent {
249
468
  type InputTuple = [
250
469
  liquidator: AddressLike,
251
470
  user: AddressLike,
471
+ tokenId: BigNumberish,
252
472
  debtRepaid: BigNumberish,
253
473
  collateralLiquidated: BigNumberish
254
474
  ];
255
475
  type OutputTuple = [
256
476
  liquidator: string,
257
477
  user: string,
478
+ tokenId: bigint,
258
479
  debtRepaid: bigint,
259
480
  collateralLiquidated: bigint
260
481
  ];
261
482
  interface OutputObject {
262
483
  liquidator: string;
263
484
  user: string;
485
+ tokenId: bigint;
264
486
  debtRepaid: bigint;
265
487
  collateralLiquidated: bigint;
266
488
  }
@@ -270,11 +492,16 @@ export declare namespace LiquidationFinalizedEvent {
270
492
  type LogDescription = TypedLogDescription<Event>;
271
493
  }
272
494
  export declare namespace LiquidationInitiatedEvent {
273
- type InputTuple = [liquidator: AddressLike, user: AddressLike];
274
- type OutputTuple = [liquidator: string, user: string];
495
+ type InputTuple = [
496
+ liquidator: AddressLike,
497
+ user: AddressLike,
498
+ tokenId: BigNumberish
499
+ ];
500
+ type OutputTuple = [liquidator: string, user: string, tokenId: bigint];
275
501
  interface OutputObject {
276
502
  liquidator: string;
277
503
  user: string;
504
+ tokenId: bigint;
278
505
  }
279
506
  type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
280
507
  type Filter = TypedDeferredTopicFilter<Event>;
@@ -353,6 +580,16 @@ export declare namespace NFTWithdrawnEvent {
353
580
  type Log = TypedEventLog<Event>;
354
581
  type LogDescription = TypedLogDescription<Event>;
355
582
  }
583
+ export declare namespace NotFeeCollectorEvent {
584
+ type InputTuple = [];
585
+ type OutputTuple = [];
586
+ interface OutputObject {
587
+ }
588
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
589
+ type Filter = TypedDeferredTopicFilter<Event>;
590
+ type Log = TypedEventLog<Event>;
591
+ type LogDescription = TypedLogDescription<Event>;
592
+ }
356
593
  export declare namespace OwnershipTransferredEvent {
357
594
  type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
358
595
  type OutputTuple = [previousOwner: string, newOwner: string];
@@ -391,6 +628,48 @@ export declare namespace PrimeRateUpdatedEvent {
391
628
  type Log = TypedEventLog<Event>;
392
629
  type LogDescription = TypedLogDescription<Event>;
393
630
  }
631
+ export declare namespace ProtocolFeeRateUpdatedEvent {
632
+ type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
633
+ type OutputTuple = [oldValue: bigint, newValue: bigint];
634
+ interface OutputObject {
635
+ oldValue: bigint;
636
+ newValue: bigint;
637
+ }
638
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
639
+ type Filter = TypedDeferredTopicFilter<Event>;
640
+ type Log = TypedEventLog<Event>;
641
+ type LogDescription = TypedLogDescription<Event>;
642
+ }
643
+ export declare namespace ProtocolFeesCollectedEvent {
644
+ type InputTuple = [
645
+ protocolFee: BigNumberish,
646
+ accumulatedProtocolFees: BigNumberish
647
+ ];
648
+ type OutputTuple = [
649
+ protocolFee: bigint,
650
+ accumulatedProtocolFees: bigint
651
+ ];
652
+ interface OutputObject {
653
+ protocolFee: bigint;
654
+ accumulatedProtocolFees: bigint;
655
+ }
656
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
657
+ type Filter = TypedDeferredTopicFilter<Event>;
658
+ type Log = TypedEventLog<Event>;
659
+ type LogDescription = TypedLogDescription<Event>;
660
+ }
661
+ export declare namespace ProtocolFeesWithdrawnEvent {
662
+ type InputTuple = [feeCollector: AddressLike, amount: BigNumberish];
663
+ type OutputTuple = [feeCollector: string, amount: bigint];
664
+ interface OutputObject {
665
+ feeCollector: string;
666
+ amount: bigint;
667
+ }
668
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
669
+ type Filter = TypedDeferredTopicFilter<Event>;
670
+ type Log = TypedEventLog<Event>;
671
+ type LogDescription = TypedLogDescription<Event>;
672
+ }
394
673
  export declare namespace RepayEvent {
395
674
  type InputTuple = [
396
675
  user: AddressLike,
@@ -423,6 +702,89 @@ export declare namespace ReserveInterestsUpdatedEvent {
423
702
  type Log = TypedEventLog<Event>;
424
703
  type LogDescription = TypedLogDescription<Event>;
425
704
  }
705
+ export declare namespace RewardClaimedEvent {
706
+ type InputTuple = [
707
+ user: AddressLike,
708
+ token: AddressLike,
709
+ amount: BigNumberish
710
+ ];
711
+ type OutputTuple = [user: string, token: string, amount: bigint];
712
+ interface OutputObject {
713
+ user: string;
714
+ token: string;
715
+ amount: bigint;
716
+ }
717
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
718
+ type Filter = TypedDeferredTopicFilter<Event>;
719
+ type Log = TypedEventLog<Event>;
720
+ type LogDescription = TypedLogDescription<Event>;
721
+ }
722
+ export declare namespace RewardDistributedEvent {
723
+ type InputTuple = [user: AddressLike, amount: BigNumberish];
724
+ type OutputTuple = [user: string, amount: bigint];
725
+ interface OutputObject {
726
+ user: string;
727
+ amount: bigint;
728
+ }
729
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
730
+ type Filter = TypedDeferredTopicFilter<Event>;
731
+ type Log = TypedEventLog<Event>;
732
+ type LogDescription = TypedLogDescription<Event>;
733
+ }
734
+ export declare namespace RewardParametersUpdatedEvent {
735
+ type InputTuple = [
736
+ token: AddressLike,
737
+ rewardRate: BigNumberish,
738
+ duration: BigNumberish
739
+ ];
740
+ type OutputTuple = [
741
+ token: string,
742
+ rewardRate: bigint,
743
+ duration: bigint
744
+ ];
745
+ interface OutputObject {
746
+ token: string;
747
+ rewardRate: bigint;
748
+ duration: bigint;
749
+ }
750
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
751
+ type Filter = TypedDeferredTopicFilter<Event>;
752
+ type Log = TypedEventLog<Event>;
753
+ type LogDescription = TypedLogDescription<Event>;
754
+ }
755
+ export declare namespace RewardTokenAddedEvent {
756
+ type InputTuple = [
757
+ token: AddressLike,
758
+ rewardRate: BigNumberish,
759
+ duration: BigNumberish
760
+ ];
761
+ type OutputTuple = [
762
+ token: string,
763
+ rewardRate: bigint,
764
+ duration: bigint
765
+ ];
766
+ interface OutputObject {
767
+ token: string;
768
+ rewardRate: bigint;
769
+ duration: bigint;
770
+ }
771
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
772
+ type Filter = TypedDeferredTopicFilter<Event>;
773
+ type Log = TypedEventLog<Event>;
774
+ type LogDescription = TypedLogDescription<Event>;
775
+ }
776
+ export declare namespace RewardTokensDepositedEvent {
777
+ type InputTuple = [user: AddressLike, amount: BigNumberish];
778
+ type OutputTuple = [user: string, amount: bigint];
779
+ interface OutputObject {
780
+ user: string;
781
+ amount: bigint;
782
+ }
783
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
784
+ type Filter = TypedDeferredTopicFilter<Event>;
785
+ type Log = TypedEventLog<Event>;
786
+ type LogDescription = TypedLogDescription<Event>;
787
+ }
426
788
  export declare namespace StabilityPoolUpdatedEvent {
427
789
  type InputTuple = [
428
790
  oldStabilityPool: AddressLike,
@@ -452,6 +814,40 @@ export declare namespace UnpausedEvent {
452
814
  type Log = TypedEventLog<Event>;
453
815
  type LogDescription = TypedLogDescription<Event>;
454
816
  }
817
+ export declare namespace VaultRewardsClaimedEvent {
818
+ type InputTuple = [amount: BigNumberish];
819
+ type OutputTuple = [amount: bigint];
820
+ interface OutputObject {
821
+ amount: bigint;
822
+ }
823
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
824
+ type Filter = TypedDeferredTopicFilter<Event>;
825
+ type Log = TypedEventLog<Event>;
826
+ type LogDescription = TypedLogDescription<Event>;
827
+ }
828
+ export declare namespace VaultUpdatedEvent {
829
+ type InputTuple = [oldVault: AddressLike, newVault: AddressLike];
830
+ type OutputTuple = [oldVault: string, newVault: string];
831
+ interface OutputObject {
832
+ oldVault: string;
833
+ newVault: string;
834
+ }
835
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
836
+ type Filter = TypedDeferredTopicFilter<Event>;
837
+ type Log = TypedEventLog<Event>;
838
+ type LogDescription = TypedLogDescription<Event>;
839
+ }
840
+ export declare namespace VaultWithdrawalFailedEvent {
841
+ type InputTuple = [vault: AddressLike];
842
+ type OutputTuple = [vault: string];
843
+ interface OutputObject {
844
+ vault: string;
845
+ }
846
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
847
+ type Filter = TypedDeferredTopicFilter<Event>;
848
+ type Log = TypedEventLog<Event>;
849
+ type LogDescription = TypedLogDescription<Event>;
850
+ }
455
851
  export declare namespace Withdraw_address_uint256_Event {
456
852
  type InputTuple = [user: AddressLike, amount: BigNumberish];
457
853
  type OutputTuple = [user: string, amount: bigint];
@@ -515,15 +911,39 @@ export interface LendingPool extends BaseContract {
515
911
  ], "view">;
516
912
  BASE_LIQUIDATION_GRACE_PERIOD: TypedContractMethod<[], [bigint], "view">;
517
913
  BASE_LIQUIDATION_THRESHOLD: TypedContractMethod<[], [bigint], "view">;
518
- borrow: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
914
+ borrow: TypedContractMethod<[
915
+ tokenId: BigNumberish,
916
+ amount: BigNumberish
917
+ ], [
918
+ void
919
+ ], "nonpayable">;
920
+ borrowWithInsurance: TypedContractMethod<[
921
+ tokenId: BigNumberish,
922
+ amount: BigNumberish
923
+ ], [
924
+ void
925
+ ], "nonpayable">;
519
926
  calculateHealthFactor: TypedContractMethod<[
520
- userAddress: AddressLike
927
+ userAddress: AddressLike,
928
+ tokenId: BigNumberish
929
+ ], [
930
+ bigint
931
+ ], "view">;
932
+ calculateInsuranceFee: TypedContractMethod<[
933
+ user: AddressLike,
934
+ tokenId: BigNumberish,
935
+ amount: BigNumberish
521
936
  ], [
522
937
  bigint
523
938
  ], "view">;
524
939
  canPaybackDebt: TypedContractMethod<[], [boolean], "view">;
525
- closeLiquidation: TypedContractMethod<[], [void], "nonpayable">;
526
- curveVault: TypedContractMethod<[], [string], "view">;
940
+ claimCollectorRewards: TypedContractMethod<[], [bigint], "nonpayable">;
941
+ claimReward: TypedContractMethod<[], [boolean], "nonpayable">;
942
+ closeLiquidation: TypedContractMethod<[
943
+ tokenId: BigNumberish
944
+ ], [
945
+ void
946
+ ], "nonpayable">;
527
947
  debtToken: TypedContractMethod<[], [string], "view">;
528
948
  deposit: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
529
949
  depositNFT: TypedContractMethod<[
@@ -531,15 +951,84 @@ export interface LendingPool extends BaseContract {
531
951
  ], [
532
952
  void
533
953
  ], "nonpayable">;
954
+ depositRewardTokens: TypedContractMethod<[
955
+ amount: BigNumberish
956
+ ], [
957
+ void
958
+ ], "nonpayable">;
959
+ feeCollector: TypedContractMethod<[], [string], "view">;
534
960
  finalizeLiquidation: TypedContractMethod<[
535
- userAddress: AddressLike
961
+ userAddress: AddressLike,
962
+ tokenId: BigNumberish
536
963
  ], [
537
964
  void
538
965
  ], "nonpayable">;
966
+ getAllUserData: TypedContractMethod<[
967
+ userAddress: AddressLike
968
+ ], [
969
+ ILendingPool.UserDataViewStructOutput
970
+ ], "view">;
971
+ getEligibleUserDeposits: TypedContractMethod<[
972
+ user: AddressLike
973
+ ], [
974
+ bigint
975
+ ], "view">;
539
976
  getNFTPrice: TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
540
977
  getNormalizedDebt: TypedContractMethod<[], [bigint], "view">;
541
978
  getNormalizedIncome: TypedContractMethod<[], [bigint], "view">;
979
+ getPendingReward: TypedContractMethod<[user: AddressLike], [bigint], "view">;
980
+ getPosition: TypedContractMethod<[
981
+ user: AddressLike,
982
+ tokenId: BigNumberish
983
+ ], [
984
+ ILendingPool.NFTPositionStructOutput
985
+ ], "view">;
986
+ getPositionData: TypedContractMethod<[
987
+ user: AddressLike,
988
+ tokenId: BigNumberish
989
+ ], [
990
+ [bigint, bigint]
991
+ ], "view">;
992
+ getPositionDebt: TypedContractMethod<[
993
+ userAddress: AddressLike,
994
+ tokenId: BigNumberish
995
+ ], [
996
+ bigint
997
+ ], "view">;
998
+ getPositionScaledDebt: TypedContractMethod<[
999
+ userAddress: AddressLike,
1000
+ tokenId: BigNumberish
1001
+ ], [
1002
+ bigint
1003
+ ], "view">;
1004
+ getPositionView: TypedContractMethod<[
1005
+ user: AddressLike,
1006
+ tokenId: BigNumberish
1007
+ ], [
1008
+ ILendingPool.NFTPositionViewStructOutput
1009
+ ], "view">;
1010
+ getPositionsScaledDebt: TypedContractMethod<[
1011
+ userAddress: AddressLike
1012
+ ], [
1013
+ bigint
1014
+ ], "view">;
542
1015
  getPrimeRate: TypedContractMethod<[], [bigint], "view">;
1016
+ getRAACNFTAddress: TypedContractMethod<[], [string], "view">;
1017
+ getReserveRateData: TypedContractMethod<[
1018
+ ], [
1019
+ ReserveLibrary.ReserveRateDataStructOutput
1020
+ ], "view">;
1021
+ getReserveState: TypedContractMethod<[
1022
+ ], [
1023
+ ReserveLibrary.ReserveDataStructOutput
1024
+ ], "view">;
1025
+ getUnclaimedVaultRewards: TypedContractMethod<[], [bigint], "view">;
1026
+ getUninsuredBalance: TypedContractMethod<[
1027
+ user: AddressLike,
1028
+ tokenId: BigNumberish
1029
+ ], [
1030
+ bigint
1031
+ ], "view">;
543
1032
  getUserCollateralValue: TypedContractMethod<[
544
1033
  userAddress: AddressLike
545
1034
  ], [
@@ -550,28 +1039,26 @@ export interface LendingPool extends BaseContract {
550
1039
  ], [
551
1040
  bigint
552
1041
  ], "view">;
553
- getUserDepositedNFTs: TypedContractMethod<[
554
- userAddress: AddressLike
1042
+ getUserDeposits: TypedContractMethod<[user: AddressLike], [bigint], "view">;
1043
+ getUserDepositsInStabilityPool: TypedContractMethod<[
1044
+ user: AddressLike
1045
+ ], [
1046
+ bigint
1047
+ ], "view">;
1048
+ getUserOfDepositedNFT: TypedContractMethod<[
1049
+ nftId: BigNumberish
555
1050
  ], [
556
- bigint[]
1051
+ string
557
1052
  ], "view">;
558
1053
  healthFactorLiquidationThreshold: TypedContractMethod<[], [bigint], "view">;
559
1054
  initiateLiquidation: TypedContractMethod<[
560
- userAddress: AddressLike
1055
+ userAddress: AddressLike,
1056
+ tokenId: BigNumberish
561
1057
  ], [
562
1058
  void
563
1059
  ], "nonpayable">;
564
- isUnderLiquidation: TypedContractMethod<[
565
- arg0: AddressLike
566
- ], [
567
- boolean
568
- ], "view">;
1060
+ insuranceFee: TypedContractMethod<[], [bigint], "view">;
569
1061
  liquidationGracePeriod: TypedContractMethod<[], [bigint], "view">;
570
- liquidationStartTime: TypedContractMethod<[
571
- arg0: AddressLike
572
- ], [
573
- bigint
574
- ], "view">;
575
1062
  liquidationThreshold: TypedContractMethod<[], [bigint], "view">;
576
1063
  liquidityBufferRatio: TypedContractMethod<[], [bigint], "view">;
577
1064
  onERC721Received: TypedContractMethod<[
@@ -585,6 +1072,26 @@ export interface LendingPool extends BaseContract {
585
1072
  owner: TypedContractMethod<[], [string], "view">;
586
1073
  pause: TypedContractMethod<[], [void], "nonpayable">;
587
1074
  paused: TypedContractMethod<[], [boolean], "view">;
1075
+ positions: TypedContractMethod<[
1076
+ arg0: AddressLike,
1077
+ arg1: BigNumberish
1078
+ ], [
1079
+ [
1080
+ bigint,
1081
+ boolean,
1082
+ bigint,
1083
+ bigint,
1084
+ boolean,
1085
+ bigint
1086
+ ] & {
1087
+ rawDebtBalance: bigint;
1088
+ isUnderLiquidation: boolean;
1089
+ liquidationStartTime: bigint;
1090
+ positionIndex: bigint;
1091
+ isInsured: boolean;
1092
+ rawInsuredBalance: bigint;
1093
+ }
1094
+ ], "view">;
588
1095
  priceOracle: TypedContractMethod<[], [string], "view">;
589
1096
  primeRateOracle: TypedContractMethod<[], [string], "view">;
590
1097
  rToken: TypedContractMethod<[], [string], "view">;
@@ -612,8 +1119,14 @@ export interface LendingPool extends BaseContract {
612
1119
  }
613
1120
  ], "view">;
614
1121
  renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
615
- repay: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
1122
+ repay: TypedContractMethod<[
1123
+ tokenId: BigNumberish,
1124
+ amount: BigNumberish
1125
+ ], [
1126
+ void
1127
+ ], "nonpayable">;
616
1128
  repayOnBehalf: TypedContractMethod<[
1129
+ tokenId: BigNumberish,
617
1130
  amount: BigNumberish,
618
1131
  onBehalfOf: AddressLike
619
1132
  ], [
@@ -649,8 +1162,20 @@ export interface LendingPool extends BaseContract {
649
1162
  }
650
1163
  ], "view">;
651
1164
  reserveAssetToken: TypedContractMethod<[], [string], "view">;
652
- setCurveVault: TypedContractMethod<[
653
- newVault: AddressLike
1165
+ rewardData: TypedContractMethod<[
1166
+ ], [
1167
+ [
1168
+ string,
1169
+ bigint,
1170
+ bigint
1171
+ ] & {
1172
+ rewardToken: string;
1173
+ rewardPerShare: bigint;
1174
+ lastUpdateTime: bigint;
1175
+ }
1176
+ ], "view">;
1177
+ setFeeCollector: TypedContractMethod<[
1178
+ newFeeCollector: AddressLike
654
1179
  ], [
655
1180
  void
656
1181
  ], "nonpayable">;
@@ -670,8 +1195,8 @@ export interface LendingPool extends BaseContract {
670
1195
  ], [
671
1196
  void
672
1197
  ], "nonpayable">;
673
- setProtocolFeeRate: TypedContractMethod<[
674
- newProtocolFeeRate: BigNumberish
1198
+ setRewardToken: TypedContractMethod<[
1199
+ rewardToken: AddressLike
675
1200
  ], [
676
1201
  void
677
1202
  ], "nonpayable">;
@@ -680,8 +1205,8 @@ export interface LendingPool extends BaseContract {
680
1205
  ], [
681
1206
  void
682
1207
  ], "nonpayable">;
1208
+ setVault: TypedContractMethod<[newVault: AddressLike], [void], "nonpayable">;
683
1209
  stabilityPool: TypedContractMethod<[], [string], "view">;
684
- totalVaultDeposits: TypedContractMethod<[], [bigint], "view">;
685
1210
  transferAccruedDust: TypedContractMethod<[
686
1211
  recipient: AddressLike,
687
1212
  amount: BigNumberish
@@ -695,17 +1220,29 @@ export interface LendingPool extends BaseContract {
695
1220
  ], "nonpayable">;
696
1221
  unpause: TypedContractMethod<[], [void], "nonpayable">;
697
1222
  updateState: TypedContractMethod<[], [void], "nonpayable">;
698
- userData: TypedContractMethod<[
699
- arg0: AddressLike
1223
+ updateUserReward: TypedContractMethod<[
1224
+ user: AddressLike
1225
+ ], [
1226
+ void
1227
+ ], "nonpayable">;
1228
+ userData: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1229
+ vault: TypedContractMethod<[], [string], "view">;
1230
+ vaultRewards: TypedContractMethod<[
700
1231
  ], [
701
1232
  [
702
1233
  bigint,
703
- boolean,
1234
+ bigint,
1235
+ bigint,
1236
+ bigint,
1237
+ bigint,
704
1238
  bigint
705
1239
  ] & {
706
- scaledDebtBalance: bigint;
707
- underLiquidation: boolean;
708
- liquidationStartTime: bigint;
1240
+ totalDeposits: bigint;
1241
+ unclaimedRewards: bigint;
1242
+ lastClaimTime: bigint;
1243
+ lastSharePrice: bigint;
1244
+ lastWithdrawalTime: bigint;
1245
+ lastDepositTime: bigint;
709
1246
  }
710
1247
  ], "view">;
711
1248
  withdraw: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
@@ -719,27 +1256,115 @@ export interface LendingPool extends BaseContract {
719
1256
  getFunction(nameOrSignature: "BASE_HEALTH_FACTOR_LIQUIDATION_THRESHOLD"): TypedContractMethod<[], [bigint], "view">;
720
1257
  getFunction(nameOrSignature: "BASE_LIQUIDATION_GRACE_PERIOD"): TypedContractMethod<[], [bigint], "view">;
721
1258
  getFunction(nameOrSignature: "BASE_LIQUIDATION_THRESHOLD"): TypedContractMethod<[], [bigint], "view">;
722
- getFunction(nameOrSignature: "borrow"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
723
- getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
1259
+ getFunction(nameOrSignature: "borrow"): TypedContractMethod<[
1260
+ tokenId: BigNumberish,
1261
+ amount: BigNumberish
1262
+ ], [
1263
+ void
1264
+ ], "nonpayable">;
1265
+ getFunction(nameOrSignature: "borrowWithInsurance"): TypedContractMethod<[
1266
+ tokenId: BigNumberish,
1267
+ amount: BigNumberish
1268
+ ], [
1269
+ void
1270
+ ], "nonpayable">;
1271
+ getFunction(nameOrSignature: "calculateHealthFactor"): TypedContractMethod<[
1272
+ userAddress: AddressLike,
1273
+ tokenId: BigNumberish
1274
+ ], [
1275
+ bigint
1276
+ ], "view">;
1277
+ getFunction(nameOrSignature: "calculateInsuranceFee"): TypedContractMethod<[
1278
+ user: AddressLike,
1279
+ tokenId: BigNumberish,
1280
+ amount: BigNumberish
1281
+ ], [
1282
+ bigint
1283
+ ], "view">;
724
1284
  getFunction(nameOrSignature: "canPaybackDebt"): TypedContractMethod<[], [boolean], "view">;
725
- getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[], [void], "nonpayable">;
726
- getFunction(nameOrSignature: "curveVault"): TypedContractMethod<[], [string], "view">;
1285
+ getFunction(nameOrSignature: "claimCollectorRewards"): TypedContractMethod<[], [bigint], "nonpayable">;
1286
+ getFunction(nameOrSignature: "claimReward"): TypedContractMethod<[], [boolean], "nonpayable">;
1287
+ getFunction(nameOrSignature: "closeLiquidation"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
727
1288
  getFunction(nameOrSignature: "debtToken"): TypedContractMethod<[], [string], "view">;
728
1289
  getFunction(nameOrSignature: "deposit"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
729
1290
  getFunction(nameOrSignature: "depositNFT"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
730
- getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[userAddress: AddressLike], [void], "nonpayable">;
1291
+ getFunction(nameOrSignature: "depositRewardTokens"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
1292
+ getFunction(nameOrSignature: "feeCollector"): TypedContractMethod<[], [string], "view">;
1293
+ getFunction(nameOrSignature: "finalizeLiquidation"): TypedContractMethod<[
1294
+ userAddress: AddressLike,
1295
+ tokenId: BigNumberish
1296
+ ], [
1297
+ void
1298
+ ], "nonpayable">;
1299
+ getFunction(nameOrSignature: "getAllUserData"): TypedContractMethod<[
1300
+ userAddress: AddressLike
1301
+ ], [
1302
+ ILendingPool.UserDataViewStructOutput
1303
+ ], "view">;
1304
+ getFunction(nameOrSignature: "getEligibleUserDeposits"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
731
1305
  getFunction(nameOrSignature: "getNFTPrice"): TypedContractMethod<[tokenId: BigNumberish], [bigint], "view">;
732
1306
  getFunction(nameOrSignature: "getNormalizedDebt"): TypedContractMethod<[], [bigint], "view">;
733
1307
  getFunction(nameOrSignature: "getNormalizedIncome"): TypedContractMethod<[], [bigint], "view">;
1308
+ getFunction(nameOrSignature: "getPendingReward"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
1309
+ getFunction(nameOrSignature: "getPosition"): TypedContractMethod<[
1310
+ user: AddressLike,
1311
+ tokenId: BigNumberish
1312
+ ], [
1313
+ ILendingPool.NFTPositionStructOutput
1314
+ ], "view">;
1315
+ getFunction(nameOrSignature: "getPositionData"): TypedContractMethod<[
1316
+ user: AddressLike,
1317
+ tokenId: BigNumberish
1318
+ ], [
1319
+ [bigint, bigint]
1320
+ ], "view">;
1321
+ getFunction(nameOrSignature: "getPositionDebt"): TypedContractMethod<[
1322
+ userAddress: AddressLike,
1323
+ tokenId: BigNumberish
1324
+ ], [
1325
+ bigint
1326
+ ], "view">;
1327
+ getFunction(nameOrSignature: "getPositionScaledDebt"): TypedContractMethod<[
1328
+ userAddress: AddressLike,
1329
+ tokenId: BigNumberish
1330
+ ], [
1331
+ bigint
1332
+ ], "view">;
1333
+ getFunction(nameOrSignature: "getPositionView"): TypedContractMethod<[
1334
+ user: AddressLike,
1335
+ tokenId: BigNumberish
1336
+ ], [
1337
+ ILendingPool.NFTPositionViewStructOutput
1338
+ ], "view">;
1339
+ getFunction(nameOrSignature: "getPositionsScaledDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
734
1340
  getFunction(nameOrSignature: "getPrimeRate"): TypedContractMethod<[], [bigint], "view">;
1341
+ getFunction(nameOrSignature: "getRAACNFTAddress"): TypedContractMethod<[], [string], "view">;
1342
+ getFunction(nameOrSignature: "getReserveRateData"): TypedContractMethod<[
1343
+ ], [
1344
+ ReserveLibrary.ReserveRateDataStructOutput
1345
+ ], "view">;
1346
+ getFunction(nameOrSignature: "getReserveState"): TypedContractMethod<[], [ReserveLibrary.ReserveDataStructOutput], "view">;
1347
+ getFunction(nameOrSignature: "getUnclaimedVaultRewards"): TypedContractMethod<[], [bigint], "view">;
1348
+ getFunction(nameOrSignature: "getUninsuredBalance"): TypedContractMethod<[
1349
+ user: AddressLike,
1350
+ tokenId: BigNumberish
1351
+ ], [
1352
+ bigint
1353
+ ], "view">;
735
1354
  getFunction(nameOrSignature: "getUserCollateralValue"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
736
1355
  getFunction(nameOrSignature: "getUserDebt"): TypedContractMethod<[userAddress: AddressLike], [bigint], "view">;
737
- getFunction(nameOrSignature: "getUserDepositedNFTs"): TypedContractMethod<[userAddress: AddressLike], [bigint[]], "view">;
1356
+ getFunction(nameOrSignature: "getUserDeposits"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
1357
+ getFunction(nameOrSignature: "getUserDepositsInStabilityPool"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
1358
+ getFunction(nameOrSignature: "getUserOfDepositedNFT"): TypedContractMethod<[nftId: BigNumberish], [string], "view">;
738
1359
  getFunction(nameOrSignature: "healthFactorLiquidationThreshold"): TypedContractMethod<[], [bigint], "view">;
739
- getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[userAddress: AddressLike], [void], "nonpayable">;
740
- getFunction(nameOrSignature: "isUnderLiquidation"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
1360
+ getFunction(nameOrSignature: "initiateLiquidation"): TypedContractMethod<[
1361
+ userAddress: AddressLike,
1362
+ tokenId: BigNumberish
1363
+ ], [
1364
+ void
1365
+ ], "nonpayable">;
1366
+ getFunction(nameOrSignature: "insuranceFee"): TypedContractMethod<[], [bigint], "view">;
741
1367
  getFunction(nameOrSignature: "liquidationGracePeriod"): TypedContractMethod<[], [bigint], "view">;
742
- getFunction(nameOrSignature: "liquidationStartTime"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
743
1368
  getFunction(nameOrSignature: "liquidationThreshold"): TypedContractMethod<[], [bigint], "view">;
744
1369
  getFunction(nameOrSignature: "liquidityBufferRatio"): TypedContractMethod<[], [bigint], "view">;
745
1370
  getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
@@ -753,6 +1378,26 @@ export interface LendingPool extends BaseContract {
753
1378
  getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
754
1379
  getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
755
1380
  getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
1381
+ getFunction(nameOrSignature: "positions"): TypedContractMethod<[
1382
+ arg0: AddressLike,
1383
+ arg1: BigNumberish
1384
+ ], [
1385
+ [
1386
+ bigint,
1387
+ boolean,
1388
+ bigint,
1389
+ bigint,
1390
+ boolean,
1391
+ bigint
1392
+ ] & {
1393
+ rawDebtBalance: bigint;
1394
+ isUnderLiquidation: boolean;
1395
+ liquidationStartTime: bigint;
1396
+ positionIndex: bigint;
1397
+ isInsured: boolean;
1398
+ rawInsuredBalance: bigint;
1399
+ }
1400
+ ], "view">;
756
1401
  getFunction(nameOrSignature: "priceOracle"): TypedContractMethod<[], [string], "view">;
757
1402
  getFunction(nameOrSignature: "primeRateOracle"): TypedContractMethod<[], [string], "view">;
758
1403
  getFunction(nameOrSignature: "rToken"): TypedContractMethod<[], [string], "view">;
@@ -780,8 +1425,14 @@ export interface LendingPool extends BaseContract {
780
1425
  }
781
1426
  ], "view">;
782
1427
  getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
783
- getFunction(nameOrSignature: "repay"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
1428
+ getFunction(nameOrSignature: "repay"): TypedContractMethod<[
1429
+ tokenId: BigNumberish,
1430
+ amount: BigNumberish
1431
+ ], [
1432
+ void
1433
+ ], "nonpayable">;
784
1434
  getFunction(nameOrSignature: "repayOnBehalf"): TypedContractMethod<[
1435
+ tokenId: BigNumberish,
785
1436
  amount: BigNumberish,
786
1437
  onBehalfOf: AddressLike
787
1438
  ], [
@@ -817,7 +1468,19 @@ export interface LendingPool extends BaseContract {
817
1468
  }
818
1469
  ], "view">;
819
1470
  getFunction(nameOrSignature: "reserveAssetToken"): TypedContractMethod<[], [string], "view">;
820
- getFunction(nameOrSignature: "setCurveVault"): TypedContractMethod<[newVault: AddressLike], [void], "nonpayable">;
1471
+ getFunction(nameOrSignature: "rewardData"): TypedContractMethod<[
1472
+ ], [
1473
+ [
1474
+ string,
1475
+ bigint,
1476
+ bigint
1477
+ ] & {
1478
+ rewardToken: string;
1479
+ rewardPerShare: bigint;
1480
+ lastUpdateTime: bigint;
1481
+ }
1482
+ ], "view">;
1483
+ getFunction(nameOrSignature: "setFeeCollector"): TypedContractMethod<[newFeeCollector: AddressLike], [void], "nonpayable">;
821
1484
  getFunction(nameOrSignature: "setParameter"): TypedContractMethod<[
822
1485
  param: BigNumberish,
823
1486
  newValue: BigNumberish
@@ -826,14 +1489,10 @@ export interface LendingPool extends BaseContract {
826
1489
  ], "nonpayable">;
827
1490
  getFunction(nameOrSignature: "setPrimeRate"): TypedContractMethod<[newPrimeRate: BigNumberish], [void], "nonpayable">;
828
1491
  getFunction(nameOrSignature: "setPrimeRateOracle"): TypedContractMethod<[newOracle: AddressLike], [void], "nonpayable">;
829
- getFunction(nameOrSignature: "setProtocolFeeRate"): TypedContractMethod<[
830
- newProtocolFeeRate: BigNumberish
831
- ], [
832
- void
833
- ], "nonpayable">;
1492
+ getFunction(nameOrSignature: "setRewardToken"): TypedContractMethod<[rewardToken: AddressLike], [void], "nonpayable">;
834
1493
  getFunction(nameOrSignature: "setStabilityPool"): TypedContractMethod<[newStabilityPool: AddressLike], [void], "nonpayable">;
1494
+ getFunction(nameOrSignature: "setVault"): TypedContractMethod<[newVault: AddressLike], [void], "nonpayable">;
835
1495
  getFunction(nameOrSignature: "stabilityPool"): TypedContractMethod<[], [string], "view">;
836
- getFunction(nameOrSignature: "totalVaultDeposits"): TypedContractMethod<[], [bigint], "view">;
837
1496
  getFunction(nameOrSignature: "transferAccruedDust"): TypedContractMethod<[
838
1497
  recipient: AddressLike,
839
1498
  amount: BigNumberish
@@ -843,17 +1502,25 @@ export interface LendingPool extends BaseContract {
843
1502
  getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
844
1503
  getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
845
1504
  getFunction(nameOrSignature: "updateState"): TypedContractMethod<[], [void], "nonpayable">;
846
- getFunction(nameOrSignature: "userData"): TypedContractMethod<[
847
- arg0: AddressLike
1505
+ getFunction(nameOrSignature: "updateUserReward"): TypedContractMethod<[user: AddressLike], [void], "nonpayable">;
1506
+ getFunction(nameOrSignature: "userData"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1507
+ getFunction(nameOrSignature: "vault"): TypedContractMethod<[], [string], "view">;
1508
+ getFunction(nameOrSignature: "vaultRewards"): TypedContractMethod<[
848
1509
  ], [
849
1510
  [
850
1511
  bigint,
851
- boolean,
1512
+ bigint,
1513
+ bigint,
1514
+ bigint,
1515
+ bigint,
852
1516
  bigint
853
1517
  ] & {
854
- scaledDebtBalance: bigint;
855
- underLiquidation: boolean;
856
- liquidationStartTime: bigint;
1518
+ totalDeposits: bigint;
1519
+ unclaimedRewards: bigint;
1520
+ lastClaimTime: bigint;
1521
+ lastSharePrice: bigint;
1522
+ lastWithdrawalTime: bigint;
1523
+ lastDepositTime: bigint;
857
1524
  }
858
1525
  ], "view">;
859
1526
  getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
@@ -861,9 +1528,12 @@ export interface LendingPool extends BaseContract {
861
1528
  getFunction(nameOrSignature: "withdrawalsPaused"): TypedContractMethod<[], [boolean], "view">;
862
1529
  getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
863
1530
  getEvent(key: "CanPaybackDebtChanged"): TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
864
- getEvent(key: "CurveVaultUpdated"): TypedContractEvent<CurveVaultUpdatedEvent.InputTuple, CurveVaultUpdatedEvent.OutputTuple, CurveVaultUpdatedEvent.OutputObject>;
865
1531
  getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
866
1532
  getEvent(key: "Deposit(address,uint256,uint256)"): TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
1533
+ getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
1534
+ getEvent(key: "InsufficientFees"): TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
1535
+ getEvent(key: "InsuranceFeeUpdated"): TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
1536
+ getEvent(key: "InsuredNFT"): TypedContractEvent<InsuredNFTEvent.InputTuple, InsuredNFTEvent.OutputTuple, InsuredNFTEvent.OutputObject>;
867
1537
  getEvent(key: "InterestRatesUpdated"): TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
868
1538
  getEvent(key: "Liquidation"): TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
869
1539
  getEvent(key: "LiquidationClosed"): TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
@@ -874,13 +1544,25 @@ export interface LendingPool extends BaseContract {
874
1544
  getEvent(key: "LiquidityRebalanced"): TypedContractEvent<LiquidityRebalancedEvent.InputTuple, LiquidityRebalancedEvent.OutputTuple, LiquidityRebalancedEvent.OutputObject>;
875
1545
  getEvent(key: "NFTDeposited"): TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
876
1546
  getEvent(key: "NFTWithdrawn"): TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
1547
+ getEvent(key: "NotFeeCollector"): TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
877
1548
  getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
878
1549
  getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
879
1550
  getEvent(key: "PrimeRateUpdated"): TypedContractEvent<PrimeRateUpdatedEvent.InputTuple, PrimeRateUpdatedEvent.OutputTuple, PrimeRateUpdatedEvent.OutputObject>;
1551
+ getEvent(key: "ProtocolFeeRateUpdated"): TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
1552
+ getEvent(key: "ProtocolFeesCollected"): TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
1553
+ getEvent(key: "ProtocolFeesWithdrawn"): TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
880
1554
  getEvent(key: "Repay"): TypedContractEvent<RepayEvent.InputTuple, RepayEvent.OutputTuple, RepayEvent.OutputObject>;
881
1555
  getEvent(key: "ReserveInterestsUpdated"): TypedContractEvent<ReserveInterestsUpdatedEvent.InputTuple, ReserveInterestsUpdatedEvent.OutputTuple, ReserveInterestsUpdatedEvent.OutputObject>;
1556
+ getEvent(key: "RewardClaimed"): TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
1557
+ getEvent(key: "RewardDistributed"): TypedContractEvent<RewardDistributedEvent.InputTuple, RewardDistributedEvent.OutputTuple, RewardDistributedEvent.OutputObject>;
1558
+ getEvent(key: "RewardParametersUpdated"): TypedContractEvent<RewardParametersUpdatedEvent.InputTuple, RewardParametersUpdatedEvent.OutputTuple, RewardParametersUpdatedEvent.OutputObject>;
1559
+ getEvent(key: "RewardTokenAdded"): TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
1560
+ getEvent(key: "RewardTokensDeposited"): TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
882
1561
  getEvent(key: "StabilityPoolUpdated"): TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
883
1562
  getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1563
+ getEvent(key: "VaultRewardsClaimed"): TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
1564
+ getEvent(key: "VaultUpdated"): TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
1565
+ getEvent(key: "VaultWithdrawalFailed"): TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
884
1566
  getEvent(key: "Withdraw(address,uint256)"): TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
885
1567
  getEvent(key: "Withdraw(address,uint256,uint256)"): TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
886
1568
  getEvent(key: "WithdrawalsPauseStatusChanged"): TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;
@@ -889,19 +1571,25 @@ export interface LendingPool extends BaseContract {
889
1571
  Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
890
1572
  "CanPaybackDebtChanged(bool)": TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
891
1573
  CanPaybackDebtChanged: TypedContractEvent<CanPaybackDebtChangedEvent.InputTuple, CanPaybackDebtChangedEvent.OutputTuple, CanPaybackDebtChangedEvent.OutputObject>;
892
- "CurveVaultUpdated(address,address)": TypedContractEvent<CurveVaultUpdatedEvent.InputTuple, CurveVaultUpdatedEvent.OutputTuple, CurveVaultUpdatedEvent.OutputObject>;
893
- CurveVaultUpdated: TypedContractEvent<CurveVaultUpdatedEvent.InputTuple, CurveVaultUpdatedEvent.OutputTuple, CurveVaultUpdatedEvent.OutputObject>;
894
1574
  "Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
895
1575
  "Deposit(address,uint256,uint256)": TypedContractEvent<Deposit_address_uint256_uint256_Event.InputTuple, Deposit_address_uint256_uint256_Event.OutputTuple, Deposit_address_uint256_uint256_Event.OutputObject>;
1576
+ "FeeCollectorUpdated(address,address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
1577
+ FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
1578
+ "InsufficientFees()": TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
1579
+ InsufficientFees: TypedContractEvent<InsufficientFeesEvent.InputTuple, InsufficientFeesEvent.OutputTuple, InsufficientFeesEvent.OutputObject>;
1580
+ "InsuranceFeeUpdated(uint256,uint256)": TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
1581
+ InsuranceFeeUpdated: TypedContractEvent<InsuranceFeeUpdatedEvent.InputTuple, InsuranceFeeUpdatedEvent.OutputTuple, InsuranceFeeUpdatedEvent.OutputObject>;
1582
+ "InsuredNFT(uint256,uint256)": TypedContractEvent<InsuredNFTEvent.InputTuple, InsuredNFTEvent.OutputTuple, InsuredNFTEvent.OutputObject>;
1583
+ InsuredNFT: TypedContractEvent<InsuredNFTEvent.InputTuple, InsuredNFTEvent.OutputTuple, InsuredNFTEvent.OutputObject>;
896
1584
  "InterestRatesUpdated(uint256,uint256)": TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
897
1585
  InterestRatesUpdated: TypedContractEvent<InterestRatesUpdatedEvent.InputTuple, InterestRatesUpdatedEvent.OutputTuple, InterestRatesUpdatedEvent.OutputObject>;
898
1586
  "Liquidation(address,address,uint256,uint256)": TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
899
1587
  Liquidation: TypedContractEvent<LiquidationEvent.InputTuple, LiquidationEvent.OutputTuple, LiquidationEvent.OutputObject>;
900
- "LiquidationClosed(address)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
1588
+ "LiquidationClosed(address,uint256)": TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
901
1589
  LiquidationClosed: TypedContractEvent<LiquidationClosedEvent.InputTuple, LiquidationClosedEvent.OutputTuple, LiquidationClosedEvent.OutputObject>;
902
- "LiquidationFinalized(address,address,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
1590
+ "LiquidationFinalized(address,address,uint256,uint256,uint256)": TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
903
1591
  LiquidationFinalized: TypedContractEvent<LiquidationFinalizedEvent.InputTuple, LiquidationFinalizedEvent.OutputTuple, LiquidationFinalizedEvent.OutputObject>;
904
- "LiquidationInitiated(address,address)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
1592
+ "LiquidationInitiated(address,address,uint256)": TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
905
1593
  LiquidationInitiated: TypedContractEvent<LiquidationInitiatedEvent.InputTuple, LiquidationInitiatedEvent.OutputTuple, LiquidationInitiatedEvent.OutputObject>;
906
1594
  "LiquidationParametersUpdated(uint256,uint256,uint256)": TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
907
1595
  LiquidationParametersUpdated: TypedContractEvent<LiquidationParametersUpdatedEvent.InputTuple, LiquidationParametersUpdatedEvent.OutputTuple, LiquidationParametersUpdatedEvent.OutputObject>;
@@ -913,20 +1601,44 @@ export interface LendingPool extends BaseContract {
913
1601
  NFTDeposited: TypedContractEvent<NFTDepositedEvent.InputTuple, NFTDepositedEvent.OutputTuple, NFTDepositedEvent.OutputObject>;
914
1602
  "NFTWithdrawn(address,uint256)": TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
915
1603
  NFTWithdrawn: TypedContractEvent<NFTWithdrawnEvent.InputTuple, NFTWithdrawnEvent.OutputTuple, NFTWithdrawnEvent.OutputObject>;
1604
+ "NotFeeCollector()": TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
1605
+ NotFeeCollector: TypedContractEvent<NotFeeCollectorEvent.InputTuple, NotFeeCollectorEvent.OutputTuple, NotFeeCollectorEvent.OutputObject>;
916
1606
  "OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
917
1607
  OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
918
1608
  "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
919
1609
  Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
920
1610
  "PrimeRateUpdated(uint256,uint256)": TypedContractEvent<PrimeRateUpdatedEvent.InputTuple, PrimeRateUpdatedEvent.OutputTuple, PrimeRateUpdatedEvent.OutputObject>;
921
1611
  PrimeRateUpdated: TypedContractEvent<PrimeRateUpdatedEvent.InputTuple, PrimeRateUpdatedEvent.OutputTuple, PrimeRateUpdatedEvent.OutputObject>;
1612
+ "ProtocolFeeRateUpdated(uint256,uint256)": TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
1613
+ ProtocolFeeRateUpdated: TypedContractEvent<ProtocolFeeRateUpdatedEvent.InputTuple, ProtocolFeeRateUpdatedEvent.OutputTuple, ProtocolFeeRateUpdatedEvent.OutputObject>;
1614
+ "ProtocolFeesCollected(uint256,uint256)": TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
1615
+ ProtocolFeesCollected: TypedContractEvent<ProtocolFeesCollectedEvent.InputTuple, ProtocolFeesCollectedEvent.OutputTuple, ProtocolFeesCollectedEvent.OutputObject>;
1616
+ "ProtocolFeesWithdrawn(address,uint256)": TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
1617
+ ProtocolFeesWithdrawn: TypedContractEvent<ProtocolFeesWithdrawnEvent.InputTuple, ProtocolFeesWithdrawnEvent.OutputTuple, ProtocolFeesWithdrawnEvent.OutputObject>;
922
1618
  "Repay(address,address,uint256)": TypedContractEvent<RepayEvent.InputTuple, RepayEvent.OutputTuple, RepayEvent.OutputObject>;
923
1619
  Repay: TypedContractEvent<RepayEvent.InputTuple, RepayEvent.OutputTuple, RepayEvent.OutputObject>;
924
1620
  "ReserveInterestsUpdated(uint256,uint256)": TypedContractEvent<ReserveInterestsUpdatedEvent.InputTuple, ReserveInterestsUpdatedEvent.OutputTuple, ReserveInterestsUpdatedEvent.OutputObject>;
925
1621
  ReserveInterestsUpdated: TypedContractEvent<ReserveInterestsUpdatedEvent.InputTuple, ReserveInterestsUpdatedEvent.OutputTuple, ReserveInterestsUpdatedEvent.OutputObject>;
1622
+ "RewardClaimed(address,address,uint256)": TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
1623
+ RewardClaimed: TypedContractEvent<RewardClaimedEvent.InputTuple, RewardClaimedEvent.OutputTuple, RewardClaimedEvent.OutputObject>;
1624
+ "RewardDistributed(address,uint256)": TypedContractEvent<RewardDistributedEvent.InputTuple, RewardDistributedEvent.OutputTuple, RewardDistributedEvent.OutputObject>;
1625
+ RewardDistributed: TypedContractEvent<RewardDistributedEvent.InputTuple, RewardDistributedEvent.OutputTuple, RewardDistributedEvent.OutputObject>;
1626
+ "RewardParametersUpdated(address,uint256,uint256)": TypedContractEvent<RewardParametersUpdatedEvent.InputTuple, RewardParametersUpdatedEvent.OutputTuple, RewardParametersUpdatedEvent.OutputObject>;
1627
+ RewardParametersUpdated: TypedContractEvent<RewardParametersUpdatedEvent.InputTuple, RewardParametersUpdatedEvent.OutputTuple, RewardParametersUpdatedEvent.OutputObject>;
1628
+ "RewardTokenAdded(address,uint256,uint256)": TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
1629
+ RewardTokenAdded: TypedContractEvent<RewardTokenAddedEvent.InputTuple, RewardTokenAddedEvent.OutputTuple, RewardTokenAddedEvent.OutputObject>;
1630
+ "RewardTokensDeposited(address,uint256)": TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
1631
+ RewardTokensDeposited: TypedContractEvent<RewardTokensDepositedEvent.InputTuple, RewardTokensDepositedEvent.OutputTuple, RewardTokensDepositedEvent.OutputObject>;
926
1632
  "StabilityPoolUpdated(address,address)": TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
927
1633
  StabilityPoolUpdated: TypedContractEvent<StabilityPoolUpdatedEvent.InputTuple, StabilityPoolUpdatedEvent.OutputTuple, StabilityPoolUpdatedEvent.OutputObject>;
928
1634
  "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
929
1635
  Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1636
+ "VaultRewardsClaimed(uint256)": TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
1637
+ VaultRewardsClaimed: TypedContractEvent<VaultRewardsClaimedEvent.InputTuple, VaultRewardsClaimedEvent.OutputTuple, VaultRewardsClaimedEvent.OutputObject>;
1638
+ "VaultUpdated(address,address)": TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
1639
+ VaultUpdated: TypedContractEvent<VaultUpdatedEvent.InputTuple, VaultUpdatedEvent.OutputTuple, VaultUpdatedEvent.OutputObject>;
1640
+ "VaultWithdrawalFailed(address)": TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
1641
+ VaultWithdrawalFailed: TypedContractEvent<VaultWithdrawalFailedEvent.InputTuple, VaultWithdrawalFailedEvent.OutputTuple, VaultWithdrawalFailedEvent.OutputObject>;
930
1642
  "Withdraw(address,uint256)": TypedContractEvent<Withdraw_address_uint256_Event.InputTuple, Withdraw_address_uint256_Event.OutputTuple, Withdraw_address_uint256_Event.OutputObject>;
931
1643
  "Withdraw(address,uint256,uint256)": TypedContractEvent<Withdraw_address_uint256_uint256_Event.InputTuple, Withdraw_address_uint256_uint256_Event.OutputTuple, Withdraw_address_uint256_uint256_Event.OutputObject>;
932
1644
  "WithdrawalsPauseStatusChanged(bool)": TypedContractEvent<WithdrawalsPauseStatusChangedEvent.InputTuple, WithdrawalsPauseStatusChangedEvent.OutputTuple, WithdrawalsPauseStatusChangedEvent.OutputObject>;