@t2000/sdk 0.45.0 → 0.46.0

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
@@ -1,12 +1,12 @@
1
1
  import { EventEmitter } from 'eventemitter3';
2
2
  import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
3
3
  import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
4
- import { T as T2000Error, am as SafeguardEnforcer, w as TransactionSigner, Z as ZkLoginProof, s as SupportedAsset } from './token-registry-BEvCPkp9.cjs';
5
- export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, an as BORROW_FEE_BPS, B as BPS_DENOMINATOR, ao as CETUS_USDC_SUI_POOL, C as CLOCK_ID, b as COIN_REGISTRY, c as CoinMeta, D as DEFAULT_NETWORK, d as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, F as FeeOperation, G as GAS_RESERVE_MIN, e as GasExecutionResult, f as GasRequestType, g as GasSponsorResponse, h as GasStatusResponse, I as IKA_TYPE, K as KeypairSigner, L as LOFI_TYPE, M as MANIFEST_TYPE, i as MIST_PER_SUI, N as NAVX_TYPE, ap as OPERATION_ASSETS, O as OUTBOUND_OPS, aq as Operation, P as ProtocolFeeInfo, ar as SAVE_FEE_BPS, S as STABLE_ASSETS, j as SUI_DECIMALS, k as SUI_TYPE, l as SUPPORTED_ASSETS, m as SafeguardConfig, n as SafeguardError, o as SafeguardErrorDetails, p as SafeguardRule, q as SimulationResult, r as StableAsset, t as T2000ErrorCode, u as T2000ErrorData, v as TOKEN_MAP, x as TxMetadata, U as USDC_DECIMALS, y as USDC_TYPE, z as USDE_TYPE, H as USDSUI_TYPE, J as USDT_TYPE, W as WAL_TYPE, Q as WBTC_TYPE, R as ZkLoginSigner, V as addCollectFeeToTx, as as assertAllowedAsset, X as calculateFee, Y as executeAutoTopUp, _ as executeWithGas, $ as formatAssetAmount, a0 as formatSui, a1 as formatUsd, a2 as getDecimals, a3 as getDecimalsForCoinType, a4 as getGasStatus, a5 as getTier, at as isAllowedAsset, a6 as isSupported, a7 as isTier1, a8 as isTier2, a9 as mapMoveAbortCode, aa as mapWalletError, ab as mistToSui, ac as rawToStable, ad as rawToUsdc, ae as resolveSymbol, af as resolveTokenType, ag as shouldAutoTopUp, au as simulateTransaction, ah as stableToRaw, ai as suiToMist, av as throwIfSimulationFailed, aj as truncateAddress, ak as usdcToRaw, al as validateAddress } from './token-registry-BEvCPkp9.cjs';
4
+ import { T as T2000Error, av as SafeguardEnforcer, H as TransactionSigner, Z as ZkLoginProof, w as SupportedAsset } from './token-registry-mycv_b90.cjs';
5
+ export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, aw as BORROW_FEE_BPS, B as BPS_DENOMINATOR, ax as CETUS_USDC_SUI_POOL, C as CLOCK_ID, b as COIN_REGISTRY, c as ClassifyBalanceChange, d as ClassifyResult, e as CoinMeta, D as DEFAULT_NETWORK, f as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, F as FeeOperation, G as GAS_RESERVE_MIN, g as GasExecutionResult, h as GasRequestType, i as GasSponsorResponse, j as GasStatusResponse, I as IKA_TYPE, K as KNOWN_TARGETS, k as KeypairSigner, L as LABEL_PATTERNS, l as LOFI_TYPE, M as MANIFEST_TYPE, m as MIST_PER_SUI, N as NAVX_TYPE, ay as OPERATION_ASSETS, O as OUTBOUND_OPS, az as Operation, P as ProtocolFeeInfo, aA as SAVE_FEE_BPS, S as STABLE_ASSETS, n as SUI_DECIMALS, o as SUI_TYPE, p as SUPPORTED_ASSETS, q as SafeguardConfig, r as SafeguardError, s as SafeguardErrorDetails, t as SafeguardRule, u as SimulationResult, v as StableAsset, x as T2000ErrorCode, y as T2000ErrorData, z as TOKEN_MAP, J as TxMetadata, U as USDC_DECIMALS, Q as USDC_TYPE, R as USDE_TYPE, V as USDSUI_TYPE, W as USDT_TYPE, X as WAL_TYPE, Y as WBTC_TYPE, _ as ZkLoginSigner, $ as addCollectFeeToTx, aB as assertAllowedAsset, a0 as calculateFee, a1 as classifyAction, a2 as classifyLabel, a3 as classifyTransaction, a4 as executeAutoTopUp, a5 as executeWithGas, a6 as fallbackLabel, a7 as formatAssetAmount, a8 as formatSui, a9 as formatUsd, aa as getDecimals, ab as getDecimalsForCoinType, ac as getGasStatus, ad as getTier, aC as isAllowedAsset, ae as isSupported, af as isTier1, ag as isTier2, ah as mapMoveAbortCode, ai as mapWalletError, aj as mistToSui, ak as rawToStable, al as rawToUsdc, am as refineLendingLabel, an as resolveSymbol, ao as resolveTokenType, ap as shouldAutoTopUp, aD as simulateTransaction, aq as stableToRaw, ar as suiToMist, aE as throwIfSimulationFailed, as as truncateAddress, at as usdcToRaw, au as validateAddress } from './token-registry-mycv_b90.cjs';
6
6
  import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-DkKhitk_.cjs';
