@dedot/chaintypes 0.119.0 → 0.120.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/package.json +2 -2
- package/paseo-people/consts.d.ts +37 -0
- package/paseo-people/errors.d.ts +35 -0
- package/paseo-people/events.d.ts +207 -31
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +71 -23
- package/paseo-people/runtime.d.ts +5 -4
- package/paseo-people/tx.d.ts +178 -14
- package/paseo-people/types.d.ts +712 -346
package/paseo-people/types.d.ts
CHANGED
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
import type {
|
|
4
4
|
Phase,
|
|
5
5
|
H256,
|
|
6
|
-
DispatchInfo,
|
|
7
6
|
DispatchError,
|
|
8
7
|
AccountId32,
|
|
9
8
|
FixedBytes,
|
|
10
|
-
FixedArray,
|
|
11
9
|
Bytes,
|
|
10
|
+
FixedArray,
|
|
12
11
|
Result,
|
|
13
12
|
BytesLike,
|
|
14
13
|
MultiAddress,
|
|
@@ -50,6 +49,7 @@ export type FrameSystemEventRecord = { phase: Phase; event: PeoplePaseoRuntimeRu
|
|
|
50
49
|
export type PeoplePaseoRuntimeRuntimeEvent =
|
|
51
50
|
| { pallet: 'System'; palletEvent: FrameSystemEvent }
|
|
52
51
|
| { pallet: 'ParachainSystem'; palletEvent: CumulusPalletParachainSystemEvent }
|
|
52
|
+
| { pallet: 'MultiBlockMigrations'; palletEvent: PalletMigrationsEvent }
|
|
53
53
|
| { pallet: 'Balances'; palletEvent: PalletBalancesEvent }
|
|
54
54
|
| { pallet: 'TransactionPayment'; palletEvent: PalletTransactionPaymentEvent }
|
|
55
55
|
| { pallet: 'CollatorSelection'; palletEvent: PalletCollatorSelectionEvent }
|
|
@@ -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
|
**/
|
|
@@ -130,6 +152,117 @@ export type CumulusPalletParachainSystemEvent =
|
|
|
130
152
|
**/
|
|
131
153
|
| { name: 'UpwardMessageSent'; data: { messageHash?: FixedBytes<32> | undefined } };
|
|
132
154
|
|
|
155
|
+
/**
|
|
156
|
+
* The `Event` enum of this pallet
|
|
157
|
+
**/
|
|
158
|
+
export type PalletMigrationsEvent =
|
|
159
|
+
/**
|
|
160
|
+
* A Runtime upgrade started.
|
|
161
|
+
*
|
|
162
|
+
* Its end is indicated by `UpgradeCompleted` or `UpgradeFailed`.
|
|
163
|
+
**/
|
|
164
|
+
| {
|
|
165
|
+
name: 'UpgradeStarted';
|
|
166
|
+
data: {
|
|
167
|
+
/**
|
|
168
|
+
* The number of migrations that this upgrade contains.
|
|
169
|
+
*
|
|
170
|
+
* This can be used to design a progress indicator in combination with counting the
|
|
171
|
+
* `MigrationCompleted` and `MigrationSkipped` events.
|
|
172
|
+
**/
|
|
173
|
+
migrations: number;
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* The current runtime upgrade completed.
|
|
178
|
+
*
|
|
179
|
+
* This implies that all of its migrations completed successfully as well.
|
|
180
|
+
**/
|
|
181
|
+
| { name: 'UpgradeCompleted' }
|
|
182
|
+
/**
|
|
183
|
+
* Runtime upgrade failed.
|
|
184
|
+
*
|
|
185
|
+
* This is very bad and will require governance intervention.
|
|
186
|
+
**/
|
|
187
|
+
| { name: 'UpgradeFailed' }
|
|
188
|
+
/**
|
|
189
|
+
* A migration was skipped since it was already executed in the past.
|
|
190
|
+
**/
|
|
191
|
+
| {
|
|
192
|
+
name: 'MigrationSkipped';
|
|
193
|
+
data: {
|
|
194
|
+
/**
|
|
195
|
+
* The index of the skipped migration within the [`Config::Migrations`] list.
|
|
196
|
+
**/
|
|
197
|
+
index: number;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* A migration progressed.
|
|
202
|
+
**/
|
|
203
|
+
| {
|
|
204
|
+
name: 'MigrationAdvanced';
|
|
205
|
+
data: {
|
|
206
|
+
/**
|
|
207
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
208
|
+
**/
|
|
209
|
+
index: number;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* The number of blocks that this migration took so far.
|
|
213
|
+
**/
|
|
214
|
+
took: number;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* A Migration completed.
|
|
219
|
+
**/
|
|
220
|
+
| {
|
|
221
|
+
name: 'MigrationCompleted';
|
|
222
|
+
data: {
|
|
223
|
+
/**
|
|
224
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
225
|
+
**/
|
|
226
|
+
index: number;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The number of blocks that this migration took so far.
|
|
230
|
+
**/
|
|
231
|
+
took: number;
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* A Migration failed.
|
|
236
|
+
*
|
|
237
|
+
* This implies that the whole upgrade failed and governance intervention is required.
|
|
238
|
+
**/
|
|
239
|
+
| {
|
|
240
|
+
name: 'MigrationFailed';
|
|
241
|
+
data: {
|
|
242
|
+
/**
|
|
243
|
+
* The index of the migration within the [`Config::Migrations`] list.
|
|
244
|
+
**/
|
|
245
|
+
index: number;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The number of blocks that this migration took so far.
|
|
249
|
+
**/
|
|
250
|
+
took: number;
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* The set of historical migrations has been cleared.
|
|
255
|
+
**/
|
|
256
|
+
| {
|
|
257
|
+
name: 'HistoricCleared';
|
|
258
|
+
data: {
|
|
259
|
+
/**
|
|
260
|
+
* Should be passed to `clear_historic` in a successive call.
|
|
261
|
+
**/
|
|
262
|
+
nextCursor?: Bytes | undefined;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
|
|
133
266
|
/**
|
|
134
267
|
* The `Event` enum of this pallet
|
|
135
268
|
**/
|
|
@@ -317,16 +450,16 @@ export type PalletXcmEvent =
|
|
|
317
450
|
/**
|
|
318
451
|
* Execution of an XCM message was attempted.
|
|
319
452
|
**/
|
|
320
|
-
| { name: 'Attempted'; data: { outcome:
|
|
453
|
+
| { name: 'Attempted'; data: { outcome: StagingXcmV5TraitsOutcome } }
|
|
321
454
|
/**
|
|
322
455
|
* A XCM message was sent.
|
|
323
456
|
**/
|
|
324
457
|
| {
|
|
325
458
|
name: 'Sent';
|
|
326
459
|
data: {
|
|
327
|
-
origin:
|
|
328
|
-
destination:
|
|
329
|
-
message:
|
|
460
|
+
origin: StagingXcmV5Location;
|
|
461
|
+
destination: StagingXcmV5Location;
|
|
462
|
+
message: StagingXcmV5Xcm;
|
|
330
463
|
messageId: FixedBytes<32>;
|
|
331
464
|
};
|
|
332
465
|
}
|
|
@@ -335,12 +468,12 @@ export type PalletXcmEvent =
|
|
|
335
468
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
336
469
|
* because the query timed out.
|
|
337
470
|
**/
|
|
338
|
-
| { name: 'UnexpectedResponse'; data: { origin:
|
|
471
|
+
| { name: 'UnexpectedResponse'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
339
472
|
/**
|
|
340
473
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
341
474
|
* no registered notification call.
|
|
342
475
|
**/
|
|
343
|
-
| { name: 'ResponseReady'; data: { queryId: bigint; response:
|
|
476
|
+
| { name: 'ResponseReady'; data: { queryId: bigint; response: StagingXcmV5Response } }
|
|
344
477
|
/**
|
|
345
478
|
* Query response has been received and query is removed. The registered notification has
|
|
346
479
|
* been dispatched and executed successfully.
|
|
@@ -379,7 +512,7 @@ export type PalletXcmEvent =
|
|
|
379
512
|
**/
|
|
380
513
|
| {
|
|
381
514
|
name: 'InvalidResponder';
|
|
382
|
-
data: { origin:
|
|
515
|
+
data: { origin: StagingXcmV5Location; queryId: bigint; expectedLocation?: StagingXcmV5Location | undefined };
|
|
383
516
|
}
|
|
384
517
|
/**
|
|
385
518
|
* Expected query response has been received but the expected origin location placed in
|
|
@@ -390,7 +523,7 @@ export type PalletXcmEvent =
|
|
|
390
523
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
391
524
|
* needed.
|
|
392
525
|
**/
|
|
393
|
-
| { name: 'InvalidResponderVersion'; data: { origin:
|
|
526
|
+
| { name: 'InvalidResponderVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
394
527
|
/**
|
|
395
528
|
* Received query response has been read and removed.
|
|
396
529
|
**/
|
|
@@ -398,7 +531,7 @@ export type PalletXcmEvent =
|
|
|
398
531
|
/**
|
|
399
532
|
* Some assets have been placed in an asset trap.
|
|
400
533
|
**/
|
|
401
|
-
| { name: 'AssetsTrapped'; data: { hash: H256; origin:
|
|
534
|
+
| { name: 'AssetsTrapped'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
402
535
|
/**
|
|
403
536
|
* An XCM version change notification message has been attempted to be sent.
|
|
404
537
|
*
|
|
@@ -407,9 +540,9 @@ export type PalletXcmEvent =
|
|
|
407
540
|
| {
|
|
408
541
|
name: 'VersionChangeNotified';
|
|
409
542
|
data: {
|
|
410
|
-
destination:
|
|
543
|
+
destination: StagingXcmV5Location;
|
|
411
544
|
result: number;
|
|
412
|
-
cost:
|
|
545
|
+
cost: StagingXcmV5AssetAssets;
|
|
413
546
|
messageId: FixedBytes<32>;
|
|
414
547
|
};
|
|
415
548
|
}
|
|
@@ -417,12 +550,12 @@ export type PalletXcmEvent =
|
|
|
417
550
|
* The supported version of a location has been changed. This might be through an
|
|
418
551
|
* automatic notification or a manual intervention.
|
|
419
552
|
**/
|
|
420
|
-
| { name: 'SupportedVersionChanged'; data: { location:
|
|
553
|
+
| { name: 'SupportedVersionChanged'; data: { location: StagingXcmV5Location; version: number } }
|
|
421
554
|
/**
|
|
422
555
|
* A given location which had a version change subscription was dropped owing to an error
|
|
423
556
|
* sending the notification to it.
|
|
424
557
|
**/
|
|
425
|
-
| { name: 'NotifyTargetSendFail'; data: { location:
|
|
558
|
+
| { name: 'NotifyTargetSendFail'; data: { location: StagingXcmV5Location; queryId: bigint; error: XcmV5TraitsError } }
|
|
426
559
|
/**
|
|
427
560
|
* A given location which had a version change subscription was dropped owing to an error
|
|
428
561
|
* migrating the location to our new XCM format.
|
|
@@ -437,7 +570,7 @@ export type PalletXcmEvent =
|
|
|
437
570
|
* valid response will be dropped. Manual governance intervention is probably going to be
|
|
438
571
|
* needed.
|
|
439
572
|
**/
|
|
440
|
-
| { name: 'InvalidQuerierVersion'; data: { origin:
|
|
573
|
+
| { name: 'InvalidQuerierVersion'; data: { origin: StagingXcmV5Location; queryId: bigint } }
|
|
441
574
|
/**
|
|
442
575
|
* Expected query response has been received but the querier location of the response does
|
|
443
576
|
* not match the expected. The query remains registered for a later, valid, response to
|
|
@@ -446,10 +579,10 @@ export type PalletXcmEvent =
|
|
|
446
579
|
| {
|
|
447
580
|
name: 'InvalidQuerier';
|
|
448
581
|
data: {
|
|
449
|
-
origin:
|
|
582
|
+
origin: StagingXcmV5Location;
|
|
450
583
|
queryId: bigint;
|
|
451
|
-
expectedQuerier:
|
|
452
|
-
maybeActualQuerier?:
|
|
584
|
+
expectedQuerier: StagingXcmV5Location;
|
|
585
|
+
maybeActualQuerier?: StagingXcmV5Location | undefined;
|
|
453
586
|
};
|
|
454
587
|
}
|
|
455
588
|
/**
|
|
@@ -458,14 +591,14 @@ export type PalletXcmEvent =
|
|
|
458
591
|
**/
|
|
459
592
|
| {
|
|
460
593
|
name: 'VersionNotifyStarted';
|
|
461
|
-
data: { destination:
|
|
594
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
462
595
|
}
|
|
463
596
|
/**
|
|
464
597
|
* We have requested that a remote chain send us XCM version change notifications.
|
|
465
598
|
**/
|
|
466
599
|
| {
|
|
467
600
|
name: 'VersionNotifyRequested';
|
|
468
|
-
data: { destination:
|
|
601
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
469
602
|
}
|
|
470
603
|
/**
|
|
471
604
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -473,27 +606,27 @@ export type PalletXcmEvent =
|
|
|
473
606
|
**/
|
|
474
607
|
| {
|
|
475
608
|
name: 'VersionNotifyUnrequested';
|
|
476
|
-
data: { destination:
|
|
609
|
+
data: { destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: FixedBytes<32> };
|
|
477
610
|
}
|
|
478
611
|
/**
|
|
479
612
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
480
613
|
**/
|
|
481
|
-
| { name: 'FeesPaid'; data: { paying:
|
|
614
|
+
| { name: 'FeesPaid'; data: { paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets } }
|
|
482
615
|
/**
|
|
483
616
|
* Some assets have been claimed from an asset trap
|
|
484
617
|
**/
|
|
485
|
-
| { name: 'AssetsClaimed'; data: { hash: H256; origin:
|
|
618
|
+
| { name: 'AssetsClaimed'; data: { hash: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets } }
|
|
486
619
|
/**
|
|
487
620
|
* A XCM version migration finished.
|
|
488
621
|
**/
|
|
489
622
|
| { name: 'VersionMigrationFinished'; data: { version: number } };
|
|
490
623
|
|
|
491
|
-
export type
|
|
624
|
+
export type StagingXcmV5TraitsOutcome =
|
|
492
625
|
| { type: 'Complete'; value: { used: SpWeightsWeightV2Weight } }
|
|
493
|
-
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error:
|
|
494
|
-
| { type: 'Error'; value: { error:
|
|
626
|
+
| { type: 'Incomplete'; value: { used: SpWeightsWeightV2Weight; error: XcmV5TraitsError } }
|
|
627
|
+
| { type: 'Error'; value: { error: XcmV5TraitsError } };
|
|
495
628
|
|
|
496
|
-
export type
|
|
629
|
+
export type XcmV5TraitsError =
|
|
497
630
|
| { type: 'Overflow' }
|
|
498
631
|
| { type: 'Unimplemented' }
|
|
499
632
|
| { type: 'UntrustedReserveLocation' }
|
|
@@ -529,45 +662,43 @@ export type XcmV3TraitsError =
|
|
|
529
662
|
| { type: 'NoPermission' }
|
|
530
663
|
| { type: 'Unanchored' }
|
|
531
664
|
| { type: 'NotDepositable' }
|
|
665
|
+
| { type: 'TooManyAssets' }
|
|
532
666
|
| { type: 'UnhandledXcmVersion' }
|
|
533
667
|
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
534
668
|
| { type: 'Barrier' }
|
|
535
669
|
| { type: 'WeightNotComputable' }
|
|
536
670
|
| { type: 'ExceedsStackLimit' };
|
|
537
671
|
|
|
538
|
-
export type
|
|
672
|
+
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
539
673
|
|
|
540
|
-
export type
|
|
674
|
+
export type StagingXcmV5Junctions =
|
|
541
675
|
| { 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
|
|
676
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV5Junction, 1> }
|
|
677
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV5Junction, 2> }
|
|
678
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV5Junction, 3> }
|
|
679
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV5Junction, 4> }
|
|
680
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV5Junction, 5> }
|
|
681
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV5Junction, 6> }
|
|
682
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV5Junction, 7> }
|
|
683
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV5Junction, 8> };
|
|
684
|
+
|
|
685
|
+
export type StagingXcmV5Junction =
|
|
552
686
|
| { type: 'Parachain'; value: number }
|
|
553
|
-
| { type: 'AccountId32'; value: { network?:
|
|
554
|
-
| { type: 'AccountIndex64'; value: { network?:
|
|
555
|
-
| { type: 'AccountKey20'; value: { network?:
|
|
687
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
688
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; index: bigint } }
|
|
689
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV5JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
556
690
|
| { type: 'PalletInstance'; value: number }
|
|
557
691
|
| { type: 'GeneralIndex'; value: bigint }
|
|
558
692
|
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
559
693
|
| { type: 'OnlyChild' }
|
|
560
694
|
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
561
|
-
| { type: 'GlobalConsensus'; value:
|
|
695
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV5JunctionNetworkId };
|
|
562
696
|
|
|
563
|
-
export type
|
|
697
|
+
export type StagingXcmV5JunctionNetworkId =
|
|
564
698
|
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
565
699
|
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
566
700
|
| { type: 'Polkadot' }
|
|
567
701
|
| { type: 'Kusama' }
|
|
568
|
-
| { type: 'Westend' }
|
|
569
|
-
| { type: 'Rococo' }
|
|
570
|
-
| { type: 'Wococo' }
|
|
571
702
|
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
572
703
|
| { type: 'BitcoinCore' }
|
|
573
704
|
| { type: 'BitcoinCash' }
|
|
@@ -592,107 +723,124 @@ export type XcmV3JunctionBodyPart =
|
|
|
592
723
|
| { type: 'AtLeastProportion'; value: { nom: number; denom: number } }
|
|
593
724
|
| { type: 'MoreThanProportion'; value: { nom: number; denom: number } };
|
|
594
725
|
|
|
595
|
-
export type
|
|
726
|
+
export type StagingXcmV5Xcm = Array<StagingXcmV5Instruction>;
|
|
596
727
|
|
|
597
|
-
export type
|
|
598
|
-
| { type: 'WithdrawAsset'; value:
|
|
599
|
-
| { type: 'ReserveAssetDeposited'; value:
|
|
600
|
-
| { type: 'ReceiveTeleportedAsset'; value:
|
|
728
|
+
export type StagingXcmV5Instruction =
|
|
729
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV5AssetAssets }
|
|
730
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV5AssetAssets }
|
|
731
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV5AssetAssets }
|
|
601
732
|
| {
|
|
602
733
|
type: 'QueryResponse';
|
|
603
734
|
value: {
|
|
604
735
|
queryId: bigint;
|
|
605
|
-
response:
|
|
736
|
+
response: StagingXcmV5Response;
|
|
606
737
|
maxWeight: SpWeightsWeightV2Weight;
|
|
607
|
-
querier?:
|
|
738
|
+
querier?: StagingXcmV5Location | undefined;
|
|
608
739
|
};
|
|
609
740
|
}
|
|
610
|
-
| { type: 'TransferAsset'; value: { assets:
|
|
741
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV5AssetAssets; beneficiary: StagingXcmV5Location } }
|
|
611
742
|
| {
|
|
612
743
|
type: 'TransferReserveAsset';
|
|
613
|
-
value: { assets:
|
|
744
|
+
value: { assets: StagingXcmV5AssetAssets; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
614
745
|
}
|
|
615
746
|
| {
|
|
616
747
|
type: 'Transact';
|
|
617
|
-
value: {
|
|
748
|
+
value: {
|
|
749
|
+
originKind: XcmV3OriginKind;
|
|
750
|
+
fallbackMaxWeight?: SpWeightsWeightV2Weight | undefined;
|
|
751
|
+
call: XcmDoubleEncoded;
|
|
752
|
+
};
|
|
618
753
|
}
|
|
619
754
|
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
620
755
|
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
621
756
|
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
622
757
|
| { type: 'ClearOrigin' }
|
|
623
|
-
| { type: 'DescendOrigin'; value:
|
|
624
|
-
| { type: 'ReportError'; value:
|
|
625
|
-
| { type: 'DepositAsset'; value: { assets:
|
|
758
|
+
| { type: 'DescendOrigin'; value: StagingXcmV5Junctions }
|
|
759
|
+
| { type: 'ReportError'; value: StagingXcmV5QueryResponseInfo }
|
|
760
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV5AssetAssetFilter; beneficiary: StagingXcmV5Location } }
|
|
626
761
|
| {
|
|
627
762
|
type: 'DepositReserveAsset';
|
|
628
|
-
value: { assets:
|
|
763
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
629
764
|
}
|
|
630
765
|
| {
|
|
631
766
|
type: 'ExchangeAsset';
|
|
632
|
-
value: { give:
|
|
767
|
+
value: { give: StagingXcmV5AssetAssetFilter; want: StagingXcmV5AssetAssets; maximal: boolean };
|
|
633
768
|
}
|
|
634
769
|
| {
|
|
635
770
|
type: 'InitiateReserveWithdraw';
|
|
636
|
-
value: { assets:
|
|
771
|
+
value: { assets: StagingXcmV5AssetAssetFilter; reserve: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
637
772
|
}
|
|
638
773
|
| {
|
|
639
774
|
type: 'InitiateTeleport';
|
|
640
|
-
value: { assets:
|
|
775
|
+
value: { assets: StagingXcmV5AssetAssetFilter; dest: StagingXcmV5Location; xcm: StagingXcmV5Xcm };
|
|
641
776
|
}
|
|
642
777
|
| {
|
|
643
778
|
type: 'ReportHolding';
|
|
644
|
-
value: { responseInfo:
|
|
779
|
+
value: { responseInfo: StagingXcmV5QueryResponseInfo; assets: StagingXcmV5AssetAssetFilter };
|
|
645
780
|
}
|
|
646
|
-
| { type: 'BuyExecution'; value: { fees:
|
|
781
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV5Asset; weightLimit: XcmV3WeightLimit } }
|
|
647
782
|
| { type: 'RefundSurplus' }
|
|
648
|
-
| { type: 'SetErrorHandler'; value:
|
|
649
|
-
| { type: 'SetAppendix'; value:
|
|
783
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV5Xcm }
|
|
784
|
+
| { type: 'SetAppendix'; value: StagingXcmV5Xcm }
|
|
650
785
|
| { type: 'ClearError' }
|
|
651
|
-
| { type: 'ClaimAsset'; value: { assets:
|
|
786
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV5AssetAssets; ticket: StagingXcmV5Location } }
|
|
652
787
|
| { type: 'Trap'; value: bigint }
|
|
653
788
|
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
654
789
|
| { type: 'UnsubscribeVersion' }
|
|
655
|
-
| { type: 'BurnAsset'; value:
|
|
656
|
-
| { type: 'ExpectAsset'; value:
|
|
657
|
-
| { type: 'ExpectOrigin'; value?:
|
|
658
|
-
| { type: 'ExpectError'; value?: [number,
|
|
790
|
+
| { type: 'BurnAsset'; value: StagingXcmV5AssetAssets }
|
|
791
|
+
| { type: 'ExpectAsset'; value: StagingXcmV5AssetAssets }
|
|
792
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV5Location | undefined }
|
|
793
|
+
| { type: 'ExpectError'; value?: [number, XcmV5TraitsError] | undefined }
|
|
659
794
|
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
660
|
-
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo:
|
|
795
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV5QueryResponseInfo } }
|
|
661
796
|
| {
|
|
662
797
|
type: 'ExpectPallet';
|
|
663
798
|
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
664
799
|
}
|
|
665
|
-
| { type: 'ReportTransactStatus'; value:
|
|
800
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV5QueryResponseInfo }
|
|
666
801
|
| { type: 'ClearTransactStatus' }
|
|
667
|
-
| { type: 'UniversalOrigin'; value:
|
|
802
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV5Junction }
|
|
668
803
|
| {
|
|
669
804
|
type: 'ExportMessage';
|
|
670
|
-
value: { network:
|
|
805
|
+
value: { network: StagingXcmV5JunctionNetworkId; destination: StagingXcmV5Junctions; xcm: StagingXcmV5Xcm };
|
|
671
806
|
}
|
|
672
|
-
| { type: 'LockAsset'; value: { asset:
|
|
673
|
-
| { type: 'UnlockAsset'; value: { asset:
|
|
674
|
-
| { type: 'NoteUnlockable'; value: { asset:
|
|
675
|
-
| { type: 'RequestUnlock'; value: { asset:
|
|
807
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV5Asset; unlocker: StagingXcmV5Location } }
|
|
808
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV5Asset; target: StagingXcmV5Location } }
|
|
809
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV5Asset; owner: StagingXcmV5Location } }
|
|
810
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV5Asset; locker: StagingXcmV5Location } }
|
|
676
811
|
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
677
812
|
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
678
813
|
| { type: 'ClearTopic' }
|
|
679
|
-
| { type: 'AliasOrigin'; value:
|
|
814
|
+
| { type: 'AliasOrigin'; value: StagingXcmV5Location }
|
|
680
815
|
| {
|
|
681
816
|
type: 'UnpaidExecution';
|
|
682
|
-
value: { weightLimit: XcmV3WeightLimit; checkOrigin?:
|
|
683
|
-
}
|
|
817
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV5Location | undefined };
|
|
818
|
+
}
|
|
819
|
+
| { type: 'PayFees'; value: { asset: StagingXcmV5Asset } }
|
|
820
|
+
| {
|
|
821
|
+
type: 'InitiateTransfer';
|
|
822
|
+
value: {
|
|
823
|
+
destination: StagingXcmV5Location;
|
|
824
|
+
remoteFees?: StagingXcmV5AssetAssetTransferFilter | undefined;
|
|
825
|
+
preserveOrigin: boolean;
|
|
826
|
+
assets: Array<StagingXcmV5AssetAssetTransferFilter>;
|
|
827
|
+
remoteXcm: StagingXcmV5Xcm;
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
| { type: 'ExecuteWithOrigin'; value: { descendantOrigin?: StagingXcmV5Junctions | undefined; xcm: StagingXcmV5Xcm } }
|
|
831
|
+
| { type: 'SetHints'; value: { hints: Array<StagingXcmV5Hint> } };
|
|
684
832
|
|
|
685
|
-
export type
|
|
833
|
+
export type StagingXcmV5AssetAssets = Array<StagingXcmV5Asset>;
|
|
686
834
|
|
|
687
|
-
export type
|
|
835
|
+
export type StagingXcmV5Asset = { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetFungibility };
|
|
688
836
|
|
|
689
|
-
export type
|
|
837
|
+
export type StagingXcmV5AssetAssetId = StagingXcmV5Location;
|
|
690
838
|
|
|
691
|
-
export type
|
|
839
|
+
export type StagingXcmV5AssetFungibility =
|
|
692
840
|
| { type: 'Fungible'; value: bigint }
|
|
693
|
-
| { type: 'NonFungible'; value:
|
|
841
|
+
| { type: 'NonFungible'; value: StagingXcmV5AssetAssetInstance };
|
|
694
842
|
|
|
695
|
-
export type
|
|
843
|
+
export type StagingXcmV5AssetAssetInstance =
|
|
696
844
|
| { type: 'Undefined' }
|
|
697
845
|
| { type: 'Index'; value: bigint }
|
|
698
846
|
| { type: 'Array4'; value: FixedBytes<4> }
|
|
@@ -700,15 +848,15 @@ export type StagingXcmV4AssetAssetInstance =
|
|
|
700
848
|
| { type: 'Array16'; value: FixedBytes<16> }
|
|
701
849
|
| { type: 'Array32'; value: FixedBytes<32> };
|
|
702
850
|
|
|
703
|
-
export type
|
|
851
|
+
export type StagingXcmV5Response =
|
|
704
852
|
| { type: 'Null' }
|
|
705
|
-
| { type: 'Assets'; value:
|
|
706
|
-
| { type: 'ExecutionResult'; value?: [number,
|
|
853
|
+
| { type: 'Assets'; value: StagingXcmV5AssetAssets }
|
|
854
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV5TraitsError] | undefined }
|
|
707
855
|
| { type: 'Version'; value: number }
|
|
708
|
-
| { type: 'PalletsInfo'; value: Array<
|
|
856
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV5PalletInfo> }
|
|
709
857
|
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
710
858
|
|
|
711
|
-
export type
|
|
859
|
+
export type StagingXcmV5PalletInfo = {
|
|
712
860
|
index: number;
|
|
713
861
|
name: Bytes;
|
|
714
862
|
moduleName: Bytes;
|
|
@@ -726,118 +874,40 @@ export type XcmV3OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm
|
|
|
726
874
|
|
|
727
875
|
export type XcmDoubleEncoded = { encoded: Bytes };
|
|
728
876
|
|
|
729
|
-
export type
|
|
730
|
-
destination:
|
|
877
|
+
export type StagingXcmV5QueryResponseInfo = {
|
|
878
|
+
destination: StagingXcmV5Location;
|
|
731
879
|
queryId: bigint;
|
|
732
880
|
maxWeight: SpWeightsWeightV2Weight;
|
|
733
881
|
};
|
|
734
882
|
|
|
735
|
-
export type
|
|
736
|
-
| { type: 'Definite'; value:
|
|
737
|
-
| { type: 'Wild'; value:
|
|
883
|
+
export type StagingXcmV5AssetAssetFilter =
|
|
884
|
+
| { type: 'Definite'; value: StagingXcmV5AssetAssets }
|
|
885
|
+
| { type: 'Wild'; value: StagingXcmV5AssetWildAsset };
|
|
738
886
|
|
|
739
|
-
export type
|
|
887
|
+
export type StagingXcmV5AssetWildAsset =
|
|
740
888
|
| { type: 'All' }
|
|
741
|
-
| { type: 'AllOf'; value: { id:
|
|
889
|
+
| { type: 'AllOf'; value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility } }
|
|
742
890
|
| { type: 'AllCounted'; value: number }
|
|
743
891
|
| {
|
|
744
892
|
type: 'AllOfCounted';
|
|
745
|
-
value: { id:
|
|
893
|
+
value: { id: StagingXcmV5AssetAssetId; fun: StagingXcmV5AssetWildFungibility; count: number };
|
|
746
894
|
};
|
|
747
895
|
|
|
748
|
-
export type
|
|
896
|
+
export type StagingXcmV5AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
749
897
|
|
|
750
898
|
export type XcmV3WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: SpWeightsWeightV2Weight };
|
|
751
899
|
|
|
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' };
|
|
900
|
+
export type StagingXcmV5AssetAssetTransferFilter =
|
|
901
|
+
| { type: 'Teleport'; value: StagingXcmV5AssetAssetFilter }
|
|
902
|
+
| { type: 'ReserveDeposit'; value: StagingXcmV5AssetAssetFilter }
|
|
903
|
+
| { type: 'ReserveWithdraw'; value: StagingXcmV5AssetAssetFilter };
|
|
809
904
|
|
|
810
|
-
export type
|
|
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 } };
|
|
905
|
+
export type StagingXcmV5Hint = { type: 'AssetClaimer'; value: { location: StagingXcmV5Location } };
|
|
828
906
|
|
|
829
|
-
export type
|
|
830
|
-
| { type: '
|
|
831
|
-
| { type: '
|
|
832
|
-
|
|
833
|
-
export type XcmV2MultiassetAssetInstance =
|
|
834
|
-
| { type: 'Undefined' }
|
|
835
|
-
| { type: 'Index'; value: bigint }
|
|
836
|
-
| { type: 'Array4'; value: FixedBytes<4> }
|
|
837
|
-
| { type: 'Array8'; value: FixedBytes<8> }
|
|
838
|
-
| { type: 'Array16'; value: FixedBytes<16> }
|
|
839
|
-
| { type: 'Array32'; value: FixedBytes<32> }
|
|
840
|
-
| { type: 'Blob'; value: Bytes };
|
|
907
|
+
export type XcmVersionedAssets =
|
|
908
|
+
| { type: 'V3'; value: XcmV3MultiassetMultiAssets }
|
|
909
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssets }
|
|
910
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssets };
|
|
841
911
|
|
|
842
912
|
export type XcmV3MultiassetMultiAssets = Array<XcmV3MultiassetMultiAsset>;
|
|
843
913
|
|
|
@@ -912,10 +982,66 @@ export type XcmV3MultiassetAssetInstance =
|
|
|
912
982
|
| { type: 'Array16'; value: FixedBytes<16> }
|
|
913
983
|
| { type: 'Array32'; value: FixedBytes<32> };
|
|
914
984
|
|
|
985
|
+
export type StagingXcmV4AssetAssets = Array<StagingXcmV4Asset>;
|
|
986
|
+
|
|
987
|
+
export type StagingXcmV4Asset = { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetFungibility };
|
|
988
|
+
|
|
989
|
+
export type StagingXcmV4AssetAssetId = StagingXcmV4Location;
|
|
990
|
+
|
|
991
|
+
export type StagingXcmV4Location = { parents: number; interior: StagingXcmV4Junctions };
|
|
992
|
+
|
|
993
|
+
export type StagingXcmV4Junctions =
|
|
994
|
+
| { type: 'Here' }
|
|
995
|
+
| { type: 'X1'; value: FixedArray<StagingXcmV4Junction, 1> }
|
|
996
|
+
| { type: 'X2'; value: FixedArray<StagingXcmV4Junction, 2> }
|
|
997
|
+
| { type: 'X3'; value: FixedArray<StagingXcmV4Junction, 3> }
|
|
998
|
+
| { type: 'X4'; value: FixedArray<StagingXcmV4Junction, 4> }
|
|
999
|
+
| { type: 'X5'; value: FixedArray<StagingXcmV4Junction, 5> }
|
|
1000
|
+
| { type: 'X6'; value: FixedArray<StagingXcmV4Junction, 6> }
|
|
1001
|
+
| { type: 'X7'; value: FixedArray<StagingXcmV4Junction, 7> }
|
|
1002
|
+
| { type: 'X8'; value: FixedArray<StagingXcmV4Junction, 8> };
|
|
1003
|
+
|
|
1004
|
+
export type StagingXcmV4Junction =
|
|
1005
|
+
| { type: 'Parachain'; value: number }
|
|
1006
|
+
| { type: 'AccountId32'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; id: FixedBytes<32> } }
|
|
1007
|
+
| { type: 'AccountIndex64'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; index: bigint } }
|
|
1008
|
+
| { type: 'AccountKey20'; value: { network?: StagingXcmV4JunctionNetworkId | undefined; key: FixedBytes<20> } }
|
|
1009
|
+
| { type: 'PalletInstance'; value: number }
|
|
1010
|
+
| { type: 'GeneralIndex'; value: bigint }
|
|
1011
|
+
| { type: 'GeneralKey'; value: { length: number; data: FixedBytes<32> } }
|
|
1012
|
+
| { type: 'OnlyChild' }
|
|
1013
|
+
| { type: 'Plurality'; value: { id: XcmV3JunctionBodyId; part: XcmV3JunctionBodyPart } }
|
|
1014
|
+
| { type: 'GlobalConsensus'; value: StagingXcmV4JunctionNetworkId };
|
|
1015
|
+
|
|
1016
|
+
export type StagingXcmV4JunctionNetworkId =
|
|
1017
|
+
| { type: 'ByGenesis'; value: FixedBytes<32> }
|
|
1018
|
+
| { type: 'ByFork'; value: { blockNumber: bigint; blockHash: FixedBytes<32> } }
|
|
1019
|
+
| { type: 'Polkadot' }
|
|
1020
|
+
| { type: 'Kusama' }
|
|
1021
|
+
| { type: 'Westend' }
|
|
1022
|
+
| { type: 'Rococo' }
|
|
1023
|
+
| { type: 'Wococo' }
|
|
1024
|
+
| { type: 'Ethereum'; value: { chainId: bigint } }
|
|
1025
|
+
| { type: 'BitcoinCore' }
|
|
1026
|
+
| { type: 'BitcoinCash' }
|
|
1027
|
+
| { type: 'PolkadotBulletin' };
|
|
1028
|
+
|
|
1029
|
+
export type StagingXcmV4AssetFungibility =
|
|
1030
|
+
| { type: 'Fungible'; value: bigint }
|
|
1031
|
+
| { type: 'NonFungible'; value: StagingXcmV4AssetAssetInstance };
|
|
1032
|
+
|
|
1033
|
+
export type StagingXcmV4AssetAssetInstance =
|
|
1034
|
+
| { type: 'Undefined' }
|
|
1035
|
+
| { type: 'Index'; value: bigint }
|
|
1036
|
+
| { type: 'Array4'; value: FixedBytes<4> }
|
|
1037
|
+
| { type: 'Array8'; value: FixedBytes<8> }
|
|
1038
|
+
| { type: 'Array16'; value: FixedBytes<16> }
|
|
1039
|
+
| { type: 'Array32'; value: FixedBytes<32> };
|
|
1040
|
+
|
|
915
1041
|
export type XcmVersionedLocation =
|
|
916
|
-
| { type: 'V2'; value: XcmV2MultilocationMultiLocation }
|
|
917
1042
|
| { type: 'V3'; value: StagingXcmV3MultilocationMultiLocation }
|
|
918
|
-
| { type: 'V4'; value: StagingXcmV4Location }
|
|
1043
|
+
| { type: 'V4'; value: StagingXcmV4Location }
|
|
1044
|
+
| { type: 'V5'; value: StagingXcmV5Location };
|
|
919
1045
|
|
|
920
1046
|
/**
|
|
921
1047
|
* The `Event` enum of this pallet
|
|
@@ -935,7 +1061,7 @@ export type CumulusPalletXcmEvent =
|
|
|
935
1061
|
* Downward message executed with the given outcome.
|
|
936
1062
|
* \[ id, outcome \]
|
|
937
1063
|
**/
|
|
938
|
-
| { name: 'ExecutedDownward'; data: [FixedBytes<32>,
|
|
1064
|
+
| { name: 'ExecutedDownward'; data: [FixedBytes<32>, StagingXcmV5TraitsOutcome] };
|
|
939
1065
|
|
|
940
1066
|
/**
|
|
941
1067
|
* The `Event` enum of this pallet
|
|
@@ -1220,6 +1346,14 @@ export type PalletIdentityEvent =
|
|
|
1220
1346
|
* A sub-identity was added to an identity and the deposit paid.
|
|
1221
1347
|
**/
|
|
1222
1348
|
| { name: 'SubIdentityAdded'; data: { sub: AccountId32; main: AccountId32; deposit: bigint } }
|
|
1349
|
+
/**
|
|
1350
|
+
* An account's sub-identities were set (in bulk).
|
|
1351
|
+
**/
|
|
1352
|
+
| { name: 'SubIdentitiesSet'; data: { main: AccountId32; numberOfSubs: number; newDeposit: bigint } }
|
|
1353
|
+
/**
|
|
1354
|
+
* A given sub-account's associated name was changed by its super-identity.
|
|
1355
|
+
**/
|
|
1356
|
+
| { name: 'SubIdentityRenamed'; data: { sub: AccountId32; main: AccountId32 } }
|
|
1223
1357
|
/**
|
|
1224
1358
|
* A sub-identity was removed from an identity and the deposit freed.
|
|
1225
1359
|
**/
|
|
@@ -1257,7 +1391,19 @@ export type PalletIdentityEvent =
|
|
|
1257
1391
|
* A dangling username (as in, a username corresponding to an account that has removed its
|
|
1258
1392
|
* identity) has been removed.
|
|
1259
1393
|
**/
|
|
1260
|
-
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1394
|
+
| { name: 'DanglingUsernameRemoved'; data: { who: AccountId32; username: Bytes } }
|
|
1395
|
+
/**
|
|
1396
|
+
* A username has been unbound.
|
|
1397
|
+
**/
|
|
1398
|
+
| { name: 'UsernameUnbound'; data: { username: Bytes } }
|
|
1399
|
+
/**
|
|
1400
|
+
* A username has been removed.
|
|
1401
|
+
**/
|
|
1402
|
+
| { name: 'UsernameRemoved'; data: { username: Bytes } }
|
|
1403
|
+
/**
|
|
1404
|
+
* A username has been killed.
|
|
1405
|
+
**/
|
|
1406
|
+
| { name: 'UsernameKilled'; data: { username: Bytes } };
|
|
1261
1407
|
|
|
1262
1408
|
/**
|
|
1263
1409
|
* The `Event` enum of this pallet
|
|
@@ -1720,38 +1866,134 @@ export type PalletTimestampCall =
|
|
|
1720
1866
|
* `on_finalize`)
|
|
1721
1867
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
1722
1868
|
**/
|
|
1723
|
-
{ name: 'Set'; params: { now: bigint } };
|
|
1869
|
+
{ name: 'Set'; params: { now: bigint } };
|
|
1870
|
+
|
|
1871
|
+
export type PalletTimestampCallLike =
|
|
1872
|
+
/**
|
|
1873
|
+
* Set the current time.
|
|
1874
|
+
*
|
|
1875
|
+
* This call should be invoked exactly once per block. It will panic at the finalization
|
|
1876
|
+
* phase, if this call hasn't been invoked by that time.
|
|
1877
|
+
*
|
|
1878
|
+
* The timestamp should be greater than the previous one by the amount specified by
|
|
1879
|
+
* [`Config::MinimumPeriod`].
|
|
1880
|
+
*
|
|
1881
|
+
* The dispatch origin for this call must be _None_.
|
|
1882
|
+
*
|
|
1883
|
+
* This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
|
|
1884
|
+
* that changing the complexity of this call could result exhausting the resources in a
|
|
1885
|
+
* block to execute any other calls.
|
|
1886
|
+
*
|
|
1887
|
+
* ## Complexity
|
|
1888
|
+
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
1889
|
+
* - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
|
|
1890
|
+
* `on_finalize`)
|
|
1891
|
+
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
1892
|
+
**/
|
|
1893
|
+
{ name: 'Set'; params: { now: bigint } };
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1897
|
+
**/
|
|
1898
|
+
export type StagingParachainInfoCall = null;
|
|
1899
|
+
|
|
1900
|
+
export type StagingParachainInfoCallLike = null;
|
|
1901
|
+
|
|
1902
|
+
export type PalletMigrationsMigrationCursor =
|
|
1903
|
+
| { type: 'Active'; value: PalletMigrationsActiveCursor }
|
|
1904
|
+
| { type: 'Stuck' };
|
|
1905
|
+
|
|
1906
|
+
export type PalletMigrationsActiveCursor = { index: number; innerCursor?: Bytes | undefined; startedAt: number };
|
|
1907
|
+
|
|
1908
|
+
/**
|
|
1909
|
+
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
1910
|
+
**/
|
|
1911
|
+
export type PalletMigrationsCall =
|
|
1912
|
+
/**
|
|
1913
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
1914
|
+
*
|
|
1915
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
1916
|
+
* restarting the migration process in this manner will not call the
|
|
1917
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
1918
|
+
**/
|
|
1919
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
1920
|
+
/**
|
|
1921
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
1922
|
+
*
|
|
1923
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
1924
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
1925
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
1926
|
+
* indicates that the current block number plus one should be used.
|
|
1927
|
+
**/
|
|
1928
|
+
| {
|
|
1929
|
+
name: 'ForceSetActiveCursor';
|
|
1930
|
+
params: { index: number; innerCursor?: Bytes | undefined; startedAt?: number | undefined };
|
|
1931
|
+
}
|
|
1932
|
+
/**
|
|
1933
|
+
* Forces the onboarding of the migrations.
|
|
1934
|
+
*
|
|
1935
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
1936
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
1937
|
+
**/
|
|
1938
|
+
| { name: 'ForceOnboardMbms' }
|
|
1939
|
+
/**
|
|
1940
|
+
* Clears the `Historic` set.
|
|
1941
|
+
*
|
|
1942
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
1943
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
1944
|
+
* way that will result in a sensible weight.
|
|
1945
|
+
**/
|
|
1946
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
1724
1947
|
|
|
1725
|
-
export type
|
|
1948
|
+
export type PalletMigrationsCallLike =
|
|
1726
1949
|
/**
|
|
1727
|
-
*
|
|
1950
|
+
* Allows root to set a cursor to forcefully start, stop or forward the migration process.
|
|
1728
1951
|
*
|
|
1729
|
-
*
|
|
1730
|
-
*
|
|
1731
|
-
*
|
|
1732
|
-
|
|
1733
|
-
|
|
1952
|
+
* Should normally not be needed and is only in place as emergency measure. Note that
|
|
1953
|
+
* restarting the migration process in this manner will not call the
|
|
1954
|
+
* [`MigrationStatusHandler::started`] hook or emit an `UpgradeStarted` event.
|
|
1955
|
+
**/
|
|
1956
|
+
| { name: 'ForceSetCursor'; params: { cursor?: PalletMigrationsMigrationCursor | undefined } }
|
|
1957
|
+
/**
|
|
1958
|
+
* Allows root to set an active cursor to forcefully start/forward the migration process.
|
|
1734
1959
|
*
|
|
1735
|
-
*
|
|
1960
|
+
* This is an edge-case version of [`Self::force_set_cursor`] that allows to set the
|
|
1961
|
+
* `started_at` value to the next block number. Otherwise this would not be possible, since
|
|
1962
|
+
* `force_set_cursor` takes an absolute block number. Setting `started_at` to `None`
|
|
1963
|
+
* indicates that the current block number plus one should be used.
|
|
1964
|
+
**/
|
|
1965
|
+
| {
|
|
1966
|
+
name: 'ForceSetActiveCursor';
|
|
1967
|
+
params: { index: number; innerCursor?: BytesLike | undefined; startedAt?: number | undefined };
|
|
1968
|
+
}
|
|
1969
|
+
/**
|
|
1970
|
+
* Forces the onboarding of the migrations.
|
|
1736
1971
|
*
|
|
1737
|
-
* This
|
|
1738
|
-
*
|
|
1739
|
-
|
|
1972
|
+
* This process happens automatically on a runtime upgrade. It is in place as an emergency
|
|
1973
|
+
* measurement. The cursor needs to be `None` for this to succeed.
|
|
1974
|
+
**/
|
|
1975
|
+
| { name: 'ForceOnboardMbms' }
|
|
1976
|
+
/**
|
|
1977
|
+
* Clears the `Historic` set.
|
|
1740
1978
|
*
|
|
1741
|
-
*
|
|
1742
|
-
*
|
|
1743
|
-
*
|
|
1744
|
-
* `on_finalize`)
|
|
1745
|
-
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
1979
|
+
* `map_cursor` must be set to the last value that was returned by the
|
|
1980
|
+
* `HistoricCleared` event. The first time `None` can be used. `limit` must be chosen in a
|
|
1981
|
+
* way that will result in a sensible weight.
|
|
1746
1982
|
**/
|
|
1747
|
-
{ name: '
|
|
1983
|
+
| { name: 'ClearHistoric'; params: { selector: PalletMigrationsHistoricCleanupSelector } };
|
|
1984
|
+
|
|
1985
|
+
export type PalletMigrationsHistoricCleanupSelector =
|
|
1986
|
+
| { type: 'Specific'; value: Array<Bytes> }
|
|
1987
|
+
| { type: 'Wildcard'; value: { limit?: number | undefined; previousCursor?: Bytes | undefined } };
|
|
1748
1988
|
|
|
1749
1989
|
/**
|
|
1750
|
-
*
|
|
1990
|
+
* The `Error` enum of this pallet.
|
|
1751
1991
|
**/
|
|
1752
|
-
export type
|
|
1753
|
-
|
|
1754
|
-
|
|
1992
|
+
export type PalletMigrationsError =
|
|
1993
|
+
/**
|
|
1994
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
1995
|
+
**/
|
|
1996
|
+
'Ongoing';
|
|
1755
1997
|
|
|
1756
1998
|
export type PalletBalancesBalanceLock = { id: FixedBytes<8>; amount: bigint; reasons: PalletBalancesReasons };
|
|
1757
1999
|
|
|
@@ -2475,23 +2717,25 @@ export type PalletXcmQueryStatus =
|
|
|
2475
2717
|
| { type: 'Ready'; value: { response: XcmVersionedResponse; at: number } };
|
|
2476
2718
|
|
|
2477
2719
|
export type XcmVersionedResponse =
|
|
2478
|
-
| { type: 'V2'; value: XcmV2Response }
|
|
2479
2720
|
| { type: 'V3'; value: XcmV3Response }
|
|
2480
|
-
| { type: 'V4'; value: StagingXcmV4Response }
|
|
2721
|
+
| { type: 'V4'; value: StagingXcmV4Response }
|
|
2722
|
+
| { type: 'V5'; value: StagingXcmV5Response };
|
|
2481
2723
|
|
|
2482
|
-
export type
|
|
2724
|
+
export type XcmV3Response =
|
|
2483
2725
|
| { type: 'Null' }
|
|
2484
|
-
| { type: 'Assets'; value:
|
|
2485
|
-
| { type: 'ExecutionResult'; value?: [number,
|
|
2486
|
-
| { type: 'Version'; value: number }
|
|
2726
|
+
| { type: 'Assets'; value: XcmV3MultiassetMultiAssets }
|
|
2727
|
+
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
2728
|
+
| { type: 'Version'; value: number }
|
|
2729
|
+
| { type: 'PalletsInfo'; value: Array<XcmV3PalletInfo> }
|
|
2730
|
+
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
2487
2731
|
|
|
2488
|
-
export type
|
|
2732
|
+
export type XcmV3TraitsError =
|
|
2489
2733
|
| { type: 'Overflow' }
|
|
2490
2734
|
| { type: 'Unimplemented' }
|
|
2491
2735
|
| { type: 'UntrustedReserveLocation' }
|
|
2492
2736
|
| { type: 'UntrustedTeleportLocation' }
|
|
2493
|
-
| { type: '
|
|
2494
|
-
| { type: '
|
|
2737
|
+
| { type: 'LocationFull' }
|
|
2738
|
+
| { type: 'LocationNotInvertible' }
|
|
2495
2739
|
| { type: 'BadOrigin' }
|
|
2496
2740
|
| { type: 'InvalidLocation' }
|
|
2497
2741
|
| { type: 'AssetNotFound' }
|
|
@@ -2508,20 +2752,43 @@ export type XcmV2TraitsError =
|
|
|
2508
2752
|
| { type: 'NotHoldingFees' }
|
|
2509
2753
|
| { type: 'TooExpensive' }
|
|
2510
2754
|
| { type: 'Trap'; value: bigint }
|
|
2755
|
+
| { type: 'ExpectationFalse' }
|
|
2756
|
+
| { type: 'PalletNotFound' }
|
|
2757
|
+
| { type: 'NameMismatch' }
|
|
2758
|
+
| { type: 'VersionIncompatible' }
|
|
2759
|
+
| { type: 'HoldingWouldOverflow' }
|
|
2760
|
+
| { type: 'ExportError' }
|
|
2761
|
+
| { type: 'ReanchorFailed' }
|
|
2762
|
+
| { type: 'NoDeal' }
|
|
2763
|
+
| { type: 'FeesNotMet' }
|
|
2764
|
+
| { type: 'LockError' }
|
|
2765
|
+
| { type: 'NoPermission' }
|
|
2766
|
+
| { type: 'Unanchored' }
|
|
2767
|
+
| { type: 'NotDepositable' }
|
|
2511
2768
|
| { type: 'UnhandledXcmVersion' }
|
|
2512
|
-
| { type: 'WeightLimitReached'; value:
|
|
2769
|
+
| { type: 'WeightLimitReached'; value: SpWeightsWeightV2Weight }
|
|
2513
2770
|
| { type: 'Barrier' }
|
|
2514
|
-
| { type: 'WeightNotComputable' }
|
|
2771
|
+
| { type: 'WeightNotComputable' }
|
|
2772
|
+
| { type: 'ExceedsStackLimit' };
|
|
2515
2773
|
|
|
2516
|
-
export type
|
|
2774
|
+
export type XcmV3PalletInfo = {
|
|
2775
|
+
index: number;
|
|
2776
|
+
name: Bytes;
|
|
2777
|
+
moduleName: Bytes;
|
|
2778
|
+
major: number;
|
|
2779
|
+
minor: number;
|
|
2780
|
+
patch: number;
|
|
2781
|
+
};
|
|
2782
|
+
|
|
2783
|
+
export type StagingXcmV4Response =
|
|
2517
2784
|
| { type: 'Null' }
|
|
2518
|
-
| { type: 'Assets'; value:
|
|
2785
|
+
| { type: 'Assets'; value: StagingXcmV4AssetAssets }
|
|
2519
2786
|
| { type: 'ExecutionResult'; value?: [number, XcmV3TraitsError] | undefined }
|
|
2520
2787
|
| { type: 'Version'; value: number }
|
|
2521
|
-
| { type: 'PalletsInfo'; value: Array<
|
|
2788
|
+
| { type: 'PalletsInfo'; value: Array<StagingXcmV4PalletInfo> }
|
|
2522
2789
|
| { type: 'DispatchResult'; value: XcmV3MaybeErrorCode };
|
|
2523
2790
|
|
|
2524
|
-
export type
|
|
2791
|
+
export type StagingXcmV4PalletInfo = {
|
|
2525
2792
|
index: number;
|
|
2526
2793
|
name: Bytes;
|
|
2527
2794
|
moduleName: Bytes;
|
|
@@ -2538,7 +2805,8 @@ export type PalletXcmVersionMigrationStage =
|
|
|
2538
2805
|
|
|
2539
2806
|
export type XcmVersionedAssetId =
|
|
2540
2807
|
| { type: 'V3'; value: XcmV3MultiassetAssetId }
|
|
2541
|
-
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
2808
|
+
| { type: 'V4'; value: StagingXcmV4AssetAssetId }
|
|
2809
|
+
| { type: 'V5'; value: StagingXcmV5AssetAssetId };
|
|
2542
2810
|
|
|
2543
2811
|
export type PalletXcmRemoteLockedFungibleRecord = {
|
|
2544
2812
|
amount: bigint;
|
|
@@ -2641,7 +2909,7 @@ export type PalletXcmCall =
|
|
|
2641
2909
|
* - `location`: The destination that is being described.
|
|
2642
2910
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
2643
2911
|
**/
|
|
2644
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
2912
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
2645
2913
|
/**
|
|
2646
2914
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
2647
2915
|
* version a destination can accept is unknown).
|
|
@@ -2953,7 +3221,7 @@ export type PalletXcmCallLike =
|
|
|
2953
3221
|
* - `location`: The destination that is being described.
|
|
2954
3222
|
* - `xcm_version`: The latest version of XCM that `location` supports.
|
|
2955
3223
|
**/
|
|
2956
|
-
| { name: 'ForceXcmVersion'; params: { location:
|
|
3224
|
+
| { name: 'ForceXcmVersion'; params: { location: StagingXcmV5Location; version: number } }
|
|
2957
3225
|
/**
|
|
2958
3226
|
* Set a safe XCM version (the version that XCM should be encoded with if the most recent
|
|
2959
3227
|
* version a destination can accept is unknown).
|
|
@@ -3175,93 +3443,9 @@ export type PalletXcmCallLike =
|
|
|
3175
3443
|
};
|
|
3176
3444
|
|
|
3177
3445
|
export type XcmVersionedXcm =
|
|
3178
|
-
| { type: 'V2'; value: XcmV2Xcm }
|
|
3179
3446
|
| { type: 'V3'; value: XcmV3Xcm }
|
|
3180
|
-
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
3181
|
-
|
|
3182
|
-
export type XcmV2Xcm = Array<XcmV2Instruction>;
|
|
3183
|
-
|
|
3184
|
-
export type XcmV2Instruction =
|
|
3185
|
-
| { type: 'WithdrawAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3186
|
-
| { type: 'ReserveAssetDeposited'; value: XcmV2MultiassetMultiAssets }
|
|
3187
|
-
| { type: 'ReceiveTeleportedAsset'; value: XcmV2MultiassetMultiAssets }
|
|
3188
|
-
| { type: 'QueryResponse'; value: { queryId: bigint; response: XcmV2Response; maxWeight: bigint } }
|
|
3189
|
-
| {
|
|
3190
|
-
type: 'TransferAsset';
|
|
3191
|
-
value: { assets: XcmV2MultiassetMultiAssets; beneficiary: XcmV2MultilocationMultiLocation };
|
|
3192
|
-
}
|
|
3193
|
-
| {
|
|
3194
|
-
type: 'TransferReserveAsset';
|
|
3195
|
-
value: { assets: XcmV2MultiassetMultiAssets; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3196
|
-
}
|
|
3197
|
-
| { type: 'Transact'; value: { originType: XcmV2OriginKind; requireWeightAtMost: bigint; call: XcmDoubleEncoded } }
|
|
3198
|
-
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3199
|
-
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3200
|
-
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3201
|
-
| { type: 'ClearOrigin' }
|
|
3202
|
-
| { type: 'DescendOrigin'; value: XcmV2MultilocationJunctions }
|
|
3203
|
-
| {
|
|
3204
|
-
type: 'ReportError';
|
|
3205
|
-
value: { queryId: bigint; dest: XcmV2MultilocationMultiLocation; maxResponseWeight: bigint };
|
|
3206
|
-
}
|
|
3207
|
-
| {
|
|
3208
|
-
type: 'DepositAsset';
|
|
3209
|
-
value: {
|
|
3210
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3211
|
-
maxAssets: number;
|
|
3212
|
-
beneficiary: XcmV2MultilocationMultiLocation;
|
|
3213
|
-
};
|
|
3214
|
-
}
|
|
3215
|
-
| {
|
|
3216
|
-
type: 'DepositReserveAsset';
|
|
3217
|
-
value: {
|
|
3218
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3219
|
-
maxAssets: number;
|
|
3220
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
3221
|
-
xcm: XcmV2Xcm;
|
|
3222
|
-
};
|
|
3223
|
-
}
|
|
3224
|
-
| { type: 'ExchangeAsset'; value: { give: XcmV2MultiassetMultiAssetFilter; receive: XcmV2MultiassetMultiAssets } }
|
|
3225
|
-
| {
|
|
3226
|
-
type: 'InitiateReserveWithdraw';
|
|
3227
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; reserve: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3228
|
-
}
|
|
3229
|
-
| {
|
|
3230
|
-
type: 'InitiateTeleport';
|
|
3231
|
-
value: { assets: XcmV2MultiassetMultiAssetFilter; dest: XcmV2MultilocationMultiLocation; xcm: XcmV2Xcm };
|
|
3232
|
-
}
|
|
3233
|
-
| {
|
|
3234
|
-
type: 'QueryHolding';
|
|
3235
|
-
value: {
|
|
3236
|
-
queryId: bigint;
|
|
3237
|
-
dest: XcmV2MultilocationMultiLocation;
|
|
3238
|
-
assets: XcmV2MultiassetMultiAssetFilter;
|
|
3239
|
-
maxResponseWeight: bigint;
|
|
3240
|
-
};
|
|
3241
|
-
}
|
|
3242
|
-
| { type: 'BuyExecution'; value: { fees: XcmV2MultiassetMultiAsset; weightLimit: XcmV2WeightLimit } }
|
|
3243
|
-
| { type: 'RefundSurplus' }
|
|
3244
|
-
| { type: 'SetErrorHandler'; value: XcmV2Xcm }
|
|
3245
|
-
| { type: 'SetAppendix'; value: XcmV2Xcm }
|
|
3246
|
-
| { type: 'ClearError' }
|
|
3247
|
-
| { type: 'ClaimAsset'; value: { assets: XcmV2MultiassetMultiAssets; ticket: XcmV2MultilocationMultiLocation } }
|
|
3248
|
-
| { type: 'Trap'; value: bigint }
|
|
3249
|
-
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: bigint } }
|
|
3250
|
-
| { type: 'UnsubscribeVersion' };
|
|
3251
|
-
|
|
3252
|
-
export type XcmV2OriginKind = 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm';
|
|
3253
|
-
|
|
3254
|
-
export type XcmV2MultiassetMultiAssetFilter =
|
|
3255
|
-
| { type: 'Definite'; value: XcmV2MultiassetMultiAssets }
|
|
3256
|
-
| { type: 'Wild'; value: XcmV2MultiassetWildMultiAsset };
|
|
3257
|
-
|
|
3258
|
-
export type XcmV2MultiassetWildMultiAsset =
|
|
3259
|
-
| { type: 'All' }
|
|
3260
|
-
| { type: 'AllOf'; value: { id: XcmV2MultiassetAssetId; fun: XcmV2MultiassetWildFungibility } };
|
|
3261
|
-
|
|
3262
|
-
export type XcmV2MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3263
|
-
|
|
3264
|
-
export type XcmV2WeightLimit = { type: 'Unlimited' } | { type: 'Limited'; value: bigint };
|
|
3447
|
+
| { type: 'V4'; value: StagingXcmV4Xcm }
|
|
3448
|
+
| { type: 'V5'; value: StagingXcmV5Xcm };
|
|
3265
3449
|
|
|
3266
3450
|
export type XcmV3Xcm = Array<XcmV3Instruction>;
|
|
3267
3451
|
|
|
@@ -3384,6 +3568,117 @@ export type XcmV3MultiassetWildMultiAsset =
|
|
|
3384
3568
|
|
|
3385
3569
|
export type XcmV3MultiassetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3386
3570
|
|
|
3571
|
+
export type StagingXcmV4Xcm = Array<StagingXcmV4Instruction>;
|
|
3572
|
+
|
|
3573
|
+
export type StagingXcmV4Instruction =
|
|
3574
|
+
| { type: 'WithdrawAsset'; value: StagingXcmV4AssetAssets }
|
|
3575
|
+
| { type: 'ReserveAssetDeposited'; value: StagingXcmV4AssetAssets }
|
|
3576
|
+
| { type: 'ReceiveTeleportedAsset'; value: StagingXcmV4AssetAssets }
|
|
3577
|
+
| {
|
|
3578
|
+
type: 'QueryResponse';
|
|
3579
|
+
value: {
|
|
3580
|
+
queryId: bigint;
|
|
3581
|
+
response: StagingXcmV4Response;
|
|
3582
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
3583
|
+
querier?: StagingXcmV4Location | undefined;
|
|
3584
|
+
};
|
|
3585
|
+
}
|
|
3586
|
+
| { type: 'TransferAsset'; value: { assets: StagingXcmV4AssetAssets; beneficiary: StagingXcmV4Location } }
|
|
3587
|
+
| {
|
|
3588
|
+
type: 'TransferReserveAsset';
|
|
3589
|
+
value: { assets: StagingXcmV4AssetAssets; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3590
|
+
}
|
|
3591
|
+
| {
|
|
3592
|
+
type: 'Transact';
|
|
3593
|
+
value: { originKind: XcmV3OriginKind; requireWeightAtMost: SpWeightsWeightV2Weight; call: XcmDoubleEncoded };
|
|
3594
|
+
}
|
|
3595
|
+
| { type: 'HrmpNewChannelOpenRequest'; value: { sender: number; maxMessageSize: number; maxCapacity: number } }
|
|
3596
|
+
| { type: 'HrmpChannelAccepted'; value: { recipient: number } }
|
|
3597
|
+
| { type: 'HrmpChannelClosing'; value: { initiator: number; sender: number; recipient: number } }
|
|
3598
|
+
| { type: 'ClearOrigin' }
|
|
3599
|
+
| { type: 'DescendOrigin'; value: StagingXcmV4Junctions }
|
|
3600
|
+
| { type: 'ReportError'; value: StagingXcmV4QueryResponseInfo }
|
|
3601
|
+
| { type: 'DepositAsset'; value: { assets: StagingXcmV4AssetAssetFilter; beneficiary: StagingXcmV4Location } }
|
|
3602
|
+
| {
|
|
3603
|
+
type: 'DepositReserveAsset';
|
|
3604
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3605
|
+
}
|
|
3606
|
+
| {
|
|
3607
|
+
type: 'ExchangeAsset';
|
|
3608
|
+
value: { give: StagingXcmV4AssetAssetFilter; want: StagingXcmV4AssetAssets; maximal: boolean };
|
|
3609
|
+
}
|
|
3610
|
+
| {
|
|
3611
|
+
type: 'InitiateReserveWithdraw';
|
|
3612
|
+
value: { assets: StagingXcmV4AssetAssetFilter; reserve: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3613
|
+
}
|
|
3614
|
+
| {
|
|
3615
|
+
type: 'InitiateTeleport';
|
|
3616
|
+
value: { assets: StagingXcmV4AssetAssetFilter; dest: StagingXcmV4Location; xcm: StagingXcmV4Xcm };
|
|
3617
|
+
}
|
|
3618
|
+
| {
|
|
3619
|
+
type: 'ReportHolding';
|
|
3620
|
+
value: { responseInfo: StagingXcmV4QueryResponseInfo; assets: StagingXcmV4AssetAssetFilter };
|
|
3621
|
+
}
|
|
3622
|
+
| { type: 'BuyExecution'; value: { fees: StagingXcmV4Asset; weightLimit: XcmV3WeightLimit } }
|
|
3623
|
+
| { type: 'RefundSurplus' }
|
|
3624
|
+
| { type: 'SetErrorHandler'; value: StagingXcmV4Xcm }
|
|
3625
|
+
| { type: 'SetAppendix'; value: StagingXcmV4Xcm }
|
|
3626
|
+
| { type: 'ClearError' }
|
|
3627
|
+
| { type: 'ClaimAsset'; value: { assets: StagingXcmV4AssetAssets; ticket: StagingXcmV4Location } }
|
|
3628
|
+
| { type: 'Trap'; value: bigint }
|
|
3629
|
+
| { type: 'SubscribeVersion'; value: { queryId: bigint; maxResponseWeight: SpWeightsWeightV2Weight } }
|
|
3630
|
+
| { type: 'UnsubscribeVersion' }
|
|
3631
|
+
| { type: 'BurnAsset'; value: StagingXcmV4AssetAssets }
|
|
3632
|
+
| { type: 'ExpectAsset'; value: StagingXcmV4AssetAssets }
|
|
3633
|
+
| { type: 'ExpectOrigin'; value?: StagingXcmV4Location | undefined }
|
|
3634
|
+
| { type: 'ExpectError'; value?: [number, XcmV3TraitsError] | undefined }
|
|
3635
|
+
| { type: 'ExpectTransactStatus'; value: XcmV3MaybeErrorCode }
|
|
3636
|
+
| { type: 'QueryPallet'; value: { moduleName: Bytes; responseInfo: StagingXcmV4QueryResponseInfo } }
|
|
3637
|
+
| {
|
|
3638
|
+
type: 'ExpectPallet';
|
|
3639
|
+
value: { index: number; name: Bytes; moduleName: Bytes; crateMajor: number; minCrateMinor: number };
|
|
3640
|
+
}
|
|
3641
|
+
| { type: 'ReportTransactStatus'; value: StagingXcmV4QueryResponseInfo }
|
|
3642
|
+
| { type: 'ClearTransactStatus' }
|
|
3643
|
+
| { type: 'UniversalOrigin'; value: StagingXcmV4Junction }
|
|
3644
|
+
| {
|
|
3645
|
+
type: 'ExportMessage';
|
|
3646
|
+
value: { network: StagingXcmV4JunctionNetworkId; destination: StagingXcmV4Junctions; xcm: StagingXcmV4Xcm };
|
|
3647
|
+
}
|
|
3648
|
+
| { type: 'LockAsset'; value: { asset: StagingXcmV4Asset; unlocker: StagingXcmV4Location } }
|
|
3649
|
+
| { type: 'UnlockAsset'; value: { asset: StagingXcmV4Asset; target: StagingXcmV4Location } }
|
|
3650
|
+
| { type: 'NoteUnlockable'; value: { asset: StagingXcmV4Asset; owner: StagingXcmV4Location } }
|
|
3651
|
+
| { type: 'RequestUnlock'; value: { asset: StagingXcmV4Asset; locker: StagingXcmV4Location } }
|
|
3652
|
+
| { type: 'SetFeesMode'; value: { jitWithdraw: boolean } }
|
|
3653
|
+
| { type: 'SetTopic'; value: FixedBytes<32> }
|
|
3654
|
+
| { type: 'ClearTopic' }
|
|
3655
|
+
| { type: 'AliasOrigin'; value: StagingXcmV4Location }
|
|
3656
|
+
| {
|
|
3657
|
+
type: 'UnpaidExecution';
|
|
3658
|
+
value: { weightLimit: XcmV3WeightLimit; checkOrigin?: StagingXcmV4Location | undefined };
|
|
3659
|
+
};
|
|
3660
|
+
|
|
3661
|
+
export type StagingXcmV4QueryResponseInfo = {
|
|
3662
|
+
destination: StagingXcmV4Location;
|
|
3663
|
+
queryId: bigint;
|
|
3664
|
+
maxWeight: SpWeightsWeightV2Weight;
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
export type StagingXcmV4AssetAssetFilter =
|
|
3668
|
+
| { type: 'Definite'; value: StagingXcmV4AssetAssets }
|
|
3669
|
+
| { type: 'Wild'; value: StagingXcmV4AssetWildAsset };
|
|
3670
|
+
|
|
3671
|
+
export type StagingXcmV4AssetWildAsset =
|
|
3672
|
+
| { type: 'All' }
|
|
3673
|
+
| { type: 'AllOf'; value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility } }
|
|
3674
|
+
| { type: 'AllCounted'; value: number }
|
|
3675
|
+
| {
|
|
3676
|
+
type: 'AllOfCounted';
|
|
3677
|
+
value: { id: StagingXcmV4AssetAssetId; fun: StagingXcmV4AssetWildFungibility; count: number };
|
|
3678
|
+
};
|
|
3679
|
+
|
|
3680
|
+
export type StagingXcmV4AssetWildFungibility = 'Fungible' | 'NonFungible';
|
|
3681
|
+
|
|
3387
3682
|
export type StagingXcmExecutorAssetTransferTransferType =
|
|
3388
3683
|
| { type: 'Teleport' }
|
|
3389
3684
|
| { type: 'LocalReserve' }
|
|
@@ -3823,6 +4118,7 @@ export type PeoplePaseoRuntimeRuntimeCall =
|
|
|
3823
4118
|
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCall }
|
|
3824
4119
|
| { pallet: 'Timestamp'; palletCall: PalletTimestampCall }
|
|
3825
4120
|
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCall }
|
|
4121
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCall }
|
|
3826
4122
|
| { pallet: 'Balances'; palletCall: PalletBalancesCall }
|
|
3827
4123
|
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCall }
|
|
3828
4124
|
| { pallet: 'Session'; palletCall: PalletSessionCall }
|
|
@@ -3841,6 +4137,7 @@ export type PeoplePaseoRuntimeRuntimeCallLike =
|
|
|
3841
4137
|
| { pallet: 'ParachainSystem'; palletCall: CumulusPalletParachainSystemCallLike }
|
|
3842
4138
|
| { pallet: 'Timestamp'; palletCall: PalletTimestampCallLike }
|
|
3843
4139
|
| { pallet: 'ParachainInfo'; palletCall: StagingParachainInfoCallLike }
|
|
4140
|
+
| { pallet: 'MultiBlockMigrations'; palletCall: PalletMigrationsCallLike }
|
|
3844
4141
|
| { pallet: 'Balances'; palletCall: PalletBalancesCallLike }
|
|
3845
4142
|
| { pallet: 'CollatorSelection'; palletCall: PalletCollatorSelectionCallLike }
|
|
3846
4143
|
| { pallet: 'Session'; palletCall: PalletSessionCallLike }
|
|
@@ -4675,18 +4972,23 @@ export type PalletIdentityCall =
|
|
|
4675
4972
|
/**
|
|
4676
4973
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
4677
4974
|
*
|
|
4678
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
4679
|
-
*
|
|
4975
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
4976
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
4977
|
+
* parameters to overwrite the existing configuration.
|
|
4680
4978
|
**/
|
|
4681
4979
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddress; suffix: Bytes; allocation: number } }
|
|
4682
4980
|
/**
|
|
4683
4981
|
* Remove `authority` from the username authorities.
|
|
4684
4982
|
**/
|
|
4685
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddress } }
|
|
4983
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: Bytes; authority: MultiAddress } }
|
|
4686
4984
|
/**
|
|
4687
4985
|
* Set the username for `who`. Must be called by a username authority.
|
|
4688
4986
|
*
|
|
4689
|
-
*
|
|
4987
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
4988
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
4989
|
+
* username.
|
|
4990
|
+
*
|
|
4991
|
+
* Users can either pre-sign their usernames or
|
|
4690
4992
|
* accept them later.
|
|
4691
4993
|
*
|
|
4692
4994
|
* Usernames must:
|
|
@@ -4696,7 +4998,12 @@ export type PalletIdentityCall =
|
|
|
4696
4998
|
**/
|
|
4697
4999
|
| {
|
|
4698
5000
|
name: 'SetUsernameFor';
|
|
4699
|
-
params: {
|
|
5001
|
+
params: {
|
|
5002
|
+
who: MultiAddress;
|
|
5003
|
+
username: Bytes;
|
|
5004
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
5005
|
+
useAllocation: boolean;
|
|
5006
|
+
};
|
|
4700
5007
|
}
|
|
4701
5008
|
/**
|
|
4702
5009
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -4714,10 +5021,21 @@ export type PalletIdentityCall =
|
|
|
4714
5021
|
**/
|
|
4715
5022
|
| { name: 'SetPrimaryUsername'; params: { username: Bytes } }
|
|
4716
5023
|
/**
|
|
4717
|
-
*
|
|
4718
|
-
*
|
|
5024
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
5025
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
5026
|
+
* [remove_username](crate::Call::remove_username).
|
|
5027
|
+
**/
|
|
5028
|
+
| { name: 'UnbindUsername'; params: { username: Bytes } }
|
|
5029
|
+
/**
|
|
5030
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
5031
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
5032
|
+
**/
|
|
5033
|
+
| { name: 'RemoveUsername'; params: { username: Bytes } }
|
|
5034
|
+
/**
|
|
5035
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
5036
|
+
* and slashes any deposit associated with it.
|
|
4719
5037
|
**/
|
|
4720
|
-
| { name: '
|
|
5038
|
+
| { name: 'KillUsername'; params: { username: Bytes } };
|
|
4721
5039
|
|
|
4722
5040
|
export type PalletIdentityCallLike =
|
|
4723
5041
|
/**
|
|
@@ -4907,18 +5225,23 @@ export type PalletIdentityCallLike =
|
|
|
4907
5225
|
/**
|
|
4908
5226
|
* Add an `AccountId` with permission to grant usernames with a given `suffix` appended.
|
|
4909
5227
|
*
|
|
4910
|
-
* The authority can grant up to `allocation` usernames. To top up
|
|
4911
|
-
*
|
|
5228
|
+
* The authority can grant up to `allocation` usernames. To top up the allocation or
|
|
5229
|
+
* change the account used to grant usernames, this call can be used with the updated
|
|
5230
|
+
* parameters to overwrite the existing configuration.
|
|
4912
5231
|
**/
|
|
4913
5232
|
| { name: 'AddUsernameAuthority'; params: { authority: MultiAddressLike; suffix: BytesLike; allocation: number } }
|
|
4914
5233
|
/**
|
|
4915
5234
|
* Remove `authority` from the username authorities.
|
|
4916
5235
|
**/
|
|
4917
|
-
| { name: 'RemoveUsernameAuthority'; params: { authority: MultiAddressLike } }
|
|
5236
|
+
| { name: 'RemoveUsernameAuthority'; params: { suffix: BytesLike; authority: MultiAddressLike } }
|
|
4918
5237
|
/**
|
|
4919
5238
|
* Set the username for `who`. Must be called by a username authority.
|
|
4920
5239
|
*
|
|
4921
|
-
*
|
|
5240
|
+
* If `use_allocation` is set, the authority must have a username allocation available to
|
|
5241
|
+
* spend. Otherwise, the authority will need to put up a deposit for registering the
|
|
5242
|
+
* username.
|
|
5243
|
+
*
|
|
5244
|
+
* Users can either pre-sign their usernames or
|
|
4922
5245
|
* accept them later.
|
|
4923
5246
|
*
|
|
4924
5247
|
* Usernames must:
|
|
@@ -4928,7 +5251,12 @@ export type PalletIdentityCallLike =
|
|
|
4928
5251
|
**/
|
|
4929
5252
|
| {
|
|
4930
5253
|
name: 'SetUsernameFor';
|
|
4931
|
-
params: {
|
|
5254
|
+
params: {
|
|
5255
|
+
who: MultiAddressLike;
|
|
5256
|
+
username: BytesLike;
|
|
5257
|
+
signature?: SpRuntimeMultiSignature | undefined;
|
|
5258
|
+
useAllocation: boolean;
|
|
5259
|
+
};
|
|
4932
5260
|
}
|
|
4933
5261
|
/**
|
|
4934
5262
|
* Accept a given username that an `authority` granted. The call must include the full
|
|
@@ -4946,10 +5274,21 @@ export type PalletIdentityCallLike =
|
|
|
4946
5274
|
**/
|
|
4947
5275
|
| { name: 'SetPrimaryUsername'; params: { username: BytesLike } }
|
|
4948
5276
|
/**
|
|
4949
|
-
*
|
|
4950
|
-
*
|
|
5277
|
+
* Start the process of removing a username by placing it in the unbinding usernames map.
|
|
5278
|
+
* Once the grace period has passed, the username can be deleted by calling
|
|
5279
|
+
* [remove_username](crate::Call::remove_username).
|
|
5280
|
+
**/
|
|
5281
|
+
| { name: 'UnbindUsername'; params: { username: BytesLike } }
|
|
5282
|
+
/**
|
|
5283
|
+
* Permanently delete a username which has been unbinding for longer than the grace period.
|
|
5284
|
+
* Caller is refunded the fee if the username expired and the removal was successful.
|
|
4951
5285
|
**/
|
|
4952
|
-
| { name: '
|
|
5286
|
+
| { name: 'RemoveUsername'; params: { username: BytesLike } }
|
|
5287
|
+
/**
|
|
5288
|
+
* Call with [ForceOrigin](crate::Config::ForceOrigin) privileges which deletes a username
|
|
5289
|
+
* and slashes any deposit associated with it.
|
|
5290
|
+
**/
|
|
5291
|
+
| { name: 'KillUsername'; params: { username: BytesLike } };
|
|
4953
5292
|
|
|
4954
5293
|
export type PeoplePaseoRuntimePeopleIdentityInfo = {
|
|
4955
5294
|
display: Data;
|
|
@@ -5059,8 +5398,8 @@ export type FrameSupportDispatchRawOrigin =
|
|
|
5059
5398
|
| { type: 'None' };
|
|
5060
5399
|
|
|
5061
5400
|
export type PalletXcmOrigin =
|
|
5062
|
-
| { type: 'Xcm'; value:
|
|
5063
|
-
| { type: 'Response'; value:
|
|
5401
|
+
| { type: 'Xcm'; value: StagingXcmV5Location }
|
|
5402
|
+
| { type: 'Response'; value: StagingXcmV5Location };
|
|
5064
5403
|
|
|
5065
5404
|
export type CumulusPalletXcmOrigin =
|
|
5066
5405
|
| { type: 'Relay' }
|
|
@@ -5196,7 +5535,14 @@ export type PalletIdentityRegistration = {
|
|
|
5196
5535
|
|
|
5197
5536
|
export type PalletIdentityRegistrarInfo = { account: AccountId32; fee: bigint; fields: bigint };
|
|
5198
5537
|
|
|
5199
|
-
export type PalletIdentityAuthorityProperties = {
|
|
5538
|
+
export type PalletIdentityAuthorityProperties = { accountId: AccountId32; allocation: number };
|
|
5539
|
+
|
|
5540
|
+
export type PalletIdentityUsernameInformation = { owner: AccountId32; provider: PalletIdentityProvider };
|
|
5541
|
+
|
|
5542
|
+
export type PalletIdentityProvider =
|
|
5543
|
+
| { type: 'Allocation' }
|
|
5544
|
+
| { type: 'AuthorityDeposit'; value: bigint }
|
|
5545
|
+
| { type: 'System' };
|
|
5200
5546
|
|
|
5201
5547
|
/**
|
|
5202
5548
|
* The `Error` enum of this pallet.
|
|
@@ -5305,7 +5651,24 @@ export type PalletIdentityError =
|
|
|
5305
5651
|
/**
|
|
5306
5652
|
* The username cannot be forcefully removed because it can still be accepted.
|
|
5307
5653
|
**/
|
|
5308
|
-
| 'NotExpired'
|
|
5654
|
+
| 'NotExpired'
|
|
5655
|
+
/**
|
|
5656
|
+
* The username cannot be removed because it's still in the grace period.
|
|
5657
|
+
**/
|
|
5658
|
+
| 'TooEarly'
|
|
5659
|
+
/**
|
|
5660
|
+
* The username cannot be removed because it is not unbinding.
|
|
5661
|
+
**/
|
|
5662
|
+
| 'NotUnbinding'
|
|
5663
|
+
/**
|
|
5664
|
+
* The username cannot be unbound because it is already unbinding.
|
|
5665
|
+
**/
|
|
5666
|
+
| 'AlreadyUnbinding'
|
|
5667
|
+
/**
|
|
5668
|
+
* The action cannot be performed because of insufficient privileges (e.g. authority
|
|
5669
|
+
* trying to unbind a username provided by the system).
|
|
5670
|
+
**/
|
|
5671
|
+
| 'InsufficientPrivileges';
|
|
5309
5672
|
|
|
5310
5673
|
/**
|
|
5311
5674
|
* Error for the Sudo pallet.
|
|
@@ -5361,7 +5724,9 @@ export type SpRuntimeTransactionValidityInvalidTransaction =
|
|
|
5361
5724
|
| { type: 'Custom'; value: number }
|
|
5362
5725
|
| { type: 'BadMandatory' }
|
|
5363
5726
|
| { type: 'MandatoryValidation' }
|
|
5364
|
-
| { type: 'BadSigner' }
|
|
5727
|
+
| { type: 'BadSigner' }
|
|
5728
|
+
| { type: 'IndeterminateImplicit' }
|
|
5729
|
+
| { type: 'UnknownOrigin' };
|
|
5365
5730
|
|
|
5366
5731
|
export type SpRuntimeTransactionValidityUnknownTransaction =
|
|
5367
5732
|
| { type: 'CannotLookup' }
|
|
@@ -5423,7 +5788,7 @@ export type SpRuntimeDispatchErrorWithPostInfo = {
|
|
|
5423
5788
|
export type XcmRuntimeApisDryRunError = 'Unimplemented' | 'VersionedConversionFailed';
|
|
5424
5789
|
|
|
5425
5790
|
export type XcmRuntimeApisDryRunXcmDryRunEffects = {
|
|
5426
|
-
executionResult:
|
|
5791
|
+
executionResult: StagingXcmV5TraitsOutcome;
|
|
5427
5792
|
emittedEvents: Array<PeoplePaseoRuntimeRuntimeEvent>;
|
|
5428
5793
|
forwardedXcms: Array<[XcmVersionedLocation, Array<XcmVersionedXcm>]>;
|
|
5429
5794
|
};
|
|
@@ -5444,6 +5809,7 @@ export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
|
5444
5809
|
export type PeoplePaseoRuntimeRuntimeError =
|
|
5445
5810
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
5446
5811
|
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|
|
5812
|
+
| { pallet: 'MultiBlockMigrations'; palletError: PalletMigrationsError }
|
|
5447
5813
|
| { pallet: 'Balances'; palletError: PalletBalancesError }
|
|
5448
5814
|
| { pallet: 'CollatorSelection'; palletError: PalletCollatorSelectionError }
|
|
5449
5815
|
| { pallet: 'Session'; palletError: PalletSessionError }
|