@t2000/sdk 0.56.2 → 1.0.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,16 +1,33 @@
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, aC as SafeguardEnforcer, Q as TransactionSigner, a0 as ZkLoginProof, y as SupportedAsset } from './token-registry-DWRdYf6m.cjs';
5
- export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, aD as BORROW_FEE_BPS, B as BPS_DENOMINATOR, aE 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, g as ExtractedTransfer, F as FeeOperation, G as GAS_RESERVE_MIN, h as GasExecutionResult, i as GasRequestType, j as GasSponsorResponse, k as GasStatusResponse, I as IKA_TYPE, K as KNOWN_TARGETS, l as KeypairSigner, L as LABEL_PATTERNS, m as LOFI_TYPE, M as MANIFEST_TYPE, n as MIST_PER_SUI, N as NAVX_TYPE, aF as OPERATION_ASSETS, O as OUTBOUND_OPS, aG as Operation, P as ProtocolFeeInfo, aH as SAVE_FEE_BPS, S as STABLE_ASSETS, o as SUI_DECIMALS, p as SUI_TYPE, q as SUPPORTED_ASSETS, r as SafeguardConfig, s as SafeguardError, t as SafeguardErrorDetails, u as SafeguardRule, v as SimulationResult, w as StableAsset, x as SuiRpcTxBlock, z as T2000ErrorCode, H as T2000ErrorData, J as TOKEN_MAP, R as TxDirection, U as TxMetadata, V as USDC_DECIMALS, W as USDC_TYPE, X as USDE_TYPE, Y as USDSUI_TYPE, Z as USDT_TYPE, _ as WAL_TYPE, $ as WBTC_TYPE, a1 as ZkLoginSigner, a2 as addCollectFeeToTx, aI as assertAllowedAsset, a3 as calculateFee, a4 as classifyAction, a5 as classifyLabel, a6 as classifyTransaction, a7 as executeAutoTopUp, a8 as executeWithGas, a9 as extractTransferDetails, aa as extractTxCommands, ab as extractTxSender, ac as fallbackLabel, ad as formatAssetAmount, ae as formatSui, af as formatUsd, ag as getDecimals, ah as getDecimalsForCoinType, ai as getGasStatus, aj as getTier, aJ as isAllowedAsset, ak as isSupported, al as isTier1, am as isTier2, an as mapMoveAbortCode, ao as mapWalletError, ap as mistToSui, aK as normalizeCoinType, aq as parseSuiRpcTx, aL as queryHistory, aM as queryTransaction, ar as rawToStable, as as rawToUsdc, at as refineLendingLabel, au as resolveSymbol, av as resolveTokenType, aw as shouldAutoTopUp, aN as simulateTransaction, ax as stableToRaw, ay as suiToMist, aO as throwIfSimulationFailed, az as truncateAddress, aA as usdcToRaw, aB as validateAddress } from './token-registry-DWRdYf6m.cjs';
6
- import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-DkKhitk_.cjs';
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-DVVns7_w.cjs';
9
- export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DVVns7_w.cjs';
4
+ import { z as TxMetadata, m as SafeguardConfig, T as T2000Error, x as TransactionSigner, Z as ZkLoginProof, t as SupportedAsset } from './token-registry-DAHghHh2.cjs';
5
+ export { A as ALL_NAVI_ASSETS, at as BORROW_FEE_BPS, B as BPS_DENOMINATOR, au as CETUS_USDC_SUI_POOL, C as CLOCK_ID, a as COIN_REGISTRY, b as ClassifyBalanceChange, c as ClassifyResult, d as CoinMeta, D as DEFAULT_NETWORK, e as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, f as ExtractedTransfer, F as FeeOperation, G as GAS_RESERVE_MIN, I as IKA_TYPE, K as KNOWN_TARGETS, g as KeypairSigner, L as LABEL_PATTERNS, h as LOFI_TYPE, M as MANIFEST_TYPE, i as MIST_PER_SUI, N as NAVX_TYPE, av as OPERATION_ASSETS, O as OUTBOUND_OPS, aw as Operation, P as ProtocolFeeInfo, ax as SAVE_FEE_BPS, S as STABLE_ASSETS, j as SUI_DECIMALS, k as SUI_TYPE, l as SUPPORTED_ASSETS, n as SafeguardError, o as SafeguardErrorDetails, p as SafeguardRule, q as SimulationResult, r as StableAsset, s as SuiRpcTxBlock, u as T2000ErrorCode, v as T2000ErrorData, w as TOKEN_MAP, y as TxDirection, U as USDC_DECIMALS, H as USDC_TYPE, J as USDE_TYPE, Q as USDSUI_TYPE, R as USDT_TYPE, W as WAL_TYPE, V as WBTC_TYPE, X as ZkLoginSigner, Y as addCollectFeeToTx, ay as assertAllowedAsset, _ as calculateFee, $ as classifyAction, a0 as classifyLabel, a1 as classifyTransaction, a2 as extractTransferDetails, a3 as extractTxCommands, a4 as extractTxSender, a5 as fallbackLabel, a6 as formatAssetAmount, a7 as formatSui, a8 as formatUsd, a9 as getDecimals, aa as getDecimalsForCoinType, ab as getTier, az as isAllowedAsset, ac as isSupported, ad as isTier1, ae as isTier2, af as mapMoveAbortCode, ag as mapWalletError, ah as mistToSui, aA as normalizeCoinType, ai as parseSuiRpcTx, aB as queryHistory, aC as queryTransaction, aj as rawToStable, ak as rawToUsdc, al as refineLendingLabel, am as resolveSymbol, an as resolveTokenType, aD as simulateTransaction, ao as stableToRaw, ap as suiToMist, aE as throwIfSimulationFailed, aq as truncateAddress, ar as usdcToRaw, as as validateAddress } from './token-registry-DAHghHh2.cjs';
6
+ import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-3YmGYl63.cjs';
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-3YmGYl63.cjs';
8
+ import { i as T2000Options, P as PayOptions, c as PayResult, j as StakeVSuiResult, U as UnstakeVSuiResult, k as SwapResult, l as SwapQuoteResult, h as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, m as PaymentRequest, S as SaveResult, W as WithdrawResult, b as MaxWithdrawResult, a as BorrowResult, g as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, d as PendingReward, C as ClaimRewardsResult, n as CompoundRewardsResult, f as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, o as FinancialSummary } from './types-jAD-e7Pq.cjs';
9
+ export { A as AssetRates, G as GasReserve, p as HFAlertLevel, e as PositionEntry } from './types-jAD-e7Pq.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';
13
13
 
