@alphafi/alphafi-sdk 0.0.78 → 0.0.79

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 (216) hide show
  1. package/dist/cjs/common/cetus_mainnet_config.js +2 -2
  2. package/dist/cjs/common/cetus_mainnet_config.js.map +1 -1
  3. package/dist/cjs/common/constants.d.ts.map +1 -1
  4. package/dist/cjs/common/constants.js +22 -10
  5. package/dist/cjs/common/constants.js.map +1 -1
  6. package/dist/cjs/sui-sdk/client.d.ts.map +1 -1
  7. package/dist/cjs/sui-sdk/client.js +4 -0
  8. package/dist/cjs/sui-sdk/client.js.map +1 -1
  9. package/dist/esm/common/cetus_mainnet_config.js +2 -2
  10. package/dist/esm/common/cetus_mainnet_config.js.map +1 -1
  11. package/dist/esm/common/constants.d.ts.map +1 -1
  12. package/dist/esm/common/constants.js +22 -10
  13. package/dist/esm/common/constants.js.map +1 -1
  14. package/dist/esm/sui-sdk/client.d.ts.map +1 -1
  15. package/dist/esm/sui-sdk/client.js +4 -0
  16. package/dist/esm/sui-sdk/client.js.map +1 -1
  17. package/docs/functions/alphaLpBreakdown.html +1 -1
  18. package/docs/functions/cetusLpBreakdown.html +1 -1
  19. package/docs/functions/claimBlueRewardTxb.html +1 -1
  20. package/docs/functions/claimRewardTxb.html +1 -1
  21. package/docs/functions/coinAmountToXTokensDoubleAsset.html +1 -1
  22. package/docs/functions/coinAmountToXTokensSingleAsset.html +1 -1
  23. package/docs/functions/coinsInPool.html +1 -1
  24. package/docs/functions/collectRewards.html +1 -1
  25. package/docs/functions/deposit.html +1 -1
  26. package/docs/functions/depositDoubleAssetTxb.html +1 -1
  27. package/docs/functions/depositSingleAssetTxb.html +1 -1
  28. package/docs/functions/fetchAfterTransactionEvents.html +1 -1
  29. package/docs/functions/fetchAirdropClaimEvents.html +1 -1
  30. package/docs/functions/fetchAutoCompoundingEvents.html +1 -1
  31. package/docs/functions/fetchAutoCompoundingEventsGql.html +1 -1
  32. package/docs/functions/fetchCetusPools.html +1 -1
  33. package/docs/functions/fetchChainIdentifier.html +1 -1
  34. package/docs/functions/fetchCheckRatioEvents.html +1 -1
  35. package/docs/functions/fetchEvents.html +1 -1
  36. package/docs/functions/fetchLiquidityChangeEvents.html +1 -1
  37. package/docs/functions/fetchMultiCategoryEvents.html +1 -1
  38. package/docs/functions/fetchMultiReceipts.html +1 -1
  39. package/docs/functions/fetchNftHolders.html +1 -1
  40. package/docs/functions/fetchPools.html +1 -1
  41. package/docs/functions/fetchPortfolioData.html +1 -1
  42. package/docs/functions/fetchProtocolData.html +1 -1
  43. package/docs/functions/fetchTVL.html +1 -1
  44. package/docs/functions/fetchTransactions.html +1 -1
  45. package/docs/functions/fetchUserVaultBalances.html +1 -1
  46. package/docs/functions/fetchUserVaults.html +1 -1
  47. package/docs/functions/fetchUserWalletData.html +1 -1
  48. package/docs/functions/fetchVoloExchangeRate.html +1 -1
  49. package/docs/functions/fetchWithdrawV2Events.html +1 -1
  50. package/docs/functions/getAirdropShare.html +1 -1
  51. package/docs/functions/getAllDoubleAssetVaults.html +1 -1
  52. package/docs/functions/getAllSingleAssetVaults.html +1 -1
  53. package/docs/functions/getAllVaultBalances.html +1 -1
  54. package/docs/functions/getAllVaults.html +1 -1
  55. package/docs/functions/getAlphaUnlocks.html +1 -1
  56. package/docs/functions/getAlphaVaultBalance.html +1 -1
  57. package/docs/functions/getAmounts.html +1 -1
  58. package/docs/functions/getApr.html +1 -1
  59. package/docs/functions/getAprs.html +1 -1
  60. package/docs/functions/getApy.html +1 -1
  61. package/docs/functions/getApys.html +1 -1
  62. package/docs/functions/getCetusInvestorTicksMap.html +1 -1
  63. package/docs/functions/getCetusPool.html +1 -1
  64. package/docs/functions/getCetusSqrtPriceMap.html +1 -1
  65. package/docs/functions/getCoinAmountsFromLiquidity.html +1 -1
  66. package/docs/functions/getConf.html +1 -1
  67. package/docs/functions/getCurrentTick.html +1 -1
  68. package/docs/functions/getDistributor.html +1 -1
  69. package/docs/functions/getDoubleAssetVaultBalance.html +1 -1
  70. package/docs/functions/getDoubleAssetVaults.html +1 -1
  71. package/docs/functions/getInvestor.html +1 -1
  72. package/docs/functions/getInvestorPoolMap.html +1 -1
  73. package/docs/functions/getLastAutoCompoundTime.html +1 -1
  74. package/docs/functions/getLatestPrices.html +1 -1
  75. package/docs/functions/getLiquidity.html +1 -1
  76. package/docs/functions/getMultiCetusPool.html +1 -1
  77. package/docs/functions/getMultiInvestor.html +1 -1
  78. package/docs/functions/getMultiLatestPrices.html +1 -1
  79. package/docs/functions/getMultiParentPool.html +1 -1
  80. package/docs/functions/getMultiPool.html +1 -1
  81. package/docs/functions/getMultiReceipts.html +1 -1
  82. package/docs/functions/getParentPool.html +1 -1
  83. package/docs/functions/getPool.html +1 -1
  84. package/docs/functions/getPoolExchangeRate.html +1 -1
  85. package/docs/functions/getPoolExchangeRateMap.html +1 -1
  86. package/docs/functions/getPoolsWeightDistribution.html +1 -1
  87. package/docs/functions/getPositionRange.html +1 -1
  88. package/docs/functions/getPositionRanges.html +1 -1
  89. package/docs/functions/getPositionTicks.html +1 -1
  90. package/docs/functions/getPriceToTick.html +1 -1
  91. package/docs/functions/getRebalanceHistories.html +1 -1
  92. package/docs/functions/getRebalanceHistory.html +1 -1
  93. package/docs/functions/getReceipts.html +1 -1
  94. package/docs/functions/getSingleAssetVaultBalance.html +1 -1
  95. package/docs/functions/getSingleAssetVaults.html +1 -1
  96. package/docs/functions/getSuiClient.html +2 -2
  97. package/docs/functions/getSuiNodeUrl.html +2 -2
  98. package/docs/functions/getTVLs-1.html +1 -1
  99. package/docs/functions/getTickSpacing.html +1 -1
  100. package/docs/functions/getTickToPrice.html +1 -1
  101. package/docs/functions/getTvls.html +1 -1
  102. package/docs/functions/getVaultBalance.html +1 -1
  103. package/docs/functions/getVaults.html +1 -1
  104. package/docs/functions/getZapAmounts.html +1 -1
  105. package/docs/functions/lastAutocompoundTime.html +1 -1
  106. package/docs/functions/liquidityToTokens.html +1 -1
  107. package/docs/functions/multiLiquidityToTokens.html +1 -1
  108. package/docs/functions/multiTokensToUsd.html +1 -1
  109. package/docs/functions/multiXTokensToLiquidity.html +1 -1
  110. package/docs/functions/parseUserWalletData.html +1 -1
  111. package/docs/functions/pendingBlueRewardAmount.html +1 -1
  112. package/docs/functions/setCustomSuiClient.html +2 -2
  113. package/docs/functions/setSuiClient.html +2 -2
  114. package/docs/functions/setSuiNodeUrl.html +2 -2
  115. package/docs/functions/setWeights.html +1 -1
  116. package/docs/functions/withdraw.html +1 -1
  117. package/docs/functions/withdrawAlphaTxb.html +1 -1
  118. package/docs/functions/withdrawTxb.html +1 -1
  119. package/docs/functions/zapDepositTxb.html +1 -1
  120. package/docs/index.html +2 -2
  121. package/docs/interfaces/Coin.html +6 -6
  122. package/docs/interfaces/CoinPair.html +2 -2
  123. package/docs/interfaces/CommonEventAttributes.html +2 -2
  124. package/docs/interfaces/NaviVoloData.html +2 -2
  125. package/docs/interfaces/PoolData.html +2 -2
  126. package/docs/interfaces/PoolWeightDistribution.html +2 -2
  127. package/docs/interfaces/RebalanceHistoryType.html +2 -2
  128. package/docs/modules.html +2 -2
  129. package/docs/types/AfterTransactionEventNode.html +1 -1
  130. package/docs/types/AirdropClaimEventNode.html +1 -1
  131. package/docs/types/Allocator.html +1 -1
  132. package/docs/types/AlphaFiDoubleAssetVault.html +1 -1
  133. package/docs/types/AlphaFiMultiVaultBalance.html +1 -1
  134. package/docs/types/AlphaFiSingleAssetVault.html +1 -1
  135. package/docs/types/AlphaFiVault.html +1 -1
  136. package/docs/types/AlphaFiVaultBalance.html +1 -1
  137. package/docs/types/AlphaPoolType.html +1 -1
  138. package/docs/types/AlphaReceipt.html +1 -1
  139. package/docs/types/AlphaReceiptFields.html +1 -1
  140. package/docs/types/AlphaVaultBalance.html +1 -1
  141. package/docs/types/AutoBalancePoolNames.html +1 -1
  142. package/docs/types/AutoCompoundingEventNode.html +1 -1
  143. package/docs/types/BluefinInvestor.html +1 -1
  144. package/docs/types/BluefinPoolType.html +1 -1
  145. package/docs/types/BucketInvestor.html +1 -1
  146. package/docs/types/CetusInvestor.html +1 -1
  147. package/docs/types/CetusPoolType.html +1 -1
  148. package/docs/types/CetusSwapOptions.html +1 -1
  149. package/docs/types/CoinAmounts.html +1 -1
  150. package/docs/types/CoinName.html +1 -1
  151. package/docs/types/CoinType.html +1 -1
  152. package/docs/types/CommonInvestorFields.html +1 -1
  153. package/docs/types/CreatePoolOptions.html +1 -1
  154. package/docs/types/Distributor.html +1 -1
  155. package/docs/types/DoubleAssetMultiVaultBalance.html +1 -1
  156. package/docs/types/DoubleAssetPoolNames.html +1 -1
  157. package/docs/types/DoubleAssetTokenHoldings.html +1 -1
  158. package/docs/types/DoubleAssetVaultBalance.html +1 -1
  159. package/docs/types/EventCategory.html +1 -1
  160. package/docs/types/EventNode.html +1 -1
  161. package/docs/types/GetHoldersParams.html +1 -1
  162. package/docs/types/GetTokenHoldingsParams.html +1 -1
  163. package/docs/types/GetUserTokensFromTransactionsParams.html +1 -1
  164. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +1 -1
  165. package/docs/types/GetVaultBalanceParams.html +1 -1
  166. package/docs/types/HoldingsObj.html +1 -1
  167. package/docs/types/Icon.html +1 -1
  168. package/docs/types/Investor.html +1 -1
  169. package/docs/types/LiquidityChangeEventNode.html +1 -1
  170. package/docs/types/LiquidityToTokensParams.html +1 -1
  171. package/docs/types/LiquidityToUsdParams.html +1 -1
  172. package/docs/types/LoopingDebt.html +1 -1
  173. package/docs/types/LoopingPoolNames.html +1 -1
  174. package/docs/types/LpBreakdownType.html +1 -1
  175. package/docs/types/MemberPoolDataType.html +1 -1
  176. package/docs/types/MemberType.html +1 -1
  177. package/docs/types/MultiGetVaultBalancesParams.html +1 -1
  178. package/docs/types/NaviInvestor.html +1 -1
  179. package/docs/types/OtherReceiptFields.html +1 -1
  180. package/docs/types/PoolName.html +1 -1
  181. package/docs/types/PoolReceipt.html +1 -1
  182. package/docs/types/PoolType.html +1 -1
  183. package/docs/types/Receipt.html +1 -1
  184. package/docs/types/ReceiptGQL.html +1 -1
  185. package/docs/types/SingleAssetMultiVaultBalance.html +1 -1
  186. package/docs/types/SingleAssetPoolNames.html +1 -1
  187. package/docs/types/SingleAssetTokenHoldings.html +1 -1
  188. package/docs/types/SingleAssetVaultBalance.html +1 -1
  189. package/docs/types/SingleGetVaultBalancesParams.html +1 -1
  190. package/docs/types/StrategyType.html +1 -1
  191. package/docs/types/SuiNetwork.html +1 -1
  192. package/docs/types/SwapOptions.html +1 -1
  193. package/docs/types/TickSpacing.html +1 -1
  194. package/docs/types/TotalWeightType.html +1 -1
  195. package/docs/types/TransactionBlockType.html +1 -1
  196. package/docs/types/UserPoolLiquidity.html +1 -1
  197. package/docs/types/UserPoolTokenHoldings.html +1 -1
  198. package/docs/types/UserUsdHoldings.html +1 -1
  199. package/docs/types/VaultBalance.html +1 -1
  200. package/docs/types/VoteCastEvent.html +1 -1
  201. package/docs/types/WithdrawV2EventNode.html +1 -1
  202. package/docs/variables/bluefinPoolMap.html +1 -1
  203. package/docs/variables/cetusPoolMap.html +1 -1
  204. package/docs/variables/coinsList.html +1 -1
  205. package/docs/variables/defunctPoolsSet.html +1 -1
  206. package/docs/variables/doubleAssetPoolCoinMap.html +1 -1
  207. package/docs/variables/eventCategories.html +1 -1
  208. package/docs/variables/ignoredWalletsForDailyRevenue.html +1 -1
  209. package/docs/variables/loopingAccountAddresses.html +1 -1
  210. package/docs/variables/loopingPoolCoinMap.html +1 -1
  211. package/docs/variables/naviAssetMap.html +1 -1
  212. package/docs/variables/poolIdPoolNameMap.html +1 -1
  213. package/docs/variables/poolInfo.html +1 -1
  214. package/docs/variables/singleAssetPoolCoinMap.html +1 -1
  215. package/docs/variables/stableCoins.html +1 -1
  216. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/sui-sdk/client.ts"],"names":[],"mappings":"AAKA,OAAO,EAAkB,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAM/D;;;GAGG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAGtC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAW3D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,QAK/C;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,QAO9C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,cAAe,SAAS,SAEtD,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/sui-sdk/client.ts"],"names":[],"mappings":"AAKA,OAAO,EAAkB,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAW/D;;;GAGG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAGtC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAW3D;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,QAM/C;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,QAQ9C;AAED;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,cAAe,SAAS,SAGtD,CAAC"}