7
7
  export { A as AdapterCapability, b as AdapterPositions, c as AdapterTxResult, H as HealthInfo, d as ProtocolDescriptor, e as allDescriptors, n as naviDescriptor } from './descriptors-DkKhitk_.cjs';
8
- import { j as T2000Options, P as PayOptions, d as PayResult, k as StakeVSuiResult, U as UnstakeVSuiResult, l as SwapResult, m as SwapQuoteResult, i as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, n as PaymentRequest, S as SaveResult, W as WithdrawResult, c as MaxWithdrawResult, a as BorrowResult, h as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, e as PendingReward, C as ClaimRewardsResult, o as CompoundRewardsResult, g as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, p as FinancialSummary } from './types-DxNs-mLT.cjs';
9
- export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DxNs-mLT.cjs';
8
+ import { j as T2000Options, P as PayOptions, d as PayResult, k as StakeVSuiResult, U as UnstakeVSuiResult, l as SwapResult, m as SwapQuoteResult, i as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, n as PaymentRequest, S as SaveResult, W as WithdrawResult, c as MaxWithdrawResult, a as BorrowResult, h as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, e as PendingReward, C as ClaimRewardsResult, o as CompoundRewardsResult, g as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, p as FinancialSummary } from './types-DfwfwsAN.cjs';
9
+ export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DfwfwsAN.cjs';
10
10
  import { RouterDataV3 } from '@cetusprotocol/aggregator-sdk';
11
11
  import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
12
12
  export { NaviAdapter, ProtocolRegistry } from './adapters/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { EventEmitter } from 'eventemitter3';
2
2
  import { SuiJsonRpcClient } from '@mysten/sui/jsonRpc';
3
3
  import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