14
+ declare class SafeguardEnforcer {
15
+ private config;
16
+ private readonly configPath;
17
+ constructor(configDir?: string);
18
+ load(): void;
19
+ assertNotLocked(): void;
20
+ check(metadata: TxMetadata): void;
21
+ recordUsage(amount: number): void;
22
+ lock(): void;
23
+ unlock(): void;
24
+ set(key: string, value: unknown): void;
25
+ getConfig(): SafeguardConfig;
26
+ isConfigured(): boolean;
27
+ private resetDailyIfNewDay;
28
+ private save;
29
+ }
30
+
14
31
  interface Contact {
15
32
  name: string;
16
33
  address: string;
@@ -59,15 +76,6 @@ interface T2000Events {
59
76
  apy: number;
60
77
  timestamp: number;
61
78
  }) => void;
62
- gasAutoTopUp: (result: {
63
- usdcSpent: number;
64
- suiReceived: number;
65
- }) => void;
66
- gasStationFallback: (event: {
67
- reason: string;
68
- method: string;
69
- suiUsed: number;
70
- }) => void;
71
79
  error: (error: T2000Error) => void;
72
80
  }
73
81
  declare class T2000 extends EventEmitter<T2000Events> {
@@ -91,11 +99,9 @@ declare class T2000 extends EventEmitter<T2000Events> {
91
99
  passphrase?: string;
92
100
  keyPath?: string;
93
101
  name?: string;
94
- sponsored?: boolean;
95
102
  }): Promise<{
96
103
  agent: T2000;
97
104
  address: string;
98
- sponsored: boolean;
99
105
  }>;
100
106
  /** SuiJsonRpcClient used by this agent — exposed for integrations. */
101
107
  get suiClient(): SuiJsonRpcClient;
@@ -227,8 +233,6 @@ declare function walletExists(keyPath?: string): Promise<boolean>;
227
233
  declare function exportPrivateKey(keypair: Ed25519Keypair): string;
228
234
  declare function getAddress(keypair: Ed25519Keypair): string;
229
235
 
