@sodax/types 2.0.0-rc.2 → 2.0.0-rc.21

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.
Files changed (208) hide show
  1. package/README.md +4 -2
  2. package/dist/backend/backendApiV1.d.ts +28 -0
  3. package/dist/backend/backendApiV1.js +1 -0
  4. package/dist/backend/backendApiV2.d.ts +678 -0
  5. package/dist/backend/backendApiV2.js +38 -0
  6. package/dist/backend/index.d.ts +2 -2
  7. package/dist/backend/index.js +2 -2
  8. package/dist/bitcoin/bitcoin.d.ts +18 -1
  9. package/dist/bitcoin/bitcoin.js +13 -1
  10. package/dist/bitcoin/index.d.ts +0 -1
  11. package/dist/bitcoin/index.js +0 -1
  12. package/dist/chains/chain-keys.d.ts +3 -3
  13. package/dist/chains/chain-keys.js +1 -1
  14. package/dist/chains/chains.d.ts +390 -13
  15. package/dist/chains/chains.js +76 -5
  16. package/dist/chains/index.d.ts +0 -1
  17. package/dist/chains/index.js +0 -1
  18. package/dist/chains/tokens.d.ts +530 -7
  19. package/dist/chains/tokens.js +241 -3
  20. package/dist/common/common.d.ts +15 -8
  21. package/dist/common/common.js +0 -1
  22. package/dist/common/constants.d.ts +19 -2
  23. package/dist/common/constants.js +0 -1
  24. package/dist/common/index.d.ts +0 -1
  25. package/dist/common/index.js +0 -1
  26. package/dist/dex/dex.d.ts +4 -2
  27. package/dist/dex/dex.js +0 -1
  28. package/dist/dex/index.d.ts +0 -1
  29. package/dist/dex/index.js +0 -1
  30. package/dist/dex/pancakeswap-infinity.d.ts +0 -1
  31. package/dist/dex/pancakeswap-infinity.js +0 -1
  32. package/dist/evm/evm.d.ts +0 -1
  33. package/dist/evm/evm.js +0 -1
  34. package/dist/evm/index.d.ts +0 -1
  35. package/dist/evm/index.js +0 -1
  36. package/dist/hooks/hooks.d.ts +42 -0
  37. package/dist/hooks/hooks.js +44 -0
  38. package/dist/hooks/index.d.ts +1 -0
  39. package/dist/hooks/index.js +1 -0
  40. package/dist/icon/icon.d.ts +0 -1
  41. package/dist/icon/icon.js +0 -1
  42. package/dist/icon/index.d.ts +0 -1
  43. package/dist/icon/index.js +0 -1
  44. package/dist/index.d.ts +3 -2
  45. package/dist/index.js +3 -2
  46. package/dist/injective/index.d.ts +0 -1
  47. package/dist/injective/index.js +0 -1
  48. package/dist/injective/injective.d.ts +4 -1
  49. package/dist/injective/injective.js +0 -1
  50. package/dist/leverageYield/index.d.ts +1 -0
  51. package/dist/leverageYield/index.js +1 -0
  52. package/dist/leverageYield/leverageYield.d.ts +152 -0
  53. package/dist/leverageYield/leverageYield.js +51 -0
  54. package/dist/moneyMarket/index.d.ts +0 -1
  55. package/dist/moneyMarket/index.js +0 -1
  56. package/dist/moneyMarket/moneyMarket.d.ts +270 -5
  57. package/dist/moneyMarket/moneyMarket.js +15 -1
  58. package/dist/near/index.d.ts +0 -1
  59. package/dist/near/index.js +0 -1
  60. package/dist/near/near-api-js.d.ts +0 -1
  61. package/dist/near/near-api-js.js +0 -1
  62. package/dist/near/near.d.ts +5 -2
  63. package/dist/near/near.js +0 -1
  64. package/dist/shared/analytics.d.ts +119 -0
  65. package/dist/shared/analytics.js +1 -0
  66. package/dist/shared/features.d.ts +9 -0
  67. package/dist/shared/features.js +1 -0
  68. package/dist/shared/index.d.ts +3 -1
  69. package/dist/shared/index.js +3 -1
  70. package/dist/shared/logger.d.ts +27 -0
  71. package/dist/shared/logger.js +1 -0
  72. package/dist/shared/shared.d.ts +21 -1
  73. package/dist/shared/shared.js +0 -1
  74. package/dist/sodax-config/index.d.ts +0 -1
  75. package/dist/sodax-config/index.js +0 -1
  76. package/dist/sodax-config/sodax-config.d.ts +729 -77
  77. package/dist/sodax-config/sodax-config.js +3 -5
  78. package/dist/solana/index.d.ts +0 -1
  79. package/dist/solana/index.js +0 -1
  80. package/dist/solana/solana-web3.d.ts +0 -1
  81. package/dist/solana/solana-web3.js +0 -1
  82. package/dist/solana/solana.d.ts +2 -1
  83. package/dist/solana/solana.js +0 -1
  84. package/dist/stacks/index.d.ts +0 -1
  85. package/dist/stacks/index.js +0 -1
  86. package/dist/stacks/stacks.d.ts +2 -1
  87. package/dist/stacks/stacks.js +0 -1
  88. package/dist/stellar/index.d.ts +0 -1
  89. package/dist/stellar/index.js +0 -1
  90. package/dist/stellar/stellar.d.ts +4 -1
  91. package/dist/stellar/stellar.js +0 -1
  92. package/dist/sui/index.d.ts +0 -1
  93. package/dist/sui/index.js +0 -1
  94. package/dist/sui/sui.d.ts +3 -3
  95. package/dist/sui/sui.js +0 -1
  96. package/dist/swap/index.d.ts +0 -1
  97. package/dist/swap/index.js +0 -1
  98. package/dist/swap/swap.d.ts +466 -107
  99. package/dist/swap/swap.js +75 -14
  100. package/dist/utils/deep-partial.d.ts +0 -1
  101. package/dist/utils/deep-partial.js +0 -1
  102. package/dist/utils/index.d.ts +0 -1
  103. package/dist/utils/index.js +0 -1
  104. package/dist/utils/utils.d.ts +0 -1
  105. package/dist/utils/utils.js +0 -1
  106. package/dist/wallet/index.d.ts +0 -1
  107. package/dist/wallet/index.js +0 -1
  108. package/dist/wallet/providers.d.ts +0 -1
  109. package/dist/wallet/providers.js +0 -1
  110. package/dist/wallet/wallet.d.ts +0 -1
  111. package/dist/wallet/wallet.js +0 -1
  112. package/package.json +28 -11
  113. package/dist/backend/backendApi.d.ts +0 -75
  114. package/dist/backend/backendApi.d.ts.map +0 -1
  115. package/dist/backend/backendApi.js +0 -2
  116. package/dist/backend/backendApi.js.map +0 -1
  117. package/dist/backend/index.d.ts.map +0 -1
  118. package/dist/backend/index.js.map +0 -1
  119. package/dist/bitcoin/bitcoin.d.ts.map +0 -1
  120. package/dist/bitcoin/bitcoin.js.map +0 -1
  121. package/dist/bitcoin/index.d.ts.map +0 -1
  122. package/dist/bitcoin/index.js.map +0 -1
  123. package/dist/chains/chain-keys.d.ts.map +0 -1
  124. package/dist/chains/chain-keys.js.map +0 -1
  125. package/dist/chains/chains.d.ts.map +0 -1
  126. package/dist/chains/chains.js.map +0 -1
  127. package/dist/chains/index.d.ts.map +0 -1
  128. package/dist/chains/index.js.map +0 -1
  129. package/dist/chains/tokens.d.ts.map +0 -1
  130. package/dist/chains/tokens.js.map +0 -1
  131. package/dist/common/common.d.ts.map +0 -1
  132. package/dist/common/common.js.map +0 -1
  133. package/dist/common/constants.d.ts.map +0 -1
  134. package/dist/common/constants.js.map +0 -1
  135. package/dist/common/index.d.ts.map +0 -1
  136. package/dist/common/index.js.map +0 -1
  137. package/dist/dex/dex.d.ts.map +0 -1
  138. package/dist/dex/dex.js.map +0 -1
  139. package/dist/dex/index.d.ts.map +0 -1
  140. package/dist/dex/index.js.map +0 -1
  141. package/dist/dex/pancakeswap-infinity.d.ts.map +0 -1
  142. package/dist/dex/pancakeswap-infinity.js.map +0 -1
  143. package/dist/evm/evm.d.ts.map +0 -1
  144. package/dist/evm/evm.js.map +0 -1
  145. package/dist/evm/index.d.ts.map +0 -1
  146. package/dist/evm/index.js.map +0 -1
  147. package/dist/icon/icon.d.ts.map +0 -1
  148. package/dist/icon/icon.js.map +0 -1
  149. package/dist/icon/index.d.ts.map +0 -1
  150. package/dist/icon/index.js.map +0 -1
  151. package/dist/index.d.ts.map +0 -1
  152. package/dist/index.js.map +0 -1
  153. package/dist/injective/index.d.ts.map +0 -1
  154. package/dist/injective/index.js.map +0 -1
  155. package/dist/injective/injective.d.ts.map +0 -1
  156. package/dist/injective/injective.js.map +0 -1
  157. package/dist/moneyMarket/index.d.ts.map +0 -1
  158. package/dist/moneyMarket/index.js.map +0 -1
  159. package/dist/moneyMarket/moneyMarket.d.ts.map +0 -1
  160. package/dist/moneyMarket/moneyMarket.js.map +0 -1
  161. package/dist/near/index.d.ts.map +0 -1
  162. package/dist/near/index.js.map +0 -1
  163. package/dist/near/near-api-js.d.ts.map +0 -1
  164. package/dist/near/near-api-js.js.map +0 -1
  165. package/dist/near/near.d.ts.map +0 -1
  166. package/dist/near/near.js.map +0 -1
  167. package/dist/shared/index.d.ts.map +0 -1
  168. package/dist/shared/index.js.map +0 -1
  169. package/dist/shared/shared.d.ts.map +0 -1
  170. package/dist/shared/shared.js.map +0 -1
  171. package/dist/sodax-config/index.d.ts.map +0 -1
  172. package/dist/sodax-config/index.js.map +0 -1
  173. package/dist/sodax-config/sodax-config.d.ts.map +0 -1
  174. package/dist/sodax-config/sodax-config.js.map +0 -1
  175. package/dist/solana/index.d.ts.map +0 -1
  176. package/dist/solana/index.js.map +0 -1
  177. package/dist/solana/solana-web3.d.ts.map +0 -1
  178. package/dist/solana/solana-web3.js.map +0 -1
  179. package/dist/solana/solana.d.ts.map +0 -1
  180. package/dist/solana/solana.js.map +0 -1
  181. package/dist/stacks/index.d.ts.map +0 -1
  182. package/dist/stacks/index.js.map +0 -1
  183. package/dist/stacks/stacks.d.ts.map +0 -1
  184. package/dist/stacks/stacks.js.map +0 -1
  185. package/dist/stellar/index.d.ts.map +0 -1
  186. package/dist/stellar/index.js.map +0 -1
  187. package/dist/stellar/stellar.d.ts.map +0 -1
  188. package/dist/stellar/stellar.js.map +0 -1
  189. package/dist/sui/index.d.ts.map +0 -1
  190. package/dist/sui/index.js.map +0 -1
  191. package/dist/sui/sui.d.ts.map +0 -1
  192. package/dist/sui/sui.js.map +0 -1
  193. package/dist/swap/index.d.ts.map +0 -1
  194. package/dist/swap/index.js.map +0 -1
  195. package/dist/swap/swap.d.ts.map +0 -1
  196. package/dist/swap/swap.js.map +0 -1
  197. package/dist/utils/deep-partial.d.ts.map +0 -1
  198. package/dist/utils/deep-partial.js.map +0 -1
  199. package/dist/utils/index.d.ts.map +0 -1
  200. package/dist/utils/index.js.map +0 -1
  201. package/dist/utils/utils.d.ts.map +0 -1
  202. package/dist/utils/utils.js.map +0 -1
  203. package/dist/wallet/index.d.ts.map +0 -1
  204. package/dist/wallet/index.js.map +0 -1
  205. package/dist/wallet/providers.d.ts.map +0 -1
  206. package/dist/wallet/providers.js.map +0 -1
  207. package/dist/wallet/wallet.d.ts.map +0 -1
  208. package/dist/wallet/wallet.js.map +0 -1
