@alphafi/alphafi-sdk 0.0.39 → 0.0.40
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/adminFunctions.d.ts.map +1 -1
- package/dist/cjs/adminFunctions.js +9 -1
- package/dist/cjs/adminFunctions.js.map +1 -1
- package/dist/cjs/common/coins.d.ts.map +1 -1
- package/dist/cjs/common/coins.js +12 -0
- package/dist/cjs/common/coins.js.map +1 -1
- package/dist/cjs/common/constants.d.ts +135 -0
- package/dist/cjs/common/constants.d.ts.map +1 -1
- package/dist/cjs/common/constants.js +98 -7
- 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 +103 -16
- package/dist/cjs/common/maps.js.map +1 -1
- package/dist/cjs/common/types.d.ts +58 -5
- package/dist/cjs/common/types.d.ts.map +1 -1
- package/dist/cjs/common/types.js.map +1 -1
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +9 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.js +2 -3
- package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.js.map +1 -1
- package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js +5 -11
- package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +2 -2
- package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.js +1 -1
- package/dist/cjs/sui-sdk/functions/getReceipts.js.map +1 -1
- package/dist/cjs/transactions/bluefin.d.ts +6 -0
- package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
- package/dist/cjs/transactions/bluefin.js +411 -34
- package/dist/cjs/transactions/bluefin.js.map +1 -1
- package/dist/cjs/transactions/cetus.d.ts +1 -1
- package/dist/cjs/transactions/cetus.d.ts.map +1 -1
- package/dist/cjs/transactions/cetus.js +3 -3
- package/dist/cjs/transactions/cetus.js.map +1 -1
- package/dist/cjs/transactions/deposit.d.ts.map +1 -1
- package/dist/cjs/transactions/deposit.js +9 -1
- package/dist/cjs/transactions/deposit.js.map +1 -1
- package/dist/cjs/transactions/withdraw.d.ts.map +1 -1
- package/dist/cjs/transactions/withdraw.js +9 -1
- package/dist/cjs/transactions/withdraw.js.map +1 -1
- package/dist/esm/adminFunctions.d.ts.map +1 -1
- package/dist/esm/adminFunctions.js +10 -2
- package/dist/esm/adminFunctions.js.map +1 -1
- package/dist/esm/common/coins.d.ts.map +1 -1
- package/dist/esm/common/coins.js +12 -0
- package/dist/esm/common/coins.js.map +1 -1
- package/dist/esm/common/constants.d.ts +135 -0
- package/dist/esm/common/constants.d.ts.map +1 -1
- package/dist/esm/common/constants.js +98 -7
- 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 +103 -16
- package/dist/esm/common/maps.js.map +1 -1
- package/dist/esm/common/types.d.ts +58 -5
- package/dist/esm/common/types.d.ts.map +1 -1
- package/dist/esm/common/types.js.map +1 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.d.ts.map +1 -1
- package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.js +2 -3
- package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.js.map +1 -1
- package/dist/esm/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
- package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js +5 -11
- package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts +2 -2
- package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.js +1 -1
- package/dist/esm/sui-sdk/functions/getReceipts.js.map +1 -1
- package/dist/esm/transactions/bluefin.d.ts +6 -0
- package/dist/esm/transactions/bluefin.d.ts.map +1 -1
- package/dist/esm/transactions/bluefin.js +408 -33
- package/dist/esm/transactions/bluefin.js.map +1 -1
- package/dist/esm/transactions/cetus.d.ts +1 -1
- package/dist/esm/transactions/cetus.d.ts.map +1 -1
- package/dist/esm/transactions/cetus.js +3 -3
- package/dist/esm/transactions/cetus.js.map +1 -1
- package/dist/esm/transactions/deposit.d.ts.map +1 -1
- package/dist/esm/transactions/deposit.js +10 -2
- package/dist/esm/transactions/deposit.js.map +1 -1
- package/dist/esm/transactions/withdraw.d.ts.map +1 -1
- package/dist/esm/transactions/withdraw.js +10 -2
- package/dist/esm/transactions/withdraw.js.map +1 -1
- package/docs/assets/highlight.css +101 -0
- package/docs/assets/icons.js +21 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +2218 -0
- package/docs/assets/navigation.js +2 -0
- package/docs/assets/search.js +2 -0
- package/docs/assets/style.css +1489 -0
- package/docs/functions/alphaLpBreakdown.html +253 -0
- package/docs/functions/bucketDepositTx.html +267 -0
- package/docs/functions/bucketWithdrawTx.html +267 -0
- package/docs/functions/cetusLpBreakdown.html +253 -0
- package/docs/functions/claimRewardTxb.html +243 -0
- package/docs/functions/coinAmountToXTokensDoubleAsset.html +267 -0
- package/docs/functions/coinAmountToXTokensSingleAsset.html +260 -0
- package/docs/functions/coinsInPool.html +438 -0
- package/docs/functions/collectRewards.html +242 -0
- package/docs/functions/deposit.html +246 -0
- package/docs/functions/depositAlphaTxb.html +250 -0
- package/docs/functions/depositBluefinSuiFirstTxb.html +302 -0
- package/docs/functions/depositBluefinType1Txb.html +300 -0
- package/docs/functions/depositBluefinType2Txb.html +300 -0
- package/docs/functions/depositCetusAlphaSuiTxb.html +300 -0
- package/docs/functions/depositCetusSuiTxb.html +298 -0
- package/docs/functions/depositCetusTxb.html +298 -0
- package/docs/functions/depositDoubleAssetTxb.html +270 -0
- package/docs/functions/depositSingleAssetTxb.html +263 -0
- package/docs/functions/fetchAfterTransactionEvents.html +306 -0
- package/docs/functions/fetchAutoCompoundingEvents.html +257 -0
- package/docs/functions/fetchAutoCompoundingEventsGql.html +251 -0
- package/docs/functions/fetchCetusPools.html +231 -0
- package/docs/functions/fetchChainIdentifier.html +233 -0
- package/docs/functions/fetchCheckRatioEvents.html +249 -0
- package/docs/functions/fetchLiquidityChangeEvents.html +257 -0
- package/docs/functions/fetchMultiReceipts.html +261 -0
- package/docs/functions/fetchNftHolders.html +233 -0
- package/docs/functions/fetchPools.html +230 -0
- package/docs/functions/fetchPortfolioData.html +243 -0
- package/docs/functions/fetchProtocolData.html +231 -0
- package/docs/functions/fetchTVL.html +253 -0
- package/docs/functions/fetchUserVaultBalances.html +245 -0
- package/docs/functions/fetchUserVaults.html +243 -0
- package/docs/functions/fetchUserWalletData.html +243 -0
- package/docs/functions/fetchWithdrawV2Events.html +255 -0
- package/docs/functions/getAirdropShare.html +243 -0
- package/docs/functions/getAllDoubleAssetVaults.html +235 -0
- package/docs/functions/getAllSingleAssetVaults.html +235 -0
- package/docs/functions/getAllVaultBalances.html +265 -0
- package/docs/functions/getAllVaults.html +233 -0
- package/docs/functions/getAlphaUnlocks.html +245 -0
- package/docs/functions/getAlphaVaultBalance.html +255 -0
- package/docs/functions/getAmounts.html +272 -0
- package/docs/functions/getApr.html +243 -0
- package/docs/functions/getAprs.html +255 -0
- package/docs/functions/getApy.html +243 -0
- package/docs/functions/getApys.html +255 -0
- package/docs/functions/getCetusInvestorTicksMap.html +284 -0
- package/docs/functions/getCetusSqrtPriceMap.html +249 -0
- package/docs/functions/getCoinAmountsFromLiquidity.html +266 -0
- package/docs/functions/getConf.html +9882 -0
- package/docs/functions/getCurrentTick.html +247 -0
- package/docs/functions/getDoubleAssetVaultBalance.html +268 -0
- package/docs/functions/getDoubleAssetVaults.html +253 -0
- package/docs/functions/getHoldersFromTransactions.html +299 -0
- package/docs/functions/getInvestor.html +259 -0
- package/docs/functions/getInvestorPoolMap.html +241 -0
- package/docs/functions/getLastAutoCompoundTime.html +249 -0
- package/docs/functions/getLiquidity.html +260 -0
- package/docs/functions/getParentPool.html +256 -0
- package/docs/functions/getPool.html +262 -0
- package/docs/functions/getPoolExchangeRateMap.html +249 -0
- package/docs/functions/getPositionTicks.html +249 -0
- package/docs/functions/getPriceToTick.html +254 -0
- package/docs/functions/getRebalanceHistories.html +269 -0
- package/docs/functions/getRebalanceHistory.html +255 -0
- package/docs/functions/getReceipts.html +268 -0
- package/docs/functions/getSingleAssetVaultBalance.html +268 -0
- package/docs/functions/getSingleAssetVaults.html +253 -0
- package/docs/functions/getSuiClient.html +247 -0
- package/docs/functions/getSuiNodeUrl.html +232 -0
- package/docs/functions/getTVLs.html +243 -0
- package/docs/functions/getTickToPrice.html +254 -0
- package/docs/functions/getUserTokensFromTransactions.html +269 -0
- package/docs/functions/getUserTokensInUsdFromTransactions.html +263 -0
- package/docs/functions/getVaultBalance.html +277 -0
- package/docs/functions/getVaultBalanceForActiveUsers.html +261 -0
- package/docs/functions/getVaults.html +250 -0
- package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +261 -0
- package/docs/functions/lastAutocompoundTime.html +249 -0
- package/docs/functions/liquidityToTokens.html +253 -0
- package/docs/functions/loopingDeposit.html +277 -0
- package/docs/functions/loopingWithdraw.html +278 -0
- package/docs/functions/multiLiquidityToTokens.html +271 -0
- package/docs/functions/multiTokensToUsd.html +262 -0
- package/docs/functions/multiXTokensToLiquidity.html +257 -0
- package/docs/functions/naviDepositTx.html +278 -0
- package/docs/functions/naviHasuiSuiLoopDepositTx.html +271 -0
- package/docs/functions/naviHasuiSuiLoopWithdrawTx.html +271 -0
- package/docs/functions/naviSuiVsuiLoopDepositTx.html +271 -0
- package/docs/functions/naviSuiVsuiLoopWithdrawTx.html +271 -0
- package/docs/functions/naviUsdcUsdtLoopDepositTx.html +271 -0
- package/docs/functions/naviUsdcUsdtLoopWithdrawTx.html +271 -0
- package/docs/functions/naviUsdtUsdcLoopDepositTx.html +271 -0
- package/docs/functions/naviUsdtUsdcLoopWithdrawTx.html +271 -0
- package/docs/functions/naviWithdrawTx.html +278 -0
- package/docs/functions/parseUserWalletData.html +243 -0
- package/docs/functions/setSuiClient.html +255 -0
- package/docs/functions/setSuiNodeUrl.html +249 -0
- package/docs/functions/withdraw.html +249 -0
- package/docs/functions/withdrawAlphaTxb.html +257 -0
- package/docs/functions/withdrawBluefinSuiFirstTxb.html +282 -0
- package/docs/functions/withdrawBluefinType1Txb.html +280 -0
- package/docs/functions/withdrawBluefinType2Txb.html +280 -0
- package/docs/functions/withdrawCetusAlphaSuiTxb.html +282 -0
- package/docs/functions/withdrawCetusSuiTxb.html +278 -0
- package/docs/functions/withdrawCetusTxb.html +278 -0
- package/docs/functions/withdrawTxb.html +260 -0
- package/docs/index.html +622 -0
- package/docs/interfaces/Coin.html +474 -0
- package/docs/interfaces/CoinPair.html +358 -0
- package/docs/interfaces/NaviVoloData.html +514 -0
- package/docs/interfaces/RebalanceHistoryType.html +652 -0
- package/docs/modules.html +1440 -0
- package/docs/types/AfterTransactionEventNode.html +305 -0
- package/docs/types/Allocator.html +321 -0
- package/docs/types/AlphaFiDoubleAssetVault.html +258 -0
- package/docs/types/AlphaFiMultiVaultBalance.html +219 -0
- package/docs/types/AlphaFiSingleAssetVault.html +244 -0
- package/docs/types/AlphaFiVault.html +214 -0
- package/docs/types/AlphaFiVaultBalance.html +220 -0
- package/docs/types/AlphaPoolType.html +383 -0
- package/docs/types/AlphaReceipt.html +220 -0
- package/docs/types/AlphaReceiptFields.html +421 -0
- package/docs/types/AlphaVaultBalance.html +245 -0
- package/docs/types/AutoCompoundingEventNode.html +225 -0
- package/docs/types/BluefinInvestor.html +209 -0
- package/docs/types/BluefinPoolType.html +209 -0
- package/docs/types/BucketInvestor.html +249 -0
- package/docs/types/CetusInvestor.html +240 -0
- package/docs/types/CetusPoolType.html +433 -0
- package/docs/types/CetusSwapOptions.html +209 -0
- package/docs/types/CoinAmounts.html +216 -0
- package/docs/types/CoinName.html +281 -0
- package/docs/types/CoinType.html +282 -0
- package/docs/types/CommonInvestorFields.html +276 -0
- package/docs/types/CreatePoolOptions.html +246 -0
- package/docs/types/Distributor.html +341 -0
- package/docs/types/DoubleAssetMultiVaultBalance.html +236 -0
- package/docs/types/DoubleAssetPoolNames.html +267 -0
- package/docs/types/DoubleAssetTokenHoldings.html +232 -0
- package/docs/types/DoubleAssetVaultBalance.html +229 -0
- package/docs/types/GetHoldersParams.html +221 -0
- package/docs/types/GetTokenHoldingsParams.html +227 -0
- package/docs/types/GetUserTokensFromTransactionsParams.html +233 -0
- package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +244 -0
- package/docs/types/GetVaultBalanceForActiveUsersParams.html +231 -0
- package/docs/types/GetVaultBalanceParams.html +217 -0
- package/docs/types/HoldingsObj.html +223 -0
- package/docs/types/Icon.html +266 -0
- package/docs/types/Investor.html +245 -0
- package/docs/types/LiquidityChangeEventNode.html +220 -0
- package/docs/types/LiquidityToTokensParams.html +255 -0
- package/docs/types/LiquidityToUsdParams.html +267 -0
- package/docs/types/LoopingDebt.html +258 -0
- package/docs/types/LpBreakdownType.html +238 -0
- package/docs/types/MemberPoolDataType.html +276 -0
- package/docs/types/MemberType.html +269 -0
- package/docs/types/MultiGetVaultBalancesParams.html +229 -0
- package/docs/types/NaviInvestor.html +235 -0
- package/docs/types/OtherReceiptFields.html +373 -0
- package/docs/types/PoolName.html +304 -0
- package/docs/types/PoolReceipt.html +253 -0
- package/docs/types/PoolType.html +388 -0
- package/docs/types/Receipt.html +475 -0
- package/docs/types/ReceiptGQL.html +374 -0
- package/docs/types/SingleAssetMultiVaultBalance.html +232 -0
- package/docs/types/SingleAssetPoolNames.html +247 -0
- package/docs/types/SingleAssetTokenHoldings.html +228 -0
- package/docs/types/SingleAssetVaultBalance.html +223 -0
- package/docs/types/SingleGetVaultBalancesParams.html +224 -0
- package/docs/types/StrategyType.html +217 -0
- package/docs/types/SuiNetwork.html +213 -0
- package/docs/types/SwapOptions.html +248 -0
- package/docs/types/TickSpacing.html +212 -0
- package/docs/types/TotalWeightType.html +246 -0
- package/docs/types/TransactionBlockType.html +358 -0
- package/docs/types/UserPoolLiquidity.html +221 -0
- package/docs/types/UserPoolTokenHoldings.html +217 -0
- package/docs/types/UserUsdHoldings.html +223 -0
- package/docs/types/VaultBalance.html +216 -0
- package/docs/types/WithdrawV2EventNode.html +208 -0
- package/docs/variables/bluefinPoolMap.html +214 -0
- package/docs/variables/cetusPoolMap.html +214 -0
- package/docs/variables/coinsList.html +220 -0
- package/docs/variables/defunctPoolsSet.html +209 -0
- package/docs/variables/doubleAssetPoolCoinMap.html +237 -0
- package/docs/variables/loopingAccountAddresses.html +219 -0
- package/docs/variables/loopingPoolCoinMap.html +233 -0
- package/docs/variables/naviAssetMap.html +215 -0
- package/docs/variables/poolIdPoolNameMap.html +218 -0
- package/docs/variables/poolInfo.html +304 -0
- package/docs/variables/singleAssetPoolCoinMap.html +229 -0
- package/docs/variables/stableCoins.html +207 -0
- package/package.json +1 -1
|
@@ -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,UASvB,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.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AC,CAAC,CAwE7E;AAID,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAG3E;AAID,wBAAsB,wBAAwB,IAAI,OAAO,CAAC;KACvD,IAAI,IAAI,QAAQ,CAAC,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;CACtD,CAAC,CAGD;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"}
|
package/dist/cjs/common/maps.js
CHANGED
|
@@ -55,6 +55,11 @@ exports.doubleAssetPoolCoinMap = {
|
|
|
55
55
|
"BLUEFIN-ALPHA-USDC": { coin1: "ALPHA", coin2: "USDC" },
|
|
56
56
|
"BLUEFIN-WBTC-USDC": { coin1: "WBTC", coin2: "USDC" },
|
|
57
57
|
"BLUEFIN-NAVX-VSUI": { coin1: "NAVX", coin2: "VSUI" },
|
|
58
|
+
"BLUEFIN-BLUE-SUI": { coin1: "BLUE", coin2: "SUI" },
|
|
59
|
+
"BLUEFIN-BLUE-USDC": { coin1: "BLUE", coin2: "USDC" },
|
|
60
|
+
"BLUEFIN-SEND-USDC": { coin1: "SEND", coin2: "USDC" },
|
|
61
|
+
"BLUEFIN-WBTC-SUI": { coin1: "WBTC", coin2: "SUI" },
|
|
62
|
+
"BLUEFIN-DEEP-SUI": { coin1: "DEEP", coin2: "SUI" },
|
|
58
63
|
};
|
|
59
64
|
exports.singleAssetPoolCoinMap = {
|
|
60
65
|
ALPHA: { coin: "ALPHA" },
|
|
@@ -127,6 +132,10 @@ exports.cetusPoolMap = {
|
|
|
127
132
|
"AUSD-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].AUSD_SUI_CETUS_POOL_ID,
|
|
128
133
|
"USDC-WBTC": constants_js_1.conf[constants_js_1.CONF_ENV].USDC_WBTC_CETUS_POOL_ID,
|
|
129
134
|
"NAVX-VSUI": constants_js_1.conf[constants_js_1.CONF_ENV].NAVX_VSUI_CETUS_POOL_ID,
|
|
135
|
+
"BLUE-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_SUI_CETUS_POOL_ID,
|
|
136
|
+
"BLUE-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_USDC_CETUS_POOL_ID,
|
|
137
|
+
"USDC-SEND": constants_js_1.conf[constants_js_1.CONF_ENV].USDC_SEND_CETUS_POOL_ID,
|
|
138
|
+
"WBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].WBTC_SUI_CETUS_POOL_ID,
|
|
130
139
|
};
|
|
131
140
|
exports.bluefinPoolMap = {
|
|
132
141
|
"SUI-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SUI_USDC_POOL,
|
|
@@ -138,6 +147,11 @@ exports.bluefinPoolMap = {
|
|
|
138
147
|
"ALPHA-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_ALPHA_USDC_POOL,
|
|
139
148
|
"WBTC-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_WBTC_USDC_POOL,
|
|
140
149
|
"NAVX-VSUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_NAVX_VSUI_POOL,
|
|
150
|
+
"BLUE-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_BLUE_SUI_POOL,
|
|
151
|
+
"BLUE-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_BLUE_USDC_POOL,
|
|
152
|
+
"BLUE-SUI-AUTOCOMPOUND": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_BLUE_SUI_POOL_AUTOCOMPOUND,
|
|
153
|
+
"SEND-USDC": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SEND_USDC_POOL,
|
|
154
|
+
"WBTC-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_WBTC_SUI_POOL,
|
|
141
155
|
};
|
|
142
156
|
exports.loopingAccountAddresses = {
|
|
143
157
|
"NAVI-LOOP-USDC-USDT": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_USDC_USDT_LOOP_ACCOUNT_ADDRESS,
|
|
@@ -146,22 +160,95 @@ exports.loopingAccountAddresses = {
|
|
|
146
160
|
"NAVI-LOOP-HASUI-SUI": constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_HASUI_SUI_LOOP_ACCOUNT_ADDRESS,
|
|
147
161
|
};
|
|
148
162
|
exports.poolInfo = {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
163
|
+
"BLUEFIN-DEEP-SUI": {
|
|
164
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
165
|
+
packageNumber: 4,
|
|
166
|
+
parentProtocolName: "BLUEFIN",
|
|
167
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_DEEP_SUI_POOL,
|
|
168
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_POOL,
|
|
169
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_INVESTOR,
|
|
170
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_RECEIPT_NAME,
|
|
171
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_RECEIPT,
|
|
172
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].DEEP_COIN_TYPE, constants_js_1.conf[constants_js_1.CONF_ENV].SUI_COIN_TYPE],
|
|
173
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_POOL_AUTO_COMPOUNDING_EVENT,
|
|
174
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_POOL_REBALANCE_EVENT,
|
|
175
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_DEEP_SUI_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
176
|
+
// add strategy type
|
|
177
|
+
},
|
|
178
|
+
"BLUEFIN-WBTC-SUI": {
|
|
179
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
180
|
+
packageNumber: 4,
|
|
181
|
+
parentProtocolName: "BLUEFIN",
|
|
182
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_WBTC_SUI_POOL,
|
|
183
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_POOL,
|
|
184
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_INVESTOR,
|
|
185
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_RECEIPT_NAME,
|
|
186
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_RECEIPT,
|
|
187
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].WBTC_COIN_TYPE, constants_js_1.conf[constants_js_1.CONF_ENV].SUI_COIN_TYPE],
|
|
188
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_POOL_AUTO_COMPOUNDING_EVENT,
|
|
189
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_POOL_REBALANCE_EVENT,
|
|
190
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_WBTC_SUI_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
191
|
+
// add strategy type
|
|
192
|
+
},
|
|
193
|
+
"BLUEFIN-SEND-USDC": {
|
|
194
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
195
|
+
packageNumber: 4,
|
|
196
|
+
parentProtocolName: "BLUEFIN",
|
|
197
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_SEND_USDC_POOL,
|
|
198
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_POOL,
|
|
199
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_INVESTOR,
|
|
200
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_RECEIPT_NAME,
|
|
201
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_RECEIPT,
|
|
202
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].SEND_COIN_TYPE, constants_js_1.conf[constants_js_1.CONF_ENV].USDC_COIN_TYPE],
|
|
203
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_POOL_AUTO_COMPOUNDING_EVENT,
|
|
204
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_POOL_REBALANCE_EVENT,
|
|
205
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_SEND_USDC_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
206
|
+
// add strategy type
|
|
207
|
+
},
|
|
208
|
+
"BLUEFIN-BLUE-SUI": {
|
|
209
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
210
|
+
packageNumber: 4,
|
|
211
|
+
parentProtocolName: "BLUEFIN",
|
|
212
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_BLUE_SUI_POOL,
|
|
213
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_POOL,
|
|
214
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_INVESTOR,
|
|
215
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_RECEIPT_NAME,
|
|
216
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_RECEIPT,
|
|
217
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_COIN_TYPE, constants_js_1.conf[constants_js_1.CONF_ENV].SUI_COIN_TYPE],
|
|
218
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_POOL_AUTO_COMPOUNDING_EVENT,
|
|
219
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_POOL_REBALANCE_EVENT,
|
|
220
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_SUI_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
221
|
+
// add strategy type
|
|
222
|
+
},
|
|
223
|
+
"BLUEFIN-BLUE-USDC": {
|
|
224
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
225
|
+
packageNumber: 4,
|
|
226
|
+
parentProtocolName: "BLUEFIN",
|
|
227
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].BLUEFIN_BLUE_USDC_POOL,
|
|
228
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_POOL,
|
|
229
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_INVESTOR,
|
|
230
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_RECEIPT_NAME,
|
|
231
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_RECEIPT,
|
|
232
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].BLUE_COIN_TYPE, constants_js_1.conf[constants_js_1.CONF_ENV].USDC_COIN_TYPE],
|
|
233
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_POOL_AUTO_COMPOUNDING_EVENT,
|
|
234
|
+
rebalanceEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_POOL_REBALANCE_EVENT,
|
|
235
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_BLUEFIN_BLUE_USDC_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
236
|
+
// add strategy type
|
|
237
|
+
},
|
|
238
|
+
"NAVI-NAVX": {
|
|
239
|
+
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_3_LATEST_PACKAGE_ID,
|
|
240
|
+
packageNumber: 3,
|
|
241
|
+
parentProtocolName: "NAVI",
|
|
242
|
+
parentPoolId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_POOL,
|
|
243
|
+
poolId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHAFI_NAVI_NAVX_POOL,
|
|
244
|
+
investorId: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_INVESTOR,
|
|
245
|
+
receiptName: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_POOL_RECEIPT_NAME,
|
|
246
|
+
receiptType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_POOL_RECEIPT,
|
|
247
|
+
assetTypes: [constants_js_1.conf[constants_js_1.CONF_ENV].NAVX_COIN_TYPE],
|
|
248
|
+
autoCompoundingEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_POOL_AUTO_COMPOUNDING_EVENT,
|
|
249
|
+
rebalanceEventType: undefined,
|
|
250
|
+
liquidityChangeEventType: constants_js_1.conf[constants_js_1.CONF_ENV].NAVI_NAVX_POOL_LIQUIDITY_CHANGE_EVENT,
|
|
251
|
+
},
|
|
165
252
|
"BLUEFIN-NAVX-VSUI": {
|
|
166
253
|
packageId: constants_js_1.conf[constants_js_1.CONF_ENV].ALPHA_4_LATEST_PACKAGE_ID,
|
|
167
254
|
packageNumber: 4,
|