@kamino-finance/kliquidity-sdk 8.4.5 → 8.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/dist/@codegen/kliquidity/instructions/addKaminoRewards.d.ts +2 -2
  2. package/dist/@codegen/kliquidity/instructions/addKaminoRewards.d.ts.map +1 -1
  3. package/dist/@codegen/kliquidity/instructions/changePool.d.ts +2 -2
  4. package/dist/@codegen/kliquidity/instructions/changePool.d.ts.map +1 -1
  5. package/dist/@codegen/kliquidity/instructions/checkExpectedVaultsBalances.d.ts +2 -2
  6. package/dist/@codegen/kliquidity/instructions/checkExpectedVaultsBalances.d.ts.map +1 -1
  7. package/dist/@codegen/kliquidity/instructions/closeProgramAccount.d.ts +2 -2
  8. package/dist/@codegen/kliquidity/instructions/closeProgramAccount.d.ts.map +1 -1
  9. package/dist/@codegen/kliquidity/instructions/closeStrategy.d.ts +2 -2
  10. package/dist/@codegen/kliquidity/instructions/closeStrategy.d.ts.map +1 -1
  11. package/dist/@codegen/kliquidity/instructions/collectFeesAndRewards.d.ts +2 -2
  12. package/dist/@codegen/kliquidity/instructions/collectFeesAndRewards.d.ts.map +1 -1
  13. package/dist/@codegen/kliquidity/instructions/deposit.d.ts +2 -2
  14. package/dist/@codegen/kliquidity/instructions/deposit.d.ts.map +1 -1
  15. package/dist/@codegen/kliquidity/instructions/depositAndInvest.d.ts +2 -2
  16. package/dist/@codegen/kliquidity/instructions/depositAndInvest.d.ts.map +1 -1
  17. package/dist/@codegen/kliquidity/instructions/emergencySwap.d.ts +2 -2
  18. package/dist/@codegen/kliquidity/instructions/emergencySwap.d.ts.map +1 -1
  19. package/dist/@codegen/kliquidity/instructions/executiveWithdraw.d.ts +2 -2
  20. package/dist/@codegen/kliquidity/instructions/executiveWithdraw.d.ts.map +1 -1
  21. package/dist/@codegen/kliquidity/instructions/flashSwapUnevenVaultsEnd.d.ts +2 -2
  22. package/dist/@codegen/kliquidity/instructions/flashSwapUnevenVaultsEnd.d.ts.map +1 -1
  23. package/dist/@codegen/kliquidity/instructions/flashSwapUnevenVaultsStart.d.ts +2 -2
  24. package/dist/@codegen/kliquidity/instructions/flashSwapUnevenVaultsStart.d.ts.map +1 -1
  25. package/dist/@codegen/kliquidity/instructions/initializeCollateralInfo.d.ts +2 -2
  26. package/dist/@codegen/kliquidity/instructions/initializeCollateralInfo.d.ts.map +1 -1
  27. package/dist/@codegen/kliquidity/instructions/initializeGlobalConfig.d.ts +2 -2
  28. package/dist/@codegen/kliquidity/instructions/initializeGlobalConfig.d.ts.map +1 -1
  29. package/dist/@codegen/kliquidity/instructions/initializeKaminoReward.d.ts +2 -2
  30. package/dist/@codegen/kliquidity/instructions/initializeKaminoReward.d.ts.map +1 -1
  31. package/dist/@codegen/kliquidity/instructions/initializeSharesMetadata.d.ts +2 -2
  32. package/dist/@codegen/kliquidity/instructions/initializeSharesMetadata.d.ts.map +1 -1
  33. package/dist/@codegen/kliquidity/instructions/initializeStrategy.d.ts +2 -2
  34. package/dist/@codegen/kliquidity/instructions/initializeStrategy.d.ts.map +1 -1
  35. package/dist/@codegen/kliquidity/instructions/insertCollateralInfo.d.ts +2 -2
  36. package/dist/@codegen/kliquidity/instructions/insertCollateralInfo.d.ts.map +1 -1
  37. package/dist/@codegen/kliquidity/instructions/invest.d.ts +2 -2
  38. package/dist/@codegen/kliquidity/instructions/invest.d.ts.map +1 -1
  39. package/dist/@codegen/kliquidity/instructions/openLiquidityPosition.d.ts +2 -2
  40. package/dist/@codegen/kliquidity/instructions/openLiquidityPosition.d.ts.map +1 -1
  41. package/dist/@codegen/kliquidity/instructions/orcaSwap.d.ts +2 -2
  42. package/dist/@codegen/kliquidity/instructions/orcaSwap.d.ts.map +1 -1
  43. package/dist/@codegen/kliquidity/instructions/permisionlessWithdrawFromTreasury.d.ts +2 -2
  44. package/dist/@codegen/kliquidity/instructions/permisionlessWithdrawFromTreasury.d.ts.map +1 -1
  45. package/dist/@codegen/kliquidity/instructions/signTerms.d.ts +2 -2
  46. package/dist/@codegen/kliquidity/instructions/signTerms.d.ts.map +1 -1
  47. package/dist/@codegen/kliquidity/instructions/singleTokenDepositAndInvestWithMin.d.ts +2 -2
  48. package/dist/@codegen/kliquidity/instructions/singleTokenDepositAndInvestWithMin.d.ts.map +1 -1
  49. package/dist/@codegen/kliquidity/instructions/singleTokenDepositWithMin.d.ts +2 -2
  50. package/dist/@codegen/kliquidity/instructions/singleTokenDepositWithMin.d.ts.map +1 -1
  51. package/dist/@codegen/kliquidity/instructions/swapRewards.d.ts +2 -2
  52. package/dist/@codegen/kliquidity/instructions/swapRewards.d.ts.map +1 -1
  53. package/dist/@codegen/kliquidity/instructions/updateCollateralInfo.d.ts +2 -2
  54. package/dist/@codegen/kliquidity/instructions/updateCollateralInfo.d.ts.map +1 -1
  55. package/dist/@codegen/kliquidity/instructions/updateGlobalConfig.d.ts +2 -2
  56. package/dist/@codegen/kliquidity/instructions/updateGlobalConfig.d.ts.map +1 -1
  57. package/dist/@codegen/kliquidity/instructions/updateRewardMapping.d.ts +2 -2
  58. package/dist/@codegen/kliquidity/instructions/updateRewardMapping.d.ts.map +1 -1
  59. package/dist/@codegen/kliquidity/instructions/updateSharesMetadata.d.ts +2 -2
  60. package/dist/@codegen/kliquidity/instructions/updateSharesMetadata.d.ts.map +1 -1
  61. package/dist/@codegen/kliquidity/instructions/updateStrategyAdmin.d.ts +2 -2
  62. package/dist/@codegen/kliquidity/instructions/updateStrategyAdmin.d.ts.map +1 -1
  63. package/dist/@codegen/kliquidity/instructions/updateStrategyConfig.d.ts +2 -2
  64. package/dist/@codegen/kliquidity/instructions/updateStrategyConfig.d.ts.map +1 -1
  65. package/dist/@codegen/kliquidity/instructions/updateTreasuryFeeVault.d.ts +2 -2
  66. package/dist/@codegen/kliquidity/instructions/updateTreasuryFeeVault.d.ts.map +1 -1
  67. package/dist/@codegen/kliquidity/instructions/withdraw.d.ts +2 -2
  68. package/dist/@codegen/kliquidity/instructions/withdraw.d.ts.map +1 -1
  69. package/dist/@codegen/kliquidity/instructions/withdrawFromTopup.d.ts +2 -2
  70. package/dist/@codegen/kliquidity/instructions/withdrawFromTopup.d.ts.map +1 -1
  71. package/dist/@codegen/kliquidity/instructions/withdrawFromTreasury.d.ts +2 -2
  72. package/dist/@codegen/kliquidity/instructions/withdrawFromTreasury.d.ts.map +1 -1
  73. package/dist/@codegen/meteora/instructions/addLiquidity.d.ts +2 -2
  74. package/dist/@codegen/meteora/instructions/addLiquidity.d.ts.map +1 -1
  75. package/dist/@codegen/meteora/instructions/addLiquidityByStrategy.d.ts +2 -2
  76. package/dist/@codegen/meteora/instructions/addLiquidityByStrategy.d.ts.map +1 -1
  77. package/dist/@codegen/meteora/instructions/addLiquidityByStrategyOneSide.d.ts +2 -2
  78. package/dist/@codegen/meteora/instructions/addLiquidityByStrategyOneSide.d.ts.map +1 -1
  79. package/dist/@codegen/meteora/instructions/addLiquidityByWeight.d.ts +2 -2
  80. package/dist/@codegen/meteora/instructions/addLiquidityByWeight.d.ts.map +1 -1
  81. package/dist/@codegen/meteora/instructions/addLiquidityOneSide.d.ts +2 -2
  82. package/dist/@codegen/meteora/instructions/addLiquidityOneSide.d.ts.map +1 -1
  83. package/dist/@codegen/meteora/instructions/addLiquidityOneSidePrecise.d.ts +2 -2
  84. package/dist/@codegen/meteora/instructions/addLiquidityOneSidePrecise.d.ts.map +1 -1
  85. package/dist/@codegen/meteora/instructions/claimFee.d.ts +2 -2
  86. package/dist/@codegen/meteora/instructions/claimFee.d.ts.map +1 -1
  87. package/dist/@codegen/meteora/instructions/claimReward.d.ts +2 -2
  88. package/dist/@codegen/meteora/instructions/claimReward.d.ts.map +1 -1
  89. package/dist/@codegen/meteora/instructions/closePosition.d.ts +2 -2
  90. package/dist/@codegen/meteora/instructions/closePosition.d.ts.map +1 -1
  91. package/dist/@codegen/meteora/instructions/closePresetParameter.d.ts +2 -2
  92. package/dist/@codegen/meteora/instructions/closePresetParameter.d.ts.map +1 -1
  93. package/dist/@codegen/meteora/instructions/fundReward.d.ts +2 -2
  94. package/dist/@codegen/meteora/instructions/fundReward.d.ts.map +1 -1
  95. package/dist/@codegen/meteora/instructions/goToABin.d.ts +2 -2
  96. package/dist/@codegen/meteora/instructions/goToABin.d.ts.map +1 -1
  97. package/dist/@codegen/meteora/instructions/increaseOracleLength.d.ts +2 -2
  98. package/dist/@codegen/meteora/instructions/increaseOracleLength.d.ts.map +1 -1
  99. package/dist/@codegen/meteora/instructions/initializeBinArray.d.ts +2 -2
  100. package/dist/@codegen/meteora/instructions/initializeBinArray.d.ts.map +1 -1
  101. package/dist/@codegen/meteora/instructions/initializeBinArrayBitmapExtension.d.ts +2 -2
  102. package/dist/@codegen/meteora/instructions/initializeBinArrayBitmapExtension.d.ts.map +1 -1
  103. package/dist/@codegen/meteora/instructions/initializeLbPair.d.ts +2 -2
  104. package/dist/@codegen/meteora/instructions/initializeLbPair.d.ts.map +1 -1
  105. package/dist/@codegen/meteora/instructions/initializePermissionLbPair.d.ts +2 -2
  106. package/dist/@codegen/meteora/instructions/initializePermissionLbPair.d.ts.map +1 -1
  107. package/dist/@codegen/meteora/instructions/initializePosition.d.ts +2 -2
  108. package/dist/@codegen/meteora/instructions/initializePosition.d.ts.map +1 -1
  109. package/dist/@codegen/meteora/instructions/initializePositionByOperator.d.ts +2 -2
  110. package/dist/@codegen/meteora/instructions/initializePositionByOperator.d.ts.map +1 -1
  111. package/dist/@codegen/meteora/instructions/initializePositionPda.d.ts +2 -2
  112. package/dist/@codegen/meteora/instructions/initializePositionPda.d.ts.map +1 -1
  113. package/dist/@codegen/meteora/instructions/initializePresetParameter.d.ts +2 -2
  114. package/dist/@codegen/meteora/instructions/initializePresetParameter.d.ts.map +1 -1
  115. package/dist/@codegen/meteora/instructions/initializeReward.d.ts +2 -2
  116. package/dist/@codegen/meteora/instructions/initializeReward.d.ts.map +1 -1
  117. package/dist/@codegen/meteora/instructions/migrateBinArray.d.ts +2 -2
  118. package/dist/@codegen/meteora/instructions/migrateBinArray.d.ts.map +1 -1
  119. package/dist/@codegen/meteora/instructions/migratePosition.d.ts +2 -2
  120. package/dist/@codegen/meteora/instructions/migratePosition.d.ts.map +1 -1
  121. package/dist/@codegen/meteora/instructions/removeAllLiquidity.d.ts +2 -2
  122. package/dist/@codegen/meteora/instructions/removeAllLiquidity.d.ts.map +1 -1
  123. package/dist/@codegen/meteora/instructions/removeLiquidity.d.ts +2 -2
  124. package/dist/@codegen/meteora/instructions/removeLiquidity.d.ts.map +1 -1
  125. package/dist/@codegen/meteora/instructions/removeLiquidityByRange.d.ts +2 -2
  126. package/dist/@codegen/meteora/instructions/removeLiquidityByRange.d.ts.map +1 -1
  127. package/dist/@codegen/meteora/instructions/setActivationSlot.d.ts +2 -2
  128. package/dist/@codegen/meteora/instructions/setActivationSlot.d.ts.map +1 -1
  129. package/dist/@codegen/meteora/instructions/setLockReleaseSlot.d.ts +2 -2
  130. package/dist/@codegen/meteora/instructions/setLockReleaseSlot.d.ts.map +1 -1
  131. package/dist/@codegen/meteora/instructions/setPreActivationSlotDuration.d.ts +2 -2
  132. package/dist/@codegen/meteora/instructions/setPreActivationSlotDuration.d.ts.map +1 -1
  133. package/dist/@codegen/meteora/instructions/setPreActivationSwapAddress.d.ts +2 -2
  134. package/dist/@codegen/meteora/instructions/setPreActivationSwapAddress.d.ts.map +1 -1
  135. package/dist/@codegen/meteora/instructions/swap.d.ts +2 -2
  136. package/dist/@codegen/meteora/instructions/swap.d.ts.map +1 -1
  137. package/dist/@codegen/meteora/instructions/togglePairStatus.d.ts +2 -2
  138. package/dist/@codegen/meteora/instructions/togglePairStatus.d.ts.map +1 -1
  139. package/dist/@codegen/meteora/instructions/updateFeeOwner.d.ts +2 -2
  140. package/dist/@codegen/meteora/instructions/updateFeeOwner.d.ts.map +1 -1
  141. package/dist/@codegen/meteora/instructions/updateFeeParameters.d.ts +2 -2
  142. package/dist/@codegen/meteora/instructions/updateFeeParameters.d.ts.map +1 -1
  143. package/dist/@codegen/meteora/instructions/updateFeesAndRewards.d.ts +2 -2
  144. package/dist/@codegen/meteora/instructions/updateFeesAndRewards.d.ts.map +1 -1
  145. package/dist/@codegen/meteora/instructions/updatePositionOperator.d.ts +2 -2
  146. package/dist/@codegen/meteora/instructions/updatePositionOperator.d.ts.map +1 -1
  147. package/dist/@codegen/meteora/instructions/updateRewardDuration.d.ts +2 -2
  148. package/dist/@codegen/meteora/instructions/updateRewardDuration.d.ts.map +1 -1
  149. package/dist/@codegen/meteora/instructions/updateRewardFunder.d.ts +2 -2
  150. package/dist/@codegen/meteora/instructions/updateRewardFunder.d.ts.map +1 -1
  151. package/dist/@codegen/meteora/instructions/updateWhitelistedWallet.d.ts +2 -2
  152. package/dist/@codegen/meteora/instructions/updateWhitelistedWallet.d.ts.map +1 -1
  153. package/dist/@codegen/meteora/instructions/withdrawIneligibleReward.d.ts +2 -2
  154. package/dist/@codegen/meteora/instructions/withdrawIneligibleReward.d.ts.map +1 -1
  155. package/dist/@codegen/meteora/instructions/withdrawProtocolFee.d.ts +2 -2
  156. package/dist/@codegen/meteora/instructions/withdrawProtocolFee.d.ts.map +1 -1
  157. package/dist/@codegen/raydium/instructions/closePosition.d.ts +2 -2
  158. package/dist/@codegen/raydium/instructions/closePosition.d.ts.map +1 -1
  159. package/dist/@codegen/raydium/instructions/collectFundFee.d.ts +2 -2
  160. package/dist/@codegen/raydium/instructions/collectFundFee.d.ts.map +1 -1
  161. package/dist/@codegen/raydium/instructions/collectProtocolFee.d.ts +2 -2
  162. package/dist/@codegen/raydium/instructions/collectProtocolFee.d.ts.map +1 -1
  163. package/dist/@codegen/raydium/instructions/collectRemainingRewards.d.ts +2 -2
  164. package/dist/@codegen/raydium/instructions/collectRemainingRewards.d.ts.map +1 -1
  165. package/dist/@codegen/raydium/instructions/createAmmConfig.d.ts +2 -2
  166. package/dist/@codegen/raydium/instructions/createAmmConfig.d.ts.map +1 -1
  167. package/dist/@codegen/raydium/instructions/createOperationAccount.d.ts +2 -2
  168. package/dist/@codegen/raydium/instructions/createOperationAccount.d.ts.map +1 -1
  169. package/dist/@codegen/raydium/instructions/createPool.d.ts +2 -2
  170. package/dist/@codegen/raydium/instructions/createPool.d.ts.map +1 -1
  171. package/dist/@codegen/raydium/instructions/decreaseLiquidity.d.ts +2 -2
  172. package/dist/@codegen/raydium/instructions/decreaseLiquidity.d.ts.map +1 -1
  173. package/dist/@codegen/raydium/instructions/decreaseLiquidityV2.d.ts +2 -2
  174. package/dist/@codegen/raydium/instructions/decreaseLiquidityV2.d.ts.map +1 -1
  175. package/dist/@codegen/raydium/instructions/increaseLiquidity.d.ts +2 -2
  176. package/dist/@codegen/raydium/instructions/increaseLiquidity.d.ts.map +1 -1
  177. package/dist/@codegen/raydium/instructions/increaseLiquidityV2.d.ts +2 -2
  178. package/dist/@codegen/raydium/instructions/increaseLiquidityV2.d.ts.map +1 -1
  179. package/dist/@codegen/raydium/instructions/initializeReward.d.ts +2 -2
  180. package/dist/@codegen/raydium/instructions/initializeReward.d.ts.map +1 -1
  181. package/dist/@codegen/raydium/instructions/openPosition.d.ts +2 -2
  182. package/dist/@codegen/raydium/instructions/openPosition.d.ts.map +1 -1
  183. package/dist/@codegen/raydium/instructions/openPositionV2.d.ts +2 -2
  184. package/dist/@codegen/raydium/instructions/openPositionV2.d.ts.map +1 -1
  185. package/dist/@codegen/raydium/instructions/setRewardParams.d.ts +2 -2
  186. package/dist/@codegen/raydium/instructions/setRewardParams.d.ts.map +1 -1
  187. package/dist/@codegen/raydium/instructions/swap.d.ts +2 -2
  188. package/dist/@codegen/raydium/instructions/swap.d.ts.map +1 -1
  189. package/dist/@codegen/raydium/instructions/swapRouterBaseIn.d.ts +2 -2
  190. package/dist/@codegen/raydium/instructions/swapRouterBaseIn.d.ts.map +1 -1
  191. package/dist/@codegen/raydium/instructions/swapV2.d.ts +2 -2
  192. package/dist/@codegen/raydium/instructions/swapV2.d.ts.map +1 -1
  193. package/dist/@codegen/raydium/instructions/transferRewardOwner.d.ts +2 -2
  194. package/dist/@codegen/raydium/instructions/transferRewardOwner.d.ts.map +1 -1
  195. package/dist/@codegen/raydium/instructions/updateAmmConfig.d.ts +2 -2
  196. package/dist/@codegen/raydium/instructions/updateAmmConfig.d.ts.map +1 -1
  197. package/dist/@codegen/raydium/instructions/updateOperationAccount.d.ts +2 -2
  198. package/dist/@codegen/raydium/instructions/updateOperationAccount.d.ts.map +1 -1
  199. package/dist/@codegen/raydium/instructions/updatePoolStatus.d.ts +2 -2
  200. package/dist/@codegen/raydium/instructions/updatePoolStatus.d.ts.map +1 -1
  201. package/dist/@codegen/raydium/instructions/updateRewardInfos.d.ts +2 -2
  202. package/dist/@codegen/raydium/instructions/updateRewardInfos.d.ts.map +1 -1
  203. package/dist/@codegen/whirlpools/instructions/closeBundledPosition.d.ts +2 -2
  204. package/dist/@codegen/whirlpools/instructions/closeBundledPosition.d.ts.map +1 -1
  205. package/dist/@codegen/whirlpools/instructions/closePosition.d.ts +2 -2
  206. package/dist/@codegen/whirlpools/instructions/closePosition.d.ts.map +1 -1
  207. package/dist/@codegen/whirlpools/instructions/collectFees.d.ts +2 -2
  208. package/dist/@codegen/whirlpools/instructions/collectFees.d.ts.map +1 -1
  209. package/dist/@codegen/whirlpools/instructions/collectFeesV2.d.ts +2 -2
  210. package/dist/@codegen/whirlpools/instructions/collectFeesV2.d.ts.map +1 -1
  211. package/dist/@codegen/whirlpools/instructions/collectProtocolFees.d.ts +2 -2
  212. package/dist/@codegen/whirlpools/instructions/collectProtocolFees.d.ts.map +1 -1
  213. package/dist/@codegen/whirlpools/instructions/collectProtocolFeesV2.d.ts +2 -2
  214. package/dist/@codegen/whirlpools/instructions/collectProtocolFeesV2.d.ts.map +1 -1
  215. package/dist/@codegen/whirlpools/instructions/collectReward.d.ts +2 -2
  216. package/dist/@codegen/whirlpools/instructions/collectReward.d.ts.map +1 -1
  217. package/dist/@codegen/whirlpools/instructions/collectRewardV2.d.ts +2 -2
  218. package/dist/@codegen/whirlpools/instructions/collectRewardV2.d.ts.map +1 -1
  219. package/dist/@codegen/whirlpools/instructions/decreaseLiquidity.d.ts +2 -2
  220. package/dist/@codegen/whirlpools/instructions/decreaseLiquidity.d.ts.map +1 -1
  221. package/dist/@codegen/whirlpools/instructions/decreaseLiquidityV2.d.ts +2 -2
  222. package/dist/@codegen/whirlpools/instructions/decreaseLiquidityV2.d.ts.map +1 -1
  223. package/dist/@codegen/whirlpools/instructions/deletePositionBundle.d.ts +2 -2
  224. package/dist/@codegen/whirlpools/instructions/deletePositionBundle.d.ts.map +1 -1
  225. package/dist/@codegen/whirlpools/instructions/deleteTokenBadge.d.ts +2 -2
  226. package/dist/@codegen/whirlpools/instructions/deleteTokenBadge.d.ts.map +1 -1
  227. package/dist/@codegen/whirlpools/instructions/increaseLiquidity.d.ts +2 -2
  228. package/dist/@codegen/whirlpools/instructions/increaseLiquidity.d.ts.map +1 -1
  229. package/dist/@codegen/whirlpools/instructions/increaseLiquidityV2.d.ts +2 -2
  230. package/dist/@codegen/whirlpools/instructions/increaseLiquidityV2.d.ts.map +1 -1
  231. package/dist/@codegen/whirlpools/instructions/initializeConfig.d.ts +2 -2
  232. package/dist/@codegen/whirlpools/instructions/initializeConfig.d.ts.map +1 -1
  233. package/dist/@codegen/whirlpools/instructions/initializeConfigExtension.d.ts +2 -2
  234. package/dist/@codegen/whirlpools/instructions/initializeConfigExtension.d.ts.map +1 -1
  235. package/dist/@codegen/whirlpools/instructions/initializeFeeTier.d.ts +2 -2
  236. package/dist/@codegen/whirlpools/instructions/initializeFeeTier.d.ts.map +1 -1
  237. package/dist/@codegen/whirlpools/instructions/initializePool.d.ts +2 -2
  238. package/dist/@codegen/whirlpools/instructions/initializePool.d.ts.map +1 -1
  239. package/dist/@codegen/whirlpools/instructions/initializePoolV2.d.ts +2 -2
  240. package/dist/@codegen/whirlpools/instructions/initializePoolV2.d.ts.map +1 -1
  241. package/dist/@codegen/whirlpools/instructions/initializePositionBundle.d.ts +2 -2
  242. package/dist/@codegen/whirlpools/instructions/initializePositionBundle.d.ts.map +1 -1
  243. package/dist/@codegen/whirlpools/instructions/initializePositionBundleWithMetadata.d.ts +2 -2
  244. package/dist/@codegen/whirlpools/instructions/initializePositionBundleWithMetadata.d.ts.map +1 -1
  245. package/dist/@codegen/whirlpools/instructions/initializeReward.d.ts +2 -2
  246. package/dist/@codegen/whirlpools/instructions/initializeReward.d.ts.map +1 -1
  247. package/dist/@codegen/whirlpools/instructions/initializeRewardV2.d.ts +2 -2
  248. package/dist/@codegen/whirlpools/instructions/initializeRewardV2.d.ts.map +1 -1
  249. package/dist/@codegen/whirlpools/instructions/initializeTickArray.d.ts +2 -2
  250. package/dist/@codegen/whirlpools/instructions/initializeTickArray.d.ts.map +1 -1
  251. package/dist/@codegen/whirlpools/instructions/initializeTokenBadge.d.ts +2 -2
  252. package/dist/@codegen/whirlpools/instructions/initializeTokenBadge.d.ts.map +1 -1
  253. package/dist/@codegen/whirlpools/instructions/openBundledPosition.d.ts +2 -2
  254. package/dist/@codegen/whirlpools/instructions/openBundledPosition.d.ts.map +1 -1
  255. package/dist/@codegen/whirlpools/instructions/openPosition.d.ts +2 -2
  256. package/dist/@codegen/whirlpools/instructions/openPosition.d.ts.map +1 -1
  257. package/dist/@codegen/whirlpools/instructions/openPositionWithMetadata.d.ts +2 -2
  258. package/dist/@codegen/whirlpools/instructions/openPositionWithMetadata.d.ts.map +1 -1
  259. package/dist/@codegen/whirlpools/instructions/setCollectProtocolFeesAuthority.d.ts +2 -2
  260. package/dist/@codegen/whirlpools/instructions/setCollectProtocolFeesAuthority.d.ts.map +1 -1
  261. package/dist/@codegen/whirlpools/instructions/setConfigExtensionAuthority.d.ts +2 -2
  262. package/dist/@codegen/whirlpools/instructions/setConfigExtensionAuthority.d.ts.map +1 -1
  263. package/dist/@codegen/whirlpools/instructions/setDefaultFeeRate.d.ts +2 -2
  264. package/dist/@codegen/whirlpools/instructions/setDefaultFeeRate.d.ts.map +1 -1
  265. package/dist/@codegen/whirlpools/instructions/setDefaultProtocolFeeRate.d.ts +2 -2
  266. package/dist/@codegen/whirlpools/instructions/setDefaultProtocolFeeRate.d.ts.map +1 -1
  267. package/dist/@codegen/whirlpools/instructions/setFeeAuthority.d.ts +2 -2
  268. package/dist/@codegen/whirlpools/instructions/setFeeAuthority.d.ts.map +1 -1
  269. package/dist/@codegen/whirlpools/instructions/setFeeRate.d.ts +2 -2
  270. package/dist/@codegen/whirlpools/instructions/setFeeRate.d.ts.map +1 -1
  271. package/dist/@codegen/whirlpools/instructions/setProtocolFeeRate.d.ts +2 -2
  272. package/dist/@codegen/whirlpools/instructions/setProtocolFeeRate.d.ts.map +1 -1
  273. package/dist/@codegen/whirlpools/instructions/setRewardAuthority.d.ts +2 -2
  274. package/dist/@codegen/whirlpools/instructions/setRewardAuthority.d.ts.map +1 -1
  275. package/dist/@codegen/whirlpools/instructions/setRewardAuthorityBySuperAuthority.d.ts +2 -2
  276. package/dist/@codegen/whirlpools/instructions/setRewardAuthorityBySuperAuthority.d.ts.map +1 -1
  277. package/dist/@codegen/whirlpools/instructions/setRewardEmissions.d.ts +2 -2
  278. package/dist/@codegen/whirlpools/instructions/setRewardEmissions.d.ts.map +1 -1
  279. package/dist/@codegen/whirlpools/instructions/setRewardEmissionsSuperAuthority.d.ts +2 -2
  280. package/dist/@codegen/whirlpools/instructions/setRewardEmissionsSuperAuthority.d.ts.map +1 -1
  281. package/dist/@codegen/whirlpools/instructions/setRewardEmissionsV2.d.ts +2 -2
  282. package/dist/@codegen/whirlpools/instructions/setRewardEmissionsV2.d.ts.map +1 -1
  283. package/dist/@codegen/whirlpools/instructions/setTokenBadgeAuthority.d.ts +2 -2
  284. package/dist/@codegen/whirlpools/instructions/setTokenBadgeAuthority.d.ts.map +1 -1
  285. package/dist/@codegen/whirlpools/instructions/swap.d.ts +2 -2
  286. package/dist/@codegen/whirlpools/instructions/swap.d.ts.map +1 -1
  287. package/dist/@codegen/whirlpools/instructions/swapV2.d.ts +2 -2
  288. package/dist/@codegen/whirlpools/instructions/swapV2.d.ts.map +1 -1
  289. package/dist/@codegen/whirlpools/instructions/twoHopSwap.d.ts +2 -2
  290. package/dist/@codegen/whirlpools/instructions/twoHopSwap.d.ts.map +1 -1
  291. package/dist/@codegen/whirlpools/instructions/twoHopSwapV2.d.ts +2 -2
  292. package/dist/@codegen/whirlpools/instructions/twoHopSwapV2.d.ts.map +1 -1
  293. package/dist/@codegen/whirlpools/instructions/updateFeesAndRewards.d.ts +2 -2
  294. package/dist/@codegen/whirlpools/instructions/updateFeesAndRewards.d.ts.map +1 -1
  295. package/dist/Kamino.d.ts +35 -39
  296. package/dist/Kamino.d.ts.map +1 -1
  297. package/dist/Kamino.js +3 -7
  298. package/dist/Kamino.js.map +1 -1
  299. package/dist/constants/index.d.ts +1 -0
  300. package/dist/constants/index.d.ts.map +1 -1
  301. package/dist/constants/index.js +1 -0
  302. package/dist/constants/index.js.map +1 -1
  303. package/dist/services/JupService.d.ts +11 -11
  304. package/dist/services/JupService.d.ts.map +1 -1
  305. package/dist/services/JupService.js.map +1 -1
  306. package/dist/services/MeteoraPoolsResponse.d.ts +60 -0
  307. package/dist/services/MeteoraPoolsResponse.d.ts.map +1 -0
  308. package/dist/services/MeteoraPoolsResponse.js +3 -0
  309. package/dist/services/MeteoraPoolsResponse.js.map +1 -0
  310. package/dist/services/MeteoraService.d.ts +3 -0
  311. package/dist/services/MeteoraService.d.ts.map +1 -1
  312. package/dist/services/MeteoraService.js +55 -0
  313. package/dist/services/MeteoraService.js.map +1 -1
  314. package/dist/services/OrcaService.d.ts +1 -2
  315. package/dist/services/OrcaService.d.ts.map +1 -1
  316. package/dist/services/OrcaService.js +1 -1
  317. package/dist/services/OrcaService.js.map +1 -1
  318. package/dist/services/RaydiumService.d.ts +17 -5
  319. package/dist/services/RaydiumService.d.ts.map +1 -1
  320. package/dist/services/RaydiumService.js +245 -9
  321. package/dist/services/RaydiumService.js.map +1 -1
  322. package/dist/services/index.d.ts +2 -0
  323. package/dist/services/index.d.ts.map +1 -1
  324. package/dist/services/index.js +2 -0
  325. package/dist/services/index.js.map +1 -1
  326. package/dist/utils/jupiter.d.ts +3 -3
  327. package/dist/utils/jupiter.d.ts.map +1 -1
  328. package/dist/utils/jupiter.js +5 -5
  329. package/dist/utils/jupiter.js.map +1 -1
  330. package/dist/utils/tokenUtils.d.ts +8 -3
  331. package/dist/utils/tokenUtils.d.ts.map +1 -1
  332. package/dist/utils/tokenUtils.js +27 -5
  333. package/dist/utils/tokenUtils.js.map +1 -1
  334. package/dist/utils/transactions.d.ts +5 -5
  335. package/dist/utils/transactions.d.ts.map +1 -1
  336. package/dist/utils/transactions.js.map +1 -1
  337. package/dist/utils/types.d.ts +15 -15
  338. package/dist/utils/types.d.ts.map +1 -1
  339. package/dist/utils/types.js.map +1 -1
  340. package/dist/utils/utils.d.ts +5 -2
  341. package/dist/utils/utils.d.ts.map +1 -1
  342. package/dist/utils/utils.js +16 -0
  343. package/dist/utils/utils.js.map +1 -1
  344. package/package.json +1 -2
  345. package/src/Kamino.ts +49 -56
  346. package/src/constants/index.ts +1 -0
  347. package/src/services/JupService.ts +17 -12
  348. package/src/services/MeteoraPoolsResponse.ts +61 -0
  349. package/src/services/MeteoraService.ts +64 -1
  350. package/src/services/OrcaService.ts +0 -2
  351. package/src/services/RaydiumService.ts +334 -18
  352. package/src/services/index.ts +2 -0
  353. package/src/utils/jupiter.ts +4 -4
  354. package/src/utils/tokenUtils.ts +39 -7
  355. package/src/utils/transactions.ts +9 -9
  356. package/src/utils/types.ts +15 -15
  357. package/src/utils/utils.ts +17 -2
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetFeeRateArgs {
3
3
  feeRate: number;
4
4
  }
