@moonbeam-network/xcm-config 1.0.0-dev.29 → 1.0.0-dev.291

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,44 @@
1
- ![Moonbeam](https://docs.moonbeam.network/images/builders/interoperability/xcm/sdk/xcm-sdk-banner.png)
1
+ # @moonbeam-network/xcm-config
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
+ Configuration for supported chains and XCM routing definitions used in the Moonbeam XCM SDK and MRL SDK.
4
4
 
5
- # Documentation
5
+ ## Package Information
6
6
 
7
- ## v1 (current)
7
+ **NPM Package:** [https://www.npmjs.com/package/@moonbeam-network/xcm-config](https://www.npmjs.com/package/@moonbeam-network/xcm-config)
8
8
 
9
- - TODO: (coming soon)
9
+ **Package Level:** Level 4
10
+ **Depends on:** `@moonbeam-network/xcm-utils`, `@moonbeam-network/xcm-types`, `@moonbeam-network/xcm-builder`
10
11
 
11
- ## v0 (previous)
12
+ ## Features
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
+ This package provides:
15
+
16
+ - **Chain configurations** - Definitions for all supported blockchain networks
17
+ - **Asset configurations** - Token and asset metadata
18
+ - **XCM routing definitions** - Cross-chain message routing rules and parameters
19
+
20
+ ## Documentation
21
+
22
+ ### v4 (current)
23
+
24
+ #### Usage
25
+
26
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/xcm)
27
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/example-usage/mrl)
28
+
29
+ #### References
30
+
31
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/xcm)
32
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/latest/reference/mrl)
33
+
34
+ ### v3 (previous)
35
+
36
+ #### Usage
37
+
38
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/example-usage/xcm)
39
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/example-usage/mrl)
40
+
41
+ #### References
42
+
43
+ - [XCM SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/reference/xcm)
44
+ - [MRL SDK](https://moonbeam-foundation.github.io/xcm-sdk/v3/reference/mrl)
package/build/index.d.ts CHANGED
@@ -1,365 +1,319 @@
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, ProtocolFeeConfigBuilder } 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;
159
40
  declare const ldot: Asset;
160
41
  declare const lit: Asset;
161
- declare const mgx: Asset;
42
+ declare const manta: Asset;
43
+ declare const maos: Asset;
162
44
  declare const movr: Asset;
45
+ declare const samaMOVR: Asset;
46
+ declare const neuro: Asset;
163
47
  declare const nodl: Asset;
164
48
  declare const otp: Asset;
165
49
  declare const para: Asset;
166
50
  declare const paring: Asset;
51
+ declare const peaq: Asset;
52
+ declare const pen: Asset;
167
53
  declare const pha: Asset;
168
54
  declare const pica: Asset;
55
+ declare const pink: Asset;
56
+ declare const pizza: Asset;
57
+ declare const pizzaUSDC: Asset;
169
58
  declare const ring: Asset;
170
59
  declare const rmrk: Asset;
171
60
  declare const sdn: Asset;
172
61
  declare const soon: Asset;
62
+ declare const stink: Asset;
63
+ declare const sub: Asset;
173
64
  declare const teer: Asset;
65
+ declare const tnkr: Asset;
174
66
  declare const tt1: Asset;
175
67
  declare const tur: Asset;
176
68
  declare const unit: Asset;
177
69
  declare const usdc: Asset;
178
70
  declare const usdcwh: Asset;
179
71
  declare const usdt: Asset;
72
+ declare const usdtksm: Asset;
180
73
  declare const usdtwh: Asset;
181
- declare const wbtc: Asset;
182
- declare const weth: Asset;
183
- declare const wftm: Asset;
74
+ declare const vastr: Asset;
184
75
  declare const vbnc: Asset;
185
76
  declare const vdot: Asset;
186
77
  declare const vfil: Asset;
187
78
  declare const vglmr: Asset;
188
79
  declare const vksm: Asset;
