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