@moonbeam-network/xcm-config 1.0.0-dev.266 → 1.0.0-dev.267
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 +4 -0
- package/build/index.mjs +33 -32
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
package/build/index.d.ts
CHANGED
|
@@ -160,6 +160,10 @@ interface MrlConfig {
|
|
|
160
160
|
interface MrlSourceConfig extends SourceConfig {
|
|
161
161
|
/** Protocol bridge fee (e.g., Snowbridge fee) */
|
|
162
162
|
protocolFee?: number | BridgeFeeConfigBuilder;
|
|
163
|
+
bridgeChainFee?: {
|
|
164
|
+
asset: Asset;
|
|
165
|
+
balance: BalanceConfigBuilder;
|
|
166
|
+
};
|
|
163
167
|
}
|
|
164
168
|
interface BridgeChainConfig {
|
|
165
169
|
asset: Asset;
|
package/build/index.mjs
CHANGED
|
@@ -4395,10 +4395,10 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4395
4395
|
asset: weth,
|
|
4396
4396
|
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4397
4397
|
},
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4398
|
+
bridgeChainFee: {
|
|
4399
|
+
asset: glmr,
|
|
4400
|
+
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4401
|
+
},
|
|
4402
4402
|
fee: {
|
|
4403
4403
|
asset: hdx,
|
|
4404
4404
|
balance: BalanceBuilder9().substrate().system().account()
|
|
@@ -4436,10 +4436,10 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4436
4436
|
asset: usdcwh,
|
|
4437
4437
|
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4438
4438
|
},
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4439
|
+
bridgeChainFee: {
|
|
4440
|
+
asset: glmr,
|
|
4441
|
+
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4442
|
+
},
|
|
4443
4443
|
fee: {
|
|
4444
4444
|
asset: hdx,
|
|
4445
4445
|
balance: BalanceBuilder9().substrate().system().account()
|
|
@@ -4464,6 +4464,7 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4464
4464
|
fee: {
|
|
4465
4465
|
asset: glmr,
|
|
4466
4466
|
amount: 0.1,
|
|
4467
|
+
// TODO use xcmPaymentApi
|
|
4467
4468
|
balance: BalanceBuilder9().substrate().system().account()
|
|
4468
4469
|
}
|
|
4469
4470
|
}
|
|
@@ -4477,10 +4478,10 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4477
4478
|
asset: usdtwh,
|
|
4478
4479
|
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4479
4480
|
},
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4481
|
+
bridgeChainFee: {
|
|
4482
|
+
asset: glmr,
|
|
4483
|
+
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4484
|
+
},
|
|
4484
4485
|
fee: {
|
|
4485
4486
|
asset: hdx,
|
|
4486
4487
|
balance: BalanceBuilder9().substrate().system().account()
|
|
@@ -4518,10 +4519,10 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4518
4519
|
asset: dai,
|
|
4519
4520
|
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4520
4521
|
},
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4522
|
+
bridgeChainFee: {
|
|
4523
|
+
asset: glmr,
|
|
4524
|
+
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4525
|
+
},
|
|
4525
4526
|
fee: {
|
|
4526
4527
|
asset: hdx,
|
|
4527
4528
|
balance: BalanceBuilder9().substrate().system().account()
|
|
@@ -4559,10 +4560,10 @@ var hydrationRoutes = new MrlChainRoutes({
|
|
|
4559
4560
|
asset: wbtc,
|
|
4560
4561
|
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4561
4562
|
},
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4563
|
+
bridgeChainFee: {
|
|
4564
|
+
asset: glmr,
|
|
4565
|
+
balance: BalanceBuilder9().substrate().tokens().accounts()
|
|
4566
|
+
},
|
|
4566
4567
|
fee: {
|
|
4567
4568
|
asset: hdx,
|
|
4568
4569
|
balance: BalanceBuilder9().substrate().system().account()
|
|
@@ -4965,10 +4966,10 @@ var peaqAlphanetRoutes = new MrlChainRoutes({
|
|
|
4965
4966
|
asset: ftmwh,
|
|
4966
4967
|
balance: BalanceBuilder13().substrate().assets().account()
|
|
4967
4968
|
},
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4969
|
+
bridgeChainFee: {
|
|
4970
|
+
asset: dev,
|
|
4971
|
+
balance: BalanceBuilder13().substrate().assets().account()
|
|
4972
|
+
},
|
|
4972
4973
|
fee: {
|
|
4973
4974
|
asset: agng,
|
|
4974
4975
|
balance: BalanceBuilder13().substrate().system().account()
|
|
@@ -5009,11 +5010,11 @@ var peaqAlphanetRoutes = new MrlChainRoutes({
|
|
|
5009
5010
|
destinationFee: {
|
|
5010
5011
|
asset: ftmwh,
|
|
5011
5012
|
balance: BalanceBuilder13().substrate().assets().account()
|
|
5013
|
+
},
|
|
5014
|
+
bridgeChainFee: {
|
|
5015
|
+
asset: dev,
|
|
5016
|
+
balance: BalanceBuilder13().substrate().assets().account()
|
|
5012
5017
|
}
|
|
5013
|
-
// bridgeChainFee: {
|
|
5014
|
-
// asset: dev,
|
|
5015
|
-
// balance: BalanceBuilder().substrate().assets().account(),
|
|
5016
|
-
// },
|
|
5017
5018
|
},
|
|
5018
5019
|
destination: {
|
|
5019
5020
|
asset: agng,
|
|
@@ -5055,10 +5056,10 @@ var peaqEvmAlphanetRoutes = new MrlChainRoutes({
|
|
|
5055
5056
|
asset: ftmwh,
|
|
5056
5057
|
balance: BalanceBuilder14().evm().erc20()
|
|
5057
5058
|
},
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5059
|
+
bridgeChainFee: {
|
|
5060
|
+
asset: dev,
|
|
5061
|
+
balance: BalanceBuilder14().evm().erc20()
|
|
5062
|
+
},
|
|
5062
5063
|
fee: {
|
|
5063
5064
|
asset: agng,
|
|
5064
5065
|
balance: BalanceBuilder14().substrate().system().accountEvmTo32()
|