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