@alphafi/alphafi-sdk 0.0.73 → 0.0.74

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 (275) 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 +66 -0
  5. package/dist/cjs/common/constants.d.ts.map +1 -1
  6. package/dist/cjs/common/constants.js +48 -0
  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 +43 -2
  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 +3 -3
  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/index.d.ts +2 -1
  18. package/dist/cjs/index.d.ts.map +1 -1
  19. package/dist/cjs/index.js +3 -1
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/cjs/sui-sdk/events/fetchEvents.d.ts.map +1 -1
  22. package/dist/cjs/sui-sdk/events/fetchEvents.js +17 -0
  23. package/dist/cjs/sui-sdk/events/fetchEvents.js.map +1 -1
  24. package/dist/cjs/sui-sdk/events/types.d.ts +7 -1
  25. package/dist/cjs/sui-sdk/events/types.d.ts.map +1 -1
  26. package/dist/cjs/sui-sdk/events/types.js.map +1 -1
  27. package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
  28. package/dist/cjs/transactions/bluefin.js +122 -0
  29. package/dist/cjs/transactions/bluefin.js.map +1 -1
  30. package/dist/cjs/transactions/collect_rewards.d.ts.map +1 -1
  31. package/dist/cjs/transactions/collect_rewards.js +4 -2
  32. package/dist/cjs/transactions/collect_rewards.js.map +1 -1
  33. package/dist/cjs/utils/prices.d.ts.map +1 -1
  34. package/dist/cjs/utils/prices.js +1 -0
  35. package/dist/cjs/utils/prices.js.map +1 -1
  36. package/dist/esm/common/coins.d.ts.map +1 -1
  37. package/dist/esm/common/coins.js +6 -0
  38. package/dist/esm/common/coins.js.map +1 -1
  39. package/dist/esm/common/constants.d.ts +66 -0
  40. package/dist/esm/common/constants.d.ts.map +1 -1
  41. package/dist/esm/common/constants.js +48 -0
  42. package/dist/esm/common/constants.js.map +1 -1
  43. package/dist/esm/common/maps.d.ts.map +1 -1
  44. package/dist/esm/common/maps.js +43 -2
  45. package/dist/esm/common/maps.js.map +1 -1
  46. package/dist/esm/common/pyth.d.ts +1 -1
  47. package/dist/esm/common/pyth.d.ts.map +1 -1
  48. package/dist/esm/common/pyth.js.map +1 -1
  49. package/dist/esm/common/types.d.ts +3 -3
  50. package/dist/esm/common/types.d.ts.map +1 -1
  51. package/dist/esm/common/types.js.map +1 -1
  52. package/dist/esm/index.d.ts +2 -1
  53. package/dist/esm/index.d.ts.map +1 -1
  54. package/dist/esm/index.js +1 -0
  55. package/dist/esm/index.js.map +1 -1
  56. package/dist/esm/sui-sdk/events/fetchEvents.d.ts.map +1 -1
  57. package/dist/esm/sui-sdk/events/fetchEvents.js +17 -0
  58. package/dist/esm/sui-sdk/events/fetchEvents.js.map +1 -1
  59. package/dist/esm/sui-sdk/events/types.d.ts +7 -1
  60. package/dist/esm/sui-sdk/events/types.d.ts.map +1 -1
  61. package/dist/esm/sui-sdk/events/types.js.map +1 -1
  62. package/dist/esm/transactions/bluefin.d.ts.map +1 -1
  63. package/dist/esm/transactions/bluefin.js +122 -0
  64. package/dist/esm/transactions/bluefin.js.map +1 -1
  65. package/dist/esm/transactions/collect_rewards.d.ts.map +1 -1
  66. package/dist/esm/transactions/collect_rewards.js +4 -2
  67. package/dist/esm/transactions/collect_rewards.js.map +1 -1
  68. package/dist/esm/utils/prices.d.ts.map +1 -1
  69. package/dist/esm/utils/prices.js +1 -0
  70. package/dist/esm/utils/prices.js.map +1 -1
  71. package/docs/assets/navigation.js +1 -1
  72. package/docs/assets/search.js +1 -1
  73. package/docs/functions/alphaLpBreakdown.html +1 -1
  74. package/docs/functions/cetusLpBreakdown.html +1 -1
  75. package/docs/functions/claimBlueRewardTxb.html +1 -1
  76. package/docs/functions/claimRewardTxb.html +1 -1
  77. package/docs/functions/coinAmountToXTokensDoubleAsset.html +1 -1
  78. package/docs/functions/coinAmountToXTokensSingleAsset.html +1 -1
  79. package/docs/functions/coinsInPool.html +1 -1
  80. package/docs/functions/collectRewards.html +1 -1
  81. package/docs/functions/deposit.html +1 -1
  82. package/docs/functions/depositDoubleAssetTxb.html +1 -1
  83. package/docs/functions/depositSingleAssetTxb.html +1 -1
  84. package/docs/functions/fetchAfterTransactionEvents.html +1 -1
  85. package/docs/functions/fetchAutoCompoundingEvents.html +1 -1
  86. package/docs/functions/fetchAutoCompoundingEventsGql.html +1 -1
  87. package/docs/functions/fetchCetusPools.html +1 -1
  88. package/docs/functions/fetchChainIdentifier.html +1 -1
  89. package/docs/functions/fetchCheckRatioEvents.html +1 -1
  90. package/docs/functions/fetchEvents.html +1 -0
  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/fetchTransactions.html +1 -1
  100. package/docs/functions/fetchUserVaultBalances.html +1 -1
  101. package/docs/functions/fetchUserVaults.html +1 -1
  102. package/docs/functions/fetchUserWalletData.html +1 -1
  103. package/docs/functions/fetchVoloExchangeRate.html +1 -1
  104. package/docs/functions/fetchWithdrawV2Events.html +1 -1
  105. package/docs/functions/getAirdropShare.html +1 -1
  106. package/docs/functions/getAllDoubleAssetVaults.html +1 -1
  107. package/docs/functions/getAllSingleAssetVaults.html +1 -1
  108. package/docs/functions/getAllVaultBalances.html +1 -1
  109. package/docs/functions/getAllVaults.html +1 -1
  110. package/docs/functions/getAlphaUnlocks.html +1 -1
  111. package/docs/functions/getAlphaVaultBalance.html +1 -1
  112. package/docs/functions/getAmounts.html +1 -1
  113. package/docs/functions/getApr.html +1 -1
  114. package/docs/functions/getAprs.html +1 -1
  115. package/docs/functions/getApy.html +1 -1
  116. package/docs/functions/getApys.html +1 -1
  117. package/docs/functions/getCetusInvestorTicksMap.html +1 -1
  118. package/docs/functions/getCetusPool.html +1 -1
  119. package/docs/functions/getCetusSqrtPriceMap.html +1 -1
  120. package/docs/functions/getCoinAmountsFromLiquidity.html +1 -1
  121. package/docs/functions/getConf.html +1 -1
  122. package/docs/functions/getCurrentTick.html +1 -1
  123. package/docs/functions/getDistributor.html +1 -1
  124. package/docs/functions/getDoubleAssetVaultBalance.html +1 -1
  125. package/docs/functions/getDoubleAssetVaults.html +1 -1
  126. package/docs/functions/getHoldersFromTransactions.html +1 -1
  127. package/docs/functions/getInvestor.html +1 -1
  128. package/docs/functions/getInvestorPoolMap.html +1 -1
  129. package/docs/functions/getLastAutoCompoundTime.html +1 -1
  130. package/docs/functions/getLatestPrices.html +1 -1
  131. package/docs/functions/getLiquidity.html +1 -1
  132. package/docs/functions/getMultiCetusPool.html +1 -1
  133. package/docs/functions/getMultiInvestor.html +1 -1
  134. package/docs/functions/getMultiLatestPrices.html +1 -1
  135. package/docs/functions/getMultiParentPool.html +1 -1
  136. package/docs/functions/getMultiPool.html +1 -1
  137. package/docs/functions/getMultiReceipts.html +1 -1
  138. package/docs/functions/getParentPool.html +1 -1
  139. package/docs/functions/getPool.html +1 -1
  140. package/docs/functions/getPoolExchangeRate.html +1 -1
  141. package/docs/functions/getPoolExchangeRateMap.html +1 -1
  142. package/docs/functions/getPoolsWeightDistribution.html +1 -1
  143. package/docs/functions/getPositionRange.html +1 -1
  144. package/docs/functions/getPositionRanges.html +1 -1
  145. package/docs/functions/getPositionTicks.html +1 -1
  146. package/docs/functions/getPriceToTick.html +1 -1
  147. package/docs/functions/getRebalanceHistories.html +1 -1
  148. package/docs/functions/getRebalanceHistory.html +1 -1
  149. package/docs/functions/getReceipts.html +1 -1
  150. package/docs/functions/getSingleAssetVaultBalance.html +1 -1
  151. package/docs/functions/getSingleAssetVaults.html +1 -1
  152. package/docs/functions/getSuiClient.html +2 -2
  153. package/docs/functions/getSuiNodeUrl.html +2 -2
  154. package/docs/functions/getTVLs-1.html +1 -1
  155. package/docs/functions/getTickSpacing.html +1 -1
  156. package/docs/functions/getTickToPrice.html +1 -1
  157. package/docs/functions/getTvls.html +1 -1
  158. package/docs/functions/getUserTokensFromTransactions.html +1 -1
  159. package/docs/functions/getUserTokensInUsdFromTransactions.html +1 -1
  160. package/docs/functions/getVaultBalance.html +1 -1
  161. package/docs/functions/getVaultBalanceForActiveUsers.html +1 -1
  162. package/docs/functions/getVaults.html +1 -1
  163. package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +1 -1
  164. package/docs/functions/getZapAmounts.html +1 -1
  165. package/docs/functions/lastAutocompoundTime.html +1 -1
  166. package/docs/functions/liquidityToTokens.html +1 -1
  167. package/docs/functions/multiLiquidityToTokens.html +1 -1
  168. package/docs/functions/multiTokensToUsd.html +1 -1
  169. package/docs/functions/multiXTokensToLiquidity.html +1 -1
  170. package/docs/functions/parseUserWalletData.html +1 -1
  171. package/docs/functions/pendingBlueRewardAmount.html +1 -1
  172. package/docs/functions/setCustomSuiClient.html +2 -2
  173. package/docs/functions/setSuiClient.html +2 -2
  174. package/docs/functions/setSuiNodeUrl.html +2 -2
  175. package/docs/functions/setWeights.html +1 -1
  176. package/docs/functions/withdraw.html +1 -1
  177. package/docs/functions/withdrawAlphaTxb.html +1 -1
  178. package/docs/functions/withdrawTxb.html +1 -1
  179. package/docs/functions/zapDepositTxb.html +1 -1
  180. package/docs/index.html +2 -2
  181. package/docs/interfaces/Coin.html +6 -6
  182. package/docs/interfaces/CoinPair.html +2 -2
  183. package/docs/interfaces/NaviVoloData.html +2 -2
  184. package/docs/interfaces/PoolData.html +2 -2
  185. package/docs/interfaces/PoolWeightDistribution.html +2 -2
  186. package/docs/interfaces/RebalanceHistoryType.html +2 -2
  187. package/docs/modules.html +4 -2
  188. package/docs/types/AfterTransactionEventNode.html +1 -1
  189. package/docs/types/Allocator.html +1 -1
  190. package/docs/types/AlphaFiDoubleAssetVault.html +1 -1
  191. package/docs/types/AlphaFiMultiVaultBalance.html +1 -1
  192. package/docs/types/AlphaFiSingleAssetVault.html +1 -1
  193. package/docs/types/AlphaFiVault.html +1 -1
  194. package/docs/types/AlphaFiVaultBalance.html +1 -1
  195. package/docs/types/AlphaPoolType.html +1 -1
  196. package/docs/types/AlphaReceipt.html +1 -1
  197. package/docs/types/AlphaReceiptFields.html +1 -1
  198. package/docs/types/AlphaVaultBalance.html +1 -1
  199. package/docs/types/AutoBalancePoolNames.html +1 -1
  200. package/docs/types/AutoCompoundingEventNode.html +1 -1
  201. package/docs/types/BluefinInvestor.html +1 -1
  202. package/docs/types/BluefinPoolType.html +1 -1
  203. package/docs/types/BucketInvestor.html +1 -1
  204. package/docs/types/CetusInvestor.html +1 -1
  205. package/docs/types/CetusPoolType.html +1 -1
  206. package/docs/types/CetusSwapOptions.html +1 -1
  207. package/docs/types/CoinAmounts.html +1 -1
  208. package/docs/types/CoinName.html +1 -1
  209. package/docs/types/CoinType.html +1 -1
  210. package/docs/types/CommonInvestorFields.html +1 -1
  211. package/docs/types/CreatePoolOptions.html +1 -1
  212. package/docs/types/Distributor.html +1 -1
  213. package/docs/types/DoubleAssetMultiVaultBalance.html +1 -1
  214. package/docs/types/DoubleAssetPoolNames.html +1 -1
  215. package/docs/types/DoubleAssetTokenHoldings.html +1 -1
  216. package/docs/types/DoubleAssetVaultBalance.html +1 -1
  217. package/docs/types/EventCategory.html +1 -1
  218. package/docs/types/EventNode.html +1 -1
  219. package/docs/types/GetHoldersParams.html +1 -1
  220. package/docs/types/GetTokenHoldingsParams.html +1 -1
  221. package/docs/types/GetUserTokensFromTransactionsParams.html +1 -1
  222. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +1 -1
  223. package/docs/types/GetVaultBalanceForActiveUsersParams.html +1 -1
  224. package/docs/types/GetVaultBalanceParams.html +1 -1
  225. package/docs/types/HoldingsObj.html +1 -1
  226. package/docs/types/Icon.html +1 -1
  227. package/docs/types/Investor.html +1 -1
  228. package/docs/types/LiquidityChangeEventNode.html +1 -1
  229. package/docs/types/LiquidityToTokensParams.html +1 -1
  230. package/docs/types/LiquidityToUsdParams.html +1 -1
  231. package/docs/types/LoopingDebt.html +1 -1
  232. package/docs/types/LoopingPoolNames.html +1 -1
  233. package/docs/types/LpBreakdownType.html +1 -1
  234. package/docs/types/MemberPoolDataType.html +1 -1
  235. package/docs/types/MemberType.html +1 -1
  236. package/docs/types/MultiGetVaultBalancesParams.html +1 -1
  237. package/docs/types/NaviInvestor.html +1 -1
  238. package/docs/types/OtherReceiptFields.html +1 -1
  239. package/docs/types/PoolName.html +1 -1
  240. package/docs/types/PoolReceipt.html +1 -1
  241. package/docs/types/PoolType.html +1 -1
  242. package/docs/types/Receipt.html +1 -1
  243. package/docs/types/ReceiptGQL.html +1 -1
  244. package/docs/types/SingleAssetMultiVaultBalance.html +1 -1
  245. package/docs/types/SingleAssetPoolNames.html +1 -1
  246. package/docs/types/SingleAssetTokenHoldings.html +1 -1
  247. package/docs/types/SingleAssetVaultBalance.html +1 -1
  248. package/docs/types/SingleGetVaultBalancesParams.html +1 -1
  249. package/docs/types/StrategyType.html +1 -1
  250. package/docs/types/SuiNetwork.html +1 -1
  251. package/docs/types/SwapOptions.html +1 -1
  252. package/docs/types/TickSpacing.html +1 -1
  253. package/docs/types/TotalWeightType.html +1 -1
  254. package/docs/types/TransactionBlockType.html +1 -1
  255. package/docs/types/UserPoolLiquidity.html +1 -1
  256. package/docs/types/UserPoolTokenHoldings.html +1 -1
  257. package/docs/types/UserUsdHoldings.html +1 -1
  258. package/docs/types/VaultBalance.html +1 -1
  259. package/docs/types/VoteCastEvent.html +1 -0
  260. package/docs/types/WithdrawV2EventNode.html +1 -1
  261. package/docs/variables/bluefinPoolMap.html +1 -1
  262. package/docs/variables/cetusPoolMap.html +1 -1
  263. package/docs/variables/coinsList.html +1 -1
  264. package/docs/variables/defunctPoolsSet.html +1 -1
  265. package/docs/variables/doubleAssetPoolCoinMap.html +1 -1
  266. package/docs/variables/eventCategories.html +1 -1
  267. package/docs/variables/ignoredWalletsForDailyRevenue.html +1 -1
  268. package/docs/variables/loopingAccountAddresses.html +1 -1
  269. package/docs/variables/loopingPoolCoinMap.html +1 -1
  270. package/docs/variables/naviAssetMap.html +1 -1
  271. package/docs/variables/poolIdPoolNameMap.html +1 -1
  272. package/docs/variables/poolInfo.html +1 -1
  273. package/docs/variables/singleAssetPoolCoinMap.html +1 -1
  274. package/docs/variables/stableCoins.html +1 -1
  275. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/sui-sdk/events/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,qBAAqB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WA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C,CAAC;AAEF,MAAM,MAAM,aAAa,GACrB,iBAAiB,GACjB,iBAAiB,GACjB,YAAY,CAAC;AAEjB,eAAO,MAAM,eAAe,EAAE,aAAa,EAI1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sui-sdk/events/types.ts"],"names":[],"mappings":";;;AAkPa,QAAA,eAAe,GAAoB;IAC9C,iBAAiB;IACjB,iBAAiB;IACjB,YAAY;CACb,CAAC","sourcesContent":["import { PoolName } from \"../../common/types.js\";\n\ninterface CommonEventAttributes {\n type: string;\n timestamp: number;\n txDigest: string;\n eventSeq: number;\n transactionModule: string;\n}\n\nexport interface CetusAutoCompoundingEvent {\n compound_amount_a: bigint;\n compound_amount_b: bigint;\n current_liquidity: bigint;\n fee_collected_a: bigint;\n fee_collected_b: bigint;\n free_balance_a: bigint;\n free_balance_b: bigint;\n investor_id: string;\n total_amount_a: bigint;\n total_amount_b: bigint;\n}\n\nexport interface NaviAutoCompoundingEvent {\n compound_amount: bigint;\n fee_collected: bigint;\n investor_id: string;\n location: number;\n total_amount: bigint;\n}\n\nexport interface NaviLoopAutoCompoundingEvent extends NaviAutoCompoundingEvent {\n cur_total_debt: bigint;\n accrued_interest: bigint;\n}\n\nexport interface AutobalancingAutoCompoundingEvent {\n blue_reward_amount: bigint;\n current_liquidity: bigint;\n fee_collected: bigint;\n free_balance_a: bigint;\n free_balance_b: bigint;\n investor_id: string;\n total_amount_a: bigint;\n total_amount_b: bigint;\n}\n\nexport interface RebalanceEvent {\n investor_id: string;\n lower_tick_after: string;\n upper_tick_after: string;\n sqrt_price_after: string;\n amount_a_before: string;\n amount_b_before: string;\n amount_a_after: string;\n amount_b_after: string;\n}\n\n//verify, this might be wrong, alphapool reward event is defined as alpha autocompounding event\nexport interface AlphaAutoCompoundingEvent {\n amount: string;\n investor_id: string;\n}\n\nexport interface CetusLiquidityChangeEvent {\n amount_a: string;\n amount_b: string;\n event_type: number;\n fee_collected_a: string;\n fee_collected_b: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n total_amount_a: string;\n total_amount_b: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface NaviLiquidityChangeEvent {\n amount: string;\n event_type: number;\n fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface AlphaLiquidityChangeEvent {\n amount: string;\n event_type: number;\n fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface AlphaWithdrawV2Event {\n amount: string;\n amount_withdrawn_from_locked: string;\n amount_withdrawn_from_unlocked: string;\n fee_collected: string;\n instant_withdraw_fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface CetusAfterTransactionEvent {\n liquidity: string;\n tokensInvested: string;\n xtokenSupply: string;\n}\nexport interface NaviAfterTransactionEvent {\n amount: string;\n tokensInvested: string;\n xtokenSupply: string;\n}\n\n// only event sequence non zero are after transaction\nexport interface AlphaBeforeAndAfterEvent {\n tokensInvested: string;\n xTokenSupply: string;\n}\n\nexport type CetusAddLiquidityEvent = {\n after_liquidity: string;\n amount_a: string;\n amount_b: string;\n liquidity: string;\n pool: string;\n position: string;\n tick_lower: { bits: number };\n tick_upper: { bits: number };\n};\nexport type CetusRemoveLiquidityEvent = {\n after_liquidity: string;\n amount_a: string;\n amount_b: string;\n liquidity: string;\n pool: string;\n position: string;\n tick_lower: { bits: number };\n tick_upper: { bits: number };\n};\n\nexport type NaviPoolDepositEvent = {\n amount: string;\n pool: string;\n sender: string;\n};\nexport type NaviPoolWithdrawEvent = {\n amount: string;\n pool: string;\n recipient: string;\n sender: string;\n};\n\nexport interface CheckRatioEvent {\n ratio: string;\n}\n\nexport type AfterTransactionEventNode =\n | (CetusAfterTransactionEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n })\n | (NaviAfterTransactionEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n })\n | (AlphaBeforeAndAfterEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n });\n\nexport type AutoCompoundingEventNode =\n | (CetusAutoCompoundingEvent & CommonEventAttributes)\n | (NaviAutoCompoundingEvent & CommonEventAttributes)\n | (NaviLoopAutoCompoundingEvent & CommonEventAttributes)\n | (AlphaAutoCompoundingEvent & CommonEventAttributes)\n | (AutobalancingAutoCompoundingEvent & CommonEventAttributes);\n\nexport type RebalanceEventNode = RebalanceEvent & CommonEventAttributes;\n\nexport type LiquidityChangeEventNode =\n | (CetusLiquidityChangeEvent & CommonEventAttributes)\n | (NaviLiquidityChangeEvent & CommonEventAttributes)\n | (AlphaLiquidityChangeEvent & CommonEventAttributes);\n\nexport type WithdrawV2EventNode = AlphaWithdrawV2Event & CommonEventAttributes;\n\nexport type CheckRatioEventNode = CheckRatioEvent & CommonEventAttributes;\n\nexport type EventNode =\n | AutoCompoundingEventNode\n | RebalanceEventNode\n | LiquidityChangeEventNode\n | WithdrawV2EventNode\n | AfterTransactionEventNode\n | CheckRatioEventNode;\n\nexport type FetchAutoCompoundingEventsParams = {\n startTime?: number;\n endTime?: number;\n poolNames?: PoolName[];\n order?: \"ascending\" | \"descending\";\n};\n\nexport type FetchRebalanceEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchLiquidityChangeEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchWithdrawV2EventsParams = {\n startTime?: number;\n endTime?: number;\n order?: \"ascending\" | \"descending\";\n};\n\nexport type FetchCheckRatioEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchEventsParams = {\n eventTypes: string[];\n startTime?: number;\n endTime?: number;\n order?: \"ascending\" | \"descending\";\n};\n\nexport type EventCategory =\n | \"AutoCompounding\"\n | \"LiquidityChange\"\n | \"WithdrawV2\";\n\nexport const eventCategories: EventCategory[] = [\n \"AutoCompounding\",\n \"LiquidityChange\",\n \"WithdrawV2\",\n];\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sui-sdk/events/types.ts"],"names":[],"mappings":";;;AA0Pa,QAAA,eAAe,GAAoB;IAC9C,iBAAiB;IACjB,iBAAiB;IACjB,YAAY;CACb,CAAC","sourcesContent":["import { PoolName } from \"../../common/types.js\";\n\ninterface CommonEventAttributes {\n type: string;\n timestamp: number;\n txDigest: string;\n eventSeq: number;\n transactionModule: string;\n}\n\nexport interface CetusAutoCompoundingEvent {\n compound_amount_a: bigint;\n compound_amount_b: bigint;\n current_liquidity: bigint;\n fee_collected_a: bigint;\n fee_collected_b: bigint;\n free_balance_a: bigint;\n free_balance_b: bigint;\n investor_id: string;\n total_amount_a: bigint;\n total_amount_b: bigint;\n}\n\nexport interface NaviAutoCompoundingEvent {\n compound_amount: bigint;\n fee_collected: bigint;\n investor_id: string;\n location: number;\n total_amount: bigint;\n}\n\nexport interface NaviLoopAutoCompoundingEvent extends NaviAutoCompoundingEvent {\n cur_total_debt: bigint;\n accrued_interest: bigint;\n}\n\nexport interface AutobalancingAutoCompoundingEvent {\n blue_reward_amount: bigint;\n current_liquidity: bigint;\n fee_collected: bigint;\n free_balance_a: bigint;\n free_balance_b: bigint;\n investor_id: string;\n total_amount_a: bigint;\n total_amount_b: bigint;\n}\n\nexport interface RebalanceEvent {\n investor_id: string;\n lower_tick_after: string;\n upper_tick_after: string;\n sqrt_price_after: string;\n amount_a_before: string;\n amount_b_before: string;\n amount_a_after: string;\n amount_b_after: string;\n}\n\n//verify, this might be wrong, alphapool reward event is defined as alpha autocompounding event\nexport interface AlphaAutoCompoundingEvent {\n amount: string;\n investor_id: string;\n}\n\nexport interface CetusLiquidityChangeEvent {\n amount_a: string;\n amount_b: string;\n event_type: number;\n fee_collected_a: string;\n fee_collected_b: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n total_amount_a: string;\n total_amount_b: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface NaviLiquidityChangeEvent {\n amount: string;\n event_type: number;\n fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface AlphaLiquidityChangeEvent {\n amount: string;\n event_type: number;\n fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface AlphaWithdrawV2Event {\n amount: string;\n amount_withdrawn_from_locked: string;\n amount_withdrawn_from_unlocked: string;\n fee_collected: string;\n instant_withdraw_fee_collected: string;\n pool_id: string;\n sender: string;\n tokens_invested: string;\n user_total_x_token_balance: string;\n x_token_supply: string;\n}\n\nexport interface CetusAfterTransactionEvent {\n liquidity: string;\n tokensInvested: string;\n xtokenSupply: string;\n}\nexport interface NaviAfterTransactionEvent {\n amount: string;\n tokensInvested: string;\n xtokenSupply: string;\n}\n\n// only event sequence non zero are after transaction\nexport interface AlphaBeforeAndAfterEvent {\n tokensInvested: string;\n xTokenSupply: string;\n}\n\nexport type CetusAddLiquidityEvent = {\n after_liquidity: string;\n amount_a: string;\n amount_b: string;\n liquidity: string;\n pool: string;\n position: string;\n tick_lower: { bits: number };\n tick_upper: { bits: number };\n};\nexport type CetusRemoveLiquidityEvent = {\n after_liquidity: string;\n amount_a: string;\n amount_b: string;\n liquidity: string;\n pool: string;\n position: string;\n tick_lower: { bits: number };\n tick_upper: { bits: number };\n};\n\nexport type NaviPoolDepositEvent = {\n amount: string;\n pool: string;\n sender: string;\n};\nexport type NaviPoolWithdrawEvent = {\n amount: string;\n pool: string;\n recipient: string;\n sender: string;\n};\n\nexport interface CheckRatioEvent {\n ratio: string;\n}\n\nexport type VoteCastEvent = CommonEventAttributes & {\n proposal_id: string;\n voter: string;\n previous_vote_choice: number | null;\n vote_choice: number;\n};\n\nexport type AfterTransactionEventNode =\n | (CetusAfterTransactionEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n })\n | (NaviAfterTransactionEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n })\n | (AlphaBeforeAndAfterEvent &\n CommonEventAttributes & {\n poolName: PoolName | undefined;\n id: { eventSeq: number; txDigest: string };\n });\n\nexport type AutoCompoundingEventNode =\n | (CetusAutoCompoundingEvent & CommonEventAttributes)\n | (NaviAutoCompoundingEvent & CommonEventAttributes)\n | (NaviLoopAutoCompoundingEvent & CommonEventAttributes)\n | (AlphaAutoCompoundingEvent & CommonEventAttributes)\n | (AutobalancingAutoCompoundingEvent & CommonEventAttributes);\n\nexport type RebalanceEventNode = RebalanceEvent & CommonEventAttributes;\n\nexport type LiquidityChangeEventNode =\n | (CetusLiquidityChangeEvent & CommonEventAttributes)\n | (NaviLiquidityChangeEvent & CommonEventAttributes)\n | (AlphaLiquidityChangeEvent & CommonEventAttributes);\n\nexport type WithdrawV2EventNode = AlphaWithdrawV2Event & CommonEventAttributes;\n\nexport type CheckRatioEventNode = CheckRatioEvent & CommonEventAttributes;\n\nexport type EventNode =\n | AutoCompoundingEventNode\n | RebalanceEventNode\n | LiquidityChangeEventNode\n | WithdrawV2EventNode\n | AfterTransactionEventNode\n | CheckRatioEventNode\n | VoteCastEvent;\n\nexport type FetchAutoCompoundingEventsParams = {\n startTime?: number;\n endTime?: number;\n poolNames?: PoolName[];\n order?: \"ascending\" | \"descending\";\n};\n\nexport type FetchRebalanceEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchLiquidityChangeEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchWithdrawV2EventsParams = {\n startTime?: number;\n endTime?: number;\n order?: \"ascending\" | \"descending\";\n};\n\nexport type FetchCheckRatioEventsParams = FetchAutoCompoundingEventsParams;\n\nexport type FetchEventsParams = {\n eventTypes: string[];\n startTime?: number;\n endTime?: number;\n order?: \"ascending\" | \"descending\";\n};\n\nexport type EventCategory =\n | \"AutoCompounding\"\n | \"LiquidityChange\"\n | \"WithdrawV2\";\n\nexport const eventCategories: EventCategory[] = [\n \"AutoCompounding\",\n \"LiquidityChange\",\n \"WithdrawV2\",\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"bluefin.d.ts","sourceRoot":"","sources":["../../../src/transactions/bluefin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAEZ,MAAM,0BAA0B,CAAC;AAUlC,OAAO,EAAE,QAAQ,EAAW,MAAM,oBAAoB,CAAC;AAKvD,eAAO,MAAM,yBAAyB,WAC5B,MAAM,YACJ,QAAQ,aACP,OAAO,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,gBACf,WAAW,GAAG,SAAS,KACnC,OAAO,CAAC,WAAW,CAwNrB,CAAC;AAEF,eAAO,MAAM,0BAA0B,WAC7B,MAAM,YACJ,QAAQ,aACP,OAAO,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,gBACf,WAAW,GAAG,SAAS,KACnC,OAAO,CAAC,WAAW,CA6OrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACzB,MAAM,YACJ,QAAQ,aACP,OAAO,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,gBACf,WAAW,GAAG,SAAS,KACnC,OAAO,CAAC,WAAW,CAsarB,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACzB,MAAM,YACJ,QAAQ,aACP,OAAO,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,gBACf,WAAW,GAAG,SAAS,KACnC,OAAO,CAAC,WAAW,CAqPrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,WACzB,MAAM,YACJ,QAAQ,aACP,OAAO,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,gBACf,WAAW,GAAG,SAAS,KACnC,OAAO,CAAC,WAAW,CAwRrB,CAAC;AA6CF,eAAO,MAAM,yBAAyB,WAC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AAO,EAAE,MAAM,CAAA;CAAE,yBAkP7B,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC5B,MAAM,YACL,QAAQ,WACT;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,yBAwC7B,CAAC"}
@@ -866,6 +866,36 @@ const depositBluefinType1Txb = async (amount, poolName, isAmountA, options, tran
866
866
  ],
867
867
  });
