@alphafi/alphafi-sdk 0.0.61 → 0.0.63

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 (273) hide show
  1. package/dist/cjs/common/coins.d.ts.map +1 -1
  2. package/dist/cjs/common/coins.js +6 -0
  3. package/dist/cjs/common/coins.js.map +1 -1
  4. package/dist/cjs/common/constants.d.ts +101 -0
  5. package/dist/cjs/common/constants.d.ts.map +1 -1
  6. package/dist/cjs/common/constants.js +82 -1
  7. package/dist/cjs/common/constants.js.map +1 -1
  8. package/dist/cjs/common/maps.d.ts.map +1 -1
  9. package/dist/cjs/common/maps.js +56 -0
  10. package/dist/cjs/common/maps.js.map +1 -1
  11. package/dist/cjs/common/pyth.d.ts +1 -1
  12. package/dist/cjs/common/pyth.d.ts.map +1 -1
  13. package/dist/cjs/common/pyth.js.map +1 -1
  14. package/dist/cjs/common/types.d.ts +4 -4
  15. package/dist/cjs/common/types.d.ts.map +1 -1
  16. package/dist/cjs/common/types.js.map +1 -1
  17. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +2 -0
  18. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  19. package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
  20. package/dist/cjs/transactions/bluefin.js +65 -0
  21. package/dist/cjs/transactions/bluefin.js.map +1 -1
  22. package/dist/cjs/transactions/collect_rewards.d.ts.map +1 -1
  23. package/dist/cjs/transactions/collect_rewards.js +43 -1
  24. package/dist/cjs/transactions/collect_rewards.js.map +1 -1
  25. package/dist/cjs/transactions/navi.d.ts.map +1 -1
  26. package/dist/cjs/transactions/navi.js +140 -0
  27. package/dist/cjs/transactions/navi.js.map +1 -1
  28. package/dist/cjs/transactions/zapDeposit.d.ts.map +1 -1
  29. package/dist/cjs/transactions/zapDeposit.js +180 -20
  30. package/dist/cjs/transactions/zapDeposit.js.map +1 -1
  31. package/dist/cjs/utils/constants.d.ts.map +1 -1
  32. package/dist/cjs/utils/constants.js +5 -0
  33. package/dist/cjs/utils/constants.js.map +1 -1
  34. package/dist/cjs/utils/prices.d.ts.map +1 -1
  35. package/dist/cjs/utils/prices.js +1 -0
  36. package/dist/cjs/utils/prices.js.map +1 -1
  37. package/dist/esm/common/coins.d.ts.map +1 -1
  38. package/dist/esm/common/coins.js +6 -0
  39. package/dist/esm/common/coins.js.map +1 -1
  40. package/dist/esm/common/constants.d.ts +101 -0
  41. package/dist/esm/common/constants.d.ts.map +1 -1
  42. package/dist/esm/common/constants.js +82 -1
  43. package/dist/esm/common/constants.js.map +1 -1
  44. package/dist/esm/common/maps.d.ts.map +1 -1
  45. package/dist/esm/common/maps.js +56 -0
  46. package/dist/esm/common/maps.js.map +1 -1
  47. package/dist/esm/common/pyth.d.ts +1 -1
  48. package/dist/esm/common/pyth.d.ts.map +1 -1
  49. package/dist/esm/common/pyth.js.map +1 -1
  50. package/dist/esm/common/types.d.ts +4 -4
  51. package/dist/esm/common/types.d.ts.map +1 -1
  52. package/dist/esm/common/types.js.map +1 -1
  53. package/dist/esm/sui-sdk/functions/getReceipts.d.ts +2 -0
  54. package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  55. package/dist/esm/transactions/bluefin.d.ts.map +1 -1
  56. package/dist/esm/transactions/bluefin.js +65 -0
  57. package/dist/esm/transactions/bluefin.js.map +1 -1
  58. package/dist/esm/transactions/collect_rewards.d.ts.map +1 -1
  59. package/dist/esm/transactions/collect_rewards.js +43 -1
  60. package/dist/esm/transactions/collect_rewards.js.map +1 -1
  61. package/dist/esm/transactions/navi.d.ts.map +1 -1
  62. package/dist/esm/transactions/navi.js +141 -1
  63. package/dist/esm/transactions/navi.js.map +1 -1
  64. package/dist/esm/transactions/zapDeposit.d.ts.map +1 -1
  65. package/dist/esm/transactions/zapDeposit.js +180 -20
  66. package/dist/esm/transactions/zapDeposit.js.map +1 -1
  67. package/dist/esm/utils/constants.d.ts.map +1 -1
  68. package/dist/esm/utils/constants.js +5 -0
  69. package/dist/esm/utils/constants.js.map +1 -1
  70. package/dist/esm/utils/prices.d.ts.map +1 -1
  71. package/dist/esm/utils/prices.js +1 -0
  72. package/dist/esm/utils/prices.js.map +1 -1
  73. package/docs/assets/search.js +1 -1
  74. package/docs/functions/alphaLpBreakdown.html +1 -1
  75. package/docs/functions/cetusLpBreakdown.html +1 -1
  76. package/docs/functions/claimBlueRewardTxb.html +1 -1
  77. package/docs/functions/claimRewardTxb.html +1 -1
  78. package/docs/functions/coinAmountToXTokensDoubleAsset.html +1 -1
  79. package/docs/functions/coinAmountToXTokensSingleAsset.html +1 -1
  80. package/docs/functions/coinsInPool.html +1 -1
  81. package/docs/functions/collectRewards.html +1 -1
  82. package/docs/functions/deposit.html +1 -1
  83. package/docs/functions/depositDoubleAssetTxb.html +1 -1
  84. package/docs/functions/depositSingleAssetTxb.html +1 -1
  85. package/docs/functions/fetchAfterTransactionEvents.html +1 -1
  86. package/docs/functions/fetchAutoCompoundingEvents.html +1 -1
  87. package/docs/functions/fetchAutoCompoundingEventsGql.html +1 -1
  88. package/docs/functions/fetchCetusPools.html +1 -1
  89. package/docs/functions/fetchChainIdentifier.html +1 -1
  90. package/docs/functions/fetchCheckRatioEvents.html +1 -1
  91. package/docs/functions/fetchLiquidityChangeEvents.html +1 -1
  92. package/docs/functions/fetchMultiCategoryEvents.html +1 -1
  93. package/docs/functions/fetchMultiReceipts.html +1 -1
  94. package/docs/functions/fetchNftHolders.html +1 -1
  95. package/docs/functions/fetchPools.html +1 -1
  96. package/docs/functions/fetchPortfolioData.html +1 -1
  97. package/docs/functions/fetchProtocolData.html +1 -1
  98. package/docs/functions/fetchTVL.html +1 -1
  99. package/docs/functions/fetchUserVaultBalances.html +1 -1
  100. package/docs/functions/fetchUserVaults.html +1 -1
  101. package/docs/functions/fetchUserWalletData.html +1 -1
  102. package/docs/functions/fetchVoloExchangeRate.html +1 -1
  103. package/docs/functions/fetchWithdrawV2Events.html +1 -1
  104. package/docs/functions/getAirdropShare.html +1 -1
  105. package/docs/functions/getAllDoubleAssetVaults.html +1 -1
  106. package/docs/functions/getAllSingleAssetVaults.html +1 -1
  107. package/docs/functions/getAllVaultBalances.html +1 -1
  108. package/docs/functions/getAllVaults.html +1 -1
  109. package/docs/functions/getAlphaUnlocks.html +1 -1
  110. package/docs/functions/getAlphaVaultBalance.html +1 -1
  111. package/docs/functions/getAmounts.html +1 -1
  112. package/docs/functions/getApr.html +1 -1
  113. package/docs/functions/getAprs.html +1 -1
  114. package/docs/functions/getApy.html +1 -1
  115. package/docs/functions/getApys.html +1 -1
  116. package/docs/functions/getCetusInvestorTicksMap.html +1 -1
  117. package/docs/functions/getCetusPool.html +1 -1
  118. package/docs/functions/getCetusSqrtPriceMap.html +1 -1
  119. package/docs/functions/getCoinAmountsFromLiquidity.html +1 -1
  120. package/docs/functions/getConf.html +1 -1
  121. package/docs/functions/getCurrentTick.html +1 -1
  122. package/docs/functions/getDistributor.html +1 -1
  123. package/docs/functions/getDoubleAssetVaultBalance.html +1 -1
  124. package/docs/functions/getDoubleAssetVaults.html +1 -1
  125. package/docs/functions/getHoldersFromTransactions.html +1 -1
  126. package/docs/functions/getInvestor.html +1 -1
  127. package/docs/functions/getInvestorPoolMap.html +1 -1
  128. package/docs/functions/getLastAutoCompoundTime.html +1 -1
  129. package/docs/functions/getLatestPrices.html +1 -1
  130. package/docs/functions/getLiquidity.html +1 -1
  131. package/docs/functions/getMultiCetusPool.html +1 -1
  132. package/docs/functions/getMultiInvestor.html +1 -1
  133. package/docs/functions/getMultiLatestPrices.html +1 -1
  134. package/docs/functions/getMultiParentPool.html +1 -1
  135. package/docs/functions/getMultiPool.html +1 -1
  136. package/docs/functions/getMultiReceipts.html +1 -1
  137. package/docs/functions/getParentPool.html +1 -1
  138. package/docs/functions/getPool.html +1 -1
  139. package/docs/functions/getPoolExchangeRate.html +1 -1
  140. package/docs/functions/getPoolExchangeRateMap.html +1 -1
  141. package/docs/functions/getPoolsWeightDistribution.html +1 -1
  142. package/docs/functions/getPositionRange.html +1 -1
  143. package/docs/functions/getPositionRanges.html +1 -1
  144. package/docs/functions/getPositionTicks.html +1 -1
  145. package/docs/functions/getPriceToTick.html +1 -1
  146. package/docs/functions/getRebalanceHistories.html +1 -1
  147. package/docs/functions/getRebalanceHistory.html +1 -1
  148. package/docs/functions/getReceipts.html +1 -1
  149. package/docs/functions/getSingleAssetVaultBalance.html +1 -1
  150. package/docs/functions/getSingleAssetVaults.html +1 -1
  151. package/docs/functions/getSuiClient.html +2 -2
  152. package/docs/functions/getSuiNodeUrl.html +2 -2
  153. package/docs/functions/getTVLs-1.html +1 -1
  154. package/docs/functions/getTickSpacing.html +1 -1
  155. package/docs/functions/getTickToPrice.html +1 -1
  156. package/docs/functions/getTvls.html +1 -1
  157. package/docs/functions/getUserTokensFromTransactions.html +1 -1
  158. package/docs/functions/getUserTokensInUsdFromTransactions.html +1 -1
  159. package/docs/functions/getVaultBalance.html +1 -1
  160. package/docs/functions/getVaultBalanceForActiveUsers.html +1 -1
  161. package/docs/functions/getVaults.html +1 -1
  162. package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +1 -1
  163. package/docs/functions/getZapAmounts.html +1 -1
  164. package/docs/functions/lastAutocompoundTime.html +1 -1
  165. package/docs/functions/liquidityToTokens.html +1 -1
  166. package/docs/functions/multiLiquidityToTokens.html +1 -1
  167. package/docs/functions/multiTokensToUsd.html +1 -1
  168. package/docs/functions/multiXTokensToLiquidity.html +1 -1
  169. package/docs/functions/parseUserWalletData.html +1 -1
  170. package/docs/functions/pendingBlueRewardAmount.html +1 -1
  171. package/docs/functions/setCustomSuiClient.html +2 -2
  172. package/docs/functions/setSuiClient.html +2 -2
  173. package/docs/functions/setSuiNodeUrl.html +2 -2
  174. package/docs/functions/setWeights.html +1 -1
  175. package/docs/functions/withdraw.html +1 -1
  176. package/docs/functions/withdrawAlphaTxb.html +1 -1
  177. package/docs/functions/withdrawTxb.html +1 -1
  178. package/docs/functions/zapDepositTxb.html +1 -1
  179. package/docs/index.html +2 -2
  180. package/docs/interfaces/Coin.html +6 -6
  181. package/docs/interfaces/CoinPair.html +2 -2
  182. package/docs/interfaces/NaviVoloData.html +2 -2
  183. package/docs/interfaces/PoolData.html +2 -2
  184. package/docs/interfaces/PoolWeightDistribution.html +2 -2
  185. package/docs/interfaces/RebalanceHistoryType.html +2 -2
  186. package/docs/modules.html +2 -2
  187. package/docs/types/AfterTransactionEventNode.html +1 -1
  188. package/docs/types/Allocator.html +1 -1
  189. package/docs/types/AlphaFiDoubleAssetVault.html +1 -1
  190. package/docs/types/AlphaFiMultiVaultBalance.html +1 -1
  191. package/docs/types/AlphaFiSingleAssetVault.html +1 -1
  192. package/docs/types/AlphaFiVault.html +1 -1
  193. package/docs/types/AlphaFiVaultBalance.html +1 -1
  194. package/docs/types/AlphaPoolType.html +1 -1
  195. package/docs/types/AlphaReceipt.html +1 -1
  196. package/docs/types/AlphaReceiptFields.html +1 -1
  197. package/docs/types/AlphaVaultBalance.html +1 -1
  198. package/docs/types/AutoBalancePoolNames.html +1 -1
  199. package/docs/types/AutoCompoundingEventNode.html +1 -1
  200. package/docs/types/BluefinInvestor.html +1 -1
  201. package/docs/types/BluefinPoolType.html +1 -1
  202. package/docs/types/BucketInvestor.html +1 -1
  203. package/docs/types/CetusInvestor.html +1 -1
  204. package/docs/types/CetusPoolType.html +1 -1
  205. package/docs/types/CetusSwapOptions.html +1 -1
  206. package/docs/types/CoinAmounts.html +1 -1
  207. package/docs/types/CoinName.html +1 -1
  208. package/docs/types/CoinType.html +1 -1
  209. package/docs/types/CommonInvestorFields.html +1 -1
  210. package/docs/types/CreatePoolOptions.html +1 -1
  211. package/docs/types/Distributor.html +1 -1
  212. package/docs/types/DoubleAssetMultiVaultBalance.html +1 -1
  213. package/docs/types/DoubleAssetPoolNames.html +1 -1
  214. package/docs/types/DoubleAssetTokenHoldings.html +1 -1
  215. package/docs/types/DoubleAssetVaultBalance.html +1 -1
  216. package/docs/types/EventCategory.html +1 -1
  217. package/docs/types/EventNode.html +1 -1
  218. package/docs/types/GetHoldersParams.html +1 -1
  219. package/docs/types/GetTokenHoldingsParams.html +1 -1
  220. package/docs/types/GetUserTokensFromTransactionsParams.html +1 -1
  221. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +1 -1
  222. package/docs/types/GetVaultBalanceForActiveUsersParams.html +1 -1
  223. package/docs/types/GetVaultBalanceParams.html +1 -1
  224. package/docs/types/HoldingsObj.html +1 -1
  225. package/docs/types/Icon.html +1 -1
  226. package/docs/types/Investor.html +1 -1
  227. package/docs/types/LiquidityChangeEventNode.html +1 -1
  228. package/docs/types/LiquidityToTokensParams.html +1 -1
  229. package/docs/types/LiquidityToUsdParams.html +1 -1
  230. package/docs/types/LoopingDebt.html +1 -1
  231. package/docs/types/LoopingPoolNames.html +1 -1
  232. package/docs/types/LpBreakdownType.html +1 -1
  233. package/docs/types/MemberPoolDataType.html +1 -1
  234. package/docs/types/MemberType.html +1 -1
  235. package/docs/types/MultiGetVaultBalancesParams.html +1 -1
  236. package/docs/types/NaviInvestor.html +1 -1
  237. package/docs/types/OtherReceiptFields.html +1 -1
  238. package/docs/types/PoolName.html +1 -1
  239. package/docs/types/PoolReceipt.html +1 -1
  240. package/docs/types/PoolType.html +1 -1
  241. package/docs/types/Receipt.html +1 -1
  242. package/docs/types/ReceiptGQL.html +1 -1
  243. package/docs/types/SingleAssetMultiVaultBalance.html +1 -1
  244. package/docs/types/SingleAssetPoolNames.html +1 -1
  245. package/docs/types/SingleAssetTokenHoldings.html +1 -1
  246. package/docs/types/SingleAssetVaultBalance.html +1 -1
  247. package/docs/types/SingleGetVaultBalancesParams.html +1 -1
  248. package/docs/types/StrategyType.html +1 -1
  249. package/docs/types/SuiNetwork.html +1 -1
  250. package/docs/types/SwapOptions.html +1 -1
  251. package/docs/types/TickSpacing.html +1 -1
  252. package/docs/types/TotalWeightType.html +1 -1
  253. package/docs/types/TransactionBlockType.html +1 -1
  254. package/docs/types/UserPoolLiquidity.html +1 -1
  255. package/docs/types/UserPoolTokenHoldings.html +1 -1
  256. package/docs/types/UserUsdHoldings.html +1 -1
  257. package/docs/types/VaultBalance.html +1 -1
  258. package/docs/types/WithdrawV2EventNode.html +1 -1
  259. package/docs/variables/bluefinPoolMap.html +1 -1
  260. package/docs/variables/cetusPoolMap.html +1 -1
  261. package/docs/variables/coinsList.html +1 -1
  262. package/docs/variables/defunctPoolsSet.html +1 -1
  263. package/docs/variables/doubleAssetPoolCoinMap.html +1 -1
  264. package/docs/variables/eventCategories.html +1 -1
  265. package/docs/variables/ignoredWalletsForDailyRevenue.html +1 -1
  266. package/docs/variables/loopingAccountAddresses.html +1 -1
  267. package/docs/variables/loopingPoolCoinMap.html +1 -1
  268. package/docs/variables/naviAssetMap.html +1 -1
  269. package/docs/variables/poolIdPoolNameMap.html +1 -1
  270. package/docs/variables/poolInfo.html +1 -1
  271. package/docs/variables/singleAssetPoolCoinMap.html +1 -1
  272. package/docs/variables/stableCoins.html +1 -1
  273. package/package.json +2 -2
