@sodax/sdk 1.3.1-beta → 1.4.1-beta

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.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { IconAddress, IInjectiveWalletProvider, InjectiveExecuteResponse, SolanaChainConfig, SolanaBase58PublicKey, SolanaRpcResponseAndContext, SolanaTokenAmount, SolanaRawTransactionInstruction, WalletAddressProvider, SolanaSerializedTransaction, ISolanaWalletProvider, StellarSpokeChainConfig, StellarRpcConfig, IStellarWalletProvider, SuiSpokeChainConfig, SuiPaginatedCoins, SuiExecutionResult, ISuiWalletProvider, NearSpokeChainConfig, CallContractParams, NearRawTransaction, TransferArgs, SendMsgArgs, FillData, INearWalletProvider, Address, Erc20Token, SpokeChainId, HttpUrl, Token, GetMoneyMarketTokensApiResponse, SolverConfig, HubAsset, OriginalAssetAddress, XToken, Hex as Hex$1, defaultSharedConfig, RadfiDepositTxResponse, BitcoinSpokeChainConfig, IBitcoinWalletProvider, AddressType, HubChainId, IconSpokeChainConfig, IIconWalletProvider, EvmHubChainConfig, EvmSpokeChainConfig, IEvmWalletProvider, SpokeChainConfig, SonicSpokeChainConfig, EvmChainId, InjectiveSpokeChainConfig, JsonObject, InjectiveRawTransaction, ConcentratedLiquidityConfig, AssetInfo, TokenInfo, HubAddress, ChainId, EvmRawTransaction, EvmRawTransactionReceipt, ChainType, Hash as Hash$1, IntentRelayChainId, StellarRawTransaction, MoneyMarketConfig, spokeChainConfig, ICON_MAINNET_CHAIN_ID, BaseSpokeChainConfig, IConfigApi, SubmitSwapTxRequest, SubmitSwapTxResponse, GetSubmitSwapTxStatusParams, SubmitSwapTxStatusResponse, GetAllConfigApiResponse, GetChainsApiResponse, GetSwapTokensApiResponse, GetSwapTokensByChainIdApiResponse, GetMoneyMarketReserveAssetsApiResponse, GetMoneyMarketTokensByChainIdApiResponse, GetHubAssetsApiResponse, GetHubAssetsByChainIdApiResponse, GetRelayChainIdMapApiResponse, GetSpokeChainConfigApiResponse, HubAssetInfo, IconEoaAddress, HubChainConfig, BridgeLimit } from '@sodax/types';
1
+ import { IconAddress, IInjectiveWalletProvider, InjectiveExecuteResponse, SolanaChainConfig, SolanaBase58PublicKey, SolanaRpcResponseAndContext, SolanaTokenAmount, SolanaRawTransactionInstruction, WalletAddressProvider, SolanaSerializedTransaction, ISolanaWalletProvider, StellarSpokeChainConfig, StellarRpcConfig, IStellarWalletProvider, SuiSpokeChainConfig, SuiPaginatedCoins, SuiExecutionResult, ISuiWalletProvider, NearSpokeChainConfig, CallContractParams, NearRawTransaction, TransferArgs, SendMsgArgs, FillData, INearWalletProvider, Address, Erc20Token, SpokeChainId, HttpUrl, Token, GetMoneyMarketTokensApiResponse, SolverConfig, HubAsset, OriginalAssetAddress, XToken, Hex as Hex$1, defaultSharedConfig, StacksSpokeChainConfig, StacksTransactionParams, IStacksWalletProvider, RadfiDepositTxResponse, BitcoinSpokeChainConfig, IBitcoinWalletProvider, AddressType, HubChainId, IconSpokeChainConfig, IIconWalletProvider, EvmHubChainConfig, EvmSpokeChainConfig, IEvmWalletProvider, SpokeChainConfig, SonicSpokeChainConfig, EvmChainId, InjectiveSpokeChainConfig, JsonObject, InjectiveRawTransaction, ConcentratedLiquidityConfig, AssetInfo, TokenInfo, HubAddress, ChainId, EvmRawTransaction, EvmRawTransactionReceipt, ChainType, Hash as Hash$1, IntentRelayChainId, StellarRawTransaction, MoneyMarketConfig, spokeChainConfig, ICON_MAINNET_CHAIN_ID, BaseSpokeChainConfig, IConfigApi, SubmitSwapTxRequest, SubmitSwapTxResponse, GetSubmitSwapTxStatusParams, SubmitSwapTxStatusResponse, GetAllConfigApiResponse, GetChainsApiResponse, GetSwapTokensApiResponse, GetSwapTokensByChainIdApiResponse, GetMoneyMarketReserveAssetsApiResponse, GetMoneyMarketTokensByChainIdApiResponse, GetHubAssetsApiResponse, GetHubAssetsByChainIdApiResponse, GetRelayChainIdMapApiResponse, GetSpokeChainConfigApiResponse, HubAssetInfo, IconEoaAddress, HubChainConfig, BridgeLimit } from '@sodax/types';
2
2
  export * from '@sodax/types';
3
3
  import * as viem from 'viem';
4
4
  import { Hex, Address as Address$1, PublicClient, HttpTransport, WalletClient, CustomTransport, Chain, Account as Account$1, Hash, GetLogsReturnType, TransactionReceipt } from 'viem';
@@ -9,6 +9,8 @@ import { Transaction as Transaction$1, TransactionResult } from '@mysten/sui/tra
9
9
  import { JsonRpcProvider } from 'near-api-js';
10
10
  import * as bitcoin from 'bitcoinjs-lib';
11
11
  import { SorobanRpc, rpc, Transaction, Memo, MemoType, Operation, FeeBumpTransaction, Horizon, Contract, Account, xdr } from '@stellar/stellar-sdk';
12
+ import { StacksNetwork } from '@stacks/network';
13
+ import { ClarityValue } from '@stacks/transactions';
12
14
  import { ChainGrpcWasmApi, TxGrpcApi } from '@injectivelabs/sdk-ts';
13
15
  import { NetworkEndpoints } from '@injectivelabs/networks';
14
16
  import { PoolKey } from '@pancakeswap/infinity-sdk';
@@ -8914,6 +8916,31 @@ declare class Sodax {
8914
8916
  initialize(): Promise<Result<void>>;
8915
8917
  }
8916
8918
 
8919
+ declare abstract class StacksBaseSpokeProvider {
8920
+ chainConfig: StacksSpokeChainConfig;
8921
+ protected network: StacksNetwork;
8922
+ constructor(config: StacksSpokeChainConfig);
8923
+ getSTXBalance(address: string): Promise<bigint>;
8924
+ readTokenBalance(token: string, address: string): Promise<bigint>;
8925
+ getImplContractAddress(stateContract: string): Promise<string>;
8926
+ protected abstract walletReadContract(txParams: StacksTransactionParams): Promise<ClarityValue>;
8927
+ }
8928
+ declare class StacksSpokeProvider extends StacksBaseSpokeProvider implements ISpokeProvider {
8929
+ readonly walletProvider: IStacksWalletProvider;
8930
+ constructor(config: StacksSpokeChainConfig, walletProvider: IStacksWalletProvider);
8931
+ protected walletReadContract(txParams: StacksTransactionParams): Promise<ClarityValue>;
8932
+ }
8933
+ type StacksRawSpokeProviderConfig = {
8934
+ walletAddress: string;
8935
+ chainConfig: StacksSpokeChainConfig;
8936
+ };
8937
+ declare class StacksRawSpokeProvider extends StacksBaseSpokeProvider implements IRawSpokeProvider {
8938
+ readonly walletProvider: WalletAddressProvider;
8939
+ readonly raw = true;
8940
+ constructor(walletAddress: string, config: StacksSpokeChainConfig);
8941
+ protected walletReadContract(txParams: StacksTransactionParams): Promise<ClarityValue>;
8942
+ }
8943
+
8917
8944
  type RadfiConfig = {
8918
8945
  url: string;
8919
8946
  apiKey: string;
@@ -9295,10 +9322,10 @@ declare class EvmRawSpokeProvider extends EvmBaseSpokeProvider implements IRawSp
9295
9322
  readonly raw = true;
9296
9323
  constructor(walletAddress: Address$1, chainConfig: EvmSpokeChainConfig, rpcUrl?: string);
9297
9324
  }
