@sodax/sdk 0.0.1-rc.35 → 0.0.1-rc.36
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 -1
- package/dist/index.cjs +169 -36
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +197 -11
- package/dist/index.d.ts +197 -11
- package/dist/index.mjs +171 -39
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as viem from 'viem';
|
|
1
2
|
import { Address, Hex, PublicClient, HttpTransport, Hash, GetLogsReturnType, TransactionReceipt, WalletClient, CustomTransport, Chain, Account } from 'viem';
|
|
2
3
|
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
4
|
export * from '@sodax/types';
|
|
@@ -6194,7 +6195,6 @@ declare class SuiSpokeProvider implements ISpokeProvider {
|
|
|
6194
6195
|
sendMessage<R extends boolean = false>(dst_chain_id: bigint, dst_address: Uint8Array, data: Uint8Array, raw?: R): PromiseSuiTxReturnType<R>;
|
|
6195
6196
|
configureAssetManagerHub(hubNetworkId: number, hubAssetManager: Uint8Array): Promise<string>;
|
|
6196
6197
|
getWalletAddress(): Promise<string>;
|
|
6197
|
-
getWalletAddressBytes(): Promise<Hex>;
|
|
6198
6198
|
static getAddressBCSBytes(suiaddress: string): Hex;
|
|
6199
6199
|
getAssetManagerAddress(): Promise<string>;
|
|
6200
6200
|
}
|
|
@@ -7309,7 +7309,7 @@ declare class MigrationService {
|
|
|
7309
7309
|
* spokeProvider
|
|
7310
7310
|
* );
|
|
7311
7311
|
*/
|
|
7312
|
-
createMigratebnUSDIntent<S extends SpokeProvider, R extends boolean = false>(params: UnifiedBnUSDMigrateParams, spokeProvider: S, unchecked?: boolean, raw?: R): Promise<Result<TxReturnType<S, R>, MigrationError<'CREATE_MIGRATION_INTENT_FAILED'>>>;
|
|
7312
|
+
createMigratebnUSDIntent<S extends SpokeProvider, R extends boolean = false>(params: UnifiedBnUSDMigrateParams, spokeProvider: S, unchecked?: boolean, raw?: R): Promise<Result<[TxReturnType<S, R>, RelayExtraData], MigrationError<'CREATE_MIGRATION_INTENT_FAILED'>>>;
|
|
7313
7313
|
/**
|
|
7314
7314
|
* Creates a migration of ICX to SODA intent on spoke chain (icon).
|
|
7315
7315
|
* This function handles the migration of ICX or wICX tokens to SODA tokens on the hub chain.
|
|
@@ -8468,6 +8468,13 @@ type OptionalRaw<R extends boolean = false> = {
|
|
|
8468
8468
|
type OptionalTimeout = {
|
|
8469
8469
|
timeout?: number;
|
|
8470
8470
|
};
|
|
8471
|
+
type RelayExtraData = {
|
|
8472
|
+
address: Hex$1;
|
|
8473
|
+
payload: Hex$1;
|
|
8474
|
+
};
|
|
8475
|
+
type RelayOptionalExtraData = {
|
|
8476
|
+
data?: RelayExtraData;
|
|
8477
|
+
};
|
|
8471
8478
|
|
|
8472
8479
|
declare function getIconAddressBytes(address: string): Hex;
|
|
8473
8480
|
|
|
@@ -9175,13 +9182,47 @@ declare const INTENT_RELAY_CHAIN_IDS: {
|
|
|
9175
9182
|
readonly POLYGON: 5n;
|
|
9176
9183
|
readonly ARBITRUM: 23n;
|
|
9177
9184
|
readonly NIBIRU: 7235938n;
|
|
9185
|
+
readonly HYPER: 26745n;
|
|
9178
9186
|
};
|
|
9179
|
-
declare const EVM_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "0x2105.base", "0x38.bsc", "sonic", "0xa.optimism", "0x89.polygon", "nibiru"];
|
|
9180
|
-
declare const EVM_SPOKE_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "0x2105.base", "0x38.bsc", "0xa.optimism", "0x89.polygon", "nibiru", "sonic"];
|
|
9187
|
+
declare const EVM_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "0x2105.base", "0x38.bsc", "sonic", "0xa.optimism", "0x89.polygon", "nibiru", "hyper"];
|
|
9188
|
+
declare const EVM_SPOKE_CHAIN_IDS: readonly ["0xa86a.avax", "0xa4b1.arbitrum", "0x2105.base", "0x38.bsc", "0xa.optimism", "0x89.polygon", "nibiru", "sonic", "hyper"];
|
|
9181
9189
|
declare const ChainIdToIntentRelayChainId: Record<ChainId, IntentRelayChainId>;
|
|
9182
9190
|
declare const getIntentRelayChainId: (chainId: ChainId) => IntentRelayChainId;
|
|
9191
|
+
declare const hyper: {
|
|
9192
|
+
blockExplorers: {
|
|
9193
|
+
readonly default: {
|
|
9194
|
+
readonly name: "HyperEVMScan";
|
|
9195
|
+
readonly url: "https://hyperevmscan.io/";
|
|
9196
|
+
};
|
|
9197
|
+
};
|
|
9198
|
+
contracts: {
|
|
9199
|
+
readonly multicall3: {
|
|
9200
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
9201
|
+
readonly blockCreated: 13051;
|
|
9202
|
+
};
|
|
9203
|
+
};
|
|
9204
|
+
ensTlds?: readonly string[] | undefined;
|
|
9205
|
+
id: 999;
|
|
9206
|
+
name: "HyperEVM";
|
|
9207
|
+
nativeCurrency: {
|
|
9208
|
+
readonly decimals: 18;
|
|
9209
|
+
readonly name: "HYPE";
|
|
9210
|
+
readonly symbol: "HYPE";
|
|
9211
|
+
};
|
|
9212
|
+
rpcUrls: {
|
|
9213
|
+
readonly default: {
|
|
9214
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
9215
|
+
};
|
|
9216
|
+
};
|
|
9217
|
+
sourceId?: number | undefined;
|
|
9218
|
+
testnet?: boolean | undefined;
|
|
9219
|
+
custom?: Record<string, unknown> | undefined;
|
|
9220
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
9221
|
+
formatters?: undefined;
|
|
9222
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
9223
|
+
};
|
|
9183
9224
|
declare function getEvmViemChain(id: EvmChainId): Chain;
|
|
9184
|
-
declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD"];
|
|
9225
|
+
declare const HubVaultSymbols: readonly ["sodaAVAX", "sodaBNB", "sodaETH", "sodaBTC", "sodaSUI", "sodaINJ", "sodaXLM", "sodaSOL", "sodaSODA", "sodaUSDT", "sodaUSDC", "bnUSD", "sodaPOL", "sodaNIBI", "sodaS", "IbnUSD", "sodaHYPE"];
|
|
9185
9226
|
type HubVaultSymbol = (typeof HubVaultSymbols)[number];
|
|
9186
9227
|
declare const SodaTokens: {
|
|
9187
9228
|
readonly sodaBNB: {
|
|
@@ -9296,6 +9337,13 @@ declare const SodaTokens: {
|
|
|
9296
9337
|
readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
9297
9338
|
readonly xChainId: "sonic";
|
|
9298
9339
|
};
|
|
9340
|
+
readonly sodaHYPE: {
|
|
9341
|
+
readonly symbol: "sodaHYPE";
|
|
9342
|
+
readonly name: "Soda HYPE";
|
|
9343
|
+
readonly decimals: 18;
|
|
9344
|
+
readonly address: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
9345
|
+
readonly xChainId: "sonic";
|
|
9346
|
+
};
|
|
9299
9347
|
};
|
|
9300
9348
|
declare const SodaTokensAsHubAssets: Record<string, {
|
|
9301
9349
|
asset: Address;
|
|
@@ -9433,6 +9481,13 @@ declare const spokeChainConfig: {
|
|
|
9433
9481
|
readonly address: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
9434
9482
|
readonly xChainId: "sonic";
|
|
9435
9483
|
};
|
|
9484
|
+
readonly sodaHYPE: {
|
|
9485
|
+
readonly symbol: "sodaHYPE";
|
|
9486
|
+
readonly name: "Soda HYPE";
|
|
9487
|
+
readonly decimals: 18;
|
|
9488
|
+
readonly address: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
9489
|
+
readonly xChainId: "sonic";
|
|
9490
|
+
};
|
|
9436
9491
|
readonly S: {
|
|
9437
9492
|
readonly symbol: "S";
|
|
9438
9493
|
readonly name: "Sonic";
|
|
@@ -9918,6 +9973,42 @@ declare const spokeChainConfig: {
|
|
|
9918
9973
|
};
|
|
9919
9974
|
};
|
|
9920
9975
|
};
|
|
9976
|
+
readonly hyper: {
|
|
9977
|
+
readonly chain: {
|
|
9978
|
+
readonly name: "HyperEVM";
|
|
9979
|
+
readonly id: "hyper";
|
|
9980
|
+
readonly type: "EVM";
|
|
9981
|
+
};
|
|
9982
|
+
readonly addresses: {
|
|
9983
|
+
readonly assetManager: "0xAfd6A6e4287A511D3BAAd013093815268846FBb7";
|
|
9984
|
+
readonly connection: "0xA143488cDc5B74B366231E6A4d5a55A2D9Dc8484";
|
|
9985
|
+
};
|
|
9986
|
+
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
9987
|
+
readonly bnUSD: "0x506Ba7C8d91dAdf7a91eE677a205D9687b751579";
|
|
9988
|
+
readonly supportedTokens: {
|
|
9989
|
+
readonly HYPE: {
|
|
9990
|
+
readonly symbol: "HYPE";
|
|
9991
|
+
readonly name: "HYPE";
|
|
9992
|
+
readonly decimals: 18;
|
|
9993
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
9994
|
+
readonly xChainId: "hyper";
|
|
9995
|
+
};
|
|
9996
|
+
readonly bnUSD: {
|
|
9997
|
+
readonly symbol: "bnUSD";
|
|
9998
|
+
readonly name: "bnUSD";
|
|
9999
|
+
readonly decimals: 18;
|
|
10000
|
+
readonly address: "0x506Ba7C8d91dAdf7a91eE677a205D9687b751579";
|
|
10001
|
+
readonly xChainId: "hyper";
|
|
10002
|
+
};
|
|
10003
|
+
readonly SODA: {
|
|
10004
|
+
readonly symbol: "SODA";
|
|
10005
|
+
readonly name: "SODAX";
|
|
10006
|
+
readonly decimals: 18;
|
|
10007
|
+
readonly address: "0xA28C70F92a1B2513edCdDD29c2E5195a4B785aB2";
|
|
10008
|
+
readonly xChainId: "hyper";
|
|
10009
|
+
};
|
|
10010
|
+
};
|
|
10011
|
+
};
|
|
9921
10012
|
readonly "injective-1": {
|
|
9922
10013
|
readonly addresses: {
|
|
9923
10014
|
readonly assetManager: "inj1dg6tm62uup53wn2kn97caeqfwt0sukx3qjk8rw";
|
|
@@ -10196,11 +10287,11 @@ declare const hubVaults: {
|
|
|
10196
10287
|
};
|
|
10197
10288
|
readonly bnUSD: {
|
|
10198
10289
|
readonly address: "0xe801ca34e19abcbfea12025378d19c4fbe250131";
|
|
10199
|
-
readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51", "0xD1d14BF3324C901855A1f7d0d5CA4c8458D2a780"];
|
|
10290
|
+
readonly reserves: ["0xabbb91c0617090f0028bdc27597cd0d038f3a833", "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876", "0x94dc79ce9c515ba4ae4d195da8e6ab86c69bfc38", "0x5ce6c1c51ff762cf3acd21396257046f694168b6", "0xdf5639d91359866f266b56d60d98ede9feedd100", "0x238384ae2b4f0ec189ecb5031859ba306b2679c5", "0x419ca9054e44e94ceab52846ecdc3997439bbca6", "0x18f85f9e80ff9496eebd5979a051af16ce751567", "0x289cda1043b4ce26bdca3c12e534f56b24308a5b", "0x23225ab8e63fca4070296678cb46566d57e1bbe3", "0x14c65b1cdc0b821569081b1f77342da0d0cbf439", "0xdf23097b9aeb917bf8fb70e99b6c528fffa35364", "0x11b93c162aabffd026539bb3b9f9ec22c8b7ef8a", "0x69425ffb14704124a58d6f69d510f74a59d9a5bc", "0x9d4b663eb075d2a1c7b8eaefb9eccc0510388b51", "0xD1d14BF3324C901855A1f7d0d5CA4c8458D2a780", "0x19feaf3043dfa69b365d05495630e840a2b9a9dc"];
|
|
10200
10291
|
};
|
|
10201
10292
|
readonly sodaSODA: {
|
|
10202
10293
|
readonly address: "0x21685e341de7844135329914be6bd8d16982d834";
|
|
10203
|
-
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963", "0xf51d7082375cdca8C19C74e1A0c77dA482aFDa4e", "0x93a367E5B37a1B9E8D04ef25a6Af40d181a3DfFF", "0x17fF8Ad5EBe6CA8B15751067cD0c89f0E580CD17", "0x4d12c72A8633588097D10e57b559ed642588e4C6", "0x26cd76cB5622Dc8638670A16E0Da5a51394A8DB1", "0x0eD0d274dC77ef460DC96b9fBaFF3EDB074e0471", "0x8D78A620E009Ba751Eb40d77A5e9Db48A3F2016b", "0x4Cf5Ce9594AEDdc5D3efe9d4Cdf0b944b4e73A53", "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc", "0x07Db7b1a96ebE474B20F52fF487cEE415adee79e", "0x20Ce75CdcEe44B1308365447b91B9c26e2b71Ffd", "0x5Db9CEc919f40C50809D9490DC3BbA4F05b0a1D7", "0x655730024B673B3378CD6031B1Cd01eaE9afb138"];
|
|
10294
|
+
readonly reserves: ["0x7c7d53eecda37a87ce0d5bf8e0b24512a48dc963", "0xf51d7082375cdca8C19C74e1A0c77dA482aFDa4e", "0x93a367E5B37a1B9E8D04ef25a6Af40d181a3DfFF", "0x17fF8Ad5EBe6CA8B15751067cD0c89f0E580CD17", "0x4d12c72A8633588097D10e57b559ed642588e4C6", "0x26cd76cB5622Dc8638670A16E0Da5a51394A8DB1", "0x0eD0d274dC77ef460DC96b9fBaFF3EDB074e0471", "0x8D78A620E009Ba751Eb40d77A5e9Db48A3F2016b", "0x4Cf5Ce9594AEDdc5D3efe9d4Cdf0b944b4e73A53", "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc", "0x07Db7b1a96ebE474B20F52fF487cEE415adee79e", "0x20Ce75CdcEe44B1308365447b91B9c26e2b71Ffd", "0x5Db9CEc919f40C50809D9490DC3BbA4F05b0a1D7", "0x655730024B673B3378CD6031B1Cd01eaE9afb138", "0x4cf5ce9594aeddc5d3efe9d4cdf0b944b4e73a53"];
|
|
10204
10295
|
};
|
|
10205
10296
|
readonly sodaAVAX: {
|
|
10206
10297
|
readonly address: "0x14238d267557e9d799016ad635b53cd15935d290";
|
|
@@ -10242,11 +10333,15 @@ declare const hubVaults: {
|
|
|
10242
10333
|
readonly address: "0xabbb91c0617090f0028bdc27597cd0d038f3a833";
|
|
10243
10334
|
readonly reserves: ["0x41abf4b1559ff709ef8150079bcb26db1fffd117", "0x72e852545b024ddcbc5b70c1bcbdaa025164259c", "0xb7c213cbd24967de9838fa014668fddb338f724b", "0xdb7bda65c3a1c51d64dc4444e418684677334109", "0xa36893ba308b332fdebfa95916d1df3a2e3cf8b3", "0x29219dd400f2bf60e5a23d13be72b486d4038894", "0x5635369c8a29a081d26c2e9e28012fca548ba0cb", "0x3d73437dd81b3f9ec82752beb1752f03a8531710", "0x4bc1211faa06fb50ff61a70331f56167ae511057", "0x348007b53f25a9a857ab8ea81ec9e3ccbcf440f2", "0xc3f020057510ffe10ceb882e1b48238b43d78a5e", "0x9d58508ad10d34048a11640735ca5075bba07b35", "0xC1df02fb7b1b06bE886592C89F6955387998B2f7"];
|
|
10244
10335
|
};
|
|
10336
|
+
readonly sodaHYPE: {
|
|
10337
|
+
readonly address: "0x6e81124fc5d2bf666b16a0a5d90066ebf35c7411";
|
|
10338
|
+
readonly reserves: ["0x7288622bc2d39553f34d5b81c88c3f979d91dbc7"];
|
|
10339
|
+
};
|
|
10245
10340
|
};
|
|
10246
10341
|
declare const hubVaultTokensMap: Map<string, Token>;
|
|
10247
10342
|
declare const getHubVaultTokenByAddress: (address: string) => Token | undefined;
|
|
10248
10343
|
declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
|
|
10249
|
-
declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "stellar")[];
|
|
10344
|
+
declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "hyper" | "injective-1" | "sui" | "solana" | "stellar")[];
|
|
10250
10345
|
declare const bnUSDLegacyTokens: readonly [{
|
|
10251
10346
|
readonly symbol: "bnUSD (legacy)";
|
|
10252
10347
|
readonly name: "bnUSD";
|
|
@@ -10320,6 +10415,12 @@ declare const bnUSDNewTokens: ({
|
|
|
10320
10415
|
readonly decimals: 18;
|
|
10321
10416
|
readonly address: "0x39E77f86C1B1f3fbAb362A82b49D2E86C09659B4";
|
|
10322
10417
|
readonly xChainId: "0x89.polygon";
|
|
10418
|
+
} | {
|
|
10419
|
+
readonly symbol: "bnUSD";
|
|
10420
|
+
readonly name: "bnUSD";
|
|
10421
|
+
readonly decimals: 18;
|
|
10422
|
+
readonly address: "0x506Ba7C8d91dAdf7a91eE677a205D9687b751579";
|
|
10423
|
+
readonly xChainId: "hyper";
|
|
10323
10424
|
} | {
|
|
10324
10425
|
readonly symbol: "bnUSD";
|
|
10325
10426
|
readonly name: "bnUSD";
|
|
@@ -10384,6 +10485,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10384
10485
|
readonly decimals: 18;
|
|
10385
10486
|
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
10386
10487
|
readonly xChainId: "0xa86a.avax";
|
|
10488
|
+
}, {
|
|
10489
|
+
readonly symbol: "SODA";
|
|
10490
|
+
readonly name: "SODAX";
|
|
10491
|
+
readonly decimals: 18;
|
|
10492
|
+
readonly address: "0x390ceed555905ec225Da330A188EA04e85570f00";
|
|
10493
|
+
readonly xChainId: "0xa86a.avax";
|
|
10387
10494
|
}];
|
|
10388
10495
|
readonly "0xa4b1.arbitrum": readonly [{
|
|
10389
10496
|
readonly symbol: "ETH";
|
|
@@ -10421,6 +10528,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10421
10528
|
readonly decimals: 6;
|
|
10422
10529
|
readonly address: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
|
|
10423
10530
|
readonly xChainId: "0xa4b1.arbitrum";
|
|
10531
|
+
}, {
|
|
10532
|
+
readonly symbol: "SODA";
|
|
10533
|
+
readonly name: "SODAX";
|
|
10534
|
+
readonly decimals: 18;
|
|
10535
|
+
readonly address: "0x6958a4CBFe11406E2a1c1d3a71A1971aD8B3b92F";
|
|
10536
|
+
readonly xChainId: "0xa4b1.arbitrum";
|
|
10424
10537
|
}];
|
|
10425
10538
|
readonly "0x2105.base": readonly [{
|
|
10426
10539
|
readonly symbol: "ETH";
|
|
@@ -10446,6 +10559,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10446
10559
|
readonly decimals: 8;
|
|
10447
10560
|
readonly address: "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf";
|
|
10448
10561
|
readonly xChainId: "0x2105.base";
|
|
10562
|
+
}, {
|
|
10563
|
+
readonly symbol: "SODA";
|
|
10564
|
+
readonly name: "SODAX";
|
|
10565
|
+
readonly decimals: 18;
|
|
10566
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
10567
|
+
readonly xChainId: "0x2105.base";
|
|
10449
10568
|
}];
|
|
10450
10569
|
readonly "0xa.optimism": readonly [{
|
|
10451
10570
|
readonly symbol: "ETH";
|
|
@@ -10471,6 +10590,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10471
10590
|
readonly decimals: 6;
|
|
10472
10591
|
readonly address: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58";
|
|
10473
10592
|
readonly xChainId: "0xa.optimism";
|
|
10593
|
+
}, {
|
|
10594
|
+
readonly symbol: "SODA";
|
|
10595
|
+
readonly name: "SODAX";
|
|
10596
|
+
readonly decimals: 18;
|
|
10597
|
+
readonly address: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
10598
|
+
readonly xChainId: "0xa.optimism";
|
|
10474
10599
|
}];
|
|
10475
10600
|
readonly "0x89.polygon": readonly [{
|
|
10476
10601
|
readonly symbol: "POL";
|
|
@@ -10490,6 +10615,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10490
10615
|
readonly decimals: 6;
|
|
10491
10616
|
readonly address: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359";
|
|
10492
10617
|
readonly xChainId: "0x89.polygon";
|
|
10618
|
+
}, {
|
|
10619
|
+
readonly symbol: "SODA";
|
|
10620
|
+
readonly name: "SODAX";
|
|
10621
|
+
readonly decimals: 18;
|
|
10622
|
+
readonly address: "0xDDF645F33eDAD18fC23E01416eD0267A1bF59D45";
|
|
10623
|
+
readonly xChainId: "0x89.polygon";
|
|
10493
10624
|
}];
|
|
10494
10625
|
readonly "0x38.bsc": readonly [{
|
|
10495
10626
|
readonly symbol: "BNB";
|
|
@@ -10515,6 +10646,31 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10515
10646
|
readonly decimals: 18;
|
|
10516
10647
|
readonly address: "0x8428FedC020737a5A2291F46cB1B80613eD71638";
|
|
10517
10648
|
readonly xChainId: "0x38.bsc";
|
|
10649
|
+
}, {
|
|
10650
|
+
readonly symbol: "SODA";
|
|
10651
|
+
readonly name: "SODAX";
|
|
10652
|
+
readonly decimals: 18;
|
|
10653
|
+
readonly address: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
10654
|
+
readonly xChainId: "0x38.bsc";
|
|
10655
|
+
}];
|
|
10656
|
+
readonly hyper: readonly [{
|
|
10657
|
+
readonly symbol: "HYPE";
|
|
10658
|
+
readonly name: "HYPE";
|
|
10659
|
+
readonly decimals: 18;
|
|
10660
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
10661
|
+
readonly xChainId: "hyper";
|
|
10662
|
+
}, {
|
|
10663
|
+
readonly symbol: "bnUSD";
|
|
10664
|
+
readonly name: "bnUSD";
|
|
10665
|
+
readonly decimals: 18;
|
|
10666
|
+
readonly address: "0x506Ba7C8d91dAdf7a91eE677a205D9687b751579";
|
|
10667
|
+
readonly xChainId: "hyper";
|
|
10668
|
+
}, {
|
|
10669
|
+
readonly symbol: "SODA";
|
|
10670
|
+
readonly name: "SODAX";
|
|
10671
|
+
readonly decimals: 18;
|
|
10672
|
+
readonly address: "0xA28C70F92a1B2513edCdDD29c2E5195a4B785aB2";
|
|
10673
|
+
readonly xChainId: "hyper";
|
|
10518
10674
|
}];
|
|
10519
10675
|
readonly solana: readonly [{
|
|
10520
10676
|
readonly symbol: "SOL";
|
|
@@ -10534,6 +10690,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10534
10690
|
readonly decimals: 6;
|
|
10535
10691
|
readonly address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
10536
10692
|
readonly xChainId: "solana";
|
|
10693
|
+
}, {
|
|
10694
|
+
readonly symbol: "SODA";
|
|
10695
|
+
readonly name: "SODAX";
|
|
10696
|
+
readonly decimals: 9;
|
|
10697
|
+
readonly address: "8Bj8gSbga8My8qRkT1RrvgxFBExiGFgdRNHFaR9o2T3Q";
|
|
10698
|
+
readonly xChainId: "solana";
|
|
10537
10699
|
}];
|
|
10538
10700
|
readonly "0x1.icon": readonly [{
|
|
10539
10701
|
readonly symbol: "bnUSD (legacy)";
|
|
@@ -10554,6 +10716,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10554
10716
|
readonly decimals: 7;
|
|
10555
10717
|
readonly address: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
10556
10718
|
readonly xChainId: "stellar";
|
|
10719
|
+
}, {
|
|
10720
|
+
readonly symbol: "SODA";
|
|
10721
|
+
readonly name: "SODAX";
|
|
10722
|
+
readonly decimals: 7;
|
|
10723
|
+
readonly address: "CAH5LKJC2ZB4RVUVEVL2QWJWNJLHQE2UF767ILLQ5EQ4O3OURR2XIUGM";
|
|
10724
|
+
readonly xChainId: "stellar";
|
|
10557
10725
|
}];
|
|
10558
10726
|
readonly sui: readonly [{
|
|
10559
10727
|
readonly symbol: "SUI";
|
|
@@ -10573,6 +10741,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10573
10741
|
readonly decimals: 6;
|
|
10574
10742
|
readonly address: "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
|
|
10575
10743
|
readonly xChainId: "sui";
|
|
10744
|
+
}, {
|
|
10745
|
+
readonly symbol: "SODA";
|
|
10746
|
+
readonly name: "SODAX";
|
|
10747
|
+
readonly decimals: 9;
|
|
10748
|
+
readonly address: "0x0a0393721732617a2a771535e83c0a46f04aeef7d03239bbbb1249bc0981b952::soda::SODA";
|
|
10749
|
+
readonly xChainId: "sui";
|
|
10576
10750
|
}];
|
|
10577
10751
|
readonly "injective-1": readonly [{
|
|
10578
10752
|
readonly symbol: "INJ";
|
|
@@ -10592,6 +10766,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10592
10766
|
readonly decimals: 6;
|
|
10593
10767
|
readonly address: "ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E";
|
|
10594
10768
|
readonly xChainId: "injective-1";
|
|
10769
|
+
}, {
|
|
10770
|
+
readonly symbol: "SODA";
|
|
10771
|
+
readonly name: "SODAX";
|
|
10772
|
+
readonly decimals: 18;
|
|
10773
|
+
readonly address: "factory/inj1d036ftaatxpkqsu9hja8r24rv3v33chz3appxp/soda";
|
|
10774
|
+
readonly xChainId: "injective-1";
|
|
10595
10775
|
}];
|
|
10596
10776
|
readonly nibiru: readonly [];
|
|
10597
10777
|
readonly sonic: readonly [{
|
|
@@ -10624,6 +10804,12 @@ declare const moneyMarketSupportedTokens: {
|
|
|
10624
10804
|
readonly decimals: 18;
|
|
10625
10805
|
readonly address: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
10626
10806
|
readonly xChainId: "sonic";
|
|
10807
|
+
}, {
|
|
10808
|
+
readonly symbol: "SODA";
|
|
10809
|
+
readonly name: "SODAX";
|
|
10810
|
+
readonly decimals: 18;
|
|
10811
|
+
readonly address: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
10812
|
+
readonly xChainId: "sonic";
|
|
10627
10813
|
}];
|
|
10628
10814
|
};
|
|
10629
10815
|
declare const isMoneyMarketSupportedToken: (chainId: SpokeChainId, token: string) => boolean;
|
|
@@ -10631,14 +10817,14 @@ declare const getSupportedMoneyMarketTokens: (chainId: SpokeChainId) => readonly
|
|
|
10631
10817
|
declare const hubVaultsAddressSet: Set<`0x${string}`>;
|
|
10632
10818
|
declare const moneyMarketReserveHubAssetsSet: Set<`0x${string}`>;
|
|
10633
10819
|
declare const isMoneyMarketReserveHubAsset: (hubAsset: Address) => boolean;
|
|
10634
|
-
declare const moneyMarketReserveAssets: readonly [...("0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3eeb80a162c57624b3ff80313fe69f5203e" | "0xc6c85287a8b173a509c2f198bb719a8a5a2d0c68" | "0x208ed38f4783328aa9ebfec360d32e7520a9b779" | "0xe801ca34e19abcbfea12025378d19c4fbe250131" | "0xabbb91c0617090f0028bdc27597cd0d038f3a833" | "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876" | "0x21685e341de7844135329914be6bd8d16982d834" | "0x14238d267557e9d799016ad635b53cd15935d290" | "0x40cd41b35db9e5109ae7e54b44de8625db320e6b" | "0x4effb5813271699683c25c734f4dabc45b363709" | "0x7a1a5555842ad2d0ed274d09b5c4406a95799d5d" | "0xdc5b4b00f98347e95b9f94911213dab4c687e1e3" | "0x1f22279c89b213944b7ea41dacb0a868ddcdfd13" | "0x6bc8c37cba91f76e68c9e6d689a9c21e4d32079b" | "0xdea692287e2ce8cb08fa52917be0f16b1dacdc87")[], `0x${string}`];
|
|
10820
|
+
declare const moneyMarketReserveAssets: readonly [...("0x9D4b663Eb075d2a1C7B8eaEFB9eCCC0510388B51" | "0x62ecc3eeb80a162c57624b3ff80313fe69f5203e" | "0xc6c85287a8b173a509c2f198bb719a8a5a2d0c68" | "0x208ed38f4783328aa9ebfec360d32e7520a9b779" | "0xe801ca34e19abcbfea12025378d19c4fbe250131" | "0xabbb91c0617090f0028bdc27597cd0d038f3a833" | "0xbdf1f453fcb61424011bbddcb96cfdb30f3fe876" | "0x21685e341de7844135329914be6bd8d16982d834" | "0x14238d267557e9d799016ad635b53cd15935d290" | "0x40cd41b35db9e5109ae7e54b44de8625db320e6b" | "0x4effb5813271699683c25c734f4dabc45b363709" | "0x7a1a5555842ad2d0ed274d09b5c4406a95799d5d" | "0xdc5b4b00f98347e95b9f94911213dab4c687e1e3" | "0x1f22279c89b213944b7ea41dacb0a868ddcdfd13" | "0x6bc8c37cba91f76e68c9e6d689a9c21e4d32079b" | "0xdea692287e2ce8cb08fa52917be0f16b1dacdc87" | "0x6e81124fc5d2bf666b16a0a5d90066ebf35c7411")[], `0x${string}`];
|
|
10635
10821
|
declare const isMoneyMarketReserveAsset: (asset: Address) => boolean;
|
|
10636
10822
|
declare const originalAssetTohubAssetMap: Map<SpokeChainId, Map<OriginalAssetAddress, HubAssetInfo>>;
|
|
10637
10823
|
declare const hubAssetToOriginalAssetMap: Map<SpokeChainId, Map<Address, OriginalAssetAddress>>;
|
|
10638
10824
|
declare const chainIdToHubAssetsMap: Map<SpokeChainId, Map<Address, HubAssetInfo>>;
|
|
10639
10825
|
declare const supportedHubAssets: Set<Address>;
|
|
10640
10826
|
declare const supportedSodaAssets: Set<Address>;
|
|
10641
|
-
declare const spokeChainIdsSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "injective-1" | "sui" | "solana" | "0x1.icon" | "stellar">;
|
|
10827
|
+
declare const spokeChainIdsSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "sonic" | "0xa.optimism" | "0x89.polygon" | "nibiru" | "hyper" | "injective-1" | "sui" | "solana" | "0x1.icon" | "stellar">;
|
|
10642
10828
|
declare const getOriginalAssetInfoFromVault: (chainId: SpokeChainId, vault: Address) => OriginalAssetAddress[];
|
|
10643
10829
|
declare const getHubAssetInfo: (chainId: SpokeChainId, asset: OriginalAssetAddress) => HubAssetInfo | undefined;
|
|
10644
10830
|
declare const isValidOriginalAssetAddress: (chainId: SpokeChainId, asset: OriginalAssetAddress) => boolean;
|
|
@@ -10698,4 +10884,4 @@ declare function isUnifiedBnUSDMigrateParams(value: unknown): value is UnifiedBn
|
|
|
10698
10884
|
declare function isBalnMigrateParams(value: unknown): value is BalnMigrateParams;
|
|
10699
10885
|
declare function isIcxCreateRevertMigrationParams(value: unknown): value is IcxCreateRevertMigrationParams;
|
|
10700
10886
|
|
|
10701
|
-
export { type AggregatedReserveData, type ApiResponse, type AssetInfo, type BackendApiConfig, BackendApiService, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateBridgeIntentParams, type CreateIntentParams, type CustomProvider, DEFAULT_BACKEND_API_ENDPOINT, DEFAULT_BACKEND_API_HEADERS, DEFAULT_BACKEND_API_TIMEOUT, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfig, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketPosition, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeConfig, type PartnerFeePercentage, type PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, type QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, SodaTokens, SodaTokensAsHubAssets, SodaVaultTokensSet, Sodax, type SodaxConfig, type SolanaChainConfig, type SolanaGasEstimate, type SolanaRawTransaction, type SolanaReturnType, SolanaSpokeProvider, type SolverConfig, type SolverConfigParams, type SolverErrorResponse, type SolverExecutionRequest, type SolverExecutionResponse, SolverIntentErrorCode, type SolverIntentQuoteRequest, type SolverIntentQuoteResponse, type SolverIntentQuoteResponseRaw, SolverIntentStatusCode, type SolverIntentStatusRequest, type SolverIntentStatusResponse, SolverService, type SolverServiceConfig, type SonicSpokeChainConfig, type SonicSpokeDepositParams, SonicSpokeProvider, SonicSpokeService, type SpokeChainConfig, type SpokeChainInfo, type SpokeDepositParams, type SpokeProvider, SpokeService, type SpokeTokenSymbols, type SpokeTxHash, type StellarGasEstimate, type StellarReturnType, type StellarRpcConfig, type StellarSpokeChainConfig, StellarSpokeProvider, type SubmitTxParams, type SubmitTxResponse, type SuiGasEstimate, type SuiRawTransaction, type SuiReturnType, type SuiSpokeChainConfig, type SuiSpokeDepositParams, SuiSpokeProvider, SuiSpokeService, type SuiTransferToHubParams, SupportedMigrationTokens, type SwapParams, type TokenInfo, type TxReturnType, USD_DECIMALS, type UiPoolDataProviderInterface, UiPoolDataProviderService, type UnifiedBnUSDMigrateParams, type UnstakeRequest, type UserIncentiveData, type UserIncentiveDataHumanized, type UserIncentiveDict, type UserReserveCalculationData, type UserReserveData, type UserReserveDataHumanized, type UserReserveDataString, type UserReservesIncentivesDataHumanized, type UserRewardInfoHumanized, VAULT_TOKEN_DECIMALS, type VaultReserves, type VaultType, WAD, WAD_RAY_RATIO, WEI_DECIMALS, type WaitUntilIntentExecutedPayload, WalletAbstractionService, type WalletSimulationParams, type WithdrawInfo, adjustAmountByFee, assetManagerAbi, balnSwapAbi, binomialApproximatedRayPow, bnUSDLegacySpokeChainIds, bnUSDLegacyTokens, bnUSDNewTokens, calculateAllReserveIncentives, calculateAllUserIncentives, calculateAvailableBorrowsMarketReferenceCurrency, calculateCompoundedInterest, calculateCompoundedRate, calculateFeeAmount, calculateHealthFactorFromBalances, calculateHealthFactorFromBalancesBigUnits, calculateLinearInterest, calculatePercentageFeeAmount, chainIdToHubAssetsMap, connectionAbi, deriveUserWalletAddress, encodeAddress, encodeContractCalls, erc20Abi, formatBasisPoints, formatEModeCategory, formatEModes, formatPercentage, formatReserve, formatReserveUSD, formatReserves, formatReservesAndIncentives, formatUserSummary, formatUserSummaryAndIncentives, getAllLegacybnUSDTokens, getAndFormatReserveEModes, getCompoundedBalance, getEvmViemChain, getHubAssetInfo, getHubChainConfig, getHubVaultTokenByAddress, getIconAddressBytes, getIntentRelayChainId, getLinearBalance, getMarketReferenceCurrencyAndUsdBalance, getMoneyMarketConfig, getOriginalAssetAddress, getOriginalAssetInfoFromVault, getOriginalTokenFromOriginalAssetAddress, getPacket, getRandomBytes, getReserveNormalizedIncome, getReservesEModes, getSolanaAddressBytes, getSolverConfig, getSpokeChainIdFromIntentRelayChainId, getSupportedMoneyMarketTokens, getSupportedSolverTokens, getTransactionPackets, hexToBigInt, hubAssetToOriginalAssetMap, hubAssets, hubVaultTokensMap, hubVaults, hubVaultsAddressSet, intentRelayChainIdToSpokeChainIdMap, isBalnMigrateParams, isConfiguredMoneyMarketConfig, isConfiguredSolverConfig, isEvmHubChainConfig, isEvmInitializedConfig, isEvmSpokeChainConfig, isEvmSpokeProvider, isEvmUninitializedBrowserConfig, isEvmUninitializedConfig, isEvmUninitializedPrivateKeyConfig, isIconAddress, isIconSpokeProvider, isIcxCreateRevertMigrationParams, isIcxMigrateParams, isInjectiveSpokeProvider, isIntentCreationFailedError, isIntentCreationUnknownError, isIntentPostExecutionFailedError, isIntentRelayChainId, isIntentSubmitTxFailedError, isJsonRpcPayloadResponse, isLegacybnUSDChainId, isLegacybnUSDToken, isMoneyMarketBorrowUnknownError, isMoneyMarketCreateBorrowIntentFailedError, isMoneyMarketCreateRepayIntentFailedError, isMoneyMarketCreateSupplyIntentFailedError, isMoneyMarketCreateWithdrawIntentFailedError, isMoneyMarketRelayTimeoutError, isMoneyMarketRepayUnknownError, isMoneyMarketReserveAsset, isMoneyMarketReserveHubAsset, isMoneyMarketSubmitTxFailedError, isMoneyMarketSupplyUnknownError, isMoneyMarketSupportedToken, isMoneyMarketWithdrawUnknownError, isNativeToken, isNewbnUSDChainId, isNewbnUSDToken, isPartnerFeeAmount, isPartnerFeePercentage, isResponseAddressType, isResponseSigningType, isSodaVaultToken, isSolanaSpokeProvider, isSolverSupportedToken, isSonicSpokeProvider, isStellarSpokeProvider, isSuiSpokeProvider, isUnifiedBnUSDMigrateParams, isValidChainHubAsset, isValidHubAsset, isValidIntentRelayChainId, isValidOriginalAssetAddress, isValidSpokeChainId, isValidVault, isWaitUntilIntentExecutedFailed, moneyMarketReserveAssets, moneyMarketReserveHubAssetsSet, moneyMarketSupportedTokens, nativeToUSD, newbnUSDSpokeChainIds, normalize, normalizeBN, normalizedToUsd, originalAssetTohubAssetMap, poolAbi, randomUint256, rayDiv, rayMul, rayPow, rayToWad, relayTxAndWaitPacket, requestAddress, requestJsonRpc, requestSigning, retry, sonicWalletFactoryAbi, spokeAssetManagerAbi, spokeChainConfig, spokeChainIdsSet, submitTransaction, supportedHubAssets, supportedHubChains, supportedSodaAssets, supportedSpokeChains, supportedTokensPerChain, uiPoolDataAbi, valueToBigNumber, valueToZDBigNumber, variableDebtTokenAbi, vaultTokenAbi, wadToRay, waitForTransactionReceipt, waitUntilIntentExecuted, walletFactoryAbi, wrappedSonicAbi };
|
|
10887
|
+
export { type AggregatedReserveData, type ApiResponse, type AssetInfo, type BackendApiConfig, BackendApiService, type BalnLockParams, type BalnMigrateParams, type BalnSwapAbi, BalnSwapService, type BaseCurrencyInfo, type BaseHubChainConfig, type BaseSpokeChainConfig, type BaseSpokeChainInfo, BigIntToHex, type BigNumberValue, BigNumberZeroDecimal, BnUSDMigrationService, type BnUSDRevertMigrationParams, type BorrowInfo, type BridgeError, type BridgeErrorCode, type BridgeExtraData, type BridgeOptionalExtraData, type BridgeParams, BridgeService, type BridgeServiceConfig, type CalculateAllReserveIncentivesRequest, type CalculateAllUserIncentivesRequest, type CalculateCompoundedRateRequest, ChainIdToIntentRelayChainId, type CombinedReserveData, type ComputedUserReserve, type CreateBridgeIntentParams, type CreateIntentParams, type CustomProvider, DEFAULT_BACKEND_API_ENDPOINT, DEFAULT_BACKEND_API_HEADERS, DEFAULT_BACKEND_API_TIMEOUT, DEFAULT_DEADLINE_OFFSET, DEFAULT_MAX_RETRY, DEFAULT_RELAYER_API_ENDPOINT, DEFAULT_RELAY_TX_TIMEOUT, DEFAULT_RETRY_DELAY_MS, type Default, type DepositSimulationParams, type DetailedLock, type EModeCategory, type EModeCategoryHumanized, type EModeData, type EModeDataString, EVM_CHAIN_IDS, EVM_SPOKE_CHAIN_IDS, type EmodeDataHumanized, Erc20Service, EvmAssetManagerService, type EvmChainId, type EvmContractCall, type EvmDepositToDataParams, type EvmGasEstimate, type EvmHubChainConfig, EvmHubProvider, type EvmHubProviderConfig, type EvmInitializedConfig, type EvmReturnType, EvmSolverService, type EvmSpokeChainConfig, type EvmSpokeChainId, type EvmSpokeDepositParams, EvmSpokeProvider, EvmSpokeService, type EvmTransferParams, type EvmTransferToHubParams, type EvmTxReturnType, type EvmUninitializedBrowserConfig, type EvmUninitializedConfig, type EvmUninitializedPrivateKeyConfig, EvmVaultTokenService, EvmWalletAbstraction, type EvmWithdrawAssetDataParams, FEE_PERCENTAGE_SCALE, type FeeAmount, type FeeData, type FormatReserveRequest, type FormatReserveResponse, type FormatReserveUSDRequest, type FormatReserveUSDResponse, type FormatReservesAndIncentivesUSDRequest, type FormatReservesUSDRequest, type FormatUserSummaryAndIncentivesRequest, type FormatUserSummaryAndIncentivesResponse, type FormatUserSummaryRequest, type FormatUserSummaryResponse, type FormattedReserveEMode, type GasEstimateType, type GetAddressType, type GetEstimateGasReturnType, type GetMigrationFailedPayload, type GetMoneyMarketError, type GetMoneyMarketParams, type GetPacketParams, type GetPacketResponse, type GetRelayRequestParamType, type GetRelayResponse, type GetSpokeChainIdType, type GetSpokeDepositParamsType, type GetTransactionPacketsParams, type GetTransactionPacketsResponse, HALF_RAY, HALF_WAD, type HanaWalletRequestEvent, type HanaWalletResponseEvent, type HashTxReturnType, type HttpPrefixedUrl, type HttpUrl, type HubAssetInfo, type HubChainConfig, type HubChainInfo, type HubTxHash, type HubVaultSymbol, HubVaultSymbols, ICON_TX_RESULT_WAIT_MAX_RETRY, INTENT_RELAY_CHAIN_IDS, type ISpokeProvider, type IWalletProvider, type IconAddress, type IconContractAddress, type IconGasEstimate, type IconJsonRpcVersion, type IconRawTransaction, type IconReturnType, type IconSpokeChainConfig, IconSpokeProvider, type IcxCreateRevertMigrationParams, type IcxMigrateParams, IcxMigrationService, type IcxRawTransaction, type IcxRevertMigrationParams, type IcxTokenType, type IncentiveDataHumanized, type InjectiveGasEstimate, type InjectiveReturnType, type InjectiveSpokeChainConfig, InjectiveSpokeProvider, type Intent, IntentCreatedEventAbi, type IntentCreatedEventLog, type IntentCreationFailedErrorData, type IntentData, IntentDataType, type IntentDeliveryInfo, type IntentError, type IntentErrorCode, type IntentErrorData, type IntentPostExecutionFailedErrorData, type IntentRelayChainId, type IntentRelayRequest, type IntentRelayRequestParams, type IntentResponse, type IntentState, type IntentSubmitTxFailedErrorData, type IntentWaitUntilIntentExecutedFailedErrorData, IntentsAbi, type JsonRpcPayloadResponse, LTV_PRECISION, type LegacybnUSDChainId, type LegacybnUSDToken, type LegacybnUSDTokenAddress, LendingPoolService, LockupMultiplier, LockupPeriod, MAX_UINT256, type MigrationAction, type MigrationError, type MigrationErrorCode, type MigrationErrorData, type MigrationFailedErrorData, type MigrationParams, type MigrationRevertParams, MigrationService, type MigrationServiceConfig, type MigrationTokens, type MoneyMarketAction, type MoneyMarketAsset, type MoneyMarketAssetBorrowers, type MoneyMarketAssetSuppliers, type MoneyMarketBorrowFailedError, type MoneyMarketBorrowParams, type MoneyMarketBorrowers, type MoneyMarketConfig, type MoneyMarketConfigParams, MoneyMarketDataService, type MoneyMarketEncodeBorrowParams, type MoneyMarketEncodeRepayParams, type MoneyMarketEncodeRepayWithATokensParams, type MoneyMarketEncodeSupplyParams, type MoneyMarketEncodeWithdrawParams, type MoneyMarketError, type MoneyMarketErrorCode, type MoneyMarketExtraData, type MoneyMarketOptionalExtraData, type MoneyMarketParams, type MoneyMarketPosition, type MoneyMarketRepayFailedError, type MoneyMarketRepayParams, MoneyMarketService, type MoneyMarketServiceConfig, type MoneyMarketSubmitTxFailedError, type MoneyMarketSupplyFailedError, type MoneyMarketSupplyParams, type MoneyMarketUnknownError, type MoneyMarketUnknownErrorCode, type MoneyMarketWithdrawFailedError, type MoneyMarketWithdrawParams, type NewbnUSDChainId, type Optional, type OptionalFee, type OptionalRaw, type OptionalTimeout, type OrderbookResponse, type PacketData, type PartnerFee, type PartnerFeeAmount, type PartnerFeeConfig, type PartnerFeePercentage, type PoolBaseCurrencyHumanized, type Prettify, type PromiseEvmTxReturnType, type PromiseIconTxReturnType, type PromiseInjectiveTxReturnType, type PromiseSolanaTxReturnType, type PromiseStellarTxReturnType, type PromiseSuiTxReturnType, type PromiseTxReturnType, type QuoteType, RAY, RAY_DECIMALS, type RawTxReturnType, type RelayAction, type RelayError, type RelayErrorCode, type RelayExtraData, type RelayOptionalExtraData, type RelayRequestDetail, type RelayRequestSigning, type RelayTxStatus, type RelayerApiConfig, type RequestConfig, type ReserveCalculationData, type ReserveData, type ReserveDataHumanized, type ReserveDataLegacy, type ReserveDataWithPrice, type ReserveEMode, type ReserveIncentiveDict, type ReservesDataHumanized, type ReservesIncentiveDataHumanized, type ResponseAddressType, type ResponseSigningType, type Result, type RewardInfoHumanized, SECONDS_PER_YEAR, STELLAR_DEFAULT_TX_TIMEOUT_SECONDS, STELLAR_PRIORITY_FEE, 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, hyper, 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 };
|