@storagehub/api-augment 0.1.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 (86) hide show
  1. package/README.md +54 -0
  2. package/biome.json +10 -0
  3. package/dist/index.js +4 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/interfaces/augment-api-consts.js +6 -0
  6. package/dist/interfaces/augment-api-consts.js.map +1 -0
  7. package/dist/interfaces/augment-api-errors.js +6 -0
  8. package/dist/interfaces/augment-api-errors.js.map +1 -0
  9. package/dist/interfaces/augment-api-events.js +6 -0
  10. package/dist/interfaces/augment-api-events.js.map +1 -0
  11. package/dist/interfaces/augment-api-query.js +6 -0
  12. package/dist/interfaces/augment-api-query.js.map +1 -0
  13. package/dist/interfaces/augment-api-rpc.js +6 -0
  14. package/dist/interfaces/augment-api-rpc.js.map +1 -0
  15. package/dist/interfaces/augment-api-runtime.js +6 -0
  16. package/dist/interfaces/augment-api-runtime.js.map +1 -0
  17. package/dist/interfaces/augment-api-tx.js +6 -0
  18. package/dist/interfaces/augment-api-tx.js.map +1 -0
  19. package/dist/interfaces/augment-api.js +10 -0
  20. package/dist/interfaces/augment-api.js.map +1 -0
  21. package/dist/interfaces/augment-types.js +6 -0
  22. package/dist/interfaces/augment-types.js.map +1 -0
  23. package/dist/interfaces/definitions.js +2 -0
  24. package/dist/interfaces/definitions.js.map +1 -0
  25. package/dist/interfaces/index.js +4 -0
  26. package/dist/interfaces/index.js.map +1 -0
  27. package/dist/interfaces/lookup.js +4504 -0
  28. package/dist/interfaces/lookup.js.map +1 -0
  29. package/dist/interfaces/registry.js +6 -0
  30. package/dist/interfaces/registry.js.map +1 -0
  31. package/dist/interfaces/storagehubclient/definitions.js +7 -0
  32. package/dist/interfaces/storagehubclient/definitions.js.map +1 -0
  33. package/dist/interfaces/storagehubclient/index.js +4 -0
  34. package/dist/interfaces/storagehubclient/index.js.map +1 -0
  35. package/dist/interfaces/storagehubclient/runtime.js +152 -0
  36. package/dist/interfaces/storagehubclient/runtime.js.map +1 -0
  37. package/dist/interfaces/storagehubclient/types.js +4 -0
  38. package/dist/interfaces/storagehubclient/types.js.map +1 -0
  39. package/dist/interfaces/types-lookup.js +6 -0
  40. package/dist/interfaces/types-lookup.js.map +1 -0
  41. package/dist/interfaces/types.js +4 -0
  42. package/dist/interfaces/types.js.map +1 -0
  43. package/dist/types/index.d.ts +3 -0
  44. package/dist/types/interfaces/augment-api-consts.d.ts +556 -0
  45. package/dist/types/interfaces/augment-api-errors.d.ts +1195 -0
  46. package/dist/types/interfaces/augment-api-events.d.ts +2070 -0
  47. package/dist/types/interfaces/augment-api-query.d.ts +1439 -0
  48. package/dist/types/interfaces/augment-api-rpc.d.ts +718 -0
  49. package/dist/types/interfaces/augment-api-runtime.d.ts +441 -0
  50. package/dist/types/interfaces/augment-api-tx.d.ts +3039 -0
  51. package/dist/types/interfaces/augment-api.d.ts +7 -0
  52. package/dist/types/interfaces/augment-types.d.ts +1285 -0
  53. package/dist/types/interfaces/definitions.d.ts +1 -0
  54. package/dist/types/interfaces/index.d.ts +1 -0
  55. package/dist/types/interfaces/lookup.d.ts +4179 -0
  56. package/dist/types/interfaces/registry.d.ts +272 -0
  57. package/dist/types/interfaces/storagehubclient/definitions.d.ts +6 -0
  58. package/dist/types/interfaces/storagehubclient/index.d.ts +1 -0
  59. package/dist/types/interfaces/storagehubclient/runtime.d.ts +2 -0
  60. package/dist/types/interfaces/storagehubclient/types.d.ts +198 -0
  61. package/dist/types/interfaces/types-lookup.d.ts +4457 -0
  62. package/dist/types/interfaces/types.d.ts +1 -0
  63. package/package.json +38 -0
  64. package/scripts/scrapeMetadata.ts +77 -0
  65. package/src/index.ts +3 -0
  66. package/src/interfaces/augment-api-consts.ts +570 -0
  67. package/src/interfaces/augment-api-errors.ts +1203 -0
  68. package/src/interfaces/augment-api-events.ts +1836 -0
  69. package/src/interfaces/augment-api-query.ts +1975 -0
  70. package/src/interfaces/augment-api-rpc.ts +1201 -0
  71. package/src/interfaces/augment-api-runtime.ts +707 -0
  72. package/src/interfaces/augment-api-tx.ts +3418 -0
  73. package/src/interfaces/augment-api.ts +10 -0
  74. package/src/interfaces/augment-types.ts +2508 -0
  75. package/src/interfaces/definitions.ts +1 -0
  76. package/src/interfaces/index.ts +4 -0
  77. package/src/interfaces/lookup.ts +4511 -0
  78. package/src/interfaces/registry.ts +546 -0
  79. package/src/interfaces/storagehubclient/definitions.ts +7 -0
  80. package/src/interfaces/storagehubclient/index.ts +4 -0
  81. package/src/interfaces/storagehubclient/runtime.ts +156 -0
  82. package/src/interfaces/storagehubclient/types.ts +241 -0
  83. package/src/interfaces/types-lookup.ts +5623 -0
  84. package/src/interfaces/types.ts +4 -0
  85. package/storagehub.json +1 -0
  86. package/tsconfig.json +22 -0