230
- declare function solveHashcash(challenge: string): string;
231
-
232
236
  declare const HF_WARN_THRESHOLD = 1.8;
233
237
  declare const HF_CRITICAL_THRESHOLD = 1.3;
234
238
  interface FinancialSummaryOptions {
@@ -324,4 +328,4 @@ declare function buildStakeVSuiTx(_client: SuiJsonRpcClient, address: string, am
324
328
  */
325
329
  declare function buildUnstakeVSuiTx(client: SuiJsonRpcClient, address: string, amountMist: bigint | 'all'): Promise<Transaction>;
326
330
 
327
- export { BalanceResponse, BorrowResult, ClaimRewardsResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, HealthFactorResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OVERLAY_FEE_RATE, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, RepayResult, SafeguardEnforcer, SaveResult, SendResult, StakeVSuiResult, SupportedAsset, SwapQuoteResult, SwapResult, type SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStats, WithdrawResult, ZkLoginProof, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, exportPrivateKey, findSwapRoute, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, solveHashcash, walletExists };
331
+ export { BalanceResponse, BorrowResult, ClaimRewardsResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, HealthFactorResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OVERLAY_FEE_RATE, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, RepayResult, SafeguardConfig, SafeguardEnforcer, SaveResult, SendResult, StakeVSuiResult, SupportedAsset, SwapQuoteResult, SwapResult, type SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStats, WithdrawResult, ZkLoginProof, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, exportPrivateKey, findSwapRoute, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, walletExists };
package/dist/index.d.ts CHANGED
@@ -1,16 +1,33 @@
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, aC as SafeguardEnforcer, Q as TransactionSigner, a0 as ZkLoginProof, y as SupportedAsset } from './token-registry-BortlMRr.js';
5
- export { A as ALL_NAVI_ASSETS, a as AutoTopUpResult, aD as BORROW_FEE_BPS, B as BPS_DENOMINATOR, aE 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, g as ExtractedTransfer, F as FeeOperation, G as GAS_RESERVE_MIN, h as GasExecutionResult, i as GasRequestType, j as GasSponsorResponse, k as GasStatusResponse, I as IKA_TYPE, K as KNOWN_TARGETS, l as KeypairSigner, L as LABEL_PATTERNS, m as LOFI_TYPE, M as MANIFEST_TYPE, n as MIST_PER_SUI, N as NAVX_TYPE, aF as OPERATION_ASSETS, O as OUTBOUND_OPS, aG as Operation, P as ProtocolFeeInfo, aH as SAVE_FEE_BPS, S as STABLE_ASSETS, o as SUI_DECIMALS, p as SUI_TYPE, q as SUPPORTED_ASSETS, r as SafeguardConfig, s as SafeguardError, t as SafeguardErrorDetails, u as SafeguardRule, v as SimulationResult, w as StableAsset, x as SuiRpcTxBlock, z as T2000ErrorCode, H as T2000ErrorData, J as TOKEN_MAP, R as TxDirection, U as TxMetadata, V as USDC_DECIMALS, W as USDC_TYPE, X as USDE_TYPE, Y as USDSUI_TYPE, Z as USDT_TYPE, _ as WAL_TYPE, $ as WBTC_TYPE, a1 as ZkLoginSigner, a2 as addCollectFeeToTx, aI as assertAllowedAsset, a3 as calculateFee, a4 as classifyAction, a5 as classifyLabel, a6 as classifyTransaction, a7 as executeAutoTopUp, a8 as executeWithGas, a9 as extractTransferDetails, aa as extractTxCommands, ab as extractTxSender, ac as fallbackLabel, ad as formatAssetAmount, ae as formatSui, af as formatUsd, ag as getDecimals, ah as getDecimalsForCoinType, ai as getGasStatus, aj as getTier, aJ as isAllowedAsset, ak as isSupported, al as isTier1, am as isTier2, an as mapMoveAbortCode, ao as mapWalletError, ap as mistToSui, aK as normalizeCoinType, aq as parseSuiRpcTx, aL as queryHistory, aM as queryTransaction, ar as rawToStable, as as rawToUsdc, at as refineLendingLabel, au as resolveSymbol, av as resolveTokenType, aw as shouldAutoTopUp, aN as simulateTransaction, ax as stableToRaw, ay as suiToMist, aO as throwIfSimulationFailed, az as truncateAddress, aA as usdcToRaw, aB as validateAddress } from './token-registry-BortlMRr.js';
6
- import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-DkKhitk_.js';
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-DVVns7_w.js';
9
- export { A as AssetRates, G as GasMethod, b as GasReserve, q as HFAlertLevel, f as PositionEntry } from './types-DVVns7_w.js';
4
+ import { z as TxMetadata, m as SafeguardConfig, T as T2000Error, x as TransactionSigner, Z as ZkLoginProof, t as SupportedAsset } from './token-registry-CoTPqCbS.js';
5
+ export { A as ALL_NAVI_ASSETS, at as BORROW_FEE_BPS, B as BPS_DENOMINATOR, au as CETUS_USDC_SUI_POOL, C as CLOCK_ID, a as COIN_REGISTRY, b as ClassifyBalanceChange, c as ClassifyResult, d as CoinMeta, D as DEFAULT_NETWORK, e as DEFAULT_SAFEGUARD_CONFIG, E as ETH_TYPE, f as ExtractedTransfer, F as FeeOperation, G as GAS_RESERVE_MIN, I as IKA_TYPE, K as KNOWN_TARGETS, g as KeypairSigner, L as LABEL_PATTERNS, h as LOFI_TYPE, M as MANIFEST_TYPE, i as MIST_PER_SUI, N as NAVX_TYPE, av as OPERATION_ASSETS, O as OUTBOUND_OPS, aw as Operation, P as ProtocolFeeInfo, ax as SAVE_FEE_BPS, S as STABLE_ASSETS, j as SUI_DECIMALS, k as SUI_TYPE, l as SUPPORTED_ASSETS, n as SafeguardError, o as SafeguardErrorDetails, p as SafeguardRule, q as SimulationResult, r as StableAsset, s as SuiRpcTxBlock, u as T2000ErrorCode, v as T2000ErrorData, w as TOKEN_MAP, y as TxDirection, U as USDC_DECIMALS, H as USDC_TYPE, J as USDE_TYPE, Q as USDSUI_TYPE, R as USDT_TYPE, W as WAL_TYPE, V as WBTC_TYPE, X as ZkLoginSigner, Y as addCollectFeeToTx, ay as assertAllowedAsset, _ as calculateFee, $ as classifyAction, a0 as classifyLabel, a1 as classifyTransaction, a2 as extractTransferDetails, a3 as extractTxCommands, a4 as extractTxSender, a5 as fallbackLabel, a6 as formatAssetAmount, a7 as formatSui, a8 as formatUsd, a9 as getDecimals, aa as getDecimalsForCoinType, ab as getTier, az as isAllowedAsset, ac as isSupported, ad as isTier1, ae as isTier2, af as mapMoveAbortCode, ag as mapWalletError, ah as mistToSui, aA as normalizeCoinType, ai as parseSuiRpcTx, aB as queryHistory, aC as queryTransaction, aj as rawToStable, ak as rawToUsdc, al as refineLendingLabel, am as resolveSymbol, an as resolveTokenType, aD as simulateTransaction, ao as stableToRaw, ap as suiToMist, aE as throwIfSimulationFailed, aq as truncateAddress, ar as usdcToRaw, as as validateAddress } from './token-registry-CoTPqCbS.js';
6
+ import { L as LendingAdapter, a as LendingRates, P as PendingReward$1 } from './descriptors-3YmGYl63.js';
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-3YmGYl63.js';
8
+ import { i as T2000Options, P as PayOptions, c as PayResult, j as StakeVSuiResult, U as UnstakeVSuiResult, k as SwapResult, l as SwapQuoteResult, h as SendResult, B as BalanceResponse, T as TransactionRecord, D as DepositInfo, m as PaymentRequest, S as SaveResult, W as WithdrawResult, b as MaxWithdrawResult, a as BorrowResult, g as RepayResult, M as MaxBorrowResult, H as HealthFactorResult, d as PendingReward, C as ClaimRewardsResult, n as CompoundRewardsResult, f as PositionsResult, R as RatesResult, E as EarningsResult, F as FundStatusResult, o as FinancialSummary } from './types-jAD-e7Pq.js';
9
+ export { A as AssetRates, G as GasReserve, p as HFAlertLevel, e as PositionEntry } from './types-jAD-e7Pq.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';
13
13
 
14
+ declare class SafeguardEnforcer {
15
+ private config;
16
+ private readonly configPath;
17
+ constructor(configDir?: string);
18
+ load(): void;
19
+ assertNotLocked(): void;
20
+ check(metadata: TxMetadata): void;
21
+ recordUsage(amount: number): void;
22
+ lock(): void;
23
+ unlock(): void;
24
+ set(key: string, value: unknown): void;
25
+ getConfig(): SafeguardConfig;
26
+ isConfigured(): boolean;
27
+ private resetDailyIfNewDay;
28
+ private save;
29
+ }
30
+
14
31
  interface Contact {
15
32
  name: string;
16
33
  address: string;
@@ -59,15 +76,6 @@ interface T2000Events {
59
76
  apy: number;
60
77
  timestamp: number;
61
78
  }) => void;
62
- gasAutoTopUp: (result: {
63
- usdcSpent: number;
64
- suiReceived: number;
65
- }) => void;
66
- gasStationFallback: (event: {
67
- reason: string;
68
- method: string;
69
- suiUsed: number;
70
- }) => void;
71
79
  error: (error: T2000Error) => void;
72
80
  }
