@dedot/chaintypes 0.0.1-next.0 → 0.0.1-next.3

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 (96) hide show
  1. package/aleph/consts.d.ts +595 -0
  2. package/aleph/errors.d.ts +985 -0
  3. package/aleph/events.d.ts +984 -0
  4. package/aleph/index.d.ts +22 -0
  5. package/aleph/query.d.ts +1480 -0
  6. package/aleph/rpc.d.ts +727 -0
  7. package/aleph/runtime.d.ts +545 -0
  8. package/aleph/tx.d.ts +2668 -0
  9. package/aleph/types.d.ts +3646 -0
  10. package/astar/consts.d.ts +758 -0
  11. package/astar/errors.d.ts +1580 -0
  12. package/astar/events.d.ts +1788 -0
  13. package/astar/index.d.ts +22 -0
  14. package/astar/query.d.ts +1759 -0
  15. package/astar/rpc.d.ts +974 -0
  16. package/astar/runtime.d.ts +314 -0
  17. package/astar/tx.d.ts +5478 -0
  18. package/astar/types.d.ts +9078 -0
  19. package/index.ts +10 -0
  20. package/kusama/consts.d.ts +1578 -0
  21. package/kusama/errors.d.ts +2999 -0
  22. package/kusama/events.d.ts +3233 -0
  23. package/kusama/index.d.ts +22 -0
  24. package/kusama/query.d.ts +3831 -0
  25. package/kusama/rpc.d.ts +904 -0
  26. package/kusama/runtime.d.ts +1134 -0
  27. package/kusama/tx.d.ts +7077 -0
  28. package/kusama/types.d.ts +10710 -0
  29. package/kusamaAssetHub/consts.d.ts +719 -0
  30. package/kusamaAssetHub/errors.d.ts +1409 -0
  31. package/kusamaAssetHub/events.d.ts +2251 -0
  32. package/kusamaAssetHub/index.d.ts +22 -0
  33. package/kusamaAssetHub/query.d.ts +1554 -0
  34. package/kusamaAssetHub/rpc.d.ts +746 -0
  35. package/kusamaAssetHub/runtime.d.ts +514 -0
  36. package/kusamaAssetHub/tx.d.ts +5055 -0
  37. package/kusamaAssetHub/types.d.ts +6385 -0
  38. package/moonbeam/consts.d.ts +1080 -0
  39. package/moonbeam/errors.d.ts +2135 -0
  40. package/moonbeam/events.d.ts +3091 -0
  41. package/moonbeam/index.d.ts +22 -0
  42. package/moonbeam/query.d.ts +2394 -0
  43. package/moonbeam/rpc.d.ts +1015 -0
  44. package/moonbeam/runtime.d.ts +669 -0
  45. package/moonbeam/tx.d.ts +6156 -0
  46. package/moonbeam/types.d.ts +8045 -0
  47. package/package.json +9 -8
  48. package/packageInfo.ts +3 -0
  49. package/polkadot/consts.d.ts +1277 -0
  50. package/polkadot/errors.d.ts +2424 -0
  51. package/polkadot/events.d.ts +2457 -0
  52. package/polkadot/index.d.ts +22 -0
  53. package/polkadot/query.d.ts +3322 -0
  54. package/polkadot/rpc.d.ts +904 -0
  55. package/polkadot/runtime.d.ts +1134 -0
  56. package/polkadot/tx.d.ts +5913 -0
  57. package/polkadot/types.d.ts +9181 -0
  58. package/polkadotAssetHub/consts.d.ts +591 -0
  59. package/polkadotAssetHub/errors.d.ts +1119 -0
  60. package/polkadotAssetHub/events.d.ts +1855 -0
  61. package/polkadotAssetHub/index.d.ts +22 -0
  62. package/polkadotAssetHub/query.d.ts +1460 -0
  63. package/polkadotAssetHub/rpc.d.ts +746 -0
  64. package/polkadotAssetHub/runtime.d.ts +451 -0
  65. package/polkadotAssetHub/tx.d.ts +4189 -0
  66. package/polkadotAssetHub/types.d.ts +5539 -0
  67. package/rococoAssetHub/consts.d.ts +750 -0
  68. package/rococoAssetHub/errors.d.ts +1494 -0
  69. package/rococoAssetHub/events.d.ts +2252 -0
  70. package/rococoAssetHub/index.d.ts +22 -0
  71. package/rococoAssetHub/query.d.ts +1516 -0
  72. package/rococoAssetHub/rpc.d.ts +746 -0
  73. package/rococoAssetHub/runtime.d.ts +542 -0
  74. package/rococoAssetHub/tx.d.ts +5169 -0
  75. package/rococoAssetHub/types.d.ts +6751 -0
  76. package/substrate/consts.d.ts +2223 -0
  77. package/substrate/errors.d.ts +4023 -0
  78. package/substrate/events.d.ts +5107 -0
  79. package/substrate/index.d.ts +22 -0
  80. package/substrate/query.d.ts +3890 -0
  81. package/substrate/rpc.d.ts +894 -0
  82. package/substrate/runtime.d.ts +941 -0
  83. package/substrate/tx.d.ts +10391 -0
  84. package/substrate/types.d.ts +13380 -0
  85. package/westendAssetHub/consts.d.ts +750 -0
  86. package/westendAssetHub/errors.d.ts +1494 -0
  87. package/westendAssetHub/events.d.ts +2252 -0
  88. package/westendAssetHub/index.d.ts +22 -0
  89. package/westendAssetHub/query.d.ts +1516 -0
  90. package/westendAssetHub/rpc.d.ts +746 -0
  91. package/westendAssetHub/runtime.d.ts +581 -0
  92. package/westendAssetHub/tx.d.ts +5169 -0
  93. package/westendAssetHub/types.d.ts +6750 -0
  94. package/cjs/index.js +0 -2
  95. package/cjs/package.json +0 -1
  96. package/cjs/packageInfo.js +0 -5
