@gearbox-protocol/sdk 17.13.0-next.4 → 17.13.0-next.6

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 (814) hide show
  1. package/dist/cjs/model/errors/index.js +1 -0
  2. package/dist/cjs/model/errors/liquidation-errors.js +9 -0
  3. package/dist/cjs/model/index.js +1 -0
  4. package/dist/cjs/model/liquidations.schema.js +2 -1
  5. package/dist/cjs/onchain/accounts/CreditAccountsServiceV310.js +0 -37
  6. package/dist/cjs/onchain/accounts/liquidations/LiquidationsService.js +116 -20
  7. package/dist/cjs/onchain/accounts/liquidations/MultichainLiquidationsService.js +28 -0
  8. package/dist/cjs/onchain/accounts/liquidations/constants.js +1 -1
  9. package/dist/cjs/onchain/accounts/liquidations/partialLiquidation.js +7 -11
  10. package/dist/cjs/onchain/base/TokensMeta.js +15 -0
  11. package/dist/cjs/onchain/index.js +2 -0
  12. package/dist/cjs/onchain/validation/bundles/checkLiquidationEligibility.js +7 -1
  13. package/dist/cjs/onchain/validation/bundles/checkLiquidationFunding.js +2 -1
  14. package/dist/cjs/onchain/validation/checkLiquidation.js +2 -1
  15. package/dist/cjs/onchain/validation/checks/checkPartiallyLiquidatable.js +13 -0
  16. package/dist/cjs/onchain/validation/checks/index.js +2 -0
  17. package/dist/cjs/onchain/validation/index.js +2 -0
  18. package/dist/cjs/sdk/liquidations/LiquidationsNamespace.js +14 -0
  19. package/dist/esm/dev/mint/index.js +1 -2
  20. package/dist/esm/model/errors/index.js +2 -2
  21. package/dist/esm/model/errors/liquidation-errors.js +9 -1
  22. package/dist/esm/model/index.js +2 -2
  23. package/dist/esm/model/liquidations.schema.js +2 -1
  24. package/dist/esm/offchain/notices/index.js +1 -2
  25. package/dist/esm/offchain/opportunities/index.js +1 -2
  26. package/dist/esm/offchain/positions/index.js +1 -2
  27. package/dist/esm/onchain/abi/index.js +1 -2
  28. package/dist/esm/onchain/accounts/CreditAccountsServiceV310.js +0 -37
  29. package/dist/esm/onchain/accounts/liquidations/LiquidationsService.js +116 -20
  30. package/dist/esm/onchain/accounts/liquidations/MultichainLiquidationsService.js +28 -0
  31. package/dist/esm/onchain/accounts/liquidations/constants.js +1 -1
  32. package/dist/esm/onchain/accounts/liquidations/partialLiquidation.js +7 -11
  33. package/dist/esm/onchain/base/TokensMeta.js +15 -0
  34. package/dist/esm/onchain/index.js +2 -1
  35. package/dist/esm/onchain/market/adapters/abi/midas/index.js +1 -2
  36. package/dist/esm/onchain/pools/index.js +1 -2
  37. package/dist/esm/onchain/utils/internal/index.js +1 -2
  38. package/dist/esm/onchain/validation/bundles/checkLiquidationEligibility.js +7 -1
  39. package/dist/esm/onchain/validation/bundles/checkLiquidationFunding.js +2 -1
  40. package/dist/esm/onchain/validation/checkLiquidation.js +2 -1
  41. package/dist/esm/onchain/validation/checks/checkPartiallyLiquidatable.js +12 -0
  42. package/dist/esm/onchain/validation/checks/index.js +2 -1
  43. package/dist/esm/onchain/validation/index.js +2 -1
  44. package/dist/esm/permissionless/api/chains/index.js +1 -2
  45. package/dist/esm/permissionless/api/oracles/index.js +1 -2
  46. package/dist/esm/permissionless/api/transactions/index.js +1 -2
  47. package/dist/esm/permissionless/bindings/router/index.js +1 -2
  48. package/dist/esm/permissionless/core/index.js +1 -2
  49. package/dist/esm/plugins/accounts/index.js +1 -2
  50. package/dist/esm/plugins/accounts-counter/index.js +1 -2
  51. package/dist/esm/plugins/bots/abi/index.js +1 -2
  52. package/dist/esm/sdk/analytics/index.js +1 -2
  53. package/dist/esm/sdk/execute/index.js +1 -2
  54. package/dist/esm/sdk/liquidations/LiquidationsNamespace.js +14 -0
  55. package/dist/esm/sdk/liquidations/index.js +1 -2
  56. package/dist/esm/sdk/opportunities/index.js +1 -2
  57. package/dist/esm/sdk/positions/index.js +1 -2
  58. package/dist/esm/sdk/preview/index.js +1 -2
  59. package/dist/types/abi/310/configure/creditSuiteParams.d.ts +4 -5
  60. package/dist/types/abi/310/configure/iCreditConfigureActions.d.ts +2 -3
  61. package/dist/types/abi/310/configure/iPoolConfigureActions.d.ts +2 -3
  62. package/dist/types/abi/310/configure/iPriceOracleConfigureActions.d.ts +2 -3
  63. package/dist/types/abi/310/crossChainMultisig.d.ts +2 -3
  64. package/dist/types/abi/310/generated.d.ts +15 -16
  65. package/dist/types/abi/310/iBytecodeRepository.d.ts +2 -3
  66. package/dist/types/abi/310/iLinearInterestRateModelV310.d.ts +2 -3
  67. package/dist/types/abi/310/iMarketConfiguratorFactory.d.ts +2 -3
  68. package/dist/types/abi/310/iPriceFeedStore.d.ts +2 -3
  69. package/dist/types/abi/310/iTreasurySplitter.d.ts +2 -3
  70. package/dist/types/abi/310/instanceManager.d.ts +2 -3
  71. package/dist/types/abi/AccountMigrator.d.ts +2 -3
  72. package/dist/types/abi/ILiquidationCompressorV313.d.ts +2 -3
  73. package/dist/types/abi/IWithdrawalCompressorV310.d.ts +2 -3
  74. package/dist/types/abi/IWithdrawalCompressorV311.d.ts +2 -3
  75. package/dist/types/abi/IWithdrawalCompressorV313.d.ts +2 -3
  76. package/dist/types/abi/compressors/creditAccountCompressor.d.ts +2 -3
  77. package/dist/types/abi/compressors/creditSuiteCompressor.d.ts +2 -3
  78. package/dist/types/abi/compressors/defillamaCompressor.d.ts +2 -3
  79. package/dist/types/abi/compressors/gaugeCompressor.d.ts +2 -3
  80. package/dist/types/abi/compressors/liquidationCompressor.d.ts +2 -3
  81. package/dist/types/abi/compressors/marketCompressor.d.ts +2 -3
  82. package/dist/types/abi/compressors/peripheryCompressor.d.ts +2 -3
  83. package/dist/types/abi/compressors/priceFeedCompressor.d.ts +2 -3
  84. package/dist/types/abi/compressors/rewardsCompressor.d.ts +2 -3
  85. package/dist/types/abi/compressors/rwaCompressor.d.ts +2 -3
  86. package/dist/types/abi/compressors/subcompressors/liquidation/midasLiquidationSubcompressor.d.ts +2 -3
  87. package/dist/types/abi/compressors/subcompressors/liquidation/securitizeLiquidationSubcompressor.d.ts +2 -3
  88. package/dist/types/abi/compressors/subcompressors/rwa/onDemandRWAUnderlyingSubcompressor.d.ts +2 -3
  89. package/dist/types/abi/compressors/subcompressors/rwa/securitizeRWAFactorySubcompressor.d.ts +2 -3
  90. package/dist/types/abi/compressors/subcompressors/withdrawal/infinifiWithdrawalSubcompressor.d.ts +2 -3
  91. package/dist/types/abi/compressors/subcompressors/withdrawal/kelpLRTWithdrawalSubcompressor.d.ts +2 -3
  92. package/dist/types/abi/compressors/subcompressors/withdrawal/mellowFlexibleDepositSubcompressor.d.ts +2 -3
  93. package/dist/types/abi/compressors/subcompressors/withdrawal/mellowFlexibleRedeemSubcompressor.d.ts +2 -3
  94. package/dist/types/abi/compressors/subcompressors/withdrawal/mellowWithdrawalSubcompressor.d.ts +2 -3
  95. package/dist/types/abi/compressors/subcompressors/withdrawal/midasWithdrawalSubcompressor.d.ts +2 -3
  96. package/dist/types/abi/compressors/subcompressors/withdrawal/securitizeRedemptionSubcompressor.d.ts +2 -3
  97. package/dist/types/abi/compressors/subcompressors/withdrawal/upshiftWithdrawalSubcompressor.d.ts +2 -3
  98. package/dist/types/abi/compressors/tokenCompressor.d.ts +2 -3
  99. package/dist/types/abi/compressors/withdrawalCompressor.d.ts +2 -3
  100. package/dist/types/abi/errors.d.ts +11 -12
  101. package/dist/types/abi/governance/batchesChain.d.ts +2 -3
  102. package/dist/types/abi/governance/governor.d.ts +2 -3
  103. package/dist/types/abi/governance/iTimeLock.d.ts +2 -3
  104. package/dist/types/abi/helpers/redemptionLogger.d.ts +2 -3
  105. package/dist/types/abi/iAirdropDistributor.d.ts +2 -3
  106. package/dist/types/abi/iBaseRewardPool.d.ts +2 -3
  107. package/dist/types/abi/iCurvePool.d.ts +2 -3
  108. package/dist/types/abi/iDefaultAccountFactoryV3.d.ts +2 -3
  109. package/dist/types/abi/iDegenNFTV2.d.ts +2 -3
  110. package/dist/types/abi/iERC20.d.ts +2 -3
  111. package/dist/types/abi/iERC20Permit.d.ts +2 -3
  112. package/dist/types/abi/iERC20Zapper.d.ts +2 -3
  113. package/dist/types/abi/iERC20ZapperDeposits.d.ts +2 -3
  114. package/dist/types/abi/iETHZapper.d.ts +2 -3
  115. package/dist/types/abi/iETHZapperDeposits.d.ts +2 -3
  116. package/dist/types/abi/iExpirable.d.ts +2 -3
  117. package/dist/types/abi/iFarmingPool.d.ts +2 -3
  118. package/dist/types/abi/iInterestRateModel.d.ts +2 -3
  119. package/dist/types/abi/iMulticall3.d.ts +2 -3
  120. package/dist/types/abi/iOffchainOracle.d.ts +2 -3
  121. package/dist/types/abi/iPausable.d.ts +2 -3
  122. package/dist/types/abi/iPhantomToken.d.ts +2 -3
  123. package/dist/types/abi/iPriceFeed.d.ts +2 -3
  124. package/dist/types/abi/iRedemptionLoggerV310.d.ts +2 -3
  125. package/dist/types/abi/iStateSerializer.d.ts +2 -3
  126. package/dist/types/abi/iUpdatablePriceFeed.d.ts +2 -3
  127. package/dist/types/abi/iVersion.d.ts +2 -3
  128. package/dist/types/abi/iZapper.d.ts +2 -3
  129. package/dist/types/abi/ierc4626Adapter.d.ts +2 -3
  130. package/dist/types/abi/mellow.d.ts +6 -7
  131. package/dist/types/abi/migration.d.ts +3 -4
  132. package/dist/types/abi/router/balancerV2Worker.d.ts +2 -3
  133. package/dist/types/abi/router/balancerV3Worker.d.ts +2 -3
  134. package/dist/types/abi/router/balancerV3WrapperWorker.d.ts +2 -3
  135. package/dist/types/abi/router/camelotV3Worker.d.ts +2 -3
  136. package/dist/types/abi/router/convexWorker.d.ts +2 -3
  137. package/dist/types/abi/router/curveWorker.d.ts +2 -3
  138. package/dist/types/abi/router/daiUsdsWorker.d.ts +2 -3
  139. package/dist/types/abi/router/equalizerRouterWorker.d.ts +2 -3
  140. package/dist/types/abi/router/erc4626Worker.d.ts +2 -3
  141. package/dist/types/abi/router/fluidDexWorker.d.ts +2 -3
  142. package/dist/types/abi/router/gearboxRouter.d.ts +2 -3
  143. package/dist/types/abi/router/infinifiWorker.d.ts +2 -3
  144. package/dist/types/abi/router/infraredVaultWorker.d.ts +2 -3
  145. package/dist/types/abi/router/kelpLRTDepositPoolWorker.d.ts +2 -3
  146. package/dist/types/abi/router/kodiakWorker.d.ts +2 -3
  147. package/dist/types/abi/router/lidoWorker.d.ts +2 -3
  148. package/dist/types/abi/router/mellow4626Worker.d.ts +2 -3
  149. package/dist/types/abi/router/mellowDVVWorker.d.ts +2 -3
  150. package/dist/types/abi/router/mellowVaultWorker.d.ts +2 -3
  151. package/dist/types/abi/router/midasWorker.d.ts +2 -3
  152. package/dist/types/abi/router/pendleRouterWorker.d.ts +2 -3
  153. package/dist/types/abi/router/routingManager.d.ts +2 -3
  154. package/dist/types/abi/router/securitizeOnrampWorker.d.ts +2 -3
  155. package/dist/types/abi/router/stakingRewardsWorker.d.ts +2 -3
  156. package/dist/types/abi/router/traderJoeWorker.d.ts +2 -3
  157. package/dist/types/abi/router/uniswapV2Worker.d.ts +2 -3
  158. package/dist/types/abi/router/uniswapV3Worker.d.ts +2 -3
  159. package/dist/types/abi/router/uniswapV4Worker.d.ts +2 -3
  160. package/dist/types/abi/router/upshiftWorker.d.ts +2 -3
  161. package/dist/types/abi/router/velodromeV2Worker.d.ts +2 -3
  162. package/dist/types/abi/router/wstETHWorker.d.ts +2 -3
  163. package/dist/types/abi/router/yearnV2Worker.d.ts +2 -3
  164. package/dist/types/abi/rwa/iDSRegistryService.d.ts +2 -3
  165. package/dist/types/abi/rwa/iDSToken.d.ts +2 -3
  166. package/dist/types/abi/rwa/iMidasAccessControl.d.ts +2 -3
  167. package/dist/types/abi/rwa/iMidasDegenNFT.d.ts +2 -3
  168. package/dist/types/abi/rwa/iMidasLiquidatorV311.d.ts +2 -3
  169. package/dist/types/abi/rwa/iRWACompressor.d.ts +2 -3
  170. package/dist/types/abi/rwa/iRWAFactory.d.ts +2 -3
  171. package/dist/types/abi/rwa/iRWAGateway.d.ts +2 -3
  172. package/dist/types/abi/rwa/iRWAUnderlying.d.ts +2 -3
  173. package/dist/types/abi/rwa/iSecuritizeDegenNFT.d.ts +2 -3
  174. package/dist/types/abi/rwa/iSecuritizeLiquidatorV311.d.ts +2 -3
  175. package/dist/types/abi/rwa/iSecuritizeRWAFactory.d.ts +2 -3
  176. package/dist/types/dev/AccountOpener.d.ts +9 -9
  177. package/dist/types/dev/EthCallSpy.d.ts +6 -7
  178. package/dist/types/dev/RevolverTransport.d.ts +12 -12
  179. package/dist/types/dev/abi.d.ts +6 -7
  180. package/dist/types/dev/calcLiquidatableLTs.d.ts +2 -3
  181. package/dist/types/dev/claimFromFaucet.d.ts +2 -2
  182. package/dist/types/dev/create2.d.ts +10 -11
  183. package/dist/types/dev/createAnvilClient.d.ts +13 -14
  184. package/dist/types/dev/detectChain.d.ts +2 -3
  185. package/dist/types/dev/isOutOfSyncError.d.ts +2 -3
  186. package/dist/types/dev/isRateLimitError.d.ts +2 -3
  187. package/dist/types/dev/isTransientError.d.ts +2 -3
  188. package/dist/types/dev/kycUtils.d.ts +13 -14
  189. package/dist/types/dev/logSplitterTransport.d.ts +10 -10
  190. package/dist/types/dev/ltUtils.d.ts +3 -4
  191. package/dist/types/dev/midasUtils.d.ts +8 -9
  192. package/dist/types/dev/migrateFaucet.d.ts +2 -3
  193. package/dist/types/dev/mint/AbstractMinter.d.ts +2 -3
  194. package/dist/types/dev/mint/DealMinter.d.ts +2 -3
  195. package/dist/types/dev/mint/DirectMinter.d.ts +2 -3
  196. package/dist/types/dev/mint/FallbackMinter.d.ts +2 -3
  197. package/dist/types/dev/mint/TransferMinter.d.ts +2 -3
  198. package/dist/types/dev/mint/factory.d.ts +2 -3
  199. package/dist/types/dev/mint/types.d.ts +2 -3
  200. package/dist/types/dev/mode-parity/compareOpportunities.d.ts +8 -8
  201. package/dist/types/dev/mode-parity/comparePositions.d.ts +12 -13
  202. package/dist/types/dev/mode-parity/compareRules.d.ts +6 -7
  203. package/dist/types/dev/mode-parity/fieldDiff.d.ts +29 -30
  204. package/dist/types/dev/mode-parity/scriptUtils.d.ts +18 -19
  205. package/dist/types/dev/providers.d.ts +10 -11
  206. package/dist/types/dev/replaceStorage.d.ts +3 -4
  207. package/dist/types/dev/resilientTransport.d.ts +6 -7
  208. package/dist/types/dev/securitizeUtils.d.ts +6 -6
  209. package/dist/types/dev/transports.d.ts +2 -3
  210. package/dist/types/dev/types.d.ts +4 -5
  211. package/dist/types/dev/verifyTestnet.d.ts +4 -5
  212. package/dist/types/dev/withdrawalAbi.d.ts +9 -10
  213. package/dist/types/dev/withdrawalUtils.d.ts +3 -4
  214. package/dist/types/history/assembleOperations.d.ts +3 -4
  215. package/dist/types/history/classifyMulticallOperations.d.ts +3 -4
  216. package/dist/types/history/mapOperations.d.ts +3 -4
  217. package/dist/types/history/parseCreditAccountTransaction.d.ts +3 -4
  218. package/dist/types/history/populateContractsRegister.d.ts +4 -5
  219. package/dist/types/history/toLegacyOperation.d.ts +6 -7
  220. package/dist/types/history/trace/errors.d.ts +6 -7
  221. package/dist/types/history/trace/extractAdapterCallTraces.d.ts +2 -3
  222. package/dist/types/history/trace/extractTransfers.d.ts +4 -4
  223. package/dist/types/history/trace/findFacadeCalls.d.ts +2 -3
  224. package/dist/types/history/trace/types.d.ts +3 -4
  225. package/dist/types/history/types.d.ts +13 -13
  226. package/dist/types/model/analytics.d.ts +11 -12
  227. package/dist/types/model/analytics.schema.d.ts +13 -14
  228. package/dist/types/model/charts.d.ts +29 -29
  229. package/dist/types/model/charts.schema.d.ts +16 -17
  230. package/dist/types/model/compare.schema.d.ts +9 -10
  231. package/dist/types/model/curators.d.ts +3 -4
  232. package/dist/types/model/curators.schema.d.ts +3 -4
  233. package/dist/types/model/delayed-intent.schema.d.ts +2 -3
  234. package/dist/types/model/delayed-intents.d.ts +9 -10
  235. package/dist/types/model/errors/base.d.ts +2 -3
  236. package/dist/types/model/errors/index.d.ts +2 -2
  237. package/dist/types/model/errors/liquidation-errors.d.ts +20 -8
  238. package/dist/types/model/errors/operation-errors.d.ts +44 -45
  239. package/dist/types/model/errors/oracle-errors.d.ts +3 -4
  240. package/dist/types/model/errors/prepare-errors.d.ts +21 -22
  241. package/dist/types/model/errors/preview-errors.d.ts +9 -10
  242. package/dist/types/model/filters.d.ts +6 -7
  243. package/dist/types/model/filters.schema.d.ts +5 -6
  244. package/dist/types/model/index.d.ts +2 -2
  245. package/dist/types/model/liquidations.d.ts +29 -18
  246. package/dist/types/model/liquidations.schema.d.ts +10 -10
  247. package/dist/types/model/notices.d.ts +4 -5
  248. package/dist/types/model/notices.schema.d.ts +3 -4
  249. package/dist/types/model/opportunities.d.ts +31 -32
  250. package/dist/types/model/opportunities.schema.d.ts +26 -27
  251. package/dist/types/model/positions.d.ts +29 -30
  252. package/dist/types/model/positions.schema.d.ts +22 -23
  253. package/dist/types/model/previews.d.ts +21 -21
  254. package/dist/types/model/primitives.d.ts +12 -13
  255. package/dist/types/model/primitives.schema.d.ts +11 -12
  256. package/dist/types/model/response.d.ts +8 -9
  257. package/dist/types/model/response.schema.d.ts +7 -8
  258. package/dist/types/model/result.d.ts +8 -9
  259. package/dist/types/model/rewards.d.ts +4 -5
  260. package/dist/types/model/rwa.d.ts +20 -21
  261. package/dist/types/model/rwa.schema.d.ts +3 -4
  262. package/dist/types/model/withdrawals.d.ts +5 -6
  263. package/dist/types/model/withdrawals.schema.d.ts +5 -6
  264. package/dist/types/offchain/AbstractOffchainNamespace.d.ts +4 -5
  265. package/dist/types/offchain/GearboxAPI.d.ts +2 -3
  266. package/dist/types/offchain/analytics/OffchainAnalytics.d.ts +2 -3
  267. package/dist/types/offchain/analytics/OffchainAnalyticsPositions.d.ts +2 -3
  268. package/dist/types/offchain/analytics/types.d.ts +3 -4
  269. package/dist/types/offchain/errors/OffchainInvalidJsonError.d.ts +2 -3
  270. package/dist/types/offchain/errors/OffchainNotConfiguredError.d.ts +2 -3
  271. package/dist/types/offchain/errors/OffchainNotImplementedError.d.ts +2 -3
  272. package/dist/types/offchain/errors/OffchainRequestFailedError.d.ts +2 -3
  273. package/dist/types/offchain/errors/OffchainStatusError.d.ts +2 -3
  274. package/dist/types/offchain/errors/OffchainTransportError.d.ts +3 -4
  275. package/dist/types/offchain/errors/OffchainValidationError.d.ts +2 -3
  276. package/dist/types/offchain/errors/backendMessage.d.ts +2 -3
  277. package/dist/types/offchain/errors/errorCause.d.ts +3 -4
  278. package/dist/types/offchain/errors/readResponseBody.d.ts +2 -3
  279. package/dist/types/offchain/notices/OffchainNotices.d.ts +2 -3
  280. package/dist/types/offchain/opportunities/OffchainOpportunities.d.ts +2 -3
  281. package/dist/types/offchain/opportunities/types.d.ts +3 -4
  282. package/dist/types/offchain/positions/OffchainPositions.d.ts +2 -3
  283. package/dist/types/offchain/positions/types.d.ts +3 -4
  284. package/dist/types/offchain/types.d.ts +2 -3
  285. package/dist/types/onchain/MultichainSDK.d.ts +7 -8
  286. package/dist/types/onchain/OnchainSDK.d.ts +9 -10
  287. package/dist/types/onchain/abi/oracles.d.ts +27 -28
  288. package/dist/types/onchain/accounts/CreditAccountsServiceV310.d.ts +3 -12
  289. package/dist/types/onchain/accounts/bots/AccountBotsService.d.ts +2 -3
  290. package/dist/types/onchain/accounts/bots/PeripheryCompressorV310Contract.d.ts +2 -2
  291. package/dist/types/onchain/accounts/bots/abi.d.ts +2 -3
  292. package/dist/types/onchain/accounts/bots/types.d.ts +13 -14
  293. package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressor.d.ts +2 -3
  294. package/dist/types/onchain/accounts/credit-account-compressor/CreditAccountCompressorV310Contract.d.ts +2 -2
  295. package/dist/types/onchain/accounts/credit-account-compressor/types.d.ts +11 -12
  296. package/dist/types/onchain/accounts/index.d.ts +8 -8
  297. package/dist/types/onchain/accounts/intents/borrow.d.ts +6 -7
  298. package/dist/types/onchain/accounts/intents/collateral-valuation.d.ts +4 -5
  299. package/dist/types/onchain/accounts/intents/guards.d.ts +7 -7
  300. package/dist/types/onchain/accounts/intents/index.d.ts +5 -5
  301. package/dist/types/onchain/accounts/intents/leverage-band.d.ts +4 -5
  302. package/dist/types/onchain/accounts/intents/math.d.ts +8 -8
  303. package/dist/types/onchain/accounts/intents/maxBorrow.d.ts +3 -4
  304. package/dist/types/onchain/accounts/intents/maxWithdrawCollateral.d.ts +3 -4
  305. package/dist/types/onchain/accounts/intents/open-strategy.d.ts +4 -5
  306. package/dist/types/onchain/accounts/intents/operations.d.ts +28 -28
  307. package/dist/types/onchain/accounts/intents/plan.d.ts +18 -19
  308. package/dist/types/onchain/accounts/intents/realize.d.ts +4 -5
  309. package/dist/types/onchain/accounts/intents/resolveQuotaUpdate.d.ts +4 -5
  310. package/dist/types/onchain/accounts/intents/strategyLimits.d.ts +2 -2
  311. package/dist/types/onchain/accounts/intents/tail.d.ts +4 -4
  312. package/dist/types/onchain/accounts/intents/testing/delayed.d.ts +2 -2
  313. package/dist/types/onchain/accounts/intents/testing/expect.d.ts +2 -2
  314. package/dist/types/onchain/accounts/intents/testing/market.d.ts +6 -6
  315. package/dist/types/onchain/accounts/intents/testing/sdk-mock.d.ts +3 -3
  316. package/dist/types/onchain/accounts/intents/tests/add-collateral.fixtures.d.ts +15 -16
  317. package/dist/types/onchain/accounts/intents/tests/adjust-leverage.fixtures.d.ts +22 -23
  318. package/dist/types/onchain/accounts/intents/tests/deposit.fixtures.d.ts +24 -25
  319. package/dist/types/onchain/accounts/intents/tests/finish-decrease-leverage.fixtures.d.ts +21 -21
  320. package/dist/types/onchain/accounts/intents/tests/finish-withdraw.fixtures.d.ts +30 -31
  321. package/dist/types/onchain/accounts/intents/tests/open-strategy.fixtures.d.ts +16 -17
  322. package/dist/types/onchain/accounts/intents/tests/update-quota.fixtures.d.ts +12 -13
  323. package/dist/types/onchain/accounts/intents/tests/withdraw-asset.fixtures.d.ts +16 -17
  324. package/dist/types/onchain/accounts/intents/tests/withdraw.fixtures.d.ts +26 -27
  325. package/dist/types/onchain/accounts/intents/types.d.ts +30 -31
  326. package/dist/types/onchain/accounts/intents/utils/adjust-state-to-snapshot.d.ts +2 -3
  327. package/dist/types/onchain/accounts/intents/utils/assemble-operation-calls.d.ts +2 -2
  328. package/dist/types/onchain/accounts/intents/utils/borrowed-amount-plus-interest-and-fees.d.ts +2 -3
  329. package/dist/types/onchain/accounts/intents/utils/common.d.ts +5 -6
  330. package/dist/types/onchain/accounts/intents/utils/credit-account-slice.d.ts +4 -5
  331. package/dist/types/onchain/accounts/intents/utils/ledger.d.ts +3 -4
  332. package/dist/types/onchain/accounts/intents/utils/pick-token.d.ts +6 -7
  333. package/dist/types/onchain/accounts/intents/utils/price-impact.d.ts +5 -6
  334. package/dist/types/onchain/accounts/intents/utils/quotas-for-update.d.ts +8 -8
  335. package/dist/types/onchain/accounts/intents/utils/router-path.d.ts +6 -7
  336. package/dist/types/onchain/accounts/intents/view.d.ts +2 -3
  337. package/dist/types/onchain/accounts/intents/withdraw-limits.d.ts +5 -6
  338. package/dist/types/onchain/accounts/liquidations/LiquidationsService.d.ts +32 -15
  339. package/dist/types/onchain/accounts/liquidations/MultichainLiquidationsService.d.ts +13 -4
  340. package/dist/types/onchain/accounts/liquidations/constants.d.ts +4 -5
  341. package/dist/types/onchain/accounts/liquidations/index.d.ts +2 -2
  342. package/dist/types/onchain/accounts/liquidations/partialLiquidation.d.ts +7 -8
  343. package/dist/types/onchain/accounts/liquidations/skipLiquidatableAccount.d.ts +2 -3
  344. package/dist/types/onchain/accounts/liquidations/types.d.ts +140 -27
  345. package/dist/types/onchain/accounts/multicall-utils.d.ts +4 -5
  346. package/dist/types/onchain/accounts/quota-utils.d.ts +11 -11
  347. package/dist/types/onchain/accounts/types.d.ts +17 -96
  348. package/dist/types/onchain/accounts/withdrawal-compressor/AbstractWithdrawalCompressorContract.d.ts +7 -7
  349. package/dist/types/onchain/accounts/withdrawal-compressor/RedemptionLoggerV310Contract.d.ts +2 -2
  350. package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV310Contract.d.ts +2 -2
  351. package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV311Contract.d.ts +2 -2
  352. package/dist/types/onchain/accounts/withdrawal-compressor/WithdrawalCompressorV313Contract.d.ts +2 -2
  353. package/dist/types/onchain/accounts/withdrawal-compressor/addresses.d.ts +4 -5
  354. package/dist/types/onchain/accounts/withdrawal-compressor/createRedemptionLogger.d.ts +2 -3
  355. package/dist/types/onchain/accounts/withdrawal-compressor/createWithdrawalCompressor.d.ts +2 -3
  356. package/dist/types/onchain/accounts/withdrawal-compressor/intent-codec.d.ts +5 -6
  357. package/dist/types/onchain/accounts/withdrawal-compressor/types.d.ts +16 -17
  358. package/dist/types/onchain/base/BaseContract.d.ts +5 -6
  359. package/dist/types/onchain/base/ChainContractsRegister.d.ts +3 -4
  360. package/dist/types/onchain/base/Construct.d.ts +3 -4
  361. package/dist/types/onchain/base/MultichainConstruct.d.ts +7 -8
  362. package/dist/types/onchain/base/SDKConstruct.d.ts +2 -3
  363. package/dist/types/onchain/base/TokensMeta.d.ts +13 -6
  364. package/dist/types/onchain/base/errors.d.ts +2 -3
  365. package/dist/types/onchain/base/token-types.d.ts +18 -18
  366. package/dist/types/onchain/base/types.d.ts +37 -38
  367. package/dist/types/onchain/chain/chains.d.ts +20 -21
  368. package/dist/types/onchain/chain/detectNetwork.d.ts +2 -3
  369. package/dist/types/onchain/constants/address-provider.d.ts +36 -37
  370. package/dist/types/onchain/constants/addresses.d.ts +5 -6
  371. package/dist/types/onchain/constants/bot-permissions.d.ts +3 -4
  372. package/dist/types/onchain/constants/math.d.ts +21 -22
  373. package/dist/types/onchain/constants/networks.d.ts +3 -4
  374. package/dist/types/onchain/constants/periphery.d.ts +3 -4
  375. package/dist/types/onchain/constants/versions.d.ts +5 -6
  376. package/dist/types/onchain/core/AbstractAddressProviderContract.d.ts +2 -3
  377. package/dist/types/onchain/core/AddressProviderV310Contract.d.ts +2 -2
  378. package/dist/types/onchain/core/createAddressProvider.d.ts +3 -4
  379. package/dist/types/onchain/core/errors.d.ts +9 -10
  380. package/dist/types/onchain/core/types.d.ts +4 -5
  381. package/dist/types/onchain/index.d.ts +8 -7
  382. package/dist/types/onchain/market/MarketConfiguratorContract.d.ts +2 -2
  383. package/dist/types/onchain/market/MarketRegister.d.ts +4 -5
  384. package/dist/types/onchain/market/MarketSuite.d.ts +2 -3
  385. package/dist/types/onchain/market/ZapperRegister.d.ts +2 -3
  386. package/dist/types/onchain/market/adapters/abi/actionAbi.d.ts +4 -5
  387. package/dist/types/onchain/market/adapters/abi/adapters/erc4626ReferralAdapter.d.ts +2 -3
  388. package/dist/types/onchain/market/adapters/abi/adapters/iBalancerV3RouterAdapter.d.ts +2 -3
  389. package/dist/types/onchain/market/adapters/abi/adapters/iBalancerV3WrapperAdapter.d.ts +2 -3
  390. package/dist/types/onchain/market/adapters/abi/adapters/iCamelotV3Adapter.d.ts +2 -3
  391. package/dist/types/onchain/market/adapters/abi/adapters/iConvexV1BaseRewardPoolAdapter.d.ts +2 -3
  392. package/dist/types/onchain/market/adapters/abi/adapters/iConvexV1BoosterAdapter.d.ts +2 -3
  393. package/dist/types/onchain/market/adapters/abi/adapters/iCurveV1StableNgAdapter.d.ts +2 -3
  394. package/dist/types/onchain/market/adapters/abi/adapters/iCurveV1_2AssetsAdapter.d.ts +2 -3
  395. package/dist/types/onchain/market/adapters/abi/adapters/iCurveV1_3AssetsAdapter.d.ts +2 -3
  396. package/dist/types/onchain/market/adapters/abi/adapters/iCurveV1_4AssetsAdapter.d.ts +2 -3
  397. package/dist/types/onchain/market/adapters/abi/adapters/iDaiUsdsAdapter.d.ts +2 -3
  398. package/dist/types/onchain/market/adapters/abi/adapters/iFluidDexAdapter.d.ts +2 -3
  399. package/dist/types/onchain/market/adapters/abi/adapters/iInfinifiGatewayAdapter.d.ts +2 -3
  400. package/dist/types/onchain/market/adapters/abi/adapters/iInfinifiUnwindingGateway.d.ts +3 -4
  401. package/dist/types/onchain/market/adapters/abi/adapters/iKelpLrtDepositPool.d.ts +3 -4
  402. package/dist/types/onchain/market/adapters/abi/adapters/iKelpLrtWithdrawalManager.d.ts +3 -4
  403. package/dist/types/onchain/market/adapters/abi/adapters/iLidoV1Adapter.d.ts +2 -3
  404. package/dist/types/onchain/market/adapters/abi/adapters/iMellow4626VaultAdapter.d.ts +2 -3
  405. package/dist/types/onchain/market/adapters/abi/adapters/iMellowClaimerAdapter.d.ts +2 -3
  406. package/dist/types/onchain/market/adapters/abi/adapters/iMellowWrapperAdapter.d.ts +2 -3
  407. package/dist/types/onchain/market/adapters/abi/adapters/iMidasGatewayAdapterV311.d.ts +2 -3
  408. package/dist/types/onchain/market/adapters/abi/adapters/iMidasIssuanceVaultAdapterV310.d.ts +2 -3
  409. package/dist/types/onchain/market/adapters/abi/adapters/iMidasRedemptionVaultAdapterV310.d.ts +3 -4
  410. package/dist/types/onchain/market/adapters/abi/adapters/iPendleRouterAdapter.d.ts +2 -3
  411. package/dist/types/onchain/market/adapters/abi/adapters/iSecuritizeOnRampAdapterV310.d.ts +2 -3
  412. package/dist/types/onchain/market/adapters/abi/adapters/iSecuritizeRedemptionGatewayAdapterV311.d.ts +2 -3
  413. package/dist/types/onchain/market/adapters/abi/adapters/iStakingRewardsAdapter.d.ts +2 -3
  414. package/dist/types/onchain/market/adapters/abi/adapters/iTraderJoeRouterAdapter.d.ts +2 -3
  415. package/dist/types/onchain/market/adapters/abi/adapters/iUniswapV2Adapter.d.ts +2 -3
  416. package/dist/types/onchain/market/adapters/abi/adapters/iUniswapV3Adapter.d.ts +2 -3
  417. package/dist/types/onchain/market/adapters/abi/adapters/iUniswapV4Adapter.d.ts +3 -4
  418. package/dist/types/onchain/market/adapters/abi/adapters/iUpshiftVaultAdapter.d.ts +3 -4
  419. package/dist/types/onchain/market/adapters/abi/adapters/iVelodromeV2RouterAdapter.d.ts +2 -3
  420. package/dist/types/onchain/market/adapters/abi/adapters/iwstEthv1Adapter.d.ts +2 -3
  421. package/dist/types/onchain/market/adapters/abi/adapters/mellowDvvAdapter.d.ts +2 -3
  422. package/dist/types/onchain/market/adapters/abi/conctructorAbi.d.ts +2 -3
  423. package/dist/types/onchain/market/adapters/abi/conctructorAbiPatterns.d.ts +12 -13
  424. package/dist/types/onchain/market/adapters/abi/midas/iMidasGatewayV311.d.ts +2 -3
  425. package/dist/types/onchain/market/adapters/abi/securitize/iBaseOnRamp.d.ts +2 -3
  426. package/dist/types/onchain/market/adapters/abi/securitize/iSecuritizeOnRamp.d.ts +2 -3
  427. package/dist/types/onchain/market/adapters/abi/securitize/iSecuritizeRedemptionGatewayV311.d.ts +2 -3
  428. package/dist/types/onchain/market/adapters/abi/targetContractAbi.d.ts +29 -30
  429. package/dist/types/onchain/market/adapters/abi/utils.d.ts +7 -8
  430. package/dist/types/onchain/market/adapters/contracts/AbstractAdapter.d.ts +4 -5
  431. package/dist/types/onchain/market/adapters/contracts/AbstractCurveAdapter.d.ts +2 -3
  432. package/dist/types/onchain/market/adapters/contracts/AccountMigratorAdapterContract.d.ts +2 -2
  433. package/dist/types/onchain/market/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +4 -4
  434. package/dist/types/onchain/market/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +2 -2
  435. package/dist/types/onchain/market/adapters/contracts/CamelotV3AdapterContract.d.ts +3 -3
  436. package/dist/types/onchain/market/adapters/contracts/ConvexV1BaseRewardPoolAdapterContract.d.ts +2 -2
  437. package/dist/types/onchain/market/adapters/contracts/ConvexV1BoosterAdapterContract.d.ts +2 -2
  438. package/dist/types/onchain/market/adapters/contracts/Curve2AssetsAdapterContract.d.ts +2 -2
  439. package/dist/types/onchain/market/adapters/contracts/Curve3AssetsAdapterContract.d.ts +2 -2
  440. package/dist/types/onchain/market/adapters/contracts/Curve4AssetsAdapterContract.d.ts +2 -2
  441. package/dist/types/onchain/market/adapters/contracts/CurveV1AdapterStETHContract.d.ts +2 -2
  442. package/dist/types/onchain/market/adapters/contracts/CurveV1StableNGAdapterContract.d.ts +2 -2
  443. package/dist/types/onchain/market/adapters/contracts/DaiUsdsAdapterContract.d.ts +2 -2
  444. package/dist/types/onchain/market/adapters/contracts/ERC4626AdapterContract.d.ts +2 -2
  445. package/dist/types/onchain/market/adapters/contracts/ERC4626ReferralAdapterContract.d.ts +2 -2
  446. package/dist/types/onchain/market/adapters/contracts/FluidDexAdapterContract.d.ts +2 -2
  447. package/dist/types/onchain/market/adapters/contracts/InfinifiGatewayAdapterContract.d.ts +2 -2
  448. package/dist/types/onchain/market/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.d.ts +2 -2
  449. package/dist/types/onchain/market/adapters/contracts/KelpLRTDepositPoolAdapterContract.d.ts +2 -2
  450. package/dist/types/onchain/market/adapters/contracts/KelpLRTWithdrawalManagerAdapterContract.d.ts +2 -2
  451. package/dist/types/onchain/market/adapters/contracts/LidoV1AdapterContract.d.ts +2 -2
  452. package/dist/types/onchain/market/adapters/contracts/MellowClaimerAdapterContract.d.ts +2 -2
  453. package/dist/types/onchain/market/adapters/contracts/MellowDVVAdapterContract.d.ts +2 -2
  454. package/dist/types/onchain/market/adapters/contracts/MellowERC4626VaultAdapterContract.d.ts +2 -2
  455. package/dist/types/onchain/market/adapters/contracts/MellowWrapperAdapterContract.d.ts +2 -2
  456. package/dist/types/onchain/market/adapters/contracts/MidasGatewayAdapterContract.d.ts +2 -2
  457. package/dist/types/onchain/market/adapters/contracts/MidasIssuanceVaultAdapterContract.d.ts +2 -2
  458. package/dist/types/onchain/market/adapters/contracts/MidasRedemptionVaultAdapterContract.d.ts +2 -2
  459. package/dist/types/onchain/market/adapters/contracts/PendleRouterAdapterContract.d.ts +5 -5
  460. package/dist/types/onchain/market/adapters/contracts/SecuritizeOnRampAdapterContract.d.ts +2 -2
  461. package/dist/types/onchain/market/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.d.ts +2 -2
  462. package/dist/types/onchain/market/adapters/contracts/StakingRewardsAdapterContract.d.ts +2 -2
  463. package/dist/types/onchain/market/adapters/contracts/TraderJoeRouterAdapterContract.d.ts +4 -4
  464. package/dist/types/onchain/market/adapters/contracts/UniswapV2AdapterContract.d.ts +2 -2
  465. package/dist/types/onchain/market/adapters/contracts/UniswapV3AdapterContract.d.ts +2 -2
  466. package/dist/types/onchain/market/adapters/contracts/UniswapV4AdapterContract.d.ts +2 -2
  467. package/dist/types/onchain/market/adapters/contracts/UpshiftVaultAdapterContract.d.ts +2 -2
  468. package/dist/types/onchain/market/adapters/contracts/VelodromeV2AdapterContract.d.ts +2 -2
  469. package/dist/types/onchain/market/adapters/contracts/WstETHV1AdapterContract.d.ts +2 -2
  470. package/dist/types/onchain/market/adapters/createAdapter.d.ts +3 -4
  471. package/dist/types/onchain/market/adapters/legacyAdapterOperations.d.ts +27 -28
  472. package/dist/types/onchain/market/adapters/transferHelpers.d.ts +10 -11
  473. package/dist/types/onchain/market/adapters/transfers.d.ts +2 -3
  474. package/dist/types/onchain/market/adapters/types.d.ts +9 -10
  475. package/dist/types/onchain/market/credit/CreditConfiguratorV310Contract.d.ts +3 -3
  476. package/dist/types/onchain/market/credit/CreditFacadeV310BaseContract.d.ts +2 -2
  477. package/dist/types/onchain/market/credit/CreditFacadeV310Contract.d.ts +3 -3
  478. package/dist/types/onchain/market/credit/CreditManagerV310Contract.d.ts +3 -3
  479. package/dist/types/onchain/market/credit/CreditSuite.d.ts +2 -3
  480. package/dist/types/onchain/market/credit/CreditSuiteStrategy.d.ts +2 -3
  481. package/dist/types/onchain/market/credit/collateralUtils.d.ts +5 -6
  482. package/dist/types/onchain/market/credit/createCreditConfigurator.d.ts +2 -3
  483. package/dist/types/onchain/market/credit/createCreditFacade.d.ts +2 -3
  484. package/dist/types/onchain/market/credit/createCreditManager.d.ts +2 -3
  485. package/dist/types/onchain/market/credit/expectedBalanceDeltas.d.ts +4 -5
  486. package/dist/types/onchain/market/credit/types.d.ts +10 -11
  487. package/dist/types/onchain/market/loss-policy/AliasLossPolicyV310Contract.d.ts +3 -3
  488. package/dist/types/onchain/market/loss-policy/LossPolicyContract.d.ts +2 -2
  489. package/dist/types/onchain/market/loss-policy/constants.d.ts +5 -6
  490. package/dist/types/onchain/market/loss-policy/createLossPolicy.d.ts +2 -3
  491. package/dist/types/onchain/market/loss-policy/types.d.ts +2 -3
  492. package/dist/types/onchain/market/math.d.ts +23 -24
  493. package/dist/types/onchain/market/oracle/PriceFeedAnswerMap.d.ts +2 -3
  494. package/dist/types/onchain/market/oracle/PriceOracleBaseContract.d.ts +2 -3
  495. package/dist/types/onchain/market/oracle/PriceOracleV310Contract.d.ts +2 -2
  496. package/dist/types/onchain/market/oracle/collateralPriceInUnderlying.d.ts +2 -3
  497. package/dist/types/onchain/market/oracle/createPriceOracle.d.ts +2 -3
  498. package/dist/types/onchain/market/oracle/types.d.ts +5 -6
  499. package/dist/types/onchain/market/pool/GaugeContract.d.ts +3 -3
  500. package/dist/types/onchain/market/pool/LinearInterestRateModelContract.d.ts +2 -2
  501. package/dist/types/onchain/market/pool/PoolQuotaKeeperV310Contract.d.ts +2 -2
  502. package/dist/types/onchain/market/pool/PoolSuite.d.ts +2 -3
  503. package/dist/types/onchain/market/pool/PoolV310Contract.d.ts +3 -3
  504. package/dist/types/onchain/market/pool/TumblerContract.d.ts +2 -2
  505. package/dist/types/onchain/market/pool/createInterestRateModel.d.ts +2 -3
  506. package/dist/types/onchain/market/pool/createPool.d.ts +2 -3
  507. package/dist/types/onchain/market/pool/createPoolQuotaKeeper.d.ts +2 -3
  508. package/dist/types/onchain/market/pool/createRateKeeper.d.ts +2 -3
  509. package/dist/types/onchain/market/pool/math.d.ts +6 -7
  510. package/dist/types/onchain/market/pool/types.d.ts +7 -8
  511. package/dist/types/onchain/market/pricefeeds/AbstractLPPriceFeed.d.ts +3 -4
  512. package/dist/types/onchain/market/pricefeeds/AbstractPriceFeed.d.ts +5 -6
  513. package/dist/types/onchain/market/pricefeeds/PriceFeedRef.d.ts +2 -3
  514. package/dist/types/onchain/market/pricefeeds/PriceFeedRegistry.d.ts +2 -3
  515. package/dist/types/onchain/market/pricefeeds/feeds/BalancerStablePriceFeed.d.ts +2 -2
  516. package/dist/types/onchain/market/pricefeeds/feeds/BalancerWeightedPriceFeed.d.ts +2 -2
  517. package/dist/types/onchain/market/pricefeeds/feeds/BoundedPriceFeed.d.ts +2 -2
  518. package/dist/types/onchain/market/pricefeeds/feeds/CompositePriceFeed.d.ts +2 -2
  519. package/dist/types/onchain/market/pricefeeds/feeds/ConstantPriceFeed.d.ts +2 -2
  520. package/dist/types/onchain/market/pricefeeds/feeds/CurveCryptoPriceFeed.d.ts +2 -2
  521. package/dist/types/onchain/market/pricefeeds/feeds/CurveStablePriceFeed.d.ts +2 -2
  522. package/dist/types/onchain/market/pricefeeds/feeds/CurveUSDPriceFeed.d.ts +2 -2
  523. package/dist/types/onchain/market/pricefeeds/feeds/Erc4626PriceFeed.d.ts +2 -2
  524. package/dist/types/onchain/market/pricefeeds/feeds/ExternalPriceFeed.d.ts +2 -2
  525. package/dist/types/onchain/market/pricefeeds/feeds/MellowLRTPriceFeed.d.ts +2 -2
  526. package/dist/types/onchain/market/pricefeeds/feeds/PendleTWAPPTPriceFeed.d.ts +2 -2
  527. package/dist/types/onchain/market/pricefeeds/feeds/PythPriceFeed.d.ts +2 -2
  528. package/dist/types/onchain/market/pricefeeds/feeds/RedstonePriceFeed.d.ts +2 -2
  529. package/dist/types/onchain/market/pricefeeds/feeds/WstETHPriceFeed.d.ts +2 -2
  530. package/dist/types/onchain/market/pricefeeds/feeds/YearnPriceFeed.d.ts +2 -2
  531. package/dist/types/onchain/market/pricefeeds/feeds/ZeroPriceFeed.d.ts +2 -2
  532. package/dist/types/onchain/market/pricefeeds/types.d.ts +5 -6
  533. package/dist/types/onchain/market/pricefeeds/updates/PriceUpdateTx.d.ts +2 -3
  534. package/dist/types/onchain/market/pricefeeds/updates/PriceUpdatesCache.d.ts +3 -4
  535. package/dist/types/onchain/market/pricefeeds/updates/UpdatablePriceFeedRegistry.d.ts +2 -3
  536. package/dist/types/onchain/market/pricefeeds/updates/getRawPriceUpdates.d.ts +2 -3
  537. package/dist/types/onchain/market/pricefeeds/updates/isUpdatablePriceFeed.d.ts +2 -3
  538. package/dist/types/onchain/market/pricefeeds/updates/types.d.ts +8 -9
  539. package/dist/types/onchain/market/pricefeeds/updates/updatableDependencies.d.ts +2 -3
  540. package/dist/types/onchain/market/rwa/RWARegistry.d.ts +3 -4
  541. package/dist/types/onchain/market/rwa/createDegenNFT.d.ts +2 -3
  542. package/dist/types/onchain/market/rwa/midas/MidasDegenNFT.d.ts +2 -2
  543. package/dist/types/onchain/market/rwa/midas/MidasLiquidatorContract.d.ts +2 -2
  544. package/dist/types/onchain/market/rwa/midas/constants.d.ts +4 -5
  545. package/dist/types/onchain/market/rwa/securitize/SecuritizeDegenNFT.d.ts +2 -2
  546. package/dist/types/onchain/market/rwa/securitize/SecuritizeLiquidatorContract.d.ts +2 -2
  547. package/dist/types/onchain/market/rwa/securitize/SecuritizeRWAFactory.d.ts +2 -2
  548. package/dist/types/onchain/market/rwa/securitize/constants.d.ts +4 -5
  549. package/dist/types/onchain/market/rwa/securitize/types.d.ts +5 -6
  550. package/dist/types/onchain/market/rwa/types.d.ts +16 -16
  551. package/dist/types/onchain/market/strategyName.d.ts +2 -3
  552. package/dist/types/onchain/market/types.d.ts +3 -4
  553. package/dist/types/onchain/market/zapper/IERC20ZapperContract.d.ts +2 -2
  554. package/dist/types/onchain/market/zapper/IETHZapperContract.d.ts +2 -2
  555. package/dist/types/onchain/market/zapper/ZapperContract.d.ts +2 -3
  556. package/dist/types/onchain/market/zapper/createZapper.d.ts +2 -3
  557. package/dist/types/onchain/market/zapper/types.d.ts +5 -6
  558. package/dist/types/onchain/opportunities/MultichainOpportunitiesService.d.ts +2 -3
  559. package/dist/types/onchain/opportunities/OpportunitiesService.d.ts +2 -3
  560. package/dist/types/onchain/opportunities/types.d.ts +2 -3
  561. package/dist/types/onchain/options.d.ts +4 -5
  562. package/dist/types/onchain/plugins/BasePlugin.d.ts +2 -3
  563. package/dist/types/onchain/plugins/errors.d.ts +2 -3
  564. package/dist/types/onchain/plugins/types.d.ts +9 -10
  565. package/dist/types/onchain/pools/PoolService.d.ts +2 -3
  566. package/dist/types/onchain/pools/types.d.ts +12 -13
  567. package/dist/types/onchain/positions/MultichainPositionsService.d.ts +2 -3
  568. package/dist/types/onchain/positions/PositionsService.d.ts +3 -4
  569. package/dist/types/onchain/positions/calcBorrowRate.d.ts +3 -4
  570. package/dist/types/onchain/positions/calcHealthFactor.d.ts +3 -4
  571. package/dist/types/onchain/positions/calcLiquidationPrice.d.ts +3 -4
  572. package/dist/types/onchain/positions/calcLiquidationPriceForTarget.d.ts +4 -5
  573. package/dist/types/onchain/positions/calcTimeToLiquidationMs.d.ts +2 -3
  574. package/dist/types/onchain/positions/types.d.ts +9 -10
  575. package/dist/types/onchain/preview/parse/classifyInnerOperations.d.ts +3 -4
  576. package/dist/types/onchain/preview/parse/parseFacadeOperationCalldata.d.ts +2 -3
  577. package/dist/types/onchain/preview/parse/parseOperationCalldata.d.ts +2 -3
  578. package/dist/types/onchain/preview/parse/parsePoolOperationCalldata.d.ts +2 -3
  579. package/dist/types/onchain/preview/parse/parseRWAFactoryOperationCalldata.d.ts +2 -3
  580. package/dist/types/onchain/preview/parse/types-adapters.d.ts +4 -5
  581. package/dist/types/onchain/preview/parse/types-facades.d.ts +20 -21
  582. package/dist/types/onchain/preview/parse/types-pools.d.ts +6 -7
  583. package/dist/types/onchain/preview/parse/types-rwa.d.ts +5 -6
  584. package/dist/types/onchain/preview/parse/types.d.ts +4 -4
  585. package/dist/types/onchain/preview/preview/CreditAccountState.d.ts +3 -4
  586. package/dist/types/onchain/preview/preview/buildDelayedStrategyPositionOperationPreview.d.ts +2 -3
  587. package/dist/types/onchain/preview/preview/detectCloseOrRepay.d.ts +3 -4
  588. package/dist/types/onchain/preview/preview/detectDelayedClaim.d.ts +4 -5
  589. package/dist/types/onchain/preview/preview/detectDelayedOperation.d.ts +3 -4
  590. package/dist/types/onchain/preview/preview/estimateClaimableAt.d.ts +2 -3
  591. package/dist/types/onchain/preview/preview/midasGreenlistsAccount.d.ts +2 -3
  592. package/dist/types/onchain/preview/preview/previewAdjustStrategyPosition.d.ts +2 -3
  593. package/dist/types/onchain/preview/preview/previewExitOrRepayStrategyPosition.d.ts +3 -4
  594. package/dist/types/onchain/preview/preview/previewOpenStrategyPosition.d.ts +2 -2
  595. package/dist/types/onchain/preview/preview/previewOperation.d.ts +3 -4
  596. package/dist/types/onchain/preview/preview/previewPoolPositionOperation.d.ts +2 -3
  597. package/dist/types/onchain/preview/preview/replayInnerOperations.d.ts +4 -5
  598. package/dist/types/onchain/preview/preview/replayMulticall.d.ts +4 -5
  599. package/dist/types/onchain/preview/preview/unwrapNativeCollateral.d.ts +2 -3
  600. package/dist/types/onchain/router/AbstractRouterContract.d.ts +4 -5
  601. package/dist/types/onchain/router/RouterV310Contract.d.ts +2 -2
  602. package/dist/types/onchain/router/createRouter.d.ts +2 -3
  603. package/dist/types/onchain/router/helpers.d.ts +3 -4
  604. package/dist/types/onchain/router/types.d.ts +15 -16
  605. package/dist/types/onchain/types/logger.d.ts +3 -4
  606. package/dist/types/onchain/types/multichain.d.ts +6 -7
  607. package/dist/types/onchain/types/state-human.d.ts +36 -37
  608. package/dist/types/onchain/types/state.d.ts +3 -4
  609. package/dist/types/onchain/types/transactions.d.ts +5 -6
  610. package/dist/types/onchain/utils/AddressMap.d.ts +2 -3
  611. package/dist/types/onchain/utils/AddressSet.d.ts +2 -3
  612. package/dist/types/onchain/utils/AssetsMap.d.ts +2 -3
  613. package/dist/types/onchain/utils/abi-decode.d.ts +4 -5
  614. package/dist/types/onchain/utils/bigint-math.d.ts +2 -3
  615. package/dist/types/onchain/utils/bytes32ToString.d.ts +2 -3
  616. package/dist/types/onchain/utils/childLogger.d.ts +2 -3
  617. package/dist/types/onchain/utils/createRawTx.d.ts +2 -3
  618. package/dist/types/onchain/utils/etherscan.d.ts +4 -5
  619. package/dist/types/onchain/utils/filterDust.d.ts +4 -5
  620. package/dist/types/onchain/utils/formatter.d.ts +17 -17
  621. package/dist/types/onchain/utils/hex.d.ts +2 -3
  622. package/dist/types/onchain/utils/internal/Hooks.d.ts +3 -4
  623. package/dist/types/onchain/utils/isDust.d.ts +3 -4
  624. package/dist/types/onchain/utils/json.d.ts +3 -4
  625. package/dist/types/onchain/utils/mappers.d.ts +5 -6
  626. package/dist/types/onchain/utils/retry.d.ts +3 -4
  627. package/dist/types/onchain/utils/toAddress.d.ts +2 -3
  628. package/dist/types/onchain/utils/trace.d.ts +8 -9
  629. package/dist/types/onchain/utils/type-utils.d.ts +2 -3
  630. package/dist/types/onchain/utils/viem/cast.d.ts +3 -4
  631. package/dist/types/onchain/utils/viem/executeDelegatedMulticalls.d.ts +3 -4
  632. package/dist/types/onchain/utils/viem/executeMulticallBatches.d.ts +4 -5
  633. package/dist/types/onchain/utils/viem/sendRawTx.d.ts +5 -6
  634. package/dist/types/onchain/utils/viem/simulateCall.d.ts +7 -8
  635. package/dist/types/onchain/utils/viem/simulateMulticall.d.ts +4 -5
  636. package/dist/types/onchain/utils/viem/simulateWithPriceUpdates.d.ts +8 -9
  637. package/dist/types/onchain/utils/viem/watchBlocksAsync.d.ts +4 -4
  638. package/dist/types/onchain/utils/zod.d.ts +4 -5
  639. package/dist/types/onchain/validation/bundles/checkAccountQuotas.d.ts +2 -3
  640. package/dist/types/onchain/validation/bundles/checkCollateralFunding.d.ts +4 -5
  641. package/dist/types/onchain/validation/bundles/checkCreditOperation.d.ts +5 -6
  642. package/dist/types/onchain/validation/bundles/checkHealthFactors.d.ts +4 -5
  643. package/dist/types/onchain/validation/bundles/checkIncreaseDebt.d.ts +2 -3
  644. package/dist/types/onchain/validation/bundles/checkIncreaseQuota.d.ts +2 -3
  645. package/dist/types/onchain/validation/bundles/checkLiquidationEligibility.d.ts +7 -7
  646. package/dist/types/onchain/validation/bundles/checkLiquidationFunding.d.ts +5 -5
  647. package/dist/types/onchain/validation/bundles/checkMarket.d.ts +3 -4
  648. package/dist/types/onchain/validation/bundles/checkMidasAccountGreenlist.d.ts +3 -4
  649. package/dist/types/onchain/validation/bundles/checkObtained.d.ts +2 -3
  650. package/dist/types/onchain/validation/bundles/checkPoolFunding.d.ts +3 -4
  651. package/dist/types/onchain/validation/bundles/checkPoolOperation.d.ts +4 -5
  652. package/dist/types/onchain/validation/bundles/checkQuotaUpdates.d.ts +3 -4
  653. package/dist/types/onchain/validation/bundles/checkRWAOpenRequirements.d.ts +3 -4
  654. package/dist/types/onchain/validation/bundles/checkRWAOpening.d.ts +4 -5
  655. package/dist/types/onchain/validation/bundles/checkWallet.d.ts +4 -5
  656. package/dist/types/onchain/validation/bundles/checkWalletAllowance.d.ts +3 -4
  657. package/dist/types/onchain/validation/bundles/checkWalletBalance.d.ts +3 -4
  658. package/dist/types/onchain/validation/checkLiquidation.d.ts +7 -7
  659. package/dist/types/onchain/validation/checkOperation.d.ts +5 -6
  660. package/dist/types/onchain/validation/checkSimulation.d.ts +5 -6
  661. package/dist/types/onchain/validation/checks/checkBorrowLimit.d.ts +3 -4
  662. package/dist/types/onchain/validation/checks/checkCollateralised.d.ts +3 -4
  663. package/dist/types/onchain/validation/checks/checkCreditAccountFrozen.d.ts +3 -4
  664. package/dist/types/onchain/validation/checks/checkCreditManagerPaused.d.ts +3 -4
  665. package/dist/types/onchain/validation/checks/checkDebtLimits.d.ts +3 -4
  666. package/dist/types/onchain/validation/checks/checkEmergencyLiquidator.d.ts +3 -4
  667. package/dist/types/onchain/validation/checks/checkForbiddenToken.d.ts +3 -4
  668. package/dist/types/onchain/validation/checks/checkLeverage.d.ts +3 -4
  669. package/dist/types/onchain/validation/checks/checkLiquidatorEligible.d.ts +3 -4
  670. package/dist/types/onchain/validation/checks/checkMarketExpired.d.ts +3 -4
  671. package/dist/types/onchain/validation/checks/checkMaxQuota.d.ts +3 -4
  672. package/dist/types/onchain/validation/checks/checkPartiallyLiquidatable.d.ts +15 -0
  673. package/dist/types/onchain/validation/checks/checkPoolLiquidity.d.ts +3 -4
  674. package/dist/types/onchain/validation/checks/checkPoolPaused.d.ts +3 -4
  675. package/dist/types/onchain/validation/checks/checkPoolSunset.d.ts +3 -4
  676. package/dist/types/onchain/validation/checks/checkQuotaActive.d.ts +3 -4
  677. package/dist/types/onchain/validation/checks/checkQuotaChange.d.ts +3 -4
  678. package/dist/types/onchain/validation/checks/checkQuotaCount.d.ts +3 -4
  679. package/dist/types/onchain/validation/checks/checkQuotaLimit.d.ts +3 -4
  680. package/dist/types/onchain/validation/checks/checkReservePriceLimited.d.ts +3 -4
  681. package/dist/types/onchain/validation/checks/index.d.ts +2 -1
  682. package/dist/types/onchain/validation/helpers/amount.d.ts +2 -3
  683. package/dist/types/onchain/validation/helpers/health-factor-limits.d.ts +5 -6
  684. package/dist/types/onchain/validation/helpers/token.d.ts +3 -4
  685. package/dist/types/onchain/validation/index.d.ts +2 -1
  686. package/dist/types/onchain/validation/raise.d.ts +4 -5
  687. package/dist/types/permissionless/api/GearboxPermissionless.d.ts +2 -3
  688. package/dist/types/permissionless/api/chains/ChainsNamespace.d.ts +2 -3
  689. package/dist/types/permissionless/api/chains/schemas.d.ts +5 -6
  690. package/dist/types/permissionless/api/chains/types.d.ts +6 -7
  691. package/dist/types/permissionless/api/deploy/PermissionlessDeploy.d.ts +4 -5
  692. package/dist/types/permissionless/api/deploy/effective-staleness.d.ts +2 -3
  693. package/dist/types/permissionless/api/deploy/types.d.ts +6 -7
  694. package/dist/types/permissionless/api/errors.d.ts +6 -7
  695. package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +4 -5
  696. package/dist/types/permissionless/api/oracles/schemas.d.ts +5 -6
  697. package/dist/types/permissionless/api/oracles/types.d.ts +5 -6
  698. package/dist/types/permissionless/api/schemas.d.ts +4 -5
  699. package/dist/types/permissionless/api/transactions/InstanceOwnerTransactions.d.ts +2 -3
  700. package/dist/types/permissionless/api/transactions/lp-price-feeds.d.ts +3 -4
  701. package/dist/types/permissionless/api/transactions/types.d.ts +7 -8
  702. package/dist/types/permissionless/api/types.d.ts +2 -3
  703. package/dist/types/permissionless/bindings/address-provider.d.ts +2 -3
  704. package/dist/types/permissionless/bindings/bytecode-repository.d.ts +2 -2
  705. package/dist/types/permissionless/bindings/compressors/token-compressor.d.ts +2 -2
  706. package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +2 -2
  707. package/dist/types/permissionless/bindings/cross-chain-multisig.d.ts +4 -4
  708. package/dist/types/permissionless/bindings/factory/abstract-factory.d.ts +2 -3
  709. package/dist/types/permissionless/bindings/factory/credit-factory.d.ts +2 -2
  710. package/dist/types/permissionless/bindings/factory/loss-policy-factory.d.ts +2 -2
  711. package/dist/types/permissionless/bindings/factory/pool-factory.d.ts +2 -2
  712. package/dist/types/permissionless/bindings/factory/price-oracle-factory.d.ts +2 -2
  713. package/dist/types/permissionless/bindings/factory/rate-keeper-factory.d.ts +2 -2
  714. package/dist/types/permissionless/bindings/governance/batches-chain.d.ts +2 -2
  715. package/dist/types/permissionless/bindings/governance/governor.d.ts +2 -2
  716. package/dist/types/permissionless/bindings/governance/timelock.d.ts +2 -3
  717. package/dist/types/permissionless/bindings/governance/types.d.ts +7 -8
  718. package/dist/types/permissionless/bindings/instance-manager.d.ts +2 -2
  719. package/dist/types/permissionless/bindings/market-configurator-factory.d.ts +2 -2
  720. package/dist/types/permissionless/bindings/market-configurator.d.ts +2 -2
  721. package/dist/types/permissionless/bindings/price-feed-store.d.ts +2 -2
  722. package/dist/types/permissionless/bindings/pricefeeds/balancer-stable.d.ts +2 -3
  723. package/dist/types/permissionless/bindings/pricefeeds/balancer-weighted.d.ts +2 -3
  724. package/dist/types/permissionless/bindings/pricefeeds/bounded.d.ts +2 -3
  725. package/dist/types/permissionless/bindings/pricefeeds/composite.d.ts +2 -3
  726. package/dist/types/permissionless/bindings/pricefeeds/constant.d.ts +2 -3
  727. package/dist/types/permissionless/bindings/pricefeeds/curve-crypto.d.ts +2 -3
  728. package/dist/types/permissionless/bindings/pricefeeds/curve-stable.d.ts +2 -3
  729. package/dist/types/permissionless/bindings/pricefeeds/curve-twap.d.ts +2 -3
  730. package/dist/types/permissionless/bindings/pricefeeds/curve-usd.d.ts +2 -3
  731. package/dist/types/permissionless/bindings/pricefeeds/erc4626.d.ts +2 -3
  732. package/dist/types/permissionless/bindings/pricefeeds/external.d.ts +2 -3
  733. package/dist/types/permissionless/bindings/pricefeeds/index.d.ts +2 -3
  734. package/dist/types/permissionless/bindings/pricefeeds/kodiak.d.ts +2 -3
  735. package/dist/types/permissionless/bindings/pricefeeds/mellow-lrt.d.ts +2 -3
  736. package/dist/types/permissionless/bindings/pricefeeds/pendle-pt-twap.d.ts +2 -3
  737. package/dist/types/permissionless/bindings/pricefeeds/pyth.d.ts +2 -3
  738. package/dist/types/permissionless/bindings/pricefeeds/redstone.d.ts +2 -3
  739. package/dist/types/permissionless/bindings/pricefeeds/wsteth.d.ts +2 -3
  740. package/dist/types/permissionless/bindings/pricefeeds/zero.d.ts +2 -3
  741. package/dist/types/permissionless/bindings/router/routing-manager.d.ts +2 -2
  742. package/dist/types/permissionless/bindings/treasury-splitter.d.ts +2 -2
  743. package/dist/types/permissionless/bindings/types.d.ts +17 -18
  744. package/dist/types/permissionless/chains/archive-transport.d.ts +3 -4
  745. package/dist/types/permissionless/chains/chunked-log-transport.d.ts +2 -2
  746. package/dist/types/permissionless/core/auditor.d.ts +2 -3
  747. package/dist/types/permissionless/core/bytecode.d.ts +5 -6
  748. package/dist/types/permissionless/core/pricefeed-builder.d.ts +6 -7
  749. package/dist/types/permissionless/core/pricefeed.d.ts +2 -3
  750. package/dist/types/permissionless/core/proposal.d.ts +5 -6
  751. package/dist/types/permissionless/core/raw-tx.d.ts +2 -3
  752. package/dist/types/permissionless/deployment/addresses.d.ts +2 -3
  753. package/dist/types/permissionless/deployment/mainnet.d.ts +6 -7
  754. package/dist/types/permissionless/plugins/irm/constructor-params-abi.d.ts +8 -8
  755. package/dist/types/permissionless/plugins/loss-policies/constructor-params-abi.d.ts +8 -8
  756. package/dist/types/permissionless/plugins/rate-keepers/constructor-params-abi.d.ts +9 -9
  757. package/dist/types/permissionless/utils/abi-encoder.d.ts +4 -5
  758. package/dist/types/permissionless/utils/block-utils.d.ts +2 -3
  759. package/dist/types/permissionless/utils/create2.d.ts +9 -10
  760. package/dist/types/permissionless/utils/format.d.ts +7 -8
  761. package/dist/types/permissionless/utils/governance/batch.d.ts +5 -6
  762. package/dist/types/permissionless/utils/governance/timelock-txs.d.ts +2 -3
  763. package/dist/types/permissionless/utils/governance/types.d.ts +3 -4
  764. package/dist/types/permissionless/utils/literals.d.ts +8 -9
  765. package/dist/types/permissionless/utils/price-update/get-price-update-tx.d.ts +2 -3
  766. package/dist/types/permissionless/utils/price-update/get-prices.d.ts +2 -3
  767. package/dist/types/permissionless/utils/price-update/get-updatable-feeds.d.ts +3 -4
  768. package/dist/types/permissionless/utils/signature.d.ts +2 -3
  769. package/dist/types/plugins/accounts/AccountsPlugin.d.ts +3 -4
  770. package/dist/types/plugins/accounts-counter/AccountsCounterPlugin.d.ts +3 -4
  771. package/dist/types/plugins/bots/BotsPlugin.d.ts +2 -3
  772. package/dist/types/plugins/bots/PartialLiquidationBotV310Contract.d.ts +3 -3
  773. package/dist/types/plugins/bots/abi/iPartialLiquidationBotV310.d.ts +2 -3
  774. package/dist/types/plugins/bots/config.d.ts +6 -7
  775. package/dist/types/plugins/bots/deserializePartialLiquidationBotParams.d.ts +2 -3
  776. package/dist/types/plugins/bots/types.d.ts +11 -12
  777. package/dist/types/sdk/AbstractNamespace.d.ts +3 -4
  778. package/dist/types/sdk/GearboxSDK.d.ts +3 -4
  779. package/dist/types/sdk/analytics/AnalyticsNamespace.d.ts +2 -3
  780. package/dist/types/sdk/analytics/types.d.ts +3 -4
  781. package/dist/types/sdk/errors/AllSourcesFailedError.d.ts +2 -3
  782. package/dist/types/sdk/errors/MissingSourceError.d.ts +2 -3
  783. package/dist/types/sdk/errors/NoSourceServedError.d.ts +2 -3
  784. package/dist/types/sdk/errors/SourceChainMismatchError.d.ts +3 -4
  785. package/dist/types/sdk/errors/SourceUnavailableError.d.ts +2 -3
  786. package/dist/types/sdk/errors/assertSameChains.d.ts +2 -3
  787. package/dist/types/sdk/errors/everyChainFailed.d.ts +2 -3
  788. package/dist/types/sdk/execute/ExecuteApi.d.ts +2 -3
  789. package/dist/types/sdk/execute/types.d.ts +8 -9
  790. package/dist/types/sdk/liquidations/LiquidationsNamespace.d.ts +11 -4
  791. package/dist/types/sdk/liquidations/types.d.ts +24 -9
  792. package/dist/types/sdk/opportunities/OpportunitiesNamespace.d.ts +2 -3
  793. package/dist/types/sdk/opportunities/types.d.ts +9 -10
  794. package/dist/types/sdk/positions/PositionsNamespace.d.ts +2 -3
  795. package/dist/types/sdk/positions/mergePositionList.d.ts +2 -3
  796. package/dist/types/sdk/positions/types.d.ts +9 -10
  797. package/dist/types/sdk/prepare/PrepareApi.d.ts +3 -4
  798. package/dist/types/sdk/prepare/types.d.ts +33 -33
  799. package/dist/types/sdk/prepare/withdrawable-collaterals.d.ts +2 -3
  800. package/dist/types/sdk/preview/PreviewNamespace.d.ts +2 -3
  801. package/dist/types/sdk/preview/types.d.ts +4 -5
  802. package/dist/types/sdk/rewards/RewardsNamespace.d.ts +2 -3
  803. package/dist/types/sdk/rewards/errors.d.ts +3 -4
  804. package/dist/types/sdk/rewards/helpers.d.ts +7 -8
  805. package/dist/types/sdk/rewards/merkl-api.d.ts +6 -6
  806. package/dist/types/sdk/rewards/toMerklRewards.d.ts +2 -3
  807. package/dist/types/sdk/rewards/toTurtleRewards.d.ts +2 -3
  808. package/dist/types/sdk/rewards/turtle-api.d.ts +7 -8
  809. package/dist/types/sdk/rewards/types.d.ts +5 -6
  810. package/dist/types/sdk/types.d.ts +13 -14
  811. package/dist/types/sdk/utils/filterResponse.d.ts +2 -3
  812. package/dist/types/sdk/utils/mergeChains.d.ts +4 -5
  813. package/dist/types/sdk/utils/types.d.ts +5 -5
  814. package/package.json +15 -15