@@ -0,0 +1,1836 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import "@polkadot/api-base/types/events";
7
+
8
+ import type { ApiTypes, AugmentedEvent } from "@polkadot/api-base/types";
9
+ import type {
10
+ Bytes,
11
+ Null,
12
+ Option,
13
+ Result,
14
+ U8aFixed,
15
+ Vec,
16
+ bool,
17
+ u128,
18
+ u32,
19
+ u64,
20
+ u8
21
+ } from "@polkadot/types-codec";
22
+ import type { ITuple } from "@polkadot/types-codec/types";
23
+ import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime";
24
+ import type {
25
+ CumulusPrimitivesCoreAggregateMessageOrigin,
26
+ FrameSupportDispatchDispatchInfo,
27
+ FrameSupportMessagesProcessMessageError,
28
+ FrameSupportTokensMiscBalanceStatus,
29
+ PalletFileSystemEitherAccountIdOrMspId,
30
+ PalletFileSystemMspRespondStorageRequestsResult,
31
+ PalletNftsAttributeNamespace,
32
+ PalletNftsPalletAttributes,
33
+ PalletNftsPriceWithDirection,
34
+ PalletProofsDealerProof,
35
+ PalletStorageProvidersStorageProviderId,
36
+ PalletStorageProvidersValueProposition,
37
+ ShpTraitsTrieRemoveMutation,
38
+ SpRuntimeDispatchError,
39
+ SpWeightsWeightV2Weight,
40
+ StagingXcmV4AssetAssets,
41
+ StagingXcmV4Location,
42
+ StagingXcmV4Response,
43
+ StagingXcmV4TraitsOutcome,
44
+ StagingXcmV4Xcm,
45
+ StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey,
46
+ StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue,
47
+ XcmV3TraitsError,
48
+ XcmVersionedAssets,
49
+ XcmVersionedLocation
50
+ } from "@polkadot/types/lookup";
51
+
52
+ export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
53
+
54
+ declare module "@polkadot/api-base/types/events" {
55
+ interface AugmentedEvents<ApiType extends ApiTypes> {
56
+ balances: {
57
+ /**
58
+ * A balance was set by root.
59
+ **/
60
+ BalanceSet: AugmentedEvent<
61
+ ApiType,
62
+ [who: AccountId32, free: u128],
63
+ { who: AccountId32; free: u128 }
64
+ >;
65
+ /**
66
+ * Some amount was burned from an account.
67
+ **/
68
+ Burned: AugmentedEvent<
69
+ ApiType,
70
+ [who: AccountId32, amount: u128],
71
+ { who: AccountId32; amount: u128 }
72
+ >;
73
+ /**
74
+ * Some amount was deposited (e.g. for transaction fees).
75
+ **/
76
+ Deposit: AugmentedEvent<
77
+ ApiType,
78
+ [who: AccountId32, amount: u128],
79
+ { who: AccountId32; amount: u128 }
80
+ >;
81
+ /**
82
+ * An account was removed whose balance was non-zero but below ExistentialDeposit,
83
+ * resulting in an outright loss.
84
+ **/
85
+ DustLost: AugmentedEvent<
86
+ ApiType,
87
+ [account: AccountId32, amount: u128],
88
+ { account: AccountId32; amount: u128 }
89
+ >;
90
+ /**
91
+ * An account was created with some free balance.
92
+ **/
93
+ Endowed: AugmentedEvent<
94
+ ApiType,
95
+ [account: AccountId32, freeBalance: u128],
96
+ { account: AccountId32; freeBalance: u128 }
97
+ >;
98
+ /**
99
+ * Some balance was frozen.
100
+ **/
101
+ Frozen: AugmentedEvent<
102
+ ApiType,
103
+ [who: AccountId32, amount: u128],
104
+ { who: AccountId32; amount: u128 }
105
+ >;
106
+ /**
107
+ * Total issuance was increased by `amount`, creating a credit to be balanced.
108
+ **/
109
+ Issued: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
110
+ /**
111
+ * Some balance was locked.
112
+ **/
113
+ Locked: AugmentedEvent<
114
+ ApiType,
115
+ [who: AccountId32, amount: u128],
116
+ { who: AccountId32; amount: u128 }
117
+ >;
118
+ /**
119
+ * Some amount was minted into an account.
120
+ **/
121
+ Minted: AugmentedEvent<
122
+ ApiType,
123
+ [who: AccountId32, amount: u128],
124
+ { who: AccountId32; amount: u128 }
125
+ >;
126
+ /**
127
+ * Total issuance was decreased by `amount`, creating a debt to be balanced.
128
+ **/
129
+ Rescinded: AugmentedEvent<ApiType, [amount: u128], { amount: u128 }>;
130
+ /**
131
+ * Some balance was reserved (moved from free to reserved).
132
+ **/
133
+ Reserved: AugmentedEvent<
134
+ ApiType,
135
+ [who: AccountId32, amount: u128],
136
+ { who: AccountId32; amount: u128 }
137
+ >;
138
+ /**
139
+ * Some balance was moved from the reserve of the first account to the second account.
140
+ * Final argument indicates the destination balance type.
141
+ **/
142
+ ReserveRepatriated: AugmentedEvent<
143
+ ApiType,
144
+ [
145
+ from: AccountId32,
146
+ to: AccountId32,
147
+ amount: u128,
148
+ destinationStatus: FrameSupportTokensMiscBalanceStatus
149
+ ],
150
+ {
151
+ from: AccountId32;
152
+ to: AccountId32;
153
+ amount: u128;
154
+ destinationStatus: FrameSupportTokensMiscBalanceStatus;
155
+ }
156
+ >;
157
+ /**
158
+ * Some amount was restored into an account.
159
+ **/
160
+ Restored: AugmentedEvent<
161
+ ApiType,
162
+ [who: AccountId32, amount: u128],
163
+ { who: AccountId32; amount: u128 }
164
+ >;
165
+ /**
166
+ * Some amount was removed from the account (e.g. for misbehavior).
167
+ **/
168
+ Slashed: AugmentedEvent<
169
+ ApiType,
170
+ [who: AccountId32, amount: u128],
171
+ { who: AccountId32; amount: u128 }
172
+ >;
173
+ /**
174
+ * Some amount was suspended from an account (it can be restored later).
175
+ **/
176
+ Suspended: AugmentedEvent<
177
+ ApiType,
178
+ [who: AccountId32, amount: u128],
179
+ { who: AccountId32; amount: u128 }
180
+ >;
181
+ /**
182
+ * Some balance was thawed.
183
+ **/
184
+ Thawed: AugmentedEvent<
185
+ ApiType,
186
+ [who: AccountId32, amount: u128],
187
+ { who: AccountId32; amount: u128 }
188
+ >;
189
+ /**
190
+ * The `TotalIssuance` was forcefully changed.
191
+ **/
192
+ TotalIssuanceForced: AugmentedEvent<
193
+ ApiType,
194
+ [old: u128, new_: u128],
195
+ { old: u128; new_: u128 }
196
+ >;
197
+ /**
198
+ * Transfer succeeded.
199
+ **/
200
+ Transfer: AugmentedEvent<
201
+ ApiType,
202
+ [from: AccountId32, to: AccountId32, amount: u128],
203
+ { from: AccountId32; to: AccountId32; amount: u128 }
204
+ >;
205
+ /**
206
+ * Some balance was unlocked.
207
+ **/
208
+ Unlocked: AugmentedEvent<
209
+ ApiType,
210
+ [who: AccountId32, amount: u128],
211
+ { who: AccountId32; amount: u128 }
212
+ >;
213
+ /**
214
+ * Some balance was unreserved (moved from reserved to free).
215
+ **/
216
+ Unreserved: AugmentedEvent<
217
+ ApiType,
218
+ [who: AccountId32, amount: u128],
219
+ { who: AccountId32; amount: u128 }
220
+ >;
221
+ /**
222
+ * An account was upgraded.
223
+ **/
224
+ Upgraded: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
225
+ /**
226
+ * Some amount was withdrawn from the account (e.g. for transaction fees).
227
+ **/
228
+ Withdraw: AugmentedEvent<
229
+ ApiType,
230
+ [who: AccountId32, amount: u128],
231
+ { who: AccountId32; amount: u128 }
232
+ >;
233
+ /**
234
+ * Generic event
235
+ **/
236
+ [key: string]: AugmentedEvent<ApiType>;
237
+ };
238
+ bucketNfts: {
239
+ /**
240
+ * Notifies that access to a bucket has been shared with another account.
241
+ **/
242
+ AccessShared: AugmentedEvent<
243
+ ApiType,
244
+ [issuer: AccountId32, recipient: AccountId32],
245
+ { issuer: AccountId32; recipient: AccountId32 }
246
+ >;
247
+ /**
248
+ * Notifies that an item has been burned.
249
+ **/
250
+ ItemBurned: AugmentedEvent<
251
+ ApiType,
252
+ [account: AccountId32, bucket: H256, itemId: u32],
253
+ { account: AccountId32; bucket: H256; itemId: u32 }
254
+ >;
255
+ /**
256
+ * Notifies that the read access for an item has been updated.
257
+ **/
258
+ ItemReadAccessUpdated: AugmentedEvent<
259
+ ApiType,
260
+ [admin: AccountId32, bucket: H256, itemId: u32],
261
+ { admin: AccountId32; bucket: H256; itemId: u32 }
262
+ >;
263
+ /**
264
+ * Generic event
265
+ **/
266
+ [key: string]: AugmentedEvent<ApiType>;
267
+ };
268
+ collatorSelection: {
269
+ /**
270
+ * A new candidate joined.
271
+ **/
272
+ CandidateAdded: AugmentedEvent<
273
+ ApiType,
274
+ [accountId: AccountId32, deposit: u128],
275
+ { accountId: AccountId32; deposit: u128 }
276
+ >;
277
+ /**
278
+ * Bond of a candidate updated.
279
+ **/
280
+ CandidateBondUpdated: AugmentedEvent<
281
+ ApiType,
282
+ [accountId: AccountId32, deposit: u128],
283
+ { accountId: AccountId32; deposit: u128 }
284
+ >;
285
+ /**
286
+ * A candidate was removed.
287
+ **/
288
+ CandidateRemoved: AugmentedEvent<
289
+ ApiType,
290
+ [accountId: AccountId32],
291
+ { accountId: AccountId32 }
292
+ >;
293
+ /**
294
+ * An account was replaced in the candidate list by another one.
295
+ **/
296
+ CandidateReplaced: AugmentedEvent<
297
+ ApiType,
298
+ [old: AccountId32, new_: AccountId32, deposit: u128],
299
+ { old: AccountId32; new_: AccountId32; deposit: u128 }
300
+ >;
301
+ /**
302
+ * An account was unable to be added to the Invulnerables because they did not have keys
303
+ * registered. Other Invulnerables may have been set.
304
+ **/
305
+ InvalidInvulnerableSkipped: AugmentedEvent<
306
+ ApiType,
307
+ [accountId: AccountId32],
308
+ { accountId: AccountId32 }
309
+ >;
310
+ /**
311
+ * A new Invulnerable was added.
312
+ **/
313
+ InvulnerableAdded: AugmentedEvent<
314
+ ApiType,
315
+ [accountId: AccountId32],
316
+ { accountId: AccountId32 }
317
+ >;
318
+ /**
319
+ * An Invulnerable was removed.
320
+ **/
321
+ InvulnerableRemoved: AugmentedEvent<
322
+ ApiType,
323
+ [accountId: AccountId32],
324
+ { accountId: AccountId32 }
325
+ >;
326
+ /**
327
+ * The candidacy bond was set.
328
+ **/
329
+ NewCandidacyBond: AugmentedEvent<ApiType, [bondAmount: u128], { bondAmount: u128 }>;
330
+ /**
331
+ * The number of desired candidates was set.
332
+ **/
333
+ NewDesiredCandidates: AugmentedEvent<
334
+ ApiType,
335
+ [desiredCandidates: u32],
336
+ { desiredCandidates: u32 }
337
+ >;
338
+ /**
339
+ * New Invulnerables were set.
340
+ **/
341
+ NewInvulnerables: AugmentedEvent<
342
+ ApiType,
343
+ [invulnerables: Vec<AccountId32>],
344
+ { invulnerables: Vec<AccountId32> }
345
+ >;
346
+ /**
347
+ * Generic event
348
+ **/
349
+ [key: string]: AugmentedEvent<ApiType>;
350
+ };
351
+ cumulusXcm: {
352
+ /**
353
+ * Downward message executed with the given outcome.
354
+ * \[ id, outcome \]
355
+ **/
356
+ ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, StagingXcmV4TraitsOutcome]>;
357
+ /**
358
+ * Downward message is invalid XCM.
359
+ * \[ id \]
360
+ **/
361
+ InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;
362
+ /**
363
+ * Downward message is unsupported version of XCM.
364
+ * \[ id \]
365
+ **/
366
+ UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;
367
+ /**
368
+ * Generic event
369
+ **/
370
+ [key: string]: AugmentedEvent<ApiType>;
371
+ };
372
+ fileSystem: {
373
+ /**
374
+ * Notifies that a BSP has been accepted to store a given file.
375
+ **/
376
+ AcceptedBspVolunteer: AugmentedEvent<
377
+ ApiType,
378
+ [
379
+ bspId: H256,
380
+ bucketId: H256,
381
+ location: Bytes,
382
+ fingerprint: H256,
383
+ multiaddresses: Vec<Bytes>,
384
+ owner: AccountId32,
385
+ size_: u64
386
+ ],
387
+ {
388
+ bspId: H256;
389
+ bucketId: H256;
390
+ location: Bytes;
391
+ fingerprint: H256;
392
+ multiaddresses: Vec<Bytes>;
393
+ owner: AccountId32;
394
+ size_: u64;
395
+ }
396
+ >;
397
+ /**
398
+ * Notifies that a BSP's challenge cycle has been initialised, adding the first file
399
+ * key(s) to the BSP's Merkle Patricia Forest.
400
+ **/
401
+ BspChallengeCycleInitialised: AugmentedEvent<
402
+ ApiType,
403
+ [who: AccountId32, bspId: H256],
404
+ { who: AccountId32; bspId: H256 }
405
+ >;
406
+ /**
407
+ * Notifies that a BSP confirmed storing a file(s).
408
+ **/
409
+ BspConfirmedStoring: AugmentedEvent<
410
+ ApiType,
411
+ [who: AccountId32, bspId: H256, fileKeys: Vec<H256>, newRoot: H256],
412
+ { who: AccountId32; bspId: H256; fileKeys: Vec<H256>; newRoot: H256 }
413
+ >;
414
+ /**
415
+ * Notifies that a BSP has stopped storing a file.
416
+ **/
417
+ BspConfirmStoppedStoring: AugmentedEvent<
418
+ ApiType,
419
+ [bspId: H256, fileKey: H256, newRoot: H256],
420
+ { bspId: H256; fileKey: H256; newRoot: H256 }
421
+ >;
422
+ /**
423
+ * Notifies that a BSP has opened a request to stop storing a file.
424
+ **/
425
+ BspRequestedToStopStoring: AugmentedEvent<
426
+ ApiType,
427
+ [bspId: H256, fileKey: H256, owner: AccountId32, location: Bytes],
428
+ { bspId: H256; fileKey: H256; owner: AccountId32; location: Bytes }
429
+ >;
430
+ /**
431
+ * Notifies that a bucket's privacy has been updated.
432
+ **/
433
+ BucketPrivacyUpdated: AugmentedEvent<
434
+ ApiType,
435
+ [who: AccountId32, bucketId: H256, collectionId: Option<u32>, private: bool],
436
+ { who: AccountId32; bucketId: H256; collectionId: Option<u32>; private: bool }
437
+ >;
438
+ /**
439
+ * Notifies that a data server has been registered for a move bucket request.
440
+ **/
441
+ DataServerRegisteredForMoveBucket: AugmentedEvent<
442
+ ApiType,
443
+ [bspId: H256, bucketId: H256],
444
+ { bspId: H256; bucketId: H256 }
445
+ >;
446
+ /**
447
+ * Notifies that a priority challenge failed to be queued for pending file deletion.
448
+ **/
449
+ FailedToQueuePriorityChallenge: AugmentedEvent<
450
+ ApiType,
451
+ [user: AccountId32, fileKey: H256],
452
+ { user: AccountId32; fileKey: H256 }
453
+ >;
454
+ /**
455
+ * Notifies that a file will be deleted.
456
+ **/
457
+ FileDeletionRequest: AugmentedEvent<
458
+ ApiType,
459
+ [user: AccountId32, fileKey: H256, bucketId: H256, mspId: H256, proofOfInclusion: bool],
460
+ { user: AccountId32; fileKey: H256; bucketId: H256; mspId: H256; proofOfInclusion: bool }
461
+ >;
462
+ /**
463
+ * Notifies that a bucket has been moved to a new MSP.
464
+ **/
465
+ MoveBucketAccepted: AugmentedEvent<
466
+ ApiType,
467
+ [bucketId: H256, mspId: H256],
468
+ { bucketId: H256; mspId: H256 }
469
+ >;
470
+ /**
471
+ * Notifies that a bucket move request has been rejected by the MSP.
472
+ **/
473
+ MoveBucketRejected: AugmentedEvent<
474
+ ApiType,
475
+ [bucketId: H256, mspId: H256],
476
+ { bucketId: H256; mspId: H256 }
477
+ >;
478
+ /**
479
+ * Notifies that a bucket is being moved to a new MSP.
480
+ **/
481
+ MoveBucketRequested: AugmentedEvent<
482
+ ApiType,
483
+ [who: AccountId32, bucketId: H256, newMspId: H256],
484
+ { who: AccountId32; bucketId: H256; newMspId: H256 }
485
+ >;
486
+ /**
487
+ * Notifies that a move bucket request has expired.
488
+ **/
489
+ MoveBucketRequestExpired: AugmentedEvent<
490
+ ApiType,
491
+ [mspId: H256, bucketId: H256],
492
+ { mspId: H256; bucketId: H256 }
493
+ >;
494
+ /**
495
+ * Notifies that a MSP has responded to storage request(s).
496
+ **/
497
+ MspRespondedToStorageRequests: AugmentedEvent<
498
+ ApiType,
499
+ [results: PalletFileSystemMspRespondStorageRequestsResult],
500
+ { results: PalletFileSystemMspRespondStorageRequestsResult }
501
+ >;
502
+ /**
503
+ * Notifies that a new bucket has been created.
504
+ **/
505
+ NewBucket: AugmentedEvent<
506
+ ApiType,
507
+ [
508
+ who: AccountId32,
509
+ mspId: H256,
510
+ bucketId: H256,
511
+ name: Bytes,
512
+ collectionId: Option<u32>,
513
+ private: bool
514
+ ],
515
+ {
516
+ who: AccountId32;
517
+ mspId: H256;
518
+ bucketId: H256;
519
+ name: Bytes;
520
+ collectionId: Option<u32>;
521
+ private: bool;
522
+ }
523
+ >;
524
+ /**
525
+ * Notifies that a new collection has been created and associated with a bucket.
526
+ **/
527
+ NewCollectionAndAssociation: AugmentedEvent<
528
+ ApiType,
529
+ [who: AccountId32, bucketId: H256, collectionId: u32],
530
+ { who: AccountId32; bucketId: H256; collectionId: u32 }
531
+ >;
532
+ /**
533
+ * Notifies that a new file has been requested to be stored.
534
+ **/
535
+ NewStorageRequest: AugmentedEvent<
536
+ ApiType,
537
+ [
538
+ who: AccountId32,
539
+ fileKey: H256,
540
+ bucketId: H256,
541
+ location: Bytes,
542
+ fingerprint: H256,
543
+ size_: u64,
544
+ peerIds: Vec<Bytes>
545
+ ],
546
+ {
547
+ who: AccountId32;
548
+ fileKey: H256;
549
+ bucketId: H256;
550
+ location: Bytes;
551
+ fingerprint: H256;
552
+ size_: u64;
553
+ peerIds: Vec<Bytes>;
554
+ }
555
+ >;
556
+ /**
557
+ * Notifies that a file key has been queued for a priority challenge for file deletion.
558
+ **/
559
+ PriorityChallengeForFileDeletionQueued: AugmentedEvent<
560
+ ApiType,
561
+ [issuer: PalletFileSystemEitherAccountIdOrMspId, fileKey: H256],
562
+ { issuer: PalletFileSystemEitherAccountIdOrMspId; fileKey: H256 }
563
+ >;
564
+ /**
565
+ * Notifies that a proof has been submitted for a pending file deletion request.
566
+ **/
567
+ ProofSubmittedForPendingFileDeletionRequest: AugmentedEvent<
568
+ ApiType,
569
+ [mspId: H256, user: AccountId32, fileKey: H256, bucketId: H256, proofOfInclusion: bool],
570
+ { mspId: H256; user: AccountId32; fileKey: H256; bucketId: H256; proofOfInclusion: bool }
571
+ >;
572
+ /**
573
+ * Notifies that a SP has stopped storing a file because its owner has become insolvent.
574
+ **/
575
+ SpStopStoringInsolventUser: AugmentedEvent<
576
+ ApiType,
577
+ [spId: H256, fileKey: H256, owner: AccountId32, location: Bytes, newRoot: H256],
578
+ { spId: H256; fileKey: H256; owner: AccountId32; location: Bytes; newRoot: H256 }
579
+ >;
580
+ /**
581
+ * Notifies the expiration of a storage request.
582
+ **/
583
+ StorageRequestExpired: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
584
+ /**
585
+ * Notifies that a storage request for a file key has been fulfilled.
586
+ **/
587
+ StorageRequestFulfilled: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
588
+ /**
589
+ * Notifies that a storage request has been revoked by the user who initiated it.
590
+ **/
591
+ StorageRequestRevoked: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
592
+ /**
593
+ * Generic event
594
+ **/
595
+ [key: string]: AugmentedEvent<ApiType>;
596
+ };
597
+ messageQueue: {
598
+ /**
599
+ * Message placed in overweight queue.
600
+ **/
601
+ OverweightEnqueued: AugmentedEvent<
602
+ ApiType,
603
+ [
604
+ id: U8aFixed,
605
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
606
+ pageIndex: u32,
607
+ messageIndex: u32
608
+ ],
609
+ {
610
+ id: U8aFixed;
611
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
612
+ pageIndex: u32;
613
+ messageIndex: u32;
614
+ }
615
+ >;
616
+ /**
617
+ * This page was reaped.
618
+ **/
619
+ PageReaped: AugmentedEvent<
620
+ ApiType,
621
+ [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32],
622
+ { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 }
623
+ >;
624
+ /**
625
+ * Message is processed.
626
+ **/
627
+ Processed: AugmentedEvent<
628
+ ApiType,
629
+ [
630
+ id: H256,
631
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
632
+ weightUsed: SpWeightsWeightV2Weight,
633
+ success: bool
634
+ ],
635
+ {
636
+ id: H256;
637
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
638
+ weightUsed: SpWeightsWeightV2Weight;
639
+ success: bool;
640
+ }
641
+ >;
642
+ /**
643
+ * Message discarded due to an error in the `MessageProcessor` (usually a format error).
644
+ **/
645
+ ProcessingFailed: AugmentedEvent<
646
+ ApiType,
647
+ [
648
+ id: H256,
649
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
650
+ error: FrameSupportMessagesProcessMessageError
651
+ ],
652
+ {
653
+ id: H256;
654
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin;
655
+ error: FrameSupportMessagesProcessMessageError;
656
+ }
657
+ >;
658
+ /**
659
+ * Generic event
660
+ **/
661
+ [key: string]: AugmentedEvent<ApiType>;
662
+ };
663
+ nfts: {
664
+ /**
665
+ * All approvals of an item got cancelled.
666
+ **/
667
+ AllApprovalsCancelled: AugmentedEvent<
668
+ ApiType,
669
+ [collection: u32, item: u32, owner: AccountId32],
670
+ { collection: u32; item: u32; owner: AccountId32 }
671
+ >;
672
+ /**
673
+ * An approval for a `delegate` account to transfer the `item` of an item
674
+ * `collection` was cancelled by its `owner`.
675
+ **/
676
+ ApprovalCancelled: AugmentedEvent<
677
+ ApiType,
678
+ [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32],
679
+ { collection: u32; item: u32; owner: AccountId32; delegate: AccountId32 }
680
+ >;
681
+ /**
682
+ * Attribute metadata has been cleared for a `collection` or `item`.
683
+ **/
684
+ AttributeCleared: AugmentedEvent<
685
+ ApiType,
686
+ [
687
+ collection: u32,
688
+ maybeItem: Option<u32>,
689
+ key: Bytes,
690
+ namespace: PalletNftsAttributeNamespace
691
+ ],
692
+ {
693
+ collection: u32;
694
+ maybeItem: Option<u32>;
695
+ key: Bytes;
696
+ namespace: PalletNftsAttributeNamespace;
697
+ }
698
+ >;
699
+ /**
700
+ * New attribute metadata has been set for a `collection` or `item`.
701
+ **/
702
+ AttributeSet: AugmentedEvent<
703
+ ApiType,
704
+ [
705
+ collection: u32,
706
+ maybeItem: Option<u32>,
707
+ key: Bytes,
708
+ value: Bytes,
709
+ namespace: PalletNftsAttributeNamespace
710
+ ],
711
+ {
712
+ collection: u32;
713
+ maybeItem: Option<u32>;
714
+ key: Bytes;
715
+ value: Bytes;
716
+ namespace: PalletNftsAttributeNamespace;
717
+ }
718
+ >;
719
+ /**
720
+ * An `item` was destroyed.
721
+ **/
722
+ Burned: AugmentedEvent<
723
+ ApiType,
724
+ [collection: u32, item: u32, owner: AccountId32],
725
+ { collection: u32; item: u32; owner: AccountId32 }
726
+ >;
727
+ /**
728
+ * A `collection` has had its config changed by the `Force` origin.
729
+ **/
730
+ CollectionConfigChanged: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
731
+ /**
732
+ * Some `collection` was locked.
733
+ **/
734
+ CollectionLocked: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
735
+ /**
736
+ * Max supply has been set for a collection.
737
+ **/
738
+ CollectionMaxSupplySet: AugmentedEvent<
739
+ ApiType,
740
+ [collection: u32, maxSupply: u32],
741
+ { collection: u32; maxSupply: u32 }
742
+ >;
743
+ /**
744
+ * Metadata has been cleared for a `collection`.
745
+ **/
746
+ CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
747
+ /**
748
+ * New metadata has been set for a `collection`.
749
+ **/
750
+ CollectionMetadataSet: AugmentedEvent<
751
+ ApiType,
752
+ [collection: u32, data: Bytes],
753
+ { collection: u32; data: Bytes }
754
+ >;
755
+ /**
756
+ * Mint settings for a collection had changed.
757
+ **/
758
+ CollectionMintSettingsUpdated: AugmentedEvent<
759
+ ApiType,
760
+ [collection: u32],
761
+ { collection: u32 }
762
+ >;
763
+ /**
764
+ * A `collection` was created.
765
+ **/
766
+ Created: AugmentedEvent<
767
+ ApiType,
768
+ [collection: u32, creator: AccountId32, owner: AccountId32],
769
+ { collection: u32; creator: AccountId32; owner: AccountId32 }
770
+ >;
771
+ /**
772
+ * A `collection` was destroyed.
773
+ **/
774
+ Destroyed: AugmentedEvent<ApiType, [collection: u32], { collection: u32 }>;
775
+ /**
776
+ * A `collection` was force-created.
777
+ **/
778
+ ForceCreated: AugmentedEvent<
779
+ ApiType,
780
+ [collection: u32, owner: AccountId32],
781
+ { collection: u32; owner: AccountId32 }
782
+ >;
783
+ /**
784
+ * An `item` was issued.
785
+ **/
786
+ Issued: AugmentedEvent<
787
+ ApiType,
788
+ [collection: u32, item: u32, owner: AccountId32],
789
+ { collection: u32; item: u32; owner: AccountId32 }
790
+ >;
791
+ /**
792
+ * A new approval to modify item attributes was added.
793
+ **/
794
+ ItemAttributesApprovalAdded: AugmentedEvent<
795
+ ApiType,
796
+ [collection: u32, item: u32, delegate: AccountId32],
797
+ { collection: u32; item: u32; delegate: AccountId32 }
798
+ >;
799
+ /**
800
+ * A new approval to modify item attributes was removed.
801
+ **/
802
+ ItemAttributesApprovalRemoved: AugmentedEvent<
803
+ ApiType,
804
+ [collection: u32, item: u32, delegate: AccountId32],
805
+ { collection: u32; item: u32; delegate: AccountId32 }
806
+ >;
807
+ /**
808
+ * An item was bought.
809
+ **/
810
+ ItemBought: AugmentedEvent<
811
+ ApiType,
812
+ [collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32],
813
+ { collection: u32; item: u32; price: u128; seller: AccountId32; buyer: AccountId32 }
814
+ >;
815
+ /**
816
+ * Metadata has been cleared for an item.
817
+ **/
818
+ ItemMetadataCleared: AugmentedEvent<
819
+ ApiType,
820
+ [collection: u32, item: u32],
821
+ { collection: u32; item: u32 }
822
+ >;
823
+ /**
824
+ * New metadata has been set for an item.
825
+ **/
826
+ ItemMetadataSet: AugmentedEvent<
827
+ ApiType,
828
+ [collection: u32, item: u32, data: Bytes],
829
+ { collection: u32; item: u32; data: Bytes }
830
+ >;
831
+ /**
832
+ * The price for the item was removed.
833
+ **/
834
+ ItemPriceRemoved: AugmentedEvent<
835
+ ApiType,
836
+ [collection: u32, item: u32],
837
+ { collection: u32; item: u32 }
838
+ >;
839
+ /**
840
+ * The price was set for the item.
841
+ **/
842
+ ItemPriceSet: AugmentedEvent<
843
+ ApiType,
844
+ [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32>],
845
+ { collection: u32; item: u32; price: u128; whitelistedBuyer: Option<AccountId32> }
846
+ >;
847
+ /**
848
+ * `item` metadata or attributes were locked.
849
+ **/
850
+ ItemPropertiesLocked: AugmentedEvent<
851
+ ApiType,
852
+ [collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool],
853
+ { collection: u32; item: u32; lockMetadata: bool; lockAttributes: bool }
854
+ >;
855
+ /**
856
+ * An `item` became non-transferable.
857
+ **/
858
+ ItemTransferLocked: AugmentedEvent<
859
+ ApiType,
860
+ [collection: u32, item: u32],
861
+ { collection: u32; item: u32 }
862
+ >;
863
+ /**
864
+ * An `item` became transferable.
865
+ **/
866
+ ItemTransferUnlocked: AugmentedEvent<
867
+ ApiType,
868
+ [collection: u32, item: u32],
869
+ { collection: u32; item: u32 }
870
+ >;
871
+ /**
872
+ * Event gets emitted when the `NextCollectionId` gets incremented.
873
+ **/
874
+ NextCollectionIdIncremented: AugmentedEvent<
875
+ ApiType,
876
+ [nextId: Option<u32>],
877
+ { nextId: Option<u32> }
878
+ >;
879
+ /**
880
+ * The owner changed.
881
+ **/
882
+ OwnerChanged: AugmentedEvent<
883
+ ApiType,
884
+ [collection: u32, newOwner: AccountId32],
885
+ { collection: u32; newOwner: AccountId32 }
886
+ >;
887
+ /**
888
+ * Ownership acceptance has changed for an account.
889
+ **/
890
+ OwnershipAcceptanceChanged: AugmentedEvent<
891
+ ApiType,
892
+ [who: AccountId32, maybeCollection: Option<u32>],
893
+ { who: AccountId32; maybeCollection: Option<u32> }
894
+ >;
895
+ /**
896
+ * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
897
+ * within that `collection`.
898
+ **/
899
+ PalletAttributeSet: AugmentedEvent<
900
+ ApiType,
901
+ [collection: u32, item: Option<u32>, attribute: PalletNftsPalletAttributes, value: Bytes],
902
+ { collection: u32; item: Option<u32>; attribute: PalletNftsPalletAttributes; value: Bytes }
903
+ >;
904
+ /**
905
+ * New attributes have been set for an `item` of the `collection`.
906
+ **/
907
+ PreSignedAttributesSet: AugmentedEvent<
908
+ ApiType,
909
+ [collection: u32, item: u32, namespace: PalletNftsAttributeNamespace],
910
+ { collection: u32; item: u32; namespace: PalletNftsAttributeNamespace }
911
+ >;
912
+ /**
913
+ * The deposit for a set of `item`s within a `collection` has been updated.
914
+ **/
915
+ Redeposited: AugmentedEvent<
916
+ ApiType,
917
+ [collection: u32, successfulItems: Vec<u32>],
918
+ { collection: u32; successfulItems: Vec<u32> }
919
+ >;
920
+ /**
921
+ * The swap was cancelled.
922
+ **/
923
+ SwapCancelled: AugmentedEvent<
924
+ ApiType,
925
+ [
926
+ offeredCollection: u32,
927
+ offeredItem: u32,
928
+ desiredCollection: u32,
929
+ desiredItem: Option<u32>,
930
+ price: Option<PalletNftsPriceWithDirection>,
931
+ deadline: u32
932
+ ],
933
+ {
934
+ offeredCollection: u32;
935
+ offeredItem: u32;
936
+ desiredCollection: u32;
937
+ desiredItem: Option<u32>;
938
+ price: Option<PalletNftsPriceWithDirection>;
939
+ deadline: u32;
940
+ }
941
+ >;
942
+ /**
943
+ * The swap has been claimed.
944
+ **/
945
+ SwapClaimed: AugmentedEvent<
946
+ ApiType,
947
+ [
948
+ sentCollection: u32,
949
+ sentItem: u32,
950
+ sentItemOwner: AccountId32,
951
+ receivedCollection: u32,
952
+ receivedItem: u32,
953
+ receivedItemOwner: AccountId32,
954
+ price: Option<PalletNftsPriceWithDirection>,
955
+ deadline: u32
956
+ ],
957
+ {
958
+ sentCollection: u32;
959
+ sentItem: u32;
960
+ sentItemOwner: AccountId32;
961
+ receivedCollection: u32;
962
+ receivedItem: u32;
963
+ receivedItemOwner: AccountId32;
964
+ price: Option<PalletNftsPriceWithDirection>;
965
+ deadline: u32;
966
+ }
967
+ >;
968
+ /**
969
+ * An `item` swap intent was created.
970
+ **/
971
+ SwapCreated: AugmentedEvent<
972
+ ApiType,
973
+ [
974
+ offeredCollection: u32,
975
+ offeredItem: u32,
976
+ desiredCollection: u32,
977
+ desiredItem: Option<u32>,
978
+ price: Option<PalletNftsPriceWithDirection>,
979
+ deadline: u32
980
+ ],
981
+ {
982
+ offeredCollection: u32;
983
+ offeredItem: u32;
984
+ desiredCollection: u32;
985
+ desiredItem: Option<u32>;
986
+ price: Option<PalletNftsPriceWithDirection>;
987
+ deadline: u32;
988
+ }
989
+ >;
990
+ /**
991
+ * The management team changed.
992
+ **/
993
+ TeamChanged: AugmentedEvent<
994
+ ApiType,
995
+ [
996
+ collection: u32,
997
+ issuer: Option<AccountId32>,
998
+ admin: Option<AccountId32>,
999
+ freezer: Option<AccountId32>
1000
+ ],
1001
+ {
1002
+ collection: u32;
1003
+ issuer: Option<AccountId32>;
1004
+ admin: Option<AccountId32>;
1005
+ freezer: Option<AccountId32>;
1006
+ }
1007
+ >;
1008
+ /**
1009
+ * A tip was sent.
1010
+ **/
1011
+ TipSent: AugmentedEvent<
1012
+ ApiType,
1013
+ [collection: u32, item: u32, sender: AccountId32, receiver: AccountId32, amount: u128],
1014
+ { collection: u32; item: u32; sender: AccountId32; receiver: AccountId32; amount: u128 }
1015
+ >;
1016
+ /**
1017
+ * An `item` of a `collection` has been approved by the `owner` for transfer by
1018
+ * a `delegate`.
1019
+ **/
1020
+ TransferApproved: AugmentedEvent<
1021
+ ApiType,
1022
+ [
1023
+ collection: u32,
1024
+ item: u32,
1025
+ owner: AccountId32,
1026
+ delegate: AccountId32,
1027
+ deadline: Option<u32>
1028
+ ],
1029
+ {
1030
+ collection: u32;
1031
+ item: u32;
1032
+ owner: AccountId32;
1033
+ delegate: AccountId32;
1034
+ deadline: Option<u32>;
1035
+ }
1036
+ >;
1037
+ /**
1038
+ * An `item` was transferred.
1039
+ **/
1040
+ Transferred: AugmentedEvent<
1041
+ ApiType,
1042
+ [collection: u32, item: u32, from: AccountId32, to: AccountId32],
1043
+ { collection: u32; item: u32; from: AccountId32; to: AccountId32 }
1044
+ >;
1045
+ /**
1046
+ * Generic event
1047
+ **/
1048
+ [key: string]: AugmentedEvent<ApiType>;
1049
+ };
1050
+ parachainSystem: {
1051
+ /**
1052
+ * Downward messages were processed using the given weight.
1053
+ **/
1054
+ DownwardMessagesProcessed: AugmentedEvent<
1055
+ ApiType,
1056
+ [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256],
1057
+ { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 }
1058
+ >;
1059
+ /**
1060
+ * Some downward messages have been received and will be processed.
1061
+ **/
1062
+ DownwardMessagesReceived: AugmentedEvent<ApiType, [count: u32], { count: u32 }>;
1063
+ /**
1064
+ * An upward message was sent to the relay chain.
1065
+ **/
1066
+ UpwardMessageSent: AugmentedEvent<
1067
+ ApiType,
1068
+ [messageHash: Option<U8aFixed>],
1069
+ { messageHash: Option<U8aFixed> }
1070
+ >;
1071
+ /**
1072
+ * The validation function was applied as of the contained relay chain block number.
1073
+ **/
1074
+ ValidationFunctionApplied: AugmentedEvent<
1075
+ ApiType,
1076
+ [relayChainBlockNum: u32],
1077
+ { relayChainBlockNum: u32 }
1078
+ >;
1079
+ /**
1080
+ * The relay-chain aborted the upgrade process.
1081
+ **/
1082
+ ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;
1083
+ /**
1084
+ * The validation function has been scheduled to apply.
1085
+ **/
1086
+ ValidationFunctionStored: AugmentedEvent<ApiType, []>;
1087
+ /**
1088
+ * Generic event
1089
+ **/
1090
+ [key: string]: AugmentedEvent<ApiType>;
1091
+ };
1092
+ parameters: {
1093
+ /**
1094
+ * A Parameter was set.
1095
+ *
1096
+ * Is also emitted when the value was not changed.
1097
+ **/
1098
+ Updated: AugmentedEvent<
1099
+ ApiType,
1100
+ [
1101
+ key: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey,
1102
+ oldValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
1103
+ newValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>
1104
+ ],
1105
+ {
1106
+ key: StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersKey;
1107
+ oldValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
1108
+ newValue: Option<StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
1109
+ }
1110
+ >;
1111
+ /**
1112
+ * Generic event
1113
+ **/
1114
+ [key: string]: AugmentedEvent<ApiType>;
1115
+ };
1116
+ paymentStreams: {
1117
+ /**
1118
+ * Event emitted when a dynamic-rate payment stream is created. Provides information about the User and Provider of the stream
1119
+ * and the initial amount provided.
1120
+ **/
1121
+ DynamicRatePaymentStreamCreated: AugmentedEvent<
1122
+ ApiType,
1123
+ [userAccount: AccountId32, providerId: H256, amountProvided: u64],
1124
+ { userAccount: AccountId32; providerId: H256; amountProvided: u64 }
1125
+ >;
1126
+ /**
1127
+ * Event emitted when a dynamic-rate payment stream is removed. Provides information about the User and Provider of the stream.
1128
+ **/
1129
+ DynamicRatePaymentStreamDeleted: AugmentedEvent<
1130
+ ApiType,
1131
+ [userAccount: AccountId32, providerId: H256],
1132
+ { userAccount: AccountId32; providerId: H256 }
1133
+ >;
1134
+ /**
1135
+ * Event emitted when a dynamic-rate payment stream is updated. Provides information about the User and Provider of the stream
1136
+ * and the new amount provided.
1137
+ **/
1138
+ DynamicRatePaymentStreamUpdated: AugmentedEvent<
1139
+ ApiType,
1140
+ [userAccount: AccountId32, providerId: H256, newAmountProvided: u64],
1141
+ { userAccount: AccountId32; providerId: H256; newAmountProvided: u64 }
1142
+ >;
1143
+ /**
1144
+ * Event emitted when a fixed-rate payment stream is created. Provides information about the Provider and User of the stream
1145
+ * and its initial rate.
1146
+ **/
1147
+ FixedRatePaymentStreamCreated: AugmentedEvent<
1148
+ ApiType,
1149
+ [userAccount: AccountId32, providerId: H256, rate: u128],
1150
+ { userAccount: AccountId32; providerId: H256; rate: u128 }
1151
+ >;
1152
+ /**
1153
+ * Event emitted when a fixed-rate payment stream is removed. Provides information about the User and Provider of the stream.
1154
+ **/
1155
+ FixedRatePaymentStreamDeleted: AugmentedEvent<
1156
+ ApiType,
1157
+ [userAccount: AccountId32, providerId: H256],
1158
+ { userAccount: AccountId32; providerId: H256 }
1159
+ >;
1160
+ /**
1161
+ * Event emitted when a fixed-rate payment stream is updated. Provides information about the User and Provider of the stream
1162
+ * and the new rate of the stream.
1163
+ **/
1164
+ FixedRatePaymentStreamUpdated: AugmentedEvent<
1165
+ ApiType,
1166
+ [userAccount: AccountId32, providerId: H256, newRate: u128],
1167
+ { userAccount: AccountId32; providerId: H256; newRate: u128 }
1168
+ >;
1169
+ /**
1170
+ * Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
1171
+ * the tick number of the last chargeable tick and the price index at that tick.
1172
+ **/
1173
+ LastChargeableInfoUpdated: AugmentedEvent<
1174
+ ApiType,
1175
+ [providerId: H256, lastChargeableTick: u32, lastChargeablePriceIndex: u128],
1176
+ { providerId: H256; lastChargeableTick: u32; lastChargeablePriceIndex: u128 }
1177
+ >;
1178
+ /**
1179
+ * Event emitted when a payment is charged. Provides information about the user that was charged,
1180
+ * the Provider that received the funds, the tick up to which it was charged and the amount that was charged.
1181
+ **/
1182
+ PaymentStreamCharged: AugmentedEvent<
1183
+ ApiType,
1184
+ [
1185
+ userAccount: AccountId32,
1186
+ providerId: H256,
1187
+ amount: u128,
1188
+ lastTickCharged: u32,
1189
+ chargedAtTick: u32
1190
+ ],
1191
+ {
1192
+ userAccount: AccountId32;
1193
+ providerId: H256;
1194
+ amount: u128;
1195
+ lastTickCharged: u32;
1196
+ chargedAtTick: u32;
1197
+ }
1198
+ >;
1199
+ /**
1200
+ * Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has paid all its outstanding debt.
1201
+ **/
1202
+ UserPaidDebts: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
1203
+ /**
1204
+ * Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has waited the cooldown period,
1205
+ * correctly paid all their outstanding debt and can now contract new services again.
1206
+ **/
1207
+ UserSolvent: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
1208
+ /**
1209
+ * Event emitted when a Provider is correctly trying to charge a User and that User does not have enough funds to pay for their services.
1210
+ * This event is emitted to flag the user and let the network know that the user is not paying for the requested services, so other Providers can
1211
+ * stop providing services to that user.
1212
+ **/
1213
+ UserWithoutFunds: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
1214
+ /**
1215
+ * Generic event
1216
+ **/
1217
+ [key: string]: AugmentedEvent<ApiType>;
1218
+ };
1219
+ polkadotXcm: {
1220
+ /**
1221
+ * Some assets have been claimed from an asset trap
1222
+ **/
1223
+ AssetsClaimed: AugmentedEvent<
1224
+ ApiType,
1225
+ [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets],
1226
+ { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
1227
+ >;
1228
+ /**
1229
+ * Some assets have been placed in an asset trap.
1230
+ **/
1231
+ AssetsTrapped: AugmentedEvent<
1232
+ ApiType,
1233
+ [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets],
1234
+ { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets }
1235
+ >;
1236
+ /**
1237
+ * Execution of an XCM message was attempted.
1238
+ **/
1239
+ Attempted: AugmentedEvent<
1240
+ ApiType,
1241
+ [outcome: StagingXcmV4TraitsOutcome],
1242
+ { outcome: StagingXcmV4TraitsOutcome }
1243
+ >;
1244
+ /**
1245
+ * Fees were paid from a location for an operation (often for using `SendXcm`).
1246
+ **/
1247
+ FeesPaid: AugmentedEvent<
1248
+ ApiType,
1249
+ [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets],
1250
+ { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets }
1251
+ >;
1252
+ /**
1253
+ * Expected query response has been received but the querier location of the response does
1254
+ * not match the expected. The query remains registered for a later, valid, response to
1255
+ * be received and acted upon.
1256
+ **/
1257
+ InvalidQuerier: AugmentedEvent<
1258
+ ApiType,
1259
+ [
1260
+ origin: StagingXcmV4Location,
1261
+ queryId: u64,
1262
+ expectedQuerier: StagingXcmV4Location,
1263
+ maybeActualQuerier: Option<StagingXcmV4Location>
1264
+ ],
1265
+ {
1266
+ origin: StagingXcmV4Location;
1267
+ queryId: u64;
1268
+ expectedQuerier: StagingXcmV4Location;
1269
+ maybeActualQuerier: Option<StagingXcmV4Location>;
1270
+ }
1271
+ >;
1272
+ /**
1273
+ * Expected query response has been received but the expected querier location placed in
1274
+ * storage by this runtime previously cannot be decoded. The query remains registered.
1275
+ *
1276
+ * This is unexpected (since a location placed in storage in a previously executing
1277
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
1278
+ * valid response will be dropped. Manual governance intervention is probably going to be
1279
+ * needed.
1280
+ **/
1281
+ InvalidQuerierVersion: AugmentedEvent<
1282
+ ApiType,
1283
+ [origin: StagingXcmV4Location, queryId: u64],
1284
+ { origin: StagingXcmV4Location; queryId: u64 }
1285
+ >;
1286
+ /**
1287
+ * Expected query response has been received but the origin location of the response does
1288
+ * not match that expected. The query remains registered for a later, valid, response to
1289
+ * be received and acted upon.
1290
+ **/
1291
+ InvalidResponder: AugmentedEvent<
1292
+ ApiType,
1293
+ [
1294
+ origin: StagingXcmV4Location,
1295
+ queryId: u64,
1296
+ expectedLocation: Option<StagingXcmV4Location>
1297
+ ],
1298
+ {
1299
+ origin: StagingXcmV4Location;
1300
+ queryId: u64;
1301
+ expectedLocation: Option<StagingXcmV4Location>;
1302
+ }
1303
+ >;
1304
+ /**
1305
+ * Expected query response has been received but the expected origin location placed in
1306
+ * storage by this runtime previously cannot be decoded. The query remains registered.
1307
+ *
1308
+ * This is unexpected (since a location placed in storage in a previously executing
1309
+ * runtime should be readable prior to query timeout) and dangerous since the possibly
1310
+ * valid response will be dropped. Manual governance intervention is probably going to be
1311
+ * needed.
1312
+ **/
1313
+ InvalidResponderVersion: AugmentedEvent<
1314
+ ApiType,
1315
+ [origin: StagingXcmV4Location, queryId: u64],
1316
+ { origin: StagingXcmV4Location; queryId: u64 }
1317
+ >;
1318
+ /**
1319
+ * Query response has been received and query is removed. The registered notification has
1320
+ * been dispatched and executed successfully.
1321
+ **/
1322
+ Notified: AugmentedEvent<
1323
+ ApiType,
1324
+ [queryId: u64, palletIndex: u8, callIndex: u8],
1325
+ { queryId: u64; palletIndex: u8; callIndex: u8 }
1326
+ >;
1327
+ /**
1328
+ * Query response has been received and query is removed. The dispatch was unable to be
1329
+ * decoded into a `Call`; this might be due to dispatch function having a signature which
1330
+ * is not `(origin, QueryId, Response)`.
1331
+ **/
1332
+ NotifyDecodeFailed: AugmentedEvent<
1333
+ ApiType,
1334
+ [queryId: u64, palletIndex: u8, callIndex: u8],
1335
+ { queryId: u64; palletIndex: u8; callIndex: u8 }
1336
+ >;
1337
+ /**
1338
+ * Query response has been received and query is removed. There was a general error with
1339
+ * dispatching the notification call.
1340
+ **/
1341
+ NotifyDispatchError: AugmentedEvent<
1342
+ ApiType,
1343
+ [queryId: u64, palletIndex: u8, callIndex: u8],
1344
+ { queryId: u64; palletIndex: u8; callIndex: u8 }
1345
+ >;
1346
+ /**
1347
+ * Query response has been received and query is removed. The registered notification
1348
+ * could not be dispatched because the dispatch weight is greater than the maximum weight
1349
+ * originally budgeted by this runtime for the query result.
1350
+ **/
1351
+ NotifyOverweight: AugmentedEvent<
1352
+ ApiType,
1353
+ [
1354
+ queryId: u64,
1355
+ palletIndex: u8,
1356
+ callIndex: u8,
1357
+ actualWeight: SpWeightsWeightV2Weight,
1358
+ maxBudgetedWeight: SpWeightsWeightV2Weight
1359
+ ],
1360
+ {
1361
+ queryId: u64;
1362
+ palletIndex: u8;
1363
+ callIndex: u8;
1364
+ actualWeight: SpWeightsWeightV2Weight;
1365
+ maxBudgetedWeight: SpWeightsWeightV2Weight;
1366
+ }
1367
+ >;
1368
+ /**
1369
+ * A given location which had a version change subscription was dropped owing to an error
1370
+ * migrating the location to our new XCM format.
1371
+ **/
1372
+ NotifyTargetMigrationFail: AugmentedEvent<
1373
+ ApiType,
1374
+ [location: XcmVersionedLocation, queryId: u64],
1375
+ { location: XcmVersionedLocation; queryId: u64 }
1376
+ >;
1377
+ /**
1378
+ * A given location which had a version change subscription was dropped owing to an error
1379
+ * sending the notification to it.
1380
+ **/
1381
+ NotifyTargetSendFail: AugmentedEvent<
1382
+ ApiType,
1383
+ [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError],
1384
+ { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError }
1385
+ >;
1386
+ /**
1387
+ * Query response has been received and is ready for taking with `take_response`. There is
1388
+ * no registered notification call.
1389
+ **/
1390
+ ResponseReady: AugmentedEvent<
1391
+ ApiType,
1392
+ [queryId: u64, response: StagingXcmV4Response],
1393
+ { queryId: u64; response: StagingXcmV4Response }
1394
+ >;
1395
+ /**
1396
+ * Received query response has been read and removed.
1397
+ **/
1398
+ ResponseTaken: AugmentedEvent<ApiType, [queryId: u64], { queryId: u64 }>;
1399
+ /**
1400
+ * A XCM message was sent.
1401
+ **/
1402
+ Sent: AugmentedEvent<
1403
+ ApiType,
1404
+ [
1405
+ origin: StagingXcmV4Location,
1406
+ destination: StagingXcmV4Location,
1407
+ message: StagingXcmV4Xcm,
1408
+ messageId: U8aFixed
1409
+ ],
1410
+ {
1411
+ origin: StagingXcmV4Location;
1412
+ destination: StagingXcmV4Location;
1413
+ message: StagingXcmV4Xcm;
1414
+ messageId: U8aFixed;
1415
+ }
1416
+ >;
1417
+ /**
1418
+ * The supported version of a location has been changed. This might be through an
1419
+ * automatic notification or a manual intervention.
1420
+ **/
1421
+ SupportedVersionChanged: AugmentedEvent<
1422
+ ApiType,
1423
+ [location: StagingXcmV4Location, version: u32],
1424
+ { location: StagingXcmV4Location; version: u32 }
1425
+ >;
1426
+ /**
1427
+ * Query response received which does not match a registered query. This may be because a
1428
+ * matching query was never registered, it may be because it is a duplicate response, or
1429
+ * because the query timed out.
1430
+ **/
1431
+ UnexpectedResponse: AugmentedEvent<
1432
+ ApiType,
1433
+ [origin: StagingXcmV4Location, queryId: u64],
1434
+ { origin: StagingXcmV4Location; queryId: u64 }
1435
+ >;
1436
+ /**
1437
+ * An XCM version change notification message has been attempted to be sent.
1438
+ *
1439
+ * The cost of sending it (borne by the chain) is included.
1440
+ **/
1441
+ VersionChangeNotified: AugmentedEvent<
1442
+ ApiType,
1443
+ [
1444
+ destination: StagingXcmV4Location,
1445
+ result: u32,
1446
+ cost: StagingXcmV4AssetAssets,
1447
+ messageId: U8aFixed
1448
+ ],
1449
+ {
1450
+ destination: StagingXcmV4Location;
1451
+ result: u32;
1452
+ cost: StagingXcmV4AssetAssets;
1453
+ messageId: U8aFixed;
1454
+ }
1455
+ >;
1456
+ /**
1457
+ * A XCM version migration finished.
1458
+ **/
1459
+ VersionMigrationFinished: AugmentedEvent<ApiType, [version: u32], { version: u32 }>;
1460
+ /**
1461
+ * We have requested that a remote chain send us XCM version change notifications.
1462
+ **/
1463
+ VersionNotifyRequested: AugmentedEvent<
1464
+ ApiType,
1465
+ [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed],
1466
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed }
1467
+ >;
1468
+ /**
1469
+ * A remote has requested XCM version change notification from us and we have honored it.
1470
+ * A version information message is sent to them and its cost is included.
1471
+ **/
1472
+ VersionNotifyStarted: AugmentedEvent<
1473
+ ApiType,
1474
+ [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed],
1475
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed }
1476
+ >;
1477
+ /**
1478
+ * We have requested that a remote chain stops sending us XCM version change
1479
+ * notifications.
1480
+ **/
1481
+ VersionNotifyUnrequested: AugmentedEvent<
1482
+ ApiType,
1483
+ [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed],
1484
+ { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed }
1485
+ >;
1486
+ /**
1487
+ * Generic event
1488
+ **/
1489
+ [key: string]: AugmentedEvent<ApiType>;
1490
+ };
1491
+ proofsDealer: {
1492
+ /**
1493
+ * The [`ChallengesTicker`] has been paused or unpaused.
1494
+ **/
1495
+ ChallengesTickerSet: AugmentedEvent<ApiType, [paused: bool], { paused: bool }>;
1496
+ /**
1497
+ * A set of mutations has been applied to the Forest.
1498
+ **/
1499
+ MutationsApplied: AugmentedEvent<
1500
+ ApiType,
1501
+ [
1502
+ provider: H256,
1503
+ mutations: Vec<ITuple<[H256, ShpTraitsTrieRemoveMutation]>>,
1504
+ newRoot: H256
1505
+ ],
1506
+ {
1507
+ provider: H256;
1508
+ mutations: Vec<ITuple<[H256, ShpTraitsTrieRemoveMutation]>>;
1509
+ newRoot: H256;
1510
+ }
1511
+ >;
1512
+ /**
1513
+ * A manual challenge was submitted.
1514
+ **/
1515
+ NewChallenge: AugmentedEvent<
1516
+ ApiType,
1517
+ [who: AccountId32, keyChallenged: H256],
1518
+ { who: AccountId32; keyChallenged: H256 }
1519
+ >;
1520
+ /**
1521
+ * A provider's challenge cycle was initialised.
1522
+ **/
1523
+ NewChallengeCycleInitialised: AugmentedEvent<
1524
+ ApiType,
1525
+ [
1526
+ currentTick: u32,
1527
+ nextChallengeDeadline: u32,
1528
+ provider: H256,
1529
+ maybeProviderAccount: Option<AccountId32>
1530
+ ],
1531
+ {
1532
+ currentTick: u32;
1533
+ nextChallengeDeadline: u32;
1534
+ provider: H256;
1535
+ maybeProviderAccount: Option<AccountId32>;
1536
+ }
1537
+ >;
1538
+ /**
1539
+ * A new challenge seed was generated.
1540
+ **/
1541
+ NewChallengeSeed: AugmentedEvent<
1542
+ ApiType,
1543
+ [challengesTicker: u32, seed: H256],
1544
+ { challengesTicker: u32; seed: H256 }
1545
+ >;
1546
+ /**
1547
+ * A new checkpoint challenge was generated.
1548
+ **/
1549
+ NewCheckpointChallenge: AugmentedEvent<
1550
+ ApiType,
1551
+ [
1552
+ challengesTicker: u32,
1553
+ challenges: Vec<ITuple<[H256, Option<ShpTraitsTrieRemoveMutation>]>>
1554
+ ],
1555
+ {
1556
+ challengesTicker: u32;
1557
+ challenges: Vec<ITuple<[H256, Option<ShpTraitsTrieRemoveMutation>]>>;
1558
+ }
1559
+ >;
1560
+ /**
1561
+ * No record of the last tick the Provider submitted a proof for.
1562
+ **/
1563
+ NoRecordOfLastSubmittedProof: AugmentedEvent<ApiType, [provider: H256], { provider: H256 }>;
1564
+ /**
1565
+ * A proof was accepted.
1566
+ **/
1567
+ ProofAccepted: AugmentedEvent<
1568
+ ApiType,
1569
+ [provider: H256, proof: PalletProofsDealerProof],
1570
+ { provider: H256; proof: PalletProofsDealerProof }
1571
+ >;
1572
+ /**
1573
+ * A provider was marked as slashable and their challenge deadline was forcefully pushed.
1574
+ **/
1575
+ SlashableProvider: AugmentedEvent<
1576
+ ApiType,
1577
+ [provider: H256, nextChallengeDeadline: u32],
1578
+ { provider: H256; nextChallengeDeadline: u32 }
1579
+ >;
1580
+ /**
1581
+ * Generic event
1582
+ **/
1583
+ [key: string]: AugmentedEvent<ApiType>;
1584
+ };
1585
+ providers: {
1586
+ /**
1587
+ * Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
1588
+ * that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
1589
+ **/
1590
+ BspRequestSignUpSuccess: AugmentedEvent<
1591
+ ApiType,
1592
+ [who: AccountId32, multiaddresses: Vec<Bytes>, capacity: u64],
1593
+ { who: AccountId32; multiaddresses: Vec<Bytes>; capacity: u64 }
1594
+ >;
1595
+ /**
1596
+ * Event emitted when a Backup Storage Provider has signed off successfully. Provides information about
1597
+ * that BSP's account id.
1598
+ **/
1599
+ BspSignOffSuccess: AugmentedEvent<
1600
+ ApiType,
1601
+ [who: AccountId32, bspId: H256],
1602
+ { who: AccountId32; bspId: H256 }
1603
+ >;
1604
+ /**
1605
+ * Event emitted when a Backup Storage Provider has confirmed its sign up successfully. Provides information about
1606
+ * that BSP's account id, the total data it can store according to its stake, and its multiaddress.
1607
+ **/
1608
+ BspSignUpSuccess: AugmentedEvent<
1609
+ ApiType,
1610
+ [who: AccountId32, bspId: H256, multiaddresses: Vec<Bytes>, capacity: u64],
1611
+ { who: AccountId32; bspId: H256; multiaddresses: Vec<Bytes>; capacity: u64 }
1612
+ >;
1613
+ /**
1614
+ * Event emitted when a SP has changed its capacity successfully. Provides information about
1615
+ * that SP's account id, its old total data that could store, and the new total data.
1616
+ **/
1617
+ CapacityChanged: AugmentedEvent<
1618
+ ApiType,
1619
+ [
1620
+ who: AccountId32,
1621
+ providerId: PalletStorageProvidersStorageProviderId,
1622
+ oldCapacity: u64,
1623
+ newCapacity: u64,
1624
+ nextBlockWhenChangeAllowed: u32
1625
+ ],
1626
+ {
1627
+ who: AccountId32;
1628
+ providerId: PalletStorageProvidersStorageProviderId;
1629
+ oldCapacity: u64;
1630
+ newCapacity: u64;
1631
+ nextBlockWhenChangeAllowed: u32;
1632
+ }
1633
+ >;
1634
+ /**
1635
+ * Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
1636
+ * that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
1637
+ **/
1638
+ MspRequestSignUpSuccess: AugmentedEvent<
1639
+ ApiType,
1640
+ [
1641
+ who: AccountId32,
1642
+ multiaddresses: Vec<Bytes>,
1643
+ capacity: u64,
1644
+ valueProp: PalletStorageProvidersValueProposition
1645
+ ],
1646
+ {
1647
+ who: AccountId32;
1648
+ multiaddresses: Vec<Bytes>;
1649
+ capacity: u64;
1650
+ valueProp: PalletStorageProvidersValueProposition;
1651
+ }
1652
+ >;
1653
+ /**
1654
+ * Event emitted when a Main Storage Provider has signed off successfully. Provides information about
1655
+ * that MSP's account id.
1656
+ **/
1657
+ MspSignOffSuccess: AugmentedEvent<
1658
+ ApiType,
1659
+ [who: AccountId32, mspId: H256],
1660
+ { who: AccountId32; mspId: H256 }
1661
+ >;
1662
+ /**
1663
+ * Event emitted when a Main Storage Provider has confirmed its sign up successfully. Provides information about
1664
+ * that MSP's account id, the total data it can store according to its stake, its multiaddress, and its value proposition.
1665
+ **/
1666
+ MspSignUpSuccess: AugmentedEvent<
1667
+ ApiType,
1668
+ [
1669
+ who: AccountId32,
1670
+ mspId: H256,
1671
+ multiaddresses: Vec<Bytes>,
1672
+ capacity: u64,
1673
+ valueProp: PalletStorageProvidersValueProposition
1674
+ ],
1675
+ {
1676
+ who: AccountId32;
1677
+ mspId: H256;
1678
+ multiaddresses: Vec<Bytes>;
1679
+ capacity: u64;
1680
+ valueProp: PalletStorageProvidersValueProposition;
1681
+ }
1682
+ >;
1683
+ /**
1684
+ * Event emitted when a sign up request has been canceled successfully. Provides information about
1685
+ * the account id of the user that canceled the request.
1686
+ **/
1687
+ SignUpRequestCanceled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
1688
+ /**
1689
+ * Event emitted when an SP has been slashed.
1690
+ **/
1691
+ Slashed: AugmentedEvent<
1692
+ ApiType,
1693
+ [providerId: H256, amountSlashed: u128],
1694
+ { providerId: H256; amountSlashed: u128 }
1695
+ >;
1696
+ /**
1697
+ * Generic event
1698
+ **/
1699
+ [key: string]: AugmentedEvent<ApiType>;
1700
+ };
1701
+ randomness: {
1702
+ /**
1703
+ * Event emitted when a new random seed is available from the relay chain
1704
+ **/
1705
+ NewOneEpochAgoRandomnessAvailable: AugmentedEvent<
1706
+ ApiType,
1707
+ [randomnessSeed: H256, fromEpoch: u64, validUntilBlock: u32],
1708
+ { randomnessSeed: H256; fromEpoch: u64; validUntilBlock: u32 }
1709
+ >;
1710
+ /**
1711
+ * Generic event
1712
+ **/
1713
+ [key: string]: AugmentedEvent<ApiType>;
1714
+ };
1715
+ session: {
1716
+ /**
1717
+ * New session has happened. Note that the argument is the session index, not the
1718
+ * block number as the type might suggest.
1719
+ **/
1720
+ NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], { sessionIndex: u32 }>;
1721
+ /**
1722
+ * Generic event
1723
+ **/
1724
+ [key: string]: AugmentedEvent<ApiType>;
1725
+ };
1726
+ sudo: {
1727
+ /**
1728
+ * The sudo key has been updated.
1729
+ **/
1730
+ KeyChanged: AugmentedEvent<
1731
+ ApiType,
1732
+ [old: Option<AccountId32>, new_: AccountId32],
1733
+ { old: Option<AccountId32>; new_: AccountId32 }
1734
+ >;
1735
+ /**
1736
+ * The key was permanently removed.
1737
+ **/
1738
+ KeyRemoved: AugmentedEvent<ApiType, []>;
1739
+ /**
1740
+ * A sudo call just took place.
1741
+ **/
1742
+ Sudid: AugmentedEvent<
1743
+ ApiType,
1744
+ [sudoResult: Result<Null, SpRuntimeDispatchError>],
1745
+ { sudoResult: Result<Null, SpRuntimeDispatchError> }
1746
+ >;
1747
+ /**
1748
+ * A [sudo_as](Pallet::sudo_as) call just took place.
1749
+ **/
1750
+ SudoAsDone: AugmentedEvent<
1751
+ ApiType,
1752
+ [sudoResult: Result<Null, SpRuntimeDispatchError>],
1753
+ { sudoResult: Result<Null, SpRuntimeDispatchError> }
1754
+ >;
1755
+ /**
1756
+ * Generic event
1757
+ **/
1758
+ [key: string]: AugmentedEvent<ApiType>;
1759
+ };
1760
+ system: {
1761
+ /**
1762
+ * `:code` was updated.
1763
+ **/
1764
+ CodeUpdated: AugmentedEvent<ApiType, []>;
1765
+ /**
1766
+ * An extrinsic failed.
1767
+ **/
1768
+ ExtrinsicFailed: AugmentedEvent<
1769
+ ApiType,
1770
+ [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo],
1771
+ { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo }
1772
+ >;
1773
+ /**
1774
+ * An extrinsic completed successfully.
1775
+ **/
1776
+ ExtrinsicSuccess: AugmentedEvent<
1777
+ ApiType,
1778
+ [dispatchInfo: FrameSupportDispatchDispatchInfo],
1779
+ { dispatchInfo: FrameSupportDispatchDispatchInfo }
1780
+ >;
1781
+ /**
1782
+ * An account was reaped.
1783
+ **/
1784
+ KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1785
+ /**
1786
+ * A new account was created.
1787
+ **/
1788
+ NewAccount: AugmentedEvent<ApiType, [account: AccountId32], { account: AccountId32 }>;
1789
+ /**
1790
+ * On on-chain remark happened.
1791
+ **/
1792
+ Remarked: AugmentedEvent<
1793
+ ApiType,
1794
+ [sender: AccountId32, hash_: H256],
1795
+ { sender: AccountId32; hash_: H256 }
1796
+ >;
1797
+ /**
1798
+ * An upgrade was authorized.
1799
+ **/
1800
+ UpgradeAuthorized: AugmentedEvent<
1801
+ ApiType,
1802
+ [codeHash: H256, checkVersion: bool],
1803
+ { codeHash: H256; checkVersion: bool }
1804
+ >;
1805
+ /**
1806
+ * Generic event
1807
+ **/
1808
+ [key: string]: AugmentedEvent<ApiType>;
1809
+ };
1810
+ transactionPayment: {
1811
+ /**
1812
+ * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1813
+ * has been paid by `who`.
1814
+ **/
1815
+ TransactionFeePaid: AugmentedEvent<
1816
+ ApiType,
1817
+ [who: AccountId32, actualFee: u128, tip: u128],
1818
+ { who: AccountId32; actualFee: u128; tip: u128 }
1819
+ >;
1820
+ /**
1821
+ * Generic event
1822
+ **/
1823
+ [key: string]: AugmentedEvent<ApiType>;
1824
+ };
1825
+ xcmpQueue: {
1826
+ /**
1827
+ * An HRMP message was sent to a sibling parachain.
1828
+ **/
1829
+ XcmpMessageSent: AugmentedEvent<ApiType, [messageHash: U8aFixed], { messageHash: U8aFixed }>;
1830
+ /**
1831
+ * Generic event
1832
+ **/
1833
+ [key: string]: AugmentedEvent<ApiType>;
1834
+ };
1835
+ } // AugmentedEvents
1836
+ } // declare module