@alphafi/alphafi-sdk 0.0.75 → 0.0.76
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 +59 -2
- package/dist/cjs/common/constants.d.ts.map +1 -1
- package/dist/cjs/common/constants.js +51 -8
- 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 +49 -3
- 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/getVaultBalances.d.ts.map +1 -1
- package/dist/cjs/getVaultBalances.js +8 -8
- package/dist/cjs/getVaultBalances.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sui-sdk/events/fetchEvents.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/events/fetchEvents.js +13 -3
- package/dist/cjs/sui-sdk/events/fetchEvents.js.map +1 -1
- package/dist/cjs/sui-sdk/events/types.d.ts +3 -3
- package/dist/cjs/sui-sdk/events/types.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/events/types.js.map +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +2 -0
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.js +8 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.js.map +1 -1
- package/dist/cjs/transactions/navi.d.ts.map +1 -1
- package/dist/cjs/transactions/navi.js +282 -0
- 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 -0
- package/dist/cjs/utils/prices.js.map +1 -1
- package/dist/esm/common/constants.d.ts +59 -2
- package/dist/esm/common/constants.d.ts.map +1 -1
- package/dist/esm/common/constants.js +51 -8
- 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 +49 -3
- 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/getVaultBalances.d.ts.map +1 -1
- package/dist/esm/getVaultBalances.js +8 -8
- package/dist/esm/getVaultBalances.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/sui-sdk/events/fetchEvents.d.ts.map +1 -1
- package/dist/esm/sui-sdk/events/fetchEvents.js +13 -3
- package/dist/esm/sui-sdk/events/fetchEvents.js.map +1 -1
- package/dist/esm/sui-sdk/events/types.d.ts +3 -3
- package/dist/esm/sui-sdk/events/types.d.ts.map +1 -1
- package/dist/esm/sui-sdk/events/types.js.map +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts +2 -0
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.js +8 -1
- package/dist/esm/sui-sdk/functions/getReceipts.js.map +1 -1
- package/dist/esm/transactions/navi.d.ts.map +1 -1
- package/dist/esm/transactions/navi.js +282 -0
- 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 -0
- package/dist/esm/utils/prices.js.map +1 -1
- package/docs/assets/navigation.js +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/fetchEvents.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/CommonEventAttributes.html +7 -0
- 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 +3 -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/VoteCastEvent.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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maps.d.ts","sourceRoot":"","sources":["../../../src/common/maps.ts"],"names":[],"mapp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K,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
|
@@ -107,6 +107,8 @@ exports.singleAssetPoolCoinMap = {
|
|
|
107
107
|
"NAVI-LOOP-SUI-STSUI": { coin: "SUI" },
|
|
108
108
|
"NAVI-SUIBTC": { coin: "SUIBTC" },
|
|
109
109
|
"NAVI-SUIUSDT": { coin: "SUIUSDT" },
|
|
110
|
+
"NAVI-DEEP": { coin: "DEEP" },
|
|
111
|
+
"NAVI-WAL": { coin: "WAL" },
|
|
110
112
|
};
|
|
111
113
|
exports.loopingPoolCoinMap = {
|
|
112
114
|
"NAVI-LOOP-HASUI-SUI": { supplyCoin: "HASUI", borrowCoin: "SUI" },
|
|
@@ -132,6 +134,8 @@ exports.naviAssetMap = {
|
|
|
132
134
|
STSUI: "20",
|
|
133
135
|
SUIBTC: "21",
|
|
134
136
|
SUIUSDT: "19",
|
|
137
|
+
DEEP: "15",
|
|
138
|
+
WAL: "24",
|
|
135
139
|
};
|
|
136
140
|
exports.cetusPoolMap = {
|
|
137
141
|
"WUSDC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].WUSDC_SUI_CETUS_POOL_ID,
|
|
@@ -237,6 +241,8 @@ exports.loopingAccountAddresses = {
|
|
|
237
241
|
"NAVI-USDY": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDY_ACCOUNT_ADDRESS,
|
|
238
242
|
"NAVI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_SUI_ACCOUNT_ADDRESS,
|
|
239
243
|
"NAVI-VSUI": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_VSUI_ACCOUNT_ADDRESS,
|
|
244
|
+
"NAVI-DEEP": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_ACCOUNT_ADDRESS,
|
|
245
|
+
"NAVI-WAL": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_WAL_ACCOUNT_ADDRESS,
|
|
240
246
|
};
|
|
241
247
|
exports.naviPriceFeedMap = {
|
|
242
248
|
SUI: {
|
|
@@ -319,8 +325,48 @@ exports.naviPriceFeedMap = {
|
|
|
319
325
|
feedId: constants_js_1.conf[constants_js_1.CONF_ENV].HASUI_FEED_ID,
|
|
320
326
|
pythPriceInfo: constants_js_1.conf[constants_js_1.CONF_ENV].HASUI_PYTH_PRICE_INFO,
|
|
321
327
|
},
|
|
328
|
+
WAL: {
|
|
329
|
+
feedId: constants_js_1.conf[constants_js_1.CONF_ENV].HASUI_FEED_ID, //todo: change when real ids for wal are found
|
|
330
|
+
pythPriceInfo: constants_js_1.conf[constants_js_1.CONF_ENV].HASUI_PYTH_PRICE_INFO,
|
|
331
|
+
},
|
|
322
332
|
};
|
|
323
333
|
exports.poolInfo = {
|
|
334
|
+
"NAVI-DEEP": {
|
|
335
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_3_LATEST_PACKAGE_ID,
|
|
336
|
+
packageNumber: 3,
|
|
337
|
+
parentProtocolName: "NAVI",
|
|
338
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_POOL,
|
|
339
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_NAVI_DEEP_POOL,
|
|
340
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_INVESTOR,
|
|
341
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_POOL_RECEIPT_NAME,
|
|
342
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_POOL_RECEIPT,
|
|
343
|
+
assetTypes: [coins_js_1.coinsList["DEEP"].type],
|
|
344
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_POOL_AUTO_COMPOUNDING_EVENT,
|
|
345
|
+
rebalanceEventType: undefined,
|
|
346
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_DEEP_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
347
|
+
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
348
|
+
imageUrl2: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
349
|
+
retired: false,
|
|
350
|
+
},
|
|
351
|
+
"NAVI-WAL": {
|
|
352
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_3_LATEST_PACKAGE_ID,
|
|
353
|
+
packageNumber: 3,
|
|
354
|
+
parentProtocolName: "NAVI",
|
|
355
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_WAL_POOL,
|
|
356
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_NAVI_WAL_POOL,
|
|
357
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_WAL_INVESTOR,
|
|
358
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_WAL_POOL_RECEIPT_NAME,
|
|
359
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_WAL_POOL_RECEIPT,
|
|
360
|
+
assetTypes: [
|
|
361
|
+
"0x2053d08c1e2bd02791056171aab0fd12bd7cd7efad2ab8f6b9c8902f14df2ff2::ausd::AUSD",
|
|
362
|
+
],
|
|
363
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_AUSD_POOL_AUTO_COMPOUNDING_EVENT,
|
|
364
|
+
rebalanceEventType: undefined,
|
|
365
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_AUSD_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
366
|
+
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
367
|
+
imageUrl2: "https://images.alphafi.xyz/adminweb/ausd.png",
|
|
368
|
+
retired: false,
|
|
369
|
+
},
|
|
324
370
|
"BLUEFIN-AUTOBALANCE-WAL-USDC": {
|
|
325
371
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID,
|
|
326
372
|
packageNumber: 7,
|
|
@@ -517,7 +563,7 @@ exports.poolInfo = {
|
|
|
517
563
|
checkRatioEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_LOOP_SUI_STSUI_POOL_CHECK_RATIO_EVENT,
|
|
518
564
|
imageUrl1: "https://images.alphafi.xyz/adminweb/sui-logo1.svg",
|
|
519
565
|
imageUrl2: "https://images.alphafi.xyz/adminweb/vsui.png",
|
|
520
|
-
retired:
|
|
566
|
+
retired: true,
|
|
521
567
|
},
|
|
522
568
|
"BLUEFIN-STSUI-MUSD": {
|
|
523
569
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
@@ -566,7 +612,7 @@ exports.poolInfo = {
|
|
|
566
612
|
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
567
613
|
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
568
614
|
imageUrl2: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
569
|
-
retired:
|
|
615
|
+
retired: true,
|
|
570
616
|
},
|
|
571
617
|
"BLUEFIN-AUTOBALANCE-DEEP-SUI": {
|
|
572
618
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID,
|
|
@@ -1394,7 +1440,7 @@ exports.poolInfo = {
|
|
|
1394
1440
|
checkRatioEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_LOOP_SUI_VSUI_POOL_CHECK_RATIO_EVENT,
|
|
1395
1441
|
imageUrl1: "https://images.alphafi.xyz/adminweb/sui-logo1.svg",
|
|
1396
1442
|
imageUrl2: "https://images.alphafi.xyz/adminweb/vsui.png",
|
|
1397
|
-
retired:
|
|
1443
|
+
retired: true,
|
|
1398
1444
|
},
|
|
1399
1445
|
"NAVI-SUI": {
|
|
1400
1446
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_LATEST_PACKAGE_ID,
|