@@ -4,7 +4,7 @@ import { ChainScopedFilter, FILTER_ALL, FilterAll, Filterable, isFilterSet } fro
4
4
  import { Curator, CuratorName } from "./curators.js";
5
5
  import { DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedWithdrawCollateralIntent } from "./delayed-intents.js";
6
6
  import { IGearboxError } from "./errors/base.js";
7
- import { CreditAccountFrozenError, LiquidatorNotEligibleError, NotEmergencyLiquidatorError, creditAccountFrozen, liquidatorNotEligible, notEmergencyLiquidator } from "./errors/liquidation-errors.js";
7
+ import { CreditAccountFrozenError, LiquidatorNotEligibleError, NotEmergencyLiquidatorError, PartialLiquidationImpossibleError, creditAccountFrozen, liquidatorNotEligible, notEmergencyLiquidator, partialLiquidationImpossible } from "./errors/liquidation-errors.js";
8
8
  import { KYC_REGISTRATION_LINKS, KycProtocol, KycRequirement, MidasOpenAccountRequirements, RWAFactoryType, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOperationArgs, RWAProtocol, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_PROTOCOLS, SECURITIZE_REGISTER_VAULT_TYPES, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature } from "./rwa.js";
9
9
  import { AccountNotMidasGreenlistedError, BorrowLimitCause, CollateralLimits, CreditManagerPausedError, DebtOutOfRangeError, ForbiddenTokenError, InsufficientAllowanceError, InsufficientBalanceError, InsufficientCollateralError, InsufficientPoolLiquidityError, LeverageLimits, LeverageOutOfRangeError, MarketExpiredError, OperationLimitOptions, PoolPausedError, PoolSunsetError, QuotaAboveMaxError, QuotaCountExceededError, QuotaInactiveError, QuotaInputLimits, QuotaLimitReachedError, QuotaUnchangedError, RWAOpenRequirementsError, ReservePriceLimitedError, accountNotMidasGreenlisted, creditManagerPaused, debtOutOfRange, forbiddenToken, insufficientAllowance, insufficientBalance, insufficientCollateral, insufficientPoolLiquidity, leverageOutOfRange, marketExpired, poolPaused, poolSunset, quotaAboveMax, quotaCountExceeded, quotaInactive, quotaLimitReached, quotaUnchanged, reservePriceLimited, rwaOpenRequirementsNotMet } from "./errors/operation-errors.js";
