@moonbeam-network/xcm-config 1.0.0-dev.28 → 1.0.0-dev.281

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2022 PureStake
1
+ Copyright 2024 Moonbeam Foundation
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
package/README.md CHANGED
@@ -1,14 +1,20 @@
1
- ![Moonbeam](https://docs.moonbeam.network/images/builders/interoperability/xcm/sdk/xcm-sdk-banner.png)
1
+ The Config package contains the chains and assets configuration for the Moonbeam XCM SDK and MRL SDK.
2
2
 
3
- The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem. With the SDK, you don't need to worry about determining the multilocation of the origin or destination assets or which extrinsics are used on which networks to send XCM transfers. To deposit or withdraw assets, you simply define the asset and origin chain you want to deposit from or withdraw back to, along with the sending account's signer, and the amount to send.
3
+ # Documentation for the Moonbeam XCM SDK
4
4
 
5
- # Documentation
5
+ ## v3 (current)
6
6
 
7
- ## v1 (current)
7
+ ### Usage
8
8
 
9
- - TODO: (coming soon)
9
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/xcm)
10
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/mrl)
10
11
 
11
- ## v0 (previous)
12
+ ### References
12
13
 
13
- - [usage](https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/)
14
- - [references](https://docs.moonbeam.network/builders/xcm/xcm-sdk/reference/)
14
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/xcm)
15
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/mrl)
16
+
17
+ ## v2 (previous)
18
+
19
+ - [usage](https://moonbeam-foundation.github.io/xcm-sdk/v2/example-usage)
20
+ - [references](https://moonbeam-foundation.github.io/xcm-sdk/v2/reference/interfaces)
package/build/index.d.ts CHANGED
@@ -1,363 +1,313 @@
1
- import {
2
- Asset,
3
- AnyChain,
4
- Ecosystem,
5
- Parachain,
6
- EvmParachain,
7
- } from '@moonbeam-network/xcm-types';
8
- import {
9
- BalanceConfigBuilder,
10
- ContractConfigBuilder,
11
- ExtrinsicConfigBuilder,
12
- AssetMinConfigBuilder,
13
- FeeConfigBuilder,
14
- } from '@moonbeam-network/xcm-builder';
15
-
16
- interface AssetConfigConstructorParams {
17
- asset: Asset;
18
- balance: BalanceConfigBuilder;
19
- contract?: ContractConfigBuilder;
20
- destination: AnyChain;
21
- destinationFee: DestinationFeeConfig;
22
- extrinsic?: ExtrinsicConfigBuilder;
23
- fee?: FeeAssetConfig;
24
- min?: AssetMinConfigBuilder;
25
- }
26
- interface DestinationFeeConfig extends FeeAssetConfig {
27
- amount: number | FeeConfigBuilder;
28
- }
29
- interface FeeAssetConfig {
30
- asset: Asset;
31
- balance: BalanceConfigBuilder;
32
- }
33
- declare class AssetConfig {
34
- readonly asset: Asset;
35
- readonly balance: BalanceConfigBuilder;
36
- readonly contract?: ContractConfigBuilder;
37
- readonly destination: AnyChain;
38
- readonly destinationFee: DestinationFeeConfig;
39
- readonly extrinsic?: ExtrinsicConfigBuilder;
40
- readonly fee?: FeeAssetConfig;
41
- readonly min?: AssetMinConfigBuilder;
42
- constructor({
43
- asset,
44
- balance,
45
- contract,
46
- destination,
47
- destinationFee,
48
- extrinsic,
49
- fee,
50
- min,
51
- }: AssetConfigConstructorParams);
52
- }
53
-
54
- interface ChainConfigConstructorParams {
55
- assets: AssetConfig[];
56
- chain: AnyChain;
57
- }
58
- declare class ChainConfig {
59
- #private;
60
- readonly chain: AnyChain;
61
- constructor({ assets, chain }: ChainConfigConstructorParams);
62
- getAssetsConfigs(): AssetConfig[];
63
- getAssetConfigs(asset: Asset): AssetConfig[];
64
- getAssetDestinations(asset: Asset): AnyChain[];
65
- getAssetDestinationConfig(asset: Asset, destination: AnyChain): AssetConfig;
66
- }
67
-
68
- interface IConfigService {
69
- getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
70
- getAsset(keyOrAsset: string | Asset): Asset;
71
- getChain(keyOrAsset: string | AnyChain): AnyChain;
72
- getSourceChains(asset: Asset, ecosystem: Ecosystem | undefined): AnyChain[];
73
- getDestinationChains(asset: Asset, source: AnyChain): AnyChain[];
74
- getAssetDestinationConfig(
75
- asset: Asset,
76
- source: AnyChain,
77
- destination: AnyChain,
78
- ): AssetConfig;
79
- }
80
-
81
- interface ConfigServiceOptions {
82
- assets?: Map<string, Asset>;
83
- chains?: Map<string, AnyChain>;
84
- chainsConfig?: Map<string, ChainConfig>;
85
- }
86
- declare class ConfigService implements IConfigService {
87
- protected assets: Map<string, Asset>;
88
- protected chains: Map<string, AnyChain>;
89
- protected chainsConfig: Map<string, ChainConfig>;
90
- constructor(options?: ConfigServiceOptions);
91
- getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
92
- getAsset(keyOrAsset: string | Asset): Asset;
93
- getChain(keyOrAsset: string | AnyChain): AnyChain;
94
- getChainConfig(keyOrAsset: string | AnyChain): ChainConfig;
95
- getSourceChains(asset: Asset, ecosystem: Ecosystem | undefined): AnyChain[];
96
- getDestinationChains(asset: Asset, source: AnyChain): AnyChain[];
97
- getAssetDestinationConfig(
98
- asset: Asset,
99
- source: AnyChain,
100
- destination: AnyChain,
101
- ): AssetConfig;
102
- updateAsset(asset: Asset): void;
103
- updateChain(chain: AnyChain): void;
104
- updateChainConfig(chainConfig: ChainConfig): void;
105
- }
106
-
107
- interface TransferConfig {
108
- asset: Asset;
109
- source: ChainTransferConfig;
110
- destination: ChainTransferConfig;
111
- }
112
- interface ChainTransferConfig {
113
- chain: AnyChain;
114
- config: AssetConfig;
115
- }
116
-
117
- declare function ConfigBuilder(service?: IConfigService): {
118
- assets: (ecosystem?: Ecosystem) => {
119
- assets: Asset[];
120
- asset: (keyOrAsset: string | Asset) => {
121
- sourceChains: AnyChain[];
122
- source: (keyOrChain: string | AnyChain) => {
123
- destinationChains: AnyChain[];
124
- destination: (keyOrChain: string | AnyChain) => {
125
- build: () => TransferConfig;
126
- };
127
- };
128
- };
129
- };
130
- };
1
+ import { Asset, AnyChain, SetOptional, ChainAsset, AnyAsset, AnyParachain, Ecosystem, Parachain, EvmParachain, EvmChain } from '@moonbeam-network/xcm-types';
2
+ import { BalanceConfigBuilder, AssetMinConfigBuilder, FeeConfigBuilder, ContractConfigBuilder, ExtrinsicConfigBuilder, EventMonitoringConfig, MrlConfigBuilder, BridgeFeeConfigBuilder } from '@moonbeam-network/xcm-builder';
131
3
 
132
4
  declare const aca: Asset;
5
+ declare const agng: Asset;
133
6
  declare const alan: Asset;
7
+ declare const ampe: Asset;
8
+ declare const apillon: Asset;
9
+ declare const aseed: Asset;
134
10
  declare const astr: Asset;
135
- declare const atom: Asset;
136
11
  declare const auq: Asset;
137
- declare const aseed: Asset;
138
- declare const betaDEV: Asset;
12
+ declare const axlusdc: Asset;
139
13
  declare const bnc: Asset;
140
14
  declare const cfg: Asset;
141
15
  declare const crab: Asset;
142
16
  declare const csm: Asset;
17
+ declare const dai: Asset;
18
+ declare const ded: Asset;
143
19
  declare const dev: Asset;
20
+ declare const devBeta: Asset;
21
+ declare const devStage: Asset;
144
22
  declare const dot: Asset;
145
23
  declare const eq: Asset;
146
24
  declare const eqd: Asset;
147
- declare const dai: Asset;
25
+ declare const eth: Asset;
26
+ declare const eurc: Asset;
148
27
  declare const fil: Asset;
28
+ declare const ftm: Asset;
29
+ declare const ftmwh: Asset;
149
30
  declare const glmr: Asset;
150
31
  declare const hdx: Asset;
151
- declare const hko: Asset;
152
32
  declare const ibtc: Asset;
153
33
  declare const intr: Asset;
154
34
  declare const kar: Asset;
155
35
  declare const kbtc: Asset;
156
36
  declare const kint: Asset;
157
- declare const kma: Asset;
158
37
  declare const ksm: Asset;
38
+ declare const lamaGLMR: Asset;
39
+ declare const laos: Asset;
40
+ declare const ldot: Asset;
159
41
  declare const lit: Asset;
160
- declare const mgx: Asset;
42
+ declare const manta: Asset;
43
+ declare const maos: Asset;
161
44
  declare const movr: Asset;
45
+ declare const samaMOVR: Asset;
46
+ declare const neuro: Asset;
162
47
  declare const nodl: Asset;
163
48
  declare const otp: Asset;
164
49
  declare const para: Asset;
165
50
  declare const paring: Asset;
51
+ declare const peaq: Asset;
52
+ declare const pen: Asset;
166
53
  declare const pha: Asset;
167
54
  declare const pica: Asset;
55
+ declare const pink: Asset;
56
+ declare const pizza: Asset;
57
+ declare const pizzaUSDC: Asset;
168
58
  declare const ring: Asset;
169
59
  declare const rmrk: Asset;
170
60
  declare const sdn: Asset;
171
61
  declare const soon: Asset;
62
+ declare const stink: Asset;
63
+ declare const sub: Asset;
172
64
  declare const teer: Asset;
65
+ declare const tnkr: Asset;
173
66
  declare const tt1: Asset;
174
67
  declare const tur: Asset;
175
68
  declare const unit: Asset;
176
69
  declare const usdc: Asset;
177
70
  declare const usdcwh: Asset;
178
71
  declare const usdt: Asset;
72
+ declare const usdtksm: Asset;
179
73
  declare const usdtwh: Asset;
180
- declare const wbtc: Asset;
181
- declare const weth: Asset;
182
- declare const wftm: Asset;
74
+ declare const vastr: Asset;
183
75
  declare const vbnc: Asset;
184
76
  declare const vdot: Asset;
185
77
  declare const vfil: Asset;
186
78
  declare const vglmr: Asset;
187
79
  declare const vksm: Asset;
80
+ declare const vmanta: Asset;
188
81
  declare const vmovr: Asset;
82
+ declare const wbtc: Asset;
83
+ declare const weth: Asset;
84
+ declare const wftm: Asset;
85
+ declare const wifd: Asset;
189
86
  declare const xrt: Asset;
190
87
  declare const ztg: Asset;
88
+ declare const wbtce: Asset;
89
+ declare const wstethe: Asset;
90
+ declare const wethe: Asset;
191
91
  declare const assetsList: Asset[];
192
92
  declare const assetsMap: Map<string, Asset>;
193
93
 
94
+ interface AssetRouteConstructorParams {
95
+ source: SourceConfig;
96
+ destination: DestinationConfig;
97
+ contract?: ContractConfigBuilder;
98
+ extrinsic?: ExtrinsicConfigBuilder;
99
+ monitoring?: EventMonitoringConfig;
100
+ }
101
+ interface SourceConfig {
102
+ asset: Asset;
103
+ chain: AnyChain;
104
+ balance: BalanceConfigBuilder;
105
+ fee: FeeConfig;
106
+ destinationFee?: {
107
+ asset?: Asset;
108
+ balance: BalanceConfigBuilder;
109
+ };
110
+ min?: AssetMinConfigBuilder;
111
+ }
112
+ interface DestinationConfig extends Omit<SourceConfig, 'fee'> {
113
+ fee: FeeAmountConfig;
114
+ }
115
+ interface FeeConfig {
116
+ asset: Asset;
117
+ balance: BalanceConfigBuilder;
118
+ extra?: number;
119
+ }
120
+ interface FeeAmountConfig extends SetOptional<FeeConfig, 'balance'> {
121
+ amount: number | FeeConfigBuilder;
122
+ }
123
+ declare class AssetRoute {
124
+ readonly source: SourceConfig;
125
+ readonly destination: DestinationConfig;
126
+ readonly contract?: ContractConfigBuilder;
127
+ readonly extrinsic?: ExtrinsicConfigBuilder;
128
+ readonly monitoring?: EventMonitoringConfig;
129
+ constructor({ source, destination, contract, extrinsic, monitoring, }: AssetRouteConstructorParams);
130
+ getDestinationFeeAssetOnSource(): ChainAsset;
131
+ }
132
+
133
+ interface ChainRoutesConstructorParams {
134
+ chain: AnyChain;
135
+ routes: RoutesParam[];
136
+ }
137
+ interface RoutesParam extends Omit<AssetRouteConstructorParams, 'source'> {
138
+ source: Omit<SourceConfig, 'chain'>;
139
+ }
140
+ declare class ChainRoutes {
141
+ readonly chain: AnyChain;
142
+ protected routes: Map<string, AssetRoute>;
143
+ constructor({ chain, routes }: ChainRoutesConstructorParams);
144
+ getRoutes(): AssetRoute[];
145
+ getAssetRoutes(keyOrAsset: string | AnyAsset): AssetRoute[];
146
+ getAssetDestinations(keyOrAsset: string | AnyAsset): AnyChain[];
147
+ getDestinationAssets(keyOrChain: string | AnyChain): Asset[];
148
+ getAssetRoute(asset: string | AnyAsset, destination: string | AnyChain): AssetRoute;
149
+ }
150
+
151
+ interface MrlAssetRouteConstructorParams extends AssetRouteConstructorParams {
152
+ source: MrlSourceConfig;
153
+ mrl: MrlConfig;
154
+ }
155
+ interface MrlConfig {
156
+ isAutomaticPossible: boolean;
157
+ transfer: MrlConfigBuilder;
158
+ bridgeChain: BridgeChainConfig;
159
+ }
160
+ interface MrlSourceConfig extends SourceConfig {
161
+ /** Protocol bridge fee (e.g., Snowbridge fee) */
162
+ protocolFee?: number | BridgeFeeConfigBuilder;
163
+ bridgeChainFee?: {
164
+ asset: Asset;
165
+ balance: BalanceConfigBuilder;
166
+ };
167
+ }
168
+ interface BridgeChainConfig {
169
+ asset: Asset;
170
+ balance: BalanceConfigBuilder;
171
+ chain: AnyParachain;
172
+ fee: BridgeChainFeeConfig;
173
+ }
174
+ interface BridgeChainFeeConfig extends FeeConfig {
175
+ amount: number | FeeConfigBuilder;
176
+ }
177
+ declare class MrlAssetRoute extends AssetRoute {
178
+ readonly mrl: MrlConfig;
179
+ readonly source: MrlSourceConfig;
180
+ constructor({ source, destination, contract, extrinsic, mrl, }: MrlAssetRouteConstructorParams & {
181
+ source: MrlSourceConfig;
182
+ });
183
+ }
184
+
185
+ interface MrlChainRoutesConstructorParams extends ChainRoutesConstructorParams {
186
+ routes: MrlRoutesParam[];
187
+ }
188
+ interface MrlRoutesParam extends Omit<MrlAssetRouteConstructorParams, 'source'> {
189
+ source: Omit<MrlSourceConfig, 'chain'>;
190
+ }
191
+ declare class MrlChainRoutes extends ChainRoutes {
192
+ protected routes: Map<string, MrlAssetRoute>;
193
+ constructor({ chain, routes }: MrlChainRoutesConstructorParams);
194
+ getRoutes(): MrlAssetRoute[];
195
+ getAssetRoute(asset: string | AnyAsset, destination: string | AnyChain): MrlAssetRoute;
196
+ }
197
+
198
+ /**
199
+ * Configuration options for initializing the ConfigService.
200
+ * This interface defines the structure for configuring assets, chains, routes, and endpoints.
201
+ */
202
+ interface ConfigServiceOptions {
203
+ /**
204
+ * Optional map of assets where the key is the asset identifier and the value is the Asset object.
205
+ * If not provided, defaults to the predefined assetsMap.
206
+ */
207
+ assets?: Map<string, Asset>;
208
+ /**
209
+ * Optional map of chains where the key is the chain identifier and the value is the Chain object.
210
+ * If not provided, defaults to the predefined chainsMap.
211
+ */
212
+ chains?: Map<string, AnyChain>;
213
+ /**
214
+ * Routes configuration.
215
+ */
216
+ routes: Map<string, ChainRoutes | MrlChainRoutes>;
217
+ }
218
+ declare class ConfigService {
219
+ protected assets: Map<string, Asset>;
220
+ protected chains: Map<string, AnyChain>;
221
+ protected routes: Map<string, ChainRoutes | MrlChainRoutes>;
222
+ constructor(options: ConfigServiceOptions);
223
+ getAsset(keyOrAsset: string | Asset): Asset;
224
+ getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
225
+ getChain(keyOrChain: string | AnyChain): AnyChain;
226
+ getChainRoutes(keyOrChain: string | AnyChain): ChainRoutes | MrlChainRoutes;
227
+ getSourceChains({ asset, ecosystem, }: {
228
+ asset?: string | Asset;
229
+ ecosystem?: Ecosystem;
230
+ }): AnyChain[];
231
+ getDestinationChains({ asset, source, }: {
232
+ asset?: string | AnyAsset;
233
+ source: string | AnyChain;
234
+ }): AnyChain[];
235
+ getAssetRoute({ asset, source, destination, }: {
236
+ asset: string | AnyAsset;
237
+ source: string | AnyChain;
238
+ destination: string | AnyChain;
239
+ }): AssetRoute | MrlAssetRoute;
240
+ getRouteAssets({ source, destination, }: {
241
+ source: string | AnyChain;
242
+ destination: string | AnyChain;
243
+ }): Asset[];
244
+ updateAsset(asset: Asset): void;
245
+ updateChain(chain: AnyChain): void;
246
+ updateChainRoute(route: ChainRoutes): void;
247
+ updateEndpoints(endpoints: {
248
+ [key: string]: {
249
+ rpc: string;
250
+ ws: string[];
251
+ };
252
+ }): void;
253
+ }
254
+
194
255
  declare const acala: Parachain;
195
256
  declare const alphanetAssetHub: Parachain;
196
257
  declare const alphanetRelay: Parachain;
197
258
  declare const astar: Parachain;
198
259
  declare const bifrostKusama: Parachain;
199
260
  declare const bifrostPolkadot: Parachain;
200
- declare const calamari: Parachain;
201
261
  declare const centrifuge: Parachain;
202
262
  declare const crustShadow: Parachain;
203
263
  declare const darwinia: EvmParachain;
204
264
  declare const darwiniaCrab: EvmParachain;
205
- declare const darwiniaPangoro: EvmParachain;
206
- declare const equilibrium: Parachain;
207
- declare const equilibriumAlphanet: Parachain;
208
- declare const hydraDX: Parachain;
265
+ declare const ethereum: EvmChain;
266
+ declare const fantomTestnet: EvmChain;
267
+ declare const hydration: Parachain;
268
+ declare const hydrationAlphanet: Parachain;
209
269
  declare const interlay: Parachain;
210
- declare const integritee: Parachain;
211
270
  declare const karura: Parachain;
212
- declare const khala: Parachain;
213
271
  declare const kintsugi: Parachain;
214
272
  declare const kusama: Parachain;
215
273
  declare const kusamaAssetHub: Parachain;
216
- declare const litentryAlphanet: Parachain;
217
- declare const litmus: Parachain;
218
- declare const mangataKusama: Parachain;
274
+ declare const mantaParachain: Parachain;
275
+ declare const laosAlphanet: EvmParachain;
276
+ declare const laosMainnet: EvmParachain;
219
277
  declare const moonbaseAlpha: EvmParachain;
220
278
  declare const moonbaseBeta: EvmParachain;
279
+ declare const moonbaseStage: EvmParachain;
280
+ declare const moonlama: EvmParachain;
281
+ declare const moonsama: EvmParachain;
221
282
  declare const moonbeam: EvmParachain;
222
283
  declare const moonriver: EvmParachain;
223
- declare const nodle: Parachain;
224
- declare const originTrail: Parachain;
284
+ declare const neuroweb: Parachain;
225
285
  declare const originTrailAlphanet: Parachain;
226
- declare const parallel: Parachain;
227
- declare const parallelHeiko: Parachain;
228
- declare const phala: Parachain;
229
- declare const picasso: Parachain;
230
- declare const picassoAlphanet: Parachain;
286
+ declare const peaqAlphanet: Parachain;
287
+ declare const peaqChain: Parachain;
288
+ declare const peaqEvm: EvmParachain;
289
+ declare const peaqEvmAlphanet: EvmParachain;
290
+ declare const pendulum: Parachain;
291
+ declare const pendulumAlphanet: Parachain;
231
292
  declare const polkadot: Parachain;
232
293
  declare const polkadotAssetHub: Parachain;
233
294
  declare const robonomics: Parachain;
234
295
  declare const shiden: Parachain;
235
- declare const turing: Parachain;
236
296
  declare const turingAlphanet: Parachain;
237
297
  declare const uniqueAlpha: Parachain;
238
298
  declare const zeitgeist: Parachain;
239
299
  declare const chainsList: AnyChain[];
240
300
  declare const chainsMap: Map<string, AnyChain>;
241
301
 
242
- export {
243
- AssetConfig,
244
- AssetConfigConstructorParams,
245
- ChainConfig,
246
- ChainConfigConstructorParams,
247
- ChainTransferConfig,
248
- ConfigBuilder,
249
- ConfigService,
250
- ConfigServiceOptions,
251
- DestinationFeeConfig,
252
- FeeAssetConfig,
253
- IConfigService,
254
- TransferConfig,
255
- aca,
256
- acala,
257
- alan,
258
- alphanetAssetHub,
259
- alphanetRelay,
260
- aseed,
261
- assetsList,
262
- assetsMap,
263
- astar,
264
- astr,
265
- atom,
266
- auq,
267
- betaDEV,
268
- bifrostKusama,
269
- bifrostPolkadot,
270
- bnc,
271
- calamari,
272
- centrifuge,
273
- cfg,
274
- chainsList,
275
- chainsMap,
276
- crab,
277
- crustShadow,
278
- csm,
279
- dai,
280
- darwinia,
281
- darwiniaCrab,
282
- darwiniaPangoro,
283
- dev,
284
- dot,
285
- eq,
286
- eqd,
287
- equilibrium,
288
- equilibriumAlphanet,
289
- fil,
290
- glmr,
291
- hdx,
292
- hko,
293
- hydraDX,
294
- ibtc,
295
- integritee,
296
- interlay,
297
- intr,
298
- kar,
299
- karura,
300
- kbtc,
301
- khala,
302
- kint,
303
- kintsugi,
304
- kma,
305
- ksm,
306
- kusama,
307
- kusamaAssetHub,
308
- lit,
309
- litentryAlphanet,
310
- litmus,
311
- mangataKusama,
312
- mgx,
313
- moonbaseAlpha,
314
- moonbaseBeta,
315
- moonbeam,
316
- moonriver,
317
- movr,
318
- nodl,
319
- nodle,
320
- originTrail,
321
- originTrailAlphanet,
322
- otp,
323
- para,
324
- parallel,
325
- parallelHeiko,
326
- paring,
327
- pha,
328
- phala,
329
- pica,
330
- picasso,
331
- picassoAlphanet,
332
- polkadot,
333
- polkadotAssetHub,
334
- ring,
335
- rmrk,
336
- robonomics,
337
- sdn,
338
- shiden,
339
- soon,
340
- teer,
341
- tt1,
342
- tur,
343
- turing,
344
- turingAlphanet,
345
- uniqueAlpha,
346
- unit,
347
- usdc,
348
- usdcwh,
349
- usdt,
350
- usdtwh,
351
- vbnc,
352
- vdot,
353
- vfil,
354
- vglmr,
355
- vksm,
356
- vmovr,
357
- wbtc,
358
- weth,
359
- wftm,
360
- xrt,
361
- zeitgeist,
362
- ztg,
363
- };
302
+ declare function getKey(keyOrModel: string | AnyAsset | AnyChain): string;
303
+
304
+ declare const crossEcosystemsRoutesList: ChainRoutes[];
305
+ declare const crossEcosystemsRoutesMap: Map<string, ChainRoutes>;
306
+
307
+ declare const mrlRoutesList: MrlChainRoutes[];
308
+ declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
309
+
310
+ declare const xcmRoutesList: ChainRoutes[];
311
+ declare const xcmRoutesMap: Map<string, ChainRoutes>;
312
+
313
+ export { AssetRoute, type AssetRouteConstructorParams, type BridgeChainConfig, type BridgeChainFeeConfig, ChainRoutes, type ChainRoutesConstructorParams, ConfigService, type ConfigServiceOptions, type DestinationConfig, type FeeAmountConfig, type FeeConfig, MrlAssetRoute, type MrlAssetRouteConstructorParams, MrlChainRoutes, type MrlChainRoutesConstructorParams, type MrlConfig, type MrlSourceConfig, type SourceConfig, aca, acala, agng, alan, alphanetAssetHub, alphanetRelay, ampe, apillon, aseed, assetsList, assetsMap, astar, astr, auq, axlusdc, bifrostKusama, bifrostPolkadot, bnc, centrifuge, cfg, chainsList, chainsMap, crab, crossEcosystemsRoutesList, crossEcosystemsRoutesMap, crustShadow, csm, dai, darwinia, darwiniaCrab, ded, dev, devBeta, devStage, dot, eq, eqd, eth, ethereum, eurc, fantomTestnet, fil, ftm, ftmwh, getKey, glmr, hdx, hydration, hydrationAlphanet, ibtc, interlay, intr, kar, karura, kbtc, kint, kintsugi, ksm, kusama, kusamaAssetHub, lamaGLMR, laos, laosAlphanet, laosMainnet, ldot, lit, manta, mantaParachain, maos, moonbaseAlpha, moonbaseBeta, moonbaseStage, moonbeam, moonlama, moonriver, moonsama, movr, mrlRoutesList, mrlRoutesMap, neuro, neuroweb, nodl, originTrailAlphanet, otp, para, paring, peaq, peaqAlphanet, peaqChain, peaqEvm, peaqEvmAlphanet, pen, pendulum, pendulumAlphanet, pha, pica, pink, pizza, pizzaUSDC, polkadot, polkadotAssetHub, ring, rmrk, robonomics, samaMOVR, sdn, shiden, soon, stink, sub, teer, tnkr, tt1, tur, turingAlphanet, uniqueAlpha, unit, usdc, usdcwh, usdt, usdtksm, usdtwh, vastr, vbnc, vdot, vfil, vglmr, vksm, vmanta, vmovr, wbtc, wbtce, weth, wethe, wftm, wifd, wstethe, xcmRoutesList, xcmRoutesMap, xrt, zeitgeist, ztg };