80
+ declare const vmanta: Asset;
189
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;
190
86
  declare const xrt: Asset;
191
87
  declare const ztg: Asset;
88
+ declare const wbtce: Asset;
89
+ declare const wstethe: Asset;
90
+ declare const wethe: Asset;
192
91
  declare const assetsList: Asset[];
193
92
  declare const assetsMap: Map<string, Asset>;
194
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 ProtocolFeeConfig {
161
+ amount: number | ProtocolFeeConfigBuilder;
162
+ asset: Asset;
163
+ balance: BalanceConfigBuilder;
164
+ }
165
+ interface MrlSourceConfig extends SourceConfig {
166
+ /** Protocol bridge fee (e.g., Snowbridge fee) */
167
+ protocolFee?: ProtocolFeeConfig;
168
+ bridgeChainFee?: {
169
+ asset: Asset;
170
+ balance: BalanceConfigBuilder;
171
+ };
172
+ }
173
+ interface BridgeChainConfig {
174
+ asset: Asset;
175
+ balance: BalanceConfigBuilder;
176
+ chain: AnyParachain;
177
+ fee: BridgeChainFeeConfig;
178
+ }
179
+ interface BridgeChainFeeConfig extends FeeConfig {
180
+ amount: number | FeeConfigBuilder;
181
+ }
182
+ declare class MrlAssetRoute extends AssetRoute {
183
+ readonly mrl: MrlConfig & {
184
+ isAutomaticPossible: boolean;
185
+ };
186
+ readonly source: MrlSourceConfig;
187
+ constructor({ source, destination, contract, extrinsic, mrl, }: MrlAssetRouteConstructorParams & {
188
+ source: MrlSourceConfig;
189
+ });
190
+ }
191
+
192
+ interface MrlChainRoutesConstructorParams extends ChainRoutesConstructorParams {
193
+ routes: MrlRoutesParam[];
194
+ }
195
+ interface MrlRoutesParam extends Omit<MrlAssetRouteConstructorParams, 'source'> {
196
+ source: Omit<MrlSourceConfig, 'chain'>;
197
+ }
198
+ declare class MrlChainRoutes extends ChainRoutes {
199
+ protected routes: Map<string, MrlAssetRoute>;
200
+ constructor({ chain, routes }: MrlChainRoutesConstructorParams);
201
+ getRoutes(): MrlAssetRoute[];
202
+ getAssetRoute(asset: string | AnyAsset, destination: string | AnyChain): MrlAssetRoute;
203
+ }
204
+
205
+ /**
206
+ * Configuration options for initializing the ConfigService.
207
+ * This interface defines the structure for configuring assets, chains, routes, and endpoints.
208
+ */
209
+ interface ConfigServiceOptions {
210
+ /**
211
+ * Optional map of assets where the key is the asset identifier and the value is the Asset object.
212
+ * If not provided, defaults to the predefined assetsMap.
213
+ */
214
+ assets?: Map<string, Asset>;
215
+ /**
216
+ * Optional map of chains where the key is the chain identifier and the value is the Chain object.
217
+ * If not provided, defaults to the predefined chainsMap.
218
+ */
219
+ chains?: Map<string, AnyChain>;
220
+ /**
221
+ * Routes configuration.
222
+ */
223
+ routes: Map<string, ChainRoutes | MrlChainRoutes>;
224
+ }
225
+ declare class ConfigService {
226
+ protected assets: Map<string, Asset>;
227
+ protected chains: Map<string, AnyChain>;
228
+ protected routes: Map<string, ChainRoutes | MrlChainRoutes>;
229
+ constructor(options: ConfigServiceOptions);
230
+ getAsset(keyOrAsset: string | Asset): Asset;
231
+ getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
232
+ getChain(keyOrChain: string | AnyChain): AnyChain;
233
+ getChainRoutes(keyOrChain: string | AnyChain): ChainRoutes | MrlChainRoutes;
234
+ getSourceChains({ asset, ecosystem, }: {
235
+ asset?: string | Asset;
236
+ ecosystem?: Ecosystem;
237
+ }): AnyChain[];
238
+ getDestinationChains({ asset, source, }: {
239
+ asset?: string | AnyAsset;
240
+ source: string | AnyChain;
241
+ }): AnyChain[];
242
+ getAssetRoute({ asset, source, destination, }: {
243
+ asset: string | AnyAsset;
244
+ source: string | AnyChain;
245
+ destination: string | AnyChain;
246
+ }): AssetRoute | MrlAssetRoute;
247
+ getRouteAssets({ source, destination, }: {
248
+ source: string | AnyChain;
249
+ destination: string | AnyChain;
250
+ }): Asset[];
251
+ updateAsset(asset: Asset): void;
252
+ updateChain(chain: AnyChain): void;
253
+ updateChainRoute(route: ChainRoutes): void;
254
+ updateEndpoints(endpoints: {
255
+ [key: string]: {
256
+ rpc: string;
257
+ ws: string[];
258
+ };
259
+ }): void;
260
+ }
261
+
195
262
  declare const acala: Parachain;
196
263
  declare const alphanetAssetHub: Parachain;
197
264
  declare const alphanetRelay: Parachain;
198
265
  declare const astar: Parachain;
199
266
  declare const bifrostKusama: Parachain;
200
267
  declare const bifrostPolkadot: Parachain;
201
- declare const calamari: Parachain;
202
268
  declare const centrifuge: Parachain;
203
269
  declare const crustShadow: Parachain;
204
270
  declare const darwinia: EvmParachain;
205
271
  declare const darwiniaCrab: EvmParachain;
206
- declare const darwiniaPangoro: EvmParachain;
207
- declare const equilibrium: Parachain;
208
- declare const equilibriumAlphanet: Parachain;
209
- declare const hydraDX: Parachain;
272
+ declare const ethereum: EvmChain;
273
+ declare const fantomTestnet: EvmChain;
274
+ declare const hydration: Parachain;
275
+ declare const hydrationAlphanet: Parachain;
210
276
  declare const interlay: Parachain;
211
- declare const integritee: Parachain;
212
277
  declare const karura: Parachain;
213
- declare const khala: Parachain;
214
278
  declare const kintsugi: Parachain;
215
279
  declare const kusama: Parachain;
216
280
  declare const kusamaAssetHub: Parachain;
217
- declare const litentryAlphanet: Parachain;
218
- declare const litmus: Parachain;
219
- declare const mangataKusama: Parachain;
281
+ declare const mantaParachain: Parachain;
282
+ declare const laosAlphanet: EvmParachain;
283
+ declare const laosMainnet: EvmParachain;
220
284
  declare const moonbaseAlpha: EvmParachain;
221
285
  declare const moonbaseBeta: EvmParachain;
286
+ declare const moonbaseStage: EvmParachain;
287
+ declare const moonlama: EvmParachain;
288
+ declare const moonsama: EvmParachain;
222
289
  declare const moonbeam: EvmParachain;
223
290
  declare const moonriver: EvmParachain;
224
- declare const nodle: Parachain;
225
- declare const originTrail: Parachain;
291
+ declare const neuroweb: Parachain;
226
292
  declare const originTrailAlphanet: Parachain;
227
- declare const parallel: Parachain;
228
- declare const parallelHeiko: Parachain;
229
- declare const phala: Parachain;
230
- declare const picasso: Parachain;
231
- declare const picassoAlphanet: Parachain;
293
+ declare const peaqAlphanet: Parachain;
294
+ declare const peaqChain: Parachain;
295
+ declare const peaqEvm: EvmParachain;
296
+ declare const peaqEvmAlphanet: EvmParachain;
297
+ declare const pendulum: Parachain;
232
298
  declare const polkadot: Parachain;
233
299
  declare const polkadotAssetHub: Parachain;
