@webb-tools/tangle-substrate-types 0.5.8 → 0.5.12

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 (84) hide show
  1. package/README.md +11 -2
  2. package/{build/interfaces → interfaces}/augment-api-consts.d.ts +119 -24
  3. package/{ts-types/src/interfaces → interfaces}/augment-api-errors.d.ts +199 -342
  4. package/{build/interfaces → interfaces}/augment-api-events.d.ts +1365 -378
  5. package/{build/interfaces → interfaces}/augment-api-query.d.ts +718 -261
  6. package/{ts-types/src/interfaces → interfaces}/augment-api-tx.d.ts +1684 -442
  7. package/{ts-types/src/interfaces → interfaces}/lookup.d.ts +1425 -1093
  8. package/{build/interfaces → interfaces}/lookup.js +1443 -1111
  9. package/{build/interfaces → interfaces}/registry.d.ts +62 -75
  10. package/{ts-types/src/interfaces → interfaces}/types-lookup.d.ts +1233 -1128
  11. package/metadata/static-latest.d.ts +2 -0
  12. package/metadata/static-latest.js +7 -0
  13. package/package.json +1 -72
  14. package/.envrc +0 -5
  15. package/babel-config-cjs.cjs +0 -10
  16. package/build/interfaces/augment-api-errors.d.ts +0 -2144
  17. package/build/interfaces/augment-api-tx.d.ts +0 -2876
  18. package/build/interfaces/lookup.d.ts +0 -5908
  19. package/build/interfaces/types-lookup.d.ts +0 -6052
  20. package/build/metadata/static-latest.d.ts +0 -2
  21. package/build/metadata/static-latest.js +0 -7
  22. package/build/metadata/static-type.d.ts +0 -2
  23. package/build/metadata/static-type.js +0 -1
  24. package/build/package.json +0 -1
  25. package/playground.ts +0 -86
  26. package/polkadot-dev-configs/babel-config-cjs.cjs +0 -12
  27. package/polkadot-dev-configs/babel-general.cjs +0 -15
  28. package/polkadot-dev-configs/babel-plugins.cjs +0 -21
  29. package/polkadot-dev-configs/babel-presets.cjs +0 -33
  30. package/polkadot-dev-configs/babel-resolver.cjs +0 -14
  31. package/scripts/build.js +0 -134
  32. package/scripts/publish-types.js +0 -95
  33. package/scripts/updateMetadata.ts +0 -44
  34. package/src/examples/job_and_result_submission.ts +0 -203
  35. package/src/index.ts +0 -7
  36. package/src/interfaces/augment-api-consts.ts +0 -958
  37. package/src/interfaces/augment-api-errors.ts +0 -2152
  38. package/src/interfaces/augment-api-events.ts +0 -1465
  39. package/src/interfaces/augment-api-query.ts +0 -1629
  40. package/src/interfaces/augment-api-rpc.ts +0 -617
  41. package/src/interfaces/augment-api-runtime.ts +0 -308
  42. package/src/interfaces/augment-api-tx.ts +0 -1550
  43. package/src/interfaces/augment-api.ts +0 -10
  44. package/src/interfaces/augment-types.ts +0 -1256
  45. package/src/interfaces/lookup.ts +0 -5912
  46. package/src/interfaces/registry.ts +0 -433
  47. package/src/interfaces/types-lookup.ts +0 -6455
  48. package/src/metadata/metadata.json +0 -5
  49. package/src/metadata/static-latest.ts +0 -1
  50. package/src/metadata/static-type.ts +0 -3
  51. package/ts-types/playground.d.ts +0 -1
  52. package/ts-types/src/examples/job_and_result_submission.d.ts +0 -1
  53. package/ts-types/src/index.d.ts +0 -3
  54. package/ts-types/src/interfaces/augment-api-consts.d.ts +0 -950
  55. package/ts-types/src/interfaces/augment-api-events.d.ts +0 -2281
  56. package/ts-types/src/interfaces/augment-api-query.d.ts +0 -1660
  57. package/ts-types/src/interfaces/augment-api-rpc.d.ts +0 -679
  58. package/ts-types/src/interfaces/augment-api-runtime.d.ts +0 -363
  59. package/ts-types/src/interfaces/augment-api.d.ts +0 -7
  60. package/ts-types/src/interfaces/augment-types.d.ts +0 -1249
  61. package/ts-types/src/interfaces/registry.d.ts +0 -426
  62. package/ts-types/src/metadata/static-latest.d.ts +0 -2
  63. package/ts-types/src/metadata/static-type.d.ts +0 -2
  64. package/ts-types/tsconfig.tsbuildinfo +0 -1
  65. package/tsconfig.json +0 -36
  66. /package/{build/examples → examples}/job_and_result_submission.d.ts +0 -0
  67. /package/{build/examples → examples}/job_and_result_submission.js +0 -0
  68. /package/{build/index.d.ts → index.d.ts} +0 -0
  69. /package/{build/index.js → index.js} +0 -0
  70. /package/{build/interfaces → interfaces}/augment-api-consts.js +0 -0
  71. /package/{build/interfaces → interfaces}/augment-api-errors.js +0 -0
  72. /package/{build/interfaces → interfaces}/augment-api-events.js +0 -0
  73. /package/{build/interfaces → interfaces}/augment-api-query.js +0 -0
  74. /package/{build/interfaces → interfaces}/augment-api-rpc.d.ts +0 -0
  75. /package/{build/interfaces → interfaces}/augment-api-rpc.js +0 -0
  76. /package/{build/interfaces → interfaces}/augment-api-runtime.d.ts +0 -0
  77. /package/{build/interfaces → interfaces}/augment-api-runtime.js +0 -0
  78. /package/{build/interfaces → interfaces}/augment-api-tx.js +0 -0
  79. /package/{build/interfaces → interfaces}/augment-api.d.ts +0 -0
  80. /package/{build/interfaces → interfaces}/augment-api.js +0 -0
  81. /package/{build/interfaces → interfaces}/augment-types.d.ts +0 -0
  82. /package/{build/interfaces → interfaces}/augment-types.js +0 -0
  83. /package/{build/interfaces → interfaces}/registry.js +0 -0
  84. /package/{build/interfaces → interfaces}/types-lookup.js +0 -0
