@storagehub/api-augment 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +54 -0
  2. package/biome.json +10 -0
  3. package/dist/index.js +4 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/interfaces/augment-api-consts.js +6 -0
  6. package/dist/interfaces/augment-api-consts.js.map +1 -0
  7. package/dist/interfaces/augment-api-errors.js +6 -0
  8. package/dist/interfaces/augment-api-errors.js.map +1 -0
  9. package/dist/interfaces/augment-api-events.js +6 -0
  10. package/dist/interfaces/augment-api-events.js.map +1 -0
  11. package/dist/interfaces/augment-api-query.js +6 -0
  12. package/dist/interfaces/augment-api-query.js.map +1 -0
  13. package/dist/interfaces/augment-api-rpc.js +6 -0
  14. package/dist/interfaces/augment-api-rpc.js.map +1 -0
  15. package/dist/interfaces/augment-api-runtime.js +6 -0
  16. package/dist/interfaces/augment-api-runtime.js.map +1 -0
  17. package/dist/interfaces/augment-api-tx.js +6 -0
  18. package/dist/interfaces/augment-api-tx.js.map +1 -0
  19. package/dist/interfaces/augment-api.js +10 -0
  20. package/dist/interfaces/augment-api.js.map +1 -0
  21. package/dist/interfaces/augment-types.js +6 -0
  22. package/dist/interfaces/augment-types.js.map +1 -0
  23. package/dist/interfaces/definitions.js +2 -0
  24. package/dist/interfaces/definitions.js.map +1 -0
  25. package/dist/interfaces/index.js +4 -0
  26. package/dist/interfaces/index.js.map +1 -0
  27. package/dist/interfaces/lookup.js +4504 -0
  28. package/dist/interfaces/lookup.js.map +1 -0
  29. package/dist/interfaces/registry.js +6 -0
  30. package/dist/interfaces/registry.js.map +1 -0
  31. package/dist/interfaces/storagehubclient/definitions.js +7 -0
  32. package/dist/interfaces/storagehubclient/definitions.js.map +1 -0
  33. package/dist/interfaces/storagehubclient/index.js +4 -0
  34. package/dist/interfaces/storagehubclient/index.js.map +1 -0
  35. package/dist/interfaces/storagehubclient/runtime.js +152 -0
  36. package/dist/interfaces/storagehubclient/runtime.js.map +1 -0
  37. package/dist/interfaces/storagehubclient/types.js +4 -0
  38. package/dist/interfaces/storagehubclient/types.js.map +1 -0
  39. package/dist/interfaces/types-lookup.js +6 -0
  40. package/dist/interfaces/types-lookup.js.map +1 -0
  41. package/dist/interfaces/types.js +4 -0
  42. package/dist/interfaces/types.js.map +1 -0
  43. package/dist/types/index.d.ts +3 -0
  44. package/dist/types/interfaces/augment-api-consts.d.ts +556 -0
  45. package/dist/types/interfaces/augment-api-errors.d.ts +1195 -0
  46. package/dist/types/interfaces/augment-api-events.d.ts +2070 -0
  47. package/dist/types/interfaces/augment-api-query.d.ts +1439 -0
  48. package/dist/types/interfaces/augment-api-rpc.d.ts +718 -0
  49. package/dist/types/interfaces/augment-api-runtime.d.ts +441 -0
  50. package/dist/types/interfaces/augment-api-tx.d.ts +3039 -0
  51. package/dist/types/interfaces/augment-api.d.ts +7 -0
  52. package/dist/types/interfaces/augment-types.d.ts +1285 -0
  53. package/dist/types/interfaces/definitions.d.ts +1 -0
  54. package/dist/types/interfaces/index.d.ts +1 -0
  55. package/dist/types/interfaces/lookup.d.ts +4179 -0
  56. package/dist/types/interfaces/registry.d.ts +272 -0
  57. package/dist/types/interfaces/storagehubclient/definitions.d.ts +6 -0
  58. package/dist/types/interfaces/storagehubclient/index.d.ts +1 -0
  59. package/dist/types/interfaces/storagehubclient/runtime.d.ts +2 -0
  60. package/dist/types/interfaces/storagehubclient/types.d.ts +198 -0
  61. package/dist/types/interfaces/types-lookup.d.ts +4457 -0
  62. package/dist/types/interfaces/types.d.ts +1 -0
  63. package/package.json +38 -0
  64. package/scripts/scrapeMetadata.ts +77 -0
  65. package/src/index.ts +3 -0
  66. package/src/interfaces/augment-api-consts.ts +570 -0
  67. package/src/interfaces/augment-api-errors.ts +1203 -0
  68. package/src/interfaces/augment-api-events.ts +1836 -0
  69. package/src/interfaces/augment-api-query.ts +1975 -0
  70. package/src/interfaces/augment-api-rpc.ts +1201 -0
  71. package/src/interfaces/augment-api-runtime.ts +707 -0
  72. package/src/interfaces/augment-api-tx.ts +3418 -0
  73. package/src/interfaces/augment-api.ts +10 -0
  74. package/src/interfaces/augment-types.ts +2508 -0
  75. package/src/interfaces/definitions.ts +1 -0
  76. package/src/interfaces/index.ts +4 -0
  77. package/src/interfaces/lookup.ts +4511 -0
  78. package/src/interfaces/registry.ts +546 -0
  79. package/src/interfaces/storagehubclient/definitions.ts +7 -0
  80. package/src/interfaces/storagehubclient/index.ts +4 -0
  81. package/src/interfaces/storagehubclient/runtime.ts +156 -0
  82. package/src/interfaces/storagehubclient/types.ts +241 -0
  83. package/src/interfaces/types-lookup.ts +5623 -0
  84. package/src/interfaces/types.ts +4 -0
  85. package/storagehub.json +1 -0
  86. package/tsconfig.json +22 -0
@@ -0,0 +1,1195 @@
1
+ import "@polkadot/api-base/types/errors";
2
+ import type { ApiTypes, AugmentedError } from "@polkadot/api-base/types";
3
+ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
4
+ declare module "@polkadot/api-base/types/errors" {
5
+ interface AugmentedErrors<ApiType extends ApiTypes> {
6
+ balances: {
7
+ /**
8
+ * Beneficiary account must pre-exist.
9
+ **/
10
+ DeadAccount: AugmentedError<ApiType>;
11
+ /**
12
+ * The delta cannot be zero.
13
+ **/
14
+ DeltaZero: AugmentedError<ApiType>;
15
+ /**
16
+ * Value too low to create account due to existential deposit.
17
+ **/
18
+ ExistentialDeposit: AugmentedError<ApiType>;
19
+ /**
20
+ * A vesting schedule already exists for this account.
21
+ **/
22
+ ExistingVestingSchedule: AugmentedError<ApiType>;
23
+ /**
24
+ * Transfer/payment would kill account.
25
+ **/
26
+ Expendability: AugmentedError<ApiType>;
27
+ /**
28
+ * Balance too low to send value.
29
+ **/
30
+ InsufficientBalance: AugmentedError<ApiType>;
31
+ /**
32
+ * The issuance cannot be modified since it is already deactivated.
33
+ **/
34
+ IssuanceDeactivated: AugmentedError<ApiType>;
35
+ /**
36
+ * Account liquidity restrictions prevent withdrawal.
37
+ **/
38
+ LiquidityRestrictions: AugmentedError<ApiType>;
39
+ /**
40
+ * Number of freezes exceed `MaxFreezes`.
41
+ **/
42
+ TooManyFreezes: AugmentedError<ApiType>;
43
+ /**
44
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
45
+ **/
46
+ TooManyHolds: AugmentedError<ApiType>;
47
+ /**
48
+ * Number of named reserves exceed `MaxReserves`.
49
+ **/
50
+ TooManyReserves: AugmentedError<ApiType>;
51
+ /**
52
+ * Vesting balance too high to send value.
53
+ **/
54
+ VestingBalance: AugmentedError<ApiType>;
55
+ /**
56
+ * Generic error
57
+ **/
58
+ [key: string]: AugmentedError<ApiType>;
59
+ };
60
+ bucketNfts: {
61
+ /**
62
+ * Bucket is not private. Call `update_bucket_privacy` from the file system pallet to make it private.
63
+ **/
64
+ BucketIsNotPrivate: AugmentedError<ApiType>;
65
+ /**
66
+ * Failed to convert bytes to `BoundedVec`
67
+ **/
68
+ ConvertBytesToBoundedVec: AugmentedError<ApiType>;
69
+ /**
70
+ * No collection corresponding to the bucket. Call `update_bucket_privacy` from the file system pallet to make it private.
71
+ **/
72
+ NoCorrespondingCollection: AugmentedError<ApiType>;
73
+ /**
74
+ * Account is not the owner of the bucket.
75
+ **/
76
+ NotBucketOwner: AugmentedError<ApiType>;
77
+ /**
78
+ * Generic error
79
+ **/
80
+ [key: string]: AugmentedError<ApiType>;
81
+ };
82
+ collatorSelection: {
83
+ /**
84
+ * Account is already a candidate.
85
+ **/
86
+ AlreadyCandidate: AugmentedError<ApiType>;
87
+ /**
88
+ * Account is already an Invulnerable.
89
+ **/
90
+ AlreadyInvulnerable: AugmentedError<ApiType>;
91
+ /**
92
+ * New deposit amount would be below the minimum candidacy bond.
93
+ **/
94
+ DepositTooLow: AugmentedError<ApiType>;
95
+ /**
96
+ * The updated deposit amount is equal to the amount already reserved.
97
+ **/
98
+ IdenticalDeposit: AugmentedError<ApiType>;
99
+ /**
100
+ * Could not insert in the candidate list.
101
+ **/
102
+ InsertToCandidateListFailed: AugmentedError<ApiType>;
103
+ /**
104
+ * Deposit amount is too low to take the target's slot in the candidate list.
105
+ **/
106
+ InsufficientBond: AugmentedError<ApiType>;
107
+ /**
108
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
109
+ **/
110
+ InvalidUnreserve: AugmentedError<ApiType>;
111
+ /**
112
+ * Account has no associated validator ID.
113
+ **/
114
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
115
+ /**
116
+ * Account is not a candidate.
117
+ **/
118
+ NotCandidate: AugmentedError<ApiType>;
119
+ /**
120
+ * Account is not an Invulnerable.
121
+ **/
122
+ NotInvulnerable: AugmentedError<ApiType>;
123
+ /**
124
+ * Could not remove from the candidate list.
125
+ **/
126
+ RemoveFromCandidateListFailed: AugmentedError<ApiType>;
127
+ /**
128
+ * The target account to be replaced in the candidate list is not a candidate.
129
+ **/
130
+ TargetIsNotCandidate: AugmentedError<ApiType>;
131
+ /**
132
+ * Leaving would result in too few candidates.
133
+ **/
134
+ TooFewEligibleCollators: AugmentedError<ApiType>;
135
+ /**
136
+ * The pallet has too many candidates.
137
+ **/
138
+ TooManyCandidates: AugmentedError<ApiType>;
139
+ /**
140
+ * There are too many Invulnerables.
141
+ **/
142
+ TooManyInvulnerables: AugmentedError<ApiType>;
143
+ /**
144
+ * Could not update the candidate list.
145
+ **/
146
+ UpdateCandidateListFailed: AugmentedError<ApiType>;
147
+ /**
148
+ * Validator ID is not yet registered.
149
+ **/
150
+ ValidatorNotRegistered: AugmentedError<ApiType>;
151
+ /**
152
+ * Generic error
153
+ **/
154
+ [key: string]: AugmentedError<ApiType>;
155
+ };
156
+ fileSystem: {
157
+ /**
158
+ * BSP did not succeed threshold check.
159
+ **/
160
+ AboveThreshold: AugmentedError<ApiType>;
161
+ /**
162
+ * BSP has already confirmed storing the given file.
163
+ **/
164
+ BspAlreadyConfirmed: AugmentedError<ApiType>;
165
+ /**
166
+ * BSP is already a data server for the move bucket request.
167
+ **/
168
+ BspAlreadyDataServer: AugmentedError<ApiType>;
169
+ /**
170
+ * BSP already volunteered to store the given file.
171
+ **/
172
+ BspAlreadyVolunteered: AugmentedError<ApiType>;
173
+ /**
174
+ * Too many registered data servers for the move bucket request.
175
+ **/
176
+ BspDataServersExceeded: AugmentedError<ApiType>;
177
+ /**
178
+ * BSP has not confirmed storing the given file.
179
+ **/
180
+ BspNotConfirmed: AugmentedError<ApiType>;
181
+ /**
182
+ * BSP has not volunteered to store the given file.
183
+ **/
184
+ BspNotVolunteered: AugmentedError<ApiType>;
185
+ /**
186
+ * BSPs required for storage request cannot exceed the maximum allowed.
187
+ **/
188
+ BspsRequiredExceedsTarget: AugmentedError<ApiType>;
189
+ /**
190
+ * Action not allowed while the bucket is being moved.
191
+ **/
192
+ BucketIsBeingMoved: AugmentedError<ApiType>;
193
+ /**
194
+ * Bucket is not private. Call `update_bucket_privacy` to make it private.
195
+ **/
196
+ BucketIsNotPrivate: AugmentedError<ApiType>;
197
+ /**
198
+ * Bucket does not exist
199
+ **/
200
+ BucketNotFound: AugmentedError<ApiType>;
201
+ /**
202
+ * Divided by 0
203
+ **/
204
+ DividedByZero: AugmentedError<ApiType>;
205
+ /**
206
+ * Failed to verify proof: required to provide a proof of inclusion.
207
+ **/
208
+ ExpectedInclusionProof: AugmentedError<ApiType>;
209
+ /**
210
+ * Failed to verify proof: required to provide a proof of non-inclusion.
211
+ **/
212
+ ExpectedNonInclusionProof: AugmentedError<ApiType>;
213
+ /**
214
+ * Failed to decode threshold.
215
+ **/
216
+ FailedToDecodeThreshold: AugmentedError<ApiType>;
217
+ /**
218
+ * Failed to encode BSP id as slice.
219
+ **/
220
+ FailedToEncodeBsp: AugmentedError<ApiType>;
221
+ /**
222
+ * Failed to encode fingerprint as slice.
223
+ **/
224
+ FailedToEncodeFingerprint: AugmentedError<ApiType>;
225
+ /**
226
+ * Failed to convert to primitive type.
227
+ **/
228
+ FailedTypeConversion: AugmentedError<ApiType>;
229
+ /**
230
+ * File key already pending deletion.
231
+ **/
232
+ FileKeyAlreadyPendingDeletion: AugmentedError<ApiType>;
233
+ /**
234
+ * File key not found in pending deletion requests.
235
+ **/
236
+ FileKeyNotPendingDeletion: AugmentedError<ApiType>;
237
+ /**
238
+ * The bounded vector that holds file metadata to process it is full but there's still more to process.
239
+ **/
240
+ FileMetadataProcessingQueueFull: AugmentedError<ApiType>;
241
+ /**
242
+ * File size cannot be zero.
243
+ **/
244
+ FileSizeCannotBeZero: AugmentedError<ApiType>;
245
+ /**
246
+ * Failed to get value when just checked it existed.
247
+ **/
248
+ ImpossibleFailedToGetValue: AugmentedError<ApiType>;
249
+ /**
250
+ * Key already exists in mapping when it should not.
251
+ **/
252
+ InconsistentStateKeyAlreadyExists: AugmentedError<ApiType>;
253
+ /**
254
+ * SP does not have enough storage capacity to store the file.
255
+ **/
256
+ InsufficientAvailableCapacity: AugmentedError<ApiType>;
257
+ /**
258
+ * Bucket id and file key pair is invalid.
259
+ **/
260
+ InvalidBucketIdFileKeyPair: AugmentedError<ApiType>;
261
+ /**
262
+ * Metadata does not correspond to expected file key.
263
+ **/
264
+ InvalidFileKeyMetadata: AugmentedError<ApiType>;
265
+ /**
266
+ * Error created in 2024. If you see this, you are well beyond the singularity and should
267
+ * probably stop using this pallet.
268
+ **/
269
+ MaxBlockNumberReached: AugmentedError<ApiType>;
270
+ /**
271
+ * Maximum threshold cannot be zero.
272
+ **/
273
+ MaximumThresholdCannotBeZero: AugmentedError<ApiType>;
274
+ /**
275
+ * Max number of user pending deletion requests reached.
276
+ **/
277
+ MaxUserPendingDeletionRequestsReached: AugmentedError<ApiType>;
278
+ /**
279
+ * Minimum amount of blocks between the request opening and being able to confirm it not reached.
280
+ **/
281
+ MinWaitForStopStoringNotReached: AugmentedError<ApiType>;
282
+ /**
283
+ * Move bucket request not found in storage.
284
+ **/
285
+ MoveBucketRequestNotFound: AugmentedError<ApiType>;
286
+ /**
287
+ * The MSP is trying to confirm to store a file from a storage request that it has already confirmed to store.
288
+ **/
289
+ MspAlreadyConfirmed: AugmentedError<ApiType>;
290
+ /**
291
+ * The MSP is already storing the bucket.
292
+ **/
293
+ MspAlreadyStoringBucket: AugmentedError<ApiType>;
294
+ /**
295
+ * Unauthorized operation, signer is not an MSP of the bucket id.
296
+ **/
297
+ MspNotStoringBucket: AugmentedError<ApiType>;
298
+ /**
299
+ * No global reputation weight set.
300
+ **/
301
+ NoGlobalReputationWeightSet: AugmentedError<ApiType>;
302
+ /**
303
+ * Account is not a BSP.
304
+ **/
305
+ NotABsp: AugmentedError<ApiType>;
306
+ /**
307
+ * Account is not a MSP.
308
+ **/
309
+ NotAMsp: AugmentedError<ApiType>;
310
+ /**
311
+ * Account is not a SP.
312
+ **/
313
+ NotASp: AugmentedError<ApiType>;
314
+ /**
315
+ * Operation failed because the account is not the owner of the bucket.
316
+ **/
317
+ NotBucketOwner: AugmentedError<ApiType>;
318
+ /**
319
+ * Unauthorized operation, signer does not own the file.
320
+ **/
321
+ NotFileOwner: AugmentedError<ApiType>;
322
+ /**
323
+ * The MSP is trying to confirm to store a file from a storage request is not the one selected to store it.
324
+ **/
325
+ NotSelectedMsp: AugmentedError<ApiType>;
326
+ /**
327
+ * Pending stop storing request already exists.
328
+ **/
329
+ PendingStopStoringRequestAlreadyExists: AugmentedError<ApiType>;
330
+ /**
331
+ * Pending stop storing request not found.
332
+ **/
333
+ PendingStopStoringRequestNotFound: AugmentedError<ApiType>;
334
+ /**
335
+ * Root of the provider not found.
336
+ **/
337
+ ProviderRootNotFound: AugmentedError<ApiType>;
338
+ /**
339
+ * Replication target cannot be zero.
340
+ **/
341
+ ReplicationTargetCannotBeZero: AugmentedError<ApiType>;
342
+ /**
343
+ * The MSP is trying to confirm to store a file from a storage request that does not have a MSP assigned.
344
+ **/
345
+ RequestWithoutMsp: AugmentedError<ApiType>;
346
+ /**
347
+ * Storage request already registered for the given file.
348
+ **/
349
+ StorageRequestAlreadyRegistered: AugmentedError<ApiType>;
350
+ /**
351
+ * Number of BSPs required for storage request has been reached.
352
+ **/
353
+ StorageRequestBspsRequiredFulfilled: AugmentedError<ApiType>;
354
+ /**
355
+ * Operation not allowed while the storage request exists.
356
+ **/
357
+ StorageRequestExists: AugmentedError<ApiType>;
358
+ /**
359
+ * No slot available found in blocks to insert storage request expiration time.
360
+ **/
361
+ StorageRequestExpiredNoSlotAvailable: AugmentedError<ApiType>;
362
+ /**
363
+ * Not authorized to delete the storage request.
364
+ **/
365
+ StorageRequestNotAuthorized: AugmentedError<ApiType>;
366
+ /**
367
+ * Storage request not registered for the given file.
368
+ **/
369
+ StorageRequestNotFound: AugmentedError<ApiType>;
370
+ /**
371
+ * Operation not allowed while the storage request is not being revoked.
372
+ **/
373
+ StorageRequestNotRevoked: AugmentedError<ApiType>;
374
+ /**
375
+ * Arithmetic error in threshold calculation.
376
+ **/
377
+ ThresholdArithmeticError: AugmentedError<ApiType>;
378
+ /**
379
+ * BSPs assignment threshold cannot be below asymptote.
380
+ **/
381
+ ThresholdBelowAsymptote: AugmentedError<ApiType>;
382
+ /**
383
+ * Tick range to maximum threshold cannot be zero.
384
+ **/
385
+ TickRangeToMaximumThresholdCannotBeZero: AugmentedError<ApiType>;
386
+ /**
387
+ * Too many batch responses to process.
388
+ **/
389
+ TooManyBatchResponses: AugmentedError<ApiType>;
390
+ /**
391
+ * Too many storage request responses.
392
+ **/
393
+ TooManyStorageRequestResponses: AugmentedError<ApiType>;
394
+ /**
395
+ * Number of removed BSPs volunteered from storage request prefix did not match the expected number.
396
+ **/
397
+ UnexpectedNumberOfRemovedVolunteeredBsps: AugmentedError<ApiType>;
398
+ /**
399
+ * A SP tried to stop storing files from a user that was supposedly insolvent, but the user is not insolvent.
400
+ **/
401
+ UserNotInsolvent: AugmentedError<ApiType>;
402
+ /**
403
+ * Generic error
404
+ **/
405
+ [key: string]: AugmentedError<ApiType>;
406
+ };
407
+ messageQueue: {
408
+ /**
409
+ * The message was already processed and cannot be processed again.
410
+ **/
411
+ AlreadyProcessed: AugmentedError<ApiType>;
412
+ /**
413
+ * There is temporarily not enough weight to continue servicing messages.
414
+ **/
415
+ InsufficientWeight: AugmentedError<ApiType>;
416
+ /**
417
+ * The referenced message could not be found.
418
+ **/
419
+ NoMessage: AugmentedError<ApiType>;
420
+ /**
421
+ * Page to be reaped does not exist.
422
+ **/
423
+ NoPage: AugmentedError<ApiType>;
424
+ /**
425
+ * Page is not reapable because it has items remaining to be processed and is not old
426
+ * enough.
427
+ **/
428
+ NotReapable: AugmentedError<ApiType>;
429
+ /**
430
+ * The message is queued for future execution.
431
+ **/
432
+ Queued: AugmentedError<ApiType>;
433
+ /**
434
+ * The queue is paused and no message can be executed from it.
435
+ *
436
+ * This can change at any time and may resolve in the future by re-trying.
437
+ **/
438
+ QueuePaused: AugmentedError<ApiType>;
439
+ /**
440
+ * Another call is in progress and needs to finish before this call can happen.
441
+ **/
442
+ RecursiveDisallowed: AugmentedError<ApiType>;
443
+ /**
444
+ * This message is temporarily unprocessable.
445
+ *
446
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
447
+ * retrying.
448
+ **/
449
+ TemporarilyUnprocessable: AugmentedError<ApiType>;
450
+ /**
451
+ * Generic error
452
+ **/
453
+ [key: string]: AugmentedError<ApiType>;
454
+ };
455
+ nfts: {
456
+ /**
457
+ * The provided Item was already used for claiming.
458
+ **/
459
+ AlreadyClaimed: AugmentedError<ApiType>;
460
+ /**
461
+ * The item ID has already been used for an item.
462
+ **/
463
+ AlreadyExists: AugmentedError<ApiType>;
464
+ /**
465
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
466
+ **/
467
+ ApprovalExpired: AugmentedError<ApiType>;
468
+ /**
469
+ * The provided attribute can't be found.
470
+ **/
471
+ AttributeNotFound: AugmentedError<ApiType>;
472
+ /**
473
+ * The witness data given does not match the current state of the chain.
474
+ **/
475
+ BadWitness: AugmentedError<ApiType>;
476
+ /**
477
+ * The provided bid is too low.
478
+ **/
479
+ BidTooLow: AugmentedError<ApiType>;
480
+ /**
481
+ * Collection ID is already taken.
482
+ **/
483
+ CollectionIdInUse: AugmentedError<ApiType>;
484
+ /**
485
+ * Can't delete non-empty collections.
486
+ **/
487
+ CollectionNotEmpty: AugmentedError<ApiType>;
488
+ /**
489
+ * The deadline has already expired.
490
+ **/
491
+ DeadlineExpired: AugmentedError<ApiType>;
492
+ /**
493
+ * Item's config already exists and should be equal to the provided one.
494
+ **/
495
+ InconsistentItemConfig: AugmentedError<ApiType>;
496
+ /**
497
+ * The provided data is incorrect.
498
+ **/
499
+ IncorrectData: AugmentedError<ApiType>;
500
+ /**
501
+ * The provided metadata might be too long.
502
+ **/
503
+ IncorrectMetadata: AugmentedError<ApiType>;
504
+ /**
505
+ * The item is locked (non-transferable).
506
+ **/
507
+ ItemLocked: AugmentedError<ApiType>;
508
+ /**
509
+ * Items within that collection are non-transferable.
510
+ **/
511
+ ItemsNonTransferable: AugmentedError<ApiType>;
512
+ /**
513
+ * Collection's attributes are locked.
514
+ **/
515
+ LockedCollectionAttributes: AugmentedError<ApiType>;
516
+ /**
517
+ * Collection's metadata is locked.
518
+ **/
519
+ LockedCollectionMetadata: AugmentedError<ApiType>;
520
+ /**
521
+ * Item's attributes are locked.
522
+ **/
523
+ LockedItemAttributes: AugmentedError<ApiType>;
524
+ /**
525
+ * Item's metadata is locked.
526
+ **/
527
+ LockedItemMetadata: AugmentedError<ApiType>;
528
+ /**
529
+ * Can't set more attributes per one call.
530
+ **/
531
+ MaxAttributesLimitReached: AugmentedError<ApiType>;
532
+ /**
533
+ * The max supply is locked and can't be changed.
534
+ **/
535
+ MaxSupplyLocked: AugmentedError<ApiType>;
536
+ /**
537
+ * All items have been minted.
538
+ **/
539
+ MaxSupplyReached: AugmentedError<ApiType>;
540
+ /**
541
+ * The provided max supply is less than the number of items a collection already has.
542
+ **/
543
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
544
+ /**
545
+ * The given item has no metadata set.
546
+ **/
547
+ MetadataNotFound: AugmentedError<ApiType>;
548
+ /**
549
+ * The method is disabled by system settings.
550
+ **/
551
+ MethodDisabled: AugmentedError<ApiType>;
552
+ /**
553
+ * Mint has already ended.
554
+ **/
555
+ MintEnded: AugmentedError<ApiType>;
556
+ /**
557
+ * Mint has not started yet.
558
+ **/
559
+ MintNotStarted: AugmentedError<ApiType>;
560
+ /**
561
+ * Config for a collection or an item can't be found.
562
+ **/
563
+ NoConfig: AugmentedError<ApiType>;
564
+ /**
565
+ * The signing account has no permission to do the operation.
566
+ **/
567
+ NoPermission: AugmentedError<ApiType>;
568
+ /**
569
+ * The provided account is not a delegate.
570
+ **/
571
+ NotDelegate: AugmentedError<ApiType>;
572
+ /**
573
+ * Item is not for sale.
574
+ **/
575
+ NotForSale: AugmentedError<ApiType>;
576
+ /**
577
+ * The item has reached its approval limit.
578
+ **/
579
+ ReachedApprovalLimit: AugmentedError<ApiType>;
580
+ /**
581
+ * Some roles were not cleared.
582
+ **/
583
+ RolesNotCleared: AugmentedError<ApiType>;
584
+ /**
585
+ * The named owner has not signed ownership acceptance of the collection.
586
+ **/
587
+ Unaccepted: AugmentedError<ApiType>;
588
+ /**
589
+ * No approval exists that would allow the transfer.
590
+ **/
591
+ Unapproved: AugmentedError<ApiType>;
592
+ /**
593
+ * The given item ID is unknown.
594
+ **/
595
+ UnknownCollection: AugmentedError<ApiType>;
596
+ /**
597
+ * The given item ID is unknown.
598
+ **/
599
+ UnknownItem: AugmentedError<ApiType>;
600
+ /**
601
+ * Swap doesn't exist.
602
+ **/
603
+ UnknownSwap: AugmentedError<ApiType>;
604
+ /**
605
+ * The witness data should be provided.
606
+ **/
607
+ WitnessRequired: AugmentedError<ApiType>;
608
+ /**
609
+ * The delegate turned out to be different to what was expected.
610
+ **/
611
+ WrongDelegate: AugmentedError<ApiType>;
612
+ /**
613
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
614
+ **/
615
+ WrongDuration: AugmentedError<ApiType>;
616
+ /**
617
+ * The provided namespace isn't supported in this call.
618
+ **/
619
+ WrongNamespace: AugmentedError<ApiType>;
620
+ /**
621
+ * The extrinsic was sent by the wrong origin.
622
+ **/
623
+ WrongOrigin: AugmentedError<ApiType>;
624
+ /**
625
+ * The owner turned out to be different to what was expected.
626
+ **/
627
+ WrongOwner: AugmentedError<ApiType>;
628
+ /**
629
+ * The provided setting can't be set.
630
+ **/
631
+ WrongSetting: AugmentedError<ApiType>;
632
+ /**
633
+ * The provided signature is incorrect.
634
+ **/
635
+ WrongSignature: AugmentedError<ApiType>;
636
+ /**
637
+ * Generic error
638
+ **/
639
+ [key: string]: AugmentedError<ApiType>;
640
+ };
641
+ parachainSystem: {
642
+ /**
643
+ * The inherent which supplies the host configuration did not run this block.
644
+ **/
645
+ HostConfigurationNotAvailable: AugmentedError<ApiType>;
646
+ /**
647
+ * No code upgrade has been authorized.
648
+ **/
649
+ NothingAuthorized: AugmentedError<ApiType>;
650
+ /**
651
+ * No validation function upgrade is currently scheduled.
652
+ **/
653
+ NotScheduled: AugmentedError<ApiType>;
654
+ /**
655
+ * Attempt to upgrade validation function while existing upgrade pending.
656
+ **/
657
+ OverlappingUpgrades: AugmentedError<ApiType>;
658
+ /**
659
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
660
+ **/
661
+ ProhibitedByPolkadot: AugmentedError<ApiType>;
662
+ /**
663
+ * The supplied validation function has compiled into a blob larger than Polkadot is
664
+ * willing to run.
665
+ **/
666
+ TooBig: AugmentedError<ApiType>;
667
+ /**
668
+ * The given code upgrade has not been authorized.
669
+ **/
670
+ Unauthorized: AugmentedError<ApiType>;
671
+ /**
672
+ * The inherent which supplies the validation data did not run this block.
673
+ **/
674
+ ValidationDataNotAvailable: AugmentedError<ApiType>;
675
+ /**
676
+ * Generic error
677
+ **/
678
+ [key: string]: AugmentedError<ApiType>;
679
+ };
680
+ paymentStreams: {
681
+ /**
682
+ * Error thrown when trying to create a new dynamic-rate payment stream with amount provided 0 or update the amount provided of an existing one to 0 (should use remove_dynamic_rate_payment_stream instead)
683
+ **/
684
+ AmountProvidedCantBeZero: AugmentedError<ApiType>;
685
+ /**
686
+ * Error thrown when the system can't hold funds from the User as a deposit for creating a new payment stream
687
+ **/
688
+ CannotHoldDeposit: AugmentedError<ApiType>;
689
+ /**
690
+ * Error thrown when charging a payment stream would result in an overflow of the balance type
691
+ **/
692
+ ChargeOverflow: AugmentedError<ApiType>;
693
+ /**
694
+ * Error thrown when a user tries to clear the flag of being without funds before the cooldown period has passed
695
+ **/
696
+ CooldownPeriodNotPassed: AugmentedError<ApiType>;
697
+ /**
698
+ * Error thrown when the new last chargeable tick number that is trying to be set is greater than the current tick number or smaller than the previous last chargeable tick number
699
+ **/
700
+ InvalidLastChargeableBlockNumber: AugmentedError<ApiType>;
701
+ /**
702
+ * Error thrown when the new last chargeable price index that is trying to be set is greater than the current price index or smaller than the previous last chargeable price index
703
+ **/
704
+ InvalidLastChargeablePriceIndex: AugmentedError<ApiType>;
705
+ /**
706
+ * Error thrown when the tick number of when the payment stream was last charged is greater than the tick number of the last chargeable tick
707
+ **/
708
+ LastChargedGreaterThanLastChargeable: AugmentedError<ApiType>;
709
+ /**
710
+ * Error thrown when a user tries to charge a payment stream and it's not a registered Provider
711
+ **/
712
+ NotAProvider: AugmentedError<ApiType>;
713
+ /**
714
+ * Error thrown when a user of this pallet tries to add a payment stream that already exists.
715
+ **/
716
+ PaymentStreamAlreadyExists: AugmentedError<ApiType>;
717
+ /**
718
+ * Error thrown when a user of this pallet tries to update, remove or charge a payment stream that does not exist.
719
+ **/
720
+ PaymentStreamNotFound: AugmentedError<ApiType>;
721
+ /**
722
+ * Error thrown when failing to get the payment account of a registered Provider
723
+ **/
724
+ ProviderInconsistencyError: AugmentedError<ApiType>;
725
+ /**
726
+ * Error thrown when trying to create a new fixed-rate payment stream with rate 0 or update the rate of an existing one to 0 (should use remove_fixed_rate_payment_stream instead)
727
+ **/
728
+ RateCantBeZero: AugmentedError<ApiType>;
729
+ /**
730
+ * Error thrown when trying to update the amount provided of a dynamic-rate payment stream to the same amount as before
731
+ **/
732
+ UpdateAmountToSameAmount: AugmentedError<ApiType>;
733
+ /**
734
+ * Error thrown when trying to update the rate of a fixed-rate payment stream to the same rate as before
735
+ **/
736
+ UpdateRateToSameRate: AugmentedError<ApiType>;
737
+ /**
738
+ * Error thrown when a user that has not been flagged as without funds tries to use the extrinsic to pay its outstanding debt
739
+ **/
740
+ UserNotFlaggedAsWithoutFunds: AugmentedError<ApiType>;
741
+ /**
742
+ * Error thrown when trying to operate when the User has been flagged for not having enough funds.
743
+ **/
744
+ UserWithoutFunds: AugmentedError<ApiType>;
745
+ /**
746
+ * Generic error
747
+ **/
748
+ [key: string]: AugmentedError<ApiType>;
749
+ };
750
+ polkadotXcm: {
751
+ /**
752
+ * The given account is not an identifiable sovereign account for any location.
753
+ **/
754
+ AccountNotSovereign: AugmentedError<ApiType>;
755
+ /**
756
+ * The location is invalid since it already has a subscription from us.
757
+ **/
758
+ AlreadySubscribed: AugmentedError<ApiType>;
759
+ /**
760
+ * The given location could not be used (e.g. because it cannot be expressed in the
761
+ * desired version of XCM).
762
+ **/
763
+ BadLocation: AugmentedError<ApiType>;
764
+ /**
765
+ * The version of the `Versioned` value used is not able to be interpreted.
766
+ **/
767
+ BadVersion: AugmentedError<ApiType>;
768
+ /**
769
+ * Could not check-out the assets for teleportation to the destination chain.
770
+ **/
771
+ CannotCheckOutTeleport: AugmentedError<ApiType>;
772
+ /**
773
+ * Could not re-anchor the assets to declare the fees for the destination chain.
774
+ **/
775
+ CannotReanchor: AugmentedError<ApiType>;
776
+ /**
777
+ * The destination `Location` provided cannot be inverted.
778
+ **/
779
+ DestinationNotInvertible: AugmentedError<ApiType>;
780
+ /**
781
+ * The assets to be sent are empty.
782
+ **/
783
+ Empty: AugmentedError<ApiType>;
784
+ /**
785
+ * The operation required fees to be paid which the initiator could not meet.
786
+ **/
787
+ FeesNotMet: AugmentedError<ApiType>;
788
+ /**
789
+ * The message execution fails the filter.
790
+ **/
791
+ Filtered: AugmentedError<ApiType>;
792
+ /**
793
+ * The unlock operation cannot succeed because there are still consumers of the lock.
794
+ **/
795
+ InUse: AugmentedError<ApiType>;
796
+ /**
797
+ * Invalid asset, reserve chain could not be determined for it.
798
+ **/
799
+ InvalidAssetUnknownReserve: AugmentedError<ApiType>;
800
+ /**
801
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
802
+ **/
803
+ InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
804
+ /**
805
+ * Origin is invalid for sending.
806
+ **/
807
+ InvalidOrigin: AugmentedError<ApiType>;
808
+ /**
809
+ * Local XCM execution incomplete.
810
+ **/
811
+ LocalExecutionIncomplete: AugmentedError<ApiType>;
812
+ /**
813
+ * A remote lock with the corresponding data could not be found.
814
+ **/
815
+ LockNotFound: AugmentedError<ApiType>;
816
+ /**
817
+ * The owner does not own (all) of the asset that they wish to do the operation on.
818
+ **/
819
+ LowBalance: AugmentedError<ApiType>;
820
+ /**
821
+ * The referenced subscription could not be found.
822
+ **/
823
+ NoSubscription: AugmentedError<ApiType>;
824
+ /**
825
+ * There was some other issue (i.e. not to do with routing) in sending the message.
826
+ * Perhaps a lack of space for buffering the message.
827
+ **/
828
+ SendFailure: AugmentedError<ApiType>;
829
+ /**
830
+ * Too many assets have been attempted for transfer.
831
+ **/
832
+ TooManyAssets: AugmentedError<ApiType>;
833
+ /**
834
+ * The asset owner has too many locks on the asset.
835
+ **/
836
+ TooManyLocks: AugmentedError<ApiType>;
837
+ /**
838
+ * Too many assets with different reserve locations have been attempted for transfer.
839
+ **/
840
+ TooManyReserves: AugmentedError<ApiType>;
841
+ /**
842
+ * The desired destination was unreachable, generally because there is a no way of routing
843
+ * to it.
844
+ **/
845
+ Unreachable: AugmentedError<ApiType>;
846
+ /**
847
+ * The message's weight could not be determined.
848
+ **/
849
+ UnweighableMessage: AugmentedError<ApiType>;
850
+ /**
851
+ * Generic error
852
+ **/
853
+ [key: string]: AugmentedError<ApiType>;
854
+ };
855
+ proofsDealer: {
856
+ /**
857
+ * `challenge` extrinsic errors
858
+ * The ChallengesQueue is full. No more manual challenges can be made
859
+ * until some of the challenges in the queue are dispatched.
860
+ **/
861
+ ChallengesQueueOverflow: AugmentedError<ApiType>;
862
+ /**
863
+ * Provider is submitting a proof for a tick in the future.
864
+ **/
865
+ ChallengesTickNotReached: AugmentedError<ApiType>;
866
+ /**
867
+ * Provider is submitting a proof for a tick too late, i.e. that the challenges tick
868
+ * is greater or equal than `challenges_tick` + `T::ChallengeTicksTolerance::get()`.
869
+ **/
870
+ ChallengesTickTooLate: AugmentedError<ApiType>;
871
+ /**
872
+ * Provider is submitting a proof for a tick before the last tick this pallet registers
873
+ * challenges for.
874
+ **/
875
+ ChallengesTickTooOld: AugmentedError<ApiType>;
876
+ /**
877
+ * Checkpoint challenges not found in block.
878
+ * This should only be possible if `TickToCheckpointChallenges` is dereferenced for a tick
879
+ * that is not a checkpoint tick.
880
+ **/
881
+ CheckpointChallengesNotFound: AugmentedError<ApiType>;
882
+ /**
883
+ * `submit_proof` extrinsic errors
884
+ * There are no key proofs submitted.
885
+ **/
886
+ EmptyKeyProofs: AugmentedError<ApiType>;
887
+ /**
888
+ * Failed to apply delta to the forest proof partial trie.
889
+ **/
890
+ FailedToApplyDelta: AugmentedError<ApiType>;
891
+ /**
892
+ * Failed to update the provider after a key removal mutation.
893
+ **/
894
+ FailedToUpdateProviderAfterKeyRemoval: AugmentedError<ApiType>;
895
+ /**
896
+ * The fee for submitting a challenge could not be charged.
897
+ **/
898
+ FeeChargeFailed: AugmentedError<ApiType>;
899
+ /**
900
+ * The forest proof submitted by the Provider is invalid.
901
+ * This could be because the proof is not valid for the root, or because the proof is
902
+ * not sufficient for the challenges made.
903
+ **/
904
+ ForestProofVerificationFailed: AugmentedError<ApiType>;
905
+ /**
906
+ * There is at least one key proven in the forest proof, that does not have a corresponding
907
+ * key proof.
908
+ **/
909
+ KeyProofNotFound: AugmentedError<ApiType>;
910
+ /**
911
+ * A key proof submitted by the Provider is invalid.
912
+ * This could be because the proof is not valid for the root of that key, or because the proof
913
+ * is not sufficient for the challenges made.
914
+ **/
915
+ KeyProofVerificationFailed: AugmentedError<ApiType>;
916
+ /**
917
+ * Provider is submitting a proof but there is no record of the last tick they
918
+ * submitted a proof for.
919
+ * Providers who are required to submit proofs should always have a record of the
920
+ * last tick they submitted a proof for, otherwise it means they haven't started
921
+ * providing service for any user yet.
922
+ **/
923
+ NoRecordOfLastSubmittedProof: AugmentedError<ApiType>;
924
+ /**
925
+ * General errors
926
+ * The proof submitter is not a registered Provider.
927
+ **/
928
+ NotProvider: AugmentedError<ApiType>;
929
+ /**
930
+ * The PriorityChallengesQueue is full. No more priority challenges can be made
931
+ * until some of the challenges in the queue are dispatched.
932
+ **/
933
+ PriorityChallengesQueueOverflow: AugmentedError<ApiType>;
934
+ /**
935
+ * The root for the Provider could not be found.
936
+ **/
937
+ ProviderRootNotFound: AugmentedError<ApiType>;
938
+ /**
939
+ * The provider stake could not be found.
940
+ **/
941
+ ProviderStakeNotFound: AugmentedError<ApiType>;
942
+ /**
943
+ * The seed for the tick could not be found.
944
+ * This should not be possible for a tick within the `ChallengeHistoryLength` range, as
945
+ * seeds are generated for all ticks, and stored within this range.
946
+ **/
947
+ SeedNotFound: AugmentedError<ApiType>;
948
+ /**
949
+ * The staked balance of the Provider could not be converted to `u128`.
950
+ * This should not be possible, as the `Balance` type should be an unsigned integer type.
951
+ **/
952
+ StakeCouldNotBeConverted: AugmentedError<ApiType>;
953
+ /**
954
+ * The limit of Providers that can submit a proof in a single tick has been reached.
955
+ **/
956
+ TooManyValidProofSubmitters: AugmentedError<ApiType>;
957
+ /**
958
+ * Provider is submitting a proof when they have a zero root.
959
+ * Providers with zero roots are not providing any service, so they should not be
960
+ * submitting proofs.
961
+ **/
962
+ ZeroRoot: AugmentedError<ApiType>;
963
+ /**
964
+ * Provider is submitting a proof but their stake is zero.
965
+ **/
966
+ ZeroStake: AugmentedError<ApiType>;
967
+ /**
968
+ * Generic error
969
+ **/
970
+ [key: string]: AugmentedError<ApiType>;
971
+ };
972
+ providers: {
973
+ /**
974
+ * Error thrown when a user tries to sign up as a SP but is already registered as a MSP or BSP.
975
+ **/
976
+ AlreadyRegistered: AugmentedError<ApiType>;
977
+ /**
978
+ * Error thrown when a bucket ID could not be added to the list of buckets of a MSP.
979
+ **/
980
+ AppendBucketToMspFailed: AugmentedError<ApiType>;
981
+ /**
982
+ * Error thrown when a bucket ID already exists in storage.
983
+ **/
984
+ BucketAlreadyExists: AugmentedError<ApiType>;
985
+ /**
986
+ * Error thrown when a bucket ID is not found in storage.
987
+ **/
988
+ BucketNotFound: AugmentedError<ApiType>;
989
+ /**
990
+ * Error thrown when the runtime cannot hold the required deposit from the account to register it as a SP or change its capacity.
991
+ **/
992
+ CannotHoldDeposit: AugmentedError<ApiType>;
993
+ /**
994
+ * Error thrown when failing to decode the owner Account ID from the received metadata.
995
+ **/
996
+ InvalidEncodedAccountId: AugmentedError<ApiType>;
997
+ /**
998
+ * Error thrown when failing to decode the metadata from a received trie value that was removed.
999
+ **/
1000
+ InvalidEncodedFileMetadata: AugmentedError<ApiType>;
1001
+ /**
1002
+ * Error thrown when a user tries to sign up as a SP but any of the provided multiaddresses is invalid.
1003
+ **/
1004
+ InvalidMultiAddress: AugmentedError<ApiType>;
1005
+ /**
1006
+ * Error thrown when a user tries to change its capacity to zero (there are specific extrinsics to sign off as a SP).
1007
+ **/
1008
+ NewCapacityCantBeZero: AugmentedError<ApiType>;
1009
+ /**
1010
+ * Error thrown when a user tries to change its capacity to the same value it already has.
1011
+ **/
1012
+ NewCapacityEqualsCurrentCapacity: AugmentedError<ApiType>;
1013
+ /**
1014
+ * Error thrown when a user tries to change its capacity to less than its used storage.
1015
+ **/
1016
+ NewCapacityLessThanUsedStorage: AugmentedError<ApiType>;
1017
+ /**
1018
+ * Error thrown when a SP tries to change its capacity but the new capacity is not enough to store the used storage.
1019
+ **/
1020
+ NewUsedCapacityExceedsStorageCapacity: AugmentedError<ApiType>;
1021
+ /**
1022
+ * Error thrown when trying to get a root from a MSP without passing a Bucket ID.
1023
+ **/
1024
+ NoBucketId: AugmentedError<ApiType>;
1025
+ /**
1026
+ * Error thrown when a user tries to sign up without any multiaddress.
1027
+ **/
1028
+ NoMultiAddress: AugmentedError<ApiType>;
1029
+ /**
1030
+ * Error thrown when a user does not have enough balance to pay the deposit that it would incur by signing up as a SP or changing its capacity.
1031
+ **/
1032
+ NotEnoughBalance: AugmentedError<ApiType>;
1033
+ /**
1034
+ * Error thrown when a SP tries to change its capacity but it has not been enough time since the last time it changed it.
1035
+ **/
1036
+ NotEnoughTimePassed: AugmentedError<ApiType>;
1037
+ /**
1038
+ * Error thrown when a user tries to interact as a SP but is not registered as a MSP or BSP.
1039
+ **/
1040
+ NotRegistered: AugmentedError<ApiType>;
1041
+ /**
1042
+ * Error thrown when trying to get a root from a MSP without passing a User ID.
1043
+ **/
1044
+ NoUserId: AugmentedError<ApiType>;
1045
+ /**
1046
+ * Error thrown when trying to update a payment stream that does not exist.
1047
+ **/
1048
+ PaymentStreamNotFound: AugmentedError<ApiType>;
1049
+ /**
1050
+ * Error thrown when an attempt was made to slash an unslashable Storage Provider.
1051
+ **/
1052
+ ProviderNotSlashable: AugmentedError<ApiType>;
1053
+ /**
1054
+ * Error thrown when a user tries to confirm a sign up but the randomness is too fresh to be used yet.
1055
+ **/
1056
+ RandomnessNotValidYet: AugmentedError<ApiType>;
1057
+ /**
1058
+ * Error thrown when a user tries to confirm a sign up that was not requested previously.
1059
+ **/
1060
+ SignUpNotRequested: AugmentedError<ApiType>;
1061
+ /**
1062
+ * Error thrown when a user tries to confirm a sign up but too much time has passed since the request.
1063
+ **/
1064
+ SignUpRequestExpired: AugmentedError<ApiType>;
1065
+ /**
1066
+ * Error thrown when a user tries to request to sign up when it already has a sign up request pending.
1067
+ **/
1068
+ SignUpRequestPending: AugmentedError<ApiType>;
1069
+ /**
1070
+ * Error thrown when a user has a SP ID assigned to it but the SP data does not exist in storage (Inconsistency error).
1071
+ **/
1072
+ SpRegisteredButDataNotFound: AugmentedError<ApiType>;
1073
+ /**
1074
+ * Error thrown when a user tries to sign off as a SP but still has used storage.
1075
+ **/
1076
+ StorageStillInUse: AugmentedError<ApiType>;
1077
+ /**
1078
+ * Error thrown when a user tries to sign up or change its capacity to store less storage than the minimum required by the runtime.
1079
+ **/
1080
+ StorageTooLow: AugmentedError<ApiType>;
1081
+ /**
1082
+ * Generic error
1083
+ **/
1084
+ [key: string]: AugmentedError<ApiType>;
1085
+ };
1086
+ session: {
1087
+ /**
1088
+ * Registered duplicate key.
1089
+ **/
1090
+ DuplicatedKey: AugmentedError<ApiType>;
1091
+ /**
1092
+ * Invalid ownership proof.
1093
+ **/
1094
+ InvalidProof: AugmentedError<ApiType>;
1095
+ /**
1096
+ * Key setting account is not live, so it's impossible to associate keys.
1097
+ **/
1098
+ NoAccount: AugmentedError<ApiType>;
1099
+ /**
1100
+ * No associated validator ID for account.
1101
+ **/
1102
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
1103
+ /**
1104
+ * No keys are associated with this account.
1105
+ **/
1106
+ NoKeys: AugmentedError<ApiType>;
1107
+ /**
1108
+ * Generic error
1109
+ **/
1110
+ [key: string]: AugmentedError<ApiType>;
1111
+ };
1112
+ sudo: {
1113
+ /**
1114
+ * Sender must be the Sudo account.
1115
+ **/
1116
+ RequireSudo: AugmentedError<ApiType>;
1117
+ /**
1118
+ * Generic error
1119
+ **/
1120
+ [key: string]: AugmentedError<ApiType>;
1121
+ };
1122
+ system: {
1123
+ /**
1124
+ * The origin filter prevent the call to be dispatched.
1125
+ **/
1126
+ CallFiltered: AugmentedError<ApiType>;
1127
+ /**
1128
+ * Failed to extract the runtime version from the new runtime.
1129
+ *
1130
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1131
+ **/
1132
+ FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1133
+ /**
1134
+ * The name of specification does not match between the current runtime
1135
+ * and the new runtime.
1136
+ **/
1137
+ InvalidSpecName: AugmentedError<ApiType>;
1138
+ /**
1139
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
1140
+ **/
1141
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
1142
+ /**
1143
+ * Suicide called when the account has non-default composite data.
1144
+ **/
1145
+ NonDefaultComposite: AugmentedError<ApiType>;
1146
+ /**
1147
+ * There is a non-zero reference count preventing the account from being purged.
1148
+ **/
1149
+ NonZeroRefCount: AugmentedError<ApiType>;
1150
+ /**
1151
+ * No upgrade authorized.
1152
+ **/
1153
+ NothingAuthorized: AugmentedError<ApiType>;
1154
+ /**
1155
+ * The specification version is not allowed to decrease between the current runtime
1156
+ * and the new runtime.
1157
+ **/
1158
+ SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
1159
+ /**
1160
+ * The submitted code is not authorized.
1161
+ **/
1162
+ Unauthorized: AugmentedError<ApiType>;
1163
+ /**
1164
+ * Generic error
1165
+ **/
1166
+ [key: string]: AugmentedError<ApiType>;
1167
+ };
1168
+ xcmpQueue: {
1169
+ /**
1170
+ * The execution is already resumed.
1171
+ **/
1172
+ AlreadyResumed: AugmentedError<ApiType>;
1173
+ /**
1174
+ * The execution is already suspended.
1175
+ **/
1176
+ AlreadySuspended: AugmentedError<ApiType>;
1177
+ /**
1178
+ * Setting the queue config failed since one of its values was invalid.
1179
+ **/
1180
+ BadQueueConfig: AugmentedError<ApiType>;
1181
+ /**
1182
+ * The message is too big.
1183
+ **/
1184
+ TooBig: AugmentedError<ApiType>;
1185
+ /**
1186
+ * There are too many active outbound channels.
1187
+ **/
1188
+ TooManyActiveOutboundChannels: AugmentedError<ApiType>;
1189
+ /**
1190
+ * Generic error
1191
+ **/
1192
+ [key: string]: AugmentedError<ApiType>;
1193
+ };
1194
+ }
1195
+ }