@dedot/chaintypes 0.0.1-alpha.100

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