@sodax/types 2.0.0-rc.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/backendApiV1.d.ts +28 -0
- package/dist/backend/backendApiV2.d.ts +678 -0
- package/dist/backend/backendApiV2.js +38 -0
- package/dist/backend/index.d.ts +2 -1
- package/dist/backend/index.js +2 -1
- package/dist/bitcoin/bitcoin.d.ts +18 -0
- package/dist/bitcoin/bitcoin.js +13 -0
- package/dist/chains/chain-keys.d.ts +3 -2
- package/dist/chains/chain-keys.js +1 -0
- package/dist/chains/chains.d.ts +435 -16
- package/dist/chains/chains.js +76 -4
- package/dist/chains/tokens.d.ts +592 -12
- package/dist/chains/tokens.js +285 -5
- package/dist/common/common.d.ts +15 -7
- package/dist/common/constants.d.ts +19 -1
- package/dist/dex/dex.d.ts +4 -1
- package/dist/hooks/hooks.d.ts +42 -0
- package/dist/hooks/hooks.js +44 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/injective/injective.d.ts +4 -0
- package/dist/leverageYield/index.d.ts +1 -0
- package/dist/leverageYield/index.js +1 -0
- package/dist/leverageYield/leverageYield.d.ts +152 -0
- package/dist/leverageYield/leverageYield.js +51 -0
- package/dist/moneyMarket/moneyMarket.d.ts +248 -6
- package/dist/moneyMarket/moneyMarket.js +13 -0
- package/dist/near/near.d.ts +5 -1
- package/dist/shared/analytics.d.ts +119 -0
- package/dist/shared/analytics.js +1 -0
- package/dist/shared/features.d.ts +9 -0
- package/dist/shared/features.js +1 -0
- package/dist/shared/index.d.ts +3 -0
- package/dist/shared/index.js +3 -0
- package/dist/shared/logger.d.ts +27 -0
- package/dist/shared/logger.js +1 -0
- package/dist/shared/shared.d.ts +21 -0
- package/dist/sodax-config/sodax-config.d.ts +769 -73
- package/dist/sodax-config/sodax-config.js +3 -4
- package/dist/solana/solana.d.ts +2 -0
- package/dist/stacks/stacks.d.ts +2 -0
- package/dist/stellar/stellar.d.ts +4 -0
- package/dist/sui/sui.d.ts +3 -2
- package/dist/swap/swap.d.ts +478 -90
- package/dist/swap/swap.js +79 -12
- package/package.json +2 -2
- package/dist/backend/backendApi.d.ts +0 -74
- /package/dist/backend/{backendApi.js → backendApiV1.js} +0 -0
package/dist/chains/chains.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Chain types
|
|
3
3
|
* Forbidden to import types from other packages in this file (exception for shared types)!
|
|
4
4
|
*/
|
|
5
|
-
import type { Address, Hex, TxPollingConfig } from '../shared/shared.js';
|
|
5
|
+
import type { Address, Hex, RpcFailoverConfig, TxPollingConfig } from '../shared/shared.js';
|
|
6
6
|
import { ChainKeys, CHAIN_KEYS, type ChainKey, type ChainType } from './chain-keys.js';
|
|
7
7
|
import type { XToken } from './tokens.js';
|
|
8
8
|
export * from './chain-keys.js';
|
|
@@ -27,10 +27,17 @@ export declare const RelayChainIdMap: {
|
|
|
27
27
|
readonly redbelly: 726564n;
|
|
28
28
|
readonly "0x2019.kaia": 27489n;
|
|
29
29
|
readonly stacks: 60n;
|
|
30
|
+
readonly hedera: 18501n;
|
|
30
31
|
};
|
|
31
32
|
export type IntentChainId = (typeof RelayChainIdMap)[keyof typeof RelayChainIdMap];
|
|
32
|
-
export declare const INTENT_CHAIN_IDS: (6n | 23n | 30n | 4n | 19n | 146n | 24n | 5n | 1n | 21n | 27n | 1768124270n | 26745n | 27756n | 15n | 2n | 627463n | 726564n | 27489n | 60n)[];
|
|
33
|
+
export declare const INTENT_CHAIN_IDS: (6n | 23n | 30n | 4n | 19n | 146n | 24n | 5n | 1n | 21n | 27n | 1768124270n | 26745n | 27756n | 15n | 2n | 627463n | 726564n | 27489n | 60n | 18501n)[];
|
|
33
34
|
export declare const IntentRelayChainIdToChainKey: Map<IntentRelayChainId, ChainKey>;
|
|
35
|
+
/**
|
|
36
|
+
* Base URL for default chain logos hosted in the `@sodax/assets` package.
|
|
37
|
+
* Each logo is served from `main` via raw.githubusercontent and named by its
|
|
38
|
+
* `ChainKeys` value, so the full URL is `${CHAIN_LOGO_BASE_URL}/<chainKey>.png`.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CHAIN_LOGO_BASE_URL = "https://raw.githubusercontent.com/icon-project/sodax-sdks/main/packages/assets/chain";
|
|
34
41
|
export declare const baseChainInfo: {
|
|
35
42
|
readonly sonic: {
|
|
36
43
|
readonly name: "Sonic";
|
|
@@ -38,6 +45,7 @@ export declare const baseChainInfo: {
|
|
|
38
45
|
readonly type: "EVM";
|
|
39
46
|
readonly chainId: 146;
|
|
40
47
|
readonly mainnet: true;
|
|
48
|
+
readonly logo: string;
|
|
41
49
|
readonly explorer: {
|
|
42
50
|
readonly baseUrl: "https://sonicscan.org/";
|
|
43
51
|
readonly txUrl: "https://sonicscan.org/tx/";
|
|
@@ -51,6 +59,7 @@ export declare const baseChainInfo: {
|
|
|
51
59
|
readonly type: "SOLANA";
|
|
52
60
|
readonly chainId: "solana";
|
|
53
61
|
readonly mainnet: true;
|
|
62
|
+
readonly logo: string;
|
|
54
63
|
readonly explorer: {
|
|
55
64
|
readonly baseUrl: "https://solscan.io/";
|
|
56
65
|
readonly txUrl: "https://solscan.io/tx/";
|
|
@@ -64,6 +73,7 @@ export declare const baseChainInfo: {
|
|
|
64
73
|
readonly type: "EVM";
|
|
65
74
|
readonly chainId: 43114;
|
|
66
75
|
readonly mainnet: true;
|
|
76
|
+
readonly logo: string;
|
|
67
77
|
readonly explorer: {
|
|
68
78
|
readonly baseUrl: "https://snowtrace.io/";
|
|
69
79
|
readonly txUrl: "https://snowtrace.io/tx/";
|
|
@@ -77,6 +87,7 @@ export declare const baseChainInfo: {
|
|
|
77
87
|
readonly type: "EVM";
|
|
78
88
|
readonly chainId: 42161;
|
|
79
89
|
readonly mainnet: true;
|
|
90
|
+
readonly logo: string;
|
|
80
91
|
readonly explorer: {
|
|
81
92
|
readonly baseUrl: "https://arbiscan.io/";
|
|
82
93
|
readonly txUrl: "https://arbiscan.io/tx/";
|
|
@@ -90,6 +101,7 @@ export declare const baseChainInfo: {
|
|
|
90
101
|
readonly type: "EVM";
|
|
91
102
|
readonly chainId: 8453;
|
|
92
103
|
readonly mainnet: true;
|
|
104
|
+
readonly logo: string;
|
|
93
105
|
readonly explorer: {
|
|
94
106
|
readonly baseUrl: "https://basescan.org/";
|
|
95
107
|
readonly txUrl: "https://basescan.org/tx/";
|
|
@@ -103,6 +115,7 @@ export declare const baseChainInfo: {
|
|
|
103
115
|
readonly type: "EVM";
|
|
104
116
|
readonly chainId: 10;
|
|
105
117
|
readonly mainnet: true;
|
|
118
|
+
readonly logo: string;
|
|
106
119
|
readonly explorer: {
|
|
107
120
|
readonly baseUrl: "https://optimistic.etherscan.io/";
|
|
108
121
|
readonly txUrl: "https://optimistic.etherscan.io/tx/";
|
|
@@ -116,6 +129,7 @@ export declare const baseChainInfo: {
|
|
|
116
129
|
readonly type: "EVM";
|
|
117
130
|
readonly chainId: 56;
|
|
118
131
|
readonly mainnet: true;
|
|
132
|
+
readonly logo: string;
|
|
119
133
|
readonly explorer: {
|
|
120
134
|
readonly baseUrl: "https://bscscan.com/";
|
|
121
135
|
readonly txUrl: "https://bscscan.com/tx/";
|
|
@@ -129,6 +143,7 @@ export declare const baseChainInfo: {
|
|
|
129
143
|
readonly type: "EVM";
|
|
130
144
|
readonly chainId: 137;
|
|
131
145
|
readonly mainnet: true;
|
|
146
|
+
readonly logo: string;
|
|
132
147
|
readonly explorer: {
|
|
133
148
|
readonly baseUrl: "https://polygonscan.com/";
|
|
134
149
|
readonly txUrl: "https://polygonscan.com/tx/";
|
|
@@ -142,6 +157,7 @@ export declare const baseChainInfo: {
|
|
|
142
157
|
readonly type: "EVM";
|
|
143
158
|
readonly chainId: 999;
|
|
144
159
|
readonly mainnet: true;
|
|
160
|
+
readonly logo: string;
|
|
145
161
|
readonly explorer: {
|
|
146
162
|
readonly baseUrl: "https://hyperevmscan.io/";
|
|
147
163
|
readonly txUrl: "https://hyperevmscan.io/tx/";
|
|
@@ -155,6 +171,7 @@ export declare const baseChainInfo: {
|
|
|
155
171
|
readonly type: "EVM";
|
|
156
172
|
readonly chainId: 1890;
|
|
157
173
|
readonly mainnet: true;
|
|
174
|
+
readonly logo: string;
|
|
158
175
|
readonly explorer: {
|
|
159
176
|
readonly baseUrl: "https://phoenix.lightlink.io/";
|
|
160
177
|
readonly txUrl: "https://phoenix.lightlink.io/tx/";
|
|
@@ -168,6 +185,7 @@ export declare const baseChainInfo: {
|
|
|
168
185
|
readonly type: "INJECTIVE";
|
|
169
186
|
readonly chainId: "injective-1";
|
|
170
187
|
readonly mainnet: true;
|
|
188
|
+
readonly logo: string;
|
|
171
189
|
readonly explorer: {
|
|
172
190
|
readonly baseUrl: "https://www.mintscan.io/injective/";
|
|
173
191
|
readonly txUrl: "https://www.mintscan.io/injective/tx/";
|
|
@@ -181,6 +199,7 @@ export declare const baseChainInfo: {
|
|
|
181
199
|
readonly type: "STELLAR";
|
|
182
200
|
readonly chainId: "stellar";
|
|
183
201
|
readonly mainnet: true;
|
|
202
|
+
readonly logo: string;
|
|
184
203
|
readonly explorer: {
|
|
185
204
|
readonly baseUrl: "https://stellar.expert/explorer/public/";
|
|
186
205
|
readonly txUrl: "https://stellar.expert/explorer/public/tx/";
|
|
@@ -194,6 +213,7 @@ export declare const baseChainInfo: {
|
|
|
194
213
|
readonly type: "SUI";
|
|
195
214
|
readonly chainId: "sui";
|
|
196
215
|
readonly mainnet: true;
|
|
216
|
+
readonly logo: string;
|
|
197
217
|
readonly explorer: {
|
|
198
218
|
readonly baseUrl: "https://suivision.xyz/";
|
|
199
219
|
readonly txUrl: "https://suivision.xyz/txblock/";
|
|
@@ -207,6 +227,7 @@ export declare const baseChainInfo: {
|
|
|
207
227
|
readonly type: "ICON";
|
|
208
228
|
readonly chainId: "0x1.icon";
|
|
209
229
|
readonly mainnet: true;
|
|
230
|
+
readonly logo: string;
|
|
210
231
|
readonly explorer: {
|
|
211
232
|
readonly baseUrl: "https://tracker.icon.community/";
|
|
212
233
|
readonly txUrl: "https://tracker.icon.community/transaction/";
|
|
@@ -220,6 +241,7 @@ export declare const baseChainInfo: {
|
|
|
220
241
|
readonly type: "NEAR";
|
|
221
242
|
readonly chainId: "near";
|
|
222
243
|
readonly mainnet: true;
|
|
244
|
+
readonly logo: string;
|
|
223
245
|
readonly explorer: {
|
|
224
246
|
readonly baseUrl: "https://nearblocks.io/";
|
|
225
247
|
readonly txUrl: "https://nearblocks.io/txns/";
|
|
@@ -233,6 +255,7 @@ export declare const baseChainInfo: {
|
|
|
233
255
|
readonly type: "EVM";
|
|
234
256
|
readonly chainId: 1;
|
|
235
257
|
readonly mainnet: true;
|
|
258
|
+
readonly logo: string;
|
|
236
259
|
readonly explorer: {
|
|
237
260
|
readonly baseUrl: "https://etherscan.io/";
|
|
238
261
|
readonly txUrl: "https://etherscan.io/tx/";
|
|
@@ -246,6 +269,7 @@ export declare const baseChainInfo: {
|
|
|
246
269
|
readonly type: "BITCOIN";
|
|
247
270
|
readonly chainId: "bitcoin";
|
|
248
271
|
readonly mainnet: true;
|
|
272
|
+
readonly logo: string;
|
|
249
273
|
readonly explorer: {
|
|
250
274
|
readonly baseUrl: "https://mempool.space/";
|
|
251
275
|
readonly txUrl: "https://mempool.space/tx/";
|
|
@@ -259,6 +283,7 @@ export declare const baseChainInfo: {
|
|
|
259
283
|
readonly type: "EVM";
|
|
260
284
|
readonly chainId: 151;
|
|
261
285
|
readonly mainnet: true;
|
|
286
|
+
readonly logo: string;
|
|
262
287
|
readonly explorer: {
|
|
263
288
|
readonly baseUrl: "https://redbelly.routescan.io/";
|
|
264
289
|
readonly txUrl: "https://redbelly.routescan.io/tx/";
|
|
@@ -272,6 +297,7 @@ export declare const baseChainInfo: {
|
|
|
272
297
|
readonly type: "EVM";
|
|
273
298
|
readonly chainId: 8217;
|
|
274
299
|
readonly mainnet: true;
|
|
300
|
+
readonly logo: string;
|
|
275
301
|
readonly explorer: {
|
|
276
302
|
readonly baseUrl: "https://klaytnfinder.io/";
|
|
277
303
|
readonly txUrl: "https://klaytnfinder.io/tx/";
|
|
@@ -285,6 +311,7 @@ export declare const baseChainInfo: {
|
|
|
285
311
|
readonly type: "STACKS";
|
|
286
312
|
readonly chainId: "stacks";
|
|
287
313
|
readonly mainnet: true;
|
|
314
|
+
readonly logo: string;
|
|
288
315
|
readonly explorer: {
|
|
289
316
|
readonly baseUrl: "https://explorer.hiro.so/";
|
|
290
317
|
readonly txUrl: "https://explorer.hiro.so/txid/";
|
|
@@ -292,6 +319,20 @@ export declare const baseChainInfo: {
|
|
|
292
319
|
readonly contractUrl: "https://explorer.hiro.so/txid/";
|
|
293
320
|
};
|
|
294
321
|
};
|
|
322
|
+
readonly hedera: {
|
|
323
|
+
readonly name: "Hedera";
|
|
324
|
+
readonly key: "hedera";
|
|
325
|
+
readonly type: "EVM";
|
|
326
|
+
readonly chainId: 295;
|
|
327
|
+
readonly mainnet: true;
|
|
328
|
+
readonly logo: string;
|
|
329
|
+
readonly explorer: {
|
|
330
|
+
readonly baseUrl: "https://hashscan.io/mainnet/";
|
|
331
|
+
readonly txUrl: "https://hashscan.io/mainnet/transaction/";
|
|
332
|
+
readonly addressUrl: "https://hashscan.io/mainnet/account/";
|
|
333
|
+
readonly contractUrl: "https://hashscan.io/mainnet/contract/";
|
|
334
|
+
};
|
|
335
|
+
};
|
|
295
336
|
};
|
|
296
337
|
type ChainKeysByType<T extends ChainType> = {
|
|
297
338
|
[K in keyof typeof baseChainInfo]: (typeof baseChainInfo)[K]['type'] extends T ? K : never;
|
|
@@ -315,8 +356,8 @@ export type BitcoinChainKey = ChainKeysByType<'BITCOIN'>;
|
|
|
315
356
|
export declare const HUB_CHAIN_KEY: "sonic";
|
|
316
357
|
export declare const EVM_CHAIN_KEYS: ChainKeysByType<"EVM">[];
|
|
317
358
|
export declare const EVM_CHAIN_KEYS_SET: Set<ChainKeysByType<"EVM">>;
|
|
318
|
-
export declare const EVM_SPOKE_ONLY_CHAIN_KEYS: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia")[];
|
|
319
|
-
export declare const EVM_SPOKE_ONLY_CHAIN_KEYS_SET: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia">;
|
|
359
|
+
export declare const EVM_SPOKE_ONLY_CHAIN_KEYS: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia" | "hedera")[];
|
|
360
|
+
export declare const EVM_SPOKE_ONLY_CHAIN_KEYS_SET: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "0xa.optimism" | "0x89.polygon" | "hyper" | "lightlink" | "ethereum" | "redbelly" | "0x2019.kaia" | "hedera">;
|
|
320
361
|
export declare const SONIC_CHAIN_KEYS: readonly ["sonic"];
|
|
321
362
|
export declare const SONIC_CHAIN_KEYS_SET: Set<"sonic">;
|
|
322
363
|
export declare const SOLANA_CHAIN_KEYS: "solana"[];
|
|
@@ -354,6 +395,8 @@ export type BaseChainInfo<T extends ChainType> = {
|
|
|
354
395
|
chainId: string | number;
|
|
355
396
|
type: T;
|
|
356
397
|
mainnet: boolean;
|
|
398
|
+
/** Default chain logo URL (hosted in @sodax/assets, see CHAIN_LOGO_BASE_URL). */
|
|
399
|
+
logo: string;
|
|
357
400
|
explorer: {
|
|
358
401
|
baseUrl: string;
|
|
359
402
|
txUrl: string;
|
|
@@ -381,7 +424,7 @@ export type HubConfig = {
|
|
|
381
424
|
nativeToken: Address;
|
|
382
425
|
wrappedNativeToken: Address;
|
|
383
426
|
rpcUrl: string;
|
|
384
|
-
} & BaseSpokeChainConfig<'EVM'
|
|
427
|
+
} & BaseSpokeChainConfig<'EVM'> & RpcFailoverConfig;
|
|
385
428
|
export type EvmSpokeChainConfig = BaseSpokeChainConfig<'EVM'> & {
|
|
386
429
|
addresses: {
|
|
387
430
|
assetManager: Address;
|
|
@@ -397,7 +440,7 @@ export type SonicSpokeChainConfig = BaseSpokeChainConfig<'EVM'> & {
|
|
|
397
440
|
};
|
|
398
441
|
nativeToken: Address;
|
|
399
442
|
rpcUrl: string;
|
|
400
|
-
};
|
|
443
|
+
} & RpcFailoverConfig;
|
|
401
444
|
export type SolanaChainConfig = BaseSpokeChainConfig<'SOLANA'> & {
|
|
402
445
|
addresses: {
|
|
403
446
|
assetManager: string;
|
|
@@ -511,6 +554,7 @@ export declare const spokeChainConfig: {
|
|
|
511
554
|
readonly type: "EVM";
|
|
512
555
|
readonly chainId: 146;
|
|
513
556
|
readonly mainnet: true;
|
|
557
|
+
readonly logo: string;
|
|
514
558
|
readonly explorer: {
|
|
515
559
|
readonly baseUrl: "https://sonicscan.org/";
|
|
516
560
|
readonly txUrl: "https://sonicscan.org/tx/";
|
|
@@ -526,6 +570,33 @@ export declare const spokeChainConfig: {
|
|
|
526
570
|
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
527
571
|
readonly bnUSD: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
528
572
|
readonly supportedTokens: {
|
|
573
|
+
readonly lsodaWEETH: {
|
|
574
|
+
readonly symbol: "lsodaWEETH";
|
|
575
|
+
readonly name: "Leveraged Soda weETH";
|
|
576
|
+
readonly decimals: 18;
|
|
577
|
+
readonly address: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
578
|
+
readonly chainKey: "sonic";
|
|
579
|
+
readonly hubAsset: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
580
|
+
readonly vault: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
581
|
+
};
|
|
582
|
+
readonly lsodaWSTETH: {
|
|
583
|
+
readonly symbol: "lsodaWSTETH";
|
|
584
|
+
readonly name: "Leveraged Soda wstETH";
|
|
585
|
+
readonly decimals: 18;
|
|
586
|
+
readonly address: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
587
|
+
readonly chainKey: "sonic";
|
|
588
|
+
readonly hubAsset: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
589
|
+
readonly vault: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
590
|
+
};
|
|
591
|
+
readonly lsodaJITOSOL: {
|
|
592
|
+
readonly symbol: "lsodaJITOSOL";
|
|
593
|
+
readonly name: "Leveraged Soda JITOSOL";
|
|
594
|
+
readonly decimals: 18;
|
|
595
|
+
readonly address: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
596
|
+
readonly chainKey: "sonic";
|
|
597
|
+
readonly hubAsset: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
598
|
+
readonly vault: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
599
|
+
};
|
|
529
600
|
readonly sodaBNB: {
|
|
530
601
|
readonly symbol: "sodaBNB";
|
|
531
602
|
readonly name: "Soda BNB";
|
|
@@ -742,15 +813,51 @@ export declare const spokeChainConfig: {
|
|
|
742
813
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
743
814
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
744
815
|
};
|
|
745
|
-
readonly
|
|
746
|
-
readonly symbol: "
|
|
747
|
-
readonly name: "
|
|
816
|
+
readonly sodaSUSDS: {
|
|
817
|
+
readonly symbol: "sodaSUSDS";
|
|
818
|
+
readonly name: "SODA sUSDS";
|
|
748
819
|
readonly decimals: 18;
|
|
749
820
|
readonly address: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
750
821
|
readonly chainKey: "sonic";
|
|
751
822
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
752
823
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
753
824
|
};
|
|
825
|
+
readonly sodaHBAR: {
|
|
826
|
+
readonly symbol: "sodaHBAR";
|
|
827
|
+
readonly name: "Soda HBAR";
|
|
828
|
+
readonly decimals: 18;
|
|
829
|
+
readonly address: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
830
|
+
readonly chainKey: "sonic";
|
|
831
|
+
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
832
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
833
|
+
};
|
|
834
|
+
readonly sodaJITOSOL: {
|
|
835
|
+
readonly symbol: "sodaJITOSOL";
|
|
836
|
+
readonly name: "Soda JITOSOL";
|
|
837
|
+
readonly decimals: 18;
|
|
838
|
+
readonly address: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
839
|
+
readonly chainKey: "sonic";
|
|
840
|
+
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
841
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
842
|
+
};
|
|
843
|
+
readonly sodaUSDS: {
|
|
844
|
+
readonly symbol: "sodaUSDS";
|
|
845
|
+
readonly name: "Soda USDS";
|
|
846
|
+
readonly decimals: 18;
|
|
847
|
+
readonly address: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
848
|
+
readonly chainKey: "sonic";
|
|
849
|
+
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
850
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
851
|
+
};
|
|
852
|
+
readonly sodaUSSD: {
|
|
853
|
+
readonly symbol: "sodaUSSD";
|
|
854
|
+
readonly name: "Soda USSD";
|
|
855
|
+
readonly decimals: 18;
|
|
856
|
+
readonly address: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
857
|
+
readonly chainKey: "sonic";
|
|
858
|
+
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
859
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
860
|
+
};
|
|
754
861
|
readonly S: {
|
|
755
862
|
readonly symbol: "S";
|
|
756
863
|
readonly name: "Sonic";
|
|
@@ -814,6 +921,15 @@ export declare const spokeChainConfig: {
|
|
|
814
921
|
readonly hubAsset: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
815
922
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
816
923
|
};
|
|
924
|
+
readonly USSD: {
|
|
925
|
+
readonly symbol: "USSD";
|
|
926
|
+
readonly name: "US Sonic Dollar";
|
|
927
|
+
readonly decimals: 18;
|
|
928
|
+
readonly address: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
929
|
+
readonly chainKey: "sonic";
|
|
930
|
+
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
931
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
932
|
+
};
|
|
817
933
|
};
|
|
818
934
|
readonly pollingConfig: {
|
|
819
935
|
readonly pollingIntervalMs: 500;
|
|
@@ -827,6 +943,7 @@ export declare const spokeChainConfig: {
|
|
|
827
943
|
readonly type: "EVM";
|
|
828
944
|
readonly chainId: 151;
|
|
829
945
|
readonly mainnet: true;
|
|
946
|
+
readonly logo: string;
|
|
830
947
|
readonly explorer: {
|
|
831
948
|
readonly baseUrl: "https://redbelly.routescan.io/";
|
|
832
949
|
readonly txUrl: "https://redbelly.routescan.io/tx/";
|
|
@@ -996,6 +1113,7 @@ export declare const spokeChainConfig: {
|
|
|
996
1113
|
readonly type: "SOLANA";
|
|
997
1114
|
readonly chainId: "solana";
|
|
998
1115
|
readonly mainnet: true;
|
|
1116
|
+
readonly logo: string;
|
|
999
1117
|
readonly explorer: {
|
|
1000
1118
|
readonly baseUrl: "https://solscan.io/";
|
|
1001
1119
|
readonly txUrl: "https://solscan.io/tx/";
|
|
@@ -1076,7 +1194,7 @@ export declare const spokeChainConfig: {
|
|
|
1076
1194
|
readonly address: "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
|
|
1077
1195
|
readonly chainKey: "solana";
|
|
1078
1196
|
readonly hubAsset: "0x942f89a324d2652e447b9fcf08effc9f9776a680";
|
|
1079
|
-
readonly vault: "
|
|
1197
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
1080
1198
|
};
|
|
1081
1199
|
readonly mSOL: {
|
|
1082
1200
|
readonly symbol: "mSOL";
|
|
@@ -1123,6 +1241,78 @@ export declare const spokeChainConfig: {
|
|
|
1123
1241
|
readonly hubAsset: "0x0076b67235bfc69b649d29dd7cb66e5b92b618aa";
|
|
1124
1242
|
readonly vault: "0x0076b67235bfc69b649d29dd7cb66e5b92b618aa";
|
|
1125
1243
|
};
|
|
1244
|
+
readonly CRCLx: {
|
|
1245
|
+
readonly symbol: "CRCLx";
|
|
1246
|
+
readonly name: "Circle xStock";
|
|
1247
|
+
readonly decimals: 8;
|
|
1248
|
+
readonly address: "XsueG8BtpquVJX9LVLLEGuViXUungE6WmK5YZ3p3bd1";
|
|
1249
|
+
readonly chainKey: "solana";
|
|
1250
|
+
readonly hubAsset: "0x64659130a3373b3527146b38fc1fccf017bc0c61";
|
|
1251
|
+
readonly vault: "0x64659130a3373b3527146b38fc1fccf017bc0c61";
|
|
1252
|
+
};
|
|
1253
|
+
readonly TSLAx: {
|
|
1254
|
+
readonly symbol: "TSLAx";
|
|
1255
|
+
readonly name: "Tesla xStock";
|
|
1256
|
+
readonly decimals: 8;
|
|
1257
|
+
readonly address: "XsDoVfqeBukxuZHWhdvWHBhgEHjGNst4MLodqsJHzoB";
|
|
1258
|
+
readonly chainKey: "solana";
|
|
1259
|
+
readonly hubAsset: "0x3cc867f6f4d1817b6230b781125301363fce370c";
|
|
1260
|
+
readonly vault: "0x3cc867f6f4d1817b6230b781125301363fce370c";
|
|
1261
|
+
};
|
|
1262
|
+
readonly SPYx: {
|
|
1263
|
+
readonly symbol: "SPYx";
|
|
1264
|
+
readonly name: "SP500 xStock";
|
|
1265
|
+
readonly decimals: 8;
|
|
1266
|
+
readonly address: "XsoCS1TfEyfFhfvj8EtZ528L3CaKBDBRqRapnBbDF2W";
|
|
1267
|
+
readonly chainKey: "solana";
|
|
1268
|
+
readonly hubAsset: "0xea66dbe82ebcb6c3a55b2db3d722b676be63a26e";
|
|
1269
|
+
readonly vault: "0xea66dbe82ebcb6c3a55b2db3d722b676be63a26e";
|
|
1270
|
+
};
|
|
1271
|
+
readonly NVDAx: {
|
|
1272
|
+
readonly symbol: "NVDAx";
|
|
1273
|
+
readonly name: "NVIDIA xStock";
|
|
1274
|
+
readonly decimals: 8;
|
|
1275
|
+
readonly address: "Xsc9qvGR1efVDFGLrVsmkzv3qi45LTBjeUKSPmx9qEh";
|
|
1276
|
+
readonly chainKey: "solana";
|
|
1277
|
+
readonly hubAsset: "0x48303c90f4136bc3101b308c8b50c55745aaf317";
|
|
1278
|
+
readonly vault: "0x48303c90f4136bc3101b308c8b50c55745aaf317";
|
|
1279
|
+
};
|
|
1280
|
+
readonly QQQx: {
|
|
1281
|
+
readonly symbol: "QQQx";
|
|
1282
|
+
readonly name: "Nasdaq xStock";
|
|
1283
|
+
readonly decimals: 8;
|
|
1284
|
+
readonly address: "Xs8S1uUs1zvS2p7iwtsG3b6fkhpvmwz4GYU3gWAmWHZ";
|
|
1285
|
+
readonly chainKey: "solana";
|
|
1286
|
+
readonly hubAsset: "0x4448b894740198ab76c83c8850d73f7dc8e4b9b3";
|
|
1287
|
+
readonly vault: "0x4448b894740198ab76c83c8850d73f7dc8e4b9b3";
|
|
1288
|
+
};
|
|
1289
|
+
readonly MSTRx: {
|
|
1290
|
+
readonly symbol: "MSTRx";
|
|
1291
|
+
readonly name: "MicroStrategy xStock";
|
|
1292
|
+
readonly decimals: 8;
|
|
1293
|
+
readonly address: "XsP7xzNPvEHS1m6qfanPUGjNmdnmsLKEoNAnHjdxxyZ";
|
|
1294
|
+
readonly chainKey: "solana";
|
|
1295
|
+
readonly hubAsset: "0xc46c34961802355c5223a115568fdf18a51ad6f6";
|
|
1296
|
+
readonly vault: "0xc46c34961802355c5223a115568fdf18a51ad6f6";
|
|
1297
|
+
};
|
|
1298
|
+
readonly COINx: {
|
|
1299
|
+
readonly symbol: "COINx";
|
|
1300
|
+
readonly name: "Coinbase xStock";
|
|
1301
|
+
readonly decimals: 8;
|
|
1302
|
+
readonly address: "Xs7ZdzSHLU9ftNJsii5fCeJhoRWSC32SQGzGQtePxNu";
|
|
1303
|
+
readonly chainKey: "solana";
|
|
1304
|
+
readonly hubAsset: "0xf444586e95166da0754052f03f344cf1152abe7d";
|
|
1305
|
+
readonly vault: "0xf444586e95166da0754052f03f344cf1152abe7d";
|
|
1306
|
+
};
|
|
1307
|
+
readonly GOOGLx: {
|
|
1308
|
+
readonly symbol: "GOOGLx";
|
|
1309
|
+
readonly name: "Alphabet xStock";
|
|
1310
|
+
readonly decimals: 8;
|
|
1311
|
+
readonly address: "XsCPL9dNWBMvFtTmwcCA5v3xWPSMEBCszbQdiLLq6aN";
|
|
1312
|
+
readonly chainKey: "solana";
|
|
1313
|
+
readonly hubAsset: "0x024230dd63b27df90d988d6f37a69d4de627ce89";
|
|
1314
|
+
readonly vault: "0x024230dd63b27df90d988d6f37a69d4de627ce89";
|
|
1315
|
+
};
|
|
1126
1316
|
};
|
|
1127
1317
|
readonly gasPrice: "500000";
|
|
1128
1318
|
readonly rpcUrl: "https://api.mainnet-beta.solana.com";
|
|
@@ -1139,6 +1329,7 @@ export declare const spokeChainConfig: {
|
|
|
1139
1329
|
readonly type: "EVM";
|
|
1140
1330
|
readonly chainId: 43114;
|
|
1141
1331
|
readonly mainnet: true;
|
|
1332
|
+
readonly logo: string;
|
|
1142
1333
|
readonly explorer: {
|
|
1143
1334
|
readonly baseUrl: "https://snowtrace.io/";
|
|
1144
1335
|
readonly txUrl: "https://snowtrace.io/tx/";
|
|
@@ -1221,6 +1412,7 @@ export declare const spokeChainConfig: {
|
|
|
1221
1412
|
readonly type: "EVM";
|
|
1222
1413
|
readonly chainId: 42161;
|
|
1223
1414
|
readonly mainnet: true;
|
|
1415
|
+
readonly logo: string;
|
|
1224
1416
|
readonly explorer: {
|
|
1225
1417
|
readonly baseUrl: "https://arbiscan.io/";
|
|
1226
1418
|
readonly txUrl: "https://arbiscan.io/tx/";
|
|
@@ -1337,6 +1529,15 @@ export declare const spokeChainConfig: {
|
|
|
1337
1529
|
readonly hubAsset: "0x8794A87979efA70bBE29Ed3357e9A93932B48675";
|
|
1338
1530
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
1339
1531
|
};
|
|
1532
|
+
readonly USDS: {
|
|
1533
|
+
readonly symbol: "USDS";
|
|
1534
|
+
readonly name: "USDS Stablecoin";
|
|
1535
|
+
readonly decimals: 18;
|
|
1536
|
+
readonly address: "0x6491c05A82219b8D1479057361ff1654749b876b";
|
|
1537
|
+
readonly chainKey: "0xa4b1.arbitrum";
|
|
1538
|
+
readonly hubAsset: "0x856c02acdD01947788dc5D218A3cb2c4C9BdEed2";
|
|
1539
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1540
|
+
};
|
|
1340
1541
|
readonly ARB: {
|
|
1341
1542
|
readonly symbol: "ARB";
|
|
1342
1543
|
readonly name: "Arbitrum";
|
|
@@ -1413,6 +1614,7 @@ export declare const spokeChainConfig: {
|
|
|
1413
1614
|
readonly type: "EVM";
|
|
1414
1615
|
readonly chainId: 8453;
|
|
1415
1616
|
readonly mainnet: true;
|
|
1617
|
+
readonly logo: string;
|
|
1416
1618
|
readonly explorer: {
|
|
1417
1619
|
readonly baseUrl: "https://basescan.org/";
|
|
1418
1620
|
readonly txUrl: "https://basescan.org/tx/";
|
|
@@ -1464,6 +1666,15 @@ export declare const spokeChainConfig: {
|
|
|
1464
1666
|
readonly hubAsset: "0x72E852545B024ddCbc5b70C1bCBDAA025164259C";
|
|
1465
1667
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
1466
1668
|
};
|
|
1669
|
+
readonly USDS: {
|
|
1670
|
+
readonly symbol: "USDS";
|
|
1671
|
+
readonly name: "USDS Stablecoin";
|
|
1672
|
+
readonly decimals: 18;
|
|
1673
|
+
readonly address: "0x820C137fa70C8691f0e44Dc420a5e53c168921Dc";
|
|
1674
|
+
readonly chainKey: "0x2105.base";
|
|
1675
|
+
readonly hubAsset: "0xFE9b81eF40419Ef9Ce62cCff197345D78c552945";
|
|
1676
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
1677
|
+
};
|
|
1467
1678
|
readonly wstETH: {
|
|
1468
1679
|
readonly symbol: "wstETH";
|
|
1469
1680
|
readonly name: "Wrapped stETH";
|
|
@@ -1519,6 +1730,15 @@ export declare const spokeChainConfig: {
|
|
|
1519
1730
|
readonly hubAsset: "0xaa81bb5ba3c972ab53605d3ba7e443a3de6d1cb9";
|
|
1520
1731
|
readonly vault: "0xaa81bb5ba3c972ab53605d3ba7e443a3de6d1cb9";
|
|
1521
1732
|
};
|
|
1733
|
+
readonly AERO: {
|
|
1734
|
+
readonly symbol: "AERO";
|
|
1735
|
+
readonly name: "Aerodrome Finance";
|
|
1736
|
+
readonly decimals: 18;
|
|
1737
|
+
readonly address: "0x940181a94A35A4569e4529A3CDfB74e38FD98631";
|
|
1738
|
+
readonly chainKey: "0x2105.base";
|
|
1739
|
+
readonly hubAsset: "0x348e086ab6f424dfc575a325c28624ed23973173";
|
|
1740
|
+
readonly vault: "0x348e086ab6f424dfc575a325c28624ed23973173";
|
|
1741
|
+
};
|
|
1522
1742
|
};
|
|
1523
1743
|
readonly pollingConfig: {
|
|
1524
1744
|
readonly pollingIntervalMs: 1000;
|
|
@@ -1532,6 +1752,7 @@ export declare const spokeChainConfig: {
|
|
|
1532
1752
|
readonly type: "EVM";
|
|
1533
1753
|
readonly chainId: 10;
|
|
1534
1754
|
readonly mainnet: true;
|
|
1755
|
+
readonly logo: string;
|
|
1535
1756
|
readonly explorer: {
|
|
1536
1757
|
readonly baseUrl: "https://optimistic.etherscan.io/";
|
|
1537
1758
|
readonly txUrl: "https://optimistic.etherscan.io/tx/";
|
|
@@ -1641,6 +1862,7 @@ export declare const spokeChainConfig: {
|
|
|
1641
1862
|
readonly type: "EVM";
|
|
1642
1863
|
readonly chainId: 56;
|
|
1643
1864
|
readonly mainnet: true;
|
|
1865
|
+
readonly logo: string;
|
|
1644
1866
|
readonly explorer: {
|
|
1645
1867
|
readonly baseUrl: "https://bscscan.com/";
|
|
1646
1868
|
readonly txUrl: "https://bscscan.com/tx/";
|
|
@@ -1831,6 +2053,7 @@ export declare const spokeChainConfig: {
|
|
|
1831
2053
|
readonly type: "EVM";
|
|
1832
2054
|
readonly chainId: 137;
|
|
1833
2055
|
readonly mainnet: true;
|
|
2056
|
+
readonly logo: string;
|
|
1834
2057
|
readonly explorer: {
|
|
1835
2058
|
readonly baseUrl: "https://polygonscan.com/";
|
|
1836
2059
|
readonly txUrl: "https://polygonscan.com/tx/";
|
|
@@ -1949,6 +2172,7 @@ export declare const spokeChainConfig: {
|
|
|
1949
2172
|
readonly type: "EVM";
|
|
1950
2173
|
readonly chainId: 999;
|
|
1951
2174
|
readonly mainnet: true;
|
|
2175
|
+
readonly logo: string;
|
|
1952
2176
|
readonly explorer: {
|
|
1953
2177
|
readonly baseUrl: "https://hyperevmscan.io/";
|
|
1954
2178
|
readonly txUrl: "https://hyperevmscan.io/tx/";
|
|
@@ -2058,6 +2282,7 @@ export declare const spokeChainConfig: {
|
|
|
2058
2282
|
readonly type: "EVM";
|
|
2059
2283
|
readonly chainId: 1890;
|
|
2060
2284
|
readonly mainnet: true;
|
|
2285
|
+
readonly logo: string;
|
|
2061
2286
|
readonly explorer: {
|
|
2062
2287
|
readonly baseUrl: "https://phoenix.lightlink.io/";
|
|
2063
2288
|
readonly txUrl: "https://phoenix.lightlink.io/tx/";
|
|
@@ -2236,6 +2461,7 @@ export declare const spokeChainConfig: {
|
|
|
2236
2461
|
readonly type: "INJECTIVE";
|
|
2237
2462
|
readonly chainId: "injective-1";
|
|
2238
2463
|
readonly mainnet: true;
|
|
2464
|
+
readonly logo: string;
|
|
2239
2465
|
readonly explorer: {
|
|
2240
2466
|
readonly baseUrl: "https://www.mintscan.io/injective/";
|
|
2241
2467
|
readonly txUrl: "https://www.mintscan.io/injective/tx/";
|
|
@@ -2314,6 +2540,7 @@ export declare const spokeChainConfig: {
|
|
|
2314
2540
|
readonly type: "BITCOIN";
|
|
2315
2541
|
readonly chainId: "bitcoin";
|
|
2316
2542
|
readonly mainnet: true;
|
|
2543
|
+
readonly logo: string;
|
|
2317
2544
|
readonly explorer: {
|
|
2318
2545
|
readonly baseUrl: "https://mempool.space/";
|
|
2319
2546
|
readonly txUrl: "https://mempool.space/tx/";
|
|
@@ -2345,9 +2572,9 @@ export declare const spokeChainConfig: {
|
|
|
2345
2572
|
};
|
|
2346
2573
|
readonly radfi: {
|
|
2347
2574
|
readonly walletMode: "TRADING";
|
|
2348
|
-
readonly apiUrl: "https://api.
|
|
2575
|
+
readonly apiUrl: "https://api.bound.exchange/api";
|
|
2349
2576
|
readonly apiKey: "";
|
|
2350
|
-
readonly umsUrl: "https://ums.
|
|
2577
|
+
readonly umsUrl: "https://api.ums.bound.exchange/api";
|
|
2351
2578
|
readonly accessToken: "";
|
|
2352
2579
|
readonly refreshToken: "";
|
|
2353
2580
|
};
|
|
@@ -2377,6 +2604,18 @@ export declare const spokeChainConfig: {
|
|
|
2377
2604
|
readonly assetCode: "SODA";
|
|
2378
2605
|
readonly contractId: "CAH5LKJC2ZB4RVUVEVL2QWJWNJLHQE2UF767ILLQ5EQ4O3OURR2XIUGM";
|
|
2379
2606
|
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2607
|
+
}, {
|
|
2608
|
+
readonly assetCode: "sodaETH";
|
|
2609
|
+
readonly contractId: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
|
|
2610
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2611
|
+
}, {
|
|
2612
|
+
readonly assetCode: "sodaBTC";
|
|
2613
|
+
readonly contractId: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
|
|
2614
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2615
|
+
}, {
|
|
2616
|
+
readonly assetCode: "sodaBNB";
|
|
2617
|
+
readonly contractId: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
|
|
2618
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2380
2619
|
}];
|
|
2381
2620
|
readonly supportedTokens: {
|
|
2382
2621
|
readonly bnUSD: {
|
|
@@ -2424,6 +2663,33 @@ export declare const spokeChainConfig: {
|
|
|
2424
2663
|
readonly hubAsset: "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc";
|
|
2425
2664
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
2426
2665
|
};
|
|
2666
|
+
readonly sodaETH: {
|
|
2667
|
+
readonly symbol: "sodaETH";
|
|
2668
|
+
readonly name: "Soda ETH";
|
|
2669
|
+
readonly decimals: 7;
|
|
2670
|
+
readonly address: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
|
|
2671
|
+
readonly chainKey: "stellar";
|
|
2672
|
+
readonly hubAsset: "0x4985a4b72ac723723e9ae82382d12d77e9a715de";
|
|
2673
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
2674
|
+
};
|
|
2675
|
+
readonly sodaBTC: {
|
|
2676
|
+
readonly symbol: "sodaBTC";
|
|
2677
|
+
readonly name: "Soda BTC";
|
|
2678
|
+
readonly decimals: 7;
|
|
2679
|
+
readonly address: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
|
|
2680
|
+
readonly chainKey: "stellar";
|
|
2681
|
+
readonly hubAsset: "0xddee01f63c18843e2bac30cb702864d7632c83a2";
|
|
2682
|
+
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2683
|
+
};
|
|
2684
|
+
readonly sodaBNB: {
|
|
2685
|
+
readonly symbol: "sodaBNB";
|
|
2686
|
+
readonly name: "Soda BNB";
|
|
2687
|
+
readonly decimals: 7;
|
|
2688
|
+
readonly address: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
|
|
2689
|
+
readonly chainKey: "stellar";
|
|
2690
|
+
readonly hubAsset: "0xa10be5f5c2dea7d272555dc73ea2a7317c3c5b63";
|
|
2691
|
+
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
2692
|
+
};
|
|
2427
2693
|
};
|
|
2428
2694
|
readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
2429
2695
|
readonly bnUSD: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
@@ -2435,6 +2701,7 @@ export declare const spokeChainConfig: {
|
|
|
2435
2701
|
readonly type: "STELLAR";
|
|
2436
2702
|
readonly chainId: "stellar";
|
|
2437
2703
|
readonly mainnet: true;
|
|
2704
|
+
readonly logo: string;
|
|
2438
2705
|
readonly explorer: {
|
|
2439
2706
|
readonly baseUrl: "https://stellar.expert/explorer/public/";
|
|
2440
2707
|
readonly txUrl: "https://stellar.expert/explorer/public/tx/";
|
|
@@ -2603,6 +2870,7 @@ export declare const spokeChainConfig: {
|
|
|
2603
2870
|
readonly type: "SUI";
|
|
2604
2871
|
readonly chainId: "sui";
|
|
2605
2872
|
readonly mainnet: true;
|
|
2873
|
+
readonly logo: string;
|
|
2606
2874
|
readonly explorer: {
|
|
2607
2875
|
readonly baseUrl: "https://suivision.xyz/";
|
|
2608
2876
|
readonly txUrl: "https://suivision.xyz/txblock/";
|
|
@@ -2630,6 +2898,7 @@ export declare const spokeChainConfig: {
|
|
|
2630
2898
|
readonly type: "ICON";
|
|
2631
2899
|
readonly chainId: "0x1.icon";
|
|
2632
2900
|
readonly mainnet: true;
|
|
2901
|
+
readonly logo: string;
|
|
2633
2902
|
readonly explorer: {
|
|
2634
2903
|
readonly baseUrl: "https://tracker.icon.community/";
|
|
2635
2904
|
readonly txUrl: "https://tracker.icon.community/transaction/";
|
|
@@ -2771,6 +3040,7 @@ export declare const spokeChainConfig: {
|
|
|
2771
3040
|
readonly type: "EVM";
|
|
2772
3041
|
readonly chainId: 1;
|
|
2773
3042
|
readonly mainnet: true;
|
|
3043
|
+
readonly logo: string;
|
|
2774
3044
|
readonly explorer: {
|
|
2775
3045
|
readonly baseUrl: "https://etherscan.io/";
|
|
2776
3046
|
readonly txUrl: "https://etherscan.io/tx/";
|
|
@@ -2822,6 +3092,15 @@ export declare const spokeChainConfig: {
|
|
|
2822
3092
|
readonly hubAsset: "0x46bd0ce9b2b455ac4377cd142ecb8b719715197d";
|
|
2823
3093
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
2824
3094
|
};
|
|
3095
|
+
readonly USDS: {
|
|
3096
|
+
readonly symbol: "USDS";
|
|
3097
|
+
readonly name: "USDS Stablecoin";
|
|
3098
|
+
readonly decimals: 18;
|
|
3099
|
+
readonly address: "0xdC035D45d973E3EC169d2276DDab16f1e407384F";
|
|
3100
|
+
readonly chainKey: "ethereum";
|
|
3101
|
+
readonly hubAsset: "0x31D3a9319C76EC4A474721966dA65b94e6bFc9eF";
|
|
3102
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
3103
|
+
};
|
|
2825
3104
|
readonly LL: {
|
|
2826
3105
|
readonly symbol: "LL";
|
|
2827
3106
|
readonly name: "LightLink";
|
|
@@ -3034,6 +3313,7 @@ export declare const spokeChainConfig: {
|
|
|
3034
3313
|
readonly type: "EVM";
|
|
3035
3314
|
readonly chainId: 8217;
|
|
3036
3315
|
readonly mainnet: true;
|
|
3316
|
+
readonly logo: string;
|
|
3037
3317
|
readonly explorer: {
|
|
3038
3318
|
readonly baseUrl: "https://klaytnfinder.io/";
|
|
3039
3319
|
readonly txUrl: "https://klaytnfinder.io/tx/";
|
|
@@ -3104,6 +3384,7 @@ export declare const spokeChainConfig: {
|
|
|
3104
3384
|
readonly type: "STACKS";
|
|
3105
3385
|
readonly chainId: "stacks";
|
|
3106
3386
|
readonly mainnet: true;
|
|
3387
|
+
readonly logo: string;
|
|
3107
3388
|
readonly explorer: {
|
|
3108
3389
|
readonly baseUrl: "https://explorer.hiro.so/";
|
|
3109
3390
|
readonly txUrl: "https://explorer.hiro.so/txid/";
|
|
@@ -3166,11 +3447,76 @@ export declare const spokeChainConfig: {
|
|
|
3166
3447
|
readonly maxTimeoutMs: 120000;
|
|
3167
3448
|
};
|
|
3168
3449
|
};
|
|
3450
|
+
readonly hedera: {
|
|
3451
|
+
readonly chain: {
|
|
3452
|
+
readonly name: "Hedera";
|
|
3453
|
+
readonly key: "hedera";
|
|
3454
|
+
readonly type: "EVM";
|
|
3455
|
+
readonly chainId: 295;
|
|
3456
|
+
readonly mainnet: true;
|
|
3457
|
+
readonly logo: string;
|
|
3458
|
+
readonly explorer: {
|
|
3459
|
+
readonly baseUrl: "https://hashscan.io/mainnet/";
|
|
3460
|
+
readonly txUrl: "https://hashscan.io/mainnet/transaction/";
|
|
3461
|
+
readonly addressUrl: "https://hashscan.io/mainnet/account/";
|
|
3462
|
+
readonly contractUrl: "https://hashscan.io/mainnet/contract/";
|
|
3463
|
+
};
|
|
3464
|
+
};
|
|
3465
|
+
readonly rpcUrl: "https://mainnet.hashio.io/api";
|
|
3466
|
+
readonly addresses: {
|
|
3467
|
+
readonly assetManager: "0x0df73542cC68bDC01b361d231c60F726B0e0bC05";
|
|
3468
|
+
readonly connection: "0x4555aC13D7338D9E671584C1D118c06B2a3C88eD";
|
|
3469
|
+
};
|
|
3470
|
+
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
3471
|
+
readonly bnUSD: "0x0000000000000000000000000000000000a0286a";
|
|
3472
|
+
readonly supportedTokens: {
|
|
3473
|
+
readonly HBAR: {
|
|
3474
|
+
readonly symbol: "HBAR";
|
|
3475
|
+
readonly name: "HBAR";
|
|
3476
|
+
readonly decimals: 8;
|
|
3477
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
3478
|
+
readonly chainKey: "hedera";
|
|
3479
|
+
readonly hubAsset: "0x5c18c543b6B6EA97dE739F48C49CfC291B3AD465";
|
|
3480
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
3481
|
+
};
|
|
3482
|
+
readonly bnUSD: {
|
|
3483
|
+
readonly symbol: "bnUSD";
|
|
3484
|
+
readonly name: "bnUSD";
|
|
3485
|
+
readonly decimals: 8;
|
|
3486
|
+
readonly address: "0x0000000000000000000000000000000000a0286a";
|
|
3487
|
+
readonly chainKey: "hedera";
|
|
3488
|
+
readonly hubAsset: "0x44be1984cd279334a630469fa357305c7dba2837";
|
|
3489
|
+
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
3490
|
+
};
|
|
3491
|
+
readonly SODA: {
|
|
3492
|
+
readonly symbol: "SODA";
|
|
3493
|
+
readonly name: "SODAX";
|
|
3494
|
+
readonly decimals: 8;
|
|
3495
|
+
readonly address: "0x0000000000000000000000000000000000a02869";
|
|
3496
|
+
readonly chainKey: "hedera";
|
|
3497
|
+
readonly hubAsset: "0x1217721376839dbffe78093ddd5d8e50d0239b3f";
|
|
3498
|
+
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
3499
|
+
};
|
|
3500
|
+
readonly USDC: {
|
|
3501
|
+
readonly symbol: "USDC";
|
|
3502
|
+
readonly name: "USD Coin";
|
|
3503
|
+
readonly decimals: 6;
|
|
3504
|
+
readonly address: "0x000000000000000000000000000000000006f89a";
|
|
3505
|
+
readonly chainKey: "hedera";
|
|
3506
|
+
readonly hubAsset: "0xafafae0c1476424c4b81f09095bd7dcb858047c8";
|
|
3507
|
+
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3510
|
+
readonly pollingConfig: {
|
|
3511
|
+
readonly pollingIntervalMs: 2000;
|
|
3512
|
+
readonly maxTimeoutMs: 60000;
|
|
3513
|
+
};
|
|
3514
|
+
};
|
|
3169
3515
|
};
|
|
3170
3516
|
export declare const supportedSpokeChains: SpokeChainKey[];
|
|
3171
3517
|
export type GetChainType<C extends SpokeChainKey | ChainType | undefined> = C extends undefined ? undefined : C extends ChainType ? C : C extends SpokeChainKey ? (typeof spokeChainConfig)[C]['chain']['type'] : ChainType;
|
|
3172
3518
|
export declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
|
|
3173
|
-
export declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks")[];
|
|
3519
|
+
export declare const newbnUSDSpokeChainIds: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks" | "hedera")[];
|
|
3174
3520
|
export type LegacybnUSDChainId = (typeof bnUSDLegacySpokeChainIds)[number];
|
|
3175
3521
|
export declare const bnUSDLegacyTokens: readonly [{
|
|
3176
3522
|
readonly symbol: "bnUSD (legacy)";
|
|
@@ -3207,6 +3553,7 @@ export declare const hubConfig: {
|
|
|
3207
3553
|
readonly type: "EVM";
|
|
3208
3554
|
readonly chainId: 146;
|
|
3209
3555
|
readonly mainnet: true;
|
|
3556
|
+
readonly logo: string;
|
|
3210
3557
|
readonly explorer: {
|
|
3211
3558
|
readonly baseUrl: "https://sonicscan.org/";
|
|
3212
3559
|
readonly txUrl: "https://sonicscan.org/tx/";
|
|
@@ -3230,6 +3577,33 @@ export declare const hubConfig: {
|
|
|
3230
3577
|
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
3231
3578
|
readonly wrappedNativeToken: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
|
|
3232
3579
|
readonly supportedTokens: {
|
|
3580
|
+
readonly lsodaWEETH: {
|
|
3581
|
+
readonly symbol: "lsodaWEETH";
|
|
3582
|
+
readonly name: "Leveraged Soda weETH";
|
|
3583
|
+
readonly decimals: 18;
|
|
3584
|
+
readonly address: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
3585
|
+
readonly chainKey: "sonic";
|
|
3586
|
+
readonly hubAsset: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
3587
|
+
readonly vault: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
|
|
3588
|
+
};
|
|
3589
|
+
readonly lsodaWSTETH: {
|
|
3590
|
+
readonly symbol: "lsodaWSTETH";
|
|
3591
|
+
readonly name: "Leveraged Soda wstETH";
|
|
3592
|
+
readonly decimals: 18;
|
|
3593
|
+
readonly address: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
3594
|
+
readonly chainKey: "sonic";
|
|
3595
|
+
readonly hubAsset: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
3596
|
+
readonly vault: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
|
|
3597
|
+
};
|
|
3598
|
+
readonly lsodaJITOSOL: {
|
|
3599
|
+
readonly symbol: "lsodaJITOSOL";
|
|
3600
|
+
readonly name: "Leveraged Soda JITOSOL";
|
|
3601
|
+
readonly decimals: 18;
|
|
3602
|
+
readonly address: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
3603
|
+
readonly chainKey: "sonic";
|
|
3604
|
+
readonly hubAsset: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
3605
|
+
readonly vault: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
|
|
3606
|
+
};
|
|
3233
3607
|
readonly sodaBNB: {
|
|
3234
3608
|
readonly symbol: "sodaBNB";
|
|
3235
3609
|
readonly name: "Soda BNB";
|
|
@@ -3446,15 +3820,51 @@ export declare const hubConfig: {
|
|
|
3446
3820
|
readonly hubAsset: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
3447
3821
|
readonly vault: "0x1Fbe5229e9d189F26bEE77E5bFa24309FdA90483";
|
|
3448
3822
|
};
|
|
3449
|
-
readonly
|
|
3450
|
-
readonly symbol: "
|
|
3451
|
-
readonly name: "
|
|
3823
|
+
readonly sodaSUSDS: {
|
|
3824
|
+
readonly symbol: "sodaSUSDS";
|
|
3825
|
+
readonly name: "SODA sUSDS";
|
|
3452
3826
|
readonly decimals: 18;
|
|
3453
3827
|
readonly address: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
3454
3828
|
readonly chainKey: "sonic";
|
|
3455
3829
|
readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
3456
3830
|
readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
|
|
3457
3831
|
};
|
|
3832
|
+
readonly sodaHBAR: {
|
|
3833
|
+
readonly symbol: "sodaHBAR";
|
|
3834
|
+
readonly name: "Soda HBAR";
|
|
3835
|
+
readonly decimals: 18;
|
|
3836
|
+
readonly address: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
3837
|
+
readonly chainKey: "sonic";
|
|
3838
|
+
readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
3839
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
3840
|
+
};
|
|
3841
|
+
readonly sodaJITOSOL: {
|
|
3842
|
+
readonly symbol: "sodaJITOSOL";
|
|
3843
|
+
readonly name: "Soda JITOSOL";
|
|
3844
|
+
readonly decimals: 18;
|
|
3845
|
+
readonly address: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
3846
|
+
readonly chainKey: "sonic";
|
|
3847
|
+
readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
3848
|
+
readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
|
|
3849
|
+
};
|
|
3850
|
+
readonly sodaUSDS: {
|
|
3851
|
+
readonly symbol: "sodaUSDS";
|
|
3852
|
+
readonly name: "Soda USDS";
|
|
3853
|
+
readonly decimals: 18;
|
|
3854
|
+
readonly address: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
3855
|
+
readonly chainKey: "sonic";
|
|
3856
|
+
readonly hubAsset: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
3857
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
3858
|
+
};
|
|
3859
|
+
readonly sodaUSSD: {
|
|
3860
|
+
readonly symbol: "sodaUSSD";
|
|
3861
|
+
readonly name: "Soda USSD";
|
|
3862
|
+
readonly decimals: 18;
|
|
3863
|
+
readonly address: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
3864
|
+
readonly chainKey: "sonic";
|
|
3865
|
+
readonly hubAsset: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
3866
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
3867
|
+
};
|
|
3458
3868
|
readonly S: {
|
|
3459
3869
|
readonly symbol: "S";
|
|
3460
3870
|
readonly name: "Sonic";
|
|
@@ -3518,6 +3928,15 @@ export declare const hubConfig: {
|
|
|
3518
3928
|
readonly hubAsset: "0x7c7d53EEcda37a87ce0D5bf8E0b24512A48dC963";
|
|
3519
3929
|
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
3520
3930
|
};
|
|
3931
|
+
readonly USSD: {
|
|
3932
|
+
readonly symbol: "USSD";
|
|
3933
|
+
readonly name: "US Sonic Dollar";
|
|
3934
|
+
readonly decimals: 18;
|
|
3935
|
+
readonly address: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
3936
|
+
readonly chainKey: "sonic";
|
|
3937
|
+
readonly hubAsset: "0x000000000eCcFf26B795F73fb0A70d48da657fEf";
|
|
3938
|
+
readonly vault: "0xb780e09576C2667ba9F5B80FbAb2e6b8A0a21e37";
|
|
3939
|
+
};
|
|
3521
3940
|
};
|
|
3522
3941
|
readonly bnUSD: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
3523
3942
|
readonly pollingConfig: {
|