@exponent-labs/exponent-sdk 0.9.1 → 0.9.3

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 (1117) hide show
  1. package/build/addressLookupTableUtil.d.ts +13 -13
  2. package/build/addressLookupTableUtil.js +5 -5
  3. package/build/addressLookupTableUtil.js.map +1 -1
  4. package/build/client/clmm/accounts/lpPosition.js +5 -6
  5. package/build/client/clmm/accounts/lpPosition.js.map +1 -1
  6. package/build/client/clmm/accounts/marketThree.js +5 -6
  7. package/build/client/clmm/accounts/marketThree.js.map +1 -1
  8. package/build/client/clmm/accounts/vault.js +5 -6
  9. package/build/client/clmm/accounts/vault.js.map +1 -1
  10. package/build/client/clmm/index.d.ts +1 -2
  11. package/build/client/clmm/instructions/addFarm.js +1 -2
  12. package/build/client/clmm/instructions/addFarm.js.map +1 -1
  13. package/build/client/clmm/instructions/addLiquidity.js +1 -2
  14. package/build/client/clmm/instructions/addLiquidity.js.map +1 -1
  15. package/build/client/clmm/instructions/addMarketEmission.js +1 -2
  16. package/build/client/clmm/instructions/addMarketEmission.js.map +1 -1
  17. package/build/client/clmm/instructions/buyPt.js +1 -2
  18. package/build/client/clmm/instructions/buyPt.js.map +1 -1
  19. package/build/client/clmm/instructions/buyYt.js +1 -2
  20. package/build/client/clmm/instructions/buyYt.js.map +1 -1
  21. package/build/client/clmm/instructions/claimFarmEmission.js +1 -2
  22. package/build/client/clmm/instructions/claimFarmEmission.js.map +1 -1
  23. package/build/client/clmm/instructions/closeMarket.js +1 -2
  24. package/build/client/clmm/instructions/closeMarket.js.map +1 -1
  25. package/build/client/clmm/instructions/depositLiquidity.js +1 -2
  26. package/build/client/clmm/instructions/depositLiquidity.js.map +1 -1
  27. package/build/client/clmm/instructions/initializeMarket.js +1 -2
  28. package/build/client/clmm/instructions/initializeMarket.js.map +1 -1
  29. package/build/client/clmm/instructions/marketAccrueEmission.js +1 -2
  30. package/build/client/clmm/instructions/marketAccrueEmission.js.map +1 -1
  31. package/build/client/clmm/instructions/marketCollectEmission.js +1 -2
  32. package/build/client/clmm/instructions/marketCollectEmission.js.map +1 -1
  33. package/build/client/clmm/instructions/modifyFarm.js +1 -2
  34. package/build/client/clmm/instructions/modifyFarm.js.map +1 -1
  35. package/build/client/clmm/instructions/modifyMarketSetting.js +1 -2
  36. package/build/client/clmm/instructions/modifyMarketSetting.js.map +1 -1
  37. package/build/client/clmm/instructions/sellPt.js +1 -2
  38. package/build/client/clmm/instructions/sellPt.js.map +1 -1
  39. package/build/client/clmm/instructions/sellYt.js +1 -2
  40. package/build/client/clmm/instructions/sellYt.js.map +1 -1
  41. package/build/client/clmm/instructions/tradePt.js +1 -2
  42. package/build/client/clmm/instructions/tradePt.js.map +1 -1
  43. package/build/client/clmm/instructions/tradePtExactOut.js +1 -2
  44. package/build/client/clmm/instructions/tradePtExactOut.js.map +1 -1
  45. package/build/client/clmm/instructions/withdrawLiquidity.js +1 -2
  46. package/build/client/clmm/instructions/withdrawLiquidity.js.map +1 -1
  47. package/build/client/clmm/instructions/wrapperBuyYt.js +1 -2
  48. package/build/client/clmm/instructions/wrapperBuyYt.js.map +1 -1
  49. package/build/client/clmm/instructions/wrapperProvideLiquidity.js +1 -2
  50. package/build/client/clmm/instructions/wrapperProvideLiquidity.js.map +1 -1
  51. package/build/client/clmm/instructions/wrapperProvideLiquidityBase.js +1 -2
  52. package/build/client/clmm/instructions/wrapperProvideLiquidityBase.js.map +1 -1
  53. package/build/client/clmm/instructions/wrapperProvideLiquidityClassic.js +1 -2
  54. package/build/client/clmm/instructions/wrapperProvideLiquidityClassic.js.map +1 -1
  55. package/build/client/clmm/instructions/wrapperSellYt.js +1 -2
  56. package/build/client/clmm/instructions/wrapperSellYt.js.map +1 -1
  57. package/build/client/clmm/instructions/wrapperWithdrawLiquidity.js +1 -2
  58. package/build/client/clmm/instructions/wrapperWithdrawLiquidity.js.map +1 -1
  59. package/build/client/clmm/instructions/wrapperWithdrawLiquidityClassic.js +1 -2
  60. package/build/client/clmm/instructions/wrapperWithdrawLiquidityClassic.js.map +1 -1
  61. package/build/client/clmm/types/addFarmEvent.d.ts +1 -25
  62. package/build/client/clmm/types/amount.d.ts +1 -19
  63. package/build/client/clmm/types/amount.js +3 -3
  64. package/build/client/clmm/types/amount.js.map +1 -1
  65. package/build/client/clmm/types/buyPtEvent.d.ts +1 -16
  66. package/build/client/clmm/types/buyYtEvent.d.ts +1 -40
  67. package/build/client/clmm/types/claimFarmEmissionsEvent.d.ts +1 -149
  68. package/build/client/clmm/types/claimLimits.d.ts +1 -16
  69. package/build/client/clmm/types/closeMarketEvent.d.ts +1 -16
  70. package/build/client/clmm/types/configurationOptions.d.ts +1 -25
  71. package/build/client/clmm/types/cpiAccounts.d.ts +1 -99
  72. package/build/client/clmm/types/cpiCoreAccounts.d.ts +1 -42
  73. package/build/client/clmm/types/cpiInterfaceContext.d.ts +1 -13
  74. package/build/client/clmm/types/crossingSplit.d.ts +1 -109
  75. package/build/client/clmm/types/depositLiquidityEvent.d.ts +1 -149
  76. package/build/client/clmm/types/depositLiquidityReturnData.d.ts +1 -49
  77. package/build/client/clmm/types/emissionInfo.d.ts +1 -25
  78. package/build/client/clmm/types/farmEmission.d.ts +1 -16
  79. package/build/client/clmm/types/liquidityNetBalanceLimits.d.ts +1 -19
  80. package/build/client/clmm/types/lpFarm.d.ts +1 -30
  81. package/build/client/clmm/types/marketAccrueEmissionEvent.d.ts +1 -134
  82. package/build/client/clmm/types/marketAdminAction.d.ts +1 -306
  83. package/build/client/clmm/types/marketAdminAction.js +3 -3
  84. package/build/client/clmm/types/marketAdminAction.js.map +1 -1
  85. package/build/client/clmm/types/marketCollectEmissionEvent.d.ts +1 -143
  86. package/build/client/clmm/types/marketEmission.d.ts +1 -13
  87. package/build/client/clmm/types/marketEmissions.d.ts +1 -23
  88. package/build/client/clmm/types/marketFinancials.d.ts +1 -19
  89. package/build/client/clmm/types/marketThreeInitEvent.d.ts +1 -52
  90. package/build/client/clmm/types/mergeEvent.d.ts +1 -61
  91. package/build/client/clmm/types/modifiedTick.d.ts +1 -13
  92. package/build/client/clmm/types/modifiedTicks.d.ts +1 -35
  93. package/build/client/clmm/types/modifyFarmEvent.d.ts +1 -31
  94. package/build/client/clmm/types/number.d.ts +1 -1
  95. package/build/client/clmm/types/personalYieldTracker.d.ts +1 -10
  96. package/build/client/clmm/types/personalYieldTrackers.d.ts +1 -19
  97. package/build/client/clmm/types/principalShare.d.ts +1 -42
  98. package/build/client/clmm/types/principalShareTrackers.d.ts +1 -59
  99. package/build/client/clmm/types/sellPtEvent.d.ts +1 -16
  100. package/build/client/clmm/types/sellYtEvent.d.ts +1 -34
  101. package/build/client/clmm/types/stripEvent.d.ts +1 -61
  102. package/build/client/clmm/types/swapDirection.d.ts +1 -1
  103. package/build/client/clmm/types/tradePtEvent.d.ts +1 -90
  104. package/build/client/clmm/types/withdrawLiquidityEvent.d.ts +1 -158
  105. package/build/client/clmm/types/withdrawLiquidityReturnData.d.ts +1 -34
  106. package/build/client/clmm/types/wrapperBuyYtEvent.d.ts +1 -16
  107. package/build/client/clmm/types/wrapperProvideLiquidityBaseEvent.d.ts +1 -40
  108. package/build/client/clmm/types/wrapperProvideLiquidityClassicEvent.d.ts +1 -37
  109. package/build/client/clmm/types/wrapperProvideLiquidityEvent.d.ts +1 -40
  110. package/build/client/clmm/types/wrapperSellYtEvent.d.ts +1 -16
  111. package/build/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.d.ts +1 -43
  112. package/build/client/clmm/types/wrapperWithdrawLiquidityEvent.d.ts +1 -43
  113. package/build/client/core/accounts/admin.js +5 -6
  114. package/build/client/core/accounts/admin.js.map +1 -1
  115. package/build/client/core/accounts/lpPosition.js +5 -6
  116. package/build/client/core/accounts/lpPosition.js.map +1 -1
  117. package/build/client/core/accounts/marketTwo.js +5 -6
  118. package/build/client/core/accounts/marketTwo.js.map +1 -1
  119. package/build/client/core/accounts/vault.js +5 -6
  120. package/build/client/core/accounts/vault.js.map +1 -1
  121. package/build/client/core/accounts/yieldTokenPosition.js +5 -6
  122. package/build/client/core/accounts/yieldTokenPosition.js.map +1 -1
  123. package/build/client/core/index.d.ts +1 -2
  124. package/build/client/core/instructions/addEmission.js +1 -2
  125. package/build/client/core/instructions/addEmission.js.map +1 -1
  126. package/build/client/core/instructions/addFarm.js +1 -2
  127. package/build/client/core/instructions/addFarm.js.map +1 -1
  128. package/build/client/core/instructions/addLpTokensMetadata.js +1 -2
  129. package/build/client/core/instructions/addLpTokensMetadata.js.map +1 -1
  130. package/build/client/core/instructions/addMarketEmission.js +1 -2
  131. package/build/client/core/instructions/addMarketEmission.js.map +1 -1
  132. package/build/client/core/instructions/buyYt.js +1 -2
  133. package/build/client/core/instructions/buyYt.js.map +1 -1
  134. package/build/client/core/instructions/claimFarmEmissions.js +1 -2
  135. package/build/client/core/instructions/claimFarmEmissions.js.map +1 -1
  136. package/build/client/core/instructions/collectEmission.js +1 -2
  137. package/build/client/core/instructions/collectEmission.js.map +1 -1
  138. package/build/client/core/instructions/collectInterest.js +1 -2
  139. package/build/client/core/instructions/collectInterest.js.map +1 -1
  140. package/build/client/core/instructions/collectTreasuryEmission.js +1 -2
  141. package/build/client/core/instructions/collectTreasuryEmission.js.map +1 -1
  142. package/build/client/core/instructions/collectTreasuryInterest.js +1 -2
  143. package/build/client/core/instructions/collectTreasuryInterest.js.map +1 -1
  144. package/build/client/core/instructions/depositYt.js +1 -2
  145. package/build/client/core/instructions/depositYt.js.map +1 -1
  146. package/build/client/core/instructions/initLpPosition.js +1 -2
  147. package/build/client/core/instructions/initLpPosition.js.map +1 -1
  148. package/build/client/core/instructions/initMarketTwo.js +1 -2
  149. package/build/client/core/instructions/initMarketTwo.js.map +1 -1
  150. package/build/client/core/instructions/initializeVault.js +1 -2
  151. package/build/client/core/instructions/initializeVault.js.map +1 -1
  152. package/build/client/core/instructions/initializeYieldPosition.js +1 -2
  153. package/build/client/core/instructions/initializeYieldPosition.js.map +1 -1
  154. package/build/client/core/instructions/marketCollectEmission.js +1 -2
  155. package/build/client/core/instructions/marketCollectEmission.js.map +1 -1
  156. package/build/client/core/instructions/marketDepositLp.js +1 -2
  157. package/build/client/core/instructions/marketDepositLp.js.map +1 -1
  158. package/build/client/core/instructions/marketTwoDepositLiquidity.js +1 -2
  159. package/build/client/core/instructions/marketTwoDepositLiquidity.js.map +1 -1
  160. package/build/client/core/instructions/marketTwoWithdrawLiquidity.js +1 -2
  161. package/build/client/core/instructions/marketTwoWithdrawLiquidity.js.map +1 -1
  162. package/build/client/core/instructions/marketWithdrawLp.js +1 -2
  163. package/build/client/core/instructions/marketWithdrawLp.js.map +1 -1
  164. package/build/client/core/instructions/merge.js +1 -2
  165. package/build/client/core/instructions/merge.js.map +1 -1
  166. package/build/client/core/instructions/modifyFarm.js +1 -2
  167. package/build/client/core/instructions/modifyFarm.js.map +1 -1
  168. package/build/client/core/instructions/modifyMarketSetting.js +1 -2
  169. package/build/client/core/instructions/modifyMarketSetting.js.map +1 -1
  170. package/build/client/core/instructions/modifyVaultSetting.js +1 -2
  171. package/build/client/core/instructions/modifyVaultSetting.js.map +1 -1
  172. package/build/client/core/instructions/reallocMarket.js +1 -2
  173. package/build/client/core/instructions/reallocMarket.js.map +1 -1
  174. package/build/client/core/instructions/sellYt.js +1 -2
  175. package/build/client/core/instructions/sellYt.js.map +1 -1
  176. package/build/client/core/instructions/stageYtYield.js +1 -2
  177. package/build/client/core/instructions/stageYtYield.js.map +1 -1
  178. package/build/client/core/instructions/strip.js +1 -2
  179. package/build/client/core/instructions/strip.js.map +1 -1
  180. package/build/client/core/instructions/tradePt.js +1 -2
  181. package/build/client/core/instructions/tradePt.js.map +1 -1
  182. package/build/client/core/instructions/withdrawYt.js +1 -2
  183. package/build/client/core/instructions/withdrawYt.js.map +1 -1
  184. package/build/client/core/instructions/wrapperBuyPt.js +1 -2
  185. package/build/client/core/instructions/wrapperBuyPt.js.map +1 -1
  186. package/build/client/core/instructions/wrapperBuyYt.js +1 -2
  187. package/build/client/core/instructions/wrapperBuyYt.js.map +1 -1
  188. package/build/client/core/instructions/wrapperCollectInterest.js +1 -2
  189. package/build/client/core/instructions/wrapperCollectInterest.js.map +1 -1
  190. package/build/client/core/instructions/wrapperMerge.js +1 -2
  191. package/build/client/core/instructions/wrapperMerge.js.map +1 -1
  192. package/build/client/core/instructions/wrapperProvideLiquidity.js +1 -2
  193. package/build/client/core/instructions/wrapperProvideLiquidity.js.map +1 -1
  194. package/build/client/core/instructions/wrapperProvideLiquidityBase.js +1 -2
  195. package/build/client/core/instructions/wrapperProvideLiquidityBase.js.map +1 -1
  196. package/build/client/core/instructions/wrapperProvideLiquidityClassic.js +1 -2
  197. package/build/client/core/instructions/wrapperProvideLiquidityClassic.js.map +1 -1
  198. package/build/client/core/instructions/wrapperSellPt.js +1 -2
  199. package/build/client/core/instructions/wrapperSellPt.js.map +1 -1
  200. package/build/client/core/instructions/wrapperSellYt.js +1 -2
  201. package/build/client/core/instructions/wrapperSellYt.js.map +1 -1
  202. package/build/client/core/instructions/wrapperStrip.js +1 -2
  203. package/build/client/core/instructions/wrapperStrip.js.map +1 -1
  204. package/build/client/core/instructions/wrapperWithdrawLiquidity.js +1 -2
  205. package/build/client/core/instructions/wrapperWithdrawLiquidity.js.map +1 -1
  206. package/build/client/core/instructions/wrapperWithdrawLiquidityClassic.js +1 -2
  207. package/build/client/core/instructions/wrapperWithdrawLiquidityClassic.js.map +1 -1
  208. package/build/client/core/types/adminAction.d.ts +1 -269
  209. package/build/client/core/types/adminAction.js +3 -3
  210. package/build/client/core/types/adminAction.js.map +1 -1
  211. package/build/client/core/types/amount.d.ts +1 -19
  212. package/build/client/core/types/amount.js +3 -3
  213. package/build/client/core/types/amount.js.map +1 -1
  214. package/build/client/core/types/buyPtEvent.d.ts +1 -19
  215. package/build/client/core/types/buyYtEvent.d.ts +1 -49
  216. package/build/client/core/types/claimFarmEmissionsEvent.d.ts +1 -31
  217. package/build/client/core/types/claimFarmEmissionsEventV2.d.ts +1 -83
  218. package/build/client/core/types/claimLimits.d.ts +1 -16
  219. package/build/client/core/types/collectEmissionEvent.d.ts +1 -25
  220. package/build/client/core/types/collectEmissionEventV2.d.ts +1 -55
  221. package/build/client/core/types/collectInterestEvent.d.ts +1 -22
  222. package/build/client/core/types/collectInterestEventV2.d.ts +1 -52
  223. package/build/client/core/types/collectTreasuryEmissionKind.d.ts +1 -1
  224. package/build/client/core/types/collectTreasuryInterestKind.d.ts +1 -1
  225. package/build/client/core/types/cpiAccounts.d.ts +1 -99
  226. package/build/client/core/types/cpiInterfaceContext.d.ts +1 -13
  227. package/build/client/core/types/depositLiquidityEvent.d.ts +1 -49
  228. package/build/client/core/types/depositLpEvent.d.ts +1 -31
  229. package/build/client/core/types/depositLpEventV2.d.ts +1 -83
  230. package/build/client/core/types/depositYtEvent.d.ts +1 -40
  231. package/build/client/core/types/depositYtEventV2.d.ts +1 -70
  232. package/build/client/core/types/emissionInfo.d.ts +1 -25
  233. package/build/client/core/types/farmEmission.d.ts +1 -16
  234. package/build/client/core/types/initLpPositionEvent.d.ts +1 -25
  235. package/build/client/core/types/initializeYieldPositionEvent.d.ts +1 -16
  236. package/build/client/core/types/liquidityNetBalanceLimits.d.ts +1 -19
  237. package/build/client/core/types/lpFarm.d.ts +1 -30
  238. package/build/client/core/types/marketAdminAction.d.ts +1 -239
  239. package/build/client/core/types/marketAdminAction.js +3 -3
  240. package/build/client/core/types/marketAdminAction.js.map +1 -1
  241. package/build/client/core/types/marketCollectEmissionEvent.d.ts +1 -28
  242. package/build/client/core/types/marketCollectEmissionEventV2.d.ts +1 -80
  243. package/build/client/core/types/marketEmission.d.ts +1 -13
  244. package/build/client/core/types/marketEmissions.d.ts +1 -23
  245. package/build/client/core/types/marketFinancials.d.ts +1 -22
  246. package/build/client/core/types/mergeEvent.d.ts +1 -61
  247. package/build/client/core/types/number.d.ts +1 -1
  248. package/build/client/core/types/personalYieldTracker.d.ts +1 -10
  249. package/build/client/core/types/personalYieldTrackers.d.ts +1 -19
  250. package/build/client/core/types/principleDetails.d.ts +1 -7
  251. package/build/client/core/types/principles.d.ts +1 -70
  252. package/build/client/core/types/sellPtEvent.d.ts +1 -19
  253. package/build/client/core/types/sellYtEvent.d.ts +1 -43
  254. package/build/client/core/types/stageYieldEvent.d.ts +1 -31
  255. package/build/client/core/types/stageYieldEventV2.d.ts +1 -58
  256. package/build/client/core/types/stripEvent.d.ts +1 -61
  257. package/build/client/core/types/tradePtEvent.d.ts +1 -37
  258. package/build/client/core/types/withdrawLiquidityEvent.d.ts +1 -43
  259. package/build/client/core/types/withdrawLpEvent.d.ts +1 -31
  260. package/build/client/core/types/withdrawLpEventV2.d.ts +1 -83
  261. package/build/client/core/types/withdrawYtEvent.d.ts +1 -40
  262. package/build/client/core/types/withdrawYtEventV2.d.ts +1 -70
  263. package/build/client/core/types/wrapperBuyYtEvent.d.ts +1 -19
  264. package/build/client/core/types/wrapperCollectInterestEvent.d.ts +1 -16
  265. package/build/client/core/types/wrapperMergeEvent.d.ts +1 -19
  266. package/build/client/core/types/wrapperProvideLiquidityBaseEvent.d.ts +1 -25
  267. package/build/client/core/types/wrapperProvideLiquidityClassicEvent.d.ts +1 -22
  268. package/build/client/core/types/wrapperProvideLiquidityEvent.d.ts +1 -22
  269. package/build/client/core/types/wrapperSellYtEvent.d.ts +1 -19
  270. package/build/client/core/types/wrapperStripEvent.d.ts +1 -19
  271. package/build/client/core/types/wrapperWithdrawLiquidityClassicEvent.d.ts +1 -22
  272. package/build/client/core/types/wrapperWithdrawLiquidityEvent.d.ts +1 -19
  273. package/build/client/core/types/yieldTokenTracker.d.ts +1 -10
  274. package/build/client/orderbook/accounts/cpiAccountsOrderbook.js +5 -6
  275. package/build/client/orderbook/accounts/cpiAccountsOrderbook.js.map +1 -1
  276. package/build/client/orderbook/accounts/vault.js +5 -6
  277. package/build/client/orderbook/accounts/vault.js.map +1 -1
  278. package/build/client/orderbook/index.d.ts +1 -2
  279. package/build/client/orderbook/instructions/collectAdminEmission.js +1 -2
  280. package/build/client/orderbook/instructions/collectAdminEmission.js.map +1 -1
  281. package/build/client/orderbook/instructions/collectAdminFee.js +1 -2
  282. package/build/client/orderbook/instructions/collectAdminFee.js.map +1 -1
  283. package/build/client/orderbook/instructions/collectInterest.js +1 -2
  284. package/build/client/orderbook/instructions/collectInterest.js.map +1 -1
  285. package/build/client/orderbook/instructions/initializeOrderbook.js +1 -2
  286. package/build/client/orderbook/instructions/initializeOrderbook.js.map +1 -1
  287. package/build/client/orderbook/instructions/marketOffer.js +1 -2
  288. package/build/client/orderbook/instructions/marketOffer.js.map +1 -1
  289. package/build/client/orderbook/instructions/postOffer.js +1 -2
  290. package/build/client/orderbook/instructions/postOffer.js.map +1 -1
  291. package/build/client/orderbook/instructions/reallocOrderbookAccount.js +1 -2
  292. package/build/client/orderbook/instructions/reallocOrderbookAccount.js.map +1 -1
  293. package/build/client/orderbook/instructions/removeExpiredOffers.js +1 -2
  294. package/build/client/orderbook/instructions/removeExpiredOffers.js.map +1 -1
  295. package/build/client/orderbook/instructions/removeOffer.js +1 -2
  296. package/build/client/orderbook/instructions/removeOffer.js.map +1 -1
  297. package/build/client/orderbook/instructions/setConfigurationOptions.js +1 -2
  298. package/build/client/orderbook/instructions/setConfigurationOptions.js.map +1 -1
  299. package/build/client/orderbook/instructions/withdrawFunds.js +1 -2
  300. package/build/client/orderbook/instructions/withdrawFunds.js.map +1 -1
  301. package/build/client/orderbook/instructions/wrapperCollectAdminFee.js +1 -2
  302. package/build/client/orderbook/instructions/wrapperCollectAdminFee.js.map +1 -1
  303. package/build/client/orderbook/instructions/wrapperCollectInterest.js +1 -2
  304. package/build/client/orderbook/instructions/wrapperCollectInterest.js.map +1 -1
  305. package/build/client/orderbook/instructions/wrapperMarketOffer.js +1 -2
  306. package/build/client/orderbook/instructions/wrapperMarketOffer.js.map +1 -1
  307. package/build/client/orderbook/instructions/wrapperPostOffer.js +1 -2
  308. package/build/client/orderbook/instructions/wrapperPostOffer.js.map +1 -1
  309. package/build/client/orderbook/instructions/wrapperRemoveOffer.js +1 -2
  310. package/build/client/orderbook/instructions/wrapperRemoveOffer.js.map +1 -1
  311. package/build/client/orderbook/instructions/wrapperWithdrawFunds.js +1 -2
  312. package/build/client/orderbook/instructions/wrapperWithdrawFunds.js.map +1 -1
  313. package/build/client/orderbook/types/amount.d.ts +1 -19
  314. package/build/client/orderbook/types/amount.js +3 -3
  315. package/build/client/orderbook/types/amount.js.map +1 -1
  316. package/build/client/orderbook/types/claimLimits.d.ts +1 -16
  317. package/build/client/orderbook/types/collectAdminEmissionEvent.d.ts +1 -19
  318. package/build/client/orderbook/types/collectAdminFeeEvent.d.ts +1 -19
  319. package/build/client/orderbook/types/collectEmissionEventV2.d.ts +1 -55
  320. package/build/client/orderbook/types/collectInterestEventV2.d.ts +1 -52
  321. package/build/client/orderbook/types/collectUserInterestEvent.d.ts +1 -16
  322. package/build/client/orderbook/types/cpiAccounts.d.ts +1 -99
  323. package/build/client/orderbook/types/cpiInterfaceContext.d.ts +1 -13
  324. package/build/client/orderbook/types/emissionInfo.d.ts +1 -25
  325. package/build/client/orderbook/types/exponentCoreCpiAccounts.d.ts +1 -99
  326. package/build/client/orderbook/types/filledOffersEvent.d.ts +1 -22
  327. package/build/client/orderbook/types/marketOfferEvent.d.ts +1 -74
  328. package/build/client/orderbook/types/mergeEvent.d.ts +1 -61
  329. package/build/client/orderbook/types/number.d.ts +1 -1
  330. package/build/client/orderbook/types/offerOptions.d.ts +1 -13
  331. package/build/client/orderbook/types/offerOptions.js +3 -3
  332. package/build/client/orderbook/types/offerOptions.js.map +1 -1
  333. package/build/client/orderbook/types/offerType.d.ts +1 -1
  334. package/build/client/orderbook/types/orderbookInitEvent.d.ts +1 -28
  335. package/build/client/orderbook/types/postOfferEvent.d.ts +1 -96
  336. package/build/client/orderbook/types/removeOfferEvent.d.ts +1 -28
  337. package/build/client/orderbook/types/setConfigurationOptionsEnum.d.ts +1 -49
  338. package/build/client/orderbook/types/setConfigurationOptionsEnum.js +3 -3
  339. package/build/client/orderbook/types/setConfigurationOptionsEnum.js.map +1 -1
  340. package/build/client/orderbook/types/stripEvent.d.ts +1 -61
  341. package/build/client/orderbook/types/withdrawFundsEvent.d.ts +1 -28
  342. package/build/client/orderbook/types/wrapperCollectAdminFeeEvent.d.ts +1 -13
  343. package/build/client/orderbook/types/wrapperCollectInterestEvent.d.ts +1 -10
  344. package/build/client/orderbook/types/wrapperMarketOfferEvent.d.ts +1 -13
  345. package/build/client/orderbook/types/wrapperPostOfferEvent.d.ts +1 -28
  346. package/build/client/orderbook/types/wrapperRemoveOfferEvent.d.ts +1 -10
  347. package/build/client/orderbook/types/wrapperWithdrawFundsEvent.d.ts +1 -19
  348. package/build/client/orderbook/types/yieldTokenTracker.d.ts +1 -10
  349. package/build/client/vaults/accounts/actionProposal.js +5 -6
  350. package/build/client/vaults/accounts/actionProposal.js.map +1 -1
  351. package/build/client/vaults/accounts/exponentStrategyVault.js +5 -6
  352. package/build/client/vaults/accounts/exponentStrategyVault.js.map +1 -1
  353. package/build/client/vaults/accounts/programConfig.js +5 -6
  354. package/build/client/vaults/accounts/programConfig.js.map +1 -1
  355. package/build/client/vaults/accounts/voteAccount.js +5 -6
  356. package/build/client/vaults/accounts/voteAccount.js.map +1 -1
  357. package/build/client/vaults/accounts/withdrawalAccount.js +5 -6
  358. package/build/client/vaults/accounts/withdrawalAccount.js.map +1 -1
  359. package/build/client/vaults/eventRegistry.d.ts +8 -2
  360. package/build/client/vaults/eventRegistry.js +6 -0
  361. package/build/client/vaults/eventRegistry.js.map +1 -1
  362. package/build/client/vaults/index.d.ts +4 -2
  363. package/build/client/vaults/index.js +3 -0
  364. package/build/client/vaults/index.js.map +1 -1
  365. package/build/client/vaults/instructions/activateProposal.d.ts +2 -0
  366. package/build/client/vaults/instructions/activateProposal.js +3 -2
  367. package/build/client/vaults/instructions/activateProposal.js.map +1 -1
  368. package/build/client/vaults/instructions/addPolicy.js +1 -2
  369. package/build/client/vaults/instructions/addPolicy.js.map +1 -1
  370. package/build/client/vaults/instructions/appendProposalActions.js +1 -2
  371. package/build/client/vaults/instructions/appendProposalActions.js.map +1 -1
  372. package/build/client/vaults/instructions/cancelProposal.d.ts +2 -0
  373. package/build/client/vaults/instructions/cancelProposal.js +3 -2
  374. package/build/client/vaults/instructions/cancelProposal.js.map +1 -1
  375. package/build/client/vaults/instructions/cancelWithdrawal.d.ts +2 -0
  376. package/build/client/vaults/instructions/cancelWithdrawal.js +3 -2
  377. package/build/client/vaults/instructions/cancelWithdrawal.js.map +1 -1
  378. package/build/client/vaults/instructions/collectManagementFee.js +1 -2
  379. package/build/client/vaults/instructions/collectManagementFee.js.map +1 -1
  380. package/build/client/vaults/instructions/depositLiquidity.js +1 -2
  381. package/build/client/vaults/instructions/depositLiquidity.js.map +1 -1
  382. package/build/client/vaults/instructions/executeProposal.d.ts +2 -0
  383. package/build/client/vaults/instructions/executeProposal.js +3 -2
  384. package/build/client/vaults/instructions/executeProposal.js.map +1 -1
  385. package/build/client/vaults/instructions/executeWithdrawal.js +1 -2
  386. package/build/client/vaults/instructions/executeWithdrawal.js.map +1 -1
  387. package/build/client/vaults/instructions/executeWithdrawalFromReserves.d.ts +2 -0
  388. package/build/client/vaults/instructions/executeWithdrawalFromReserves.js +3 -2
  389. package/build/client/vaults/instructions/executeWithdrawalFromReserves.js.map +1 -1
  390. package/build/client/vaults/instructions/fillWithdrawal.js +1 -2
  391. package/build/client/vaults/instructions/fillWithdrawal.js.map +1 -1
  392. package/build/client/vaults/instructions/finalizeProposal.d.ts +2 -0
  393. package/build/client/vaults/instructions/finalizeProposal.js +3 -2
  394. package/build/client/vaults/instructions/finalizeProposal.js.map +1 -1
  395. package/build/client/vaults/instructions/initProposal.js +1 -2
  396. package/build/client/vaults/instructions/initProposal.js.map +1 -1
  397. package/build/client/vaults/instructions/initializePrices.js +1 -2
  398. package/build/client/vaults/instructions/initializePrices.js.map +1 -1
  399. package/build/client/vaults/instructions/initializeVault.js +1 -2
  400. package/build/client/vaults/instructions/initializeVault.js.map +1 -1
  401. package/build/client/vaults/instructions/makeSentienelManager.js +1 -2
  402. package/build/client/vaults/instructions/makeSentienelManager.js.map +1 -1
  403. package/build/client/vaults/instructions/managePrices.js +1 -2
  404. package/build/client/vaults/instructions/managePrices.js.map +1 -1
  405. package/build/client/vaults/instructions/manageVaultSettings.js +1 -2
  406. package/build/client/vaults/instructions/manageVaultSettings.js.map +1 -1
  407. package/build/client/vaults/instructions/managerUpdatePosition.js +1 -2
  408. package/build/client/vaults/instructions/managerUpdatePosition.js.map +1 -1
  409. package/build/client/vaults/instructions/queueWithdrawal.d.ts +2 -0
  410. package/build/client/vaults/instructions/queueWithdrawal.js +3 -2
  411. package/build/client/vaults/instructions/queueWithdrawal.js.map +1 -1
  412. package/build/client/vaults/instructions/removePolicy.js +1 -2
  413. package/build/client/vaults/instructions/removePolicy.js.map +1 -1
  414. package/build/client/vaults/instructions/sentinelSetVaultFlags.d.ts +2 -0
  415. package/build/client/vaults/instructions/sentinelSetVaultFlags.js +3 -2
  416. package/build/client/vaults/instructions/sentinelSetVaultFlags.js.map +1 -1
  417. package/build/client/vaults/instructions/stakeVote.d.ts +2 -0
  418. package/build/client/vaults/instructions/stakeVote.js +3 -2
  419. package/build/client/vaults/instructions/stakeVote.js.map +1 -1
  420. package/build/client/vaults/instructions/unstakeVote.js +1 -2
  421. package/build/client/vaults/instructions/unstakeVote.js.map +1 -1
  422. package/build/client/vaults/instructions/updatePolicy.js +1 -2
  423. package/build/client/vaults/instructions/updatePolicy.js.map +1 -1
  424. package/build/client/vaults/instructions/updatePolicyManager.js +1 -2
  425. package/build/client/vaults/instructions/updatePolicyManager.js.map +1 -1
  426. package/build/client/vaults/instructions/updatePrice.js +1 -2
  427. package/build/client/vaults/instructions/updatePrice.js.map +1 -1
  428. package/build/client/vaults/instructions/validateInteractionHook.js +1 -2
  429. package/build/client/vaults/instructions/validateInteractionHook.js.map +1 -1
  430. package/build/client/vaults/instructions/wrapperAddPolicy.js +1 -2
  431. package/build/client/vaults/instructions/wrapperAddPolicy.js.map +1 -1
  432. package/build/client/vaults/instructions/wrapperExecuteWithdrawal.js +1 -2
  433. package/build/client/vaults/instructions/wrapperExecuteWithdrawal.js.map +1 -1
  434. package/build/client/vaults/instructions/wrapperManageVaultSettings.js +1 -2
  435. package/build/client/vaults/instructions/wrapperManageVaultSettings.js.map +1 -1
  436. package/build/client/vaults/instructions/wrapperManagerUpdatePosition.js +1 -2
  437. package/build/client/vaults/instructions/wrapperManagerUpdatePosition.js.map +1 -1
  438. package/build/client/vaults/instructions/wrapperRemovePolicy.js +1 -2
  439. package/build/client/vaults/instructions/wrapperRemovePolicy.js.map +1 -1
  440. package/build/client/vaults/instructions/wrapperUpdatePolicy.js +1 -2
  441. package/build/client/vaults/instructions/wrapperUpdatePolicy.js.map +1 -1
  442. package/build/client/vaults/types/accountConstraint.d.ts +1 -13
  443. package/build/client/vaults/types/accountConstraintType.d.ts +1 -1
  444. package/build/client/vaults/types/accountConstraintType.js +3 -3
  445. package/build/client/vaults/types/accountConstraintType.js.map +1 -1
  446. package/build/client/vaults/types/allowedSettingsChange.d.ts +1 -54
  447. package/build/client/vaults/types/allowedSettingsChange.js +3 -3
  448. package/build/client/vaults/types/allowedSettingsChange.js.map +1 -1
  449. package/build/client/vaults/types/cancelProposalEvent.d.ts +1 -19
  450. package/build/client/vaults/types/cancelWithdrawalEvent.d.ts +12 -0
  451. package/build/client/vaults/types/cancelWithdrawalEvent.js +29 -0
  452. package/build/client/vaults/types/cancelWithdrawalEvent.js.map +1 -0
  453. package/build/client/vaults/types/clmmPositionEntry.d.ts +1 -80
  454. package/build/client/vaults/types/dataConstraint.d.ts +1 -109
  455. package/build/client/vaults/types/dataOperator.d.ts +1 -1
  456. package/build/client/vaults/types/dataValue.d.ts +1 -73
  457. package/build/client/vaults/types/dataValue.js +3 -3
  458. package/build/client/vaults/types/dataValue.js.map +1 -1
  459. package/build/client/vaults/types/depositLiquidityEvent.d.ts +1 -40
  460. package/build/client/vaults/types/executeProposalEvent.d.ts +1 -19
  461. package/build/client/vaults/types/executeWithdrawalEvent.d.ts +8 -10
  462. package/build/client/vaults/types/executeWithdrawalEvent.js +19 -0
  463. package/build/client/vaults/types/executeWithdrawalEvent.js.map +1 -1
  464. package/build/client/vaults/types/executeWithdrawalFromReservesEvent.d.ts +19 -0
  465. package/build/client/vaults/types/executeWithdrawalFromReservesEvent.js +48 -0
  466. package/build/client/vaults/types/executeWithdrawalFromReservesEvent.js.map +1 -0
  467. package/build/client/vaults/types/fillParam.d.ts +1 -10
  468. package/build/client/vaults/types/finalizeProposalEvent.d.ts +1 -34
  469. package/build/client/vaults/types/hook.d.ts +1 -35
  470. package/build/client/vaults/types/hookCompiledInstruction.d.ts +1 -13
  471. package/build/client/vaults/types/index.d.ts +3 -0
  472. package/build/client/vaults/types/index.js +3 -0
  473. package/build/client/vaults/types/index.js.map +1 -1
  474. package/build/client/vaults/types/instructionConstraint.d.ts +1 -165
  475. package/build/client/vaults/types/internalFundTransferPolicyCreationPayload.d.ts +1 -13
  476. package/build/client/vaults/types/kaminoFarmEntry.d.ts +1 -10
  477. package/build/client/vaults/types/kaminoObligationEntry.d.ts +1 -122
  478. package/build/client/vaults/types/limitedQuantityConstraints.d.ts +1 -7
  479. package/build/client/vaults/types/limitedSpendingLimit.d.ts +1 -97
  480. package/build/client/vaults/types/limitedTimeConstraints.d.ts +1 -61
  481. package/build/client/vaults/types/loopscaleLoanEntry.d.ts +1 -7
  482. package/build/client/vaults/types/loopscaleStrategyEntry.d.ts +1 -7
  483. package/build/client/vaults/types/number.d.ts +1 -1
  484. package/build/client/vaults/types/obligationType.js +3 -3
  485. package/build/client/vaults/types/obligationType.js.map +1 -1
  486. package/build/client/vaults/types/orderbookEntry.d.ts +1 -54
  487. package/build/client/vaults/types/periodV2.d.ts +1 -37
  488. package/build/client/vaults/types/periodV2.js +3 -3
  489. package/build/client/vaults/types/periodV2.js.map +1 -1
  490. package/build/client/vaults/types/permissions.d.ts +1 -7
  491. package/build/client/vaults/types/policyAction.d.ts +1 -40
  492. package/build/client/vaults/types/policyAction.js +3 -3
  493. package/build/client/vaults/types/policyAction.js.map +1 -1
  494. package/build/client/vaults/types/policyCreationPayload.d.ts +1 -260
  495. package/build/client/vaults/types/policyCreationPayload.js +3 -3
  496. package/build/client/vaults/types/policyCreationPayload.js.map +1 -1
  497. package/build/client/vaults/types/policyExpirationArgs.d.ts +1 -19
  498. package/build/client/vaults/types/policyExpirationArgs.js +3 -3
  499. package/build/client/vaults/types/policyExpirationArgs.js.map +1 -1
  500. package/build/client/vaults/types/positionUpdate.js +3 -3
  501. package/build/client/vaults/types/positionUpdate.js.map +1 -1
  502. package/build/client/vaults/types/priceId.d.ts +1 -25
  503. package/build/client/vaults/types/priceId.js +3 -3
  504. package/build/client/vaults/types/priceId.js.map +1 -1
  505. package/build/client/vaults/types/priceType.d.ts +1 -1
  506. package/build/client/vaults/types/proposalAction.d.ts +2 -204
  507. package/build/client/vaults/types/proposalAction.js +6 -3
  508. package/build/client/vaults/types/proposalAction.js.map +1 -1
  509. package/build/client/vaults/types/proposalActionKind.d.ts +1 -1
  510. package/build/client/vaults/types/proposalStatus.d.ts +1 -1
  511. package/build/client/vaults/types/proposalVoteConfig.d.ts +1 -34
  512. package/build/client/vaults/types/proposeActionEvent.d.ts +1 -34
  513. package/build/client/vaults/types/quantityConstraints.d.ts +1 -13
  514. package/build/client/vaults/types/queueWithdrawalEvent.d.ts +11 -0
  515. package/build/client/vaults/types/queueWithdrawalEvent.js +31 -0
  516. package/build/client/vaults/types/queueWithdrawalEvent.js.map +1 -0
  517. package/build/client/vaults/types/reserveFarmMapping.d.ts +1 -13
  518. package/build/client/vaults/types/reservePriceMapping.d.ts +1 -42
  519. package/build/client/vaults/types/settingsChangePolicyCreationPayload.d.ts +1 -77
  520. package/build/client/vaults/types/spendingLimitPolicyCreationPayload.d.ts +1 -130
  521. package/build/client/vaults/types/stakeVoteEvent.d.ts +1 -28
  522. package/build/client/vaults/types/strategyPosition.js +3 -3
  523. package/build/client/vaults/types/strategyPosition.js.map +1 -1
  524. package/build/client/vaults/types/timeConstraints.d.ts +1 -64
  525. package/build/client/vaults/types/tokenAccountBalance.d.ts +1 -45
  526. package/build/client/vaults/types/tokenAccountEntry.d.ts +1 -66
  527. package/build/client/vaults/types/tokenEntry.d.ts +1 -51
  528. package/build/client/vaults/types/unstakeVoteEvent.d.ts +1 -25
  529. package/build/client/vaults/types/updatePriceAction.d.ts +1 -124
  530. package/build/client/vaults/types/updatePriceAction.js +3 -3
  531. package/build/client/vaults/types/updatePriceAction.js.map +1 -1
  532. package/build/client/vaults/types/updatePriceInput.d.ts +1 -10
  533. package/build/client/vaults/types/usageState.d.ts +1 -10
  534. package/build/client/vaults/types/vaultConfig.d.ts +1 -74
  535. package/build/client/vaults/types/vaultFinancials.d.ts +1 -43
  536. package/build/client/vaults/types/vaultFlagAction.d.ts +1 -37
  537. package/build/client/vaults/types/vaultFlagAction.js +3 -3
  538. package/build/client/vaults/types/vaultFlagAction.js.map +1 -1
  539. package/build/client/vaults/types/vaultFlagsUpdatedEvent.d.ts +1 -16
  540. package/build/client/vaults/types/vaultRoleKind.d.ts +1 -1
  541. package/build/client/vaults/types/vaultRoles.d.ts +1 -16
  542. package/build/client/vaults/types/vaultSettingsAction.js +3 -3
  543. package/build/client/vaults/types/vaultSettingsAction.js.map +1 -1
  544. package/build/client/vaults/types/voteChoice.d.ts +1 -1
  545. package/build/client/vaults/types/withdrawalPeriodSettings.d.ts +1 -31
  546. package/build/client/vaults/types/withdrawalPeriodSettings.js +3 -3
  547. package/build/client/vaults/types/withdrawalPeriodSettings.js.map +1 -1
  548. package/build/client/vaults/types/withdrawalTokenFill.d.ts +1 -13
  549. package/build/client/vaults/types/yieldPositionEntry.d.ts +1 -45
  550. package/build/clmm/codamaEvents.d.ts +1 -2
  551. package/build/codamaEvents.d.ts +1 -2
  552. package/build/exponentVaults/aumCalculator.d.ts +0 -2
  553. package/build/exponentVaults/aumCalculator.js +20 -10
  554. package/build/exponentVaults/aumCalculator.js.map +1 -1
  555. package/build/exponentVaults/events.d.ts +1 -2
  556. package/build/exponentVaults/fetcher.js +4 -4
  557. package/build/exponentVaults/fetcher.js.map +1 -1
  558. package/build/exponentVaults/index.d.ts +1 -1
  559. package/build/exponentVaults/index.js +20 -9
  560. package/build/exponentVaults/index.js.map +1 -1
  561. package/build/exponentVaults/kamino-farms.d.ts +0 -2
  562. package/build/exponentVaults/kamino-farms.js +14 -14
  563. package/build/exponentVaults/kamino-farms.js.map +1 -1
  564. package/build/exponentVaults/kamino-markets.d.ts +394 -394
  565. package/build/exponentVaults/kamino-markets.js +2 -2
  566. package/build/exponentVaults/kamino-markets.js.map +1 -1
  567. package/build/exponentVaults/loopscale/helpers.js +6 -7
  568. package/build/exponentVaults/loopscale/helpers.js.map +1 -1
  569. package/build/exponentVaults/loopscale/prepared-transactions.js +1 -2
  570. package/build/exponentVaults/loopscale/prepared-transactions.js.map +1 -1
  571. package/build/exponentVaults/policyBuilders.d.ts +73 -75
  572. package/build/exponentVaults/policyBuilders.js +26 -27
  573. package/build/exponentVaults/policyBuilders.js.map +1 -1
  574. package/build/exponentVaults/policyMatcher.js +6 -7
  575. package/build/exponentVaults/policyMatcher.js.map +1 -1
  576. package/build/exponentVaults/pricePathResolver.js +7 -8
  577. package/build/exponentVaults/pricePathResolver.js.map +1 -1
  578. package/build/exponentVaults/scope-refresh.js +1 -2
  579. package/build/exponentVaults/scope-refresh.js.map +1 -1
  580. package/build/exponentVaults/squadsVaultTxnResolver/helpers.js +6 -7
  581. package/build/exponentVaults/squadsVaultTxnResolver/helpers.js.map +1 -1
  582. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.js +5 -6
  583. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.js.map +1 -1
  584. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.js +1 -2
  585. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.js.map +1 -1
  586. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.js +1 -2
  587. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.js.map +1 -1
  588. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.js +1 -2
  589. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.js.map +1 -1
  590. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/titan.js +1 -2
  591. package/build/exponentVaults/squadsVaultTxnResolver/resolvers/titan.js.map +1 -1
  592. package/build/exponentVaults/squadsVaultTxnResolver/utils.d.ts +1 -3
  593. package/build/exponentVaults/squadsVaultTxnResolver/utils.js +1 -2
  594. package/build/exponentVaults/squadsVaultTxnResolver/utils.js.map +1 -1
  595. package/build/exponentVaults/syncTransaction.d.ts +1 -1
  596. package/build/exponentVaults/syncTransaction.js +4 -4
  597. package/build/exponentVaults/syncTransaction.js.map +1 -1
  598. package/build/exponentVaults/titan-quote.js +1 -2
  599. package/build/exponentVaults/titan-quote.js.map +1 -1
  600. package/build/exponentVaults/vault-instruction-types.d.ts +1 -1
  601. package/build/exponentVaults/vault-interaction.d.ts +58 -2576
  602. package/build/exponentVaults/vault-interaction.js +325 -75
  603. package/build/exponentVaults/vault-interaction.js.map +1 -1
  604. package/build/exponentVaults/vault.d.ts +9 -25
  605. package/build/exponentVaults/vault.js +28 -12
  606. package/build/exponentVaults/vault.js.map +1 -1
  607. package/build/exponentVaults/vaultTransactionBuilder.js +35 -30
  608. package/build/exponentVaults/vaultTransactionBuilder.js.map +1 -1
  609. package/build/flavors.js +19 -20
  610. package/build/flavors.js.map +1 -1
  611. package/build/index.js +17 -7
  612. package/build/index.js.map +1 -1
  613. package/build/market.d.ts +31 -31
  614. package/build/market.js +17 -7
  615. package/build/market.js.map +1 -1
  616. package/build/marketThree.d.ts +42 -48
  617. package/build/marketThree.js +20 -8
  618. package/build/marketThree.js.map +1 -1
  619. package/build/orderbook/codamaEvents.d.ts +1 -2
  620. package/build/orderbook/index.js +17 -7
  621. package/build/orderbook/index.js.map +1 -1
  622. package/build/orderbook/math.d.ts +4 -4
  623. package/build/orderbook/math.js +13 -13
  624. package/build/orderbook/math.js.map +1 -1
  625. package/build/orderbook/orderbook.d.ts +19 -21
  626. package/build/orderbook/orderbook.js +17 -7
  627. package/build/orderbook/orderbook.js.map +1 -1
  628. package/build/orderbook/types.js +17 -7
  629. package/build/orderbook/types.js.map +1 -1
  630. package/build/orderbook/utils.js +6 -7
  631. package/build/orderbook/utils.js.map +1 -1
  632. package/build/syPosition.js +3 -4
  633. package/build/syPosition.js.map +1 -1
  634. package/build/tokenUtil.js +2 -3
  635. package/build/tokenUtil.js.map +1 -1
  636. package/build/utils/altUtil.js +2 -3
  637. package/build/utils/altUtil.js.map +1 -1
  638. package/build/utils/binSolver.js +1 -2
  639. package/build/utils/binSolver.js.map +1 -1
  640. package/build/utils/index.d.ts +2 -2
  641. package/build/utils/index.js +3 -4
  642. package/build/utils/index.js.map +1 -1
  643. package/build/vault.d.ts +11 -12
  644. package/build/vault.js +20 -10
  645. package/build/vault.js.map +1 -1
  646. package/build/ytPosition.d.ts +7 -7
  647. package/build/ytPosition.js +17 -7
  648. package/build/ytPosition.js.map +1 -1
  649. package/package.json +36 -32
  650. package/build/client/vaults/instructions/proposeAction.d.ts +0 -16
  651. package/build/client/vaults/instructions/proposeAction.js +0 -29
  652. package/build/client/vaults/instructions/proposeAction.js.map +0 -1
  653. package/build/exponentVaults/loopscale/client.test.d.ts +0 -1
  654. package/build/exponentVaults/loopscale/client.test.js +0 -183
  655. package/build/exponentVaults/loopscale/client.test.js.map +0 -1
  656. package/build/exponentVaults/loopscale/prepared-transactions.test.d.ts +0 -1
  657. package/build/exponentVaults/loopscale/prepared-transactions.test.js +0 -400
  658. package/build/exponentVaults/loopscale/prepared-transactions.test.js.map +0 -1
  659. package/build/exponentVaults/loopscale/response-plan.d.ts +0 -69
  660. package/build/exponentVaults/loopscale/response-plan.js +0 -141
  661. package/build/exponentVaults/loopscale/response-plan.js.map +0 -1
  662. package/build/exponentVaults/loopscale/response-plan.test.d.ts +0 -1
  663. package/build/exponentVaults/loopscale/response-plan.test.js +0 -139
  664. package/build/exponentVaults/loopscale/response-plan.test.js.map +0 -1
  665. package/build/exponentVaults/loopscale/send-plan.d.ts +0 -75
  666. package/build/exponentVaults/loopscale/send-plan.js +0 -235
  667. package/build/exponentVaults/loopscale/send-plan.js.map +0 -1
  668. package/build/exponentVaults/loopscale-client.d.ts +0 -130
  669. package/build/exponentVaults/loopscale-client.js +0 -489
  670. package/build/exponentVaults/loopscale-client.js.map +0 -1
  671. package/build/exponentVaults/loopscale-client.test.d.ts +0 -1
  672. package/build/exponentVaults/loopscale-client.test.js +0 -162
  673. package/build/exponentVaults/loopscale-client.test.js.map +0 -1
  674. package/build/exponentVaults/loopscale-client.types.d.ts +0 -425
  675. package/build/exponentVaults/loopscale-client.types.js +0 -3
  676. package/build/exponentVaults/loopscale-client.types.js.map +0 -1
  677. package/build/exponentVaults/loopscale-execution.d.ts +0 -125
  678. package/build/exponentVaults/loopscale-execution.js +0 -341
  679. package/build/exponentVaults/loopscale-execution.js.map +0 -1
  680. package/build/exponentVaults/loopscale-execution.test.d.ts +0 -1
  681. package/build/exponentVaults/loopscale-execution.test.js +0 -139
  682. package/build/exponentVaults/loopscale-execution.test.js.map +0 -1
  683. package/build/exponentVaults/loopscale-vault.d.ts +0 -115
  684. package/build/exponentVaults/loopscale-vault.js +0 -275
  685. package/build/exponentVaults/loopscale-vault.js.map +0 -1
  686. package/build/exponentVaults/loopscale-vault.test.d.ts +0 -1
  687. package/build/exponentVaults/loopscale-vault.test.js +0 -102
  688. package/build/exponentVaults/loopscale-vault.test.js.map +0 -1
  689. package/build/exponentVaults/pricePathResolver.test.d.ts +0 -1
  690. package/build/exponentVaults/pricePathResolver.test.js +0 -369
  691. package/build/exponentVaults/pricePathResolver.test.js.map +0 -1
  692. package/build/exponentVaults/vaultTransactionBuilder.test.d.ts +0 -1
  693. package/build/exponentVaults/vaultTransactionBuilder.test.js +0 -214
  694. package/build/exponentVaults/vaultTransactionBuilder.test.js.map +0 -1
  695. package/build/marketThree.test.d.ts +0 -1
  696. package/build/marketThree.test.js +0 -166
  697. package/build/marketThree.test.js.map +0 -1
  698. package/build/utils/binSolver.test.d.ts +0 -1
  699. package/build/utils/binSolver.test.js +0 -16
  700. package/build/utils/binSolver.test.js.map +0 -1
  701. package/jest.config.js +0 -5
  702. package/src/CodamaEventDecoder.ts +0 -151
  703. package/src/addressLookupTableUtil.ts +0 -110
  704. package/src/client/clmm/accounts/lpPosition.ts +0 -143
  705. package/src/client/clmm/accounts/marketThree.ts +0 -274
  706. package/src/client/clmm/accounts/vault.ts +0 -234
  707. package/src/client/clmm/eventRegistry.ts +0 -92
  708. package/src/client/clmm/index.ts +0 -82
  709. package/src/client/clmm/instructions/addFarm.ts +0 -57
  710. package/src/client/clmm/instructions/addLiquidity.ts +0 -78
  711. package/src/client/clmm/instructions/addMarketEmission.ts +0 -50
  712. package/src/client/clmm/instructions/buyPt.ts +0 -73
  713. package/src/client/clmm/instructions/buyYt.ts +0 -80
  714. package/src/client/clmm/instructions/claimFarmEmission.ts +0 -56
  715. package/src/client/clmm/instructions/closeMarket.ts +0 -47
  716. package/src/client/clmm/instructions/depositLiquidity.ts +0 -71
  717. package/src/client/clmm/instructions/initializeMarket.ts +0 -127
  718. package/src/client/clmm/instructions/marketAccrueEmission.ts +0 -39
  719. package/src/client/clmm/instructions/marketCollectEmission.ts +0 -57
  720. package/src/client/clmm/instructions/modifyFarm.ts +0 -55
  721. package/src/client/clmm/instructions/modifyMarketSetting.ts +0 -45
  722. package/src/client/clmm/instructions/sellPt.ts +0 -73
  723. package/src/client/clmm/instructions/sellYt.ts +0 -80
  724. package/src/client/clmm/instructions/tradePt.ts +0 -73
  725. package/src/client/clmm/instructions/tradePtExactOut.ts +0 -75
  726. package/src/client/clmm/instructions/withdrawLiquidity.ts +0 -67
  727. package/src/client/clmm/instructions/wrapperBuyYt.ts +0 -85
  728. package/src/client/clmm/instructions/wrapperProvideLiquidity.ts +0 -100
  729. package/src/client/clmm/instructions/wrapperProvideLiquidityBase.ts +0 -98
  730. package/src/client/clmm/instructions/wrapperProvideLiquidityClassic.ts +0 -86
  731. package/src/client/clmm/instructions/wrapperSellYt.ts +0 -83
  732. package/src/client/clmm/instructions/wrapperWithdrawLiquidity.ts +0 -75
  733. package/src/client/clmm/instructions/wrapperWithdrawLiquidityClassic.ts +0 -69
  734. package/src/client/clmm/types/addFarmEvent.ts +0 -51
  735. package/src/client/clmm/types/amount.ts +0 -51
  736. package/src/client/clmm/types/buyPtEvent.ts +0 -36
  737. package/src/client/clmm/types/buyYtEvent.ts +0 -74
  738. package/src/client/clmm/types/claimFarmEmissionsEvent.ts +0 -94
  739. package/src/client/clmm/types/claimLimits.ts +0 -15
  740. package/src/client/clmm/types/closeMarketEvent.ts +0 -36
  741. package/src/client/clmm/types/configurationOptions.ts +0 -29
  742. package/src/client/clmm/types/cpiAccounts.ts +0 -21
  743. package/src/client/clmm/types/cpiCoreAccounts.ts +0 -15
  744. package/src/client/clmm/types/cpiInterfaceContext.ts +0 -13
  745. package/src/client/clmm/types/crossingSplit.ts +0 -40
  746. package/src/client/clmm/types/depositLiquidityEvent.ts +0 -93
  747. package/src/client/clmm/types/depositLiquidityReturnData.ts +0 -81
  748. package/src/client/clmm/types/emissionInfo.ts +0 -44
  749. package/src/client/clmm/types/farmEmission.ts +0 -31
  750. package/src/client/clmm/types/index.ts +0 -48
  751. package/src/client/clmm/types/liquidityNetBalanceLimits.ts +0 -22
  752. package/src/client/clmm/types/lpFarm.ts +0 -12
  753. package/src/client/clmm/types/marketAccrueEmissionEvent.ts +0 -69
  754. package/src/client/clmm/types/marketAdminAction.ts +0 -239
  755. package/src/client/clmm/types/marketCollectEmissionEvent.ts +0 -83
  756. package/src/client/clmm/types/marketEmission.ts +0 -28
  757. package/src/client/clmm/types/marketEmissions.ts +0 -10
  758. package/src/client/clmm/types/marketFinancials.ts +0 -17
  759. package/src/client/clmm/types/marketThreeInitEvent.ts +0 -92
  760. package/src/client/clmm/types/mergeEvent.ts +0 -118
  761. package/src/client/clmm/types/modifiedTick.ts +0 -13
  762. package/src/client/clmm/types/modifiedTicks.ts +0 -18
  763. package/src/client/clmm/types/modifyFarmEvent.ts +0 -56
  764. package/src/client/clmm/types/number.ts +0 -7
  765. package/src/client/clmm/types/personalYieldTracker.ts +0 -12
  766. package/src/client/clmm/types/personalYieldTrackers.ts +0 -13
  767. package/src/client/clmm/types/principalShare.ts +0 -22
  768. package/src/client/clmm/types/principalShareTrackers.ts +0 -10
  769. package/src/client/clmm/types/sellPtEvent.ts +0 -36
  770. package/src/client/clmm/types/sellYtEvent.ts +0 -69
  771. package/src/client/clmm/types/stripEvent.ts +0 -124
  772. package/src/client/clmm/types/swapDirection.ts +0 -8
  773. package/src/client/clmm/types/tradePtEvent.ts +0 -76
  774. package/src/client/clmm/types/withdrawLiquidityEvent.ts +0 -99
  775. package/src/client/clmm/types/withdrawLiquidityReturnData.ts +0 -27
  776. package/src/client/clmm/types/wrapperBuyYtEvent.ts +0 -36
  777. package/src/client/clmm/types/wrapperProvideLiquidityBaseEvent.ts +0 -60
  778. package/src/client/clmm/types/wrapperProvideLiquidityClassicEvent.ts +0 -58
  779. package/src/client/clmm/types/wrapperProvideLiquidityEvent.ts +0 -60
  780. package/src/client/clmm/types/wrapperSellYtEvent.ts +0 -36
  781. package/src/client/clmm/types/wrapperWithdrawLiquidityClassicEvent.ts +0 -62
  782. package/src/client/clmm/types/wrapperWithdrawLiquidityEvent.ts +0 -62
  783. package/src/client/core/accounts/admin.ts +0 -112
  784. package/src/client/core/accounts/lpPosition.ts +0 -122
  785. package/src/client/core/accounts/marketTwo.ts +0 -234
  786. package/src/client/core/accounts/vault.ts +0 -234
  787. package/src/client/core/accounts/yieldTokenPosition.ts +0 -126
  788. package/src/client/core/eventRegistry.ts +0 -134
  789. package/src/client/core/index.ts +0 -113
  790. package/src/client/core/instructions/addEmission.ts +0 -62
  791. package/src/client/core/instructions/addFarm.ts +0 -53
  792. package/src/client/core/instructions/addLpTokensMetadata.ts +0 -62
  793. package/src/client/core/instructions/addMarketEmission.ts +0 -52
  794. package/src/client/core/instructions/buyYt.ts +0 -79
  795. package/src/client/core/instructions/claimFarmEmissions.ts +0 -54
  796. package/src/client/core/instructions/collectEmission.ts +0 -66
  797. package/src/client/core/instructions/collectInterest.ts +0 -64
  798. package/src/client/core/instructions/collectTreasuryEmission.ts +0 -64
  799. package/src/client/core/instructions/collectTreasuryInterest.ts +0 -62
  800. package/src/client/core/instructions/depositYt.ts +0 -59
  801. package/src/client/core/instructions/initLpPosition.ts +0 -35
  802. package/src/client/core/instructions/initMarketTwo.ts +0 -103
  803. package/src/client/core/instructions/initializeVault.ts +0 -107
  804. package/src/client/core/instructions/initializeYieldPosition.ts +0 -33
  805. package/src/client/core/instructions/marketCollectEmission.ts +0 -55
  806. package/src/client/core/instructions/marketDepositLp.ts +0 -59
  807. package/src/client/core/instructions/marketTwoDepositLiquidity.ts +0 -65
  808. package/src/client/core/instructions/marketTwoWithdrawLiquidity.ts +0 -65
  809. package/src/client/core/instructions/marketWithdrawLp.ts +0 -59
  810. package/src/client/core/instructions/merge.ts +0 -61
  811. package/src/client/core/instructions/modifyFarm.ts +0 -51
  812. package/src/client/core/instructions/modifyMarketSetting.ts +0 -47
  813. package/src/client/core/instructions/modifyVaultSetting.ts +0 -44
  814. package/src/client/core/instructions/reallocMarket.ts +0 -45
  815. package/src/client/core/instructions/sellYt.ts +0 -79
  816. package/src/client/core/instructions/stageYtYield.ts +0 -39
  817. package/src/client/core/instructions/strip.ts +0 -61
  818. package/src/client/core/instructions/tradePt.ts +0 -59
  819. package/src/client/core/instructions/withdrawYt.ts +0 -61
  820. package/src/client/core/instructions/wrapperBuyPt.ts +0 -63
  821. package/src/client/core/instructions/wrapperBuyYt.ts +0 -93
  822. package/src/client/core/instructions/wrapperCollectInterest.ts +0 -63
  823. package/src/client/core/instructions/wrapperMerge.ts +0 -77
  824. package/src/client/core/instructions/wrapperProvideLiquidity.ts +0 -103
  825. package/src/client/core/instructions/wrapperProvideLiquidityBase.ts +0 -81
  826. package/src/client/core/instructions/wrapperProvideLiquidityClassic.ts +0 -77
  827. package/src/client/core/instructions/wrapperSellPt.ts +0 -63
  828. package/src/client/core/instructions/wrapperSellYt.ts +0 -87
  829. package/src/client/core/instructions/wrapperStrip.ts +0 -81
  830. package/src/client/core/instructions/wrapperWithdrawLiquidity.ts +0 -77
  831. package/src/client/core/instructions/wrapperWithdrawLiquidityClassic.ts +0 -73
  832. package/src/client/core/types/adminAction.ts +0 -255
  833. package/src/client/core/types/amount.ts +0 -51
  834. package/src/client/core/types/buyPtEvent.ts +0 -39
  835. package/src/client/core/types/buyYtEvent.ts +0 -95
  836. package/src/client/core/types/claimFarmEmissionsEvent.ts +0 -75
  837. package/src/client/core/types/claimFarmEmissionsEventV2.ts +0 -83
  838. package/src/client/core/types/claimLimits.ts +0 -15
  839. package/src/client/core/types/collectEmissionEvent.ts +0 -51
  840. package/src/client/core/types/collectEmissionEventV2.ts +0 -60
  841. package/src/client/core/types/collectInterestEvent.ts +0 -48
  842. package/src/client/core/types/collectInterestEventV2.ts +0 -57
  843. package/src/client/core/types/collectTreasuryEmissionKind.ts +0 -8
  844. package/src/client/core/types/collectTreasuryInterestKind.ts +0 -8
  845. package/src/client/core/types/cpiAccounts.ts +0 -21
  846. package/src/client/core/types/cpiInterfaceContext.ts +0 -13
  847. package/src/client/core/types/depositLiquidityEvent.ts +0 -101
  848. package/src/client/core/types/depositLpEvent.ts +0 -75
  849. package/src/client/core/types/depositLpEventV2.ts +0 -83
  850. package/src/client/core/types/depositYtEvent.ts +0 -82
  851. package/src/client/core/types/depositYtEventV2.ts +0 -91
  852. package/src/client/core/types/emissionInfo.ts +0 -44
  853. package/src/client/core/types/farmEmission.ts +0 -31
  854. package/src/client/core/types/index.ts +0 -60
  855. package/src/client/core/types/initLpPositionEvent.ts +0 -57
  856. package/src/client/core/types/initializeYieldPositionEvent.ts +0 -43
  857. package/src/client/core/types/liquidityNetBalanceLimits.ts +0 -22
  858. package/src/client/core/types/lpFarm.ts +0 -12
  859. package/src/client/core/types/marketAdminAction.ts +0 -212
  860. package/src/client/core/types/marketCollectEmissionEvent.ts +0 -67
  861. package/src/client/core/types/marketCollectEmissionEventV2.ts +0 -75
  862. package/src/client/core/types/marketEmission.ts +0 -28
  863. package/src/client/core/types/marketEmissions.ts +0 -10
  864. package/src/client/core/types/marketFinancials.ts +0 -19
  865. package/src/client/core/types/mergeEvent.ts +0 -118
  866. package/src/client/core/types/number.ts +0 -7
  867. package/src/client/core/types/personalYieldTracker.ts +0 -12
  868. package/src/client/core/types/personalYieldTrackers.ts +0 -13
  869. package/src/client/core/types/principleDetails.ts +0 -25
  870. package/src/client/core/types/principles.ts +0 -23
  871. package/src/client/core/types/sellPtEvent.ts +0 -39
  872. package/src/client/core/types/sellYtEvent.ts +0 -90
  873. package/src/client/core/types/stageYieldEvent.ts +0 -63
  874. package/src/client/core/types/stageYieldEventV2.ts +0 -69
  875. package/src/client/core/types/stripEvent.ts +0 -124
  876. package/src/client/core/types/tradePtEvent.ts +0 -80
  877. package/src/client/core/types/withdrawLiquidityEvent.ts +0 -97
  878. package/src/client/core/types/withdrawLpEvent.ts +0 -75
  879. package/src/client/core/types/withdrawLpEventV2.ts +0 -83
  880. package/src/client/core/types/withdrawYtEvent.ts +0 -82
  881. package/src/client/core/types/withdrawYtEventV2.ts +0 -91
  882. package/src/client/core/types/wrapperBuyYtEvent.ts +0 -39
  883. package/src/client/core/types/wrapperCollectInterestEvent.ts +0 -37
  884. package/src/client/core/types/wrapperMergeEvent.ts +0 -38
  885. package/src/client/core/types/wrapperProvideLiquidityBaseEvent.ts +0 -43
  886. package/src/client/core/types/wrapperProvideLiquidityClassicEvent.ts +0 -41
  887. package/src/client/core/types/wrapperProvideLiquidityEvent.ts +0 -41
  888. package/src/client/core/types/wrapperSellYtEvent.ts +0 -39
  889. package/src/client/core/types/wrapperStripEvent.ts +0 -38
  890. package/src/client/core/types/wrapperWithdrawLiquidityClassicEvent.ts +0 -41
  891. package/src/client/core/types/wrapperWithdrawLiquidityEvent.ts +0 -39
  892. package/src/client/core/types/yieldTokenTracker.ts +0 -12
  893. package/src/client/orderbook/accounts/cpiAccountsOrderbook.ts +0 -101
  894. package/src/client/orderbook/accounts/vault.ts +0 -234
  895. package/src/client/orderbook/eventRegistry.ts +0 -71
  896. package/src/client/orderbook/index.ts +0 -55
  897. package/src/client/orderbook/instructions/collectAdminEmission.ts +0 -48
  898. package/src/client/orderbook/instructions/collectAdminFee.ts +0 -59
  899. package/src/client/orderbook/instructions/collectInterest.ts +0 -66
  900. package/src/client/orderbook/instructions/initializeOrderbook.ts +0 -104
  901. package/src/client/orderbook/instructions/marketOffer.ts +0 -89
  902. package/src/client/orderbook/instructions/postOffer.ts +0 -96
  903. package/src/client/orderbook/instructions/reallocOrderbookAccount.ts +0 -45
  904. package/src/client/orderbook/instructions/removeExpiredOffers.ts +0 -37
  905. package/src/client/orderbook/instructions/removeOffer.ts +0 -73
  906. package/src/client/orderbook/instructions/setConfigurationOptions.ts +0 -43
  907. package/src/client/orderbook/instructions/withdrawFunds.ts +0 -78
  908. package/src/client/orderbook/instructions/wrapperCollectAdminFee.ts +0 -73
  909. package/src/client/orderbook/instructions/wrapperCollectInterest.ts +0 -65
  910. package/src/client/orderbook/instructions/wrapperMarketOffer.ts +0 -94
  911. package/src/client/orderbook/instructions/wrapperPostOffer.ts +0 -99
  912. package/src/client/orderbook/instructions/wrapperRemoveOffer.ts +0 -75
  913. package/src/client/orderbook/instructions/wrapperWithdrawFunds.ts +0 -80
  914. package/src/client/orderbook/types/amount.ts +0 -51
  915. package/src/client/orderbook/types/claimLimits.ts +0 -15
  916. package/src/client/orderbook/types/collectAdminEmissionEvent.ts +0 -39
  917. package/src/client/orderbook/types/collectAdminFeeEvent.ts +0 -17
  918. package/src/client/orderbook/types/collectEmissionEventV2.ts +0 -60
  919. package/src/client/orderbook/types/collectInterestEventV2.ts +0 -57
  920. package/src/client/orderbook/types/collectUserInterestEvent.ts +0 -36
  921. package/src/client/orderbook/types/cpiAccounts.ts +0 -21
  922. package/src/client/orderbook/types/cpiInterfaceContext.ts +0 -13
  923. package/src/client/orderbook/types/emissionInfo.ts +0 -44
  924. package/src/client/orderbook/types/exponentCoreCpiAccounts.ts +0 -21
  925. package/src/client/orderbook/types/filledOffersEvent.ts +0 -19
  926. package/src/client/orderbook/types/index.ts +0 -30
  927. package/src/client/orderbook/types/marketOfferEvent.ts +0 -72
  928. package/src/client/orderbook/types/mergeEvent.ts +0 -118
  929. package/src/client/orderbook/types/number.ts +0 -7
  930. package/src/client/orderbook/types/offerOptions.ts +0 -56
  931. package/src/client/orderbook/types/offerType.ts +0 -8
  932. package/src/client/orderbook/types/orderbookInitEvent.ts +0 -54
  933. package/src/client/orderbook/types/postOfferEvent.ts +0 -78
  934. package/src/client/orderbook/types/removeOfferEvent.ts +0 -67
  935. package/src/client/orderbook/types/setConfigurationOptionsEnum.ts +0 -116
  936. package/src/client/orderbook/types/stripEvent.ts +0 -124
  937. package/src/client/orderbook/types/withdrawFundsEvent.ts +0 -65
  938. package/src/client/orderbook/types/wrapperCollectAdminFeeEvent.ts +0 -13
  939. package/src/client/orderbook/types/wrapperCollectInterestEvent.ts +0 -25
  940. package/src/client/orderbook/types/wrapperMarketOfferEvent.ts +0 -27
  941. package/src/client/orderbook/types/wrapperPostOfferEvent.ts +0 -72
  942. package/src/client/orderbook/types/wrapperRemoveOfferEvent.ts +0 -25
  943. package/src/client/orderbook/types/wrapperWithdrawFundsEvent.ts +0 -38
  944. package/src/client/orderbook/types/yieldTokenTracker.ts +0 -12
  945. package/src/client/vaults/accounts/actionProposal.ts +0 -144
  946. package/src/client/vaults/accounts/exponentStrategyVault.ts +0 -211
  947. package/src/client/vaults/accounts/programConfig.ts +0 -123
  948. package/src/client/vaults/accounts/voteAccount.ts +0 -132
  949. package/src/client/vaults/accounts/withdrawalAccount.ts +0 -132
  950. package/src/client/vaults/eventRegistry.ts +0 -45
  951. package/src/client/vaults/index.ts +0 -113
  952. package/src/client/vaults/instructions/activateProposal.ts +0 -46
  953. package/src/client/vaults/instructions/addPolicy.ts +0 -57
  954. package/src/client/vaults/instructions/appendProposalActions.ts +0 -47
  955. package/src/client/vaults/instructions/cancelProposal.ts +0 -28
  956. package/src/client/vaults/instructions/cancelWithdrawal.ts +0 -34
  957. package/src/client/vaults/instructions/collectManagementFee.ts +0 -32
  958. package/src/client/vaults/instructions/depositLiquidity.ts +0 -62
  959. package/src/client/vaults/instructions/executeProposal.ts +0 -36
  960. package/src/client/vaults/instructions/executeWithdrawal.ts +0 -58
  961. package/src/client/vaults/instructions/executeWithdrawalFromReserves.ts +0 -66
  962. package/src/client/vaults/instructions/fillWithdrawal.ts +0 -59
  963. package/src/client/vaults/instructions/finalizeProposal.ts +0 -28
  964. package/src/client/vaults/instructions/initProposal.ts +0 -46
  965. package/src/client/vaults/instructions/initializePrices.ts +0 -28
  966. package/src/client/vaults/instructions/initializeVault.ts +0 -148
  967. package/src/client/vaults/instructions/makeSentienelManager.ts +0 -28
  968. package/src/client/vaults/instructions/managePrices.ts +0 -46
  969. package/src/client/vaults/instructions/manageVaultSettings.ts +0 -48
  970. package/src/client/vaults/instructions/managerUpdatePosition.ts +0 -45
  971. package/src/client/vaults/instructions/queueWithdrawal.ts +0 -50
  972. package/src/client/vaults/instructions/removePolicy.ts +0 -44
  973. package/src/client/vaults/instructions/sentinelSetVaultFlags.ts +0 -44
  974. package/src/client/vaults/instructions/stakeVote.ts +0 -57
  975. package/src/client/vaults/instructions/unstakeVote.ts +0 -42
  976. package/src/client/vaults/instructions/updatePolicy.ts +0 -59
  977. package/src/client/vaults/instructions/updatePolicyManager.ts +0 -44
  978. package/src/client/vaults/instructions/updatePrice.ts +0 -42
  979. package/src/client/vaults/instructions/validateInteractionHook.ts +0 -60
  980. package/src/client/vaults/instructions/wrapperAddPolicy.ts +0 -57
  981. package/src/client/vaults/instructions/wrapperExecuteWithdrawal.ts +0 -76
  982. package/src/client/vaults/instructions/wrapperManageVaultSettings.ts +0 -48
  983. package/src/client/vaults/instructions/wrapperManagerUpdatePosition.ts +0 -45
  984. package/src/client/vaults/instructions/wrapperRemovePolicy.ts +0 -44
  985. package/src/client/vaults/instructions/wrapperUpdatePolicy.ts +0 -59
  986. package/src/client/vaults/types/accountConstraint.ts +0 -35
  987. package/src/client/vaults/types/accountConstraintType.ts +0 -93
  988. package/src/client/vaults/types/allowedSettingsChange.ts +0 -136
  989. package/src/client/vaults/types/cancelProposalEvent.ts +0 -47
  990. package/src/client/vaults/types/clmmPositionEntry.ts +0 -37
  991. package/src/client/vaults/types/dataConstraint.ts +0 -16
  992. package/src/client/vaults/types/dataOperator.ts +0 -13
  993. package/src/client/vaults/types/dataValue.ts +0 -119
  994. package/src/client/vaults/types/depositLiquidityEvent.ts +0 -89
  995. package/src/client/vaults/types/executeProposalEvent.ts +0 -47
  996. package/src/client/vaults/types/executeWithdrawalEvent.ts +0 -12
  997. package/src/client/vaults/types/fillParam.ts +0 -12
  998. package/src/client/vaults/types/finalizeProposalEvent.ts +0 -51
  999. package/src/client/vaults/types/hook.ts +0 -40
  1000. package/src/client/vaults/types/hookCompiledInstruction.ts +0 -20
  1001. package/src/client/vaults/types/index.ts +0 -68
  1002. package/src/client/vaults/types/instructionConstraint.ts +0 -33
  1003. package/src/client/vaults/types/internalFundTransferPolicyCreationPayload.ts +0 -35
  1004. package/src/client/vaults/types/kaminoFarmEntry.ts +0 -32
  1005. package/src/client/vaults/types/kaminoObligationEntry.ts +0 -51
  1006. package/src/client/vaults/types/limitedQuantityConstraints.ts +0 -10
  1007. package/src/client/vaults/types/limitedSpendingLimit.ts +0 -35
  1008. package/src/client/vaults/types/limitedTimeConstraints.ts +0 -15
  1009. package/src/client/vaults/types/loopscaleLoanEntry.ts +0 -23
  1010. package/src/client/vaults/types/loopscaleStrategyEntry.ts +0 -23
  1011. package/src/client/vaults/types/number.ts +0 -8
  1012. package/src/client/vaults/types/obligationType.ts +0 -63
  1013. package/src/client/vaults/types/orderbookEntry.ts +0 -50
  1014. package/src/client/vaults/types/periodV2.ts +0 -76
  1015. package/src/client/vaults/types/permissions.ts +0 -8
  1016. package/src/client/vaults/types/policyAction.ts +0 -74
  1017. package/src/client/vaults/types/policyConfig.ts +0 -32
  1018. package/src/client/vaults/types/policyCreationPayload.ts +0 -147
  1019. package/src/client/vaults/types/policyExpirationArgs.ts +0 -67
  1020. package/src/client/vaults/types/positionUpdate.ts +0 -313
  1021. package/src/client/vaults/types/priceId.ts +0 -57
  1022. package/src/client/vaults/types/priceType.ts +0 -23
  1023. package/src/client/vaults/types/programInteractionPolicyCreationPayload.ts +0 -32
  1024. package/src/client/vaults/types/proposalAction.ts +0 -97
  1025. package/src/client/vaults/types/proposalActionKind.ts +0 -11
  1026. package/src/client/vaults/types/proposalStatus.ts +0 -13
  1027. package/src/client/vaults/types/proposalVoteConfig.ts +0 -36
  1028. package/src/client/vaults/types/proposeActionEvent.ts +0 -62
  1029. package/src/client/vaults/types/quantityConstraints.ts +0 -14
  1030. package/src/client/vaults/types/reserveFarmMapping.ts +0 -35
  1031. package/src/client/vaults/types/reservePriceMapping.ts +0 -26
  1032. package/src/client/vaults/types/settingsChangePolicyCreationPayload.ts +0 -14
  1033. package/src/client/vaults/types/spendingLimitPolicyCreationPayload.ts +0 -54
  1034. package/src/client/vaults/types/stakeVoteEvent.ts +0 -54
  1035. package/src/client/vaults/types/strategyPosition.ts +0 -178
  1036. package/src/client/vaults/types/timeConstraints.ts +0 -22
  1037. package/src/client/vaults/types/tokenAccountBalance.ts +0 -35
  1038. package/src/client/vaults/types/tokenAccountEntry.ts +0 -30
  1039. package/src/client/vaults/types/tokenEntry.ts +0 -48
  1040. package/src/client/vaults/types/unstakeVoteEvent.ts +0 -53
  1041. package/src/client/vaults/types/updatePriceAction.ts +0 -268
  1042. package/src/client/vaults/types/updatePriceInput.ts +0 -12
  1043. package/src/client/vaults/types/usageState.ts +0 -12
  1044. package/src/client/vaults/types/vaultConfig.ts +0 -38
  1045. package/src/client/vaults/types/vaultFinancials.ts +0 -40
  1046. package/src/client/vaults/types/vaultFlagAction.ts +0 -75
  1047. package/src/client/vaults/types/vaultFlagsUpdatedEvent.ts +0 -37
  1048. package/src/client/vaults/types/vaultRoleKind.ts +0 -11
  1049. package/src/client/vaults/types/vaultRoles.ts +0 -59
  1050. package/src/client/vaults/types/vaultSettingsAction.ts +0 -533
  1051. package/src/client/vaults/types/voteChoice.ts +0 -9
  1052. package/src/client/vaults/types/withdrawalPeriodSettings.ts +0 -83
  1053. package/src/client/vaults/types/withdrawalTokenFill.ts +0 -35
  1054. package/src/client/vaults/types/yieldPositionEntry.ts +0 -35
  1055. package/src/clmm/codamaEvents.ts +0 -34
  1056. package/src/clmm/index.ts +0 -1
  1057. package/src/codamaEvents.ts +0 -27
  1058. package/src/environment.ts +0 -21
  1059. package/src/exponentVaults/aumCalculator.ts +0 -1350
  1060. package/src/exponentVaults/events.ts +0 -15
  1061. package/src/exponentVaults/fetcher.ts +0 -257
  1062. package/src/exponentVaults/index.ts +0 -322
  1063. package/src/exponentVaults/kamino-farms.ts +0 -538
  1064. package/src/exponentVaults/kamino-markets.ts +0 -363
  1065. package/src/exponentVaults/loopscale/client.ts +0 -808
  1066. package/src/exponentVaults/loopscale/helpers.ts +0 -172
  1067. package/src/exponentVaults/loopscale/index.ts +0 -57
  1068. package/src/exponentVaults/loopscale/prepared-transactions.ts +0 -435
  1069. package/src/exponentVaults/loopscale/prepared-types.ts +0 -73
  1070. package/src/exponentVaults/loopscale/types.ts +0 -466
  1071. package/src/exponentVaults/policyBuilders.ts +0 -1729
  1072. package/src/exponentVaults/policyMatcher.ts +0 -895
  1073. package/src/exponentVaults/pricePathResolver.test.ts +0 -466
  1074. package/src/exponentVaults/pricePathResolver.ts +0 -273
  1075. package/src/exponentVaults/scope-refresh.ts +0 -169
  1076. package/src/exponentVaults/squadsVaultTxnResolver/constants.ts +0 -59
  1077. package/src/exponentVaults/squadsVaultTxnResolver/helpers.ts +0 -355
  1078. package/src/exponentVaults/squadsVaultTxnResolver/index.ts +0 -16
  1079. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/exponent.ts +0 -472
  1080. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/helpers.ts +0 -33
  1081. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/index.ts +0 -38
  1082. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/kamino.ts +0 -83
  1083. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/loopscale.ts +0 -94
  1084. package/src/exponentVaults/squadsVaultTxnResolver/resolvers/titan.ts +0 -41
  1085. package/src/exponentVaults/squadsVaultTxnResolver/squadsVaultTxnResolver.ts +0 -91
  1086. package/src/exponentVaults/squadsVaultTxnResolver/types.ts +0 -171
  1087. package/src/exponentVaults/squadsVaultTxnResolver/utils.ts +0 -3
  1088. package/src/exponentVaults/syncTransaction.ts +0 -500
  1089. package/src/exponentVaults/titan-quote.ts +0 -446
  1090. package/src/exponentVaults/vault-instruction-types.ts +0 -493
  1091. package/src/exponentVaults/vault-interaction.ts +0 -5070
  1092. package/src/exponentVaults/vault.ts +0 -2667
  1093. package/src/exponentVaults/vaultTransactionBuilder.test.ts +0 -256
  1094. package/src/exponentVaults/vaultTransactionBuilder.ts +0 -927
  1095. package/src/flavors.ts +0 -841
  1096. package/src/index.ts +0 -26
  1097. package/src/lpPosition.ts +0 -155
  1098. package/src/market.ts +0 -2432
  1099. package/src/marketThree.test.ts +0 -210
  1100. package/src/marketThree.ts +0 -2861
  1101. package/src/orderbook/codamaEvents.ts +0 -28
  1102. package/src/orderbook/index.ts +0 -13
  1103. package/src/orderbook/math.ts +0 -138
  1104. package/src/orderbook/orderbook.ts +0 -1354
  1105. package/src/orderbook/types.ts +0 -40
  1106. package/src/orderbook/utils.ts +0 -66
  1107. package/src/router.ts +0 -810
  1108. package/src/syPosition.ts +0 -182
  1109. package/src/tokenUtil.ts +0 -23
  1110. package/src/utils/altUtil.ts +0 -52
  1111. package/src/utils/binSolver.test.ts +0 -17
  1112. package/src/utils/binSolver.ts +0 -44
  1113. package/src/utils/index.ts +0 -33
  1114. package/src/utils/ix.ts +0 -7
  1115. package/src/vault.ts +0 -1033
  1116. package/src/ytPosition.ts +0 -319
  1117. package/tsconfig.json +0 -46