@@ -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";
@@ -562,6 +633,15 @@ export declare const spokeChainConfig: {
562
633
  readonly hubAsset: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
563
634
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
564
635
  };
636
+ readonly sodaWBTC: {
637
+ readonly symbol: "sodaWBTC";
638
+ readonly name: "Soda Wrapped BTC";
639
+ readonly decimals: 18;
640
+ readonly address: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
641
+ readonly chainKey: "sonic";
642
+ readonly hubAsset: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
643
+ readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
644
+ };
565
645
  readonly sodaSOL: {
566
646
  readonly symbol: "sodaSOL";
567
647
  readonly name: "Soda SOL";
@@ -709,7 +789,7 @@ export declare const spokeChainConfig: {
709
789
  readonly sodaNEAR: {
710
790
  readonly symbol: "sodaNEAR";
711
791
  readonly name: "SODA NEAR";
712
- readonly decimals: 24;
792
+ readonly decimals: 18;
713
793
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
714
794
  readonly chainKey: "sonic";
715
795
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -742,6 +822,24 @@ export declare const spokeChainConfig: {
742
822
  readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
743
823
  readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
744
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
+ };
745
843
  readonly S: {
746
844
  readonly symbol: "S";
747
845
  readonly name: "Sonic";
@@ -818,6 +916,7 @@ export declare const spokeChainConfig: {
818
916
  readonly type: "EVM";
819
917
  readonly chainId: 151;
820
918
  readonly mainnet: true;
919
+ readonly logo: string;
821
920
  readonly explorer: {
822
921
  readonly baseUrl: "https://redbelly.routescan.io/";
823
922
  readonly txUrl: "https://redbelly.routescan.io/tx/";
@@ -987,6 +1086,7 @@ export declare const spokeChainConfig: {
987
1086
  readonly type: "SOLANA";
988
1087
  readonly chainId: "solana";
989
1088
  readonly mainnet: true;
1089
+ readonly logo: string;
990
1090
  readonly explorer: {
991
1091
  readonly baseUrl: "https://solscan.io/";
992
1092
  readonly txUrl: "https://solscan.io/tx/";
@@ -1067,7 +1167,7 @@ export declare const spokeChainConfig: {
1067
1167
  readonly address: "J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn";
1068
1168
  readonly chainKey: "solana";
1069
1169
  readonly hubAsset: "0x942f89a324d2652e447b9fcf08effc9f9776a680";
1070
- readonly vault: "0x942f89a324d2652e447b9fcf08effc9f9776a680";
1170
+ readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
1071
1171
  };
1072
1172
  readonly mSOL: {
1073
1173
  readonly symbol: "mSOL";
@@ -1114,6 +1214,78 @@ export declare const spokeChainConfig: {
1114
1214
  readonly hubAsset: "0x0076b67235bfc69b649d29dd7cb66e5b92b618aa";
1115
1215
  readonly vault: "0x0076b67235bfc69b649d29dd7cb66e5b92b618aa";
1116
1216
  };
1217
+ readonly CRCLx: {
1218
+ readonly symbol: "CRCLx";
1219
+ readonly name: "Circle xStock";
1220
+ readonly decimals: 8;
1221
+ readonly address: "XsueG8BtpquVJX9LVLLEGuViXUungE6WmK5YZ3p3bd1";
1222
+ readonly chainKey: "solana";
1223
+ readonly hubAsset: "0x64659130a3373b3527146b38fc1fccf017bc0c61";
1224
+ readonly vault: "0x64659130a3373b3527146b38fc1fccf017bc0c61";
1225
+ };
1226
+ readonly TSLAx: {
1227
+ readonly symbol: "TSLAx";
1228
+ readonly name: "Tesla xStock";
1229
+ readonly decimals: 8;
1230
+ readonly address: "XsDoVfqeBukxuZHWhdvWHBhgEHjGNst4MLodqsJHzoB";
1231
+ readonly chainKey: "solana";
1232
+ readonly hubAsset: "0x3cc867f6f4d1817b6230b781125301363fce370c";
1233
+ readonly vault: "0x3cc867f6f4d1817b6230b781125301363fce370c";
1234
+ };
1235
+ readonly SPYx: {
1236
+ readonly symbol: "SPYx";
1237
+ readonly name: "SP500 xStock";
1238
+ readonly decimals: 8;
1239
+ readonly address: "XsoCS1TfEyfFhfvj8EtZ528L3CaKBDBRqRapnBbDF2W";
1240
+ readonly chainKey: "solana";
1241
+ readonly hubAsset: "0xea66dbe82ebcb6c3a55b2db3d722b676be63a26e";
1242
+ readonly vault: "0xea66dbe82ebcb6c3a55b2db3d722b676be63a26e";
1243
+ };
1244
+ readonly NVDAx: {
1245
+ readonly symbol: "NVDAx";
1246
+ readonly name: "NVIDIA xStock";
1247
+ readonly decimals: 8;
1248
+ readonly address: "Xsc9qvGR1efVDFGLrVsmkzv3qi45LTBjeUKSPmx9qEh";
1249
+ readonly chainKey: "solana";
1250
+ readonly hubAsset: "0x48303c90f4136bc3101b308c8b50c55745aaf317";
1251
+ readonly vault: "0x48303c90f4136bc3101b308c8b50c55745aaf317";
1252
+ };
1253
+ readonly QQQx: {
1254
+ readonly symbol: "QQQx";
1255
+ readonly name: "Nasdaq xStock";
1256
+ readonly decimals: 8;
1257
+ readonly address: "Xs8S1uUs1zvS2p7iwtsG3b6fkhpvmwz4GYU3gWAmWHZ";
1258
+ readonly chainKey: "solana";
1259
+ readonly hubAsset: "0x4448b894740198ab76c83c8850d73f7dc8e4b9b3";
1260
+ readonly vault: "0x4448b894740198ab76c83c8850d73f7dc8e4b9b3";
1261
+ };
1262
+ readonly MSTRx: {
1263
+ readonly symbol: "MSTRx";
1264
+ readonly name: "MicroStrategy xStock";
1265
+ readonly decimals: 8;
1266
+ readonly address: "XsP7xzNPvEHS1m6qfanPUGjNmdnmsLKEoNAnHjdxxyZ";
1267
+ readonly chainKey: "solana";
1268
+ readonly hubAsset: "0xc46c34961802355c5223a115568fdf18a51ad6f6";
1269
+ readonly vault: "0xc46c34961802355c5223a115568fdf18a51ad6f6";
1270
+ };
1271
+ readonly COINx: {
1272
+ readonly symbol: "COINx";
1273
+ readonly name: "Coinbase xStock";
1274
+ readonly decimals: 8;
1275
+ readonly address: "Xs7ZdzSHLU9ftNJsii5fCeJhoRWSC32SQGzGQtePxNu";
1276
+ readonly chainKey: "solana";
1277
+ readonly hubAsset: "0xf444586e95166da0754052f03f344cf1152abe7d";
1278
+ readonly vault: "0xf444586e95166da0754052f03f344cf1152abe7d";
1279
+ };
1280
+ readonly GOOGLx: {
1281
+ readonly symbol: "GOOGLx";
1282
+ readonly name: "Alphabet xStock";
1283
+ readonly decimals: 8;
1284
+ readonly address: "XsCPL9dNWBMvFtTmwcCA5v3xWPSMEBCszbQdiLLq6aN";
1285
+ readonly chainKey: "solana";
1286
+ readonly hubAsset: "0x024230dd63b27df90d988d6f37a69d4de627ce89";
1287
+ readonly vault: "0x024230dd63b27df90d988d6f37a69d4de627ce89";
1288
+ };
1117
1289
  };
1118
1290
  readonly gasPrice: "500000";
1119
1291
  readonly rpcUrl: "https://api.mainnet-beta.solana.com";
@@ -1130,6 +1302,7 @@ export declare const spokeChainConfig: {
1130
1302
  readonly type: "EVM";
1131
1303
  readonly chainId: 43114;
1132
1304
  readonly mainnet: true;
1305
+ readonly logo: string;
1133
1306
  readonly explorer: {
1134
1307
  readonly baseUrl: "https://snowtrace.io/";
1135
1308
  readonly txUrl: "https://snowtrace.io/tx/";
@@ -1212,6 +1385,7 @@ export declare const spokeChainConfig: {
1212
1385
  readonly type: "EVM";
1213
1386
  readonly chainId: 42161;
1214
1387
  readonly mainnet: true;
1388
+ readonly logo: string;
1215
1389
  readonly explorer: {
1216
1390
  readonly baseUrl: "https://arbiscan.io/";
1217
1391
  readonly txUrl: "https://arbiscan.io/tx/";
@@ -1271,6 +1445,7 @@ export declare const spokeChainConfig: {
1271
1445
  readonly chainKey: "0xa4b1.arbitrum";
1272
1446
  readonly hubAsset: "0x96Fc8540736f1598b7E235e6dE8814062b3b5d3B";
1273
1447
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
1448
+ readonly access: "withdrawOnly";
1274
1449
  };
1275
1450
  readonly WBTC: {
1276
1451
  readonly symbol: "WBTC";
@@ -1279,7 +1454,17 @@ export declare const spokeChainConfig: {
1279
1454
  readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
1280
1455
  readonly chainKey: "0xa4b1.arbitrum";
1281
1456
  readonly hubAsset: "0xfB0ACB1b2720B620935F50a6dd3F7FEA52b2FCBe";
1457
+ readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
1458
+ };
1459
+ readonly WBTC_LEGACY: {
1460
+ readonly symbol: "WBTC.legacy";
1461
+ readonly name: "Wrapped BTC (Legacy)";
1462
+ readonly decimals: 8;
1463
+ readonly address: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f";
1464
+ readonly chainKey: "0xa4b1.arbitrum";
1465
+ readonly hubAsset: "0xfB0ACB1b2720B620935F50a6dd3F7FEA52b2FCBe";
1282
1466
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
1467
+ readonly access: "withdrawOnly";
1283
1468
  };
1284
1469
  readonly USDC: {
1285
1470
  readonly symbol: "USDC";
@@ -1393,6 +1578,7 @@ export declare const spokeChainConfig: {
1393
1578
  readonly type: "EVM";
1394
1579
  readonly chainId: 8453;
1395
1580
  readonly mainnet: true;
1581
+ readonly logo: string;
1396
1582
  readonly explorer: {
1397
1583
  readonly baseUrl: "https://basescan.org/";
1398
1584
  readonly txUrl: "https://basescan.org/tx/";
@@ -1461,6 +1647,7 @@ export declare const spokeChainConfig: {
1461
1647
  readonly chainKey: "0x2105.base";
1462
1648
  readonly hubAsset: "0x2803a23a3BA6b09e57D1c71deC0D9eFdBB00A27F";
1463
1649
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
1650
+ readonly access: "withdrawOnly";
1464
1651
  };
1465
1652
  readonly SODA: {
1466
1653
  readonly symbol: "SODA";
@@ -1498,6 +1685,15 @@ export declare const spokeChainConfig: {
1498
1685
  readonly hubAsset: "0xaa81bb5ba3c972ab53605d3ba7e443a3de6d1cb9";
1499
1686
  readonly vault: "0xaa81bb5ba3c972ab53605d3ba7e443a3de6d1cb9";
1500
1687
  };
1688
+ readonly AERO: {
1689
+ readonly symbol: "AERO";
1690
+ readonly name: "Aerodrome Finance";
1691
+ readonly decimals: 18;
1692
+ readonly address: "0x940181a94A35A4569e4529A3CDfB74e38FD98631";
1693
+ readonly chainKey: "0x2105.base";
1694
+ readonly hubAsset: "0x348e086ab6f424dfc575a325c28624ed23973173";
1695
+ readonly vault: "0x348e086ab6f424dfc575a325c28624ed23973173";
1696
+ };
1501
1697
  };
1502
1698
  readonly pollingConfig: {
1503
1699
  readonly pollingIntervalMs: 1000;
@@ -1511,6 +1707,7 @@ export declare const spokeChainConfig: {
1511
1707
  readonly type: "EVM";
1512
1708
  readonly chainId: 10;
1513
1709
  readonly mainnet: true;
1710
+ readonly logo: string;
1514
1711
  readonly explorer: {
1515
1712
  readonly baseUrl: "https://optimistic.etherscan.io/";
1516
1713
  readonly txUrl: "https://optimistic.etherscan.io/tx/";
@@ -1620,6 +1817,7 @@ export declare const spokeChainConfig: {
1620
1817
  readonly type: "EVM";
1621
1818
  readonly chainId: 56;
1622
1819
  readonly mainnet: true;
1820
+ readonly logo: string;
1623
1821
  readonly explorer: {
1624
1822
  readonly baseUrl: "https://bscscan.com/";
1625
1823
  readonly txUrl: "https://bscscan.com/tx/";
@@ -1810,6 +2008,7 @@ export declare const spokeChainConfig: {
1810
2008
  readonly type: "EVM";
1811
2009
  readonly chainId: 137;
1812
2010
  readonly mainnet: true;
2011
+ readonly logo: string;
1813
2012
  readonly explorer: {
1814
2013
  readonly baseUrl: "https://polygonscan.com/";
1815
2014
  readonly txUrl: "https://polygonscan.com/tx/";
@@ -1928,6 +2127,7 @@ export declare const spokeChainConfig: {
1928
2127
  readonly type: "EVM";
1929
2128
  readonly chainId: 999;
1930
2129
  readonly mainnet: true;
2130
+ readonly logo: string;
1931
2131
  readonly explorer: {
1932
2132
  readonly baseUrl: "https://hyperevmscan.io/";
1933
2133
  readonly txUrl: "https://hyperevmscan.io/tx/";
@@ -2037,6 +2237,7 @@ export declare const spokeChainConfig: {
2037
2237
  readonly type: "EVM";
2038
2238
  readonly chainId: 1890;
2039
2239
  readonly mainnet: true;
2240
+ readonly logo: string;
2040
2241
  readonly explorer: {
2041
2242
  readonly baseUrl: "https://phoenix.lightlink.io/";
2042
2243
  readonly txUrl: "https://phoenix.lightlink.io/tx/";
@@ -2215,6 +2416,7 @@ export declare const spokeChainConfig: {
2215
2416
  readonly type: "INJECTIVE";
2216
2417
  readonly chainId: "injective-1";
2217
2418
  readonly mainnet: true;
2419
+ readonly logo: string;
2218
2420
  readonly explorer: {
2219
2421
  readonly baseUrl: "https://www.mintscan.io/injective/";
2220
2422
  readonly txUrl: "https://www.mintscan.io/injective/tx/";
@@ -2293,6 +2495,7 @@ export declare const spokeChainConfig: {
2293
2495
  readonly type: "BITCOIN";
2294
2496
  readonly chainId: "bitcoin";
2295
2497
  readonly mainnet: true;
2498
+ readonly logo: string;
2296
2499
  readonly explorer: {
2297
2500
  readonly baseUrl: "https://mempool.space/";
2298
2501
  readonly txUrl: "https://mempool.space/tx/";
@@ -2324,9 +2527,9 @@ export declare const spokeChainConfig: {
2324
2527
  };
2325
2528
  readonly radfi: {
2326
2529
  readonly walletMode: "TRADING";
2327
- readonly apiUrl: "https://api.radfi.co/api";
2530
+ readonly apiUrl: "https://api.bound.exchange/api";
2328
2531
  readonly apiKey: "";
2329
- readonly umsUrl: "https://ums.radfi.co/api";
2532
+ readonly umsUrl: "https://api.ums.bound.exchange/api";
2330
2533
  readonly accessToken: "";
2331
2534
  readonly refreshToken: "";
2332
2535
  };
@@ -2356,6 +2559,18 @@ export declare const spokeChainConfig: {
2356
2559
  readonly assetCode: "SODA";
2357
2560
  readonly contractId: "CAH5LKJC2ZB4RVUVEVL2QWJWNJLHQE2UF767ILLQ5EQ4O3OURR2XIUGM";
2358
2561
  readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
2562
+ }, {
2563
+ readonly assetCode: "sodaETH";
2564
+ readonly contractId: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
2565
+ readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
2566
+ }, {
2567
+ readonly assetCode: "sodaBTC";
2568
+ readonly contractId: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
2569
+ readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
2570
+ }, {
2571
+ readonly assetCode: "sodaBNB";
2572
+ readonly contractId: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
2573
+ readonly assetIssuer: "GDYUTHY75A7WUZJQDPOP66FB32BOYGZRXHWTWO4Q6LQTANT5X3V5HNFA";
2359
2574
  }];
2360
2575
  readonly supportedTokens: {
2361
2576
  readonly bnUSD: {
@@ -2403,6 +2618,33 @@ export declare const spokeChainConfig: {
2403
2618
  readonly hubAsset: "0xD749B5FfFED7cEDaa3239abDd16D677179C29AEc";
2404
2619
  readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
2405
2620
  };
2621
+ readonly sodaETH: {
2622
+ readonly symbol: "sodaETH";
2623
+ readonly name: "Soda ETH";
2624
+ readonly decimals: 7;
2625
+ readonly address: "CDK5EWVTZLGSLI6D5OSES7XUKWZUKBXDRNOWUVDNPP5RJRP5EYWCW7SL";
2626
+ readonly chainKey: "stellar";
2627
+ readonly hubAsset: "0x4985a4b72ac723723e9ae82382d12d77e9a715de";
2628
+ readonly vault: "0x4effB5813271699683C25c734F4daBc45B363709";
2629
+ };
2630
+ readonly sodaBTC: {
2631
+ readonly symbol: "sodaBTC";
2632
+ readonly name: "Soda BTC";
2633
+ readonly decimals: 7;
2634
+ readonly address: "CD6XWBW74YVFDQQYUM2GALCULMA5MAWGP6NTCWF3ZYXP4Z7MEVY4JKBX";
2635
+ readonly chainKey: "stellar";
2636
+ readonly hubAsset: "0xddee01f63c18843e2bac30cb702864d7632c83a2";
2637
+ readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
2638
+ };
2639
+ readonly sodaBNB: {
2640
+ readonly symbol: "sodaBNB";
2641
+ readonly name: "Soda BNB";
2642
+ readonly decimals: 7;
2643
+ readonly address: "CCXTXZAFLVNTMORVWYB6BGL7YEW3U3ONDAL2FGBRGDUQH7AGANVQPRS6";
2644
+ readonly chainKey: "stellar";
2645
+ readonly hubAsset: "0xa10be5f5c2dea7d272555dc73ea2a7317c3c5b63";
2646
+ readonly vault: "0x40Cd41b35DB9e5109ae7E54b44De8625dB320E6b";
2647
+ };
2406
2648
  };
2407
2649
  readonly nativeToken: "CAS3J7GYLGXMF6TDJBBYYSE3HQ6BBSMLNUQ34T6TZMYMW2EVH34XOWMA";
2408
2650
  readonly bnUSD: "CD6YBFFWMU2UJHX2NGRJ7RN76IJVTCC7MRA46DUBXNB7E6W7H7JRJ2CX";
@@ -2414,6 +2656,7 @@ export declare const spokeChainConfig: {
2414
2656
  readonly type: "STELLAR";
2415
2657
  readonly chainId: "stellar";
2416
2658
  readonly mainnet: true;
2659
+ readonly logo: string;
2417
2660
  readonly explorer: {
2418
2661
  readonly baseUrl: "https://stellar.expert/explorer/public/";
2419
2662
  readonly txUrl: "https://stellar.expert/explorer/public/tx/";
@@ -2582,6 +2825,7 @@ export declare const spokeChainConfig: {
2582
2825
  readonly type: "SUI";
2583
2826
  readonly chainId: "sui";
2584
2827
  readonly mainnet: true;
2828
+ readonly logo: string;
2585
2829
  readonly explorer: {
2586
2830
  readonly baseUrl: "https://suivision.xyz/";
2587
2831
  readonly txUrl: "https://suivision.xyz/txblock/";
@@ -2609,6 +2853,7 @@ export declare const spokeChainConfig: {
2609
2853
  readonly type: "ICON";
2610
2854
  readonly chainId: "0x1.icon";
2611
2855
  readonly mainnet: true;
2856
+ readonly logo: string;
2612
2857
  readonly explorer: {
2613
2858
  readonly baseUrl: "https://tracker.icon.community/";
2614
2859
  readonly txUrl: "https://tracker.icon.community/transaction/";
@@ -2750,6 +2995,7 @@ export declare const spokeChainConfig: {
2750
2995
  readonly type: "EVM";
2751
2996
  readonly chainId: 1;
2752
2997
  readonly mainnet: true;
2998
+ readonly logo: string;
2753
2999
  readonly explorer: {
2754
3000
  readonly baseUrl: "https://etherscan.io/";
2755
3001
  readonly txUrl: "https://etherscan.io/tx/";
@@ -2844,7 +3090,17 @@ export declare const spokeChainConfig: {
2844
3090
  readonly address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599";
2845
3091
  readonly chainKey: "ethereum";
2846
3092
  readonly hubAsset: "0x4ccbe4c2cf2aeed19314790622efd71dc0b67acb";
3093
+ readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
3094
+ };
3095
+ readonly WBTC_LEGACY: {
3096
+ readonly symbol: "WBTC.legacy";
3097
+ readonly name: "Wrapped Bitcoin (Legacy)";
3098
+ readonly decimals: 8;
3099
+ readonly address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599";
3100
+ readonly chainKey: "ethereum";
3101
+ readonly hubAsset: "0x4ccbe4c2cf2aeed19314790622efd71dc0b67acb";
2847
3102
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
3103
+ readonly access: "withdrawOnly";
2848
3104
  };
2849
3105
  readonly sUSDat: {
2850
3106
  readonly symbol: "sUSDat";
@@ -3003,6 +3259,7 @@ export declare const spokeChainConfig: {
3003
3259
  readonly type: "EVM";
3004
3260
  readonly chainId: 8217;
3005
3261
  readonly mainnet: true;
3262
+ readonly logo: string;
3006
3263
  readonly explorer: {
3007
3264
  readonly baseUrl: "https://klaytnfinder.io/";
3008
3265
  readonly txUrl: "https://klaytnfinder.io/tx/";
@@ -3073,6 +3330,7 @@ export declare const spokeChainConfig: {
3073
3330
  readonly type: "STACKS";
3074
3331
  readonly chainId: "stacks";
3075
3332
  readonly mainnet: true;
3333
+ readonly logo: string;
3076
3334
  readonly explorer: {
3077
3335
  readonly baseUrl: "https://explorer.hiro.so/";
3078
3336
  readonly txUrl: "https://explorer.hiro.so/txid/";
@@ -3135,11 +3393,76 @@ export declare const spokeChainConfig: {
3135
3393
  readonly maxTimeoutMs: 120000;
3136
3394
  };
3137
3395
  };
3396
+ readonly hedera: {
3397
+ readonly chain: {
3398
+ readonly name: "Hedera";
3399
+ readonly key: "hedera";
3400
+ readonly type: "EVM";
3401
+ readonly chainId: 295;
3402
+ readonly mainnet: true;
3403
+ readonly logo: string;
3404
+ readonly explorer: {
3405
+ readonly baseUrl: "https://hashscan.io/mainnet/";
3406
+ readonly txUrl: "https://hashscan.io/mainnet/transaction/";
3407
+ readonly addressUrl: "https://hashscan.io/mainnet/account/";
3408
+ readonly contractUrl: "https://hashscan.io/mainnet/contract/";
3409
+ };
3410
+ };
3411
+ readonly rpcUrl: "https://mainnet.hashio.io/api";
3412
+ readonly addresses: {
3413
+ readonly assetManager: "0x0df73542cC68bDC01b361d231c60F726B0e0bC05";
3414
+ readonly connection: "0x4555aC13D7338D9E671584C1D118c06B2a3C88eD";
3415
+ };
3416
+ readonly nativeToken: "0x0000000000000000000000000000000000000000";
3417
+ readonly bnUSD: "0x0000000000000000000000000000000000a0286a";
3418
+ readonly supportedTokens: {
3419
+ readonly HBAR: {
3420
+ readonly symbol: "HBAR";
3421
+ readonly name: "HBAR";
3422
+ readonly decimals: 8;
3423
+ readonly address: "0x0000000000000000000000000000000000000000";
3424
+ readonly chainKey: "hedera";
3425
+ readonly hubAsset: "0x5c18c543b6B6EA97dE739F48C49CfC291B3AD465";
3426
+ readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
3427
+ };
3428
+ readonly bnUSD: {
3429
+ readonly symbol: "bnUSD";
3430
+ readonly name: "bnUSD";
3431
+ readonly decimals: 8;
3432
+ readonly address: "0x0000000000000000000000000000000000a0286a";
3433
+ readonly chainKey: "hedera";
3434
+ readonly hubAsset: "0x44be1984cd279334a630469fa357305c7dba2837";
3435
+ readonly vault: "0xE801CA34E19aBCbFeA12025378D19c4FBE250131";
3436
+ };
3437
+ readonly SODA: {
3438
+ readonly symbol: "SODA";
3439
+ readonly name: "SODAX";
3440
+ readonly decimals: 8;
3441
+ readonly address: "0x0000000000000000000000000000000000a02869";
3442
+ readonly chainKey: "hedera";
3443
+ readonly hubAsset: "0x1217721376839dbffe78093ddd5d8e50d0239b3f";
3444
+ readonly vault: "0x21685E341DE7844135329914Be6Bd8D16982d834";
3445
+ };
3446
+ readonly USDC: {
3447
+ readonly symbol: "USDC";
3448
+ readonly name: "USD Coin";
3449
+ readonly decimals: 6;
3450
+ readonly address: "0x000000000000000000000000000000000006f89a";
3451
+ readonly chainKey: "hedera";
3452
+ readonly hubAsset: "0xafafae0c1476424c4b81f09095bd7dcb858047c8";
3453
+ readonly vault: "0xAbbb91c0617090F0028BDC27597Cd0D038F3A833";
3454
+ };
3455
+ };
3456
+ readonly pollingConfig: {
3457
+ readonly pollingIntervalMs: 2000;
3458
+ readonly maxTimeoutMs: 60000;
3459
+ };
3460
+ };
3138
3461
  };
3139
3462
  export declare const supportedSpokeChains: SpokeChainKey[];
3140
3463
  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;
3141
3464
  export declare const bnUSDLegacySpokeChainIds: readonly ["0x1.icon", "sui", "stellar"];
3142
- 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")[];
3465
+ 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")[];
3143
3466
  export type LegacybnUSDChainId = (typeof bnUSDLegacySpokeChainIds)[number];
3144
3467
  export declare const bnUSDLegacyTokens: readonly [{
3145
3468
  readonly symbol: "bnUSD (legacy)";
@@ -3176,6 +3499,7 @@ export declare const hubConfig: {
3176
3499
  readonly type: "EVM";
3177
3500
  readonly chainId: 146;
3178
3501
  readonly mainnet: true;
3502
+ readonly logo: string;
3179
3503
  readonly explorer: {
3180
3504
  readonly baseUrl: "https://sonicscan.org/";
3181
3505
  readonly txUrl: "https://sonicscan.org/tx/";
@@ -3199,6 +3523,33 @@ export declare const hubConfig: {
3199
3523
  readonly nativeToken: "0x0000000000000000000000000000000000000000";
3200
3524
  readonly wrappedNativeToken: "0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38";
3201
3525
  readonly supportedTokens: {
3526
+ readonly lsodaWEETH: {
3527
+ readonly symbol: "lsodaWEETH";
3528
+ readonly name: "Leveraged Soda weETH";
3529
+ readonly decimals: 18;
3530
+ readonly address: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
3531
+ readonly chainKey: "sonic";
3532
+ readonly hubAsset: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
3533
+ readonly vault: "0xD09de2f5070699A909c0FD32fb5A909d3886701D";
3534
+ };
3535
+ readonly lsodaWSTETH: {
3536
+ readonly symbol: "lsodaWSTETH";
3537
+ readonly name: "Leveraged Soda wstETH";
3538
+ readonly decimals: 18;
3539
+ readonly address: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
3540
+ readonly chainKey: "sonic";
3541
+ readonly hubAsset: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
3542
+ readonly vault: "0x136E5D1CEC5db1829E24941Eddd9C8640E02Ce7a";
3543
+ };
3544
+ readonly lsodaJITOSOL: {
3545
+ readonly symbol: "lsodaJITOSOL";
3546
+ readonly name: "Leveraged Soda JITOSOL";
3547
+ readonly decimals: 18;
3548
+ readonly address: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
3549
+ readonly chainKey: "sonic";
3550
+ readonly hubAsset: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
3551
+ readonly vault: "0xD7Ae4853E0f93682F5DaA14734F5D18cBa09Bd78";
3552
+ };
3202
3553
  readonly sodaBNB: {
3203
3554
  readonly symbol: "sodaBNB";
3204
3555
  readonly name: "Soda BNB";
@@ -3235,6 +3586,15 @@ export declare const hubConfig: {
3235
3586
  readonly hubAsset: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
3236
3587
  readonly vault: "0x7A1A5555842Ad2D0eD274d09b5c4406a95799D5d";
3237
3588
  };
3589
+ readonly sodaWBTC: {
3590
+ readonly symbol: "sodaWBTC";
3591
+ readonly name: "Soda Wrapped BTC";
3592
+ readonly decimals: 18;
3593
+ readonly address: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
3594
+ readonly chainKey: "sonic";
3595
+ readonly hubAsset: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
3596
+ readonly vault: "0x811C3fCc13f9c2a23AE2Ae2DCadacFAC6eb5f0eB";
3597
+ };
3238
3598
  readonly sodaSOL: {
3239
3599
  readonly symbol: "sodaSOL";
3240
3600
  readonly name: "Soda SOL";
@@ -3382,7 +3742,7 @@ export declare const hubConfig: {
3382
3742
  readonly sodaNEAR: {
3383
3743
  readonly symbol: "sodaNEAR";
3384
3744
  readonly name: "SODA NEAR";
3385
- readonly decimals: 24;
3745
+ readonly decimals: 18;
3386
3746
  readonly address: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
3387
3747
  readonly chainKey: "sonic";
3388
3748
  readonly hubAsset: "0xf4ba497c9b805e4bd88a8a9e6a7b8f74984c3e39";
@@ -3415,6 +3775,24 @@ export declare const hubConfig: {
3415
3775
  readonly hubAsset: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
3416
3776
  readonly vault: "0x243b0c26c8b38793908d7C64e8510f21B19B4613";
3417
3777
  };
3778
+ readonly sodaHBAR: {
3779
+ readonly symbol: "sodaHBAR";
3780
+ readonly name: "Soda HBAR";
3781
+ readonly decimals: 18;
3782
+ readonly address: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
3783
+ readonly chainKey: "sonic";
3784
+ readonly hubAsset: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
3785
+ readonly vault: "0x3BB956cc8922E1Ba4148dc10eD1b4Fa19aa599c4";
3786
+ };
3787
+ readonly sodaJITOSOL: {
3788
+ readonly symbol: "sodaJITOSOL";
3789
+ readonly name: "Soda JITOSOL";
3790
+ readonly decimals: 18;
3791
+ readonly address: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
3792
+ readonly chainKey: "sonic";
3793
+ readonly hubAsset: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
3794
+ readonly vault: "0xe1bad4400d947Bc4fa66f9c0A143D800002083a0";
3795
+ };
3418
3796
  readonly S: {
3419
3797
  readonly symbol: "S";
3420
3798
  readonly name: "Sonic";
@@ -3488,4 +3866,3 @@ export declare const hubConfig: {
3488
3866
  };
3489
3867
  export type IntentRelayChainId = (typeof RelayChainIdMap)[keyof typeof RelayChainIdMap];
3490
3868
  export type IntentRelayChainIdMap = Record<ChainKey, IntentRelayChainId>;
3491
- //# sourceMappingURL=chains.d.ts.map