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