@moonbeam-network/xcm-config 1.0.0-dev.236 → 1.0.0-dev.238

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.mjs CHANGED
@@ -1451,6 +1451,7 @@ var moonbaseStage = new EvmParachain({
1451
1451
  });
1452
1452
  var moonlama = new EvmParachain({
1453
1453
  assets: [
1454
+ // this is actually the GLMR asset
1454
1455
  ChainAsset.fromAsset(lama, {
1455
1456
  address: "0x0000000000000000000000000000000000000802",
1456
1457
  decimals: 18,
@@ -1461,7 +1462,6 @@ var moonlama = new EvmParachain({
1461
1462
  ChainAsset.fromAsset(pizza, {
1462
1463
  address: "0xbdd558f3be2807fce11b5fb2b2fa86f310f67855",
1463
1464
  decimals: 18,
1464
- // NOT SURE ABOUT THIS
1465
1465
  ids: {
1466
1466
  palletInstance: 110
1467
1467
  }
@@ -1472,14 +1472,6 @@ var moonlama = new EvmParachain({
1472
1472
  ids: {
1473
1473
  palletInstance: 110
1474
1474
  }
1475
- }),
1476
- ChainAsset.fromAsset(glmr, {
1477
- address: "",
1478
- // NOT SURE ABOUT THIS
1479
- decimals: 18,
1480
- ids: {
1481
- palletInstance: 10
1482
- }
1483
1475
  })
1484
1476
  ],
1485
1477
  ecosystem: Ecosystem.MoonlamaRelay,
@@ -1497,15 +1489,16 @@ var moonlama = new EvmParachain({
1497
1489
  });
1498
1490
  var moonsama = new EvmParachain({
1499
1491
  assets: [
1492
+ // this is actually the MOVR asset
1500
1493
  ChainAsset.fromAsset(movrsama, {
1501
1494
  address: "0x0000000000000000000000000000000000000802",
1502
1495
  decimals: 18,
1503
- // not sure about this
1504
1496
  ids: {
1505
1497
  palletInstance: 3
1506
1498
  }
1507
1499
  }),
1508
- ChainAsset.fromAsset(glmr, {
1500
+ // this is actually the GLMR asset on Moonlama
1501
+ ChainAsset.fromAsset(lama, {
1509
1502
  address: "0xffffffff1a49463978f19dfd6983f2fa1885c254",
1510
1503
  decimals: 18,
1511
1504
  ids: {
@@ -1516,7 +1509,6 @@ var moonsama = new EvmParachain({
1516
1509
  ChainAsset.fromAsset(pizza, {
1517
1510
  address: "0xffffffff57029d0ec61f38481147f4e1a0d5e3ed",
1518
1511
  decimals: 18,
1519
- // not sure about this
1520
1512
  ids: {
1521
1513
  palletInstance: 3
1522
1514
  // NOT SURE ABOUT THIS
@@ -1525,7 +1517,6 @@ var moonsama = new EvmParachain({
1525
1517
  ChainAsset.fromAsset(pizzaUSDC, {
1526
1518
  address: "0xffffffffa993c0ca4b46667277c3caaa5a4da783",
1527
1519
  decimals: 6,
1528
- // not sure about this
1529
1520
  ids: {
1530
1521
  palletInstance: 3
1531
1522
  // NOT SURE ABOUT THIS
@@ -3079,6 +3070,7 @@ import {
3079
3070
  ExtrinsicBuilder as ExtrinsicBuilder3,
3080
3071
  MonitoringBuilder as MonitoringBuilder3
3081
3072
  } from "@moonbeam-network/xcm-builder";
3073
+ import { Ecosystem as Ecosystem3 } from "@moonbeam-network/xcm-types";
3082
3074
  var moonlamaRoutes = new ChainRoutes({
3083
3075
  chain: moonlama,
3084
3076
  routes: [
@@ -3131,7 +3123,9 @@ var moonlamaRoutes = new ChainRoutes({
3131
3123
  balance: BalanceBuilder3().substrate().system().account()
3132
3124
  }
3133
3125
  },
3134
- extrinsic: ExtrinsicBuilder3().polkadotXcm().transferAssetsToEcosystem().X2(),
3126
+ extrinsic: ExtrinsicBuilder3().polkadotXcm().transferAssetsToEcosystem().X2({
3127
+ globalConsensus: Ecosystem3.Kusama
3128
+ }),
3135
3129
  monitoring: MonitoringBuilder3().monitorEvent().polkadotXcm().messageQueue()
3136
3130
  }
3137
3131
  ]