@moonbeam-network/xcm-config 1.0.0-dev.217 → 1.0.0-dev.219
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 +0 -73
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
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
|
});
|
|
@@ -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: true
|
|
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,
|
|
@@ -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,
|