@pezkuwi/api-augment 16.5.5

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 (67) hide show
  1. package/README.md +3 -0
  2. package/build/base.d.ts +2 -0
  3. package/build/bundle.d.ts +2 -0
  4. package/build/index.d.ts +2 -0
  5. package/build/packageDetect.d.ts +1 -0
  6. package/build/packageInfo.d.ts +6 -0
  7. package/build/substrate/consts.d.ts +1876 -0
  8. package/build/substrate/errors.d.ts +3865 -0
  9. package/build/substrate/events.d.ts +4702 -0
  10. package/build/substrate/index.d.ts +8 -0
  11. package/build/substrate/query.d.ts +2767 -0
  12. package/build/substrate/registry.d.ts +1 -0
  13. package/build/substrate/runtime.d.ts +741 -0
  14. package/build/substrate/tx.d.ts +10869 -0
  15. package/package.json +32 -0
  16. package/src/assetHubKusama/consts.ts +1308 -0
  17. package/src/assetHubKusama/errors.ts +2779 -0
  18. package/src/assetHubKusama/events.ts +2296 -0
  19. package/src/assetHubKusama/index.ts +11 -0
  20. package/src/assetHubKusama/query.ts +2193 -0
  21. package/src/assetHubKusama/registry.ts +4 -0
  22. package/src/assetHubKusama/runtime.ts +518 -0
  23. package/src/assetHubKusama/tx.ts +6890 -0
  24. package/src/assetHubPolkadot/consts.ts +1125 -0
  25. package/src/assetHubPolkadot/errors.ts +2360 -0
  26. package/src/assetHubPolkadot/events.ts +2129 -0
  27. package/src/assetHubPolkadot/index.ts +11 -0
  28. package/src/assetHubPolkadot/query.ts +2002 -0
  29. package/src/assetHubPolkadot/registry.ts +4 -0
  30. package/src/assetHubPolkadot/runtime.ts +443 -0
  31. package/src/assetHubPolkadot/tx.ts +6242 -0
  32. package/src/base.ts +6 -0
  33. package/src/bundle.ts +6 -0
  34. package/src/index.ts +6 -0
  35. package/src/kusama/consts.ts +1035 -0
  36. package/src/kusama/errors.ts +2436 -0
  37. package/src/kusama/events.ts +1791 -0
  38. package/src/kusama/index.ts +11 -0
  39. package/src/kusama/query.ts +2505 -0
  40. package/src/kusama/registry.ts +6 -0
  41. package/src/kusama/runtime.ts +610 -0
  42. package/src/kusama/tx.ts +4725 -0
  43. package/src/mod.ts +4 -0
  44. package/src/packageDetect.ts +14 -0
  45. package/src/packageInfo.ts +6 -0
  46. package/src/polkadot/consts.ts +949 -0
  47. package/src/polkadot/errors.ts +2156 -0
  48. package/src/polkadot/events.ts +1600 -0
  49. package/src/polkadot/index.ts +11 -0
  50. package/src/polkadot/query.ts +2357 -0
  51. package/src/polkadot/registry.ts +5 -0
  52. package/src/polkadot/runtime.ts +621 -0
  53. package/src/polkadot/tx.ts +4240 -0
  54. package/src/substrate/consts.ts +1884 -0
  55. package/src/substrate/errors.ts +3873 -0
  56. package/src/substrate/events.ts +2889 -0
  57. package/src/substrate/index.ts +11 -0
  58. package/src/substrate/query.ts +2734 -0
  59. package/src/substrate/registry.ts +4 -0
  60. package/src/substrate/runtime.ts +593 -0
  61. package/src/substrate/tx.ts +8208 -0
  62. package/tsconfig.assetHubKusama.json +22 -0
  63. package/tsconfig.assetHubPolkadot.json +22 -0
  64. package/tsconfig.build.json +23 -0
  65. package/tsconfig.build.tsbuildinfo +1 -0
  66. package/tsconfig.kusama.json +22 -0
  67. package/tsconfig.polkadot.json +22 -0