9298
- type IWalletProvider = IEvmWalletProvider | IInjectiveWalletProvider | IStellarWalletProvider | ISuiWalletProvider | IIconWalletProvider | IInjectiveWalletProvider | IStellarWalletProvider | IBitcoinWalletProvider | ISolanaWalletProvider | INearWalletProvider;
9299
- type SpokeProvider = (EvmSpokeProvider | InjectiveSpokeProvider | IconSpokeProvider | SuiSpokeProvider | StellarSpokeProvider | SolanaSpokeProvider | SonicSpokeProvider | BitcoinSpokeProvider | NearSpokeProvider) & ISpokeProvider;
9300
- type RawSpokeProvider = (EvmRawSpokeProvider | InjectiveRawSpokeProvider | IconRawSpokeProvider | SuiRawSpokeProvider | StellarRawSpokeProvider | SolanaRawSpokeProvider | SonicRawSpokeProvider | BitcoinRawSpokeProvider | NearRawSpokeProvider) & IRawSpokeProvider;
9301
- type RawSpokeProviderConfig = (EvmRawSpokeProviderConfig | InjectiveRawSpokeProviderConfig | IconRawSpokeProviderConfig | SuiRawSpokeProviderConfig | StellarRawSpokeProviderConfig | SolanaRawSpokeProviderConfig | SonicRawSpokeProviderConfig | NearRawSpokeProviderConfig) & {
9325
+ type IWalletProvider = IEvmWalletProvider | IInjectiveWalletProvider | IStellarWalletProvider | ISuiWalletProvider | IIconWalletProvider | IInjectiveWalletProvider | IStellarWalletProvider | IBitcoinWalletProvider | ISolanaWalletProvider | IStacksWalletProvider | INearWalletProvider;
9326
+ type SpokeProvider = (EvmSpokeProvider | InjectiveSpokeProvider | IconSpokeProvider | SuiSpokeProvider | StellarSpokeProvider | SolanaSpokeProvider | SonicSpokeProvider | StacksSpokeProvider | BitcoinSpokeProvider | NearSpokeProvider) & ISpokeProvider;
9327
+ type RawSpokeProvider = (EvmRawSpokeProvider | InjectiveRawSpokeProvider | IconRawSpokeProvider | SuiRawSpokeProvider | StellarRawSpokeProvider | SolanaRawSpokeProvider | SonicRawSpokeProvider | StacksRawSpokeProvider | BitcoinRawSpokeProvider | NearRawSpokeProvider) & IRawSpokeProvider;
9328
+ type RawSpokeProviderConfig = (EvmRawSpokeProviderConfig | InjectiveRawSpokeProviderConfig | IconRawSpokeProviderConfig | SuiRawSpokeProviderConfig | StellarRawSpokeProviderConfig | SolanaRawSpokeProviderConfig | SonicRawSpokeProviderConfig | StacksRawSpokeProviderConfig | NearRawSpokeProviderConfig) & {
9302
9329
  chainConfig: SpokeChainConfig;
9303
9330
  };
9304
9331
  type SpokeProviderType = SpokeProvider | RawSpokeProvider;
@@ -9438,7 +9465,7 @@ declare const hyper: {
9438
9465
  };
9439
9466
  declare function getEvmViemChain(id: EvmChainId): Chain;
9440
9467
  declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
9441
- declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia" | "sui" | "stellar" | "injective-1" | "solana" | "near" | "bitcoin")[];
9468
+ declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia" | "sui" | "stellar" | "injective-1" | "solana" | "near" | "bitcoin" | "stacks")[];
9442
9469
  declare const bnUSDLegacyTokens: readonly [{
9443
9470
  readonly symbol: "bnUSD (legacy)";
9444
9471
  readonly name: "bnUSD";
@@ -9566,6 +9593,12 @@ declare const bnUSDNewTokens: ({
9566
9593
  readonly decimals: 18;
9567
9594
  readonly address: "0:0";
9568
9595
  readonly xChainId: "bitcoin";
9596
+ } | {
9597
+ readonly symbol: "bnUSD";
9598
+ readonly name: "bnUSD";
9599
+ readonly decimals: 6;
9600
+ readonly address: "SP3031RGK734636C8KGW2Y76TEQBTVX59Q472EQH0.bnusd";
9601
+ readonly xChainId: "stacks";
9569
9602
  })[];
9570
9603
  declare const isLegacybnUSDChainId: (chainId: SpokeChainId) => boolean;
9571
9604
  declare const isNewbnUSDChainId: (chainId: SpokeChainId) => boolean;
@@ -9750,7 +9783,7 @@ declare class EvmWalletAbstraction {
9750
9783
  /**
9751
9784
  * Get the hub wallet address for a given spoke chain and address.
9752
9785
  * @param chainId - The spoke chain ID.
9753
- * @param address - The address on the spoke chain.
9786
+ * @param address - The encoded address on the spoke chain.
9754
9787
  * @param hubProvider - The hub provider.
9755
9788
  * @returns The hub wallet address.
9756
9789
  */
@@ -11572,6 +11605,57 @@ declare class SuiSpokeService {
11572
11605
  private static call;
11573
11606
  }
11574
11607
 
11608
+ type StacksSpokeDepositParams = {
11609
+ from: Hex;
11610
+ token: string;
11611
+ to?: HubAddress;
11612
+ amount: bigint;
11613
+ data: Hex;
11614
+ };
11615
+ declare class StacksSpokeService {
11616
+ private constructor();
11617
+ /**
11618
+ * Deposit tokens to the spoke chain.
11619
+ * @param {StacksSpokeDepositParams} params - The parameters for the deposit, including the user's address, token address, amount, and additional data.
11620
+ * @param {StacksSpokeProviderType} spokeProvider - The provider for the spoke chain.
11621
+ * @param {EvmHubProvider} hubProvider - The provider for the hub chain.
11622
+ * @returns {Promise<Hash>} A promise that resolves to the transaction hash.
11623
+ */
11624
+ static deposit<R extends boolean = false>(params: StacksSpokeDepositParams, spokeProvider: StacksSpokeProviderType, hubProvider: EvmHubProvider, raw?: R): PromiseStacksTxReturnType<R>;
11625
+ /**
11626
+ * Get the balance of the token in the spoke chain.
11627
+ * @param {Address} token - The address of the token to get the balance of.
11628
+ * @param {StacksSpokeProviderType} spokeProvider - The spoke provider.
11629
+ * @returns {Promise<bigint>} The balance of the token.
11630
+ */
11631
+ static getDeposit(token: string, spokeProvider: StacksSpokeProviderType): Promise<bigint>;
11632
+ /**
11633
+ * Get the simulation parameters for a deposit.
11634
+ * @param {StacksSpokeDepositParams} params - The deposit parameters.
11635
+ * @param {StacksSpokeProviderType} spokeProvider - The provider for the spoke chain.
11636
+ * @param {EvmHubProvider} hubProvider - The provider for the hub chain.
11637
+ * @returns {Promise<DepositSimulationParams>} The simulation parameters.
11638
+ */
11639
+ static getSimulateDepositParams(params: StacksSpokeDepositParams, spokeProvider: StacksSpokeProviderType, hubProvider: EvmHubProvider): Promise<DepositSimulationParams>;
11640
+ /**
11641
+ * Calls a contract on the spoke chain using the user's wallet.
11642
+ * @param {Hex} from - The address of the user on the spoke chain.
11643
+ * @param {Hex} payload - The payload to send to the contract.
11644
+ * @param {StacksSpokeProviderType} spokeProvider - The provider for the spoke chain.
11645
+ * @param {EvmHubProvider} hubProvider - The provider for the hub chain.
11646
+ * @returns {Promise<Hash>} A promise that resolves to the transaction hash.
11647
+ */
11648
+ static callWallet<R extends boolean = false>(from: Hex, payload: Hex, spokeProvider: StacksSpokeProviderType, hubProvider: EvmHubProvider, raw?: R): PromiseStacksTxReturnType<R>;
11649
+ /**
11650
+ * Transfers tokens to the hub chain.
11651
+ */
11652
+ private static transfer;
11653
+ /**
11654
+ * Sends a message to the hub chain.
11655
+ */
11656
+ private static call;
11657
+ }
11658
+
11575
11659
  type BitcoinSpokeDepositParams = {
11576
11660
  from: string;
11577
11661
  to?: HubAddress;
@@ -11586,15 +11670,6 @@ type BitcoinTransferToHubParams = {
11586
11670
  data?: Hex$1;
11587
11671
  accessToken?: string;
11588
11672
  };
11589
- type DepositSimulationParams$1 = {
11590
- spokeChainID: number | string;
11591
- token: Hex$1;
11592
- from: Hex$1;
11593
- to: HubAddress;
11594
- amount: bigint;
11595
- data: Hex$1;
11596
- srcAddress: Hex$1;
11597
- };
11598
11673
  declare class BitcoinSpokeService {
11599
11674
  private constructor();
11600
11675
  /**
@@ -11631,7 +11706,7 @@ declare class BitcoinSpokeService {
11631
11706
  * @param {EvmHubProvider} EvmHubProvider - The hub chain provider
11632
11707
  * @returns {Promise<DepositSimulationParams>} Simulation parameters
11633
11708
  */
11634
- static getSimulateDepositParams(params: BitcoinSpokeDepositParams, spokeProvider: BitcoinSpokeProviderType, EvmHubProvider: EvmHubProvider): Promise<DepositSimulationParams$1>;
11709
+ static getSimulateDepositParams(params: BitcoinSpokeDepositParams, spokeProvider: BitcoinSpokeProviderType, EvmHubProvider: EvmHubProvider): Promise<DepositSimulationParams>;
11635
11710
  /**
11636
11711
  * Fund the Radfi trading wallet by sending BTC from the user's personal wallet
11637
11712
  *
@@ -12175,8 +12250,8 @@ type Result<T, E = Error | unknown> = {
12175
12250
  error: E;
12176
12251
  };
12177
12252
  type SpokeDepositParams = EvmSpokeDepositParams | InjectiveSpokeDepositParams | SuiSpokeDepositParams | IconSpokeDepositParams | StellarSpokeDepositParams | SolanaSpokeDepositParams | SonicSpokeDepositParams;
12178
- type GetSpokeDepositParamsType<T extends SpokeProviderType> = T extends EvmSpokeProvider ? EvmSpokeDepositParams : T extends EvmRawSpokeProvider ? EvmSpokeDepositParams : T extends InjectiveSpokeProvider ? InjectiveSpokeDepositParams : T extends InjectiveRawSpokeProvider ? InjectiveSpokeDepositParams : T extends SuiSpokeProvider ? SuiSpokeDepositParams : T extends SuiRawSpokeProvider ? SuiSpokeDepositParams : T extends IconSpokeProvider ? IconSpokeDepositParams : T extends IconRawSpokeProvider ? IconSpokeDepositParams : T extends StellarSpokeProvider ? StellarSpokeDepositParams : T extends StellarRawSpokeProvider ? StellarSpokeDepositParams : T extends SolanaSpokeProvider ? SolanaSpokeDepositParams : T extends SolanaRawSpokeProvider ? SolanaSpokeDepositParams : T extends SonicSpokeProvider ? SonicSpokeDepositParams : T extends SonicRawSpokeProvider ? SonicSpokeDepositParams : T extends BitcoinSpokeProvider ? BitcoinSpokeDepositParams : T extends BitcoinRawSpokeProvider ? BitcoinSpokeDepositParams : T extends NearSpokeProvider ? NearSpokeDepositParams : T extends NearRawSpokeProvider ? NearSpokeDepositParams : never;
12179
- type GetAddressType<T extends SpokeProviderType> = T extends EvmSpokeProvider ? Address : T extends EvmRawSpokeProvider ? Address : T extends InjectiveSpokeProvider ? string : T extends InjectiveRawSpokeProvider ? string : T extends StellarSpokeProvider ? Hex$1 : T extends StellarRawSpokeProvider ? Hex$1 : T extends IconSpokeProvider ? IconAddress : T extends IconRawSpokeProvider ? IconAddress : T extends SuiSpokeProvider ? Hex$1 : T extends SuiRawSpokeProvider ? Hex$1 : T extends SolanaSpokeProvider ? Hex$1 : T extends SolanaRawSpokeProvider ? Hex$1 : T extends SonicSpokeProvider ? Address : T extends SonicRawSpokeProvider ? Address : T extends NearSpokeProvider ? Address : T extends NearRawSpokeProvider ? Address : never;
12253
+ type GetSpokeDepositParamsType<T extends SpokeProviderType> = T extends EvmSpokeProvider ? EvmSpokeDepositParams : T extends EvmRawSpokeProvider ? EvmSpokeDepositParams : T extends InjectiveSpokeProvider ? InjectiveSpokeDepositParams : T extends InjectiveRawSpokeProvider ? InjectiveSpokeDepositParams : T extends SuiSpokeProvider ? SuiSpokeDepositParams : T extends SuiRawSpokeProvider ? SuiSpokeDepositParams : T extends IconSpokeProvider ? IconSpokeDepositParams : T extends IconRawSpokeProvider ? IconSpokeDepositParams : T extends StellarSpokeProvider ? StellarSpokeDepositParams : T extends StellarRawSpokeProvider ? StellarSpokeDepositParams : T extends SolanaSpokeProvider ? SolanaSpokeDepositParams : T extends SolanaRawSpokeProvider ? SolanaSpokeDepositParams : T extends SonicSpokeProvider ? SonicSpokeDepositParams : T extends SonicRawSpokeProvider ? SonicSpokeDepositParams : T extends StacksSpokeProvider ? StacksSpokeDepositParams : T extends StacksRawSpokeProvider ? StacksSpokeDepositParams : T extends BitcoinSpokeProvider ? BitcoinSpokeDepositParams : T extends BitcoinRawSpokeProvider ? BitcoinSpokeDepositParams : T extends NearSpokeProvider ? NearSpokeDepositParams : T extends NearRawSpokeProvider ? NearSpokeDepositParams : never;
12254
+ type GetAddressType<T extends SpokeProviderType> = T extends EvmSpokeProvider ? Address : T extends EvmRawSpokeProvider ? Address : T extends InjectiveSpokeProvider ? string : T extends InjectiveRawSpokeProvider ? string : T extends StellarSpokeProvider ? Hex$1 : T extends StellarRawSpokeProvider ? Hex$1 : T extends IconSpokeProvider ? IconAddress : T extends IconRawSpokeProvider ? IconAddress : T extends SuiSpokeProvider ? Hex$1 : T extends SuiRawSpokeProvider ? Hex$1 : T extends SolanaSpokeProvider ? Hex$1 : T extends SolanaRawSpokeProvider ? Hex$1 : T extends SonicSpokeProvider ? Address : T extends SonicRawSpokeProvider ? Address : T extends StacksSpokeProvider ? string : T extends StacksRawSpokeProvider ? string : T extends NearSpokeProvider ? Address : T extends NearRawSpokeProvider ? Address : never;
12180
12255
  type SolverConfigParams = Prettify<SolverConfig & Optional<PartnerFeeConfig, 'partnerFee'>> | Optional<PartnerFeeConfig, 'partnerFee'>;
12181
12256
  type QuoteType = 'exact_input';
12182
12257
  type SolverIntentQuoteRequest = {
@@ -12268,27 +12343,32 @@ type SuiRawTransaction = {
12268
12343
  value: bigint;
12269
12344
  data: Base64String;
12270
12345
  };
12346
+ type StacksRawTransaction = {
12347
+ [key: string]: string | object | number;
12348
+ };
12271
12349
  type EvmReturnType<Raw extends boolean> = Raw extends true ? EvmRawTransaction : Hex$1;
12272
12350
  type SolanaReturnType<Raw extends boolean> = Raw extends true ? SolanaRawTransaction : string;
12273
12351
  type StellarReturnType<Raw extends boolean> = Raw extends true ? StellarRawTransaction : string;
12274
12352
  type IconReturnType<Raw extends boolean> = Raw extends true ? IconRawTransaction : Hex$1;
12275
12353
  type SuiReturnType<Raw extends boolean> = Raw extends true ? SuiRawTransaction : string;
12276
12354
  type InjectiveReturnType<Raw extends boolean> = Raw extends true ? InjectiveRawTransaction : string;
12355
+ type StacksReturnType<Raw extends boolean> = Raw extends true ? StacksRawTransaction : string;
12277
12356
  type NearReturnType<Raw extends boolean> = Raw extends true ? NearRawTransaction : string;
12278
- type HashTxReturnType = EvmReturnType<false> | SolanaReturnType<false> | IconReturnType<false> | SuiReturnType<false> | InjectiveReturnType<false> | StellarReturnType<false> | NearReturnType<false>;
12279
- type RawTxReturnType = EvmRawTransaction | SolanaRawTransaction | InjectiveRawTransaction | IconRawTransaction | SuiRawTransaction | StellarRawTransaction | NearRawTransaction;
12357
+ type HashTxReturnType = EvmReturnType<false> | SolanaReturnType<false> | IconReturnType<false> | SuiReturnType<false> | InjectiveReturnType<false> | StellarReturnType<false> | StacksReturnType<false> | NearReturnType<false>;
12358
+ type RawTxReturnType = EvmRawTransaction | SolanaRawTransaction | InjectiveRawTransaction | IconRawTransaction | SuiRawTransaction | StellarRawTransaction | StacksRawTransaction | NearRawTransaction;
12280
12359
  /**
12281
12360
  * Return type for a transaction based on the given SpokeProvider or RawSpokeProvider.
12282
12361
  * - If T extends RawSpokeProvider, Raw is forced to `true` (always returns raw tx type).
12283
12362
  * - Otherwise, Raw parameter determines output type.
12284
12363
  */
12285
- type TxReturnType<T extends SpokeProviderType, Raw extends boolean> = T extends RawSpokeProvider ? T['chainConfig']['chain']['type'] extends 'EVM' ? EvmReturnType<true> : T['chainConfig']['chain']['type'] extends 'SOLANA' ? SolanaReturnType<true> : T['chainConfig']['chain']['type'] extends 'STELLAR' ? StellarReturnType<true> : T['chainConfig']['chain']['type'] extends 'ICON' ? IconReturnType<true> : T['chainConfig']['chain']['type'] extends 'SUI' ? SuiReturnType<true> : T['chainConfig']['chain']['type'] extends 'INJECTIVE' ? InjectiveReturnType<true> : T['chainConfig']['chain']['type'] extends 'NEAR' ? NearReturnType<true> : RawTxReturnType : T extends SpokeProvider ? T['chainConfig']['chain']['type'] extends 'EVM' ? EvmReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'SOLANA' ? SolanaReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'STELLAR' ? StellarReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'ICON' ? IconReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'SUI' ? SuiReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'INJECTIVE' ? InjectiveReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'NEAR' ? NearReturnType<Raw> : Raw extends true ? RawTxReturnType : HashTxReturnType : Raw extends true ? RawTxReturnType : HashTxReturnType;
12364
+ type TxReturnType<T extends SpokeProviderType, Raw extends boolean> = T extends RawSpokeProvider ? T['chainConfig']['chain']['type'] extends 'EVM' ? EvmReturnType<true> : T['chainConfig']['chain']['type'] extends 'SOLANA' ? SolanaReturnType<true> : T['chainConfig']['chain']['type'] extends 'STELLAR' ? StellarReturnType<true> : T['chainConfig']['chain']['type'] extends 'ICON' ? IconReturnType<true> : T['chainConfig']['chain']['type'] extends 'SUI' ? SuiReturnType<true> : T['chainConfig']['chain']['type'] extends 'INJECTIVE' ? InjectiveReturnType<true> : T['chainConfig']['chain']['type'] extends 'STACKS' ? StacksReturnType<true> : T['chainConfig']['chain']['type'] extends 'NEAR' ? NearReturnType<true> : RawTxReturnType : T extends SpokeProvider ? T['chainConfig']['chain']['type'] extends 'EVM' ? EvmReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'SOLANA' ? SolanaReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'STELLAR' ? StellarReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'ICON' ? IconReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'SUI' ? SuiReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'INJECTIVE' ? InjectiveReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'STACKS' ? StacksReturnType<Raw> : T['chainConfig']['chain']['type'] extends 'NEAR' ? NearReturnType<Raw> : Raw extends true ? RawTxReturnType : HashTxReturnType : Raw extends true ? RawTxReturnType : HashTxReturnType;
12286
12365
  type PromiseEvmTxReturnType<Raw extends boolean> = Promise<TxReturnType<EvmSpokeProvider, Raw>>;
12287
12366
  type PromiseSolanaTxReturnType<Raw extends boolean> = Promise<TxReturnType<SolanaSpokeProvider, Raw>>;
12288
12367
  type PromiseStellarTxReturnType<Raw extends boolean> = Promise<TxReturnType<StellarSpokeProvider, Raw>>;
12289
12368
  type PromiseIconTxReturnType<Raw extends boolean> = Promise<TxReturnType<IconSpokeProvider, Raw>>;
12290
12369
  type PromiseSuiTxReturnType<Raw extends boolean> = Promise<TxReturnType<SuiSpokeProvider, Raw>>;
12291
12370
  type PromiseInjectiveTxReturnType<Raw extends boolean> = Promise<TxReturnType<InjectiveSpokeProvider, Raw>>;
12371
+ type PromiseStacksTxReturnType<Raw extends boolean> = Promise<TxReturnType<StacksSpokeProvider, Raw>>;
12292
12372
  type PromiseNearTxReturnType<Raw extends boolean> = Promise<TxReturnType<NearSpokeProvider, Raw>>;
12293
12373
  type PromiseNearRawTxReturnType<Raw extends boolean> = Promise<TxReturnType<NearSpokeProvider, Raw>>;
12294
12374
  type PromiseTxReturnType<T extends SpokeProvider, Raw extends boolean> = T['chainConfig']['chain']['type'] extends 'EVM' ? Promise<TxReturnType<EvmSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'SOLANA' ? Promise<TxReturnType<SolanaSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'STELLAR' ? Promise<TxReturnType<StellarSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'ICON' ? Promise<TxReturnType<IconSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'SUI' ? Promise<TxReturnType<SuiSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'INJECTIVE' ? Promise<TxReturnType<InjectiveSpokeProviderType, Raw>> : T['chainConfig']['chain']['type'] extends 'NEAR' ? Promise<TxReturnType<NearSpokeProviderType, Raw>> : never;
@@ -12300,6 +12380,7 @@ type IconSpokeProviderType = IconSpokeProvider | IconRawSpokeProvider;
12300
12380
  type SuiSpokeProviderType = SuiSpokeProvider | SuiRawSpokeProvider;
12301
12381
  type InjectiveSpokeProviderType = InjectiveSpokeProvider | InjectiveRawSpokeProvider;
12302
12382
  type SonicSpokeProviderType = SonicSpokeProvider | SonicRawSpokeProvider;
12383
+ type StacksSpokeProviderType = StacksSpokeProvider | StacksRawSpokeProvider;
12303
12384
  type NearSpokeProviderType = NearSpokeProvider | NearRawSpokeProvider;
12304
12385
  type Prettify<T> = {
12305
12386
  [K in keyof T]: T[K];
@@ -12854,6 +12935,9 @@ declare function sleep(ms: number): Promise<void>;
12854
12935
  declare function isHubSpokeProvider(spokeProvider: SpokeProviderType, hubProvider: EvmHubProvider): boolean;
12855
12936
  declare function constructRawSpokeProvider(config: RawSpokeProviderConfig): RawSpokeProvider;
12856
12937
 
12938
+ declare function waitForStacksTransaction(txid: string, rpc_url: string): Promise<boolean>;
12939
+ declare function serializeAddressData(address: string): Hex;
12940
+
12857
12941
  type IcxMigrateParams = {
12858
12942
  address: IcxTokenType;
12859
12943
  amount: bigint;
@@ -13227,6 +13311,9 @@ declare function isIconSpokeProviderType(value: SpokeProviderType): value is Ico
13227
13311
  declare function isIconSpokeProvider(value: SpokeProviderType): value is IconSpokeProvider;
13228
13312
  declare function isSuiSpokeProviderType(value: SpokeProviderType): value is SuiSpokeProviderType;
13229
13313
  declare function isSuiSpokeProvider(value: SpokeProviderType): value is SuiSpokeProvider;
13314
+ declare function isStacksSpokeProviderType(value: SpokeProviderType): value is StacksSpokeProviderType;
13315
+ declare function isStacksSpokeProvider(value: SpokeProviderType): value is StacksSpokeProvider;
13316
+ declare function isStacksRawSpokeProvider(value: unknown): value is StacksRawSpokeProvider;
13230
13317
  declare function isConfiguredSolverConfig(value: SolverConfigParams): value is Prettify<SolverConfig & Optional<PartnerFeeConfig, 'partnerFee'>>;
13231
13318
  declare function isConfiguredMoneyMarketConfig(value: MoneyMarketConfigParams): value is Prettify<MoneyMarketConfig & Optional<PartnerFeeConfig, 'partnerFee'>>;
13232
13319
  declare function isIntentCreationFailedError(error: unknown): error is IntentError<'CREATION_FAILED'>;
@@ -13268,6 +13355,7 @@ declare function isSonicRawSpokeProviderConfig(value: RawSpokeProviderConfig): v
13268
13355
  declare function isStellarRawSpokeProviderConfig(value: RawSpokeProviderConfig): value is StellarRawSpokeProviderConfig;
13269
13356
  declare function isSolanaRawSpokeProviderConfig(value: RawSpokeProviderConfig): value is SolanaRawSpokeProviderConfig;
13270
13357
  declare function isNearRawSpokeProviderConfig(value: RawSpokeProviderConfig): value is NearRawSpokeProviderConfig;
13358
+ declare function isStacksRawSpokeProviderConfig(value: RawSpokeProviderConfig): value is StacksRawSpokeProviderConfig;
13271
13359
  declare function isSubmitSwapTxResponse(value: unknown): value is SubmitSwapTxResponse;
13272
13360
  declare function isSubmitSwapTxStatusResponse(value: unknown): value is SubmitSwapTxStatusResponse;
13273
13361
 
@@ -14907,4 +14995,4 @@ declare class DexService {
14907
14995
  constructor(params: DexServiceConstructorParams);
14908
14996
  }
14909
14997
 
14910
- export { type AggregatedReserveData, type AllowanceInfo, type AllowanceResponse, type AllowanceTransferDetails, type ApiResponse, type ApyRange, type AssetDepositParams, type AssetEntry, AssetService, type AssetServiceAllowanceCheckFailedError, type AssetServiceApprovalFailedError, type AssetServiceConfig, type AssetServiceConstructorParams, type AssetServiceDepositFailedError, type AssetServiceError, type AssetServiceErrorCode, type AssetServiceSubmitTxFailedError, type AssetServiceUnknownError, type AssetServiceUnknownErrorCode, type AssetServiceWithdrawFailedError, type AssetWithdrawParams, type AutoSwapPreferences, type BackendApiConfig, BackendApiService, type Balance, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BalnSwapServiceConstructorParams, type BaseCurrencyInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BitcoinBaseSpokeProvider, BitcoinRawSpokeProvider, type BitcoinSpokeDepositParams, BitcoinSpokeProvider, type BitcoinSpokeProviderType, BitcoinSpokeService, type BitcoinTransactionResult, type BitcoinTransferToHubParams, type BitcoinUTXO, BnUSDMigrationService, type BnUSDMigrationServiceConstructorParams, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type BridgeServiceConstructorParams, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, type CallResponse, type CancelUnstakeParams, type ClMintPositionEventLog, type ClPositionInfo, ClService, type ClServiceConfig, type ClServiceConstructorParams, type ClaimParams, type ClaimRewardsParams, type CombinedReserveData, type ComputedUserReserve, type ConcentratedLiquidityClaimRewardsFailedError, type ConcentratedLiquidityClaimRewardsParams, type ConcentratedLiquidityDecreaseLiquidityFailedError, type ConcentratedLiquidityDecreaseLiquidityParams, type ConcentratedLiquidityError, type ConcentratedLiquidityErrorCode, type ConcentratedLiquidityExtraData, type ConcentratedLiquidityGetPoolDataParams, type ConcentratedLiquidityGetPoolRewardConfigFailedError, type ConcentratedLiquidityIncreaseLiquidityFailedError, type ConcentratedLiquidityIncreaseLiquidityParams, type ConcentratedLiquidityOptionalExtraData, type ConcentratedLiquidityParams, type ConcentratedLiquiditySubmitTxFailedError, type ConcentratedLiquiditySupplyFailedError, type ConcentratedLiquiditySupplyParams, type ConcentratedLiquidityTokenInfo, type ConcentratedLiquidityUnknownError, type ConcentratedLiquidityUnknownErrorCode, type ConcentratedLiquidityWithdrawFailedError, type ConcentratedLiquidityWithdrawParams, ConfigService, type ConfigServiceConfig, type ConfigServiceConstructorParams, type ConnMsg, type CreateAssetDepositParams, type CreateAssetWithdrawParams, type CreateBridgeIntentParams, type CreateIntentAutoSwapError, type CreateIntentParams, type CreateLimitOrderParams, type CustomProvider, CustomSorobanServer, CustomStellarAccount, DEFAULT_BACKEND_API_ENDPOINT, DEFAULT_BACKEND_API_HEADERS, DEFAULT_BACKEND_API_TIMEOUT, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type DecreaseLiquidityParams, type Default, type DepositSimulationParams, type DestinationParamsType, type DetailedLock, DexService, type DexServiceConfig, type DexServiceConstructorParams, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, type EmodeDataHumanized, type EnrichedToken, Erc20Service, Erc4626Service, EvmAssetManagerService, EvmBaseSpokeProvider, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, EvmHubProvider, type EvmHubProviderConfig, type EvmHubProviderConstructorParams, type EvmInitializedConfig, EvmRawSpokeProvider, type EvmRawSpokeProviderConfig, type EvmReturnType, EvmSolverService, type EvmSpokeDepositParams, EvmSpokeProvider, type EvmSpokeProviderType, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, type ExecuteIntentAutoSwapError, type ExecuteMsg, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FeeTokenApproveParams, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetAssetServiceError, type GetAssetServiceParams, type GetChainConfigType, type GetConcentratedLiquidityError, type GetConcentratedLiquidityParams, type GetEstimateGasReturnType, type GetIntentSubmitTxExtraDataParams, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, HubService, type HubTxHash, ICON_TX_RESULT_WAIT_MAX_RETRY, type IRawSpokeProvider, type ISpokeProvider, type IWalletProvider, IconBaseSpokeProvider, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, IconRawSpokeProvider, type IconRawSpokeProviderConfig, type IconRawTransaction, type IconReturnType, type IconSpokeDepositParams, IconSpokeProvider, type IconSpokeProviderType, IconSpokeService, type IconTransferToHubParams, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxMigrationServiceConstructorParams, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type IncreaseLiquidityParams, type InjTokenInfo, Injective20Token, InjectiveBaseSpokeProvider, type InjectiveGasEstimate, InjectiveRawSpokeProvider, type InjectiveRawSpokeProviderConfig, type InjectiveReturnType, type InjectiveSpokeDepositParams, InjectiveSpokeProvider, type InjectiveSpokeProviderType, InjectiveSpokeService, type InjectiveTransferToHubParams, type InstantUnstakeParams, type InstantiateMsg, type Intent, type IntentAutoSwapErrorData, type IntentAutoSwapResult, type IntentCancelFailedErrorData, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, IntentFilledEventAbi, type IntentFilledEventLog, type IntentPostExecutionFailedErrorData, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, type LimitOrderParams, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationServiceConstructorParams, type MigrationTokens, MintPositionEventAbi, type MintPositionEventLog, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketPosition, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketServiceConstructorParams, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, NearBaseSpokeProvider, NearRawSpokeProvider, type NearRawSpokeProviderConfig, type NearReturnType, NearSpokeProvider, type NearSpokeProviderType, type NearTransactionFailure, type NearTransactionResult, type NewbnUSDChainId, type OnDemandPayload, type Optional, type OptionalFee, type OptionalRaw, type OptionalSkipSimulation, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeClaimAssetBalance, PartnerFeeClaimService, type PartnerFeeClaimServiceConfig, type PartnerFeeClaimServiceConstructorParams, type PartnerFeeClaimSwapParams, type PartnerFeeConfig, type PartnerFeePercentage, PartnerService, type PartnerServiceConfig, type PartnerServiceConstructorParams, type Payload, Permit2Service, type PermitBatch, type PermitDetails, type PermitSingle, type PoolBaseCurrencyHumanized, type PoolData, type PoolRewardConfig, type PoolSpokeAssets, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseNearRawTxReturnType, type PromiseNearTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, ProtocolIntentsAbi, type QueryMsg, type QueryResponse, type QuoteType, RAY, RAY_DECIMALS, type RadfiAuthResult, type RadfiBuildTxResponse, type RadfiConfig, type RadfiMaxSpentResponse, RadfiProvider, type RadfiTradingWallet, type RadfiUtxo, type RadfiUtxoListResponse, type RadfiWalletBalance, type RateLimitConfig, type RawDestinationParams, type RawSpokeProvider, type RawSpokeProviderConfig, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayExtraData, type RelayOptionalExtraData, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, type RequestOverrideConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, type SetSwapPreferenceError, type SetSwapPreferenceParams, Sodax, type SodaxConfig, SolanaBaseSpokeProvider, type SolanaGasEstimate, SolanaRawSpokeProvider, type SolanaRawSpokeProviderConfig, type SolanaRawTransaction, type SolanaReturnType, type SolanaSpokeDepositParams, SolanaSpokeProvider, type SolanaSpokeProviderType, SolanaSpokeService, type SolanaTransferToHubParams, SolverApiService, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, type SonicAddressOrSpokeType, SonicBaseSpokeProvider, SonicRawSpokeProvider, type SonicRawSpokeProviderConfig, type SonicSpokeDepositParams, SonicSpokeProvider, type SonicSpokeProviderType, SonicSpokeService, type SpokeDepositParams, type SpokeProvider, type SpokeProviderObjectType, type SpokeProviderType, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StakeParams, type StakingAction, type StakingConfig, type StakingError, type StakingErrorCode, type StakingInfo, StakingLogic, type StakingParams, StakingService, type StakingServiceConstructorParams, StatATokenAddresses, type State, StellarBaseSpokeProvider, type StellarGasEstimate, StellarRawSpokeProvider, type StellarRawSpokeProviderConfig, type StellarReturnType, type StellarSpokeDepositParams, StellarSpokeProvider, type StellarSpokeProviderType, StellarSpokeService, type StellarTransferToHubParams, type SubmitTxExtraData, type SubmitTxParams, type SubmitTxResponse, SuiBaseSpokeProvider, type SuiGasEstimate, SuiRawSpokeProvider, type SuiRawSpokeProviderConfig, type SuiRawTransaction, type SuiReturnType, type SuiSpokeDepositParams, SuiSpokeProvider, type SuiSpokeProviderType, SuiSpokeService, type SuiTransferToHubParams, type SupplyLiquidityParams, SupportedMigrationTokens, type SwapParams, SwapService, type SwapServiceConfig, type SwapServiceConstructorParams, type TokenSpenderPair, type TokenWithConversion, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnknownIntentAutoSwapError, type UnstakeParams, type UnstakeRequest, type UnstakeRequestWithPenalty, type UnstakeSodaRequest, type UnstakingInfo, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserIntentsResponse, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, type UserUnstakeInfo, VAULT_TOKEN_DECIMALS, type VaultReserves, type VerifyTxHashRawConfig, type VerifyTxHashRawConfigType, type VerifyTxHashRawEvmConfig, type VerifyTxHashRawNearConfig, type VerifyTxHashRawSolanaConfig, type VerifyTxHashRawStellarConfig, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitIntentAutoSwapError, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletMode, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, clPoolAbi, clPoolManagerAbi, clPositionManagerAbi, clQuoterAbi, clRouterAbi, clTickLensAbi, connectionAbi, constructRawSpokeProvider, convertTransactionInstructionToRaw, defaultHookAbi, deriveUserWalletAddress, dexPools, encodeAddress, encodeContractCalls, erc20Abi, erc4626Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getConcentratedLiquidityConfig, getEvmViemChain, getHubChainConfig, getIconAddressBytes, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getTransactionPackets, hexToBigInt, hexToSolanaAddress, hyper, isAddressString, isBalnMigrateParams, isBitcoinRawSpokeProvider, isBitcoinSpokeProvider, isBitcoinSpokeProviderType, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isCreateIntentAutoSwapError, isEvmHubChainConfig, isEvmInitializedConfig, isEvmRawSpokeProvider, isEvmRawSpokeProviderConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmSpokeProviderType, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isHubSpokeProvider, isIconAddress, isIconRawSpokeProvider, isIconSpokeProvider, isIconSpokeProviderType, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveRawSpokeProvider, isInjectiveSpokeProvider, isInjectiveSpokeProviderType, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketWithdrawUnknownError, isNearRawSpokeProvider, isNearRawSpokeProviderConfig, isNearSpokeProvider, isNearSpokeProviderType, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isRawDestinationParams, isRawSpokeProvider, isResponseAddressType, isResponseSigningType, isSetSwapPreferenceError, isSolanaNativeToken, isSolanaRawSpokeProvider, isSolanaRawSpokeProviderConfig, isSolanaSpokeProvider, isSolanaSpokeProviderType, isSolverErrorResponse, isSonicRawSpokeProvider, isSonicRawSpokeProviderConfig, isSonicSpokeProvider, isSonicSpokeProviderType, isSpokeProvider, isSpokeProviderObjectType, isSpokeProviderType, isStellarRawSpokeProvider, isStellarRawSpokeProviderConfig, isStellarSpokeProvider, isStellarSpokeProviderType, isSubmitSwapTxResponse, isSubmitSwapTxStatusResponse, isSuiRawSpokeProvider, isSuiSpokeProvider, isSuiSpokeProviderType, isUnifiedBnUSDMigrateParams, isUnknownIntentAutoSwapError, isWaitIntentAutoSwapError, isWaitUntilIntentExecutedFailed, mintPositionParamsAbi, modifyLiquidityParamsAbi, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizePsbtToBase64, normalizedToUsd, pancakeSwapInfinityDefaultHookAbi, pancakeSwapInfinityPoolManagerAbi, pancakeSwapInfinityPositionManagerAbi, parseToStroops, parseTokenArrayFromJson, permit2Abi, poolAbi, poolKeyAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sleep, sonicWalletFactoryAbi, spokeAssetManagerAbi, stakedSodaAbi, stakingRouterAbi, stataTokenFactoryAbi, submitTransaction, swapExactInSingleParamsAbi, uiPoolDataAbi, universalRouterAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
14998
+ export { type AggregatedReserveData, type AllowanceInfo, type AllowanceResponse, type AllowanceTransferDetails, type ApiResponse, type ApyRange, type AssetDepositParams, type AssetEntry, AssetService, type AssetServiceAllowanceCheckFailedError, type AssetServiceApprovalFailedError, type AssetServiceConfig, type AssetServiceConstructorParams, type AssetServiceDepositFailedError, type AssetServiceError, type AssetServiceErrorCode, type AssetServiceSubmitTxFailedError, type AssetServiceUnknownError, type AssetServiceUnknownErrorCode, type AssetServiceWithdrawFailedError, type AssetWithdrawParams, type AutoSwapPreferences, type BackendApiConfig, BackendApiService, type Balance, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BalnSwapServiceConstructorParams, type BaseCurrencyInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BitcoinBaseSpokeProvider, BitcoinRawSpokeProvider, type BitcoinSpokeDepositParams, BitcoinSpokeProvider, type BitcoinSpokeProviderType, BitcoinSpokeService, type BitcoinTransactionResult, type BitcoinTransferToHubParams, type BitcoinUTXO, BnUSDMigrationService, type BnUSDMigrationServiceConstructorParams, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type BridgeServiceConstructorParams, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, type CallResponse, type CancelUnstakeParams, type ClMintPositionEventLog, type ClPositionInfo, ClService, type ClServiceConfig, type ClServiceConstructorParams, type ClaimParams, type ClaimRewardsParams, type CombinedReserveData, type ComputedUserReserve, type ConcentratedLiquidityClaimRewardsFailedError, type ConcentratedLiquidityClaimRewardsParams, type ConcentratedLiquidityDecreaseLiquidityFailedError, type ConcentratedLiquidityDecreaseLiquidityParams, type ConcentratedLiquidityError, type ConcentratedLiquidityErrorCode, type ConcentratedLiquidityExtraData, type ConcentratedLiquidityGetPoolDataParams, type ConcentratedLiquidityGetPoolRewardConfigFailedError, type ConcentratedLiquidityIncreaseLiquidityFailedError, type ConcentratedLiquidityIncreaseLiquidityParams, type ConcentratedLiquidityOptionalExtraData, type ConcentratedLiquidityParams, type ConcentratedLiquiditySubmitTxFailedError, type ConcentratedLiquiditySupplyFailedError, type ConcentratedLiquiditySupplyParams, type ConcentratedLiquidityTokenInfo, type ConcentratedLiquidityUnknownError, type ConcentratedLiquidityUnknownErrorCode, type ConcentratedLiquidityWithdrawFailedError, type ConcentratedLiquidityWithdrawParams, ConfigService, type ConfigServiceConfig, type ConfigServiceConstructorParams, type ConnMsg, type CreateAssetDepositParams, type CreateAssetWithdrawParams, type CreateBridgeIntentParams, type CreateIntentAutoSwapError, type CreateIntentParams, type CreateLimitOrderParams, type CustomProvider, CustomSorobanServer, CustomStellarAccount, DEFAULT_BACKEND_API_ENDPOINT, DEFAULT_BACKEND_API_HEADERS, DEFAULT_BACKEND_API_TIMEOUT, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type DecreaseLiquidityParams, type Default, type DepositSimulationParams, type DestinationParamsType, type DetailedLock, DexService, type DexServiceConfig, type DexServiceConstructorParams, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, type EmodeDataHumanized, type EnrichedToken, Erc20Service, Erc4626Service, EvmAssetManagerService, EvmBaseSpokeProvider, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, EvmHubProvider, type EvmHubProviderConfig, type EvmHubProviderConstructorParams, type EvmInitializedConfig, EvmRawSpokeProvider, type EvmRawSpokeProviderConfig, type EvmReturnType, EvmSolverService, type EvmSpokeDepositParams, EvmSpokeProvider, type EvmSpokeProviderType, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, type ExecuteIntentAutoSwapError, type ExecuteMsg, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FeeTokenApproveParams, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetAssetServiceError, type GetAssetServiceParams, type GetChainConfigType, type GetConcentratedLiquidityError, type GetConcentratedLiquidityParams, type GetEstimateGasReturnType, type GetIntentSubmitTxExtraDataParams, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, HubService, type HubTxHash, ICON_TX_RESULT_WAIT_MAX_RETRY, type IRawSpokeProvider, type ISpokeProvider, type IWalletProvider, IconBaseSpokeProvider, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, IconRawSpokeProvider, type IconRawSpokeProviderConfig, type IconRawTransaction, type IconReturnType, type IconSpokeDepositParams, IconSpokeProvider, type IconSpokeProviderType, IconSpokeService, type IconTransferToHubParams, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxMigrationServiceConstructorParams, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type IncreaseLiquidityParams, type InjTokenInfo, Injective20Token, InjectiveBaseSpokeProvider, type InjectiveGasEstimate, InjectiveRawSpokeProvider, type InjectiveRawSpokeProviderConfig, type InjectiveReturnType, type InjectiveSpokeDepositParams, InjectiveSpokeProvider, type InjectiveSpokeProviderType, InjectiveSpokeService, type InjectiveTransferToHubParams, type InstantUnstakeParams, type InstantiateMsg, type Intent, type IntentAutoSwapErrorData, type IntentAutoSwapResult, type IntentCancelFailedErrorData, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, IntentFilledEventAbi, type IntentFilledEventLog, type IntentPostExecutionFailedErrorData, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, type LimitOrderParams, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationServiceConstructorParams, type MigrationTokens, MintPositionEventAbi, type MintPositionEventLog, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketPosition, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketServiceConstructorParams, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, NearBaseSpokeProvider, NearRawSpokeProvider, type NearRawSpokeProviderConfig, type NearReturnType, NearSpokeProvider, type NearSpokeProviderType, type NearTransactionFailure, type NearTransactionResult, type NewbnUSDChainId, type OnDemandPayload, type Optional, type OptionalFee, type OptionalRaw, type OptionalSkipSimulation, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeClaimAssetBalance, PartnerFeeClaimService, type PartnerFeeClaimServiceConfig, type PartnerFeeClaimServiceConstructorParams, type PartnerFeeClaimSwapParams, type PartnerFeeConfig, type PartnerFeePercentage, PartnerService, type PartnerServiceConfig, type PartnerServiceConstructorParams, type Payload, Permit2Service, type PermitBatch, type PermitDetails, type PermitSingle, type PoolBaseCurrencyHumanized, type PoolData, type PoolRewardConfig, type PoolSpokeAssets, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseNearRawTxReturnType, type PromiseNearTxReturnType, type PromiseSolanaTxReturnType, type PromiseStacksTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, ProtocolIntentsAbi, type QueryMsg, type QueryResponse, type QuoteType, RAY, RAY_DECIMALS, type RadfiAuthResult, type RadfiBuildTxResponse, type RadfiConfig, type RadfiMaxSpentResponse, RadfiProvider, type RadfiTradingWallet, type RadfiUtxo, type RadfiUtxoListResponse, type RadfiWalletBalance, type RateLimitConfig, type RawDestinationParams, type RawSpokeProvider, type RawSpokeProviderConfig, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayExtraData, type RelayOptionalExtraData, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, type RequestOverrideConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, type SetSwapPreferenceError, type SetSwapPreferenceParams, Sodax, type SodaxConfig, SolanaBaseSpokeProvider, type SolanaGasEstimate, SolanaRawSpokeProvider, type SolanaRawSpokeProviderConfig, type SolanaRawTransaction, type SolanaReturnType, type SolanaSpokeDepositParams, SolanaSpokeProvider, type SolanaSpokeProviderType, SolanaSpokeService, type SolanaTransferToHubParams, SolverApiService, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, type SonicAddressOrSpokeType, SonicBaseSpokeProvider, SonicRawSpokeProvider, type SonicRawSpokeProviderConfig, type SonicSpokeDepositParams, SonicSpokeProvider, type SonicSpokeProviderType, SonicSpokeService, type SpokeDepositParams, type SpokeProvider, type SpokeProviderObjectType, type SpokeProviderType, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, StacksRawSpokeProvider, type StacksRawSpokeProviderConfig, type StacksRawTransaction, type StacksReturnType, type StacksSpokeDepositParams, StacksSpokeProvider, type StacksSpokeProviderType, StacksSpokeService, type StakeParams, type StakingAction, type StakingConfig, type StakingError, type StakingErrorCode, type StakingInfo, StakingLogic, type StakingParams, StakingService, type StakingServiceConstructorParams, StatATokenAddresses, type State, StellarBaseSpokeProvider, type StellarGasEstimate, StellarRawSpokeProvider, type StellarRawSpokeProviderConfig, type StellarReturnType, type StellarSpokeDepositParams, StellarSpokeProvider, type StellarSpokeProviderType, StellarSpokeService, type StellarTransferToHubParams, type SubmitTxExtraData, type SubmitTxParams, type SubmitTxResponse, SuiBaseSpokeProvider, type SuiGasEstimate, SuiRawSpokeProvider, type SuiRawSpokeProviderConfig, type SuiRawTransaction, type SuiReturnType, type SuiSpokeDepositParams, SuiSpokeProvider, type SuiSpokeProviderType, SuiSpokeService, type SuiTransferToHubParams, type SupplyLiquidityParams, SupportedMigrationTokens, type SwapParams, SwapService, type SwapServiceConfig, type SwapServiceConstructorParams, type TokenSpenderPair, type TokenWithConversion, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnknownIntentAutoSwapError, type UnstakeParams, type UnstakeRequest, type UnstakeRequestWithPenalty, type UnstakeSodaRequest, type UnstakingInfo, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserIntentsResponse, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, type UserUnstakeInfo, VAULT_TOKEN_DECIMALS, type VaultReserves, type VerifyTxHashRawConfig, type VerifyTxHashRawConfigType, type VerifyTxHashRawEvmConfig, type VerifyTxHashRawNearConfig, type VerifyTxHashRawSolanaConfig, type VerifyTxHashRawStellarConfig, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitIntentAutoSwapError, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletMode, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, clPoolAbi, clPoolManagerAbi, clPositionManagerAbi, clQuoterAbi, clRouterAbi, clTickLensAbi, connectionAbi, constructRawSpokeProvider, convertTransactionInstructionToRaw, defaultHookAbi, deriveUserWalletAddress, dexPools, encodeAddress, encodeContractCalls, erc20Abi, erc4626Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getConcentratedLiquidityConfig, getEvmViemChain, getHubChainConfig, getIconAddressBytes, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getTransactionPackets, hexToBigInt, hexToSolanaAddress, hyper, isAddressString, isBalnMigrateParams, isBitcoinRawSpokeProvider, isBitcoinSpokeProvider, isBitcoinSpokeProviderType, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isCreateIntentAutoSwapError, isEvmHubChainConfig, isEvmInitializedConfig, isEvmRawSpokeProvider, isEvmRawSpokeProviderConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmSpokeProviderType, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isHubSpokeProvider, isIconAddress, isIconRawSpokeProvider, isIconSpokeProvider, isIconSpokeProviderType, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveRawSpokeProvider, isInjectiveSpokeProvider, isInjectiveSpokeProviderType, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketWithdrawUnknownError, isNearRawSpokeProvider, isNearRawSpokeProviderConfig, isNearSpokeProvider, isNearSpokeProviderType, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isRawDestinationParams, isRawSpokeProvider, isResponseAddressType, isResponseSigningType, isSetSwapPreferenceError, isSolanaNativeToken, isSolanaRawSpokeProvider, isSolanaRawSpokeProviderConfig, isSolanaSpokeProvider, isSolanaSpokeProviderType, isSolverErrorResponse, isSonicRawSpokeProvider, isSonicRawSpokeProviderConfig, isSonicSpokeProvider, isSonicSpokeProviderType, isSpokeProvider, isSpokeProviderObjectType, isSpokeProviderType, isStacksRawSpokeProvider, isStacksRawSpokeProviderConfig, isStacksSpokeProvider, isStacksSpokeProviderType, isStellarRawSpokeProvider, isStellarRawSpokeProviderConfig, isStellarSpokeProvider, isStellarSpokeProviderType, isSubmitSwapTxResponse, isSubmitSwapTxStatusResponse, isSuiRawSpokeProvider, isSuiSpokeProvider, isSuiSpokeProviderType, isUnifiedBnUSDMigrateParams, isUnknownIntentAutoSwapError, isWaitIntentAutoSwapError, isWaitUntilIntentExecutedFailed, mintPositionParamsAbi, modifyLiquidityParamsAbi, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizePsbtToBase64, normalizedToUsd, pancakeSwapInfinityDefaultHookAbi, pancakeSwapInfinityPoolManagerAbi, pancakeSwapInfinityPositionManagerAbi, parseToStroops, parseTokenArrayFromJson, permit2Abi, poolAbi, poolKeyAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, serializeAddressData, sleep, sonicWalletFactoryAbi, spokeAssetManagerAbi, stakedSodaAbi, stakingRouterAbi, stataTokenFactoryAbi, submitTransaction, swapExactInSingleParamsAbi, uiPoolDataAbi, universalRouterAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForStacksTransaction, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };