@storagehub/api-augment 0.2.10 → 0.2.14

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 (84) 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 +2406 -2869
  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/types-lookup.js +1 -1
  16. package/dist/parachain/interfaces/types.js +1 -1
  17. package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
  18. package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
  19. package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
  20. package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
  21. package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
  22. package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
  23. package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
  24. package/dist/solochain-evm/interfaces/augment-api.js +7 -7
  25. package/dist/solochain-evm/interfaces/augment-types.js +1 -1
  26. package/dist/solochain-evm/interfaces/index.js +1 -1
  27. package/dist/solochain-evm/interfaces/lookup.js +1686 -2107
  28. package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
  29. package/dist/solochain-evm/interfaces/registry.js +1 -1
  30. package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
  31. package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
  32. package/dist/solochain-evm/interfaces/types.js +1 -1
  33. package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
  34. package/dist/types/parachain/interfaces/augment-api-errors.d.ts +8 -107
  35. package/dist/types/parachain/interfaces/augment-api-events.d.ts +185 -917
  36. package/dist/types/parachain/interfaces/augment-api-query.d.ts +112 -319
  37. package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
  38. package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +25 -25
  39. package/dist/types/parachain/interfaces/augment-api-tx.d.ts +212 -637
  40. package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
  41. package/dist/types/parachain/interfaces/augment-types.d.ts +76 -75
  42. package/dist/types/parachain/interfaces/index.d.ts +1 -1
  43. package/dist/types/parachain/interfaces/lookup.d.ts +289 -326
  44. package/dist/types/parachain/interfaces/registry.d.ts +4 -4
  45. package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
  46. package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +46 -36
  47. package/dist/types/parachain/interfaces/types-lookup.d.ts +525 -712
  48. package/dist/types/parachain/interfaces/types.d.ts +1 -1
  49. package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
  50. package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +8 -107
  51. package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +150 -763
  52. package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +100 -291
  53. package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
  54. package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +25 -25
  55. package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +195 -582
  56. package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
  57. package/dist/types/solochain-evm/interfaces/augment-types.d.ts +76 -75
  58. package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
  59. package/dist/types/solochain-evm/interfaces/lookup.d.ts +239 -276
  60. package/dist/types/solochain-evm/interfaces/registry.d.ts +4 -4
  61. package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
  62. package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +47 -37
  63. package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +425 -582
  64. package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
  65. package/metadata-sh-parachain.json +1 -1
  66. package/metadata-sh-solochain-evm.json +1 -1
  67. package/package.json +2 -2
  68. package/src/parachain/interfaces/augment-api-errors.ts +5 -104
  69. package/src/parachain/interfaces/augment-api-events.ts +14 -113
  70. package/src/parachain/interfaces/augment-api-tx.ts +63 -10
  71. package/src/parachain/interfaces/augment-types.ts +2 -0
  72. package/src/parachain/interfaces/lookup.ts +326 -388
  73. package/src/parachain/interfaces/registry.ts +2 -2
  74. package/src/parachain/interfaces/storagehubclient/types.ts +14 -4
  75. package/src/parachain/interfaces/types-lookup.ts +388 -486
  76. package/src/solochain-evm/interfaces/augment-api-errors.ts +5 -104
  77. package/src/solochain-evm/interfaces/augment-api-events.ts +14 -113
  78. package/src/solochain-evm/interfaces/augment-api-tx.ts +63 -10
  79. package/src/solochain-evm/interfaces/augment-types.ts +2 -0
  80. package/src/solochain-evm/interfaces/lookup.ts +276 -338
  81. package/src/solochain-evm/interfaces/registry.ts +2 -2
  82. package/src/solochain-evm/interfaces/storagehubclient/types.ts +14 -4
  83. package/src/solochain-evm/interfaces/types-lookup.ts +338 -436
  84. package/storagehub-api-augment-0.2.14.tgz +0 -0
@@ -1,40 +1,31 @@
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 } from "@polkadot/types-codec";
4
- import type { ITuple } from "@polkadot/types-codec/types";
5
- import type { AccountId20, H160, H256 } from "@polkadot/types/interfaces/runtime";
6
- import type { EthereumLog, EvmCoreErrorExitReason, FpAccountEthereumSignature, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemEitherAccountIdOrMspId, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } 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 } from '@polkadot/types-codec';
4
+ import type { ITuple } from '@polkadot/types-codec/types';
5
+ import type { AccountId20, H160, H256 } from '@polkadot/types/interfaces/runtime';
6
+ import type { EthereumLog, EvmCoreErrorExitReason, FpAccountEthereumSignature, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletFileSystemFileOperationIntention, PalletFileSystemRejectedStorageRequestReason, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProofsDealerCustomChallenge, PalletProofsDealerProof, PalletStorageProvidersStorageProviderId, PalletStorageProvidersTopUpMetadata, PalletStorageProvidersValueProposition, PalletStorageProvidersValuePropositionWithId, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue, ShpFileMetadataFileMetadata, ShpTraitsTrieMutation, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } 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, [
15
- who: AccountId20,
16
- free: u128
17
- ], {
14
+ BalanceSet: AugmentedEvent<ApiType, [who: AccountId20, free: u128], {
18
15
  who: AccountId20;
19
16
  free: u128;
20
17
  }>;
21
18
  /**
22
19
  * Some amount was burned from an account.
23
20
  **/
24
- Burned: AugmentedEvent<ApiType, [
25
- who: AccountId20,
26
- amount: u128
27
- ], {
21
+ Burned: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
28
22
  who: AccountId20;
29
23
  amount: u128;
30
24
  }>;
31
25
  /**
32
26
  * Some amount was deposited (e.g. for transaction fees).
33
27
  **/
34
- Deposit: AugmentedEvent<ApiType, [
35
- who: AccountId20,
36
- amount: u128
37
- ], {
28
+ Deposit: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
38
29
  who: AccountId20;
39
30
  amount: u128;
40
31
  }>;
@@ -42,30 +33,21 @@ declare module "@polkadot/api-base/types/events" {
42
33
  * An account was removed whose balance was non-zero but below ExistentialDeposit,
43
34
  * resulting in an outright loss.
44
35
  **/
45
- DustLost: AugmentedEvent<ApiType, [
46
- account: AccountId20,
47
- amount: u128
48
- ], {
36
+ DustLost: AugmentedEvent<ApiType, [account: AccountId20, amount: u128], {
49
37
  account: AccountId20;
50
38
  amount: u128;
51
39
  }>;
52
40
  /**
53
41
  * An account was created with some free balance.
54
42
  **/
55
- Endowed: AugmentedEvent<ApiType, [
56
- account: AccountId20,
57
- freeBalance: u128
58
- ], {
43
+ Endowed: AugmentedEvent<ApiType, [account: AccountId20, freeBalance: u128], {
59
44
  account: AccountId20;
60
45
  freeBalance: u128;
61
46
  }>;
62
47
  /**
63
48
  * Some balance was frozen.
64
49
  **/
65
- Frozen: AugmentedEvent<ApiType, [
66
- who: AccountId20,
67
- amount: u128
68
- ], {
50
+ Frozen: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
69
51
  who: AccountId20;
70
52
  amount: u128;
71
53
  }>;
@@ -78,20 +60,14 @@ declare module "@polkadot/api-base/types/events" {
78
60
  /**
79
61
  * Some balance was locked.
80
62
  **/
81
- Locked: AugmentedEvent<ApiType, [
82
- who: AccountId20,
83
- amount: u128
84
- ], {
63
+ Locked: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
85
64
  who: AccountId20;
86
65
  amount: u128;
87
66
  }>;
88
67
  /**
89
68
  * Some amount was minted into an account.
90
69
  **/
91
- Minted: AugmentedEvent<ApiType, [
92
- who: AccountId20,
93
- amount: u128
94
- ], {
70
+ Minted: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
95
71
  who: AccountId20;
96
72
  amount: u128;
97
73
  }>;
@@ -104,10 +80,7 @@ declare module "@polkadot/api-base/types/events" {
104
80
  /**
105
81
  * Some balance was reserved (moved from free to reserved).
106
82
  **/
107
- Reserved: AugmentedEvent<ApiType, [
108
- who: AccountId20,
109
- amount: u128
110
- ], {
83
+ Reserved: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
111
84
  who: AccountId20;
112
85
  amount: u128;
113
86
  }>;
@@ -115,12 +88,7 @@ declare module "@polkadot/api-base/types/events" {
115
88
  * Some balance was moved from the reserve of the first account to the second account.
116
89
  * Final argument indicates the destination balance type.
117
90
  **/
118
- ReserveRepatriated: AugmentedEvent<ApiType, [
119
- from: AccountId20,
120
- to: AccountId20,
121
- amount: u128,
122
- destinationStatus: FrameSupportTokensMiscBalanceStatus
123
- ], {
91
+ ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId20, to: AccountId20, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
124
92
  from: AccountId20;
125
93
  to: AccountId20;
126
94
  amount: u128;
@@ -129,61 +97,42 @@ declare module "@polkadot/api-base/types/events" {
129
97
  /**
130
98
  * Some amount was restored into an account.
131
99
  **/
132
- Restored: AugmentedEvent<ApiType, [
133
- who: AccountId20,
134
- amount: u128
135
- ], {
100
+ Restored: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
136
101
  who: AccountId20;
137
102
  amount: u128;
138
103
  }>;
139
104
  /**
140
105
  * Some amount was removed from the account (e.g. for misbehavior).
141
106
  **/
142
- Slashed: AugmentedEvent<ApiType, [
143
- who: AccountId20,
144
- amount: u128
145
- ], {
107
+ Slashed: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
146
108
  who: AccountId20;
147
109
  amount: u128;
148
110
  }>;
149
111
  /**
150
112
  * Some amount was suspended from an account (it can be restored later).
151
113
  **/
152
- Suspended: AugmentedEvent<ApiType, [
153
- who: AccountId20,
154
- amount: u128
155
- ], {
114
+ Suspended: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
156
115
  who: AccountId20;
157
116
  amount: u128;
158
117
  }>;
159
118
  /**
160
119
  * Some balance was thawed.
161
120
  **/
162
- Thawed: AugmentedEvent<ApiType, [
163
- who: AccountId20,
164
- amount: u128
165
- ], {
121
+ Thawed: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
166
122
  who: AccountId20;
167
123
  amount: u128;
168
124
  }>;
169
125
  /**
170
126
  * The `TotalIssuance` was forcefully changed.
171
127
  **/
172
- TotalIssuanceForced: AugmentedEvent<ApiType, [
173
- old: u128,
174
- new_: u128
175
- ], {
128
+ TotalIssuanceForced: AugmentedEvent<ApiType, [old: u128, new_: u128], {
176
129
  old: u128;
177
130
  new_: u128;
178
131
  }>;
179
132
  /**
180
133
  * Transfer succeeded.
181
134
  **/
182
- Transfer: AugmentedEvent<ApiType, [
183
- from: AccountId20,
184
- to: AccountId20,
185
- amount: u128
186
- ], {
135
+ Transfer: AugmentedEvent<ApiType, [from: AccountId20, to: AccountId20, amount: u128], {
187
136
  from: AccountId20;
188
137
  to: AccountId20;
189
138
  amount: u128;
@@ -191,20 +140,14 @@ declare module "@polkadot/api-base/types/events" {
191
140
  /**
192
141
  * Some balance was unlocked.
193
142
  **/
194
- Unlocked: AugmentedEvent<ApiType, [
195
- who: AccountId20,
196
- amount: u128
197
- ], {
143
+ Unlocked: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
198
144
  who: AccountId20;
199
145
  amount: u128;
200
146
  }>;
201
147
  /**
202
148
  * Some balance was unreserved (moved from reserved to free).
203
149
  **/
204
- Unreserved: AugmentedEvent<ApiType, [
205
- who: AccountId20,
206
- amount: u128
207
- ], {
150
+ Unreserved: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
208
151
  who: AccountId20;
209
152
  amount: u128;
210
153
  }>;
@@ -217,10 +160,7 @@ declare module "@polkadot/api-base/types/events" {
217
160
  /**
218
161
  * Some amount was withdrawn from the account (e.g. for transaction fees).
219
162
  **/
220
- Withdraw: AugmentedEvent<ApiType, [
221
- who: AccountId20,
222
- amount: u128
223
- ], {
163
+ Withdraw: AugmentedEvent<ApiType, [who: AccountId20, amount: u128], {
224
164
  who: AccountId20;
225
165
  amount: u128;
226
166
  }>;
@@ -233,21 +173,14 @@ declare module "@polkadot/api-base/types/events" {
233
173
  /**
234
174
  * Notifies that access to a bucket has been shared with another account.
235
175
  **/
236
- AccessShared: AugmentedEvent<ApiType, [
237
- issuer: AccountId20,
238
- recipient: AccountId20
239
- ], {
176
+ AccessShared: AugmentedEvent<ApiType, [issuer: AccountId20, recipient: AccountId20], {
240
177
  issuer: AccountId20;
241
178
  recipient: AccountId20;
242
179
  }>;
243
180
  /**
244
181
  * Notifies that an item has been burned.
245
182
  **/
246
- ItemBurned: AugmentedEvent<ApiType, [
247
- account: AccountId20,
248
- bucket: H256,
249
- itemId: u32
250
- ], {
183
+ ItemBurned: AugmentedEvent<ApiType, [account: AccountId20, bucket: H256, itemId: u32], {
251
184
  account: AccountId20;
252
185
  bucket: H256;
253
186
  itemId: u32;
@@ -255,11 +188,7 @@ declare module "@polkadot/api-base/types/events" {
255
188
  /**
256
189
  * Notifies that the read access for an item has been updated.
257
190
  **/
258
- ItemReadAccessUpdated: AugmentedEvent<ApiType, [
259
- admin: AccountId20,
260
- bucket: H256,
261
- itemId: u32
262
- ], {
191
+ ItemReadAccessUpdated: AugmentedEvent<ApiType, [admin: AccountId20, bucket: H256, itemId: u32], {
263
192
  admin: AccountId20;
264
193
  bucket: H256;
265
194
  itemId: u32;
@@ -273,13 +202,7 @@ declare module "@polkadot/api-base/types/events" {
273
202
  /**
274
203
  * An ethereum transaction was successfully executed.
275
204
  **/
276
- Executed: AugmentedEvent<ApiType, [
277
- from: H160,
278
- to: H160,
279
- transactionHash: H256,
280
- exitReason: EvmCoreErrorExitReason,
281
- extraData: Bytes
282
- ], {
205
+ Executed: AugmentedEvent<ApiType, [from: H160, to: H160, transactionHash: H256, exitReason: EvmCoreErrorExitReason, extraData: Bytes], {
283
206
  from: H160;
284
207
  to: H160;
285
208
  transactionHash: H256;
@@ -331,15 +254,7 @@ declare module "@polkadot/api-base/types/events" {
331
254
  /**
332
255
  * Notifies that a BSP has been accepted to store a given file.
333
256
  **/
334
- AcceptedBspVolunteer: AugmentedEvent<ApiType, [
335
- bspId: H256,
336
- bucketId: H256,
337
- location: Bytes,
338
- fingerprint: H256,
339
- multiaddresses: Vec<Bytes>,
340
- owner: AccountId20,
341
- size_: u64
342
- ], {
257
+ AcceptedBspVolunteer: AugmentedEvent<ApiType, [bspId: H256, bucketId: H256, location: Bytes, fingerprint: H256, multiaddresses: Vec<Bytes>, owner: AccountId20, size_: u64], {
343
258
  bspId: H256;
344
259
  bucketId: H256;
345
260
  location: Bytes;
@@ -352,23 +267,14 @@ declare module "@polkadot/api-base/types/events" {
352
267
  * Notifies that a BSP's challenge cycle has been initialised, adding the first file
353
268
  * key(s) to the BSP's Merkle Patricia Forest.
354
269
  **/
355
- BspChallengeCycleInitialised: AugmentedEvent<ApiType, [
356
- who: AccountId20,
357
- bspId: H256
358
- ], {
270
+ BspChallengeCycleInitialised: AugmentedEvent<ApiType, [who: AccountId20, bspId: H256], {
359
271
  who: AccountId20;
360
272
  bspId: H256;
361
273
  }>;
362
274
  /**
363
275
  * Notifies that a BSP confirmed storing a file(s).
364
276
  **/
365
- BspConfirmedStoring: AugmentedEvent<ApiType, [
366
- who: AccountId20,
367
- bspId: H256,
368
- confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>,
369
- skippedFileKeys: Vec<H256>,
370
- newRoot: H256
371
- ], {
277
+ BspConfirmedStoring: AugmentedEvent<ApiType, [who: AccountId20, bspId: H256, confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>, skippedFileKeys: Vec<H256>, newRoot: H256], {
372
278
  who: AccountId20;
373
279
  bspId: H256;
374
280
  confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>;
@@ -378,11 +284,7 @@ declare module "@polkadot/api-base/types/events" {
378
284
  /**
379
285
  * Notifies that a BSP has stopped storing a file.
380
286
  **/
381
- BspConfirmStoppedStoring: AugmentedEvent<ApiType, [
382
- bspId: H256,
383
- fileKey: H256,
384
- newRoot: H256
385
- ], {
287
+ BspConfirmStoppedStoring: AugmentedEvent<ApiType, [bspId: H256, fileKey: H256, newRoot: H256], {
386
288
  bspId: H256;
387
289
  fileKey: H256;
388
290
  newRoot: H256;
@@ -390,25 +292,14 @@ declare module "@polkadot/api-base/types/events" {
390
292
  /**
391
293
  * Notifies that file deletions have been completed successfully for a BSP.
392
294
  **/
393
- BspFileDeletionsCompleted: AugmentedEvent<ApiType, [
394
- users: Vec<AccountId20>,
395
- fileKeys: Vec<H256>,
396
- bspId: H256,
397
- oldRoot: H256,
398
- newRoot: H256
399
- ], {
295
+ BspFileDeletionsCompleted: AugmentedEvent<ApiType, [users: Vec<AccountId20>, fileKeys: Vec<H256>, bspId: H256, oldRoot: H256, newRoot: H256], {
400
296
  users: Vec<AccountId20>;
401
297
  fileKeys: Vec<H256>;
402
298
  bspId: H256;
403
299
  oldRoot: H256;
404
300
  newRoot: H256;
405
301
  }>;
406
- BspRequestedToStopStoring: AugmentedEvent<ApiType, [
407
- bspId: H256,
408
- fileKey: H256,
409
- owner: AccountId20,
410
- location: Bytes
411
- ], {
302
+ BspRequestedToStopStoring: AugmentedEvent<ApiType, [bspId: H256, fileKey: H256, owner: AccountId20, location: Bytes], {
412
303
  bspId: H256;
413
304
  fileKey: H256;
414
305
  owner: AccountId20;
@@ -417,11 +308,7 @@ declare module "@polkadot/api-base/types/events" {
417
308
  /**
418
309
  * Notifies that an empty bucket has been deleted.
419
310
  **/
420
- BucketDeleted: AugmentedEvent<ApiType, [
421
- who: AccountId20,
422
- bucketId: H256,
423
- maybeCollectionId: Option<u32>
424
- ], {
311
+ BucketDeleted: AugmentedEvent<ApiType, [who: AccountId20, bucketId: H256, maybeCollectionId: Option<u32>], {
425
312
  who: AccountId20;
426
313
  bucketId: H256;
427
314
  maybeCollectionId: Option<u32>;
@@ -429,14 +316,7 @@ declare module "@polkadot/api-base/types/events" {
429
316
  /**
430
317
  * Notifies that file deletions have been completed successfully for a Bucket.
431
318
  **/
432
- BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [
433
- user: AccountId20,
434
- fileKeys: Vec<H256>,
435
- bucketId: H256,
436
- mspId: Option<H256>,
437
- oldRoot: H256,
438
- newRoot: H256
439
- ], {
319
+ BucketFileDeletionsCompleted: AugmentedEvent<ApiType, [user: AccountId20, fileKeys: Vec<H256>, bucketId: H256, mspId: Option<H256>, oldRoot: H256, newRoot: H256], {
440
320
  user: AccountId20;
441
321
  fileKeys: Vec<H256>;
442
322
  bucketId: H256;
@@ -447,114 +327,27 @@ declare module "@polkadot/api-base/types/events" {
447
327
  /**
448
328
  * Notifies that a bucket's privacy has been updated.
449
329
  **/
450
- BucketPrivacyUpdated: AugmentedEvent<ApiType, [
451
- who: AccountId20,
452
- bucketId: H256,
453
- collectionId: Option<u32>,
454
- private: bool
455
- ], {
330
+ BucketPrivacyUpdated: AugmentedEvent<ApiType, [who: AccountId20, bucketId: H256, collectionId: Option<u32>, private: bool], {
456
331
  who: AccountId20;
457
332
  bucketId: H256;
458
333
  collectionId: Option<u32>;
459
334
  private: bool;
460
335
  }>;
461
- /**
462
- * Failed to decrease MSP's used capacity for expired file deletion request
463
- **/
464
- FailedToDecreaseMspUsedCapacity: AugmentedEvent<ApiType, [
465
- user: AccountId20,
466
- mspId: H256,
467
- fileKey: H256,
468
- fileSize: u64,
469
- error: SpRuntimeDispatchError
470
- ], {
471
- user: AccountId20;
472
- mspId: H256;
473
- fileKey: H256;
474
- fileSize: u64;
475
- error: SpRuntimeDispatchError;
476
- }>;
477
- /**
478
- * Failed to get the MSP owner of the bucket for an expired file deletion request
479
- * This is different from the bucket not having a MSP, which is allowed and won't error
480
- **/
481
- FailedToGetMspOfBucket: AugmentedEvent<ApiType, [
482
- bucketId: H256,
483
- error: SpRuntimeDispatchError
484
- ], {
485
- bucketId: H256;
486
- error: SpRuntimeDispatchError;
487
- }>;
488
- /**
489
- * Notifies that a priority challenge with a trie remove mutation failed to be queued in the `on_idle` hook.
490
- * This can happen if the priority challenge queue is full, and the failed challenge should be manually
491
- * queued at a later time.
492
- **/
493
- FailedToQueuePriorityChallenge: AugmentedEvent<ApiType, [
494
- fileKey: H256,
495
- error: SpRuntimeDispatchError
496
- ], {
497
- fileKey: H256;
498
- error: SpRuntimeDispatchError;
499
- }>;
500
336
  /**
501
337
  * Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
502
338
  * the return of that storage request's deposit to the user failed.
503
339
  **/
504
- FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [
505
- fileKey: H256,
506
- owner: AccountId20,
507
- amountToReturn: u128,
508
- error: SpRuntimeDispatchError
509
- ], {
340
+ FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<ApiType, [fileKey: H256, owner: AccountId20, amountToReturn: u128, error: SpRuntimeDispatchError], {
510
341
  fileKey: H256;
511
342
  owner: AccountId20;
512
343
  amountToReturn: u128;
513
344
  error: SpRuntimeDispatchError;
514
345
  }>;
515
- /**
516
- * Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
517
- * the transfer of a part of that storage request's deposit to one of the volunteered BSPs failed.
518
- **/
519
- FailedToTransferDepositFundsToBsp: AugmentedEvent<ApiType, [
520
- fileKey: H256,
521
- owner: AccountId20,
522
- bspId: H256,
523
- amountToTransfer: u128,
524
- error: SpRuntimeDispatchError
525
- ], {
526
- fileKey: H256;
527
- owner: AccountId20;
528
- bspId: H256;
529
- amountToTransfer: u128;
530
- error: SpRuntimeDispatchError;
531
- }>;
532
- /**
533
- * Notifies that a file will be deleted.
534
- **/
535
- FileDeletionRequest: AugmentedEvent<ApiType, [
536
- user: AccountId20,
537
- fileKey: H256,
538
- fileSize: u64,
539
- bucketId: H256,
540
- mspId: H256,
541
- proofOfInclusion: bool
542
- ], {
543
- user: AccountId20;
544
- fileKey: H256;
545
- fileSize: u64;
546
- bucketId: H256;
547
- mspId: H256;
548
- proofOfInclusion: bool;
549
- }>;
550
346
  /**
551
347
  * Notifies that a file deletion has been requested.
552
348
  * Contains a signed intention that allows any actor to execute the actual deletion.
553
349
  **/
554
- FileDeletionRequested: AugmentedEvent<ApiType, [
555
- signedDeleteIntention: PalletFileSystemFileOperationIntention,
556
- signature: FpAccountEthereumSignature
557
- ], {
350
+ FileDeletionRequested: AugmentedEvent<ApiType, [signedDeleteIntention: PalletFileSystemFileOperationIntention, signature: FpAccountEthereumSignature], {
558
351
  signedDeleteIntention: PalletFileSystemFileOperationIntention;
559
352
  signature: FpAccountEthereumSignature;
560
353
  }>;
@@ -567,15 +360,22 @@ declare module "@polkadot/api-base/types/events" {
567
360
  IncompleteStorageRequest: AugmentedEvent<ApiType, [fileKey: H256], {
568
361
  fileKey: H256;
569
362
  }>;
363
+ /**
364
+ * Notifies that an incomplete storage request has been fully cleaned up.
365
+ *
366
+ * This event is emitted in two scenarios:
367
+ * 1. When an incomplete storage request is created but there are no providers to clean
368
+ * (e.g., MSP confirmed with inclusion proof and no BSPs confirmed).
369
+ * 2. When the file has been removed from all providers and the incomplete storage
370
+ * request entry is removed from storage.
371
+ **/
372
+ IncompleteStorageRequestCleanedUp: AugmentedEvent<ApiType, [fileKey: H256], {
373
+ fileKey: H256;
374
+ }>;
570
375
  /**
571
376
  * Notifies that a bucket has been moved to a new MSP under a new value proposition.
572
377
  **/
573
- MoveBucketAccepted: AugmentedEvent<ApiType, [
574
- bucketId: H256,
575
- oldMspId: Option<H256>,
576
- newMspId: H256,
577
- valuePropId: H256
578
- ], {
378
+ MoveBucketAccepted: AugmentedEvent<ApiType, [bucketId: H256, oldMspId: Option<H256>, newMspId: H256, valuePropId: H256], {
579
379
  bucketId: H256;
580
380
  oldMspId: Option<H256>;
581
381
  newMspId: H256;
@@ -584,11 +384,7 @@ declare module "@polkadot/api-base/types/events" {
584
384
  /**
585
385
  * Notifies that a bucket move request has been rejected by the MSP.
586
386
  **/
587
- MoveBucketRejected: AugmentedEvent<ApiType, [
588
- bucketId: H256,
589
- oldMspId: Option<H256>,
590
- newMspId: H256
591
- ], {
387
+ MoveBucketRejected: AugmentedEvent<ApiType, [bucketId: H256, oldMspId: Option<H256>, newMspId: H256], {
592
388
  bucketId: H256;
593
389
  oldMspId: Option<H256>;
594
390
  newMspId: H256;
@@ -596,12 +392,7 @@ declare module "@polkadot/api-base/types/events" {
596
392
  /**
597
393
  * Notifies that a bucket is being moved to a new MSP.
598
394
  **/
599
- MoveBucketRequested: AugmentedEvent<ApiType, [
600
- who: AccountId20,
601
- bucketId: H256,
602
- newMspId: H256,
603
- newValuePropId: H256
604
- ], {
395
+ MoveBucketRequested: AugmentedEvent<ApiType, [who: AccountId20, bucketId: H256, newMspId: H256, newValuePropId: H256], {
605
396
  who: AccountId20;
606
397
  bucketId: H256;
607
398
  newMspId: H256;
@@ -624,21 +415,14 @@ declare module "@polkadot/api-base/types/events" {
624
415
  * This event is not emitted when the storage request is immediately fulfilled upon
625
416
  * MSP acceptance. In such cases, a [`StorageRequestFulfilled`] event is emitted instead.
626
417
  **/
627
- MspAcceptedStorageRequest: AugmentedEvent<ApiType, [
628
- fileKey: H256,
629
- fileMetadata: ShpFileMetadataFileMetadata
630
- ], {
418
+ MspAcceptedStorageRequest: AugmentedEvent<ApiType, [fileKey: H256, fileMetadata: ShpFileMetadataFileMetadata], {
631
419
  fileKey: H256;
632
420
  fileMetadata: ShpFileMetadataFileMetadata;
633
421
  }>;
634
422
  /**
635
423
  * Notifies that a MSP has stopped storing a bucket.
636
424
  **/
637
- MspStoppedStoringBucket: AugmentedEvent<ApiType, [
638
- mspId: H256,
639
- owner: AccountId20,
640
- bucketId: H256
641
- ], {
425
+ MspStoppedStoringBucket: AugmentedEvent<ApiType, [mspId: H256, owner: AccountId20, bucketId: H256], {
642
426
  mspId: H256;
643
427
  owner: AccountId20;
644
428
  bucketId: H256;
@@ -646,11 +430,7 @@ declare module "@polkadot/api-base/types/events" {
646
430
  /**
647
431
  * Notifies that a MSP has stopped storing a bucket because its owner has become insolvent.
648
432
  **/
649
- MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [
650
- mspId: H256,
651
- owner: AccountId20,
652
- bucketId: H256
653
- ], {
433
+ MspStopStoringBucketInsolventUser: AugmentedEvent<ApiType, [mspId: H256, owner: AccountId20, bucketId: H256], {
654
434
  mspId: H256;
655
435
  owner: AccountId20;
656
436
  bucketId: H256;
@@ -658,16 +438,7 @@ declare module "@polkadot/api-base/types/events" {
658
438
  /**
659
439
  * Notifies that a new bucket has been created.
660
440
  **/
661
- NewBucket: AugmentedEvent<ApiType, [
662
- who: AccountId20,
663
- mspId: H256,
664
- bucketId: H256,
665
- name: Bytes,
666
- root: H256,
667
- collectionId: Option<u32>,
668
- private: bool,
669
- valuePropId: H256
670
- ], {
441
+ NewBucket: AugmentedEvent<ApiType, [who: AccountId20, mspId: H256, bucketId: H256, name: Bytes, root: H256, collectionId: Option<u32>, private: bool, valuePropId: H256], {
671
442
  who: AccountId20;
672
443
  mspId: H256;
673
444
  bucketId: H256;
@@ -680,11 +451,7 @@ declare module "@polkadot/api-base/types/events" {
680
451
  /**
681
452
  * Notifies that a new collection has been created and associated with a bucket.
682
453
  **/
683
- NewCollectionAndAssociation: AugmentedEvent<ApiType, [
684
- who: AccountId20,
685
- bucketId: H256,
686
- collectionId: u32
687
- ], {
454
+ NewCollectionAndAssociation: AugmentedEvent<ApiType, [who: AccountId20, bucketId: H256, collectionId: u32], {
688
455
  who: AccountId20;
689
456
  bucketId: H256;
690
457
  collectionId: u32;
@@ -692,16 +459,7 @@ declare module "@polkadot/api-base/types/events" {
692
459
  /**
693
460
  * Notifies that a new file has been requested to be stored.
694
461
  **/
695
- NewStorageRequest: AugmentedEvent<ApiType, [
696
- who: AccountId20,
697
- fileKey: H256,
698
- bucketId: H256,
699
- location: Bytes,
700
- fingerprint: H256,
701
- size_: u64,
702
- peerIds: Vec<Bytes>,
703
- expiresAt: u32
704
- ], {
462
+ NewStorageRequest: AugmentedEvent<ApiType, [who: AccountId20, fileKey: H256, bucketId: H256, location: Bytes, fingerprint: H256, size_: u64, peerIds: Vec<Bytes>, expiresAt: u32], {
705
463
  who: AccountId20;
706
464
  fileKey: H256;
707
465
  bucketId: H256;
@@ -711,44 +469,10 @@ declare module "@polkadot/api-base/types/events" {
711
469
  peerIds: Vec<Bytes>;
712
470
  expiresAt: u32;
713
471
  }>;
714
- /**
715
- * Notifies that a file key has been queued for a priority challenge for file deletion.
716
- **/
717
- PriorityChallengeForFileDeletionQueued: AugmentedEvent<ApiType, [
718
- issuer: PalletFileSystemEitherAccountIdOrMspId,
719
- fileKey: H256
720
- ], {
721
- issuer: PalletFileSystemEitherAccountIdOrMspId;
722
- fileKey: H256;
723
- }>;
724
- /**
725
- * Notifies that a proof has been submitted for a pending file deletion request.
726
- **/
727
- ProofSubmittedForPendingFileDeletionRequest: AugmentedEvent<ApiType, [
728
- user: AccountId20,
729
- fileKey: H256,
730
- fileSize: u64,
731
- bucketId: H256,
732
- mspId: H256,
733
- proofOfInclusion: bool
734
- ], {
735
- user: AccountId20;
736
- fileKey: H256;
737
- fileSize: u64;
738
- bucketId: H256;
739
- mspId: H256;
740
- proofOfInclusion: bool;
741
- }>;
742
472
  /**
743
473
  * Notifies that a SP has stopped storing a file because its owner has become insolvent.
744
474
  **/
745
- SpStopStoringInsolventUser: AugmentedEvent<ApiType, [
746
- spId: H256,
747
- fileKey: H256,
748
- owner: AccountId20,
749
- location: Bytes,
750
- newRoot: H256
751
- ], {
475
+ SpStopStoringInsolventUser: AugmentedEvent<ApiType, [spId: H256, fileKey: H256, owner: AccountId20, location: Bytes, newRoot: H256], {
752
476
  spId: H256;
753
477
  fileKey: H256;
754
478
  owner: AccountId20;
@@ -778,12 +502,7 @@ declare module "@polkadot/api-base/types/events" {
778
502
  * Note: the storage request will be marked as "incomplete", and it is expected that fisherman
779
503
  * nodes will pick it up and delete the file from the confirmed BSPs as well as the Bucket.
780
504
  **/
781
- StorageRequestRejected: AugmentedEvent<ApiType, [
782
- fileKey: H256,
783
- mspId: H256,
784
- bucketId: H256,
785
- reason: PalletFileSystemRejectedStorageRequestReason
786
- ], {
505
+ StorageRequestRejected: AugmentedEvent<ApiType, [fileKey: H256, mspId: H256, bucketId: H256, reason: PalletFileSystemRejectedStorageRequestReason], {
787
506
  fileKey: H256;
788
507
  mspId: H256;
789
508
  bucketId: H256;
@@ -800,9 +519,7 @@ declare module "@polkadot/api-base/types/events" {
800
519
  /**
801
520
  * Event to notify of incoherencies in used capacity.
802
521
  **/
803
- UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [
804
- actualUsedCapacity: u64
805
- ], {
522
+ UsedCapacityShouldBeZero: AugmentedEvent<ApiType, [actualUsedCapacity: u64], {
806
523
  actualUsedCapacity: u64;
807
524
  }>;
808
525
  /**
@@ -814,9 +531,7 @@ declare module "@polkadot/api-base/types/events" {
814
531
  /**
815
532
  * New authority set has been applied.
816
533
  **/
817
- NewAuthorities: AugmentedEvent<ApiType, [
818
- authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
819
- ], {
534
+ NewAuthorities: AugmentedEvent<ApiType, [authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>], {
820
535
  authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
821
536
  }>;
822
537
  /**
@@ -836,11 +551,7 @@ declare module "@polkadot/api-base/types/events" {
836
551
  /**
837
552
  * All approvals of an item got cancelled.
838
553
  **/
839
- AllApprovalsCancelled: AugmentedEvent<ApiType, [
840
- collection: u32,
841
- item: u32,
842
- owner: AccountId20
843
- ], {
554
+ AllApprovalsCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20], {
844
555
  collection: u32;
845
556
  item: u32;
846
557
  owner: AccountId20;
@@ -849,12 +560,7 @@ declare module "@polkadot/api-base/types/events" {
849
560
  * An approval for a `delegate` account to transfer the `item` of an item
850
561
  * `collection` was cancelled by its `owner`.
851
562
  **/
852
- ApprovalCancelled: AugmentedEvent<ApiType, [
853
- collection: u32,
854
- item: u32,
855
- owner: AccountId20,
856
- delegate: AccountId20
857
- ], {
563
+ ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20, delegate: AccountId20], {
858
564
  collection: u32;
859
565
  item: u32;
860
566
  owner: AccountId20;
@@ -863,12 +569,7 @@ declare module "@polkadot/api-base/types/events" {
863
569
  /**
864
570
  * Attribute metadata has been cleared for a `collection` or `item`.
865
571
  **/
866
- AttributeCleared: AugmentedEvent<ApiType, [
867
- collection: u32,
868
- maybeItem: Option<u32>,
869
- key: Bytes,
870
- namespace: PalletNftsAttributeNamespace
871
- ], {
572
+ AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, namespace: PalletNftsAttributeNamespace], {
872
573
  collection: u32;
873
574
  maybeItem: Option<u32>;
874
575
  key: Bytes;
@@ -877,13 +578,7 @@ declare module "@polkadot/api-base/types/events" {
877
578
  /**
878
579
  * New attribute metadata has been set for a `collection` or `item`.
879
580
  **/
880
- AttributeSet: AugmentedEvent<ApiType, [
881
- collection: u32,
882
- maybeItem: Option<u32>,
883
- key: Bytes,
884
- value: Bytes,
885
- namespace: PalletNftsAttributeNamespace
886
- ], {
581
+ AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes, namespace: PalletNftsAttributeNamespace], {
887
582
  collection: u32;
888
583
  maybeItem: Option<u32>;
889
584
  key: Bytes;
@@ -893,11 +588,7 @@ declare module "@polkadot/api-base/types/events" {
893
588
  /**
894
589
  * An `item` was destroyed.
895
590
  **/
896
- Burned: AugmentedEvent<ApiType, [
897
- collection: u32,
898
- item: u32,
899
- owner: AccountId20
900
- ], {
591
+ Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20], {
901
592
  collection: u32;
902
593
  item: u32;
903
594
  owner: AccountId20;
@@ -917,10 +608,7 @@ declare module "@polkadot/api-base/types/events" {
917
608
  /**
918
609
  * Max supply has been set for a collection.
919
610
  **/
920
- CollectionMaxSupplySet: AugmentedEvent<ApiType, [
921
- collection: u32,
922
- maxSupply: u32
923
- ], {
611
+ CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], {
924
612
  collection: u32;
925
613
  maxSupply: u32;
926
614
  }>;
@@ -933,29 +621,20 @@ declare module "@polkadot/api-base/types/events" {
933
621
  /**
934
622
  * New metadata has been set for a `collection`.
935
623
  **/
936
- CollectionMetadataSet: AugmentedEvent<ApiType, [
937
- collection: u32,
938
- data: Bytes
939
- ], {
624
+ CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes], {
940
625
  collection: u32;
941
626
  data: Bytes;
942
627
  }>;
943
628
  /**
944
629
  * Mint settings for a collection had changed.
945
630
  **/
946
- CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [
947
- collection: u32
948
- ], {
631
+ CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [collection: u32], {
949
632
  collection: u32;
950
633
  }>;
951
634
  /**
952
635
  * A `collection` was created.
953
636
  **/
954
- Created: AugmentedEvent<ApiType, [
955
- collection: u32,
956
- creator: AccountId20,
957
- owner: AccountId20
958
- ], {
637
+ Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId20, owner: AccountId20], {
959
638
  collection: u32;
960
639
  creator: AccountId20;
961
640
  owner: AccountId20;
@@ -969,21 +648,14 @@ declare module "@polkadot/api-base/types/events" {
969
648
  /**
970
649
  * A `collection` was force-created.
971
650
  **/
972
- ForceCreated: AugmentedEvent<ApiType, [
973
- collection: u32,
974
- owner: AccountId20
975
- ], {
651
+ ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId20], {
976
652
  collection: u32;
977
653
  owner: AccountId20;
978
654
  }>;
979
655
  /**
980
656
  * An `item` was issued.
981
657
  **/
982
- Issued: AugmentedEvent<ApiType, [
983
- collection: u32,
984
- item: u32,
985
- owner: AccountId20
986
- ], {
658
+ Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20], {
987
659
  collection: u32;
988
660
  item: u32;
989
661
  owner: AccountId20;
@@ -991,11 +663,7 @@ declare module "@polkadot/api-base/types/events" {
991
663
  /**
992
664
  * A new approval to modify item attributes was added.
993
665
  **/
994
- ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [
995
- collection: u32,
996
- item: u32,
997
- delegate: AccountId20
998
- ], {
666
+ ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId20], {
999
667
  collection: u32;
1000
668
  item: u32;
1001
669
  delegate: AccountId20;
@@ -1003,11 +671,7 @@ declare module "@polkadot/api-base/types/events" {
1003
671
  /**
1004
672
  * A new approval to modify item attributes was removed.
1005
673
  **/
1006
- ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [
1007
- collection: u32,
1008
- item: u32,
1009
- delegate: AccountId20
1010
- ], {
674
+ ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId20], {
1011
675
  collection: u32;
1012
676
  item: u32;
1013
677
  delegate: AccountId20;
@@ -1015,13 +679,7 @@ declare module "@polkadot/api-base/types/events" {
1015
679
  /**
1016
680
  * An item was bought.
1017
681
  **/
1018
- ItemBought: AugmentedEvent<ApiType, [
1019
- collection: u32,
1020
- item: u32,
1021
- price: u128,
1022
- seller: AccountId20,
1023
- buyer: AccountId20
1024
- ], {
682
+ ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId20, buyer: AccountId20], {
1025
683
  collection: u32;
1026
684
  item: u32;
1027
685
  price: u128;
@@ -1031,21 +689,14 @@ declare module "@polkadot/api-base/types/events" {
1031
689
  /**
1032
690
  * Metadata has been cleared for an item.
1033
691
  **/
1034
- ItemMetadataCleared: AugmentedEvent<ApiType, [
1035
- collection: u32,
1036
- item: u32
1037
- ], {
692
+ ItemMetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1038
693
  collection: u32;
1039
694
  item: u32;
1040
695
  }>;
1041
696
  /**
1042
697
  * New metadata has been set for an item.
1043
698
  **/
1044
- ItemMetadataSet: AugmentedEvent<ApiType, [
1045
- collection: u32,
1046
- item: u32,
1047
- data: Bytes
1048
- ], {
699
+ ItemMetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes], {
1049
700
  collection: u32;
1050
701
  item: u32;
1051
702
  data: Bytes;
@@ -1053,22 +704,14 @@ declare module "@polkadot/api-base/types/events" {
1053
704
  /**
1054
705
  * The price for the item was removed.
1055
706
  **/
1056
- ItemPriceRemoved: AugmentedEvent<ApiType, [
1057
- collection: u32,
1058
- item: u32
1059
- ], {
707
+ ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1060
708
  collection: u32;
1061
709
  item: u32;
1062
710
  }>;
1063
711
  /**
1064
712
  * The price was set for the item.
1065
713
  **/
1066
- ItemPriceSet: AugmentedEvent<ApiType, [
1067
- collection: u32,
1068
- item: u32,
1069
- price: u128,
1070
- whitelistedBuyer: Option<AccountId20>
1071
- ], {
714
+ ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId20>], {
1072
715
  collection: u32;
1073
716
  item: u32;
1074
717
  price: u128;
@@ -1077,12 +720,7 @@ declare module "@polkadot/api-base/types/events" {
1077
720
  /**
1078
721
  * `item` metadata or attributes were locked.
1079
722
  **/
1080
- ItemPropertiesLocked: AugmentedEvent<ApiType, [
1081
- collection: u32,
1082
- item: u32,
1083
- lockMetadata: bool,
1084
- lockAttributes: bool
1085
- ], {
723
+ ItemPropertiesLocked: AugmentedEvent<ApiType, [collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool], {
1086
724
  collection: u32;
1087
725
  item: u32;
1088
726
  lockMetadata: bool;
@@ -1091,48 +729,34 @@ declare module "@polkadot/api-base/types/events" {
1091
729
  /**
1092
730
  * An `item` became non-transferable.
1093
731
  **/
1094
- ItemTransferLocked: AugmentedEvent<ApiType, [
1095
- collection: u32,
1096
- item: u32
1097
- ], {
732
+ ItemTransferLocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1098
733
  collection: u32;
1099
734
  item: u32;
1100
735
  }>;
1101
736
  /**
1102
737
  * An `item` became transferable.
1103
738
  **/
1104
- ItemTransferUnlocked: AugmentedEvent<ApiType, [
1105
- collection: u32,
1106
- item: u32
1107
- ], {
739
+ ItemTransferUnlocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
1108
740
  collection: u32;
1109
741
  item: u32;
1110
742
  }>;
1111
743
  /**
1112
744
  * Event gets emitted when the `NextCollectionId` gets incremented.
1113
745
  **/
1114
- NextCollectionIdIncremented: AugmentedEvent<ApiType, [
1115
- nextId: Option<u32>
1116
- ], {
746
+ NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: Option<u32>], {
1117
747
  nextId: Option<u32>;
1118
748
  }>;
1119
749
  /**
1120
750
  * The owner changed.
1121
751
  **/
1122
- OwnerChanged: AugmentedEvent<ApiType, [
1123
- collection: u32,
1124
- newOwner: AccountId20
1125
- ], {
752
+ OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId20], {
1126
753
  collection: u32;
1127
754
  newOwner: AccountId20;
1128
755
  }>;
1129
756
  /**
1130
757
  * Ownership acceptance has changed for an account.
1131
758
  **/
1132
- OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [
1133
- who: AccountId20,
1134
- maybeCollection: Option<u32>
1135
- ], {
759
+ OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId20, maybeCollection: Option<u32>], {
1136
760
  who: AccountId20;
1137
761
  maybeCollection: Option<u32>;
1138
762
  }>;
@@ -1140,12 +764,7 @@ declare module "@polkadot/api-base/types/events" {
1140
764
  * A new attribute in the `Pallet` namespace was set for the `collection` or an `item`
1141
765
  * within that `collection`.
1142
766
  **/
1143
- PalletAttributeSet: AugmentedEvent<ApiType, [
1144
- collection: u32,
1145
- item: Option<u32>,
1146
- attribute: PalletNftsPalletAttributes,
1147
- value: Bytes
1148
- ], {
767
+ PalletAttributeSet: AugmentedEvent<ApiType, [collection: u32, item: Option<u32>, attribute: PalletNftsPalletAttributes, value: Bytes], {
1149
768
  collection: u32;
1150
769
  item: Option<u32>;
1151
770
  attribute: PalletNftsPalletAttributes;
@@ -1154,11 +773,7 @@ declare module "@polkadot/api-base/types/events" {
1154
773
  /**
1155
774
  * New attributes have been set for an `item` of the `collection`.
1156
775
  **/
1157
- PreSignedAttributesSet: AugmentedEvent<ApiType, [
1158
- collection: u32,
1159
- item: u32,
1160
- namespace: PalletNftsAttributeNamespace
1161
- ], {
776
+ PreSignedAttributesSet: AugmentedEvent<ApiType, [collection: u32, item: u32, namespace: PalletNftsAttributeNamespace], {
1162
777
  collection: u32;
1163
778
  item: u32;
1164
779
  namespace: PalletNftsAttributeNamespace;
@@ -1166,24 +781,14 @@ declare module "@polkadot/api-base/types/events" {
1166
781
  /**
1167
782
  * The deposit for a set of `item`s within a `collection` has been updated.
1168
783
  **/
1169
- Redeposited: AugmentedEvent<ApiType, [
1170
- collection: u32,
1171
- successfulItems: Vec<u32>
1172
- ], {
784
+ Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], {
1173
785
  collection: u32;
1174
786
  successfulItems: Vec<u32>;
1175
787
  }>;
1176
788
  /**
1177
789
  * The swap was cancelled.
1178
790
  **/
1179
- SwapCancelled: AugmentedEvent<ApiType, [
1180
- offeredCollection: u32,
1181
- offeredItem: u32,
1182
- desiredCollection: u32,
1183
- desiredItem: Option<u32>,
1184
- price: Option<PalletNftsPriceWithDirection>,
1185
- deadline: u32
1186
- ], {
791
+ SwapCancelled: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1187
792
  offeredCollection: u32;
1188
793
  offeredItem: u32;
1189
794
  desiredCollection: u32;
@@ -1194,16 +799,7 @@ declare module "@polkadot/api-base/types/events" {
1194
799
  /**
1195
800
  * The swap has been claimed.
1196
801
  **/
1197
- SwapClaimed: AugmentedEvent<ApiType, [
1198
- sentCollection: u32,
1199
- sentItem: u32,
1200
- sentItemOwner: AccountId20,
1201
- receivedCollection: u32,
1202
- receivedItem: u32,
1203
- receivedItemOwner: AccountId20,
1204
- price: Option<PalletNftsPriceWithDirection>,
1205
- deadline: u32
1206
- ], {
802
+ SwapClaimed: AugmentedEvent<ApiType, [sentCollection: u32, sentItem: u32, sentItemOwner: AccountId20, receivedCollection: u32, receivedItem: u32, receivedItemOwner: AccountId20, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1207
803
  sentCollection: u32;
1208
804
  sentItem: u32;
1209
805
  sentItemOwner: AccountId20;
@@ -1216,14 +812,7 @@ declare module "@polkadot/api-base/types/events" {
1216
812
  /**
1217
813
  * An `item` swap intent was created.
1218
814
  **/
1219
- SwapCreated: AugmentedEvent<ApiType, [
1220
- offeredCollection: u32,
1221
- offeredItem: u32,
1222
- desiredCollection: u32,
1223
- desiredItem: Option<u32>,
1224
- price: Option<PalletNftsPriceWithDirection>,
1225
- deadline: u32
1226
- ], {
815
+ SwapCreated: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
1227
816
  offeredCollection: u32;
1228
817
  offeredItem: u32;
1229
818
  desiredCollection: u32;
@@ -1234,12 +823,7 @@ declare module "@polkadot/api-base/types/events" {
1234
823
  /**
1235
824
  * The management team changed.
1236
825
  **/
1237
- TeamChanged: AugmentedEvent<ApiType, [
1238
- collection: u32,
1239
- issuer: Option<AccountId20>,
1240
- admin: Option<AccountId20>,
1241
- freezer: Option<AccountId20>
1242
- ], {
826
+ TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: Option<AccountId20>, admin: Option<AccountId20>, freezer: Option<AccountId20>], {
1243
827
  collection: u32;
1244
828
  issuer: Option<AccountId20>;
1245
829
  admin: Option<AccountId20>;
@@ -1248,13 +832,7 @@ declare module "@polkadot/api-base/types/events" {
1248
832
  /**
1249
833
  * A tip was sent.
1250
834
  **/
1251
- TipSent: AugmentedEvent<ApiType, [
1252
- collection: u32,
1253
- item: u32,
1254
- sender: AccountId20,
1255
- receiver: AccountId20,
1256
- amount: u128
1257
- ], {
835
+ TipSent: AugmentedEvent<ApiType, [collection: u32, item: u32, sender: AccountId20, receiver: AccountId20, amount: u128], {
1258
836
  collection: u32;
1259
837
  item: u32;
1260
838
  sender: AccountId20;
@@ -1265,13 +843,7 @@ declare module "@polkadot/api-base/types/events" {
1265
843
  * An `item` of a `collection` has been approved by the `owner` for transfer by
1266
844
  * a `delegate`.
1267
845
  **/
1268
- TransferApproved: AugmentedEvent<ApiType, [
1269
- collection: u32,
1270
- item: u32,
1271
- owner: AccountId20,
1272
- delegate: AccountId20,
1273
- deadline: Option<u32>
1274
- ], {
846
+ TransferApproved: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId20, delegate: AccountId20, deadline: Option<u32>], {
1275
847
  collection: u32;
1276
848
  item: u32;
1277
849
  owner: AccountId20;
@@ -1281,12 +853,7 @@ declare module "@polkadot/api-base/types/events" {
1281
853
  /**
1282
854
  * An `item` was transferred.
1283
855
  **/
1284
- Transferred: AugmentedEvent<ApiType, [
1285
- collection: u32,
1286
- item: u32,
1287
- from: AccountId20,
1288
- to: AccountId20
1289
- ], {
856
+ Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId20, to: AccountId20], {
1290
857
  collection: u32;
1291
858
  item: u32;
1292
859
  from: AccountId20;
@@ -1303,10 +870,7 @@ declare module "@polkadot/api-base/types/events" {
1303
870
  * (kind-specific) time slot. This event is not deposited for duplicate slashes.
1304
871
  * \[kind, timeslot\].
1305
872
  **/
1306
- Offence: AugmentedEvent<ApiType, [
1307
- kind: U8aFixed,
1308
- timeslot: Bytes
1309
- ], {
873
+ Offence: AugmentedEvent<ApiType, [kind: U8aFixed, timeslot: Bytes], {
1310
874
  kind: U8aFixed;
1311
875
  timeslot: Bytes;
1312
876
  }>;
@@ -1321,11 +885,7 @@ declare module "@polkadot/api-base/types/events" {
1321
885
  *
1322
886
  * Is also emitted when the value was not changed.
1323
887
  **/
1324
- Updated: AugmentedEvent<ApiType, [
1325
- key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey,
1326
- oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
1327
- newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>
1328
- ], {
888
+ Updated: AugmentedEvent<ApiType, [key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey, oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>, newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>], {
1329
889
  key: ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersKey;
1330
890
  oldValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
1331
891
  newValue: Option<ShSolochainEvmRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
@@ -1340,11 +900,7 @@ declare module "@polkadot/api-base/types/events" {
1340
900
  * Event emitted when a dynamic-rate payment stream is created. Provides information about the User and Provider of the stream
1341
901
  * and the initial amount provided.
1342
902
  **/
1343
- DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [
1344
- userAccount: AccountId20,
1345
- providerId: H256,
1346
- amountProvided: u64
1347
- ], {
903
+ DynamicRatePaymentStreamCreated: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256, amountProvided: u64], {
1348
904
  userAccount: AccountId20;
1349
905
  providerId: H256;
1350
906
  amountProvided: u64;
@@ -1352,10 +908,7 @@ declare module "@polkadot/api-base/types/events" {
1352
908
  /**
1353
909
  * Event emitted when a dynamic-rate payment stream is removed. Provides information about the User and Provider of the stream.
1354
910
  **/
1355
- DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
1356
- userAccount: AccountId20,
1357
- providerId: H256
1358
- ], {
911
+ DynamicRatePaymentStreamDeleted: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256], {
1359
912
  userAccount: AccountId20;
1360
913
  providerId: H256;
1361
914
  }>;
@@ -1363,11 +916,7 @@ declare module "@polkadot/api-base/types/events" {
1363
916
  * Event emitted when a dynamic-rate payment stream is updated. Provides information about the User and Provider of the stream
1364
917
  * and the new amount provided.
1365
918
  **/
1366
- DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
1367
- userAccount: AccountId20,
1368
- providerId: H256,
1369
- newAmountProvided: u64
1370
- ], {
919
+ DynamicRatePaymentStreamUpdated: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256, newAmountProvided: u64], {
1371
920
  userAccount: AccountId20;
1372
921
  providerId: H256;
1373
922
  newAmountProvided: u64;
@@ -1376,11 +925,7 @@ declare module "@polkadot/api-base/types/events" {
1376
925
  * Event emitted when a fixed-rate payment stream is created. Provides information about the Provider and User of the stream
1377
926
  * and its initial rate.
1378
927
  **/
1379
- FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [
1380
- userAccount: AccountId20,
1381
- providerId: H256,
1382
- rate: u128
1383
- ], {
928
+ FixedRatePaymentStreamCreated: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256, rate: u128], {
1384
929
  userAccount: AccountId20;
1385
930
  providerId: H256;
1386
931
  rate: u128;
@@ -1388,10 +933,7 @@ declare module "@polkadot/api-base/types/events" {
1388
933
  /**
1389
934
  * Event emitted when a fixed-rate payment stream is removed. Provides information about the User and Provider of the stream.
1390
935
  **/
1391
- FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [
1392
- userAccount: AccountId20,
1393
- providerId: H256
1394
- ], {
936
+ FixedRatePaymentStreamDeleted: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256], {
1395
937
  userAccount: AccountId20;
1396
938
  providerId: H256;
1397
939
  }>;
@@ -1399,11 +941,7 @@ declare module "@polkadot/api-base/types/events" {
1399
941
  * Event emitted when a fixed-rate payment stream is updated. Provides information about the User and Provider of the stream
1400
942
  * and the new rate of the stream.
1401
943
  **/
1402
- FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [
1403
- userAccount: AccountId20,
1404
- providerId: H256,
1405
- newRate: u128
1406
- ], {
944
+ FixedRatePaymentStreamUpdated: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256, newRate: u128], {
1407
945
  userAccount: AccountId20;
1408
946
  providerId: H256;
1409
947
  newRate: u128;
@@ -1411,10 +949,7 @@ declare module "@polkadot/api-base/types/events" {
1411
949
  /**
1412
950
  * 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.
1413
951
  **/
1414
- InconsistentTickProcessing: AugmentedEvent<ApiType, [
1415
- lastProcessedTick: u32,
1416
- tickToProcess: u32
1417
- ], {
952
+ InconsistentTickProcessing: AugmentedEvent<ApiType, [lastProcessedTick: u32, tickToProcess: u32], {
1418
953
  lastProcessedTick: u32;
1419
954
  tickToProcess: u32;
1420
955
  }>;
@@ -1422,11 +957,7 @@ declare module "@polkadot/api-base/types/events" {
1422
957
  * Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
1423
958
  * the tick number of the last chargeable tick and the price index at that tick.
1424
959
  **/
1425
- LastChargeableInfoUpdated: AugmentedEvent<ApiType, [
1426
- providerId: H256,
1427
- lastChargeableTick: u32,
1428
- lastChargeablePriceIndex: u128
1429
- ], {
960
+ LastChargeableInfoUpdated: AugmentedEvent<ApiType, [providerId: H256, lastChargeableTick: u32, lastChargeablePriceIndex: u128], {
1430
961
  providerId: H256;
1431
962
  lastChargeableTick: u32;
1432
963
  lastChargeablePriceIndex: u128;
@@ -1435,13 +966,7 @@ declare module "@polkadot/api-base/types/events" {
1435
966
  * Event emitted when a payment is charged. Provides information about the user that was charged,
1436
967
  * the Provider that received the funds, the tick up to which it was charged and the amount that was charged.
1437
968
  **/
1438
- PaymentStreamCharged: AugmentedEvent<ApiType, [
1439
- userAccount: AccountId20,
1440
- providerId: H256,
1441
- amount: u128,
1442
- lastTickCharged: u32,
1443
- chargedAtTick: u32
1444
- ], {
969
+ PaymentStreamCharged: AugmentedEvent<ApiType, [userAccount: AccountId20, providerId: H256, amount: u128, lastTickCharged: u32, chargedAtTick: u32], {
1445
970
  userAccount: AccountId20;
1446
971
  providerId: H256;
1447
972
  amount: u128;
@@ -1464,11 +989,7 @@ declare module "@polkadot/api-base/types/events" {
1464
989
  * Event emitted when multiple payment streams have been charged from a Provider. Provides information about
1465
990
  * the charged users, the Provider that received the funds and the tick when the charge happened.
1466
991
  **/
1467
- UsersCharged: AugmentedEvent<ApiType, [
1468
- userAccounts: Vec<AccountId20>,
1469
- providerId: H256,
1470
- chargedAtTick: u32
1471
- ], {
992
+ UsersCharged: AugmentedEvent<ApiType, [userAccounts: Vec<AccountId20>, providerId: H256, chargedAtTick: u32], {
1472
993
  userAccounts: Vec<AccountId20>;
1473
994
  providerId: H256;
1474
995
  chargedAtTick: u32;
@@ -1509,12 +1030,7 @@ declare module "@polkadot/api-base/types/events" {
1509
1030
  * Additional information for context on where the mutations were applied can be provided
1510
1031
  * by using the `event_info` field.
1511
1032
  **/
1512
- MutationsApplied: AugmentedEvent<ApiType, [
1513
- mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
1514
- oldRoot: H256,
1515
- newRoot: H256,
1516
- eventInfo: Option<Bytes>
1517
- ], {
1033
+ MutationsApplied: AugmentedEvent<ApiType, [mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>, oldRoot: H256, newRoot: H256, eventInfo: Option<Bytes>], {
1518
1034
  mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1519
1035
  oldRoot: H256;
1520
1036
  newRoot: H256;
@@ -1523,12 +1039,7 @@ declare module "@polkadot/api-base/types/events" {
1523
1039
  /**
1524
1040
  * A set of mutations has been applied to the Forest of a given Provider.
1525
1041
  **/
1526
- MutationsAppliedForProvider: AugmentedEvent<ApiType, [
1527
- providerId: H256,
1528
- mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
1529
- oldRoot: H256,
1530
- newRoot: H256
1531
- ], {
1042
+ MutationsAppliedForProvider: AugmentedEvent<ApiType, [providerId: H256, mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>, oldRoot: H256, newRoot: H256], {
1532
1043
  providerId: H256;
1533
1044
  mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
1534
1045
  oldRoot: H256;
@@ -1537,22 +1048,14 @@ declare module "@polkadot/api-base/types/events" {
1537
1048
  /**
1538
1049
  * A manual challenge was submitted.
1539
1050
  **/
1540
- NewChallenge: AugmentedEvent<ApiType, [
1541
- who: Option<AccountId20>,
1542
- keyChallenged: H256
1543
- ], {
1051
+ NewChallenge: AugmentedEvent<ApiType, [who: Option<AccountId20>, keyChallenged: H256], {
1544
1052
  who: Option<AccountId20>;
1545
1053
  keyChallenged: H256;
1546
1054
  }>;
1547
1055
  /**
1548
1056
  * A provider's challenge cycle was initialised.
1549
1057
  **/
1550
- NewChallengeCycleInitialised: AugmentedEvent<ApiType, [
1551
- currentTick: u32,
1552
- nextChallengeDeadline: u32,
1553
- provider: H256,
1554
- maybeProviderAccount: Option<AccountId20>
1555
- ], {
1058
+ NewChallengeCycleInitialised: AugmentedEvent<ApiType, [currentTick: u32, nextChallengeDeadline: u32, provider: H256, maybeProviderAccount: Option<AccountId20>], {
1556
1059
  currentTick: u32;
1557
1060
  nextChallengeDeadline: u32;
1558
1061
  provider: H256;
@@ -1561,31 +1064,21 @@ declare module "@polkadot/api-base/types/events" {
1561
1064
  /**
1562
1065
  * A new challenge seed was generated.
1563
1066
  **/
1564
- NewChallengeSeed: AugmentedEvent<ApiType, [
1565
- challengesTicker: u32,
1566
- seed: H256
1567
- ], {
1067
+ NewChallengeSeed: AugmentedEvent<ApiType, [challengesTicker: u32, seed: H256], {
1568
1068
  challengesTicker: u32;
1569
1069
  seed: H256;
1570
1070
  }>;
1571
1071
  /**
1572
1072
  * A new checkpoint challenge was generated.
1573
1073
  **/
1574
- NewCheckpointChallenge: AugmentedEvent<ApiType, [
1575
- challengesTicker: u32,
1576
- challenges: Vec<PalletProofsDealerCustomChallenge>
1577
- ], {
1074
+ NewCheckpointChallenge: AugmentedEvent<ApiType, [challengesTicker: u32, challenges: Vec<PalletProofsDealerCustomChallenge>], {
1578
1075
  challengesTicker: u32;
1579
1076
  challenges: Vec<PalletProofsDealerCustomChallenge>;
1580
1077
  }>;
1581
1078
  /**
1582
1079
  * A priority challenge was submitted.
1583
1080
  **/
1584
- NewPriorityChallenge: AugmentedEvent<ApiType, [
1585
- who: Option<AccountId20>,
1586
- keyChallenged: H256,
1587
- shouldRemoveKey: bool
1588
- ], {
1081
+ NewPriorityChallenge: AugmentedEvent<ApiType, [who: Option<AccountId20>, keyChallenged: H256, shouldRemoveKey: bool], {
1589
1082
  who: Option<AccountId20>;
1590
1083
  keyChallenged: H256;
1591
1084
  shouldRemoveKey: bool;
@@ -1599,11 +1092,7 @@ declare module "@polkadot/api-base/types/events" {
1599
1092
  /**
1600
1093
  * A proof was accepted.
1601
1094
  **/
1602
- ProofAccepted: AugmentedEvent<ApiType, [
1603
- providerId: H256,
1604
- proof: PalletProofsDealerProof,
1605
- lastTickProven: u32
1606
- ], {
1095
+ ProofAccepted: AugmentedEvent<ApiType, [providerId: H256, proof: PalletProofsDealerProof, lastTickProven: u32], {
1607
1096
  providerId: H256;
1608
1097
  proof: PalletProofsDealerProof;
1609
1098
  lastTickProven: u32;
@@ -1611,10 +1100,7 @@ declare module "@polkadot/api-base/types/events" {
1611
1100
  /**
1612
1101
  * A provider was marked as slashable and their challenge deadline was forcefully pushed.
1613
1102
  **/
1614
- SlashableProvider: AugmentedEvent<ApiType, [
1615
- provider: H256,
1616
- nextChallengeDeadline: u32
1617
- ], {
1103
+ SlashableProvider: AugmentedEvent<ApiType, [provider: H256, nextChallengeDeadline: u32], {
1618
1104
  provider: H256;
1619
1105
  nextChallengeDeadline: u32;
1620
1106
  }>;
@@ -1628,10 +1114,7 @@ declare module "@polkadot/api-base/types/events" {
1628
1114
  * 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)
1629
1115
  * signalling the end of the grace period since an automatic top up could not be performed due to insufficient free balance.
1630
1116
  **/
1631
- AwaitingTopUp: AugmentedEvent<ApiType, [
1632
- providerId: H256,
1633
- topUpMetadata: PalletStorageProvidersTopUpMetadata
1634
- ], {
1117
+ AwaitingTopUp: AugmentedEvent<ApiType, [providerId: H256, topUpMetadata: PalletStorageProvidersTopUpMetadata], {
1635
1118
  providerId: H256;
1636
1119
  topUpMetadata: PalletStorageProvidersTopUpMetadata;
1637
1120
  }>;
@@ -1645,11 +1128,7 @@ declare module "@polkadot/api-base/types/events" {
1645
1128
  * Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
1646
1129
  * that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
1647
1130
  **/
1648
- BspRequestSignUpSuccess: AugmentedEvent<ApiType, [
1649
- who: AccountId20,
1650
- multiaddresses: Vec<Bytes>,
1651
- capacity: u64
1652
- ], {
1131
+ BspRequestSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId20, multiaddresses: Vec<Bytes>, capacity: u64], {
1653
1132
  who: AccountId20;
1654
1133
  multiaddresses: Vec<Bytes>;
1655
1134
  capacity: u64;
@@ -1658,10 +1137,7 @@ declare module "@polkadot/api-base/types/events" {
1658
1137
  * Event emitted when a Backup Storage Provider has signed off successfully. Provides information about
1659
1138
  * that BSP's account id.
1660
1139
  **/
1661
- BspSignOffSuccess: AugmentedEvent<ApiType, [
1662
- who: AccountId20,
1663
- bspId: H256
1664
- ], {
1140
+ BspSignOffSuccess: AugmentedEvent<ApiType, [who: AccountId20, bspId: H256], {
1665
1141
  who: AccountId20;
1666
1142
  bspId: H256;
1667
1143
  }>;
@@ -1670,13 +1146,7 @@ declare module "@polkadot/api-base/types/events" {
1670
1146
  * that BSP's account id, the initial root of the Merkle Patricia Trie that it stores, the total data it can store
1671
1147
  * according to its stake, and its multiaddress.
1672
1148
  **/
1673
- BspSignUpSuccess: AugmentedEvent<ApiType, [
1674
- who: AccountId20,
1675
- bspId: H256,
1676
- root: H256,
1677
- multiaddresses: Vec<Bytes>,
1678
- capacity: u64
1679
- ], {
1149
+ BspSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId20, bspId: H256, root: H256, multiaddresses: Vec<Bytes>, capacity: u64], {
1680
1150
  who: AccountId20;
1681
1151
  bspId: H256;
1682
1152
  root: H256;
@@ -1686,11 +1156,7 @@ declare module "@polkadot/api-base/types/events" {
1686
1156
  /**
1687
1157
  * Event emitted when a bucket's root has been changed.
1688
1158
  **/
1689
- BucketRootChanged: AugmentedEvent<ApiType, [
1690
- bucketId: H256,
1691
- oldRoot: H256,
1692
- newRoot: H256
1693
- ], {
1159
+ BucketRootChanged: AugmentedEvent<ApiType, [bucketId: H256, oldRoot: H256, newRoot: H256], {
1694
1160
  bucketId: H256;
1695
1161
  oldRoot: H256;
1696
1162
  newRoot: H256;
@@ -1699,10 +1165,7 @@ declare module "@polkadot/api-base/types/events" {
1699
1165
  * Event emitted when the provider that has been marked as insolvent was a MSP. It notifies the users of that MSP
1700
1166
  * the buckets that it was holding, so they can take appropriate measures.
1701
1167
  **/
1702
- BucketsOfInsolventMsp: AugmentedEvent<ApiType, [
1703
- mspId: H256,
1704
- buckets: Vec<H256>
1705
- ], {
1168
+ BucketsOfInsolventMsp: AugmentedEvent<ApiType, [mspId: H256, buckets: Vec<H256>], {
1706
1169
  mspId: H256;
1707
1170
  buckets: Vec<H256>;
1708
1171
  }>;
@@ -1710,13 +1173,7 @@ declare module "@polkadot/api-base/types/events" {
1710
1173
  * Event emitted when a SP has changed its capacity successfully. Provides information about
1711
1174
  * that SP's account id, its old total data that could store, and the new total data.
1712
1175
  **/
1713
- CapacityChanged: AugmentedEvent<ApiType, [
1714
- who: AccountId20,
1715
- providerId: PalletStorageProvidersStorageProviderId,
1716
- oldCapacity: u64,
1717
- newCapacity: u64,
1718
- nextBlockWhenChangeAllowed: u32
1719
- ], {
1176
+ CapacityChanged: AugmentedEvent<ApiType, [who: AccountId20, providerId: PalletStorageProvidersStorageProviderId, oldCapacity: u64, newCapacity: u64, nextBlockWhenChangeAllowed: u32], {
1720
1177
  who: AccountId20;
1721
1178
  providerId: PalletStorageProvidersStorageProviderId;
1722
1179
  oldCapacity: u64;
@@ -1726,9 +1183,7 @@ declare module "@polkadot/api-base/types/events" {
1726
1183
  /**
1727
1184
  * Event emitted when the account ID of a provider that has just been marked as insolvent can't be found in storage.
1728
1185
  **/
1729
- FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [
1730
- providerId: H256
1731
- ], {
1186
+ FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<ApiType, [providerId: H256], {
1732
1187
  providerId: H256;
1733
1188
  }>;
1734
1189
  /**
@@ -1739,21 +1194,14 @@ declare module "@polkadot/api-base/types/events" {
1739
1194
  * The result of this is that the provider's top up expiration will be reinserted at the correct expiration tick based on the
1740
1195
  * `TopUpMetadata` found in `AwaitingTopUpFromProviders` storage.
1741
1196
  **/
1742
- FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [
1743
- providerId: H256,
1744
- expirationTick: u32
1745
- ], {
1197
+ FailedToInsertProviderTopUpExpiration: AugmentedEvent<ApiType, [providerId: H256, expirationTick: u32], {
1746
1198
  providerId: H256;
1747
1199
  expirationTick: u32;
1748
1200
  }>;
1749
1201
  /**
1750
1202
  * Event emitted when there's an error slashing the now insolvent provider.
1751
1203
  **/
1752
- FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [
1753
- providerId: H256,
1754
- amountToSlash: u128,
1755
- error: SpRuntimeDispatchError
1756
- ], {
1204
+ FailedToSlashInsolventProvider: AugmentedEvent<ApiType, [providerId: H256, amountToSlash: u128, error: SpRuntimeDispatchError], {
1757
1205
  providerId: H256;
1758
1206
  amountToSlash: u128;
1759
1207
  error: SpRuntimeDispatchError;
@@ -1761,10 +1209,7 @@ declare module "@polkadot/api-base/types/events" {
1761
1209
  /**
1762
1210
  * Event emitted when there's an error stopping all cycles for an insolvent Backup Storage Provider.
1763
1211
  **/
1764
- FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [
1765
- providerId: H256,
1766
- error: SpRuntimeDispatchError
1767
- ], {
1212
+ FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<ApiType, [providerId: H256, error: SpRuntimeDispatchError], {
1768
1213
  providerId: H256;
1769
1214
  error: SpRuntimeDispatchError;
1770
1215
  }>;
@@ -1778,11 +1223,7 @@ declare module "@polkadot/api-base/types/events" {
1778
1223
  * Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
1779
1224
  * that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
1780
1225
  **/
1781
- MspRequestSignUpSuccess: AugmentedEvent<ApiType, [
1782
- who: AccountId20,
1783
- multiaddresses: Vec<Bytes>,
1784
- capacity: u64
1785
- ], {
1226
+ MspRequestSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId20, multiaddresses: Vec<Bytes>, capacity: u64], {
1786
1227
  who: AccountId20;
1787
1228
  multiaddresses: Vec<Bytes>;
1788
1229
  capacity: u64;
@@ -1791,10 +1232,7 @@ declare module "@polkadot/api-base/types/events" {
1791
1232
  * Event emitted when a Main Storage Provider has signed off successfully. Provides information about
1792
1233
  * that MSP's account id.
1793
1234
  **/
1794
- MspSignOffSuccess: AugmentedEvent<ApiType, [
1795
- who: AccountId20,
1796
- mspId: H256
1797
- ], {
1235
+ MspSignOffSuccess: AugmentedEvent<ApiType, [who: AccountId20, mspId: H256], {
1798
1236
  who: AccountId20;
1799
1237
  mspId: H256;
1800
1238
  }>;
@@ -1802,13 +1240,7 @@ declare module "@polkadot/api-base/types/events" {
1802
1240
  * Event emitted when a Main Storage Provider has confirmed its sign up successfully. Provides information about
1803
1241
  * that MSP's account id, the total data it can store according to its stake, its multiaddress, and its value proposition.
1804
1242
  **/
1805
- MspSignUpSuccess: AugmentedEvent<ApiType, [
1806
- who: AccountId20,
1807
- mspId: H256,
1808
- multiaddresses: Vec<Bytes>,
1809
- capacity: u64,
1810
- valueProp: PalletStorageProvidersValuePropositionWithId
1811
- ], {
1243
+ MspSignUpSuccess: AugmentedEvent<ApiType, [who: AccountId20, mspId: H256, multiaddresses: Vec<Bytes>, capacity: u64, valueProp: PalletStorageProvidersValuePropositionWithId], {
1812
1244
  who: AccountId20;
1813
1245
  mspId: H256;
1814
1246
  multiaddresses: Vec<Bytes>;
@@ -1818,20 +1250,14 @@ declare module "@polkadot/api-base/types/events" {
1818
1250
  /**
1819
1251
  * Event emitted when a Provider has added a new MultiAddress to its account.
1820
1252
  **/
1821
- MultiAddressAdded: AugmentedEvent<ApiType, [
1822
- providerId: H256,
1823
- newMultiaddress: Bytes
1824
- ], {
1253
+ MultiAddressAdded: AugmentedEvent<ApiType, [providerId: H256, newMultiaddress: Bytes], {
1825
1254
  providerId: H256;
1826
1255
  newMultiaddress: Bytes;
1827
1256
  }>;
1828
1257
  /**
1829
1258
  * Event emitted when a Provider has removed a MultiAddress from its account.
1830
1259
  **/
1831
- MultiAddressRemoved: AugmentedEvent<ApiType, [
1832
- providerId: H256,
1833
- removedMultiaddress: Bytes
1834
- ], {
1260
+ MultiAddressRemoved: AugmentedEvent<ApiType, [providerId: H256, removedMultiaddress: Bytes], {
1835
1261
  providerId: H256;
1836
1262
  removedMultiaddress: Bytes;
1837
1263
  }>;
@@ -1854,31 +1280,21 @@ declare module "@polkadot/api-base/types/events" {
1854
1280
  /**
1855
1281
  * Event emitted when a SP has been slashed.
1856
1282
  **/
1857
- Slashed: AugmentedEvent<ApiType, [
1858
- providerId: H256,
1859
- amount: u128
1860
- ], {
1283
+ Slashed: AugmentedEvent<ApiType, [providerId: H256, amount: u128], {
1861
1284
  providerId: H256;
1862
1285
  amount: u128;
1863
1286
  }>;
1864
1287
  /**
1865
1288
  * Event emitted when an SP has topped up its deposit based on slash amount.
1866
1289
  **/
1867
- TopUpFulfilled: AugmentedEvent<ApiType, [
1868
- providerId: H256,
1869
- amount: u128
1870
- ], {
1290
+ TopUpFulfilled: AugmentedEvent<ApiType, [providerId: H256, amount: u128], {
1871
1291
  providerId: H256;
1872
1292
  amount: u128;
1873
1293
  }>;
1874
1294
  /**
1875
1295
  * Event emitted when an MSP adds a new value proposition.
1876
1296
  **/
1877
- ValuePropAdded: AugmentedEvent<ApiType, [
1878
- mspId: H256,
1879
- valuePropId: H256,
1880
- valueProp: PalletStorageProvidersValueProposition
1881
- ], {
1297
+ ValuePropAdded: AugmentedEvent<ApiType, [mspId: H256, valuePropId: H256, valueProp: PalletStorageProvidersValueProposition], {
1882
1298
  mspId: H256;
1883
1299
  valuePropId: H256;
1884
1300
  valueProp: PalletStorageProvidersValueProposition;
@@ -1886,10 +1302,7 @@ declare module "@polkadot/api-base/types/events" {
1886
1302
  /**
1887
1303
  * Event emitted when an MSP's value proposition is made unavailable.
1888
1304
  **/
1889
- ValuePropUnavailable: AugmentedEvent<ApiType, [
1890
- mspId: H256,
1891
- valuePropId: H256
1892
- ], {
1305
+ ValuePropUnavailable: AugmentedEvent<ApiType, [mspId: H256, valuePropId: H256], {
1893
1306
  mspId: H256;
1894
1307
  valuePropId: H256;
1895
1308
  }>;
@@ -1902,11 +1315,7 @@ declare module "@polkadot/api-base/types/events" {
1902
1315
  /**
1903
1316
  * Event emitted when a new random seed is available from the relay chain
1904
1317
  **/
1905
- NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [
1906
- randomnessSeed: H256,
1907
- fromEpoch: u64,
1908
- validUntilBlock: u32
1909
- ], {
1318
+ NewOneEpochAgoRandomnessAvailable: AugmentedEvent<ApiType, [randomnessSeed: H256, fromEpoch: u64, validUntilBlock: u32], {
1910
1319
  randomnessSeed: H256;
1911
1320
  fromEpoch: u64;
1912
1321
  validUntilBlock: u32;
@@ -1933,10 +1342,7 @@ declare module "@polkadot/api-base/types/events" {
1933
1342
  /**
1934
1343
  * The sudo key has been updated.
1935
1344
  **/
1936
- KeyChanged: AugmentedEvent<ApiType, [
1937
- old: Option<AccountId20>,
1938
- new_: AccountId20
1939
- ], {
1345
+ KeyChanged: AugmentedEvent<ApiType, [old: Option<AccountId20>, new_: AccountId20], {
1940
1346
  old: Option<AccountId20>;
1941
1347
  new_: AccountId20;
1942
1348
  }>;
@@ -1947,17 +1353,13 @@ declare module "@polkadot/api-base/types/events" {
1947
1353
  /**
1948
1354
  * A sudo call just took place.
1949
1355
  **/
1950
- Sudid: AugmentedEvent<ApiType, [
1951
- sudoResult: Result<Null, SpRuntimeDispatchError>
1952
- ], {
1356
+ Sudid: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
1953
1357
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1954
1358
  }>;
1955
1359
  /**
1956
1360
  * A [sudo_as](Pallet::sudo_as) call just took place.
1957
1361
  **/
1958
- SudoAsDone: AugmentedEvent<ApiType, [
1959
- sudoResult: Result<Null, SpRuntimeDispatchError>
1960
- ], {
1362
+ SudoAsDone: AugmentedEvent<ApiType, [sudoResult: Result<Null, SpRuntimeDispatchError>], {
1961
1363
  sudoResult: Result<Null, SpRuntimeDispatchError>;
1962
1364
  }>;
1963
1365
  /**
@@ -1973,19 +1375,14 @@ declare module "@polkadot/api-base/types/events" {
1973
1375
  /**
1974
1376
  * An extrinsic failed.
1975
1377
  **/
1976
- ExtrinsicFailed: AugmentedEvent<ApiType, [
1977
- dispatchError: SpRuntimeDispatchError,
1978
- dispatchInfo: FrameSystemDispatchEventInfo
1979
- ], {
1378
+ ExtrinsicFailed: AugmentedEvent<ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], {
1980
1379
  dispatchError: SpRuntimeDispatchError;
1981
1380
  dispatchInfo: FrameSystemDispatchEventInfo;
1982
1381
  }>;
1983
1382
  /**
1984
1383
  * An extrinsic completed successfully.
1985
1384
  **/
1986
- ExtrinsicSuccess: AugmentedEvent<ApiType, [
1987
- dispatchInfo: FrameSystemDispatchEventInfo
1988
- ], {
1385
+ ExtrinsicSuccess: AugmentedEvent<ApiType, [dispatchInfo: FrameSystemDispatchEventInfo], {
1989
1386
  dispatchInfo: FrameSystemDispatchEventInfo;
1990
1387
  }>;
1991
1388
  /**
@@ -2003,20 +1400,14 @@ declare module "@polkadot/api-base/types/events" {
2003
1400
  /**
2004
1401
  * On on-chain remark happened.
2005
1402
  **/
2006
- Remarked: AugmentedEvent<ApiType, [
2007
- sender: AccountId20,
2008
- hash_: H256
2009
- ], {
1403
+ Remarked: AugmentedEvent<ApiType, [sender: AccountId20, hash_: H256], {
2010
1404
  sender: AccountId20;
2011
1405
  hash_: H256;
2012
1406
  }>;
2013
1407
  /**
2014
1408
  * An upgrade was authorized.
2015
1409
  **/
2016
- UpgradeAuthorized: AugmentedEvent<ApiType, [
2017
- codeHash: H256,
2018
- checkVersion: bool
2019
- ], {
1410
+ UpgradeAuthorized: AugmentedEvent<ApiType, [codeHash: H256, checkVersion: bool], {
2020
1411
  codeHash: H256;
2021
1412
  checkVersion: bool;
2022
1413
  }>;
@@ -2030,11 +1421,7 @@ declare module "@polkadot/api-base/types/events" {
2030
1421
  * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
2031
1422
  * has been paid by `who`.
2032
1423
  **/
2033
- TransactionFeePaid: AugmentedEvent<ApiType, [
2034
- who: AccountId20,
2035
- actualFee: u128,
2036
- tip: u128
2037
- ], {
1424
+ TransactionFeePaid: AugmentedEvent<ApiType, [who: AccountId20, actualFee: u128, tip: u128], {
2038
1425
  who: AccountId20;
2039
1426
  actualFee: u128;
2040
1427
  tip: u128;