@moonbeam-network/xcm-config 1.0.0-dev.20 → 1.0.0-dev.200
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 +189 -252
- package/build/index.mjs +9997 -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,188 +1,225 @@
|
|
|
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
|
|
137
|
-
declare const betaDEV: Asset;
|
|
147
|
+
declare const axlusdc: Asset;
|
|
138
148
|
declare const bnc: Asset;
|
|
149
|
+
declare const bncs: Asset;
|
|
139
150
|
declare const cfg: Asset;
|
|
140
151
|
declare const crab: Asset;
|
|
141
152
|
declare const csm: Asset;
|
|
153
|
+
declare const dai: Asset;
|
|
154
|
+
declare const ded: Asset;
|
|
142
155
|
declare const dev: Asset;
|
|
156
|
+
declare const devBeta: Asset;
|
|
157
|
+
declare const devStage: 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 eurc: Asset;
|
|
147
163
|
declare const fil: Asset;
|
|
164
|
+
declare const ftm: Asset;
|
|
165
|
+
declare const ftmwh: Asset;
|
|
148
166
|
declare const glmr: Asset;
|
|
149
167
|
declare const hdx: Asset;
|
|
150
|
-
declare const hko: Asset;
|
|
151
168
|
declare const ibtc: Asset;
|
|
152
169
|
declare const intr: Asset;
|
|
153
170
|
declare const kar: Asset;
|
|
154
171
|
declare const kbtc: Asset;
|
|
155
172
|
declare const kint: Asset;
|
|
156
|
-
declare const kma: Asset;
|
|
157
173
|
declare const ksm: Asset;
|
|
174
|
+
declare const ldot: Asset;
|
|
158
175
|
declare const lit: Asset;
|
|
176
|
+
declare const manta: Asset;
|
|
177
|
+
declare const maos: Asset;
|
|
159
178
|
declare const mgx: Asset;
|
|
160
179
|
declare const movr: Asset;
|
|
180
|
+
declare const neuro: Asset;
|
|
161
181
|
declare const nodl: Asset;
|
|
162
182
|
declare const otp: Asset;
|
|
163
183
|
declare const para: Asset;
|
|
164
184
|
declare const paring: Asset;
|
|
185
|
+
declare const peaq: Asset;
|
|
186
|
+
declare const pen: Asset;
|
|
165
187
|
declare const pha: Asset;
|
|
188
|
+
declare const pica: Asset;
|
|
189
|
+
declare const pink: Asset;
|
|
166
190
|
declare const ring: Asset;
|
|
167
191
|
declare const rmrk: Asset;
|
|
168
192
|
declare const sdn: Asset;
|
|
169
193
|
declare const soon: Asset;
|
|
194
|
+
declare const stink: Asset;
|
|
195
|
+
declare const sub: Asset;
|
|
170
196
|
declare const teer: Asset;
|
|
197
|
+
declare const tnkr: Asset;
|
|
171
198
|
declare const tt1: Asset;
|
|
172
199
|
declare const tur: Asset;
|
|
173
200
|
declare const unit: Asset;
|
|
174
201
|
declare const usdc: Asset;
|
|
202
|
+
declare const usdcwh: Asset;
|
|
175
203
|
declare const usdt: Asset;
|
|
176
|
-
declare const
|
|
177
|
-
declare const
|
|
178
|
-
declare const wftm: Asset;
|
|
204
|
+
declare const usdtwh: Asset;
|
|
205
|
+
declare const vastr: Asset;
|
|
179
206
|
declare const vbnc: Asset;
|
|
180
207
|
declare const vdot: Asset;
|
|
181
208
|
declare const vfil: Asset;
|
|
182
209
|
declare const vglmr: Asset;
|
|
183
210
|
declare const vksm: Asset;
|
|
211
|
+
declare const vmanta: Asset;
|
|
184
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;
|
|
185
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;
|
|
222
|
+
declare const laos: Asset;
|
|
186
223
|
declare const assetsList: Asset[];
|
|
187
224
|
declare const assetsMap: Map<string, Asset>;
|
|
188
225
|
|
|
@@ -192,158 +229,58 @@ declare const alphanetRelay: Parachain;
|
|
|
192
229
|
declare const astar: Parachain;
|
|
193
230
|
declare const bifrostKusama: Parachain;
|
|
194
231
|
declare const bifrostPolkadot: Parachain;
|
|
195
|
-
declare const calamari: Parachain;
|
|
196
232
|
declare const centrifuge: Parachain;
|
|
197
233
|
declare const crustShadow: Parachain;
|
|
198
234
|
declare const darwinia: EvmParachain;
|
|
199
235
|
declare const darwiniaCrab: EvmParachain;
|
|
200
|
-
declare const
|
|
201
|
-
declare const
|
|
202
|
-
declare const
|
|
203
|
-
declare const
|
|
204
|
-
declare const interlay: Parachain;
|
|
236
|
+
declare const ethereum: EvmChain;
|
|
237
|
+
declare const fantomTestnet: EvmChain;
|
|
238
|
+
declare const hydration: Parachain;
|
|
239
|
+
declare const hydrationAlphanet: Parachain;
|
|
205
240
|
declare const integritee: Parachain;
|
|
241
|
+
declare const interlay: Parachain;
|
|
206
242
|
declare const karura: Parachain;
|
|
207
|
-
declare const khala: Parachain;
|
|
208
243
|
declare const kintsugi: Parachain;
|
|
209
244
|
declare const kusama: Parachain;
|
|
210
245
|
declare const kusamaAssetHub: Parachain;
|
|
211
|
-
declare const litentryAlphanet: Parachain;
|
|
212
|
-
declare const litmus: Parachain;
|
|
213
246
|
declare const mangataKusama: Parachain;
|
|
247
|
+
declare const mantaParachain: Parachain;
|
|
248
|
+
declare const laosAlphanet: EvmParachain;
|
|
249
|
+
declare const laosMainnet: EvmParachain;
|
|
214
250
|
declare const moonbaseAlpha: EvmParachain;
|
|
215
251
|
declare const moonbaseBeta: EvmParachain;
|
|
252
|
+
declare const moonbaseStage: EvmParachain;
|
|
216
253
|
declare const moonbeam: EvmParachain;
|
|
217
254
|
declare const moonriver: EvmParachain;
|
|
218
|
-
declare const
|
|
219
|
-
declare const originTrail: Parachain;
|
|
255
|
+
declare const neuroweb: Parachain;
|
|
220
256
|
declare const originTrailAlphanet: Parachain;
|
|
221
|
-
declare const
|
|
222
|
-
declare const
|
|
257
|
+
declare const peaqAlphanet: Parachain;
|
|
258
|
+
declare const peaqChain: Parachain;
|
|
259
|
+
declare const peaqEvm: EvmParachain;
|
|
260
|
+
declare const peaqEvmAlphanet: EvmParachain;
|
|
261
|
+
declare const pendulum: Parachain;
|
|
262
|
+
declare const pendulumAlphanet: Parachain;
|
|
223
263
|
declare const phala: Parachain;
|
|
224
264
|
declare const polkadot: Parachain;
|
|
225
265
|
declare const polkadotAssetHub: Parachain;
|
|
226
266
|
declare const robonomics: Parachain;
|
|
227
267
|
declare const shiden: Parachain;
|
|
228
|
-
declare const turing: Parachain;
|
|
229
268
|
declare const turingAlphanet: Parachain;
|
|
230
|
-
declare const subsocialAlphanet: Parachain;
|
|
231
269
|
declare const uniqueAlpha: Parachain;
|
|
270
|
+
declare const zeitgeist: Parachain;
|
|
232
271
|
declare const chainsList: AnyChain[];
|
|
233
272
|
declare const chainsMap: Map<string, AnyChain>;
|
|
234
273
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
aca,
|
|
249
|
-
acala,
|
|
250
|
-
alan,
|
|
251
|
-
alphanetAssetHub,
|
|
252
|
-
alphanetRelay,
|
|
253
|
-
aseed,
|
|
254
|
-
assetsList,
|
|
255
|
-
assetsMap,
|
|
256
|
-
astar,
|
|
257
|
-
astr,
|
|
258
|
-
auq,
|
|
259
|
-
betaDEV,
|
|
260
|
-
bifrostKusama,
|
|
261
|
-
bifrostPolkadot,
|
|
262
|
-
bnc,
|
|
263
|
-
calamari,
|
|
264
|
-
centrifuge,
|
|
265
|
-
cfg,
|
|
266
|
-
chainsList,
|
|
267
|
-
chainsMap,
|
|
268
|
-
crab,
|
|
269
|
-
crustShadow,
|
|
270
|
-
csm,
|
|
271
|
-
dai,
|
|
272
|
-
darwinia,
|
|
273
|
-
darwiniaCrab,
|
|
274
|
-
darwiniaPangoro,
|
|
275
|
-
dev,
|
|
276
|
-
dot,
|
|
277
|
-
eq,
|
|
278
|
-
eqd,
|
|
279
|
-
equilibrium,
|
|
280
|
-
equilibriumAlphanet,
|
|
281
|
-
fil,
|
|
282
|
-
glmr,
|
|
283
|
-
hdx,
|
|
284
|
-
hko,
|
|
285
|
-
hydraDX,
|
|
286
|
-
ibtc,
|
|
287
|
-
integritee,
|
|
288
|
-
interlay,
|
|
289
|
-
intr,
|
|
290
|
-
kar,
|
|
291
|
-
karura,
|
|
292
|
-
kbtc,
|
|
293
|
-
khala,
|
|
294
|
-
kint,
|
|
295
|
-
kintsugi,
|
|
296
|
-
kma,
|
|
297
|
-
ksm,
|
|
298
|
-
kusama,
|
|
299
|
-
kusamaAssetHub,
|
|
300
|
-
lit,
|
|
301
|
-
litentryAlphanet,
|
|
302
|
-
litmus,
|
|
303
|
-
mangataKusama,
|
|
304
|
-
mgx,
|
|
305
|
-
moonbaseAlpha,
|
|
306
|
-
moonbaseBeta,
|
|
307
|
-
moonbeam,
|
|
308
|
-
moonriver,
|
|
309
|
-
movr,
|
|
310
|
-
nodl,
|
|
311
|
-
nodle,
|
|
312
|
-
originTrail,
|
|
313
|
-
originTrailAlphanet,
|
|
314
|
-
otp,
|
|
315
|
-
para,
|
|
316
|
-
parallel,
|
|
317
|
-
parallelHeiko,
|
|
318
|
-
paring,
|
|
319
|
-
pha,
|
|
320
|
-
phala,
|
|
321
|
-
polkadot,
|
|
322
|
-
polkadotAssetHub,
|
|
323
|
-
ring,
|
|
324
|
-
rmrk,
|
|
325
|
-
robonomics,
|
|
326
|
-
sdn,
|
|
327
|
-
shiden,
|
|
328
|
-
soon,
|
|
329
|
-
subsocialAlphanet,
|
|
330
|
-
teer,
|
|
331
|
-
tt1,
|
|
332
|
-
tur,
|
|
333
|
-
turing,
|
|
334
|
-
turingAlphanet,
|
|
335
|
-
uniqueAlpha,
|
|
336
|
-
unit,
|
|
337
|
-
usdc,
|
|
338
|
-
usdt,
|
|
339
|
-
vbnc,
|
|
340
|
-
vdot,
|
|
341
|
-
vfil,
|
|
342
|
-
vglmr,
|
|
343
|
-
vksm,
|
|
344
|
-
vmovr,
|
|
345
|
-
wbtc,
|
|
346
|
-
weth,
|
|
347
|
-
wftm,
|
|
348
|
-
xrt,
|
|
349
|
-
};
|
|
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
|
+
declare const crossEcosystemsRoutesList: ChainRoutes[];
|
|
284
|
+
declare const crossEcosystemsRoutesMap: 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, auq, axlusdc, bifrostKusama, bifrostPolkadot, bnc, bncs, 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, 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, moonbaseStage, 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, teer, tnkr, tt1, tur, 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 };
|