@dedot/chaintypes 0.0.1-alpha.100

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 (105) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +5 -0
  3. package/aleph/consts.d.ts +676 -0
  4. package/aleph/errors.d.ts +1054 -0
  5. package/aleph/events.d.ts +1201 -0
  6. package/aleph/index.d.ts +27 -0
  7. package/aleph/json-rpc.d.ts +85 -0
  8. package/aleph/query.d.ts +1573 -0
  9. package/aleph/runtime.d.ts +596 -0
  10. package/aleph/tx.d.ts +3440 -0
  11. package/aleph/types.d.ts +3951 -0
  12. package/astar/consts.d.ts +737 -0
  13. package/astar/errors.d.ts +1508 -0
  14. package/astar/events.d.ts +1878 -0
  15. package/astar/index.d.ts +27 -0
  16. package/astar/json-rpc.d.ts +131 -0
  17. package/astar/query.d.ts +1851 -0
  18. package/astar/runtime.d.ts +803 -0
  19. package/astar/tx.d.ts +4516 -0
  20. package/astar/types.d.ts +6141 -0
  21. package/index.d.ts +11 -0
  22. package/index.js +1 -0
  23. package/index.ts +11 -0
  24. package/kusama/consts.d.ts +1578 -0
  25. package/kusama/errors.d.ts +3152 -0
  26. package/kusama/events.d.ts +3579 -0
  27. package/kusama/index.d.ts +27 -0
  28. package/kusama/json-rpc.d.ts +103 -0
  29. package/kusama/query.d.ts +4229 -0
  30. package/kusama/runtime.d.ts +1196 -0
  31. package/kusama/tx.d.ts +9040 -0
  32. package/kusama/types.d.ts +11369 -0
  33. package/kusamaAssetHub/consts.d.ts +759 -0
  34. package/kusamaAssetHub/errors.d.ts +1494 -0
  35. package/kusamaAssetHub/events.d.ts +2491 -0
  36. package/kusamaAssetHub/index.d.ts +27 -0
  37. package/kusamaAssetHub/json-rpc.d.ts +89 -0
  38. package/kusamaAssetHub/query.d.ts +1662 -0
  39. package/kusamaAssetHub/runtime.d.ts +555 -0
  40. package/kusamaAssetHub/tx.d.ts +6192 -0
  41. package/kusamaAssetHub/types.d.ts +6831 -0
  42. package/moonbeam/consts.d.ts +1010 -0
  43. package/moonbeam/errors.d.ts +1932 -0
  44. package/moonbeam/events.d.ts +2928 -0
  45. package/moonbeam/index.d.ts +27 -0
  46. package/moonbeam/json-rpc.d.ts +137 -0
  47. package/moonbeam/query.d.ts +2282 -0
  48. package/moonbeam/runtime.d.ts +724 -0
  49. package/moonbeam/tx.d.ts +6222 -0
  50. package/moonbeam/types.d.ts +8165 -0
  51. package/package.json +25 -0
  52. package/polkadot/consts.d.ts +1313 -0
  53. package/polkadot/errors.d.ts +2575 -0
  54. package/polkadot/events.d.ts +2757 -0
  55. package/polkadot/index.d.ts +27 -0
  56. package/polkadot/json-rpc.d.ts +103 -0
  57. package/polkadot/query.d.ts +3693 -0
  58. package/polkadot/runtime.d.ts +1196 -0
  59. package/polkadot/tx.d.ts +7706 -0
  60. package/polkadot/types.d.ts +9893 -0
  61. package/polkadotAssetHub/consts.d.ts +724 -0
  62. package/polkadotAssetHub/errors.d.ts +1465 -0
  63. package/polkadotAssetHub/events.d.ts +2462 -0
  64. package/polkadotAssetHub/index.d.ts +27 -0
  65. package/polkadotAssetHub/json-rpc.d.ts +89 -0
  66. package/polkadotAssetHub/query.d.ts +1640 -0
  67. package/polkadotAssetHub/runtime.d.ts +558 -0
  68. package/polkadotAssetHub/tx.d.ts +6121 -0
  69. package/polkadotAssetHub/types.d.ts +6739 -0
  70. package/rococo/consts.d.ts +1423 -0
  71. package/rococo/errors.d.ts +2783 -0
  72. package/rococo/events.d.ts +3361 -0
  73. package/rococo/index.d.ts +27 -0
  74. package/rococo/json-rpc.d.ts +103 -0
  75. package/rococo/query.d.ts +3561 -0
  76. package/rococo/runtime.d.ts +1257 -0
  77. package/rococo/tx.d.ts +10721 -0
  78. package/rococo/types.d.ts +14828 -0
  79. package/rococoAssetHub/consts.d.ts +787 -0
  80. package/rococoAssetHub/errors.d.ts +1523 -0
  81. package/rococoAssetHub/events.d.ts +2517 -0
  82. package/rococoAssetHub/index.d.ts +27 -0
  83. package/rococoAssetHub/json-rpc.d.ts +89 -0
  84. package/rococoAssetHub/query.d.ts +1682 -0
  85. package/rococoAssetHub/runtime.d.ts +704 -0
  86. package/rococoAssetHub/tx.d.ts +9013 -0
  87. package/rococoAssetHub/types.d.ts +12352 -0
  88. package/substrate/consts.d.ts +2223 -0
  89. package/substrate/errors.d.ts +4023 -0
  90. package/substrate/events.d.ts +5430 -0
  91. package/substrate/index.d.ts +27 -0
  92. package/substrate/json-rpc.d.ts +101 -0
  93. package/substrate/query.d.ts +4083 -0
  94. package/substrate/runtime.d.ts +971 -0
  95. package/substrate/tx.d.ts +12501 -0
  96. package/substrate/types.d.ts +13380 -0
  97. package/westendAssetHub/consts.d.ts +787 -0
  98. package/westendAssetHub/errors.d.ts +1523 -0
  99. package/westendAssetHub/events.d.ts +2477 -0
  100. package/westendAssetHub/index.d.ts +27 -0
  101. package/westendAssetHub/json-rpc.d.ts +89 -0
  102. package/westendAssetHub/query.d.ts +1656 -0
  103. package/westendAssetHub/runtime.d.ts +652 -0
  104. package/westendAssetHub/tx.d.ts +8984 -0
  105. package/westendAssetHub/types.d.ts +12292 -0
@@ -0,0 +1,2575 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainErrors, GenericPalletError, RpcVersion } from 'dedot/types';
4
+
5
+ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
10
+ /**
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError<Rv>;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
21
+
22
+ /**
23
+ * Failed to extract the runtime version from the new runtime.
24
+ *
25
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
+ **/
27
+ FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError<Rv>;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError<Rv>;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError<Rv>;
43
+
44
+ /**
45
+ * No upgrade authorized.
46
+ **/
47
+ NothingAuthorized: GenericPalletError<Rv>;
48
+
49
+ /**
50
+ * The submitted code is not authorized.
51
+ **/
52
+ Unauthorized: GenericPalletError<Rv>;
53
+
54
+ /**
55
+ * Generic pallet error
56
+ **/
57
+ [error: string]: GenericPalletError<Rv>;
58
+ };
59
+ /**
60
+ * Pallet `Scheduler`'s errors
61
+ **/
62
+ scheduler: {
63
+ /**
64
+ * Failed to schedule a call
65
+ **/
66
+ FailedToSchedule: GenericPalletError<Rv>;
67
+
68
+ /**
69
+ * Cannot find the scheduled call.
70
+ **/
71
+ NotFound: GenericPalletError<Rv>;
72
+
73
+ /**
74
+ * Given target block number is in the past.
75
+ **/
76
+ TargetBlockNumberInPast: GenericPalletError<Rv>;
77
+
78
+ /**
79
+ * Reschedule failed because it does not change scheduled time.
80
+ **/
81
+ RescheduleNoChange: GenericPalletError<Rv>;
82
+
83
+ /**
84
+ * Attempt to use a non-named function on a named task.
85
+ **/
86
+ Named: GenericPalletError<Rv>;
87
+
88
+ /**
89
+ * Generic pallet error
90
+ **/
91
+ [error: string]: GenericPalletError<Rv>;
92
+ };
93
+ /**
94
+ * Pallet `Preimage`'s errors
95
+ **/
96
+ preimage: {
97
+ /**
98
+ * Preimage is too large to store on-chain.
99
+ **/
100
+ TooBig: GenericPalletError<Rv>;
101
+
102
+ /**
103
+ * Preimage has already been noted on-chain.
104
+ **/
105
+ AlreadyNoted: GenericPalletError<Rv>;
106
+
107
+ /**
108
+ * The user is not authorized to perform this action.
109
+ **/
110
+ NotAuthorized: GenericPalletError<Rv>;
111
+
112
+ /**
113
+ * The preimage cannot be removed since it has not yet been noted.
114
+ **/
115
+ NotNoted: GenericPalletError<Rv>;
116
+
117
+ /**
118
+ * A preimage may not be removed when there are outstanding requests.
119
+ **/
120
+ Requested: GenericPalletError<Rv>;
121
+
122
+ /**
123
+ * The preimage request cannot be removed since no outstanding requests exist.
124
+ **/
125
+ NotRequested: GenericPalletError<Rv>;
126
+
127
+ /**
128
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
129
+ **/
130
+ TooMany: GenericPalletError<Rv>;
131
+
132
+ /**
133
+ * Too few hashes were requested to be upgraded (i.e. zero).
134
+ **/
135
+ TooFew: GenericPalletError<Rv>;
136
+
137
+ /**
138
+ * Generic pallet error
139
+ **/
140
+ [error: string]: GenericPalletError<Rv>;
141
+ };
142
+ /**
143
+ * Pallet `Babe`'s errors
144
+ **/
145
+ babe: {
146
+ /**
147
+ * An equivocation proof provided as part of an equivocation report is invalid.
148
+ **/
149
+ InvalidEquivocationProof: GenericPalletError<Rv>;
150
+
151
+ /**
152
+ * A key ownership proof provided as part of an equivocation report is invalid.
153
+ **/
154
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
155
+
156
+ /**
157
+ * A given equivocation report is valid but already previously reported.
158
+ **/
159
+ DuplicateOffenceReport: GenericPalletError<Rv>;
160
+
161
+ /**
162
+ * Submitted configuration is invalid.
163
+ **/
164
+ InvalidConfiguration: GenericPalletError<Rv>;
165
+
166
+ /**
167
+ * Generic pallet error
168
+ **/
169
+ [error: string]: GenericPalletError<Rv>;
170
+ };
171
+ /**
172
+ * Pallet `Indices`'s errors
173
+ **/
174
+ indices: {
175
+ /**
176
+ * The index was not already assigned.
177
+ **/
178
+ NotAssigned: GenericPalletError<Rv>;
179
+
180
+ /**
181
+ * The index is assigned to another account.
182
+ **/
183
+ NotOwner: GenericPalletError<Rv>;
184
+
185
+ /**
186
+ * The index was not available.
187
+ **/
188
+ InUse: GenericPalletError<Rv>;
189
+
190
+ /**
191
+ * The source and destination accounts are identical.
192
+ **/
193
+ NotTransfer: GenericPalletError<Rv>;
194
+
195
+ /**
196
+ * The index is permanent and may not be freed/changed.
197
+ **/
198
+ Permanent: GenericPalletError<Rv>;
199
+
200
+ /**
201
+ * Generic pallet error
202
+ **/
203
+ [error: string]: GenericPalletError<Rv>;
204
+ };
205
+ /**
206
+ * Pallet `Balances`'s errors
207
+ **/
208
+ balances: {
209
+ /**
210
+ * Vesting balance too high to send value.
211
+ **/
212
+ VestingBalance: GenericPalletError<Rv>;
213
+
214
+ /**
215
+ * Account liquidity restrictions prevent withdrawal.
216
+ **/
217
+ LiquidityRestrictions: GenericPalletError<Rv>;
218
+
219
+ /**
220
+ * Balance too low to send value.
221
+ **/
222
+ InsufficientBalance: GenericPalletError<Rv>;
223
+
224
+ /**
225
+ * Value too low to create account due to existential deposit.
226
+ **/
227
+ ExistentialDeposit: GenericPalletError<Rv>;
228
+
229
+ /**
230
+ * Transfer/payment would kill account.
231
+ **/
232
+ Expendability: GenericPalletError<Rv>;
233
+
234
+ /**
235
+ * A vesting schedule already exists for this account.
236
+ **/
237
+ ExistingVestingSchedule: GenericPalletError<Rv>;
238
+
239
+ /**
240
+ * Beneficiary account must pre-exist.
241
+ **/
242
+ DeadAccount: GenericPalletError<Rv>;
243
+
244
+ /**
245
+ * Number of named reserves exceed `MaxReserves`.
246
+ **/
247
+ TooManyReserves: GenericPalletError<Rv>;
248
+
249
+ /**
250
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
251
+ **/
252
+ TooManyHolds: GenericPalletError<Rv>;
253
+
254
+ /**
255
+ * Number of freezes exceed `MaxFreezes`.
256
+ **/
257
+ TooManyFreezes: GenericPalletError<Rv>;
258
+
259
+ /**
260
+ * The issuance cannot be modified since it is already deactivated.
261
+ **/
262
+ IssuanceDeactivated: GenericPalletError<Rv>;
263
+
264
+ /**
265
+ * The delta cannot be zero.
266
+ **/
267
+ DeltaZero: GenericPalletError<Rv>;
268
+
269
+ /**
270
+ * Generic pallet error
271
+ **/
272
+ [error: string]: GenericPalletError<Rv>;
273
+ };
274
+ /**
275
+ * Pallet `Staking`'s errors
276
+ **/
277
+ staking: {
278
+ /**
279
+ * Not a controller account.
280
+ **/
281
+ NotController: GenericPalletError<Rv>;
282
+
283
+ /**
284
+ * Not a stash account.
285
+ **/
286
+ NotStash: GenericPalletError<Rv>;
287
+
288
+ /**
289
+ * Stash is already bonded.
290
+ **/
291
+ AlreadyBonded: GenericPalletError<Rv>;
292
+
293
+ /**
294
+ * Controller is already paired.
295
+ **/
296
+ AlreadyPaired: GenericPalletError<Rv>;
297
+
298
+ /**
299
+ * Targets cannot be empty.
300
+ **/
301
+ EmptyTargets: GenericPalletError<Rv>;
302
+
303
+ /**
304
+ * Duplicate index.
305
+ **/
306
+ DuplicateIndex: GenericPalletError<Rv>;
307
+
308
+ /**
309
+ * Slash record index out of bounds.
310
+ **/
311
+ InvalidSlashIndex: GenericPalletError<Rv>;
312
+
313
+ /**
314
+ * Cannot have a validator or nominator role, with value less than the minimum defined by
315
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
316
+ * intention, `chill` first to remove one's role as validator/nominator.
317
+ **/
318
+ InsufficientBond: GenericPalletError<Rv>;
319
+
320
+ /**
321
+ * Can not schedule more unlock chunks.
322
+ **/
323
+ NoMoreChunks: GenericPalletError<Rv>;
324
+
325
+ /**
326
+ * Can not rebond without unlocking chunks.
327
+ **/
328
+ NoUnlockChunk: GenericPalletError<Rv>;
329
+
330
+ /**
331
+ * Attempting to target a stash that still has funds.
332
+ **/
333
+ FundedTarget: GenericPalletError<Rv>;
334
+
335
+ /**
336
+ * Invalid era to reward.
337
+ **/
338
+ InvalidEraToReward: GenericPalletError<Rv>;
339
+
340
+ /**
341
+ * Invalid number of nominations.
342
+ **/
343
+ InvalidNumberOfNominations: GenericPalletError<Rv>;
344
+
345
+ /**
346
+ * Items are not sorted and unique.
347
+ **/
348
+ NotSortedAndUnique: GenericPalletError<Rv>;
349
+
350
+ /**
351
+ * Rewards for this era have already been claimed for this validator.
352
+ **/
353
+ AlreadyClaimed: GenericPalletError<Rv>;
354
+
355
+ /**
356
+ * No nominators exist on this page.
357
+ **/
358
+ InvalidPage: GenericPalletError<Rv>;
359
+
360
+ /**
361
+ * Incorrect previous history depth input provided.
362
+ **/
363
+ IncorrectHistoryDepth: GenericPalletError<Rv>;
364
+
365
+ /**
366
+ * Incorrect number of slashing spans provided.
367
+ **/
368
+ IncorrectSlashingSpans: GenericPalletError<Rv>;
369
+
370
+ /**
371
+ * Internal state has become somehow corrupted and the operation cannot continue.
372
+ **/
373
+ BadState: GenericPalletError<Rv>;
374
+
375
+ /**
376
+ * Too many nomination targets supplied.
377
+ **/
378
+ TooManyTargets: GenericPalletError<Rv>;
379
+
380
+ /**
381
+ * A nomination target was supplied that was blocked or otherwise not a validator.
382
+ **/
383
+ BadTarget: GenericPalletError<Rv>;
384
+
385
+ /**
386
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
387
+ **/
388
+ CannotChillOther: GenericPalletError<Rv>;
389
+
390
+ /**
391
+ * There are too many nominators in the system. Governance needs to adjust the staking
392
+ * settings to keep things safe for the runtime.
393
+ **/
394
+ TooManyNominators: GenericPalletError<Rv>;
395
+
396
+ /**
397
+ * There are too many validator candidates in the system. Governance needs to adjust the
398
+ * staking settings to keep things safe for the runtime.
399
+ **/
400
+ TooManyValidators: GenericPalletError<Rv>;
401
+
402
+ /**
403
+ * Commission is too low. Must be at least `MinCommission`.
404
+ **/
405
+ CommissionTooLow: GenericPalletError<Rv>;
406
+
407
+ /**
408
+ * Some bound is not met.
409
+ **/
410
+ BoundNotMet: GenericPalletError<Rv>;
411
+
412
+ /**
413
+ * Used when attempting to use deprecated controller account logic.
414
+ **/
415
+ ControllerDeprecated: GenericPalletError<Rv>;
416
+
417
+ /**
418
+ * Cannot reset a ledger.
419
+ **/
420
+ CannotRestoreLedger: GenericPalletError<Rv>;
421
+
422
+ /**
423
+ * Generic pallet error
424
+ **/
425
+ [error: string]: GenericPalletError<Rv>;
426
+ };
427
+ /**
428
+ * Pallet `Session`'s errors
429
+ **/
430
+ session: {
431
+ /**
432
+ * Invalid ownership proof.
433
+ **/
434
+ InvalidProof: GenericPalletError<Rv>;
435
+
436
+ /**
437
+ * No associated validator ID for account.
438
+ **/
439
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
440
+
441
+ /**
442
+ * Registered duplicate key.
443
+ **/
444
+ DuplicatedKey: GenericPalletError<Rv>;
445
+
446
+ /**
447
+ * No keys are associated with this account.
448
+ **/
449
+ NoKeys: GenericPalletError<Rv>;
450
+
451
+ /**
452
+ * Key setting account is not live, so it's impossible to associate keys.
453
+ **/
454
+ NoAccount: GenericPalletError<Rv>;
455
+
456
+ /**
457
+ * Generic pallet error
458
+ **/
459
+ [error: string]: GenericPalletError<Rv>;
460
+ };
461
+ /**
462
+ * Pallet `Grandpa`'s errors
463
+ **/
464
+ grandpa: {
465
+ /**
466
+ * Attempt to signal GRANDPA pause when the authority set isn't live
467
+ * (either paused or already pending pause).
468
+ **/
469
+ PauseFailed: GenericPalletError<Rv>;
470
+
471
+ /**
472
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
473
+ * (either live or already pending resume).
474
+ **/
475
+ ResumeFailed: GenericPalletError<Rv>;
476
+
477
+ /**
478
+ * Attempt to signal GRANDPA change with one already pending.
479
+ **/
480
+ ChangePending: GenericPalletError<Rv>;
481
+
482
+ /**
483
+ * Cannot signal forced change so soon after last.
484
+ **/
485
+ TooSoon: GenericPalletError<Rv>;
486
+
487
+ /**
488
+ * A key ownership proof provided as part of an equivocation report is invalid.
489
+ **/
490
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
491
+
492
+ /**
493
+ * An equivocation proof provided as part of an equivocation report is invalid.
494
+ **/
495
+ InvalidEquivocationProof: GenericPalletError<Rv>;
496
+
497
+ /**
498
+ * A given equivocation report is valid but already previously reported.
499
+ **/
500
+ DuplicateOffenceReport: GenericPalletError<Rv>;
501
+
502
+ /**
503
+ * Generic pallet error
504
+ **/
505
+ [error: string]: GenericPalletError<Rv>;
506
+ };
507
+ /**
508
+ * Pallet `Treasury`'s errors
509
+ **/
510
+ treasury: {
511
+ /**
512
+ * Proposer's balance is too low.
513
+ **/
514
+ InsufficientProposersBalance: GenericPalletError<Rv>;
515
+
516
+ /**
517
+ * No proposal, bounty or spend at that index.
518
+ **/
519
+ InvalidIndex: GenericPalletError<Rv>;
520
+
521
+ /**
522
+ * Too many approvals in the queue.
523
+ **/
524
+ TooManyApprovals: GenericPalletError<Rv>;
525
+
526
+ /**
527
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
528
+ * amount to be spent.
529
+ **/
530
+ InsufficientPermission: GenericPalletError<Rv>;
531
+
532
+ /**
533
+ * Proposal has not been approved.
534
+ **/
535
+ ProposalNotApproved: GenericPalletError<Rv>;
536
+
537
+ /**
538
+ * The balance of the asset kind is not convertible to the balance of the native asset.
539
+ **/
540
+ FailedToConvertBalance: GenericPalletError<Rv>;
541
+
542
+ /**
543
+ * The spend has expired and cannot be claimed.
544
+ **/
545
+ SpendExpired: GenericPalletError<Rv>;
546
+
547
+ /**
548
+ * The spend is not yet eligible for payout.
549
+ **/
550
+ EarlyPayout: GenericPalletError<Rv>;
551
+
552
+ /**
553
+ * The payment has already been attempted.
554
+ **/
555
+ AlreadyAttempted: GenericPalletError<Rv>;
556
+
557
+ /**
558
+ * There was some issue with the mechanism of payment.
559
+ **/
560
+ PayoutError: GenericPalletError<Rv>;
561
+
562
+ /**
563
+ * The payout was not yet attempted/claimed.
564
+ **/
565
+ NotAttempted: GenericPalletError<Rv>;
566
+
567
+ /**
568
+ * The payment has neither failed nor succeeded yet.
569
+ **/
570
+ Inconclusive: GenericPalletError<Rv>;
571
+
572
+ /**
573
+ * Generic pallet error
574
+ **/
575
+ [error: string]: GenericPalletError<Rv>;
576
+ };
577
+ /**
578
+ * Pallet `ConvictionVoting`'s errors
579
+ **/
580
+ convictionVoting: {
581
+ /**
582
+ * Poll is not ongoing.
583
+ **/
584
+ NotOngoing: GenericPalletError<Rv>;
585
+
586
+ /**
587
+ * The given account did not vote on the poll.
588
+ **/
589
+ NotVoter: GenericPalletError<Rv>;
590
+
591
+ /**
592
+ * The actor has no permission to conduct the action.
593
+ **/
594
+ NoPermission: GenericPalletError<Rv>;
595
+
596
+ /**
597
+ * The actor has no permission to conduct the action right now but will do in the future.
598
+ **/
599
+ NoPermissionYet: GenericPalletError<Rv>;
600
+
601
+ /**
602
+ * The account is already delegating.
603
+ **/
604
+ AlreadyDelegating: GenericPalletError<Rv>;
605
+
606
+ /**
607
+ * The account currently has votes attached to it and the operation cannot succeed until
608
+ * these are removed, either through `unvote` or `reap_vote`.
609
+ **/
610
+ AlreadyVoting: GenericPalletError<Rv>;
611
+
612
+ /**
613
+ * Too high a balance was provided that the account cannot afford.
614
+ **/
615
+ InsufficientFunds: GenericPalletError<Rv>;
616
+
617
+ /**
618
+ * The account is not currently delegating.
619
+ **/
620
+ NotDelegating: GenericPalletError<Rv>;
621
+
622
+ /**
623
+ * Delegation to oneself makes no sense.
624
+ **/
625
+ Nonsense: GenericPalletError<Rv>;
626
+
627
+ /**
628
+ * Maximum number of votes reached.
629
+ **/
630
+ MaxVotesReached: GenericPalletError<Rv>;
631
+
632
+ /**
633
+ * The class must be supplied since it is not easily determinable from the state.
634
+ **/
635
+ ClassNeeded: GenericPalletError<Rv>;
636
+
637
+ /**
638
+ * The class ID supplied is invalid.
639
+ **/
640
+ BadClass: GenericPalletError<Rv>;
641
+
642
+ /**
643
+ * Generic pallet error
644
+ **/
645
+ [error: string]: GenericPalletError<Rv>;
646
+ };
647
+ /**
648
+ * Pallet `Referenda`'s errors
649
+ **/
650
+ referenda: {
651
+ /**
652
+ * Referendum is not ongoing.
653
+ **/
654
+ NotOngoing: GenericPalletError<Rv>;
655
+
656
+ /**
657
+ * Referendum's decision deposit is already paid.
658
+ **/
659
+ HasDeposit: GenericPalletError<Rv>;
660
+
661
+ /**
662
+ * The track identifier given was invalid.
663
+ **/
664
+ BadTrack: GenericPalletError<Rv>;
665
+
666
+ /**
667
+ * There are already a full complement of referenda in progress for this track.
668
+ **/
669
+ Full: GenericPalletError<Rv>;
670
+
671
+ /**
672
+ * The queue of the track is empty.
673
+ **/
674
+ QueueEmpty: GenericPalletError<Rv>;
675
+
676
+ /**
677
+ * The referendum index provided is invalid in this context.
678
+ **/
679
+ BadReferendum: GenericPalletError<Rv>;
680
+
681
+ /**
682
+ * There was nothing to do in the advancement.
683
+ **/
684
+ NothingToDo: GenericPalletError<Rv>;
685
+
686
+ /**
687
+ * No track exists for the proposal origin.
688
+ **/
689
+ NoTrack: GenericPalletError<Rv>;
690
+
691
+ /**
692
+ * Any deposit cannot be refunded until after the decision is over.
693
+ **/
694
+ Unfinished: GenericPalletError<Rv>;
695
+
696
+ /**
697
+ * The deposit refunder is not the depositor.
698
+ **/
699
+ NoPermission: GenericPalletError<Rv>;
700
+
701
+ /**
702
+ * The deposit cannot be refunded since none was made.
703
+ **/
704
+ NoDeposit: GenericPalletError<Rv>;
705
+
706
+ /**
707
+ * The referendum status is invalid for this operation.
708
+ **/
709
+ BadStatus: GenericPalletError<Rv>;
710
+
711
+ /**
712
+ * The preimage does not exist.
713
+ **/
714
+ PreimageNotExist: GenericPalletError<Rv>;
715
+
716
+ /**
717
+ * Generic pallet error
718
+ **/
719
+ [error: string]: GenericPalletError<Rv>;
720
+ };
721
+ /**
722
+ * Pallet `Whitelist`'s errors
723
+ **/
724
+ whitelist: {
725
+ /**
726
+ * The preimage of the call hash could not be loaded.
727
+ **/
728
+ UnavailablePreImage: GenericPalletError<Rv>;
729
+
730
+ /**
731
+ * The call could not be decoded.
732
+ **/
733
+ UndecodableCall: GenericPalletError<Rv>;
734
+
735
+ /**
736
+ * The weight of the decoded call was higher than the witness.
737
+ **/
738
+ InvalidCallWeightWitness: GenericPalletError<Rv>;
739
+
740
+ /**
741
+ * The call was not whitelisted.
742
+ **/
743
+ CallIsNotWhitelisted: GenericPalletError<Rv>;
744
+
745
+ /**
746
+ * The call was already whitelisted; No-Op.
747
+ **/
748
+ CallAlreadyWhitelisted: GenericPalletError<Rv>;
749
+
750
+ /**
751
+ * Generic pallet error
752
+ **/
753
+ [error: string]: GenericPalletError<Rv>;
754
+ };
755
+ /**
756
+ * Pallet `Claims`'s errors
757
+ **/
758
+ claims: {
759
+ /**
760
+ * Invalid Ethereum signature.
761
+ **/
762
+ InvalidEthereumSignature: GenericPalletError<Rv>;
763
+
764
+ /**
765
+ * Ethereum address has no claim.
766
+ **/
767
+ SignerHasNoClaim: GenericPalletError<Rv>;
768
+
769
+ /**
770
+ * Account ID sending transaction has no claim.
771
+ **/
772
+ SenderHasNoClaim: GenericPalletError<Rv>;
773
+
774
+ /**
775
+ * There's not enough in the pot to pay out some unvested amount. Generally implies a
776
+ * logic error.
777
+ **/
778
+ PotUnderflow: GenericPalletError<Rv>;
779
+
780
+ /**
781
+ * A needed statement was not included.
782
+ **/
783
+ InvalidStatement: GenericPalletError<Rv>;
784
+
785
+ /**
786
+ * The account already has a vested balance.
787
+ **/
788
+ VestedBalanceExists: GenericPalletError<Rv>;
789
+
790
+ /**
791
+ * Generic pallet error
792
+ **/
793
+ [error: string]: GenericPalletError<Rv>;
794
+ };
795
+ /**
796
+ * Pallet `Vesting`'s errors
797
+ **/
798
+ vesting: {
799
+ /**
800
+ * The account given is not vesting.
801
+ **/
802
+ NotVesting: GenericPalletError<Rv>;
803
+
804
+ /**
805
+ * The account already has `MaxVestingSchedules` count of schedules and thus
806
+ * cannot add another one. Consider merging existing schedules in order to add another.
807
+ **/
808
+ AtMaxVestingSchedules: GenericPalletError<Rv>;
809
+
810
+ /**
811
+ * Amount being transferred is too low to create a vesting schedule.
812
+ **/
813
+ AmountLow: GenericPalletError<Rv>;
814
+
815
+ /**
816
+ * An index was out of bounds of the vesting schedules.
817
+ **/
818
+ ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
819
+
820
+ /**
821
+ * Failed to create a new schedule because some parameter was invalid.
822
+ **/
823
+ InvalidScheduleParams: GenericPalletError<Rv>;
824
+
825
+ /**
826
+ * Generic pallet error
827
+ **/
828
+ [error: string]: GenericPalletError<Rv>;
829
+ };
830
+ /**
831
+ * Pallet `Utility`'s errors
832
+ **/
833
+ utility: {
834
+ /**
835
+ * Too many calls batched.
836
+ **/
837
+ TooManyCalls: GenericPalletError<Rv>;
838
+
839
+ /**
840
+ * Generic pallet error
841
+ **/
842
+ [error: string]: GenericPalletError<Rv>;
843
+ };
844
+ /**
845
+ * Pallet `Identity`'s errors
846
+ **/
847
+ identity: {
848
+ /**
849
+ * Too many subs-accounts.
850
+ **/
851
+ TooManySubAccounts: GenericPalletError<Rv>;
852
+
853
+ /**
854
+ * Account isn't found.
855
+ **/
856
+ NotFound: GenericPalletError<Rv>;
857
+
858
+ /**
859
+ * Account isn't named.
860
+ **/
861
+ NotNamed: GenericPalletError<Rv>;
862
+
863
+ /**
864
+ * Empty index.
865
+ **/
866
+ EmptyIndex: GenericPalletError<Rv>;
867
+
868
+ /**
869
+ * Fee is changed.
870
+ **/
871
+ FeeChanged: GenericPalletError<Rv>;
872
+
873
+ /**
874
+ * No identity found.
875
+ **/
876
+ NoIdentity: GenericPalletError<Rv>;
877
+
878
+ /**
879
+ * Sticky judgement.
880
+ **/
881
+ StickyJudgement: GenericPalletError<Rv>;
882
+
883
+ /**
884
+ * Judgement given.
885
+ **/
886
+ JudgementGiven: GenericPalletError<Rv>;
887
+
888
+ /**
889
+ * Invalid judgement.
890
+ **/
891
+ InvalidJudgement: GenericPalletError<Rv>;
892
+
893
+ /**
894
+ * The index is invalid.
895
+ **/
896
+ InvalidIndex: GenericPalletError<Rv>;
897
+
898
+ /**
899
+ * The target is invalid.
900
+ **/
901
+ InvalidTarget: GenericPalletError<Rv>;
902
+
903
+ /**
904
+ * Maximum amount of registrars reached. Cannot add any more.
905
+ **/
906
+ TooManyRegistrars: GenericPalletError<Rv>;
907
+
908
+ /**
909
+ * Account ID is already named.
910
+ **/
911
+ AlreadyClaimed: GenericPalletError<Rv>;
912
+
913
+ /**
914
+ * Sender is not a sub-account.
915
+ **/
916
+ NotSub: GenericPalletError<Rv>;
917
+
918
+ /**
919
+ * Sub-account isn't owned by sender.
920
+ **/
921
+ NotOwned: GenericPalletError<Rv>;
922
+
923
+ /**
924
+ * The provided judgement was for a different identity.
925
+ **/
926
+ JudgementForDifferentIdentity: GenericPalletError<Rv>;
927
+
928
+ /**
929
+ * Error that occurs when there is an issue paying for judgement.
930
+ **/
931
+ JudgementPaymentFailed: GenericPalletError<Rv>;
932
+
933
+ /**
934
+ * The provided suffix is too long.
935
+ **/
936
+ InvalidSuffix: GenericPalletError<Rv>;
937
+
938
+ /**
939
+ * The sender does not have permission to issue a username.
940
+ **/
941
+ NotUsernameAuthority: GenericPalletError<Rv>;
942
+
943
+ /**
944
+ * The authority cannot allocate any more usernames.
945
+ **/
946
+ NoAllocation: GenericPalletError<Rv>;
947
+
948
+ /**
949
+ * The signature on a username was not valid.
950
+ **/
951
+ InvalidSignature: GenericPalletError<Rv>;
952
+
953
+ /**
954
+ * Setting this username requires a signature, but none was provided.
955
+ **/
956
+ RequiresSignature: GenericPalletError<Rv>;
957
+
958
+ /**
959
+ * The username does not meet the requirements.
960
+ **/
961
+ InvalidUsername: GenericPalletError<Rv>;
962
+
963
+ /**
964
+ * The username is already taken.
965
+ **/
966
+ UsernameTaken: GenericPalletError<Rv>;
967
+
968
+ /**
969
+ * The requested username does not exist.
970
+ **/
971
+ NoUsername: GenericPalletError<Rv>;
972
+
973
+ /**
974
+ * The username cannot be forcefully removed because it can still be accepted.
975
+ **/
976
+ NotExpired: GenericPalletError<Rv>;
977
+
978
+ /**
979
+ * Generic pallet error
980
+ **/
981
+ [error: string]: GenericPalletError<Rv>;
982
+ };
983
+ /**
984
+ * Pallet `Proxy`'s errors
985
+ **/
986
+ proxy: {
987
+ /**
988
+ * There are too many proxies registered or too many announcements pending.
989
+ **/
990
+ TooMany: GenericPalletError<Rv>;
991
+
992
+ /**
993
+ * Proxy registration not found.
994
+ **/
995
+ NotFound: GenericPalletError<Rv>;
996
+
997
+ /**
998
+ * Sender is not a proxy of the account to be proxied.
999
+ **/
1000
+ NotProxy: GenericPalletError<Rv>;
1001
+
1002
+ /**
1003
+ * A call which is incompatible with the proxy type's filter was attempted.
1004
+ **/
1005
+ Unproxyable: GenericPalletError<Rv>;
1006
+
1007
+ /**
1008
+ * Account is already a proxy.
1009
+ **/
1010
+ Duplicate: GenericPalletError<Rv>;
1011
+
1012
+ /**
1013
+ * Call may not be made by proxy because it may escalate its privileges.
1014
+ **/
1015
+ NoPermission: GenericPalletError<Rv>;
1016
+
1017
+ /**
1018
+ * Announcement, if made at all, was made too recently.
1019
+ **/
1020
+ Unannounced: GenericPalletError<Rv>;
1021
+
1022
+ /**
1023
+ * Cannot add self as proxy.
1024
+ **/
1025
+ NoSelfProxy: GenericPalletError<Rv>;
1026
+
1027
+ /**
1028
+ * Generic pallet error
1029
+ **/
1030
+ [error: string]: GenericPalletError<Rv>;
1031
+ };
1032
+ /**
1033
+ * Pallet `Multisig`'s errors
1034
+ **/
1035
+ multisig: {
1036
+ /**
1037
+ * Threshold must be 2 or greater.
1038
+ **/
1039
+ MinimumThreshold: GenericPalletError<Rv>;
1040
+
1041
+ /**
1042
+ * Call is already approved by this signatory.
1043
+ **/
1044
+ AlreadyApproved: GenericPalletError<Rv>;
1045
+
1046
+ /**
1047
+ * Call doesn't need any (more) approvals.
1048
+ **/
1049
+ NoApprovalsNeeded: GenericPalletError<Rv>;
1050
+
1051
+ /**
1052
+ * There are too few signatories in the list.
1053
+ **/
1054
+ TooFewSignatories: GenericPalletError<Rv>;
1055
+
1056
+ /**
1057
+ * There are too many signatories in the list.
1058
+ **/
1059
+ TooManySignatories: GenericPalletError<Rv>;
1060
+
1061
+ /**
1062
+ * The signatories were provided out of order; they should be ordered.
1063
+ **/
1064
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
1065
+
1066
+ /**
1067
+ * The sender was contained in the other signatories; it shouldn't be.
1068
+ **/
1069
+ SenderInSignatories: GenericPalletError<Rv>;
1070
+
1071
+ /**
1072
+ * Multisig operation not found when attempting to cancel.
1073
+ **/
1074
+ NotFound: GenericPalletError<Rv>;
1075
+
1076
+ /**
1077
+ * Only the account that originally created the multisig is able to cancel it.
1078
+ **/
1079
+ NotOwner: GenericPalletError<Rv>;
1080
+
1081
+ /**
1082
+ * No timepoint was given, yet the multisig operation is already underway.
1083
+ **/
1084
+ NoTimepoint: GenericPalletError<Rv>;
1085
+
1086
+ /**
1087
+ * A different timepoint was given to the multisig operation that is underway.
1088
+ **/
1089
+ WrongTimepoint: GenericPalletError<Rv>;
1090
+
1091
+ /**
1092
+ * A timepoint was given, yet no multisig operation is underway.
1093
+ **/
1094
+ UnexpectedTimepoint: GenericPalletError<Rv>;
1095
+
1096
+ /**
1097
+ * The maximum weight information provided was too low.
1098
+ **/
1099
+ MaxWeightTooLow: GenericPalletError<Rv>;
1100
+
1101
+ /**
1102
+ * The data to be stored is already stored.
1103
+ **/
1104
+ AlreadyStored: GenericPalletError<Rv>;
1105
+
1106
+ /**
1107
+ * Generic pallet error
1108
+ **/
1109
+ [error: string]: GenericPalletError<Rv>;
1110
+ };
1111
+ /**
1112
+ * Pallet `Bounties`'s errors
1113
+ **/
1114
+ bounties: {
1115
+ /**
1116
+ * Proposer's balance is too low.
1117
+ **/
1118
+ InsufficientProposersBalance: GenericPalletError<Rv>;
1119
+
1120
+ /**
1121
+ * No proposal or bounty at that index.
1122
+ **/
1123
+ InvalidIndex: GenericPalletError<Rv>;
1124
+
1125
+ /**
1126
+ * The reason given is just too big.
1127
+ **/
1128
+ ReasonTooBig: GenericPalletError<Rv>;
1129
+
1130
+ /**
1131
+ * The bounty status is unexpected.
1132
+ **/
1133
+ UnexpectedStatus: GenericPalletError<Rv>;
1134
+
1135
+ /**
1136
+ * Require bounty curator.
1137
+ **/
1138
+ RequireCurator: GenericPalletError<Rv>;
1139
+
1140
+ /**
1141
+ * Invalid bounty value.
1142
+ **/
1143
+ InvalidValue: GenericPalletError<Rv>;
1144
+
1145
+ /**
1146
+ * Invalid bounty fee.
1147
+ **/
1148
+ InvalidFee: GenericPalletError<Rv>;
1149
+
1150
+ /**
1151
+ * A bounty payout is pending.
1152
+ * To cancel the bounty, you must unassign and slash the curator.
1153
+ **/
1154
+ PendingPayout: GenericPalletError<Rv>;
1155
+
1156
+ /**
1157
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
1158
+ **/
1159
+ Premature: GenericPalletError<Rv>;
1160
+
1161
+ /**
1162
+ * The bounty cannot be closed because it has active child bounties.
1163
+ **/
1164
+ HasActiveChildBounty: GenericPalletError<Rv>;
1165
+
1166
+ /**
1167
+ * Too many approvals are already queued.
1168
+ **/
1169
+ TooManyQueued: GenericPalletError<Rv>;
1170
+
1171
+ /**
1172
+ * Generic pallet error
1173
+ **/
1174
+ [error: string]: GenericPalletError<Rv>;
1175
+ };
1176
+ /**
1177
+ * Pallet `ChildBounties`'s errors
1178
+ **/
1179
+ childBounties: {
1180
+ /**
1181
+ * The parent bounty is not in active state.
1182
+ **/
1183
+ ParentBountyNotActive: GenericPalletError<Rv>;
1184
+
1185
+ /**
1186
+ * The bounty balance is not enough to add new child-bounty.
1187
+ **/
1188
+ InsufficientBountyBalance: GenericPalletError<Rv>;
1189
+
1190
+ /**
1191
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
1192
+ **/
1193
+ TooManyChildBounties: GenericPalletError<Rv>;
1194
+
1195
+ /**
1196
+ * Generic pallet error
1197
+ **/
1198
+ [error: string]: GenericPalletError<Rv>;
1199
+ };
1200
+ /**
1201
+ * Pallet `ElectionProviderMultiPhase`'s errors
1202
+ **/
1203
+ electionProviderMultiPhase: {
1204
+ /**
1205
+ * Submission was too early.
1206
+ **/
1207
+ PreDispatchEarlySubmission: GenericPalletError<Rv>;
1208
+
1209
+ /**
1210
+ * Wrong number of winners presented.
1211
+ **/
1212
+ PreDispatchWrongWinnerCount: GenericPalletError<Rv>;
1213
+
1214
+ /**
1215
+ * Submission was too weak, score-wise.
1216
+ **/
1217
+ PreDispatchWeakSubmission: GenericPalletError<Rv>;
1218
+
1219
+ /**
1220
+ * The queue was full, and the solution was not better than any of the existing ones.
1221
+ **/
1222
+ SignedQueueFull: GenericPalletError<Rv>;
1223
+
1224
+ /**
1225
+ * The origin failed to pay the deposit.
1226
+ **/
1227
+ SignedCannotPayDeposit: GenericPalletError<Rv>;
1228
+
1229
+ /**
1230
+ * Witness data to dispatchable is invalid.
1231
+ **/
1232
+ SignedInvalidWitness: GenericPalletError<Rv>;
1233
+
1234
+ /**
1235
+ * The signed submission consumes too much weight
1236
+ **/
1237
+ SignedTooMuchWeight: GenericPalletError<Rv>;
1238
+
1239
+ /**
1240
+ * OCW submitted solution for wrong round
1241
+ **/
1242
+ OcwCallWrongEra: GenericPalletError<Rv>;
1243
+
1244
+ /**
1245
+ * Snapshot metadata should exist but didn't.
1246
+ **/
1247
+ MissingSnapshotMetadata: GenericPalletError<Rv>;
1248
+
1249
+ /**
1250
+ * `Self::insert_submission` returned an invalid index.
1251
+ **/
1252
+ InvalidSubmissionIndex: GenericPalletError<Rv>;
1253
+
1254
+ /**
1255
+ * The call is not allowed at this point.
1256
+ **/
1257
+ CallNotAllowed: GenericPalletError<Rv>;
1258
+
1259
+ /**
1260
+ * The fallback failed
1261
+ **/
1262
+ FallbackFailed: GenericPalletError<Rv>;
1263
+
1264
+ /**
1265
+ * Some bound not met
1266
+ **/
1267
+ BoundNotMet: GenericPalletError<Rv>;
1268
+
1269
+ /**
1270
+ * Submitted solution has too many winners
1271
+ **/
1272
+ TooManyWinners: GenericPalletError<Rv>;
1273
+
1274
+ /**
1275
+ * Sumission was prepared for a different round.
1276
+ **/
1277
+ PreDispatchDifferentRound: GenericPalletError<Rv>;
1278
+
1279
+ /**
1280
+ * Generic pallet error
1281
+ **/
1282
+ [error: string]: GenericPalletError<Rv>;
1283
+ };
1284
+ /**
1285
+ * Pallet `VoterList`'s errors
1286
+ **/
1287
+ voterList: {
1288
+ /**
1289
+ * A error in the list interface implementation.
1290
+ **/
1291
+ List: GenericPalletError<Rv>;
1292
+
1293
+ /**
1294
+ * Generic pallet error
1295
+ **/
1296
+ [error: string]: GenericPalletError<Rv>;
1297
+ };
1298
+ /**
1299
+ * Pallet `NominationPools`'s errors
1300
+ **/
1301
+ nominationPools: {
1302
+ /**
1303
+ * A (bonded) pool id does not exist.
1304
+ **/
1305
+ PoolNotFound: GenericPalletError<Rv>;
1306
+
1307
+ /**
1308
+ * An account is not a member.
1309
+ **/
1310
+ PoolMemberNotFound: GenericPalletError<Rv>;
1311
+
1312
+ /**
1313
+ * A reward pool does not exist. In all cases this is a system logic error.
1314
+ **/
1315
+ RewardPoolNotFound: GenericPalletError<Rv>;
1316
+
1317
+ /**
1318
+ * A sub pool does not exist.
1319
+ **/
1320
+ SubPoolsNotFound: GenericPalletError<Rv>;
1321
+
1322
+ /**
1323
+ * An account is already delegating in another pool. An account may only belong to one
1324
+ * pool at a time.
1325
+ **/
1326
+ AccountBelongsToOtherPool: GenericPalletError<Rv>;
1327
+
1328
+ /**
1329
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
1330
+ * anymore to, for example, collect rewards).
1331
+ **/
1332
+ FullyUnbonding: GenericPalletError<Rv>;
1333
+
1334
+ /**
1335
+ * The member cannot unbond further chunks due to reaching the limit.
1336
+ **/
1337
+ MaxUnbondingLimit: GenericPalletError<Rv>;
1338
+
1339
+ /**
1340
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
1341
+ **/
1342
+ CannotWithdrawAny: GenericPalletError<Rv>;
1343
+
1344
+ /**
1345
+ * The amount does not meet the minimum bond to either join or create a pool.
1346
+ *
1347
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
1348
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
1349
+ * value below `MinJoinBond`.
1350
+ **/
1351
+ MinimumBondNotMet: GenericPalletError<Rv>;
1352
+
1353
+ /**
1354
+ * The transaction could not be executed due to overflow risk for the pool.
1355
+ **/
1356
+ OverflowRisk: GenericPalletError<Rv>;
1357
+
1358
+ /**
1359
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1360
+ * other members to be permissionlessly unbonded.
1361
+ **/
1362
+ NotDestroying: GenericPalletError<Rv>;
1363
+
1364
+ /**
1365
+ * The caller does not have nominating permissions for the pool.
1366
+ **/
1367
+ NotNominator: GenericPalletError<Rv>;
1368
+
1369
+ /**
1370
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1371
+ **/
1372
+ NotKickerOrDestroying: GenericPalletError<Rv>;
1373
+
1374
+ /**
1375
+ * The pool is not open to join
1376
+ **/
1377
+ NotOpen: GenericPalletError<Rv>;
1378
+
1379
+ /**
1380
+ * The system is maxed out on pools.
1381
+ **/
1382
+ MaxPools: GenericPalletError<Rv>;
1383
+
1384
+ /**
1385
+ * Too many members in the pool or system.
1386
+ **/
1387
+ MaxPoolMembers: GenericPalletError<Rv>;
1388
+
1389
+ /**
1390
+ * The pools state cannot be changed.
1391
+ **/
1392
+ CanNotChangeState: GenericPalletError<Rv>;
1393
+
1394
+ /**
1395
+ * The caller does not have adequate permissions.
1396
+ **/
1397
+ DoesNotHavePermission: GenericPalletError<Rv>;
1398
+
1399
+ /**
1400
+ * Metadata exceeds [`Config::MaxMetadataLen`]
1401
+ **/
1402
+ MetadataExceedsMaxLen: GenericPalletError<Rv>;
1403
+
1404
+ /**
1405
+ * Some error occurred that should never happen. This should be reported to the
1406
+ * maintainers.
1407
+ **/
1408
+ Defensive: GenericPalletError<Rv>;
1409
+
1410
+ /**
1411
+ * Partial unbonding now allowed permissionlessly.
1412
+ **/
1413
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
1414
+
1415
+ /**
1416
+ * The pool's max commission cannot be set higher than the existing value.
1417
+ **/
1418
+ MaxCommissionRestricted: GenericPalletError<Rv>;
1419
+
1420
+ /**
1421
+ * The supplied commission exceeds the max allowed commission.
1422
+ **/
1423
+ CommissionExceedsMaximum: GenericPalletError<Rv>;
1424
+
1425
+ /**
1426
+ * The supplied commission exceeds global maximum commission.
1427
+ **/
1428
+ CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
1429
+
1430
+ /**
1431
+ * Not enough blocks have surpassed since the last commission update.
1432
+ **/
1433
+ CommissionChangeThrottled: GenericPalletError<Rv>;
1434
+
1435
+ /**
1436
+ * The submitted changes to commission change rate are not allowed.
1437
+ **/
1438
+ CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
1439
+
1440
+ /**
1441
+ * There is no pending commission to claim.
1442
+ **/
1443
+ NoPendingCommission: GenericPalletError<Rv>;
1444
+
1445
+ /**
1446
+ * No commission current has been set.
1447
+ **/
1448
+ NoCommissionCurrentSet: GenericPalletError<Rv>;
1449
+
1450
+ /**
1451
+ * Pool id currently in use.
1452
+ **/
1453
+ PoolIdInUse: GenericPalletError<Rv>;
1454
+
1455
+ /**
1456
+ * Pool id provided is not correct/usable.
1457
+ **/
1458
+ InvalidPoolId: GenericPalletError<Rv>;
1459
+
1460
+ /**
1461
+ * Bonding extra is restricted to the exact pending reward amount.
1462
+ **/
1463
+ BondExtraRestricted: GenericPalletError<Rv>;
1464
+
1465
+ /**
1466
+ * No imbalance in the ED deposit for the pool.
1467
+ **/
1468
+ NothingToAdjust: GenericPalletError<Rv>;
1469
+
1470
+ /**
1471
+ * Generic pallet error
1472
+ **/
1473
+ [error: string]: GenericPalletError<Rv>;
1474
+ };
1475
+ /**
1476
+ * Pallet `FastUnstake`'s errors
1477
+ **/
1478
+ fastUnstake: {
1479
+ /**
1480
+ * The provided Controller account was not found.
1481
+ *
1482
+ * This means that the given account is not bonded.
1483
+ **/
1484
+ NotController: GenericPalletError<Rv>;
1485
+
1486
+ /**
1487
+ * The bonded account has already been queued.
1488
+ **/
1489
+ AlreadyQueued: GenericPalletError<Rv>;
1490
+
1491
+ /**
1492
+ * The bonded account has active unlocking chunks.
1493
+ **/
1494
+ NotFullyBonded: GenericPalletError<Rv>;
1495
+
1496
+ /**
1497
+ * The provided un-staker is not in the `Queue`.
1498
+ **/
1499
+ NotQueued: GenericPalletError<Rv>;
1500
+
1501
+ /**
1502
+ * The provided un-staker is already in Head, and cannot deregister.
1503
+ **/
1504
+ AlreadyHead: GenericPalletError<Rv>;
1505
+
1506
+ /**
1507
+ * The call is not allowed at this point because the pallet is not active.
1508
+ **/
1509
+ CallNotAllowed: GenericPalletError<Rv>;
1510
+
1511
+ /**
1512
+ * Generic pallet error
1513
+ **/
1514
+ [error: string]: GenericPalletError<Rv>;
1515
+ };
1516
+ /**
1517
+ * Pallet `Configuration`'s errors
1518
+ **/
1519
+ configuration: {
1520
+ /**
1521
+ * The new value for a configuration parameter is invalid.
1522
+ **/
1523
+ InvalidNewValue: GenericPalletError<Rv>;
1524
+
1525
+ /**
1526
+ * Generic pallet error
1527
+ **/
1528
+ [error: string]: GenericPalletError<Rv>;
1529
+ };
1530
+ /**
1531
+ * Pallet `ParaInclusion`'s errors
1532
+ **/
1533
+ paraInclusion: {
1534
+ /**
1535
+ * Validator indices are out of order or contains duplicates.
1536
+ **/
1537
+ UnsortedOrDuplicateValidatorIndices: GenericPalletError<Rv>;
1538
+
1539
+ /**
1540
+ * Dispute statement sets are out of order or contain duplicates.
1541
+ **/
1542
+ UnsortedOrDuplicateDisputeStatementSet: GenericPalletError<Rv>;
1543
+
1544
+ /**
1545
+ * Backed candidates are out of order (core index) or contain duplicates.
1546
+ **/
1547
+ UnsortedOrDuplicateBackedCandidates: GenericPalletError<Rv>;
1548
+
1549
+ /**
1550
+ * A different relay parent was provided compared to the on-chain stored one.
1551
+ **/
1552
+ UnexpectedRelayParent: GenericPalletError<Rv>;
1553
+
1554
+ /**
1555
+ * Availability bitfield has unexpected size.
1556
+ **/
1557
+ WrongBitfieldSize: GenericPalletError<Rv>;
1558
+
1559
+ /**
1560
+ * Bitfield consists of zeros only.
1561
+ **/
1562
+ BitfieldAllZeros: GenericPalletError<Rv>;
1563
+
1564
+ /**
1565
+ * Multiple bitfields submitted by same validator or validators out of order by index.
1566
+ **/
1567
+ BitfieldDuplicateOrUnordered: GenericPalletError<Rv>;
1568
+
1569
+ /**
1570
+ * Validator index out of bounds.
1571
+ **/
1572
+ ValidatorIndexOutOfBounds: GenericPalletError<Rv>;
1573
+
1574
+ /**
1575
+ * Invalid signature
1576
+ **/
1577
+ InvalidBitfieldSignature: GenericPalletError<Rv>;
1578
+
1579
+ /**
1580
+ * Candidate submitted but para not scheduled.
1581
+ **/
1582
+ UnscheduledCandidate: GenericPalletError<Rv>;
1583
+
1584
+ /**
1585
+ * Candidate scheduled despite pending candidate already existing for the para.
1586
+ **/
1587
+ CandidateScheduledBeforeParaFree: GenericPalletError<Rv>;
1588
+
1589
+ /**
1590
+ * Scheduled cores out of order.
1591
+ **/
1592
+ ScheduledOutOfOrder: GenericPalletError<Rv>;
1593
+
1594
+ /**
1595
+ * Head data exceeds the configured maximum.
1596
+ **/
1597
+ HeadDataTooLarge: GenericPalletError<Rv>;
1598
+
1599
+ /**
1600
+ * Code upgrade prematurely.
1601
+ **/
1602
+ PrematureCodeUpgrade: GenericPalletError<Rv>;
1603
+
1604
+ /**
1605
+ * Output code is too large
1606
+ **/
1607
+ NewCodeTooLarge: GenericPalletError<Rv>;
1608
+
1609
+ /**
1610
+ * The candidate's relay-parent was not allowed. Either it was
1611
+ * not recent enough or it didn't advance based on the last parachain block.
1612
+ **/
1613
+ DisallowedRelayParent: GenericPalletError<Rv>;
1614
+
1615
+ /**
1616
+ * Failed to compute group index for the core: either it's out of bounds
1617
+ * or the relay parent doesn't belong to the current session.
1618
+ **/
1619
+ InvalidAssignment: GenericPalletError<Rv>;
1620
+
1621
+ /**
1622
+ * Invalid group index in core assignment.
1623
+ **/
1624
+ InvalidGroupIndex: GenericPalletError<Rv>;
1625
+
1626
+ /**
1627
+ * Insufficient (non-majority) backing.
1628
+ **/
1629
+ InsufficientBacking: GenericPalletError<Rv>;
1630
+
1631
+ /**
1632
+ * Invalid (bad signature, unknown validator, etc.) backing.
1633
+ **/
1634
+ InvalidBacking: GenericPalletError<Rv>;
1635
+
1636
+ /**
1637
+ * Collator did not sign PoV.
1638
+ **/
1639
+ NotCollatorSigned: GenericPalletError<Rv>;
1640
+
1641
+ /**
1642
+ * The validation data hash does not match expected.
1643
+ **/
1644
+ ValidationDataHashMismatch: GenericPalletError<Rv>;
1645
+
1646
+ /**
1647
+ * The downward message queue is not processed correctly.
1648
+ **/
1649
+ IncorrectDownwardMessageHandling: GenericPalletError<Rv>;
1650
+
1651
+ /**
1652
+ * At least one upward message sent does not pass the acceptance criteria.
1653
+ **/
1654
+ InvalidUpwardMessages: GenericPalletError<Rv>;
1655
+
1656
+ /**
1657
+ * The candidate didn't follow the rules of HRMP watermark advancement.
1658
+ **/
1659
+ HrmpWatermarkMishandling: GenericPalletError<Rv>;
1660
+
1661
+ /**
1662
+ * The HRMP messages sent by the candidate is not valid.
1663
+ **/
1664
+ InvalidOutboundHrmp: GenericPalletError<Rv>;
1665
+
1666
+ /**
1667
+ * The validation code hash of the candidate is not valid.
1668
+ **/
1669
+ InvalidValidationCodeHash: GenericPalletError<Rv>;
1670
+
1671
+ /**
1672
+ * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
1673
+ * para head in the commitments.
1674
+ **/
1675
+ ParaHeadMismatch: GenericPalletError<Rv>;
1676
+
1677
+ /**
1678
+ * A bitfield that references a freed core,
1679
+ * either intentionally or as part of a concluded
1680
+ * invalid dispute.
1681
+ **/
1682
+ BitfieldReferencesFreedCore: GenericPalletError<Rv>;
1683
+
1684
+ /**
1685
+ * Generic pallet error
1686
+ **/
1687
+ [error: string]: GenericPalletError<Rv>;
1688
+ };
1689
+ /**
1690
+ * Pallet `ParaInherent`'s errors
1691
+ **/
1692
+ paraInherent: {
1693
+ /**
1694
+ * Inclusion inherent called more than once per block.
1695
+ **/
1696
+ TooManyInclusionInherents: GenericPalletError<Rv>;
1697
+
1698
+ /**
1699
+ * The hash of the submitted parent header doesn't correspond to the saved block hash of
1700
+ * the parent.
1701
+ **/
1702
+ InvalidParentHeader: GenericPalletError<Rv>;
1703
+
1704
+ /**
1705
+ * Disputed candidate that was concluded invalid.
1706
+ **/
1707
+ CandidateConcludedInvalid: GenericPalletError<Rv>;
1708
+
1709
+ /**
1710
+ * The data given to the inherent will result in an overweight block.
1711
+ **/
1712
+ InherentOverweight: GenericPalletError<Rv>;
1713
+
1714
+ /**
1715
+ * The ordering of dispute statements was invalid.
1716
+ **/
1717
+ DisputeStatementsUnsortedOrDuplicates: GenericPalletError<Rv>;
1718
+
1719
+ /**
1720
+ * A dispute statement was invalid.
1721
+ **/
1722
+ DisputeInvalid: GenericPalletError<Rv>;
1723
+
1724
+ /**
1725
+ * A candidate was backed by a disabled validator
1726
+ **/
1727
+ BackedByDisabled: GenericPalletError<Rv>;
1728
+
1729
+ /**
1730
+ * A candidate was backed even though the paraid was not scheduled.
1731
+ **/
1732
+ BackedOnUnscheduledCore: GenericPalletError<Rv>;
1733
+
1734
+ /**
1735
+ * Too many candidates supplied.
1736
+ **/
1737
+ UnscheduledCandidate: GenericPalletError<Rv>;
1738
+
1739
+ /**
1740
+ * Generic pallet error
1741
+ **/
1742
+ [error: string]: GenericPalletError<Rv>;
1743
+ };
1744
+ /**
1745
+ * Pallet `Paras`'s errors
1746
+ **/
1747
+ paras: {
1748
+ /**
1749
+ * Para is not registered in our system.
1750
+ **/
1751
+ NotRegistered: GenericPalletError<Rv>;
1752
+
1753
+ /**
1754
+ * Para cannot be onboarded because it is already tracked by our system.
1755
+ **/
1756
+ CannotOnboard: GenericPalletError<Rv>;
1757
+
1758
+ /**
1759
+ * Para cannot be offboarded at this time.
1760
+ **/
1761
+ CannotOffboard: GenericPalletError<Rv>;
1762
+
1763
+ /**
1764
+ * Para cannot be upgraded to a lease holding parachain.
1765
+ **/
1766
+ CannotUpgrade: GenericPalletError<Rv>;
1767
+
1768
+ /**
1769
+ * Para cannot be downgraded to an on-demand parachain.
1770
+ **/
1771
+ CannotDowngrade: GenericPalletError<Rv>;
1772
+
1773
+ /**
1774
+ * The statement for PVF pre-checking is stale.
1775
+ **/
1776
+ PvfCheckStatementStale: GenericPalletError<Rv>;
1777
+
1778
+ /**
1779
+ * The statement for PVF pre-checking is for a future session.
1780
+ **/
1781
+ PvfCheckStatementFuture: GenericPalletError<Rv>;
1782
+
1783
+ /**
1784
+ * Claimed validator index is out of bounds.
1785
+ **/
1786
+ PvfCheckValidatorIndexOutOfBounds: GenericPalletError<Rv>;
1787
+
1788
+ /**
1789
+ * The signature for the PVF pre-checking is invalid.
1790
+ **/
1791
+ PvfCheckInvalidSignature: GenericPalletError<Rv>;
1792
+
1793
+ /**
1794
+ * The given validator already has cast a vote.
1795
+ **/
1796
+ PvfCheckDoubleVote: GenericPalletError<Rv>;
1797
+
1798
+ /**
1799
+ * The given PVF does not exist at the moment of process a vote.
1800
+ **/
1801
+ PvfCheckSubjectInvalid: GenericPalletError<Rv>;
1802
+
1803
+ /**
1804
+ * Parachain cannot currently schedule a code upgrade.
1805
+ **/
1806
+ CannotUpgradeCode: GenericPalletError<Rv>;
1807
+
1808
+ /**
1809
+ * Generic pallet error
1810
+ **/
1811
+ [error: string]: GenericPalletError<Rv>;
1812
+ };
1813
+ /**
1814
+ * Pallet `Hrmp`'s errors
1815
+ **/
1816
+ hrmp: {
1817
+ /**
1818
+ * The sender tried to open a channel to themselves.
1819
+ **/
1820
+ OpenHrmpChannelToSelf: GenericPalletError<Rv>;
1821
+
1822
+ /**
1823
+ * The recipient is not a valid para.
1824
+ **/
1825
+ OpenHrmpChannelInvalidRecipient: GenericPalletError<Rv>;
1826
+
1827
+ /**
1828
+ * The requested capacity is zero.
1829
+ **/
1830
+ OpenHrmpChannelZeroCapacity: GenericPalletError<Rv>;
1831
+
1832
+ /**
1833
+ * The requested capacity exceeds the global limit.
1834
+ **/
1835
+ OpenHrmpChannelCapacityExceedsLimit: GenericPalletError<Rv>;
1836
+
1837
+ /**
1838
+ * The requested maximum message size is 0.
1839
+ **/
1840
+ OpenHrmpChannelZeroMessageSize: GenericPalletError<Rv>;
1841
+
1842
+ /**
1843
+ * The open request requested the message size that exceeds the global limit.
1844
+ **/
1845
+ OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError<Rv>;
1846
+
1847
+ /**
1848
+ * The channel already exists
1849
+ **/
1850
+ OpenHrmpChannelAlreadyExists: GenericPalletError<Rv>;
1851
+
1852
+ /**
1853
+ * There is already a request to open the same channel.
1854
+ **/
1855
+ OpenHrmpChannelAlreadyRequested: GenericPalletError<Rv>;
1856
+
1857
+ /**
1858
+ * The sender already has the maximum number of allowed outbound channels.
1859
+ **/
1860
+ OpenHrmpChannelLimitExceeded: GenericPalletError<Rv>;
1861
+
1862
+ /**
1863
+ * The channel from the sender to the origin doesn't exist.
1864
+ **/
1865
+ AcceptHrmpChannelDoesntExist: GenericPalletError<Rv>;
1866
+
1867
+ /**
1868
+ * The channel is already confirmed.
1869
+ **/
1870
+ AcceptHrmpChannelAlreadyConfirmed: GenericPalletError<Rv>;
1871
+
1872
+ /**
1873
+ * The recipient already has the maximum number of allowed inbound channels.
1874
+ **/
1875
+ AcceptHrmpChannelLimitExceeded: GenericPalletError<Rv>;
1876
+
1877
+ /**
1878
+ * The origin tries to close a channel where it is neither the sender nor the recipient.
1879
+ **/
1880
+ CloseHrmpChannelUnauthorized: GenericPalletError<Rv>;
1881
+
1882
+ /**
1883
+ * The channel to be closed doesn't exist.
1884
+ **/
1885
+ CloseHrmpChannelDoesntExist: GenericPalletError<Rv>;
1886
+
1887
+ /**
1888
+ * The channel close request is already requested.
1889
+ **/
1890
+ CloseHrmpChannelAlreadyUnderway: GenericPalletError<Rv>;
1891
+
1892
+ /**
1893
+ * Canceling is requested by neither the sender nor recipient of the open channel request.
1894
+ **/
1895
+ CancelHrmpOpenChannelUnauthorized: GenericPalletError<Rv>;
1896
+
1897
+ /**
1898
+ * The open request doesn't exist.
1899
+ **/
1900
+ OpenHrmpChannelDoesntExist: GenericPalletError<Rv>;
1901
+
1902
+ /**
1903
+ * Cannot cancel an HRMP open channel request because it is already confirmed.
1904
+ **/
1905
+ OpenHrmpChannelAlreadyConfirmed: GenericPalletError<Rv>;
1906
+
1907
+ /**
1908
+ * The provided witness data is wrong.
1909
+ **/
1910
+ WrongWitness: GenericPalletError<Rv>;
1911
+
1912
+ /**
1913
+ * The channel between these two chains cannot be authorized.
1914
+ **/
1915
+ ChannelCreationNotAuthorized: GenericPalletError<Rv>;
1916
+
1917
+ /**
1918
+ * Generic pallet error
1919
+ **/
1920
+ [error: string]: GenericPalletError<Rv>;
1921
+ };
1922
+ /**
1923
+ * Pallet `ParasDisputes`'s errors
1924
+ **/
1925
+ parasDisputes: {
1926
+ /**
1927
+ * Duplicate dispute statement sets provided.
1928
+ **/
1929
+ DuplicateDisputeStatementSets: GenericPalletError<Rv>;
1930
+
1931
+ /**
1932
+ * Ancient dispute statement provided.
1933
+ **/
1934
+ AncientDisputeStatement: GenericPalletError<Rv>;
1935
+
1936
+ /**
1937
+ * Validator index on statement is out of bounds for session.
1938
+ **/
1939
+ ValidatorIndexOutOfBounds: GenericPalletError<Rv>;
1940
+
1941
+ /**
1942
+ * Invalid signature on statement.
1943
+ **/
1944
+ InvalidSignature: GenericPalletError<Rv>;
1945
+
1946
+ /**
1947
+ * Validator vote submitted more than once to dispute.
1948
+ **/
1949
+ DuplicateStatement: GenericPalletError<Rv>;
1950
+
1951
+ /**
1952
+ * A dispute where there are only votes on one side.
1953
+ **/
1954
+ SingleSidedDispute: GenericPalletError<Rv>;
1955
+
1956
+ /**
1957
+ * A dispute vote from a malicious backer.
1958
+ **/
1959
+ MaliciousBacker: GenericPalletError<Rv>;
1960
+
1961
+ /**
1962
+ * No backing votes were provides along dispute statements.
1963
+ **/
1964
+ MissingBackingVotes: GenericPalletError<Rv>;
1965
+
1966
+ /**
1967
+ * Unconfirmed dispute statement sets provided.
1968
+ **/
1969
+ UnconfirmedDispute: GenericPalletError<Rv>;
1970
+
1971
+ /**
1972
+ * Generic pallet error
1973
+ **/
1974
+ [error: string]: GenericPalletError<Rv>;
1975
+ };
1976
+ /**
1977
+ * Pallet `ParasSlashing`'s errors
1978
+ **/
1979
+ parasSlashing: {
1980
+ /**
1981
+ * The key ownership proof is invalid.
1982
+ **/
1983
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
1984
+
1985
+ /**
1986
+ * The session index is too old or invalid.
1987
+ **/
1988
+ InvalidSessionIndex: GenericPalletError<Rv>;
1989
+
1990
+ /**
1991
+ * The candidate hash is invalid.
1992
+ **/
1993
+ InvalidCandidateHash: GenericPalletError<Rv>;
1994
+
1995
+ /**
1996
+ * There is no pending slash for the given validator index and time
1997
+ * slot.
1998
+ **/
1999
+ InvalidValidatorIndex: GenericPalletError<Rv>;
2000
+
2001
+ /**
2002
+ * The validator index does not match the validator id.
2003
+ **/
2004
+ ValidatorIndexIdMismatch: GenericPalletError<Rv>;
2005
+
2006
+ /**
2007
+ * The given slashing report is valid but already previously reported.
2008
+ **/
2009
+ DuplicateSlashingReport: GenericPalletError<Rv>;
2010
+
2011
+ /**
2012
+ * Generic pallet error
2013
+ **/
2014
+ [error: string]: GenericPalletError<Rv>;
2015
+ };
2016
+ /**
2017
+ * Pallet `Registrar`'s errors
2018
+ **/
2019
+ registrar: {
2020
+ /**
2021
+ * The ID is not registered.
2022
+ **/
2023
+ NotRegistered: GenericPalletError<Rv>;
2024
+
2025
+ /**
2026
+ * The ID is already registered.
2027
+ **/
2028
+ AlreadyRegistered: GenericPalletError<Rv>;
2029
+
2030
+ /**
2031
+ * The caller is not the owner of this Id.
2032
+ **/
2033
+ NotOwner: GenericPalletError<Rv>;
2034
+
2035
+ /**
2036
+ * Invalid para code size.
2037
+ **/
2038
+ CodeTooLarge: GenericPalletError<Rv>;
2039
+
2040
+ /**
2041
+ * Invalid para head data size.
2042
+ **/
2043
+ HeadDataTooLarge: GenericPalletError<Rv>;
2044
+
2045
+ /**
2046
+ * Para is not a Parachain.
2047
+ **/
2048
+ NotParachain: GenericPalletError<Rv>;
2049
+
2050
+ /**
2051
+ * Para is not a Parathread (on-demand parachain).
2052
+ **/
2053
+ NotParathread: GenericPalletError<Rv>;
2054
+
2055
+ /**
2056
+ * Cannot deregister para
2057
+ **/
2058
+ CannotDeregister: GenericPalletError<Rv>;
2059
+
2060
+ /**
2061
+ * Cannot schedule downgrade of lease holding parachain to on-demand parachain
2062
+ **/
2063
+ CannotDowngrade: GenericPalletError<Rv>;
2064
+
2065
+ /**
2066
+ * Cannot schedule upgrade of on-demand parachain to lease holding parachain
2067
+ **/
2068
+ CannotUpgrade: GenericPalletError<Rv>;
2069
+
2070
+ /**
2071
+ * Para is locked from manipulation by the manager. Must use parachain or relay chain
2072
+ * governance.
2073
+ **/
2074
+ ParaLocked: GenericPalletError<Rv>;
2075
+
2076
+ /**
2077
+ * The ID given for registration has not been reserved.
2078
+ **/
2079
+ NotReserved: GenericPalletError<Rv>;
2080
+
2081
+ /**
2082
+ * Registering parachain with empty code is not allowed.
2083
+ **/
2084
+ EmptyCode: GenericPalletError<Rv>;
2085
+
2086
+ /**
2087
+ * Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
2088
+ * are correct for the swap to work.
2089
+ **/
2090
+ CannotSwap: GenericPalletError<Rv>;
2091
+
2092
+ /**
2093
+ * Generic pallet error
2094
+ **/
2095
+ [error: string]: GenericPalletError<Rv>;
2096
+ };
2097
+ /**
2098
+ * Pallet `Slots`'s errors
2099
+ **/
2100
+ slots: {
2101
+ /**
2102
+ * The parachain ID is not onboarding.
2103
+ **/
2104
+ ParaNotOnboarding: GenericPalletError<Rv>;
2105
+
2106
+ /**
2107
+ * There was an error with the lease.
2108
+ **/
2109
+ LeaseError: GenericPalletError<Rv>;
2110
+
2111
+ /**
2112
+ * Generic pallet error
2113
+ **/
2114
+ [error: string]: GenericPalletError<Rv>;
2115
+ };
2116
+ /**
2117
+ * Pallet `Auctions`'s errors
2118
+ **/
2119
+ auctions: {
2120
+ /**
2121
+ * This auction is already in progress.
2122
+ **/
2123
+ AuctionInProgress: GenericPalletError<Rv>;
2124
+
2125
+ /**
2126
+ * The lease period is in the past.
2127
+ **/
2128
+ LeasePeriodInPast: GenericPalletError<Rv>;
2129
+
2130
+ /**
2131
+ * Para is not registered
2132
+ **/
2133
+ ParaNotRegistered: GenericPalletError<Rv>;
2134
+
2135
+ /**
2136
+ * Not a current auction.
2137
+ **/
2138
+ NotCurrentAuction: GenericPalletError<Rv>;
2139
+
2140
+ /**
2141
+ * Not an auction.
2142
+ **/
2143
+ NotAuction: GenericPalletError<Rv>;
2144
+
2145
+ /**
2146
+ * Auction has already ended.
2147
+ **/
2148
+ AuctionEnded: GenericPalletError<Rv>;
2149
+
2150
+ /**
2151
+ * The para is already leased out for part of this range.
2152
+ **/
2153
+ AlreadyLeasedOut: GenericPalletError<Rv>;
2154
+
2155
+ /**
2156
+ * Generic pallet error
2157
+ **/
2158
+ [error: string]: GenericPalletError<Rv>;
2159
+ };
2160
+ /**
2161
+ * Pallet `Crowdloan`'s errors
2162
+ **/
2163
+ crowdloan: {
2164
+ /**
2165
+ * The current lease period is more than the first lease period.
2166
+ **/
2167
+ FirstPeriodInPast: GenericPalletError<Rv>;
2168
+
2169
+ /**
2170
+ * The first lease period needs to at least be less than 3 `max_value`.
2171
+ **/
2172
+ FirstPeriodTooFarInFuture: GenericPalletError<Rv>;
2173
+
2174
+ /**
2175
+ * Last lease period must be greater than first lease period.
2176
+ **/
2177
+ LastPeriodBeforeFirstPeriod: GenericPalletError<Rv>;
2178
+
2179
+ /**
2180
+ * The last lease period cannot be more than 3 periods after the first period.
2181
+ **/
2182
+ LastPeriodTooFarInFuture: GenericPalletError<Rv>;
2183
+
2184
+ /**
2185
+ * The campaign ends before the current block number. The end must be in the future.
2186
+ **/
2187
+ CannotEndInPast: GenericPalletError<Rv>;
2188
+
2189
+ /**
2190
+ * The end date for this crowdloan is not sensible.
2191
+ **/
2192
+ EndTooFarInFuture: GenericPalletError<Rv>;
2193
+
2194
+ /**
2195
+ * There was an overflow.
2196
+ **/
2197
+ Overflow: GenericPalletError<Rv>;
2198
+
2199
+ /**
2200
+ * The contribution was below the minimum, `MinContribution`.
2201
+ **/
2202
+ ContributionTooSmall: GenericPalletError<Rv>;
2203
+
2204
+ /**
2205
+ * Invalid fund index.
2206
+ **/
2207
+ InvalidParaId: GenericPalletError<Rv>;
2208
+
2209
+ /**
2210
+ * Contributions exceed maximum amount.
2211
+ **/
2212
+ CapExceeded: GenericPalletError<Rv>;
2213
+
2214
+ /**
2215
+ * The contribution period has already ended.
2216
+ **/
2217
+ ContributionPeriodOver: GenericPalletError<Rv>;
2218
+
2219
+ /**
2220
+ * The origin of this call is invalid.
2221
+ **/
2222
+ InvalidOrigin: GenericPalletError<Rv>;
2223
+
2224
+ /**
2225
+ * This crowdloan does not correspond to a parachain.
2226
+ **/
2227
+ NotParachain: GenericPalletError<Rv>;
2228
+
2229
+ /**
2230
+ * This parachain lease is still active and retirement cannot yet begin.
2231
+ **/
2232
+ LeaseActive: GenericPalletError<Rv>;
2233
+
2234
+ /**
2235
+ * This parachain's bid or lease is still active and withdraw cannot yet begin.
2236
+ **/
2237
+ BidOrLeaseActive: GenericPalletError<Rv>;
2238
+
2239
+ /**
2240
+ * The crowdloan has not yet ended.
2241
+ **/
2242
+ FundNotEnded: GenericPalletError<Rv>;
2243
+
2244
+ /**
2245
+ * There are no contributions stored in this crowdloan.
2246
+ **/
2247
+ NoContributions: GenericPalletError<Rv>;
2248
+
2249
+ /**
2250
+ * The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
2251
+ * period.
2252
+ **/
2253
+ NotReadyToDissolve: GenericPalletError<Rv>;
2254
+
2255
+ /**
2256
+ * Invalid signature.
2257
+ **/
2258
+ InvalidSignature: GenericPalletError<Rv>;
2259
+
2260
+ /**
2261
+ * The provided memo is too large.
2262
+ **/
2263
+ MemoTooLarge: GenericPalletError<Rv>;
2264
+
2265
+ /**
2266
+ * The fund is already in `NewRaise`
2267
+ **/
2268
+ AlreadyInNewRaise: GenericPalletError<Rv>;
2269
+
2270
+ /**
2271
+ * No contributions allowed during the VRF delay
2272
+ **/
2273
+ VrfDelayInProgress: GenericPalletError<Rv>;
2274
+
2275
+ /**
2276
+ * A lease period has not started yet, due to an offset in the starting block.
2277
+ **/
2278
+ NoLeasePeriod: GenericPalletError<Rv>;
2279
+
2280
+ /**
2281
+ * Generic pallet error
2282
+ **/
2283
+ [error: string]: GenericPalletError<Rv>;
2284
+ };
2285
+ /**
2286
+ * Pallet `StateTrieMigration`'s errors
2287
+ **/
2288
+ stateTrieMigration: {
2289
+ /**
2290
+ * Max signed limits not respected.
2291
+ **/
2292
+ MaxSignedLimits: GenericPalletError<Rv>;
2293
+
2294
+ /**
2295
+ * A key was longer than the configured maximum.
2296
+ *
2297
+ * This means that the migration halted at the current [`Progress`] and
2298
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2299
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2300
+ * The value should only be increased to avoid a storage migration for the currently
2301
+ * stored [`crate::Progress::LastKey`].
2302
+ **/
2303
+ KeyTooLong: GenericPalletError<Rv>;
2304
+
2305
+ /**
2306
+ * submitter does not have enough funds.
2307
+ **/
2308
+ NotEnoughFunds: GenericPalletError<Rv>;
2309
+
2310
+ /**
2311
+ * Bad witness data provided.
2312
+ **/
2313
+ BadWitness: GenericPalletError<Rv>;
2314
+
2315
+ /**
2316
+ * Signed migration is not allowed because the maximum limit is not set yet.
2317
+ **/
2318
+ SignedMigrationNotAllowed: GenericPalletError<Rv>;
2319
+
2320
+ /**
2321
+ * Bad child root provided.
2322
+ **/
2323
+ BadChildRoot: GenericPalletError<Rv>;
2324
+
2325
+ /**
2326
+ * Generic pallet error
2327
+ **/
2328
+ [error: string]: GenericPalletError<Rv>;
2329
+ };
2330
+ /**
2331
+ * Pallet `XcmPallet`'s errors
2332
+ **/
2333
+ xcmPallet: {
2334
+ /**
2335
+ * The desired destination was unreachable, generally because there is a no way of routing
2336
+ * to it.
2337
+ **/
2338
+ Unreachable: GenericPalletError<Rv>;
2339
+
2340
+ /**
2341
+ * There was some other issue (i.e. not to do with routing) in sending the message.
2342
+ * Perhaps a lack of space for buffering the message.
2343
+ **/
2344
+ SendFailure: GenericPalletError<Rv>;
2345
+
2346
+ /**
2347
+ * The message execution fails the filter.
2348
+ **/
2349
+ Filtered: GenericPalletError<Rv>;
2350
+
2351
+ /**
2352
+ * The message's weight could not be determined.
2353
+ **/
2354
+ UnweighableMessage: GenericPalletError<Rv>;
2355
+
2356
+ /**
2357
+ * The destination `Location` provided cannot be inverted.
2358
+ **/
2359
+ DestinationNotInvertible: GenericPalletError<Rv>;
2360
+
2361
+ /**
2362
+ * The assets to be sent are empty.
2363
+ **/
2364
+ Empty: GenericPalletError<Rv>;
2365
+
2366
+ /**
2367
+ * Could not re-anchor the assets to declare the fees for the destination chain.
2368
+ **/
2369
+ CannotReanchor: GenericPalletError<Rv>;
2370
+
2371
+ /**
2372
+ * Too many assets have been attempted for transfer.
2373
+ **/
2374
+ TooManyAssets: GenericPalletError<Rv>;
2375
+
2376
+ /**
2377
+ * Origin is invalid for sending.
2378
+ **/
2379
+ InvalidOrigin: GenericPalletError<Rv>;
2380
+
2381
+ /**
2382
+ * The version of the `Versioned` value used is not able to be interpreted.
2383
+ **/
2384
+ BadVersion: GenericPalletError<Rv>;
2385
+
2386
+ /**
2387
+ * The given location could not be used (e.g. because it cannot be expressed in the
2388
+ * desired version of XCM).
2389
+ **/
2390
+ BadLocation: GenericPalletError<Rv>;
2391
+
2392
+ /**
2393
+ * The referenced subscription could not be found.
2394
+ **/
2395
+ NoSubscription: GenericPalletError<Rv>;
2396
+
2397
+ /**
2398
+ * The location is invalid since it already has a subscription from us.
2399
+ **/
2400
+ AlreadySubscribed: GenericPalletError<Rv>;
2401
+
2402
+ /**
2403
+ * Could not check-out the assets for teleportation to the destination chain.
2404
+ **/
2405
+ CannotCheckOutTeleport: GenericPalletError<Rv>;
2406
+
2407
+ /**
2408
+ * The owner does not own (all) of the asset that they wish to do the operation on.
2409
+ **/
2410
+ LowBalance: GenericPalletError<Rv>;
2411
+
2412
+ /**
2413
+ * The asset owner has too many locks on the asset.
2414
+ **/
2415
+ TooManyLocks: GenericPalletError<Rv>;
2416
+
2417
+ /**
2418
+ * The given account is not an identifiable sovereign account for any location.
2419
+ **/
2420
+ AccountNotSovereign: GenericPalletError<Rv>;
2421
+
2422
+ /**
2423
+ * The operation required fees to be paid which the initiator could not meet.
2424
+ **/
2425
+ FeesNotMet: GenericPalletError<Rv>;
2426
+
2427
+ /**
2428
+ * A remote lock with the corresponding data could not be found.
2429
+ **/
2430
+ LockNotFound: GenericPalletError<Rv>;
2431
+
2432
+ /**
2433
+ * The unlock operation cannot succeed because there are still consumers of the lock.
2434
+ **/
2435
+ InUse: GenericPalletError<Rv>;
2436
+
2437
+ /**
2438
+ * Invalid non-concrete asset.
2439
+ **/
2440
+ InvalidAssetNotConcrete: GenericPalletError<Rv>;
2441
+
2442
+ /**
2443
+ * Invalid asset, reserve chain could not be determined for it.
2444
+ **/
2445
+ InvalidAssetUnknownReserve: GenericPalletError<Rv>;
2446
+
2447
+ /**
2448
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
2449
+ **/
2450
+ InvalidAssetUnsupportedReserve: GenericPalletError<Rv>;
2451
+
2452
+ /**
2453
+ * Too many assets with different reserve locations have been attempted for transfer.
2454
+ **/
2455
+ TooManyReserves: GenericPalletError<Rv>;
2456
+
2457
+ /**
2458
+ * Local XCM execution incomplete.
2459
+ **/
2460
+ LocalExecutionIncomplete: GenericPalletError<Rv>;
2461
+
2462
+ /**
2463
+ * Generic pallet error
2464
+ **/
2465
+ [error: string]: GenericPalletError<Rv>;
2466
+ };
2467
+ /**
2468
+ * Pallet `MessageQueue`'s errors
2469
+ **/
2470
+ messageQueue: {
2471
+ /**
2472
+ * Page is not reapable because it has items remaining to be processed and is not old
2473
+ * enough.
2474
+ **/
2475
+ NotReapable: GenericPalletError<Rv>;
2476
+
2477
+ /**
2478
+ * Page to be reaped does not exist.
2479
+ **/
2480
+ NoPage: GenericPalletError<Rv>;
2481
+
2482
+ /**
2483
+ * The referenced message could not be found.
2484
+ **/
2485
+ NoMessage: GenericPalletError<Rv>;
2486
+
2487
+ /**
2488
+ * The message was already processed and cannot be processed again.
2489
+ **/
2490
+ AlreadyProcessed: GenericPalletError<Rv>;
2491
+
2492
+ /**
2493
+ * The message is queued for future execution.
2494
+ **/
2495
+ Queued: GenericPalletError<Rv>;
2496
+
2497
+ /**
2498
+ * There is temporarily not enough weight to continue servicing messages.
2499
+ **/
2500
+ InsufficientWeight: GenericPalletError<Rv>;
2501
+
2502
+ /**
2503
+ * This message is temporarily unprocessable.
2504
+ *
2505
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
2506
+ * retrying.
2507
+ **/
2508
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
2509
+
2510
+ /**
2511
+ * The queue is paused and no message can be executed from it.
2512
+ *
2513
+ * This can change at any time and may resolve in the future by re-trying.
2514
+ **/
2515
+ QueuePaused: GenericPalletError<Rv>;
2516
+
2517
+ /**
2518
+ * Another call is in progress and needs to finish before this call can happen.
2519
+ **/
2520
+ RecursiveDisallowed: GenericPalletError<Rv>;
2521
+
2522
+ /**
2523
+ * Generic pallet error
2524
+ **/
2525
+ [error: string]: GenericPalletError<Rv>;
2526
+ };
2527
+ /**
2528
+ * Pallet `AssetRate`'s errors
2529
+ **/
2530
+ assetRate: {
2531
+ /**
2532
+ * The given asset ID is unknown.
2533
+ **/
2534
+ UnknownAssetKind: GenericPalletError<Rv>;
2535
+
2536
+ /**
2537
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
2538
+ **/
2539
+ AlreadyExists: GenericPalletError<Rv>;
2540
+
2541
+ /**
2542
+ * Generic pallet error
2543
+ **/
2544
+ [error: string]: GenericPalletError<Rv>;
2545
+ };
2546
+ /**
2547
+ * Pallet `Beefy`'s errors
2548
+ **/
2549
+ beefy: {
2550
+ /**
2551
+ * A key ownership proof provided as part of an equivocation report is invalid.
2552
+ **/
2553
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
2554
+
2555
+ /**
2556
+ * An equivocation proof provided as part of an equivocation report is invalid.
2557
+ **/
2558
+ InvalidEquivocationProof: GenericPalletError<Rv>;
2559
+
2560
+ /**
2561
+ * A given equivocation report is valid but already previously reported.
2562
+ **/
2563
+ DuplicateOffenceReport: GenericPalletError<Rv>;
2564
+
2565
+ /**
2566
+ * Submitted configuration is invalid.
2567
+ **/
2568
+ InvalidConfiguration: GenericPalletError<Rv>;
2569
+
2570
+ /**
2571
+ * Generic pallet error
2572
+ **/
2573
+ [error: string]: GenericPalletError<Rv>;
2574
+ };
2575
+ }