@moonbeam-network/xcm-config 1.0.0-dev.186 → 1.0.0-dev.188
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 +3 -3
- package/build/index.mjs +672 -671
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
package/build/index.mjs
CHANGED
|
@@ -36,10 +36,6 @@ var axlusdc = new Asset({
|
|
|
36
36
|
key: "axlusdc",
|
|
37
37
|
originSymbol: "axlUSDC"
|
|
38
38
|
});
|
|
39
|
-
var betaDEV = new Asset({
|
|
40
|
-
key: "beta-dev",
|
|
41
|
-
originSymbol: "betaDEV"
|
|
42
|
-
});
|
|
43
39
|
var bnc = new Asset({
|
|
44
40
|
key: "bnc",
|
|
45
41
|
originSymbol: "BNC"
|
|
@@ -72,6 +68,14 @@ var dev = new Asset({
|
|
|
72
68
|
key: "dev",
|
|
73
69
|
originSymbol: "DEV"
|
|
74
70
|
});
|
|
71
|
+
var devBeta = new Asset({
|
|
72
|
+
key: "dev-beta",
|
|
73
|
+
originSymbol: "DEVbeta"
|
|
74
|
+
});
|
|
75
|
+
var devStage = new Asset({
|
|
76
|
+
key: "dev-stage",
|
|
77
|
+
originSymbol: "DEVstage"
|
|
78
|
+
});
|
|
75
79
|
var dot = new Asset({
|
|
76
80
|
key: "dot",
|
|
77
81
|
originSymbol: "DOT"
|
|
@@ -342,7 +346,6 @@ var assetsList = [
|
|
|
342
346
|
astr,
|
|
343
347
|
auq,
|
|
344
348
|
axlusdc,
|
|
345
|
-
betaDEV,
|
|
346
349
|
bnc,
|
|
347
350
|
bncs,
|
|
348
351
|
cfg,
|
|
@@ -351,6 +354,8 @@ var assetsList = [
|
|
|
351
354
|
dai,
|
|
352
355
|
ded,
|
|
353
356
|
dev,
|
|
357
|
+
devBeta,
|
|
358
|
+
devStage,
|
|
354
359
|
dot,
|
|
355
360
|
eq,
|
|
356
361
|
eqd,
|
|
@@ -1295,7 +1300,7 @@ var moonbaseAlpha = new EvmParachain({
|
|
|
1295
1300
|
});
|
|
1296
1301
|
var moonbaseStage = new EvmParachain({
|
|
1297
1302
|
assets: [
|
|
1298
|
-
ChainAsset.fromAsset(
|
|
1303
|
+
ChainAsset.fromAsset(devStage, {
|
|
1299
1304
|
address: "0x0000000000000000000000000000000000000802",
|
|
1300
1305
|
decimals: 18,
|
|
1301
1306
|
min: 0.01,
|
|
@@ -1305,13 +1310,14 @@ var moonbaseStage = new EvmParachain({
|
|
|
1305
1310
|
})
|
|
1306
1311
|
],
|
|
1307
1312
|
ecosystem: Ecosystem.AlphanetRelay,
|
|
1313
|
+
// TODO, it should be Ecosystem.StagenetRelay
|
|
1308
1314
|
genesisHash: "0xd97c0d8c02a2878f817b688d3397efa2584977f0332d0ba82303498110a0836f",
|
|
1309
1315
|
id: 1282,
|
|
1310
1316
|
isEvmSigner: true,
|
|
1311
1317
|
isTestChain: true,
|
|
1312
1318
|
key: "moonbase-stage",
|
|
1313
1319
|
name: "Moonbase Stage",
|
|
1314
|
-
nativeAsset:
|
|
1320
|
+
nativeAsset: devStage,
|
|
1315
1321
|
parachainId: 1e3,
|
|
1316
1322
|
rpc: "https://rpc.api.moondev.network",
|
|
1317
1323
|
ss58Format: 1287,
|
|
@@ -1319,10 +1325,11 @@ var moonbaseStage = new EvmParachain({
|
|
|
1319
1325
|
});
|
|
1320
1326
|
var moonbaseBeta = new EvmParachain({
|
|
1321
1327
|
assets: [
|
|
1322
|
-
ChainAsset.fromAsset(
|
|
1328
|
+
ChainAsset.fromAsset(devBeta, {
|
|
1323
1329
|
decimals: 18
|
|
1324
1330
|
}),
|
|
1325
1331
|
ChainAsset.fromAsset(dev, {
|
|
1332
|
+
address: "0xffffffffA7B17E706A2391F346D8C82B6788DB41",
|
|
1326
1333
|
decimals: 18,
|
|
1327
1334
|
ids: {
|
|
1328
1335
|
balanceId: "222902676330054289648817870329963141953",
|
|
@@ -1330,6 +1337,7 @@ var moonbaseBeta = new EvmParachain({
|
|
|
1330
1337
|
}
|
|
1331
1338
|
}),
|
|
1332
1339
|
ChainAsset.fromAsset(alan, {
|
|
1340
|
+
address: "0xffffffff405953B645C61B0F5FFB28DF2B39B78D",
|
|
1333
1341
|
decimals: 18,
|
|
1334
1342
|
ids: {
|
|
1335
1343
|
balanceId: "85534404031760856987006367174489651085",
|
|
@@ -1337,6 +1345,7 @@ var moonbaseBeta = new EvmParachain({
|
|
|
1337
1345
|
}
|
|
1338
1346
|
}),
|
|
1339
1347
|
ChainAsset.fromAsset(usdcwh, {
|
|
1348
|
+
address: "0xffffffffF0963FD9B1D84D5740E911AA5D99A08D",
|
|
1340
1349
|
decimals: 6,
|
|
1341
1350
|
ids: {
|
|
1342
1351
|
balanceId: "319794858556516669238969276945382613133",
|
|
@@ -1344,11 +1353,16 @@ var moonbaseBeta = new EvmParachain({
|
|
|
1344
1353
|
}
|
|
1345
1354
|
}),
|
|
1346
1355
|
ChainAsset.fromAsset(ftmwh, {
|
|
1356
|
+
address: "0xffffffff958FAF8E6B11DA766006DF735C4A8DA0",
|
|
1347
1357
|
decimals: 18,
|
|
1348
1358
|
ids: {
|
|
1349
1359
|
balanceId: "198801030527939140930753142903035039136",
|
|
1350
1360
|
id: { ForeignAsset: "198801030527939140930753142903035039136" }
|
|
1351
1361
|
}
|
|
1362
|
+
}),
|
|
1363
|
+
ChainAsset.fromAsset(devStage, {
|
|
1364
|
+
address: "0xffffffff00000000000000000000000000000001",
|
|
1365
|
+
decimals: 18
|
|
1352
1366
|
})
|
|
1353
1367
|
],
|
|
1354
1368
|
ecosystem: Ecosystem.AlphanetRelay,
|
|
@@ -1360,7 +1374,7 @@ var moonbaseBeta = new EvmParachain({
|
|
|
1360
1374
|
isTestChain: true,
|
|
1361
1375
|
key: "moonbase-beta",
|
|
1362
1376
|
name: "Moonbase Beta",
|
|
1363
|
-
nativeAsset:
|
|
1377
|
+
nativeAsset: devBeta,
|
|
1364
1378
|
parachainId: 888,
|
|
1365
1379
|
rpc: "https://moonbase-beta.api.moonbase.moonbeam.network",
|
|
1366
1380
|
ss58Format: 1287,
|
|
@@ -2384,17 +2398,6 @@ var shiden = new Parachain({
|
|
|
2384
2398
|
"wss://shiden.api.onfinality.io/public-ws"
|
|
2385
2399
|
]
|
|
2386
2400
|
});
|
|
2387
|
-
var subsocial = new Parachain({
|
|
2388
|
-
assets: [ChainAsset.fromAsset(sub, { decimals: 10 })],
|
|
2389
|
-
ecosystem: Ecosystem.Polkadot,
|
|
2390
|
-
genesisHash: "0x4a12be580bb959937a1c7a61d5cf24428ed67fa571974b4007645d1886e7c89f",
|
|
2391
|
-
key: "subsocial",
|
|
2392
|
-
name: "Subsocial",
|
|
2393
|
-
nativeAsset: sub,
|
|
2394
|
-
parachainId: 2101,
|
|
2395
|
-
ss58Format: 28,
|
|
2396
|
-
ws: ["wss://para.subsocial.network", "wss://subsocial-rpc.dwellir.com"]
|
|
2397
|
-
});
|
|
2398
2401
|
var turingAlphanet = new Parachain({
|
|
2399
2402
|
assets: [
|
|
2400
2403
|
ChainAsset.fromAsset(tur, {
|
|
@@ -2508,7 +2511,6 @@ var chainsList = [
|
|
|
2508
2511
|
polkadotAssetHub,
|
|
2509
2512
|
robonomics,
|
|
2510
2513
|
shiden,
|
|
2511
|
-
subsocial,
|
|
2512
2514
|
// turing,
|
|
2513
2515
|
turingAlphanet,
|
|
2514
2516
|
uniqueAlpha,
|
|
@@ -3688,7 +3690,7 @@ var moonbaseBetaRoutes = new MrlChainRoutes({
|
|
|
3688
3690
|
balance: BalanceBuilder5().substrate().assets().account()
|
|
3689
3691
|
},
|
|
3690
3692
|
fee: {
|
|
3691
|
-
asset:
|
|
3693
|
+
asset: devBeta,
|
|
3692
3694
|
balance: BalanceBuilder5().substrate().system().account()
|
|
3693
3695
|
}
|
|
3694
3696
|
},
|
|
@@ -6171,7 +6173,7 @@ var moonbaseBetaRoutes2 = new ChainRoutes({
|
|
|
6171
6173
|
asset: dev,
|
|
6172
6174
|
balance: BalanceBuilder32().substrate().assets().account(),
|
|
6173
6175
|
fee: {
|
|
6174
|
-
asset:
|
|
6176
|
+
asset: devBeta,
|
|
6175
6177
|
balance: BalanceBuilder32().substrate().system().account()
|
|
6176
6178
|
},
|
|
6177
6179
|
destinationFee: {
|
|
@@ -6194,7 +6196,7 @@ var moonbaseBetaRoutes2 = new ChainRoutes({
|
|
|
6194
6196
|
asset: alan,
|
|
6195
6197
|
balance: BalanceBuilder32().substrate().assets().account(),
|
|
6196
6198
|
fee: {
|
|
6197
|
-
asset:
|
|
6199
|
+
asset: devBeta,
|
|
6198
6200
|
balance: BalanceBuilder32().substrate().system().account()
|
|
6199
6201
|
},
|
|
6200
6202
|
destinationFee: {
|
|
@@ -6211,6 +6213,63 @@ var moonbaseBetaRoutes2 = new ChainRoutes({
|
|
|
6211
6213
|
}
|
|
6212
6214
|
},
|
|
6213
6215
|
extrinsic: ExtrinsicBuilder23().xTokens().transferMultiCurrencies()
|
|
6216
|
+
},
|
|
6217
|
+
{
|
|
6218
|
+
source: {
|
|
6219
|
+
asset: devStage,
|
|
6220
|
+
balance: BalanceBuilder32().evm().native(),
|
|
6221
|
+
fee: {
|
|
6222
|
+
asset: devBeta,
|
|
6223
|
+
balance: BalanceBuilder32().evm().native()
|
|
6224
|
+
}
|
|
6225
|
+
},
|
|
6226
|
+
destination: {
|
|
6227
|
+
asset: devStage,
|
|
6228
|
+
chain: moonbaseStage,
|
|
6229
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6230
|
+
fee: {
|
|
6231
|
+
asset: devStage,
|
|
6232
|
+
amount: 0.1,
|
|
6233
|
+
// TODO
|
|
6234
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6235
|
+
}
|
|
6236
|
+
},
|
|
6237
|
+
extrinsic: ExtrinsicBuilder23().polkadotXcm().transferAssetsToEcosystem().byGenesis()
|
|
6238
|
+
}
|
|
6239
|
+
]
|
|
6240
|
+
});
|
|
6241
|
+
|
|
6242
|
+
// src/xcm-configs/moonbaseStage.ts
|
|
6243
|
+
import {
|
|
6244
|
+
BalanceBuilder as BalanceBuilder33,
|
|
6245
|
+
ExtrinsicBuilder as ExtrinsicBuilder24
|
|
6246
|
+
} from "@moonbeam-network/xcm-builder";
|
|
6247
|
+
var moonbaseStageRoutes = new ChainRoutes({
|
|
6248
|
+
chain: moonbaseStage,
|
|
6249
|
+
routes: [
|
|
6250
|
+
{
|
|
6251
|
+
source: {
|
|
6252
|
+
asset: devStage,
|
|
6253
|
+
balance: BalanceBuilder33().substrate().system().account(),
|
|
6254
|
+
fee: {
|
|
6255
|
+
asset: devStage,
|
|
6256
|
+
balance: BalanceBuilder33().substrate().system().account()
|
|
6257
|
+
},
|
|
6258
|
+
destinationFee: {
|
|
6259
|
+
balance: BalanceBuilder33().evm().erc20()
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
6262
|
+
destination: {
|
|
6263
|
+
asset: devStage,
|
|
6264
|
+
chain: moonbaseBeta,
|
|
6265
|
+
balance: BalanceBuilder33().evm().erc20(),
|
|
6266
|
+
fee: {
|
|
6267
|
+
amount: 0.1,
|
|
6268
|
+
// TODO
|
|
6269
|
+
asset: dev
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
extrinsic: ExtrinsicBuilder24().polkadotXcm().transferAssetsToEcosystem().byGenesis()
|
|
6214
6273
|
}
|
|
6215
6274
|
]
|
|
6216
6275
|
});
|
|
@@ -6218,7 +6277,7 @@ var moonbaseBetaRoutes2 = new ChainRoutes({
|
|
|
6218
6277
|
// src/xcm-configs/moonbeam.ts
|
|
6219
6278
|
import {
|
|
6220
6279
|
AssetMinBuilder as AssetMinBuilder9,
|
|
6221
|
-
BalanceBuilder as
|
|
6280
|
+
BalanceBuilder as BalanceBuilder34,
|
|
6222
6281
|
ContractBuilder as ContractBuilder2,
|
|
6223
6282
|
FeeBuilder as FeeBuilder25
|
|
6224
6283
|
} from "@moonbeam-network/xcm-builder";
|
|
@@ -6228,19 +6287,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6228
6287
|
{
|
|
6229
6288
|
source: {
|
|
6230
6289
|
asset: glmr,
|
|
6231
|
-
balance:
|
|
6290
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6232
6291
|
fee: {
|
|
6233
6292
|
asset: glmr,
|
|
6234
|
-
balance:
|
|
6293
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6235
6294
|
},
|
|
6236
6295
|
destinationFee: {
|
|
6237
|
-
balance:
|
|
6296
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6238
6297
|
}
|
|
6239
6298
|
},
|
|
6240
6299
|
destination: {
|
|
6241
6300
|
asset: glmr,
|
|
6242
6301
|
chain: acala,
|
|
6243
|
-
balance:
|
|
6302
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6244
6303
|
fee: {
|
|
6245
6304
|
amount: 0.01,
|
|
6246
6305
|
asset: glmr
|
|
@@ -6252,19 +6311,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6252
6311
|
{
|
|
6253
6312
|
source: {
|
|
6254
6313
|
asset: glmr,
|
|
6255
|
-
balance:
|
|
6314
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6256
6315
|
fee: {
|
|
6257
6316
|
asset: glmr,
|
|
6258
|
-
balance:
|
|
6317
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6259
6318
|
},
|
|
6260
6319
|
destinationFee: {
|
|
6261
|
-
balance:
|
|
6320
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6262
6321
|
}
|
|
6263
6322
|
},
|
|
6264
6323
|
destination: {
|
|
6265
6324
|
asset: glmr,
|
|
6266
6325
|
chain: astar,
|
|
6267
|
-
balance:
|
|
6326
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6268
6327
|
fee: {
|
|
6269
6328
|
amount: FeeBuilder25().xcmPaymentApi().fromSourcePalletInstance({ isAssetReserveChain: false }),
|
|
6270
6329
|
asset: glmr
|
|
@@ -6275,19 +6334,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6275
6334
|
{
|
|
6276
6335
|
source: {
|
|
6277
6336
|
asset: glmr,
|
|
6278
|
-
balance:
|
|
6337
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6279
6338
|
fee: {
|
|
6280
6339
|
asset: glmr,
|
|
6281
|
-
balance:
|
|
6340
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6282
6341
|
},
|
|
6283
6342
|
destinationFee: {
|
|
6284
|
-
balance:
|
|
6343
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6285
6344
|
}
|
|
6286
6345
|
},
|
|
6287
6346
|
destination: {
|
|
6288
6347
|
asset: glmr,
|
|
6289
6348
|
chain: bifrostPolkadot,
|
|
6290
|
-
balance:
|
|
6349
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6291
6350
|
fee: {
|
|
6292
6351
|
amount: FeeBuilder25().xcmPaymentApi().fromSourcePalletInstance({
|
|
6293
6352
|
isAssetReserveChain: false
|
|
@@ -6301,19 +6360,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6301
6360
|
{
|
|
6302
6361
|
source: {
|
|
6303
6362
|
asset: glmr,
|
|
6304
|
-
balance:
|
|
6363
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6305
6364
|
fee: {
|
|
6306
6365
|
asset: glmr,
|
|
6307
|
-
balance:
|
|
6366
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6308
6367
|
},
|
|
6309
6368
|
destinationFee: {
|
|
6310
|
-
balance:
|
|
6369
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6311
6370
|
}
|
|
6312
6371
|
},
|
|
6313
6372
|
destination: {
|
|
6314
6373
|
asset: glmr,
|
|
6315
6374
|
chain: hydration,
|
|
6316
|
-
balance:
|
|
6375
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6317
6376
|
fee: {
|
|
6318
6377
|
amount: FeeBuilder25().xcmPaymentApi().fromSourcePalletInstance({ isAssetReserveChain: false }),
|
|
6319
6378
|
asset: glmr
|
|
@@ -6324,19 +6383,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6324
6383
|
{
|
|
6325
6384
|
source: {
|
|
6326
6385
|
asset: glmr,
|
|
6327
|
-
balance:
|
|
6386
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6328
6387
|
fee: {
|
|
6329
6388
|
asset: glmr,
|
|
6330
|
-
balance:
|
|
6389
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6331
6390
|
},
|
|
6332
6391
|
destinationFee: {
|
|
6333
|
-
balance:
|
|
6392
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6334
6393
|
}
|
|
6335
6394
|
},
|
|
6336
6395
|
destination: {
|
|
6337
6396
|
asset: glmr,
|
|
6338
6397
|
chain: interlay,
|
|
6339
|
-
balance:
|
|
6398
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6340
6399
|
fee: {
|
|
6341
6400
|
amount: 0.05,
|
|
6342
6401
|
asset: glmr
|
|
@@ -6347,19 +6406,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6347
6406
|
{
|
|
6348
6407
|
source: {
|
|
6349
6408
|
asset: glmr,
|
|
6350
|
-
balance:
|
|
6409
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6351
6410
|
fee: {
|
|
6352
6411
|
asset: glmr,
|
|
6353
|
-
balance:
|
|
6412
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6354
6413
|
},
|
|
6355
6414
|
destinationFee: {
|
|
6356
|
-
balance:
|
|
6415
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6357
6416
|
}
|
|
6358
6417
|
},
|
|
6359
6418
|
destination: {
|
|
6360
6419
|
asset: glmr,
|
|
6361
6420
|
chain: mantaParachain,
|
|
6362
|
-
balance:
|
|
6421
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6363
6422
|
fee: {
|
|
6364
6423
|
amount: 0.1,
|
|
6365
6424
|
asset: glmr
|
|
@@ -6371,19 +6430,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6371
6430
|
{
|
|
6372
6431
|
source: {
|
|
6373
6432
|
asset: glmr,
|
|
6374
|
-
balance:
|
|
6433
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6375
6434
|
fee: {
|
|
6376
6435
|
asset: glmr,
|
|
6377
|
-
balance:
|
|
6436
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6378
6437
|
},
|
|
6379
6438
|
destinationFee: {
|
|
6380
|
-
balance:
|
|
6439
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6381
6440
|
}
|
|
6382
6441
|
},
|
|
6383
6442
|
destination: {
|
|
6384
6443
|
asset: glmr,
|
|
6385
6444
|
chain: pendulum,
|
|
6386
|
-
balance:
|
|
6445
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6387
6446
|
fee: {
|
|
6388
6447
|
amount: 0.2,
|
|
6389
6448
|
asset: glmr
|
|
@@ -6394,19 +6453,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6394
6453
|
{
|
|
6395
6454
|
source: {
|
|
6396
6455
|
asset: glmr,
|
|
6397
|
-
balance:
|
|
6456
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6398
6457
|
fee: {
|
|
6399
6458
|
asset: glmr,
|
|
6400
|
-
balance:
|
|
6459
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6401
6460
|
},
|
|
6402
6461
|
destinationFee: {
|
|
6403
|
-
balance:
|
|
6462
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6404
6463
|
}
|
|
6405
6464
|
},
|
|
6406
6465
|
destination: {
|
|
6407
6466
|
asset: glmr,
|
|
6408
6467
|
chain: zeitgeist,
|
|
6409
|
-
balance:
|
|
6468
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6410
6469
|
fee: {
|
|
6411
6470
|
amount: 0.3,
|
|
6412
6471
|
asset: glmr
|
|
@@ -6417,19 +6476,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6417
6476
|
{
|
|
6418
6477
|
source: {
|
|
6419
6478
|
asset: aca,
|
|
6420
|
-
balance:
|
|
6479
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6421
6480
|
fee: {
|
|
6422
6481
|
asset: glmr,
|
|
6423
|
-
balance:
|
|
6482
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6424
6483
|
},
|
|
6425
6484
|
destinationFee: {
|
|
6426
|
-
balance:
|
|
6485
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6427
6486
|
}
|
|
6428
6487
|
},
|
|
6429
6488
|
destination: {
|
|
6430
6489
|
asset: aca,
|
|
6431
6490
|
chain: acala,
|
|
6432
|
-
balance:
|
|
6491
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6433
6492
|
fee: {
|
|
6434
6493
|
amount: 0.032,
|
|
6435
6494
|
asset: aca
|
|
@@ -6440,19 +6499,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6440
6499
|
{
|
|
6441
6500
|
source: {
|
|
6442
6501
|
asset: astr,
|
|
6443
|
-
balance:
|
|
6502
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6444
6503
|
fee: {
|
|
6445
6504
|
asset: glmr,
|
|
6446
|
-
balance:
|
|
6505
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6447
6506
|
},
|
|
6448
6507
|
destinationFee: {
|
|
6449
|
-
balance:
|
|
6508
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6450
6509
|
}
|
|
6451
6510
|
},
|
|
6452
6511
|
destination: {
|
|
6453
6512
|
asset: astr,
|
|
6454
6513
|
chain: astar,
|
|
6455
|
-
balance:
|
|
6514
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6456
6515
|
fee: {
|
|
6457
6516
|
amount: FeeBuilder25().xcmPaymentApi().fromHere({ isAssetReserveChain: true, parents: 0 }),
|
|
6458
6517
|
asset: astr
|
|
@@ -6463,19 +6522,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6463
6522
|
{
|
|
6464
6523
|
source: {
|
|
6465
6524
|
asset: aseed,
|
|
6466
|
-
balance:
|
|
6525
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6467
6526
|
fee: {
|
|
6468
6527
|
asset: glmr,
|
|
6469
|
-
balance:
|
|
6528
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6470
6529
|
},
|
|
6471
6530
|
destinationFee: {
|
|
6472
|
-
balance:
|
|
6531
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6473
6532
|
}
|
|
6474
6533
|
},
|
|
6475
6534
|
destination: {
|
|
6476
6535
|
asset: aseed,
|
|
6477
6536
|
chain: acala,
|
|
6478
|
-
balance:
|
|
6537
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6479
6538
|
fee: {
|
|
6480
6539
|
amount: 0.256,
|
|
6481
6540
|
asset: aseed
|
|
@@ -6487,19 +6546,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6487
6546
|
{
|
|
6488
6547
|
source: {
|
|
6489
6548
|
asset: bnc,
|
|
6490
|
-
balance:
|
|
6549
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6491
6550
|
fee: {
|
|
6492
6551
|
asset: glmr,
|
|
6493
|
-
balance:
|
|
6552
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6494
6553
|
},
|
|
6495
6554
|
destinationFee: {
|
|
6496
|
-
balance:
|
|
6555
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6497
6556
|
}
|
|
6498
6557
|
},
|
|
6499
6558
|
destination: {
|
|
6500
6559
|
asset: bnc,
|
|
6501
6560
|
chain: bifrostPolkadot,
|
|
6502
|
-
balance:
|
|
6561
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6503
6562
|
fee: {
|
|
6504
6563
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
6505
6564
|
isAssetReserveChain: true
|
|
@@ -6512,19 +6571,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6512
6571
|
{
|
|
6513
6572
|
source: {
|
|
6514
6573
|
asset: cfg,
|
|
6515
|
-
balance:
|
|
6574
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6516
6575
|
fee: {
|
|
6517
6576
|
asset: glmr,
|
|
6518
|
-
balance:
|
|
6577
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6519
6578
|
},
|
|
6520
6579
|
destinationFee: {
|
|
6521
|
-
balance:
|
|
6580
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6522
6581
|
}
|
|
6523
6582
|
},
|
|
6524
6583
|
destination: {
|
|
6525
6584
|
asset: cfg,
|
|
6526
6585
|
chain: centrifuge,
|
|
6527
|
-
balance:
|
|
6586
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6528
6587
|
fee: {
|
|
6529
6588
|
amount: 0.01,
|
|
6530
6589
|
asset: cfg
|
|
@@ -6535,19 +6594,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6535
6594
|
{
|
|
6536
6595
|
source: {
|
|
6537
6596
|
asset: dot,
|
|
6538
|
-
balance:
|
|
6597
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6539
6598
|
fee: {
|
|
6540
6599
|
asset: glmr,
|
|
6541
|
-
balance:
|
|
6600
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6542
6601
|
},
|
|
6543
6602
|
destinationFee: {
|
|
6544
|
-
balance:
|
|
6603
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6545
6604
|
}
|
|
6546
6605
|
},
|
|
6547
6606
|
destination: {
|
|
6548
6607
|
asset: dot,
|
|
6549
6608
|
chain: polkadot,
|
|
6550
|
-
balance:
|
|
6609
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6551
6610
|
fee: {
|
|
6552
6611
|
amount: FeeBuilder25().xcmPaymentApi().fromHere({ isAssetReserveChain: true, parents: 0 }),
|
|
6553
6612
|
asset: dot
|
|
@@ -6558,19 +6617,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6558
6617
|
{
|
|
6559
6618
|
source: {
|
|
6560
6619
|
asset: dot,
|
|
6561
|
-
balance:
|
|
6620
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6562
6621
|
fee: {
|
|
6563
6622
|
asset: glmr,
|
|
6564
|
-
balance:
|
|
6623
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6565
6624
|
},
|
|
6566
6625
|
destinationFee: {
|
|
6567
|
-
balance:
|
|
6626
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6568
6627
|
}
|
|
6569
6628
|
},
|
|
6570
6629
|
destination: {
|
|
6571
6630
|
asset: dot,
|
|
6572
6631
|
chain: polkadotAssetHub,
|
|
6573
|
-
balance:
|
|
6632
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6574
6633
|
fee: {
|
|
6575
6634
|
amount: FeeBuilder25().xcmPaymentApi().fromHere({ isAssetReserveChain: true }),
|
|
6576
6635
|
asset: dot
|
|
@@ -6581,19 +6640,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6581
6640
|
{
|
|
6582
6641
|
source: {
|
|
6583
6642
|
asset: ibtc,
|
|
6584
|
-
balance:
|
|
6643
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6585
6644
|
fee: {
|
|
6586
6645
|
asset: glmr,
|
|
6587
|
-
balance:
|
|
6646
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6588
6647
|
},
|
|
6589
6648
|
destinationFee: {
|
|
6590
|
-
balance:
|
|
6649
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6591
6650
|
}
|
|
6592
6651
|
},
|
|
6593
6652
|
destination: {
|
|
6594
6653
|
asset: ibtc,
|
|
6595
6654
|
chain: interlay,
|
|
6596
|
-
balance:
|
|
6655
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6597
6656
|
fee: {
|
|
6598
6657
|
amount: 64e-8,
|
|
6599
6658
|
asset: ibtc
|
|
@@ -6604,19 +6663,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6604
6663
|
{
|
|
6605
6664
|
source: {
|
|
6606
6665
|
asset: intr,
|
|
6607
|
-
balance:
|
|
6666
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6608
6667
|
fee: {
|
|
6609
6668
|
asset: glmr,
|
|
6610
|
-
balance:
|
|
6669
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6611
6670
|
},
|
|
6612
6671
|
destinationFee: {
|
|
6613
|
-
balance:
|
|
6672
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6614
6673
|
}
|
|
6615
6674
|
},
|
|
6616
6675
|
destination: {
|
|
6617
6676
|
asset: intr,
|
|
6618
6677
|
chain: interlay,
|
|
6619
|
-
balance:
|
|
6678
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6620
6679
|
fee: {
|
|
6621
6680
|
amount: 0.748,
|
|
6622
6681
|
asset: intr
|
|
@@ -6627,19 +6686,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6627
6686
|
{
|
|
6628
6687
|
source: {
|
|
6629
6688
|
asset: ldot,
|
|
6630
|
-
balance:
|
|
6689
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6631
6690
|
fee: {
|
|
6632
6691
|
asset: glmr,
|
|
6633
|
-
balance:
|
|
6692
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6634
6693
|
},
|
|
6635
6694
|
destinationFee: {
|
|
6636
|
-
balance:
|
|
6695
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6637
6696
|
}
|
|
6638
6697
|
},
|
|
6639
6698
|
destination: {
|
|
6640
6699
|
asset: ldot,
|
|
6641
6700
|
chain: acala,
|
|
6642
|
-
balance:
|
|
6701
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6643
6702
|
fee: {
|
|
6644
6703
|
amount: 1e-3,
|
|
6645
6704
|
asset: ldot
|
|
@@ -6651,19 +6710,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6651
6710
|
{
|
|
6652
6711
|
source: {
|
|
6653
6712
|
asset: manta,
|
|
6654
|
-
balance:
|
|
6713
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6655
6714
|
fee: {
|
|
6656
6715
|
asset: glmr,
|
|
6657
|
-
balance:
|
|
6716
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6658
6717
|
},
|
|
6659
6718
|
destinationFee: {
|
|
6660
|
-
balance:
|
|
6719
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6661
6720
|
}
|
|
6662
6721
|
},
|
|
6663
6722
|
destination: {
|
|
6664
6723
|
asset: manta,
|
|
6665
6724
|
chain: mantaParachain,
|
|
6666
|
-
balance:
|
|
6725
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6667
6726
|
fee: {
|
|
6668
6727
|
amount: 1e-6,
|
|
6669
6728
|
asset: manta
|
|
@@ -6674,19 +6733,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6674
6733
|
{
|
|
6675
6734
|
source: {
|
|
6676
6735
|
asset: neuro,
|
|
6677
|
-
balance:
|
|
6736
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6678
6737
|
fee: {
|
|
6679
6738
|
asset: glmr,
|
|
6680
|
-
balance:
|
|
6739
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6681
6740
|
},
|
|
6682
6741
|
destinationFee: {
|
|
6683
|
-
balance:
|
|
6742
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6684
6743
|
}
|
|
6685
6744
|
},
|
|
6686
6745
|
destination: {
|
|
6687
6746
|
asset: neuro,
|
|
6688
6747
|
chain: neuroweb,
|
|
6689
|
-
balance:
|
|
6748
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6690
6749
|
fee: {
|
|
6691
6750
|
amount: 4e-3,
|
|
6692
6751
|
asset: neuro
|
|
@@ -6697,19 +6756,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6697
6756
|
{
|
|
6698
6757
|
source: {
|
|
6699
6758
|
asset: pen,
|
|
6700
|
-
balance:
|
|
6759
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6701
6760
|
fee: {
|
|
6702
6761
|
asset: glmr,
|
|
6703
|
-
balance:
|
|
6762
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6704
6763
|
},
|
|
6705
6764
|
destinationFee: {
|
|
6706
|
-
balance:
|
|
6765
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6707
6766
|
}
|
|
6708
6767
|
},
|
|
6709
6768
|
destination: {
|
|
6710
6769
|
asset: pen,
|
|
6711
6770
|
chain: pendulum,
|
|
6712
|
-
balance:
|
|
6771
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6713
6772
|
fee: {
|
|
6714
6773
|
amount: 1.01,
|
|
6715
6774
|
asset: pen
|
|
@@ -6720,19 +6779,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6720
6779
|
{
|
|
6721
6780
|
source: {
|
|
6722
6781
|
asset: pha,
|
|
6723
|
-
balance:
|
|
6782
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6724
6783
|
fee: {
|
|
6725
6784
|
asset: glmr,
|
|
6726
|
-
balance:
|
|
6785
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6727
6786
|
},
|
|
6728
6787
|
destinationFee: {
|
|
6729
|
-
balance:
|
|
6788
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6730
6789
|
}
|
|
6731
6790
|
},
|
|
6732
6791
|
destination: {
|
|
6733
6792
|
asset: pha,
|
|
6734
6793
|
chain: phala,
|
|
6735
|
-
balance:
|
|
6794
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6736
6795
|
fee: {
|
|
6737
6796
|
amount: 0.32,
|
|
6738
6797
|
asset: pha
|
|
@@ -6743,19 +6802,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6743
6802
|
{
|
|
6744
6803
|
source: {
|
|
6745
6804
|
asset: ring,
|
|
6746
|
-
balance:
|
|
6805
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6747
6806
|
fee: {
|
|
6748
6807
|
asset: glmr,
|
|
6749
|
-
balance:
|
|
6808
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6750
6809
|
},
|
|
6751
6810
|
destinationFee: {
|
|
6752
|
-
balance:
|
|
6811
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6753
6812
|
}
|
|
6754
6813
|
},
|
|
6755
6814
|
destination: {
|
|
6756
6815
|
asset: ring,
|
|
6757
6816
|
chain: darwinia,
|
|
6758
|
-
balance:
|
|
6817
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6759
6818
|
fee: {
|
|
6760
6819
|
amount: FeeBuilder25().xcmPaymentApi().fromPalletInstance({
|
|
6761
6820
|
isAssetReserveChain: true
|
|
@@ -6768,19 +6827,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6768
6827
|
{
|
|
6769
6828
|
source: {
|
|
6770
6829
|
asset: usdt,
|
|
6771
|
-
balance:
|
|
6830
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6772
6831
|
fee: {
|
|
6773
6832
|
asset: glmr,
|
|
6774
|
-
balance:
|
|
6833
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6775
6834
|
},
|
|
6776
6835
|
destinationFee: {
|
|
6777
|
-
balance:
|
|
6836
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6778
6837
|
}
|
|
6779
6838
|
},
|
|
6780
6839
|
destination: {
|
|
6781
6840
|
asset: usdt,
|
|
6782
6841
|
chain: polkadotAssetHub,
|
|
6783
|
-
balance:
|
|
6842
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6784
6843
|
fee: {
|
|
6785
6844
|
amount: FeeBuilder25().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
6786
6845
|
isAssetReserveChain: true
|
|
@@ -6794,19 +6853,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6794
6853
|
{
|
|
6795
6854
|
source: {
|
|
6796
6855
|
asset: usdc,
|
|
6797
|
-
balance:
|
|
6856
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6798
6857
|
fee: {
|
|
6799
6858
|
asset: glmr,
|
|
6800
|
-
balance:
|
|
6859
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6801
6860
|
},
|
|
6802
6861
|
destinationFee: {
|
|
6803
|
-
balance:
|
|
6862
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6804
6863
|
}
|
|
6805
6864
|
},
|
|
6806
6865
|
destination: {
|
|
6807
6866
|
asset: usdc,
|
|
6808
6867
|
chain: polkadotAssetHub,
|
|
6809
|
-
balance:
|
|
6868
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6810
6869
|
fee: {
|
|
6811
6870
|
amount: FeeBuilder25().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
6812
6871
|
isAssetReserveChain: true
|
|
@@ -6820,26 +6879,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6820
6879
|
{
|
|
6821
6880
|
source: {
|
|
6822
6881
|
asset: pink,
|
|
6823
|
-
balance:
|
|
6882
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6824
6883
|
fee: {
|
|
6825
6884
|
asset: glmr,
|
|
6826
|
-
balance:
|
|
6885
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6827
6886
|
},
|
|
6828
6887
|
destinationFee: {
|
|
6829
|
-
balance:
|
|
6888
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6830
6889
|
}
|
|
6831
6890
|
},
|
|
6832
6891
|
destination: {
|
|
6833
6892
|
asset: pink,
|
|
6834
6893
|
chain: polkadotAssetHub,
|
|
6835
|
-
balance:
|
|
6894
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6836
6895
|
fee: {
|
|
6837
6896
|
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
6838
6897
|
isAssetReserveChain: true,
|
|
6839
6898
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
6840
6899
|
}),
|
|
6841
6900
|
asset: dot,
|
|
6842
|
-
balance:
|
|
6901
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6843
6902
|
},
|
|
6844
6903
|
min: AssetMinBuilder9().assets().asset()
|
|
6845
6904
|
},
|
|
@@ -6848,26 +6907,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6848
6907
|
{
|
|
6849
6908
|
source: {
|
|
6850
6909
|
asset: ded,
|
|
6851
|
-
balance:
|
|
6910
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6852
6911
|
fee: {
|
|
6853
6912
|
asset: glmr,
|
|
6854
|
-
balance:
|
|
6913
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6855
6914
|
},
|
|
6856
6915
|
destinationFee: {
|
|
6857
|
-
balance:
|
|
6916
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6858
6917
|
}
|
|
6859
6918
|
},
|
|
6860
6919
|
destination: {
|
|
6861
6920
|
asset: ded,
|
|
6862
6921
|
chain: polkadotAssetHub,
|
|
6863
|
-
balance:
|
|
6922
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6864
6923
|
fee: {
|
|
6865
6924
|
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
6866
6925
|
isAssetReserveChain: true,
|
|
6867
6926
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
6868
6927
|
}),
|
|
6869
6928
|
asset: dot,
|
|
6870
|
-
balance:
|
|
6929
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6871
6930
|
},
|
|
6872
6931
|
min: AssetMinBuilder9().assets().asset()
|
|
6873
6932
|
},
|
|
@@ -6876,26 +6935,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6876
6935
|
{
|
|
6877
6936
|
source: {
|
|
6878
6937
|
asset: stink,
|
|
6879
|
-
balance:
|
|
6938
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6880
6939
|
fee: {
|
|
6881
6940
|
asset: glmr,
|
|
6882
|
-
balance:
|
|
6941
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6883
6942
|
},
|
|
6884
6943
|
destinationFee: {
|
|
6885
|
-
balance:
|
|
6944
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6886
6945
|
}
|
|
6887
6946
|
},
|
|
6888
6947
|
destination: {
|
|
6889
6948
|
asset: stink,
|
|
6890
6949
|
chain: polkadotAssetHub,
|
|
6891
|
-
balance:
|
|
6950
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6892
6951
|
fee: {
|
|
6893
6952
|
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
6894
6953
|
isAssetReserveChain: true,
|
|
6895
6954
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
6896
6955
|
}),
|
|
6897
6956
|
asset: dot,
|
|
6898
|
-
balance:
|
|
6957
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6899
6958
|
},
|
|
6900
6959
|
min: AssetMinBuilder9().assets().asset()
|
|
6901
6960
|
},
|
|
@@ -6904,26 +6963,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6904
6963
|
{
|
|
6905
6964
|
source: {
|
|
6906
6965
|
asset: apillon,
|
|
6907
|
-
balance:
|
|
6966
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6908
6967
|
fee: {
|
|
6909
6968
|
asset: glmr,
|
|
6910
|
-
balance:
|
|
6969
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6911
6970
|
},
|
|
6912
6971
|
destinationFee: {
|
|
6913
|
-
balance:
|
|
6972
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6914
6973
|
}
|
|
6915
6974
|
},
|
|
6916
6975
|
destination: {
|
|
6917
6976
|
asset: apillon,
|
|
6918
6977
|
chain: polkadotAssetHub,
|
|
6919
|
-
balance:
|
|
6978
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6920
6979
|
fee: {
|
|
6921
6980
|
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
6922
6981
|
isAssetReserveChain: true,
|
|
6923
6982
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
6924
6983
|
}),
|
|
6925
6984
|
asset: dot,
|
|
6926
|
-
balance:
|
|
6985
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6927
6986
|
},
|
|
6928
6987
|
min: AssetMinBuilder9().assets().asset()
|
|
6929
6988
|
},
|
|
@@ -6932,19 +6991,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6932
6991
|
{
|
|
6933
6992
|
source: {
|
|
6934
6993
|
asset: hdx,
|
|
6935
|
-
balance:
|
|
6994
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6936
6995
|
fee: {
|
|
6937
6996
|
asset: glmr,
|
|
6938
|
-
balance:
|
|
6997
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6939
6998
|
},
|
|
6940
6999
|
destinationFee: {
|
|
6941
|
-
balance:
|
|
7000
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6942
7001
|
}
|
|
6943
7002
|
},
|
|
6944
7003
|
destination: {
|
|
6945
7004
|
asset: hdx,
|
|
6946
7005
|
chain: hydration,
|
|
6947
|
-
balance:
|
|
7006
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6948
7007
|
fee: {
|
|
6949
7008
|
amount: FeeBuilder25().xcmPaymentApi().fromGeneralIndex({ isAssetReserveChain: true }),
|
|
6950
7009
|
asset: hdx
|
|
@@ -6955,19 +7014,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6955
7014
|
{
|
|
6956
7015
|
source: {
|
|
6957
7016
|
asset: dai,
|
|
6958
|
-
balance:
|
|
7017
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6959
7018
|
fee: {
|
|
6960
7019
|
asset: glmr,
|
|
6961
|
-
balance:
|
|
7020
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6962
7021
|
},
|
|
6963
7022
|
destinationFee: {
|
|
6964
|
-
balance:
|
|
7023
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6965
7024
|
}
|
|
6966
7025
|
},
|
|
6967
7026
|
destination: {
|
|
6968
7027
|
asset: dai,
|
|
6969
7028
|
chain: hydration,
|
|
6970
|
-
balance:
|
|
7029
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6971
7030
|
fee: {
|
|
6972
7031
|
amount: FeeBuilder25().xcmPaymentApi().fromSourceAccountKey20({
|
|
6973
7032
|
isAssetReserveChain: false
|
|
@@ -6980,19 +7039,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6980
7039
|
{
|
|
6981
7040
|
source: {
|
|
6982
7041
|
asset: usdcwh,
|
|
6983
|
-
balance:
|
|
7042
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6984
7043
|
fee: {
|
|
6985
7044
|
asset: glmr,
|
|
6986
|
-
balance:
|
|
7045
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6987
7046
|
},
|
|
6988
7047
|
destinationFee: {
|
|
6989
|
-
balance:
|
|
7048
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6990
7049
|
}
|
|
6991
7050
|
},
|
|
6992
7051
|
destination: {
|
|
6993
7052
|
asset: usdcwh,
|
|
6994
7053
|
chain: hydration,
|
|
6995
|
-
balance:
|
|
7054
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6996
7055
|
fee: {
|
|
6997
7056
|
amount: FeeBuilder25().xcmPaymentApi().fromSourceAccountKey20({
|
|
6998
7057
|
isAssetReserveChain: false
|
|
@@ -7005,19 +7064,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7005
7064
|
{
|
|
7006
7065
|
source: {
|
|
7007
7066
|
asset: usdtwh,
|
|
7008
|
-
balance:
|
|
7067
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7009
7068
|
fee: {
|
|
7010
7069
|
asset: glmr,
|
|
7011
|
-
balance:
|
|
7070
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7012
7071
|
},
|
|
7013
7072
|
destinationFee: {
|
|
7014
|
-
balance:
|
|
7073
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7015
7074
|
}
|
|
7016
7075
|
},
|
|
7017
7076
|
destination: {
|
|
7018
7077
|
asset: usdtwh,
|
|
7019
7078
|
chain: hydration,
|
|
7020
|
-
balance:
|
|
7079
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7021
7080
|
fee: {
|
|
7022
7081
|
amount: FeeBuilder25().xcmPaymentApi().fromSourceAccountKey20({
|
|
7023
7082
|
isAssetReserveChain: false
|
|
@@ -7030,19 +7089,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7030
7089
|
{
|
|
7031
7090
|
source: {
|
|
7032
7091
|
asset: vastr,
|
|
7033
|
-
balance:
|
|
7092
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7034
7093
|
fee: {
|
|
7035
7094
|
asset: glmr,
|
|
7036
|
-
balance:
|
|
7095
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7037
7096
|
},
|
|
7038
7097
|
destinationFee: {
|
|
7039
|
-
balance:
|
|
7098
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7040
7099
|
}
|
|
7041
7100
|
},
|
|
7042
7101
|
destination: {
|
|
7043
7102
|
asset: vastr,
|
|
7044
7103
|
chain: bifrostPolkadot,
|
|
7045
|
-
balance:
|
|
7104
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7046
7105
|
fee: {
|
|
7047
7106
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7048
7107
|
isAssetReserveChain: false
|
|
@@ -7056,18 +7115,18 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7056
7115
|
{
|
|
7057
7116
|
source: {
|
|
7058
7117
|
asset: vdot,
|
|
7059
|
-
balance:
|
|
7118
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7060
7119
|
fee: {
|
|
7061
7120
|
asset: glmr,
|
|
7062
|
-
balance:
|
|
7121
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7063
7122
|
},
|
|
7064
7123
|
destinationFee: {
|
|
7065
|
-
balance:
|
|
7124
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7066
7125
|
}
|
|
7067
7126
|
},
|
|
7068
7127
|
destination: {
|
|
7069
7128
|
asset: vdot,
|
|
7070
|
-
balance:
|
|
7129
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7071
7130
|
chain: bifrostPolkadot,
|
|
7072
7131
|
fee: {
|
|
7073
7132
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
@@ -7082,19 +7141,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7082
7141
|
{
|
|
7083
7142
|
source: {
|
|
7084
7143
|
asset: vfil,
|
|
7085
|
-
balance:
|
|
7144
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7086
7145
|
fee: {
|
|
7087
7146
|
asset: glmr,
|
|
7088
|
-
balance:
|
|
7147
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7089
7148
|
},
|
|
7090
7149
|
destinationFee: {
|
|
7091
|
-
balance:
|
|
7150
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7092
7151
|
}
|
|
7093
7152
|
},
|
|
7094
7153
|
destination: {
|
|
7095
7154
|
asset: vfil,
|
|
7096
7155
|
chain: bifrostPolkadot,
|
|
7097
|
-
balance:
|
|
7156
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7098
7157
|
fee: {
|
|
7099
7158
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7100
7159
|
isAssetReserveChain: false
|
|
@@ -7108,19 +7167,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7108
7167
|
{
|
|
7109
7168
|
source: {
|
|
7110
7169
|
asset: vglmr,
|
|
7111
|
-
balance:
|
|
7170
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7112
7171
|
fee: {
|
|
7113
7172
|
asset: glmr,
|
|
7114
|
-
balance:
|
|
7173
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7115
7174
|
},
|
|
7116
7175
|
destinationFee: {
|
|
7117
|
-
balance:
|
|
7176
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7118
7177
|
}
|
|
7119
7178
|
},
|
|
7120
7179
|
destination: {
|
|
7121
7180
|
asset: vglmr,
|
|
7122
7181
|
chain: bifrostPolkadot,
|
|
7123
|
-
balance:
|
|
7182
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7124
7183
|
fee: {
|
|
7125
7184
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7126
7185
|
isAssetReserveChain: false
|
|
@@ -7134,19 +7193,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7134
7193
|
{
|
|
7135
7194
|
source: {
|
|
7136
7195
|
asset: vmanta,
|
|
7137
|
-
balance:
|
|
7196
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7138
7197
|
fee: {
|
|
7139
7198
|
asset: glmr,
|
|
7140
|
-
balance:
|
|
7199
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7141
7200
|
},
|
|
7142
7201
|
destinationFee: {
|
|
7143
|
-
balance:
|
|
7202
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7144
7203
|
}
|
|
7145
7204
|
},
|
|
7146
7205
|
destination: {
|
|
7147
7206
|
asset: vmanta,
|
|
7148
7207
|
chain: bifrostPolkadot,
|
|
7149
|
-
balance:
|
|
7208
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7150
7209
|
fee: {
|
|
7151
7210
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7152
7211
|
isAssetReserveChain: false
|
|
@@ -7160,19 +7219,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7160
7219
|
{
|
|
7161
7220
|
source: {
|
|
7162
7221
|
asset: wbtc,
|
|
7163
|
-
balance:
|
|
7222
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7164
7223
|
fee: {
|
|
7165
7224
|
asset: glmr,
|
|
7166
|
-
balance:
|
|
7225
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7167
7226
|
},
|
|
7168
7227
|
destinationFee: {
|
|
7169
|
-
balance:
|
|
7228
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7170
7229
|
}
|
|
7171
7230
|
},
|
|
7172
7231
|
destination: {
|
|
7173
7232
|
asset: wbtc,
|
|
7174
7233
|
chain: hydration,
|
|
7175
|
-
balance:
|
|
7234
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7176
7235
|
fee: {
|
|
7177
7236
|
amount: FeeBuilder25().xcmPaymentApi().fromSourceAccountKey20({
|
|
7178
7237
|
isAssetReserveChain: false
|
|
@@ -7185,19 +7244,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7185
7244
|
{
|
|
7186
7245
|
source: {
|
|
7187
7246
|
asset: weth,
|
|
7188
|
-
balance:
|
|
7247
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7189
7248
|
fee: {
|
|
7190
7249
|
asset: glmr,
|
|
7191
|
-
balance:
|
|
7250
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7192
7251
|
},
|
|
7193
7252
|
destinationFee: {
|
|
7194
|
-
balance:
|
|
7253
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7195
7254
|
}
|
|
7196
7255
|
},
|
|
7197
7256
|
destination: {
|
|
7198
7257
|
asset: weth,
|
|
7199
7258
|
chain: hydration,
|
|
7200
|
-
balance:
|
|
7259
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7201
7260
|
fee: {
|
|
7202
7261
|
amount: FeeBuilder25().xcmPaymentApi().fromSourceAccountKey20({
|
|
7203
7262
|
isAssetReserveChain: false
|
|
@@ -7210,19 +7269,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7210
7269
|
{
|
|
7211
7270
|
source: {
|
|
7212
7271
|
asset: fil,
|
|
7213
|
-
balance:
|
|
7272
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7214
7273
|
fee: {
|
|
7215
7274
|
asset: glmr,
|
|
7216
|
-
balance:
|
|
7275
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7217
7276
|
},
|
|
7218
7277
|
destinationFee: {
|
|
7219
|
-
balance:
|
|
7278
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7220
7279
|
}
|
|
7221
7280
|
},
|
|
7222
7281
|
destination: {
|
|
7223
7282
|
asset: fil,
|
|
7224
7283
|
chain: bifrostPolkadot,
|
|
7225
|
-
balance:
|
|
7284
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7226
7285
|
fee: {
|
|
7227
7286
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7228
7287
|
isAssetReserveChain: false
|
|
@@ -7236,19 +7295,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7236
7295
|
{
|
|
7237
7296
|
source: {
|
|
7238
7297
|
asset: ztg,
|
|
7239
|
-
balance:
|
|
7298
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7240
7299
|
fee: {
|
|
7241
7300
|
asset: glmr,
|
|
7242
|
-
balance:
|
|
7301
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7243
7302
|
},
|
|
7244
7303
|
destinationFee: {
|
|
7245
|
-
balance:
|
|
7304
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7246
7305
|
}
|
|
7247
7306
|
},
|
|
7248
7307
|
destination: {
|
|
7249
7308
|
asset: ztg,
|
|
7250
7309
|
chain: zeitgeist,
|
|
7251
|
-
balance:
|
|
7310
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7252
7311
|
fee: {
|
|
7253
7312
|
amount: 0.01,
|
|
7254
7313
|
asset: ztg
|
|
@@ -7259,19 +7318,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7259
7318
|
{
|
|
7260
7319
|
source: {
|
|
7261
7320
|
asset: usdcwh,
|
|
7262
|
-
balance:
|
|
7321
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7263
7322
|
fee: {
|
|
7264
7323
|
asset: glmr,
|
|
7265
|
-
balance:
|
|
7324
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7266
7325
|
},
|
|
7267
7326
|
destinationFee: {
|
|
7268
|
-
balance:
|
|
7327
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7269
7328
|
}
|
|
7270
7329
|
},
|
|
7271
7330
|
destination: {
|
|
7272
7331
|
asset: usdcwh,
|
|
7273
7332
|
chain: zeitgeist,
|
|
7274
|
-
balance:
|
|
7333
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7275
7334
|
fee: {
|
|
7276
7335
|
amount: 0.101,
|
|
7277
7336
|
asset: usdcwh
|
|
@@ -7279,45 +7338,22 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7279
7338
|
},
|
|
7280
7339
|
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
7281
7340
|
},
|
|
7282
|
-
{
|
|
7283
|
-
source: {
|
|
7284
|
-
asset: sub,
|
|
7285
|
-
balance: BalanceBuilder33().evm().erc20(),
|
|
7286
|
-
fee: {
|
|
7287
|
-
asset: glmr,
|
|
7288
|
-
balance: BalanceBuilder33().substrate().system().account()
|
|
7289
|
-
},
|
|
7290
|
-
destinationFee: {
|
|
7291
|
-
balance: BalanceBuilder33().evm().erc20()
|
|
7292
|
-
}
|
|
7293
|
-
},
|
|
7294
|
-
destination: {
|
|
7295
|
-
asset: sub,
|
|
7296
|
-
chain: subsocial,
|
|
7297
|
-
balance: BalanceBuilder33().substrate().system().account(),
|
|
7298
|
-
fee: {
|
|
7299
|
-
amount: 1,
|
|
7300
|
-
asset: sub
|
|
7301
|
-
}
|
|
7302
|
-
},
|
|
7303
|
-
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
7304
|
-
},
|
|
7305
7341
|
{
|
|
7306
7342
|
source: {
|
|
7307
7343
|
asset: bncs,
|
|
7308
|
-
balance:
|
|
7344
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7309
7345
|
fee: {
|
|
7310
7346
|
asset: glmr,
|
|
7311
|
-
balance:
|
|
7347
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7312
7348
|
},
|
|
7313
7349
|
destinationFee: {
|
|
7314
|
-
balance:
|
|
7350
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7315
7351
|
}
|
|
7316
7352
|
},
|
|
7317
7353
|
destination: {
|
|
7318
7354
|
asset: bncs,
|
|
7319
7355
|
chain: bifrostPolkadot,
|
|
7320
|
-
balance:
|
|
7356
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7321
7357
|
fee: {
|
|
7322
7358
|
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7323
7359
|
isAssetReserveChain: false
|
|
@@ -7331,19 +7367,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7331
7367
|
{
|
|
7332
7368
|
source: {
|
|
7333
7369
|
asset: glmr,
|
|
7334
|
-
balance:
|
|
7370
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7335
7371
|
fee: {
|
|
7336
7372
|
asset: glmr,
|
|
7337
|
-
balance:
|
|
7373
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7338
7374
|
},
|
|
7339
7375
|
destinationFee: {
|
|
7340
|
-
balance:
|
|
7376
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7341
7377
|
}
|
|
7342
7378
|
},
|
|
7343
7379
|
destination: {
|
|
7344
7380
|
asset: glmr,
|
|
7345
7381
|
chain: peaqChain,
|
|
7346
|
-
balance:
|
|
7382
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7347
7383
|
fee: {
|
|
7348
7384
|
amount: 1e-8,
|
|
7349
7385
|
asset: glmr
|
|
@@ -7355,19 +7391,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7355
7391
|
{
|
|
7356
7392
|
source: {
|
|
7357
7393
|
asset: usdcwh,
|
|
7358
|
-
balance:
|
|
7394
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7359
7395
|
fee: {
|
|
7360
7396
|
asset: glmr,
|
|
7361
|
-
balance:
|
|
7397
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7362
7398
|
},
|
|
7363
7399
|
destinationFee: {
|
|
7364
|
-
balance:
|
|
7400
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7365
7401
|
}
|
|
7366
7402
|
},
|
|
7367
7403
|
destination: {
|
|
7368
7404
|
asset: usdcwh,
|
|
7369
7405
|
chain: peaqChain,
|
|
7370
|
-
balance:
|
|
7406
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7371
7407
|
fee: {
|
|
7372
7408
|
amount: 1e-5,
|
|
7373
7409
|
asset: usdcwh
|
|
@@ -7379,19 +7415,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7379
7415
|
{
|
|
7380
7416
|
source: {
|
|
7381
7417
|
asset: usdtwh,
|
|
7382
|
-
balance:
|
|
7418
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7383
7419
|
fee: {
|
|
7384
7420
|
asset: glmr,
|
|
7385
|
-
balance:
|
|
7421
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7386
7422
|
},
|
|
7387
7423
|
destinationFee: {
|
|
7388
|
-
balance:
|
|
7424
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7389
7425
|
}
|
|
7390
7426
|
},
|
|
7391
7427
|
destination: {
|
|
7392
7428
|
asset: usdtwh,
|
|
7393
7429
|
chain: peaqChain,
|
|
7394
|
-
balance:
|
|
7430
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7395
7431
|
fee: {
|
|
7396
7432
|
amount: 1e-5,
|
|
7397
7433
|
asset: usdtwh
|
|
@@ -7403,19 +7439,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7403
7439
|
{
|
|
7404
7440
|
source: {
|
|
7405
7441
|
asset: dai,
|
|
7406
|
-
balance:
|
|
7442
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7407
7443
|
fee: {
|
|
7408
7444
|
asset: glmr,
|
|
7409
|
-
balance:
|
|
7445
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7410
7446
|
},
|
|
7411
7447
|
destinationFee: {
|
|
7412
|
-
balance:
|
|
7448
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7413
7449
|
}
|
|
7414
7450
|
},
|
|
7415
7451
|
destination: {
|
|
7416
7452
|
asset: dai,
|
|
7417
7453
|
chain: peaqChain,
|
|
7418
|
-
balance:
|
|
7454
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7419
7455
|
fee: {
|
|
7420
7456
|
amount: 1e-5,
|
|
7421
7457
|
asset: dai
|
|
@@ -7427,19 +7463,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7427
7463
|
{
|
|
7428
7464
|
source: {
|
|
7429
7465
|
asset: weth,
|
|
7430
|
-
balance:
|
|
7466
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7431
7467
|
fee: {
|
|
7432
7468
|
asset: glmr,
|
|
7433
|
-
balance:
|
|
7469
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7434
7470
|
},
|
|
7435
7471
|
destinationFee: {
|
|
7436
|
-
balance:
|
|
7472
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7437
7473
|
}
|
|
7438
7474
|
},
|
|
7439
7475
|
destination: {
|
|
7440
7476
|
asset: weth,
|
|
7441
7477
|
chain: peaqChain,
|
|
7442
|
-
balance:
|
|
7478
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7443
7479
|
fee: {
|
|
7444
7480
|
amount: 1e-6,
|
|
7445
7481
|
asset: weth
|
|
@@ -7451,19 +7487,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7451
7487
|
{
|
|
7452
7488
|
source: {
|
|
7453
7489
|
asset: wbtc,
|
|
7454
|
-
balance:
|
|
7490
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7455
7491
|
fee: {
|
|
7456
7492
|
asset: glmr,
|
|
7457
|
-
balance:
|
|
7493
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7458
7494
|
},
|
|
7459
7495
|
destinationFee: {
|
|
7460
|
-
balance:
|
|
7496
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7461
7497
|
}
|
|
7462
7498
|
},
|
|
7463
7499
|
destination: {
|
|
7464
7500
|
asset: wbtc,
|
|
7465
7501
|
chain: peaqChain,
|
|
7466
|
-
balance:
|
|
7502
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7467
7503
|
fee: {
|
|
7468
7504
|
amount: 1e-6,
|
|
7469
7505
|
asset: wbtc
|
|
@@ -7475,19 +7511,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7475
7511
|
{
|
|
7476
7512
|
source: {
|
|
7477
7513
|
asset: peaq,
|
|
7478
|
-
balance:
|
|
7514
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7479
7515
|
fee: {
|
|
7480
7516
|
asset: glmr,
|
|
7481
|
-
balance:
|
|
7517
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7482
7518
|
},
|
|
7483
7519
|
destinationFee: {
|
|
7484
|
-
balance:
|
|
7520
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7485
7521
|
}
|
|
7486
7522
|
},
|
|
7487
7523
|
destination: {
|
|
7488
7524
|
asset: peaq,
|
|
7489
7525
|
chain: peaqChain,
|
|
7490
|
-
balance:
|
|
7526
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7491
7527
|
fee: {
|
|
7492
7528
|
amount: 0.1,
|
|
7493
7529
|
asset: peaq
|
|
@@ -7498,19 +7534,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7498
7534
|
{
|
|
7499
7535
|
source: {
|
|
7500
7536
|
asset: glmr,
|
|
7501
|
-
balance:
|
|
7537
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7502
7538
|
fee: {
|
|
7503
7539
|
asset: glmr,
|
|
7504
|
-
balance:
|
|
7540
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7505
7541
|
},
|
|
7506
7542
|
destinationFee: {
|
|
7507
|
-
balance:
|
|
7543
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7508
7544
|
}
|
|
7509
7545
|
},
|
|
7510
7546
|
destination: {
|
|
7511
7547
|
asset: glmr,
|
|
7512
7548
|
chain: peaqEvm,
|
|
7513
|
-
balance:
|
|
7549
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7514
7550
|
fee: {
|
|
7515
7551
|
amount: 1e-8,
|
|
7516
7552
|
asset: glmr
|
|
@@ -7522,19 +7558,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7522
7558
|
{
|
|
7523
7559
|
source: {
|
|
7524
7560
|
asset: usdcwh,
|
|
7525
|
-
balance:
|
|
7561
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7526
7562
|
fee: {
|
|
7527
7563
|
asset: glmr,
|
|
7528
|
-
balance:
|
|
7564
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7529
7565
|
},
|
|
7530
7566
|
destinationFee: {
|
|
7531
|
-
balance:
|
|
7567
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7532
7568
|
}
|
|
7533
7569
|
},
|
|
7534
7570
|
destination: {
|
|
7535
7571
|
asset: usdcwh,
|
|
7536
7572
|
chain: peaqEvm,
|
|
7537
|
-
balance:
|
|
7573
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7538
7574
|
fee: {
|
|
7539
7575
|
amount: 1e-5,
|
|
7540
7576
|
asset: usdcwh
|
|
@@ -7546,19 +7582,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7546
7582
|
{
|
|
7547
7583
|
source: {
|
|
7548
7584
|
asset: usdtwh,
|
|
7549
|
-
balance:
|
|
7585
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7550
7586
|
fee: {
|
|
7551
7587
|
asset: glmr,
|
|
7552
|
-
balance:
|
|
7588
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7553
7589
|
},
|
|
7554
7590
|
destinationFee: {
|
|
7555
|
-
balance:
|
|
7591
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7556
7592
|
}
|
|
7557
7593
|
},
|
|
7558
7594
|
destination: {
|
|
7559
7595
|
asset: usdtwh,
|
|
7560
7596
|
chain: peaqEvm,
|
|
7561
|
-
balance:
|
|
7597
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7562
7598
|
fee: {
|
|
7563
7599
|
amount: 1e-5,
|
|
7564
7600
|
asset: usdtwh
|
|
@@ -7570,19 +7606,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7570
7606
|
{
|
|
7571
7607
|
source: {
|
|
7572
7608
|
asset: dai,
|
|
7573
|
-
balance:
|
|
7609
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7574
7610
|
fee: {
|
|
7575
7611
|
asset: glmr,
|
|
7576
|
-
balance:
|
|
7612
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7577
7613
|
},
|
|
7578
7614
|
destinationFee: {
|
|
7579
|
-
balance:
|
|
7615
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7580
7616
|
}
|
|
7581
7617
|
},
|
|
7582
7618
|
destination: {
|
|
7583
7619
|
asset: dai,
|
|
7584
7620
|
chain: peaqEvm,
|
|
7585
|
-
balance:
|
|
7621
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7586
7622
|
fee: {
|
|
7587
7623
|
amount: 1e-5,
|
|
7588
7624
|
asset: dai
|
|
@@ -7594,19 +7630,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7594
7630
|
{
|
|
7595
7631
|
source: {
|
|
7596
7632
|
asset: weth,
|
|
7597
|
-
balance:
|
|
7633
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7598
7634
|
fee: {
|
|
7599
7635
|
asset: glmr,
|
|
7600
|
-
balance:
|
|
7636
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7601
7637
|
},
|
|
7602
7638
|
destinationFee: {
|
|
7603
|
-
balance:
|
|
7639
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7604
7640
|
}
|
|
7605
7641
|
},
|
|
7606
7642
|
destination: {
|
|
7607
7643
|
asset: weth,
|
|
7608
7644
|
chain: peaqEvm,
|
|
7609
|
-
balance:
|
|
7645
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7610
7646
|
fee: {
|
|
7611
7647
|
amount: 1e-6,
|
|
7612
7648
|
asset: weth
|
|
@@ -7618,19 +7654,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7618
7654
|
{
|
|
7619
7655
|
source: {
|
|
7620
7656
|
asset: wbtc,
|
|
7621
|
-
balance:
|
|
7657
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7622
7658
|
fee: {
|
|
7623
7659
|
asset: glmr,
|
|
7624
|
-
balance:
|
|
7660
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7625
7661
|
},
|
|
7626
7662
|
destinationFee: {
|
|
7627
|
-
balance:
|
|
7663
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7628
7664
|
}
|
|
7629
7665
|
},
|
|
7630
7666
|
destination: {
|
|
7631
7667
|
asset: wbtc,
|
|
7632
7668
|
chain: peaqEvm,
|
|
7633
|
-
balance:
|
|
7669
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7634
7670
|
fee: {
|
|
7635
7671
|
amount: 1e-6,
|
|
7636
7672
|
asset: wbtc
|
|
@@ -7642,26 +7678,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7642
7678
|
{
|
|
7643
7679
|
source: {
|
|
7644
7680
|
asset: wifd,
|
|
7645
|
-
balance:
|
|
7681
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7646
7682
|
fee: {
|
|
7647
7683
|
asset: glmr,
|
|
7648
|
-
balance:
|
|
7684
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7649
7685
|
},
|
|
7650
7686
|
destinationFee: {
|
|
7651
|
-
balance:
|
|
7687
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7652
7688
|
}
|
|
7653
7689
|
},
|
|
7654
7690
|
destination: {
|
|
7655
7691
|
asset: wifd,
|
|
7656
7692
|
chain: polkadotAssetHub,
|
|
7657
|
-
balance:
|
|
7693
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7658
7694
|
fee: {
|
|
7659
7695
|
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
7660
7696
|
isAssetReserveChain: true,
|
|
7661
7697
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
7662
7698
|
}),
|
|
7663
7699
|
asset: dot,
|
|
7664
|
-
balance:
|
|
7700
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7665
7701
|
},
|
|
7666
7702
|
min: AssetMinBuilder9().assets().asset()
|
|
7667
7703
|
},
|
|
@@ -7670,23 +7706,23 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7670
7706
|
{
|
|
7671
7707
|
source: {
|
|
7672
7708
|
asset: axlusdc,
|
|
7673
|
-
balance:
|
|
7709
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7674
7710
|
fee: {
|
|
7675
7711
|
asset: glmr,
|
|
7676
|
-
balance:
|
|
7712
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7677
7713
|
},
|
|
7678
7714
|
destinationFee: {
|
|
7679
|
-
balance:
|
|
7715
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7680
7716
|
}
|
|
7681
7717
|
},
|
|
7682
7718
|
destination: {
|
|
7683
7719
|
asset: axlusdc,
|
|
7684
7720
|
chain: pendulum,
|
|
7685
|
-
balance:
|
|
7721
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7686
7722
|
fee: {
|
|
7687
7723
|
amount: 0.02,
|
|
7688
7724
|
asset: axlusdc,
|
|
7689
|
-
balance:
|
|
7725
|
+
balance: BalanceBuilder34().substrate().tokens().accounts()
|
|
7690
7726
|
}
|
|
7691
7727
|
},
|
|
7692
7728
|
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
@@ -7694,25 +7730,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7694
7730
|
{
|
|
7695
7731
|
source: {
|
|
7696
7732
|
asset: wbtce,
|
|
7697
|
-
balance:
|
|
7733
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7698
7734
|
fee: {
|
|
7699
7735
|
asset: glmr,
|
|
7700
|
-
balance:
|
|
7736
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7701
7737
|
},
|
|
7702
7738
|
destinationFee: {
|
|
7703
|
-
balance:
|
|
7739
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7704
7740
|
}
|
|
7705
7741
|
},
|
|
7706
7742
|
destination: {
|
|
7707
7743
|
asset: wbtce,
|
|
7708
7744
|
chain: polkadotAssetHub,
|
|
7709
|
-
balance:
|
|
7745
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7710
7746
|
fee: {
|
|
7711
7747
|
amount: FeeBuilder25().xcmPaymentApi().fromGlobalConsensus({
|
|
7712
7748
|
isAssetReserveChain: true
|
|
7713
7749
|
}),
|
|
7714
7750
|
asset: wbtce,
|
|
7715
|
-
balance:
|
|
7751
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7716
7752
|
},
|
|
7717
7753
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7718
7754
|
},
|
|
@@ -7721,25 +7757,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7721
7757
|
{
|
|
7722
7758
|
source: {
|
|
7723
7759
|
asset: wethe,
|
|
7724
|
-
balance:
|
|
7760
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7725
7761
|
fee: {
|
|
7726
7762
|
asset: glmr,
|
|
7727
|
-
balance:
|
|
7763
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7728
7764
|
},
|
|
7729
7765
|
destinationFee: {
|
|
7730
|
-
balance:
|
|
7766
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7731
7767
|
}
|
|
7732
7768
|
},
|
|
7733
7769
|
destination: {
|
|
7734
7770
|
asset: wethe,
|
|
7735
7771
|
chain: polkadotAssetHub,
|
|
7736
|
-
balance:
|
|
7772
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7737
7773
|
fee: {
|
|
7738
7774
|
amount: FeeBuilder25().xcmPaymentApi().fromGlobalConsensus({
|
|
7739
7775
|
isAssetReserveChain: true
|
|
7740
7776
|
}),
|
|
7741
7777
|
asset: wethe,
|
|
7742
|
-
balance:
|
|
7778
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7743
7779
|
},
|
|
7744
7780
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7745
7781
|
},
|
|
@@ -7748,25 +7784,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7748
7784
|
{
|
|
7749
7785
|
source: {
|
|
7750
7786
|
asset: wstethe,
|
|
7751
|
-
balance:
|
|
7787
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7752
7788
|
fee: {
|
|
7753
7789
|
asset: glmr,
|
|
7754
|
-
balance:
|
|
7790
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7755
7791
|
},
|
|
7756
7792
|
destinationFee: {
|
|
7757
|
-
balance:
|
|
7793
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7758
7794
|
}
|
|
7759
7795
|
},
|
|
7760
7796
|
destination: {
|
|
7761
7797
|
asset: wstethe,
|
|
7762
7798
|
chain: polkadotAssetHub,
|
|
7763
|
-
balance:
|
|
7799
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7764
7800
|
fee: {
|
|
7765
7801
|
amount: FeeBuilder25().xcmPaymentApi().fromGlobalConsensus({
|
|
7766
7802
|
isAssetReserveChain: true
|
|
7767
7803
|
}),
|
|
7768
7804
|
asset: wstethe,
|
|
7769
|
-
balance:
|
|
7805
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7770
7806
|
},
|
|
7771
7807
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7772
7808
|
},
|
|
@@ -7775,16 +7811,16 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7775
7811
|
{
|
|
7776
7812
|
source: {
|
|
7777
7813
|
asset: laos,
|
|
7778
|
-
balance:
|
|
7814
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7779
7815
|
fee: {
|
|
7780
7816
|
asset: glmr,
|
|
7781
|
-
balance:
|
|
7817
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7782
7818
|
}
|
|
7783
7819
|
},
|
|
7784
7820
|
destination: {
|
|
7785
7821
|
asset: laos,
|
|
7786
7822
|
chain: laosMainnet,
|
|
7787
|
-
balance:
|
|
7823
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7788
7824
|
fee: {
|
|
7789
7825
|
amount: FeeBuilder25().xcmPaymentApi().fromHere({
|
|
7790
7826
|
isAssetReserveChain: true,
|
|
@@ -7798,16 +7834,16 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7798
7834
|
{
|
|
7799
7835
|
source: {
|
|
7800
7836
|
asset: eurc,
|
|
7801
|
-
balance:
|
|
7837
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7802
7838
|
fee: {
|
|
7803
7839
|
asset: glmr,
|
|
7804
|
-
balance:
|
|
7840
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7805
7841
|
}
|
|
7806
7842
|
},
|
|
7807
7843
|
destination: {
|
|
7808
7844
|
asset: eurc,
|
|
7809
7845
|
chain: pendulum,
|
|
7810
|
-
balance:
|
|
7846
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7811
7847
|
fee: {
|
|
7812
7848
|
amount: 0.1,
|
|
7813
7849
|
asset: eurc
|
|
@@ -7822,7 +7858,7 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7822
7858
|
// src/xcm-configs/moonriver.ts
|
|
7823
7859
|
import {
|
|
7824
7860
|
AssetMinBuilder as AssetMinBuilder10,
|
|
7825
|
-
BalanceBuilder as
|
|
7861
|
+
BalanceBuilder as BalanceBuilder35,
|
|
7826
7862
|
ContractBuilder as ContractBuilder3,
|
|
7827
7863
|
FeeBuilder as FeeBuilder26
|
|
7828
7864
|
} from "@moonbeam-network/xcm-builder";
|
|
@@ -7832,19 +7868,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7832
7868
|
{
|
|
7833
7869
|
source: {
|
|
7834
7870
|
asset: movr,
|
|
7835
|
-
balance:
|
|
7871
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7836
7872
|
fee: {
|
|
7837
7873
|
asset: movr,
|
|
7838
|
-
balance:
|
|
7874
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7839
7875
|
},
|
|
7840
7876
|
destinationFee: {
|
|
7841
|
-
balance:
|
|
7877
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7842
7878
|
}
|
|
7843
7879
|
},
|
|
7844
7880
|
destination: {
|
|
7845
7881
|
asset: movr,
|
|
7846
7882
|
chain: bifrostKusama,
|
|
7847
|
-
balance:
|
|
7883
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
7848
7884
|
fee: {
|
|
7849
7885
|
amount: FeeBuilder26().xcmPaymentApi().fromSourcePalletInstance({
|
|
7850
7886
|
isAssetReserveChain: false
|
|
@@ -7858,19 +7894,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7858
7894
|
{
|
|
7859
7895
|
source: {
|
|
7860
7896
|
asset: movr,
|
|
7861
|
-
balance:
|
|
7897
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7862
7898
|
fee: {
|
|
7863
7899
|
asset: movr,
|
|
7864
|
-
balance:
|
|
7900
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7865
7901
|
},
|
|
7866
7902
|
destinationFee: {
|
|
7867
|
-
balance:
|
|
7903
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7868
7904
|
}
|
|
7869
7905
|
},
|
|
7870
7906
|
destination: {
|
|
7871
7907
|
asset: movr,
|
|
7872
7908
|
chain: crustShadow,
|
|
7873
|
-
balance:
|
|
7909
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
7874
7910
|
fee: {
|
|
7875
7911
|
amount: 2e-4,
|
|
7876
7912
|
asset: movr
|
|
@@ -7881,19 +7917,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7881
7917
|
{
|
|
7882
7918
|
source: {
|
|
7883
7919
|
asset: movr,
|
|
7884
|
-
balance:
|
|
7920
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7885
7921
|
fee: {
|
|
7886
7922
|
asset: movr,
|
|
7887
|
-
balance:
|
|
7923
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7888
7924
|
},
|
|
7889
7925
|
destinationFee: {
|
|
7890
|
-
balance:
|
|
7926
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7891
7927
|
}
|
|
7892
7928
|
},
|
|
7893
7929
|
destination: {
|
|
7894
7930
|
asset: movr,
|
|
7895
7931
|
chain: karura,
|
|
7896
|
-
balance:
|
|
7932
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
7897
7933
|
fee: {
|
|
7898
7934
|
amount: 1e-3,
|
|
7899
7935
|
asset: movr
|
|
@@ -7905,19 +7941,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7905
7941
|
{
|
|
7906
7942
|
source: {
|
|
7907
7943
|
asset: movr,
|
|
7908
|
-
balance:
|
|
7944
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7909
7945
|
fee: {
|
|
7910
7946
|
asset: movr,
|
|
7911
|
-
balance:
|
|
7947
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7912
7948
|
},
|
|
7913
7949
|
destinationFee: {
|
|
7914
|
-
balance:
|
|
7950
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7915
7951
|
}
|
|
7916
7952
|
},
|
|
7917
7953
|
destination: {
|
|
7918
7954
|
asset: movr,
|
|
7919
7955
|
chain: mangataKusama,
|
|
7920
|
-
balance:
|
|
7956
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
7921
7957
|
fee: {
|
|
7922
7958
|
amount: 2e-3,
|
|
7923
7959
|
asset: movr
|
|
@@ -7928,19 +7964,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7928
7964
|
{
|
|
7929
7965
|
source: {
|
|
7930
7966
|
asset: movr,
|
|
7931
|
-
balance:
|
|
7967
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7932
7968
|
fee: {
|
|
7933
7969
|
asset: movr,
|
|
7934
|
-
balance:
|
|
7970
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7935
7971
|
},
|
|
7936
7972
|
destinationFee: {
|
|
7937
|
-
balance:
|
|
7973
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7938
7974
|
}
|
|
7939
7975
|
},
|
|
7940
7976
|
destination: {
|
|
7941
7977
|
asset: movr,
|
|
7942
7978
|
chain: shiden,
|
|
7943
|
-
balance:
|
|
7979
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
7944
7980
|
fee: {
|
|
7945
7981
|
amount: FeeBuilder26().xcmPaymentApi().fromSourcePalletInstance({
|
|
7946
7982
|
isAssetReserveChain: false
|
|
@@ -7972,19 +8008,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7972
8008
|
{
|
|
7973
8009
|
source: {
|
|
7974
8010
|
asset: bnc,
|
|
7975
|
-
balance:
|
|
8011
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
7976
8012
|
fee: {
|
|
7977
8013
|
asset: movr,
|
|
7978
|
-
balance:
|
|
8014
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7979
8015
|
},
|
|
7980
8016
|
destinationFee: {
|
|
7981
|
-
balance:
|
|
8017
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
7982
8018
|
}
|
|
7983
8019
|
},
|
|
7984
8020
|
destination: {
|
|
7985
8021
|
asset: bnc,
|
|
7986
8022
|
chain: bifrostKusama,
|
|
7987
|
-
balance:
|
|
8023
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7988
8024
|
fee: {
|
|
7989
8025
|
amount: FeeBuilder26().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7990
8026
|
isAssetReserveChain: true
|
|
@@ -7997,19 +8033,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7997
8033
|
{
|
|
7998
8034
|
source: {
|
|
7999
8035
|
asset: crab,
|
|
8000
|
-
balance:
|
|
8036
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8001
8037
|
fee: {
|
|
8002
8038
|
asset: movr,
|
|
8003
|
-
balance:
|
|
8039
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8004
8040
|
},
|
|
8005
8041
|
destinationFee: {
|
|
8006
|
-
balance:
|
|
8042
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8007
8043
|
}
|
|
8008
8044
|
},
|
|
8009
8045
|
destination: {
|
|
8010
8046
|
asset: crab,
|
|
8011
8047
|
chain: darwiniaCrab,
|
|
8012
|
-
balance:
|
|
8048
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8013
8049
|
fee: {
|
|
8014
8050
|
amount: 0.1,
|
|
8015
8051
|
asset: crab
|
|
@@ -8020,19 +8056,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8020
8056
|
{
|
|
8021
8057
|
source: {
|
|
8022
8058
|
asset: csm,
|
|
8023
|
-
balance:
|
|
8059
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8024
8060
|
fee: {
|
|
8025
8061
|
asset: movr,
|
|
8026
|
-
balance:
|
|
8062
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8027
8063
|
},
|
|
8028
8064
|
destinationFee: {
|
|
8029
|
-
balance:
|
|
8065
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8030
8066
|
}
|
|
8031
8067
|
},
|
|
8032
8068
|
destination: {
|
|
8033
8069
|
asset: csm,
|
|
8034
8070
|
chain: crustShadow,
|
|
8035
|
-
balance:
|
|
8071
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8036
8072
|
fee: {
|
|
8037
8073
|
amount: 4e-3,
|
|
8038
8074
|
asset: csm
|
|
@@ -8043,19 +8079,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8043
8079
|
{
|
|
8044
8080
|
source: {
|
|
8045
8081
|
asset: kar,
|
|
8046
|
-
balance:
|
|
8082
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8047
8083
|
fee: {
|
|
8048
8084
|
asset: movr,
|
|
8049
|
-
balance:
|
|
8085
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8050
8086
|
},
|
|
8051
8087
|
destinationFee: {
|
|
8052
|
-
balance:
|
|
8088
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8053
8089
|
}
|
|
8054
8090
|
},
|
|
8055
8091
|
destination: {
|
|
8056
8092
|
asset: kar,
|
|
8057
8093
|
chain: karura,
|
|
8058
|
-
balance:
|
|
8094
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8059
8095
|
fee: {
|
|
8060
8096
|
amount: 0.032,
|
|
8061
8097
|
asset: kar
|
|
@@ -8066,19 +8102,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8066
8102
|
{
|
|
8067
8103
|
source: {
|
|
8068
8104
|
asset: aseed,
|
|
8069
|
-
balance:
|
|
8105
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8070
8106
|
fee: {
|
|
8071
8107
|
asset: movr,
|
|
8072
|
-
balance:
|
|
8108
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8073
8109
|
},
|
|
8074
8110
|
destinationFee: {
|
|
8075
|
-
balance:
|
|
8111
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8076
8112
|
}
|
|
8077
8113
|
},
|
|
8078
8114
|
destination: {
|
|
8079
8115
|
asset: aseed,
|
|
8080
8116
|
chain: karura,
|
|
8081
|
-
balance:
|
|
8117
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8082
8118
|
fee: {
|
|
8083
8119
|
amount: 0.256,
|
|
8084
8120
|
asset: aseed
|
|
@@ -8090,19 +8126,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8090
8126
|
{
|
|
8091
8127
|
source: {
|
|
8092
8128
|
asset: kbtc,
|
|
8093
|
-
balance:
|
|
8129
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8094
8130
|
fee: {
|
|
8095
8131
|
asset: movr,
|
|
8096
|
-
balance:
|
|
8132
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8097
8133
|
},
|
|
8098
8134
|
destinationFee: {
|
|
8099
|
-
balance:
|
|
8135
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8100
8136
|
}
|
|
8101
8137
|
},
|
|
8102
8138
|
destination: {
|
|
8103
8139
|
asset: kbtc,
|
|
8104
8140
|
chain: kintsugi,
|
|
8105
|
-
balance:
|
|
8141
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8106
8142
|
fee: {
|
|
8107
8143
|
amount: 11e-7,
|
|
8108
8144
|
asset: kbtc
|
|
@@ -8113,19 +8149,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8113
8149
|
{
|
|
8114
8150
|
source: {
|
|
8115
8151
|
asset: kint,
|
|
8116
|
-
balance:
|
|
8152
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8117
8153
|
fee: {
|
|
8118
8154
|
asset: movr,
|
|
8119
|
-
balance:
|
|
8155
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8120
8156
|
},
|
|
8121
8157
|
destinationFee: {
|
|
8122
|
-
balance:
|
|
8158
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8123
8159
|
}
|
|
8124
8160
|
},
|
|
8125
8161
|
destination: {
|
|
8126
8162
|
asset: kint,
|
|
8127
8163
|
chain: kintsugi,
|
|
8128
|
-
balance:
|
|
8164
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8129
8165
|
fee: {
|
|
8130
8166
|
amount: 84e-5,
|
|
8131
8167
|
asset: kint
|
|
@@ -8136,19 +8172,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8136
8172
|
{
|
|
8137
8173
|
source: {
|
|
8138
8174
|
asset: ksm,
|
|
8139
|
-
balance:
|
|
8175
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8140
8176
|
fee: {
|
|
8141
8177
|
asset: movr,
|
|
8142
|
-
balance:
|
|
8178
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8143
8179
|
},
|
|
8144
8180
|
destinationFee: {
|
|
8145
|
-
balance:
|
|
8181
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8146
8182
|
}
|
|
8147
8183
|
},
|
|
8148
8184
|
destination: {
|
|
8149
8185
|
asset: ksm,
|
|
8150
8186
|
chain: kusama,
|
|
8151
|
-
balance:
|
|
8187
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8152
8188
|
fee: {
|
|
8153
8189
|
amount: FeeBuilder26().xcmPaymentApi().fromHere({
|
|
8154
8190
|
isAssetReserveChain: true,
|
|
@@ -8162,19 +8198,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8162
8198
|
{
|
|
8163
8199
|
source: {
|
|
8164
8200
|
asset: mgx,
|
|
8165
|
-
balance:
|
|
8201
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8166
8202
|
fee: {
|
|
8167
8203
|
asset: movr,
|
|
8168
|
-
balance:
|
|
8204
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8169
8205
|
},
|
|
8170
8206
|
destinationFee: {
|
|
8171
|
-
balance:
|
|
8207
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8172
8208
|
}
|
|
8173
8209
|
},
|
|
8174
8210
|
destination: {
|
|
8175
8211
|
asset: mgx,
|
|
8176
8212
|
chain: mangataKusama,
|
|
8177
|
-
balance:
|
|
8213
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8178
8214
|
fee: {
|
|
8179
8215
|
amount: 5.5,
|
|
8180
8216
|
asset: mgx
|
|
@@ -8185,19 +8221,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8185
8221
|
{
|
|
8186
8222
|
source: {
|
|
8187
8223
|
asset: rmrk,
|
|
8188
|
-
balance:
|
|
8224
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8189
8225
|
fee: {
|
|
8190
8226
|
asset: movr,
|
|
8191
|
-
balance:
|
|
8227
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8192
8228
|
},
|
|
8193
8229
|
destinationFee: {
|
|
8194
|
-
balance:
|
|
8230
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8195
8231
|
}
|
|
8196
8232
|
},
|
|
8197
8233
|
destination: {
|
|
8198
8234
|
asset: rmrk,
|
|
8199
8235
|
chain: kusamaAssetHub,
|
|
8200
|
-
balance:
|
|
8236
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8201
8237
|
fee: {
|
|
8202
8238
|
// RMRK is not supported by XCM Payment API in Kusama yet
|
|
8203
8239
|
// amount: FeeBuilder()
|
|
@@ -8215,19 +8251,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8215
8251
|
{
|
|
8216
8252
|
source: {
|
|
8217
8253
|
asset: sdn,
|
|
8218
|
-
balance:
|
|
8254
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8219
8255
|
fee: {
|
|
8220
8256
|
asset: movr,
|
|
8221
|
-
balance:
|
|
8257
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8222
8258
|
},
|
|
8223
8259
|
destinationFee: {
|
|
8224
|
-
balance:
|
|
8260
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8225
8261
|
}
|
|
8226
8262
|
},
|
|
8227
8263
|
destination: {
|
|
8228
8264
|
asset: sdn,
|
|
8229
8265
|
chain: shiden,
|
|
8230
|
-
balance:
|
|
8266
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8231
8267
|
fee: {
|
|
8232
8268
|
amount: FeeBuilder26().xcmPaymentApi().fromHere({
|
|
8233
8269
|
isAssetReserveChain: true,
|
|
@@ -8241,19 +8277,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8241
8277
|
{
|
|
8242
8278
|
source: {
|
|
8243
8279
|
asset: teer,
|
|
8244
|
-
balance:
|
|
8280
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8245
8281
|
fee: {
|
|
8246
8282
|
asset: movr,
|
|
8247
|
-
balance:
|
|
8283
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8248
8284
|
},
|
|
8249
8285
|
destinationFee: {
|
|
8250
|
-
balance:
|
|
8286
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8251
8287
|
}
|
|
8252
8288
|
},
|
|
8253
8289
|
destination: {
|
|
8254
8290
|
asset: teer,
|
|
8255
8291
|
chain: integritee,
|
|
8256
|
-
balance:
|
|
8292
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8257
8293
|
fee: {
|
|
8258
8294
|
amount: 4e-3,
|
|
8259
8295
|
asset: teer
|
|
@@ -8287,19 +8323,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8287
8323
|
{
|
|
8288
8324
|
source: {
|
|
8289
8325
|
asset: usdt,
|
|
8290
|
-
balance:
|
|
8326
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8291
8327
|
fee: {
|
|
8292
8328
|
asset: movr,
|
|
8293
|
-
balance:
|
|
8329
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8294
8330
|
},
|
|
8295
8331
|
destinationFee: {
|
|
8296
|
-
balance:
|
|
8332
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8297
8333
|
}
|
|
8298
8334
|
},
|
|
8299
8335
|
destination: {
|
|
8300
8336
|
asset: usdt,
|
|
8301
8337
|
chain: kusamaAssetHub,
|
|
8302
|
-
balance:
|
|
8338
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8303
8339
|
fee: {
|
|
8304
8340
|
amount: FeeBuilder26().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
8305
8341
|
isAssetReserveChain: true
|
|
@@ -8313,19 +8349,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8313
8349
|
{
|
|
8314
8350
|
source: {
|
|
8315
8351
|
asset: xrt,
|
|
8316
|
-
balance:
|
|
8352
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8317
8353
|
fee: {
|
|
8318
8354
|
asset: movr,
|
|
8319
|
-
balance:
|
|
8355
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8320
8356
|
},
|
|
8321
8357
|
destinationFee: {
|
|
8322
|
-
balance:
|
|
8358
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8323
8359
|
}
|
|
8324
8360
|
},
|
|
8325
8361
|
destination: {
|
|
8326
8362
|
asset: xrt,
|
|
8327
8363
|
chain: robonomics,
|
|
8328
|
-
balance:
|
|
8364
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8329
8365
|
fee: {
|
|
8330
8366
|
amount: 32e-6,
|
|
8331
8367
|
asset: xrt
|
|
@@ -8336,19 +8372,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8336
8372
|
{
|
|
8337
8373
|
source: {
|
|
8338
8374
|
asset: vbnc,
|
|
8339
|
-
balance:
|
|
8375
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8340
8376
|
fee: {
|
|
8341
8377
|
asset: movr,
|
|
8342
|
-
balance:
|
|
8378
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8343
8379
|
},
|
|
8344
8380
|
destinationFee: {
|
|
8345
|
-
balance:
|
|
8381
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8346
8382
|
}
|
|
8347
8383
|
},
|
|
8348
8384
|
destination: {
|
|
8349
8385
|
asset: vbnc,
|
|
8350
8386
|
chain: bifrostKusama,
|
|
8351
|
-
balance:
|
|
8387
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8352
8388
|
fee: {
|
|
8353
8389
|
amount: FeeBuilder26().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8354
8390
|
isAssetReserveChain: false
|
|
@@ -8362,19 +8398,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8362
8398
|
{
|
|
8363
8399
|
source: {
|
|
8364
8400
|
asset: vksm,
|
|
8365
|
-
balance:
|
|
8401
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8366
8402
|
fee: {
|
|
8367
8403
|
asset: movr,
|
|
8368
|
-
balance:
|
|
8404
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8369
8405
|
},
|
|
8370
8406
|
destinationFee: {
|
|
8371
|
-
balance:
|
|
8407
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8372
8408
|
}
|
|
8373
8409
|
},
|
|
8374
8410
|
destination: {
|
|
8375
8411
|
asset: vksm,
|
|
8376
8412
|
chain: bifrostKusama,
|
|
8377
|
-
balance:
|
|
8413
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8378
8414
|
fee: {
|
|
8379
8415
|
amount: FeeBuilder26().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8380
8416
|
isAssetReserveChain: false
|
|
@@ -8388,19 +8424,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8388
8424
|
{
|
|
8389
8425
|
source: {
|
|
8390
8426
|
asset: vmovr,
|
|
8391
|
-
balance:
|
|
8427
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8392
8428
|
fee: {
|
|
8393
8429
|
asset: movr,
|
|
8394
|
-
balance:
|
|
8430
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8395
8431
|
},
|
|
8396
8432
|
destinationFee: {
|
|
8397
|
-
balance:
|
|
8433
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8398
8434
|
}
|
|
8399
8435
|
},
|
|
8400
8436
|
destination: {
|
|
8401
8437
|
asset: vmovr,
|
|
8402
8438
|
chain: bifrostKusama,
|
|
8403
|
-
balance:
|
|
8439
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8404
8440
|
fee: {
|
|
8405
8441
|
amount: FeeBuilder26().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8406
8442
|
isAssetReserveChain: false
|
|
@@ -8416,8 +8452,8 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8416
8452
|
|
|
8417
8453
|
// src/xcm-configs/neuroweb.ts
|
|
8418
8454
|
import {
|
|
8419
|
-
BalanceBuilder as
|
|
8420
|
-
ExtrinsicBuilder as
|
|
8455
|
+
BalanceBuilder as BalanceBuilder36,
|
|
8456
|
+
ExtrinsicBuilder as ExtrinsicBuilder25,
|
|
8421
8457
|
FeeBuilder as FeeBuilder27
|
|
8422
8458
|
} from "@moonbeam-network/xcm-builder";
|
|
8423
8459
|
var neurowebRoutes = new ChainRoutes({
|
|
@@ -8426,33 +8462,33 @@ var neurowebRoutes = new ChainRoutes({
|
|
|
8426
8462
|
{
|
|
8427
8463
|
source: {
|
|
8428
8464
|
asset: neuro,
|
|
8429
|
-
balance:
|
|
8465
|
+
balance: BalanceBuilder36().substrate().system().account(),
|
|
8430
8466
|
fee: {
|
|
8431
8467
|
asset: neuro,
|
|
8432
|
-
balance:
|
|
8468
|
+
balance: BalanceBuilder36().substrate().system().account()
|
|
8433
8469
|
},
|
|
8434
8470
|
destinationFee: {
|
|
8435
|
-
balance:
|
|
8471
|
+
balance: BalanceBuilder36().substrate().system().account()
|
|
8436
8472
|
}
|
|
8437
8473
|
},
|
|
8438
8474
|
destination: {
|
|
8439
8475
|
asset: neuro,
|
|
8440
8476
|
chain: moonbeam,
|
|
8441
|
-
balance:
|
|
8477
|
+
balance: BalanceBuilder36().evm().erc20(),
|
|
8442
8478
|
fee: {
|
|
8443
8479
|
amount: FeeBuilder27().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8444
8480
|
asset: neuro
|
|
8445
8481
|
}
|
|
8446
8482
|
},
|
|
8447
|
-
extrinsic:
|
|
8483
|
+
extrinsic: ExtrinsicBuilder25().polkadotXcm().limitedReserveTransferAssets().X1()
|
|
8448
8484
|
}
|
|
8449
8485
|
]
|
|
8450
8486
|
});
|
|
8451
8487
|
|
|
8452
8488
|
// src/xcm-configs/originTrailAlphanet.ts
|
|
8453
8489
|
import {
|
|
8454
|
-
BalanceBuilder as
|
|
8455
|
-
ExtrinsicBuilder as
|
|
8490
|
+
BalanceBuilder as BalanceBuilder37,
|
|
8491
|
+
ExtrinsicBuilder as ExtrinsicBuilder26,
|
|
8456
8492
|
FeeBuilder as FeeBuilder28
|
|
8457
8493
|
} from "@moonbeam-network/xcm-builder";
|
|
8458
8494
|
var originTrailAlphanetRoutes = new ChainRoutes({
|
|
@@ -8461,25 +8497,25 @@ var originTrailAlphanetRoutes = new ChainRoutes({
|
|
|
8461
8497
|
{
|
|
8462
8498
|
source: {
|
|
8463
8499
|
asset: otp,
|
|
8464
|
-
balance:
|
|
8500
|
+
balance: BalanceBuilder37().substrate().system().account(),
|
|
8465
8501
|
fee: {
|
|
8466
8502
|
asset: otp,
|
|
8467
|
-
balance:
|
|
8503
|
+
balance: BalanceBuilder37().substrate().system().account()
|
|
8468
8504
|
},
|
|
8469
8505
|
destinationFee: {
|
|
8470
|
-
balance:
|
|
8506
|
+
balance: BalanceBuilder37().substrate().system().account()
|
|
8471
8507
|
}
|
|
8472
8508
|
},
|
|
8473
8509
|
destination: {
|
|
8474
8510
|
asset: otp,
|
|
8475
8511
|
chain: moonbaseAlpha,
|
|
8476
|
-
balance:
|
|
8512
|
+
balance: BalanceBuilder37().evm().erc20(),
|
|
8477
8513
|
fee: {
|
|
8478
8514
|
amount: FeeBuilder28().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8479
8515
|
asset: otp
|
|
8480
8516
|
}
|
|
8481
8517
|
},
|
|
8482
|
-
extrinsic:
|
|
8518
|
+
extrinsic: ExtrinsicBuilder26().polkadotXcm().limitedReserveTransferAssets().X1()
|
|
8483
8519
|
}
|
|
8484
8520
|
]
|
|
8485
8521
|
});
|
|
@@ -8487,8 +8523,8 @@ var originTrailAlphanetRoutes = new ChainRoutes({
|
|
|
8487
8523
|
// src/xcm-configs/peaq.ts
|
|
8488
8524
|
import {
|
|
8489
8525
|
AssetMinBuilder as AssetMinBuilder11,
|
|
8490
|
-
BalanceBuilder as
|
|
8491
|
-
ExtrinsicBuilder as
|
|
8526
|
+
BalanceBuilder as BalanceBuilder38,
|
|
8527
|
+
ExtrinsicBuilder as ExtrinsicBuilder27,
|
|
8492
8528
|
FeeBuilder as FeeBuilder29
|
|
8493
8529
|
} from "@moonbeam-network/xcm-builder";
|
|
8494
8530
|
var peaqRoutes = new ChainRoutes({
|
|
@@ -8497,169 +8533,169 @@ var peaqRoutes = new ChainRoutes({
|
|
|
8497
8533
|
{
|
|
8498
8534
|
source: {
|
|
8499
8535
|
asset: peaq,
|
|
8500
|
-
balance:
|
|
8536
|
+
balance: BalanceBuilder38().substrate().system().account(),
|
|
8501
8537
|
fee: {
|
|
8502
8538
|
asset: peaq,
|
|
8503
|
-
balance:
|
|
8539
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8504
8540
|
},
|
|
8505
8541
|
destinationFee: {
|
|
8506
|
-
balance:
|
|
8542
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8507
8543
|
}
|
|
8508
8544
|
},
|
|
8509
8545
|
destination: {
|
|
8510
8546
|
asset: peaq,
|
|
8511
8547
|
chain: moonbeam,
|
|
8512
|
-
balance:
|
|
8548
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8513
8549
|
fee: {
|
|
8514
8550
|
amount: FeeBuilder29().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8515
8551
|
asset: peaq
|
|
8516
8552
|
}
|
|
8517
8553
|
},
|
|
8518
|
-
extrinsic:
|
|
8554
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transfer()
|
|
8519
8555
|
},
|
|
8520
8556
|
{
|
|
8521
8557
|
source: {
|
|
8522
8558
|
asset: glmr,
|
|
8523
|
-
balance:
|
|
8559
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8524
8560
|
fee: {
|
|
8525
8561
|
asset: peaq,
|
|
8526
|
-
balance:
|
|
8562
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8527
8563
|
},
|
|
8528
8564
|
min: AssetMinBuilder11().assets().asset(),
|
|
8529
8565
|
destinationFee: {
|
|
8530
|
-
balance:
|
|
8566
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8531
8567
|
}
|
|
8532
8568
|
},
|
|
8533
8569
|
destination: {
|
|
8534
8570
|
asset: glmr,
|
|
8535
8571
|
chain: moonbeam,
|
|
8536
|
-
balance:
|
|
8572
|
+
balance: BalanceBuilder38().substrate().system().account(),
|
|
8537
8573
|
fee: {
|
|
8538
8574
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8539
8575
|
asset: glmr
|
|
8540
8576
|
}
|
|
8541
8577
|
},
|
|
8542
|
-
extrinsic:
|
|
8578
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transfer()
|
|
8543
8579
|
},
|
|
8544
8580
|
{
|
|
8545
8581
|
source: {
|
|
8546
8582
|
asset: usdcwh,
|
|
8547
|
-
balance:
|
|
8583
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8548
8584
|
fee: {
|
|
8549
8585
|
asset: peaq,
|
|
8550
|
-
balance:
|
|
8586
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8551
8587
|
},
|
|
8552
8588
|
min: AssetMinBuilder11().assets().asset(),
|
|
8553
8589
|
destinationFee: {
|
|
8554
|
-
balance:
|
|
8590
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8555
8591
|
}
|
|
8556
8592
|
},
|
|
8557
8593
|
destination: {
|
|
8558
8594
|
asset: usdcwh,
|
|
8559
8595
|
chain: moonbeam,
|
|
8560
|
-
balance:
|
|
8596
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8561
8597
|
fee: {
|
|
8562
8598
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8563
8599
|
asset: glmr
|
|
8564
8600
|
}
|
|
8565
8601
|
},
|
|
8566
|
-
extrinsic:
|
|
8602
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8567
8603
|
},
|
|
8568
8604
|
{
|
|
8569
8605
|
source: {
|
|
8570
8606
|
asset: dai,
|
|
8571
|
-
balance:
|
|
8607
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8572
8608
|
fee: {
|
|
8573
8609
|
asset: peaq,
|
|
8574
|
-
balance:
|
|
8610
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8575
8611
|
},
|
|
8576
8612
|
min: AssetMinBuilder11().assets().asset(),
|
|
8577
8613
|
destinationFee: {
|
|
8578
|
-
balance:
|
|
8614
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8579
8615
|
}
|
|
8580
8616
|
},
|
|
8581
8617
|
destination: {
|
|
8582
8618
|
asset: dai,
|
|
8583
8619
|
chain: moonbeam,
|
|
8584
|
-
balance:
|
|
8620
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8585
8621
|
fee: {
|
|
8586
8622
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8587
8623
|
asset: glmr
|
|
8588
8624
|
}
|
|
8589
8625
|
},
|
|
8590
|
-
extrinsic:
|
|
8626
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8591
8627
|
},
|
|
8592
8628
|
{
|
|
8593
8629
|
source: {
|
|
8594
8630
|
asset: wbtc,
|
|
8595
|
-
balance:
|
|
8631
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8596
8632
|
fee: {
|
|
8597
8633
|
asset: peaq,
|
|
8598
|
-
balance:
|
|
8634
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8599
8635
|
},
|
|
8600
8636
|
min: AssetMinBuilder11().assets().asset(),
|
|
8601
8637
|
destinationFee: {
|
|
8602
|
-
balance:
|
|
8638
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8603
8639
|
}
|
|
8604
8640
|
},
|
|
8605
8641
|
destination: {
|
|
8606
8642
|
asset: wbtc,
|
|
8607
8643
|
chain: moonbeam,
|
|
8608
|
-
balance:
|
|
8644
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8609
8645
|
fee: {
|
|
8610
8646
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8611
8647
|
asset: glmr
|
|
8612
8648
|
}
|
|
8613
8649
|
},
|
|
8614
|
-
extrinsic:
|
|
8650
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8615
8651
|
},
|
|
8616
8652
|
{
|
|
8617
8653
|
source: {
|
|
8618
8654
|
asset: weth,
|
|
8619
|
-
balance:
|
|
8655
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8620
8656
|
fee: {
|
|
8621
8657
|
asset: peaq,
|
|
8622
|
-
balance:
|
|
8658
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8623
8659
|
},
|
|
8624
8660
|
min: AssetMinBuilder11().assets().asset(),
|
|
8625
8661
|
destinationFee: {
|
|
8626
|
-
balance:
|
|
8662
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8627
8663
|
}
|
|
8628
8664
|
},
|
|
8629
8665
|
destination: {
|
|
8630
8666
|
asset: weth,
|
|
8631
8667
|
chain: moonbeam,
|
|
8632
|
-
balance:
|
|
8668
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8633
8669
|
fee: {
|
|
8634
8670
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8635
8671
|
asset: glmr
|
|
8636
8672
|
}
|
|
8637
8673
|
},
|
|
8638
|
-
extrinsic:
|
|
8674
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8639
8675
|
},
|
|
8640
8676
|
{
|
|
8641
8677
|
source: {
|
|
8642
8678
|
asset: usdtwh,
|
|
8643
|
-
balance:
|
|
8679
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8644
8680
|
fee: {
|
|
8645
8681
|
asset: peaq,
|
|
8646
|
-
balance:
|
|
8682
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8647
8683
|
},
|
|
8648
8684
|
min: AssetMinBuilder11().assets().asset(),
|
|
8649
8685
|
destinationFee: {
|
|
8650
|
-
balance:
|
|
8686
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8651
8687
|
}
|
|
8652
8688
|
},
|
|
8653
8689
|
destination: {
|
|
8654
8690
|
asset: usdtwh,
|
|
8655
8691
|
chain: moonbeam,
|
|
8656
|
-
balance:
|
|
8692
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8657
8693
|
fee: {
|
|
8658
8694
|
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8659
8695
|
asset: glmr
|
|
8660
8696
|
}
|
|
8661
8697
|
},
|
|
8662
|
-
extrinsic:
|
|
8698
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8663
8699
|
}
|
|
8664
8700
|
]
|
|
8665
8701
|
});
|
|
@@ -8667,8 +8703,8 @@ var peaqRoutes = new ChainRoutes({
|
|
|
8667
8703
|
// src/xcm-configs/peaqAlphanet.ts
|
|
8668
8704
|
import {
|
|
8669
8705
|
AssetMinBuilder as AssetMinBuilder12,
|
|
8670
|
-
BalanceBuilder as
|
|
8671
|
-
ExtrinsicBuilder as
|
|
8706
|
+
BalanceBuilder as BalanceBuilder39,
|
|
8707
|
+
ExtrinsicBuilder as ExtrinsicBuilder28,
|
|
8672
8708
|
FeeBuilder as FeeBuilder30
|
|
8673
8709
|
} from "@moonbeam-network/xcm-builder";
|
|
8674
8710
|
var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
@@ -8677,73 +8713,73 @@ var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
|
8677
8713
|
{
|
|
8678
8714
|
source: {
|
|
8679
8715
|
asset: agng,
|
|
8680
|
-
balance:
|
|
8716
|
+
balance: BalanceBuilder39().substrate().system().account(),
|
|
8681
8717
|
fee: {
|
|
8682
8718
|
asset: agng,
|
|
8683
|
-
balance:
|
|
8719
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8684
8720
|
},
|
|
8685
8721
|
destinationFee: {
|
|
8686
|
-
balance:
|
|
8722
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8687
8723
|
}
|
|
8688
8724
|
},
|
|
8689
8725
|
destination: {
|
|
8690
8726
|
asset: agng,
|
|
8691
8727
|
chain: moonbaseAlpha,
|
|
8692
|
-
balance:
|
|
8728
|
+
balance: BalanceBuilder39().evm().erc20(),
|
|
8693
8729
|
fee: {
|
|
8694
8730
|
amount: FeeBuilder30().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8695
8731
|
asset: agng
|
|
8696
8732
|
}
|
|
8697
8733
|
},
|
|
8698
|
-
extrinsic:
|
|
8734
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transfer()
|
|
8699
8735
|
},
|
|
8700
8736
|
{
|
|
8701
8737
|
source: {
|
|
8702
8738
|
asset: dev,
|
|
8703
|
-
balance:
|
|
8739
|
+
balance: BalanceBuilder39().substrate().assets().account(),
|
|
8704
8740
|
fee: {
|
|
8705
8741
|
asset: agng,
|
|
8706
|
-
balance:
|
|
8742
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8707
8743
|
},
|
|
8708
8744
|
min: AssetMinBuilder12().assets().asset(),
|
|
8709
8745
|
destinationFee: {
|
|
8710
|
-
balance:
|
|
8746
|
+
balance: BalanceBuilder39().substrate().assets().account()
|
|
8711
8747
|
}
|
|
8712
8748
|
},
|
|
8713
8749
|
destination: {
|
|
8714
8750
|
asset: dev,
|
|
8715
8751
|
chain: moonbaseAlpha,
|
|
8716
|
-
balance:
|
|
8752
|
+
balance: BalanceBuilder39().substrate().system().account(),
|
|
8717
8753
|
fee: {
|
|
8718
8754
|
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8719
8755
|
asset: dev
|
|
8720
8756
|
}
|
|
8721
8757
|
},
|
|
8722
|
-
extrinsic:
|
|
8758
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transfer()
|
|
8723
8759
|
},
|
|
8724
8760
|
{
|
|
8725
8761
|
source: {
|
|
8726
8762
|
asset: ftmwh,
|
|
8727
|
-
balance:
|
|
8763
|
+
balance: BalanceBuilder39().substrate().assets().account(),
|
|
8728
8764
|
fee: {
|
|
8729
8765
|
asset: agng,
|
|
8730
|
-
balance:
|
|
8766
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8731
8767
|
},
|
|
8732
8768
|
min: AssetMinBuilder12().assets().asset(),
|
|
8733
8769
|
destinationFee: {
|
|
8734
|
-
balance:
|
|
8770
|
+
balance: BalanceBuilder39().substrate().assets().account()
|
|
8735
8771
|
}
|
|
8736
8772
|
},
|
|
8737
8773
|
destination: {
|
|
8738
8774
|
asset: ftmwh,
|
|
8739
8775
|
chain: moonbaseAlpha,
|
|
8740
|
-
balance:
|
|
8776
|
+
balance: BalanceBuilder39().evm().erc20(),
|
|
8741
8777
|
fee: {
|
|
8742
8778
|
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8743
8779
|
asset: dev
|
|
8744
8780
|
}
|
|
8745
8781
|
},
|
|
8746
|
-
extrinsic:
|
|
8782
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transferMultiCurrencies()
|
|
8747
8783
|
}
|
|
8748
8784
|
]
|
|
8749
8785
|
});
|
|
@@ -8751,7 +8787,7 @@ var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
|
8751
8787
|
// src/xcm-configs/peaqEvm.ts
|
|
8752
8788
|
import {
|
|
8753
8789
|
AssetMinBuilder as AssetMinBuilder13,
|
|
8754
|
-
BalanceBuilder as
|
|
8790
|
+
BalanceBuilder as BalanceBuilder40,
|
|
8755
8791
|
ContractBuilder as ContractBuilder4,
|
|
8756
8792
|
FeeBuilder as FeeBuilder31
|
|
8757
8793
|
} from "@moonbeam-network/xcm-builder";
|
|
@@ -8761,20 +8797,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8761
8797
|
{
|
|
8762
8798
|
source: {
|
|
8763
8799
|
asset: glmr,
|
|
8764
|
-
balance:
|
|
8800
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8765
8801
|
fee: {
|
|
8766
8802
|
asset: peaq,
|
|
8767
|
-
balance:
|
|
8803
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8768
8804
|
},
|
|
8769
8805
|
min: AssetMinBuilder13().assets().asset(),
|
|
8770
8806
|
destinationFee: {
|
|
8771
|
-
balance:
|
|
8807
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8772
8808
|
}
|
|
8773
8809
|
},
|
|
8774
8810
|
destination: {
|
|
8775
8811
|
asset: glmr,
|
|
8776
8812
|
chain: moonbeam,
|
|
8777
|
-
balance:
|
|
8813
|
+
balance: BalanceBuilder40().substrate().system().account(),
|
|
8778
8814
|
fee: {
|
|
8779
8815
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8780
8816
|
asset: glmr
|
|
@@ -8785,20 +8821,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8785
8821
|
{
|
|
8786
8822
|
source: {
|
|
8787
8823
|
asset: usdcwh,
|
|
8788
|
-
balance:
|
|
8824
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8789
8825
|
fee: {
|
|
8790
8826
|
asset: peaq,
|
|
8791
|
-
balance:
|
|
8827
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8792
8828
|
},
|
|
8793
8829
|
min: AssetMinBuilder13().assets().asset(),
|
|
8794
8830
|
destinationFee: {
|
|
8795
|
-
balance:
|
|
8831
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8796
8832
|
}
|
|
8797
8833
|
},
|
|
8798
8834
|
destination: {
|
|
8799
8835
|
asset: usdcwh,
|
|
8800
8836
|
chain: moonbeam,
|
|
8801
|
-
balance:
|
|
8837
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8802
8838
|
fee: {
|
|
8803
8839
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8804
8840
|
asset: glmr
|
|
@@ -8809,20 +8845,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8809
8845
|
{
|
|
8810
8846
|
source: {
|
|
8811
8847
|
asset: dai,
|
|
8812
|
-
balance:
|
|
8848
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8813
8849
|
fee: {
|
|
8814
8850
|
asset: peaq,
|
|
8815
|
-
balance:
|
|
8851
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8816
8852
|
},
|
|
8817
8853
|
min: AssetMinBuilder13().assets().asset(),
|
|
8818
8854
|
destinationFee: {
|
|
8819
|
-
balance:
|
|
8855
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8820
8856
|
}
|
|
8821
8857
|
},
|
|
8822
8858
|
destination: {
|
|
8823
8859
|
asset: dai,
|
|
8824
8860
|
chain: moonbeam,
|
|
8825
|
-
balance:
|
|
8861
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8826
8862
|
fee: {
|
|
8827
8863
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8828
8864
|
asset: glmr
|
|
@@ -8833,20 +8869,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8833
8869
|
{
|
|
8834
8870
|
source: {
|
|
8835
8871
|
asset: wbtc,
|
|
8836
|
-
balance:
|
|
8872
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8837
8873
|
fee: {
|
|
8838
8874
|
asset: peaq,
|
|
8839
|
-
balance:
|
|
8875
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8840
8876
|
},
|
|
8841
8877
|
min: AssetMinBuilder13().assets().asset(),
|
|
8842
8878
|
destinationFee: {
|
|
8843
|
-
balance:
|
|
8879
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8844
8880
|
}
|
|
8845
8881
|
},
|
|
8846
8882
|
destination: {
|
|
8847
8883
|
asset: wbtc,
|
|
8848
8884
|
chain: moonbeam,
|
|
8849
|
-
balance:
|
|
8885
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8850
8886
|
fee: {
|
|
8851
8887
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8852
8888
|
asset: glmr
|
|
@@ -8857,20 +8893,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8857
8893
|
{
|
|
8858
8894
|
source: {
|
|
8859
8895
|
asset: weth,
|
|
8860
|
-
balance:
|
|
8896
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8861
8897
|
fee: {
|
|
8862
8898
|
asset: peaq,
|
|
8863
|
-
balance:
|
|
8899
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8864
8900
|
},
|
|
8865
8901
|
min: AssetMinBuilder13().assets().asset(),
|
|
8866
8902
|
destinationFee: {
|
|
8867
|
-
balance:
|
|
8903
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8868
8904
|
}
|
|
8869
8905
|
},
|
|
8870
8906
|
destination: {
|
|
8871
8907
|
asset: weth,
|
|
8872
8908
|
chain: moonbeam,
|
|
8873
|
-
balance:
|
|
8909
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8874
8910
|
fee: {
|
|
8875
8911
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8876
8912
|
asset: glmr
|
|
@@ -8881,20 +8917,20 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8881
8917
|
{
|
|
8882
8918
|
source: {
|
|
8883
8919
|
asset: usdtwh,
|
|
8884
|
-
balance:
|
|
8920
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8885
8921
|
fee: {
|
|
8886
8922
|
asset: peaq,
|
|
8887
|
-
balance:
|
|
8923
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8888
8924
|
},
|
|
8889
8925
|
min: AssetMinBuilder13().assets().asset(),
|
|
8890
8926
|
destinationFee: {
|
|
8891
|
-
balance:
|
|
8927
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8892
8928
|
}
|
|
8893
8929
|
},
|
|
8894
8930
|
destination: {
|
|
8895
8931
|
asset: usdtwh,
|
|
8896
8932
|
chain: moonbeam,
|
|
8897
|
-
balance:
|
|
8933
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8898
8934
|
fee: {
|
|
8899
8935
|
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8900
8936
|
asset: glmr
|
|
@@ -8908,7 +8944,7 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8908
8944
|
// src/xcm-configs/peaqEvmAlphanet.ts
|
|
8909
8945
|
import {
|
|
8910
8946
|
AssetMinBuilder as AssetMinBuilder14,
|
|
8911
|
-
BalanceBuilder as
|
|
8947
|
+
BalanceBuilder as BalanceBuilder41,
|
|
8912
8948
|
ContractBuilder as ContractBuilder5,
|
|
8913
8949
|
FeeBuilder as FeeBuilder32
|
|
8914
8950
|
} from "@moonbeam-network/xcm-builder";
|
|
@@ -8918,20 +8954,20 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
8918
8954
|
{
|
|
8919
8955
|
source: {
|
|
8920
8956
|
asset: ftmwh,
|
|
8921
|
-
balance:
|
|
8957
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
8922
8958
|
fee: {
|
|
8923
8959
|
asset: agng,
|
|
8924
|
-
balance:
|
|
8960
|
+
balance: BalanceBuilder41().substrate().system().accountEvmTo32()
|
|
8925
8961
|
},
|
|
8926
8962
|
min: AssetMinBuilder14().assets().asset(),
|
|
8927
8963
|
destinationFee: {
|
|
8928
|
-
balance:
|
|
8964
|
+
balance: BalanceBuilder41().evm().erc20()
|
|
8929
8965
|
}
|
|
8930
8966
|
},
|
|
8931
8967
|
destination: {
|
|
8932
8968
|
asset: ftmwh,
|
|
8933
8969
|
chain: moonbaseAlpha,
|
|
8934
|
-
balance:
|
|
8970
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
8935
8971
|
fee: {
|
|
8936
8972
|
amount: FeeBuilder32().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8937
8973
|
asset: dev
|
|
@@ -8942,20 +8978,20 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
8942
8978
|
{
|
|
8943
8979
|
source: {
|
|
8944
8980
|
asset: dev,
|
|
8945
|
-
balance:
|
|
8981
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
8946
8982
|
fee: {
|
|
8947
8983
|
asset: agng,
|
|
8948
|
-
balance:
|
|
8984
|
+
balance: BalanceBuilder41().substrate().system().accountEvmTo32()
|
|
8949
8985
|
},
|
|
8950
8986
|
min: AssetMinBuilder14().assets().asset(),
|
|
8951
8987
|
destinationFee: {
|
|
8952
|
-
balance:
|
|
8988
|
+
balance: BalanceBuilder41().evm().erc20()
|
|
8953
8989
|
}
|
|
8954
8990
|
},
|
|
8955
8991
|
destination: {
|
|
8956
8992
|
asset: dev,
|
|
8957
8993
|
chain: moonbaseAlpha,
|
|
8958
|
-
balance:
|
|
8994
|
+
balance: BalanceBuilder41().substrate().system().account(),
|
|
8959
8995
|
fee: {
|
|
8960
8996
|
amount: FeeBuilder32().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8961
8997
|
asset: dev
|
|
@@ -8969,8 +9005,8 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
8969
9005
|
// src/xcm-configs/pendulum.ts
|
|
8970
9006
|
import {
|
|
8971
9007
|
AssetMinBuilder as AssetMinBuilder15,
|
|
8972
|
-
BalanceBuilder as
|
|
8973
|
-
ExtrinsicBuilder as
|
|
9008
|
+
BalanceBuilder as BalanceBuilder42,
|
|
9009
|
+
ExtrinsicBuilder as ExtrinsicBuilder29,
|
|
8974
9010
|
FeeBuilder as FeeBuilder33
|
|
8975
9011
|
} from "@moonbeam-network/xcm-builder";
|
|
8976
9012
|
var pendulumRoutes = new ChainRoutes({
|
|
@@ -8979,103 +9015,103 @@ var pendulumRoutes = new ChainRoutes({
|
|
|
8979
9015
|
{
|
|
8980
9016
|
source: {
|
|
8981
9017
|
asset: pen,
|
|
8982
|
-
balance:
|
|
9018
|
+
balance: BalanceBuilder42().substrate().system().account(),
|
|
8983
9019
|
fee: {
|
|
8984
9020
|
asset: pen,
|
|
8985
|
-
balance:
|
|
9021
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
8986
9022
|
},
|
|
8987
9023
|
destinationFee: {
|
|
8988
|
-
balance:
|
|
9024
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
8989
9025
|
}
|
|
8990
9026
|
},
|
|
8991
9027
|
destination: {
|
|
8992
9028
|
asset: pen,
|
|
8993
9029
|
chain: moonbeam,
|
|
8994
|
-
balance:
|
|
9030
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
8995
9031
|
fee: {
|
|
8996
9032
|
amount: FeeBuilder33().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8997
9033
|
asset: pen
|
|
8998
9034
|
}
|
|
8999
9035
|
},
|
|
9000
|
-
extrinsic:
|
|
9036
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9001
9037
|
},
|
|
9002
9038
|
{
|
|
9003
9039
|
source: {
|
|
9004
9040
|
asset: glmr,
|
|
9005
|
-
balance:
|
|
9041
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9006
9042
|
fee: {
|
|
9007
9043
|
asset: pen,
|
|
9008
|
-
balance:
|
|
9044
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9009
9045
|
},
|
|
9010
9046
|
destinationFee: {
|
|
9011
|
-
balance:
|
|
9047
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9012
9048
|
}
|
|
9013
9049
|
},
|
|
9014
9050
|
destination: {
|
|
9015
9051
|
asset: glmr,
|
|
9016
9052
|
chain: moonbeam,
|
|
9017
|
-
balance:
|
|
9053
|
+
balance: BalanceBuilder42().substrate().system().account(),
|
|
9018
9054
|
fee: {
|
|
9019
9055
|
amount: FeeBuilder33().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9020
9056
|
asset: glmr
|
|
9021
9057
|
}
|
|
9022
9058
|
},
|
|
9023
|
-
extrinsic:
|
|
9059
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9024
9060
|
},
|
|
9025
9061
|
{
|
|
9026
9062
|
source: {
|
|
9027
9063
|
asset: axlusdc,
|
|
9028
|
-
balance:
|
|
9064
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9029
9065
|
fee: {
|
|
9030
9066
|
asset: pen,
|
|
9031
|
-
balance:
|
|
9067
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9032
9068
|
},
|
|
9033
9069
|
destinationFee: {
|
|
9034
|
-
balance:
|
|
9070
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9035
9071
|
}
|
|
9036
9072
|
},
|
|
9037
9073
|
destination: {
|
|
9038
9074
|
asset: axlusdc,
|
|
9039
9075
|
chain: moonbeam,
|
|
9040
|
-
balance:
|
|
9076
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
9041
9077
|
fee: {
|
|
9042
9078
|
amount: FeeBuilder33().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
9043
9079
|
asset: glmr
|
|
9044
9080
|
}
|
|
9045
9081
|
},
|
|
9046
|
-
extrinsic:
|
|
9082
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transferMultiCurrencies()
|
|
9047
9083
|
},
|
|
9048
9084
|
{
|
|
9049
9085
|
source: {
|
|
9050
9086
|
asset: eurc,
|
|
9051
|
-
balance:
|
|
9087
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9052
9088
|
fee: {
|
|
9053
9089
|
asset: eurc,
|
|
9054
|
-
balance:
|
|
9090
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9055
9091
|
},
|
|
9056
9092
|
destinationFee: {
|
|
9057
|
-
balance:
|
|
9093
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9058
9094
|
},
|
|
9059
9095
|
min: AssetMinBuilder15().assetRegistry().metadata()
|
|
9060
9096
|
},
|
|
9061
9097
|
destination: {
|
|
9062
9098
|
asset: eurc,
|
|
9063
9099
|
chain: moonbeam,
|
|
9064
|
-
balance:
|
|
9100
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
9065
9101
|
fee: {
|
|
9066
9102
|
amount: FeeBuilder33().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9067
9103
|
asset: eurc
|
|
9068
9104
|
}
|
|
9069
9105
|
},
|
|
9070
|
-
extrinsic:
|
|
9106
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9071
9107
|
}
|
|
9072
9108
|
]
|
|
9073
9109
|
});
|
|
9074
9110
|
|
|
9075
9111
|
// src/xcm-configs/pendulumAlphanet.ts
|
|
9076
9112
|
import {
|
|
9077
|
-
BalanceBuilder as
|
|
9078
|
-
ExtrinsicBuilder as
|
|
9113
|
+
BalanceBuilder as BalanceBuilder43,
|
|
9114
|
+
ExtrinsicBuilder as ExtrinsicBuilder30,
|
|
9079
9115
|
FeeBuilder as FeeBuilder34
|
|
9080
9116
|
} from "@moonbeam-network/xcm-builder";
|
|
9081
9117
|
var pendulumAlphanetRoutes = new ChainRoutes({
|
|
@@ -9084,56 +9120,56 @@ var pendulumAlphanetRoutes = new ChainRoutes({
|
|
|
9084
9120
|
{
|
|
9085
9121
|
source: {
|
|
9086
9122
|
asset: ampe,
|
|
9087
|
-
balance:
|
|
9123
|
+
balance: BalanceBuilder43().substrate().system().account(),
|
|
9088
9124
|
fee: {
|
|
9089
9125
|
asset: ampe,
|
|
9090
|
-
balance:
|
|
9126
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9091
9127
|
},
|
|
9092
9128
|
destinationFee: {
|
|
9093
|
-
balance:
|
|
9129
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9094
9130
|
}
|
|
9095
9131
|
},
|
|
9096
9132
|
destination: {
|
|
9097
9133
|
asset: ampe,
|
|
9098
9134
|
chain: moonbaseAlpha,
|
|
9099
|
-
balance:
|
|
9135
|
+
balance: BalanceBuilder43().evm().erc20(),
|
|
9100
9136
|
fee: {
|
|
9101
9137
|
amount: FeeBuilder34().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9102
9138
|
asset: ampe
|
|
9103
9139
|
}
|
|
9104
9140
|
},
|
|
9105
|
-
extrinsic:
|
|
9141
|
+
extrinsic: ExtrinsicBuilder30().xTokens().transfer()
|
|
9106
9142
|
},
|
|
9107
9143
|
{
|
|
9108
9144
|
source: {
|
|
9109
9145
|
asset: dev,
|
|
9110
|
-
balance:
|
|
9146
|
+
balance: BalanceBuilder43().substrate().tokens().accounts(),
|
|
9111
9147
|
fee: {
|
|
9112
9148
|
asset: ampe,
|
|
9113
|
-
balance:
|
|
9149
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9114
9150
|
},
|
|
9115
9151
|
destinationFee: {
|
|
9116
|
-
balance:
|
|
9152
|
+
balance: BalanceBuilder43().substrate().tokens().accounts()
|
|
9117
9153
|
}
|
|
9118
9154
|
},
|
|
9119
9155
|
destination: {
|
|
9120
9156
|
asset: dev,
|
|
9121
9157
|
chain: moonbaseAlpha,
|
|
9122
|
-
balance:
|
|
9158
|
+
balance: BalanceBuilder43().substrate().system().account(),
|
|
9123
9159
|
fee: {
|
|
9124
9160
|
amount: FeeBuilder34().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9125
9161
|
asset: dev
|
|
9126
9162
|
}
|
|
9127
9163
|
},
|
|
9128
|
-
extrinsic:
|
|
9164
|
+
extrinsic: ExtrinsicBuilder30().xTokens().transfer()
|
|
9129
9165
|
}
|
|
9130
9166
|
]
|
|
9131
9167
|
});
|
|
9132
9168
|
|
|
9133
9169
|
// src/xcm-configs/phala.ts
|
|
9134
9170
|
import {
|
|
9135
|
-
BalanceBuilder as
|
|
9136
|
-
ExtrinsicBuilder as
|
|
9171
|
+
BalanceBuilder as BalanceBuilder44,
|
|
9172
|
+
ExtrinsicBuilder as ExtrinsicBuilder31,
|
|
9137
9173
|
FeeBuilder as FeeBuilder35
|
|
9138
9174
|
} from "@moonbeam-network/xcm-builder";
|
|
9139
9175
|
var phalaRoutes = new ChainRoutes({
|
|
@@ -9142,33 +9178,33 @@ var phalaRoutes = new ChainRoutes({
|
|
|
9142
9178
|
{
|
|
9143
9179
|
source: {
|
|
9144
9180
|
asset: pha,
|
|
9145
|
-
balance:
|
|
9181
|
+
balance: BalanceBuilder44().substrate().system().account(),
|
|
9146
9182
|
fee: {
|
|
9147
9183
|
asset: pha,
|
|
9148
|
-
balance:
|
|
9184
|
+
balance: BalanceBuilder44().substrate().system().account()
|
|
9149
9185
|
},
|
|
9150
9186
|
destinationFee: {
|
|
9151
|
-
balance:
|
|
9187
|
+
balance: BalanceBuilder44().substrate().system().account()
|
|
9152
9188
|
}
|
|
9153
9189
|
},
|
|
9154
9190
|
destination: {
|
|
9155
9191
|
asset: pha,
|
|
9156
9192
|
chain: moonbeam,
|
|
9157
|
-
balance:
|
|
9193
|
+
balance: BalanceBuilder44().evm().erc20(),
|
|
9158
9194
|
fee: {
|
|
9159
9195
|
amount: FeeBuilder35().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9160
9196
|
asset: pha
|
|
9161
9197
|
}
|
|
9162
9198
|
},
|
|
9163
|
-
extrinsic:
|
|
9199
|
+
extrinsic: ExtrinsicBuilder31().xTransfer().transfer().here()
|
|
9164
9200
|
}
|
|
9165
9201
|
]
|
|
9166
9202
|
});
|
|
9167
9203
|
|
|
9168
9204
|
// src/xcm-configs/polkadot.ts
|
|
9169
9205
|
import {
|
|
9170
|
-
BalanceBuilder as
|
|
9171
|
-
ExtrinsicBuilder as
|
|
9206
|
+
BalanceBuilder as BalanceBuilder45,
|
|
9207
|
+
ExtrinsicBuilder as ExtrinsicBuilder32,
|
|
9172
9208
|
FeeBuilder as FeeBuilder36
|
|
9173
9209
|
} from "@moonbeam-network/xcm-builder";
|
|
9174
9210
|
var polkadotRoutes = new ChainRoutes({
|
|
@@ -9177,26 +9213,26 @@ var polkadotRoutes = new ChainRoutes({
|
|
|
9177
9213
|
{
|
|
9178
9214
|
source: {
|
|
9179
9215
|
asset: dot,
|
|
9180
|
-
balance:
|
|
9216
|
+
balance: BalanceBuilder45().substrate().system().account(),
|
|
9181
9217
|
fee: {
|
|
9182
9218
|
asset: dot,
|
|
9183
|
-
balance:
|
|
9219
|
+
balance: BalanceBuilder45().substrate().system().account(),
|
|
9184
9220
|
extra: 0.047
|
|
9185
9221
|
},
|
|
9186
9222
|
destinationFee: {
|
|
9187
|
-
balance:
|
|
9223
|
+
balance: BalanceBuilder45().substrate().system().account()
|
|
9188
9224
|
}
|
|
9189
9225
|
},
|
|
9190
9226
|
destination: {
|
|
9191
9227
|
asset: dot,
|
|
9192
9228
|
chain: moonbeam,
|
|
9193
|
-
balance:
|
|
9229
|
+
balance: BalanceBuilder45().evm().erc20(),
|
|
9194
9230
|
fee: {
|
|
9195
9231
|
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9196
9232
|
asset: dot
|
|
9197
9233
|
}
|
|
9198
9234
|
},
|
|
9199
|
-
extrinsic:
|
|
9235
|
+
extrinsic: ExtrinsicBuilder32().xcmPallet().transferAssetsUsingTypeAndThen().here()
|
|
9200
9236
|
}
|
|
9201
9237
|
]
|
|
9202
9238
|
});
|
|
@@ -9204,8 +9240,8 @@ var polkadotRoutes = new ChainRoutes({
|
|
|
9204
9240
|
// src/xcm-configs/polkadotAssetHub.ts
|
|
9205
9241
|
import {
|
|
9206
9242
|
AssetMinBuilder as AssetMinBuilder16,
|
|
9207
|
-
BalanceBuilder as
|
|
9208
|
-
ExtrinsicBuilder as
|
|
9243
|
+
BalanceBuilder as BalanceBuilder46,
|
|
9244
|
+
ExtrinsicBuilder as ExtrinsicBuilder33,
|
|
9209
9245
|
FeeBuilder as FeeBuilder37
|
|
9210
9246
|
} from "@moonbeam-network/xcm-builder";
|
|
9211
9247
|
var extra2 = 0.036;
|
|
@@ -9215,95 +9251,95 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9215
9251
|
{
|
|
9216
9252
|
source: {
|
|
9217
9253
|
asset: dot,
|
|
9218
|
-
balance:
|
|
9254
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9219
9255
|
fee: {
|
|
9220
9256
|
asset: dot,
|
|
9221
|
-
balance:
|
|
9257
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9222
9258
|
extra: extra2
|
|
9223
9259
|
},
|
|
9224
9260
|
destinationFee: {
|
|
9225
|
-
balance:
|
|
9261
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9226
9262
|
}
|
|
9227
9263
|
},
|
|
9228
9264
|
destination: {
|
|
9229
9265
|
asset: dot,
|
|
9230
9266
|
chain: moonbeam,
|
|
9231
|
-
balance:
|
|
9267
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9232
9268
|
fee: {
|
|
9233
9269
|
amount: FeeBuilder37().xcmPaymentApi().fromHere({ isAssetReserveChain: false }),
|
|
9234
9270
|
asset: dot
|
|
9235
9271
|
}
|
|
9236
9272
|
},
|
|
9237
|
-
extrinsic:
|
|
9273
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().here(1)
|
|
9238
9274
|
},
|
|
9239
9275
|
{
|
|
9240
9276
|
source: {
|
|
9241
9277
|
asset: usdt,
|
|
9242
|
-
balance:
|
|
9278
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9243
9279
|
fee: {
|
|
9244
9280
|
asset: dot,
|
|
9245
|
-
balance:
|
|
9281
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9246
9282
|
extra: extra2
|
|
9247
9283
|
},
|
|
9248
9284
|
min: AssetMinBuilder16().assets().asset(),
|
|
9249
9285
|
destinationFee: {
|
|
9250
|
-
balance:
|
|
9286
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9251
9287
|
}
|
|
9252
9288
|
},
|
|
9253
9289
|
destination: {
|
|
9254
9290
|
asset: usdt,
|
|
9255
9291
|
chain: moonbeam,
|
|
9256
|
-
balance:
|
|
9292
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9257
9293
|
fee: {
|
|
9258
9294
|
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9259
9295
|
asset: usdt
|
|
9260
9296
|
}
|
|
9261
9297
|
},
|
|
9262
|
-
extrinsic:
|
|
9298
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().limitedReserveTransferAssets().X2()
|
|
9263
9299
|
},
|
|
9264
9300
|
{
|
|
9265
9301
|
source: {
|
|
9266
9302
|
asset: usdc,
|
|
9267
|
-
balance:
|
|
9303
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9268
9304
|
fee: {
|
|
9269
9305
|
asset: dot,
|
|
9270
|
-
balance:
|
|
9306
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9271
9307
|
extra: extra2
|
|
9272
9308
|
},
|
|
9273
9309
|
min: AssetMinBuilder16().assets().asset(),
|
|
9274
9310
|
destinationFee: {
|
|
9275
|
-
balance:
|
|
9311
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9276
9312
|
}
|
|
9277
9313
|
},
|
|
9278
9314
|
destination: {
|
|
9279
9315
|
asset: usdc,
|
|
9280
9316
|
chain: moonbeam,
|
|
9281
|
-
balance:
|
|
9317
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9282
9318
|
fee: {
|
|
9283
9319
|
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9284
9320
|
asset: usdc
|
|
9285
9321
|
}
|
|
9286
9322
|
},
|
|
9287
|
-
extrinsic:
|
|
9323
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().limitedReserveTransferAssets().X2()
|
|
9288
9324
|
},
|
|
9289
9325
|
{
|
|
9290
9326
|
source: {
|
|
9291
9327
|
asset: pink,
|
|
9292
|
-
balance:
|
|
9328
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9293
9329
|
fee: {
|
|
9294
9330
|
asset: dot,
|
|
9295
|
-
balance:
|
|
9331
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9296
9332
|
extra: extra2
|
|
9297
9333
|
},
|
|
9298
9334
|
min: AssetMinBuilder16().assets().asset(),
|
|
9299
9335
|
destinationFee: {
|
|
9300
|
-
balance:
|
|
9336
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9301
9337
|
}
|
|
9302
9338
|
},
|
|
9303
9339
|
destination: {
|
|
9304
9340
|
asset: pink,
|
|
9305
9341
|
chain: moonbeam,
|
|
9306
|
-
balance:
|
|
9342
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9307
9343
|
fee: {
|
|
9308
9344
|
amount: FeeBuilder37().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9309
9345
|
isAssetReserveChain: false
|
|
@@ -9311,26 +9347,26 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9311
9347
|
asset: dot
|
|
9312
9348
|
}
|
|
9313
9349
|
},
|
|
9314
|
-
extrinsic:
|
|
9350
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9315
9351
|
},
|
|
9316
9352
|
{
|
|
9317
9353
|
source: {
|
|
9318
9354
|
asset: ded,
|
|
9319
|
-
balance:
|
|
9355
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9320
9356
|
fee: {
|
|
9321
9357
|
asset: dot,
|
|
9322
|
-
balance:
|
|
9358
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9323
9359
|
extra: extra2
|
|
9324
9360
|
},
|
|
9325
9361
|
min: AssetMinBuilder16().assets().asset(),
|
|
9326
9362
|
destinationFee: {
|
|
9327
|
-
balance:
|
|
9363
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9328
9364
|
}
|
|
9329
9365
|
},
|
|
9330
9366
|
destination: {
|
|
9331
9367
|
asset: ded,
|
|
9332
9368
|
chain: moonbeam,
|
|
9333
|
-
balance:
|
|
9369
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9334
9370
|
fee: {
|
|
9335
9371
|
amount: FeeBuilder37().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9336
9372
|
isAssetReserveChain: false
|
|
@@ -9338,51 +9374,51 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9338
9374
|
asset: dot
|
|
9339
9375
|
}
|
|
9340
9376
|
},
|
|
9341
|
-
extrinsic:
|
|
9377
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9342
9378
|
},
|
|
9343
9379
|
{
|
|
9344
9380
|
source: {
|
|
9345
9381
|
asset: stink,
|
|
9346
|
-
balance:
|
|
9382
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9347
9383
|
fee: {
|
|
9348
9384
|
asset: dot,
|
|
9349
|
-
balance:
|
|
9385
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9350
9386
|
extra: extra2
|
|
9351
9387
|
},
|
|
9352
9388
|
min: AssetMinBuilder16().assets().asset(),
|
|
9353
9389
|
destinationFee: {
|
|
9354
|
-
balance:
|
|
9390
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9355
9391
|
}
|
|
9356
9392
|
},
|
|
9357
9393
|
destination: {
|
|
9358
9394
|
asset: stink,
|
|
9359
9395
|
chain: moonbeam,
|
|
9360
|
-
balance:
|
|
9396
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9361
9397
|
fee: {
|
|
9362
9398
|
amount: FeeBuilder37().xcmPaymentApi().fromHereAndSourceGeneralIndex({ isAssetReserveChain: false }),
|
|
9363
9399
|
asset: dot
|
|
9364
9400
|
}
|
|
9365
9401
|
},
|
|
9366
|
-
extrinsic:
|
|
9402
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9367
9403
|
},
|
|
9368
9404
|
{
|
|
9369
9405
|
source: {
|
|
9370
9406
|
asset: apillon,
|
|
9371
|
-
balance:
|
|
9407
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9372
9408
|
fee: {
|
|
9373
9409
|
asset: dot,
|
|
9374
|
-
balance:
|
|
9410
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9375
9411
|
extra: extra2
|
|
9376
9412
|
},
|
|
9377
9413
|
min: AssetMinBuilder16().assets().asset(),
|
|
9378
9414
|
destinationFee: {
|
|
9379
|
-
balance:
|
|
9415
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9380
9416
|
}
|
|
9381
9417
|
},
|
|
9382
9418
|
destination: {
|
|
9383
9419
|
asset: apillon,
|
|
9384
9420
|
chain: moonbeam,
|
|
9385
|
-
balance:
|
|
9421
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9386
9422
|
fee: {
|
|
9387
9423
|
amount: FeeBuilder37().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9388
9424
|
isAssetReserveChain: false
|
|
@@ -9390,26 +9426,26 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9390
9426
|
asset: dot
|
|
9391
9427
|
}
|
|
9392
9428
|
},
|
|
9393
|
-
extrinsic:
|
|
9429
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9394
9430
|
},
|
|
9395
9431
|
{
|
|
9396
9432
|
source: {
|
|
9397
9433
|
asset: wifd,
|
|
9398
|
-
balance:
|
|
9434
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9399
9435
|
fee: {
|
|
9400
9436
|
asset: dot,
|
|
9401
|
-
balance:
|
|
9437
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9402
9438
|
extra: extra2
|
|
9403
9439
|
},
|
|
9404
9440
|
min: AssetMinBuilder16().assets().asset(),
|
|
9405
9441
|
destinationFee: {
|
|
9406
|
-
balance:
|
|
9442
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9407
9443
|
}
|
|
9408
9444
|
},
|
|
9409
9445
|
destination: {
|
|
9410
9446
|
asset: wifd,
|
|
9411
9447
|
chain: moonbeam,
|
|
9412
|
-
balance:
|
|
9448
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9413
9449
|
fee: {
|
|
9414
9450
|
amount: FeeBuilder37().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9415
9451
|
isAssetReserveChain: false
|
|
@@ -9417,26 +9453,26 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9417
9453
|
asset: dot
|
|
9418
9454
|
}
|
|
9419
9455
|
},
|
|
9420
|
-
extrinsic:
|
|
9456
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9421
9457
|
},
|
|
9422
9458
|
{
|
|
9423
9459
|
source: {
|
|
9424
9460
|
asset: wbtce,
|
|
9425
|
-
balance:
|
|
9461
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9426
9462
|
fee: {
|
|
9427
9463
|
asset: dot,
|
|
9428
|
-
balance:
|
|
9464
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9429
9465
|
extra: extra2
|
|
9430
9466
|
},
|
|
9431
9467
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9432
9468
|
destinationFee: {
|
|
9433
|
-
balance:
|
|
9469
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9434
9470
|
}
|
|
9435
9471
|
},
|
|
9436
9472
|
destination: {
|
|
9437
9473
|
asset: wbtce,
|
|
9438
9474
|
chain: moonbeam,
|
|
9439
|
-
balance:
|
|
9475
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9440
9476
|
fee: {
|
|
9441
9477
|
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({
|
|
9442
9478
|
isAssetReserveChain: false
|
|
@@ -9444,26 +9480,26 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9444
9480
|
asset: wbtce
|
|
9445
9481
|
}
|
|
9446
9482
|
},
|
|
9447
|
-
extrinsic:
|
|
9483
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9448
9484
|
},
|
|
9449
9485
|
{
|
|
9450
9486
|
source: {
|
|
9451
9487
|
asset: wethe,
|
|
9452
|
-
balance:
|
|
9488
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9453
9489
|
fee: {
|
|
9454
9490
|
asset: dot,
|
|
9455
|
-
balance:
|
|
9491
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9456
9492
|
extra: extra2
|
|
9457
9493
|
},
|
|
9458
9494
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9459
9495
|
destinationFee: {
|
|
9460
|
-
balance:
|
|
9496
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9461
9497
|
}
|
|
9462
9498
|
},
|
|
9463
9499
|
destination: {
|
|
9464
9500
|
asset: wethe,
|
|
9465
9501
|
chain: moonbeam,
|
|
9466
|
-
balance:
|
|
9502
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9467
9503
|
fee: {
|
|
9468
9504
|
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({
|
|
9469
9505
|
isAssetReserveChain: false
|
|
@@ -9471,26 +9507,26 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9471
9507
|
asset: wethe
|
|
9472
9508
|
}
|
|
9473
9509
|
},
|
|
9474
|
-
extrinsic:
|
|
9510
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9475
9511
|
},
|
|
9476
9512
|
{
|
|
9477
9513
|
source: {
|
|
9478
9514
|
asset: wstethe,
|
|
9479
|
-
balance:
|
|
9515
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9480
9516
|
fee: {
|
|
9481
9517
|
asset: dot,
|
|
9482
|
-
balance:
|
|
9518
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9483
9519
|
extra: extra2
|
|
9484
9520
|
},
|
|
9485
9521
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9486
9522
|
destinationFee: {
|
|
9487
|
-
balance:
|
|
9523
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9488
9524
|
}
|
|
9489
9525
|
},
|
|
9490
9526
|
destination: {
|
|
9491
9527
|
asset: wstethe,
|
|
9492
9528
|
chain: moonbeam,
|
|
9493
|
-
balance:
|
|
9529
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9494
9530
|
fee: {
|
|
9495
9531
|
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({
|
|
9496
9532
|
isAssetReserveChain: false
|
|
@@ -9498,15 +9534,15 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9498
9534
|
asset: wstethe
|
|
9499
9535
|
}
|
|
9500
9536
|
},
|
|
9501
|
-
extrinsic:
|
|
9537
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9502
9538
|
}
|
|
9503
9539
|
]
|
|
9504
9540
|
});
|
|
9505
9541
|
|
|
9506
9542
|
// src/xcm-configs/robonomics.ts
|
|
9507
9543
|
import {
|
|
9508
|
-
BalanceBuilder as
|
|
9509
|
-
ExtrinsicBuilder as
|
|
9544
|
+
BalanceBuilder as BalanceBuilder47,
|
|
9545
|
+
ExtrinsicBuilder as ExtrinsicBuilder34,
|
|
9510
9546
|
FeeBuilder as FeeBuilder38
|
|
9511
9547
|
} from "@moonbeam-network/xcm-builder";
|
|
9512
9548
|
var robonomicsRoutes = new ChainRoutes({
|
|
@@ -9515,33 +9551,33 @@ var robonomicsRoutes = new ChainRoutes({
|
|
|
9515
9551
|
{
|
|
9516
9552
|
source: {
|
|
9517
9553
|
asset: xrt,
|
|
9518
|
-
balance:
|
|
9554
|
+
balance: BalanceBuilder47().substrate().system().account(),
|
|
9519
9555
|
fee: {
|
|
9520
9556
|
asset: xrt,
|
|
9521
|
-
balance:
|
|
9557
|
+
balance: BalanceBuilder47().substrate().system().account()
|
|
9522
9558
|
},
|
|
9523
9559
|
destinationFee: {
|
|
9524
|
-
balance:
|
|
9560
|
+
balance: BalanceBuilder47().substrate().system().account()
|
|
9525
9561
|
}
|
|
9526
9562
|
},
|
|
9527
9563
|
destination: {
|
|
9528
9564
|
asset: xrt,
|
|
9529
9565
|
chain: moonriver,
|
|
9530
|
-
balance:
|
|
9566
|
+
balance: BalanceBuilder47().evm().erc20(),
|
|
9531
9567
|
fee: {
|
|
9532
9568
|
amount: FeeBuilder38().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9533
9569
|
asset: xrt
|
|
9534
9570
|
}
|
|
9535
9571
|
},
|
|
9536
|
-
extrinsic:
|
|
9572
|
+
extrinsic: ExtrinsicBuilder34().polkadotXcm().limitedReserveTransferAssets().here()
|
|
9537
9573
|
}
|
|
9538
9574
|
]
|
|
9539
9575
|
});
|
|
9540
9576
|
|
|
9541
9577
|
// src/xcm-configs/shiden.ts
|
|
9542
9578
|
import {
|
|
9543
|
-
BalanceBuilder as
|
|
9544
|
-
ExtrinsicBuilder as
|
|
9579
|
+
BalanceBuilder as BalanceBuilder48,
|
|
9580
|
+
ExtrinsicBuilder as ExtrinsicBuilder35,
|
|
9545
9581
|
FeeBuilder as FeeBuilder39
|
|
9546
9582
|
} from "@moonbeam-network/xcm-builder";
|
|
9547
9583
|
var shidenRoutes = new ChainRoutes({
|
|
@@ -9550,83 +9586,48 @@ var shidenRoutes = new ChainRoutes({
|
|
|
9550
9586
|
{
|
|
9551
9587
|
source: {
|
|
9552
9588
|
asset: sdn,
|
|
9553
|
-
balance:
|
|
9589
|
+
balance: BalanceBuilder48().substrate().system().account(),
|
|
9554
9590
|
fee: {
|
|
9555
9591
|
asset: sdn,
|
|
9556
|
-
balance:
|
|
9592
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9557
9593
|
},
|
|
9558
9594
|
destinationFee: {
|
|
9559
|
-
balance:
|
|
9595
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9560
9596
|
}
|
|
9561
9597
|
},
|
|
9562
9598
|
destination: {
|
|
9563
9599
|
asset: sdn,
|
|
9564
9600
|
chain: moonriver,
|
|
9565
|
-
balance:
|
|
9601
|
+
balance: BalanceBuilder48().evm().erc20(),
|
|
9566
9602
|
fee: {
|
|
9567
9603
|
amount: FeeBuilder39().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9568
9604
|
asset: sdn
|
|
9569
9605
|
}
|
|
9570
9606
|
},
|
|
9571
|
-
extrinsic:
|
|
9607
|
+
extrinsic: ExtrinsicBuilder35().xTokens().transferMultiAsset(shiden.parachainId).here()
|
|
9572
9608
|
},
|
|
9573
9609
|
{
|
|
9574
9610
|
source: {
|
|
9575
9611
|
asset: movr,
|
|
9576
|
-
balance:
|
|
9612
|
+
balance: BalanceBuilder48().substrate().assets().account(),
|
|
9577
9613
|
fee: {
|
|
9578
9614
|
asset: sdn,
|
|
9579
|
-
balance:
|
|
9615
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9580
9616
|
},
|
|
9581
9617
|
destinationFee: {
|
|
9582
|
-
balance:
|
|
9618
|
+
balance: BalanceBuilder48().substrate().assets().account()
|
|
9583
9619
|
}
|
|
9584
9620
|
},
|
|
9585
9621
|
destination: {
|
|
9586
9622
|
asset: movr,
|
|
9587
9623
|
chain: moonriver,
|
|
9588
|
-
balance:
|
|
9624
|
+
balance: BalanceBuilder48().substrate().system().account(),
|
|
9589
9625
|
fee: {
|
|
9590
9626
|
amount: FeeBuilder39().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9591
9627
|
asset: movr
|
|
9592
9628
|
}
|
|
9593
9629
|
},
|
|
9594
|
-
extrinsic:
|
|
9595
|
-
}
|
|
9596
|
-
]
|
|
9597
|
-
});
|
|
9598
|
-
|
|
9599
|
-
// src/xcm-configs/subsocial.ts
|
|
9600
|
-
import {
|
|
9601
|
-
BalanceBuilder as BalanceBuilder48,
|
|
9602
|
-
ExtrinsicBuilder as ExtrinsicBuilder35,
|
|
9603
|
-
FeeBuilder as FeeBuilder40
|
|
9604
|
-
} from "@moonbeam-network/xcm-builder";
|
|
9605
|
-
var subsocialRoutes = new ChainRoutes({
|
|
9606
|
-
chain: subsocial,
|
|
9607
|
-
routes: [
|
|
9608
|
-
{
|
|
9609
|
-
source: {
|
|
9610
|
-
asset: sub,
|
|
9611
|
-
balance: BalanceBuilder48().substrate().system().account(),
|
|
9612
|
-
fee: {
|
|
9613
|
-
asset: sub,
|
|
9614
|
-
balance: BalanceBuilder48().substrate().system().account()
|
|
9615
|
-
},
|
|
9616
|
-
destinationFee: {
|
|
9617
|
-
balance: BalanceBuilder48().substrate().system().account()
|
|
9618
|
-
}
|
|
9619
|
-
},
|
|
9620
|
-
destination: {
|
|
9621
|
-
asset: sub,
|
|
9622
|
-
chain: moonbeam,
|
|
9623
|
-
balance: BalanceBuilder48().evm().erc20(),
|
|
9624
|
-
fee: {
|
|
9625
|
-
amount: FeeBuilder40().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9626
|
-
asset: sub
|
|
9627
|
-
}
|
|
9628
|
-
},
|
|
9629
|
-
extrinsic: ExtrinsicBuilder35().polkadotXcm().limitedReserveTransferAssets().here()
|
|
9630
|
+
extrinsic: ExtrinsicBuilder35().xTokens().transfer()
|
|
9630
9631
|
}
|
|
9631
9632
|
]
|
|
9632
9633
|
});
|
|
@@ -9635,7 +9636,7 @@ var subsocialRoutes = new ChainRoutes({
|
|
|
9635
9636
|
import {
|
|
9636
9637
|
BalanceBuilder as BalanceBuilder49,
|
|
9637
9638
|
ExtrinsicBuilder as ExtrinsicBuilder36,
|
|
9638
|
-
FeeBuilder as
|
|
9639
|
+
FeeBuilder as FeeBuilder40
|
|
9639
9640
|
} from "@moonbeam-network/xcm-builder";
|
|
9640
9641
|
var turingAlphanetRoutes = new ChainRoutes({
|
|
9641
9642
|
chain: turingAlphanet,
|
|
@@ -9657,7 +9658,7 @@ var turingAlphanetRoutes = new ChainRoutes({
|
|
|
9657
9658
|
chain: moonbaseAlpha,
|
|
9658
9659
|
balance: BalanceBuilder49().evm().erc20(),
|
|
9659
9660
|
fee: {
|
|
9660
|
-
amount:
|
|
9661
|
+
amount: FeeBuilder40().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9661
9662
|
asset: tur
|
|
9662
9663
|
}
|
|
9663
9664
|
},
|
|
@@ -9680,7 +9681,7 @@ var turingAlphanetRoutes = new ChainRoutes({
|
|
|
9680
9681
|
chain: moonbaseAlpha,
|
|
9681
9682
|
balance: BalanceBuilder49().substrate().system().account(),
|
|
9682
9683
|
fee: {
|
|
9683
|
-
amount:
|
|
9684
|
+
amount: FeeBuilder40().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9684
9685
|
asset: dev
|
|
9685
9686
|
}
|
|
9686
9687
|
},
|
|
@@ -9693,7 +9694,7 @@ var turingAlphanetRoutes = new ChainRoutes({
|
|
|
9693
9694
|
import {
|
|
9694
9695
|
BalanceBuilder as BalanceBuilder50,
|
|
9695
9696
|
ExtrinsicBuilder as ExtrinsicBuilder37,
|
|
9696
|
-
FeeBuilder as
|
|
9697
|
+
FeeBuilder as FeeBuilder41
|
|
9697
9698
|
} from "@moonbeam-network/xcm-builder";
|
|
9698
9699
|
var zeitgeistRoutes = new ChainRoutes({
|
|
9699
9700
|
chain: zeitgeist,
|
|
@@ -9715,7 +9716,7 @@ var zeitgeistRoutes = new ChainRoutes({
|
|
|
9715
9716
|
chain: moonbeam,
|
|
9716
9717
|
balance: BalanceBuilder50().evm().erc20(),
|
|
9717
9718
|
fee: {
|
|
9718
|
-
amount:
|
|
9719
|
+
amount: FeeBuilder41().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9719
9720
|
asset: ztg
|
|
9720
9721
|
}
|
|
9721
9722
|
},
|
|
@@ -9738,7 +9739,7 @@ var zeitgeistRoutes = new ChainRoutes({
|
|
|
9738
9739
|
chain: moonbeam,
|
|
9739
9740
|
balance: BalanceBuilder50().evm().erc20(),
|
|
9740
9741
|
fee: {
|
|
9741
|
-
amount:
|
|
9742
|
+
amount: FeeBuilder41().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
9742
9743
|
asset: glmr
|
|
9743
9744
|
}
|
|
9744
9745
|
},
|
|
@@ -9761,7 +9762,7 @@ var zeitgeistRoutes = new ChainRoutes({
|
|
|
9761
9762
|
chain: moonbeam,
|
|
9762
9763
|
balance: BalanceBuilder50().substrate().system().account(),
|
|
9763
9764
|
fee: {
|
|
9764
|
-
amount:
|
|
9765
|
+
amount: FeeBuilder41().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9765
9766
|
asset: glmr
|
|
9766
9767
|
}
|
|
9767
9768
|
},
|
|
@@ -9794,6 +9795,7 @@ var xcmRoutesList = [
|
|
|
9794
9795
|
mantaParachainRoutes,
|
|
9795
9796
|
moonbaseAlphaRoutes2,
|
|
9796
9797
|
moonbaseBetaRoutes2,
|
|
9798
|
+
moonbaseStageRoutes,
|
|
9797
9799
|
moonbeamRoutes2,
|
|
9798
9800
|
moonriverRoutes,
|
|
9799
9801
|
neurowebRoutes,
|
|
@@ -9811,7 +9813,6 @@ var xcmRoutesList = [
|
|
|
9811
9813
|
alphanetAssetHubRoutes,
|
|
9812
9814
|
kusamaAssetHubRoutes,
|
|
9813
9815
|
polkadotAssetHubRoutes,
|
|
9814
|
-
subsocialRoutes,
|
|
9815
9816
|
// turingRoutes,
|
|
9816
9817
|
turingAlphanetRoutes,
|
|
9817
9818
|
zeitgeistRoutes
|
|
@@ -9840,7 +9841,6 @@ export {
|
|
|
9840
9841
|
astr,
|
|
9841
9842
|
auq,
|
|
9842
9843
|
axlusdc,
|
|
9843
|
-
betaDEV,
|
|
9844
9844
|
bifrostKusama,
|
|
9845
9845
|
bifrostPolkadot,
|
|
9846
9846
|
bnc,
|
|
@@ -9857,6 +9857,8 @@ export {
|
|
|
9857
9857
|
darwiniaCrab,
|
|
9858
9858
|
ded,
|
|
9859
9859
|
dev,
|
|
9860
|
+
devBeta,
|
|
9861
|
+
devStage,
|
|
9860
9862
|
dot,
|
|
9861
9863
|
eq,
|
|
9862
9864
|
eqd,
|
|
@@ -9932,7 +9934,6 @@ export {
|
|
|
9932
9934
|
soon,
|
|
9933
9935
|
stink,
|
|
9934
9936
|
sub,
|
|
9935
|
-
subsocial,
|
|
9936
9937
|
teer,
|
|
9937
9938
|
tnkr,
|
|
9938
9939
|
tt1,
|