@t2000/sdk 1.27.0 → 1.27.1

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/index.d.cts CHANGED
@@ -758,6 +758,29 @@ interface AppenderResult<TPreview extends StepPreview> {
758
758
  outputCoin?: TransactionObjectArgument;
759
759
  }
760
760
  type AppenderFn<TInput, TPreview extends StepPreview> = (tx: Transaction, input: TInput, ctx: AppenderContext) => Promise<AppenderResult<TPreview>>;
761
+ /**
762
+ * Cetus provider exclusion list for sponsored flows. Mirrors the
763
+ * audric host's `SPONSORED_TX_PROVIDERS` constant — these 7 providers
764
+ * reference `tx.gas` for Pyth oracle fee payments, which Enoki rejects.
765
+ *
766
+ * NOTE: keeping this hardcoded means `findSwapRoute` doesn't need a
767
+ * dependency on `@cetusprotocol/aggregator-sdk`'s `getProvidersExcluding`
768
+ * helper — composeTx forwards the literal list to Cetus, Cetus does the
769
+ * inverse lookup. Result is identical.
770
+ */
771
+ declare const SPONSORED_PYTH_DEPENDENT_PROVIDERS: readonly ["HAEDALPMM", "METASTABLE", "OBRIC", "STEAMM_OMM", "STEAMM_OMM_V2", "SEVENK", "HAEDALHMMV2"];
772
+ /**
773
+ * Get all eligible Cetus provider names except the Pyth-dependent ones,
774
+ * for sponsored swap context. Computed from the Cetus SDK's
775
+ * `getAllProviders()` minus the exclusion list.
776
+ *
777
+ * [Bug A fix / 2026-05-10] Exported so the engine's `swap_quote` tool can
778
+ * call this when discovering routes for sponsored hosts. Previously the
779
+ * engine only exclude these providers at COMPOSE time; now it excludes
780
+ * at QUOTE time too, so the precomputed route stashed on
781
+ * `pending_action.cetusRoute` is always sponsor-safe.
782
+ */
783
+ declare function getSponsoredSwapProviders(): Promise<string[]>;
761
784
  /**
762
785
  * The typed registry. Each entry is a wallet-mode dispatcher that takes
763
786
  * (tx, input, ctx) and returns a per-step preview. Compile-time check
@@ -1079,6 +1102,28 @@ declare function getSwapQuote(params: {
1079
1102
  to: string;
1080
1103
  amount: number;
1081
1104
  byAmountIn?: boolean;
1105
+ /**
1106
+ * [Bug A fix / 2026-05-10] Optional Cetus provider allow-list, forwarded to
1107
+ * `findSwapRoute`. Sponsored callers (Enoki) MUST pass
1108
+ * `getSponsoredSwapProviders()` to remove Pyth-dependent providers
1109
+ * (HAEDALPMM, METASTABLE, OBRIC, STEAMM_OMM/_V2, SEVENK, HAEDALHMMV2).
1110
+ * Those providers cause the Cetus aggregator's internal `routerSwap` to
1111
+ * insert a `tx.splitCoins(tx.gas, ...)` call for the Pyth update fee,
1112
+ * which Enoki rejects with HTTP 400 "Cannot use GasCoin as a transaction
1113
+ * argument" (3-step bundle smoke 2026-05-10).
1114
+ *
1115
+ * Pre-fix: `getSwapQuote` discovered routes against the FULL provider set,
1116
+ * stashed Pyth-dependent routes onto `pending_action.cetusRoute` (SPEC
1117
+ * 20.2 fast-path), and the audric `prepare` route's `swap_execute`
1118
+ * appender used the precomputed route AS-IS — bypassing the providers
1119
+ * filter that `composeTx` correctly applied. Result: every swap whose
1120
+ * best route happened to include a Pyth-dependent provider failed at
1121
+ * Enoki sponsorship.
1122
+ *
1123
+ * Non-sponsored callers (e.g. CLI direct swap) leave this undefined to
1124
+ * keep access to the full provider set including Pyth-dependent pools.
1125
+ */
1126
+ providers?: string[];
1082
1127
  }): Promise<SwapQuoteResult>;
1083
1128
 
1084
1129
  /**
@@ -1310,4 +1355,4 @@ declare function fullHandle(label: string): string;
1310
1355
  */
1311
1356
  declare function displayHandle(label: string): string;
1312
1357
 