@@ -1,4 +1,5 @@
1
1
  import { KaminoMarket } from "./kamino-markets";
2
+ import Decimal from "decimal.js";
2
3
  import { SwapDirection } from "../client/clmm";
3
4
  import { Environment } from "../environment";
4
5
  import { ExponentVault as StrategyVault } from "./vault";
@@ -65,2559 +66,21 @@ export declare const kaminoAction: {
65
66
  * @param asset - The reserve asset (e.g. "USDC", "SOL")
66
67
  * @param amount - Amount in the asset's native units
67
68
  */
68
- withdraw<M_1 extends KaminoMarket>(market: M_1, asset: keyof {
69
- readonly MAIN: {
70
- readonly adraSOL: {
71
- pubkey: web3.PublicKey;
72
- mint: web3.PublicKey;
73
- };
74
- readonly dSOL: {
75
- pubkey: web3.PublicKey;
76
- mint: web3.PublicKey;
77
- };
78
- readonly SOL: {
79
- pubkey: web3.PublicKey;
80
- mint: web3.PublicKey;
81
- };
82
- readonly ETH: {
83
- pubkey: web3.PublicKey;
84
- mint: web3.PublicKey;
85
- };
86
- readonly fBTC: {
87
- pubkey: web3.PublicKey;
88
- mint: web3.PublicKey;
89
- };
90
- readonly picoSOL: {
91
- pubkey: web3.PublicKey;
92
- mint: web3.PublicKey;
93
- };
94
- readonly stkeSOL: {
95
- pubkey: web3.PublicKey;
96
- mint: web3.PublicKey;
97
- };
98
- readonly PYUSD: {
99
- pubkey: web3.PublicKey;
100
- mint: web3.PublicKey;
101
- };
102
- readonly cbBTC: {
103
- pubkey: web3.PublicKey;
104
- mint: web3.PublicKey;
105
- };
106
- readonly JUP: {
107
- pubkey: web3.PublicKey;
108
- mint: web3.PublicKey;
109
- };
110
- readonly xBTC: {
111
- pubkey: web3.PublicKey;
112
- mint: web3.PublicKey;
113
- };
114
- readonly wstETH: {
115
- pubkey: web3.PublicKey;
116
- mint: web3.PublicKey;
117
- };
118
- readonly kSOLBSOLOrca: {
119
- pubkey: web3.PublicKey;
120
- mint: web3.PublicKey;
121
- };
122
- readonly CHAI: {
123
- pubkey: web3.PublicKey;
124
- mint: web3.PublicKey;
125
- };
126
- readonly bbSOL: {
127
- pubkey: web3.PublicKey;
128
- mint: web3.PublicKey;
129
- };
130
- readonly USD1: {
131
- pubkey: web3.PublicKey;
132
- mint: web3.PublicKey;
133
- };
134
- readonly kSOLJITOSOLRaydium: {
135
- pubkey: web3.PublicKey;
136
- mint: web3.PublicKey;
137
- };
138
- readonly nxSOL: {
139
- pubkey: web3.PublicKey;
140
- mint: web3.PublicKey;
141
- };
142
- readonly fwdSOL: {
143
- pubkey: web3.PublicKey;
144
- mint: web3.PublicKey;
145
- };
146
- readonly STSOL: {
147
- pubkey: web3.PublicKey;
148
- mint: web3.PublicKey;
149
- };
150
- readonly JTO: {
151
- pubkey: web3.PublicKey;
152
- mint: web3.PublicKey;
153
- };
154
- readonly strongSOL: {
155
- pubkey: web3.PublicKey;
156
- mint: web3.PublicKey;
157
- };
158
- readonly CASH: {
159
- pubkey: web3.PublicKey;
160
- mint: web3.PublicKey;
161
- };
162
- readonly kUXDUSDCOrca: {
163
- pubkey: web3.PublicKey;
164
- mint: web3.PublicKey;
165
- };
166
- readonly hubSOL: {
167
- pubkey: web3.PublicKey;
168
- mint: web3.PublicKey;
169
- };
170
- readonly USDS: {
171
- pubkey: web3.PublicKey;
172
- mint: web3.PublicKey;
173
- };
174
- readonly FDUSD: {
175
- pubkey: web3.PublicKey;
176
- mint: web3.PublicKey;
177
- };
178
- readonly cgntSOL: {
179
- pubkey: web3.PublicKey;
180
- mint: web3.PublicKey;
181
- };
182
- readonly hSOL: {
183
- pubkey: web3.PublicKey;
184
- mint: web3.PublicKey;
185
- };
186
- readonly vSOL: {
187
- pubkey: web3.PublicKey;
188
- mint: web3.PublicKey;
189
- };
190
- readonly dfdvSOL: {
191
- pubkey: web3.PublicKey;
192
- mint: web3.PublicKey;
193
- };
194
- readonly USDC: {
195
- pubkey: web3.PublicKey;
196
- mint: web3.PublicKey;
197
- };
198
- readonly JupSOL: {
199
- pubkey: web3.PublicKey;
200
- mint: web3.PublicKey;
201
- };
202
- readonly USDH: {
203
- pubkey: web3.PublicKey;
204
- mint: web3.PublicKey;
205
- };
206
- readonly JLP: {
207
- pubkey: web3.PublicKey;
208
- mint: web3.PublicKey;
209
- };
210
- readonly EURC: {
211
- pubkey: web3.PublicKey;
212
- mint: web3.PublicKey;
213
- };
214
- readonly USDG: {
215
- pubkey: web3.PublicKey;
216
- mint: web3.PublicKey;
217
- };
218
- readonly JITOSOL: {
219
- pubkey: web3.PublicKey;
220
- mint: web3.PublicKey;
221
- };
222
- readonly MSOL: {
223
- pubkey: web3.PublicKey;
224
- mint: web3.PublicKey;
225
- };
226
- readonly cdcSOL: {
227
- pubkey: web3.PublicKey;
228
- mint: web3.PublicKey;
229
- };
230
- readonly kSOLMSOLRaydium: {
231
- pubkey: web3.PublicKey;
232
- mint: web3.PublicKey;
233
- };
234
- readonly bnSOL: {
235
- pubkey: web3.PublicKey;
236
- mint: web3.PublicKey;
237
- };
238
- readonly STEP: {
239
- pubkey: web3.PublicKey;
240
- mint: web3.PublicKey;
241
- };
242
- readonly kSOLJITOSOLOrca: {
243
- pubkey: web3.PublicKey;
244
- mint: web3.PublicKey;
245
- };
246
- readonly xSTEP: {
247
- pubkey: web3.PublicKey;
248
- mint: web3.PublicKey;
249
- };
250
- readonly UXD: {
251
- pubkey: web3.PublicKey;
252
- mint: web3.PublicKey;
253
- };
254
- readonly USDT: {
255
- pubkey: web3.PublicKey;
256
- mint: web3.PublicKey;
257
- };
258
- readonly bSOL: {
259
- pubkey: web3.PublicKey;
260
- mint: web3.PublicKey;
261
- };
262
- readonly jSOL: {
263
- pubkey: web3.PublicKey;
264
- mint: web3.PublicKey;
265
- };
266
- readonly laineSOL: {
267
- pubkey: web3.PublicKey;
268
- mint: web3.PublicKey;
269
- };
270
- readonly pSOL: {
271
- pubkey: web3.PublicKey;
272
- mint: web3.PublicKey;
273
- };
274
- readonly WBTC: {
275
- pubkey: web3.PublicKey;
276
- mint: web3.PublicKey;
277
- };
278
- readonly tBTC: {
279
- pubkey: web3.PublicKey;
280
- mint: web3.PublicKey;
281
- };
282
- readonly bonkSOL: {
283
- pubkey: web3.PublicKey;
284
- mint: web3.PublicKey;
285
- };
286
- readonly lanternSOL: {
287
- pubkey: web3.PublicKey;
288
- mint: web3.PublicKey;
289
- };
290
- };
291
- readonly JLP: {
292
- readonly USDT: {
293
- pubkey: web3.PublicKey;
294
- mint: web3.PublicKey;
295
- };
296
- readonly USD1: {
297
- pubkey: web3.PublicKey;
298
- mint: web3.PublicKey;
299
- };
300
- readonly USDG: {
301
- pubkey: web3.PublicKey;
302
- mint: web3.PublicKey;
303
- };
304
- readonly JLP: {
305
- pubkey: web3.PublicKey;
306
- mint: web3.PublicKey;
307
- };
308
- readonly SOL: {
309
- pubkey: web3.PublicKey;
310
- mint: web3.PublicKey;
311
- };
312
- readonly PYUSD: {
313
- pubkey: web3.PublicKey;
314
- mint: web3.PublicKey;
315
- };
316
- readonly USDC: {
317
- pubkey: web3.PublicKey;
318
- mint: web3.PublicKey;
319
- };
320
- };
321
- readonly ALTCOINS: {
322
- readonly GRASS: {
323
- pubkey: web3.PublicKey;
324
- mint: web3.PublicKey;
325
- };
326
- readonly MEW: {
327
- pubkey: web3.PublicKey;
328
- mint: web3.PublicKey;
329
- };
330
- readonly JUP: {
331
- pubkey: web3.PublicKey;
332
- mint: web3.PublicKey;
333
- };
334
- readonly POPCAT: {
335
- pubkey: web3.PublicKey;
336
- mint: web3.PublicKey;
337
- };
338
- readonly JTO: {
339
- pubkey: web3.PublicKey;
340
- mint: web3.PublicKey;
341
- };
342
- readonly DRIFT: {
343
- pubkey: web3.PublicKey;
344
- mint: web3.PublicKey;
345
- };
346
- readonly USDC: {
347
- pubkey: web3.PublicKey;
348
- mint: web3.PublicKey;
349
- };
350
- readonly KMNO: {
351
- pubkey: web3.PublicKey;
352
- mint: web3.PublicKey;
353
- };
354
- readonly PRCL: {
355
- pubkey: web3.PublicKey;
356
- mint: web3.PublicKey;
357
- };
358
- readonly PENGU: {
359
- pubkey: web3.PublicKey;
360
- mint: web3.PublicKey;
361
- };
362
- readonly BONK: {
363
- pubkey: web3.PublicKey;
364
- mint: web3.PublicKey;
365
- };
366
- readonly PYUSD: {
367
- pubkey: web3.PublicKey;
368
- mint: web3.PublicKey;
369
- };
370
- readonly W: {
371
- pubkey: web3.PublicKey;
372
- mint: web3.PublicKey;
373
- };
374
- readonly TNSR: {
375
- pubkey: web3.PublicKey;
376
- mint: web3.PublicKey;
377
- };
378
- readonly GOAT: {
379
- pubkey: web3.PublicKey;
380
- mint: web3.PublicKey;
381
- };
382
- readonly WEN: {
383
- pubkey: web3.PublicKey;
384
- mint: web3.PublicKey;
385
- };
386
- readonly USDH: {
387
- pubkey: web3.PublicKey;
388
- mint: web3.PublicKey;
389
- };
390
- readonly TRUMP: {
391
- pubkey: web3.PublicKey;
392
- mint: web3.PublicKey;
393
- };
394
- readonly WIF: {
395
- pubkey: web3.PublicKey;
396
- mint: web3.PublicKey;
397
- };
398
- readonly FWOG: {
399
- pubkey: web3.PublicKey;
400
- mint: web3.PublicKey;
401
- };
402
- readonly PYTH: {
403
- pubkey: web3.PublicKey;
404
- mint: web3.PublicKey;
405
- };
406
- readonly INF: {
407
- pubkey: web3.PublicKey;
408
- mint: web3.PublicKey;
409
- };
410
- };
411
- readonly ETHENA: {
412
- readonly USDe: {
413
- pubkey: web3.PublicKey;
414
- mint: web3.PublicKey;
415
- };
416
- readonly USDT: {
417
- pubkey: web3.PublicKey;
418
- mint: web3.PublicKey;
419
- };
420
- readonly USDC: {
421
- pubkey: web3.PublicKey;
422
- mint: web3.PublicKey;
423
- };
424
- readonly PYUSD: {
425
- pubkey: web3.PublicKey;
426
- mint: web3.PublicKey;
427
- };
428
- readonly sUSDe: {
429
- pubkey: web3.PublicKey;
430
- mint: web3.PublicKey;
431
- };
432
- };
433
- readonly JITO: {
434
- readonly kySOL: {
435
- pubkey: web3.PublicKey;
436
- mint: web3.PublicKey;
437
- };
438
- readonly SOL: {
439
- pubkey: web3.PublicKey;
440
- mint: web3.PublicKey;
441
- };
442
- readonly ezSOL: {
443
- pubkey: web3.PublicKey;
444
- mint: web3.PublicKey;
445
- };
446
- readonly JITOSOL: {
447
- pubkey: web3.PublicKey;
448
- mint: web3.PublicKey;
449
- };
450
- };
451
- readonly FARTCOIN: {
452
- readonly FARTCOIN: {
453
- pubkey: web3.PublicKey;
454
- mint: web3.PublicKey;
455
- };
456
- readonly USDC: {
457
- pubkey: web3.PublicKey;
458
- mint: web3.PublicKey;
459
- };
460
- readonly USDT: {
461
- pubkey: web3.PublicKey;
462
- mint: web3.PublicKey;
463
- };
464
- };
465
- readonly BITCOIN: {
466
- readonly WBTC: {
467
- pubkey: web3.PublicKey;
468
- mint: web3.PublicKey;
469
- };
470
- readonly zBTC: {
471
- pubkey: web3.PublicKey;
472
- mint: web3.PublicKey;
473
- };
474
- readonly USDC: {
475
- pubkey: web3.PublicKey;
476
- mint: web3.PublicKey;
477
- };
478
- readonly USDG: {
479
- pubkey: web3.PublicKey;
480
- mint: web3.PublicKey;
481
- };
482
- readonly USDT: {
483
- pubkey: web3.PublicKey;
484
- mint: web3.PublicKey;
485
- };
486
- readonly LBTC: {
487
- pubkey: web3.PublicKey;
488
- mint: web3.PublicKey;
489
- };
490
- readonly FDUSD: {
491
- pubkey: web3.PublicKey;
492
- mint: web3.PublicKey;
493
- };
494
- };
495
- readonly JUPITER: {
496
- readonly USDC: {
497
- pubkey: web3.PublicKey;
498
- mint: web3.PublicKey;
499
- };
500
- readonly JUP: {
501
- pubkey: web3.PublicKey;
502
- mint: web3.PublicKey;
503
- };
504
- readonly USDT: {
505
- pubkey: web3.PublicKey;
506
- mint: web3.PublicKey;
507
- };
508
- readonly USDG: {
509
- pubkey: web3.PublicKey;
510
- mint: web3.PublicKey;
511
- };
512
- };
513
- readonly JTO: {
514
- readonly JTO: {
515
- pubkey: web3.PublicKey;
516
- mint: web3.PublicKey;
517
- };
518
- readonly USDG: {
519
- pubkey: web3.PublicKey;
520
- mint: web3.PublicKey;
521
- };
522
- readonly USDT: {
523
- pubkey: web3.PublicKey;
524
- mint: web3.PublicKey;
525
- };
526
- readonly USDC: {
527
- pubkey: web3.PublicKey;
528
- mint: web3.PublicKey;
529
- };
530
- };
531
- readonly MARINADE: {
532
- readonly MSOL: {
533
- pubkey: web3.PublicKey;
534
- mint: web3.PublicKey;
535
- };
536
- readonly SOL: {
537
- pubkey: web3.PublicKey;
538
- mint: web3.PublicKey;
539
- };
540
- };
541
- readonly EXPONENT_PT_SOL: {
542
- readonly "PT-bulkSOL-26FEB26": {
543
- pubkey: web3.PublicKey;
544
- mint: web3.PublicKey;
545
- };
546
- readonly "PT-kySOL-14JUN25": {
547
- pubkey: web3.PublicKey;
548
- mint: web3.PublicKey;
549
- };
550
- readonly SOL: {
551
- pubkey: web3.PublicKey;
552
- mint: web3.PublicKey;
553
- };
554
- readonly fragSOL: {
555
- pubkey: web3.PublicKey;
556
- mint: web3.PublicKey;
557
- };
558
- readonly "PT-fragSOL-10JUL25": {
559
- pubkey: web3.PublicKey;
560
- mint: web3.PublicKey;
561
- };
562
- readonly "PT-fragSOL-12FEB26": {
563
- pubkey: web3.PublicKey;
564
- mint: web3.PublicKey;
565
- };
566
- readonly "PT-fragSOL-31OCT25": {
567
- pubkey: web3.PublicKey;
568
- mint: web3.PublicKey;
569
- };
570
- readonly "PT-kySOL-30SEP25": {
571
- pubkey: web3.PublicKey;
572
- mint: web3.PublicKey;
573
- };
574
- };
575
- readonly BONK: {
576
- readonly USDC: {
577
- pubkey: web3.PublicKey;
578
- mint: web3.PublicKey;
579
- };
580
- readonly USDT: {
581
- pubkey: web3.PublicKey;
582
- mint: web3.PublicKey;
583
- };
584
- readonly SOL: {
585
- pubkey: web3.PublicKey;
586
- mint: web3.PublicKey;
587
- };
588
- readonly bonkSOL: {
589
- pubkey: web3.PublicKey;
590
- mint: web3.PublicKey;
591
- };
592
- readonly USDG: {
593
- pubkey: web3.PublicKey;
594
- mint: web3.PublicKey;
595
- };
596
- readonly BONK: {
597
- pubkey: web3.PublicKey;
598
- mint: web3.PublicKey;
599
- };
600
- };
601
- readonly RSTSOL_BBSOL: {
602
- readonly bbSOL: {
603
- pubkey: web3.PublicKey;
604
- mint: web3.PublicKey;
605
- };
606
- readonly rstSOL: {
607
- pubkey: web3.PublicKey;
608
- mint: web3.PublicKey;
609
- };
610
- readonly SOL: {
611
- pubkey: web3.PublicKey;
612
- mint: web3.PublicKey;
613
- };
614
- };
615
- readonly MAPLE: {
616
- readonly PYUSD: {
617
- pubkey: web3.PublicKey;
618
- mint: web3.PublicKey;
619
- };
620
- readonly USDC: {
621
- pubkey: web3.PublicKey;
622
- mint: web3.PublicKey;
623
- };
624
- readonly syrupUSDC: {
625
- pubkey: web3.PublicKey;
626
- mint: web3.PublicKey;
627
- };
628
- readonly USDS: {
629
- pubkey: web3.PublicKey;
630
- mint: web3.PublicKey;
631
- };
632
- readonly CASH: {
633
- pubkey: web3.PublicKey;
634
- mint: web3.PublicKey;
635
- };
636
- /** KLend farm modes — collateral for deposit/withdraw, debt for borrow/repay. */
637
- readonly USD1: {
638
- pubkey: web3.PublicKey;
639
- mint: web3.PublicKey;
640
- };
641
- readonly USDG: {
642
- pubkey: web3.PublicKey;
643
- mint: web3.PublicKey;
644
- };
645
- };
646
- readonly HUMA: {
647
- readonly USDC: {
648
- pubkey: web3.PublicKey;
649
- mint: web3.PublicKey;
650
- };
651
- readonly USDS: {
652
- pubkey: web3.PublicKey;
653
- mint: web3.PublicKey;
654
- };
655
- readonly PST: {
656
- pubkey: web3.PublicKey;
657
- mint: web3.PublicKey;
658
- };
659
- readonly USDG: {
660
- pubkey: web3.PublicKey;
661
- mint: web3.PublicKey;
662
- };
663
- };
664
- readonly APOLLO: {
665
- readonly USDG: {
666
- pubkey: web3.PublicKey;
667
- mint: web3.PublicKey;
668
- };
669
- readonly sACRED: {
670
- pubkey: web3.PublicKey;
671
- mint: web3.PublicKey;
672
- };
673
- readonly USDC: {
674
- pubkey: web3.PublicKey;
675
- mint: web3.PublicKey;
676
- };
677
- };
678
- readonly ZEUS_BITCOIN: {
679
- readonly FDUSD: {
680
- pubkey: web3.PublicKey;
681
- mint: web3.PublicKey;
682
- };
683
- readonly USDC: {
684
- pubkey: web3.PublicKey;
685
- mint: web3.PublicKey;
686
- };
687
- readonly ZBTC: {
688
- pubkey: web3.PublicKey;
689
- mint: web3.PublicKey;
690
- };
691
- };
692
- readonly XSTOCKS: {
693
- readonly SPYx: {
694
- pubkey: web3.PublicKey;
695
- mint: web3.PublicKey;
696
- };
697
- readonly QQQx: {
698
- pubkey: web3.PublicKey;
699
- mint: web3.PublicKey;
700
- };
701
- readonly HOODx: {
702
- pubkey: web3.PublicKey;
703
- mint: web3.PublicKey;
704
- };
705
- readonly GOOGLx: {
706
- pubkey: web3.PublicKey;
707
- mint: web3.PublicKey;
708
- };
709
- readonly CRCLx: {
710
- pubkey: web3.PublicKey;
711
- mint: web3.PublicKey;
712
- };
713
- readonly cbBTC: {
714
- pubkey: web3.PublicKey;
715
- mint: web3.PublicKey;
716
- };
717
- readonly TSLAx: {
718
- pubkey: web3.PublicKey;
719
- mint: web3.PublicKey;
720
- };
721
- readonly NVDAx: {
722
- pubkey: web3.PublicKey;
723
- mint: web3.PublicKey;
724
- };
725
- readonly USDC: {
726
- pubkey: web3.PublicKey;
727
- mint: web3.PublicKey;
728
- };
729
- readonly METAx: {
730
- pubkey: web3.PublicKey;
731
- mint: web3.PublicKey;
732
- };
733
- readonly AAPLx: {
734
- pubkey: web3.PublicKey;
735
- mint: web3.PublicKey;
736
- };
737
- readonly MSTRx: {
738
- pubkey: web3.PublicKey;
739
- mint: web3.PublicKey;
740
- };
741
- readonly USDG: {
742
- pubkey: web3.PublicKey;
743
- mint: web3.PublicKey;
744
- };
745
- };
746
- readonly ONRE: {
747
- readonly AUSD: {
748
- pubkey: web3.PublicKey;
749
- mint: web3.PublicKey;
750
- };
751
- readonly USDS: {
752
- pubkey: web3.PublicKey;
753
- mint: web3.PublicKey;
754
- };
755
- readonly ONyc: {
756
- pubkey: web3.PublicKey;
757
- mint: web3.PublicKey;
758
- };
759
- readonly USDC: {
760
- pubkey: web3.PublicKey;
761
- mint: web3.PublicKey;
762
- };
763
- readonly USDG: {
764
- pubkey: web3.PublicKey;
765
- mint: web3.PublicKey;
766
- };
767
- };
768
- readonly PUMP: {
769
- readonly PUMP: {
770
- pubkey: web3.PublicKey;
771
- mint: web3.PublicKey;
772
- };
773
- readonly USDC: {
774
- pubkey: web3.PublicKey;
775
- mint: web3.PublicKey;
776
- };
777
- readonly USDG: {
778
- pubkey: web3.PublicKey;
779
- mint: web3.PublicKey;
780
- };
781
- };
782
- readonly SOLSTICE: {
783
- readonly "PT-eUSX-01JUN26": {
784
- pubkey: web3.PublicKey;
785
- mint: web3.PublicKey;
786
- };
787
- readonly "PT-eUSX-11MAR26": {
788
- pubkey: web3.PublicKey;
789
- mint: web3.PublicKey;
790
- };
791
- readonly USDC: {
792
- pubkey: web3.PublicKey;
793
- mint: web3.PublicKey;
794
- };
795
- readonly eUSX: {
796
- pubkey: web3.PublicKey;
797
- mint: web3.PublicKey;
798
- };
799
- readonly "PT-USX-01JUN26": {
800
- pubkey: web3.PublicKey;
801
- mint: web3.PublicKey;
802
- };
803
- readonly "PT-USX-9FEB26": {
804
- pubkey: web3.PublicKey;
805
- mint: web3.PublicKey;
806
- };
807
- readonly USX: {
808
- pubkey: web3.PublicKey;
809
- mint: web3.PublicKey;
810
- };
811
- };
812
- readonly SUPERSTATE: {
813
- readonly FWDI: {
814
- pubkey: web3.PublicKey;
815
- mint: web3.PublicKey;
816
- };
817
- readonly GLXY: {
818
- pubkey: web3.PublicKey;
819
- mint: web3.PublicKey;
820
- };
821
- readonly "USDC-Dep": {
822
- pubkey: web3.PublicKey;
823
- mint: web3.PublicKey;
824
- };
825
- readonly USDC: {
826
- pubkey: web3.PublicKey;
827
- mint: web3.PublicKey;
828
- };
829
- readonly USCC: {
830
- pubkey: web3.PublicKey;
831
- mint: web3.PublicKey;
832
- };
833
- };
834
- readonly FIGURE: {
835
- readonly PYUSD: {
836
- pubkey: web3.PublicKey;
837
- mint: web3.PublicKey;
838
- };
839
- readonly wYLDS: {
840
- pubkey: web3.PublicKey;
841
- mint: web3.PublicKey;
842
- };
843
- readonly USDS: {
844
- pubkey: web3.PublicKey;
845
- mint: web3.PublicKey;
846
- };
847
- readonly USDC: {
848
- pubkey: web3.PublicKey;
849
- mint: web3.PublicKey;
850
- };
851
- readonly PRIME: {
852
- pubkey: web3.PublicKey;
853
- mint: web3.PublicKey;
854
- };
855
- readonly CASH: {
856
- pubkey: web3.PublicKey;
857
- mint: web3.PublicKey;
858
- };
859
- };
860
- readonly GM_SANCTUM: {
861
- readonly dfdvSOL: {
862
- pubkey: web3.PublicKey;
863
- mint: web3.PublicKey;
864
- };
865
- readonly INF: {
866
- pubkey: web3.PublicKey;
867
- mint: web3.PublicKey;
868
- };
869
- readonly SOL: {
870
- pubkey: web3.PublicKey;
871
- mint: web3.PublicKey;
872
- };
873
- };
874
- readonly GM_SOLBLAZE: {
875
- readonly SOL: {
876
- pubkey: web3.PublicKey;
877
- mint: web3.PublicKey;
878
- };
879
- readonly BSOL: {
880
- pubkey: web3.PublicKey;
881
- mint: web3.PublicKey;
882
- };
883
- };
884
- readonly ADRENA: {
885
- readonly USDC: {
886
- pubkey: web3.PublicKey;
887
- mint: web3.PublicKey;
888
- };
889
- readonly ALP: {
890
- pubkey: web3.PublicKey;
891
- mint: web3.PublicKey;
892
- };
893
- };
894
- readonly FLASH_TRADE: {
895
- readonly USDC: {
896
- pubkey: web3.PublicKey;
897
- mint: web3.PublicKey;
898
- };
899
- readonly FLP: {
900
- pubkey: web3.PublicKey;
901
- mint: web3.PublicKey;
902
- };
903
- };
904
- readonly METAPLEX: {
905
- readonly USDC: {
906
- pubkey: web3.PublicKey;
907
- mint: web3.PublicKey;
908
- };
909
- readonly MPLX: {
910
- pubkey: web3.PublicKey;
911
- mint: web3.PublicKey;
912
- };
913
- };
914
- }[M_1], amount: BN): ReserveInstruction;
69
+ withdraw<M extends KaminoMarket>(market: M, asset: keyof KaminoReserves[M], amount: BN): ReserveInstruction;
915
70
  /**
916
71
  * Borrow from a Kamino reserve.
917
72
  * @param market - The Kamino lending market
918
73
  * @param asset - The reserve asset (e.g. "USDC", "SOL")
919
74
  * @param amount - Amount in the asset's native units
920
75
  */
921
- borrow<M_2 extends KaminoMarket>(market: M_2, asset: keyof {
922
- readonly MAIN: {
923
- readonly adraSOL: {
924
- pubkey: web3.PublicKey;
925
- mint: web3.PublicKey;
926
- };
927
- readonly dSOL: {
928
- pubkey: web3.PublicKey;
929
- mint: web3.PublicKey;
930
- };
931
- readonly SOL: {
932
- pubkey: web3.PublicKey;
933
- mint: web3.PublicKey;
934
- };
935
- readonly ETH: {
936
- pubkey: web3.PublicKey;
937
- mint: web3.PublicKey;
938
- };
939
- readonly fBTC: {
940
- pubkey: web3.PublicKey;
941
- mint: web3.PublicKey;
942
- };
943
- readonly picoSOL: {
944
- pubkey: web3.PublicKey;
945
- mint: web3.PublicKey;
946
- };
947
- readonly stkeSOL: {
948
- pubkey: web3.PublicKey;
949
- mint: web3.PublicKey;
950
- };
951
- readonly PYUSD: {
952
- pubkey: web3.PublicKey;
953
- mint: web3.PublicKey;
954
- };
955
- readonly cbBTC: {
956
- pubkey: web3.PublicKey;
957
- mint: web3.PublicKey;
958
- };
959
- readonly JUP: {
960
- pubkey: web3.PublicKey;
961
- mint: web3.PublicKey;
962
- };
963
- readonly xBTC: {
964
- pubkey: web3.PublicKey;
965
- mint: web3.PublicKey;
966
- };
967
- readonly wstETH: {
968
- pubkey: web3.PublicKey;
969
- mint: web3.PublicKey;
970
- };
971
- readonly kSOLBSOLOrca: {
972
- pubkey: web3.PublicKey;
973
- mint: web3.PublicKey;
974
- };
975
- readonly CHAI: {
976
- pubkey: web3.PublicKey;
977
- mint: web3.PublicKey;
978
- };
979
- readonly bbSOL: {
980
- pubkey: web3.PublicKey;
981
- mint: web3.PublicKey;
982
- };
983
- readonly USD1: {
984
- pubkey: web3.PublicKey;
985
- mint: web3.PublicKey;
986
- };
987
- readonly kSOLJITOSOLRaydium: {
988
- pubkey: web3.PublicKey;
989
- mint: web3.PublicKey;
990
- };
991
- readonly nxSOL: {
992
- pubkey: web3.PublicKey;
993
- mint: web3.PublicKey;
994
- };
995
- readonly fwdSOL: {
996
- pubkey: web3.PublicKey;
997
- mint: web3.PublicKey;
998
- };
999
- readonly STSOL: {
1000
- pubkey: web3.PublicKey;
1001
- mint: web3.PublicKey;
1002
- };
1003
- readonly JTO: {
1004
- pubkey: web3.PublicKey;
1005
- mint: web3.PublicKey;
1006
- };
1007
- readonly strongSOL: {
1008
- pubkey: web3.PublicKey;
1009
- mint: web3.PublicKey;
1010
- };
1011
- readonly CASH: {
1012
- pubkey: web3.PublicKey;
1013
- mint: web3.PublicKey;
1014
- };
1015
- readonly kUXDUSDCOrca: {
1016
- pubkey: web3.PublicKey;
1017
- mint: web3.PublicKey;
1018
- };
1019
- readonly hubSOL: {
1020
- pubkey: web3.PublicKey;
1021
- mint: web3.PublicKey;
1022
- };
1023
- readonly USDS: {
1024
- pubkey: web3.PublicKey;
1025
- mint: web3.PublicKey;
1026
- };
1027
- readonly FDUSD: {
1028
- pubkey: web3.PublicKey;
1029
- mint: web3.PublicKey;
1030
- };
1031
- readonly cgntSOL: {
1032
- pubkey: web3.PublicKey;
1033
- mint: web3.PublicKey;
1034
- };
1035
- readonly hSOL: {
1036
- pubkey: web3.PublicKey;
1037
- mint: web3.PublicKey;
1038
- };
1039
- readonly vSOL: {
1040
- pubkey: web3.PublicKey;
1041
- mint: web3.PublicKey;
1042
- };
1043
- readonly dfdvSOL: {
1044
- pubkey: web3.PublicKey;
1045
- mint: web3.PublicKey;
1046
- };
1047
- readonly USDC: {
1048
- pubkey: web3.PublicKey;
1049
- mint: web3.PublicKey;
1050
- };
1051
- readonly JupSOL: {
1052
- pubkey: web3.PublicKey;
1053
- mint: web3.PublicKey;
1054
- };
1055
- readonly USDH: {
1056
- pubkey: web3.PublicKey;
1057
- mint: web3.PublicKey;
1058
- };
1059
- readonly JLP: {
1060
- pubkey: web3.PublicKey;
1061
- mint: web3.PublicKey;
1062
- };
1063
- readonly EURC: {
1064
- pubkey: web3.PublicKey;
1065
- mint: web3.PublicKey;
1066
- };
1067
- readonly USDG: {
1068
- pubkey: web3.PublicKey;
1069
- mint: web3.PublicKey;
1070
- };
1071
- readonly JITOSOL: {
1072
- pubkey: web3.PublicKey;
1073
- mint: web3.PublicKey;
1074
- };
1075
- readonly MSOL: {
1076
- pubkey: web3.PublicKey;
1077
- mint: web3.PublicKey;
1078
- };
1079
- readonly cdcSOL: {
1080
- pubkey: web3.PublicKey;
1081
- mint: web3.PublicKey;
1082
- };
1083
- readonly kSOLMSOLRaydium: {
1084
- pubkey: web3.PublicKey;
1085
- mint: web3.PublicKey;
1086
- };
1087
- readonly bnSOL: {
1088
- pubkey: web3.PublicKey;
1089
- mint: web3.PublicKey;
1090
- };
1091
- readonly STEP: {
1092
- pubkey: web3.PublicKey;
1093
- mint: web3.PublicKey;
1094
- };
1095
- readonly kSOLJITOSOLOrca: {
1096
- pubkey: web3.PublicKey;
1097
- mint: web3.PublicKey;
1098
- };
1099
- readonly xSTEP: {
1100
- pubkey: web3.PublicKey;
1101
- mint: web3.PublicKey;
1102
- };
1103
- readonly UXD: {
1104
- pubkey: web3.PublicKey;
1105
- mint: web3.PublicKey;
1106
- };
1107
- readonly USDT: {
1108
- pubkey: web3.PublicKey;
1109
- mint: web3.PublicKey;
1110
- };
1111
- readonly bSOL: {
1112
- pubkey: web3.PublicKey;
1113
- mint: web3.PublicKey;
1114
- };
1115
- readonly jSOL: {
1116
- pubkey: web3.PublicKey;
1117
- mint: web3.PublicKey;
1118
- };
1119
- readonly laineSOL: {
1120
- pubkey: web3.PublicKey;
1121
- mint: web3.PublicKey;
1122
- };
1123
- readonly pSOL: {
1124
- pubkey: web3.PublicKey;
1125
- mint: web3.PublicKey;
1126
- };
1127
- readonly WBTC: {
1128
- pubkey: web3.PublicKey;
1129
- mint: web3.PublicKey;
1130
- };
1131
- readonly tBTC: {
1132
- pubkey: web3.PublicKey;
1133
- mint: web3.PublicKey;
1134
- };
1135
- readonly bonkSOL: {
1136
- pubkey: web3.PublicKey;
1137
- mint: web3.PublicKey;
1138
- };
1139
- readonly lanternSOL: {
1140
- pubkey: web3.PublicKey;
1141
- mint: web3.PublicKey;
1142
- };
1143
- };
1144
- readonly JLP: {
1145
- readonly USDT: {
1146
- pubkey: web3.PublicKey;
1147
- mint: web3.PublicKey;
1148
- };
1149
- readonly USD1: {
1150
- pubkey: web3.PublicKey;
1151
- mint: web3.PublicKey;
1152
- };
1153
- readonly USDG: {
1154
- pubkey: web3.PublicKey;
1155
- mint: web3.PublicKey;
1156
- };
1157
- readonly JLP: {
1158
- pubkey: web3.PublicKey;
1159
- mint: web3.PublicKey;
1160
- };
1161
- readonly SOL: {
1162
- pubkey: web3.PublicKey;
1163
- mint: web3.PublicKey;
1164
- };
1165
- readonly PYUSD: {
1166
- pubkey: web3.PublicKey;
1167
- mint: web3.PublicKey;
1168
- };
1169
- readonly USDC: {
1170
- pubkey: web3.PublicKey;
1171
- mint: web3.PublicKey;
1172
- };
1173
- };
1174
- readonly ALTCOINS: {
1175
- readonly GRASS: {
1176
- pubkey: web3.PublicKey;
1177
- mint: web3.PublicKey;
1178
- };
1179
- readonly MEW: {
1180
- pubkey: web3.PublicKey;
1181
- mint: web3.PublicKey;
1182
- };
1183
- readonly JUP: {
1184
- pubkey: web3.PublicKey;
1185
- mint: web3.PublicKey;
1186
- };
1187
- readonly POPCAT: {
1188
- pubkey: web3.PublicKey;
1189
- mint: web3.PublicKey;
1190
- };
1191
- readonly JTO: {
1192
- pubkey: web3.PublicKey;
1193
- mint: web3.PublicKey;
1194
- };
1195
- readonly DRIFT: {
1196
- pubkey: web3.PublicKey;
1197
- mint: web3.PublicKey;
1198
- };
1199
- readonly USDC: {
1200
- pubkey: web3.PublicKey;
1201
- mint: web3.PublicKey;
1202
- };
1203
- readonly KMNO: {
1204
- pubkey: web3.PublicKey;
1205
- mint: web3.PublicKey;
1206
- };
1207
- readonly PRCL: {
1208
- pubkey: web3.PublicKey;
1209
- mint: web3.PublicKey;
1210
- };
1211
- readonly PENGU: {
1212
- pubkey: web3.PublicKey;
1213
- mint: web3.PublicKey;
1214
- };
1215
- readonly BONK: {
1216
- pubkey: web3.PublicKey;
1217
- mint: web3.PublicKey;
1218
- };
1219
- readonly PYUSD: {
1220
- pubkey: web3.PublicKey;
1221
- mint: web3.PublicKey;
1222
- };
1223
- readonly W: {
1224
- pubkey: web3.PublicKey;
1225
- mint: web3.PublicKey;
1226
- };
1227
- readonly TNSR: {
1228
- pubkey: web3.PublicKey;
1229
- mint: web3.PublicKey;
1230
- };
1231
- readonly GOAT: {
1232
- pubkey: web3.PublicKey;
1233
- mint: web3.PublicKey;
1234
- };
1235
- readonly WEN: {
1236
- pubkey: web3.PublicKey;
1237
- mint: web3.PublicKey;
1238
- };
1239
- readonly USDH: {
1240
- pubkey: web3.PublicKey;
1241
- mint: web3.PublicKey;
1242
- };
1243
- readonly TRUMP: {
1244
- pubkey: web3.PublicKey;
1245
- mint: web3.PublicKey;
1246
- };
1247
- readonly WIF: {
1248
- pubkey: web3.PublicKey;
1249
- mint: web3.PublicKey;
1250
- };
1251
- readonly FWOG: {
1252
- pubkey: web3.PublicKey;
1253
- mint: web3.PublicKey;
1254
- };
1255
- readonly PYTH: {
1256
- pubkey: web3.PublicKey;
1257
- mint: web3.PublicKey;
1258
- };
1259
- readonly INF: {
1260
- pubkey: web3.PublicKey;
1261
- mint: web3.PublicKey;
1262
- };
1263
- };
1264
- readonly ETHENA: {
1265
- readonly USDe: {
1266
- pubkey: web3.PublicKey;
1267
- mint: web3.PublicKey;
1268
- };
1269
- readonly USDT: {
1270
- pubkey: web3.PublicKey;
1271
- mint: web3.PublicKey;
1272
- };
1273
- readonly USDC: {
1274
- pubkey: web3.PublicKey;
1275
- mint: web3.PublicKey;
1276
- };
1277
- readonly PYUSD: {
1278
- pubkey: web3.PublicKey;
1279
- mint: web3.PublicKey;
1280
- };
1281
- readonly sUSDe: {
1282
- pubkey: web3.PublicKey;
1283
- mint: web3.PublicKey;
1284
- };
1285
- };
1286
- readonly JITO: {
1287
- readonly kySOL: {
1288
- pubkey: web3.PublicKey;
1289
- mint: web3.PublicKey;
1290
- };
1291
- readonly SOL: {
1292
- pubkey: web3.PublicKey;
1293
- mint: web3.PublicKey;
1294
- };
1295
- readonly ezSOL: {
1296
- pubkey: web3.PublicKey;
1297
- mint: web3.PublicKey;
1298
- };
1299
- readonly JITOSOL: {
1300
- pubkey: web3.PublicKey;
1301
- mint: web3.PublicKey;
1302
- };
1303
- };
1304
- readonly FARTCOIN: {
1305
- readonly FARTCOIN: {
1306
- pubkey: web3.PublicKey;
1307
- mint: web3.PublicKey;
1308
- };
1309
- readonly USDC: {
1310
- pubkey: web3.PublicKey;
1311
- mint: web3.PublicKey;
1312
- };
1313
- readonly USDT: {
1314
- pubkey: web3.PublicKey;
1315
- mint: web3.PublicKey;
1316
- };
1317
- };
1318
- readonly BITCOIN: {
1319
- readonly WBTC: {
1320
- pubkey: web3.PublicKey;
1321
- mint: web3.PublicKey;
1322
- };
1323
- readonly zBTC: {
1324
- pubkey: web3.PublicKey;
1325
- mint: web3.PublicKey;
1326
- };
1327
- readonly USDC: {
1328
- pubkey: web3.PublicKey;
1329
- mint: web3.PublicKey;
1330
- };
1331
- readonly USDG: {
1332
- pubkey: web3.PublicKey;
1333
- mint: web3.PublicKey;
1334
- };
1335
- readonly USDT: {
1336
- pubkey: web3.PublicKey;
1337
- mint: web3.PublicKey;
1338
- };
1339
- readonly LBTC: {
1340
- pubkey: web3.PublicKey;
1341
- mint: web3.PublicKey;
1342
- };
1343
- readonly FDUSD: {
1344
- pubkey: web3.PublicKey;
1345
- mint: web3.PublicKey;
1346
- };
1347
- };
1348
- readonly JUPITER: {
1349
- readonly USDC: {
1350
- pubkey: web3.PublicKey;
1351
- mint: web3.PublicKey;
1352
- };
1353
- readonly JUP: {
1354
- pubkey: web3.PublicKey;
1355
- mint: web3.PublicKey;
1356
- };
1357
- readonly USDT: {
1358
- pubkey: web3.PublicKey;
1359
- mint: web3.PublicKey;
1360
- };
1361
- readonly USDG: {
1362
- pubkey: web3.PublicKey;
1363
- mint: web3.PublicKey;
1364
- };
1365
- };
1366
- readonly JTO: {
1367
- readonly JTO: {
1368
- pubkey: web3.PublicKey;
1369
- mint: web3.PublicKey;
1370
- };
1371
- readonly USDG: {
1372
- pubkey: web3.PublicKey;
1373
- mint: web3.PublicKey;
1374
- };
1375
- readonly USDT: {
1376
- pubkey: web3.PublicKey;
1377
- mint: web3.PublicKey;
1378
- };
1379
- readonly USDC: {
1380
- pubkey: web3.PublicKey;
1381
- mint: web3.PublicKey;
1382
- };
1383
- };
1384
- readonly MARINADE: {
1385
- readonly MSOL: {
1386
- pubkey: web3.PublicKey;
1387
- mint: web3.PublicKey;
1388
- };
1389
- readonly SOL: {
1390
- pubkey: web3.PublicKey;
1391
- mint: web3.PublicKey;
1392
- };
1393
- };
1394
- readonly EXPONENT_PT_SOL: {
1395
- readonly "PT-bulkSOL-26FEB26": {
1396
- pubkey: web3.PublicKey;
1397
- mint: web3.PublicKey;
1398
- };
1399
- readonly "PT-kySOL-14JUN25": {
1400
- pubkey: web3.PublicKey;
1401
- mint: web3.PublicKey;
1402
- };
1403
- readonly SOL: {
1404
- pubkey: web3.PublicKey;
1405
- mint: web3.PublicKey;
1406
- };
1407
- readonly fragSOL: {
1408
- pubkey: web3.PublicKey;
1409
- mint: web3.PublicKey;
1410
- };
1411
- readonly "PT-fragSOL-10JUL25": {
1412
- pubkey: web3.PublicKey;
1413
- mint: web3.PublicKey;
1414
- };
1415
- readonly "PT-fragSOL-12FEB26": {
1416
- pubkey: web3.PublicKey;
1417
- mint: web3.PublicKey;
1418
- };
1419
- readonly "PT-fragSOL-31OCT25": {
1420
- pubkey: web3.PublicKey;
1421
- mint: web3.PublicKey;
1422
- };
1423
- readonly "PT-kySOL-30SEP25": {
1424
- pubkey: web3.PublicKey;
1425
- mint: web3.PublicKey;
1426
- };
1427
- };
1428
- readonly BONK: {
1429
- readonly USDC: {
1430
- pubkey: web3.PublicKey;
1431
- mint: web3.PublicKey;
1432
- };
1433
- readonly USDT: {
1434
- pubkey: web3.PublicKey;
1435
- mint: web3.PublicKey;
1436
- };
1437
- readonly SOL: {
1438
- pubkey: web3.PublicKey;
1439
- mint: web3.PublicKey;
1440
- };
1441
- readonly bonkSOL: {
1442
- pubkey: web3.PublicKey;
1443
- mint: web3.PublicKey;
1444
- };
1445
- readonly USDG: {
1446
- pubkey: web3.PublicKey;
1447
- mint: web3.PublicKey;
1448
- };
1449
- readonly BONK: {
1450
- pubkey: web3.PublicKey;
1451
- mint: web3.PublicKey;
1452
- };
1453
- };
1454
- readonly RSTSOL_BBSOL: {
1455
- readonly bbSOL: {
1456
- pubkey: web3.PublicKey;
1457
- mint: web3.PublicKey;
1458
- };
1459
- readonly rstSOL: {
1460
- pubkey: web3.PublicKey;
1461
- mint: web3.PublicKey;
1462
- };
1463
- readonly SOL: {
1464
- pubkey: web3.PublicKey;
1465
- mint: web3.PublicKey;
1466
- };
1467
- };
1468
- readonly MAPLE: {
1469
- readonly PYUSD: {
1470
- pubkey: web3.PublicKey;
1471
- mint: web3.PublicKey;
1472
- };
1473
- readonly USDC: {
1474
- pubkey: web3.PublicKey;
1475
- mint: web3.PublicKey;
1476
- };
1477
- readonly syrupUSDC: {
1478
- pubkey: web3.PublicKey;
1479
- mint: web3.PublicKey;
1480
- };
1481
- readonly USDS: {
1482
- pubkey: web3.PublicKey;
1483
- mint: web3.PublicKey;
1484
- };
1485
- readonly CASH: {
1486
- pubkey: web3.PublicKey;
1487
- mint: web3.PublicKey;
1488
- };
1489
- /** KLend farm modes — collateral for deposit/withdraw, debt for borrow/repay. */
1490
- readonly USD1: {
1491
- pubkey: web3.PublicKey;
1492
- mint: web3.PublicKey;
1493
- };
1494
- readonly USDG: {
1495
- pubkey: web3.PublicKey;
1496
- mint: web3.PublicKey;
1497
- };
1498
- };
1499
- readonly HUMA: {
1500
- readonly USDC: {
1501
- pubkey: web3.PublicKey;
1502
- mint: web3.PublicKey;
1503
- };
1504
- readonly USDS: {
1505
- pubkey: web3.PublicKey;
1506
- mint: web3.PublicKey;
1507
- };
1508
- readonly PST: {
1509
- pubkey: web3.PublicKey;
1510
- mint: web3.PublicKey;
1511
- };
1512
- readonly USDG: {
1513
- pubkey: web3.PublicKey;
1514
- mint: web3.PublicKey;
1515
- };
1516
- };
1517
- readonly APOLLO: {
1518
- readonly USDG: {
1519
- pubkey: web3.PublicKey;
1520
- mint: web3.PublicKey;
1521
- };
1522
- readonly sACRED: {
1523
- pubkey: web3.PublicKey;
1524
- mint: web3.PublicKey;
1525
- };
1526
- readonly USDC: {
1527
- pubkey: web3.PublicKey;
1528
- mint: web3.PublicKey;
1529
- };
1530
- };
1531
- readonly ZEUS_BITCOIN: {
1532
- readonly FDUSD: {
1533
- pubkey: web3.PublicKey;
1534
- mint: web3.PublicKey;
1535
- };
1536
- readonly USDC: {
1537
- pubkey: web3.PublicKey;
1538
- mint: web3.PublicKey;
1539
- };
1540
- readonly ZBTC: {
1541
- pubkey: web3.PublicKey;
1542
- mint: web3.PublicKey;
1543
- };
1544
- };
1545
- readonly XSTOCKS: {
1546
- readonly SPYx: {
1547
- pubkey: web3.PublicKey;
1548
- mint: web3.PublicKey;
1549
- };
1550
- readonly QQQx: {
1551
- pubkey: web3.PublicKey;
1552
- mint: web3.PublicKey;
1553
- };
1554
- readonly HOODx: {
1555
- pubkey: web3.PublicKey;
1556
- mint: web3.PublicKey;
1557
- };
1558
- readonly GOOGLx: {
1559
- pubkey: web3.PublicKey;
1560
- mint: web3.PublicKey;
1561
- };
1562
- readonly CRCLx: {
1563
- pubkey: web3.PublicKey;
1564
- mint: web3.PublicKey;
1565
- };
1566
- readonly cbBTC: {
1567
- pubkey: web3.PublicKey;
1568
- mint: web3.PublicKey;
1569
- };
1570
- readonly TSLAx: {
1571
- pubkey: web3.PublicKey;
1572
- mint: web3.PublicKey;
1573
- };
1574
- readonly NVDAx: {
1575
- pubkey: web3.PublicKey;
1576
- mint: web3.PublicKey;
1577
- };
1578
- readonly USDC: {
1579
- pubkey: web3.PublicKey;
1580
- mint: web3.PublicKey;
1581
- };
1582
- readonly METAx: {
1583
- pubkey: web3.PublicKey;
1584
- mint: web3.PublicKey;
1585
- };
1586
- readonly AAPLx: {
1587
- pubkey: web3.PublicKey;
1588
- mint: web3.PublicKey;
1589
- };
1590
- readonly MSTRx: {
1591
- pubkey: web3.PublicKey;
1592
- mint: web3.PublicKey;
1593
- };
1594
- readonly USDG: {
1595
- pubkey: web3.PublicKey;
1596
- mint: web3.PublicKey;
1597
- };
1598
- };
1599
- readonly ONRE: {
1600
- readonly AUSD: {
1601
- pubkey: web3.PublicKey;
1602
- mint: web3.PublicKey;
1603
- };
1604
- readonly USDS: {
1605
- pubkey: web3.PublicKey;
1606
- mint: web3.PublicKey;
1607
- };
1608
- readonly ONyc: {
1609
- pubkey: web3.PublicKey;
1610
- mint: web3.PublicKey;
1611
- };
1612
- readonly USDC: {
1613
- pubkey: web3.PublicKey;
1614
- mint: web3.PublicKey;
1615
- };
1616
- readonly USDG: {
1617
- pubkey: web3.PublicKey;
1618
- mint: web3.PublicKey;
1619
- };
1620
- };
1621
- readonly PUMP: {
1622
- readonly PUMP: {
1623
- pubkey: web3.PublicKey;
1624
- mint: web3.PublicKey;
1625
- };
1626
- readonly USDC: {
1627
- pubkey: web3.PublicKey;
1628
- mint: web3.PublicKey;
1629
- };
1630
- readonly USDG: {
1631
- pubkey: web3.PublicKey;
1632
- mint: web3.PublicKey;
1633
- };
1634
- };
1635
- readonly SOLSTICE: {
1636
- readonly "PT-eUSX-01JUN26": {
1637
- pubkey: web3.PublicKey;
1638
- mint: web3.PublicKey;
1639
- };
1640
- readonly "PT-eUSX-11MAR26": {
1641
- pubkey: web3.PublicKey;
1642
- mint: web3.PublicKey;
1643
- };
1644
- readonly USDC: {
1645
- pubkey: web3.PublicKey;
1646
- mint: web3.PublicKey;
1647
- };
1648
- readonly eUSX: {
1649
- pubkey: web3.PublicKey;
1650
- mint: web3.PublicKey;
1651
- };
1652
- readonly "PT-USX-01JUN26": {
1653
- pubkey: web3.PublicKey;
1654
- mint: web3.PublicKey;
1655
- };
1656
- readonly "PT-USX-9FEB26": {
1657
- pubkey: web3.PublicKey;
1658
- mint: web3.PublicKey;
1659
- };
1660
- readonly USX: {
1661
- pubkey: web3.PublicKey;
1662
- mint: web3.PublicKey;
1663
- };
1664
- };
1665
- readonly SUPERSTATE: {
1666
- readonly FWDI: {
1667
- pubkey: web3.PublicKey;
1668
- mint: web3.PublicKey;
1669
- };
1670
- readonly GLXY: {
1671
- pubkey: web3.PublicKey;
1672
- mint: web3.PublicKey;
1673
- };
1674
- readonly "USDC-Dep": {
1675
- pubkey: web3.PublicKey;
1676
- mint: web3.PublicKey;
1677
- };
1678
- readonly USDC: {
1679
- pubkey: web3.PublicKey;
1680
- mint: web3.PublicKey;
1681
- };
1682
- readonly USCC: {
1683
- pubkey: web3.PublicKey;
1684
- mint: web3.PublicKey;
1685
- };
1686
- };
1687
- readonly FIGURE: {
1688
- readonly PYUSD: {
1689
- pubkey: web3.PublicKey;
1690
- mint: web3.PublicKey;
1691
- };
1692
- readonly wYLDS: {
1693
- pubkey: web3.PublicKey;
1694
- mint: web3.PublicKey;
1695
- };
1696
- readonly USDS: {
1697
- pubkey: web3.PublicKey;
1698
- mint: web3.PublicKey;
1699
- };
1700
- readonly USDC: {
1701
- pubkey: web3.PublicKey;
1702
- mint: web3.PublicKey;
1703
- };
1704
- readonly PRIME: {
1705
- pubkey: web3.PublicKey;
1706
- mint: web3.PublicKey;
1707
- };
1708
- readonly CASH: {
1709
- pubkey: web3.PublicKey;
1710
- mint: web3.PublicKey;
1711
- };
1712
- };
1713
- readonly GM_SANCTUM: {
1714
- readonly dfdvSOL: {
1715
- pubkey: web3.PublicKey;
1716
- mint: web3.PublicKey;
1717
- };
1718
- readonly INF: {
1719
- pubkey: web3.PublicKey;
1720
- mint: web3.PublicKey;
1721
- };
1722
- readonly SOL: {
1723
- pubkey: web3.PublicKey;
1724
- mint: web3.PublicKey;
1725
- };
1726
- };
1727
- readonly GM_SOLBLAZE: {
1728
- readonly SOL: {
1729
- pubkey: web3.PublicKey;
1730
- mint: web3.PublicKey;
1731
- };
1732
- readonly BSOL: {
1733
- pubkey: web3.PublicKey;
1734
- mint: web3.PublicKey;
1735
- };
1736
- };
1737
- readonly ADRENA: {
1738
- readonly USDC: {
1739
- pubkey: web3.PublicKey;
1740
- mint: web3.PublicKey;
1741
- };
1742
- readonly ALP: {
1743
- pubkey: web3.PublicKey;
1744
- mint: web3.PublicKey;
1745
- };
1746
- };
1747
- readonly FLASH_TRADE: {
1748
- readonly USDC: {
1749
- pubkey: web3.PublicKey;
1750
- mint: web3.PublicKey;
1751
- };
1752
- readonly FLP: {
1753
- pubkey: web3.PublicKey;
1754
- mint: web3.PublicKey;
1755
- };
1756
- };
1757
- readonly METAPLEX: {
1758
- readonly USDC: {
1759
- pubkey: web3.PublicKey;
1760
- mint: web3.PublicKey;
1761
- };
1762
- readonly MPLX: {
1763
- pubkey: web3.PublicKey;
1764
- mint: web3.PublicKey;
1765
- };
1766
- };
1767
- }[M_2], amount: BN): ReserveInstruction;
76
+ borrow<M extends KaminoMarket>(market: M, asset: keyof KaminoReserves[M], amount: BN): ReserveInstruction;
1768
77
  /**
1769
78
  * Repay a borrow on a Kamino reserve.
1770
79
  * @param market - The Kamino lending market
1771
80
  * @param asset - The reserve asset (e.g. "USDC", "SOL")
1772
81
  * @param amount - Amount in the asset's native units
1773
82
  */
1774
- repay<M_3 extends KaminoMarket>(market: M_3, asset: keyof {
1775
- readonly MAIN: {
1776
- readonly adraSOL: {
1777
- pubkey: web3.PublicKey;
1778
- mint: web3.PublicKey;
1779
- };
1780
- readonly dSOL: {
1781
- pubkey: web3.PublicKey;
1782
- mint: web3.PublicKey;
1783
- };
1784
- readonly SOL: {
1785
- pubkey: web3.PublicKey;
1786
- mint: web3.PublicKey;
1787
- };
1788
- readonly ETH: {
1789
- pubkey: web3.PublicKey;
1790
- mint: web3.PublicKey;
1791
- };
1792
- readonly fBTC: {
1793
- pubkey: web3.PublicKey;
1794
- mint: web3.PublicKey;
1795
- };
1796
- readonly picoSOL: {
1797
- pubkey: web3.PublicKey;
1798
- mint: web3.PublicKey;
1799
- };
1800
- readonly stkeSOL: {
1801
- pubkey: web3.PublicKey;
1802
- mint: web3.PublicKey;
1803
- };
1804
- readonly PYUSD: {
1805
- pubkey: web3.PublicKey;
1806
- mint: web3.PublicKey;
1807
- };
1808
- readonly cbBTC: {
1809
- pubkey: web3.PublicKey;
1810
- mint: web3.PublicKey;
1811
- };
1812
- readonly JUP: {
1813
- pubkey: web3.PublicKey;
1814
- mint: web3.PublicKey;
1815
- };
1816
- readonly xBTC: {
1817
- pubkey: web3.PublicKey;
1818
- mint: web3.PublicKey;
1819
- };
1820
- readonly wstETH: {
1821
- pubkey: web3.PublicKey;
1822
- mint: web3.PublicKey;
1823
- };
1824
- readonly kSOLBSOLOrca: {
1825
- pubkey: web3.PublicKey;
1826
- mint: web3.PublicKey;
1827
- };
1828
- readonly CHAI: {
1829
- pubkey: web3.PublicKey;
1830
- mint: web3.PublicKey;
1831
- };
1832
- readonly bbSOL: {
1833
- pubkey: web3.PublicKey;
1834
- mint: web3.PublicKey;
1835
- };
1836
- readonly USD1: {
1837
- pubkey: web3.PublicKey;
1838
- mint: web3.PublicKey;
1839
- };
1840
- readonly kSOLJITOSOLRaydium: {
1841
- pubkey: web3.PublicKey;
1842
- mint: web3.PublicKey;
1843
- };
1844
- readonly nxSOL: {
1845
- pubkey: web3.PublicKey;
1846
- mint: web3.PublicKey;
1847
- };
1848
- readonly fwdSOL: {
1849
- pubkey: web3.PublicKey;
1850
- mint: web3.PublicKey;
1851
- };
1852
- readonly STSOL: {
1853
- pubkey: web3.PublicKey;
1854
- mint: web3.PublicKey;
1855
- };
1856
- readonly JTO: {
1857
- pubkey: web3.PublicKey;
1858
- mint: web3.PublicKey;
1859
- };
1860
- readonly strongSOL: {
1861
- pubkey: web3.PublicKey;
1862
- mint: web3.PublicKey;
1863
- };
1864
- readonly CASH: {
1865
- pubkey: web3.PublicKey;
1866
- mint: web3.PublicKey;
1867
- };
1868
- readonly kUXDUSDCOrca: {
1869
- pubkey: web3.PublicKey;
1870
- mint: web3.PublicKey;
1871
- };
1872
- readonly hubSOL: {
1873
- pubkey: web3.PublicKey;
1874
- mint: web3.PublicKey;
1875
- };
1876
- readonly USDS: {
1877
- pubkey: web3.PublicKey;
1878
- mint: web3.PublicKey;
1879
- };
1880
- readonly FDUSD: {
1881
- pubkey: web3.PublicKey;
1882
- mint: web3.PublicKey;
1883
- };
1884
- readonly cgntSOL: {
1885
- pubkey: web3.PublicKey;
1886
- mint: web3.PublicKey;
1887
- };
1888
- readonly hSOL: {
1889
- pubkey: web3.PublicKey;
1890
- mint: web3.PublicKey;
1891
- };
1892
- readonly vSOL: {
1893
- pubkey: web3.PublicKey;
1894
- mint: web3.PublicKey;
1895
- };
1896
- readonly dfdvSOL: {
1897
- pubkey: web3.PublicKey;
1898
- mint: web3.PublicKey;
1899
- };
1900
- readonly USDC: {
1901
- pubkey: web3.PublicKey;
1902
- mint: web3.PublicKey;
1903
- };
1904
- readonly JupSOL: {
1905
- pubkey: web3.PublicKey;
1906
- mint: web3.PublicKey;
1907
- };
1908
- readonly USDH: {
1909
- pubkey: web3.PublicKey;
1910
- mint: web3.PublicKey;
1911
- };
1912
- readonly JLP: {
1913
- pubkey: web3.PublicKey;
1914
- mint: web3.PublicKey;
1915
- };
1916
- readonly EURC: {
1917
- pubkey: web3.PublicKey;
1918
- mint: web3.PublicKey;
1919
- };
1920
- readonly USDG: {
1921
- pubkey: web3.PublicKey;
1922
- mint: web3.PublicKey;
1923
- };
1924
- readonly JITOSOL: {
1925
- pubkey: web3.PublicKey;
1926
- mint: web3.PublicKey;
1927
- };
1928
- readonly MSOL: {
1929
- pubkey: web3.PublicKey;
1930
- mint: web3.PublicKey;
1931
- };
1932
- readonly cdcSOL: {
1933
- pubkey: web3.PublicKey;
1934
- mint: web3.PublicKey;
1935
- };
1936
- readonly kSOLMSOLRaydium: {
1937
- pubkey: web3.PublicKey;
1938
- mint: web3.PublicKey;
1939
- };
1940
- readonly bnSOL: {
1941
- pubkey: web3.PublicKey;
1942
- mint: web3.PublicKey;
1943
- };
1944
- readonly STEP: {
1945
- pubkey: web3.PublicKey;
1946
- mint: web3.PublicKey;
1947
- };
1948
- readonly kSOLJITOSOLOrca: {
1949
- pubkey: web3.PublicKey;
1950
- mint: web3.PublicKey;
1951
- };
1952
- readonly xSTEP: {
1953
- pubkey: web3.PublicKey;
1954
- mint: web3.PublicKey;
1955
- };
1956
- readonly UXD: {
1957
- pubkey: web3.PublicKey;
1958
- mint: web3.PublicKey;
1959
- };
1960
- readonly USDT: {
1961
- pubkey: web3.PublicKey;
1962
- mint: web3.PublicKey;
1963
- };
1964
- readonly bSOL: {
1965
- pubkey: web3.PublicKey;
1966
- mint: web3.PublicKey;
1967
- };
1968
- readonly jSOL: {
1969
- pubkey: web3.PublicKey;
1970
- mint: web3.PublicKey;
1971
- };
1972
- readonly laineSOL: {
1973
- pubkey: web3.PublicKey;
1974
- mint: web3.PublicKey;
1975
- };
1976
- readonly pSOL: {
1977
- pubkey: web3.PublicKey;
1978
- mint: web3.PublicKey;
1979
- };
1980
- readonly WBTC: {
1981
- pubkey: web3.PublicKey;
1982
- mint: web3.PublicKey;
1983
- };
1984
- readonly tBTC: {
1985
- pubkey: web3.PublicKey;
1986
- mint: web3.PublicKey;
1987
- };
1988
- readonly bonkSOL: {
1989
- pubkey: web3.PublicKey;
1990
- mint: web3.PublicKey;
1991
- };
1992
- readonly lanternSOL: {
1993
- pubkey: web3.PublicKey;
1994
- mint: web3.PublicKey;
1995
- };
1996
- };
1997
- readonly JLP: {
1998
- readonly USDT: {
1999
- pubkey: web3.PublicKey;
2000
- mint: web3.PublicKey;
2001
- };
2002
- readonly USD1: {
2003
- pubkey: web3.PublicKey;
2004
- mint: web3.PublicKey;
2005
- };
2006
- readonly USDG: {
2007
- pubkey: web3.PublicKey;
2008
- mint: web3.PublicKey;
2009
- };
2010
- readonly JLP: {
2011
- pubkey: web3.PublicKey;
2012
- mint: web3.PublicKey;
2013
- };
2014
- readonly SOL: {
2015
- pubkey: web3.PublicKey;
2016
- mint: web3.PublicKey;
2017
- };
2018
- readonly PYUSD: {
2019
- pubkey: web3.PublicKey;
2020
- mint: web3.PublicKey;
2021
- };
2022
- readonly USDC: {
2023
- pubkey: web3.PublicKey;
2024
- mint: web3.PublicKey;
2025
- };
2026
- };
2027
- readonly ALTCOINS: {
2028
- readonly GRASS: {
2029
- pubkey: web3.PublicKey;
2030
- mint: web3.PublicKey;
2031
- };
2032
- readonly MEW: {
2033
- pubkey: web3.PublicKey;
2034
- mint: web3.PublicKey;
2035
- };
2036
- readonly JUP: {
2037
- pubkey: web3.PublicKey;
2038
- mint: web3.PublicKey;
2039
- };
2040
- readonly POPCAT: {
2041
- pubkey: web3.PublicKey;
2042
- mint: web3.PublicKey;
2043
- };
2044
- readonly JTO: {
2045
- pubkey: web3.PublicKey;
2046
- mint: web3.PublicKey;
2047
- };
2048
- readonly DRIFT: {
2049
- pubkey: web3.PublicKey;
2050
- mint: web3.PublicKey;
2051
- };
2052
- readonly USDC: {
2053
- pubkey: web3.PublicKey;
2054
- mint: web3.PublicKey;
2055
- };
2056
- readonly KMNO: {
2057
- pubkey: web3.PublicKey;
2058
- mint: web3.PublicKey;
2059
- };
2060
- readonly PRCL: {
2061
- pubkey: web3.PublicKey;
2062
- mint: web3.PublicKey;
2063
- };
2064
- readonly PENGU: {
2065
- pubkey: web3.PublicKey;
2066
- mint: web3.PublicKey;
2067
- };
2068
- readonly BONK: {
2069
- pubkey: web3.PublicKey;
2070
- mint: web3.PublicKey;
2071
- };
2072
- readonly PYUSD: {
2073
- pubkey: web3.PublicKey;
2074
- mint: web3.PublicKey;
2075
- };
2076
- readonly W: {
2077
- pubkey: web3.PublicKey;
2078
- mint: web3.PublicKey;
2079
- };
2080
- readonly TNSR: {
2081
- pubkey: web3.PublicKey;
2082
- mint: web3.PublicKey;
2083
- };
2084
- readonly GOAT: {
2085
- pubkey: web3.PublicKey;
2086
- mint: web3.PublicKey;
2087
- };
2088
- readonly WEN: {
2089
- pubkey: web3.PublicKey;
2090
- mint: web3.PublicKey;
2091
- };
2092
- readonly USDH: {
2093
- pubkey: web3.PublicKey;
2094
- mint: web3.PublicKey;
2095
- };
2096
- readonly TRUMP: {
2097
- pubkey: web3.PublicKey;
2098
- mint: web3.PublicKey;
2099
- };
2100
- readonly WIF: {
2101
- pubkey: web3.PublicKey;
2102
- mint: web3.PublicKey;
2103
- };
2104
- readonly FWOG: {
2105
- pubkey: web3.PublicKey;
2106
- mint: web3.PublicKey;
2107
- };
2108
- readonly PYTH: {
2109
- pubkey: web3.PublicKey;
2110
- mint: web3.PublicKey;
2111
- };
2112
- readonly INF: {
2113
- pubkey: web3.PublicKey;
2114
- mint: web3.PublicKey;
2115
- };
2116
- };
2117
- readonly ETHENA: {
2118
- readonly USDe: {
2119
- pubkey: web3.PublicKey;
2120
- mint: web3.PublicKey;
2121
- };
2122
- readonly USDT: {
2123
- pubkey: web3.PublicKey;
2124
- mint: web3.PublicKey;
2125
- };
2126
- readonly USDC: {
2127
- pubkey: web3.PublicKey;
2128
- mint: web3.PublicKey;
2129
- };
2130
- readonly PYUSD: {
2131
- pubkey: web3.PublicKey;
2132
- mint: web3.PublicKey;
2133
- };
2134
- readonly sUSDe: {
2135
- pubkey: web3.PublicKey;
2136
- mint: web3.PublicKey;
2137
- };
2138
- };
2139
- readonly JITO: {
2140
- readonly kySOL: {
2141
- pubkey: web3.PublicKey;
2142
- mint: web3.PublicKey;
2143
- };
2144
- readonly SOL: {
2145
- pubkey: web3.PublicKey;
2146
- mint: web3.PublicKey;
2147
- };
2148
- readonly ezSOL: {
2149
- pubkey: web3.PublicKey;
2150
- mint: web3.PublicKey;
2151
- };
2152
- readonly JITOSOL: {
2153
- pubkey: web3.PublicKey;
2154
- mint: web3.PublicKey;
2155
- };
2156
- };
2157
- readonly FARTCOIN: {
2158
- readonly FARTCOIN: {
2159
- pubkey: web3.PublicKey;
2160
- mint: web3.PublicKey;
2161
- };
2162
- readonly USDC: {
2163
- pubkey: web3.PublicKey;
2164
- mint: web3.PublicKey;
2165
- };
2166
- readonly USDT: {
2167
- pubkey: web3.PublicKey;
2168
- mint: web3.PublicKey;
2169
- };
2170
- };
2171
- readonly BITCOIN: {
2172
- readonly WBTC: {
2173
- pubkey: web3.PublicKey;
2174
- mint: web3.PublicKey;
2175
- };
2176
- readonly zBTC: {
2177
- pubkey: web3.PublicKey;
2178
- mint: web3.PublicKey;
2179
- };
2180
- readonly USDC: {
2181
- pubkey: web3.PublicKey;
2182
- mint: web3.PublicKey;
2183
- };
2184
- readonly USDG: {
2185
- pubkey: web3.PublicKey;
2186
- mint: web3.PublicKey;
2187
- };
2188
- readonly USDT: {
2189
- pubkey: web3.PublicKey;
2190
- mint: web3.PublicKey;
2191
- };
2192
- readonly LBTC: {
2193
- pubkey: web3.PublicKey;
2194
- mint: web3.PublicKey;
2195
- };
2196
- readonly FDUSD: {
2197
- pubkey: web3.PublicKey;
2198
- mint: web3.PublicKey;
2199
- };
2200
- };
2201
- readonly JUPITER: {
2202
- readonly USDC: {
2203
- pubkey: web3.PublicKey;
2204
- mint: web3.PublicKey;
2205
- };
2206
- readonly JUP: {
2207
- pubkey: web3.PublicKey;
2208
- mint: web3.PublicKey;
2209
- };
2210
- readonly USDT: {
2211
- pubkey: web3.PublicKey;
2212
- mint: web3.PublicKey;
2213
- };
2214
- readonly USDG: {
2215
- pubkey: web3.PublicKey;
2216
- mint: web3.PublicKey;
2217
- };
2218
- };
2219
- readonly JTO: {
2220
- readonly JTO: {
2221
- pubkey: web3.PublicKey;
2222
- mint: web3.PublicKey;
2223
- };
2224
- readonly USDG: {
2225
- pubkey: web3.PublicKey;
2226
- mint: web3.PublicKey;
2227
- };
2228
- readonly USDT: {
2229
- pubkey: web3.PublicKey;
2230
- mint: web3.PublicKey;
2231
- };
2232
- readonly USDC: {
2233
- pubkey: web3.PublicKey;
2234
- mint: web3.PublicKey;
2235
- };
2236
- };
2237
- readonly MARINADE: {
2238
- readonly MSOL: {
2239
- pubkey: web3.PublicKey;
2240
- mint: web3.PublicKey;
2241
- };
2242
- readonly SOL: {
2243
- pubkey: web3.PublicKey;
2244
- mint: web3.PublicKey;
2245
- };
2246
- };
2247
- readonly EXPONENT_PT_SOL: {
2248
- readonly "PT-bulkSOL-26FEB26": {
2249
- pubkey: web3.PublicKey;
2250
- mint: web3.PublicKey;
2251
- };
2252
- readonly "PT-kySOL-14JUN25": {
2253
- pubkey: web3.PublicKey;
2254
- mint: web3.PublicKey;
2255
- };
2256
- readonly SOL: {
2257
- pubkey: web3.PublicKey;
2258
- mint: web3.PublicKey;
2259
- };
2260
- readonly fragSOL: {
2261
- pubkey: web3.PublicKey;
2262
- mint: web3.PublicKey;
2263
- };
2264
- readonly "PT-fragSOL-10JUL25": {
2265
- pubkey: web3.PublicKey;
2266
- mint: web3.PublicKey;
2267
- };
2268
- readonly "PT-fragSOL-12FEB26": {
2269
- pubkey: web3.PublicKey;
2270
- mint: web3.PublicKey;
2271
- };
2272
- readonly "PT-fragSOL-31OCT25": {
2273
- pubkey: web3.PublicKey;
2274
- mint: web3.PublicKey;
2275
- };
2276
- readonly "PT-kySOL-30SEP25": {
2277
- pubkey: web3.PublicKey;
2278
- mint: web3.PublicKey;
2279
- };
2280
- };
2281
- readonly BONK: {
2282
- readonly USDC: {
2283
- pubkey: web3.PublicKey;
2284
- mint: web3.PublicKey;
2285
- };
2286
- readonly USDT: {
2287
- pubkey: web3.PublicKey;
2288
- mint: web3.PublicKey;
2289
- };
2290
- readonly SOL: {
2291
- pubkey: web3.PublicKey;
2292
- mint: web3.PublicKey;
2293
- };
2294
- readonly bonkSOL: {
2295
- pubkey: web3.PublicKey;
2296
- mint: web3.PublicKey;
2297
- };
2298
- readonly USDG: {
2299
- pubkey: web3.PublicKey;
2300
- mint: web3.PublicKey;
2301
- };
2302
- readonly BONK: {
2303
- pubkey: web3.PublicKey;
2304
- mint: web3.PublicKey;
2305
- };
2306
- };
2307
- readonly RSTSOL_BBSOL: {
2308
- readonly bbSOL: {
2309
- pubkey: web3.PublicKey;
2310
- mint: web3.PublicKey;
2311
- };
2312
- readonly rstSOL: {
2313
- pubkey: web3.PublicKey;
2314
- mint: web3.PublicKey;
2315
- };
2316
- readonly SOL: {
2317
- pubkey: web3.PublicKey;
2318
- mint: web3.PublicKey;
2319
- };
2320
- };
2321
- readonly MAPLE: {
2322
- readonly PYUSD: {
2323
- pubkey: web3.PublicKey;
2324
- mint: web3.PublicKey;
2325
- };
2326
- readonly USDC: {
2327
- pubkey: web3.PublicKey;
2328
- mint: web3.PublicKey;
2329
- };
2330
- readonly syrupUSDC: {
2331
- pubkey: web3.PublicKey;
2332
- mint: web3.PublicKey;
2333
- };
2334
- readonly USDS: {
2335
- pubkey: web3.PublicKey;
2336
- mint: web3.PublicKey;
2337
- };
2338
- readonly CASH: {
2339
- pubkey: web3.PublicKey;
2340
- mint: web3.PublicKey;
2341
- };
2342
- /** KLend farm modes — collateral for deposit/withdraw, debt for borrow/repay. */
2343
- readonly USD1: {
2344
- pubkey: web3.PublicKey;
2345
- mint: web3.PublicKey;
2346
- };
2347
- readonly USDG: {
2348
- pubkey: web3.PublicKey;
2349
- mint: web3.PublicKey;
2350
- };
2351
- };
2352
- readonly HUMA: {
2353
- readonly USDC: {
2354
- pubkey: web3.PublicKey;
2355
- mint: web3.PublicKey;
2356
- };
2357
- readonly USDS: {
2358
- pubkey: web3.PublicKey;
2359
- mint: web3.PublicKey;
2360
- };
2361
- readonly PST: {
2362
- pubkey: web3.PublicKey;
2363
- mint: web3.PublicKey;
2364
- };
2365
- readonly USDG: {
2366
- pubkey: web3.PublicKey;
2367
- mint: web3.PublicKey;
2368
- };
2369
- };
2370
- readonly APOLLO: {
2371
- readonly USDG: {
2372
- pubkey: web3.PublicKey;
2373
- mint: web3.PublicKey;
2374
- };
2375
- readonly sACRED: {
2376
- pubkey: web3.PublicKey;
2377
- mint: web3.PublicKey;
2378
- };
2379
- readonly USDC: {
2380
- pubkey: web3.PublicKey;
2381
- mint: web3.PublicKey;
2382
- };
2383
- };
2384
- readonly ZEUS_BITCOIN: {
2385
- readonly FDUSD: {
2386
- pubkey: web3.PublicKey;
2387
- mint: web3.PublicKey;
2388
- };
2389
- readonly USDC: {
2390
- pubkey: web3.PublicKey;
2391
- mint: web3.PublicKey;
2392
- };
2393
- readonly ZBTC: {
2394
- pubkey: web3.PublicKey;
2395
- mint: web3.PublicKey;
2396
- };
2397
- };
2398
- readonly XSTOCKS: {
2399
- readonly SPYx: {
2400
- pubkey: web3.PublicKey;
2401
- mint: web3.PublicKey;
2402
- };
2403
- readonly QQQx: {
2404
- pubkey: web3.PublicKey;
2405
- mint: web3.PublicKey;
2406
- };
2407
- readonly HOODx: {
2408
- pubkey: web3.PublicKey;
2409
- mint: web3.PublicKey;
2410
- };
2411
- readonly GOOGLx: {
2412
- pubkey: web3.PublicKey;
2413
- mint: web3.PublicKey;
2414
- };
2415
- readonly CRCLx: {
2416
- pubkey: web3.PublicKey;
2417
- mint: web3.PublicKey;
2418
- };
2419
- readonly cbBTC: {
2420
- pubkey: web3.PublicKey;
2421
- mint: web3.PublicKey;
2422
- };
2423
- readonly TSLAx: {
2424
- pubkey: web3.PublicKey;
2425
- mint: web3.PublicKey;
2426
- };
2427
- readonly NVDAx: {
2428
- pubkey: web3.PublicKey;
2429
- mint: web3.PublicKey;
2430
- };
2431
- readonly USDC: {
2432
- pubkey: web3.PublicKey;
2433
- mint: web3.PublicKey;
2434
- };
2435
- readonly METAx: {
2436
- pubkey: web3.PublicKey;
2437
- mint: web3.PublicKey;
2438
- };
2439
- readonly AAPLx: {
2440
- pubkey: web3.PublicKey;
2441
- mint: web3.PublicKey;
2442
- };
2443
- readonly MSTRx: {
2444
- pubkey: web3.PublicKey;
2445
- mint: web3.PublicKey;
2446
- };
2447
- readonly USDG: {
2448
- pubkey: web3.PublicKey;
2449
- mint: web3.PublicKey;
2450
- };
2451
- };
2452
- readonly ONRE: {
2453
- readonly AUSD: {
2454
- pubkey: web3.PublicKey;
2455
- mint: web3.PublicKey;
2456
- };
2457
- readonly USDS: {
2458
- pubkey: web3.PublicKey;
2459
- mint: web3.PublicKey;
2460
- };
2461
- readonly ONyc: {
2462
- pubkey: web3.PublicKey;
2463
- mint: web3.PublicKey;
2464
- };
2465
- readonly USDC: {
2466
- pubkey: web3.PublicKey;
2467
- mint: web3.PublicKey;
2468
- };
2469
- readonly USDG: {
2470
- pubkey: web3.PublicKey;
2471
- mint: web3.PublicKey;
2472
- };
2473
- };
2474
- readonly PUMP: {
2475
- readonly PUMP: {
2476
- pubkey: web3.PublicKey;
2477
- mint: web3.PublicKey;
2478
- };
2479
- readonly USDC: {
2480
- pubkey: web3.PublicKey;
2481
- mint: web3.PublicKey;
2482
- };
2483
- readonly USDG: {
2484
- pubkey: web3.PublicKey;
2485
- mint: web3.PublicKey;
2486
- };
2487
- };
2488
- readonly SOLSTICE: {
2489
- readonly "PT-eUSX-01JUN26": {
2490
- pubkey: web3.PublicKey;
2491
- mint: web3.PublicKey;
2492
- };
2493
- readonly "PT-eUSX-11MAR26": {
2494
- pubkey: web3.PublicKey;
2495
- mint: web3.PublicKey;
2496
- };
2497
- readonly USDC: {
2498
- pubkey: web3.PublicKey;
2499
- mint: web3.PublicKey;
2500
- };
2501
- readonly eUSX: {
2502
- pubkey: web3.PublicKey;
2503
- mint: web3.PublicKey;
2504
- };
2505
- readonly "PT-USX-01JUN26": {
2506
- pubkey: web3.PublicKey;
2507
- mint: web3.PublicKey;
2508
- };
2509
- readonly "PT-USX-9FEB26": {
2510
- pubkey: web3.PublicKey;
2511
- mint: web3.PublicKey;
2512
- };
2513
- readonly USX: {
2514
- pubkey: web3.PublicKey;
2515
- mint: web3.PublicKey;
2516
- };
2517
- };
2518
- readonly SUPERSTATE: {
2519
- readonly FWDI: {
2520
- pubkey: web3.PublicKey;
2521
- mint: web3.PublicKey;
2522
- };
2523
- readonly GLXY: {
2524
- pubkey: web3.PublicKey;
2525
- mint: web3.PublicKey;
2526
- };
2527
- readonly "USDC-Dep": {
2528
- pubkey: web3.PublicKey;
2529
- mint: web3.PublicKey;
2530
- };
2531
- readonly USDC: {
2532
- pubkey: web3.PublicKey;
2533
- mint: web3.PublicKey;
2534
- };
2535
- readonly USCC: {
2536
- pubkey: web3.PublicKey;
2537
- mint: web3.PublicKey;
2538
- };
2539
- };
2540
- readonly FIGURE: {
2541
- readonly PYUSD: {
2542
- pubkey: web3.PublicKey;
2543
- mint: web3.PublicKey;
2544
- };
2545
- readonly wYLDS: {
2546
- pubkey: web3.PublicKey;
2547
- mint: web3.PublicKey;
2548
- };
2549
- readonly USDS: {
2550
- pubkey: web3.PublicKey;
2551
- mint: web3.PublicKey;
2552
- };
2553
- readonly USDC: {
2554
- pubkey: web3.PublicKey;
2555
- mint: web3.PublicKey;
2556
- };
2557
- readonly PRIME: {
2558
- pubkey: web3.PublicKey;
2559
- mint: web3.PublicKey;
2560
- };
2561
- readonly CASH: {
2562
- pubkey: web3.PublicKey;
2563
- mint: web3.PublicKey;
2564
- };
2565
- };
2566
- readonly GM_SANCTUM: {
2567
- readonly dfdvSOL: {
2568
- pubkey: web3.PublicKey;
2569
- mint: web3.PublicKey;
2570
- };
2571
- readonly INF: {
2572
- pubkey: web3.PublicKey;
2573
- mint: web3.PublicKey;
2574
- };
2575
- readonly SOL: {
2576
- pubkey: web3.PublicKey;
2577
- mint: web3.PublicKey;
2578
- };
2579
- };
2580
- readonly GM_SOLBLAZE: {
2581
- readonly SOL: {
2582
- pubkey: web3.PublicKey;
2583
- mint: web3.PublicKey;
2584
- };
2585
- readonly BSOL: {
2586
- pubkey: web3.PublicKey;
2587
- mint: web3.PublicKey;
2588
- };
2589
- };
2590
- readonly ADRENA: {
2591
- readonly USDC: {
2592
- pubkey: web3.PublicKey;
2593
- mint: web3.PublicKey;
2594
- };
2595
- readonly ALP: {
2596
- pubkey: web3.PublicKey;
2597
- mint: web3.PublicKey;
2598
- };
2599
- };
2600
- readonly FLASH_TRADE: {
2601
- readonly USDC: {
2602
- pubkey: web3.PublicKey;
2603
- mint: web3.PublicKey;
2604
- };
2605
- readonly FLP: {
2606
- pubkey: web3.PublicKey;
2607
- mint: web3.PublicKey;
2608
- };
2609
- };
2610
- readonly METAPLEX: {
2611
- readonly USDC: {
2612
- pubkey: web3.PublicKey;
2613
- mint: web3.PublicKey;
2614
- };
2615
- readonly MPLX: {
2616
- pubkey: web3.PublicKey;
2617
- mint: web3.PublicKey;
2618
- };
2619
- };
2620
- }[M_3], amount: BN): ReserveInstruction;
83
+ repay<M extends KaminoMarket>(market: M, asset: keyof KaminoReserves[M], amount: BN): ReserveInstruction;
2621
84
  };
2622
85
  /**
2623
86
  * Builder for direct Kamino Vault action descriptors.
@@ -2638,8 +101,8 @@ export declare const kaminoVaultAction: {
2638
101
  }): KaminoVaultDepositInstruction;
2639
102
  /**
2640
103
  * Withdraw Kamino Vault shares back into the vault-owned token account.
2641
- * When the Kamino Vault currently allocates across multiple reserves,
2642
- * specify the reserve to disinvest from.
104
+ * `reserve` is an optional override. When omitted, the SDK plans the
105
+ * withdraw across the vault's active reserves automatically.
2643
106
  */
2644
107
  withdraw(params: {
2645
108
  vault: PublicKey;
@@ -2712,38 +175,7 @@ export interface VaultSyncTransactionResult {
2712
175
  /** ALT addresses that should be loaded and included in the versioned transaction's lookup tables. */
2713
176
  addressLookupTableAddresses: PublicKey[];
2714
177
  }
2715
- /**
2716
- * Build vault instructions and wrap them in a Squads sync transaction.
2717
- *
2718
- * Takes high-level `VaultInstruction` descriptors (built with `kamino.*`),
2719
- * resolves them to raw Solana instructions, then separates them:
2720
- * - Permissionless refresh instructions → `preInstructions` (top-level)
2721
- * - Vault-signed instructions → `instruction` (Squads sync transaction)
2722
- *
2723
- * KLend's `check_refresh` requires refreshReserve to be a top-level instruction
2724
- * so it can be found via the instruction sysvar.
2725
- *
2726
- * @returns `{ setupInstructions, preInstructions, instruction, postInstructions, signers, addressLookupTableAddresses }`
2727
- *
2728
- * @example
2729
- * ```ts
2730
- * const { setupInstructions, preInstructions, instruction, postInstructions, signers, addressLookupTableAddresses } = await createVaultSyncTransaction({
2731
- * instructions: [
2732
- * kamino.initUserMetadata(KaminoMarket.MAIN),
2733
- * kamino.initObligation(KaminoMarket.MAIN),
2734
- * kamino.deposit(KaminoMarket.MAIN, "USDC", new BN(1_000_000)),
2735
- * ],
2736
- * owner: vaultPda,
2737
- * connection,
2738
- * policyPda,
2739
- * vaultPda,
2740
- * signer: wallet.publicKey,
2741
- * vaultAddress: VAULT_ADDRESS,
2742
- * })
2743
- * // Send: [...setupInstructions, ...preInstructions, instruction, ...postInstructions]
2744
- * ```
2745
- */
2746
- export declare function createVaultSyncTransaction({ instructions, owner, connection, policyPda, vaultPda, signer, accountIndex, constraintIndices, vaultAddress, leadingAccounts, preHookAccounts, postHookAccounts, squadsProgram, autoManagePositions, setupContext, }: {
178
+ type CreateVaultSyncTransactionParams = {
2747
179
  instructions: VaultInstruction[];
2748
180
  owner: PublicKey;
2749
181
  connection: Connection;
@@ -2762,7 +194,32 @@ export declare function createVaultSyncTransaction({ instructions, owner, connec
2762
194
  autoManagePositions?: boolean;
2763
195
  /** Optional shared setup context — when provided, setup state (tracked accounts, positions) is shared across calls, preventing duplicate setup instructions. */
2764
196
  setupContext?: StrategySetupContext;
2765
- }): Promise<VaultSyncTransactionResult>;
197
+ };
198
+ /**
199
+ * Build one or more vault sync transactions from high-level instruction descriptors.
200
+ *
201
+ * This is the plural companion to {@link createVaultSyncTransaction}. Most
202
+ * calls return a single result. Smart Kamino Vault withdraws can expand into
203
+ * multiple reserve-specific sync transactions when the wrapper needs to split
204
+ * an oversized withdraw across sequential chunks.
205
+ */
206
+ export declare function createVaultSyncTransactions(params: CreateVaultSyncTransactionParams): Promise<VaultSyncTransactionResult[]>;
207
+ /**
208
+ * Build exactly one vault sync transaction and return its wrapped instruction set.
209
+ *
210
+ * Takes high-level `VaultInstruction` descriptors (built with `kamino.*`),
211
+ * resolves them to raw Solana instructions, then separates them:
212
+ * - Permissionless refresh instructions → `preInstructions` (top-level)
213
+ * - Vault-signed instructions → `instruction` (Squads sync transaction)
214
+ *
215
+ * KLend's `check_refresh` requires refreshReserve to be a top-level instruction
216
+ * so it can be found via the instruction sysvar.
217
+ *
218
+ * When a smart Kamino Vault withdraw expands beyond one sync transaction, this
219
+ * singular helper throws and asks the caller to use
220
+ * {@link createVaultSyncTransactions} or {@link VaultTransactionBuilder}.
221
+ */
222
+ export declare function createVaultSyncTransaction(params: CreateVaultSyncTransactionParams): Promise<VaultSyncTransactionResult>;
2766
223
  type TrackedKaminoObligationState = {
2767
224
  quotePriceId: ClientPriceId;
2768
225
  quoteInputMint: PublicKey;
@@ -2826,6 +283,31 @@ export declare function createStrategySetupContext({ connection, env, owner, sig
2826
283
  pricesAccount?: ExponentPrices;
2827
284
  }): StrategySetupContext;
2828
285
  export declare function buildSetupStatePriceRefreshInstructions(setupContext: StrategySetupContext): Promise<TransactionInstruction[]>;
286
+ type KaminoVaultWithdrawPlanningSnapshot = {
287
+ sharesBalance: BN;
288
+ tokenAvailable: BN;
289
+ sharesIssued: BN;
290
+ pendingFeesSf: BN;
291
+ reserves: Array<{
292
+ reserveAddress: PublicKey;
293
+ investedLiquidityAmount: Decimal;
294
+ availableLiquidityToWithdraw: Decimal;
295
+ }>;
296
+ };
297
+ type KaminoVaultWithdrawPlanningLeg = {
298
+ reserveAddress: PublicKey;
299
+ sharesAmount: BN;
300
+ };
301
+ declare function calculateKaminoVaultTokensPerShareFromSnapshot(snapshot: KaminoVaultWithdrawPlanningSnapshot): Decimal;
302
+ declare function planKaminoVaultWithdrawLegsFromSnapshot(params: {
303
+ sharesAmount: BN;
304
+ reserve?: PublicKey;
305
+ snapshot: KaminoVaultWithdrawPlanningSnapshot;
306
+ }): KaminoVaultWithdrawPlanningLeg[];
307
+ export declare const __kaminoVaultTesting: {
308
+ calculateKaminoVaultTokensPerShareFromSnapshot: typeof calculateKaminoVaultTokensPerShareFromSnapshot;
309
+ planKaminoVaultWithdrawLegsFromSnapshot: typeof planKaminoVaultWithdrawLegsFromSnapshot;
310
+ };
2829
311
  /**
2830
312
  * Builder for Exponent Orderbook vault action descriptors.
2831
313
  *