@dedot/chaintypes 0.4.0 → 0.6.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.
Files changed (46) hide show
  1. package/kusama-asset-hub/consts.d.ts +765 -0
  2. package/kusama-asset-hub/errors.d.ts +1529 -0
  3. package/kusama-asset-hub/events.d.ts +2443 -0
  4. package/kusama-asset-hub/index.d.ts +27 -0
  5. package/kusama-asset-hub/json-rpc.d.ts +90 -0
  6. package/kusama-asset-hub/query.d.ts +1677 -0
  7. package/kusama-asset-hub/runtime.d.ts +555 -0
  8. package/kusama-asset-hub/tx.d.ts +6364 -0
  9. package/kusama-asset-hub/types.d.ts +6921 -0
  10. package/package.json +3 -3
  11. package/polkadot-asset-hub/consts.d.ts +730 -0
  12. package/polkadot-asset-hub/errors.d.ts +1500 -0
  13. package/polkadot-asset-hub/events.d.ts +2414 -0
  14. package/polkadot-asset-hub/index.d.ts +27 -0
  15. package/polkadot-asset-hub/json-rpc.d.ts +90 -0
  16. package/polkadot-asset-hub/query.d.ts +1655 -0
  17. package/polkadot-asset-hub/runtime.d.ts +558 -0
  18. package/polkadot-asset-hub/tx.d.ts +6293 -0
  19. package/polkadot-asset-hub/types.d.ts +6829 -0
  20. package/rococo-asset-hub/consts.d.ts +835 -0
  21. package/rococo-asset-hub/errors.d.ts +1590 -0
  22. package/rococo-asset-hub/events.d.ts +2573 -0
  23. package/rococo-asset-hub/index.d.ts +27 -0
  24. package/rococo-asset-hub/json-rpc.d.ts +90 -0
  25. package/rococo-asset-hub/query.d.ts +1829 -0
  26. package/rococo-asset-hub/runtime.d.ts +726 -0
  27. package/rococo-asset-hub/tx.d.ts +9011 -0
  28. package/rococo-asset-hub/types.d.ts +12431 -0
  29. package/westend-asset-hub/consts.d.ts +869 -0
  30. package/westend-asset-hub/errors.d.ts +1635 -0
  31. package/westend-asset-hub/events.d.ts +2610 -0
  32. package/westend-asset-hub/index.d.ts +27 -0
  33. package/westend-asset-hub/json-rpc.d.ts +90 -0
  34. package/westend-asset-hub/query.d.ts +1868 -0
  35. package/westend-asset-hub/runtime.d.ts +798 -0
  36. package/westend-asset-hub/tx.d.ts +9199 -0
  37. package/westend-asset-hub/types.d.ts +12661 -0
  38. package/westend-people/consts.d.ts +434 -0
  39. package/westend-people/errors.d.ts +769 -0
  40. package/westend-people/events.d.ts +1082 -0
  41. package/westend-people/index.d.ts +27 -0
  42. package/westend-people/json-rpc.d.ts +89 -0
  43. package/westend-people/query.d.ts +1209 -0
  44. package/westend-people/runtime.d.ts +636 -0
  45. package/westend-people/tx.d.ts +2891 -0
  46. package/westend-people/types.d.ts +4984 -0