1313
- export { AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type AppenderContext, BalanceResponse, type BorrowInput, BorrowResult, type BuildAddLeafParams, type BuildHarvestRewardsTxOptions, type BuildRevokeLeafParams, type ClaimRewardsInput, ClaimRewardsResult, type CoinPage, type ComposeTxFeeHookContext, type ComposeTxFeeHooks, type ComposeTxOptions, type ComposeTxResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, type HarvestPlan, type HarvestSkippedLeg, type HarvestSwapLeg, HealthFactorResult, type LabelValidationResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, type RepayDebtInput, RepayResult, SafeguardConfig, SafeguardEnforcer, type SaveDepositInput, SaveResult, type SelectAndSplitResult, SendResult, type SendTransferInput, StakeVSuiResult, type StepPreview, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStakeInput, type VoloStats, type VoloUnstakeInput, WRITE_APPENDER_REGISTRY, type WithdrawInput, WithdrawResult, type WriteStep, type WriteToolName, ZkLoginProof, addClaimRewardsToTx, addSendToTx, addStakeVSuiToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildUnstakeVSuiTx, composeTx, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fetchAllCoins, fullHandle, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, selectAndSplitCoin, selectSuiCoin, validateLabel, walletExists };
1358
+ export { AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type AppenderContext, BalanceResponse, type BorrowInput, BorrowResult, type BuildAddLeafParams, type BuildHarvestRewardsTxOptions, type BuildRevokeLeafParams, type ClaimRewardsInput, ClaimRewardsResult, type CoinPage, type ComposeTxFeeHookContext, type ComposeTxFeeHooks, type ComposeTxOptions, type ComposeTxResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, type HarvestPlan, type HarvestSkippedLeg, type HarvestSwapLeg, HealthFactorResult, type LabelValidationResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, type RepayDebtInput, RepayResult, SPONSORED_PYTH_DEPENDENT_PROVIDERS, SafeguardConfig, SafeguardEnforcer, type SaveDepositInput, SaveResult, type SelectAndSplitResult, SendResult, type SendTransferInput, StakeVSuiResult, type StepPreview, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStakeInput, type VoloStats, type VoloUnstakeInput, WRITE_APPENDER_REGISTRY, type WithdrawInput, WithdrawResult, type WriteStep, type WriteToolName, ZkLoginProof, addClaimRewardsToTx, addSendToTx, addStakeVSuiToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildUnstakeVSuiTx, composeTx, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fetchAllCoins, fullHandle, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSponsoredSwapProviders, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, selectAndSplitCoin, selectSuiCoin, validateLabel, walletExists };
package/dist/index.d.ts CHANGED
@@ -758,6 +758,29 @@ interface AppenderResult<TPreview extends StepPreview> {
758
758
  outputCoin?: TransactionObjectArgument;
759
759
  }
760
760
  type AppenderFn<TInput, TPreview extends StepPreview> = (tx: Transaction, input: TInput, ctx: AppenderContext) => Promise<AppenderResult<TPreview>>;
