@moonbeam-network/xcm-config 1.0.0-dev.18 → 1.0.0-dev.181
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 -249
- package/build/index.mjs +9677 -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,187 +1,224 @@
|
|
|
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 { BalanceConfigBuilder, AssetMinConfigBuilder, FeeConfigBuilder, ContractConfigBuilder, ExtrinsicConfigBuilder, 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;
|
|
135
146
|
declare const auq: Asset;
|
|
136
|
-
declare const
|
|
147
|
+
declare const axlusdc: Asset;
|
|
137
148
|
declare const betaDEV: Asset;
|
|
138
149
|
declare const bnc: Asset;
|
|
150
|
+
declare const bncs: Asset;
|
|
139
151
|
declare const cfg: Asset;
|
|
140
152
|
declare const crab: Asset;
|
|
141
153
|
declare const csm: Asset;
|
|
154
|
+
declare const dai: Asset;
|
|
155
|
+
declare const ded: Asset;
|
|
142
156
|
declare const dev: Asset;
|
|
143
157
|
declare const dot: Asset;
|
|
144
158
|
declare const eq: Asset;
|
|
145
159
|
declare const eqd: Asset;
|
|
146
|
-
declare const
|
|
160
|
+
declare const eth: Asset;
|
|
161
|
+
declare const eurc: 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;
|
|
153
170
|
declare const kbtc: Asset;
|
|
154
171
|
declare const kint: Asset;
|
|
155
|
-
declare const kma: Asset;
|
|
156
172
|
declare const ksm: Asset;
|
|
173
|
+
declare const ldot: Asset;
|
|
157
174
|
declare const lit: Asset;
|
|
175
|
+
declare const manta: Asset;
|
|
176
|
+
declare const maos: Asset;
|
|
158
177
|
declare const mgx: Asset;
|
|
159
178
|
declare const movr: Asset;
|
|
179
|
+
declare const neuro: Asset;
|
|
160
180
|
declare const nodl: Asset;
|
|
161
181
|
declare const otp: Asset;
|
|
162
182
|
declare const para: Asset;
|
|
163
183
|
declare const paring: Asset;
|
|
184
|
+
declare const peaq: Asset;
|
|
185
|
+
declare const pen: Asset;
|
|
164
186
|
declare const pha: Asset;
|
|
187
|
+
declare const pica: Asset;
|
|
188
|
+
declare const pink: Asset;
|
|
165
189
|
declare const ring: Asset;
|
|
166
190
|
declare const rmrk: Asset;
|
|
167
191
|
declare const sdn: Asset;
|
|
168
192
|
declare const soon: Asset;
|
|
193
|
+
declare const stink: Asset;
|
|
194
|
+
declare const sub: Asset;
|
|
169
195
|
declare const teer: Asset;
|
|
196
|
+
declare const tnkr: Asset;
|
|
170
197
|
declare const tt1: Asset;
|
|
171
198
|
declare const tur: Asset;
|
|
172
199
|
declare const unit: Asset;
|
|
173
200
|
declare const usdc: Asset;
|
|
201
|
+
declare const usdcwh: Asset;
|
|
174
202
|
declare const usdt: Asset;
|
|
175
|
-
declare const
|
|
176
|
-
declare const
|
|
177
|
-
declare const wftm: Asset;
|
|
203
|
+
declare const usdtwh: Asset;
|
|
204
|
+
declare const vastr: Asset;
|
|
178
205
|
declare const vbnc: Asset;
|
|
179
206
|
declare const vdot: Asset;
|
|
180
207
|
declare const vfil: Asset;
|
|
181
208
|
declare const vglmr: Asset;
|
|
182
209
|
declare const vksm: Asset;
|
|
210
|
+
declare const vmanta: Asset;
|
|
183
211
|
declare const vmovr: Asset;
|
|
212
|
+
declare const wbtc: Asset;
|
|
213
|
+
declare const weth: Asset;
|
|
214
|
+
declare const wftm: Asset;
|
|
215
|
+
declare const wifd: Asset;
|
|
184
216
|
declare const xrt: Asset;
|
|
217
|
+
declare const ztg: Asset;
|
|
218
|
+
declare const wbtce: Asset;
|
|
219
|
+
declare const wstethe: Asset;
|
|
220
|
+
declare const wethe: Asset;
|
|
221
|
+
declare const laos: Asset;
|
|
185
222
|
declare const assetsList: Asset[];
|
|
186
223
|
declare const assetsMap: Map<string, Asset>;
|
|
187
224
|
|
|
@@ -191,157 +228,56 @@ declare const alphanetRelay: Parachain;
|
|
|
191
228
|
declare const astar: Parachain;
|
|
192
229
|
declare const bifrostKusama: Parachain;
|
|
193
230
|
declare const bifrostPolkadot: Parachain;
|
|
194
|
-
declare const calamari: Parachain;
|
|
195
231
|
declare const centrifuge: Parachain;
|
|
196
232
|
declare const crustShadow: Parachain;
|
|
197
233
|
declare const darwinia: EvmParachain;
|
|
198
234
|
declare const darwiniaCrab: EvmParachain;
|
|
199
|
-
declare const
|
|
200
|
-
declare const
|
|
201
|
-
declare const
|
|
202
|
-
declare const
|
|
203
|
-
declare const interlay: Parachain;
|
|
235
|
+
declare const ethereum: EvmChain;
|
|
236
|
+
declare const fantomTestnet: EvmChain;
|
|
237
|
+
declare const hydration: Parachain;
|
|
238
|
+
declare const hydrationAlphanet: Parachain;
|
|
204
239
|
declare const integritee: Parachain;
|
|
240
|
+
declare const interlay: Parachain;
|
|
205
241
|
declare const karura: Parachain;
|
|
206
|
-
declare const khala: Parachain;
|
|
207
242
|
declare const kintsugi: Parachain;
|
|
208
243
|
declare const kusama: Parachain;
|
|
209
244
|
declare const kusamaAssetHub: Parachain;
|
|
210
|
-
declare const litentryAlphanet: Parachain;
|
|
211
|
-
declare const litmus: Parachain;
|
|
212
245
|
declare const mangataKusama: Parachain;
|
|
246
|
+
declare const mantaParachain: Parachain;
|
|
247
|
+
declare const laosAlphanet: EvmParachain;
|
|
248
|
+
declare const laosMainnet: EvmParachain;
|
|
213
249
|
declare const moonbaseAlpha: EvmParachain;
|
|
214
250
|
declare const moonbaseBeta: EvmParachain;
|
|
215
251
|
declare const moonbeam: EvmParachain;
|
|
216
252
|
declare const moonriver: EvmParachain;
|
|
217
|
-
declare const
|
|
218
|
-
declare const originTrail: Parachain;
|
|
253
|
+
declare const neuroweb: Parachain;
|
|
219
254
|
declare const originTrailAlphanet: Parachain;
|
|
220
|
-
declare const
|
|
221
|
-
declare const
|
|
255
|
+
declare const peaqAlphanet: Parachain;
|
|
256
|
+
declare const peaqChain: Parachain;
|
|
257
|
+
declare const peaqEvm: EvmParachain;
|
|
258
|
+
declare const peaqEvmAlphanet: EvmParachain;
|
|
259
|
+
declare const pendulum: Parachain;
|
|
260
|
+
declare const pendulumAlphanet: Parachain;
|
|
222
261
|
declare const phala: Parachain;
|
|
223
262
|
declare const polkadot: Parachain;
|
|
224
263
|
declare const polkadotAssetHub: Parachain;
|
|
225
264
|
declare const robonomics: Parachain;
|
|
226
265
|
declare const shiden: Parachain;
|
|
266
|
+
declare const subsocial: Parachain;
|
|
227
267
|
declare const turing: Parachain;
|
|
228
268
|
declare const turingAlphanet: Parachain;
|
|
229
|
-
declare const subsocialAlphanet: Parachain;
|
|
230
269
|
declare const uniqueAlpha: Parachain;
|
|
270
|
+
declare const zeitgeist: Parachain;
|
|
231
271
|
declare const chainsList: AnyChain[];
|
|
232
272
|
declare const chainsMap: Map<string, AnyChain>;
|
|
233
273
|
|
|
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
|
-
originTrail,
|
|
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
|
-
};
|
|
274
|
+
declare function getKey(keyOrModel: string | AnyAsset | AnyChain): string;
|
|
275
|
+
declare function getMoonChain(chain: AnyChain): EvmParachain;
|
|
276
|
+
|
|
277
|
+
declare const mrlRoutesList: MrlChainRoutes[];
|
|
278
|
+
declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
|
|
279
|
+
|
|
280
|
+
declare const xcmRoutesList: ChainRoutes[];
|
|
281
|
+
declare const xcmRoutesMap: Map<string, ChainRoutes>;
|
|
282
|
+
|
|
283
|
+
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, auq, axlusdc, betaDEV, bifrostKusama, bifrostPolkadot, bnc, bncs, centrifuge, cfg, chainsList, chainsMap, crab, crustShadow, csm, dai, darwinia, darwiniaCrab, ded, dev, dot, eq, eqd, eth, ethereum, eurc, fantomTestnet, fil, ftm, ftmwh, getKey, getMoonChain, glmr, hdx, hydration, hydrationAlphanet, ibtc, integritee, interlay, intr, kar, karura, kbtc, kint, kintsugi, ksm, kusama, kusamaAssetHub, laos, laosAlphanet, laosMainnet, 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, 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 };
|