4
- import { T as T2000Error, am as SafeguardEnforcer, w as TransactionSigner, Z as ZkLoginProof, s as SupportedAsset } from './token-registry-B3EV3AdW.js';
5
- export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, an as BORROW_FEE_BPS, B as BPS_DENOMINATOR, ao as CETUS_USDC_SUI_POOL, C as CLOCK_ID, b as COIN_REGISTRY, c as CoinMeta, D as DEFAULT_NETWORK, d as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, F as FeeOperation, G as GAS_RESERVE_MIN, e as GasExecutionResult, f as GasRequestType, g as GasSponsorResponse, h as GasStatusResponse, I as IKA_TYPE, K as KeypairSigner, L as LOFI_TYPE, M as MANIFEST_TYPE, i as MIST_PER_SUI, N as NAVX_TYPE, ap as OPERATION_ASSETS, O as OUTBOUND_OPS, aq as Operation, P as ProtocolFeeInfo, ar as SAVE_FEE_BPS, S as STABLE_ASSETS, j as SUI_DECIMALS, k as SUI_TYPE, l as SUPPORTED_ASSETS, m as SafeguardConfig, n as SafeguardError, o as SafeguardErrorDetails, p as SafeguardRule, q as SimulationResult, r as StableAsset, t as T2000ErrorCode, u as T2000ErrorData, v as TOKEN_MAP, x as TxMetadata, U as USDC_DECIMALS, y as USDC_TYPE, z as USDE_TYPE, H as USDSUI_TYPE, J as USDT_TYPE, W as WAL_TYPE, Q as WBTC_TYPE, R as ZkLoginSigner, V as addCollectFeeToTx, as as assertAllowedAsset, X as calculateFee, Y as executeAutoTopUp, _ as executeWithGas, $ as formatAssetAmount, a0 as formatSui, a1 as formatUsd, a2 as getDecimals, a3 as getDecimalsForCoinType, a4 as getGasStatus, a5 as getTier, at as isAllowedAsset, a6 as isSupported, a7 as isTier1, a8 as isTier2, a9 as mapMoveAbortCode, aa as mapWalletError, ab as mistToSui, ac as rawToStable, ad as rawToUsdc, ae as resolveSymbol, af as resolveTokenType, ag as shouldAutoTopUp, au as simulateTransaction, ah as stableToRaw, ai as suiToMist, av as throwIfSimulationFailed, aj as truncateAddress, ak as usdcToRaw, al as validateAddress } from './token-registry-B3EV3AdW.js';
4
+ import { T as T2000Error, av as SafeguardEnforcer, H as TransactionSigner, Z as ZkLoginProof, w as SupportedAsset } from './token-registry-C1UN5EFV.js';
5
+ export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, aw as BORROW_FEE_BPS, B as BPS_DENOMINATOR, ax as CETUS_USDC_SUI_POOL, C as CLOCK_ID, b as COIN_REGISTRY, c as ClassifyBalanceChange, d as ClassifyResult, e as CoinMeta, D as DEFAULT_NETWORK, f as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, F as FeeOperation, G as GAS_RESERVE_MIN, g as GasExecutionResult, h as GasRequestType, i as GasSponsorResponse, j as GasStatusResponse, I as IKA_TYPE, K as KNOWN_TARGETS, k as KeypairSigner, L as LABEL_PATTERNS, l as LOFI_TYPE, M as MANIFEST_TYPE, m as MIST_PER_SUI, N as NAVX_TYPE, ay as OPERATION_ASSETS, O as OUTBOUND_OPS, az as Operation, P as ProtocolFeeInfo, aA as SAVE_FEE_BPS, S as STABLE_ASSETS, n as SUI_DECIMALS, o as SUI_TYPE, p as SUPPORTED_ASSETS, q as SafeguardConfig, r as SafeguardError, s as SafeguardErrorDetails, t as SafeguardRule, u as SimulationResult, v as StableAsset, x as T2000ErrorCode, y as T2000ErrorData, z as TOKEN_MAP, J as TxMetadata, U as USDC_DECIMALS, Q as USDC_TYPE, R as USDE_TYPE, V as USDSUI_TYPE, W as USDT_TYPE, X as WAL_TYPE, Y as WBTC_TYPE, _ as ZkLoginSigner, $ as addCollectFeeToTx, aB as assertAllowedAsset, a0 as calculateFee, a1 as classifyAction, a2 as classifyLabel, a3 as classifyTransaction, a4 as executeAutoTopUp, a5 as executeWithGas, a6 as fallbackLabel, a7 as formatAssetAmount, a8 as formatSui, a9 as formatUsd, aa as getDecimals, ab as getDecimalsForCoinType, ac as getGasStatus, ad as getTier, aC as isAllowedAsset, ae as isSupported, af as isTier1, ag as isTier2, ah as mapMoveAbortCode, ai as mapWalletError, aj as mistToSui, ak as rawToStable, al as rawToUsdc, am as refineLendingLabel, an as resolveSymbol, ao as resolveTokenType, ap as shouldAutoTopUp, aD as simulateTransaction, aq as stableToRaw, ar as suiToMist, aE as throwIfSimulationFailed, as as truncateAddress, at as usdcToRaw, au as validateAddress } from './token-registry-C1UN5EFV.js';
6
6
  import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-DkKhitk_.js';
