@dedot/chaintypes 0.0.1-next.0 → 0.0.1-next.3

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