73
81
  declare class T2000 extends EventEmitter<T2000Events> {
@@ -91,11 +99,9 @@ declare class T2000 extends EventEmitter<T2000Events> {
91
99
  passphrase?: string;
92
100
  keyPath?: string;
93
101
  name?: string;
94
- sponsored?: boolean;
95
102
  }): Promise<{
96
103
  agent: T2000;
97
104
  address: string;
98
- sponsored: boolean;
99
105
  }>;
100
106
  /** SuiJsonRpcClient used by this agent — exposed for integrations. */
101
107
  get suiClient(): SuiJsonRpcClient;
@@ -227,8 +233,6 @@ declare function walletExists(keyPath?: string): Promise<boolean>;
227
233
  declare function exportPrivateKey(keypair: Ed25519Keypair): string;
228
234
  declare function getAddress(keypair: Ed25519Keypair): string;
229
235
 
230
- declare function solveHashcash(challenge: string): string;
231
-
232
236
  declare const HF_WARN_THRESHOLD = 1.8;
233
237
  declare const HF_CRITICAL_THRESHOLD = 1.3;
234
238
  interface FinancialSummaryOptions {
@@ -324,4 +328,4 @@ declare function buildStakeVSuiTx(_client: SuiJsonRpcClient, address: string, am
324
328
  */
325
329
  declare function buildUnstakeVSuiTx(client: SuiJsonRpcClient, address: string, amountMist: bigint | 'all'): Promise<Transaction>;
326
330
 
327
- export { BalanceResponse, BorrowResult, ClaimRewardsResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, HealthFactorResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OVERLAY_FEE_RATE, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, RepayResult, SafeguardEnforcer, SaveResult, SendResult, StakeVSuiResult, SupportedAsset, SwapQuoteResult, SwapResult, type SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStats, WithdrawResult, ZkLoginProof, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, exportPrivateKey, findSwapRoute, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, solveHashcash, walletExists };
331
+ export { BalanceResponse, BorrowResult, ClaimRewardsResult, CompoundRewardsResult, ContactManager, DepositInfo, EarningsResult, FinancialSummary, type FinancialSummaryOptions, FundStatusResult, HF_CRITICAL_THRESHOLD, HF_WARN_THRESHOLD, HealthFactorResult, LendingAdapter, LendingRates, MaxBorrowResult, MaxWithdrawResult, OVERLAY_FEE_RATE, PayOptions, PayResult, PaymentRequest, PendingReward, PositionsResult, RatesResult, RepayResult, SafeguardConfig, SafeguardEnforcer, SaveResult, SendResult, StakeVSuiResult, SupportedAsset, SwapQuoteResult, SwapResult, type SwapRouteResult, T2000, T2000Error, T2000Options, TransactionRecord, TransactionSigner, TxMetadata, UnstakeVSuiResult, VOLO_METADATA, VOLO_PKG, VOLO_POOL, VSUI_TYPE, type VoloStats, WithdrawResult, ZkLoginProof, buildStakeVSuiTx, buildSwapTx, buildUnstakeVSuiTx, exportPrivateKey, findSwapRoute, generateKeypair, getAddress, getFinancialSummary, getPendingRewards, getRates, getSwapQuote, getVoloStats, keypairFromPrivateKey, loadKey, saveKey, walletExists };