7
7
  export { A as AdapterCapability, b as AdapterPositions, c as AdapterTxResult, H as HealthInfo, d as ProtocolDescriptor, e as allDescriptors, n as naviDescriptor } from './descriptors-DkKhitk_.js';
8
- import { j as T2000Options, P as PayOptions, d as PayResult, k as StakeVSuiResult, U as UnstakeVSuiResult, l as SwapResult, m as SwapQuoteResult, i as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, n as PaymentRequest, S as SaveResult, W as WithdrawResult, c as MaxWithdrawResult, a as BorrowResult, h as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, e as PendingReward, C as ClaimRewardsResult, o as CompoundRewardsResult, g as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, p as FinancialSummary } from './types-DxNs-mLT.js';
9
- export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DxNs-mLT.js';
8
+ import { j as T2000Options, P as PayOptions, d as PayResult, k as StakeVSuiResult, U as UnstakeVSuiResult, l as SwapResult, m as SwapQuoteResult, i as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, n as PaymentRequest, S as SaveResult, W as WithdrawResult, c as MaxWithdrawResult, a as BorrowResult, h as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, e as PendingReward, C as ClaimRewardsResult, o as CompoundRewardsResult, g as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, p as FinancialSummary } from './types-DfwfwsAN.js';
9
+ export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DfwfwsAN.js';
10
10
  import { RouterDataV3 } from '@cetusprotocol/aggregator-sdk';
11
11
  import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
12
12
  export { NaviAdapter, ProtocolRegistry } from './adapters/index.js';
