@sodax/sdk 0.0.1-rc.31 → 0.0.1-rc.33

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,5 +1,5 @@
1
1
  import { Address, Hex, PublicClient, HttpTransport, Hash, GetLogsReturnType, TransactionReceipt, WalletClient, CustomTransport, Chain, Account } from 'viem';
2
- import { IInjectiveWalletProvider, InjectiveExecuteResponse, SpokeChainId, Hex as Hex$1, IEvmWalletProvider, Address as Address$1, HubAddress, EvmRawTransaction, ISuiWalletProvider, Hash as Hash$1, IconEoaAddress, IIconWalletProvider, ISolanaWalletProvider, SolanaBase58PublicKey, IStellarWalletProvider, ChainType, HubChainId, Token, InjectiveNetworkEnv, StellarRawTransaction, InjectiveRawTransaction, ICON_MAINNET_CHAIN_ID, EvmRawTransactionReceipt, ChainId, OriginalAssetAddress } from '@sodax/types';
2
+ import { IInjectiveWalletProvider, InjectiveExecuteResponse, SpokeChainId, Hex as Hex$1, IEvmWalletProvider, Address as Address$1, HubAddress, EvmRawTransaction, ISuiWalletProvider, Hash as Hash$1, IconEoaAddress, XToken, IIconWalletProvider, ISolanaWalletProvider, SolanaBase58PublicKey, IStellarWalletProvider, ChainType, HubChainId, Token, InjectiveNetworkEnv, StellarRawTransaction, InjectiveRawTransaction, ICON_MAINNET_CHAIN_ID, EvmRawTransactionReceipt, ChainId, OriginalAssetAddress } from '@sodax/types';
3
3
  export * from '@sodax/types';
4
4
  import { TxGrpcApi } from '@injectivelabs/sdk-ts';
5
5
  import { Horizon, SorobanRpc, Transaction as Transaction$1, Memo, MemoType, Operation, FeeBumpTransaction } from '@stellar/stellar-sdk';
@@ -7605,6 +7605,391 @@ declare class BalnSwapService {
7605
7605
  call<R extends boolean = false>(spokeProvider: SonicSpokeProvider, rawTx: EvmContractCall, raw?: R): PromiseEvmTxReturnType<R>;
7606
7606
  }
7607
7607
 
