@moonbeam-network/xcm-config 1.0.0-dev.17 → 1.0.0-dev.171
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 +185 -246
- package/build/index.mjs +10034 -1
- package/build/index.mjs.map +1 -1
- package/package.json +24 -34
- package/build/index.cjs +0 -2
- package/build/index.cjs.map +0 -1
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,152 +1,169 @@
|
|
|
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
|
-
|
|
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;
|
|
28
20
|
}
|
|
29
|
-
interface
|
|
30
|
-
|
|
31
|
-
balance: BalanceConfigBuilder;
|
|
21
|
+
interface DestinationConfig extends Omit<SourceConfig, 'fee'> {
|
|
22
|
+
fee: DestinationFeeConfig;
|
|
32
23
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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);
|
|
24
|
+
interface FeeConfig {
|
|
25
|
+
asset: Asset;
|
|
26
|
+
balance: BalanceConfigBuilder;
|
|
27
|
+
extra?: number;
|
|
52
28
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
assets: AssetConfig[];
|
|
56
|
-
chain: AnyChain;
|
|
29
|
+
interface DestinationFeeConfig extends SetOptional<FeeConfig, 'balance'> {
|
|
30
|
+
amount: number | FeeConfigBuilder;
|
|
57
31
|
}
|
|
58
|
-
declare class
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
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;
|
|
66
39
|
}
|
|
67
40
|
|
|
68
|
-
interface
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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;
|
|
79
57
|
}
|
|
80
58
|
|
|
81
|
-
interface
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
+
};
|
|
85
73
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
destination: AnyChain,
|
|
101
|
-
): AssetConfig;
|
|
102
|
-
updateAsset(asset: Asset): void;
|
|
103
|
-
updateChain(chain: AnyChain): void;
|
|
104
|
-
updateChainConfig(chainConfig: ChainConfig): void;
|
|
74
|
+
interface MoonChainConfig {
|
|
75
|
+
asset: Asset;
|
|
76
|
+
balance: BalanceConfigBuilder;
|
|
77
|
+
fee: MoonChainFeeConfig;
|
|
78
|
+
}
|
|
79
|
+
interface MoonChainFeeConfig extends FeeConfig {
|
|
80
|
+
amount: number | FeeConfigBuilder;
|
|
81
|
+
}
|
|
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
|
+
});
|
|
105
88
|
}
|
|
106
89
|
|
|
107
|
-
interface
|
|
108
|
-
|
|
109
|
-
source: ChainTransferConfig;
|
|
110
|
-
destination: ChainTransferConfig;
|
|
90
|
+
interface MrlChainRoutesConstructorParams extends ChainRoutesConstructorParams {
|
|
91
|
+
routes: MrlRoutesParam[];
|
|
111
92
|
}
|
|
112
|
-
interface
|
|
113
|
-
|
|
114
|
-
|
|
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;
|
|
115
101
|
}
|
|
116
102
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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
|
+
}
|
|
131
138
|
|
|
132
139
|
declare const aca: Asset;
|
|
140
|
+
declare const agng: Asset;
|
|
133
141
|
declare const alan: Asset;
|
|
142
|
+
declare const ampe: Asset;
|
|
143
|
+
declare const apillon: Asset;
|
|
144
|
+
declare const aseed: Asset;
|
|
134
145
|
declare const astr: Asset;
|
|
146
|
+
declare const atom: Asset;
|
|
135
147
|
declare const auq: Asset;
|
|
136
|
-
declare const
|
|
148
|
+
declare const axlusdc: Asset;
|
|
137
149
|
declare const betaDEV: Asset;
|
|
138
150
|
declare const bnc: Asset;
|
|
151
|
+
declare const bncs: Asset;
|
|
139
152
|
declare const cfg: Asset;
|
|
140
153
|
declare const crab: Asset;
|
|
141
154
|
declare const csm: Asset;
|
|
155
|
+
declare const dai: Asset;
|
|
156
|
+
declare const ded: Asset;
|
|
142
157
|
declare const dev: Asset;
|
|
143
158
|
declare const dot: Asset;
|
|
144
159
|
declare const eq: Asset;
|
|
145
160
|
declare const eqd: Asset;
|
|
146
|
-
declare const
|
|
161
|
+
declare const eth: Asset;
|
|
162
|
+
declare const fil: Asset;
|
|
163
|
+
declare const ftm: Asset;
|
|
164
|
+
declare const ftmwh: Asset;
|
|
147
165
|
declare const glmr: Asset;
|
|
148
166
|
declare const hdx: Asset;
|
|
149
|
-
declare const hko: Asset;
|
|
150
167
|
declare const ibtc: Asset;
|
|
151
168
|
declare const intr: Asset;
|
|
152
169
|
declare const kar: Asset;
|
|
@@ -154,34 +171,54 @@ declare const kbtc: Asset;
|
|
|
154
171
|
declare const kint: Asset;
|
|
155
172
|
declare const kma: Asset;
|
|
156
173
|
declare const ksm: Asset;
|
|
174
|
+
declare const ldot: Asset;
|
|
157
175
|
declare const lit: Asset;
|
|
176
|
+
declare const manta: Asset;
|
|
177
|
+
declare const maos: Asset;
|
|
158
178
|
declare const mgx: Asset;
|
|
159
179
|
declare const movr: Asset;
|
|
180
|
+
declare const neuro: Asset;
|
|
160
181
|
declare const nodl: Asset;
|
|
161
182
|
declare const otp: Asset;
|
|
162
183
|
declare const para: Asset;
|
|
163
184
|
declare const paring: Asset;
|
|
185
|
+
declare const peaq: Asset;
|
|
186
|
+
declare const pen: Asset;
|
|
164
187
|
declare const pha: Asset;
|
|
188
|
+
declare const pica: Asset;
|
|
189
|
+
declare const pink: Asset;
|
|
165
190
|
declare const ring: Asset;
|
|
166
191
|
declare const rmrk: Asset;
|
|
167
192
|
declare const sdn: Asset;
|
|
168
193
|
declare const soon: Asset;
|
|
194
|
+
declare const stink: Asset;
|
|
195
|
+
declare const sub: Asset;
|
|
169
196
|
declare const teer: Asset;
|
|
197
|
+
declare const tnkr: Asset;
|
|
170
198
|
declare const tt1: Asset;
|
|
171
199
|
declare const tur: Asset;
|
|
172
200
|
declare const unit: Asset;
|
|
173
201
|
declare const usdc: Asset;
|
|
202
|
+
declare const usdcwh: Asset;
|
|
174
203
|
declare const usdt: Asset;
|
|
175
|
-
declare const
|
|
176
|
-
declare const
|
|
177
|
-
declare const wftm: Asset;
|
|
204
|
+
declare const usdtwh: Asset;
|
|
205
|
+
declare const vastr: Asset;
|
|
178
206
|
declare const vbnc: Asset;
|
|
179
207
|
declare const vdot: Asset;
|
|
180
208
|
declare const vfil: Asset;
|
|
181
209
|
declare const vglmr: Asset;
|
|
182
210
|
declare const vksm: Asset;
|
|
211
|
+
declare const vmanta: Asset;
|
|
183
212
|
declare const vmovr: Asset;
|
|
213
|
+
declare const wbtc: Asset;
|
|
214
|
+
declare const weth: Asset;
|
|
215
|
+
declare const wftm: Asset;
|
|
216
|
+
declare const wifd: Asset;
|
|
184
217
|
declare const xrt: Asset;
|
|
218
|
+
declare const ztg: Asset;
|
|
219
|
+
declare const wbtce: Asset;
|
|
220
|
+
declare const wstethe: Asset;
|
|
221
|
+
declare const wethe: Asset;
|
|
185
222
|
declare const assetsList: Asset[];
|
|
186
223
|
declare const assetsMap: Map<string, Asset>;
|
|
187
224
|
|
|
@@ -196,152 +233,54 @@ declare const centrifuge: Parachain;
|
|
|
196
233
|
declare const crustShadow: Parachain;
|
|
197
234
|
declare const darwinia: EvmParachain;
|
|
198
235
|
declare const darwiniaCrab: EvmParachain;
|
|
199
|
-
declare const
|
|
200
|
-
declare const
|
|
201
|
-
declare const
|
|
202
|
-
declare const
|
|
203
|
-
declare const interlay: Parachain;
|
|
236
|
+
declare const ethereum: EvmChain;
|
|
237
|
+
declare const fantomTestnet: EvmChain;
|
|
238
|
+
declare const hydration: Parachain;
|
|
239
|
+
declare const hydrationAlphanet: Parachain;
|
|
204
240
|
declare const integritee: Parachain;
|
|
241
|
+
declare const interlay: Parachain;
|
|
205
242
|
declare const karura: Parachain;
|
|
206
243
|
declare const khala: Parachain;
|
|
207
244
|
declare const kintsugi: Parachain;
|
|
208
245
|
declare const kusama: Parachain;
|
|
209
246
|
declare const kusamaAssetHub: Parachain;
|
|
210
|
-
declare const litentryAlphanet: Parachain;
|
|
211
|
-
declare const litmus: Parachain;
|
|
212
247
|
declare const mangataKusama: Parachain;
|
|
248
|
+
declare const mantaParachain: Parachain;
|
|
249
|
+
declare const laosAlphanet: EvmParachain;
|
|
213
250
|
declare const moonbaseAlpha: EvmParachain;
|
|
214
251
|
declare const moonbaseBeta: EvmParachain;
|
|
215
252
|
declare const moonbeam: EvmParachain;
|
|
216
253
|
declare const moonriver: EvmParachain;
|
|
217
|
-
declare const
|
|
218
|
-
declare const nodleEden: Parachain;
|
|
254
|
+
declare const neuroweb: Parachain;
|
|
219
255
|
declare const originTrailAlphanet: Parachain;
|
|
220
|
-
declare const
|
|
221
|
-
declare const
|
|
256
|
+
declare const peaqAlphanet: Parachain;
|
|
257
|
+
declare const peaqChain: Parachain;
|
|
258
|
+
declare const peaqEvm: EvmParachain;
|
|
259
|
+
declare const peaqEvmAlphanet: EvmParachain;
|
|
260
|
+
declare const pendulum: Parachain;
|
|
261
|
+
declare const pendulumAlphanet: Parachain;
|
|
222
262
|
declare const phala: Parachain;
|
|
263
|
+
declare const picasso: Parachain;
|
|
264
|
+
declare const picassoAlphanet: Parachain;
|
|
223
265
|
declare const polkadot: Parachain;
|
|
224
266
|
declare const polkadotAssetHub: Parachain;
|
|
225
267
|
declare const robonomics: Parachain;
|
|
226
268
|
declare const shiden: Parachain;
|
|
269
|
+
declare const subsocial: Parachain;
|
|
227
270
|
declare const turing: Parachain;
|
|
228
271
|
declare const turingAlphanet: Parachain;
|
|
229
|
-
declare const subsocialAlphanet: Parachain;
|
|
230
272
|
declare const uniqueAlpha: Parachain;
|
|
273
|
+
declare const zeitgeist: Parachain;
|
|
231
274
|
declare const chainsList: AnyChain[];
|
|
232
275
|
declare const chainsMap: Map<string, AnyChain>;
|
|
233
276
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
FeeAssetConfig,
|
|
245
|
-
IConfigService,
|
|
246
|
-
TransferConfig,
|
|
247
|
-
aca,
|
|
248
|
-
acala,
|
|
249
|
-
alan,
|
|
250
|
-
alphanetAssetHub,
|
|
251
|
-
alphanetRelay,
|
|
252
|
-
aseed,
|
|
253
|
-
assetsList,
|
|
254
|
-
assetsMap,
|
|
255
|
-
astar,
|
|
256
|
-
astr,
|
|
257
|
-
auq,
|
|
258
|
-
betaDEV,
|
|
259
|
-
bifrostKusama,
|
|
260
|
-
bifrostPolkadot,
|
|
261
|
-
bnc,
|
|
262
|
-
calamari,
|
|
263
|
-
centrifuge,
|
|
264
|
-
cfg,
|
|
265
|
-
chainsList,
|
|
266
|
-
chainsMap,
|
|
267
|
-
crab,
|
|
268
|
-
crustShadow,
|
|
269
|
-
csm,
|
|
270
|
-
dai,
|
|
271
|
-
darwinia,
|
|
272
|
-
darwiniaCrab,
|
|
273
|
-
darwiniaPangoro,
|
|
274
|
-
dev,
|
|
275
|
-
dot,
|
|
276
|
-
eq,
|
|
277
|
-
eqd,
|
|
278
|
-
equilibrium,
|
|
279
|
-
equilibriumAlphanet,
|
|
280
|
-
glmr,
|
|
281
|
-
hdx,
|
|
282
|
-
hko,
|
|
283
|
-
hydraDX,
|
|
284
|
-
ibtc,
|
|
285
|
-
integritee,
|
|
286
|
-
interlay,
|
|
287
|
-
intr,
|
|
288
|
-
kar,
|
|
289
|
-
karura,
|
|
290
|
-
kbtc,
|
|
291
|
-
khala,
|
|
292
|
-
kint,
|
|
293
|
-
kintsugi,
|
|
294
|
-
kma,
|
|
295
|
-
ksm,
|
|
296
|
-
kusama,
|
|
297
|
-
kusamaAssetHub,
|
|
298
|
-
lit,
|
|
299
|
-
litentryAlphanet,
|
|
300
|
-
litmus,
|
|
301
|
-
mangataKusama,
|
|
302
|
-
mgx,
|
|
303
|
-
moonbaseAlpha,
|
|
304
|
-
moonbaseBeta,
|
|
305
|
-
moonbeam,
|
|
306
|
-
moonriver,
|
|
307
|
-
movr,
|
|
308
|
-
nodl,
|
|
309
|
-
nodle,
|
|
310
|
-
nodleEden,
|
|
311
|
-
originTrailAlphanet,
|
|
312
|
-
otp,
|
|
313
|
-
para,
|
|
314
|
-
parallel,
|
|
315
|
-
parallelHeiko,
|
|
316
|
-
paring,
|
|
317
|
-
pha,
|
|
318
|
-
phala,
|
|
319
|
-
polkadot,
|
|
320
|
-
polkadotAssetHub,
|
|
321
|
-
ring,
|
|
322
|
-
rmrk,
|
|
323
|
-
robonomics,
|
|
324
|
-
sdn,
|
|
325
|
-
shiden,
|
|
326
|
-
soon,
|
|
327
|
-
subsocialAlphanet,
|
|
328
|
-
teer,
|
|
329
|
-
tt1,
|
|
330
|
-
tur,
|
|
331
|
-
turing,
|
|
332
|
-
turingAlphanet,
|
|
333
|
-
uniqueAlpha,
|
|
334
|
-
unit,
|
|
335
|
-
usdc,
|
|
336
|
-
usdt,
|
|
337
|
-
vbnc,
|
|
338
|
-
vdot,
|
|
339
|
-
vfil,
|
|
340
|
-
vglmr,
|
|
341
|
-
vksm,
|
|
342
|
-
vmovr,
|
|
343
|
-
wbtc,
|
|
344
|
-
weth,
|
|
345
|
-
wftm,
|
|
346
|
-
xrt,
|
|
347
|
-
};
|
|
277
|
+
declare function getKey(keyOrModel: string | AnyAsset | AnyChain): string;
|
|
278
|
+
declare function getMoonChain(chain: AnyChain): EvmParachain;
|
|
279
|
+
|
|
280
|
+
declare const mrlRoutesList: MrlChainRoutes[];
|
|
281
|
+
declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
|
|
282
|
+
|
|
283
|
+
declare const xcmRoutesList: ChainRoutes[];
|
|
284
|
+
declare const xcmRoutesMap: Map<string, ChainRoutes>;
|
|
285
|
+
|
|
286
|
+
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, laosAlphanet, ldot, lit, mangataKusama, manta, mantaParachain, maos, 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 };
|