@sodax/types 2.1.0-rc.6 → 2.1.0-rc.8
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/backendBridgeApiV2.d.ts +6 -0
- package/dist/chains/chain-keys.d.ts +3 -2
- package/dist/chains/chain-keys.js +1 -0
- package/dist/chains/chains.d.ts +360 -9
- package/dist/chains/chains.js +93 -2
- package/dist/chains/tokens.d.ts +514 -6
- package/dist/chains/tokens.js +258 -3
- package/dist/common/constants.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/moneyMarket/moneyMarket.d.ts +386 -0
- package/dist/moneyMarket/moneyMarket.js +29 -1
- package/dist/sodax-config/sodax-config.d.ts +812 -32
- package/dist/sui/core.d.ts +37 -0
- package/dist/sui/core.js +25 -0
- package/dist/sui/index.d.ts +2 -0
- package/dist/sui/index.js +2 -0
- package/dist/sui/sui.d.ts +15 -1
- package/dist/sui/transport.d.ts +26 -0
- package/dist/sui/transport.js +1 -0
- package/dist/swap/swap.d.ts +523 -40
- package/dist/swap/swap.js +42 -8
- package/package.json +3 -2
|
@@ -79,6 +79,12 @@ export interface BridgeAllowanceCheckResponseV2 {
|
|
|
79
79
|
export interface BridgeApproveResponseV2 {
|
|
80
80
|
/** Unsigned approval transaction — the `RawTxReturnType` variant for the request's `srcChainKey`. */
|
|
81
81
|
tx: RawTxReturnType;
|
|
82
|
+
/**
|
|
83
|
+
* Unsigned transaction that zeroes a stale allowance, present only when the source token rejects an
|
|
84
|
+
* allowance change from one non-zero value to another (the 2017 TetherToken lineage). Broadcast it
|
|
85
|
+
* and wait for it to be mined before `tx` — the approve is not valid until the allowance reads zero.
|
|
86
|
+
*/
|
|
87
|
+
resetTx?: RawTxReturnType;
|
|
82
88
|
}
|
|
83
89
|
/**
|
|
84
90
|
* POST /bridge/intents — response body. No `intent` struct (bridge is vault-backed,
|
|
@@ -24,8 +24,9 @@ export declare const ChainKeys: {
|
|
|
24
24
|
readonly KAIA_MAINNET: "0x2019.kaia";
|
|
25
25
|
readonly STACKS_MAINNET: "stacks";
|
|
26
26
|
readonly HEDERA_MAINNET: "hedera";
|
|
27
|
+
readonly ROBINHOOD_MAINNET: "robinhood";
|
|
27
28
|
};
|
|
28
29
|
export type ChainKey = (typeof ChainKeys)[keyof typeof ChainKeys];
|
|
29
|
-
export declare const CHAIN_KEYS: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks" | "hedera")[];
|
|
30
|
-
export declare const spokeChainKeysSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks" | "hedera">;
|
|
30
|
+
export declare const CHAIN_KEYS: ("0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks" | "hedera" | "robinhood")[];
|
|
31
|
+
export declare const spokeChainKeysSet: Set<"0xa86a.avax" | "0xa4b1.arbitrum" | "0x2105.base" | "0x38.bsc" | "injective-1" | "sonic" | "0x1.icon" | "sui" | "0xa.optimism" | "0x89.polygon" | "solana" | "stellar" | "hyper" | "lightlink" | "near" | "ethereum" | "bitcoin" | "redbelly" | "0x2019.kaia" | "stacks" | "hedera" | "robinhood">;
|
|
31
32
|
export type ChainType = (typeof ChainTypeArr)[number];
|
|
@@ -34,6 +34,7 @@ export const ChainKeys = {
|
|
|
34
34
|
KAIA_MAINNET: '0x2019.kaia',
|
|
35
35
|
STACKS_MAINNET: 'stacks',
|
|
36
36
|
HEDERA_MAINNET: 'hedera',
|
|
37
|
+
ROBINHOOD_MAINNET: 'robinhood',
|
|
37
38
|
};
|
|
38
39
|
export const CHAIN_KEYS = Object.values(ChainKeys);
|
|
39
40
|
export const spokeChainKeysSet = new Set(CHAIN_KEYS);
|
package/dist/chains/chains.d.ts
CHANGED
|
@@ -28,9 +28,10 @@ export declare const RelayChainIdMap: {
|
|
|
28
28
|
readonly "0x2019.kaia": 27489n;
|
|
29
29
|
readonly stacks: 60n;
|
|
30
30
|
readonly hedera: 18501n;
|
|
31
|
+
readonly robinhood: 21071n;
|
|
31
32
|
};
|
|
32
33
|
export type IntentChainId = (typeof RelayChainIdMap)[keyof typeof RelayChainIdMap];
|
|
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)[];
|
|
34
|
+
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 | 21071n)[];
|
|
34
35
|
export declare const IntentRelayChainIdToChainKey: Map<IntentRelayChainId, ChainKey>;
|
|
35
36
|
/**
|
|
36
37
|
* Base URL for default chain logos hosted in the `@sodax/assets` package.
|
|
@@ -333,6 +334,20 @@ export declare const baseChainInfo: {
|
|
|
333
334
|
readonly contractUrl: "https://hashscan.io/mainnet/contract/";
|
|
334
335
|
};
|
|
335
336
|
};
|
|
337
|
+
readonly robinhood: {
|
|
338
|
+
readonly name: "Robinhood Chain";
|
|
339
|
+
readonly key: "robinhood";
|
|
340
|
+
readonly type: "EVM";
|
|
341
|
+
readonly chainId: 4663;
|
|
342
|
+
readonly mainnet: true;
|
|
343
|
+
readonly logo: string;
|
|
344
|
+
readonly explorer: {
|
|
345
|
+
readonly baseUrl: "https://robinhoodchain.blockscout.com/";
|
|
346
|
+
readonly txUrl: "https://robinhoodchain.blockscout.com/tx/";
|
|
347
|
+
readonly addressUrl: "https://robinhoodchain.blockscout.com/address/";
|
|
348
|
+
readonly contractUrl: "https://robinhoodchain.blockscout.com/address/";
|
|
349
|
+
};
|
|
350
|
+
};
|
|
336
351
|
};
|
|
337
352
|
type ChainKeysByType<T extends ChainType> = {
|
|
338
353
|
[K in keyof typeof baseChainInfo]: (typeof baseChainInfo)[K]['type'] extends T ? K : never;
|
|
@@ -356,8 +371,8 @@ export type BitcoinChainKey = ChainKeysByType<'BITCOIN'>;
|
|
|
356
371
|
export declare const HUB_CHAIN_KEY: "sonic";
|
|
357
372
|
export declare const EVM_CHAIN_KEYS: ChainKeysByType<"EVM">[];
|
|
358
373
|
export declare const EVM_CHAIN_KEYS_SET: Set<ChainKeysByType<"EVM">>;
|
|
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">;
|
|
374
|
+
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" | "robinhood")[];
|
|
375
|
+
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" | "robinhood">;
|
|
361
376
|
export declare const SONIC_CHAIN_KEYS: readonly ["sonic"];
|
|
362
377
|
export declare const SONIC_CHAIN_KEYS_SET: Set<"sonic">;
|
|
363
378
|
export declare const SOLANA_CHAIN_KEYS: "solana"[];
|
|
@@ -511,7 +526,14 @@ export type SuiSpokeChainConfig = BaseSpokeChainConfig<'SUI'> & {
|
|
|
511
526
|
xTokenManager: string;
|
|
512
527
|
rateLimit: string;
|
|
513
528
|
};
|
|
514
|
-
|
|
529
|
+
/** gRPC-web endpoint. Mysten's public fullnodes stopped serving JSON-RPC in July 2026; `sui-node` drops it in October 2026. */
|
|
530
|
+
grpc_url: string;
|
|
531
|
+
/**
|
|
532
|
+
* @deprecated Renamed to `grpc_url`. Still honored so existing overrides keep working, and wins
|
|
533
|
+
* over `grpc_url` when set. A `sui-node` serves gRPC-web on the same origin as JSON-RPC, so a
|
|
534
|
+
* self-hosted or full-service endpoint needs no change; a JSON-RPC-only provider does.
|
|
535
|
+
*/
|
|
536
|
+
rpc_url?: string;
|
|
515
537
|
};
|
|
516
538
|
export type NearSpokeChainConfig = BaseSpokeChainConfig<'NEAR'> & {
|
|
517
539
|
addresses: {
|
|
@@ -1734,7 +1756,7 @@ export declare const spokeChainConfig: {
|
|
|
1734
1756
|
readonly symbol: "AERO";
|
|
1735
1757
|
readonly name: "Aerodrome Finance";
|
|
1736
1758
|
readonly decimals: 18;
|
|
1737
|
-
readonly address: "
|
|
1759
|
+
readonly address: "0x940181a94A35A4569E4529A3CDfB74e38FD98631";
|
|
1738
1760
|
readonly chainKey: "0x2105.base";
|
|
1739
1761
|
readonly hubAsset: "0x348e086ab6f424dfc575a325c28624ed23973173";
|
|
1740
1762
|
readonly vault: "0x348e086ab6f424dfc575a325c28624ed23973173";
|
|
@@ -2127,7 +2149,7 @@ export declare const spokeChainConfig: {
|
|
|
2127
2149
|
readonly symbol: "WBTC";
|
|
2128
2150
|
readonly name: "Wrapped BTC";
|
|
2129
2151
|
readonly decimals: 8;
|
|
2130
|
-
readonly address: "
|
|
2152
|
+
readonly address: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6";
|
|
2131
2153
|
readonly chainKey: "0x89.polygon";
|
|
2132
2154
|
readonly hubAsset: "0xf3182ae79be69d9e0cad5da8273d4300a7d585d3";
|
|
2133
2155
|
readonly vault: "0xf3182ae79be69d9e0cad5da8273d4300a7d585d3";
|
|
@@ -2145,7 +2167,7 @@ export declare const spokeChainConfig: {
|
|
|
2145
2167
|
readonly symbol: "LINK";
|
|
2146
2168
|
readonly name: "ChainLink Token";
|
|
2147
2169
|
readonly decimals: 18;
|
|
2148
|
-
readonly address: "
|
|
2170
|
+
readonly address: "0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39";
|
|
2149
2171
|
readonly chainKey: "0x89.polygon";
|
|
2150
2172
|
readonly hubAsset: "0x30d1be6ae96e9832674f1fcf429c5176bd891e1f";
|
|
2151
2173
|
readonly vault: "0x30d1be6ae96e9832674f1fcf429c5176bd891e1f";
|
|
@@ -2616,6 +2638,54 @@ export declare const spokeChainConfig: {
|
|
|
2616
2638
|
readonly assetCode: "sodaBNB";
|
|
2617
2639
|
readonly contractId: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
|
|
2618
2640
|
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2641
|
+
}, {
|
|
2642
|
+
readonly assetCode: "ETH";
|
|
2643
|
+
readonly contractId: "CCC6TZWLAHZT2NRVEEOZRPVLUKWVJVKZ3TM347DCCO2QBWNAA5MHROSJ";
|
|
2644
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly assetCode: "BTC";
|
|
2647
|
+
readonly contractId: "CBSKI7SY2AP6IIN7IBROZP2CJES67ARMHQYZWT7A7PKH67KGDK2DIRMA";
|
|
2648
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2649
|
+
}, {
|
|
2650
|
+
readonly assetCode: "BNB";
|
|
2651
|
+
readonly contractId: "CC6C3QCSK3WYM2ZENQ5MHA3QPNAKYOZFAGWH5PPU3MVDE3C2YNS7CHMF";
|
|
2652
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2653
|
+
}, {
|
|
2654
|
+
readonly assetCode: "SOL";
|
|
2655
|
+
readonly contractId: "CB5YRZTKA37DND672WZZXI3BQ66P4PQEJ6VQA3TDG2YLUAGADBP2VCUR";
|
|
2656
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2657
|
+
}, {
|
|
2658
|
+
readonly assetCode: "SUI";
|
|
2659
|
+
readonly contractId: "CBAIKWGVYLCCXGW3CSIXE7JCNNVLBAA6UWMOHMEI5FO4UEXB3BZBMT2W";
|
|
2660
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2661
|
+
}, {
|
|
2662
|
+
readonly assetCode: "AVAX";
|
|
2663
|
+
readonly contractId: "CC246EHXEDAC7ASKQ7SIFAJCBVDTV35EH4I75KM4ZELVRH5YJFRABWIW";
|
|
2664
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2665
|
+
}, {
|
|
2666
|
+
readonly assetCode: "INJ";
|
|
2667
|
+
readonly contractId: "CATSVDWZE26QQLX552CMFJHO2MXDEXM7NSW32WP5FU2FFURNAFEUQSAO";
|
|
2668
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2669
|
+
}, {
|
|
2670
|
+
readonly assetCode: "POL";
|
|
2671
|
+
readonly contractId: "CBEFOLE2WVJDQ2O2S3HHV6VTUE5RU4DTLSMMRBSB4AWGJPXBWFKK2PKW";
|
|
2672
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2673
|
+
}, {
|
|
2674
|
+
readonly assetCode: "HYPE";
|
|
2675
|
+
readonly contractId: "CDOQFNKW6B3PBPTLNRQSQVAYUA7HFWGGR7TB5BC5PMZ4HU2M2XGPMGTE";
|
|
2676
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2677
|
+
}, {
|
|
2678
|
+
readonly assetCode: "NEAR";
|
|
2679
|
+
readonly contractId: "CCOJZW4X77T4DNJLV7F6DWKTHDWUS7MRFBZP6BZXT3ZYQFMYDVFVS4EK";
|
|
2680
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2681
|
+
}, {
|
|
2682
|
+
readonly assetCode: "HBAR";
|
|
2683
|
+
readonly contractId: "CCFYC6XGCC6ONVVM7FIAD3Q5KAJUXUDEXLQCQUKP6LN2AKVOGKUQ3JOY";
|
|
2684
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2685
|
+
}, {
|
|
2686
|
+
readonly assetCode: "USDS";
|
|
2687
|
+
readonly contractId: "CC552JLYIJROE24VZFSMO7GBKQOOIQ6R52E3VQSQYC7NMFYAVMC7GQHS";
|
|
2688
|
+
readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
|
|
2619
2689
|
}];
|
|
2620
2690
|
readonly supportedTokens: {
|
|
2621
2691
|
readonly bnUSD: {
|
|
@@ -2690,6 +2760,114 @@ export declare const spokeChainConfig: {
|
|
|
2690
2760
|
readonly hubAsset: "0xa10be5f5c2dea7d272555dc73ea2a7317c3c5b63";
|
|
2691
2761
|
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
2692
2762
|
};
|
|
2763
|
+
readonly ETH: {
|
|
2764
|
+
readonly symbol: "ETH";
|
|
2765
|
+
readonly name: "Ethereum";
|
|
2766
|
+
readonly decimals: 7;
|
|
2767
|
+
readonly address: "CCC6TZWLAHZT2NRVEEOZRPVLUKWVJVKZ3TM347DCCO2QBWNAA5MHROSJ";
|
|
2768
|
+
readonly chainKey: "stellar";
|
|
2769
|
+
readonly hubAsset: "0xdB52C5e500c9E265BF42BE103e7Db1C45619e52d";
|
|
2770
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
2771
|
+
};
|
|
2772
|
+
readonly BTC: {
|
|
2773
|
+
readonly symbol: "BTC";
|
|
2774
|
+
readonly name: "Bitcoin";
|
|
2775
|
+
readonly decimals: 7;
|
|
2776
|
+
readonly address: "CBSKI7SY2AP6IIN7IBROZP2CJES67ARMHQYZWT7A7PKH67KGDK2DIRMA";
|
|
2777
|
+
readonly chainKey: "stellar";
|
|
2778
|
+
readonly hubAsset: "0x2f09d83D339aD8c63642d42F222C30005139Ef54";
|
|
2779
|
+
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
2780
|
+
};
|
|
2781
|
+
readonly BNB: {
|
|
2782
|
+
readonly symbol: "BNB";
|
|
2783
|
+
readonly name: "BNB";
|
|
2784
|
+
readonly decimals: 7;
|
|
2785
|
+
readonly address: "CC6C3QCSK3WYM2ZENQ5MHA3QPNAKYOZFAGWH5PPU3MVDE3C2YNS7CHMF";
|
|
2786
|
+
readonly chainKey: "stellar";
|
|
2787
|
+
readonly hubAsset: "0x0D1873d079AaC6856F9cD28ad1C7C99b28426AA9";
|
|
2788
|
+
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
2789
|
+
};
|
|
2790
|
+
readonly SOL: {
|
|
2791
|
+
readonly symbol: "SOL";
|
|
2792
|
+
readonly name: "Solana";
|
|
2793
|
+
readonly decimals: 7;
|
|
2794
|
+
readonly address: "CB5YRZTKA37DND672WZZXI3BQ66P4PQEJ6VQA3TDG2YLUAGADBP2VCUR";
|
|
2795
|
+
readonly chainKey: "stellar";
|
|
2796
|
+
readonly hubAsset: "0x26c07c5da6E4bbCB3514360fa7bF85B92b6a22f1";
|
|
2797
|
+
readonly vault: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
2798
|
+
};
|
|
2799
|
+
readonly SUI: {
|
|
2800
|
+
readonly symbol: "SUI";
|
|
2801
|
+
readonly name: "Sui";
|
|
2802
|
+
readonly decimals: 7;
|
|
2803
|
+
readonly address: "CBAIKWGVYLCCXGW3CSIXE7JCNNVLBAA6UWMOHMEI5FO4UEXB3BZBMT2W";
|
|
2804
|
+
readonly chainKey: "stellar";
|
|
2805
|
+
readonly hubAsset: "0xC0297AFb2f65fbb884DfFE8497C5A07ee85FDb91";
|
|
2806
|
+
readonly vault: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
2807
|
+
};
|
|
2808
|
+
readonly AVAX: {
|
|
2809
|
+
readonly symbol: "AVAX";
|
|
2810
|
+
readonly name: "Avalanche";
|
|
2811
|
+
readonly decimals: 7;
|
|
2812
|
+
readonly address: "CC246EHXEDAC7ASKQ7SIFAJCBVDTV35EH4I75KM4ZELVRH5YJFRABWIW";
|
|
2813
|
+
readonly chainKey: "stellar";
|
|
2814
|
+
readonly hubAsset: "0x55Ea5b8F035e254C77bCf57564931c8a93bD35F5";
|
|
2815
|
+
readonly vault: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
2816
|
+
};
|
|
2817
|
+
readonly INJ: {
|
|
2818
|
+
readonly symbol: "INJ";
|
|
2819
|
+
readonly name: "Injective";
|
|
2820
|
+
readonly decimals: 7;
|
|
2821
|
+
readonly address: "CATSVDWZE26QQLX552CMFJHO2MXDEXM7NSW32WP5FU2FFURNAFEUQSAO";
|
|
2822
|
+
readonly chainKey: "stellar";
|
|
2823
|
+
readonly hubAsset: "0xe7f1FC4112fFAB462E3c57a2806dabE9EAe824b4";
|
|
2824
|
+
readonly vault: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
2825
|
+
};
|
|
2826
|
+
readonly POL: {
|
|
2827
|
+
readonly symbol: "POL";
|
|
2828
|
+
readonly name: "Polygon";
|
|
2829
|
+
readonly decimals: 7;
|
|
2830
|
+
readonly address: "CBEFOLE2WVJDQ2O2S3HHV6VTUE5RU4DTLSMMRBSB4AWGJPXBWFKK2PKW";
|
|
2831
|
+
readonly chainKey: "stellar";
|
|
2832
|
+
readonly hubAsset: "0x43d613F6383F3BD49ed01c52a174437D5d5f7F14";
|
|
2833
|
+
readonly vault: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
2834
|
+
};
|
|
2835
|
+
readonly HYPE: {
|
|
2836
|
+
readonly symbol: "HYPE";
|
|
2837
|
+
readonly name: "Hyperliquid";
|
|
2838
|
+
readonly decimals: 7;
|
|
2839
|
+
readonly address: "CDOQFNKW6B3PBPTLNRQSQVAYUA7HFWGGR7TB5BC5PMZ4HU2M2XGPMGTE";
|
|
2840
|
+
readonly chainKey: "stellar";
|
|
2841
|
+
readonly hubAsset: "0xFa12FD5Cd644043bCC25B3d50b526Cdd5de222DC";
|
|
2842
|
+
readonly vault: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
2843
|
+
};
|
|
2844
|
+
readonly NEAR: {
|
|
2845
|
+
readonly symbol: "NEAR";
|
|
2846
|
+
readonly name: "NEAR Protocol";
|
|
2847
|
+
readonly decimals: 7;
|
|
2848
|
+
readonly address: "CCOJZW4X77T4DNJLV7F6DWKTHDWUS7MRFBZP6BZXT3ZYQFMYDVFVS4EK";
|
|
2849
|
+
readonly chainKey: "stellar";
|
|
2850
|
+
readonly hubAsset: "0x6d80fe8044Fb1A6e7Cf44768aF7a7D290BcCB7D0";
|
|
2851
|
+
readonly vault: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
2852
|
+
};
|
|
2853
|
+
readonly HBAR: {
|
|
2854
|
+
readonly symbol: "HBAR";
|
|
2855
|
+
readonly name: "HBAR";
|
|
2856
|
+
readonly decimals: 7;
|
|
2857
|
+
readonly address: "CCFYC6XGCC6ONVVM7FIAD3Q5KAJUXUDEXLQCQUKP6LN2AKVOGKUQ3JOY";
|
|
2858
|
+
readonly chainKey: "stellar";
|
|
2859
|
+
readonly hubAsset: "0x6a9FaA386AC74deAFc1eAf9267369fd8b6B012D6";
|
|
2860
|
+
readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
|
|
2861
|
+
};
|
|
2862
|
+
readonly USDS: {
|
|
2863
|
+
readonly symbol: "USDS";
|
|
2864
|
+
readonly name: "USDS";
|
|
2865
|
+
readonly decimals: 7;
|
|
2866
|
+
readonly address: "CC552JLYIJROE24VZFSMO7GBKQOOIQ6R52E3VQSQYC7NMFYAVMC7GQHS";
|
|
2867
|
+
readonly chainKey: "stellar";
|
|
2868
|
+
readonly hubAsset: "0xE36b8F88651004e29FD2001aEace777671731d65";
|
|
2869
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
2870
|
+
};
|
|
2693
2871
|
};
|
|
2694
2872
|
readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
|
|
2695
2873
|
readonly bnUSD: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
|
|
@@ -2863,7 +3041,7 @@ export declare const spokeChainConfig: {
|
|
|
2863
3041
|
};
|
|
2864
3042
|
readonly nativeToken: "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
|
|
2865
3043
|
readonly bnUSD: "0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD";
|
|
2866
|
-
readonly
|
|
3044
|
+
readonly grpc_url: "https://fullnode.mainnet.sui.io";
|
|
2867
3045
|
readonly chain: {
|
|
2868
3046
|
readonly name: "SUI";
|
|
2869
3047
|
readonly key: "sui";
|
|
@@ -3506,17 +3684,190 @@ export declare const spokeChainConfig: {
|
|
|
3506
3684
|
readonly hubAsset: "0xafafae0c1476424c4b81f09095bd7dcb858047c8";
|
|
3507
3685
|
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
3508
3686
|
};
|
|
3687
|
+
readonly ETH: {
|
|
3688
|
+
readonly symbol: "ETH";
|
|
3689
|
+
readonly name: "Ethereum";
|
|
3690
|
+
readonly decimals: 8;
|
|
3691
|
+
readonly address: "0x0000000000000000000000000000000000a4e7fa";
|
|
3692
|
+
readonly chainKey: "hedera";
|
|
3693
|
+
readonly hubAsset: "0x486d114536aad26f74e8c399febe1b394bd22c6d";
|
|
3694
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
3695
|
+
};
|
|
3696
|
+
readonly BTC: {
|
|
3697
|
+
readonly symbol: "BTC";
|
|
3698
|
+
readonly name: "Bitcoin";
|
|
3699
|
+
readonly decimals: 8;
|
|
3700
|
+
readonly address: "0x0000000000000000000000000000000000a4e800";
|
|
3701
|
+
readonly chainKey: "hedera";
|
|
3702
|
+
readonly hubAsset: "0x2d8c8fae42e961700279e0a6d8457a1c82d91fd1";
|
|
3703
|
+
readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
|
|
3704
|
+
};
|
|
3705
|
+
readonly BNB: {
|
|
3706
|
+
readonly symbol: "BNB";
|
|
3707
|
+
readonly name: "BNB";
|
|
3708
|
+
readonly decimals: 8;
|
|
3709
|
+
readonly address: "0x0000000000000000000000000000000000a4e801";
|
|
3710
|
+
readonly chainKey: "hedera";
|
|
3711
|
+
readonly hubAsset: "0x4184c587275a8b34e3c2fa90172019d46d9a5308";
|
|
3712
|
+
readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
|
|
3713
|
+
};
|
|
3714
|
+
readonly SOL: {
|
|
3715
|
+
readonly symbol: "SOL";
|
|
3716
|
+
readonly name: "Solana";
|
|
3717
|
+
readonly decimals: 8;
|
|
3718
|
+
readonly address: "0x0000000000000000000000000000000000a4e802";
|
|
3719
|
+
readonly chainKey: "hedera";
|
|
3720
|
+
readonly hubAsset: "0x31cf6567ccb4b26f36863720d6a9b9b7a38d4c99";
|
|
3721
|
+
readonly vault: "0xdEa692287E2cE8Cb08FA52917Be0F16b1DACDC87";
|
|
3722
|
+
};
|
|
3723
|
+
readonly SUI: {
|
|
3724
|
+
readonly symbol: "SUI";
|
|
3725
|
+
readonly name: "Sui";
|
|
3726
|
+
readonly decimals: 8;
|
|
3727
|
+
readonly address: "0x0000000000000000000000000000000000a4e803";
|
|
3728
|
+
readonly chainKey: "hedera";
|
|
3729
|
+
readonly hubAsset: "0x4745bae0101b1a8eb2c40c3269c7104c7330b1b7";
|
|
3730
|
+
readonly vault: "0xdc5B4b00F98347E95b9F94911213DAB4C687e1e3";
|
|
3731
|
+
};
|
|
3732
|
+
readonly AVAX: {
|
|
3733
|
+
readonly symbol: "AVAX";
|
|
3734
|
+
readonly name: "Avalanche";
|
|
3735
|
+
readonly decimals: 8;
|
|
3736
|
+
readonly address: "0x0000000000000000000000000000000000a4e804";
|
|
3737
|
+
readonly chainKey: "hedera";
|
|
3738
|
+
readonly hubAsset: "0x4f3b1ab7769a724238c5eac068292bb2aa32c666";
|
|
3739
|
+
readonly vault: "0x14238D267557E9d799016ad635B53CD15935d290";
|
|
3740
|
+
};
|
|
3741
|
+
readonly INJ: {
|
|
3742
|
+
readonly symbol: "INJ";
|
|
3743
|
+
readonly name: "Injective";
|
|
3744
|
+
readonly decimals: 8;
|
|
3745
|
+
readonly address: "0x0000000000000000000000000000000000a4e805";
|
|
3746
|
+
readonly chainKey: "hedera";
|
|
3747
|
+
readonly hubAsset: "0xa95230e137eca5d7246b5586046de4e617a9800d";
|
|
3748
|
+
readonly vault: "0x1f22279C89B213944b7Ea41daCB0a868DdCDFd13";
|
|
3749
|
+
};
|
|
3750
|
+
readonly POL: {
|
|
3751
|
+
readonly symbol: "POL";
|
|
3752
|
+
readonly name: "Polygon";
|
|
3753
|
+
readonly decimals: 8;
|
|
3754
|
+
readonly address: "0x0000000000000000000000000000000000a4e806";
|
|
3755
|
+
readonly chainKey: "hedera";
|
|
3756
|
+
readonly hubAsset: "0x038c07161d45845dba7dd0e7fb222fb09802357c";
|
|
3757
|
+
readonly vault: "0x208ED38f4783328aA9eBFeC360D32e7520A9B779";
|
|
3758
|
+
};
|
|
3759
|
+
readonly HYPE: {
|
|
3760
|
+
readonly symbol: "HYPE";
|
|
3761
|
+
readonly name: "Hyperliquid";
|
|
3762
|
+
readonly decimals: 8;
|
|
3763
|
+
readonly address: "0x0000000000000000000000000000000000a4e808";
|
|
3764
|
+
readonly chainKey: "hedera";
|
|
3765
|
+
readonly hubAsset: "0x150160ef7401c574acf063542dd02a5264387497";
|
|
3766
|
+
readonly vault: "0x6E81124fC5d2Bf666B16a0A5d90066eBf35c7411";
|
|
3767
|
+
};
|
|
3768
|
+
readonly NEAR: {
|
|
3769
|
+
readonly symbol: "NEAR";
|
|
3770
|
+
readonly name: "NEAR Protocol";
|
|
3771
|
+
readonly decimals: 8;
|
|
3772
|
+
readonly address: "0x0000000000000000000000000000000000a4e809";
|
|
3773
|
+
readonly chainKey: "hedera";
|
|
3774
|
+
readonly hubAsset: "0x74e15a37f5bccad4cf305ae284f57bcbae70ff8a";
|
|
3775
|
+
readonly vault: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
|
|
3776
|
+
};
|
|
3777
|
+
readonly USDS: {
|
|
3778
|
+
readonly symbol: "USDS";
|
|
3779
|
+
readonly name: "USDS";
|
|
3780
|
+
readonly decimals: 8;
|
|
3781
|
+
readonly address: "0x0000000000000000000000000000000000a4e80a";
|
|
3782
|
+
readonly chainKey: "hedera";
|
|
3783
|
+
readonly hubAsset: "0xf93035bede0a23442fc326e4211371e822751e1f";
|
|
3784
|
+
readonly vault: "0xA3AeFa2BAfEAB479c4Aca6024A16906bbC75566e";
|
|
3785
|
+
};
|
|
3786
|
+
readonly XLM: {
|
|
3787
|
+
readonly symbol: "XLM";
|
|
3788
|
+
readonly name: "Stellar Lumens";
|
|
3789
|
+
readonly decimals: 8;
|
|
3790
|
+
readonly address: "0x0000000000000000000000000000000000a4e810";
|
|
3791
|
+
readonly chainKey: "hedera";
|
|
3792
|
+
readonly hubAsset: "0xce6260224897fe05aad4b00df6cf9d318fe4ae23";
|
|
3793
|
+
readonly vault: "0x6BC8C37cba91F76E68C9e6d689A9C21E4d32079B";
|
|
3794
|
+
};
|
|
3509
3795
|
};
|
|
3510
3796
|
readonly pollingConfig: {
|
|
3511
3797
|
readonly pollingIntervalMs: 2000;
|
|
3512
3798
|
readonly maxTimeoutMs: 60000;
|
|
3513
3799
|
};
|
|
3514
3800
|
};
|
|
3801
|
+
readonly robinhood: {
|
|
3802
|
+
readonly chain: {
|
|
3803
|
+
readonly name: "Robinhood Chain";
|
|
3804
|
+
readonly key: "robinhood";
|
|
3805
|
+
readonly type: "EVM";
|
|
3806
|
+
readonly chainId: 4663;
|
|
3807
|
+
readonly mainnet: true;
|
|
3808
|
+
readonly logo: string;
|
|
3809
|
+
readonly explorer: {
|
|
3810
|
+
readonly baseUrl: "https://robinhoodchain.blockscout.com/";
|
|
3811
|
+
readonly txUrl: "https://robinhoodchain.blockscout.com/tx/";
|
|
3812
|
+
readonly addressUrl: "https://robinhoodchain.blockscout.com/address/";
|
|
3813
|
+
readonly contractUrl: "https://robinhoodchain.blockscout.com/address/";
|
|
3814
|
+
};
|
|
3815
|
+
};
|
|
3816
|
+
readonly rpcUrl: "https://rpc.mainnet.chain.robinhood.com";
|
|
3817
|
+
readonly addresses: {
|
|
3818
|
+
readonly assetManager: "0x0df73542cC68bDC01b361d231c60F726B0e0bC05";
|
|
3819
|
+
readonly connection: "0x4555aC13D7338D9E671584C1D118c06B2a3C88eD";
|
|
3820
|
+
};
|
|
3821
|
+
readonly nativeToken: "0x0000000000000000000000000000000000000000";
|
|
3822
|
+
readonly bnUSD: "0x3cd95C469be0EDFD12Bd4F3a4436B132B7908DF4";
|
|
3823
|
+
readonly supportedTokens: {
|
|
3824
|
+
readonly ETH: {
|
|
3825
|
+
readonly symbol: "ETH";
|
|
3826
|
+
readonly name: "ETH";
|
|
3827
|
+
readonly decimals: 18;
|
|
3828
|
+
readonly address: "0x0000000000000000000000000000000000000000";
|
|
3829
|
+
readonly chainKey: "robinhood";
|
|
3830
|
+
readonly hubAsset: "0x389f1c463438b548f430a9934e99cdedbf124c1f";
|
|
3831
|
+
readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
|
|
3832
|
+
};
|
|
3833
|
+
readonly bnUSD: {
|
|
3834
|
+
readonly symbol: "bnUSD";
|
|
3835
|
+
readonly name: "bnUSD";
|
|
3836
|
+
readonly decimals: 18;
|
|
3837
|
+
readonly address: "0x3cd95C469be0EDFD12Bd4F3a4436B132B7908DF4";
|
|
3838
|
+
readonly chainKey: "robinhood";
|
|
3839
|
+
readonly hubAsset: "0x95f8d76299ac77325b0bd154a1eeb8650367ce4d";
|
|
3840
|
+
readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
|
|
3841
|
+
};
|
|
3842
|
+
readonly SODA: {
|
|
3843
|
+
readonly symbol: "SODA";
|
|
3844
|
+
readonly name: "SODAX";
|
|
3845
|
+
readonly decimals: 18;
|
|
3846
|
+
readonly address: "0xA256dd181C3f6E5eC68C6869f5D50a712d47212e";
|
|
3847
|
+
readonly chainKey: "robinhood";
|
|
3848
|
+
readonly hubAsset: "0x06dd369f24623e331053baf31a5138f76eb44f11";
|
|
3849
|
+
readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
|
|
3850
|
+
};
|
|
3851
|
+
readonly USDG: {
|
|
3852
|
+
readonly symbol: "USDG";
|
|
3853
|
+
readonly name: "Global Dollar";
|
|
3854
|
+
readonly decimals: 6;
|
|
3855
|
+
readonly address: "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168";
|
|
3856
|
+
readonly chainKey: "robinhood";
|
|
3857
|
+
readonly hubAsset: "0xb2e81dddffcc9e49e9c9ded644091dfecf4ff4e7";
|
|
3858
|
+
readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
readonly pollingConfig: {
|
|
3862
|
+
readonly pollingIntervalMs: 1000;
|
|
3863
|
+
readonly maxTimeoutMs: 60000;
|
|
3864
|
+
};
|
|
3865
|
+
};
|
|
3515
3866
|
};
|
|
3516
3867
|
export declare const supportedSpokeChains: SpokeChainKey[];
|
|
3517
3868
|
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;
|
|
3518
3869
|
export declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
|
|
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")[];
|
|
3870
|
+
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" | "robinhood")[];
|
|
3520
3871
|
export type LegacybnUSDChainId = (typeof bnUSDLegacySpokeChainIds)[number];
|
|
3521
3872
|
export declare const bnUSDLegacyTokens: readonly [{
|
|
3522
3873
|
readonly symbol: "bnUSD (legacy)";
|
package/dist/chains/chains.js
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 { sonicSupportedTokens, redbellySupportedTokens, solanaSupportedTokens, avalancheSupportedTokens, arbitrumSupportedTokens, baseSupportedTokens, optimismSupportedTokens, bscSupportedTokens, polygonSupportedTokens, hyperevmSupportedTokens, lightlinkSupportedTokens, injectiveSupportedTokens, bitcoinSupportedTokens, stellarSupportedTokens, suiSupportedTokens, iconSupportedTokens, nearSupportedTokens, ethereumSupportedTokens, kaiaSupportedTokens, stacksSupportedTokens, hederaSupportedTokens, } from './tokens.js';
|
|
5
|
+
import { sonicSupportedTokens, redbellySupportedTokens, solanaSupportedTokens, avalancheSupportedTokens, arbitrumSupportedTokens, baseSupportedTokens, optimismSupportedTokens, bscSupportedTokens, polygonSupportedTokens, hyperevmSupportedTokens, lightlinkSupportedTokens, injectiveSupportedTokens, bitcoinSupportedTokens, stellarSupportedTokens, suiSupportedTokens, iconSupportedTokens, nearSupportedTokens, ethereumSupportedTokens, kaiaSupportedTokens, stacksSupportedTokens, hederaSupportedTokens, robinhoodSupportedTokens, } from './tokens.js';
|
|
6
6
|
import { ChainKeys, CHAIN_KEYS } from './chain-keys.js';
|
|
7
7
|
export * from './chain-keys.js';
|
|
8
8
|
// NOTE: This is not the same as the actual chain ids (wormhole based ids), only used for intent relay
|
|
@@ -28,6 +28,7 @@ export const RelayChainIdMap = {
|
|
|
28
28
|
[ChainKeys.KAIA_MAINNET]: 27489n,
|
|
29
29
|
[ChainKeys.STACKS_MAINNET]: 60n,
|
|
30
30
|
[ChainKeys.HEDERA_MAINNET]: 18501n,
|
|
31
|
+
[ChainKeys.ROBINHOOD_MAINNET]: 21071n,
|
|
31
32
|
};
|
|
32
33
|
export const INTENT_CHAIN_IDS = Object.values(RelayChainIdMap);
|
|
33
34
|
export const IntentRelayChainIdToChainKey = new Map(Object.entries(RelayChainIdMap).map(([chainKey, chainId]) => [chainId, chainKey]));
|
|
@@ -333,6 +334,20 @@ export const baseChainInfo = {
|
|
|
333
334
|
contractUrl: 'https://hashscan.io/mainnet/contract/',
|
|
334
335
|
},
|
|
335
336
|
},
|
|
337
|
+
[ChainKeys.ROBINHOOD_MAINNET]: {
|
|
338
|
+
name: 'Robinhood Chain',
|
|
339
|
+
key: ChainKeys.ROBINHOOD_MAINNET,
|
|
340
|
+
type: 'EVM',
|
|
341
|
+
chainId: 4663,
|
|
342
|
+
mainnet: true,
|
|
343
|
+
logo: chainLogo(ChainKeys.ROBINHOOD_MAINNET),
|
|
344
|
+
explorer: {
|
|
345
|
+
baseUrl: 'https://robinhoodchain.blockscout.com/',
|
|
346
|
+
txUrl: 'https://robinhoodchain.blockscout.com/tx/',
|
|
347
|
+
addressUrl: 'https://robinhoodchain.blockscout.com/address/',
|
|
348
|
+
contractUrl: 'https://robinhoodchain.blockscout.com/address/',
|
|
349
|
+
},
|
|
350
|
+
},
|
|
336
351
|
};
|
|
337
352
|
const filterChainKeysByType = (type) => CHAIN_KEYS.filter((key) => baseChainInfo[key].type === type);
|
|
338
353
|
export const HUB_CHAIN_KEY = ChainKeys.SONIC_MAINNET;
|
|
@@ -612,6 +627,67 @@ export const spokeChainConfig = {
|
|
|
612
627
|
contractId: 'CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6',
|
|
613
628
|
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
614
629
|
},
|
|
630
|
+
// v3.2.0 direct-wrapped spoke assets
|
|
631
|
+
{
|
|
632
|
+
assetCode: 'ETH',
|
|
633
|
+
contractId: 'CCC6TZWLAHZT2NRVEEOZRPVLUKWVJVKZ3TM347DCCO2QBWNAA5MHROSJ',
|
|
634
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
assetCode: 'BTC',
|
|
638
|
+
contractId: 'CBSKI7SY2AP6IIN7IBROZP2CJES67ARMHQYZWT7A7PKH67KGDK2DIRMA',
|
|
639
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
assetCode: 'BNB',
|
|
643
|
+
contractId: 'CC6C3QCSK3WYM2ZENQ5MHA3QPNAKYOZFAGWH5PPU3MVDE3C2YNS7CHMF',
|
|
644
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
assetCode: 'SOL',
|
|
648
|
+
contractId: 'CB5YRZTKA37DND672WZZXI3BQ66P4PQEJ6VQA3TDG2YLUAGADBP2VCUR',
|
|
649
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
assetCode: 'SUI',
|
|
653
|
+
contractId: 'CBAIKWGVYLCCXGW3CSIXE7JCNNVLBAA6UWMOHMEI5FO4UEXB3BZBMT2W',
|
|
654
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
assetCode: 'AVAX',
|
|
658
|
+
contractId: 'CC246EHXEDAC7ASKQ7SIFAJCBVDTV35EH4I75KM4ZELVRH5YJFRABWIW',
|
|
659
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
assetCode: 'INJ',
|
|
663
|
+
contractId: 'CATSVDWZE26QQLX552CMFJHO2MXDEXM7NSW32WP5FU2FFURNAFEUQSAO',
|
|
664
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
assetCode: 'POL',
|
|
668
|
+
contractId: 'CBEFOLE2WVJDQ2O2S3HHV6VTUE5RU4DTLSMMRBSB4AWGJPXBWFKK2PKW',
|
|
669
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
assetCode: 'HYPE',
|
|
673
|
+
contractId: 'CDOQFNKW6B3PBPTLNRQSQVAYUA7HFWGGR7TB5BC5PMZ4HU2M2XGPMGTE',
|
|
674
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
assetCode: 'NEAR',
|
|
678
|
+
contractId: 'CCOJZW4X77T4DNJLV7F6DWKTHDWUS7MRFBZP6BZXT3ZYQFMYDVFVS4EK',
|
|
679
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
assetCode: 'HBAR',
|
|
683
|
+
contractId: 'CCFYC6XGCC6ONVVM7FIAD3Q5KAJUXUDEXLQCQUKP6LN2AKVOGKUQ3JOY',
|
|
684
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
assetCode: 'USDS',
|
|
688
|
+
contractId: 'CC552JLYIJROE24VZFSMO7GBKQOOIQ6R52E3VQSQYC7NMFYAVMC7GQHS',
|
|
689
|
+
assetIssuer: 'GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA',
|
|
690
|
+
},
|
|
615
691
|
],
|
|
616
692
|
supportedTokens: stellarSupportedTokens,
|
|
617
693
|
nativeToken: 'CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA',
|
|
@@ -637,7 +713,7 @@ export const spokeChainConfig = {
|
|
|
637
713
|
supportedTokens: suiSupportedTokens,
|
|
638
714
|
nativeToken: '0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI',
|
|
639
715
|
bnUSD: '0xff4de2b2b57dd7611d2812d231a467d007b702a101fd5c7ad3b278257cddb507::bnusd::BNUSD',
|
|
640
|
-
|
|
716
|
+
grpc_url: 'https://fullnode.mainnet.sui.io',
|
|
641
717
|
chain: baseChainInfo[ChainKeys.SUI_MAINNET],
|
|
642
718
|
pollingConfig: {
|
|
643
719
|
pollingIntervalMs: 500,
|
|
@@ -742,6 +818,21 @@ export const spokeChainConfig = {
|
|
|
742
818
|
maxTimeoutMs: 60_000,
|
|
743
819
|
},
|
|
744
820
|
},
|
|
821
|
+
[ChainKeys.ROBINHOOD_MAINNET]: {
|
|
822
|
+
chain: baseChainInfo[ChainKeys.ROBINHOOD_MAINNET],
|
|
823
|
+
rpcUrl: 'https://rpc.mainnet.chain.robinhood.com',
|
|
824
|
+
addresses: {
|
|
825
|
+
assetManager: '0x0df73542cC68bDC01b361d231c60F726B0e0bC05',
|
|
826
|
+
connection: '0x4555aC13D7338D9E671584C1D118c06B2a3C88eD',
|
|
827
|
+
},
|
|
828
|
+
nativeToken: '0x0000000000000000000000000000000000000000',
|
|
829
|
+
bnUSD: '0x3cd95C469be0EDFD12Bd4F3a4436B132B7908DF4',
|
|
830
|
+
supportedTokens: robinhoodSupportedTokens,
|
|
831
|
+
pollingConfig: {
|
|
832
|
+
pollingIntervalMs: 1000,
|
|
833
|
+
maxTimeoutMs: 60_000,
|
|
834
|
+
},
|
|
835
|
+
},
|
|
745
836
|
};
|
|
746
837
|
export const supportedSpokeChains = Object.keys(spokeChainConfig);
|
|
747
838
|
// bnUSD Migration configs
|