package/dist/index.js CHANGED
@@ -1224,13 +1224,82 @@ async function queryBalance(client, address) {
1224
1224
 
1225
1225
  // src/wallet/history.ts
1226
1226
  init_token_registry();
1227
+
1228
+ // src/wallet/classify.ts
1229
+ init_token_registry();
1227
1230
  var KNOWN_TARGETS = [
1228
1231
  [/::suilend|::obligation/, "lending"],
1229
- [/::navi|::incentive_v\d+|::oracle_pro/, "lending"],
1232
+ [/::navi|::lending_core|::incentive_v\d+|::oracle_pro/, "lending"],
1230
1233
  [/::cetus|::pool/, "swap"],
1231
1234
  [/::deepbook/, "swap"],
1232
1235
  [/::transfer::public_transfer/, "send"]
1233
1236
  ];
1237
+ var LABEL_PATTERNS = [
1238
+ [/::pay(?:ment_kit|_kit)?::|::create_payment_link|::pay_link/, "payment_link"],
1239
+ [/::create_invoice|::invoice::/, "invoice"],
1240
+ [/::deposit|::supply|::mint_ctokens/, "deposit"],
1241
+ [/::withdraw|::redeem|::redeem_ctokens/, "withdraw"],
1242
+ [/::borrow/, "borrow"],
1243
+ [/::repay/, "repay"],
1244
+ [/::claim_reward|::claim::|::claim_incentive/, "claim"],
1245
+ [/::stake/, "stake"],
1246
+ [/::unstake|::burn::/, "unstake"],
1247
+ [/::liquidate/, "liquidate"]
1248
+ ];
1249
+ function resolveOwner(owner) {
1250
+ if (typeof owner === "object" && owner.AddressOwner) return owner.AddressOwner;
1251
+ if (typeof owner === "string") return owner;
1252
+ return null;
1253
+ }
1254
+ function classifyAction(targets, commandTypes) {
1255
+ for (const target of targets) {
1256
+ for (const [pattern, label] of KNOWN_TARGETS) {
1257
+ if (pattern.test(target)) return label;
1258
+ }
1259
+ }
1260
+ if (commandTypes.includes("TransferObjects") && !commandTypes.includes("MoveCall")) return "send";
1261
+ return "transaction";
1262
+ }
1263
+ function fallbackLabel(targets) {
1264
+ if (!targets.length) return "on-chain";
1265
+ const first = targets[0];
1266
+ const parts = first.split("::");
1267
+ if (parts.length >= 2 && parts[1]) return parts[1].toLowerCase();
1268
+ return "on-chain";
1269
+ }
1270
+ function classifyLabel(targets, commandTypes) {
1271
+ for (const target of targets) {
1272
+ for (const [pattern, label] of LABEL_PATTERNS) {
1273
+ if (pattern.test(target)) return label;
1274
+ }
1275
+ }
1276
+ if (commandTypes.includes("TransferObjects") && !commandTypes.includes("MoveCall")) return "send";
1277
+ return fallbackLabel(targets);
1278
+ }
1279
+ function refineLendingLabel(currentAction, currentLabel, moveCallTargets, changes, address) {
1280
+ if (currentAction !== "lending") return currentLabel;
1281
+ const labelMatchedSpecific = LABEL_PATTERNS.some(
1282
+ ([p]) => moveCallTargets.some((t) => p.test(t))
1283
+ );
1284
+ if (labelMatchedSpecific) return currentLabel;
1285
+ const userNonSuiOutflow = changes.find(
1286
+ (c) => resolveOwner(c.owner) === address && c.coinType !== SUI_TYPE && BigInt(c.amount) < 0n
1287
+ );
1288
+ if (userNonSuiOutflow) return "deposit";
1289
+ const userNonSuiInflow = changes.find(
1290
+ (c) => resolveOwner(c.owner) === address && c.coinType !== SUI_TYPE && BigInt(c.amount) > 0n
1291
+ );
1292
+ if (userNonSuiInflow) return "withdraw";
1293
+ return currentLabel;
1294
+ }
1295
+ function classifyTransaction(moveCallTargets, commandTypes, balanceChanges, address) {
1296
+ const action = classifyAction(moveCallTargets, commandTypes);
1297
+ const baseLabel = classifyLabel(moveCallTargets, commandTypes);
1298
+ const label = refineLendingLabel(action, baseLabel, moveCallTargets, balanceChanges, address);
1299
+ return { action, label };
1300
+ }
1301
+
1302
+ // src/wallet/history.ts
1234
1303
  async function queryHistory(client, address, limit = 20) {
1235
1304
  const txns = await client.queryTransactionBlocks({
1236
1305
  filter: { FromAddress: address },
@@ -1255,11 +1324,18 @@ function parseTxRecord(tx, address) {
1255
1324
  const gasUsed = tx.effects?.gasUsed;
1256
1325
  const gasCost = gasUsed ? (Number(gasUsed.computationCost) + Number(gasUsed.storageCost) - Number(gasUsed.storageRebate)) / 1e9 : void 0;
1257
1326
  const { moveCallTargets, commandTypes } = extractCommands(tx.transaction);
1258
- const { amount, asset, recipient } = extractTransferDetails(tx.balanceChanges, address);
1259
- const action = classifyAction(moveCallTargets, commandTypes);
1327
+ const balanceChanges = tx.balanceChanges ?? [];
1328
+ const { amount, asset, recipient } = extractTransferDetails(balanceChanges, address);
1329
+ const { action, label } = classifyTransaction(
1330
+ moveCallTargets,
1331
+ commandTypes,
1332
+ balanceChanges,
1333
+ address
1334
+ );
1260
1335
  return {
1261
1336
  digest: tx.digest,
1262
1337
  action,
1338
+ label,
1263
1339
  amount,
1264
1340
  asset,
1265
1341
  recipient,
@@ -1267,15 +1343,15 @@ function parseTxRecord(tx, address) {
1267
1343
  gasCost
1268
1344
  };
1269
1345
  }
1270
- function resolveOwner(owner) {
1346
+ function resolveOwner2(owner) {
1271
1347
  if (typeof owner === "object" && owner.AddressOwner) return owner.AddressOwner;
1272
1348
  if (typeof owner === "string") return owner;
1273
1349
  return null;
1274
1350
  }
1275
1351
  function extractTransferDetails(changes, sender) {
1276
1352
  if (!changes || changes.length === 0) return {};
1277
- const outflows = changes.filter((c) => resolveOwner(c.owner) === sender && BigInt(c.amount) < 0n);
1278
- const inflows = changes.filter((c) => resolveOwner(c.owner) !== sender && BigInt(c.amount) > 0n);
1353
+ const outflows = changes.filter((c) => resolveOwner2(c.owner) === sender && BigInt(c.amount) < 0n);
1354
+ const inflows = changes.filter((c) => resolveOwner2(c.owner) !== sender && BigInt(c.amount) > 0n);
1279
1355
  const primaryOutflow = outflows.filter((c) => c.coinType !== SUI_TYPE).sort((a, b2) => Number(BigInt(a.amount) - BigInt(b2.amount)))[0] ?? outflows[0];
1280
1356
  if (!primaryOutflow) return {};
1281
1357
  const coinType = primaryOutflow.coinType;
@@ -1283,7 +1359,7 @@ function extractTransferDetails(changes, sender) {
1283
1359
  const amount = Math.abs(Number(BigInt(primaryOutflow.amount))) / 10 ** decimals;
1284
1360
  const asset = resolveSymbol(coinType);
1285
1361
  const recipientChange = inflows.find((c) => c.coinType === coinType);
1286
- const recipient = recipientChange ? resolveOwner(recipientChange.owner) ?? void 0 : void 0;
1362
+ const recipient = recipientChange ? resolveOwner2(recipientChange.owner) ?? void 0 : void 0;
1287
1363
  return { amount, asset, recipient };
1288
1364
  }
1289
1365
  function extractCommands(txBlock) {
@@ -1309,18 +1385,6 @@ function extractCommands(txBlock) {
1309
1385
  }
1310
1386
  return result;
1311
1387
  }
1312
- function classifyAction(targets, commandTypes) {
1313
- for (const target of targets) {
1314
- for (const [pattern, label] of KNOWN_TARGETS) {
1315
- if (pattern.test(target)) return label;
1316
- }
1317
- }
1318
- const hasTransfer = commandTypes.includes("TransferObjects");
1319
- const hasMoveCall = commandTypes.includes("MoveCall");
1320
- if (hasTransfer && !hasMoveCall) return "send";
1321
- if (hasMoveCall) return "transaction";
1322
- return "transaction";
1323
- }
1324
1388
 
1325
1389
  // src/t2000.ts
1326
1390
  init_token_registry();
@@ -7592,6 +7656,6 @@ init_volo();
7592
7656
  (*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
7593
7657
  */
7594
7658
 
7595
- export { ALL_NAVI_ASSETS, 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, KeypairSigner, 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, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, WAL_TYPE, WBTC_TYPE, ZkLoginSigner, addCollectFeeToTx, allDescriptors, assertAllowedAsset, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, calculateFee, executeAutoTopUp, executeWithGas, exportPrivateKey, findSwapRoute, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getDecimalsForCoinType, getFinancialSummary, getGasStatus, getPendingRewards, getRates, getSwapQuote, getTier, getVoloStats, isAllowedAsset, isSupported, isTier1, isTier2, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, naviDescriptor, rawToStable, rawToUsdc, resolveSymbol, resolveTokenType, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
7659
+ export { ALL_NAVI_ASSETS, 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, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, WAL_TYPE, WBTC_TYPE, ZkLoginSigner, addCollectFeeToTx, allDescriptors, assertAllowedAsset, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, calculateFee, classifyAction, classifyLabel, classifyTransaction, executeAutoTopUp, executeWithGas, exportPrivateKey, fallbackLabel, findSwapRoute, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getDecimalsForCoinType, getFinancialSummary, getGasStatus, getPendingRewards, getRates, getSwapQuote, getTier, getVoloStats, isAllowedAsset, isSupported, isTier1, isTier2, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, naviDescriptor, rawToStable, rawToUsdc, refineLendingLabel, resolveSymbol, resolveTokenType, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
7596
7660
  //# sourceMappingURL=index.js.map
7597
7661
  //# sourceMappingURL=index.js.map