234
300
  declare const robonomics: Parachain;
235
301
  declare const shiden: Parachain;
236
- declare const turing: Parachain;
237
302
  declare const turingAlphanet: Parachain;
238
303
  declare const uniqueAlpha: Parachain;
239
304
  declare const zeitgeist: Parachain;
240
305
  declare const chainsList: AnyChain[];
241
306
  declare const chainsMap: Map<string, AnyChain>;
242
307
 
243
- export {
244
- AssetConfig,
245
- AssetConfigConstructorParams,
246
- ChainConfig,
247
- ChainConfigConstructorParams,
248
- ChainTransferConfig,
249
- ConfigBuilder,
250
- ConfigService,
251
- ConfigServiceOptions,
252
- DestinationFeeConfig,
253
- FeeAssetConfig,
254
- IConfigService,
255
- TransferConfig,
256
- aca,
257
- acala,
258
- alan,
259
- alphanetAssetHub,
260
- alphanetRelay,
261
- aseed,
262
- assetsList,
263
- assetsMap,
264
- astar,
265
- astr,
266
- atom,
267
- auq,
268
- betaDEV,
269
- bifrostKusama,
270
- bifrostPolkadot,
271
- bnc,
272
- calamari,
273
- centrifuge,
274
- cfg,
275
- chainsList,
276
- chainsMap,
277
- crab,
278
- crustShadow,
279
- csm,
280
- dai,
281
- darwinia,
282
- darwiniaCrab,
283
- darwiniaPangoro,
284
- dev,
285
- dot,
286
- eq,
287
- eqd,
288
- equilibrium,
289
- equilibriumAlphanet,
290
- fil,
291
- glmr,
292
- hdx,
293
- hko,
294
- hydraDX,
295
- ibtc,
296
- integritee,
297
- interlay,
298
- intr,
299
- kar,
300
- karura,
301
- kbtc,
302
- khala,
303
- kint,
304
- kintsugi,
305
- kma,
306
- ksm,
307
- kusama,
308
- kusamaAssetHub,
309
- ldot,
310
- lit,
311
- litentryAlphanet,
312
- litmus,
313
- mangataKusama,
314
- mgx,
315
- moonbaseAlpha,
316
- moonbaseBeta,
317
- moonbeam,
318
- moonriver,
319
- movr,
320
- nodl,
321
- nodle,
322
- originTrail,
323
- originTrailAlphanet,
324
- otp,
325
- para,
326
- parallel,
327
- parallelHeiko,
328
- paring,
329
- pha,
330
- phala,
331
- pica,
332
- picasso,
333
- picassoAlphanet,
334
- polkadot,
335
- polkadotAssetHub,
336
- ring,
337
- rmrk,
338
- robonomics,
339
- sdn,
340
- shiden,
341
- soon,
342
- teer,
343
- tt1,
344
- tur,
345
- turing,
346
- turingAlphanet,
347
- uniqueAlpha,
348
- unit,
349
- usdc,
350
- usdcwh,
351
- usdt,
352
- usdtwh,
353
- vbnc,
354
- vdot,
355
- vfil,
356
- vglmr,
357
- vksm,
358
- vmovr,
359
- wbtc,
360
- weth,
361
- wftm,
362
- xrt,
363
- zeitgeist,
364
- ztg,
365
- };
308
+ declare function getKey(keyOrModel: string | AnyAsset | AnyChain): string;
309
+
310
+ declare const crossEcosystemsRoutesList: ChainRoutes[];
311
+ declare const crossEcosystemsRoutesMap: Map<string, ChainRoutes>;
312
+
313
+ declare const mrlRoutesList: MrlChainRoutes[];
314
+ declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
315
+
316
+ declare const xcmRoutesList: ChainRoutes[];
317
+ declare const xcmRoutesMap: Map<string, ChainRoutes>;
318
+
319
+ 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 ProtocolFeeConfig, 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, 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 };