@@ -1,2152 +0,0 @@
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 '@polkadot/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
- assets: {
15
- /**
16
- * The asset-account already exists.
17
- **/
18
- AlreadyExists: AugmentedError<ApiType>;
19
- /**
20
- * The asset is not live, and likely being destroyed.
21
- **/
22
- AssetNotLive: AugmentedError<ApiType>;
23
- /**
24
- * Invalid metadata given.
25
- **/
26
- BadMetadata: AugmentedError<ApiType>;
27
- /**
28
- * Invalid witness data given.
29
- **/
30
- BadWitness: AugmentedError<ApiType>;
31
- /**
32
- * Account balance must be greater than or equal to the transfer amount.
33
- **/
34
- BalanceLow: AugmentedError<ApiType>;
35
- /**
36
- * Callback action resulted in error
37
- **/
38
- CallbackFailed: AugmentedError<ApiType>;
39
- /**
40
- * The origin account is frozen.
41
- **/
42
- Frozen: AugmentedError<ApiType>;
43
- /**
44
- * The asset status is not the expected status.
45
- **/
46
- IncorrectStatus: AugmentedError<ApiType>;
47
- /**
48
- * The asset ID is already taken.
49
- **/
50
- InUse: AugmentedError<ApiType>;
51
- /**
52
- * The asset is a live asset and is actively being used. Usually emit for operations such
53
- * as `start_destroy` which require the asset to be in a destroying state.
54
- **/
55
- LiveAsset: AugmentedError<ApiType>;
56
- /**
57
- * Minimum balance should be non-zero.
58
- **/
59
- MinBalanceZero: AugmentedError<ApiType>;
60
- /**
61
- * The account to alter does not exist.
62
- **/
63
- NoAccount: AugmentedError<ApiType>;
64
- /**
65
- * The asset-account doesn't have an associated deposit.
66
- **/
67
- NoDeposit: AugmentedError<ApiType>;
68
- /**
69
- * The signing account has no permission to do the operation.
70
- **/
71
- NoPermission: AugmentedError<ApiType>;
72
- /**
73
- * The asset should be frozen before the given operation.
74
- **/
75
- NotFrozen: AugmentedError<ApiType>;
76
- /**
77
- * No approval exists that would allow the transfer.
78
- **/
79
- Unapproved: AugmentedError<ApiType>;
80
- /**
81
- * Unable to increment the consumer reference counters on the account. Either no provider
82
- * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
83
- * fewer then the maximum number of consumers has been reached.
84
- **/
85
- UnavailableConsumer: AugmentedError<ApiType>;
86
- /**
87
- * The given asset ID is unknown.
88
- **/
89
- Unknown: AugmentedError<ApiType>;
90
- /**
91
- * The operation would result in funds being burned.
92
- **/
93
- WouldBurn: AugmentedError<ApiType>;
94
- /**
95
- * The source account would not survive the transfer and it needs to stay alive.
96
- **/
97
- WouldDie: AugmentedError<ApiType>;
98
- /**
99
- * Generic error
100
- **/
101
- [key: string]: AugmentedError<ApiType>;
102
- };
103
- babe: {
104
- /**
105
- * A given equivocation report is valid but already previously reported.
106
- **/
107
- DuplicateOffenceReport: AugmentedError<ApiType>;
108
- /**
109
- * Submitted configuration is invalid.
110
- **/
111
- InvalidConfiguration: AugmentedError<ApiType>;
112
- /**
113
- * An equivocation proof provided as part of an equivocation report is invalid.
114
- **/
115
- InvalidEquivocationProof: AugmentedError<ApiType>;
116
- /**
117
- * A key ownership proof provided as part of an equivocation report is invalid.
118
- **/
119
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
120
- /**
121
- * Generic error
122
- **/
123
- [key: string]: AugmentedError<ApiType>;
124
- };
125
- bagsList: {
126
- /**
127
- * A error in the list interface implementation.
128
- **/
129
- List: AugmentedError<ApiType>;
130
- /**
131
- * Generic error
132
- **/
133
- [key: string]: AugmentedError<ApiType>;
134
- };
135
- balances: {
136
- /**
137
- * Beneficiary account must pre-exist.
138
- **/
139
- DeadAccount: AugmentedError<ApiType>;
140
- /**
141
- * The delta cannot be zero.
142
- **/
143
- DeltaZero: AugmentedError<ApiType>;
144
- /**
145
- * Value too low to create account due to existential deposit.
146
- **/
147
- ExistentialDeposit: AugmentedError<ApiType>;
148
- /**
149
- * A vesting schedule already exists for this account.
150
- **/
151
- ExistingVestingSchedule: AugmentedError<ApiType>;
152
- /**
153
- * Transfer/payment would kill account.
154
- **/
155
- Expendability: AugmentedError<ApiType>;
156
- /**
157
- * Balance too low to send value.
158
- **/
159
- InsufficientBalance: AugmentedError<ApiType>;
160
- /**
161
- * The issuance cannot be modified since it is already deactivated.
162
- **/
163
- IssuanceDeactivated: AugmentedError<ApiType>;
164
- /**
165
- * Account liquidity restrictions prevent withdrawal.
166
- **/
167
- LiquidityRestrictions: AugmentedError<ApiType>;
168
- /**
169
- * Number of freezes exceed `MaxFreezes`.
170
- **/
171
- TooManyFreezes: AugmentedError<ApiType>;
172
- /**
173
- * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
174
- **/
175
- TooManyHolds: AugmentedError<ApiType>;
176
- /**
177
- * Number of named reserves exceed `MaxReserves`.
178
- **/
179
- TooManyReserves: AugmentedError<ApiType>;
180
- /**
181
- * Vesting balance too high to send value.
182
- **/
183
- VestingBalance: AugmentedError<ApiType>;
184
- /**
185
- * Generic error
186
- **/
187
- [key: string]: AugmentedError<ApiType>;
188
- };
189
- bounties: {
190
- /**
191
- * The bounty cannot be closed because it has active child bounties.
192
- **/
193
- HasActiveChildBounty: AugmentedError<ApiType>;
194
- /**
195
- * Proposer's balance is too low.
196
- **/
197
- InsufficientProposersBalance: AugmentedError<ApiType>;
198
- /**
199
- * Invalid bounty fee.
200
- **/
201
- InvalidFee: AugmentedError<ApiType>;
202
- /**
203
- * No proposal or bounty at that index.
204
- **/
205
- InvalidIndex: AugmentedError<ApiType>;
206
- /**
207
- * Invalid bounty value.
208
- **/
209
- InvalidValue: AugmentedError<ApiType>;
210
- /**
211
- * A bounty payout is pending.
212
- * To cancel the bounty, you must unassign and slash the curator.
213
- **/
214
- PendingPayout: AugmentedError<ApiType>;
215
- /**
216
- * The bounties cannot be claimed/closed because it's still in the countdown period.
217
- **/
218
- Premature: AugmentedError<ApiType>;
219
- /**
220
- * The reason given is just too big.
221
- **/
222
- ReasonTooBig: AugmentedError<ApiType>;
223
- /**
224
- * Require bounty curator.
225
- **/
226
- RequireCurator: AugmentedError<ApiType>;
227
- /**
228
- * Too many approvals are already queued.
229
- **/
230
- TooManyQueued: AugmentedError<ApiType>;
231
- /**
232
- * The bounty status is unexpected.
233
- **/
234
- UnexpectedStatus: AugmentedError<ApiType>;
235
- /**
236
- * Generic error
237
- **/
238
- [key: string]: AugmentedError<ApiType>;
239
- };
240
- childBounties: {
241
- /**
242
- * The bounty balance is not enough to add new child-bounty.
243
- **/
244
- InsufficientBountyBalance: AugmentedError<ApiType>;
245
- /**
246
- * The parent bounty is not in active state.
247
- **/
248
- ParentBountyNotActive: AugmentedError<ApiType>;
249
- /**
250
- * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
251
- **/
252
- TooManyChildBounties: AugmentedError<ApiType>;
253
- /**
254
- * Generic error
255
- **/
256
- [key: string]: AugmentedError<ApiType>;
257
- };
258
- claims: {
259
- /**
260
- * Invalid Ethereum signature.
261
- **/
262
- InvalidEthereumSignature: AugmentedError<ApiType>;
263
- /**
264
- * Invalid Native account decoding
265
- **/
266
- InvalidNativeAccount: AugmentedError<ApiType>;
267
- /**
268
- * Invalid Native (sr25519) signature
269
- **/
270
- InvalidNativeSignature: AugmentedError<ApiType>;
271
- /**
272
- * A needed statement was not included.
273
- **/
274
- InvalidStatement: AugmentedError<ApiType>;
275
- /**
276
- * There's not enough in the pot to pay out some unvested amount. Generally implies a
277
- * logic error.
278
- **/
279
- PotUnderflow: AugmentedError<ApiType>;
280
- /**
281
- * Account ID sending transaction has no claim.
282
- **/
283
- SenderHasNoClaim: AugmentedError<ApiType>;
284
- /**
285
- * Ethereum address has no claim.
286
- **/
287
- SignerHasNoClaim: AugmentedError<ApiType>;
288
- /**
289
- * The account already has a vested balance.
290
- **/
291
- VestedBalanceExists: AugmentedError<ApiType>;
292
- /**
293
- * Generic error
294
- **/
295
- [key: string]: AugmentedError<ApiType>;
296
- };
297
- council: {
298
- /**
299
- * Members are already initialized!
300
- **/
301
- AlreadyInitialized: AugmentedError<ApiType>;
302
- /**
303
- * Duplicate proposals not allowed
304
- **/
305
- DuplicateProposal: AugmentedError<ApiType>;
306
- /**
307
- * Duplicate vote ignored
308
- **/
309
- DuplicateVote: AugmentedError<ApiType>;
310
- /**
311
- * Account is not a member
312
- **/
313
- NotMember: AugmentedError<ApiType>;
314
- /**
315
- * Prime account is not a member
316
- **/
317
- PrimeAccountNotMember: AugmentedError<ApiType>;
318
- /**
319
- * Proposal must exist
320
- **/
321
- ProposalMissing: AugmentedError<ApiType>;
322
- /**
323
- * The close call was made too early, before the end of the voting.
324
- **/
325
- TooEarly: AugmentedError<ApiType>;
326
- /**
327
- * There can only be a maximum of `MaxProposals` active proposals.
328
- **/
329
- TooManyProposals: AugmentedError<ApiType>;
330
- /**
331
- * Mismatched index
332
- **/
333
- WrongIndex: AugmentedError<ApiType>;
334
- /**
335
- * The given length bound for the proposal was too low.
336
- **/
337
- WrongProposalLength: AugmentedError<ApiType>;
338
- /**
339
- * The given weight bound for the proposal was too low.
340
- **/
341
- WrongProposalWeight: AugmentedError<ApiType>;
342
- /**
343
- * Generic error
344
- **/
345
- [key: string]: AugmentedError<ApiType>;
346
- };
347
- democracy: {
348
- /**
349
- * Cannot cancel the same proposal twice
350
- **/
351
- AlreadyCanceled: AugmentedError<ApiType>;
352
- /**
353
- * The account is already delegating.
354
- **/
355
- AlreadyDelegating: AugmentedError<ApiType>;
356
- /**
357
- * Identity may not veto a proposal twice
358
- **/
359
- AlreadyVetoed: AugmentedError<ApiType>;
360
- /**
361
- * Proposal already made
362
- **/
363
- DuplicateProposal: AugmentedError<ApiType>;
364
- /**
365
- * The instant referendum origin is currently disallowed.
366
- **/
367
- InstantNotAllowed: AugmentedError<ApiType>;
368
- /**
369
- * Too high a balance was provided that the account cannot afford.
370
- **/
371
- InsufficientFunds: AugmentedError<ApiType>;
372
- /**
373
- * Invalid hash
374
- **/
375
- InvalidHash: AugmentedError<ApiType>;
376
- /**
377
- * Maximum number of votes reached.
378
- **/
379
- MaxVotesReached: AugmentedError<ApiType>;
380
- /**
381
- * No proposals waiting
382
- **/
383
- NoneWaiting: AugmentedError<ApiType>;
384
- /**
385
- * Delegation to oneself makes no sense.
386
- **/
387
- Nonsense: AugmentedError<ApiType>;
388
- /**
389
- * The actor has no permission to conduct the action.
390
- **/
391
- NoPermission: AugmentedError<ApiType>;
392
- /**
393
- * No external proposal
394
- **/
395
- NoProposal: AugmentedError<ApiType>;
396
- /**
397
- * The account is not currently delegating.
398
- **/
399
- NotDelegating: AugmentedError<ApiType>;
400
- /**
401
- * Next external proposal not simple majority
402
- **/
403
- NotSimpleMajority: AugmentedError<ApiType>;
404
- /**
405
- * The given account did not vote on the referendum.
406
- **/
407
- NotVoter: AugmentedError<ApiType>;
408
- /**
409
- * The preimage does not exist.
410
- **/
411
- PreimageNotExist: AugmentedError<ApiType>;
412
- /**
413
- * Proposal still blacklisted
414
- **/
415
- ProposalBlacklisted: AugmentedError<ApiType>;
416
- /**
417
- * Proposal does not exist
418
- **/
419
- ProposalMissing: AugmentedError<ApiType>;
420
- /**
421
- * Vote given for invalid referendum
422
- **/
423
- ReferendumInvalid: AugmentedError<ApiType>;
424
- /**
425
- * Maximum number of items reached.
426
- **/
427
- TooMany: AugmentedError<ApiType>;
428
- /**
429
- * Value too low
430
- **/
431
- ValueLow: AugmentedError<ApiType>;
432
- /**
433
- * The account currently has votes attached to it and the operation cannot succeed until
434
- * these are removed, either through `unvote` or `reap_vote`.
435
- **/
436
- VotesExist: AugmentedError<ApiType>;
437
- /**
438
- * Voting period too low
439
- **/
440
- VotingPeriodLow: AugmentedError<ApiType>;
441
- /**
442
- * Invalid upper bound.
443
- **/
444
- WrongUpperBound: AugmentedError<ApiType>;
445
- /**
446
- * Generic error
447
- **/
448
- [key: string]: AugmentedError<ApiType>;
449
- };
450
- dkg: {
451
- /**
452
- * Cannot retreive signers from the signature
453
- **/
454
- CannotRetreiveSigner: AugmentedError<ApiType>;
455
- /**
456
- * Duplicate identifier
457
- **/
458
- DuplicateIdentifier: AugmentedError<ApiType>;
459
- /**
460
- * Duplicate signature found in submission
461
- **/
462
- DuplicateSignature: AugmentedError<ApiType>;
463
- /**
464
- * Field element error
465
- **/
466
- FieldElementError: AugmentedError<ApiType>;
467
- /**
468
- * FROST Field scalar error
469
- **/
470
- FrostFieldError: AugmentedError<ApiType>;
471
- /**
472
- * FROST Group element error
473
- **/
474
- FrostGroupError: AugmentedError<ApiType>;
475
- /**
476
- * Identifier derivation not supported
477
- **/
478
- IdentifierDerivationNotSupported: AugmentedError<ApiType>;
479
- /**
480
- * Invalid FROST commitment
481
- **/
482
- IdentityCommitment: AugmentedError<ApiType>;
483
- /**
484
- * Incorrect number of identifiers
485
- **/
486
- IncorrectNumberOfIdentifiers: AugmentedError<ApiType>;
487
- /**
488
- * Invalid BLS public key
489
- **/
490
- InvalidBlsPublicKey: AugmentedError<ApiType>;
491
- /**
492
- * Invalid FROST message deserialization
493
- **/
494
- InvalidFrostMessageDeserialization: AugmentedError<ApiType>;
495
- /**
496
- * Invalid FROST message serialization
497
- **/
498
- InvalidFrostMessageSerialization: AugmentedError<ApiType>;
499
- /**
500
- * Invalid FROST signature
501
- **/
502
- InvalidFrostSignature: AugmentedError<ApiType>;
503
- /**
504
- * Invalid FROST signature scheme
505
- **/
506
- InvalidFrostSignatureScheme: AugmentedError<ApiType>;
507
- /**
508
- * Invalid FROST signature share
509
- **/
510
- InvalidFrostSignatureShare: AugmentedError<ApiType>;
511
- /**
512
- * Invalid identifier deserialization
513
- **/
514
- InvalidIdentifierDeserialization: AugmentedError<ApiType>;
515
- /**
516
- * Unexpected job type
517
- **/
518
- InvalidJobType: AugmentedError<ApiType>;
519
- /**
520
- * Invalid Justification type.
521
- **/
522
- InvalidJustification: AugmentedError<ApiType>;
523
- /**
524
- * Invalid message
525
- **/
526
- InvalidMessage: AugmentedError<ApiType>;
527
- /**
528
- * Invalid participant public key
529
- **/
530
- InvalidParticipantPublicKey: AugmentedError<ApiType>;
531
- /**
532
- * Invalid public key error
533
- **/
534
- InvalidPublicKey: AugmentedError<ApiType>;
535
- /**
536
- * Invalid Misbehavior Role type.
537
- **/
538
- InvalidRoleType: AugmentedError<ApiType>;
539
- /**
540
- * Invalid signature submitted
541
- **/
542
- InvalidSignature: AugmentedError<ApiType>;
543
- /**
544
- * The signers have signed different data
545
- **/
546
- InvalidSignatureData: AugmentedError<ApiType>;
547
- /**
548
- * Invalid signature deserialization
549
- **/
550
- InvalidSignatureDeserialization: AugmentedError<ApiType>;
551
- /**
552
- * Invalid signature scheme
553
- **/
554
- InvalidSignatureScheme: AugmentedError<ApiType>;
555
- /**
556
- * Invalid verifying key submitted
557
- **/
558
- InvalidVerifyingKey: AugmentedError<ApiType>;
559
- /**
560
- * Invalid verifying key deserialization
561
- **/
562
- InvalidVerifyingKeyDeserialization: AugmentedError<ApiType>;
563
- /**
564
- * Malformed signature
565
- **/
566
- MalformedFrostSignature: AugmentedError<ApiType>;
567
- /**
568
- * Malformed FROST signing key
569
- **/
570
- MalformedFrostSigningKey: AugmentedError<ApiType>;
571
- /**
572
- * Malformed FROST verifying key
573
- **/
574
- MalformedFrostVerifyingKey: AugmentedError<ApiType>;
575
- /**
576
- * Could not deserialize the round message.
577
- **/
578
- MalformedRoundMessage: AugmentedError<ApiType>;
579
- /**
580
- * Malformed Stark signature
581
- **/
582
- MalformedStarkSignature: AugmentedError<ApiType>;
583
- /**
584
- * Missing FROST commitment
585
- **/
586
- MissingFrostCommitment: AugmentedError<ApiType>;
587
- /**
588
- * No participants found
589
- **/
590
- NoParticipantsFound: AugmentedError<ApiType>;
591
- /**
592
- * No signatures found
593
- **/
594
- NoSignaturesFound: AugmentedError<ApiType>;
595
- /**
596
- * Not enough signers for threshold
597
- **/
598
- NotEnoughSigners: AugmentedError<ApiType>;
599
- /**
600
- * Signed Round Message not signed by the offender.
601
- **/
602
- NotSignedByOffender: AugmentedError<ApiType>;
603
- /**
604
- * Signed with a different key
605
- **/
606
- SigningKeyMismatch: AugmentedError<ApiType>;
607
- /**
608
- * Unknown identifier
609
- **/
610
- UnknownIdentifier: AugmentedError<ApiType>;
611
- /**
612
- * The submitted decommitment data size is valid.
613
- *
614
- * This error is returned when the decommitment data size is valid
615
- * but the caller claims it is invalid!
616
- **/
617
- ValidDataSize: AugmentedError<ApiType>;
618
- /**
619
- * The submitted decommitment is valid.
620
- *
621
- * This error is returned when the decommitment is valid
622
- * but the caller claims it is invalid!
623
- **/
624
- ValidDecommitment: AugmentedError<ApiType>;
625
- /**
626
- * The submitted messages passed Feldman verification.
627
- *
628
- * This error is returned when the messages passed Feldman verification
629
- * but the caller claims it is invalid!
630
- **/
631
- ValidFeldmanVerification: AugmentedError<ApiType>;
632
- /**
633
- * Valid FROST signature error for a misbehavior report
634
- **/
635
- ValidFrostSignature: AugmentedError<ApiType>;
636
- /**
637
- * ------------------------------------------------------------ ///
638
- * FROST ERRORS ///
639
- * ------------------------------------------------------------ ///
640
- * Valid FROST signature share
641
- **/
642
- ValidFrostSignatureShare: AugmentedError<ApiType>;
643
- /**
644
- * The submitted Mod Proof is valid.
645
- *
646
- * This error is returned when the Mod Proof is valid
647
- * but the caller claims it is invalid.
648
- **/
649
- ValidModProof: AugmentedError<ApiType>;
650
- /**
651
- * The submitted ring pedersen parameters are valid.
652
- *
653
- * This error is returned when the ring pedersen parameters are valid
654
- * but the caller claims it is invalid.
655
- **/
656
- ValidRingPedersenParameters: AugmentedError<ApiType>;
657
- /**
658
- * The submitted Schnorr Proof is valid.
659
- *
660
- * This error is returned when the decommitment and its
661
- * Schnorr are valid. but the caller
662
- * claims it is invalid.
663
- **/
664
- ValidSchnorrProof: AugmentedError<ApiType>;
665
- /**
666
- * Generic error
667
- **/
668
- [key: string]: AugmentedError<ApiType>;
669
- };
670
- electionProviderMultiPhase: {
671
- /**
672
- * Some bound not met
673
- **/
674
- BoundNotMet: AugmentedError<ApiType>;
675
- /**
676
- * The call is not allowed at this point.
677
- **/
678
- CallNotAllowed: AugmentedError<ApiType>;
679
- /**
680
- * The fallback failed
681
- **/
682
- FallbackFailed: AugmentedError<ApiType>;
683
- /**
684
- * `Self::insert_submission` returned an invalid index.
685
- **/
686
- InvalidSubmissionIndex: AugmentedError<ApiType>;
687
- /**
688
- * Snapshot metadata should exist but didn't.
689
- **/
690
- MissingSnapshotMetadata: AugmentedError<ApiType>;
691
- /**
692
- * OCW submitted solution for wrong round
693
- **/
694
- OcwCallWrongEra: AugmentedError<ApiType>;
695
- /**
696
- * Sumission was prepared for a different round.
697
- **/
698
- PreDispatchDifferentRound: AugmentedError<ApiType>;
699
- /**
700
- * Submission was too early.
701
- **/
702
- PreDispatchEarlySubmission: AugmentedError<ApiType>;
703
- /**
704
- * Submission was too weak, score-wise.
705
- **/
706
- PreDispatchWeakSubmission: AugmentedError<ApiType>;
707
- /**
708
- * Wrong number of winners presented.
709
- **/
710
- PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
711
- /**
712
- * The origin failed to pay the deposit.
713
- **/
714
- SignedCannotPayDeposit: AugmentedError<ApiType>;
715
- /**
716
- * Witness data to dispatchable is invalid.
717
- **/
718
- SignedInvalidWitness: AugmentedError<ApiType>;
719
- /**
720
- * The queue was full, and the solution was not better than any of the existing ones.
721
- **/
722
- SignedQueueFull: AugmentedError<ApiType>;
723
- /**
724
- * The signed submission consumes too much weight
725
- **/
726
- SignedTooMuchWeight: AugmentedError<ApiType>;
727
- /**
728
- * Submitted solution has too many winners
729
- **/
730
- TooManyWinners: AugmentedError<ApiType>;
731
- /**
732
- * Generic error
733
- **/
734
- [key: string]: AugmentedError<ApiType>;
735
- };
736
- elections: {
737
- /**
738
- * Duplicated candidate submission.
739
- **/
740
- DuplicatedCandidate: AugmentedError<ApiType>;
741
- /**
742
- * Candidate does not have enough funds.
743
- **/
744
- InsufficientCandidateFunds: AugmentedError<ApiType>;
745
- /**
746
- * The renouncing origin presented a wrong `Renouncing` parameter.
747
- **/
748
- InvalidRenouncing: AugmentedError<ApiType>;
749
- /**
750
- * Prediction regarding replacement after member removal is wrong.
751
- **/
752
- InvalidReplacement: AugmentedError<ApiType>;
753
- /**
754
- * The provided count of number of votes is incorrect.
755
- **/
756
- InvalidVoteCount: AugmentedError<ApiType>;
757
- /**
758
- * The provided count of number of candidates is incorrect.
759
- **/
760
- InvalidWitnessData: AugmentedError<ApiType>;
761
- /**
762
- * Cannot vote with stake less than minimum balance.
763
- **/
764
- LowBalance: AugmentedError<ApiType>;
765
- /**
766
- * Cannot vote more than maximum allowed.
767
- **/
768
- MaximumVotesExceeded: AugmentedError<ApiType>;
769
- /**
770
- * Member cannot re-submit candidacy.
771
- **/
772
- MemberSubmit: AugmentedError<ApiType>;
773
- /**
774
- * Must be a voter.
775
- **/
776
- MustBeVoter: AugmentedError<ApiType>;
777
- /**
778
- * Not a member.
779
- **/
780
- NotMember: AugmentedError<ApiType>;
781
- /**
782
- * Must vote for at least one candidate.
783
- **/
784
- NoVotes: AugmentedError<ApiType>;
785
- /**
786
- * Runner cannot re-submit candidacy.
787
- **/
788
- RunnerUpSubmit: AugmentedError<ApiType>;
789
- /**
790
- * Too many candidates have been created.
791
- **/
792
- TooManyCandidates: AugmentedError<ApiType>;
793
- /**
794
- * Cannot vote more than candidates.
795
- **/
796
- TooManyVotes: AugmentedError<ApiType>;
797
- /**
798
- * Voter can not pay voting bond.
799
- **/
800
- UnableToPayBond: AugmentedError<ApiType>;
801
- /**
802
- * Cannot vote when no candidates or members exist.
803
- **/
804
- UnableToVote: AugmentedError<ApiType>;
805
- /**
806
- * Generic error
807
- **/
808
- [key: string]: AugmentedError<ApiType>;
809
- };
810
- ethereum: {
811
- /**
812
- * Signature is invalid.
813
- **/
814
- InvalidSignature: AugmentedError<ApiType>;
815
- /**
816
- * Pre-log is present, therefore transact is not allowed.
817
- **/
818
- PreLogExists: AugmentedError<ApiType>;
819
- /**
820
- * Generic error
821
- **/
822
- [key: string]: AugmentedError<ApiType>;
823
- };
824
- evm: {
825
- /**
826
- * Not enough balance to perform action
827
- **/
828
- BalanceLow: AugmentedError<ApiType>;
829
- /**
830
- * Calculating total fee overflowed
831
- **/
832
- FeeOverflow: AugmentedError<ApiType>;
833
- /**
834
- * Gas limit is too high.
835
- **/
836
- GasLimitTooHigh: AugmentedError<ApiType>;
837
- /**
838
- * Gas limit is too low.
839
- **/
840
- GasLimitTooLow: AugmentedError<ApiType>;
841
- /**
842
- * Gas price is too low.
843
- **/
844
- GasPriceTooLow: AugmentedError<ApiType>;
845
- /**
846
- * The chain id is invalid.
847
- **/
848
- InvalidChainId: AugmentedError<ApiType>;
849
- /**
850
- * Nonce is invalid
851
- **/
852
- InvalidNonce: AugmentedError<ApiType>;
853
- /**
854
- * the signature is invalid.
855
- **/
856
- InvalidSignature: AugmentedError<ApiType>;
857
- /**
858
- * Calculating total payment overflowed
859
- **/
860
- PaymentOverflow: AugmentedError<ApiType>;
861
- /**
862
- * EVM reentrancy
863
- **/
864
- Reentrancy: AugmentedError<ApiType>;
865
- /**
866
- * EIP-3607,
867
- **/
868
- TransactionMustComeFromEOA: AugmentedError<ApiType>;
869
- /**
870
- * Undefined error.
871
- **/
872
- Undefined: AugmentedError<ApiType>;
873
- /**
874
- * Withdraw fee failed
875
- **/
876
- WithdrawFailed: AugmentedError<ApiType>;
877
- /**
878
- * Generic error
879
- **/
880
- [key: string]: AugmentedError<ApiType>;
881
- };
882
- grandpa: {
883
- /**
884
- * Attempt to signal GRANDPA change with one already pending.
885
- **/
886
- ChangePending: AugmentedError<ApiType>;
887
- /**
888
- * A given equivocation report is valid but already previously reported.
889
- **/
890
- DuplicateOffenceReport: AugmentedError<ApiType>;
891
- /**
892
- * An equivocation proof provided as part of an equivocation report is invalid.
893
- **/
894
- InvalidEquivocationProof: AugmentedError<ApiType>;
895
- /**
896
- * A key ownership proof provided as part of an equivocation report is invalid.
897
- **/
898
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
899
- /**
900
- * Attempt to signal GRANDPA pause when the authority set isn't live
901
- * (either paused or already pending pause).
902
- **/
903
- PauseFailed: AugmentedError<ApiType>;
904
- /**
905
- * Attempt to signal GRANDPA resume when the authority set isn't paused
906
- * (either live or already pending resume).
907
- **/
908
- ResumeFailed: AugmentedError<ApiType>;
909
- /**
910
- * Cannot signal forced change so soon after last.
911
- **/
912
- TooSoon: AugmentedError<ApiType>;
913
- /**
914
- * Generic error
915
- **/
916
- [key: string]: AugmentedError<ApiType>;
917
- };
918
- hotfixSufficients: {
919
- /**
920
- * Maximum address count exceeded
921
- **/
922
- MaxAddressCountExceeded: AugmentedError<ApiType>;
923
- /**
924
- * Generic error
925
- **/
926
- [key: string]: AugmentedError<ApiType>;
927
- };
928
- identity: {
929
- /**
930
- * Account ID is already named.
931
- **/
932
- AlreadyClaimed: AugmentedError<ApiType>;
933
- /**
934
- * Empty index.
935
- **/
936
- EmptyIndex: AugmentedError<ApiType>;
937
- /**
938
- * Fee is changed.
939
- **/
940
- FeeChanged: AugmentedError<ApiType>;
941
- /**
942
- * The index is invalid.
943
- **/
944
- InvalidIndex: AugmentedError<ApiType>;
945
- /**
946
- * Invalid judgement.
947
- **/
948
- InvalidJudgement: AugmentedError<ApiType>;
949
- /**
950
- * The signature on a username was not valid.
951
- **/
952
- InvalidSignature: AugmentedError<ApiType>;
953
- /**
954
- * The provided suffix is too long.
955
- **/
956
- InvalidSuffix: AugmentedError<ApiType>;
957
- /**
958
- * The target is invalid.
959
- **/
960
- InvalidTarget: AugmentedError<ApiType>;
961
- /**
962
- * The username does not meet the requirements.
963
- **/
964
- InvalidUsername: AugmentedError<ApiType>;
965
- /**
966
- * The provided judgement was for a different identity.
967
- **/
968
- JudgementForDifferentIdentity: AugmentedError<ApiType>;
969
- /**
970
- * Judgement given.
971
- **/
972
- JudgementGiven: AugmentedError<ApiType>;
973
- /**
974
- * Error that occurs when there is an issue paying for judgement.
975
- **/
976
- JudgementPaymentFailed: AugmentedError<ApiType>;
977
- /**
978
- * The authority cannot allocate any more usernames.
979
- **/
980
- NoAllocation: AugmentedError<ApiType>;
981
- /**
982
- * No identity found.
983
- **/
984
- NoIdentity: AugmentedError<ApiType>;
985
- /**
986
- * The username cannot be forcefully removed because it can still be accepted.
987
- **/
988
- NotExpired: AugmentedError<ApiType>;
989
- /**
990
- * Account isn't found.
991
- **/
992
- NotFound: AugmentedError<ApiType>;
993
- /**
994
- * Account isn't named.
995
- **/
996
- NotNamed: AugmentedError<ApiType>;
997
- /**
998
- * Sub-account isn't owned by sender.
999
- **/
1000
- NotOwned: AugmentedError<ApiType>;
1001
- /**
1002
- * Sender is not a sub-account.
1003
- **/
1004
- NotSub: AugmentedError<ApiType>;
1005
- /**
1006
- * The sender does not have permission to issue a username.
1007
- **/
1008
- NotUsernameAuthority: AugmentedError<ApiType>;
1009
- /**
1010
- * The requested username does not exist.
1011
- **/
1012
- NoUsername: AugmentedError<ApiType>;
1013
- /**
1014
- * Setting this username requires a signature, but none was provided.
1015
- **/
1016
- RequiresSignature: AugmentedError<ApiType>;
1017
- /**
1018
- * Sticky judgement.
1019
- **/
1020
- StickyJudgement: AugmentedError<ApiType>;
1021
- /**
1022
- * Maximum amount of registrars reached. Cannot add any more.
1023
- **/
1024
- TooManyRegistrars: AugmentedError<ApiType>;
1025
- /**
1026
- * Too many subs-accounts.
1027
- **/
1028
- TooManySubAccounts: AugmentedError<ApiType>;
1029
- /**
1030
- * The username is already taken.
1031
- **/
1032
- UsernameTaken: AugmentedError<ApiType>;
1033
- /**
1034
- * Generic error
1035
- **/
1036
- [key: string]: AugmentedError<ApiType>;
1037
- };
1038
- imOnline: {
1039
- /**
1040
- * Duplicated heartbeat.
1041
- **/
1042
- DuplicatedHeartbeat: AugmentedError<ApiType>;
1043
- /**
1044
- * Non existent public key.
1045
- **/
1046
- InvalidKey: AugmentedError<ApiType>;
1047
- /**
1048
- * Generic error
1049
- **/
1050
- [key: string]: AugmentedError<ApiType>;
1051
- };
1052
- indices: {
1053
- /**
1054
- * The index was not available.
1055
- **/
1056
- InUse: AugmentedError<ApiType>;
1057
- /**
1058
- * The index was not already assigned.
1059
- **/
1060
- NotAssigned: AugmentedError<ApiType>;
1061
- /**
1062
- * The index is assigned to another account.
1063
- **/
1064
- NotOwner: AugmentedError<ApiType>;
1065
- /**
1066
- * The source and destination accounts are identical.
1067
- **/
1068
- NotTransfer: AugmentedError<ApiType>;
1069
- /**
1070
- * The index is permanent and may not be freed/changed.
1071
- **/
1072
- Permanent: AugmentedError<ApiType>;
1073
- /**
1074
- * Generic error
1075
- **/
1076
- [key: string]: AugmentedError<ApiType>;
1077
- };
1078
- jobs: {
1079
- /**
1080
- * empty job
1081
- **/
1082
- EmptyJob: AugmentedError<ApiType>;
1083
- /**
1084
- * empty result
1085
- **/
1086
- EmptyResult: AugmentedError<ApiType>;
1087
- /**
1088
- * Invalid Key size
1089
- **/
1090
- ExceedsMaxKeySize: AugmentedError<ApiType>;
1091
- /**
1092
- * invalid params, cannot execute jobs
1093
- **/
1094
- InvalidJobParams: AugmentedError<ApiType>;
1095
- /**
1096
- * invalid phase provided
1097
- **/
1098
- InvalidJobPhase: AugmentedError<ApiType>;
1099
- /**
1100
- * Given validator not valid for job type
1101
- **/
1102
- InvalidValidator: AugmentedError<ApiType>;
1103
- /**
1104
- * Invalid job expiry input
1105
- **/
1106
- JobAlreadyExpired: AugmentedError<ApiType>;
1107
- /**
1108
- * The requested job was not found
1109
- **/
1110
- JobNotFound: AugmentedError<ApiType>;
1111
- /**
1112
- * No permission to change permitted caller
1113
- **/
1114
- NoPermission: AugmentedError<ApiType>;
1115
- /**
1116
- * no rewards found for validator
1117
- **/
1118
- NoRewards: AugmentedError<ApiType>;
1119
- /**
1120
- * Not enough validators to exit
1121
- **/
1122
- NotEnoughValidators: AugmentedError<ApiType>;
1123
- /**
1124
- * P1 result not found
1125
- **/
1126
- PhaseOneResultNotFound: AugmentedError<ApiType>;
1127
- /**
1128
- * cannot find phase 1 result
1129
- **/
1130
- PreviousResultNotFound: AugmentedError<ApiType>;
1131
- /**
1132
- * The previous result expired
1133
- **/
1134
- ResultExpired: AugmentedError<ApiType>;
1135
- /**
1136
- * Unexpected result provided
1137
- **/
1138
- ResultNotExpectedType: AugmentedError<ApiType>;
1139
- /**
1140
- * Validator exceeds limit of max active jobs
1141
- **/
1142
- TooManyJobsForValidator: AugmentedError<ApiType>;
1143
- /**
1144
- * Exceeds max participant limits
1145
- **/
1146
- TooManyParticipants: AugmentedError<ApiType>;
1147
- /**
1148
- * Validator role key not found.
1149
- **/
1150
- ValidatorRoleKeyNotFound: AugmentedError<ApiType>;
1151
- /**
1152
- * Generic error
1153
- **/
1154
- [key: string]: AugmentedError<ApiType>;
1155
- };
1156
- multiAssetDelegation: {
1157
- /**
1158
- * There are active services using the asset.
1159
- **/
1160
- ActiveServicesUsingAsset: AugmentedError<ApiType>;
1161
- /**
1162
- * The account is already a delegator.
1163
- **/
1164
- AlreadyDelegator: AugmentedError<ApiType>;
1165
- /**
1166
- * The operator is already leaving.
1167
- **/
1168
- AlreadyLeaving: AugmentedError<ApiType>;
1169
- /**
1170
- * The account is already an operator.
1171
- **/
1172
- AlreadyOperator: AugmentedError<ApiType>;
1173
- /**
1174
- * The asset ID is not found
1175
- **/
1176
- AssetNotFound: AugmentedError<ApiType>;
1177
- /**
1178
- * The asset is not whitelisted
1179
- **/
1180
- AssetNotWhitelisted: AugmentedError<ApiType>;
1181
- /**
1182
- * The blueprint ID is already whitelisted
1183
- **/
1184
- BlueprintAlreadyWhitelisted: AugmentedError<ApiType>;
1185
- /**
1186
- * The bond less request is not ready.
1187
- **/
1188
- BondLessNotReady: AugmentedError<ApiType>;
1189
- /**
1190
- * A bond less request already exists.
1191
- **/
1192
- BondLessRequestAlreadyExists: AugmentedError<ApiType>;
1193
- /**
1194
- * The bond less request is not satisfied.
1195
- **/
1196
- BondLessRequestNotSatisfied: AugmentedError<ApiType>;
1197
- /**
1198
- * The bond amount is too low.
1199
- **/
1200
- BondTooLow: AugmentedError<ApiType>;
1201
- /**
1202
- * The account cannot exit.
1203
- **/
1204
- CannotExit: AugmentedError<ApiType>;
1205
- /**
1206
- * The account has insufficient balance.
1207
- **/
1208
- InsufficientBalance: AugmentedError<ApiType>;
1209
- /**
1210
- * There is not active delegation
1211
- **/
1212
- NoActiveDelegation: AugmentedError<ApiType>;
1213
- /**
1214
- * There is no bond less request.
1215
- **/
1216
- NoBondLessRequest: AugmentedError<ApiType>;
1217
- /**
1218
- * There is no scheduled bond less request.
1219
- **/
1220
- NoScheduledBondLess: AugmentedError<ApiType>;
1221
- /**
1222
- * The operator is not active.
1223
- **/
1224
- NotActiveOperator: AugmentedError<ApiType>;
1225
- /**
1226
- * The account is not an operator.
1227
- **/
1228
- NotAnOperator: AugmentedError<ApiType>;
1229
- /**
1230
- * The origin is not authorized to perform this action
1231
- **/
1232
- NotAuthorized: AugmentedError<ApiType>;
1233
- /**
1234
- * The account is not a delegator.
1235
- **/
1236
- NotDelegator: AugmentedError<ApiType>;
1237
- /**
1238
- * The account is not leaving as an operator.
1239
- **/
1240
- NotLeavingOperator: AugmentedError<ApiType>;
1241
- /**
1242
- * The round does not match the scheduled leave round.
1243
- **/
1244
- NotLeavingRound: AugmentedError<ApiType>;
1245
- /**
1246
- * The operator is not offline.
1247
- **/
1248
- NotOfflineOperator: AugmentedError<ApiType>;
1249
- /**
1250
- * There is no withdraw request.
1251
- **/
1252
- NoWithdrawRequest: AugmentedError<ApiType>;
1253
- /**
1254
- * The unstake is not ready.
1255
- **/
1256
- UnstakeNotReady: AugmentedError<ApiType>;
1257
- /**
1258
- * A withdraw request already exists.
1259
- **/
1260
- WithdrawRequestAlreadyExists: AugmentedError<ApiType>;
1261
- /**
1262
- * Generic error
1263
- **/
1264
- [key: string]: AugmentedError<ApiType>;
1265
- };
1266
- multisig: {
1267
- /**
1268
- * Call is already approved by this signatory.
1269
- **/
1270
- AlreadyApproved: AugmentedError<ApiType>;
1271
- /**
1272
- * The data to be stored is already stored.
1273
- **/
1274
- AlreadyStored: AugmentedError<ApiType>;
1275
- /**
1276
- * The maximum weight information provided was too low.
1277
- **/
1278
- MaxWeightTooLow: AugmentedError<ApiType>;
1279
- /**
1280
- * Threshold must be 2 or greater.
1281
- **/
1282
- MinimumThreshold: AugmentedError<ApiType>;
1283
- /**
1284
- * Call doesn't need any (more) approvals.
1285
- **/
1286
- NoApprovalsNeeded: AugmentedError<ApiType>;
1287
- /**
1288
- * Multisig operation not found when attempting to cancel.
1289
- **/
1290
- NotFound: AugmentedError<ApiType>;
1291
- /**
1292
- * No timepoint was given, yet the multisig operation is already underway.
1293
- **/
1294
- NoTimepoint: AugmentedError<ApiType>;
1295
- /**
1296
- * Only the account that originally created the multisig is able to cancel it.
1297
- **/
1298
- NotOwner: AugmentedError<ApiType>;
1299
- /**
1300
- * The sender was contained in the other signatories; it shouldn't be.
1301
- **/
1302
- SenderInSignatories: AugmentedError<ApiType>;
1303
- /**
1304
- * The signatories were provided out of order; they should be ordered.
1305
- **/
1306
- SignatoriesOutOfOrder: AugmentedError<ApiType>;
1307
- /**
1308
- * There are too few signatories in the list.
1309
- **/
1310
- TooFewSignatories: AugmentedError<ApiType>;
1311
- /**
1312
- * There are too many signatories in the list.
1313
- **/
1314
- TooManySignatories: AugmentedError<ApiType>;
1315
- /**
1316
- * A timepoint was given, yet no multisig operation is underway.
1317
- **/
1318
- UnexpectedTimepoint: AugmentedError<ApiType>;
1319
- /**
1320
- * A different timepoint was given to the multisig operation that is underway.
1321
- **/
1322
- WrongTimepoint: AugmentedError<ApiType>;
1323
- /**
1324
- * Generic error
1325
- **/
1326
- [key: string]: AugmentedError<ApiType>;
1327
- };
1328
- nominationPools: {
1329
- /**
1330
- * An account is already delegating in another pool. An account may only belong to one
1331
- * pool at a time.
1332
- **/
1333
- AccountBelongsToOtherPool: AugmentedError<ApiType>;
1334
- /**
1335
- * Bonding extra is restricted to the exact pending reward amount.
1336
- **/
1337
- BondExtraRestricted: AugmentedError<ApiType>;
1338
- /**
1339
- * The pools state cannot be changed.
1340
- **/
1341
- CanNotChangeState: AugmentedError<ApiType>;
1342
- /**
1343
- * None of the funds can be withdrawn yet because the bonding duration has not passed.
1344
- **/
1345
- CannotWithdrawAny: AugmentedError<ApiType>;
1346
- /**
1347
- * The submitted changes to commission change rate are not allowed.
1348
- **/
1349
- CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
1350
- /**
1351
- * Not enough blocks have surpassed since the last commission update.
1352
- **/
1353
- CommissionChangeThrottled: AugmentedError<ApiType>;
1354
- /**
1355
- * The supplied commission exceeds global maximum commission.
1356
- **/
1357
- CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
1358
- /**
1359
- * The supplied commission exceeds the max allowed commission.
1360
- **/
1361
- CommissionExceedsMaximum: AugmentedError<ApiType>;
1362
- /**
1363
- * Some error occurred that should never happen. This should be reported to the
1364
- * maintainers.
1365
- **/
1366
- Defensive: AugmentedError<ApiType>;
1367
- /**
1368
- * The caller does not have adequate permissions.
1369
- **/
1370
- DoesNotHavePermission: AugmentedError<ApiType>;
1371
- /**
1372
- * The member is fully unbonded (and thus cannot access the bonded and reward pool
1373
- * anymore to, for example, collect rewards).
1374
- **/
1375
- FullyUnbonding: AugmentedError<ApiType>;
1376
- /**
1377
- * Pool id provided is not correct/usable.
1378
- **/
1379
- InvalidPoolId: AugmentedError<ApiType>;
1380
- /**
1381
- * The pool's max commission cannot be set higher than the existing value.
1382
- **/
1383
- MaxCommissionRestricted: AugmentedError<ApiType>;
1384
- /**
1385
- * Too many members in the pool or system.
1386
- **/
1387
- MaxPoolMembers: AugmentedError<ApiType>;
1388
- /**
1389
- * The system is maxed out on pools.
1390
- **/
1391
- MaxPools: AugmentedError<ApiType>;
1392
- /**
1393
- * The member cannot unbond further chunks due to reaching the limit.
1394
- **/
1395
- MaxUnbondingLimit: AugmentedError<ApiType>;
1396
- /**
1397
- * Metadata exceeds [`Config::MaxMetadataLen`]
1398
- **/
1399
- MetadataExceedsMaxLen: AugmentedError<ApiType>;
1400
- /**
1401
- * The amount does not meet the minimum bond to either join or create a pool.
1402
- *
1403
- * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
1404
- * caller does not have nominating permissions for the pool. Members can never unbond to a
1405
- * value below `MinJoinBond`.
1406
- **/
1407
- MinimumBondNotMet: AugmentedError<ApiType>;
1408
- /**
1409
- * No commission current has been set.
1410
- **/
1411
- NoCommissionCurrentSet: AugmentedError<ApiType>;
1412
- /**
1413
- * There is no pending commission to claim.
1414
- **/
1415
- NoPendingCommission: AugmentedError<ApiType>;
1416
- /**
1417
- * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
1418
- * other members to be permissionlessly unbonded.
1419
- **/
1420
- NotDestroying: AugmentedError<ApiType>;
1421
- /**
1422
- * No imbalance in the ED deposit for the pool.
1423
- **/
1424
- NothingToAdjust: AugmentedError<ApiType>;
1425
- /**
1426
- * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
1427
- **/
1428
- NotKickerOrDestroying: AugmentedError<ApiType>;
1429
- /**
1430
- * The caller does not have nominating permissions for the pool.
1431
- **/
1432
- NotNominator: AugmentedError<ApiType>;
1433
- /**
1434
- * The pool is not open to join
1435
- **/
1436
- NotOpen: AugmentedError<ApiType>;
1437
- /**
1438
- * The transaction could not be executed due to overflow risk for the pool.
1439
- **/
1440
- OverflowRisk: AugmentedError<ApiType>;
1441
- /**
1442
- * Partial unbonding now allowed permissionlessly.
1443
- **/
1444
- PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
1445
- /**
1446
- * Pool id currently in use.
1447
- **/
1448
- PoolIdInUse: AugmentedError<ApiType>;
1449
- /**
1450
- * An account is not a member.
1451
- **/
1452
- PoolMemberNotFound: AugmentedError<ApiType>;
1453
- /**
1454
- * A (bonded) pool id does not exist.
1455
- **/
1456
- PoolNotFound: AugmentedError<ApiType>;
1457
- /**
1458
- * A reward pool does not exist. In all cases this is a system logic error.
1459
- **/
1460
- RewardPoolNotFound: AugmentedError<ApiType>;
1461
- /**
1462
- * A sub pool does not exist.
1463
- **/
1464
- SubPoolsNotFound: AugmentedError<ApiType>;
1465
- /**
1466
- * Generic error
1467
- **/
1468
- [key: string]: AugmentedError<ApiType>;
1469
- };
1470
- preimage: {
1471
- /**
1472
- * Preimage has already been noted on-chain.
1473
- **/
1474
- AlreadyNoted: AugmentedError<ApiType>;
1475
- /**
1476
- * The user is not authorized to perform this action.
1477
- **/
1478
- NotAuthorized: AugmentedError<ApiType>;
1479
- /**
1480
- * The preimage cannot be removed since it has not yet been noted.
1481
- **/
1482
- NotNoted: AugmentedError<ApiType>;
1483
- /**
1484
- * The preimage request cannot be removed since no outstanding requests exist.
1485
- **/
1486
- NotRequested: AugmentedError<ApiType>;
1487
- /**
1488
- * A preimage may not be removed when there are outstanding requests.
1489
- **/
1490
- Requested: AugmentedError<ApiType>;
1491
- /**
1492
- * Preimage is too large to store on-chain.
1493
- **/
1494
- TooBig: AugmentedError<ApiType>;
1495
- /**
1496
- * Too few hashes were requested to be upgraded (i.e. zero).
1497
- **/
1498
- TooFew: AugmentedError<ApiType>;
1499
- /**
1500
- * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1501
- **/
1502
- TooMany: AugmentedError<ApiType>;
1503
- /**
1504
- * Generic error
1505
- **/
1506
- [key: string]: AugmentedError<ApiType>;
1507
- };
1508
- proxy: {
1509
- /**
1510
- * Account is already a proxy.
1511
- **/
1512
- Duplicate: AugmentedError<ApiType>;
1513
- /**
1514
- * Call may not be made by proxy because it may escalate its privileges.
1515
- **/
1516
- NoPermission: AugmentedError<ApiType>;
1517
- /**
1518
- * Cannot add self as proxy.
1519
- **/
1520
- NoSelfProxy: AugmentedError<ApiType>;
1521
- /**
1522
- * Proxy registration not found.
1523
- **/
1524
- NotFound: AugmentedError<ApiType>;
1525
- /**
1526
- * Sender is not a proxy of the account to be proxied.
1527
- **/
1528
- NotProxy: AugmentedError<ApiType>;
1529
- /**
1530
- * There are too many proxies registered or too many announcements pending.
1531
- **/
1532
- TooMany: AugmentedError<ApiType>;
1533
- /**
1534
- * Announcement, if made at all, was made too recently.
1535
- **/
1536
- Unannounced: AugmentedError<ApiType>;
1537
- /**
1538
- * A call which is incompatible with the proxy type's filter was attempted.
1539
- **/
1540
- Unproxyable: AugmentedError<ApiType>;
1541
- /**
1542
- * Generic error
1543
- **/
1544
- [key: string]: AugmentedError<ApiType>;
1545
- };
1546
- roles: {
1547
- /**
1548
- * Rewards already claimed
1549
- **/
1550
- AlreadyClaimed: AugmentedError<ApiType>;
1551
- /**
1552
- * Out of bounds input
1553
- **/
1554
- BoundNotMet: AugmentedError<ApiType>;
1555
- /**
1556
- * Cannot find Current era
1557
- **/
1558
- CannotGetCurrentEra: AugmentedError<ApiType>;
1559
- /**
1560
- * Invalid Restaking amount, should not exceed total staked amount.
1561
- **/
1562
- ExceedsMaxRestakeValue: AugmentedError<ApiType>;
1563
- /**
1564
- * Validator has active role assigned.
1565
- **/
1566
- HasRoleAssigned: AugmentedError<ApiType>;
1567
- /**
1568
- * Re staking amount should be greater than minimum Restaking bond requirement.
1569
- **/
1570
- InsufficientRestakingBond: AugmentedError<ApiType>;
1571
- /**
1572
- * Invalid era info
1573
- **/
1574
- InvalidEraToReward: AugmentedError<ApiType>;
1575
- /**
1576
- * Key size exceeded
1577
- **/
1578
- KeySizeExceeded: AugmentedError<ApiType>;
1579
- /**
1580
- * Max role limit reached for the account.
1581
- **/
1582
- MaxRoles: AugmentedError<ApiType>;
1583
- /**
1584
- * Unlock chunks already filled
1585
- **/
1586
- NoMoreChunks: AugmentedError<ApiType>;
1587
- /**
1588
- * Stash controller account not found in Roles Ledger.
1589
- **/
1590
- NoProfileFound: AugmentedError<ApiType>;
1591
- /**
1592
- * Not a validator.
1593
- **/
1594
- NotValidator: AugmentedError<ApiType>;
1595
- /**
1596
- * Profile already exists for given validator account.
1597
- **/
1598
- ProfileAlreadyExists: AugmentedError<ApiType>;
1599
- /**
1600
- * Profile delete request failed due to pending jobs, which can't be opted out at the
1601
- * moment.
1602
- **/
1603
- ProfileDeleteRequestFailed: AugmentedError<ApiType>;
1604
- /**
1605
- * Profile Update failed.
1606
- **/
1607
- ProfileUpdateFailed: AugmentedError<ApiType>;
1608
- /**
1609
- * Restaking amount cannot be lowered if there are any pending jobs. You can only add more
1610
- **/
1611
- RestakingAmountCannotBeUpdated: AugmentedError<ApiType>;
1612
- /**
1613
- * Role cannot due to pending jobs, which can't be opted out at the moment.
1614
- **/
1615
- RoleCannotBeRemoved: AugmentedError<ApiType>;
1616
- /**
1617
- * Given role is not assigned to the validator.
1618
- **/
1619
- RoleNotAssigned: AugmentedError<ApiType>;
1620
- /**
1621
- * SessionKeys not provided
1622
- **/
1623
- SessionKeysNotProvided: AugmentedError<ApiType>;
1624
- /**
1625
- * Generic error
1626
- **/
1627
- [key: string]: AugmentedError<ApiType>;
1628
- };
1629
- scheduler: {
1630
- /**
1631
- * Failed to schedule a call
1632
- **/
1633
- FailedToSchedule: AugmentedError<ApiType>;
1634
- /**
1635
- * Attempt to use a non-named function on a named task.
1636
- **/
1637
- Named: AugmentedError<ApiType>;
1638
- /**
1639
- * Cannot find the scheduled call.
1640
- **/
1641
- NotFound: AugmentedError<ApiType>;
1642
- /**
1643
- * Reschedule failed because it does not change scheduled time.
1644
- **/
1645
- RescheduleNoChange: AugmentedError<ApiType>;
1646
- /**
1647
- * Given target block number is in the past.
1648
- **/
1649
- TargetBlockNumberInPast: AugmentedError<ApiType>;
1650
- /**
1651
- * Generic error
1652
- **/
1653
- [key: string]: AugmentedError<ApiType>;
1654
- };
1655
- session: {
1656
- /**
1657
- * Registered duplicate key.
1658
- **/
1659
- DuplicatedKey: AugmentedError<ApiType>;
1660
- /**
1661
- * Invalid ownership proof.
1662
- **/
1663
- InvalidProof: AugmentedError<ApiType>;
1664
- /**
1665
- * Key setting account is not live, so it's impossible to associate keys.
1666
- **/
1667
- NoAccount: AugmentedError<ApiType>;
1668
- /**
1669
- * No associated validator ID for account.
1670
- **/
1671
- NoAssociatedValidatorId: AugmentedError<ApiType>;
1672
- /**
1673
- * No keys are associated with this account.
1674
- **/
1675
- NoKeys: AugmentedError<ApiType>;
1676
- /**
1677
- * Generic error
1678
- **/
1679
- [key: string]: AugmentedError<ApiType>;
1680
- };
1681
- staking: {
1682
- /**
1683
- * Stash is already bonded.
1684
- **/
1685
- AlreadyBonded: AugmentedError<ApiType>;
1686
- /**
1687
- * Rewards for this era have already been claimed for this validator.
1688
- **/
1689
- AlreadyClaimed: AugmentedError<ApiType>;
1690
- /**
1691
- * Controller is already paired.
1692
- **/
1693
- AlreadyPaired: AugmentedError<ApiType>;
1694
- /**
1695
- * Internal state has become somehow corrupted and the operation cannot continue.
1696
- **/
1697
- BadState: AugmentedError<ApiType>;
1698
- /**
1699
- * A nomination target was supplied that was blocked or otherwise not a validator.
1700
- **/
1701
- BadTarget: AugmentedError<ApiType>;
1702
- /**
1703
- * Some bound is not met.
1704
- **/
1705
- BoundNotMet: AugmentedError<ApiType>;
1706
- /**
1707
- * The user has enough bond and thus cannot be chilled forcefully by an external person.
1708
- **/
1709
- CannotChillOther: AugmentedError<ApiType>;
1710
- /**
1711
- * Commission is too low. Must be at least `MinCommission`.
1712
- **/
1713
- CommissionTooLow: AugmentedError<ApiType>;
1714
- /**
1715
- * Used when attempting to use deprecated controller account logic.
1716
- **/
1717
- ControllerDeprecated: AugmentedError<ApiType>;
1718
- /**
1719
- * Duplicate index.
1720
- **/
1721
- DuplicateIndex: AugmentedError<ApiType>;
1722
- /**
1723
- * Targets cannot be empty.
1724
- **/
1725
- EmptyTargets: AugmentedError<ApiType>;
1726
- /**
1727
- * Attempting to target a stash that still has funds.
1728
- **/
1729
- FundedTarget: AugmentedError<ApiType>;
1730
- /**
1731
- * Incorrect previous history depth input provided.
1732
- **/
1733
- IncorrectHistoryDepth: AugmentedError<ApiType>;
1734
- /**
1735
- * Incorrect number of slashing spans provided.
1736
- **/
1737
- IncorrectSlashingSpans: AugmentedError<ApiType>;
1738
- /**
1739
- * Cannot have a validator or nominator role, with value less than the minimum defined by
1740
- * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1741
- * intention, `chill` first to remove one's role as validator/nominator.
1742
- **/
1743
- InsufficientBond: AugmentedError<ApiType>;
1744
- /**
1745
- * Invalid era to reward.
1746
- **/
1747
- InvalidEraToReward: AugmentedError<ApiType>;
1748
- /**
1749
- * Invalid number of nominations.
1750
- **/
1751
- InvalidNumberOfNominations: AugmentedError<ApiType>;
1752
- /**
1753
- * No nominators exist on this page.
1754
- **/
1755
- InvalidPage: AugmentedError<ApiType>;
1756
- /**
1757
- * Slash record index out of bounds.
1758
- **/
1759
- InvalidSlashIndex: AugmentedError<ApiType>;
1760
- /**
1761
- * Can not schedule more unlock chunks.
1762
- **/
1763
- NoMoreChunks: AugmentedError<ApiType>;
1764
- /**
1765
- * Not a controller account.
1766
- **/
1767
- NotController: AugmentedError<ApiType>;
1768
- /**
1769
- * Items are not sorted and unique.
1770
- **/
1771
- NotSortedAndUnique: AugmentedError<ApiType>;
1772
- /**
1773
- * Not a stash account.
1774
- **/
1775
- NotStash: AugmentedError<ApiType>;
1776
- /**
1777
- * Can not rebond without unlocking chunks.
1778
- **/
1779
- NoUnlockChunk: AugmentedError<ApiType>;
1780
- /**
1781
- * The user has active restake
1782
- **/
1783
- RestakeActive: AugmentedError<ApiType>;
1784
- /**
1785
- * There are too many nominators in the system. Governance needs to adjust the staking
1786
- * settings to keep things safe for the runtime.
1787
- **/
1788
- TooManyNominators: AugmentedError<ApiType>;
1789
- /**
1790
- * Too many nomination targets supplied.
1791
- **/
1792
- TooManyTargets: AugmentedError<ApiType>;
1793
- /**
1794
- * There are too many validator candidates in the system. Governance needs to adjust the
1795
- * staking settings to keep things safe for the runtime.
1796
- **/
1797
- TooManyValidators: AugmentedError<ApiType>;
1798
- /**
1799
- * Generic error
1800
- **/
1801
- [key: string]: AugmentedError<ApiType>;
1802
- };
1803
- sudo: {
1804
- /**
1805
- * Sender must be the Sudo account.
1806
- **/
1807
- RequireSudo: AugmentedError<ApiType>;
1808
- /**
1809
- * Generic error
1810
- **/
1811
- [key: string]: AugmentedError<ApiType>;
1812
- };
1813
- sygmaAccessSegregator: {
1814
- /**
1815
- * Failed to grant extrinsic access permission to an account
1816
- **/
1817
- GrantAccessFailed: AugmentedError<ApiType>;
1818
- /**
1819
- * Function unimplemented
1820
- **/
1821
- Unimplemented: AugmentedError<ApiType>;
1822
- /**
1823
- * Generic error
1824
- **/
1825
- [key: string]: AugmentedError<ApiType>;
1826
- };
1827
- sygmaBasicFeeHandler: {
1828
- /**
1829
- * Account has not gained access permission
1830
- **/
1831
- AccessDenied: AugmentedError<ApiType>;
1832
- /**
1833
- * Function unimplemented
1834
- **/
1835
- Unimplemented: AugmentedError<ApiType>;
1836
- /**
1837
- * Generic error
1838
- **/
1839
- [key: string]: AugmentedError<ApiType>;
1840
- };
1841
- sygmaBridge: {
1842
- /**
1843
- * Account has not gained access permission
1844
- **/
1845
- AccessDenied: AugmentedError<ApiType>;
1846
- /**
1847
- * Asset not bound to a resource id
1848
- **/
1849
- AssetNotBound: AugmentedError<ApiType>;
1850
- /**
1851
- * Protected operation, must be performed by relayer
1852
- **/
1853
- BadMpcSignature: AugmentedError<ApiType>;
1854
- /**
1855
- * Bridge is paused
1856
- **/
1857
- BridgePaused: AugmentedError<ApiType>;
1858
- /**
1859
- * Bridge is unpaused
1860
- **/
1861
- BridgeUnpaused: AugmentedError<ApiType>;
1862
- /**
1863
- * Failed on the decimal converter
1864
- **/
1865
- DecimalConversionFail: AugmentedError<ApiType>;
1866
- /**
1867
- * Deposit nonce has reached max integer value
1868
- **/
1869
- DepositNonceOverflow: AugmentedError<ApiType>;
1870
- /**
1871
- * Dest chain id not match
1872
- **/
1873
- DestChainIDNotMatch: AugmentedError<ApiType>;
1874
- /**
1875
- * Dest domain not supported
1876
- **/
1877
- DestDomainNotSupported: AugmentedError<ApiType>;
1878
- /**
1879
- * Proposal list empty
1880
- **/
1881
- EmptyProposalList: AugmentedError<ApiType>;
1882
- /**
1883
- * Failed to extract destination data
1884
- **/
1885
- ExtractDestDataFailed: AugmentedError<ApiType>;
1886
- /**
1887
- * The withdrawn amount can not cover the fee payment
1888
- **/
1889
- FeeTooExpensive: AugmentedError<ApiType>;
1890
- /**
1891
- * Insufficient balance on sender account
1892
- **/
1893
- InsufficientBalance: AugmentedError<ApiType>;
1894
- InvalidDepositDataInvalidAmount: AugmentedError<ApiType>;
1895
- /**
1896
- * Deposit data not correct
1897
- **/
1898
- InvalidDepositDataInvalidLength: AugmentedError<ApiType>;
1899
- InvalidDepositDataInvalidRecipient: AugmentedError<ApiType>;
1900
- InvalidDepositDataInvalidRecipientLength: AugmentedError<ApiType>;
1901
- InvalidDepositDataRecipientLengthNotMatch: AugmentedError<ApiType>;
1902
- /**
1903
- * Fee config option missing
1904
- **/
1905
- MissingFeeConfig: AugmentedError<ApiType>;
1906
- /**
1907
- * MPC address not set
1908
- **/
1909
- MissingMpcAddress: AugmentedError<ApiType>;
1910
- /**
1911
- * MPC address can not be updated
1912
- **/
1913
- MpcAddrNotUpdatable: AugmentedError<ApiType>;
1914
- /**
1915
- * Asset not bound to a liquidity holder account
1916
- **/
1917
- NoLiquidityHolderAccountBound: AugmentedError<ApiType>;
1918
- /**
1919
- * Proposal has either failed or succeeded
1920
- **/
1921
- ProposalAlreadyComplete: AugmentedError<ApiType>;
1922
- /**
1923
- * Asset transactor execution failed
1924
- **/
1925
- TransactFailedDeposit: AugmentedError<ApiType>;
1926
- TransactFailedFeeDeposit: AugmentedError<ApiType>;
1927
- TransactFailedHoldInReserved: AugmentedError<ApiType>;
1928
- TransactFailedReleaseFromReserved: AugmentedError<ApiType>;
1929
- TransactFailedWithdraw: AugmentedError<ApiType>;
1930
- /**
1931
- * Transactor operation failed
1932
- **/
1933
- TransactorFailed: AugmentedError<ApiType>;
1934
- /**
1935
- * Function unimplemented
1936
- **/
1937
- Unimplemented: AugmentedError<ApiType>;
1938
- /**
1939
- * Generic error
1940
- **/
1941
- [key: string]: AugmentedError<ApiType>;
1942
- };
1943
- sygmaFeeHandlerRouter: {
1944
- /**
1945
- * Account has not gained access permission
1946
- **/
1947
- AccessDenied: AugmentedError<ApiType>;
1948
- /**
1949
- * Function unimplemented
1950
- **/
1951
- Unimplemented: AugmentedError<ApiType>;
1952
- /**
1953
- * Generic error
1954
- **/
1955
- [key: string]: AugmentedError<ApiType>;
1956
- };
1957
- sygmaPercentageFeeHandler: {
1958
- /**
1959
- * Account has not gained access permission
1960
- **/
1961
- AccessDenied: AugmentedError<ApiType>;
1962
- /**
1963
- * Fee rate is out of range [0, 10000)
1964
- **/
1965
- FeeRateOutOfRange: AugmentedError<ApiType>;
1966
- /**
1967
- * Percentage fee bound is invalid
1968
- **/
1969
- InvalidFeeBound: AugmentedError<ApiType>;
1970
- /**
1971
- * Function unimplemented
1972
- **/
1973
- Unimplemented: AugmentedError<ApiType>;
1974
- /**
1975
- * Generic error
1976
- **/
1977
- [key: string]: AugmentedError<ApiType>;
1978
- };
1979
- system: {
1980
- /**
1981
- * The origin filter prevent the call to be dispatched.
1982
- **/
1983
- CallFiltered: AugmentedError<ApiType>;
1984
- /**
1985
- * Failed to extract the runtime version from the new runtime.
1986
- *
1987
- * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1988
- **/
1989
- FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1990
- /**
1991
- * The name of specification does not match between the current runtime
1992
- * and the new runtime.
1993
- **/
1994
- InvalidSpecName: AugmentedError<ApiType>;
1995
- /**
1996
- * Suicide called when the account has non-default composite data.
1997
- **/
1998
- NonDefaultComposite: AugmentedError<ApiType>;
1999
- /**
2000
- * There is a non-zero reference count preventing the account from being purged.
2001
- **/
2002
- NonZeroRefCount: AugmentedError<ApiType>;
2003
- /**
2004
- * No upgrade authorized.
2005
- **/
2006
- NothingAuthorized: AugmentedError<ApiType>;
2007
- /**
2008
- * The specification version is not allowed to decrease between the current runtime
2009
- * and the new runtime.
2010
- **/
2011
- SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
2012
- /**
2013
- * The submitted code is not authorized.
2014
- **/
2015
- Unauthorized: AugmentedError<ApiType>;
2016
- /**
2017
- * Generic error
2018
- **/
2019
- [key: string]: AugmentedError<ApiType>;
2020
- };
2021
- treasury: {
2022
- /**
2023
- * The payment has already been attempted.
2024
- **/
2025
- AlreadyAttempted: AugmentedError<ApiType>;
2026
- /**
2027
- * The spend is not yet eligible for payout.
2028
- **/
2029
- EarlyPayout: AugmentedError<ApiType>;
2030
- /**
2031
- * The balance of the asset kind is not convertible to the balance of the native asset.
2032
- **/
2033
- FailedToConvertBalance: AugmentedError<ApiType>;
2034
- /**
2035
- * The payment has neither failed nor succeeded yet.
2036
- **/
2037
- Inconclusive: AugmentedError<ApiType>;
2038
- /**
2039
- * The spend origin is valid but the amount it is allowed to spend is lower than the
2040
- * amount to be spent.
2041
- **/
2042
- InsufficientPermission: AugmentedError<ApiType>;
2043
- /**
2044
- * Proposer's balance is too low.
2045
- **/
2046
- InsufficientProposersBalance: AugmentedError<ApiType>;
2047
- /**
2048
- * No proposal, bounty or spend at that index.
2049
- **/
2050
- InvalidIndex: AugmentedError<ApiType>;
2051
- /**
2052
- * The payout was not yet attempted/claimed.
2053
- **/
2054
- NotAttempted: AugmentedError<ApiType>;
2055
- /**
2056
- * There was some issue with the mechanism of payment.
2057
- **/
2058
- PayoutError: AugmentedError<ApiType>;
2059
- /**
2060
- * Proposal has not been approved.
2061
- **/
2062
- ProposalNotApproved: AugmentedError<ApiType>;
2063
- /**
2064
- * The spend has expired and cannot be claimed.
2065
- **/
2066
- SpendExpired: AugmentedError<ApiType>;
2067
- /**
2068
- * Too many approvals in the queue.
2069
- **/
2070
- TooManyApprovals: AugmentedError<ApiType>;
2071
- /**
2072
- * Generic error
2073
- **/
2074
- [key: string]: AugmentedError<ApiType>;
2075
- };
2076
- txPause: {
2077
- /**
2078
- * The call is paused.
2079
- **/
2080
- IsPaused: AugmentedError<ApiType>;
2081
- /**
2082
- * The call is unpaused.
2083
- **/
2084
- IsUnpaused: AugmentedError<ApiType>;
2085
- NotFound: AugmentedError<ApiType>;
2086
- /**
2087
- * The call is whitelisted and cannot be paused.
2088
- **/
2089
- Unpausable: AugmentedError<ApiType>;
2090
- /**
2091
- * Generic error
2092
- **/
2093
- [key: string]: AugmentedError<ApiType>;
2094
- };
2095
- utility: {
2096
- /**
2097
- * Too many calls batched.
2098
- **/
2099
- TooManyCalls: AugmentedError<ApiType>;
2100
- /**
2101
- * Generic error
2102
- **/
2103
- [key: string]: AugmentedError<ApiType>;
2104
- };
2105
- vesting: {
2106
- /**
2107
- * Amount being transferred is too low to create a vesting schedule.
2108
- **/
2109
- AmountLow: AugmentedError<ApiType>;
2110
- /**
2111
- * The account already has `MaxVestingSchedules` count of schedules and thus
2112
- * cannot add another one. Consider merging existing schedules in order to add another.
2113
- **/
2114
- AtMaxVestingSchedules: AugmentedError<ApiType>;
2115
- /**
2116
- * Failed to create a new schedule because some parameter was invalid.
2117
- **/
2118
- InvalidScheduleParams: AugmentedError<ApiType>;
2119
- /**
2120
- * The account given is not vesting.
2121
- **/
2122
- NotVesting: AugmentedError<ApiType>;
2123
- /**
2124
- * An index was out of bounds of the vesting schedules.
2125
- **/
2126
- ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
2127
- /**
2128
- * Generic error
2129
- **/
2130
- [key: string]: AugmentedError<ApiType>;
2131
- };
2132
- zkSaaS: {
2133
- /**
2134
- * Unexpected job type
2135
- **/
2136
- InvalidJobType: AugmentedError<ApiType>;
2137
- /**
2138
- * Invalid proof
2139
- **/
2140
- InvalidProof: AugmentedError<ApiType>;
2141
- /**
2142
- * Malformed Proof
2143
- * if the proof bytes is not correct.
2144
- **/
2145
- MalformedProof: AugmentedError<ApiType>;
2146
- /**
2147
- * Generic error
2148
- **/
2149
- [key: string]: AugmentedError<ApiType>;
2150
- };
2151
- } // AugmentedErrors
2152
- } // declare module