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