@gearbox-protocol/sdk 18.3.1 → 18.4.1-aave.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/dist/cjs/abi/310/iKillSwitchProxy.js +130 -0
  2. package/dist/cjs/model/index.js +1 -4
  3. package/dist/cjs/offchain/GearboxAPI.js +0 -7
  4. package/dist/cjs/offchain/index.js +0 -3
  5. package/dist/cjs/onchain/accounts/intents/index.js +1 -0
  6. package/dist/cjs/onchain/accounts/intents/operations.js +21 -0
  7. package/dist/cjs/onchain/accounts/intents/plan.js +33 -0
  8. package/dist/cjs/onchain/accounts/intents/realize.js +44 -0
  9. package/dist/cjs/onchain/accounts/intents/testing/market.js +1 -0
  10. package/dist/cjs/onchain/accounts/intents/testing/sdk-mock.js +2 -1
  11. package/dist/cjs/onchain/accounts/intents/utils/ledger.js +8 -0
  12. package/dist/cjs/onchain/chain/chains.js +4 -0
  13. package/dist/cjs/onchain/index.js +30 -0
  14. package/dist/cjs/onchain/market/adapters/abi/aave/iAaveHorizonBridge.js +94 -0
  15. package/dist/cjs/onchain/market/adapters/abi/aave/iAaveV3Pool.js +112 -0
  16. package/dist/cjs/onchain/market/adapters/abi/aave/index.js +5 -0
  17. package/dist/cjs/onchain/market/adapters/abi/actionAbi.js +1 -0
  18. package/dist/cjs/onchain/market/adapters/abi/adapters/iAaveHorizonBridgeAdapter.js +197 -0
  19. package/dist/cjs/onchain/market/adapters/abi/adapters/iAaveV3PoolAdapter.js +177 -0
  20. package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.js +113 -0
  21. package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.js +258 -0
  22. package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.js +161 -0
  23. package/dist/cjs/onchain/market/adapters/abi/adapters/index.js +10 -0
  24. package/dist/cjs/onchain/market/adapters/abi/conctructorAbi.js +2 -0
  25. package/dist/cjs/onchain/market/adapters/abi/index.js +22 -0
  26. package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.js +39 -0
  27. package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.js +230 -0
  28. package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseRouter.js +29 -0
  29. package/dist/cjs/onchain/market/adapters/abi/treehouse/index.js +7 -0
  30. package/dist/cjs/onchain/market/adapters/contracts/AaveHorizonBridgeAdapterContract.js +130 -0
  31. package/dist/cjs/onchain/market/adapters/contracts/AaveV3PoolAdapterContract.js +205 -0
  32. package/dist/cjs/onchain/market/adapters/contracts/AbstractAdapter.js +8 -0
  33. package/dist/cjs/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.js +72 -0
  34. package/dist/cjs/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.js +117 -0
  35. package/dist/cjs/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.js +61 -0
  36. package/dist/cjs/onchain/market/adapters/contracts/index.js +10 -0
  37. package/dist/cjs/onchain/market/adapters/createAdapter.js +10 -0
  38. package/dist/cjs/onchain/market/adapters/index.js +30 -0
  39. package/dist/cjs/onchain/market/adapters/types.js +2 -0
  40. package/dist/cjs/onchain/market/index.js +30 -0
  41. package/dist/cjs/onchain/positions/projectAavePosition.js +40 -0
  42. package/dist/cjs/onchain/preview/preview/loadAdapterReplayState.js +17 -0
  43. package/dist/cjs/onchain/preview/preview/previewOperation.js +2 -0
  44. package/dist/cjs/permissionless/api/index.js +31 -0
  45. package/dist/cjs/permissionless/api/oracles/PermissionlessOracles.js +637 -65
  46. package/dist/cjs/permissionless/api/oracles/enrich.js +99 -0
  47. package/dist/cjs/permissionless/api/oracles/index.js +33 -0
  48. package/dist/cjs/permissionless/api/oracles/onchain-feed.js +25 -0
  49. package/dist/cjs/permissionless/api/oracles/schemas.js +84 -59
  50. package/dist/cjs/permissionless/api/oracles/score/formula.js +56 -0
  51. package/dist/cjs/permissionless/api/oracles/score/index.js +11 -0
  52. package/dist/cjs/permissionless/api/oracles/score/run.js +252 -0
  53. package/dist/cjs/permissionless/api/oracles/score/types.js +1 -0
  54. package/dist/cjs/permissionless/api/oracles/stress/classify.js +258 -0
  55. package/dist/cjs/permissionless/api/oracles/stress/index.js +24 -0
  56. package/dist/cjs/permissionless/api/oracles/stress/override.js +125 -0
  57. package/dist/cjs/permissionless/api/oracles/stress/run.js +485 -0
  58. package/dist/cjs/permissionless/api/oracles/stress/score.js +98 -0
  59. package/dist/cjs/permissionless/api/oracles/stress/types.js +1 -0
  60. package/dist/cjs/permissionless/api/schemas.js +0 -3
  61. package/dist/cjs/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
  62. package/dist/cjs/permissionless/api/transactions/lp-price-feeds.js +10 -4
  63. package/dist/cjs/permissionless/bindings/bytecode-repository.js +8 -0
  64. package/dist/cjs/permissionless/bindings/governance/governor.js +1 -1
  65. package/dist/cjs/permissionless/bindings/index.js +8 -3
  66. package/dist/cjs/permissionless/bindings/kill-switch-proxy.js +188 -0
  67. package/dist/cjs/permissionless/bindings/market-configurator-factory.js +39 -1
  68. package/dist/cjs/permissionless/bindings/market-configurator.js +142 -0
  69. package/dist/cjs/permissionless/index.js +42 -3
  70. package/dist/cjs/permissionless/utils/index.js +3 -0
  71. package/dist/cjs/permissionless/utils/literals.js +2 -0
  72. package/dist/cjs/permissionless/utils/price-update/get-prices.js +64 -0
  73. package/dist/cjs/permissionless/utils/price-update/index.js +2 -0
  74. package/dist/cjs/sdk/GearboxSDK.js +0 -9
  75. package/dist/cjs/sdk/prepare/PrepareApi.js +39 -0
  76. package/dist/cjs/sdk/preview/PreviewNamespace.js +33 -0
  77. package/dist/cjs/testnets/TestnetsAPI.js +179 -0
  78. package/dist/cjs/testnets/errors/TestnetNotFoundError.js +15 -0
  79. package/dist/cjs/testnets/errors/TestnetRequestFailedError.js +24 -0
  80. package/dist/cjs/testnets/errors/TestnetStatusError.js +19 -0
  81. package/dist/cjs/testnets/errors/TestnetValidationError.js +24 -0
  82. package/dist/cjs/testnets/errors/TestnetWaitTimeoutError.js +30 -0
  83. package/dist/cjs/testnets/errors/TestnetsError.js +34 -0
  84. package/dist/cjs/testnets/errors/index.js +13 -0
  85. package/dist/cjs/testnets/index.js +32 -0
  86. package/dist/cjs/testnets/package.json +1 -0
  87. package/dist/cjs/testnets/schemas.js +242 -0
  88. package/dist/cjs/testnets/types.js +1 -0
  89. package/dist/esm/abi/310/iKillSwitchProxy.js +129 -0
  90. package/dist/esm/model/index.js +2 -3
  91. package/dist/esm/offchain/GearboxAPI.js +0 -7
  92. package/dist/esm/offchain/index.js +1 -3
  93. package/dist/esm/onchain/accounts/intents/index.js +2 -1
  94. package/dist/esm/onchain/accounts/intents/operations.js +20 -1
  95. package/dist/esm/onchain/accounts/intents/plan.js +33 -1
  96. package/dist/esm/onchain/accounts/intents/realize.js +46 -2
  97. package/dist/esm/onchain/accounts/intents/testing/market.js +1 -0
  98. package/dist/esm/onchain/accounts/intents/testing/sdk-mock.js +2 -1
  99. package/dist/esm/onchain/accounts/intents/utils/ledger.js +8 -0
  100. package/dist/esm/onchain/chain/chains.js +4 -0
  101. package/dist/esm/onchain/index.js +16 -1
  102. package/dist/esm/onchain/market/adapters/abi/aave/iAaveHorizonBridge.js +93 -0
  103. package/dist/esm/onchain/market/adapters/abi/aave/iAaveV3Pool.js +111 -0
  104. package/dist/esm/onchain/market/adapters/abi/aave/index.js +3 -0
  105. package/dist/esm/onchain/market/adapters/abi/actionAbi.js +1 -0
  106. package/dist/esm/onchain/market/adapters/abi/adapters/iAaveHorizonBridgeAdapter.js +196 -0
  107. package/dist/esm/onchain/market/adapters/abi/adapters/iAaveV3PoolAdapter.js +176 -0
  108. package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.js +112 -0
  109. package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.js +257 -0
  110. package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.js +160 -0
  111. package/dist/esm/onchain/market/adapters/abi/adapters/index.js +6 -1
  112. package/dist/esm/onchain/market/adapters/abi/conctructorAbi.js +2 -0
  113. package/dist/esm/onchain/market/adapters/abi/index.js +13 -1
  114. package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.js +38 -0
  115. package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.js +229 -0
  116. package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseRouter.js +28 -0
  117. package/dist/esm/onchain/market/adapters/abi/treehouse/index.js +4 -0
  118. package/dist/esm/onchain/market/adapters/contracts/AaveHorizonBridgeAdapterContract.js +129 -0
  119. package/dist/esm/onchain/market/adapters/contracts/AaveV3PoolAdapterContract.js +204 -0
  120. package/dist/esm/onchain/market/adapters/contracts/AbstractAdapter.js +8 -0
  121. package/dist/esm/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.js +71 -0
  122. package/dist/esm/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.js +116 -0
  123. package/dist/esm/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.js +60 -0
  124. package/dist/esm/onchain/market/adapters/contracts/index.js +6 -1
  125. package/dist/esm/onchain/market/adapters/createAdapter.js +10 -0
  126. package/dist/esm/onchain/market/adapters/index.js +16 -1
  127. package/dist/esm/onchain/market/adapters/types.js +2 -0
  128. package/dist/esm/onchain/market/index.js +16 -1
  129. package/dist/esm/onchain/positions/projectAavePosition.js +39 -0
  130. package/dist/esm/onchain/preview/preview/loadAdapterReplayState.js +16 -0
  131. package/dist/esm/onchain/preview/preview/previewOperation.js +2 -0
  132. package/dist/esm/permissionless/api/index.js +7 -1
  133. package/dist/esm/permissionless/api/oracles/PermissionlessOracles.js +639 -67
  134. package/dist/esm/permissionless/api/oracles/enrich.js +94 -0
  135. package/dist/esm/permissionless/api/oracles/index.js +10 -1
  136. package/dist/esm/permissionless/api/oracles/onchain-feed.js +24 -0
  137. package/dist/esm/permissionless/api/oracles/schemas.js +80 -58
  138. package/dist/esm/permissionless/api/oracles/score/formula.js +51 -0
  139. package/dist/esm/permissionless/api/oracles/score/index.js +4 -0
  140. package/dist/esm/permissionless/api/oracles/score/run.js +250 -0
  141. package/dist/esm/permissionless/api/oracles/score/types.js +1 -0
  142. package/dist/esm/permissionless/api/oracles/stress/classify.js +256 -0
  143. package/dist/esm/permissionless/api/oracles/stress/index.js +6 -0
  144. package/dist/esm/permissionless/api/oracles/stress/override.js +119 -0
  145. package/dist/esm/permissionless/api/oracles/stress/run.js +478 -0
  146. package/dist/esm/permissionless/api/oracles/stress/score.js +95 -0
  147. package/dist/esm/permissionless/api/oracles/stress/types.js +1 -0
  148. package/dist/esm/permissionless/api/schemas.js +2 -4
  149. package/dist/esm/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
  150. package/dist/esm/permissionless/api/transactions/lp-price-feeds.js +10 -4
  151. package/dist/esm/permissionless/bindings/bytecode-repository.js +8 -0
  152. package/dist/esm/permissionless/bindings/governance/governor.js +1 -1
  153. package/dist/esm/permissionless/bindings/index.js +5 -4
  154. package/dist/esm/permissionless/bindings/kill-switch-proxy.js +184 -0
  155. package/dist/esm/permissionless/bindings/market-configurator-factory.js +37 -0
  156. package/dist/esm/permissionless/bindings/market-configurator.js +143 -1
  157. package/dist/esm/permissionless/index.js +13 -6
  158. package/dist/esm/permissionless/utils/index.js +3 -3
  159. package/dist/esm/permissionless/utils/literals.js +2 -1
  160. package/dist/esm/permissionless/utils/price-update/get-prices.js +63 -1
  161. package/dist/esm/permissionless/utils/price-update/index.js +2 -2
  162. package/dist/esm/sdk/GearboxSDK.js +0 -9
  163. package/dist/esm/sdk/prepare/PrepareApi.js +39 -0
  164. package/dist/esm/sdk/preview/PreviewNamespace.js +33 -0
  165. package/dist/esm/testnets/TestnetsAPI.js +178 -0
  166. package/dist/esm/testnets/errors/TestnetNotFoundError.js +14 -0
  167. package/dist/esm/testnets/errors/TestnetRequestFailedError.js +23 -0
  168. package/dist/esm/testnets/errors/TestnetStatusError.js +18 -0
  169. package/dist/esm/testnets/errors/TestnetValidationError.js +23 -0
  170. package/dist/esm/testnets/errors/TestnetWaitTimeoutError.js +29 -0
  171. package/dist/esm/testnets/errors/TestnetsError.js +33 -0
  172. package/dist/esm/testnets/errors/index.js +7 -0
  173. package/dist/esm/testnets/index.js +11 -0
  174. package/dist/esm/testnets/package.json +1 -0
  175. package/dist/esm/testnets/schemas.js +228 -0
  176. package/dist/esm/testnets/types.js +1 -0
  177. package/dist/types/abi/310/iKillSwitchProxy.d.ts +114 -0
  178. package/dist/types/model/aave.d.ts +32 -0
  179. package/dist/types/model/analytics.d.ts +2 -2
  180. package/dist/types/model/index.d.ts +6 -7
  181. package/dist/types/model/opportunities.d.ts +1 -1
  182. package/dist/types/model/positions.d.ts +1 -1
  183. package/dist/types/model/previews.d.ts +15 -0
  184. package/dist/types/offchain/AbstractOffchainNamespace.d.ts +1 -1
  185. package/dist/types/offchain/GearboxAPI.d.ts +0 -6
  186. package/dist/types/offchain/analytics/OffchainAnalytics.d.ts +1 -1
  187. package/dist/types/offchain/analytics/types.d.ts +1 -1
  188. package/dist/types/offchain/index.d.ts +1 -3
  189. package/dist/types/offchain/opportunities/OffchainOpportunities.d.ts +1 -1
  190. package/dist/types/offchain/opportunities/types.d.ts +1 -1
  191. package/dist/types/offchain/positions/OffchainPositions.d.ts +1 -1
  192. package/dist/types/offchain/positions/types.d.ts +1 -1
  193. package/dist/types/onchain/accounts/intents/operations.d.ts +37 -1
  194. package/dist/types/onchain/accounts/intents/plan.d.ts +26 -1
  195. package/dist/types/onchain/accounts/intents/testing/market.d.ts +4 -0
  196. package/dist/types/onchain/accounts/intents/testing/sdk-mock.d.ts +4 -0
  197. package/dist/types/onchain/accounts/intents/types.d.ts +20 -1
  198. package/dist/types/onchain/index.d.ts +16 -1
  199. package/dist/types/onchain/market/adapters/abi/aave/iAaveHorizonBridge.d.ts +83 -0
  200. package/dist/types/onchain/market/adapters/abi/aave/iAaveV3Pool.d.ts +90 -0
  201. package/dist/types/onchain/market/adapters/abi/aave/index.d.ts +3 -0
  202. package/dist/types/onchain/market/adapters/abi/adapters/iAaveHorizonBridgeAdapter.d.ts +186 -0
  203. package/dist/types/onchain/market/adapters/abi/adapters/iAaveV3PoolAdapter.d.ts +172 -0
  204. package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.d.ts +101 -0
  205. package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.d.ts +237 -0
  206. package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.d.ts +146 -0
  207. package/dist/types/onchain/market/adapters/abi/adapters/index.d.ts +6 -1
  208. package/dist/types/onchain/market/adapters/abi/index.d.ts +13 -1
  209. package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.d.ts +33 -0
  210. package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.d.ts +207 -0
  211. package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseRouter.d.ts +27 -0
  212. package/dist/types/onchain/market/adapters/abi/treehouse/index.d.ts +4 -0
  213. package/dist/types/onchain/market/adapters/contracts/AaveHorizonBridgeAdapterContract.d.ts +312 -0
  214. package/dist/types/onchain/market/adapters/contracts/AaveV3PoolAdapterContract.d.ts +312 -0
  215. package/dist/types/onchain/market/adapters/contracts/AbstractAdapter.d.ts +8 -0
  216. package/dist/types/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.d.ts +156 -0
  217. package/dist/types/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.ts +481 -0
  218. package/dist/types/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.d.ts +193 -0
  219. package/dist/types/onchain/market/adapters/contracts/index.d.ts +6 -1
  220. package/dist/types/onchain/market/adapters/index.d.ts +16 -1
  221. package/dist/types/onchain/market/adapters/types.d.ts +3 -1
  222. package/dist/types/onchain/market/index.d.ts +16 -1
  223. package/dist/types/onchain/positions/projectAavePosition.d.ts +16 -0
  224. package/dist/types/onchain/preview/preview/loadAdapterReplayState.d.ts +13 -0
  225. package/dist/types/permissionless/api/index.d.ts +10 -2
  226. package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +237 -47
  227. package/dist/types/permissionless/api/oracles/enrich.d.ts +59 -0
  228. package/dist/types/permissionless/api/oracles/index.d.ts +12 -2
  229. package/dist/types/permissionless/api/oracles/onchain-feed.d.ts +15 -0
  230. package/dist/types/permissionless/api/oracles/schemas.d.ts +147 -41
  231. package/dist/types/permissionless/api/oracles/score/formula.d.ts +36 -0
  232. package/dist/types/permissionless/api/oracles/score/index.d.ts +4 -0
  233. package/dist/types/permissionless/api/oracles/score/run.d.ts +42 -0
  234. package/dist/types/permissionless/api/oracles/score/types.d.ts +118 -0
  235. package/dist/types/permissionless/api/oracles/stress/classify.d.ts +57 -0
  236. package/dist/types/permissionless/api/oracles/stress/index.d.ts +6 -0
  237. package/dist/types/permissionless/api/oracles/stress/override.d.ts +59 -0
  238. package/dist/types/permissionless/api/oracles/stress/run.d.ts +100 -0
  239. package/dist/types/permissionless/api/oracles/stress/score.d.ts +57 -0
  240. package/dist/types/permissionless/api/oracles/stress/types.d.ts +272 -0
  241. package/dist/types/permissionless/api/oracles/types.d.ts +320 -125
  242. package/dist/types/permissionless/api/schemas.d.ts +0 -2
  243. package/dist/types/permissionless/api/transactions/lp-price-feeds.d.ts +9 -1
  244. package/dist/types/permissionless/bindings/bytecode-repository.d.ts +10 -1
  245. package/dist/types/permissionless/bindings/index.d.ts +4 -3
  246. package/dist/types/permissionless/bindings/kill-switch-proxy.d.ts +205 -0
  247. package/dist/types/permissionless/bindings/market-configurator-factory.d.ts +30 -0
  248. package/dist/types/permissionless/bindings/market-configurator.d.ts +30 -1
  249. package/dist/types/permissionless/bindings/types.d.ts +27 -0
  250. package/dist/types/permissionless/index.d.ts +15 -6
  251. package/dist/types/permissionless/utils/index.d.ts +3 -3
  252. package/dist/types/permissionless/utils/literals.d.ts +1 -0
  253. package/dist/types/permissionless/utils/price-update/get-prices.d.ts +33 -0
  254. package/dist/types/permissionless/utils/price-update/index.d.ts +2 -2
  255. package/dist/types/sdk/GearboxSDK.d.ts +1 -8
  256. package/dist/types/sdk/analytics/AnalyticsNamespace.d.ts +1 -1
  257. package/dist/types/sdk/analytics/types.d.ts +1 -1
  258. package/dist/types/sdk/index.d.ts +3 -3
  259. package/dist/types/sdk/opportunities/OpportunitiesNamespace.d.ts +1 -1
  260. package/dist/types/sdk/opportunities/types.d.ts +1 -1
  261. package/dist/types/sdk/positions/PositionsNamespace.d.ts +1 -1
  262. package/dist/types/sdk/positions/types.d.ts +1 -1
  263. package/dist/types/sdk/prepare/PrepareApi.d.ts +11 -3
  264. package/dist/types/sdk/prepare/index.d.ts +2 -2
  265. package/dist/types/sdk/prepare/types.d.ts +56 -1
  266. package/dist/types/sdk/preview/PreviewNamespace.d.ts +5 -1
  267. package/dist/types/sdk/preview/types.d.ts +10 -1
  268. package/dist/types/sdk/types.d.ts +0 -20
  269. package/dist/types/testnets/TestnetsAPI.d.ts +108 -0
  270. package/dist/types/testnets/errors/TestnetNotFoundError.d.ts +12 -0
  271. package/dist/types/testnets/errors/TestnetRequestFailedError.d.ts +11 -0
  272. package/dist/types/testnets/errors/TestnetStatusError.d.ts +15 -0
  273. package/dist/types/testnets/errors/TestnetValidationError.d.ts +16 -0
  274. package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.ts +21 -0
  275. package/dist/types/testnets/errors/TestnetsError.d.ts +47 -0
  276. package/dist/types/testnets/errors/index.d.ts +7 -0
  277. package/dist/types/testnets/index.d.ts +11 -0
  278. package/dist/types/testnets/schemas.d.ts +554 -0
  279. package/dist/types/testnets/types.d.ts +717 -0
  280. package/package.json +6 -1
  281. package/dist/cjs/model/notices.schema.js +0 -25
  282. package/dist/cjs/offchain/notices/OffchainNotices.js +0 -27
  283. package/dist/cjs/offchain/notices/index.js +0 -3
  284. package/dist/esm/model/notices.schema.js +0 -23
  285. package/dist/esm/offchain/notices/OffchainNotices.js +0 -26
  286. package/dist/esm/offchain/notices/index.js +0 -1
  287. package/dist/types/model/notices.d.ts +0 -28
  288. package/dist/types/model/notices.schema.d.ts +0 -22
  289. package/dist/types/offchain/notices/OffchainNotices.d.ts +0 -18
  290. package/dist/types/offchain/notices/index.d.ts +0 -2
  291. /package/dist/cjs/model/{notices.js → aave.js} +0 -0
  292. /package/dist/esm/model/{notices.js → aave.js} +0 -0
