@gearbox-protocol/sdk 17.0.0-next.4 → 17.1.0-next.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 (376) hide show
  1. package/dist/cjs/dev/abi.js +14 -15
  2. package/dist/cjs/dev/claimFromFaucet.js +4 -8
  3. package/dist/cjs/dev/createAnvilClient.js +35 -17
  4. package/dist/cjs/dev/index.js +7 -2
  5. package/dist/cjs/dev/kycUtils.js +66 -58
  6. package/dist/cjs/dev/midasUtils.js +113 -16
  7. package/dist/cjs/dev/securitizeUtils.js +82 -42
  8. package/dist/cjs/dev/withdrawalUtils.js +3 -6
  9. package/dist/cjs/model/errors/index.js +2 -0
  10. package/dist/cjs/model/errors/operation-errors.js +19 -1
  11. package/dist/cjs/model/index.js +4 -2
  12. package/dist/cjs/model/rwa.js +4 -4
  13. package/dist/cjs/model/rwa.schema.js +4 -4
  14. package/dist/cjs/offchain/opportunities/OffchainOpportunities.js +1 -1
  15. package/dist/cjs/onchain/OnchainSDK.js +3 -3
  16. package/dist/cjs/onchain/accounts/CreditAccountsServiceV310.js +2 -17
  17. package/dist/cjs/onchain/accounts/intents/borrow.js +140 -0
  18. package/dist/cjs/onchain/accounts/intents/collateral-valuation.js +41 -0
  19. package/dist/cjs/onchain/accounts/intents/guards.js +15 -3
  20. package/dist/cjs/onchain/accounts/intents/index.js +107 -20
  21. package/dist/cjs/onchain/accounts/intents/leverage-band.js +2 -12
  22. package/dist/cjs/onchain/accounts/intents/math.js +12 -3
  23. package/dist/cjs/onchain/accounts/intents/maxBorrow.js +89 -0
  24. package/dist/cjs/onchain/accounts/intents/maxWithdrawCollateral.js +15 -41
  25. package/dist/cjs/onchain/accounts/intents/open-strategy.js +8 -46
  26. package/dist/cjs/onchain/accounts/intents/operations.js +0 -1
  27. package/dist/cjs/onchain/accounts/intents/plan.js +1 -8
  28. package/dist/cjs/onchain/accounts/intents/realize.js +61 -4
  29. package/dist/cjs/onchain/accounts/intents/tail.js +1 -1
  30. package/dist/cjs/onchain/accounts/intents/testing/sdk-mock.js +1 -0
  31. package/dist/cjs/onchain/accounts/intents/utils/common.js +19 -0
  32. package/dist/cjs/onchain/accounts/intents/utils/credit-account-slice.js +21 -0
  33. package/dist/cjs/onchain/accounts/intents/utils/index.js +2 -0
  34. package/dist/cjs/onchain/accounts/intents/utils/price-impact.js +12 -9
  35. package/dist/cjs/onchain/accounts/intents/utils/router-path.js +4 -5
  36. package/dist/cjs/onchain/accounts/intents/withdraw-limits.js +97 -0
  37. package/dist/cjs/onchain/accounts/liquidations/LiquidationsService.js +1 -1
  38. package/dist/cjs/onchain/constants/address-provider.js +0 -2
  39. package/dist/cjs/onchain/constants/index.js +0 -1
  40. package/dist/cjs/onchain/core/createAddressProvider.js +2 -5
  41. package/dist/cjs/onchain/index.js +60 -43
  42. package/dist/cjs/onchain/market/adapters/abi/conctructorAbi.js +2 -2
  43. package/dist/cjs/onchain/market/adapters/contracts/AbstractAdapter.js +6 -0
  44. package/dist/cjs/onchain/market/adapters/contracts/MidasGatewayAdapterContract.js +49 -5
  45. package/dist/cjs/onchain/market/credit/CreditSuite.js +26 -9
  46. package/dist/cjs/onchain/market/index.js +50 -38
  47. package/dist/cjs/onchain/market/oracle/PriceOracleBaseContract.js +3 -3
  48. package/dist/cjs/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
  49. package/dist/cjs/onchain/market/pricefeeds/PriceFeedRegistry.js +127 -0
  50. package/dist/cjs/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
  51. package/dist/cjs/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
  52. package/dist/cjs/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
  53. package/dist/cjs/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
  54. package/dist/cjs/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
  55. package/dist/cjs/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
  56. package/dist/cjs/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
  57. package/dist/cjs/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
  58. package/dist/cjs/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
  59. package/dist/cjs/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
  60. package/dist/cjs/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
  61. package/dist/cjs/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
  62. package/dist/cjs/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
  63. package/dist/cjs/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
  64. package/dist/cjs/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
  65. package/dist/cjs/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
  66. package/dist/cjs/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
  67. package/dist/cjs/onchain/market/pricefeeds/feeds/index.js +35 -0
  68. package/dist/cjs/onchain/market/pricefeeds/index.js +51 -39
  69. package/dist/cjs/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +189 -0
  70. package/dist/cjs/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
  71. package/dist/cjs/onchain/market/pricefeeds/updates/index.js +8 -0
  72. package/dist/cjs/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
  73. package/dist/cjs/onchain/market/pricefeeds/updates/updatableDependencies.js +14 -0
  74. package/dist/cjs/onchain/market/rwa/RWARegistry.js +4 -7
  75. package/dist/cjs/onchain/market/rwa/index.js +1 -0
  76. package/dist/cjs/onchain/market/rwa/midas/MidasDegenNFT.js +45 -5
  77. package/dist/cjs/onchain/market/rwa/securitize/SecuritizeDegenNFT.js +56 -12
  78. package/dist/cjs/onchain/market/rwa/securitize/SecuritizeRWAFactory.js +0 -37
  79. package/dist/cjs/onchain/opportunities/MultichainOpportunitiesService.js +8 -2
  80. package/dist/cjs/onchain/opportunities/OpportunitiesService.js +16 -4
  81. package/dist/cjs/onchain/pools/PoolService.js +7 -8
  82. package/dist/cjs/onchain/positions/calcHealthFactor.js +3 -3
  83. package/dist/cjs/onchain/preview/index.js +2 -0
  84. package/dist/cjs/onchain/preview/parse/parseRWAFactoryOperationCalldata.js +2 -2
  85. package/dist/cjs/onchain/preview/preview/index.js +2 -0
  86. package/dist/cjs/onchain/preview/preview/midasGreenlistsAccount.js +17 -0
  87. package/dist/cjs/onchain/preview/preview/previewOpenStrategyPosition.js +13 -16
  88. package/dist/cjs/onchain/preview/preview/previewOperation.js +19 -11
  89. package/dist/cjs/onchain/preview/preview/replayMulticall.js +4 -3
  90. package/dist/cjs/onchain/validation/bundles/checkCollateralFunding.js +3 -3
  91. package/dist/cjs/onchain/validation/bundles/checkCreditOperation.js +11 -9
  92. package/dist/cjs/onchain/validation/bundles/{checkDraw.js → checkIncreaseDebt.js} +10 -10
  93. package/dist/cjs/onchain/validation/bundles/{checkQuotasAsked.js → checkIncreaseQuota.js} +3 -3
  94. package/dist/cjs/onchain/validation/bundles/checkMidasAccountGreenlist.js +44 -0
  95. package/dist/cjs/onchain/validation/bundles/checkPoolOperation.js +2 -8
  96. package/dist/cjs/onchain/validation/bundles/checkRWAOpenRequirements.js +9 -9
  97. package/dist/cjs/onchain/validation/bundles/checkRWAOpening.js +18 -8
  98. package/dist/cjs/onchain/validation/bundles/index.js +6 -4
  99. package/dist/cjs/onchain/validation/checkOperation.js +0 -1
  100. package/dist/cjs/onchain/validation/checks/checkBorrowLimit.js +1 -1
  101. package/dist/cjs/onchain/validation/checks/checkPoolLiquidity.js +2 -9
  102. package/dist/cjs/onchain/validation/checks/checkReservePriceLimited.js +30 -0
  103. package/dist/cjs/onchain/validation/checks/index.js +2 -0
  104. package/dist/cjs/onchain/validation/index.js +8 -4
  105. package/dist/cjs/permissionless/utils/price-update/get-price-update-tx.js +2 -2
  106. package/dist/cjs/permissionless/utils/price-update/get-updatable-feeds.js +2 -2
  107. package/dist/cjs/sdk/execute/ExecuteApi.js +67 -7
  108. package/dist/cjs/sdk/opportunities/OpportunitiesNamespace.js +9 -3
  109. package/dist/cjs/sdk/prepare/PrepareApi.js +89 -14
  110. package/dist/esm/dev/abi.js +14 -15
  111. package/dist/esm/dev/claimFromFaucet.js +4 -8
  112. package/dist/esm/dev/createAnvilClient.js +36 -19
  113. package/dist/esm/dev/index.js +4 -4
  114. package/dist/esm/dev/kycUtils.js +66 -59
  115. package/dist/esm/dev/midasUtils.js +112 -18
  116. package/dist/esm/dev/securitizeUtils.js +84 -44
  117. package/dist/esm/dev/withdrawalUtils.js +3 -6
  118. package/dist/esm/model/errors/index.js +2 -2
  119. package/dist/esm/model/errors/operation-errors.js +18 -2
  120. package/dist/esm/model/index.js +4 -4
  121. package/dist/esm/model/rwa.js +4 -4
  122. package/dist/esm/model/rwa.schema.js +5 -5
  123. package/dist/esm/offchain/opportunities/OffchainOpportunities.js +1 -1
  124. package/dist/esm/onchain/OnchainSDK.js +3 -3
  125. package/dist/esm/onchain/accounts/CreditAccountsServiceV310.js +2 -17
  126. package/dist/esm/onchain/accounts/intents/borrow.js +138 -0
  127. package/dist/esm/onchain/accounts/intents/collateral-valuation.js +40 -0
  128. package/dist/esm/onchain/accounts/intents/guards.js +15 -3
  129. package/dist/esm/onchain/accounts/intents/index.js +107 -20
  130. package/dist/esm/onchain/accounts/intents/leverage-band.js +2 -12
  131. package/dist/esm/onchain/accounts/intents/math.js +13 -5
  132. package/dist/esm/onchain/accounts/intents/maxBorrow.js +87 -0
  133. package/dist/esm/onchain/accounts/intents/maxWithdrawCollateral.js +15 -41
  134. package/dist/esm/onchain/accounts/intents/open-strategy.js +8 -46
  135. package/dist/esm/onchain/accounts/intents/operations.js +0 -1
  136. package/dist/esm/onchain/accounts/intents/plan.js +1 -8
  137. package/dist/esm/onchain/accounts/intents/realize.js +61 -4
  138. package/dist/esm/onchain/accounts/intents/tail.js +1 -1
  139. package/dist/esm/onchain/accounts/intents/testing/sdk-mock.js +1 -0
  140. package/dist/esm/onchain/accounts/intents/utils/common.js +19 -1
  141. package/dist/esm/onchain/accounts/intents/utils/credit-account-slice.js +21 -1
  142. package/dist/esm/onchain/accounts/intents/utils/index.js +3 -3
  143. package/dist/esm/onchain/accounts/intents/utils/price-impact.js +12 -9
  144. package/dist/esm/onchain/accounts/intents/utils/router-path.js +4 -5
  145. package/dist/esm/onchain/accounts/intents/withdraw-limits.js +95 -0
  146. package/dist/esm/onchain/accounts/liquidations/LiquidationsService.js +1 -1
  147. package/dist/esm/onchain/constants/address-provider.js +1 -2
  148. package/dist/esm/onchain/constants/index.js +2 -2
  149. package/dist/esm/onchain/core/createAddressProvider.js +2 -5
  150. package/dist/esm/onchain/index.js +32 -24
  151. package/dist/esm/onchain/market/adapters/abi/conctructorAbi.js +2 -2
  152. package/dist/esm/onchain/market/adapters/contracts/AbstractAdapter.js +6 -0
  153. package/dist/esm/onchain/market/adapters/contracts/MidasGatewayAdapterContract.js +50 -6
  154. package/dist/esm/onchain/market/credit/CreditSuite.js +26 -9
  155. package/dist/esm/onchain/market/index.js +26 -21
  156. package/dist/esm/onchain/market/oracle/PriceOracleBaseContract.js +1 -1
  157. package/dist/esm/onchain/market/pricefeeds/AbstractPriceFeed.js +0 -5
  158. package/dist/esm/onchain/market/pricefeeds/PriceFeedRegistry.js +126 -0
  159. package/dist/esm/onchain/market/pricefeeds/{BalancerStablePriceFeed.js → feeds/BalancerStablePriceFeed.js} +4 -4
  160. package/dist/esm/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.js → feeds/BalancerWeightedPriceFeed.js} +4 -4
  161. package/dist/esm/onchain/market/pricefeeds/{BoundedPriceFeed.js → feeds/BoundedPriceFeed.js} +4 -4
  162. package/dist/esm/onchain/market/pricefeeds/{CompositePriceFeed.js → feeds/CompositePriceFeed.js} +4 -4
  163. package/dist/esm/onchain/market/pricefeeds/{ConstantPriceFeed.js → feeds/ConstantPriceFeed.js} +3 -3
  164. package/dist/esm/onchain/market/pricefeeds/{CurveCryptoPriceFeed.js → feeds/CurveCryptoPriceFeed.js} +4 -4
  165. package/dist/esm/onchain/market/pricefeeds/{CurveStablePriceFeed.js → feeds/CurveStablePriceFeed.js} +4 -4
  166. package/dist/esm/onchain/market/pricefeeds/{CurveUSDPriceFeed.js → feeds/CurveUSDPriceFeed.js} +4 -4
  167. package/dist/esm/onchain/market/pricefeeds/{Erc4626PriceFeed.js → feeds/Erc4626PriceFeed.js} +4 -4
  168. package/dist/esm/onchain/market/pricefeeds/{ExternalPriceFeed.js → feeds/ExternalPriceFeed.js} +4 -4
  169. package/dist/esm/onchain/market/pricefeeds/{MellowLRTPriceFeed.js → feeds/MellowLRTPriceFeed.js} +4 -4
  170. package/dist/esm/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.js → feeds/PendleTWAPPTPriceFeed.js} +4 -4
  171. package/dist/esm/onchain/market/pricefeeds/{PythPriceFeed.js → feeds/PythPriceFeed.js} +3 -3
  172. package/dist/esm/onchain/market/pricefeeds/{RedstonePriceFeed.js → feeds/RedstonePriceFeed.js} +6 -6
  173. package/dist/esm/onchain/market/pricefeeds/{WstETHPriceFeed.js → feeds/WstETHPriceFeed.js} +4 -4
  174. package/dist/esm/onchain/market/pricefeeds/{YearnPriceFeed.js → feeds/YearnPriceFeed.js} +4 -4
  175. package/dist/esm/onchain/market/pricefeeds/{ZeroPriceFeed.js → feeds/ZeroPriceFeed.js} +4 -4
  176. package/dist/esm/onchain/market/pricefeeds/feeds/index.js +18 -0
  177. package/dist/esm/onchain/market/pricefeeds/index.js +27 -21
  178. package/dist/esm/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.js +188 -0
  179. package/dist/esm/onchain/market/pricefeeds/{getRawPriceUpdates.js → updates/getRawPriceUpdates.js} +2 -2
  180. package/dist/esm/onchain/market/pricefeeds/updates/index.js +5 -1
  181. package/dist/esm/onchain/market/pricefeeds/{isUpdatablePriceFeed.js → updates/isUpdatablePriceFeed.js} +1 -1
  182. package/dist/esm/onchain/market/pricefeeds/updates/updatableDependencies.js +13 -0
  183. package/dist/esm/onchain/market/rwa/RWARegistry.js +4 -8
  184. package/dist/esm/onchain/market/rwa/index.js +2 -2
  185. package/dist/esm/onchain/market/rwa/midas/MidasDegenNFT.js +45 -5
  186. package/dist/esm/onchain/market/rwa/securitize/SecuritizeDegenNFT.js +55 -10
  187. package/dist/esm/onchain/market/rwa/securitize/SecuritizeRWAFactory.js +0 -37
  188. package/dist/esm/onchain/opportunities/MultichainOpportunitiesService.js +8 -2
  189. package/dist/esm/onchain/opportunities/OpportunitiesService.js +16 -4
  190. package/dist/esm/onchain/pools/PoolService.js +7 -8
  191. package/dist/esm/onchain/positions/calcHealthFactor.js +3 -3
  192. package/dist/esm/onchain/preview/index.js +2 -1
  193. package/dist/esm/onchain/preview/parse/parseRWAFactoryOperationCalldata.js +2 -2
  194. package/dist/esm/onchain/preview/preview/index.js +2 -1
  195. package/dist/esm/onchain/preview/preview/midasGreenlistsAccount.js +16 -0
  196. package/dist/esm/onchain/preview/preview/previewOpenStrategyPosition.js +14 -17
  197. package/dist/esm/onchain/preview/preview/previewOperation.js +19 -11
  198. package/dist/esm/onchain/preview/preview/replayMulticall.js +4 -3
  199. package/dist/esm/onchain/validation/bundles/checkCollateralFunding.js +3 -3
  200. package/dist/esm/onchain/validation/bundles/checkCreditOperation.js +11 -9
  201. package/dist/esm/onchain/validation/bundles/checkIncreaseDebt.js +27 -0
  202. package/dist/esm/onchain/validation/bundles/{checkQuotasAsked.js → checkIncreaseQuota.js} +3 -3
  203. package/dist/esm/onchain/validation/bundles/checkMidasAccountGreenlist.js +43 -0
  204. package/dist/esm/onchain/validation/bundles/checkPoolOperation.js +2 -8
  205. package/dist/esm/onchain/validation/bundles/checkRWAOpenRequirements.js +9 -9
  206. package/dist/esm/onchain/validation/bundles/checkRWAOpening.js +18 -8
  207. package/dist/esm/onchain/validation/bundles/index.js +4 -3
  208. package/dist/esm/onchain/validation/checkOperation.js +0 -1
  209. package/dist/esm/onchain/validation/checks/checkBorrowLimit.js +1 -1
  210. package/dist/esm/onchain/validation/checks/checkPoolLiquidity.js +2 -9
  211. package/dist/esm/onchain/validation/checks/checkReservePriceLimited.js +29 -0
  212. package/dist/esm/onchain/validation/checks/index.js +2 -1
  213. package/dist/esm/onchain/validation/index.js +5 -3
  214. package/dist/esm/permissionless/utils/price-update/get-price-update-tx.js +1 -1
  215. package/dist/esm/permissionless/utils/price-update/get-updatable-feeds.js +1 -1
  216. package/dist/esm/sdk/execute/ExecuteApi.js +67 -7
  217. package/dist/esm/sdk/opportunities/OpportunitiesNamespace.js +9 -3
  218. package/dist/esm/sdk/prepare/PrepareApi.js +94 -19
  219. package/dist/types/dev/abi.d.ts +13 -15
  220. package/dist/types/dev/claimFromFaucet.d.ts +0 -1
  221. package/dist/types/dev/createAnvilClient.d.ts +10 -3
  222. package/dist/types/dev/index.d.ts +4 -4
  223. package/dist/types/dev/kycUtils.d.ts +15 -24
  224. package/dist/types/dev/midasUtils.d.ts +35 -4
  225. package/dist/types/dev/securitizeUtils.d.ts +3 -9
  226. package/dist/types/model/errors/index.d.ts +2 -2
  227. package/dist/types/model/errors/operation-errors.d.ts +62 -7
  228. package/dist/types/model/index.d.ts +5 -5
  229. package/dist/types/model/opportunities.d.ts +6 -7
  230. package/dist/types/model/previews.d.ts +25 -19
  231. package/dist/types/model/rwa.d.ts +47 -27
  232. package/dist/types/model/rwa.schema.d.ts +3 -3
  233. package/dist/types/offchain/opportunities/OffchainOpportunities.d.ts +1 -2
  234. package/dist/types/offchain/opportunities/types.d.ts +1 -4
  235. package/dist/types/onchain/OnchainSDK.d.ts +2 -2
  236. package/dist/types/onchain/accounts/index.d.ts +5 -4
  237. package/dist/types/onchain/accounts/intents/borrow.d.ts +141 -0
  238. package/dist/types/onchain/accounts/intents/collateral-valuation.d.ts +42 -0
  239. package/dist/types/onchain/accounts/intents/guards.d.ts +18 -2
  240. package/dist/types/onchain/accounts/intents/index.d.ts +103 -15
  241. package/dist/types/onchain/accounts/intents/math.d.ts +11 -3
  242. package/dist/types/onchain/accounts/intents/maxBorrow.d.ts +54 -0
  243. package/dist/types/onchain/accounts/intents/maxWithdrawCollateral.d.ts +3 -8
  244. package/dist/types/onchain/accounts/intents/open-strategy.d.ts +3 -17
  245. package/dist/types/onchain/accounts/intents/testing/sdk-mock.d.ts +2 -0
  246. package/dist/types/onchain/accounts/intents/tests/open-strategy.fixtures.d.ts +2 -2
  247. package/dist/types/onchain/accounts/intents/types.d.ts +51 -6
  248. package/dist/types/onchain/accounts/intents/utils/common.d.ts +15 -1
  249. package/dist/types/onchain/accounts/intents/utils/credit-account-slice.d.ts +14 -1
  250. package/dist/types/onchain/accounts/intents/utils/index.d.ts +3 -3
  251. package/dist/types/onchain/accounts/intents/utils/price-impact.d.ts +4 -1
  252. package/dist/types/onchain/accounts/intents/utils/router-path.d.ts +2 -5
  253. package/dist/types/onchain/accounts/intents/withdraw-limits.d.ts +80 -0
  254. package/dist/types/onchain/accounts/types.d.ts +4 -2
  255. package/dist/types/onchain/constants/address-provider.d.ts +1 -2
  256. package/dist/types/onchain/constants/index.d.ts +2 -2
  257. package/dist/types/onchain/index.d.ts +40 -31
  258. package/dist/types/onchain/market/adapters/contracts/AbstractAdapter.d.ts +6 -0
  259. package/dist/types/onchain/market/adapters/contracts/MidasGatewayAdapterContract.d.ts +20 -4
  260. package/dist/types/onchain/market/adapters/types.d.ts +8 -0
  261. package/dist/types/onchain/market/credit/CreditSuite.d.ts +13 -3
  262. package/dist/types/onchain/market/index.d.ts +29 -24
  263. package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.ts +2 -1
  264. package/dist/types/onchain/market/oracle/types.d.ts +2 -1
  265. package/dist/types/onchain/market/pool/types.d.ts +1 -1
  266. package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.ts +1 -2
  267. package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.ts +60 -0
  268. package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts +12 -0
  269. package/dist/types/onchain/market/pricefeeds/{BalancerWeightedPriceFeed.d.ts → feeds/BalancerWeightedPriceFeed.d.ts} +7 -7
  270. package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts +15 -0
  271. package/dist/types/onchain/market/pricefeeds/{CompositePriceFeed.d.ts → feeds/CompositePriceFeed.d.ts} +6 -6
  272. package/dist/types/onchain/market/pricefeeds/{ConstantPriceFeed.d.ts → feeds/ConstantPriceFeed.d.ts} +6 -6
  273. package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts +12 -0
  274. package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts +12 -0
  275. package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts +12 -0
  276. package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts +12 -0
  277. package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts +11 -0
  278. package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts +12 -0
  279. package/dist/types/onchain/market/pricefeeds/{PendleTWAPPTPriceFeed.d.ts → feeds/PendleTWAPPTPriceFeed.d.ts} +3 -3
  280. package/dist/types/onchain/market/pricefeeds/{PythPriceFeed.d.ts → feeds/PythPriceFeed.d.ts} +3 -3
  281. package/dist/types/onchain/market/pricefeeds/{RedstonePriceFeed.d.ts → feeds/RedstonePriceFeed.d.ts} +9 -9
  282. package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts +12 -0
  283. package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts +12 -0
  284. package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts +11 -0
  285. package/dist/types/onchain/market/pricefeeds/feeds/index.d.ts +18 -0
  286. package/dist/types/onchain/market/pricefeeds/index.d.ts +28 -22
  287. package/dist/types/onchain/market/pricefeeds/types.d.ts +1 -31
  288. package/dist/types/onchain/market/pricefeeds/updates/RedstoneUpdater.d.ts +1 -1
  289. package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.ts +106 -0
  290. package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.ts +6 -0
  291. package/dist/types/onchain/market/pricefeeds/updates/index.d.ts +7 -3
  292. package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.ts +6 -0
  293. package/dist/types/onchain/market/pricefeeds/updates/types.d.ts +56 -2
  294. package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.ts +10 -0
  295. package/dist/types/onchain/market/rwa/RWARegistry.d.ts +2 -1
  296. package/dist/types/onchain/market/rwa/index.d.ts +3 -3
  297. package/dist/types/onchain/market/rwa/midas/MidasDegenNFT.d.ts +19 -4
  298. package/dist/types/onchain/market/rwa/securitize/SecuritizeDegenNFT.d.ts +24 -4
  299. package/dist/types/onchain/market/rwa/securitize/SecuritizeRWAFactory.d.ts +2 -14
  300. package/dist/types/onchain/market/rwa/types.d.ts +39 -37
  301. package/dist/types/onchain/opportunities/MultichainOpportunitiesService.d.ts +5 -1
  302. package/dist/types/onchain/opportunities/OpportunitiesService.d.ts +10 -3
  303. package/dist/types/onchain/opportunities/types.d.ts +6 -1
  304. package/dist/types/onchain/pools/PoolService.d.ts +5 -0
  305. package/dist/types/onchain/pools/types.d.ts +9 -2
  306. package/dist/types/onchain/preview/index.d.ts +2 -1
  307. package/dist/types/onchain/preview/preview/index.d.ts +2 -1
  308. package/dist/types/onchain/preview/preview/midasGreenlistsAccount.d.ts +13 -0
  309. package/dist/types/onchain/preview/preview/previewOpenStrategyPosition.d.ts +5 -3
  310. package/dist/types/onchain/preview/preview/replayMulticall.d.ts +8 -7
  311. package/dist/types/onchain/validation/bundles/checkCreditOperation.d.ts +5 -4
  312. package/dist/types/onchain/validation/bundles/{checkDraw.d.ts → checkIncreaseDebt.d.ts} +7 -7
  313. package/dist/types/onchain/validation/bundles/{checkQuotasAsked.d.ts → checkIncreaseQuota.d.ts} +3 -3
  314. package/dist/types/onchain/validation/bundles/checkMidasAccountGreenlist.d.ts +22 -0
  315. package/dist/types/onchain/validation/bundles/checkPoolOperation.d.ts +1 -7
  316. package/dist/types/onchain/validation/bundles/checkRWAOpenRequirements.d.ts +2 -2
  317. package/dist/types/onchain/validation/bundles/checkRWAOpening.d.ts +9 -7
  318. package/dist/types/onchain/validation/bundles/index.d.ts +5 -4
  319. package/dist/types/onchain/validation/checks/checkBorrowLimit.d.ts +1 -1
  320. package/dist/types/onchain/validation/checks/checkDebtLimits.d.ts +2 -2
  321. package/dist/types/onchain/validation/checks/checkPoolLiquidity.d.ts +1 -8
  322. package/dist/types/onchain/validation/checks/checkReservePriceLimited.d.ts +31 -0
  323. package/dist/types/onchain/validation/checks/index.d.ts +2 -1
  324. package/dist/types/onchain/validation/index.d.ts +6 -4
  325. package/dist/types/onchain/validation/raise.d.ts +2 -2
  326. package/dist/types/sdk/execute/index.d.ts +2 -2
  327. package/dist/types/sdk/execute/types.d.ts +48 -6
  328. package/dist/types/sdk/index.d.ts +5 -4
  329. package/dist/types/sdk/opportunities/OpportunitiesNamespace.d.ts +5 -1
  330. package/dist/types/sdk/opportunities/types.d.ts +9 -3
  331. package/dist/types/sdk/prepare/PrepareApi.d.ts +16 -4
  332. package/dist/types/sdk/prepare/index.d.ts +4 -3
  333. package/dist/types/sdk/prepare/types.d.ts +200 -66
  334. package/package.json +1 -1
  335. package/dist/cjs/onchain/accounts/utils/midasUtils.js +0 -70
  336. package/dist/cjs/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -301
  337. package/dist/cjs/plugins/degen-distributors/DegenDistributorsPlugin.js +0 -61
  338. package/dist/cjs/plugins/degen-distributors/index.js +0 -4
  339. package/dist/cjs/plugins/degen-distributors/package.json +0 -1
  340. package/dist/cjs/plugins/degen-distributors/types.js +0 -1
  341. package/dist/cjs/plugins/delayed-withdrawal/DelayedWithdrawalPlugin.js +0 -114
  342. package/dist/cjs/plugins/delayed-withdrawal/index.js +0 -4
  343. package/dist/cjs/plugins/delayed-withdrawal/package.json +0 -1
  344. package/dist/cjs/plugins/delayed-withdrawal/types.js +0 -1
  345. package/dist/esm/onchain/accounts/utils/midasUtils.js +0 -69
  346. package/dist/esm/onchain/market/pricefeeds/PriceFeedsRegister.js +0 -300
  347. package/dist/esm/onchain/validation/bundles/checkDraw.js +0 -27
  348. package/dist/esm/plugins/degen-distributors/DegenDistributorsPlugin.js +0 -60
  349. package/dist/esm/plugins/degen-distributors/index.js +0 -3
  350. package/dist/esm/plugins/degen-distributors/package.json +0 -1
  351. package/dist/esm/plugins/degen-distributors/types.js +0 -1
  352. package/dist/esm/plugins/delayed-withdrawal/DelayedWithdrawalPlugin.js +0 -113
  353. package/dist/esm/plugins/delayed-withdrawal/index.js +0 -3
  354. package/dist/esm/plugins/delayed-withdrawal/package.json +0 -1
  355. package/dist/esm/plugins/delayed-withdrawal/types.js +0 -1
  356. package/dist/types/onchain/accounts/utils/midasUtils.d.ts +0 -38
  357. package/dist/types/onchain/market/pricefeeds/BalancerStablePriceFeed.d.ts +0 -12
  358. package/dist/types/onchain/market/pricefeeds/BoundedPriceFeed.d.ts +0 -15
  359. package/dist/types/onchain/market/pricefeeds/CurveCryptoPriceFeed.d.ts +0 -12
  360. package/dist/types/onchain/market/pricefeeds/CurveStablePriceFeed.d.ts +0 -12
  361. package/dist/types/onchain/market/pricefeeds/CurveUSDPriceFeed.d.ts +0 -12
  362. package/dist/types/onchain/market/pricefeeds/Erc4626PriceFeed.d.ts +0 -12
  363. package/dist/types/onchain/market/pricefeeds/ExternalPriceFeed.d.ts +0 -11
  364. package/dist/types/onchain/market/pricefeeds/MellowLRTPriceFeed.d.ts +0 -12
  365. package/dist/types/onchain/market/pricefeeds/PriceFeedsRegister.d.ts +0 -180
  366. package/dist/types/onchain/market/pricefeeds/WstETHPriceFeed.d.ts +0 -12
  367. package/dist/types/onchain/market/pricefeeds/YearnPriceFeed.d.ts +0 -12
  368. package/dist/types/onchain/market/pricefeeds/ZeroPriceFeed.d.ts +0 -11
  369. package/dist/types/onchain/market/pricefeeds/getRawPriceUpdates.d.ts +0 -5
  370. package/dist/types/onchain/market/pricefeeds/isUpdatablePriceFeed.d.ts +0 -5
  371. package/dist/types/plugins/degen-distributors/DegenDistributorsPlugin.d.ts +0 -25
  372. package/dist/types/plugins/degen-distributors/index.d.ts +0 -3
  373. package/dist/types/plugins/degen-distributors/types.d.ts +0 -8
  374. package/dist/types/plugins/delayed-withdrawal/DelayedWithdrawalPlugin.d.ts +0 -25
  375. package/dist/types/plugins/delayed-withdrawal/index.d.ts +0 -3
  376. package/dist/types/plugins/delayed-withdrawal/types.d.ts +0 -10
