@sodax/sdk 1.1.0-beta → 1.2.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,7 +1,7 @@
1
- import { IconAddress, IInjectiveWalletProvider, InjectiveExecuteResponse, SolanaChainConfig, SolanaBase58PublicKey, SolanaRpcResponseAndContext, SolanaTokenAmount, SolanaRawTransactionInstruction, WalletAddressProvider, SolanaSerializedTransaction, ISolanaWalletProvider, StellarSpokeChainConfig, StellarRpcConfig, IStellarWalletProvider, SuiSpokeChainConfig, SuiPaginatedCoins, SuiExecutionResult, ISuiWalletProvider, Address, Erc20Token, HttpUrl, SpokeChainId, Token, GetMoneyMarketTokensApiResponse, defaultSharedConfig, IconSpokeChainConfig, IIconWalletProvider, EvmHubChainConfig, EvmSpokeChainConfig, IEvmWalletProvider, SpokeChainConfig, SonicSpokeChainConfig, EvmChainId, InjectiveSpokeChainConfig, JsonObject, InjectiveRawTransaction, AssetInfo, Hex as Hex$1, TokenInfo, HubAddress, ChainId, EvmRawTransaction, SolverConfig, Hash as Hash$1, IntentRelayChainId, StellarRawTransaction, MoneyMarketConfig, spokeChainConfig, ICON_MAINNET_CHAIN_ID, ChainType, BaseSpokeChainConfig, IConfigApi, GetAllConfigApiResponse, GetChainsApiResponse, GetSwapTokensApiResponse, GetSwapTokensByChainIdApiResponse, GetMoneyMarketReserveAssetsApiResponse, GetMoneyMarketTokensByChainIdApiResponse, GetHubAssetsApiResponse, GetHubAssetsByChainIdApiResponse, GetRelayChainIdMapApiResponse, GetSpokeChainConfigApiResponse, OriginalAssetAddress, HubAssetInfo, HubChainId, XToken, EvmRawTransactionReceipt, 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, Address, Erc20Token, HttpUrl, SpokeChainId, Token, GetMoneyMarketTokensApiResponse, SolverConfig, HubAsset, OriginalAssetAddress, XToken, Hex as Hex$1, defaultSharedConfig, IconSpokeChainConfig, IIconWalletProvider, EvmHubChainConfig, EvmSpokeChainConfig, IEvmWalletProvider, SpokeChainConfig, SonicSpokeChainConfig, EvmChainId, InjectiveSpokeChainConfig, JsonObject, InjectiveRawTransaction, AssetInfo, TokenInfo, HubAddress, ChainId, EvmRawTransaction, Hash as Hash$1, IntentRelayChainId, StellarRawTransaction, MoneyMarketConfig, spokeChainConfig, ICON_MAINNET_CHAIN_ID, ChainType, BaseSpokeChainConfig, IConfigApi, GetAllConfigApiResponse, GetChainsApiResponse, GetSwapTokensApiResponse, GetSwapTokensByChainIdApiResponse, GetMoneyMarketReserveAssetsApiResponse, GetMoneyMarketTokensByChainIdApiResponse, GetHubAssetsApiResponse, GetHubAssetsByChainIdApiResponse, GetRelayChainIdMapApiResponse, GetSpokeChainConfigApiResponse, HubAssetInfo, HubChainId, EvmRawTransactionReceipt, IconEoaAddress, HubChainConfig, BridgeLimit } from '@sodax/types';
2
2
  export * from '@sodax/types';
3
3
  import * as viem from 'viem';
4
- import { Hex, PublicClient, HttpTransport, Address as Address$1, WalletClient, CustomTransport, Chain, Account as Account$1, Hash, GetLogsReturnType, TransactionReceipt } from 'viem';
4
+ import { Hex, Address as Address$1, PublicClient, HttpTransport, WalletClient, CustomTransport, Chain, Account as Account$1, Hash, GetLogsReturnType, TransactionReceipt } from 'viem';
5
5
  import { IconService } from 'icon-sdk-js';
6
6
  import { Connection, TransactionInstruction, PublicKey, Finality } from '@solana/web3.js';
7
7
  import { SuiClient } from '@mysten/sui/client';