10
10
  import { UnpriceableTokenError, unpriceableTokenError } from "./errors/oracle-errors.js";
@@ -34,4 +34,4 @@ import { MerklReward, PointsReward, Reward } from "./rewards.js";
34
34
  import { kycRequirementSchema, rwaProtocolSchema } from "./rwa.schema.js";
35
35
  import { PositionClaimableWithdrawal, PositionPendingWithdrawal, PositionWithdrawals, WithdrawalOutputAmount } from "./withdrawals.js";
36
36
  import { positionClaimableWithdrawalSchema, positionPendingWithdrawalSchema, positionWithdrawalsSchema, withdrawalOutputAmountSchema } from "./withdrawals.schema.js";
37
- export { ANALYTICS_POSITIONS_DEFAULT_LIMIT, ANALYTICS_POSITIONS_MAX_LIMIT, AccountHoldings, AccountMetrics, AccountNotMidasGreenlistedError, AccountProjection, AccountStateChange, AdjustStrategyPositionPreview, Amount, AnalyticsChartQuery, AnalyticsLiquidationPosition, AnalyticsPoolPosition, AnalyticsPosition, AnalyticsPositionListOptions, AnalyticsPositionOwner, AnalyticsPositionPage, AnalyticsPositionSortField, AnalyticsSortDirection, AnalyticsStrategyPosition, ApyBreakdown, Asset, AssetType, BorrowLimitCause, BorrowRateBreakdown, Bps, CHART_METRIC_UNITS, CHART_RANGES, CHART_UNAVAILABLE_CODES, ChainFailed, ChainId, ChainMetadata, ChainScoped, ChainScopedFilter, ChainSucceeded, ChartBundle, ChartDenomination, ChartMetric, ChartQuery, ChartRange, ChartSeries, ChartSeriesOk, ChartSeriesUnavailable, ChartUnavailableCode, ChartUnit, ChartValue, ChartWindow, CollateralLimits, CompareTag, CompareTolerance, CreditAccountFrozenError, CreditAccountNotEmptyError, CreditAccountNotFoundError, CreditManagerPausedError, CreditOperationMarket, Curator, CuratorName, DataResponse, DataSource, DebtOutOfRangeError, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedReceivedAsset, DelayedStrategyPositionOperationPreview, DelayedWithdrawCollateralIntent, Estimated, EstimatedProjection, ExitStrategyPositionPreview, FILTER_ALL, FilterAll, Filterable, ForbiddenTokenError, GridSampling, IGearboxError, InstantReceivedAsset, InstantStrategyPositionOperationPreview, InsufficientAllowanceError, InsufficientBalanceError, InsufficientCollateralError, InsufficientPoolLiquidityError, InvalidDelayedIntentError, KYC_REGISTRATION_LINKS, KycProtocol, KycRequirement, Leverage, LeverageLimits, LeverageOutOfRangeError, LiquidatableAccount, LiquidatableAccountFilter, LiquidationApproval, LiquidationDetails, LiquidationPosition, LiquidatorNotEligibleError, MalformedTransactionError, MarketExpiredError, MerklReward, MidasOpenAccountRequirements, MultipleDelayedWithdrawalsError, NoDelayedRouteError, NoRecordedIntentError, NoStrategyTargetCollateralError, NotEmergencyLiquidatorError, Notice, NoticeKind, NoticeSubject, OpenStrategyPositionPreview, OperationLimitOptions, OperationPreview, Opportunity, OpportunityBase, OpportunityChartMetric, OpportunityDetail, OpportunityFilter, OpportunityId, OpportunityKey, OpportunityKind, OpportunityTotals, POOL_OPPORTUNITY_CHART_METRICS, POOL_POSITION_CHART_METRICS, PROTOCOL_CHART_METRICS, PnlBreakdown, PointRewards, PointsProgram, PointsProgramPnL, PointsReward, PointsRewardsPnL, PoolOperationPreviewError, PoolOperationType, PoolOpportunity, PoolOpportunityChartMetric, PoolOpportunityDetail, PoolOpportunityKey, PoolOpportunityRef, PoolPausedError, PoolPosition, PoolPositionChartMetric, PoolPositionKey, PoolPositionOperationPreview, PoolPositionRef, PoolSunsetError, Position, PositionChartMetric, PositionClaimableWithdrawal, PositionCollateral, PositionFilter, PositionId, PositionKey, PositionKind, PositionPendingWithdrawal, PositionTransaction, PositionTransactionKind, PositionWithdrawals, PositionsTotals, PreviewOperationInput, PreviewOperationOptions, PriceFeedData, PriceFeedSummary, ProtocolChartMetric, QuotaAboveMaxError, QuotaAsset, QuotaCountExceededError, QuotaInactiveError, QuotaInputLimits, QuotaLimitReachedError, QuotaUnchangedError, RWAFactoryType, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOpenRequirementsError, RWAOperationArgs, RWAProtocol, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_PROTOCOLS, RateCurve, RateCurvePoint, ReceivedAsset, RepayStrategyPositionPreview, ReservePriceLimitedError, ResponseMetadata, Reward, Rewards, RewardsPnL, RoutedField, SDKError, SDKResult, SDKReturn, SECURITIZE_REGISTER_VAULT_TYPES, STRATEGY_OPPORTUNITY_CHART_METRICS, STRATEGY_POSITION_CHART_METRICS, STRATEGY_POSITION_COLLATERAL_ERROR, SafeValue, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, StrategyOpportunity, StrategyOpportunityChartMetric, StrategyOpportunityDetail, StrategyOpportunityKey, StrategyOpportunityRef, StrategyPosition, StrategyPositionChartMetric, StrategyPositionKey, StrategyPositionRef, Timestamp, Token, TokenAmount, TokenQuotaRate, TokenRewards, TokenRewardsPnL, ToleranceCompareTag, TxCall, UnderlyingToken, UnexpectedFailureError, UnpriceableTokenError, UnsupportedCollateralTokenError, UnsupportedOperationError, UnsupportedPoolFunctionError, UnsupportedTargetError, UnsupportedTokenPairError, UnsupportedZapperFunctionError, WithdrawalInProgressError, WithdrawalOutputAmount, accountNotMidasGreenlisted, amountSchema, analyticsChartQueryOptionsSchema, analyticsChartQueryParamsSchema, analyticsChartQuerySchema, analyticsPositionListOptionsSchema, analyticsPositionListQueryParamsSchema, analyticsPositionListQuerySchema, analyticsPositionPageSchema, analyticsPositionSchema, analyticsPositionSortFieldSchema, analyticsSortDirectionSchema, apyBreakdownSchema, asEstimated, assetTypeSchema, backendPreferred, booleanParamSchema, borrowRateBreakdownSchema, bpsSchema, chainFailedSchema, chainIdSchema, chainMetadataSchema, chainSucceededSchema, chartBundleSchemaFor, chartDenominationSchema, chartMetricSchema, chartQueryCodec, chartQueryParamsSchema, chartQuerySchema, chartRangeSchema, chartSeriesSchema, chartValueSchema, chartWindowSchema, compareTagOf, creditAccountFrozen, creditAccountNotEmpty, creditAccountNotFound, creditManagerPaused, curatorNameSchema, curatorSchema, dataSourceSchema, debtOutOfRange, delayedReceivedAssetSchema, encodeFlag, filterAllSchema, filterable, forbiddenToken, instantReceivedAssetSchema, insufficientAllowance, insufficientBalance, insufficientCollateral, insufficientPoolLiquidity, isFilterSet, kycRequirementSchema, leverageOutOfRange, leverageSchema, liquidatableAccountFilterSchema, liquidatableAccountSchema, liquidationApprovalSchema, liquidationDetailsSchema, liquidationPositionId, liquidationPositionSchema, liquidatorNotEligible, malformedTransaction, marketExpired, matchesLiquidatableAccountFilter, matchesOpportunityFilter, matchesPositionFilter, multipleDelayedWithdrawals, noDelayedRoute, noRecordedIntent, noStrategyTargetCollateral, notEmergencyLiquidator, noticeKindSchema, noticeSchema, offchainOnly, onchainOnly, opportunityBaseSchema, opportunityDetailSchema, opportunityFilterQueryParamsSchema, opportunityFilterQuerySchema, opportunityFilterSchema, opportunityId, opportunityKeySchema, opportunityKindSchema, opportunitySchema, opportunityTotalsSchema, pnlBreakdownSchema, pointRewardsSchema, pointsProgramPnLSchema, pointsProgramSchema, pointsRewardsPnLSchema, poolOpportunityChartMetricSchema, poolOpportunityDetailSchema, poolOpportunityId, poolOpportunityKeySchema, poolOpportunitySchema, poolPaused, poolPositionChartMetricSchema, poolPositionId, poolPositionKeySchema, poolPositionSchema, poolSunset, positionClaimableWithdrawalSchema, positionCollateralSchema, positionFilterQueryParamsSchema, positionFilterQuerySchema, positionFilterSchema, positionId, positionKeySchema, positionKindSchema, positionPendingWithdrawalSchema, positionSchema, positionTransactionKindSchema, positionTransactionSchema, positionWithdrawalsSchema, positionsTotalsSchema, priceFeedDataSchema, priceFeedSummarySchema, protocolChartMetricSchema, quotaAboveMax, quotaAssetSchema, quotaCountExceeded, quotaInactive, quotaLimitReached, quotaUnchanged, rateCurvePointSchema, rateCurveSchema, receivedAssetSchema, reservePriceLimited, responseMetadataSchema, responseSchema, rewardsPnLSchema, rewardsSchema, rwaOpenRequirementsNotMet, rwaProtocolSchema, safeValue, sdkErr, sdkOk, strategyOpportunityChartMetricSchema, strategyOpportunityDetailSchema, strategyOpportunityId, strategyOpportunityKeySchema, strategyOpportunitySchema, strategyPositionChartMetricSchema, strategyPositionId, strategyPositionKeySchema, strategyPositionSchema, timestampSchema, tokenAmountSchema, tokenQuotaRateSchema, tokenRewardsPnLSchema, tokenRewardsSchema, tokenSchema, tolerance, txCallSchema, underlyingTokenSchema, unexpectedFailure, unpriceableTokenError, unsupportedCollateralToken, unsupportedTokenPair, withdrawalInProgress, withdrawalOutputAmountSchema };
37
+ export { ANALYTICS_POSITIONS_DEFAULT_LIMIT, ANALYTICS_POSITIONS_MAX_LIMIT, AccountHoldings, AccountMetrics, AccountNotMidasGreenlistedError, AccountProjection, AccountStateChange, AdjustStrategyPositionPreview, Amount, AnalyticsChartQuery, AnalyticsLiquidationPosition, AnalyticsPoolPosition, AnalyticsPosition, AnalyticsPositionListOptions, AnalyticsPositionOwner, AnalyticsPositionPage, AnalyticsPositionSortField, AnalyticsSortDirection, AnalyticsStrategyPosition, ApyBreakdown, Asset, AssetType, BorrowLimitCause, BorrowRateBreakdown, Bps, CHART_METRIC_UNITS, CHART_RANGES, CHART_UNAVAILABLE_CODES, ChainFailed, ChainId, ChainMetadata, ChainScoped, ChainScopedFilter, ChainSucceeded, ChartBundle, ChartDenomination, ChartMetric, ChartQuery, ChartRange, ChartSeries, ChartSeriesOk, ChartSeriesUnavailable, ChartUnavailableCode, ChartUnit, ChartValue, ChartWindow, CollateralLimits, CompareTag, CompareTolerance, CreditAccountFrozenError, CreditAccountNotEmptyError, CreditAccountNotFoundError, CreditManagerPausedError, CreditOperationMarket, Curator, CuratorName, DataResponse, DataSource, DebtOutOfRangeError, DelayedAddCollateralIntent, DelayedCloseAccountIntent, DelayedDecreaseLeverageIntent, DelayedDepositAndIncreaseLeverageIntent, DelayedDepositIntent, DelayedIncreaseLeverageIntent, DelayedIntent, DelayedReceivedAsset, DelayedStrategyPositionOperationPreview, DelayedWithdrawCollateralIntent, Estimated, EstimatedProjection, ExitStrategyPositionPreview, FILTER_ALL, FilterAll, Filterable, ForbiddenTokenError, GridSampling, IGearboxError, InstantReceivedAsset, InstantStrategyPositionOperationPreview, InsufficientAllowanceError, InsufficientBalanceError, InsufficientCollateralError, InsufficientPoolLiquidityError, InvalidDelayedIntentError, KYC_REGISTRATION_LINKS, KycProtocol, KycRequirement, Leverage, LeverageLimits, LeverageOutOfRangeError, LiquidatableAccount, LiquidatableAccountFilter, LiquidationApproval, LiquidationDetails, LiquidationPosition, LiquidatorNotEligibleError, MalformedTransactionError, MarketExpiredError, MerklReward, MidasOpenAccountRequirements, MultipleDelayedWithdrawalsError, NoDelayedRouteError, NoRecordedIntentError, NoStrategyTargetCollateralError, NotEmergencyLiquidatorError, Notice, NoticeKind, NoticeSubject, OpenStrategyPositionPreview, OperationLimitOptions, OperationPreview, Opportunity, OpportunityBase, OpportunityChartMetric, OpportunityDetail, OpportunityFilter, OpportunityId, OpportunityKey, OpportunityKind, OpportunityTotals, POOL_OPPORTUNITY_CHART_METRICS, POOL_POSITION_CHART_METRICS, PROTOCOL_CHART_METRICS, PartialLiquidationImpossibleError, PnlBreakdown, PointRewards, PointsProgram, PointsProgramPnL, PointsReward, PointsRewardsPnL, PoolOperationPreviewError, PoolOperationType, PoolOpportunity, PoolOpportunityChartMetric, PoolOpportunityDetail, PoolOpportunityKey, PoolOpportunityRef, PoolPausedError, PoolPosition, PoolPositionChartMetric, PoolPositionKey, PoolPositionOperationPreview, PoolPositionRef, PoolSunsetError, Position, PositionChartMetric, PositionClaimableWithdrawal, PositionCollateral, PositionFilter, PositionId, PositionKey, PositionKind, PositionPendingWithdrawal, PositionTransaction, PositionTransactionKind, PositionWithdrawals, PositionsTotals, PreviewOperationInput, PreviewOperationOptions, PriceFeedData, PriceFeedSummary, ProtocolChartMetric, QuotaAboveMaxError, QuotaAsset, QuotaCountExceededError, QuotaInactiveError, QuotaInputLimits, QuotaLimitReachedError, QuotaUnchangedError, RWAFactoryType, RWAMissingOpenAccountRequirements, RWAOpenAccountRequirements, RWAOpenRequirementsError, RWAOperationArgs, RWAProtocol, RWA_FACTORY_SECURITIZE, RWA_FACTORY_TYPES, RWA_PROTOCOLS, RateCurve, RateCurvePoint, ReceivedAsset, RepayStrategyPositionPreview, ReservePriceLimitedError, ResponseMetadata, Reward, Rewards, RewardsPnL, RoutedField, SDKError, SDKResult, SDKReturn, SECURITIZE_REGISTER_VAULT_TYPES, STRATEGY_OPPORTUNITY_CHART_METRICS, STRATEGY_POSITION_CHART_METRICS, STRATEGY_POSITION_COLLATERAL_ERROR, SafeValue, SecuritizeMissingOpenAccountRequirements, SecuritizeOpenAccountRequirements, SecuritizeOperationArgs, SecuritizeRegisterMessage, SecuritizeRegisterVaultMessage, SecuritizeSignature, StrategyOpportunity, StrategyOpportunityChartMetric, StrategyOpportunityDetail, StrategyOpportunityKey, StrategyOpportunityRef, StrategyPosition, StrategyPositionChartMetric, StrategyPositionKey, StrategyPositionRef, Timestamp, Token, TokenAmount, TokenQuotaRate, TokenRewards, TokenRewardsPnL, ToleranceCompareTag, TxCall, UnderlyingToken, UnexpectedFailureError, UnpriceableTokenError, UnsupportedCollateralTokenError, UnsupportedOperationError, UnsupportedPoolFunctionError, UnsupportedTargetError, UnsupportedTokenPairError, UnsupportedZapperFunctionError, WithdrawalInProgressError, WithdrawalOutputAmount, accountNotMidasGreenlisted, amountSchema, analyticsChartQueryOptionsSchema, analyticsChartQueryParamsSchema, analyticsChartQuerySchema, analyticsPositionListOptionsSchema, analyticsPositionListQueryParamsSchema, analyticsPositionListQuerySchema, analyticsPositionPageSchema, analyticsPositionSchema, analyticsPositionSortFieldSchema, analyticsSortDirectionSchema, apyBreakdownSchema, asEstimated, assetTypeSchema, backendPreferred, booleanParamSchema, borrowRateBreakdownSchema, bpsSchema, chainFailedSchema, chainIdSchema, chainMetadataSchema, chainSucceededSchema, chartBundleSchemaFor, chartDenominationSchema, chartMetricSchema, chartQueryCodec, chartQueryParamsSchema, chartQuerySchema, chartRangeSchema, chartSeriesSchema, chartValueSchema, chartWindowSchema, compareTagOf, creditAccountFrozen, creditAccountNotEmpty, creditAccountNotFound, creditManagerPaused, curatorNameSchema, curatorSchema, dataSourceSchema, debtOutOfRange, delayedReceivedAssetSchema, encodeFlag, filterAllSchema, filterable, forbiddenToken, instantReceivedAssetSchema, insufficientAllowance, insufficientBalance, insufficientCollateral, insufficientPoolLiquidity, isFilterSet, kycRequirementSchema, leverageOutOfRange, leverageSchema, liquidatableAccountFilterSchema, liquidatableAccountSchema, liquidationApprovalSchema, liquidationDetailsSchema, liquidationPositionId, liquidationPositionSchema, liquidatorNotEligible, malformedTransaction, marketExpired, matchesLiquidatableAccountFilter, matchesOpportunityFilter, matchesPositionFilter, multipleDelayedWithdrawals, noDelayedRoute, noRecordedIntent, noStrategyTargetCollateral, notEmergencyLiquidator, noticeKindSchema, noticeSchema, offchainOnly, onchainOnly, opportunityBaseSchema, opportunityDetailSchema, opportunityFilterQueryParamsSchema, opportunityFilterQuerySchema, opportunityFilterSchema, opportunityId, opportunityKeySchema, opportunityKindSchema, opportunitySchema, opportunityTotalsSchema, partialLiquidationImpossible, pnlBreakdownSchema, pointRewardsSchema, pointsProgramPnLSchema, pointsProgramSchema, pointsRewardsPnLSchema, poolOpportunityChartMetricSchema, poolOpportunityDetailSchema, poolOpportunityId, poolOpportunityKeySchema, poolOpportunitySchema, poolPaused, poolPositionChartMetricSchema, poolPositionId, poolPositionKeySchema, poolPositionSchema, poolSunset, positionClaimableWithdrawalSchema, positionCollateralSchema, positionFilterQueryParamsSchema, positionFilterQuerySchema, positionFilterSchema, positionId, positionKeySchema, positionKindSchema, positionPendingWithdrawalSchema, positionSchema, positionTransactionKindSchema, positionTransactionSchema, positionWithdrawalsSchema, positionsTotalsSchema, priceFeedDataSchema, priceFeedSummarySchema, protocolChartMetricSchema, quotaAboveMax, quotaAssetSchema, quotaCountExceeded, quotaInactive, quotaLimitReached, quotaUnchanged, rateCurvePointSchema, rateCurveSchema, receivedAssetSchema, reservePriceLimited, responseMetadataSchema, responseSchema, rewardsPnLSchema, rewardsSchema, rwaOpenRequirementsNotMet, rwaProtocolSchema, safeValue, sdkErr, sdkOk, strategyOpportunityChartMetricSchema, strategyOpportunityDetailSchema, strategyOpportunityId, strategyOpportunityKeySchema, strategyOpportunitySchema, strategyPositionChartMetricSchema, strategyPositionId, strategyPositionKeySchema, strategyPositionSchema, timestampSchema, tokenAmountSchema, tokenQuotaRateSchema, tokenRewardsPnLSchema, tokenRewardsSchema, tokenSchema, tolerance, txCallSchema, underlyingTokenSchema, unexpectedFailure, unpriceableTokenError, unsupportedCollateralToken, unsupportedTokenPair, withdrawalInProgress, withdrawalOutputAmountSchema };
@@ -11,7 +11,7 @@ import { Address } from "viem";
11
11
  * `"all"` to say the same thing explicitly, which is what a UI whose state has