@@ -577,7 +577,7 @@ const depositBluefinSuiFirstTxb = async (amountA, amountB, poolName, options, tr
577
577
  }
578
578
  if (poolName === "BLUEFIN-SUI-USDC") {
579
579
  txb.moveCall({
580
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit`,
580
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit_v2`,
581
581
  typeArguments: [
582
582
  coins_js_1.coinsList[pool1].type,
583
583
  coins_js_1.coinsList[pool2].type,
@@ -598,13 +598,15 @@ const depositBluefinSuiFirstTxb = async (amountA, amountB, poolName, options, tr
598
598
  txb.object((0, constants_js_1.getConf)().BLUEFIN_SUI_USDC_POOL),
599
599
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
600
600
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
601
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
602
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
601
603
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
602
604
  ],
603
605
  });
604
606
  }
605
607
  else if (poolName === "BLUEFIN-SUI-BUCK") {
606
608
  txb.moveCall({
607
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit`,
609
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit_v2`,
608
610
  typeArguments: [
609
611
  coins_js_1.coinsList[pool1].type,
610
612
  coins_js_1.coinsList[pool2].type,
@@ -625,13 +627,15 @@ const depositBluefinSuiFirstTxb = async (amountA, amountB, poolName, options, tr
625
627
  txb.object((0, constants_js_1.getConf)().BLUEFIN_SUI_BUCK_POOL),
626
628
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
627
629
  txb.object(maps_js_1.cetusPoolMap["BUCK-SUI"]),
630
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
631
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
628
632
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
629
633
  ],
630
634
  });
631
635
  }
632
636
  else if (poolName === "BLUEFIN-SUI-AUSD") {
633
637
  txb.moveCall({
634
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit`,
638
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit_v2`,
635
639
  typeArguments: [
636
640
  coins_js_1.coinsList[pool1].type,
637
641
  coins_js_1.coinsList[pool2].type,
@@ -652,13 +656,15 @@ const depositBluefinSuiFirstTxb = async (amountA, amountB, poolName, options, tr
652
656
  txb.object((0, constants_js_1.getConf)().BLUEFIN_SUI_AUSD_POOL),
653
657
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
654
658
  txb.object(maps_js_1.cetusPoolMap["AUSD-SUI"]),
659
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
660
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
655
661
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
656
662
  ],
657
663
  });
658
664
  }
659
665
  else if (poolName === "BLUEFIN-AUTOBALANCE-SUI-USDC") {
660
666
  txb.moveCall({
661
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit`,
667
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_first_pool::user_deposit_v2`,
662
668
  typeArguments: [
663
669
  coins_js_1.coinsList[pool1].type,
664
670
  coins_js_1.coinsList[pool2].type,
@@ -678,6 +684,8 @@ const depositBluefinSuiFirstTxb = async (amountA, amountB, poolName, options, tr
678
684
  txb.object((0, constants_js_1.getConf)().BLUEFIN_SUI_USDC_POOL),
679
685
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
680
686
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
687
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
688
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
681
689
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
682
690
  ],
683
691
  });
@@ -727,7 +735,7 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
727
735
  }
728
736
  if (poolName === "BLUEFIN-USDT-USDC") {
729
737
  txb.moveCall({
730
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
738
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
731
739
  typeArguments: [
732
740
  coins_js_1.coinsList[pool1].type,
733
741
  coins_js_1.coinsList[pool2].type,
@@ -749,13 +757,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
749
757
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
750
758
  txb.object(maps_js_1.cetusPoolMap["USDC-USDT"]),
751
759
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
760
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
761
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
752
762
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
753
763
  ],
754
764
  });
755
765
  }
756
766
  else if (poolName === "BLUEFIN-AUSD-USDC") {
757
767
  txb.moveCall({
758
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
768
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
759
769
  typeArguments: [
760
770
  coins_js_1.coinsList[pool1].type,
761
771
  coins_js_1.coinsList[pool2].type,
@@ -777,13 +787,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
777
787
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
778
788
  txb.object(maps_js_1.cetusPoolMap["USDC-AUSD"]),
779
789
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
790
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
791
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
780
792
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
781
793
  ],
782
794
  });
783
795
  }
784
796
  else if (poolName === "BLUEFIN-WBTC-USDC") {
785
797
  txb.moveCall({
786
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
798
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
787
799
  typeArguments: [
788
800
  coins_js_1.coinsList[pool1].type,
789
801
  coins_js_1.coinsList[pool2].type,
@@ -805,13 +817,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
805
817
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
806
818
  txb.object(maps_js_1.cetusPoolMap["USDC-WBTC"]),
807
819
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
820
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
821
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
808
822
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
809
823
  ],
810
824
  });
811
825
  }
812
826
  else if (poolName === "BLUEFIN-SEND-USDC") {
813
827
  txb.moveCall({
814
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
828
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
815
829
  typeArguments: [
816
830
  coins_js_1.coinsList[pool1].type,
817
831
  coins_js_1.coinsList[pool2].type,
@@ -833,6 +847,8 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
833
847
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
834
848
  txb.object(maps_js_1.cetusPoolMap["USDC-SEND"]),
835
849
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
850
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
851
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
836
852
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
837
853
  ],
838
854
  });
@@ -867,7 +883,7 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
867
883
  }
868
884
  else if (poolName === "BLUEFIN-AUTOBALANCE-USDT-USDC") {
869
885
  txb.moveCall({
870
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
886
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
871
887
  typeArguments: [
872
888
  coins_js_1.coinsList["USDT"].type,
873
889
  coins_js_1.coinsList["USDC"].type,
@@ -888,13 +904,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
888
904
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
889
905
  txb.object(maps_js_1.cetusPoolMap["USDC-USDT"]),
890
906
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
907
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
908
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
891
909
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
892
910
  ],
893
911
  });
894
912
  }
895
913
  else if (poolName === "BLUEFIN-SUIUSDT-USDC") {
896
914
  txb.moveCall({
897
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
915
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
898
916
  typeArguments: [
899
917
  coins_js_1.coinsList[pool1].type,
900
918
  coins_js_1.coinsList[pool2].type,
@@ -916,13 +934,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
916
934
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
917
935
  txb.object(maps_js_1.cetusPoolMap["USDC-SUIUSDT"]),
918
936
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
937
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
938
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
919
939
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
920
940
  ],
921
941
  });
922
942
  }
923
943
  else if (poolName === "BLUEFIN-AUTOBALANCE-SUIUSDT-USDC") {
924
944
  txb.moveCall({
925
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
945
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
926
946
  typeArguments: [
927
947
  coins_js_1.coinsList["SUIUSDT"].type,
928
948
  coins_js_1.coinsList["USDC"].type,
@@ -943,13 +963,15 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
943
963
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
944
964
  txb.object(maps_js_1.cetusPoolMap["USDC-SUIUSDT"]),
945
965
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
966
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
967
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
946
968
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
947
969
  ],
948
970
  });
949
971
  }
950
972
  else if (poolName === "BLUEFIN-AUTOBALANCE-DEEP-BLUE") {
951
973
  txb.moveCall({
952
- target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit`,
974
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
953
975
  typeArguments: [
954
976
  coins_js_1.coinsList["DEEP"].type,
955
977
  coins_js_1.coinsList["BLUE"].type,
@@ -970,6 +992,8 @@ const depositBluefinType1Txb = async (amountA, amountB, poolName, options, trans
970
992
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
971
993
  txb.object(maps_js_1.cetusPoolMap["BLUE-DEEP"]),
972
994
  txb.object(maps_js_1.cetusPoolMap["BLUE-SUI"]),
995
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
996
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
973
997
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
974
998
  ],
975
999
  });
@@ -1019,7 +1043,7 @@ const depositBluefinType2Txb = async (amountA, amountB, poolName, options, trans
1019
1043
  }
1020
1044
  if (poolName === "BLUEFIN-ALPHA-USDC") {
1021
1045
  txb.moveCall({
1022
- target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit`,
1046
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit_v2`,
1023
1047
  typeArguments: [
1024
1048
  coins_js_1.coinsList[pool1].type,
1025
1049
  coins_js_1.coinsList[pool2].type,
@@ -1041,13 +1065,15 @@ const depositBluefinType2Txb = async (amountA, amountB, poolName, options, trans
1041
1065
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1042
1066
  txb.object(maps_js_1.cetusPoolMap["ALPHA-USDC"]),
1043
1067
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
1068
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1069
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1044
1070
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1045
1071
  ],
1046
1072
  });
1047
1073
  }
1048
1074
  else if (poolName === "BLUEFIN-NAVX-VSUI") {
1049
1075
  txb.moveCall({
1050
- target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit`,
1076
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit_v2`,
1051
1077
  typeArguments: [
1052
1078
  coins_js_1.coinsList[pool1].type,
1053
1079
  coins_js_1.coinsList[pool2].type,
@@ -1069,13 +1095,15 @@ const depositBluefinType2Txb = async (amountA, amountB, poolName, options, trans
1069
1095
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1070
1096
  txb.object(maps_js_1.cetusPoolMap["NAVX-VSUI"]),
1071
1097
  txb.object(maps_js_1.cetusPoolMap["VSUI-SUI"]),
1098
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1099
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1072
1100
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1073
1101
  ],
1074
1102
  });
1075
1103
  }
1076
1104
  else if (poolName === "BLUEFIN-BLUE-USDC") {
1077
1105
  txb.moveCall({
1078
- target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit`,
1106
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_2_pool::user_deposit_v2`,
1079
1107
  typeArguments: [
1080
1108
  coins_js_1.coinsList[pool1].type,
1081
1109
  coins_js_1.coinsList[pool2].type,
@@ -1097,6 +1125,8 @@ const depositBluefinType2Txb = async (amountA, amountB, poolName, options, trans
1097
1125
  txb.object((0, constants_js_1.getConf)().BLUEFIN_DEEP_SUI_POOL),
1098
1126
  txb.object(maps_js_1.cetusPoolMap["BLUE-USDC"]),
1099
1127
  txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
1128
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1129
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1100
1130
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1101
1131
  ],
1102
1132
  });
@@ -1202,7 +1232,7 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1202
1232
  }
1203
1233
  if (poolName === "BLUEFIN-BLUE-SUI") {
1204
1234
  txb.moveCall({
1205
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit`,
1235
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit_v2`,
1206
1236
  typeArguments: [
1207
1237
  coins_js_1.coinsList[pool1].type,
1208
1238
  coins_js_1.coinsList[pool2].type,
@@ -1223,13 +1253,15 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1223
1253
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1224
1254
  txb.object((0, constants_js_1.getConf)().BLUEFIN_DEEP_SUI_POOL),
1225
1255
  txb.object(maps_js_1.cetusPoolMap["BLUE-SUI"]),
1256
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1257
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1226
1258
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1227
1259
  ],
1228
1260
  });
1229
1261
  }
1230
1262
  else if (poolName === "BLUEFIN-WBTC-SUI") {
1231
1263
  txb.moveCall({
1232
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit`,
1264
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit_v2`,
1233
1265
  typeArguments: [
1234
1266
  coins_js_1.coinsList[pool1].type,
1235
1267
  coins_js_1.coinsList[pool2].type,
@@ -1250,13 +1282,15 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1250
1282
  txb.object((0, constants_js_1.getConf)().BLUEFIN_WBTC_SUI_POOL),
1251
1283
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1252
1284
  txb.object(maps_js_1.cetusPoolMap["WBTC-SUI"]),
1285
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1286
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1253
1287
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1254
1288
  ],
1255
1289
  });
1256
1290
  }
1257
1291
  else if (poolName === "BLUEFIN-DEEP-SUI") {
1258
1292
  txb.moveCall({
1259
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit`,
1293
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit_v2`,
1260
1294
  typeArguments: [
1261
1295
  coins_js_1.coinsList[pool1].type,
1262
1296
  coins_js_1.coinsList[pool2].type,
@@ -1277,6 +1311,8 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1277
1311
  txb.object((0, constants_js_1.getConf)().BLUEFIN_DEEP_SUI_POOL),
1278
1312
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1279
1313
  txb.object(maps_js_1.cetusPoolMap["DEEP-SUI"]),
1314
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1315
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1280
1316
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1281
1317
  ],
1282
1318
  });
@@ -1309,7 +1345,7 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1309
1345
  }
1310
1346
  else if (poolName === "BLUEFIN-AUTOBALANCE-DEEP-SUI") {
1311
1347
  txb.moveCall({
1312
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit`,
1348
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit_v2`,
1313
1349
  typeArguments: [
1314
1350
  coins_js_1.coinsList[pool1].type,
1315
1351
  coins_js_1.coinsList[pool2].type,
@@ -1328,13 +1364,15 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1328
1364
  txb.object((0, constants_js_1.getConf)().BLUEFIN_DEEP_SUI_POOL),
1329
1365
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1330
1366
  txb.object(maps_js_1.cetusPoolMap["DEEP-SUI"]),
1367
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1368
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1331
1369
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1332
1370
  ],
1333
1371
  });
1334
1372
  }
1335
1373
  else if (poolName === "BLUEFIN-AUTOBALANCE-BLUE-SUI") {
1336
1374
  txb.moveCall({
1337
- target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit`,
1375
+ target: `${poolinfo.packageId}::alphafi_bluefin_sui_second_pool::user_deposit_v2`,
1338
1376
  typeArguments: [
1339
1377
  coins_js_1.coinsList[pool1].type,
1340
1378
  coins_js_1.coinsList[pool2].type,
@@ -1353,6 +1391,8 @@ const depositBluefinSuiSecondTxb = async (amountA, amountB, poolName, options, t
1353
1391
  txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1354
1392
  txb.object((0, constants_js_1.getConf)().BLUEFIN_DEEP_SUI_POOL),
1355
1393
  txb.object(maps_js_1.cetusPoolMap["BLUE-SUI"]),
1394
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1395
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1356
1396
  txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1357
1397
  ],
1358
1398
  });
@@ -1460,6 +1500,126 @@ const depositBluefinStsuiTxb = async (amountA, amountB, poolName, options, trans
1460
1500
  ],
1461
1501
  });
1462
1502
  }
1503
+ else if (poolName === "BLUEFIN-STSUI-WSOL") {
1504
+ txb.moveCall({
1505
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_first_pool::user_deposit`,
1506
+ typeArguments: [
1507
+ coins_js_1.coinsList[pool1].type,
1508
+ coins_js_1.coinsList[pool2].type,
1509
+ coins_js_1.coinsList["BLUE"].type,
1510
+ ],
1511
+ arguments: [
1512
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
1513
+ txb.object((0, constants_js_1.getConf)().VERSION),
1514
+ someReceipt,
1515
+ txb.object(poolinfo.poolId),
1516
+ depositCoinA,
1517
+ depositCoinB,
1518
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
1519
+ txb.object(poolinfo.investorId),
1520
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
1521
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
1522
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_STSUI_WSOL_POOL),
1523
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1524
+ txb.object(maps_js_1.cetusPoolMap["WSOL-SUI"]),
1525
+ txb.object(maps_js_1.bluefinPoolMap["SUI-WSOL"]),
1526
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1527
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1528
+ txb.pure.bool(false),
1529
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1530
+ ],
1531
+ });
1532
+ }
1533
+ else if (poolName === "BLUEFIN-STSUI-ETH") {
1534
+ txb.moveCall({
1535
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_first_pool::user_deposit`,
1536
+ typeArguments: [
1537
+ coins_js_1.coinsList[pool1].type,
1538
+ coins_js_1.coinsList[pool2].type,
1539
+ coins_js_1.coinsList["BLUE"].type,
1540
+ ],
1541
+ arguments: [
1542
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
1543
+ txb.object((0, constants_js_1.getConf)().VERSION),
1544
+ someReceipt,
1545
+ txb.object(poolinfo.poolId),
1546
+ depositCoinA,
1547
+ depositCoinB,
1548
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
1549
+ txb.object(poolinfo.investorId),
1550
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
1551
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
1552
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_STSUI_ETH_POOL),
1553
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1554
+ txb.object(maps_js_1.cetusPoolMap["ETH-SUI"]),
1555
+ txb.object(maps_js_1.bluefinPoolMap["SUI-ETH"]),
1556
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1557
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1558
+ txb.pure.bool(false),
1559
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1560
+ ],
1561
+ });
1562
+ }
1563
+ else if (poolName === "BLUEFIN-STSUI-BUCK") {
1564
+ txb.moveCall({
1565
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_first_pool::user_deposit`,
1566
+ typeArguments: [
1567
+ coins_js_1.coinsList[pool1].type,
1568
+ coins_js_1.coinsList[pool2].type,
1569
+ coins_js_1.coinsList["BLUE"].type,
1570
+ ],
1571
+ arguments: [
1572
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
1573
+ txb.object((0, constants_js_1.getConf)().VERSION),
1574
+ someReceipt,
1575
+ txb.object(poolinfo.poolId),
1576
+ depositCoinA,
1577
+ depositCoinB,
1578
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
1579
+ txb.object(poolinfo.investorId),
1580
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
1581
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
1582
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_STSUI_BUCK_POOL),
1583
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1584
+ txb.object(maps_js_1.cetusPoolMap["BUCK-SUI"]),
1585
+ txb.object(maps_js_1.bluefinPoolMap["SUI-BUCK"]),
1586
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1587
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1588
+ txb.pure.bool(false),
1589
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1590
+ ],
1591
+ });
1592
+ }
1593
+ else if (poolName === "BLUEFIN-STSUI-MUSD") {
1594
+ txb.moveCall({
1595
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_first_pool::user_deposit`,
1596
+ typeArguments: [
1597
+ coins_js_1.coinsList[pool1].type,
1598
+ coins_js_1.coinsList[pool2].type,
1599
+ coins_js_1.coinsList["BLUE"].type,
1600
+ ],
1601
+ arguments: [
1602
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
1603
+ txb.object((0, constants_js_1.getConf)().VERSION),
1604
+ someReceipt,
1605
+ txb.object(poolinfo.poolId),
1606
+ depositCoinA,
1607
+ depositCoinB,
1608
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
1609
+ txb.object(poolinfo.investorId),
1610
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
1611
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
1612
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_STSUI_MUSD_POOL),
1613
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1614
+ txb.object(maps_js_1.cetusPoolMap["MUSD-SUI"]),
1615
+ txb.object(maps_js_1.bluefinPoolMap["SUI-MUSD"]),
1616
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1617
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1618
+ txb.pure.bool(true),
1619
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1620
+ ],
1621
+ });
1622
+ }
1463
1623
  txb.transferObjects([coin1Arg, coin2Arg], address);
1464
1624
  }
1465
1625
  else {