@@ -0,0 +1,1580 @@
1
+ // Generated by @dedot/codegen
2
+
3
+ import type { GenericChainErrors, GenericPalletError } from '@dedot/types';
4
+
5
+ export interface ChainErrors extends GenericChainErrors {
6
+ /**
7
+ * Pallet `System`'s errors
8
+ **/
9
+ system: {
10
+ /**
11
+ * The name of specification does not match between the current runtime
12
+ * and the new runtime.
13
+ **/
14
+ InvalidSpecName: GenericPalletError;
15
+
16
+ /**
17
+ * The specification version is not allowed to decrease between the current runtime
18
+ * and the new runtime.
19
+ **/
20
+ SpecVersionNeedsToIncrease: GenericPalletError;
21
+
22
+ /**
23
+ * Failed to extract the runtime version from the new runtime.
24
+ *
25
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
26
+ **/
27
+ FailedToExtractRuntimeVersion: GenericPalletError;
28
+
29
+ /**
30
+ * Suicide called when the account has non-default composite data.
31
+ **/
32
+ NonDefaultComposite: GenericPalletError;
33
+
34
+ /**
35
+ * There is a non-zero reference count preventing the account from being purged.
36
+ **/
37
+ NonZeroRefCount: GenericPalletError;
38
+
39
+ /**
40
+ * The origin filter prevent the call to be dispatched.
41
+ **/
42
+ CallFiltered: GenericPalletError;
43
+
44
+ /**
45
+ * Generic pallet error
46
+ **/
47
+ [error: string]: GenericPalletError;
48
+ };
49
+ /**
50
+ * Pallet `Utility`'s errors
51
+ **/
52
+ utility: {
53
+ /**
54
+ * Too many calls batched.
55
+ **/
56
+ TooManyCalls: GenericPalletError;
57
+
58
+ /**
59
+ * Generic pallet error
60
+ **/
61
+ [error: string]: GenericPalletError;
62
+ };
63
+ /**
64
+ * Pallet `Identity`'s errors
65
+ **/
66
+ identity: {
67
+ /**
68
+ * Too many subs-accounts.
69
+ **/
70
+ TooManySubAccounts: GenericPalletError;
71
+
72
+ /**
73
+ * Account isn't found.
74
+ **/
75
+ NotFound: GenericPalletError;
76
+
77
+ /**
78
+ * Account isn't named.
79
+ **/
80
+ NotNamed: GenericPalletError;
81
+
82
+ /**
83
+ * Empty index.
84
+ **/
85
+ EmptyIndex: GenericPalletError;
86
+
87
+ /**
88
+ * Fee is changed.
89
+ **/
90
+ FeeChanged: GenericPalletError;
91
+
92
+ /**
93
+ * No identity found.
94
+ **/
95
+ NoIdentity: GenericPalletError;
96
+
97
+ /**
98
+ * Sticky judgement.
99
+ **/
100
+ StickyJudgement: GenericPalletError;
101
+
102
+ /**
103
+ * Judgement given.
104
+ **/
105
+ JudgementGiven: GenericPalletError;
106
+
107
+ /**
108
+ * Invalid judgement.
109
+ **/
110
+ InvalidJudgement: GenericPalletError;
111
+
112
+ /**
113
+ * The index is invalid.
114
+ **/
115
+ InvalidIndex: GenericPalletError;
116
+
117
+ /**
118
+ * The target is invalid.
119
+ **/
120
+ InvalidTarget: GenericPalletError;
121
+
122
+ /**
123
+ * Too many additional fields.
124
+ **/
125
+ TooManyFields: GenericPalletError;
126
+
127
+ /**
128
+ * Maximum amount of registrars reached. Cannot add any more.
129
+ **/
130
+ TooManyRegistrars: GenericPalletError;
131
+
132
+ /**
133
+ * Account ID is already named.
134
+ **/
135
+ AlreadyClaimed: GenericPalletError;
136
+
137
+ /**
138
+ * Sender is not a sub-account.
139
+ **/
140
+ NotSub: GenericPalletError;
141
+
142
+ /**
143
+ * Sub-account isn't owned by sender.
144
+ **/
145
+ NotOwned: GenericPalletError;
146
+
147
+ /**
148
+ * The provided judgement was for a different identity.
149
+ **/
150
+ JudgementForDifferentIdentity: GenericPalletError;
151
+
152
+ /**
153
+ * Error that occurs when there is an issue paying for judgement.
154
+ **/
155
+ JudgementPaymentFailed: GenericPalletError;
156
+
157
+ /**
158
+ * Generic pallet error
159
+ **/
160
+ [error: string]: GenericPalletError;
161
+ };
162
+ /**
163
+ * Pallet `Multisig`'s errors
164
+ **/
165
+ multisig: {
166
+ /**
167
+ * Threshold must be 2 or greater.
168
+ **/
169
+ MinimumThreshold: GenericPalletError;
170
+
171
+ /**
172
+ * Call is already approved by this signatory.
173
+ **/
174
+ AlreadyApproved: GenericPalletError;
175
+
176
+ /**
177
+ * Call doesn't need any (more) approvals.
178
+ **/
179
+ NoApprovalsNeeded: GenericPalletError;
180
+
181
+ /**
182
+ * There are too few signatories in the list.
183
+ **/
184
+ TooFewSignatories: GenericPalletError;
185
+
186
+ /**
187
+ * There are too many signatories in the list.
188
+ **/
189
+ TooManySignatories: GenericPalletError;
190
+
191
+ /**
192
+ * The signatories were provided out of order; they should be ordered.
193
+ **/
194
+ SignatoriesOutOfOrder: GenericPalletError;
195
+
196
+ /**
197
+ * The sender was contained in the other signatories; it shouldn't be.
198
+ **/
199
+ SenderInSignatories: GenericPalletError;
200
+
201
+ /**
202
+ * Multisig operation not found when attempting to cancel.
203
+ **/
204
+ NotFound: GenericPalletError;
205
+
206
+ /**
207
+ * Only the account that originally created the multisig is able to cancel it.
208
+ **/
209
+ NotOwner: GenericPalletError;
210
+
211
+ /**
212
+ * No timepoint was given, yet the multisig operation is already underway.
213
+ **/
214
+ NoTimepoint: GenericPalletError;
215
+
216
+ /**
217
+ * A different timepoint was given to the multisig operation that is underway.
218
+ **/
219
+ WrongTimepoint: GenericPalletError;
220
+
221
+ /**
222
+ * A timepoint was given, yet no multisig operation is underway.
223
+ **/
224
+ UnexpectedTimepoint: GenericPalletError;
225
+
226
+ /**
227
+ * The maximum weight information provided was too low.
228
+ **/
229
+ MaxWeightTooLow: GenericPalletError;
230
+
231
+ /**
232
+ * The data to be stored is already stored.
233
+ **/
234
+ AlreadyStored: GenericPalletError;
235
+
236
+ /**
237
+ * Generic pallet error
238
+ **/
239
+ [error: string]: GenericPalletError;
240
+ };
241
+ /**
242
+ * Pallet `Proxy`'s errors
243
+ **/
244
+ proxy: {
245
+ /**
246
+ * There are too many proxies registered or too many announcements pending.
247
+ **/
248
+ TooMany: GenericPalletError;
249
+
250
+ /**
251
+ * Proxy registration not found.
252
+ **/
253
+ NotFound: GenericPalletError;
254
+
255
+ /**
256
+ * Sender is not a proxy of the account to be proxied.
257
+ **/
258
+ NotProxy: GenericPalletError;
259
+
260
+ /**
261
+ * A call which is incompatible with the proxy type's filter was attempted.
262
+ **/
263
+ Unproxyable: GenericPalletError;
264
+
265
+ /**
266
+ * Account is already a proxy.
267
+ **/
268
+ Duplicate: GenericPalletError;
269
+
270
+ /**
271
+ * Call may not be made by proxy because it may escalate its privileges.
272
+ **/
273
+ NoPermission: GenericPalletError;
274
+
275
+ /**
276
+ * Announcement, if made at all, was made too recently.
277
+ **/
278
+ Unannounced: GenericPalletError;
279
+
280
+ /**
281
+ * Cannot add self as proxy.
282
+ **/
283
+ NoSelfProxy: GenericPalletError;
284
+
285
+ /**
286
+ * Generic pallet error
287
+ **/
288
+ [error: string]: GenericPalletError;
289
+ };
290
+ /**
291
+ * Pallet `ParachainSystem`'s errors
292
+ **/
293
+ parachainSystem: {
294
+ /**
295
+ * Attempt to upgrade validation function while existing upgrade pending.
296
+ **/
297
+ OverlappingUpgrades: GenericPalletError;
298
+
299
+ /**
300
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
301
+ **/
302
+ ProhibitedByPolkadot: GenericPalletError;
303
+
304
+ /**
305
+ * The supplied validation function has compiled into a blob larger than Polkadot is
306
+ * willing to run.
307
+ **/
308
+ TooBig: GenericPalletError;
309
+
310
+ /**
311
+ * The inherent which supplies the validation data did not run this block.
312
+ **/
313
+ ValidationDataNotAvailable: GenericPalletError;
314
+
315
+ /**
316
+ * The inherent which supplies the host configuration did not run this block.
317
+ **/
318
+ HostConfigurationNotAvailable: GenericPalletError;
319
+
320
+ /**
321
+ * No validation function upgrade is currently scheduled.
322
+ **/
323
+ NotScheduled: GenericPalletError;
324
+
325
+ /**
326
+ * No code upgrade has been authorized.
327
+ **/
328
+ NothingAuthorized: GenericPalletError;
329
+
330
+ /**
331
+ * The given code upgrade has not been authorized.
332
+ **/
333
+ Unauthorized: GenericPalletError;
334
+
335
+ /**
336
+ * Generic pallet error
337
+ **/
338
+ [error: string]: GenericPalletError;
339
+ };
340
+ /**
341
+ * Pallet `Balances`'s errors
342
+ **/
343
+ balances: {
344
+ /**
345
+ * Vesting balance too high to send value.
346
+ **/
347
+ VestingBalance: GenericPalletError;
348
+
349
+ /**
350
+ * Account liquidity restrictions prevent withdrawal.
351
+ **/
352
+ LiquidityRestrictions: GenericPalletError;
353
+
354
+ /**
355
+ * Balance too low to send value.
356
+ **/
357
+ InsufficientBalance: GenericPalletError;
358
+
359
+ /**
360
+ * Value too low to create account due to existential deposit.
361
+ **/
362
+ ExistentialDeposit: GenericPalletError;
363
+
364
+ /**
365
+ * Transfer/payment would kill account.
366
+ **/
367
+ Expendability: GenericPalletError;
368
+
369
+ /**
370
+ * A vesting schedule already exists for this account.
371
+ **/
372
+ ExistingVestingSchedule: GenericPalletError;
373
+
374
+ /**
375
+ * Beneficiary account must pre-exist.
376
+ **/
377
+ DeadAccount: GenericPalletError;
378
+
379
+ /**
380
+ * Number of named reserves exceed `MaxReserves`.
381
+ **/
382
+ TooManyReserves: GenericPalletError;
383
+
384
+ /**
385
+ * Number of holds exceed `MaxHolds`.
386
+ **/
387
+ TooManyHolds: GenericPalletError;
388
+
389
+ /**
390
+ * Number of freezes exceed `MaxFreezes`.
391
+ **/
392
+ TooManyFreezes: GenericPalletError;
393
+
394
+ /**
395
+ * Generic pallet error
396
+ **/
397
+ [error: string]: GenericPalletError;
398
+ };
399
+ /**
400
+ * Pallet `Vesting`'s errors
401
+ **/
402
+ vesting: {
403
+ /**
404
+ * The account given is not vesting.
405
+ **/
406
+ NotVesting: GenericPalletError;
407
+
408
+ /**
409
+ * The account already has `MaxVestingSchedules` count of schedules and thus
410
+ * cannot add another one. Consider merging existing schedules in order to add another.
411
+ **/
412
+ AtMaxVestingSchedules: GenericPalletError;
413
+
414
+ /**
415
+ * Amount being transferred is too low to create a vesting schedule.
416
+ **/
417
+ AmountLow: GenericPalletError;
418
+
419
+ /**
420
+ * An index was out of bounds of the vesting schedules.
421
+ **/
422
+ ScheduleIndexOutOfBounds: GenericPalletError;
423
+
424
+ /**
425
+ * Failed to create a new schedule because some parameter was invalid.
426
+ **/
427
+ InvalidScheduleParams: GenericPalletError;
428
+
429
+ /**
430
+ * Generic pallet error
431
+ **/
432
+ [error: string]: GenericPalletError;
433
+ };
434
+ /**
435
+ * Pallet `Inflation`'s errors
436
+ **/
437
+ inflation: {
438
+ /**
439
+ * Sum of all parts must be one whole (100%).
440
+ **/
441
+ InvalidInflationParameters: GenericPalletError;
442
+
443
+ /**
444
+ * Generic pallet error
445
+ **/
446
+ [error: string]: GenericPalletError;
447
+ };
448
+ /**
449
+ * Pallet `DappStaking`'s errors
450
+ **/
451
+ dappStaking: {
452
+ /**
453
+ * Pallet is disabled/in maintenance mode.
454
+ **/
455
+ Disabled: GenericPalletError;
456
+
457
+ /**
458
+ * Smart contract already exists within dApp staking protocol.
459
+ **/
460
+ ContractAlreadyExists: GenericPalletError;
461
+
462
+ /**
463
+ * Maximum number of smart contracts has been reached.
464
+ **/
465
+ ExceededMaxNumberOfContracts: GenericPalletError;
466
+
467
+ /**
468
+ * Not possible to assign a new dApp Id.
469
+ * This should never happen since current type can support up to 65536 - 1 unique dApps.
470
+ **/
471
+ NewDAppIdUnavailable: GenericPalletError;
472
+
473
+ /**
474
+ * Specified smart contract does not exist in dApp staking.
475
+ **/
476
+ ContractNotFound: GenericPalletError;
477
+
478
+ /**
479
+ * Call origin is not dApp owner.
480
+ **/
481
+ OriginNotOwner: GenericPalletError;
482
+
483
+ /**
484
+ * Performing locking or staking with 0 amount.
485
+ **/
486
+ ZeroAmount: GenericPalletError;
487
+
488
+ /**
489
+ * Total locked amount for staker is below minimum threshold.
490
+ **/
491
+ LockedAmountBelowThreshold: GenericPalletError;
492
+
493
+ /**
494
+ * Account is not allowed to participate in dApp staking due to some external reason (e.g. account is already a collator).
495
+ **/
496
+ AccountNotAvailableForDappStaking: GenericPalletError;
497
+
498
+ /**
499
+ * Cannot add additional unlocking chunks due to capacity limit.
500
+ **/
501
+ TooManyUnlockingChunks: GenericPalletError;
502
+
503
+ /**
504
+ * Remaining stake prevents entire balance of starting the unlocking process.
505
+ **/
506
+ RemainingStakePreventsFullUnlock: GenericPalletError;
507
+
508
+ /**
509
+ * There are no eligible unlocked chunks to claim. This can happen either if no eligible chunks exist, or if user has no chunks at all.
510
+ **/
511
+ NoUnlockedChunksToClaim: GenericPalletError;
512
+
513
+ /**
514
+ * There are no unlocking chunks available to relock.
515
+ **/
516
+ NoUnlockingChunks: GenericPalletError;
517
+
518
+ /**
519
+ * The amount being staked is too large compared to what's available for staking.
520
+ **/
521
+ UnavailableStakeFunds: GenericPalletError;
522
+
523
+ /**
524
+ * There are unclaimed rewards remaining from past eras or periods. They should be claimed before attempting any stake modification again.
525
+ **/
526
+ UnclaimedRewards: GenericPalletError;
527
+
528
+ /**
529
+ * An unexpected error occurred while trying to stake.
530
+ **/
531
+ InternalStakeError: GenericPalletError;
532
+
533
+ /**
534
+ * Total staked amount on contract is below the minimum required value.
535
+ **/
536
+ InsufficientStakeAmount: GenericPalletError;
537
+
538
+ /**
539
+ * Stake operation is rejected since period ends in the next era.
540
+ **/
541
+ PeriodEndsInNextEra: GenericPalletError;
542
+
543
+ /**
544
+ * Unstaking is rejected since the period in which past stake was active has passed.
545
+ **/
546
+ UnstakeFromPastPeriod: GenericPalletError;
547
+
548
+ /**
549
+ * Unstake amount is greater than the staked amount.
550
+ **/
551
+ UnstakeAmountTooLarge: GenericPalletError;
552
+
553
+ /**
554
+ * Account has no staking information for the contract.
555
+ **/
556
+ NoStakingInfo: GenericPalletError;
557
+
558
+ /**
559
+ * An unexpected error occurred while trying to unstake.
560
+ **/
561
+ InternalUnstakeError: GenericPalletError;
562
+
563
+ /**
564
+ * Rewards are no longer claimable since they are too old.
565
+ **/
566
+ RewardExpired: GenericPalletError;
567
+
568
+ /**
569
+ * Reward payout has failed due to an unexpected reason.
570
+ **/
571
+ RewardPayoutFailed: GenericPalletError;
572
+
573
+ /**
574
+ * There are no claimable rewards.
575
+ **/
576
+ NoClaimableRewards: GenericPalletError;
577
+
578
+ /**
579
+ * An unexpected error occurred while trying to claim staker rewards.
580
+ **/
581
+ InternalClaimStakerError: GenericPalletError;
582
+
583
+ /**
584
+ * Account is has no eligible stake amount for bonus reward.
585
+ **/
586
+ NotEligibleForBonusReward: GenericPalletError;
587
+
588
+ /**
589
+ * An unexpected error occurred while trying to claim bonus reward.
590
+ **/
591
+ InternalClaimBonusError: GenericPalletError;
592
+
593
+ /**
594
+ * Claim era is invalid - it must be in history, and rewards must exist for it.
595
+ **/
596
+ InvalidClaimEra: GenericPalletError;
597
+
598
+ /**
599
+ * No dApp tier info exists for the specified era. This can be because era has expired
600
+ * or because during the specified era there were no eligible rewards or protocol wasn't active.
601
+ **/
602
+ NoDAppTierInfo: GenericPalletError;
603
+
604
+ /**
605
+ * An unexpected error occurred while trying to claim dApp reward.
606
+ **/
607
+ InternalClaimDAppError: GenericPalletError;
608
+
609
+ /**
610
+ * Contract is still active, not unregistered.
611
+ **/
612
+ ContractStillActive: GenericPalletError;
613
+
614
+ /**
615
+ * There are too many contract stake entries for the account. This can be cleaned up by either unstaking or cleaning expired entries.
616
+ **/
617
+ TooManyStakedContracts: GenericPalletError;
618
+
619
+ /**
620
+ * There are no expired entries to cleanup for the account.
621
+ **/
622
+ NoExpiredEntries: GenericPalletError;
623
+
624
+ /**
625
+ * Force call is not allowed in production.
626
+ **/
627
+ ForceNotAllowed: GenericPalletError;
628
+
629
+ /**
630
+ * Generic pallet error
631
+ **/
632
+ [error: string]: GenericPalletError;
633
+ };
634
+ /**
635
+ * Pallet `Assets`'s errors
636
+ **/
637
+ assets: {
638
+ /**
639
+ * Account balance must be greater than or equal to the transfer amount.
640
+ **/
641
+ BalanceLow: GenericPalletError;
642
+
643
+ /**
644
+ * The account to alter does not exist.
645
+ **/
646
+ NoAccount: GenericPalletError;
647
+
648
+ /**
649
+ * The signing account has no permission to do the operation.
650
+ **/
651
+ NoPermission: GenericPalletError;
652
+
653
+ /**
654
+ * The given asset ID is unknown.
655
+ **/
656
+ Unknown: GenericPalletError;
657
+
658
+ /**
659
+ * The origin account is frozen.
660
+ **/
661
+ Frozen: GenericPalletError;
662
+
663
+ /**
664
+ * The asset ID is already taken.
665
+ **/
666
+ InUse: GenericPalletError;
667
+
668
+ /**
669
+ * Invalid witness data given.
670
+ **/
671
+ BadWitness: GenericPalletError;
672
+
673
+ /**
674
+ * Minimum balance should be non-zero.
675
+ **/
676
+ MinBalanceZero: GenericPalletError;
677
+
678
+ /**
679
+ * Unable to increment the consumer reference counters on the account. Either no provider
680
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
681
+ * fewer then the maximum number of consumers has been reached.
682
+ **/
683
+ UnavailableConsumer: GenericPalletError;
684
+
685
+ /**
686
+ * Invalid metadata given.
687
+ **/
688
+ BadMetadata: GenericPalletError;
689
+
690
+ /**
691
+ * No approval exists that would allow the transfer.
692
+ **/
693
+ Unapproved: GenericPalletError;
694
+
695
+ /**
696
+ * The source account would not survive the transfer and it needs to stay alive.
697
+ **/
698
+ WouldDie: GenericPalletError;
699
+
700
+ /**
701
+ * The asset-account already exists.
702
+ **/
703
+ AlreadyExists: GenericPalletError;
704
+
705
+ /**
706
+ * The asset-account doesn't have an associated deposit.
707
+ **/
708
+ NoDeposit: GenericPalletError;
709
+
710
+ /**
711
+ * The operation would result in funds being burned.
712
+ **/
713
+ WouldBurn: GenericPalletError;
714
+
715
+ /**
716
+ * The asset is a live asset and is actively being used. Usually emit for operations such
717
+ * as `start_destroy` which require the asset to be in a destroying state.
718
+ **/
719
+ LiveAsset: GenericPalletError;
720
+
721
+ /**
722
+ * The asset is not live, and likely being destroyed.
723
+ **/
724
+ AssetNotLive: GenericPalletError;
725
+
726
+ /**
727
+ * The asset status is not the expected status.
728
+ **/
729
+ IncorrectStatus: GenericPalletError;
730
+
731
+ /**
732
+ * The asset should be frozen before the given operation.
733
+ **/
734
+ NotFrozen: GenericPalletError;
735
+
736
+ /**
737
+ * Callback action resulted in error
738
+ **/
739
+ CallbackFailed: GenericPalletError;
740
+
741
+ /**
742
+ * Generic pallet error
743
+ **/
744
+ [error: string]: GenericPalletError;
745
+ };
746
+ /**
747
+ * Pallet `CollatorSelection`'s errors
748
+ **/
749
+ collatorSelection: {
750
+ /**
751
+ * Too many candidates
752
+ **/
753
+ TooManyCandidates: GenericPalletError;
754
+
755
+ /**
756
+ * Too few candidates
757
+ **/
758
+ TooFewCandidates: GenericPalletError;
759
+
760
+ /**
761
+ * Unknown error
762
+ **/
763
+ Unknown: GenericPalletError;
764
+
765
+ /**
766
+ * Permission issue
767
+ **/
768
+ Permission: GenericPalletError;
769
+
770
+ /**
771
+ * User is already a candidate
772
+ **/
773
+ AlreadyCandidate: GenericPalletError;
774
+
775
+ /**
776
+ * User is not a candidate
777
+ **/
778
+ NotCandidate: GenericPalletError;
779
+
780
+ /**
781
+ * User is already an Invulnerable
782
+ **/
783
+ AlreadyInvulnerable: GenericPalletError;
784
+
785
+ /**
786
+ * Account has no associated validator ID
787
+ **/
788
+ NoAssociatedValidatorId: GenericPalletError;
789
+
790
+ /**
791
+ * Validator ID is not yet registered
792
+ **/
793
+ ValidatorNotRegistered: GenericPalletError;
794
+
795
+ /**
796
+ * Account is now allowed to be a candidate due to an external reason (e.g. it might be participating in dApp staking)
797
+ **/
798
+ NotAllowedCandidate: GenericPalletError;
799
+
800
+ /**
801
+ * Generic pallet error
802
+ **/
803
+ [error: string]: GenericPalletError;
804
+ };
805
+ /**
806
+ * Pallet `Session`'s errors
807
+ **/
808
+ session: {
809
+ /**
810
+ * Invalid ownership proof.
811
+ **/
812
+ InvalidProof: GenericPalletError;
813
+
814
+ /**
815
+ * No associated validator ID for account.
816
+ **/
817
+ NoAssociatedValidatorId: GenericPalletError;
818
+
819
+ /**
820
+ * Registered duplicate key.
821
+ **/
822
+ DuplicatedKey: GenericPalletError;
823
+
824
+ /**
825
+ * No keys are associated with this account.
826
+ **/
827
+ NoKeys: GenericPalletError;
828
+
829
+ /**
830
+ * Key setting account is not live, so it's impossible to associate keys.
831
+ **/
832
+ NoAccount: GenericPalletError;
833
+
834
+ /**
835
+ * Generic pallet error
836
+ **/
837
+ [error: string]: GenericPalletError;
838
+ };
839
+ /**
840
+ * Pallet `XcmpQueue`'s errors
841
+ **/
842
+ xcmpQueue: {
843
+ /**
844
+ * Failed to send XCM message.
845
+ **/
846
+ FailedToSend: GenericPalletError;
847
+
848
+ /**
849
+ * Bad XCM origin.
850
+ **/
851
+ BadXcmOrigin: GenericPalletError;
852
+
853
+ /**
854
+ * Bad XCM data.
855
+ **/
856
+ BadXcm: GenericPalletError;
857
+
858
+ /**
859
+ * Bad overweight index.
860
+ **/
861
+ BadOverweightIndex: GenericPalletError;
862
+
863
+ /**
864
+ * Provided weight is possibly not enough to execute the message.
865
+ **/
866
+ WeightOverLimit: GenericPalletError;
867
+
868
+ /**
869
+ * Generic pallet error
870
+ **/
871
+ [error: string]: GenericPalletError;
872
+ };
873
+ /**
874
+ * Pallet `PolkadotXcm`'s errors
875
+ **/
876
+ polkadotXcm: {
877
+ /**
878
+ * The desired destination was unreachable, generally because there is a no way of routing
879
+ * to it.
880
+ **/
881
+ Unreachable: GenericPalletError;
882
+
883
+ /**
884
+ * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps
885
+ * a lack of space for buffering the message.
886
+ **/
887
+ SendFailure: GenericPalletError;
888
+
889
+ /**
890
+ * The message execution fails the filter.
891
+ **/
892
+ Filtered: GenericPalletError;
893
+
894
+ /**
895
+ * The message's weight could not be determined.
896
+ **/
897
+ UnweighableMessage: GenericPalletError;
898
+
899
+ /**
900
+ * The destination `MultiLocation` provided cannot be inverted.
901
+ **/
902
+ DestinationNotInvertible: GenericPalletError;
903
+
904
+ /**
905
+ * The assets to be sent are empty.
906
+ **/
907
+ Empty: GenericPalletError;
908
+
909
+ /**
910
+ * Could not re-anchor the assets to declare the fees for the destination chain.
911
+ **/
912
+ CannotReanchor: GenericPalletError;
913
+
914
+ /**
915
+ * Too many assets have been attempted for transfer.
916
+ **/
917
+ TooManyAssets: GenericPalletError;
918
+
919
+ /**
920
+ * Origin is invalid for sending.
921
+ **/
922
+ InvalidOrigin: GenericPalletError;
923
+
924
+ /**
925
+ * The version of the `Versioned` value used is not able to be interpreted.
926
+ **/
927
+ BadVersion: GenericPalletError;
928
+
929
+ /**
930
+ * The given location could not be used (e.g. because it cannot be expressed in the
931
+ * desired version of XCM).
932
+ **/
933
+ BadLocation: GenericPalletError;
934
+
935
+ /**
936
+ * The referenced subscription could not be found.
937
+ **/
938
+ NoSubscription: GenericPalletError;
939
+
940
+ /**
941
+ * The location is invalid since it already has a subscription from us.
942
+ **/
943
+ AlreadySubscribed: GenericPalletError;
944
+
945
+ /**
946
+ * Invalid asset for the operation.
947
+ **/
948
+ InvalidAsset: GenericPalletError;
949
+
950
+ /**
951
+ * The owner does not own (all) of the asset that they wish to do the operation on.
952
+ **/
953
+ LowBalance: GenericPalletError;
954
+
955
+ /**
956
+ * The asset owner has too many locks on the asset.
957
+ **/
958
+ TooManyLocks: GenericPalletError;
959
+
960
+ /**
961
+ * The given account is not an identifiable sovereign account for any location.
962
+ **/
963
+ AccountNotSovereign: GenericPalletError;
964
+
965
+ /**
966
+ * The operation required fees to be paid which the initiator could not meet.
967
+ **/
968
+ FeesNotMet: GenericPalletError;
969
+
970
+ /**
971
+ * A remote lock with the corresponding data could not be found.
972
+ **/
973
+ LockNotFound: GenericPalletError;
974
+
975
+ /**
976
+ * The unlock operation cannot succeed because there are still consumers of the lock.
977
+ **/
978
+ InUse: GenericPalletError;
979
+
980
+ /**
981
+ * Generic pallet error
982
+ **/
983
+ [error: string]: GenericPalletError;
984
+ };
985
+ /**
986
+ * Pallet `CumulusXcm`'s errors
987
+ **/
988
+ cumulusXcm: {
989
+ /**
990
+ * Generic pallet error
991
+ **/
992
+ [error: string]: GenericPalletError;
993
+ };
994
+ /**
995
+ * Pallet `DmpQueue`'s errors
996
+ **/
997
+ dmpQueue: {
998
+ /**
999
+ * The message index given is unknown.
1000
+ **/
1001
+ Unknown: GenericPalletError;
1002
+
1003
+ /**
1004
+ * The amount of weight given is possibly not enough for executing the message.
1005
+ **/
1006
+ OverLimit: GenericPalletError;
1007
+
1008
+ /**
1009
+ * Generic pallet error
1010
+ **/
1011
+ [error: string]: GenericPalletError;
1012
+ };
1013
+ /**
1014
+ * Pallet `XcAssetConfig`'s errors
1015
+ **/
1016
+ xcAssetConfig: {
1017
+ /**
1018
+ * Asset is already registered.
1019
+ **/
1020
+ AssetAlreadyRegistered: GenericPalletError;
1021
+
1022
+ /**
1023
+ * Asset does not exist (hasn't been registered).
1024
+ **/
1025
+ AssetDoesNotExist: GenericPalletError;
1026
+
1027
+ /**
1028
+ * Failed to convert to latest versioned MultiLocation
1029
+ **/
1030
+ MultiLocationNotSupported: GenericPalletError;
1031
+
1032
+ /**
1033
+ * Generic pallet error
1034
+ **/
1035
+ [error: string]: GenericPalletError;
1036
+ };
1037
+ /**
1038
+ * Pallet `XTokens`'s errors
1039
+ **/
1040
+ xTokens: {
1041
+ /**
1042
+ * Asset has no reserve location.
1043
+ **/
1044
+ AssetHasNoReserve: GenericPalletError;
1045
+
1046
+ /**
1047
+ * Not cross-chain transfer.
1048
+ **/
1049
+ NotCrossChainTransfer: GenericPalletError;
1050
+
1051
+ /**
1052
+ * Invalid transfer destination.
1053
+ **/
1054
+ InvalidDest: GenericPalletError;
1055
+
1056
+ /**
1057
+ * Currency is not cross-chain transferable.
1058
+ **/
1059
+ NotCrossChainTransferableCurrency: GenericPalletError;
1060
+
1061
+ /**
1062
+ * The message's weight could not be determined.
1063
+ **/
1064
+ UnweighableMessage: GenericPalletError;
1065
+
1066
+ /**
1067
+ * XCM execution failed.
1068
+ **/
1069
+ XcmExecutionFailed: GenericPalletError;
1070
+
1071
+ /**
1072
+ * Could not re-anchor the assets to declare the fees for the
1073
+ * destination chain.
1074
+ **/
1075
+ CannotReanchor: GenericPalletError;
1076
+
1077
+ /**
1078
+ * Could not get ancestry of asset reserve location.
1079
+ **/
1080
+ InvalidAncestry: GenericPalletError;
1081
+
1082
+ /**
1083
+ * The MultiAsset is invalid.
1084
+ **/
1085
+ InvalidAsset: GenericPalletError;
1086
+
1087
+ /**
1088
+ * The destination `MultiLocation` provided cannot be inverted.
1089
+ **/
1090
+ DestinationNotInvertible: GenericPalletError;
1091
+
1092
+ /**
1093
+ * The version of the `Versioned` value used is not able to be
1094
+ * interpreted.
1095
+ **/
1096
+ BadVersion: GenericPalletError;
1097
+
1098
+ /**
1099
+ * We tried sending distinct asset and fee but they have different
1100
+ * reserve chains.
1101
+ **/
1102
+ DistinctReserveForAssetAndFee: GenericPalletError;
1103
+
1104
+ /**
1105
+ * The fee is zero.
1106
+ **/
1107
+ ZeroFee: GenericPalletError;
1108
+
1109
+ /**
1110
+ * The transfering asset amount is zero.
1111
+ **/
1112
+ ZeroAmount: GenericPalletError;
1113
+
1114
+ /**
1115
+ * The number of assets to be sent is over the maximum.
1116
+ **/
1117
+ TooManyAssetsBeingSent: GenericPalletError;
1118
+
1119
+ /**
1120
+ * The specified index does not exist in a MultiAssets struct.
1121
+ **/
1122
+ AssetIndexNonExistent: GenericPalletError;
1123
+
1124
+ /**
1125
+ * Fee is not enough.
1126
+ **/
1127
+ FeeNotEnough: GenericPalletError;
1128
+
1129
+ /**
1130
+ * Not supported MultiLocation
1131
+ **/
1132
+ NotSupportedMultiLocation: GenericPalletError;
1133
+
1134
+ /**
1135
+ * MinXcmFee not registered for certain reserve location
1136
+ **/
1137
+ MinXcmFeeNotDefined: GenericPalletError;
1138
+
1139
+ /**
1140
+ * Generic pallet error
1141
+ **/
1142
+ [error: string]: GenericPalletError;
1143
+ };
1144
+ /**
1145
+ * Pallet `EVM`'s errors
1146
+ **/
1147
+ evm: {
1148
+ /**
1149
+ * Not enough balance to perform action
1150
+ **/
1151
+ BalanceLow: GenericPalletError;
1152
+
1153
+ /**
1154
+ * Calculating total fee overflowed
1155
+ **/
1156
+ FeeOverflow: GenericPalletError;
1157
+
1158
+ /**
1159
+ * Calculating total payment overflowed
1160
+ **/
1161
+ PaymentOverflow: GenericPalletError;
1162
+
1163
+ /**
1164
+ * Withdraw fee failed
1165
+ **/
1166
+ WithdrawFailed: GenericPalletError;
1167
+
1168
+ /**
1169
+ * Gas price is too low.
1170
+ **/
1171
+ GasPriceTooLow: GenericPalletError;
1172
+
1173
+ /**
1174
+ * Nonce is invalid
1175
+ **/
1176
+ InvalidNonce: GenericPalletError;
1177
+
1178
+ /**
1179
+ * Gas limit is too low.
1180
+ **/
1181
+ GasLimitTooLow: GenericPalletError;
1182
+
1183
+ /**
1184
+ * Gas limit is too high.
1185
+ **/
1186
+ GasLimitTooHigh: GenericPalletError;
1187
+
1188
+ /**
1189
+ * Undefined error.
1190
+ **/
1191
+ Undefined: GenericPalletError;
1192
+
1193
+ /**
1194
+ * EVM reentrancy
1195
+ **/
1196
+ Reentrancy: GenericPalletError;
1197
+
1198
+ /**
1199
+ * EIP-3607,
1200
+ **/
1201
+ TransactionMustComeFromEOA: GenericPalletError;
1202
+
1203
+ /**
1204
+ * Generic pallet error
1205
+ **/
1206
+ [error: string]: GenericPalletError;
1207
+ };
1208
+ /**
1209
+ * Pallet `Ethereum`'s errors
1210
+ **/
1211
+ ethereum: {
1212
+ /**
1213
+ * Signature is invalid.
1214
+ **/
1215
+ InvalidSignature: GenericPalletError;
1216
+
1217
+ /**
1218
+ * Pre-log is present, therefore transact is not allowed.
1219
+ **/
1220
+ PreLogExists: GenericPalletError;
1221
+
1222
+ /**
1223
+ * Generic pallet error
1224
+ **/
1225
+ [error: string]: GenericPalletError;
1226
+ };
1227
+ /**
1228
+ * Pallet `DynamicEvmBaseFee`'s errors
1229
+ **/
1230
+ dynamicEvmBaseFee: {
1231
+ /**
1232
+ * Specified value is outside of the allowed range.
1233
+ **/
1234
+ ValueOutOfBounds: GenericPalletError;
1235
+
1236
+ /**
1237
+ * Generic pallet error
1238
+ **/
1239
+ [error: string]: GenericPalletError;
1240
+ };
1241
+ /**
1242
+ * Pallet `Contracts`'s errors
1243
+ **/
1244
+ contracts: {
1245
+ /**
1246
+ * A new schedule must have a greater version than the current one.
1247
+ **/
1248
+ InvalidScheduleVersion: GenericPalletError;
1249
+
1250
+ /**
1251
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1252
+ **/
1253
+ InvalidCallFlags: GenericPalletError;
1254
+
1255
+ /**
1256
+ * The executed contract exhausted its gas limit.
1257
+ **/
1258
+ OutOfGas: GenericPalletError;
1259
+
1260
+ /**
1261
+ * The output buffer supplied to a contract API call was too small.
1262
+ **/
1263
+ OutputBufferTooSmall: GenericPalletError;
1264
+
1265
+ /**
1266
+ * Performing the requested transfer failed. Probably because there isn't enough
1267
+ * free balance in the sender's account.
1268
+ **/
1269
+ TransferFailed: GenericPalletError;
1270
+
1271
+ /**
1272
+ * Performing a call was denied because the calling depth reached the limit
1273
+ * of what is specified in the schedule.
1274
+ **/
1275
+ MaxCallDepthReached: GenericPalletError;
1276
+
1277
+ /**
1278
+ * No contract was found at the specified address.
1279
+ **/
1280
+ ContractNotFound: GenericPalletError;
1281
+
1282
+ /**
1283
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
1284
+ * current schedule.
1285
+ **/
1286
+ CodeTooLarge: GenericPalletError;
1287
+
1288
+ /**
1289
+ * No code could be found at the supplied code hash.
1290
+ **/
1291
+ CodeNotFound: GenericPalletError;
1292
+
1293
+ /**
1294
+ * A buffer outside of sandbox memory was passed to a contract API function.
1295
+ **/
1296
+ OutOfBounds: GenericPalletError;
1297
+
1298
+ /**
1299
+ * Input passed to a contract API function failed to decode as expected type.
1300
+ **/
1301
+ DecodingFailed: GenericPalletError;
1302
+
1303
+ /**
1304
+ * Contract trapped during execution.
1305
+ **/
1306
+ ContractTrapped: GenericPalletError;
1307
+
1308
+ /**
1309
+ * The size defined in `T::MaxValueSize` was exceeded.
1310
+ **/
1311
+ ValueTooLarge: GenericPalletError;
1312
+
1313
+ /**
1314
+ * Termination of a contract is not allowed while the contract is already
1315
+ * on the call stack. Can be triggered by `seal_terminate`.
1316
+ **/
1317
+ TerminatedWhileReentrant: GenericPalletError;
1318
+
1319
+ /**
1320
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1321
+ **/
1322
+ InputForwarded: GenericPalletError;
1323
+
1324
+ /**
1325
+ * The subject passed to `seal_random` exceeds the limit.
1326
+ **/
1327
+ RandomSubjectTooLong: GenericPalletError;
1328
+
1329
+ /**
1330
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
1331
+ **/
1332
+ TooManyTopics: GenericPalletError;
1333
+
1334
+ /**
1335
+ * The chain does not provide a chain extension. Calling the chain extension results
1336
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
1337
+ * is rejected.
1338
+ **/
1339
+ NoChainExtension: GenericPalletError;
1340
+
1341
+ /**
1342
+ * A contract with the same AccountId already exists.
1343
+ **/
1344
+ DuplicateContract: GenericPalletError;
1345
+
1346
+ /**
1347
+ * A contract self destructed in its constructor.
1348
+ *
1349
+ * This can be triggered by a call to `seal_terminate`.
1350
+ **/
1351
+ TerminatedInConstructor: GenericPalletError;
1352
+
1353
+ /**
1354
+ * A call tried to invoke a contract that is flagged as non-reentrant.
1355
+ * The only other cause is that a call from a contract into the runtime tried to call back
1356
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
1357
+ * contract code execution which is not supported.
1358
+ **/
1359
+ ReentranceDenied: GenericPalletError;
1360
+
1361
+ /**
1362
+ * Origin doesn't have enough balance to pay the required storage deposits.
1363
+ **/
1364
+ StorageDepositNotEnoughFunds: GenericPalletError;
1365
+
1366
+ /**
1367
+ * More storage was created than allowed by the storage deposit limit.
1368
+ **/
1369
+ StorageDepositLimitExhausted: GenericPalletError;
1370
+
1371
+ /**
1372
+ * Code removal was denied because the code is still in use by at least one contract.
1373
+ **/
1374
+ CodeInUse: GenericPalletError;
1375
+
1376
+ /**
1377
+ * The contract ran to completion but decided to revert its storage changes.
1378
+ * Please note that this error is only returned from extrinsics. When called directly
1379
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1380
+ * to determine whether a reversion has taken place.
1381
+ **/
1382
+ ContractReverted: GenericPalletError;
1383
+
1384
+ /**
1385
+ * The contract's code was found to be invalid during validation or instrumentation.
1386
+ *
1387
+ * The most likely cause of this is that an API was used which is not supported by the
1388
+ * node. This happens if an older node is used with a new version of ink!. Try updating
1389
+ * your node to the newest available version.
1390
+ *
1391
+ * A more detailed error can be found on the node console if debug messages are enabled
1392
+ * by supplying `-lruntime::contracts=debug`.
1393
+ **/
1394
+ CodeRejected: GenericPalletError;
1395
+
1396
+ /**
1397
+ * An indetermistic code was used in a context where this is not permitted.
1398
+ **/
1399
+ Indeterministic: GenericPalletError;
1400
+
1401
+ /**
1402
+ * A pending migration needs to complete before the extrinsic can be called.
1403
+ **/
1404
+ MigrationInProgress: GenericPalletError;
1405
+
1406
+ /**
1407
+ * Migrate dispatch call was attempted but no migration was performed.
1408
+ **/
1409
+ NoMigrationPerformed: GenericPalletError;
1410
+
1411
+ /**
1412
+ * Generic pallet error
1413
+ **/
1414
+ [error: string]: GenericPalletError;
1415
+ };
1416
+ /**
1417
+ * Pallet `Sudo`'s errors
1418
+ **/
1419
+ sudo: {
1420
+ /**
1421
+ * Sender must be the Sudo account
1422
+ **/
1423
+ RequireSudo: GenericPalletError;
1424
+
1425
+ /**
1426
+ * Generic pallet error
1427
+ **/
1428
+ [error: string]: GenericPalletError;
1429
+ };
1430
+ /**
1431
+ * Pallet `StaticPriceProvider`'s errors
1432
+ **/
1433
+ staticPriceProvider: {
1434
+ /**
1435
+ * Zero is invalid value for the price (hopefully).
1436
+ **/
1437
+ ZeroPrice: GenericPalletError;
1438
+
1439
+ /**
1440
+ * Generic pallet error
1441
+ **/
1442
+ [error: string]: GenericPalletError;
1443
+ };
1444
+ /**
1445
+ * Pallet `DappsStaking`'s errors
1446
+ **/
1447
+ dappsStaking: {
1448
+ /**
1449
+ * Disabled
1450
+ **/
1451
+ Disabled: GenericPalletError;
1452
+
1453
+ /**
1454
+ * No change in maintenance mode
1455
+ **/
1456
+ NoMaintenanceModeChange: GenericPalletError;
1457
+
1458
+ /**
1459
+ * Upgrade is too heavy, reduce the weight parameter.
1460
+ **/
1461
+ UpgradeTooHeavy: GenericPalletError;
1462
+
1463
+ /**
1464
+ * Can not stake with zero value.
1465
+ **/
1466
+ StakingWithNoValue: GenericPalletError;
1467
+
1468
+ /**
1469
+ * Can not stake with value less than minimum staking value
1470
+ **/
1471
+ InsufficientValue: GenericPalletError;
1472
+
1473
+ /**
1474
+ * Number of stakers per contract exceeded.
1475
+ **/
1476
+ MaxNumberOfStakersExceeded: GenericPalletError;
1477
+
1478
+ /**
1479
+ * Targets must be operated contracts
1480
+ **/
1481
+ NotOperatedContract: GenericPalletError;
1482
+
1483
+ /**
1484
+ * Contract isn't staked.
1485
+ **/
1486
+ NotStakedContract: GenericPalletError;
1487
+
1488
+ /**
1489
+ * Contract isn't unregistered.
1490
+ **/
1491
+ NotUnregisteredContract: GenericPalletError;
1492
+
1493
+ /**
1494
+ * Unclaimed rewards should be claimed before withdrawing stake.
1495
+ **/
1496
+ UnclaimedRewardsRemaining: GenericPalletError;
1497
+
1498
+ /**
1499
+ * Unstaking a contract with zero value
1500
+ **/
1501
+ UnstakingWithNoValue: GenericPalletError;
1502
+
1503
+ /**
1504
+ * There are no previously unbonded funds that can be unstaked and withdrawn.
1505
+ **/
1506
+ NothingToWithdraw: GenericPalletError;
1507
+
1508
+ /**
1509
+ * The contract is already registered by other account
1510
+ **/
1511
+ AlreadyRegisteredContract: GenericPalletError;
1512
+
1513
+ /**
1514
+ * This account was already used to register contract
1515
+ **/
1516
+ AlreadyUsedDeveloperAccount: GenericPalletError;
1517
+
1518
+ /**
1519
+ * Smart contract not owned by the account id.
1520
+ **/
1521
+ NotOwnedContract: GenericPalletError;
1522
+
1523
+ /**
1524
+ * Report issue on github if this is ever emitted
1525
+ **/
1526
+ UnknownEraReward: GenericPalletError;
1527
+
1528
+ /**
1529
+ * Report issue on github if this is ever emitted
1530
+ **/
1531
+ UnexpectedStakeInfoEra: GenericPalletError;
1532
+
1533
+ /**
1534
+ * Contract has too many unlocking chunks. Withdraw the existing chunks if possible
1535
+ * or wait for current chunks to complete unlocking process to withdraw them.
1536
+ **/
1537
+ TooManyUnlockingChunks: GenericPalletError;
1538
+
1539
+ /**
1540
+ * Contract already claimed in this era and reward is distributed
1541
+ **/
1542
+ AlreadyClaimedInThisEra: GenericPalletError;
1543
+
1544
+ /**
1545
+ * Era parameter is out of bounds
1546
+ **/
1547
+ EraOutOfBounds: GenericPalletError;
1548
+
1549
+ /**
1550
+ * Too many active `EraStake` values for (staker, contract) pairing.
1551
+ * Claim existing rewards to fix this problem.
1552
+ **/
1553
+ TooManyEraStakeValues: GenericPalletError;
1554
+
1555
+ /**
1556
+ * Account is not actively staking
1557
+ **/
1558
+ NotActiveStaker: GenericPalletError;
1559
+
1560
+ /**
1561
+ * Transfering nomination to the same contract
1562
+ **/
1563
+ NominationTransferToSameContract: GenericPalletError;
1564
+
1565
+ /**
1566
+ * Decommission is in progress so this call is not allowed.
1567
+ **/
1568
+ DecommissionInProgress: GenericPalletError;
1569
+
1570
+ /**
1571
+ * Delegated claim call is not allowed if both the staker & caller are the same accounts.
1572
+ **/
1573
+ ClaimForCallerAccount: GenericPalletError;
1574
+
1575
+ /**
1576
+ * Generic pallet error
1577
+ **/
1578
+ [error: string]: GenericPalletError;
1579
+ };
1580
+ }