@t2000/sdk 0.16.30 → 0.17.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/README.md +4 -1
- package/dist/adapters/index.cjs +11 -4
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.js +11 -4
- package/dist/adapters/index.js.map +1 -1
- package/dist/index.cjs +25 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.js +25 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -73,8 +73,16 @@ declare const SUPPORTED_ASSETS: {
|
|
|
73
73
|
readonly symbol: "ETH";
|
|
74
74
|
readonly displayName: "Ethereum";
|
|
75
75
|
};
|
|
76
|
+
readonly GOLD: {
|
|
77
|
+
readonly type: "0x9d297676e7a4b771ab023291377b2adfaa4938fb9080b8d12430e4b108b836a9::xaum::XAUM";
|
|
78
|
+
readonly decimals: 9;
|
|
79
|
+
readonly symbol: "GOLD";
|
|
80
|
+
readonly displayName: "Gold";
|
|
81
|
+
};
|
|
76
82
|
};
|
|
77
83
|
type SupportedAsset = keyof typeof SUPPORTED_ASSETS;
|
|
84
|
+
type StableAsset = Exclude<SupportedAsset, 'SUI' | 'BTC' | 'ETH' | 'GOLD'>;
|
|
85
|
+
declare const STABLE_ASSETS: readonly StableAsset[];
|
|
78
86
|
declare const DEFAULT_NETWORK: "mainnet";
|
|
79
87
|
declare const INVESTMENT_ASSETS: {
|
|
80
88
|
readonly SUI: {
|
|
@@ -95,6 +103,12 @@ declare const INVESTMENT_ASSETS: {
|
|
|
95
103
|
readonly symbol: "ETH";
|
|
96
104
|
readonly displayName: "Ethereum";
|
|
97
105
|
};
|
|
106
|
+
readonly GOLD: {
|
|
107
|
+
readonly type: "0x9d297676e7a4b771ab023291377b2adfaa4938fb9080b8d12430e4b108b836a9::xaum::XAUM";
|
|
108
|
+
readonly decimals: 9;
|
|
109
|
+
readonly symbol: "GOLD";
|
|
110
|
+
readonly displayName: "Gold";
|
|
111
|
+
};
|
|
98
112
|
};
|
|
99
113
|
type InvestmentAsset = keyof typeof INVESTMENT_ASSETS;
|
|
100
114
|
declare const DEFAULT_STRATEGIES: {
|
|
@@ -127,6 +141,26 @@ declare const DEFAULT_STRATEGIES: {
|
|
|
127
141
|
readonly description: "Sui-weighted portfolio";
|
|
128
142
|
readonly custom: false;
|
|
129
143
|
};
|
|
144
|
+
readonly 'all-weather': {
|
|
145
|
+
readonly name: "All-Weather Portfolio";
|
|
146
|
+
readonly allocations: {
|
|
147
|
+
readonly BTC: 30;
|
|
148
|
+
readonly ETH: 20;
|
|
149
|
+
readonly SUI: 20;
|
|
150
|
+
readonly GOLD: 30;
|
|
151
|
+
};
|
|
152
|
+
readonly description: "Crypto and commodities";
|
|
153
|
+
readonly custom: false;
|
|
154
|
+
};
|
|
155
|
+
readonly 'safe-haven': {
|
|
156
|
+
readonly name: "Safe Haven";
|
|
157
|
+
readonly allocations: {
|
|
158
|
+
readonly BTC: 50;
|
|
159
|
+
readonly GOLD: 50;
|
|
160
|
+
};
|
|
161
|
+
readonly description: "Store-of-value assets";
|
|
162
|
+
readonly custom: false;
|
|
163
|
+
};
|
|
130
164
|
};
|
|
131
165
|
declare const PERPS_MARKETS: readonly ["SUI-PERP"];
|
|
132
166
|
type PerpsMarket = (typeof PERPS_MARKETS)[number];
|
|
@@ -609,4 +643,4 @@ interface GasStatusResponse {
|
|
|
609
643
|
}
|
|
610
644
|
declare function getGasStatus(address?: string): Promise<GasStatusResponse>;
|
|
611
645
|
|
|
612
|
-
export { AutoInvestManager, AutoInvestRunResult, AutoInvestSchedule, AutoInvestStatus, type AutoTopUpResult, BPS_DENOMINATOR, BalanceResponse, BorrowResult, CLOCK_ID, type Contact, ContactManager, type ContactMap, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, DepositInfo, EarningsResult, type FeeOperation, FundStatusResult, GAS_RESERVE_MIN, type GasExecutionResult, GasMethod, type GasRequestType, type GasSponsorResponse, type GasStatusResponse, HealthFactorResult, INVESTMENT_ASSETS, InvestEarnResult, InvestResult, type InvestmentAsset, InvestmentPosition, InvestmentTrade, LendingAdapter, LendingRates, MIST_PER_SUI, MaxBorrowResult, MaxWithdrawResult, OUTBOUND_OPS, PERPS_MARKETS, type PerpsMarket, PortfolioManager, PortfolioResult, PositionsResult, type ProtocolFeeInfo, RatesResult, RebalanceResult, RepayResult, SENTINEL, SUI_DECIMALS, SUPPORTED_ASSETS, type SafeguardConfig, SafeguardEnforcer, SafeguardError, type SafeguardErrorDetails, type SafeguardRule, SaveResult, SendResult, SentinelAgent, SentinelAttackResult, type SimulationResult, StrategyBuyResult, StrategyDefinition, StrategyManager, StrategyRebalanceResult, StrategySellResult, StrategyStatusResult, type SupportedAsset, SwapAdapter, SwapResult, T2000, T2000Error, type T2000ErrorCode, type T2000ErrorData, T2000Options, TransactionRecord, type TxMetadata, USDC_DECIMALS, WithdrawResult, addCollectFeeToTx, calculateFee, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, rawToStable, rawToUsdc, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
|
646
|
+
export { AutoInvestManager, AutoInvestRunResult, AutoInvestSchedule, AutoInvestStatus, type AutoTopUpResult, BPS_DENOMINATOR, BalanceResponse, BorrowResult, CLOCK_ID, type Contact, ContactManager, type ContactMap, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, DepositInfo, EarningsResult, type FeeOperation, FundStatusResult, GAS_RESERVE_MIN, type GasExecutionResult, GasMethod, type GasRequestType, type GasSponsorResponse, type GasStatusResponse, HealthFactorResult, INVESTMENT_ASSETS, InvestEarnResult, InvestResult, type InvestmentAsset, InvestmentPosition, InvestmentTrade, LendingAdapter, LendingRates, MIST_PER_SUI, MaxBorrowResult, MaxWithdrawResult, OUTBOUND_OPS, PERPS_MARKETS, type PerpsMarket, PortfolioManager, PortfolioResult, PositionsResult, type ProtocolFeeInfo, RatesResult, RebalanceResult, RepayResult, SENTINEL, STABLE_ASSETS, SUI_DECIMALS, SUPPORTED_ASSETS, type SafeguardConfig, SafeguardEnforcer, SafeguardError, type SafeguardErrorDetails, type SafeguardRule, SaveResult, SendResult, SentinelAgent, SentinelAttackResult, type SimulationResult, type StableAsset, StrategyBuyResult, StrategyDefinition, StrategyManager, StrategyRebalanceResult, StrategySellResult, StrategyStatusResult, type SupportedAsset, SwapAdapter, SwapResult, T2000, T2000Error, type T2000ErrorCode, type T2000ErrorData, T2000Options, TransactionRecord, type TxMetadata, USDC_DECIMALS, WithdrawResult, addCollectFeeToTx, calculateFee, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, rawToStable, rawToUsdc, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
package/dist/index.d.ts
CHANGED
|
@@ -73,8 +73,16 @@ declare const SUPPORTED_ASSETS: {
|
|
|
73
73
|
readonly symbol: "ETH";
|
|
74
74
|
readonly displayName: "Ethereum";
|
|
75
75
|
};
|
|
76
|
+
readonly GOLD: {
|
|
77
|
+
readonly type: "0x9d297676e7a4b771ab023291377b2adfaa4938fb9080b8d12430e4b108b836a9::xaum::XAUM";
|
|
78
|
+
readonly decimals: 9;
|
|
79
|
+
readonly symbol: "GOLD";
|
|
80
|
+
readonly displayName: "Gold";
|
|
81
|
+
};
|
|
76
82
|
};
|
|
77
83
|
type SupportedAsset = keyof typeof SUPPORTED_ASSETS;
|
|
84
|
+
type StableAsset = Exclude<SupportedAsset, 'SUI' | 'BTC' | 'ETH' | 'GOLD'>;
|
|
85
|
+
declare const STABLE_ASSETS: readonly StableAsset[];
|
|
78
86
|
declare const DEFAULT_NETWORK: "mainnet";
|
|
79
87
|
declare const INVESTMENT_ASSETS: {
|
|
80
88
|
readonly SUI: {
|
|
@@ -95,6 +103,12 @@ declare const INVESTMENT_ASSETS: {
|
|
|
95
103
|
readonly symbol: "ETH";
|
|
96
104
|
readonly displayName: "Ethereum";
|
|
97
105
|
};
|
|
106
|
+
readonly GOLD: {
|
|
107
|
+
readonly type: "0x9d297676e7a4b771ab023291377b2adfaa4938fb9080b8d12430e4b108b836a9::xaum::XAUM";
|
|
108
|
+
readonly decimals: 9;
|
|
109
|
+
readonly symbol: "GOLD";
|
|
110
|
+
readonly displayName: "Gold";
|
|
111
|
+
};
|
|
98
112
|
};
|
|
99
113
|
type InvestmentAsset = keyof typeof INVESTMENT_ASSETS;
|
|
100
114
|
declare const DEFAULT_STRATEGIES: {
|
|
@@ -127,6 +141,26 @@ declare const DEFAULT_STRATEGIES: {
|
|
|
127
141
|
readonly description: "Sui-weighted portfolio";
|
|
128
142
|
readonly custom: false;
|
|
129
143
|
};
|
|
144
|
+
readonly 'all-weather': {
|
|
145
|
+
readonly name: "All-Weather Portfolio";
|
|
146
|
+
readonly allocations: {
|
|
147
|
+
readonly BTC: 30;
|
|
148
|
+
readonly ETH: 20;
|
|
149
|
+
readonly SUI: 20;
|
|
150
|
+
readonly GOLD: 30;
|
|
151
|
+
};
|
|
152
|
+
readonly description: "Crypto and commodities";
|
|
153
|
+
readonly custom: false;
|
|
154
|
+
};
|
|
155
|
+
readonly 'safe-haven': {
|
|
156
|
+
readonly name: "Safe Haven";
|
|
157
|
+
readonly allocations: {
|
|
158
|
+
readonly BTC: 50;
|
|
159
|
+
readonly GOLD: 50;
|
|
160
|
+
};
|
|
161
|
+
readonly description: "Store-of-value assets";
|
|
162
|
+
readonly custom: false;
|
|
163
|
+
};
|
|
130
164
|
};
|
|
131
165
|
declare const PERPS_MARKETS: readonly ["SUI-PERP"];
|
|
132
166
|
type PerpsMarket = (typeof PERPS_MARKETS)[number];
|
|
@@ -609,4 +643,4 @@ interface GasStatusResponse {
|
|
|
609
643
|
}
|
|
610
644
|
declare function getGasStatus(address?: string): Promise<GasStatusResponse>;
|
|
611
645
|
|
|
612
|
-
export { AutoInvestManager, AutoInvestRunResult, AutoInvestSchedule, AutoInvestStatus, type AutoTopUpResult, BPS_DENOMINATOR, BalanceResponse, BorrowResult, CLOCK_ID, type Contact, ContactManager, type ContactMap, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, DepositInfo, EarningsResult, type FeeOperation, FundStatusResult, GAS_RESERVE_MIN, type GasExecutionResult, GasMethod, type GasRequestType, type GasSponsorResponse, type GasStatusResponse, HealthFactorResult, INVESTMENT_ASSETS, InvestEarnResult, InvestResult, type InvestmentAsset, InvestmentPosition, InvestmentTrade, LendingAdapter, LendingRates, MIST_PER_SUI, MaxBorrowResult, MaxWithdrawResult, OUTBOUND_OPS, PERPS_MARKETS, type PerpsMarket, PortfolioManager, PortfolioResult, PositionsResult, type ProtocolFeeInfo, RatesResult, RebalanceResult, RepayResult, SENTINEL, SUI_DECIMALS, SUPPORTED_ASSETS, type SafeguardConfig, SafeguardEnforcer, SafeguardError, type SafeguardErrorDetails, type SafeguardRule, SaveResult, SendResult, SentinelAgent, SentinelAttackResult, type SimulationResult, StrategyBuyResult, StrategyDefinition, StrategyManager, StrategyRebalanceResult, StrategySellResult, StrategyStatusResult, type SupportedAsset, SwapAdapter, SwapResult, T2000, T2000Error, type T2000ErrorCode, type T2000ErrorData, T2000Options, TransactionRecord, type TxMetadata, USDC_DECIMALS, WithdrawResult, addCollectFeeToTx, calculateFee, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, rawToStable, rawToUsdc, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
|
646
|
+
export { AutoInvestManager, AutoInvestRunResult, AutoInvestSchedule, AutoInvestStatus, type AutoTopUpResult, BPS_DENOMINATOR, BalanceResponse, BorrowResult, CLOCK_ID, type Contact, ContactManager, type ContactMap, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, DepositInfo, EarningsResult, type FeeOperation, FundStatusResult, GAS_RESERVE_MIN, type GasExecutionResult, GasMethod, type GasRequestType, type GasSponsorResponse, type GasStatusResponse, HealthFactorResult, INVESTMENT_ASSETS, InvestEarnResult, InvestResult, type InvestmentAsset, InvestmentPosition, InvestmentTrade, LendingAdapter, LendingRates, MIST_PER_SUI, MaxBorrowResult, MaxWithdrawResult, OUTBOUND_OPS, PERPS_MARKETS, type PerpsMarket, PortfolioManager, PortfolioResult, PositionsResult, type ProtocolFeeInfo, RatesResult, RebalanceResult, RepayResult, SENTINEL, STABLE_ASSETS, SUI_DECIMALS, SUPPORTED_ASSETS, type SafeguardConfig, SafeguardEnforcer, SafeguardError, type SafeguardErrorDetails, type SafeguardRule, SaveResult, SendResult, SentinelAgent, SentinelAttackResult, type SimulationResult, type StableAsset, StrategyBuyResult, StrategyDefinition, StrategyManager, StrategyRebalanceResult, StrategySellResult, StrategyStatusResult, type SupportedAsset, SwapAdapter, SwapResult, T2000, T2000Error, type T2000ErrorCode, type T2000ErrorData, T2000Options, TransactionRecord, type TxMetadata, USDC_DECIMALS, WithdrawResult, addCollectFeeToTx, calculateFee, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, keypairFromPrivateKey, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, rawToStable, rawToUsdc, saveKey, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
package/dist/index.js
CHANGED
|
@@ -68,6 +68,12 @@ var SUPPORTED_ASSETS = {
|
|
|
68
68
|
decimals: 8,
|
|
69
69
|
symbol: "ETH",
|
|
70
70
|
displayName: "Ethereum"
|
|
71
|
+
},
|
|
72
|
+
GOLD: {
|
|
73
|
+
type: "0x9d297676e7a4b771ab023291377b2adfaa4938fb9080b8d12430e4b108b836a9::xaum::XAUM",
|
|
74
|
+
decimals: 9,
|
|
75
|
+
symbol: "GOLD",
|
|
76
|
+
displayName: "Gold"
|
|
71
77
|
}
|
|
72
78
|
};
|
|
73
79
|
var STABLE_ASSETS = ["USDC", "USDT", "USDe", "USDsui"];
|
|
@@ -83,7 +89,8 @@ var CETUS_PACKAGE = "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35
|
|
|
83
89
|
var INVESTMENT_ASSETS = {
|
|
84
90
|
SUI: SUPPORTED_ASSETS.SUI,
|
|
85
91
|
BTC: SUPPORTED_ASSETS.BTC,
|
|
86
|
-
ETH: SUPPORTED_ASSETS.ETH
|
|
92
|
+
ETH: SUPPORTED_ASSETS.ETH,
|
|
93
|
+
GOLD: SUPPORTED_ASSETS.GOLD
|
|
87
94
|
};
|
|
88
95
|
var DEFAULT_STRATEGIES = {
|
|
89
96
|
bluechip: {
|
|
@@ -103,6 +110,18 @@ var DEFAULT_STRATEGIES = {
|
|
|
103
110
|
allocations: { BTC: 20, ETH: 20, SUI: 60 },
|
|
104
111
|
description: "Sui-weighted portfolio",
|
|
105
112
|
custom: false
|
|
113
|
+
},
|
|
114
|
+
"all-weather": {
|
|
115
|
+
name: "All-Weather Portfolio",
|
|
116
|
+
allocations: { BTC: 30, ETH: 20, SUI: 20, GOLD: 30 },
|
|
117
|
+
description: "Crypto and commodities",
|
|
118
|
+
custom: false
|
|
119
|
+
},
|
|
120
|
+
"safe-haven": {
|
|
121
|
+
name: "Safe Haven",
|
|
122
|
+
allocations: { BTC: 50, GOLD: 50 },
|
|
123
|
+
description: "Store-of-value assets",
|
|
124
|
+
custom: false
|
|
106
125
|
}
|
|
107
126
|
};
|
|
108
127
|
var PERPS_MARKETS = ["SUI-PERP"];
|
|
@@ -349,6 +368,7 @@ function formatSui(amount) {
|
|
|
349
368
|
}
|
|
350
369
|
function formatAssetAmount(amount, asset) {
|
|
351
370
|
if (asset === "BTC") return amount.toFixed(8);
|
|
371
|
+
if (asset === "GOLD") return amount.toFixed(6);
|
|
352
372
|
if (asset === "ETH") return amount.toFixed(6);
|
|
353
373
|
return amount.toFixed(4);
|
|
354
374
|
}
|
|
@@ -1073,7 +1093,7 @@ async function getHealthFactor(client, addressOrKeypair) {
|
|
|
1073
1093
|
liquidationThreshold: liqThreshold
|
|
1074
1094
|
};
|
|
1075
1095
|
}
|
|
1076
|
-
var NAVI_SUPPORTED_ASSETS = [...STABLE_ASSETS, "SUI", "ETH"];
|
|
1096
|
+
var NAVI_SUPPORTED_ASSETS = [...STABLE_ASSETS, "SUI", "ETH", "GOLD"];
|
|
1077
1097
|
async function getRates(client) {
|
|
1078
1098
|
try {
|
|
1079
1099
|
const pools = await getPools();
|
|
@@ -1527,7 +1547,7 @@ var NaviAdapter = class {
|
|
|
1527
1547
|
name = "NAVI Protocol";
|
|
1528
1548
|
version = "1.0.0";
|
|
1529
1549
|
capabilities = ["save", "withdraw", "borrow", "repay"];
|
|
1530
|
-
supportedAssets = [...STABLE_ASSETS, "SUI", "ETH"];
|
|
1550
|
+
supportedAssets = [...STABLE_ASSETS, "SUI", "ETH", "GOLD"];
|
|
1531
1551
|
supportsSameAssetBorrow = true;
|
|
1532
1552
|
client;
|
|
1533
1553
|
async init(client) {
|
|
@@ -1934,7 +1954,7 @@ var SuilendAdapter = class {
|
|
|
1934
1954
|
name = "Suilend";
|
|
1935
1955
|
version = "2.0.0";
|
|
1936
1956
|
capabilities = ["save", "withdraw", "borrow", "repay"];
|
|
1937
|
-
supportedAssets = [...STABLE_ASSETS, "SUI", "ETH", "BTC"];
|
|
1957
|
+
supportedAssets = [...STABLE_ASSETS, "SUI", "ETH", "BTC", "GOLD"];
|
|
1938
1958
|
supportsSameAssetBorrow = false;
|
|
1939
1959
|
client;
|
|
1940
1960
|
publishedAt = null;
|
|
@@ -5371,6 +5391,6 @@ var allDescriptors = [
|
|
|
5371
5391
|
descriptor
|
|
5372
5392
|
];
|
|
5373
5393
|
|
|
5374
|
-
export { AutoInvestManager, BPS_DENOMINATOR, CLOCK_ID, CetusAdapter, ContactManager, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, GAS_RESERVE_MIN, INVESTMENT_ASSETS, MIST_PER_SUI, NaviAdapter, OUTBOUND_OPS, PERPS_MARKETS, PortfolioManager, ProtocolRegistry, SENTINEL, SUI_DECIMALS, SUPPORTED_ASSETS, SafeguardEnforcer, SafeguardError, StrategyManager, SuilendAdapter, T2000, T2000Error, USDC_DECIMALS, addCollectFeeToTx, allDescriptors, calculateFee, descriptor3 as cetusDescriptor, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, getSentinelInfo, keypairFromPrivateKey, listSentinels, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, descriptor2 as naviDescriptor, rawToStable, rawToUsdc, requestAttack, saveKey, attack as sentinelAttack, descriptor as sentinelDescriptor, settleAttack, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, submitPrompt, suiToMist, descriptor4 as suilendDescriptor, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
|
5394
|
+
export { AutoInvestManager, BPS_DENOMINATOR, CLOCK_ID, CetusAdapter, ContactManager, DEFAULT_MAX_LEVERAGE, DEFAULT_MAX_POSITION_SIZE, DEFAULT_NETWORK, DEFAULT_SAFEGUARD_CONFIG, DEFAULT_STRATEGIES, GAS_RESERVE_MIN, INVESTMENT_ASSETS, MIST_PER_SUI, NaviAdapter, OUTBOUND_OPS, PERPS_MARKETS, PortfolioManager, ProtocolRegistry, SENTINEL, STABLE_ASSETS, SUI_DECIMALS, SUPPORTED_ASSETS, SafeguardEnforcer, SafeguardError, StrategyManager, SuilendAdapter, T2000, T2000Error, USDC_DECIMALS, addCollectFeeToTx, allDescriptors, calculateFee, descriptor3 as cetusDescriptor, executeAutoTopUp, executeWithGas, exportPrivateKey, formatAssetAmount, formatSui, formatUsd, generateKeypair, getAddress, getDecimals, getGasStatus, getPoolPrice, getRates, getSentinelInfo, keypairFromPrivateKey, listSentinels, loadKey, mapMoveAbortCode, mapWalletError, mistToSui, descriptor2 as naviDescriptor, rawToStable, rawToUsdc, requestAttack, saveKey, attack as sentinelAttack, descriptor as sentinelDescriptor, settleAttack, shouldAutoTopUp, simulateTransaction, solveHashcash, stableToRaw, submitPrompt, suiToMist, descriptor4 as suilendDescriptor, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, walletExists };
|
|
5375
5395
|
//# sourceMappingURL=index.js.map
|
|
5376
5396
|
//# sourceMappingURL=index.js.map
|