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