@dedot/chaintypes 0.28.0 → 0.29.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.
@@ -1,3372 +0,0 @@
1
- // Generated by dedot cli
2
-
3
- import type { GenericChainEvents, GenericPalletEvent, RpcVersion } from 'dedot/types';
4
- import type {
5
- DispatchInfo,
6
- DispatchError,
7
- AccountId32,
8
- H256,
9
- FixedBytes,
10
- Bytes,
11
- Result,
12
- EthereumAddress,
13
- FixedU128,
14
- Perquintill,
15
- } from 'dedot/codecs';
16
- import type {
17
- FrameSupportTokensMiscBalanceStatus,
18
- RococoRuntimeRuntimeParametersKey,
19
- RococoRuntimeRuntimeParametersValue,
20
- SpConsensusGrandpaAppPublic,
21
- PolkadotRuntimeCommonImplsVersionedLocatableAsset,
22
- XcmVersionedLocation,
23
- PalletConvictionVotingVoteAccountVote,
24
- FrameSupportPreimagesBounded,
25
- PalletConvictionVotingTally,
26
- PalletRankedCollectiveVoteRecord,
27
- PalletRankedCollectiveTally,
28
- FrameSupportDispatchPostDispatchInfo,
29
- SpRuntimeDispatchErrorWithPostInfo,
30
- PalletSocietyGroupParams,
31
- RococoRuntimeProxyType,
32
- PalletMultisigTimepoint,
33
- PolkadotPrimitivesV8CandidateReceipt,
34
- PolkadotParachainPrimitivesPrimitivesHeadData,
35
- PolkadotPrimitivesV8CoreIndex,
36
- PolkadotPrimitivesV8GroupIndex,
37
- PolkadotParachainPrimitivesPrimitivesId,
38
- PolkadotParachainPrimitivesPrimitivesValidationCodeHash,
39
- PolkadotParachainPrimitivesPrimitivesHrmpChannelId,
40
- PolkadotCorePrimitivesCandidateHash,
41
- PolkadotRuntimeParachainsDisputesDisputeLocation,
42
- PolkadotRuntimeParachainsDisputesDisputeResult,
43
- PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
44
- FrameSupportMessagesProcessMessageError,
45
- SpWeightsWeightV2Weight,
46
- StagingXcmV4TraitsOutcome,
47
- StagingXcmV4Location,
48
- StagingXcmV4Xcm,
49
- StagingXcmV4Response,
50
- XcmVersionedAssets,
51
- StagingXcmV4AssetAssets,
52
- XcmV3TraitsError,
53
- PalletStateTrieMigrationMigrationCompute,
54
- PalletStateTrieMigrationError,
55
- } from './types';
56
-
57
- export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
58
- /**
59
- * Pallet `System`'s events
60
- **/
61
- system: {
62
- /**
63
- * An extrinsic completed successfully.
64
- **/
65
- ExtrinsicSuccess: GenericPalletEvent<Rv, 'System', 'ExtrinsicSuccess', { dispatchInfo: DispatchInfo }>;
66
-
67
- /**
68
- * An extrinsic failed.
69
- **/
70
- ExtrinsicFailed: GenericPalletEvent<
71
- Rv,
72
- 'System',
73
- 'ExtrinsicFailed',
74
- { dispatchError: DispatchError; dispatchInfo: DispatchInfo }
75
- >;
76
-
77
- /**
78
- * `:code` was updated.
79
- **/
80
- CodeUpdated: GenericPalletEvent<Rv, 'System', 'CodeUpdated', null>;
81
-
82
- /**
83
- * A new account was created.
84
- **/
85
- NewAccount: GenericPalletEvent<Rv, 'System', 'NewAccount', { account: AccountId32 }>;
86
-
87
- /**
88
- * An account was reaped.
89
- **/
90
- KilledAccount: GenericPalletEvent<Rv, 'System', 'KilledAccount', { account: AccountId32 }>;
91
-
92
- /**
93
- * On on-chain remark happened.
94
- **/
95
- Remarked: GenericPalletEvent<Rv, 'System', 'Remarked', { sender: AccountId32; hash: H256 }>;
96
-
97
- /**
98
- * An upgrade was authorized.
99
- **/
100
- UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
101
-
102
- /**
103
- * Generic pallet event
104
- **/
105
- [prop: string]: GenericPalletEvent<Rv>;
106
- };
107
- /**
108
- * Pallet `Indices`'s events
109
- **/
110
- indices: {
111
- /**
112
- * A account index was assigned.
113
- **/
114
- IndexAssigned: GenericPalletEvent<Rv, 'Indices', 'IndexAssigned', { who: AccountId32; index: number }>;
115
-
116
- /**
117
- * A account index has been freed up (unassigned).
118
- **/
119
- IndexFreed: GenericPalletEvent<Rv, 'Indices', 'IndexFreed', { index: number }>;
120
-
121
- /**
122
- * A account index has been frozen to its current account ID.
123
- **/
124
- IndexFrozen: GenericPalletEvent<Rv, 'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
125
-
126
- /**
127
- * Generic pallet event
128
- **/
129
- [prop: string]: GenericPalletEvent<Rv>;
130
- };
131
- /**
132
- * Pallet `Balances`'s events
133
- **/
134
- balances: {
135
- /**
136
- * An account was created with some free balance.
137
- **/
138
- Endowed: GenericPalletEvent<Rv, 'Balances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
139
-
140
- /**
141
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
142
- * resulting in an outright loss.
143
- **/
144
- DustLost: GenericPalletEvent<Rv, 'Balances', 'DustLost', { account: AccountId32; amount: bigint }>;
145
-
146
- /**
147
- * Transfer succeeded.
148
- **/
149
- Transfer: GenericPalletEvent<Rv, 'Balances', 'Transfer', { from: AccountId32; to: AccountId32; amount: bigint }>;
150
-
151
- /**
152
- * A balance was set by root.
153
- **/
154
- BalanceSet: GenericPalletEvent<Rv, 'Balances', 'BalanceSet', { who: AccountId32; free: bigint }>;
155
-
156
- /**
157
- * Some balance was reserved (moved from free to reserved).
158
- **/
159
- Reserved: GenericPalletEvent<Rv, 'Balances', 'Reserved', { who: AccountId32; amount: bigint }>;
160
-
161
- /**
162
- * Some balance was unreserved (moved from reserved to free).
163
- **/
164
- Unreserved: GenericPalletEvent<Rv, 'Balances', 'Unreserved', { who: AccountId32; amount: bigint }>;
165
-
166
- /**
167
- * Some balance was moved from the reserve of the first account to the second account.
168
- * Final argument indicates the destination balance type.
169
- **/
170
- ReserveRepatriated: GenericPalletEvent<
171
- Rv,
172
- 'Balances',
173
- 'ReserveRepatriated',
174
- { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
175
- >;
176
-
177
- /**
178
- * Some amount was deposited (e.g. for transaction fees).
179
- **/
180
- Deposit: GenericPalletEvent<Rv, 'Balances', 'Deposit', { who: AccountId32; amount: bigint }>;
181
-
182
- /**
183
- * Some amount was withdrawn from the account (e.g. for transaction fees).
184
- **/
185
- Withdraw: GenericPalletEvent<Rv, 'Balances', 'Withdraw', { who: AccountId32; amount: bigint }>;
186
-
187
- /**
188
- * Some amount was removed from the account (e.g. for misbehavior).
189
- **/
190
- Slashed: GenericPalletEvent<Rv, 'Balances', 'Slashed', { who: AccountId32; amount: bigint }>;
191
-
192
- /**
193
- * Some amount was minted into an account.
194
- **/
195
- Minted: GenericPalletEvent<Rv, 'Balances', 'Minted', { who: AccountId32; amount: bigint }>;
196
-
197
- /**
198
- * Some amount was burned from an account.
199
- **/
200
- Burned: GenericPalletEvent<Rv, 'Balances', 'Burned', { who: AccountId32; amount: bigint }>;
201
-
202
- /**
203
- * Some amount was suspended from an account (it can be restored later).
204
- **/
205
- Suspended: GenericPalletEvent<Rv, 'Balances', 'Suspended', { who: AccountId32; amount: bigint }>;
206
-
207
- /**
208
- * Some amount was restored into an account.
209
- **/
210
- Restored: GenericPalletEvent<Rv, 'Balances', 'Restored', { who: AccountId32; amount: bigint }>;
211
-
212
- /**
213
- * An account was upgraded.
214
- **/
215
- Upgraded: GenericPalletEvent<Rv, 'Balances', 'Upgraded', { who: AccountId32 }>;
216
-
217
- /**
218
- * Total issuance was increased by `amount`, creating a credit to be balanced.
219
- **/
220
- Issued: GenericPalletEvent<Rv, 'Balances', 'Issued', { amount: bigint }>;
221
-
222
- /**
223
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
224
- **/
225
- Rescinded: GenericPalletEvent<Rv, 'Balances', 'Rescinded', { amount: bigint }>;
226
-
227
- /**
228
- * Some balance was locked.
229
- **/
230
- Locked: GenericPalletEvent<Rv, 'Balances', 'Locked', { who: AccountId32; amount: bigint }>;
231
-
232
- /**
233
- * Some balance was unlocked.
234
- **/
235
- Unlocked: GenericPalletEvent<Rv, 'Balances', 'Unlocked', { who: AccountId32; amount: bigint }>;
236
-
237
- /**
238
- * Some balance was frozen.
239
- **/
240
- Frozen: GenericPalletEvent<Rv, 'Balances', 'Frozen', { who: AccountId32; amount: bigint }>;
241
-
242
- /**
243
- * Some balance was thawed.
244
- **/
245
- Thawed: GenericPalletEvent<Rv, 'Balances', 'Thawed', { who: AccountId32; amount: bigint }>;
246
-
247
- /**
248
- * The `TotalIssuance` was forcefully changed.
249
- **/
250
- TotalIssuanceForced: GenericPalletEvent<Rv, 'Balances', 'TotalIssuanceForced', { old: bigint; new: bigint }>;
251
-
252
- /**
253
- * Generic pallet event
254
- **/
255
- [prop: string]: GenericPalletEvent<Rv>;
256
- };
257
- /**
258
- * Pallet `Parameters`'s events
259
- **/
260
- parameters: {
261
- /**
262
- * A Parameter was set.
263
- *
264
- * Is also emitted when the value was not changed.
265
- **/
266
- Updated: GenericPalletEvent<
267
- Rv,
268
- 'Parameters',
269
- 'Updated',
270
- {
271
- /**
272
- * The key that was updated.
273
- **/
274
- key: RococoRuntimeRuntimeParametersKey;
275
-
276
- /**
277
- * The old value before this call.
278
- **/
279
- oldValue?: RococoRuntimeRuntimeParametersValue | undefined;
280
-
281
- /**
282
- * The new value after this call.
283
- **/
284
- newValue?: RococoRuntimeRuntimeParametersValue | undefined;
285
- }
286
- >;
287
-
288
- /**
289
- * Generic pallet event
290
- **/
291
- [prop: string]: GenericPalletEvent<Rv>;
292
- };
293
- /**
294
- * Pallet `TransactionPayment`'s events
295
- **/
296
- transactionPayment: {
297
- /**
298
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
299
- * has been paid by `who`.
300
- **/
301
- TransactionFeePaid: GenericPalletEvent<
302
- Rv,
303
- 'TransactionPayment',
304
- 'TransactionFeePaid',
305
- { who: AccountId32; actualFee: bigint; tip: bigint }
306
- >;
307
-
308
- /**
309
- * Generic pallet event
310
- **/
311
- [prop: string]: GenericPalletEvent<Rv>;
312
- };
313
- /**
314
- * Pallet `Offences`'s events
315
- **/
316
- offences: {
317
- /**
318
- * There is an offence reported of the given `kind` happened at the `session_index` and
319
- * (kind-specific) time slot. This event is not deposited for duplicate slashes.
320
- * \[kind, timeslot\].
321
- **/
322
- Offence: GenericPalletEvent<Rv, 'Offences', 'Offence', { kind: FixedBytes<16>; timeslot: Bytes }>;
323
-
324
- /**
325
- * Generic pallet event
326
- **/
327
- [prop: string]: GenericPalletEvent<Rv>;
328
- };
329
- /**
330
- * Pallet `Session`'s events
331
- **/
332
- session: {
333
- /**
334
- * New session has happened. Note that the argument is the session index, not the
335
- * block number as the type might suggest.
336
- **/
337
- NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
338
-
339
- /**
340
- * Generic pallet event
341
- **/
342
- [prop: string]: GenericPalletEvent<Rv>;
343
- };
344
- /**
345
- * Pallet `Grandpa`'s events
346
- **/
347
- grandpa: {
348
- /**
349
- * New authority set has been applied.
350
- **/
351
- NewAuthorities: GenericPalletEvent<
352
- Rv,
353
- 'Grandpa',
354
- 'NewAuthorities',
355
- { authoritySet: Array<[SpConsensusGrandpaAppPublic, bigint]> }
356
- >;
357
-
358
- /**
359
- * Current authority set has been paused.
360
- **/
361
- Paused: GenericPalletEvent<Rv, 'Grandpa', 'Paused', null>;
362
-
363
- /**
364
- * Current authority set has been resumed.
365
- **/
366
- Resumed: GenericPalletEvent<Rv, 'Grandpa', 'Resumed', null>;
367
-
368
- /**
369
- * Generic pallet event
370
- **/
371
- [prop: string]: GenericPalletEvent<Rv>;
372
- };
373
- /**
374
- * Pallet `Treasury`'s events
375
- **/
376
- treasury: {
377
- /**
378
- * We have ended a spend period and will now allocate funds.
379
- **/
380
- Spending: GenericPalletEvent<Rv, 'Treasury', 'Spending', { budgetRemaining: bigint }>;
381
-
382
- /**
383
- * Some funds have been allocated.
384
- **/
385
- Awarded: GenericPalletEvent<
386
- Rv,
387
- 'Treasury',
388
- 'Awarded',
389
- { proposalIndex: number; award: bigint; account: AccountId32 }
390
- >;
391
-
392
- /**
393
- * Some of our funds have been burnt.
394
- **/
395
- Burnt: GenericPalletEvent<Rv, 'Treasury', 'Burnt', { burntFunds: bigint }>;
396
-
397
- /**
398
- * Spending has finished; this is the amount that rolls over until next spend.
399
- **/
400
- Rollover: GenericPalletEvent<Rv, 'Treasury', 'Rollover', { rolloverBalance: bigint }>;
401
-
402
- /**
403
- * Some funds have been deposited.
404
- **/
405
- Deposit: GenericPalletEvent<Rv, 'Treasury', 'Deposit', { value: bigint }>;
406
-
407
- /**
408
- * A new spend proposal has been approved.
409
- **/
410
- SpendApproved: GenericPalletEvent<
411
- Rv,
412
- 'Treasury',
413
- 'SpendApproved',
414
- { proposalIndex: number; amount: bigint; beneficiary: AccountId32 }
415
- >;
416
-
417
- /**
418
- * The inactive funds of the pallet have been updated.
419
- **/
420
- UpdatedInactive: GenericPalletEvent<
421
- Rv,
422
- 'Treasury',
423
- 'UpdatedInactive',
424
- { reactivated: bigint; deactivated: bigint }
425
- >;
426
-
427
- /**
428
- * A new asset spend proposal has been approved.
429
- **/
430
- AssetSpendApproved: GenericPalletEvent<
431
- Rv,
432
- 'Treasury',
433
- 'AssetSpendApproved',
434
- {
435
- index: number;
436
- assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset;
437
- amount: bigint;
438
- beneficiary: XcmVersionedLocation;
439
- validFrom: number;
440
- expireAt: number;
441
- }
442
- >;
443
-
444
- /**
445
- * An approved spend was voided.
446
- **/
447
- AssetSpendVoided: GenericPalletEvent<Rv, 'Treasury', 'AssetSpendVoided', { index: number }>;
448
-
449
- /**
450
- * A payment happened.
451
- **/
452
- Paid: GenericPalletEvent<Rv, 'Treasury', 'Paid', { index: number; paymentId: bigint }>;
453
-
454
- /**
455
- * A payment failed and can be retried.
456
- **/
457
- PaymentFailed: GenericPalletEvent<Rv, 'Treasury', 'PaymentFailed', { index: number; paymentId: bigint }>;
458
-
459
- /**
460
- * A spend was processed and removed from the storage. It might have been successfully
461
- * paid or it may have expired.
462
- **/
463
- SpendProcessed: GenericPalletEvent<Rv, 'Treasury', 'SpendProcessed', { index: number }>;
464
-
465
- /**
466
- * Generic pallet event
467
- **/
468
- [prop: string]: GenericPalletEvent<Rv>;
469
- };
470
- /**
471
- * Pallet `ConvictionVoting`'s events
472
- **/
473
- convictionVoting: {
474
- /**
475
- * An account has delegated their vote to another account. \[who, target\]
476
- **/
477
- Delegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Delegated', [AccountId32, AccountId32]>;
478
-
479
- /**
480
- * An \[account\] has cancelled a previous delegation operation.
481
- **/
482
- Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
483
-
484
- /**
485
- * An account that has voted
486
- **/
487
- Voted: GenericPalletEvent<
488
- Rv,
489
- 'ConvictionVoting',
490
- 'Voted',
491
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
492
- >;
493
-
494
- /**
495
- * A vote that been removed
496
- **/
497
- VoteRemoved: GenericPalletEvent<
498
- Rv,
499
- 'ConvictionVoting',
500
- 'VoteRemoved',
501
- { who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
502
- >;
503
-
504
- /**
505
- * Generic pallet event
506
- **/
507
- [prop: string]: GenericPalletEvent<Rv>;
508
- };
509
- /**
510
- * Pallet `Referenda`'s events
511
- **/
512
- referenda: {
513
- /**
514
- * A referendum has been submitted.
515
- **/
516
- Submitted: GenericPalletEvent<
517
- Rv,
518
- 'Referenda',
519
- 'Submitted',
520
- {
521
- /**
522
- * Index of the referendum.
523
- **/
524
- index: number;
525
-
526
- /**
527
- * The track (and by extension proposal dispatch origin) of this referendum.
528
- **/
529
- track: number;
530
-
531
- /**
532
- * The proposal for the referendum.
533
- **/
534
- proposal: FrameSupportPreimagesBounded;
535
- }
536
- >;
537
-
538
- /**
539
- * The decision deposit has been placed.
540
- **/
541
- DecisionDepositPlaced: GenericPalletEvent<
542
- Rv,
543
- 'Referenda',
544
- 'DecisionDepositPlaced',
545
- {
546
- /**
547
- * Index of the referendum.
548
- **/
549
- index: number;
550
-
551
- /**
552
- * The account who placed the deposit.
553
- **/
554
- who: AccountId32;
555
-
556
- /**
557
- * The amount placed by the account.
558
- **/
559
- amount: bigint;
560
- }
561
- >;
562
-
563
- /**
564
- * The decision deposit has been refunded.
565
- **/
566
- DecisionDepositRefunded: GenericPalletEvent<
567
- Rv,
568
- 'Referenda',
569
- 'DecisionDepositRefunded',
570
- {
571
- /**
572
- * Index of the referendum.
573
- **/
574
- index: number;
575
-
576
- /**
577
- * The account who placed the deposit.
578
- **/
579
- who: AccountId32;
580
-
581
- /**
582
- * The amount placed by the account.
583
- **/
584
- amount: bigint;
585
- }
586
- >;
587
-
588
- /**
589
- * A deposit has been slashed.
590
- **/
591
- DepositSlashed: GenericPalletEvent<
592
- Rv,
593
- 'Referenda',
594
- 'DepositSlashed',
595
- {
596
- /**
597
- * The account who placed the deposit.
598
- **/
599
- who: AccountId32;
600
-
601
- /**
602
- * The amount placed by the account.
603
- **/
604
- amount: bigint;
605
- }
606
- >;
607
-
608
- /**
609
- * A referendum has moved into the deciding phase.
610
- **/
611
- DecisionStarted: GenericPalletEvent<
612
- Rv,
613
- 'Referenda',
614
- 'DecisionStarted',
615
- {
616
- /**
617
- * Index of the referendum.
618
- **/
619
- index: number;
620
-
621
- /**
622
- * The track (and by extension proposal dispatch origin) of this referendum.
623
- **/
624
- track: number;
625
-
626
- /**
627
- * The proposal for the referendum.
628
- **/
629
- proposal: FrameSupportPreimagesBounded;
630
-
631
- /**
632
- * The current tally of votes in this referendum.
633
- **/
634
- tally: PalletConvictionVotingTally;
635
- }
636
- >;
637
- ConfirmStarted: GenericPalletEvent<
638
- Rv,
639
- 'Referenda',
640
- 'ConfirmStarted',
641
- {
642
- /**
643
- * Index of the referendum.
644
- **/
645
- index: number;
646
- }
647
- >;
648
- ConfirmAborted: GenericPalletEvent<
649
- Rv,
650
- 'Referenda',
651
- 'ConfirmAborted',
652
- {
653
- /**
654
- * Index of the referendum.
655
- **/
656
- index: number;
657
- }
658
- >;
659
-
660
- /**
661
- * A referendum has ended its confirmation phase and is ready for approval.
662
- **/
663
- Confirmed: GenericPalletEvent<
664
- Rv,
665
- 'Referenda',
666
- 'Confirmed',
667
- {
668
- /**
669
- * Index of the referendum.
670
- **/
671
- index: number;
672
-
673
- /**
674
- * The final tally of votes in this referendum.
675
- **/
676
- tally: PalletConvictionVotingTally;
677
- }
678
- >;
679
-
680
- /**
681
- * A referendum has been approved and its proposal has been scheduled.
682
- **/
683
- Approved: GenericPalletEvent<
684
- Rv,
685
- 'Referenda',
686
- 'Approved',
687
- {
688
- /**
689
- * Index of the referendum.
690
- **/
691
- index: number;
692
- }
693
- >;
694
-
695
- /**
696
- * A proposal has been rejected by referendum.
697
- **/
698
- Rejected: GenericPalletEvent<
699
- Rv,
700
- 'Referenda',
701
- 'Rejected',
702
- {
703
- /**
704
- * Index of the referendum.
705
- **/
706
- index: number;
707
-
708
- /**
709
- * The final tally of votes in this referendum.
710
- **/
711
- tally: PalletConvictionVotingTally;
712
- }
713
- >;
714
-
715
- /**
716
- * A referendum has been timed out without being decided.
717
- **/
718
- TimedOut: GenericPalletEvent<
719
- Rv,
720
- 'Referenda',
721
- 'TimedOut',
722
- {
723
- /**
724
- * Index of the referendum.
725
- **/
726
- index: number;
727
-
728
- /**
729
- * The final tally of votes in this referendum.
730
- **/
731
- tally: PalletConvictionVotingTally;
732
- }
733
- >;
734
-
735
- /**
736
- * A referendum has been cancelled.
737
- **/
738
- Cancelled: GenericPalletEvent<
739
- Rv,
740
- 'Referenda',
741
- 'Cancelled',
742
- {
743
- /**
744
- * Index of the referendum.
745
- **/
746
- index: number;
747
-
748
- /**
749
- * The final tally of votes in this referendum.
750
- **/
751
- tally: PalletConvictionVotingTally;
752
- }
753
- >;
754
-
755
- /**
756
- * A referendum has been killed.
757
- **/
758
- Killed: GenericPalletEvent<
759
- Rv,
760
- 'Referenda',
761
- 'Killed',
762
- {
763
- /**
764
- * Index of the referendum.
765
- **/
766
- index: number;
767
-
768
- /**
769
- * The final tally of votes in this referendum.
770
- **/
771
- tally: PalletConvictionVotingTally;
772
- }
773
- >;
774
-
775
- /**
776
- * The submission deposit has been refunded.
777
- **/
778
- SubmissionDepositRefunded: GenericPalletEvent<
779
- Rv,
780
- 'Referenda',
781
- 'SubmissionDepositRefunded',
782
- {
783
- /**
784
- * Index of the referendum.
785
- **/
786
- index: number;
787
-
788
- /**
789
- * The account who placed the deposit.
790
- **/
791
- who: AccountId32;
792
-
793
- /**
794
- * The amount placed by the account.
795
- **/
796
- amount: bigint;
797
- }
798
- >;
799
-
800
- /**
801
- * Metadata for a referendum has been set.
802
- **/
803
- MetadataSet: GenericPalletEvent<
804
- Rv,
805
- 'Referenda',
806
- 'MetadataSet',
807
- {
808
- /**
809
- * Index of the referendum.
810
- **/
811
- index: number;
812
-
813
- /**
814
- * Preimage hash.
815
- **/
816
- hash: H256;
817
- }
818
- >;
819
-
820
- /**
821
- * Metadata for a referendum has been cleared.
822
- **/
823
- MetadataCleared: GenericPalletEvent<
824
- Rv,
825
- 'Referenda',
826
- 'MetadataCleared',
827
- {
828
- /**
829
- * Index of the referendum.
830
- **/
831
- index: number;
832
-
833
- /**
834
- * Preimage hash.
835
- **/
836
- hash: H256;
837
- }
838
- >;
839
-
840
- /**
841
- * Generic pallet event
842
- **/
843
- [prop: string]: GenericPalletEvent<Rv>;
844
- };
845
- /**
846
- * Pallet `FellowshipCollective`'s events
847
- **/
848
- fellowshipCollective: {
849
- /**
850
- * A member `who` has been added.
851
- **/
852
- MemberAdded: GenericPalletEvent<Rv, 'FellowshipCollective', 'MemberAdded', { who: AccountId32 }>;
853
-
854
- /**
855
- * The member `who`se rank has been changed to the given `rank`.
856
- **/
857
- RankChanged: GenericPalletEvent<Rv, 'FellowshipCollective', 'RankChanged', { who: AccountId32; rank: number }>;
858
-
859
- /**
860
- * The member `who` of given `rank` has been removed from the collective.
861
- **/
862
- MemberRemoved: GenericPalletEvent<Rv, 'FellowshipCollective', 'MemberRemoved', { who: AccountId32; rank: number }>;
863
-
864
- /**
865
- * The member `who` has voted for the `poll` with the given `vote` leading to an updated
866
- * `tally`.
867
- **/
868
- Voted: GenericPalletEvent<
869
- Rv,
870
- 'FellowshipCollective',
871
- 'Voted',
872
- { who: AccountId32; poll: number; vote: PalletRankedCollectiveVoteRecord; tally: PalletRankedCollectiveTally }
873
- >;
874
-
875
- /**
876
- * The member `who` had their `AccountId` changed to `new_who`.
877
- **/
878
- MemberExchanged: GenericPalletEvent<
879
- Rv,
880
- 'FellowshipCollective',
881
- 'MemberExchanged',
882
- { who: AccountId32; newWho: AccountId32 }
883
- >;
884
-
885
- /**
886
- * Generic pallet event
887
- **/
888
- [prop: string]: GenericPalletEvent<Rv>;
889
- };
890
- /**
891
- * Pallet `FellowshipReferenda`'s events
892
- **/
893
- fellowshipReferenda: {
894
- /**
895
- * A referendum has been submitted.
896
- **/
897
- Submitted: GenericPalletEvent<
898
- Rv,
899
- 'FellowshipReferenda',
900
- 'Submitted',
901
- {
902
- /**
903
- * Index of the referendum.
904
- **/
905
- index: number;
906
-
907
- /**
908
- * The track (and by extension proposal dispatch origin) of this referendum.
909
- **/
910
- track: number;
911
-
912
- /**
913
- * The proposal for the referendum.
914
- **/
915
- proposal: FrameSupportPreimagesBounded;
916
- }
917
- >;
918
-
919
- /**
920
- * The decision deposit has been placed.
921
- **/
922
- DecisionDepositPlaced: GenericPalletEvent<
923
- Rv,
924
- 'FellowshipReferenda',
925
- 'DecisionDepositPlaced',
926
- {
927
- /**
928
- * Index of the referendum.
929
- **/
930
- index: number;
931
-
932
- /**
933
- * The account who placed the deposit.
934
- **/
935
- who: AccountId32;
936
-
937
- /**
938
- * The amount placed by the account.
939
- **/
940
- amount: bigint;
941
- }
942
- >;
943
-
944
- /**
945
- * The decision deposit has been refunded.
946
- **/
947
- DecisionDepositRefunded: GenericPalletEvent<
948
- Rv,
949
- 'FellowshipReferenda',
950
- 'DecisionDepositRefunded',
951
- {
952
- /**
953
- * Index of the referendum.
954
- **/
955
- index: number;
956
-
957
- /**
958
- * The account who placed the deposit.
959
- **/
960
- who: AccountId32;
961
-
962
- /**
963
- * The amount placed by the account.
964
- **/
965
- amount: bigint;
966
- }
967
- >;
968
-
969
- /**
970
- * A deposit has been slashed.
971
- **/
972
- DepositSlashed: GenericPalletEvent<
973
- Rv,
974
- 'FellowshipReferenda',
975
- 'DepositSlashed',
976
- {
977
- /**
978
- * The account who placed the deposit.
979
- **/
980
- who: AccountId32;
981
-
982
- /**
983
- * The amount placed by the account.
984
- **/
985
- amount: bigint;
986
- }
987
- >;
988
-
989
- /**
990
- * A referendum has moved into the deciding phase.
991
- **/
992
- DecisionStarted: GenericPalletEvent<
993
- Rv,
994
- 'FellowshipReferenda',
995
- 'DecisionStarted',
996
- {
997
- /**
998
- * Index of the referendum.
999
- **/
1000
- index: number;
1001
-
1002
- /**
1003
- * The track (and by extension proposal dispatch origin) of this referendum.
1004
- **/
1005
- track: number;
1006
-
1007
- /**
1008
- * The proposal for the referendum.
1009
- **/
1010
- proposal: FrameSupportPreimagesBounded;
1011
-
1012
- /**
1013
- * The current tally of votes in this referendum.
1014
- **/
1015
- tally: PalletRankedCollectiveTally;
1016
- }
1017
- >;
1018
- ConfirmStarted: GenericPalletEvent<
1019
- Rv,
1020
- 'FellowshipReferenda',
1021
- 'ConfirmStarted',
1022
- {
1023
- /**
1024
- * Index of the referendum.
1025
- **/
1026
- index: number;
1027
- }
1028
- >;
1029
- ConfirmAborted: GenericPalletEvent<
1030
- Rv,
1031
- 'FellowshipReferenda',
1032
- 'ConfirmAborted',
1033
- {
1034
- /**
1035
- * Index of the referendum.
1036
- **/
1037
- index: number;
1038
- }
1039
- >;
1040
-
1041
- /**
1042
- * A referendum has ended its confirmation phase and is ready for approval.
1043
- **/
1044
- Confirmed: GenericPalletEvent<
1045
- Rv,
1046
- 'FellowshipReferenda',
1047
- 'Confirmed',
1048
- {
1049
- /**
1050
- * Index of the referendum.
1051
- **/
1052
- index: number;
1053
-
1054
- /**
1055
- * The final tally of votes in this referendum.
1056
- **/
1057
- tally: PalletRankedCollectiveTally;
1058
- }
1059
- >;
1060
-
1061
- /**
1062
- * A referendum has been approved and its proposal has been scheduled.
1063
- **/
1064
- Approved: GenericPalletEvent<
1065
- Rv,
1066
- 'FellowshipReferenda',
1067
- 'Approved',
1068
- {
1069
- /**
1070
- * Index of the referendum.
1071
- **/
1072
- index: number;
1073
- }
1074
- >;
1075
-
1076
- /**
1077
- * A proposal has been rejected by referendum.
1078
- **/
1079
- Rejected: GenericPalletEvent<
1080
- Rv,
1081
- 'FellowshipReferenda',
1082
- 'Rejected',
1083
- {
1084
- /**
1085
- * Index of the referendum.
1086
- **/
1087
- index: number;
1088
-
1089
- /**
1090
- * The final tally of votes in this referendum.
1091
- **/
1092
- tally: PalletRankedCollectiveTally;
1093
- }
1094
- >;
1095
-
1096
- /**
1097
- * A referendum has been timed out without being decided.
1098
- **/
1099
- TimedOut: GenericPalletEvent<
1100
- Rv,
1101
- 'FellowshipReferenda',
1102
- 'TimedOut',
1103
- {
1104
- /**
1105
- * Index of the referendum.
1106
- **/
1107
- index: number;
1108
-
1109
- /**
1110
- * The final tally of votes in this referendum.
1111
- **/
1112
- tally: PalletRankedCollectiveTally;
1113
- }
1114
- >;
1115
-
1116
- /**
1117
- * A referendum has been cancelled.
1118
- **/
1119
- Cancelled: GenericPalletEvent<
1120
- Rv,
1121
- 'FellowshipReferenda',
1122
- 'Cancelled',
1123
- {
1124
- /**
1125
- * Index of the referendum.
1126
- **/
1127
- index: number;
1128
-
1129
- /**
1130
- * The final tally of votes in this referendum.
1131
- **/
1132
- tally: PalletRankedCollectiveTally;
1133
- }
1134
- >;
1135
-
1136
- /**
1137
- * A referendum has been killed.
1138
- **/
1139
- Killed: GenericPalletEvent<
1140
- Rv,
1141
- 'FellowshipReferenda',
1142
- 'Killed',
1143
- {
1144
- /**
1145
- * Index of the referendum.
1146
- **/
1147
- index: number;
1148
-
1149
- /**
1150
- * The final tally of votes in this referendum.
1151
- **/
1152
- tally: PalletRankedCollectiveTally;
1153
- }
1154
- >;
1155
-
1156
- /**
1157
- * The submission deposit has been refunded.
1158
- **/
1159
- SubmissionDepositRefunded: GenericPalletEvent<
1160
- Rv,
1161
- 'FellowshipReferenda',
1162
- 'SubmissionDepositRefunded',
1163
- {
1164
- /**
1165
- * Index of the referendum.
1166
- **/
1167
- index: number;
1168
-
1169
- /**
1170
- * The account who placed the deposit.
1171
- **/
1172
- who: AccountId32;
1173
-
1174
- /**
1175
- * The amount placed by the account.
1176
- **/
1177
- amount: bigint;
1178
- }
1179
- >;
1180
-
1181
- /**
1182
- * Metadata for a referendum has been set.
1183
- **/
1184
- MetadataSet: GenericPalletEvent<
1185
- Rv,
1186
- 'FellowshipReferenda',
1187
- 'MetadataSet',
1188
- {
1189
- /**
1190
- * Index of the referendum.
1191
- **/
1192
- index: number;
1193
-
1194
- /**
1195
- * Preimage hash.
1196
- **/
1197
- hash: H256;
1198
- }
1199
- >;
1200
-
1201
- /**
1202
- * Metadata for a referendum has been cleared.
1203
- **/
1204
- MetadataCleared: GenericPalletEvent<
1205
- Rv,
1206
- 'FellowshipReferenda',
1207
- 'MetadataCleared',
1208
- {
1209
- /**
1210
- * Index of the referendum.
1211
- **/
1212
- index: number;
1213
-
1214
- /**
1215
- * Preimage hash.
1216
- **/
1217
- hash: H256;
1218
- }
1219
- >;
1220
-
1221
- /**
1222
- * Generic pallet event
1223
- **/
1224
- [prop: string]: GenericPalletEvent<Rv>;
1225
- };
1226
- /**
1227
- * Pallet `Whitelist`'s events
1228
- **/
1229
- whitelist: {
1230
- CallWhitelisted: GenericPalletEvent<Rv, 'Whitelist', 'CallWhitelisted', { callHash: H256 }>;
1231
- WhitelistedCallRemoved: GenericPalletEvent<Rv, 'Whitelist', 'WhitelistedCallRemoved', { callHash: H256 }>;
1232
- WhitelistedCallDispatched: GenericPalletEvent<
1233
- Rv,
1234
- 'Whitelist',
1235
- 'WhitelistedCallDispatched',
1236
- { callHash: H256; result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo> }
1237
- >;
1238
-
1239
- /**
1240
- * Generic pallet event
1241
- **/
1242
- [prop: string]: GenericPalletEvent<Rv>;
1243
- };
1244
- /**
1245
- * Pallet `Claims`'s events
1246
- **/
1247
- claims: {
1248
- /**
1249
- * Someone claimed some DOTs.
1250
- **/
1251
- Claimed: GenericPalletEvent<
1252
- Rv,
1253
- 'Claims',
1254
- 'Claimed',
1255
- { who: AccountId32; ethereumAddress: EthereumAddress; amount: bigint }
1256
- >;
1257
-
1258
- /**
1259
- * Generic pallet event
1260
- **/
1261
- [prop: string]: GenericPalletEvent<Rv>;
1262
- };
1263
- /**
1264
- * Pallet `Utility`'s events
1265
- **/
1266
- utility: {
1267
- /**
1268
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1269
- * well as the error.
1270
- **/
1271
- BatchInterrupted: GenericPalletEvent<Rv, 'Utility', 'BatchInterrupted', { index: number; error: DispatchError }>;
1272
-
1273
- /**
1274
- * Batch of dispatches completed fully with no error.
1275
- **/
1276
- BatchCompleted: GenericPalletEvent<Rv, 'Utility', 'BatchCompleted', null>;
1277
-
1278
- /**
1279
- * Batch of dispatches completed but has errors.
1280
- **/
1281
- BatchCompletedWithErrors: GenericPalletEvent<Rv, 'Utility', 'BatchCompletedWithErrors', null>;
1282
-
1283
- /**
1284
- * A single item within a Batch of dispatches has completed with no error.
1285
- **/
1286
- ItemCompleted: GenericPalletEvent<Rv, 'Utility', 'ItemCompleted', null>;
1287
-
1288
- /**
1289
- * A single item within a Batch of dispatches has completed with error.
1290
- **/
1291
- ItemFailed: GenericPalletEvent<Rv, 'Utility', 'ItemFailed', { error: DispatchError }>;
1292
-
1293
- /**
1294
- * A call was dispatched.
1295
- **/
1296
- DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
1297
-
1298
- /**
1299
- * Generic pallet event
1300
- **/
1301
- [prop: string]: GenericPalletEvent<Rv>;
1302
- };
1303
- /**
1304
- * Pallet `Identity`'s events
1305
- **/
1306
- identity: {
1307
- /**
1308
- * A name was set or reset (which will remove all judgements).
1309
- **/
1310
- IdentitySet: GenericPalletEvent<Rv, 'Identity', 'IdentitySet', { who: AccountId32 }>;
1311
-
1312
- /**
1313
- * A name was cleared, and the given balance returned.
1314
- **/
1315
- IdentityCleared: GenericPalletEvent<Rv, 'Identity', 'IdentityCleared', { who: AccountId32; deposit: bigint }>;
1316
-
1317
- /**
1318
- * A name was removed and the given balance slashed.
1319
- **/
1320
- IdentityKilled: GenericPalletEvent<Rv, 'Identity', 'IdentityKilled', { who: AccountId32; deposit: bigint }>;
1321
-
1322
- /**
1323
- * A judgement was asked from a registrar.
1324
- **/
1325
- JudgementRequested: GenericPalletEvent<
1326
- Rv,
1327
- 'Identity',
1328
- 'JudgementRequested',
1329
- { who: AccountId32; registrarIndex: number }
1330
- >;
1331
-
1332
- /**
1333
- * A judgement request was retracted.
1334
- **/
1335
- JudgementUnrequested: GenericPalletEvent<
1336
- Rv,
1337
- 'Identity',
1338
- 'JudgementUnrequested',
1339
- { who: AccountId32; registrarIndex: number }
1340
- >;
1341
-
1342
- /**
1343
- * A judgement was given by a registrar.
1344
- **/
1345
- JudgementGiven: GenericPalletEvent<
1346
- Rv,
1347
- 'Identity',
1348
- 'JudgementGiven',
1349
- { target: AccountId32; registrarIndex: number }
1350
- >;
1351
-
1352
- /**
1353
- * A registrar was added.
1354
- **/
1355
- RegistrarAdded: GenericPalletEvent<Rv, 'Identity', 'RegistrarAdded', { registrarIndex: number }>;
1356
-
1357
- /**
1358
- * A sub-identity was added to an identity and the deposit paid.
1359
- **/
1360
- SubIdentityAdded: GenericPalletEvent<
1361
- Rv,
1362
- 'Identity',
1363
- 'SubIdentityAdded',
1364
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1365
- >;
1366
-
1367
- /**
1368
- * A sub-identity was removed from an identity and the deposit freed.
1369
- **/
1370
- SubIdentityRemoved: GenericPalletEvent<
1371
- Rv,
1372
- 'Identity',
1373
- 'SubIdentityRemoved',
1374
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1375
- >;
1376
-
1377
- /**
1378
- * A sub-identity was cleared, and the given deposit repatriated from the
1379
- * main identity account to the sub-identity account.
1380
- **/
1381
- SubIdentityRevoked: GenericPalletEvent<
1382
- Rv,
1383
- 'Identity',
1384
- 'SubIdentityRevoked',
1385
- { sub: AccountId32; main: AccountId32; deposit: bigint }
1386
- >;
1387
-
1388
- /**
1389
- * A username authority was added.
1390
- **/
1391
- AuthorityAdded: GenericPalletEvent<Rv, 'Identity', 'AuthorityAdded', { authority: AccountId32 }>;
1392
-
1393
- /**
1394
- * A username authority was removed.
1395
- **/
1396
- AuthorityRemoved: GenericPalletEvent<Rv, 'Identity', 'AuthorityRemoved', { authority: AccountId32 }>;
1397
-
1398
- /**
1399
- * A username was set for `who`.
1400
- **/
1401
- UsernameSet: GenericPalletEvent<Rv, 'Identity', 'UsernameSet', { who: AccountId32; username: Bytes }>;
1402
-
1403
- /**
1404
- * A username was queued, but `who` must accept it prior to `expiration`.
1405
- **/
1406
- UsernameQueued: GenericPalletEvent<
1407
- Rv,
1408
- 'Identity',
1409
- 'UsernameQueued',
1410
- { who: AccountId32; username: Bytes; expiration: number }
1411
- >;
1412
-
1413
- /**
1414
- * A queued username passed its expiration without being claimed and was removed.
1415
- **/
1416
- PreapprovalExpired: GenericPalletEvent<Rv, 'Identity', 'PreapprovalExpired', { whose: AccountId32 }>;
1417
-
1418
- /**
1419
- * A username was set as a primary and can be looked up from `who`.
1420
- **/
1421
- PrimaryUsernameSet: GenericPalletEvent<Rv, 'Identity', 'PrimaryUsernameSet', { who: AccountId32; username: Bytes }>;
1422
-
1423
- /**
1424
- * A dangling username (as in, a username corresponding to an account that has removed its
1425
- * identity) has been removed.
1426
- **/
1427
- DanglingUsernameRemoved: GenericPalletEvent<
1428
- Rv,
1429
- 'Identity',
1430
- 'DanglingUsernameRemoved',
1431
- { who: AccountId32; username: Bytes }
1432
- >;
1433
-
1434
- /**
1435
- * Generic pallet event
1436
- **/
1437
- [prop: string]: GenericPalletEvent<Rv>;
1438
- };
1439
- /**
1440
- * Pallet `Society`'s events
1441
- **/
1442
- society: {
1443
- /**
1444
- * The society is founded by the given identity.
1445
- **/
1446
- Founded: GenericPalletEvent<Rv, 'Society', 'Founded', { founder: AccountId32 }>;
1447
-
1448
- /**
1449
- * A membership bid just happened. The given account is the candidate's ID and their offer
1450
- * is the second.
1451
- **/
1452
- Bid: GenericPalletEvent<Rv, 'Society', 'Bid', { candidateId: AccountId32; offer: bigint }>;
1453
-
1454
- /**
1455
- * A membership bid just happened by vouching. The given account is the candidate's ID and
1456
- * their offer is the second. The vouching party is the third.
1457
- **/
1458
- Vouch: GenericPalletEvent<
1459
- Rv,
1460
- 'Society',
1461
- 'Vouch',
1462
- { candidateId: AccountId32; offer: bigint; vouching: AccountId32 }
1463
- >;
1464
-
1465
- /**
1466
- * A candidate was dropped (due to an excess of bids in the system).
1467
- **/
1468
- AutoUnbid: GenericPalletEvent<Rv, 'Society', 'AutoUnbid', { candidate: AccountId32 }>;
1469
-
1470
- /**
1471
- * A candidate was dropped (by their request).
1472
- **/
1473
- Unbid: GenericPalletEvent<Rv, 'Society', 'Unbid', { candidate: AccountId32 }>;
1474
-
1475
- /**
1476
- * A candidate was dropped (by request of who vouched for them).
1477
- **/
1478
- Unvouch: GenericPalletEvent<Rv, 'Society', 'Unvouch', { candidate: AccountId32 }>;
1479
-
1480
- /**
1481
- * A group of candidates have been inducted. The batch's primary is the first value, the
1482
- * batch in full is the second.
1483
- **/
1484
- Inducted: GenericPalletEvent<Rv, 'Society', 'Inducted', { primary: AccountId32; candidates: Array<AccountId32> }>;
1485
-
1486
- /**
1487
- * A suspended member has been judged.
1488
- **/
1489
- SuspendedMemberJudgement: GenericPalletEvent<
1490
- Rv,
1491
- 'Society',
1492
- 'SuspendedMemberJudgement',
1493
- { who: AccountId32; judged: boolean }
1494
- >;
1495
-
1496
- /**
1497
- * A candidate has been suspended
1498
- **/
1499
- CandidateSuspended: GenericPalletEvent<Rv, 'Society', 'CandidateSuspended', { candidate: AccountId32 }>;
1500
-
1501
- /**
1502
- * A member has been suspended
1503
- **/
1504
- MemberSuspended: GenericPalletEvent<Rv, 'Society', 'MemberSuspended', { member: AccountId32 }>;
1505
-
1506
- /**
1507
- * A member has been challenged
1508
- **/
1509
- Challenged: GenericPalletEvent<Rv, 'Society', 'Challenged', { member: AccountId32 }>;
1510
-
1511
- /**
1512
- * A vote has been placed
1513
- **/
1514
- Vote: GenericPalletEvent<Rv, 'Society', 'Vote', { candidate: AccountId32; voter: AccountId32; vote: boolean }>;
1515
-
1516
- /**
1517
- * A vote has been placed for a defending member
1518
- **/
1519
- DefenderVote: GenericPalletEvent<Rv, 'Society', 'DefenderVote', { voter: AccountId32; vote: boolean }>;
1520
-
1521
- /**
1522
- * A new set of \[params\] has been set for the group.
1523
- **/
1524
- NewParams: GenericPalletEvent<Rv, 'Society', 'NewParams', { params: PalletSocietyGroupParams }>;
1525
-
1526
- /**
1527
- * Society is unfounded.
1528
- **/
1529
- Unfounded: GenericPalletEvent<Rv, 'Society', 'Unfounded', { founder: AccountId32 }>;
1530
-
1531
- /**
1532
- * Some funds were deposited into the society account.
1533
- **/
1534
- Deposit: GenericPalletEvent<Rv, 'Society', 'Deposit', { value: bigint }>;
1535
-
1536
- /**
1537
- * A \[member\] got elevated to \[rank\].
1538
- **/
1539
- Elevated: GenericPalletEvent<Rv, 'Society', 'Elevated', { member: AccountId32; rank: number }>;
1540
-
1541
- /**
1542
- * Generic pallet event
1543
- **/
1544
- [prop: string]: GenericPalletEvent<Rv>;
1545
- };
1546
- /**
1547
- * Pallet `Recovery`'s events
1548
- **/
1549
- recovery: {
1550
- /**
1551
- * A recovery process has been set up for an account.
1552
- **/
1553
- RecoveryCreated: GenericPalletEvent<Rv, 'Recovery', 'RecoveryCreated', { account: AccountId32 }>;
1554
-
1555
- /**
1556
- * A recovery process has been initiated for lost account by rescuer account.
1557
- **/
1558
- RecoveryInitiated: GenericPalletEvent<
1559
- Rv,
1560
- 'Recovery',
1561
- 'RecoveryInitiated',
1562
- { lostAccount: AccountId32; rescuerAccount: AccountId32 }
1563
- >;
1564
-
1565
- /**
1566
- * A recovery process for lost account by rescuer account has been vouched for by sender.
1567
- **/
1568
- RecoveryVouched: GenericPalletEvent<
1569
- Rv,
1570
- 'Recovery',
1571
- 'RecoveryVouched',
1572
- { lostAccount: AccountId32; rescuerAccount: AccountId32; sender: AccountId32 }
1573
- >;
1574
-
1575
- /**
1576
- * A recovery process for lost account by rescuer account has been closed.
1577
- **/
1578
- RecoveryClosed: GenericPalletEvent<
1579
- Rv,
1580
- 'Recovery',
1581
- 'RecoveryClosed',
1582
- { lostAccount: AccountId32; rescuerAccount: AccountId32 }
1583
- >;
1584
-
1585
- /**
1586
- * Lost account has been successfully recovered by rescuer account.
1587
- **/
1588
- AccountRecovered: GenericPalletEvent<
1589
- Rv,
1590
- 'Recovery',
1591
- 'AccountRecovered',
1592
- { lostAccount: AccountId32; rescuerAccount: AccountId32 }
1593
- >;
1594
-
1595
- /**
1596
- * A recovery process has been removed for an account.
1597
- **/
1598
- RecoveryRemoved: GenericPalletEvent<Rv, 'Recovery', 'RecoveryRemoved', { lostAccount: AccountId32 }>;
1599
-
1600
- /**
1601
- * Generic pallet event
1602
- **/
1603
- [prop: string]: GenericPalletEvent<Rv>;
1604
- };
1605
- /**
1606
- * Pallet `Vesting`'s events
1607
- **/
1608
- vesting: {
1609
- /**
1610
- * The amount vested has been updated. This could indicate a change in funds available.
1611
- * The balance given is the amount which is left unvested (and thus locked).
1612
- **/
1613
- VestingUpdated: GenericPalletEvent<Rv, 'Vesting', 'VestingUpdated', { account: AccountId32; unvested: bigint }>;
1614
-
1615
- /**
1616
- * An \[account\] has become fully vested.
1617
- **/
1618
- VestingCompleted: GenericPalletEvent<Rv, 'Vesting', 'VestingCompleted', { account: AccountId32 }>;
1619
-
1620
- /**
1621
- * Generic pallet event
1622
- **/
1623
- [prop: string]: GenericPalletEvent<Rv>;
1624
- };
1625
- /**
1626
- * Pallet `Scheduler`'s events
1627
- **/
1628
- scheduler: {
1629
- /**
1630
- * Scheduled some task.
1631
- **/
1632
- Scheduled: GenericPalletEvent<Rv, 'Scheduler', 'Scheduled', { when: number; index: number }>;
1633
-
1634
- /**
1635
- * Canceled some task.
1636
- **/
1637
- Canceled: GenericPalletEvent<Rv, 'Scheduler', 'Canceled', { when: number; index: number }>;
1638
-
1639
- /**
1640
- * Dispatched some task.
1641
- **/
1642
- Dispatched: GenericPalletEvent<
1643
- Rv,
1644
- 'Scheduler',
1645
- 'Dispatched',
1646
- { task: [number, number]; id?: FixedBytes<32> | undefined; result: Result<[], DispatchError> }
1647
- >;
1648
-
1649
- /**
1650
- * Set a retry configuration for some task.
1651
- **/
1652
- RetrySet: GenericPalletEvent<
1653
- Rv,
1654
- 'Scheduler',
1655
- 'RetrySet',
1656
- { task: [number, number]; id?: FixedBytes<32> | undefined; period: number; retries: number }
1657
- >;
1658
-
1659
- /**
1660
- * Cancel a retry configuration for some task.
1661
- **/
1662
- RetryCancelled: GenericPalletEvent<
1663
- Rv,
1664
- 'Scheduler',
1665
- 'RetryCancelled',
1666
- { task: [number, number]; id?: FixedBytes<32> | undefined }
1667
- >;
1668
-
1669
- /**
1670
- * The call for the provided hash was not found so the task has been aborted.
1671
- **/
1672
- CallUnavailable: GenericPalletEvent<
1673
- Rv,
1674
- 'Scheduler',
1675
- 'CallUnavailable',
1676
- { task: [number, number]; id?: FixedBytes<32> | undefined }
1677
- >;
1678
-
1679
- /**
1680
- * The given task was unable to be renewed since the agenda is full at that block.
1681
- **/
1682
- PeriodicFailed: GenericPalletEvent<
1683
- Rv,
1684
- 'Scheduler',
1685
- 'PeriodicFailed',
1686
- { task: [number, number]; id?: FixedBytes<32> | undefined }
1687
- >;
1688
-
1689
- /**
1690
- * The given task was unable to be retried since the agenda is full at that block or there
1691
- * was not enough weight to reschedule it.
1692
- **/
1693
- RetryFailed: GenericPalletEvent<
1694
- Rv,
1695
- 'Scheduler',
1696
- 'RetryFailed',
1697
- { task: [number, number]; id?: FixedBytes<32> | undefined }
1698
- >;
1699
-
1700
- /**
1701
- * The given task can never be executed since it is overweight.
1702
- **/
1703
- PermanentlyOverweight: GenericPalletEvent<
1704
- Rv,
1705
- 'Scheduler',
1706
- 'PermanentlyOverweight',
1707
- { task: [number, number]; id?: FixedBytes<32> | undefined }
1708
- >;
1709
-
1710
- /**
1711
- * Generic pallet event
1712
- **/
1713
- [prop: string]: GenericPalletEvent<Rv>;
1714
- };
1715
- /**
1716
- * Pallet `Proxy`'s events
1717
- **/
1718
- proxy: {
1719
- /**
1720
- * A proxy was executed correctly, with the given.
1721
- **/
1722
- ProxyExecuted: GenericPalletEvent<Rv, 'Proxy', 'ProxyExecuted', { result: Result<[], DispatchError> }>;
1723
-
1724
- /**
1725
- * A pure account has been created by new proxy with given
1726
- * disambiguation index and proxy type.
1727
- **/
1728
- PureCreated: GenericPalletEvent<
1729
- Rv,
1730
- 'Proxy',
1731
- 'PureCreated',
1732
- { pure: AccountId32; who: AccountId32; proxyType: RococoRuntimeProxyType; disambiguationIndex: number }
1733
- >;
1734
-
1735
- /**
1736
- * An announcement was placed to make a call in the future.
1737
- **/
1738
- Announced: GenericPalletEvent<Rv, 'Proxy', 'Announced', { real: AccountId32; proxy: AccountId32; callHash: H256 }>;
1739
-
1740
- /**
1741
- * A proxy was added.
1742
- **/
1743
- ProxyAdded: GenericPalletEvent<
1744
- Rv,
1745
- 'Proxy',
1746
- 'ProxyAdded',
1747
- { delegator: AccountId32; delegatee: AccountId32; proxyType: RococoRuntimeProxyType; delay: number }
1748
- >;
1749
-
1750
- /**
1751
- * A proxy was removed.
1752
- **/
1753
- ProxyRemoved: GenericPalletEvent<
1754
- Rv,
1755
- 'Proxy',
1756
- 'ProxyRemoved',
1757
- { delegator: AccountId32; delegatee: AccountId32; proxyType: RococoRuntimeProxyType; delay: number }
1758
- >;
1759
-
1760
- /**
1761
- * Generic pallet event
1762
- **/
1763
- [prop: string]: GenericPalletEvent<Rv>;
1764
- };
1765
- /**
1766
- * Pallet `Multisig`'s events
1767
- **/
1768
- multisig: {
1769
- /**
1770
- * A new multisig operation has begun.
1771
- **/
1772
- NewMultisig: GenericPalletEvent<
1773
- Rv,
1774
- 'Multisig',
1775
- 'NewMultisig',
1776
- { approving: AccountId32; multisig: AccountId32; callHash: FixedBytes<32> }
1777
- >;
1778
-
1779
- /**
1780
- * A multisig operation has been approved by someone.
1781
- **/
1782
- MultisigApproval: GenericPalletEvent<
1783
- Rv,
1784
- 'Multisig',
1785
- 'MultisigApproval',
1786
- { approving: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1787
- >;
1788
-
1789
- /**
1790
- * A multisig operation has been executed.
1791
- **/
1792
- MultisigExecuted: GenericPalletEvent<
1793
- Rv,
1794
- 'Multisig',
1795
- 'MultisigExecuted',
1796
- {
1797
- approving: AccountId32;
1798
- timepoint: PalletMultisigTimepoint;
1799
- multisig: AccountId32;
1800
- callHash: FixedBytes<32>;
1801
- result: Result<[], DispatchError>;
1802
- }
1803
- >;
1804
-
1805
- /**
1806
- * A multisig operation has been cancelled.
1807
- **/
1808
- MultisigCancelled: GenericPalletEvent<
1809
- Rv,
1810
- 'Multisig',
1811
- 'MultisigCancelled',
1812
- { cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
1813
- >;
1814
-
1815
- /**
1816
- * Generic pallet event
1817
- **/
1818
- [prop: string]: GenericPalletEvent<Rv>;
1819
- };
1820
- /**
1821
- * Pallet `Preimage`'s events
1822
- **/
1823
- preimage: {
1824
- /**
1825
- * A preimage has been noted.
1826
- **/
1827
- Noted: GenericPalletEvent<Rv, 'Preimage', 'Noted', { hash: H256 }>;
1828
-
1829
- /**
1830
- * A preimage has been requested.
1831
- **/
1832
- Requested: GenericPalletEvent<Rv, 'Preimage', 'Requested', { hash: H256 }>;
1833
-
1834
- /**
1835
- * A preimage has ben cleared.
1836
- **/
1837
- Cleared: GenericPalletEvent<Rv, 'Preimage', 'Cleared', { hash: H256 }>;
1838
-
1839
- /**
1840
- * Generic pallet event
1841
- **/
1842
- [prop: string]: GenericPalletEvent<Rv>;
1843
- };
1844
- /**
1845
- * Pallet `AssetRate`'s events
1846
- **/
1847
- assetRate: {
1848
- AssetRateCreated: GenericPalletEvent<
1849
- Rv,
1850
- 'AssetRate',
1851
- 'AssetRateCreated',
1852
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; rate: FixedU128 }
1853
- >;
1854
- AssetRateRemoved: GenericPalletEvent<
1855
- Rv,
1856
- 'AssetRate',
1857
- 'AssetRateRemoved',
1858
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset }
1859
- >;
1860
- AssetRateUpdated: GenericPalletEvent<
1861
- Rv,
1862
- 'AssetRate',
1863
- 'AssetRateUpdated',
1864
- { assetKind: PolkadotRuntimeCommonImplsVersionedLocatableAsset; old: FixedU128; new: FixedU128 }
1865
- >;
1866
-
1867
- /**
1868
- * Generic pallet event
1869
- **/
1870
- [prop: string]: GenericPalletEvent<Rv>;
1871
- };
1872
- /**
1873
- * Pallet `Bounties`'s events
1874
- **/
1875
- bounties: {
1876
- /**
1877
- * New bounty proposal.
1878
- **/
1879
- BountyProposed: GenericPalletEvent<Rv, 'Bounties', 'BountyProposed', { index: number }>;
1880
-
1881
- /**
1882
- * A bounty proposal was rejected; funds were slashed.
1883
- **/
1884
- BountyRejected: GenericPalletEvent<Rv, 'Bounties', 'BountyRejected', { index: number; bond: bigint }>;
1885
-
1886
- /**
1887
- * A bounty proposal is funded and became active.
1888
- **/
1889
- BountyBecameActive: GenericPalletEvent<Rv, 'Bounties', 'BountyBecameActive', { index: number }>;
1890
-
1891
- /**
1892
- * A bounty is awarded to a beneficiary.
1893
- **/
1894
- BountyAwarded: GenericPalletEvent<Rv, 'Bounties', 'BountyAwarded', { index: number; beneficiary: AccountId32 }>;
1895
-
1896
- /**
1897
- * A bounty is claimed by beneficiary.
1898
- **/
1899
- BountyClaimed: GenericPalletEvent<
1900
- Rv,
1901
- 'Bounties',
1902
- 'BountyClaimed',
1903
- { index: number; payout: bigint; beneficiary: AccountId32 }
1904
- >;
1905
-
1906
- /**
1907
- * A bounty is cancelled.
1908
- **/
1909
- BountyCanceled: GenericPalletEvent<Rv, 'Bounties', 'BountyCanceled', { index: number }>;
1910
-
1911
- /**
1912
- * A bounty expiry is extended.
1913
- **/
1914
- BountyExtended: GenericPalletEvent<Rv, 'Bounties', 'BountyExtended', { index: number }>;
1915
-
1916
- /**
1917
- * A bounty is approved.
1918
- **/
1919
- BountyApproved: GenericPalletEvent<Rv, 'Bounties', 'BountyApproved', { index: number }>;
1920
-
1921
- /**
1922
- * A bounty curator is proposed.
1923
- **/
1924
- CuratorProposed: GenericPalletEvent<Rv, 'Bounties', 'CuratorProposed', { bountyId: number; curator: AccountId32 }>;
1925
-
1926
- /**
1927
- * A bounty curator is unassigned.
1928
- **/
1929
- CuratorUnassigned: GenericPalletEvent<Rv, 'Bounties', 'CuratorUnassigned', { bountyId: number }>;
1930
-
1931
- /**
1932
- * A bounty curator is accepted.
1933
- **/
1934
- CuratorAccepted: GenericPalletEvent<Rv, 'Bounties', 'CuratorAccepted', { bountyId: number; curator: AccountId32 }>;
1935
-
1936
- /**
1937
- * Generic pallet event
1938
- **/
1939
- [prop: string]: GenericPalletEvent<Rv>;
1940
- };
1941
- /**
1942
- * Pallet `ChildBounties`'s events
1943
- **/
1944
- childBounties: {
1945
- /**
1946
- * A child-bounty is added.
1947
- **/
1948
- Added: GenericPalletEvent<Rv, 'ChildBounties', 'Added', { index: number; childIndex: number }>;
1949
-
1950
- /**
1951
- * A child-bounty is awarded to a beneficiary.
1952
- **/
1953
- Awarded: GenericPalletEvent<
1954
- Rv,
1955
- 'ChildBounties',
1956
- 'Awarded',
1957
- { index: number; childIndex: number; beneficiary: AccountId32 }
1958
- >;
1959
-
1960
- /**
1961
- * A child-bounty is claimed by beneficiary.
1962
- **/
1963
- Claimed: GenericPalletEvent<
1964
- Rv,
1965
- 'ChildBounties',
1966
- 'Claimed',
1967
- { index: number; childIndex: number; payout: bigint; beneficiary: AccountId32 }
1968
- >;
1969
-
1970
- /**
1971
- * A child-bounty is cancelled.
1972
- **/
1973
- Canceled: GenericPalletEvent<Rv, 'ChildBounties', 'Canceled', { index: number; childIndex: number }>;
1974
-
1975
- /**
1976
- * Generic pallet event
1977
- **/
1978
- [prop: string]: GenericPalletEvent<Rv>;
1979
- };
1980
- /**
1981
- * Pallet `Nis`'s events
1982
- **/
1983
- nis: {
1984
- /**
1985
- * A bid was successfully placed.
1986
- **/
1987
- BidPlaced: GenericPalletEvent<Rv, 'Nis', 'BidPlaced', { who: AccountId32; amount: bigint; duration: number }>;
1988
-
1989
- /**
1990
- * A bid was successfully removed (before being accepted).
1991
- **/
1992
- BidRetracted: GenericPalletEvent<Rv, 'Nis', 'BidRetracted', { who: AccountId32; amount: bigint; duration: number }>;
1993
-
1994
- /**
1995
- * A bid was dropped from a queue because of another, more substantial, bid was present.
1996
- **/
1997
- BidDropped: GenericPalletEvent<Rv, 'Nis', 'BidDropped', { who: AccountId32; amount: bigint; duration: number }>;
1998
-
1999
- /**
2000
- * A bid was accepted. The balance may not be released until expiry.
2001
- **/
2002
- Issued: GenericPalletEvent<
2003
- Rv,
2004
- 'Nis',
2005
- 'Issued',
2006
- {
2007
- /**
2008
- * The identity of the receipt.
2009
- **/
2010
- index: number;
2011
-
2012
- /**
2013
- * The block number at which the receipt may be thawed.
2014
- **/
2015
- expiry: number;
2016
-
2017
- /**
2018
- * The owner of the receipt.
2019
- **/
2020
- who: AccountId32;
2021
-
2022
- /**
2023
- * The proportion of the effective total issuance which the receipt represents.
2024
- **/
2025
- proportion: Perquintill;
2026
-
2027
- /**
2028
- * The amount of funds which were debited from the owner.
2029
- **/
2030
- amount: bigint;
2031
- }
2032
- >;
2033
-
2034
- /**
2035
- * An receipt has been (at least partially) thawed.
2036
- **/
2037
- Thawed: GenericPalletEvent<
2038
- Rv,
2039
- 'Nis',
2040
- 'Thawed',
2041
- {
2042
- /**
2043
- * The identity of the receipt.
2044
- **/
2045
- index: number;
2046
-
2047
- /**
2048
- * The owner.
2049
- **/
2050
- who: AccountId32;
2051
-
2052
- /**
2053
- * The proportion of the effective total issuance by which the owner was debited.
2054
- **/
2055
- proportion: Perquintill;
2056
-
2057
- /**
2058
- * The amount by which the owner was credited.
2059
- **/
2060
- amount: bigint;
2061
-
2062
- /**
2063
- * If `true` then the receipt is done.
2064
- **/
2065
- dropped: boolean;
2066
- }
2067
- >;
2068
-
2069
- /**
2070
- * An automatic funding of the deficit was made.
2071
- **/
2072
- Funded: GenericPalletEvent<Rv, 'Nis', 'Funded', { deficit: bigint }>;
2073
-
2074
- /**
2075
- * A receipt was transferred.
2076
- **/
2077
- Transferred: GenericPalletEvent<Rv, 'Nis', 'Transferred', { from: AccountId32; to: AccountId32; index: number }>;
2078
-
2079
- /**
2080
- * Generic pallet event
2081
- **/
2082
- [prop: string]: GenericPalletEvent<Rv>;
2083
- };
2084
- /**
2085
- * Pallet `NisCounterpartBalances`'s events
2086
- **/
2087
- nisCounterpartBalances: {
2088
- /**
2089
- * An account was created with some free balance.
2090
- **/
2091
- Endowed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Endowed', { account: AccountId32; freeBalance: bigint }>;
2092
-
2093
- /**
2094
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
2095
- * resulting in an outright loss.
2096
- **/
2097
- DustLost: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'DustLost', { account: AccountId32; amount: bigint }>;
2098
-
2099
- /**
2100
- * Transfer succeeded.
2101
- **/
2102
- Transfer: GenericPalletEvent<
2103
- Rv,
2104
- 'NisCounterpartBalances',
2105
- 'Transfer',
2106
- { from: AccountId32; to: AccountId32; amount: bigint }
2107
- >;
2108
-
2109
- /**
2110
- * A balance was set by root.
2111
- **/
2112
- BalanceSet: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'BalanceSet', { who: AccountId32; free: bigint }>;
2113
-
2114
- /**
2115
- * Some balance was reserved (moved from free to reserved).
2116
- **/
2117
- Reserved: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Reserved', { who: AccountId32; amount: bigint }>;
2118
-
2119
- /**
2120
- * Some balance was unreserved (moved from reserved to free).
2121
- **/
2122
- Unreserved: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Unreserved', { who: AccountId32; amount: bigint }>;
2123
-
2124
- /**
2125
- * Some balance was moved from the reserve of the first account to the second account.
2126
- * Final argument indicates the destination balance type.
2127
- **/
2128
- ReserveRepatriated: GenericPalletEvent<
2129
- Rv,
2130
- 'NisCounterpartBalances',
2131
- 'ReserveRepatriated',
2132
- { from: AccountId32; to: AccountId32; amount: bigint; destinationStatus: FrameSupportTokensMiscBalanceStatus }
2133
- >;
2134
-
2135
- /**
2136
- * Some amount was deposited (e.g. for transaction fees).
2137
- **/
2138
- Deposit: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Deposit', { who: AccountId32; amount: bigint }>;
2139
-
2140
- /**
2141
- * Some amount was withdrawn from the account (e.g. for transaction fees).
2142
- **/
2143
- Withdraw: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Withdraw', { who: AccountId32; amount: bigint }>;
2144
-
2145
- /**
2146
- * Some amount was removed from the account (e.g. for misbehavior).
2147
- **/
2148
- Slashed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Slashed', { who: AccountId32; amount: bigint }>;
2149
-
2150
- /**
2151
- * Some amount was minted into an account.
2152
- **/
2153
- Minted: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Minted', { who: AccountId32; amount: bigint }>;
2154
-
2155
- /**
2156
- * Some amount was burned from an account.
2157
- **/
2158
- Burned: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Burned', { who: AccountId32; amount: bigint }>;
2159
-
2160
- /**
2161
- * Some amount was suspended from an account (it can be restored later).
2162
- **/
2163
- Suspended: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Suspended', { who: AccountId32; amount: bigint }>;
2164
-
2165
- /**
2166
- * Some amount was restored into an account.
2167
- **/
2168
- Restored: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Restored', { who: AccountId32; amount: bigint }>;
2169
-
2170
- /**
2171
- * An account was upgraded.
2172
- **/
2173
- Upgraded: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Upgraded', { who: AccountId32 }>;
2174
-
2175
- /**
2176
- * Total issuance was increased by `amount`, creating a credit to be balanced.
2177
- **/
2178
- Issued: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Issued', { amount: bigint }>;
2179
-
2180
- /**
2181
- * Total issuance was decreased by `amount`, creating a debt to be balanced.
2182
- **/
2183
- Rescinded: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Rescinded', { amount: bigint }>;
2184
-
2185
- /**
2186
- * Some balance was locked.
2187
- **/
2188
- Locked: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Locked', { who: AccountId32; amount: bigint }>;
2189
-
2190
- /**
2191
- * Some balance was unlocked.
2192
- **/
2193
- Unlocked: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Unlocked', { who: AccountId32; amount: bigint }>;
2194
-
2195
- /**
2196
- * Some balance was frozen.
2197
- **/
2198
- Frozen: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Frozen', { who: AccountId32; amount: bigint }>;
2199
-
2200
- /**
2201
- * Some balance was thawed.
2202
- **/
2203
- Thawed: GenericPalletEvent<Rv, 'NisCounterpartBalances', 'Thawed', { who: AccountId32; amount: bigint }>;
2204
-
2205
- /**
2206
- * The `TotalIssuance` was forcefully changed.
2207
- **/
2208
- TotalIssuanceForced: GenericPalletEvent<
2209
- Rv,
2210
- 'NisCounterpartBalances',
2211
- 'TotalIssuanceForced',
2212
- { old: bigint; new: bigint }
2213
- >;
2214
-
2215
- /**
2216
- * Generic pallet event
2217
- **/
2218
- [prop: string]: GenericPalletEvent<Rv>;
2219
- };
2220
- /**
2221
- * Pallet `ParaInclusion`'s events
2222
- **/
2223
- paraInclusion: {
2224
- /**
2225
- * A candidate was backed. `[candidate, head_data]`
2226
- **/
2227
- CandidateBacked: GenericPalletEvent<
2228
- Rv,
2229
- 'ParaInclusion',
2230
- 'CandidateBacked',
2231
- [
2232
- PolkadotPrimitivesV8CandidateReceipt,
2233
- PolkadotParachainPrimitivesPrimitivesHeadData,
2234
- PolkadotPrimitivesV8CoreIndex,
2235
- PolkadotPrimitivesV8GroupIndex,
2236
- ]
2237
- >;
2238
-
2239
- /**
2240
- * A candidate was included. `[candidate, head_data]`
2241
- **/
2242
- CandidateIncluded: GenericPalletEvent<
2243
- Rv,
2244
- 'ParaInclusion',
2245
- 'CandidateIncluded',
2246
- [
2247
- PolkadotPrimitivesV8CandidateReceipt,
2248
- PolkadotParachainPrimitivesPrimitivesHeadData,
2249
- PolkadotPrimitivesV8CoreIndex,
2250
- PolkadotPrimitivesV8GroupIndex,
2251
- ]
2252
- >;
2253
-
2254
- /**
2255
- * A candidate timed out. `[candidate, head_data]`
2256
- **/
2257
- CandidateTimedOut: GenericPalletEvent<
2258
- Rv,
2259
- 'ParaInclusion',
2260
- 'CandidateTimedOut',
2261
- [
2262
- PolkadotPrimitivesV8CandidateReceipt,
2263
- PolkadotParachainPrimitivesPrimitivesHeadData,
2264
- PolkadotPrimitivesV8CoreIndex,
2265
- ]
2266
- >;
2267
-
2268
- /**
2269
- * Some upward messages have been received and will be processed.
2270
- **/
2271
- UpwardMessagesReceived: GenericPalletEvent<
2272
- Rv,
2273
- 'ParaInclusion',
2274
- 'UpwardMessagesReceived',
2275
- { from: PolkadotParachainPrimitivesPrimitivesId; count: number }
2276
- >;
2277
-
2278
- /**
2279
- * Generic pallet event
2280
- **/
2281
- [prop: string]: GenericPalletEvent<Rv>;
2282
- };
2283
- /**
2284
- * Pallet `Paras`'s events
2285
- **/
2286
- paras: {
2287
- /**
2288
- * Current code has been updated for a Para. `para_id`
2289
- **/
2290
- CurrentCodeUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentCodeUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2291
-
2292
- /**
2293
- * Current head has been updated for a Para. `para_id`
2294
- **/
2295
- CurrentHeadUpdated: GenericPalletEvent<Rv, 'Paras', 'CurrentHeadUpdated', PolkadotParachainPrimitivesPrimitivesId>;
2296
-
2297
- /**
2298
- * A code upgrade has been scheduled for a Para. `para_id`
2299
- **/
2300
- CodeUpgradeScheduled: GenericPalletEvent<
2301
- Rv,
2302
- 'Paras',
2303
- 'CodeUpgradeScheduled',
2304
- PolkadotParachainPrimitivesPrimitivesId
2305
- >;
2306
-
2307
- /**
2308
- * A new head has been noted for a Para. `para_id`
2309
- **/
2310
- NewHeadNoted: GenericPalletEvent<Rv, 'Paras', 'NewHeadNoted', PolkadotParachainPrimitivesPrimitivesId>;
2311
-
2312
- /**
2313
- * A para has been queued to execute pending actions. `para_id`
2314
- **/
2315
- ActionQueued: GenericPalletEvent<Rv, 'Paras', 'ActionQueued', [PolkadotParachainPrimitivesPrimitivesId, number]>;
2316
-
2317
- /**
2318
- * The given para either initiated or subscribed to a PVF check for the given validation
2319
- * code. `code_hash` `para_id`
2320
- **/
2321
- PvfCheckStarted: GenericPalletEvent<
2322
- Rv,
2323
- 'Paras',
2324
- 'PvfCheckStarted',
2325
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
2326
- >;
2327
-
2328
- /**
2329
- * The given validation code was accepted by the PVF pre-checking vote.
2330
- * `code_hash` `para_id`
2331
- **/
2332
- PvfCheckAccepted: GenericPalletEvent<
2333
- Rv,
2334
- 'Paras',
2335
- 'PvfCheckAccepted',
2336
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
2337
- >;
2338
-
2339
- /**
2340
- * The given validation code was rejected by the PVF pre-checking vote.
2341
- * `code_hash` `para_id`
2342
- **/
2343
- PvfCheckRejected: GenericPalletEvent<
2344
- Rv,
2345
- 'Paras',
2346
- 'PvfCheckRejected',
2347
- [PolkadotParachainPrimitivesPrimitivesValidationCodeHash, PolkadotParachainPrimitivesPrimitivesId]
2348
- >;
2349
-
2350
- /**
2351
- * Generic pallet event
2352
- **/
2353
- [prop: string]: GenericPalletEvent<Rv>;
2354
- };
2355
- /**
2356
- * Pallet `Hrmp`'s events
2357
- **/
2358
- hrmp: {
2359
- /**
2360
- * Open HRMP channel requested.
2361
- **/
2362
- OpenChannelRequested: GenericPalletEvent<
2363
- Rv,
2364
- 'Hrmp',
2365
- 'OpenChannelRequested',
2366
- {
2367
- sender: PolkadotParachainPrimitivesPrimitivesId;
2368
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2369
- proposedMaxCapacity: number;
2370
- proposedMaxMessageSize: number;
2371
- }
2372
- >;
2373
-
2374
- /**
2375
- * An HRMP channel request sent by the receiver was canceled by either party.
2376
- **/
2377
- OpenChannelCanceled: GenericPalletEvent<
2378
- Rv,
2379
- 'Hrmp',
2380
- 'OpenChannelCanceled',
2381
- {
2382
- byParachain: PolkadotParachainPrimitivesPrimitivesId;
2383
- channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
2384
- }
2385
- >;
2386
-
2387
- /**
2388
- * Open HRMP channel accepted.
2389
- **/
2390
- OpenChannelAccepted: GenericPalletEvent<
2391
- Rv,
2392
- 'Hrmp',
2393
- 'OpenChannelAccepted',
2394
- { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
2395
- >;
2396
-
2397
- /**
2398
- * HRMP channel closed.
2399
- **/
2400
- ChannelClosed: GenericPalletEvent<
2401
- Rv,
2402
- 'Hrmp',
2403
- 'ChannelClosed',
2404
- {
2405
- byParachain: PolkadotParachainPrimitivesPrimitivesId;
2406
- channelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId;
2407
- }
2408
- >;
2409
-
2410
- /**
2411
- * An HRMP channel was opened via Root origin.
2412
- **/
2413
- HrmpChannelForceOpened: GenericPalletEvent<
2414
- Rv,
2415
- 'Hrmp',
2416
- 'HrmpChannelForceOpened',
2417
- {
2418
- sender: PolkadotParachainPrimitivesPrimitivesId;
2419
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2420
- proposedMaxCapacity: number;
2421
- proposedMaxMessageSize: number;
2422
- }
2423
- >;
2424
-
2425
- /**
2426
- * An HRMP channel was opened with a system chain.
2427
- **/
2428
- HrmpSystemChannelOpened: GenericPalletEvent<
2429
- Rv,
2430
- 'Hrmp',
2431
- 'HrmpSystemChannelOpened',
2432
- {
2433
- sender: PolkadotParachainPrimitivesPrimitivesId;
2434
- recipient: PolkadotParachainPrimitivesPrimitivesId;
2435
- proposedMaxCapacity: number;
2436
- proposedMaxMessageSize: number;
2437
- }
2438
- >;
2439
-
2440
- /**
2441
- * An HRMP channel's deposits were updated.
2442
- **/
2443
- OpenChannelDepositsUpdated: GenericPalletEvent<
2444
- Rv,
2445
- 'Hrmp',
2446
- 'OpenChannelDepositsUpdated',
2447
- { sender: PolkadotParachainPrimitivesPrimitivesId; recipient: PolkadotParachainPrimitivesPrimitivesId }
2448
- >;
2449
-
2450
- /**
2451
- * Generic pallet event
2452
- **/
2453
- [prop: string]: GenericPalletEvent<Rv>;
2454
- };
2455
- /**
2456
- * Pallet `ParasDisputes`'s events
2457
- **/
2458
- parasDisputes: {
2459
- /**
2460
- * A dispute has been initiated. \[candidate hash, dispute location\]
2461
- **/
2462
- DisputeInitiated: GenericPalletEvent<
2463
- Rv,
2464
- 'ParasDisputes',
2465
- 'DisputeInitiated',
2466
- [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeLocation]
2467
- >;
2468
-
2469
- /**
2470
- * A dispute has concluded for or against a candidate.
2471
- * `\[para id, candidate hash, dispute result\]`
2472
- **/
2473
- DisputeConcluded: GenericPalletEvent<
2474
- Rv,
2475
- 'ParasDisputes',
2476
- 'DisputeConcluded',
2477
- [PolkadotCorePrimitivesCandidateHash, PolkadotRuntimeParachainsDisputesDisputeResult]
2478
- >;
2479
-
2480
- /**
2481
- * A dispute has concluded with supermajority against a candidate.
2482
- * Block authors should no longer build on top of this head and should
2483
- * instead revert the block at the given height. This should be the
2484
- * number of the child of the last known valid block in the chain.
2485
- **/
2486
- Revert: GenericPalletEvent<Rv, 'ParasDisputes', 'Revert', number>;
2487
-
2488
- /**
2489
- * Generic pallet event
2490
- **/
2491
- [prop: string]: GenericPalletEvent<Rv>;
2492
- };
2493
- /**
2494
- * Pallet `MessageQueue`'s events
2495
- **/
2496
- messageQueue: {
2497
- /**
2498
- * Message discarded due to an error in the `MessageProcessor` (usually a format error).
2499
- **/
2500
- ProcessingFailed: GenericPalletEvent<
2501
- Rv,
2502
- 'MessageQueue',
2503
- 'ProcessingFailed',
2504
- {
2505
- /**
2506
- * The `blake2_256` hash of the message.
2507
- **/
2508
- id: H256;
2509
-
2510
- /**
2511
- * The queue of the message.
2512
- **/
2513
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2514
-
2515
- /**
2516
- * The error that occurred.
2517
- *
2518
- * This error is pretty opaque. More fine-grained errors need to be emitted as events
2519
- * by the `MessageProcessor`.
2520
- **/
2521
- error: FrameSupportMessagesProcessMessageError;
2522
- }
2523
- >;
2524
-
2525
- /**
2526
- * Message is processed.
2527
- **/
2528
- Processed: GenericPalletEvent<
2529
- Rv,
2530
- 'MessageQueue',
2531
- 'Processed',
2532
- {
2533
- /**
2534
- * The `blake2_256` hash of the message.
2535
- **/
2536
- id: H256;
2537
-
2538
- /**
2539
- * The queue of the message.
2540
- **/
2541
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2542
-
2543
- /**
2544
- * How much weight was used to process the message.
2545
- **/
2546
- weightUsed: SpWeightsWeightV2Weight;
2547
-
2548
- /**
2549
- * Whether the message was processed.
2550
- *
2551
- * Note that this does not mean that the underlying `MessageProcessor` was internally
2552
- * successful. It *solely* means that the MQ pallet will treat this as a success
2553
- * condition and discard the message. Any internal error needs to be emitted as events
2554
- * by the `MessageProcessor`.
2555
- **/
2556
- success: boolean;
2557
- }
2558
- >;
2559
-
2560
- /**
2561
- * Message placed in overweight queue.
2562
- **/
2563
- OverweightEnqueued: GenericPalletEvent<
2564
- Rv,
2565
- 'MessageQueue',
2566
- 'OverweightEnqueued',
2567
- {
2568
- /**
2569
- * The `blake2_256` hash of the message.
2570
- **/
2571
- id: FixedBytes<32>;
2572
-
2573
- /**
2574
- * The queue of the message.
2575
- **/
2576
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2577
-
2578
- /**
2579
- * The page of the message.
2580
- **/
2581
- pageIndex: number;
2582
-
2583
- /**
2584
- * The index of the message within the page.
2585
- **/
2586
- messageIndex: number;
2587
- }
2588
- >;
2589
-
2590
- /**
2591
- * This page was reaped.
2592
- **/
2593
- PageReaped: GenericPalletEvent<
2594
- Rv,
2595
- 'MessageQueue',
2596
- 'PageReaped',
2597
- {
2598
- /**
2599
- * The queue of the page.
2600
- **/
2601
- origin: PolkadotRuntimeParachainsInclusionAggregateMessageOrigin;
2602
-
2603
- /**
2604
- * The index of the page.
2605
- **/
2606
- index: number;
2607
- }
2608
- >;
2609
-
2610
- /**
2611
- * Generic pallet event
2612
- **/
2613
- [prop: string]: GenericPalletEvent<Rv>;
2614
- };
2615
- /**
2616
- * Pallet `OnDemandAssignmentProvider`'s events
2617
- **/
2618
- onDemandAssignmentProvider: {
2619
- /**
2620
- * An order was placed at some spot price amount by orderer ordered_by
2621
- **/
2622
- OnDemandOrderPlaced: GenericPalletEvent<
2623
- Rv,
2624
- 'OnDemandAssignmentProvider',
2625
- 'OnDemandOrderPlaced',
2626
- { paraId: PolkadotParachainPrimitivesPrimitivesId; spotPrice: bigint; orderedBy: AccountId32 }
2627
- >;
2628
-
2629
- /**
2630
- * The value of the spot price has likely changed
2631
- **/
2632
- SpotPriceSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotPriceSet', { spotPrice: bigint }>;
2633
-
2634
- /**
2635
- * Generic pallet event
2636
- **/
2637
- [prop: string]: GenericPalletEvent<Rv>;
2638
- };
2639
- /**
2640
- * Pallet `Registrar`'s events
2641
- **/
2642
- registrar: {
2643
- Registered: GenericPalletEvent<
2644
- Rv,
2645
- 'Registrar',
2646
- 'Registered',
2647
- { paraId: PolkadotParachainPrimitivesPrimitivesId; manager: AccountId32 }
2648
- >;
2649
- Deregistered: GenericPalletEvent<
2650
- Rv,
2651
- 'Registrar',
2652
- 'Deregistered',
2653
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2654
- >;
2655
- Reserved: GenericPalletEvent<
2656
- Rv,
2657
- 'Registrar',
2658
- 'Reserved',
2659
- { paraId: PolkadotParachainPrimitivesPrimitivesId; who: AccountId32 }
2660
- >;
2661
- Swapped: GenericPalletEvent<
2662
- Rv,
2663
- 'Registrar',
2664
- 'Swapped',
2665
- { paraId: PolkadotParachainPrimitivesPrimitivesId; otherId: PolkadotParachainPrimitivesPrimitivesId }
2666
- >;
2667
-
2668
- /**
2669
- * Generic pallet event
2670
- **/
2671
- [prop: string]: GenericPalletEvent<Rv>;
2672
- };
2673
- /**
2674
- * Pallet `Slots`'s events
2675
- **/
2676
- slots: {
2677
- /**
2678
- * A new `[lease_period]` is beginning.
2679
- **/
2680
- NewLeasePeriod: GenericPalletEvent<Rv, 'Slots', 'NewLeasePeriod', { leasePeriod: number }>;
2681
-
2682
- /**
2683
- * A para has won the right to a continuous set of lease periods as a parachain.
2684
- * First balance is any extra amount reserved on top of the para's existing deposit.
2685
- * Second balance is the total amount reserved.
2686
- **/
2687
- Leased: GenericPalletEvent<
2688
- Rv,
2689
- 'Slots',
2690
- 'Leased',
2691
- {
2692
- paraId: PolkadotParachainPrimitivesPrimitivesId;
2693
- leaser: AccountId32;
2694
- periodBegin: number;
2695
- periodCount: number;
2696
- extraReserved: bigint;
2697
- totalAmount: bigint;
2698
- }
2699
- >;
2700
-
2701
- /**
2702
- * Generic pallet event
2703
- **/
2704
- [prop: string]: GenericPalletEvent<Rv>;
2705
- };
2706
- /**
2707
- * Pallet `Auctions`'s events
2708
- **/
2709
- auctions: {
2710
- /**
2711
- * An auction started. Provides its index and the block number where it will begin to
2712
- * close and the first lease period of the quadruplet that is auctioned.
2713
- **/
2714
- AuctionStarted: GenericPalletEvent<
2715
- Rv,
2716
- 'Auctions',
2717
- 'AuctionStarted',
2718
- { auctionIndex: number; leasePeriod: number; ending: number }
2719
- >;
2720
-
2721
- /**
2722
- * An auction ended. All funds become unreserved.
2723
- **/
2724
- AuctionClosed: GenericPalletEvent<Rv, 'Auctions', 'AuctionClosed', { auctionIndex: number }>;
2725
-
2726
- /**
2727
- * Funds were reserved for a winning bid. First balance is the extra amount reserved.
2728
- * Second is the total.
2729
- **/
2730
- Reserved: GenericPalletEvent<
2731
- Rv,
2732
- 'Auctions',
2733
- 'Reserved',
2734
- { bidder: AccountId32; extraReserved: bigint; totalAmount: bigint }
2735
- >;
2736
-
2737
- /**
2738
- * Funds were unreserved since bidder is no longer active. `[bidder, amount]`
2739
- **/
2740
- Unreserved: GenericPalletEvent<Rv, 'Auctions', 'Unreserved', { bidder: AccountId32; amount: bigint }>;
2741
-
2742
- /**
2743
- * Someone attempted to lease the same slot twice for a parachain. The amount is held in
2744
- * reserve but no parachain slot has been leased.
2745
- **/
2746
- ReserveConfiscated: GenericPalletEvent<
2747
- Rv,
2748
- 'Auctions',
2749
- 'ReserveConfiscated',
2750
- { paraId: PolkadotParachainPrimitivesPrimitivesId; leaser: AccountId32; amount: bigint }
2751
- >;
2752
-
2753
- /**
2754
- * A new bid has been accepted as the current winner.
2755
- **/
2756
- BidAccepted: GenericPalletEvent<
2757
- Rv,
2758
- 'Auctions',
2759
- 'BidAccepted',
2760
- {
2761
- bidder: AccountId32;
2762
- paraId: PolkadotParachainPrimitivesPrimitivesId;
2763
- amount: bigint;
2764
- firstSlot: number;
2765
- lastSlot: number;
2766
- }
2767
- >;
2768
-
2769
- /**
2770
- * The winning offset was chosen for an auction. This will map into the `Winning` storage
2771
- * map.
2772
- **/
2773
- WinningOffset: GenericPalletEvent<Rv, 'Auctions', 'WinningOffset', { auctionIndex: number; blockNumber: number }>;
2774
-
2775
- /**
2776
- * Generic pallet event
2777
- **/
2778
- [prop: string]: GenericPalletEvent<Rv>;
2779
- };
2780
- /**
2781
- * Pallet `Crowdloan`'s events
2782
- **/
2783
- crowdloan: {
2784
- /**
2785
- * Create a new crowdloaning campaign.
2786
- **/
2787
- Created: GenericPalletEvent<Rv, 'Crowdloan', 'Created', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2788
-
2789
- /**
2790
- * Contributed to a crowd sale.
2791
- **/
2792
- Contributed: GenericPalletEvent<
2793
- Rv,
2794
- 'Crowdloan',
2795
- 'Contributed',
2796
- { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
2797
- >;
2798
-
2799
- /**
2800
- * Withdrew full balance of a contributor.
2801
- **/
2802
- Withdrew: GenericPalletEvent<
2803
- Rv,
2804
- 'Crowdloan',
2805
- 'Withdrew',
2806
- { who: AccountId32; fundIndex: PolkadotParachainPrimitivesPrimitivesId; amount: bigint }
2807
- >;
2808
-
2809
- /**
2810
- * The loans in a fund have been partially dissolved, i.e. there are some left
2811
- * over child keys that still need to be killed.
2812
- **/
2813
- PartiallyRefunded: GenericPalletEvent<
2814
- Rv,
2815
- 'Crowdloan',
2816
- 'PartiallyRefunded',
2817
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2818
- >;
2819
-
2820
- /**
2821
- * All loans in a fund have been refunded.
2822
- **/
2823
- AllRefunded: GenericPalletEvent<
2824
- Rv,
2825
- 'Crowdloan',
2826
- 'AllRefunded',
2827
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2828
- >;
2829
-
2830
- /**
2831
- * Fund is dissolved.
2832
- **/
2833
- Dissolved: GenericPalletEvent<Rv, 'Crowdloan', 'Dissolved', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2834
-
2835
- /**
2836
- * The result of trying to submit a new bid to the Slots pallet.
2837
- **/
2838
- HandleBidResult: GenericPalletEvent<
2839
- Rv,
2840
- 'Crowdloan',
2841
- 'HandleBidResult',
2842
- { paraId: PolkadotParachainPrimitivesPrimitivesId; result: Result<[], DispatchError> }
2843
- >;
2844
-
2845
- /**
2846
- * The configuration to a crowdloan has been edited.
2847
- **/
2848
- Edited: GenericPalletEvent<Rv, 'Crowdloan', 'Edited', { paraId: PolkadotParachainPrimitivesPrimitivesId }>;
2849
-
2850
- /**
2851
- * A memo has been updated.
2852
- **/
2853
- MemoUpdated: GenericPalletEvent<
2854
- Rv,
2855
- 'Crowdloan',
2856
- 'MemoUpdated',
2857
- { who: AccountId32; paraId: PolkadotParachainPrimitivesPrimitivesId; memo: Bytes }
2858
- >;
2859
-
2860
- /**
2861
- * A parachain has been moved to `NewRaise`
2862
- **/
2863
- AddedToNewRaise: GenericPalletEvent<
2864
- Rv,
2865
- 'Crowdloan',
2866
- 'AddedToNewRaise',
2867
- { paraId: PolkadotParachainPrimitivesPrimitivesId }
2868
- >;
2869
-
2870
- /**
2871
- * Generic pallet event
2872
- **/
2873
- [prop: string]: GenericPalletEvent<Rv>;
2874
- };
2875
- /**
2876
- * Pallet `Coretime`'s events
2877
- **/
2878
- coretime: {
2879
- /**
2880
- * The broker chain has asked for revenue information for a specific block.
2881
- **/
2882
- RevenueInfoRequested: GenericPalletEvent<Rv, 'Coretime', 'RevenueInfoRequested', { when: number }>;
2883
-
2884
- /**
2885
- * A core has received a new assignment from the broker chain.
2886
- **/
2887
- CoreAssigned: GenericPalletEvent<Rv, 'Coretime', 'CoreAssigned', { core: PolkadotPrimitivesV8CoreIndex }>;
2888
-
2889
- /**
2890
- * Generic pallet event
2891
- **/
2892
- [prop: string]: GenericPalletEvent<Rv>;
2893
- };
2894
- /**
2895
- * Pallet `XcmPallet`'s events
2896
- **/
2897
- xcmPallet: {
2898
- /**
2899
- * Execution of an XCM message was attempted.
2900
- **/
2901
- Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV4TraitsOutcome }>;
2902
-
2903
- /**
2904
- * A XCM message was sent.
2905
- **/
2906
- Sent: GenericPalletEvent<
2907
- Rv,
2908
- 'XcmPallet',
2909
- 'Sent',
2910
- {
2911
- origin: StagingXcmV4Location;
2912
- destination: StagingXcmV4Location;
2913
- message: StagingXcmV4Xcm;
2914
- messageId: FixedBytes<32>;
2915
- }
2916
- >;
2917
-
2918
- /**
2919
- * Query response received which does not match a registered query. This may be because a
2920
- * matching query was never registered, it may be because it is a duplicate response, or
2921
- * because the query timed out.
2922
- **/
2923
- UnexpectedResponse: GenericPalletEvent<
2924
- Rv,
2925
- 'XcmPallet',
2926
- 'UnexpectedResponse',
2927
- { origin: StagingXcmV4Location; queryId: bigint }
2928
- >;
2929
-
2930
- /**
2931
- * Query response has been received and is ready for taking with `take_response`. There is
2932
- * no registered notification call.
2933
- **/
2934
- ResponseReady: GenericPalletEvent<
2935
- Rv,
2936
- 'XcmPallet',
2937
- 'ResponseReady',
2938
- { queryId: bigint; response: StagingXcmV4Response }
2939
- >;
2940
-
2941
- /**
2942
- * Query response has been received and query is removed. The registered notification has
2943
- * been dispatched and executed successfully.
2944
- **/
2945
- Notified: GenericPalletEvent<
2946
- Rv,
2947
- 'XcmPallet',
2948
- 'Notified',
2949
- { queryId: bigint; palletIndex: number; callIndex: number }
2950
- >;
2951
-
2952
- /**
2953
- * Query response has been received and query is removed. The registered notification
2954
- * could not be dispatched because the dispatch weight is greater than the maximum weight
2955
- * originally budgeted by this runtime for the query result.
2956
- **/
2957
- NotifyOverweight: GenericPalletEvent<
2958
- Rv,
2959
- 'XcmPallet',
2960
- 'NotifyOverweight',
2961
- {
2962
- queryId: bigint;
2963
- palletIndex: number;
2964
- callIndex: number;
2965
- actualWeight: SpWeightsWeightV2Weight;
2966
- maxBudgetedWeight: SpWeightsWeightV2Weight;
2967
- }
2968
- >;
2969
-
2970
- /**
2971
- * Query response has been received and query is removed. There was a general error with
2972
- * dispatching the notification call.
2973
- **/
2974
- NotifyDispatchError: GenericPalletEvent<
2975
- Rv,
2976
- 'XcmPallet',
2977
- 'NotifyDispatchError',
2978
- { queryId: bigint; palletIndex: number; callIndex: number }
2979
- >;
2980
-
2981
- /**
2982
- * Query response has been received and query is removed. The dispatch was unable to be
2983
- * decoded into a `Call`; this might be due to dispatch function having a signature which
2984
- * is not `(origin, QueryId, Response)`.
2985
- **/
2986
- NotifyDecodeFailed: GenericPalletEvent<
2987
- Rv,
2988
- 'XcmPallet',
2989
- 'NotifyDecodeFailed',
2990
- { queryId: bigint; palletIndex: number; callIndex: number }
2991
- >;
2992
-
2993
- /**
2994
- * Expected query response has been received but the origin location of the response does
2995
- * not match that expected. The query remains registered for a later, valid, response to
2996
- * be received and acted upon.
2997
- **/
2998
- InvalidResponder: GenericPalletEvent<
2999
- Rv,
3000
- 'XcmPallet',
3001
- 'InvalidResponder',
3002
- { origin: StagingXcmV4Location; queryId: bigint; expectedLocation?: StagingXcmV4Location | undefined }
3003
- >;
3004
-
3005
- /**
3006
- * Expected query response has been received but the expected origin location placed in
3007
- * storage by this runtime previously cannot be decoded. The query remains registered.
3008
- *
3009
- * This is unexpected (since a location placed in storage in a previously executing
3010
- * runtime should be readable prior to query timeout) and dangerous since the possibly
3011
- * valid response will be dropped. Manual governance intervention is probably going to be
3012
- * needed.
3013
- **/
3014
- InvalidResponderVersion: GenericPalletEvent<
3015
- Rv,
3016
- 'XcmPallet',
3017
- 'InvalidResponderVersion',
3018
- { origin: StagingXcmV4Location; queryId: bigint }
3019
- >;
3020
-
3021
- /**
3022
- * Received query response has been read and removed.
3023
- **/
3024
- ResponseTaken: GenericPalletEvent<Rv, 'XcmPallet', 'ResponseTaken', { queryId: bigint }>;
3025
-
3026
- /**
3027
- * Some assets have been placed in an asset trap.
3028
- **/
3029
- AssetsTrapped: GenericPalletEvent<
3030
- Rv,
3031
- 'XcmPallet',
3032
- 'AssetsTrapped',
3033
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3034
- >;
3035
-
3036
- /**
3037
- * An XCM version change notification message has been attempted to be sent.
3038
- *
3039
- * The cost of sending it (borne by the chain) is included.
3040
- **/
3041
- VersionChangeNotified: GenericPalletEvent<
3042
- Rv,
3043
- 'XcmPallet',
3044
- 'VersionChangeNotified',
3045
- { destination: StagingXcmV4Location; result: number; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3046
- >;
3047
-
3048
- /**
3049
- * The supported version of a location has been changed. This might be through an
3050
- * automatic notification or a manual intervention.
3051
- **/
3052
- SupportedVersionChanged: GenericPalletEvent<
3053
- Rv,
3054
- 'XcmPallet',
3055
- 'SupportedVersionChanged',
3056
- { location: StagingXcmV4Location; version: number }
3057
- >;
3058
-
3059
- /**
3060
- * A given location which had a version change subscription was dropped owing to an error
3061
- * sending the notification to it.
3062
- **/
3063
- NotifyTargetSendFail: GenericPalletEvent<
3064
- Rv,
3065
- 'XcmPallet',
3066
- 'NotifyTargetSendFail',
3067
- { location: StagingXcmV4Location; queryId: bigint; error: XcmV3TraitsError }
3068
- >;
3069
-
3070
- /**
3071
- * A given location which had a version change subscription was dropped owing to an error
3072
- * migrating the location to our new XCM format.
3073
- **/
3074
- NotifyTargetMigrationFail: GenericPalletEvent<
3075
- Rv,
3076
- 'XcmPallet',
3077
- 'NotifyTargetMigrationFail',
3078
- { location: XcmVersionedLocation; queryId: bigint }
3079
- >;
3080
-
3081
- /**
3082
- * Expected query response has been received but the expected querier location placed in
3083
- * storage by this runtime previously cannot be decoded. The query remains registered.
3084
- *
3085
- * This is unexpected (since a location placed in storage in a previously executing
3086
- * runtime should be readable prior to query timeout) and dangerous since the possibly
3087
- * valid response will be dropped. Manual governance intervention is probably going to be
3088
- * needed.
3089
- **/
3090
- InvalidQuerierVersion: GenericPalletEvent<
3091
- Rv,
3092
- 'XcmPallet',
3093
- 'InvalidQuerierVersion',
3094
- { origin: StagingXcmV4Location; queryId: bigint }
3095
- >;
3096
-
3097
- /**
3098
- * Expected query response has been received but the querier location of the response does
3099
- * not match the expected. The query remains registered for a later, valid, response to
3100
- * be received and acted upon.
3101
- **/
3102
- InvalidQuerier: GenericPalletEvent<
3103
- Rv,
3104
- 'XcmPallet',
3105
- 'InvalidQuerier',
3106
- {
3107
- origin: StagingXcmV4Location;
3108
- queryId: bigint;
3109
- expectedQuerier: StagingXcmV4Location;
3110
- maybeActualQuerier?: StagingXcmV4Location | undefined;
3111
- }
3112
- >;
3113
-
3114
- /**
3115
- * A remote has requested XCM version change notification from us and we have honored it.
3116
- * A version information message is sent to them and its cost is included.
3117
- **/
3118
- VersionNotifyStarted: GenericPalletEvent<
3119
- Rv,
3120
- 'XcmPallet',
3121
- 'VersionNotifyStarted',
3122
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3123
- >;
3124
-
3125
- /**
3126
- * We have requested that a remote chain send us XCM version change notifications.
3127
- **/
3128
- VersionNotifyRequested: GenericPalletEvent<
3129
- Rv,
3130
- 'XcmPallet',
3131
- 'VersionNotifyRequested',
3132
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3133
- >;
3134
-
3135
- /**
3136
- * We have requested that a remote chain stops sending us XCM version change
3137
- * notifications.
3138
- **/
3139
- VersionNotifyUnrequested: GenericPalletEvent<
3140
- Rv,
3141
- 'XcmPallet',
3142
- 'VersionNotifyUnrequested',
3143
- { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: FixedBytes<32> }
3144
- >;
3145
-
3146
- /**
3147
- * Fees were paid from a location for an operation (often for using `SendXcm`).
3148
- **/
3149
- FeesPaid: GenericPalletEvent<
3150
- Rv,
3151
- 'XcmPallet',
3152
- 'FeesPaid',
3153
- { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
3154
- >;
3155
-
3156
- /**
3157
- * Some assets have been claimed from an asset trap
3158
- **/
3159
- AssetsClaimed: GenericPalletEvent<
3160
- Rv,
3161
- 'XcmPallet',
3162
- 'AssetsClaimed',
3163
- { hash: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
3164
- >;
3165
-
3166
- /**
3167
- * A XCM version migration finished.
3168
- **/
3169
- VersionMigrationFinished: GenericPalletEvent<Rv, 'XcmPallet', 'VersionMigrationFinished', { version: number }>;
3170
-
3171
- /**
3172
- * Generic pallet event
3173
- **/
3174
- [prop: string]: GenericPalletEvent<Rv>;
3175
- };
3176
- /**
3177
- * Pallet `IdentityMigrator`'s events
3178
- **/
3179
- identityMigrator: {
3180
- /**
3181
- * The identity and all sub accounts were reaped for `who`.
3182
- **/
3183
- IdentityReaped: GenericPalletEvent<Rv, 'IdentityMigrator', 'IdentityReaped', { who: AccountId32 }>;
3184
-
3185
- /**
3186
- * The deposits held for `who` were updated. `identity` is the new deposit held for
3187
- * identity info, and `subs` is the new deposit held for the sub-accounts.
3188
- **/
3189
- DepositUpdated: GenericPalletEvent<
3190
- Rv,
3191
- 'IdentityMigrator',
3192
- 'DepositUpdated',
3193
- { who: AccountId32; identity: bigint; subs: bigint }
3194
- >;
3195
-
3196
- /**
3197
- * Generic pallet event
3198
- **/
3199
- [prop: string]: GenericPalletEvent<Rv>;
3200
- };
3201
- /**
3202
- * Pallet `AssignedSlots`'s events
3203
- **/
3204
- assignedSlots: {
3205
- /**
3206
- * A parachain was assigned a permanent parachain slot
3207
- **/
3208
- PermanentSlotAssigned: GenericPalletEvent<
3209
- Rv,
3210
- 'AssignedSlots',
3211
- 'PermanentSlotAssigned',
3212
- PolkadotParachainPrimitivesPrimitivesId
3213
- >;
3214
-
3215
- /**
3216
- * A parachain was assigned a temporary parachain slot
3217
- **/
3218
- TemporarySlotAssigned: GenericPalletEvent<
3219
- Rv,
3220
- 'AssignedSlots',
3221
- 'TemporarySlotAssigned',
3222
- PolkadotParachainPrimitivesPrimitivesId
3223
- >;
3224
-
3225
- /**
3226
- * The maximum number of permanent slots has been changed
3227
- **/
3228
- MaxPermanentSlotsChanged: GenericPalletEvent<Rv, 'AssignedSlots', 'MaxPermanentSlotsChanged', { slots: number }>;
3229
-
3230
- /**
3231
- * The maximum number of temporary slots has been changed
3232
- **/
3233
- MaxTemporarySlotsChanged: GenericPalletEvent<Rv, 'AssignedSlots', 'MaxTemporarySlotsChanged', { slots: number }>;
3234
-
3235
- /**
3236
- * Generic pallet event
3237
- **/
3238
- [prop: string]: GenericPalletEvent<Rv>;
3239
- };
3240
- /**
3241
- * Pallet `ValidatorManager`'s events
3242
- **/
3243
- validatorManager: {
3244
- /**
3245
- * New validators were added to the set.
3246
- **/
3247
- ValidatorsRegistered: GenericPalletEvent<Rv, 'ValidatorManager', 'ValidatorsRegistered', Array<AccountId32>>;
3248
-
3249
- /**
3250
- * Validators were removed from the set.
3251
- **/
3252
- ValidatorsDeregistered: GenericPalletEvent<Rv, 'ValidatorManager', 'ValidatorsDeregistered', Array<AccountId32>>;
3253
-
3254
- /**
3255
- * Generic pallet event
3256
- **/
3257
- [prop: string]: GenericPalletEvent<Rv>;
3258
- };
3259
- /**
3260
- * Pallet `StateTrieMigration`'s events
3261
- **/
3262
- stateTrieMigration: {
3263
- /**
3264
- * Given number of `(top, child)` keys were migrated respectively, with the given
3265
- * `compute`.
3266
- **/
3267
- Migrated: GenericPalletEvent<
3268
- Rv,
3269
- 'StateTrieMigration',
3270
- 'Migrated',
3271
- { top: number; child: number; compute: PalletStateTrieMigrationMigrationCompute }
3272
- >;
3273
-
3274
- /**
3275
- * Some account got slashed by the given amount.
3276
- **/
3277
- Slashed: GenericPalletEvent<Rv, 'StateTrieMigration', 'Slashed', { who: AccountId32; amount: bigint }>;
3278
-
3279
- /**
3280
- * The auto migration task finished.
3281
- **/
3282
- AutoMigrationFinished: GenericPalletEvent<Rv, 'StateTrieMigration', 'AutoMigrationFinished', null>;
3283
-
3284
- /**
3285
- * Migration got halted due to an error or miss-configuration.
3286
- **/
3287
- Halted: GenericPalletEvent<Rv, 'StateTrieMigration', 'Halted', { error: PalletStateTrieMigrationError }>;
3288
-
3289
- /**
3290
- * Generic pallet event
3291
- **/
3292
- [prop: string]: GenericPalletEvent<Rv>;
3293
- };
3294
- /**
3295
- * Pallet `RootTesting`'s events
3296
- **/
3297
- rootTesting: {
3298
- /**
3299
- * Event dispatched when the trigger_defensive extrinsic is called.
3300
- **/
3301
- DefensiveTestCall: GenericPalletEvent<Rv, 'RootTesting', 'DefensiveTestCall', undefined>;
3302
-
3303
- /**
3304
- * Generic pallet event
3305
- **/
3306
- [prop: string]: GenericPalletEvent<Rv>;
3307
- };
3308
- /**
3309
- * Pallet `Sudo`'s events
3310
- **/
3311
- sudo: {
3312
- /**
3313
- * A sudo call just took place.
3314
- **/
3315
- Sudid: GenericPalletEvent<
3316
- Rv,
3317
- 'Sudo',
3318
- 'Sudid',
3319
- {
3320
- /**
3321
- * The result of the call made by the sudo user.
3322
- **/
3323
- sudoResult: Result<[], DispatchError>;
3324
- }
3325
- >;
3326
-
3327
- /**
3328
- * The sudo key has been updated.
3329
- **/
3330
- KeyChanged: GenericPalletEvent<
3331
- Rv,
3332
- 'Sudo',
3333
- 'KeyChanged',
3334
- {
3335
- /**
3336
- * The old sudo key (if one was previously set).
3337
- **/
3338
- old?: AccountId32 | undefined;
3339
-
3340
- /**
3341
- * The new sudo key (if one was set).
3342
- **/
3343
- new: AccountId32;
3344
- }
3345
- >;
3346
-
3347
- /**
3348
- * The key was permanently removed.
3349
- **/
3350
- KeyRemoved: GenericPalletEvent<Rv, 'Sudo', 'KeyRemoved', null>;
3351
-
3352
- /**
3353
- * A [sudo_as](Pallet::sudo_as) call just took place.
3354
- **/
3355
- SudoAsDone: GenericPalletEvent<
3356
- Rv,
3357
- 'Sudo',
3358
- 'SudoAsDone',
3359
- {
3360
- /**
3361
- * The result of the call made by the sudo user.
3362
- **/
3363
- sudoResult: Result<[], DispatchError>;
3364
- }
3365
- >;
3366
-
3367
- /**
3368
- * Generic pallet event
3369
- **/
3370
- [prop: string]: GenericPalletEvent<Rv>;
3371
- };
3372
- }