7608
+ /**
7609
+ * BackendApiService - Proxy service for Sodax Backend API
7610
+ * Acts as a wrapper around all backend API endpoints for Solver and Money Market functionality
7611
+ */
7612
+
7613
+ interface ApiResponse<T = unknown> {
7614
+ data: T;
7615
+ status: number;
7616
+ message?: string;
7617
+ }
7618
+ interface RequestConfig {
7619
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE';
7620
+ headers?: Record<string, string>;
7621
+ body?: string;
7622
+ timeout?: number;
7623
+ }
7624
+ interface IntentResponse {
7625
+ intentHash: string;
7626
+ txHash: string;
7627
+ logIndex: number;
7628
+ chainId: number;
7629
+ blockNumber: number;
7630
+ open: boolean;
7631
+ intent: {
7632
+ intentId: string;
7633
+ creator: string;
7634
+ inputToken: string;
7635
+ outputToken: string;
7636
+ inputAmount: string;
7637
+ minOutputAmount: string;
7638
+ deadline: string;
7639
+ allowPartialFill: boolean;
7640
+ srcChain: number;
7641
+ dstChain: number;
7642
+ srcAddress: string;
7643
+ dstAddress: string;
7644
+ solver: string;
7645
+ data: string;
7646
+ };
7647
+ events: unknown[];
7648
+ }
7649
+ interface OrderbookResponse {
7650
+ total: number;
7651
+ data: Array<{
7652
+ intentState: {
7653
+ exists: boolean;
7654
+ remainingInput: string;
7655
+ receivedOutput: string;
7656
+ pendingPayment: boolean;
7657
+ };
7658
+ intentData: {
7659
+ intentId: string;
7660
+ creator: string;
7661
+ inputToken: string;
7662
+ outputToken: string;
7663
+ inputAmount: string;
7664
+ minOutputAmount: string;
7665
+ deadline: string;
7666
+ allowPartialFill: boolean;
7667
+ srcChain: number;
7668
+ dstChain: number;
7669
+ srcAddress: string;
7670
+ dstAddress: string;
7671
+ solver: string;
7672
+ data: string;
7673
+ intentHash: string;
7674
+ txHash: string;
7675
+ blockNumber: number;
7676
+ };
7677
+ }>;
7678
+ }
7679
+ interface MoneyMarketPosition {
7680
+ userAddress: string;
7681
+ positions: Array<{
7682
+ reserveAddress: string;
7683
+ aTokenAddress: string;
7684
+ variableDebtTokenAddress: string;
7685
+ aTokenBalance: string;
7686
+ variableDebtTokenBalance: string;
7687
+ blockNumber: number;
7688
+ }>;
7689
+ }
7690
+ interface MoneyMarketAsset {
7691
+ reserveAddress: string;
7692
+ aTokenAddress: string;
7693
+ totalATokenBalance: string;
7694
+ variableDebtTokenAddress: string;
7695
+ totalVariableDebtTokenBalance: string;
7696
+ liquidityRate: string;
7697
+ symbol: string;
7698
+ totalSuppliers: number;
7699
+ totalBorrowers: number;
7700
+ variableBorrowRate: string;
7701
+ stableBorrowRate: string;
7702
+ liquidityIndex: string;
7703
+ variableBorrowIndex: string;
7704
+ blockNumber: number;
7705
+ }
7706
+ interface MoneyMarketAssetBorrowers {
7707
+ borrowers: string[];
7708
+ total: number;
7709
+ offset: number;
7710
+ limit: number;
7711
+ }
7712
+ interface MoneyMarketAssetSuppliers {
7713
+ suppliers: string[];
7714
+ total: number;
7715
+ offset: number;
7716
+ limit: number;
7717
+ }
7718
+ interface MoneyMarketBorrowers {
7719
+ borrowers: string[];
7720
+ total: number;
7721
+ offset: number;
7722
+ limit: number;
7723
+ }
7724
+ /**
7725
+ * BackendApiService class that acts as a proxy to the Sodax Backend API
7726
+ * Provides methods for all Solver and Money Market endpoints
7727
+ */
7728
+ declare class BackendApiService {
7729
+ private readonly baseURL;
7730
+ private readonly defaultHeaders;
7731
+ private readonly timeout;
7732
+ constructor(config?: BackendApiConfig);
7733
+ /**
7734
+ * Make HTTP request using fetch API
7735
+ * @param endpoint - API endpoint path
7736
+ * @param config - Request configuration
7737
+ * @returns Promise<T>
7738
+ */
7739
+ private makeRequest;
7740
+ /**
7741
+ * Get intent details by transaction hash
7742
+ * @param txHash - Transaction hash
7743
+ * @returns Promise<IntentResponse>
7744
+ */
7745
+ getIntentByTxHash(txHash: string): Promise<IntentResponse>;
7746
+ /**
7747
+ * Get intent details by intent hash
7748
+ * @param intentHash - Intent hash
7749
+ * @returns Promise<IntentResponse>
7750
+ */
7751
+ getIntentByHash(intentHash: string): Promise<IntentResponse>;
7752
+ /**
7753
+ * Get the solver orderbook
7754
+ * @param params - Object containing offset and limit parameters for pagination
7755
+ * @returns Promise<OrderbookResponse>
7756
+ */
7757
+ getOrderbook(params: {
7758
+ offset: string;
7759
+ limit: string;
7760
+ }): Promise<OrderbookResponse>;
7761
+ /**
7762
+ * Get money market position for a specific user
7763
+ * @param userAddress - User's wallet address
7764
+ * @returns Promise<MoneyMarketPosition>
7765
+ */
7766
+ getMoneyMarketPosition(userAddress: string): Promise<MoneyMarketPosition>;
7767
+ /**
7768
+ * Get all money market assets
7769
+ * @returns Promise<MoneyMarketAsset[]>
7770
+ */
7771
+ getAllMoneyMarketAssets(): Promise<MoneyMarketAsset[]>;
7772
+ /**
7773
+ * Get specific money market asset details
7774
+ * @param reserveAddress - Reserve contract address
7775
+ * @returns Promise<MoneyMarketAsset>
7776
+ */
7777
+ getMoneyMarketAsset(reserveAddress: string): Promise<MoneyMarketAsset>;
7778
+ /**
7779
+ * Get borrowers for a specific money market asset
7780
+ * @param reserveAddress - Reserve contract address
7781
+ * @param params - Object containing offset and limit parameters for pagination
7782
+ * @returns Promise<MoneyMarketAssetBorrowers>
7783
+ */
7784
+ getMoneyMarketAssetBorrowers(reserveAddress: string, params: {
7785
+ offset: string;
7786
+ limit: string;
7787
+ }): Promise<MoneyMarketAssetBorrowers>;
7788
+ /**
7789
+ * Get suppliers for a specific money market asset
7790
+ * @param reserveAddress - Reserve contract address
7791
+ * @param params - Object containing offset and limit parameters for pagination
7792
+ * @returns Promise<MoneyMarketAssetSuppliers>
7793
+ */
7794
+ getMoneyMarketAssetSuppliers(reserveAddress: string, params: {
7795
+ offset: string;
7796
+ limit: string;
7797
+ }): Promise<MoneyMarketAssetSuppliers>;
7798
+ /**
7799
+ * Get all money market borrowers
7800
+ * @param params - Object containing offset and limit parameters for pagination
7801
+ * @returns Promise<MoneyMarketBorrowers>
7802
+ */
7803
+ getAllMoneyMarketBorrowers(params: {
7804
+ offset: string;
7805
+ limit: string;
7806
+ }): Promise<MoneyMarketBorrowers>;
7807
+ /**
7808
+ * Set custom headers for API requests
7809
+ * @param headers - Object containing header key-value pairs
7810
+ */
7811
+ setHeaders(headers: Record<string, string>): void;
7812
+ /**
7813
+ * Get the current base URL
7814
+ * @returns string
7815
+ */
7816
+ getBaseURL(): string;
7817
+ }
7818
+
7819
+ type CreateBridgeIntentParams = {
7820
+ srcChainId: SpokeChainId;
7821
+ srcAsset: string;
7822
+ amount: bigint;
7823
+ dstChainId: SpokeChainId;
7824
+ dstAsset: string;
7825
+ recipient: string;
7826
+ };
7827
+ type BridgeParams<S extends SpokeProvider> = Prettify<{
7828
+ params: CreateBridgeIntentParams;
7829
+ spokeProvider: S;
7830
+ skipSimulation?: boolean;
7831
+ } & OptionalFee>;
7832
+ type BridgeErrorCode = 'ALLOWANCE_CHECK_FAILED' | 'APPROVAL_FAILED' | 'CREATE_BRIDGE_INTENT_FAILED' | 'BRIDGE_FAILED' | RelayErrorCode;
7833
+ type BridgeError<T extends BridgeErrorCode> = {
7834
+ code: T;
7835
+ error: unknown;
7836
+ };
7837
+ type BridgeExtraData = {
7838
+ address: Hex$1;
7839
+ payload: Hex$1;
7840
+ };
7841
+ type BridgeOptionalExtraData = {
7842
+ data?: BridgeExtraData;
7843
+ };
7844
+ /**
7845
+ * BridgeService is a service that allows you to bridge tokens between chains
7846
+ * Birdge action can be between to spokes chains but can also be used to withdraw and deposit into soda tokens on the HUB.
7847
+ * By using soda tokens as src or destinatin address.
7848
+ * @param hubProvider - The hub provider
7849
+ * @param relayerApiEndpoint - The relayer API endpoint
7850
+ */
7851
+ declare class BridgeService {
7852
+ readonly hubProvider: EvmHubProvider;
7853
+ readonly relayerApiEndpoint: HttpUrl;
7854
+ readonly config: BridgeServiceConfig;
7855
+ constructor(hubProvider: EvmHubProvider, relayerApiEndpoint: HttpUrl, config?: BridgeServiceConfig | undefined);
7856
+ /**
7857
+ * Get the fee for a given input amount
7858
+ * @param {bigint} inputAmount - The amount of input tokens
7859
+ * @returns {Promise<bigint>} The fee amount (denominated in input tokens)
7860
+ *
7861
+ * @example
7862
+ * const fee: bigint = await sodax.bridge.getFee(1000000000000000n);
7863
+ * console.log('Fee:', fee);
7864
+ */
7865
+ getFee(inputAmount: bigint): bigint;
7866
+ /**
7867
+ * Check if allowance is valid for the bridge transaction
7868
+ * @param params - The bridge parameters
7869
+ * @param spokeProvider - The spoke provider
7870
+ * @returns {Promise<Result<boolean, BridgeError<'ALLOWANCE_CHECK_FAILED'>>>}
7871
+ */
7872
+ isAllowanceValid<S extends SpokeProvider>({ params, spokeProvider, }: BridgeParams<S>): Promise<Result<boolean, BridgeError<'ALLOWANCE_CHECK_FAILED'>>>;
7873
+ /**
7874
+ * Approve token spending for the bridge transaction
7875
+ * @param params - The bridge parameters
7876
+ * @param spokeProvider - The spoke provider
7877
+ * @param raw - Whether to return raw transaction data
7878
+ * @returns Promise<Result<TxReturnType<S, R>, BridgeError<'APPROVAL_FAILED'>>>
7879
+ */
7880
+ approve<S extends SpokeProvider, R extends boolean = false>({ params, spokeProvider, raw, }: Prettify<BridgeParams<S> & OptionalRaw<R>>): Promise<Result<TxReturnType<S, R>, BridgeError<'APPROVAL_FAILED'>>>;
7881
+ /**
7882
+ * Execute a bridge transaction to transfer tokens from one chain to another
7883
+ * @param params - The bridge parameters including source/destination chains, assets, and recipient
7884
+ * @param spokeProvider - The spoke provider for the source chain
7885
+ * @param timeout - The timeout in milliseconds for the transaction. Default is 60 seconds.
7886
+ * @returns {Promise<Result<[SpokeTxHash, HubTxHash], BridgeError<BridgeErrorCode>>>} - Returns the transaction hashes for both spoke and hub chains or error
7887
+ *
7888
+ * @example
7889
+ * const result = await sodax.bridge.bridge(
7890
+ * {
7891
+ * srcChainId: '0x2105.base',
7892
+ * srcAsset: '0x...', // Address of the source token
7893
+ * amount: 1000n, // Amount to bridge (in token decimals)
7894
+ * dstChainId: '0x89.polygon',
7895
+ * dstAsset: '0x...', // Address of the destination token
7896
+ * recipient: '0x...', // Recipient address on destination chain
7897
+ * partnerFee: { address: '0x...', percentage: 0.1 } // Optional partner fee. Partner fees and denominated in vault token decimals (18)
7898
+ * },
7899
+ * spokeProvider,
7900
+ * 30000 // Optional timeout in milliseconds (default: 60000, i.e. 60 seconds)
7901
+ * );
7902
+ *
7903
+ * if (!result.ok) {
7904
+ * // Handle error
7905
+ * }
7906
+ *
7907
+ * const [
7908
+ * spokeTxHash, // transaction hash on the source chain
7909
+ * hubTxHash, // transaction hash on the hub chain
7910
+ * ] = result.value;
7911
+ * console.log('Bridge transaction hashes:', { spokeTxHash, hubTxHash });
7912
+ */
7913
+ bridge<S extends SpokeProvider>({ params, spokeProvider, fee, timeout, }: Prettify<BridgeParams<S> & OptionalTimeout>): Promise<Result<[SpokeTxHash, HubTxHash], BridgeError<BridgeErrorCode>>>;
7914
+ /**
7915
+ * Create bridge intent only (without relaying to hub)
7916
+ * NOTE: This method only executes the transaction on the spoke chain and creates the bridge intent
7917
+ * In order to successfully bridge tokens, you need to:
7918
+ * 1. Check if the allowance is sufficient using isAllowanceValid
7919
+ * 2. Approve the appropriate contract to spend the tokens using approve
7920
+ * 3. Create the bridge intent using this method
7921
+ * 4. Relay the transaction to the hub and await completion using the bridge method
7922
+ *
7923
+ * @param params - The bridge parameters including source/destination chains, assets, and recipient
7924
+ * @param spokeProvider - The spoke provider for the source chain
7925
+ * @param raw - Whether to return the raw transaction data
7926
+ * @returns {Promise<Result<TxReturnType<S, R>, BridgeError<BridgeErrorCode>>>} - Returns the transaction result
7927
+ *
7928
+ * @example
7929
+ * const bridgeService = new BridgeService(hubProvider, relayerApiEndpoint);
7930
+ * const result = await sodax.bridge.createBridgeIntent(
7931
+ * {
7932
+ * srcChainId: 'ethereum',
7933
+ * srcAsset: "0x123...", // source token address
7934
+ * amount: 1000000000000000000n, // 1 token in wei
7935
+ * dstChainId: 'polygon',
7936
+ * dstAsset: "0x456...", // destination token address
7937
+ * recipient: "0x789..." // recipient address
7938
+ * },
7939
+ * spokeProvider,
7940
+ * raw // Optional: true = return the raw transaction data, false = execute and return the transaction hash (default: false)
7941
+ * );
7942
+ *
7943
+ * if (result.ok) {
7944
+ * const txHash = result.value;
7945
+ * console.log('Bridge intent transaction hash:', txHash);
7946
+ * } else {
7947
+ * console.error('Bridge intent creation failed:', result.error);
7948
+ * }
7949
+ */
7950
+ createBridgeIntent<S extends SpokeProvider = SpokeProvider, R extends boolean = false>({ params, spokeProvider, fee, raw, }: Prettify<BridgeParams<S> & OptionalRaw<R>>): Promise<Result<TxReturnType<S, R>, BridgeError<'CREATE_BRIDGE_INTENT_FAILED'>> & BridgeOptionalExtraData>;
7951
+ /**
7952
+ * Build the bridge transaction data for executing the bridge operation on the hub
7953
+ * @param params - The create bridge intent parameters
7954
+ * @param srcAssetInfo - The source asset information
7955
+ * @param dstAssetInfo - The destination asset information
7956
+ * @returns Hex - The encoded contract calls for the bridge operation
7957
+ */
7958
+ buildBridgeData(params: CreateBridgeIntentParams, srcAssetInfo: HubAssetInfo, dstAssetInfo: HubAssetInfo, partnerFee: PartnerFee | undefined): Hex$1;
7959
+ /**
7960
+ * Retrieves the deposited token balance held by the asset manager on a spoke chain.
7961
+ * This balance represents the available liquidity for bridging operations and is used to verify
7962
+ * that the target chain has sufficient funds to complete a bridge transaction.
7963
+ *
7964
+ * @param spokeProvider - The spoke provider instance
7965
+ * @param token - The token address to query the balance for
7966
+ * @returns {Promise<bigint>} - The token balance as a bigint value
7967
+ */
7968
+ getBridgeableAmount(from: XToken, to: XToken): Promise<Result<bigint, unknown>>;
7969
+ /**
7970
+ * Check if two assets on different chains are bridgeable
7971
+ * Two assets are bridgeable if they share the same vault on the hub chain
7972
+ * @param from - The source X token
7973
+ * @param to - The destination X token
7974
+ * @param unchecked - Whether to skip the chain ID validation
7975
+ * @returns boolean - true if assets are bridgeable, false otherwise
7976
+ */
7977
+ isBridgeable({ from, to, unchecked, }: {
7978
+ from: XToken;
7979
+ to: XToken;
7980
+ unchecked?: boolean;
7981
+ }): boolean;
7982
+ /**
7983
+ * Get all bridgeable tokens from a source token to a destination chain
7984
+ * @param from - The source chain ID
7985
+ * @param to - The destination chain ID
7986
+ * @param token - The source token address
7987
+ * @returns XToken[] - Array of bridgeable tokens on the destination chain
7988
+ */
7989
+ getBridgeableTokens(from: SpokeChainId, to: SpokeChainId, token: string): Result<XToken[], unknown>;
7990
+ filterTokensWithSameVault(tokens: Record<string, XToken>, to: SpokeChainId, srcAssetInfo: HubAssetInfo | undefined): XToken[];
7991
+ }
7992
+
7608
7993
  declare class IconSpokeProvider {
7609
7994
  readonly walletProvider: IIconWalletProvider;
7610
7995
  readonly chainConfig: IconSpokeChainConfig;
@@ -7719,7 +8104,7 @@ type BaseSpokeChainConfig<T extends ChainType> = {
7719
8104
  addresses: {
7720
8105
  [key: string]: Address$1 | string | Uint8Array;
7721
8106
  };
7722
- supportedTokens: Record<string, Token>;
8107
+ supportedTokens: Record<string, XToken>;
7723
8108
  nativeToken: Address$1 | string;
7724
8109
  bnUSD: Address$1 | string;
7725
8110
  };
@@ -7756,6 +8141,12 @@ type MoneyMarketConfig = {
7756
8141
  type MoneyMarketServiceConfig = Prettify<MoneyMarketConfig & PartnerFeeConfig & RelayerApiConfig>;
7757
8142
  type SolverServiceConfig = Prettify<SolverConfig & PartnerFeeConfig & RelayerApiConfig>;
7758
8143
  type MigrationServiceConfig = Prettify<RelayerApiConfig>;
8144
+ type BridgeServiceConfig = Optional<PartnerFeeConfig, 'partnerFee'>;
8145
+ type BackendApiConfig = {
8146
+ baseURL?: HttpUrl;
8147
+ timeout?: number;
8148
+ headers?: Record<string, string>;
8149
+ };
7759
8150
  type MoneyMarketConfigParams = Prettify<MoneyMarketConfig & Optional<PartnerFeeConfig, 'partnerFee'>> | Optional<PartnerFeeConfig, 'partnerFee'>;
7760
8151
  type Default = {
7761
8152
  default: boolean;
@@ -8168,8 +8559,10 @@ type SodaxConfig = {
8168
8559
  solver?: SolverConfigParams;
8169
8560
  moneyMarket?: MoneyMarketConfigParams;
8170
8561
  migration?: MigrationServiceConfig;
8562
+ bridge?: BridgeServiceConfig;
8171
8563
  hubProviderConfig?: EvmHubProviderConfig;
8172
8564
  relayerApiEndpoint?: HttpUrl;
8565
+ backendApiConfig?: BackendApiConfig;
8173
8566
  };
8174
8567
  /**
8175
8568
  * Sodax class is used to interact with the Sodax.
@@ -8181,6 +8574,8 @@ declare class Sodax {
8181
8574
  readonly solver: SolverService;
8182
8575
  readonly moneyMarket: MoneyMarketService;
8183
8576
  readonly migration: MigrationService;
8577
+ readonly backendApiService: BackendApiService;
8578
+ readonly bridge: BridgeService;
8184
8579
  readonly hubProvider: EvmHubProvider;
8185
8580
  readonly relayerApiEndpoint: HttpUrl;
8186
8581
  constructor(config?: SodaxConfig);
@@ -8751,7 +9146,7 @@ declare function hexToBigInt(hex: string): bigint;
8751
9146
  declare function deriveUserWalletAddress(spokeProvider: SpokeProvider, hubProvider: EvmHubProvider, walletAddress?: string): Promise<Address$1>;
8752
9147
 
8753
9148
  declare const DEFAULT_MAX_RETRY = 3;
8754
- declare const DEFAULT_RELAY_TX_TIMEOUT = 60000;
9149
+ declare const DEFAULT_RELAY_TX_TIMEOUT = 120000;
8755
9150
  declare const DEFAULT_RETRY_DELAY_MS = 2000;
8756
9151
  declare const ICON_TX_RESULT_WAIT_MAX_RETRY = 10;
8757
9152
  declare const MAX_UINT256: bigint;
@@ -8759,6 +9154,12 @@ declare const FEE_PERCENTAGE_SCALE = 10000n;
8759
9154
  declare const STELLAR_PRIORITY_FEE = "10000";
8760
9155
  declare const STELLAR_DEFAULT_TX_TIMEOUT_SECONDS = 100;
8761
9156
  declare const DEFAULT_DEADLINE_OFFSET = 300n;
9157
+ declare const DEFAULT_BACKEND_API_ENDPOINT = "https://apiv1.coolify.iconblockchain.xyz";
9158
+ declare const DEFAULT_BACKEND_API_TIMEOUT = 30000;
9159
+ declare const DEFAULT_BACKEND_API_HEADERS: {
9160
+ 'Content-Type': string;
9161
+ Accept: string;
9162
+ };
8762
9163
  declare const VAULT_TOKEN_DECIMALS = 18;
8763
9164
  declare const INTENT_RELAY_CHAIN_IDS: {
8764
9165
  readonly AVAX: 6n;
@@ -8780,6 +9181,131 @@ declare const EVM_SPOKE_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "
8780
9181
  declare const ChainIdToIntentRelayChainId: Record<ChainId, IntentRelayChainId>;
8781
9182
  declare const getIntentRelayChainId: (chainId: ChainId) => IntentRelayChainId;
8782
9183
  declare function getEvmViemChain(id: EvmChainId): Chain;
9184
+ declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD"];
9185
+ type HubVaultSymbol = (typeof HubVaultSymbols)[number];
9186
+ declare const SodaTokens: {
9187
+ readonly sodaBNB: {
9188
+ readonly symbol: "sodaBNB";
9189
+ readonly name: "Soda BNB";
9190
+ readonly decimals: 18;
9191
+ readonly address: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
9192
+ readonly xChainId: "sonic";
9193
+ };
9194
+ readonly sodaAVAX: {
9195
+ readonly symbol: "sodaAVAX";
9196
+ readonly name: "Soda AVAX";
9197
+ readonly decimals: 18;
9198
+ readonly address: "0x14238D267557E9d799016ad635B53CD15935d290";
9199
+ readonly xChainId: "sonic";
9200
+ };
9201
+ readonly sodaETH: {
9202
+ readonly symbol: "sodaETH";
9203
+ readonly name: "Soda ETH";
9204
+ readonly decimals: 18;
9205
+ readonly address: "0x4effB5813271699683C25c734F4daBc45B363709";
9206
+ readonly xChainId: "sonic";
9207
+ };
9208
+ readonly sodaBTC: {
9209
+ readonly symbol: "sodaBTC";
9210
+ readonly name: "Soda BTC";
9211
+ readonly decimals: 18;
9212
+ readonly address: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
9213
+ readonly xChainId: "sonic";
9214
+ };
9215
+ readonly sodaSOL: {
9216
+ readonly symbol: "sodaSOL";
9217
+ readonly name: "Soda SOL";
9218
+ readonly decimals: 18;
9219
+ readonly address: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
9220
+ readonly xChainId: "sonic";
9221
+ };
9222
+ readonly sodaXLM: {
9223
+ readonly symbol: "sodaXLM";
9224
+ readonly name: "Soda XLM";
9225
+ readonly decimals: 18;
9226
+ readonly address: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
9227
+ readonly xChainId: "sonic";
9228
+ };
9229
+ readonly sodaINJ: {
9230
+ readonly symbol: "sodaINJ";
9231
+ readonly name: "Soda INJ";
9232
+ readonly decimals: 18;
9233
+ readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
9234
+ readonly xChainId: "sonic";
9235
+ };
9236
+ readonly sodaNIBI: {
9237
+ readonly symbol: "sodaNIBI";
9238
+ readonly name: "Soda NIBI";
9239
+ readonly decimals: 18;
9240
+ readonly address: "0xc6c85287a8b173A509C2F198bB719A8a5a2d0C68";
9241
+ readonly xChainId: "sonic";
9242
+ };
9243
+ readonly sodaSUI: {
9244
+ readonly symbol: "sodaSUI";
9245
+ readonly name: "Soda SUI";
9246
+ readonly decimals: 18;
9247
+ readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
9248
+ readonly xChainId: "sonic";
9249
+ };
9250
+ readonly bnUSD: {
9251
+ readonly symbol: "bnUSD";
9252
+ readonly name: "Balanced Dollar";
9253
+ readonly decimals: 18;
9254
+ readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
9255
+ readonly xChainId: "sonic";
9256
+ };
9257
+ readonly sodaUSDC: {
9258
+ readonly symbol: "sodaUSDC";
9259
+ readonly name: "Soda USDC";
9260
+ readonly decimals: 18;
9261
+ readonly address: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
9262
+ readonly xChainId: "sonic";
9263
+ };
9264
+ readonly sodaUSDT: {
9265
+ readonly symbol: "sodaUSDT";
9266
+ readonly name: "Soda USDT";
9267
+ readonly decimals: 18;
9268
+ readonly address: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
9269
+ readonly xChainId: "sonic";
9270
+ };
9271
+ readonly IbnUSD: {
9272
+ readonly symbol: "IbnUSD";
9273
+ readonly name: "ICON bnUSD (Migration)";
9274
+ readonly decimals: 18;
9275
+ readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
9276
+ readonly xChainId: "sonic";
9277
+ };
9278
+ readonly sodaS: {
9279
+ readonly symbol: "sodaS";
9280
+ readonly name: "Soda S";
9281
+ readonly decimals: 18;
9282
+ readonly address: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
9283
+ readonly xChainId: "sonic";
9284
+ };
9285
+ readonly sodaPOL: {
9286
+ readonly symbol: "sodaPOL";
9287
+ readonly name: "Soda POL";
9288
+ readonly decimals: 18;
9289
+ readonly address: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
9290
+ readonly xChainId: "sonic";
9291
+ };
9292
+ readonly sodaSODA: {
9293
+ readonly symbol: "sodaSODA";
9294
+ readonly name: "Soda SODA";
9295
+ readonly decimals: 18;
9296
+ readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
9297
+ readonly xChainId: "sonic";
9298
+ };
9299
+ };
9300
+ declare const SodaTokensAsHubAssets: Record<string, {
9301
+ asset: Address;
9302
+ decimal: number;
9303
+ vault: Address;
9304
+ symbol: string;
9305
+ name: string;
9306
+ }>;
9307
+ declare const SodaVaultTokensSet: Set<string>;
9308
+ declare const isSodaVaultToken: (address: string) => boolean;
8783
9309
  declare const getHubChainConfig: (chainId: HubChainId) => EvmHubChainConfig;
8784
9310
  declare const spokeChainConfig: {
8785
9311
  readonly sonic: {
@@ -8795,47 +9321,159 @@ declare const spokeChainConfig: {
8795
9321
  readonly nativeToken: "0x0000000000000000000000000000000000000000";
8796
9322
  readonly bnUSD: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
8797
9323
  readonly supportedTokens: {
8798
- readonly S: {
8799
- readonly symbol: "S";
8800
- readonly name: "Sonic";
9324
+ readonly sodaBNB: {
9325
+ readonly symbol: "sodaBNB";
9326
+ readonly name: "Soda BNB";
8801
9327
  readonly decimals: 18;
8802
- readonly address: "0x0000000000000000000000000000000000000000";
9328
+ readonly address: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
9329
+ readonly xChainId: "sonic";
9330
+ };
9331
+ readonly sodaAVAX: {
9332
+ readonly symbol: "sodaAVAX";
9333
+ readonly name: "Soda AVAX";
9334
+ readonly decimals: 18;
9335
+ readonly address: "0x14238D267557E9d799016ad635B53CD15935d290";
9336
+ readonly xChainId: "sonic";
9337
+ };
9338
+ readonly sodaETH: {
9339
+ readonly symbol: "sodaETH";
9340
+ readonly name: "Soda ETH";
9341
+ readonly decimals: 18;
9342
+ readonly address: "0x4effB5813271699683C25c734F4daBc45B363709";
9343
+ readonly xChainId: "sonic";
9344
+ };
9345
+ readonly sodaBTC: {
9346
+ readonly symbol: "sodaBTC";
9347
+ readonly name: "Soda BTC";
9348
+ readonly decimals: 18;
9349
+ readonly address: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
9350
+ readonly xChainId: "sonic";
9351
+ };
9352
+ readonly sodaSOL: {
9353
+ readonly symbol: "sodaSOL";
9354
+ readonly name: "Soda SOL";
9355
+ readonly decimals: 18;
9356
+ readonly address: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
9357
+ readonly xChainId: "sonic";
9358
+ };
9359
+ readonly sodaXLM: {
9360
+ readonly symbol: "sodaXLM";
9361
+ readonly name: "Soda XLM";
9362
+ readonly decimals: 18;
9363
+ readonly address: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
9364
+ readonly xChainId: "sonic";
9365
+ };
9366
+ readonly sodaINJ: {
9367
+ readonly symbol: "sodaINJ";
9368
+ readonly name: "Soda INJ";
9369
+ readonly decimals: 18;
9370
+ readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
9371
+ readonly xChainId: "sonic";
9372
+ };
9373
+ readonly sodaNIBI: {
9374
+ readonly symbol: "sodaNIBI";
9375
+ readonly name: "Soda NIBI";
9376
+ readonly decimals: 18;
9377
+ readonly address: "0xc6c85287a8b173A509C2F198bB719A8a5a2d0C68";
9378
+ readonly xChainId: "sonic";
9379
+ };
9380
+ readonly sodaSUI: {
9381
+ readonly symbol: "sodaSUI";
9382
+ readonly name: "Soda SUI";
9383
+ readonly decimals: 18;
9384
+ readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
9385
+ readonly xChainId: "sonic";
8803
9386
  };
8804
9387
  readonly bnUSD: {
8805
9388
  readonly symbol: "bnUSD";
8806
- readonly name: "bnUSD";
9389
+ readonly name: "Balanced Dollar";
8807
9390
  readonly decimals: 18;
8808
9391
  readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
9392
+ readonly xChainId: "sonic";
9393
+ };
9394
+ readonly sodaUSDC: {
9395
+ readonly symbol: "sodaUSDC";
9396
+ readonly name: "Soda USDC";
9397
+ readonly decimals: 18;
9398
+ readonly address: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
9399
+ readonly xChainId: "sonic";
9400
+ };
9401
+ readonly sodaUSDT: {
9402
+ readonly symbol: "sodaUSDT";
9403
+ readonly name: "Soda USDT";
9404
+ readonly decimals: 18;
9405
+ readonly address: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
9406
+ readonly xChainId: "sonic";
9407
+ };
9408
+ readonly IbnUSD: {
9409
+ readonly symbol: "IbnUSD";
9410
+ readonly name: "ICON bnUSD (Migration)";
9411
+ readonly decimals: 18;
9412
+ readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
9413
+ readonly xChainId: "sonic";
9414
+ };
9415
+ readonly sodaS: {
9416
+ readonly symbol: "sodaS";
9417
+ readonly name: "Soda S";
9418
+ readonly decimals: 18;
9419
+ readonly address: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
9420
+ readonly xChainId: "sonic";
9421
+ };
9422
+ readonly sodaPOL: {
9423
+ readonly symbol: "sodaPOL";
9424
+ readonly name: "Soda POL";
9425
+ readonly decimals: 18;
9426
+ readonly address: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
9427
+ readonly xChainId: "sonic";
9428
+ };
9429
+ readonly sodaSODA: {
9430
+ readonly symbol: "sodaSODA";
9431
+ readonly name: "Soda SODA";
9432
+ readonly decimals: 18;
9433
+ readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
9434
+ readonly xChainId: "sonic";
9435
+ };
9436
+ readonly S: {
9437
+ readonly symbol: "S";
9438
+ readonly name: "Sonic";
9439
+ readonly decimals: 18;
9440
+ readonly address: "0x0000000000000000000000000000000000000000";
9441
+ readonly xChainId: "sonic";
8809
9442
  };
8810
9443
  readonly WETH: {
8811
9444
  readonly symbol: "WETH";
8812
9445
  readonly name: "Wrapped Ether";
8813
9446
  readonly decimals: 18;
8814
9447
  readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
9448
+ readonly xChainId: "sonic";
8815
9449
  };
8816
9450
  readonly USDC: {
8817
9451
  readonly symbol: "USDC";
8818
9452
  readonly name: "USD Coin";
8819
9453
  readonly decimals: 6;
8820
9454
  readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
9455
+ readonly xChainId: "sonic";
8821
9456
  };
8822
9457
  readonly USDT: {
8823
9458
  readonly symbol: "USDT";
8824
9459
  readonly name: "Tether USD";
8825
9460
  readonly decimals: 6;
8826
9461
  readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
9462
+ readonly xChainId: "sonic";
8827
9463
  };
8828
9464
  readonly wS: {
8829
9465
  readonly symbol: "wS";
8830
9466
  readonly name: "Wrapped Sonic";
8831
9467
  readonly decimals: 18;
8832
9468
  readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
9469
+ readonly xChainId: "sonic";
8833
9470
  };
8834
9471
  readonly SODA: {
8835
9472
  readonly symbol: "SODA";
8836
9473
  readonly name: "SODAX";
8837
9474
  readonly decimals: 18;
8838
9475
  readonly address: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
9476
+ readonly xChainId: "sonic";
8839
9477
  };
8840
9478
  };
8841
9479
  };
@@ -8860,18 +9498,28 @@ declare const spokeChainConfig: {
8860
9498
  readonly name: "Solana";
8861
9499
  readonly decimals: 9;
8862
9500
  readonly address: "11111111111111111111111111111111";
9501
+ readonly xChainId: "solana";
8863
9502
  };
8864
9503
  readonly bnUSD: {
8865
9504
  readonly symbol: "bnUSD";
8866
9505
  readonly name: "bnUSD";
8867
9506
  readonly decimals: 9;
8868
9507
  readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
9508
+ readonly xChainId: "solana";
8869
9509
  };
8870
9510
  readonly USDC: {
8871
9511
  readonly symbol: "USDC";
8872
9512
  readonly name: "USD Coin";
8873
9513
  readonly decimals: 6;
8874
9514
  readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
9515
+ readonly xChainId: "solana";
9516
+ };
9517
+ readonly SODA: {
9518
+ readonly symbol: "SODA";
9519
+ readonly name: "SODAX";
9520
+ readonly decimals: 9;
9521
+ readonly address: "8Bj8gSbga8My8qRkT1RrvgxFBExiGFgdRNHFaR9o2T3Q";
9522
+ readonly xChainId: "solana";
8875
9523
  };
8876
9524
  };
8877
9525
  readonly gasPrice: "500000";
@@ -8896,24 +9544,35 @@ declare const spokeChainConfig: {
8896
9544
  readonly name: "Avalanche";
8897
9545
  readonly decimals: 18;
8898
9546
  readonly address: "0x0000000000000000000000000000000000000000";
9547
+ readonly xChainId: "0xa86a.avax";
8899
9548
  };
8900
9549
  readonly bnUSD: {
8901
9550
  readonly symbol: "bnUSD";
8902
9551
  readonly name: "bnUSD";
8903
9552
  readonly decimals: 18;
8904
9553
  readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
9554
+ readonly xChainId: "0xa86a.avax";
8905
9555
  };
8906
9556
  readonly USDT: {
8907
9557
  readonly symbol: "USDT";
8908
9558
  readonly name: "Tether USD";
8909
9559
  readonly decimals: 6;
8910
9560
  readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
9561
+ readonly xChainId: "0xa86a.avax";
8911
9562
  };
8912
9563
  readonly USDC: {
8913
9564
  readonly symbol: "USDC";
8914
9565
  readonly name: "USD Coin";
8915
9566
  readonly decimals: 6;
8916
9567
  readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
9568
+ readonly xChainId: "0xa86a.avax";
9569
+ };
9570
+ readonly SODA: {
9571
+ readonly symbol: "SODA";
9572
+ readonly name: "SODAX";
9573
+ readonly decimals: 18;
9574
+ readonly address: "0x390ceed555905ec225Da330A188EA04e85570f00";
9575
+ readonly xChainId: "0xa86a.avax";
8917
9576
  };
8918
9577
  };
8919
9578
  };
@@ -8935,12 +9594,21 @@ declare const spokeChainConfig: {
8935
9594
  readonly name: "Nibiru";
8936
9595
  readonly decimals: 6;
8937
9596
  readonly address: "0x0000000000000000000000000000000000000000";
9597
+ readonly xChainId: "nibiru";
8938
9598
  };
8939
9599
  readonly bnUSD: {
8940
9600
  readonly symbol: "bnUSD";
8941
9601
  readonly name: "bnUSD";
8942
9602
  readonly decimals: 18;
8943
9603
  readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
9604
+ readonly xChainId: "nibiru";
9605
+ };
9606
+ readonly SODA: {
9607
+ readonly symbol: "SODA";
9608
+ readonly name: "SODAX";
9609
+ readonly decimals: 18;
9610
+ readonly address: "0x5bda87f18109CA85fa7ADDf1D48B97734e9dc6F5";
9611
+ readonly xChainId: "nibiru";
8944
9612
  };
8945
9613
  };
8946
9614
  };
@@ -8962,48 +9630,63 @@ declare const spokeChainConfig: {
8962
9630
  readonly name: "Ethereum";
8963
9631
  readonly decimals: 18;
8964
9632
  readonly address: "0x0000000000000000000000000000000000000000";
9633
+ readonly xChainId: "0xa4b1.arbitrum";
8965
9634
  };
8966
9635
  readonly bnUSD: {
8967
9636
  readonly symbol: "bnUSD";
8968
9637
  readonly name: "bnUSD";
8969
9638
  readonly decimals: 18;
8970
9639
  readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
9640
+ readonly xChainId: "0xa4b1.arbitrum";
8971
9641
  };
8972
9642
  readonly wstETH: {
8973
9643
  readonly symbol: "wstETH";
8974
9644
  readonly name: "Wrapped stETH";
8975
9645
  readonly decimals: 18;
8976
9646
  readonly address: "0x5979D7b546E38E414F7E9822514be443A4800529";
9647
+ readonly xChainId: "0xa4b1.arbitrum";
8977
9648
  };
8978
9649
  readonly weETH: {
8979
9650
  readonly symbol: "weETH";
8980
9651
  readonly name: "Wrapped eETH";
8981
9652
  readonly decimals: 18;
8982
9653
  readonly address: "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe";
9654
+ readonly xChainId: "0xa4b1.arbitrum";
8983
9655
  };
8984
9656
  readonly tBTC: {
8985
9657
  readonly symbol: "tBTC";
8986
9658
  readonly name: "Arbitrum tBTC v2";
8987
9659
  readonly decimals: 18;
8988
9660
  readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
9661
+ readonly xChainId: "0xa4b1.arbitrum";
8989
9662
  };
8990
9663
  readonly WBTC: {
8991
9664
  readonly symbol: "WBTC";
8992
9665
  readonly name: "Wrapped BTC";
8993
9666
  readonly decimals: 8;
8994
9667
  readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
9668
+ readonly xChainId: "0xa4b1.arbitrum";
8995
9669
  };
8996
9670
  readonly USDC: {
8997
9671
  readonly symbol: "USDC";
8998
9672
  readonly name: "USD Coin (USDC)";
8999
9673
  readonly decimals: 6;
9000
9674
  readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
9675
+ readonly xChainId: "0xa4b1.arbitrum";
9001
9676
  };
9002
9677
  readonly USDT: {
9003
9678
  readonly symbol: "USDT";
9004
9679
  readonly name: "TetherToken";
9005
9680
  readonly decimals: 6;
9006
9681
  readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
9682
+ readonly xChainId: "0xa4b1.arbitrum";
9683
+ };
9684
+ readonly SODA: {
9685
+ readonly symbol: "SODA";
9686
+ readonly name: "SODAX";
9687
+ readonly decimals: 18;
9688
+ readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
9689
+ readonly xChainId: "0xa4b1.arbitrum";
9007
9690
  };
9008
9691
  };
9009
9692
  };
@@ -9025,36 +9708,49 @@ declare const spokeChainConfig: {
9025
9708
  readonly name: "Ethereum";
9026
9709
  readonly decimals: 18;
9027
9710
  readonly address: "0x0000000000000000000000000000000000000000";
9711
+ readonly xChainId: "0x2105.base";
9028
9712
  };
9029
9713
  readonly bnUSD: {
9030
9714
  readonly symbol: "bnUSD";
9031
9715
  readonly name: "bnUSD";
9032
9716
  readonly decimals: 18;
9033
9717
  readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
9718
+ readonly xChainId: "0x2105.base";
9034
9719
  };
9035
9720
  readonly weETH: {
9036
9721
  readonly symbol: "weETH";
9037
9722
  readonly name: "Wrapped eETH";
9038
9723
  readonly decimals: 18;
9039
9724
  readonly address: "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a";
9725
+ readonly xChainId: "0x2105.base";
9040
9726
  };
9041
9727
  readonly USDC: {
9042
9728
  readonly symbol: "USDC";
9043
9729
  readonly name: "USD Coin";
9044
9730
  readonly decimals: 6;
9045
9731
  readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
9732
+ readonly xChainId: "0x2105.base";
9046
9733
  };
9047
9734
  readonly wstETH: {
9048
9735
  readonly symbol: "wstETH";
9049
9736
  readonly name: "Wrapped stETH";
9050
9737
  readonly decimals: 18;
9051
9738
  readonly address: "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
9739
+ readonly xChainId: "0x2105.base";
9052
9740
  };
9053
9741
  readonly cbBTC: {
9054
9742
  readonly symbol: "cbBTC";
9055
9743
  readonly name: "Coinbase Wrapped BTC";
9056
9744
  readonly decimals: 8;
9057
9745
  readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
9746
+ readonly xChainId: "0x2105.base";
9747
+ };
9748
+ readonly SODA: {
9749
+ readonly symbol: "SODA";
9750
+ readonly name: "SODAX";
9751
+ readonly decimals: 18;
9752
+ readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
9753
+ readonly xChainId: "0x2105.base";
9058
9754
  };
9059
9755
  };
9060
9756
  };
@@ -9076,36 +9772,49 @@ declare const spokeChainConfig: {
9076
9772
  readonly name: "Ethereum";
9077
9773
  readonly decimals: 18;
9078
9774
  readonly address: "0x0000000000000000000000000000000000000000";
9775
+ readonly xChainId: "0xa.optimism";
9079
9776
  };
9080
9777
  readonly bnUSD: {
9081
9778
  readonly symbol: "bnUSD";
9082
9779
  readonly name: "bnUSD";
9083
9780
  readonly decimals: 18;
9084
9781
  readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
9782
+ readonly xChainId: "0xa.optimism";
9085
9783
  };
9086
9784
  readonly USDC: {
9087
9785
  readonly symbol: "USDC";
9088
9786
  readonly name: "USD Coin";
9089
9787
  readonly decimals: 6;
9090
9788
  readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
9789
+ readonly xChainId: "0xa.optimism";
9091
9790
  };
9092
9791
  readonly wstETH: {
9093
9792
  readonly symbol: "wstETH";
9094
9793
  readonly name: "Wrapped stETH";
9095
9794
  readonly decimals: 18;
9096
9795
  readonly address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb";
9796
+ readonly xChainId: "0xa.optimism";
9097
9797
  };
9098
9798
  readonly weETH: {
9099
9799
  readonly symbol: "weETH";
9100
9800
  readonly name: "Wrapped eETH";
9101
9801
  readonly decimals: 18;
9102
9802
  readonly address: "0x5A7fACB970D094B6C7FF1df0eA68D99E6e73CBFF";
9803
+ readonly xChainId: "0xa.optimism";
9103
9804
  };
9104
9805
  readonly USDT: {
9105
9806
  readonly symbol: "USDT";
9106
9807
  readonly name: "Tether USD";
9107
9808
  readonly decimals: 6;
9108
9809
  readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
9810
+ readonly xChainId: "0xa.optimism";
9811
+ };
9812
+ readonly SODA: {
9813
+ readonly symbol: "SODA";
9814
+ readonly name: "SODAX";
9815
+ readonly decimals: 18;
9816
+ readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
9817
+ readonly xChainId: "0xa.optimism";
9109
9818
  };
9110
9819
  };
9111
9820
  };
@@ -9127,30 +9836,42 @@ declare const spokeChainConfig: {
9127
9836
  readonly name: "BNB";
9128
9837
  readonly decimals: 18;
9129
9838
  readonly address: "0x0000000000000000000000000000000000000000";
9839
+ readonly xChainId: "0x38.bsc";
9130
9840
  };
9131
9841
  readonly bnUSD: {
9132
9842
  readonly symbol: "bnUSD";
9133
9843
  readonly name: "bnUSD";
9134
9844
  readonly decimals: 18;
9135
9845
  readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
9846
+ readonly xChainId: "0x38.bsc";
9136
9847
  };
9137
9848
  readonly ETHB: {
9138
9849
  readonly symbol: "ETHB";
9139
9850
  readonly name: "Ethereum BSC";
9140
9851
  readonly decimals: 18;
9141
9852
  readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
9853
+ readonly xChainId: "0x38.bsc";
9142
9854
  };
9143
9855
  readonly BTCB: {
9144
9856
  readonly symbol: "BTCB";
9145
9857
  readonly name: "Bitcoin BSC";
9146
9858
  readonly decimals: 18;
9147
9859
  readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
9860
+ readonly xChainId: "0x38.bsc";
9148
9861
  };
9149
9862
  readonly USDC: {
9150
9863
  readonly symbol: "USDC";
9151
9864
  readonly name: "USD Coin";
9152
9865
  readonly decimals: 18;
9153
9866
  readonly address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d";
9867
+ readonly xChainId: "0x38.bsc";
9868
+ };
9869
+ readonly SODA: {
9870
+ readonly symbol: "SODA";
9871
+ readonly name: "SODAX";
9872
+ readonly decimals: 18;
9873
+ readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
9874
+ readonly xChainId: "0x38.bsc";
9154
9875
  };
9155
9876
  };
9156
9877
  };
@@ -9172,18 +9893,28 @@ declare const spokeChainConfig: {
9172
9893
  readonly name: "Polygon";
9173
9894
  readonly decimals: 18;
9174
9895
  readonly address: "0x0000000000000000000000000000000000000000";
9896
+ readonly xChainId: "0x89.polygon";
9175
9897
  };
9176
9898
  readonly bnUSD: {
9177
9899
  readonly symbol: "bnUSD";
9178
9900
  readonly name: "bnUSD";
9179
9901
  readonly decimals: 18;
9180
9902
  readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
9903
+ readonly xChainId: "0x89.polygon";
9181
9904
  };
9182
9905
  readonly USDC: {
9183
9906
  readonly symbol: "USDC";
9184
9907
  readonly name: "USD Coin";
9185
9908
  readonly decimals: 6;
9186
9909
  readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
9910
+ readonly xChainId: "0x89.polygon";
9911
+ };
9912
+ readonly SODA: {
9913
+ readonly symbol: "SODA";
9914
+ readonly name: "SODAX";
9915
+ readonly decimals: 18;
9916
+ readonly address: "0xDDF645F33eDAD18fC23E01416eD0267A1bF59D45";
9917
+ readonly xChainId: "0x89.polygon";
9187
9918
  };
9188
9919
  };
9189
9920
  };
@@ -9209,18 +9940,28 @@ declare const spokeChainConfig: {
9209
9940
  readonly name: "Injective";
9210
9941
  readonly decimals: 18;
9211
9942
  readonly address: "inj";
9943
+ readonly xChainId: "injective-1";
9212
9944
  };
9213
9945
  readonly bnUSD: {
9214
9946
  readonly symbol: "bnUSD";
9215
9947
  readonly name: "bnUSD";
9216
9948
  readonly decimals: 18;
9217
9949
  readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
9950
+ readonly xChainId: "injective-1";
9218
9951
  };
9219
9952
  readonly USDC: {
9220
9953
  readonly symbol: "USDC";
9221
9954
  readonly name: "USD Coin";
9222
9955
  readonly decimals: 6;
9223
9956
  readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
9957
+ readonly xChainId: "injective-1";
9958
+ };
9959
+ readonly SODA: {
9960
+ readonly symbol: "SODA";
9961
+ readonly name: "SODAX";
9962
+ readonly decimals: 18;
9963
+ readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/soda";
9964
+ readonly xChainId: "injective-1";
9224
9965
  };
9225
9966
  };
9226
9967
  readonly gasPrice: "500000000inj";
@@ -9244,24 +9985,35 @@ declare const spokeChainConfig: {
9244
9985
  readonly name: "bnUSD";
9245
9986
  readonly decimals: 7;
9246
9987
  readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
9988
+ readonly xChainId: "stellar";
9247
9989
  };
9248
9990
  readonly XLM: {
9249
9991
  readonly symbol: "XLM";
9250
9992
  readonly name: "Stellar Lumens";
9251
9993
  readonly decimals: 7;
9252
9994
  readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
9995
+ readonly xChainId: "stellar";
9253
9996
  };
9254
9997
  readonly USDC: {
9255
9998
  readonly symbol: "USDC";
9256
9999
  readonly name: "USD Coin";
9257
10000
  readonly decimals: 7;
9258
10001
  readonly address: "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75";
10002
+ readonly xChainId: "stellar";
9259
10003
  };
9260
10004
  readonly legacybnUSD: {
9261
- readonly symbol: "bnUSD";
10005
+ readonly symbol: "bnUSD (legacy)";
9262
10006
  readonly name: "legacybnUSD";
9263
10007
  readonly decimals: 18;
9264
10008
  readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
10009
+ readonly xChainId: "stellar";
10010
+ };
10011
+ readonly SODA: {
10012
+ readonly symbol: "SODA";
10013
+ readonly name: "SODAX";
10014
+ readonly decimals: 7;
10015
+ readonly address: "CAH5LKJC2ZB4RVUVEVL2QWJWNJLHQE2UF767ILLQ5EQ4O3OURR2XIUGM";
10016
+ readonly xChainId: "stellar";
9265
10017
  };
9266
10018
  };
9267
10019
  readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
@@ -9289,60 +10041,77 @@ declare const spokeChainConfig: {
9289
10041
  readonly name: "SUI";
9290
10042
  readonly decimals: 9;
9291
10043
  readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
10044
+ readonly xChainId: "sui";
9292
10045
  };
9293
10046
  readonly bnUSD: {
9294
10047
  readonly symbol: "bnUSD";
9295
10048
  readonly name: "bnUSD";
9296
10049
  readonly decimals: 9;
9297
10050
  readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
10051
+ readonly xChainId: "sui";
9298
10052
  };
9299
10053
  readonly USDC: {
9300
10054
  readonly symbol: "USDC";
9301
10055
  readonly name: "USD Coin";
9302
10056
  readonly decimals: 6;
9303
10057
  readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
10058
+ readonly xChainId: "sui";
9304
10059
  };
9305
10060
  readonly legacybnUSD: {
9306
- readonly symbol: "bnUSD";
10061
+ readonly symbol: "bnUSD (legacy)";
9307
10062
  readonly name: "legacybnUSD";
9308
10063
  readonly decimals: 9;
9309
10064
  readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
10065
+ readonly xChainId: "sui";
9310
10066
  };
9311
10067
  readonly afSUI: {
9312
10068
  readonly symbol: "afSUI";
9313
10069
  readonly name: "Aftermath Staked Sui";
9314
10070
  readonly decimals: 9;
9315
10071
  readonly address: "0xf325ce1300e8dac124071d3152c5c5ee6174914f8bc2161e88329cf579246efc::afsui::AFSUI";
10072
+ readonly xChainId: "sui";
9316
10073
  };
9317
10074
  readonly mSUI: {
9318
10075
  readonly symbol: "mSUI";
9319
10076
  readonly name: "Mirai Staked SUI";
9320
10077
  readonly decimals: 9;
9321
10078
  readonly address: "0x922d15d7f55c13fd790f6e54397470ec592caa2b508df292a2e8553f3d3b274f::msui::MSUI";
10079
+ readonly xChainId: "sui";
9322
10080
  };
9323
10081
  readonly haSUI: {
9324
10082
  readonly symbol: "haSUI";
9325
10083
  readonly name: "haSUI";
9326
10084
  readonly decimals: 9;
9327
10085
  readonly address: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI";
10086
+ readonly xChainId: "sui";
9328
10087
  };
9329
10088
  readonly vSUI: {
9330
10089
  readonly symbol: "vSUI";
9331
10090
  readonly name: "Volo Staked SUI";
9332
10091
  readonly decimals: 9;
9333
10092
  readonly address: "0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT";
10093
+ readonly xChainId: "sui";
9334
10094
  };
9335
10095
  readonly yapSUI: {
9336
10096
  readonly symbol: "yapSUI";
9337
10097
  readonly name: "Yap Staked SUI";
9338
10098
  readonly decimals: 9;
9339
10099
  readonly address: "0x83f1bb8c91ecd1fd313344058b0eed94d63c54e41d8d1ae5bff1353443517d65::yap_sui::YAP_SUI";
10100
+ readonly xChainId: "sui";
9340
10101
  };
9341
10102
  readonly trevinSUI: {
9342
10103
  readonly symbol: "trevinSUI";
9343
10104
  readonly name: "Trevin Staked SUI";
9344
10105
  readonly decimals: 9;
9345
10106
  readonly address: "0x502867b177303bf1bf226245fcdd3403c177e78d175a55a56c0602c7ff51c7fa::trevin_sui::TREVIN_SUI";
10107
+ readonly xChainId: "sui";
10108
+ };
10109
+ readonly SODA: {
10110
+ readonly symbol: "SODA";
10111
+ readonly name: "SODAX";
10112
+ readonly decimals: 9;
10113
+ readonly address: "0x0a0393721732617a2a771535e83c0a46f04aeef7d03239bbbb1249bc0981b952::soda::SODA";
10114
+ readonly xChainId: "sui";
9346
10115
  };
9347
10116
  };
9348
10117
  readonly nativeToken: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
@@ -9363,7 +10132,7 @@ declare const spokeChainConfig: {
9363
10132
  };
9364
10133
  readonly chain: {
9365
10134
  readonly id: "0x1.icon";
9366
- readonly name: "ICON Mainnet";
10135
+ readonly name: "ICON";
9367
10136
  readonly type: "ICON";
9368
10137
  };
9369
10138
  readonly supportedTokens: {
@@ -9372,30 +10141,35 @@ declare const spokeChainConfig: {
9372
10141
  readonly name: "ICON";
9373
10142
  readonly decimals: 18;
9374
10143
  readonly address: "cx0000000000000000000000000000000000000000";
10144
+ readonly xChainId: "0x1.icon";
9375
10145
  };
9376
10146
  readonly wICX: {
9377
10147
  readonly symbol: "wICX";
9378
10148
  readonly name: "Wrapped ICX";
9379
10149
  readonly decimals: 18;
9380
10150
  readonly address: "cx3975b43d260fb8ec802cef6e60c2f4d07486f11d";
10151
+ readonly xChainId: "0x1.icon";
9381
10152
  };
9382
10153
  readonly bnUSD: {
9383
- readonly symbol: "bnUSD";
10154
+ readonly symbol: "bnUSD (legacy)";
9384
10155
  readonly name: "bnUSD";
9385
10156
  readonly decimals: 18;
9386
10157
  readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
10158
+ readonly xChainId: "0x1.icon";
9387
10159
  };
9388
10160
  readonly legacybnUSD: {
9389
- readonly symbol: "bnUSD";
10161
+ readonly symbol: "bnUSD (legacy)";
9390
10162
  readonly name: "bnUSD";
9391
10163
  readonly decimals: 18;
9392
10164
  readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
10165
+ readonly xChainId: "0x1.icon";
9393
10166
  };
9394
10167
  readonly BALN: {
9395
10168
  readonly symbol: "BALN";
9396
10169
  readonly name: "BALN";
9397
10170
  readonly decimals: 18;
9398
10171
  readonly address: "cxf61cd5a45dc9f91c15aa65831a30a90d59a09619";
10172
+ readonly xChainId: "0x1.icon";
9399
10173
  };
9400
10174
  };
9401
10175
  readonly nativeToken: "cx0000000000000000000000000000000000000000";
@@ -9403,8 +10177,6 @@ declare const spokeChainConfig: {
9403
10177
  readonly nid: "0x1";
9404
10178
  };
9405
10179
  };
9406
- declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD"];
9407
- type HubVaultSymbol = (typeof HubVaultSymbols)[number];
9408
10180
  declare const hubVaults: {
9409
10181
  readonly IbnUSD: {
9410
10182
  readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
@@ -9424,11 +10196,11 @@ declare const hubVaults: {
9424
10196
  };
9425
10197
  readonly bnUSD: {
9426
10198
  readonly address: "0xe801ca34e19abcbfea12025378d19c4fbe250131";
9427
- readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51"];
10199
+ readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51", "0xD1d14BF3324C901855A1f7d0d5CA4c8458D2a780"];
9428
10200
  };
9429
10201
  readonly sodaSODA: {
9430
10202
  readonly address: "0x21685e341de7844135329914be6bd8d16982d834";
9431
- readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963"];
10203
+ readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963", "0xf51d7082375cdca8C19C74e1A0c77dA482aFDa4e", "0x93a367E5B37a1B9E8D04ef25a6Af40d181a3DfFF", "0x17fF8Ad5EBe6CA8B15751067cD0c89f0E580CD17", "0x4d12c72A8633588097D10e57b559ed642588e4C6", "0x26cd76cB5622Dc8638670A16E0Da5a51394A8DB1", "0x0eD0d274dC77ef460DC96b9fBaFF3EDB074e0471", "0x8D78A620E009Ba751Eb40d77A5e9Db48A3F2016b", "0x4Cf5Ce9594AEDdc5D3efe9d4Cdf0b944b4e73A53", "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc", "0x07Db7b1a96ebE474B20F52fF487cEE415adee79e", "0x20Ce75CdcEe44B1308365447b91B9c26e2b71Ffd", "0x5Db9CEc919f40C50809D9490DC3BbA4F05b0a1D7", "0x655730024B673B3378CD6031B1Cd01eaE9afb138"];
9432
10204
  };
9433
10205
  readonly sodaAVAX: {
9434
10206
  readonly address: "0x14238d267557e9d799016ad635b53cd15935d290";
@@ -9444,7 +10216,7 @@ declare const hubVaults: {
9444
10216
  };
9445
10217
  readonly sodaBTC: {
9446
10218
  readonly address: "0x7a1a5555842ad2d0ed274d09b5c4406a95799d5d";
9447
- readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905"];
10219
+ readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905", "0x03E99853C6376b13a4c6e4d0A115F1639c9FA14e"];
9448
10220
  };
9449
10221
  readonly sodaSUI: {
9450
10222
  readonly address: "0xdc5b4b00f98347e95b9f94911213dab4c687e1e3";
@@ -9468,87 +10240,104 @@ declare const hubVaults: {
9468
10240
  };
9469
10241
  readonly sodaUSDC: {
9470
10242
  readonly address: "0xabbb91c0617090f0028bdc27597cd0d038f3a833";
9471
- readonly reserves: ["0x41abf4b1559ff709ef8150079bcb26db1fffd117", "0x72e852545b024ddcbc5b70c1bcbdaa025164259c", "0xb7c213cbd24967de9838fa014668fddb338f724b", "0xdb7bda65c3a1c51d64dc4444e418684677334109", "0xa36893ba308b332fdebfa95916d1df3a2e3cf8b3", "0x29219dd400f2bf60e5a23d13be72b486d4038894", "0x5635369c8a29a081d26c2e9e28012fca548ba0cb", "0x3d73437dd81b3f9ec82752beb1752f03a8531710", "0x4bc1211faa06fb50ff61a70331f56167ae511057", "0x348007b53f25a9a857ab8ea81ec9e3ccbcf440f2", "0xc3f020057510ffe10ceb882e1b48238b43d78a5e", "0x9d58508ad10d34048a11640735ca5075bba07b35"];
10243
+ readonly reserves: ["0x41abf4b1559ff709ef8150079bcb26db1fffd117", "0x72e852545b024ddcbc5b70c1bcbdaa025164259c", "0xb7c213cbd24967de9838fa014668fddb338f724b", "0xdb7bda65c3a1c51d64dc4444e418684677334109", "0xa36893ba308b332fdebfa95916d1df3a2e3cf8b3", "0x29219dd400f2bf60e5a23d13be72b486d4038894", "0x5635369c8a29a081d26c2e9e28012fca548ba0cb", "0x3d73437dd81b3f9ec82752beb1752f03a8531710", "0x4bc1211faa06fb50ff61a70331f56167ae511057", "0x348007b53f25a9a857ab8ea81ec9e3ccbcf440f2", "0xc3f020057510ffe10ceb882e1b48238b43d78a5e", "0x9d58508ad10d34048a11640735ca5075bba07b35", "0xC1df02fb7b1b06bE886592C89F6955387998B2f7"];
9472
10244
  };
9473
10245
  };
10246
+ declare const hubVaultTokensMap: Map<string, Token>;
10247
+ declare const getHubVaultTokenByAddress: (address: string) => Token | undefined;
9474
10248
  declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
9475
10249
  declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "stellar")[];
9476
10250
  declare const bnUSDLegacyTokens: readonly [{
9477
- readonly symbol: "bnUSD";
10251
+ readonly symbol: "bnUSD (legacy)";
9478
10252
  readonly name: "bnUSD";
9479
10253
  readonly decimals: 18;
9480
10254
  readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
10255
+ readonly xChainId: "0x1.icon";
9481
10256
  }, {
9482
- readonly symbol: "bnUSD";
10257
+ readonly symbol: "bnUSD (legacy)";
9483
10258
  readonly name: "legacybnUSD";
9484
10259
  readonly decimals: 9;
9485
10260
  readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
10261
+ readonly xChainId: "sui";
9486
10262
  }, {
9487
- readonly symbol: "bnUSD";
10263
+ readonly symbol: "bnUSD (legacy)";
9488
10264
  readonly name: "legacybnUSD";
9489
10265
  readonly decimals: 18;
9490
10266
  readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
10267
+ readonly xChainId: "stellar";
9491
10268
  }];
9492
10269
  declare const bnUSDNewTokens: ({
9493
10270
  readonly symbol: "bnUSD";
9494
- readonly name: "bnUSD";
10271
+ readonly name: "Balanced Dollar";
9495
10272
  readonly decimals: 18;
9496
10273
  readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
10274
+ readonly xChainId: "sonic";
9497
10275
  } | {
9498
10276
  readonly symbol: "bnUSD";
9499
10277
  readonly name: "bnUSD";
9500
10278
  readonly decimals: 9;
9501
10279
  readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
10280
+ readonly xChainId: "solana";
9502
10281
  } | {
9503
10282
  readonly symbol: "bnUSD";
9504
10283
  readonly name: "bnUSD";
9505
10284
  readonly decimals: 18;
9506
10285
  readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
10286
+ readonly xChainId: "0xa86a.avax";
9507
10287
  } | {
9508
10288
  readonly symbol: "bnUSD";
9509
10289
  readonly name: "bnUSD";
9510
10290
  readonly decimals: 18;
9511
10291
  readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
10292
+ readonly xChainId: "nibiru";
9512
10293
  } | {
9513
10294
  readonly symbol: "bnUSD";
9514
10295
  readonly name: "bnUSD";
9515
10296
  readonly decimals: 18;
9516
10297
  readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
10298
+ readonly xChainId: "0xa4b1.arbitrum";
9517
10299
  } | {
9518
10300
  readonly symbol: "bnUSD";
9519
10301
  readonly name: "bnUSD";
9520
10302
  readonly decimals: 18;
9521
10303
  readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
10304
+ readonly xChainId: "0x2105.base";
9522
10305
  } | {
9523
10306
  readonly symbol: "bnUSD";
9524
10307
  readonly name: "bnUSD";
9525
10308
  readonly decimals: 18;
9526
10309
  readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
10310
+ readonly xChainId: "0xa.optimism";
9527
10311
  } | {
9528
10312
  readonly symbol: "bnUSD";
9529
10313
  readonly name: "bnUSD";
9530
10314
  readonly decimals: 18;
9531
10315
  readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
10316
+ readonly xChainId: "0x38.bsc";
9532
10317
  } | {
9533
10318
  readonly symbol: "bnUSD";
9534
10319
  readonly name: "bnUSD";
9535
10320
  readonly decimals: 18;
9536
10321
  readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
10322
+ readonly xChainId: "0x89.polygon";
9537
10323
  } | {
9538
10324
  readonly symbol: "bnUSD";
9539
10325
  readonly name: "bnUSD";
9540
10326
  readonly decimals: 18;
9541
10327
  readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
10328
+ readonly xChainId: "injective-1";
9542
10329
  } | {
9543
10330
  readonly symbol: "bnUSD";
9544
10331
  readonly name: "bnUSD";
9545
10332
  readonly decimals: 7;
9546
10333
  readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
10334
+ readonly xChainId: "stellar";
9547
10335
  } | {
9548
10336
  readonly symbol: "bnUSD";
9549
10337
  readonly name: "bnUSD";
9550
10338
  readonly decimals: 9;
9551
10339
  readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
10340
+ readonly xChainId: "sui";
9552
10341
  })[];
9553
10342
  declare const isLegacybnUSDChainId: (chainId: SpokeChainId) => boolean;
9554
10343
  declare const isNewbnUSDChainId: (chainId: SpokeChainId) => boolean;
@@ -9558,7 +10347,7 @@ declare const getAllLegacybnUSDTokens: () => {
9558
10347
  token: LegacybnUSDToken;
9559
10348
  chainId: LegacybnUSDChainId;
9560
10349
  }[];
9561
- declare const hubAssets: Record<SpokeChainId, Record<Address | string, {
10350
+ declare const hubAssets: Record<SpokeChainId, Record<string, {
9562
10351
  asset: Address;
9563
10352
  decimal: number;
9564
10353
  vault: Address;
@@ -9576,196 +10365,233 @@ declare const moneyMarketSupportedTokens: {
9576
10365
  readonly name: "Avalanche";
9577
10366
  readonly decimals: 18;
9578
10367
  readonly address: "0x0000000000000000000000000000000000000000";
10368
+ readonly xChainId: "0xa86a.avax";
9579
10369
  }, {
9580
10370
  readonly symbol: "USDT";
9581
10371
  readonly name: "Tether USD";
9582
10372
  readonly decimals: 6;
9583
10373
  readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
10374
+ readonly xChainId: "0xa86a.avax";
9584
10375
  }, {
9585
10376
  readonly symbol: "USDC";
9586
10377
  readonly name: "USD Coin";
9587
10378
  readonly decimals: 6;
9588
10379
  readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
10380
+ readonly xChainId: "0xa86a.avax";
9589
10381
  }, {
9590
10382
  readonly symbol: "bnUSD";
9591
10383
  readonly name: "bnUSD";
9592
10384
  readonly decimals: 18;
9593
10385
  readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
10386
+ readonly xChainId: "0xa86a.avax";
9594
10387
  }];
9595
10388
  readonly "0xa4b1.arbitrum": readonly [{
9596
10389
  readonly symbol: "ETH";
9597
10390
  readonly name: "Ethereum";
9598
10391
  readonly decimals: 18;
9599
10392
  readonly address: "0x0000000000000000000000000000000000000000";
10393
+ readonly xChainId: "0xa4b1.arbitrum";
9600
10394
  }, {
9601
10395
  readonly symbol: "bnUSD";
9602
10396
  readonly name: "bnUSD";
9603
10397
  readonly decimals: 18;
9604
10398
  readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
10399
+ readonly xChainId: "0xa4b1.arbitrum";
9605
10400
  }, {
9606
10401
  readonly symbol: "WBTC";
9607
10402
  readonly name: "Wrapped BTC";
9608
10403
  readonly decimals: 8;
9609
10404
  readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
10405
+ readonly xChainId: "0xa4b1.arbitrum";
9610
10406
  }, {
9611
10407
  readonly symbol: "tBTC";
9612
10408
  readonly name: "Arbitrum tBTC v2";
9613
10409
  readonly decimals: 18;
9614
10410
  readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
10411
+ readonly xChainId: "0xa4b1.arbitrum";
9615
10412
  }, {
9616
10413
  readonly symbol: "USDT";
9617
10414
  readonly name: "TetherToken";
9618
10415
  readonly decimals: 6;
9619
10416
  readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
10417
+ readonly xChainId: "0xa4b1.arbitrum";
9620
10418
  }, {
9621
10419
  readonly symbol: "USDC";
9622
10420
  readonly name: "USD Coin (USDC)";
9623
10421
  readonly decimals: 6;
9624
10422
  readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
10423
+ readonly xChainId: "0xa4b1.arbitrum";
9625
10424
  }];
9626
10425
  readonly "0x2105.base": readonly [{
9627
10426
  readonly symbol: "ETH";
9628
10427
  readonly name: "Ethereum";
9629
10428
  readonly decimals: 18;
9630
10429
  readonly address: "0x0000000000000000000000000000000000000000";
10430
+ readonly xChainId: "0x2105.base";
9631
10431
  }, {
9632
10432
  readonly symbol: "bnUSD";
9633
10433
  readonly name: "bnUSD";
9634
10434
  readonly decimals: 18;
9635
10435
  readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
10436
+ readonly xChainId: "0x2105.base";
9636
10437
  }, {
9637
10438
  readonly symbol: "USDC";
9638
10439
  readonly name: "USD Coin";
9639
10440
  readonly decimals: 6;
9640
10441
  readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
10442
+ readonly xChainId: "0x2105.base";
9641
10443
  }, {
9642
10444
  readonly symbol: "cbBTC";
9643
10445
  readonly name: "Coinbase Wrapped BTC";
9644
10446
  readonly decimals: 8;
9645
10447
  readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
10448
+ readonly xChainId: "0x2105.base";
9646
10449
  }];
9647
10450
  readonly "0xa.optimism": readonly [{
9648
10451
  readonly symbol: "ETH";
9649
10452
  readonly name: "Ethereum";
9650
10453
  readonly decimals: 18;
9651
10454
  readonly address: "0x0000000000000000000000000000000000000000";
10455
+ readonly xChainId: "0xa.optimism";
9652
10456
  }, {
9653
10457
  readonly symbol: "bnUSD";
9654
10458
  readonly name: "bnUSD";
9655
10459
  readonly decimals: 18;
9656
10460
  readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
10461
+ readonly xChainId: "0xa.optimism";
9657
10462
  }, {
9658
10463
  readonly symbol: "USDC";
9659
10464
  readonly name: "USD Coin";
9660
10465
  readonly decimals: 6;
9661
10466
  readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
10467
+ readonly xChainId: "0xa.optimism";
9662
10468
  }, {
9663
10469
  readonly symbol: "USDT";
9664
10470
  readonly name: "Tether USD";
9665
10471
  readonly decimals: 6;
9666
10472
  readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
10473
+ readonly xChainId: "0xa.optimism";
9667
10474
  }];
9668
10475
  readonly "0x89.polygon": readonly [{
9669
10476
  readonly symbol: "POL";
9670
10477
  readonly name: "Polygon";
9671
10478
  readonly decimals: 18;
9672
10479
  readonly address: "0x0000000000000000000000000000000000000000";
10480
+ readonly xChainId: "0x89.polygon";
9673
10481
  }, {
9674
10482
  readonly symbol: "bnUSD";
9675
10483
  readonly name: "bnUSD";
9676
10484
  readonly decimals: 18;
9677
10485
  readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
10486
+ readonly xChainId: "0x89.polygon";
9678
10487
  }, {
9679
10488
  readonly symbol: "USDC";
9680
10489
  readonly name: "USD Coin";
9681
10490
  readonly decimals: 6;
9682
10491
  readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
10492
+ readonly xChainId: "0x89.polygon";
9683
10493
  }];
9684
10494
  readonly "0x38.bsc": readonly [{
9685
10495
  readonly symbol: "BNB";
9686
10496
  readonly name: "BNB";
9687
10497
  readonly decimals: 18;
9688
10498
  readonly address: "0x0000000000000000000000000000000000000000";
10499
+ readonly xChainId: "0x38.bsc";
9689
10500
  }, {
9690
10501
  readonly symbol: "ETHB";
9691
10502
  readonly name: "Ethereum BSC";
9692
10503
  readonly decimals: 18;
9693
10504
  readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
10505
+ readonly xChainId: "0x38.bsc";
9694
10506
  }, {
9695
10507
  readonly symbol: "BTCB";
9696
10508
  readonly name: "Bitcoin BSC";
9697
10509
  readonly decimals: 18;
9698
10510
  readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
10511
+ readonly xChainId: "0x38.bsc";
9699
10512
  }, {
9700
10513
  readonly symbol: "bnUSD";
9701
10514
  readonly name: "bnUSD";
9702
10515
  readonly decimals: 18;
9703
10516
  readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
10517
+ readonly xChainId: "0x38.bsc";
9704
10518
  }];
9705
10519
  readonly solana: readonly [{
9706
10520
  readonly symbol: "SOL";
9707
10521
  readonly name: "Solana";
9708
10522
  readonly decimals: 9;
9709
10523
  readonly address: "11111111111111111111111111111111";
10524
+ readonly xChainId: "solana";
9710
10525
  }, {
9711
10526
  readonly symbol: "bnUSD";
9712
10527
  readonly name: "bnUSD";
9713
10528
  readonly decimals: 9;
9714
10529
  readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
10530
+ readonly xChainId: "solana";
9715
10531
  }, {
9716
10532
  readonly symbol: "USDC";
9717
10533
  readonly name: "USD Coin";
9718
10534
  readonly decimals: 6;
9719
10535
  readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
10536
+ readonly xChainId: "solana";
9720
10537
  }];
9721
10538
  readonly "0x1.icon": readonly [{
9722
- readonly symbol: "bnUSD";
10539
+ readonly symbol: "bnUSD (legacy)";
9723
10540
  readonly name: "bnUSD";
9724
10541
  readonly decimals: 18;
9725
10542
  readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
10543
+ readonly xChainId: "0x1.icon";
9726
10544
  }];
9727
10545
  readonly stellar: readonly [{
9728
10546
  readonly symbol: "XLM";
9729
10547
  readonly name: "Stellar Lumens";
9730
10548
  readonly decimals: 7;
9731
10549
  readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
10550
+ readonly xChainId: "stellar";
9732
10551
  }, {
9733
10552
  readonly symbol: "bnUSD";
9734
10553
  readonly name: "bnUSD";
9735
10554
  readonly decimals: 7;
9736
10555
  readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
10556
+ readonly xChainId: "stellar";
9737
10557
  }];
9738
10558
  readonly sui: readonly [{
9739
10559
  readonly symbol: "SUI";
9740
10560
  readonly name: "SUI";
9741
10561
  readonly decimals: 9;
9742
10562
  readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
10563
+ readonly xChainId: "sui";
9743
10564
  }, {
9744
10565
  readonly symbol: "bnUSD";
9745
10566
  readonly name: "bnUSD";
9746
10567
  readonly decimals: 9;
9747
10568
  readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
10569
+ readonly xChainId: "sui";
9748
10570
  }, {
9749
10571
  readonly symbol: "USDC";
9750
10572
  readonly name: "USD Coin";
9751
10573
  readonly decimals: 6;
9752
10574
  readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
10575
+ readonly xChainId: "sui";
9753
10576
  }];
9754
10577
  readonly "injective-1": readonly [{
9755
10578
  readonly symbol: "INJ";
9756
10579
  readonly name: "Injective";
9757
10580
  readonly decimals: 18;
9758
10581
  readonly address: "inj";
10582
+ readonly xChainId: "injective-1";
9759
10583
  }, {
9760
10584
  readonly symbol: "bnUSD";
9761
10585
  readonly name: "bnUSD";
9762
10586
  readonly decimals: 18;
9763
10587
  readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
10588
+ readonly xChainId: "injective-1";
9764
10589
  }, {
9765
10590
  readonly symbol: "USDC";
9766
10591
  readonly name: "USD Coin";
9767
10592
  readonly decimals: 6;
9768
10593
  readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
10594
+ readonly xChainId: "injective-1";
9769
10595
  }];
9770
10596
  readonly nibiru: readonly [];
9771
10597
  readonly sonic: readonly [{
@@ -9773,26 +10599,31 @@ declare const moneyMarketSupportedTokens: {
9773
10599
  readonly name: "Sonic";
9774
10600
  readonly decimals: 18;
9775
10601
  readonly address: "0x0000000000000000000000000000000000000000";
10602
+ readonly xChainId: "sonic";
9776
10603
  }, {
9777
10604
  readonly symbol: "WETH";
9778
10605
  readonly name: "Wrapped Ether";
9779
10606
  readonly decimals: 18;
9780
10607
  readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
10608
+ readonly xChainId: "sonic";
9781
10609
  }, {
9782
10610
  readonly symbol: "USDC";
9783
10611
  readonly name: "USD Coin";
9784
10612
  readonly decimals: 6;
9785
10613
  readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
10614
+ readonly xChainId: "sonic";
9786
10615
  }, {
9787
10616
  readonly symbol: "USDT";
9788
10617
  readonly name: "Tether USD";
9789
10618
  readonly decimals: 6;
9790
10619
  readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
10620
+ readonly xChainId: "sonic";
9791
10621
  }, {
9792
10622
  readonly symbol: "wS";
9793
10623
  readonly name: "Wrapped Sonic";
9794
10624
  readonly decimals: 18;
9795
10625
  readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
10626
+ readonly xChainId: "sonic";
9796
10627
  }];
9797
10628
  };
9798
10629
  declare const isMoneyMarketSupportedToken: (chainId: SpokeChainId, token: string) => boolean;
@@ -9806,18 +10637,22 @@ declare const originalAssetTohubAssetMap: Map<SpokeChainId, Map<OriginalAssetAdd
9806
10637
  declare const hubAssetToOriginalAssetMap: Map<SpokeChainId, Map<Address, OriginalAssetAddress>>;
9807
10638
  declare const chainIdToHubAssetsMap: Map<SpokeChainId, Map<Address, HubAssetInfo>>;
9808
10639
  declare const supportedHubAssets: Set<Address>;
10640
+ declare const supportedSodaAssets: Set<Address>;
9809
10641
  declare const spokeChainIdsSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "0x1.icon" | "stellar">;
10642
+ declare const getOriginalAssetInfoFromVault: (chainId: SpokeChainId, vault: Address) => OriginalAssetAddress[];
9810
10643
  declare const getHubAssetInfo: (chainId: SpokeChainId, asset: OriginalAssetAddress) => HubAssetInfo | undefined;
9811
10644
  declare const isValidOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => boolean;
9812
10645
  declare const getOriginalAssetAddress: (chainId: SpokeChainId, hubAsset: Address) => OriginalAssetAddress | undefined;
10646
+ declare const getOriginalTokenFromOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => XToken | undefined;
9813
10647
  declare const isValidHubAsset: (hubAsset: Address) => boolean;
10648
+ declare const isValidVault: (vault: Address) => boolean;
9814
10649
  declare const isValidChainHubAsset: (chainId: SpokeChainId, hubAsset: Address) => boolean;
9815
10650
  declare const isValidSpokeChainId: (chainId: SpokeChainId) => boolean;
9816
10651
  declare const isValidIntentRelayChainId: (chainId: bigint) => boolean;
9817
10652
  declare const supportedHubChains: HubChainId[];
9818
10653
  declare const supportedSpokeChains: SpokeChainId[];
9819
10654
  declare const intentRelayChainIdToSpokeChainIdMap: Map<IntentRelayChainId, SpokeChainId>;
9820
- declare const supportedTokensPerChain: Map<SpokeChainId, readonly Token[]>;
10655
+ declare const supportedTokensPerChain: Map<SpokeChainId, readonly XToken[]>;
9821
10656
  declare const getSpokeChainIdFromIntentRelayChainId: (intentRelayChainId: IntentRelayChainId) => SpokeChainId;
9822
10657
  declare const isNativeToken: (chainId: SpokeChainId, token: Token | string) => boolean;
9823
10658
 
@@ -9863,4 +10698,4 @@ declare function isUnifiedBnUSDMigrateParams(value: unknown): value is UnifiedBn
9863
10698
  declare function isBalnMigrateParams(value: unknown): value is BalnMigrateParams;
9864
10699
  declare function isIcxCreateRevertMigrationParams(value: unknown): value is IcxCreateRevertMigrationParams;
9865
10700
 
9866
- export { type AggregatedReserveData, type AssetInfo, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateIntentParams, type CustomProvider, 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, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, 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 GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketConfig, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, 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 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 QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, 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, type SolanaChainConfig, type SolanaGasEstimate, type SolanaRawTransaction, type SolanaReturnType, SolanaSpokeProvider, type SolverConfig, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, SolverService, type SolverServiceConfig, type SonicSpokeChainConfig, type SonicSpokeDepositParams, SonicSpokeProvider, SonicSpokeService, type SpokeChainConfig, type SpokeChainInfo, type SpokeDepositParams, type SpokeProvider, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StellarGasEstimate, type StellarReturnType, type StellarRpcConfig, type StellarSpokeChainConfig, StellarSpokeProvider, type SubmitTxParams, type SubmitTxResponse, type SuiGasEstimate, type SuiRawTransaction, type SuiReturnType, type SuiSpokeChainConfig, type SuiSpokeDepositParams, SuiSpokeProvider, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, type TokenInfo, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnstakeRequest, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, VAULT_TOKEN_DECIMALS, type VaultReserves, type VaultType, 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, chainIdToHubAssetsMap, connectionAbi, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubAssetInfo, getHubChainConfig, getIconAddressBytes, getIntentRelayChainId, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getMoneyMarketConfig, getOriginalAssetAddress, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getSolverConfig, getSpokeChainIdFromIntentRelayChainId, getSupportedMoneyMarketTokens, getSupportedSolverTokens, getTransactionPackets, hexToBigInt, hubAssetToOriginalAssetMap, hubAssets, hubVaults, hubVaultsAddressSet, intentRelayChainIdToSpokeChainIdMap, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isIconAddress, isIconSpokeProvider, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveSpokeProvider, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketReserveAsset, isMoneyMarketReserveHubAsset, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketSupportedToken, isMoneyMarketWithdrawUnknownError, isNativeToken, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isResponseAddressType, isResponseSigningType, isSolanaSpokeProvider, isSolverSupportedToken, isSonicSpokeProvider, isStellarSpokeProvider, isSuiSpokeProvider, isUnifiedBnUSDMigrateParams, isValidChainHubAsset, isValidHubAsset, isValidIntentRelayChainId, isValidOriginalAssetAddress, isValidSpokeChainId, isWaitUntilIntentExecutedFailed, moneyMarketReserveAssets, moneyMarketReserveHubAssetsSet, moneyMarketSupportedTokens, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, originalAssetTohubAssetMap, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sonicWalletFactoryAbi, spokeAssetManagerAbi, spokeChainConfig, spokeChainIdsSet, submitTransaction, supportedHubAssets, supportedHubChains, supportedSpokeChains, supportedTokensPerChain, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
10701
+ export { type AggregatedReserveData, type ApiResponse, type AssetInfo, type BackendApiConfig, BackendApiService, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateBridgeIntentParams, type CreateIntentParams, type CustomProvider, 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, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, 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 GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfig, 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 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 QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, 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, SodaTokens, SodaTokensAsHubAssets, SodaVaultTokensSet, Sodax, type SodaxConfig, type SolanaChainConfig, type SolanaGasEstimate, type SolanaRawTransaction, type SolanaReturnType, SolanaSpokeProvider, type SolverConfig, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, SolverService, type SolverServiceConfig, type SonicSpokeChainConfig, type SonicSpokeDepositParams, SonicSpokeProvider, SonicSpokeService, type SpokeChainConfig, type SpokeChainInfo, type SpokeDepositParams, type SpokeProvider, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StellarGasEstimate, type StellarReturnType, type StellarRpcConfig, type StellarSpokeChainConfig, StellarSpokeProvider, type SubmitTxParams, type SubmitTxResponse, type SuiGasEstimate, type SuiRawTransaction, type SuiReturnType, type SuiSpokeChainConfig, type SuiSpokeDepositParams, SuiSpokeProvider, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, type TokenInfo, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnstakeRequest, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, VAULT_TOKEN_DECIMALS, type VaultReserves, type VaultType, 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, chainIdToHubAssetsMap, connectionAbi, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubAssetInfo, getHubChainConfig, getHubVaultTokenByAddress, getIconAddressBytes, getIntentRelayChainId, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getMoneyMarketConfig, getOriginalAssetAddress, getOriginalAssetInfoFromVault, getOriginalTokenFromOriginalAssetAddress, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getSolverConfig, getSpokeChainIdFromIntentRelayChainId, getSupportedMoneyMarketTokens, getSupportedSolverTokens, getTransactionPackets, hexToBigInt, hubAssetToOriginalAssetMap, hubAssets, hubVaultTokensMap, hubVaults, hubVaultsAddressSet, intentRelayChainIdToSpokeChainIdMap, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isIconAddress, isIconSpokeProvider, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveSpokeProvider, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketReserveAsset, isMoneyMarketReserveHubAsset, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketSupportedToken, isMoneyMarketWithdrawUnknownError, isNativeToken, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isResponseAddressType, isResponseSigningType, isSodaVaultToken, isSolanaSpokeProvider, isSolverSupportedToken, isSonicSpokeProvider, isStellarSpokeProvider, isSuiSpokeProvider, isUnifiedBnUSDMigrateParams, isValidChainHubAsset, isValidHubAsset, isValidIntentRelayChainId, isValidOriginalAssetAddress, isValidSpokeChainId, isValidVault, isWaitUntilIntentExecutedFailed, moneyMarketReserveAssets, moneyMarketReserveHubAssetsSet, moneyMarketSupportedTokens, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, originalAssetTohubAssetMap, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sonicWalletFactoryAbi, spokeAssetManagerAbi, spokeChainConfig, spokeChainIdsSet, submitTransaction, supportedHubAssets, supportedHubChains, supportedSodaAssets, supportedSpokeChains, supportedTokensPerChain, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };