@storagehub/api-augment 0.2.14 → 0.4.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 (85) hide show
  1. package/dist/parachain/interfaces/augment-api-consts.js +1 -1
  2. package/dist/parachain/interfaces/augment-api-errors.js +1 -1
  3. package/dist/parachain/interfaces/augment-api-events.js +1 -1
  4. package/dist/parachain/interfaces/augment-api-query.js +1 -1
  5. package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
  6. package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
  7. package/dist/parachain/interfaces/augment-api-tx.js +1 -1
  8. package/dist/parachain/interfaces/augment-api.js +7 -7
  9. package/dist/parachain/interfaces/augment-types.js +1 -1
  10. package/dist/parachain/interfaces/index.js +1 -1
  11. package/dist/parachain/interfaces/lookup.js +2785 -2373
  12. package/dist/parachain/interfaces/lookup.js.map +1 -1
  13. package/dist/parachain/interfaces/registry.js +1 -1
  14. package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
  15. package/dist/parachain/interfaces/storagehubclient/runtime.js +5 -0
  16. package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -1
  17. package/dist/parachain/interfaces/types-lookup.js +1 -1
  18. package/dist/parachain/interfaces/types.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  25. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  26. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  27. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  28. package/dist/solochain-evm/interfaces/index.js +1 -1
  29. package/dist/solochain-evm/interfaces/lookup.js +2029 -1659
  30. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  31. package/dist/solochain-evm/interfaces/registry.js +1 -1
  32. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  33. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  34. package/dist/solochain-evm/interfaces/types.js +1 -1
  35. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  36. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +7 -3
  37. package/dist/types/parachain/interfaces/augment-api-events.d.ts +828 -174
  38. package/dist/types/parachain/interfaces/augment-api-query.d.ts +330 -112
  39. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  40. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +33 -25
  41. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +639 -149
  42. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  43. package/dist/types/parachain/interfaces/augment-types.d.ts +75 -75
  44. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  45. package/dist/types/parachain/interfaces/lookup.d.ts +227 -217
  46. package/dist/types/parachain/interfaces/registry.d.ts +3 -3
  47. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  48. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +34 -34
  49. package/dist/types/parachain/interfaces/types-lookup.d.ts +536 -406
  50. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  51. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  52. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +7 -3
  53. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +674 -139
  54. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +302 -100
  55. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  56. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +33 -25
  57. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +584 -132
  58. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  59. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +75 -75
  60. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  61. package/dist/types/solochain-evm/interfaces/lookup.d.ts +183 -173
  62. package/dist/types/solochain-evm/interfaces/registry.d.ts +3 -3
  63. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  64. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +35 -35
  65. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +412 -312
  66. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  67. package/metadata-sh-parachain.json +1 -1
  68. package/metadata-sh-solochain-evm.json +1 -1
  69. package/package.json +2 -2
  70. package/src/parachain/interfaces/augment-api-errors.ts +4 -0
  71. package/src/parachain/interfaces/augment-api-events.ts +8 -0
  72. package/src/parachain/interfaces/augment-api-query.ts +12 -0
  73. package/src/parachain/interfaces/augment-api-runtime.ts +14 -0
  74. package/src/parachain/interfaces/augment-api-tx.ts +13 -0
  75. package/src/parachain/interfaces/lookup.ts +233 -222
  76. package/src/parachain/interfaces/storagehubclient/runtime.ts +5 -0
  77. package/src/parachain/interfaces/types-lookup.ts +237 -224
  78. package/src/solochain-evm/interfaces/augment-api-errors.ts +4 -0
  79. package/src/solochain-evm/interfaces/augment-api-events.ts +8 -0
  80. package/src/solochain-evm/interfaces/augment-api-query.ts +12 -0
  81. package/src/solochain-evm/interfaces/augment-api-runtime.ts +14 -0
  82. package/src/solochain-evm/interfaces/augment-api-tx.ts +13 -0
  83. package/src/solochain-evm/interfaces/lookup.ts +189 -178
  84. package/src/solochain-evm/interfaces/types-lookup.ts +193 -180
  85. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,31 +1,40 @@