761
+ /**
762
+ * Cetus provider exclusion list for sponsored flows. Mirrors the
763
+ * audric host's `SPONSORED_TX_PROVIDERS` constant — these 7 providers
764
+ * reference `tx.gas` for Pyth oracle fee payments, which Enoki rejects.
765
+ *
766
+ * NOTE: keeping this hardcoded means `findSwapRoute` doesn't need a
767
+ * dependency on `@cetusprotocol/aggregator-sdk`'s `getProvidersExcluding`
768
+ * helper — composeTx forwards the literal list to Cetus, Cetus does the
769
+ * inverse lookup. Result is identical.
770
+ */
771
+ declare const SPONSORED_PYTH_DEPENDENT_PROVIDERS: readonly ["HAEDALPMM", "METASTABLE", "OBRIC", "STEAMM_OMM", "STEAMM_OMM_V2", "SEVENK", "HAEDALHMMV2"];
772
+ /**
773
+ * Get all eligible Cetus provider names except the Pyth-dependent ones,
774
+ * for sponsored swap context. Computed from the Cetus SDK's
775
+ * `getAllProviders()` minus the exclusion list.
776
+ *
777
+ * [Bug A fix / 2026-05-10] Exported so the engine's `swap_quote` tool can
778
+ * call this when discovering routes for sponsored hosts. Previously the
779
+ * engine only exclude these providers at COMPOSE time; now it excludes
780
+ * at QUOTE time too, so the precomputed route stashed on
781
+ * `pending_action.cetusRoute` is always sponsor-safe.
782
+ */
783
+ declare function getSponsoredSwapProviders(): Promise<string[]>;
761
784
  /**
762
785
  * The typed registry. Each entry is a wallet-mode dispatcher that takes
763
786
  * (tx, input, ctx) and returns a per-step preview. Compile-time check
@@ -1079,6 +1102,28 @@ declare function getSwapQuote(params: {
1079
1102
  to: string;
1080
1103
  amount: number;
1081
1104
  byAmountIn?: boolean;
1105
+ /**
1106
+ * [Bug A fix / 2026-05-10] Optional Cetus provider allow-list, forwarded to
1107
+ * `findSwapRoute`. Sponsored callers (Enoki) MUST pass
1108
+ * `getSponsoredSwapProviders()` to remove Pyth-dependent providers
1109
+ * (HAEDALPMM, METASTABLE, OBRIC, STEAMM_OMM/_V2, SEVENK, HAEDALHMMV2).
1110
+ * Those providers cause the Cetus aggregator's internal `routerSwap` to
1111
+ * insert a `tx.splitCoins(tx.gas, ...)` call for the Pyth update fee,
1112
+ * which Enoki rejects with HTTP 400 "Cannot use GasCoin as a transaction
1113
+ * argument" (3-step bundle smoke 2026-05-10).
1114
+ *
1115
+ * Pre-fix: `getSwapQuote` discovered routes against the FULL provider set,
1116
+ * stashed Pyth-dependent routes onto `pending_action.cetusRoute` (SPEC
1117
+ * 20.2 fast-path), and the audric `prepare` route's `swap_execute`
1118
+ * appender used the precomputed route AS-IS — bypassing the providers
1119
+ * filter that `composeTx` correctly applied. Result: every swap whose
1120
+ * best route happened to include a Pyth-dependent provider failed at
1121
+ * Enoki sponsorship.
1122
+ *
1123
+ * Non-sponsored callers (e.g. CLI direct swap) leave this undefined to
1124
+ * keep access to the full provider set including Pyth-dependent pools.
1125
+ */
1126
+ providers?: string[];
1082
1127
  }): Promise<SwapQuoteResult>;
1083
1128
 
1084
1129
  /**
@@ -1310,4 +1355,4 @@ declare function fullHandle(label: string): string;
1310
1355
  */
1311
1356
  declare function displayHandle(label: string): string;
1312
1357
 
