@totochain/api-augment 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +70 -2
  2. package/dist/definitions/definitions.d.ts +1 -0
  3. package/dist/definitions/definitions.js +2 -0
  4. package/dist/definitions/totochain/definitions.d.ts +5 -0
  5. package/dist/definitions/totochain/definitions.js +7 -0
  6. package/dist/index.d.ts +4 -0
  7. package/dist/index.js +12 -0
  8. package/dist/interfaces/augment-api-consts.d.ts +861 -0
  9. package/dist/interfaces/augment-api-consts.js +5 -0
  10. package/dist/interfaces/augment-api-errors.d.ts +1183 -0
  11. package/dist/interfaces/augment-api-errors.js +5 -0
  12. package/dist/interfaces/augment-api-events.d.ts +2033 -0
  13. package/dist/interfaces/augment-api-events.js +5 -0
  14. package/dist/interfaces/augment-api-query.d.ts +1375 -0
  15. package/dist/interfaces/augment-api-query.js +5 -0
  16. package/dist/interfaces/augment-api-rpc.d.ts +683 -0
  17. package/dist/interfaces/augment-api-rpc.js +5 -0
  18. package/dist/interfaces/augment-api-runtime.d.ts +298 -0
  19. package/dist/interfaces/augment-api-runtime.js +5 -0
  20. package/dist/interfaces/augment-api-tx.d.ts +2356 -0
  21. package/dist/interfaces/augment-api-tx.js +5 -0
  22. package/dist/interfaces/augment-api.d.ts +7 -0
  23. package/dist/interfaces/augment-api.js +9 -0
  24. package/dist/interfaces/augment-types.d.ts +1368 -0
  25. package/dist/interfaces/augment-types.js +5 -0
  26. package/dist/interfaces/definitions.d.ts +1 -0
  27. package/dist/interfaces/definitions.js +2 -0
  28. package/dist/interfaces/index.d.ts +1 -0
  29. package/dist/interfaces/index.js +3 -0
  30. package/dist/interfaces/lookup.d.ts +3952 -0
  31. package/dist/interfaces/lookup.js +3954 -0
  32. package/dist/interfaces/registry.d.ts +279 -0
  33. package/dist/interfaces/registry.js +5 -0
  34. package/dist/interfaces/totochain/definitions.d.ts +5 -0
  35. package/dist/interfaces/totochain/definitions.js +7 -0
  36. package/dist/interfaces/types-lookup.d.ts +4085 -0
  37. package/dist/interfaces/types-lookup.js +5 -0
  38. package/dist/interfaces/types.d.ts +1 -0
  39. package/dist/interfaces/types.js +3 -0
  40. package/package.json +69 -4
  41. package/src/definitions/definitions.ts +2 -0
  42. package/src/definitions/totochain/definitions.ts +7 -0
  43. package/src/index.ts +15 -0
  44. package/src/interfaces/augment-api-consts.ts +869 -0
  45. package/src/interfaces/augment-api-errors.ts +1191 -0
  46. package/src/interfaces/augment-api-events.ts +1307 -0
  47. package/src/interfaces/augment-api-query.ts +1383 -0
  48. package/src/interfaces/augment-api-rpc.ts +621 -0
  49. package/src/interfaces/augment-api-runtime.ts +264 -0
  50. package/src/interfaces/augment-api-tx.ts +2175 -0
  51. package/src/interfaces/augment-api.ts +10 -0
  52. package/src/interfaces/augment-types.ts +1375 -0
  53. package/src/interfaces/definitions.ts +2 -0
  54. package/src/interfaces/index.ts +4 -0
  55. package/src/interfaces/lookup.ts +3956 -0
  56. package/src/interfaces/registry.ts +286 -0
  57. package/src/interfaces/totochain/definitions.ts +7 -0
  58. package/src/interfaces/types-lookup.ts +4352 -0
  59. package/src/interfaces/types.ts +4 -0
