@dedot/chaintypes 0.46.0 → 0.48.0
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/kusama/json-rpc.d.ts +3 -0
- package/kusama-asset-hub/json-rpc.d.ts +3 -0
- package/package.json +2 -2
- package/polkadot/json-rpc.d.ts +3 -0
- package/polkadot-asset-hub/json-rpc.d.ts +3 -0
- package/westend/index.d.ts +1 -1
- package/westend/json-rpc.d.ts +3 -0
- package/westend/types.d.ts +12 -6
- package/westend-asset-hub/json-rpc.d.ts +3 -0
- package/westend-people/consts.d.ts +37 -0
- package/westend-people/errors.d.ts +35 -0
- package/westend-people/events.d.ts +207 -31
- package/westend-people/index.d.ts +1 -1
- package/westend-people/json-rpc.d.ts +3 -0
- package/westend-people/query.d.ts +71 -23
- package/westend-people/runtime.d.ts +75 -4
- package/westend-people/tx.d.ts +178 -14
- package/westend-people/types.d.ts +701 -324
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
5
5
|
H256,
|
|
6
|
-
DispatchInfo,
|
|
7
6
|
DispatchError,
|
|
8
7
|
AccountId32,
|
|
9
8
|
FixedBytes,
|
|
@@ -62,6 +61,7 @@ export type PeopleWestendRuntimeRuntimeEvent =
|
|
|
62
61
|
| { pallet: 'Multisig'; palletEvent: PalletMultisigEvent }
|
|
63
62
|
| { pallet: 'Proxy'; palletEvent: PalletProxyEvent }
|
|
64
63
|
| { pallet: 'Identity'; palletEvent: PalletIdentityEvent }
|
|
64
|
+
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
|
|
65
65
|
| { pallet: 'IdentityMigrator'; palletEvent: PolkadotRuntimeCommonIdentityMigratorPalletEvent };
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -71,11 +71,11 @@ export type FrameSystemEvent =
|
|
|
71
71
|
/**
|
|
72
72
|
* An extrinsic completed successfully.
|
|
73
73
|
**/
|
|
74
|
-
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo:
|
|
74
|
+
| { name: 'ExtrinsicSuccess'; data: { dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
75
75
|
/**
|
|
76
76
|
* An extrinsic failed.
|
|
77
77
|
**/
|
|
78
|
-
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo:
|
|
78
|
+
| { name: 'ExtrinsicFailed'; data: { dispatchError: DispatchError; dispatchInfo: FrameSystemDispatchEventInfo } }
|
|
79
79
|
/**
|
|
80
80
|
* `:code` was updated.
|
|
81
81
|
**/
|
|
@@ -97,10 +97,32 @@ export type FrameSystemEvent =
|
|
|
97
97
|
**/
|
|
98
98
|
| { name: 'UpgradeAuthorized'; data: { codeHash: H256; checkVersion: boolean } };
|
|
99
99
|
|
|
100
|
+
export type FrameSystemDispatchEventInfo = {
|
|
101
|
+
weight: SpWeightsWeightV2Weight;
|
|
102
|
+
class: FrameSupportDispatchDispatchClass;
|
|
103
|
+
paysFee: FrameSupportDispatchPays;
|
|
104
|
+
};
|
|
105
|
+
|
|
100
106
|
export type FrameSupportDispatchDispatchClass = 'Normal' | 'Operational' | 'Mandatory';
|
|
101
107
|
|
|
102
108
|
export type FrameSupportDispatchPays = 'Yes' | 'No';
|
|
103
109
|
|
|
110
|
+
export type SpRuntimeProvingTrieTrieError =
|
|
111
|
+
| 'InvalidStateRoot'
|
|
112
|
+
| 'IncompleteDatabase'
|
|
113
|
+
| 'ValueAtIncompleteKey'
|
|
114
|
+
| 'DecoderError'
|
|
115
|
+
| 'InvalidHash'
|
|
116
|
+
| 'DuplicateKey'
|
|
117
|
+
| 'ExtraneousNode'
|
|
118
|
+
| 'ExtraneousValue'
|
|
119
|
+
| 'ExtraneousHashReference'
|
|
120
|
+
| 'InvalidChildReference'
|
|
121
|
+
| 'ValueMismatch'
|
|
122
|
+
| 'IncompleteProof'
|
|
123
|
+
| 'RootMismatch'
|
|
124
|
+
| 'DecodeError';
|
|
125
|
+
|
|
104
126
|
/**
|
|
105
127
|
* The `Event` enum of this pallet
|
|
106
128
|
**/
|
|
@@ -317,16 +339,16 @@ export type PalletXcmEvent =
|
|
|
317
339
|
/**
|
|
318
340
|
* Execution of an XCM message was attempted.
|
|
319
341
|
**/
|
|
320
|
-
| { name: 'Attempted'; data: { outcome:
|
|
342
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
321
343
|
/**
|
|
322
344
|
* A XCM message was sent.
|
|
323
345
|
**/
|
|
324
346
|
| {
|
|
325
347
|
name: 'Sent';
|
|
326
348
|
data: {
|
|
327
|
-
origin:
|
|
328
|
-
destination:
|
|
329
|
-
message:
|
|
349
|
+
origin: StagingXcmV5Location;
|
|
350
|
+
destination: StagingXcmV5Location;
|
|
351
|
+
message: StagingXcmV5Xcm;
|
|
330
352
|
messageId: FixedBytes<32>;
|
|
331
353
|
};
|
|
332
354
|
}
|
|
@@ -335,12 +357,12 @@ export type PalletXcmEvent =
|
|
|
335
357
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
336
358
|
* because the query timed out.
|
|
337
359
|
**/
|
|
338
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
360
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
339
361
|
/**
|
|
340
362
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
341
363
|
* no registered notification call.
|
|
342
364
|
**/
|
|
343
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
365
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
|
|
344
366
|
/**
|
|
345
367
|
* Query response has been received and query is removed. The registered notification has
|
|
346
368
|
* been dispatched and executed successfully.
|
|
@@ -379,7 +401,7 @@ export type PalletXcmEvent =
|
|
|
379
401
|
**/
|
|
380
402
|
| {
|
|
381
403
|
name: 'InvalidResponder';
|
|
382
|
-
data: { origin:
|
|
404
|
+
data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
|
|
383
405
|
}
|
|
384
406
|
/**
|
|
385
407
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -390,7 +412,7 @@ export type PalletXcmEvent =
|
|
|
390
412
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
391
413
|
* needed.
|
|
392
414
|
**/
|
|
393
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
415
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
394
416
|
/**
|
|
395
417
|
* Received query response has been read and removed.
|
|
396
418
|
**/
|
|
@@ -398,7 +420,7 @@ export type PalletXcmEvent =
|
|
|
398
420
|
/**
|
|
399
421
|
* Some assets have been placed in an asset trap.
|
|
400
422
|
**/
|
|
401
|
-
| { name: 'AssetsTrapped'; data: { hash: H256; origin:
|
|
423
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
402
424
|
/**
|
|
403
425
|
* An XCM version change notification message has been attempted to be sent.
|
|
404
426
|
*
|
|
@@ -407,9 +429,9 @@ export type PalletXcmEvent =
|
|
|
407
429
|
| {
|
|
408
430
|
name: 'VersionChangeNotified';
|
|
409
431
|
data: {
|
|
410
|
-
destination:
|
|
432
|
+
destination: StagingXcmV5Location;
|
|
411
433
|
result: number;
|
|
412
|
-
cost:
|
|
434
|
+
cost: StagingXcmV5AssetAssets;
|
|
413
435
|
messageId: FixedBytes<32>;
|
|
414
436
|
};
|
|
415
437
|
}
|
|
@@ -417,12 +439,12 @@ export type PalletXcmEvent =
|
|
|
417
439
|
* The supported version of a location has been changed. This might be through an
|
|
418
440
|
* automatic notification or a manual intervention.
|
|
419
441
|
**/
|
|
420
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
442
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
|
|
421
443
|
/**
|
|
422
444
|
* A given location which had a version change subscription was dropped owing to an error
|
|
423
445
|
* sending the notification to it.
|
|
424
446
|
**/
|
|
425
|
-
| { name: 'NotifyTargetSendFail'; data: { location:
|
|
447
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
|
|
426
448
|
/**
|
|
427
449
|
* A given location which had a version change subscription was dropped owing to an error
|
|
428
450
|
* migrating the location to our new XCM format.
|
|
@@ -437,7 +459,7 @@ export type PalletXcmEvent =
|
|
|
437
459
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
438
460
|
* needed.
|
|
439
461
|
**/
|
|
440
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
462
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
441
463
|
/**
|
|
442
464
|
* Expected query response has been received but the querier location of the response does
|
|
443
465
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -446,10 +468,10 @@ export type PalletXcmEvent =
|
|
|
446
468
|
| {
|
|
447
469
|
name: 'InvalidQuerier';
|
|
448
470
|
data: {
|
|
449
|
-
origin:
|
|
471
|
+
origin: StagingXcmV5Location;
|
|
450
472
|
queryId: bigint;
|
|
451
|
-
expectedQuerier:
|
|
452
|
-
maybeActualQuerier?:
|
|
473
|
+
expectedQuerier: StagingXcmV5Location;
|
|
474
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
453
475
|
};
|
|
454
476
|
}
|
|
455
477
|
/**
|
|
@@ -458,14 +480,14 @@ export type PalletXcmEvent =
|
|
|
458
480
|
**/
|
|
459
481
|
| {
|
|
460
482
|
name: 'VersionNotifyStarted';
|
|
461
|
-
data: { destination:
|
|
483
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
462
484
|
}
|
|
463
485
|
/**
|
|
464
486
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
465
487
|
**/
|
|
466
488
|
| {
|
|
467
489
|
name: 'VersionNotifyRequested';
|
|
468
|
-
data: { destination:
|
|
490
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
469
491
|
}
|
|
470
492
|
/**
|
|
471
493
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -473,27 +495,27 @@ export type PalletXcmEvent =
|
|
|
473
495
|
**/
|
|
474
496
|
| {
|
|
475
497
|
name: 'VersionNotifyUnrequested';
|
|
476
|
-
data: { destination:
|
|
498
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
477
499
|
}
|
|
478
500
|
/**
|
|
479
501
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
480
502
|
**/
|
|
481
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
503
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
|
|
482
504
|
/**
|
|
483
505
|
* Some assets have been claimed from an asset trap
|
|
484
506
|
**/
|
|
485
|
-
| { name: 'AssetsClaimed'; data: { hash: H256; origin:
|
|
507
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
486
508
|
/**
|
|
487
509
|
* A XCM version migration finished.
|
|
488
510
|
**/
|
|
489
511
|
| { name: 'VersionMigrationFinished'; data: { version: number } };
|
|
490
512
|
|
|
491
|
-
export type
|
|
513
|
+
export type StagingXcmV5TraitsOutcome =
|
|
492
514
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
493
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
494
|
-
| { type: 'Error'; value: { error:
|
|
515
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
516
|
+
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
495
517
|
|
|
496
|
-
export type
|
|
518
|
+
export type XcmV5TraitsError =
|
|
497
519
|
| { type: 'Overflow' }
|
|
498
520
|
| { type: 'Unimplemented' }
|
|
499
521
|
| { type: 'UntrustedReserveLocation' }
|
|
@@ -529,45 +551,43 @@ export type XcmV3TraitsError =
|
|
|
529
551
|
| { type: 'NoPermission' }
|
|
530
552
|
| { type: 'Unanchored' }
|
|
531
553
|
| { type: 'NotDepositable' }
|
|
554
|
+
| { type: 'TooManyAssets' }
|
|
532
555
|
| { type: 'UnhandledXcmVersion' }
|
|
533
556
|
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
534
557
|
| { type: 'Barrier' }
|
|
535
558
|
| { type: 'WeightNotComputable' }
|
|
536
559
|
| { type: 'ExceedsStackLimit' };
|
|
537
560
|
|
|
538
|
-
export type
|
|
561
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
539
562
|
|
|
540
|
-
export type
|
|
563
|
+
export type StagingXcmV5Junctions =
|
|
541
564
|
| { type: 'Here' }
|
|
542
|
-
| { type: 'X1'; value: FixedArray<
|
|
543
|
-
| { type: 'X2'; value: FixedArray<
|
|
544
|
-
| { type: 'X3'; value: FixedArray<
|
|
545
|
-
| { type: 'X4'; value: FixedArray<
|
|
546
|
-
| { type: 'X5'; value: FixedArray<
|
|
547
|
-
| { type: 'X6'; value: FixedArray<
|
|
548
|
-
| { type: 'X7'; value: FixedArray<
|
|
549
|
-
| { type: 'X8'; value: FixedArray<
|
|
550
|
-
|
|
551
|
-
export type
|
|
565
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
566
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
567
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
568
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
569
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
570
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
571
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
572
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
573
|
+
|
|
574
|
+
export type StagingXcmV5Junction =
|
|
552
575
|
| { type: 'Parachain'; value: number }
|
|
553
|
-
| { type: 'AccountId32'; value: { network?:
|
|
554
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
555
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
576
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
577
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
578
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
556
579
|
| { type: 'PalletInstance'; value: number }
|
|
557
580
|
| { type: 'GeneralIndex'; value: bigint }
|
|
558
581
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
559
582
|
| { type: 'OnlyChild' }
|
|
560
583
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
561
|
-
| { type: 'GlobalConsensus'; value:
|
|
584
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
562
585
|
|
|
563
|
-
export type
|
|
586
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
564
587
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
565
588
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
566
589
|
| { type: 'Polkadot' }
|
|
567
590
|
| { type: 'Kusama' }
|
|
568
|
-
| { type: 'Westend' }
|
|
569
|
-
| { type: 'Rococo' }
|
|
570
|
-
| { type: 'Wococo' }
|
|
571
591
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
572
592
|
| { type: 'BitcoinCore' }
|
|
573
593
|
| { type: 'BitcoinCash' }
|
|
@@ -592,107 +612,124 @@ export type XcmV3JunctionBodyPart =
|
|
|
592
612
|
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
593
613
|
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
594
614
|
|
|
595
|
-
export type
|
|
615
|
+
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
596
616
|
|
|
597
|
-
export type
|
|
598
|
-
| { type: 'WithdrawAsset'; value:
|
|
599
|
-
| { type: 'ReserveAssetDeposited'; value:
|
|
600
|
-
| { type: 'ReceiveTeleportedAsset'; value:
|
|
617
|
+
export type StagingXcmV5Instruction =
|
|
618
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
|
|
619
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
|
|
620
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
|
|
601
621
|
| {
|
|
602
622
|
type: 'QueryResponse';
|
|
603
623
|
value: {
|
|
604
624
|
queryId: bigint;
|
|
605
|
-
response:
|
|
625
|
+
response: StagingXcmV5Response;
|
|
606
626
|
maxWeight: SpWeightsWeightV2Weight;
|
|
607
|
-
querier?:
|
|
627
|
+
querier?: StagingXcmV5Location | undefined;
|
|
608
628
|
};
|
|
609
629
|
}
|
|
610
|
-
| { type: 'TransferAsset'; value: { assets:
|
|
630
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
|
|
611
631
|
| {
|
|
612
632
|
type: 'TransferReserveAsset';
|
|
613
|
-
value: { assets:
|
|
633
|
+
value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
614
634
|
}
|
|
615
635
|
| {
|
|
616
636
|
type: 'Transact';
|
|
617
|
-
value: {
|
|
637
|
+
value: {
|
|
638
|
+
originKind: XcmV3OriginKind;
|
|
639
|
+
fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
|
|
640
|
+
call: XcmDoubleEncoded;
|
|
641
|
+
};
|
|
618
642
|
}
|
|
619
643
|
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
620
644
|
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
621
645
|
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
622
646
|
| { type: 'ClearOrigin' }
|
|
623
|
-
| { type: 'DescendOrigin'; value:
|
|
624
|
-
| { type: 'ReportError'; value:
|
|
625
|
-
| { type: 'DepositAsset'; value: { assets:
|
|
647
|
+
| { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
|
|
648
|
+
| { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
|
|
649
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
|
|
626
650
|
| {
|
|
627
651
|
type: 'DepositReserveAsset';
|
|
628
|
-
value: { assets:
|
|
652
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
629
653
|
}
|
|
630
654
|
| {
|
|
631
655
|
type: 'ExchangeAsset';
|
|
632
|
-
value: { give:
|
|
656
|
+
value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
|
|
633
657
|
}
|
|
634
658
|
| {
|
|
635
659
|
type: 'InitiateReserveWithdraw';
|
|
636
|
-
value: { assets:
|
|
660
|
+
value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
637
661
|
}
|
|
638
662
|
| {
|
|
639
663
|
type: 'InitiateTeleport';
|
|
640
|
-
value: { assets:
|
|
664
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
641
665
|
}
|
|
642
666
|
| {
|
|
643
667
|
type: 'ReportHolding';
|
|
644
|
-
value: { responseInfo:
|
|
668
|
+
value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
|
|
645
669
|
}
|
|
646
|
-
| { type: 'BuyExecution'; value: { fees:
|
|
670
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
|
|
647
671
|
| { type: 'RefundSurplus' }
|
|
648
|
-
| { type: 'SetErrorHandler'; value:
|
|
649
|
-
| { type: 'SetAppendix'; value:
|
|
672
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
|
|
673
|
+
| { type: 'SetAppendix'; value: StagingXcmV5Xcm }
|
|
650
674
|
| { type: 'ClearError' }
|
|
651
|
-
| { type: 'ClaimAsset'; value: { assets:
|
|
675
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
|
|
652
676
|
| { type: 'Trap'; value: bigint }
|
|
653
677
|
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
654
678
|
| { type: 'UnsubscribeVersion' }
|
|
655
|
-
| { type: 'BurnAsset'; value:
|
|
656
|
-
| { type: 'ExpectAsset'; value:
|
|
657
|
-
| { type: 'ExpectOrigin'; value?:
|
|
658
|
-
| { type: 'ExpectError'; value?: [number,
|
|
679
|
+
| { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
|
|
680
|
+
| { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
|
|
681
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
|
|
682
|
+
| { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
|
|
659
683
|
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
660
|
-
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo:
|
|
684
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
|
|
661
685
|
| {
|
|
662
686
|
type: 'ExpectPallet';
|
|
663
687
|
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
664
688
|
}
|
|
665
|
-
| { type: 'ReportTransactStatus'; value:
|
|
689
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
|
|
666
690
|
| { type: 'ClearTransactStatus' }
|
|
667
|
-
| { type: 'UniversalOrigin'; value:
|
|
691
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
|
|
668
692
|
| {
|
|
669
693
|
type: 'ExportMessage';
|
|
670
|
-
value: { network:
|
|
694
|
+
value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
|
|
671
695
|
}
|
|
672
|
-
| { type: 'LockAsset'; value: { asset:
|
|
673
|
-
| { type: 'UnlockAsset'; value: { asset:
|
|
674
|
-
| { type: 'NoteUnlockable'; value: { asset:
|
|
675
|
-
| { type: 'RequestUnlock'; value: { asset:
|
|
696
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
|
|
697
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
|
|
698
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
|
|
699
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
|
|
676
700
|
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
677
701
|
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
678
702
|
| { type: 'ClearTopic' }
|
|
679
|
-
| { type: 'AliasOrigin'; value:
|
|
703
|
+
| { type: 'AliasOrigin'; value: StagingXcmV5Location }
|
|
680
704
|
| {
|
|
681
705
|
type: 'UnpaidExecution';
|
|
682
|
-
value: { weightLimit: XcmV3WeightLimit; checkOrigin?:
|
|
683
|
-
}
|
|
706
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
|
|
707
|
+
}
|
|
708
|
+
| { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
|
|
709
|
+
| {
|
|
710
|
+
type: 'InitiateTransfer';
|
|
711
|
+
value: {
|
|
712
|
+
destination: StagingXcmV5Location;
|
|
713
|
+
remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
|
|
714
|
+
preserveOrigin: boolean;
|
|
715
|
+
assets: Array<StagingXcmV5AssetAssetTransferFilter>;
|
|
716
|
+
remoteXcm: StagingXcmV5Xcm;
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
| { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
|
|
720
|
+
| { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
|
|
684
721
|
|
|
685
|
-
export type
|
|
722
|
+
export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
|
|
686
723
|
|
|
687
|
-
export type
|
|
724
|
+
export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
|
|
688
725
|
|
|
689
|
-
export type
|
|
726
|
+
export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
|
|
690
727
|
|
|
691
|
-
export type
|
|
728
|
+
export type StagingXcmV5AssetFungibility =
|
|
692
729
|
| { type: 'Fungible'; value: bigint }
|
|
693
|
-
| { type: 'NonFungible'; value:
|
|
730
|
+
| { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
|
|
694
731
|
|
|
695
|
-
export type
|
|
732
|
+
export type StagingXcmV5AssetAssetInstance =
|
|
696
733
|
| { type: 'Undefined' }
|
|
697
734
|
| { type: 'Index'; value: bigint }
|
|
698
735
|
| { type: 'Array4'; value: FixedBytes<4> }
|
|
@@ -700,15 +737,15 @@ export type StagingXcmV4AssetAssetInstance =
|
|
|
700
737
|
| { type: 'Array16'; value: FixedBytes<16> }
|
|
701
738
|
| { type: 'Array32'; value: FixedBytes<32> };
|
|
702
739
|
|
|
703
|
-
export type
|
|
740
|
+
export type StagingXcmV5Response =
|
|
704
741
|
| { type: 'Null' }
|
|
705
|
-
| { type: 'Assets'; value:
|
|
706
|
-
| { type: 'ExecutionResult'; value?: [number,
|
|
742
|
+
| { type: 'Assets'; value: StagingXcmV5AssetAssets }
|
|
743
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
|
|
707
744
|
| { type: 'Version'; value: number }
|
|
708
|
-
| { type: 'PalletsInfo'; value: Array<
|
|
745
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
|
|
709
746
|
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
710
747
|
|
|
711
|
-
export type
|
|
748
|
+
export type StagingXcmV5PalletInfo = {
|
|
712
749
|
index: number;
|
|
713
750
|
name: Bytes;
|
|
714
751
|
moduleName: Bytes;
|
|
@@ -726,118 +763,40 @@ export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm
|
|
|
726
763
|
|
|
727
764
|
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
728
765
|
|
|
729
|
-
export type
|
|
730
|
-
destination:
|
|
766
|
+
export type StagingXcmV5QueryResponseInfo = {
|
|
767
|
+
destination: StagingXcmV5Location;
|
|
731
768
|
queryId: bigint;
|
|
732
769
|
maxWeight: SpWeightsWeightV2Weight;
|
|
733
770
|
};
|
|
734
771
|
|
|
735
|
-
export type
|
|
736
|
-
| { type: 'Definite'; value:
|
|
737
|
-
| { type: 'Wild'; value:
|
|
772
|
+
export type StagingXcmV5AssetAssetFilter =
|
|
773
|
+
| { type: 'Definite'; value: StagingXcmV5AssetAssets }
|
|
774
|
+
| { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
|
|
738
775
|
|
|
739
|
-
export type
|
|
776
|
+
export type StagingXcmV5AssetWildAsset =
|
|
740
777
|
| { type: 'All' }
|
|
741
|
-
| { type: 'AllOf'; value: { id:
|
|
778
|
+
| { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
|
|
742
779
|
| { type: 'AllCounted'; value: number }
|
|
743
780
|
| {
|
|
744
781
|
type: 'AllOfCounted';
|
|
745
|
-
value: { id:
|
|
782
|
+
value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
|
|
746
783
|
};
|
|
747
784
|
|
|
748
|
-
export type
|
|
785
|
+
export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
749
786
|
|
|
750
787
|
export type XcmV3WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: SpWeightsWeightV2Weight };
|
|
751
788
|
|
|
752
|
-
export type
|
|
753
|
-
| { type: '
|
|
754
|
-
| { type: '
|
|
755
|
-
| { type: '
|
|
756
|
-
|
|
757
|
-
export type XcmV2MultiassetMultiAssets = Array<XcmV2MultiassetMultiAsset>;
|
|
758
|
-
|
|
759
|
-
export type XcmV2MultiassetMultiAsset = { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetFungibility };
|
|
760
|
-
|
|
761
|
-
export type XcmV2MultiassetAssetId =
|
|
762
|
-
| { type: 'Concrete'; value: XcmV2MultilocationMultiLocation }
|
|
763
|
-
| { type: 'Abstract'; value: Bytes };
|
|
764
|
-
|
|
765
|
-
export type XcmV2MultilocationMultiLocation = { parents: number; interior: XcmV2MultilocationJunctions };
|
|
766
|
-
|
|
767
|
-
export type XcmV2MultilocationJunctions =
|
|
768
|
-
| { type: 'Here' }
|
|
769
|
-
| { type: 'X1'; value: XcmV2Junction }
|
|
770
|
-
| { type: 'X2'; value: [XcmV2Junction, XcmV2Junction] }
|
|
771
|
-
| { type: 'X3'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
772
|
-
| { type: 'X4'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
773
|
-
| { type: 'X5'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
774
|
-
| { type: 'X6'; value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction] }
|
|
775
|
-
| {
|
|
776
|
-
type: 'X7';
|
|
777
|
-
value: [XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction, XcmV2Junction];
|
|
778
|
-
}
|
|
779
|
-
| {
|
|
780
|
-
type: 'X8';
|
|
781
|
-
value: [
|
|
782
|
-
XcmV2Junction,
|
|
783
|
-
XcmV2Junction,
|
|
784
|
-
XcmV2Junction,
|
|
785
|
-
XcmV2Junction,
|
|
786
|
-
XcmV2Junction,
|
|
787
|
-
XcmV2Junction,
|
|
788
|
-
XcmV2Junction,
|
|
789
|
-
XcmV2Junction,
|
|
790
|
-
];
|
|
791
|
-
};
|
|
792
|
-
|
|
793
|
-
export type XcmV2Junction =
|
|
794
|
-
| { type: 'Parachain'; value: number }
|
|
795
|
-
| { type: 'AccountId32'; value: { network: XcmV2NetworkId; id: FixedBytes<32> } }
|
|
796
|
-
| { type: 'AccountIndex64'; value: { network: XcmV2NetworkId; index: bigint } }
|
|
797
|
-
| { type: 'AccountKey20'; value: { network: XcmV2NetworkId; key: FixedBytes<20> } }
|
|
798
|
-
| { type: 'PalletInstance'; value: number }
|
|
799
|
-
| { type: 'GeneralIndex'; value: bigint }
|
|
800
|
-
| { type: 'GeneralKey'; value: Bytes }
|
|
801
|
-
| { type: 'OnlyChild' }
|
|
802
|
-
| { type: 'Plurality'; value: { id: XcmV2BodyId; part: XcmV2BodyPart } };
|
|
803
|
-
|
|
804
|
-
export type XcmV2NetworkId =
|
|
805
|
-
| { type: 'Any' }
|
|
806
|
-
| { type: 'Named'; value: Bytes }
|
|
807
|
-
| { type: 'Polkadot' }
|
|
808
|
-
| { type: 'Kusama' };
|
|
809
|
-
|
|
810
|
-
export type XcmV2BodyId =
|
|
811
|
-
| { type: 'Unit' }
|
|
812
|
-
| { type: 'Named'; value: Bytes }
|
|
813
|
-
| { type: 'Index'; value: number }
|
|
814
|
-
| { type: 'Executive' }
|
|
815
|
-
| { type: 'Technical' }
|
|
816
|
-
| { type: 'Legislative' }
|
|
817
|
-
| { type: 'Judicial' }
|
|
818
|
-
| { type: 'Defense' }
|
|
819
|
-
| { type: 'Administration' }
|
|
820
|
-
| { type: 'Treasury' };
|
|
821
|
-
|
|
822
|
-
export type XcmV2BodyPart =
|
|
823
|
-
| { type: 'Voice' }
|
|
824
|
-
| { type: 'Members'; value: { count: number } }
|
|
825
|
-
| { type: 'Fraction'; value: { nom: number; denom: number } }
|
|
826
|
-
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
827
|
-
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
789
|
+
export type StagingXcmV5AssetAssetTransferFilter =
|
|
790
|
+
| { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
|
|
791
|
+
| { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
|
|
792
|
+
| { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
|
|
828
793
|
|
|
829
|
-
export type
|
|
830
|
-
| { type: 'Fungible'; value: bigint }
|
|
831
|
-
| { type: 'NonFungible'; value: XcmV2MultiassetAssetInstance };
|
|
794
|
+
export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
|
|
832
795
|
|
|
833
|
-
export type
|
|
834
|
-
| { type: '
|
|
835
|
-
| { type: '
|
|
836
|
-
| { type: '
|
|
837
|
-
| { type: 'Array8'; value: FixedBytes<8> }
|
|
838
|
-
| { type: 'Array16'; value: FixedBytes<16> }
|
|
839
|
-
| { type: 'Array32'; value: FixedBytes<32> }
|
|
840
|
-
| { type: 'Blob'; value: Bytes };
|
|
796
|
+
export type XcmVersionedAssets =
|
|
797
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
798
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
799
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssets };
|
|
841
800
|
|
|
842
801
|
export type XcmV3MultiassetMultiAssets = Array<XcmV3MultiassetMultiAsset>;
|
|
843
802
|
|
|
@@ -912,10 +871,66 @@ export type XcmV3MultiassetAssetInstance =
|
|
|
912
871
|
| { type: 'Array16'; value: FixedBytes<16> }
|
|
913
872
|
| { type: 'Array32'; value: FixedBytes<32> };
|
|
914
873
|
|
|
874
|
+
export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
|
|
875
|
+
|
|
876
|
+
export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
|
|
877
|
+
|
|
878
|
+
export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
|
|
879
|
+
|
|
880
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
881
|
+
|
|
882
|
+
export type StagingXcmV4Junctions =
|
|
883
|
+
| { type: 'Here' }
|
|
884
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
885
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
886
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
887
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
888
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
889
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
890
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
891
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
892
|
+
|
|
893
|
+
export type StagingXcmV4Junction =
|
|
894
|
+
| { type: 'Parachain'; value: number }
|
|
895
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
896
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
897
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
898
|
+
| { type: 'PalletInstance'; value: number }
|
|
899
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
900
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
901
|
+
| { type: 'OnlyChild' }
|
|
902
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
903
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
904
|
+
|
|
905
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
906
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
907
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
908
|
+
| { type: 'Polkadot' }
|
|
909
|
+
| { type: 'Kusama' }
|
|
910
|
+
| { type: 'Westend' }
|
|
911
|
+
| { type: 'Rococo' }
|
|
912
|
+
| { type: 'Wococo' }
|
|
913
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
914
|
+
| { type: 'BitcoinCore' }
|
|
915
|
+
| { type: 'BitcoinCash' }
|
|
916
|
+
| { type: 'PolkadotBulletin' };
|
|
917
|
+
|
|
918
|
+
export type StagingXcmV4AssetFungibility =
|
|
919
|
+
| { type: 'Fungible'; value: bigint }
|
|
920
|
+
| { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
|
|
921
|
+
|
|
922
|
+
export type StagingXcmV4AssetAssetInstance =
|
|
923
|
+
| { type: 'Undefined' }
|
|
924
|
+
| { type: 'Index'; value: bigint }
|
|
925
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
926
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
927
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
928
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
929
|
+
|
|
915
930
|
export type XcmVersionedLocation =
|
|
916
|
-
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
917
931
|
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
918
|
-
| { type: 'V4'; value: StagingXcmV4Location }
|
|
932
|
+
| { type: 'V4'; value: StagingXcmV4Location }
|
|
933
|
+
| { type: 'V5'; value: StagingXcmV5Location };
|
|
919
934
|
|
|
920
935
|
/**
|
|
921
936
|
* The `Event` enum of this pallet
|
|
@@ -935,7 +950,7 @@ export type CumulusPalletXcmEvent =
|
|
|
935
950
|
* Downward message executed with the given outcome.
|
|
936
951
|
* \[ id, outcome \]
|
|
937
952
|
**/
|
|
938
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
953
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
|
|
939
954
|
|
|
940
955
|
/**
|
|
941
956
|
* The `Event` enum of this pallet
|
|
@@ -1220,6 +1235,14 @@ export type PalletIdentityEvent =
|
|
|
1220
1235
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1221
1236
|
**/
|
|
1222
1237
|
| { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
1238
|
+
/**
|
|
1239
|
+
* An account's sub-identities were set (in bulk).
|
|
1240
|
+
**/
|
|
1241
|
+
| { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
|
|
1242
|
+
/**
|
|
1243
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
1244
|
+
**/
|
|
1245
|
+
| { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
|
|
1223
1246
|
/**
|
|
1224
1247
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
1225
1248
|
**/
|
|
@@ -1257,7 +1280,130 @@ export type PalletIdentityEvent =
|
|
|
1257
1280
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
1258
1281
|
* identity) has been removed.
|
|
1259
1282
|
**/
|
|
1260
|
-
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1283
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1284
|
+
/**
|
|
1285
|
+
* A username has been unbound.
|
|
1286
|
+
**/
|
|
1287
|
+
| { name: 'UsernameUnbound'; data: { username: Bytes } }
|
|
1288
|
+
/**
|
|
1289
|
+
* A username has been removed.
|
|
1290
|
+
**/
|
|
1291
|
+
| { name: 'UsernameRemoved'; data: { username: Bytes } }
|
|
1292
|
+
/**
|
|
1293
|
+
* A username has been killed.
|
|
1294
|
+
**/
|
|
1295
|
+
| { name: 'UsernameKilled'; data: { username: Bytes } };
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* The `Event` enum of this pallet
|
|
1299
|
+
**/
|
|
1300
|
+
export type PalletMigrationsEvent =
|
|
1301
|
+
/**
|
|
1302
|
+
* A Runtime upgrade started.
|
|
1303
|
+
*
|
|
1304
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
1305
|
+
**/
|
|
1306
|
+
| {
|
|
1307
|
+
name: 'UpgradeStarted';
|
|
1308
|
+
data: {
|
|
1309
|
+
/**
|
|
1310
|
+
* The number of migrations that this upgrade contains.
|
|
1311
|
+
*
|
|
1312
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
1313
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
1314
|
+
**/
|
|
1315
|
+
migrations: number;
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
* The current runtime upgrade completed.
|
|
1320
|
+
*
|
|
1321
|
+
* This implies that all of its migrations completed successfully as well.
|
|
1322
|
+
**/
|
|
1323
|
+
| { name: 'UpgradeCompleted' }
|
|
1324
|
+
/**
|
|
1325
|
+
* Runtime upgrade failed.
|
|
1326
|
+
*
|
|
1327
|
+
* This is very bad and will require governance intervention.
|
|
1328
|
+
**/
|
|
1329
|
+
| { name: 'UpgradeFailed' }
|
|
1330
|
+
/**
|
|
1331
|
+
* A migration was skipped since it was already executed in the past.
|
|
1332
|
+
**/
|
|
1333
|
+
| {
|
|
1334
|
+
name: 'MigrationSkipped';
|
|
1335
|
+
data: {
|
|
1336
|
+
/**
|
|
1337
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
1338
|
+
**/
|
|
1339
|
+
index: number;
|
|
1340
|
+
};
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* A migration progressed.
|
|
1344
|
+
**/
|
|
1345
|
+
| {
|
|
1346
|
+
name: 'MigrationAdvanced';
|
|
1347
|
+
data: {
|
|
1348
|
+
/**
|
|
1349
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
1350
|
+
**/
|
|
1351
|
+
index: number;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* The number of blocks that this migration took so far.
|
|
1355
|
+
**/
|
|
1356
|
+
took: number;
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* A Migration completed.
|
|
1361
|
+
**/
|
|
1362
|
+
| {
|
|
1363
|
+
name: 'MigrationCompleted';
|
|
1364
|
+
data: {
|
|
1365
|
+
/**
|
|
1366
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
1367
|
+
**/
|
|
1368
|
+
index: number;
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* The number of blocks that this migration took so far.
|
|
1372
|
+
**/
|
|
1373
|
+
took: number;
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* A Migration failed.
|
|
1378
|
+
*
|
|
1379
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
1380
|
+
**/
|
|
1381
|
+
| {
|
|
1382
|
+
name: 'MigrationFailed';
|
|
1383
|
+
data: {
|
|
1384
|
+
/**
|
|
1385
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
1386
|
+
**/
|
|
1387
|
+
index: number;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* The number of blocks that this migration took so far.
|
|
1391
|
+
**/
|
|
1392
|
+
took: number;
|
|
1393
|
+
};
|
|
1394
|
+
}
|
|
1395
|
+
/**
|
|
1396
|
+
* The set of historical migrations has been cleared.
|
|
1397
|
+
**/
|
|
1398
|
+
| {
|
|
1399
|
+
name: 'HistoricCleared';
|
|
1400
|
+
data: {
|
|
1401
|
+
/**
|
|
1402
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
1403
|
+
**/
|
|
1404
|
+
nextCursor?: Bytes | undefined;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1261
1407
|
|
|
1262
1408
|
/**
|
|
1263
1409
|
* The `Event` enum of this pallet
|
|
@@ -2439,23 +2585,25 @@ export type PalletXcmQueryStatus =
|
|
|
2439
2585
|
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
2440
2586
|
|
|
2441
2587
|
export type XcmVersionedResponse =
|
|
2442
|
-
| { type: 'V2'; value: XcmV2Response }
|
|
2443
2588
|
| { type: 'V3'; value: XcmV3Response }
|
|
2444
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
2589
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
2590
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
2445
2591
|
|
|
2446
|
-
export type
|
|
2592
|
+
export type XcmV3Response =
|
|
2447
2593
|
| { type: 'Null' }
|
|
2448
|
-
| { type: 'Assets'; value:
|
|
2449
|
-
| { type: 'ExecutionResult'; value?: [number,
|
|
2450
|
-
| { type: 'Version'; value: number }
|
|
2594
|
+
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
2595
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
2596
|
+
| { type: 'Version'; value: number }
|
|
2597
|
+
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
2598
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
2451
2599
|
|
|
2452
|
-
export type
|
|
2600
|
+
export type XcmV3TraitsError =
|
|
2453
2601
|
| { type: 'Overflow' }
|
|
2454
2602
|
| { type: 'Unimplemented' }
|
|
2455
2603
|
| { type: 'UntrustedReserveLocation' }
|
|
2456
2604
|
| { type: 'UntrustedTeleportLocation' }
|
|
2457
|
-
| { type: '
|
|
2458
|
-
| { type: '
|
|
2605
|
+
| { type: 'LocationFull' }
|
|
2606
|
+
| { type: 'LocationNotInvertible' }
|
|
2459
2607
|
| { type: 'BadOrigin' }
|
|
2460
2608
|
| { type: 'InvalidLocation' }
|
|
2461
2609
|
| { type: 'AssetNotFound' }
|
|
@@ -2472,20 +2620,43 @@ export type XcmV2TraitsError =
|
|
|
2472
2620
|
| { type: 'NotHoldingFees' }
|
|
2473
2621
|
| { type: 'TooExpensive' }
|
|
2474
2622
|
| { type: 'Trap'; value: bigint }
|
|
2623
|
+
| { type: 'ExpectationFalse' }
|
|
2624
|
+
| { type: 'PalletNotFound' }
|
|
2625
|
+
| { type: 'NameMismatch' }
|
|
2626
|
+
| { type: 'VersionIncompatible' }
|
|
2627
|
+
| { type: 'HoldingWouldOverflow' }
|
|
2628
|
+
| { type: 'ExportError' }
|
|
2629
|
+
| { type: 'ReanchorFailed' }
|
|
2630
|
+
| { type: 'NoDeal' }
|
|
2631
|
+
| { type: 'FeesNotMet' }
|
|
2632
|
+
| { type: 'LockError' }
|
|
2633
|
+
| { type: 'NoPermission' }
|
|
2634
|
+
| { type: 'Unanchored' }
|
|
2635
|
+
| { type: 'NotDepositable' }
|
|
2475
2636
|
| { type: 'UnhandledXcmVersion' }
|
|
2476
|
-
| { type: 'WeightLimitReached'; value:
|
|
2637
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
2477
2638
|
| { type: 'Barrier' }
|
|
2478
|
-
| { type: 'WeightNotComputable' }
|
|
2639
|
+
| { type: 'WeightNotComputable' }
|
|
2640
|
+
| { type: 'ExceedsStackLimit' };
|
|
2479
2641
|
|
|
2480
|
-
export type
|
|
2642
|
+
export type XcmV3PalletInfo = {
|
|
2643
|
+
index: number;
|
|
2644
|
+
name: Bytes;
|
|
2645
|
+
moduleName: Bytes;
|
|
2646
|
+
major: number;
|
|
2647
|
+
minor: number;
|
|
2648
|
+
patch: number;
|
|
2649
|
+
};
|
|
2650
|
+
|
|
2651
|
+
export type StagingXcmV4Response =
|
|
2481
2652
|
| { type: 'Null' }
|
|
2482
|
-
| { type: 'Assets'; value:
|
|
2653
|
+
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
2483
2654
|
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
2484
2655
|
| { type: 'Version'; value: number }
|
|
2485
|
-
| { type: 'PalletsInfo'; value: Array<
|
|
2656
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
2486
2657
|
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
2487
2658
|
|
|
2488
|
-
export type
|
|
2659
|
+
export type StagingXcmV4PalletInfo = {
|
|
2489
2660
|
index: number;
|
|
2490
2661
|
name: Bytes;
|
|
2491
2662
|
moduleName: Bytes;
|
|
@@ -2502,7 +2673,8 @@ export type PalletXcmVersionMigrationStage =
|
|
|
2502
2673
|
|
|
2503
2674
|
export type XcmVersionedAssetId =
|
|
2504
2675
|
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
2505
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
2676
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
2677
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
2506
2678
|
|
|
2507
2679
|
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
2508
2680
|
amount: bigint;
|
|
@@ -2605,7 +2777,7 @@ export type PalletXcmCall =
|
|
|
2605
2777
|
* - `location`: The destination that is being described.
|
|
2606
2778
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
2607
2779
|
**/
|
|
2608
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
2780
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
2609
2781
|
/**
|
|
2610
2782
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
2611
2783
|
* version a destination can accept is unknown).
|
|
@@ -2917,7 +3089,7 @@ export type PalletXcmCallLike =
|
|
|
2917
3089
|
* - `location`: The destination that is being described.
|
|
2918
3090
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
2919
3091
|
**/
|
|
2920
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
3092
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
2921
3093
|
/**
|
|
2922
3094
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
2923
3095
|
* version a destination can accept is unknown).
|
|
@@ -3139,93 +3311,9 @@ export type PalletXcmCallLike =
|
|
|
3139
3311
|
};
|
|
3140
3312
|
|
|
3141
3313
|
export type XcmVersionedXcm =
|
|
3142
|
-
| { type: 'V2'; value: XcmV2Xcm }
|
|
3143
3314
|
| { type: 'V3'; value: XcmV3Xcm }
|
|
3144
|
-
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
3145
|
-
|
|
3146
|
-
export type XcmV2Xcm = Array<XcmV2Instruction>;
|
|
3147
|
-
|
|
3148
|
-
export type XcmV2Instruction =
|
|
3149
|
-
| { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3150
|
-
| { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
|
|
3151
|
-
| { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3152
|
-
| { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
|
|
3153
|
-
| {
|
|
3154
|
-
type: 'TransferAsset';
|
|
3155
|
-
value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
|
|
3156
|
-
}
|
|
3157
|
-
| {
|
|
3158
|
-
type: 'TransferReserveAsset';
|
|
3159
|
-
value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3160
|
-
}
|
|
3161
|
-
| { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
|
|
3162
|
-
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3163
|
-
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3164
|
-
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3165
|
-
| { type: 'ClearOrigin' }
|
|
3166
|
-
| { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
|
|
3167
|
-
| {
|
|
3168
|
-
type: 'ReportError';
|
|
3169
|
-
value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
|
|
3170
|
-
}
|
|
3171
|
-
| {
|
|
3172
|
-
type: 'DepositAsset';
|
|
3173
|
-
value: {
|
|
3174
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3175
|
-
maxAssets: number;
|
|
3176
|
-
beneficiary: XcmV2MultilocationMultiLocation;
|
|
3177
|
-
};
|
|
3178
|
-
}
|
|
3179
|
-
| {
|
|
3180
|
-
type: 'DepositReserveAsset';
|
|
3181
|
-
value: {
|
|
3182
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3183
|
-
maxAssets: number;
|
|
3184
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
3185
|
-
xcm: XcmV2Xcm;
|
|
3186
|
-
};
|
|
3187
|
-
}
|
|
3188
|
-
| { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
|
|
3189
|
-
| {
|
|
3190
|
-
type: 'InitiateReserveWithdraw';
|
|
3191
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3192
|
-
}
|
|
3193
|
-
| {
|
|
3194
|
-
type: 'InitiateTeleport';
|
|
3195
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3196
|
-
}
|
|
3197
|
-
| {
|
|
3198
|
-
type: 'QueryHolding';
|
|
3199
|
-
value: {
|
|
3200
|
-
queryId: bigint;
|
|
3201
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
3202
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3203
|
-
maxResponseWeight: bigint;
|
|
3204
|
-
};
|
|
3205
|
-
}
|
|
3206
|
-
| { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
|
|
3207
|
-
| { type: 'RefundSurplus' }
|
|
3208
|
-
| { type: 'SetErrorHandler'; value: XcmV2Xcm }
|
|
3209
|
-
| { type: 'SetAppendix'; value: XcmV2Xcm }
|
|
3210
|
-
| { type: 'ClearError' }
|
|
3211
|
-
| { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
|
|
3212
|
-
| { type: 'Trap'; value: bigint }
|
|
3213
|
-
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
|
|
3214
|
-
| { type: 'UnsubscribeVersion' };
|
|
3215
|
-
|
|
3216
|
-
export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
3217
|
-
|
|
3218
|
-
export type XcmV2MultiassetMultiAssetFilter =
|
|
3219
|
-
| { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
|
|
3220
|
-
| { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
|
|
3221
|
-
|
|
3222
|
-
export type XcmV2MultiassetWildMultiAsset =
|
|
3223
|
-
| { type: 'All' }
|
|
3224
|
-
| { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
|
|
3225
|
-
|
|
3226
|
-
export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3227
|
-
|
|
3228
|
-
export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
|
|
3315
|
+
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
3316
|
+
| { type: 'V5'; value: StagingXcmV5Xcm };
|
|
3229
3317
|
|
|
3230
3318
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
3231
3319
|
|
|
@@ -3348,6 +3436,117 @@ export type XcmV3MultiassetWildMultiAsset =
|
|
|
3348
3436
|
|
|
3349
3437
|
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3350
3438
|
|
|
3439
|
+
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
3440
|
+
|
|
3441
|
+
export type StagingXcmV4Instruction =
|
|
3442
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
|
|
3443
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
|
|
3444
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
|
|
3445
|
+
| {
|
|
3446
|
+
type: 'QueryResponse';
|
|
3447
|
+
value: {
|
|
3448
|
+
queryId: bigint;
|
|
3449
|
+
response: StagingXcmV4Response;
|
|
3450
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
3451
|
+
querier?: StagingXcmV4Location | undefined;
|
|
3452
|
+
};
|
|
3453
|
+
}
|
|
3454
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
|
|
3455
|
+
| {
|
|
3456
|
+
type: 'TransferReserveAsset';
|
|
3457
|
+
value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3458
|
+
}
|
|
3459
|
+
| {
|
|
3460
|
+
type: 'Transact';
|
|
3461
|
+
value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
3462
|
+
}
|
|
3463
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3464
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3465
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3466
|
+
| { type: 'ClearOrigin' }
|
|
3467
|
+
| { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
|
|
3468
|
+
| { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
|
|
3469
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
|
|
3470
|
+
| {
|
|
3471
|
+
type: 'DepositReserveAsset';
|
|
3472
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3473
|
+
}
|
|
3474
|
+
| {
|
|
3475
|
+
type: 'ExchangeAsset';
|
|
3476
|
+
value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
|
|
3477
|
+
}
|
|
3478
|
+
| {
|
|
3479
|
+
type: 'InitiateReserveWithdraw';
|
|
3480
|
+
value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3481
|
+
}
|
|
3482
|
+
| {
|
|
3483
|
+
type: 'InitiateTeleport';
|
|
3484
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3485
|
+
}
|
|
3486
|
+
| {
|
|
3487
|
+
type: 'ReportHolding';
|
|
3488
|
+
value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
|
|
3489
|
+
}
|
|
3490
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
|
|
3491
|
+
| { type: 'RefundSurplus' }
|
|
3492
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
|
|
3493
|
+
| { type: 'SetAppendix'; value: StagingXcmV4Xcm }
|
|
3494
|
+
| { type: 'ClearError' }
|
|
3495
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
|
|
3496
|
+
| { type: 'Trap'; value: bigint }
|
|
3497
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
3498
|
+
| { type: 'UnsubscribeVersion' }
|
|
3499
|
+
| { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
|
|
3500
|
+
| { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
|
|
3501
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
|
|
3502
|
+
| { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3503
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
3504
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
|
|
3505
|
+
| {
|
|
3506
|
+
type: 'ExpectPallet';
|
|
3507
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
3508
|
+
}
|
|
3509
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
|
|
3510
|
+
| { type: 'ClearTransactStatus' }
|
|
3511
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
|
|
3512
|
+
| {
|
|
3513
|
+
type: 'ExportMessage';
|
|
3514
|
+
value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
|
|
3515
|
+
}
|
|
3516
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
|
|
3517
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
|
|
3518
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
|
|
3519
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
|
|
3520
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
3521
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
3522
|
+
| { type: 'ClearTopic' }
|
|
3523
|
+
| { type: 'AliasOrigin'; value: StagingXcmV4Location }
|
|
3524
|
+
| {
|
|
3525
|
+
type: 'UnpaidExecution';
|
|
3526
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
export type StagingXcmV4QueryResponseInfo = {
|
|
3530
|
+
destination: StagingXcmV4Location;
|
|
3531
|
+
queryId: bigint;
|
|
3532
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
3533
|
+
};
|
|
3534
|
+
|
|
3535
|
+
export type StagingXcmV4AssetAssetFilter =
|
|
3536
|
+
| { type: 'Definite'; value: StagingXcmV4AssetAssets }
|
|
3537
|
+
| { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
|
|
3538
|
+
|
|
3539
|
+
export type StagingXcmV4AssetWildAsset =
|
|
3540
|
+
| { type: 'All' }
|
|
3541
|
+
| { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
|
|
3542
|
+
| { type: 'AllCounted'; value: number }
|
|
3543
|
+
| {
|
|
3544
|
+
type: 'AllOfCounted';
|
|
3545
|
+
value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
|
|
3546
|
+
};
|
|
3547
|
+
|
|
3548
|
+
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3549
|
+
|
|
3351
3550
|
export type StagingXcmExecutorAssetTransferTransferType =
|
|
3352
3551
|
| { type: 'Teleport' }
|
|
3353
3552
|
| { type: 'LocalReserve' }
|
|
@@ -3801,6 +4000,7 @@ export type PeopleWestendRuntimeRuntimeCall =
|
|
|
3801
4000
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCall }
|
|
3802
4001
|
| { pallet: 'Proxy'; palletCall: PalletProxyCall }
|
|
3803
4002
|
| { pallet: 'Identity'; palletCall: PalletIdentityCall }
|
|
4003
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
3804
4004
|
| { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCall };
|
|
3805
4005
|
|
|
3806
4006
|
export type PeopleWestendRuntimeRuntimeCallLike =
|
|
@@ -3819,6 +4019,7 @@ export type PeopleWestendRuntimeRuntimeCallLike =
|
|
|
3819
4019
|
| { pallet: 'Multisig'; palletCall: PalletMultisigCallLike }
|
|
3820
4020
|
| { pallet: 'Proxy'; palletCall: PalletProxyCallLike }
|
|
3821
4021
|
| { pallet: 'Identity'; palletCall: PalletIdentityCallLike }
|
|
4022
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
3822
4023
|
| { pallet: 'IdentityMigrator'; palletCall: PolkadotRuntimeCommonIdentityMigratorPalletCallLike };
|
|
3823
4024
|
|
|
3824
4025
|
/**
|
|
@@ -4648,18 +4849,23 @@ export type PalletIdentityCall =
|
|
|
4648
4849
|
/**
|
|
4649
4850
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
4650
4851
|
*
|
|
4651
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
4652
|
-
*
|
|
4852
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
4853
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
4854
|
+
* parameters to overwrite the existing configuration.
|
|
4653
4855
|
**/
|
|
4654
4856
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
|
|
4655
4857
|
/**
|
|
4656
4858
|
* Remove `authority` from the username authorities.
|
|
4657
4859
|
**/
|
|
4658
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
|
|
4860
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: MultiAddress } }
|
|
4659
4861
|
/**
|
|
4660
4862
|
* Set the username for `who`. Must be called by a username authority.
|
|
4661
4863
|
*
|
|
4662
|
-
*
|
|
4864
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
4865
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
4866
|
+
* username.
|
|
4867
|
+
*
|
|
4868
|
+
* Users can either pre-sign their usernames or
|
|
4663
4869
|
* accept them later.
|
|
4664
4870
|
*
|
|
4665
4871
|
* Usernames must:
|
|
@@ -4669,7 +4875,12 @@ export type PalletIdentityCall =
|
|
|
4669
4875
|
**/
|
|
4670
4876
|
| {
|
|
4671
4877
|
name: 'SetUsernameFor';
|
|
4672
|
-
params: {
|
|
4878
|
+
params: {
|
|
4879
|
+
who: MultiAddress;
|
|
4880
|
+
username: Bytes;
|
|
4881
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
4882
|
+
useAllocation: boolean;
|
|
4883
|
+
};
|
|
4673
4884
|
}
|
|
4674
4885
|
/**
|
|
4675
4886
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -4687,10 +4898,21 @@ export type PalletIdentityCall =
|
|
|
4687
4898
|
**/
|
|
4688
4899
|
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
4689
4900
|
/**
|
|
4690
|
-
*
|
|
4691
|
-
*
|
|
4901
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
4902
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
4903
|
+
* [remove_username](crate::Call::remove_username).
|
|
4904
|
+
**/
|
|
4905
|
+
| { name: 'UnbindUsername'; params: { username: Bytes } }
|
|
4906
|
+
/**
|
|
4907
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
4908
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
4909
|
+
**/
|
|
4910
|
+
| { name: 'RemoveUsername'; params: { username: Bytes } }
|
|
4911
|
+
/**
|
|
4912
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
4913
|
+
* and slashes any deposit associated with it.
|
|
4692
4914
|
**/
|
|
4693
|
-
| { name: '
|
|
4915
|
+
| { name: 'KillUsername'; params: { username: Bytes } };
|
|
4694
4916
|
|
|
4695
4917
|
export type PalletIdentityCallLike =
|
|
4696
4918
|
/**
|
|
@@ -4880,18 +5102,23 @@ export type PalletIdentityCallLike =
|
|
|
4880
5102
|
/**
|
|
4881
5103
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
4882
5104
|
*
|
|
4883
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
4884
|
-
*
|
|
5105
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
5106
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
5107
|
+
* parameters to overwrite the existing configuration.
|
|
4885
5108
|
**/
|
|
4886
5109
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
|
|
4887
5110
|
/**
|
|
4888
5111
|
* Remove `authority` from the username authorities.
|
|
4889
5112
|
**/
|
|
4890
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
|
|
5113
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
|
|
4891
5114
|
/**
|
|
4892
5115
|
* Set the username for `who`. Must be called by a username authority.
|
|
4893
5116
|
*
|
|
4894
|
-
*
|
|
5117
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
5118
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
5119
|
+
* username.
|
|
5120
|
+
*
|
|
5121
|
+
* Users can either pre-sign their usernames or
|
|
4895
5122
|
* accept them later.
|
|
4896
5123
|
*
|
|
4897
5124
|
* Usernames must:
|
|
@@ -4901,7 +5128,12 @@ export type PalletIdentityCallLike =
|
|
|
4901
5128
|
**/
|
|
4902
5129
|
| {
|
|
4903
5130
|
name: 'SetUsernameFor';
|
|
4904
|
-
params: {
|
|
5131
|
+
params: {
|
|
5132
|
+
who: MultiAddressLike;
|
|
5133
|
+
username: BytesLike;
|
|
5134
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
5135
|
+
useAllocation: boolean;
|
|
5136
|
+
};
|
|
4905
5137
|
}
|
|
4906
5138
|
/**
|
|
4907
5139
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -4919,10 +5151,21 @@ export type PalletIdentityCallLike =
|
|
|
4919
5151
|
**/
|
|
4920
5152
|
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
4921
5153
|
/**
|
|
4922
|
-
*
|
|
4923
|
-
*
|
|
5154
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
5155
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
5156
|
+
* [remove_username](crate::Call::remove_username).
|
|
5157
|
+
**/
|
|
5158
|
+
| { name: 'UnbindUsername'; params: { username: BytesLike } }
|
|
5159
|
+
/**
|
|
5160
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
5161
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
5162
|
+
**/
|
|
5163
|
+
| { name: 'RemoveUsername'; params: { username: BytesLike } }
|
|
5164
|
+
/**
|
|
5165
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
5166
|
+
* and slashes any deposit associated with it.
|
|
4924
5167
|
**/
|
|
4925
|
-
| { name: '
|
|
5168
|
+
| { name: 'KillUsername'; params: { username: BytesLike } };
|
|
4926
5169
|
|
|
4927
5170
|
export type PeopleWestendRuntimePeopleIdentityInfo = {
|
|
4928
5171
|
display: Data;
|
|
@@ -4951,6 +5194,93 @@ export type SpRuntimeMultiSignature =
|
|
|
4951
5194
|
| { type: 'Sr25519'; value: FixedBytes<64> }
|
|
4952
5195
|
| { type: 'Ecdsa'; value: FixedBytes<65> };
|
|
4953
5196
|
|
|
5197
|
+
/**
|
|
5198
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
5199
|
+
**/
|
|
5200
|
+
export type PalletMigrationsCall =
|
|
5201
|
+
/**
|
|
5202
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
5203
|
+
*
|
|
5204
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
5205
|
+
* restarting the migration process in this manner will not call the
|
|
5206
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
5207
|
+
**/
|
|
5208
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
5209
|
+
/**
|
|
5210
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
5211
|
+
*
|
|
5212
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
5213
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
5214
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
5215
|
+
* indicates that the current block number plus one should be used.
|
|
5216
|
+
**/
|
|
5217
|
+
| {
|
|
5218
|
+
name: 'ForceSetActiveCursor';
|
|
5219
|
+
params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
|
|
5220
|
+
}
|
|
5221
|
+
/**
|
|
5222
|
+
* Forces the onboarding of the migrations.
|
|
5223
|
+
*
|
|
5224
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
5225
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
5226
|
+
**/
|
|
5227
|
+
| { name: 'ForceOnboardMbms' }
|
|
5228
|
+
/**
|
|
5229
|
+
* Clears the `Historic` set.
|
|
5230
|
+
*
|
|
5231
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
5232
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
5233
|
+
* way that will result in a sensible weight.
|
|
5234
|
+
**/
|
|
5235
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
5236
|
+
|
|
5237
|
+
export type PalletMigrationsCallLike =
|
|
5238
|
+
/**
|
|
5239
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
5240
|
+
*
|
|
5241
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
5242
|
+
* restarting the migration process in this manner will not call the
|
|
5243
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
5244
|
+
**/
|
|
5245
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
5246
|
+
/**
|
|
5247
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
5248
|
+
*
|
|
5249
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
5250
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
5251
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
5252
|
+
* indicates that the current block number plus one should be used.
|
|
5253
|
+
**/
|
|
5254
|
+
| {
|
|
5255
|
+
name: 'ForceSetActiveCursor';
|
|
5256
|
+
params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
|
|
5257
|
+
}
|
|
5258
|
+
/**
|
|
5259
|
+
* Forces the onboarding of the migrations.
|
|
5260
|
+
*
|
|
5261
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
5262
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
5263
|
+
**/
|
|
5264
|
+
| { name: 'ForceOnboardMbms' }
|
|
5265
|
+
/**
|
|
5266
|
+
* Clears the `Historic` set.
|
|
5267
|
+
*
|
|
5268
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
5269
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
5270
|
+
* way that will result in a sensible weight.
|
|
5271
|
+
**/
|
|
5272
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
5273
|
+
|
|
5274
|
+
export type PalletMigrationsMigrationCursor =
|
|
5275
|
+
| { type: 'Active'; value: PalletMigrationsActiveCursor }
|
|
5276
|
+
| { type: 'Stuck' };
|
|
5277
|
+
|
|
5278
|
+
export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
|
|
5279
|
+
|
|
5280
|
+
export type PalletMigrationsHistoricCleanupSelector =
|
|
5281
|
+
| { type: 'Specific'; value: Array<Bytes> }
|
|
5282
|
+
| { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
|
|
5283
|
+
|
|
4954
5284
|
/**
|
|
4955
5285
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
4956
5286
|
**/
|
|
@@ -4990,8 +5320,8 @@ export type FrameSupportDispatchRawOrigin =
|
|
|
4990
5320
|
| { type: 'None' };
|
|
4991
5321
|
|
|
4992
5322
|
export type PalletXcmOrigin =
|
|
4993
|
-
| { type: 'Xcm'; value:
|
|
4994
|
-
| { type: 'Response'; value:
|
|
5323
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
5324
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
4995
5325
|
|
|
4996
5326
|
export type CumulusPalletXcmOrigin =
|
|
4997
5327
|
| { type: 'Relay' }
|
|
@@ -5129,7 +5459,14 @@ export type PalletIdentityRegistration = {
|
|
|
5129
5459
|
|
|
5130
5460
|
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
5131
5461
|
|
|
5132
|
-
export type PalletIdentityAuthorityProperties = {
|
|
5462
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
|
|
5463
|
+
|
|
5464
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
|
|
5465
|
+
|
|
5466
|
+
export type PalletIdentityProvider =
|
|
5467
|
+
| { type: 'Allocation' }
|
|
5468
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
5469
|
+
| { type: 'System' };
|
|
5133
5470
|
|
|
5134
5471
|
/**
|
|
5135
5472
|
* The `Error` enum of this pallet.
|
|
@@ -5238,7 +5575,33 @@ export type PalletIdentityError =
|
|
|
5238
5575
|
/**
|
|
5239
5576
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
5240
5577
|
**/
|
|
5241
|
-
| 'NotExpired'
|
|
5578
|
+
| 'NotExpired'
|
|
5579
|
+
/**
|
|
5580
|
+
* The username cannot be removed because it's still in the grace period.
|
|
5581
|
+
**/
|
|
5582
|
+
| 'TooEarly'
|
|
5583
|
+
/**
|
|
5584
|
+
* The username cannot be removed because it is not unbinding.
|
|
5585
|
+
**/
|
|
5586
|
+
| 'NotUnbinding'
|
|
5587
|
+
/**
|
|
5588
|
+
* The username cannot be unbound because it is already unbinding.
|
|
5589
|
+
**/
|
|
5590
|
+
| 'AlreadyUnbinding'
|
|
5591
|
+
/**
|
|
5592
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
5593
|
+
* trying to unbind a username provided by the system).
|
|
5594
|
+
**/
|
|
5595
|
+
| 'InsufficientPrivileges';
|
|
5596
|
+
|
|
5597
|
+
/**
|
|
5598
|
+
* The `Error` enum of this pallet.
|
|
5599
|
+
**/
|
|
5600
|
+
export type PalletMigrationsError =
|
|
5601
|
+
/**
|
|
5602
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
5603
|
+
**/
|
|
5604
|
+
'Ongoing';
|
|
5242
5605
|
|
|
5243
5606
|
export type FrameSystemExtensionsCheckNonZeroSender = {};
|
|
5244
5607
|
|
|
@@ -5283,7 +5646,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
|
5283
5646
|
| { type: 'Custom'; value: number }
|
|
5284
5647
|
| { type: 'BadMandatory' }
|
|
5285
5648
|
| { type: 'MandatoryValidation' }
|
|
5286
|
-
| { type: 'BadSigner' }
|
|
5649
|
+
| { type: 'BadSigner' }
|
|
5650
|
+
| { type: 'IndeterminateImplicit' }
|
|
5651
|
+
| { type: 'UnknownOrigin' };
|
|
5287
5652
|
|
|
5288
5653
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
5289
5654
|
| { type: 'CannotLookup' }
|
|
@@ -5345,7 +5710,7 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
|
|
|
5345
5710
|
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
5346
5711
|
|
|
5347
5712
|
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
5348
|
-
executionResult:
|
|
5713
|
+
executionResult: StagingXcmV5TraitsOutcome;
|
|
5349
5714
|
emittedEvents: Array<PeopleWestendRuntimeRuntimeEvent>;
|
|
5350
5715
|
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
5351
5716
|
};
|
|
@@ -5363,6 +5728,17 @@ export type CumulusPrimitivesCoreCollationInfo = {
|
|
|
5363
5728
|
|
|
5364
5729
|
export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
5365
5730
|
|
|
5731
|
+
export type PolkadotPrimitivesVstagingCoreSelector = number;
|
|
5732
|
+
|
|
5733
|
+
export type PolkadotPrimitivesVstagingClaimQueueOffset = number;
|
|
5734
|
+
|
|
5735
|
+
export type XcmVersionedAsset =
|
|
5736
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAsset }
|
|
5737
|
+
| { type: 'V4'; value: StagingXcmV4Asset }
|
|
5738
|
+
| { type: 'V5'; value: StagingXcmV5Asset };
|
|
5739
|
+
|
|
5740
|
+
export type XcmRuntimeApisTrustedQueryError = 'VersionedAssetConversionFailed' | 'VersionedLocationConversionFailed';
|
|
5741
|
+
|
|
5366
5742
|
export type PeopleWestendRuntimeRuntimeError =
|
|
5367
5743
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
5368
5744
|
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|
|
@@ -5375,4 +5751,5 @@ export type PeopleWestendRuntimeRuntimeError =
|
|
|
5375
5751
|
| { pallet: 'Utility'; palletError: PalletUtilityError }
|
|
5376
5752
|
| { pallet: 'Multisig'; palletError: PalletMultisigError }
|
|
5377
5753
|
| { pallet: 'Proxy'; palletError: PalletProxyError }
|
|
5378
|
-
| { pallet: 'Identity'; palletError: PalletIdentityError }
|
|
5754
|
+
| { pallet: 'Identity'; palletError: PalletIdentityError }
|
|
5755
|
+
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError };
|