@moonbeam-network/xcm-config 1.0.0-dev.145 → 1.0.0-dev.147
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 +1 -1
- package/build/index.d.ts +141 -270
- package/build/index.mjs +8986 -1
- package/build/index.mjs.map +1 -1
- package/package.json +17 -26
- package/build/index.cjs +0 -2
- package/build/index.cjs.map +0 -1
- package/build/index.d.cts +0 -236
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
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/build/index.d.ts
CHANGED
|
@@ -1,145 +1,148 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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';
|
|
1
|
+
import { Asset, AnyChain, SetOptional, ChainAsset, AnyAsset, Ecosystem, Parachain, EvmParachain, EvmChain } from '@moonbeam-network/xcm-types';
|
|
2
|
+
import { ContractConfigBuilder, ExtrinsicConfigBuilder, BalanceConfigBuilder, AssetMinConfigBuilder, MrlConfigBuilder, FeeConfigBuilder } from '@moonbeam-network/xcm-builder';
|
|
15
3
|
|
|
16
|
-
interface
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
extrinsic?: ExtrinsicConfigBuilder;
|
|
23
|
-
fee?: FeeAssetConfig;
|
|
24
|
-
min?: AssetMinConfigBuilder;
|
|
4
|
+
interface AssetRouteConstructorParams {
|
|
5
|
+
source: SourceConfig;
|
|
6
|
+
destination: DestinationConfig;
|
|
7
|
+
contract?: ContractConfigBuilder;
|
|
8
|
+
extrinsic?: ExtrinsicConfigBuilder;
|
|
9
|
+
mrl?: MrlConfig;
|
|
25
10
|
}
|
|
26
|
-
interface
|
|
27
|
-
|
|
28
|
-
|
|
11
|
+
interface SourceConfig {
|
|
12
|
+
asset: Asset;
|
|
13
|
+
chain: AnyChain;
|
|
14
|
+
balance: BalanceConfigBuilder;
|
|
15
|
+
fee?: FeeConfig;
|
|
16
|
+
destinationFee?: {
|
|
17
|
+
asset?: Asset;
|
|
18
|
+
balance: BalanceConfigBuilder;
|
|
19
|
+
};
|
|
20
|
+
min?: AssetMinConfigBuilder;
|
|
29
21
|
}
|
|
30
|
-
interface
|
|
31
|
-
|
|
32
|
-
balance: BalanceConfigBuilder;
|
|
33
|
-
xcmDeliveryFeeAmount?: number;
|
|
22
|
+
interface DestinationConfig extends Omit<SourceConfig, 'fee'> {
|
|
23
|
+
fee: DestinationFeeConfig;
|
|
34
24
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly destination: AnyChain;
|
|
40
|
-
readonly destinationFee: DestinationFeeConfig;
|
|
41
|
-
readonly extrinsic?: ExtrinsicConfigBuilder;
|
|
42
|
-
readonly fee?: FeeAssetConfig;
|
|
43
|
-
readonly min?: AssetMinConfigBuilder;
|
|
44
|
-
constructor({
|
|
45
|
-
asset,
|
|
46
|
-
balance,
|
|
47
|
-
contract,
|
|
48
|
-
destination,
|
|
49
|
-
destinationFee,
|
|
50
|
-
extrinsic,
|
|
51
|
-
fee,
|
|
52
|
-
min,
|
|
53
|
-
}: AssetConfigConstructorParams);
|
|
25
|
+
interface FeeConfig {
|
|
26
|
+
asset: Asset;
|
|
27
|
+
balance: BalanceConfigBuilder;
|
|
28
|
+
extra?: number;
|
|
54
29
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
30
|
+
interface MrlConfig {
|
|
31
|
+
isAutomaticPossible: boolean;
|
|
32
|
+
transfer: MrlConfigBuilder;
|
|
33
|
+
moonChain: MoonChainConfig;
|
|
34
|
+
}
|
|
35
|
+
interface DestinationFeeConfig extends SetOptional<FeeConfig, 'balance'> {
|
|
36
|
+
amount: number | FeeConfigBuilder;
|
|
37
|
+
}
|
|
38
|
+
interface MoonChainConfig {
|
|
39
|
+
asset: Asset;
|
|
40
|
+
fee: MoonChainFeeConfig;
|
|
41
|
+
}
|
|
42
|
+
interface MoonChainFeeConfig extends FeeConfig {
|
|
43
|
+
amount: number | FeeConfigBuilder;
|
|
59
44
|
}
|
|
60
|
-
declare class
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
45
|
+
declare class AssetRoute {
|
|
46
|
+
readonly source: SourceConfig;
|
|
47
|
+
readonly destination: DestinationConfig;
|
|
48
|
+
readonly contract?: ContractConfigBuilder;
|
|
49
|
+
readonly extrinsic?: ExtrinsicConfigBuilder;
|
|
50
|
+
readonly mrl?: MrlConfig;
|
|
51
|
+
constructor({ source, destination, contract, extrinsic, mrl, }: AssetRouteConstructorParams);
|
|
52
|
+
getDestinationFeeAssetOnSource(): ChainAsset;
|
|
68
53
|
}
|
|
69
54
|
|
|
70
|
-
interface
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
55
|
+
interface ChainRoutesConstructorParams {
|
|
56
|
+
chain: AnyChain;
|
|
57
|
+
routes: RoutesParam[];
|
|
58
|
+
}
|
|
59
|
+
interface RoutesParam extends Omit<AssetRouteConstructorParams, 'source'> {
|
|
60
|
+
source: Omit<SourceConfig, 'chain'>;
|
|
61
|
+
}
|
|
62
|
+
declare class ChainRoutes {
|
|
63
|
+
#private;
|
|
64
|
+
readonly chain: AnyChain;
|
|
65
|
+
constructor({ chain, routes }: ChainRoutesConstructorParams);
|
|
66
|
+
getRoutes(): AssetRoute[];
|
|
67
|
+
getAssetRoutes(keyOrAsset: string | AnyAsset): AssetRoute[];
|
|
68
|
+
getAssetDestinations(keyOrAsset: string | AnyAsset): AnyChain[];
|
|
69
|
+
getDestinationAssets(keyOrChain: string | AnyChain): Asset[];
|
|
70
|
+
getAssetRoute(asset: string | AnyAsset, destination: string | AnyChain): AssetRoute;
|
|
81
71
|
}
|
|
82
72
|
|
|
83
|
-
interface
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
73
|
+
interface MrlAssetRouteConstructorParams extends AssetRouteConstructorParams {
|
|
74
|
+
source: MrlSourceConfig;
|
|
75
|
+
}
|
|
76
|
+
interface MrlSourceConfig extends SourceConfig {
|
|
77
|
+
moonChainFee?: {
|
|
78
|
+
asset: Asset;
|
|
79
|
+
balance: BalanceConfigBuilder;
|
|
80
|
+
};
|
|
87
81
|
}
|
|
88
|
-
declare class
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
|
|
94
|
-
getAsset(keyOrAsset: string | Asset): Asset;
|
|
95
|
-
getChain(keyOrAsset: string | AnyChain): AnyChain;
|
|
96
|
-
getChainConfig(keyOrAsset: string | AnyChain): ChainConfig;
|
|
97
|
-
getSourceChains(asset: Asset, ecosystem: Ecosystem | undefined): AnyChain[];
|
|
98
|
-
getDestinationChains(asset: Asset, source: AnyChain): AnyChain[];
|
|
99
|
-
getAssetDestinationConfig(
|
|
100
|
-
asset: Asset,
|
|
101
|
-
source: AnyChain,
|
|
102
|
-
destination: AnyChain,
|
|
103
|
-
): AssetConfig;
|
|
104
|
-
updateAsset(asset: Asset): void;
|
|
105
|
-
updateChain(chain: AnyChain): void;
|
|
106
|
-
updateChainConfig(chainConfig: ChainConfig): void;
|
|
82
|
+
declare class MrlAssetRoute extends AssetRoute {
|
|
83
|
+
readonly source: MrlSourceConfig;
|
|
84
|
+
constructor({ source, destination, contract, extrinsic, mrl, }: MrlAssetRouteConstructorParams & {
|
|
85
|
+
source: MrlSourceConfig;
|
|
86
|
+
});
|
|
107
87
|
}
|
|
108
88
|
|
|
109
|
-
interface
|
|
110
|
-
|
|
111
|
-
source: ChainTransferConfig;
|
|
112
|
-
destination: ChainTransferConfig;
|
|
89
|
+
interface MrlChainRoutesConstructorParams extends ChainRoutesConstructorParams {
|
|
90
|
+
routes: MrlRoutesParam[];
|
|
113
91
|
}
|
|
114
|
-
interface
|
|
115
|
-
|
|
116
|
-
|
|
92
|
+
interface MrlRoutesParam extends Omit<MrlAssetRouteConstructorParams, 'source'> {
|
|
93
|
+
source: Omit<MrlSourceConfig, 'chain'>;
|
|
94
|
+
}
|
|
95
|
+
declare class MrlChainRoutes extends ChainRoutes {
|
|
96
|
+
#private;
|
|
97
|
+
constructor({ chain, routes }: MrlChainRoutesConstructorParams);
|
|
98
|
+
getRoutes(): MrlAssetRoute[];
|
|
117
99
|
}
|
|
118
100
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
101
|
+
interface ConfigServiceOptions {
|
|
102
|
+
assets?: Map<string, Asset>;
|
|
103
|
+
chains?: Map<string, AnyChain>;
|
|
104
|
+
routes: Map<string, ChainRoutes | MrlChainRoutes>;
|
|
105
|
+
}
|
|
106
|
+
declare class ConfigService {
|
|
107
|
+
protected assets: Map<string, Asset>;
|
|
108
|
+
protected chains: Map<string, AnyChain>;
|
|
109
|
+
protected routes: Map<string, ChainRoutes | MrlChainRoutes>;
|
|
110
|
+
constructor(options: ConfigServiceOptions);
|
|
111
|
+
getAsset(keyOrAsset: string | Asset): Asset;
|
|
112
|
+
getEcosystemAssets(ecosystem?: Ecosystem): Asset[];
|
|
113
|
+
getChain(keyOrChain: string | AnyChain): AnyChain;
|
|
114
|
+
getChainRoutes(keyOrChain: string | AnyChain): ChainRoutes | MrlChainRoutes;
|
|
115
|
+
getSourceChains({ asset, ecosystem, }: {
|
|
116
|
+
asset?: string | Asset;
|
|
117
|
+
ecosystem?: Ecosystem;
|
|
118
|
+
}): AnyChain[];
|
|
119
|
+
getDestinationChains({ asset, source, }: {
|
|
120
|
+
asset?: string | AnyAsset;
|
|
121
|
+
source: string | AnyChain;
|
|
122
|
+
}): AnyChain[];
|
|
123
|
+
getAssetRoute({ asset, source, destination, }: {
|
|
124
|
+
asset: string | AnyAsset;
|
|
125
|
+
source: string | AnyChain;
|
|
126
|
+
destination: string | AnyChain;
|
|
127
|
+
}): AssetRoute | MrlAssetRoute;
|
|
128
|
+
getRouteAssets({ source, destination, }: {
|
|
129
|
+
source: string | AnyChain;
|
|
130
|
+
destination: string | AnyChain;
|
|
131
|
+
}): Asset[];
|
|
132
|
+
updateAsset(asset: Asset): void;
|
|
133
|
+
updateChain(chain: AnyChain): void;
|
|
134
|
+
updateChainRoute(route: ChainRoutes): void;
|
|
135
|
+
}
|
|
133
136
|
|
|
134
137
|
declare const aca: Asset;
|
|
135
138
|
declare const agng: Asset;
|
|
136
139
|
declare const alan: Asset;
|
|
137
140
|
declare const ampe: Asset;
|
|
138
141
|
declare const apillon: Asset;
|
|
142
|
+
declare const aseed: Asset;
|
|
139
143
|
declare const astr: Asset;
|
|
140
144
|
declare const atom: Asset;
|
|
141
145
|
declare const auq: Asset;
|
|
142
|
-
declare const aseed: Asset;
|
|
143
146
|
declare const axlusdc: Asset;
|
|
144
147
|
declare const betaDEV: Asset;
|
|
145
148
|
declare const bnc: Asset;
|
|
@@ -147,13 +150,15 @@ declare const bncs: Asset;
|
|
|
147
150
|
declare const cfg: Asset;
|
|
148
151
|
declare const crab: Asset;
|
|
149
152
|
declare const csm: Asset;
|
|
153
|
+
declare const dai: Asset;
|
|
154
|
+
declare const ded: Asset;
|
|
150
155
|
declare const dev: Asset;
|
|
151
156
|
declare const dot: Asset;
|
|
152
157
|
declare const eq: Asset;
|
|
153
158
|
declare const eqd: Asset;
|
|
154
|
-
declare const dai: Asset;
|
|
155
|
-
declare const ded: Asset;
|
|
156
159
|
declare const fil: Asset;
|
|
160
|
+
declare const ftm: Asset;
|
|
161
|
+
declare const ftmwh: Asset;
|
|
157
162
|
declare const glmr: Asset;
|
|
158
163
|
declare const hdx: Asset;
|
|
159
164
|
declare const ibtc: Asset;
|
|
@@ -168,8 +173,8 @@ declare const lit: Asset;
|
|
|
168
173
|
declare const manta: Asset;
|
|
169
174
|
declare const mgx: Asset;
|
|
170
175
|
declare const movr: Asset;
|
|
171
|
-
declare const nodl: Asset;
|
|
172
176
|
declare const neuro: Asset;
|
|
177
|
+
declare const nodl: Asset;
|
|
173
178
|
declare const otp: Asset;
|
|
174
179
|
declare const para: Asset;
|
|
175
180
|
declare const paring: Asset;
|
|
@@ -193,9 +198,6 @@ declare const usdc: Asset;
|
|
|
193
198
|
declare const usdcwh: Asset;
|
|
194
199
|
declare const usdt: Asset;
|
|
195
200
|
declare const usdtwh: Asset;
|
|
196
|
-
declare const wbtc: Asset;
|
|
197
|
-
declare const weth: Asset;
|
|
198
|
-
declare const wftm: Asset;
|
|
199
201
|
declare const vastr: Asset;
|
|
200
202
|
declare const vbnc: Asset;
|
|
201
203
|
declare const vdot: Asset;
|
|
@@ -204,10 +206,12 @@ declare const vglmr: Asset;
|
|
|
204
206
|
declare const vksm: Asset;
|
|
205
207
|
declare const vmanta: Asset;
|
|
206
208
|
declare const vmovr: Asset;
|
|
209
|
+
declare const wbtc: Asset;
|
|
210
|
+
declare const weth: Asset;
|
|
211
|
+
declare const wftm: Asset;
|
|
207
212
|
declare const wifd: Asset;
|
|
208
213
|
declare const xrt: Asset;
|
|
209
214
|
declare const ztg: Asset;
|
|
210
|
-
declare const ftmwh: Asset;
|
|
211
215
|
declare const assetsList: Asset[];
|
|
212
216
|
declare const assetsMap: Map<string, Asset>;
|
|
213
217
|
|
|
@@ -222,10 +226,11 @@ declare const centrifuge: Parachain;
|
|
|
222
226
|
declare const crustShadow: Parachain;
|
|
223
227
|
declare const darwinia: EvmParachain;
|
|
224
228
|
declare const darwiniaCrab: EvmParachain;
|
|
229
|
+
declare const fantomTestnet: EvmChain;
|
|
225
230
|
declare const hydration: Parachain;
|
|
226
231
|
declare const hydrationAlphanet: Parachain;
|
|
227
|
-
declare const interlay: Parachain;
|
|
228
232
|
declare const integritee: Parachain;
|
|
233
|
+
declare const interlay: Parachain;
|
|
229
234
|
declare const karura: Parachain;
|
|
230
235
|
declare const khala: Parachain;
|
|
231
236
|
declare const kintsugi: Parachain;
|
|
@@ -238,12 +243,11 @@ declare const moonbaseBeta: EvmParachain;
|
|
|
238
243
|
declare const moonbeam: EvmParachain;
|
|
239
244
|
declare const moonriver: EvmParachain;
|
|
240
245
|
declare const neuroweb: Parachain;
|
|
241
|
-
declare const nodle: Parachain;
|
|
242
246
|
declare const originTrailAlphanet: Parachain;
|
|
243
247
|
declare const peaqAlphanet: Parachain;
|
|
244
248
|
declare const peaqChain: Parachain;
|
|
245
|
-
declare const peaqEvmAlphanet: EvmParachain;
|
|
246
249
|
declare const peaqEvm: EvmParachain;
|
|
250
|
+
declare const peaqEvmAlphanet: EvmParachain;
|
|
247
251
|
declare const pendulum: Parachain;
|
|
248
252
|
declare const pendulumAlphanet: Parachain;
|
|
249
253
|
declare const phala: Parachain;
|
|
@@ -262,146 +266,13 @@ declare const zeitgeist: Parachain;
|
|
|
262
266
|
declare const chainsList: AnyChain[];
|
|
263
267
|
declare const chainsMap: Map<string, AnyChain>;
|
|
264
268
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
type FeeAssetConfig,
|
|
276
|
-
type IConfigService,
|
|
277
|
-
type TransferConfig,
|
|
278
|
-
aca,
|
|
279
|
-
acala,
|
|
280
|
-
agng,
|
|
281
|
-
alan,
|
|
282
|
-
alphanetAssetHub,
|
|
283
|
-
alphanetRelay,
|
|
284
|
-
ampe,
|
|
285
|
-
apillon,
|
|
286
|
-
aseed,
|
|
287
|
-
assetsList,
|
|
288
|
-
assetsMap,
|
|
289
|
-
astar,
|
|
290
|
-
astr,
|
|
291
|
-
atom,
|
|
292
|
-
auq,
|
|
293
|
-
axlusdc,
|
|
294
|
-
betaDEV,
|
|
295
|
-
bifrostKusama,
|
|
296
|
-
bifrostPolkadot,
|
|
297
|
-
bnc,
|
|
298
|
-
bncs,
|
|
299
|
-
calamari,
|
|
300
|
-
centrifuge,
|
|
301
|
-
cfg,
|
|
302
|
-
chainsList,
|
|
303
|
-
chainsMap,
|
|
304
|
-
crab,
|
|
305
|
-
crustShadow,
|
|
306
|
-
csm,
|
|
307
|
-
dai,
|
|
308
|
-
darwinia,
|
|
309
|
-
darwiniaCrab,
|
|
310
|
-
ded,
|
|
311
|
-
dev,
|
|
312
|
-
dot,
|
|
313
|
-
eq,
|
|
314
|
-
eqd,
|
|
315
|
-
fil,
|
|
316
|
-
ftmwh,
|
|
317
|
-
glmr,
|
|
318
|
-
hdx,
|
|
319
|
-
hydration,
|
|
320
|
-
hydrationAlphanet,
|
|
321
|
-
ibtc,
|
|
322
|
-
integritee,
|
|
323
|
-
interlay,
|
|
324
|
-
intr,
|
|
325
|
-
kar,
|
|
326
|
-
karura,
|
|
327
|
-
kbtc,
|
|
328
|
-
khala,
|
|
329
|
-
kint,
|
|
330
|
-
kintsugi,
|
|
331
|
-
kma,
|
|
332
|
-
ksm,
|
|
333
|
-
kusama,
|
|
334
|
-
kusamaAssetHub,
|
|
335
|
-
ldot,
|
|
336
|
-
lit,
|
|
337
|
-
mangataKusama,
|
|
338
|
-
manta,
|
|
339
|
-
mantaParachain,
|
|
340
|
-
mgx,
|
|
341
|
-
moonbaseAlpha,
|
|
342
|
-
moonbaseBeta,
|
|
343
|
-
moonbeam,
|
|
344
|
-
moonriver,
|
|
345
|
-
movr,
|
|
346
|
-
neuro,
|
|
347
|
-
neuroweb,
|
|
348
|
-
nodl,
|
|
349
|
-
nodle,
|
|
350
|
-
originTrailAlphanet,
|
|
351
|
-
otp,
|
|
352
|
-
para,
|
|
353
|
-
paring,
|
|
354
|
-
peaq,
|
|
355
|
-
peaqAlphanet,
|
|
356
|
-
peaqChain,
|
|
357
|
-
peaqEvm,
|
|
358
|
-
peaqEvmAlphanet,
|
|
359
|
-
pen,
|
|
360
|
-
pendulum,
|
|
361
|
-
pendulumAlphanet,
|
|
362
|
-
pha,
|
|
363
|
-
phala,
|
|
364
|
-
pica,
|
|
365
|
-
picasso,
|
|
366
|
-
picassoAlphanet,
|
|
367
|
-
pink,
|
|
368
|
-
polkadot,
|
|
369
|
-
polkadotAssetHub,
|
|
370
|
-
ring,
|
|
371
|
-
rmrk,
|
|
372
|
-
robonomics,
|
|
373
|
-
sdn,
|
|
374
|
-
shiden,
|
|
375
|
-
soon,
|
|
376
|
-
stink,
|
|
377
|
-
sub,
|
|
378
|
-
subsocial,
|
|
379
|
-
teer,
|
|
380
|
-
tinkernet,
|
|
381
|
-
tnkr,
|
|
382
|
-
tt1,
|
|
383
|
-
tur,
|
|
384
|
-
turing,
|
|
385
|
-
turingAlphanet,
|
|
386
|
-
uniqueAlpha,
|
|
387
|
-
unit,
|
|
388
|
-
usdc,
|
|
389
|
-
usdcwh,
|
|
390
|
-
usdt,
|
|
391
|
-
usdtwh,
|
|
392
|
-
vastr,
|
|
393
|
-
vbnc,
|
|
394
|
-
vdot,
|
|
395
|
-
vfil,
|
|
396
|
-
vglmr,
|
|
397
|
-
vksm,
|
|
398
|
-
vmanta,
|
|
399
|
-
vmovr,
|
|
400
|
-
wbtc,
|
|
401
|
-
weth,
|
|
402
|
-
wftm,
|
|
403
|
-
wifd,
|
|
404
|
-
xrt,
|
|
405
|
-
zeitgeist,
|
|
406
|
-
ztg,
|
|
407
|
-
};
|
|
269
|
+
declare function getKey(keyOrModel: string | AnyAsset | AnyChain): string;
|
|
270
|
+
declare function getMoonChain(chain: AnyChain): EvmParachain;
|
|
271
|
+
|
|
272
|
+
declare const mrlRoutesList: MrlChainRoutes[];
|
|
273
|
+
declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
|
|
274
|
+
|
|
275
|
+
declare const xcmRoutesList: ChainRoutes[];
|
|
276
|
+
declare const xcmRoutesMap: Map<string, ChainRoutes>;
|
|
277
|
+
|
|
278
|
+
export { AssetRoute, type AssetRouteConstructorParams, ChainRoutes, type ChainRoutesConstructorParams, ConfigService, type ConfigServiceOptions, type DestinationConfig, type DestinationFeeConfig, type FeeConfig, type MoonChainConfig, type MoonChainFeeConfig, 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, atom, auq, axlusdc, betaDEV, bifrostKusama, bifrostPolkadot, bnc, bncs, calamari, centrifuge, cfg, chainsList, chainsMap, crab, crustShadow, csm, dai, darwinia, darwiniaCrab, ded, dev, dot, eq, eqd, fantomTestnet, fil, ftm, ftmwh, getKey, getMoonChain, glmr, hdx, hydration, hydrationAlphanet, ibtc, integritee, interlay, intr, kar, karura, kbtc, khala, kint, kintsugi, kma, ksm, kusama, kusamaAssetHub, ldot, lit, mangataKusama, manta, mantaParachain, mgx, moonbaseAlpha, moonbaseBeta, moonbeam, moonriver, movr, mrlRoutesList, mrlRoutesMap, neuro, neuroweb, nodl, originTrailAlphanet, otp, para, paring, peaq, peaqAlphanet, peaqChain, peaqEvm, peaqEvmAlphanet, pen, pendulum, pendulumAlphanet, pha, phala, pica, picasso, picassoAlphanet, pink, polkadot, polkadotAssetHub, ring, rmrk, robonomics, sdn, shiden, soon, stink, sub, subsocial, teer, tinkernet, tnkr, tt1, tur, turing, turingAlphanet, uniqueAlpha, unit, usdc, usdcwh, usdt, usdtwh, vastr, vbnc, vdot, vfil, vglmr, vksm, vmanta, vmovr, wbtc, weth, wftm, wifd, xcmRoutesList, xcmRoutesMap, xrt, zeitgeist, ztg };
|