@polkadot/api-augment 7.0.3-1 → 7.0.3-13

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 (63) hide show
  1. package/base.cjs +5 -0
  2. package/base.d.ts +2 -0
  3. package/{augment/index.js → base.js} +1 -7
  4. package/bundle.cjs +1 -1
  5. package/bundle.d.ts +1 -1
  6. package/bundle.js +1 -1
  7. package/{augment → kusama}/consts.cjs +0 -0
  8. package/kusama/consts.d.ts +892 -0
  9. package/{augment → kusama}/consts.js +0 -0
  10. package/{augment → kusama}/errors.cjs +0 -0
  11. package/kusama/errors.d.ts +1855 -0
  12. package/{augment → kusama}/errors.js +0 -0
  13. package/{augment → kusama}/events.cjs +0 -0
  14. package/kusama/events.d.ts +1278 -0
  15. package/{augment → kusama}/events.js +0 -0
  16. package/{augment → kusama}/index.cjs +1 -3
  17. package/{augment → kusama}/index.d.ts +1 -2
  18. package/kusama/index.js +8 -0
  19. package/{augment → kusama}/query.cjs +0 -0
  20. package/kusama/query.d.ts +1925 -0
  21. package/{augment → kusama}/query.js +0 -0
  22. package/{augment → kusama}/tx.cjs +0 -0
  23. package/kusama/tx.d.ts +4877 -0
  24. package/{augment → kusama}/tx.js +0 -0
  25. package/package.json +104 -40
  26. package/packageInfo.cjs +1 -1
  27. package/packageInfo.js +1 -1
  28. package/polkadot/consts.cjs +1 -0
  29. package/polkadot/consts.d.ts +764 -0
  30. package/polkadot/consts.js +1 -0
  31. package/polkadot/errors.cjs +1 -0
  32. package/polkadot/errors.d.ts +1634 -0
  33. package/polkadot/errors.js +1 -0
  34. package/polkadot/events.cjs +1 -0
  35. package/polkadot/events.d.ts +1126 -0
  36. package/polkadot/events.js +1 -0
  37. package/polkadot/index.cjs +13 -0
  38. package/polkadot/index.d.ts +6 -0
  39. package/polkadot/index.js +8 -0
  40. package/polkadot/query.cjs +1 -0
  41. package/polkadot/query.d.ts +1770 -0
  42. package/polkadot/query.js +1 -0
  43. package/polkadot/tx.cjs +1 -0
  44. package/polkadot/tx.d.ts +4275 -0
  45. package/polkadot/tx.js +1 -0
  46. package/substrate/consts.cjs +1 -0
  47. package/{augment → substrate}/consts.d.ts +0 -0
  48. package/substrate/consts.js +1 -0
  49. package/substrate/errors.cjs +1 -0
  50. package/{augment → substrate}/errors.d.ts +0 -0
  51. package/substrate/errors.js +1 -0
  52. package/substrate/events.cjs +1 -0
  53. package/{augment → substrate}/events.d.ts +0 -0
  54. package/substrate/events.js +1 -0
  55. package/substrate/index.cjs +13 -0
  56. package/substrate/index.d.ts +6 -0
  57. package/substrate/index.js +8 -0
  58. package/substrate/query.cjs +1 -0
  59. package/{augment → substrate}/query.d.ts +0 -0
  60. package/substrate/query.js +1 -0
  61. package/substrate/tx.cjs +1 -0
  62. package/{augment → substrate}/tx.d.ts +0 -0
  63. package/substrate/tx.js +1 -0