868
868
  }
869
+ else if (poolName === "BLUEFIN-WAL-USDC") {
870
+ txb.moveCall({
871
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_deposit_v2`,
872
+ typeArguments: [
873
+ coins_js_1.coinsList[pool1].type,
874
+ coins_js_1.coinsList[pool2].type,
875
+ coins_js_1.coinsList["BLUE"].type,
876
+ coins_js_1.coinsList["SUI"].type,
877
+ ],
878
+ arguments: [
879
+ txb.object((0, constants_js_1.getConf)().ALPHA_4_VERSION),
880
+ txb.object((0, constants_js_1.getConf)().VERSION),
881
+ someReceipt,
882
+ txb.object(poolinfo.poolId),
883
+ depositCoinA,
884
+ depositCoinB,
885
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
886
+ txb.object(poolinfo.investorId),
887
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
888
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
889
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_WAL_USDC_POOL),
890
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
891
+ txb.object(maps_js_1.cetusPoolMap["USDC-WAL"]),
892
+ txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
893
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
894
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
895
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
896
+ ],
897
+ });
898
+ }
869
899
  txb.transferObjects([coin1], address);
870
900
  txb.transferObjects([coin2], address);
871
901
  }
@@ -1375,6 +1405,36 @@ const depositBluefinStsuiTxb = async (amount, poolName, isAmountA, options, tran
1375
1405
  ],
1376
1406
  });
1377
1407
  }
1408
+ else if (poolName === "BLUEFIN-WAL-STSUI") {
1409
+ txb.moveCall({
1410
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_second_pool::user_deposit`,
1411
+ typeArguments: [
1412
+ coins_js_1.coinsList[pool1].type,
1413
+ coins_js_1.coinsList[pool2].type,
1414
+ coins_js_1.coinsList["BLUE"].type,
1415
+ ],
1416
+ arguments: [
1417
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
1418
+ txb.object((0, constants_js_1.getConf)().VERSION),
1419
+ someReceipt,
1420
+ txb.object(poolinfo.poolId),
1421
+ depositCoinA,
1422
+ depositCoinB,
1423
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
1424
+ txb.object(poolinfo.investorId),
1425
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
1426
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
1427
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_WAL_STSUI_POOL),
1428
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
1429
+ txb.object(maps_js_1.cetusPoolMap["WAL-SUI"]),
1430
+ txb.object(maps_js_1.bluefinPoolMap["SUI-WAL"]),
1431
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
1432
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
1433
+ txb.pure.bool(false),
1434
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
1435
+ ],
1436
+ });
1437
+ }
1378
1438
  txb.transferObjects([coin1], address);
