@shogun-sdk/intents-sdk 1.4.1 → 1.4.3

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
@@ -226,6 +226,8 @@ type CreateSingleChainOrderParams = {
226
226
  destinationAddress: string;
227
227
  extraTransfers?: ExtraTransfer$1[];
228
228
  deadline: number;
229
+ /** Slippage tolerance in bps for the auto-quote when amountOutMin is not provided. Defaults to DEFAULT_SINGLE_CHAIN_SLIPPAGE_BPS (50). */
230
+ slippageBps?: number;
229
231
  stopLossType?: StopLossType;
230
232
  stopLossTriggerPrice?: string;
231
233
  takeProfitMinOut?: bigint;
@@ -446,6 +448,8 @@ type CreateCrossChainOrderParams = {
446
448
  deadline: number;
447
449
  /** Extra transfers to be made */
448
450
  extraTransfers?: ExtraTransfer$1[];
451
+ /** Slippage tolerance in bps for the auto-quote when min amounts are not provided. Defaults to DEFAULT_CROSS_CHAIN_SLIPPAGE_BPS (25) per swap leg. */
452
+ slippageBps?: number;
449
453
  /** Stop loss */
450
454
  stopLossType?: StopLossType;
451
455
  stopLossTriggerPrice?: string;
@@ -1237,6 +1241,23 @@ type LiquidSwapQuoteResponse = {
1237
1241
  execution: any;
1238
1242
  };
1239
1243
 
1244
+ /** Expense components, all expressed in the output token's smallest units. */
1245
+ type Expenses = {
1246
+ gasInTokenOut: bigint;
1247
+ protocolFeeInTokenOut: bigint;
1248
+ extraTransfersInTokenOut: bigint;
1249
+ };
1250
+ /** Thrown when total expenses meet or exceed the swap output, mirroring the solver's rejection. */
1251
+ declare class IntentNotViableError extends Error {
1252
+ constructor(message: string);
1253
+ }
1254
+
1255
+ /** An extra transfer as the pricing layer sees it — token and amount only, no receiver. */
1256
+ type ExtraTransferAmount = {
1257
+ token: string;
1258
+ amount: bigint;
1259
+ };
1260
+
1240
1261
  type SingleChainQuoteParams = {
1241
1262
  chainId: ChainID;
1242
1263
  amount: bigint;
@@ -1263,6 +1284,9 @@ type IntentsQuoteParams = {
1263
1284
  amount: bigint;
1264
1285
  tokenIn: string;
1265
1286
  tokenOut: string;
1287
+ extraTransfers?: ExtraTransferAmount[];
1288
+ /** Slippage tolerance in basis points, applied to both swap legs. Defaults to DEFAULT_CROSS_CHAIN_SLIPPAGE_BPS (25). */
1289
+ slippageBps?: number;
1266
1290
  };
1267
1291
  type QuoteResponseInternal = {
1268
1292
  amountInUsd: number;
@@ -1284,8 +1308,39 @@ type QuoteResponse = QuoteResponseInternal & {
1284
1308
  chainId: ChainID;
1285
1309
  };
1286
1310
  };
1311
+ type SingleChainNetQuoteParams = SingleChainQuoteParams & {
1312
+ extraTransfers?: ExtraTransferAmount[];
1313
+ protocolFeeInTokenOut?: bigint;
1314
+ };
1315
+ /** A single-chain quote plus the net amount the user receives after gas, extra transfers and commission. */
1316
+ type SingleChainNetQuote = {
1317
+ quote: Quote;
1318
+ netAmountOut: bigint;
1319
+ expenses: Expenses;
1320
+ };
1287
1321
  declare class QuoteProvider {
1322
+ /**
1323
+ * Gross cross-chain quote: two nominal swap legs joined by the bridge stablecoin,
1324
+ * with no solver expense model (no gas, commission or amount_limit haircuts).
1325
+ * For the amount the solver will actually accept as amountOutMin, use
1326
+ * getCrossChainNetQuote instead.
1327
+ */
1288
1328
  static getQuote(params: IntentsQuoteParams): Promise<QuoteResponse>;
1329
+ /**
1330
+ * Net cross-chain quote mirroring the solver's estimation exactly: swap legs credited
1331
+ * at amount_limit, source/dest gas, commission and extra transfers subtracted from the
1332
+ * bridged stablecoin amount. estimatedAmountOutReduced is the max amountOutMin the
1333
+ * solver will accept; throws IntentNotViableError when expenses exceed a leg.
1334
+ */
1335
+ static getCrossChainNetQuote(params: IntentsQuoteParams): Promise<QuoteResponse>;
1336
+ /** Adds the tokenIn/tokenOut metadata fields QuoteResponse carries on top of the internal shape. */
1337
+ private static adaptQuoteResponse;
1338
+ /**
1339
+ * The pre-solver-parity quote path: nominal source leg, decimal-normalized bridge,
1340
+ * nominal dest leg. estimatedAmountOutReduced only reflects the dest provider's own
1341
+ * amountOutMin when it reports one.
1342
+ */
1343
+ private static getGrossQuoteFromRouters;
1289
1344
  /**
1290
1345
  * Get a quote for Solana with explicit provider selection
1291
1346
  * @param params - Quote parameters including provider preference
@@ -1298,8 +1353,9 @@ declare class QuoteProvider {
1298
1353
  slippageBps?: number;
1299
1354
  provider?: 'jupiter' | 'raydium' | 'pumpfun';
1300
1355
  }): Promise<Quote>;
1301
- private static getQuoteFromRouters;
1356
+ private static getNetQuoteFromRouters;
1302
1357
  static getSingleChainQuote(params: SingleChainQuoteParams): Promise<Quote>;
1358
+ static getSingleChainNetQuote(params: SingleChainNetQuoteParams): Promise<SingleChainNetQuote>;
1303
1359
  static transformLiquidSwapQuote(liquidSwapQuote: LiquidSwapQuoteResponse): Quote;
1304
1360
  /**
1305
1361
  * Calculates the weighted reduction factor for an amount in USD.
@@ -1651,4 +1707,4 @@ declare function generateSolanaDcaOrderSecretData(tokenOut: string, receiver: st
1651
1707
  */
1652
1708
  declare function generateSolanaRandomSecretNumber(): string;
1653
1709
 
1654
- export { AUCTIONEER_URL, type ApiCrossChainOrder, type ApiIntentResponse, type ApiResponse, type ApiSingleChainOrder, type ApiUserOrders, AuctioneerAPI, CROSS_CHAIN_GUARD_ADDRESSES, type CancelCrossChainOrderParams, type CancelSingleChainOrderParams, ChainID, type ChainOrderStatus, ChainType, type CreateCrossChainOrderParams, type CreateDcaSingleChainOrderParams, type CreateEvmCrossChainDcaOrderIntentParams, type CreateEvmCrossChainOrderIntentParams, type CreateEvmSingleChainDcaOrderIntentParams, type CreateEvmSingleChainLimitOrderIntentParams, type CreateSingleChainOrderParams, type CreateSolanaCrossChainOrderIntentParams, type CreateSolanaSingleChainDcaOrderIntentParams, type CreateSolanaSingleChainLimitOrderIntentParams, type CreateSuiCrossChainOrderIntentParams, type CreateSuiSingleChainDcaOrderIntentParams, type CreateSuiSingleChainLimitOrderIntentParams, CrossChainOrder, DCA_CROSS_CHAIN_GUARD_ADDRESSES, DCA_SINGLE_CHAIN_GUARD_ADDRESSES, DcaSingleChainOrder, type DefiLlamaCoinData, type DefiLlamaTokensResponse, type EVMConfig, EVMSDK, EVM_ZERO_ADDRESS, EVM_ZERO_SIGNATURE, type FetchJWTParams, type FetchSiweMessageParams, type FetchUserOrdersParams, type GetUserOrdersParams, IntentsOrderType, type IntentsQuoteParams, MAX_UINT_128, MAX_UINT_256, MAX_UINT_32, MAX_UINT_64, NATIVE_EVM_ETH_ADDRESSES, NATIVE_SOLANA_TOKEN_ADDRESS, NATIVE_SUI_TOKEN_ADDRESS, PERMIT2_ADDRESS, PROD_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SUI_PACKAGE_ID, QuoteProvider, type QuoteResponse, SINGLE_CHAIN_GUARD_ADDRESSES, SOLANA_MINT_TOKEN, SOLANA_USDC_MINT, SUI_GUARD_COLLATERAL_TYPE, SUI_GUARD_STABLECOIN_TYPE, SUI_PACKAGE_ID, SingleChainOrder, type SolanaConfig, type SolanaOrderInstructionResult, SolanaSDK, type StopLossType, type SuiConfig, SuiSDK, type SupportedChain, SupportedChains, type SupportedEvmChain, TEST_CROSS_CHAIN_GUARD_ADDRESSES, TEST_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SUI_PACKAGE_ID, TOKEN_SEARCH_API_BASE_URL, type TokenInfo, type TokenSearchParams, type TokenSearchResponse, ValidationError, WRAPPED_ETH_ADDRESSES, WRAPPED_SOL_MINT_ADDRESS, calculateAmounts, cancelCrossChainOrderInstructionsAsBytes, cancelDcaSingleChainOrderInstructions, cancelSingleChainOrderInstructionsAsBytes, chainIdToChainTypeMap, createEvmCrossChainDcaOrderIntentRequest, createEvmCrossChainOrderIntentRequest, createEvmSingleChainDcaOrderIntentRequest, createEvmSingleChainLimitOrderIntentRequest, createSolanaCrossChainOrderIntentRequest, createSolanaSingleChainDcaOrderIntentRequest, createSolanaSingleChainLimitOrderIntentRequest, createSuiCrossChainOrderIntentRequest, createSuiSingleChainDcaOrderIntentRequest, createSuiSingleChainLimitOrderIntentRequest, fetchJWTToken, fetchSiweMessage, fetchUserOrders, generateEvmCrossChainOrderTypedData, generateEvmRandomNonce, generateEvmSingleChainDcaOrderTypedData, generateEvmSingleChainLimitOrderTypedData, generateExecutionDetailsHash, generateSolanaCrossChainOrderInstructions, generateSolanaDcaOrderSecretData, generateSolanaLimitOrderSecretData, generateSolanaRandomSecretNumber, generateSolanaSingleChainDcaOrderInstructions, generateSolanaSingleChainLimitOrderInstructions, generateSuiDcaOrderSecretData, generateSuiLimitOrderSecretData, getCancelCrossChainOrderRawData, getCancelSingleChainOrderRawData, getCoinFromResponse, getDcaSecretHash, getEVMCrossChainDcaOrderTypedData, getEVMCrossChainOrderTypedData, getEVMSingleChainOrderTypedData, getInvalidateNoncesRawData, getSecretHash, getSolanaCrossChainOrderInstructions, getSolanaDcaSingleChainOrderInstructions, getSolanaOrdersWithLockedFunds, getSolanaSingleChainOrderInstructions, getSuiCancelCrossChainOrder, getSuiOrderTransaction, getRandomU64Number as getSuiRandomU64Number, getSuiSingleChainDcaOrderTransaction, getSuiSingleChainLimitOrderTransaction, getTokenList, getTokensData, isErrorApiResponse, isEvmChain, isNativeEvmToken, isSuccessApiResponse, isSupportedChain, normalizeNativeEvmTokenForSigning, prepareDcaSecretData, prepareSecretData, signSingleChainDcaOrder, signSingleChainLimitOrder };
1710
+ export { AUCTIONEER_URL, type ApiCrossChainOrder, type ApiIntentResponse, type ApiResponse, type ApiSingleChainOrder, type ApiUserOrders, AuctioneerAPI, CROSS_CHAIN_GUARD_ADDRESSES, type CancelCrossChainOrderParams, type CancelSingleChainOrderParams, ChainID, type ChainOrderStatus, ChainType, type CreateCrossChainOrderParams, type CreateDcaSingleChainOrderParams, type CreateEvmCrossChainDcaOrderIntentParams, type CreateEvmCrossChainOrderIntentParams, type CreateEvmSingleChainDcaOrderIntentParams, type CreateEvmSingleChainLimitOrderIntentParams, type CreateSingleChainOrderParams, type CreateSolanaCrossChainOrderIntentParams, type CreateSolanaSingleChainDcaOrderIntentParams, type CreateSolanaSingleChainLimitOrderIntentParams, type CreateSuiCrossChainOrderIntentParams, type CreateSuiSingleChainDcaOrderIntentParams, type CreateSuiSingleChainLimitOrderIntentParams, CrossChainOrder, DCA_CROSS_CHAIN_GUARD_ADDRESSES, DCA_SINGLE_CHAIN_GUARD_ADDRESSES, DcaSingleChainOrder, type DefiLlamaCoinData, type DefiLlamaTokensResponse, type EVMConfig, EVMSDK, EVM_ZERO_ADDRESS, EVM_ZERO_SIGNATURE, type Expenses, type ExtraTransferAmount, type FetchJWTParams, type FetchSiweMessageParams, type FetchUserOrdersParams, type GetUserOrdersParams, IntentNotViableError, IntentsOrderType, type IntentsQuoteParams, MAX_UINT_128, MAX_UINT_256, MAX_UINT_32, MAX_UINT_64, NATIVE_EVM_ETH_ADDRESSES, NATIVE_SOLANA_TOKEN_ADDRESS, NATIVE_SUI_TOKEN_ADDRESS, PERMIT2_ADDRESS, PROD_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SUI_PACKAGE_ID, type Quote, QuoteProvider, type QuoteResponse, SINGLE_CHAIN_GUARD_ADDRESSES, SOLANA_MINT_TOKEN, SOLANA_USDC_MINT, SUI_GUARD_COLLATERAL_TYPE, SUI_GUARD_STABLECOIN_TYPE, SUI_PACKAGE_ID, type SingleChainNetQuote, type SingleChainNetQuoteParams, SingleChainOrder, type SolanaConfig, type SolanaOrderInstructionResult, SolanaSDK, type StopLossType, type SuiConfig, SuiSDK, type SupportedChain, SupportedChains, type SupportedEvmChain, TEST_CROSS_CHAIN_GUARD_ADDRESSES, TEST_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SUI_PACKAGE_ID, TOKEN_SEARCH_API_BASE_URL, type TokenInfo, type TokenSearchParams, type TokenSearchResponse, ValidationError, WRAPPED_ETH_ADDRESSES, WRAPPED_SOL_MINT_ADDRESS, calculateAmounts, cancelCrossChainOrderInstructionsAsBytes, cancelDcaSingleChainOrderInstructions, cancelSingleChainOrderInstructionsAsBytes, chainIdToChainTypeMap, createEvmCrossChainDcaOrderIntentRequest, createEvmCrossChainOrderIntentRequest, createEvmSingleChainDcaOrderIntentRequest, createEvmSingleChainLimitOrderIntentRequest, createSolanaCrossChainOrderIntentRequest, createSolanaSingleChainDcaOrderIntentRequest, createSolanaSingleChainLimitOrderIntentRequest, createSuiCrossChainOrderIntentRequest, createSuiSingleChainDcaOrderIntentRequest, createSuiSingleChainLimitOrderIntentRequest, fetchJWTToken, fetchSiweMessage, fetchUserOrders, generateEvmCrossChainOrderTypedData, generateEvmRandomNonce, generateEvmSingleChainDcaOrderTypedData, generateEvmSingleChainLimitOrderTypedData, generateExecutionDetailsHash, generateSolanaCrossChainOrderInstructions, generateSolanaDcaOrderSecretData, generateSolanaLimitOrderSecretData, generateSolanaRandomSecretNumber, generateSolanaSingleChainDcaOrderInstructions, generateSolanaSingleChainLimitOrderInstructions, generateSuiDcaOrderSecretData, generateSuiLimitOrderSecretData, getCancelCrossChainOrderRawData, getCancelSingleChainOrderRawData, getCoinFromResponse, getDcaSecretHash, getEVMCrossChainDcaOrderTypedData, getEVMCrossChainOrderTypedData, getEVMSingleChainOrderTypedData, getInvalidateNoncesRawData, getSecretHash, getSolanaCrossChainOrderInstructions, getSolanaDcaSingleChainOrderInstructions, getSolanaOrdersWithLockedFunds, getSolanaSingleChainOrderInstructions, getSuiCancelCrossChainOrder, getSuiOrderTransaction, getRandomU64Number as getSuiRandomU64Number, getSuiSingleChainDcaOrderTransaction, getSuiSingleChainLimitOrderTransaction, getTokenList, getTokensData, isErrorApiResponse, isEvmChain, isNativeEvmToken, isSuccessApiResponse, isSupportedChain, normalizeNativeEvmTokenForSigning, prepareDcaSecretData, prepareSecretData, signSingleChainDcaOrder, signSingleChainLimitOrder };
package/dist/index.d.ts CHANGED
@@ -226,6 +226,8 @@ type CreateSingleChainOrderParams = {
226
226
  destinationAddress: string;
227
227
  extraTransfers?: ExtraTransfer$1[];
228
228
  deadline: number;
229
+ /** Slippage tolerance in bps for the auto-quote when amountOutMin is not provided. Defaults to DEFAULT_SINGLE_CHAIN_SLIPPAGE_BPS (50). */
230
+ slippageBps?: number;
229
231
  stopLossType?: StopLossType;
230
232
  stopLossTriggerPrice?: string;
231
233
  takeProfitMinOut?: bigint;
@@ -446,6 +448,8 @@ type CreateCrossChainOrderParams = {
446
448
  deadline: number;
447
449
  /** Extra transfers to be made */
448
450
  extraTransfers?: ExtraTransfer$1[];
451
+ /** Slippage tolerance in bps for the auto-quote when min amounts are not provided. Defaults to DEFAULT_CROSS_CHAIN_SLIPPAGE_BPS (25) per swap leg. */
452
+ slippageBps?: number;
449
453
  /** Stop loss */
450
454
  stopLossType?: StopLossType;
451
455
  stopLossTriggerPrice?: string;
@@ -1237,6 +1241,23 @@ type LiquidSwapQuoteResponse = {
1237
1241
  execution: any;
1238
1242
  };
1239
1243
 
1244
+ /** Expense components, all expressed in the output token's smallest units. */
1245
+ type Expenses = {
1246
+ gasInTokenOut: bigint;
1247
+ protocolFeeInTokenOut: bigint;
1248
+ extraTransfersInTokenOut: bigint;
1249
+ };
1250
+ /** Thrown when total expenses meet or exceed the swap output, mirroring the solver's rejection. */
1251
+ declare class IntentNotViableError extends Error {
1252
+ constructor(message: string);
1253
+ }
1254
+
1255
+ /** An extra transfer as the pricing layer sees it — token and amount only, no receiver. */
1256
+ type ExtraTransferAmount = {
1257
+ token: string;
1258
+ amount: bigint;
1259
+ };
1260
+
1240
1261
  type SingleChainQuoteParams = {
1241
1262
  chainId: ChainID;
1242
1263
  amount: bigint;
@@ -1263,6 +1284,9 @@ type IntentsQuoteParams = {
1263
1284
  amount: bigint;
1264
1285
  tokenIn: string;
1265
1286
  tokenOut: string;
1287
+ extraTransfers?: ExtraTransferAmount[];
1288
+ /** Slippage tolerance in basis points, applied to both swap legs. Defaults to DEFAULT_CROSS_CHAIN_SLIPPAGE_BPS (25). */
1289
+ slippageBps?: number;
1266
1290
  };
1267
1291
  type QuoteResponseInternal = {
1268
1292
  amountInUsd: number;
@@ -1284,8 +1308,39 @@ type QuoteResponse = QuoteResponseInternal & {
1284
1308
  chainId: ChainID;
1285
1309
  };
1286
1310
  };
1311
+ type SingleChainNetQuoteParams = SingleChainQuoteParams & {
1312
+ extraTransfers?: ExtraTransferAmount[];
1313
+ protocolFeeInTokenOut?: bigint;
1314
+ };
1315
+ /** A single-chain quote plus the net amount the user receives after gas, extra transfers and commission. */
1316
+ type SingleChainNetQuote = {
1317
+ quote: Quote;
1318
+ netAmountOut: bigint;
1319
+ expenses: Expenses;
1320
+ };
1287
1321
  declare class QuoteProvider {
1322
+ /**
1323
+ * Gross cross-chain quote: two nominal swap legs joined by the bridge stablecoin,
1324
+ * with no solver expense model (no gas, commission or amount_limit haircuts).
1325
+ * For the amount the solver will actually accept as amountOutMin, use
1326
+ * getCrossChainNetQuote instead.
1327
+ */
1288
1328
  static getQuote(params: IntentsQuoteParams): Promise<QuoteResponse>;
1329
+ /**
1330
+ * Net cross-chain quote mirroring the solver's estimation exactly: swap legs credited
1331
+ * at amount_limit, source/dest gas, commission and extra transfers subtracted from the
1332
+ * bridged stablecoin amount. estimatedAmountOutReduced is the max amountOutMin the
1333
+ * solver will accept; throws IntentNotViableError when expenses exceed a leg.
1334
+ */
1335
+ static getCrossChainNetQuote(params: IntentsQuoteParams): Promise<QuoteResponse>;
1336
+ /** Adds the tokenIn/tokenOut metadata fields QuoteResponse carries on top of the internal shape. */
1337
+ private static adaptQuoteResponse;
1338
+ /**
1339
+ * The pre-solver-parity quote path: nominal source leg, decimal-normalized bridge,
1340
+ * nominal dest leg. estimatedAmountOutReduced only reflects the dest provider's own
1341
+ * amountOutMin when it reports one.
1342
+ */
1343
+ private static getGrossQuoteFromRouters;
1289
1344
  /**
1290
1345
  * Get a quote for Solana with explicit provider selection
1291
1346
  * @param params - Quote parameters including provider preference
@@ -1298,8 +1353,9 @@ declare class QuoteProvider {
1298
1353
  slippageBps?: number;
1299
1354
  provider?: 'jupiter' | 'raydium' | 'pumpfun';
1300
1355
  }): Promise<Quote>;
1301
- private static getQuoteFromRouters;
1356
+ private static getNetQuoteFromRouters;
1302
1357
  static getSingleChainQuote(params: SingleChainQuoteParams): Promise<Quote>;
1358
+ static getSingleChainNetQuote(params: SingleChainNetQuoteParams): Promise<SingleChainNetQuote>;
1303
1359
  static transformLiquidSwapQuote(liquidSwapQuote: LiquidSwapQuoteResponse): Quote;
1304
1360
  /**
1305
1361
  * Calculates the weighted reduction factor for an amount in USD.
@@ -1651,4 +1707,4 @@ declare function generateSolanaDcaOrderSecretData(tokenOut: string, receiver: st
1651
1707
  */
1652
1708
  declare function generateSolanaRandomSecretNumber(): string;
1653
1709
 
1654
- export { AUCTIONEER_URL, type ApiCrossChainOrder, type ApiIntentResponse, type ApiResponse, type ApiSingleChainOrder, type ApiUserOrders, AuctioneerAPI, CROSS_CHAIN_GUARD_ADDRESSES, type CancelCrossChainOrderParams, type CancelSingleChainOrderParams, ChainID, type ChainOrderStatus, ChainType, type CreateCrossChainOrderParams, type CreateDcaSingleChainOrderParams, type CreateEvmCrossChainDcaOrderIntentParams, type CreateEvmCrossChainOrderIntentParams, type CreateEvmSingleChainDcaOrderIntentParams, type CreateEvmSingleChainLimitOrderIntentParams, type CreateSingleChainOrderParams, type CreateSolanaCrossChainOrderIntentParams, type CreateSolanaSingleChainDcaOrderIntentParams, type CreateSolanaSingleChainLimitOrderIntentParams, type CreateSuiCrossChainOrderIntentParams, type CreateSuiSingleChainDcaOrderIntentParams, type CreateSuiSingleChainLimitOrderIntentParams, CrossChainOrder, DCA_CROSS_CHAIN_GUARD_ADDRESSES, DCA_SINGLE_CHAIN_GUARD_ADDRESSES, DcaSingleChainOrder, type DefiLlamaCoinData, type DefiLlamaTokensResponse, type EVMConfig, EVMSDK, EVM_ZERO_ADDRESS, EVM_ZERO_SIGNATURE, type FetchJWTParams, type FetchSiweMessageParams, type FetchUserOrdersParams, type GetUserOrdersParams, IntentsOrderType, type IntentsQuoteParams, MAX_UINT_128, MAX_UINT_256, MAX_UINT_32, MAX_UINT_64, NATIVE_EVM_ETH_ADDRESSES, NATIVE_SOLANA_TOKEN_ADDRESS, NATIVE_SUI_TOKEN_ADDRESS, PERMIT2_ADDRESS, PROD_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SUI_PACKAGE_ID, QuoteProvider, type QuoteResponse, SINGLE_CHAIN_GUARD_ADDRESSES, SOLANA_MINT_TOKEN, SOLANA_USDC_MINT, SUI_GUARD_COLLATERAL_TYPE, SUI_GUARD_STABLECOIN_TYPE, SUI_PACKAGE_ID, SingleChainOrder, type SolanaConfig, type SolanaOrderInstructionResult, SolanaSDK, type StopLossType, type SuiConfig, SuiSDK, type SupportedChain, SupportedChains, type SupportedEvmChain, TEST_CROSS_CHAIN_GUARD_ADDRESSES, TEST_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SUI_PACKAGE_ID, TOKEN_SEARCH_API_BASE_URL, type TokenInfo, type TokenSearchParams, type TokenSearchResponse, ValidationError, WRAPPED_ETH_ADDRESSES, WRAPPED_SOL_MINT_ADDRESS, calculateAmounts, cancelCrossChainOrderInstructionsAsBytes, cancelDcaSingleChainOrderInstructions, cancelSingleChainOrderInstructionsAsBytes, chainIdToChainTypeMap, createEvmCrossChainDcaOrderIntentRequest, createEvmCrossChainOrderIntentRequest, createEvmSingleChainDcaOrderIntentRequest, createEvmSingleChainLimitOrderIntentRequest, createSolanaCrossChainOrderIntentRequest, createSolanaSingleChainDcaOrderIntentRequest, createSolanaSingleChainLimitOrderIntentRequest, createSuiCrossChainOrderIntentRequest, createSuiSingleChainDcaOrderIntentRequest, createSuiSingleChainLimitOrderIntentRequest, fetchJWTToken, fetchSiweMessage, fetchUserOrders, generateEvmCrossChainOrderTypedData, generateEvmRandomNonce, generateEvmSingleChainDcaOrderTypedData, generateEvmSingleChainLimitOrderTypedData, generateExecutionDetailsHash, generateSolanaCrossChainOrderInstructions, generateSolanaDcaOrderSecretData, generateSolanaLimitOrderSecretData, generateSolanaRandomSecretNumber, generateSolanaSingleChainDcaOrderInstructions, generateSolanaSingleChainLimitOrderInstructions, generateSuiDcaOrderSecretData, generateSuiLimitOrderSecretData, getCancelCrossChainOrderRawData, getCancelSingleChainOrderRawData, getCoinFromResponse, getDcaSecretHash, getEVMCrossChainDcaOrderTypedData, getEVMCrossChainOrderTypedData, getEVMSingleChainOrderTypedData, getInvalidateNoncesRawData, getSecretHash, getSolanaCrossChainOrderInstructions, getSolanaDcaSingleChainOrderInstructions, getSolanaOrdersWithLockedFunds, getSolanaSingleChainOrderInstructions, getSuiCancelCrossChainOrder, getSuiOrderTransaction, getRandomU64Number as getSuiRandomU64Number, getSuiSingleChainDcaOrderTransaction, getSuiSingleChainLimitOrderTransaction, getTokenList, getTokensData, isErrorApiResponse, isEvmChain, isNativeEvmToken, isSuccessApiResponse, isSupportedChain, normalizeNativeEvmTokenForSigning, prepareDcaSecretData, prepareSecretData, signSingleChainDcaOrder, signSingleChainLimitOrder };
1710
+ export { AUCTIONEER_URL, type ApiCrossChainOrder, type ApiIntentResponse, type ApiResponse, type ApiSingleChainOrder, type ApiUserOrders, AuctioneerAPI, CROSS_CHAIN_GUARD_ADDRESSES, type CancelCrossChainOrderParams, type CancelSingleChainOrderParams, ChainID, type ChainOrderStatus, ChainType, type CreateCrossChainOrderParams, type CreateDcaSingleChainOrderParams, type CreateEvmCrossChainDcaOrderIntentParams, type CreateEvmCrossChainOrderIntentParams, type CreateEvmSingleChainDcaOrderIntentParams, type CreateEvmSingleChainLimitOrderIntentParams, type CreateSingleChainOrderParams, type CreateSolanaCrossChainOrderIntentParams, type CreateSolanaSingleChainDcaOrderIntentParams, type CreateSolanaSingleChainLimitOrderIntentParams, type CreateSuiCrossChainOrderIntentParams, type CreateSuiSingleChainDcaOrderIntentParams, type CreateSuiSingleChainLimitOrderIntentParams, CrossChainOrder, DCA_CROSS_CHAIN_GUARD_ADDRESSES, DCA_SINGLE_CHAIN_GUARD_ADDRESSES, DcaSingleChainOrder, type DefiLlamaCoinData, type DefiLlamaTokensResponse, type EVMConfig, EVMSDK, EVM_ZERO_ADDRESS, EVM_ZERO_SIGNATURE, type Expenses, type ExtraTransferAmount, type FetchJWTParams, type FetchSiweMessageParams, type FetchUserOrdersParams, type GetUserOrdersParams, IntentNotViableError, IntentsOrderType, type IntentsQuoteParams, MAX_UINT_128, MAX_UINT_256, MAX_UINT_32, MAX_UINT_64, NATIVE_EVM_ETH_ADDRESSES, NATIVE_SOLANA_TOKEN_ADDRESS, NATIVE_SUI_TOKEN_ADDRESS, PERMIT2_ADDRESS, PROD_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_CROSS_CHAIN_GUARD_ADDRESSES, PROD_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SINGLE_CHAIN_GUARD_ADDRESSES, PROD_SUI_PACKAGE_ID, type Quote, QuoteProvider, type QuoteResponse, SINGLE_CHAIN_GUARD_ADDRESSES, SOLANA_MINT_TOKEN, SOLANA_USDC_MINT, SUI_GUARD_COLLATERAL_TYPE, SUI_GUARD_STABLECOIN_TYPE, SUI_PACKAGE_ID, type SingleChainNetQuote, type SingleChainNetQuoteParams, SingleChainOrder, type SolanaConfig, type SolanaOrderInstructionResult, SolanaSDK, type StopLossType, type SuiConfig, SuiSDK, type SupportedChain, SupportedChains, type SupportedEvmChain, TEST_CROSS_CHAIN_GUARD_ADDRESSES, TEST_DCA_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SINGLE_CHAIN_GUARD_ADDRESSES, TEST_SUI_PACKAGE_ID, TOKEN_SEARCH_API_BASE_URL, type TokenInfo, type TokenSearchParams, type TokenSearchResponse, ValidationError, WRAPPED_ETH_ADDRESSES, WRAPPED_SOL_MINT_ADDRESS, calculateAmounts, cancelCrossChainOrderInstructionsAsBytes, cancelDcaSingleChainOrderInstructions, cancelSingleChainOrderInstructionsAsBytes, chainIdToChainTypeMap, createEvmCrossChainDcaOrderIntentRequest, createEvmCrossChainOrderIntentRequest, createEvmSingleChainDcaOrderIntentRequest, createEvmSingleChainLimitOrderIntentRequest, createSolanaCrossChainOrderIntentRequest, createSolanaSingleChainDcaOrderIntentRequest, createSolanaSingleChainLimitOrderIntentRequest, createSuiCrossChainOrderIntentRequest, createSuiSingleChainDcaOrderIntentRequest, createSuiSingleChainLimitOrderIntentRequest, fetchJWTToken, fetchSiweMessage, fetchUserOrders, generateEvmCrossChainOrderTypedData, generateEvmRandomNonce, generateEvmSingleChainDcaOrderTypedData, generateEvmSingleChainLimitOrderTypedData, generateExecutionDetailsHash, generateSolanaCrossChainOrderInstructions, generateSolanaDcaOrderSecretData, generateSolanaLimitOrderSecretData, generateSolanaRandomSecretNumber, generateSolanaSingleChainDcaOrderInstructions, generateSolanaSingleChainLimitOrderInstructions, generateSuiDcaOrderSecretData, generateSuiLimitOrderSecretData, getCancelCrossChainOrderRawData, getCancelSingleChainOrderRawData, getCoinFromResponse, getDcaSecretHash, getEVMCrossChainDcaOrderTypedData, getEVMCrossChainOrderTypedData, getEVMSingleChainOrderTypedData, getInvalidateNoncesRawData, getSecretHash, getSolanaCrossChainOrderInstructions, getSolanaDcaSingleChainOrderInstructions, getSolanaOrdersWithLockedFunds, getSolanaSingleChainOrderInstructions, getSuiCancelCrossChainOrder, getSuiOrderTransaction, getRandomU64Number as getSuiRandomU64Number, getSuiSingleChainDcaOrderTransaction, getSuiSingleChainLimitOrderTransaction, getTokenList, getTokensData, isErrorApiResponse, isEvmChain, isNativeEvmToken, isSuccessApiResponse, isSupportedChain, normalizeNativeEvmTokenForSigning, prepareDcaSecretData, prepareSecretData, signSingleChainDcaOrder, signSingleChainLimitOrder };