@alphafi/alphafi-sdk 0.0.71 → 0.0.73
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.
- package/dist/cjs/common/constants.d.ts +51 -0
- package/dist/cjs/common/constants.d.ts.map +1 -1
- package/dist/cjs/common/constants.js +54 -10
- package/dist/cjs/common/constants.js.map +1 -1
- package/dist/cjs/common/maps.d.ts.map +1 -1
- package/dist/cjs/common/maps.js +45 -4
- package/dist/cjs/common/maps.js.map +1 -1
- package/dist/cjs/common/types.d.ts +1 -1
- package/dist/cjs/common/types.d.ts.map +1 -1
- package/dist/cjs/common/types.js.map +1 -1
- package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
- package/dist/cjs/transactions/bluefin.js +65 -0
- package/dist/cjs/transactions/bluefin.js.map +1 -1
- package/dist/cjs/transactions/collect_rewards.d.ts.map +1 -1
- package/dist/cjs/transactions/collect_rewards.js +6 -2
- package/dist/cjs/transactions/collect_rewards.js.map +1 -1
- package/dist/cjs/transactions/navi.js +5 -5
- package/dist/cjs/transactions/navi.js.map +1 -1
- package/dist/cjs/utils/prices.d.ts.map +1 -1
- package/dist/cjs/utils/prices.js +1 -10
- package/dist/cjs/utils/prices.js.map +1 -1
- package/dist/esm/common/constants.d.ts +51 -0
- package/dist/esm/common/constants.d.ts.map +1 -1
- package/dist/esm/common/constants.js +54 -10
- package/dist/esm/common/constants.js.map +1 -1
- package/dist/esm/common/maps.d.ts.map +1 -1
- package/dist/esm/common/maps.js +45 -4
- package/dist/esm/common/maps.js.map +1 -1
- package/dist/esm/common/types.d.ts +1 -1
- package/dist/esm/common/types.d.ts.map +1 -1
- package/dist/esm/common/types.js.map +1 -1
- package/dist/esm/transactions/bluefin.d.ts.map +1 -1
- package/dist/esm/transactions/bluefin.js +65 -0
- package/dist/esm/transactions/bluefin.js.map +1 -1
- package/dist/esm/transactions/collect_rewards.d.ts.map +1 -1
- package/dist/esm/transactions/collect_rewards.js +6 -2
- package/dist/esm/transactions/collect_rewards.js.map +1 -1
- package/dist/esm/transactions/navi.js +5 -5
- package/dist/esm/transactions/navi.js.map +1 -1
- package/dist/esm/utils/prices.d.ts.map +1 -1
- package/dist/esm/utils/prices.js +1 -10
- package/dist/esm/utils/prices.js.map +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/functions/alphaLpBreakdown.html +1 -1
- package/docs/functions/cetusLpBreakdown.html +1 -1
- package/docs/functions/claimBlueRewardTxb.html +1 -1
- package/docs/functions/claimRewardTxb.html +1 -1
- package/docs/functions/coinAmountToXTokensDoubleAsset.html +1 -1
- package/docs/functions/coinAmountToXTokensSingleAsset.html +1 -1
- package/docs/functions/coinsInPool.html +1 -1
- package/docs/functions/collectRewards.html +1 -1
- package/docs/functions/deposit.html +1 -1
- package/docs/functions/depositDoubleAssetTxb.html +1 -1
- package/docs/functions/depositSingleAssetTxb.html +1 -1
- package/docs/functions/fetchAfterTransactionEvents.html +1 -1
- package/docs/functions/fetchAutoCompoundingEvents.html +1 -1
- package/docs/functions/fetchAutoCompoundingEventsGql.html +1 -1
- package/docs/functions/fetchCetusPools.html +1 -1
- package/docs/functions/fetchChainIdentifier.html +1 -1
- package/docs/functions/fetchCheckRatioEvents.html +1 -1
- package/docs/functions/fetchLiquidityChangeEvents.html +1 -1
- package/docs/functions/fetchMultiCategoryEvents.html +1 -1
- package/docs/functions/fetchMultiReceipts.html +1 -1
- package/docs/functions/fetchNftHolders.html +1 -1
- package/docs/functions/fetchPools.html +1 -1
- package/docs/functions/fetchPortfolioData.html +1 -1
- package/docs/functions/fetchProtocolData.html +1 -1
- package/docs/functions/fetchTVL.html +1 -1
- package/docs/functions/fetchTransactions.html +1 -1
- package/docs/functions/fetchUserVaultBalances.html +1 -1
- package/docs/functions/fetchUserVaults.html +1 -1
- package/docs/functions/fetchUserWalletData.html +1 -1
- package/docs/functions/fetchVoloExchangeRate.html +1 -1
- package/docs/functions/fetchWithdrawV2Events.html +1 -1
- package/docs/functions/getAirdropShare.html +1 -1
- package/docs/functions/getAllDoubleAssetVaults.html +1 -1
- package/docs/functions/getAllSingleAssetVaults.html +1 -1
- package/docs/functions/getAllVaultBalances.html +1 -1
- package/docs/functions/getAllVaults.html +1 -1
- package/docs/functions/getAlphaUnlocks.html +1 -1
- package/docs/functions/getAlphaVaultBalance.html +1 -1
- package/docs/functions/getAmounts.html +1 -1
- package/docs/functions/getApr.html +1 -1
- package/docs/functions/getAprs.html +1 -1
- package/docs/functions/getApy.html +1 -1
- package/docs/functions/getApys.html +1 -1
- package/docs/functions/getCetusInvestorTicksMap.html +1 -1
- package/docs/functions/getCetusPool.html +1 -1
- package/docs/functions/getCetusSqrtPriceMap.html +1 -1
- package/docs/functions/getCoinAmountsFromLiquidity.html +1 -1
- package/docs/functions/getConf.html +1 -1
- package/docs/functions/getCurrentTick.html +1 -1
- package/docs/functions/getDistributor.html +1 -1
- package/docs/functions/getDoubleAssetVaultBalance.html +1 -1
- package/docs/functions/getDoubleAssetVaults.html +1 -1
- package/docs/functions/getHoldersFromTransactions.html +1 -1
- package/docs/functions/getInvestor.html +1 -1
- package/docs/functions/getInvestorPoolMap.html +1 -1
- package/docs/functions/getLastAutoCompoundTime.html +1 -1
- package/docs/functions/getLatestPrices.html +1 -1
- package/docs/functions/getLiquidity.html +1 -1
- package/docs/functions/getMultiCetusPool.html +1 -1
- package/docs/functions/getMultiInvestor.html +1 -1
- package/docs/functions/getMultiLatestPrices.html +1 -1
- package/docs/functions/getMultiParentPool.html +1 -1
- package/docs/functions/getMultiPool.html +1 -1
- package/docs/functions/getMultiReceipts.html +1 -1
- package/docs/functions/getParentPool.html +1 -1
- package/docs/functions/getPool.html +1 -1
- package/docs/functions/getPoolExchangeRate.html +1 -1
- package/docs/functions/getPoolExchangeRateMap.html +1 -1
- package/docs/functions/getPoolsWeightDistribution.html +1 -1
- package/docs/functions/getPositionRange.html +1 -1
- package/docs/functions/getPositionRanges.html +1 -1
- package/docs/functions/getPositionTicks.html +1 -1
- package/docs/functions/getPriceToTick.html +1 -1
- package/docs/functions/getRebalanceHistories.html +1 -1
- package/docs/functions/getRebalanceHistory.html +1 -1
- package/docs/functions/getReceipts.html +1 -1
- package/docs/functions/getSingleAssetVaultBalance.html +1 -1
- package/docs/functions/getSingleAssetVaults.html +1 -1
- package/docs/functions/getSuiClient.html +2 -2
- package/docs/functions/getSuiNodeUrl.html +2 -2
- package/docs/functions/getTVLs-1.html +1 -1
- package/docs/functions/getTickSpacing.html +1 -1
- package/docs/functions/getTickToPrice.html +1 -1
- package/docs/functions/getTvls.html +1 -1
- package/docs/functions/getUserTokensFromTransactions.html +1 -1
- package/docs/functions/getUserTokensInUsdFromTransactions.html +1 -1
- package/docs/functions/getVaultBalance.html +1 -1
- package/docs/functions/getVaultBalanceForActiveUsers.html +1 -1
- package/docs/functions/getVaults.html +1 -1
- package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +1 -1
- package/docs/functions/getZapAmounts.html +1 -1
- package/docs/functions/lastAutocompoundTime.html +1 -1
- package/docs/functions/liquidityToTokens.html +1 -1
- package/docs/functions/multiLiquidityToTokens.html +1 -1
- package/docs/functions/multiTokensToUsd.html +1 -1
- package/docs/functions/multiXTokensToLiquidity.html +1 -1
- package/docs/functions/parseUserWalletData.html +1 -1
- package/docs/functions/pendingBlueRewardAmount.html +1 -1
- package/docs/functions/setCustomSuiClient.html +2 -2
- package/docs/functions/setSuiClient.html +2 -2
- package/docs/functions/setSuiNodeUrl.html +2 -2
- package/docs/functions/setWeights.html +1 -1
- package/docs/functions/withdraw.html +1 -1
- package/docs/functions/withdrawAlphaTxb.html +1 -1
- package/docs/functions/withdrawTxb.html +1 -1
- package/docs/functions/zapDepositTxb.html +1 -1
- package/docs/index.html +2 -2
- package/docs/interfaces/Coin.html +6 -6
- package/docs/interfaces/CoinPair.html +2 -2
- package/docs/interfaces/NaviVoloData.html +2 -2
- package/docs/interfaces/PoolData.html +2 -2
- package/docs/interfaces/PoolWeightDistribution.html +2 -2
- package/docs/interfaces/RebalanceHistoryType.html +2 -2
- package/docs/modules.html +2 -2
- package/docs/types/AfterTransactionEventNode.html +1 -1
- package/docs/types/Allocator.html +1 -1
- package/docs/types/AlphaFiDoubleAssetVault.html +1 -1
- package/docs/types/AlphaFiMultiVaultBalance.html +1 -1
- package/docs/types/AlphaFiSingleAssetVault.html +1 -1
- package/docs/types/AlphaFiVault.html +1 -1
- package/docs/types/AlphaFiVaultBalance.html +1 -1
- package/docs/types/AlphaPoolType.html +1 -1
- package/docs/types/AlphaReceipt.html +1 -1
- package/docs/types/AlphaReceiptFields.html +1 -1
- package/docs/types/AlphaVaultBalance.html +1 -1
- package/docs/types/AutoBalancePoolNames.html +1 -1
- package/docs/types/AutoCompoundingEventNode.html +1 -1
- package/docs/types/BluefinInvestor.html +1 -1
- package/docs/types/BluefinPoolType.html +1 -1
- package/docs/types/BucketInvestor.html +1 -1
- package/docs/types/CetusInvestor.html +1 -1
- package/docs/types/CetusPoolType.html +1 -1
- package/docs/types/CetusSwapOptions.html +1 -1
- package/docs/types/CoinAmounts.html +1 -1
- package/docs/types/CoinName.html +1 -1
- package/docs/types/CoinType.html +1 -1
- package/docs/types/CommonInvestorFields.html +1 -1
- package/docs/types/CreatePoolOptions.html +1 -1
- package/docs/types/Distributor.html +1 -1
- package/docs/types/DoubleAssetMultiVaultBalance.html +1 -1
- package/docs/types/DoubleAssetPoolNames.html +1 -1
- package/docs/types/DoubleAssetTokenHoldings.html +1 -1
- package/docs/types/DoubleAssetVaultBalance.html +1 -1
- package/docs/types/EventCategory.html +1 -1
- package/docs/types/EventNode.html +1 -1
- package/docs/types/GetHoldersParams.html +1 -1
- package/docs/types/GetTokenHoldingsParams.html +1 -1
- package/docs/types/GetUserTokensFromTransactionsParams.html +1 -1
- package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +1 -1
- package/docs/types/GetVaultBalanceForActiveUsersParams.html +1 -1
- package/docs/types/GetVaultBalanceParams.html +1 -1
- package/docs/types/HoldingsObj.html +1 -1
- package/docs/types/Icon.html +1 -1
- package/docs/types/Investor.html +1 -1
- package/docs/types/LiquidityChangeEventNode.html +1 -1
- package/docs/types/LiquidityToTokensParams.html +1 -1
- package/docs/types/LiquidityToUsdParams.html +1 -1
- package/docs/types/LoopingDebt.html +1 -1
- package/docs/types/LoopingPoolNames.html +1 -1
- package/docs/types/LpBreakdownType.html +1 -1
- package/docs/types/MemberPoolDataType.html +1 -1
- package/docs/types/MemberType.html +1 -1
- package/docs/types/MultiGetVaultBalancesParams.html +1 -1
- package/docs/types/NaviInvestor.html +1 -1
- package/docs/types/OtherReceiptFields.html +1 -1
- package/docs/types/PoolName.html +1 -1
- package/docs/types/PoolReceipt.html +1 -1
- package/docs/types/PoolType.html +1 -1
- package/docs/types/Receipt.html +1 -1
- package/docs/types/ReceiptGQL.html +1 -1
- package/docs/types/SingleAssetMultiVaultBalance.html +1 -1
- package/docs/types/SingleAssetPoolNames.html +1 -1
- package/docs/types/SingleAssetTokenHoldings.html +1 -1
- package/docs/types/SingleAssetVaultBalance.html +1 -1
- package/docs/types/SingleGetVaultBalancesParams.html +1 -1
- package/docs/types/StrategyType.html +1 -1
- package/docs/types/SuiNetwork.html +1 -1
- package/docs/types/SwapOptions.html +1 -1
- package/docs/types/TickSpacing.html +1 -1
- package/docs/types/TotalWeightType.html +1 -1
- package/docs/types/TransactionBlockType.html +1 -1
- package/docs/types/UserPoolLiquidity.html +1 -1
- package/docs/types/UserPoolTokenHoldings.html +1 -1
- package/docs/types/UserUsdHoldings.html +1 -1
- package/docs/types/VaultBalance.html +1 -1
- package/docs/types/WithdrawV2EventNode.html +1 -1
- package/docs/variables/bluefinPoolMap.html +1 -1
- package/docs/variables/cetusPoolMap.html +1 -1
- package/docs/variables/coinsList.html +1 -1
- package/docs/variables/defunctPoolsSet.html +1 -1
- package/docs/variables/doubleAssetPoolCoinMap.html +1 -1
- package/docs/variables/eventCategories.html +1 -1
- package/docs/variables/ignoredWalletsForDailyRevenue.html +1 -1
- package/docs/variables/loopingAccountAddresses.html +1 -1
- package/docs/variables/loopingPoolCoinMap.html +1 -1
- package/docs/variables/naviAssetMap.html +1 -1
- package/docs/variables/poolIdPoolNameMap.html +1 -1
- package/docs/variables/poolInfo.html +1 -1
- package/docs/variables/singleAssetPoolCoinMap.html +1 -1
- package/docs/variables/stableCoins.html +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/common/maps.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EAER,oBAAoB,EACpB,QAAQ,EACR,WAAW,EAEX,oBAAoB,EACpB,YAAY,EACb,MAAM,YAAY,CAAC;AAQpB,eAAO,MAAM,WAAW,UAUvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE;KAClC,GAAG,IAAI,MAAM,GAAG;QAAE,KAAK,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE;
|
|
1
|
+
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/common/maps.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EAER,oBAAoB,EACpB,QAAQ,EACR,WAAW,EAEX,oBAAoB,EACpB,YAAY,EACb,MAAM,YAAY,CAAC;AAQpB,eAAO,MAAM,WAAW,UAUvB,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE;KAClC,GAAG,IAAI,MAAM,GAAG;QAAE,KAAK,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE;CAuDtD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE;KAClC,GAAG,IAAI,MAAM,GAAG;QAAE,IAAI,EAAE,QAAQ,CAAA;KAAE;CAwBpC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE;KAC9B,GAAG,IAAI,MAAM,GAAG;QAAE,UAAU,EAAE,QAAQ,CAAC;QAAC,UAAU,EAAE,QAAQ,CAAA;KAAE;CAOhE,CAAC;AAEF,eAA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D;AAED,wBAAsB,4BAA4B,IAAI,OAAO,CAC3D,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAClC,CAyBA;AAED,wBAAsB,gCAAgC,IAAI,OAAO,CAAC;KAC/D,IAAI,IAAI,oBAAoB,CAAC,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;CAClE,CAAC,CA2BD;AAED,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAevE;AAED,eAAO,MAAM,aAAa,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAM/C,CAAC;AAEL,eAAO,MAAM,eAAe,aAGxB,CAAC;AAEL,eAAO,MAAM,6BAA6B,UAYzC,CAAC"}
|
package/dist/cjs/common/maps.js
CHANGED
|
@@ -78,6 +78,8 @@ exports.doubleAssetPoolCoinMap = {
|
|
|
78
78
|
"BLUEFIN-FUNGIBLE-STSUI-SUI": { coin1: "STSUI", coin2: "SUI" },
|
|
79
79
|
"BLUEFIN-SUIBTC-USDC": { coin1: "SUIBTC", coin2: "USDC" },
|
|
80
80
|
"BLUEFIN-AUTOBALANCE-SUI-LBTC": { coin1: "SUI", coin2: "LBTC" },
|
|
81
|
+
"BLUEFIN-LBTC-SUIBTC": { coin1: "LBTC", coin2: "SUIBTC" },
|
|
82
|
+
"USDC-SUIUSDT": { coin1: "USDC", coin2: "SUIUSDT" },
|
|
81
83
|
};
|
|
82
84
|
exports.singleAssetPoolCoinMap = {
|
|
83
85
|
ALPHA: { coin: "ALPHA" },
|
|
@@ -174,6 +176,8 @@ exports.cetusPoolMap = {
|
|
|
174
176
|
"USDC-SUIBTC": constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIBTC_CETUS_POOL_ID,
|
|
175
177
|
"SUIUSDT-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].SUIUSDT_SUI_CETUS_POOL_ID,
|
|
176
178
|
"LBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].LBTC_SUI_CETUS_POOL_ID,
|
|
179
|
+
"SUIBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].SUIBTC_SUI_CETUS_POOL_ID,
|
|
180
|
+
"SUIBTC-LBTC": constants_js_1.conf[constants_js_1.CONF_ENV].SUIBTC_LBTC_CETUS_POOL_ID,
|
|
177
181
|
};
|
|
178
182
|
exports.bluefinPoolMap = {
|
|
179
183
|
"SUI-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_USDC_POOL,
|
|
@@ -206,6 +210,7 @@ exports.bluefinPoolMap = {
|
|
|
206
210
|
"SUI-SUIBTC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_SUIBTC_POOL,
|
|
207
211
|
"VSUI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_VSUI_SUI_POOL,
|
|
208
212
|
"SUI-LBTC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_LBTC_POOL,
|
|
213
|
+
"LBTC-SUIBTC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_LBTC_SUIBTC_POOL,
|
|
209
214
|
};
|
|
210
215
|
exports.loopingAccountAddresses = {
|
|
211
216
|
"NAVI-LOOP-USDC-USDT": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDC_USDT_LOOP_ACCOUNT_ADDRESS,
|
|
@@ -308,6 +313,42 @@ exports.naviPriceFeedMap = {
|
|
|
308
313
|
},
|
|
309
314
|
};
|
|
310
315
|
exports.poolInfo = {
|
|
316
|
+
"USDC-SUIUSDT": {
|
|
317
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_LATEST_PACKAGE_ID,
|
|
318
|
+
packageNumber: 1,
|
|
319
|
+
parentProtocolName: "CETUS",
|
|
320
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_CETUS_POOL_ID,
|
|
321
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL,
|
|
322
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_CETUS_INVESTOR,
|
|
323
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL_RECEIPT_NAME,
|
|
324
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL_RECEIPT,
|
|
325
|
+
assetTypes: [
|
|
326
|
+
"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
|
|
327
|
+
"0x375f70cf2ae4c00bf37117d0c85a2c71545e6ee05c4a5c7d282cd66a4504b068::usdt::USDT",
|
|
328
|
+
],
|
|
329
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL_AUTO_COMPOUNDING_EVENT,
|
|
330
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL_REBALANCE_EVENT,
|
|
331
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
332
|
+
imageUrl1: "https://images.alphafi.xyz/adminweb/USDC.svg",
|
|
333
|
+
imageUrl2: "https://images.alphafi.xyz/adminweb/wusdc.svg",
|
|
334
|
+
retired: false,
|
|
335
|
+
},
|
|
336
|
+
"BLUEFIN-LBTC-SUIBTC": {
|
|
337
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_BLUEFIN_V2_LATEST_PACKAGE_ID,
|
|
338
|
+
packageNumber: 8,
|
|
339
|
+
parentProtocolName: "BLUEFIN",
|
|
340
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_LBTC_SUIBTC_POOL,
|
|
341
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_POOL,
|
|
342
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_INVESTOR,
|
|
343
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_RECEIPT_NAME,
|
|
344
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_RECEIPT,
|
|
345
|
+
assetTypes: [coins_js_1.coinsList["LBTC"].type, coins_js_1.coinsList["SUIBTC"].type],
|
|
346
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_POOL_AUTO_COMPOUNDING_EVENT,
|
|
347
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_POOL_REBALANCE_EVENT,
|
|
348
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_LBTC_SUIBTC_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
349
|
+
retired: false,
|
|
350
|
+
// add strategy type
|
|
351
|
+
},
|
|
311
352
|
"BLUEFIN-AUTOBALANCE-SUI-LBTC": {
|
|
312
353
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID,
|
|
313
354
|
packageNumber: 7,
|
|
@@ -955,7 +996,7 @@ exports.poolInfo = {
|
|
|
955
996
|
checkRatioEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_LOOP_USDT_USDC_POOL_CHECK_RATIO_EVENT,
|
|
956
997
|
imageUrl1: "https://images.alphafi.xyz/adminweb/USDT.svg",
|
|
957
998
|
imageUrl2: "https://images.alphafi.xyz/adminweb/USDC.svg",
|
|
958
|
-
retired:
|
|
999
|
+
retired: true,
|
|
959
1000
|
},
|
|
960
1001
|
"BLUEFIN-USDT-USDC": {
|
|
961
1002
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
@@ -1253,7 +1294,7 @@ exports.poolInfo = {
|
|
|
1253
1294
|
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDC_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
1254
1295
|
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
1255
1296
|
imageUrl2: "https://images.alphafi.xyz/adminweb/USDC.svg",
|
|
1256
|
-
retired:
|
|
1297
|
+
retired: false,
|
|
1257
1298
|
},
|
|
1258
1299
|
"NAVI-LOOP-USDC-USDT": {
|
|
1259
1300
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_2_LATEST_PACKAGE_ID,
|
|
@@ -1274,7 +1315,7 @@ exports.poolInfo = {
|
|
|
1274
1315
|
checkRatioEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_LOOP_USDC_USDT_POOL_CHECK_RATIO_EVENT,
|
|
1275
1316
|
imageUrl1: "https://images.alphafi.xyz/adminweb/USDC.svg",
|
|
1276
1317
|
imageUrl2: "https://images.alphafi.xyz/adminweb/USDT.svg",
|
|
1277
|
-
retired:
|
|
1318
|
+
retired: true,
|
|
1278
1319
|
},
|
|
1279
1320
|
"NAVI-LOOP-SUI-VSUI": {
|
|
1280
1321
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_2_LATEST_PACKAGE_ID,
|
|
@@ -1371,7 +1412,7 @@ exports.poolInfo = {
|
|
|
1371
1412
|
afterTransactionEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDT_POOL_AFTER_TRANSACTION_EVENT,
|
|
1372
1413
|
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
1373
1414
|
imageUrl2: "https://images.alphafi.xyz/adminweb/USDT.svg",
|
|
1374
|
-
retired:
|
|
1415
|
+
retired: false,
|
|
1375
1416
|
},
|
|
1376
1417
|
"NAVI-WUSDC": {
|
|
1377
1418
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_LATEST_PACKAGE_ID,
|