@@ -9,6 +9,7 @@ exports.setSuiClient = setSuiClient;
9
9
  /* This file contains the setup for the Sui Client, implemented as a singleton
10
10
  */
11
11
  const client_1 = require("@mysten/sui/client");
12
+ const stsui_sdk_1 = require("@alphafi/stsui-sdk");
12
13
  // Lazy initialization for the SuiClient instance
13
14
  let suiClientInstance = undefined;
14
15
  let suiNodeUrl = undefined;
@@ -44,6 +45,7 @@ function getSuiClient(rpcNodeUrl) {
44
45
  * @param rpcNodeUrl - The new RPC URL for the Sui client.
45
46
  */
46
47
  function setSuiNodeUrl(rpcNodeUrl) {
48
+ (0, stsui_sdk_1.setSuiNodeUrl)(rpcNodeUrl);
47
49
  if (suiNodeUrl !== rpcNodeUrl) {
48
50
  suiNodeUrl = rpcNodeUrl;
49
51
  suiClientInstance = undefined; // Invalidate the current instance to allow creating a new one
@@ -60,6 +62,7 @@ function setSuiNodeUrl(rpcNodeUrl) {
60
62
  * @param rpcNodeUrl - The new RPC URL to be used for the SuiClient.
61
63
  */
62
64
  function setSuiClient(rpcNodeUrl) {
65
+ (0, stsui_sdk_1.setSuiClient)(rpcNodeUrl);
63
66
  if (suiNodeUrl !== rpcNodeUrl) {
64
67
  suiNodeUrl = rpcNodeUrl;
65
68
  suiClientInstance = new client_1.SuiClient({
@@ -75,6 +78,7 @@ function setSuiClient(rpcNodeUrl) {
75
78
  * @param suiClient - The custom SuiClient instance to be set.
76
79
  */
77
80
  const setCustomSuiClient = (suiClient) => {
81
+ (0, stsui_sdk_1.setCustomSuiClient)(suiClient);
78
82
  suiClientInstance = suiClient;
79
83
  };
80
84
  exports.setCustomSuiClient = setCustomSuiClient;
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/sui-sdk/client.ts"],"names":[],"mappings":";AAAA,wBAAwB;;;AAexB,sCAGC;AAMD,oCAWC;AASD,sCAKC;AAYD,oCAOC;AAlED;GACG;AAEH,+CAA+D;AAE/D,iDAAiD;AACjD,IAAI,iBAAiB,GAA0B,SAAS,CAAC;AACzD,IAAI,UAAU,GAAuB,SAAS,CAAC;AAE/C;;;GAGG;AACH,SAAgB,aAAa;IAC3B,UAAU,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAA,uBAAc,EAAC,SAAS,CAAC,CAAC;IACjE,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;;GAGG;AACH,SAAgB,YAAY,CAAC,UAAmB;IAC9C,IAAI,UAAU,EAAE,CAAC;QACf,aAAa,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;QAChC,iBAAiB,GAAG,IAAI,kBAAS,CAAC;YAChC,GAAG,EAAE,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,UAAkB;IAC9C,IAAI,UAAU,KAAK,UAAU,EAAE,CAAC;QAC9B,UAAU,GAAG,UAAU,CAAC;QACxB,iBAAiB,GAAG,SAAS,CAAC,CAAC,8DAA8D;IAC/F,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAAC,UAAkB;IAC7C,IAAI,UAAU,KAAK,UAAU,EAAE,CAAC;QAC9B,UAAU,GAAG,UAAU,CAAC;QACxB,iBAAiB,GAAG,IAAI,kBAAS,CAAC;YAChC,GAAG,EAAE,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACI,MAAM,kBAAkB,GAAG,CAAC,SAAoB,EAAE,EAAE;IACzD,iBAAiB,GAAG,SAAS,CAAC;AAChC,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B","sourcesContent":["// src/sui-sdk/client.ts\n\n/* This file contains the setup for the Sui Client, implemented as a singleton\n */\n\nimport { getFullnodeUrl, SuiClient } from \"@mysten/sui/client\";\n\n// Lazy initialization for the SuiClient instance\nlet suiClientInstance: SuiClient | undefined = undefined;\nlet suiNodeUrl: string | undefined = undefined;\n\n/**\n * Get the current Sui node URL.\n * If no URL has been set, it defaults to the mainnet full node URL.\n */\nexport function getSuiNodeUrl(): string {\n suiNodeUrl = suiNodeUrl ? suiNodeUrl : getFullnodeUrl(\"mainnet\");\n return suiNodeUrl;\n}\n\n/**\n * Get the SuiClient instance.\n * If a new URL has been set via setSuiNodeUrl, it will create a new instance with the updated URL.\n */\nexport function getSuiClient(rpcNodeUrl?: string): SuiClient {\n if (rpcNodeUrl) {\n setSuiNodeUrl(rpcNodeUrl);\n }\n if (!suiClientInstance) {\n const nodeUrl = getSuiNodeUrl();\n suiClientInstance = new SuiClient({\n url: nodeUrl,\n });\n }\n return suiClientInstance;\n}\n\n/**\n * Set a new Sui node URL.\n * This will invalidate the current SuiClient instance, ensuring that\n * the next call to getSuiClient returns a new instance with the updated URL.\n *\n * @param rpcNodeUrl - The new RPC URL for the Sui client.\n */\nexport function setSuiNodeUrl(rpcNodeUrl: string) {\n if (suiNodeUrl !== rpcNodeUrl) {\n suiNodeUrl = rpcNodeUrl;\n suiClientInstance = undefined; // Invalidate the current instance to allow creating a new one\n }\n}\n\n/**\n * Set a new SuiClient instance with the specified RPC node URL.\n * This function directly creates a new instance of the SuiClient, overriding the existing instance\n * and using the provided URL for future requests.\n *\n * If the RPC node URL is different from the currently stored URL, a new instance of SuiClient will\n * be created and assigned, allowing the client to communicate with a new Sui node.\n *\n * @param rpcNodeUrl - The new RPC URL to be used for the SuiClient.\n */\nexport function setSuiClient(rpcNodeUrl: string) {\n if (suiNodeUrl !== rpcNodeUrl) {\n suiNodeUrl = rpcNodeUrl;\n suiClientInstance = new SuiClient({\n url: rpcNodeUrl,\n });\n }\n}\n\n/**\n * Set a custom SuiClient instance.\n * This function directly assigns the provided SuiClient instance to the global variable,\n * allowing for direct manipulation of the client instance.\n *\n * @param suiClient - The custom SuiClient instance to be set.\n */\nexport const setCustomSuiClient = (suiClient: SuiClient) => {\n suiClientInstance = suiClient;\n};\n"]}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../../src/sui-sdk/client.ts"],"names":[],"mappings":";AAAA,wBAAwB;;;AAoBxB,sCAGC;AAMD,oCAWC;AASD,sCAMC;AAYD,oCAQC;AAzED;GACG;AAEH,+CAA+D;AAC/D,kDAI4B;AAE5B,iDAAiD;AACjD,IAAI,iBAAiB,GAA0B,SAAS,CAAC;AACzD,IAAI,UAAU,GAAuB,SAAS,CAAC;AAE/C;;;GAGG;AACH,SAAgB,aAAa;IAC3B,UAAU,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAA,uBAAc,EAAC,SAAS,CAAC,CAAC;IACjE,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;;GAGG;AACH,SAAgB,YAAY,CAAC,UAAmB;IAC9C,IAAI,UAAU,EAAE,CAAC;QACf,aAAa,CAAC,UAAU,CAAC,CAAC;IAC5B,CAAC;IACD,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;QAChC,iBAAiB,GAAG,IAAI,kBAAS,CAAC;YAChC,GAAG,EAAE,OAAO;SACb,CAAC,CAAC;IACL,CAAC;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,UAAkB;IAC9C,IAAA,yBAAqB,EAAC,UAAU,CAAC,CAAC;IAClC,IAAI,UAAU,KAAK,UAAU,EAAE,CAAC;QAC9B,UAAU,GAAG,UAAU,CAAC;QACxB,iBAAiB,GAAG,SAAS,CAAC,CAAC,8DAA8D;IAC/F,CAAC;AACH,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAAC,UAAkB;IAC7C,IAAA,wBAAoB,EAAC,UAAU,CAAC,CAAC;IACjC,IAAI,UAAU,KAAK,UAAU,EAAE,CAAC;QAC9B,UAAU,GAAG,UAAU,CAAC;QACxB,iBAAiB,GAAG,IAAI,kBAAS,CAAC;YAChC,GAAG,EAAE,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;AACH,CAAC;AAED;;;;;;GAMG;AACI,MAAM,kBAAkB,GAAG,CAAC,SAAoB,EAAE,EAAE;IACzD,IAAA,8BAA0B,EAAC,SAAS,CAAC,CAAC;IACtC,iBAAiB,GAAG,SAAS,CAAC;AAChC,CAAC,CAAC;AAHW,QAAA,kBAAkB,sBAG7B","sourcesContent":["// src/sui-sdk/client.ts\n\n/* This file contains the setup for the Sui Client, implemented as a singleton\n */\n\nimport { getFullnodeUrl, SuiClient } from \"@mysten/sui/client\";\nimport {\n setSuiNodeUrl as setSuiNodeUrlStsuiSDK,\n setSuiClient as setSuiClientStsuiSDK,\n setCustomSuiClient as setCustomSuiClientStsuiSDK,\n} from \"@alphafi/stsui-sdk\";\n\n// Lazy initialization for the SuiClient instance\nlet suiClientInstance: SuiClient | undefined = undefined;\nlet suiNodeUrl: string | undefined = undefined;\n\n/**\n * Get the current Sui node URL.\n * If no URL has been set, it defaults to the mainnet full node URL.\n */\nexport function getSuiNodeUrl(): string {\n suiNodeUrl = suiNodeUrl ? suiNodeUrl : getFullnodeUrl(\"mainnet\");\n return suiNodeUrl;\n}\n\n/**\n * Get the SuiClient instance.\n * If a new URL has been set via setSuiNodeUrl, it will create a new instance with the updated URL.\n */\nexport function getSuiClient(rpcNodeUrl?: string): SuiClient {\n if (rpcNodeUrl) {\n setSuiNodeUrl(rpcNodeUrl);\n }\n if (!suiClientInstance) {\n const nodeUrl = getSuiNodeUrl();\n suiClientInstance = new SuiClient({\n url: nodeUrl,\n });\n }\n return suiClientInstance;\n}\n\n/**\n * Set a new Sui node URL.\n * This will invalidate the current SuiClient instance, ensuring that\n * the next call to getSuiClient returns a new instance with the updated URL.\n *\n * @param rpcNodeUrl - The new RPC URL for the Sui client.\n */\nexport function setSuiNodeUrl(rpcNodeUrl: string) {\n setSuiNodeUrlStsuiSDK(rpcNodeUrl);\n if (suiNodeUrl !== rpcNodeUrl) {\n suiNodeUrl = rpcNodeUrl;\n suiClientInstance = undefined; // Invalidate the current instance to allow creating a new one\n }\n}\n\n/**\n * Set a new SuiClient instance with the specified RPC node URL.\n * This function directly creates a new instance of the SuiClient, overriding the existing instance\n * and using the provided URL for future requests.\n *\n * If the RPC node URL is different from the currently stored URL, a new instance of SuiClient will\n * be created and assigned, allowing the client to communicate with a new Sui node.\n *\n * @param rpcNodeUrl - The new RPC URL to be used for the SuiClient.\n */\nexport function setSuiClient(rpcNodeUrl: string) {\n setSuiClientStsuiSDK(rpcNodeUrl);\n if (suiNodeUrl !== rpcNodeUrl) {\n suiNodeUrl = rpcNodeUrl;\n suiClientInstance = new SuiClient({\n url: rpcNodeUrl,\n });\n }\n}\n\n/**\n * Set a custom SuiClient instance.\n * This function directly assigns the provided SuiClient instance to the global variable,\n * allowing for direct manipulation of the client instance.\n *\n * @param suiClient - The custom SuiClient instance to be set.\n */\nexport const setCustomSuiClient = (suiClient: SuiClient) => {\n setCustomSuiClientStsuiSDK(suiClient);\n suiClientInstance = suiClient;\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { getFullnodeUrl } from "@mysten/sui/client";
1
+ import { getSuiNodeUrl } from "../sui-sdk/client.js";
2
2
  export const cetusMainnetSDKOptions = {
3
- fullRpcUrl: getFullnodeUrl("mainnet"),
3
+ fullRpcUrl: getSuiNodeUrl(),
4
4
  swapCountUrl: "https://api-sui.cetus.zone/v2/sui/swap/count",
5
5
  simulationAccount: {
6
6
  address: "0x4260738f0f7341adc79a8edaa62f8a4681ebd27c595aecab1f322f47bfc52c5e",
@@ -1 +1 @@
1
- {"version":3,"file":"cetus_mainnet_config.js","sourceRoot":"","sources":["../../../src/common/cetus_mainnet_config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,MAAM,CAAC,MAAM,sBAAsB,GAAe;IAChD,UAAU,EAAE,cAAc,CAAC,SAAS,CAAC;IACrC,YAAY,EAAE,8CAA8C;IAC5D,iBAAiB,EAAE;QACjB,OAAO,EACL,oEAAoE;KACvE;IACD,YAAY,EAAE;QACZ,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;QACtE,MAAM,EAAE;YACN,YAAY,EACV,oEAAoE;YACtE,kBAAkB,EAChB,oEAAoE;YACtE,aAAa,EACX,oEAAoE;YACtE,YAAY,EACV,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,sBAAsB,EACpB,oEAAoE;YACtE,iBAAiB,EACf,oEAAoE;SACvE;KACF;IACD,SAAS,EAAE;QACT,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;QACtE,MAAM,EAAE;YACN,QAAQ,EACN,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,eAAe,EACb,oEAAoE;YACtE,YAAY,EACV,oEAAoE;YACtE,WAAW,EACT,oEAAoE;SACvE;KACF;IACD,SAAS,EAAE;QACT,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,QAAQ,EAAE;QACR,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,oBAAoB,EAAE;QACpB,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,aAAa,EAAE,mCAAmC;CACnD,CAAC","sourcesContent":["import { SdkOptions } from \"@cetusprotocol/cetus-sui-clmm-sdk\";\nimport { getFullnodeUrl } from \"@mysten/sui/client\";\n\nexport const cetusMainnetSDKOptions: SdkOptions = {\n fullRpcUrl: getFullnodeUrl(\"mainnet\"),\n swapCountUrl: \"https://api-sui.cetus.zone/v2/sui/swap/count\",\n simulationAccount: {\n address:\n \"0x4260738f0f7341adc79a8edaa62f8a4681ebd27c595aecab1f322f47bfc52c5e\",\n },\n cetus_config: {\n package_id:\n \"0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f\",\n published_at:\n \"0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f\",\n config: {\n coin_list_id:\n \"0x8cbc11d9e10140db3d230f50b4d30e9b721201c0083615441707ffec1ef77b23\",\n launchpad_pools_id:\n \"0x1098fac992eab3a0ab7acf15bb654fc1cf29b5a6142c4ef1058e6c408dd15115\",\n clmm_pools_id:\n \"0x15b6a27dd9ae03eb455aba03b39e29aad74abd3757b8e18c0755651b2ae5b71e\",\n admin_cap_id:\n \"0x39d78781750e193ce35c45ff32c6c0c3f2941fa3ddaf8595c90c555589ddb113\",\n global_config_id:\n \"0x0408fa4e4a4c03cc0de8f23d0c2bbfe8913d178713c9a271ed4080973fe42d8f\",\n coin_list_handle:\n \"0x49136005e90e28c4695419ed4194cc240603f1ea8eb84e62275eaff088a71063\",\n launchpad_pools_handle:\n \"0x5e194a8efcf653830daf85a85b52e3ae8f65dc39481d54b2382acda25068375c\",\n clmm_pools_handle:\n \"0x37f60eb2d9d227949b95da8fea810db3c32d1e1fa8ed87434fc51664f87d83cb\",\n },\n },\n clmm_pool: {\n package_id:\n \"0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb\",\n published_at:\n \"0x70968826ad1b4ba895753f634b0aea68d0672908ca1075a2abdf0fc9e0b2fc6a\",\n config: {\n pools_id:\n \"0xf699e7f2276f5c9a75944b37a0c5b5d9ddfd2471bf6242483b03ab2887d198d0\",\n global_config_id:\n \"0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f\",\n global_vault_id:\n \"0xce7bceef26d3ad1f6d9b6f13a953f053e6ed3ca77907516481ce99ae8e588f2b\",\n admin_cap_id:\n \"0x89c1a321291d15ddae5a086c9abc533dff697fde3d89e0ca836c41af73e36a75\",\n partners_id:\n \"0xac30897fa61ab442f6bff518c5923faa1123c94b36bd4558910e9c783adfa204\",\n },\n },\n integrate: {\n package_id:\n \"0x996c4d9480708fb8b92aa7acf819fb0497b5ec8e65ba06601cae2fb6db3312c3\",\n published_at:\n \"0x6f5e582ede61fe5395b50c4a449ec11479a54d7ff8e0158247adfda60d98970b\",\n },\n deepbook: {\n package_id:\n \"0x000000000000000000000000000000000000000000000000000000000000dee9\",\n published_at:\n \"0x000000000000000000000000000000000000000000000000000000000000dee9\",\n },\n deepbook_endpoint_v2: {\n package_id:\n \"0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e\",\n published_at:\n \"0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e\",\n },\n aggregatorUrl: \"https://api-sui.cetus.zone/router\",\n};\n"]}
1
+ {"version":3,"file":"cetus_mainnet_config.js","sourceRoot":"","sources":["../../../src/common/cetus_mainnet_config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAAe;IAChD,UAAU,EAAE,aAAa,EAAE;IAC3B,YAAY,EAAE,8CAA8C;IAC5D,iBAAiB,EAAE;QACjB,OAAO,EACL,oEAAoE;KACvE;IACD,YAAY,EAAE;QACZ,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;QACtE,MAAM,EAAE;YACN,YAAY,EACV,oEAAoE;YACtE,kBAAkB,EAChB,oEAAoE;YACtE,aAAa,EACX,oEAAoE;YACtE,YAAY,EACV,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,sBAAsB,EACpB,oEAAoE;YACtE,iBAAiB,EACf,oEAAoE;SACvE;KACF;IACD,SAAS,EAAE;QACT,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;QACtE,MAAM,EAAE;YACN,QAAQ,EACN,oEAAoE;YACtE,gBAAgB,EACd,oEAAoE;YACtE,eAAe,EACb,oEAAoE;YACtE,YAAY,EACV,oEAAoE;YACtE,WAAW,EACT,oEAAoE;SACvE;KACF;IACD,SAAS,EAAE;QACT,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,QAAQ,EAAE;QACR,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,oBAAoB,EAAE;QACpB,UAAU,EACR,oEAAoE;QACtE,YAAY,EACV,oEAAoE;KACvE;IACD,aAAa,EAAE,mCAAmC;CACnD,CAAC","sourcesContent":["import { SdkOptions } from \"@cetusprotocol/cetus-sui-clmm-sdk\";\nimport { getSuiNodeUrl } from \"../sui-sdk/client.js\";\n\nexport const cetusMainnetSDKOptions: SdkOptions = {\n fullRpcUrl: getSuiNodeUrl(),\n swapCountUrl: \"https://api-sui.cetus.zone/v2/sui/swap/count\",\n simulationAccount: {\n address:\n \"0x4260738f0f7341adc79a8edaa62f8a4681ebd27c595aecab1f322f47bfc52c5e\",\n },\n cetus_config: {\n package_id:\n \"0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f\",\n published_at:\n \"0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f\",\n config: {\n coin_list_id:\n \"0x8cbc11d9e10140db3d230f50b4d30e9b721201c0083615441707ffec1ef77b23\",\n launchpad_pools_id:\n \"0x1098fac992eab3a0ab7acf15bb654fc1cf29b5a6142c4ef1058e6c408dd15115\",\n clmm_pools_id:\n \"0x15b6a27dd9ae03eb455aba03b39e29aad74abd3757b8e18c0755651b2ae5b71e\",\n admin_cap_id:\n \"0x39d78781750e193ce35c45ff32c6c0c3f2941fa3ddaf8595c90c555589ddb113\",\n global_config_id:\n \"0x0408fa4e4a4c03cc0de8f23d0c2bbfe8913d178713c9a271ed4080973fe42d8f\",\n coin_list_handle:\n \"0x49136005e90e28c4695419ed4194cc240603f1ea8eb84e62275eaff088a71063\",\n launchpad_pools_handle:\n \"0x5e194a8efcf653830daf85a85b52e3ae8f65dc39481d54b2382acda25068375c\",\n clmm_pools_handle:\n \"0x37f60eb2d9d227949b95da8fea810db3c32d1e1fa8ed87434fc51664f87d83cb\",\n },\n },\n clmm_pool: {\n package_id:\n \"0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb\",\n published_at:\n \"0x70968826ad1b4ba895753f634b0aea68d0672908ca1075a2abdf0fc9e0b2fc6a\",\n config: {\n pools_id:\n \"0xf699e7f2276f5c9a75944b37a0c5b5d9ddfd2471bf6242483b03ab2887d198d0\",\n global_config_id:\n \"0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f\",\n global_vault_id:\n \"0xce7bceef26d3ad1f6d9b6f13a953f053e6ed3ca77907516481ce99ae8e588f2b\",\n admin_cap_id:\n \"0x89c1a321291d15ddae5a086c9abc533dff697fde3d89e0ca836c41af73e36a75\",\n partners_id:\n \"0xac30897fa61ab442f6bff518c5923faa1123c94b36bd4558910e9c783adfa204\",\n },\n },\n integrate: {\n package_id:\n \"0x996c4d9480708fb8b92aa7acf819fb0497b5ec8e65ba06601cae2fb6db3312c3\",\n published_at:\n \"0x6f5e582ede61fe5395b50c4a449ec11479a54d7ff8e0158247adfda60d98970b\",\n },\n deepbook: {\n package_id:\n \"0x000000000000000000000000000000000000000000000000000000000000dee9\",\n published_at:\n \"0x000000000000000000000000000000000000000000000000000000000000dee9\",\n },\n deepbook_endpoint_v2: {\n package_id:\n \"0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e\",\n published_at:\n \"0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e\",\n },\n aggregatorUrl: \"https://api-sui.cetus.zone/router\",\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,eAAe,CAAC;AAErC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEnB,CAAC"}
@@ -1016,15 +1016,16 @@ export const conf = {
1016
1016
  "0x23884850fd498e714eb7e052c6ef3f78504bcf413762117d9a9f4ea1c484c985",
1017
1017
  "0x1d67541e3eec5d5b4c500615f886aef83e54aae93484819a7aceff3b8dca3ea9",
1018
1018
  "0xa750bb127f41ea554646dea7651a7ed44558619f90cd2c79e5e0a425492c5473",
1019
+ "0xc56bd7d2e446385c8a4b59dc6b1379bbf37d52d47bfb39627e1f697e7341ad83",
1019
1020
  ],
1020
1021
  ALPHA_MODULE_PACKAGE_IDS: [
1021
1022
  "0x9bbd650b8442abb082c20f3bc95a9434a8d47b4bef98b0832dab57c1a8ba7123",
1022
1023
  "0x2793db7aa0e0209afc84f0adb1b258973cf1c9da55c35ee85c18f2ed4912bb6f",
1023
1024
  "0x8f7d2c35e19c65213bc2153086969a55ec207b5a25ebdee303a6d9edd9c053e3",
1024
1025
  ],
1025
- ALPHA_LATEST_PACKAGE_ID: "0xa750bb127f41ea554646dea7651a7ed44558619f90cd2c79e5e0a425492c5473",
1026
+ ALPHA_LATEST_PACKAGE_ID: "0xc56bd7d2e446385c8a4b59dc6b1379bbf37d52d47bfb39627e1f697e7341ad83",
1026
1027
  ALPHA_2_FIRST_PACKAGE_ID: "0x1a22b26f139b34c9de9718cf7e53159b2b939ec8f46f4c040776b7a3d580dd28",
1027
- ALPHA_2_LATEST_PACKAGE_ID: "0x614ee9bcaf46a4187fd0d84dd9fcda1659803b4a37108c7f200623fdc55a1ed2",
1028
+ ALPHA_2_LATEST_PACKAGE_ID: "0x8d12277eec22bfe6dd6b60eeb26247737df58155b8bdd8ae938b19fc43448541",
1028
1029
  ALPHA_2_MODULE_PACKAGE_IDS: [
1029
1030
  "0x1a22b26f139b34c9de9718cf7e53159b2b939ec8f46f4c040776b7a3d580dd28",
1030
1031
  "0x531989a4be74dd43b25e7bb1eeade871f4524bdf437a8eaa30b4ac2a932b5579",
@@ -1053,9 +1054,11 @@ export const conf = {
1053
1054
  "0x7a2367968d5e57c8f414ccd8f713ccb9c015daf92787f4d6e0897f4a37f51ebf",
1054
1055
  "0xb37b39ff0b3cff5b3a46bf947b71fd7c3ae7541401b02426449b9c7b3b713ccd",
1055
1056
  "0x9052181ff85e0257fe2eda69e0e969a892d04fd041df73e76dd93a5a48cccbdf",
1057
+ "0x9ca5e4d93adf393085d02ba17e34e173dfd777ebb35670a6cde47a0f56a82544",
1058
+ "0x8d12277eec22bfe6dd6b60eeb26247737df58155b8bdd8ae938b19fc43448541",
1056
1059
  ],
1057
1060
  ALPHA_3_FIRST_PACKAGE_ID: "0xa095412a92ff0f063cbea962f2f88b1a93cbc85c72bebf5dd7d90a8e2d6375ae",
1058
- ALPHA_3_LATEST_PACKAGE_ID: "0xc65d8eb58cb63f56b096ecd43083f3e39c948fc9a84eeeb43c2c10ad83b247d7",
1061
+ ALPHA_3_LATEST_PACKAGE_ID: "0xd99630e841a39d361bab4b9e7914ee8a4c67f9fee57ff34c48d87d594b096c62",
1059
1062
  ALPHA_3_MODULE_PACKAGE_IDS: [
1060
1063
  "0xa095412a92ff0f063cbea962f2f88b1a93cbc85c72bebf5dd7d90a8e2d6375ae", // bucket
1061
1064
  "0x5d90d17172b9e38da9f13a982668a9e48d0b0b5f864e421b60686f60758b37bd", // navi v2
@@ -1070,9 +1073,11 @@ export const conf = {
1070
1073
  "0x5b571ed2428b2ab352cd1f5a684c04912e22af661817d76278139d15c750e0c1",
1071
1074
  "0x40dd49f8cc27562848eb44e1ed966a5c0d7351c50771f31c7b0d69c70b636b9b",
1072
1075
  "0xc65d8eb58cb63f56b096ecd43083f3e39c948fc9a84eeeb43c2c10ad83b247d7",
1076
+ "0xfeeb3e42cef89e4a650c98ab88512dd63f1b7247033d31e096b2532a53b305b8",
1077
+ "0xd99630e841a39d361bab4b9e7914ee8a4c67f9fee57ff34c48d87d594b096c62",
1073
1078
  ],
1074
1079
  ALPHA_4_FIRST_PACKAGE_ID: "0x066648edaf473d6cc14b7ab46f56b673be4e44f9c940f70b6bacd7848808859b",
1075
- ALPHA_4_LATEST_PACKAGE_ID: "0x67396508929c97242f88497a3e020fad83cbdbba7fbdaff80e8a607ee40f1524",
1080
+ ALPHA_4_LATEST_PACKAGE_ID: "0xb3eed0751309ab5ac83ac5721511d59b42bdc56515e858bd8865aa51d3cd486c",
1076
1081
  ALPHA_4_MODULE_PACKAGE_IDS: [
1077
1082
  "0x066648edaf473d6cc14b7ab46f56b673be4e44f9c940f70b6bacd7848808859b",
1078
1083
  "0x2db488439eb7c31010515a6534ea185a99e17b287ef01b618a74cdd134552f4e",
@@ -1093,9 +1098,10 @@ export const conf = {
1093
1098
  "0xd41094cb062f4c0d5da5530fdbab65158879d3934e074783c6f6b11336e54c7b",
1094
1099
  "0x93857c435b4eaed2543b6151882d4477909ff05bd3a30a291242af6cf7885c33",
1095
1100
  "0x67396508929c97242f88497a3e020fad83cbdbba7fbdaff80e8a607ee40f1524",
1101
+ "0xb3eed0751309ab5ac83ac5721511d59b42bdc56515e858bd8865aa51d3cd486c",
1096
1102
  ],
1097
1103
  ALPHA_5_FIRST_PACKAGE_ID: "0xe516e0c12e56619c196fa0ee28d57e5e4ca532bd39df79bee9dcd1e3946119ec",
1098
- ALPHA_5_LATEST_PACKAGE_ID: "0x8cbe6a5c869347e1a76774e9fe841aeb928b8dfdf3548d62cc522b4f81a7ab60",
1104
+ ALPHA_5_LATEST_PACKAGE_ID: "0xe266a078517e2fad8e8ab7e324d0ba3925910ae95bd437f5381e422a29cbb2a3",
1099
1105
  ALPHA_5_MODULE_PACKAGE_IDS: [
1100
1106
  "0xe516e0c12e56619c196fa0ee28d57e5e4ca532bd39df79bee9dcd1e3946119ec",
1101
1107
  "0x1ac7aacf8479f86464df1141db1662cf8622e6a138fa8e5fd4499eec14a07151",
@@ -1108,9 +1114,10 @@ export const conf = {
1108
1114
  "0xf5edbfd10741ccb1a9fa994af38c02d50918bc0296fcac492e7929b704023138",
1109
1115
  "0x1080d9166bb8a129c5fe6877d823cd80fec4153da610eb986a252bea3cea74ce",
1110
1116
  "0x8cbe6a5c869347e1a76774e9fe841aeb928b8dfdf3548d62cc522b4f81a7ab60",
1117
+ "0xe266a078517e2fad8e8ab7e324d0ba3925910ae95bd437f5381e422a29cbb2a3",
1111
1118
  ],
1112
1119
  ALPHA_STSUI_FIRST_PACKAGE_ID: "0xff869e243a172cfef9a4551f4eef88ac4861be0f81b0e7a4b7840b6276f5ceeb",
1113
- ALPHA_STSUI_LATEST_PACKAGE_ID: "0xb280f3d71be3f5e53f0cfaef8c5555697e91db6d8f148e213fb053fabd4b4f76",
1120
+ ALPHA_STSUI_LATEST_PACKAGE_ID: "0xd57d33dcb6a5aa50806540f7534ee9caf42862568c54e86a8d9f240ef9953da9",
1114
1121
  ALPHA_STSUI_MODULE_PACKAGE_IDS: [
1115
1122
  "0xff869e243a172cfef9a4551f4eef88ac4861be0f81b0e7a4b7840b6276f5ceeb",
1116
1123
  "0xdb3f0d00c5aa1d24dd65dfcbaecb284e013a2c7e742be3cb979c7703a1b899c9",
@@ -1124,9 +1131,10 @@ export const conf = {
1124
1131
  "0xfb93d9b36ef6744fae9d8245a732554722e8fa6b91cc47f58d8964531b8e8981",
1125
1132
  "0x131c169a171ffb60d9b1c93c71bef7e4a3c0d00b95820f11145b44f89b36f1ac",
1126
1133
  "0xb280f3d71be3f5e53f0cfaef8c5555697e91db6d8f148e213fb053fabd4b4f76",
1134
+ "0xd57d33dcb6a5aa50806540f7534ee9caf42862568c54e86a8d9f240ef9953da9",
1127
1135
  ],
1128
1136
  ALPHA_BLUEFIN_AUTOBALANCE_FIRST_PACKAGE_ID: "0x754afbce8c72c8e491e3b9d536aa9d9766fdbc68650224ce01072189b235eee3",
1129
- ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID: "0x1254909d66a263be638fc3196b0d3283fe9947d87c2cb7804c18b64e50027cd3",
1137
+ ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID: "0x785db0ee211aa6c8c946df2bef315d416b22c7f5f661052be64740a6c516e2a6",
1130
1138
  ALPHA_BLUEFIN_AUTOBALANCE_MODULE_PACKAGE_IDS: [
1131
1139
  "0x754afbce8c72c8e491e3b9d536aa9d9766fdbc68650224ce01072189b235eee3",
1132
1140
  ],
@@ -1138,9 +1146,10 @@ export const conf = {
1138
1146
  "0x6ab6582191fc427fbd09ce7724688d26f884d6324d618133dc1aaa352579ea45",
1139
1147
  "0xa9d25a64c0268dad662198b4addf61aba0156c7ce2e1c190388eab16c6ab33dc",
1140
1148
  "0x1254909d66a263be638fc3196b0d3283fe9947d87c2cb7804c18b64e50027cd3",
1149
+ "0x785db0ee211aa6c8c946df2bef315d416b22c7f5f661052be64740a6c516e2a6",
1141
1150
  ],
1142
1151
  ALPHA_FUNGIBLE_FIRST_PACKAGE_ID: "0x59fd36210b1bf1dcd70d148cd868e059e74b22a660f84c5602cfb8501442322a",
1143
- ALPHA_FUNGIBLE_LATEST_PACKAGE_ID: "0xfdf44ce9bc239b170a97b49ff93947edd1c00dfc054e8474043740a4dd98c37f",
1152
+ ALPHA_FUNGIBLE_LATEST_PACKAGE_ID: "0xa6deb1124631c6c3893ae7d0d5206cd3e36f3044f155eb2e9eb8e5a8994edd0f",
1144
1153
  ALPHA_FUNGIBLE_MODULE_PACKAGE_IDS: [
1145
1154
  "0x59fd36210b1bf1dcd70d148cd868e059e74b22a660f84c5602cfb8501442322a",
1146
1155
  ],
@@ -1148,9 +1157,10 @@ export const conf = {
1148
1157
  "0x59fd36210b1bf1dcd70d148cd868e059e74b22a660f84c5602cfb8501442322a",
1149
1158
  "0xbfbd59ec10e2b62c887e268a051ae84570ecf0d621480c0418300f28913d7380",
1150
1159
  "0xfdf44ce9bc239b170a97b49ff93947edd1c00dfc054e8474043740a4dd98c37f",
1160
+ "0xa6deb1124631c6c3893ae7d0d5206cd3e36f3044f155eb2e9eb8e5a8994edd0f",
1151
1161
  ],
1152
1162
  ALPHA_BLUEFIN_V2_FIRST_PACKAGE_ID: "0x5d0b7cab355e1ffc6d5108a31d7d7064cd5da8c7a2abb35b45960b3f195a8402",
1153
- ALPHA_BLUEFIN_V2_LATEST_PACKAGE_ID: "0x14ddc3f610fa2fdf96409fa8a86986e9f1c75dde74c3b9ed71b4057f28bcceb8",
1163
+ ALPHA_BLUEFIN_V2_LATEST_PACKAGE_ID: "0x2551a4cf815fd212f3cfd4576c3ea77d24ac293c9d49a654ae1aea237475a2c2",
1154
1164
  ALPHA_BLUEFIN_V2_MODULE_PACKAGE_IDS: [
1155
1165
  "0x5d0b7cab355e1ffc6d5108a31d7d7064cd5da8c7a2abb35b45960b3f195a8402",
1156
1166
  ],
@@ -1158,9 +1168,10 @@ export const conf = {
1158
1168
  "0x5d0b7cab355e1ffc6d5108a31d7d7064cd5da8c7a2abb35b45960b3f195a8402",
1159
1169
  "0xc2fe61bf4efeb7cb8bb7ca547ff83f07483e8fdeef51c881aab89735a14ecaf4",
1160
1170
  "0x14ddc3f610fa2fdf96409fa8a86986e9f1c75dde74c3b9ed71b4057f28bcceb8",
1171
+ "0x2551a4cf815fd212f3cfd4576c3ea77d24ac293c9d49a654ae1aea237475a2c2",
1161
1172
  ],
1162
1173
  ALPHA_NAVI_V2_FIRST_PACKAGE_ID: "0x6f2d869138ef374fcb24f890387c0d8c54355f497ed9f9bb69186b7fe65a7de5",
1163
- ALPHA_NAVI_V2_LATEST_PACKAGE_ID: "0x67e60fe54edc2cb84f7a15b4066f1b5b69316a11548c9a5a1dccfb987807b334",
1174
+ ALPHA_NAVI_V2_LATEST_PACKAGE_ID: "0x0f3ad6d35c712fb4d34b4b8c3236d293e1dfa4080fc79ae69ed2aecb44d41b01",
1164
1175
  ALPHA_NAVI_V2_MODULE_PACKAGE_IDS: [
1165
1176
  "0x6f2d869138ef374fcb24f890387c0d8c54355f497ed9f9bb69186b7fe65a7de5",
1166
1177
  ],
@@ -1169,6 +1180,7 @@ export const conf = {
1169
1180
  "0xbfe6008c06a449618d058aee2a2ce4d6dd55e95dca6281a1f0d82bc8328c957a",
1170
1181
  "0xe0510fe9b510f34ea06ee29a78b30f3231fb0a597b8e64d044465ad1f7c4610f",
1171
1182
  "0x67e60fe54edc2cb84f7a15b4066f1b5b69316a11548c9a5a1dccfb987807b334",
1183
+ "0x0f3ad6d35c712fb4d34b4b8c3236d293e1dfa4080fc79ae69ed2aecb44d41b01",
1172
1184
  ],
1173
1185
  ALPHA_DISTRIBUTOR: "0x33f3c288a90c5368ec3b937875cfae94aebae0ee7fb65e97265728eff9e6995b",
1174
1186
  VERSION: "0xf9c533b483c656d29aad9b2ee48ea418dde9504fb42c8294298bf523026bf043",