@@ -0,0 +1,1082 @@
1
+ // Generated by dedot cli
2
+
3
+ import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
+ import type { DispatchInfo, DispatchError, AccountId32, H256, FixedBytes, Result, Bytes } from 'dedot/codecs';
5
+ import type {
6
+ SpWeightsWeightV2Weight,
7
+ FrameSupportTokensMiscBalanceStatus,
8
+ StagingXcmV4TraitsOutcome,
9
+ StagingXcmV4Location,
10
+ StagingXcmV4Xcm,
11
+ StagingXcmV4Response,
12
+ XcmVersionedAssets,
13
+ StagingXcmV4AssetAssets,
14
+ XcmV3TraitsError,
15
+ XcmVersionedLocation,
16
+ CumulusPrimitivesCoreAggregateMessageOrigin,
17
+ FrameSupportMessagesProcessMessageError,
18
+ PalletMultisigTimepoint,
19
+ } from './types';
20
+
21
+ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
22
+ /**
23
+ * Pallet `System`'s events
24
+ **/
25
+ system: {
26
+ /**
27
+ * An extrinsic completed successfully.
28
+ **/
29
+ ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
30
+
31
+ /**
32
+ * An extrinsic failed.
33
+ **/
34
+ ExtrinsicFailed: GenericPalletEvent<
35
+ Rv,
36
+ 'System',
37
+ 'ExtrinsicFailed',
38
+ { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
39
+ >;
40
+
41
+ /**
42
+ * `:code` was updated.
43
+ **/
44
+ CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
45
+
46
+ /**
47
+ * A new account was created.
48
+ **/
49
+ NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
50
+
51
+ /**
52
+ * An account was reaped.
53
+ **/
54
+ KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
55
+
56
+ /**
57
+ * On on-chain remark happened.
58
+ **/
59
+ Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
60
+
61
+ /**
62
+ * An upgrade was authorized.
63
+ **/
64
+ UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
65
+
66
+ /**
67
+ * Generic pallet event
68
+ **/
69
+ [prop: string]: GenericPalletEvent<Rv>;
70
+ };
71
+ /**
72
+ * Pallet `ParachainSystem`'s events
73
+ **/
74
+ parachainSystem: {
75
+ /**
76
+ * The validation function has been scheduled to apply.
77
+ **/
78
+ ValidationFunctionStored: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionStored', null>;
79
+
80
+ /**
81
+ * The validation function was applied as of the contained relay chain block number.
82
+ **/
83
+ ValidationFunctionApplied: GenericPalletEvent<
84
+ Rv,
85
+ 'ParachainSystem',
86
+ 'ValidationFunctionApplied',
87
+ { relayChainBlockNum: number }
88
+ >;
89
+
90
+ /**
91
+ * The relay-chain aborted the upgrade process.
92
+ **/
93
+ ValidationFunctionDiscarded: GenericPalletEvent<Rv, 'ParachainSystem', 'ValidationFunctionDiscarded', null>;
94
+
95
+ /**
96
+ * Some downward messages have been received and will be processed.
97
+ **/
98
+ DownwardMessagesReceived: GenericPalletEvent<Rv, 'ParachainSystem', 'DownwardMessagesReceived', { count: number }>;
99
+
100
+ /**
101
+ * Downward messages were processed using the given weight.
102
+ **/
103
+ DownwardMessagesProcessed: GenericPalletEvent<
104
+ Rv,
105
+ 'ParachainSystem',
106
+ 'DownwardMessagesProcessed',
107
+ { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
108
+ >;
109
+
110
+ /**
111
+ * An upward message was sent to the relay chain.
112
+ **/
113
+ UpwardMessageSent: GenericPalletEvent<
114
+ Rv,
115
+ 'ParachainSystem',
116
+ 'UpwardMessageSent',
117
+ { messageHash?: FixedBytes<32> | undefined }
118
+ >;
119
+
120
+ /**
121
+ * Generic pallet event
122
+ **/
123
+ [prop: string]: GenericPalletEvent<Rv>;
124
+ };
125
+ /**
126
+ * Pallet `Balances`'s events
127
+ **/
128
+ balances: {
129
+ /**
130
+ * An account was created with some free balance.
131
+ **/
132
+ Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
133
+
134
+ /**
135
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
136
+ * resulting in an outright loss.
137
+ **/
138
+ DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
139
+
140
+ /**
141
+ * Transfer succeeded.
142
+ **/
143
+ Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
144
+
145
+ /**
146
+ * A balance was set by root.
147
+ **/
148
+ BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
149
+
150
+ /**
151
+ * Some balance was reserved (moved from free to reserved).
152
+ **/
153
+ Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
154
+
155
+ /**
156
+ * Some balance was unreserved (moved from reserved to free).
157
+ **/
158
+ Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
159
+
160
+ /**
161
+ * Some balance was moved from the reserve of the first account to the second account.
162
+ * Final argument indicates the destination balance type.
163
+ **/
164
+ ReserveRepatriated: GenericPalletEvent<
165
+ Rv,
166
+ 'Balances',
167
+ 'ReserveRepatriated',
168
+ { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
169
+ >;
170
+
171
+ /**
172
+ * Some amount was deposited (e.g. for transaction fees).
173
+ **/
174
+ Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
175
+
176
+ /**
177
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
178
+ **/
179
+ Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
180
+
181
+ /**
182
+ * Some amount was removed from the account (e.g. for misbehavior).
183
+ **/
184
+ Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
185
+
186
+ /**
187
+ * Some amount was minted into an account.
188
+ **/
189
+ Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
190
+
191
+ /**
192
+ * Some amount was burned from an account.
193
+ **/
194
+ Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
195
+
196
+ /**
197
+ * Some amount was suspended from an account (it can be restored later).
198
+ **/
199
+ Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
200
+
201
+ /**
202
+ * Some amount was restored into an account.
203
+ **/
204
+ Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
205
+
206
+ /**
207
+ * An account was upgraded.
208
+ **/
209
+ Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
210
+
211
+ /**
212
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
213
+ **/
214
+ Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
215
+
216
+ /**
217
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
218
+ **/
219
+ Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
220
+
221
+ /**
222
+ * Some balance was locked.
223
+ **/
224
+ Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
225
+
226
+ /**
227
+ * Some balance was unlocked.
228
+ **/
229
+ Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
230
+
231
+ /**
232
+ * Some balance was frozen.
233
+ **/
234
+ Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
235
+
236
+ /**
237
+ * Some balance was thawed.
238
+ **/
239
+ Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
240
+
241
+ /**
242
+ * The `TotalIssuance` was forcefully changed.
243
+ **/
244
+ TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
245
+
246
+ /**
247
+ * Generic pallet event
248
+ **/
249
+ [prop: string]: GenericPalletEvent<Rv>;
250
+ };
251
+ /**
252
+ * Pallet `TransactionPayment`'s events
253
+ **/
254
+ transactionPayment: {
255
+ /**
256
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
257
+ * has been paid by `who`.
258
+ **/
259
+ TransactionFeePaid: GenericPalletEvent<
260
+ Rv,
261
+ 'TransactionPayment',
262
+ 'TransactionFeePaid',
263
+ { who: AccountId32; actualFee: bigint; tip: bigint }
264
+ >;
265
+
266
+ /**
267
+ * Generic pallet event
268
+ **/
269
+ [prop: string]: GenericPalletEvent<Rv>;
270
+ };
271
+ /**
272
+ * Pallet `CollatorSelection`'s events
273
+ **/
274
+ collatorSelection: {
275
+ /**
276
+ * New Invulnerables were set.
277
+ **/
278
+ NewInvulnerables: GenericPalletEvent<
279
+ Rv,
280
+ 'CollatorSelection',
281
+ 'NewInvulnerables',
282
+ { invulnerables: Array<AccountId32> }
283
+ >;
284
+
285
+ /**
286
+ * A new Invulnerable was added.
287
+ **/
288
+ InvulnerableAdded: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableAdded', { accountId: AccountId32 }>;
289
+
290
+ /**
291
+ * An Invulnerable was removed.
292
+ **/
293
+ InvulnerableRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'InvulnerableRemoved', { accountId: AccountId32 }>;
294
+
295
+ /**
296
+ * The number of desired candidates was set.
297
+ **/
298
+ NewDesiredCandidates: GenericPalletEvent<
299
+ Rv,
300
+ 'CollatorSelection',
301
+ 'NewDesiredCandidates',
302
+ { desiredCandidates: number }
303
+ >;
304
+
305
+ /**
306
+ * The candidacy bond was set.
307
+ **/
308
+ NewCandidacyBond: GenericPalletEvent<Rv, 'CollatorSelection', 'NewCandidacyBond', { bondAmount: bigint }>;
309
+
310
+ /**
311
+ * A new candidate joined.
312
+ **/
313
+ CandidateAdded: GenericPalletEvent<
314
+ Rv,
315
+ 'CollatorSelection',
316
+ 'CandidateAdded',
317
+ { accountId: AccountId32; deposit: bigint }
318
+ >;
319
+
320
+ /**
321
+ * Bond of a candidate updated.
322
+ **/
323
+ CandidateBondUpdated: GenericPalletEvent<
324
+ Rv,
325
+ 'CollatorSelection',
326
+ 'CandidateBondUpdated',
327
+ { accountId: AccountId32; deposit: bigint }
328
+ >;
329
+
330
+ /**
331
+ * A candidate was removed.
332
+ **/
333
+ CandidateRemoved: GenericPalletEvent<Rv, 'CollatorSelection', 'CandidateRemoved', { accountId: AccountId32 }>;
334
+
335
+ /**
336
+ * An account was replaced in the candidate list by another one.
337
+ **/
338
+ CandidateReplaced: GenericPalletEvent<
339
+ Rv,
340
+ 'CollatorSelection',
341
+ 'CandidateReplaced',
342
+ { old: AccountId32; new: AccountId32; deposit: bigint }
343
+ >;
344
+
345
+ /**
346
+ * An account was unable to be added to the Invulnerables because they did not have keys
347
+ * registered. Other Invulnerables may have been set.
348
+ **/
349
+ InvalidInvulnerableSkipped: GenericPalletEvent<
350
+ Rv,
351
+ 'CollatorSelection',
352
+ 'InvalidInvulnerableSkipped',
353
+ { accountId: AccountId32 }
354
+ >;
355
+
356
+ /**
357
+ * Generic pallet event
358
+ **/
359
+ [prop: string]: GenericPalletEvent<Rv>;
360
+ };
361
+ /**
362
+ * Pallet `Session`'s events
363
+ **/
364
+ session: {
365
+ /**
366
+ * New session has happened. Note that the argument is the session index, not the
367
+ * block number as the type might suggest.
368
+ **/
369
+ NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
370
+
371
+ /**
372
+ * Generic pallet event
373
+ **/
374
+ [prop: string]: GenericPalletEvent<Rv>;
375
+ };
376
+ /**
377
+ * Pallet `XcmpQueue`'s events
378
+ **/
379
+ xcmpQueue: {
380
+ /**
381
+ * An HRMP message was sent to a sibling parachain.
382
+ **/
383
+ XcmpMessageSent: GenericPalletEvent<Rv, 'XcmpQueue', 'XcmpMessageSent', { messageHash: FixedBytes<32> }>;
384
+
385
+ /**
386
+ * Generic pallet event
387
+ **/
388
+ [prop: string]: GenericPalletEvent<Rv>;
389
+ };
390
+ /**
391
+ * Pallet `PolkadotXcm`'s events
392
+ **/
393
+ polkadotXcm: {
394
+ /**
395
+ * Execution of an XCM message was attempted.
396
+ **/
397
+ Attempted: GenericPalletEvent<Rv, 'PolkadotXcm', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
398
+
399
+ /**
400
+ * A XCM message was sent.
401
+ **/
402
+ Sent: GenericPalletEvent<
403
+ Rv,
404
+ 'PolkadotXcm',
405
+ 'Sent',
406
+ {
407
+ origin: StagingXcmV4Location;
408
+ destination: StagingXcmV4Location;
409
+ message: StagingXcmV4Xcm;
410
+ messageId: FixedBytes<32>;
411
+ }
412
+ >;
413
+
414
+ /**
415
+ * Query response received which does not match a registered query. This may be because a
416
+ * matching query was never registered, it may be because it is a duplicate response, or
417
+ * because the query timed out.
418
+ **/
419
+ UnexpectedResponse: GenericPalletEvent<
420
+ Rv,
421
+ 'PolkadotXcm',
422
+ 'UnexpectedResponse',
423
+ { origin: StagingXcmV4Location; queryId: bigint }
424
+ >;
425
+
426
+ /**
427
+ * Query response has been received and is ready for taking with `take_response`. There is
428
+ * no registered notification call.
429
+ **/
430
+ ResponseReady: GenericPalletEvent<
431
+ Rv,
432
+ 'PolkadotXcm',
433
+ 'ResponseReady',
434
+ { queryId: bigint; response: StagingXcmV4Response }
435
+ >;
436
+
437
+ /**
438
+ * Query response has been received and query is removed. The registered notification has
439
+ * been dispatched and executed successfully.
440
+ **/
441
+ Notified: GenericPalletEvent<
442
+ Rv,
443
+ 'PolkadotXcm',
444
+ 'Notified',
445
+ { queryId: bigint; palletIndex: number; callIndex: number }
446
+ >;
447
+
448
+ /**
449
+ * Query response has been received and query is removed. The registered notification
450
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
451
+ * originally budgeted by this runtime for the query result.
452
+ **/
453
+ NotifyOverweight: GenericPalletEvent<
454
+ Rv,
455
+ 'PolkadotXcm',
456
+ 'NotifyOverweight',
457
+ {
458
+ queryId: bigint;
459
+ palletIndex: number;
460
+ callIndex: number;
461
+ actualWeight: SpWeightsWeightV2Weight;
462
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
463
+ }
464
+ >;
465
+
466
+ /**
467
+ * Query response has been received and query is removed. There was a general error with
468
+ * dispatching the notification call.
469
+ **/
470
+ NotifyDispatchError: GenericPalletEvent<
471
+ Rv,
472
+ 'PolkadotXcm',
473
+ 'NotifyDispatchError',
474
+ { queryId: bigint; palletIndex: number; callIndex: number }
475
+ >;
476
+
477
+ /**
478
+ * Query response has been received and query is removed. The dispatch was unable to be
479
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
480
+ * is not `(origin, QueryId, Response)`.
481
+ **/
482
+ NotifyDecodeFailed: GenericPalletEvent<
483
+ Rv,
484
+ 'PolkadotXcm',
485
+ 'NotifyDecodeFailed',
486
+ { queryId: bigint; palletIndex: number; callIndex: number }
487
+ >;
488
+
489
+ /**
490
+ * Expected query response has been received but the origin location of the response does
491
+ * not match that expected. The query remains registered for a later, valid, response to
492
+ * be received and acted upon.
493
+ **/
494
+ InvalidResponder: GenericPalletEvent<
495
+ Rv,
496
+ 'PolkadotXcm',
497
+ 'InvalidResponder',
498
+ { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
499
+ >;
500
+
501
+ /**
502
+ * Expected query response has been received but the expected origin location placed in
503
+ * storage by this runtime previously cannot be decoded. The query remains registered.
504
+ *
505
+ * This is unexpected (since a location placed in storage in a previously executing
506
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
507
+ * valid response will be dropped. Manual governance intervention is probably going to be
508
+ * needed.
509
+ **/
510
+ InvalidResponderVersion: GenericPalletEvent<
511
+ Rv,
512
+ 'PolkadotXcm',
513
+ 'InvalidResponderVersion',
514
+ { origin: StagingXcmV4Location; queryId: bigint }
515
+ >;
516
+
517
+ /**
518
+ * Received query response has been read and removed.
519
+ **/
520
+ ResponseTaken: GenericPalletEvent<Rv, 'PolkadotXcm', 'ResponseTaken', { queryId: bigint }>;
521
+
522
+ /**
523
+ * Some assets have been placed in an asset trap.
524
+ **/
525
+ AssetsTrapped: GenericPalletEvent<
526
+ Rv,
527
+ 'PolkadotXcm',
528
+ 'AssetsTrapped',
529
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
530
+ >;
531
+
532
+ /**
533
+ * An XCM version change notification message has been attempted to be sent.
534
+ *
535
+ * The cost of sending it (borne by the chain) is included.
536
+ **/
537
+ VersionChangeNotified: GenericPalletEvent<
538
+ Rv,
539
+ 'PolkadotXcm',
540
+ 'VersionChangeNotified',
541
+ { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
542
+ >;
543
+
544
+ /**
545
+ * The supported version of a location has been changed. This might be through an
546
+ * automatic notification or a manual intervention.
547
+ **/
548
+ SupportedVersionChanged: GenericPalletEvent<
549
+ Rv,
550
+ 'PolkadotXcm',
551
+ 'SupportedVersionChanged',
552
+ { location: StagingXcmV4Location; version: number }
553
+ >;
554
+
555
+ /**
556
+ * A given location which had a version change subscription was dropped owing to an error
557
+ * sending the notification to it.
558
+ **/
559
+ NotifyTargetSendFail: GenericPalletEvent<
560
+ Rv,
561
+ 'PolkadotXcm',
562
+ 'NotifyTargetSendFail',
563
+ { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
564
+ >;
565
+
566
+ /**
567
+ * A given location which had a version change subscription was dropped owing to an error
568
+ * migrating the location to our new XCM format.
569
+ **/
570
+ NotifyTargetMigrationFail: GenericPalletEvent<
571
+ Rv,
572
+ 'PolkadotXcm',
573
+ 'NotifyTargetMigrationFail',
574
+ { location: XcmVersionedLocation; queryId: bigint }
575
+ >;
576
+
577
+ /**
578
+ * Expected query response has been received but the expected querier location placed in
579
+ * storage by this runtime previously cannot be decoded. The query remains registered.
580
+ *
581
+ * This is unexpected (since a location placed in storage in a previously executing
582
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
583
+ * valid response will be dropped. Manual governance intervention is probably going to be
584
+ * needed.
585
+ **/
586
+ InvalidQuerierVersion: GenericPalletEvent<
587
+ Rv,
588
+ 'PolkadotXcm',
589
+ 'InvalidQuerierVersion',
590
+ { origin: StagingXcmV4Location; queryId: bigint }
591
+ >;
592
+
593
+ /**
594
+ * Expected query response has been received but the querier location of the response does
595
+ * not match the expected. The query remains registered for a later, valid, response to
596
+ * be received and acted upon.
597
+ **/
598
+ InvalidQuerier: GenericPalletEvent<
599
+ Rv,
600
+ 'PolkadotXcm',
601
+ 'InvalidQuerier',
602
+ {
603
+ origin: StagingXcmV4Location;
604
+ queryId: bigint;
605
+ expectedQuerier: StagingXcmV4Location;
606
+ maybeActualQuerier?: StagingXcmV4Location | undefined;
607
+ }
608
+ >;
609
+
610
+ /**
611
+ * A remote has requested XCM version change notification from us and we have honored it.
612
+ * A version information message is sent to them and its cost is included.
613
+ **/
614
+ VersionNotifyStarted: GenericPalletEvent<
615
+ Rv,
616
+ 'PolkadotXcm',
617
+ 'VersionNotifyStarted',
618
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
619
+ >;
620
+
621
+ /**
622
+ * We have requested that a remote chain send us XCM version change notifications.
623
+ **/
624
+ VersionNotifyRequested: GenericPalletEvent<
625
+ Rv,
626
+ 'PolkadotXcm',
627
+ 'VersionNotifyRequested',
628
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
629
+ >;
630
+
631
+ /**
632
+ * We have requested that a remote chain stops sending us XCM version change
633
+ * notifications.
634
+ **/
635
+ VersionNotifyUnrequested: GenericPalletEvent<
636
+ Rv,
637
+ 'PolkadotXcm',
638
+ 'VersionNotifyUnrequested',
639
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
640
+ >;
641
+
642
+ /**
643
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
644
+ **/
645
+ FeesPaid: GenericPalletEvent<
646
+ Rv,
647
+ 'PolkadotXcm',
648
+ 'FeesPaid',
649
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
650
+ >;
651
+
652
+ /**
653
+ * Some assets have been claimed from an asset trap
654
+ **/
655
+ AssetsClaimed: GenericPalletEvent<
656
+ Rv,
657
+ 'PolkadotXcm',
658
+ 'AssetsClaimed',
659
+ { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
660
+ >;
661
+
662
+ /**
663
+ * A XCM version migration finished.
664
+ **/
665
+ VersionMigrationFinished: GenericPalletEvent<Rv, 'PolkadotXcm', 'VersionMigrationFinished', { version: number }>;
666
+
667
+ /**
668
+ * Generic pallet event
669
+ **/
670
+ [prop: string]: GenericPalletEvent<Rv>;
671
+ };
672
+ /**
673
+ * Pallet `CumulusXcm`'s events
674
+ **/
675
+ cumulusXcm: {
676
+ /**
677
+ * Downward message is invalid XCM.
678
+ * \[ id \]
679
+ **/
680
+ InvalidFormat: GenericPalletEvent<Rv, 'CumulusXcm', 'InvalidFormat', FixedBytes<32>>;
681
+
682
+ /**
683
+ * Downward message is unsupported version of XCM.
684
+ * \[ id \]
685
+ **/
686
+ UnsupportedVersion: GenericPalletEvent<Rv, 'CumulusXcm', 'UnsupportedVersion', FixedBytes<32>>;
687
+
688
+ /**
689
+ * Downward message executed with the given outcome.
690
+ * \[ id, outcome \]
691
+ **/
692
+ ExecutedDownward: GenericPalletEvent<
693
+ Rv,
694
+ 'CumulusXcm',
695
+ 'ExecutedDownward',
696
+ [FixedBytes<32>, StagingXcmV4TraitsOutcome]
697
+ >;
698
+
699
+ /**
700
+ * Generic pallet event
701
+ **/
702
+ [prop: string]: GenericPalletEvent<Rv>;
703
+ };
704
+ /**
705
+ * Pallet `MessageQueue`'s events
706
+ **/
707
+ messageQueue: {
708
+ /**
709
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
710
+ **/
711
+ ProcessingFailed: GenericPalletEvent<
712
+ Rv,
713
+ 'MessageQueue',
714
+ 'ProcessingFailed',
715
+ {
716
+ /**
717
+ * The `blake2_256` hash of the message.
718
+ **/
719
+ id: H256;
720
+
721
+ /**
722
+ * The queue of the message.
723
+ **/
724
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
725
+
726
+ /**
727
+ * The error that occurred.
728
+ *
729
+ * This error is pretty opaque. More fine-grained errors need to be emitted as events
730
+ * by the `MessageProcessor`.
731
+ **/
732
+ error: FrameSupportMessagesProcessMessageError;
733
+ }
734
+ >;
735
+
736
+ /**
737
+ * Message is processed.
738
+ **/
739
+ Processed: GenericPalletEvent<
740
+ Rv,
741
+ 'MessageQueue',
742
+ 'Processed',
743
+ {
744
+ /**
745
+ * The `blake2_256` hash of the message.
746
+ **/
747
+ id: H256;
748
+
749
+ /**
750
+ * The queue of the message.
751
+ **/
752
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
753
+
754
+ /**
755
+ * How much weight was used to process the message.
756
+ **/
757
+ weightUsed: SpWeightsWeightV2Weight;
758
+
759
+ /**
760
+ * Whether the message was processed.
761
+ *
762
+ * Note that this does not mean that the underlying `MessageProcessor` was internally
763
+ * successful. It *solely* means that the MQ pallet will treat this as a success
764
+ * condition and discard the message. Any internal error needs to be emitted as events
765
+ * by the `MessageProcessor`.
766
+ **/
767
+ success: boolean;
768
+ }
769
+ >;
770
+
771
+ /**
772
+ * Message placed in overweight queue.
773
+ **/
774
+ OverweightEnqueued: GenericPalletEvent<
775
+ Rv,
776
+ 'MessageQueue',
777
+ 'OverweightEnqueued',
778
+ {
779
+ /**
780
+ * The `blake2_256` hash of the message.
781
+ **/
782
+ id: FixedBytes<32>;
783
+
784
+ /**
785
+ * The queue of the message.
786
+ **/
787
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
788
+
789
+ /**
790
+ * The page of the message.
791
+ **/
792
+ pageIndex: number;
793
+
794
+ /**
795
+ * The index of the message within the page.
796
+ **/
797
+ messageIndex: number;
798
+ }
799
+ >;
800
+
801
+ /**
802
+ * This page was reaped.
803
+ **/
804
+ PageReaped: GenericPalletEvent<
805
+ Rv,
806
+ 'MessageQueue',
807
+ 'PageReaped',
808
+ {
809
+ /**
810
+ * The queue of the page.
811
+ **/
812
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
813
+
814
+ /**
815
+ * The index of the page.
816
+ **/
817
+ index: number;
818
+ }
819
+ >;
820
+
821
+ /**
822
+ * Generic pallet event
823
+ **/
824
+ [prop: string]: GenericPalletEvent<Rv>;
825
+ };
826
+ /**
827
+ * Pallet `Utility`'s events
828
+ **/
829
+ utility: {
830
+ /**
831
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
832
+ * well as the error.
833
+ **/
834
+ BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
835
+
836
+ /**
837
+ * Batch of dispatches completed fully with no error.
838
+ **/
839
+ BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
840
+
841
+ /**
842
+ * Batch of dispatches completed but has errors.
843
+ **/
844
+ BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
845
+
846
+ /**
847
+ * A single item within a Batch of dispatches has completed with no error.
848
+ **/
849
+ ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
850
+
851
+ /**
852
+ * A single item within a Batch of dispatches has completed with error.
853
+ **/
854
+ ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
855
+
856
+ /**
857
+ * A call was dispatched.
858
+ **/
859
+ DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
860
+
861
+ /**
862
+ * Generic pallet event
863
+ **/
864
+ [prop: string]: GenericPalletEvent<Rv>;
865
+ };
866
+ /**
867
+ * Pallet `Multisig`'s events
868
+ **/
869
+ multisig: {
870
+ /**
871
+ * A new multisig operation has begun.
872
+ **/
873
+ NewMultisig: GenericPalletEvent<
874
+ Rv,
875
+ 'Multisig',
876
+ 'NewMultisig',
877
+ { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
878
+ >;
879
+
880
+ /**
881
+ * A multisig operation has been approved by someone.
882
+ **/
883
+ MultisigApproval: GenericPalletEvent<
884
+ Rv,
885
+ 'Multisig',
886
+ 'MultisigApproval',
887
+ { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
888
+ >;
889
+
890
+ /**
891
+ * A multisig operation has been executed.
892
+ **/
893
+ MultisigExecuted: GenericPalletEvent<
894
+ Rv,
895
+ 'Multisig',
896
+ 'MultisigExecuted',
897
+ {
898
+ approving: AccountId32;
899
+ timepoint: PalletMultisigTimepoint;
900
+ multisig: AccountId32;
901
+ callHash: FixedBytes<32>;
902
+ result: Result<[], DispatchError>;
903
+ }
904
+ >;
905
+
906
+ /**
907
+ * A multisig operation has been cancelled.
908
+ **/
909
+ MultisigCancelled: GenericPalletEvent<
910
+ Rv,
911
+ 'Multisig',
912
+ 'MultisigCancelled',
913
+ { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
914
+ >;
915
+
916
+ /**
917
+ * Generic pallet event
918
+ **/
919
+ [prop: string]: GenericPalletEvent<Rv>;
920
+ };
921
+ /**
922
+ * Pallet `Identity`'s events
923
+ **/
924
+ identity: {
925
+ /**
926
+ * A name was set or reset (which will remove all judgements).
927
+ **/
928
+ IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
929
+
930
+ /**
931
+ * A name was cleared, and the given balance returned.
932
+ **/
933
+ IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
934
+
935
+ /**
936
+ * A name was removed and the given balance slashed.
937
+ **/
938
+ IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
939
+
940
+ /**
941
+ * A judgement was asked from a registrar.
942
+ **/
943
+ JudgementRequested: GenericPalletEvent<
944
+ Rv,
945
+ 'Identity',
946
+ 'JudgementRequested',
947
+ { who: AccountId32; registrarIndex: number }
948
+ >;
949
+
950
+ /**
951
+ * A judgement request was retracted.
952
+ **/
953
+ JudgementUnrequested: GenericPalletEvent<
954
+ Rv,
955
+ 'Identity',
956
+ 'JudgementUnrequested',
957
+ { who: AccountId32; registrarIndex: number }
958
+ >;
959
+
960
+ /**
961
+ * A judgement was given by a registrar.
962
+ **/
963
+ JudgementGiven: GenericPalletEvent<
964
+ Rv,
965
+ 'Identity',
966
+ 'JudgementGiven',
967
+ { target: AccountId32; registrarIndex: number }
968
+ >;
969
+
970
+ /**
971
+ * A registrar was added.
972
+ **/
973
+ RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
974
+
975
+ /**
976
+ * A sub-identity was added to an identity and the deposit paid.
977
+ **/
978
+ SubIdentityAdded: GenericPalletEvent<
979
+ Rv,
980
+ 'Identity',
981
+ 'SubIdentityAdded',
982
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
983
+ >;
984
+
985
+ /**
986
+ * A sub-identity was removed from an identity and the deposit freed.
987
+ **/
988
+ SubIdentityRemoved: GenericPalletEvent<
989
+ Rv,
990
+ 'Identity',
991
+ 'SubIdentityRemoved',
992
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
993
+ >;
994
+
995
+ /**
996
+ * A sub-identity was cleared, and the given deposit repatriated from the
997
+ * main identity account to the sub-identity account.
998
+ **/
999
+ SubIdentityRevoked: GenericPalletEvent<
1000
+ Rv,
1001
+ 'Identity',
1002
+ 'SubIdentityRevoked',
1003
+ { sub: AccountId32; main: AccountId32; deposit: bigint }
1004
+ >;
1005
+
1006
+ /**
1007
+ * A username authority was added.
1008
+ **/
1009
+ AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
1010
+
1011
+ /**
1012
+ * A username authority was removed.
1013
+ **/
1014
+ AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
1015
+
1016
+ /**
1017
+ * A username was set for `who`.
1018
+ **/
1019
+ UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
1020
+
1021
+ /**
1022
+ * A username was queued, but `who` must accept it prior to `expiration`.
1023
+ **/
1024
+ UsernameQueued: GenericPalletEvent<
1025
+ Rv,
1026
+ 'Identity',
1027
+ 'UsernameQueued',
1028
+ { who: AccountId32; username: Bytes; expiration: number }
1029
+ >;
1030
+
1031
+ /**
1032
+ * A queued username passed its expiration without being claimed and was removed.
1033
+ **/
1034
+ PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
1035
+
1036
+ /**
1037
+ * A username was set as a primary and can be looked up from `who`.
1038
+ **/
1039
+ PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
1040
+
1041
+ /**
1042
+ * A dangling username (as in, a username corresponding to an account that has removed its
1043
+ * identity) has been removed.
1044
+ **/
1045
+ DanglingUsernameRemoved: GenericPalletEvent<
1046
+ Rv,
1047
+ 'Identity',
1048
+ 'DanglingUsernameRemoved',
1049
+ { who: AccountId32; username: Bytes }
1050
+ >;
1051
+
1052
+ /**
1053
+ * Generic pallet event
1054
+ **/
1055
+ [prop: string]: GenericPalletEvent<Rv>;
1056
+ };
1057
+ /**
1058
+ * Pallet `IdentityMigrator`'s events
1059
+ **/
1060
+ identityMigrator: {
1061
+ /**
1062
+ * The identity and all sub accounts were reaped for `who`.
1063
+ **/
1064
+ IdentityReaped: GenericPalletEvent<Rv, 'IdentityMigrator', 'IdentityReaped', { who: AccountId32 }>;
1065
+
1066
+ /**
1067
+ * The deposits held for `who` were updated. `identity` is the new deposit held for
1068
+ * identity info, and `subs` is the new deposit held for the sub-accounts.
1069
+ **/
1070
+ DepositUpdated: GenericPalletEvent<
1071
+ Rv,
1072
+ 'IdentityMigrator',
1073
+ 'DepositUpdated',
1074
+ { who: AccountId32; identity: bigint; subs: bigint }
1075
+ >;
1076
+
1077
+ /**
1078
+ * Generic pallet event
1079
+ **/
1080
+ [prop: string]: GenericPalletEvent<Rv>;
1081
+ };
1082
+ }