1313
- export { AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type AppenderContext, BalanceResponse, type BorrowInput, BorrowResult, type BuildAddLeafParams, type BuildHarvestRewardsTxOptions, type BuildRevokeLeafParams, type ClaimRewardsInput, ClaimRewardsResult, type CoinPage, type ComposeTxFeeHookContext, type ComposeTxFeeHooks, type ComposeTxOptions, type ComposeTxResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, type HarvestPlan, type HarvestSkippedLeg, type HarvestSwapLeg, HealthFactorResult, type LabelValidationResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, type RepayDebtInput, RepayResult, SafeguardConfig, SafeguardEnforcer, type SaveDepositInput, SaveResult, type SelectAndSplitResult, SendResult, type SendTransferInput, StakeVSuiResult, type StepPreview, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStakeInput, type VoloStats, type VoloUnstakeInput, WRITE_APPENDER_REGISTRY, type WithdrawInput, WithdrawResult, type WriteStep, type WriteToolName, ZkLoginProof, addClaimRewardsToTx, addSendToTx, addStakeVSuiToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildUnstakeVSuiTx, composeTx, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fetchAllCoins, fullHandle, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, selectAndSplitCoin, selectSuiCoin, validateLabel, walletExists };
1358
+ export { AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, type AppenderContext, BalanceResponse, type BorrowInput, BorrowResult, type BuildAddLeafParams, type BuildHarvestRewardsTxOptions, type BuildRevokeLeafParams, type ClaimRewardsInput, ClaimRewardsResult, type CoinPage, type ComposeTxFeeHookContext, type ComposeTxFeeHooks, type ComposeTxOptions, type ComposeTxResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, type HarvestPlan, type HarvestSkippedLeg, type HarvestSwapLeg, HealthFactorResult, type LabelValidationResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OverlayFeeConfig, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, type RepayDebtInput, RepayResult, SPONSORED_PYTH_DEPENDENT_PROVIDERS, SafeguardConfig, SafeguardEnforcer, type SaveDepositInput, SaveResult, type SelectAndSplitResult, SendResult, type SendTransferInput, StakeVSuiResult, type StepPreview, SupportedAsset, type SwapExecuteInput, SwapQuoteResult, SwapResult, SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStakeInput, type VoloStats, type VoloUnstakeInput, WRITE_APPENDER_REGISTRY, type WithdrawInput, WithdrawResult, type WriteStep, type WriteToolName, ZkLoginProof, addClaimRewardsToTx, addSendToTx, addStakeVSuiToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildUnstakeVSuiTx, composeTx, deriveAllowedAddressesFromPtb, displayHandle, exportPrivateKey, fetchAllCoins, fullHandle, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSponsoredSwapProviders, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, selectAndSplitCoin, selectSuiCoin, validateLabel, walletExists };
package/dist/index.js CHANGED
@@ -921,6 +921,7 @@ __export(cetus_swap_exports, {
921
921
  deserializeCetusRoute: () => deserializeCetusRoute,
922
922
  findSwapRoute: () => findSwapRoute,
923
923
  isCetusRouteFresh: () => isCetusRouteFresh,
924
+ isPrecomputedRouteCompatibleWithProviders: () => isPrecomputedRouteCompatibleWithProviders,
924
925
  resolveTokenType: () => resolveTokenType,
925
926
  serializeCetusRoute: () => serializeCetusRoute,
926
927
  simulateSwap: () => simulateSwap,
@@ -1037,6 +1038,14 @@ function getClient(walletAddress, overlayFee) {
1037
1038
  clientCache.set(key, client);
1038
1039
  return client;
1039
1040
  }
1041
+ function isPrecomputedRouteCompatibleWithProviders(route, providers) {
1042
+ if (!providers || providers.length === 0) return true;
1043
+ const allowed = new Set(providers);
1044
+ for (const path of route.routerData.paths) {
1045
+ if (!allowed.has(path.provider)) return false;
1046
+ }
1047
+ return true;
1048
+ }
1040
1049
  async function findSwapRoute(params) {
1041
1050
  const client = getClient(params.walletAddress, params.overlayFee);
1042
1051
  const findParams = {
@@ -1114,7 +1123,7 @@ async function addSwapToTx(tx, client, address, input) {
1114
1123
  }
1115
1124
  let route;
1116
1125
  let usedPrecomputedRoute = false;
1117
- if (input.precomputedRoute && input.precomputedRoute.amountIn === effectiveRaw.toString() && input.precomputedRoute.byAmountIn === byAmountIn) {
1126
+ if (input.precomputedRoute && input.precomputedRoute.amountIn === effectiveRaw.toString() && input.precomputedRoute.byAmountIn === byAmountIn && isPrecomputedRouteCompatibleWithProviders(input.precomputedRoute, input.providers)) {
1118
1127
  route = input.precomputedRoute;
1119
1128
  usedPrecomputedRoute = true;
1120
1129
  } else {
@@ -8329,7 +8338,8 @@ async function getSwapQuote(params) {
8329
8338
  from: fromType,
8330
8339
  to: toType,
8331
8340
  amount: rawAmount,
8332
- byAmountIn
8341
+ byAmountIn,
8342
+ providers: params.providers
8333
8343
  });
8334
8344
  if (!route) throw new T2000Error("SWAP_FAILED", `No swap route found for ${params.from} -> ${params.to}.`);
8335
8345
  if (route.insufficientLiquidity) {
@@ -8423,6 +8433,6 @@ function displayHandle(label) {
8423
8433
  (*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
8424
8434
  */
8425
8435
 
8426
- export { ALL_NAVI_ASSETS, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, BORROW_FEE_BPS, BPS_DENOMINATOR, CETUS_USDC_SUI_POOL, CLOCK_ID, COIN_REGISTRY, ContactManager, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, ETH_TYPE, GAS_RESERVE_MIN, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, IKA_TYPE, KNOWN_TARGETS, KeypairSigner, LABEL_PATTERNS, LOFI_TYPE, MANIFEST_TYPE, MIST_PER_SUI, NAVX_TYPE, NaviAdapter, OPERATION_ASSETS, OUTBOUND_OPS, OVERLAY_FEE_RATE, ProtocolRegistry, SAVE_FEE_BPS, STABLE_ASSETS, SUI_DECIMALS, SUI_TYPE, SUPPORTED_ASSETS, SafeguardEnforcer, SafeguardError, T2000, T2000Error, T2000_OVERLAY_FEE_WALLET, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, WAL_TYPE, WBTC_TYPE, WRITE_APPENDER_REGISTRY, ZkLoginSigner, addClaimRewardsToTx, addFeeTransfer, addSendToTx, addStakeVSuiToTx, addSwapToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, allDescriptors, assertAllowedAsset, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, calculateFee, classifyAction, classifyLabel, classifyTransaction, composeTx, deriveAllowedAddressesFromPtb, deserializeCetusRoute, displayHandle, exportPrivateKey, extractTransferDetails, extractTxCommands, extractTxSender, fallbackLabel, fetchAllCoins, findSwapRoute, formatAssetAmount, formatSui, formatUsd, fullHandle, generateKeypair, getAddress, getCoinMeta, getDecimals, getDecimalsForCoinType, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSwapQuote, getTier, getVoloStats, isAllowedAsset, isCetusRouteFresh, isInRegistry, isSupported, isTier1, isTier2, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, naviDescriptor, normalizeAsset, normalizeCoinType, parseSuiRpcTx, queryHistory, queryTransaction, rawToStable, rawToUsdc, refineLendingLabel, resolveSymbol, resolveTokenType, saveKey, selectAndSplitCoin, selectSuiCoin, serializeCetusRoute, simulateTransaction, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, validateLabel, verifyCetusRouteCoinMatch, walletExists };
8436
+ export { ALL_NAVI_ASSETS, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, BORROW_FEE_BPS, BPS_DENOMINATOR, CETUS_USDC_SUI_POOL, CLOCK_ID, COIN_REGISTRY, ContactManager, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, ETH_TYPE, GAS_RESERVE_MIN, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, IKA_TYPE, KNOWN_TARGETS, KeypairSigner, LABEL_PATTERNS, LOFI_TYPE, MANIFEST_TYPE, MIST_PER_SUI, NAVX_TYPE, NaviAdapter, OPERATION_ASSETS, OUTBOUND_OPS, OVERLAY_FEE_RATE, ProtocolRegistry, SAVE_FEE_BPS, SPONSORED_PYTH_DEPENDENT_PROVIDERS, STABLE_ASSETS, SUI_DECIMALS, SUI_TYPE, SUPPORTED_ASSETS, SafeguardEnforcer, SafeguardError, T2000, T2000Error, T2000_OVERLAY_FEE_WALLET, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, WAL_TYPE, WBTC_TYPE, WRITE_APPENDER_REGISTRY, ZkLoginSigner, addClaimRewardsToTx, addFeeTransfer, addSendToTx, addStakeVSuiToTx, addSwapToTx, addUnstakeVSuiToTx, aggregateClaimableRewards, allDescriptors, assertAllowedAsset, buildAddLeafTx, buildClaimRewardsTx, buildHarvestRewardsTx, buildRevokeLeafTx, buildSendTx, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, calculateFee, classifyAction, classifyLabel, classifyTransaction, composeTx, deriveAllowedAddressesFromPtb, deserializeCetusRoute, displayHandle, exportPrivateKey, extractTransferDetails, extractTxCommands, extractTxSender, fallbackLabel, fetchAllCoins, findSwapRoute, formatAssetAmount, formatSui, formatUsd, fullHandle, generateKeypair, getAddress, getCoinMeta, getDecimals, getDecimalsForCoinType, getFinancialSummary, getPendingRewards, getPendingRewardsByAddress, getRates, getSponsoredSwapProviders, getSwapQuote, getTier, getVoloStats, isAllowedAsset, isCetusRouteFresh, isInRegistry, isSupported, isTier1, isTier2, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, naviDescriptor, normalizeAsset, normalizeCoinType, parseSuiRpcTx, queryHistory, queryTransaction, rawToStable, rawToUsdc, refineLendingLabel, resolveSymbol, resolveTokenType, saveKey, selectAndSplitCoin, selectSuiCoin, serializeCetusRoute, simulateTransaction, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, validateLabel, verifyCetusRouteCoinMatch, walletExists };
8427
8437
  //# sourceMappingURL=index.js.map
8428
8438
  //# sourceMappingURL=index.js.map