@@ -31,6 +31,8 @@ import { BLOCKS_PER_WEEK_BY_NETWORK, RAMP_DURATION_BY_NETWORK } from "./constant
31
31
  import { PERIPHERY_CONTRACTS, PeripheryContract } from "./constants/periphery.js";
32
32
  import { VERSION_RANGE_310, VersionRange, isV310, isVersionRange } from "./constants/versions.js";
33
33
  import "./constants/index.js";
34
+ import { iAaveHorizonBridgeAbi } from "./market/adapters/abi/aave/iAaveHorizonBridge.js";
35
+ import { iAaveV3PoolAbi } from "./market/adapters/abi/aave/iAaveV3Pool.js";
34
36
  import { DEGEN_NFT_MIDAS, PHANTOM_TOKEN_MIDAS_REDEMPTION, RWA_LIQUIDATOR_MIDAS } from "./market/rwa/midas/constants.js";
35
37
  import { DEGEN_NFT_SECURITIZE, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, RWA_LIQUIDATOR_SECURITIZE } from "./market/rwa/securitize/constants.js";
36
38
  import { DStokenData, SecuritizeCreditAccountData, SecuritizeInvestorData, SecuritizeRWAFactoryStateHuman } from "./market/rwa/securitize/types.js";
@@ -45,6 +47,8 @@ import { AddressProviderV3StateHuman, AliasLossPolicyStateHuman, AssetPriceFeedS
45
47
  import { AdapterContractStateHuman, AdapterContractType, AdapterProtocolOperation, AdapterType, DelayedWithdrawalClaim, DelayedWithdrawalRequest, IAdapterContract, VersionedAbi } from "./market/adapters/types.js";
46
48
  import { adapterActionAbi, adapterActionSelectors, adapterActionSignatures } from "./market/adapters/abi/actionAbi.js";
47
49
  import { erc4626ReferralAdapterAbi } from "./market/adapters/abi/adapters/erc4626ReferralAdapter.js";
50
+ import { iAaveHorizonBridgeAdapterAbi } from "./market/adapters/abi/adapters/iAaveHorizonBridgeAdapter.js";
51
+ import { iAaveV3PoolAdapterAbi } from "./market/adapters/abi/adapters/iAaveV3PoolAdapter.js";
48
52
  import { iBalancerV3RouterAdapterAbi } from "./market/adapters/abi/adapters/iBalancerV3RouterAdapter.js";
49
53
  import { iBalancerV3WrapperAdapterAbi } from "./market/adapters/abi/adapters/iBalancerV3WrapperAdapter.js";
50
54
  import { iCamelotV3AdapterAbi } from "./market/adapters/abi/adapters/iCamelotV3Adapter.js";
@@ -72,6 +76,9 @@ import { iSecuritizeOnRampAdapterV310Abi } from "./market/adapters/abi/adapters/
72
76
  import { iSecuritizeRedemptionGatewayAdapterV311Abi } from "./market/adapters/abi/adapters/iSecuritizeRedemptionGatewayAdapterV311.js";
73
77
  import { iStakingRewardsAdapterAbi } from "./market/adapters/abi/adapters/iStakingRewardsAdapter.js";
74
78
  import { iTraderJoeRouterAdapterAbi } from "./market/adapters/abi/adapters/iTraderJoeRouterAdapter.js";
79
+ import { iTreehouseFastlaneAdapterAbi } from "./market/adapters/abi/adapters/iTreehouseFastlaneAdapter.js";
80
+ import { iTreehouseRedemptionGatewayAdapterAbi } from "./market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.js";
81
+ import { iTreehouseRouterAdapterAbi } from "./market/adapters/abi/adapters/iTreehouseRouterAdapter.js";
75
82
  import { iUniswapV2AdapterAbi } from "./market/adapters/abi/adapters/iUniswapV2Adapter.js";
76
83
  import { iUniswapV3AdapterAbi } from "./market/adapters/abi/adapters/iUniswapV3Adapter.js";
77
84
  import { iUniswapV4AdapterAbi, iUniswapV4GatewayAbi } from "./market/adapters/abi/adapters/iUniswapV4Adapter.js";
@@ -85,10 +92,15 @@ import { iBaseOnRampAbi } from "./market/adapters/abi/securitize/iBaseOnRamp.js"
85
92
  import { iSecuritizeOnRampAbi } from "./market/adapters/abi/securitize/iSecuritizeOnRamp.js";
86
93
  import { iSecuritizeRedemptionGatewayV311Abi } from "./market/adapters/abi/securitize/iSecuritizeRedemptionGatewayV311.js";
87
94
  import { iBalancerV3RouterAbi, iBalancerV3WrapperAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3RouterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iDaiUsdsAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iInfinifiGatewayAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iMellowClaimerAbi, iMellowWrapperAbi, iMidasIssuanceVaultV310Abi, iPendleRouterAbi, iStakingRewardsAbi, iTraderJoeRouterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iVelodromeV2RouterAbi, iwstETHAbi, lidoV1_WETHGatewayAbi } from "./market/adapters/abi/targetContractAbi.js";
95
+ import { iTreehouseFastlaneAbi } from "./market/adapters/abi/treehouse/iTreehouseFastlane.js";
96
+ import { iTreehouseRedemptionGatewayAbi } from "./market/adapters/abi/treehouse/iTreehouseRedemptionGateway.js";
97
+ import { iTreehouseRouterAbi } from "./market/adapters/abi/treehouse/iTreehouseRouter.js";
88
98
  import { getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, hasAdapterDeployParamsAbi, parseAdapterAction, parseAdapterDeployParams } from "./market/adapters/abi/utils.js";
89
99
  import { CallTrace, EXECUTE_BYTES_SELECTOR, collectTraces, findCallTo, findCallWithInput, findExecuteBytes, resolveProtocolCall } from "./utils/trace.js";
90
100
  import { BalancerSwap, BasicSwapCall, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexWithdraw, ConvexWithdrawAndClaim, CurveAddLiquidity, CurveClaims, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveWithdrawal, GetReward, LegacyAdapterOperation, LidoSubmit, MakerDeposit, MakerRedeem, Swap, TokenAmount, Transfers, UniswapSwap, VaultDeposit, WithdrawCollateral, WstETHUnwrap, WstETHWrap } from "./market/adapters/legacyAdapterOperations.js";
91
101
  import { AbstractAdapterContract, AbstractAdapterContractOptions, ConcreteAdapterContractOptions } from "./market/adapters/contracts/AbstractAdapter.js";
102
+ import { AaveHorizonBridgeAdapterContract } from "./market/adapters/contracts/AaveHorizonBridgeAdapterContract.js";
103
+ import { AaveV3PoolAdapterContract } from "./market/adapters/contracts/AaveV3PoolAdapterContract.js";
92
104
  import { AccountMigratorAdapterContract } from "./market/adapters/contracts/AccountMigratorAdapterContract.js";
93
105
  import { BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract } from "./market/adapters/contracts/BalancerV3RouterAdapterContract.js";
94
106
  import { BalancerV3WrapperAdapterContract } from "./market/adapters/contracts/BalancerV3WrapperAdapterContract.js";
@@ -121,6 +133,9 @@ import { SecuritizeOnRampAdapterContract } from "./market/adapters/contracts/Sec
121
133
  import { SecuritizeRedemptionGatewayAdapterContract } from "./market/adapters/contracts/SecuritizeRedemptionGatewayAdapterContract.js";
122
134
  import { StakingRewardsAdapterContract } from "./market/adapters/contracts/StakingRewardsAdapterContract.js";
123
135
  import { TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract } from "./market/adapters/contracts/TraderJoeRouterAdapterContract.js";
136
+ import { TreehouseFastlaneAdapterContract } from "./market/adapters/contracts/TreehouseFastlaneAdapterContract.js";
137
+ import { TreehouseRedemptionGatewayAdapterContract } from "./market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.js";
138
+ import { TreehouseRouterAdapterContract } from "./market/adapters/contracts/TreehouseRouterAdapterContract.js";
124
139
  import { UniswapV2AdapterContract } from "./market/adapters/contracts/UniswapV2AdapterContract.js";
125
140
  import { UniswapV3AdapterContract } from "./market/adapters/contracts/UniswapV3AdapterContract.js";
126
141
  import { UniswapV4AdapterContract } from "./market/adapters/contracts/UniswapV4AdapterContract.js";
@@ -345,4 +360,4 @@ import { amountOf } from "./validation/helpers/amount.js";
345
360
  import { MIN_HEALTH_FACTOR_FACADE, MIN_HEALTH_FACTOR_FORM, MIN_HF_LIMITED, MIN_SAFE_HEALTH_FACTOR_FORM } from "./validation/helpers/health-factor-limits.js";
346
361
  import { toToken, toTokenAmount } from "./validation/helpers/token.js";
347
362
  import "./validation/index.js";
348
- export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountBotsService, type AccountCalculatorOperation, AccountMigratorAdapterContract, AccountSnapshot, AccountToCheck, AdapterContractStateHuman, AdapterContractType, AdapterData, AdapterFactoryArgs, AdapterOperation, AdapterOperationBase, AdapterProtocolOperation, AdapterType, type AddCollateralIntent, AddCollateralOp, AddLiquidityProps, AddressMap, AddressProviderAddresses, AddressProviderState, AddressProviderV310Contract, type AddressProviderV3StateHuman, AddressSet, type AdjustLeverageIntent, type AliasLossPolicyStateHuman, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, AssertAssignable, Asset, type AssetPriceFeedStateHuman, AssetWithAmountInTarget, AssetsMap, AttachOptions, BLOCKS_PER_WEEK_BY_NETWORK, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, BaseContractArgs, type BaseContractStateHuman, BaseParams, BasePlugin, type BasePriceFeedStateHuman, BaseState, BasicSwapCall, BigIntMath, type BlockNumberProps, BorrowLimitArgs, BorrowPreviewResult, type BorrowProps, type BorrowState, type BotListStateHuman, BotPermissions, BotStatusCall, BotsDirectResponse, type BoundedOracleStateHuman, BoundedPriceFeedContract, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, BuildPartialLiquidationTxProps, BuildPartialLiquidationTxPropsBase, CMSlice, CalcBorrowRateProps, CalcDefaultQuotaProps, CalcHealthFactorProps, CalcLiquidationPriceForTargetProps, CalcLiquidationPriceProps, CalcQuotaUpdateProps, CalcRecommendedQuotaProps, CallTrace, CamelotPool, CamelotV3AdapterContract, ChainBlock, ChainBlockPin, ChainBlockSource, ChainConfig, ChainContractsRegister, ChainNotConfiguredError, ChainQueryOneProps, ChainQueryProps, CheckCollateralFundingInput, CheckLiquidationEligibilityInput, CheckLiquidationFundingInput, CheckLiquidationInput, CheckLiquidationOptions, CheckMidasAccountGreenlistInput, CheckOperationInput, CheckOperationOptions, CheckPoolFundingInput, CheckRWAOpenRequirementsInput, CheckRWAOpeningInput, CheckSimulationInput, CheckWalletAllowanceInput, CheckWalletBalanceInput, CheckWalletInput, ClaimFarmRewardsProps, type ClaimRemainder, ClaimableWithdrawal, ClassifyInnerOperationsProps, ClientOptions, CloseCreditAccountOperation, CloseOrRepayOperation, ClosePathBalances, CollateralFundingPreview, CollateralisedArgs, CompareBalancesOp, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConnectedBotData, ConnectedBotsCall, ConnectedBotsPerAccount, type ConstantOracleStateHuman, ConstantPriceFeedContract, Construct, ConstructOptions, type ContractMethod, ContractOrInterface, ContractParseError, ContractParseErrorOptions, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, type CoreStateHuman, CreditAccountCompressor, CreditAccountCompressorV310Contract, CreditAccountData, CreditAccountDataCall, CreditAccountDataPayload, CreditAccountFilter, CreditAccountFrozenArgs, CreditAccountOperation, CreditAccountOperationResult, CreditAccountOperationsService, CreditAccountReadOptions, type CreditAccountSlice, CreditAccountState, CreditAccountStateProps, CreditAccountTokenQuota, CreditAccountTokensSlice, CreditAccountsCall, CreditAccountsQuery, CreditAccountsReadOptions, CreditAccountsServiceV310, CreditAccountsTarget, CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV310Contract, CreditFacadeState, type CreditFacadeStateHuman, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerDebtParams, type CreditManagerDebtParamsHuman, CreditManagerFilter, CreditManagerOperationResult, CreditManagerPausedArgs, CreditManagerState, type CreditManagerStateHuman, CreditManagerV310Contract, CreditOperationArgs, CreditOperationError, CreditOperationPreview, CreditSimulationInput, CreditSuite, CreditSuiteState, type CreditSuiteStateHuman, CreditSuiteStrategy, CurrentWithdrawals, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DIRECT_TRANSFERS_QUOTA, DStokenData, DUST_THRESHOLD, DaiUsdsAdapterContract, DebtLimitsArgs, DecreaseDebtOp, type DelayableIntent, DelayedIntentExtended, type DelayedRoute, type DelayedStart, type DelayedStartResult, DelayedWithdrawalClaim, DelayedWithdrawalRequest, DelegatedMulticall, DepositMetadata, type DepositStrategyIntent, DetectedDelayedClaim, DetectedDelayedOperation, DirectTokenTransferOperation, ERC4626AdapterContract, ERC4626ReferralAdapterContract, EXECUTE_BYTES_SELECTOR, EmergencyLiquidatorArgs, EmptyAccountPreviewResult, EncodableCreditAccountOperation, Erc4626PriceFeedContract, EstimateRawTxGasParameters, EtherscanURLParam, ExecuteMulticallBatchesOptions, type ExecutionCost, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract, FacadeOperationMetadata, FilterDustUSDOptions, FindBestClosePathProps, FindClaimAllRewardsProps, FindManyToOnePathProps, FindOneTokenPathProps, FindOpenStrategyPathProps, type FinishIntentProps, type FinishIntentResult, FluidDexAdapterContract, ForbiddenTokenArgs, FormatBNOptions, FullyLiquidateProps, FullyLiquidateResult, GaugeContract, GaugeData, GaugeParams, type GaugeParamsHuman, type GaugeStateHuman, type GearStakingV3StateHuman, GearboxChain, type GearboxState, type GearboxStateHuman, GetApprovalAddressProps, GetConnectedBotsResponse, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetCurrentWithdrawalsProps, GetCurrentWithdrawalsPropsBase, GetExternalAccountCurrentWithdrawalsProps, GetInvestorOptions, GetLiquidatableAccountsProps, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidationPositionsProps, GetLiquidationPositionsPropsBase, GetOpenAccountRequirementsProps, GetPartialLiquidationDetailsProps, GetPartialLiquidationDetailsPropsBase, GetReward, GetWithdrawalRequestResultProps, HealthFactorThresholds, HydrateOptions, IAdapterContract, IAddressProviderContract, IBaseContract, ICreditAccountsService, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IDegenNFT, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, type ILogger, IMultichainOpportunitiesService, IMultichainPositionsService, IOnchainSDKPlugin, IOnchainSDKPluginConstructor, IPluginState, IPoolContract, IPoolsService, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTask, type IPriceUpdateTx, type IPriceUpdater, IRWAFactory, IRateKeeperContract, IRedemptionLoggerContract, IRouterContract, type IUpdatablePriceFeedContract, IWithdrawalCompressorContract, IZapperContract, IncreaseDebtOp, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, InnerFacadeOperation, InnerOperation, type InstantRoute, type IntentPreviewResult, type IntentRoutesResult, type IntentValidationError, type InterestRateModelStateHuman, InterestRateModelType, IsDustOptions, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LEVERAGE_DECIMALS, LIQUIDATION_APPROVAL_BUFFER, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LPMonopolizedPoolMeta, type LPPriceFeedStateHuman, type LatestUpdate, LegacyAdapterOperation, LeverageArgs, type LeverageBand, LidoSubmit, LidoV1AdapterContract, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, LiquidateCreditAccountOperation, LiquidationEligibilityError, LiquidationFees, LiquidationValidationError, LiquidationsService, LiquidatorEligibleArgs, ListPoolPositionsProps, ListPositionsProps, ListPositionsPropsBase, ListStrategyPositionsProps, LoadRWALiquidatorsProps, type LogFn, type LossPolicyStateHuman, MAX_INT, MAX_LEVERAGE_BUFFER_BPS, MAX_QUOTA_MULTIPLIER, MAX_UINT16, MAX_UINT256, MIN_HEALTH_FACTOR_FACADE, MIN_HEALTH_FACTOR_FORM, MIN_HF_LIMITED, MIN_INT96, MIN_SAFE_HEALTH_FACTOR_FORM, MULTICALL_ADDRESS, MakerDeposit, MakerRedeem, MarketData, MarketExpiredArgs, MarketFilter, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketStateError, type MarketStateHuman, MarketSuite, MarketType, MaxAmountForQuotaProps, MaxBorrowAmount, MaxQuotaArgs, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, Methods, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, MissingSerializedParamsError, type MultiCall, MulticallBatch, MulticallOperation, MulticallWithFailure, MultichainAttachOptions, type MultichainChainIdsProps, MultichainConstruct, MultichainHydrateOptions, MultichainLiquidationsService, type MultichainNetworkProps, MultichainOpportunitiesService, MultichainPositionsService, MultichainSDK, MultichainSDKOptions, type MultichainState, type MultichainStateHuman, MultichainSyncStateOptions, NATIVE_ADDRESS, NON_STRATEGY_PHANTOM_TOKEN_TYPES, NOT_DEPLOYED, NO_VERSION, NetworkType, OnchainLiquidationCall, OnchainLiquidationData, OnchainLiquidationOutput, OnchainRequestableWithdrawal, OnchainSDK, OnchainSDKOptions, OpenCAProps, OpenCreditAccountOperation, OpenStrategyPreviewResult, type OpenStrategyProps, OpenStrategyResult, type OpenStrategyState, Operation, OperationMetadata, type OperationState, OperationValidationError, OpportunitiesService, OptimalPartialLiquidation, OptimalPartialLiquidationAmounts, OptimalPartialLiquidationAmountsProps, OptimalPartialLiquidationProps, OuterFacadeOperation, PARTIAL_LIQUIDATION_BUFFER_BPS, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, PRICE_DECIMALS, PRICE_DECIMALS_POW, ParsedCall, ParsedCallArgs, ParsedCallV2, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialLiquidationOperation, PartialLiquidationParams, PartialLiquidationParamsProps, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PartialRecord, PartiallyLiquidatableArgs, type PathLossRate, PendingWithdrawal, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PeripheryCompressorV310Contract, PeripheryContract, PermitResult, PhantomTokenContractType, PhantomTokenMeta, PickSomeRequired, PluginFactoriesMap, PluginFactory, PluginState, PluginStateVersionError, PluginStatesMap, PluginsMap, PoolDepositOperation, PoolLiquidityArgs, PoolMintOperation, PoolOperation, PoolOperationArgs, PoolOperationError, PoolPausedArgs, PoolQuotaKeeperContract, type PoolQuotaKeeperStateHuman, PoolRedeemOperation, PoolService, PoolServiceCall, PoolServiceCallResult, PoolSimulation, PoolState, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, PoolSunsetArgs, PoolV310Contract, PoolWithdrawOperation, PositionsService, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, PreviewOperationError, PriceFeedAnswer, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedMapEntry, PriceFeedRef, PriceFeedRegistry, type PriceFeedStateHuman, PriceFeedTreeNode, PriceFeedUsageType, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions, PriceOracleData, type PriceOracleStateHuman, PriceOracleV310Contract, PriceUpdate, PriceUpdatesCache, ProjectedPoolOptions, PythPriceFeed, QuotaActiveArgs, QuotaChangeArgs, QuotaCountArgs, QuotaKeeperState, QuotaLimitArgs, QuotaMode, type QuotaParamsHuman, QuotaSlice, QuotaState, QuotaUpdateError, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWADefaultTokenMeta, RWAFactoryData, RWAFactoryProtocol, RWAFactoryStateHuman, RWAInvestorData, RWALiquidatorInfo, RWAMulticallOperation, RWAOnDemandLPMeta, RWAOnDemandLPMonopolizedMeta, RWAOnDemandLpContractType, RWAOnDemandTokenMeta, RWAOpenCreditAccountOperation, RWAOpeningError, RWAOperation, RWAOperationMetadata, RWARegistry, RWAState, RWAStateHuman, RWATokenMeta, RWAUnderlyingContractType, RWAUnderlyingData, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RampEvent, RateKeeperState, type RateKeeperStateHuman, RateKeeperType, type RawTx, RedemptionLog, RedemptionLoggerV310Contract, RedemptionPhantomRename, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type RefusedIntent, RelaxedBaseParams, RemoveLiquidityProps, type RepayStrategyIntent, ReplayMulticallResult, ReplayState, ReplayableOperation, RequestableWithdrawal, ReservePriceLimitedArgs, type ResumableIntent, RetryOptions, RewardInfo, Rewards, type RouteErrors, RouterCASlice, RouterCMSlice, RouterCloseResult, RouterResult, RouterRewardsResult, RouterV310Contract, SDKConstruct, SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkRWADataNotLoadedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeCreditAccountData, SecuritizeDegenNFT, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRedemptionGatewayAdapterContract, SendRawTxParameters, SetBotProps, SetBotResult, SimpleTokenMeta, SimulateCallOptions, SimulateCallParameters, SimulateCallReturnType, SimulateMulticallParameters, SimulateMulticallReturnType, SimulatePoolOperationProps, SimulateWithPriceUpdatesError, SimulateWithPriceUpdatesErrorParams, SimulateWithPriceUpdatesErrorType, SimulateWithPriceUpdatesParameters, SimulateWithPriceUpdatesReturnType, SimulationError, SimulationErrorType, SimulationValidationError, StakingRewardsAdapterContract, type StartIntent, StoreExpectedBalancesOp, StrategyCollateralProps, StrategyRateInputs, SupportedValue, Swap, SwapOperation, SyncStateOptions, type TimestampedCalldata, TokenAmount, TokenInfo, TokenMetaData, TokenTransfer, TokensMeta, TokensMetaState, TraceAdapterExt, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, Transfers, type TumblerStateHuman, TypedObjectUtils, Unarray, UniswapSwap, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, type UpdatablePriceFeedRegistryHooks, type UpdatePriceFeedsResult, type UpdateQuotaIntent, UpdateQuotaOp, UpshiftVaultAdapterContract, VERSION_RANGE_310, VaultDeposit, VelodromeV2RouterAdapterContract, VersionRange, VersionedAbi, VotingContractStatus, WAD, WAD_DECIMALS_POW, WalletFundingError, WatchBlocksAsyncParameters, WatchBlocksAsyncReturnType, WeighedFactors, type WithBlock, type WithMultichain, type WithPartialState, type WithdrawAssetIntent, type WithdrawCeilings, WithdrawCollateral, WithdrawCollateralOp, type WithdrawStrategyIntent, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalMetadata, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, WstETHPriceFeedContract, WstETHUnwrap, WstETHV1AdapterContract, WstETHWrap, YearnPriceFeedContract, ZapperContract, ZapperData, type ZapperStateHuman, ZeroPriceFeedContract, ZodAddress, ZodBigInt, ZodHex, accountSnapshotFromCreditAccountData, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, amountOf, assetsMap, attachOptionsSchema, botPermissionsToString, bpsToRay, buildDelayedStrategyPositionOperationPreview, bytes32ToString, calcBorrowApy, calcBorrowRate, calcDefaultQuota, calcEffectiveBorrowApy, calcHealthFactor, calcLiquidationPrice, calcLiquidationPriceForTarget, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcQuotaUpdate, calcRecommendedQuota, calcTimeToLiquidationMs, calcUtilization, calcUtilizationRaw, chains, checkAccountQuotas, checkBorrowLimit, checkCollateralFunding, checkCollateralised, checkCreditAccountFrozen, checkCreditManagerPaused, checkCreditOperation, checkDebtLimits, checkEmergencyLiquidator, checkForbiddenToken, checkHealthFactors, checkIncreaseDebt, checkIncreaseQuota, checkLeverage, checkLiquidation, checkLiquidationEligibility, checkLiquidationFunding, checkLiquidatorEligible, checkMarket, checkMarketExpired, checkMaxQuota, checkMidasAccountGreenlist, checkObtained, checkOperation, checkPartiallyLiquidatable, checkPoolFunding, checkPoolLiquidity, checkPoolOperation, checkPoolPaused, checkPoolSunset, checkQuotaActive, checkQuotaChange, checkQuotaCount, checkQuotaLimit, checkQuotaUpdates, checkRWAOpenRequirements, checkRWAOpening, checkReservePriceLimited, checkSimulation, checkWallet, checkWalletAllowance, checkWalletBalance, childLogger, classifyCloseOrRepay, classifyCurveOperation, classifyInnerOperations, collateralPriceInUnderlying, collectTraces, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, decodeDelayedIntent, detectDelayedClaim, detectDelayedOperation, detectNetwork, dominantCollateral, encodeDelayedIntent, erc4626ReferralAdapterAbi, estimateClaimableAt, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, executeMulticallBatches, expectedBalanceDeltas, fetchCreditAccountSlice, filterDust, filterDustUSD, findCallTo, findCallWithInput, findCuratorMarketConfigurator, findExecuteBytes, fmtBinaryMask, fnSigToName, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getAccountTargetCollateral, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getAssetType, getCastTraceArgs, getChain, getCuratorName, getDirectTransferToken, getFunctionSignature, getLegacyStrategyTarget, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hasAdapterDeployParamsAbi, healthFactorBps, hexEq, hydrateAddressProvider, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCreditAccountAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isCloseOrRepay, isDust, isLPPriceFeed, isPhantomToken, isPoolOperation, isPublicNetwork, isRWAFactory, isRWAOperation, isRWAToken, isStrategyCollateral, isSunsetPool, isSunsetStrategy, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, isZeroBalance, iwstETHAbi, iwstEthv1AdapterAbi, json_parse, json_stringify, lidoV1_WETHGatewayAbi, makeReplayState, maxAmountForQuota, mellowDvvAdapterAbi, midasGreenlistsAccount, minSeizedAmount, numberWithCommas, onchainSDKOptionsSchema, optimalHFForPartialLiquidation, optimalPartialLiquidation, optimalPartialLiquidationAmounts, parseAdapterAction, parseAdapterDeployParams, parseFacadeOperationCalldata, parseOperationCalldata, parsePoolOperationCalldata, parsePosNegAmount, parseRWAFactoryOperationCalldata, partialLiquidationParams, percentFmt, pickStrategyTargetCollateral, previewAdjustStrategyPosition, previewExitOrRepayStrategyPosition, previewOperation, raise, rayToBps, rayToNumber, replayInnerOperations, replayMulticall, resolveDelayedClaimIntent, resolveProtocolCall, retry, rewardsFromTransfers, roundUpQuota, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, soleNonUnderlyingCollateral, strategyName, swapFromTransfers, toAddress, toBN, toBigInt, toChainIds, toClaimableWithdrawal, toCreditAccountSlice, toNetTransfers, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toToken, toTokenAmount, toWithdrawalStatus, updatableDependencies, usdToNumber, watchBlocksAsync };
363
+ export { ADDRESS_0X0, ADDRESS_PROVIDER_V310, AP_ACCOUNT_FACTORY, AP_ACL, AP_BOT_LIST, AP_BYTECODE_REPOSITORY, AP_CONTRACTS_REGISTER, AP_CONTROLLER_TIMELOCK, AP_CREDIT_ACCOUNT_COMPRESSOR, AP_CREDIT_SUITE_COMPRESSOR, AP_DATA_COMPRESSOR, AP_DELEVERAGE_BOT_HV, AP_DELEVERAGE_BOT_LV, AP_DELEVERAGE_BOT_PEGGED, AP_GAUGE_COMPRESSOR, AP_GEAR_STAKING, AP_GEAR_TOKEN, AP_INFLATION_ATTACK_BLOCKER, AP_INSOLVENCY_CHECKER, AP_MARKET_COMPRESSOR, AP_MARKET_CONFIGURATOR, AP_PARTIAL_LIQUIDATION_BOT, AP_PERIPHERY_COMPRESSOR, AP_PRICE_FEED_COMPRESSOR, AP_PRICE_FEED_STORE, AP_PRICE_ORACLE, AP_REDEMPTION_LOGGER, AP_REWARDS_COMPRESSOR, AP_ROUTER, AP_TOKEN_COMPRESSOR, AP_TREASURY, AP_WETH_GATEWAY, AP_WETH_TOKEN, AP_ZAPPER_REGISTER, AP_ZERO_PRICE_FEED, AaveHorizonBridgeAdapterContract, AaveV3PoolAdapterContract, AbstractAdapterContract, AbstractAdapterContractOptions, AbstractLPPriceFeedContract, AbstractPriceFeedContract, AbstractWithdrawalCompressorContract, AccountBotsService, type AccountCalculatorOperation, AccountMigratorAdapterContract, AccountSnapshot, AccountToCheck, AdapterContractStateHuman, AdapterContractType, AdapterData, AdapterFactoryArgs, AdapterOperation, AdapterOperationBase, AdapterProtocolOperation, AdapterType, type AddCollateralIntent, AddCollateralOp, AddLiquidityProps, AddressMap, AddressProviderAddresses, AddressProviderState, AddressProviderV310Contract, type AddressProviderV3StateHuman, AddressSet, type AdjustLeverageIntent, type AliasLossPolicyStateHuman, AssembleCaOperationsProps, AssembleClaimDelayedCallsProps, AssembleCloseCreditAccountCallsProps, AssembleRepayCreditAccountCallsProps, AssembleStartDelayedWithdrawalCallsProps, AssertAssignable, Asset, type AssetPriceFeedStateHuman, AssetWithAmountInTarget, AssetsMap, AttachOptions, BLOCKS_PER_WEEK_BY_NETWORK, BalanceDelta, BalancerStablePriceFeedContract, BalancerSwap, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, BalancerWeightedPriceFeedContract, type BalancerWeightedPriceFeedStateHuman, BaseContract, BaseContractArgs, type BaseContractStateHuman, BaseParams, BasePlugin, type BasePriceFeedStateHuman, BaseState, BasicSwapCall, BigIntMath, type BlockNumberProps, BorrowLimitArgs, BorrowPreviewResult, type BorrowProps, type BorrowState, type BotListStateHuman, BotPermissions, BotStatusCall, BotsDirectResponse, type BoundedOracleStateHuman, BoundedPriceFeedContract, BuildLiquidationTxProps, BuildLiquidationTxPropsBase, BuildPartialLiquidationTxProps, BuildPartialLiquidationTxPropsBase, CMSlice, CalcBorrowRateProps, CalcDefaultQuotaProps, CalcHealthFactorProps, CalcLiquidationPriceForTargetProps, CalcLiquidationPriceProps, CalcQuotaUpdateProps, CalcRecommendedQuotaProps, CallTrace, CamelotPool, CamelotV3AdapterContract, ChainBlock, ChainBlockPin, ChainBlockSource, ChainConfig, ChainContractsRegister, ChainNotConfiguredError, ChainQueryOneProps, ChainQueryProps, CheckCollateralFundingInput, CheckLiquidationEligibilityInput, CheckLiquidationFundingInput, CheckLiquidationInput, CheckLiquidationOptions, CheckMidasAccountGreenlistInput, CheckOperationInput, CheckOperationOptions, CheckPoolFundingInput, CheckRWAOpenRequirementsInput, CheckRWAOpeningInput, CheckSimulationInput, CheckWalletAllowanceInput, CheckWalletBalanceInput, CheckWalletInput, ClaimFarmRewardsProps, type ClaimRemainder, ClaimableWithdrawal, ClassifyInnerOperationsProps, ClientOptions, CloseCreditAccountOperation, CloseOrRepayOperation, ClosePathBalances, CollateralFundingPreview, CollateralisedArgs, CompareBalancesOp, CompositePriceFeedContract, CompressorZapperData, ConcreteAdapterContractOptions, ConnectedBotData, ConnectedBotsCall, ConnectedBotsPerAccount, type ConstantOracleStateHuman, ConstantPriceFeedContract, Construct, ConstructOptions, type ContractMethod, ContractOrInterface, ContractParseError, ContractParseErrorOptions, ConvertFn, ConvexDeposit, ConvexDepositAndStake, ConvexStake, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, ConvexWithdraw, ConvexWithdrawAndClaim, type CoreStateHuman, CreditAccountCompressor, CreditAccountCompressorV310Contract, CreditAccountData, CreditAccountDataCall, CreditAccountDataPayload, CreditAccountFilter, CreditAccountFrozenArgs, CreditAccountOperation, CreditAccountOperationResult, CreditAccountOperationsService, CreditAccountReadOptions, type CreditAccountSlice, CreditAccountState, CreditAccountStateProps, CreditAccountTokenQuota, CreditAccountTokensSlice, CreditAccountsCall, CreditAccountsQuery, CreditAccountsReadOptions, CreditAccountsServiceV310, CreditAccountsTarget, CreditConfiguratorState, type CreditConfiguratorStateHuman, CreditConfiguratorV310Contract, CreditFacadeState, type CreditFacadeStateHuman, type abi as CreditFacadeV310Abi, abi as creditFacadeV310Abi, CreditFacadeV310BaseContract, CreditFacadeV310Contract, CreditManagerDebtParams, type CreditManagerDebtParamsHuman, CreditManagerFilter, CreditManagerOperationResult, CreditManagerPausedArgs, CreditManagerState, type CreditManagerStateHuman, CreditManagerV310Contract, CreditOperationArgs, CreditOperationError, CreditOperationPreview, CreditSimulationInput, CreditSuite, CreditSuiteState, type CreditSuiteStateHuman, CreditSuiteStrategy, CurrentWithdrawals, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveAddLiquidity, CurveClaims, CurveCryptoPriceFeedContract, CurveExchange, CurveRemoveLiquidity, CurveRemoveLiquidityOneCoin, CurveStablePriceFeedContract, CurveUSDPriceFeedContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, CurveWithdrawal, DEFAULT_QUOTA_BUFFER_BPS, DEGEN_NFT_MIDAS, DEGEN_NFT_SECURITIZE, DELAYED_INTENT_TYPES, DELAYED_INTENT_VERSION, DIRECT_TRANSFERS_QUOTA, DStokenData, DUST_THRESHOLD, DaiUsdsAdapterContract, DebtLimitsArgs, DecreaseDebtOp, type DelayableIntent, DelayedIntentExtended, type DelayedRoute, type DelayedStart, type DelayedStartResult, DelayedWithdrawalClaim, DelayedWithdrawalRequest, DelegatedMulticall, DepositMetadata, type DepositStrategyIntent, DetectedDelayedClaim, DetectedDelayedOperation, DirectTokenTransferOperation, ERC4626AdapterContract, ERC4626ReferralAdapterContract, EXECUTE_BYTES_SELECTOR, EmergencyLiquidatorArgs, EmptyAccountPreviewResult, EncodableCreditAccountOperation, Erc4626PriceFeedContract, EstimateRawTxGasParameters, EtherscanURLParam, ExecuteMulticallBatchesOptions, type ExecutionCost, ExpectedBalanceDeltasProps, ExpectedOutput, ExternalPriceFeedContract, FacadeOperationMetadata, FilterDustUSDOptions, FindBestClosePathProps, FindClaimAllRewardsProps, FindManyToOnePathProps, FindOneTokenPathProps, FindOpenStrategyPathProps, type FinishIntentProps, type FinishIntentResult, FluidDexAdapterContract, ForbiddenTokenArgs, FormatBNOptions, FullyLiquidateProps, FullyLiquidateResult, GaugeContract, GaugeData, GaugeParams, type GaugeParamsHuman, type GaugeStateHuman, type GearStakingV3StateHuman, GearboxChain, type GearboxState, type GearboxStateHuman, GetApprovalAddressProps, GetConnectedBotsResponse, GetConnectedBotsResult, GetConnectedMigrationBotsResult, GetCreditAccountsArgs, GetCreditAccountsOptions, GetCurrentWithdrawalsProps, GetCurrentWithdrawalsPropsBase, GetExternalAccountCurrentWithdrawalsProps, GetInvestorOptions, GetLiquidatableAccountsProps, GetLiquidationDetailsProps, GetLiquidationDetailsPropsBase, GetLiquidationPositionsProps, GetLiquidationPositionsPropsBase, GetOpenAccountRequirementsProps, GetPartialLiquidationDetailsProps, GetPartialLiquidationDetailsPropsBase, GetReward, GetWithdrawalRequestResultProps, HealthFactorThresholds, HydrateOptions, IAdapterContract, IAddressProviderContract, IBaseContract, ICreditAccountsService, ICreditConfiguratorContract, ICreditFacadeContract, ICreditManagerContract, IDegenNFT, IERC20ZapperContract, IETHZapperContract, IInterestRateModelContract, type ILogger, IMultichainOpportunitiesService, IMultichainPositionsService, IOnchainSDKPlugin, IOnchainSDKPluginConstructor, IPluginState, IPoolContract, IPoolsService, IPriceFeedContract, IPriceOracleContract, type IPriceUpdateTask, type IPriceUpdateTx, type IPriceUpdater, IRWAFactory, IRateKeeperContract, IRedemptionLoggerContract, IRouterContract, type IUpdatablePriceFeedContract, IWithdrawalCompressorContract, IZapperContract, IncreaseDebtOp, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, InnerFacadeOperation, InnerOperation, type InstantRoute, type IntentPreviewResult, type IntentRoutesResult, type IntentValidationError, type InterestRateModelStateHuman, InterestRateModelType, IsDustOptions, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LEVERAGE_DECIMALS, LIQUIDATION_APPROVAL_BUFFER, LIQUIDATION_COMPRESSOR_V313_ADDRESS, LPMonopolizedPoolMeta, type LPPriceFeedStateHuman, type LatestUpdate, LegacyAdapterOperation, LeverageArgs, type LeverageBand, LidoSubmit, LidoV1AdapterContract, LinearInterestRateModelContract, type LinearInterestRateModelStateHuman, LiquidateCreditAccountOperation, LiquidationEligibilityError, LiquidationFees, LiquidationValidationError, LiquidationsService, LiquidatorEligibleArgs, ListPoolPositionsProps, ListPositionsProps, ListPositionsPropsBase, ListStrategyPositionsProps, LoadRWALiquidatorsProps, type LogFn, type LossPolicyStateHuman, MAX_INT, MAX_LEVERAGE_BUFFER_BPS, MAX_QUOTA_MULTIPLIER, MAX_UINT16, MAX_UINT256, MIN_HEALTH_FACTOR_FACADE, MIN_HEALTH_FACTOR_FORM, MIN_HF_LIMITED, MIN_INT96, MIN_SAFE_HEALTH_FACTOR_FORM, MULTICALL_ADDRESS, MakerDeposit, MakerRedeem, MarketData, MarketExpiredArgs, MarketFilter, MarketRegister, MarketRegistryState, MarketRegistryStateHuman, MarketStateError, type MarketStateHuman, MarketSuite, MarketType, MaxAmountForQuotaProps, MaxBorrowAmount, MaxQuotaArgs, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowLRTPriceFeedContract, MellowWrapperAdapterContract, Methods, MidasDegenNFT, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasLiquidatorContract, MidasRedemptionVaultAdapterContract, MissingSerializedParamsError, type MultiCall, MulticallBatch, MulticallOperation, MulticallWithFailure, MultichainAttachOptions, type MultichainChainIdsProps, MultichainConstruct, MultichainHydrateOptions, MultichainLiquidationsService, type MultichainNetworkProps, MultichainOpportunitiesService, MultichainPositionsService, MultichainSDK, MultichainSDKOptions, type MultichainState, type MultichainStateHuman, MultichainSyncStateOptions, NATIVE_ADDRESS, NON_STRATEGY_PHANTOM_TOKEN_TYPES, NOT_DEPLOYED, NO_VERSION, NetworkType, OnchainLiquidationCall, OnchainLiquidationData, OnchainLiquidationOutput, OnchainRequestableWithdrawal, OnchainSDK, OnchainSDKOptions, OpenCAProps, OpenCreditAccountOperation, OpenStrategyPreviewResult, type OpenStrategyProps, OpenStrategyResult, type OpenStrategyState, Operation, OperationMetadata, type OperationState, OperationValidationError, OpportunitiesService, OptimalPartialLiquidation, OptimalPartialLiquidationAmounts, OptimalPartialLiquidationAmountsProps, OptimalPartialLiquidationProps, OuterFacadeOperation, PARTIAL_LIQUIDATION_BUFFER_BPS, PERCENTAGE_DECIMALS, PERCENTAGE_FACTOR, PERCENTAGE_FACTOR_1KK, PERIPHERY_CONTRACTS, PHANTOM_TOKEN_CONTRACT_TYPES, PHANTOM_TOKEN_MIDAS_REDEMPTION, PHANTOM_TOKEN_SECURITIZE_REDEMPTION, PRICE_DECIMALS, PRICE_DECIMALS_POW, ParsedCall, ParsedCallArgs, ParsedCallV2, ParsedZapperDeposit, ParsedZapperOperation, ParsedZapperRedeem, PartialLiquidationOperation, PartialLiquidationParams, PartialLiquidationParamsProps, PartialPriceFeedInitError, PartialPriceFeedTreeNode, PartialRecord, PartiallyLiquidatableArgs, type PathLossRate, PendingWithdrawal, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTWAPPTPriceFeed, PendleTokenType, PeripheryCompressorV310Contract, PeripheryContract, PermitResult, PhantomTokenContractType, PhantomTokenMeta, PickSomeRequired, PluginFactoriesMap, PluginFactory, PluginState, PluginStateVersionError, PluginStatesMap, PluginsMap, PoolDepositOperation, PoolLiquidityArgs, PoolMintOperation, PoolOperation, PoolOperationArgs, PoolOperationError, PoolPausedArgs, PoolQuotaKeeperContract, type PoolQuotaKeeperStateHuman, PoolRedeemOperation, PoolService, PoolServiceCall, PoolServiceCallResult, PoolSimulation, PoolState, type PoolStateHuman, PoolSuite, type PoolSuiteStateHuman, PoolSunsetArgs, PoolV310Contract, PoolWithdrawOperation, PositionsService, PrepareUpdateQuotasProps, PreviewDelayedWithdrawalProps, PreviewOperationError, PriceFeedAnswer, PriceFeedConstructorArgs, PriceFeedContractType, PriceFeedMapEntry, PriceFeedRef, PriceFeedRegistry, type PriceFeedStateHuman, PriceFeedTreeNode, PriceFeedUsageType, PriceFeedsForAccountOptions, PriceFeedsForTokensOptions, PriceOracleData, type PriceOracleStateHuman, PriceOracleV310Contract, PriceUpdate, PriceUpdatesCache, ProjectedPoolOptions, PythPriceFeed, QuotaActiveArgs, QuotaChangeArgs, QuotaCountArgs, QuotaKeeperState, QuotaLimitArgs, QuotaMode, type QuotaParamsHuman, QuotaSlice, QuotaState, QuotaUpdateError, RAMP_DURATION_BY_NETWORK, RAY, RAY_DECIMALS_POW, RWACompressorCall, RWACompressorInvestorData, RWACompressorResponse, RWADefaultTokenMeta, RWAFactoryData, RWAFactoryProtocol, RWAFactoryStateHuman, RWAInvestorData, RWALiquidatorInfo, RWAMulticallOperation, RWAOnDemandLPMeta, RWAOnDemandLPMonopolizedMeta, RWAOnDemandLpContractType, RWAOnDemandTokenMeta, RWAOpenCreditAccountOperation, RWAOpeningError, RWAOperation, RWAOperationMetadata, RWARegistry, RWAState, RWAStateHuman, RWATokenMeta, RWAUnderlyingContractType, RWAUnderlyingData, RWA_COMPRESSOR_ADDRESS, RWA_LIQUIDATOR_MIDAS, RWA_LIQUIDATOR_SECURITIZE, RWA_ON_DEMAND_LP_MONOPOLIZED, RWA_UNDERLYING_DEFAULT, RWA_UNDERLYING_ON_DEMAND, RampEvent, RateKeeperState, type RateKeeperStateHuman, RateKeeperType, type RawTx, RedemptionLog, RedemptionLoggerV310Contract, RedemptionPhantomRename, RedstonePriceFeedContract, type RedstonePriceFeedStateHuman, type RefusedIntent, RelaxedBaseParams, RemoveLiquidityProps, type RepayStrategyIntent, ReplayMulticallResult, ReplayState, ReplayableOperation, RequestableWithdrawal, ReservePriceLimitedArgs, type ResumableIntent, RetryOptions, RewardInfo, Rewards, type RouteErrors, RouterCASlice, RouterCMSlice, RouterCloseResult, RouterResult, RouterRewardsResult, RouterV310Contract, SDKConstruct, SDKOptions, SECONDS_PER_YEAR, SLIPPAGE_DECIMALS, STATE_VERSION, SUPPORTED_NETWORKS, SdkAlreadyAttachedError, SdkChainMismatchError, SdkMissingChainStateError, SdkNotAttachedError, SdkRWADataNotLoadedError, SdkStateVersionMismatchError, SdkSyncFailedError, SecuritizeCreditAccountData, SecuritizeDegenNFT, SecuritizeInvestorData, SecuritizeLiquidatorContract, SecuritizeOnRampAdapterContract, SecuritizeRWAFactory, SecuritizeRWAFactoryStateHuman, SecuritizeRedemptionGatewayAdapterContract, SendRawTxParameters, SetBotProps, SetBotResult, SimpleTokenMeta, SimulateCallOptions, SimulateCallParameters, SimulateCallReturnType, SimulateMulticallParameters, SimulateMulticallReturnType, SimulatePoolOperationProps, SimulateWithPriceUpdatesError, SimulateWithPriceUpdatesErrorParams, SimulateWithPriceUpdatesErrorType, SimulateWithPriceUpdatesParameters, SimulateWithPriceUpdatesReturnType, SimulationError, SimulationErrorType, SimulationValidationError, StakingRewardsAdapterContract, type StartIntent, StoreExpectedBalancesOp, StrategyCollateralProps, StrategyRateInputs, SupportedValue, Swap, SwapOperation, SyncStateOptions, type TimestampedCalldata, TokenAmount, TokenInfo, TokenMetaData, TokenTransfer, TokensMeta, TokensMetaState, TraceAdapterExt, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, Transfers, TreehouseFastlaneAdapterContract, TreehouseRedemptionGatewayAdapterContract, TreehouseRouterAdapterContract, type TumblerStateHuman, TypedObjectUtils, Unarray, UniswapSwap, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpdatablePriceFeedRegistry, type UpdatablePriceFeedRegistryHooks, type UpdatePriceFeedsResult, type UpdateQuotaIntent, UpdateQuotaOp, UpshiftVaultAdapterContract, VERSION_RANGE_310, VaultDeposit, VelodromeV2RouterAdapterContract, VersionRange, VersionedAbi, VotingContractStatus, WAD, WAD_DECIMALS_POW, WalletFundingError, WatchBlocksAsyncParameters, WatchBlocksAsyncReturnType, WeighedFactors, type WithBlock, type WithMultichain, type WithPartialState, type WithdrawAssetIntent, type WithdrawCeilings, WithdrawCollateral, WithdrawCollateralOp, type WithdrawStrategyIntent, WithdrawableAsset, WithdrawalCompressorLocation, WithdrawalCompressorV310Contract, WithdrawalCompressorV311Contract, WithdrawalCompressorV313Contract, WithdrawalCompressorVersion, WithdrawalMetadata, WithdrawalOutput, WithdrawalStatus, WithdrawalsState, WstETHPriceFeedContract, WstETHUnwrap, WstETHV1AdapterContract, WstETHWrap, YearnPriceFeedContract, ZapperContract, ZapperData, type ZapperStateHuman, ZeroPriceFeedContract, ZodAddress, ZodBigInt, ZodHex, accountSnapshotFromCreditAccountData, adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, allTransfersAsTokenAmounts, amountOf, assetsMap, attachOptionsSchema, botPermissionsToString, bpsToRay, buildDelayedStrategyPositionOperationPreview, bytes32ToString, calcBorrowApy, calcBorrowRate, calcDefaultQuota, calcEffectiveBorrowApy, calcHealthFactor, calcLiquidationPrice, calcLiquidationPriceForTarget, calcMaxLeverage, calcNetStrategyApy, calcPositionLeverage, calcQuotaRate, calcQuotaUpdate, calcRecommendedQuota, calcTimeToLiquidationMs, calcUtilization, calcUtilizationRaw, chains, checkAccountQuotas, checkBorrowLimit, checkCollateralFunding, checkCollateralised, checkCreditAccountFrozen, checkCreditManagerPaused, checkCreditOperation, checkDebtLimits, checkEmergencyLiquidator, checkForbiddenToken, checkHealthFactors, checkIncreaseDebt, checkIncreaseQuota, checkLeverage, checkLiquidation, checkLiquidationEligibility, checkLiquidationFunding, checkLiquidatorEligible, checkMarket, checkMarketExpired, checkMaxQuota, checkMidasAccountGreenlist, checkObtained, checkOperation, checkPartiallyLiquidatable, checkPoolFunding, checkPoolLiquidity, checkPoolOperation, checkPoolPaused, checkPoolSunset, checkQuotaActive, checkQuotaChange, checkQuotaCount, checkQuotaLimit, checkQuotaUpdates, checkRWAOpenRequirements, checkRWAOpening, checkReservePriceLimited, checkSimulation, checkWallet, checkWalletAllowance, checkWalletBalance, childLogger, classifyCloseOrRepay, classifyCurveOperation, classifyInnerOperations, collateralPriceInUnderlying, collectTraces, createAdapter, createAddressProvider, createPriceOracle, createRawTx, createRedemptionLogger, createRouter, createWithdrawalCompressor, createZapper, curveAddLiquidityFromTransfers, curveRemoveLiquidityFromTransfers, decodeDelayedIntent, detectDelayedClaim, detectDelayedOperation, detectNetwork, dominantCollateral, encodeDelayedIntent, erc4626ReferralAdapterAbi, estimateClaimableAt, estimateRawTxGas, etherscanApiUrl, etherscanUrl, executeDelegatedMulticalls, executeMulticallBatches, expectedBalanceDeltas, fetchCreditAccountSlice, filterDust, filterDustUSD, findCallTo, findCallWithInput, findCuratorMarketConfigurator, findExecuteBytes, fmtBinaryMask, fnSigToName, formatBN, formatBNvalue, formatDuration, formatLeverage, formatNumberToString_, formatPercentage, formatTimestamp, functionArgsToMap, functionArgsToRecord, generateCastTraceCall, getAccountTargetCollateral, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, getAssetType, getCastTraceArgs, getChain, getCuratorName, getDirectTransferToken, getFunctionSignature, getLegacyStrategyTarget, getNetworkType, getRawPriceUpdates, getSimulateWithPriceUpdatesError, getWithdrawalCompressorAddress, halfRAY, hasAdapterDeployParamsAbi, healthFactorBps, hexEq, hydrateAddressProvider, iAaveHorizonBridgeAbi, iAaveHorizonBridgeAdapterAbi, iAaveV3PoolAbi, iAaveV3PoolAdapterAbi, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCreditAccountAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iTreehouseFastlaneAbi, iTreehouseFastlaneAdapterAbi, iTreehouseRedemptionGatewayAbi, iTreehouseRedemptionGatewayAdapterAbi, iTreehouseRouterAbi, iTreehouseRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, isCloseOrRepay, isDust, isLPPriceFeed, isPhantomToken, isPoolOperation, isPublicNetwork, isRWAFactory, isRWAOperation, isRWAToken, isStrategyCollateral, isSunsetPool, isSunsetStrategy, isSupportedNetwork, isUpdatablePriceFeed, isV310, isVersionRange, isZeroBalance, iwstETHAbi, iwstEthv1AdapterAbi, json_parse, json_stringify, lidoV1_WETHGatewayAbi, makeReplayState, maxAmountForQuota, mellowDvvAdapterAbi, midasGreenlistsAccount, minSeizedAmount, numberWithCommas, onchainSDKOptionsSchema, optimalHFForPartialLiquidation, optimalPartialLiquidation, optimalPartialLiquidationAmounts, parseAdapterAction, parseAdapterDeployParams, parseFacadeOperationCalldata, parseOperationCalldata, parsePoolOperationCalldata, parsePosNegAmount, parseRWAFactoryOperationCalldata, partialLiquidationParams, percentFmt, pickStrategyTargetCollateral, previewAdjustStrategyPosition, previewExitOrRepayStrategyPosition, previewOperation, raise, rayToBps, rayToNumber, replayInnerOperations, replayMulticall, resolveDelayedClaimIntent, resolveProtocolCall, retry, rewardsFromTransfers, roundUpQuota, sendRawTx, shortAddress, shortHash, simulateCall, simulateMulticall, simulateWithPriceUpdates, soleNonUnderlyingCollateral, strategyName, swapFromTransfers, toAddress, toBN, toBigInt, toChainIds, toClaimableWithdrawal, toCreditAccountSlice, toNetTransfers, toPendingWithdrawal, toRequestableWithdrawal, toSignificant, toToken, toTokenAmount, toWithdrawalStatus, updatableDependencies, usdToNumber, watchBlocksAsync };
@@ -0,0 +1,83 @@
1
+ //#region src/onchain/market/adapters/abi/aave/iAaveHorizonBridge.d.ts
2
+ export declare const iAaveHorizonBridgeAbi: readonly [{
3
+ readonly name: "contractType";
4
+ readonly type: "function";
5
+ readonly stateMutability: "view";
6
+ readonly inputs: readonly [];
7
+ readonly outputs: readonly [{
8
+ readonly type: "bytes32";
9
+ }];
10
+ }, {
11
+ readonly name: "version";
12
+ readonly type: "function";
13
+ readonly stateMutability: "view";
14
+ readonly inputs: readonly [];
15
+ readonly outputs: readonly [{
16
+ readonly type: "uint256";
17
+ }];
18
+ }, {
19
+ readonly name: "pool";
20
+ readonly type: "function";
21
+ readonly stateMutability: "view";
22
+ readonly inputs: readonly [];
23
+ readonly outputs: readonly [{
24
+ readonly type: "address";
25
+ }];
26
+ }, {
27
+ readonly name: "rwaATokenManager";
28
+ readonly type: "function";
29
+ readonly stateMutability: "view";
30
+ readonly inputs: readonly [];
31
+ readonly outputs: readonly [{
32
+ readonly type: "address";
33
+ }];
34
+ }, {
35
+ readonly name: "referralCode";
36
+ readonly type: "function";
37
+ readonly stateMutability: "view";
38
+ readonly inputs: readonly [];
39
+ readonly outputs: readonly [{
40
+ readonly type: "uint16";
41
+ }];
42
+ }, {
43
+ readonly name: "openPosition";
44
+ readonly type: "function";
45
+ readonly stateMutability: "nonpayable";
46
+ readonly inputs: readonly [{
47
+ readonly type: "address";
48
+ readonly name: "aToken";
49
+ }, {
50
+ readonly type: "address";
51
+ readonly name: "debtToken";
52
+ }, {
53
+ readonly type: "uint256";
54
+ readonly name: "aTokenAmount";
55
+ }, {
56
+ readonly type: "uint256";
57
+ readonly name: "borrowAmount";
58
+ }];
59
+ readonly outputs: readonly [];
60
+ }, {
61
+ readonly name: "closePosition";
62
+ readonly type: "function";
63
+ readonly stateMutability: "nonpayable";
64
+ readonly inputs: readonly [{
65
+ readonly type: "address";
66
+ readonly name: "aToken";
67
+ }, {
68
+ readonly type: "address";
69
+ readonly name: "debtToken";
70
+ }, {
71
+ readonly type: "uint256";
72
+ readonly name: "repayAmount";
73
+ }, {
74
+ readonly type: "uint256";
75
+ readonly name: "aTokenAmount";
76
+ }];
77
+ readonly outputs: readonly [];
78
+ }, {
79
+ readonly name: "CreditAccountOwnerIsCreditAccountException";
80
+ readonly type: "error";
81
+ readonly inputs: readonly [];
82
+ }];
83
+ //#endregion
@@ -0,0 +1,90 @@
1
+ //#region src/onchain/market/adapters/abi/aave/iAaveV3Pool.d.ts
2
+ export declare const iAaveV3PoolAbi: readonly [{
3
+ readonly name: "supply";
4
+ readonly type: "function";
5
+ readonly stateMutability: "nonpayable";
6
+ readonly inputs: readonly [{
7
+ readonly type: "address";
8
+ readonly name: "asset";
9
+ }, {
10
+ readonly type: "uint256";
11
+ readonly name: "amount";
12
+ }, {
13
+ readonly type: "address";
14
+ readonly name: "onBehalfOf";
15
+ }, {
16
+ readonly type: "uint16";
17
+ readonly name: "referralCode";
18
+ }];
19
+ readonly outputs: readonly [];
20
+ }, {
21
+ readonly name: "withdraw";
22
+ readonly type: "function";
23
+ readonly stateMutability: "nonpayable";
24
+ readonly inputs: readonly [{
25
+ readonly type: "address";
26
+ readonly name: "asset";
27
+ }, {
28
+ readonly type: "uint256";
29
+ readonly name: "amount";
30
+ }, {
31
+ readonly type: "address";
32
+ readonly name: "to";
33
+ }];
34
+ readonly outputs: readonly [{
35
+ readonly type: "uint256";
36
+ }];
37
+ }, {
38
+ readonly name: "borrow";
39
+ readonly type: "function";
40
+ readonly stateMutability: "nonpayable";
41
+ readonly inputs: readonly [{
42
+ readonly type: "address";
43
+ readonly name: "asset";
44
+ }, {
45
+ readonly type: "uint256";
46
+ readonly name: "amount";
47
+ }, {
48
+ readonly type: "uint256";
49
+ readonly name: "interestRateMode";
50
+ }, {
51
+ readonly type: "uint16";
52
+ readonly name: "referralCode";
53
+ }, {
54
+ readonly type: "address";
55
+ readonly name: "onBehalfOf";
56
+ }];
57
+ readonly outputs: readonly [];
58
+ }, {
59
+ readonly name: "repay";
60
+ readonly type: "function";
61
+ readonly stateMutability: "nonpayable";
62
+ readonly inputs: readonly [{
63
+ readonly type: "address";
64
+ readonly name: "asset";
65
+ }, {
66
+ readonly type: "uint256";
67
+ readonly name: "amount";
68
+ }, {
69
+ readonly type: "uint256";
70
+ readonly name: "interestRateMode";
71
+ }, {
72
+ readonly type: "address";
73
+ readonly name: "onBehalfOf";
74
+ }];
75
+ readonly outputs: readonly [{
76
+ readonly type: "uint256";
77
+ }];
78
+ }, {
79
+ readonly name: "getReserveAToken";
80
+ readonly type: "function";
81
+ readonly stateMutability: "view";
82
+ readonly inputs: readonly [{
83
+ readonly type: "address";
84
+ readonly name: "asset";
85
+ }];
86
+ readonly outputs: readonly [{
87
+ readonly type: "address";
88
+ }];
89
+ }];
90
+ //#endregion
@@ -0,0 +1,3 @@
1
+ import { iAaveHorizonBridgeAbi } from "./iAaveHorizonBridge.js";
2
+ import { iAaveV3PoolAbi } from "./iAaveV3Pool.js";
3
+ export { iAaveHorizonBridgeAbi, iAaveV3PoolAbi };
@@ -0,0 +1,186 @@
1
+ //#region src/onchain/market/adapters/abi/adapters/iAaveHorizonBridgeAdapter.d.ts
2
+ export declare const iAaveHorizonBridgeAdapterAbi: readonly [{
3
+ readonly name: "contractType";
4
+ readonly type: "function";
5
+ readonly stateMutability: "view";
6
+ readonly inputs: readonly [];
7
+ readonly outputs: readonly [{
8
+ readonly type: "bytes32";
9
+ }];
10
+ }, {
11
+ readonly name: "creditManager";
12
+ readonly type: "function";
13
+ readonly stateMutability: "view";
14
+ readonly inputs: readonly [];
15
+ readonly outputs: readonly [{
16
+ readonly type: "address";
17
+ }];
18
+ }, {
19
+ readonly name: "targetContract";
20
+ readonly type: "function";
21
+ readonly stateMutability: "view";
22
+ readonly inputs: readonly [];
23
+ readonly outputs: readonly [{
24
+ readonly type: "address";
25
+ }];
26
+ }, {
27
+ readonly name: "version";
28
+ readonly type: "function";
29
+ readonly stateMutability: "view";
30
+ readonly inputs: readonly [];
31
+ readonly outputs: readonly [{
32
+ readonly type: "uint256";
33
+ }];
34
+ }, {
35
+ readonly name: "serialize";
36
+ readonly type: "function";
37
+ readonly stateMutability: "view";
38
+ readonly inputs: readonly [];
39
+ readonly outputs: readonly [{
40
+ readonly type: "bytes";
41
+ readonly name: "serializedData";
42
+ }];
43
+ }, {
44
+ readonly name: "bridge";
45
+ readonly type: "function";
46
+ readonly stateMutability: "view";
47
+ readonly inputs: readonly [];
48
+ readonly outputs: readonly [{
49
+ readonly type: "address";
50
+ }];
51
+ }, {
52
+ readonly name: "isATokenAllowed";
53
+ readonly type: "function";
54
+ readonly stateMutability: "view";
55
+ readonly inputs: readonly [{
56
+ readonly type: "address";
57
+ readonly name: "token";
58
+ }];
59
+ readonly outputs: readonly [{
60
+ readonly type: "bool";
61
+ }];
62
+ }, {
63
+ readonly name: "isDebtTokenAllowed";
64
+ readonly type: "function";
65
+ readonly stateMutability: "view";
66
+ readonly inputs: readonly [{
67
+ readonly type: "address";
68
+ readonly name: "token";
69
+ }];
70
+ readonly outputs: readonly [{
71
+ readonly type: "bool";
72
+ }];
73
+ }, {
74
+ readonly name: "allowedATokens";
75
+ readonly type: "function";
76
+ readonly stateMutability: "view";
77
+ readonly inputs: readonly [];
78
+ readonly outputs: readonly [{
79
+ readonly type: "address[]";
80
+ }];
81
+ }, {
82
+ readonly name: "allowedDebtTokens";
83
+ readonly type: "function";
84
+ readonly stateMutability: "view";
85
+ readonly inputs: readonly [];
86
+ readonly outputs: readonly [{
87
+ readonly type: "address[]";
88
+ }];
89
+ }, {
90
+ readonly name: "openPosition";
91
+ readonly type: "function";
92
+ readonly stateMutability: "nonpayable";
93
+ readonly inputs: readonly [{
94
+ readonly type: "address";
95
+ readonly name: "aToken";
96
+ }, {
97
+ readonly type: "address";
98
+ readonly name: "debtToken";
99
+ }, {
100
+ readonly type: "uint256";
101
+ readonly name: "aTokenAmount";
102
+ }, {
103
+ readonly type: "uint256";
104
+ readonly name: "borrowAmount";
105
+ }];
106
+ readonly outputs: readonly [{
107
+ readonly type: "bool";
108
+ readonly name: "useSafePrices";
109
+ }];
110
+ }, {
111
+ readonly name: "closePosition";
112
+ readonly type: "function";
113
+ readonly stateMutability: "nonpayable";
114
+ readonly inputs: readonly [{
115
+ readonly type: "address";
116
+ readonly name: "aToken";
117
+ }, {
118
+ readonly type: "address";
119
+ readonly name: "debtToken";
120
+ }, {
121
+ readonly type: "uint256";
122
+ readonly name: "repayAmount";
123
+ }, {
124
+ readonly type: "uint256";
125
+ readonly name: "aTokenAmount";
126
+ }];
127
+ readonly outputs: readonly [{
128
+ readonly type: "bool";
129
+ readonly name: "useSafePrices";
130
+ }];
131
+ }, {
132
+ readonly name: "setATokenStatusBatch";
133
+ readonly type: "function";
134
+ readonly stateMutability: "nonpayable";
135
+ readonly inputs: readonly [{
136
+ readonly type: "tuple[]";
137
+ readonly name: "tokens";
138
+ readonly components: readonly [{
139
+ readonly type: "address";
140
+ readonly name: "token";
141
+ }, {
142
+ readonly type: "bool";
143
+ readonly name: "allowed";
144
+ }];
145
+ }];
146
+ readonly outputs: readonly [];
147
+ }, {
148
+ readonly name: "setDebtTokenStatusBatch";
149
+ readonly type: "function";
150
+ readonly stateMutability: "nonpayable";
151
+ readonly inputs: readonly [{
152
+ readonly type: "tuple[]";
153
+ readonly name: "tokens";
154
+ readonly components: readonly [{
155
+ readonly type: "address";
156
+ readonly name: "token";
157
+ }, {
158
+ readonly type: "bool";
159
+ readonly name: "allowed";
160
+ }];
161
+ }];
162
+ readonly outputs: readonly [];
163
+ }, {
164
+ readonly name: "SetATokenStatus";
165
+ readonly type: "event";
166
+ readonly inputs: readonly [{
167
+ readonly type: "address";
168
+ readonly name: "token";
169
+ readonly indexed: true;
170
+ }, {
171
+ readonly type: "bool";
172
+ readonly name: "allowed";
173
+ }];
174
+ }, {
175
+ readonly name: "SetDebtTokenStatus";
176
+ readonly type: "event";
177
+ readonly inputs: readonly [{
178
+ readonly type: "address";
179
+ readonly name: "token";
180
+ readonly indexed: true;
181
+ }, {
182
+ readonly type: "bool";
183
+ readonly name: "allowed";
184
+ }];
185
+ }];
186
+ //#endregion