12
12
  * an "any" option holds, see {@link Filterable}. Conditions combine with AND.
13
13
  **/
14
- interface LiquidatableAccountFilter extends ChainScopedFilter {
14
+ export interface LiquidatableAccountFilter extends ChainScopedFilter {
15
15
  /**
16
16
  * Keep only accounts whose underlying — the token of
17
17
  * {@link LiquidatableAccount.totalValue} — is of this class.
@@ -40,7 +40,7 @@ interface LiquidatableAccountFilter extends ChainScopedFilter {
40
40
  * it — through {@link CreditOperationMarket} — so a liquidation screen labels
41
41
  * the manager, its curator and the discount from the row it already holds.
42
42
  **/
43
- interface LiquidatableAccount extends CreditOperationMarket {
43
+ export interface LiquidatableAccount extends CreditOperationMarket {
44
44
  /**
45
45
  * Chain the account lives on.
46
46
  **/
@@ -105,11 +105,11 @@ interface LiquidatableAccount extends CreditOperationMarket {
105
105
  * @param filter - Conditions to test against. An absent filter matches
106
106
  * anything.
107
107
  **/
108
- declare function matchesLiquidatableAccountFilter(account: LiquidatableAccount, filter?: LiquidatableAccountFilter): boolean;
108
+ export declare function matchesLiquidatableAccountFilter(account: LiquidatableAccount, filter?: LiquidatableAccountFilter): boolean;
109
109
  /**
110
110
  * A token received directly from the credit account balance upon liquidation.
111
111
  **/
112
- interface InstantReceivedAsset extends TokenAmount {
112
+ export interface InstantReceivedAsset extends TokenAmount {
113
113
  isDelayed: false;
114
114
  }
115
115
  /**
@@ -118,7 +118,7 @@ interface InstantReceivedAsset extends TokenAmount {
118
118
  *
119
119
  * The amount is exact for claimable withdrawals, estimated for pending ones.
120
120
  **/
121
- interface DelayedReceivedAsset extends TokenAmount {
121
+ export interface DelayedReceivedAsset extends TokenAmount {
122
122
  isDelayed: true;
123
123
  /**
124
124
  * Redeemer contract transferred to the liquidator, from which the token
@@ -132,19 +132,20 @@ interface DelayedReceivedAsset extends TokenAmount {
132
132
  claimableAt?: Timestamp;
133
133
  }
134
134
  /**
135
- * A single asset the liquidator receives when fully liquidating an account.
135
+ * A single asset the liquidator receives when liquidating an account.
136
136
  **/
137
- type ReceivedAsset = InstantReceivedAsset | DelayedReceivedAsset;
137
+ export type ReceivedAsset = InstantReceivedAsset | DelayedReceivedAsset;
138
138
  /**
139
139
  * ERC-20 approval the liquidator must grant before sending the liquidation
140
140
  * transaction.
141
141
  *
142
- * The token is the one the compressor reports for the liquidation path it
143
- * selected: the credit manager underlying for standard liquidations, the
144
- * unwrapped stablecoin (e.g. USDC) for RWA ones. The value is what the
145
- * transaction pulls plus 0.5% of headroom.
142
+ * The token is the one the liquidator pays in: the credit manager underlying
143
+ * for standard and partial liquidations, the unwrapped stablecoin (e.g. USDC)
144
+ * for RWA ones. The value is what the liquidator pays plus a 0.5% buffer: the
145
+ * full liquidation amount is an estimate, and the partial one grows with the
146
+ * interest accrued before the transaction is built.
146
147
  **/
147
- interface LiquidationApproval extends TokenAmount {
148
+ export interface LiquidationApproval extends TokenAmount {
148
149
  /**
149
150
  * Address to approve
150
151
  **/
@@ -153,7 +154,7 @@ interface LiquidationApproval extends TokenAmount {
153
154
  /**
154
155
  * A single delayed-withdrawal position owned by the liquidator.
155
156
  **/
156
- interface LiquidationPosition {
157
+ export interface LiquidationPosition {
157
158
  /**
158
159
  * Discriminates this position from the other kinds a wallet can hold.
159
160
  **/
@@ -194,8 +195,12 @@ interface LiquidationPosition {
194
195
  /**
195
196
  * Detailed information about a liquidatable credit account, including
196
197
  * the full breakdown of assets the liquidator receives.
198
+ *
199
+ * Describes either a full liquidation, with exact amounts reported by the
200
+ * liquidation compressor, or a partial one, whose amounts are a local estimate
201
+ * from the synced oracle state.
197
202
  **/
198
- interface LiquidationDetails extends LiquidatableAccount {
203
+ export interface LiquidationDetails extends LiquidatableAccount {
199
204
  /**
200
205
  * Exact amount the liquidator pays for the liquidation, superseding
201
206
  * the estimate of {@link LiquidatableAccount}. The token is
@@ -205,9 +210,9 @@ interface LiquidationDetails extends LiquidatableAccount {
205
210
  **/
206
211
  repaymentAmount: TokenAmount;
207
212
  /**
208
- * Assets the liquidator receives upon full liquidation: direct credit
213
+ * Assets the liquidator receives: for a full liquidation, direct credit
209
214
  * account balances plus outputs of delayed withdrawals (claimable and
210
- * pending).
215
+ * pending); for a partial one, the single seized collateral token.
211
216
  **/
212
217
  receivedAssets: ReceivedAsset[];
213
218
  /**
@@ -239,6 +244,12 @@ interface LiquidationDetails extends LiquidatableAccount {
239
244
  * liquidator, i.e. {@link repaymentAmount} is zero.
240
245
  **/
241
246
  approve?: LiquidationApproval;
247
+ /**
248
+ * Partial liquidations only: `false` when the account is neither unhealthy
249
+ * nor expired, when no partial liquidation brings it to the target health
250
+ * factor without leaving it with less than the minimum debt, or when it is
251
+ * already there. `undefined` for full liquidations.
252
+ **/
253
+ isPartiallyLiquidatable?: boolean;
242
254
  }
243
- //#endregion
244
- export { DelayedReceivedAsset, InstantReceivedAsset, LiquidatableAccount, LiquidatableAccountFilter, LiquidationApproval, LiquidationDetails, LiquidationPosition, ReceivedAsset, matchesLiquidatableAccountFilter };
255
+ //#endregion
@@ -7,7 +7,7 @@ import { z } from "zod/v4";
7
7
  /**
8
8
  * {@link LiquidatableAccountFilter}
9
9
  **/
10
- declare const liquidatableAccountFilterSchema: z.ZodObject<{
10
+ export declare const liquidatableAccountFilterSchema: z.ZodObject<{
11
11
  chainIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
12
12
  underlyingType: z.ZodOptional<z.ZodUnion<[z.ZodUnion<readonly [z.ZodLiteral<"Stable">, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>, z.ZodLiteral<"all">]>>;
13
13
  paused: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"all">]>>;
@@ -17,7 +17,7 @@ declare const liquidatableAccountFilterSchema: z.ZodObject<{
17
17
  /**
18
18
  * {@link LiquidatableAccount}
19
19
  **/
20
- declare const liquidatableAccountSchema: z.ZodObject<{
20
+ export declare const liquidatableAccountSchema: z.ZodObject<{
21
21
  creditManager: z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
22
22
  name: z.ZodString;
23
23
  underlyingToken: z.ZodObject<{
@@ -103,7 +103,7 @@ declare const liquidatableAccountSchema: z.ZodObject<{
103
103
  /**
104
104
  * {@link InstantReceivedAsset}
105
105
  **/
106
- declare const instantReceivedAssetSchema: z.ZodObject<{
106
+ export declare const instantReceivedAssetSchema: z.ZodObject<{
107
107
  value: z.ZodCodec<z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodBigInt>;
108
108
  valueUsd: z.ZodNullable<z.ZodNumber>;
109
109
  token: z.ZodObject<{
@@ -119,7 +119,7 @@ declare const instantReceivedAssetSchema: z.ZodObject<{
119
119
  /**
120
120
  * {@link DelayedReceivedAsset}
121
121
  **/
122
- declare const delayedReceivedAssetSchema: z.ZodObject<{
122
+ export declare const delayedReceivedAssetSchema: z.ZodObject<{
123
123
  value: z.ZodCodec<z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodBigInt>;
124
124
  valueUsd: z.ZodNullable<z.ZodNumber>;
125
125
  token: z.ZodObject<{
@@ -137,7 +137,7 @@ declare const delayedReceivedAssetSchema: z.ZodObject<{
137
137
  /**
138
138
  * {@link ReceivedAsset}
139
139
  **/
140
- declare const receivedAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
140
+ export declare const receivedAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
141
141
  value: z.ZodCodec<z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodBigInt>;
142
142
  valueUsd: z.ZodNullable<z.ZodNumber>;
143
143
  token: z.ZodObject<{
@@ -167,7 +167,7 @@ declare const receivedAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
167
167
  /**
168
168
  * {@link LiquidationApproval}
169
169
  **/
170
- declare const liquidationApprovalSchema: z.ZodObject<{
170
+ export declare const liquidationApprovalSchema: z.ZodObject<{
171
171
  value: z.ZodCodec<z.ZodUnion<[z.ZodString, z.ZodBigInt]>, z.ZodBigInt>;
172
172
  valueUsd: z.ZodNullable<z.ZodNumber>;
173
173
  token: z.ZodObject<{
@@ -183,7 +183,7 @@ declare const liquidationApprovalSchema: z.ZodObject<{
183
183
  /**
184
184
  * {@link LiquidationPosition}
185
185
  **/
186
- declare const liquidationPositionSchema: z.ZodObject<{
186
+ export declare const liquidationPositionSchema: z.ZodObject<{
187
187
  kind: z.ZodLiteral<"liquidation">;
188
188
  name: z.ZodString;
189
189
  chainId: z.ZodNumber;
@@ -218,7 +218,7 @@ declare const liquidationPositionSchema: z.ZodObject<{
218
218
  /**
219
219
  * {@link LiquidationDetails}
220
220
  **/
221
- declare const liquidationDetailsSchema: z.ZodObject<{
221
+ export declare const liquidationDetailsSchema: z.ZodObject<{
222
222
  creditManager: z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
223
223
  name: z.ZodString;
224
224
  underlyingToken: z.ZodObject<{
@@ -351,6 +351,6 @@ declare const liquidationDetailsSchema: z.ZodObject<{
351
351
  }, z.core.$strip>;
352
352
  spender: z.ZodCodec<z.ZodString, z.ZodCustom<`0x${string}`, `0x${string}`>>;
353
353
  }, z.core.$strip>>;
354
+ isPartiallyLiquidatable: z.ZodOptional<z.ZodBoolean>;
354
355
  }, z.core.$strip>;
355
- //#endregion
356
- export { delayedReceivedAssetSchema, instantReceivedAssetSchema, liquidatableAccountFilterSchema, liquidatableAccountSchema, liquidationApprovalSchema, liquidationDetailsSchema, liquidationPositionSchema, receivedAssetSchema };
356
+ //#endregion
@@ -5,14 +5,14 @@ import { StrategyPosition } from "./positions.js";
5
5
  /**
6
6
  * What a notice is about, and therefore how a consumer shows it.
7
7
  **/
8
- type NoticeKind = "expired" | "externalRewards" | "extraApy" | "warning" | "disclaimer";
8
+ export type NoticeKind = "expired" | "externalRewards" | "extraApy" | "warning" | "disclaimer";
9
9
  /**
10
10
  * A banner the backend asks a consumer to show for a pool opportunity or a
11
11
  * strategy position: an expired account, rewards paid outside the protocol,
12
12
  * a caveat on the yield. The message is final text; the consumer adds
13
13
  * nothing.
14
14
  **/
15
- interface Notice {
15
+ export interface Notice {
16
16
  kind: NoticeKind;
17
17
  message: string;
18
18
  /**
@@ -24,6 +24,5 @@ interface Notice {
24
24
  * What a notice is attached to: a pool opportunity or a strategy position —
25
25
  * the two entities a consumer shows banners for.
26
26
  **/
27
- type NoticeSubject = PoolOpportunity | StrategyPosition;
28
- //#endregion
29
- export { Notice, NoticeKind, NoticeSubject };
27
+ export type NoticeSubject = PoolOpportunity | StrategyPosition;
28
+ //#endregion
@@ -3,11 +3,11 @@ import { z } from "zod/v4";
3
3
  /**
4
4
  * {@link NoticeKind}
5
5
  **/
6
- declare const noticeKindSchema: z.ZodUnion<readonly [z.ZodLiteral<"expired">, z.ZodLiteral<"externalRewards">, z.ZodLiteral<"extraApy">, z.ZodLiteral<"warning">, z.ZodLiteral<"disclaimer">]>;
6
+ export declare const noticeKindSchema: z.ZodUnion<readonly [z.ZodLiteral<"expired">, z.ZodLiteral<"externalRewards">, z.ZodLiteral<"extraApy">, z.ZodLiteral<"warning">, z.ZodLiteral<"disclaimer">]>;
7
7
  /**
8
8
  * {@link Notice}
9
9
  **/
10
- declare const noticeSchema: z.ZodObject<{
10
+ export declare const noticeSchema: z.ZodObject<{
11
11
  kind: z.ZodUnion<readonly [z.ZodLiteral<"expired">, z.ZodLiteral<"externalRewards">, z.ZodLiteral<"extraApy">, z.ZodLiteral<"warning">, z.ZodLiteral<"disclaimer">]>;
12
12
  message: z.ZodString;
13
13
  token: z.ZodOptional<z.ZodObject<{
@@ -19,5 +19,4 @@ declare const noticeSchema: z.ZodObject<{
19
19
  assetType: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"Stable">, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>;
20
20
  }, z.core.$strip>>;
21
21
  }, z.core.$strip>;
22
- //#endregion
23
- export { noticeKindSchema, noticeSchema };
22
+ //#endregion
@@ -11,13 +11,13 @@ import { Address } from "viem";
11
11
  * - `"strategy"` — leveraged position: deposit collateral, borrow the
12
12
  * underlying against it inside a credit account.
13
13
  **/
14
- type OpportunityKind = "pool" | "strategy";
14
+ export type OpportunityKind = "pool" | "strategy";
15
15
  /**
16
16
  * An off-chain points program a position accrues towards, e.g. a partner
17
17
  * protocol's season points. Points have no APY, so they are listed separately
18
18
  * from token rewards.
19
19
  **/
20
- interface PointsProgram {
20
+ export interface PointsProgram {
21
21
  /**
22
22
  * Stable slug of the program.
23
23
  *
@@ -41,7 +41,7 @@ interface PointsProgram {
41
41
  /**
42
42
  * Rewards in a token, e.g. a liquidity mining program.
43
43
  **/
44
- interface TokenRewards {
44
+ export interface TokenRewards {
45
45
  kind: "token";
46
46
  /**
47
47
  * Token the rewards are paid in.
@@ -68,7 +68,7 @@ interface TokenRewards {
68
68
  /**
69
69
  * Rewards accrued as points rather than tokens.
70
70
  **/
71
- interface PointRewards {
71
+ export interface PointRewards {
72
72
  kind: "point";
73
73
  /**
74
74
  * Programs the position accrues points in.
@@ -78,12 +78,12 @@ interface PointRewards {
78
78
  /**
79
79
  * Any reward stream attached to an opportunity.
80
80
  **/
81
- type Rewards = TokenRewards | PointRewards;
81
+ export type Rewards = TokenRewards | PointRewards;
82
82
  /**
83
83
  * A yield figure split into the part the protocol itself generates and the
84
84
  * incentives layered on top.
85
85
  **/
86
- interface ApyBreakdown {
86
+ export interface ApyBreakdown {
87
87
  /**
88
88
  * Everything combined, in basis points: the number a UI shows as "APY".
89
89
  *
@@ -113,7 +113,7 @@ interface ApyBreakdown {
113
113
  /**
114
114
  * Fields both opportunity kinds share.
115
115
  **/
116
- interface OpportunityBase {
116
+ export interface OpportunityBase {
117
117
  /**
118
118
  * Chain the opportunity lives on.
119
119
  **/
@@ -166,7 +166,7 @@ interface OpportunityBase {
166
166
  *
167
167
  * Identified by `(chainId, pool)`, see {@link poolOpportunityId}.
168
168
  **/
169
- interface PoolOpportunity extends OpportunityBase {
169
+ export interface PoolOpportunity extends OpportunityBase {
170
170
  kind: "pool";
171
171
  /**
172
172
  * Address of the ERC-4626 pool contract.
@@ -214,7 +214,7 @@ interface PoolOpportunity extends OpportunityBase {
214
214
  * token that manager is configured around. Identified by
215
215
  * `(chainId, creditManager)`, see {@link strategyOpportunityId}.
216
216
  **/
217
- interface StrategyOpportunity extends OpportunityBase {
217
+ export interface StrategyOpportunity extends OpportunityBase {
218
218
  kind: "strategy";
219
219
  /**
220
220
  * Address of the credit manager the position is opened in.
@@ -372,12 +372,12 @@ interface StrategyOpportunity extends OpportunityBase {
372
372
  /**
373
373
  * A row of the opportunities list.
374
374
  **/
375
- type Opportunity = PoolOpportunity | StrategyOpportunity;
375
+ export type Opportunity = PoolOpportunity | StrategyOpportunity;
376
376
  /**
377
377
  * Canonical id of an opportunity: the string used to match a row read from the
378
378
  * chain with the same row served by the backend.
379
379
  **/
380
- type OpportunityId = string;
380
+ export type OpportunityId = string;
381
381
  /**
382
382
  * Builds the canonical id of a pool opportunity.
383
383
  *
@@ -386,7 +386,7 @@ type OpportunityId = string;
386
386
  * poolOpportunityId(1, "0xda00...") // "1:0xda00..."
387
387
  * ```
388
388
  **/
389
- declare function poolOpportunityId(chainId: ChainId, pool: Address): OpportunityId;
389
+ export declare function poolOpportunityId(chainId: ChainId, pool: Address): OpportunityId;
390
390
  /**
391
391
  * Builds the canonical id of a strategy opportunity.
392
392
  *
@@ -395,11 +395,11 @@ declare function poolOpportunityId(chainId: ChainId, pool: Address): Opportunity
395
395
  * strategyOpportunityId(1, "0x3eb9...") // "1:0x3eb9..."
396
396
  * ```
397
397
  **/
398
- declare function strategyOpportunityId(chainId: ChainId, creditManager: Address): OpportunityId;
398
+ export declare function strategyOpportunityId(chainId: ChainId, creditManager: Address): OpportunityId;
399
399
  /**
400
400
  * Canonical id of any opportunity, dispatching on {@link Opportunity.kind}.
401
401
  **/
402
- declare function opportunityId(opportunity: Opportunity): OpportunityId;
402
+ export declare function opportunityId(opportunity: Opportunity): OpportunityId;
403
403
  /**
404
404
  * Optional narrowing of an opportunities list.
405
405
  *
@@ -411,7 +411,7 @@ declare function opportunityId(opportunity: Opportunity): OpportunityId;
411
411
  * `"all"` to say the same thing explicitly, which is what a UI whose state has
412
412
  * an "any" option holds, see {@link Filterable}. Conditions combine with AND.
413
413
  **/
414
- interface OpportunityFilter extends ChainScopedFilter {
414
+ export interface OpportunityFilter extends ChainScopedFilter {
415
415
  /**
416
416
  * Keep only pools or only strategies.
417
417
  **/
@@ -448,11 +448,11 @@ interface OpportunityFilter extends ChainScopedFilter {
448
448
  * @param filter - Conditions to test against. An absent filter matches
449
449
  * anything.
450
450
  **/
451
- declare function matchesOpportunityFilter(opportunity: Opportunity, filter?: OpportunityFilter): boolean;
451
+ export declare function matchesOpportunityFilter(opportunity: Opportunity, filter?: OpportunityFilter): boolean;
452
452
  /**
453
453
  * One point of an interest rate curve.
454
454
  **/
455
- interface RateCurvePoint {
455
+ export interface RateCurvePoint {
456
456
  /**
457
457
  * Utilization this point is sampled at, in basis points.
458
458
  *
@@ -478,7 +478,7 @@ interface RateCurvePoint {
478
478
  * The pool's interest rate model, evaluated into chart-ready points so that no
479
479
  * consumer has to reimplement the model.
480
480
  **/
481
- interface RateCurve {
481
+ export interface RateCurve {
482
482
  /**
483
483
  * Points ordered by ascending utilization, always including the kinks of the
484
484
  * model so the polyline is exact rather than approximated.
@@ -496,7 +496,7 @@ interface RateCurve {
496
496
  * Quota configuration of one collateral token: how much of it the market
497
497
  * accepts in total, and what holding it costs.
498
498
  **/
499
- interface QuotaAsset {
499
+ export interface QuotaAsset {
500
500
  /**
501
501
  * Token the quota applies to.
502
502
  **/
@@ -532,7 +532,7 @@ interface QuotaAsset {
532
532
  /**
533
533
  * A price feed and the feeds it is composed of.
534
534
  **/
535
- interface PriceFeedData {
535
+ export interface PriceFeedData {
536
536
  /**
537
537
  * Display name of the feed.
538
538
  *
@@ -558,7 +558,7 @@ interface PriceFeedData {
558
558
  * Prices and feeds behind a strategy, i.e. everything a liquidation-price chart
559
559
  * needs.
560
560
  **/
561
- interface PriceFeedSummary {
561
+ export interface PriceFeedSummary {
562
562
  /**
563
563
  * Price of one whole underlying token in USD.
564
564
  *
@@ -589,7 +589,7 @@ interface PriceFeedSummary {
589
589
  /**
590
590
  * A pool opportunity plus the data only its detail screen needs.
591
591
  **/
592
- interface PoolOpportunityDetail extends PoolOpportunity {
592
+ export interface PoolOpportunityDetail extends PoolOpportunity {
593
593
  /**
594
594
  * Interest rate curve of the pool.
595
595
  **/
@@ -598,7 +598,7 @@ interface PoolOpportunityDetail extends PoolOpportunity {
598
598
  /**
599
599
  * A strategy opportunity plus the data only its detail screen needs.
600
600
  **/
601
- interface StrategyOpportunityDetail extends StrategyOpportunity {
601
+ export interface StrategyOpportunityDetail extends StrategyOpportunity {
602
602
  /**
603
603
  * Interest rate curve of the pool the strategy borrows from.
604
604
  **/
@@ -618,11 +618,11 @@ interface StrategyOpportunityDetail extends StrategyOpportunity {
618
618
  /**
619
619
  * Detailed view of any opportunity.
620
620
  **/
621
- type OpportunityDetail = PoolOpportunityDetail | StrategyOpportunityDetail;
621
+ export type OpportunityDetail = PoolOpportunityDetail | StrategyOpportunityDetail;
622
622
  /**
623
623
  * Identifies a pool opportunity in a detail request.
624
624
  **/
625
- interface PoolOpportunityKey {
625
+ export interface PoolOpportunityKey {
626
626
  chainId: ChainId;
627
627
  pool: Address;
628
628
  }
@@ -630,7 +630,7 @@ interface PoolOpportunityKey {
630
630
  * Identifies a strategy opportunity in a detail request. The credit manager
631
631
  * identifies it on its own: each manager has exactly one target collateral.
632
632
  **/
633
- interface StrategyOpportunityKey {
633
+ export interface StrategyOpportunityKey {
634
634
  chainId: ChainId;
635
635
  creditManager: Address;
636
636
  }
@@ -638,25 +638,25 @@ interface StrategyOpportunityKey {
638
638
  * {@link PoolOpportunityKey} tagged with its kind, for requests that accept
639
639
  * both kinds.
640
640
  **/
641
- interface PoolOpportunityRef extends PoolOpportunityKey {
641
+ export interface PoolOpportunityRef extends PoolOpportunityKey {
642
642
  kind: "pool";
643
643
  }
644
644
  /**
645
645
  * {@link StrategyOpportunityKey} tagged with its kind, for requests that accept
646
646
  * both kinds.
647
647
  **/
648
- interface StrategyOpportunityRef extends StrategyOpportunityKey {
648
+ export interface StrategyOpportunityRef extends StrategyOpportunityKey {
649
649
  kind: "strategy";
650
650
  }
651
651
  /**
652
652
  * Identifies any opportunity, for requests that accept both kinds.
653
653
  **/
654
- type OpportunityKey = PoolOpportunityRef | StrategyOpportunityRef;
654
+ export type OpportunityKey = PoolOpportunityRef | StrategyOpportunityRef;
655
655
  /**
656
656
  * Protocol-wide aggregate over every opportunity, served by the backend rather
657
657
  * than summed by a consumer: the landing page's headline figures.
658
658
  **/
659
- interface OpportunityTotals {
659
+ export interface OpportunityTotals {
660
660
  /**
661
661
  * Total value locked in Gearbox Protocol
662
662
  **/
@@ -670,5 +670,4 @@ interface OpportunityTotals {
670
670
  **/
671
671
  totalSupply: number;
672
672
  }
673
- //#endregion
674
- export { ApyBreakdown, Opportunity, OpportunityBase, OpportunityDetail, OpportunityFilter, OpportunityId, OpportunityKey, OpportunityKind, OpportunityTotals, PointRewards, PointsProgram, PoolOpportunity, PoolOpportunityDetail, PoolOpportunityKey, PoolOpportunityRef, PriceFeedData, PriceFeedSummary, QuotaAsset, RateCurve, RateCurvePoint, Rewards, StrategyOpportunity, StrategyOpportunityDetail, StrategyOpportunityKey, StrategyOpportunityRef, TokenRewards, matchesOpportunityFilter, opportunityId, poolOpportunityId, strategyOpportunityId };
673
+ //#endregion