@@ -0,0 +1,2033 @@
1
+ import '@polkadot/api-base/types/events';
2
+ import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
+ import type { Bytes, Null, Option, Result, U256, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
+ import type { ITuple } from '@polkadot/types-codec/types';
5
+ import type { AccountId20, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
+ import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletBalancesUnexpectedKind, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletPotentialPotentialOperation, PalletProxyDepositKind, PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError, PalletReputationVotingTally, PalletReputationVotingVoteDirection, PalletSafeModeExitReason, PalletValidatorManagerEvictionReason, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, TotochainRuntimeConfigsUtilityProxyType, TotochainRuntimeRuntimeHoldReason } from '@polkadot/types/lookup';
7
+ export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
+ declare module '@polkadot/api-base/types/events' {
9
+ interface AugmentedEvents<ApiType extends ApiTypes> {
10
+ activityTracker: {
11
+ /**
12
+ * Activity expired and was removed
13
+ **/
14
+ ActivityExpired: AugmentedEvent<ApiType, [account: AccountId20, age: u32], {
15
+ account: AccountId20;
16
+ age: u32;
17
+ }>;
18
+ /**
19
+ * Activity reputation cap reached [account, max_reputation]
20
+ **/
21
+ ActivityReputationCapped: AugmentedEvent<ApiType, [account: AccountId20, maxReputation: u32], {
22
+ account: AccountId20;
23
+ maxReputation: u32;
24
+ }>;
25
+ /**
26
+ * Generic event
27
+ **/
28
+ [key: string]: AugmentedEvent<ApiType>;
29
+ };
30
+ attestation: {
31
+ AttestationCreated: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
32
+ subject: AccountId20;
33
+ ctypeHash: H256;
34
+ attester: AccountId20;
35
+ issuanceId: u64;
36
+ }>;
37
+ AttestationRemoved: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
38
+ subject: AccountId20;
39
+ ctypeHash: H256;
40
+ attester: AccountId20;
41
+ issuanceId: u64;
42
+ }>;
43
+ AttestationRevoked: AugmentedEvent<ApiType, [subject: AccountId20, ctypeHash: H256, attester: AccountId20, issuanceId: u64], {
44
+ subject: AccountId20;
45
+ ctypeHash: H256;
46
+ attester: AccountId20;
47
+ issuanceId: u64;
48
+ }>;
49
+ AttesterAdded: AugmentedEvent<ApiType, [attester: AccountId20], {
50
+ attester: AccountId20;
51
+ }>;
52
+ AttesterRemoved: AugmentedEvent<ApiType, [attester: AccountId20], {
53
+ attester: AccountId20;
54
+ }>;
55
+ CtypeWeightRemoved: AugmentedEvent<ApiType, [ctypeHash: H256], {
56
+ ctypeHash: H256;
57
+ }>;
58
+ CtypeWeightSet: AugmentedEvent<ApiType, [ctypeHash: H256, weight: u32], {
59
+ ctypeHash: H256;
60
+ weight: u32;
61
+ }>;
62
+ /**
63
+ * Generic event
64
+ **/
65
+ [key: string]: AugmentedEvent<ApiType>;
66
+ };
67
+ balances: {
68
+ /**
69
+ * A balance was set by root.
70
+ **/
71
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId20, free: u128], {
72
+ who: AccountId20;
73
+ free: u128;
74
+ }>;
75
+ /**
76
+ * Some amount was burned from an account.
77
+ **/
78
+ Burned: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
79
+ who: AccountId20;
80
+ amount: u128;
81
+ }>;
82
+ /**
83
+ * Some debt has been dropped from the Total Issuance.
84
+ **/
85
+ BurnedDebt: AugmentedEvent<ApiType, [amount: u128], {
86
+ amount: u128;
87
+ }>;
88
+ /**
89
+ * Held balance was burned from an account.
90
+ **/
91
+ BurnedHeld: AugmentedEvent<ApiType, [reason: TotochainRuntimeRuntimeHoldReason, who: AccountId20, amount: u128], {
92
+ reason: TotochainRuntimeRuntimeHoldReason;
93
+ who: AccountId20;
94
+ amount: u128;
95
+ }>;
96
+ /**
97
+ * Some amount was deposited (e.g. for transaction fees).
98
+ **/
99
+ Deposit: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
100
+ who: AccountId20;
101
+ amount: u128;
102
+ }>;
103
+ /**
104
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
105
+ * resulting in an outright loss.
106
+ **/
107
+ DustLost: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
108
+ account: AccountId20;
109
+ amount: u128;
110
+ }>;
111
+ /**
112
+ * An account was created with some free balance.
113
+ **/
114
+ Endowed: AugmentedEvent<ApiType, [account: AccountId20, freeBalance: u128], {
115
+ account: AccountId20;
116
+ freeBalance: u128;
117
+ }>;
118
+ /**
119
+ * Some balance was frozen.
120
+ **/
121
+ Frozen: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
122
+ who: AccountId20;
123
+ amount: u128;
124
+ }>;
125
+ /**
126
+ * Some balance was placed on hold.
127
+ **/
128
+ Held: AugmentedEvent<ApiType, [reason: TotochainRuntimeRuntimeHoldReason, who: AccountId20, amount: u128], {
129
+ reason: TotochainRuntimeRuntimeHoldReason;
130
+ who: AccountId20;
131
+ amount: u128;
132
+ }>;
133
+ /**
134
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
135
+ **/
136
+ Issued: AugmentedEvent<ApiType, [amount: u128], {
137
+ amount: u128;
138
+ }>;
139
+ /**
140
+ * Some balance was locked.
141
+ **/
142
+ Locked: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
143
+ who: AccountId20;
144
+ amount: u128;
145
+ }>;
146
+ /**
147
+ * Some amount was minted into an account.
148
+ **/
149
+ Minted: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
150
+ who: AccountId20;
151
+ amount: u128;
152
+ }>;
153
+ /**
154
+ * Some credit was balanced and added to the TotalIssuance.
155
+ **/
156
+ MintedCredit: AugmentedEvent<ApiType, [amount: u128], {
157
+ amount: u128;
158
+ }>;
159
+ /**
160
+ * Some balance was released from hold.
161
+ **/
162
+ Released: AugmentedEvent<ApiType, [reason: TotochainRuntimeRuntimeHoldReason, who: AccountId20, amount: u128], {
163
+ reason: TotochainRuntimeRuntimeHoldReason;
164
+ who: AccountId20;
165
+ amount: u128;
166
+ }>;
167
+ /**
168
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
169
+ **/
170
+ Rescinded: AugmentedEvent<ApiType, [amount: u128], {
171
+ amount: u128;
172
+ }>;
173
+ /**
174
+ * Some balance was reserved (moved from free to reserved).
175
+ **/
176
+ Reserved: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
177
+ who: AccountId20;
178
+ amount: u128;
179
+ }>;
180
+ /**
181
+ * Some balance was moved from the reserve of the first account to the second account.
182
+ * Final argument indicates the destination balance type.
183
+ **/
184
+ ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId20, to: AccountId20, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
185
+ from: AccountId20;
186
+ to: AccountId20;
187
+ amount: u128;
188
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
189
+ }>;
190
+ /**
191
+ * Some amount was restored into an account.
192
+ **/
193
+ Restored: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
194
+ who: AccountId20;
195
+ amount: u128;
196
+ }>;
197
+ /**
198
+ * Some amount was removed from the account (e.g. for misbehavior).
199
+ **/
200
+ Slashed: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
201
+ who: AccountId20;
202
+ amount: u128;
203
+ }>;
204
+ /**
205
+ * Some amount was suspended from an account (it can be restored later).
206
+ **/
207
+ Suspended: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
208
+ who: AccountId20;
209
+ amount: u128;
210
+ }>;
211
+ /**
212
+ * Some balance was thawed.
213
+ **/
214
+ Thawed: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
215
+ who: AccountId20;
216
+ amount: u128;
217
+ }>;
218
+ /**
219
+ * The `TotalIssuance` was forcefully changed.
220
+ **/
221
+ TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
222
+ old: u128;
223
+ new_: u128;
224
+ }>;
225
+ /**
226
+ * Transfer succeeded.
227
+ **/
228
+ Transfer: AugmentedEvent<ApiType, [from: AccountId20, to: AccountId20, amount: u128], {
229
+ from: AccountId20;
230
+ to: AccountId20;
231
+ amount: u128;
232
+ }>;
233
+ /**
234
+ * The `transferred` balance is placed on hold at the `dest` account.
235
+ **/
236
+ TransferAndHold: AugmentedEvent<ApiType, [reason: TotochainRuntimeRuntimeHoldReason, source: AccountId20, dest: AccountId20, transferred: u128], {
237
+ reason: TotochainRuntimeRuntimeHoldReason;
238
+ source: AccountId20;
239
+ dest: AccountId20;
240
+ transferred: u128;
241
+ }>;
242
+ /**
243
+ * A transfer of `amount` on hold from `source` to `dest` was initiated.
244
+ **/
245
+ TransferOnHold: AugmentedEvent<ApiType, [reason: TotochainRuntimeRuntimeHoldReason, source: AccountId20, dest: AccountId20, amount: u128], {
246
+ reason: TotochainRuntimeRuntimeHoldReason;
247
+ source: AccountId20;
248
+ dest: AccountId20;
249
+ amount: u128;
250
+ }>;
251
+ /**
252
+ * An unexpected/defensive event was triggered.
253
+ **/
254
+ Unexpected: AugmentedEvent<ApiType, [PalletBalancesUnexpectedKind]>;
255
+ /**
256
+ * Some balance was unlocked.
257
+ **/
258
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
259
+ who: AccountId20;
260
+ amount: u128;
261
+ }>;
262
+ /**
263
+ * Some balance was unreserved (moved from reserved to free).
264
+ **/
265
+ Unreserved: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
266
+ who: AccountId20;
267
+ amount: u128;
268
+ }>;
269
+ /**
270
+ * An account was upgraded.
271
+ **/
272
+ Upgraded: AugmentedEvent<ApiType, [who: AccountId20], {
273
+ who: AccountId20;
274
+ }>;
275
+ /**
276
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
277
+ **/
278
+ Withdraw: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
279
+ who: AccountId20;
280
+ amount: u128;
281
+ }>;
282
+ /**
283
+ * Generic event
284
+ **/
285
+ [key: string]: AugmentedEvent<ApiType>;
286
+ };
287
+ baseFee: {
288
+ BaseFeeOverflow: AugmentedEvent<ApiType, []>;
289
+ NewBaseFeePerGas: AugmentedEvent<ApiType, [fee: U256], {
290
+ fee: U256;
291
+ }>;
292
+ NewElasticity: AugmentedEvent<ApiType, [elasticity: Permill], {
293
+ elasticity: Permill;
294
+ }>;
295
+ /**
296
+ * Generic event
297
+ **/
298
+ [key: string]: AugmentedEvent<ApiType>;
299
+ };
300
+ ctype: {
301
+ CtypeCreated: AugmentedEvent<ApiType, [creator: AccountId20, ctypeHash: H256], {
302
+ creator: AccountId20;
303
+ ctypeHash: H256;
304
+ }>;
305
+ /**
306
+ * Generic event
307
+ **/
308
+ [key: string]: AugmentedEvent<ApiType>;
309
+ };
310
+ did: {
311
+ DidCreated: AugmentedEvent<ApiType, [did: AccountId20, paidBy: AccountId20], {
312
+ did: AccountId20;
313
+ paidBy: AccountId20;
314
+ }>;
315
+ /**
316
+ * Generic event
317
+ **/
318
+ [key: string]: AugmentedEvent<ApiType>;
319
+ };
320
+ ethereum: {
321
+ /**
322
+ * An ethereum transaction was successfully executed.
323
+ **/
324
+ Executed: AugmentedEvent<ApiType, [from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason, extraData: Bytes], {
325
+ from: H160;
326
+ to: H160;
327
+ transactionHash: H256;
328
+ exitReason: EvmCoreErrorExitReason;
329
+ extraData: Bytes;
330
+ }>;
331
+ /**
332
+ * Generic event
333
+ **/
334
+ [key: string]: AugmentedEvent<ApiType>;
335
+ };
336
+ evm: {
337
+ /**
338
+ * A contract has been created at given address.
339
+ **/
340
+ Created: AugmentedEvent<ApiType, [address: H160], {
341
+ address: H160;
342
+ }>;
343
+ /**
344
+ * A contract was attempted to be created, but the execution failed.
345
+ **/
346
+ CreatedFailed: AugmentedEvent<ApiType, [address: H160], {
347
+ address: H160;
348
+ }>;
349
+ /**
350
+ * A contract has been executed successfully with states applied.
351
+ **/
352
+ Executed: AugmentedEvent<ApiType, [address: H160], {
353
+ address: H160;
354
+ }>;
355
+ /**
356
+ * A contract has been executed with errors. States are reverted with only gas fees applied.
357
+ **/
358
+ ExecutedFailed: AugmentedEvent<ApiType, [address: H160], {
359
+ address: H160;
360
+ }>;
361
+ /**
362
+ * Ethereum events from contracts.
363
+ **/
364
+ Log: AugmentedEvent<ApiType, [log: EthereumLog], {
365
+ log: EthereumLog;
366
+ }>;
367
+ /**
368
+ * Generic event
369
+ **/
370
+ [key: string]: AugmentedEvent<ApiType>;
371
+ };
372
+ grandpa: {
373
+ /**
374
+ * New authority set has been applied.
375
+ **/
376
+ NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], {
377
+ authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
378
+ }>;
379
+ /**
380
+ * Current authority set has been paused.
381
+ **/
382
+ Paused: AugmentedEvent<ApiType, []>;
383
+ /**
384
+ * Current authority set has been resumed.
385
+ **/
386
+ Resumed: AugmentedEvent<ApiType, []>;
387
+ /**
388
+ * Generic event
389
+ **/
390
+ [key: string]: AugmentedEvent<ApiType>;
391
+ };
392
+ handshake: {
393
+ /**
394
+ * A handshake has been canceled
395
+ **/
396
+ HandshakeCanceled: AugmentedEvent<ApiType, [sender: AccountId20, recipient: AccountId20], {
397
+ sender: AccountId20;
398
+ recipient: AccountId20;
399
+ }>;
400
+ /**
401
+ * A handshake has been completed.
402
+ *
403
+ * Unlike `HandshakeRequested`/`HandshakeConfirmed`/`HandshakeCanceled`,
404
+ * which echo the caller-supplied argument order, this event reports the
405
+ * pair in canonical storage order (`sender` = smaller key, `recipient` =
406
+ * larger key). `complete_handshake` is dispatched by an attestation
407
+ * provider rather than by either party, so there is no caller ordering to
408
+ * preserve; emitting canonical order gives off-chain consumers a stable,
409
+ * deterministic pairing. This is intentional and asserted by the
410
+ * `handshake_completion_events_use_storage_order*` tests.
411
+ **/
412
+ HandshakeCompleted: AugmentedEvent<ApiType, [sender: AccountId20, recipient: AccountId20], {
413
+ sender: AccountId20;
414
+ recipient: AccountId20;
415
+ }>;
416
+ /**
417
+ * A handshake has been confirmed
418
+ **/
419
+ HandshakeConfirmed: AugmentedEvent<ApiType, [sender: AccountId20, recipient: AccountId20], {
420
+ sender: AccountId20;
421
+ recipient: AccountId20;
422
+ }>;
423
+ /**
424
+ * A handshake request has been sent
425
+ **/
426
+ HandshakeRequested: AugmentedEvent<ApiType, [sender: AccountId20, recipient: AccountId20], {
427
+ sender: AccountId20;
428
+ recipient: AccountId20;
429
+ }>;
430
+ /**
431
+ * Generic event
432
+ **/
433
+ [key: string]: AugmentedEvent<ApiType>;
434
+ };
435
+ historical: {
436
+ /**
437
+ * The merkle roots of up to this session index were pruned
438
+ **/
439
+ RootsPruned: AugmentedEvent<ApiType, [upTo: u32], {
440
+ upTo: u32;
441
+ }>;
442
+ /**
443
+ * The merkle root of the validators of the said session were stored
444
+ **/
445
+ RootStored: AugmentedEvent<ApiType, [index: u32], {
446
+ index: u32;
447
+ }>;
448
+ /**
449
+ * Generic event
450
+ **/
451
+ [key: string]: AugmentedEvent<ApiType>;
452
+ };
453
+ identity: {
454
+ /**
455
+ * A username authority was added.
456
+ **/
457
+ AuthorityAdded: AugmentedEvent<ApiType, [authority: AccountId20], {
458
+ authority: AccountId20;
459
+ }>;
460
+ /**
461
+ * A username authority was removed.
462
+ **/
463
+ AuthorityRemoved: AugmentedEvent<ApiType, [authority: AccountId20], {
464
+ authority: AccountId20;
465
+ }>;
466
+ /**
467
+ * A dangling username (as in, a username corresponding to an account that has removed its
468
+ * identity) has been removed.
469
+ **/
470
+ DanglingUsernameRemoved: AugmentedEvent<ApiType, [who: AccountId20, username: Bytes], {
471
+ who: AccountId20;
472
+ username: Bytes;
473
+ }>;
474
+ /**
475
+ * A name was cleared, and the given balance returned.
476
+ **/
477
+ IdentityCleared: AugmentedEvent<ApiType, [who: AccountId20, deposit: u128], {
478
+ who: AccountId20;
479
+ deposit: u128;
480
+ }>;
481
+ /**
482
+ * A name was removed and the given balance slashed.
483
+ **/
484
+ IdentityKilled: AugmentedEvent<ApiType, [who: AccountId20, deposit: u128], {
485
+ who: AccountId20;
486
+ deposit: u128;
487
+ }>;
488
+ /**
489
+ * A name was set or reset (which will remove all judgements).
490
+ **/
491
+ IdentitySet: AugmentedEvent<ApiType, [who: AccountId20], {
492
+ who: AccountId20;
493
+ }>;
494
+ /**
495
+ * A judgement was given by a registrar.
496
+ **/
497
+ JudgementGiven: AugmentedEvent<ApiType, [target: AccountId20, registrarIndex: u32], {
498
+ target: AccountId20;
499
+ registrarIndex: u32;
500
+ }>;
501
+ /**
502
+ * A judgement was asked from a registrar.
503
+ **/
504
+ JudgementRequested: AugmentedEvent<ApiType, [who: AccountId20, registrarIndex: u32], {
505
+ who: AccountId20;
506
+ registrarIndex: u32;
507
+ }>;
508
+ /**
509
+ * A judgement request was retracted.
510
+ **/
511
+ JudgementUnrequested: AugmentedEvent<ApiType, [who: AccountId20, registrarIndex: u32], {
512
+ who: AccountId20;
513
+ registrarIndex: u32;
514
+ }>;
515
+ /**
516
+ * A queued username passed its expiration without being claimed and was removed.
517
+ **/
518
+ PreapprovalExpired: AugmentedEvent<ApiType, [whose: AccountId20], {
519
+ whose: AccountId20;
520
+ }>;
521
+ /**
522
+ * A username was set as a primary and can be looked up from `who`.
523
+ **/
524
+ PrimaryUsernameSet: AugmentedEvent<ApiType, [who: AccountId20, username: Bytes], {
525
+ who: AccountId20;
526
+ username: Bytes;
527
+ }>;
528
+ /**
529
+ * A registrar was added.
530
+ **/
531
+ RegistrarAdded: AugmentedEvent<ApiType, [registrarIndex: u32], {
532
+ registrarIndex: u32;
533
+ }>;
534
+ /**
535
+ * An account's sub-identities were set (in bulk).
536
+ **/
537
+ SubIdentitiesSet: AugmentedEvent<ApiType, [main: AccountId20, numberOfSubs: u32, newDeposit: u128], {
538
+ main: AccountId20;
539
+ numberOfSubs: u32;
540
+ newDeposit: u128;
541
+ }>;
542
+ /**
543
+ * A sub-identity was added to an identity and the deposit paid.
544
+ **/
545
+ SubIdentityAdded: AugmentedEvent<ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], {
546
+ sub: AccountId20;
547
+ main: AccountId20;
548
+ deposit: u128;
549
+ }>;
550
+ /**
551
+ * A sub-identity was removed from an identity and the deposit freed.
552
+ **/
553
+ SubIdentityRemoved: AugmentedEvent<ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], {
554
+ sub: AccountId20;
555
+ main: AccountId20;
556
+ deposit: u128;
557
+ }>;
558
+ /**
559
+ * A given sub-account's associated name was changed by its super-identity.
560
+ **/
561
+ SubIdentityRenamed: AugmentedEvent<ApiType, [sub: AccountId20, main: AccountId20], {
562
+ sub: AccountId20;
563
+ main: AccountId20;
564
+ }>;
565
+ /**
566
+ * A sub-identity was cleared, and the given deposit repatriated from the
567
+ * main identity account to the sub-identity account.
568
+ **/
569
+ SubIdentityRevoked: AugmentedEvent<ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], {
570
+ sub: AccountId20;
571
+ main: AccountId20;
572
+ deposit: u128;
573
+ }>;
574
+ /**
575
+ * A username has been killed.
576
+ **/
577
+ UsernameKilled: AugmentedEvent<ApiType, [username: Bytes], {
578
+ username: Bytes;
579
+ }>;
580
+ /**
581
+ * A username was queued, but `who` must accept it prior to `expiration`.
582
+ **/
583
+ UsernameQueued: AugmentedEvent<ApiType, [who: AccountId20, username: Bytes, expiration: u32], {
584
+ who: AccountId20;
585
+ username: Bytes;
586
+ expiration: u32;
587
+ }>;
588
+ /**
589
+ * A username has been removed.
590
+ **/
591
+ UsernameRemoved: AugmentedEvent<ApiType, [username: Bytes], {
592
+ username: Bytes;
593
+ }>;
594
+ /**
595
+ * A username was set for `who`.
596
+ **/
597
+ UsernameSet: AugmentedEvent<ApiType, [who: AccountId20, username: Bytes], {
598
+ who: AccountId20;
599
+ username: Bytes;
600
+ }>;
601
+ /**
602
+ * A username has been unbound.
603
+ **/
604
+ UsernameUnbound: AugmentedEvent<ApiType, [username: Bytes], {
605
+ username: Bytes;
606
+ }>;
607
+ /**
608
+ * Generic event
609
+ **/
610
+ [key: string]: AugmentedEvent<ApiType>;
611
+ };
612
+ imOnline: {
613
+ /**
614
+ * At the end of the session, no offence was committed.
615
+ **/
616
+ AllGood: AugmentedEvent<ApiType, []>;
617
+ /**
618
+ * A new heartbeat was received from `AuthorityId`.
619
+ **/
620
+ HeartbeatReceived: AugmentedEvent<ApiType, [authorityId: PalletImOnlineSr25519AppSr25519Public], {
621
+ authorityId: PalletImOnlineSr25519AppSr25519Public;
622
+ }>;
623
+ /**
624
+ * At the end of the session, at least one validator was found to be offline.
625
+ **/
626
+ SomeOffline: AugmentedEvent<ApiType, [offline: Vec<ITuple<[AccountId20, Null]>>], {
627
+ offline: Vec<ITuple<[AccountId20, Null]>>;
628
+ }>;
629
+ /**
630
+ * Generic event
631
+ **/
632
+ [key: string]: AugmentedEvent<ApiType>;
633
+ };
634
+ multisig: {
635
+ /**
636
+ * The deposit for a multisig operation has been updated/poked.
637
+ **/
638
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId20, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
639
+ who: AccountId20;
640
+ callHash: U8aFixed;
641
+ oldDeposit: u128;
642
+ newDeposit: u128;
643
+ }>;
644
+ /**
645
+ * A multisig operation has been approved by someone.
646
+ **/
647
+ MultisigApproval: AugmentedEvent<ApiType, [approving: AccountId20, timepoint: PalletMultisigTimepoint, multisig: AccountId20, callHash: U8aFixed], {
648
+ approving: AccountId20;
649
+ timepoint: PalletMultisigTimepoint;
650
+ multisig: AccountId20;
651
+ callHash: U8aFixed;
652
+ }>;
653
+ /**
654
+ * A multisig operation has been cancelled.
655
+ **/
656
+ MultisigCancelled: AugmentedEvent<ApiType, [cancelling: AccountId20, timepoint: PalletMultisigTimepoint, multisig: AccountId20, callHash: U8aFixed], {
657
+ cancelling: AccountId20;
658
+ timepoint: PalletMultisigTimepoint;
659
+ multisig: AccountId20;
660
+ callHash: U8aFixed;
661
+ }>;
662
+ /**
663
+ * A multisig operation has been executed.
664
+ **/
665
+ MultisigExecuted: AugmentedEvent<ApiType, [approving: AccountId20, timepoint: PalletMultisigTimepoint, multisig: AccountId20, callHash: U8aFixed, result: Result<Null, SpRuntimeDispatchError>], {
666
+ approving: AccountId20;
667
+ timepoint: PalletMultisigTimepoint;
668
+ multisig: AccountId20;
669
+ callHash: U8aFixed;
670
+ result: Result<Null, SpRuntimeDispatchError>;
671
+ }>;
672
+ /**
673
+ * A new multisig operation has begun.
674
+ **/
675
+ NewMultisig: AugmentedEvent<ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], {
676
+ approving: AccountId20;
677
+ multisig: AccountId20;
678
+ callHash: U8aFixed;
679
+ }>;
680
+ /**
681
+ * Generic event
682
+ **/
683
+ [key: string]: AugmentedEvent<ApiType>;
684
+ };
685
+ offences: {
686
+ /**
687
+ * There is an offence reported of the given `kind` happened at the `session_index` and
688
+ * (kind-specific) time slot. This event is not deposited for duplicate slashes.
689
+ * \[kind, timeslot\].
690
+ **/
691
+ Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], {
692
+ kind: U8aFixed;
693
+ timeslot: Bytes;
694
+ }>;
695
+ /**
696
+ * Generic event
697
+ **/
698
+ [key: string]: AugmentedEvent<ApiType>;
699
+ };
700
+ potential: {
701
+ /**
702
+ * A single account's burn failed inside an otherwise-healthy batch. The
703
+ * transactional wrapper on `burn_for_account` rolls back this account's
704
+ * storage changes, the cursor advances past it, and the cycle continues
705
+ * — the account will be re-examined when the next burn cycle starts.
706
+ * Surface this for observability so silent burn failures cannot accumulate
707
+ * unnoticed.
708
+ **/
709
+ BurnAccountFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], {
710
+ account: AccountId20;
711
+ error: SpRuntimeDispatchError;
712
+ }>;
713
+ /**
714
+ * A burn batch processing failed and the cycle was aborted.
715
+ **/
716
+ BurnBatchFailed: AugmentedEvent<ApiType, [accountsProcessed: u32, accountsBurned: u32, totalBurned: u128], {
717
+ accountsProcessed: u32;
718
+ accountsBurned: u32;
719
+ totalBurned: u128;
720
+ }>;
721
+ /**
722
+ * A burn cycle has completed. `accounts_processed` counts every live
723
+ * account the cycle examined (dead rows and the reward pool are
724
+ * skipped); `accounts_burned` counts only those for which
725
+ * `burn_for_account` returned a non-zero amount.
726
+ **/
727
+ BurnCycleCompleted: AugmentedEvent<ApiType, [accountsProcessed: u32, accountsBurned: u32, totalBurned: u128], {
728
+ accountsProcessed: u32;
729
+ accountsBurned: u32;
730
+ totalBurned: u128;
731
+ }>;
732
+ /**
733
+ * A burn cycle has started.
734
+ **/
735
+ BurnCycleStarted: AugmentedEvent<ApiType, []>;
736
+ /**
737
+ * A cycle boundary burned the reward pool's potential-sourced surplus while
738
+ * preserving core assets (BC-104). `burned` is the potential-sourced amount
739
+ * destroyed (it reduces total issuance and seeds the next cycle's supply);
740
+ * `preserved` is the core surplus left in the pool above the genesis floor.
741
+ **/
742
+ CycleBurned: AugmentedEvent<ApiType, [burned: u128, preserved: u128], {
743
+ burned: u128;
744
+ preserved: u128;
745
+ }>;
746
+ /**
747
+ * Event for other mint outcomes, e.g., errors.
748
+ **/
749
+ MintFailed: AugmentedEvent<ApiType, [AccountId20, u128]>;
750
+ /**
751
+ * Event emitted when a mint is successful.
752
+ **/
753
+ MintSuccessful: AugmentedEvent<ApiType, [AccountId20, u128]>;
754
+ /**
755
+ * A month/cycle operation failed during session transition.
756
+ **/
757
+ PotentialOperationFailed: AugmentedEvent<ApiType, [operation: PalletPotentialPotentialOperation], {
758
+ operation: PalletPotentialPotentialOperation;
759
+ }>;
760
+ /**
761
+ * Event for other referral outcomes, e.g., errors.
762
+ **/
763
+ ReferralFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
764
+ /**
765
+ * Event emitted when a referral is successful.
766
+ **/
767
+ ReferralSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
768
+ /**
769
+ * A potential credit could not be delivered — the recipient account was
770
+ * reaped or never existed, and `deposit_creating` refuses to create an
771
+ * account with less than the existential deposit. The amount was rerouted
772
+ * to the reward pool instead of being recorded as potential no balance
773
+ * backs. `account` is the intended recipient; `amount` is the rerouted
774
+ * credit. See `credit_balance_and_lock` in `mint.rs`.
775
+ **/
776
+ RewardReroutedToRewardPool: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
777
+ account: AccountId20;
778
+ amount: u128;
779
+ }>;
780
+ /**
781
+ * Event for other set active referral share outcomes, e.g., errors.
782
+ **/
783
+ SetActiveReferralShareFailed: AugmentedEvent<ApiType, [AccountId20, u32]>;
784
+ /**
785
+ * Event emitted when set active referral share is successful.
786
+ **/
787
+ SetActiveReferralShareSuccessful: AugmentedEvent<ApiType, [AccountId20, u32]>;
788
+ /**
789
+ * An EVM priority-fee (tip) could not be credited to the block author —
790
+ * the author account was reaped or never existed. The tip was rerouted to
791
+ * the reward pool instead of being silently burned. `author` is the derived
792
+ * account that could not receive the deposit; `amount` is the rerouted tip.
793
+ **/
794
+ TipReroutedToRewardPool: AugmentedEvent<ApiType, [author: AccountId20, amount: u128], {
795
+ author: AccountId20;
796
+ amount: u128;
797
+ }>;
798
+ /**
799
+ * Generic event
800
+ **/
801
+ [key: string]: AugmentedEvent<ApiType>;
802
+ };
803
+ preimage: {
804
+ /**
805
+ * A preimage has ben cleared.
806
+ **/
807
+ Cleared: AugmentedEvent<ApiType, [hash_: H256], {
808
+ hash_: H256;
809
+ }>;
810
+ /**
811
+ * A preimage has been noted.
812
+ **/
813
+ Noted: AugmentedEvent<ApiType, [hash_: H256], {
814
+ hash_: H256;
815
+ }>;
816
+ /**
817
+ * A preimage has been requested.
818
+ **/
819
+ Requested: AugmentedEvent<ApiType, [hash_: H256], {
820
+ hash_: H256;
821
+ }>;
822
+ /**
823
+ * Generic event
824
+ **/
825
+ [key: string]: AugmentedEvent<ApiType>;
826
+ };
827
+ proxy: {
828
+ /**
829
+ * An announcement was placed to make a call in the future.
830
+ **/
831
+ Announced: AugmentedEvent<ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], {
832
+ real: AccountId20;
833
+ proxy: AccountId20;
834
+ callHash: H256;
835
+ }>;
836
+ /**
837
+ * A deposit stored for proxies or announcements was poked / updated.
838
+ **/
839
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId20, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
840
+ who: AccountId20;
841
+ kind: PalletProxyDepositKind;
842
+ oldDeposit: u128;
843
+ newDeposit: u128;
844
+ }>;
845
+ /**
846
+ * A proxy was added.
847
+ **/
848
+ ProxyAdded: AugmentedEvent<ApiType, [delegator: AccountId20, delegatee: AccountId20, proxyType: TotochainRuntimeConfigsUtilityProxyType, delay: u32], {
849
+ delegator: AccountId20;
850
+ delegatee: AccountId20;
851
+ proxyType: TotochainRuntimeConfigsUtilityProxyType;
852
+ delay: u32;
853
+ }>;
854
+ /**
855
+ * A proxy was executed correctly, with the given.
856
+ **/
857
+ ProxyExecuted: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
858
+ result: Result<Null, SpRuntimeDispatchError>;
859
+ }>;
860
+ /**
861
+ * A proxy was removed.
862
+ **/
863
+ ProxyRemoved: AugmentedEvent<ApiType, [delegator: AccountId20, delegatee: AccountId20, proxyType: TotochainRuntimeConfigsUtilityProxyType, delay: u32], {
864
+ delegator: AccountId20;
865
+ delegatee: AccountId20;
866
+ proxyType: TotochainRuntimeConfigsUtilityProxyType;
867
+ delay: u32;
868
+ }>;
869
+ /**
870
+ * A pure account has been created by new proxy with given
871
+ * disambiguation index and proxy type.
872
+ **/
873
+ PureCreated: AugmentedEvent<ApiType, [pure: AccountId20, who: AccountId20, proxyType: TotochainRuntimeConfigsUtilityProxyType, disambiguationIndex: u16, at: u32, extrinsicIndex: u32], {
874
+ pure: AccountId20;
875
+ who: AccountId20;
876
+ proxyType: TotochainRuntimeConfigsUtilityProxyType;
877
+ disambiguationIndex: u16;
878
+ at: u32;
879
+ extrinsicIndex: u32;
880
+ }>;
881
+ /**
882
+ * A pure proxy was killed by its spawner.
883
+ **/
884
+ PureKilled: AugmentedEvent<ApiType, [pure: AccountId20, spawner: AccountId20, proxyType: TotochainRuntimeConfigsUtilityProxyType, disambiguationIndex: u16], {
885
+ pure: AccountId20;
886
+ spawner: AccountId20;
887
+ proxyType: TotochainRuntimeConfigsUtilityProxyType;
888
+ disambiguationIndex: u16;
889
+ }>;
890
+ /**
891
+ * Generic event
892
+ **/
893
+ [key: string]: AugmentedEvent<ApiType>;
894
+ };
895
+ puzzlePieces: {
896
+ /**
897
+ * Event emitted when a collection is burned.
898
+ **/
899
+ CollectionBurned: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
900
+ collectionId: u32;
901
+ from: AccountId20;
902
+ }>;
903
+ /**
904
+ * A retired collection was destroyed once its last leftover piece was gone.
905
+ **/
906
+ CollectionReaped: AugmentedEvent<ApiType, [collectionId: u32], {
907
+ collectionId: u32;
908
+ }>;
909
+ /**
910
+ * Event emitted when a collection is transferred to the reward pool.
911
+ **/
912
+ CollectionTransferredToRewardPool: AugmentedEvent<ApiType, [collectionId: u32, from: AccountId20], {
913
+ collectionId: u32;
914
+ from: AccountId20;
915
+ }>;
916
+ /**
917
+ * puzzle piece reward distribution failed for an account.
918
+ **/
919
+ DistributePuzzlePieceRewardFailed: AugmentedEvent<ApiType, [account: AccountId20, error: SpRuntimeDispatchError], {
920
+ account: AccountId20;
921
+ error: SpRuntimeDispatchError;
922
+ }>;
923
+ /**
924
+ * puzzle piece reward was distributed successfully to an account.
925
+ **/
926
+ DistributePuzzlePieceRewardSuccessful: AugmentedEvent<ApiType, [account: AccountId20], {
927
+ account: AccountId20;
928
+ }>;
929
+ /**
930
+ * Event emitted when puzzle pieces are minted.
931
+ **/
932
+ PuzzlePieceMinted: AugmentedEvent<ApiType, [collectionId: u32, itemId: u32, owner: AccountId20, beneficiary: AccountId20], {
933
+ collectionId: u32;
934
+ itemId: u32;
935
+ owner: AccountId20;
936
+ beneficiary: AccountId20;
937
+ }>;
938
+ /**
939
+ * Block puzzle piece reward distribution failed.
940
+ **/
941
+ PuzzlePieceRewardDistributionFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
942
+ error: SpRuntimeDispatchError;
943
+ }>;
944
+ /**
945
+ * Referral chain walk detected a cycle and stopped to prevent re-distributing
946
+ * rewards to the same accounts.
947
+ **/
948
+ ReferralChainCycleDetected: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
949
+ account: AccountId20;
950
+ depth: u32;
951
+ }>;
952
+ /**
953
+ * Referral chain walk stopped at the configured maximum depth.
954
+ **/
955
+ ReferralChainDepthLimitReached: AugmentedEvent<ApiType, [account: AccountId20, depth: u32], {
956
+ account: AccountId20;
957
+ depth: u32;
958
+ }>;
959
+ /**
960
+ * An activation's rewards were committed to a draw that resolves once `EntropyBlocks`
961
+ * reaches `ready_at`.
962
+ **/
963
+ RewardDrawCommitted: AugmentedEvent<ApiType, [drawId: u64, readyAt: u64], {
964
+ drawId: u64;
965
+ readyAt: u64;
966
+ }>;
967
+ /**
968
+ * An activation draw could not be paid. Nothing of it was minted, and it left the
969
+ * queue so the draws behind it still resolve.
970
+ **/
971
+ RewardDrawFailed: AugmentedEvent<ApiType, [drawId: u64, error: SpRuntimeDispatchError], {
972
+ drawId: u64;
973
+ error: SpRuntimeDispatchError;
974
+ }>;
975
+ /**
976
+ * A reward set opened and started filling towards `target` pieces.
977
+ **/
978
+ RewardSetOpened: AugmentedEvent<ApiType, [collectionId: u32, target: u32], {
979
+ collectionId: u32;
980
+ target: u32;
981
+ }>;
982
+ /**
983
+ * A reward set received its last piece and can now be unlocked.
984
+ **/
985
+ RewardSetSealed: AugmentedEvent<ApiType, [collectionId: u32, size_: u32], {
986
+ collectionId: u32;
987
+ size_: u32;
988
+ }>;
989
+ /**
990
+ * Event for other puzzle piece transfer outcomes, e.g., errors.
991
+ **/
992
+ TransferPuzzlePieceFailed: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
993
+ /**
994
+ * Event emitted when a puzzle piece is successfully transferred.
995
+ **/
996
+ TransferPuzzlePieceSuccessful: AugmentedEvent<ApiType, [AccountId20, AccountId20]>;
997
+ /**
998
+ * Event emitted when a wildcard puzzle piece is distributed.
999
+ **/
1000
+ WildcardDistributed: AugmentedEvent<ApiType, [itemId: u32, recipient: AccountId20], {
1001
+ itemId: u32;
1002
+ recipient: AccountId20;
1003
+ }>;
1004
+ /**
1005
+ * A due wildcard could not be handed out and the reward pool no longer holds it, so
1006
+ * it was dropped from the queue (BC-519). The item stays where it is, and a fresh
1007
+ * piece is minted for the block producer instead. `error` is why the transfer
1008
+ * failed.
1009
+ **/
1010
+ WildcardDropped: AugmentedEvent<ApiType, [itemId: u32, error: SpRuntimeDispatchError], {
1011
+ itemId: u32;
1012
+ error: SpRuntimeDispatchError;
1013
+ }>;
1014
+ /**
1015
+ * Wildcard minting was deferred to the `on_finalize` sweeper. `deferred` is
1016
+ * how many wildcards this mint owed; `pending` is the total backlog after
1017
+ * crediting them. A persistently growing `pending` means wildcards are being
1018
+ * created faster than the distribution queue drains them.
1019
+ **/
1020
+ WildcardMintDeferred: AugmentedEvent<ApiType, [deferred: u32, pending: u32], {
1021
+ deferred: u32;
1022
+ pending: u32;
1023
+ }>;
1024
+ /**
1025
+ * Event emitted when a wildcard puzzle piece is minted.
1026
+ **/
1027
+ WildcardMinted: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32], {
1028
+ itemId: u32;
1029
+ distributionBlock: u32;
1030
+ }>;
1031
+ /**
1032
+ * A deferred wildcard mint failed in the sweeper. The batch stopped and the
1033
+ * remaining backlog stays in `PendingWildcards` for the next block.
1034
+ **/
1035
+ WildcardMintFailed: AugmentedEvent<ApiType, [error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError], {
1036
+ error: PalletPuzzlePiecesPuzzlePiecesPuzzlePiecesError;
1037
+ }>;
1038
+ /**
1039
+ * A due wildcard could not be handed out but the reward pool still holds it (it is
1040
+ * frozen), so it went back into the queue, due at `distribution_block` (BC-519). A
1041
+ * fresh piece is minted for the block producer instead. `error` is why the transfer
1042
+ * failed.
1043
+ **/
1044
+ WildcardRequeued: AugmentedEvent<ApiType, [itemId: u32, distributionBlock: u32, error: SpRuntimeDispatchError], {
1045
+ itemId: u32;
1046
+ distributionBlock: u32;
1047
+ error: SpRuntimeDispatchError;
1048
+ }>;
1049
+ /**
1050
+ * Generic event
1051
+ **/
1052
+ [key: string]: AugmentedEvent<ApiType>;
1053
+ };
1054
+ referenda: {
1055
+ /**
1056
+ * A referendum has been approved and its proposal has been scheduled.
1057
+ **/
1058
+ Approved: AugmentedEvent<ApiType, [index: u32], {
1059
+ index: u32;
1060
+ }>;
1061
+ /**
1062
+ * A referendum has been cancelled.
1063
+ **/
1064
+ Cancelled: AugmentedEvent<ApiType, [index: u32, tally: PalletReputationVotingTally], {
1065
+ index: u32;
1066
+ tally: PalletReputationVotingTally;
1067
+ }>;
1068
+ ConfirmAborted: AugmentedEvent<ApiType, [index: u32], {
1069
+ index: u32;
1070
+ }>;
1071
+ /**
1072
+ * A referendum has ended its confirmation phase and is ready for approval.
1073
+ **/
1074
+ Confirmed: AugmentedEvent<ApiType, [index: u32, tally: PalletReputationVotingTally], {
1075
+ index: u32;
1076
+ tally: PalletReputationVotingTally;
1077
+ }>;
1078
+ ConfirmStarted: AugmentedEvent<ApiType, [index: u32], {
1079
+ index: u32;
1080
+ }>;
1081
+ /**
1082
+ * The decision deposit has been placed.
1083
+ **/
1084
+ DecisionDepositPlaced: AugmentedEvent<ApiType, [index: u32, who: AccountId20, amount: u128], {
1085
+ index: u32;
1086
+ who: AccountId20;
1087
+ amount: u128;
1088
+ }>;
1089
+ /**
1090
+ * The decision deposit has been refunded.
1091
+ **/
1092
+ DecisionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId20, amount: u128], {
1093
+ index: u32;
1094
+ who: AccountId20;
1095
+ amount: u128;
1096
+ }>;
1097
+ /**
1098
+ * A referendum has moved into the deciding phase.
1099
+ **/
1100
+ DecisionStarted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded, tally: PalletReputationVotingTally], {
1101
+ index: u32;
1102
+ track: u16;
1103
+ proposal: FrameSupportPreimagesBounded;
1104
+ tally: PalletReputationVotingTally;
1105
+ }>;
1106
+ /**
1107
+ * A deposit has been slashed.
1108
+ **/
1109
+ DepositSlashed: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
1110
+ who: AccountId20;
1111
+ amount: u128;
1112
+ }>;
1113
+ /**
1114
+ * A referendum has been killed.
1115
+ **/
1116
+ Killed: AugmentedEvent<ApiType, [index: u32, tally: PalletReputationVotingTally], {
1117
+ index: u32;
1118
+ tally: PalletReputationVotingTally;
1119
+ }>;
1120
+ /**
1121
+ * Metadata for a referendum has been cleared.
1122
+ **/
1123
+ MetadataCleared: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1124
+ index: u32;
1125
+ hash_: H256;
1126
+ }>;
1127
+ /**
1128
+ * Metadata for a referendum has been set.
1129
+ **/
1130
+ MetadataSet: AugmentedEvent<ApiType, [index: u32, hash_: H256], {
1131
+ index: u32;
1132
+ hash_: H256;
1133
+ }>;
1134
+ /**
1135
+ * A proposal has been rejected by referendum.
1136
+ **/
1137
+ Rejected: AugmentedEvent<ApiType, [index: u32, tally: PalletReputationVotingTally], {
1138
+ index: u32;
1139
+ tally: PalletReputationVotingTally;
1140
+ }>;
1141
+ /**
1142
+ * The submission deposit has been refunded.
1143
+ **/
1144
+ SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId20, amount: u128], {
1145
+ index: u32;
1146
+ who: AccountId20;
1147
+ amount: u128;
1148
+ }>;
1149
+ /**
1150
+ * A referendum has been submitted.
1151
+ **/
1152
+ Submitted: AugmentedEvent<ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], {
1153
+ index: u32;
1154
+ track: u16;
1155
+ proposal: FrameSupportPreimagesBounded;
1156
+ }>;
1157
+ /**
1158
+ * A referendum has been timed out without being decided.
1159
+ **/
1160
+ TimedOut: AugmentedEvent<ApiType, [index: u32, tally: PalletReputationVotingTally], {
1161
+ index: u32;
1162
+ tally: PalletReputationVotingTally;
1163
+ }>;
1164
+ /**
1165
+ * Generic event
1166
+ **/
1167
+ [key: string]: AugmentedEvent<ApiType>;
1168
+ };
1169
+ referral: {
1170
+ /**
1171
+ * An account was registered as a block producer (causing a tree split).
1172
+ **/
1173
+ BlockProducerAdded: AugmentedEvent<ApiType, [producer: AccountId20], {
1174
+ producer: AccountId20;
1175
+ }>;
1176
+ /**
1177
+ * Activation of a pending referral failed (reward distribution error).
1178
+ **/
1179
+ ReferralActivationFailed: AugmentedEvent<ApiType, [referral: AccountId20], {
1180
+ referral: AccountId20;
1181
+ }>;
1182
+ /**
1183
+ * A pending referral was activated and rewards were distributed.
1184
+ **/
1185
+ ReferralActivationSuccessful: AugmentedEvent<ApiType, [referral: AccountId20], {
1186
+ referral: AccountId20;
1187
+ }>;
1188
+ /**
1189
+ * A pending referral relationship was recorded.
1190
+ **/
1191
+ ReferralAdded: AugmentedEvent<ApiType, [referrer: AccountId20, referral: AccountId20], {
1192
+ referrer: AccountId20;
1193
+ referral: AccountId20;
1194
+ }>;
1195
+ /**
1196
+ * Generic event
1197
+ **/
1198
+ [key: string]: AugmentedEvent<ApiType>;
1199
+ };
1200
+ reputationVoting: {
1201
+ /**
1202
+ * A cancelled poll was cleaned up without reputation changes.
1203
+ * Emitted when referenda reports `PollStatus::None` for a pending poll.
1204
+ **/
1205
+ PollCancelled: AugmentedEvent<ApiType, [pollIndex: u32, votersCleaned: u32], {
1206
+ pollIndex: u32;
1207
+ votersCleaned: u32;
1208
+ }>;
1209
+ /**
1210
+ * A poll was automatically processed after completion
1211
+ **/
1212
+ PollProcessed: AugmentedEvent<ApiType, [pollIndex: u32, votersProcessed: u32], {
1213
+ pollIndex: u32;
1214
+ votersProcessed: u32;
1215
+ }>;
1216
+ /**
1217
+ * A vote was cast
1218
+ **/
1219
+ Voted: AugmentedEvent<ApiType, [who: AccountId20, pollIndex: u32, direction: PalletReputationVotingVoteDirection, reputation: u32], {
1220
+ who: AccountId20;
1221
+ pollIndex: u32;
1222
+ direction: PalletReputationVotingVoteDirection;
1223
+ reputation: u32;
1224
+ }>;
1225
+ /**
1226
+ * A vote was removed
1227
+ **/
1228
+ VoteRemoved: AugmentedEvent<ApiType, [who: AccountId20, pollIndex: u32], {
1229
+ who: AccountId20;
1230
+ pollIndex: u32;
1231
+ }>;
1232
+ /**
1233
+ * A vote direction was updated
1234
+ **/
1235
+ VoteUpdated: AugmentedEvent<ApiType, [who: AccountId20, pollIndex: u32, oldDirection: PalletReputationVotingVoteDirection, newDirection: PalletReputationVotingVoteDirection, reputation: u32], {
1236
+ who: AccountId20;
1237
+ pollIndex: u32;
1238
+ oldDirection: PalletReputationVotingVoteDirection;
1239
+ newDirection: PalletReputationVotingVoteDirection;
1240
+ reputation: u32;
1241
+ }>;
1242
+ /**
1243
+ * Voting reputation was automatically updated after poll completion
1244
+ **/
1245
+ VotingReputationUpdated: AugmentedEvent<ApiType, [who: AccountId20, pollIndex: u32, successful: bool, reputationChange: i32, newVotingReputation: i32], {
1246
+ who: AccountId20;
1247
+ pollIndex: u32;
1248
+ successful: bool;
1249
+ reputationChange: i32;
1250
+ newVotingReputation: i32;
1251
+ }>;
1252
+ /**
1253
+ * Generic event
1254
+ **/
1255
+ [key: string]: AugmentedEvent<ApiType>;
1256
+ };
1257
+ rewardPool: {
1258
+ /**
1259
+ * A deposit was made into the reward pool.
1260
+ **/
1261
+ Deposit: AugmentedEvent<ApiType, [value: u128], {
1262
+ value: u128;
1263
+ }>;
1264
+ /**
1265
+ * The recycle share was updated. Affects only future burnable inflows;
1266
+ * existing fund balances are not rebalanced.
1267
+ **/
1268
+ RecycleShareSet: AugmentedEvent<ApiType, [share: Permill], {
1269
+ share: Permill;
1270
+ }>;
1271
+ /**
1272
+ * Event for other unlock outcomes, e.g., errors.
1273
+ **/
1274
+ UnlockFailed: AugmentedEvent<ApiType, [AccountId20]>;
1275
+ /**
1276
+ * Event emitted when an unlock is successful.
1277
+ **/
1278
+ UnlockSuccessful: AugmentedEvent<ApiType, [AccountId20]>;
1279
+ /**
1280
+ * Generic event
1281
+ **/
1282
+ [key: string]: AugmentedEvent<ApiType>;
1283
+ };
1284
+ safeMode: {
1285
+ /**
1286
+ * Could not hold funds for entering or extending the safe-mode.
1287
+ *
1288
+ * This error comes from the underlying `Currency`.
1289
+ **/
1290
+ CannotDeposit: AugmentedEvent<ApiType, []>;
1291
+ /**
1292
+ * Could not release funds for entering or extending the safe-mode.
1293
+ *
1294
+ * This error comes from the underlying `Currency`.
1295
+ **/
1296
+ CannotRelease: AugmentedEvent<ApiType, []>;
1297
+ /**
1298
+ * An account reserved funds for either entering or extending the safe-mode.
1299
+ **/
1300
+ DepositPlaced: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
1301
+ account: AccountId20;
1302
+ amount: u128;
1303
+ }>;
1304
+ /**
1305
+ * An account had a reserve released that was reserved.
1306
+ **/
1307
+ DepositReleased: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
1308
+ account: AccountId20;
1309
+ amount: u128;
1310
+ }>;
1311
+ /**
1312
+ * An account had reserve slashed that was reserved.
1313
+ **/
1314
+ DepositSlashed: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
1315
+ account: AccountId20;
1316
+ amount: u128;
1317
+ }>;
1318
+ /**
1319
+ * The safe-mode was entered until inclusively this block.
1320
+ **/
1321
+ Entered: AugmentedEvent<ApiType, [until: u32], {
1322
+ until: u32;
1323
+ }>;
1324
+ /**
1325
+ * Exited the safe-mode for a specific reason.
1326
+ **/
1327
+ Exited: AugmentedEvent<ApiType, [reason: PalletSafeModeExitReason], {
1328
+ reason: PalletSafeModeExitReason;
1329
+ }>;
1330
+ /**
1331
+ * The safe-mode was extended until inclusively this block.
1332
+ **/
1333
+ Extended: AugmentedEvent<ApiType, [until: u32], {
1334
+ until: u32;
1335
+ }>;
1336
+ /**
1337
+ * Generic event
1338
+ **/
1339
+ [key: string]: AugmentedEvent<ApiType>;
1340
+ };
1341
+ scheduler: {
1342
+ /**
1343
+ * Agenda is incomplete from `when`.
1344
+ **/
1345
+ AgendaIncomplete: AugmentedEvent<ApiType, [when: u32], {
1346
+ when: u32;
1347
+ }>;
1348
+ /**
1349
+ * The call for the provided hash was not found so the task has been aborted.
1350
+ **/
1351
+ CallUnavailable: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1352
+ task: ITuple<[u32, u32]>;
1353
+ id: Option<U8aFixed>;
1354
+ }>;
1355
+ /**
1356
+ * Canceled some task.
1357
+ **/
1358
+ Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], {
1359
+ when: u32;
1360
+ index: u32;
1361
+ }>;
1362
+ /**
1363
+ * Dispatched some task.
1364
+ **/
1365
+ Dispatched: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, result: Result<Null, SpRuntimeDispatchError>], {
1366
+ task: ITuple<[u32, u32]>;
1367
+ id: Option<U8aFixed>;
1368
+ result: Result<Null, SpRuntimeDispatchError>;
1369
+ }>;
1370
+ /**
1371
+ * The given task was unable to be renewed since the agenda is full at that block.
1372
+ **/
1373
+ PeriodicFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1374
+ task: ITuple<[u32, u32]>;
1375
+ id: Option<U8aFixed>;
1376
+ }>;
1377
+ /**
1378
+ * The given task can never be executed since it is overweight.
1379
+ **/
1380
+ PermanentlyOverweight: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1381
+ task: ITuple<[u32, u32]>;
1382
+ id: Option<U8aFixed>;
1383
+ }>;
1384
+ /**
1385
+ * Cancel a retry configuration for some task.
1386
+ **/
1387
+ RetryCancelled: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1388
+ task: ITuple<[u32, u32]>;
1389
+ id: Option<U8aFixed>;
1390
+ }>;
1391
+ /**
1392
+ * The given task was unable to be retried since the agenda is full at that block or there
1393
+ * was not enough weight to reschedule it.
1394
+ **/
1395
+ RetryFailed: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>], {
1396
+ task: ITuple<[u32, u32]>;
1397
+ id: Option<U8aFixed>;
1398
+ }>;
1399
+ /**
1400
+ * Set a retry configuration for some task.
1401
+ **/
1402
+ RetrySet: AugmentedEvent<ApiType, [task: ITuple<[u32, u32]>, id: Option<U8aFixed>, period: u32, retries: u8], {
1403
+ task: ITuple<[u32, u32]>;
1404
+ id: Option<U8aFixed>;
1405
+ period: u32;
1406
+ retries: u8;
1407
+ }>;
1408
+ /**
1409
+ * Scheduled some task.
1410
+ **/
1411
+ Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], {
1412
+ when: u32;
1413
+ index: u32;
1414
+ }>;
1415
+ /**
1416
+ * Generic event
1417
+ **/
1418
+ [key: string]: AugmentedEvent<ApiType>;
1419
+ };
1420
+ session: {
1421
+ /**
1422
+ * The `NewSession` event in the current block also implies a new validator set to be
1423
+ * queued.
1424
+ **/
1425
+ NewQueued: AugmentedEvent<ApiType, []>;
1426
+ /**
1427
+ * New session has happened. Note that the argument is the session index, not the
1428
+ * block number as the type might suggest.
1429
+ **/
1430
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1431
+ sessionIndex: u32;
1432
+ }>;
1433
+ /**
1434
+ * Validator has been disabled.
1435
+ **/
1436
+ ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId20], {
1437
+ validator: AccountId20;
1438
+ }>;
1439
+ /**
1440
+ * Validator has been re-enabled.
1441
+ **/
1442
+ ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId20], {
1443
+ validator: AccountId20;
1444
+ }>;
1445
+ /**
1446
+ * Generic event
1447
+ **/
1448
+ [key: string]: AugmentedEvent<ApiType>;
1449
+ };
1450
+ system: {
1451
+ /**
1452
+ * `:code` was updated.
1453
+ **/
1454
+ CodeUpdated: AugmentedEvent<ApiType, []>;
1455
+ /**
1456
+ * An extrinsic failed.
1457
+ **/
1458
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
1459
+ dispatchError: SpRuntimeDispatchError;
1460
+ dispatchInfo: FrameSystemDispatchEventInfo;
1461
+ }>;
1462
+ /**
1463
+ * An extrinsic completed successfully.
1464
+ **/
1465
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
1466
+ dispatchInfo: FrameSystemDispatchEventInfo;
1467
+ }>;
1468
+ /**
1469
+ * An account was reaped.
1470
+ **/
1471
+ KilledAccount: AugmentedEvent<ApiType, [account: AccountId20], {
1472
+ account: AccountId20;
1473
+ }>;
1474
+ /**
1475
+ * A new account was created.
1476
+ **/
1477
+ NewAccount: AugmentedEvent<ApiType, [account: AccountId20], {
1478
+ account: AccountId20;
1479
+ }>;
1480
+ /**
1481
+ * An invalid authorized upgrade was rejected while trying to apply it.
1482
+ **/
1483
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
1484
+ codeHash: H256;
1485
+ error: SpRuntimeDispatchError;
1486
+ }>;
1487
+ /**
1488
+ * On on-chain remark happened.
1489
+ **/
1490
+ Remarked: AugmentedEvent<ApiType, [sender: AccountId20, hash_: H256], {
1491
+ sender: AccountId20;
1492
+ hash_: H256;
1493
+ }>;
1494
+ /**
1495
+ * An upgrade was authorized.
1496
+ **/
1497
+ UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
1498
+ codeHash: H256;
1499
+ checkVersion: bool;
1500
+ }>;
1501
+ /**
1502
+ * Generic event
1503
+ **/
1504
+ [key: string]: AugmentedEvent<ApiType>;
1505
+ };
1506
+ techCommitteeManager: {
1507
+ /**
1508
+ * A blacklisted member was evicted from the retained committee. May leave it
1509
+ * sub-quorum until eligible candidates register, which is preferred.
1510
+ **/
1511
+ BlacklistedMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], {
1512
+ who: AccountId20;
1513
+ }>;
1514
+ /**
1515
+ * `ForceOrigin` removed `who` from the candidates and banned it from registering
1516
+ * again. `evicted` is whether it also lost a committee seat.
1517
+ **/
1518
+ CandidateForceRemoved: AugmentedEvent<ApiType, [who: AccountId20, evicted: bool], {
1519
+ who: AccountId20;
1520
+ evicted: bool;
1521
+ }>;
1522
+ CandidateRegistered: AugmentedEvent<ApiType, [who: AccountId20], {
1523
+ who: AccountId20;
1524
+ }>;
1525
+ /**
1526
+ * `ForceOrigin` lifted the ban on `who`; it may register again.
1527
+ **/
1528
+ CandidateUnbanned: AugmentedEvent<ApiType, [who: AccountId20], {
1529
+ who: AccountId20;
1530
+ }>;
1531
+ CandidateUnregistered: AugmentedEvent<ApiType, [who: AccountId20], {
1532
+ who: AccountId20;
1533
+ }>;
1534
+ /**
1535
+ * A member below `MinCandidateReputation` was evicted from the retained committee.
1536
+ * Like `BlacklistedMemberEvicted`, it may leave the committee sub-quorum.
1537
+ **/
1538
+ IneligibleMemberEvicted: AugmentedEvent<ApiType, [who: AccountId20], {
1539
+ who: AccountId20;
1540
+ }>;
1541
+ /**
1542
+ * Selection returned no members. Always accompanied by
1543
+ * `TCMemberUpdateFailed { TooFewMembers }`, which an undersized selection emits alone.
1544
+ **/
1545
+ TCMemberSelectionEmpty: AugmentedEvent<ApiType, []>;
1546
+ /**
1547
+ * `do_set_members` rejected the selection; the previous committee and
1548
+ * `SelectedCandidates` are kept.
1549
+ **/
1550
+ TCMemberUpdateFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
1551
+ error: SpRuntimeDispatchError;
1552
+ }>;
1553
+ /**
1554
+ * Generic event
1555
+ **/
1556
+ [key: string]: AugmentedEvent<ApiType>;
1557
+ };
1558
+ technicalCommittee: {
1559
+ /**
1560
+ * A motion was approved by the required threshold.
1561
+ **/
1562
+ Approved: AugmentedEvent<ApiType, [proposalHash: H256], {
1563
+ proposalHash: H256;
1564
+ }>;
1565
+ /**
1566
+ * A proposal was closed because its threshold was reached or after its duration was up.
1567
+ **/
1568
+ Closed: AugmentedEvent<ApiType, [proposalHash: H256, yes: u32, no: u32], {
1569
+ proposalHash: H256;
1570
+ yes: u32;
1571
+ no: u32;
1572
+ }>;
1573
+ /**
1574
+ * A motion was not approved by the required threshold.
1575
+ **/
1576
+ Disapproved: AugmentedEvent<ApiType, [proposalHash: H256], {
1577
+ proposalHash: H256;
1578
+ }>;
1579
+ /**
1580
+ * A motion was executed; result will be `Ok` if it returned without error.
1581
+ **/
1582
+ Executed: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
1583
+ proposalHash: H256;
1584
+ result: Result<Null, SpRuntimeDispatchError>;
1585
+ }>;
1586
+ /**
1587
+ * A proposal was killed.
1588
+ **/
1589
+ Killed: AugmentedEvent<ApiType, [proposalHash: H256], {
1590
+ proposalHash: H256;
1591
+ }>;
1592
+ /**
1593
+ * A single member did some action; result will be `Ok` if it returned without error.
1594
+ **/
1595
+ MemberExecuted: AugmentedEvent<ApiType, [proposalHash: H256, result: Result<Null, SpRuntimeDispatchError>], {
1596
+ proposalHash: H256;
1597
+ result: Result<Null, SpRuntimeDispatchError>;
1598
+ }>;
1599
+ /**
1600
+ * Some cost for storing a proposal was burned.
1601
+ **/
1602
+ ProposalCostBurned: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId20], {
1603
+ proposalHash: H256;
1604
+ who: AccountId20;
1605
+ }>;
1606
+ /**
1607
+ * Some cost for storing a proposal was released.
1608
+ **/
1609
+ ProposalCostReleased: AugmentedEvent<ApiType, [proposalHash: H256, who: AccountId20], {
1610
+ proposalHash: H256;
1611
+ who: AccountId20;
1612
+ }>;
1613
+ /**
1614
+ * A motion (given hash) has been proposed (by given account) with a threshold (given
1615
+ * `MemberCount`).
1616
+ **/
1617
+ Proposed: AugmentedEvent<ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], {
1618
+ account: AccountId20;
1619
+ proposalIndex: u32;
1620
+ proposalHash: H256;
1621
+ threshold: u32;
1622
+ }>;
1623
+ /**
1624
+ * A motion (given hash) has been voted on by given account, leaving
1625
+ * a tally (yes votes and no votes given respectively as `MemberCount`).
1626
+ **/
1627
+ Voted: AugmentedEvent<ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], {
1628
+ account: AccountId20;
1629
+ proposalHash: H256;
1630
+ voted: bool;
1631
+ yes: u32;
1632
+ no: u32;
1633
+ }>;
1634
+ /**
1635
+ * Generic event
1636
+ **/
1637
+ [key: string]: AugmentedEvent<ApiType>;
1638
+ };
1639
+ transactionPayment: {
1640
+ /**
1641
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1642
+ * has been paid by `who`.
1643
+ **/
1644
+ TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId20, actualFee: u128, tip: u128], {
1645
+ who: AccountId20;
1646
+ actualFee: u128;
1647
+ tip: u128;
1648
+ }>;
1649
+ /**
1650
+ * Generic event
1651
+ **/
1652
+ [key: string]: AugmentedEvent<ApiType>;
1653
+ };
1654
+ txPause: {
1655
+ /**
1656
+ * This pallet, or a specific call is now paused.
1657
+ **/
1658
+ CallPaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
1659
+ fullName: ITuple<[Bytes, Bytes]>;
1660
+ }>;
1661
+ /**
1662
+ * This pallet, or a specific call is now unpaused.
1663
+ **/
1664
+ CallUnpaused: AugmentedEvent<ApiType, [fullName: ITuple<[Bytes, Bytes]>], {
1665
+ fullName: ITuple<[Bytes, Bytes]>;
1666
+ }>;
1667
+ /**
1668
+ * Generic event
1669
+ **/
1670
+ [key: string]: AugmentedEvent<ApiType>;
1671
+ };
1672
+ uniques: {
1673
+ /**
1674
+ * An approval for a `delegate` account to transfer the `item` of an item
1675
+ * `collection` was cancelled by its `owner`.
1676
+ **/
1677
+ ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20, delegate: AccountId20], {
1678
+ collection: u32;
1679
+ item: u32;
1680
+ owner: AccountId20;
1681
+ delegate: AccountId20;
1682
+ }>;
1683
+ /**
1684
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1685
+ * a `delegate`.
1686
+ **/
1687
+ ApprovedTransfer: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20, delegate: AccountId20], {
1688
+ collection: u32;
1689
+ item: u32;
1690
+ owner: AccountId20;
1691
+ delegate: AccountId20;
1692
+ }>;
1693
+ /**
1694
+ * Attribute metadata has been cleared for a `collection` or `item`.
1695
+ **/
1696
+ AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes], {
1697
+ collection: u32;
1698
+ maybeItem: Option<u32>;
1699
+ key: Bytes;
1700
+ }>;
1701
+ /**
1702
+ * New attribute metadata has been set for a `collection` or `item`.
1703
+ **/
1704
+ AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes], {
1705
+ collection: u32;
1706
+ maybeItem: Option<u32>;
1707
+ key: Bytes;
1708
+ value: Bytes;
1709
+ }>;
1710
+ /**
1711
+ * An `item` was destroyed.
1712
+ **/
1713
+ Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20], {
1714
+ collection: u32;
1715
+ item: u32;
1716
+ owner: AccountId20;
1717
+ }>;
1718
+ /**
1719
+ * Some `collection` was frozen.
1720
+ **/
1721
+ CollectionFrozen: AugmentedEvent<ApiType, [collection: u32], {
1722
+ collection: u32;
1723
+ }>;
1724
+ /**
1725
+ * Max supply has been set for a collection.
1726
+ **/
1727
+ CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], {
1728
+ collection: u32;
1729
+ maxSupply: u32;
1730
+ }>;
1731
+ /**
1732
+ * Metadata has been cleared for a `collection`.
1733
+ **/
1734
+ CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], {
1735
+ collection: u32;
1736
+ }>;
1737
+ /**
1738
+ * New metadata has been set for a `collection`.
1739
+ **/
1740
+ CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes, isFrozen: bool], {
1741
+ collection: u32;
1742
+ data: Bytes;
1743
+ isFrozen: bool;
1744
+ }>;
1745
+ /**
1746
+ * Some `collection` was thawed.
1747
+ **/
1748
+ CollectionThawed: AugmentedEvent<ApiType, [collection: u32], {
1749
+ collection: u32;
1750
+ }>;
1751
+ /**
1752
+ * A `collection` was created.
1753
+ **/
1754
+ Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId20, owner: AccountId20], {
1755
+ collection: u32;
1756
+ creator: AccountId20;
1757
+ owner: AccountId20;
1758
+ }>;
1759
+ /**
1760
+ * A `collection` was destroyed.
1761
+ **/
1762
+ Destroyed: AugmentedEvent<ApiType, [collection: u32], {
1763
+ collection: u32;
1764
+ }>;
1765
+ /**
1766
+ * A `collection` was force-created.
1767
+ **/
1768
+ ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId20], {
1769
+ collection: u32;
1770
+ owner: AccountId20;
1771
+ }>;
1772
+ /**
1773
+ * Some `item` was frozen.
1774
+ **/
1775
+ Frozen: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1776
+ collection: u32;
1777
+ item: u32;
1778
+ }>;
1779
+ /**
1780
+ * An `item` was issued.
1781
+ **/
1782
+ Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20], {
1783
+ collection: u32;
1784
+ item: u32;
1785
+ owner: AccountId20;
1786
+ }>;
1787
+ /**
1788
+ * An item was bought.
1789
+ **/
1790
+ ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId20, buyer: AccountId20], {
1791
+ collection: u32;
1792
+ item: u32;
1793
+ price: u128;
1794
+ seller: AccountId20;
1795
+ buyer: AccountId20;
1796
+ }>;
1797
+ /**
1798
+ * The price for the instance was removed.
1799
+ **/
1800
+ ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1801
+ collection: u32;
1802
+ item: u32;
1803
+ }>;
1804
+ /**
1805
+ * The price was set for the instance.
1806
+ **/
1807
+ ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId20>], {
1808
+ collection: u32;
1809
+ item: u32;
1810
+ price: u128;
1811
+ whitelistedBuyer: Option<AccountId20>;
1812
+ }>;
1813
+ /**
1814
+ * A `collection` has had its attributes changed by the `Force` origin.
1815
+ **/
1816
+ ItemStatusChanged: AugmentedEvent<ApiType, [collection: u32], {
1817
+ collection: u32;
1818
+ }>;
1819
+ /**
1820
+ * Metadata has been cleared for an item.
1821
+ **/
1822
+ MetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1823
+ collection: u32;
1824
+ item: u32;
1825
+ }>;
1826
+ /**
1827
+ * New metadata has been set for an item.
1828
+ **/
1829
+ MetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes, isFrozen: bool], {
1830
+ collection: u32;
1831
+ item: u32;
1832
+ data: Bytes;
1833
+ isFrozen: bool;
1834
+ }>;
1835
+ /**
1836
+ * The owner changed.
1837
+ **/
1838
+ OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId20], {
1839
+ collection: u32;
1840
+ newOwner: AccountId20;
1841
+ }>;
1842
+ /**
1843
+ * Ownership acceptance has changed for an account.
1844
+ **/
1845
+ OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId20, maybeCollection: Option<u32>], {
1846
+ who: AccountId20;
1847
+ maybeCollection: Option<u32>;
1848
+ }>;
1849
+ /**
1850
+ * Metadata has been cleared for an item.
1851
+ **/
1852
+ Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], {
1853
+ collection: u32;
1854
+ successfulItems: Vec<u32>;
1855
+ }>;
1856
+ /**
1857
+ * The management team changed.
1858
+ **/
1859
+ TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], {
1860
+ collection: u32;
1861
+ issuer: AccountId20;
1862
+ admin: AccountId20;
1863
+ freezer: AccountId20;
1864
+ }>;
1865
+ /**
1866
+ * Some `item` was thawed.
1867
+ **/
1868
+ Thawed: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1869
+ collection: u32;
1870
+ item: u32;
1871
+ }>;
1872
+ /**
1873
+ * An `item` was transferred.
1874
+ **/
1875
+ Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId20, to: AccountId20], {
1876
+ collection: u32;
1877
+ item: u32;
1878
+ from: AccountId20;
1879
+ to: AccountId20;
1880
+ }>;
1881
+ /**
1882
+ * Generic event
1883
+ **/
1884
+ [key: string]: AugmentedEvent<ApiType>;
1885
+ };
1886
+ utility: {
1887
+ /**
1888
+ * Batch of dispatches completed fully with no error.
1889
+ **/
1890
+ BatchCompleted: AugmentedEvent<ApiType, []>;
1891
+ /**
1892
+ * Batch of dispatches completed but has errors.
1893
+ **/
1894
+ BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
1895
+ /**
1896
+ * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
1897
+ * well as the error.
1898
+ **/
1899
+ BatchInterrupted: AugmentedEvent<ApiType, [index: u32, error: SpRuntimeDispatchError], {
1900
+ index: u32;
1901
+ error: SpRuntimeDispatchError;
1902
+ }>;
1903
+ /**
1904
+ * A call was dispatched.
1905
+ **/
1906
+ DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
1907
+ result: Result<Null, SpRuntimeDispatchError>;
1908
+ }>;
1909
+ /**
1910
+ * The fallback call was dispatched.
1911
+ **/
1912
+ IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
1913
+ mainError: SpRuntimeDispatchError;
1914
+ }>;
1915
+ /**
1916
+ * Main call was dispatched.
1917
+ **/
1918
+ IfElseMainSuccess: AugmentedEvent<ApiType, []>;
1919
+ /**
1920
+ * A single item within a Batch of dispatches has completed with no error.
1921
+ **/
1922
+ ItemCompleted: AugmentedEvent<ApiType, []>;
1923
+ /**
1924
+ * A single item within a Batch of dispatches has completed with error.
1925
+ **/
1926
+ ItemFailed: AugmentedEvent<ApiType, [error: SpRuntimeDispatchError], {
1927
+ error: SpRuntimeDispatchError;
1928
+ }>;
1929
+ /**
1930
+ * Generic event
1931
+ **/
1932
+ [key: string]: AugmentedEvent<ApiType>;
1933
+ };
1934
+ validatorManager: {
1935
+ /**
1936
+ * A failed selection retained the previous active set, but without this
1937
+ * equivocator. It stays in the candidate registry, barred by its blacklist
1938
+ * entry, exactly like any other blacklisted candidate on a failed selection.
1939
+ **/
1940
+ EquivocatorDroppedFromActiveSet: AugmentedEvent<ApiType, [who: AccountId20], {
1941
+ who: AccountId20;
1942
+ }>;
1943
+ /**
1944
+ * An offender could not be recorded into the blacklist because the
1945
+ * relevant bounded storage (`OfflineValidators` / `OffenceValidators`)
1946
+ * was full. The reputation penalty is still applied, but the hard
1947
+ * blacklist guarantee (eviction + registration block) is dropped for
1948
+ * this offence report. The drop is **not** retried or replayed when
1949
+ * storage later frees up — only a subsequent fresh report (e.g. the
1950
+ * next session's offline re-report) can record the offender. Surfaces
1951
+ * the otherwise-silent full-storage condition on-chain so indexers and
1952
+ * governance can react (e.g. raise the storage bound).
1953
+ **/
1954
+ OffenderRecordingFailed: AugmentedEvent<ApiType, [who: AccountId20, reason: PalletValidatorManagerEvictionReason], {
1955
+ who: AccountId20;
1956
+ reason: PalletValidatorManagerEvictionReason;
1957
+ }>;
1958
+ /**
1959
+ * A reputation penalty was applied to a validator for an offence.
1960
+ **/
1961
+ ReputationPenaltyApplied: AugmentedEvent<ApiType, [who: AccountId20, penaltyAmount: Perbill, newTotalPenalty: Perbill], {
1962
+ who: AccountId20;
1963
+ penaltyAmount: Perbill;
1964
+ newTotalPenalty: Perbill;
1965
+ }>;
1966
+ /**
1967
+ * A reputation penalty was decayed during session maintenance.
1968
+ **/
1969
+ ReputationPenaltyDecayed: AugmentedEvent<ApiType, [who: AccountId20, decayAmount: Perbill, remainingPenalty: Perbill], {
1970
+ who: AccountId20;
1971
+ decayAmount: Perbill;
1972
+ remainingPenalty: Perbill;
1973
+ }>;
1974
+ /**
1975
+ * A blacklisted account's session keys were removed during maintenance. It cannot be
1976
+ * selected until its entry expires, and must set keys again to rejoin.
1977
+ **/
1978
+ SessionKeysPurged: AugmentedEvent<ApiType, [who: AccountId20], {
1979
+ who: AccountId20;
1980
+ }>;
1981
+ /**
1982
+ * Event that validator is added to the list of validators
1983
+ * it will be activated in the next session
1984
+ **/
1985
+ ValidatorAdded: AugmentedEvent<ApiType, [who: AccountId20], {
1986
+ who: AccountId20;
1987
+ }>;
1988
+ /**
1989
+ * Validator was evicted during maintenance due to an active penalty.
1990
+ **/
1991
+ ValidatorEvicted: AugmentedEvent<ApiType, [who: AccountId20, reason: PalletValidatorManagerEvictionReason], {
1992
+ who: AccountId20;
1993
+ reason: PalletValidatorManagerEvictionReason;
1994
+ }>;
1995
+ /**
1996
+ * Event that validator is removed from the list of validators
1997
+ * it will be activated in the next session
1998
+ **/
1999
+ ValidatorRemoved: AugmentedEvent<ApiType, [who: AccountId20], {
2000
+ who: AccountId20;
2001
+ }>;
2002
+ /**
2003
+ * Validator selection produced fewer validators than `MinValidators`.
2004
+ * The previous validator set and candidate registry are retained, less any
2005
+ * equivocators reported in `EquivocatorDroppedFromActiveSet`.
2006
+ **/
2007
+ ValidatorSelectionFailed: AugmentedEvent<ApiType, [selected: u32, required: u32], {
2008
+ selected: u32;
2009
+ required: u32;
2010
+ }>;
2011
+ /**
2012
+ * Generic event
2013
+ **/
2014
+ [key: string]: AugmentedEvent<ApiType>;
2015
+ };
2016
+ whitelist: {
2017
+ CallWhitelisted: AugmentedEvent<ApiType, [callHash: H256], {
2018
+ callHash: H256;
2019
+ }>;
2020
+ WhitelistedCallDispatched: AugmentedEvent<ApiType, [callHash: H256, result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>], {
2021
+ callHash: H256;
2022
+ result: Result<FrameSupportDispatchPostDispatchInfo, SpRuntimeDispatchErrorWithPostInfo>;
2023
+ }>;
2024
+ WhitelistedCallRemoved: AugmentedEvent<ApiType, [callHash: H256], {
2025
+ callHash: H256;
2026
+ }>;
2027
+ /**
2028
+ * Generic event
2029
+ **/
2030
+ [key: string]: AugmentedEvent<ApiType>;
2031
+ };
2032
+ }
2033
+ }