@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,2135 @@
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 `ParachainSystem`'s errors
51
+ **/
52
+ parachainSystem: {
53
+ /**
54
+ * Attempt to upgrade validation function while existing upgrade pending.
55
+ **/
56
+ OverlappingUpgrades: GenericPalletError;
57
+
58
+ /**
59
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
60
+ **/
61
+ ProhibitedByPolkadot: GenericPalletError;
62
+
63
+ /**
64
+ * The supplied validation function has compiled into a blob larger than Polkadot is
65
+ * willing to run.
66
+ **/
67
+ TooBig: GenericPalletError;
68
+
69
+ /**
70
+ * The inherent which supplies the validation data did not run this block.
71
+ **/
72
+ ValidationDataNotAvailable: GenericPalletError;
73
+
74
+ /**
75
+ * The inherent which supplies the host configuration did not run this block.
76
+ **/
77
+ HostConfigurationNotAvailable: GenericPalletError;
78
+
79
+ /**
80
+ * No validation function upgrade is currently scheduled.
81
+ **/
82
+ NotScheduled: GenericPalletError;
83
+
84
+ /**
85
+ * No code upgrade has been authorized.
86
+ **/
87
+ NothingAuthorized: GenericPalletError;
88
+
89
+ /**
90
+ * The given code upgrade has not been authorized.
91
+ **/
92
+ Unauthorized: GenericPalletError;
93
+
94
+ /**
95
+ * Generic pallet error
96
+ **/
97
+ [error: string]: GenericPalletError;
98
+ };
99
+ /**
100
+ * Pallet `Balances`'s errors
101
+ **/
102
+ balances: {
103
+ /**
104
+ * Vesting balance too high to send value.
105
+ **/
106
+ VestingBalance: GenericPalletError;
107
+
108
+ /**
109
+ * Account liquidity restrictions prevent withdrawal.
110
+ **/
111
+ LiquidityRestrictions: GenericPalletError;
112
+
113
+ /**
114
+ * Balance too low to send value.
115
+ **/
116
+ InsufficientBalance: GenericPalletError;
117
+
118
+ /**
119
+ * Value too low to create account due to existential deposit.
120
+ **/
121
+ ExistentialDeposit: GenericPalletError;
122
+
123
+ /**
124
+ * Transfer/payment would kill account.
125
+ **/
126
+ Expendability: GenericPalletError;
127
+
128
+ /**
129
+ * A vesting schedule already exists for this account.
130
+ **/
131
+ ExistingVestingSchedule: GenericPalletError;
132
+
133
+ /**
134
+ * Beneficiary account must pre-exist.
135
+ **/
136
+ DeadAccount: GenericPalletError;
137
+
138
+ /**
139
+ * Number of named reserves exceed `MaxReserves`.
140
+ **/
141
+ TooManyReserves: GenericPalletError;
142
+
143
+ /**
144
+ * Number of holds exceed `MaxHolds`.
145
+ **/
146
+ TooManyHolds: GenericPalletError;
147
+
148
+ /**
149
+ * Number of freezes exceed `MaxFreezes`.
150
+ **/
151
+ TooManyFreezes: GenericPalletError;
152
+
153
+ /**
154
+ * Generic pallet error
155
+ **/
156
+ [error: string]: GenericPalletError;
157
+ };
158
+ /**
159
+ * Pallet `ParachainStaking`'s errors
160
+ **/
161
+ parachainStaking: {
162
+ DelegatorDNE: GenericPalletError;
163
+ DelegatorDNEinTopNorBottom: GenericPalletError;
164
+ DelegatorDNEInDelegatorSet: GenericPalletError;
165
+ CandidateDNE: GenericPalletError;
166
+ DelegationDNE: GenericPalletError;
167
+ DelegatorExists: GenericPalletError;
168
+ CandidateExists: GenericPalletError;
169
+ CandidateBondBelowMin: GenericPalletError;
170
+ InsufficientBalance: GenericPalletError;
171
+ DelegatorBondBelowMin: GenericPalletError;
172
+ DelegationBelowMin: GenericPalletError;
173
+ AlreadyOffline: GenericPalletError;
174
+ AlreadyActive: GenericPalletError;
175
+ DelegatorAlreadyLeaving: GenericPalletError;
176
+ DelegatorNotLeaving: GenericPalletError;
177
+ DelegatorCannotLeaveYet: GenericPalletError;
178
+ CannotDelegateIfLeaving: GenericPalletError;
179
+ CandidateAlreadyLeaving: GenericPalletError;
180
+ CandidateNotLeaving: GenericPalletError;
181
+ CandidateCannotLeaveYet: GenericPalletError;
182
+ CannotGoOnlineIfLeaving: GenericPalletError;
183
+ ExceedMaxDelegationsPerDelegator: GenericPalletError;
184
+ AlreadyDelegatedCandidate: GenericPalletError;
185
+ InvalidSchedule: GenericPalletError;
186
+ CannotSetBelowMin: GenericPalletError;
187
+ RoundLengthMustBeGreaterThanTotalSelectedCollators: GenericPalletError;
188
+ NoWritingSameValue: GenericPalletError;
189
+ TooLowCandidateCountWeightHintJoinCandidates: GenericPalletError;
190
+ TooLowCandidateCountWeightHintCancelLeaveCandidates: GenericPalletError;
191
+ TooLowCandidateCountToLeaveCandidates: GenericPalletError;
192
+ TooLowDelegationCountToDelegate: GenericPalletError;
193
+ TooLowCandidateDelegationCountToDelegate: GenericPalletError;
194
+ TooLowCandidateDelegationCountToLeaveCandidates: GenericPalletError;
195
+ TooLowDelegationCountToLeaveDelegators: GenericPalletError;
196
+ PendingCandidateRequestsDNE: GenericPalletError;
197
+ PendingCandidateRequestAlreadyExists: GenericPalletError;
198
+ PendingCandidateRequestNotDueYet: GenericPalletError;
199
+ PendingDelegationRequestDNE: GenericPalletError;
200
+ PendingDelegationRequestAlreadyExists: GenericPalletError;
201
+ PendingDelegationRequestNotDueYet: GenericPalletError;
202
+ CannotDelegateLessThanOrEqualToLowestBottomWhenFull: GenericPalletError;
203
+ PendingDelegationRevoke: GenericPalletError;
204
+ TooLowDelegationCountToAutoCompound: GenericPalletError;
205
+ TooLowCandidateAutoCompoundingDelegationCountToAutoCompound: GenericPalletError;
206
+ TooLowCandidateAutoCompoundingDelegationCountToDelegate: GenericPalletError;
207
+ TooLowCollatorCountToNotifyAsInactive: GenericPalletError;
208
+ CannotBeNotifiedAsInactive: GenericPalletError;
209
+ TooLowCandidateAutoCompoundingDelegationCountToLeaveCandidates: GenericPalletError;
210
+ TooLowCandidateCountWeightHint: GenericPalletError;
211
+ TooLowCandidateCountWeightHintGoOffline: GenericPalletError;
212
+ CandidateLimitReached: GenericPalletError;
213
+ CannotSetAboveMaxCandidates: GenericPalletError;
214
+ RemovedCall: GenericPalletError;
215
+ MarkingOfflineNotEnabled: GenericPalletError;
216
+ CurrentRoundTooLow: GenericPalletError;
217
+
218
+ /**
219
+ * Generic pallet error
220
+ **/
221
+ [error: string]: GenericPalletError;
222
+ };
223
+ /**
224
+ * Pallet `AuthorInherent`'s errors
225
+ **/
226
+ authorInherent: {
227
+ /**
228
+ * Author already set in block.
229
+ **/
230
+ AuthorAlreadySet: GenericPalletError;
231
+
232
+ /**
233
+ * No AccountId was found to be associated with this author
234
+ **/
235
+ NoAccountId: GenericPalletError;
236
+
237
+ /**
238
+ * The author in the inherent is not an eligible author.
239
+ **/
240
+ CannotBeAuthor: GenericPalletError;
241
+
242
+ /**
243
+ * Generic pallet error
244
+ **/
245
+ [error: string]: GenericPalletError;
246
+ };
247
+ /**
248
+ * Pallet `AuthorMapping`'s errors
249
+ **/
250
+ authorMapping: {
251
+ /**
252
+ * The association can't be cleared because it is not found.
253
+ **/
254
+ AssociationNotFound: GenericPalletError;
255
+
256
+ /**
257
+ * The association can't be cleared because it belongs to another account.
258
+ **/
259
+ NotYourAssociation: GenericPalletError;
260
+
261
+ /**
262
+ * This account cannot set an author because it cannon afford the security deposit
263
+ **/
264
+ CannotAffordSecurityDeposit: GenericPalletError;
265
+
266
+ /**
267
+ * The NimbusId in question is already associated and cannot be overwritten
268
+ **/
269
+ AlreadyAssociated: GenericPalletError;
270
+
271
+ /**
272
+ * No existing NimbusId can be found for the account
273
+ **/
274
+ OldAuthorIdNotFound: GenericPalletError;
275
+
276
+ /**
277
+ * Keys have wrong size
278
+ **/
279
+ WrongKeySize: GenericPalletError;
280
+
281
+ /**
282
+ * Failed to decode NimbusId for `set_keys`
283
+ **/
284
+ DecodeNimbusFailed: GenericPalletError;
285
+
286
+ /**
287
+ * Failed to decode T::Keys for `set_keys`
288
+ **/
289
+ DecodeKeysFailed: GenericPalletError;
290
+
291
+ /**
292
+ * Generic pallet error
293
+ **/
294
+ [error: string]: GenericPalletError;
295
+ };
296
+ /**
297
+ * Pallet `MoonbeamOrbiters`'s errors
298
+ **/
299
+ moonbeamOrbiters: {
300
+ /**
301
+ * The collator is already added in orbiters program.
302
+ **/
303
+ CollatorAlreadyAdded: GenericPalletError;
304
+
305
+ /**
306
+ * This collator is not in orbiters program.
307
+ **/
308
+ CollatorNotFound: GenericPalletError;
309
+
310
+ /**
311
+ * There are already too many orbiters associated with this collator.
312
+ **/
313
+ CollatorPoolTooLarge: GenericPalletError;
314
+
315
+ /**
316
+ * There are more collator pools than the number specified in the parameter.
317
+ **/
318
+ CollatorsPoolCountTooLow: GenericPalletError;
319
+
320
+ /**
321
+ * The minimum deposit required to register as an orbiter has not yet been included in the
322
+ * onchain storage
323
+ **/
324
+ MinOrbiterDepositNotSet: GenericPalletError;
325
+
326
+ /**
327
+ * This orbiter is already associated with this collator.
328
+ **/
329
+ OrbiterAlreadyInPool: GenericPalletError;
330
+
331
+ /**
332
+ * This orbiter has not made a deposit
333
+ **/
334
+ OrbiterDepositNotFound: GenericPalletError;
335
+
336
+ /**
337
+ * This orbiter is not found
338
+ **/
339
+ OrbiterNotFound: GenericPalletError;
340
+
341
+ /**
342
+ * The orbiter is still at least in one pool
343
+ **/
344
+ OrbiterStillInAPool: GenericPalletError;
345
+
346
+ /**
347
+ * Generic pallet error
348
+ **/
349
+ [error: string]: GenericPalletError;
350
+ };
351
+ /**
352
+ * Pallet `Utility`'s errors
353
+ **/
354
+ utility: {
355
+ /**
356
+ * Too many calls batched.
357
+ **/
358
+ TooManyCalls: GenericPalletError;
359
+
360
+ /**
361
+ * Generic pallet error
362
+ **/
363
+ [error: string]: GenericPalletError;
364
+ };
365
+ /**
366
+ * Pallet `Proxy`'s errors
367
+ **/
368
+ proxy: {
369
+ /**
370
+ * There are too many proxies registered or too many announcements pending.
371
+ **/
372
+ TooMany: GenericPalletError;
373
+
374
+ /**
375
+ * Proxy registration not found.
376
+ **/
377
+ NotFound: GenericPalletError;
378
+
379
+ /**
380
+ * Sender is not a proxy of the account to be proxied.
381
+ **/
382
+ NotProxy: GenericPalletError;
383
+
384
+ /**
385
+ * A call which is incompatible with the proxy type's filter was attempted.
386
+ **/
387
+ Unproxyable: GenericPalletError;
388
+
389
+ /**
390
+ * Account is already a proxy.
391
+ **/
392
+ Duplicate: GenericPalletError;
393
+
394
+ /**
395
+ * Call may not be made by proxy because it may escalate its privileges.
396
+ **/
397
+ NoPermission: GenericPalletError;
398
+
399
+ /**
400
+ * Announcement, if made at all, was made too recently.
401
+ **/
402
+ Unannounced: GenericPalletError;
403
+
404
+ /**
405
+ * Cannot add self as proxy.
406
+ **/
407
+ NoSelfProxy: GenericPalletError;
408
+
409
+ /**
410
+ * Generic pallet error
411
+ **/
412
+ [error: string]: GenericPalletError;
413
+ };
414
+ /**
415
+ * Pallet `MaintenanceMode`'s errors
416
+ **/
417
+ maintenanceMode: {
418
+ /**
419
+ * The chain cannot enter maintenance mode because it is already in maintenance mode
420
+ **/
421
+ AlreadyInMaintenanceMode: GenericPalletError;
422
+
423
+ /**
424
+ * The chain cannot resume normal operation because it is not in maintenance mode
425
+ **/
426
+ NotInMaintenanceMode: GenericPalletError;
427
+
428
+ /**
429
+ * Generic pallet error
430
+ **/
431
+ [error: string]: GenericPalletError;
432
+ };
433
+ /**
434
+ * Pallet `Identity`'s errors
435
+ **/
436
+ identity: {
437
+ /**
438
+ * Too many subs-accounts.
439
+ **/
440
+ TooManySubAccounts: GenericPalletError;
441
+
442
+ /**
443
+ * Account isn't found.
444
+ **/
445
+ NotFound: GenericPalletError;
446
+
447
+ /**
448
+ * Account isn't named.
449
+ **/
450
+ NotNamed: GenericPalletError;
451
+
452
+ /**
453
+ * Empty index.
454
+ **/
455
+ EmptyIndex: GenericPalletError;
456
+
457
+ /**
458
+ * Fee is changed.
459
+ **/
460
+ FeeChanged: GenericPalletError;
461
+
462
+ /**
463
+ * No identity found.
464
+ **/
465
+ NoIdentity: GenericPalletError;
466
+
467
+ /**
468
+ * Sticky judgement.
469
+ **/
470
+ StickyJudgement: GenericPalletError;
471
+
472
+ /**
473
+ * Judgement given.
474
+ **/
475
+ JudgementGiven: GenericPalletError;
476
+
477
+ /**
478
+ * Invalid judgement.
479
+ **/
480
+ InvalidJudgement: GenericPalletError;
481
+
482
+ /**
483
+ * The index is invalid.
484
+ **/
485
+ InvalidIndex: GenericPalletError;
486
+
487
+ /**
488
+ * The target is invalid.
489
+ **/
490
+ InvalidTarget: GenericPalletError;
491
+
492
+ /**
493
+ * Too many additional fields.
494
+ **/
495
+ TooManyFields: GenericPalletError;
496
+
497
+ /**
498
+ * Maximum amount of registrars reached. Cannot add any more.
499
+ **/
500
+ TooManyRegistrars: GenericPalletError;
501
+
502
+ /**
503
+ * Account ID is already named.
504
+ **/
505
+ AlreadyClaimed: GenericPalletError;
506
+
507
+ /**
508
+ * Sender is not a sub-account.
509
+ **/
510
+ NotSub: GenericPalletError;
511
+
512
+ /**
513
+ * Sub-account isn't owned by sender.
514
+ **/
515
+ NotOwned: GenericPalletError;
516
+
517
+ /**
518
+ * The provided judgement was for a different identity.
519
+ **/
520
+ JudgementForDifferentIdentity: GenericPalletError;
521
+
522
+ /**
523
+ * Error that occurs when there is an issue paying for judgement.
524
+ **/
525
+ JudgementPaymentFailed: GenericPalletError;
526
+
527
+ /**
528
+ * Generic pallet error
529
+ **/
530
+ [error: string]: GenericPalletError;
531
+ };
532
+ /**
533
+ * Pallet `Migrations`'s errors
534
+ **/
535
+ migrations: {
536
+ /**
537
+ * Missing preimage in original democracy storage
538
+ **/
539
+ PreimageMissing: GenericPalletError;
540
+
541
+ /**
542
+ * Provided upper bound is too low.
543
+ **/
544
+ WrongUpperBound: GenericPalletError;
545
+
546
+ /**
547
+ * Preimage is larger than the new max size.
548
+ **/
549
+ PreimageIsTooBig: GenericPalletError;
550
+
551
+ /**
552
+ * Preimage already exists in the new storage.
553
+ **/
554
+ PreimageAlreadyExists: GenericPalletError;
555
+
556
+ /**
557
+ * Generic pallet error
558
+ **/
559
+ [error: string]: GenericPalletError;
560
+ };
561
+ /**
562
+ * Pallet `Multisig`'s errors
563
+ **/
564
+ multisig: {
565
+ /**
566
+ * Threshold must be 2 or greater.
567
+ **/
568
+ MinimumThreshold: GenericPalletError;
569
+
570
+ /**
571
+ * Call is already approved by this signatory.
572
+ **/
573
+ AlreadyApproved: GenericPalletError;
574
+
575
+ /**
576
+ * Call doesn't need any (more) approvals.
577
+ **/
578
+ NoApprovalsNeeded: GenericPalletError;
579
+
580
+ /**
581
+ * There are too few signatories in the list.
582
+ **/
583
+ TooFewSignatories: GenericPalletError;
584
+
585
+ /**
586
+ * There are too many signatories in the list.
587
+ **/
588
+ TooManySignatories: GenericPalletError;
589
+
590
+ /**
591
+ * The signatories were provided out of order; they should be ordered.
592
+ **/
593
+ SignatoriesOutOfOrder: GenericPalletError;
594
+
595
+ /**
596
+ * The sender was contained in the other signatories; it shouldn't be.
597
+ **/
598
+ SenderInSignatories: GenericPalletError;
599
+
600
+ /**
601
+ * Multisig operation not found when attempting to cancel.
602
+ **/
603
+ NotFound: GenericPalletError;
604
+
605
+ /**
606
+ * Only the account that originally created the multisig is able to cancel it.
607
+ **/
608
+ NotOwner: GenericPalletError;
609
+
610
+ /**
611
+ * No timepoint was given, yet the multisig operation is already underway.
612
+ **/
613
+ NoTimepoint: GenericPalletError;
614
+
615
+ /**
616
+ * A different timepoint was given to the multisig operation that is underway.
617
+ **/
618
+ WrongTimepoint: GenericPalletError;
619
+
620
+ /**
621
+ * A timepoint was given, yet no multisig operation is underway.
622
+ **/
623
+ UnexpectedTimepoint: GenericPalletError;
624
+
625
+ /**
626
+ * The maximum weight information provided was too low.
627
+ **/
628
+ MaxWeightTooLow: GenericPalletError;
629
+
630
+ /**
631
+ * The data to be stored is already stored.
632
+ **/
633
+ AlreadyStored: GenericPalletError;
634
+
635
+ /**
636
+ * Generic pallet error
637
+ **/
638
+ [error: string]: GenericPalletError;
639
+ };
640
+ /**
641
+ * Pallet `EVM`'s errors
642
+ **/
643
+ evm: {
644
+ /**
645
+ * Not enough balance to perform action
646
+ **/
647
+ BalanceLow: GenericPalletError;
648
+
649
+ /**
650
+ * Calculating total fee overflowed
651
+ **/
652
+ FeeOverflow: GenericPalletError;
653
+
654
+ /**
655
+ * Calculating total payment overflowed
656
+ **/
657
+ PaymentOverflow: GenericPalletError;
658
+
659
+ /**
660
+ * Withdraw fee failed
661
+ **/
662
+ WithdrawFailed: GenericPalletError;
663
+
664
+ /**
665
+ * Gas price is too low.
666
+ **/
667
+ GasPriceTooLow: GenericPalletError;
668
+
669
+ /**
670
+ * Nonce is invalid
671
+ **/
672
+ InvalidNonce: GenericPalletError;
673
+
674
+ /**
675
+ * Gas limit is too low.
676
+ **/
677
+ GasLimitTooLow: GenericPalletError;
678
+
679
+ /**
680
+ * Gas limit is too high.
681
+ **/
682
+ GasLimitTooHigh: GenericPalletError;
683
+
684
+ /**
685
+ * The chain id is invalid.
686
+ **/
687
+ InvalidChainId: GenericPalletError;
688
+
689
+ /**
690
+ * the signature is invalid.
691
+ **/
692
+ InvalidSignature: GenericPalletError;
693
+
694
+ /**
695
+ * EVM reentrancy
696
+ **/
697
+ Reentrancy: GenericPalletError;
698
+
699
+ /**
700
+ * EIP-3607,
701
+ **/
702
+ TransactionMustComeFromEOA: GenericPalletError;
703
+
704
+ /**
705
+ * Undefined error.
706
+ **/
707
+ Undefined: GenericPalletError;
708
+
709
+ /**
710
+ * Generic pallet error
711
+ **/
712
+ [error: string]: GenericPalletError;
713
+ };
714
+ /**
715
+ * Pallet `Ethereum`'s errors
716
+ **/
717
+ ethereum: {
718
+ /**
719
+ * Signature is invalid.
720
+ **/
721
+ InvalidSignature: GenericPalletError;
722
+
723
+ /**
724
+ * Pre-log is present, therefore transact is not allowed.
725
+ **/
726
+ PreLogExists: GenericPalletError;
727
+
728
+ /**
729
+ * Generic pallet error
730
+ **/
731
+ [error: string]: GenericPalletError;
732
+ };
733
+ /**
734
+ * Pallet `Scheduler`'s errors
735
+ **/
736
+ scheduler: {
737
+ /**
738
+ * Failed to schedule a call
739
+ **/
740
+ FailedToSchedule: GenericPalletError;
741
+
742
+ /**
743
+ * Cannot find the scheduled call.
744
+ **/
745
+ NotFound: GenericPalletError;
746
+
747
+ /**
748
+ * Given target block number is in the past.
749
+ **/
750
+ TargetBlockNumberInPast: GenericPalletError;
751
+
752
+ /**
753
+ * Reschedule failed because it does not change scheduled time.
754
+ **/
755
+ RescheduleNoChange: GenericPalletError;
756
+
757
+ /**
758
+ * Attempt to use a non-named function on a named task.
759
+ **/
760
+ Named: GenericPalletError;
761
+
762
+ /**
763
+ * Generic pallet error
764
+ **/
765
+ [error: string]: GenericPalletError;
766
+ };
767
+ /**
768
+ * Pallet `Democracy`'s errors
769
+ **/
770
+ democracy: {
771
+ /**
772
+ * Value too low
773
+ **/
774
+ ValueLow: GenericPalletError;
775
+
776
+ /**
777
+ * Proposal does not exist
778
+ **/
779
+ ProposalMissing: GenericPalletError;
780
+
781
+ /**
782
+ * Cannot cancel the same proposal twice
783
+ **/
784
+ AlreadyCanceled: GenericPalletError;
785
+
786
+ /**
787
+ * Proposal already made
788
+ **/
789
+ DuplicateProposal: GenericPalletError;
790
+
791
+ /**
792
+ * Proposal still blacklisted
793
+ **/
794
+ ProposalBlacklisted: GenericPalletError;
795
+
796
+ /**
797
+ * Next external proposal not simple majority
798
+ **/
799
+ NotSimpleMajority: GenericPalletError;
800
+
801
+ /**
802
+ * Invalid hash
803
+ **/
804
+ InvalidHash: GenericPalletError;
805
+
806
+ /**
807
+ * No external proposal
808
+ **/
809
+ NoProposal: GenericPalletError;
810
+
811
+ /**
812
+ * Identity may not veto a proposal twice
813
+ **/
814
+ AlreadyVetoed: GenericPalletError;
815
+
816
+ /**
817
+ * Vote given for invalid referendum
818
+ **/
819
+ ReferendumInvalid: GenericPalletError;
820
+
821
+ /**
822
+ * No proposals waiting
823
+ **/
824
+ NoneWaiting: GenericPalletError;
825
+
826
+ /**
827
+ * The given account did not vote on the referendum.
828
+ **/
829
+ NotVoter: GenericPalletError;
830
+
831
+ /**
832
+ * The actor has no permission to conduct the action.
833
+ **/
834
+ NoPermission: GenericPalletError;
835
+
836
+ /**
837
+ * The account is already delegating.
838
+ **/
839
+ AlreadyDelegating: GenericPalletError;
840
+
841
+ /**
842
+ * Too high a balance was provided that the account cannot afford.
843
+ **/
844
+ InsufficientFunds: GenericPalletError;
845
+
846
+ /**
847
+ * The account is not currently delegating.
848
+ **/
849
+ NotDelegating: GenericPalletError;
850
+
851
+ /**
852
+ * The account currently has votes attached to it and the operation cannot succeed until
853
+ * these are removed, either through `unvote` or `reap_vote`.
854
+ **/
855
+ VotesExist: GenericPalletError;
856
+
857
+ /**
858
+ * The instant referendum origin is currently disallowed.
859
+ **/
860
+ InstantNotAllowed: GenericPalletError;
861
+
862
+ /**
863
+ * Delegation to oneself makes no sense.
864
+ **/
865
+ Nonsense: GenericPalletError;
866
+
867
+ /**
868
+ * Invalid upper bound.
869
+ **/
870
+ WrongUpperBound: GenericPalletError;
871
+
872
+ /**
873
+ * Maximum number of votes reached.
874
+ **/
875
+ MaxVotesReached: GenericPalletError;
876
+
877
+ /**
878
+ * Maximum number of items reached.
879
+ **/
880
+ TooMany: GenericPalletError;
881
+
882
+ /**
883
+ * Voting period too low
884
+ **/
885
+ VotingPeriodLow: GenericPalletError;
886
+
887
+ /**
888
+ * The preimage does not exist.
889
+ **/
890
+ PreimageNotExist: GenericPalletError;
891
+
892
+ /**
893
+ * Generic pallet error
894
+ **/
895
+ [error: string]: GenericPalletError;
896
+ };
897
+ /**
898
+ * Pallet `Preimage`'s errors
899
+ **/
900
+ preimage: {
901
+ /**
902
+ * Preimage is too large to store on-chain.
903
+ **/
904
+ TooBig: GenericPalletError;
905
+
906
+ /**
907
+ * Preimage has already been noted on-chain.
908
+ **/
909
+ AlreadyNoted: GenericPalletError;
910
+
911
+ /**
912
+ * The user is not authorized to perform this action.
913
+ **/
914
+ NotAuthorized: GenericPalletError;
915
+
916
+ /**
917
+ * The preimage cannot be removed since it has not yet been noted.
918
+ **/
919
+ NotNoted: GenericPalletError;
920
+
921
+ /**
922
+ * A preimage may not be removed when there are outstanding requests.
923
+ **/
924
+ Requested: GenericPalletError;
925
+
926
+ /**
927
+ * The preimage request cannot be removed since no outstanding requests exist.
928
+ **/
929
+ NotRequested: GenericPalletError;
930
+
931
+ /**
932
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
933
+ **/
934
+ TooMany: GenericPalletError;
935
+
936
+ /**
937
+ * Too few hashes were requested to be upgraded (i.e. zero).
938
+ **/
939
+ TooFew: GenericPalletError;
940
+
941
+ /**
942
+ * Generic pallet error
943
+ **/
944
+ [error: string]: GenericPalletError;
945
+ };
946
+ /**
947
+ * Pallet `ConvictionVoting`'s errors
948
+ **/
949
+ convictionVoting: {
950
+ /**
951
+ * Poll is not ongoing.
952
+ **/
953
+ NotOngoing: GenericPalletError;
954
+
955
+ /**
956
+ * The given account did not vote on the poll.
957
+ **/
958
+ NotVoter: GenericPalletError;
959
+
960
+ /**
961
+ * The actor has no permission to conduct the action.
962
+ **/
963
+ NoPermission: GenericPalletError;
964
+
965
+ /**
966
+ * The actor has no permission to conduct the action right now but will do in the future.
967
+ **/
968
+ NoPermissionYet: GenericPalletError;
969
+
970
+ /**
971
+ * The account is already delegating.
972
+ **/
973
+ AlreadyDelegating: GenericPalletError;
974
+
975
+ /**
976
+ * The account currently has votes attached to it and the operation cannot succeed until
977
+ * these are removed, either through `unvote` or `reap_vote`.
978
+ **/
979
+ AlreadyVoting: GenericPalletError;
980
+
981
+ /**
982
+ * Too high a balance was provided that the account cannot afford.
983
+ **/
984
+ InsufficientFunds: GenericPalletError;
985
+
986
+ /**
987
+ * The account is not currently delegating.
988
+ **/
989
+ NotDelegating: GenericPalletError;
990
+
991
+ /**
992
+ * Delegation to oneself makes no sense.
993
+ **/
994
+ Nonsense: GenericPalletError;
995
+
996
+ /**
997
+ * Maximum number of votes reached.
998
+ **/
999
+ MaxVotesReached: GenericPalletError;
1000
+
1001
+ /**
1002
+ * The class must be supplied since it is not easily determinable from the state.
1003
+ **/
1004
+ ClassNeeded: GenericPalletError;
1005
+
1006
+ /**
1007
+ * The class ID supplied is invalid.
1008
+ **/
1009
+ BadClass: GenericPalletError;
1010
+
1011
+ /**
1012
+ * Generic pallet error
1013
+ **/
1014
+ [error: string]: GenericPalletError;
1015
+ };
1016
+ /**
1017
+ * Pallet `Referenda`'s errors
1018
+ **/
1019
+ referenda: {
1020
+ /**
1021
+ * Referendum is not ongoing.
1022
+ **/
1023
+ NotOngoing: GenericPalletError;
1024
+
1025
+ /**
1026
+ * Referendum's decision deposit is already paid.
1027
+ **/
1028
+ HasDeposit: GenericPalletError;
1029
+
1030
+ /**
1031
+ * The track identifier given was invalid.
1032
+ **/
1033
+ BadTrack: GenericPalletError;
1034
+
1035
+ /**
1036
+ * There are already a full complement of referenda in progress for this track.
1037
+ **/
1038
+ Full: GenericPalletError;
1039
+
1040
+ /**
1041
+ * The queue of the track is empty.
1042
+ **/
1043
+ QueueEmpty: GenericPalletError;
1044
+
1045
+ /**
1046
+ * The referendum index provided is invalid in this context.
1047
+ **/
1048
+ BadReferendum: GenericPalletError;
1049
+
1050
+ /**
1051
+ * There was nothing to do in the advancement.
1052
+ **/
1053
+ NothingToDo: GenericPalletError;
1054
+
1055
+ /**
1056
+ * No track exists for the proposal origin.
1057
+ **/
1058
+ NoTrack: GenericPalletError;
1059
+
1060
+ /**
1061
+ * Any deposit cannot be refunded until after the decision is over.
1062
+ **/
1063
+ Unfinished: GenericPalletError;
1064
+
1065
+ /**
1066
+ * The deposit refunder is not the depositor.
1067
+ **/
1068
+ NoPermission: GenericPalletError;
1069
+
1070
+ /**
1071
+ * The deposit cannot be refunded since none was made.
1072
+ **/
1073
+ NoDeposit: GenericPalletError;
1074
+
1075
+ /**
1076
+ * The referendum status is invalid for this operation.
1077
+ **/
1078
+ BadStatus: GenericPalletError;
1079
+
1080
+ /**
1081
+ * The preimage does not exist.
1082
+ **/
1083
+ PreimageNotExist: GenericPalletError;
1084
+
1085
+ /**
1086
+ * Generic pallet error
1087
+ **/
1088
+ [error: string]: GenericPalletError;
1089
+ };
1090
+ /**
1091
+ * Pallet `Whitelist`'s errors
1092
+ **/
1093
+ whitelist: {
1094
+ /**
1095
+ * The preimage of the call hash could not be loaded.
1096
+ **/
1097
+ UnavailablePreImage: GenericPalletError;
1098
+
1099
+ /**
1100
+ * The call could not be decoded.
1101
+ **/
1102
+ UndecodableCall: GenericPalletError;
1103
+
1104
+ /**
1105
+ * The weight of the decoded call was higher than the witness.
1106
+ **/
1107
+ InvalidCallWeightWitness: GenericPalletError;
1108
+
1109
+ /**
1110
+ * The call was not whitelisted.
1111
+ **/
1112
+ CallIsNotWhitelisted: GenericPalletError;
1113
+
1114
+ /**
1115
+ * The call was already whitelisted; No-Op.
1116
+ **/
1117
+ CallAlreadyWhitelisted: GenericPalletError;
1118
+
1119
+ /**
1120
+ * Generic pallet error
1121
+ **/
1122
+ [error: string]: GenericPalletError;
1123
+ };
1124
+ /**
1125
+ * Pallet `CouncilCollective`'s errors
1126
+ **/
1127
+ councilCollective: {
1128
+ /**
1129
+ * Account is not a member
1130
+ **/
1131
+ NotMember: GenericPalletError;
1132
+
1133
+ /**
1134
+ * Duplicate proposals not allowed
1135
+ **/
1136
+ DuplicateProposal: GenericPalletError;
1137
+
1138
+ /**
1139
+ * Proposal must exist
1140
+ **/
1141
+ ProposalMissing: GenericPalletError;
1142
+
1143
+ /**
1144
+ * Mismatched index
1145
+ **/
1146
+ WrongIndex: GenericPalletError;
1147
+
1148
+ /**
1149
+ * Duplicate vote ignored
1150
+ **/
1151
+ DuplicateVote: GenericPalletError;
1152
+
1153
+ /**
1154
+ * Members are already initialized!
1155
+ **/
1156
+ AlreadyInitialized: GenericPalletError;
1157
+
1158
+ /**
1159
+ * The close call was made too early, before the end of the voting.
1160
+ **/
1161
+ TooEarly: GenericPalletError;
1162
+
1163
+ /**
1164
+ * There can only be a maximum of `MaxProposals` active proposals.
1165
+ **/
1166
+ TooManyProposals: GenericPalletError;
1167
+
1168
+ /**
1169
+ * The given weight bound for the proposal was too low.
1170
+ **/
1171
+ WrongProposalWeight: GenericPalletError;
1172
+
1173
+ /**
1174
+ * The given length bound for the proposal was too low.
1175
+ **/
1176
+ WrongProposalLength: GenericPalletError;
1177
+
1178
+ /**
1179
+ * Prime account is not a member
1180
+ **/
1181
+ PrimeAccountNotMember: GenericPalletError;
1182
+
1183
+ /**
1184
+ * Generic pallet error
1185
+ **/
1186
+ [error: string]: GenericPalletError;
1187
+ };
1188
+ /**
1189
+ * Pallet `TechCommitteeCollective`'s errors
1190
+ **/
1191
+ techCommitteeCollective: {
1192
+ /**
1193
+ * Account is not a member
1194
+ **/
1195
+ NotMember: GenericPalletError;
1196
+
1197
+ /**
1198
+ * Duplicate proposals not allowed
1199
+ **/
1200
+ DuplicateProposal: GenericPalletError;
1201
+
1202
+ /**
1203
+ * Proposal must exist
1204
+ **/
1205
+ ProposalMissing: GenericPalletError;
1206
+
1207
+ /**
1208
+ * Mismatched index
1209
+ **/
1210
+ WrongIndex: GenericPalletError;
1211
+
1212
+ /**
1213
+ * Duplicate vote ignored
1214
+ **/
1215
+ DuplicateVote: GenericPalletError;
1216
+
1217
+ /**
1218
+ * Members are already initialized!
1219
+ **/
1220
+ AlreadyInitialized: GenericPalletError;
1221
+
1222
+ /**
1223
+ * The close call was made too early, before the end of the voting.
1224
+ **/
1225
+ TooEarly: GenericPalletError;
1226
+
1227
+ /**
1228
+ * There can only be a maximum of `MaxProposals` active proposals.
1229
+ **/
1230
+ TooManyProposals: GenericPalletError;
1231
+
1232
+ /**
1233
+ * The given weight bound for the proposal was too low.
1234
+ **/
1235
+ WrongProposalWeight: GenericPalletError;
1236
+
1237
+ /**
1238
+ * The given length bound for the proposal was too low.
1239
+ **/
1240
+ WrongProposalLength: GenericPalletError;
1241
+
1242
+ /**
1243
+ * Prime account is not a member
1244
+ **/
1245
+ PrimeAccountNotMember: GenericPalletError;
1246
+
1247
+ /**
1248
+ * Generic pallet error
1249
+ **/
1250
+ [error: string]: GenericPalletError;
1251
+ };
1252
+ /**
1253
+ * Pallet `TreasuryCouncilCollective`'s errors
1254
+ **/
1255
+ treasuryCouncilCollective: {
1256
+ /**
1257
+ * Account is not a member
1258
+ **/
1259
+ NotMember: GenericPalletError;
1260
+
1261
+ /**
1262
+ * Duplicate proposals not allowed
1263
+ **/
1264
+ DuplicateProposal: GenericPalletError;
1265
+
1266
+ /**
1267
+ * Proposal must exist
1268
+ **/
1269
+ ProposalMissing: GenericPalletError;
1270
+
1271
+ /**
1272
+ * Mismatched index
1273
+ **/
1274
+ WrongIndex: GenericPalletError;
1275
+
1276
+ /**
1277
+ * Duplicate vote ignored
1278
+ **/
1279
+ DuplicateVote: GenericPalletError;
1280
+
1281
+ /**
1282
+ * Members are already initialized!
1283
+ **/
1284
+ AlreadyInitialized: GenericPalletError;
1285
+
1286
+ /**
1287
+ * The close call was made too early, before the end of the voting.
1288
+ **/
1289
+ TooEarly: GenericPalletError;
1290
+
1291
+ /**
1292
+ * There can only be a maximum of `MaxProposals` active proposals.
1293
+ **/
1294
+ TooManyProposals: GenericPalletError;
1295
+
1296
+ /**
1297
+ * The given weight bound for the proposal was too low.
1298
+ **/
1299
+ WrongProposalWeight: GenericPalletError;
1300
+
1301
+ /**
1302
+ * The given length bound for the proposal was too low.
1303
+ **/
1304
+ WrongProposalLength: GenericPalletError;
1305
+
1306
+ /**
1307
+ * Prime account is not a member
1308
+ **/
1309
+ PrimeAccountNotMember: GenericPalletError;
1310
+
1311
+ /**
1312
+ * Generic pallet error
1313
+ **/
1314
+ [error: string]: GenericPalletError;
1315
+ };
1316
+ /**
1317
+ * Pallet `OpenTechCommitteeCollective`'s errors
1318
+ **/
1319
+ openTechCommitteeCollective: {
1320
+ /**
1321
+ * Account is not a member
1322
+ **/
1323
+ NotMember: GenericPalletError;
1324
+
1325
+ /**
1326
+ * Duplicate proposals not allowed
1327
+ **/
1328
+ DuplicateProposal: GenericPalletError;
1329
+
1330
+ /**
1331
+ * Proposal must exist
1332
+ **/
1333
+ ProposalMissing: GenericPalletError;
1334
+
1335
+ /**
1336
+ * Mismatched index
1337
+ **/
1338
+ WrongIndex: GenericPalletError;
1339
+
1340
+ /**
1341
+ * Duplicate vote ignored
1342
+ **/
1343
+ DuplicateVote: GenericPalletError;
1344
+
1345
+ /**
1346
+ * Members are already initialized!
1347
+ **/
1348
+ AlreadyInitialized: GenericPalletError;
1349
+
1350
+ /**
1351
+ * The close call was made too early, before the end of the voting.
1352
+ **/
1353
+ TooEarly: GenericPalletError;
1354
+
1355
+ /**
1356
+ * There can only be a maximum of `MaxProposals` active proposals.
1357
+ **/
1358
+ TooManyProposals: GenericPalletError;
1359
+
1360
+ /**
1361
+ * The given weight bound for the proposal was too low.
1362
+ **/
1363
+ WrongProposalWeight: GenericPalletError;
1364
+
1365
+ /**
1366
+ * The given length bound for the proposal was too low.
1367
+ **/
1368
+ WrongProposalLength: GenericPalletError;
1369
+
1370
+ /**
1371
+ * Prime account is not a member
1372
+ **/
1373
+ PrimeAccountNotMember: GenericPalletError;
1374
+
1375
+ /**
1376
+ * Generic pallet error
1377
+ **/
1378
+ [error: string]: GenericPalletError;
1379
+ };
1380
+ /**
1381
+ * Pallet `Treasury`'s errors
1382
+ **/
1383
+ treasury: {
1384
+ /**
1385
+ * Proposer's balance is too low.
1386
+ **/
1387
+ InsufficientProposersBalance: GenericPalletError;
1388
+
1389
+ /**
1390
+ * No proposal, bounty or spend at that index.
1391
+ **/
1392
+ InvalidIndex: GenericPalletError;
1393
+
1394
+ /**
1395
+ * Too many approvals in the queue.
1396
+ **/
1397
+ TooManyApprovals: GenericPalletError;
1398
+
1399
+ /**
1400
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
1401
+ * amount to be spent.
1402
+ **/
1403
+ InsufficientPermission: GenericPalletError;
1404
+
1405
+ /**
1406
+ * Proposal has not been approved.
1407
+ **/
1408
+ ProposalNotApproved: GenericPalletError;
1409
+
1410
+ /**
1411
+ * The balance of the asset kind is not convertible to the balance of the native asset.
1412
+ **/
1413
+ FailedToConvertBalance: GenericPalletError;
1414
+
1415
+ /**
1416
+ * The spend has expired and cannot be claimed.
1417
+ **/
1418
+ SpendExpired: GenericPalletError;
1419
+
1420
+ /**
1421
+ * The spend is not yet eligible for payout.
1422
+ **/
1423
+ EarlyPayout: GenericPalletError;
1424
+
1425
+ /**
1426
+ * The payment has already been attempted.
1427
+ **/
1428
+ AlreadyAttempted: GenericPalletError;
1429
+
1430
+ /**
1431
+ * There was some issue with the mechanism of payment.
1432
+ **/
1433
+ PayoutError: GenericPalletError;
1434
+
1435
+ /**
1436
+ * The payout was not yet attempted/claimed.
1437
+ **/
1438
+ NotAttempted: GenericPalletError;
1439
+
1440
+ /**
1441
+ * The payment has neither failed nor succeeded yet.
1442
+ **/
1443
+ Inconclusive: GenericPalletError;
1444
+
1445
+ /**
1446
+ * Generic pallet error
1447
+ **/
1448
+ [error: string]: GenericPalletError;
1449
+ };
1450
+ /**
1451
+ * Pallet `CrowdloanRewards`'s errors
1452
+ **/
1453
+ crowdloanRewards: {
1454
+ /**
1455
+ * User trying to associate a native identity with a relay chain identity for posterior
1456
+ * reward claiming provided an already associated relay chain identity
1457
+ **/
1458
+ AlreadyAssociated: GenericPalletError;
1459
+
1460
+ /**
1461
+ * Trying to introduce a batch that goes beyond the limits of the funds
1462
+ **/
1463
+ BatchBeyondFundPot: GenericPalletError;
1464
+
1465
+ /**
1466
+ * First claim already done
1467
+ **/
1468
+ FirstClaimAlreadyDone: GenericPalletError;
1469
+
1470
+ /**
1471
+ * The contribution is not high enough to be eligible for rewards
1472
+ **/
1473
+ RewardNotHighEnough: GenericPalletError;
1474
+
1475
+ /**
1476
+ * User trying to associate a native identity with a relay chain identity for posterior
1477
+ * reward claiming provided a wrong signature
1478
+ **/
1479
+ InvalidClaimSignature: GenericPalletError;
1480
+
1481
+ /**
1482
+ * User trying to claim the first free reward provided the wrong signature
1483
+ **/
1484
+ InvalidFreeClaimSignature: GenericPalletError;
1485
+
1486
+ /**
1487
+ * User trying to claim an award did not have an claim associated with it. This may mean
1488
+ * they did not contribute to the crowdloan, or they have not yet associated a native id
1489
+ * with their contribution
1490
+ **/
1491
+ NoAssociatedClaim: GenericPalletError;
1492
+
1493
+ /**
1494
+ * User trying to claim rewards has already claimed all rewards associated with its
1495
+ * identity and contribution
1496
+ **/
1497
+ RewardsAlreadyClaimed: GenericPalletError;
1498
+
1499
+ /**
1500
+ * Reward vec has already been initialized
1501
+ **/
1502
+ RewardVecAlreadyInitialized: GenericPalletError;
1503
+
1504
+ /**
1505
+ * Reward vec has not yet been fully initialized
1506
+ **/
1507
+ RewardVecNotFullyInitializedYet: GenericPalletError;
1508
+
1509
+ /**
1510
+ * Rewards should match funds of the pallet
1511
+ **/
1512
+ RewardsDoNotMatchFund: GenericPalletError;
1513
+
1514
+ /**
1515
+ * Initialize_reward_vec received too many contributors
1516
+ **/
1517
+ TooManyContributors: GenericPalletError;
1518
+
1519
+ /**
1520
+ * Provided vesting period is not valid
1521
+ **/
1522
+ VestingPeriodNonValid: GenericPalletError;
1523
+
1524
+ /**
1525
+ * User provided a signature from a non-contributor relay account
1526
+ **/
1527
+ NonContributedAddressProvided: GenericPalletError;
1528
+
1529
+ /**
1530
+ * User submitted an unsifficient number of proofs to change the reward address
1531
+ **/
1532
+ InsufficientNumberOfValidProofs: GenericPalletError;
1533
+
1534
+ /**
1535
+ * Generic pallet error
1536
+ **/
1537
+ [error: string]: GenericPalletError;
1538
+ };
1539
+ /**
1540
+ * Pallet `XcmpQueue`'s errors
1541
+ **/
1542
+ xcmpQueue: {
1543
+ /**
1544
+ * Failed to send XCM message.
1545
+ **/
1546
+ FailedToSend: GenericPalletError;
1547
+
1548
+ /**
1549
+ * Bad XCM origin.
1550
+ **/
1551
+ BadXcmOrigin: GenericPalletError;
1552
+
1553
+ /**
1554
+ * Bad XCM data.
1555
+ **/
1556
+ BadXcm: GenericPalletError;
1557
+
1558
+ /**
1559
+ * Bad overweight index.
1560
+ **/
1561
+ BadOverweightIndex: GenericPalletError;
1562
+
1563
+ /**
1564
+ * Provided weight is possibly not enough to execute the message.
1565
+ **/
1566
+ WeightOverLimit: GenericPalletError;
1567
+
1568
+ /**
1569
+ * Generic pallet error
1570
+ **/
1571
+ [error: string]: GenericPalletError;
1572
+ };
1573
+ /**
1574
+ * Pallet `CumulusXcm`'s errors
1575
+ **/
1576
+ cumulusXcm: {
1577
+ /**
1578
+ * Generic pallet error
1579
+ **/
1580
+ [error: string]: GenericPalletError;
1581
+ };
1582
+ /**
1583
+ * Pallet `DmpQueue`'s errors
1584
+ **/
1585
+ dmpQueue: {
1586
+ /**
1587
+ * The message index given is unknown.
1588
+ **/
1589
+ Unknown: GenericPalletError;
1590
+
1591
+ /**
1592
+ * The amount of weight given is possibly not enough for executing the message.
1593
+ **/
1594
+ OverLimit: GenericPalletError;
1595
+
1596
+ /**
1597
+ * Generic pallet error
1598
+ **/
1599
+ [error: string]: GenericPalletError;
1600
+ };
1601
+ /**
1602
+ * Pallet `PolkadotXcm`'s errors
1603
+ **/
1604
+ polkadotXcm: {
1605
+ /**
1606
+ * The desired destination was unreachable, generally because there is a no way of routing
1607
+ * to it.
1608
+ **/
1609
+ Unreachable: GenericPalletError;
1610
+
1611
+ /**
1612
+ * There was some other issue (i.e. not to do with routing) in sending the message.
1613
+ * Perhaps a lack of space for buffering the message.
1614
+ **/
1615
+ SendFailure: GenericPalletError;
1616
+
1617
+ /**
1618
+ * The message execution fails the filter.
1619
+ **/
1620
+ Filtered: GenericPalletError;
1621
+
1622
+ /**
1623
+ * The message's weight could not be determined.
1624
+ **/
1625
+ UnweighableMessage: GenericPalletError;
1626
+
1627
+ /**
1628
+ * The destination `MultiLocation` provided cannot be inverted.
1629
+ **/
1630
+ DestinationNotInvertible: GenericPalletError;
1631
+
1632
+ /**
1633
+ * The assets to be sent are empty.
1634
+ **/
1635
+ Empty: GenericPalletError;
1636
+
1637
+ /**
1638
+ * Could not re-anchor the assets to declare the fees for the destination chain.
1639
+ **/
1640
+ CannotReanchor: GenericPalletError;
1641
+
1642
+ /**
1643
+ * Too many assets have been attempted for transfer.
1644
+ **/
1645
+ TooManyAssets: GenericPalletError;
1646
+
1647
+ /**
1648
+ * Origin is invalid for sending.
1649
+ **/
1650
+ InvalidOrigin: GenericPalletError;
1651
+
1652
+ /**
1653
+ * The version of the `Versioned` value used is not able to be interpreted.
1654
+ **/
1655
+ BadVersion: GenericPalletError;
1656
+
1657
+ /**
1658
+ * The given location could not be used (e.g. because it cannot be expressed in the
1659
+ * desired version of XCM).
1660
+ **/
1661
+ BadLocation: GenericPalletError;
1662
+
1663
+ /**
1664
+ * The referenced subscription could not be found.
1665
+ **/
1666
+ NoSubscription: GenericPalletError;
1667
+
1668
+ /**
1669
+ * The location is invalid since it already has a subscription from us.
1670
+ **/
1671
+ AlreadySubscribed: GenericPalletError;
1672
+
1673
+ /**
1674
+ * Invalid asset for the operation.
1675
+ **/
1676
+ InvalidAsset: GenericPalletError;
1677
+
1678
+ /**
1679
+ * The owner does not own (all) of the asset that they wish to do the operation on.
1680
+ **/
1681
+ LowBalance: GenericPalletError;
1682
+
1683
+ /**
1684
+ * The asset owner has too many locks on the asset.
1685
+ **/
1686
+ TooManyLocks: GenericPalletError;
1687
+
1688
+ /**
1689
+ * The given account is not an identifiable sovereign account for any location.
1690
+ **/
1691
+ AccountNotSovereign: GenericPalletError;
1692
+
1693
+ /**
1694
+ * The operation required fees to be paid which the initiator could not meet.
1695
+ **/
1696
+ FeesNotMet: GenericPalletError;
1697
+
1698
+ /**
1699
+ * A remote lock with the corresponding data could not be found.
1700
+ **/
1701
+ LockNotFound: GenericPalletError;
1702
+
1703
+ /**
1704
+ * The unlock operation cannot succeed because there are still consumers of the lock.
1705
+ **/
1706
+ InUse: GenericPalletError;
1707
+
1708
+ /**
1709
+ * Generic pallet error
1710
+ **/
1711
+ [error: string]: GenericPalletError;
1712
+ };
1713
+ /**
1714
+ * Pallet `Assets`'s errors
1715
+ **/
1716
+ assets: {
1717
+ /**
1718
+ * Account balance must be greater than or equal to the transfer amount.
1719
+ **/
1720
+ BalanceLow: GenericPalletError;
1721
+
1722
+ /**
1723
+ * The account to alter does not exist.
1724
+ **/
1725
+ NoAccount: GenericPalletError;
1726
+
1727
+ /**
1728
+ * The signing account has no permission to do the operation.
1729
+ **/
1730
+ NoPermission: GenericPalletError;
1731
+
1732
+ /**
1733
+ * The given asset ID is unknown.
1734
+ **/
1735
+ Unknown: GenericPalletError;
1736
+
1737
+ /**
1738
+ * The origin account is frozen.
1739
+ **/
1740
+ Frozen: GenericPalletError;
1741
+
1742
+ /**
1743
+ * The asset ID is already taken.
1744
+ **/
1745
+ InUse: GenericPalletError;
1746
+
1747
+ /**
1748
+ * Invalid witness data given.
1749
+ **/
1750
+ BadWitness: GenericPalletError;
1751
+
1752
+ /**
1753
+ * Minimum balance should be non-zero.
1754
+ **/
1755
+ MinBalanceZero: GenericPalletError;
1756
+
1757
+ /**
1758
+ * Unable to increment the consumer reference counters on the account. Either no provider
1759
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1760
+ * fewer then the maximum number of consumers has been reached.
1761
+ **/
1762
+ UnavailableConsumer: GenericPalletError;
1763
+
1764
+ /**
1765
+ * Invalid metadata given.
1766
+ **/
1767
+ BadMetadata: GenericPalletError;
1768
+
1769
+ /**
1770
+ * No approval exists that would allow the transfer.
1771
+ **/
1772
+ Unapproved: GenericPalletError;
1773
+
1774
+ /**
1775
+ * The source account would not survive the transfer and it needs to stay alive.
1776
+ **/
1777
+ WouldDie: GenericPalletError;
1778
+
1779
+ /**
1780
+ * The asset-account already exists.
1781
+ **/
1782
+ AlreadyExists: GenericPalletError;
1783
+
1784
+ /**
1785
+ * The asset-account doesn't have an associated deposit.
1786
+ **/
1787
+ NoDeposit: GenericPalletError;
1788
+
1789
+ /**
1790
+ * The operation would result in funds being burned.
1791
+ **/
1792
+ WouldBurn: GenericPalletError;
1793
+
1794
+ /**
1795
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1796
+ * as `start_destroy` which require the asset to be in a destroying state.
1797
+ **/
1798
+ LiveAsset: GenericPalletError;
1799
+
1800
+ /**
1801
+ * The asset is not live, and likely being destroyed.
1802
+ **/
1803
+ AssetNotLive: GenericPalletError;
1804
+
1805
+ /**
1806
+ * The asset status is not the expected status.
1807
+ **/
1808
+ IncorrectStatus: GenericPalletError;
1809
+
1810
+ /**
1811
+ * The asset should be frozen before the given operation.
1812
+ **/
1813
+ NotFrozen: GenericPalletError;
1814
+
1815
+ /**
1816
+ * Callback action resulted in error
1817
+ **/
1818
+ CallbackFailed: GenericPalletError;
1819
+
1820
+ /**
1821
+ * Generic pallet error
1822
+ **/
1823
+ [error: string]: GenericPalletError;
1824
+ };
1825
+ /**
1826
+ * Pallet `AssetManager`'s errors
1827
+ **/
1828
+ assetManager: {
1829
+ ErrorCreatingAsset: GenericPalletError;
1830
+ AssetAlreadyExists: GenericPalletError;
1831
+ AssetDoesNotExist: GenericPalletError;
1832
+ TooLowNumAssetsWeightHint: GenericPalletError;
1833
+ LocalAssetLimitReached: GenericPalletError;
1834
+ ErrorDestroyingAsset: GenericPalletError;
1835
+ NotSufficientDeposit: GenericPalletError;
1836
+ NonExistentLocalAsset: GenericPalletError;
1837
+
1838
+ /**
1839
+ * Generic pallet error
1840
+ **/
1841
+ [error: string]: GenericPalletError;
1842
+ };
1843
+ /**
1844
+ * Pallet `XTokens`'s errors
1845
+ **/
1846
+ xTokens: {
1847
+ /**
1848
+ * Asset has no reserve location.
1849
+ **/
1850
+ AssetHasNoReserve: GenericPalletError;
1851
+
1852
+ /**
1853
+ * Not cross-chain transfer.
1854
+ **/
1855
+ NotCrossChainTransfer: GenericPalletError;
1856
+
1857
+ /**
1858
+ * Invalid transfer destination.
1859
+ **/
1860
+ InvalidDest: GenericPalletError;
1861
+
1862
+ /**
1863
+ * Currency is not cross-chain transferable.
1864
+ **/
1865
+ NotCrossChainTransferableCurrency: GenericPalletError;
1866
+
1867
+ /**
1868
+ * The message's weight could not be determined.
1869
+ **/
1870
+ UnweighableMessage: GenericPalletError;
1871
+
1872
+ /**
1873
+ * XCM execution failed.
1874
+ **/
1875
+ XcmExecutionFailed: GenericPalletError;
1876
+
1877
+ /**
1878
+ * Could not re-anchor the assets to declare the fees for the
1879
+ * destination chain.
1880
+ **/
1881
+ CannotReanchor: GenericPalletError;
1882
+
1883
+ /**
1884
+ * Could not get ancestry of asset reserve location.
1885
+ **/
1886
+ InvalidAncestry: GenericPalletError;
1887
+
1888
+ /**
1889
+ * The MultiAsset is invalid.
1890
+ **/
1891
+ InvalidAsset: GenericPalletError;
1892
+
1893
+ /**
1894
+ * The destination `MultiLocation` provided cannot be inverted.
1895
+ **/
1896
+ DestinationNotInvertible: GenericPalletError;
1897
+
1898
+ /**
1899
+ * The version of the `Versioned` value used is not able to be
1900
+ * interpreted.
1901
+ **/
1902
+ BadVersion: GenericPalletError;
1903
+
1904
+ /**
1905
+ * We tried sending distinct asset and fee but they have different
1906
+ * reserve chains.
1907
+ **/
1908
+ DistinctReserveForAssetAndFee: GenericPalletError;
1909
+
1910
+ /**
1911
+ * The fee is zero.
1912
+ **/
1913
+ ZeroFee: GenericPalletError;
1914
+
1915
+ /**
1916
+ * The transfering asset amount is zero.
1917
+ **/
1918
+ ZeroAmount: GenericPalletError;
1919
+
1920
+ /**
1921
+ * The number of assets to be sent is over the maximum.
1922
+ **/
1923
+ TooManyAssetsBeingSent: GenericPalletError;
1924
+
1925
+ /**
1926
+ * The specified index does not exist in a MultiAssets struct.
1927
+ **/
1928
+ AssetIndexNonExistent: GenericPalletError;
1929
+
1930
+ /**
1931
+ * Fee is not enough.
1932
+ **/
1933
+ FeeNotEnough: GenericPalletError;
1934
+
1935
+ /**
1936
+ * Not supported MultiLocation
1937
+ **/
1938
+ NotSupportedMultiLocation: GenericPalletError;
1939
+
1940
+ /**
1941
+ * MinXcmFee not registered for certain reserve location
1942
+ **/
1943
+ MinXcmFeeNotDefined: GenericPalletError;
1944
+
1945
+ /**
1946
+ * Generic pallet error
1947
+ **/
1948
+ [error: string]: GenericPalletError;
1949
+ };
1950
+ /**
1951
+ * Pallet `XcmTransactor`'s errors
1952
+ **/
1953
+ xcmTransactor: {
1954
+ IndexAlreadyClaimed: GenericPalletError;
1955
+ UnclaimedIndex: GenericPalletError;
1956
+ NotOwner: GenericPalletError;
1957
+ UnweighableMessage: GenericPalletError;
1958
+ CannotReanchor: GenericPalletError;
1959
+ AssetHasNoReserve: GenericPalletError;
1960
+ InvalidDest: GenericPalletError;
1961
+ NotCrossChainTransfer: GenericPalletError;
1962
+ AssetIsNotReserveInDestination: GenericPalletError;
1963
+ DestinationNotInvertible: GenericPalletError;
1964
+ ErrorDelivering: GenericPalletError;
1965
+ DispatchWeightBiggerThanTotalWeight: GenericPalletError;
1966
+ WeightOverflow: GenericPalletError;
1967
+ AmountOverflow: GenericPalletError;
1968
+ TransactorInfoNotSet: GenericPalletError;
1969
+ NotCrossChainTransferableCurrency: GenericPalletError;
1970
+ XcmExecuteError: GenericPalletError;
1971
+ BadVersion: GenericPalletError;
1972
+ MaxWeightTransactReached: GenericPalletError;
1973
+ UnableToWithdrawAsset: GenericPalletError;
1974
+ FeePerSecondNotSet: GenericPalletError;
1975
+ SignedTransactNotAllowedForDestination: GenericPalletError;
1976
+ FailedMultiLocationToJunction: GenericPalletError;
1977
+ HrmpHandlerNotImplemented: GenericPalletError;
1978
+ TooMuchFeeUsed: GenericPalletError;
1979
+ ErrorValidating: GenericPalletError;
1980
+ RefundNotSupportedWithTransactInfo: GenericPalletError;
1981
+
1982
+ /**
1983
+ * Generic pallet error
1984
+ **/
1985
+ [error: string]: GenericPalletError;
1986
+ };
1987
+ /**
1988
+ * Pallet `LocalAssets`'s errors
1989
+ **/
1990
+ localAssets: {
1991
+ /**
1992
+ * Account balance must be greater than or equal to the transfer amount.
1993
+ **/
1994
+ BalanceLow: GenericPalletError;
1995
+
1996
+ /**
1997
+ * The account to alter does not exist.
1998
+ **/
1999
+ NoAccount: GenericPalletError;
2000
+
2001
+ /**
2002
+ * The signing account has no permission to do the operation.
2003
+ **/
2004
+ NoPermission: GenericPalletError;
2005
+
2006
+ /**
2007
+ * The given asset ID is unknown.
2008
+ **/
2009
+ Unknown: GenericPalletError;
2010
+
2011
+ /**
2012
+ * The origin account is frozen.
2013
+ **/
2014
+ Frozen: GenericPalletError;
2015
+
2016
+ /**
2017
+ * The asset ID is already taken.
2018
+ **/
2019
+ InUse: GenericPalletError;
2020
+
2021
+ /**
2022
+ * Invalid witness data given.
2023
+ **/
2024
+ BadWitness: GenericPalletError;
2025
+
2026
+ /**
2027
+ * Minimum balance should be non-zero.
2028
+ **/
2029
+ MinBalanceZero: GenericPalletError;
2030
+
2031
+ /**
2032
+ * Unable to increment the consumer reference counters on the account. Either no provider
2033
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
2034
+ * fewer then the maximum number of consumers has been reached.
2035
+ **/
2036
+ UnavailableConsumer: GenericPalletError;
2037
+
2038
+ /**
2039
+ * Invalid metadata given.
2040
+ **/
2041
+ BadMetadata: GenericPalletError;
2042
+
2043
+ /**
2044
+ * No approval exists that would allow the transfer.
2045
+ **/
2046
+ Unapproved: GenericPalletError;
2047
+
2048
+ /**
2049
+ * The source account would not survive the transfer and it needs to stay alive.
2050
+ **/
2051
+ WouldDie: GenericPalletError;
2052
+
2053
+ /**
2054
+ * The asset-account already exists.
2055
+ **/
2056
+ AlreadyExists: GenericPalletError;
2057
+
2058
+ /**
2059
+ * The asset-account doesn't have an associated deposit.
2060
+ **/
2061
+ NoDeposit: GenericPalletError;
2062
+
2063
+ /**
2064
+ * The operation would result in funds being burned.
2065
+ **/
2066
+ WouldBurn: GenericPalletError;
2067
+
2068
+ /**
2069
+ * The asset is a live asset and is actively being used. Usually emit for operations such
2070
+ * as `start_destroy` which require the asset to be in a destroying state.
2071
+ **/
2072
+ LiveAsset: GenericPalletError;
2073
+
2074
+ /**
2075
+ * The asset is not live, and likely being destroyed.
2076
+ **/
2077
+ AssetNotLive: GenericPalletError;
2078
+
2079
+ /**
2080
+ * The asset status is not the expected status.
2081
+ **/
2082
+ IncorrectStatus: GenericPalletError;
2083
+
2084
+ /**
2085
+ * The asset should be frozen before the given operation.
2086
+ **/
2087
+ NotFrozen: GenericPalletError;
2088
+
2089
+ /**
2090
+ * Callback action resulted in error
2091
+ **/
2092
+ CallbackFailed: GenericPalletError;
2093
+
2094
+ /**
2095
+ * Generic pallet error
2096
+ **/
2097
+ [error: string]: GenericPalletError;
2098
+ };
2099
+ /**
2100
+ * Pallet `EthereumXcm`'s errors
2101
+ **/
2102
+ ethereumXcm: {
2103
+ /**
2104
+ * Xcm to Ethereum execution is suspended
2105
+ **/
2106
+ EthereumXcmExecutionSuspended: GenericPalletError;
2107
+
2108
+ /**
2109
+ * Generic pallet error
2110
+ **/
2111
+ [error: string]: GenericPalletError;
2112
+ };
2113
+ /**
2114
+ * Pallet `Randomness`'s errors
2115
+ **/
2116
+ randomness: {
2117
+ RequestCounterOverflowed: GenericPalletError;
2118
+ RequestFeeOverflowed: GenericPalletError;
2119
+ MustRequestAtLeastOneWord: GenericPalletError;
2120
+ CannotRequestMoreWordsThanMax: GenericPalletError;
2121
+ CannotRequestRandomnessAfterMaxDelay: GenericPalletError;
2122
+ CannotRequestRandomnessBeforeMinDelay: GenericPalletError;
2123
+ RequestDNE: GenericPalletError;
2124
+ RequestCannotYetBeFulfilled: GenericPalletError;
2125
+ OnlyRequesterCanIncreaseFee: GenericPalletError;
2126
+ RequestHasNotExpired: GenericPalletError;
2127
+ RandomnessResultDNE: GenericPalletError;
2128
+ RandomnessResultNotFilled: GenericPalletError;
2129
+
2130
+ /**
2131
+ * Generic pallet error
2132
+ **/
2133
+ [error: string]: GenericPalletError;
2134
+ };
2135
+ }