1379
1439
  txb.transferObjects([coin2], address);
1380
1440
  }
@@ -2242,6 +2302,37 @@ const withdrawBluefinType1Txb = async (xTokens, poolName, options) => {
2242
2302
  ],
2243
2303
  });
2244
2304
  }
2305
+ else if (poolName === "BLUEFIN-WAL-USDC") {
2306
+ txb.moveCall({
2307
+ target: `${poolinfo.packageId}::alphafi_bluefin_type_1_pool::user_withdraw_v2`,
2308
+ typeArguments: [
2309
+ coins_js_1.coinsList[pool1].type,
2310
+ coins_js_1.coinsList[pool2].type,
2311
+ coins_js_1.coinsList["BLUE"].type,
2312
+ coins_js_1.coinsList["SUI"].type,
2313
+ ],
2314
+ arguments: [
2315
+ txb.object((0, constants_js_1.getConf)().ALPHA_4_VERSION),
2316
+ txb.object((0, constants_js_1.getConf)().VERSION),
2317
+ txb.object(receipt[0].objectId),
2318
+ alpha_receipt,
2319
+ txb.object((0, constants_js_1.getConf)().ALPHA_POOL),
2320
+ txb.object(poolinfo.poolId),
2321
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
2322
+ txb.object(poolinfo.investorId),
2323
+ txb.pure.u128(xTokens),
2324
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
2325
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
2326
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_WAL_USDC_POOL),
2327
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
2328
+ txb.object(maps_js_1.cetusPoolMap["USDC-WAL"]),
2329
+ txb.object(maps_js_1.cetusPoolMap["USDC-SUI"]),
2330
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
2331
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
2332
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
2333
+ ],
2334
+ });
2335
+ }
2245
2336
  }