1
- import '@polkadot/api-base/types/events';
2
- import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
- import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
4
- import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
6
- import type { CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
1
+ import "@polkadot/api-base/types/events";
2
+ import type { ApiTypes, AugmentedEvent } from "@polkadot/api-base/types";
3
+ import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from "@polkadot/types-codec";
4
+ import type { ITuple } from "@polkadot/types-codec/types";
5
+ import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime";
6
+ import type { CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpRuntimeDispatchError, SpRuntimeMultiSignature, SpWeightsWeightV2Weight, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from "@polkadot/types/lookup";
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
- declare module '@polkadot/api-base/types/events' {
8
+ declare module "@polkadot/api-base/types/events" {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
10
10
  balances: {
11
11
  /**
12
12
  * A balance was set by root.
13
13
  **/
14
- BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128], {
14
+ BalanceSet: AugmentedEvent<ApiType, [
15
+ who: AccountId32,
16
+ free: u128
17
+ ], {
15
18
  who: AccountId32;
16
19
  free: u128;
17
20
  }>;
18
21
  /**
19
22
  * Some amount was burned from an account.
20
23
  **/
21
- Burned: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
24
+ Burned: AugmentedEvent<ApiType, [
25
+ who: AccountId32,
26
+ amount: u128
27
+ ], {
22
28
  who: AccountId32;
23
29
  amount: u128;
24
30
  }>;
25
31
  /**
26
32
  * Some amount was deposited (e.g. for transaction fees).
27
33
  **/
28
- Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
34
+ Deposit: AugmentedEvent<ApiType, [
35
+ who: AccountId32,
36
+ amount: u128
37
+ ], {
29
38
  who: AccountId32;
30
39
  amount: u128;
31
40
  }>;
@@ -33,21 +42,30 @@ declare module '@polkadot/api-base/types/events' {
33
42
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
34
43
  * resulting in an outright loss.
35
44
  **/
36
- DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
45
+ DustLost: AugmentedEvent<ApiType, [
46
+ account: AccountId32,
47
+ amount: u128
48
+ ], {
37
49
  account: AccountId32;
38
50
  amount: u128;
39
51
  }>;
40
52
  /**
41
53
  * An account was created with some free balance.
42
54
  **/
43
- Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
55
+ Endowed: AugmentedEvent<ApiType, [
56
+ account: AccountId32,
57
+ freeBalance: u128
58
+ ], {
44
59
  account: AccountId32;
45
60
  freeBalance: u128;
46
61
  }>;
47
62
  /**
48
63
  * Some balance was frozen.
49
64
  **/
50
- Frozen: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
65
+ Frozen: AugmentedEvent<ApiType, [
66
+ who: AccountId32,
67
+ amount: u128
68
+ ], {
51
69
  who: AccountId32;
52
70
  amount: u128;
53
71
  }>;
@@ -60,14 +78,20 @@ declare module '@polkadot/api-base/types/events' {
60
78
  /**
61
79
  * Some balance was locked.
62
80
  **/
63
- Locked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
81
+ Locked: AugmentedEvent<ApiType, [
82
+ who: AccountId32,
83
+ amount: u128
84
+ ], {
64
85
  who: AccountId32;
65
86
  amount: u128;
66
87
  }>;
67
88
  /**
68
89
  * Some amount was minted into an account.
69
90
  **/
70
- Minted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
91
+ Minted: AugmentedEvent<ApiType, [
92
+ who: AccountId32,
93
+ amount: u128
94
+ ], {
71
95
  who: AccountId32;
72
96
  amount: u128;
73
97
  }>;
@@ -80,7 +104,10 @@ declare module '@polkadot/api-base/types/events' {
80
104
  /**
81
105
  * Some balance was reserved (moved from free to reserved).
82
106
  **/
83
- Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
107
+ Reserved: AugmentedEvent<ApiType, [
108
+ who: AccountId32,
109
+ amount: u128
110
+ ], {
84
111
  who: AccountId32;
85
112
  amount: u128;
86
113
  }>;
@@ -88,7 +115,12 @@ declare module '@polkadot/api-base/types/events' {
88
115
  * Some balance was moved from the reserve of the first account to the second account.
89
116
  * Final argument indicates the destination balance type.
90
117
  **/
91
- ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
118
+ ReserveRepatriated: AugmentedEvent<ApiType, [
119
+ from: AccountId32,
120
+ to: AccountId32,
121
+ amount: u128,
122
+ destinationStatus: FrameSupportTokensMiscBalanceStatus
123
+ ], {
92
124
  from: AccountId32;
93
125
  to: AccountId32;
94
126
  amount: u128;
@@ -97,42 +129,61 @@ declare module '@polkadot/api-base/types/events' {
97
129
  /**
98
130
  * Some amount was restored into an account.
99
131
  **/
100
- Restored: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
132
+ Restored: AugmentedEvent<ApiType, [
133
+ who: AccountId32,
134
+ amount: u128
135
+ ], {
101
136
  who: AccountId32;
102
137
  amount: u128;
103
138
  }>;
104
139
  /**
105
140
  * Some amount was removed from the account (e.g. for misbehavior).
106
141
  **/
107
- Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
142
+ Slashed: AugmentedEvent<ApiType, [
143
+ who: AccountId32,
144
+ amount: u128
145
+ ], {
108
146
  who: AccountId32;
109
147
  amount: u128;
110
148
  }>;
111
149
  /**
112
150
  * Some amount was suspended from an account (it can be restored later).
113
151
  **/
114
- Suspended: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
152
+ Suspended: AugmentedEvent<ApiType, [
153
+ who: AccountId32,
154
+ amount: u128
155
+ ], {
115
156
  who: AccountId32;
116
157
  amount: u128;
117
158
  }>;
118
159
  /**
119
160
  * Some balance was thawed.
120
161
  **/
121
- Thawed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
162
+ Thawed: AugmentedEvent<ApiType, [
163
+ who: AccountId32,
164
+ amount: u128
165
+ ], {
122
166
  who: AccountId32;
123
167
  amount: u128;
124
168
  }>;
125
169
  /**
126
170
  * The `TotalIssuance` was forcefully changed.
127
171
  **/
128
- TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
172
+ TotalIssuanceForced: AugmentedEvent<ApiType, [
173
+ old: u128,
174
+ new_: u128
175
+ ], {
129
176
  old: u128;
130
177
  new_: u128;
131
178
  }>;
132
179
  /**
133
180
  * Transfer succeeded.
134
181
  **/
135
- Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
182
+ Transfer: AugmentedEvent<ApiType, [
183
+ from: AccountId32,
184
+ to: AccountId32,
185
+ amount: u128
186
+ ], {
136
187
  from: AccountId32;
137
188
  to: AccountId32;
138
189
  amount: u128;
@@ -140,14 +191,20 @@ declare module '@polkadot/api-base/types/events' {
140
191
  /**
141
192
  * Some balance was unlocked.
142
193
  **/
143
- Unlocked: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
194
+ Unlocked: AugmentedEvent<ApiType, [
195
+ who: AccountId32,
196
+ amount: u128
197
+ ], {
144
198
  who: AccountId32;
145
199
  amount: u128;
146
200
  }>;
147
201
  /**
148
202
  * Some balance was unreserved (moved from reserved to free).
149
203
  **/
150
- Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
204
+ Unreserved: AugmentedEvent<ApiType, [
205
+ who: AccountId32,
206
+ amount: u128
207
+ ], {
151
208
  who: AccountId32;
152
209
  amount: u128;
153
210
  }>;
@@ -160,7 +217,10 @@ declare module '@polkadot/api-base/types/events' {
160
217
  /**
161
218
  * Some amount was withdrawn from the account (e.g. for transaction fees).
162
219
  **/
163
- Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
220
+ Withdraw: AugmentedEvent<ApiType, [
221
+ who: AccountId32,
222
+ amount: u128
223
+ ], {
164
224
  who: AccountId32;
165
225
  amount: u128;
166
226
  }>;
@@ -173,14 +233,21 @@ declare module '@polkadot/api-base/types/events' {
173
233
  /**
174
234
  * Notifies that access to a bucket has been shared with another account.
175
235
  **/
176
- AccessShared: AugmentedEvent<ApiType, [issuer: AccountId32, recipient: AccountId32], {
236
+ AccessShared: AugmentedEvent<ApiType, [
237
+ issuer: AccountId32,
238
+ recipient: AccountId32
239
+ ], {
177
240
  issuer: AccountId32;
178
241
  recipient: AccountId32;
179
242
  }>;
180
243
  /**
181
244
  * Notifies that an item has been burned.
182
245
  **/
183
- ItemBurned: AugmentedEvent<ApiType, [account: AccountId32, bucket: H256, itemId: u32], {
246
+ ItemBurned: AugmentedEvent<ApiType, [
247
+ account: AccountId32,
248
+ bucket: H256,
249
+ itemId: u32
250
+ ], {
184
251
  account: AccountId32;
185
252
  bucket: H256;
186
253
  itemId: u32;
@@ -188,7 +255,11 @@ declare module '@polkadot/api-base/types/events' {
188
255
  /**
189
256
  * Notifies that the read access for an item has been updated.
190
257
  **/
191
- ItemReadAccessUpdated: AugmentedEvent<ApiType, [admin: AccountId32, bucket: H256, itemId: u32], {
258
+ ItemReadAccessUpdated: AugmentedEvent<ApiType, [
259
+ admin: AccountId32,
260
+ bucket: H256,
261
+ itemId: u32
262
+ ], {
192
263
  admin: AccountId32;
193
264
  bucket: H256;
194
265
  itemId: u32;
@@ -202,27 +273,39 @@ declare module '@polkadot/api-base/types/events' {
202
273
  /**
203
274
  * A new candidate joined.
204
275
  **/
205
- CandidateAdded: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], {
276
+ CandidateAdded: AugmentedEvent<ApiType, [
277
+ accountId: AccountId32,
278
+ deposit: u128
279
+ ], {
206
280
  accountId: AccountId32;
207
281
  deposit: u128;
208
282
  }>;
209
283
  /**
210
284
  * Bond of a candidate updated.
211
285
  **/
212
- CandidateBondUpdated: AugmentedEvent<ApiType, [accountId: AccountId32, deposit: u128], {
286
+ CandidateBondUpdated: AugmentedEvent<ApiType, [
287
+ accountId: AccountId32,
288
+ deposit: u128
289
+ ], {
213
290
  accountId: AccountId32;
214
291
  deposit: u128;
215
292
  }>;
216
293
  /**
217
294
  * A candidate was removed.
218
295
  **/
219
- CandidateRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], {
296
+ CandidateRemoved: AugmentedEvent<ApiType, [
297
+ accountId: AccountId32
298
+ ], {
220
299
  accountId: AccountId32;
221
300
  }>;
222
301
  /**
223
302
  * An account was replaced in the candidate list by another one.
224
303
  **/
225
- CandidateReplaced: AugmentedEvent<ApiType, [old: AccountId32, new_: AccountId32, deposit: u128], {
304
+ CandidateReplaced: AugmentedEvent<ApiType, [
305
+ old: AccountId32,
306
+ new_: AccountId32,
307
+ deposit: u128
308
+ ], {
226
309
  old: AccountId32;
227
310
  new_: AccountId32;
228
311
  deposit: u128;
@@ -231,19 +314,25 @@ declare module '@polkadot/api-base/types/events' {
231
314
  * An account was unable to be added to the Invulnerables because they did not have keys
232
315
  * registered. Other Invulnerables may have been set.
233
316
  **/
234
- InvalidInvulnerableSkipped: AugmentedEvent<ApiType, [accountId: AccountId32], {
317
+ InvalidInvulnerableSkipped: AugmentedEvent<ApiType, [
318
+ accountId: AccountId32
319
+ ], {
235
320
  accountId: AccountId32;
236
321
  }>;
237
322
  /**
238
323
  * A new Invulnerable was added.
239
324
  **/
240
- InvulnerableAdded: AugmentedEvent<ApiType, [accountId: AccountId32], {
325
+ InvulnerableAdded: AugmentedEvent<ApiType, [
326
+ accountId: AccountId32
327
+ ], {
241
328
  accountId: AccountId32;
242
329
  }>;
243
330
  /**
244
331
  * An Invulnerable was removed.
245
332
  **/
246
- InvulnerableRemoved: AugmentedEvent<ApiType, [accountId: AccountId32], {
333
+ InvulnerableRemoved: AugmentedEvent<ApiType, [
334
+ accountId: AccountId32
335
+ ], {
247
336
  accountId: AccountId32;
248
337
  }>;
249
338
  /**
@@ -255,13 +344,17 @@ declare module '@polkadot/api-base/types/events' {
255
344
  /**
256
345
  * The number of desired candidates was set.
257
346
  **/
258
- NewDesiredCandidates: AugmentedEvent<ApiType, [desiredCandidates: u32], {
347
+ NewDesiredCandidates: AugmentedEvent<ApiType, [
348
+ desiredCandidates: u32
349
+ ], {
259
350
  desiredCandidates: u32;
260
351
  }>;
261
352
  /**
262
353
  * New Invulnerables were set.
263
354
  **/
264
- NewInvulnerables: AugmentedEvent<ApiType, [invulnerables: Vec<AccountId32>], {
355
+ NewInvulnerables: AugmentedEvent<ApiType, [
356
+ invulnerables: Vec<AccountId32>
357
+ ], {
265
358
  invulnerables: Vec<AccountId32>;
266
359
  }>;
267
360
  /**
@@ -294,7 +387,15 @@ declare module '@polkadot/api-base/types/events' {
294
387
  /**
295
388
  * Notifies that a BSP has been accepted to store a given file.
296
389
  **/
297
- AcceptedBspVolunteer: AugmentedEvent<ApiType, [bspId: H256, bucketId: H256, location: Bytes, fingerprint: H256, multiaddresses: Vec<Bytes>, owner: AccountId32, size_: u64], {
390
+ AcceptedBspVolunteer: AugmentedEvent<ApiType, [
391
+ bspId: H256,
392
+ bucketId: H256,
393
+ location: Bytes,
394
+ fingerprint: H256,
395
+ multiaddresses: Vec<Bytes>,
396
+ owner: AccountId32,
397
+ size_: u64
398
+ ], {
298
399
  bspId: H256;
299
400
  bucketId: H256;
300
401
  location: Bytes;
@@ -307,14 +408,23 @@ declare module '@polkadot/api-base/types/events' {
307
408
  * Notifies that a BSP's challenge cycle has been initialised, adding the first file
308
409
  * key(s) to the BSP's Merkle Patricia Forest.
309
410
  **/
310
- BspChallengeCycleInitialised: AugmentedEvent<ApiType, [who: AccountId32, bspId: H256], {
411
+ BspChallengeCycleInitialised: AugmentedEvent<ApiType, [
412
+ who: AccountId32,
413
+ bspId: H256
414
+ ], {
311
415
  who: AccountId32;
312
416
  bspId: H256;
313
417
  }>;
314
418
  /**
315
419
  * Notifies that a BSP confirmed storing a file(s).
316
420
  **/
317
- BspConfirmedStoring: AugmentedEvent<ApiType, [who: AccountId32, bspId: H256, confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>, skippedFileKeys: Vec<H256>, newRoot: H256], {
421
+ BspConfirmedStoring: AugmentedEvent<ApiType, [
422
+ who: AccountId32,
423
+ bspId: H256,
424
+ confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>,
425
+ skippedFileKeys: Vec<H256>,
426
+ newRoot: H256
427
+ ], {
318
428
  who: AccountId32;
319
429
  bspId: H256;
320
430
  confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>;
@@ -324,7 +434,11 @@ declare module '@polkadot/api-base/types/events' {
324
434
  /**
325
435
  * Notifies that a BSP has stopped storing a file.
326
436
  **/
327
- BspConfirmStoppedStoring: AugmentedEvent<ApiType, [bspId: H256, fileKey: H256, newRoot: H256], {
437
+ BspConfirmStoppedStoring: AugmentedEvent<ApiType, [
438
+ bspId: H256,
439
+ fileKey: H256,
440
+ newRoot: H256
441
+ ], {
328
442
  bspId: H256;
329
443
  fileKey: H256;
330
444
  newRoot: H256;
@@ -332,14 +446,25 @@ declare module '@polkadot/api-base/types/events' {
332
446
  /**
333
447
  * Notifies that file deletions have been completed successfully for a BSP.
334
448
  **/
335
- BspFileDeletionsCompleted: AugmentedEvent<ApiType, [users: Vec<AccountId32>, fileKeys: Vec<H256>, bspId: H256, oldRoot: H256, newRoot: H256], {
449
+ BspFileDeletionsCompleted: AugmentedEvent<ApiType, [
450
+ users: Vec<AccountId32>,
451
+ fileKeys: Vec<H256>,
452
+ bspId: H256,
453
+ oldRoot: H256,
454
+ newRoot: H256
455
+ ], {
336
456
  users: Vec<AccountId32>;
337
457
  fileKeys: Vec<H256>;
338
458
  bspId: H256;
339
459
  oldRoot: H256;
340
460
  newRoot: H256;
341
461
  }>;
342
- BspRequestedToStopStoring: AugmentedEvent<ApiType, [bspId: H256, fileKey: H256, owner: AccountId32, location: Bytes], {
462
+ BspRequestedToStopStoring: AugmentedEvent<ApiType, [
463
+ bspId: H256,
464
+ fileKey: H256,
465
+ owner: AccountId32,
466
+ location: Bytes
467
+ ], {
343
468
  bspId: H256;
344
469
  fileKey: H256;
345
470
  owner: AccountId32;
@@ -348,7 +473,11 @@ declare module '@polkadot/api-base/types/events' {
348
473
  /**
349
474
  * Notifies that an empty bucket has been deleted.
350
475
  **/
351
- BucketDeleted: AugmentedEvent<ApiType, [who: AccountId32, bucketId: H256, maybeCollectionId: Option<u32>], {
476
+ BucketDeleted: AugmentedEvent<ApiType, [
477
+ who: AccountId32,
478
+ bucketId: H256,
479
+ maybeCollectionId: Option<u32>
480
+ ], {
352
481
  who: AccountId32;
353
482
  bucketId: H256;
354
483
  maybeCollectionId: Option<u32>;
@@ -356,7 +485,14 @@ declare module '@polkadot/api-base/types/events' {
356
485
  /**
357
486
  * Notifies that file deletions have been completed successfully for a Bucket.
358
487
  **/
359
- BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [user: AccountId32, fileKeys: Vec<H256>, bucketId: H256, mspId: Option<H256>, oldRoot: H256, newRoot: H256], {
488
+ BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [
489
+ user: AccountId32,
490
+ fileKeys: Vec<H256>,
491
+ bucketId: H256,
492
+ mspId: Option<H256>,
493
+ oldRoot: H256,
494
+ newRoot: H256
495
+ ], {
360
496
  user: AccountId32;
361
497
  fileKeys: Vec<H256>;
362
498
  bucketId: H256;
@@ -367,7 +503,12 @@ declare module '@polkadot/api-base/types/events' {
367
503
  /**
368
504
  * Notifies that a bucket's privacy has been updated.
369
505
  **/
370
- BucketPrivacyUpdated: AugmentedEvent<ApiType, [who: AccountId32, bucketId: H256, collectionId: Option<u32>, private: bool], {
506
+ BucketPrivacyUpdated: AugmentedEvent<ApiType, [
507
+ who: AccountId32,
508
+ bucketId: H256,
509
+ collectionId: Option<u32>,
510
+ private: bool
511
+ ], {
371
512
  who: AccountId32;
372
513
  bucketId: H256;
373
514
  collectionId: Option<u32>;
@@ -377,7 +518,12 @@ declare module '@polkadot/api-base/types/events' {
377
518
  * Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
378
519
  * the return of that storage request's deposit to the user failed.
379
520
  **/
380
- FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [fileKey: H256, owner: AccountId32, amountToReturn: u128, error: SpRuntimeDispatchError], {
521
+ FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [
522
+ fileKey: H256,
523
+ owner: AccountId32,
524
+ amountToReturn: u128,
525
+ error: SpRuntimeDispatchError
526
+ ], {
381
527
  fileKey: H256;
382
528
  owner: AccountId32;
383
529
  amountToReturn: u128;
@@ -387,7 +533,10 @@ declare module '@polkadot/api-base/types/events' {
387
533
  * Notifies that a file deletion has been requested.
388
534
  * Contains a signed intention that allows any actor to execute the actual deletion.
389
535
  **/
390
- FileDeletionRequested: AugmentedEvent<ApiType, [signedDeleteIntention: PalletFileSystemFileOperationIntention, signature: SpRuntimeMultiSignature], {
536
+ FileDeletionRequested: AugmentedEvent<ApiType, [
537
+ signedDeleteIntention: PalletFileSystemFileOperationIntention,
538
+ signature: SpRuntimeMultiSignature
539
+ ], {
391
540
  signedDeleteIntention: PalletFileSystemFileOperationIntention;
392
541
  signature: SpRuntimeMultiSignature;
393
542
  }>;
@@ -409,13 +558,20 @@ declare module '@polkadot/api-base/types/events' {
409
558
  * 2. When the file has been removed from all providers and the incomplete storage
410
559
  * request entry is removed from storage.
411
560
  **/
412
- IncompleteStorageRequestCleanedUp: AugmentedEvent<ApiType, [fileKey: H256], {
561
+ IncompleteStorageRequestCleanedUp: AugmentedEvent<ApiType, [
562
+ fileKey: H256
563
+ ], {
413
564
  fileKey: H256;
414
565
  }>;
415
566
  /**
416
567
  * Notifies that a bucket has been moved to a new MSP under a new value proposition.
417
568
  **/
418
- MoveBucketAccepted: AugmentedEvent<ApiType, [bucketId: H256, oldMspId: Option<H256>, newMspId: H256, valuePropId: H256], {
569
+ MoveBucketAccepted: AugmentedEvent<ApiType, [
570
+ bucketId: H256,
571
+ oldMspId: Option<H256>,
572
+ newMspId: H256,
573
+ valuePropId: H256
574
+ ], {
419
575
  bucketId: H256;
420
576
  oldMspId: Option<H256>;
421
577
  newMspId: H256;
@@ -424,7 +580,11 @@ declare module '@polkadot/api-base/types/events' {
424
580
  /**
425
581
  * Notifies that a bucket move request has been rejected by the MSP.
426
582
  **/
427
- MoveBucketRejected: AugmentedEvent<ApiType, [bucketId: H256, oldMspId: Option<H256>, newMspId: H256], {
583
+ MoveBucketRejected: AugmentedEvent<ApiType, [
584
+ bucketId: H256,
585
+ oldMspId: Option<H256>,
586
+ newMspId: H256
587
+ ], {
428
588
  bucketId: H256;
429
589
  oldMspId: Option<H256>;
430
590
  newMspId: H256;
@@ -432,7 +592,12 @@ declare module '@polkadot/api-base/types/events' {
432
592
  /**
433
593
  * Notifies that a bucket is being moved to a new MSP.
434
594
  **/
435
- MoveBucketRequested: AugmentedEvent<ApiType, [who: AccountId32, bucketId: H256, newMspId: H256, newValuePropId: H256], {
595
+ MoveBucketRequested: AugmentedEvent<ApiType, [
596
+ who: AccountId32,
597
+ bucketId: H256,
598
+ newMspId: H256,
599
+ newValuePropId: H256
600
+ ], {
436
601
  who: AccountId32;
437
602
  bucketId: H256;
438
603
  newMspId: H256;
@@ -455,14 +620,21 @@ declare module '@polkadot/api-base/types/events' {
455
620
  * This event is not emitted when the storage request is immediately fulfilled upon
456
621
  * MSP acceptance. In such cases, a [`StorageRequestFulfilled`] event is emitted instead.
457
622
  **/
458
- MspAcceptedStorageRequest: AugmentedEvent<ApiType, [fileKey: H256, fileMetadata: ShpFileMetadataFileMetadata], {
623
+ MspAcceptedStorageRequest: AugmentedEvent<ApiType, [
624
+ fileKey: H256,
625
+ fileMetadata: ShpFileMetadataFileMetadata
626
+ ], {
459
627
  fileKey: H256;
460
628
  fileMetadata: ShpFileMetadataFileMetadata;
461
629
  }>;
462
630
  /**
463
631
  * Notifies that a MSP has stopped storing a bucket.
464
632
  **/
465
- MspStoppedStoringBucket: AugmentedEvent<ApiType, [mspId: H256, owner: AccountId32, bucketId: H256], {
633
+ MspStoppedStoringBucket: AugmentedEvent<ApiType, [
634
+ mspId: H256,
635
+ owner: AccountId32,
636
+ bucketId: H256
637
+ ], {
466
638
  mspId: H256;
467
639
  owner: AccountId32;
468
640
  bucketId: H256;
@@ -470,7 +642,11 @@ declare module '@polkadot/api-base/types/events' {
470
642
  /**
471
643
  * Notifies that a MSP has stopped storing a bucket because its owner has become insolvent.
472
644
  **/
473
- MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [mspId: H256, owner: AccountId32, bucketId: H256], {
645
+ MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [
646
+ mspId: H256,
647
+ owner: AccountId32,
648
+ bucketId: H256
649
+ ], {
474
650
  mspId: H256;
475
651
  owner: AccountId32;
476
652
  bucketId: H256;
@@ -478,7 +654,16 @@ declare module '@polkadot/api-base/types/events' {
478
654
  /**
479
655
  * Notifies that a new bucket has been created.
480
656
  **/
481
- NewBucket: AugmentedEvent<ApiType, [who: AccountId32, mspId: H256, bucketId: H256, name: Bytes, root: H256, collectionId: Option<u32>, private: bool, valuePropId: H256], {
657
+ NewBucket: AugmentedEvent<ApiType, [
658
+ who: AccountId32,
659
+ mspId: H256,
660
+ bucketId: H256,
661
+ name: Bytes,
662
+ root: H256,
663
+ collectionId: Option<u32>,
664
+ private: bool,
665
+ valuePropId: H256
666
+ ], {
482
667
  who: AccountId32;
483
668
  mspId: H256;
484
669
  bucketId: H256;
@@ -491,7 +676,11 @@ declare module '@polkadot/api-base/types/events' {
491
676
  /**
492
677
  * Notifies that a new collection has been created and associated with a bucket.
493
678
  **/
494
- NewCollectionAndAssociation: AugmentedEvent<ApiType, [who: AccountId32, bucketId: H256, collectionId: u32], {
679
+ NewCollectionAndAssociation: AugmentedEvent<ApiType, [
680
+ who: AccountId32,
681
+ bucketId: H256,
682
+ collectionId: u32
683
+ ], {
495
684
  who: AccountId32;
496
685
  bucketId: H256;
497
686
  collectionId: u32;
@@ -499,7 +688,16 @@ declare module '@polkadot/api-base/types/events' {
499
688
  /**
500
689
  * Notifies that a new file has been requested to be stored.
501
690
  **/
502
- NewStorageRequest: AugmentedEvent<ApiType, [who: AccountId32, fileKey: H256, bucketId: H256, location: Bytes, fingerprint: H256, size_: u64, peerIds: Vec<Bytes>, expiresAt: u32], {
691
+ NewStorageRequest: AugmentedEvent<ApiType, [
692
+ who: AccountId32,
693
+ fileKey: H256,
694
+ bucketId: H256,
695
+ location: Bytes,
696
+ fingerprint: H256,
697
+ size_: u64,
698
+ peerIds: Vec<Bytes>,
699
+ expiresAt: u32
700
+ ], {
503
701
  who: AccountId32;
504
702
  fileKey: H256;
505
703
  bucketId: H256;
@@ -512,7 +710,13 @@ declare module '@polkadot/api-base/types/events' {
512
710
  /**
513
711
  * Notifies that a SP has stopped storing a file because its owner has become insolvent.
514
712
  **/
515
- SpStopStoringInsolventUser: AugmentedEvent<ApiType, [spId: H256, fileKey: H256, owner: AccountId32, location: Bytes, newRoot: H256], {
713
+ SpStopStoringInsolventUser: AugmentedEvent<ApiType, [
714
+ spId: H256,
715
+ fileKey: H256,
716
+ owner: AccountId32,
717
+ location: Bytes,
718
+ newRoot: H256
719
+ ], {
516
720
  spId: H256;
517
721
  fileKey: H256;
518
722
  owner: AccountId32;
@@ -542,7 +746,12 @@ declare module '@polkadot/api-base/types/events' {
542
746
  * Note: the storage request will be marked as "incomplete", and it is expected that fisherman
543
747
  * nodes will pick it up and delete the file from the confirmed BSPs as well as the Bucket.
544
748
  **/
545
- StorageRequestRejected: AugmentedEvent<ApiType, [fileKey: H256, mspId: H256, bucketId: H256, reason: PalletFileSystemRejectedStorageRequestReason], {
749
+ StorageRequestRejected: AugmentedEvent<ApiType, [
750
+ fileKey: H256,
751
+ mspId: H256,
752
+ bucketId: H256,
753
+ reason: PalletFileSystemRejectedStorageRequestReason
754
+ ], {
546
755
  fileKey: H256;
547
756
  mspId: H256;
548
757
  bucketId: H256;
@@ -559,9 +768,21 @@ declare module '@polkadot/api-base/types/events' {
559
768
  /**
560
769
  * Event to notify of incoherencies in used capacity.
561
770
  **/
562
- UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [actualUsedCapacity: u64], {
771
+ UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [
772
+ actualUsedCapacity: u64
773
+ ], {
563
774
  actualUsedCapacity: u64;
564
775
  }>;
776
+ /**
777
+ * Notifies that the user operation pause flags have been updated.
778
+ **/
779
+ UserOperationPauseFlagsUpdated: AugmentedEvent<ApiType, [
780
+ old: u32,
781
+ new_: u32
782
+ ], {
783
+ old: u32;
784
+ new_: u32;
785
+ }>;
565
786
  /**
566
787
  * Generic event
567
788
  **/
@@ -571,7 +792,12 @@ declare module '@polkadot/api-base/types/events' {
571
792
  /**
572
793
  * Message placed in overweight queue.
573
794
  **/
574
- OverweightEnqueued: AugmentedEvent<ApiType, [id: U8aFixed, origin: CumulusPrimitivesCoreAggregateMessageOrigin, pageIndex: u32, messageIndex: u32], {
795
+ OverweightEnqueued: AugmentedEvent<ApiType, [
796
+ id: U8aFixed,
797
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
798
+ pageIndex: u32,
799
+ messageIndex: u32
800
+ ], {
575
801
  id: U8aFixed;
576
802
  origin: CumulusPrimitivesCoreAggregateMessageOrigin;
577
803
  pageIndex: u32;
@@ -580,14 +806,22 @@ declare module '@polkadot/api-base/types/events' {
580
806
  /**
581
807
  * This page was reaped.
582
808
  **/
583
- PageReaped: AugmentedEvent<ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], {
809
+ PageReaped: AugmentedEvent<ApiType, [
810
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
811
+ index: u32
812
+ ], {
584
813
  origin: CumulusPrimitivesCoreAggregateMessageOrigin;
585
814
  index: u32;
586
815
  }>;
587
816
  /**
588
817
  * Message is processed.
589
818
  **/
590
- Processed: AugmentedEvent<ApiType, [id: H256, origin: CumulusPrimitivesCoreAggregateMessageOrigin, weightUsed: SpWeightsWeightV2Weight, success: bool], {
819
+ Processed: AugmentedEvent<ApiType, [
820
+ id: H256,
821
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
822
+ weightUsed: SpWeightsWeightV2Weight,
823
+ success: bool
824
+ ], {
591
825
  id: H256;
592
826
  origin: CumulusPrimitivesCoreAggregateMessageOrigin;
593
827
  weightUsed: SpWeightsWeightV2Weight;
@@ -596,7 +830,11 @@ declare module '@polkadot/api-base/types/events' {
596
830
  /**
597
831
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
598
832
  **/
599
- ProcessingFailed: AugmentedEvent<ApiType, [id: H256, origin: CumulusPrimitivesCoreAggregateMessageOrigin, error: FrameSupportMessagesProcessMessageError], {
833
+ ProcessingFailed: AugmentedEvent<ApiType, [
834
+ id: H256,
835
+ origin: CumulusPrimitivesCoreAggregateMessageOrigin,
836
+ error: FrameSupportMessagesProcessMessageError
837
+ ], {
600
838
  id: H256;
601
839
  origin: CumulusPrimitivesCoreAggregateMessageOrigin;
602
840
  error: FrameSupportMessagesProcessMessageError;
@@ -610,7 +848,11 @@ declare module '@polkadot/api-base/types/events' {
610
848
  /**
611
849
  * All approvals of an item got cancelled.
612
850
  **/
613
- AllApprovalsCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
851
+ AllApprovalsCancelled: AugmentedEvent<ApiType, [
852
+ collection: u32,
853
+ item: u32,
854
+ owner: AccountId32
855
+ ], {
614
856
  collection: u32;
615
857
  item: u32;
616
858
  owner: AccountId32;
@@ -619,7 +861,12 @@ declare module '@polkadot/api-base/types/events' {
619
861
  * An approval for a `delegate` account to transfer the `item` of an item
620
862
  * `collection` was cancelled by its `owner`.
621
863
  **/
622
- ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32], {
864
+ ApprovalCancelled: AugmentedEvent<ApiType, [
865
+ collection: u32,
866
+ item: u32,
867
+ owner: AccountId32,
868
+ delegate: AccountId32
869
+ ], {
623
870
  collection: u32;
624
871
  item: u32;
625
872
  owner: AccountId32;
@@ -628,7 +875,12 @@ declare module '@polkadot/api-base/types/events' {
628
875
  /**
629
876
  * Attribute metadata has been cleared for a `collection` or `item`.
630
877
  **/
631
- AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, namespace: PalletNftsAttributeNamespace], {
878
+ AttributeCleared: AugmentedEvent<ApiType, [
879
+ collection: u32,
880
+ maybeItem: Option<u32>,
881
+ key: Bytes,
882
+ namespace: PalletNftsAttributeNamespace
883
+ ], {
632
884
  collection: u32;
633
885
  maybeItem: Option<u32>;
634
886
  key: Bytes;
@@ -637,7 +889,13 @@ declare module '@polkadot/api-base/types/events' {
637
889
  /**
638
890
  * New attribute metadata has been set for a `collection` or `item`.
639
891
  **/
640
- AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes, namespace: PalletNftsAttributeNamespace], {
892
+ AttributeSet: AugmentedEvent<ApiType, [
893
+ collection: u32,
894
+ maybeItem: Option<u32>,
895
+ key: Bytes,
896
+ value: Bytes,
897
+ namespace: PalletNftsAttributeNamespace
898
+ ], {
641
899
  collection: u32;
642
900
  maybeItem: Option<u32>;
643
901
  key: Bytes;
@@ -647,7 +905,11 @@ declare module '@polkadot/api-base/types/events' {
647
905
  /**
648
906
  * An `item` was destroyed.
649
907
  **/
650
- Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
908
+ Burned: AugmentedEvent<ApiType, [
909
+ collection: u32,
910
+ item: u32,
911
+ owner: AccountId32
912
+ ], {
651
913
  collection: u32;
652
914
  item: u32;
653
915
  owner: AccountId32;
@@ -667,7 +929,10 @@ declare module '@polkadot/api-base/types/events' {
667
929
  /**
668
930
  * Max supply has been set for a collection.
669
931
  **/
670
- CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], {
932
+ CollectionMaxSupplySet: AugmentedEvent<ApiType, [
933
+ collection: u32,
934
+ maxSupply: u32
935
+ ], {
671
936
  collection: u32;
672
937
  maxSupply: u32;
673
938
  }>;
@@ -680,20 +945,29 @@ declare module '@polkadot/api-base/types/events' {
680
945
  /**
681
946
  * New metadata has been set for a `collection`.
682
947
  **/
683
- CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes], {
948
+ CollectionMetadataSet: AugmentedEvent<ApiType, [
949
+ collection: u32,
950
+ data: Bytes
951
+ ], {
684
952
  collection: u32;
685
953
  data: Bytes;
686
954
  }>;
687
955
  /**
688
956
  * Mint settings for a collection had changed.
689
957
  **/
690
- CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [collection: u32], {
958
+ CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [
959
+ collection: u32
960
+ ], {
691
961
  collection: u32;
692
962
  }>;
693
963
  /**
694
964
  * A `collection` was created.
695
965
  **/
696
- Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId32, owner: AccountId32], {
966
+ Created: AugmentedEvent<ApiType, [
967
+ collection: u32,
968
+ creator: AccountId32,
969
+ owner: AccountId32
970
+ ], {
697
971
  collection: u32;
698
972
  creator: AccountId32;
699
973
  owner: AccountId32;
@@ -707,14 +981,21 @@ declare module '@polkadot/api-base/types/events' {
707
981
  /**
708
982
  * A `collection` was force-created.
709
983
  **/
710
- ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId32], {
984
+ ForceCreated: AugmentedEvent<ApiType, [
985
+ collection: u32,
986
+ owner: AccountId32
987
+ ], {
711
988
  collection: u32;
712
989
  owner: AccountId32;
713
990
  }>;
714
991
  /**
715
992
  * An `item` was issued.
716
993
  **/
717
- Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
994
+ Issued: AugmentedEvent<ApiType, [
995
+ collection: u32,
996
+ item: u32,
997
+ owner: AccountId32
998
+ ], {
718
999
  collection: u32;
719
1000
  item: u32;
720
1001
  owner: AccountId32;
@@ -722,7 +1003,11 @@ declare module '@polkadot/api-base/types/events' {
722
1003
  /**
723
1004
  * A new approval to modify item attributes was added.
724
1005
  **/
725
- ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], {
1006
+ ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [
1007
+ collection: u32,
1008
+ item: u32,
1009
+ delegate: AccountId32
1010
+ ], {
726
1011
  collection: u32;
727
1012
  item: u32;
728
1013
  delegate: AccountId32;
@@ -730,7 +1015,11 @@ declare module '@polkadot/api-base/types/events' {
730
1015
  /**
731
1016
  * A new approval to modify item attributes was removed.
732
1017
  **/
733
- ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], {
1018
+ ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [
1019
+ collection: u32,
1020
+ item: u32,
1021
+ delegate: AccountId32
1022
+ ], {
734
1023
  collection: u32;
735
1024
  item: u32;
736
1025
  delegate: AccountId32;
@@ -738,7 +1027,13 @@ declare module '@polkadot/api-base/types/events' {
738
1027
  /**
739
1028
  * An item was bought.
740
1029
  **/
741
- ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32], {
1030
+ ItemBought: AugmentedEvent<ApiType, [
1031
+ collection: u32,
1032
+ item: u32,
1033
+ price: u128,
1034
+ seller: AccountId32,
1035
+ buyer: AccountId32
1036
+ ], {
742
1037
  collection: u32;
743
1038
  item: u32;
744
1039
  price: u128;
@@ -748,14 +1043,21 @@ declare module '@polkadot/api-base/types/events' {
748
1043
  /**
749
1044
  * Metadata has been cleared for an item.
750
1045
  **/
751
- ItemMetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1046
+ ItemMetadataCleared: AugmentedEvent<ApiType, [
1047
+ collection: u32,
1048
+ item: u32
1049
+ ], {
752
1050
  collection: u32;
753
1051
  item: u32;
754
1052
  }>;
755
1053
  /**
756
1054
  * New metadata has been set for an item.
757
1055
  **/
758
- ItemMetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes], {
1056
+ ItemMetadataSet: AugmentedEvent<ApiType, [
1057
+ collection: u32,
1058
+ item: u32,
1059
+ data: Bytes
1060
+ ], {
759
1061
  collection: u32;
760
1062
  item: u32;
761
1063
  data: Bytes;
@@ -763,14 +1065,22 @@ declare module '@polkadot/api-base/types/events' {
763
1065
  /**
764
1066
  * The price for the item was removed.
765
1067
  **/
766
- ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1068
+ ItemPriceRemoved: AugmentedEvent<ApiType, [
1069
+ collection: u32,
1070
+ item: u32
1071
+ ], {
767
1072
  collection: u32;
768
1073
  item: u32;
769
1074
  }>;
770
1075
  /**
771
1076
  * The price was set for the item.
772
1077
  **/
773
- ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32>], {
1078
+ ItemPriceSet: AugmentedEvent<ApiType, [
1079
+ collection: u32,
1080
+ item: u32,
1081
+ price: u128,
1082
+ whitelistedBuyer: Option<AccountId32>
1083
+ ], {
774
1084
  collection: u32;
775
1085
  item: u32;
776
1086
  price: u128;
@@ -779,7 +1089,12 @@ declare module '@polkadot/api-base/types/events' {
779
1089
  /**
780
1090
  * `item` metadata or attributes were locked.
781
1091
  **/
782
- ItemPropertiesLocked: AugmentedEvent<ApiType, [collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool], {
1092
+ ItemPropertiesLocked: AugmentedEvent<ApiType, [
1093
+ collection: u32,
1094
+ item: u32,
1095
+ lockMetadata: bool,
1096
+ lockAttributes: bool
1097
+ ], {
783
1098
  collection: u32;
784
1099
  item: u32;
785
1100
  lockMetadata: bool;
@@ -788,34 +1103,48 @@ declare module '@polkadot/api-base/types/events' {
788
1103
  /**
789
1104
  * An `item` became non-transferable.
790
1105
  **/
791
- ItemTransferLocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1106
+ ItemTransferLocked: AugmentedEvent<ApiType, [
1107
+ collection: u32,
1108
+ item: u32
1109
+ ], {
792
1110
  collection: u32;
793
1111
  item: u32;
794
1112
  }>;
795
1113
  /**
796
1114
  * An `item` became transferable.
797
1115
  **/
798
- ItemTransferUnlocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1116
+ ItemTransferUnlocked: AugmentedEvent<ApiType, [
1117
+ collection: u32,
1118
+ item: u32
1119
+ ], {
799
1120
  collection: u32;
800
1121
  item: u32;
801
1122
  }>;
802
1123
  /**
803
1124
  * Event gets emitted when the `NextCollectionId` gets incremented.
804
1125
  **/
805
- NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: Option<u32>], {
1126
+ NextCollectionIdIncremented: AugmentedEvent<ApiType, [
1127
+ nextId: Option<u32>
1128
+ ], {
806
1129
  nextId: Option<u32>;
807
1130
  }>;
808
1131
  /**
809
1132
  * The owner changed.
810
1133
  **/
811
- OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId32], {
1134
+ OwnerChanged: AugmentedEvent<ApiType, [
1135
+ collection: u32,
1136
+ newOwner: AccountId32
1137
+ ], {
812
1138
  collection: u32;
813
1139
  newOwner: AccountId32;
814
1140
  }>;
815
1141
  /**
816
1142
  * Ownership acceptance has changed for an account.
817
1143
  **/
818
- OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId32, maybeCollection: Option<u32>], {
1144
+ OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [
1145
+ who: AccountId32,
1146
+ maybeCollection: Option<u32>
1147
+ ], {
819
1148
  who: AccountId32;
820
1149
  maybeCollection: Option<u32>;
821
1150
  }>;
@@ -823,7 +1152,12 @@ declare module '@polkadot/api-base/types/events' {
823
1152
  * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
824
1153
  * within that `collection`.
825
1154
  **/
826
- PalletAttributeSet: AugmentedEvent<ApiType, [collection: u32, item: Option<u32>, attribute: PalletNftsPalletAttributes, value: Bytes], {
1155
+ PalletAttributeSet: AugmentedEvent<ApiType, [
1156
+ collection: u32,
1157
+ item: Option<u32>,
1158
+ attribute: PalletNftsPalletAttributes,
1159
+ value: Bytes
1160
+ ], {
827
1161
  collection: u32;
828
1162
  item: Option<u32>;
829
1163
  attribute: PalletNftsPalletAttributes;
@@ -832,7 +1166,11 @@ declare module '@polkadot/api-base/types/events' {
832
1166
  /**
833
1167
  * New attributes have been set for an `item` of the `collection`.
834
1168
  **/
835
- PreSignedAttributesSet: AugmentedEvent<ApiType, [collection: u32, item: u32, namespace: PalletNftsAttributeNamespace], {
1169
+ PreSignedAttributesSet: AugmentedEvent<ApiType, [
1170
+ collection: u32,
1171
+ item: u32,
1172
+ namespace: PalletNftsAttributeNamespace
1173
+ ], {
836
1174
  collection: u32;
837
1175
  item: u32;
838
1176
  namespace: PalletNftsAttributeNamespace;
@@ -840,14 +1178,24 @@ declare module '@polkadot/api-base/types/events' {
840
1178
  /**
841
1179
  * The deposit for a set of `item`s within a `collection` has been updated.
842
1180
  **/
843
- Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], {
1181
+ Redeposited: AugmentedEvent<ApiType, [
1182
+ collection: u32,
1183
+ successfulItems: Vec<u32>
1184
+ ], {
844
1185
  collection: u32;
845
1186
  successfulItems: Vec<u32>;
846
1187
  }>;
847
1188
  /**
848
1189
  * The swap was cancelled.
849
1190
  **/
850
- SwapCancelled: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1191
+ SwapCancelled: AugmentedEvent<ApiType, [
1192
+ offeredCollection: u32,
1193
+ offeredItem: u32,
1194
+ desiredCollection: u32,
1195
+ desiredItem: Option<u32>,
1196
+ price: Option<PalletNftsPriceWithDirection>,
1197
+ deadline: u32
1198
+ ], {
851
1199
  offeredCollection: u32;
852
1200
  offeredItem: u32;
853
1201
  desiredCollection: u32;
@@ -858,7 +1206,16 @@ declare module '@polkadot/api-base/types/events' {
858
1206
  /**
859
1207
  * The swap has been claimed.
860
1208
  **/
861
- SwapClaimed: AugmentedEvent<ApiType, [sentCollection: u32, sentItem: u32, sentItemOwner: AccountId32, receivedCollection: u32, receivedItem: u32, receivedItemOwner: AccountId32, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1209
+ SwapClaimed: AugmentedEvent<ApiType, [
1210
+ sentCollection: u32,
1211
+ sentItem: u32,
1212
+ sentItemOwner: AccountId32,
1213
+ receivedCollection: u32,
1214
+ receivedItem: u32,
1215
+ receivedItemOwner: AccountId32,
1216
+ price: Option<PalletNftsPriceWithDirection>,
1217
+ deadline: u32
1218
+ ], {
862
1219
  sentCollection: u32;
863
1220
  sentItem: u32;
864
1221
  sentItemOwner: AccountId32;
@@ -871,7 +1228,14 @@ declare module '@polkadot/api-base/types/events' {
871
1228
  /**
872
1229
  * An `item` swap intent was created.
873
1230
  **/
874
- SwapCreated: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1231
+ SwapCreated: AugmentedEvent<ApiType, [
1232
+ offeredCollection: u32,
1233
+ offeredItem: u32,
1234
+ desiredCollection: u32,
1235
+ desiredItem: Option<u32>,
1236
+ price: Option<PalletNftsPriceWithDirection>,
1237
+ deadline: u32
1238
+ ], {
875
1239
  offeredCollection: u32;
876
1240
  offeredItem: u32;
877
1241
  desiredCollection: u32;
@@ -882,7 +1246,12 @@ declare module '@polkadot/api-base/types/events' {
882
1246
  /**
883
1247
  * The management team changed.
884
1248
  **/
885
- TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: Option<AccountId32>, admin: Option<AccountId32>, freezer: Option<AccountId32>], {
1249
+ TeamChanged: AugmentedEvent<ApiType, [
1250
+ collection: u32,
1251
+ issuer: Option<AccountId32>,
1252
+ admin: Option<AccountId32>,
1253
+ freezer: Option<AccountId32>
1254
+ ], {
886
1255
  collection: u32;
887
1256
  issuer: Option<AccountId32>;
888
1257
  admin: Option<AccountId32>;
@@ -891,7 +1260,13 @@ declare module '@polkadot/api-base/types/events' {
891
1260
  /**
892
1261
  * A tip was sent.
893
1262
  **/
894
- TipSent: AugmentedEvent<ApiType, [collection: u32, item: u32, sender: AccountId32, receiver: AccountId32, amount: u128], {
1263
+ TipSent: AugmentedEvent<ApiType, [
1264
+ collection: u32,
1265
+ item: u32,
1266
+ sender: AccountId32,
1267
+ receiver: AccountId32,
1268
+ amount: u128
1269
+ ], {
895
1270
  collection: u32;
896
1271
  item: u32;
897
1272
  sender: AccountId32;
@@ -902,7 +1277,13 @@ declare module '@polkadot/api-base/types/events' {
902
1277
  * An `item` of a `collection` has been approved by the `owner` for transfer by
903
1278
  * a `delegate`.
904
1279
  **/
905
- TransferApproved: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32, deadline: Option<u32>], {
1280
+ TransferApproved: AugmentedEvent<ApiType, [
1281
+ collection: u32,
1282
+ item: u32,
1283
+ owner: AccountId32,
1284
+ delegate: AccountId32,
1285
+ deadline: Option<u32>
1286
+ ], {
906
1287
  collection: u32;
907
1288
  item: u32;
908
1289
  owner: AccountId32;
@@ -912,7 +1293,12 @@ declare module '@polkadot/api-base/types/events' {
912
1293
  /**
913
1294
  * An `item` was transferred.
914
1295
  **/
915
- Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId32, to: AccountId32], {
1296
+ Transferred: AugmentedEvent<ApiType, [
1297
+ collection: u32,
1298
+ item: u32,
1299
+ from: AccountId32,
1300
+ to: AccountId32
1301
+ ], {
916
1302
  collection: u32;
917
1303
  item: u32;
918
1304
  from: AccountId32;
@@ -927,7 +1313,10 @@ declare module '@polkadot/api-base/types/events' {
927
1313
  /**
928
1314
  * Downward messages were processed using the given weight.
929
1315
  **/
930
- DownwardMessagesProcessed: AugmentedEvent<ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], {
1316
+ DownwardMessagesProcessed: AugmentedEvent<ApiType, [
1317
+ weightUsed: SpWeightsWeightV2Weight,
1318
+ dmqHead: H256
1319
+ ], {
931
1320
  weightUsed: SpWeightsWeightV2Weight;
932
1321
  dmqHead: H256;
933
1322
  }>;
@@ -940,13 +1329,17 @@ declare module '@polkadot/api-base/types/events' {
940
1329
  /**
941
1330
  * An upward message was sent to the relay chain.
942
1331
  **/
943
- UpwardMessageSent: AugmentedEvent<ApiType, [messageHash: Option<U8aFixed>], {
1332
+ UpwardMessageSent: AugmentedEvent<ApiType, [
1333
+ messageHash: Option<U8aFixed>
1334
+ ], {
944
1335
  messageHash: Option<U8aFixed>;
945
1336
  }>;
946
1337
  /**
947
1338
  * The validation function was applied as of the contained relay chain block number.
948
1339
  **/
949
- ValidationFunctionApplied: AugmentedEvent<ApiType, [relayChainBlockNum: u32], {
1340
+ ValidationFunctionApplied: AugmentedEvent<ApiType, [
1341
+ relayChainBlockNum: u32
1342
+ ], {
950
1343
  relayChainBlockNum: u32;
951
1344
  }>;
952
1345
  /**
@@ -968,7 +1361,11 @@ declare module '@polkadot/api-base/types/events' {
968
1361
  *
969
1362
  * Is also emitted when the value was not changed.
970
1363
  **/
971
- Updated: AugmentedEvent<ApiType, [key: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey, oldValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>, newValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>], {
1364
+ Updated: AugmentedEvent<ApiType, [
1365
+ key: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey,
1366
+ oldValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
1367
+ newValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>
1368
+ ], {
972
1369
  key: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey;
973
1370
  oldValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
974
1371
  newValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
@@ -983,7 +1380,11 @@ declare module '@polkadot/api-base/types/events' {
983
1380
  * Event emitted when a dynamic-rate payment stream is created. Provides information about the User and Provider of the stream
984
1381
  * and the initial amount provided.
985
1382
  **/
986
- DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256, amountProvided: u64], {
1383
+ DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [
1384
+ userAccount: AccountId32,
1385
+ providerId: H256,
1386
+ amountProvided: u64
1387
+ ], {
987
1388
  userAccount: AccountId32;
988
1389
  providerId: H256;
989
1390
  amountProvided: u64;
@@ -991,7 +1392,10 @@ declare module '@polkadot/api-base/types/events' {
991
1392
  /**
992
1393
  * Event emitted when a dynamic-rate payment stream is removed. Provides information about the User and Provider of the stream.
993
1394
  **/
994
- DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256], {
1395
+ DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
1396
+ userAccount: AccountId32,
1397
+ providerId: H256
1398
+ ], {
995
1399
  userAccount: AccountId32;
996
1400
  providerId: H256;
997
1401
  }>;
@@ -999,7 +1403,11 @@ declare module '@polkadot/api-base/types/events' {
999
1403
  * Event emitted when a dynamic-rate payment stream is updated. Provides information about the User and Provider of the stream
1000
1404
  * and the new amount provided.
1001
1405
  **/
1002
- DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256, newAmountProvided: u64], {
1406
+ DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
1407
+ userAccount: AccountId32,
1408
+ providerId: H256,
1409
+ newAmountProvided: u64
1410
+ ], {
1003
1411
  userAccount: AccountId32;
1004
1412
  providerId: H256;
1005
1413
  newAmountProvided: u64;
@@ -1008,7 +1416,11 @@ declare module '@polkadot/api-base/types/events' {
1008
1416
  * Event emitted when a fixed-rate payment stream is created. Provides information about the Provider and User of the stream
1009
1417
  * and its initial rate.
1010
1418
  **/
1011
- FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256, rate: u128], {
1419
+ FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [
1420
+ userAccount: AccountId32,
1421
+ providerId: H256,
1422
+ rate: u128
1423
+ ], {
1012
1424
  userAccount: AccountId32;
1013
1425
  providerId: H256;
1014
1426
  rate: u128;
@@ -1016,7 +1428,10 @@ declare module '@polkadot/api-base/types/events' {
1016
1428
  /**
1017
1429
  * Event emitted when a fixed-rate payment stream is removed. Provides information about the User and Provider of the stream.
1018
1430
  **/
1019
- FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256], {
1431
+ FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
1432
+ userAccount: AccountId32,
1433
+ providerId: H256
1434
+ ], {
1020
1435
  userAccount: AccountId32;
1021
1436
  providerId: H256;
1022
1437
  }>;
@@ -1024,7 +1439,11 @@ declare module '@polkadot/api-base/types/events' {
1024
1439
  * Event emitted when a fixed-rate payment stream is updated. Provides information about the User and Provider of the stream
1025
1440
  * and the new rate of the stream.
1026
1441
  **/
1027
- FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256, newRate: u128], {
1442
+ FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
1443
+ userAccount: AccountId32,
1444
+ providerId: H256,
1445
+ newRate: u128
1446
+ ], {
1028
1447
  userAccount: AccountId32;
1029
1448
  providerId: H256;
1030
1449
  newRate: u128;
@@ -1032,7 +1451,10 @@ declare module '@polkadot/api-base/types/events' {
1032
1451
  /**
1033
1452
  * Event emitted when the `on_poll` hook detects that the tick of the proof submitters that needs to process is not the one immediately after the last processed tick.
1034
1453
  **/
1035
- InconsistentTickProcessing: AugmentedEvent<ApiType, [lastProcessedTick: u32, tickToProcess: u32], {
1454
+ InconsistentTickProcessing: AugmentedEvent<ApiType, [
1455
+ lastProcessedTick: u32,
1456
+ tickToProcess: u32
1457
+ ], {
1036
1458
  lastProcessedTick: u32;
1037
1459
  tickToProcess: u32;
1038
1460
  }>;
@@ -1040,7 +1462,11 @@ declare module '@polkadot/api-base/types/events' {
1040
1462
  * Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
1041
1463
  * the tick number of the last chargeable tick and the price index at that tick.
1042
1464
  **/
1043
- LastChargeableInfoUpdated: AugmentedEvent<ApiType, [providerId: H256, lastChargeableTick: u32, lastChargeablePriceIndex: u128], {
1465
+ LastChargeableInfoUpdated: AugmentedEvent<ApiType, [
1466
+ providerId: H256,
1467
+ lastChargeableTick: u32,
1468
+ lastChargeablePriceIndex: u128
1469
+ ], {
1044
1470
  providerId: H256;
1045
1471
  lastChargeableTick: u32;
1046
1472
  lastChargeablePriceIndex: u128;
@@ -1049,7 +1475,13 @@ declare module '@polkadot/api-base/types/events' {
1049
1475
  * Event emitted when a payment is charged. Provides information about the user that was charged,
1050
1476
  * the Provider that received the funds, the tick up to which it was charged and the amount that was charged.
1051
1477
  **/
1052
- PaymentStreamCharged: AugmentedEvent<ApiType, [userAccount: AccountId32, providerId: H256, amount: u128, lastTickCharged: u32, chargedAtTick: u32], {
1478
+ PaymentStreamCharged: AugmentedEvent<ApiType, [
1479
+ userAccount: AccountId32,
1480
+ providerId: H256,
1481
+ amount: u128,
1482
+ lastTickCharged: u32,
1483
+ chargedAtTick: u32
1484
+ ], {
1053
1485
  userAccount: AccountId32;
1054
1486
  providerId: H256;
1055
1487
  amount: u128;
@@ -1072,7 +1504,11 @@ declare module '@polkadot/api-base/types/events' {
1072
1504
  * Event emitted when multiple payment streams have been charged from a Provider. Provides information about
1073
1505
  * the charged users, the Provider that received the funds and the tick when the charge happened.
1074
1506
  **/
1075
- UsersCharged: AugmentedEvent<ApiType, [userAccounts: Vec<AccountId32>, providerId: H256, chargedAtTick: u32], {
1507
+ UsersCharged: AugmentedEvent<ApiType, [
1508
+ userAccounts: Vec<AccountId32>,
1509
+ providerId: H256,
1510
+ chargedAtTick: u32
1511
+ ], {
1076
1512
  userAccounts: Vec<AccountId32>;
1077
1513
  providerId: H256;
1078
1514
  chargedAtTick: u32;
@@ -1101,7 +1537,11 @@ declare module '@polkadot/api-base/types/events' {
1101
1537
  /**
1102
1538
  * Some assets have been claimed from an asset trap
1103
1539
  **/
1104
- AssetsClaimed: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
1540
+ AssetsClaimed: AugmentedEvent<ApiType, [
1541
+ hash_: H256,
1542
+ origin: StagingXcmV5Location,
1543
+ assets: XcmVersionedAssets
1544
+ ], {
1105
1545
  hash_: H256;
1106
1546
  origin: StagingXcmV5Location;
1107
1547
  assets: XcmVersionedAssets;
@@ -1109,7 +1549,11 @@ declare module '@polkadot/api-base/types/events' {
1109
1549
  /**
1110
1550
  * Some assets have been placed in an asset trap.
1111
1551
  **/
1112
- AssetsTrapped: AugmentedEvent<ApiType, [hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets], {
1552
+ AssetsTrapped: AugmentedEvent<ApiType, [
1553
+ hash_: H256,
1554
+ origin: StagingXcmV5Location,
1555
+ assets: XcmVersionedAssets
1556
+ ], {
1113
1557
  hash_: H256;
1114
1558
  origin: StagingXcmV5Location;
1115
1559
  assets: XcmVersionedAssets;
@@ -1117,13 +1561,18 @@ declare module '@polkadot/api-base/types/events' {
1117
1561
  /**
1118
1562
  * Execution of an XCM message was attempted.
1119
1563
  **/
1120
- Attempted: AugmentedEvent<ApiType, [outcome: StagingXcmV5TraitsOutcome], {
1564
+ Attempted: AugmentedEvent<ApiType, [
1565
+ outcome: StagingXcmV5TraitsOutcome
1566
+ ], {
1121
1567
  outcome: StagingXcmV5TraitsOutcome;
1122
1568
  }>;
1123
1569
  /**
1124
1570
  * Fees were paid from a location for an operation (often for using `SendXcm`).
1125
1571
  **/
1126
- FeesPaid: AugmentedEvent<ApiType, [paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets], {
1572
+ FeesPaid: AugmentedEvent<ApiType, [
1573
+ paying: StagingXcmV5Location,
1574
+ fees: StagingXcmV5AssetAssets
1575
+ ], {
1127
1576
  paying: StagingXcmV5Location;
1128
1577
  fees: StagingXcmV5AssetAssets;
1129
1578
  }>;
@@ -1132,7 +1581,12 @@ declare module '@polkadot/api-base/types/events' {
1132
1581
  * not match the expected. The query remains registered for a later, valid, response to
1133
1582
  * be received and acted upon.
1134
1583
  **/
1135
- InvalidQuerier: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedQuerier: StagingXcmV5Location, maybeActualQuerier: Option<StagingXcmV5Location>], {
1584
+ InvalidQuerier: AugmentedEvent<ApiType, [
1585
+ origin: StagingXcmV5Location,
1586
+ queryId: u64,
1587
+ expectedQuerier: StagingXcmV5Location,
1588
+ maybeActualQuerier: Option<StagingXcmV5Location>
1589
+ ], {
1136
1590
  origin: StagingXcmV5Location;
1137
1591
  queryId: u64;
1138
1592
  expectedQuerier: StagingXcmV5Location;
@@ -1147,7 +1601,10 @@ declare module '@polkadot/api-base/types/events' {
1147
1601
  * valid response will be dropped. Manual governance intervention is probably going to be
1148
1602
  * needed.
1149
1603
  **/
1150
- InvalidQuerierVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
1604
+ InvalidQuerierVersion: AugmentedEvent<ApiType, [
1605
+ origin: StagingXcmV5Location,
1606
+ queryId: u64
1607
+ ], {
1151
1608
  origin: StagingXcmV5Location;
1152
1609
  queryId: u64;
1153
1610
  }>;
@@ -1156,7 +1613,11 @@ declare module '@polkadot/api-base/types/events' {
1156
1613
  * not match that expected. The query remains registered for a later, valid, response to
1157
1614
  * be received and acted upon.
1158
1615
  **/
1159
- InvalidResponder: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64, expectedLocation: Option<StagingXcmV5Location>], {
1616
+ InvalidResponder: AugmentedEvent<ApiType, [
1617
+ origin: StagingXcmV5Location,
1618
+ queryId: u64,
1619
+ expectedLocation: Option<StagingXcmV5Location>
1620
+ ], {
1160
1621
  origin: StagingXcmV5Location;
1161
1622
  queryId: u64;
1162
1623
  expectedLocation: Option<StagingXcmV5Location>;
@@ -1170,7 +1631,10 @@ declare module '@polkadot/api-base/types/events' {
1170
1631
  * valid response will be dropped. Manual governance intervention is probably going to be
1171
1632
  * needed.
1172
1633
  **/
1173
- InvalidResponderVersion: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
1634
+ InvalidResponderVersion: AugmentedEvent<ApiType, [
1635
+ origin: StagingXcmV5Location,
1636
+ queryId: u64
1637
+ ], {
1174
1638
  origin: StagingXcmV5Location;
1175
1639
  queryId: u64;
1176
1640
  }>;
@@ -1178,7 +1642,11 @@ declare module '@polkadot/api-base/types/events' {
1178
1642
  * Query response has been received and query is removed. The registered notification has
1179
1643
  * been dispatched and executed successfully.
1180
1644
  **/
1181
- Notified: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
1645
+ Notified: AugmentedEvent<ApiType, [
1646
+ queryId: u64,
1647
+ palletIndex: u8,
1648
+ callIndex: u8
1649
+ ], {
1182
1650
  queryId: u64;
1183
1651
  palletIndex: u8;
1184
1652
  callIndex: u8;
@@ -1188,7 +1656,11 @@ declare module '@polkadot/api-base/types/events' {
1188
1656
  * decoded into a `Call`; this might be due to dispatch function having a signature which
1189
1657
  * is not `(origin, QueryId, Response)`.
1190
1658
  **/
1191
- NotifyDecodeFailed: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
1659
+ NotifyDecodeFailed: AugmentedEvent<ApiType, [
1660
+ queryId: u64,
1661
+ palletIndex: u8,
1662
+ callIndex: u8
1663
+ ], {
1192
1664
  queryId: u64;
1193
1665
  palletIndex: u8;
1194
1666
  callIndex: u8;
@@ -1197,7 +1669,11 @@ declare module '@polkadot/api-base/types/events' {
1197
1669
  * Query response has been received and query is removed. There was a general error with
1198
1670
  * dispatching the notification call.
1199
1671
  **/
1200
- NotifyDispatchError: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], {
1672
+ NotifyDispatchError: AugmentedEvent<ApiType, [
1673
+ queryId: u64,
1674
+ palletIndex: u8,
1675
+ callIndex: u8
1676
+ ], {
1201
1677
  queryId: u64;
1202
1678
  palletIndex: u8;
1203
1679
  callIndex: u8;
@@ -1207,7 +1683,13 @@ declare module '@polkadot/api-base/types/events' {
1207
1683
  * could not be dispatched because the dispatch weight is greater than the maximum weight
1208
1684
  * originally budgeted by this runtime for the query result.
1209
1685
  **/
1210
- NotifyOverweight: AugmentedEvent<ApiType, [queryId: u64, palletIndex: u8, callIndex: u8, actualWeight: SpWeightsWeightV2Weight, maxBudgetedWeight: SpWeightsWeightV2Weight], {
1686
+ NotifyOverweight: AugmentedEvent<ApiType, [
1687
+ queryId: u64,
1688
+ palletIndex: u8,
1689
+ callIndex: u8,
1690
+ actualWeight: SpWeightsWeightV2Weight,
1691
+ maxBudgetedWeight: SpWeightsWeightV2Weight
1692
+ ], {
1211
1693
  queryId: u64;
1212
1694
  palletIndex: u8;
1213
1695
  callIndex: u8;
@@ -1218,7 +1700,10 @@ declare module '@polkadot/api-base/types/events' {
1218
1700
  * A given location which had a version change subscription was dropped owing to an error
1219
1701
  * migrating the location to our new XCM format.
1220
1702
  **/
1221
- NotifyTargetMigrationFail: AugmentedEvent<ApiType, [location: XcmVersionedLocation, queryId: u64], {
1703
+ NotifyTargetMigrationFail: AugmentedEvent<ApiType, [
1704
+ location: XcmVersionedLocation,
1705
+ queryId: u64
1706
+ ], {
1222
1707
  location: XcmVersionedLocation;
1223
1708
  queryId: u64;
1224
1709
  }>;
@@ -1226,7 +1711,11 @@ declare module '@polkadot/api-base/types/events' {
1226
1711
  * A given location which had a version change subscription was dropped owing to an error
1227
1712
  * sending the notification to it.
1228
1713
  **/
1229
- NotifyTargetSendFail: AugmentedEvent<ApiType, [location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError], {
1714
+ NotifyTargetSendFail: AugmentedEvent<ApiType, [
1715
+ location: StagingXcmV5Location,
1716
+ queryId: u64,
1717
+ error: XcmV5TraitsError
1718
+ ], {
1230
1719
  location: StagingXcmV5Location;
1231
1720
  queryId: u64;
1232
1721
  error: XcmV5TraitsError;
@@ -1235,7 +1724,10 @@ declare module '@polkadot/api-base/types/events' {
1235
1724
  * Query response has been received and is ready for taking with `take_response`. There is
1236
1725
  * no registered notification call.
1237
1726
  **/
1238
- ResponseReady: AugmentedEvent<ApiType, [queryId: u64, response: StagingXcmV5Response], {
1727
+ ResponseReady: AugmentedEvent<ApiType, [
1728
+ queryId: u64,
1729
+ response: StagingXcmV5Response
1730
+ ], {
1239
1731
  queryId: u64;
1240
1732
  response: StagingXcmV5Response;
1241
1733
  }>;
@@ -1248,7 +1740,12 @@ declare module '@polkadot/api-base/types/events' {
1248
1740
  /**
1249
1741
  * A XCM message was sent.
1250
1742
  **/
1251
- Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
1743
+ Sent: AugmentedEvent<ApiType, [
1744
+ origin: StagingXcmV5Location,
1745
+ destination: StagingXcmV5Location,
1746
+ message: StagingXcmV5Xcm,
1747
+ messageId: U8aFixed
1748
+ ], {
1252
1749
  origin: StagingXcmV5Location;
1253
1750
  destination: StagingXcmV5Location;
1254
1751
  message: StagingXcmV5Xcm;
@@ -1258,7 +1755,10 @@ declare module '@polkadot/api-base/types/events' {
1258
1755
  * The supported version of a location has been changed. This might be through an
1259
1756
  * automatic notification or a manual intervention.
1260
1757
  **/
1261
- SupportedVersionChanged: AugmentedEvent<ApiType, [location: StagingXcmV5Location, version: u32], {
1758
+ SupportedVersionChanged: AugmentedEvent<ApiType, [
1759
+ location: StagingXcmV5Location,
1760
+ version: u32
1761
+ ], {
1262
1762
  location: StagingXcmV5Location;
1263
1763
  version: u32;
1264
1764
  }>;
@@ -1267,7 +1767,10 @@ declare module '@polkadot/api-base/types/events' {
1267
1767
  * matching query was never registered, it may be because it is a duplicate response, or
1268
1768
  * because the query timed out.
1269
1769
  **/
1270
- UnexpectedResponse: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, queryId: u64], {
1770
+ UnexpectedResponse: AugmentedEvent<ApiType, [
1771
+ origin: StagingXcmV5Location,
1772
+ queryId: u64
1773
+ ], {
1271
1774
  origin: StagingXcmV5Location;
1272
1775
  queryId: u64;
1273
1776
  }>;
@@ -1276,7 +1779,12 @@ declare module '@polkadot/api-base/types/events' {
1276
1779
  *
1277
1780
  * The cost of sending it (borne by the chain) is included.
1278
1781
  **/
1279
- VersionChangeNotified: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, result: u32, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
1782
+ VersionChangeNotified: AugmentedEvent<ApiType, [
1783
+ destination: StagingXcmV5Location,
1784
+ result: u32,
1785
+ cost: StagingXcmV5AssetAssets,
1786
+ messageId: U8aFixed
1787
+ ], {
1280
1788
  destination: StagingXcmV5Location;
1281
1789
  result: u32;
1282
1790
  cost: StagingXcmV5AssetAssets;
@@ -1291,7 +1799,11 @@ declare module '@polkadot/api-base/types/events' {
1291
1799
  /**
1292
1800
  * We have requested that a remote chain send us XCM version change notifications.
1293
1801
  **/
1294
- VersionNotifyRequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
1802
+ VersionNotifyRequested: AugmentedEvent<ApiType, [
1803
+ destination: StagingXcmV5Location,
1804
+ cost: StagingXcmV5AssetAssets,
1805
+ messageId: U8aFixed
1806
+ ], {
1295
1807
  destination: StagingXcmV5Location;
1296
1808
  cost: StagingXcmV5AssetAssets;
1297
1809
  messageId: U8aFixed;
@@ -1300,7 +1812,11 @@ declare module '@polkadot/api-base/types/events' {
1300
1812
  * A remote has requested XCM version change notification from us and we have honored it.
1301
1813
  * A version information message is sent to them and its cost is included.
1302
1814
  **/
1303
- VersionNotifyStarted: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
1815
+ VersionNotifyStarted: AugmentedEvent<ApiType, [
1816
+ destination: StagingXcmV5Location,
1817
+ cost: StagingXcmV5AssetAssets,
1818
+ messageId: U8aFixed
1819
+ ], {
1304
1820
  destination: StagingXcmV5Location;
1305
1821
  cost: StagingXcmV5AssetAssets;
1306
1822
  messageId: U8aFixed;
@@ -1309,7 +1825,11 @@ declare module '@polkadot/api-base/types/events' {
1309
1825
  * We have requested that a remote chain stops sending us XCM version change
1310
1826
  * notifications.
1311
1827
  **/
1312
- VersionNotifyUnrequested: AugmentedEvent<ApiType, [destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed], {
1828
+ VersionNotifyUnrequested: AugmentedEvent<ApiType, [
1829
+ destination: StagingXcmV5Location,
1830
+ cost: StagingXcmV5AssetAssets,
1831
+ messageId: U8aFixed
1832
+ ], {
1313
1833
  destination: StagingXcmV5Location;
1314
1834
  cost: StagingXcmV5AssetAssets;
1315
1835
  messageId: U8aFixed;
@@ -1335,7 +1855,12 @@ declare module '@polkadot/api-base/types/events' {
1335
1855
  * Additional information for context on where the mutations were applied can be provided
1336
1856
  * by using the `event_info` field.
1337
1857
  **/
1338
- MutationsApplied: AugmentedEvent<ApiType, [mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>, oldRoot: H256, newRoot: H256, eventInfo: Option<Bytes>], {
1858
+ MutationsApplied: AugmentedEvent<ApiType, [
1859
+ mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
1860
+ oldRoot: H256,
1861
+ newRoot: H256,
1862
+ eventInfo: Option<Bytes>
1863
+ ], {
1339
1864
  mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1340
1865
  oldRoot: H256;
1341
1866
  newRoot: H256;
@@ -1344,7 +1869,12 @@ declare module '@polkadot/api-base/types/events' {
1344
1869
  /**
1345
1870
  * A set of mutations has been applied to the Forest of a given Provider.
1346
1871
  **/
1347
- MutationsAppliedForProvider: AugmentedEvent<ApiType, [providerId: H256, mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>, oldRoot: H256, newRoot: H256], {
1872
+ MutationsAppliedForProvider: AugmentedEvent<ApiType, [
1873
+ providerId: H256,
1874
+ mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
1875
+ oldRoot: H256,
1876
+ newRoot: H256
1877
+ ], {
1348
1878
  providerId: H256;
1349
1879
  mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1350
1880
  oldRoot: H256;
@@ -1353,14 +1883,22 @@ declare module '@polkadot/api-base/types/events' {
1353
1883
  /**
1354
1884
  * A manual challenge was submitted.
1355
1885
  **/
1356
- NewChallenge: AugmentedEvent<ApiType, [who: Option<AccountId32>, keyChallenged: H256], {
1886
+ NewChallenge: AugmentedEvent<ApiType, [
1887
+ who: Option<AccountId32>,
1888
+ keyChallenged: H256
1889
+ ], {
1357
1890
  who: Option<AccountId32>;
1358
1891
  keyChallenged: H256;
1359
1892
  }>;
1360
1893
  /**
1361
1894
  * A provider's challenge cycle was initialised.
1362
1895
  **/
1363
- NewChallengeCycleInitialised: AugmentedEvent<ApiType, [currentTick: u32, nextChallengeDeadline: u32, provider: H256, maybeProviderAccount: Option<AccountId32>], {
1896
+ NewChallengeCycleInitialised: AugmentedEvent<ApiType, [
1897
+ currentTick: u32,
1898
+ nextChallengeDeadline: u32,
1899
+ provider: H256,
1900
+ maybeProviderAccount: Option<AccountId32>
1901
+ ], {
1364
1902
  currentTick: u32;
1365
1903
  nextChallengeDeadline: u32;
1366
1904
  provider: H256;
@@ -1369,21 +1907,31 @@ declare module '@polkadot/api-base/types/events' {
1369
1907
  /**
1370
1908
  * A new challenge seed was generated.
1371
1909
  **/
1372
- NewChallengeSeed: AugmentedEvent<ApiType, [challengesTicker: u32, seed: H256], {
1910
+ NewChallengeSeed: AugmentedEvent<ApiType, [
1911
+ challengesTicker: u32,
1912
+ seed: H256
1913
+ ], {
1373
1914
  challengesTicker: u32;
1374
1915
  seed: H256;
1375
1916
  }>;
1376
1917
  /**
1377
1918
  * A new checkpoint challenge was generated.
1378
1919
  **/
1379
- NewCheckpointChallenge: AugmentedEvent<ApiType, [challengesTicker: u32, challenges: Vec<PalletProofsDealerCustomChallenge>], {
1920
+ NewCheckpointChallenge: AugmentedEvent<ApiType, [
1921
+ challengesTicker: u32,
1922
+ challenges: Vec<PalletProofsDealerCustomChallenge>
1923
+ ], {
1380
1924
  challengesTicker: u32;
1381
1925
  challenges: Vec<PalletProofsDealerCustomChallenge>;
1382
1926
  }>;
1383
1927
  /**
1384
1928
  * A priority challenge was submitted.
1385
1929
  **/
1386
- NewPriorityChallenge: AugmentedEvent<ApiType, [who: Option<AccountId32>, keyChallenged: H256, shouldRemoveKey: bool], {
1930
+ NewPriorityChallenge: AugmentedEvent<ApiType, [
1931
+ who: Option<AccountId32>,
1932
+ keyChallenged: H256,
1933
+ shouldRemoveKey: bool
1934
+ ], {
1387
1935
  who: Option<AccountId32>;
1388
1936
  keyChallenged: H256;
1389
1937
  shouldRemoveKey: bool;
@@ -1397,7 +1945,11 @@ declare module '@polkadot/api-base/types/events' {
1397
1945
  /**
1398
1946
  * A proof was accepted.
1399
1947
  **/
1400
- ProofAccepted: AugmentedEvent<ApiType, [providerId: H256, proof: PalletProofsDealerProof, lastTickProven: u32], {
1948
+ ProofAccepted: AugmentedEvent<ApiType, [
1949
+ providerId: H256,
1950
+ proof: PalletProofsDealerProof,
1951
+ lastTickProven: u32
1952
+ ], {
1401
1953
  providerId: H256;
1402
1954
  proof: PalletProofsDealerProof;
1403
1955
  lastTickProven: u32;
@@ -1405,7 +1957,10 @@ declare module '@polkadot/api-base/types/events' {
1405
1957
  /**
1406
1958
  * A provider was marked as slashable and their challenge deadline was forcefully pushed.
1407
1959
  **/
1408
- SlashableProvider: AugmentedEvent<ApiType, [provider: H256, nextChallengeDeadline: u32], {
1960
+ SlashableProvider: AugmentedEvent<ApiType, [
1961
+ provider: H256,
1962
+ nextChallengeDeadline: u32
1963
+ ], {
1409
1964
  provider: H256;
1410
1965
  nextChallengeDeadline: u32;
1411
1966
  }>;
@@ -1419,7 +1974,10 @@ declare module '@polkadot/api-base/types/events' {
1419
1974
  * Event emitted when a provider has been slashed and they have reached a capacity deficit (i.e. the provider's capacity fell below their used capacity)
1420
1975
  * signalling the end of the grace period since an automatic top up could not be performed due to insufficient free balance.
1421
1976
  **/
1422
- AwaitingTopUp: AugmentedEvent<ApiType, [providerId: H256, topUpMetadata: PalletStorageProvidersTopUpMetadata], {
1977
+ AwaitingTopUp: AugmentedEvent<ApiType, [
1978
+ providerId: H256,
1979
+ topUpMetadata: PalletStorageProvidersTopUpMetadata
1980
+ ], {
1423
1981
  providerId: H256;
1424
1982
  topUpMetadata: PalletStorageProvidersTopUpMetadata;
1425
1983
  }>;
@@ -1433,7 +1991,11 @@ declare module '@polkadot/api-base/types/events' {
1433
1991
  * Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
1434
1992
  * that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
1435
1993
  **/
1436
- BspRequestSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId32, multiaddresses: Vec<Bytes>, capacity: u64], {
1994
+ BspRequestSignUpSuccess: AugmentedEvent<ApiType, [
1995
+ who: AccountId32,
1996
+ multiaddresses: Vec<Bytes>,
1997
+ capacity: u64
1998
+ ], {
1437
1999
  who: AccountId32;
1438
2000
  multiaddresses: Vec<Bytes>;
1439
2001
  capacity: u64;
@@ -1442,7 +2004,10 @@ declare module '@polkadot/api-base/types/events' {
1442
2004
  * Event emitted when a Backup Storage Provider has signed off successfully. Provides information about
1443
2005
  * that BSP's account id.
1444
2006
  **/
1445
- BspSignOffSuccess: AugmentedEvent<ApiType, [who: AccountId32, bspId: H256], {
2007
+ BspSignOffSuccess: AugmentedEvent<ApiType, [
2008
+ who: AccountId32,
2009
+ bspId: H256
2010
+ ], {
1446
2011
  who: AccountId32;
1447
2012
  bspId: H256;
1448
2013
  }>;
@@ -1451,7 +2016,13 @@ declare module '@polkadot/api-base/types/events' {
1451
2016
  * that BSP's account id, the initial root of the Merkle Patricia Trie that it stores, the total data it can store
1452
2017
  * according to its stake, and its multiaddress.
1453
2018
  **/
1454
- BspSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId32, bspId: H256, root: H256, multiaddresses: Vec<Bytes>, capacity: u64], {
2019
+ BspSignUpSuccess: AugmentedEvent<ApiType, [
2020
+ who: AccountId32,
2021
+ bspId: H256,
2022
+ root: H256,
2023
+ multiaddresses: Vec<Bytes>,
2024
+ capacity: u64
2025
+ ], {
1455
2026
  who: AccountId32;
1456
2027
  bspId: H256;
1457
2028
  root: H256;
@@ -1461,7 +2032,11 @@ declare module '@polkadot/api-base/types/events' {
1461
2032
  /**
1462
2033
  * Event emitted when a bucket's root has been changed.
1463
2034
  **/
1464
- BucketRootChanged: AugmentedEvent<ApiType, [bucketId: H256, oldRoot: H256, newRoot: H256], {
2035
+ BucketRootChanged: AugmentedEvent<ApiType, [
2036
+ bucketId: H256,
2037
+ oldRoot: H256,
2038
+ newRoot: H256
2039
+ ], {
1465
2040
  bucketId: H256;
1466
2041
  oldRoot: H256;
1467
2042
  newRoot: H256;
@@ -1470,7 +2045,10 @@ declare module '@polkadot/api-base/types/events' {
1470
2045
  * Event emitted when the provider that has been marked as insolvent was a MSP. It notifies the users of that MSP
1471
2046
  * the buckets that it was holding, so they can take appropriate measures.
1472
2047
  **/
1473
- BucketsOfInsolventMsp: AugmentedEvent<ApiType, [mspId: H256, buckets: Vec<H256>], {
2048
+ BucketsOfInsolventMsp: AugmentedEvent<ApiType, [
2049
+ mspId: H256,
2050
+ buckets: Vec<H256>
2051
+ ], {
1474
2052
  mspId: H256;
1475
2053
  buckets: Vec<H256>;
1476
2054
  }>;
@@ -1478,7 +2056,13 @@ declare module '@polkadot/api-base/types/events' {
1478
2056
  * Event emitted when a SP has changed its capacity successfully. Provides information about
1479
2057
  * that SP's account id, its old total data that could store, and the new total data.
1480
2058
  **/
1481
- CapacityChanged: AugmentedEvent<ApiType, [who: AccountId32, providerId: PalletStorageProvidersStorageProviderId, oldCapacity: u64, newCapacity: u64, nextBlockWhenChangeAllowed: u32], {
2059
+ CapacityChanged: AugmentedEvent<ApiType, [
2060
+ who: AccountId32,
2061
+ providerId: PalletStorageProvidersStorageProviderId,
2062
+ oldCapacity: u64,
2063
+ newCapacity: u64,
2064
+ nextBlockWhenChangeAllowed: u32
2065
+ ], {
1482
2066
  who: AccountId32;
1483
2067
  providerId: PalletStorageProvidersStorageProviderId;
1484
2068
  oldCapacity: u64;
@@ -1488,7 +2072,9 @@ declare module '@polkadot/api-base/types/events' {
1488
2072
  /**
1489
2073
  * Event emitted when the account ID of a provider that has just been marked as insolvent can't be found in storage.
1490
2074
  **/
1491
- FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [providerId: H256], {
2075
+ FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [
2076
+ providerId: H256
2077
+ ], {
1492
2078
  providerId: H256;
1493
2079
  }>;
1494
2080
  /**
@@ -1499,14 +2085,21 @@ declare module '@polkadot/api-base/types/events' {
1499
2085
  * The result of this is that the provider's top up expiration will be reinserted at the correct expiration tick based on the
1500
2086
  * `TopUpMetadata` found in `AwaitingTopUpFromProviders` storage.
1501
2087
  **/
1502
- FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [providerId: H256, expirationTick: u32], {
2088
+ FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [
2089
+ providerId: H256,
2090
+ expirationTick: u32
2091
+ ], {
1503
2092
  providerId: H256;
1504
2093
  expirationTick: u32;
1505
2094
  }>;
1506
2095
  /**
1507
2096
  * Event emitted when there's an error slashing the now insolvent provider.
1508
2097
  **/
1509
- FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [providerId: H256, amountToSlash: u128, error: SpRuntimeDispatchError], {
2098
+ FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [
2099
+ providerId: H256,
2100
+ amountToSlash: u128,
2101
+ error: SpRuntimeDispatchError
2102
+ ], {
1510
2103
  providerId: H256;
1511
2104
  amountToSlash: u128;
1512
2105
  error: SpRuntimeDispatchError;
@@ -1514,7 +2107,10 @@ declare module '@polkadot/api-base/types/events' {
1514
2107
  /**
1515
2108
  * Event emitted when there's an error stopping all cycles for an insolvent Backup Storage Provider.
1516
2109
  **/
1517
- FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [providerId: H256, error: SpRuntimeDispatchError], {
2110
+ FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [
2111
+ providerId: H256,
2112
+ error: SpRuntimeDispatchError
2113
+ ], {
1518
2114
  providerId: H256;
1519
2115
  error: SpRuntimeDispatchError;
1520
2116
  }>;
@@ -1528,7 +2124,11 @@ declare module '@polkadot/api-base/types/events' {
1528
2124
  * Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
1529
2125
  * that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
1530
2126
  **/
1531
- MspRequestSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId32, multiaddresses: Vec<Bytes>, capacity: u64], {
2127
+ MspRequestSignUpSuccess: AugmentedEvent<ApiType, [
2128
+ who: AccountId32,
2129
+ multiaddresses: Vec<Bytes>,
2130
+ capacity: u64
2131
+ ], {
1532
2132
  who: AccountId32;
1533
2133
  multiaddresses: Vec<Bytes>;
1534
2134
  capacity: u64;
@@ -1537,7 +2137,10 @@ declare module '@polkadot/api-base/types/events' {
1537
2137
  * Event emitted when a Main Storage Provider has signed off successfully. Provides information about
1538
2138
  * that MSP's account id.
1539
2139
  **/
1540
- MspSignOffSuccess: AugmentedEvent<ApiType, [who: AccountId32, mspId: H256], {
2140
+ MspSignOffSuccess: AugmentedEvent<ApiType, [
2141
+ who: AccountId32,
2142
+ mspId: H256
2143
+ ], {
1541
2144
  who: AccountId32;
1542
2145
  mspId: H256;
1543
2146
  }>;
@@ -1545,7 +2148,13 @@ declare module '@polkadot/api-base/types/events' {
1545
2148
  * Event emitted when a Main Storage Provider has confirmed its sign up successfully. Provides information about
1546
2149
  * that MSP's account id, the total data it can store according to its stake, its multiaddress, and its value proposition.
1547
2150
  **/
1548
- MspSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId32, mspId: H256, multiaddresses: Vec<Bytes>, capacity: u64, valueProp: PalletStorageProvidersValuePropositionWithId], {
2151
+ MspSignUpSuccess: AugmentedEvent<ApiType, [
2152
+ who: AccountId32,
2153
+ mspId: H256,
2154
+ multiaddresses: Vec<Bytes>,
2155
+ capacity: u64,
2156
+ valueProp: PalletStorageProvidersValuePropositionWithId
2157
+ ], {
1549
2158
  who: AccountId32;
1550
2159
  mspId: H256;
1551
2160
  multiaddresses: Vec<Bytes>;
@@ -1555,14 +2164,20 @@ declare module '@polkadot/api-base/types/events' {
1555
2164
  /**
1556
2165
  * Event emitted when a Provider has added a new MultiAddress to its account.
1557
2166
  **/
1558
- MultiAddressAdded: AugmentedEvent<ApiType, [providerId: H256, newMultiaddress: Bytes], {
2167
+ MultiAddressAdded: AugmentedEvent<ApiType, [
2168
+ providerId: H256,
2169
+ newMultiaddress: Bytes
2170
+ ], {
1559
2171
  providerId: H256;
1560
2172
  newMultiaddress: Bytes;
1561
2173
  }>;
1562
2174
  /**
1563
2175
  * Event emitted when a Provider has removed a MultiAddress from its account.
1564
2176
  **/
1565
- MultiAddressRemoved: AugmentedEvent<ApiType, [providerId: H256, removedMultiaddress: Bytes], {
2177
+ MultiAddressRemoved: AugmentedEvent<ApiType, [
2178
+ providerId: H256,
2179
+ removedMultiaddress: Bytes
2180
+ ], {
1566
2181
  providerId: H256;
1567
2182
  removedMultiaddress: Bytes;
1568
2183
  }>;
@@ -1585,21 +2200,31 @@ declare module '@polkadot/api-base/types/events' {
1585
2200
  /**
1586
2201
  * Event emitted when a SP has been slashed.
1587
2202
  **/
1588
- Slashed: AugmentedEvent<ApiType, [providerId: H256, amount: u128], {
2203
+ Slashed: AugmentedEvent<ApiType, [
2204
+ providerId: H256,
2205
+ amount: u128
2206
+ ], {
1589
2207
  providerId: H256;
1590
2208
  amount: u128;
1591
2209
  }>;
1592
2210
  /**
1593
2211
  * Event emitted when an SP has topped up its deposit based on slash amount.
1594
2212
  **/
1595
- TopUpFulfilled: AugmentedEvent<ApiType, [providerId: H256, amount: u128], {
2213
+ TopUpFulfilled: AugmentedEvent<ApiType, [
2214
+ providerId: H256,
2215
+ amount: u128
2216
+ ], {
1596
2217
  providerId: H256;
1597
2218
  amount: u128;
1598
2219
  }>;
1599
2220
  /**
1600
2221
  * Event emitted when an MSP adds a new value proposition.
1601
2222
  **/
1602
- ValuePropAdded: AugmentedEvent<ApiType, [mspId: H256, valuePropId: H256, valueProp: PalletStorageProvidersValueProposition], {
2223
+ ValuePropAdded: AugmentedEvent<ApiType, [
2224
+ mspId: H256,
2225
+ valuePropId: H256,
2226
+ valueProp: PalletStorageProvidersValueProposition
2227
+ ], {
1603
2228
  mspId: H256;
1604
2229
  valuePropId: H256;
1605
2230
  valueProp: PalletStorageProvidersValueProposition;
@@ -1607,7 +2232,10 @@ declare module '@polkadot/api-base/types/events' {
1607
2232
  /**
1608
2233
  * Event emitted when an MSP's value proposition is made unavailable.
1609
2234
  **/
1610
- ValuePropUnavailable: AugmentedEvent<ApiType, [mspId: H256, valuePropId: H256], {
2235
+ ValuePropUnavailable: AugmentedEvent<ApiType, [
2236
+ mspId: H256,
2237
+ valuePropId: H256
2238
+ ], {
1611
2239
  mspId: H256;
1612
2240
  valuePropId: H256;
1613
2241
  }>;
@@ -1620,7 +2248,11 @@ declare module '@polkadot/api-base/types/events' {
1620
2248
  /**
1621
2249
  * Event emitted when a new random seed is available from the relay chain
1622
2250
  **/
1623
- NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [randomnessSeed: H256, fromEpoch: u64, validUntilBlock: u32], {
2251
+ NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [
2252
+ randomnessSeed: H256,
2253
+ fromEpoch: u64,
2254
+ validUntilBlock: u32
2255
+ ], {
1624
2256
  randomnessSeed: H256;
1625
2257
  fromEpoch: u64;
1626
2258
  validUntilBlock: u32;
@@ -1647,7 +2279,10 @@ declare module '@polkadot/api-base/types/events' {
1647
2279
  /**
1648
2280
  * The sudo key has been updated.
1649
2281
  **/
1650
- KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId32>, new_: AccountId32], {
2282
+ KeyChanged: AugmentedEvent<ApiType, [
2283
+ old: Option<AccountId32>,
2284
+ new_: AccountId32
2285
+ ], {
1651
2286
  old: Option<AccountId32>;
1652
2287
  new_: AccountId32;
1653
2288
  }>;
@@ -1658,13 +2293,17 @@ declare module '@polkadot/api-base/types/events' {
1658
2293
  /**
1659
2294
  * A sudo call just took place.
1660
2295
  **/
1661
- Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
2296
+ Sudid: AugmentedEvent<ApiType, [
2297
+ sudoResult: Result<Null, SpRuntimeDispatchError>
2298
+ ], {
1662
2299
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1663
2300
  }>;
1664
2301
  /**
1665
2302
  * A [sudo_as](Pallet::sudo_as) call just took place.
1666
2303
  **/
1667
- SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
2304
+ SudoAsDone: AugmentedEvent<ApiType, [
2305
+ sudoResult: Result<Null, SpRuntimeDispatchError>
2306
+ ], {
1668
2307
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1669
2308
  }>;
1670
2309
  /**
@@ -1680,14 +2319,19 @@ declare module '@polkadot/api-base/types/events' {
1680
2319
  /**
1681
2320
  * An extrinsic failed.
1682
2321
  **/
1683
- ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
2322
+ ExtrinsicFailed: AugmentedEvent<ApiType, [
2323
+ dispatchError: SpRuntimeDispatchError,
2324
+ dispatchInfo: FrameSystemDispatchEventInfo
2325
+ ], {
1684
2326
  dispatchError: SpRuntimeDispatchError;
1685
2327
  dispatchInfo: FrameSystemDispatchEventInfo;
1686
2328
  }>;
1687
2329
  /**
1688
2330
  * An extrinsic completed successfully.
1689
2331
  **/
1690
- ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
2332
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [
2333
+ dispatchInfo: FrameSystemDispatchEventInfo
2334
+ ], {
1691
2335
  dispatchInfo: FrameSystemDispatchEventInfo;
1692
2336
  }>;
1693
2337
  /**
@@ -1705,14 +2349,20 @@ declare module '@polkadot/api-base/types/events' {
1705
2349
  /**
1706
2350
  * On on-chain remark happened.
1707
2351
  **/
1708
- Remarked: AugmentedEvent<ApiType, [sender: AccountId32, hash_: H256], {
2352
+ Remarked: AugmentedEvent<ApiType, [
2353
+ sender: AccountId32,
2354
+ hash_: H256
2355
+ ], {
1709
2356
  sender: AccountId32;
1710
2357
  hash_: H256;
1711
2358
  }>;
1712
2359
  /**
1713
2360
  * An upgrade was authorized.
1714
2361
  **/
1715
- UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
2362
+ UpgradeAuthorized: AugmentedEvent<ApiType, [
2363
+ codeHash: H256,
2364
+ checkVersion: bool
2365
+ ], {
1716
2366
  codeHash: H256;
1717
2367
  checkVersion: bool;
1718
2368
  }>;
@@ -1726,7 +2376,11 @@ declare module '@polkadot/api-base/types/events' {
1726
2376
  * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
1727
2377
  * has been paid by `who`.
1728
2378
  **/
1729
- TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId32, actualFee: u128, tip: u128], {
2379
+ TransactionFeePaid: AugmentedEvent<ApiType, [
2380
+ who: AccountId32,
2381
+ actualFee: u128,
2382
+ tip: u128
2383
+ ], {
1730
2384
  who: AccountId32;
1731
2385
  actualFee: u128;
1732
2386
  tip: u128;