@sodax/sdk 0.0.1-rc.30 → 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 +1841 -1019
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +693 -73
- package/dist/index.d.ts +693 -73
- package/dist/index.mjs +1831 -1021
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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, Hash as Hash$1, IconEoaAddress, IIconWalletProvider, ISolanaWalletProvider, SolanaBase58PublicKey, IStellarWalletProvider,
|
|
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
|
-
import { Horizon, SorobanRpc, Transaction, Memo, MemoType, Operation, FeeBumpTransaction } from '@stellar/stellar-sdk';
|
|
5
|
+
import { Horizon, SorobanRpc, Transaction as Transaction$1, Memo, MemoType, Operation, FeeBumpTransaction } from '@stellar/stellar-sdk';
|
|
6
6
|
import { Api } from '@stellar/stellar-sdk/rpc';
|
|
7
7
|
import { SuiClient } from '@mysten/sui/client';
|
|
8
|
-
import { Transaction
|
|
8
|
+
import { Transaction, TransactionResult } from '@mysten/sui/transactions';
|
|
9
9
|
import { IconService } from 'icon-sdk-js';
|
|
10
10
|
import BigNumber$1 from 'bignumber.js';
|
|
11
11
|
import { PublicKey } from '@solana/web3.js';
|
|
@@ -6167,6 +6167,130 @@ declare class SonicSpokeService {
|
|
|
6167
6167
|
static buildWithdrawData(from: Address, withdrawInfo: WithdrawInfo, amount: bigint, spokeProvider: SonicSpokeProvider, moneyMarketService: MoneyMarketService, userRouterAddress?: HubAddress): Promise<Hex$1>;
|
|
6168
6168
|
}
|
|
6169
6169
|
|
|
6170
|
+
type SuiNativeCoinResult = {
|
|
6171
|
+
$kind: 'NestedResult';
|
|
6172
|
+
NestedResult: [number, number];
|
|
6173
|
+
};
|
|
6174
|
+
type SuiTxObject = {
|
|
6175
|
+
$kind: 'Input';
|
|
6176
|
+
Input: number;
|
|
6177
|
+
type?: 'object' | undefined;
|
|
6178
|
+
};
|
|
6179
|
+
declare class SuiSpokeProvider implements ISpokeProvider {
|
|
6180
|
+
readonly walletProvider: ISuiWalletProvider;
|
|
6181
|
+
chainConfig: SuiSpokeChainConfig;
|
|
6182
|
+
readonly publicClient: SuiClient;
|
|
6183
|
+
private assetManagerAddress;
|
|
6184
|
+
constructor(config: SuiSpokeChainConfig, wallet_provider: ISuiWalletProvider);
|
|
6185
|
+
getBalance(token: string): Promise<bigint>;
|
|
6186
|
+
transfer<R extends boolean = false>(token: string, amount: bigint, to: Uint8Array, data: Uint8Array, raw?: R): PromiseSuiTxReturnType<R>;
|
|
6187
|
+
getNativeCoin(tx: Transaction, amount: bigint): Promise<SuiNativeCoinResult>;
|
|
6188
|
+
getCoin(tx: Transaction, coin: string, amount: bigint, address: string): Promise<TransactionResult | SuiTxObject>;
|
|
6189
|
+
splitAddress(address: string): {
|
|
6190
|
+
packageId: string;
|
|
6191
|
+
moduleId: string;
|
|
6192
|
+
stateId: string;
|
|
6193
|
+
};
|
|
6194
|
+
sendMessage<R extends boolean = false>(dst_chain_id: bigint, dst_address: Uint8Array, data: Uint8Array, raw?: R): PromiseSuiTxReturnType<R>;
|
|
6195
|
+
configureAssetManagerHub(hubNetworkId: number, hubAssetManager: Uint8Array): Promise<string>;
|
|
6196
|
+
getWalletAddress(): Promise<string>;
|
|
6197
|
+
getWalletAddressBytes(): Promise<Hex>;
|
|
6198
|
+
static getAddressBCSBytes(suiaddress: string): Hex;
|
|
6199
|
+
getAssetManagerAddress(): Promise<string>;
|
|
6200
|
+
}
|
|
6201
|
+
|
|
6202
|
+
type SuiSpokeDepositParams = {
|
|
6203
|
+
from: Hex;
|
|
6204
|
+
to?: HubAddress;
|
|
6205
|
+
token: string;
|
|
6206
|
+
amount: bigint;
|
|
6207
|
+
data: Hex;
|
|
6208
|
+
};
|
|
6209
|
+
type SuiTransferToHubParams = {
|
|
6210
|
+
token: string;
|
|
6211
|
+
recipient: Address;
|
|
6212
|
+
amount: bigint;
|
|
6213
|
+
data: Hex;
|
|
6214
|
+
};
|
|
6215
|
+
declare class SuiSpokeService {
|
|
6216
|
+
private constructor();
|
|
6217
|
+
/**
|
|
6218
|
+
* Estimate the gas for a transaction.
|
|
6219
|
+
* @param {SuiRawTransaction} rawTx - The raw transaction to estimate the gas for.
|
|
6220
|
+
* @param {SuiSpokeProvider} spokeProvider - The spoke provider.
|
|
6221
|
+
* @returns {Promise<bigint>} The estimated computation cost.
|
|
6222
|
+
*/
|
|
6223
|
+
static estimateGas(rawTx: SuiRawTransaction, spokeProvider: SuiSpokeProvider): Promise<SuiGasEstimate>;
|
|
6224
|
+
/**
|
|
6225
|
+
* Deposit tokens to the spoke chain.
|
|
6226
|
+
* @param {InjectiveSpokeDepositParams} params - The parameters for the deposit, including the user's address, token address, amount, and additional data.
|
|
6227
|
+
* @param {SuiSpokeProvider} spokeProvider - The provider for the spoke chain.
|
|
6228
|
+
* @param {EvmHubProvider} hubProvider - The provider for the hub chain.
|
|
6229
|
+
* @param {boolean} raw - The return type raw or just transaction hash
|
|
6230
|
+
* @returns {PromiseSuiTxReturnType<R>} A promise that resolves to the transaction hash or raw transaction base64 string.
|
|
6231
|
+
*/
|
|
6232
|
+
static deposit<R extends boolean = false>(params: SuiSpokeDepositParams, spokeProvider: SuiSpokeProvider, hubProvider: EvmHubProvider, raw?: R): PromiseSuiTxReturnType<R>;
|
|
6233
|
+
/**
|
|
6234
|
+
* Get the balance of the token in the spoke chain.
|
|
6235
|
+
* @param {Address} token - The address of the token to get the balance of.
|
|
6236
|
+
* @param {SuiSpokeProvider} spokeProvider - The spoke provider.
|
|
6237
|
+
* @returns {Promise<bigint>} The balance of the token.
|
|
6238
|
+
*/
|
|
6239
|
+
static getDeposit(token: string, spokeProvider: SuiSpokeProvider): Promise<bigint>;
|
|
6240
|
+
/**
|
|
6241
|
+
* Generate simulation parameters for deposit from SuiSpokeDepositParams.
|
|
6242
|
+
* @param {SuiSpokeDepositParams} params - The deposit parameters.
|
|
6243
|
+
* @param {SuiSpokeProvider} spokeProvider - The provider for the spoke chain.
|
|
6244
|
+
* @param {EvmHubProvider} hubProvider - The provider for the hub chain.
|
|
6245
|
+
* @returns {Promise<DepositSimulationParams>} The simulation parameters.
|
|
6246
|
+
*/
|
|
6247
|
+
static getSimulateDepositParams(params: SuiSpokeDepositParams, spokeProvider: SuiSpokeProvider, hubProvider: EvmHubProvider): Promise<DepositSimulationParams>;
|
|
6248
|
+
/**
|
|
6249
|
+
* Calls a contract on the spoke chain using the user's wallet.
|
|
6250
|
+
* @param {HubAddress} from - The address of the user on the spoke chain.
|
|
6251
|
+
* @param {Hex} payload - The payload to send to the contract.
|
|
6252
|
+
* @param {SuiSpokeProvider} spokeProvider - The provider for the spoke chain.
|
|
6253
|
+
* @param {EvmHubProvider} hubProvider - The provider for the hub chain.
|
|
6254
|
+
* @param {boolean} raw - The return type raw or just transaction hash
|
|
6255
|
+
* @returns {PromiseSuiTxReturnType<R>} A promise that resolves to the transaction hash or raw transaction base64 string.
|
|
6256
|
+
*/
|
|
6257
|
+
static callWallet<R extends boolean = false>(from: HubAddress, payload: Hex, spokeProvider: SuiSpokeProvider, hubProvider: EvmHubProvider, raw?: R): PromiseSuiTxReturnType<R>;
|
|
6258
|
+
/**
|
|
6259
|
+
* Fetch the asset manager config from the spoke chain.
|
|
6260
|
+
* @param {SuiSpokeProvider} suiSpokeProvider - The spoke provider.
|
|
6261
|
+
* @returns {Promise<string>} The asset manager config.
|
|
6262
|
+
*/
|
|
6263
|
+
static fetchAssetManagerAddress(suiSpokeProvider: SuiSpokeProvider): Promise<string>;
|
|
6264
|
+
/**
|
|
6265
|
+
* Fetch the latest asset manager package id from the spoke chain.
|
|
6266
|
+
* @param {SuiSpokeProvider} suiSpokeProvider - The spoke provider.
|
|
6267
|
+
* @returns {Promise<string>} The latest asset manager package id.
|
|
6268
|
+
*/
|
|
6269
|
+
static fetchLatestAssetManagerPackageId(suiSpokeProvider: SuiSpokeProvider): Promise<string>;
|
|
6270
|
+
/**
|
|
6271
|
+
* Transfers tokens to the hub chain.
|
|
6272
|
+
* @param {SuiTransferToHubParams} params - The parameters for the transfer, including:
|
|
6273
|
+
* - {string} token: The address of the token to transfer (use address(0) for native token).
|
|
6274
|
+
* - {Uint8Array} recipient: The recipient address on the hub chain.
|
|
6275
|
+
* - {string} amount: The amount to transfer.
|
|
6276
|
+
* - {Uint8Array} [data=new Uint8Array([])]: Additional data for the transfer.
|
|
6277
|
+
* @param {SuiSpokeProvider} spokeProvider - The provider for the spoke chain.
|
|
6278
|
+
* @param {boolean} raw - The return type raw or just transaction hash
|
|
6279
|
+
* @returns {PromiseSuiTxReturnType<R>} A promise that resolves to the transaction hash or raw transaction base64 string.
|
|
6280
|
+
*/
|
|
6281
|
+
private static transfer;
|
|
6282
|
+
/**
|
|
6283
|
+
* Sends a message to the hub chain.
|
|
6284
|
+
* @param {bigint} dstChainId - The chain ID of the hub chain.
|
|
6285
|
+
* @param {HubAddress} dstAddress - The address on the hub chain.
|
|
6286
|
+
* @param {Hex} payload - The payload to send.
|
|
6287
|
+
* @param {SuiSpokeProvider} spokeProvider - The provider for the spoke chain.
|
|
6288
|
+
* @param {boolean} raw - The return type raw or just transaction hash
|
|
6289
|
+
* @returns {PromiseSuiTxReturnType<R>} A promise that resolves to the transaction hash or raw transaction base64 string.
|
|
6290
|
+
*/
|
|
6291
|
+
private static call;
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6170
6294
|
type CreateIntentParams = {
|
|
6171
6295
|
inputToken: string;
|
|
6172
6296
|
outputToken: string;
|
|
@@ -7481,6 +7605,180 @@ declare class BalnSwapService {
|
|
|
7481
7605
|
call<R extends boolean = false>(spokeProvider: SonicSpokeProvider, rawTx: EvmContractCall, raw?: R): PromiseEvmTxReturnType<R>;
|
|
7482
7606
|
}
|
|
7483
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
|
+
|
|
7484
7782
|
declare class IconSpokeProvider {
|
|
7485
7783
|
readonly walletProvider: IIconWalletProvider;
|
|
7486
7784
|
readonly chainConfig: IconSpokeChainConfig;
|
|
@@ -7516,8 +7814,8 @@ declare class CustomSorobanServer extends SorobanRpc.Server {
|
|
|
7516
7814
|
private customHeaders;
|
|
7517
7815
|
constructor(serverUrl: string, customHeaders: Record<string, string>);
|
|
7518
7816
|
getNetwork(): Promise<Api.GetNetworkResponse>;
|
|
7519
|
-
simulateTransaction(tx: Transaction<Memo<MemoType>, Operation[]>): Promise<SorobanRpc.Api.SimulateTransactionResponse>;
|
|
7520
|
-
sendTransaction(tx: Transaction | FeeBumpTransaction): Promise<SorobanRpc.Api.SendTransactionResponse>;
|
|
7817
|
+
simulateTransaction(tx: Transaction$1<Memo<MemoType>, Operation[]>): Promise<SorobanRpc.Api.SimulateTransactionResponse>;
|
|
7818
|
+
sendTransaction(tx: Transaction$1 | FeeBumpTransaction): Promise<SorobanRpc.Api.SendTransactionResponse>;
|
|
7521
7819
|
getTransaction(hash: string): Promise<SorobanRpc.Api.GetTransactionResponse>;
|
|
7522
7820
|
}
|
|
7523
7821
|
type StellarRpcConfig = {
|
|
@@ -7554,44 +7852,6 @@ type StellarSpokeDepositParams = {
|
|
|
7554
7852
|
data: Hex;
|
|
7555
7853
|
};
|
|
7556
7854
|
|
|
7557
|
-
type SuiNativeCoinResult = {
|
|
7558
|
-
$kind: 'NestedResult';
|
|
7559
|
-
NestedResult: [number, number];
|
|
7560
|
-
};
|
|
7561
|
-
type SuiTxObject = {
|
|
7562
|
-
$kind: 'Input';
|
|
7563
|
-
Input: number;
|
|
7564
|
-
type?: 'object' | undefined;
|
|
7565
|
-
};
|
|
7566
|
-
declare class SuiSpokeProvider implements ISpokeProvider {
|
|
7567
|
-
readonly walletProvider: ISuiWalletProvider;
|
|
7568
|
-
chainConfig: SuiSpokeChainConfig;
|
|
7569
|
-
readonly publicClient: SuiClient;
|
|
7570
|
-
constructor(config: SuiSpokeChainConfig, wallet_provider: ISuiWalletProvider);
|
|
7571
|
-
getBalance(token: string): Promise<bigint>;
|
|
7572
|
-
transfer<R extends boolean = false>(token: string, amount: bigint, to: Uint8Array, data: Uint8Array, raw?: R): PromiseSuiTxReturnType<R>;
|
|
7573
|
-
getNativeCoin(tx: Transaction$1, amount: bigint): Promise<SuiNativeCoinResult>;
|
|
7574
|
-
getCoin(tx: Transaction$1, coin: string, amount: bigint, address: string): Promise<TransactionResult | SuiTxObject>;
|
|
7575
|
-
splitAddress(address: string): {
|
|
7576
|
-
packageId: string;
|
|
7577
|
-
moduleId: string;
|
|
7578
|
-
stateId: string;
|
|
7579
|
-
};
|
|
7580
|
-
sendMessage<R extends boolean = false>(dst_chain_id: bigint, dst_address: Uint8Array, data: Uint8Array, raw?: R): PromiseSuiTxReturnType<R>;
|
|
7581
|
-
configureAssetManagerHub(hubNetworkId: number, hubAssetManager: Uint8Array): Promise<string>;
|
|
7582
|
-
getWalletAddress(): Promise<string>;
|
|
7583
|
-
getWalletAddressBytes(): Promise<Hex>;
|
|
7584
|
-
static getAddressBCSBytes(suiaddress: string): Hex;
|
|
7585
|
-
}
|
|
7586
|
-
|
|
7587
|
-
type SuiSpokeDepositParams = {
|
|
7588
|
-
from: Hex;
|
|
7589
|
-
to?: HubAddress;
|
|
7590
|
-
token: string;
|
|
7591
|
-
amount: bigint;
|
|
7592
|
-
data: Hex;
|
|
7593
|
-
};
|
|
7594
|
-
|
|
7595
7855
|
type InjectiveSpokeDepositParams = {
|
|
7596
7856
|
from: string;
|
|
7597
7857
|
to?: HubAddress;
|
|
@@ -7633,7 +7893,7 @@ type BaseSpokeChainConfig<T extends ChainType> = {
|
|
|
7633
7893
|
addresses: {
|
|
7634
7894
|
[key: string]: Address$1 | string | Uint8Array;
|
|
7635
7895
|
};
|
|
7636
|
-
supportedTokens: Record<string,
|
|
7896
|
+
supportedTokens: Record<string, XToken>;
|
|
7637
7897
|
nativeToken: Address$1 | string;
|
|
7638
7898
|
bnUSD: Address$1 | string;
|
|
7639
7899
|
};
|
|
@@ -7670,6 +7930,7 @@ type MoneyMarketConfig = {
|
|
|
7670
7930
|
type MoneyMarketServiceConfig = Prettify<MoneyMarketConfig & PartnerFeeConfig & RelayerApiConfig>;
|
|
7671
7931
|
type SolverServiceConfig = Prettify<SolverConfig & PartnerFeeConfig & RelayerApiConfig>;
|
|
7672
7932
|
type MigrationServiceConfig = Prettify<RelayerApiConfig>;
|
|
7933
|
+
type BridgeServiceConfig = Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
7673
7934
|
type MoneyMarketConfigParams = Prettify<MoneyMarketConfig & Optional<PartnerFeeConfig, 'partnerFee'>> | Optional<PartnerFeeConfig, 'partnerFee'>;
|
|
7674
7935
|
type Default = {
|
|
7675
7936
|
default: boolean;
|
|
@@ -7690,8 +7951,8 @@ type SonicSpokeChainConfig = BaseSpokeChainConfig<'EVM'> & {
|
|
|
7690
7951
|
};
|
|
7691
7952
|
type SuiSpokeChainConfig = BaseSpokeChainConfig<'SUI'> & {
|
|
7692
7953
|
addresses: {
|
|
7693
|
-
|
|
7694
|
-
|
|
7954
|
+
originalAssetManager: string;
|
|
7955
|
+
assetManagerConfigId: string;
|
|
7695
7956
|
connection: string;
|
|
7696
7957
|
xTokenManager: string;
|
|
7697
7958
|
rateLimit: string;
|
|
@@ -8082,6 +8343,7 @@ type SodaxConfig = {
|
|
|
8082
8343
|
solver?: SolverConfigParams;
|
|
8083
8344
|
moneyMarket?: MoneyMarketConfigParams;
|
|
8084
8345
|
migration?: MigrationServiceConfig;
|
|
8346
|
+
bridge?: BridgeServiceConfig;
|
|
8085
8347
|
hubProviderConfig?: EvmHubProviderConfig;
|
|
8086
8348
|
relayerApiEndpoint?: HttpUrl;
|
|
8087
8349
|
};
|
|
@@ -8095,6 +8357,7 @@ declare class Sodax {
|
|
|
8095
8357
|
readonly solver: SolverService;
|
|
8096
8358
|
readonly moneyMarket: MoneyMarketService;
|
|
8097
8359
|
readonly migration: MigrationService;
|
|
8360
|
+
readonly bridge: BridgeService;
|
|
8098
8361
|
readonly hubProvider: EvmHubProvider;
|
|
8099
8362
|
readonly relayerApiEndpoint: HttpUrl;
|
|
8100
8363
|
constructor(config?: SodaxConfig);
|
|
@@ -8665,7 +8928,7 @@ declare function hexToBigInt(hex: string): bigint;
|
|
|
8665
8928
|
declare function deriveUserWalletAddress(spokeProvider: SpokeProvider, hubProvider: EvmHubProvider, walletAddress?: string): Promise<Address$1>;
|
|
8666
8929
|
|
|
8667
8930
|
declare const DEFAULT_MAX_RETRY = 3;
|
|
8668
|
-
declare const DEFAULT_RELAY_TX_TIMEOUT =
|
|
8931
|
+
declare const DEFAULT_RELAY_TX_TIMEOUT = 120000;
|
|
8669
8932
|
declare const DEFAULT_RETRY_DELAY_MS = 2000;
|
|
8670
8933
|
declare const ICON_TX_RESULT_WAIT_MAX_RETRY = 10;
|
|
8671
8934
|
declare const MAX_UINT256: bigint;
|
|
@@ -8694,6 +8957,131 @@ declare const EVM_SPOKE_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "
|
|
|
8694
8957
|
declare const ChainIdToIntentRelayChainId: Record<ChainId, IntentRelayChainId>;
|
|
8695
8958
|
declare const getIntentRelayChainId: (chainId: ChainId) => IntentRelayChainId;
|
|
8696
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;
|
|
8697
9085
|
declare const getHubChainConfig: (chainId: HubChainId) => EvmHubChainConfig;
|
|
8698
9086
|
declare const spokeChainConfig: {
|
|
8699
9087
|
readonly sonic: {
|
|
@@ -8709,47 +9097,159 @@ declare const spokeChainConfig: {
|
|
|
8709
9097
|
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
8710
9098
|
readonly bnUSD: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
8711
9099
|
readonly supportedTokens: {
|
|
8712
|
-
readonly
|
|
8713
|
-
readonly symbol: "
|
|
8714
|
-
readonly name: "
|
|
9100
|
+
readonly sodaBNB: {
|
|
9101
|
+
readonly symbol: "sodaBNB";
|
|
9102
|
+
readonly name: "Soda BNB";
|
|
8715
9103
|
readonly decimals: 18;
|
|
8716
|
-
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";
|
|
8717
9162
|
};
|
|
8718
9163
|
readonly bnUSD: {
|
|
8719
9164
|
readonly symbol: "bnUSD";
|
|
8720
|
-
readonly name: "
|
|
9165
|
+
readonly name: "Balanced Dollar";
|
|
8721
9166
|
readonly decimals: 18;
|
|
8722
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";
|
|
8723
9218
|
};
|
|
8724
9219
|
readonly WETH: {
|
|
8725
9220
|
readonly symbol: "WETH";
|
|
8726
9221
|
readonly name: "Wrapped Ether";
|
|
8727
9222
|
readonly decimals: 18;
|
|
8728
9223
|
readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
|
|
9224
|
+
readonly xChainId: "sonic";
|
|
8729
9225
|
};
|
|
8730
9226
|
readonly USDC: {
|
|
8731
9227
|
readonly symbol: "USDC";
|
|
8732
9228
|
readonly name: "USD Coin";
|
|
8733
9229
|
readonly decimals: 6;
|
|
8734
9230
|
readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
|
|
9231
|
+
readonly xChainId: "sonic";
|
|
8735
9232
|
};
|
|
8736
9233
|
readonly USDT: {
|
|
8737
9234
|
readonly symbol: "USDT";
|
|
8738
9235
|
readonly name: "Tether USD";
|
|
8739
9236
|
readonly decimals: 6;
|
|
8740
9237
|
readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
|
|
9238
|
+
readonly xChainId: "sonic";
|
|
8741
9239
|
};
|
|
8742
9240
|
readonly wS: {
|
|
8743
9241
|
readonly symbol: "wS";
|
|
8744
9242
|
readonly name: "Wrapped Sonic";
|
|
8745
9243
|
readonly decimals: 18;
|
|
8746
9244
|
readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
9245
|
+
readonly xChainId: "sonic";
|
|
8747
9246
|
};
|
|
8748
9247
|
readonly SODA: {
|
|
8749
9248
|
readonly symbol: "SODA";
|
|
8750
9249
|
readonly name: "SODAX";
|
|
8751
9250
|
readonly decimals: 18;
|
|
8752
9251
|
readonly address: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
9252
|
+
readonly xChainId: "sonic";
|
|
8753
9253
|
};
|
|
8754
9254
|
};
|
|
8755
9255
|
};
|
|
@@ -8774,18 +9274,21 @@ declare const spokeChainConfig: {
|
|
|
8774
9274
|
readonly name: "Solana";
|
|
8775
9275
|
readonly decimals: 9;
|
|
8776
9276
|
readonly address: "11111111111111111111111111111111";
|
|
9277
|
+
readonly xChainId: "solana";
|
|
8777
9278
|
};
|
|
8778
9279
|
readonly bnUSD: {
|
|
8779
9280
|
readonly symbol: "bnUSD";
|
|
8780
9281
|
readonly name: "bnUSD";
|
|
8781
9282
|
readonly decimals: 9;
|
|
8782
9283
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
9284
|
+
readonly xChainId: "solana";
|
|
8783
9285
|
};
|
|
8784
9286
|
readonly USDC: {
|
|
8785
9287
|
readonly symbol: "USDC";
|
|
8786
9288
|
readonly name: "USD Coin";
|
|
8787
9289
|
readonly decimals: 6;
|
|
8788
9290
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
9291
|
+
readonly xChainId: "solana";
|
|
8789
9292
|
};
|
|
8790
9293
|
};
|
|
8791
9294
|
readonly gasPrice: "500000";
|
|
@@ -8810,24 +9313,28 @@ declare const spokeChainConfig: {
|
|
|
8810
9313
|
readonly name: "Avalanche";
|
|
8811
9314
|
readonly decimals: 18;
|
|
8812
9315
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9316
|
+
readonly xChainId: "0xa86a.avax";
|
|
8813
9317
|
};
|
|
8814
9318
|
readonly bnUSD: {
|
|
8815
9319
|
readonly symbol: "bnUSD";
|
|
8816
9320
|
readonly name: "bnUSD";
|
|
8817
9321
|
readonly decimals: 18;
|
|
8818
9322
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
9323
|
+
readonly xChainId: "0xa86a.avax";
|
|
8819
9324
|
};
|
|
8820
9325
|
readonly USDT: {
|
|
8821
9326
|
readonly symbol: "USDT";
|
|
8822
9327
|
readonly name: "Tether USD";
|
|
8823
9328
|
readonly decimals: 6;
|
|
8824
9329
|
readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
|
|
9330
|
+
readonly xChainId: "0xa86a.avax";
|
|
8825
9331
|
};
|
|
8826
9332
|
readonly USDC: {
|
|
8827
9333
|
readonly symbol: "USDC";
|
|
8828
9334
|
readonly name: "USD Coin";
|
|
8829
9335
|
readonly decimals: 6;
|
|
8830
9336
|
readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
9337
|
+
readonly xChainId: "0xa86a.avax";
|
|
8831
9338
|
};
|
|
8832
9339
|
};
|
|
8833
9340
|
};
|
|
@@ -8849,12 +9356,14 @@ declare const spokeChainConfig: {
|
|
|
8849
9356
|
readonly name: "Nibiru";
|
|
8850
9357
|
readonly decimals: 6;
|
|
8851
9358
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9359
|
+
readonly xChainId: "nibiru";
|
|
8852
9360
|
};
|
|
8853
9361
|
readonly bnUSD: {
|
|
8854
9362
|
readonly symbol: "bnUSD";
|
|
8855
9363
|
readonly name: "bnUSD";
|
|
8856
9364
|
readonly decimals: 18;
|
|
8857
9365
|
readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
|
|
9366
|
+
readonly xChainId: "nibiru";
|
|
8858
9367
|
};
|
|
8859
9368
|
};
|
|
8860
9369
|
};
|
|
@@ -8876,48 +9385,56 @@ declare const spokeChainConfig: {
|
|
|
8876
9385
|
readonly name: "Ethereum";
|
|
8877
9386
|
readonly decimals: 18;
|
|
8878
9387
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9388
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8879
9389
|
};
|
|
8880
9390
|
readonly bnUSD: {
|
|
8881
9391
|
readonly symbol: "bnUSD";
|
|
8882
9392
|
readonly name: "bnUSD";
|
|
8883
9393
|
readonly decimals: 18;
|
|
8884
9394
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
9395
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8885
9396
|
};
|
|
8886
9397
|
readonly wstETH: {
|
|
8887
9398
|
readonly symbol: "wstETH";
|
|
8888
9399
|
readonly name: "Wrapped stETH";
|
|
8889
9400
|
readonly decimals: 18;
|
|
8890
9401
|
readonly address: "0x5979D7b546E38E414F7E9822514be443A4800529";
|
|
9402
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8891
9403
|
};
|
|
8892
9404
|
readonly weETH: {
|
|
8893
9405
|
readonly symbol: "weETH";
|
|
8894
9406
|
readonly name: "Wrapped eETH";
|
|
8895
9407
|
readonly decimals: 18;
|
|
8896
9408
|
readonly address: "0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe";
|
|
9409
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8897
9410
|
};
|
|
8898
9411
|
readonly tBTC: {
|
|
8899
9412
|
readonly symbol: "tBTC";
|
|
8900
9413
|
readonly name: "Arbitrum tBTC v2";
|
|
8901
9414
|
readonly decimals: 18;
|
|
8902
9415
|
readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
|
|
9416
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8903
9417
|
};
|
|
8904
9418
|
readonly WBTC: {
|
|
8905
9419
|
readonly symbol: "WBTC";
|
|
8906
9420
|
readonly name: "Wrapped BTC";
|
|
8907
9421
|
readonly decimals: 8;
|
|
8908
9422
|
readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
9423
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8909
9424
|
};
|
|
8910
9425
|
readonly USDC: {
|
|
8911
9426
|
readonly symbol: "USDC";
|
|
8912
9427
|
readonly name: "USD Coin (USDC)";
|
|
8913
9428
|
readonly decimals: 6;
|
|
8914
9429
|
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
9430
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8915
9431
|
};
|
|
8916
9432
|
readonly USDT: {
|
|
8917
9433
|
readonly symbol: "USDT";
|
|
8918
9434
|
readonly name: "TetherToken";
|
|
8919
9435
|
readonly decimals: 6;
|
|
8920
9436
|
readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
|
|
9437
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
8921
9438
|
};
|
|
8922
9439
|
};
|
|
8923
9440
|
};
|
|
@@ -8939,36 +9456,42 @@ declare const spokeChainConfig: {
|
|
|
8939
9456
|
readonly name: "Ethereum";
|
|
8940
9457
|
readonly decimals: 18;
|
|
8941
9458
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9459
|
+
readonly xChainId: "0x2105.base";
|
|
8942
9460
|
};
|
|
8943
9461
|
readonly bnUSD: {
|
|
8944
9462
|
readonly symbol: "bnUSD";
|
|
8945
9463
|
readonly name: "bnUSD";
|
|
8946
9464
|
readonly decimals: 18;
|
|
8947
9465
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
9466
|
+
readonly xChainId: "0x2105.base";
|
|
8948
9467
|
};
|
|
8949
9468
|
readonly weETH: {
|
|
8950
9469
|
readonly symbol: "weETH";
|
|
8951
9470
|
readonly name: "Wrapped eETH";
|
|
8952
9471
|
readonly decimals: 18;
|
|
8953
9472
|
readonly address: "0x04c0599ae5a44757c0af6f9ec3b93da8976c150a";
|
|
9473
|
+
readonly xChainId: "0x2105.base";
|
|
8954
9474
|
};
|
|
8955
9475
|
readonly USDC: {
|
|
8956
9476
|
readonly symbol: "USDC";
|
|
8957
9477
|
readonly name: "USD Coin";
|
|
8958
9478
|
readonly decimals: 6;
|
|
8959
9479
|
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
9480
|
+
readonly xChainId: "0x2105.base";
|
|
8960
9481
|
};
|
|
8961
9482
|
readonly wstETH: {
|
|
8962
9483
|
readonly symbol: "wstETH";
|
|
8963
9484
|
readonly name: "Wrapped stETH";
|
|
8964
9485
|
readonly decimals: 18;
|
|
8965
9486
|
readonly address: "0xc1CBa3fCea344f92D9239c08C0568f6F2F0ee452";
|
|
9487
|
+
readonly xChainId: "0x2105.base";
|
|
8966
9488
|
};
|
|
8967
9489
|
readonly cbBTC: {
|
|
8968
9490
|
readonly symbol: "cbBTC";
|
|
8969
9491
|
readonly name: "Coinbase Wrapped BTC";
|
|
8970
9492
|
readonly decimals: 8;
|
|
8971
9493
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
9494
|
+
readonly xChainId: "0x2105.base";
|
|
8972
9495
|
};
|
|
8973
9496
|
};
|
|
8974
9497
|
};
|
|
@@ -8990,36 +9513,42 @@ declare const spokeChainConfig: {
|
|
|
8990
9513
|
readonly name: "Ethereum";
|
|
8991
9514
|
readonly decimals: 18;
|
|
8992
9515
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9516
|
+
readonly xChainId: "0xa.optimism";
|
|
8993
9517
|
};
|
|
8994
9518
|
readonly bnUSD: {
|
|
8995
9519
|
readonly symbol: "bnUSD";
|
|
8996
9520
|
readonly name: "bnUSD";
|
|
8997
9521
|
readonly decimals: 18;
|
|
8998
9522
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
9523
|
+
readonly xChainId: "0xa.optimism";
|
|
8999
9524
|
};
|
|
9000
9525
|
readonly USDC: {
|
|
9001
9526
|
readonly symbol: "USDC";
|
|
9002
9527
|
readonly name: "USD Coin";
|
|
9003
9528
|
readonly decimals: 6;
|
|
9004
9529
|
readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
|
|
9530
|
+
readonly xChainId: "0xa.optimism";
|
|
9005
9531
|
};
|
|
9006
9532
|
readonly wstETH: {
|
|
9007
9533
|
readonly symbol: "wstETH";
|
|
9008
9534
|
readonly name: "Wrapped stETH";
|
|
9009
9535
|
readonly decimals: 18;
|
|
9010
9536
|
readonly address: "0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb";
|
|
9537
|
+
readonly xChainId: "0xa.optimism";
|
|
9011
9538
|
};
|
|
9012
9539
|
readonly weETH: {
|
|
9013
9540
|
readonly symbol: "weETH";
|
|
9014
9541
|
readonly name: "Wrapped eETH";
|
|
9015
9542
|
readonly decimals: 18;
|
|
9016
9543
|
readonly address: "0x5A7fACB970D094B6C7FF1df0eA68D99E6e73CBFF";
|
|
9544
|
+
readonly xChainId: "0xa.optimism";
|
|
9017
9545
|
};
|
|
9018
9546
|
readonly USDT: {
|
|
9019
9547
|
readonly symbol: "USDT";
|
|
9020
9548
|
readonly name: "Tether USD";
|
|
9021
9549
|
readonly decimals: 6;
|
|
9022
9550
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
9551
|
+
readonly xChainId: "0xa.optimism";
|
|
9023
9552
|
};
|
|
9024
9553
|
};
|
|
9025
9554
|
};
|
|
@@ -9041,30 +9570,35 @@ declare const spokeChainConfig: {
|
|
|
9041
9570
|
readonly name: "BNB";
|
|
9042
9571
|
readonly decimals: 18;
|
|
9043
9572
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9573
|
+
readonly xChainId: "0x38.bsc";
|
|
9044
9574
|
};
|
|
9045
9575
|
readonly bnUSD: {
|
|
9046
9576
|
readonly symbol: "bnUSD";
|
|
9047
9577
|
readonly name: "bnUSD";
|
|
9048
9578
|
readonly decimals: 18;
|
|
9049
9579
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
9580
|
+
readonly xChainId: "0x38.bsc";
|
|
9050
9581
|
};
|
|
9051
9582
|
readonly ETHB: {
|
|
9052
9583
|
readonly symbol: "ETHB";
|
|
9053
9584
|
readonly name: "Ethereum BSC";
|
|
9054
9585
|
readonly decimals: 18;
|
|
9055
9586
|
readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
|
|
9587
|
+
readonly xChainId: "0x38.bsc";
|
|
9056
9588
|
};
|
|
9057
9589
|
readonly BTCB: {
|
|
9058
9590
|
readonly symbol: "BTCB";
|
|
9059
9591
|
readonly name: "Bitcoin BSC";
|
|
9060
9592
|
readonly decimals: 18;
|
|
9061
9593
|
readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
9594
|
+
readonly xChainId: "0x38.bsc";
|
|
9062
9595
|
};
|
|
9063
9596
|
readonly USDC: {
|
|
9064
9597
|
readonly symbol: "USDC";
|
|
9065
9598
|
readonly name: "USD Coin";
|
|
9066
9599
|
readonly decimals: 18;
|
|
9067
9600
|
readonly address: "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d";
|
|
9601
|
+
readonly xChainId: "0x38.bsc";
|
|
9068
9602
|
};
|
|
9069
9603
|
};
|
|
9070
9604
|
};
|
|
@@ -9086,18 +9620,21 @@ declare const spokeChainConfig: {
|
|
|
9086
9620
|
readonly name: "Polygon";
|
|
9087
9621
|
readonly decimals: 18;
|
|
9088
9622
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9623
|
+
readonly xChainId: "0x89.polygon";
|
|
9089
9624
|
};
|
|
9090
9625
|
readonly bnUSD: {
|
|
9091
9626
|
readonly symbol: "bnUSD";
|
|
9092
9627
|
readonly name: "bnUSD";
|
|
9093
9628
|
readonly decimals: 18;
|
|
9094
9629
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
9630
|
+
readonly xChainId: "0x89.polygon";
|
|
9095
9631
|
};
|
|
9096
9632
|
readonly USDC: {
|
|
9097
9633
|
readonly symbol: "USDC";
|
|
9098
9634
|
readonly name: "USD Coin";
|
|
9099
9635
|
readonly decimals: 6;
|
|
9100
9636
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
9637
|
+
readonly xChainId: "0x89.polygon";
|
|
9101
9638
|
};
|
|
9102
9639
|
};
|
|
9103
9640
|
};
|
|
@@ -9123,18 +9660,21 @@ declare const spokeChainConfig: {
|
|
|
9123
9660
|
readonly name: "Injective";
|
|
9124
9661
|
readonly decimals: 18;
|
|
9125
9662
|
readonly address: "inj";
|
|
9663
|
+
readonly xChainId: "injective-1";
|
|
9126
9664
|
};
|
|
9127
9665
|
readonly bnUSD: {
|
|
9128
9666
|
readonly symbol: "bnUSD";
|
|
9129
9667
|
readonly name: "bnUSD";
|
|
9130
9668
|
readonly decimals: 18;
|
|
9131
9669
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
9670
|
+
readonly xChainId: "injective-1";
|
|
9132
9671
|
};
|
|
9133
9672
|
readonly USDC: {
|
|
9134
9673
|
readonly symbol: "USDC";
|
|
9135
9674
|
readonly name: "USD Coin";
|
|
9136
9675
|
readonly decimals: 6;
|
|
9137
9676
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
9677
|
+
readonly xChainId: "injective-1";
|
|
9138
9678
|
};
|
|
9139
9679
|
};
|
|
9140
9680
|
readonly gasPrice: "500000000inj";
|
|
@@ -9158,24 +9698,28 @@ declare const spokeChainConfig: {
|
|
|
9158
9698
|
readonly name: "bnUSD";
|
|
9159
9699
|
readonly decimals: 7;
|
|
9160
9700
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
9701
|
+
readonly xChainId: "stellar";
|
|
9161
9702
|
};
|
|
9162
9703
|
readonly XLM: {
|
|
9163
9704
|
readonly symbol: "XLM";
|
|
9164
9705
|
readonly name: "Stellar Lumens";
|
|
9165
9706
|
readonly decimals: 7;
|
|
9166
9707
|
readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
9708
|
+
readonly xChainId: "stellar";
|
|
9167
9709
|
};
|
|
9168
9710
|
readonly USDC: {
|
|
9169
9711
|
readonly symbol: "USDC";
|
|
9170
9712
|
readonly name: "USD Coin";
|
|
9171
9713
|
readonly decimals: 7;
|
|
9172
9714
|
readonly address: "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75";
|
|
9715
|
+
readonly xChainId: "stellar";
|
|
9173
9716
|
};
|
|
9174
9717
|
readonly legacybnUSD: {
|
|
9175
|
-
readonly symbol: "bnUSD";
|
|
9718
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9176
9719
|
readonly name: "legacybnUSD";
|
|
9177
9720
|
readonly decimals: 18;
|
|
9178
9721
|
readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
|
|
9722
|
+
readonly xChainId: "stellar";
|
|
9179
9723
|
};
|
|
9180
9724
|
};
|
|
9181
9725
|
readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
@@ -9191,8 +9735,8 @@ declare const spokeChainConfig: {
|
|
|
9191
9735
|
readonly sui: {
|
|
9192
9736
|
readonly addresses: {
|
|
9193
9737
|
readonly connection: "0xf3b1e696a66d02cb776dc15aae73c68bc8f03adcb6ba0ec7f6332d9d90a6a3d2::connectionv3::0x3ee76d13909ac58ae13baab4c9be5a5142818d9a387aed641825e5d4356969bf";
|
|
9194
|
-
readonly
|
|
9195
|
-
readonly
|
|
9738
|
+
readonly assetManagerConfigId: "0xcb7346339340b7f8dea40fcafb70721dc2fcfa7e8626a89fd954d46c1f928b61";
|
|
9739
|
+
readonly originalAssetManager: "0xa17a409164d1676db71b411ab50813ba2c7dd547d2df538c699049566f1ff922::asset_manager::0xcb7346339340b7f8dea40fcafb70721dc2fcfa7e8626a89fd954d46c1f928b61";
|
|
9196
9740
|
readonly xTokenManager: "";
|
|
9197
9741
|
readonly rateLimit: "";
|
|
9198
9742
|
readonly testToken: "";
|
|
@@ -9203,60 +9747,70 @@ declare const spokeChainConfig: {
|
|
|
9203
9747
|
readonly name: "SUI";
|
|
9204
9748
|
readonly decimals: 9;
|
|
9205
9749
|
readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
9750
|
+
readonly xChainId: "sui";
|
|
9206
9751
|
};
|
|
9207
9752
|
readonly bnUSD: {
|
|
9208
9753
|
readonly symbol: "bnUSD";
|
|
9209
9754
|
readonly name: "bnUSD";
|
|
9210
9755
|
readonly decimals: 9;
|
|
9211
9756
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
9757
|
+
readonly xChainId: "sui";
|
|
9212
9758
|
};
|
|
9213
9759
|
readonly USDC: {
|
|
9214
9760
|
readonly symbol: "USDC";
|
|
9215
9761
|
readonly name: "USD Coin";
|
|
9216
9762
|
readonly decimals: 6;
|
|
9217
9763
|
readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
9764
|
+
readonly xChainId: "sui";
|
|
9218
9765
|
};
|
|
9219
9766
|
readonly legacybnUSD: {
|
|
9220
|
-
readonly symbol: "bnUSD";
|
|
9767
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9221
9768
|
readonly name: "legacybnUSD";
|
|
9222
9769
|
readonly decimals: 9;
|
|
9223
9770
|
readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
|
|
9771
|
+
readonly xChainId: "sui";
|
|
9224
9772
|
};
|
|
9225
9773
|
readonly afSUI: {
|
|
9226
9774
|
readonly symbol: "afSUI";
|
|
9227
9775
|
readonly name: "Aftermath Staked Sui";
|
|
9228
9776
|
readonly decimals: 9;
|
|
9229
9777
|
readonly address: "0xf325ce1300e8dac124071d3152c5c5ee6174914f8bc2161e88329cf579246efc::afsui::AFSUI";
|
|
9778
|
+
readonly xChainId: "sui";
|
|
9230
9779
|
};
|
|
9231
9780
|
readonly mSUI: {
|
|
9232
9781
|
readonly symbol: "mSUI";
|
|
9233
9782
|
readonly name: "Mirai Staked SUI";
|
|
9234
9783
|
readonly decimals: 9;
|
|
9235
9784
|
readonly address: "0x922d15d7f55c13fd790f6e54397470ec592caa2b508df292a2e8553f3d3b274f::msui::MSUI";
|
|
9785
|
+
readonly xChainId: "sui";
|
|
9236
9786
|
};
|
|
9237
9787
|
readonly haSUI: {
|
|
9238
9788
|
readonly symbol: "haSUI";
|
|
9239
9789
|
readonly name: "haSUI";
|
|
9240
9790
|
readonly decimals: 9;
|
|
9241
9791
|
readonly address: "0xbde4ba4c2e274a60ce15c1cfff9e5c42e41654ac8b6d906a57efa4bd3c29f47d::hasui::HASUI";
|
|
9792
|
+
readonly xChainId: "sui";
|
|
9242
9793
|
};
|
|
9243
9794
|
readonly vSUI: {
|
|
9244
9795
|
readonly symbol: "vSUI";
|
|
9245
9796
|
readonly name: "Volo Staked SUI";
|
|
9246
9797
|
readonly decimals: 9;
|
|
9247
9798
|
readonly address: "0x549e8b69270defbfafd4f94e17ec44cdbdd99820b33bda2278dea3b9a32d3f55::cert::CERT";
|
|
9799
|
+
readonly xChainId: "sui";
|
|
9248
9800
|
};
|
|
9249
9801
|
readonly yapSUI: {
|
|
9250
9802
|
readonly symbol: "yapSUI";
|
|
9251
9803
|
readonly name: "Yap Staked SUI";
|
|
9252
9804
|
readonly decimals: 9;
|
|
9253
9805
|
readonly address: "0x83f1bb8c91ecd1fd313344058b0eed94d63c54e41d8d1ae5bff1353443517d65::yap_sui::YAP_SUI";
|
|
9806
|
+
readonly xChainId: "sui";
|
|
9254
9807
|
};
|
|
9255
9808
|
readonly trevinSUI: {
|
|
9256
9809
|
readonly symbol: "trevinSUI";
|
|
9257
9810
|
readonly name: "Trevin Staked SUI";
|
|
9258
9811
|
readonly decimals: 9;
|
|
9259
9812
|
readonly address: "0x502867b177303bf1bf226245fcdd3403c177e78d175a55a56c0602c7ff51c7fa::trevin_sui::TREVIN_SUI";
|
|
9813
|
+
readonly xChainId: "sui";
|
|
9260
9814
|
};
|
|
9261
9815
|
};
|
|
9262
9816
|
readonly nativeToken: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
@@ -9277,7 +9831,7 @@ declare const spokeChainConfig: {
|
|
|
9277
9831
|
};
|
|
9278
9832
|
readonly chain: {
|
|
9279
9833
|
readonly id: "0x1.icon";
|
|
9280
|
-
readonly name: "ICON
|
|
9834
|
+
readonly name: "ICON";
|
|
9281
9835
|
readonly type: "ICON";
|
|
9282
9836
|
};
|
|
9283
9837
|
readonly supportedTokens: {
|
|
@@ -9286,30 +9840,35 @@ declare const spokeChainConfig: {
|
|
|
9286
9840
|
readonly name: "ICON";
|
|
9287
9841
|
readonly decimals: 18;
|
|
9288
9842
|
readonly address: "cx0000000000000000000000000000000000000000";
|
|
9843
|
+
readonly xChainId: "0x1.icon";
|
|
9289
9844
|
};
|
|
9290
9845
|
readonly wICX: {
|
|
9291
9846
|
readonly symbol: "wICX";
|
|
9292
9847
|
readonly name: "Wrapped ICX";
|
|
9293
9848
|
readonly decimals: 18;
|
|
9294
9849
|
readonly address: "cx3975b43d260fb8ec802cef6e60c2f4d07486f11d";
|
|
9850
|
+
readonly xChainId: "0x1.icon";
|
|
9295
9851
|
};
|
|
9296
9852
|
readonly bnUSD: {
|
|
9297
|
-
readonly symbol: "bnUSD";
|
|
9853
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9298
9854
|
readonly name: "bnUSD";
|
|
9299
9855
|
readonly decimals: 18;
|
|
9300
9856
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9857
|
+
readonly xChainId: "0x1.icon";
|
|
9301
9858
|
};
|
|
9302
9859
|
readonly legacybnUSD: {
|
|
9303
|
-
readonly symbol: "bnUSD";
|
|
9860
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9304
9861
|
readonly name: "bnUSD";
|
|
9305
9862
|
readonly decimals: 18;
|
|
9306
9863
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9864
|
+
readonly xChainId: "0x1.icon";
|
|
9307
9865
|
};
|
|
9308
9866
|
readonly BALN: {
|
|
9309
9867
|
readonly symbol: "BALN";
|
|
9310
9868
|
readonly name: "BALN";
|
|
9311
9869
|
readonly decimals: 18;
|
|
9312
9870
|
readonly address: "cxf61cd5a45dc9f91c15aa65831a30a90d59a09619";
|
|
9871
|
+
readonly xChainId: "0x1.icon";
|
|
9313
9872
|
};
|
|
9314
9873
|
};
|
|
9315
9874
|
readonly nativeToken: "cx0000000000000000000000000000000000000000";
|
|
@@ -9317,8 +9876,6 @@ declare const spokeChainConfig: {
|
|
|
9317
9876
|
readonly nid: "0x1";
|
|
9318
9877
|
};
|
|
9319
9878
|
};
|
|
9320
|
-
declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD"];
|
|
9321
|
-
type HubVaultSymbol = (typeof HubVaultSymbols)[number];
|
|
9322
9879
|
declare const hubVaults: {
|
|
9323
9880
|
readonly IbnUSD: {
|
|
9324
9881
|
readonly address: "0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51";
|
|
@@ -9338,11 +9895,11 @@ declare const hubVaults: {
|
|
|
9338
9895
|
};
|
|
9339
9896
|
readonly bnUSD: {
|
|
9340
9897
|
readonly address: "0xe801ca34e19abcbfea12025378d19c4fbe250131";
|
|
9341
|
-
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"];
|
|
9342
9899
|
};
|
|
9343
9900
|
readonly sodaSODA: {
|
|
9344
9901
|
readonly address: "0x21685e341de7844135329914be6bd8d16982d834";
|
|
9345
|
-
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963"];
|
|
9902
|
+
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963", "0xf51d7082375cdca8C19C74e1A0c77dA482aFDa4e", "0x93a367E5B37a1B9E8D04ef25a6Af40d181a3DfFF", "0x17fF8Ad5EBe6CA8B15751067cD0c89f0E580CD17", "0x4d12c72A8633588097D10e57b559ed642588e4C6", "0x26cd76cB5622Dc8638670A16E0Da5a51394A8DB1", "0x0eD0d274dC77ef460DC96b9fBaFF3EDB074e0471", "0x8D78A620E009Ba751Eb40d77A5e9Db48A3F2016b", "0x4Cf5Ce9594AEDdc5D3efe9d4Cdf0b944b4e73A53", "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc", "0x07Db7b1a96ebE474B20F52fF487cEE415adee79e", "0x20Ce75CdcEe44B1308365447b91B9c26e2b71Ffd", "0x5Db9CEc919f40C50809D9490DC3BbA4F05b0a1D7", "0x655730024B673B3378CD6031B1Cd01eaE9afb138"];
|
|
9346
9903
|
};
|
|
9347
9904
|
readonly sodaAVAX: {
|
|
9348
9905
|
readonly address: "0x14238d267557e9d799016ad635b53cd15935d290";
|
|
@@ -9358,7 +9915,7 @@ declare const hubVaults: {
|
|
|
9358
9915
|
};
|
|
9359
9916
|
readonly sodaBTC: {
|
|
9360
9917
|
readonly address: "0x7a1a5555842ad2d0ed274d09b5c4406a95799d5d";
|
|
9361
|
-
readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905"];
|
|
9918
|
+
readonly reserves: ["0x2803a23a3ba6b09e57d1c71dec0d9efdbb00a27f", "0xfb0acb1b2720b620935f50a6dd3f7fea52b2fcbe", "0x96fc8540736f1598b7e235e6de8814062b3b5d3b", "0xd8a24c71fea5bb81c66c01e532de7d9b11e13905", "0x03E99853C6376b13a4c6e4d0A115F1639c9FA14e"];
|
|
9362
9919
|
};
|
|
9363
9920
|
readonly sodaSUI: {
|
|
9364
9921
|
readonly address: "0xdc5b4b00f98347e95b9f94911213dab4c687e1e3";
|
|
@@ -9382,87 +9939,104 @@ declare const hubVaults: {
|
|
|
9382
9939
|
};
|
|
9383
9940
|
readonly sodaUSDC: {
|
|
9384
9941
|
readonly address: "0xabbb91c0617090f0028bdc27597cd0d038f3a833";
|
|
9385
|
-
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"];
|
|
9386
9943
|
};
|
|
9387
9944
|
};
|
|
9945
|
+
declare const hubVaultTokensMap: Map<string, Token>;
|
|
9946
|
+
declare const getHubVaultTokenByAddress: (address: string) => Token | undefined;
|
|
9388
9947
|
declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
|
|
9389
9948
|
declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "stellar")[];
|
|
9390
9949
|
declare const bnUSDLegacyTokens: readonly [{
|
|
9391
|
-
readonly symbol: "bnUSD";
|
|
9950
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9392
9951
|
readonly name: "bnUSD";
|
|
9393
9952
|
readonly decimals: 18;
|
|
9394
9953
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
9954
|
+
readonly xChainId: "0x1.icon";
|
|
9395
9955
|
}, {
|
|
9396
|
-
readonly symbol: "bnUSD";
|
|
9956
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9397
9957
|
readonly name: "legacybnUSD";
|
|
9398
9958
|
readonly decimals: 9;
|
|
9399
9959
|
readonly address: "0x03917a812fe4a6d6bc779c5ab53f8a80ba741f8af04121193fc44e0f662e2ceb::balanced_dollar::BALANCED_DOLLAR";
|
|
9960
|
+
readonly xChainId: "sui";
|
|
9400
9961
|
}, {
|
|
9401
|
-
readonly symbol: "bnUSD";
|
|
9962
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9402
9963
|
readonly name: "legacybnUSD";
|
|
9403
9964
|
readonly decimals: 18;
|
|
9404
9965
|
readonly address: "CCT4ZYIYZ3TUO2AWQFEOFGBZ6HQP3GW5TA37CK7CRZVFRDXYTHTYX7KP";
|
|
9966
|
+
readonly xChainId: "stellar";
|
|
9405
9967
|
}];
|
|
9406
9968
|
declare const bnUSDNewTokens: ({
|
|
9407
9969
|
readonly symbol: "bnUSD";
|
|
9408
|
-
readonly name: "
|
|
9970
|
+
readonly name: "Balanced Dollar";
|
|
9409
9971
|
readonly decimals: 18;
|
|
9410
9972
|
readonly address: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
9973
|
+
readonly xChainId: "sonic";
|
|
9411
9974
|
} | {
|
|
9412
9975
|
readonly symbol: "bnUSD";
|
|
9413
9976
|
readonly name: "bnUSD";
|
|
9414
9977
|
readonly decimals: 9;
|
|
9415
9978
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
9979
|
+
readonly xChainId: "solana";
|
|
9416
9980
|
} | {
|
|
9417
9981
|
readonly symbol: "bnUSD";
|
|
9418
9982
|
readonly name: "bnUSD";
|
|
9419
9983
|
readonly decimals: 18;
|
|
9420
9984
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
9985
|
+
readonly xChainId: "0xa86a.avax";
|
|
9421
9986
|
} | {
|
|
9422
9987
|
readonly symbol: "bnUSD";
|
|
9423
9988
|
readonly name: "bnUSD";
|
|
9424
9989
|
readonly decimals: 18;
|
|
9425
9990
|
readonly address: "0x043fb7e23350Dd5b77dE5E228B528763DEcb9131";
|
|
9991
|
+
readonly xChainId: "nibiru";
|
|
9426
9992
|
} | {
|
|
9427
9993
|
readonly symbol: "bnUSD";
|
|
9428
9994
|
readonly name: "bnUSD";
|
|
9429
9995
|
readonly decimals: 18;
|
|
9430
9996
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
9997
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9431
9998
|
} | {
|
|
9432
9999
|
readonly symbol: "bnUSD";
|
|
9433
10000
|
readonly name: "bnUSD";
|
|
9434
10001
|
readonly decimals: 18;
|
|
9435
10002
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
10003
|
+
readonly xChainId: "0x2105.base";
|
|
9436
10004
|
} | {
|
|
9437
10005
|
readonly symbol: "bnUSD";
|
|
9438
10006
|
readonly name: "bnUSD";
|
|
9439
10007
|
readonly decimals: 18;
|
|
9440
10008
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
10009
|
+
readonly xChainId: "0xa.optimism";
|
|
9441
10010
|
} | {
|
|
9442
10011
|
readonly symbol: "bnUSD";
|
|
9443
10012
|
readonly name: "bnUSD";
|
|
9444
10013
|
readonly decimals: 18;
|
|
9445
10014
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
10015
|
+
readonly xChainId: "0x38.bsc";
|
|
9446
10016
|
} | {
|
|
9447
10017
|
readonly symbol: "bnUSD";
|
|
9448
10018
|
readonly name: "bnUSD";
|
|
9449
10019
|
readonly decimals: 18;
|
|
9450
10020
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
10021
|
+
readonly xChainId: "0x89.polygon";
|
|
9451
10022
|
} | {
|
|
9452
10023
|
readonly symbol: "bnUSD";
|
|
9453
10024
|
readonly name: "bnUSD";
|
|
9454
10025
|
readonly decimals: 18;
|
|
9455
10026
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
10027
|
+
readonly xChainId: "injective-1";
|
|
9456
10028
|
} | {
|
|
9457
10029
|
readonly symbol: "bnUSD";
|
|
9458
10030
|
readonly name: "bnUSD";
|
|
9459
10031
|
readonly decimals: 7;
|
|
9460
10032
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
10033
|
+
readonly xChainId: "stellar";
|
|
9461
10034
|
} | {
|
|
9462
10035
|
readonly symbol: "bnUSD";
|
|
9463
10036
|
readonly name: "bnUSD";
|
|
9464
10037
|
readonly decimals: 9;
|
|
9465
10038
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
10039
|
+
readonly xChainId: "sui";
|
|
9466
10040
|
})[];
|
|
9467
10041
|
declare const isLegacybnUSDChainId: (chainId: SpokeChainId) => boolean;
|
|
9468
10042
|
declare const isNewbnUSDChainId: (chainId: SpokeChainId) => boolean;
|
|
@@ -9472,7 +10046,7 @@ declare const getAllLegacybnUSDTokens: () => {
|
|
|
9472
10046
|
token: LegacybnUSDToken;
|
|
9473
10047
|
chainId: LegacybnUSDChainId;
|
|
9474
10048
|
}[];
|
|
9475
|
-
declare const hubAssets: Record<SpokeChainId, Record<
|
|
10049
|
+
declare const hubAssets: Record<SpokeChainId, Record<string, {
|
|
9476
10050
|
asset: Address;
|
|
9477
10051
|
decimal: number;
|
|
9478
10052
|
vault: Address;
|
|
@@ -9490,196 +10064,233 @@ declare const moneyMarketSupportedTokens: {
|
|
|
9490
10064
|
readonly name: "Avalanche";
|
|
9491
10065
|
readonly decimals: 18;
|
|
9492
10066
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10067
|
+
readonly xChainId: "0xa86a.avax";
|
|
9493
10068
|
}, {
|
|
9494
10069
|
readonly symbol: "USDT";
|
|
9495
10070
|
readonly name: "Tether USD";
|
|
9496
10071
|
readonly decimals: 6;
|
|
9497
10072
|
readonly address: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7";
|
|
10073
|
+
readonly xChainId: "0xa86a.avax";
|
|
9498
10074
|
}, {
|
|
9499
10075
|
readonly symbol: "USDC";
|
|
9500
10076
|
readonly name: "USD Coin";
|
|
9501
10077
|
readonly decimals: 6;
|
|
9502
10078
|
readonly address: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E";
|
|
10079
|
+
readonly xChainId: "0xa86a.avax";
|
|
9503
10080
|
}, {
|
|
9504
10081
|
readonly symbol: "bnUSD";
|
|
9505
10082
|
readonly name: "bnUSD";
|
|
9506
10083
|
readonly decimals: 18;
|
|
9507
10084
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
10085
|
+
readonly xChainId: "0xa86a.avax";
|
|
9508
10086
|
}];
|
|
9509
10087
|
readonly "0xa4b1.arbitrum": readonly [{
|
|
9510
10088
|
readonly symbol: "ETH";
|
|
9511
10089
|
readonly name: "Ethereum";
|
|
9512
10090
|
readonly decimals: 18;
|
|
9513
10091
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10092
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9514
10093
|
}, {
|
|
9515
10094
|
readonly symbol: "bnUSD";
|
|
9516
10095
|
readonly name: "bnUSD";
|
|
9517
10096
|
readonly decimals: 18;
|
|
9518
10097
|
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
10098
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9519
10099
|
}, {
|
|
9520
10100
|
readonly symbol: "WBTC";
|
|
9521
10101
|
readonly name: "Wrapped BTC";
|
|
9522
10102
|
readonly decimals: 8;
|
|
9523
10103
|
readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
|
|
10104
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9524
10105
|
}, {
|
|
9525
10106
|
readonly symbol: "tBTC";
|
|
9526
10107
|
readonly name: "Arbitrum tBTC v2";
|
|
9527
10108
|
readonly decimals: 18;
|
|
9528
10109
|
readonly address: "0x6c84a8f1c29108F47a79964b5Fe888D4f4D0dE40";
|
|
10110
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9529
10111
|
}, {
|
|
9530
10112
|
readonly symbol: "USDT";
|
|
9531
10113
|
readonly name: "TetherToken";
|
|
9532
10114
|
readonly decimals: 6;
|
|
9533
10115
|
readonly address: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
|
|
10116
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9534
10117
|
}, {
|
|
9535
10118
|
readonly symbol: "USDC";
|
|
9536
10119
|
readonly name: "USD Coin (USDC)";
|
|
9537
10120
|
readonly decimals: 6;
|
|
9538
10121
|
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
10122
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
9539
10123
|
}];
|
|
9540
10124
|
readonly "0x2105.base": readonly [{
|
|
9541
10125
|
readonly symbol: "ETH";
|
|
9542
10126
|
readonly name: "Ethereum";
|
|
9543
10127
|
readonly decimals: 18;
|
|
9544
10128
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10129
|
+
readonly xChainId: "0x2105.base";
|
|
9545
10130
|
}, {
|
|
9546
10131
|
readonly symbol: "bnUSD";
|
|
9547
10132
|
readonly name: "bnUSD";
|
|
9548
10133
|
readonly decimals: 18;
|
|
9549
10134
|
readonly address: "0xAcfab3F31C0a18559D78556BBf297EC29c6cf8aa";
|
|
10135
|
+
readonly xChainId: "0x2105.base";
|
|
9550
10136
|
}, {
|
|
9551
10137
|
readonly symbol: "USDC";
|
|
9552
10138
|
readonly name: "USD Coin";
|
|
9553
10139
|
readonly decimals: 6;
|
|
9554
10140
|
readonly address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
10141
|
+
readonly xChainId: "0x2105.base";
|
|
9555
10142
|
}, {
|
|
9556
10143
|
readonly symbol: "cbBTC";
|
|
9557
10144
|
readonly name: "Coinbase Wrapped BTC";
|
|
9558
10145
|
readonly decimals: 8;
|
|
9559
10146
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
10147
|
+
readonly xChainId: "0x2105.base";
|
|
9560
10148
|
}];
|
|
9561
10149
|
readonly "0xa.optimism": readonly [{
|
|
9562
10150
|
readonly symbol: "ETH";
|
|
9563
10151
|
readonly name: "Ethereum";
|
|
9564
10152
|
readonly decimals: 18;
|
|
9565
10153
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10154
|
+
readonly xChainId: "0xa.optimism";
|
|
9566
10155
|
}, {
|
|
9567
10156
|
readonly symbol: "bnUSD";
|
|
9568
10157
|
readonly name: "bnUSD";
|
|
9569
10158
|
readonly decimals: 18;
|
|
9570
10159
|
readonly address: "0xF4f7dC27c17470a26d0de9039Cf0EA5045F100E8";
|
|
10160
|
+
readonly xChainId: "0xa.optimism";
|
|
9571
10161
|
}, {
|
|
9572
10162
|
readonly symbol: "USDC";
|
|
9573
10163
|
readonly name: "USD Coin";
|
|
9574
10164
|
readonly decimals: 6;
|
|
9575
10165
|
readonly address: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
|
|
10166
|
+
readonly xChainId: "0xa.optimism";
|
|
9576
10167
|
}, {
|
|
9577
10168
|
readonly symbol: "USDT";
|
|
9578
10169
|
readonly name: "Tether USD";
|
|
9579
10170
|
readonly decimals: 6;
|
|
9580
10171
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
10172
|
+
readonly xChainId: "0xa.optimism";
|
|
9581
10173
|
}];
|
|
9582
10174
|
readonly "0x89.polygon": readonly [{
|
|
9583
10175
|
readonly symbol: "POL";
|
|
9584
10176
|
readonly name: "Polygon";
|
|
9585
10177
|
readonly decimals: 18;
|
|
9586
10178
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10179
|
+
readonly xChainId: "0x89.polygon";
|
|
9587
10180
|
}, {
|
|
9588
10181
|
readonly symbol: "bnUSD";
|
|
9589
10182
|
readonly name: "bnUSD";
|
|
9590
10183
|
readonly decimals: 18;
|
|
9591
10184
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
10185
|
+
readonly xChainId: "0x89.polygon";
|
|
9592
10186
|
}, {
|
|
9593
10187
|
readonly symbol: "USDC";
|
|
9594
10188
|
readonly name: "USD Coin";
|
|
9595
10189
|
readonly decimals: 6;
|
|
9596
10190
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
10191
|
+
readonly xChainId: "0x89.polygon";
|
|
9597
10192
|
}];
|
|
9598
10193
|
readonly "0x38.bsc": readonly [{
|
|
9599
10194
|
readonly symbol: "BNB";
|
|
9600
10195
|
readonly name: "BNB";
|
|
9601
10196
|
readonly decimals: 18;
|
|
9602
10197
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10198
|
+
readonly xChainId: "0x38.bsc";
|
|
9603
10199
|
}, {
|
|
9604
10200
|
readonly symbol: "ETHB";
|
|
9605
10201
|
readonly name: "Ethereum BSC";
|
|
9606
10202
|
readonly decimals: 18;
|
|
9607
10203
|
readonly address: "0x2170Ed0880ac9A755fd29B2688956BD959F933F8";
|
|
10204
|
+
readonly xChainId: "0x38.bsc";
|
|
9608
10205
|
}, {
|
|
9609
10206
|
readonly symbol: "BTCB";
|
|
9610
10207
|
readonly name: "Bitcoin BSC";
|
|
9611
10208
|
readonly decimals: 18;
|
|
9612
10209
|
readonly address: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c";
|
|
10210
|
+
readonly xChainId: "0x38.bsc";
|
|
9613
10211
|
}, {
|
|
9614
10212
|
readonly symbol: "bnUSD";
|
|
9615
10213
|
readonly name: "bnUSD";
|
|
9616
10214
|
readonly decimals: 18;
|
|
9617
10215
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
10216
|
+
readonly xChainId: "0x38.bsc";
|
|
9618
10217
|
}];
|
|
9619
10218
|
readonly solana: readonly [{
|
|
9620
10219
|
readonly symbol: "SOL";
|
|
9621
10220
|
readonly name: "Solana";
|
|
9622
10221
|
readonly decimals: 9;
|
|
9623
10222
|
readonly address: "11111111111111111111111111111111";
|
|
10223
|
+
readonly xChainId: "solana";
|
|
9624
10224
|
}, {
|
|
9625
10225
|
readonly symbol: "bnUSD";
|
|
9626
10226
|
readonly name: "bnUSD";
|
|
9627
10227
|
readonly decimals: 9;
|
|
9628
10228
|
readonly address: "3rSPCLNEF7Quw4wX8S1NyKivELoyij8eYA2gJwBgt4V5";
|
|
10229
|
+
readonly xChainId: "solana";
|
|
9629
10230
|
}, {
|
|
9630
10231
|
readonly symbol: "USDC";
|
|
9631
10232
|
readonly name: "USD Coin";
|
|
9632
10233
|
readonly decimals: 6;
|
|
9633
10234
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
10235
|
+
readonly xChainId: "solana";
|
|
9634
10236
|
}];
|
|
9635
10237
|
readonly "0x1.icon": readonly [{
|
|
9636
|
-
readonly symbol: "bnUSD";
|
|
10238
|
+
readonly symbol: "bnUSD (legacy)";
|
|
9637
10239
|
readonly name: "bnUSD";
|
|
9638
10240
|
readonly decimals: 18;
|
|
9639
10241
|
readonly address: "cx88fd7df7ddff82f7cc735c871dc519838cb235bb";
|
|
10242
|
+
readonly xChainId: "0x1.icon";
|
|
9640
10243
|
}];
|
|
9641
10244
|
readonly stellar: readonly [{
|
|
9642
10245
|
readonly symbol: "XLM";
|
|
9643
10246
|
readonly name: "Stellar Lumens";
|
|
9644
10247
|
readonly decimals: 7;
|
|
9645
10248
|
readonly address: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
10249
|
+
readonly xChainId: "stellar";
|
|
9646
10250
|
}, {
|
|
9647
10251
|
readonly symbol: "bnUSD";
|
|
9648
10252
|
readonly name: "bnUSD";
|
|
9649
10253
|
readonly decimals: 7;
|
|
9650
10254
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
10255
|
+
readonly xChainId: "stellar";
|
|
9651
10256
|
}];
|
|
9652
10257
|
readonly sui: readonly [{
|
|
9653
10258
|
readonly symbol: "SUI";
|
|
9654
10259
|
readonly name: "SUI";
|
|
9655
10260
|
readonly decimals: 9;
|
|
9656
10261
|
readonly address: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
10262
|
+
readonly xChainId: "sui";
|
|
9657
10263
|
}, {
|
|
9658
10264
|
readonly symbol: "bnUSD";
|
|
9659
10265
|
readonly name: "bnUSD";
|
|
9660
10266
|
readonly decimals: 9;
|
|
9661
10267
|
readonly address: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
10268
|
+
readonly xChainId: "sui";
|
|
9662
10269
|
}, {
|
|
9663
10270
|
readonly symbol: "USDC";
|
|
9664
10271
|
readonly name: "USD Coin";
|
|
9665
10272
|
readonly decimals: 6;
|
|
9666
10273
|
readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
10274
|
+
readonly xChainId: "sui";
|
|
9667
10275
|
}];
|
|
9668
10276
|
readonly "injective-1": readonly [{
|
|
9669
10277
|
readonly symbol: "INJ";
|
|
9670
10278
|
readonly name: "Injective";
|
|
9671
10279
|
readonly decimals: 18;
|
|
9672
10280
|
readonly address: "inj";
|
|
10281
|
+
readonly xChainId: "injective-1";
|
|
9673
10282
|
}, {
|
|
9674
10283
|
readonly symbol: "bnUSD";
|
|
9675
10284
|
readonly name: "bnUSD";
|
|
9676
10285
|
readonly decimals: 18;
|
|
9677
10286
|
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/bnUSD";
|
|
10287
|
+
readonly xChainId: "injective-1";
|
|
9678
10288
|
}, {
|
|
9679
10289
|
readonly symbol: "USDC";
|
|
9680
10290
|
readonly name: "USD Coin";
|
|
9681
10291
|
readonly decimals: 6;
|
|
9682
10292
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
10293
|
+
readonly xChainId: "injective-1";
|
|
9683
10294
|
}];
|
|
9684
10295
|
readonly nibiru: readonly [];
|
|
9685
10296
|
readonly sonic: readonly [{
|
|
@@ -9687,26 +10298,31 @@ declare const moneyMarketSupportedTokens: {
|
|
|
9687
10298
|
readonly name: "Sonic";
|
|
9688
10299
|
readonly decimals: 18;
|
|
9689
10300
|
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10301
|
+
readonly xChainId: "sonic";
|
|
9690
10302
|
}, {
|
|
9691
10303
|
readonly symbol: "WETH";
|
|
9692
10304
|
readonly name: "Wrapped Ether";
|
|
9693
10305
|
readonly decimals: 18;
|
|
9694
10306
|
readonly address: "0x50c42dEAcD8Fc9773493ED674b675bE577f2634b";
|
|
10307
|
+
readonly xChainId: "sonic";
|
|
9695
10308
|
}, {
|
|
9696
10309
|
readonly symbol: "USDC";
|
|
9697
10310
|
readonly name: "USD Coin";
|
|
9698
10311
|
readonly decimals: 6;
|
|
9699
10312
|
readonly address: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894";
|
|
10313
|
+
readonly xChainId: "sonic";
|
|
9700
10314
|
}, {
|
|
9701
10315
|
readonly symbol: "USDT";
|
|
9702
10316
|
readonly name: "Tether USD";
|
|
9703
10317
|
readonly decimals: 6;
|
|
9704
10318
|
readonly address: "0x6047828dc181963ba44974801FF68e538dA5eaF9";
|
|
10319
|
+
readonly xChainId: "sonic";
|
|
9705
10320
|
}, {
|
|
9706
10321
|
readonly symbol: "wS";
|
|
9707
10322
|
readonly name: "Wrapped Sonic";
|
|
9708
10323
|
readonly decimals: 18;
|
|
9709
10324
|
readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
10325
|
+
readonly xChainId: "sonic";
|
|
9710
10326
|
}];
|
|
9711
10327
|
};
|
|
9712
10328
|
declare const isMoneyMarketSupportedToken: (chainId: SpokeChainId, token: string) => boolean;
|
|
@@ -9720,18 +10336,22 @@ declare const originalAssetTohubAssetMap: Map<SpokeChainId, Map<OriginalAssetAdd
|
|
|
9720
10336
|
declare const hubAssetToOriginalAssetMap: Map<SpokeChainId, Map<Address, OriginalAssetAddress>>;
|
|
9721
10337
|
declare const chainIdToHubAssetsMap: Map<SpokeChainId, Map<Address, HubAssetInfo>>;
|
|
9722
10338
|
declare const supportedHubAssets: Set<Address>;
|
|
10339
|
+
declare const supportedSodaAssets: Set<Address>;
|
|
9723
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[];
|
|
9724
10342
|
declare const getHubAssetInfo: (chainId: SpokeChainId, asset: OriginalAssetAddress) => HubAssetInfo | undefined;
|
|
9725
10343
|
declare const isValidOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => boolean;
|
|
9726
10344
|
declare const getOriginalAssetAddress: (chainId: SpokeChainId, hubAsset: Address) => OriginalAssetAddress | undefined;
|
|
10345
|
+
declare const getOriginalTokenFromOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => XToken | undefined;
|
|
9727
10346
|
declare const isValidHubAsset: (hubAsset: Address) => boolean;
|
|
10347
|
+
declare const isValidVault: (vault: Address) => boolean;
|
|
9728
10348
|
declare const isValidChainHubAsset: (chainId: SpokeChainId, hubAsset: Address) => boolean;
|
|
9729
10349
|
declare const isValidSpokeChainId: (chainId: SpokeChainId) => boolean;
|
|
9730
10350
|
declare const isValidIntentRelayChainId: (chainId: bigint) => boolean;
|
|
9731
10351
|
declare const supportedHubChains: HubChainId[];
|
|
9732
10352
|
declare const supportedSpokeChains: SpokeChainId[];
|
|
9733
10353
|
declare const intentRelayChainIdToSpokeChainIdMap: Map<IntentRelayChainId, SpokeChainId>;
|
|
9734
|
-
declare const supportedTokensPerChain: Map<SpokeChainId, readonly
|
|
10354
|
+
declare const supportedTokensPerChain: Map<SpokeChainId, readonly XToken[]>;
|
|
9735
10355
|
declare const getSpokeChainIdFromIntentRelayChainId: (intentRelayChainId: IntentRelayChainId) => SpokeChainId;
|
|
9736
10356
|
declare const isNativeToken: (chainId: SpokeChainId, token: Token | string) => boolean;
|
|
9737
10357
|
|
|
@@ -9777,4 +10397,4 @@ declare function isUnifiedBnUSDMigrateParams(value: unknown): value is UnifiedBn
|
|
|
9777
10397
|
declare function isBalnMigrateParams(value: unknown): value is BalnMigrateParams;
|
|
9778
10398
|
declare function isIcxCreateRevertMigrationParams(value: unknown): value is IcxCreateRevertMigrationParams;
|
|
9779
10399
|
|
|
9780
|
-
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, SuiSpokeProvider, 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 };
|