@moonbeam-network/xcm-config 1.0.0-dev.235 → 1.0.0-dev.236
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 +33 -2
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
package/build/index.mjs
CHANGED
|
@@ -398,6 +398,7 @@ var assetsList = [
|
|
|
398
398
|
pica,
|
|
399
399
|
pink,
|
|
400
400
|
pizza,
|
|
401
|
+
pizzaUSDC,
|
|
401
402
|
ring,
|
|
402
403
|
rmrk,
|
|
403
404
|
sdn,
|
|
@@ -1460,13 +1461,14 @@ var moonlama = new EvmParachain({
|
|
|
1460
1461
|
ChainAsset.fromAsset(pizza, {
|
|
1461
1462
|
address: "0xbdd558f3be2807fce11b5fb2b2fa86f310f67855",
|
|
1462
1463
|
decimals: 18,
|
|
1464
|
+
// NOT SURE ABOUT THIS
|
|
1463
1465
|
ids: {
|
|
1464
1466
|
palletInstance: 110
|
|
1465
1467
|
}
|
|
1466
1468
|
}),
|
|
1467
1469
|
ChainAsset.fromAsset(pizzaUSDC, {
|
|
1468
1470
|
address: "0x385c00353cff4c3129306e0a6dcd1947e8354133",
|
|
1469
|
-
decimals:
|
|
1471
|
+
decimals: 6,
|
|
1470
1472
|
ids: {
|
|
1471
1473
|
palletInstance: 110
|
|
1472
1474
|
}
|
|
@@ -1498,6 +1500,7 @@ var moonsama = new EvmParachain({
|
|
|
1498
1500
|
ChainAsset.fromAsset(movrsama, {
|
|
1499
1501
|
address: "0x0000000000000000000000000000000000000802",
|
|
1500
1502
|
decimals: 18,
|
|
1503
|
+
// not sure about this
|
|
1501
1504
|
ids: {
|
|
1502
1505
|
palletInstance: 3
|
|
1503
1506
|
}
|
|
@@ -1513,6 +1516,7 @@ var moonsama = new EvmParachain({
|
|
|
1513
1516
|
ChainAsset.fromAsset(pizza, {
|
|
1514
1517
|
address: "0xffffffff57029d0ec61f38481147f4e1a0d5e3ed",
|
|
1515
1518
|
decimals: 18,
|
|
1519
|
+
// not sure about this
|
|
1516
1520
|
ids: {
|
|
1517
1521
|
palletInstance: 3
|
|
1518
1522
|
// NOT SURE ABOUT THIS
|
|
@@ -1520,7 +1524,8 @@ var moonsama = new EvmParachain({
|
|
|
1520
1524
|
}),
|
|
1521
1525
|
ChainAsset.fromAsset(pizzaUSDC, {
|
|
1522
1526
|
address: "0xffffffffa993c0ca4b46667277c3caaa5a4da783",
|
|
1523
|
-
decimals:
|
|
1527
|
+
decimals: 6,
|
|
1528
|
+
// not sure about this
|
|
1524
1529
|
ids: {
|
|
1525
1530
|
palletInstance: 3
|
|
1526
1531
|
// NOT SURE ABOUT THIS
|
|
@@ -3102,6 +3107,32 @@ var moonlamaRoutes = new ChainRoutes({
|
|
|
3102
3107
|
},
|
|
3103
3108
|
extrinsic: ExtrinsicBuilder3().polkadotXcm().transferAssetsToEcosystem().X2(),
|
|
3104
3109
|
monitoring: MonitoringBuilder3().monitorEvent().polkadotXcm().messageQueue()
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
source: {
|
|
3113
|
+
asset: pizzaUSDC,
|
|
3114
|
+
balance: BalanceBuilder3().evm().erc20(),
|
|
3115
|
+
fee: {
|
|
3116
|
+
asset: lama,
|
|
3117
|
+
balance: BalanceBuilder3().evm().native()
|
|
3118
|
+
}
|
|
3119
|
+
},
|
|
3120
|
+
destination: {
|
|
3121
|
+
asset: pizzaUSDC,
|
|
3122
|
+
chain: moonsama,
|
|
3123
|
+
balance: BalanceBuilder3().evm().erc20(),
|
|
3124
|
+
fee: {
|
|
3125
|
+
asset: pizzaUSDC,
|
|
3126
|
+
amount: 1e-4,
|
|
3127
|
+
// amount: FeeBuilder().xcmPaymentApi().fromPalletInstance({
|
|
3128
|
+
// isAssetReserveChain: false,
|
|
3129
|
+
// isEcosystemBridge: true,
|
|
3130
|
+
// }),
|
|
3131
|
+
balance: BalanceBuilder3().substrate().system().account()
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
extrinsic: ExtrinsicBuilder3().polkadotXcm().transferAssetsToEcosystem().X2(),
|
|
3135
|
+
monitoring: MonitoringBuilder3().monitorEvent().polkadotXcm().messageQueue()
|
|
3105
3136
|
}
|
|
3106
3137
|
]
|
|
3107
3138
|
});
|