@@ -1,8 +1,10 @@
1
1
  import { AssetsMap } from "../../../utils/AssetsMap.js";
2
2
  import { DelayedWithdrawalClaim, DelayedWithdrawalRequest } from "../types.js";
3
3
  import { AbstractAdapterContract, ConcreteAdapterContractOptions } from "./AbstractAdapter.js";
4
+ import { MultiCall } from "../../../types/transactions.js";
4
5
  import { OnchainSDK } from "../../../OnchainSDK.js";
5
6
  import "../../../utils/index.js";
7
+ import "../../../types/index.js";
6
8
  import { Address, DecodeFunctionDataReturnType, Hex } from "viem";
7
9
  //#region src/onchain/market/adapters/contracts/MidasGatewayAdapterContract.d.ts
8
10
  declare const abi: readonly [{
@@ -625,6 +627,14 @@ declare class MidasGatewayAdapterContract extends AbstractAdapterContract<abi, p
625
627
  */
626
628
  get phantomToken(): Address;
627
629
  get referrerId(): string | undefined;
630
+ /**
631
+ * Gateway `mode` is immutable on-chain, so the first read is reused.
632
+ */
633
+ mode(): Promise<number>;
634
+ /**
635
+ * {@inheritDoc IAdapterContract.openingCalls}
636
+ */
637
+ openingCalls(): Promise<MultiCall[]>;
628
638
  stateHuman(raw?: boolean): {
629
639
  address: string;
630
640
  version: number;
@@ -650,10 +660,16 @@ declare class MidasGatewayAdapterContract extends AbstractAdapterContract<abi, p
650
660
  */
651
661
  parseDelayedWithdrawalClaim(calldata: Hex): DelayedWithdrawalClaim | undefined;
652
662
  /**
653
- * `receiveGreenlist()` is prepended by `prependMidasReceiveGreenlist`
654
- * before the balance bracket when the multicall mints a permissioned
655
- * mToken: it only greenlists the credit account and is balance-neutral,
656
- * so it is legal outside a bracket and leaves balances untouched.
663
+ * Whether `calldata` is `receiveGreenlist()`, the call that grants the
664
+ * Midas greenlisted role to the credit account.
665
+ */
666
+ isReceiveGreenlist(calldata: Hex): boolean;
667
+ /**
668
+ * `receiveGreenlist()` is prepended by {@link openingCalls} before the
669
+ * balance bracket when a permissioned mToken is minted: it only grants
670
+ * the Midas greenlisted role to the credit account and is
671
+ * balance-neutral, so it is legal outside a bracket and leaves balances
672
+ * untouched.
657
673
  */
658
674
  replayOutOfBracketCall(_balances: AssetsMap, calldata: Hex): boolean;
659
675
  protected applyBalanceChanges(balances: AssetsMap, decoded: DecodeFunctionDataReturnType<abi>): void;
@@ -1,10 +1,18 @@
1
1
  import { IBaseContract } from "../../base/types.js";
2
2
  import { BaseContractStateHuman } from "../../types/state-human.js";
3
+ import { MultiCall } from "../../types/transactions.js";
4
+ import "../../types/index.js";
3
5
  import "../../base/index.js";
4
6
  import { AbiParameter, Address, Hex } from "viem";
5
7
  //#region src/onchain/market/adapters/types.d.ts
6
8
  interface IAdapterContract extends IBaseContract {
7
9
  targetContract: Address;
10
+ /**
11
+ * Multicall entries a freshly opened credit account on this adapter's
12
+ * credit manager must run first. Decided from adapter state alone, not
13
+ * from the rest of the multicall.
14
+ */
15
+ openingCalls(): Promise<MultiCall[]>;
8
16
  }
9
17
  type VersionedAbi = Record<number, readonly AbiParameter[]>;
10
18
  type AdapterContractType = "ADAPTER::ACCOUNT_MIGRATOR" | "ADAPTER::BALANCER_V3_ROUTER" | "ADAPTER::BALANCER_V3_WRAPPER" | "ADAPTER::CAMELOT_V3_ROUTER" | "ADAPTER::CURVE_STABLE_NG" | "ADAPTER::CURVE_V1_2ASSETS" | "ADAPTER::CURVE_V1_3ASSETS" | "ADAPTER::CURVE_V1_4ASSETS" | "ADAPTER::CURVE_V1_STECRV_POOL" | "ADAPTER::CVX_V1_BASE_REWARD_POOL" | "ADAPTER::CVX_V1_BOOSTER" | "ADAPTER::DAI_USDS_EXCHANGE" | "ADAPTER::ERC4626_VAULT" | "ADAPTER::ERC4626_VAULT_REFERRAL" | "ADAPTER::FLUID_DEX" | "ADAPTER::INFINIFI_GATEWAY" | "ADAPTER::INFINIFI_UNWINDING" | "ADAPTER::KELP_DEPOSIT_POOL" | "ADAPTER::KELP_WITHDRAWAL" | "ADAPTER::LIDO_V1" | "ADAPTER::LIDO_WSTETH_V1" | "ADAPTER::MELLOW_CLAIMER" | "ADAPTER::MELLOW_DVV" | "ADAPTER::MELLOW_ERC4626_VAULT" | "ADAPTER::MELLOW_WRAPPER" | "ADAPTER::MIDAS_GATEWAY" | "ADAPTER::MIDAS_ISSUANCE_VAULT" | "ADAPTER::MIDAS_REDEMPTION_VAULT" | "ADAPTER::PENDLE_ROUTER" | "ADAPTER::SECURITIZE_ONRAMP" | "ADAPTER::SECURITIZE_REDEMPTION" | "ADAPTER::STAKING_REWARDS" | "ADAPTER::TRADERJOE_ROUTER" | "ADAPTER::UNISWAP_V2_ROUTER" | "ADAPTER::UNISWAP_V3_ROUTER" | "ADAPTER::UNISWAP_V4_GATEWAY" | "ADAPTER::UPSHIFT_VAULT" | "ADAPTER::VELODROME_V2_ROUTER";
@@ -100,10 +100,15 @@ declare class CreditSuite extends SDKConstruct {
100
100
  */
101
101
  degenNFT(): Promise<IDegenNFT | undefined>;
102
102
  /**
103
- * What `wallet` still has to do before the facade lets it open an account;
104
- * `null` when nothing (no degen NFT, not a KYC gate, or already eligible).
103
+ * The KYC gate of this suite's strategy; `null` when there is none.
104
+ * Wallet-independent.
105
105
  */
106
- kycRequirement(wallet: Address, targetCollateral: Address): Promise<KycRequirement | null>;
106
+ kycRequirement(targetCollateral: Address): Promise<KycRequirement | null>;
107
+ /**
108
+ * Whether `wallet` may open this suite's strategy today; `true` when there
109
+ * is no KYC gate.
110
+ */
111
+ isEligibleForStrategy(wallet: Address, targetCollateral: Address): Promise<boolean>;
107
112
  /**
108
113
  * Builds a transaction that executes a multicall on one of this suite's
109
114
  * credit accounts.
@@ -122,6 +127,11 @@ declare class CreditSuite extends SDKConstruct {
122
127
  * @param rwaOptions - Factory-specific args, ignored on non-RWA markets.
123
128
  */
124
129
  openCreditAccountTx(to: Address, calls: MultiCall[], referralCode?: bigint, rwaOptions?: RWAOperationArgs): RawTx;
130
+ /**
131
+ * Calls to run first in the multicall of a freshly opened account on this
132
+ * suite; use before {@link openCreditAccountTx}.
133
+ */
134
+ openingCalls(): Promise<MultiCall[]>;
125
135
  /**
126
136
  * Router configured for this credit suite.
127
137
  */
@@ -4,10 +4,10 @@ import { DStokenData, SecuritizeCreditAccountData, SecuritizeInvestorData, Secur
4
4
  import { SecuritizeRWAFactory } from "./rwa/securitize/SecuritizeRWAFactory.js";
5
5
  import { SecuritizeDegenNFT } from "./rwa/securitize/SecuritizeDegenNFT.js";
6
6
  import { SecuritizeLiquidatorContract } from "./rwa/securitize/SecuritizeLiquidatorContract.js";
7
- import { GetInvestorOptions, GetOpenAccountRequirementsProps, IDegenNFT, IRWAFactory, KycCheckResult, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAInvestorData, RWAState, RWAStateHuman, RWAUnderlyingData, isRWAFactory } from "./rwa/types.js";
7
+ import { GetInvestorOptions, GetOpenAccountRequirementsProps, IDegenNFT, IRWAFactory, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryProtocol, RWAFactoryStateHuman, RWAInvestorData, RWAState, RWAStateHuman, RWAUnderlyingData, isRWAFactory } from "./rwa/types.js";
8
8
  import { MidasDegenNFT } from "./rwa/midas/MidasDegenNFT.js";
9
9
  import { MidasLiquidatorContract } from "./rwa/midas/MidasLiquidatorContract.js";
10
- import { RWARegistry } from "./rwa/RWARegistry.js";
10
+ import { RWARegistry, RWA_COMPRESSOR_ADDRESS } from "./rwa/RWARegistry.js";
11
11
  import "./rwa/index.js";
12
12
  import { AdapterContractStateHuman, AdapterContractType, AdapterProtocolOperation, AdapterType, DelayedWithdrawalClaim, DelayedWithdrawalRequest, IAdapterContract, VersionedAbi } from "./adapters/types.js";
13
13
  import { adapterActionAbi, adapterActionSelectors, adapterActionSignatures } from "./adapters/abi/actionAbi.js";
@@ -97,31 +97,36 @@ import { AdapterFactoryArgs, createAdapter } from "./adapters/createAdapter.js";
97
97
  import { TokenTransfer } from "./adapters/transfers.js";
98
98
  import { allTransfersAsTokenAmounts, classifyCurveOperation, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, fnSigToName, parsePosNegAmount, rewardsFromTransfers, swapFromTransfers, toNetTransfers } from "./adapters/transferHelpers.js";
99
99
  import "./adapters/index.js";
100
- import { IPriceFeedContract, IUpdatablePriceFeedContract, PriceFeedContractType, PriceFeedUsageType, PriceUpdate, UpdatePriceFeedsResult } from "./pricefeeds/types.js";
100
+ import { IPriceFeedContract, PriceFeedContractType, PriceFeedUsageType, PriceUpdate } from "./pricefeeds/types.js";
101
101
  import { PriceFeedRef } from "./pricefeeds/PriceFeedRef.js";
102
102
  import { AbstractPriceFeedContract, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PriceFeedConstructorArgs } from "./pricefeeds/AbstractPriceFeed.js";
103
103
  import { AbstractLPPriceFeedContract, isLPPriceFeed } from "./pricefeeds/AbstractLPPriceFeed.js";
104
- import { BalancerStablePriceFeedContract } from "./pricefeeds/BalancerStablePriceFeed.js";
105
- import { BalancerWeightedPriceFeedContract } from "./pricefeeds/BalancerWeightedPriceFeed.js";
106
- import { BoundedPriceFeedContract } from "./pricefeeds/BoundedPriceFeed.js";
107
- import { CompositePriceFeedContract } from "./pricefeeds/CompositePriceFeed.js";
108
- import { CurveCryptoPriceFeedContract } from "./pricefeeds/CurveCryptoPriceFeed.js";
109
- import { CurveStablePriceFeedContract } from "./pricefeeds/CurveStablePriceFeed.js";
110
- import { CurveUSDPriceFeedContract } from "./pricefeeds/CurveUSDPriceFeed.js";
111
- import { Erc4626PriceFeedContract } from "./pricefeeds/Erc4626PriceFeed.js";
112
- import { ExternalPriceFeedContract } from "./pricefeeds/ExternalPriceFeed.js";
113
- import { getRawPriceUpdates } from "./pricefeeds/getRawPriceUpdates.js";
114
- import { isUpdatablePriceFeed } from "./pricefeeds/isUpdatablePriceFeed.js";
115
- import { MellowLRTPriceFeedContract } from "./pricefeeds/MellowLRTPriceFeed.js";
116
- import { PendleTWAPPTPriceFeed } from "./pricefeeds/PendleTWAPPTPriceFeed.js";
117
- import { TimestampedCalldata } from "./pricefeeds/updates/types.js";
104
+ import { BalancerStablePriceFeedContract } from "./pricefeeds/feeds/BalancerStablePriceFeed.js";
105
+ import { BalancerWeightedPriceFeedContract } from "./pricefeeds/feeds/BalancerWeightedPriceFeed.js";
106
+ import { BoundedPriceFeedContract } from "./pricefeeds/feeds/BoundedPriceFeed.js";
107
+ import { CompositePriceFeedContract } from "./pricefeeds/feeds/CompositePriceFeed.js";
108
+ import { ConstantPriceFeedContract } from "./pricefeeds/feeds/ConstantPriceFeed.js";
109
+ import { CurveCryptoPriceFeedContract } from "./pricefeeds/feeds/CurveCryptoPriceFeed.js";
110
+ import { CurveStablePriceFeedContract } from "./pricefeeds/feeds/CurveStablePriceFeed.js";
111
+ import { CurveUSDPriceFeedContract } from "./pricefeeds/feeds/CurveUSDPriceFeed.js";
112
+ import { Erc4626PriceFeedContract } from "./pricefeeds/feeds/Erc4626PriceFeed.js";
113
+ import { ExternalPriceFeedContract } from "./pricefeeds/feeds/ExternalPriceFeed.js";
114
+ import { MellowLRTPriceFeedContract } from "./pricefeeds/feeds/MellowLRTPriceFeed.js";
115
+ import { PendleTWAPPTPriceFeed } from "./pricefeeds/feeds/PendleTWAPPTPriceFeed.js";
116
+ import { PythPriceFeed } from "./pricefeeds/feeds/PythPriceFeed.js";
117
+ import { PriceUpdatesCache } from "./pricefeeds/updates/PriceUpdatesCache.js";
118
+ import { RedstoneOptions, RedstoneUpdater } from "./pricefeeds/updates/RedstoneUpdater.js";
119
+ import { IPriceUpdateTask, IPriceUpdater, IUpdatablePriceFeedContract, LatestUpdate, TimestampedCalldata, TimestampedCalldataWithPrice, UpdatablePriceFeedRegistryHooks, UpdatablePriceFeedRegistryOptions, UpdatePriceFeedsResult } from "./pricefeeds/updates/types.js";
120
+ import { RedstonePriceFeedContract } from "./pricefeeds/feeds/RedstonePriceFeed.js";
121
+ import { WstETHPriceFeedContract } from "./pricefeeds/feeds/WstETHPriceFeed.js";
122
+ import { YearnPriceFeedContract } from "./pricefeeds/feeds/YearnPriceFeed.js";
123
+ import { ZeroPriceFeedContract } from "./pricefeeds/feeds/ZeroPriceFeed.js";
124
+ import { PriceFeedRegistry } from "./pricefeeds/PriceFeedRegistry.js";
118
125
  import { FetchRedstonePayloadsOptions, fetchRedstonePayloads } from "./pricefeeds/updates/fetchRedstonePayloads.js";
119
- import { LatestUpdate, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions } from "./pricefeeds/PriceFeedsRegister.js";
120
- import { PythPriceFeed } from "./pricefeeds/PythPriceFeed.js";
121
- import { RedstonePriceFeedContract } from "./pricefeeds/RedstonePriceFeed.js";
122
- import { WstETHPriceFeedContract } from "./pricefeeds/WstETHPriceFeed.js";
123
- import { YearnPriceFeedContract } from "./pricefeeds/YearnPriceFeed.js";
124
- import { ZeroPriceFeedContract } from "./pricefeeds/ZeroPriceFeed.js";
126
+ import { getRawPriceUpdates } from "./pricefeeds/updates/getRawPriceUpdates.js";
127
+ import { isUpdatablePriceFeed } from "./pricefeeds/updates/isUpdatablePriceFeed.js";
128
+ import { UpdatablePriceFeedRegistry } from "./pricefeeds/updates/UpdatablePriceFeedRegistry.js";
129
+ import { updatableDependencies } from "./pricefeeds/updates/updatableDependencies.js";
125
130
  import "./pricefeeds/index.js";
126
131
  import { BalanceDelta, CreditAccountTokenQuota, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, LiquidationFees, MaxBorrowAmount, PartialLiquidationParams, PrepareUpdateQuotasProps, QuotaSlice } from "./credit/types.js";
127
132
  import { CreditConfiguratorV310Contract, RampEvent } from "./credit/CreditConfiguratorV310Contract.js";
@@ -154,4 +159,4 @@ import "./zapper/index.js";
154
159
  import { MarketRegister, MarketRegistryState, MarketRegistryStateHuman } from "./MarketRegister.js";
155
160
  import { DEFAULT_QUOTA_BUFFER_BPS, MAX_LEVERAGE_BUFFER_BPS, OptimalRepaidAmountProps, PARTIAL_LIQUIDATION_BUFFER_BPS, QuotaMode, StrategyRateInputs, bpsToRay, calcBorrowApy, calcEffectiveBorrowApy, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcUtilization, calcUtilizationRaw, healthFactorBps, minSeizedAmount, optimalHFForPartialLiquidation, optimalRepaidAmount, rayToBps, usdToNumber } from "./math.js";
156
161
  import { strategyName } from "./strategyName.js";
157
- export { AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AccountMigratorAdapterContract, AdapterContractStateHuman, AdapterContractType, AdapterFactoryArgs, AdapterProtocolOperation, AdapterType, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BasicSwapCall, BoundedPriceFeedContract, CamelotPool, CamelotV3AdapterContract, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, CreditAccountTokenQuota, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DStokenData, DaiUsdsAdapterContract, DelayedWithdrawalClaim, DelayedWithdrawalRequest, ERC4626AdapterContract, ERC4626ReferralAdapterContract, Erc4626PriceFeedContract, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract, type FetchRedstonePayloadsOptions, FluidDexAdapterContract, GaugeContract, GaugeParams, GetInvestorOptions, GetOpenAccountRequirementsProps, GetReward, IAdapterContract, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IDegenNFT, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, IPoolContract, IPriceFeedContract, IPriceOracleContract, IRWAFactory, IRateKeeperContract, IUpdatablePriceFeedContract, IZapperContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, InterestRateModelType, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, KycCheckResult, LatestUpdate, LegacyAdapterOperation, LidoSubmit, LidoV1AdapterContract, LinearInterestRateModelContract, LiquidationFees, MAX_LEVERAGE_BUFFER_BPS, MakerDeposit, MakerRedeem, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketSuite, MaxBorrowAmount, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, OptimalRepaidAmountProps, PARTIAL_LIQUIDATION_BUFFER_BPS, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialLiquidationParams, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PoolQuotaKeeperContract, PoolSuite, PoolV310Contract, PrepareUpdateQuotasProps, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegister, PriceFeedRegisterHooks, PriceFeedRegisterOptions, PriceFeedUsageType, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions, PriceOracleV310Contract, PriceUpdate, PythPriceFeed, QuotaMode, QuotaSlice, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryStateHuman, RWAInvestorData, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RampEvent, RateKeeperType, RedstonePriceFeedContract, SecuritizeCreditAccountData, SecuritizeDegenNFT, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRedemptionGatewayAdapterContract, StakingRewardsAdapterContract, StrategyCollateralProps, StrategyRateInputs, Swap, type TimestampedCalldata, TokenAmount, TokenTransfer, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, Transfers, UniswapSwap, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatePriceFeedsResult, UpshiftVaultAdapterContract, VaultDeposit, VelodromeV2RouterAdapterContract, VersionedAbi, WithdrawCollateral, WstETHPriceFeedContract, WstETHUnwrap, WstETHV1AdapterContract, WstETHWrap, YearnPriceFeedContract, ZapperContract, ZapperData, ZeroPriceFeedContract, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, bpsToRay, calcBorrowApy, calcEffectiveBorrowApy, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcUtilization, calcUtilizationRaw, classifyCurveOperation, collateralPriceInUnderlying, createAdapter, createPriceOracle, createZapper, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, dominantCollateral, erc4626ReferralAdapterAbi, expectedBalanceDeltas, fetchRedstonePayloads, fnSigToName, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getRawPriceUpdates, hasAdapterDeployParamsAbi, healthFactorBps, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isLPPriceFeed, isRWAFactory, isStrategyCollateral, isUpdatablePriceFeed, iwstETHAbi, iwstEthv1AdapterAbi, lidoV1_WETHGatewayAbi, mellowDvvAdapterAbi, minSeizedAmount, optimalHFForPartialLiquidation, optimalRepaidAmount, parseAdapterAction, parseAdapterDeployParams, parsePosNegAmount, pickStrategyTargetCollateral, rayToBps, rewardsFromTransfers, strategyName, swapFromTransfers, toNetTransfers, usdToNumber };
162
+ export { AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AccountMigratorAdapterContract, AdapterContractStateHuman, AdapterContractType, AdapterFactoryArgs, AdapterProtocolOperation, AdapterType, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, BasicSwapCall, BoundedPriceFeedContract, CamelotPool, CamelotV3AdapterContract, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConstantPriceFeedContract, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, CreditAccountTokenQuota, CreditConfiguratorV310Contract, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerV310Contract, CreditSuite, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DStokenData, DaiUsdsAdapterContract, DelayedWithdrawalClaim, DelayedWithdrawalRequest, ERC4626AdapterContract, ERC4626ReferralAdapterContract, Erc4626PriceFeedContract, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract, FetchRedstonePayloadsOptions, FluidDexAdapterContract, GaugeContract, GaugeParams, GetInvestorOptions, GetOpenAccountRequirementsProps, GetReward, IAdapterContract, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IDegenNFT, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, IPoolContract, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTask, type IPriceUpdater, IRWAFactory, IRateKeeperContract, type IUpdatablePriceFeedContract, IZapperContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, InterestRateModelType, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, type LatestUpdate, LegacyAdapterOperation, LidoSubmit, LidoV1AdapterContract, LinearInterestRateModelContract, LiquidationFees, MAX_LEVERAGE_BUFFER_BPS, MakerDeposit, MakerRedeem, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketSuite, MaxBorrowAmount, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, OptimalRepaidAmountProps, PARTIAL_LIQUIDATION_BUFFER_BPS, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialLiquidationParams, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PoolQuotaKeeperContract, PoolSuite, PoolV310Contract, PrepareUpdateQuotasProps, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedRef, PriceFeedRegistry, PriceFeedUsageType, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions, PriceOracleV310Contract, PriceUpdate, PriceUpdatesCache, PythPriceFeed, QuotaMode, QuotaSlice, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWAFactoryData, RWAFactoryProtocol, RWAFactoryStateHuman, RWAInvestorData, RWARegistry, RWAState, RWAStateHuman, RWAUnderlyingData, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RampEvent, RateKeeperType, RedstoneOptions, RedstonePriceFeedContract, RedstoneUpdater, SecuritizeCreditAccountData, SecuritizeDegenNFT, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRedemptionGatewayAdapterContract, StakingRewardsAdapterContract, StrategyCollateralProps, StrategyRateInputs, Swap, type TimestampedCalldata, type TimestampedCalldataWithPrice, TokenAmount, TokenTransfer, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, Transfers, UniswapSwap, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, type UpdatablePriceFeedRegistryHooks, type UpdatablePriceFeedRegistryOptions, type UpdatePriceFeedsResult, UpshiftVaultAdapterContract, VaultDeposit, VelodromeV2RouterAdapterContract, VersionedAbi, WithdrawCollateral, WstETHPriceFeedContract, WstETHUnwrap, WstETHV1AdapterContract, WstETHWrap, YearnPriceFeedContract, ZapperContract, ZapperData, ZeroPriceFeedContract, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, bpsToRay, calcBorrowApy, calcEffectiveBorrowApy, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcUtilization, calcUtilizationRaw, classifyCurveOperation, collateralPriceInUnderlying, createAdapter, createPriceOracle, createZapper, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, dominantCollateral, erc4626ReferralAdapterAbi, expectedBalanceDeltas, fetchRedstonePayloads, fnSigToName, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getRawPriceUpdates, hasAdapterDeployParamsAbi, healthFactorBps, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isLPPriceFeed, isRWAFactory, isStrategyCollateral, isUpdatablePriceFeed, iwstETHAbi, iwstEthv1AdapterAbi, lidoV1_WETHGatewayAbi, mellowDvvAdapterAbi, minSeizedAmount, optimalHFForPartialLiquidation, optimalRepaidAmount, parseAdapterAction, parseAdapterDeployParams, parsePosNegAmount, pickStrategyTargetCollateral, rayToBps, rewardsFromTransfers, strategyName, swapFromTransfers, toNetTransfers, updatableDependencies, usdToNumber };
@@ -8,8 +8,9 @@ import { DelegatedMulticall } from "../../utils/viem/executeDelegatedMulticalls.
8
8
  import "../../utils/viem/index.js";
9
9
  import { Asset, CreditAccountTokensSlice, PriceOracleData } from "../../base/types.js";
10
10
  import { PriceOracleStateHuman } from "../../types/state-human.js";
11
- import { IPriceFeedContract, PriceUpdate, UpdatePriceFeedsResult } from "../pricefeeds/types.js";
11
+ import { IPriceFeedContract, PriceUpdate } from "../pricefeeds/types.js";
12
12
  import { PriceFeedRef } from "../pricefeeds/PriceFeedRef.js";
13
+ import { UpdatePriceFeedsResult } from "../pricefeeds/updates/types.js";
13
14
  import "../pricefeeds/index.js";
14
15
  import PriceFeedAnswerMap from "./PriceFeedAnswerMap.js";
15
16
  import { IPriceOracleContract, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions } from "./types.js";
@@ -8,8 +8,9 @@ import { DelegatedMulticall } from "../../utils/viem/executeDelegatedMulticalls.
8
8
  import "../../utils/viem/index.js";
9
9
  import { Asset, CreditAccountTokensSlice, IBaseContract } from "../../base/types.js";
10
10
  import { PriceOracleStateHuman } from "../../types/state-human.js";
11
- import { IPriceFeedContract, PriceUpdate, UpdatePriceFeedsResult } from "../pricefeeds/types.js";
11
+ import { IPriceFeedContract, PriceUpdate } from "../pricefeeds/types.js";
12
12
  import { PriceFeedRef } from "../pricefeeds/PriceFeedRef.js";
13
+ import { UpdatePriceFeedsResult } from "../pricefeeds/updates/types.js";
13
14
  import "../pricefeeds/index.js";
14
15
  import PriceFeedAnswerMap from "./PriceFeedAnswerMap.js";
15
16
  import "../../utils/index.js";
@@ -121,7 +121,7 @@ interface IPoolContract extends IBaseContract {
121
121
  */
122
122
  readonly rwaFactory: IRWAFactory | undefined;
123
123
  /**
124
- * Liquidity currently drawn by credit managers, i.e. the part of the
124
+ * Liquidity currently borrowed by credit managers, i.e. the part of the
125
125
  * expected liquidity that is not sitting in the pool. Never negative.
126
126
  */
127
127
  readonly borrowed: bigint;
@@ -2,7 +2,7 @@ import { PriceFeedData } from "../../../model/opportunities.js";
2
2
  import "../../../model/index.js";
3
3
  import { PriceFeedAnswer, PriceFeedTreeNode } from "../../base/types.js";
4
4
  import { PriceFeedStateHuman } from "../../types/state-human.js";
5
- import { IPriceFeedContract, IUpdatablePriceFeedContract, PriceFeedContractType } from "./types.js";
5
+ import { IPriceFeedContract, PriceFeedContractType } from "./types.js";
6
6
  import { PriceFeedRef } from "./PriceFeedRef.js";
7
7
  import { ConstructOptions } from "../../base/Construct.js";
8
8
  import "../../types/index.js";
@@ -36,7 +36,6 @@ declare abstract class AbstractPriceFeedContract<const abi extends Abi | readonl
36
36
  updateAnswer(answer: PriceFeedAnswer): void;
37
37
  get priceFeedType(): PriceFeedContractType;
38
38
  stateHuman(raw?: boolean): UnionOmit<PriceFeedStateHuman, "stalenessPeriod">;
39
- updatableDependencies(): IUpdatablePriceFeedContract[];
40
39
  /**
41
40
  * {@inheritDoc IPriceFeedContract.describe}
42
41
  */
@@ -0,0 +1,60 @@
1
+ import { PriceFeedTreeNode } from "../../base/types.js";
2
+ import { IPriceFeedContract } from "./types.js";
3
+ import { PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
4
+ import { SDKConstruct } from "../../base/SDKConstruct.js";
5
+ import "../../base/index.js";
6
+ import { Address } from "viem";
7
+ //#region src/onchain/market/pricefeeds/PriceFeedRegistry.d.ts
8
+ /**
9
+ * Chain-level cache of price feed contract instances.
10
+ *
11
+ * All {@link IPriceOracleContract}s across different markets share a single
12
+ * `PriceFeedRegistry`, avoiding duplicate contract wrappers for the same
13
+ * on-chain feed.
14
+ **/
15
+ declare class PriceFeedRegistry extends SDKConstruct {
16
+ #private;
17
+ /**
18
+ * Returns all price feeds known to sdk
19
+ */
20
+ get feeds(): readonly IPriceFeedContract[];
21
+ /**
22
+ * Checks whether a price feed is already registered at the given address.
23
+ * @param address - On-chain address to look up.
24
+ **/
25
+ has(address: Address): boolean;
26
+ /**
27
+ * Returns the cached price feed contract at the given address, if any.
28
+ * @param address - On-chain address to look up.
29
+ **/
30
+ get(address: Address): IPriceFeedContract | undefined;
31
+ /**
32
+ * Returns the cached price feed contract at the given address.
33
+ * @param address - On-chain address to look up.
34
+ * @throws If no feed is registered at that address.
35
+ **/
36
+ mustGet(address: Address): IPriceFeedContract;
37
+ /**
38
+ * Inserts or updates a price feed from a full tree node.
39
+ *
40
+ * If a fully loaded feed already exists at the same address, only the
41
+ * answer is refreshed. Otherwise a new contract wrapper is created and
42
+ * cached.
43
+ *
44
+ * @param data - Full price feed tree node from the compressor.
45
+ * @returns The cached (or newly created) feed instance.
46
+ * @throws If the created feed is only partially initialized.
47
+ **/
48
+ upsert(data: PriceFeedTreeNode): IPriceFeedContract;
49
+ /**
50
+ * Instantiates the appropriate price feed contract wrapper based on
51
+ * the `contractType` discriminator in the node's base params.
52
+ *
53
+ * @param data - Partial or full price feed tree node.
54
+ * @returns A new (uncached) feed contract instance.
55
+ * @throws If the contract type is unsupported and strict mode is enabled.
56
+ **/
57
+ create(data: PartialPriceFeedTreeNode): IPriceFeedContract;
58
+ }
59
+ //#endregion
60
+ export { PriceFeedRegistry };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { bptStablePriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts
7
+ type abi = typeof bptStablePriceFeedAbi;
8
+ declare class BalancerStablePriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { BalancerStablePriceFeedContract };
@@ -1,11 +1,11 @@
1
- import { BalancerWeightedPriceFeedStateHuman } from "../../types/state-human.js";
2
- import { PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
3
- import { AbstractLPPriceFeedContract } from "./AbstractLPPriceFeed.js";
4
- import { bptWeightedPriceFeedAbi } from "../../abi/oracles.js";
5
- import "../../abi/index.js";
6
- import { ConstructOptions } from "../../base/Construct.js";
1
+ import { BalancerWeightedPriceFeedStateHuman } from "../../../types/state-human.js";
2
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
3
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
4
+ import { bptWeightedPriceFeedAbi } from "../../../abi/oracles.js";
5
+ import "../../../abi/index.js";
6
+ import { ConstructOptions } from "../../../base/Construct.js";
7
7
  import { Address, Hex, UnionOmit } from "viem";
8
- //#region src/onchain/market/pricefeeds/BalancerWeightedPriceFeed.d.ts
8
+ //#region src/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.d.ts
9
9
  type abi = typeof bptWeightedPriceFeedAbi;
10
10
  declare class BalancerWeightedPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
11
11
  readonly vault: Address;
@@ -0,0 +1,15 @@
1
+ import { BoundedOracleStateHuman } from "../../../types/state-human.js";
2
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
3
+ import { boundedPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ import "../../../types/index.js";
7
+ //#region src/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts
8
+ type abi = typeof boundedPriceFeedAbi;
9
+ declare class BoundedPriceFeedContract extends AbstractPriceFeedContract<abi> {
10
+ readonly upperBound: bigint;
11
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
12
+ stateHuman(raw?: boolean): Omit<BoundedOracleStateHuman, "stalenessPeriod">;
13
+ }
14
+ //#endregion
15
+ export { BoundedPriceFeedContract };
@@ -1,9 +1,9 @@
1
- import { PriceFeedRef } from "./PriceFeedRef.js";
2
- import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
3
- import { compositePriceFeedAbi } from "../../abi/oracles.js";
4
- import "../../abi/index.js";
5
- import { ConstructOptions } from "../../base/Construct.js";
6
- //#region src/onchain/market/pricefeeds/CompositePriceFeed.d.ts
1
+ import { PriceFeedRef } from "../PriceFeedRef.js";
2
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
3
+ import { compositePriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/CompositePriceFeed.d.ts
7
7
  type abi = typeof compositePriceFeedAbi;
8
8
  declare class CompositePriceFeedContract extends AbstractPriceFeedContract<abi> {
9
9
  constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
@@ -1,9 +1,9 @@
1
- import { ConstantOracleStateHuman } from "../../types/state-human.js";
2
- import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
3
- import { constantPriceFeedAbi } from "../../abi/oracles.js";
4
- import { ConstructOptions } from "../../base/Construct.js";
5
- import "../../types/index.js";
6
- //#region src/onchain/market/pricefeeds/ConstantPriceFeed.d.ts
1
+ import { ConstantOracleStateHuman } from "../../../types/state-human.js";
2
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
3
+ import { constantPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import { ConstructOptions } from "../../../base/Construct.js";
5
+ import "../../../types/index.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/ConstantPriceFeed.d.ts
7
7
  type abi = typeof constantPriceFeedAbi;
8
8
  declare class ConstantPriceFeedContract extends AbstractPriceFeedContract<abi> {
9
9
  readonly price: bigint;
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { curveCryptoLpPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts
7
+ type abi = typeof curveCryptoLpPriceFeedAbi;
8
+ declare class CurveCryptoPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { CurveCryptoPriceFeedContract };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { curveStableLpPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts
7
+ type abi = typeof curveStableLpPriceFeedAbi;
8
+ declare class CurveStablePriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { CurveStablePriceFeedContract };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { curveUsdPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts
7
+ type abi = typeof curveUsdPriceFeedAbi;
8
+ declare class CurveUSDPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { CurveUSDPriceFeedContract };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { erc4626PriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts
7
+ type abi = typeof erc4626PriceFeedAbi;
8
+ declare class Erc4626PriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { Erc4626PriceFeedContract };
@@ -0,0 +1,11 @@
1
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { chainlinkReadableAggregatorAbi } from "../../../abi/oracles.js";
3
+ import "../../../abi/index.js";
4
+ import { ConstructOptions } from "../../../base/Construct.js";
5
+ //#region src/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts
6
+ type abi = typeof chainlinkReadableAggregatorAbi;
7
+ declare class ExternalPriceFeedContract extends AbstractPriceFeedContract<abi> {
8
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
9
+ }
10
+ //#endregion
11
+ export { ExternalPriceFeedContract };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { mellowLrtPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts
7
+ type abi = typeof mellowLrtPriceFeedAbi;
8
+ declare class MellowLRTPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { MellowLRTPriceFeedContract };
@@ -1,7 +1,7 @@
1
- import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
2
- import { ConstructOptions } from "../../base/Construct.js";
1
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { ConstructOptions } from "../../../base/Construct.js";
3
3
  import { Address } from "viem";
4
- //#region src/onchain/market/pricefeeds/PendleTWAPPTPriceFeed.d.ts
4
+ //#region src/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.d.ts
5
5
  declare const abi: readonly [{
6
6
  readonly type: "constructor";
7
7
  readonly inputs: readonly [{
@@ -1,7 +1,7 @@
1
- import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
2
- import { ConstructOptions } from "../../base/Construct.js";
1
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { ConstructOptions } from "../../../base/Construct.js";
3
3
  import { Address, Hex } from "viem";
4
- //#region src/onchain/market/pricefeeds/PythPriceFeed.d.ts
4
+ //#region src/onchain/market/pricefeeds/feeds/PythPriceFeed.d.ts
5
5
  declare const abi: readonly [{
6
6
  readonly type: "constructor";
7
7
  readonly inputs: readonly [{
@@ -1,13 +1,13 @@
1
- import { RedstonePriceFeedStateHuman } from "../../types/state-human.js";
2
- import { IUpdatablePriceFeedContract } from "./types.js";
3
- import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "./AbstractPriceFeed.js";
4
- import { redstonePriceFeedAbi } from "../../abi/oracles.js";
5
- import "../../abi/index.js";
6
- import { RawTx } from "../../types/transactions.js";
7
- import { ConstructOptions } from "../../base/Construct.js";
8
- import "../../types/index.js";
1
+ import { RedstonePriceFeedStateHuman } from "../../../types/state-human.js";
2
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
3
+ import { redstonePriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { IUpdatablePriceFeedContract } from "../updates/types.js";
6
+ import { RawTx } from "../../../types/transactions.js";
7
+ import { ConstructOptions } from "../../../base/Construct.js";
8
+ import "../../../types/index.js";
9
9
  import { Address, Hex } from "viem";
10
- //#region src/onchain/market/pricefeeds/RedstonePriceFeed.d.ts
10
+ //#region src/onchain/market/pricefeeds/feeds/RedstonePriceFeed.d.ts
11
11
  type abi = typeof redstonePriceFeedAbi;
12
12
  declare class RedstonePriceFeedContract extends AbstractPriceFeedContract<abi> implements IUpdatablePriceFeedContract {
13
13
  readonly token: Address;
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { wstEthPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts
7
+ type abi = typeof wstEthPriceFeedAbi;
8
+ declare class WstETHPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { WstETHPriceFeedContract };
@@ -0,0 +1,12 @@
1
+ import { PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { AbstractLPPriceFeedContract } from "../AbstractLPPriceFeed.js";
3
+ import { yearnPriceFeedAbi } from "../../../abi/oracles.js";
4
+ import "../../../abi/index.js";
5
+ import { ConstructOptions } from "../../../base/Construct.js";
6
+ //#region src/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts
7
+ type abi = typeof yearnPriceFeedAbi;
8
+ declare class YearnPriceFeedContract extends AbstractLPPriceFeedContract<abi> {
9
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
10
+ }
11
+ //#endregion
12
+ export { YearnPriceFeedContract };
@@ -0,0 +1,11 @@
1
+ import { AbstractPriceFeedContract, PartialPriceFeedTreeNode } from "../AbstractPriceFeed.js";
2
+ import { zeroPriceFeedAbi } from "../../../abi/oracles.js";
3
+ import "../../../abi/index.js";
4
+ import { ConstructOptions } from "../../../base/Construct.js";
5
+ //#region src/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts
6
+ type abi = typeof zeroPriceFeedAbi;
7
+ declare class ZeroPriceFeedContract extends AbstractPriceFeedContract<abi> {
8
+ constructor(options: ConstructOptions, args: PartialPriceFeedTreeNode);
9
+ }
10
+ //#endregion
11
+ export { ZeroPriceFeedContract };
@@ -0,0 +1,18 @@
1
+ import { BalancerStablePriceFeedContract } from "./BalancerStablePriceFeed.js";
2
+ import { BalancerWeightedPriceFeedContract } from "./BalancerWeightedPriceFeed.js";
3
+ import { BoundedPriceFeedContract } from "./BoundedPriceFeed.js";
4
+ import { CompositePriceFeedContract } from "./CompositePriceFeed.js";
5
+ import { ConstantPriceFeedContract } from "./ConstantPriceFeed.js";
6
+ import { CurveCryptoPriceFeedContract } from "./CurveCryptoPriceFeed.js";
7
+ import { CurveStablePriceFeedContract } from "./CurveStablePriceFeed.js";
8
+ import { CurveUSDPriceFeedContract } from "./CurveUSDPriceFeed.js";
9
+ import { Erc4626PriceFeedContract } from "./Erc4626PriceFeed.js";
10
+ import { ExternalPriceFeedContract } from "./ExternalPriceFeed.js";
11
+ import { MellowLRTPriceFeedContract } from "./MellowLRTPriceFeed.js";
12
+ import { PendleTWAPPTPriceFeed } from "./PendleTWAPPTPriceFeed.js";
13
+ import { PythPriceFeed } from "./PythPriceFeed.js";
14
+ import { RedstonePriceFeedContract } from "./RedstonePriceFeed.js";
15
+ import { WstETHPriceFeedContract } from "./WstETHPriceFeed.js";
16
+ import { YearnPriceFeedContract } from "./YearnPriceFeed.js";
17
+ import { ZeroPriceFeedContract } from "./ZeroPriceFeed.js";
18
+ export { BalancerStablePriceFeedContract, BalancerWeightedPriceFeedContract, BoundedPriceFeedContract, CompositePriceFeedContract, ConstantPriceFeedContract, CurveCryptoPriceFeedContract, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, Erc4626PriceFeedContract, ExternalPriceFeedContract, MellowLRTPriceFeedContract, PendleTWAPPTPriceFeed, PythPriceFeed, RedstonePriceFeedContract, WstETHPriceFeedContract, YearnPriceFeedContract, ZeroPriceFeedContract };