@haven-fi/solauto-sdk 1.0.192 → 1.0.193

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) hide show
  1. package/dist/clients/solautoClient.d.ts +1 -1
  2. package/dist/clients/solautoClient.d.ts.map +1 -1
  3. package/dist/clients/solautoMarginfiClient.d.ts +1 -1
  4. package/dist/clients/solautoMarginfiClient.d.ts.map +1 -1
  5. package/dist/clients/solautoMarginfiClient.js +1 -2
  6. package/dist/constants/solautoConstants.d.ts +0 -1
  7. package/dist/constants/solautoConstants.d.ts.map +1 -1
  8. package/dist/constants/solautoConstants.js +1 -2
  9. package/dist/generated/instructions/marginfiRebalance.d.ts +0 -2
  10. package/dist/generated/instructions/marginfiRebalance.d.ts.map +1 -1
  11. package/dist/generated/instructions/marginfiRebalance.js +0 -1
  12. package/dist/jupiter-sdk/accounts/index.d.ts +9 -0
  13. package/dist/jupiter-sdk/accounts/index.d.ts.map +1 -0
  14. package/dist/jupiter-sdk/accounts/index.js +24 -0
  15. package/dist/jupiter-sdk/accounts/tokenLedger.d.ts +32 -0
  16. package/dist/jupiter-sdk/accounts/tokenLedger.d.ts.map +1 -0
  17. package/dist/jupiter-sdk/accounts/tokenLedger.js +68 -0
  18. package/dist/jupiter-sdk/index.d.ts +4 -0
  19. package/dist/jupiter-sdk/index.d.ts.map +1 -1
  20. package/dist/jupiter-sdk/index.js +4 -0
  21. package/dist/jupiter-sdk/instructions/aldrinSwap.d.ts +29 -0
  22. package/dist/jupiter-sdk/instructions/aldrinSwap.d.ts.map +1 -0
  23. package/dist/jupiter-sdk/instructions/aldrinSwap.js +95 -0
  24. package/dist/jupiter-sdk/instructions/aldrinV2Swap.d.ts +30 -0
  25. package/dist/jupiter-sdk/instructions/aldrinV2Swap.d.ts.map +1 -0
  26. package/dist/jupiter-sdk/instructions/aldrinV2Swap.js +100 -0
  27. package/dist/jupiter-sdk/instructions/balansolSwap.d.ts +34 -0
  28. package/dist/jupiter-sdk/instructions/balansolSwap.d.ts.map +1 -0
  29. package/dist/jupiter-sdk/instructions/balansolSwap.js +130 -0
  30. package/dist/jupiter-sdk/instructions/claim.d.ts +25 -0
  31. package/dist/jupiter-sdk/instructions/claim.d.ts.map +1 -0
  32. package/dist/jupiter-sdk/instructions/claim.js +64 -0
  33. package/dist/jupiter-sdk/instructions/claimToken.d.ts +31 -0
  34. package/dist/jupiter-sdk/instructions/claimToken.d.ts.map +1 -0
  35. package/dist/jupiter-sdk/instructions/claimToken.js +93 -0
  36. package/dist/jupiter-sdk/instructions/cloneSwap.d.ts +34 -0
  37. package/dist/jupiter-sdk/instructions/cloneSwap.d.ts.map +1 -0
  38. package/dist/jupiter-sdk/instructions/cloneSwap.js +120 -0
  39. package/dist/jupiter-sdk/instructions/createOpenOrders.d.ts +24 -0
  40. package/dist/jupiter-sdk/instructions/createOpenOrders.d.ts.map +1 -0
  41. package/dist/jupiter-sdk/instructions/createOpenOrders.js +76 -0
  42. package/dist/jupiter-sdk/instructions/createProgramOpenOrders.d.ts +29 -0
  43. package/dist/jupiter-sdk/instructions/createProgramOpenOrders.d.ts.map +1 -0
  44. package/dist/jupiter-sdk/instructions/createProgramOpenOrders.js +86 -0
  45. package/dist/jupiter-sdk/instructions/createTokenAccount.d.ts +27 -0
  46. package/dist/jupiter-sdk/instructions/createTokenAccount.d.ts.map +1 -0
  47. package/dist/jupiter-sdk/instructions/createTokenAccount.js +70 -0
  48. package/dist/jupiter-sdk/instructions/createTokenLedger.d.ts +21 -0
  49. package/dist/jupiter-sdk/instructions/createTokenLedger.d.ts.map +1 -0
  50. package/dist/jupiter-sdk/instructions/createTokenLedger.js +62 -0
  51. package/dist/jupiter-sdk/instructions/cremaSwap.d.ts +33 -0
  52. package/dist/jupiter-sdk/instructions/cremaSwap.d.ts.map +1 -0
  53. package/dist/jupiter-sdk/instructions/cremaSwap.js +119 -0
  54. package/dist/jupiter-sdk/instructions/cropperSwap.d.ts +30 -0
  55. package/dist/jupiter-sdk/instructions/cropperSwap.d.ts.map +1 -0
  56. package/dist/jupiter-sdk/instructions/cropperSwap.js +103 -0
  57. package/dist/jupiter-sdk/instructions/cykuraSwap.d.ts +29 -0
  58. package/dist/jupiter-sdk/instructions/cykuraSwap.d.ts.map +1 -0
  59. package/dist/jupiter-sdk/instructions/cykuraSwap.js +99 -0
  60. package/dist/jupiter-sdk/instructions/deltafiSwap.d.ts +31 -0
  61. package/dist/jupiter-sdk/instructions/deltafiSwap.d.ts.map +1 -0
  62. package/dist/jupiter-sdk/instructions/deltafiSwap.js +109 -0
  63. package/dist/jupiter-sdk/instructions/dradexSwap.d.ts +35 -0
  64. package/dist/jupiter-sdk/instructions/dradexSwap.d.ts.map +1 -0
  65. package/dist/jupiter-sdk/instructions/dradexSwap.js +121 -0
  66. package/dist/jupiter-sdk/instructions/exactOutRoute.d.ts +42 -0
  67. package/dist/jupiter-sdk/instructions/exactOutRoute.d.ts.map +1 -0
  68. package/dist/jupiter-sdk/instructions/exactOutRoute.js +109 -0
  69. package/dist/jupiter-sdk/instructions/goosefxSwap.d.ts +33 -0
  70. package/dist/jupiter-sdk/instructions/goosefxSwap.d.ts.map +1 -0
  71. package/dist/jupiter-sdk/instructions/goosefxSwap.js +115 -0
  72. package/dist/jupiter-sdk/instructions/goosefxV2Swap.d.ts +38 -0
  73. package/dist/jupiter-sdk/instructions/goosefxV2Swap.d.ts.map +1 -0
  74. package/dist/jupiter-sdk/instructions/goosefxV2Swap.js +140 -0
  75. package/dist/jupiter-sdk/instructions/heliumTreasuryManagementRedeemV0.d.ts +29 -0
  76. package/dist/jupiter-sdk/instructions/heliumTreasuryManagementRedeemV0.d.ts.map +1 -0
  77. package/dist/jupiter-sdk/instructions/heliumTreasuryManagementRedeemV0.js +91 -0
  78. package/dist/jupiter-sdk/instructions/index.d.ts +72 -0
  79. package/dist/jupiter-sdk/instructions/index.d.ts.map +1 -0
  80. package/dist/jupiter-sdk/instructions/index.js +87 -0
  81. package/dist/jupiter-sdk/instructions/invariantSwap.d.ts +29 -0
  82. package/dist/jupiter-sdk/instructions/invariantSwap.d.ts.map +1 -0
  83. package/dist/jupiter-sdk/instructions/invariantSwap.js +95 -0
  84. package/dist/jupiter-sdk/instructions/lifinitySwap.d.ts +32 -0
  85. package/dist/jupiter-sdk/instructions/lifinitySwap.d.ts.map +1 -0
  86. package/dist/jupiter-sdk/instructions/lifinitySwap.js +113 -0
  87. package/dist/jupiter-sdk/instructions/lifinityV2Swap.d.ts +32 -0
  88. package/dist/jupiter-sdk/instructions/lifinityV2Swap.d.ts.map +1 -0
  89. package/dist/jupiter-sdk/instructions/lifinityV2Swap.js +113 -0
  90. package/dist/jupiter-sdk/instructions/marcoPoloSwap.d.ts +36 -0
  91. package/dist/jupiter-sdk/instructions/marcoPoloSwap.d.ts.map +1 -0
  92. package/dist/jupiter-sdk/instructions/marcoPoloSwap.js +137 -0
  93. package/dist/jupiter-sdk/instructions/marinadeDeposit.d.ts +36 -0
  94. package/dist/jupiter-sdk/instructions/marinadeDeposit.d.ts.map +1 -0
  95. package/dist/jupiter-sdk/instructions/marinadeDeposit.js +144 -0
  96. package/dist/jupiter-sdk/instructions/marinadeUnstake.d.ts +30 -0
  97. package/dist/jupiter-sdk/instructions/marinadeUnstake.d.ts.map +1 -0
  98. package/dist/jupiter-sdk/instructions/marinadeUnstake.js +105 -0
  99. package/dist/jupiter-sdk/instructions/mercurialSwap.d.ts +25 -0
  100. package/dist/jupiter-sdk/instructions/mercurialSwap.d.ts.map +1 -0
  101. package/dist/jupiter-sdk/instructions/mercurialSwap.js +76 -0
  102. package/dist/jupiter-sdk/instructions/meteoraDlmmSwap.d.ts +34 -0
  103. package/dist/jupiter-sdk/instructions/meteoraDlmmSwap.d.ts.map +1 -0
  104. package/dist/jupiter-sdk/instructions/meteoraDlmmSwap.js +119 -0
  105. package/dist/jupiter-sdk/instructions/meteoraSwap.d.ts +34 -0
  106. package/dist/jupiter-sdk/instructions/meteoraSwap.d.ts.map +1 -0
  107. package/dist/jupiter-sdk/instructions/meteoraSwap.js +120 -0
  108. package/dist/jupiter-sdk/instructions/moonshotWrappedBuy.d.ts +33 -0
  109. package/dist/jupiter-sdk/instructions/moonshotWrappedBuy.d.ts.map +1 -0
  110. package/dist/jupiter-sdk/instructions/moonshotWrappedBuy.js +119 -0
  111. package/dist/jupiter-sdk/instructions/moonshotWrappedSell.d.ts +31 -0
  112. package/dist/jupiter-sdk/instructions/moonshotWrappedSell.d.ts.map +1 -0
  113. package/dist/jupiter-sdk/instructions/moonshotWrappedSell.js +106 -0
  114. package/dist/jupiter-sdk/instructions/obricSwap.d.ts +31 -0
  115. package/dist/jupiter-sdk/instructions/obricSwap.d.ts.map +1 -0
  116. package/dist/jupiter-sdk/instructions/obricSwap.js +106 -0
  117. package/dist/jupiter-sdk/instructions/oneIntroSwap.d.ts +30 -0
  118. package/dist/jupiter-sdk/instructions/oneIntroSwap.d.ts.map +1 -0
  119. package/dist/jupiter-sdk/instructions/oneIntroSwap.js +100 -0
  120. package/dist/jupiter-sdk/instructions/openBookV2Swap.d.ts +35 -0
  121. package/dist/jupiter-sdk/instructions/openBookV2Swap.d.ts.map +1 -0
  122. package/dist/jupiter-sdk/instructions/openBookV2Swap.js +125 -0
  123. package/dist/jupiter-sdk/instructions/perpsAddLiquidity.d.ts +32 -0
  124. package/dist/jupiter-sdk/instructions/perpsAddLiquidity.d.ts.map +1 -0
  125. package/dist/jupiter-sdk/instructions/perpsAddLiquidity.js +110 -0
  126. package/dist/jupiter-sdk/instructions/perpsRemoveLiquidity.d.ts +32 -0
  127. package/dist/jupiter-sdk/instructions/perpsRemoveLiquidity.d.ts.map +1 -0
  128. package/dist/jupiter-sdk/instructions/perpsRemoveLiquidity.js +110 -0
  129. package/dist/jupiter-sdk/instructions/perpsSwap.d.ts +34 -0
  130. package/dist/jupiter-sdk/instructions/perpsSwap.d.ts.map +1 -0
  131. package/dist/jupiter-sdk/instructions/perpsSwap.js +120 -0
  132. package/dist/jupiter-sdk/instructions/perpsV2AddLiquidity.d.ts +33 -0
  133. package/dist/jupiter-sdk/instructions/perpsV2AddLiquidity.d.ts.map +1 -0
  134. package/dist/jupiter-sdk/instructions/perpsV2AddLiquidity.js +115 -0
  135. package/dist/jupiter-sdk/instructions/perpsV2RemoveLiquidity.d.ts +33 -0
  136. package/dist/jupiter-sdk/instructions/perpsV2RemoveLiquidity.d.ts.map +1 -0
  137. package/dist/jupiter-sdk/instructions/perpsV2RemoveLiquidity.js +112 -0
  138. package/dist/jupiter-sdk/instructions/perpsV2Swap.d.ts +36 -0
  139. package/dist/jupiter-sdk/instructions/perpsV2Swap.d.ts.map +1 -0
  140. package/dist/jupiter-sdk/instructions/perpsV2Swap.js +130 -0
  141. package/dist/jupiter-sdk/instructions/phoenixSwap.d.ts +27 -0
  142. package/dist/jupiter-sdk/instructions/phoenixSwap.d.ts.map +1 -0
  143. package/dist/jupiter-sdk/instructions/phoenixSwap.js +89 -0
  144. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedBuy.d.ts +34 -0
  145. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedBuy.d.ts.map +1 -0
  146. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedBuy.js +123 -0
  147. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedSell.d.ts +32 -0
  148. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedSell.d.ts.map +1 -0
  149. package/dist/jupiter-sdk/instructions/pumpdotfunWrappedSell.js +107 -0
  150. package/dist/jupiter-sdk/instructions/raydiumClmmSwap.d.ts +29 -0
  151. package/dist/jupiter-sdk/instructions/raydiumClmmSwap.d.ts.map +1 -0
  152. package/dist/jupiter-sdk/instructions/raydiumClmmSwap.js +102 -0
  153. package/dist/jupiter-sdk/instructions/raydiumClmmSwapV2.d.ts +32 -0
  154. package/dist/jupiter-sdk/instructions/raydiumClmmSwapV2.d.ts.map +1 -0
  155. package/dist/jupiter-sdk/instructions/raydiumClmmSwapV2.js +117 -0
  156. package/dist/jupiter-sdk/instructions/raydiumCpSwap.d.ts +32 -0
  157. package/dist/jupiter-sdk/instructions/raydiumCpSwap.d.ts.map +1 -0
  158. package/dist/jupiter-sdk/instructions/raydiumCpSwap.js +116 -0
  159. package/dist/jupiter-sdk/instructions/raydiumSwap.d.ts +36 -0
  160. package/dist/jupiter-sdk/instructions/raydiumSwap.d.ts.map +1 -0
  161. package/dist/jupiter-sdk/instructions/raydiumSwap.js +134 -0
  162. package/dist/jupiter-sdk/instructions/route.d.ts +40 -0
  163. package/dist/jupiter-sdk/instructions/route.d.ts.map +1 -0
  164. package/dist/jupiter-sdk/instructions/route.js +99 -0
  165. package/dist/jupiter-sdk/instructions/routeWithTokenLedger.d.ts +39 -0
  166. package/dist/jupiter-sdk/instructions/routeWithTokenLedger.d.ts.map +1 -0
  167. package/dist/jupiter-sdk/instructions/routeWithTokenLedger.js +103 -0
  168. package/dist/jupiter-sdk/instructions/saberAddDecimals.d.ts +26 -0
  169. package/dist/jupiter-sdk/instructions/saberAddDecimals.d.ts.map +1 -0
  170. package/dist/jupiter-sdk/instructions/saberAddDecimals.js +81 -0
  171. package/dist/jupiter-sdk/instructions/saberSwap.d.ts +28 -0
  172. package/dist/jupiter-sdk/instructions/saberSwap.d.ts.map +1 -0
  173. package/dist/jupiter-sdk/instructions/saberSwap.js +87 -0
  174. package/dist/jupiter-sdk/instructions/senchaSwap.d.ts +28 -0
  175. package/dist/jupiter-sdk/instructions/senchaSwap.d.ts.map +1 -0
  176. package/dist/jupiter-sdk/instructions/senchaSwap.js +90 -0
  177. package/dist/jupiter-sdk/instructions/serumSwap.d.ts +34 -0
  178. package/dist/jupiter-sdk/instructions/serumSwap.d.ts.map +1 -0
  179. package/dist/jupiter-sdk/instructions/serumSwap.js +122 -0
  180. package/dist/jupiter-sdk/instructions/setTokenLedger.d.ts +20 -0
  181. package/dist/jupiter-sdk/instructions/setTokenLedger.d.ts.map +1 -0
  182. package/dist/jupiter-sdk/instructions/setTokenLedger.js +46 -0
  183. package/dist/jupiter-sdk/instructions/sharedAccountsExactOutRoute.d.ts +46 -0
  184. package/dist/jupiter-sdk/instructions/sharedAccountsExactOutRoute.d.ts.map +1 -0
  185. package/dist/jupiter-sdk/instructions/sharedAccountsExactOutRoute.js +120 -0
  186. package/dist/jupiter-sdk/instructions/sharedAccountsRoute.d.ts +46 -0
  187. package/dist/jupiter-sdk/instructions/sharedAccountsRoute.d.ts.map +1 -0
  188. package/dist/jupiter-sdk/instructions/sharedAccountsRoute.js +120 -0
  189. package/dist/jupiter-sdk/instructions/sharedAccountsRouteWithTokenLedger.d.ts +45 -0
  190. package/dist/jupiter-sdk/instructions/sharedAccountsRouteWithTokenLedger.d.ts.map +1 -0
  191. package/dist/jupiter-sdk/instructions/sharedAccountsRouteWithTokenLedger.js +126 -0
  192. package/dist/jupiter-sdk/instructions/stabbleStableSwap.d.ts +31 -0
  193. package/dist/jupiter-sdk/instructions/stabbleStableSwap.d.ts.map +1 -0
  194. package/dist/jupiter-sdk/instructions/stabbleStableSwap.js +101 -0
  195. package/dist/jupiter-sdk/instructions/stabbleWeightedSwap.d.ts +31 -0
  196. package/dist/jupiter-sdk/instructions/stabbleWeightedSwap.d.ts.map +1 -0
  197. package/dist/jupiter-sdk/instructions/stabbleWeightedSwap.js +101 -0
  198. package/dist/jupiter-sdk/instructions/stepSwap.d.ts +29 -0
  199. package/dist/jupiter-sdk/instructions/stepSwap.d.ts.map +1 -0
  200. package/dist/jupiter-sdk/instructions/stepSwap.js +98 -0
  201. package/dist/jupiter-sdk/instructions/symmetrySwap.d.ts +32 -0
  202. package/dist/jupiter-sdk/instructions/symmetrySwap.d.ts.map +1 -0
  203. package/dist/jupiter-sdk/instructions/symmetrySwap.js +114 -0
  204. package/dist/jupiter-sdk/instructions/tokenSwap.d.ts +29 -0
  205. package/dist/jupiter-sdk/instructions/tokenSwap.d.ts.map +1 -0
  206. package/dist/jupiter-sdk/instructions/tokenSwap.js +98 -0
  207. package/dist/jupiter-sdk/instructions/tokenSwapV2.d.ts +33 -0
  208. package/dist/jupiter-sdk/instructions/tokenSwapV2.d.ts.map +1 -0
  209. package/dist/jupiter-sdk/instructions/tokenSwapV2.js +114 -0
  210. package/dist/jupiter-sdk/instructions/whirlpoolSwap.d.ts +31 -0
  211. package/dist/jupiter-sdk/instructions/whirlpoolSwap.d.ts.map +1 -0
  212. package/dist/jupiter-sdk/instructions/whirlpoolSwap.js +104 -0
  213. package/dist/jupiter-sdk/instructions/whirlpoolSwapV2.d.ts +35 -0
  214. package/dist/jupiter-sdk/instructions/whirlpoolSwapV2.d.ts.map +1 -0
  215. package/dist/jupiter-sdk/instructions/whirlpoolSwapV2.js +119 -0
  216. package/dist/jupiter-sdk/shared/index.d.ts +54 -0
  217. package/dist/jupiter-sdk/shared/index.d.ts.map +1 -0
  218. package/dist/jupiter-sdk/shared/index.js +69 -0
  219. package/dist/jupiter-sdk/types/accountsType.d.ts +15 -0
  220. package/dist/jupiter-sdk/types/accountsType.d.ts.map +1 -0
  221. package/dist/jupiter-sdk/types/accountsType.js +22 -0
  222. package/dist/jupiter-sdk/types/amountWithSlippage.d.ts +18 -0
  223. package/dist/jupiter-sdk/types/amountWithSlippage.d.ts.map +1 -0
  224. package/dist/jupiter-sdk/types/amountWithSlippage.js +17 -0
  225. package/dist/jupiter-sdk/types/index.d.ts +15 -0
  226. package/dist/jupiter-sdk/types/index.d.ts.map +1 -0
  227. package/dist/jupiter-sdk/types/index.js +30 -0
  228. package/dist/jupiter-sdk/types/remainingAccountsInfo.d.ts +17 -0
  229. package/dist/jupiter-sdk/types/remainingAccountsInfo.d.ts.map +1 -0
  230. package/dist/jupiter-sdk/types/remainingAccountsInfo.js +15 -0
  231. package/dist/jupiter-sdk/types/remainingAccountsSlice.d.ts +19 -0
  232. package/dist/jupiter-sdk/types/remainingAccountsSlice.d.ts.map +1 -0
  233. package/dist/jupiter-sdk/types/remainingAccountsSlice.js +18 -0
  234. package/dist/jupiter-sdk/types/routePlanStep.d.ts +23 -0
  235. package/dist/jupiter-sdk/types/routePlanStep.d.ts.map +1 -0
  236. package/dist/jupiter-sdk/types/routePlanStep.js +20 -0
  237. package/dist/jupiter-sdk/types/side.d.ts +15 -0
  238. package/dist/jupiter-sdk/types/side.d.ts.map +1 -0
  239. package/dist/jupiter-sdk/types/side.js +20 -0
  240. package/dist/jupiter-sdk/types/swap.d.ts +372 -0
  241. package/dist/jupiter-sdk/types/swap.d.ts.map +1 -0
  242. package/dist/jupiter-sdk/types/swap.js +188 -0
  243. package/dist/transactions/transactionUtils.d.ts.map +1 -1
  244. package/dist/transactions/transactionUtils.js +0 -1
  245. package/dist/utils/solauto/rebalanceUtils.d.ts +1 -1
  246. package/dist/utils/solauto/rebalanceUtils.d.ts.map +1 -1
  247. package/dist/utils/solauto/rebalanceUtils.js +2 -16
  248. package/package.json +1 -1
  249. package/src/clients/solautoClient.ts +0 -1
  250. package/src/clients/solautoMarginfiClient.ts +0 -2
  251. package/src/constants/solautoConstants.ts +0 -1
  252. package/src/generated/instructions/marginfiRebalance.ts +0 -3
  253. package/src/jupiter-sdk/accounts/index.ts +9 -0
  254. package/src/jupiter-sdk/accounts/tokenLedger.ts +146 -0
  255. package/src/jupiter-sdk/index.ts +4 -0
  256. package/src/jupiter-sdk/instructions/aldrinSwap.ts +165 -0
  257. package/src/jupiter-sdk/instructions/aldrinV2Swap.ts +171 -0
  258. package/src/jupiter-sdk/instructions/balansolSwap.ts +211 -0
  259. package/src/jupiter-sdk/instructions/claim.ts +128 -0
  260. package/src/jupiter-sdk/instructions/claimToken.ts +171 -0
  261. package/src/jupiter-sdk/instructions/cloneSwap.ts +195 -0
  262. package/src/jupiter-sdk/instructions/createOpenOrders.ts +148 -0
  263. package/src/jupiter-sdk/instructions/createProgramOpenOrders.ts +170 -0
  264. package/src/jupiter-sdk/instructions/createTokenAccount.ts +152 -0
  265. package/src/jupiter-sdk/instructions/createTokenLedger.ts +128 -0
  266. package/src/jupiter-sdk/instructions/cremaSwap.ts +193 -0
  267. package/src/jupiter-sdk/instructions/cropperSwap.ts +174 -0
  268. package/src/jupiter-sdk/instructions/cykuraSwap.ts +169 -0
  269. package/src/jupiter-sdk/instructions/deltafiSwap.ts +181 -0
  270. package/src/jupiter-sdk/instructions/dradexSwap.ts +200 -0
  271. package/src/jupiter-sdk/instructions/exactOutRoute.ts +208 -0
  272. package/src/jupiter-sdk/instructions/goosefxSwap.ts +189 -0
  273. package/src/jupiter-sdk/instructions/goosefxV2Swap.ts +222 -0
  274. package/src/jupiter-sdk/instructions/heliumTreasuryManagementRedeemV0.ts +169 -0
  275. package/src/jupiter-sdk/instructions/index.ts +72 -0
  276. package/src/jupiter-sdk/instructions/invariantSwap.ts +168 -0
  277. package/src/jupiter-sdk/instructions/lifinitySwap.ts +186 -0
  278. package/src/jupiter-sdk/instructions/lifinityV2Swap.ts +189 -0
  279. package/src/jupiter-sdk/instructions/marcoPoloSwap.ts +223 -0
  280. package/src/jupiter-sdk/instructions/marinadeDeposit.ts +230 -0
  281. package/src/jupiter-sdk/instructions/marinadeUnstake.ts +182 -0
  282. package/src/jupiter-sdk/instructions/mercurialSwap.ts +145 -0
  283. package/src/jupiter-sdk/instructions/meteoraDlmmSwap.ts +193 -0
  284. package/src/jupiter-sdk/instructions/meteoraSwap.ts +195 -0
  285. package/src/jupiter-sdk/instructions/moonshotWrappedBuy.ts +201 -0
  286. package/src/jupiter-sdk/instructions/moonshotWrappedSell.ts +186 -0
  287. package/src/jupiter-sdk/instructions/obricSwap.ts +178 -0
  288. package/src/jupiter-sdk/instructions/oneIntroSwap.ts +171 -0
  289. package/src/jupiter-sdk/instructions/openBookV2Swap.ts +207 -0
  290. package/src/jupiter-sdk/instructions/perpsAddLiquidity.ts +186 -0
  291. package/src/jupiter-sdk/instructions/perpsRemoveLiquidity.ts +188 -0
  292. package/src/jupiter-sdk/instructions/perpsSwap.ts +195 -0
  293. package/src/jupiter-sdk/instructions/perpsV2AddLiquidity.ts +194 -0
  294. package/src/jupiter-sdk/instructions/perpsV2RemoveLiquidity.ts +193 -0
  295. package/src/jupiter-sdk/instructions/perpsV2Swap.ts +207 -0
  296. package/src/jupiter-sdk/instructions/phoenixSwap.ts +157 -0
  297. package/src/jupiter-sdk/instructions/pumpdotfunWrappedBuy.ts +209 -0
  298. package/src/jupiter-sdk/instructions/pumpdotfunWrappedSell.ts +190 -0
  299. package/src/jupiter-sdk/instructions/raydiumClmmSwap.ts +175 -0
  300. package/src/jupiter-sdk/instructions/raydiumClmmSwapV2.ts +193 -0
  301. package/src/jupiter-sdk/instructions/raydiumCpSwap.ts +189 -0
  302. package/src/jupiter-sdk/instructions/raydiumSwap.ts +211 -0
  303. package/src/jupiter-sdk/instructions/route.ts +189 -0
  304. package/src/jupiter-sdk/instructions/routeWithTokenLedger.ts +201 -0
  305. package/src/jupiter-sdk/instructions/saberAddDecimals.ts +151 -0
  306. package/src/jupiter-sdk/instructions/saberSwap.ts +156 -0
  307. package/src/jupiter-sdk/instructions/senchaSwap.ts +159 -0
  308. package/src/jupiter-sdk/instructions/serumSwap.ts +200 -0
  309. package/src/jupiter-sdk/instructions/setTokenLedger.ts +106 -0
  310. package/src/jupiter-sdk/instructions/sharedAccountsExactOutRoute.ts +226 -0
  311. package/src/jupiter-sdk/instructions/sharedAccountsRoute.ts +225 -0
  312. package/src/jupiter-sdk/instructions/sharedAccountsRouteWithTokenLedger.ts +231 -0
  313. package/src/jupiter-sdk/instructions/stabbleStableSwap.ts +176 -0
  314. package/src/jupiter-sdk/instructions/stabbleWeightedSwap.ts +178 -0
  315. package/src/jupiter-sdk/instructions/stepSwap.ts +168 -0
  316. package/src/jupiter-sdk/instructions/symmetrySwap.ts +187 -0
  317. package/src/jupiter-sdk/instructions/tokenSwap.ts +168 -0
  318. package/src/jupiter-sdk/instructions/tokenSwapV2.ts +185 -0
  319. package/src/jupiter-sdk/instructions/whirlpoolSwap.ts +179 -0
  320. package/src/jupiter-sdk/instructions/whirlpoolSwapV2.ts +194 -0
  321. package/src/jupiter-sdk/shared/index.ts +117 -0
  322. package/src/jupiter-sdk/types/accountsType.ts +25 -0
  323. package/src/jupiter-sdk/types/amountWithSlippage.ts +34 -0
  324. package/src/jupiter-sdk/types/index.ts +15 -0
  325. package/src/jupiter-sdk/types/remainingAccountsInfo.ts +34 -0
  326. package/src/jupiter-sdk/types/remainingAccountsSlice.ts +33 -0
  327. package/src/jupiter-sdk/types/routePlanStep.ts +39 -0
  328. package/src/jupiter-sdk/types/side.ts +23 -0
  329. package/src/jupiter-sdk/types/swap.ts +566 -0
  330. package/src/transactions/transactionUtils.ts +0 -1
  331. package/src/utils/solauto/rebalanceUtils.ts +3 -24
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ export * from './accountsType';
9
+ export * from './amountWithSlippage';
10
+ export * from './remainingAccountsInfo';
11
+ export * from './remainingAccountsSlice';
12
+ export * from './routePlanStep';
13
+ export * from './side';
14
+ export * from './swap';
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /**
3
+ * This code was AUTOGENERATED using the kinobi library.
4
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5
+ * to add features, then rerun kinobi to update it.
6
+ *
7
+ * @see https://github.com/metaplex-foundation/kinobi
8
+ */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ var desc = Object.getOwnPropertyDescriptor(m, k);
12
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
13
+ desc = { enumerable: true, get: function() { return m[k]; } };
14
+ }
15
+ Object.defineProperty(o, k2, desc);
16
+ }) : (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ o[k2] = m[k];
19
+ }));
20
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
21
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
22
+ };
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ __exportStar(require("./accountsType"), exports);
25
+ __exportStar(require("./amountWithSlippage"), exports);
26
+ __exportStar(require("./remainingAccountsInfo"), exports);
27
+ __exportStar(require("./remainingAccountsSlice"), exports);
28
+ __exportStar(require("./routePlanStep"), exports);
29
+ __exportStar(require("./side"), exports);
30
+ __exportStar(require("./swap"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Serializer } from '@metaplex-foundation/umi/serializers';
9
+ import { RemainingAccountsSlice, RemainingAccountsSliceArgs } from '.';
10
+ export type RemainingAccountsInfo = {
11
+ slices: Array<RemainingAccountsSlice>;
12
+ };
13
+ export type RemainingAccountsInfoArgs = {
14
+ slices: Array<RemainingAccountsSliceArgs>;
15
+ };
16
+ export declare function getRemainingAccountsInfoSerializer(): Serializer<RemainingAccountsInfoArgs, RemainingAccountsInfo>;
17
+ //# sourceMappingURL=remainingAccountsInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remainingAccountsInfo.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/remainingAccountsInfo.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,UAAU,EAGX,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,sBAAsB,EACtB,0BAA0B,EAE3B,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG;IAAE,MAAM,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAA;CAAE,CAAC;AAE9E,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC3C,CAAC;AAEF,wBAAgB,kCAAkC,IAAI,UAAU,CAC9D,yBAAyB,EACzB,qBAAqB,CACtB,CAKA"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This code was AUTOGENERATED using the kinobi library.
4
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5
+ * to add features, then rerun kinobi to update it.
6
+ *
7
+ * @see https://github.com/metaplex-foundation/kinobi
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.getRemainingAccountsInfoSerializer = getRemainingAccountsInfoSerializer;
11
+ const serializers_1 = require("@metaplex-foundation/umi/serializers");
12
+ const _1 = require(".");
13
+ function getRemainingAccountsInfoSerializer() {
14
+ return (0, serializers_1.struct)([['slices', (0, serializers_1.array)((0, _1.getRemainingAccountsSliceSerializer)())]], { description: 'RemainingAccountsInfo' });
15
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Serializer } from '@metaplex-foundation/umi/serializers';
9
+ import { AccountsType, AccountsTypeArgs } from '.';
10
+ export type RemainingAccountsSlice = {
11
+ accountsType: AccountsType;
12
+ length: number;
13
+ };
14
+ export type RemainingAccountsSliceArgs = {
15
+ accountsType: AccountsTypeArgs;
16
+ length: number;
17
+ };
18
+ export declare function getRemainingAccountsSliceSerializer(): Serializer<RemainingAccountsSliceArgs, RemainingAccountsSlice>;
19
+ //# sourceMappingURL=remainingAccountsSlice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remainingAccountsSlice.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/remainingAccountsSlice.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAc,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAA6B,MAAM,GAAG,CAAC;AAE9E,MAAM,MAAM,sBAAsB,GAAG;IACnC,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,EAAE,gBAAgB,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,mCAAmC,IAAI,UAAU,CAC/D,0BAA0B,EAC1B,sBAAsB,CACvB,CAQA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * This code was AUTOGENERATED using the kinobi library.
4
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5
+ * to add features, then rerun kinobi to update it.
6
+ *
7
+ * @see https://github.com/metaplex-foundation/kinobi
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.getRemainingAccountsSliceSerializer = getRemainingAccountsSliceSerializer;
11
+ const serializers_1 = require("@metaplex-foundation/umi/serializers");
12
+ const _1 = require(".");
13
+ function getRemainingAccountsSliceSerializer() {
14
+ return (0, serializers_1.struct)([
15
+ ['accountsType', (0, _1.getAccountsTypeSerializer)()],
16
+ ['length', (0, serializers_1.u8)()],
17
+ ], { description: 'RemainingAccountsSlice' });
18
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Serializer } from '@metaplex-foundation/umi/serializers';
9
+ import { Swap, SwapArgs } from '.';
10
+ export type RoutePlanStep = {
11
+ swap: Swap;
12
+ percent: number;
13
+ inputIndex: number;
14
+ outputIndex: number;
15
+ };
16
+ export type RoutePlanStepArgs = {
17
+ swap: SwapArgs;
18
+ percent: number;
19
+ inputIndex: number;
20
+ outputIndex: number;
21
+ };
22
+ export declare function getRoutePlanStepSerializer(): Serializer<RoutePlanStepArgs, RoutePlanStep>;
23
+ //# sourceMappingURL=routePlanStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routePlanStep.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/routePlanStep.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAc,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAqB,MAAM,GAAG,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,0BAA0B,IAAI,UAAU,CACtD,iBAAiB,EACjB,aAAa,CACd,CAUA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * This code was AUTOGENERATED using the kinobi library.
4
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5
+ * to add features, then rerun kinobi to update it.
6
+ *
7
+ * @see https://github.com/metaplex-foundation/kinobi
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.getRoutePlanStepSerializer = getRoutePlanStepSerializer;
11
+ const serializers_1 = require("@metaplex-foundation/umi/serializers");
12
+ const _1 = require(".");
13
+ function getRoutePlanStepSerializer() {
14
+ return (0, serializers_1.struct)([
15
+ ['swap', (0, _1.getSwapSerializer)()],
16
+ ['percent', (0, serializers_1.u8)()],
17
+ ['inputIndex', (0, serializers_1.u8)()],
18
+ ['outputIndex', (0, serializers_1.u8)()],
19
+ ], { description: 'RoutePlanStep' });
20
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Serializer } from '@metaplex-foundation/umi/serializers';
9
+ export declare enum Side {
10
+ Bid = 0,
11
+ Ask = 1
12
+ }
13
+ export type SideArgs = Side;
14
+ export declare function getSideSerializer(): Serializer<SideArgs, Side>;
15
+ //# sourceMappingURL=side.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"side.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/side.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,UAAU,EAAc,MAAM,sCAAsC,CAAC;AAE9E,oBAAY,IAAI;IACd,GAAG,IAAA;IACH,GAAG,IAAA;CACJ;AAED,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC;AAE5B,wBAAgB,iBAAiB,IAAI,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC,CAK9D"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * This code was AUTOGENERATED using the kinobi library.
4
+ * Please DO NOT EDIT THIS FILE, instead use visitors
5
+ * to add features, then rerun kinobi to update it.
6
+ *
7
+ * @see https://github.com/metaplex-foundation/kinobi
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.Side = void 0;
11
+ exports.getSideSerializer = getSideSerializer;
12
+ const serializers_1 = require("@metaplex-foundation/umi/serializers");
13
+ var Side;
14
+ (function (Side) {
15
+ Side[Side["Bid"] = 0] = "Bid";
16
+ Side[Side["Ask"] = 1] = "Ask";
17
+ })(Side || (exports.Side = Side = {}));
18
+ function getSideSerializer() {
19
+ return (0, serializers_1.scalarEnum)(Side, { description: 'Side' });
20
+ }
@@ -0,0 +1,372 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Option, OptionOrNullable } from '@metaplex-foundation/umi';
9
+ import { GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi/serializers';
10
+ import { RemainingAccountsInfo, RemainingAccountsInfoArgs, Side, SideArgs } from '.';
11
+ export type Swap = {
12
+ __kind: 'Saber';
13
+ } | {
14
+ __kind: 'SaberAddDecimalsDeposit';
15
+ } | {
16
+ __kind: 'SaberAddDecimalsWithdraw';
17
+ } | {
18
+ __kind: 'TokenSwap';
19
+ } | {
20
+ __kind: 'Sencha';
21
+ } | {
22
+ __kind: 'Step';
23
+ } | {
24
+ __kind: 'Cropper';
25
+ } | {
26
+ __kind: 'Raydium';
27
+ } | {
28
+ __kind: 'Crema';
29
+ aToB: boolean;
30
+ } | {
31
+ __kind: 'Lifinity';
32
+ } | {
33
+ __kind: 'Mercurial';
34
+ } | {
35
+ __kind: 'Cykura';
36
+ } | {
37
+ __kind: 'Serum';
38
+ side: Side;
39
+ } | {
40
+ __kind: 'MarinadeDeposit';
41
+ } | {
42
+ __kind: 'MarinadeUnstake';
43
+ } | {
44
+ __kind: 'Aldrin';
45
+ side: Side;
46
+ } | {
47
+ __kind: 'AldrinV2';
48
+ side: Side;
49
+ } | {
50
+ __kind: 'Whirlpool';
51
+ aToB: boolean;
52
+ } | {
53
+ __kind: 'Invariant';
54
+ xToY: boolean;
55
+ } | {
56
+ __kind: 'Meteora';
57
+ } | {
58
+ __kind: 'GooseFX';
59
+ } | {
60
+ __kind: 'DeltaFi';
61
+ stable: boolean;
62
+ } | {
63
+ __kind: 'Balansol';
64
+ } | {
65
+ __kind: 'MarcoPolo';
66
+ xToY: boolean;
67
+ } | {
68
+ __kind: 'Dradex';
69
+ side: Side;
70
+ } | {
71
+ __kind: 'LifinityV2';
72
+ } | {
73
+ __kind: 'RaydiumClmm';
74
+ } | {
75
+ __kind: 'Openbook';
76
+ side: Side;
77
+ } | {
78
+ __kind: 'Phoenix';
79
+ side: Side;
80
+ } | {
81
+ __kind: 'Symmetry';
82
+ fromTokenId: bigint;
83
+ toTokenId: bigint;
84
+ } | {
85
+ __kind: 'TokenSwapV2';
86
+ } | {
87
+ __kind: 'HeliumTreasuryManagementRedeemV0';
88
+ } | {
89
+ __kind: 'StakeDexStakeWrappedSol';
90
+ } | {
91
+ __kind: 'StakeDexSwapViaStake';
92
+ bridgeStakeSeed: number;
93
+ } | {
94
+ __kind: 'GooseFXV2';
95
+ } | {
96
+ __kind: 'Perps';
97
+ } | {
98
+ __kind: 'PerpsAddLiquidity';
99
+ } | {
100
+ __kind: 'PerpsRemoveLiquidity';
101
+ } | {
102
+ __kind: 'MeteoraDlmm';
103
+ } | {
104
+ __kind: 'OpenBookV2';
105
+ side: Side;
106
+ } | {
107
+ __kind: 'RaydiumClmmV2';
108
+ } | {
109
+ __kind: 'StakeDexPrefundWithdrawStakeAndDepositStake';
110
+ bridgeStakeSeed: number;
111
+ } | {
112
+ __kind: 'Clone';
113
+ poolIndex: number;
114
+ quantityIsInput: boolean;
115
+ quantityIsCollateral: boolean;
116
+ } | {
117
+ __kind: 'SanctumS';
118
+ srcLstValueCalcAccs: number;
119
+ dstLstValueCalcAccs: number;
120
+ srcLstIndex: number;
121
+ dstLstIndex: number;
122
+ } | {
123
+ __kind: 'SanctumSAddLiquidity';
124
+ lstValueCalcAccs: number;
125
+ lstIndex: number;
126
+ } | {
127
+ __kind: 'SanctumSRemoveLiquidity';
128
+ lstValueCalcAccs: number;
129
+ lstIndex: number;
130
+ } | {
131
+ __kind: 'RaydiumCP';
132
+ } | {
133
+ __kind: 'WhirlpoolSwapV2';
134
+ aToB: boolean;
135
+ remainingAccountsInfo: Option<RemainingAccountsInfo>;
136
+ } | {
137
+ __kind: 'OneIntro';
138
+ } | {
139
+ __kind: 'PumpdotfunWrappedBuy';
140
+ } | {
141
+ __kind: 'PumpdotfunWrappedSell';
142
+ } | {
143
+ __kind: 'PerpsV2';
144
+ } | {
145
+ __kind: 'PerpsV2AddLiquidity';
146
+ } | {
147
+ __kind: 'PerpsV2RemoveLiquidity';
148
+ } | {
149
+ __kind: 'MoonshotWrappedBuy';
150
+ } | {
151
+ __kind: 'MoonshotWrappedSell';
152
+ } | {
153
+ __kind: 'StabbleStableSwap';
154
+ } | {
155
+ __kind: 'StabbleWeightedSwap';
156
+ } | {
157
+ __kind: 'Obric';
158
+ xToY: boolean;
159
+ };
160
+ export type SwapArgs = {
161
+ __kind: 'Saber';
162
+ } | {
163
+ __kind: 'SaberAddDecimalsDeposit';
164
+ } | {
165
+ __kind: 'SaberAddDecimalsWithdraw';
166
+ } | {
167
+ __kind: 'TokenSwap';
168
+ } | {
169
+ __kind: 'Sencha';
170
+ } | {
171
+ __kind: 'Step';
172
+ } | {
173
+ __kind: 'Cropper';
174
+ } | {
175
+ __kind: 'Raydium';
176
+ } | {
177
+ __kind: 'Crema';
178
+ aToB: boolean;
179
+ } | {
180
+ __kind: 'Lifinity';
181
+ } | {
182
+ __kind: 'Mercurial';
183
+ } | {
184
+ __kind: 'Cykura';
185
+ } | {
186
+ __kind: 'Serum';
187
+ side: SideArgs;
188
+ } | {
189
+ __kind: 'MarinadeDeposit';
190
+ } | {
191
+ __kind: 'MarinadeUnstake';
192
+ } | {
193
+ __kind: 'Aldrin';
194
+ side: SideArgs;
195
+ } | {
196
+ __kind: 'AldrinV2';
197
+ side: SideArgs;
198
+ } | {
199
+ __kind: 'Whirlpool';
200
+ aToB: boolean;
201
+ } | {
202
+ __kind: 'Invariant';
203
+ xToY: boolean;
204
+ } | {
205
+ __kind: 'Meteora';
206
+ } | {
207
+ __kind: 'GooseFX';
208
+ } | {
209
+ __kind: 'DeltaFi';
210
+ stable: boolean;
211
+ } | {
212
+ __kind: 'Balansol';
213
+ } | {
214
+ __kind: 'MarcoPolo';
215
+ xToY: boolean;
216
+ } | {
217
+ __kind: 'Dradex';
218
+ side: SideArgs;
219
+ } | {
220
+ __kind: 'LifinityV2';
221
+ } | {
222
+ __kind: 'RaydiumClmm';
223
+ } | {
224
+ __kind: 'Openbook';
225
+ side: SideArgs;
226
+ } | {
227
+ __kind: 'Phoenix';
228
+ side: SideArgs;
229
+ } | {
230
+ __kind: 'Symmetry';
231
+ fromTokenId: number | bigint;
232
+ toTokenId: number | bigint;
233
+ } | {
234
+ __kind: 'TokenSwapV2';
235
+ } | {
236
+ __kind: 'HeliumTreasuryManagementRedeemV0';
237
+ } | {
238
+ __kind: 'StakeDexStakeWrappedSol';
239
+ } | {
240
+ __kind: 'StakeDexSwapViaStake';
241
+ bridgeStakeSeed: number;
242
+ } | {
243
+ __kind: 'GooseFXV2';
244
+ } | {
245
+ __kind: 'Perps';
246
+ } | {
247
+ __kind: 'PerpsAddLiquidity';
248
+ } | {
249
+ __kind: 'PerpsRemoveLiquidity';
250
+ } | {
251
+ __kind: 'MeteoraDlmm';
252
+ } | {
253
+ __kind: 'OpenBookV2';
254
+ side: SideArgs;
255
+ } | {
256
+ __kind: 'RaydiumClmmV2';
257
+ } | {
258
+ __kind: 'StakeDexPrefundWithdrawStakeAndDepositStake';
259
+ bridgeStakeSeed: number;
260
+ } | {
261
+ __kind: 'Clone';
262
+ poolIndex: number;
263
+ quantityIsInput: boolean;
264
+ quantityIsCollateral: boolean;
265
+ } | {
266
+ __kind: 'SanctumS';
267
+ srcLstValueCalcAccs: number;
268
+ dstLstValueCalcAccs: number;
269
+ srcLstIndex: number;
270
+ dstLstIndex: number;
271
+ } | {
272
+ __kind: 'SanctumSAddLiquidity';
273
+ lstValueCalcAccs: number;
274
+ lstIndex: number;
275
+ } | {
276
+ __kind: 'SanctumSRemoveLiquidity';
277
+ lstValueCalcAccs: number;
278
+ lstIndex: number;
279
+ } | {
280
+ __kind: 'RaydiumCP';
281
+ } | {
282
+ __kind: 'WhirlpoolSwapV2';
283
+ aToB: boolean;
284
+ remainingAccountsInfo: OptionOrNullable<RemainingAccountsInfoArgs>;
285
+ } | {
286
+ __kind: 'OneIntro';
287
+ } | {
288
+ __kind: 'PumpdotfunWrappedBuy';
289
+ } | {
290
+ __kind: 'PumpdotfunWrappedSell';
291
+ } | {
292
+ __kind: 'PerpsV2';
293
+ } | {
294
+ __kind: 'PerpsV2AddLiquidity';
295
+ } | {
296
+ __kind: 'PerpsV2RemoveLiquidity';
297
+ } | {
298
+ __kind: 'MoonshotWrappedBuy';
299
+ } | {
300
+ __kind: 'MoonshotWrappedSell';
301
+ } | {
302
+ __kind: 'StabbleStableSwap';
303
+ } | {
304
+ __kind: 'StabbleWeightedSwap';
305
+ } | {
306
+ __kind: 'Obric';
307
+ xToY: boolean;
308
+ };
309
+ export declare function getSwapSerializer(): Serializer<SwapArgs, Swap>;
310
+ export declare function swap(kind: 'Saber'): GetDataEnumKind<SwapArgs, 'Saber'>;
311
+ export declare function swap(kind: 'SaberAddDecimalsDeposit'): GetDataEnumKind<SwapArgs, 'SaberAddDecimalsDeposit'>;
312
+ export declare function swap(kind: 'SaberAddDecimalsWithdraw'): GetDataEnumKind<SwapArgs, 'SaberAddDecimalsWithdraw'>;
313
+ export declare function swap(kind: 'TokenSwap'): GetDataEnumKind<SwapArgs, 'TokenSwap'>;
314
+ export declare function swap(kind: 'Sencha'): GetDataEnumKind<SwapArgs, 'Sencha'>;
315
+ export declare function swap(kind: 'Step'): GetDataEnumKind<SwapArgs, 'Step'>;
316
+ export declare function swap(kind: 'Cropper'): GetDataEnumKind<SwapArgs, 'Cropper'>;
317
+ export declare function swap(kind: 'Raydium'): GetDataEnumKind<SwapArgs, 'Raydium'>;
318
+ export declare function swap(kind: 'Crema', data: GetDataEnumKindContent<SwapArgs, 'Crema'>): GetDataEnumKind<SwapArgs, 'Crema'>;
319
+ export declare function swap(kind: 'Lifinity'): GetDataEnumKind<SwapArgs, 'Lifinity'>;
320
+ export declare function swap(kind: 'Mercurial'): GetDataEnumKind<SwapArgs, 'Mercurial'>;
321
+ export declare function swap(kind: 'Cykura'): GetDataEnumKind<SwapArgs, 'Cykura'>;
322
+ export declare function swap(kind: 'Serum', data: GetDataEnumKindContent<SwapArgs, 'Serum'>): GetDataEnumKind<SwapArgs, 'Serum'>;
323
+ export declare function swap(kind: 'MarinadeDeposit'): GetDataEnumKind<SwapArgs, 'MarinadeDeposit'>;
324
+ export declare function swap(kind: 'MarinadeUnstake'): GetDataEnumKind<SwapArgs, 'MarinadeUnstake'>;
325
+ export declare function swap(kind: 'Aldrin', data: GetDataEnumKindContent<SwapArgs, 'Aldrin'>): GetDataEnumKind<SwapArgs, 'Aldrin'>;
326
+ export declare function swap(kind: 'AldrinV2', data: GetDataEnumKindContent<SwapArgs, 'AldrinV2'>): GetDataEnumKind<SwapArgs, 'AldrinV2'>;
327
+ export declare function swap(kind: 'Whirlpool', data: GetDataEnumKindContent<SwapArgs, 'Whirlpool'>): GetDataEnumKind<SwapArgs, 'Whirlpool'>;
328
+ export declare function swap(kind: 'Invariant', data: GetDataEnumKindContent<SwapArgs, 'Invariant'>): GetDataEnumKind<SwapArgs, 'Invariant'>;
329
+ export declare function swap(kind: 'Meteora'): GetDataEnumKind<SwapArgs, 'Meteora'>;
330
+ export declare function swap(kind: 'GooseFX'): GetDataEnumKind<SwapArgs, 'GooseFX'>;
331
+ export declare function swap(kind: 'DeltaFi', data: GetDataEnumKindContent<SwapArgs, 'DeltaFi'>): GetDataEnumKind<SwapArgs, 'DeltaFi'>;
332
+ export declare function swap(kind: 'Balansol'): GetDataEnumKind<SwapArgs, 'Balansol'>;
333
+ export declare function swap(kind: 'MarcoPolo', data: GetDataEnumKindContent<SwapArgs, 'MarcoPolo'>): GetDataEnumKind<SwapArgs, 'MarcoPolo'>;
334
+ export declare function swap(kind: 'Dradex', data: GetDataEnumKindContent<SwapArgs, 'Dradex'>): GetDataEnumKind<SwapArgs, 'Dradex'>;
335
+ export declare function swap(kind: 'LifinityV2'): GetDataEnumKind<SwapArgs, 'LifinityV2'>;
336
+ export declare function swap(kind: 'RaydiumClmm'): GetDataEnumKind<SwapArgs, 'RaydiumClmm'>;
337
+ export declare function swap(kind: 'Openbook', data: GetDataEnumKindContent<SwapArgs, 'Openbook'>): GetDataEnumKind<SwapArgs, 'Openbook'>;
338
+ export declare function swap(kind: 'Phoenix', data: GetDataEnumKindContent<SwapArgs, 'Phoenix'>): GetDataEnumKind<SwapArgs, 'Phoenix'>;
339
+ export declare function swap(kind: 'Symmetry', data: GetDataEnumKindContent<SwapArgs, 'Symmetry'>): GetDataEnumKind<SwapArgs, 'Symmetry'>;
340
+ export declare function swap(kind: 'TokenSwapV2'): GetDataEnumKind<SwapArgs, 'TokenSwapV2'>;
341
+ export declare function swap(kind: 'HeliumTreasuryManagementRedeemV0'): GetDataEnumKind<SwapArgs, 'HeliumTreasuryManagementRedeemV0'>;
342
+ export declare function swap(kind: 'StakeDexStakeWrappedSol'): GetDataEnumKind<SwapArgs, 'StakeDexStakeWrappedSol'>;
343
+ export declare function swap(kind: 'StakeDexSwapViaStake', data: GetDataEnumKindContent<SwapArgs, 'StakeDexSwapViaStake'>): GetDataEnumKind<SwapArgs, 'StakeDexSwapViaStake'>;
344
+ export declare function swap(kind: 'GooseFXV2'): GetDataEnumKind<SwapArgs, 'GooseFXV2'>;
345
+ export declare function swap(kind: 'Perps'): GetDataEnumKind<SwapArgs, 'Perps'>;
346
+ export declare function swap(kind: 'PerpsAddLiquidity'): GetDataEnumKind<SwapArgs, 'PerpsAddLiquidity'>;
347
+ export declare function swap(kind: 'PerpsRemoveLiquidity'): GetDataEnumKind<SwapArgs, 'PerpsRemoveLiquidity'>;
348
+ export declare function swap(kind: 'MeteoraDlmm'): GetDataEnumKind<SwapArgs, 'MeteoraDlmm'>;
349
+ export declare function swap(kind: 'OpenBookV2', data: GetDataEnumKindContent<SwapArgs, 'OpenBookV2'>): GetDataEnumKind<SwapArgs, 'OpenBookV2'>;
350
+ export declare function swap(kind: 'RaydiumClmmV2'): GetDataEnumKind<SwapArgs, 'RaydiumClmmV2'>;
351
+ export declare function swap(kind: 'StakeDexPrefundWithdrawStakeAndDepositStake', data: GetDataEnumKindContent<SwapArgs, 'StakeDexPrefundWithdrawStakeAndDepositStake'>): GetDataEnumKind<SwapArgs, 'StakeDexPrefundWithdrawStakeAndDepositStake'>;
352
+ export declare function swap(kind: 'Clone', data: GetDataEnumKindContent<SwapArgs, 'Clone'>): GetDataEnumKind<SwapArgs, 'Clone'>;
353
+ export declare function swap(kind: 'SanctumS', data: GetDataEnumKindContent<SwapArgs, 'SanctumS'>): GetDataEnumKind<SwapArgs, 'SanctumS'>;
354
+ export declare function swap(kind: 'SanctumSAddLiquidity', data: GetDataEnumKindContent<SwapArgs, 'SanctumSAddLiquidity'>): GetDataEnumKind<SwapArgs, 'SanctumSAddLiquidity'>;
355
+ export declare function swap(kind: 'SanctumSRemoveLiquidity', data: GetDataEnumKindContent<SwapArgs, 'SanctumSRemoveLiquidity'>): GetDataEnumKind<SwapArgs, 'SanctumSRemoveLiquidity'>;
356
+ export declare function swap(kind: 'RaydiumCP'): GetDataEnumKind<SwapArgs, 'RaydiumCP'>;
357
+ export declare function swap(kind: 'WhirlpoolSwapV2', data: GetDataEnumKindContent<SwapArgs, 'WhirlpoolSwapV2'>): GetDataEnumKind<SwapArgs, 'WhirlpoolSwapV2'>;
358
+ export declare function swap(kind: 'OneIntro'): GetDataEnumKind<SwapArgs, 'OneIntro'>;
359
+ export declare function swap(kind: 'PumpdotfunWrappedBuy'): GetDataEnumKind<SwapArgs, 'PumpdotfunWrappedBuy'>;
360
+ export declare function swap(kind: 'PumpdotfunWrappedSell'): GetDataEnumKind<SwapArgs, 'PumpdotfunWrappedSell'>;
361
+ export declare function swap(kind: 'PerpsV2'): GetDataEnumKind<SwapArgs, 'PerpsV2'>;
362
+ export declare function swap(kind: 'PerpsV2AddLiquidity'): GetDataEnumKind<SwapArgs, 'PerpsV2AddLiquidity'>;
363
+ export declare function swap(kind: 'PerpsV2RemoveLiquidity'): GetDataEnumKind<SwapArgs, 'PerpsV2RemoveLiquidity'>;
364
+ export declare function swap(kind: 'MoonshotWrappedBuy'): GetDataEnumKind<SwapArgs, 'MoonshotWrappedBuy'>;
365
+ export declare function swap(kind: 'MoonshotWrappedSell'): GetDataEnumKind<SwapArgs, 'MoonshotWrappedSell'>;
366
+ export declare function swap(kind: 'StabbleStableSwap'): GetDataEnumKind<SwapArgs, 'StabbleStableSwap'>;
367
+ export declare function swap(kind: 'StabbleWeightedSwap'): GetDataEnumKind<SwapArgs, 'StabbleWeightedSwap'>;
368
+ export declare function swap(kind: 'Obric', data: GetDataEnumKindContent<SwapArgs, 'Obric'>): GetDataEnumKind<SwapArgs, 'Obric'>;
369
+ export declare function isSwap<K extends Swap['__kind']>(kind: K, value: Swap): value is Swap & {
370
+ __kind: K;
371
+ };
372
+ //# sourceMappingURL=swap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swap.d.ts","sourceRoot":"","sources":["../../../src/jupiter-sdk/types/swap.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,UAAU,EASX,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,qBAAqB,EACrB,yBAAyB,EACzB,IAAI,EACJ,QAAQ,EAGT,MAAM,GAAG,CAAC;AAEX,MAAM,MAAM,IAAI,GACZ;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,MAAM,EAA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