@@ -0,0 +1,1855 @@
1
+ import type { ApiTypes } from '@polkadot/api-base/types';
2
+ declare module '@polkadot/api-base/types/errors' {
3
+ interface AugmentedErrors<ApiType extends ApiTypes> {
4
+ auctions: {
5
+ /**
6
+ * The para is already leased out for part of this range.
7
+ **/
8
+ AlreadyLeasedOut: AugmentedError<ApiType>;
9
+ /**
10
+ * Auction has already ended.
11
+ **/
12
+ AuctionEnded: AugmentedError<ApiType>;
13
+ /**
14
+ * This auction is already in progress.
15
+ **/
16
+ AuctionInProgress: AugmentedError<ApiType>;
17
+ /**
18
+ * The lease period is in the past.
19
+ **/
20
+ LeasePeriodInPast: AugmentedError<ApiType>;
21
+ /**
22
+ * Not an auction.
23
+ **/
24
+ NotAuction: AugmentedError<ApiType>;
25
+ /**
26
+ * Not a current auction.
27
+ **/
28
+ NotCurrentAuction: AugmentedError<ApiType>;
29
+ /**
30
+ * Para is not registered
31
+ **/
32
+ ParaNotRegistered: AugmentedError<ApiType>;
33
+ /**
34
+ * Generic error
35
+ **/
36
+ [key: string]: AugmentedError<ApiType>;
37
+ };
38
+ authorship: {
39
+ /**
40
+ * The uncle is genesis.
41
+ **/
42
+ GenesisUncle: AugmentedError<ApiType>;
43
+ /**
44
+ * The uncle parent not in the chain.
45
+ **/
46
+ InvalidUncleParent: AugmentedError<ApiType>;
47
+ /**
48
+ * The uncle isn't recent enough to be included.
49
+ **/
50
+ OldUncle: AugmentedError<ApiType>;
51
+ /**
52
+ * The uncle is too high in chain.
53
+ **/
54
+ TooHighUncle: AugmentedError<ApiType>;
55
+ /**
56
+ * Too many uncles.
57
+ **/
58
+ TooManyUncles: AugmentedError<ApiType>;
59
+ /**
60
+ * The uncle is already included.
61
+ **/
62
+ UncleAlreadyIncluded: AugmentedError<ApiType>;
63
+ /**
64
+ * Uncles already set in the block.
65
+ **/
66
+ UnclesAlreadySet: AugmentedError<ApiType>;
67
+ /**
68
+ * Generic error
69
+ **/
70
+ [key: string]: AugmentedError<ApiType>;
71
+ };
72
+ babe: {
73
+ /**
74
+ * A given equivocation report is valid but already previously reported.
75
+ **/
76
+ DuplicateOffenceReport: AugmentedError<ApiType>;
77
+ /**
78
+ * An equivocation proof provided as part of an equivocation report is invalid.
79
+ **/
80
+ InvalidEquivocationProof: AugmentedError<ApiType>;
81
+ /**
82
+ * A key ownership proof provided as part of an equivocation report is invalid.
83
+ **/
84
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
85
+ /**
86
+ * Generic error
87
+ **/
88
+ [key: string]: AugmentedError<ApiType>;
89
+ };
90
+ bagsList: {
91
+ /**
92
+ * Id not found in list.
93
+ **/
94
+ IdNotFound: AugmentedError<ApiType>;
95
+ /**
96
+ * An Id does not have a greater vote weight than another Id.
97
+ **/
98
+ NotHeavier: AugmentedError<ApiType>;
99
+ /**
100
+ * Attempted to place node in front of a node in another bag.
101
+ **/
102
+ NotInSameBag: AugmentedError<ApiType>;
103
+ /**
104
+ * Generic error
105
+ **/
106
+ [key: string]: AugmentedError<ApiType>;
107
+ };
108
+ balances: {
109
+ /**
110
+ * Beneficiary account must pre-exist
111
+ **/
112
+ DeadAccount: AugmentedError<ApiType>;
113
+ /**
114
+ * Value too low to create account due to existential deposit
115
+ **/
116
+ ExistentialDeposit: AugmentedError<ApiType>;
117
+ /**
118
+ * A vesting schedule already exists for this account
119
+ **/
120
+ ExistingVestingSchedule: AugmentedError<ApiType>;
121
+ /**
122
+ * Balance too low to send value
123
+ **/
124
+ InsufficientBalance: AugmentedError<ApiType>;
125
+ /**
126
+ * Transfer/payment would kill account
127
+ **/
128
+ KeepAlive: AugmentedError<ApiType>;
129
+ /**
130
+ * Account liquidity restrictions prevent withdrawal
131
+ **/
132
+ LiquidityRestrictions: AugmentedError<ApiType>;
133
+ /**
134
+ * Number of named reserves exceed MaxReserves
135
+ **/
136
+ TooManyReserves: AugmentedError<ApiType>;
137
+ /**
138
+ * Vesting balance too high to send value
139
+ **/
140
+ VestingBalance: AugmentedError<ApiType>;
141
+ /**
142
+ * Generic error
143
+ **/
144
+ [key: string]: AugmentedError<ApiType>;
145
+ };
146
+ bounties: {
147
+ /**
148
+ * The bounty cannot be closed because it has active child-bounties.
149
+ **/
150
+ HasActiveChildBounty: AugmentedError<ApiType>;
151
+ /**
152
+ * Proposer's balance is too low.
153
+ **/
154
+ InsufficientProposersBalance: AugmentedError<ApiType>;
155
+ /**
156
+ * Invalid bounty fee.
157
+ **/
158
+ InvalidFee: AugmentedError<ApiType>;
159
+ /**
160
+ * No proposal or bounty at that index.
161
+ **/
162
+ InvalidIndex: AugmentedError<ApiType>;
163
+ /**
164
+ * Invalid bounty value.
165
+ **/
166
+ InvalidValue: AugmentedError<ApiType>;
167
+ /**
168
+ * A bounty payout is pending.
169
+ * To cancel the bounty, you must unassign and slash the curator.
170
+ **/
171
+ PendingPayout: AugmentedError<ApiType>;
172
+ /**
173
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
174
+ **/
175
+ Premature: AugmentedError<ApiType>;
176
+ /**
177
+ * The reason given is just too big.
178
+ **/
179
+ ReasonTooBig: AugmentedError<ApiType>;
180
+ /**
181
+ * Require bounty curator.
182
+ **/
183
+ RequireCurator: AugmentedError<ApiType>;
184
+ /**
185
+ * The bounty status is unexpected.
186
+ **/
187
+ UnexpectedStatus: AugmentedError<ApiType>;
188
+ /**
189
+ * Generic error
190
+ **/
191
+ [key: string]: AugmentedError<ApiType>;
192
+ };
193
+ claims: {
194
+ /**
195
+ * Invalid Ethereum signature.
196
+ **/
197
+ InvalidEthereumSignature: AugmentedError<ApiType>;
198
+ /**
199
+ * A needed statement was not included.
200
+ **/
201
+ InvalidStatement: AugmentedError<ApiType>;
202
+ /**
203
+ * There's not enough in the pot to pay out some unvested amount. Generally implies a logic
204
+ * error.
205
+ **/
206
+ PotUnderflow: AugmentedError<ApiType>;
207
+ /**
208
+ * Account ID sending transaction has no claim.
209
+ **/
210
+ SenderHasNoClaim: AugmentedError<ApiType>;
211
+ /**
212
+ * Ethereum address has no claim.
213
+ **/
214
+ SignerHasNoClaim: AugmentedError<ApiType>;
215
+ /**
216
+ * The account already has a vested balance.
217
+ **/
218
+ VestedBalanceExists: AugmentedError<ApiType>;
219
+ /**
220
+ * Generic error
221
+ **/
222
+ [key: string]: AugmentedError<ApiType>;
223
+ };
224
+ configuration: {
225
+ /**
226
+ * The new value for a configuration parameter is invalid.
227
+ **/
228
+ InvalidNewValue: AugmentedError<ApiType>;
229
+ /**
230
+ * Generic error
231
+ **/
232
+ [key: string]: AugmentedError<ApiType>;
233
+ };
234
+ council: {
235
+ /**
236
+ * Members are already initialized!
237
+ **/
238
+ AlreadyInitialized: AugmentedError<ApiType>;
239
+ /**
240
+ * Duplicate proposals not allowed
241
+ **/
242
+ DuplicateProposal: AugmentedError<ApiType>;
243
+ /**
244
+ * Duplicate vote ignored
245
+ **/
246
+ DuplicateVote: AugmentedError<ApiType>;
247
+ /**
248
+ * Account is not a member
249
+ **/
250
+ NotMember: AugmentedError<ApiType>;
251
+ /**
252
+ * Proposal must exist
253
+ **/
254
+ ProposalMissing: AugmentedError<ApiType>;
255
+ /**
256
+ * The close call was made too early, before the end of the voting.
257
+ **/
258
+ TooEarly: AugmentedError<ApiType>;
259
+ /**
260
+ * There can only be a maximum of `MaxProposals` active proposals.
261
+ **/
262
+ TooManyProposals: AugmentedError<ApiType>;
263
+ /**
264
+ * Mismatched index
265
+ **/
266
+ WrongIndex: AugmentedError<ApiType>;
267
+ /**
268
+ * The given length bound for the proposal was too low.
269
+ **/
270
+ WrongProposalLength: AugmentedError<ApiType>;
271
+ /**
272
+ * The given weight bound for the proposal was too low.
273
+ **/
274
+ WrongProposalWeight: AugmentedError<ApiType>;
275
+ /**
276
+ * Generic error
277
+ **/
278
+ [key: string]: AugmentedError<ApiType>;
279
+ };
280
+ crowdloan: {
281
+ /**
282
+ * The fund is already in `NewRaise`
283
+ **/
284
+ AlreadyInNewRaise: AugmentedError<ApiType>;
285
+ /**
286
+ * This parachain's bid or lease is still active and withdraw cannot yet begin.
287
+ **/
288
+ BidOrLeaseActive: AugmentedError<ApiType>;
289
+ /**
290
+ * The campaign ends before the current block number. The end must be in the future.
291
+ **/
292
+ CannotEndInPast: AugmentedError<ApiType>;
293
+ /**
294
+ * Contributions exceed maximum amount.
295
+ **/
296
+ CapExceeded: AugmentedError<ApiType>;
297
+ /**
298
+ * The contribution period has already ended.
299
+ **/
300
+ ContributionPeriodOver: AugmentedError<ApiType>;
301
+ /**
302
+ * The contribution was below the minimum, `MinContribution`.
303
+ **/
304
+ ContributionTooSmall: AugmentedError<ApiType>;
305
+ /**
306
+ * The end date for this crowdloan is not sensible.
307
+ **/
308
+ EndTooFarInFuture: AugmentedError<ApiType>;
309
+ /**
310
+ * The current lease period is more than the first lease period.
311
+ **/
312
+ FirstPeriodInPast: AugmentedError<ApiType>;
313
+ /**
314
+ * The first lease period needs to at least be less than 3 `max_value`.
315
+ **/
316
+ FirstPeriodTooFarInFuture: AugmentedError<ApiType>;
317
+ /**
318
+ * The crowdloan has not yet ended.
319
+ **/
320
+ FundNotEnded: AugmentedError<ApiType>;
321
+ /**
322
+ * The origin of this call is invalid.
323
+ **/
324
+ InvalidOrigin: AugmentedError<ApiType>;
325
+ /**
326
+ * Invalid fund index.
327
+ **/
328
+ InvalidParaId: AugmentedError<ApiType>;
329
+ /**
330
+ * Invalid signature.
331
+ **/
332
+ InvalidSignature: AugmentedError<ApiType>;
333
+ /**
334
+ * Last lease period must be greater than first lease period.
335
+ **/
336
+ LastPeriodBeforeFirstPeriod: AugmentedError<ApiType>;
337
+ /**
338
+ * The last lease period cannot be more than 3 periods after the first period.
339
+ **/
340
+ LastPeriodTooFarInFuture: AugmentedError<ApiType>;
341
+ /**
342
+ * This parachain lease is still active and retirement cannot yet begin.
343
+ **/
344
+ LeaseActive: AugmentedError<ApiType>;
345
+ /**
346
+ * The provided memo is too large.
347
+ **/
348
+ MemoTooLarge: AugmentedError<ApiType>;
349
+ /**
350
+ * There are no contributions stored in this crowdloan.
351
+ **/
352
+ NoContributions: AugmentedError<ApiType>;
353
+ /**
354
+ * A lease period has not started yet, due to an offset in the starting block.
355
+ **/
356
+ NoLeasePeriod: AugmentedError<ApiType>;
357
+ /**
358
+ * This crowdloan does not correspond to a parachain.
359
+ **/
360
+ NotParachain: AugmentedError<ApiType>;
361
+ /**
362
+ * The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement period.
363
+ **/
364
+ NotReadyToDissolve: AugmentedError<ApiType>;
365
+ /**
366
+ * There was an overflow.
367
+ **/
368
+ Overflow: AugmentedError<ApiType>;
369
+ /**
370
+ * No contributions allowed during the VRF delay
371
+ **/
372
+ VrfDelayInProgress: AugmentedError<ApiType>;
373
+ /**
374
+ * Generic error
375
+ **/
376
+ [key: string]: AugmentedError<ApiType>;
377
+ };
378
+ democracy: {
379
+ /**
380
+ * Cannot cancel the same proposal twice
381
+ **/
382
+ AlreadyCanceled: AugmentedError<ApiType>;
383
+ /**
384
+ * The account is already delegating.
385
+ **/
386
+ AlreadyDelegating: AugmentedError<ApiType>;
387
+ /**
388
+ * Identity may not veto a proposal twice
389
+ **/
390
+ AlreadyVetoed: AugmentedError<ApiType>;
391
+ /**
392
+ * Preimage already noted
393
+ **/
394
+ DuplicatePreimage: AugmentedError<ApiType>;
395
+ /**
396
+ * Proposal already made
397
+ **/
398
+ DuplicateProposal: AugmentedError<ApiType>;
399
+ /**
400
+ * Imminent
401
+ **/
402
+ Imminent: AugmentedError<ApiType>;
403
+ /**
404
+ * The instant referendum origin is currently disallowed.
405
+ **/
406
+ InstantNotAllowed: AugmentedError<ApiType>;
407
+ /**
408
+ * Too high a balance was provided that the account cannot afford.
409
+ **/
410
+ InsufficientFunds: AugmentedError<ApiType>;
411
+ /**
412
+ * Invalid hash
413
+ **/
414
+ InvalidHash: AugmentedError<ApiType>;
415
+ /**
416
+ * Maximum number of votes reached.
417
+ **/
418
+ MaxVotesReached: AugmentedError<ApiType>;
419
+ /**
420
+ * No proposals waiting
421
+ **/
422
+ NoneWaiting: AugmentedError<ApiType>;
423
+ /**
424
+ * Delegation to oneself makes no sense.
425
+ **/
426
+ Nonsense: AugmentedError<ApiType>;
427
+ /**
428
+ * The actor has no permission to conduct the action.
429
+ **/
430
+ NoPermission: AugmentedError<ApiType>;
431
+ /**
432
+ * No external proposal
433
+ **/
434
+ NoProposal: AugmentedError<ApiType>;
435
+ /**
436
+ * The account is not currently delegating.
437
+ **/
438
+ NotDelegating: AugmentedError<ApiType>;
439
+ /**
440
+ * Not imminent
441
+ **/
442
+ NotImminent: AugmentedError<ApiType>;
443
+ /**
444
+ * Next external proposal not simple majority
445
+ **/
446
+ NotSimpleMajority: AugmentedError<ApiType>;
447
+ /**
448
+ * The given account did not vote on the referendum.
449
+ **/
450
+ NotVoter: AugmentedError<ApiType>;
451
+ /**
452
+ * Invalid preimage
453
+ **/
454
+ PreimageInvalid: AugmentedError<ApiType>;
455
+ /**
456
+ * Preimage not found
457
+ **/
458
+ PreimageMissing: AugmentedError<ApiType>;
459
+ /**
460
+ * Proposal still blacklisted
461
+ **/
462
+ ProposalBlacklisted: AugmentedError<ApiType>;
463
+ /**
464
+ * Proposal does not exist
465
+ **/
466
+ ProposalMissing: AugmentedError<ApiType>;
467
+ /**
468
+ * Vote given for invalid referendum
469
+ **/
470
+ ReferendumInvalid: AugmentedError<ApiType>;
471
+ /**
472
+ * Too early
473
+ **/
474
+ TooEarly: AugmentedError<ApiType>;
475
+ /**
476
+ * Maximum number of proposals reached.
477
+ **/
478
+ TooManyProposals: AugmentedError<ApiType>;
479
+ /**
480
+ * Value too low
481
+ **/
482
+ ValueLow: AugmentedError<ApiType>;
483
+ /**
484
+ * The account currently has votes attached to it and the operation cannot succeed until
485
+ * these are removed, either through `unvote` or `reap_vote`.
486
+ **/
487
+ VotesExist: AugmentedError<ApiType>;
488
+ /**
489
+ * Invalid upper bound.
490
+ **/
491
+ WrongUpperBound: AugmentedError<ApiType>;
492
+ /**
493
+ * Generic error
494
+ **/
495
+ [key: string]: AugmentedError<ApiType>;
496
+ };
497
+ electionProviderMultiPhase: {
498
+ /**
499
+ * The call is not allowed at this point.
500
+ **/
501
+ CallNotAllowed: AugmentedError<ApiType>;
502
+ /**
503
+ * `Self::insert_submission` returned an invalid index.
504
+ **/
505
+ InvalidSubmissionIndex: AugmentedError<ApiType>;
506
+ /**
507
+ * Snapshot metadata should exist but didn't.
508
+ **/
509
+ MissingSnapshotMetadata: AugmentedError<ApiType>;
510
+ /**
511
+ * OCW submitted solution for wrong round
512
+ **/
513
+ OcwCallWrongEra: AugmentedError<ApiType>;
514
+ /**
515
+ * Submission was too early.
516
+ **/
517
+ PreDispatchEarlySubmission: AugmentedError<ApiType>;
518
+ /**
519
+ * Submission was too weak, score-wise.
520
+ **/
521
+ PreDispatchWeakSubmission: AugmentedError<ApiType>;
522
+ /**
523
+ * Wrong number of winners presented.
524
+ **/
525
+ PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
526
+ /**
527
+ * The origin failed to pay the deposit.
528
+ **/
529
+ SignedCannotPayDeposit: AugmentedError<ApiType>;
530
+ /**
531
+ * Witness data to dispatchable is invalid.
532
+ **/
533
+ SignedInvalidWitness: AugmentedError<ApiType>;
534
+ /**
535
+ * The queue was full, and the solution was not better than any of the existing ones.
536
+ **/
537
+ SignedQueueFull: AugmentedError<ApiType>;
538
+ /**
539
+ * The signed submission consumes too much weight
540
+ **/
541
+ SignedTooMuchWeight: AugmentedError<ApiType>;
542
+ /**
543
+ * Generic error
544
+ **/
545
+ [key: string]: AugmentedError<ApiType>;
546
+ };
547
+ gilt: {
548
+ /**
549
+ * The amount of the bid is less than the minimum allowed.
550
+ **/
551
+ AmountTooSmall: AugmentedError<ApiType>;
552
+ /**
553
+ * The queue for the bid's duration is full and the amount bid is too low to get in
554
+ * through replacing an existing bid.
555
+ **/
556
+ BidTooLow: AugmentedError<ApiType>;
557
+ /**
558
+ * The duration is the bid is greater than the number of queues.
559
+ **/
560
+ DurationTooBig: AugmentedError<ApiType>;
561
+ /**
562
+ * The duration of the bid is less than one.
563
+ **/
564
+ DurationTooSmall: AugmentedError<ApiType>;
565
+ /**
566
+ * Gilt not yet at expiry date.
567
+ **/
568
+ NotExpired: AugmentedError<ApiType>;
569
+ /**
570
+ * The given bid for retraction is not found.
571
+ **/
572
+ NotFound: AugmentedError<ApiType>;
573
+ /**
574
+ * Not the owner of the gilt.
575
+ **/
576
+ NotOwner: AugmentedError<ApiType>;
577
+ /**
578
+ * Gilt index is unknown.
579
+ **/
580
+ Unknown: AugmentedError<ApiType>;
581
+ /**
582
+ * Generic error
583
+ **/
584
+ [key: string]: AugmentedError<ApiType>;
585
+ };
586
+ grandpa: {
587
+ /**
588
+ * Attempt to signal GRANDPA change with one already pending.
589
+ **/
590
+ ChangePending: AugmentedError<ApiType>;
591
+ /**
592
+ * A given equivocation report is valid but already previously reported.
593
+ **/
594
+ DuplicateOffenceReport: AugmentedError<ApiType>;
595
+ /**
596
+ * An equivocation proof provided as part of an equivocation report is invalid.
597
+ **/
598
+ InvalidEquivocationProof: AugmentedError<ApiType>;
599
+ /**
600
+ * A key ownership proof provided as part of an equivocation report is invalid.
601
+ **/
602
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
603
+ /**
604
+ * Attempt to signal GRANDPA pause when the authority set isn't live
605
+ * (either paused or already pending pause).
606
+ **/
607
+ PauseFailed: AugmentedError<ApiType>;
608
+ /**
609
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
610
+ * (either live or already pending resume).
611
+ **/
612
+ ResumeFailed: AugmentedError<ApiType>;
613
+ /**
614
+ * Cannot signal forced change so soon after last.
615
+ **/
616
+ TooSoon: AugmentedError<ApiType>;
617
+ /**
618
+ * Generic error
619
+ **/
620
+ [key: string]: AugmentedError<ApiType>;
621
+ };
622
+ hrmp: {
623
+ /**
624
+ * The channel is already confirmed.
625
+ **/
626
+ AcceptHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>;
627
+ /**
628
+ * The channel from the sender to the origin doesn't exist.
629
+ **/
630
+ AcceptHrmpChannelDoesntExist: AugmentedError<ApiType>;
631
+ /**
632
+ * The recipient already has the maximum number of allowed inbound channels.
633
+ **/
634
+ AcceptHrmpChannelLimitExceeded: AugmentedError<ApiType>;
635
+ /**
636
+ * Canceling is requested by neither the sender nor recipient of the open channel request.
637
+ **/
638
+ CancelHrmpOpenChannelUnauthorized: AugmentedError<ApiType>;
639
+ /**
640
+ * The channel close request is already requested.
641
+ **/
642
+ CloseHrmpChannelAlreadyUnderway: AugmentedError<ApiType>;
643
+ /**
644
+ * The channel to be closed doesn't exist.
645
+ **/
646
+ CloseHrmpChannelDoesntExist: AugmentedError<ApiType>;
647
+ /**
648
+ * The origin tries to close a channel where it is neither the sender nor the recipient.
649
+ **/
650
+ CloseHrmpChannelUnauthorized: AugmentedError<ApiType>;
651
+ /**
652
+ * Cannot cancel an HRMP open channel request because it is already confirmed.
653
+ **/
654
+ OpenHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>;
655
+ /**
656
+ * The channel already exists
657
+ **/
658
+ OpenHrmpChannelAlreadyExists: AugmentedError<ApiType>;
659
+ /**
660
+ * There is already a request to open the same channel.
661
+ **/
662
+ OpenHrmpChannelAlreadyRequested: AugmentedError<ApiType>;
663
+ /**
664
+ * The requested capacity exceeds the global limit.
665
+ **/
666
+ OpenHrmpChannelCapacityExceedsLimit: AugmentedError<ApiType>;
667
+ /**
668
+ * The open request doesn't exist.
669
+ **/
670
+ OpenHrmpChannelDoesntExist: AugmentedError<ApiType>;
671
+ /**
672
+ * The recipient is not a valid para.
673
+ **/
674
+ OpenHrmpChannelInvalidRecipient: AugmentedError<ApiType>;
675
+ /**
676
+ * The sender already has the maximum number of allowed outbound channels.
677
+ **/
678
+ OpenHrmpChannelLimitExceeded: AugmentedError<ApiType>;
679
+ /**
680
+ * The open request requested the message size that exceeds the global limit.
681
+ **/
682
+ OpenHrmpChannelMessageSizeExceedsLimit: AugmentedError<ApiType>;
683
+ /**
684
+ * The sender tried to open a channel to themselves.
685
+ **/
686
+ OpenHrmpChannelToSelf: AugmentedError<ApiType>;
687
+ /**
688
+ * The requested capacity is zero.
689
+ **/
690
+ OpenHrmpChannelZeroCapacity: AugmentedError<ApiType>;
691
+ /**
692
+ * The requested maximum message size is 0.
693
+ **/
694
+ OpenHrmpChannelZeroMessageSize: AugmentedError<ApiType>;
695
+ /**
696
+ * Generic error
697
+ **/
698
+ [key: string]: AugmentedError<ApiType>;
699
+ };
700
+ identity: {
701
+ /**
702
+ * Account ID is already named.
703
+ **/
704
+ AlreadyClaimed: AugmentedError<ApiType>;
705
+ /**
706
+ * Empty index.
707
+ **/
708
+ EmptyIndex: AugmentedError<ApiType>;
709
+ /**
710
+ * Fee is changed.
711
+ **/
712
+ FeeChanged: AugmentedError<ApiType>;
713
+ /**
714
+ * The index is invalid.
715
+ **/
716
+ InvalidIndex: AugmentedError<ApiType>;
717
+ /**
718
+ * Invalid judgement.
719
+ **/
720
+ InvalidJudgement: AugmentedError<ApiType>;
721
+ /**
722
+ * The target is invalid.
723
+ **/
724
+ InvalidTarget: AugmentedError<ApiType>;
725
+ /**
726
+ * Judgement given.
727
+ **/
728
+ JudgementGiven: AugmentedError<ApiType>;
729
+ /**
730
+ * No identity found.
731
+ **/
732
+ NoIdentity: AugmentedError<ApiType>;
733
+ /**
734
+ * Account isn't found.
735
+ **/
736
+ NotFound: AugmentedError<ApiType>;
737
+ /**
738
+ * Account isn't named.
739
+ **/
740
+ NotNamed: AugmentedError<ApiType>;
741
+ /**
742
+ * Sub-account isn't owned by sender.
743
+ **/
744
+ NotOwned: AugmentedError<ApiType>;
745
+ /**
746
+ * Sender is not a sub-account.
747
+ **/
748
+ NotSub: AugmentedError<ApiType>;
749
+ /**
750
+ * Sticky judgement.
751
+ **/
752
+ StickyJudgement: AugmentedError<ApiType>;
753
+ /**
754
+ * Too many additional fields.
755
+ **/
756
+ TooManyFields: AugmentedError<ApiType>;
757
+ /**
758
+ * Maximum amount of registrars reached. Cannot add any more.
759
+ **/
760
+ TooManyRegistrars: AugmentedError<ApiType>;
761
+ /**
762
+ * Too many subs-accounts.
763
+ **/
764
+ TooManySubAccounts: AugmentedError<ApiType>;
765
+ /**
766
+ * Generic error
767
+ **/
768
+ [key: string]: AugmentedError<ApiType>;
769
+ };
770
+ imOnline: {
771
+ /**
772
+ * Duplicated heartbeat.
773
+ **/
774
+ DuplicatedHeartbeat: AugmentedError<ApiType>;
775
+ /**
776
+ * Non existent public key.
777
+ **/
778
+ InvalidKey: AugmentedError<ApiType>;
779
+ /**
780
+ * Generic error
781
+ **/
782
+ [key: string]: AugmentedError<ApiType>;
783
+ };
784
+ indices: {
785
+ /**
786
+ * The index was not available.
787
+ **/
788
+ InUse: AugmentedError<ApiType>;
789
+ /**
790
+ * The index was not already assigned.
791
+ **/
792
+ NotAssigned: AugmentedError<ApiType>;
793
+ /**
794
+ * The index is assigned to another account.
795
+ **/
796
+ NotOwner: AugmentedError<ApiType>;
797
+ /**
798
+ * The source and destination accounts are identical.
799
+ **/
800
+ NotTransfer: AugmentedError<ApiType>;
801
+ /**
802
+ * The index is permanent and may not be freed/changed.
803
+ **/
804
+ Permanent: AugmentedError<ApiType>;
805
+ /**
806
+ * Generic error
807
+ **/
808
+ [key: string]: AugmentedError<ApiType>;
809
+ };
810
+ multisig: {
811
+ /**
812
+ * Call is already approved by this signatory.
813
+ **/
814
+ AlreadyApproved: AugmentedError<ApiType>;
815
+ /**
816
+ * The data to be stored is already stored.
817
+ **/
818
+ AlreadyStored: AugmentedError<ApiType>;
819
+ /**
820
+ * The maximum weight information provided was too low.
821
+ **/
822
+ MaxWeightTooLow: AugmentedError<ApiType>;
823
+ /**
824
+ * Threshold must be 2 or greater.
825
+ **/
826
+ MinimumThreshold: AugmentedError<ApiType>;
827
+ /**
828
+ * Call doesn't need any (more) approvals.
829
+ **/
830
+ NoApprovalsNeeded: AugmentedError<ApiType>;
831
+ /**
832
+ * Multisig operation not found when attempting to cancel.
833
+ **/
834
+ NotFound: AugmentedError<ApiType>;
835
+ /**
836
+ * No timepoint was given, yet the multisig operation is already underway.
837
+ **/
838
+ NoTimepoint: AugmentedError<ApiType>;
839
+ /**
840
+ * Only the account that originally created the multisig is able to cancel it.
841
+ **/
842
+ NotOwner: AugmentedError<ApiType>;
843
+ /**
844
+ * The sender was contained in the other signatories; it shouldn't be.
845
+ **/
846
+ SenderInSignatories: AugmentedError<ApiType>;
847
+ /**
848
+ * The signatories were provided out of order; they should be ordered.
849
+ **/
850
+ SignatoriesOutOfOrder: AugmentedError<ApiType>;
851
+ /**
852
+ * There are too few signatories in the list.
853
+ **/
854
+ TooFewSignatories: AugmentedError<ApiType>;
855
+ /**
856
+ * There are too many signatories in the list.
857
+ **/
858
+ TooManySignatories: AugmentedError<ApiType>;
859
+ /**
860
+ * A timepoint was given, yet no multisig operation is underway.
861
+ **/
862
+ UnexpectedTimepoint: AugmentedError<ApiType>;
863
+ /**
864
+ * A different timepoint was given to the multisig operation that is underway.
865
+ **/
866
+ WrongTimepoint: AugmentedError<ApiType>;
867
+ /**
868
+ * Generic error
869
+ **/
870
+ [key: string]: AugmentedError<ApiType>;
871
+ };
872
+ paraInclusion: {
873
+ /**
874
+ * Multiple bitfields submitted by same validator or validators out of order by index.
875
+ **/
876
+ BitfieldDuplicateOrUnordered: AugmentedError<ApiType>;
877
+ /**
878
+ * A bitfield that references a freed core,
879
+ * either intentionally or as part of a concluded
880
+ * invalid dispute.
881
+ **/
882
+ BitfieldReferencesFreedCore: AugmentedError<ApiType>;
883
+ /**
884
+ * Candidate not in parent context.
885
+ **/
886
+ CandidateNotInParentContext: AugmentedError<ApiType>;
887
+ /**
888
+ * Candidate scheduled despite pending candidate already existing for the para.
889
+ **/
890
+ CandidateScheduledBeforeParaFree: AugmentedError<ApiType>;
891
+ /**
892
+ * Head data exceeds the configured maximum.
893
+ **/
894
+ HeadDataTooLarge: AugmentedError<ApiType>;
895
+ /**
896
+ * The candidate didn't follow the rules of HRMP watermark advancement.
897
+ **/
898
+ HrmpWatermarkMishandling: AugmentedError<ApiType>;
899
+ /**
900
+ * The downward message queue is not processed correctly.
901
+ **/
902
+ IncorrectDownwardMessageHandling: AugmentedError<ApiType>;
903
+ /**
904
+ * Insufficient (non-majority) backing.
905
+ **/
906
+ InsufficientBacking: AugmentedError<ApiType>;
907
+ /**
908
+ * Invalid (bad signature, unknown validator, etc.) backing.
909
+ **/
910
+ InvalidBacking: AugmentedError<ApiType>;
911
+ /**
912
+ * Invalid signature
913
+ **/
914
+ InvalidBitfieldSignature: AugmentedError<ApiType>;
915
+ /**
916
+ * Invalid group index in core assignment.
917
+ **/
918
+ InvalidGroupIndex: AugmentedError<ApiType>;
919
+ /**
920
+ * The HRMP messages sent by the candidate is not valid.
921
+ **/
922
+ InvalidOutboundHrmp: AugmentedError<ApiType>;
923
+ /**
924
+ * At least one upward message sent does not pass the acceptance criteria.
925
+ **/
926
+ InvalidUpwardMessages: AugmentedError<ApiType>;
927
+ /**
928
+ * The validation code hash of the candidate is not valid.
929
+ **/
930
+ InvalidValidationCodeHash: AugmentedError<ApiType>;
931
+ /**
932
+ * Output code is too large
933
+ **/
934
+ NewCodeTooLarge: AugmentedError<ApiType>;
935
+ /**
936
+ * Collator did not sign PoV.
937
+ **/
938
+ NotCollatorSigned: AugmentedError<ApiType>;
939
+ /**
940
+ * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual para head in the
941
+ * commitments.
942
+ **/
943
+ ParaHeadMismatch: AugmentedError<ApiType>;
944
+ /**
945
+ * Code upgrade prematurely.
946
+ **/
947
+ PrematureCodeUpgrade: AugmentedError<ApiType>;
948
+ /**
949
+ * Scheduled cores out of order.
950
+ **/
951
+ ScheduledOutOfOrder: AugmentedError<ApiType>;
952
+ /**
953
+ * Candidate submitted but para not scheduled.
954
+ **/
955
+ UnscheduledCandidate: AugmentedError<ApiType>;
956
+ /**
957
+ * The validation data hash does not match expected.
958
+ **/
959
+ ValidationDataHashMismatch: AugmentedError<ApiType>;
960
+ /**
961
+ * Validator index out of bounds.
962
+ **/
963
+ ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
964
+ /**
965
+ * Availability bitfield has unexpected size.
966
+ **/
967
+ WrongBitfieldSize: AugmentedError<ApiType>;
968
+ /**
969
+ * Candidate included with the wrong collator.
970
+ **/
971
+ WrongCollator: AugmentedError<ApiType>;
972
+ /**
973
+ * Generic error
974
+ **/
975
+ [key: string]: AugmentedError<ApiType>;
976
+ };
977
+ paraInherent: {
978
+ /**
979
+ * Disputed candidate that was concluded invalid.
980
+ **/
981
+ CandidateConcludedInvalid: AugmentedError<ApiType>;
982
+ /**
983
+ * The data given to the inherent will result in an overweight block.
984
+ **/
985
+ InherentOverweight: AugmentedError<ApiType>;
986
+ /**
987
+ * The hash of the submitted parent header doesn't correspond to the saved block hash of
988
+ * the parent.
989
+ **/
990
+ InvalidParentHeader: AugmentedError<ApiType>;
991
+ /**
992
+ * Inclusion inherent called more than once per block.
993
+ **/
994
+ TooManyInclusionInherents: AugmentedError<ApiType>;
995
+ /**
996
+ * Generic error
997
+ **/
998
+ [key: string]: AugmentedError<ApiType>;
999
+ };
1000
+ paras: {
1001
+ /**
1002
+ * Para cannot be downgraded to a parathread.
1003
+ **/
1004
+ CannotDowngrade: AugmentedError<ApiType>;
1005
+ /**
1006
+ * Para cannot be offboarded at this time.
1007
+ **/
1008
+ CannotOffboard: AugmentedError<ApiType>;
1009
+ /**
1010
+ * Para cannot be onboarded because it is already tracked by our system.
1011
+ **/
1012
+ CannotOnboard: AugmentedError<ApiType>;
1013
+ /**
1014
+ * Para cannot be upgraded to a parachain.
1015
+ **/
1016
+ CannotUpgrade: AugmentedError<ApiType>;
1017
+ /**
1018
+ * Para is not registered in our system.
1019
+ **/
1020
+ NotRegistered: AugmentedError<ApiType>;
1021
+ /**
1022
+ * The given validator already has cast a vote.
1023
+ **/
1024
+ PvfCheckDoubleVote: AugmentedError<ApiType>;
1025
+ /**
1026
+ * The signature for the PVF pre-checking is invalid.
1027
+ **/
1028
+ PvfCheckInvalidSignature: AugmentedError<ApiType>;
1029
+ /**
1030
+ * The statement for PVF pre-checking is for a future session.
1031
+ **/
1032
+ PvfCheckStatementFuture: AugmentedError<ApiType>;
1033
+ /**
1034
+ * The statement for PVF pre-checking is stale.
1035
+ **/
1036
+ PvfCheckStatementStale: AugmentedError<ApiType>;
1037
+ /**
1038
+ * The given PVF does not exist at the moment of process a vote.
1039
+ **/
1040
+ PvfCheckSubjectInvalid: AugmentedError<ApiType>;
1041
+ /**
1042
+ * Claimed validator index is out of bounds.
1043
+ **/
1044
+ PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
1045
+ /**
1046
+ * Generic error
1047
+ **/
1048
+ [key: string]: AugmentedError<ApiType>;
1049
+ };
1050
+ parasDisputes: {
1051
+ /**
1052
+ * Ancient dispute statement provided.
1053
+ **/
1054
+ AncientDisputeStatement: AugmentedError<ApiType>;
1055
+ /**
1056
+ * Duplicate dispute statement sets provided.
1057
+ **/
1058
+ DuplicateDisputeStatementSets: AugmentedError<ApiType>;
1059
+ /**
1060
+ * Validator vote submitted more than once to dispute.
1061
+ **/
1062
+ DuplicateStatement: AugmentedError<ApiType>;
1063
+ /**
1064
+ * Invalid signature on statement.
1065
+ **/
1066
+ InvalidSignature: AugmentedError<ApiType>;
1067
+ /**
1068
+ * Too many spam slots used by some specific validator.
1069
+ **/
1070
+ PotentialSpam: AugmentedError<ApiType>;
1071
+ /**
1072
+ * A dispute where there are only votes on one side.
1073
+ **/
1074
+ SingleSidedDispute: AugmentedError<ApiType>;
1075
+ /**
1076
+ * Validator index on statement is out of bounds for session.
1077
+ **/
1078
+ ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
1079
+ /**
1080
+ * Generic error
1081
+ **/
1082
+ [key: string]: AugmentedError<ApiType>;
1083
+ };
1084
+ phragmenElection: {
1085
+ /**
1086
+ * Duplicated candidate submission.
1087
+ **/
1088
+ DuplicatedCandidate: AugmentedError<ApiType>;
1089
+ /**
1090
+ * Candidate does not have enough funds.
1091
+ **/
1092
+ InsufficientCandidateFunds: AugmentedError<ApiType>;
1093
+ /**
1094
+ * The renouncing origin presented a wrong `Renouncing` parameter.
1095
+ **/
1096
+ InvalidRenouncing: AugmentedError<ApiType>;
1097
+ /**
1098
+ * Prediction regarding replacement after member removal is wrong.
1099
+ **/
1100
+ InvalidReplacement: AugmentedError<ApiType>;
1101
+ /**
1102
+ * The provided count of number of votes is incorrect.
1103
+ **/
1104
+ InvalidVoteCount: AugmentedError<ApiType>;
1105
+ /**
1106
+ * The provided count of number of candidates is incorrect.
1107
+ **/
1108
+ InvalidWitnessData: AugmentedError<ApiType>;
1109
+ /**
1110
+ * Cannot vote with stake less than minimum balance.
1111
+ **/
1112
+ LowBalance: AugmentedError<ApiType>;
1113
+ /**
1114
+ * Cannot vote more than maximum allowed.
1115
+ **/
1116
+ MaximumVotesExceeded: AugmentedError<ApiType>;
1117
+ /**
1118
+ * Member cannot re-submit candidacy.
1119
+ **/
1120
+ MemberSubmit: AugmentedError<ApiType>;
1121
+ /**
1122
+ * Must be a voter.
1123
+ **/
1124
+ MustBeVoter: AugmentedError<ApiType>;
1125
+ /**
1126
+ * Not a member.
1127
+ **/
1128
+ NotMember: AugmentedError<ApiType>;
1129
+ /**
1130
+ * Must vote for at least one candidate.
1131
+ **/
1132
+ NoVotes: AugmentedError<ApiType>;
1133
+ /**
1134
+ * Cannot report self.
1135
+ **/
1136
+ ReportSelf: AugmentedError<ApiType>;
1137
+ /**
1138
+ * Runner cannot re-submit candidacy.
1139
+ **/
1140
+ RunnerUpSubmit: AugmentedError<ApiType>;
1141
+ /**
1142
+ * Cannot vote more than candidates.
1143
+ **/
1144
+ TooManyVotes: AugmentedError<ApiType>;
1145
+ /**
1146
+ * Voter can not pay voting bond.
1147
+ **/
1148
+ UnableToPayBond: AugmentedError<ApiType>;
1149
+ /**
1150
+ * Cannot vote when no candidates or members exist.
1151
+ **/
1152
+ UnableToVote: AugmentedError<ApiType>;
1153
+ /**
1154
+ * Generic error
1155
+ **/
1156
+ [key: string]: AugmentedError<ApiType>;
1157
+ };
1158
+ preimage: {
1159
+ /**
1160
+ * Preimage has already been noted on-chain.
1161
+ **/
1162
+ AlreadyNoted: AugmentedError<ApiType>;
1163
+ /**
1164
+ * The user is not authorized to perform this action.
1165
+ **/
1166
+ NotAuthorized: AugmentedError<ApiType>;
1167
+ /**
1168
+ * The preimage cannot be removed since it has not yet been noted.
1169
+ **/
1170
+ NotNoted: AugmentedError<ApiType>;
1171
+ /**
1172
+ * The preimage request cannot be removed since no outstanding requests exist.
1173
+ **/
1174
+ NotRequested: AugmentedError<ApiType>;
1175
+ /**
1176
+ * A preimage may not be removed when there are outstanding requests.
1177
+ **/
1178
+ Requested: AugmentedError<ApiType>;
1179
+ /**
1180
+ * Preimage is too large to store on-chain.
1181
+ **/
1182
+ TooLarge: AugmentedError<ApiType>;
1183
+ /**
1184
+ * Generic error
1185
+ **/
1186
+ [key: string]: AugmentedError<ApiType>;
1187
+ };
1188
+ proxy: {
1189
+ /**
1190
+ * Account is already a proxy.
1191
+ **/
1192
+ Duplicate: AugmentedError<ApiType>;
1193
+ /**
1194
+ * Call may not be made by proxy because it may escalate its privileges.
1195
+ **/
1196
+ NoPermission: AugmentedError<ApiType>;
1197
+ /**
1198
+ * Cannot add self as proxy.
1199
+ **/
1200
+ NoSelfProxy: AugmentedError<ApiType>;
1201
+ /**
1202
+ * Proxy registration not found.
1203
+ **/
1204
+ NotFound: AugmentedError<ApiType>;
1205
+ /**
1206
+ * Sender is not a proxy of the account to be proxied.
1207
+ **/
1208
+ NotProxy: AugmentedError<ApiType>;
1209
+ /**
1210
+ * There are too many proxies registered or too many announcements pending.
1211
+ **/
1212
+ TooMany: AugmentedError<ApiType>;
1213
+ /**
1214
+ * Announcement, if made at all, was made too recently.
1215
+ **/
1216
+ Unannounced: AugmentedError<ApiType>;
1217
+ /**
1218
+ * A call which is incompatible with the proxy type's filter was attempted.
1219
+ **/
1220
+ Unproxyable: AugmentedError<ApiType>;
1221
+ /**
1222
+ * Generic error
1223
+ **/
1224
+ [key: string]: AugmentedError<ApiType>;
1225
+ };
1226
+ recovery: {
1227
+ /**
1228
+ * This account is already set up for recovery
1229
+ **/
1230
+ AlreadyProxy: AugmentedError<ApiType>;
1231
+ /**
1232
+ * This account is already set up for recovery
1233
+ **/
1234
+ AlreadyRecoverable: AugmentedError<ApiType>;
1235
+ /**
1236
+ * A recovery process has already started for this account
1237
+ **/
1238
+ AlreadyStarted: AugmentedError<ApiType>;
1239
+ /**
1240
+ * This user has already vouched for this recovery
1241
+ **/
1242
+ AlreadyVouched: AugmentedError<ApiType>;
1243
+ /**
1244
+ * Some internal state is broken.
1245
+ **/
1246
+ BadState: AugmentedError<ApiType>;
1247
+ /**
1248
+ * The friend must wait until the delay period to vouch for this recovery
1249
+ **/
1250
+ DelayPeriod: AugmentedError<ApiType>;
1251
+ /**
1252
+ * Friends list must be less than max friends
1253
+ **/
1254
+ MaxFriends: AugmentedError<ApiType>;
1255
+ /**
1256
+ * User is not allowed to make a call on behalf of this account
1257
+ **/
1258
+ NotAllowed: AugmentedError<ApiType>;
1259
+ /**
1260
+ * Friends list must be greater than zero and threshold
1261
+ **/
1262
+ NotEnoughFriends: AugmentedError<ApiType>;
1263
+ /**
1264
+ * This account is not a friend who can vouch
1265
+ **/
1266
+ NotFriend: AugmentedError<ApiType>;
1267
+ /**
1268
+ * This account is not set up for recovery
1269
+ **/
1270
+ NotRecoverable: AugmentedError<ApiType>;
1271
+ /**
1272
+ * Friends list must be sorted and free of duplicates
1273
+ **/
1274
+ NotSorted: AugmentedError<ApiType>;
1275
+ /**
1276
+ * A recovery process has not started for this rescuer
1277
+ **/
1278
+ NotStarted: AugmentedError<ApiType>;
1279
+ /**
1280
+ * There are still active recovery attempts that need to be closed
1281
+ **/
1282
+ StillActive: AugmentedError<ApiType>;
1283
+ /**
1284
+ * The threshold for recovering this account has not been met
1285
+ **/
1286
+ Threshold: AugmentedError<ApiType>;
1287
+ /**
1288
+ * Threshold must be greater than zero
1289
+ **/
1290
+ ZeroThreshold: AugmentedError<ApiType>;
1291
+ /**
1292
+ * Generic error
1293
+ **/
1294
+ [key: string]: AugmentedError<ApiType>;
1295
+ };
1296
+ registrar: {
1297
+ /**
1298
+ * The ID is already registered.
1299
+ **/
1300
+ AlreadyRegistered: AugmentedError<ApiType>;
1301
+ /**
1302
+ * Cannot deregister para
1303
+ **/
1304
+ CannotDeregister: AugmentedError<ApiType>;
1305
+ /**
1306
+ * Cannot schedule downgrade of parachain to parathread
1307
+ **/
1308
+ CannotDowngrade: AugmentedError<ApiType>;
1309
+ /**
1310
+ * Cannot schedule upgrade of parathread to parachain
1311
+ **/
1312
+ CannotUpgrade: AugmentedError<ApiType>;
1313
+ /**
1314
+ * Invalid para code size.
1315
+ **/
1316
+ CodeTooLarge: AugmentedError<ApiType>;
1317
+ /**
1318
+ * Registering parachain with empty code is not allowed.
1319
+ **/
1320
+ EmptyCode: AugmentedError<ApiType>;
1321
+ /**
1322
+ * Invalid para head data size.
1323
+ **/
1324
+ HeadDataTooLarge: AugmentedError<ApiType>;
1325
+ /**
1326
+ * The caller is not the owner of this Id.
1327
+ **/
1328
+ NotOwner: AugmentedError<ApiType>;
1329
+ /**
1330
+ * Para is not a Parachain.
1331
+ **/
1332
+ NotParachain: AugmentedError<ApiType>;
1333
+ /**
1334
+ * Para is not a Parathread.
1335
+ **/
1336
+ NotParathread: AugmentedError<ApiType>;
1337
+ /**
1338
+ * The ID is not registered.
1339
+ **/
1340
+ NotRegistered: AugmentedError<ApiType>;
1341
+ /**
1342
+ * The ID given for registration has not been reserved.
1343
+ **/
1344
+ NotReserved: AugmentedError<ApiType>;
1345
+ /**
1346
+ * Para is locked from manipulation by the manager. Must use parachain or relay chain governance.
1347
+ **/
1348
+ ParaLocked: AugmentedError<ApiType>;
1349
+ /**
1350
+ * Generic error
1351
+ **/
1352
+ [key: string]: AugmentedError<ApiType>;
1353
+ };
1354
+ scheduler: {
1355
+ /**
1356
+ * Failed to schedule a call
1357
+ **/
1358
+ FailedToSchedule: AugmentedError<ApiType>;
1359
+ /**
1360
+ * Cannot find the scheduled call.
1361
+ **/
1362
+ NotFound: AugmentedError<ApiType>;
1363
+ /**
1364
+ * Reschedule failed because it does not change scheduled time.
1365
+ **/
1366
+ RescheduleNoChange: AugmentedError<ApiType>;
1367
+ /**
1368
+ * Given target block number is in the past.
1369
+ **/
1370
+ TargetBlockNumberInPast: AugmentedError<ApiType>;
1371
+ /**
1372
+ * Generic error
1373
+ **/
1374
+ [key: string]: AugmentedError<ApiType>;
1375
+ };
1376
+ session: {
1377
+ /**
1378
+ * Registered duplicate key.
1379
+ **/
1380
+ DuplicatedKey: AugmentedError<ApiType>;
1381
+ /**
1382
+ * Invalid ownership proof.
1383
+ **/
1384
+ InvalidProof: AugmentedError<ApiType>;
1385
+ /**
1386
+ * Key setting account is not live, so it's impossible to associate keys.
1387
+ **/
1388
+ NoAccount: AugmentedError<ApiType>;
1389
+ /**
1390
+ * No associated validator ID for account.
1391
+ **/
1392
+ NoAssociatedValidatorId: AugmentedError<ApiType>;
1393
+ /**
1394
+ * No keys are associated with this account.
1395
+ **/
1396
+ NoKeys: AugmentedError<ApiType>;
1397
+ /**
1398
+ * Generic error
1399
+ **/
1400
+ [key: string]: AugmentedError<ApiType>;
1401
+ };
1402
+ slots: {
1403
+ /**
1404
+ * There was an error with the lease.
1405
+ **/
1406
+ LeaseError: AugmentedError<ApiType>;
1407
+ /**
1408
+ * The parachain ID is not onboarding.
1409
+ **/
1410
+ ParaNotOnboarding: AugmentedError<ApiType>;
1411
+ /**
1412
+ * Generic error
1413
+ **/
1414
+ [key: string]: AugmentedError<ApiType>;
1415
+ };
1416
+ society: {
1417
+ /**
1418
+ * User has already made a bid.
1419
+ **/
1420
+ AlreadyBid: AugmentedError<ApiType>;
1421
+ /**
1422
+ * User is already a candidate.
1423
+ **/
1424
+ AlreadyCandidate: AugmentedError<ApiType>;
1425
+ /**
1426
+ * Society already founded.
1427
+ **/
1428
+ AlreadyFounded: AugmentedError<ApiType>;
1429
+ /**
1430
+ * User is already a member.
1431
+ **/
1432
+ AlreadyMember: AugmentedError<ApiType>;
1433
+ /**
1434
+ * Member is already vouching or banned from vouching again.
1435
+ **/
1436
+ AlreadyVouching: AugmentedError<ApiType>;
1437
+ /**
1438
+ * An incorrect position was provided.
1439
+ **/
1440
+ BadPosition: AugmentedError<ApiType>;
1441
+ /**
1442
+ * Cannot remove the founder.
1443
+ **/
1444
+ Founder: AugmentedError<ApiType>;
1445
+ /**
1446
+ * Cannot remove the head of the chain.
1447
+ **/
1448
+ Head: AugmentedError<ApiType>;
1449
+ /**
1450
+ * Not enough in pot to accept candidate.
1451
+ **/
1452
+ InsufficientPot: AugmentedError<ApiType>;
1453
+ /**
1454
+ * Too many members in the society.
1455
+ **/
1456
+ MaxMembers: AugmentedError<ApiType>;
1457
+ /**
1458
+ * Nothing to payout.
1459
+ **/
1460
+ NoPayout: AugmentedError<ApiType>;
1461
+ /**
1462
+ * User is not a candidate.
1463
+ **/
1464
+ NotCandidate: AugmentedError<ApiType>;
1465
+ /**
1466
+ * The caller is not the founder.
1467
+ **/
1468
+ NotFounder: AugmentedError<ApiType>;
1469
+ /**
1470
+ * The caller is not the head.
1471
+ **/
1472
+ NotHead: AugmentedError<ApiType>;
1473
+ /**
1474
+ * User is not a member.
1475
+ **/
1476
+ NotMember: AugmentedError<ApiType>;
1477
+ /**
1478
+ * User is not suspended.
1479
+ **/
1480
+ NotSuspended: AugmentedError<ApiType>;
1481
+ /**
1482
+ * Member is not vouching.
1483
+ **/
1484
+ NotVouching: AugmentedError<ApiType>;
1485
+ /**
1486
+ * User is suspended.
1487
+ **/
1488
+ Suspended: AugmentedError<ApiType>;
1489
+ /**
1490
+ * Generic error
1491
+ **/
1492
+ [key: string]: AugmentedError<ApiType>;
1493
+ };
1494
+ staking: {
1495
+ /**
1496
+ * Stash is already bonded.
1497
+ **/
1498
+ AlreadyBonded: AugmentedError<ApiType>;
1499
+ /**
1500
+ * Rewards for this era have already been claimed for this validator.
1501
+ **/
1502
+ AlreadyClaimed: AugmentedError<ApiType>;
1503
+ /**
1504
+ * Controller is already paired.
1505
+ **/
1506
+ AlreadyPaired: AugmentedError<ApiType>;
1507
+ /**
1508
+ * Internal state has become somehow corrupted and the operation cannot continue.
1509
+ **/
1510
+ BadState: AugmentedError<ApiType>;
1511
+ /**
1512
+ * A nomination target was supplied that was blocked or otherwise not a validator.
1513
+ **/
1514
+ BadTarget: AugmentedError<ApiType>;
1515
+ /**
1516
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
1517
+ **/
1518
+ CannotChillOther: AugmentedError<ApiType>;
1519
+ /**
1520
+ * Commission is too low. Must be at least `MinCommission`.
1521
+ **/
1522
+ CommissionTooLow: AugmentedError<ApiType>;
1523
+ /**
1524
+ * Duplicate index.
1525
+ **/
1526
+ DuplicateIndex: AugmentedError<ApiType>;
1527
+ /**
1528
+ * Targets cannot be empty.
1529
+ **/
1530
+ EmptyTargets: AugmentedError<ApiType>;
1531
+ /**
1532
+ * Attempting to target a stash that still has funds.
1533
+ **/
1534
+ FundedTarget: AugmentedError<ApiType>;
1535
+ /**
1536
+ * Incorrect previous history depth input provided.
1537
+ **/
1538
+ IncorrectHistoryDepth: AugmentedError<ApiType>;
1539
+ /**
1540
+ * Incorrect number of slashing spans provided.
1541
+ **/
1542
+ IncorrectSlashingSpans: AugmentedError<ApiType>;
1543
+ /**
1544
+ * Cannot have a validator or nominator role, with value less than the minimum defined by
1545
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1546
+ * intention, `chill` first to remove one's role as validator/nominator.
1547
+ **/
1548
+ InsufficientBond: AugmentedError<ApiType>;
1549
+ /**
1550
+ * Invalid era to reward.
1551
+ **/
1552
+ InvalidEraToReward: AugmentedError<ApiType>;
1553
+ /**
1554
+ * Invalid number of nominations.
1555
+ **/
1556
+ InvalidNumberOfNominations: AugmentedError<ApiType>;
1557
+ /**
1558
+ * Slash record index out of bounds.
1559
+ **/
1560
+ InvalidSlashIndex: AugmentedError<ApiType>;
1561
+ /**
1562
+ * Can not schedule more unlock chunks.
1563
+ **/
1564
+ NoMoreChunks: AugmentedError<ApiType>;
1565
+ /**
1566
+ * Not a controller account.
1567
+ **/
1568
+ NotController: AugmentedError<ApiType>;
1569
+ /**
1570
+ * Items are not sorted and unique.
1571
+ **/
1572
+ NotSortedAndUnique: AugmentedError<ApiType>;
1573
+ /**
1574
+ * Not a stash account.
1575
+ **/
1576
+ NotStash: AugmentedError<ApiType>;
1577
+ /**
1578
+ * Can not rebond without unlocking chunks.
1579
+ **/
1580
+ NoUnlockChunk: AugmentedError<ApiType>;
1581
+ /**
1582
+ * There are too many nominators in the system. Governance needs to adjust the staking
1583
+ * settings to keep things safe for the runtime.
1584
+ **/
1585
+ TooManyNominators: AugmentedError<ApiType>;
1586
+ /**
1587
+ * Too many nomination targets supplied.
1588
+ **/
1589
+ TooManyTargets: AugmentedError<ApiType>;
1590
+ /**
1591
+ * There are too many validators in the system. Governance needs to adjust the staking
1592
+ * settings to keep things safe for the runtime.
1593
+ **/
1594
+ TooManyValidators: AugmentedError<ApiType>;
1595
+ /**
1596
+ * Generic error
1597
+ **/
1598
+ [key: string]: AugmentedError<ApiType>;
1599
+ };
1600
+ system: {
1601
+ /**
1602
+ * The origin filter prevent the call to be dispatched.
1603
+ **/
1604
+ CallFiltered: AugmentedError<ApiType>;
1605
+ /**
1606
+ * Failed to extract the runtime version from the new runtime.
1607
+ *
1608
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1609
+ **/
1610
+ FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1611
+ /**
1612
+ * The name of specification does not match between the current runtime
1613
+ * and the new runtime.
1614
+ **/
1615
+ InvalidSpecName: AugmentedError<ApiType>;
1616
+ /**
1617
+ * Suicide called when the account has non-default composite data.
1618
+ **/
1619
+ NonDefaultComposite: AugmentedError<ApiType>;
1620
+ /**
1621
+ * There is a non-zero reference count preventing the account from being purged.
1622
+ **/
1623
+ NonZeroRefCount: AugmentedError<ApiType>;
1624
+ /**
1625
+ * The specification version is not allowed to decrease between the current runtime
1626
+ * and the new runtime.
1627
+ **/
1628
+ SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
1629
+ /**
1630
+ * Generic error
1631
+ **/
1632
+ [key: string]: AugmentedError<ApiType>;
1633
+ };
1634
+ technicalCommittee: {
1635
+ /**
1636
+ * Members are already initialized!
1637
+ **/
1638
+ AlreadyInitialized: AugmentedError<ApiType>;
1639
+ /**
1640
+ * Duplicate proposals not allowed
1641
+ **/
1642
+ DuplicateProposal: AugmentedError<ApiType>;
1643
+ /**
1644
+ * Duplicate vote ignored
1645
+ **/
1646
+ DuplicateVote: AugmentedError<ApiType>;
1647
+ /**
1648
+ * Account is not a member
1649
+ **/
1650
+ NotMember: AugmentedError<ApiType>;
1651
+ /**
1652
+ * Proposal must exist
1653
+ **/
1654
+ ProposalMissing: AugmentedError<ApiType>;
1655
+ /**
1656
+ * The close call was made too early, before the end of the voting.
1657
+ **/
1658
+ TooEarly: AugmentedError<ApiType>;
1659
+ /**
1660
+ * There can only be a maximum of `MaxProposals` active proposals.
1661
+ **/
1662
+ TooManyProposals: AugmentedError<ApiType>;
1663
+ /**
1664
+ * Mismatched index
1665
+ **/
1666
+ WrongIndex: AugmentedError<ApiType>;
1667
+ /**
1668
+ * The given length bound for the proposal was too low.
1669
+ **/
1670
+ WrongProposalLength: AugmentedError<ApiType>;
1671
+ /**
1672
+ * The given weight bound for the proposal was too low.
1673
+ **/
1674
+ WrongProposalWeight: AugmentedError<ApiType>;
1675
+ /**
1676
+ * Generic error
1677
+ **/
1678
+ [key: string]: AugmentedError<ApiType>;
1679
+ };
1680
+ technicalMembership: {
1681
+ /**
1682
+ * Already a member.
1683
+ **/
1684
+ AlreadyMember: AugmentedError<ApiType>;
1685
+ /**
1686
+ * Not a member.
1687
+ **/
1688
+ NotMember: AugmentedError<ApiType>;
1689
+ /**
1690
+ * Generic error
1691
+ **/
1692
+ [key: string]: AugmentedError<ApiType>;
1693
+ };
1694
+ tips: {
1695
+ /**
1696
+ * The tip was already found/started.
1697
+ **/
1698
+ AlreadyKnown: AugmentedError<ApiType>;
1699
+ /**
1700
+ * The account attempting to retract the tip is not the finder of the tip.
1701
+ **/
1702
+ NotFinder: AugmentedError<ApiType>;
1703
+ /**
1704
+ * The tip cannot be claimed/closed because it's still in the countdown period.
1705
+ **/
1706
+ Premature: AugmentedError<ApiType>;
1707
+ /**
1708
+ * The reason given is just too big.
1709
+ **/
1710
+ ReasonTooBig: AugmentedError<ApiType>;
1711
+ /**
1712
+ * The tip cannot be claimed/closed because there are not enough tippers yet.
1713
+ **/
1714
+ StillOpen: AugmentedError<ApiType>;
1715
+ /**
1716
+ * The tip hash is unknown.
1717
+ **/
1718
+ UnknownTip: AugmentedError<ApiType>;
1719
+ /**
1720
+ * Generic error
1721
+ **/
1722
+ [key: string]: AugmentedError<ApiType>;
1723
+ };
1724
+ treasury: {
1725
+ /**
1726
+ * Proposer's balance is too low.
1727
+ **/
1728
+ InsufficientProposersBalance: AugmentedError<ApiType>;
1729
+ /**
1730
+ * No proposal or bounty at that index.
1731
+ **/
1732
+ InvalidIndex: AugmentedError<ApiType>;
1733
+ /**
1734
+ * Too many approvals in the queue.
1735
+ **/
1736
+ TooManyApprovals: AugmentedError<ApiType>;
1737
+ /**
1738
+ * Generic error
1739
+ **/
1740
+ [key: string]: AugmentedError<ApiType>;
1741
+ };
1742
+ ump: {
1743
+ /**
1744
+ * The message index given is unknown.
1745
+ **/
1746
+ UnknownMessageIndex: AugmentedError<ApiType>;
1747
+ /**
1748
+ * The amount of weight given is possibly not enough for executing the message.
1749
+ **/
1750
+ WeightOverLimit: AugmentedError<ApiType>;
1751
+ /**
1752
+ * Generic error
1753
+ **/
1754
+ [key: string]: AugmentedError<ApiType>;
1755
+ };
1756
+ utility: {
1757
+ /**
1758
+ * Too many calls batched.
1759
+ **/
1760
+ TooManyCalls: AugmentedError<ApiType>;
1761
+ /**
1762
+ * Generic error
1763
+ **/
1764
+ [key: string]: AugmentedError<ApiType>;
1765
+ };
1766
+ vesting: {
1767
+ /**
1768
+ * Amount being transferred is too low to create a vesting schedule.
1769
+ **/
1770
+ AmountLow: AugmentedError<ApiType>;
1771
+ /**
1772
+ * The account already has `MaxVestingSchedules` count of schedules and thus
1773
+ * cannot add another one. Consider merging existing schedules in order to add another.
1774
+ **/
1775
+ AtMaxVestingSchedules: AugmentedError<ApiType>;
1776
+ /**
1777
+ * Failed to create a new schedule because some parameter was invalid.
1778
+ **/
1779
+ InvalidScheduleParams: AugmentedError<ApiType>;
1780
+ /**
1781
+ * The account given is not vesting.
1782
+ **/
1783
+ NotVesting: AugmentedError<ApiType>;
1784
+ /**
1785
+ * An index was out of bounds of the vesting schedules.
1786
+ **/
1787
+ ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
1788
+ /**
1789
+ * Generic error
1790
+ **/
1791
+ [key: string]: AugmentedError<ApiType>;
1792
+ };
1793
+ xcmPallet: {
1794
+ /**
1795
+ * The location is invalid since it already has a subscription from us.
1796
+ **/
1797
+ AlreadySubscribed: AugmentedError<ApiType>;
1798
+ /**
1799
+ * The given location could not be used (e.g. because it cannot be expressed in the
1800
+ * desired version of XCM).
1801
+ **/
1802
+ BadLocation: AugmentedError<ApiType>;
1803
+ /**
1804
+ * The version of the `Versioned` value used is not able to be interpreted.
1805
+ **/
1806
+ BadVersion: AugmentedError<ApiType>;
1807
+ /**
1808
+ * Could not re-anchor the assets to declare the fees for the destination chain.
1809
+ **/
1810
+ CannotReanchor: AugmentedError<ApiType>;
1811
+ /**
1812
+ * The destination `MultiLocation` provided cannot be inverted.
1813
+ **/
1814
+ DestinationNotInvertible: AugmentedError<ApiType>;
1815
+ /**
1816
+ * The assets to be sent are empty.
1817
+ **/
1818
+ Empty: AugmentedError<ApiType>;
1819
+ /**
1820
+ * The message execution fails the filter.
1821
+ **/
1822
+ Filtered: AugmentedError<ApiType>;
1823
+ /**
1824
+ * Origin is invalid for sending.
1825
+ **/
1826
+ InvalidOrigin: AugmentedError<ApiType>;
1827
+ /**
1828
+ * The referenced subscription could not be found.
1829
+ **/
1830
+ NoSubscription: AugmentedError<ApiType>;
1831
+ /**
1832
+ * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps
1833
+ * a lack of space for buffering the message.
1834
+ **/
1835
+ SendFailure: AugmentedError<ApiType>;
1836
+ /**
1837
+ * Too many assets have been attempted for transfer.
1838
+ **/
1839
+ TooManyAssets: AugmentedError<ApiType>;
1840
+ /**
1841
+ * The desired destination was unreachable, generally because there is a no way of routing
1842
+ * to it.
1843
+ **/
1844
+ Unreachable: AugmentedError<ApiType>;
1845
+ /**
1846
+ * The message's weight could not be determined.
1847
+ **/
1848
+ UnweighableMessage: AugmentedError<ApiType>;
1849
+ /**
1850
+ * Generic error
1851
+ **/
1852
+ [key: string]: AugmentedError<ApiType>;
1853
+ };
1854
+ }
1855
+ }