@@ -8,5 +8,5 @@ export interface SetFeeRateAccounts {
8
8
  feeAuthority: TransactionSigner;
9
9
  }
10
10
  export declare const layout: import("buffer-layout").Layout<unknown>;
11
- export declare function setFeeRate(args: SetFeeRateArgs, accounts: SetFeeRateAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
11
+ export declare function setFeeRate(args: SetFeeRateArgs, accounts: SetFeeRateAccounts, programAddress?: Address): IInstruction;
12
12
  //# sourceMappingURL=setFeeRate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setFeeRate.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setFeeRate.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,iBAAiB,CAAA;CAChC;AAED,eAAO,MAAM,MAAM,yCAAuC,CAAA;AAE1D,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,cAAc,GAAE,OAAoB,sHAsBrC"}
1
+ {"version":3,"file":"setFeeRate.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setFeeRate.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,iBAAiB,CAAA;CAChC;AAED,eAAO,MAAM,MAAM,yCAAuC,CAAA;AAE1D,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,cAAc,GAAE,OAAoB,gBAsBrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetProtocolFeeRateArgs {
3
3
  protocolFeeRate: number;
4
4
  }
@@ -8,5 +8,5 @@ export interface SetProtocolFeeRateAccounts {
8
8
  feeAuthority: TransactionSigner;
9
9
  }
10
10
  export declare const layout: import("buffer-layout").Layout<unknown>;
11
- export declare function setProtocolFeeRate(args: SetProtocolFeeRateArgs, accounts: SetProtocolFeeRateAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
11
+ export declare function setProtocolFeeRate(args: SetProtocolFeeRateArgs, accounts: SetProtocolFeeRateAccounts, programAddress?: Address): IInstruction;
12
12
  //# sourceMappingURL=setProtocolFeeRate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setProtocolFeeRate.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setProtocolFeeRate.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,iBAAiB,CAAA;CAChC;AAED,eAAO,MAAM,MAAM,yCAA+C,CAAA;AAElE,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,sHAsBrC"}
1
+ {"version":3,"file":"setProtocolFeeRate.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setProtocolFeeRate.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sBAAsB;IACrC,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,YAAY,EAAE,iBAAiB,CAAA;CAChC;AAED,eAAO,MAAM,MAAM,yCAA+C,CAAA;AAElE,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,gBAsBrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetRewardAuthorityArgs {
3
3
  rewardIndex: number;
4
4
  }
@@ -8,5 +8,5 @@ export interface SetRewardAuthorityAccounts {
8
8
  newRewardAuthority: Address;
9
9
  }
10
10
  export declare const layout: import("buffer-layout").Layout<unknown>;
11
- export declare function setRewardAuthority(args: SetRewardAuthorityArgs, accounts: SetRewardAuthorityAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
11
+ export declare function setRewardAuthority(args: SetRewardAuthorityArgs, accounts: SetRewardAuthorityAccounts, programAddress?: Address): IInstruction;
12
12
  //# sourceMappingURL=setRewardAuthority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setRewardAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,MAAM,yCAA0C,CAAA;AAE7D,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,sHAsBrC"}
1
+ {"version":3,"file":"setRewardAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,MAAM,yCAA0C,CAAA;AAE7D,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,gBAsBrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetRewardAuthorityBySuperAuthorityArgs {
3
3
  rewardIndex: number;
4
4
  }
@@ -9,5 +9,5 @@ export interface SetRewardAuthorityBySuperAuthorityAccounts {
9
9
  newRewardAuthority: Address;
10
10
  }
11
11
  export declare const layout: import("buffer-layout").Layout<unknown>;
12
- export declare function setRewardAuthorityBySuperAuthority(args: SetRewardAuthorityBySuperAuthorityArgs, accounts: SetRewardAuthorityBySuperAuthorityAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
12
+ export declare function setRewardAuthorityBySuperAuthority(args: SetRewardAuthorityBySuperAuthorityArgs, accounts: SetRewardAuthorityBySuperAuthorityAccounts, programAddress?: Address): IInstruction;
13
13
  //# sourceMappingURL=setRewardAuthorityBySuperAuthority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setRewardAuthorityBySuperAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardAuthorityBySuperAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sCAAsC;IACrD,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,0CAA0C;IACzD,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,6BAA6B,EAAE,iBAAiB,CAAA;IAChD,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,MAAM,yCAA0C,CAAA;AAE7D,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,sCAAsC,EAC5C,QAAQ,EAAE,0CAA0C,EACpD,cAAc,GAAE,OAAoB,sHAuBrC"}
1
+ {"version":3,"file":"setRewardAuthorityBySuperAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardAuthorityBySuperAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,sCAAsC;IACrD,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,0CAA0C;IACzD,gBAAgB,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,OAAO,CAAA;IAClB,6BAA6B,EAAE,iBAAiB,CAAA;IAChD,kBAAkB,EAAE,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,MAAM,yCAA0C,CAAA;AAE7D,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,sCAAsC,EAC5C,QAAQ,EAAE,0CAA0C,EACpD,cAAc,GAAE,OAAoB,gBAuBrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  export interface SetRewardEmissionsArgs {
4
4
  rewardIndex: number;
@@ -10,5 +10,5 @@ export interface SetRewardEmissionsAccounts {
10
10
  rewardVault: Address;
11
11
  }
12
12
  export declare const layout: import("buffer-layout").Layout<unknown>;
13
- export declare function setRewardEmissions(args: SetRewardEmissionsArgs, accounts: SetRewardEmissionsAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
13
+ export declare function setRewardEmissions(args: SetRewardEmissionsArgs, accounts: SetRewardEmissionsAccounts, programAddress?: Address): IInstruction;
14
14
  //# sourceMappingURL=setRewardEmissions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setRewardEmissions.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,qBAAqB,EAAE,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCAGjB,CAAA;AAEF,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,sHAuBrC"}
1
+ {"version":3,"file":"setRewardEmissions.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,qBAAqB,EAAE,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCAGjB,CAAA;AAEF,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,0BAA0B,EACpC,cAAc,GAAE,OAAoB,gBAuBrC"}
@@ -1,8 +1,8 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetRewardEmissionsSuperAuthorityAccounts {
3
3
  whirlpoolsConfig: Address;
4
4
  rewardEmissionsSuperAuthority: TransactionSigner;
5
5
  newRewardEmissionsSuperAuthority: Address;
6
6
  }
7
- export declare function setRewardEmissionsSuperAuthority(accounts: SetRewardEmissionsSuperAuthorityAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
7
+ export declare function setRewardEmissionsSuperAuthority(accounts: SetRewardEmissionsSuperAuthorityAccounts, programAddress?: Address): IInstruction;
8
8
  //# sourceMappingURL=setRewardEmissionsSuperAuthority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setRewardEmissionsSuperAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissionsSuperAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,wCAAwC;IACvD,gBAAgB,EAAE,OAAO,CAAA;IACzB,6BAA6B,EAAE,iBAAiB,CAAA;IAChD,gCAAgC,EAAE,OAAO,CAAA;CAC1C;AAED,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,wCAAwC,EAClD,cAAc,GAAE,OAAoB,sHAerC"}
1
+ {"version":3,"file":"setRewardEmissionsSuperAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissionsSuperAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,wCAAwC;IACvD,gBAAgB,EAAE,OAAO,CAAA;IACzB,6BAA6B,EAAE,iBAAiB,CAAA;IAChD,gCAAgC,EAAE,OAAO,CAAA;CAC1C;AAED,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,wCAAwC,EAClD,cAAc,GAAE,OAAoB,gBAerC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  export interface SetRewardEmissionsV2Args {
4
4
  rewardIndex: number;
@@ -10,5 +10,5 @@ export interface SetRewardEmissionsV2Accounts {
10
10
  rewardVault: Address;
11
11
  }
12
12
  export declare const layout: import("buffer-layout").Layout<unknown>;
13
- export declare function setRewardEmissionsV2(args: SetRewardEmissionsV2Args, accounts: SetRewardEmissionsV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
13
+ export declare function setRewardEmissionsV2(args: SetRewardEmissionsV2Args, accounts: SetRewardEmissionsV2Accounts, programAddress?: Address): IInstruction;
14
14
  //# sourceMappingURL=setRewardEmissionsV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setRewardEmissionsV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissionsV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,qBAAqB,EAAE,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCAGjB,CAAA;AAEF,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,wBAAwB,EAC9B,QAAQ,EAAE,4BAA4B,EACtC,cAAc,GAAE,OAAoB,sHAuBrC"}
1
+ {"version":3,"file":"setRewardEmissionsV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setRewardEmissionsV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,qBAAqB,EAAE,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,iBAAiB,CAAA;IAClC,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCAGjB,CAAA;AAEF,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,wBAAwB,EAC9B,QAAQ,EAAE,4BAA4B,EACtC,cAAc,GAAE,OAAoB,gBAuBrC"}
@@ -1,9 +1,9 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  export interface SetTokenBadgeAuthorityAccounts {
3
3
  whirlpoolsConfig: Address;
4
4
  whirlpoolsConfigExtension: Address;
5
5
  configExtensionAuthority: TransactionSigner;
6
6
  newTokenBadgeAuthority: Address;
7
7
  }
8
- export declare function setTokenBadgeAuthority(accounts: SetTokenBadgeAuthorityAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
8
+ export declare function setTokenBadgeAuthority(accounts: SetTokenBadgeAuthorityAccounts, programAddress?: Address): IInstruction;
9
9
  //# sourceMappingURL=setTokenBadgeAuthority.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setTokenBadgeAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setTokenBadgeAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,8BAA8B;IAC7C,gBAAgB,EAAE,OAAO,CAAA;IACzB,yBAAyB,EAAE,OAAO,CAAA;IAClC,wBAAwB,EAAE,iBAAiB,CAAA;IAC3C,sBAAsB,EAAE,OAAO,CAAA;CAChC;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,8BAA8B,EACxC,cAAc,GAAE,OAAoB,sHAgBrC"}
1
+ {"version":3,"file":"setTokenBadgeAuthority.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/setTokenBadgeAuthority.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,8BAA8B;IAC7C,gBAAgB,EAAE,OAAO,CAAA;IACzB,yBAAyB,EAAE,OAAO,CAAA;IAClC,wBAAwB,EAAE,iBAAiB,CAAA;IAC3C,sBAAsB,EAAE,OAAO,CAAA;CAChC;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,8BAA8B,EACxC,cAAc,GAAE,OAAoB,gBAgBrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  export interface SwapArgs {
4
4
  amount: BN;
@@ -21,5 +21,5 @@ export interface SwapAccounts {
21
21
  oracle: Address;
22
22
  }
23
23
  export declare const layout: import("buffer-layout").Layout<unknown>;
24
- export declare function swap(args: SwapArgs, accounts: SwapAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
24
+ export declare function swap(args: SwapArgs, accounts: SwapAccounts, programAddress?: Address): IInstruction;
25
25
  //# sourceMappingURL=swap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/swap.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,cAAc,EAAE,EAAE,CAAA;IAClB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,IAAI,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,iBAAiB,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,MAAM,yCAMjB,CAAA;AAEF,wBAAgB,IAAI,CAClB,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,YAAY,EACtB,cAAc,GAAE,OAAoB,sHAkCrC"}
1
+ {"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/swap.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,cAAc,EAAE,EAAE,CAAA;IAClB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,IAAI,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,iBAAiB,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,MAAM,yCAMjB,CAAA;AAEF,wBAAgB,IAAI,CAClB,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,YAAY,EACtB,cAAc,GAAE,OAAoB,gBAkCrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  import * as types from "../types";
4
4
  export interface SwapV2Args {
@@ -27,5 +27,5 @@ export interface SwapV2Accounts {
27
27
  oracle: Address;
28
28
  }
29
29
  export declare const layout: import("buffer-layout").Layout<unknown>;
30
- export declare function swapV2(args: SwapV2Args, accounts: SwapV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
30
+ export declare function swapV2(args: SwapV2Args, accounts: SwapV2Accounts, programAddress?: Address): IInstruction;
31
31
  //# sourceMappingURL=swapV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"swapV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/swapV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAGtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,cAAc,EAAE,EAAE,CAAA;IAClB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,qBAAqB,EAAE,KAAK,CAAC,2BAA2B,GAAG,IAAI,CAAA;CAChE;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,iBAAiB,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,MAAM,yCAOjB,CAAA;AAEF,wBAAgB,MAAM,CACpB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,cAAc,EACxB,cAAc,GAAE,OAAoB,sHA4CrC"}
1
+ {"version":3,"file":"swapV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/swapV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAGtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,cAAc,EAAE,EAAE,CAAA;IAClB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,IAAI,EAAE,OAAO,CAAA;IACb,qBAAqB,EAAE,KAAK,CAAC,2BAA2B,GAAG,IAAI,CAAA;CAChE;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,iBAAiB,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;CAChB;AAED,eAAO,MAAM,MAAM,yCAOjB,CAAA;AAEF,wBAAgB,MAAM,CACpB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,cAAc,EACxB,cAAc,GAAE,OAAoB,gBA4CrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  export interface TwoHopSwapArgs {
4
4
  amount: BN;
@@ -32,5 +32,5 @@ export interface TwoHopSwapAccounts {
32
32
  oracleTwo: Address;
33
33
  }
34
34
  export declare const layout: import("buffer-layout").Layout<unknown>;
35
- export declare function twoHopSwap(args: TwoHopSwapArgs, accounts: TwoHopSwapAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
35
+ export declare function twoHopSwap(args: TwoHopSwapArgs, accounts: TwoHopSwapAccounts, programAddress?: Address): IInstruction;
36
36
  //# sourceMappingURL=twoHopSwap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"twoHopSwap.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/twoHopSwap.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,iBAAiB,EAAE,EAAE,CAAA;IACrB,iBAAiB,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,iBAAiB,CAAA;IACjC,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,MAAM,yCAQjB,CAAA;AAEF,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,cAAc,GAAE,OAAoB,sHA6CrC"}
1
+ {"version":3,"file":"twoHopSwap.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/twoHopSwap.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAMtB,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,iBAAiB,EAAE,EAAE,CAAA;IACrB,iBAAiB,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,iBAAiB,CAAA;IACjC,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,EAAE,OAAO,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,MAAM,yCAQjB,CAAA;AAEF,wBAAgB,UAAU,CACxB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,cAAc,GAAE,OAAoB,gBA6CrC"}
@@ -1,4 +1,4 @@
1
- import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
1
+ import { Address, IInstruction, TransactionSigner } from "@solana/kit";
2
2
  import BN from "bn.js";
3
3
  import * as types from "../types";
4
4
  export interface TwoHopSwapV2Args {
@@ -38,5 +38,5 @@ export interface TwoHopSwapV2Accounts {
38
38
  memoProgram: Address;
39
39
  }
40
40
  export declare const layout: import("buffer-layout").Layout<unknown>;
41
- export declare function twoHopSwapV2(args: TwoHopSwapV2Args, accounts: TwoHopSwapV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
41
+ export declare function twoHopSwapV2(args: TwoHopSwapV2Args, accounts: TwoHopSwapV2Accounts, programAddress?: Address): IInstruction;
42
42
  //# sourceMappingURL=twoHopSwapV2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"twoHopSwapV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/twoHopSwapV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAGtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,iBAAiB,EAAE,EAAE,CAAA;IACrB,iBAAiB,EAAE,EAAE,CAAA;IACrB,qBAAqB,EAAE,KAAK,CAAC,2BAA2B,GAAG,IAAI,CAAA;CAChE;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,eAAe,EAAE,OAAO,CAAA;IACxB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,wBAAwB,EAAE,OAAO,CAAA;IACjC,kBAAkB,EAAE,OAAO,CAAA;IAC3B,sBAAsB,EAAE,OAAO,CAAA;IAC/B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,yBAAyB,EAAE,OAAO,CAAA;IAClC,yBAAyB,EAAE,OAAO,CAAA;IAClC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,uBAAuB,EAAE,OAAO,CAAA;IAChC,cAAc,EAAE,iBAAiB,CAAA;IACjC,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCASjB,CAAA;AAEF,wBAAgB,YAAY,CAC1B,IAAI,EAAE,gBAAgB,EACtB,QAAQ,EAAE,oBAAoB,EAC9B,cAAc,GAAE,OAAoB,sHAuDrC"}
1
+ {"version":3,"file":"twoHopSwapV2.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/twoHopSwapV2.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAEZ,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,MAAM,OAAO,CAAA;AAGtB,OAAO,KAAK,KAAK,MAAM,UAAU,CAAA;AAGjC,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,EAAE,CAAA;IACV,oBAAoB,EAAE,EAAE,CAAA;IACxB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,iBAAiB,EAAE,EAAE,CAAA;IACrB,iBAAiB,EAAE,EAAE,CAAA;IACrB,qBAAqB,EAAE,KAAK,CAAC,2BAA2B,GAAG,IAAI,CAAA;CAChE;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,OAAO,CAAA;IACrB,YAAY,EAAE,OAAO,CAAA;IACrB,cAAc,EAAE,OAAO,CAAA;IACvB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,eAAe,EAAE,OAAO,CAAA;IACxB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,wBAAwB,EAAE,OAAO,CAAA;IACjC,kBAAkB,EAAE,OAAO,CAAA;IAC3B,sBAAsB,EAAE,OAAO,CAAA;IAC/B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,yBAAyB,EAAE,OAAO,CAAA;IAClC,yBAAyB,EAAE,OAAO,CAAA;IAClC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,uBAAuB,EAAE,OAAO,CAAA;IAChC,cAAc,EAAE,iBAAiB,CAAA;IACjC,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yCASjB,CAAA;AAEF,wBAAgB,YAAY,CAC1B,IAAI,EAAE,gBAAgB,EACtB,QAAQ,EAAE,oBAAoB,EAC9B,cAAc,GAAE,OAAoB,gBAuDrC"}
@@ -1,9 +1,9 @@
1
- import { Address, IAccountMeta, IInstruction } from "@solana/kit";
1
+ import { Address, IInstruction } from "@solana/kit";
2
2
  export interface UpdateFeesAndRewardsAccounts {
3
3
  whirlpool: Address;
4
4
  position: Address;
5
5
  tickArrayLower: Address;
6
6
  tickArrayUpper: Address;
7
7
  }
8
- export declare function updateFeesAndRewards(accounts: UpdateFeesAndRewardsAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
8
+ export declare function updateFeesAndRewards(accounts: UpdateFeesAndRewardsAccounts, programAddress?: Address): IInstruction;
9
9
  //# sourceMappingURL=updateFeesAndRewards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateFeesAndRewards.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/updateFeesAndRewards.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,YAAY,EAGb,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,cAAc,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,4BAA4B,EACtC,cAAc,GAAE,OAAoB,sHAYrC"}
1
+ {"version":3,"file":"updateFeesAndRewards.d.ts","sourceRoot":"","sources":["../../../../src/@codegen/whirlpools/instructions/updateFeesAndRewards.ts"],"names":[],"mappings":"AACA,OAAO,EACL,OAAO,EAIP,YAAY,EAGb,MAAM,aAAa,CAAA;AAQpB,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,cAAc,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,OAAO,CAAA;CACxB;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,4BAA4B,EACtC,cAAc,GAAE,OAAoB,gBAYrC"}
package/dist/Kamino.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HubbleConfig, SolanaCluster } from '@hubbleprotocol/hubble-config';
2
- import { Account, Address, IInstruction, Option, Rpc, Slot, SolanaRpcApi, TransactionSigner } from '@solana/kit';
2
+ import { Account, Address, Instruction, Option, Rpc, Slot, SolanaRpcApi, TransactionSigner } from '@solana/kit';
3
3
  import { GlobalConfig, TermsSignature, WhirlpoolStrategy } from './@codegen/kliquidity/accounts';
4
4
  import Decimal from 'decimal.js';
5
5
  import { Position as OrcaPosition, Whirlpool } from './@codegen/whirlpools/accounts';
@@ -22,11 +22,9 @@ import LbPairWithAddress from './models/LbPairWithAddress';
22
22
  import { Token } from '@solana-program/token-2022';
23
23
  import { AddressLookupTable } from '@solana-program/address-lookup-table';
24
24
  import type { AccountInfoBase, AccountInfoWithJsonData, AccountInfoWithPubkey } from '@solana/rpc-types';
25
- import { Connection } from '@solana/web3.js';
26
25
  export declare class Kamino {
27
26
  private readonly _cluster;
28
27
  private readonly _rpc;
29
- private readonly _legacyConnection;
30
28
  readonly _config: HubbleConfig;
31
29
  private _globalConfig;
32
30
  private readonly _scope;
@@ -39,7 +37,6 @@ export declare class Kamino {
39
37
  * Create a new instance of the Kamino SDK class.
40
38
  * @param cluster Name of the Solana cluster
41
39
  * @param rpc Connection to the Solana cluster
42
- * @param legacyConnection Connection to the Solana cluster
43
40
  * @param globalConfig override kamino global config
44
41
  * @param programId override kamino program id
45
42
  * @param whirlpoolProgramId override whirlpool program id
@@ -47,9 +44,8 @@ export declare class Kamino {
47
44
  * @param meteoraProgramId
48
45
  * @param jupBaseAPI
49
46
  */
50
- constructor(cluster: SolanaCluster, rpc: Rpc<SolanaRpcApi>, legacyConnection: Connection, globalConfig?: Address, programId?: Address, whirlpoolProgramId?: Address, raydiumProgramId?: Address, meteoraProgramId?: Address, jupBaseAPI?: string);
47
+ constructor(cluster: SolanaCluster, rpc: Rpc<SolanaRpcApi>, globalConfig?: Address, programId?: Address, whirlpoolProgramId?: Address, raydiumProgramId?: Address, meteoraProgramId?: Address, jupBaseAPI?: string);
51
48
  getConnection: () => Rpc<import("@solana/kit").RequestAirdropApi & import("@solana/kit").GetAccountInfoApi & import("@solana/kit").GetBalanceApi & import("@solana/kit").GetBlockApi & import("@solana/kit").GetBlockCommitmentApi & import("@solana/kit").GetBlockHeightApi & import("@solana/kit").GetBlockProductionApi & import("@solana/kit").GetBlocksApi & import("@solana/kit").GetBlocksWithLimitApi & import("@solana/kit").GetBlockTimeApi & import("@solana/kit").GetClusterNodesApi & import("@solana/kit").GetEpochInfoApi & import("@solana/kit").GetEpochScheduleApi & import("@solana/kit").GetFeeForMessageApi & import("@solana/kit").GetFirstAvailableBlockApi & import("@solana/kit").GetGenesisHashApi & import("@solana/kit").GetHealthApi & import("@solana/kit").GetHighestSnapshotSlotApi & import("@solana/kit").GetIdentityApi & import("@solana/kit").GetInflationGovernorApi & import("@solana/kit").GetInflationRateApi & import("@solana/kit").GetInflationRewardApi & import("@solana/kit").GetLargestAccountsApi & import("@solana/kit").GetLatestBlockhashApi & import("@solana/kit").GetLeaderScheduleApi & import("@solana/kit").GetMaxRetransmitSlotApi & import("@solana/kit").GetMaxShredInsertSlotApi & import("@solana/kit").GetMinimumBalanceForRentExemptionApi & import("@solana/kit").GetMultipleAccountsApi & import("@solana/kit").GetProgramAccountsApi & import("@solana/kit").GetRecentPerformanceSamplesApi & import("@solana/kit").GetRecentPrioritizationFeesApi & import("@solana/kit").GetSignaturesForAddressApi & import("@solana/kit").GetSignatureStatusesApi & import("@solana/kit").GetSlotApi & import("@solana/kit").GetSlotLeaderApi & import("@solana/kit").GetSlotLeadersApi & import("@solana/kit").GetStakeMinimumDelegationApi & import("@solana/kit").GetSupplyApi & import("@solana/kit").GetTokenAccountBalanceApi & import("@solana/kit").GetTokenAccountsByDelegateApi & import("@solana/kit").GetTokenAccountsByOwnerApi & import("@solana/kit").GetTokenLargestAccountsApi & import("@solana/kit").GetTokenSupplyApi & import("@solana/kit").GetTransactionApi & import("@solana/kit").GetTransactionCountApi & import("@solana/kit").GetVersionApi & import("@solana/kit").GetVoteAccountsApi & import("@solana/kit").IsBlockhashValidApi & import("@solana/kit").MinimumLedgerSlotApi & import("@solana/kit").SendTransactionApi & import("@solana/kit").SimulateTransactionApi>;
52
- getLegacyConnection: () => Connection;
53
49
  getProgramID: () => Address;
54
50
  setGlobalConfig: (globalConfig: Address) => void;
55
51
  getGlobalConfig: () => Address;
@@ -288,7 +284,7 @@ export declare class Kamino {
288
284
  * @param sharesAta associated token account for shares
289
285
  * @returns list of transaction instructions (empty if all accounts already exist)
290
286
  */
291
- getCreateAssociatedTokenAccountInstructionsIfNotExist: (owner: TransactionSigner, strategyState: StrategyWithAddress, tokenAData: Account<Token> | null, tokenAAta: Address, tokenBData: Account<Token> | null, tokenBAta: Address, sharesMintData: Account<Token> | null, sharesAta: Address) => Promise<IInstruction[]>;
287
+ getCreateAssociatedTokenAccountInstructionsIfNotExist: (owner: TransactionSigner, strategyState: StrategyWithAddress, tokenAData: Account<Token> | null, tokenAAta: Address, tokenBData: Account<Token> | null, tokenBAta: Address, sharesMintData: Account<Token> | null, sharesAta: Address) => Promise<Instruction[]>;
292
288
  /**
293
289
  * Check if strategy has already been fetched (is StrategyWithAddress type) and return that,
294
290
  * otherwise fetch it first from Address and return it
@@ -327,7 +323,7 @@ export declare class Kamino {
327
323
  * @param owner Owner (wallet, shareholder) public key
328
324
  * @returns transaction instruction for depositing tokens into a strategy
329
325
  */
330
- deposit: (strategy: Address | StrategyWithAddress, amountA: Decimal, amountB: Decimal, owner: TransactionSigner) => Promise<IInstruction>;
326
+ deposit: (strategy: Address | StrategyWithAddress, amountA: Decimal, amountB: Decimal, owner: TransactionSigner) => Promise<Instruction>;
331
327
  singleSidedDepositTokenA: (strategy: Address | StrategyWithAddress, amountToDeposit: Decimal, owner: TransactionSigner, slippageBps: Decimal, profiler?: ProfiledFunctionExecution, swapIxsBuilder?: SwapperIxBuilder, initialUserTokenAtaBalances?: TokensBalances, priceAInB?: Decimal, includeAtaIxns?: boolean, // if true it includes create and close wsol and token atas,
332
328
  onlyDirectRoutes?: boolean) => Promise<InstructionsWithLookupTables>;
333
329
  singleSidedDepositTokenB: (strategy: Address | StrategyWithAddress, amountToDeposit: Decimal, owner: TransactionSigner, slippageBps: Decimal, profiler?: ProfiledFunctionExecution, swapIxsBuilder?: SwapperIxBuilder, initialUserTokenAtaBalances?: TokensBalances, priceAInB?: Decimal, includeAtaIxns?: boolean, // if true it includes create and close wsol and token atas,
@@ -341,7 +337,7 @@ export declare class Kamino {
341
337
  * @param amountLamports Amount of SOL to deposit into topup vault
342
338
  * @returns transaction instruction for adding SOL to topup vault
343
339
  */
344
- upkeepTopupVault: (owner: TransactionSigner, amountLamports: Decimal) => Promise<IInstruction>;
340
+ upkeepTopupVault: (owner: TransactionSigner, amountLamports: Decimal) => Promise<Instruction>;
345
341
  /**
346
342
  * Get the topup vault balance in SOL.
347
343
  * @param owner Owner (wallet, shareholder) public key
@@ -354,10 +350,10 @@ export declare class Kamino {
354
350
  * @param amount Amount of SOL to withdraw from the topup vault
355
351
  * @returns transaction instruction for removing SOL from the topup vault
356
352
  */
357
- withdrawTopupVault: (owner: TransactionSigner, amount: Decimal) => Promise<IInstruction>;
358
- getJupSwapIxsWithMaxAccounts: (input: DepositAmountsForSwap, tokenAMint: Address, tokenBMint: Address, owner: Address, slippageBps: Decimal, useOnlyLegacyTransaction: boolean, existingAccounts: Address[], maxAccounts: number, profiler?: ProfiledFunctionExecution, onlyDirectRoutes?: boolean) => Promise<[IInstruction[], Address[]]>;
359
- getJupSwapIxsV6: (input: DepositAmountsForSwap, tokenAMint: Address, tokenBMint: Address, owner: Address, slippageBps: Decimal, useOnlyLegacyTransaction: boolean, existingAccounts: Address[], profiledFunctionExecution?: ProfiledFunctionExecution, onlyDirectRoutes?: boolean) => Promise<[IInstruction[], Address[]]>;
360
- getCheckExpectedVaultsBalancesIx: (strategy: StrategyWithAddress, user: TransactionSigner, tokenAAta: Address, tokenBAta: Address, expectedTokensBalances?: MaybeTokensBalances) => Promise<IInstruction>;
353
+ withdrawTopupVault: (owner: TransactionSigner, amount: Decimal) => Promise<Instruction>;
354
+ getJupSwapIxsWithMaxAccounts: (input: DepositAmountsForSwap, tokenAMint: Address, tokenBMint: Address, owner: Address, slippageBps: Decimal, useOnlyLegacyTransaction: boolean, existingAccounts: Address[], maxAccounts: number, profiler?: ProfiledFunctionExecution, onlyDirectRoutes?: boolean) => Promise<[Instruction[], Address[]]>;
355
+ getJupSwapIxsV6: (input: DepositAmountsForSwap, tokenAMint: Address, tokenBMint: Address, owner: Address, slippageBps: Decimal, useOnlyLegacyTransaction: boolean, existingAccounts: Address[], profiledFunctionExecution?: ProfiledFunctionExecution, onlyDirectRoutes?: boolean) => Promise<[Instruction[], Address[]]>;
356
+ getCheckExpectedVaultsBalancesIx: (strategy: StrategyWithAddress, user: TransactionSigner, tokenAAta: Address, tokenBAta: Address, expectedTokensBalances?: MaybeTokensBalances) => Promise<Instruction>;
361
357
  /**
362
358
  * Get transaction instruction to create a new Kamino strategy.
363
359
  * Current limitations:
@@ -369,7 +365,7 @@ export declare class Kamino {
369
365
  * @param dex decentralized exchange specifier
370
366
  * @returns transaction instruction for Kamino strategy creation
371
367
  */
372
- createStrategy: (strategy: Address, pool: Address, owner: TransactionSigner, dex: Dex) => Promise<IInstruction>;
368
+ createStrategy: (strategy: Address, pool: Address, owner: TransactionSigner, dex: Dex) => Promise<Instruction>;
373
369
  /**
374
370
  * Get transaction instruction to close Kamino strategy, including its position if there is any
375
371
  * and strategy token accounts.
@@ -385,7 +381,7 @@ export declare class Kamino {
385
381
  * @param strategy public key of the strategy
386
382
  * @returns instruction to close the strategy
387
383
  */
388
- closeStrategy: (admin: TransactionSigner, strategy: Address | StrategyWithAddress) => Promise<IInstruction<string, readonly (import("@solana/kit").IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>>;
384
+ closeStrategy: (admin: TransactionSigner, strategy: Address | StrategyWithAddress) => Promise<import("@solana/kit").IInstruction>;
389
385
  getUserTopupVault: (user: Address) => Promise<Address>;
390
386
  /**
391
387
  * Find program adresses required for kamino strategy creation
@@ -402,8 +398,8 @@ export declare class Kamino {
402
398
  * @param newStrategy public key of the new strategy
403
399
  * @returns transaction instruction to create the account
404
400
  */
405
- createStrategyAccount: (payer: TransactionSigner, newStrategy: TransactionSigner) => Promise<IInstruction>;
406
- createAccountRentExempt: (payer: TransactionSigner, newAccount: TransactionSigner, size: bigint) => Promise<IInstruction>;
401
+ createStrategyAccount: (payer: TransactionSigner, newStrategy: TransactionSigner) => Promise<Instruction>;
402
+ createAccountRentExempt: (payer: TransactionSigner, newAccount: TransactionSigner, size: bigint) => Promise<Instruction>;
407
403
  /**
408
404
  * Get transaction instruction to collect strategy fees from the treasury fee
409
405
  * vaults and rewards from the reward vaults.
@@ -411,7 +407,7 @@ export declare class Kamino {
411
407
  * @param owner signer of the tx
412
408
  * @returns transaction instruction to collect strategy fees and rewards
413
409
  */
414
- collectFeesAndRewards: (strategy: Address | StrategyWithAddress, owner: TransactionSigner) => Promise<IInstruction>;
410
+ collectFeesAndRewards: (strategy: Address | StrategyWithAddress, owner: TransactionSigner) => Promise<Instruction>;
415
411
  /**
416
412
  * Get orca position metadata program addresses
417
413
  * @param positionMint mint account of the position
@@ -431,7 +427,7 @@ export declare class Kamino {
431
427
  * @param priceUpper new position's upper price of the range
432
428
  * @param status strategy status
433
429
  */
434
- openPosition: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, status?: StrategyStatusKind) => Promise<IInstruction>;
430
+ openPosition: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, status?: StrategyStatusKind) => Promise<Instruction>;
435
431
  /**
436
432
  * Get a transaction to open liquidity position for a Kamino strategy
437
433
  * @param strategy strategy you want to open liquidity position for
@@ -440,7 +436,7 @@ export declare class Kamino {
440
436
  * @param priceUpper new position's upper price of the range
441
437
  * @param status strategy status
442
438
  */
443
- openPositionOrca: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, status?: StrategyStatusKind) => Promise<IInstruction>;
439
+ openPositionOrca: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, status?: StrategyStatusKind) => Promise<Instruction>;
444
440
  /**
445
441
  * Get a transaction to open liquidity position for a Kamino strategy
446
442
  * @param strategy strategy you want to open liquidity position for
@@ -449,7 +445,7 @@ export declare class Kamino {
449
445
  * @param priceUpper new position's upper price of the range
450
446
  * @param status strategy status
451
447
  */
452
- openPositionRaydium: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldProtocolPositionOrBaseVaultAuthority: Address, eventAuthority: Option<Address>, status?: StrategyStatusKind, strategyRewardOVault?: Address, strategyReward1Vault?: Address, strategyReward2Vault?: Address) => Promise<IInstruction>;
448
+ openPositionRaydium: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, positionMint: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldProtocolPositionOrBaseVaultAuthority: Address, eventAuthority: Option<Address>, status?: StrategyStatusKind, strategyRewardOVault?: Address, strategyReward1Vault?: Address, strategyReward2Vault?: Address) => Promise<Instruction>;
453
449
  /**
454
450
  * Get a transaction to open liquidity position for a Kamino strategy
455
451
  * @param strategy strategy you want to open liquidity position for
@@ -458,42 +454,42 @@ export declare class Kamino {
458
454
  * @param priceUpper new position's upper price of the range
459
455
  * @param status strategy status
460
456
  */
461
- openPositionMeteora: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, position: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, eventAuthority: Option<Address>, status?: StrategyStatusKind) => Promise<IInstruction>;
457
+ openPositionMeteora: (adminAuthority: TransactionSigner, strategy: Address, baseVaultAuthority: Address, pool: Address, position: TransactionSigner, priceLower: Decimal, priceUpper: Decimal, tokenAVault: Address, tokenBVault: Address, tokenAMint: Address, tokenBMint: Address, tokenATokenProgram: Address, tokenBTokenProgram: Address, oldPositionOrBaseVaultAuthority: Address, oldPositionMintOrBaseVaultAuthority: Address, oldPositionTokenAccountOrBaseVaultAuthority: Address, oldTickArrayLowerOrBaseVaultAuthority: Address, oldTickArrayUpperOrBaseVaultAuthority: Address, eventAuthority: Option<Address>, status?: StrategyStatusKind) => Promise<Instruction>;
462
458
  /**
463
459
  * Get a transaction for executive withdrawal from a Kamino strategy.
464
460
  * @param strategy strategy pubkey or object
465
461
  * @param action withdrawal action
466
462
  * @returns transaction for executive withdrawal
467
463
  */
468
- executiveWithdraw: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, action: ExecutiveWithdrawActionKind) => Promise<IInstruction>;
464
+ executiveWithdraw: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, action: ExecutiveWithdrawActionKind) => Promise<Instruction>;
469
465
  /**
470
466
  * Get a an instruction to update the reference price type of a strategy
471
467
  * @param admin transaction signer
472
468
  * @param strategy strategy pubkey or object
473
469
  * @param referencePriceType new reference price type
474
470
  */
475
- getUpdateReferencePriceTypeIx: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, referencePriceType: ReferencePriceTypeKind) => Promise<IInstruction>;
471
+ getUpdateReferencePriceTypeIx: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, referencePriceType: ReferencePriceTypeKind) => Promise<Instruction>;
476
472
  /**
477
473
  * Get a transaction to invest funds from the Kamino vaults and put them into the DEX pool as liquidity.
478
474
  * @param strategy strategy pubkey or object
479
475
  * @param payer transaction payer
480
476
  */
481
- invest: (strategy: Address | StrategyWithAddress, payer: TransactionSigner) => Promise<IInstruction>;
477
+ invest: (strategy: Address | StrategyWithAddress, payer: TransactionSigner) => Promise<Instruction>;
482
478
  /**
483
479
  * Get a list of instructions to collect the pending fees and invest them into the Kamino strategy's position.
484
480
  * @param strategy strategy pubkey or object
485
481
  * @param payer transaction payer
486
482
  */
487
- compound: (strategy: Address | StrategyWithAddress, payer: TransactionSigner) => Promise<IInstruction[]>;
483
+ compound: (strategy: Address | StrategyWithAddress, payer: TransactionSigner) => Promise<Instruction[]>;
488
484
  /**
489
485
  * Get a the pending fees in lamports of a strategy.
490
486
  * @param strategy strategy pubkey or object
491
487
  */
492
488
  getPendingFees: (strategies: Address[]) => Promise<StrategyWithPendingFees[]>;
493
- getUpdateRebalancingParamsFromRebalanceFieldsIx: (strategyAdmin: TransactionSigner, strategy: Address | StrategyWithAddress, rebalanceFieldInfos: RebalanceFieldInfo[]) => Promise<IInstruction>;
489
+ getUpdateRebalancingParamsFromRebalanceFieldsIx: (strategyAdmin: TransactionSigner, strategy: Address | StrategyWithAddress, rebalanceFieldInfos: RebalanceFieldInfo[]) => Promise<Instruction>;
494
490
  processRebalanceParams: (dex: Dex, pool: Address | WhirlpoolWithAddress, rebalanceType: Decimal, rebalanceParams: Decimal[]) => Promise<Decimal[]>;
495
- getUpdateRebalancingParamsIxns: (strategyAdmin: TransactionSigner, strategy: Address | StrategyWithAddress, rebalanceParams: Decimal[], rebalanceType?: RebalanceTypeKind, tokenADecimals?: number, tokenBDecimals?: number) => Promise<IInstruction>;
496
- getUpdateRebalancingParamsForUninitializedStratIx: (strategyAdmin: TransactionSigner, strategy: Address, rebalanceParams: Decimal[], rebalanceType: RebalanceTypeKind, tokenADecimals: number, tokenBDecimals: number) => Promise<IInstruction>;
491
+ getUpdateRebalancingParamsIxns: (strategyAdmin: TransactionSigner, strategy: Address | StrategyWithAddress, rebalanceParams: Decimal[], rebalanceType?: RebalanceTypeKind, tokenADecimals?: number, tokenBDecimals?: number) => Promise<Instruction>;
492
+ getUpdateRebalancingParamsForUninitializedStratIx: (strategyAdmin: TransactionSigner, strategy: Address, rebalanceParams: Decimal[], rebalanceType: RebalanceTypeKind, tokenADecimals: number, tokenBDecimals: number) => Promise<Instruction>;
497
493
  buildStrategyRebalanceParams: (strategy: Address | StrategyWithAddress) => Promise<number[]>;
498
494
  /**
499
495
  * Get a list of instructions to initialize and set up a strategy
@@ -557,15 +553,15 @@ export declare class Kamino {
557
553
  getCollateralIdFromMint: (mint: Address, collateralInfos: CollateralInfo[]) => number;
558
554
  getMainLookupTablePks: () => Promise<Address[]>;
559
555
  getMainLookupTable: () => Promise<Account<AddressLookupTable>[] | undefined>;
560
- getInitLookupTableIx: (authority: TransactionSigner, slot?: Slot) => Promise<[IInstruction, Address]>;
561
- getPopulateLookupTableIxs: (authority: TransactionSigner, lookupTable: Address, strategy: Address | StrategyWithAddress) => Promise<IInstruction[]>;
562
- getAddLookupTableEntriesIxs: (authority: TransactionSigner, lookupTable: Address, entries: Address[]) => IInstruction[];
556
+ getInitLookupTableIx: (authority: TransactionSigner, slot?: Slot) => Promise<[Instruction, Address]>;
557
+ getPopulateLookupTableIxs: (authority: TransactionSigner, lookupTable: Address, strategy: Address | StrategyWithAddress) => Promise<Instruction[]>;
558
+ getAddLookupTableEntriesIxs: (authority: TransactionSigner, lookupTable: Address, entries: Address[]) => Instruction[];
563
559
  getLookupTable: (tablePk: Address) => Promise<Account<AddressLookupTable>>;
564
560
  setupStrategyLookupTable: (authority: TransactionSigner, strategy: Address | StrategyWithAddress, slot?: Slot) => Promise<{
565
561
  lookupTable: Address;
566
- createLookupTableIx: IInstruction;
567
- populateLookupTableIxs: IInstruction[];
568
- updateStrategyLookupTableIx: IInstruction;
562
+ createLookupTableIx: Instruction;
563
+ populateLookupTableIxs: Instruction[];
564
+ updateStrategyLookupTableIx: Instruction;
569
565
  }>;
570
566
  getEstimatedApyAndVolumeOnRangeOrca: () => Promise<GenericPositionRangeInfo>;
571
567
  getEstimatedApyAndVolumeOnRangeRaydium: () => Promise<GenericPositionRangeInfo>;
@@ -587,7 +583,7 @@ export declare class Kamino {
587
583
  * @param priceUpper new position's upper price of the range
588
584
  * @returns list of transactions to rebalance (executive withdraw, collect fees/rewards, open new position, invest)
589
585
  */
590
- rebalance: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, newPosition: TransactionSigner, priceLower: Decimal, priceUpper: Decimal) => Promise<IInstruction[]>;
586
+ rebalance: (admin: TransactionSigner, strategy: Address | StrategyWithAddress, newPosition: TransactionSigner, priceLower: Decimal, priceUpper: Decimal) => Promise<Instruction[]>;
591
587
  /**
592
588
  * Get a list of user's Kamino strategy positions
593
589
  * @param wallet user wallet address
@@ -673,7 +669,7 @@ export declare class Kamino {
673
669
  * @param owner
674
670
  * @param signature
675
671
  */
676
- getUserTermsSignatureIx(owner: TransactionSigner, signature: Uint8Array): Promise<IInstruction>;
672
+ getUserTermsSignatureIx(owner: TransactionSigner, signature: Uint8Array): Promise<Instruction>;
677
673
  private getDepositRatioFromAOrca;
678
674
  private getDepositRatioFromAMeteora;
679
675
  private getDepositRatioFromBMeteora;
@@ -688,8 +684,8 @@ export declare class Kamino {
688
684
  aVault: Decimal;
689
685
  bVault: Decimal;
690
686
  }>;
691
- getUpdateStrategyParamsIxs: (strategyAdmin: TransactionSigner, strategy: Address, rebalanceType: Decimal, withdrawFeeBps?: Decimal, performanceFeeBps?: Decimal) => Promise<IInstruction[]>;
692
- getUpdateRewardsIxs: (strategyOwner: TransactionSigner, strategy: Address | StrategyWithAddress) => Promise<[IInstruction, TransactionSigner][]>;
687
+ getUpdateStrategyParamsIxs: (strategyAdmin: TransactionSigner, strategy: Address, rebalanceType: Decimal, withdrawFeeBps?: Decimal, performanceFeeBps?: Decimal) => Promise<Instruction[]>;
688
+ getUpdateRewardsIxs: (strategyOwner: TransactionSigner, strategy: Address | StrategyWithAddress) => Promise<[Instruction, TransactionSigner][]>;
693
689
  /**
694
690
  * Get the instruction to create an Orca Whirlpool tick, if it does not exist
695
691
  * @param payer