@moonbeam-network/xcm-config 3.4.3 → 3.4.5
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/build/index.d.ts +1 -2
- package/build/index.mjs +9 -82
- package/build/index.mjs.map +1 -1
- package/package.json +3 -3
package/build/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ declare const astr: Asset;
|
|
|
11
11
|
declare const auq: Asset;
|
|
12
12
|
declare const axlusdc: Asset;
|
|
13
13
|
declare const bnc: Asset;
|
|
14
|
-
declare const bncs: Asset;
|
|
15
14
|
declare const cfg: Asset;
|
|
16
15
|
declare const crab: Asset;
|
|
17
16
|
declare const csm: Asset;
|
|
@@ -302,4 +301,4 @@ declare const mrlRoutesMap: Map<string, MrlChainRoutes>;
|
|
|
302
301
|
declare const xcmRoutesList: ChainRoutes[];
|
|
303
302
|
declare const xcmRoutesMap: Map<string, ChainRoutes>;
|
|
304
303
|
|
|
305
|
-
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,
|
|
304
|
+
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, 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, manta, mantaParachain, maos, 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 };
|
package/build/index.mjs
CHANGED
|
@@ -40,10 +40,6 @@ var bnc = new Asset({
|
|
|
40
40
|
key: "bnc",
|
|
41
41
|
originSymbol: "BNC"
|
|
42
42
|
});
|
|
43
|
-
var bncs = new Asset({
|
|
44
|
-
key: "bncs",
|
|
45
|
-
originSymbol: "BNCS"
|
|
46
|
-
});
|
|
47
43
|
var cfg = new Asset({
|
|
48
44
|
key: "cfg",
|
|
49
45
|
originSymbol: "CFG"
|
|
@@ -343,7 +339,6 @@ var assetsList = [
|
|
|
343
339
|
auq,
|
|
344
340
|
axlusdc,
|
|
345
341
|
bnc,
|
|
346
|
-
bncs,
|
|
347
342
|
cfg,
|
|
348
343
|
crab,
|
|
349
344
|
csm,
|
|
@@ -621,16 +616,6 @@ var bifrostPolkadot = new Parachain({
|
|
|
621
616
|
}
|
|
622
617
|
}
|
|
623
618
|
}),
|
|
624
|
-
ChainAsset.fromAsset(bncs, {
|
|
625
|
-
decimals: 12,
|
|
626
|
-
ids: {
|
|
627
|
-
id: { Token2: 9 },
|
|
628
|
-
generalKey: {
|
|
629
|
-
length: 2,
|
|
630
|
-
data: "0x0809000000000000000000000000000000000000000000000000000000000000"
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
}),
|
|
634
619
|
ChainAsset.fromAsset(fil, {
|
|
635
620
|
decimals: 18,
|
|
636
621
|
ids: {
|
|
@@ -1443,13 +1428,6 @@ var moonbeam = new EvmParachain({
|
|
|
1443
1428
|
id: "165823357460190568952172802245839421906"
|
|
1444
1429
|
}
|
|
1445
1430
|
}),
|
|
1446
|
-
ChainAsset.fromAsset(bncs, {
|
|
1447
|
-
address: "0xfFfffffF6aF229AE7f0F4e0188157e189a487D59",
|
|
1448
|
-
decimals: 12,
|
|
1449
|
-
ids: {
|
|
1450
|
-
id: "142155548796783636521833385094843759961"
|
|
1451
|
-
}
|
|
1452
|
-
}),
|
|
1453
1431
|
ChainAsset.fromAsset(cfg, {
|
|
1454
1432
|
address: "0xFFfFfFff44bD9D2FFEE20B25D1Cf9E78Edb6Eae3",
|
|
1455
1433
|
decimals: 18,
|
|
@@ -4820,30 +4798,6 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4820
4798
|
}
|
|
4821
4799
|
},
|
|
4822
4800
|
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4823
|
-
},
|
|
4824
|
-
{
|
|
4825
|
-
source: {
|
|
4826
|
-
asset: bncs,
|
|
4827
|
-
balance: BalanceBuilder16().substrate().tokens().accounts(),
|
|
4828
|
-
fee: {
|
|
4829
|
-
asset: bnc,
|
|
4830
|
-
balance: BalanceBuilder16().substrate().system().account()
|
|
4831
|
-
},
|
|
4832
|
-
min: AssetMinBuilder4().assetRegistry().currencyMetadatas(),
|
|
4833
|
-
destinationFee: {
|
|
4834
|
-
balance: BalanceBuilder16().substrate().system().account()
|
|
4835
|
-
}
|
|
4836
|
-
},
|
|
4837
|
-
destination: {
|
|
4838
|
-
asset: bncs,
|
|
4839
|
-
chain: moonbeam,
|
|
4840
|
-
balance: BalanceBuilder16().evm().erc20(),
|
|
4841
|
-
fee: {
|
|
4842
|
-
amount: FeeBuilder6().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
4843
|
-
asset: bnc
|
|
4844
|
-
}
|
|
4845
|
-
},
|
|
4846
|
-
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4847
4801
|
}
|
|
4848
4802
|
]
|
|
4849
4803
|
});
|
|
@@ -7144,7 +7098,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7144
7098
|
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7145
7099
|
fee: {
|
|
7146
7100
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7147
|
-
isAssetReserveChain:
|
|
7101
|
+
isAssetReserveChain: true
|
|
7148
7102
|
}),
|
|
7149
7103
|
asset: vastr
|
|
7150
7104
|
},
|
|
@@ -7170,7 +7124,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7170
7124
|
chain: bifrostPolkadot,
|
|
7171
7125
|
fee: {
|
|
7172
7126
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7173
|
-
isAssetReserveChain:
|
|
7127
|
+
isAssetReserveChain: true
|
|
7174
7128
|
}),
|
|
7175
7129
|
asset: vdot
|
|
7176
7130
|
},
|
|
@@ -7196,7 +7150,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7196
7150
|
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7197
7151
|
fee: {
|
|
7198
7152
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7199
|
-
isAssetReserveChain:
|
|
7153
|
+
isAssetReserveChain: true
|
|
7200
7154
|
}),
|
|
7201
7155
|
asset: vfil
|
|
7202
7156
|
},
|
|
@@ -7222,7 +7176,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7222
7176
|
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7223
7177
|
fee: {
|
|
7224
7178
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7225
|
-
isAssetReserveChain:
|
|
7179
|
+
isAssetReserveChain: true
|
|
7226
7180
|
}),
|
|
7227
7181
|
asset: vglmr
|
|
7228
7182
|
},
|
|
@@ -7248,7 +7202,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7248
7202
|
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7249
7203
|
fee: {
|
|
7250
7204
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7251
|
-
isAssetReserveChain:
|
|
7205
|
+
isAssetReserveChain: true
|
|
7252
7206
|
}),
|
|
7253
7207
|
asset: vmanta
|
|
7254
7208
|
},
|
|
@@ -7324,7 +7278,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7324
7278
|
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7325
7279
|
fee: {
|
|
7326
7280
|
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7327
|
-
isAssetReserveChain:
|
|
7281
|
+
isAssetReserveChain: true
|
|
7328
7282
|
}),
|
|
7329
7283
|
asset: fil
|
|
7330
7284
|
},
|
|
@@ -7378,32 +7332,6 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7378
7332
|
},
|
|
7379
7333
|
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
7380
7334
|
},
|
|
7381
|
-
{
|
|
7382
|
-
source: {
|
|
7383
|
-
asset: bncs,
|
|
7384
|
-
balance: BalanceBuilder34().evm().erc20(),
|
|
7385
|
-
fee: {
|
|
7386
|
-
asset: glmr,
|
|
7387
|
-
balance: BalanceBuilder34().substrate().system().account()
|
|
7388
|
-
},
|
|
7389
|
-
destinationFee: {
|
|
7390
|
-
balance: BalanceBuilder34().evm().erc20()
|
|
7391
|
-
}
|
|
7392
|
-
},
|
|
7393
|
-
destination: {
|
|
7394
|
-
asset: bncs,
|
|
7395
|
-
chain: bifrostPolkadot,
|
|
7396
|
-
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7397
|
-
fee: {
|
|
7398
|
-
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7399
|
-
isAssetReserveChain: false
|
|
7400
|
-
}),
|
|
7401
|
-
asset: bncs
|
|
7402
|
-
},
|
|
7403
|
-
min: AssetMinBuilder9().assetRegistry().currencyMetadatas()
|
|
7404
|
-
},
|
|
7405
|
-
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
7406
|
-
},
|
|
7407
7335
|
{
|
|
7408
7336
|
source: {
|
|
7409
7337
|
asset: glmr,
|
|
@@ -8336,7 +8264,7 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8336
8264
|
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8337
8265
|
fee: {
|
|
8338
8266
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8339
|
-
isAssetReserveChain:
|
|
8267
|
+
isAssetReserveChain: true
|
|
8340
8268
|
}),
|
|
8341
8269
|
asset: vbnc
|
|
8342
8270
|
},
|
|
@@ -8362,7 +8290,7 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8362
8290
|
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8363
8291
|
fee: {
|
|
8364
8292
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8365
|
-
isAssetReserveChain:
|
|
8293
|
+
isAssetReserveChain: true
|
|
8366
8294
|
}),
|
|
8367
8295
|
asset: vksm
|
|
8368
8296
|
},
|
|
@@ -8388,7 +8316,7 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8388
8316
|
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8389
8317
|
fee: {
|
|
8390
8318
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8391
|
-
isAssetReserveChain:
|
|
8319
|
+
isAssetReserveChain: true
|
|
8392
8320
|
}),
|
|
8393
8321
|
asset: vmovr
|
|
8394
8322
|
},
|
|
@@ -9790,7 +9718,6 @@ export {
|
|
|
9790
9718
|
bifrostKusama,
|
|
9791
9719
|
bifrostPolkadot,
|
|
9792
9720
|
bnc,
|
|
9793
|
-
bncs,
|
|
9794
9721
|
centrifuge,
|
|
9795
9722
|
cfg,
|
|
9796
9723
|
chainsList,
|