@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,2360 @@
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
+ multisig: {
947
+ /**
948
+ * Call is already approved by this signatory.
949
+ **/
950
+ AlreadyApproved: AugmentedError<ApiType>;
951
+ /**
952
+ * The data to be stored is already stored.
953
+ **/
954
+ AlreadyStored: AugmentedError<ApiType>;
955
+ /**
956
+ * The maximum weight information provided was too low.
957
+ **/
958
+ MaxWeightTooLow: AugmentedError<ApiType>;
959
+ /**
960
+ * Threshold must be 2 or greater.
961
+ **/
962
+ MinimumThreshold: AugmentedError<ApiType>;
963
+ /**
964
+ * Call doesn't need any (more) approvals.
965
+ **/
966
+ NoApprovalsNeeded: AugmentedError<ApiType>;
967
+ /**
968
+ * Multisig operation not found in storage.
969
+ **/
970
+ NotFound: AugmentedError<ApiType>;
971
+ /**
972
+ * No timepoint was given, yet the multisig operation is already underway.
973
+ **/
974
+ NoTimepoint: AugmentedError<ApiType>;
975
+ /**
976
+ * Only the account that originally created the multisig is able to cancel it or update
977
+ * its deposits.
978
+ **/
979
+ NotOwner: AugmentedError<ApiType>;
980
+ /**
981
+ * The sender was contained in the other signatories; it shouldn't be.
982
+ **/
983
+ SenderInSignatories: AugmentedError<ApiType>;
984
+ /**
985
+ * The signatories were provided out of order; they should be ordered.
986
+ **/
987
+ SignatoriesOutOfOrder: AugmentedError<ApiType>;
988
+ /**
989
+ * There are too few signatories in the list.
990
+ **/
991
+ TooFewSignatories: AugmentedError<ApiType>;
992
+ /**
993
+ * There are too many signatories in the list.
994
+ **/
995
+ TooManySignatories: AugmentedError<ApiType>;
996
+ /**
997
+ * A timepoint was given, yet no multisig operation is underway.
998
+ **/
999
+ UnexpectedTimepoint: AugmentedError<ApiType>;
1000
+ /**
1001
+ * A different timepoint was given to the multisig operation that is underway.
1002
+ **/
1003
+ WrongTimepoint: AugmentedError<ApiType>;
1004
+ /**
1005
+ * Generic error
1006
+ **/
1007
+ [key: string]: AugmentedError<ApiType>;
1008
+ };
1009
+ nfts: {
1010
+ /**
1011
+ * The provided Item was already used for claiming.
1012
+ **/
1013
+ AlreadyClaimed: AugmentedError<ApiType>;
1014
+ /**
1015
+ * The item ID has already been used for an item.
1016
+ **/
1017
+ AlreadyExists: AugmentedError<ApiType>;
1018
+ /**
1019
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
1020
+ **/
1021
+ ApprovalExpired: AugmentedError<ApiType>;
1022
+ /**
1023
+ * The provided attribute can't be found.
1024
+ **/
1025
+ AttributeNotFound: AugmentedError<ApiType>;
1026
+ /**
1027
+ * The witness data given does not match the current state of the chain.
1028
+ **/
1029
+ BadWitness: AugmentedError<ApiType>;
1030
+ /**
1031
+ * The provided bid is too low.
1032
+ **/
1033
+ BidTooLow: AugmentedError<ApiType>;
1034
+ /**
1035
+ * Collection ID is already taken.
1036
+ **/
1037
+ CollectionIdInUse: AugmentedError<ApiType>;
1038
+ /**
1039
+ * Can't delete non-empty collections.
1040
+ **/
1041
+ CollectionNotEmpty: AugmentedError<ApiType>;
1042
+ /**
1043
+ * The deadline has already expired.
1044
+ **/
1045
+ DeadlineExpired: AugmentedError<ApiType>;
1046
+ /**
1047
+ * Item's config already exists and should be equal to the provided one.
1048
+ **/
1049
+ InconsistentItemConfig: AugmentedError<ApiType>;
1050
+ /**
1051
+ * The provided data is incorrect.
1052
+ **/
1053
+ IncorrectData: AugmentedError<ApiType>;
1054
+ /**
1055
+ * The provided metadata might be too long.
1056
+ **/
1057
+ IncorrectMetadata: AugmentedError<ApiType>;
1058
+ /**
1059
+ * The item is locked (non-transferable).
1060
+ **/
1061
+ ItemLocked: AugmentedError<ApiType>;
1062
+ /**
1063
+ * Items within that collection are non-transferable.
1064
+ **/
1065
+ ItemsNonTransferable: AugmentedError<ApiType>;
1066
+ /**
1067
+ * Collection's attributes are locked.
1068
+ **/
1069
+ LockedCollectionAttributes: AugmentedError<ApiType>;
1070
+ /**
1071
+ * Collection's metadata is locked.
1072
+ **/
1073
+ LockedCollectionMetadata: AugmentedError<ApiType>;
1074
+ /**
1075
+ * Item's attributes are locked.
1076
+ **/
1077
+ LockedItemAttributes: AugmentedError<ApiType>;
1078
+ /**
1079
+ * Item's metadata is locked.
1080
+ **/
1081
+ LockedItemMetadata: AugmentedError<ApiType>;
1082
+ /**
1083
+ * Can't set more attributes per one call.
1084
+ **/
1085
+ MaxAttributesLimitReached: AugmentedError<ApiType>;
1086
+ /**
1087
+ * The max supply is locked and can't be changed.
1088
+ **/
1089
+ MaxSupplyLocked: AugmentedError<ApiType>;
1090
+ /**
1091
+ * All items have been minted.
1092
+ **/
1093
+ MaxSupplyReached: AugmentedError<ApiType>;
1094
+ /**
1095
+ * The provided max supply is less than the number of items a collection already has.
1096
+ **/
1097
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
1098
+ /**
1099
+ * The given item has no metadata set.
1100
+ **/
1101
+ MetadataNotFound: AugmentedError<ApiType>;
1102
+ /**
1103
+ * The method is disabled by system settings.
1104
+ **/
1105
+ MethodDisabled: AugmentedError<ApiType>;
1106
+ /**
1107
+ * Mint has already ended.
1108
+ **/
1109
+ MintEnded: AugmentedError<ApiType>;
1110
+ /**
1111
+ * Mint has not started yet.
1112
+ **/
1113
+ MintNotStarted: AugmentedError<ApiType>;
1114
+ /**
1115
+ * Config for a collection or an item can't be found.
1116
+ **/
1117
+ NoConfig: AugmentedError<ApiType>;
1118
+ /**
1119
+ * The signing account has no permission to do the operation.
1120
+ **/
1121
+ NoPermission: AugmentedError<ApiType>;
1122
+ /**
1123
+ * The provided account is not a delegate.
1124
+ **/
1125
+ NotDelegate: AugmentedError<ApiType>;
1126
+ /**
1127
+ * Item is not for sale.
1128
+ **/
1129
+ NotForSale: AugmentedError<ApiType>;
1130
+ /**
1131
+ * The item has reached its approval limit.
1132
+ **/
1133
+ ReachedApprovalLimit: AugmentedError<ApiType>;
1134
+ /**
1135
+ * Some roles were not cleared.
1136
+ **/
1137
+ RolesNotCleared: AugmentedError<ApiType>;
1138
+ /**
1139
+ * The named owner has not signed ownership acceptance of the collection.
1140
+ **/
1141
+ Unaccepted: AugmentedError<ApiType>;
1142
+ /**
1143
+ * No approval exists that would allow the transfer.
1144
+ **/
1145
+ Unapproved: AugmentedError<ApiType>;
1146
+ /**
1147
+ * The given item ID is unknown.
1148
+ **/
1149
+ UnknownCollection: AugmentedError<ApiType>;
1150
+ /**
1151
+ * The given item ID is unknown.
1152
+ **/
1153
+ UnknownItem: AugmentedError<ApiType>;
1154
+ /**
1155
+ * Swap doesn't exist.
1156
+ **/
1157
+ UnknownSwap: AugmentedError<ApiType>;
1158
+ /**
1159
+ * The witness data should be provided.
1160
+ **/
1161
+ WitnessRequired: AugmentedError<ApiType>;
1162
+ /**
1163
+ * The delegate turned out to be different to what was expected.
1164
+ **/
1165
+ WrongDelegate: AugmentedError<ApiType>;
1166
+ /**
1167
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1168
+ **/
1169
+ WrongDuration: AugmentedError<ApiType>;
1170
+ /**
1171
+ * The provided namespace isn't supported in this call.
1172
+ **/
1173
+ WrongNamespace: AugmentedError<ApiType>;
1174
+ /**
1175
+ * The extrinsic was sent by the wrong origin.
1176
+ **/
1177
+ WrongOrigin: AugmentedError<ApiType>;
1178
+ /**
1179
+ * The owner turned out to be different to what was expected.
1180
+ **/
1181
+ WrongOwner: AugmentedError<ApiType>;
1182
+ /**
1183
+ * The provided setting can't be set.
1184
+ **/
1185
+ WrongSetting: AugmentedError<ApiType>;
1186
+ /**
1187
+ * The provided signature is incorrect.
1188
+ **/
1189
+ WrongSignature: AugmentedError<ApiType>;
1190
+ /**
1191
+ * Generic error
1192
+ **/
1193
+ [key: string]: AugmentedError<ApiType>;
1194
+ };
1195
+ nominationPools: {
1196
+ /**
1197
+ * An account is already delegating in another pool. An account may only belong to one
1198
+ * pool at a time.
1199
+ **/
1200
+ AccountBelongsToOtherPool: AugmentedError<ApiType>;
1201
+ /**
1202
+ * The pool or member delegation has already migrated to delegate stake.
1203
+ **/
1204
+ AlreadyMigrated: AugmentedError<ApiType>;
1205
+ /**
1206
+ * Bonding extra is restricted to the exact pending reward amount.
1207
+ **/
1208
+ BondExtraRestricted: AugmentedError<ApiType>;
1209
+ /**
1210
+ * The pools state cannot be changed.
1211
+ **/
1212
+ CanNotChangeState: AugmentedError<ApiType>;
1213
+ /**
1214
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
1215
+ **/
1216
+ CannotWithdrawAny: AugmentedError<ApiType>;
1217
+ /**
1218
+ * The submitted changes to commission change rate are not allowed.
1219
+ **/
1220
+ CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
1221
+ /**
1222
+ * Not enough blocks have surpassed since the last commission update.
1223
+ **/
1224
+ CommissionChangeThrottled: AugmentedError<ApiType>;
1225
+ /**
1226
+ * The supplied commission exceeds global maximum commission.
1227
+ **/
1228
+ CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
1229
+ /**
1230
+ * The supplied commission exceeds the max allowed commission.
1231
+ **/
1232
+ CommissionExceedsMaximum: AugmentedError<ApiType>;
1233
+ /**
1234
+ * Some error occurred that should never happen. This should be reported to the
1235
+ * maintainers.
1236
+ **/
1237
+ Defensive: AugmentedError<ApiType>;
1238
+ /**
1239
+ * The caller does not have adequate permissions.
1240
+ **/
1241
+ DoesNotHavePermission: AugmentedError<ApiType>;
1242
+ /**
1243
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
1244
+ * anymore to, for example, collect rewards).
1245
+ **/
1246
+ FullyUnbonding: AugmentedError<ApiType>;
1247
+ /**
1248
+ * Pool id provided is not correct/usable.
1249
+ **/
1250
+ InvalidPoolId: AugmentedError<ApiType>;
1251
+ /**
1252
+ * The pool's max commission cannot be set higher than the existing value.
1253
+ **/
1254
+ MaxCommissionRestricted: AugmentedError<ApiType>;
1255
+ /**
1256
+ * Too many members in the pool or system.
1257
+ **/
1258
+ MaxPoolMembers: AugmentedError<ApiType>;
1259
+ /**
1260
+ * The system is maxed out on pools.
1261
+ **/
1262
+ MaxPools: AugmentedError<ApiType>;
1263
+ /**
1264
+ * The member cannot unbond further chunks due to reaching the limit.
1265
+ **/
1266
+ MaxUnbondingLimit: AugmentedError<ApiType>;
1267
+ /**
1268
+ * Metadata exceeds [`Config::MaxMetadataLen`]
1269
+ **/
1270
+ MetadataExceedsMaxLen: AugmentedError<ApiType>;
1271
+ /**
1272
+ * The amount does not meet the minimum bond to either join or create a pool.
1273
+ *
1274
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
1275
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
1276
+ * value below `MinJoinBond`.
1277
+ **/
1278
+ MinimumBondNotMet: AugmentedError<ApiType>;
1279
+ /**
1280
+ * No commission current has been set.
1281
+ **/
1282
+ NoCommissionCurrentSet: AugmentedError<ApiType>;
1283
+ /**
1284
+ * There is no pending commission to claim.
1285
+ **/
1286
+ NoPendingCommission: AugmentedError<ApiType>;
1287
+ /**
1288
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1289
+ * other members to be permissionlessly unbonded.
1290
+ **/
1291
+ NotDestroying: AugmentedError<ApiType>;
1292
+ /**
1293
+ * No imbalance in the ED deposit for the pool.
1294
+ **/
1295
+ NothingToAdjust: AugmentedError<ApiType>;
1296
+ /**
1297
+ * No slash pending that can be applied to the member.
1298
+ **/
1299
+ NothingToSlash: AugmentedError<ApiType>;
1300
+ /**
1301
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1302
+ **/
1303
+ NotKickerOrDestroying: AugmentedError<ApiType>;
1304
+ /**
1305
+ * The pool or member delegation has not migrated yet to delegate stake.
1306
+ **/
1307
+ NotMigrated: AugmentedError<ApiType>;
1308
+ /**
1309
+ * The caller does not have nominating permissions for the pool.
1310
+ **/
1311
+ NotNominator: AugmentedError<ApiType>;
1312
+ /**
1313
+ * The pool is not open to join
1314
+ **/
1315
+ NotOpen: AugmentedError<ApiType>;
1316
+ /**
1317
+ * This call is not allowed in the current state of the pallet.
1318
+ **/
1319
+ NotSupported: AugmentedError<ApiType>;
1320
+ /**
1321
+ * The transaction could not be executed due to overflow risk for the pool.
1322
+ **/
1323
+ OverflowRisk: AugmentedError<ApiType>;
1324
+ /**
1325
+ * Partial unbonding now allowed permissionlessly.
1326
+ **/
1327
+ PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1328
+ /**
1329
+ * Pool id currently in use.
1330
+ **/
1331
+ PoolIdInUse: AugmentedError<ApiType>;
1332
+ /**
1333
+ * An account is not a member.
1334
+ **/
1335
+ PoolMemberNotFound: AugmentedError<ApiType>;
1336
+ /**
1337
+ * A (bonded) pool id does not exist.
1338
+ **/
1339
+ PoolNotFound: AugmentedError<ApiType>;
1340
+ /**
1341
+ * Account is restricted from participation in pools. This may happen if the account is
1342
+ * staking in another way already.
1343
+ **/
1344
+ Restricted: AugmentedError<ApiType>;
1345
+ /**
1346
+ * A reward pool does not exist. In all cases this is a system logic error.
1347
+ **/
1348
+ RewardPoolNotFound: AugmentedError<ApiType>;
1349
+ /**
1350
+ * The slash amount is too low to be applied.
1351
+ **/
1352
+ SlashTooLow: AugmentedError<ApiType>;
1353
+ /**
1354
+ * A sub pool does not exist.
1355
+ **/
1356
+ SubPoolsNotFound: AugmentedError<ApiType>;
1357
+ /**
1358
+ * Generic error
1359
+ **/
1360
+ [key: string]: AugmentedError<ApiType>;
1361
+ };
1362
+ parachainSystem: {
1363
+ /**
1364
+ * The inherent which supplies the host configuration did not run this block.
1365
+ **/
1366
+ HostConfigurationNotAvailable: AugmentedError<ApiType>;
1367
+ /**
1368
+ * No validation function upgrade is currently scheduled.
1369
+ **/
1370
+ NotScheduled: AugmentedError<ApiType>;
1371
+ /**
1372
+ * Attempt to upgrade validation function while existing upgrade pending.
1373
+ **/
1374
+ OverlappingUpgrades: AugmentedError<ApiType>;
1375
+ /**
1376
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
1377
+ **/
1378
+ ProhibitedByPolkadot: AugmentedError<ApiType>;
1379
+ /**
1380
+ * The supplied validation function has compiled into a blob larger than Polkadot is
1381
+ * willing to run.
1382
+ **/
1383
+ TooBig: AugmentedError<ApiType>;
1384
+ /**
1385
+ * The inherent which supplies the validation data did not run this block.
1386
+ **/
1387
+ ValidationDataNotAvailable: AugmentedError<ApiType>;
1388
+ /**
1389
+ * Generic error
1390
+ **/
1391
+ [key: string]: AugmentedError<ApiType>;
1392
+ };
1393
+ polkadotXcm: {
1394
+ /**
1395
+ * The given account is not an identifiable sovereign account for any location.
1396
+ **/
1397
+ AccountNotSovereign: AugmentedError<ApiType>;
1398
+ /**
1399
+ * The alias to remove authorization for was not found.
1400
+ **/
1401
+ AliasNotFound: AugmentedError<ApiType>;
1402
+ /**
1403
+ * The location is invalid since it already has a subscription from us.
1404
+ **/
1405
+ AlreadySubscribed: AugmentedError<ApiType>;
1406
+ /**
1407
+ * The given location could not be used (e.g. because it cannot be expressed in the
1408
+ * desired version of XCM).
1409
+ **/
1410
+ BadLocation: AugmentedError<ApiType>;
1411
+ /**
1412
+ * The version of the `Versioned` value used is not able to be interpreted.
1413
+ **/
1414
+ BadVersion: AugmentedError<ApiType>;
1415
+ /**
1416
+ * Could not check-out the assets for teleportation to the destination chain.
1417
+ **/
1418
+ CannotCheckOutTeleport: AugmentedError<ApiType>;
1419
+ /**
1420
+ * Could not re-anchor the assets to declare the fees for the destination chain.
1421
+ **/
1422
+ CannotReanchor: AugmentedError<ApiType>;
1423
+ /**
1424
+ * The destination `Location` provided cannot be inverted.
1425
+ **/
1426
+ DestinationNotInvertible: AugmentedError<ApiType>;
1427
+ /**
1428
+ * The assets to be sent are empty.
1429
+ **/
1430
+ Empty: AugmentedError<ApiType>;
1431
+ /**
1432
+ * Expiry block number is in the past.
1433
+ **/
1434
+ ExpiresInPast: AugmentedError<ApiType>;
1435
+ /**
1436
+ * The operation required fees to be paid which the initiator could not meet.
1437
+ **/
1438
+ FeesNotMet: AugmentedError<ApiType>;
1439
+ /**
1440
+ * The message execution fails the filter.
1441
+ **/
1442
+ Filtered: AugmentedError<ApiType>;
1443
+ /**
1444
+ * The unlock operation cannot succeed because there are still consumers of the lock.
1445
+ **/
1446
+ InUse: AugmentedError<ApiType>;
1447
+ /**
1448
+ * Invalid asset, reserve chain could not be determined for it.
1449
+ **/
1450
+ InvalidAssetUnknownReserve: AugmentedError<ApiType>;
1451
+ /**
1452
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
1453
+ **/
1454
+ InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
1455
+ /**
1456
+ * Origin is invalid for sending.
1457
+ **/
1458
+ InvalidOrigin: AugmentedError<ApiType>;
1459
+ /**
1460
+ * Local XCM execution incomplete.
1461
+ **/
1462
+ LocalExecutionIncomplete: AugmentedError<ApiType>;
1463
+ /**
1464
+ * Local XCM execution incomplete with the actual XCM error and the index of the
1465
+ * instruction that caused the error.
1466
+ **/
1467
+ LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
1468
+ /**
1469
+ * A remote lock with the corresponding data could not be found.
1470
+ **/
1471
+ LockNotFound: AugmentedError<ApiType>;
1472
+ /**
1473
+ * The owner does not own (all) of the asset that they wish to do the operation on.
1474
+ **/
1475
+ LowBalance: AugmentedError<ApiType>;
1476
+ /**
1477
+ * The referenced subscription could not be found.
1478
+ **/
1479
+ NoSubscription: AugmentedError<ApiType>;
1480
+ /**
1481
+ * There was some other issue (i.e. not to do with routing) in sending the message.
1482
+ * Perhaps a lack of space for buffering the message.
1483
+ **/
1484
+ SendFailure: AugmentedError<ApiType>;
1485
+ /**
1486
+ * Too many assets have been attempted for transfer.
1487
+ **/
1488
+ TooManyAssets: AugmentedError<ApiType>;
1489
+ /**
1490
+ * Too many locations authorized to alias origin.
1491
+ **/
1492
+ TooManyAuthorizedAliases: AugmentedError<ApiType>;
1493
+ /**
1494
+ * The asset owner has too many locks on the asset.
1495
+ **/
1496
+ TooManyLocks: AugmentedError<ApiType>;
1497
+ /**
1498
+ * Too many assets with different reserve locations have been attempted for transfer.
1499
+ **/
1500
+ TooManyReserves: AugmentedError<ApiType>;
1501
+ /**
1502
+ * The desired destination was unreachable, generally because there is a no way of routing
1503
+ * to it.
1504
+ **/
1505
+ Unreachable: AugmentedError<ApiType>;
1506
+ /**
1507
+ * The message's weight could not be determined.
1508
+ **/
1509
+ UnweighableMessage: AugmentedError<ApiType>;
1510
+ /**
1511
+ * Generic error
1512
+ **/
1513
+ [key: string]: AugmentedError<ApiType>;
1514
+ };
1515
+ poolAssets: {
1516
+ /**
1517
+ * The asset-account already exists.
1518
+ **/
1519
+ AlreadyExists: AugmentedError<ApiType>;
1520
+ /**
1521
+ * The asset is not live, and likely being destroyed.
1522
+ **/
1523
+ AssetNotLive: AugmentedError<ApiType>;
1524
+ /**
1525
+ * The asset ID must be equal to the [`NextAssetId`].
1526
+ **/
1527
+ BadAssetId: AugmentedError<ApiType>;
1528
+ /**
1529
+ * Invalid metadata given.
1530
+ **/
1531
+ BadMetadata: AugmentedError<ApiType>;
1532
+ /**
1533
+ * Invalid witness data given.
1534
+ **/
1535
+ BadWitness: AugmentedError<ApiType>;
1536
+ /**
1537
+ * Account balance must be greater than or equal to the transfer amount.
1538
+ **/
1539
+ BalanceLow: AugmentedError<ApiType>;
1540
+ /**
1541
+ * Callback action resulted in error
1542
+ **/
1543
+ CallbackFailed: AugmentedError<ApiType>;
1544
+ /**
1545
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
1546
+ **/
1547
+ ContainsFreezes: AugmentedError<ApiType>;
1548
+ /**
1549
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
1550
+ **/
1551
+ ContainsHolds: AugmentedError<ApiType>;
1552
+ /**
1553
+ * The origin account is frozen.
1554
+ **/
1555
+ Frozen: AugmentedError<ApiType>;
1556
+ /**
1557
+ * The asset status is not the expected status.
1558
+ **/
1559
+ IncorrectStatus: AugmentedError<ApiType>;
1560
+ /**
1561
+ * The asset ID is already taken.
1562
+ **/
1563
+ InUse: AugmentedError<ApiType>;
1564
+ /**
1565
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1566
+ * as `start_destroy` which require the asset to be in a destroying state.
1567
+ **/
1568
+ LiveAsset: AugmentedError<ApiType>;
1569
+ /**
1570
+ * Minimum balance should be non-zero.
1571
+ **/
1572
+ MinBalanceZero: AugmentedError<ApiType>;
1573
+ /**
1574
+ * The account to alter does not exist.
1575
+ **/
1576
+ NoAccount: AugmentedError<ApiType>;
1577
+ /**
1578
+ * The asset-account doesn't have an associated deposit.
1579
+ **/
1580
+ NoDeposit: AugmentedError<ApiType>;
1581
+ /**
1582
+ * The signing account has no permission to do the operation.
1583
+ **/
1584
+ NoPermission: AugmentedError<ApiType>;
1585
+ /**
1586
+ * The asset should be frozen before the given operation.
1587
+ **/
1588
+ NotFrozen: AugmentedError<ApiType>;
1589
+ /**
1590
+ * No approval exists that would allow the transfer.
1591
+ **/
1592
+ Unapproved: AugmentedError<ApiType>;
1593
+ /**
1594
+ * Unable to increment the consumer reference counters on the account. Either no provider
1595
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1596
+ * fewer then the maximum number of consumers has been reached.
1597
+ **/
1598
+ UnavailableConsumer: AugmentedError<ApiType>;
1599
+ /**
1600
+ * The given asset ID is unknown.
1601
+ **/
1602
+ Unknown: AugmentedError<ApiType>;
1603
+ /**
1604
+ * The operation would result in funds being burned.
1605
+ **/
1606
+ WouldBurn: AugmentedError<ApiType>;
1607
+ /**
1608
+ * The source account would not survive the transfer and it needs to stay alive.
1609
+ **/
1610
+ WouldDie: AugmentedError<ApiType>;
1611
+ /**
1612
+ * Generic error
1613
+ **/
1614
+ [key: string]: AugmentedError<ApiType>;
1615
+ };
1616
+ preimage: {
1617
+ /**
1618
+ * Preimage has already been noted on-chain.
1619
+ **/
1620
+ AlreadyNoted: AugmentedError<ApiType>;
1621
+ /**
1622
+ * The user is not authorized to perform this action.
1623
+ **/
1624
+ NotAuthorized: AugmentedError<ApiType>;
1625
+ /**
1626
+ * The preimage cannot be removed since it has not yet been noted.
1627
+ **/
1628
+ NotNoted: AugmentedError<ApiType>;
1629
+ /**
1630
+ * The preimage request cannot be removed since no outstanding requests exist.
1631
+ **/
1632
+ NotRequested: AugmentedError<ApiType>;
1633
+ /**
1634
+ * A preimage may not be removed when there are outstanding requests.
1635
+ **/
1636
+ Requested: AugmentedError<ApiType>;
1637
+ /**
1638
+ * Preimage is too large to store on-chain.
1639
+ **/
1640
+ TooBig: AugmentedError<ApiType>;
1641
+ /**
1642
+ * Too few hashes were requested to be upgraded (i.e. zero).
1643
+ **/
1644
+ TooFew: AugmentedError<ApiType>;
1645
+ /**
1646
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1647
+ **/
1648
+ TooMany: AugmentedError<ApiType>;
1649
+ /**
1650
+ * Generic error
1651
+ **/
1652
+ [key: string]: AugmentedError<ApiType>;
1653
+ };
1654
+ proxy: {
1655
+ /**
1656
+ * Account is already a proxy.
1657
+ **/
1658
+ Duplicate: AugmentedError<ApiType>;
1659
+ /**
1660
+ * Call may not be made by proxy because it may escalate its privileges.
1661
+ **/
1662
+ NoPermission: AugmentedError<ApiType>;
1663
+ /**
1664
+ * Cannot add self as proxy.
1665
+ **/
1666
+ NoSelfProxy: AugmentedError<ApiType>;
1667
+ /**
1668
+ * Proxy registration not found.
1669
+ **/
1670
+ NotFound: AugmentedError<ApiType>;
1671
+ /**
1672
+ * Sender is not a proxy of the account to be proxied.
1673
+ **/
1674
+ NotProxy: AugmentedError<ApiType>;
1675
+ /**
1676
+ * There are too many proxies registered or too many announcements pending.
1677
+ **/
1678
+ TooMany: AugmentedError<ApiType>;
1679
+ /**
1680
+ * Announcement, if made at all, was made too recently.
1681
+ **/
1682
+ Unannounced: AugmentedError<ApiType>;
1683
+ /**
1684
+ * A call which is incompatible with the proxy type's filter was attempted.
1685
+ **/
1686
+ Unproxyable: AugmentedError<ApiType>;
1687
+ /**
1688
+ * Generic error
1689
+ **/
1690
+ [key: string]: AugmentedError<ApiType>;
1691
+ };
1692
+ referenda: {
1693
+ /**
1694
+ * The referendum index provided is invalid in this context.
1695
+ **/
1696
+ BadReferendum: AugmentedError<ApiType>;
1697
+ /**
1698
+ * The referendum status is invalid for this operation.
1699
+ **/
1700
+ BadStatus: AugmentedError<ApiType>;
1701
+ /**
1702
+ * The track identifier given was invalid.
1703
+ **/
1704
+ BadTrack: AugmentedError<ApiType>;
1705
+ /**
1706
+ * There are already a full complement of referenda in progress for this track.
1707
+ **/
1708
+ Full: AugmentedError<ApiType>;
1709
+ /**
1710
+ * Referendum's decision deposit is already paid.
1711
+ **/
1712
+ HasDeposit: AugmentedError<ApiType>;
1713
+ /**
1714
+ * The deposit cannot be refunded since none was made.
1715
+ **/
1716
+ NoDeposit: AugmentedError<ApiType>;
1717
+ /**
1718
+ * The deposit refunder is not the depositor.
1719
+ **/
1720
+ NoPermission: AugmentedError<ApiType>;
1721
+ /**
1722
+ * There was nothing to do in the advancement.
1723
+ **/
1724
+ NothingToDo: AugmentedError<ApiType>;
1725
+ /**
1726
+ * Referendum is not ongoing.
1727
+ **/
1728
+ NotOngoing: AugmentedError<ApiType>;
1729
+ /**
1730
+ * No track exists for the proposal origin.
1731
+ **/
1732
+ NoTrack: AugmentedError<ApiType>;
1733
+ /**
1734
+ * The preimage does not exist.
1735
+ **/
1736
+ PreimageNotExist: AugmentedError<ApiType>;
1737
+ /**
1738
+ * The preimage is stored with a different length than the one provided.
1739
+ **/
1740
+ PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
1741
+ /**
1742
+ * The queue of the track is empty.
1743
+ **/
1744
+ QueueEmpty: AugmentedError<ApiType>;
1745
+ /**
1746
+ * Any deposit cannot be refunded until after the decision is over.
1747
+ **/
1748
+ Unfinished: AugmentedError<ApiType>;
1749
+ /**
1750
+ * Generic error
1751
+ **/
1752
+ [key: string]: AugmentedError<ApiType>;
1753
+ };
1754
+ scheduler: {
1755
+ /**
1756
+ * Failed to schedule a call
1757
+ **/
1758
+ FailedToSchedule: AugmentedError<ApiType>;
1759
+ /**
1760
+ * Attempt to use a non-named function on a named task.
1761
+ **/
1762
+ Named: AugmentedError<ApiType>;
1763
+ /**
1764
+ * Cannot find the scheduled call.
1765
+ **/
1766
+ NotFound: AugmentedError<ApiType>;
1767
+ /**
1768
+ * Reschedule failed because it does not change scheduled time.
1769
+ **/
1770
+ RescheduleNoChange: AugmentedError<ApiType>;
1771
+ /**
1772
+ * Given target block number is in the past.
1773
+ **/
1774
+ TargetBlockNumberInPast: AugmentedError<ApiType>;
1775
+ /**
1776
+ * Generic error
1777
+ **/
1778
+ [key: string]: AugmentedError<ApiType>;
1779
+ };
1780
+ session: {
1781
+ /**
1782
+ * Registered duplicate key.
1783
+ **/
1784
+ DuplicatedKey: AugmentedError<ApiType>;
1785
+ /**
1786
+ * Invalid ownership proof.
1787
+ **/
1788
+ InvalidProof: AugmentedError<ApiType>;
1789
+ /**
1790
+ * Key setting account is not live, so it's impossible to associate keys.
1791
+ **/
1792
+ NoAccount: AugmentedError<ApiType>;
1793
+ /**
1794
+ * No associated validator ID for account.
1795
+ **/
1796
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
1797
+ /**
1798
+ * No keys are associated with this account.
1799
+ **/
1800
+ NoKeys: AugmentedError<ApiType>;
1801
+ /**
1802
+ * Generic error
1803
+ **/
1804
+ [key: string]: AugmentedError<ApiType>;
1805
+ };
1806
+ snowbridgeSystemFrontend: {
1807
+ /**
1808
+ * Ether could not be burned.
1809
+ **/
1810
+ BurnError: AugmentedError<ApiType>;
1811
+ /**
1812
+ * Withdraw fee asset failure
1813
+ **/
1814
+ FeesNotMet: AugmentedError<ApiType>;
1815
+ /**
1816
+ * Message export is halted
1817
+ **/
1818
+ Halted: AugmentedError<ApiType>;
1819
+ /**
1820
+ * Account could not be converted to a location.
1821
+ **/
1822
+ InvalidAccount: AugmentedError<ApiType>;
1823
+ /**
1824
+ * Check location failure, should start from the dispatch origin as owner
1825
+ **/
1826
+ InvalidAssetOwner: AugmentedError<ApiType>;
1827
+ /**
1828
+ * Convert to reanchored location failure
1829
+ **/
1830
+ LocationConversionFailed: AugmentedError<ApiType>;
1831
+ /**
1832
+ * Send xcm message failure
1833
+ **/
1834
+ SendFailure: AugmentedError<ApiType>;
1835
+ /**
1836
+ * Provided tip asset could not be swapped for ether.
1837
+ **/
1838
+ SwapError: AugmentedError<ApiType>;
1839
+ /**
1840
+ * The tip provided is zero.
1841
+ **/
1842
+ TipAmountZero: AugmentedError<ApiType>;
1843
+ /**
1844
+ * The desired destination was unreachable, generally because there is a no way of routing
1845
+ * to it.
1846
+ **/
1847
+ Unreachable: AugmentedError<ApiType>;
1848
+ /**
1849
+ * The asset provided for the tip is unsupported.
1850
+ **/
1851
+ UnsupportedAsset: AugmentedError<ApiType>;
1852
+ /**
1853
+ * Convert versioned location failure
1854
+ **/
1855
+ UnsupportedLocationVersion: AugmentedError<ApiType>;
1856
+ /**
1857
+ * Unable to withdraw asset.
1858
+ **/
1859
+ WithdrawError: AugmentedError<ApiType>;
1860
+ /**
1861
+ * Generic error
1862
+ **/
1863
+ [key: string]: AugmentedError<ApiType>;
1864
+ };
1865
+ staking: {
1866
+ /**
1867
+ * Stash is already bonded.
1868
+ **/
1869
+ AlreadyBonded: AugmentedError<ApiType>;
1870
+ /**
1871
+ * Rewards for this era have already been claimed for this validator.
1872
+ **/
1873
+ AlreadyClaimed: AugmentedError<ApiType>;
1874
+ /**
1875
+ * The stake of this account is already migrated to `Fungible` holds.
1876
+ **/
1877
+ AlreadyMigrated: AugmentedError<ApiType>;
1878
+ /**
1879
+ * Controller is already paired.
1880
+ **/
1881
+ AlreadyPaired: AugmentedError<ApiType>;
1882
+ /**
1883
+ * Internal state has become somehow corrupted and the operation cannot continue.
1884
+ **/
1885
+ BadState: AugmentedError<ApiType>;
1886
+ /**
1887
+ * A nomination target was supplied that was blocked or otherwise not a validator.
1888
+ **/
1889
+ BadTarget: AugmentedError<ApiType>;
1890
+ /**
1891
+ * Some bound is not met.
1892
+ **/
1893
+ BoundNotMet: AugmentedError<ApiType>;
1894
+ /**
1895
+ * The slash has been cancelled and cannot be applied.
1896
+ **/
1897
+ CancelledSlash: AugmentedError<ApiType>;
1898
+ /**
1899
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
1900
+ **/
1901
+ CannotChillOther: AugmentedError<ApiType>;
1902
+ /**
1903
+ * Stash could not be reaped as other pallet might depend on it.
1904
+ **/
1905
+ CannotReapStash: AugmentedError<ApiType>;
1906
+ /**
1907
+ * Cannot reset a ledger.
1908
+ **/
1909
+ CannotRestoreLedger: AugmentedError<ApiType>;
1910
+ /**
1911
+ * Commission is too low. Must be at least `MinCommission`.
1912
+ **/
1913
+ CommissionTooLow: AugmentedError<ApiType>;
1914
+ /**
1915
+ * Used when attempting to use deprecated controller account logic.
1916
+ **/
1917
+ ControllerDeprecated: AugmentedError<ApiType>;
1918
+ /**
1919
+ * Duplicate index.
1920
+ **/
1921
+ DuplicateIndex: AugmentedError<ApiType>;
1922
+ /**
1923
+ * Targets cannot be empty.
1924
+ **/
1925
+ EmptyTargets: AugmentedError<ApiType>;
1926
+ /**
1927
+ * The era is not eligible for pruning.
1928
+ **/
1929
+ EraNotPrunable: AugmentedError<ApiType>;
1930
+ /**
1931
+ * Era not yet started.
1932
+ **/
1933
+ EraNotStarted: AugmentedError<ApiType>;
1934
+ /**
1935
+ * Attempting to target a stash that still has funds.
1936
+ **/
1937
+ FundedTarget: AugmentedError<ApiType>;
1938
+ /**
1939
+ * Incorrect previous history depth input provided.
1940
+ **/
1941
+ IncorrectHistoryDepth: AugmentedError<ApiType>;
1942
+ /**
1943
+ * Cannot bond, nominate or validate with value less than the minimum defined by
1944
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1945
+ * intention, `chill` first to remove one's role as validator/nominator.
1946
+ **/
1947
+ InsufficientBond: AugmentedError<ApiType>;
1948
+ /**
1949
+ * Invalid era to reward.
1950
+ **/
1951
+ InvalidEraToReward: AugmentedError<ApiType>;
1952
+ /**
1953
+ * Invalid number of nominations.
1954
+ **/
1955
+ InvalidNumberOfNominations: AugmentedError<ApiType>;
1956
+ /**
1957
+ * No nominators exist on this page.
1958
+ **/
1959
+ InvalidPage: AugmentedError<ApiType>;
1960
+ /**
1961
+ * Slash record not found.
1962
+ **/
1963
+ InvalidSlashRecord: AugmentedError<ApiType>;
1964
+ /**
1965
+ * Can not schedule more unlock chunks.
1966
+ **/
1967
+ NoMoreChunks: AugmentedError<ApiType>;
1968
+ /**
1969
+ * Not a controller account.
1970
+ **/
1971
+ NotController: AugmentedError<ApiType>;
1972
+ /**
1973
+ * Not enough funds available to withdraw.
1974
+ **/
1975
+ NotEnoughFunds: AugmentedError<ApiType>;
1976
+ /**
1977
+ * Not a stash account.
1978
+ **/
1979
+ NotStash: AugmentedError<ApiType>;
1980
+ /**
1981
+ * Can not rebond without unlocking chunks.
1982
+ **/
1983
+ NoUnlockChunk: AugmentedError<ApiType>;
1984
+ /**
1985
+ * Account is restricted from participation in staking. This may happen if the account is
1986
+ * staking in another way already, such as via pool.
1987
+ **/
1988
+ Restricted: AugmentedError<ApiType>;
1989
+ /**
1990
+ * Provided reward destination is not allowed.
1991
+ **/
1992
+ RewardDestinationRestricted: AugmentedError<ApiType>;
1993
+ /**
1994
+ * There are too many nominators in the system. Governance needs to adjust the staking
1995
+ * settings to keep things safe for the runtime.
1996
+ **/
1997
+ TooManyNominators: AugmentedError<ApiType>;
1998
+ /**
1999
+ * Too many nomination targets supplied.
2000
+ **/
2001
+ TooManyTargets: AugmentedError<ApiType>;
2002
+ /**
2003
+ * There are too many validator candidates in the system. Governance needs to adjust the
2004
+ * staking settings to keep things safe for the runtime.
2005
+ **/
2006
+ TooManyValidators: AugmentedError<ApiType>;
2007
+ /**
2008
+ * Unapplied slashes in the recently concluded era is blocking this operation.
2009
+ * See `Call::apply_slash` to apply them.
2010
+ **/
2011
+ UnappliedSlashesInPreviousEra: AugmentedError<ApiType>;
2012
+ /**
2013
+ * Operation not allowed for virtual stakers.
2014
+ **/
2015
+ VirtualStakerNotAllowed: AugmentedError<ApiType>;
2016
+ /**
2017
+ * Generic error
2018
+ **/
2019
+ [key: string]: AugmentedError<ApiType>;
2020
+ };
2021
+ stateTrieMigration: {
2022
+ /**
2023
+ * Bad child root provided.
2024
+ **/
2025
+ BadChildRoot: AugmentedError<ApiType>;
2026
+ /**
2027
+ * Bad witness data provided.
2028
+ **/
2029
+ BadWitness: AugmentedError<ApiType>;
2030
+ /**
2031
+ * A key was longer than the configured maximum.
2032
+ *
2033
+ * This means that the migration halted at the current [`Progress`] and
2034
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2035
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2036
+ * The value should only be increased to avoid a storage migration for the currently
2037
+ * stored [`crate::Progress::LastKey`].
2038
+ **/
2039
+ KeyTooLong: AugmentedError<ApiType>;
2040
+ /**
2041
+ * Max signed limits not respected.
2042
+ **/
2043
+ MaxSignedLimits: AugmentedError<ApiType>;
2044
+ /**
2045
+ * submitter does not have enough funds.
2046
+ **/
2047
+ NotEnoughFunds: AugmentedError<ApiType>;
2048
+ /**
2049
+ * Signed migration is not allowed because the maximum limit is not set yet.
2050
+ **/
2051
+ SignedMigrationNotAllowed: AugmentedError<ApiType>;
2052
+ /**
2053
+ * Generic error
2054
+ **/
2055
+ [key: string]: AugmentedError<ApiType>;
2056
+ };
2057
+ system: {
2058
+ /**
2059
+ * The origin filter prevent the call to be dispatched.
2060
+ **/
2061
+ CallFiltered: AugmentedError<ApiType>;
2062
+ /**
2063
+ * The specified [`Task`] failed during execution.
2064
+ **/
2065
+ FailedTask: AugmentedError<ApiType>;
2066
+ /**
2067
+ * Failed to extract the runtime version from the new runtime.
2068
+ *
2069
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
2070
+ **/
2071
+ FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
2072
+ /**
2073
+ * The name of specification does not match between the current runtime
2074
+ * and the new runtime.
2075
+ **/
2076
+ InvalidSpecName: AugmentedError<ApiType>;
2077
+ /**
2078
+ * The specified [`Task`] is not valid.
2079
+ **/
2080
+ InvalidTask: AugmentedError<ApiType>;
2081
+ /**
2082
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
2083
+ **/
2084
+ MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
2085
+ /**
2086
+ * Suicide called when the account has non-default composite data.
2087
+ **/
2088
+ NonDefaultComposite: AugmentedError<ApiType>;
2089
+ /**
2090
+ * There is a non-zero reference count preventing the account from being purged.
2091
+ **/
2092
+ NonZeroRefCount: AugmentedError<ApiType>;
2093
+ /**
2094
+ * No upgrade authorized.
2095
+ **/
2096
+ NothingAuthorized: AugmentedError<ApiType>;
2097
+ /**
2098
+ * The specification version is not allowed to decrease between the current runtime
2099
+ * and the new runtime.
2100
+ **/
2101
+ SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
2102
+ /**
2103
+ * The submitted code is not authorized.
2104
+ **/
2105
+ Unauthorized: AugmentedError<ApiType>;
2106
+ /**
2107
+ * Generic error
2108
+ **/
2109
+ [key: string]: AugmentedError<ApiType>;
2110
+ };
2111
+ treasury: {
2112
+ /**
2113
+ * The payment has already been attempted.
2114
+ **/
2115
+ AlreadyAttempted: AugmentedError<ApiType>;
2116
+ /**
2117
+ * The spend is not yet eligible for payout.
2118
+ **/
2119
+ EarlyPayout: AugmentedError<ApiType>;
2120
+ /**
2121
+ * The balance of the asset kind is not convertible to the balance of the native asset.
2122
+ **/
2123
+ FailedToConvertBalance: AugmentedError<ApiType>;
2124
+ /**
2125
+ * The payment has neither failed nor succeeded yet.
2126
+ **/
2127
+ Inconclusive: AugmentedError<ApiType>;
2128
+ /**
2129
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
2130
+ * amount to be spent.
2131
+ **/
2132
+ InsufficientPermission: AugmentedError<ApiType>;
2133
+ /**
2134
+ * No proposal, bounty or spend at that index.
2135
+ **/
2136
+ InvalidIndex: AugmentedError<ApiType>;
2137
+ /**
2138
+ * The payout was not yet attempted/claimed.
2139
+ **/
2140
+ NotAttempted: AugmentedError<ApiType>;
2141
+ /**
2142
+ * There was some issue with the mechanism of payment.
2143
+ **/
2144
+ PayoutError: AugmentedError<ApiType>;
2145
+ /**
2146
+ * Proposal has not been approved.
2147
+ **/
2148
+ ProposalNotApproved: AugmentedError<ApiType>;
2149
+ /**
2150
+ * The spend has expired and cannot be claimed.
2151
+ **/
2152
+ SpendExpired: AugmentedError<ApiType>;
2153
+ /**
2154
+ * Too many approvals in the queue.
2155
+ **/
2156
+ TooManyApprovals: AugmentedError<ApiType>;
2157
+ /**
2158
+ * Generic error
2159
+ **/
2160
+ [key: string]: AugmentedError<ApiType>;
2161
+ };
2162
+ uniques: {
2163
+ /**
2164
+ * The item ID has already been used for an item.
2165
+ **/
2166
+ AlreadyExists: AugmentedError<ApiType>;
2167
+ /**
2168
+ * An attribute is not found.
2169
+ **/
2170
+ AttributeNotFound: AugmentedError<ApiType>;
2171
+ /**
2172
+ * Invalid witness data given.
2173
+ **/
2174
+ BadWitness: AugmentedError<ApiType>;
2175
+ /**
2176
+ * The provided bid is too low.
2177
+ **/
2178
+ BidTooLow: AugmentedError<ApiType>;
2179
+ /**
2180
+ * The item or collection is frozen.
2181
+ **/
2182
+ Frozen: AugmentedError<ApiType>;
2183
+ /**
2184
+ * The item ID is already taken.
2185
+ **/
2186
+ InUse: AugmentedError<ApiType>;
2187
+ /**
2188
+ * The item is locked.
2189
+ **/
2190
+ Locked: AugmentedError<ApiType>;
2191
+ /**
2192
+ * The max supply has already been set.
2193
+ **/
2194
+ MaxSupplyAlreadySet: AugmentedError<ApiType>;
2195
+ /**
2196
+ * All items have been minted.
2197
+ **/
2198
+ MaxSupplyReached: AugmentedError<ApiType>;
2199
+ /**
2200
+ * The provided max supply is less to the amount of items a collection already has.
2201
+ **/
2202
+ MaxSupplyTooSmall: AugmentedError<ApiType>;
2203
+ /**
2204
+ * There is no delegate approved.
2205
+ **/
2206
+ NoDelegate: AugmentedError<ApiType>;
2207
+ /**
2208
+ * No metadata is found.
2209
+ **/
2210
+ NoMetadata: AugmentedError<ApiType>;
2211
+ /**
2212
+ * The signing account has no permission to do the operation.
2213
+ **/
2214
+ NoPermission: AugmentedError<ApiType>;
2215
+ /**
2216
+ * Item is not for sale.
2217
+ **/
2218
+ NotForSale: AugmentedError<ApiType>;
2219
+ /**
2220
+ * The named owner has not signed ownership of the collection is acceptable.
2221
+ **/
2222
+ Unaccepted: AugmentedError<ApiType>;
2223
+ /**
2224
+ * No approval exists that would allow the transfer.
2225
+ **/
2226
+ Unapproved: AugmentedError<ApiType>;
2227
+ /**
2228
+ * The given item ID is unknown.
2229
+ **/
2230
+ UnknownCollection: AugmentedError<ApiType>;
2231
+ /**
2232
+ * The given item ID is unknown.
2233
+ **/
2234
+ UnknownItem: AugmentedError<ApiType>;
2235
+ /**
2236
+ * Wrong attribute key/value bytes supplied.
2237
+ **/
2238
+ WrongAttribute: AugmentedError<ApiType>;
2239
+ /**
2240
+ * The delegate turned out to be different to what was expected.
2241
+ **/
2242
+ WrongDelegate: AugmentedError<ApiType>;
2243
+ /**
2244
+ * Wrong metadata key/value bytes supplied.
2245
+ **/
2246
+ WrongMetadata: AugmentedError<ApiType>;
2247
+ /**
2248
+ * The owner turned out to be different to what was expected.
2249
+ **/
2250
+ WrongOwner: AugmentedError<ApiType>;
2251
+ /**
2252
+ * Generic error
2253
+ **/
2254
+ [key: string]: AugmentedError<ApiType>;
2255
+ };
2256
+ utility: {
2257
+ /**
2258
+ * Too many calls batched.
2259
+ **/
2260
+ TooManyCalls: AugmentedError<ApiType>;
2261
+ /**
2262
+ * Generic error
2263
+ **/
2264
+ [key: string]: AugmentedError<ApiType>;
2265
+ };
2266
+ vesting: {
2267
+ /**
2268
+ * Amount being transferred is too low to create a vesting schedule.
2269
+ **/
2270
+ AmountLow: AugmentedError<ApiType>;
2271
+ /**
2272
+ * The account already has `MaxVestingSchedules` count of schedules and thus
2273
+ * cannot add another one. Consider merging existing schedules in order to add another.
2274
+ **/
2275
+ AtMaxVestingSchedules: AugmentedError<ApiType>;
2276
+ /**
2277
+ * Failed to create a new schedule because some parameter was invalid.
2278
+ **/
2279
+ InvalidScheduleParams: AugmentedError<ApiType>;
2280
+ /**
2281
+ * The account given is not vesting.
2282
+ **/
2283
+ NotVesting: AugmentedError<ApiType>;
2284
+ /**
2285
+ * An index was out of bounds of the vesting schedules.
2286
+ **/
2287
+ ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
2288
+ /**
2289
+ * Generic error
2290
+ **/
2291
+ [key: string]: AugmentedError<ApiType>;
2292
+ };
2293
+ voterList: {
2294
+ /**
2295
+ * A error in the list interface implementation.
2296
+ **/
2297
+ List: AugmentedError<ApiType>;
2298
+ /**
2299
+ * Could not update a node, because the pallet is locked.
2300
+ **/
2301
+ Locked: AugmentedError<ApiType>;
2302
+ /**
2303
+ * Generic error
2304
+ **/
2305
+ [key: string]: AugmentedError<ApiType>;
2306
+ };
2307
+ whitelist: {
2308
+ /**
2309
+ * The call was already whitelisted; No-Op.
2310
+ **/
2311
+ CallAlreadyWhitelisted: AugmentedError<ApiType>;
2312
+ /**
2313
+ * The call was not whitelisted.
2314
+ **/
2315
+ CallIsNotWhitelisted: AugmentedError<ApiType>;
2316
+ /**
2317
+ * The weight of the decoded call was higher than the witness.
2318
+ **/
2319
+ InvalidCallWeightWitness: AugmentedError<ApiType>;
2320
+ /**
2321
+ * The preimage of the call hash could not be loaded.
2322
+ **/
2323
+ UnavailablePreImage: AugmentedError<ApiType>;
2324
+ /**
2325
+ * The call could not be decoded.
2326
+ **/
2327
+ UndecodableCall: AugmentedError<ApiType>;
2328
+ /**
2329
+ * Generic error
2330
+ **/
2331
+ [key: string]: AugmentedError<ApiType>;
2332
+ };
2333
+ xcmpQueue: {
2334
+ /**
2335
+ * The execution is already resumed.
2336
+ **/
2337
+ AlreadyResumed: AugmentedError<ApiType>;
2338
+ /**
2339
+ * The execution is already suspended.
2340
+ **/
2341
+ AlreadySuspended: AugmentedError<ApiType>;
2342
+ /**
2343
+ * Setting the queue config failed since one of its values was invalid.
2344
+ **/
2345
+ BadQueueConfig: AugmentedError<ApiType>;
2346
+ /**
2347
+ * The message is too big.
2348
+ **/
2349
+ TooBig: AugmentedError<ApiType>;
2350
+ /**
2351
+ * There are too many active outbound channels.
2352
+ **/
2353
+ TooManyActiveOutboundChannels: AugmentedError<ApiType>;
2354
+ /**
2355
+ * Generic error
2356
+ **/
2357
+ [key: string]: AugmentedError<ApiType>;
2358
+ };
2359
+ } // AugmentedErrors
2360
+ } // declare module