2246
2337
  }
2247
2338
  else {
@@ -2642,6 +2733,37 @@ const withdrawBluefinStsuiTxb = async (xTokens, poolName, options) => {
2642
2733
  ],
2643
2734
  });
2644
2735
  }
2736
+ else if (poolName === "BLUEFIN-WAL-STSUI") {
2737
+ txb.moveCall({
2738
+ target: `${poolinfo.packageId}::alphafi_bluefin_stsui_second_pool::user_withdraw`,
2739
+ typeArguments: [
2740
+ coins_js_1.coinsList[pool1].type,
2741
+ coins_js_1.coinsList[pool2].type,
2742
+ coins_js_1.coinsList["BLUE"].type,
2743
+ ],
2744
+ arguments: [
2745
+ txb.object((0, constants_js_1.getConf)().ALPHA_STSUI_VERSION),
2746
+ txb.object((0, constants_js_1.getConf)().VERSION),
2747
+ txb.object(receipt[0].objectId),
2748
+ alpha_receipt,
2749
+ txb.object((0, constants_js_1.getConf)().ALPHA_POOL),
2750
+ txb.object(poolinfo.poolId),
2751
+ txb.object((0, constants_js_1.getConf)().ALPHA_DISTRIBUTOR),
2752
+ txb.object(poolinfo.investorId),
2753
+ txb.pure.u128(xTokens),
2754
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_GLOBAL_CONFIG),
2755
+ txb.object((0, constants_js_1.getConf)().CETUS_GLOBAL_CONFIG_ID),
2756
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_WAL_STSUI_POOL),
2757
+ txb.object((0, constants_js_1.getConf)().BLUEFIN_BLUE_SUI_POOL),
2758
+ txb.object(maps_js_1.cetusPoolMap["WAL-SUI"]),
2759
+ txb.object(maps_js_1.bluefinPoolMap["SUI-WAL"]),
2760
+ txb.object((0, constants_js_1.getConf)().LST_INFO),
2761
+ txb.object((0, constants_js_1.getConf)().SUI_SYSTEM_STATE),
2762
+ txb.pure.bool(false),
2763
+ txb.object((0, constants_js_1.getConf)().CLOCK_PACKAGE_ID),
2764
+ ],
2765
+ });
2766
+ }
2645
2767
  }
2646
2768
  else {
2647
2769
  throw new Error("No receipt found!");