@sodax/sdk 0.0.1-rc.31 → 0.0.1-rc.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.cjs +1021 -251
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +561 -27
- package/dist/index.d.ts +561 -27
- package/dist/index.mjs +1012 -253
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
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,180 @@ declare class BalnSwapService {
|
|
|
7605
7605
|
call<R extends boolean = false>(spokeProvider: SonicSpokeProvider, rawTx: EvmContractCall, raw?: R): PromiseEvmTxReturnType<R>;
|
|
7606
7606
|
}
|
|
7607
7607
|
|
|
7608
|
+
type CreateBridgeIntentParams = {
|
|
7609
|
+
srcChainId: SpokeChainId;
|
|
7610
|
+
srcAsset: string;
|
|
7611
|
+
amount: bigint;
|
|
7612
|
+
dstChainId: SpokeChainId;
|
|
7613
|
+
dstAsset: string;
|
|
7614
|
+
recipient: string;
|
|
7615
|
+
};
|
|
7616
|
+
type BridgeParams<S extends SpokeProvider> = Prettify<{
|
|
7617
|
+
params: CreateBridgeIntentParams;
|
|
7618
|
+
spokeProvider: S;
|
|
7619
|
+
skipSimulation?: boolean;
|
|
7620
|
+
} & OptionalFee>;
|
|
7621
|
+
type BridgeErrorCode = 'ALLOWANCE_CHECK_FAILED' | 'APPROVAL_FAILED' | 'CREATE_BRIDGE_INTENT_FAILED' | 'BRIDGE_FAILED' | RelayErrorCode;
|
|
7622
|
+
type BridgeError<T extends BridgeErrorCode> = {
|
|
7623
|
+
code: T;
|
|
7624
|
+
error: unknown;
|
|
7625
|
+
};
|
|
7626
|
+
type BridgeExtraData = {
|
|
7627
|
+
address: Hex$1;
|
|
7628
|
+
payload: Hex$1;
|
|
7629
|
+
};
|
|
7630
|
+
type BridgeOptionalExtraData = {
|
|
7631
|
+
data?: BridgeExtraData;
|
|
7632
|
+
};
|
|
7633
|
+
/**
|
|
7634
|
+
* BridgeService is a service that allows you to bridge tokens between chains
|
|
7635
|
+
* Birdge action can be between to spokes chains but can also be used to withdraw and deposit into soda tokens on the HUB.
|
|
7636
|
+
* By using soda tokens as src or destinatin address.
|
|
7637
|
+
* @param hubProvider - The hub provider
|
|
7638
|
+
* @param relayerApiEndpoint - The relayer API endpoint
|
|
7639
|
+
*/
|
|
7640
|
+
declare class BridgeService {
|
|
7641
|
+
readonly hubProvider: EvmHubProvider;
|
|
7642
|
+
readonly relayerApiEndpoint: HttpUrl;
|
|
7643
|
+
readonly config: BridgeServiceConfig;
|
|
7644
|
+
constructor(hubProvider: EvmHubProvider, relayerApiEndpoint: HttpUrl, config?: BridgeServiceConfig | undefined);
|
|
7645
|
+
/**
|
|
7646
|
+
* Get the fee for a given input amount
|
|
7647
|
+
* @param {bigint} inputAmount - The amount of input tokens
|
|
7648
|
+
* @returns {Promise<bigint>} The fee amount (denominated in input tokens)
|
|
7649
|
+
*
|
|
7650
|
+
* @example
|
|
7651
|
+
* const fee: bigint = await sodax.bridge.getFee(1000000000000000n);
|
|
7652
|
+
* console.log('Fee:', fee);
|
|
7653
|
+
*/
|
|
7654
|
+
getFee(inputAmount: bigint): bigint;
|
|
7655
|
+
/**
|
|
7656
|
+
* Check if allowance is valid for the bridge transaction
|
|
7657
|
+
* @param params - The bridge parameters
|
|
7658
|
+
* @param spokeProvider - The spoke provider
|
|
7659
|
+
* @returns {Promise<Result<boolean, BridgeError<'ALLOWANCE_CHECK_FAILED'>>>}
|
|
7660
|
+
*/
|
|
7661
|
+
isAllowanceValid<S extends SpokeProvider>({ params, spokeProvider, }: BridgeParams<S>): Promise<Result<boolean, BridgeError<'ALLOWANCE_CHECK_FAILED'>>>;
|
|
7662
|
+
/**
|
|
7663
|
+
* Approve token spending for the bridge transaction
|
|
7664
|
+
* @param params - The bridge parameters
|
|
7665
|
+
* @param spokeProvider - The spoke provider
|
|
7666
|
+
* @param raw - Whether to return raw transaction data
|
|
7667
|
+
* @returns Promise<Result<TxReturnType<S, R>, BridgeError<'APPROVAL_FAILED'>>>
|
|
7668
|
+
*/
|
|
7669
|
+
approve<S extends SpokeProvider, R extends boolean = false>({ params, spokeProvider, raw, }: Prettify<BridgeParams<S> & OptionalRaw<R>>): Promise<Result<TxReturnType<S, R>, BridgeError<'APPROVAL_FAILED'>>>;
|
|
7670
|
+
/**
|
|
7671
|
+
* Execute a bridge transaction to transfer tokens from one chain to another
|
|
7672
|
+
* @param params - The bridge parameters including source/destination chains, assets, and recipient
|
|
7673
|
+
* @param spokeProvider - The spoke provider for the source chain
|
|
7674
|
+
* @param timeout - The timeout in milliseconds for the transaction. Default is 60 seconds.
|
|
7675
|
+
* @returns {Promise<Result<[SpokeTxHash, HubTxHash], BridgeError<BridgeErrorCode>>>} - Returns the transaction hashes for both spoke and hub chains or error
|
|
7676
|
+
*
|
|
7677
|
+
* @example
|
|
7678
|
+
* const result = await sodax.bridge.bridge(
|
|
7679
|
+
* {
|
|
7680
|
+
* srcChainId: '0x2105.base',
|
|
7681
|
+
* srcAsset: '0x...', // Address of the source token
|
|
7682
|
+
* amount: 1000n, // Amount to bridge (in token decimals)
|
|
7683
|
+
* dstChainId: '0x89.polygon',
|
|
7684
|
+
* dstAsset: '0x...', // Address of the destination token
|
|
7685
|
+
* recipient: '0x...', // Recipient address on destination chain
|
|
7686
|
+
* partnerFee: { address: '0x...', percentage: 0.1 } // Optional partner fee. Partner fees and denominated in vault token decimals (18)
|
|
7687
|
+
* },
|
|
7688
|
+
* spokeProvider,
|
|
7689
|
+
* 30000 // Optional timeout in milliseconds (default: 60000, i.e. 60 seconds)
|
|
7690
|
+
* );
|
|
7691
|
+
*
|
|
7692
|
+
* if (!result.ok) {
|
|
7693
|
+
* // Handle error
|
|
7694
|
+
* }
|
|
7695
|
+
*
|
|
7696
|
+
* const [
|
|
7697
|
+
* spokeTxHash, // transaction hash on the source chain
|
|
7698
|
+
* hubTxHash, // transaction hash on the hub chain
|
|
7699
|
+
* ] = result.value;
|
|
7700
|
+
* console.log('Bridge transaction hashes:', { spokeTxHash, hubTxHash });
|
|
7701
|
+
*/
|
|
7702
|
+
bridge<S extends SpokeProvider>({ params, spokeProvider, fee, timeout, }: Prettify<BridgeParams<S> & OptionalTimeout>): Promise<Result<[SpokeTxHash, HubTxHash], BridgeError<BridgeErrorCode>>>;
|
|
7703
|
+
/**
|
|
7704
|
+
* Create bridge intent only (without relaying to hub)
|
|
7705
|
+
* NOTE: This method only executes the transaction on the spoke chain and creates the bridge intent
|
|
7706
|
+
* In order to successfully bridge tokens, you need to:
|
|
7707
|
+
* 1. Check if the allowance is sufficient using isAllowanceValid
|
|
7708
|
+
* 2. Approve the appropriate contract to spend the tokens using approve
|
|
7709
|
+
* 3. Create the bridge intent using this method
|
|
7710
|
+
* 4. Relay the transaction to the hub and await completion using the bridge method
|
|
7711
|
+
*
|
|
7712
|
+
* @param params - The bridge parameters including source/destination chains, assets, and recipient
|
|
7713
|
+
* @param spokeProvider - The spoke provider for the source chain
|
|
7714
|
+
* @param raw - Whether to return the raw transaction data
|
|
7715
|
+
* @returns {Promise<Result<TxReturnType<S, R>, BridgeError<BridgeErrorCode>>>} - Returns the transaction result
|
|
7716
|
+
*
|
|
7717
|
+
* @example
|
|
7718
|
+
* const bridgeService = new BridgeService(hubProvider, relayerApiEndpoint);
|
|
7719
|
+
* const result = await sodax.bridge.createBridgeIntent(
|
|
7720
|
+
* {
|
|
7721
|
+
* srcChainId: 'ethereum',
|
|
7722
|
+
* srcAsset: "0x123...", // source token address
|
|
7723
|
+
* amount: 1000000000000000000n, // 1 token in wei
|
|
7724
|
+
* dstChainId: 'polygon',
|
|
7725
|
+
* dstAsset: "0x456...", // destination token address
|
|
7726
|
+
* recipient: "0x789..." // recipient address
|
|
7727
|
+
* },
|
|
7728
|
+
* spokeProvider,
|
|
7729
|
+
* raw // Optional: true = return the raw transaction data, false = execute and return the transaction hash (default: false)
|
|
7730
|
+
* );
|
|
7731
|
+
*
|
|
7732
|
+
* if (result.ok) {
|
|
7733
|
+
* const txHash = result.value;
|
|
7734
|
+
* console.log('Bridge intent transaction hash:', txHash);
|
|
7735
|
+
* } else {
|
|
7736
|
+
* console.error('Bridge intent creation failed:', result.error);
|
|
7737
|
+
* }
|
|
7738
|
+
*/
|
|
7739
|
+
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>;
|
|
7740
|
+
/**
|
|
7741
|
+
* Build the bridge transaction data for executing the bridge operation on the hub
|
|
7742
|
+
* @param params - The create bridge intent parameters
|
|
7743
|
+
* @param srcAssetInfo - The source asset information
|
|
7744
|
+
* @param dstAssetInfo - The destination asset information
|
|
7745
|
+
* @returns Hex - The encoded contract calls for the bridge operation
|
|
7746
|
+
*/
|
|
7747
|
+
buildBridgeData(params: CreateBridgeIntentParams, srcAssetInfo: HubAssetInfo, dstAssetInfo: HubAssetInfo, partnerFee: PartnerFee | undefined): Hex$1;
|
|
7748
|
+
/**
|
|
7749
|
+
* Retrieves the deposited token balance held by the asset manager on a spoke chain.
|
|
7750
|
+
* This balance represents the available liquidity for bridging operations and is used to verify
|
|
7751
|
+
* that the target chain has sufficient funds to complete a bridge transaction.
|
|
7752
|
+
*
|
|
7753
|
+
* @param spokeProvider - The spoke provider instance
|
|
7754
|
+
* @param token - The token address to query the balance for
|
|
7755
|
+
* @returns {Promise<bigint>} - The token balance as a bigint value
|
|
7756
|
+
*/
|
|
7757
|
+
getBridgeableAmount(from: XToken, to: XToken): Promise<Result<bigint, unknown>>;
|
|
7758
|
+
/**
|
|
7759
|
+
* Check if two assets on different chains are bridgeable
|
|
7760
|
+
* Two assets are bridgeable if they share the same vault on the hub chain
|
|
7761
|
+
* @param from - The source X token
|
|
7762
|
+
* @param to - The destination X token
|
|
7763
|
+
* @param unchecked - Whether to skip the chain ID validation
|
|
7764
|
+
* @returns boolean - true if assets are bridgeable, false otherwise
|
|
7765
|
+
*/
|
|
7766
|
+
isBridgeable({ from, to, unchecked, }: {
|
|
7767
|
+
from: XToken;
|
|
7768
|
+
to: XToken;
|
|
7769
|
+
unchecked?: boolean;
|
|
7770
|
+
}): boolean;
|
|
7771
|
+
/**
|
|
7772
|
+
* Get all bridgeable tokens from a source token to a destination chain
|
|
7773
|
+
* @param from - The source chain ID
|
|
7774
|
+
* @param to - The destination chain ID
|
|
7775
|
+
* @param token - The source token address
|
|
7776
|
+
* @returns XToken[] - Array of bridgeable tokens on the destination chain
|
|
7777
|
+
*/
|
|
7778
|
+
getBridgeableTokens(from: SpokeChainId, to: SpokeChainId, token: string): Result<XToken[], unknown>;
|
|
7779
|
+
filterTokensWithSameVault(tokens: Record<string, XToken>, to: SpokeChainId, srcAssetInfo: HubAssetInfo | undefined): XToken[];
|
|
7780
|
+
}
|
|
7781
|
+
|
|
7608
7782
|
declare class IconSpokeProvider {
|
|
7609
7783
|
readonly walletProvider: IIconWalletProvider;
|
|
7610
7784
|
readonly chainConfig: IconSpokeChainConfig;
|
|
@@ -7719,7 +7893,7 @@ type BaseSpokeChainConfig<T extends ChainType> = {
|
|
|
7719
7893
|
addresses: {
|
|
7720
7894
|
[key: string]: Address$1 | string | Uint8Array;
|
|
7721
7895
|
};
|
|
7722
|
-
supportedTokens: Record<string,
|
|
7896
|
+
supportedTokens: Record<string, XToken>;
|
|
7723
7897
|
nativeToken: Address$1 | string;
|
|
7724
7898
|
bnUSD: Address$1 | string;
|
|
7725
7899
|
};
|
|
@@ -7756,6 +7930,7 @@ type MoneyMarketConfig = {
|
|
|
7756
7930
|
type MoneyMarketServiceConfig = Prettify<MoneyMarketConfig & PartnerFeeConfig & RelayerApiConfig>;
|
|
7757
7931
|
type SolverServiceConfig = Prettify<SolverConfig & PartnerFeeConfig & RelayerApiConfig>;
|
|
7758
7932
|
type MigrationServiceConfig = Prettify<RelayerApiConfig>;
|
|
7933
|
+
type BridgeServiceConfig = Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
7759
7934
|
type MoneyMarketConfigParams = Prettify<MoneyMarketConfig & Optional<PartnerFeeConfig, 'partnerFee'>> | Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
7760
7935
|
type Default = {
|
|
7761
7936
|
default: boolean;
|
|
@@ -8168,6 +8343,7 @@ type SodaxConfig = {
|
|
|
8168
8343
|
solver?: SolverConfigParams;
|
|
8169
8344
|
moneyMarket?: MoneyMarketConfigParams;
|
|
8170
8345
|
migration?: MigrationServiceConfig;
|
|
8346
|
+
bridge?: BridgeServiceConfig;
|
|
8171
8347
|
hubProviderConfig?: EvmHubProviderConfig;
|
|
8172
8348
|
relayerApiEndpoint?: HttpUrl;
|
|
8173
8349
|
};
|
|
@@ -8181,6 +8357,7 @@ declare class Sodax {
|
|
|
8181
8357
|
readonly solver: SolverService;
|
|
8182
8358
|
readonly moneyMarket: MoneyMarketService;
|
|
8183
8359
|
readonly migration: MigrationService;
|
|
8360
|
+
readonly bridge: BridgeService;
|
|
8184
8361
|
readonly hubProvider: EvmHubProvider;
|
|
8185
8362
|
readonly relayerApiEndpoint: HttpUrl;
|
|
8186
8363
|
constructor(config?: SodaxConfig);
|
|
@@ -8751,7 +8928,7 @@ declare function hexToBigInt(hex: string): bigint;
|
|
|
8751
8928
|
declare function deriveUserWalletAddress(spokeProvider: SpokeProvider, hubProvider: EvmHubProvider, walletAddress?: string): Promise<Address$1>;
|
|
8752
8929
|
|
|
8753
8930
|
declare const DEFAULT_MAX_RETRY = 3;
|
|
8754
|
-
declare const DEFAULT_RELAY_TX_TIMEOUT =
|
|
8931
|
+
declare const DEFAULT_RELAY_TX_TIMEOUT = 120000;
|
|
8755
8932
|
declare const DEFAULT_RETRY_DELAY_MS = 2000;
|
|
8756
8933
|
declare const ICON_TX_RESULT_WAIT_MAX_RETRY = 10;
|
|
8757
8934
|
declare const MAX_UINT256: bigint;
|
|
@@ -8780,6 +8957,131 @@ declare const EVM_SPOKE_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "
|
|
|
8780
8957
|
declare const ChainIdToIntentRelayChainId: Record<ChainId, IntentRelayChainId>;
|
|
8781
8958
|
declare const getIntentRelayChainId: (chainId: ChainId) => IntentRelayChainId;
|
|
8782
8959
|
declare function getEvmViemChain(id: EvmChainId): Chain;
|
|
8960
|
+
declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD"];
|
|
8961
|
+
type HubVaultSymbol = (typeof HubVaultSymbols)[number];
|
|
8962
|
+
declare const SodaTokens: {
|
|
8963
|
+
readonly sodaBNB: {
|
|
8964
|
+
readonly symbol: "sodaBNB";
|
|
8965
|
+
readonly name: "Soda BNB";
|
|
8966
|
+
readonly decimals: 18;
|
|
8967
|
+
readonly address: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
8968
|
+
readonly xChainId: "sonic";
|
|
8969
|
+
};
|
|
8970
|
+
readonly sodaAVAX: {
|
|
8971
|
+
readonly symbol: "sodaAVAX";
|
|
8972
|
+
readonly name: "Soda AVAX";
|
|
8973
|
+
readonly decimals: 18;
|
|
8974
|
+
readonly address: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
8975
|
+
readonly xChainId: "sonic";
|
|
8976
|
+
};
|
|
8977
|
+
readonly sodaETH: {
|
|
8978
|
+
readonly symbol: "sodaETH";
|
|
8979
|
+
readonly name: "Soda ETH";
|
|
8980
|
+
readonly decimals: 18;
|
|
8981
|
+
readonly address: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
8982
|
+
readonly xChainId: "sonic";
|
|
8983
|
+
};
|
|
8984
|
+
readonly sodaBTC: {
|
|
8985
|
+
readonly symbol: "sodaBTC";
|
|
8986
|
+
readonly name: "Soda BTC";
|
|
8987
|
+
readonly decimals: 18;
|
|
8988
|
+
readonly address: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
8989
|
+
readonly xChainId: "sonic";
|
|
8990
|
+
};
|
|
8991
|
+
readonly sodaSOL: {
|
|
8992
|
+
readonly symbol: "sodaSOL";
|
|
8993
|
+
readonly name: "Soda SOL";
|
|
8994
|
+
readonly decimals: 18;
|
|
8995
|
+
readonly address: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
8996
|
+
readonly xChainId: "sonic";
|
|
8997
|
+
};
|
|
8998
|
+
readonly sodaXLM: {
|
|
8999
|
+
readonly symbol: "sodaXLM";
|
|
9000
|
+
readonly name: "Soda XLM";
|
|
9001
|
+
readonly decimals: 18;
|
|
9002
|
+
readonly address: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
9003
|
+
readonly xChainId: "sonic";
|
|
9004
|
+
};
|
|
9005
|
+
readonly sodaINJ: {
|
|
9006
|
+
readonly symbol: "sodaINJ";
|
|
9007
|
+
readonly name: "Soda INJ";
|
|
9008
|
+
readonly decimals: 18;
|
|
9009
|
+
readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
9010
|
+
readonly xChainId: "sonic";
|
|
9011
|
+
};
|
|
9012
|
+
readonly sodaNIBI: {
|
|
9013
|
+
readonly symbol: "sodaNIBI";
|
|
9014
|
+
readonly name: "Soda NIBI";
|
|
9015
|
+
readonly decimals: 18;
|
|
9016
|
+
readonly address: "0xc6c85287a8b173A509C2F198bB719A8a5a2d0C68";
|
|
9017
|
+
readonly xChainId: "sonic";
|
|
9018
|
+
};
|
|
9019
|
+
readonly sodaSUI: {
|
|
9020
|
+
readonly symbol: "sodaSUI";
|
|
9021
|
+
readonly name: "Soda SUI";
|
|
9022
|
+
readonly decimals: 18;
|
|
9023
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
9024
|
+
readonly xChainId: "sonic";
|
|
9025
|
+
};
|
|
9026
|
+
readonly bnUSD: {
|
|
9027
|
+
readonly symbol: "bnUSD";
|
|
9028
|
+
readonly name: "Balanced Dollar";
|
|
9029
|
+
readonly decimals: 18;
|
|
9030
|
+
readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
9031
|
+
readonly xChainId: "sonic";
|
|
9032
|
+
};
|
|
9033
|
+
readonly sodaUSDC: {
|
|
9034
|
+
readonly symbol: "sodaUSDC";
|
|
9035
|
+
readonly name: "Soda USDC";
|
|
9036
|
+
readonly decimals: 18;
|
|
9037
|
+
readonly address: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
9038
|
+
readonly xChainId: "sonic";
|
|
9039
|
+
};
|
|
9040
|
+
readonly sodaUSDT: {
|
|
9041
|
+
readonly symbol: "sodaUSDT";
|
|
9042
|
+
readonly name: "Soda USDT";
|
|
9043
|
+
readonly decimals: 18;
|
|
9044
|
+
readonly address: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
9045
|
+
readonly xChainId: "sonic";
|
|
9046
|
+
};
|
|
9047
|
+
readonly IbnUSD: {
|
|
9048
|
+
readonly symbol: "IbnUSD";
|
|
9049
|
+
readonly name: "ICON bnUSD (Migration)";
|
|
9050
|
+
readonly decimals: 18;
|
|
9051
|
+
readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
9052
|
+
readonly xChainId: "sonic";
|
|
9053
|
+
};
|
|
9054
|
+
readonly sodaS: {
|
|
9055
|
+
readonly symbol: "sodaS";
|
|
9056
|
+
readonly name: "Soda S";
|
|
9057
|
+
readonly decimals: 18;
|
|
9058
|
+
readonly address: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
9059
|
+
readonly xChainId: "sonic";
|
|
9060
|
+
};
|
|
9061
|
+
readonly sodaPOL: {
|
|
9062
|
+
readonly symbol: "sodaPOL";
|
|
9063
|
+
readonly name: "Soda POL";
|
|
9064
|
+
readonly decimals: 18;
|
|
9065
|
+
readonly address: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
9066
|
+
readonly xChainId: "sonic";
|
|
9067
|
+
};
|
|
9068
|
+
readonly sodaSODA: {
|
|
9069
|
+
readonly symbol: "sodaSODA";
|
|
9070
|
+
readonly name: "Soda SODA";
|
|
9071
|
+
readonly decimals: 18;
|
|
9072
|
+
readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
9073
|
+
readonly xChainId: "sonic";
|
|
9074
|
+
};
|
|
9075
|
+
};
|
|
9076
|
+
declare const SodaTokensAsHubAssets: Record<string, {
|
|
9077
|
+
asset: Address;
|
|
9078
|
+
decimal: number;
|
|
9079
|
+
vault: Address;
|
|
9080
|
+
symbol: string;
|
|
9081
|
+
name: string;
|
|
9082
|
+
}>;
|
|
9083
|
+
declare const SodaVaultTokensSet: Set<string>;
|
|
9084
|
+
declare const isSodaVaultToken: (address: string) => boolean;
|
|
8783
9085
|
declare const getHubChainConfig: (chainId: HubChainId) => EvmHubChainConfig;
|
|
8784
9086
|
declare const spokeChainConfig: {
|
|
8785
9087
|
readonly sonic: {
|
|
@@ -8795,47 +9097,159 @@ declare const spokeChainConfig: {
|
|
|
8795
9097
|
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
8796
9098
|
readonly bnUSD: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
8797
9099
|
readonly supportedTokens: {
|
|
8798
|
-
readonly
|
|
8799
|
-
readonly symbol: "
|
|
8800
|
-
readonly name: "
|
|
9100
|
+
readonly sodaBNB: {
|
|
9101
|
+
readonly symbol: "sodaBNB";
|
|
9102
|
+
readonly name: "Soda BNB";
|
|
8801
9103
|
readonly decimals: 18;
|
|
8802
|
-
readonly address: "
|
|
9104
|
+
readonly address: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
9105
|
+
readonly xChainId: "sonic";
|
|
9106
|
+
};
|
|
9107
|
+
readonly sodaAVAX: {
|
|
9108
|
+
readonly symbol: "sodaAVAX";
|
|
9109
|
+
readonly name: "Soda AVAX";
|
|
9110
|
+
readonly decimals: 18;
|
|
9111
|
+
readonly address: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
9112
|
+
readonly xChainId: "sonic";
|
|
9113
|
+
};
|
|
9114
|
+
readonly sodaETH: {
|
|
9115
|
+
readonly symbol: "sodaETH";
|
|
9116
|
+
readonly name: "Soda ETH";
|
|
9117
|
+
readonly decimals: 18;
|
|
9118
|
+
readonly address: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
9119
|
+
readonly xChainId: "sonic";
|
|
9120
|
+
};
|
|
9121
|
+
readonly sodaBTC: {
|
|
9122
|
+
readonly symbol: "sodaBTC";
|
|
9123
|
+
readonly name: "Soda BTC";
|
|
9124
|
+
readonly decimals: 18;
|
|
9125
|
+
readonly address: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
9126
|
+
readonly xChainId: "sonic";
|
|
9127
|
+
};
|
|
9128
|
+
readonly sodaSOL: {
|
|
9129
|
+
readonly symbol: "sodaSOL";
|
|
9130
|
+
readonly name: "Soda SOL";
|
|
9131
|
+
readonly decimals: 18;
|
|
9132
|
+
readonly address: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
9133
|
+
readonly xChainId: "sonic";
|
|
9134
|
+
};
|
|
9135
|
+
readonly sodaXLM: {
|
|
9136
|
+
readonly symbol: "sodaXLM";
|
|
9137
|
+
readonly name: "Soda XLM";
|
|
9138
|
+
readonly decimals: 18;
|
|
9139
|
+
readonly address: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
9140
|
+
readonly xChainId: "sonic";
|
|
9141
|
+
};
|
|
9142
|
+
readonly sodaINJ: {
|
|
9143
|
+
readonly symbol: "sodaINJ";
|
|
9144
|
+
readonly name: "Soda INJ";
|
|
9145
|
+
readonly decimals: 18;
|
|
9146
|
+
readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
9147
|
+
readonly xChainId: "sonic";
|
|
9148
|
+
};
|
|
9149
|
+
readonly sodaNIBI: {
|
|
9150
|
+
readonly symbol: "sodaNIBI";
|
|
9151
|
+
readonly name: "Soda NIBI";
|
|
9152
|
+
readonly decimals: 18;
|
|
9153
|
+
readonly address: "0xc6c85287a8b173A509C2F198bB719A8a5a2d0C68";
|
|
9154
|
+
readonly xChainId: "sonic";
|
|
9155
|
+
};
|
|
9156
|
+
readonly sodaSUI: {
|
|
9157
|
+
readonly symbol: "sodaSUI";
|
|
9158
|
+
readonly name: "Soda SUI";
|
|
9159
|
+
readonly decimals: 18;
|
|
9160
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
9161
|
+
readonly xChainId: "sonic";
|
|
8803
9162
|
};
|
|
8804
9163
|
readonly bnUSD: {
|
|
8805
9164
|
readonly symbol: "bnUSD";
|
|
8806
|
-
readonly name: "
|
|
9165
|
+
readonly name: "Balanced Dollar";
|
|
8807
9166
|
readonly decimals: 18;
|
|
8808
9167
|
readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
9168
|
+
readonly xChainId: "sonic";
|
|
9169
|
+
};
|
|
9170
|
+
readonly sodaUSDC: {
|
|
9171
|
+
readonly symbol: "sodaUSDC";
|
|
9172
|
+
readonly name: "Soda USDC";
|
|
9173
|
+
readonly decimals: 18;
|
|
9174
|
+
readonly address: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
9175
|
+
readonly xChainId: "sonic";
|
|
9176
|
+
};
|
|
9177
|
+
readonly sodaUSDT: {
|
|
9178
|
+
readonly symbol: "sodaUSDT";
|
|
9179
|
+
readonly name: "Soda USDT";
|
|
9180
|
+
readonly decimals: 18;
|
|
9181
|
+
readonly address: "0xbDf1F453FCB61424011BBDDCB96cFDB30f3Fe876";
|
|
9182
|
+
readonly xChainId: "sonic";
|
|
9183
|
+
};
|
|
9184
|
+
readonly IbnUSD: {
|
|
9185
|
+
readonly symbol: "IbnUSD";
|
|
9186
|
+
readonly name: "ICON bnUSD (Migration)";
|
|
9187
|
+
readonly decimals: 18;
|
|
9188
|
+
readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
9189
|
+
readonly xChainId: "sonic";
|
|
9190
|
+
};
|
|
9191
|
+
readonly sodaS: {
|
|
9192
|
+
readonly symbol: "sodaS";
|
|
9193
|
+
readonly name: "Soda S";
|
|
9194
|
+
readonly decimals: 18;
|
|
9195
|
+
readonly address: "0x62ecc3Eeb80a162c57624B3fF80313FE69f5203e";
|
|
9196
|
+
readonly xChainId: "sonic";
|
|
9197
|
+
};
|
|
9198
|
+
readonly sodaPOL: {
|
|
9199
|
+
readonly symbol: "sodaPOL";
|
|
9200
|
+
readonly name: "Soda POL";
|
|
9201
|
+
readonly decimals: 18;
|
|
9202
|
+
readonly address: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
9203
|
+
readonly xChainId: "sonic";
|
|
9204
|
+
};
|
|
9205
|
+
readonly sodaSODA: {
|
|
9206
|
+
readonly symbol: "sodaSODA";
|
|
9207
|
+
readonly name: "Soda SODA";
|
|
9208
|
+
readonly decimals: 18;
|
|
9209
|
+
readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
9210
|
+
readonly xChainId: "sonic";
|
|
9211
|
+
};
|
|
9212
|
+
readonly S: {
|
|
9213
|
+
readonly symbol: "S";
|
|
9214
|
+
readonly name: "Sonic";
|
|
9215
|
+
readonly decimals: 18;
|
|
9216
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9217
|
+
readonly xChainId: "sonic";
|
|
8809
9218
|
};
|
|
8810
9219
|
readonly WETH: {
|
|
8811
9220
|
readonly symbol: "WETH";
|
|
8812
9221
|
readonly name: "Wrapped Ether";
|
|
8813
9222
|
readonly decimals: 18;
|
|
8814
9223
|
readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
|
|
9224
|
+
readonly xChainId: "sonic";
|
|
8815
9225
|
};
|
|
8816
9226
|
readonly USDC: {
|
|
8817
9227
|
readonly symbol: "USDC";
|
|
8818
9228
|
readonly name: "USD Coin";
|
|
8819
9229
|
readonly decimals: 6;
|
|
8820
9230
|
readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
|
|
9231
|
+
readonly xChainId: "sonic";
|
|
8821
9232
|
};
|
|
8822
9233
|
readonly USDT: {
|
|
8823
9234
|
readonly symbol: "USDT";
|
|
8824
9235
|
readonly name: "Tether USD";
|
|
8825
9236
|
readonly decimals: 6;
|
|
8826
9237
|
readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
|
|
9238
|
+
readonly xChainId: "sonic";
|
|
8827
9239
|
};
|
|
8828
9240
|
readonly wS: {
|
|
8829
9241
|
readonly symbol: "wS";
|
|
8830
9242
|
readonly name: "Wrapped Sonic";
|
|
8831
9243
|
readonly decimals: 18;
|
|
8832
9244
|
readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
9245
|
+
readonly xChainId: "sonic";
|
|
8833
9246
|
};
|
|
8834
9247
|
readonly SODA: {
|
|
8835
9248
|
readonly symbol: "SODA";
|
|
8836
9249
|
readonly name: "SODAX";
|
|
8837
9250
|
readonly decimals: 18;
|
|
8838
9251
|
readonly address: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
9252
|
+
readonly xChainId: "sonic";
|
|
8839
9253
|
};
|
|
8840
9254
|
};
|
|
8841
9255
|
};
|
|
@@ -8860,18 +9274,21 @@ declare const spokeChainConfig: {
|
|
|
8860
9274
|
readonly name: "Solana";
|
|
8861
9275
|
readonly decimals: 9;
|
|
8862
9276
|
readonly address: "11111111111111111111111111111111";
|
|
9277
|
+
readonly xChainId: "solana";
|
|
8863
9278
|
};
|
|
8864
9279
|
readonly bnUSD: {
|
|
8865
9280
|
readonly symbol: "bnUSD";
|
|
8866
9281
|
readonly name: "bnUSD";
|
|
8867
9282
|
readonly decimals: 9;
|
|
8868
9283
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
9284
|
+
readonly xChainId: "solana";
|
|
8869
9285
|
};
|
|
8870
9286
|
readonly USDC: {
|
|
8871
9287
|
readonly symbol: "USDC";
|
|
8872
9288
|
readonly name: "USD Coin";
|
|
8873
9289
|
readonly decimals: 6;
|
|
8874
9290
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
9291
|
+
readonly xChainId: "solana";
|
|
8875
9292
|
};
|
|
8876
9293
|
};
|
|
8877
9294
|
readonly gasPrice: "500000";
|
|
@@ -8896,24 +9313,28 @@ declare const spokeChainConfig: {
|
|
|
8896
9313
|
readonly name: "Avalanche";
|
|
8897
9314
|
readonly decimals: 18;
|
|
8898
9315
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9316
|
+
readonly xChainId: "0xa86a.avax";
|
|
8899
9317
|
};
|
|
8900
9318
|
readonly bnUSD: {
|
|
8901
9319
|
readonly symbol: "bnUSD";
|
|
8902
9320
|
readonly name: "bnUSD";
|
|
8903
9321
|
readonly decimals: 18;
|
|
8904
9322
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
9323
|
+
readonly xChainId: "0xa86a.avax";
|
|
8905
9324
|
};
|
|
8906
9325
|
readonly USDT: {
|
|
8907
9326
|
readonly symbol: "USDT";
|
|
8908
9327
|
readonly name: "Tether USD";
|
|
8909
9328
|
readonly decimals: 6;
|
|
8910
9329
|
readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
|
|
9330
|
+
readonly xChainId: "0xa86a.avax";
|
|
8911
9331
|
};
|
|
8912
9332
|
readonly USDC: {
|
|
8913
9333
|
readonly symbol: "USDC";
|
|
8914
9334
|
readonly name: "USD Coin";
|
|
8915
9335
|
readonly decimals: 6;
|
|
8916
9336
|
readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
9337
|
+
readonly xChainId: "0xa86a.avax";
|
|
8917
9338
|
};
|
|
8918
9339
|
};
|
|
8919
9340
|
};
|
|
@@ -8935,12 +9356,14 @@ declare const spokeChainConfig: {
|
|
|
8935
9356
|
readonly name: "Nibiru";
|
|
8936
9357
|
readonly decimals: 6;
|
|
8937
9358
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9359
|
+
readonly xChainId: "nibiru";
|
|
8938
9360
|
};
|
|
8939
9361
|
readonly bnUSD: {
|
|
8940
9362
|
readonly symbol: "bnUSD";
|
|
8941
9363
|
readonly name: "bnUSD";
|
|
8942
9364
|
readonly decimals: 18;
|
|
8943
9365
|
readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
|
|
9366
|
+
readonly xChainId: "nibiru";
|
|
8944
9367
|
};
|
|
8945
9368
|
};
|
|
8946
9369
|
};
|
|
@@ -8962,48 +9385,56 @@ declare const spokeChainConfig: {
|
|
|
8962
9385
|
readonly name: "Ethereum";
|
|
8963
9386
|
readonly decimals: 18;
|
|
8964
9387
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9388
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8965
9389
|
};
|
|
8966
9390
|
readonly bnUSD: {
|
|
8967
9391
|
readonly symbol: "bnUSD";
|
|
8968
9392
|
readonly name: "bnUSD";
|
|
8969
9393
|
readonly decimals: 18;
|
|
8970
9394
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
9395
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8971
9396
|
};
|
|
8972
9397
|
readonly wstETH: {
|
|
8973
9398
|
readonly symbol: "wstETH";
|
|
8974
9399
|
readonly name: "Wrapped stETH";
|
|
8975
9400
|
readonly decimals: 18;
|
|
8976
9401
|
readonly address: "0x5979D7b546E38E414F7E9822514be443A4800529";
|
|
9402
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8977
9403
|
};
|
|
8978
9404
|
readonly weETH: {
|
|
8979
9405
|
readonly symbol: "weETH";
|
|
8980
9406
|
readonly name: "Wrapped eETH";
|
|
8981
9407
|
readonly decimals: 18;
|
|
8982
9408
|
readonly address: "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe";
|
|
9409
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8983
9410
|
};
|
|
8984
9411
|
readonly tBTC: {
|
|
8985
9412
|
readonly symbol: "tBTC";
|
|
8986
9413
|
readonly name: "Arbitrum tBTC v2";
|
|
8987
9414
|
readonly decimals: 18;
|
|
8988
9415
|
readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
|
|
9416
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8989
9417
|
};
|
|
8990
9418
|
readonly WBTC: {
|
|
8991
9419
|
readonly symbol: "WBTC";
|
|
8992
9420
|
readonly name: "Wrapped BTC";
|
|
8993
9421
|
readonly decimals: 8;
|
|
8994
9422
|
readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
9423
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8995
9424
|
};
|
|
8996
9425
|
readonly USDC: {
|
|
8997
9426
|
readonly symbol: "USDC";
|
|
8998
9427
|
readonly name: "USD Coin (USDC)";
|
|
8999
9428
|
readonly decimals: 6;
|
|
9000
9429
|
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
9430
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9001
9431
|
};
|
|
9002
9432
|
readonly USDT: {
|
|
9003
9433
|
readonly symbol: "USDT";
|
|
9004
9434
|
readonly name: "TetherToken";
|
|
9005
9435
|
readonly decimals: 6;
|
|
9006
9436
|
readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
|
|
9437
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9007
9438
|
};
|
|
9008
9439
|
};
|
|
9009
9440
|
};
|
|
@@ -9025,36 +9456,42 @@ declare const spokeChainConfig: {
|
|
|
9025
9456
|
readonly name: "Ethereum";
|
|
9026
9457
|
readonly decimals: 18;
|
|
9027
9458
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9459
|
+
readonly xChainId: "0x2105.base";
|
|
9028
9460
|
};
|
|
9029
9461
|
readonly bnUSD: {
|
|
9030
9462
|
readonly symbol: "bnUSD";
|
|
9031
9463
|
readonly name: "bnUSD";
|
|
9032
9464
|
readonly decimals: 18;
|
|
9033
9465
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
9466
|
+
readonly xChainId: "0x2105.base";
|
|
9034
9467
|
};
|
|
9035
9468
|
readonly weETH: {
|
|
9036
9469
|
readonly symbol: "weETH";
|
|
9037
9470
|
readonly name: "Wrapped eETH";
|
|
9038
9471
|
readonly decimals: 18;
|
|
9039
9472
|
readonly address: "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a";
|
|
9473
|
+
readonly xChainId: "0x2105.base";
|
|
9040
9474
|
};
|
|
9041
9475
|
readonly USDC: {
|
|
9042
9476
|
readonly symbol: "USDC";
|
|
9043
9477
|
readonly name: "USD Coin";
|
|
9044
9478
|
readonly decimals: 6;
|
|
9045
9479
|
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
9480
|
+
readonly xChainId: "0x2105.base";
|
|
9046
9481
|
};
|
|
9047
9482
|
readonly wstETH: {
|
|
9048
9483
|
readonly symbol: "wstETH";
|
|
9049
9484
|
readonly name: "Wrapped stETH";
|
|
9050
9485
|
readonly decimals: 18;
|
|
9051
9486
|
readonly address: "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
|
|
9487
|
+
readonly xChainId: "0x2105.base";
|
|
9052
9488
|
};
|
|
9053
9489
|
readonly cbBTC: {
|
|
9054
9490
|
readonly symbol: "cbBTC";
|
|
9055
9491
|
readonly name: "Coinbase Wrapped BTC";
|
|
9056
9492
|
readonly decimals: 8;
|
|
9057
9493
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
9494
|
+
readonly xChainId: "0x2105.base";
|
|
9058
9495
|
};
|
|
9059
9496
|
};
|
|
9060
9497
|
};
|
|
@@ -9076,36 +9513,42 @@ declare const spokeChainConfig: {
|
|
|
9076
9513
|
readonly name: "Ethereum";
|
|
9077
9514
|
readonly decimals: 18;
|
|
9078
9515
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9516
|
+
readonly xChainId: "0xa.optimism";
|
|
9079
9517
|
};
|
|
9080
9518
|
readonly bnUSD: {
|
|
9081
9519
|
readonly symbol: "bnUSD";
|
|
9082
9520
|
readonly name: "bnUSD";
|
|
9083
9521
|
readonly decimals: 18;
|
|
9084
9522
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
9523
|
+
readonly xChainId: "0xa.optimism";
|
|
9085
9524
|
};
|
|
9086
9525
|
readonly USDC: {
|
|
9087
9526
|
readonly symbol: "USDC";
|
|
9088
9527
|
readonly name: "USD Coin";
|
|
9089
9528
|
readonly decimals: 6;
|
|
9090
9529
|
readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
|
|
9530
|
+
readonly xChainId: "0xa.optimism";
|
|
9091
9531
|
};
|
|
9092
9532
|
readonly wstETH: {
|
|
9093
9533
|
readonly symbol: "wstETH";
|
|
9094
9534
|
readonly name: "Wrapped stETH";
|
|
9095
9535
|
readonly decimals: 18;
|
|
9096
9536
|
readonly address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb";
|
|
9537
|
+
readonly xChainId: "0xa.optimism";
|
|
9097
9538
|
};
|
|
9098
9539
|
readonly weETH: {
|
|
9099
9540
|
readonly symbol: "weETH";
|
|
9100
9541
|
readonly name: "Wrapped eETH";
|
|
9101
9542
|
readonly decimals: 18;
|
|
9102
9543
|
readonly address: "0x5A7fACB970D094B6C7FF1df0eA68D99E6e73CBFF";
|
|
9544
|
+
readonly xChainId: "0xa.optimism";
|
|
9103
9545
|
};
|
|
9104
9546
|
readonly USDT: {
|
|
9105
9547
|
readonly symbol: "USDT";
|
|
9106
9548
|
readonly name: "Tether USD";
|
|
9107
9549
|
readonly decimals: 6;
|
|
9108
9550
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
9551
|
+
readonly xChainId: "0xa.optimism";
|
|
9109
9552
|
};
|
|
9110
9553
|
};
|
|
9111
9554
|
};
|
|
@@ -9127,30 +9570,35 @@ declare const spokeChainConfig: {
|
|
|
9127
9570
|
readonly name: "BNB";
|
|
9128
9571
|
readonly decimals: 18;
|
|
9129
9572
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9573
|
+
readonly xChainId: "0x38.bsc";
|
|
9130
9574
|
};
|
|
9131
9575
|
readonly bnUSD: {
|
|
9132
9576
|
readonly symbol: "bnUSD";
|
|
9133
9577
|
readonly name: "bnUSD";
|
|
9134
9578
|
readonly decimals: 18;
|
|
9135
9579
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
9580
|
+
readonly xChainId: "0x38.bsc";
|
|
9136
9581
|
};
|
|
9137
9582
|
readonly ETHB: {
|
|
9138
9583
|
readonly symbol: "ETHB";
|
|
9139
9584
|
readonly name: "Ethereum BSC";
|
|
9140
9585
|
readonly decimals: 18;
|
|
9141
9586
|
readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
|
|
9587
|
+
readonly xChainId: "0x38.bsc";
|
|
9142
9588
|
};
|
|
9143
9589
|
readonly BTCB: {
|
|
9144
9590
|
readonly symbol: "BTCB";
|
|
9145
9591
|
readonly name: "Bitcoin BSC";
|
|
9146
9592
|
readonly decimals: 18;
|
|
9147
9593
|
readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
9594
|
+
readonly xChainId: "0x38.bsc";
|
|
9148
9595
|
};
|
|
9149
9596
|
readonly USDC: {
|
|
9150
9597
|
readonly symbol: "USDC";
|
|
9151
9598
|
readonly name: "USD Coin";
|
|
9152
9599
|
readonly decimals: 18;
|
|
9153
9600
|
readonly address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d";
|
|
9601
|
+
readonly xChainId: "0x38.bsc";
|
|
9154
9602
|
};
|
|
9155
9603
|
};
|
|
9156
9604
|
};
|
|
@@ -9172,18 +9620,21 @@ declare const spokeChainConfig: {
|
|
|
9172
9620
|
readonly name: "Polygon";
|
|
9173
9621
|
readonly decimals: 18;
|
|
9174
9622
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9623
|
+
readonly xChainId: "0x89.polygon";
|
|
9175
9624
|
};
|
|
9176
9625
|
readonly bnUSD: {
|
|
9177
9626
|
readonly symbol: "bnUSD";
|
|
9178
9627
|
readonly name: "bnUSD";
|
|
9179
9628
|
readonly decimals: 18;
|
|
9180
9629
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
9630
|
+
readonly xChainId: "0x89.polygon";
|
|
9181
9631
|
};
|
|
9182
9632
|
readonly USDC: {
|
|
9183
9633
|
readonly symbol: "USDC";
|
|
9184
9634
|
readonly name: "USD Coin";
|
|
9185
9635
|
readonly decimals: 6;
|
|
9186
9636
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
9637
|
+
readonly xChainId: "0x89.polygon";
|
|
9187
9638
|
};
|
|
9188
9639
|
};
|
|
9189
9640
|
};
|
|
@@ -9209,18 +9660,21 @@ declare const spokeChainConfig: {
|
|
|
9209
9660
|
readonly name: "Injective";
|
|
9210
9661
|
readonly decimals: 18;
|
|
9211
9662
|
readonly address: "inj";
|
|
9663
|
+
readonly xChainId: "injective-1";
|
|
9212
9664
|
};
|
|
9213
9665
|
readonly bnUSD: {
|
|
9214
9666
|
readonly symbol: "bnUSD";
|
|
9215
9667
|
readonly name: "bnUSD";
|
|
9216
9668
|
readonly decimals: 18;
|
|
9217
9669
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
9670
|
+
readonly xChainId: "injective-1";
|
|
9218
9671
|
};
|
|
9219
9672
|
readonly USDC: {
|
|
9220
9673
|
readonly symbol: "USDC";
|
|
9221
9674
|
readonly name: "USD Coin";
|
|
9222
9675
|
readonly decimals: 6;
|
|
9223
9676
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
9677
|
+
readonly xChainId: "injective-1";
|
|
9224
9678
|
};
|
|
9225
9679
|
};
|
|
9226
9680
|
readonly gasPrice: "500000000inj";
|
|
@@ -9244,24 +9698,28 @@ declare const spokeChainConfig: {
|
|
|
9244
9698
|
readonly name: "bnUSD";
|
|
9245
9699
|
readonly decimals: 7;
|
|
9246
9700
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
9701
|
+
readonly xChainId: "stellar";
|
|
9247
9702
|
};
|
|
9248
9703
|
readonly XLM: {
|
|
9249
9704
|
readonly symbol: "XLM";
|
|
9250
9705
|
readonly name: "Stellar Lumens";
|
|
9251
9706
|
readonly decimals: 7;
|
|
9252
9707
|
readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
9708
|
+
readonly xChainId: "stellar";
|
|
9253
9709
|
};
|
|
9254
9710
|
readonly USDC: {
|
|
9255
9711
|
readonly symbol: "USDC";
|
|
9256
9712
|
readonly name: "USD Coin";
|
|
9257
9713
|
readonly decimals: 7;
|
|
9258
9714
|
readonly address: "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75";
|
|
9715
|
+
readonly xChainId: "stellar";
|
|
9259
9716
|
};
|
|
9260
9717
|
readonly legacybnUSD: {
|
|
9261
|
-
readonly symbol: "bnUSD";
|
|
9718
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9262
9719
|
readonly name: "legacybnUSD";
|
|
9263
9720
|
readonly decimals: 18;
|
|
9264
9721
|
readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
|
|
9722
|
+
readonly xChainId: "stellar";
|
|
9265
9723
|
};
|
|
9266
9724
|
};
|
|
9267
9725
|
readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
@@ -9289,60 +9747,70 @@ declare const spokeChainConfig: {
|
|
|
9289
9747
|
readonly name: "SUI";
|
|
9290
9748
|
readonly decimals: 9;
|
|
9291
9749
|
readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
9750
|
+
readonly xChainId: "sui";
|
|
9292
9751
|
};
|
|
9293
9752
|
readonly bnUSD: {
|
|
9294
9753
|
readonly symbol: "bnUSD";
|
|
9295
9754
|
readonly name: "bnUSD";
|
|
9296
9755
|
readonly decimals: 9;
|
|
9297
9756
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
9757
|
+
readonly xChainId: "sui";
|
|
9298
9758
|
};
|
|
9299
9759
|
readonly USDC: {
|
|
9300
9760
|
readonly symbol: "USDC";
|
|
9301
9761
|
readonly name: "USD Coin";
|
|
9302
9762
|
readonly decimals: 6;
|
|
9303
9763
|
readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
9764
|
+
readonly xChainId: "sui";
|
|
9304
9765
|
};
|
|
9305
9766
|
readonly legacybnUSD: {
|
|
9306
|
-
readonly symbol: "bnUSD";
|
|
9767
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9307
9768
|
readonly name: "legacybnUSD";
|
|
9308
9769
|
readonly decimals: 9;
|
|
9309
9770
|
readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
|
|
9771
|
+
readonly xChainId: "sui";
|
|
9310
9772
|
};
|
|
9311
9773
|
readonly afSUI: {
|
|
9312
9774
|
readonly symbol: "afSUI";
|
|
9313
9775
|
readonly name: "Aftermath Staked Sui";
|
|
9314
9776
|
readonly decimals: 9;
|
|
9315
9777
|
readonly address: "0xf325ce1300e8dac124071d3152c5c5ee6174914f8bc2161e88329cf579246efc::afsui::AFSUI";
|
|
9778
|
+
readonly xChainId: "sui";
|
|
9316
9779
|
};
|
|
9317
9780
|
readonly mSUI: {
|
|
9318
9781
|
readonly symbol: "mSUI";
|
|
9319
9782
|
readonly name: "Mirai Staked SUI";
|
|
9320
9783
|
readonly decimals: 9;
|
|
9321
9784
|
readonly address: "0x922d15d7f55c13fd790f6e54397470ec592caa2b508df292a2e8553f3d3b274f::msui::MSUI";
|
|
9785
|
+
readonly xChainId: "sui";
|
|
9322
9786
|
};
|
|
9323
9787
|
readonly haSUI: {
|
|
9324
9788
|
readonly symbol: "haSUI";
|
|
9325
9789
|
readonly name: "haSUI";
|
|
9326
9790
|
readonly decimals: 9;
|
|
9327
9791
|
readonly address: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI";
|
|
9792
|
+
readonly xChainId: "sui";
|
|
9328
9793
|
};
|
|
9329
9794
|
readonly vSUI: {
|
|
9330
9795
|
readonly symbol: "vSUI";
|
|
9331
9796
|
readonly name: "Volo Staked SUI";
|
|
9332
9797
|
readonly decimals: 9;
|
|
9333
9798
|
readonly address: "0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT";
|
|
9799
|
+
readonly xChainId: "sui";
|
|
9334
9800
|
};
|
|
9335
9801
|
readonly yapSUI: {
|
|
9336
9802
|
readonly symbol: "yapSUI";
|
|
9337
9803
|
readonly name: "Yap Staked SUI";
|
|
9338
9804
|
readonly decimals: 9;
|
|
9339
9805
|
readonly address: "0x83f1bb8c91ecd1fd313344058b0eed94d63c54e41d8d1ae5bff1353443517d65::yap_sui::YAP_SUI";
|
|
9806
|
+
readonly xChainId: "sui";
|
|
9340
9807
|
};
|
|
9341
9808
|
readonly trevinSUI: {
|
|
9342
9809
|
readonly symbol: "trevinSUI";
|
|
9343
9810
|
readonly name: "Trevin Staked SUI";
|
|
9344
9811
|
readonly decimals: 9;
|
|
9345
9812
|
readonly address: "0x502867b177303bf1bf226245fcdd3403c177e78d175a55a56c0602c7ff51c7fa::trevin_sui::TREVIN_SUI";
|
|
9813
|
+
readonly xChainId: "sui";
|
|
9346
9814
|
};
|
|
9347
9815
|
};
|
|
9348
9816
|
readonly nativeToken: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
@@ -9363,7 +9831,7 @@ declare const spokeChainConfig: {
|
|
|
9363
9831
|
};
|
|
9364
9832
|
readonly chain: {
|
|
9365
9833
|
readonly id: "0x1.icon";
|
|
9366
|
-
readonly name: "ICON
|
|
9834
|
+
readonly name: "ICON";
|
|
9367
9835
|
readonly type: "ICON";
|
|
9368
9836
|
};
|
|
9369
9837
|
readonly supportedTokens: {
|
|
@@ -9372,30 +9840,35 @@ declare const spokeChainConfig: {
|
|
|
9372
9840
|
readonly name: "ICON";
|
|
9373
9841
|
readonly decimals: 18;
|
|
9374
9842
|
readonly address: "cx0000000000000000000000000000000000000000";
|
|
9843
|
+
readonly xChainId: "0x1.icon";
|
|
9375
9844
|
};
|
|
9376
9845
|
readonly wICX: {
|
|
9377
9846
|
readonly symbol: "wICX";
|
|
9378
9847
|
readonly name: "Wrapped ICX";
|
|
9379
9848
|
readonly decimals: 18;
|
|
9380
9849
|
readonly address: "cx3975b43d260fb8ec802cef6e60c2f4d07486f11d";
|
|
9850
|
+
readonly xChainId: "0x1.icon";
|
|
9381
9851
|
};
|
|
9382
9852
|
readonly bnUSD: {
|
|
9383
|
-
readonly symbol: "bnUSD";
|
|
9853
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9384
9854
|
readonly name: "bnUSD";
|
|
9385
9855
|
readonly decimals: 18;
|
|
9386
9856
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9857
|
+
readonly xChainId: "0x1.icon";
|
|
9387
9858
|
};
|
|
9388
9859
|
readonly legacybnUSD: {
|
|
9389
|
-
readonly symbol: "bnUSD";
|
|
9860
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9390
9861
|
readonly name: "bnUSD";
|
|
9391
9862
|
readonly decimals: 18;
|
|
9392
9863
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9864
|
+
readonly xChainId: "0x1.icon";
|
|
9393
9865
|
};
|
|
9394
9866
|
readonly BALN: {
|
|
9395
9867
|
readonly symbol: "BALN";
|
|
9396
9868
|
readonly name: "BALN";
|
|
9397
9869
|
readonly decimals: 18;
|
|
9398
9870
|
readonly address: "cxf61cd5a45dc9f91c15aa65831a30a90d59a09619";
|
|
9871
|
+
readonly xChainId: "0x1.icon";
|
|
9399
9872
|
};
|
|
9400
9873
|
};
|
|
9401
9874
|
readonly nativeToken: "cx0000000000000000000000000000000000000000";
|
|
@@ -9403,8 +9876,6 @@ declare const spokeChainConfig: {
|
|
|
9403
9876
|
readonly nid: "0x1";
|
|
9404
9877
|
};
|
|
9405
9878
|
};
|
|
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
9879
|
declare const hubVaults: {
|
|
9409
9880
|
readonly IbnUSD: {
|
|
9410
9881
|
readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
@@ -9424,11 +9895,11 @@ declare const hubVaults: {
|
|
|
9424
9895
|
};
|
|
9425
9896
|
readonly bnUSD: {
|
|
9426
9897
|
readonly address: "0xe801ca34e19abcbfea12025378d19c4fbe250131";
|
|
9427
|
-
readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51"];
|
|
9898
|
+
readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51", "0xD1d14BF3324C901855A1f7d0d5CA4c8458D2a780"];
|
|
9428
9899
|
};
|
|
9429
9900
|
readonly sodaSODA: {
|
|
9430
9901
|
readonly address: "0x21685e341de7844135329914be6bd8d16982d834";
|
|
9431
|
-
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963"];
|
|
9902
|
+
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963", "0xf51d7082375cdca8C19C74e1A0c77dA482aFDa4e", "0x93a367E5B37a1B9E8D04ef25a6Af40d181a3DfFF", "0x17fF8Ad5EBe6CA8B15751067cD0c89f0E580CD17", "0x4d12c72A8633588097D10e57b559ed642588e4C6", "0x26cd76cB5622Dc8638670A16E0Da5a51394A8DB1", "0x0eD0d274dC77ef460DC96b9fBaFF3EDB074e0471", "0x8D78A620E009Ba751Eb40d77A5e9Db48A3F2016b", "0x4Cf5Ce9594AEDdc5D3efe9d4Cdf0b944b4e73A53", "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc", "0x07Db7b1a96ebE474B20F52fF487cEE415adee79e", "0x20Ce75CdcEe44B1308365447b91B9c26e2b71Ffd", "0x5Db9CEc919f40C50809D9490DC3BbA4F05b0a1D7", "0x655730024B673B3378CD6031B1Cd01eaE9afb138"];
|
|
9432
9903
|
};
|
|
9433
9904
|
readonly sodaAVAX: {
|
|
9434
9905
|
readonly address: "0x14238d267557e9d799016ad635b53cd15935d290";
|
|
@@ -9444,7 +9915,7 @@ declare const hubVaults: {
|
|
|
9444
9915
|
};
|
|
9445
9916
|
readonly sodaBTC: {
|
|
9446
9917
|
readonly address: "0x7a1a5555842ad2d0ed274d09b5c4406a95799d5d";
|
|
9447
|
-
readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905"];
|
|
9918
|
+
readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905", "0x03E99853C6376b13a4c6e4d0A115F1639c9FA14e"];
|
|
9448
9919
|
};
|
|
9449
9920
|
readonly sodaSUI: {
|
|
9450
9921
|
readonly address: "0xdc5b4b00f98347e95b9f94911213dab4c687e1e3";
|
|
@@ -9468,87 +9939,104 @@ declare const hubVaults: {
|
|
|
9468
9939
|
};
|
|
9469
9940
|
readonly sodaUSDC: {
|
|
9470
9941
|
readonly address: "0xabbb91c0617090f0028bdc27597cd0d038f3a833";
|
|
9471
|
-
readonly reserves: ["0x41abf4b1559ff709ef8150079bcb26db1fffd117", "0x72e852545b024ddcbc5b70c1bcbdaa025164259c", "0xb7c213cbd24967de9838fa014668fddb338f724b", "0xdb7bda65c3a1c51d64dc4444e418684677334109", "0xa36893ba308b332fdebfa95916d1df3a2e3cf8b3", "0x29219dd400f2bf60e5a23d13be72b486d4038894", "0x5635369c8a29a081d26c2e9e28012fca548ba0cb", "0x3d73437dd81b3f9ec82752beb1752f03a8531710", "0x4bc1211faa06fb50ff61a70331f56167ae511057", "0x348007b53f25a9a857ab8ea81ec9e3ccbcf440f2", "0xc3f020057510ffe10ceb882e1b48238b43d78a5e", "0x9d58508ad10d34048a11640735ca5075bba07b35"];
|
|
9942
|
+
readonly reserves: ["0x41abf4b1559ff709ef8150079bcb26db1fffd117", "0x72e852545b024ddcbc5b70c1bcbdaa025164259c", "0xb7c213cbd24967de9838fa014668fddb338f724b", "0xdb7bda65c3a1c51d64dc4444e418684677334109", "0xa36893ba308b332fdebfa95916d1df3a2e3cf8b3", "0x29219dd400f2bf60e5a23d13be72b486d4038894", "0x5635369c8a29a081d26c2e9e28012fca548ba0cb", "0x3d73437dd81b3f9ec82752beb1752f03a8531710", "0x4bc1211faa06fb50ff61a70331f56167ae511057", "0x348007b53f25a9a857ab8ea81ec9e3ccbcf440f2", "0xc3f020057510ffe10ceb882e1b48238b43d78a5e", "0x9d58508ad10d34048a11640735ca5075bba07b35", "0xC1df02fb7b1b06bE886592C89F6955387998B2f7"];
|
|
9472
9943
|
};
|
|
9473
9944
|
};
|
|
9945
|
+
declare const hubVaultTokensMap: Map<string, Token>;
|
|
9946
|
+
declare const getHubVaultTokenByAddress: (address: string) => Token | undefined;
|
|
9474
9947
|
declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
|
|
9475
9948
|
declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "stellar")[];
|
|
9476
9949
|
declare const bnUSDLegacyTokens: readonly [{
|
|
9477
|
-
readonly symbol: "bnUSD";
|
|
9950
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9478
9951
|
readonly name: "bnUSD";
|
|
9479
9952
|
readonly decimals: 18;
|
|
9480
9953
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9954
|
+
readonly xChainId: "0x1.icon";
|
|
9481
9955
|
}, {
|
|
9482
|
-
readonly symbol: "bnUSD";
|
|
9956
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9483
9957
|
readonly name: "legacybnUSD";
|
|
9484
9958
|
readonly decimals: 9;
|
|
9485
9959
|
readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
|
|
9960
|
+
readonly xChainId: "sui";
|
|
9486
9961
|
}, {
|
|
9487
|
-
readonly symbol: "bnUSD";
|
|
9962
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9488
9963
|
readonly name: "legacybnUSD";
|
|
9489
9964
|
readonly decimals: 18;
|
|
9490
9965
|
readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
|
|
9966
|
+
readonly xChainId: "stellar";
|
|
9491
9967
|
}];
|
|
9492
9968
|
declare const bnUSDNewTokens: ({
|
|
9493
9969
|
readonly symbol: "bnUSD";
|
|
9494
|
-
readonly name: "
|
|
9970
|
+
readonly name: "Balanced Dollar";
|
|
9495
9971
|
readonly decimals: 18;
|
|
9496
9972
|
readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
9973
|
+
readonly xChainId: "sonic";
|
|
9497
9974
|
} | {
|
|
9498
9975
|
readonly symbol: "bnUSD";
|
|
9499
9976
|
readonly name: "bnUSD";
|
|
9500
9977
|
readonly decimals: 9;
|
|
9501
9978
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
9979
|
+
readonly xChainId: "solana";
|
|
9502
9980
|
} | {
|
|
9503
9981
|
readonly symbol: "bnUSD";
|
|
9504
9982
|
readonly name: "bnUSD";
|
|
9505
9983
|
readonly decimals: 18;
|
|
9506
9984
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
9985
|
+
readonly xChainId: "0xa86a.avax";
|
|
9507
9986
|
} | {
|
|
9508
9987
|
readonly symbol: "bnUSD";
|
|
9509
9988
|
readonly name: "bnUSD";
|
|
9510
9989
|
readonly decimals: 18;
|
|
9511
9990
|
readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
|
|
9991
|
+
readonly xChainId: "nibiru";
|
|
9512
9992
|
} | {
|
|
9513
9993
|
readonly symbol: "bnUSD";
|
|
9514
9994
|
readonly name: "bnUSD";
|
|
9515
9995
|
readonly decimals: 18;
|
|
9516
9996
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
9997
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9517
9998
|
} | {
|
|
9518
9999
|
readonly symbol: "bnUSD";
|
|
9519
10000
|
readonly name: "bnUSD";
|
|
9520
10001
|
readonly decimals: 18;
|
|
9521
10002
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
10003
|
+
readonly xChainId: "0x2105.base";
|
|
9522
10004
|
} | {
|
|
9523
10005
|
readonly symbol: "bnUSD";
|
|
9524
10006
|
readonly name: "bnUSD";
|
|
9525
10007
|
readonly decimals: 18;
|
|
9526
10008
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
10009
|
+
readonly xChainId: "0xa.optimism";
|
|
9527
10010
|
} | {
|
|
9528
10011
|
readonly symbol: "bnUSD";
|
|
9529
10012
|
readonly name: "bnUSD";
|
|
9530
10013
|
readonly decimals: 18;
|
|
9531
10014
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
10015
|
+
readonly xChainId: "0x38.bsc";
|
|
9532
10016
|
} | {
|
|
9533
10017
|
readonly symbol: "bnUSD";
|
|
9534
10018
|
readonly name: "bnUSD";
|
|
9535
10019
|
readonly decimals: 18;
|
|
9536
10020
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
10021
|
+
readonly xChainId: "0x89.polygon";
|
|
9537
10022
|
} | {
|
|
9538
10023
|
readonly symbol: "bnUSD";
|
|
9539
10024
|
readonly name: "bnUSD";
|
|
9540
10025
|
readonly decimals: 18;
|
|
9541
10026
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
10027
|
+
readonly xChainId: "injective-1";
|
|
9542
10028
|
} | {
|
|
9543
10029
|
readonly symbol: "bnUSD";
|
|
9544
10030
|
readonly name: "bnUSD";
|
|
9545
10031
|
readonly decimals: 7;
|
|
9546
10032
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
10033
|
+
readonly xChainId: "stellar";
|
|
9547
10034
|
} | {
|
|
9548
10035
|
readonly symbol: "bnUSD";
|
|
9549
10036
|
readonly name: "bnUSD";
|
|
9550
10037
|
readonly decimals: 9;
|
|
9551
10038
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
10039
|
+
readonly xChainId: "sui";
|
|
9552
10040
|
})[];
|
|
9553
10041
|
declare const isLegacybnUSDChainId: (chainId: SpokeChainId) => boolean;
|
|
9554
10042
|
declare const isNewbnUSDChainId: (chainId: SpokeChainId) => boolean;
|
|
@@ -9558,7 +10046,7 @@ declare const getAllLegacybnUSDTokens: () => {
|
|
|
9558
10046
|
token: LegacybnUSDToken;
|
|
9559
10047
|
chainId: LegacybnUSDChainId;
|
|
9560
10048
|
}[];
|
|
9561
|
-
declare const hubAssets: Record<SpokeChainId, Record<
|
|
10049
|
+
declare const hubAssets: Record<SpokeChainId, Record<string, {
|
|
9562
10050
|
asset: Address;
|
|
9563
10051
|
decimal: number;
|
|
9564
10052
|
vault: Address;
|
|
@@ -9576,196 +10064,233 @@ declare const moneyMarketSupportedTokens: {
|
|
|
9576
10064
|
readonly name: "Avalanche";
|
|
9577
10065
|
readonly decimals: 18;
|
|
9578
10066
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10067
|
+
readonly xChainId: "0xa86a.avax";
|
|
9579
10068
|
}, {
|
|
9580
10069
|
readonly symbol: "USDT";
|
|
9581
10070
|
readonly name: "Tether USD";
|
|
9582
10071
|
readonly decimals: 6;
|
|
9583
10072
|
readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
|
|
10073
|
+
readonly xChainId: "0xa86a.avax";
|
|
9584
10074
|
}, {
|
|
9585
10075
|
readonly symbol: "USDC";
|
|
9586
10076
|
readonly name: "USD Coin";
|
|
9587
10077
|
readonly decimals: 6;
|
|
9588
10078
|
readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
10079
|
+
readonly xChainId: "0xa86a.avax";
|
|
9589
10080
|
}, {
|
|
9590
10081
|
readonly symbol: "bnUSD";
|
|
9591
10082
|
readonly name: "bnUSD";
|
|
9592
10083
|
readonly decimals: 18;
|
|
9593
10084
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
10085
|
+
readonly xChainId: "0xa86a.avax";
|
|
9594
10086
|
}];
|
|
9595
10087
|
readonly "0xa4b1.arbitrum": readonly [{
|
|
9596
10088
|
readonly symbol: "ETH";
|
|
9597
10089
|
readonly name: "Ethereum";
|
|
9598
10090
|
readonly decimals: 18;
|
|
9599
10091
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10092
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9600
10093
|
}, {
|
|
9601
10094
|
readonly symbol: "bnUSD";
|
|
9602
10095
|
readonly name: "bnUSD";
|
|
9603
10096
|
readonly decimals: 18;
|
|
9604
10097
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
10098
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9605
10099
|
}, {
|
|
9606
10100
|
readonly symbol: "WBTC";
|
|
9607
10101
|
readonly name: "Wrapped BTC";
|
|
9608
10102
|
readonly decimals: 8;
|
|
9609
10103
|
readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
10104
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9610
10105
|
}, {
|
|
9611
10106
|
readonly symbol: "tBTC";
|
|
9612
10107
|
readonly name: "Arbitrum tBTC v2";
|
|
9613
10108
|
readonly decimals: 18;
|
|
9614
10109
|
readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
|
|
10110
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9615
10111
|
}, {
|
|
9616
10112
|
readonly symbol: "USDT";
|
|
9617
10113
|
readonly name: "TetherToken";
|
|
9618
10114
|
readonly decimals: 6;
|
|
9619
10115
|
readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
|
|
10116
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9620
10117
|
}, {
|
|
9621
10118
|
readonly symbol: "USDC";
|
|
9622
10119
|
readonly name: "USD Coin (USDC)";
|
|
9623
10120
|
readonly decimals: 6;
|
|
9624
10121
|
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
10122
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9625
10123
|
}];
|
|
9626
10124
|
readonly "0x2105.base": readonly [{
|
|
9627
10125
|
readonly symbol: "ETH";
|
|
9628
10126
|
readonly name: "Ethereum";
|
|
9629
10127
|
readonly decimals: 18;
|
|
9630
10128
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10129
|
+
readonly xChainId: "0x2105.base";
|
|
9631
10130
|
}, {
|
|
9632
10131
|
readonly symbol: "bnUSD";
|
|
9633
10132
|
readonly name: "bnUSD";
|
|
9634
10133
|
readonly decimals: 18;
|
|
9635
10134
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
10135
|
+
readonly xChainId: "0x2105.base";
|
|
9636
10136
|
}, {
|
|
9637
10137
|
readonly symbol: "USDC";
|
|
9638
10138
|
readonly name: "USD Coin";
|
|
9639
10139
|
readonly decimals: 6;
|
|
9640
10140
|
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
10141
|
+
readonly xChainId: "0x2105.base";
|
|
9641
10142
|
}, {
|
|
9642
10143
|
readonly symbol: "cbBTC";
|
|
9643
10144
|
readonly name: "Coinbase Wrapped BTC";
|
|
9644
10145
|
readonly decimals: 8;
|
|
9645
10146
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
10147
|
+
readonly xChainId: "0x2105.base";
|
|
9646
10148
|
}];
|
|
9647
10149
|
readonly "0xa.optimism": readonly [{
|
|
9648
10150
|
readonly symbol: "ETH";
|
|
9649
10151
|
readonly name: "Ethereum";
|
|
9650
10152
|
readonly decimals: 18;
|
|
9651
10153
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10154
|
+
readonly xChainId: "0xa.optimism";
|
|
9652
10155
|
}, {
|
|
9653
10156
|
readonly symbol: "bnUSD";
|
|
9654
10157
|
readonly name: "bnUSD";
|
|
9655
10158
|
readonly decimals: 18;
|
|
9656
10159
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
10160
|
+
readonly xChainId: "0xa.optimism";
|
|
9657
10161
|
}, {
|
|
9658
10162
|
readonly symbol: "USDC";
|
|
9659
10163
|
readonly name: "USD Coin";
|
|
9660
10164
|
readonly decimals: 6;
|
|
9661
10165
|
readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
|
|
10166
|
+
readonly xChainId: "0xa.optimism";
|
|
9662
10167
|
}, {
|
|
9663
10168
|
readonly symbol: "USDT";
|
|
9664
10169
|
readonly name: "Tether USD";
|
|
9665
10170
|
readonly decimals: 6;
|
|
9666
10171
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
10172
|
+
readonly xChainId: "0xa.optimism";
|
|
9667
10173
|
}];
|
|
9668
10174
|
readonly "0x89.polygon": readonly [{
|
|
9669
10175
|
readonly symbol: "POL";
|
|
9670
10176
|
readonly name: "Polygon";
|
|
9671
10177
|
readonly decimals: 18;
|
|
9672
10178
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10179
|
+
readonly xChainId: "0x89.polygon";
|
|
9673
10180
|
}, {
|
|
9674
10181
|
readonly symbol: "bnUSD";
|
|
9675
10182
|
readonly name: "bnUSD";
|
|
9676
10183
|
readonly decimals: 18;
|
|
9677
10184
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
10185
|
+
readonly xChainId: "0x89.polygon";
|
|
9678
10186
|
}, {
|
|
9679
10187
|
readonly symbol: "USDC";
|
|
9680
10188
|
readonly name: "USD Coin";
|
|
9681
10189
|
readonly decimals: 6;
|
|
9682
10190
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
10191
|
+
readonly xChainId: "0x89.polygon";
|
|
9683
10192
|
}];
|
|
9684
10193
|
readonly "0x38.bsc": readonly [{
|
|
9685
10194
|
readonly symbol: "BNB";
|
|
9686
10195
|
readonly name: "BNB";
|
|
9687
10196
|
readonly decimals: 18;
|
|
9688
10197
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10198
|
+
readonly xChainId: "0x38.bsc";
|
|
9689
10199
|
}, {
|
|
9690
10200
|
readonly symbol: "ETHB";
|
|
9691
10201
|
readonly name: "Ethereum BSC";
|
|
9692
10202
|
readonly decimals: 18;
|
|
9693
10203
|
readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
|
|
10204
|
+
readonly xChainId: "0x38.bsc";
|
|
9694
10205
|
}, {
|
|
9695
10206
|
readonly symbol: "BTCB";
|
|
9696
10207
|
readonly name: "Bitcoin BSC";
|
|
9697
10208
|
readonly decimals: 18;
|
|
9698
10209
|
readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
10210
|
+
readonly xChainId: "0x38.bsc";
|
|
9699
10211
|
}, {
|
|
9700
10212
|
readonly symbol: "bnUSD";
|
|
9701
10213
|
readonly name: "bnUSD";
|
|
9702
10214
|
readonly decimals: 18;
|
|
9703
10215
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
10216
|
+
readonly xChainId: "0x38.bsc";
|
|
9704
10217
|
}];
|
|
9705
10218
|
readonly solana: readonly [{
|
|
9706
10219
|
readonly symbol: "SOL";
|
|
9707
10220
|
readonly name: "Solana";
|
|
9708
10221
|
readonly decimals: 9;
|
|
9709
10222
|
readonly address: "11111111111111111111111111111111";
|
|
10223
|
+
readonly xChainId: "solana";
|
|
9710
10224
|
}, {
|
|
9711
10225
|
readonly symbol: "bnUSD";
|
|
9712
10226
|
readonly name: "bnUSD";
|
|
9713
10227
|
readonly decimals: 9;
|
|
9714
10228
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
10229
|
+
readonly xChainId: "solana";
|
|
9715
10230
|
}, {
|
|
9716
10231
|
readonly symbol: "USDC";
|
|
9717
10232
|
readonly name: "USD Coin";
|
|
9718
10233
|
readonly decimals: 6;
|
|
9719
10234
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
10235
|
+
readonly xChainId: "solana";
|
|
9720
10236
|
}];
|
|
9721
10237
|
readonly "0x1.icon": readonly [{
|
|
9722
|
-
readonly symbol: "bnUSD";
|
|
10238
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9723
10239
|
readonly name: "bnUSD";
|
|
9724
10240
|
readonly decimals: 18;
|
|
9725
10241
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
10242
|
+
readonly xChainId: "0x1.icon";
|
|
9726
10243
|
}];
|
|
9727
10244
|
readonly stellar: readonly [{
|
|
9728
10245
|
readonly symbol: "XLM";
|
|
9729
10246
|
readonly name: "Stellar Lumens";
|
|
9730
10247
|
readonly decimals: 7;
|
|
9731
10248
|
readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
10249
|
+
readonly xChainId: "stellar";
|
|
9732
10250
|
}, {
|
|
9733
10251
|
readonly symbol: "bnUSD";
|
|
9734
10252
|
readonly name: "bnUSD";
|
|
9735
10253
|
readonly decimals: 7;
|
|
9736
10254
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
10255
|
+
readonly xChainId: "stellar";
|
|
9737
10256
|
}];
|
|
9738
10257
|
readonly sui: readonly [{
|
|
9739
10258
|
readonly symbol: "SUI";
|
|
9740
10259
|
readonly name: "SUI";
|
|
9741
10260
|
readonly decimals: 9;
|
|
9742
10261
|
readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
10262
|
+
readonly xChainId: "sui";
|
|
9743
10263
|
}, {
|
|
9744
10264
|
readonly symbol: "bnUSD";
|
|
9745
10265
|
readonly name: "bnUSD";
|
|
9746
10266
|
readonly decimals: 9;
|
|
9747
10267
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
10268
|
+
readonly xChainId: "sui";
|
|
9748
10269
|
}, {
|
|
9749
10270
|
readonly symbol: "USDC";
|
|
9750
10271
|
readonly name: "USD Coin";
|
|
9751
10272
|
readonly decimals: 6;
|
|
9752
10273
|
readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
10274
|
+
readonly xChainId: "sui";
|
|
9753
10275
|
}];
|
|
9754
10276
|
readonly "injective-1": readonly [{
|
|
9755
10277
|
readonly symbol: "INJ";
|
|
9756
10278
|
readonly name: "Injective";
|
|
9757
10279
|
readonly decimals: 18;
|
|
9758
10280
|
readonly address: "inj";
|
|
10281
|
+
readonly xChainId: "injective-1";
|
|
9759
10282
|
}, {
|
|
9760
10283
|
readonly symbol: "bnUSD";
|
|
9761
10284
|
readonly name: "bnUSD";
|
|
9762
10285
|
readonly decimals: 18;
|
|
9763
10286
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
10287
|
+
readonly xChainId: "injective-1";
|
|
9764
10288
|
}, {
|
|
9765
10289
|
readonly symbol: "USDC";
|
|
9766
10290
|
readonly name: "USD Coin";
|
|
9767
10291
|
readonly decimals: 6;
|
|
9768
10292
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
10293
|
+
readonly xChainId: "injective-1";
|
|
9769
10294
|
}];
|
|
9770
10295
|
readonly nibiru: readonly [];
|
|
9771
10296
|
readonly sonic: readonly [{
|
|
@@ -9773,26 +10298,31 @@ declare const moneyMarketSupportedTokens: {
|
|
|
9773
10298
|
readonly name: "Sonic";
|
|
9774
10299
|
readonly decimals: 18;
|
|
9775
10300
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10301
|
+
readonly xChainId: "sonic";
|
|
9776
10302
|
}, {
|
|
9777
10303
|
readonly symbol: "WETH";
|
|
9778
10304
|
readonly name: "Wrapped Ether";
|
|
9779
10305
|
readonly decimals: 18;
|
|
9780
10306
|
readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
|
|
10307
|
+
readonly xChainId: "sonic";
|
|
9781
10308
|
}, {
|
|
9782
10309
|
readonly symbol: "USDC";
|
|
9783
10310
|
readonly name: "USD Coin";
|
|
9784
10311
|
readonly decimals: 6;
|
|
9785
10312
|
readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
|
|
10313
|
+
readonly xChainId: "sonic";
|
|
9786
10314
|
}, {
|
|
9787
10315
|
readonly symbol: "USDT";
|
|
9788
10316
|
readonly name: "Tether USD";
|
|
9789
10317
|
readonly decimals: 6;
|
|
9790
10318
|
readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
|
|
10319
|
+
readonly xChainId: "sonic";
|
|
9791
10320
|
}, {
|
|
9792
10321
|
readonly symbol: "wS";
|
|
9793
10322
|
readonly name: "Wrapped Sonic";
|
|
9794
10323
|
readonly decimals: 18;
|
|
9795
10324
|
readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
10325
|
+
readonly xChainId: "sonic";
|
|
9796
10326
|
}];
|
|
9797
10327
|
};
|
|
9798
10328
|
declare const isMoneyMarketSupportedToken: (chainId: SpokeChainId, token: string) => boolean;
|
|
@@ -9806,18 +10336,22 @@ declare const originalAssetTohubAssetMap: Map<SpokeChainId, Map<OriginalAssetAdd
|
|
|
9806
10336
|
declare const hubAssetToOriginalAssetMap: Map<SpokeChainId, Map<Address, OriginalAssetAddress>>;
|
|
9807
10337
|
declare const chainIdToHubAssetsMap: Map<SpokeChainId, Map<Address, HubAssetInfo>>;
|
|
9808
10338
|
declare const supportedHubAssets: Set<Address>;
|
|
10339
|
+
declare const supportedSodaAssets: Set<Address>;
|
|
9809
10340
|
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">;
|
|
10341
|
+
declare const getOriginalAssetInfoFromVault: (chainId: SpokeChainId, vault: Address) => OriginalAssetAddress[];
|
|
9810
10342
|
declare const getHubAssetInfo: (chainId: SpokeChainId, asset: OriginalAssetAddress) => HubAssetInfo | undefined;
|
|
9811
10343
|
declare const isValidOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => boolean;
|
|
9812
10344
|
declare const getOriginalAssetAddress: (chainId: SpokeChainId, hubAsset: Address) => OriginalAssetAddress | undefined;
|
|
10345
|
+
declare const getOriginalTokenFromOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => XToken | undefined;
|
|
9813
10346
|
declare const isValidHubAsset: (hubAsset: Address) => boolean;
|
|
10347
|
+
declare const isValidVault: (vault: Address) => boolean;
|
|
9814
10348
|
declare const isValidChainHubAsset: (chainId: SpokeChainId, hubAsset: Address) => boolean;
|
|
9815
10349
|
declare const isValidSpokeChainId: (chainId: SpokeChainId) => boolean;
|
|
9816
10350
|
declare const isValidIntentRelayChainId: (chainId: bigint) => boolean;
|
|
9817
10351
|
declare const supportedHubChains: HubChainId[];
|
|
9818
10352
|
declare const supportedSpokeChains: SpokeChainId[];
|
|
9819
10353
|
declare const intentRelayChainIdToSpokeChainIdMap: Map<IntentRelayChainId, SpokeChainId>;
|
|
9820
|
-
declare const supportedTokensPerChain: Map<SpokeChainId, readonly
|
|
10354
|
+
declare const supportedTokensPerChain: Map<SpokeChainId, readonly XToken[]>;
|
|
9821
10355
|
declare const getSpokeChainIdFromIntentRelayChainId: (intentRelayChainId: IntentRelayChainId) => SpokeChainId;
|
|
9822
10356
|
declare const isNativeToken: (chainId: SpokeChainId, token: Token | string) => boolean;
|
|
9823
10357
|
|
|
@@ -9863,4 +10397,4 @@ declare function isUnifiedBnUSDMigrateParams(value: unknown): value is UnifiedBn
|
|
|
9863
10397
|
declare function isBalnMigrateParams(value: unknown): value is BalnMigrateParams;
|
|
9864
10398
|
declare function isIcxCreateRevertMigrationParams(value: unknown): value is IcxCreateRevertMigrationParams;
|
|
9865
10399
|
|
|
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 };
|
|
10400
|
+
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 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_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, 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 };
|