@@ -0,0 +1,2779 @@
1
+ // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import '@polkadot/api-base/types/errors';
7
+
8
+ import type { ApiTypes, AugmentedError } from '@pezkuwi/api-base/types';
9
+
10
+ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
11
+
12
+ declare module '@polkadot/api-base/types/errors' {
13
+ interface AugmentedErrors<ApiType extends ApiTypes> {
14
+ ahMigrator: {
15
+ /**
16
+ * The XCM version is invalid.
17
+ **/
18
+ BadXcmVersion: AugmentedError<ApiType>;
19
+ /**
20
+ * The DMP queue priority is already set to the same value.
21
+ **/
22
+ DmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
23
+ /**
24
+ * Failed to bound a call.
25
+ **/
26
+ FailedToBoundCall: AugmentedError<ApiType>;
27
+ /**
28
+ * Vector did not fit into its compile-time bound.
29
+ **/
30
+ FailedToBoundVector: AugmentedError<ApiType>;
31
+ /**
32
+ * Checking account overflow or underflow.
33
+ **/
34
+ FailedToCalculateCheckingAccount: AugmentedError<ApiType>;
35
+ /**
36
+ * Failed to convert RC call to AH call.
37
+ **/
38
+ FailedToConvertCall: AugmentedError<ApiType>;
39
+ /**
40
+ * Failed to convert RC type to AH type.
41
+ **/
42
+ FailedToConvertType: AugmentedError<ApiType>;
43
+ /**
44
+ * Failed to integrate a vesting schedule.
45
+ **/
46
+ FailedToIntegrateVestingSchedule: AugmentedError<ApiType>;
47
+ /**
48
+ * Failed to process an account data from RC.
49
+ **/
50
+ FailedToProcessAccount: AugmentedError<ApiType>;
51
+ /**
52
+ * Failed to unreserve deposit.
53
+ **/
54
+ FailedToUnreserveDeposit: AugmentedError<ApiType>;
55
+ /**
56
+ * Some item could not be inserted because it already exists.
57
+ **/
58
+ InsertConflict: AugmentedError<ApiType>;
59
+ /**
60
+ * The origin is invalid.
61
+ **/
62
+ InvalidOrigin: AugmentedError<ApiType>;
63
+ /**
64
+ * Invalid parameter.
65
+ **/
66
+ InvalidParameter: AugmentedError<ApiType>;
67
+ /**
68
+ * Preimage chunk missing.
69
+ **/
70
+ PreimageChunkMissing: AugmentedError<ApiType>;
71
+ /**
72
+ * Preimage missing.
73
+ **/
74
+ PreimageMissing: AugmentedError<ApiType>;
75
+ /**
76
+ * Failed to fetch preimage.
77
+ **/
78
+ PreimageNotFound: AugmentedError<ApiType>;
79
+ /**
80
+ * Preimage status invalid.
81
+ **/
82
+ PreimageStatusInvalid: AugmentedError<ApiType>;
83
+ /**
84
+ * Preimage too big.
85
+ **/
86
+ PreimageTooBig: AugmentedError<ApiType>;
87
+ /**
88
+ * Failed to send XCM message.
89
+ **/
90
+ XcmError: AugmentedError<ApiType>;
91
+ /**
92
+ * Generic error
93
+ **/
94
+ [key: string]: AugmentedError<ApiType>;
95
+ };
96
+ ahOps: {
97
+ /**
98
+ * Not all contributions are withdrawn.
99
+ **/
100
+ ContributionsRemaining: AugmentedError<ApiType>;
101
+ /**
102
+ * Failed to withdraw crowdloan contribution.
103
+ **/
104
+ FailedToWithdrawCrowdloanContribution: AugmentedError<ApiType>;
105
+ /**
106
+ * Internal error, please bug report.
107
+ **/
108
+ InternalError: AugmentedError<ApiType>;
109
+ /**
110
+ * The Asset Hub migration is not completed.
111
+ **/
112
+ MigrationNotCompleted: AugmentedError<ApiType>;
113
+ /**
114
+ * Either no crowdloan contribution or already withdrawn.
115
+ **/
116
+ NoCrowdloanContribution: AugmentedError<ApiType>;
117
+ /**
118
+ * Either no crowdloan reserve or already unreserved.
119
+ **/
120
+ NoCrowdloanReserve: AugmentedError<ApiType>;
121
+ /**
122
+ * Either no lease deposit or already unreserved.
123
+ **/
124
+ NoLeaseReserve: AugmentedError<ApiType>;
125
+ /**
126
+ * Account cannot be migrated since it is not a sovereign parachain account.
127
+ **/
128
+ NotSovereign: AugmentedError<ApiType>;
129
+ /**
130
+ * Block number is not yet reached.
131
+ **/
132
+ NotYet: AugmentedError<ApiType>;
133
+ /**
134
+ * The account is not a derived account.
135
+ **/
136
+ WrongDerivedTranslation: AugmentedError<ApiType>;
137
+ /**
138
+ * The balance is zero.
139
+ **/
140
+ ZeroBalance: AugmentedError<ApiType>;
141
+ /**
142
+ * Generic error
143
+ **/
144
+ [key: string]: AugmentedError<ApiType>;
145
+ };
146
+ assetConversion: {
147
+ /**
148
+ * Provided amount should be greater than or equal to the existential deposit/asset's
149
+ * minimal amount.
150
+ **/
151
+ AmountOneLessThanMinimal: AugmentedError<ApiType>;
152
+ /**
153
+ * Desired amount can't be equal to the pool reserve.
154
+ **/
155
+ AmountOutTooHigh: AugmentedError<ApiType>;
156
+ /**
157
+ * Provided amount should be greater than or equal to the existential deposit/asset's
158
+ * minimal amount.
159
+ **/
160
+ AmountTwoLessThanMinimal: AugmentedError<ApiType>;
161
+ /**
162
+ * The minimal amount requirement for the first token in the pair wasn't met.
163
+ **/
164
+ AssetOneDepositDidNotMeetMinimum: AugmentedError<ApiType>;
165
+ /**
166
+ * The minimal amount requirement for the first token in the pair wasn't met.
167
+ **/
168
+ AssetOneWithdrawalDidNotMeetMinimum: AugmentedError<ApiType>;
169
+ /**
170
+ * The minimal amount requirement for the second token in the pair wasn't met.
171
+ **/
172
+ AssetTwoDepositDidNotMeetMinimum: AugmentedError<ApiType>;
173
+ /**
174
+ * The minimal amount requirement for the second token in the pair wasn't met.
175
+ **/
176
+ AssetTwoWithdrawalDidNotMeetMinimum: AugmentedError<ApiType>;
177
+ /**
178
+ * The destination account cannot exist with the swapped funds.
179
+ **/
180
+ BelowMinimum: AugmentedError<ApiType>;
181
+ /**
182
+ * It was not possible to get or increment the Id of the pool.
183
+ **/
184
+ IncorrectPoolAssetId: AugmentedError<ApiType>;
185
+ /**
186
+ * Insufficient liquidity minted.
187
+ **/
188
+ InsufficientLiquidityMinted: AugmentedError<ApiType>;
189
+ /**
190
+ * Provided asset pair is not supported for pool.
191
+ **/
192
+ InvalidAssetPair: AugmentedError<ApiType>;
193
+ /**
194
+ * The provided path must consists of 2 assets at least.
195
+ **/
196
+ InvalidPath: AugmentedError<ApiType>;
197
+ /**
198
+ * The provided path must consists of unique assets.
199
+ **/
200
+ NonUniquePath: AugmentedError<ApiType>;
201
+ /**
202
+ * Optimal calculated amount is less than desired.
203
+ **/
204
+ OptimalAmountLessThanDesired: AugmentedError<ApiType>;
205
+ /**
206
+ * An overflow happened.
207
+ **/
208
+ Overflow: AugmentedError<ApiType>;
209
+ /**
210
+ * Pool already exists.
211
+ **/
212
+ PoolExists: AugmentedError<ApiType>;
213
+ /**
214
+ * The pool doesn't exist.
215
+ **/
216
+ PoolNotFound: AugmentedError<ApiType>;
217
+ /**
218
+ * Provided maximum amount is not sufficient for swap.
219
+ **/
220
+ ProvidedMaximumNotSufficientForSwap: AugmentedError<ApiType>;
221
+ /**
222
+ * Calculated amount out is less than provided minimum amount.
223
+ **/
224
+ ProvidedMinimumNotSufficientForSwap: AugmentedError<ApiType>;
225
+ /**
226
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
227
+ * minimal amount.
228
+ **/
229
+ ReserveLeftLessThanMinimal: AugmentedError<ApiType>;
230
+ /**
231
+ * Desired amount can't be zero.
232
+ **/
233
+ WrongDesiredAmount: AugmentedError<ApiType>;
234
+ /**
235
+ * Amount can't be zero.
236
+ **/
237
+ ZeroAmount: AugmentedError<ApiType>;
238
+ /**
239
+ * Requested liquidity can't be zero.
240
+ **/
241
+ ZeroLiquidity: AugmentedError<ApiType>;
242
+ /**
243
+ * Generic error
244
+ **/
245
+ [key: string]: AugmentedError<ApiType>;
246
+ };
247
+ assetRate: {
248
+ /**
249
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
250
+ **/
251
+ AlreadyExists: AugmentedError<ApiType>;
252
+ /**
253
+ * Overflow ocurred when calculating the inverse rate.
254
+ **/
255
+ Overflow: AugmentedError<ApiType>;
256
+ /**
257
+ * The given asset ID is unknown.
258
+ **/
259
+ UnknownAssetKind: AugmentedError<ApiType>;
260
+ /**
261
+ * Generic error
262
+ **/
263
+ [key: string]: AugmentedError<ApiType>;
264
+ };
265
+ assets: {
266
+ /**
267
+ * The asset-account already exists.
268
+ **/
269
+ AlreadyExists: AugmentedError<ApiType>;
270
+ /**
271
+ * The asset is not live, and likely being destroyed.
272
+ **/
273
+ AssetNotLive: AugmentedError<ApiType>;
274
+ /**
275
+ * The asset ID must be equal to the [`NextAssetId`].
276
+ **/
277
+ BadAssetId: AugmentedError<ApiType>;
278
+ /**
279
+ * Invalid metadata given.
280
+ **/
281
+ BadMetadata: AugmentedError<ApiType>;
282
+ /**
283
+ * Invalid witness data given.
284
+ **/
285
+ BadWitness: AugmentedError<ApiType>;
286
+ /**
287
+ * Account balance must be greater than or equal to the transfer amount.
288
+ **/
289
+ BalanceLow: AugmentedError<ApiType>;
290
+ /**
291
+ * Callback action resulted in error
292
+ **/
293
+ CallbackFailed: AugmentedError<ApiType>;
294
+ /**
295
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
296
+ **/
297
+ ContainsFreezes: AugmentedError<ApiType>;
298
+ /**
299
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
300
+ **/
301
+ ContainsHolds: AugmentedError<ApiType>;
302
+ /**
303
+ * The origin account is frozen.
304
+ **/
305
+ Frozen: AugmentedError<ApiType>;
306
+ /**
307
+ * The asset status is not the expected status.
308
+ **/
309
+ IncorrectStatus: AugmentedError<ApiType>;
310
+ /**
311
+ * The asset ID is already taken.
312
+ **/
313
+ InUse: AugmentedError<ApiType>;
314
+ /**
315
+ * The asset is a live asset and is actively being used. Usually emit for operations such
316
+ * as `start_destroy` which require the asset to be in a destroying state.
317
+ **/
318
+ LiveAsset: AugmentedError<ApiType>;
319
+ /**
320
+ * Minimum balance should be non-zero.
321
+ **/
322
+ MinBalanceZero: AugmentedError<ApiType>;
323
+ /**
324
+ * The account to alter does not exist.
325
+ **/
326
+ NoAccount: AugmentedError<ApiType>;
327
+ /**
328
+ * The asset-account doesn't have an associated deposit.
329
+ **/
330
+ NoDeposit: AugmentedError<ApiType>;
331
+ /**
332
+ * The signing account has no permission to do the operation.
333
+ **/
334
+ NoPermission: AugmentedError<ApiType>;
335
+ /**
336
+ * The asset should be frozen before the given operation.
337
+ **/
338
+ NotFrozen: AugmentedError<ApiType>;
339
+ /**
340
+ * No approval exists that would allow the transfer.
341
+ **/
342
+ Unapproved: AugmentedError<ApiType>;
343
+ /**
344
+ * Unable to increment the consumer reference counters on the account. Either no provider
345
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
346
+ * fewer then the maximum number of consumers has been reached.
347
+ **/
348
+ UnavailableConsumer: AugmentedError<ApiType>;
349
+ /**
350
+ * The given asset ID is unknown.
351
+ **/
352
+ Unknown: AugmentedError<ApiType>;
353
+ /**
354
+ * The operation would result in funds being burned.
355
+ **/
356
+ WouldBurn: AugmentedError<ApiType>;
357
+ /**
358
+ * The source account would not survive the transfer and it needs to stay alive.
359
+ **/
360
+ WouldDie: AugmentedError<ApiType>;
361
+ /**
362
+ * Generic error
363
+ **/
364
+ [key: string]: AugmentedError<ApiType>;
365
+ };
366
+ balances: {
367
+ /**
368
+ * Beneficiary account must pre-exist.
369
+ **/
370
+ DeadAccount: AugmentedError<ApiType>;
371
+ /**
372
+ * The delta cannot be zero.
373
+ **/
374
+ DeltaZero: AugmentedError<ApiType>;
375
+ /**
376
+ * Value too low to create account due to existential deposit.
377
+ **/
378
+ ExistentialDeposit: AugmentedError<ApiType>;
379
+ /**
380
+ * A vesting schedule already exists for this account.
381
+ **/
382
+ ExistingVestingSchedule: AugmentedError<ApiType>;
383
+ /**
384
+ * Transfer/payment would kill account.
385
+ **/
386
+ Expendability: AugmentedError<ApiType>;
387
+ /**
388
+ * Balance too low to send value.
389
+ **/
390
+ InsufficientBalance: AugmentedError<ApiType>;
391
+ /**
392
+ * The issuance cannot be modified since it is already deactivated.
393
+ **/
394
+ IssuanceDeactivated: AugmentedError<ApiType>;
395
+ /**
396
+ * Account liquidity restrictions prevent withdrawal.
397
+ **/
398
+ LiquidityRestrictions: AugmentedError<ApiType>;
399
+ /**
400
+ * Number of freezes exceed `MaxFreezes`.
401
+ **/
402
+ TooManyFreezes: AugmentedError<ApiType>;
403
+ /**
404
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
405
+ **/
406
+ TooManyHolds: AugmentedError<ApiType>;
407
+ /**
408
+ * Number of named reserves exceed `MaxReserves`.
409
+ **/
410
+ TooManyReserves: AugmentedError<ApiType>;
411
+ /**
412
+ * Vesting balance too high to send value.
413
+ **/
414
+ VestingBalance: AugmentedError<ApiType>;
415
+ /**
416
+ * Generic error
417
+ **/
418
+ [key: string]: AugmentedError<ApiType>;
419
+ };
420
+ bounties: {
421
+ /**
422
+ * The bounty cannot be closed because it has active child bounties.
423
+ **/
424
+ HasActiveChildBounty: AugmentedError<ApiType>;
425
+ /**
426
+ * Proposer's balance is too low.
427
+ **/
428
+ InsufficientProposersBalance: AugmentedError<ApiType>;
429
+ /**
430
+ * Invalid bounty fee.
431
+ **/
432
+ InvalidFee: AugmentedError<ApiType>;
433
+ /**
434
+ * No proposal or bounty at that index.
435
+ **/
436
+ InvalidIndex: AugmentedError<ApiType>;
437
+ /**
438
+ * Invalid bounty value.
439
+ **/
440
+ InvalidValue: AugmentedError<ApiType>;
441
+ /**
442
+ * User is not the proposer of the bounty.
443
+ **/
444
+ NotProposer: AugmentedError<ApiType>;
445
+ /**
446
+ * A bounty payout is pending.
447
+ * To cancel the bounty, you must unassign and slash the curator.
448
+ **/
449
+ PendingPayout: AugmentedError<ApiType>;
450
+ /**
451
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
452
+ **/
453
+ Premature: AugmentedError<ApiType>;
454
+ /**
455
+ * The reason given is just too big.
456
+ **/
457
+ ReasonTooBig: AugmentedError<ApiType>;
458
+ /**
459
+ * Require bounty curator.
460
+ **/
461
+ RequireCurator: AugmentedError<ApiType>;
462
+ /**
463
+ * Too many approvals are already queued.
464
+ **/
465
+ TooManyQueued: AugmentedError<ApiType>;
466
+ /**
467
+ * The bounty status is unexpected.
468
+ **/
469
+ UnexpectedStatus: AugmentedError<ApiType>;
470
+ /**
471
+ * Generic error
472
+ **/
473
+ [key: string]: AugmentedError<ApiType>;
474
+ };
475
+ childBounties: {
476
+ /**
477
+ * The bounty balance is not enough to add new child-bounty.
478
+ **/
479
+ InsufficientBountyBalance: AugmentedError<ApiType>;
480
+ /**
481
+ * The parent bounty is not in active state.
482
+ **/
483
+ ParentBountyNotActive: AugmentedError<ApiType>;
484
+ /**
485
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
486
+ **/
487
+ TooManyChildBounties: AugmentedError<ApiType>;
488
+ /**
489
+ * Generic error
490
+ **/
491
+ [key: string]: AugmentedError<ApiType>;
492
+ };
493
+ claims: {
494
+ /**
495
+ * Invalid Ethereum signature.
496
+ **/
497
+ InvalidEthereumSignature: AugmentedError<ApiType>;
498
+ /**
499
+ * A needed statement was not included.
500
+ **/
501
+ InvalidStatement: AugmentedError<ApiType>;
502
+ /**
503
+ * There's not enough in the pot to pay out some unvested amount. Generally implies a
504
+ * logic error.
505
+ **/
506
+ PotUnderflow: AugmentedError<ApiType>;
507
+ /**
508
+ * Account ID sending transaction has no claim.
509
+ **/
510
+ SenderHasNoClaim: AugmentedError<ApiType>;
511
+ /**
512
+ * Ethereum address has no claim.
513
+ **/
514
+ SignerHasNoClaim: AugmentedError<ApiType>;
515
+ /**
516
+ * The account already has a vested balance.
517
+ **/
518
+ VestedBalanceExists: AugmentedError<ApiType>;
519
+ /**
520
+ * Generic error
521
+ **/
522
+ [key: string]: AugmentedError<ApiType>;
523
+ };
524
+ collatorSelection: {
525
+ /**
526
+ * Account is already a candidate.
527
+ **/
528
+ AlreadyCandidate: AugmentedError<ApiType>;
529
+ /**
530
+ * Account is already an Invulnerable.
531
+ **/
532
+ AlreadyInvulnerable: AugmentedError<ApiType>;
533
+ /**
534
+ * New deposit amount would be below the minimum candidacy bond.
535
+ **/
536
+ DepositTooLow: AugmentedError<ApiType>;
537
+ /**
538
+ * The updated deposit amount is equal to the amount already reserved.
539
+ **/
540
+ IdenticalDeposit: AugmentedError<ApiType>;
541
+ /**
542
+ * Could not insert in the candidate list.
543
+ **/
544
+ InsertToCandidateListFailed: AugmentedError<ApiType>;
545
+ /**
546
+ * Deposit amount is too low to take the target's slot in the candidate list.
547
+ **/
548
+ InsufficientBond: AugmentedError<ApiType>;
549
+ /**
550
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
551
+ **/
552
+ InvalidUnreserve: AugmentedError<ApiType>;
553
+ /**
554
+ * Account has no associated validator ID.
555
+ **/
556
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
557
+ /**
558
+ * Account is not a candidate.
559
+ **/
560
+ NotCandidate: AugmentedError<ApiType>;
561
+ /**
562
+ * Account is not an Invulnerable.
563
+ **/
564
+ NotInvulnerable: AugmentedError<ApiType>;
565
+ /**
566
+ * Could not remove from the candidate list.
567
+ **/
568
+ RemoveFromCandidateListFailed: AugmentedError<ApiType>;
569
+ /**
570
+ * The target account to be replaced in the candidate list is not a candidate.
571
+ **/
572
+ TargetIsNotCandidate: AugmentedError<ApiType>;
573
+ /**
574
+ * Leaving would result in too few candidates.
575
+ **/
576
+ TooFewEligibleCollators: AugmentedError<ApiType>;
577
+ /**
578
+ * The pallet has too many candidates.
579
+ **/
580
+ TooManyCandidates: AugmentedError<ApiType>;
581
+ /**
582
+ * There are too many Invulnerables.
583
+ **/
584
+ TooManyInvulnerables: AugmentedError<ApiType>;
585
+ /**
586
+ * Could not update the candidate list.
587
+ **/
588
+ UpdateCandidateListFailed: AugmentedError<ApiType>;
589
+ /**
590
+ * Validator ID is not yet registered.
591
+ **/
592
+ ValidatorNotRegistered: AugmentedError<ApiType>;
593
+ /**
594
+ * Generic error
595
+ **/
596
+ [key: string]: AugmentedError<ApiType>;
597
+ };
598
+ convictionVoting: {
599
+ /**
600
+ * The account is already delegating.
601
+ **/
602
+ AlreadyDelegating: AugmentedError<ApiType>;
603
+ /**
604
+ * The account currently has votes attached to it and the operation cannot succeed until
605
+ * these are removed through `remove_vote`.
606
+ **/
607
+ AlreadyVoting: AugmentedError<ApiType>;
608
+ /**
609
+ * The class ID supplied is invalid.
610
+ **/
611
+ BadClass: AugmentedError<ApiType>;
612
+ /**
613
+ * The class must be supplied since it is not easily determinable from the state.
614
+ **/
615
+ ClassNeeded: AugmentedError<ApiType>;
616
+ /**
617
+ * Too high a balance was provided that the account cannot afford.
618
+ **/
619
+ InsufficientFunds: AugmentedError<ApiType>;
620
+ /**
621
+ * Maximum number of votes reached.
622
+ **/
623
+ MaxVotesReached: AugmentedError<ApiType>;
624
+ /**
625
+ * Delegation to oneself makes no sense.
626
+ **/
627
+ Nonsense: AugmentedError<ApiType>;
628
+ /**
629
+ * The actor has no permission to conduct the action.
630
+ **/
631
+ NoPermission: AugmentedError<ApiType>;
632
+ /**
633
+ * The actor has no permission to conduct the action right now but will do in the future.
634
+ **/
635
+ NoPermissionYet: AugmentedError<ApiType>;
636
+ /**
637
+ * The account is not currently delegating.
638
+ **/
639
+ NotDelegating: AugmentedError<ApiType>;
640
+ /**
641
+ * Poll is not ongoing.
642
+ **/
643
+ NotOngoing: AugmentedError<ApiType>;
644
+ /**
645
+ * The given account did not vote on the poll.
646
+ **/
647
+ NotVoter: AugmentedError<ApiType>;
648
+ /**
649
+ * Generic error
650
+ **/
651
+ [key: string]: AugmentedError<ApiType>;
652
+ };
653
+ delegatedStaking: {
654
+ /**
655
+ * An existing staker cannot perform this action.
656
+ **/
657
+ AlreadyStaking: AugmentedError<ApiType>;
658
+ /**
659
+ * Some corruption in internal state.
660
+ **/
661
+ BadState: AugmentedError<ApiType>;
662
+ /**
663
+ * Delegation conditions are not met.
664
+ *
665
+ * Possible issues are
666
+ * 1) Cannot delegate to self,
667
+ * 2) Cannot delegate to multiple delegates.
668
+ **/
669
+ InvalidDelegation: AugmentedError<ApiType>;
670
+ /**
671
+ * Reward Destination cannot be same as `Agent` account.
672
+ **/
673
+ InvalidRewardDestination: AugmentedError<ApiType>;
674
+ /**
675
+ * Not an existing `Agent` account.
676
+ **/
677
+ NotAgent: AugmentedError<ApiType>;
678
+ /**
679
+ * The account cannot perform this operation.
680
+ **/
681
+ NotAllowed: AugmentedError<ApiType>;
682
+ /**
683
+ * Not a Delegator account.
684
+ **/
685
+ NotDelegator: AugmentedError<ApiType>;
686
+ /**
687
+ * The account does not have enough funds to perform the operation.
688
+ **/
689
+ NotEnoughFunds: AugmentedError<ApiType>;
690
+ /**
691
+ * `Agent` has no pending slash to be applied.
692
+ **/
693
+ NothingToSlash: AugmentedError<ApiType>;
694
+ /**
695
+ * Operation not supported by this pallet.
696
+ **/
697
+ NotSupported: AugmentedError<ApiType>;
698
+ /**
699
+ * Unapplied pending slash restricts operation on `Agent`.
700
+ **/
701
+ UnappliedSlash: AugmentedError<ApiType>;
702
+ /**
703
+ * Failed to withdraw amount from Core Staking.
704
+ **/
705
+ WithdrawFailed: AugmentedError<ApiType>;
706
+ /**
707
+ * Generic error
708
+ **/
709
+ [key: string]: AugmentedError<ApiType>;
710
+ };
711
+ foreignAssets: {
712
+ /**
713
+ * The asset-account already exists.
714
+ **/
715
+ AlreadyExists: AugmentedError<ApiType>;
716
+ /**
717
+ * The asset is not live, and likely being destroyed.
718
+ **/
719
+ AssetNotLive: AugmentedError<ApiType>;
720
+ /**
721
+ * The asset ID must be equal to the [`NextAssetId`].
722
+ **/
723
+ BadAssetId: AugmentedError<ApiType>;
724
+ /**
725
+ * Invalid metadata given.
726
+ **/
727
+ BadMetadata: AugmentedError<ApiType>;
728
+ /**
729
+ * Invalid witness data given.
730
+ **/
731
+ BadWitness: AugmentedError<ApiType>;
732
+ /**
733
+ * Account balance must be greater than or equal to the transfer amount.
734
+ **/
735
+ BalanceLow: AugmentedError<ApiType>;
736
+ /**
737
+ * Callback action resulted in error
738
+ **/
739
+ CallbackFailed: AugmentedError<ApiType>;
740
+ /**
741
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
742
+ **/
743
+ ContainsFreezes: AugmentedError<ApiType>;
744
+ /**
745
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
746
+ **/
747
+ ContainsHolds: AugmentedError<ApiType>;
748
+ /**
749
+ * The origin account is frozen.
750
+ **/
751
+ Frozen: AugmentedError<ApiType>;
752
+ /**
753
+ * The asset status is not the expected status.
754
+ **/
755
+ IncorrectStatus: AugmentedError<ApiType>;
756
+ /**
757
+ * The asset ID is already taken.
758
+ **/
759
+ InUse: AugmentedError<ApiType>;
760
+ /**
761
+ * The asset is a live asset and is actively being used. Usually emit for operations such
762
+ * as `start_destroy` which require the asset to be in a destroying state.
763
+ **/
764
+ LiveAsset: AugmentedError<ApiType>;
765
+ /**
766
+ * Minimum balance should be non-zero.
767
+ **/
768
+ MinBalanceZero: AugmentedError<ApiType>;
769
+ /**
770
+ * The account to alter does not exist.
771
+ **/
772
+ NoAccount: AugmentedError<ApiType>;
773
+ /**
774
+ * The asset-account doesn't have an associated deposit.
775
+ **/
776
+ NoDeposit: AugmentedError<ApiType>;
777
+ /**
778
+ * The signing account has no permission to do the operation.
779
+ **/
780
+ NoPermission: AugmentedError<ApiType>;
781
+ /**
782
+ * The asset should be frozen before the given operation.
783
+ **/
784
+ NotFrozen: AugmentedError<ApiType>;
785
+ /**
786
+ * No approval exists that would allow the transfer.
787
+ **/
788
+ Unapproved: AugmentedError<ApiType>;
789
+ /**
790
+ * Unable to increment the consumer reference counters on the account. Either no provider
791
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
792
+ * fewer then the maximum number of consumers has been reached.
793
+ **/
794
+ UnavailableConsumer: AugmentedError<ApiType>;
795
+ /**
796
+ * The given asset ID is unknown.
797
+ **/
798
+ Unknown: AugmentedError<ApiType>;
799
+ /**
800
+ * The operation would result in funds being burned.
801
+ **/
802
+ WouldBurn: AugmentedError<ApiType>;
803
+ /**
804
+ * The source account would not survive the transfer and it needs to stay alive.
805
+ **/
806
+ WouldDie: AugmentedError<ApiType>;
807
+ /**
808
+ * Generic error
809
+ **/
810
+ [key: string]: AugmentedError<ApiType>;
811
+ };
812
+ indices: {
813
+ /**
814
+ * The index was not available.
815
+ **/
816
+ InUse: AugmentedError<ApiType>;
817
+ /**
818
+ * The index was not already assigned.
819
+ **/
820
+ NotAssigned: AugmentedError<ApiType>;
821
+ /**
822
+ * The index is assigned to another account.
823
+ **/
824
+ NotOwner: AugmentedError<ApiType>;
825
+ /**
826
+ * The source and destination accounts are identical.
827
+ **/
828
+ NotTransfer: AugmentedError<ApiType>;
829
+ /**
830
+ * The index is permanent and may not be freed/changed.
831
+ **/
832
+ Permanent: AugmentedError<ApiType>;
833
+ /**
834
+ * Generic error
835
+ **/
836
+ [key: string]: AugmentedError<ApiType>;
837
+ };
838
+ messageQueue: {
839
+ /**
840
+ * The message was already processed and cannot be processed again.
841
+ **/
842
+ AlreadyProcessed: AugmentedError<ApiType>;
843
+ /**
844
+ * There is temporarily not enough weight to continue servicing messages.
845
+ **/
846
+ InsufficientWeight: AugmentedError<ApiType>;
847
+ /**
848
+ * The referenced message could not be found.
849
+ **/
850
+ NoMessage: AugmentedError<ApiType>;
851
+ /**
852
+ * Page to be reaped does not exist.
853
+ **/
854
+ NoPage: AugmentedError<ApiType>;
855
+ /**
856
+ * Page is not reapable because it has items remaining to be processed and is not old
857
+ * enough.
858
+ **/
859
+ NotReapable: AugmentedError<ApiType>;
860
+ /**
861
+ * The message is queued for future execution.
862
+ **/
863
+ Queued: AugmentedError<ApiType>;
864
+ /**
865
+ * The queue is paused and no message can be executed from it.
866
+ *
867
+ * This can change at any time and may resolve in the future by re-trying.
868
+ **/
869
+ QueuePaused: AugmentedError<ApiType>;
870
+ /**
871
+ * Another call is in progress and needs to finish before this call can happen.
872
+ **/
873
+ RecursiveDisallowed: AugmentedError<ApiType>;
874
+ /**
875
+ * This message is temporarily unprocessable.
876
+ *
877
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
878
+ * retrying.
879
+ **/
880
+ TemporarilyUnprocessable: AugmentedError<ApiType>;
881
+ /**
882
+ * Generic error
883
+ **/
884
+ [key: string]: AugmentedError<ApiType>;
885
+ };
886
+ multiBlockElection: {
887
+ /**
888
+ * Triggering the `Fallback` failed.
889
+ **/
890
+ Fallback: AugmentedError<ApiType>;
891
+ /**
892
+ * Snapshot was unavailable.
893
+ **/
894
+ Snapshot: AugmentedError<ApiType>;
895
+ /**
896
+ * Unexpected phase
897
+ **/
898
+ UnexpectedPhase: AugmentedError<ApiType>;
899
+ /**
900
+ * Generic error
901
+ **/
902
+ [key: string]: AugmentedError<ApiType>;
903
+ };
904
+ multiBlockElectionSigned: {
905
+ /**
906
+ * The page index is out of bounds.
907
+ **/
908
+ BadPageIndex: AugmentedError<ApiType>;
909
+ /**
910
+ * Bad witness data provided.
911
+ **/
912
+ BadWitnessData: AugmentedError<ApiType>;
913
+ /**
914
+ * The submission is a duplicate.
915
+ **/
916
+ Duplicate: AugmentedError<ApiType>;
917
+ /**
918
+ * No submission found.
919
+ **/
920
+ NoSubmission: AugmentedError<ApiType>;
921
+ /**
922
+ * The account is not registered.
923
+ **/
924
+ NotRegistered: AugmentedError<ApiType>;
925
+ /**
926
+ * The phase is not signed.
927
+ **/
928
+ PhaseNotSigned: AugmentedError<ApiType>;
929
+ /**
930
+ * The queue is full.
931
+ **/
932
+ QueueFull: AugmentedError<ApiType>;
933
+ /**
934
+ * Round is not yet over.
935
+ **/
936
+ RoundNotOver: AugmentedError<ApiType>;
937
+ /**
938
+ * Too many invulnerable accounts are provided,
939
+ **/
940
+ TooManyInvulnerables: AugmentedError<ApiType>;
941
+ /**
942
+ * Generic error
943
+ **/
944
+ [key: string]: AugmentedError<ApiType>;
945
+ };
946
+ multiBlockMigrations: {
947
+ /**
948
+ * The operation cannot complete since some MBMs are ongoing.
949
+ **/
950
+ Ongoing: AugmentedError<ApiType>;
951
+ /**
952
+ * Generic error
953
+ **/
954
+ [key: string]: AugmentedError<ApiType>;
955
+ };
956
+ multisig: {
957
+ /**
958
+ * Call is already approved by this signatory.
959
+ **/
960
+ AlreadyApproved: AugmentedError<ApiType>;
961
+ /**
962
+ * The data to be stored is already stored.
963
+ **/
964
+ AlreadyStored: AugmentedError<ApiType>;
965
+ /**
966
+ * The maximum weight information provided was too low.
967
+ **/
968
+ MaxWeightTooLow: AugmentedError<ApiType>;
969
+ /**
970
+ * Threshold must be 2 or greater.
971
+ **/
972
+ MinimumThreshold: AugmentedError<ApiType>;
973
+ /**
974
+ * Call doesn't need any (more) approvals.
975
+ **/
976
+ NoApprovalsNeeded: AugmentedError<ApiType>;
977
+ /**
978
+ * Multisig operation not found in storage.
979
+ **/
980
+ NotFound: AugmentedError<ApiType>;
981
+ /**
982
+ * No timepoint was given, yet the multisig operation is already underway.
983
+ **/
984
+ NoTimepoint: AugmentedError<ApiType>;
985
+ /**
986
+ * Only the account that originally created the multisig is able to cancel it or update
987
+ * its deposits.
988
+ **/
989
+ NotOwner: AugmentedError<ApiType>;
990
+ /**
991
+ * The sender was contained in the other signatories; it shouldn't be.
992
+ **/
993
+ SenderInSignatories: AugmentedError<ApiType>;
994
+ /**
995
+ * The signatories were provided out of order; they should be ordered.
996
+ **/
997
+ SignatoriesOutOfOrder: AugmentedError<ApiType>;
998
+ /**
999
+ * There are too few signatories in the list.
1000
+ **/
1001
+ TooFewSignatories: AugmentedError<ApiType>;
1002
+ /**
1003
+ * There are too many signatories in the list.
1004
+ **/
1005
+ TooManySignatories: AugmentedError<ApiType>;
1006
+ /**
1007
+ * A timepoint was given, yet no multisig operation is underway.
1008
+ **/
1009
+ UnexpectedTimepoint: AugmentedError<ApiType>;
1010
+ /**
1011
+ * A different timepoint was given to the multisig operation that is underway.
1012
+ **/
1013
+ WrongTimepoint: AugmentedError<ApiType>;
1014
+ /**
1015
+ * Generic error
1016
+ **/
1017
+ [key: string]: AugmentedError<ApiType>;
1018
+ };
1019
+ nftFractionalization: {
1020
+ /**
1021
+ * Asset ID does not correspond to locked NFT.
1022
+ **/
1023
+ IncorrectAssetId: AugmentedError<ApiType>;
1024
+ /**
1025
+ * NFT doesn't exist.
1026
+ **/
1027
+ NftNotFound: AugmentedError<ApiType>;
1028
+ /**
1029
+ * NFT has not yet been fractionalised.
1030
+ **/
1031
+ NftNotFractionalized: AugmentedError<ApiType>;
1032
+ /**
1033
+ * The signing account has no permission to do the operation.
1034
+ **/
1035
+ NoPermission: AugmentedError<ApiType>;
1036
+ /**
1037
+ * Generic error
1038
+ **/
1039
+ [key: string]: AugmentedError<ApiType>;
1040
+ };
1041
+ nfts: {
1042
+ /**
1043
+ * The provided Item was already used for claiming.
1044
+ **/
1045
+ AlreadyClaimed: AugmentedError<ApiType>;
1046
+ /**
1047
+ * The item ID has already been used for an item.
1048
+ **/
1049
+ AlreadyExists: AugmentedError<ApiType>;
1050
+ /**
1051
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
1052
+ **/
1053
+ ApprovalExpired: AugmentedError<ApiType>;
1054
+ /**
1055
+ * The provided attribute can't be found.
1056
+ **/
1057
+ AttributeNotFound: AugmentedError<ApiType>;
1058
+ /**
1059
+ * The witness data given does not match the current state of the chain.
1060
+ **/
1061
+ BadWitness: AugmentedError<ApiType>;
1062
+ /**
1063
+ * The provided bid is too low.
1064
+ **/
1065
+ BidTooLow: AugmentedError<ApiType>;
1066
+ /**
1067
+ * Collection ID is already taken.
1068
+ **/
1069
+ CollectionIdInUse: AugmentedError<ApiType>;
1070
+ /**
1071
+ * Can't delete non-empty collections.
1072
+ **/
1073
+ CollectionNotEmpty: AugmentedError<ApiType>;
1074
+ /**
1075
+ * The deadline has already expired.
1076
+ **/
1077
+ DeadlineExpired: AugmentedError<ApiType>;
1078
+ /**
1079
+ * Item's config already exists and should be equal to the provided one.
1080
+ **/
1081
+ InconsistentItemConfig: AugmentedError<ApiType>;
1082
+ /**
1083
+ * The provided data is incorrect.
1084
+ **/
1085
+ IncorrectData: AugmentedError<ApiType>;
1086
+ /**
1087
+ * The provided metadata might be too long.
1088
+ **/
1089
+ IncorrectMetadata: AugmentedError<ApiType>;
1090
+ /**
1091
+ * The item is locked (non-transferable).
1092
+ **/
1093
+ ItemLocked: AugmentedError<ApiType>;
1094
+ /**
1095
+ * Items within that collection are non-transferable.
1096
+ **/
1097
+ ItemsNonTransferable: AugmentedError<ApiType>;
1098
+ /**
1099
+ * Collection's attributes are locked.
1100
+ **/
1101
+ LockedCollectionAttributes: AugmentedError<ApiType>;
1102
+ /**
1103
+ * Collection's metadata is locked.
1104
+ **/
1105
+ LockedCollectionMetadata: AugmentedError<ApiType>;
1106
+ /**
1107
+ * Item's attributes are locked.
1108
+ **/
1109
+ LockedItemAttributes: AugmentedError<ApiType>;
1110
+ /**
1111
+ * Item's metadata is locked.
1112
+ **/
1113
+ LockedItemMetadata: AugmentedError<ApiType>;
1114
+ /**
1115
+ * Can't set more attributes per one call.
1116
+ **/
1117
+ MaxAttributesLimitReached: AugmentedError<ApiType>;
1118
+ /**
1119
+ * The max supply is locked and can't be changed.
1120
+ **/
1121
+ MaxSupplyLocked: AugmentedError<ApiType>;
1122
+ /**
1123
+ * All items have been minted.
1124
+ **/
1125
+ MaxSupplyReached: AugmentedError<ApiType>;
1126
+ /**
1127
+ * The provided max supply is less than the number of items a collection already has.
1128
+ **/
1129
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
1130
+ /**
1131
+ * The given item has no metadata set.
1132
+ **/
1133
+ MetadataNotFound: AugmentedError<ApiType>;
1134
+ /**
1135
+ * The method is disabled by system settings.
1136
+ **/
1137
+ MethodDisabled: AugmentedError<ApiType>;
1138
+ /**
1139
+ * Mint has already ended.
1140
+ **/
1141
+ MintEnded: AugmentedError<ApiType>;
1142
+ /**
1143
+ * Mint has not started yet.
1144
+ **/
1145
+ MintNotStarted: AugmentedError<ApiType>;
1146
+ /**
1147
+ * Config for a collection or an item can't be found.
1148
+ **/
1149
+ NoConfig: AugmentedError<ApiType>;
1150
+ /**
1151
+ * The signing account has no permission to do the operation.
1152
+ **/
1153
+ NoPermission: AugmentedError<ApiType>;
1154
+ /**
1155
+ * The provided account is not a delegate.
1156
+ **/
1157
+ NotDelegate: AugmentedError<ApiType>;
1158
+ /**
1159
+ * Item is not for sale.
1160
+ **/
1161
+ NotForSale: AugmentedError<ApiType>;
1162
+ /**
1163
+ * The item has reached its approval limit.
1164
+ **/
1165
+ ReachedApprovalLimit: AugmentedError<ApiType>;
1166
+ /**
1167
+ * Some roles were not cleared.
1168
+ **/
1169
+ RolesNotCleared: AugmentedError<ApiType>;
1170
+ /**
1171
+ * The named owner has not signed ownership acceptance of the collection.
1172
+ **/
1173
+ Unaccepted: AugmentedError<ApiType>;
1174
+ /**
1175
+ * No approval exists that would allow the transfer.
1176
+ **/
1177
+ Unapproved: AugmentedError<ApiType>;
1178
+ /**
1179
+ * The given item ID is unknown.
1180
+ **/
1181
+ UnknownCollection: AugmentedError<ApiType>;
1182
+ /**
1183
+ * The given item ID is unknown.
1184
+ **/
1185
+ UnknownItem: AugmentedError<ApiType>;
1186
+ /**
1187
+ * Swap doesn't exist.
1188
+ **/
1189
+ UnknownSwap: AugmentedError<ApiType>;
1190
+ /**
1191
+ * The witness data should be provided.
1192
+ **/
1193
+ WitnessRequired: AugmentedError<ApiType>;
1194
+ /**
1195
+ * The delegate turned out to be different to what was expected.
1196
+ **/
1197
+ WrongDelegate: AugmentedError<ApiType>;
1198
+ /**
1199
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1200
+ **/
1201
+ WrongDuration: AugmentedError<ApiType>;
1202
+ /**
1203
+ * The provided namespace isn't supported in this call.
1204
+ **/
1205
+ WrongNamespace: AugmentedError<ApiType>;
1206
+ /**
1207
+ * The extrinsic was sent by the wrong origin.
1208
+ **/
1209
+ WrongOrigin: AugmentedError<ApiType>;
1210
+ /**
1211
+ * The owner turned out to be different to what was expected.
1212
+ **/
1213
+ WrongOwner: AugmentedError<ApiType>;
1214
+ /**
1215
+ * The provided setting can't be set.
1216
+ **/
1217
+ WrongSetting: AugmentedError<ApiType>;
1218
+ /**
1219
+ * The provided signature is incorrect.
1220
+ **/
1221
+ WrongSignature: AugmentedError<ApiType>;
1222
+ /**
1223
+ * Generic error
1224
+ **/
1225
+ [key: string]: AugmentedError<ApiType>;
1226
+ };
1227
+ nominationPools: {
1228
+ /**
1229
+ * An account is already delegating in another pool. An account may only belong to one
1230
+ * pool at a time.
1231
+ **/
1232
+ AccountBelongsToOtherPool: AugmentedError<ApiType>;
1233
+ /**
1234
+ * The pool or member delegation has already migrated to delegate stake.
1235
+ **/
1236
+ AlreadyMigrated: AugmentedError<ApiType>;
1237
+ /**
1238
+ * Bonding extra is restricted to the exact pending reward amount.
1239
+ **/
1240
+ BondExtraRestricted: AugmentedError<ApiType>;
1241
+ /**
1242
+ * The pools state cannot be changed.
1243
+ **/
1244
+ CanNotChangeState: AugmentedError<ApiType>;
1245
+ /**
1246
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
1247
+ **/
1248
+ CannotWithdrawAny: AugmentedError<ApiType>;
1249
+ /**
1250
+ * The submitted changes to commission change rate are not allowed.
1251
+ **/
1252
+ CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
1253
+ /**
1254
+ * Not enough blocks have surpassed since the last commission update.
1255
+ **/
1256
+ CommissionChangeThrottled: AugmentedError<ApiType>;
1257
+ /**
1258
+ * The supplied commission exceeds global maximum commission.
1259
+ **/
1260
+ CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
1261
+ /**
1262
+ * The supplied commission exceeds the max allowed commission.
1263
+ **/
1264
+ CommissionExceedsMaximum: AugmentedError<ApiType>;
1265
+ /**
1266
+ * Some error occurred that should never happen. This should be reported to the
1267
+ * maintainers.
1268
+ **/
1269
+ Defensive: AugmentedError<ApiType>;
1270
+ /**
1271
+ * The caller does not have adequate permissions.
1272
+ **/
1273
+ DoesNotHavePermission: AugmentedError<ApiType>;
1274
+ /**
1275
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
1276
+ * anymore to, for example, collect rewards).
1277
+ **/
1278
+ FullyUnbonding: AugmentedError<ApiType>;
1279
+ /**
1280
+ * Pool id provided is not correct/usable.
1281
+ **/
1282
+ InvalidPoolId: AugmentedError<ApiType>;
1283
+ /**
1284
+ * The pool's max commission cannot be set higher than the existing value.
1285
+ **/
1286
+ MaxCommissionRestricted: AugmentedError<ApiType>;
1287
+ /**
1288
+ * Too many members in the pool or system.
1289
+ **/
1290
+ MaxPoolMembers: AugmentedError<ApiType>;
1291
+ /**
1292
+ * The system is maxed out on pools.
1293
+ **/
1294
+ MaxPools: AugmentedError<ApiType>;
1295
+ /**
1296
+ * The member cannot unbond further chunks due to reaching the limit.
1297
+ **/
1298
+ MaxUnbondingLimit: AugmentedError<ApiType>;
1299
+ /**
1300
+ * Metadata exceeds [`Config::MaxMetadataLen`]
1301
+ **/
1302
+ MetadataExceedsMaxLen: AugmentedError<ApiType>;
1303
+ /**
1304
+ * The amount does not meet the minimum bond to either join or create a pool.
1305
+ *
1306
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
1307
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
1308
+ * value below `MinJoinBond`.
1309
+ **/
1310
+ MinimumBondNotMet: AugmentedError<ApiType>;
1311
+ /**
1312
+ * No commission current has been set.
1313
+ **/
1314
+ NoCommissionCurrentSet: AugmentedError<ApiType>;
1315
+ /**
1316
+ * There is no pending commission to claim.
1317
+ **/
1318
+ NoPendingCommission: AugmentedError<ApiType>;
1319
+ /**
1320
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1321
+ * other members to be permissionlessly unbonded.
1322
+ **/
1323
+ NotDestroying: AugmentedError<ApiType>;
1324
+ /**
1325
+ * No imbalance in the ED deposit for the pool.
1326
+ **/
1327
+ NothingToAdjust: AugmentedError<ApiType>;
1328
+ /**
1329
+ * No slash pending that can be applied to the member.
1330
+ **/
1331
+ NothingToSlash: AugmentedError<ApiType>;
1332
+ /**
1333
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1334
+ **/
1335
+ NotKickerOrDestroying: AugmentedError<ApiType>;
1336
+ /**
1337
+ * The pool or member delegation has not migrated yet to delegate stake.
1338
+ **/
1339
+ NotMigrated: AugmentedError<ApiType>;
1340
+ /**
1341
+ * The caller does not have nominating permissions for the pool.
1342
+ **/
1343
+ NotNominator: AugmentedError<ApiType>;
1344
+ /**
1345
+ * The pool is not open to join
1346
+ **/
1347
+ NotOpen: AugmentedError<ApiType>;
1348
+ /**
1349
+ * This call is not allowed in the current state of the pallet.
1350
+ **/
1351
+ NotSupported: AugmentedError<ApiType>;
1352
+ /**
1353
+ * The transaction could not be executed due to overflow risk for the pool.
1354
+ **/
1355
+ OverflowRisk: AugmentedError<ApiType>;
1356
+ /**
1357
+ * Partial unbonding now allowed permissionlessly.
1358
+ **/
1359
+ PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1360
+ /**
1361
+ * Pool id currently in use.
1362
+ **/
1363
+ PoolIdInUse: AugmentedError<ApiType>;
1364
+ /**
1365
+ * An account is not a member.
1366
+ **/
1367
+ PoolMemberNotFound: AugmentedError<ApiType>;
1368
+ /**
1369
+ * A (bonded) pool id does not exist.
1370
+ **/
1371
+ PoolNotFound: AugmentedError<ApiType>;
1372
+ /**
1373
+ * Account is restricted from participation in pools. This may happen if the account is
1374
+ * staking in another way already.
1375
+ **/
1376
+ Restricted: AugmentedError<ApiType>;
1377
+ /**
1378
+ * A reward pool does not exist. In all cases this is a system logic error.
1379
+ **/
1380
+ RewardPoolNotFound: AugmentedError<ApiType>;
1381
+ /**
1382
+ * The slash amount is too low to be applied.
1383
+ **/
1384
+ SlashTooLow: AugmentedError<ApiType>;
1385
+ /**
1386
+ * A sub pool does not exist.
1387
+ **/
1388
+ SubPoolsNotFound: AugmentedError<ApiType>;
1389
+ /**
1390
+ * Generic error
1391
+ **/
1392
+ [key: string]: AugmentedError<ApiType>;
1393
+ };
1394
+ parachainSystem: {
1395
+ /**
1396
+ * The inherent which supplies the host configuration did not run this block.
1397
+ **/
1398
+ HostConfigurationNotAvailable: AugmentedError<ApiType>;
1399
+ /**
1400
+ * No validation function upgrade is currently scheduled.
1401
+ **/
1402
+ NotScheduled: AugmentedError<ApiType>;
1403
+ /**
1404
+ * Attempt to upgrade validation function while existing upgrade pending.
1405
+ **/
1406
+ OverlappingUpgrades: AugmentedError<ApiType>;
1407
+ /**
1408
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
1409
+ **/
1410
+ ProhibitedByPolkadot: AugmentedError<ApiType>;
1411
+ /**
1412
+ * The supplied validation function has compiled into a blob larger than Polkadot is
1413
+ * willing to run.
1414
+ **/
1415
+ TooBig: AugmentedError<ApiType>;
1416
+ /**
1417
+ * The inherent which supplies the validation data did not run this block.
1418
+ **/
1419
+ ValidationDataNotAvailable: AugmentedError<ApiType>;
1420
+ /**
1421
+ * Generic error
1422
+ **/
1423
+ [key: string]: AugmentedError<ApiType>;
1424
+ };
1425
+ polkadotXcm: {
1426
+ /**
1427
+ * The given account is not an identifiable sovereign account for any location.
1428
+ **/
1429
+ AccountNotSovereign: AugmentedError<ApiType>;
1430
+ /**
1431
+ * The alias to remove authorization for was not found.
1432
+ **/
1433
+ AliasNotFound: AugmentedError<ApiType>;
1434
+ /**
1435
+ * The location is invalid since it already has a subscription from us.
1436
+ **/
1437
+ AlreadySubscribed: AugmentedError<ApiType>;
1438
+ /**
1439
+ * The given location could not be used (e.g. because it cannot be expressed in the
1440
+ * desired version of XCM).
1441
+ **/
1442
+ BadLocation: AugmentedError<ApiType>;
1443
+ /**
1444
+ * The version of the `Versioned` value used is not able to be interpreted.
1445
+ **/
1446
+ BadVersion: AugmentedError<ApiType>;
1447
+ /**
1448
+ * Could not check-out the assets for teleportation to the destination chain.
1449
+ **/
1450
+ CannotCheckOutTeleport: AugmentedError<ApiType>;
1451
+ /**
1452
+ * Could not re-anchor the assets to declare the fees for the destination chain.
1453
+ **/
1454
+ CannotReanchor: AugmentedError<ApiType>;
1455
+ /**
1456
+ * The destination `Location` provided cannot be inverted.
1457
+ **/
1458
+ DestinationNotInvertible: AugmentedError<ApiType>;
1459
+ /**
1460
+ * The assets to be sent are empty.
1461
+ **/
1462
+ Empty: AugmentedError<ApiType>;
1463
+ /**
1464
+ * Expiry block number is in the past.
1465
+ **/
1466
+ ExpiresInPast: AugmentedError<ApiType>;
1467
+ /**
1468
+ * The operation required fees to be paid which the initiator could not meet.
1469
+ **/
1470
+ FeesNotMet: AugmentedError<ApiType>;
1471
+ /**
1472
+ * The message execution fails the filter.
1473
+ **/
1474
+ Filtered: AugmentedError<ApiType>;
1475
+ /**
1476
+ * The unlock operation cannot succeed because there are still consumers of the lock.
1477
+ **/
1478
+ InUse: AugmentedError<ApiType>;
1479
+ /**
1480
+ * Invalid asset, reserve chain could not be determined for it.
1481
+ **/
1482
+ InvalidAssetUnknownReserve: AugmentedError<ApiType>;
1483
+ /**
1484
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
1485
+ **/
1486
+ InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
1487
+ /**
1488
+ * Origin is invalid for sending.
1489
+ **/
1490
+ InvalidOrigin: AugmentedError<ApiType>;
1491
+ /**
1492
+ * Local XCM execution incomplete.
1493
+ **/
1494
+ LocalExecutionIncomplete: AugmentedError<ApiType>;
1495
+ /**
1496
+ * Local XCM execution incomplete with the actual XCM error and the index of the
1497
+ * instruction that caused the error.
1498
+ **/
1499
+ LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
1500
+ /**
1501
+ * A remote lock with the corresponding data could not be found.
1502
+ **/
1503
+ LockNotFound: AugmentedError<ApiType>;
1504
+ /**
1505
+ * The owner does not own (all) of the asset that they wish to do the operation on.
1506
+ **/
1507
+ LowBalance: AugmentedError<ApiType>;
1508
+ /**
1509
+ * The referenced subscription could not be found.
1510
+ **/
1511
+ NoSubscription: AugmentedError<ApiType>;
1512
+ /**
1513
+ * There was some other issue (i.e. not to do with routing) in sending the message.
1514
+ * Perhaps a lack of space for buffering the message.
1515
+ **/
1516
+ SendFailure: AugmentedError<ApiType>;
1517
+ /**
1518
+ * Too many assets have been attempted for transfer.
1519
+ **/
1520
+ TooManyAssets: AugmentedError<ApiType>;
1521
+ /**
1522
+ * Too many locations authorized to alias origin.
1523
+ **/
1524
+ TooManyAuthorizedAliases: AugmentedError<ApiType>;
1525
+ /**
1526
+ * The asset owner has too many locks on the asset.
1527
+ **/
1528
+ TooManyLocks: AugmentedError<ApiType>;
1529
+ /**
1530
+ * Too many assets with different reserve locations have been attempted for transfer.
1531
+ **/
1532
+ TooManyReserves: AugmentedError<ApiType>;
1533
+ /**
1534
+ * The desired destination was unreachable, generally because there is a no way of routing
1535
+ * to it.
1536
+ **/
1537
+ Unreachable: AugmentedError<ApiType>;
1538
+ /**
1539
+ * The message's weight could not be determined.
1540
+ **/
1541
+ UnweighableMessage: AugmentedError<ApiType>;
1542
+ /**
1543
+ * Generic error
1544
+ **/
1545
+ [key: string]: AugmentedError<ApiType>;
1546
+ };
1547
+ poolAssets: {
1548
+ /**
1549
+ * The asset-account already exists.
1550
+ **/
1551
+ AlreadyExists: AugmentedError<ApiType>;
1552
+ /**
1553
+ * The asset is not live, and likely being destroyed.
1554
+ **/
1555
+ AssetNotLive: AugmentedError<ApiType>;
1556
+ /**
1557
+ * The asset ID must be equal to the [`NextAssetId`].
1558
+ **/
1559
+ BadAssetId: AugmentedError<ApiType>;
1560
+ /**
1561
+ * Invalid metadata given.
1562
+ **/
1563
+ BadMetadata: AugmentedError<ApiType>;
1564
+ /**
1565
+ * Invalid witness data given.
1566
+ **/
1567
+ BadWitness: AugmentedError<ApiType>;
1568
+ /**
1569
+ * Account balance must be greater than or equal to the transfer amount.
1570
+ **/
1571
+ BalanceLow: AugmentedError<ApiType>;
1572
+ /**
1573
+ * Callback action resulted in error
1574
+ **/
1575
+ CallbackFailed: AugmentedError<ApiType>;
1576
+ /**
1577
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
1578
+ **/
1579
+ ContainsFreezes: AugmentedError<ApiType>;
1580
+ /**
1581
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
1582
+ **/
1583
+ ContainsHolds: AugmentedError<ApiType>;
1584
+ /**
1585
+ * The origin account is frozen.
1586
+ **/
1587
+ Frozen: AugmentedError<ApiType>;
1588
+ /**
1589
+ * The asset status is not the expected status.
1590
+ **/
1591
+ IncorrectStatus: AugmentedError<ApiType>;
1592
+ /**
1593
+ * The asset ID is already taken.
1594
+ **/
1595
+ InUse: AugmentedError<ApiType>;
1596
+ /**
1597
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1598
+ * as `start_destroy` which require the asset to be in a destroying state.
1599
+ **/
1600
+ LiveAsset: AugmentedError<ApiType>;
1601
+ /**
1602
+ * Minimum balance should be non-zero.
1603
+ **/
1604
+ MinBalanceZero: AugmentedError<ApiType>;
1605
+ /**
1606
+ * The account to alter does not exist.
1607
+ **/
1608
+ NoAccount: AugmentedError<ApiType>;
1609
+ /**
1610
+ * The asset-account doesn't have an associated deposit.
1611
+ **/
1612
+ NoDeposit: AugmentedError<ApiType>;
1613
+ /**
1614
+ * The signing account has no permission to do the operation.
1615
+ **/
1616
+ NoPermission: AugmentedError<ApiType>;
1617
+ /**
1618
+ * The asset should be frozen before the given operation.
1619
+ **/
1620
+ NotFrozen: AugmentedError<ApiType>;
1621
+ /**
1622
+ * No approval exists that would allow the transfer.
1623
+ **/
1624
+ Unapproved: AugmentedError<ApiType>;
1625
+ /**
1626
+ * Unable to increment the consumer reference counters on the account. Either no provider
1627
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1628
+ * fewer then the maximum number of consumers has been reached.
1629
+ **/
1630
+ UnavailableConsumer: AugmentedError<ApiType>;
1631
+ /**
1632
+ * The given asset ID is unknown.
1633
+ **/
1634
+ Unknown: AugmentedError<ApiType>;
1635
+ /**
1636
+ * The operation would result in funds being burned.
1637
+ **/
1638
+ WouldBurn: AugmentedError<ApiType>;
1639
+ /**
1640
+ * The source account would not survive the transfer and it needs to stay alive.
1641
+ **/
1642
+ WouldDie: AugmentedError<ApiType>;
1643
+ /**
1644
+ * Generic error
1645
+ **/
1646
+ [key: string]: AugmentedError<ApiType>;
1647
+ };
1648
+ preimage: {
1649
+ /**
1650
+ * Preimage has already been noted on-chain.
1651
+ **/
1652
+ AlreadyNoted: AugmentedError<ApiType>;
1653
+ /**
1654
+ * The user is not authorized to perform this action.
1655
+ **/
1656
+ NotAuthorized: AugmentedError<ApiType>;
1657
+ /**
1658
+ * The preimage cannot be removed since it has not yet been noted.
1659
+ **/
1660
+ NotNoted: AugmentedError<ApiType>;
1661
+ /**
1662
+ * The preimage request cannot be removed since no outstanding requests exist.
1663
+ **/
1664
+ NotRequested: AugmentedError<ApiType>;
1665
+ /**
1666
+ * A preimage may not be removed when there are outstanding requests.
1667
+ **/
1668
+ Requested: AugmentedError<ApiType>;
1669
+ /**
1670
+ * Preimage is too large to store on-chain.
1671
+ **/
1672
+ TooBig: AugmentedError<ApiType>;
1673
+ /**
1674
+ * Too few hashes were requested to be upgraded (i.e. zero).
1675
+ **/
1676
+ TooFew: AugmentedError<ApiType>;
1677
+ /**
1678
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1679
+ **/
1680
+ TooMany: AugmentedError<ApiType>;
1681
+ /**
1682
+ * Generic error
1683
+ **/
1684
+ [key: string]: AugmentedError<ApiType>;
1685
+ };
1686
+ proxy: {
1687
+ /**
1688
+ * Account is already a proxy.
1689
+ **/
1690
+ Duplicate: AugmentedError<ApiType>;
1691
+ /**
1692
+ * Call may not be made by proxy because it may escalate its privileges.
1693
+ **/
1694
+ NoPermission: AugmentedError<ApiType>;
1695
+ /**
1696
+ * Cannot add self as proxy.
1697
+ **/
1698
+ NoSelfProxy: AugmentedError<ApiType>;
1699
+ /**
1700
+ * Proxy registration not found.
1701
+ **/
1702
+ NotFound: AugmentedError<ApiType>;
1703
+ /**
1704
+ * Sender is not a proxy of the account to be proxied.
1705
+ **/
1706
+ NotProxy: AugmentedError<ApiType>;
1707
+ /**
1708
+ * There are too many proxies registered or too many announcements pending.
1709
+ **/
1710
+ TooMany: AugmentedError<ApiType>;
1711
+ /**
1712
+ * Announcement, if made at all, was made too recently.
1713
+ **/
1714
+ Unannounced: AugmentedError<ApiType>;
1715
+ /**
1716
+ * A call which is incompatible with the proxy type's filter was attempted.
1717
+ **/
1718
+ Unproxyable: AugmentedError<ApiType>;
1719
+ /**
1720
+ * Generic error
1721
+ **/
1722
+ [key: string]: AugmentedError<ApiType>;
1723
+ };
1724
+ recovery: {
1725
+ /**
1726
+ * This account is already set up for recovery
1727
+ **/
1728
+ AlreadyProxy: AugmentedError<ApiType>;
1729
+ /**
1730
+ * This account is already set up for recovery
1731
+ **/
1732
+ AlreadyRecoverable: AugmentedError<ApiType>;
1733
+ /**
1734
+ * A recovery process has already started for this account
1735
+ **/
1736
+ AlreadyStarted: AugmentedError<ApiType>;
1737
+ /**
1738
+ * This user has already vouched for this recovery
1739
+ **/
1740
+ AlreadyVouched: AugmentedError<ApiType>;
1741
+ /**
1742
+ * Some internal state is broken.
1743
+ **/
1744
+ BadState: AugmentedError<ApiType>;
1745
+ /**
1746
+ * The friend must wait until the delay period to vouch for this recovery
1747
+ **/
1748
+ DelayPeriod: AugmentedError<ApiType>;
1749
+ /**
1750
+ * Friends list must be less than max friends
1751
+ **/
1752
+ MaxFriends: AugmentedError<ApiType>;
1753
+ /**
1754
+ * User is not allowed to make a call on behalf of this account
1755
+ **/
1756
+ NotAllowed: AugmentedError<ApiType>;
1757
+ /**
1758
+ * Friends list must be greater than zero and threshold
1759
+ **/
1760
+ NotEnoughFriends: AugmentedError<ApiType>;
1761
+ /**
1762
+ * This account is not a friend who can vouch
1763
+ **/
1764
+ NotFriend: AugmentedError<ApiType>;
1765
+ /**
1766
+ * This account is not set up for recovery
1767
+ **/
1768
+ NotRecoverable: AugmentedError<ApiType>;
1769
+ /**
1770
+ * Friends list must be sorted and free of duplicates
1771
+ **/
1772
+ NotSorted: AugmentedError<ApiType>;
1773
+ /**
1774
+ * A recovery process has not started for this rescuer
1775
+ **/
1776
+ NotStarted: AugmentedError<ApiType>;
1777
+ /**
1778
+ * There are still active recovery attempts that need to be closed
1779
+ **/
1780
+ StillActive: AugmentedError<ApiType>;
1781
+ /**
1782
+ * The threshold for recovering this account has not been met
1783
+ **/
1784
+ Threshold: AugmentedError<ApiType>;
1785
+ /**
1786
+ * Threshold must be greater than zero
1787
+ **/
1788
+ ZeroThreshold: AugmentedError<ApiType>;
1789
+ /**
1790
+ * Generic error
1791
+ **/
1792
+ [key: string]: AugmentedError<ApiType>;
1793
+ };
1794
+ referenda: {
1795
+ /**
1796
+ * The referendum index provided is invalid in this context.
1797
+ **/
1798
+ BadReferendum: AugmentedError<ApiType>;
1799
+ /**
1800
+ * The referendum status is invalid for this operation.
1801
+ **/
1802
+ BadStatus: AugmentedError<ApiType>;
1803
+ /**
1804
+ * The track identifier given was invalid.
1805
+ **/
1806
+ BadTrack: AugmentedError<ApiType>;
1807
+ /**
1808
+ * There are already a full complement of referenda in progress for this track.
1809
+ **/
1810
+ Full: AugmentedError<ApiType>;
1811
+ /**
1812
+ * Referendum's decision deposit is already paid.
1813
+ **/
1814
+ HasDeposit: AugmentedError<ApiType>;
1815
+ /**
1816
+ * The deposit cannot be refunded since none was made.
1817
+ **/
1818
+ NoDeposit: AugmentedError<ApiType>;
1819
+ /**
1820
+ * The deposit refunder is not the depositor.
1821
+ **/
1822
+ NoPermission: AugmentedError<ApiType>;
1823
+ /**
1824
+ * There was nothing to do in the advancement.
1825
+ **/
1826
+ NothingToDo: AugmentedError<ApiType>;
1827
+ /**
1828
+ * Referendum is not ongoing.
1829
+ **/
1830
+ NotOngoing: AugmentedError<ApiType>;
1831
+ /**
1832
+ * No track exists for the proposal origin.
1833
+ **/
1834
+ NoTrack: AugmentedError<ApiType>;
1835
+ /**
1836
+ * The preimage does not exist.
1837
+ **/
1838
+ PreimageNotExist: AugmentedError<ApiType>;
1839
+ /**
1840
+ * The preimage is stored with a different length than the one provided.
1841
+ **/
1842
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
1843
+ /**
1844
+ * The queue of the track is empty.
1845
+ **/
1846
+ QueueEmpty: AugmentedError<ApiType>;
1847
+ /**
1848
+ * Any deposit cannot be refunded until after the decision is over.
1849
+ **/
1850
+ Unfinished: AugmentedError<ApiType>;
1851
+ /**
1852
+ * Generic error
1853
+ **/
1854
+ [key: string]: AugmentedError<ApiType>;
1855
+ };
1856
+ remoteProxyRelayChain: {
1857
+ /**
1858
+ * The local account id could not converted to the remote account id.
1859
+ **/
1860
+ CouldNotConvertLocalToRemoteAccountId: AugmentedError<ApiType>;
1861
+ /**
1862
+ * Could not find any matching proxy definition in the proof.
1863
+ **/
1864
+ DidNotFindMatchingProxyDefinition: AugmentedError<ApiType>;
1865
+ /**
1866
+ * The proxy definition could not be found in the proof.
1867
+ **/
1868
+ InvalidProof: AugmentedError<ApiType>;
1869
+ /**
1870
+ * Failed to decode the remote proxy definition from the proof.
1871
+ **/
1872
+ ProxyDefinitionDecodingFailed: AugmentedError<ApiType>;
1873
+ /**
1874
+ * Proxy proof not registered.
1875
+ **/
1876
+ ProxyProofNotRegistered: AugmentedError<ApiType>;
1877
+ /**
1878
+ * Announcement, if made at all, was made too recently.
1879
+ **/
1880
+ Unannounced: AugmentedError<ApiType>;
1881
+ /**
1882
+ * The anchor block of the remote proof is unknown.
1883
+ **/
1884
+ UnknownProofAnchorBlock: AugmentedError<ApiType>;
1885
+ /**
1886
+ * Generic error
1887
+ **/
1888
+ [key: string]: AugmentedError<ApiType>;
1889
+ };
1890
+ revive: {
1891
+ /**
1892
+ * Tried to map an account that is already mapped.
1893
+ **/
1894
+ AccountAlreadyMapped: AugmentedError<ApiType>;
1895
+ /**
1896
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
1897
+ *
1898
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
1899
+ **/
1900
+ AccountUnmapped: AugmentedError<ApiType>;
1901
+ /**
1902
+ * Failed to convert a U256 to a Balance.
1903
+ **/
1904
+ BalanceConversionFailed: AugmentedError<ApiType>;
1905
+ /**
1906
+ * The program contains a basic block that is larger than allowed.
1907
+ **/
1908
+ BasicBlockTooLarge: AugmentedError<ApiType>;
1909
+ /**
1910
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
1911
+ **/
1912
+ BlobTooLarge: AugmentedError<ApiType>;
1913
+ /**
1914
+ * The calldata exceeds [`limits::CALLDATA_BYTES`].
1915
+ **/
1916
+ CallDataTooLarge: AugmentedError<ApiType>;
1917
+ /**
1918
+ * Can not add a delegate dependency to the code hash of the contract itself.
1919
+ **/
1920
+ CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
1921
+ /**
1922
+ * No code info could be found at the supplied code hash.
1923
+ **/
1924
+ CodeInfoNotFound: AugmentedError<ApiType>;
1925
+ /**
1926
+ * Code removal was denied because the code is still in use by at least one contract.
1927
+ **/
1928
+ CodeInUse: AugmentedError<ApiType>;
1929
+ /**
1930
+ * No code could be found at the supplied code hash.
1931
+ **/
1932
+ CodeNotFound: AugmentedError<ApiType>;
1933
+ /**
1934
+ * The contract failed to compile or is missing the correct entry points.
1935
+ *
1936
+ * A more detailed error can be found on the node console if debug messages are enabled
1937
+ * by supplying `-lruntime::revive=debug`.
1938
+ **/
1939
+ CodeRejected: AugmentedError<ApiType>;
1940
+ /**
1941
+ * No contract was found at the specified address.
1942
+ **/
1943
+ ContractNotFound: AugmentedError<ApiType>;
1944
+ /**
1945
+ * The contract ran to completion but decided to revert its storage changes.
1946
+ * Please note that this error is only returned from extrinsics. When called directly
1947
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1948
+ * to determine whether a reversion has taken place.
1949
+ **/
1950
+ ContractReverted: AugmentedError<ApiType>;
1951
+ /**
1952
+ * Contract trapped during execution.
1953
+ **/
1954
+ ContractTrapped: AugmentedError<ApiType>;
1955
+ /**
1956
+ * Input passed to a contract API function failed to decode as expected type.
1957
+ **/
1958
+ DecodingFailed: AugmentedError<ApiType>;
1959
+ /**
1960
+ * The contract already depends on the given delegate dependency.
1961
+ **/
1962
+ DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
1963
+ /**
1964
+ * The dependency was not found in the contract's delegate dependencies.
1965
+ **/
1966
+ DelegateDependencyNotFound: AugmentedError<ApiType>;
1967
+ /**
1968
+ * A contract with the same AccountId already exists.
1969
+ **/
1970
+ DuplicateContract: AugmentedError<ApiType>;
1971
+ /**
1972
+ * PolkaVM failed during code execution. Probably due to a malformed program.
1973
+ **/
1974
+ ExecutionFailed: AugmentedError<ApiType>;
1975
+ /**
1976
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1977
+ **/
1978
+ InputForwarded: AugmentedError<ApiType>;
1979
+ /**
1980
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1981
+ **/
1982
+ InvalidCallFlags: AugmentedError<ApiType>;
1983
+ /**
1984
+ * The transaction used to dry-run a contract is invalid.
1985
+ **/
1986
+ InvalidGenericTransaction: AugmentedError<ApiType>;
1987
+ /**
1988
+ * Immutable data can only be set during deploys and only be read during calls.
1989
+ * Additionally, it is only valid to set the data once and it must not be empty.
1990
+ **/
1991
+ InvalidImmutableAccess: AugmentedError<ApiType>;
1992
+ /**
1993
+ * The program contains an invalid instruction.
1994
+ **/
1995
+ InvalidInstruction: AugmentedError<ApiType>;
1996
+ /**
1997
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
1998
+ **/
1999
+ InvalidSchedule: AugmentedError<ApiType>;
2000
+ /**
2001
+ * Invalid storage flags were passed to one of the storage syscalls.
2002
+ **/
2003
+ InvalidStorageFlags: AugmentedError<ApiType>;
2004
+ /**
2005
+ * The contract tried to call a syscall which does not exist (at its current api level).
2006
+ **/
2007
+ InvalidSyscall: AugmentedError<ApiType>;
2008
+ /**
2009
+ * Performing a call was denied because the calling depth reached the limit
2010
+ * of what is specified in the schedule.
2011
+ **/
2012
+ MaxCallDepthReached: AugmentedError<ApiType>;
2013
+ /**
2014
+ * The contract has reached its maximum number of delegate dependencies.
2015
+ **/
2016
+ MaxDelegateDependenciesReached: AugmentedError<ApiType>;
2017
+ /**
2018
+ * A buffer outside of sandbox memory was passed to a contract API function.
2019
+ **/
2020
+ OutOfBounds: AugmentedError<ApiType>;
2021
+ /**
2022
+ * The executed contract exhausted its gas limit.
2023
+ **/
2024
+ OutOfGas: AugmentedError<ApiType>;
2025
+ /**
2026
+ * Can not add more data to transient storage.
2027
+ **/
2028
+ OutOfTransientStorage: AugmentedError<ApiType>;
2029
+ /**
2030
+ * A contract called into the runtime which then called back into this pallet.
2031
+ **/
2032
+ ReenteredPallet: AugmentedError<ApiType>;
2033
+ /**
2034
+ * A call tried to invoke a contract that is flagged as non-reentrant.
2035
+ **/
2036
+ ReentranceDenied: AugmentedError<ApiType>;
2037
+ /**
2038
+ * The refcount of a code either over or underflowed.
2039
+ **/
2040
+ RefcountOverOrUnderflow: AugmentedError<ApiType>;
2041
+ /**
2042
+ * The return data exceeds [`limits::CALLDATA_BYTES`].
2043
+ **/
2044
+ ReturnDataTooLarge: AugmentedError<ApiType>;
2045
+ /**
2046
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
2047
+ **/
2048
+ StateChangeDenied: AugmentedError<ApiType>;
2049
+ /**
2050
+ * The contract declares too much memory (ro + rw + stack).
2051
+ **/
2052
+ StaticMemoryTooLarge: AugmentedError<ApiType>;
2053
+ /**
2054
+ * More storage was created than allowed by the storage deposit limit.
2055
+ **/
2056
+ StorageDepositLimitExhausted: AugmentedError<ApiType>;
2057
+ /**
2058
+ * Origin doesn't have enough balance to pay the required storage deposits.
2059
+ **/
2060
+ StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
2061
+ /**
2062
+ * A contract self destructed in its constructor.
2063
+ *
2064
+ * This can be triggered by a call to `seal_terminate`.
2065
+ **/
2066
+ TerminatedInConstructor: AugmentedError<ApiType>;
2067
+ /**
2068
+ * Termination of a contract is not allowed while the contract is already
2069
+ * on the call stack. Can be triggered by `seal_terminate`.
2070
+ **/
2071
+ TerminatedWhileReentrant: AugmentedError<ApiType>;
2072
+ /**
2073
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
2074
+ **/
2075
+ TooManyTopics: AugmentedError<ApiType>;
2076
+ /**
2077
+ * Performing the requested transfer failed. Probably because there isn't enough
2078
+ * free balance in the sender's account.
2079
+ **/
2080
+ TransferFailed: AugmentedError<ApiType>;
2081
+ /**
2082
+ * Unsupported precompile address.
2083
+ **/
2084
+ UnsupportedPrecompileAddress: AugmentedError<ApiType>;
2085
+ /**
2086
+ * Event body or storage item exceeds [`limits::PAYLOAD_BYTES`].
2087
+ **/
2088
+ ValueTooLarge: AugmentedError<ApiType>;
2089
+ /**
2090
+ * Generic error
2091
+ **/
2092
+ [key: string]: AugmentedError<ApiType>;
2093
+ };
2094
+ scheduler: {
2095
+ /**
2096
+ * Failed to schedule a call
2097
+ **/
2098
+ FailedToSchedule: AugmentedError<ApiType>;
2099
+ /**
2100
+ * Attempt to use a non-named function on a named task.
2101
+ **/
2102
+ Named: AugmentedError<ApiType>;
2103
+ /**
2104
+ * Cannot find the scheduled call.
2105
+ **/
2106
+ NotFound: AugmentedError<ApiType>;
2107
+ /**
2108
+ * Reschedule failed because it does not change scheduled time.
2109
+ **/
2110
+ RescheduleNoChange: AugmentedError<ApiType>;
2111
+ /**
2112
+ * Given target block number is in the past.
2113
+ **/
2114
+ TargetBlockNumberInPast: AugmentedError<ApiType>;
2115
+ /**
2116
+ * Generic error
2117
+ **/
2118
+ [key: string]: AugmentedError<ApiType>;
2119
+ };
2120
+ session: {
2121
+ /**
2122
+ * Registered duplicate key.
2123
+ **/
2124
+ DuplicatedKey: AugmentedError<ApiType>;
2125
+ /**
2126
+ * Invalid ownership proof.
2127
+ **/
2128
+ InvalidProof: AugmentedError<ApiType>;
2129
+ /**
2130
+ * Key setting account is not live, so it's impossible to associate keys.
2131
+ **/
2132
+ NoAccount: AugmentedError<ApiType>;
2133
+ /**
2134
+ * No associated validator ID for account.
2135
+ **/
2136
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
2137
+ /**
2138
+ * No keys are associated with this account.
2139
+ **/
2140
+ NoKeys: AugmentedError<ApiType>;
2141
+ /**
2142
+ * Generic error
2143
+ **/
2144
+ [key: string]: AugmentedError<ApiType>;
2145
+ };
2146
+ society: {
2147
+ /**
2148
+ * User has already made a bid.
2149
+ **/
2150
+ AlreadyBid: AugmentedError<ApiType>;
2151
+ /**
2152
+ * User is already a candidate.
2153
+ **/
2154
+ AlreadyCandidate: AugmentedError<ApiType>;
2155
+ /**
2156
+ * The member is already elevated to this rank.
2157
+ **/
2158
+ AlreadyElevated: AugmentedError<ApiType>;
2159
+ /**
2160
+ * Society already founded.
2161
+ **/
2162
+ AlreadyFounded: AugmentedError<ApiType>;
2163
+ /**
2164
+ * User is already a member.
2165
+ **/
2166
+ AlreadyMember: AugmentedError<ApiType>;
2167
+ /**
2168
+ * The skeptic has already been punished for this offence.
2169
+ **/
2170
+ AlreadyPunished: AugmentedError<ApiType>;
2171
+ /**
2172
+ * Member is already vouching or banned from vouching again.
2173
+ **/
2174
+ AlreadyVouching: AugmentedError<ApiType>;
2175
+ /**
2176
+ * The candidacy cannot be dropped as the candidate was clearly approved.
2177
+ **/
2178
+ Approved: AugmentedError<ApiType>;
2179
+ /**
2180
+ * The skeptic need not vote on candidates from expired rounds.
2181
+ **/
2182
+ Expired: AugmentedError<ApiType>;
2183
+ /**
2184
+ * Cannot remove the founder.
2185
+ **/
2186
+ Founder: AugmentedError<ApiType>;
2187
+ /**
2188
+ * Cannot remove the head of the chain.
2189
+ **/
2190
+ Head: AugmentedError<ApiType>;
2191
+ /**
2192
+ * The candidacy cannot be concluded as the voting is still in progress.
2193
+ **/
2194
+ InProgress: AugmentedError<ApiType>;
2195
+ /**
2196
+ * Funds are insufficient to pay off society debts.
2197
+ **/
2198
+ InsufficientFunds: AugmentedError<ApiType>;
2199
+ /**
2200
+ * Not enough in pot to accept candidate.
2201
+ **/
2202
+ InsufficientPot: AugmentedError<ApiType>;
2203
+ /**
2204
+ * Too many members in the society.
2205
+ **/
2206
+ MaxMembers: AugmentedError<ApiType>;
2207
+ /**
2208
+ * There is no defender currently.
2209
+ **/
2210
+ NoDefender: AugmentedError<ApiType>;
2211
+ /**
2212
+ * There is no deposit associated with a bid.
2213
+ **/
2214
+ NoDeposit: AugmentedError<ApiType>;
2215
+ /**
2216
+ * Nothing to payout.
2217
+ **/
2218
+ NoPayout: AugmentedError<ApiType>;
2219
+ /**
2220
+ * The membership cannot be claimed as the candidate was not clearly approved.
2221
+ **/
2222
+ NotApproved: AugmentedError<ApiType>;
2223
+ /**
2224
+ * User is not a bidder.
2225
+ **/
2226
+ NotBidder: AugmentedError<ApiType>;
2227
+ /**
2228
+ * User is not a candidate.
2229
+ **/
2230
+ NotCandidate: AugmentedError<ApiType>;
2231
+ /**
2232
+ * The caller is not the founder.
2233
+ **/
2234
+ NotFounder: AugmentedError<ApiType>;
2235
+ /**
2236
+ * Group doesn't exist.
2237
+ **/
2238
+ NotGroup: AugmentedError<ApiType>;
2239
+ /**
2240
+ * The caller is not the head.
2241
+ **/
2242
+ NotHead: AugmentedError<ApiType>;
2243
+ /**
2244
+ * User is not a member.
2245
+ **/
2246
+ NotMember: AugmentedError<ApiType>;
2247
+ /**
2248
+ * The candidate cannot be kicked as the candidate was not clearly rejected.
2249
+ **/
2250
+ NotRejected: AugmentedError<ApiType>;
2251
+ /**
2252
+ * User is not suspended.
2253
+ **/
2254
+ NotSuspended: AugmentedError<ApiType>;
2255
+ /**
2256
+ * Member is not vouching.
2257
+ **/
2258
+ NotVouchingOnBidder: AugmentedError<ApiType>;
2259
+ /**
2260
+ * The candidate/defender has no stale votes to remove.
2261
+ **/
2262
+ NoVotes: AugmentedError<ApiType>;
2263
+ /**
2264
+ * The candidacy cannot be bestowed as the candidate was clearly rejected.
2265
+ **/
2266
+ Rejected: AugmentedError<ApiType>;
2267
+ /**
2268
+ * User is suspended.
2269
+ **/
2270
+ Suspended: AugmentedError<ApiType>;
2271
+ /**
2272
+ * The candidacy cannot be pruned until a full additional intake period has passed.
2273
+ **/
2274
+ TooEarly: AugmentedError<ApiType>;
2275
+ /**
2276
+ * The skeptic already voted.
2277
+ **/
2278
+ Voted: AugmentedError<ApiType>;
2279
+ /**
2280
+ * Generic error
2281
+ **/
2282
+ [key: string]: AugmentedError<ApiType>;
2283
+ };
2284
+ staking: {
2285
+ /**
2286
+ * Stash is already bonded.
2287
+ **/
2288
+ AlreadyBonded: AugmentedError<ApiType>;
2289
+ /**
2290
+ * Rewards for this era have already been claimed for this validator.
2291
+ **/
2292
+ AlreadyClaimed: AugmentedError<ApiType>;
2293
+ /**
2294
+ * The stake of this account is already migrated to `Fungible` holds.
2295
+ **/
2296
+ AlreadyMigrated: AugmentedError<ApiType>;
2297
+ /**
2298
+ * Controller is already paired.
2299
+ **/
2300
+ AlreadyPaired: AugmentedError<ApiType>;
2301
+ /**
2302
+ * Internal state has become somehow corrupted and the operation cannot continue.
2303
+ **/
2304
+ BadState: AugmentedError<ApiType>;
2305
+ /**
2306
+ * A nomination target was supplied that was blocked or otherwise not a validator.
2307
+ **/
2308
+ BadTarget: AugmentedError<ApiType>;
2309
+ /**
2310
+ * Some bound is not met.
2311
+ **/
2312
+ BoundNotMet: AugmentedError<ApiType>;
2313
+ /**
2314
+ * The slash has been cancelled and cannot be applied.
2315
+ **/
2316
+ CancelledSlash: AugmentedError<ApiType>;
2317
+ /**
2318
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
2319
+ **/
2320
+ CannotChillOther: AugmentedError<ApiType>;
2321
+ /**
2322
+ * Stash could not be reaped as other pallet might depend on it.
2323
+ **/
2324
+ CannotReapStash: AugmentedError<ApiType>;
2325
+ /**
2326
+ * Cannot reset a ledger.
2327
+ **/
2328
+ CannotRestoreLedger: AugmentedError<ApiType>;
2329
+ /**
2330
+ * Commission is too low. Must be at least `MinCommission`.
2331
+ **/
2332
+ CommissionTooLow: AugmentedError<ApiType>;
2333
+ /**
2334
+ * Used when attempting to use deprecated controller account logic.
2335
+ **/
2336
+ ControllerDeprecated: AugmentedError<ApiType>;
2337
+ /**
2338
+ * Duplicate index.
2339
+ **/
2340
+ DuplicateIndex: AugmentedError<ApiType>;
2341
+ /**
2342
+ * Targets cannot be empty.
2343
+ **/
2344
+ EmptyTargets: AugmentedError<ApiType>;
2345
+ /**
2346
+ * The era is not eligible for pruning.
2347
+ **/
2348
+ EraNotPrunable: AugmentedError<ApiType>;
2349
+ /**
2350
+ * Era not yet started.
2351
+ **/
2352
+ EraNotStarted: AugmentedError<ApiType>;
2353
+ /**
2354
+ * Attempting to target a stash that still has funds.
2355
+ **/
2356
+ FundedTarget: AugmentedError<ApiType>;
2357
+ /**
2358
+ * Incorrect previous history depth input provided.
2359
+ **/
2360
+ IncorrectHistoryDepth: AugmentedError<ApiType>;
2361
+ /**
2362
+ * Cannot bond, nominate or validate with value less than the minimum defined by
2363
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
2364
+ * intention, `chill` first to remove one's role as validator/nominator.
2365
+ **/
2366
+ InsufficientBond: AugmentedError<ApiType>;
2367
+ /**
2368
+ * Invalid era to reward.
2369
+ **/
2370
+ InvalidEraToReward: AugmentedError<ApiType>;
2371
+ /**
2372
+ * Invalid number of nominations.
2373
+ **/
2374
+ InvalidNumberOfNominations: AugmentedError<ApiType>;
2375
+ /**
2376
+ * No nominators exist on this page.
2377
+ **/
2378
+ InvalidPage: AugmentedError<ApiType>;
2379
+ /**
2380
+ * Slash record not found.
2381
+ **/
2382
+ InvalidSlashRecord: AugmentedError<ApiType>;
2383
+ /**
2384
+ * Can not schedule more unlock chunks.
2385
+ **/
2386
+ NoMoreChunks: AugmentedError<ApiType>;
2387
+ /**
2388
+ * Not a controller account.
2389
+ **/
2390
+ NotController: AugmentedError<ApiType>;
2391
+ /**
2392
+ * Not enough funds available to withdraw.
2393
+ **/
2394
+ NotEnoughFunds: AugmentedError<ApiType>;
2395
+ /**
2396
+ * Not a stash account.
2397
+ **/
2398
+ NotStash: AugmentedError<ApiType>;
2399
+ /**
2400
+ * Can not rebond without unlocking chunks.
2401
+ **/
2402
+ NoUnlockChunk: AugmentedError<ApiType>;
2403
+ /**
2404
+ * Account is restricted from participation in staking. This may happen if the account is
2405
+ * staking in another way already, such as via pool.
2406
+ **/
2407
+ Restricted: AugmentedError<ApiType>;
2408
+ /**
2409
+ * Provided reward destination is not allowed.
2410
+ **/
2411
+ RewardDestinationRestricted: AugmentedError<ApiType>;
2412
+ /**
2413
+ * There are too many nominators in the system. Governance needs to adjust the staking
2414
+ * settings to keep things safe for the runtime.
2415
+ **/
2416
+ TooManyNominators: AugmentedError<ApiType>;
2417
+ /**
2418
+ * Too many nomination targets supplied.
2419
+ **/
2420
+ TooManyTargets: AugmentedError<ApiType>;
2421
+ /**
2422
+ * There are too many validator candidates in the system. Governance needs to adjust the
2423
+ * staking settings to keep things safe for the runtime.
2424
+ **/
2425
+ TooManyValidators: AugmentedError<ApiType>;
2426
+ /**
2427
+ * Unapplied slashes in the recently concluded era is blocking this operation.
2428
+ * See `Call::apply_slash` to apply them.
2429
+ **/
2430
+ UnappliedSlashesInPreviousEra: AugmentedError<ApiType>;
2431
+ /**
2432
+ * Operation not allowed for virtual stakers.
2433
+ **/
2434
+ VirtualStakerNotAllowed: AugmentedError<ApiType>;
2435
+ /**
2436
+ * Generic error
2437
+ **/
2438
+ [key: string]: AugmentedError<ApiType>;
2439
+ };
2440
+ stateTrieMigration: {
2441
+ /**
2442
+ * Bad child root provided.
2443
+ **/
2444
+ BadChildRoot: AugmentedError<ApiType>;
2445
+ /**
2446
+ * Bad witness data provided.
2447
+ **/
2448
+ BadWitness: AugmentedError<ApiType>;
2449
+ /**
2450
+ * A key was longer than the configured maximum.
2451
+ *
2452
+ * This means that the migration halted at the current [`Progress`] and
2453
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2454
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2455
+ * The value should only be increased to avoid a storage migration for the currently
2456
+ * stored [`crate::Progress::LastKey`].
2457
+ **/
2458
+ KeyTooLong: AugmentedError<ApiType>;
2459
+ /**
2460
+ * Max signed limits not respected.
2461
+ **/
2462
+ MaxSignedLimits: AugmentedError<ApiType>;
2463
+ /**
2464
+ * submitter does not have enough funds.
2465
+ **/
2466
+ NotEnoughFunds: AugmentedError<ApiType>;
2467
+ /**
2468
+ * Signed migration is not allowed because the maximum limit is not set yet.
2469
+ **/
2470
+ SignedMigrationNotAllowed: AugmentedError<ApiType>;
2471
+ /**
2472
+ * Generic error
2473
+ **/
2474
+ [key: string]: AugmentedError<ApiType>;
2475
+ };
2476
+ system: {
2477
+ /**
2478
+ * The origin filter prevent the call to be dispatched.
2479
+ **/
2480
+ CallFiltered: AugmentedError<ApiType>;
2481
+ /**
2482
+ * The specified [`Task`] failed during execution.
2483
+ **/
2484
+ FailedTask: AugmentedError<ApiType>;
2485
+ /**
2486
+ * Failed to extract the runtime version from the new runtime.
2487
+ *
2488
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
2489
+ **/
2490
+ FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
2491
+ /**
2492
+ * The name of specification does not match between the current runtime
2493
+ * and the new runtime.
2494
+ **/
2495
+ InvalidSpecName: AugmentedError<ApiType>;
2496
+ /**
2497
+ * The specified [`Task`] is not valid.
2498
+ **/
2499
+ InvalidTask: AugmentedError<ApiType>;
2500
+ /**
2501
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
2502
+ **/
2503
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
2504
+ /**
2505
+ * Suicide called when the account has non-default composite data.
2506
+ **/
2507
+ NonDefaultComposite: AugmentedError<ApiType>;
2508
+ /**
2509
+ * There is a non-zero reference count preventing the account from being purged.
2510
+ **/
2511
+ NonZeroRefCount: AugmentedError<ApiType>;
2512
+ /**
2513
+ * No upgrade authorized.
2514
+ **/
2515
+ NothingAuthorized: AugmentedError<ApiType>;
2516
+ /**
2517
+ * The specification version is not allowed to decrease between the current runtime
2518
+ * and the new runtime.
2519
+ **/
2520
+ SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
2521
+ /**
2522
+ * The submitted code is not authorized.
2523
+ **/
2524
+ Unauthorized: AugmentedError<ApiType>;
2525
+ /**
2526
+ * Generic error
2527
+ **/
2528
+ [key: string]: AugmentedError<ApiType>;
2529
+ };
2530
+ treasury: {
2531
+ /**
2532
+ * The payment has already been attempted.
2533
+ **/
2534
+ AlreadyAttempted: AugmentedError<ApiType>;
2535
+ /**
2536
+ * The spend is not yet eligible for payout.
2537
+ **/
2538
+ EarlyPayout: AugmentedError<ApiType>;
2539
+ /**
2540
+ * The balance of the asset kind is not convertible to the balance of the native asset.
2541
+ **/
2542
+ FailedToConvertBalance: AugmentedError<ApiType>;
2543
+ /**
2544
+ * The payment has neither failed nor succeeded yet.
2545
+ **/
2546
+ Inconclusive: AugmentedError<ApiType>;
2547
+ /**
2548
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
2549
+ * amount to be spent.
2550
+ **/
2551
+ InsufficientPermission: AugmentedError<ApiType>;
2552
+ /**
2553
+ * No proposal, bounty or spend at that index.
2554
+ **/
2555
+ InvalidIndex: AugmentedError<ApiType>;
2556
+ /**
2557
+ * The payout was not yet attempted/claimed.
2558
+ **/
2559
+ NotAttempted: AugmentedError<ApiType>;
2560
+ /**
2561
+ * There was some issue with the mechanism of payment.
2562
+ **/
2563
+ PayoutError: AugmentedError<ApiType>;
2564
+ /**
2565
+ * Proposal has not been approved.
2566
+ **/
2567
+ ProposalNotApproved: AugmentedError<ApiType>;
2568
+ /**
2569
+ * The spend has expired and cannot be claimed.
2570
+ **/
2571
+ SpendExpired: AugmentedError<ApiType>;
2572
+ /**
2573
+ * Too many approvals in the queue.
2574
+ **/
2575
+ TooManyApprovals: AugmentedError<ApiType>;
2576
+ /**
2577
+ * Generic error
2578
+ **/
2579
+ [key: string]: AugmentedError<ApiType>;
2580
+ };
2581
+ uniques: {
2582
+ /**
2583
+ * The item ID has already been used for an item.
2584
+ **/
2585
+ AlreadyExists: AugmentedError<ApiType>;
2586
+ /**
2587
+ * An attribute is not found.
2588
+ **/
2589
+ AttributeNotFound: AugmentedError<ApiType>;
2590
+ /**
2591
+ * Invalid witness data given.
2592
+ **/
2593
+ BadWitness: AugmentedError<ApiType>;
2594
+ /**
2595
+ * The provided bid is too low.
2596
+ **/
2597
+ BidTooLow: AugmentedError<ApiType>;
2598
+ /**
2599
+ * The item or collection is frozen.
2600
+ **/
2601
+ Frozen: AugmentedError<ApiType>;
2602
+ /**
2603
+ * The item ID is already taken.
2604
+ **/
2605
+ InUse: AugmentedError<ApiType>;
2606
+ /**
2607
+ * The item is locked.
2608
+ **/
2609
+ Locked: AugmentedError<ApiType>;
2610
+ /**
2611
+ * The max supply has already been set.
2612
+ **/
2613
+ MaxSupplyAlreadySet: AugmentedError<ApiType>;
2614
+ /**
2615
+ * All items have been minted.
2616
+ **/
2617
+ MaxSupplyReached: AugmentedError<ApiType>;
2618
+ /**
2619
+ * The provided max supply is less to the amount of items a collection already has.
2620
+ **/
2621
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
2622
+ /**
2623
+ * There is no delegate approved.
2624
+ **/
2625
+ NoDelegate: AugmentedError<ApiType>;
2626
+ /**
2627
+ * No metadata is found.
2628
+ **/
2629
+ NoMetadata: AugmentedError<ApiType>;
2630
+ /**
2631
+ * The signing account has no permission to do the operation.
2632
+ **/
2633
+ NoPermission: AugmentedError<ApiType>;
2634
+ /**
2635
+ * Item is not for sale.
2636
+ **/
2637
+ NotForSale: AugmentedError<ApiType>;
2638
+ /**
2639
+ * The named owner has not signed ownership of the collection is acceptable.
2640
+ **/
2641
+ Unaccepted: AugmentedError<ApiType>;
2642
+ /**
2643
+ * No approval exists that would allow the transfer.
2644
+ **/
2645
+ Unapproved: AugmentedError<ApiType>;
2646
+ /**
2647
+ * The given item ID is unknown.
2648
+ **/
2649
+ UnknownCollection: AugmentedError<ApiType>;
2650
+ /**
2651
+ * The given item ID is unknown.
2652
+ **/
2653
+ UnknownItem: AugmentedError<ApiType>;
2654
+ /**
2655
+ * Wrong attribute key/value bytes supplied.
2656
+ **/
2657
+ WrongAttribute: AugmentedError<ApiType>;
2658
+ /**
2659
+ * The delegate turned out to be different to what was expected.
2660
+ **/
2661
+ WrongDelegate: AugmentedError<ApiType>;
2662
+ /**
2663
+ * Wrong metadata key/value bytes supplied.
2664
+ **/
2665
+ WrongMetadata: AugmentedError<ApiType>;
2666
+ /**
2667
+ * The owner turned out to be different to what was expected.
2668
+ **/
2669
+ WrongOwner: AugmentedError<ApiType>;
2670
+ /**
2671
+ * Generic error
2672
+ **/
2673
+ [key: string]: AugmentedError<ApiType>;
2674
+ };
2675
+ utility: {
2676
+ /**
2677
+ * Too many calls batched.
2678
+ **/
2679
+ TooManyCalls: AugmentedError<ApiType>;
2680
+ /**
2681
+ * Generic error
2682
+ **/
2683
+ [key: string]: AugmentedError<ApiType>;
2684
+ };
2685
+ vesting: {
2686
+ /**
2687
+ * Amount being transferred is too low to create a vesting schedule.
2688
+ **/
2689
+ AmountLow: AugmentedError<ApiType>;
2690
+ /**
2691
+ * The account already has `MaxVestingSchedules` count of schedules and thus
2692
+ * cannot add another one. Consider merging existing schedules in order to add another.
2693
+ **/
2694
+ AtMaxVestingSchedules: AugmentedError<ApiType>;
2695
+ /**
2696
+ * Failed to create a new schedule because some parameter was invalid.
2697
+ **/
2698
+ InvalidScheduleParams: AugmentedError<ApiType>;
2699
+ /**
2700
+ * The account given is not vesting.
2701
+ **/
2702
+ NotVesting: AugmentedError<ApiType>;
2703
+ /**
2704
+ * An index was out of bounds of the vesting schedules.
2705
+ **/
2706
+ ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
2707
+ /**
2708
+ * Generic error
2709
+ **/
2710
+ [key: string]: AugmentedError<ApiType>;
2711
+ };
2712
+ voterList: {
2713
+ /**
2714
+ * A error in the list interface implementation.
2715
+ **/
2716
+ List: AugmentedError<ApiType>;
2717
+ /**
2718
+ * Could not update a node, because the pallet is locked.
2719
+ **/
2720
+ Locked: AugmentedError<ApiType>;
2721
+ /**
2722
+ * Generic error
2723
+ **/
2724
+ [key: string]: AugmentedError<ApiType>;
2725
+ };
2726
+ whitelist: {
2727
+ /**
2728
+ * The call was already whitelisted; No-Op.
2729
+ **/
2730
+ CallAlreadyWhitelisted: AugmentedError<ApiType>;
2731
+ /**
2732
+ * The call was not whitelisted.
2733
+ **/
2734
+ CallIsNotWhitelisted: AugmentedError<ApiType>;
2735
+ /**
2736
+ * The weight of the decoded call was higher than the witness.
2737
+ **/
2738
+ InvalidCallWeightWitness: AugmentedError<ApiType>;
2739
+ /**
2740
+ * The preimage of the call hash could not be loaded.
2741
+ **/
2742
+ UnavailablePreImage: AugmentedError<ApiType>;
2743
+ /**
2744
+ * The call could not be decoded.
2745
+ **/
2746
+ UndecodableCall: AugmentedError<ApiType>;
2747
+ /**
2748
+ * Generic error
2749
+ **/
2750
+ [key: string]: AugmentedError<ApiType>;
2751
+ };
2752
+ xcmpQueue: {
2753
+ /**
2754
+ * The execution is already resumed.
2755
+ **/
2756
+ AlreadyResumed: AugmentedError<ApiType>;
2757
+ /**
2758
+ * The execution is already suspended.
2759
+ **/
2760
+ AlreadySuspended: AugmentedError<ApiType>;
2761
+ /**
2762
+ * Setting the queue config failed since one of its values was invalid.
2763
+ **/
2764
+ BadQueueConfig: AugmentedError<ApiType>;
2765
+ /**
2766
+ * The message is too big.
2767
+ **/
2768
+ TooBig: AugmentedError<ApiType>;
2769
+ /**
2770
+ * There are too many active outbound channels.
2771
+ **/
2772
+ TooManyActiveOutboundChannels: AugmentedError<ApiType>;
2773
+ /**
2774
+ * Generic error
2775
+ **/
2776
+ [key: string]: AugmentedError<ApiType>;
2777
+ };
2778
+ } // AugmentedErrors
2779
+ } // declare module