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