@@ -4472,6 +4472,75 @@ declare const IntentsAbi: readonly [{
4472
4472
  readonly inputs: readonly [];
4473
4473
  }];
4474
4474
 
4475
+ declare const ProtocolIntentsAbi: readonly [{
4476
+ readonly type: "function";
4477
+ readonly name: "setAutoSwapPreferences";
4478
+ readonly inputs: readonly [{
4479
+ readonly name: "outputToken";
4480
+ readonly type: "address";
4481
+ readonly internalType: "address";
4482
+ }, {
4483
+ readonly name: "dstChain";
4484
+ readonly type: "uint256";
4485
+ readonly internalType: "uint256";
4486
+ }, {
4487
+ readonly name: "dstAddress";
4488
+ readonly type: "bytes";
4489
+ readonly internalType: "bytes";
4490
+ }];
4491
+ readonly outputs: readonly [];
4492
+ readonly stateMutability: "nonpayable";
4493
+ }, {
4494
+ readonly type: "function";
4495
+ readonly name: "createIntentAutoSwap";
4496
+ readonly inputs: readonly [{
4497
+ readonly name: "user";
4498
+ readonly type: "address";
4499
+ readonly internalType: "address";
4500
+ }, {
4501
+ readonly name: "fromToken";
4502
+ readonly type: "address";
4503
+ readonly internalType: "address";
4504
+ }, {
4505
+ readonly name: "amount";
4506
+ readonly type: "uint256";
4507
+ readonly internalType: "uint256";
4508
+ }, {
4509
+ readonly name: "minOutputAmount";
4510
+ readonly type: "uint256";
4511
+ readonly internalType: "uint256";
4512
+ }];
4513
+ readonly outputs: readonly [];
4514
+ readonly stateMutability: "nonpayable";
4515
+ }, {
4516
+ readonly type: "function";
4517
+ readonly name: "getAutoSwapPreferences";
4518
+ readonly inputs: readonly [{
4519
+ readonly name: "user";
4520
+ readonly type: "address";
4521
+ readonly internalType: "address";
4522
+ }];
4523
+ readonly outputs: readonly [{
4524
+ readonly name: "";
4525
+ readonly type: "tuple";
4526
+ readonly internalType: "struct AutoSwapPreferences";
4527
+ readonly components: readonly [{
4528
+ readonly name: "outputToken";
4529
+ readonly type: "address";
4530
+ readonly internalType: "address";
4531
+ }, {
4532
+ readonly name: "dstChain";
4533
+ readonly type: "uint256";
4534
+ readonly internalType: "uint256";
4535
+ }, {
4536
+ readonly name: "dstAddress";
4537
+ readonly type: "bytes";
4538
+ readonly internalType: "bytes";
4539
+ }];
4540
+ }];
4541
+ readonly stateMutability: "view";
4542
+ }];
4543
+
4475
4544
  declare const sonicWalletFactoryAbi: readonly [{
4476
4545
  readonly inputs: readonly [{
4477
4546
  readonly internalType: "address";
@@ -6936,6 +7005,198 @@ declare class MoneyMarketService {
6936
7005
  getSupportedReserves(): readonly Address[];
6937
7006
  }
6938
7007
 
7008
+ type PartnerFeeClaimAssetBalance = {
7009
+ symbol: string;
7010
+ name: string;
7011
+ address: Address$1;
7012
+ originalChain: SpokeChainId;
7013
+ originalAddress: Address$1;
7014
+ decimal: number;
7015
+ balance: bigint;
7016
+ };
7017
+ type AutoSwapPreferences = {
7018
+ outputToken: Address$1;
7019
+ dstChain: SpokeChainId | 'not configured';
7020
+ dstAddress: Hex$1;
7021
+ };
7022
+ type SetSwapPreferenceParams = {
7023
+ outputToken: Address$1;
7024
+ dstChain: SpokeChainId;
7025
+ dstAddress: string;
7026
+ };
7027
+ type FeeTokenApproveParams = {
7028
+ token: Address$1;
7029
+ spokeProvider: SonicSpokeProviderType;
7030
+ };
7031
+ type AssetEntry = {
7032
+ assetAddress: Address$1;
7033
+ originalChain: SpokeChainId;
7034
+ originalAddress: Address$1;
7035
+ hubAsset: {
7036
+ symbol: string;
7037
+ name: string;
7038
+ decimal: number;
7039
+ };
7040
+ };
7041
+ type PartnerFeeClaimSwapParams = {
7042
+ fromToken: Address$1;
7043
+ amount: bigint;
7044
+ timeout?: number;
7045
+ };
7046
+ type PartnerFeeClaimServiceConfig = Prettify<SolverConfig & {
7047
+ relayerApiEndpoint?: string;
7048
+ protocolIntentsContract?: Address$1;
7049
+ }>;
7050
+ type PartnerFeeClaimServiceConstructorParams = {
7051
+ config?: PartnerFeeClaimServiceConfig;
7052
+ configService: ConfigService;
7053
+ hubProvider: EvmHubProvider;
7054
+ };
7055
+ type SetSwapPreferenceError = {
7056
+ code: 'SET_SWAP_PREFERENCE_FAILED';
7057
+ data: {
7058
+ payload: SetSwapPreferenceParams;
7059
+ error: unknown;
7060
+ };
7061
+ };
7062
+ type IntentAutoSwapErrorData = {
7063
+ payload: PartnerFeeClaimSwapParams;
7064
+ error: unknown;
7065
+ };
7066
+ type CreateIntentAutoSwapError = {
7067
+ code: 'CREATE_INTENT_AUTO_SWAP_FAILED';
7068
+ data: IntentAutoSwapErrorData;
7069
+ };
7070
+ type WaitIntentAutoSwapError = {
7071
+ code: 'WAIT_INTENT_AUTO_SWAP_FAILED';
7072
+ data: IntentAutoSwapErrorData;
7073
+ };
7074
+ type UnknownIntentAutoSwapError = {
7075
+ code: 'UNKNOWN';
7076
+ data: IntentAutoSwapErrorData;
7077
+ };
7078
+ type ExecuteIntentAutoSwapError = CreateIntentAutoSwapError | WaitIntentAutoSwapError | SolverErrorResponse | UnknownIntentAutoSwapError;
7079
+ type IntentAutoSwapResult = {
7080
+ srcTxHash: Hex$1;
7081
+ solverExecutionResponse: SolverExecutionResponse;
7082
+ intentTxHash: Hex$1;
7083
+ };
7084
+ declare class PartnerFeeClaimService {
7085
+ readonly config: PartnerFeeClaimServiceConfig;
7086
+ readonly hubProvider: EvmHubProvider;
7087
+ readonly configService: ConfigService;
7088
+ constructor({ config, configService, hubProvider }: PartnerFeeClaimServiceConstructorParams);
7089
+ /**
7090
+ * Util methods for dealing with tokens and hub assets
7091
+ */
7092
+ getAllHubAssets(): Record<SpokeChainId, Record<string, HubAsset>>;
7093
+ getOriginalAssetAddress(chainId: SpokeChainId, hubAsset: Address$1): OriginalAssetAddress | undefined;
7094
+ getSpokeTokenFromOriginalAssetAddress(chainId: SpokeChainId, originalAssetAddress: OriginalAssetAddress): XToken | undefined;
7095
+ /**
7096
+ * Fetches balances for all hub assets across all chains on Sonic for a given address or provider.
7097
+ *
7098
+ * @param params - Either an EVM address (as a string) or a SonicSpokeProviderType.
7099
+ * If an address, queries balances for that address.
7100
+ * If a SonicSpokeProviderType, uses the connected wallet's address.
7101
+ * @returns A promise resolving to a Result containing a Map from wrapped asset address (on Sonic)
7102
+ * to PartnerFeeClaimAssetBalance, or an Error on failure.
7103
+ */
7104
+ fetchAssetsBalances(params: SonicAddressOrSpokeType): Promise<Result<Map<string, PartnerFeeClaimAssetBalance>, Error>>;
7105
+ /**
7106
+ * Gets the auto swap preferences for a user.
7107
+ *
7108
+ * @param params - Either an EVM address (as a string) or a SonicSpokeProviderType.
7109
+ * If an address, queries preferences for that address.
7110
+ * If a SonicSpokeProviderType, uses the connected wallet's address.
7111
+ * @returns A promise resolving to a Result containing the auto swap preferences, or an Error on failure.
7112
+ * The auto swap preferences include the output token, destination chain, and destination address.
7113
+ */
7114
+ getAutoSwapPreferences(params: SonicAddressOrSpokeType): Promise<Result<AutoSwapPreferences, Error>>;
7115
+ /**
7116
+ * Sets the auto swap preferences for a user.
7117
+ *
7118
+ * @template S - Type of the Sonic spoke provider
7119
+ * @template R - Whether to return raw transaction data (default: false)
7120
+ * @param {Object} args - The argument object
7121
+ * @param {SetSwapPreferenceParams} args.params - The swap preference parameters
7122
+ * @param {S} args.spokeProvider - The Sonic spoke provider
7123
+ * @param {R} [args.raw] - If true, the raw transaction data will be returned
7124
+ * @returns {Promise<Result<TxReturnType<S, R>, SetSwapPreferenceError>>}
7125
+ * - If `raw` is true or the provider is a raw provider, returns the raw transaction object.
7126
+ * - Otherwise, returns the transaction hash of the submitted transaction.
7127
+ * - If failed, returns an error object with code 'SET_SWAP_PREFERENCE_FAILED'.
7128
+ */
7129
+ setSwapPreference<S extends SonicSpokeProviderType, R extends boolean = false>({ params, spokeProvider, raw, }: {
7130
+ params: SetSwapPreferenceParams;
7131
+ spokeProvider: S;
7132
+ raw?: R;
7133
+ }): Promise<Result<TxReturnType<S, R>, SetSwapPreferenceError>>;
7134
+ /**
7135
+ * Checks if a token is already approved to the protocol intents contract for a given address or the connected wallet.
7136
+ *
7137
+ * @param params - Object containing:
7138
+ * - token: The ERC20 token address to check.
7139
+ * - spokeProvider: The SonicSpokeProviderType instance.
7140
+ * - address (optional): The address to check allowance for. If not provided, uses the currently connected wallet.
7141
+ * @returns Promise resolving to a Result. Value is true if token is approved (has max or sufficient allowance), false otherwise. Returns an error if the check fails.
7142
+ */
7143
+ isTokenApproved({ token, spokeProvider }: FeeTokenApproveParams): Promise<Result<boolean, Error>>;
7144
+ /**
7145
+ * Approves a token to the protocol intents contract with maximum allowance
7146
+ * @param {Address} token - The token address to approve
7147
+ * @param {SonicSpokeProviderType} spokeProvider - The Sonic spoke provider
7148
+ * @param {boolean} raw - Whether to return raw transaction data
7149
+ * @returns {Promise<Result<TxReturnType<SonicSpokeProviderType, R>, Error>>} Transaction hash or raw transaction
7150
+ */
7151
+ approveToken<S extends SonicSpokeProviderType, R extends boolean = false>({ token, spokeProvider, raw, }: FeeTokenApproveParams & OptionalRaw<R>): Promise<Result<TxReturnType<S, R>, Error>>;
7152
+ /**
7153
+ * Creates an intent to auto swap tokens using the protocol intents contract
7154
+ * @param {PartnerFeeClaimSwapParams} params - The swap parameters
7155
+ * @param {SonicSpokeProviderType} spokeProvider - The Sonic spoke provider
7156
+ * @param {boolean} raw - Whether to return raw transaction data
7157
+ * @returns {Promise<TxReturnType<SonicSpokeProviderType, R>>} Transaction hash or raw transaction
7158
+ */
7159
+ createIntentAutoSwap<S extends SonicSpokeProviderType, R extends boolean = false>({ params, spokeProvider, raw, }: {
7160
+ params: PartnerFeeClaimSwapParams;
7161
+ spokeProvider: S;
7162
+ } & OptionalRaw<R>): Promise<Result<TxReturnType<S, R>, CreateIntentAutoSwapError>>;
7163
+ /**
7164
+ * Creates an intent auto swap and handles post-execution
7165
+ * @param {PartnerFeeClaimSwapParams} params - The swap parameters
7166
+ * @param {SonicSpokeProviderType} spokeProvider - The Sonic spoke provider
7167
+ * @returns {Promise<Result<SolverExecutionResponse, IntentError<IntentErrorCode>>>} Solver execution response
7168
+ */
7169
+ swap<S extends SonicSpokeProvider>({ params, spokeProvider, }: {
7170
+ params: PartnerFeeClaimSwapParams;
7171
+ spokeProvider: S;
7172
+ }): Promise<Result<IntentAutoSwapResult, ExecuteIntentAutoSwapError>>;
7173
+ }
7174
+ /**
7175
+ * Error type guards for error handling
7176
+ */
7177
+ declare function isSetSwapPreferenceError(error: unknown): error is SetSwapPreferenceError;
7178
+ declare function isCreateIntentAutoSwapError(error: unknown): error is CreateIntentAutoSwapError;
7179
+ declare function isWaitIntentAutoSwapError(error: unknown): error is WaitIntentAutoSwapError;
7180
+ declare function isSolverErrorResponse(error: unknown): error is SolverErrorResponse;
7181
+ declare function isUnknownIntentAutoSwapError(error: unknown): error is UnknownIntentAutoSwapError;
7182
+
7183
+ type PartnerServiceConfig = {
7184
+ feeClaim?: PartnerFeeClaimServiceConfig;
7185
+ };
7186
+ type PartnerServiceConstructorParams = {
7187
+ feeClaim?: PartnerFeeClaimServiceConfig;
7188
+ configService: ConfigService;
7189
+ hubProvider: EvmHubProvider;
7190
+ };
7191
+ /**
7192
+ * PartnerService is a service that allows you to interact with the partner fee claim and other partner operations
7193
+ * @param {PartnerServiceConstructorParams} params - The constructor parameters
7194
+ */
7195
+ declare class PartnerService {
7196
+ readonly feeClaim: PartnerFeeClaimService;
7197
+ constructor(config: PartnerServiceConstructorParams);
7198
+ }
7199
+
6939
7200
  type SodaxConfig = {
6940
7201
  swaps?: SolverConfigParams;
6941
7202
  moneyMarket?: MoneyMarketConfigParams;
@@ -6944,6 +7205,7 @@ type SodaxConfig = {
6944
7205
  hubProviderConfig?: EvmHubProviderConfig;
6945
7206
  relayerApiEndpoint?: HttpUrl;
6946
7207
  backendApiConfig?: BackendApiConfig;
7208
+ partners?: PartnerServiceConfig;
6947
7209
  sharedConfig?: typeof defaultSharedConfig;
6948
7210
  };
6949
7211
  /**
@@ -6959,6 +7221,7 @@ declare class Sodax {
6959
7221
  readonly backendApi: BackendApiService;
6960
7222
  readonly bridge: BridgeService;
6961
7223
  readonly staking: StakingService;
7224
+ readonly partners: PartnerService;
6962
7225
  readonly config: ConfigService;
6963
7226
  readonly hubProvider: EvmHubProvider;
6964
7227
  readonly relayerApiEndpoint: HttpUrl;
@@ -9488,6 +9751,11 @@ type RelayOptionalExtraData = {
9488
9751
  data?: RelayExtraData;
9489
9752
  };
9490
9753
  type GetChainConfigType<T extends ChainType> = T extends 'EVM' ? EvmSpokeChainConfig : T extends 'SOLANA' ? SolanaChainConfig : T extends 'STELLAR' ? StellarSpokeChainConfig : T extends 'ICON' ? IconSpokeChainConfig : T extends 'SUI' ? SuiSpokeChainConfig : T extends 'INJECTIVE' ? InjectiveSpokeChainConfig : BaseSpokeChainConfig<T>;
9754
+ type SonicAddressOrSpokeType = {
9755
+ address: Address;
9756
+ } | {
9757
+ spokeProvider: SonicSpokeProviderType;
9758
+ };
9491
9759
 
9492
9760
  /**
9493
9761
  * BackendApiService - Proxy service for Sodax Backend API
@@ -9824,6 +10092,7 @@ declare class ConfigService {
9824
10092
  getHubAssetInfo(chainId: SpokeChainId, asset: OriginalAssetAddress): HubAssetInfo | undefined;
9825
10093
  isValidOriginalAssetAddress(chainId: SpokeChainId, asset: OriginalAssetAddress): boolean;
9826
10094
  getOriginalAssetAddress(chainId: SpokeChainId, hubAsset: Address): OriginalAssetAddress | undefined;
10095
+ getSpokeTokenFromOriginalAssetAddress(chainId: SpokeChainId, originalAssetAddress: OriginalAssetAddress): XToken | undefined;
9827
10096
  isValidHubAsset(hubAsset: Address): boolean;
9828
10097
  isValidSodaVaultAsset(vault: string): boolean;
9829
10098
  isValidVault(vault: string | Token): boolean;
@@ -10316,6 +10585,7 @@ declare function isIconRawSpokeProvider(value: unknown): value is IconRawSpokePr
10316
10585
  declare function isSuiRawSpokeProvider(value: unknown): value is SuiRawSpokeProvider;
10317
10586
  declare function isInjectiveRawSpokeProvider(value: unknown): value is InjectiveRawSpokeProvider;
10318
10587
  declare function isSonicRawSpokeProvider(value: unknown): value is SonicRawSpokeProvider;
10588
+ declare function isAddressString(value: unknown): value is string;
10319
10589
 
10320
10590
  type CreateBridgeIntentParams = {
10321
10591
  srcChainId: SpokeChainId;
@@ -11370,4 +11640,4 @@ declare class MigrationService {
11370
11640
  createRevertSodaToIcxMigrationIntent<S extends SonicSpokeProviderType = SonicSpokeProviderType, R extends boolean = false>(params: Omit<IcxCreateRevertMigrationParams, 'wICX'>, spokeProvider: S, raw?: R): Promise<Result<TxReturnType<S, R>, MigrationError<'CREATE_REVERT_MIGRATION_INTENT_FAILED'>>>;
11371
11641
  }
11372
11642
 
11373
- export { type AggregatedReserveData, type AllowanceResponse, type ApiResponse, type BackendApiConfig, BackendApiService, type Balance, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BalnSwapServiceConstructorParams, type BaseCurrencyInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, 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 CancelUnstakeParams, type ClaimParams, type CombinedReserveData, type ComputedUserReserve, ConfigService, type ConfigServiceConfig, type ConfigServiceConstructorParams, type ConnMsg, type CreateBridgeIntentParams, 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 Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, EvmBaseSpokeProvider, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, EvmHubProvider, type EvmHubProviderConfig, type EvmHubProviderConstructorParams, type EvmInitializedConfig, EvmRawSpokeProvider, 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 ExecuteMsg, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, 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 GetChainConfigType, 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 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 InjTokenInfo, Injective20Token, InjectiveBaseSpokeProvider, type InjectiveGasEstimate, InjectiveRawSpokeProvider, type InjectiveReturnType, type InjectiveSpokeDepositParams, InjectiveSpokeProvider, type InjectiveSpokeProviderType, InjectiveSpokeService, type InjectiveTransferToHubParams, type InstantUnstakeParams, type InstantiateMsg, type Intent, 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, 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, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeConfig, type PartnerFeePercentage, type PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, type QueryMsg, type QuoteType, RAY, RAY_DECIMALS, type RawSpokeProvider, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayExtraData, type RelayOptionalExtraData, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, 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, 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, SonicBaseSpokeProvider, SonicRawSpokeProvider, type SonicSpokeDepositParams, SonicSpokeProvider, type SonicSpokeProviderType, SonicSpokeService, type SpokeDepositParams, type SpokeProvider, 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, type State, StellarBaseSpokeProvider, type StellarGasEstimate, StellarRawSpokeProvider, type StellarReturnType, type StellarSpokeDepositParams, StellarSpokeProvider, type StellarSpokeProviderType, StellarSpokeService, type StellarTransferToHubParams, type SubmitTxExtraData, type SubmitTxParams, type SubmitTxResponse, SuiBaseSpokeProvider, type SuiGasEstimate, SuiRawSpokeProvider, type SuiRawTransaction, type SuiReturnType, type SuiSpokeDepositParams, SuiSpokeProvider, type SuiSpokeProviderType, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, SwapService, type SwapServiceConfig, type SwapServiceConstructorParams, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, 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, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, connectionAbi, convertTransactionInstructionToRaw, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubChainConfig, getIconAddressBytes, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getTransactionPackets, hexToBigInt, hexToSolanaAddress, hyper, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmRawSpokeProvider, 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, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isRawSpokeProvider, isResponseAddressType, isResponseSigningType, isSolanaNativeToken, isSolanaRawSpokeProvider, isSolanaSpokeProvider, isSolanaSpokeProviderType, isSonicRawSpokeProvider, isSonicSpokeProvider, isSonicSpokeProviderType, isStellarRawSpokeProvider, isStellarSpokeProvider, isStellarSpokeProviderType, isSuiRawSpokeProvider, isSuiSpokeProvider, isSuiSpokeProviderType, isUnifiedBnUSDMigrateParams, isWaitUntilIntentExecutedFailed, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, parseToStroops, parseTokenArrayFromJson, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sleep, sonicWalletFactoryAbi, spokeAssetManagerAbi, stakedSodaAbi, stakingRouterAbi, submitTransaction, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
11643
+ export { type AggregatedReserveData, type AllowanceResponse, type ApiResponse, type AssetEntry, type AutoSwapPreferences, type BackendApiConfig, BackendApiService, type Balance, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BalnSwapServiceConstructorParams, type BaseCurrencyInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, 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 CancelUnstakeParams, type ClaimParams, type CombinedReserveData, type ComputedUserReserve, ConfigService, type ConfigServiceConfig, type ConfigServiceConstructorParams, type ConnMsg, 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 Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, EvmBaseSpokeProvider, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, EvmHubProvider, type EvmHubProviderConfig, type EvmHubProviderConstructorParams, type EvmInitializedConfig, EvmRawSpokeProvider, 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 GetChainConfigType, 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 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 InjTokenInfo, Injective20Token, InjectiveBaseSpokeProvider, type InjectiveGasEstimate, InjectiveRawSpokeProvider, 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, 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, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, 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 PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, ProtocolIntentsAbi, type QueryMsg, type QuoteType, RAY, RAY_DECIMALS, type RawSpokeProvider, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayExtraData, type RelayOptionalExtraData, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, 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 SonicSpokeDepositParams, SonicSpokeProvider, type SonicSpokeProviderType, SonicSpokeService, type SpokeDepositParams, type SpokeProvider, 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, type State, StellarBaseSpokeProvider, type StellarGasEstimate, StellarRawSpokeProvider, type StellarReturnType, type StellarSpokeDepositParams, StellarSpokeProvider, type StellarSpokeProviderType, StellarSpokeService, type StellarTransferToHubParams, type SubmitTxExtraData, type SubmitTxParams, type SubmitTxResponse, SuiBaseSpokeProvider, type SuiGasEstimate, SuiRawSpokeProvider, type SuiRawTransaction, type SuiReturnType, type SuiSpokeDepositParams, SuiSpokeProvider, type SuiSpokeProviderType, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, SwapService, type SwapServiceConfig, type SwapServiceConstructorParams, 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, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitIntentAutoSwapError, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, connectionAbi, convertTransactionInstructionToRaw, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubChainConfig, getIconAddressBytes, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getTransactionPackets, hexToBigInt, hexToSolanaAddress, hyper, isAddressString, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isCreateIntentAutoSwapError, isEvmHubChainConfig, isEvmInitializedConfig, isEvmRawSpokeProvider, 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, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isRawSpokeProvider, isResponseAddressType, isResponseSigningType, isSetSwapPreferenceError, isSolanaNativeToken, isSolanaRawSpokeProvider, isSolanaSpokeProvider, isSolanaSpokeProviderType, isSolverErrorResponse, isSonicRawSpokeProvider, isSonicSpokeProvider, isSonicSpokeProviderType, isStellarRawSpokeProvider, isStellarSpokeProvider, isStellarSpokeProviderType, isSuiRawSpokeProvider, isSuiSpokeProvider, isSuiSpokeProviderType, isUnifiedBnUSDMigrateParams, isUnknownIntentAutoSwapError, isWaitIntentAutoSwapError, isWaitUntilIntentExecutedFailed, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, parseToStroops, parseTokenArrayFromJson, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sleep, sonicWalletFactoryAbi, spokeAssetManagerAbi, stakedSodaAbi, stakingRouterAbi, submitTransaction, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };