@alphafi/alphafi-sdk 0.0.55 → 0.0.58
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/coins.d.ts.map +1 -1
- package/dist/cjs/common/coins.js +6 -0
- package/dist/cjs/common/coins.js.map +1 -1
- package/dist/cjs/common/constants.d.ts +93 -0
- package/dist/cjs/common/constants.d.ts.map +1 -1
- package/dist/cjs/common/constants.js +90 -25
- 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 +91 -39
- package/dist/cjs/common/maps.js.map +1 -1
- package/dist/cjs/common/pyth.d.ts +1 -1
- package/dist/cjs/common/pyth.d.ts.map +1 -1
- package/dist/cjs/common/pyth.js.map +1 -1
- package/dist/cjs/common/types.d.ts +4 -4
- package/dist/cjs/common/types.d.ts.map +1 -1
- package/dist/cjs/common/types.js.map +1 -1
- package/dist/cjs/getLastAutoCompoundTime.js +2 -2
- package/dist/cjs/getLastAutoCompoundTime.js.map +1 -1
- package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.js +2 -1
- package/dist/cjs/sui-sdk/events/fetchAutoCompoundingEvents.js.map +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +1 -0
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/cjs/transactions/7k.d.ts +1 -1
- package/dist/cjs/transactions/7k.d.ts.map +1 -1
- package/dist/cjs/transactions/7k.js +2 -1
- package/dist/cjs/transactions/7k.js.map +1 -1
- package/dist/cjs/transactions/blueRewards.d.ts.map +1 -1
- package/dist/cjs/transactions/blueRewards.js +18 -6
- package/dist/cjs/transactions/blueRewards.js.map +1 -1
- package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
- package/dist/cjs/transactions/bluefin.js +364 -40
- 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 +5 -1
- package/dist/cjs/transactions/collect_rewards.js.map +1 -1
- package/dist/cjs/transactions/deposit.d.ts.map +1 -1
- package/dist/cjs/transactions/deposit.js +2 -4
- package/dist/cjs/transactions/deposit.js.map +1 -1
- package/dist/cjs/transactions/navi.d.ts.map +1 -1
- package/dist/cjs/transactions/navi.js +64 -0
- package/dist/cjs/transactions/navi.js.map +1 -1
- package/dist/cjs/transactions/zapDeposit.d.ts.map +1 -1
- package/dist/cjs/transactions/zapDeposit.js +89 -38
- package/dist/cjs/transactions/zapDeposit.js.map +1 -1
- package/dist/cjs/utils/constants.d.ts.map +1 -1
- package/dist/cjs/utils/constants.js +5 -0
- package/dist/cjs/utils/constants.js.map +1 -1
- package/dist/esm/common/coins.d.ts.map +1 -1
- package/dist/esm/common/coins.js +6 -0
- package/dist/esm/common/coins.js.map +1 -1
- package/dist/esm/common/constants.d.ts +93 -0
- package/dist/esm/common/constants.d.ts.map +1 -1
- package/dist/esm/common/constants.js +90 -25
- 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 +91 -39
- package/dist/esm/common/maps.js.map +1 -1
- package/dist/esm/common/pyth.d.ts +1 -1
- package/dist/esm/common/pyth.d.ts.map +1 -1
- package/dist/esm/common/pyth.js.map +1 -1
- package/dist/esm/common/types.d.ts +4 -4
- package/dist/esm/common/types.d.ts.map +1 -1
- package/dist/esm/common/types.js.map +1 -1
- package/dist/esm/getLastAutoCompoundTime.js +2 -2
- package/dist/esm/getLastAutoCompoundTime.js.map +1 -1
- package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.d.ts.map +1 -1
- package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.js +2 -1
- package/dist/esm/sui-sdk/events/fetchAutoCompoundingEvents.js.map +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts +1 -0
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/esm/transactions/7k.d.ts +1 -1
- package/dist/esm/transactions/7k.d.ts.map +1 -1
- package/dist/esm/transactions/7k.js +2 -1
- package/dist/esm/transactions/7k.js.map +1 -1
- package/dist/esm/transactions/blueRewards.d.ts.map +1 -1
- package/dist/esm/transactions/blueRewards.js +18 -6
- package/dist/esm/transactions/blueRewards.js.map +1 -1
- package/dist/esm/transactions/bluefin.d.ts.map +1 -1
- package/dist/esm/transactions/bluefin.js +364 -40
- 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 +5 -1
- package/dist/esm/transactions/collect_rewards.js.map +1 -1
- package/dist/esm/transactions/deposit.d.ts.map +1 -1
- package/dist/esm/transactions/deposit.js +2 -4
- package/dist/esm/transactions/deposit.js.map +1 -1
- package/dist/esm/transactions/navi.d.ts.map +1 -1
- package/dist/esm/transactions/navi.js +64 -0
- package/dist/esm/transactions/navi.js.map +1 -1
- package/dist/esm/transactions/zapDeposit.d.ts.map +1 -1
- package/dist/esm/transactions/zapDeposit.js +89 -38
- package/dist/esm/transactions/zapDeposit.js.map +1 -1
- package/dist/esm/utils/constants.d.ts.map +1 -1
- package/dist/esm/utils/constants.js +5 -0
- package/dist/esm/utils/constants.js.map +1 -1
- package/docs/assets/highlight.css +74 -51
- package/docs/assets/icons.js +20 -17
- package/docs/assets/main.js +2163 -5
- package/docs/assets/navigation.js +2 -1
- package/docs/assets/search.js +2 -1
- package/docs/assets/style.css +846 -850
- package/docs/functions/alphaLpBreakdown.html +253 -1
- package/docs/functions/cetusLpBreakdown.html +253 -1
- package/docs/functions/claimBlueRewardTxb.html +258 -1
- package/docs/functions/claimRewardTxb.html +243 -1
- package/docs/functions/coinAmountToXTokensDoubleAsset.html +267 -1
- package/docs/functions/coinAmountToXTokensSingleAsset.html +260 -1
- package/docs/functions/coinsInPool.html +438 -1
- package/docs/functions/collectRewards.html +242 -1
- package/docs/functions/deposit.html +246 -1
- package/docs/functions/depositDoubleAssetTxb.html +270 -1
- package/docs/functions/depositSingleAssetTxb.html +263 -1
- package/docs/functions/fetchAfterTransactionEvents.html +328 -1
- package/docs/functions/fetchAutoCompoundingEvents.html +257 -1
- package/docs/functions/fetchAutoCompoundingEventsGql.html +251 -1
- package/docs/functions/fetchCetusPools.html +231 -1
- package/docs/functions/fetchChainIdentifier.html +233 -1
- package/docs/functions/fetchCheckRatioEvents.html +249 -1
- package/docs/functions/fetchLiquidityChangeEvents.html +257 -1
- package/docs/functions/fetchMultiCategoryEvents.html +348 -1
- package/docs/functions/fetchMultiReceipts.html +261 -1
- package/docs/functions/fetchNftHolders.html +233 -1
- package/docs/functions/fetchPools.html +230 -1
- package/docs/functions/fetchPortfolioData.html +243 -1
- package/docs/functions/fetchProtocolData.html +231 -1
- package/docs/functions/fetchTVL.html +253 -1
- package/docs/functions/fetchUserVaultBalances.html +245 -1
- package/docs/functions/fetchUserVaults.html +243 -1
- package/docs/functions/fetchUserWalletData.html +243 -1
- package/docs/functions/fetchVoloExchangeRate.html +251 -1
- package/docs/functions/fetchWithdrawV2Events.html +255 -1
- package/docs/functions/getAirdropShare.html +243 -1
- package/docs/functions/getAllDoubleAssetVaults.html +235 -1
- package/docs/functions/getAllSingleAssetVaults.html +235 -1
- package/docs/functions/getAllVaultBalances.html +265 -1
- package/docs/functions/getAllVaults.html +233 -1
- package/docs/functions/getAlphaUnlocks.html +245 -1
- package/docs/functions/getAlphaVaultBalance.html +255 -1
- package/docs/functions/getAmounts.html +272 -1
- package/docs/functions/getApr.html +243 -1
- package/docs/functions/getAprs.html +255 -1
- package/docs/functions/getApy.html +243 -1
- package/docs/functions/getApys.html +255 -1
- package/docs/functions/getCetusInvestorTicksMap.html +284 -1
- package/docs/functions/getCetusPool.html +270 -1
- package/docs/functions/getCetusSqrtPriceMap.html +249 -1
- package/docs/functions/getCoinAmountsFromLiquidity.html +273 -1
- package/docs/functions/getConf.html +13163 -1
- package/docs/functions/getCurrentTick.html +247 -1
- package/docs/functions/getDistributor.html +252 -1
- package/docs/functions/getDoubleAssetVaultBalance.html +268 -1
- package/docs/functions/getDoubleAssetVaults.html +253 -1
- package/docs/functions/getHoldersFromTransactions.html +299 -1
- package/docs/functions/getInvestor.html +259 -1
- package/docs/functions/getInvestorPoolMap.html +241 -1
- package/docs/functions/getLastAutoCompoundTime.html +249 -1
- package/docs/functions/getLatestPrices.html +253 -1
- package/docs/functions/getLiquidity.html +260 -1
- package/docs/functions/getMultiCetusPool.html +231 -1
- package/docs/functions/getMultiInvestor.html +231 -1
- package/docs/functions/getMultiLatestPrices.html +233 -1
- package/docs/functions/getMultiParentPool.html +231 -1
- package/docs/functions/getMultiPool.html +231 -1
- package/docs/functions/getMultiReceipts.html +243 -1
- package/docs/functions/getParentPool.html +266 -1
- package/docs/functions/getPool.html +262 -1
- package/docs/functions/getPoolExchangeRate.html +254 -1
- package/docs/functions/getPoolExchangeRateMap.html +249 -1
- package/docs/functions/getPoolsWeightDistribution.html +266 -1
- package/docs/functions/getPositionRange.html +283 -1
- package/docs/functions/getPositionRanges.html +289 -1
- package/docs/functions/getPositionTicks.html +249 -1
- package/docs/functions/getPriceToTick.html +264 -1
- package/docs/functions/getRebalanceHistories.html +269 -1
- package/docs/functions/getRebalanceHistory.html +255 -1
- package/docs/functions/getReceipts.html +268 -1
- package/docs/functions/getSingleAssetVaultBalance.html +268 -1
- package/docs/functions/getSingleAssetVaults.html +253 -1
- package/docs/functions/getSuiClient.html +247 -3
- package/docs/functions/getSuiNodeUrl.html +232 -3
- package/docs/functions/getTVLs-1.html +243 -1
- package/docs/functions/getTickSpacing.html +247 -1
- package/docs/functions/getTickToPrice.html +248 -1
- package/docs/functions/getTvls.html +259 -1
- package/docs/functions/getUserTokensFromTransactions.html +269 -1
- package/docs/functions/getUserTokensInUsdFromTransactions.html +263 -1
- package/docs/functions/getVaultBalance.html +277 -1
- package/docs/functions/getVaultBalanceForActiveUsers.html +261 -1
- package/docs/functions/getVaults.html +250 -1
- package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +261 -1
- package/docs/functions/getZapAmounts.html +323 -1
- package/docs/functions/lastAutocompoundTime.html +249 -1
- package/docs/functions/liquidityToTokens.html +253 -1
- package/docs/functions/multiLiquidityToTokens.html +271 -1
- package/docs/functions/multiTokensToUsd.html +262 -1
- package/docs/functions/multiXTokensToLiquidity.html +257 -1
- package/docs/functions/parseUserWalletData.html +243 -1
- package/docs/functions/pendingBlueRewardAmount.html +256 -1
- package/docs/functions/setCustomSuiClient.html +251 -5
- package/docs/functions/setSuiClient.html +255 -7
- package/docs/functions/setSuiNodeUrl.html +249 -5
- package/docs/functions/setWeights.html +270 -1
- package/docs/functions/withdraw.html +249 -1
- package/docs/functions/withdrawAlphaTxb.html +257 -1
- package/docs/functions/withdrawTxb.html +260 -1
- package/docs/functions/zapDepositTxb.html +300 -1
- package/docs/index.html +587 -41
- package/docs/interfaces/Coin.html +474 -12
- package/docs/interfaces/CoinPair.html +358 -3
- package/docs/interfaces/NaviVoloData.html +514 -3
- package/docs/interfaces/PoolData.html +579 -8
- package/docs/interfaces/PoolWeightDistribution.html +414 -4
- package/docs/interfaces/RebalanceHistoryType.html +652 -9
- package/docs/modules.html +1430 -198
- package/docs/types/AfterTransactionEventNode.html +305 -1
- package/docs/types/Allocator.html +321 -1
- package/docs/types/AlphaFiDoubleAssetVault.html +258 -1
- package/docs/types/AlphaFiMultiVaultBalance.html +219 -1
- package/docs/types/AlphaFiSingleAssetVault.html +244 -1
- package/docs/types/AlphaFiVault.html +214 -1
- package/docs/types/AlphaFiVaultBalance.html +220 -1
- package/docs/types/AlphaPoolType.html +383 -1
- package/docs/types/AlphaReceipt.html +220 -1
- package/docs/types/AlphaReceiptFields.html +421 -1
- package/docs/types/AlphaVaultBalance.html +245 -1
- package/docs/types/AutoBalancePoolNames.html +226 -1
- package/docs/types/AutoCompoundingEventNode.html +230 -1
- package/docs/types/BluefinInvestor.html +209 -1
- package/docs/types/BluefinPoolType.html +440 -1
- package/docs/types/BucketInvestor.html +249 -1
- package/docs/types/CetusInvestor.html +240 -1
- package/docs/types/CetusPoolType.html +433 -1
- package/docs/types/CetusSwapOptions.html +209 -1
- package/docs/types/CoinAmounts.html +216 -1
- package/docs/types/CoinName.html +293 -1
- package/docs/types/CoinType.html +294 -1
- package/docs/types/CommonInvestorFields.html +276 -1
- package/docs/types/CreatePoolOptions.html +246 -1
- package/docs/types/Distributor.html +341 -1
- package/docs/types/DoubleAssetMultiVaultBalance.html +236 -1
- package/docs/types/DoubleAssetPoolNames.html +297 -1
- package/docs/types/DoubleAssetTokenHoldings.html +232 -1
- package/docs/types/DoubleAssetVaultBalance.html +229 -1
- package/docs/types/EventCategory.html +209 -1
- package/docs/types/EventNode.html +229 -1
- package/docs/types/GetHoldersParams.html +221 -1
- package/docs/types/GetTokenHoldingsParams.html +227 -1
- package/docs/types/GetUserTokensFromTransactionsParams.html +233 -1
- package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +244 -1
- package/docs/types/GetVaultBalanceForActiveUsersParams.html +231 -1
- package/docs/types/GetVaultBalanceParams.html +217 -1
- package/docs/types/HoldingsObj.html +223 -1
- package/docs/types/Icon.html +266 -1
- package/docs/types/Investor.html +245 -1
- package/docs/types/LiquidityChangeEventNode.html +220 -1
- package/docs/types/LiquidityToTokensParams.html +255 -1
- package/docs/types/LiquidityToUsdParams.html +267 -1
- package/docs/types/LoopingDebt.html +258 -1
- package/docs/types/LoopingPoolNames.html +216 -1
- package/docs/types/LpBreakdownType.html +238 -1
- package/docs/types/MemberPoolDataType.html +276 -1
- package/docs/types/MemberType.html +269 -1
- package/docs/types/MultiGetVaultBalancesParams.html +229 -1
- package/docs/types/NaviInvestor.html +235 -1
- package/docs/types/OtherReceiptFields.html +373 -1
- package/docs/types/PoolName.html +214 -1
- package/docs/types/PoolReceipt.html +253 -1
- package/docs/types/PoolType.html +388 -1
- package/docs/types/Receipt.html +475 -1
- package/docs/types/ReceiptGQL.html +374 -1
- package/docs/types/SingleAssetMultiVaultBalance.html +232 -1
- package/docs/types/SingleAssetPoolNames.html +244 -1
- package/docs/types/SingleAssetTokenHoldings.html +228 -1
- package/docs/types/SingleAssetVaultBalance.html +223 -1
- package/docs/types/SingleGetVaultBalancesParams.html +224 -1
- package/docs/types/StrategyType.html +221 -1
- package/docs/types/SuiNetwork.html +213 -1
- package/docs/types/SwapOptions.html +248 -1
- package/docs/types/TickSpacing.html +212 -1
- package/docs/types/TotalWeightType.html +246 -1
- package/docs/types/TransactionBlockType.html +358 -1
- package/docs/types/UserPoolLiquidity.html +221 -1
- package/docs/types/UserPoolTokenHoldings.html +217 -1
- package/docs/types/UserUsdHoldings.html +223 -1
- package/docs/types/VaultBalance.html +216 -1
- package/docs/types/WithdrawV2EventNode.html +208 -1
- package/docs/variables/bluefinPoolMap.html +214 -1
- package/docs/variables/cetusPoolMap.html +214 -1
- package/docs/variables/coinsList.html +220 -1
- package/docs/variables/defunctPoolsSet.html +209 -1
- package/docs/variables/doubleAssetPoolCoinMap.html +237 -1
- package/docs/variables/eventCategories.html +210 -1
- package/docs/variables/ignoredWalletsForDailyRevenue.html +218 -1
- package/docs/variables/loopingAccountAddresses.html +219 -1
- package/docs/variables/loopingPoolCoinMap.html +233 -1
- package/docs/variables/naviAssetMap.html +215 -1
- package/docs/variables/poolIdPoolNameMap.html +218 -1
- package/docs/variables/poolInfo.html +319 -1
- package/docs/variables/singleAssetPoolCoinMap.html +229 -1
- package/docs/variables/stableCoins.html +207 -1
- package/package.json +2 -2
- package/prettier.config.js +3 -0
|
@@ -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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UEFIN-AUTOBALANCE-DEEP-BLUE": { coin1: "DEEP", coin2: "BLUE" },
|
|
74
74
|
"BLUEFIN-AUTOBALANCE-DEEP-SUI": { coin1: "DEEP", coin2: "SUI" },
|
|
75
75
|
"BLUEFIN-AUTOBALANCE-BLUE-SUI": { coin1: "BLUE", coin2: "SUI" },
|
|
76
|
+
"BLUEFIN-STSUI-BUCK": { coin1: "STSUI", coin2: "BUCK" },
|
|
77
|
+
"BLUEFIN-STSUI-MUSD": { coin1: "STSUI", coin2: "MUSD" },
|
|
76
78
|
};
|
|
77
79
|
exports.singleAssetPoolCoinMap = {
|
|
78
80
|
ALPHA: { coin: "ALPHA" },
|
|
@@ -93,6 +95,7 @@ exports.singleAssetPoolCoinMap = {
|
|
|
93
95
|
"NAVI-LOOP-USDT-USDC": { coin: "USDT" },
|
|
94
96
|
"NAVI-NS": { coin: "NS" },
|
|
95
97
|
"NAVI-NAVX": { coin: "NAVX" },
|
|
98
|
+
"NAVI-STSUI": { coin: "STSUI" },
|
|
96
99
|
};
|
|
97
100
|
exports.loopingPoolCoinMap = {
|
|
98
101
|
"NAVI-LOOP-HASUI-SUI": { supplyCoin: "HASUI", borrowCoin: "SUI" },
|
|
@@ -114,6 +117,7 @@ exports.naviAssetMap = {
|
|
|
114
117
|
AUSD: "9",
|
|
115
118
|
ETH: "11",
|
|
116
119
|
NS: "13",
|
|
120
|
+
STSUI: "20",
|
|
117
121
|
};
|
|
118
122
|
exports.cetusPoolMap = {
|
|
119
123
|
"WUSDC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].WUSDC_SUI_CETUS_POOL_ID,
|
|
@@ -149,12 +153,15 @@ exports.cetusPoolMap = {
|
|
|
149
153
|
"BLUE-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_USDC_CETUS_POOL_ID,
|
|
150
154
|
"USDC-SEND": constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SEND_CETUS_POOL_ID,
|
|
151
155
|
"WBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].WBTC_SUI_CETUS_POOL_ID,
|
|
152
|
-
|
|
156
|
+
"STSUI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].STSUI_SUI_CETUS_POOL_ID,
|
|
153
157
|
// "USDC-STSUI": conf[CONF_ENV].USDC_STSUI_CETUS_POOL_ID,
|
|
154
158
|
// "STSUI-ETH": conf[CONF_ENV].STSUI_ETH_CETUS_POOL_ID,
|
|
155
159
|
// "STSUI-WSOL": conf[CONF_ENV].STSUI_WSOL_CETUS_POOL_ID,
|
|
156
160
|
"USDC-SUIUSDT": constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SUIUSDT_CETUS_POOL_ID,
|
|
157
161
|
"BLUE-DEEP": constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_DEEP_CETUS_POOL_ID,
|
|
162
|
+
"ETH-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].ETH_SUI_CETUS_POOL_ID,
|
|
163
|
+
"WSOL-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].WSOL_SUI_CETUS_POOL_ID,
|
|
164
|
+
"MUSD-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].MUSD_SUI_CETUS_POOL_ID,
|
|
158
165
|
};
|
|
159
166
|
exports.bluefinPoolMap = {
|
|
160
167
|
"SUI-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_USDC_POOL,
|
|
@@ -173,12 +180,16 @@ exports.bluefinPoolMap = {
|
|
|
173
180
|
"WBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_WBTC_SUI_POOL,
|
|
174
181
|
"STSUI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_SUI_POOL,
|
|
175
182
|
"STSUI-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_USDC_POOL,
|
|
176
|
-
|
|
177
|
-
|
|
183
|
+
"STSUI-ETH": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_ETH_POOL,
|
|
184
|
+
"STSUI-WSOL": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_WSOL_POOL,
|
|
178
185
|
"ALPHA-STSUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_ALPHA_STSUI_POOL,
|
|
179
186
|
"SUI-ALPHA": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_ALPHA_POOL,
|
|
180
187
|
"SUIUSDT-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUIUSDT_USDC_POOL,
|
|
181
188
|
"DEEP-BLUE": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_DEEP_BLUE_POOL,
|
|
189
|
+
"SUI-ETH": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_ETH_POOL,
|
|
190
|
+
"SUI-WSOL": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_WSOL_POOL,
|
|
191
|
+
"SUI-MUSD": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_MUSD_POOL,
|
|
192
|
+
"STSUI-MUSD": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_MUSD_POOL,
|
|
182
193
|
};
|
|
183
194
|
exports.loopingAccountAddresses = {
|
|
184
195
|
"NAVI-LOOP-USDC-USDT": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDC_USDT_LOOP_ACCOUNT_ADDRESS,
|
|
@@ -187,6 +198,52 @@ exports.loopingAccountAddresses = {
|
|
|
187
198
|
"NAVI-LOOP-HASUI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_HASUI_SUI_LOOP_ACCOUNT_ADDRESS,
|
|
188
199
|
};
|
|
189
200
|
exports.poolInfo = {
|
|
201
|
+
"BLUEFIN-STSUI-MUSD": {
|
|
202
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
203
|
+
packageNumber: 6,
|
|
204
|
+
parentProtocolName: "BLUEFIN",
|
|
205
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_MUSD_POOL,
|
|
206
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_POOL,
|
|
207
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_INVESTOR,
|
|
208
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_RECEIPT_NAME,
|
|
209
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_RECEIPT,
|
|
210
|
+
assetTypes: [coins_js_1.coinsList["STSUI"].type, coins_js_1.coinsList["MUSD"].type],
|
|
211
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_POOL_AUTO_COMPOUNDING_EVENT,
|
|
212
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_POOL_REBALANCE_EVENT,
|
|
213
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_MUSD_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
214
|
+
// add strategy type
|
|
215
|
+
},
|
|
216
|
+
"BLUEFIN-STSUI-BUCK": {
|
|
217
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
218
|
+
packageNumber: 6,
|
|
219
|
+
parentProtocolName: "BLUEFIN",
|
|
220
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_BUCK_POOL,
|
|
221
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_POOL,
|
|
222
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_INVESTOR,
|
|
223
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_RECEIPT_NAME,
|
|
224
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_RECEIPT,
|
|
225
|
+
assetTypes: [coins_js_1.coinsList["STSUI"].type, constants_js_1.conf[constants_js_1.CONF_ENV].BUCK_COIN_TYPE],
|
|
226
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_POOL_AUTO_COMPOUNDING_EVENT,
|
|
227
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_POOL_REBALANCE_EVENT,
|
|
228
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_BUCK_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
229
|
+
// add strategy type
|
|
230
|
+
},
|
|
231
|
+
"NAVI-STSUI": {
|
|
232
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_3_LATEST_PACKAGE_ID,
|
|
233
|
+
packageNumber: 3,
|
|
234
|
+
parentProtocolName: "NAVI",
|
|
235
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL,
|
|
236
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_NAVI_STSUI_POOL,
|
|
237
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_INVESTOR,
|
|
238
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL_RECEIPT_NAME,
|
|
239
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL_RECEIPT,
|
|
240
|
+
assetTypes: [coins_js_1.coinsList["STSUI"].type],
|
|
241
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL_AUTO_COMPOUNDING_EVENT,
|
|
242
|
+
rebalanceEventType: undefined,
|
|
243
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_STSUI_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
244
|
+
imageUrl1: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
245
|
+
imageUrl2: "https://images.alphafi.xyz/adminweb/navi_token.svg",
|
|
246
|
+
},
|
|
190
247
|
"BLUEFIN-AUTOBALANCE-DEEP-SUI": {
|
|
191
248
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_BLUEFIN_AUTOBALANCE_LATEST_PACKAGE_ID,
|
|
192
249
|
packageNumber: 7,
|
|
@@ -328,42 +385,36 @@ exports.poolInfo = {
|
|
|
328
385
|
imageUrl1: "https://images.alphafi.xyz/adminweb/logo192.png",
|
|
329
386
|
imageUrl2: "https://images.alphafi.xyz/adminweb/stsui.svg",
|
|
330
387
|
},
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
// rebalanceEventType:
|
|
362
|
-
// conf[CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL_REBALANCE_EVENT,
|
|
363
|
-
// liquidityChangeEventType:
|
|
364
|
-
// conf[CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
365
|
-
// // add strategy type
|
|
366
|
-
// },
|
|
388
|
+
"BLUEFIN-STSUI-WSOL": {
|
|
389
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
390
|
+
packageNumber: 6,
|
|
391
|
+
parentProtocolName: "BLUEFIN",
|
|
392
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_WSOL_POOL,
|
|
393
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_POOL,
|
|
394
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_INVESTOR,
|
|
395
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_RECEIPT_NAME,
|
|
396
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_RECEIPT,
|
|
397
|
+
assetTypes: [coins_js_1.coinsList["STSUI"].type, constants_js_1.conf[constants_js_1.CONF_ENV].WSOL_COIN_TYPE],
|
|
398
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_POOL_AUTO_COMPOUNDING_EVENT,
|
|
399
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_POOL_REBALANCE_EVENT,
|
|
400
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_WSOL_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
401
|
+
// add strategy type
|
|
402
|
+
},
|
|
403
|
+
"BLUEFIN-STSUI-ETH": {
|
|
404
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
405
|
+
packageNumber: 6,
|
|
406
|
+
parentProtocolName: "BLUEFIN",
|
|
407
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_STSUI_ETH_POOL,
|
|
408
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL,
|
|
409
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_INVESTOR,
|
|
410
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_RECEIPT_NAME,
|
|
411
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_RECEIPT,
|
|
412
|
+
assetTypes: [coins_js_1.coinsList["STSUI"].type, constants_js_1.conf[constants_js_1.CONF_ENV].ETH_COIN_TYPE],
|
|
413
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL_AUTO_COMPOUNDING_EVENT,
|
|
414
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL_REBALANCE_EVENT,
|
|
415
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_STSUI_ETH_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
416
|
+
// add strategy type
|
|
417
|
+
},
|
|
367
418
|
"BLUEFIN-STSUI-USDC": {
|
|
368
419
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_STSUI_LATEST_PACKAGE_ID,
|
|
369
420
|
packageNumber: 6,
|
|
@@ -1615,5 +1666,6 @@ exports.ignoredWalletsForDailyRevenue = [
|
|
|
1615
1666
|
"0x6b3a7df97bcad34c277106fef70444fa26e2bfbcd711c9c26f824869a66bb70a",
|
|
1616
1667
|
"0xff9c536c8f78e28ad4c9f0d916ea98980c3c3be32b91461eaa8fbd6ac0b737aa",
|
|
1617
1668
|
"0x6a498c57c18306e0af942442a5d20e5b2940939b4937ed52f4b17e3fa99972f5",
|
|
1669
|
+
"0xbdaee7c803e5db14b6571d78d05e152057b72bace936566b8403b760d5d228e8",
|
|
1618
1670
|
];
|
|
1619
1671
|
//# sourceMappingURL=maps.js.map
|