@dedot/chaintypes 0.0.1-alpha.3 → 0.0.1-alpha.30

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 (287) hide show
  1. package/aleph/consts.d.ts +590 -528
  2. package/aleph/errors.d.ts +981 -818
  3. package/aleph/events.d.ts +924 -937
  4. package/aleph/index.d.ts +11 -8
  5. package/aleph/query.d.ts +1477 -1268
  6. package/aleph/rpc.d.ts +725 -573
  7. package/aleph/runtime.d.ts +541 -406
  8. package/aleph/tx.d.ts +2664 -2202
  9. package/aleph/types.d.ts +3474 -5388
  10. package/astar/consts.d.ts +775 -675
  11. package/astar/errors.d.ts +1601 -1313
  12. package/astar/events.d.ts +1762 -1628
  13. package/astar/index.d.ts +11 -8
  14. package/astar/query.d.ts +1804 -1471
  15. package/astar/rpc.d.ts +972 -773
  16. package/astar/runtime.d.ts +747 -258
  17. package/astar/tx.d.ts +4016 -4806
  18. package/astar/types.d.ts +6474 -12262
  19. package/index.d.ts +1 -0
  20. package/index.ts +11 -0
  21. package/kusama/consts.d.ts +1573 -1422
  22. package/kusama/errors.d.ts +2995 -2490
  23. package/kusama/events.d.ts +2996 -2723
  24. package/kusama/index.d.ts +11 -8
  25. package/kusama/query.d.ts +3828 -3248
  26. package/kusama/rpc.d.ts +902 -724
  27. package/kusama/runtime.d.ts +1130 -840
  28. package/kusama/tx.d.ts +7073 -6010
  29. package/kusama/types.d.ts +10151 -15344
  30. package/kusamaAssetHub/consts.d.ts +714 -627
  31. package/kusamaAssetHub/errors.d.ts +1405 -1160
  32. package/kusamaAssetHub/events.d.ts +2149 -2060
  33. package/kusamaAssetHub/index.d.ts +11 -8
  34. package/kusamaAssetHub/query.d.ts +1551 -1298
  35. package/kusamaAssetHub/rpc.d.ts +744 -588
  36. package/kusamaAssetHub/runtime.d.ts +510 -398
  37. package/kusamaAssetHub/tx.d.ts +5050 -4212
  38. package/kusamaAssetHub/types.d.ts +5976 -10009
  39. package/moonbeam/consts.d.ts +1075 -956
  40. package/moonbeam/errors.d.ts +2131 -1793
  41. package/moonbeam/events.d.ts +2932 -2681
  42. package/moonbeam/index.d.ts +11 -8
  43. package/moonbeam/query.d.ts +2391 -2024
  44. package/moonbeam/rpc.d.ts +1013 -807
  45. package/moonbeam/runtime.d.ts +665 -502
  46. package/moonbeam/tx.d.ts +6152 -5201
  47. package/moonbeam/types.d.ts +7731 -12035
  48. package/package.json +9 -16
  49. package/polkadot/consts.d.ts +1272 -1155
  50. package/polkadot/errors.d.ts +2420 -2016
  51. package/polkadot/events.d.ts +2314 -2092
  52. package/polkadot/index.d.ts +11 -8
  53. package/polkadot/query.d.ts +3319 -2808
  54. package/polkadot/rpc.d.ts +902 -724
  55. package/polkadot/runtime.d.ts +1130 -840
  56. package/polkadot/tx.d.ts +5909 -5005
  57. package/polkadot/types.d.ts +8742 -13290
  58. package/polkadotAssetHub/consts.d.ts +586 -519
  59. package/polkadotAssetHub/errors.d.ts +1115 -921
  60. package/polkadotAssetHub/events.d.ts +1850 -1782
  61. package/polkadotAssetHub/index.d.ts +11 -8
  62. package/polkadotAssetHub/query.d.ts +1457 -1219
  63. package/polkadotAssetHub/rpc.d.ts +744 -588
  64. package/polkadotAssetHub/runtime.d.ts +447 -355
  65. package/polkadotAssetHub/tx.d.ts +4184 -3487
  66. package/polkadotAssetHub/types.d.ts +5183 -8808
  67. package/rococo/consts.d.ts +1396 -0
  68. package/rococo/errors.d.ts +2860 -0
  69. package/rococo/events.d.ts +3142 -0
  70. package/rococo/index.d.ts +22 -0
  71. package/rococo/query.d.ts +3275 -0
  72. package/rococo/rpc.d.ts +904 -0
  73. package/rococo/runtime.d.ts +1052 -0
  74. package/rococo/tx.d.ts +9083 -0
  75. package/rococo/types.d.ts +14573 -0
  76. package/rococoAssetHub/consts.d.ts +751 -653
  77. package/rococoAssetHub/errors.d.ts +1495 -1227
  78. package/rococoAssetHub/events.d.ts +2127 -2047
  79. package/rococoAssetHub/index.d.ts +11 -8
  80. package/rococoAssetHub/query.d.ts +1520 -1266
  81. package/rococoAssetHub/rpc.d.ts +744 -588
  82. package/rococoAssetHub/runtime.d.ts +539 -424
  83. package/rococoAssetHub/tx.d.ts +7826 -4302
  84. package/rococoAssetHub/types.d.ts +11614 -10637
  85. package/substrate/consts.d.ts +2218 -1966
  86. package/substrate/errors.d.ts +4019 -3333
  87. package/substrate/events.d.ts +4585 -4255
  88. package/substrate/index.d.ts +11 -8
  89. package/substrate/query.d.ts +3887 -3347
  90. package/substrate/rpc.d.ts +913 -716
  91. package/substrate/runtime.d.ts +937 -704
  92. package/substrate/tx.d.ts +10387 -8796
  93. package/substrate/types.d.ts +12809 -19761
  94. package/westendAssetHub/consts.d.ts +745 -653
  95. package/westendAssetHub/errors.d.ts +1490 -1227
  96. package/westendAssetHub/events.d.ts +2127 -2047
  97. package/westendAssetHub/index.d.ts +11 -8
  98. package/westendAssetHub/query.d.ts +1513 -1266
  99. package/westendAssetHub/rpc.d.ts +744 -588
  100. package/westendAssetHub/runtime.d.ts +605 -452
  101. package/westendAssetHub/tx.d.ts +5164 -4302
  102. package/westendAssetHub/types.d.ts +6321 -10633
  103. package/aleph/consts.js +0 -2
  104. package/aleph/errors.js +0 -2
  105. package/aleph/events.js +0 -2
  106. package/aleph/index.js +0 -3
  107. package/aleph/query.js +0 -2
  108. package/aleph/rpc.js +0 -2
  109. package/aleph/runtime.js +0 -2
  110. package/aleph/tx.js +0 -2
  111. package/aleph/types.js +0 -2
  112. package/astar/consts.js +0 -2
  113. package/astar/errors.js +0 -2
  114. package/astar/events.js +0 -2
  115. package/astar/index.js +0 -3
  116. package/astar/query.js +0 -2
  117. package/astar/rpc.js +0 -2
  118. package/astar/runtime.js +0 -2
  119. package/astar/tx.js +0 -2
  120. package/astar/types.js +0 -2
  121. package/cjs/aleph/consts.js +0 -3
  122. package/cjs/aleph/errors.js +0 -3
  123. package/cjs/aleph/events.js +0 -3
  124. package/cjs/aleph/index.js +0 -19
  125. package/cjs/aleph/query.js +0 -3
  126. package/cjs/aleph/rpc.js +0 -3
  127. package/cjs/aleph/runtime.js +0 -3
  128. package/cjs/aleph/tx.js +0 -3
  129. package/cjs/aleph/types.js +0 -3
  130. package/cjs/astar/consts.js +0 -3
  131. package/cjs/astar/errors.js +0 -3
  132. package/cjs/astar/events.js +0 -3
  133. package/cjs/astar/index.js +0 -19
  134. package/cjs/astar/query.js +0 -3
  135. package/cjs/astar/rpc.js +0 -3
  136. package/cjs/astar/runtime.js +0 -3
  137. package/cjs/astar/tx.js +0 -3
  138. package/cjs/astar/types.js +0 -3
  139. package/cjs/index.js +0 -2
  140. package/cjs/kusama/consts.js +0 -3
  141. package/cjs/kusama/errors.js +0 -3
  142. package/cjs/kusama/events.js +0 -3
  143. package/cjs/kusama/index.js +0 -19
  144. package/cjs/kusama/query.js +0 -3
  145. package/cjs/kusama/rpc.js +0 -3
  146. package/cjs/kusama/runtime.js +0 -3
  147. package/cjs/kusama/tx.js +0 -3
  148. package/cjs/kusama/types.js +0 -3
  149. package/cjs/kusamaAssetHub/consts.js +0 -3
  150. package/cjs/kusamaAssetHub/errors.js +0 -3
  151. package/cjs/kusamaAssetHub/events.js +0 -3
  152. package/cjs/kusamaAssetHub/index.js +0 -19
  153. package/cjs/kusamaAssetHub/query.js +0 -3
  154. package/cjs/kusamaAssetHub/rpc.js +0 -3
  155. package/cjs/kusamaAssetHub/runtime.js +0 -3
  156. package/cjs/kusamaAssetHub/tx.js +0 -3
  157. package/cjs/kusamaAssetHub/types.js +0 -3
  158. package/cjs/moonbeam/consts.js +0 -3
  159. package/cjs/moonbeam/errors.js +0 -3
  160. package/cjs/moonbeam/events.js +0 -3
  161. package/cjs/moonbeam/index.js +0 -19
  162. package/cjs/moonbeam/query.js +0 -3
  163. package/cjs/moonbeam/rpc.js +0 -3
  164. package/cjs/moonbeam/runtime.js +0 -3
  165. package/cjs/moonbeam/tx.js +0 -3
  166. package/cjs/moonbeam/types.js +0 -3
  167. package/cjs/package.json +0 -1
  168. package/cjs/packageInfo.js +0 -5
  169. package/cjs/polkadot/consts.js +0 -3
  170. package/cjs/polkadot/errors.js +0 -3
  171. package/cjs/polkadot/events.js +0 -3
  172. package/cjs/polkadot/index.js +0 -19
  173. package/cjs/polkadot/query.js +0 -3
  174. package/cjs/polkadot/rpc.js +0 -3
  175. package/cjs/polkadot/runtime.js +0 -3
  176. package/cjs/polkadot/tx.js +0 -3
  177. package/cjs/polkadot/types.js +0 -3
  178. package/cjs/polkadotAssetHub/consts.js +0 -3
  179. package/cjs/polkadotAssetHub/errors.js +0 -3
  180. package/cjs/polkadotAssetHub/events.js +0 -3
  181. package/cjs/polkadotAssetHub/index.js +0 -19
  182. package/cjs/polkadotAssetHub/query.js +0 -3
  183. package/cjs/polkadotAssetHub/rpc.js +0 -3
  184. package/cjs/polkadotAssetHub/runtime.js +0 -3
  185. package/cjs/polkadotAssetHub/tx.js +0 -3
  186. package/cjs/polkadotAssetHub/types.js +0 -3
  187. package/cjs/rococoAssetHub/consts.js +0 -3
  188. package/cjs/rococoAssetHub/errors.js +0 -3
  189. package/cjs/rococoAssetHub/events.js +0 -3
  190. package/cjs/rococoAssetHub/index.js +0 -19
  191. package/cjs/rococoAssetHub/query.js +0 -3
  192. package/cjs/rococoAssetHub/rpc.js +0 -3
  193. package/cjs/rococoAssetHub/runtime.js +0 -3
  194. package/cjs/rococoAssetHub/tx.js +0 -3
  195. package/cjs/rococoAssetHub/types.js +0 -3
  196. package/cjs/substrate/consts.js +0 -3
  197. package/cjs/substrate/errors.js +0 -3
  198. package/cjs/substrate/events.js +0 -3
  199. package/cjs/substrate/index.js +0 -19
  200. package/cjs/substrate/query.js +0 -3
  201. package/cjs/substrate/rpc.js +0 -3
  202. package/cjs/substrate/runtime.js +0 -3
  203. package/cjs/substrate/tx.js +0 -3
  204. package/cjs/substrate/types.js +0 -3
  205. package/cjs/westendAssetHub/consts.js +0 -3
  206. package/cjs/westendAssetHub/errors.js +0 -3
  207. package/cjs/westendAssetHub/events.js +0 -3
  208. package/cjs/westendAssetHub/index.js +0 -19
  209. package/cjs/westendAssetHub/query.js +0 -3
  210. package/cjs/westendAssetHub/rpc.js +0 -3
  211. package/cjs/westendAssetHub/runtime.js +0 -3
  212. package/cjs/westendAssetHub/tx.js +0 -3
  213. package/cjs/westendAssetHub/types.js +0 -3
  214. package/kusama/consts.js +0 -2
  215. package/kusama/errors.js +0 -2
  216. package/kusama/events.js +0 -2
  217. package/kusama/index.js +0 -3
  218. package/kusama/query.js +0 -2
  219. package/kusama/rpc.js +0 -2
  220. package/kusama/runtime.js +0 -2
  221. package/kusama/tx.js +0 -2
  222. package/kusama/types.js +0 -2
  223. package/kusamaAssetHub/consts.js +0 -2
  224. package/kusamaAssetHub/errors.js +0 -2
  225. package/kusamaAssetHub/events.js +0 -2
  226. package/kusamaAssetHub/index.js +0 -3
  227. package/kusamaAssetHub/query.js +0 -2
  228. package/kusamaAssetHub/rpc.js +0 -2
  229. package/kusamaAssetHub/runtime.js +0 -2
  230. package/kusamaAssetHub/tx.js +0 -2
  231. package/kusamaAssetHub/types.js +0 -2
  232. package/moonbeam/consts.js +0 -2
  233. package/moonbeam/errors.js +0 -2
  234. package/moonbeam/events.js +0 -2
  235. package/moonbeam/index.js +0 -3
  236. package/moonbeam/query.js +0 -2
  237. package/moonbeam/rpc.js +0 -2
  238. package/moonbeam/runtime.js +0 -2
  239. package/moonbeam/tx.js +0 -2
  240. package/moonbeam/types.js +0 -2
  241. package/packageInfo.d.ts +0 -4
  242. package/packageInfo.js +0 -2
  243. package/polkadot/consts.js +0 -2
  244. package/polkadot/errors.js +0 -2
  245. package/polkadot/events.js +0 -2
  246. package/polkadot/index.js +0 -3
  247. package/polkadot/query.js +0 -2
  248. package/polkadot/rpc.js +0 -2
  249. package/polkadot/runtime.js +0 -2
  250. package/polkadot/tx.js +0 -2
  251. package/polkadot/types.js +0 -2
  252. package/polkadotAssetHub/consts.js +0 -2
  253. package/polkadotAssetHub/errors.js +0 -2
  254. package/polkadotAssetHub/events.js +0 -2
  255. package/polkadotAssetHub/index.js +0 -3
  256. package/polkadotAssetHub/query.js +0 -2
  257. package/polkadotAssetHub/rpc.js +0 -2
  258. package/polkadotAssetHub/runtime.js +0 -2
  259. package/polkadotAssetHub/tx.js +0 -2
  260. package/polkadotAssetHub/types.js +0 -2
  261. package/rococoAssetHub/consts.js +0 -2
  262. package/rococoAssetHub/errors.js +0 -2
  263. package/rococoAssetHub/events.js +0 -2
  264. package/rococoAssetHub/index.js +0 -3
  265. package/rococoAssetHub/query.js +0 -2
  266. package/rococoAssetHub/rpc.js +0 -2
  267. package/rococoAssetHub/runtime.js +0 -2
  268. package/rococoAssetHub/tx.js +0 -2
  269. package/rococoAssetHub/types.js +0 -2
  270. package/substrate/consts.js +0 -2
  271. package/substrate/errors.js +0 -2
  272. package/substrate/events.js +0 -2
  273. package/substrate/index.js +0 -3
  274. package/substrate/query.js +0 -2
  275. package/substrate/rpc.js +0 -2
  276. package/substrate/runtime.js +0 -2
  277. package/substrate/tx.js +0 -2
  278. package/substrate/types.js +0 -2
  279. package/westendAssetHub/consts.js +0 -2
  280. package/westendAssetHub/errors.js +0 -2
  281. package/westendAssetHub/events.js +0 -2
  282. package/westendAssetHub/index.js +0 -3
  283. package/westendAssetHub/query.js +0 -2
  284. package/westendAssetHub/rpc.js +0 -2
  285. package/westendAssetHub/runtime.js +0 -2
  286. package/westendAssetHub/tx.js +0 -2
  287. package/westendAssetHub/types.js +0 -2
@@ -0,0 +1,2860 @@
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
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
46
+ **/
47
+ MultiBlockMigrationsOngoing: GenericPalletError;
48
+
49
+ /**
50
+ * No upgrade authorized.
51
+ **/
52
+ NothingAuthorized: GenericPalletError;
53
+
54
+ /**
55
+ * The submitted code is not authorized.
56
+ **/
57
+ Unauthorized: GenericPalletError;
58
+
59
+ /**
60
+ * Generic pallet error
61
+ **/
62
+ [error: string]: GenericPalletError;
63
+ };
64
+ /**
65
+ * Pallet `Babe`'s errors
66
+ **/
67
+ babe: {
68
+ /**
69
+ * An equivocation proof provided as part of an equivocation report is invalid.
70
+ **/
71
+ InvalidEquivocationProof: GenericPalletError;
72
+
73
+ /**
74
+ * A key ownership proof provided as part of an equivocation report is invalid.
75
+ **/
76
+ InvalidKeyOwnershipProof: GenericPalletError;
77
+
78
+ /**
79
+ * A given equivocation report is valid but already previously reported.
80
+ **/
81
+ DuplicateOffenceReport: GenericPalletError;
82
+
83
+ /**
84
+ * Submitted configuration is invalid.
85
+ **/
86
+ InvalidConfiguration: GenericPalletError;
87
+
88
+ /**
89
+ * Generic pallet error
90
+ **/
91
+ [error: string]: GenericPalletError;
92
+ };
93
+ /**
94
+ * Pallet `Indices`'s errors
95
+ **/
96
+ indices: {
97
+ /**
98
+ * The index was not already assigned.
99
+ **/
100
+ NotAssigned: GenericPalletError;
101
+
102
+ /**
103
+ * The index is assigned to another account.
104
+ **/
105
+ NotOwner: GenericPalletError;
106
+
107
+ /**
108
+ * The index was not available.
109
+ **/
110
+ InUse: GenericPalletError;
111
+
112
+ /**
113
+ * The source and destination accounts are identical.
114
+ **/
115
+ NotTransfer: GenericPalletError;
116
+
117
+ /**
118
+ * The index is permanent and may not be freed/changed.
119
+ **/
120
+ Permanent: GenericPalletError;
121
+
122
+ /**
123
+ * Generic pallet error
124
+ **/
125
+ [error: string]: GenericPalletError;
126
+ };
127
+ /**
128
+ * Pallet `Balances`'s errors
129
+ **/
130
+ balances: {
131
+ /**
132
+ * Vesting balance too high to send value.
133
+ **/
134
+ VestingBalance: GenericPalletError;
135
+
136
+ /**
137
+ * Account liquidity restrictions prevent withdrawal.
138
+ **/
139
+ LiquidityRestrictions: GenericPalletError;
140
+
141
+ /**
142
+ * Balance too low to send value.
143
+ **/
144
+ InsufficientBalance: GenericPalletError;
145
+
146
+ /**
147
+ * Value too low to create account due to existential deposit.
148
+ **/
149
+ ExistentialDeposit: GenericPalletError;
150
+
151
+ /**
152
+ * Transfer/payment would kill account.
153
+ **/
154
+ Expendability: GenericPalletError;
155
+
156
+ /**
157
+ * A vesting schedule already exists for this account.
158
+ **/
159
+ ExistingVestingSchedule: GenericPalletError;
160
+
161
+ /**
162
+ * Beneficiary account must pre-exist.
163
+ **/
164
+ DeadAccount: GenericPalletError;
165
+
166
+ /**
167
+ * Number of named reserves exceed `MaxReserves`.
168
+ **/
169
+ TooManyReserves: GenericPalletError;
170
+
171
+ /**
172
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
173
+ **/
174
+ TooManyHolds: GenericPalletError;
175
+
176
+ /**
177
+ * Number of freezes exceed `MaxFreezes`.
178
+ **/
179
+ TooManyFreezes: GenericPalletError;
180
+
181
+ /**
182
+ * The issuance cannot be modified since it is already deactivated.
183
+ **/
184
+ IssuanceDeactivated: GenericPalletError;
185
+
186
+ /**
187
+ * The delta cannot be zero.
188
+ **/
189
+ DeltaZero: GenericPalletError;
190
+
191
+ /**
192
+ * Generic pallet error
193
+ **/
194
+ [error: string]: GenericPalletError;
195
+ };
196
+ /**
197
+ * Pallet `Session`'s errors
198
+ **/
199
+ session: {
200
+ /**
201
+ * Invalid ownership proof.
202
+ **/
203
+ InvalidProof: GenericPalletError;
204
+
205
+ /**
206
+ * No associated validator ID for account.
207
+ **/
208
+ NoAssociatedValidatorId: GenericPalletError;
209
+
210
+ /**
211
+ * Registered duplicate key.
212
+ **/
213
+ DuplicatedKey: GenericPalletError;
214
+
215
+ /**
216
+ * No keys are associated with this account.
217
+ **/
218
+ NoKeys: GenericPalletError;
219
+
220
+ /**
221
+ * Key setting account is not live, so it's impossible to associate keys.
222
+ **/
223
+ NoAccount: GenericPalletError;
224
+
225
+ /**
226
+ * Generic pallet error
227
+ **/
228
+ [error: string]: GenericPalletError;
229
+ };
230
+ /**
231
+ * Pallet `Grandpa`'s errors
232
+ **/
233
+ grandpa: {
234
+ /**
235
+ * Attempt to signal GRANDPA pause when the authority set isn't live
236
+ * (either paused or already pending pause).
237
+ **/
238
+ PauseFailed: GenericPalletError;
239
+
240
+ /**
241
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
242
+ * (either live or already pending resume).
243
+ **/
244
+ ResumeFailed: GenericPalletError;
245
+
246
+ /**
247
+ * Attempt to signal GRANDPA change with one already pending.
248
+ **/
249
+ ChangePending: GenericPalletError;
250
+
251
+ /**
252
+ * Cannot signal forced change so soon after last.
253
+ **/
254
+ TooSoon: GenericPalletError;
255
+
256
+ /**
257
+ * A key ownership proof provided as part of an equivocation report is invalid.
258
+ **/
259
+ InvalidKeyOwnershipProof: GenericPalletError;
260
+
261
+ /**
262
+ * An equivocation proof provided as part of an equivocation report is invalid.
263
+ **/
264
+ InvalidEquivocationProof: GenericPalletError;
265
+
266
+ /**
267
+ * A given equivocation report is valid but already previously reported.
268
+ **/
269
+ DuplicateOffenceReport: GenericPalletError;
270
+
271
+ /**
272
+ * Generic pallet error
273
+ **/
274
+ [error: string]: GenericPalletError;
275
+ };
276
+ /**
277
+ * Pallet `Treasury`'s errors
278
+ **/
279
+ treasury: {
280
+ /**
281
+ * Proposer's balance is too low.
282
+ **/
283
+ InsufficientProposersBalance: GenericPalletError;
284
+
285
+ /**
286
+ * No proposal, bounty or spend at that index.
287
+ **/
288
+ InvalidIndex: GenericPalletError;
289
+
290
+ /**
291
+ * Too many approvals in the queue.
292
+ **/
293
+ TooManyApprovals: GenericPalletError;
294
+
295
+ /**
296
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
297
+ * amount to be spent.
298
+ **/
299
+ InsufficientPermission: GenericPalletError;
300
+
301
+ /**
302
+ * Proposal has not been approved.
303
+ **/
304
+ ProposalNotApproved: GenericPalletError;
305
+
306
+ /**
307
+ * The balance of the asset kind is not convertible to the balance of the native asset.
308
+ **/
309
+ FailedToConvertBalance: GenericPalletError;
310
+
311
+ /**
312
+ * The spend has expired and cannot be claimed.
313
+ **/
314
+ SpendExpired: GenericPalletError;
315
+
316
+ /**
317
+ * The spend is not yet eligible for payout.
318
+ **/
319
+ EarlyPayout: GenericPalletError;
320
+
321
+ /**
322
+ * The payment has already been attempted.
323
+ **/
324
+ AlreadyAttempted: GenericPalletError;
325
+
326
+ /**
327
+ * There was some issue with the mechanism of payment.
328
+ **/
329
+ PayoutError: GenericPalletError;
330
+
331
+ /**
332
+ * The payout was not yet attempted/claimed.
333
+ **/
334
+ NotAttempted: GenericPalletError;
335
+
336
+ /**
337
+ * The payment has neither failed nor succeeded yet.
338
+ **/
339
+ Inconclusive: GenericPalletError;
340
+
341
+ /**
342
+ * Generic pallet error
343
+ **/
344
+ [error: string]: GenericPalletError;
345
+ };
346
+ /**
347
+ * Pallet `ConvictionVoting`'s errors
348
+ **/
349
+ convictionVoting: {
350
+ /**
351
+ * Poll is not ongoing.
352
+ **/
353
+ NotOngoing: GenericPalletError;
354
+
355
+ /**
356
+ * The given account did not vote on the poll.
357
+ **/
358
+ NotVoter: GenericPalletError;
359
+
360
+ /**
361
+ * The actor has no permission to conduct the action.
362
+ **/
363
+ NoPermission: GenericPalletError;
364
+
365
+ /**
366
+ * The actor has no permission to conduct the action right now but will do in the future.
367
+ **/
368
+ NoPermissionYet: GenericPalletError;
369
+
370
+ /**
371
+ * The account is already delegating.
372
+ **/
373
+ AlreadyDelegating: GenericPalletError;
374
+
375
+ /**
376
+ * The account currently has votes attached to it and the operation cannot succeed until
377
+ * these are removed through `remove_vote`.
378
+ **/
379
+ AlreadyVoting: GenericPalletError;
380
+
381
+ /**
382
+ * Too high a balance was provided that the account cannot afford.
383
+ **/
384
+ InsufficientFunds: GenericPalletError;
385
+
386
+ /**
387
+ * The account is not currently delegating.
388
+ **/
389
+ NotDelegating: GenericPalletError;
390
+
391
+ /**
392
+ * Delegation to oneself makes no sense.
393
+ **/
394
+ Nonsense: GenericPalletError;
395
+
396
+ /**
397
+ * Maximum number of votes reached.
398
+ **/
399
+ MaxVotesReached: GenericPalletError;
400
+
401
+ /**
402
+ * The class must be supplied since it is not easily determinable from the state.
403
+ **/
404
+ ClassNeeded: GenericPalletError;
405
+
406
+ /**
407
+ * The class ID supplied is invalid.
408
+ **/
409
+ BadClass: GenericPalletError;
410
+
411
+ /**
412
+ * Generic pallet error
413
+ **/
414
+ [error: string]: GenericPalletError;
415
+ };
416
+ /**
417
+ * Pallet `Referenda`'s errors
418
+ **/
419
+ referenda: {
420
+ /**
421
+ * Referendum is not ongoing.
422
+ **/
423
+ NotOngoing: GenericPalletError;
424
+
425
+ /**
426
+ * Referendum's decision deposit is already paid.
427
+ **/
428
+ HasDeposit: GenericPalletError;
429
+
430
+ /**
431
+ * The track identifier given was invalid.
432
+ **/
433
+ BadTrack: GenericPalletError;
434
+
435
+ /**
436
+ * There are already a full complement of referenda in progress for this track.
437
+ **/
438
+ Full: GenericPalletError;
439
+
440
+ /**
441
+ * The queue of the track is empty.
442
+ **/
443
+ QueueEmpty: GenericPalletError;
444
+
445
+ /**
446
+ * The referendum index provided is invalid in this context.
447
+ **/
448
+ BadReferendum: GenericPalletError;
449
+
450
+ /**
451
+ * There was nothing to do in the advancement.
452
+ **/
453
+ NothingToDo: GenericPalletError;
454
+
455
+ /**
456
+ * No track exists for the proposal origin.
457
+ **/
458
+ NoTrack: GenericPalletError;
459
+
460
+ /**
461
+ * Any deposit cannot be refunded until after the decision is over.
462
+ **/
463
+ Unfinished: GenericPalletError;
464
+
465
+ /**
466
+ * The deposit refunder is not the depositor.
467
+ **/
468
+ NoPermission: GenericPalletError;
469
+
470
+ /**
471
+ * The deposit cannot be refunded since none was made.
472
+ **/
473
+ NoDeposit: GenericPalletError;
474
+
475
+ /**
476
+ * The referendum status is invalid for this operation.
477
+ **/
478
+ BadStatus: GenericPalletError;
479
+
480
+ /**
481
+ * The preimage does not exist.
482
+ **/
483
+ PreimageNotExist: GenericPalletError;
484
+
485
+ /**
486
+ * Generic pallet error
487
+ **/
488
+ [error: string]: GenericPalletError;
489
+ };
490
+ /**
491
+ * Pallet `FellowshipCollective`'s errors
492
+ **/
493
+ fellowshipCollective: {
494
+ /**
495
+ * Account is already a member.
496
+ **/
497
+ AlreadyMember: GenericPalletError;
498
+
499
+ /**
500
+ * Account is not a member.
501
+ **/
502
+ NotMember: GenericPalletError;
503
+
504
+ /**
505
+ * The given poll index is unknown or has closed.
506
+ **/
507
+ NotPolling: GenericPalletError;
508
+
509
+ /**
510
+ * The given poll is still ongoing.
511
+ **/
512
+ Ongoing: GenericPalletError;
513
+
514
+ /**
515
+ * There are no further records to be removed.
516
+ **/
517
+ NoneRemaining: GenericPalletError;
518
+
519
+ /**
520
+ * Unexpected error in state.
521
+ **/
522
+ Corruption: GenericPalletError;
523
+
524
+ /**
525
+ * The member's rank is too low to vote.
526
+ **/
527
+ RankTooLow: GenericPalletError;
528
+
529
+ /**
530
+ * The information provided is incorrect.
531
+ **/
532
+ InvalidWitness: GenericPalletError;
533
+
534
+ /**
535
+ * The origin is not sufficiently privileged to do the operation.
536
+ **/
537
+ NoPermission: GenericPalletError;
538
+
539
+ /**
540
+ * The new member to exchange is the same as the old member
541
+ **/
542
+ SameMember: GenericPalletError;
543
+
544
+ /**
545
+ * Generic pallet error
546
+ **/
547
+ [error: string]: GenericPalletError;
548
+ };
549
+ /**
550
+ * Pallet `FellowshipReferenda`'s errors
551
+ **/
552
+ fellowshipReferenda: {
553
+ /**
554
+ * Referendum is not ongoing.
555
+ **/
556
+ NotOngoing: GenericPalletError;
557
+
558
+ /**
559
+ * Referendum's decision deposit is already paid.
560
+ **/
561
+ HasDeposit: GenericPalletError;
562
+
563
+ /**
564
+ * The track identifier given was invalid.
565
+ **/
566
+ BadTrack: GenericPalletError;
567
+
568
+ /**
569
+ * There are already a full complement of referenda in progress for this track.
570
+ **/
571
+ Full: GenericPalletError;
572
+
573
+ /**
574
+ * The queue of the track is empty.
575
+ **/
576
+ QueueEmpty: GenericPalletError;
577
+
578
+ /**
579
+ * The referendum index provided is invalid in this context.
580
+ **/
581
+ BadReferendum: GenericPalletError;
582
+
583
+ /**
584
+ * There was nothing to do in the advancement.
585
+ **/
586
+ NothingToDo: GenericPalletError;
587
+
588
+ /**
589
+ * No track exists for the proposal origin.
590
+ **/
591
+ NoTrack: GenericPalletError;
592
+
593
+ /**
594
+ * Any deposit cannot be refunded until after the decision is over.
595
+ **/
596
+ Unfinished: GenericPalletError;
597
+
598
+ /**
599
+ * The deposit refunder is not the depositor.
600
+ **/
601
+ NoPermission: GenericPalletError;
602
+
603
+ /**
604
+ * The deposit cannot be refunded since none was made.
605
+ **/
606
+ NoDeposit: GenericPalletError;
607
+
608
+ /**
609
+ * The referendum status is invalid for this operation.
610
+ **/
611
+ BadStatus: GenericPalletError;
612
+
613
+ /**
614
+ * The preimage does not exist.
615
+ **/
616
+ PreimageNotExist: GenericPalletError;
617
+
618
+ /**
619
+ * Generic pallet error
620
+ **/
621
+ [error: string]: GenericPalletError;
622
+ };
623
+ /**
624
+ * Pallet `Whitelist`'s errors
625
+ **/
626
+ whitelist: {
627
+ /**
628
+ * The preimage of the call hash could not be loaded.
629
+ **/
630
+ UnavailablePreImage: GenericPalletError;
631
+
632
+ /**
633
+ * The call could not be decoded.
634
+ **/
635
+ UndecodableCall: GenericPalletError;
636
+
637
+ /**
638
+ * The weight of the decoded call was higher than the witness.
639
+ **/
640
+ InvalidCallWeightWitness: GenericPalletError;
641
+
642
+ /**
643
+ * The call was not whitelisted.
644
+ **/
645
+ CallIsNotWhitelisted: GenericPalletError;
646
+
647
+ /**
648
+ * The call was already whitelisted; No-Op.
649
+ **/
650
+ CallAlreadyWhitelisted: GenericPalletError;
651
+
652
+ /**
653
+ * Generic pallet error
654
+ **/
655
+ [error: string]: GenericPalletError;
656
+ };
657
+ /**
658
+ * Pallet `Claims`'s errors
659
+ **/
660
+ claims: {
661
+ /**
662
+ * Invalid Ethereum signature.
663
+ **/
664
+ InvalidEthereumSignature: GenericPalletError;
665
+
666
+ /**
667
+ * Ethereum address has no claim.
668
+ **/
669
+ SignerHasNoClaim: GenericPalletError;
670
+
671
+ /**
672
+ * Account ID sending transaction has no claim.
673
+ **/
674
+ SenderHasNoClaim: GenericPalletError;
675
+
676
+ /**
677
+ * There's not enough in the pot to pay out some unvested amount. Generally implies a
678
+ * logic error.
679
+ **/
680
+ PotUnderflow: GenericPalletError;
681
+
682
+ /**
683
+ * A needed statement was not included.
684
+ **/
685
+ InvalidStatement: GenericPalletError;
686
+
687
+ /**
688
+ * The account already has a vested balance.
689
+ **/
690
+ VestedBalanceExists: GenericPalletError;
691
+
692
+ /**
693
+ * Generic pallet error
694
+ **/
695
+ [error: string]: GenericPalletError;
696
+ };
697
+ /**
698
+ * Pallet `Utility`'s errors
699
+ **/
700
+ utility: {
701
+ /**
702
+ * Too many calls batched.
703
+ **/
704
+ TooManyCalls: GenericPalletError;
705
+
706
+ /**
707
+ * Generic pallet error
708
+ **/
709
+ [error: string]: GenericPalletError;
710
+ };
711
+ /**
712
+ * Pallet `Identity`'s errors
713
+ **/
714
+ identity: {
715
+ /**
716
+ * Too many subs-accounts.
717
+ **/
718
+ TooManySubAccounts: GenericPalletError;
719
+
720
+ /**
721
+ * Account isn't found.
722
+ **/
723
+ NotFound: GenericPalletError;
724
+
725
+ /**
726
+ * Account isn't named.
727
+ **/
728
+ NotNamed: GenericPalletError;
729
+
730
+ /**
731
+ * Empty index.
732
+ **/
733
+ EmptyIndex: GenericPalletError;
734
+
735
+ /**
736
+ * Fee is changed.
737
+ **/
738
+ FeeChanged: GenericPalletError;
739
+
740
+ /**
741
+ * No identity found.
742
+ **/
743
+ NoIdentity: GenericPalletError;
744
+
745
+ /**
746
+ * Sticky judgement.
747
+ **/
748
+ StickyJudgement: GenericPalletError;
749
+
750
+ /**
751
+ * Judgement given.
752
+ **/
753
+ JudgementGiven: GenericPalletError;
754
+
755
+ /**
756
+ * Invalid judgement.
757
+ **/
758
+ InvalidJudgement: GenericPalletError;
759
+
760
+ /**
761
+ * The index is invalid.
762
+ **/
763
+ InvalidIndex: GenericPalletError;
764
+
765
+ /**
766
+ * The target is invalid.
767
+ **/
768
+ InvalidTarget: GenericPalletError;
769
+
770
+ /**
771
+ * Maximum amount of registrars reached. Cannot add any more.
772
+ **/
773
+ TooManyRegistrars: GenericPalletError;
774
+
775
+ /**
776
+ * Account ID is already named.
777
+ **/
778
+ AlreadyClaimed: GenericPalletError;
779
+
780
+ /**
781
+ * Sender is not a sub-account.
782
+ **/
783
+ NotSub: GenericPalletError;
784
+
785
+ /**
786
+ * Sub-account isn't owned by sender.
787
+ **/
788
+ NotOwned: GenericPalletError;
789
+
790
+ /**
791
+ * The provided judgement was for a different identity.
792
+ **/
793
+ JudgementForDifferentIdentity: GenericPalletError;
794
+
795
+ /**
796
+ * Error that occurs when there is an issue paying for judgement.
797
+ **/
798
+ JudgementPaymentFailed: GenericPalletError;
799
+
800
+ /**
801
+ * The provided suffix is too long.
802
+ **/
803
+ InvalidSuffix: GenericPalletError;
804
+
805
+ /**
806
+ * The sender does not have permission to issue a username.
807
+ **/
808
+ NotUsernameAuthority: GenericPalletError;
809
+
810
+ /**
811
+ * The authority cannot allocate any more usernames.
812
+ **/
813
+ NoAllocation: GenericPalletError;
814
+
815
+ /**
816
+ * The signature on a username was not valid.
817
+ **/
818
+ InvalidSignature: GenericPalletError;
819
+
820
+ /**
821
+ * Setting this username requires a signature, but none was provided.
822
+ **/
823
+ RequiresSignature: GenericPalletError;
824
+
825
+ /**
826
+ * The username does not meet the requirements.
827
+ **/
828
+ InvalidUsername: GenericPalletError;
829
+
830
+ /**
831
+ * The username is already taken.
832
+ **/
833
+ UsernameTaken: GenericPalletError;
834
+
835
+ /**
836
+ * The requested username does not exist.
837
+ **/
838
+ NoUsername: GenericPalletError;
839
+
840
+ /**
841
+ * The username cannot be forcefully removed because it can still be accepted.
842
+ **/
843
+ NotExpired: GenericPalletError;
844
+
845
+ /**
846
+ * Generic pallet error
847
+ **/
848
+ [error: string]: GenericPalletError;
849
+ };
850
+ /**
851
+ * Pallet `Society`'s errors
852
+ **/
853
+ society: {
854
+ /**
855
+ * User is not a member.
856
+ **/
857
+ NotMember: GenericPalletError;
858
+
859
+ /**
860
+ * User is already a member.
861
+ **/
862
+ AlreadyMember: GenericPalletError;
863
+
864
+ /**
865
+ * User is suspended.
866
+ **/
867
+ Suspended: GenericPalletError;
868
+
869
+ /**
870
+ * User is not suspended.
871
+ **/
872
+ NotSuspended: GenericPalletError;
873
+
874
+ /**
875
+ * Nothing to payout.
876
+ **/
877
+ NoPayout: GenericPalletError;
878
+
879
+ /**
880
+ * Society already founded.
881
+ **/
882
+ AlreadyFounded: GenericPalletError;
883
+
884
+ /**
885
+ * Not enough in pot to accept candidate.
886
+ **/
887
+ InsufficientPot: GenericPalletError;
888
+
889
+ /**
890
+ * Member is already vouching or banned from vouching again.
891
+ **/
892
+ AlreadyVouching: GenericPalletError;
893
+
894
+ /**
895
+ * Member is not vouching.
896
+ **/
897
+ NotVouchingOnBidder: GenericPalletError;
898
+
899
+ /**
900
+ * Cannot remove the head of the chain.
901
+ **/
902
+ Head: GenericPalletError;
903
+
904
+ /**
905
+ * Cannot remove the founder.
906
+ **/
907
+ Founder: GenericPalletError;
908
+
909
+ /**
910
+ * User has already made a bid.
911
+ **/
912
+ AlreadyBid: GenericPalletError;
913
+
914
+ /**
915
+ * User is already a candidate.
916
+ **/
917
+ AlreadyCandidate: GenericPalletError;
918
+
919
+ /**
920
+ * User is not a candidate.
921
+ **/
922
+ NotCandidate: GenericPalletError;
923
+
924
+ /**
925
+ * Too many members in the society.
926
+ **/
927
+ MaxMembers: GenericPalletError;
928
+
929
+ /**
930
+ * The caller is not the founder.
931
+ **/
932
+ NotFounder: GenericPalletError;
933
+
934
+ /**
935
+ * The caller is not the head.
936
+ **/
937
+ NotHead: GenericPalletError;
938
+
939
+ /**
940
+ * The membership cannot be claimed as the candidate was not clearly approved.
941
+ **/
942
+ NotApproved: GenericPalletError;
943
+
944
+ /**
945
+ * The candidate cannot be kicked as the candidate was not clearly rejected.
946
+ **/
947
+ NotRejected: GenericPalletError;
948
+
949
+ /**
950
+ * The candidacy cannot be dropped as the candidate was clearly approved.
951
+ **/
952
+ Approved: GenericPalletError;
953
+
954
+ /**
955
+ * The candidacy cannot be bestowed as the candidate was clearly rejected.
956
+ **/
957
+ Rejected: GenericPalletError;
958
+
959
+ /**
960
+ * The candidacy cannot be concluded as the voting is still in progress.
961
+ **/
962
+ InProgress: GenericPalletError;
963
+
964
+ /**
965
+ * The candidacy cannot be pruned until a full additional intake period has passed.
966
+ **/
967
+ TooEarly: GenericPalletError;
968
+
969
+ /**
970
+ * The skeptic already voted.
971
+ **/
972
+ Voted: GenericPalletError;
973
+
974
+ /**
975
+ * The skeptic need not vote on candidates from expired rounds.
976
+ **/
977
+ Expired: GenericPalletError;
978
+
979
+ /**
980
+ * User is not a bidder.
981
+ **/
982
+ NotBidder: GenericPalletError;
983
+
984
+ /**
985
+ * There is no defender currently.
986
+ **/
987
+ NoDefender: GenericPalletError;
988
+
989
+ /**
990
+ * Group doesn't exist.
991
+ **/
992
+ NotGroup: GenericPalletError;
993
+
994
+ /**
995
+ * The member is already elevated to this rank.
996
+ **/
997
+ AlreadyElevated: GenericPalletError;
998
+
999
+ /**
1000
+ * The skeptic has already been punished for this offence.
1001
+ **/
1002
+ AlreadyPunished: GenericPalletError;
1003
+
1004
+ /**
1005
+ * Funds are insufficient to pay off society debts.
1006
+ **/
1007
+ InsufficientFunds: GenericPalletError;
1008
+
1009
+ /**
1010
+ * The candidate/defender has no stale votes to remove.
1011
+ **/
1012
+ NoVotes: GenericPalletError;
1013
+
1014
+ /**
1015
+ * Generic pallet error
1016
+ **/
1017
+ [error: string]: GenericPalletError;
1018
+ };
1019
+ /**
1020
+ * Pallet `Recovery`'s errors
1021
+ **/
1022
+ recovery: {
1023
+ /**
1024
+ * User is not allowed to make a call on behalf of this account
1025
+ **/
1026
+ NotAllowed: GenericPalletError;
1027
+
1028
+ /**
1029
+ * Threshold must be greater than zero
1030
+ **/
1031
+ ZeroThreshold: GenericPalletError;
1032
+
1033
+ /**
1034
+ * Friends list must be greater than zero and threshold
1035
+ **/
1036
+ NotEnoughFriends: GenericPalletError;
1037
+
1038
+ /**
1039
+ * Friends list must be less than max friends
1040
+ **/
1041
+ MaxFriends: GenericPalletError;
1042
+
1043
+ /**
1044
+ * Friends list must be sorted and free of duplicates
1045
+ **/
1046
+ NotSorted: GenericPalletError;
1047
+
1048
+ /**
1049
+ * This account is not set up for recovery
1050
+ **/
1051
+ NotRecoverable: GenericPalletError;
1052
+
1053
+ /**
1054
+ * This account is already set up for recovery
1055
+ **/
1056
+ AlreadyRecoverable: GenericPalletError;
1057
+
1058
+ /**
1059
+ * A recovery process has already started for this account
1060
+ **/
1061
+ AlreadyStarted: GenericPalletError;
1062
+
1063
+ /**
1064
+ * A recovery process has not started for this rescuer
1065
+ **/
1066
+ NotStarted: GenericPalletError;
1067
+
1068
+ /**
1069
+ * This account is not a friend who can vouch
1070
+ **/
1071
+ NotFriend: GenericPalletError;
1072
+
1073
+ /**
1074
+ * The friend must wait until the delay period to vouch for this recovery
1075
+ **/
1076
+ DelayPeriod: GenericPalletError;
1077
+
1078
+ /**
1079
+ * This user has already vouched for this recovery
1080
+ **/
1081
+ AlreadyVouched: GenericPalletError;
1082
+
1083
+ /**
1084
+ * The threshold for recovering this account has not been met
1085
+ **/
1086
+ Threshold: GenericPalletError;
1087
+
1088
+ /**
1089
+ * There are still active recovery attempts that need to be closed
1090
+ **/
1091
+ StillActive: GenericPalletError;
1092
+
1093
+ /**
1094
+ * This account is already set up for recovery
1095
+ **/
1096
+ AlreadyProxy: GenericPalletError;
1097
+
1098
+ /**
1099
+ * Some internal state is broken.
1100
+ **/
1101
+ BadState: GenericPalletError;
1102
+
1103
+ /**
1104
+ * Generic pallet error
1105
+ **/
1106
+ [error: string]: GenericPalletError;
1107
+ };
1108
+ /**
1109
+ * Pallet `Vesting`'s errors
1110
+ **/
1111
+ vesting: {
1112
+ /**
1113
+ * The account given is not vesting.
1114
+ **/
1115
+ NotVesting: GenericPalletError;
1116
+
1117
+ /**
1118
+ * The account already has `MaxVestingSchedules` count of schedules and thus
1119
+ * cannot add another one. Consider merging existing schedules in order to add another.
1120
+ **/
1121
+ AtMaxVestingSchedules: GenericPalletError;
1122
+
1123
+ /**
1124
+ * Amount being transferred is too low to create a vesting schedule.
1125
+ **/
1126
+ AmountLow: GenericPalletError;
1127
+
1128
+ /**
1129
+ * An index was out of bounds of the vesting schedules.
1130
+ **/
1131
+ ScheduleIndexOutOfBounds: GenericPalletError;
1132
+
1133
+ /**
1134
+ * Failed to create a new schedule because some parameter was invalid.
1135
+ **/
1136
+ InvalidScheduleParams: GenericPalletError;
1137
+
1138
+ /**
1139
+ * Generic pallet error
1140
+ **/
1141
+ [error: string]: GenericPalletError;
1142
+ };
1143
+ /**
1144
+ * Pallet `Scheduler`'s errors
1145
+ **/
1146
+ scheduler: {
1147
+ /**
1148
+ * Failed to schedule a call
1149
+ **/
1150
+ FailedToSchedule: GenericPalletError;
1151
+
1152
+ /**
1153
+ * Cannot find the scheduled call.
1154
+ **/
1155
+ NotFound: GenericPalletError;
1156
+
1157
+ /**
1158
+ * Given target block number is in the past.
1159
+ **/
1160
+ TargetBlockNumberInPast: GenericPalletError;
1161
+
1162
+ /**
1163
+ * Reschedule failed because it does not change scheduled time.
1164
+ **/
1165
+ RescheduleNoChange: GenericPalletError;
1166
+
1167
+ /**
1168
+ * Attempt to use a non-named function on a named task.
1169
+ **/
1170
+ Named: GenericPalletError;
1171
+
1172
+ /**
1173
+ * Generic pallet error
1174
+ **/
1175
+ [error: string]: GenericPalletError;
1176
+ };
1177
+ /**
1178
+ * Pallet `Proxy`'s errors
1179
+ **/
1180
+ proxy: {
1181
+ /**
1182
+ * There are too many proxies registered or too many announcements pending.
1183
+ **/
1184
+ TooMany: GenericPalletError;
1185
+
1186
+ /**
1187
+ * Proxy registration not found.
1188
+ **/
1189
+ NotFound: GenericPalletError;
1190
+
1191
+ /**
1192
+ * Sender is not a proxy of the account to be proxied.
1193
+ **/
1194
+ NotProxy: GenericPalletError;
1195
+
1196
+ /**
1197
+ * A call which is incompatible with the proxy type's filter was attempted.
1198
+ **/
1199
+ Unproxyable: GenericPalletError;
1200
+
1201
+ /**
1202
+ * Account is already a proxy.
1203
+ **/
1204
+ Duplicate: GenericPalletError;
1205
+
1206
+ /**
1207
+ * Call may not be made by proxy because it may escalate its privileges.
1208
+ **/
1209
+ NoPermission: GenericPalletError;
1210
+
1211
+ /**
1212
+ * Announcement, if made at all, was made too recently.
1213
+ **/
1214
+ Unannounced: GenericPalletError;
1215
+
1216
+ /**
1217
+ * Cannot add self as proxy.
1218
+ **/
1219
+ NoSelfProxy: GenericPalletError;
1220
+
1221
+ /**
1222
+ * Generic pallet error
1223
+ **/
1224
+ [error: string]: GenericPalletError;
1225
+ };
1226
+ /**
1227
+ * Pallet `Multisig`'s errors
1228
+ **/
1229
+ multisig: {
1230
+ /**
1231
+ * Threshold must be 2 or greater.
1232
+ **/
1233
+ MinimumThreshold: GenericPalletError;
1234
+
1235
+ /**
1236
+ * Call is already approved by this signatory.
1237
+ **/
1238
+ AlreadyApproved: GenericPalletError;
1239
+
1240
+ /**
1241
+ * Call doesn't need any (more) approvals.
1242
+ **/
1243
+ NoApprovalsNeeded: GenericPalletError;
1244
+
1245
+ /**
1246
+ * There are too few signatories in the list.
1247
+ **/
1248
+ TooFewSignatories: GenericPalletError;
1249
+
1250
+ /**
1251
+ * There are too many signatories in the list.
1252
+ **/
1253
+ TooManySignatories: GenericPalletError;
1254
+
1255
+ /**
1256
+ * The signatories were provided out of order; they should be ordered.
1257
+ **/
1258
+ SignatoriesOutOfOrder: GenericPalletError;
1259
+
1260
+ /**
1261
+ * The sender was contained in the other signatories; it shouldn't be.
1262
+ **/
1263
+ SenderInSignatories: GenericPalletError;
1264
+
1265
+ /**
1266
+ * Multisig operation not found when attempting to cancel.
1267
+ **/
1268
+ NotFound: GenericPalletError;
1269
+
1270
+ /**
1271
+ * Only the account that originally created the multisig is able to cancel it.
1272
+ **/
1273
+ NotOwner: GenericPalletError;
1274
+
1275
+ /**
1276
+ * No timepoint was given, yet the multisig operation is already underway.
1277
+ **/
1278
+ NoTimepoint: GenericPalletError;
1279
+
1280
+ /**
1281
+ * A different timepoint was given to the multisig operation that is underway.
1282
+ **/
1283
+ WrongTimepoint: GenericPalletError;
1284
+
1285
+ /**
1286
+ * A timepoint was given, yet no multisig operation is underway.
1287
+ **/
1288
+ UnexpectedTimepoint: GenericPalletError;
1289
+
1290
+ /**
1291
+ * The maximum weight information provided was too low.
1292
+ **/
1293
+ MaxWeightTooLow: GenericPalletError;
1294
+
1295
+ /**
1296
+ * The data to be stored is already stored.
1297
+ **/
1298
+ AlreadyStored: GenericPalletError;
1299
+
1300
+ /**
1301
+ * Generic pallet error
1302
+ **/
1303
+ [error: string]: GenericPalletError;
1304
+ };
1305
+ /**
1306
+ * Pallet `Preimage`'s errors
1307
+ **/
1308
+ preimage: {
1309
+ /**
1310
+ * Preimage is too large to store on-chain.
1311
+ **/
1312
+ TooBig: GenericPalletError;
1313
+
1314
+ /**
1315
+ * Preimage has already been noted on-chain.
1316
+ **/
1317
+ AlreadyNoted: GenericPalletError;
1318
+
1319
+ /**
1320
+ * The user is not authorized to perform this action.
1321
+ **/
1322
+ NotAuthorized: GenericPalletError;
1323
+
1324
+ /**
1325
+ * The preimage cannot be removed since it has not yet been noted.
1326
+ **/
1327
+ NotNoted: GenericPalletError;
1328
+
1329
+ /**
1330
+ * A preimage may not be removed when there are outstanding requests.
1331
+ **/
1332
+ Requested: GenericPalletError;
1333
+
1334
+ /**
1335
+ * The preimage request cannot be removed since no outstanding requests exist.
1336
+ **/
1337
+ NotRequested: GenericPalletError;
1338
+
1339
+ /**
1340
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1341
+ **/
1342
+ TooMany: GenericPalletError;
1343
+
1344
+ /**
1345
+ * Too few hashes were requested to be upgraded (i.e. zero).
1346
+ **/
1347
+ TooFew: GenericPalletError;
1348
+
1349
+ /**
1350
+ * Generic pallet error
1351
+ **/
1352
+ [error: string]: GenericPalletError;
1353
+ };
1354
+ /**
1355
+ * Pallet `AssetRate`'s errors
1356
+ **/
1357
+ assetRate: {
1358
+ /**
1359
+ * The given asset ID is unknown.
1360
+ **/
1361
+ UnknownAssetKind: GenericPalletError;
1362
+
1363
+ /**
1364
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
1365
+ **/
1366
+ AlreadyExists: GenericPalletError;
1367
+
1368
+ /**
1369
+ * Overflow ocurred when calculating the inverse rate.
1370
+ **/
1371
+ Overflow: GenericPalletError;
1372
+
1373
+ /**
1374
+ * Generic pallet error
1375
+ **/
1376
+ [error: string]: GenericPalletError;
1377
+ };
1378
+ /**
1379
+ * Pallet `Bounties`'s errors
1380
+ **/
1381
+ bounties: {
1382
+ /**
1383
+ * Proposer's balance is too low.
1384
+ **/
1385
+ InsufficientProposersBalance: GenericPalletError;
1386
+
1387
+ /**
1388
+ * No proposal or bounty at that index.
1389
+ **/
1390
+ InvalidIndex: GenericPalletError;
1391
+
1392
+ /**
1393
+ * The reason given is just too big.
1394
+ **/
1395
+ ReasonTooBig: GenericPalletError;
1396
+
1397
+ /**
1398
+ * The bounty status is unexpected.
1399
+ **/
1400
+ UnexpectedStatus: GenericPalletError;
1401
+
1402
+ /**
1403
+ * Require bounty curator.
1404
+ **/
1405
+ RequireCurator: GenericPalletError;
1406
+
1407
+ /**
1408
+ * Invalid bounty value.
1409
+ **/
1410
+ InvalidValue: GenericPalletError;
1411
+
1412
+ /**
1413
+ * Invalid bounty fee.
1414
+ **/
1415
+ InvalidFee: GenericPalletError;
1416
+
1417
+ /**
1418
+ * A bounty payout is pending.
1419
+ * To cancel the bounty, you must unassign and slash the curator.
1420
+ **/
1421
+ PendingPayout: GenericPalletError;
1422
+
1423
+ /**
1424
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
1425
+ **/
1426
+ Premature: GenericPalletError;
1427
+
1428
+ /**
1429
+ * The bounty cannot be closed because it has active child bounties.
1430
+ **/
1431
+ HasActiveChildBounty: GenericPalletError;
1432
+
1433
+ /**
1434
+ * Too many approvals are already queued.
1435
+ **/
1436
+ TooManyQueued: GenericPalletError;
1437
+
1438
+ /**
1439
+ * Generic pallet error
1440
+ **/
1441
+ [error: string]: GenericPalletError;
1442
+ };
1443
+ /**
1444
+ * Pallet `ChildBounties`'s errors
1445
+ **/
1446
+ childBounties: {
1447
+ /**
1448
+ * The parent bounty is not in active state.
1449
+ **/
1450
+ ParentBountyNotActive: GenericPalletError;
1451
+
1452
+ /**
1453
+ * The bounty balance is not enough to add new child-bounty.
1454
+ **/
1455
+ InsufficientBountyBalance: GenericPalletError;
1456
+
1457
+ /**
1458
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
1459
+ **/
1460
+ TooManyChildBounties: GenericPalletError;
1461
+
1462
+ /**
1463
+ * Generic pallet error
1464
+ **/
1465
+ [error: string]: GenericPalletError;
1466
+ };
1467
+ /**
1468
+ * Pallet `Nis`'s errors
1469
+ **/
1470
+ nis: {
1471
+ /**
1472
+ * The duration of the bid is less than one.
1473
+ **/
1474
+ DurationTooSmall: GenericPalletError;
1475
+
1476
+ /**
1477
+ * The duration is the bid is greater than the number of queues.
1478
+ **/
1479
+ DurationTooBig: GenericPalletError;
1480
+
1481
+ /**
1482
+ * The amount of the bid is less than the minimum allowed.
1483
+ **/
1484
+ AmountTooSmall: GenericPalletError;
1485
+
1486
+ /**
1487
+ * The queue for the bid's duration is full and the amount bid is too low to get in
1488
+ * through replacing an existing bid.
1489
+ **/
1490
+ BidTooLow: GenericPalletError;
1491
+
1492
+ /**
1493
+ * Receipt index is unknown.
1494
+ **/
1495
+ UnknownReceipt: GenericPalletError;
1496
+
1497
+ /**
1498
+ * Not the owner of the receipt.
1499
+ **/
1500
+ NotOwner: GenericPalletError;
1501
+
1502
+ /**
1503
+ * Bond not yet at expiry date.
1504
+ **/
1505
+ NotExpired: GenericPalletError;
1506
+
1507
+ /**
1508
+ * The given bid for retraction is not found.
1509
+ **/
1510
+ UnknownBid: GenericPalletError;
1511
+
1512
+ /**
1513
+ * The portion supplied is beyond the value of the receipt.
1514
+ **/
1515
+ PortionTooBig: GenericPalletError;
1516
+
1517
+ /**
1518
+ * Not enough funds are held to pay out.
1519
+ **/
1520
+ Unfunded: GenericPalletError;
1521
+
1522
+ /**
1523
+ * There are enough funds for what is required.
1524
+ **/
1525
+ AlreadyFunded: GenericPalletError;
1526
+
1527
+ /**
1528
+ * The thaw throttle has been reached for this period.
1529
+ **/
1530
+ Throttled: GenericPalletError;
1531
+
1532
+ /**
1533
+ * The operation would result in a receipt worth an insignficant value.
1534
+ **/
1535
+ MakesDust: GenericPalletError;
1536
+
1537
+ /**
1538
+ * The receipt is already communal.
1539
+ **/
1540
+ AlreadyCommunal: GenericPalletError;
1541
+
1542
+ /**
1543
+ * The receipt is already private.
1544
+ **/
1545
+ AlreadyPrivate: GenericPalletError;
1546
+
1547
+ /**
1548
+ * Generic pallet error
1549
+ **/
1550
+ [error: string]: GenericPalletError;
1551
+ };
1552
+ /**
1553
+ * Pallet `NisCounterpartBalances`'s errors
1554
+ **/
1555
+ nisCounterpartBalances: {
1556
+ /**
1557
+ * Vesting balance too high to send value.
1558
+ **/
1559
+ VestingBalance: GenericPalletError;
1560
+
1561
+ /**
1562
+ * Account liquidity restrictions prevent withdrawal.
1563
+ **/
1564
+ LiquidityRestrictions: GenericPalletError;
1565
+
1566
+ /**
1567
+ * Balance too low to send value.
1568
+ **/
1569
+ InsufficientBalance: GenericPalletError;
1570
+
1571
+ /**
1572
+ * Value too low to create account due to existential deposit.
1573
+ **/
1574
+ ExistentialDeposit: GenericPalletError;
1575
+
1576
+ /**
1577
+ * Transfer/payment would kill account.
1578
+ **/
1579
+ Expendability: GenericPalletError;
1580
+
1581
+ /**
1582
+ * A vesting schedule already exists for this account.
1583
+ **/
1584
+ ExistingVestingSchedule: GenericPalletError;
1585
+
1586
+ /**
1587
+ * Beneficiary account must pre-exist.
1588
+ **/
1589
+ DeadAccount: GenericPalletError;
1590
+
1591
+ /**
1592
+ * Number of named reserves exceed `MaxReserves`.
1593
+ **/
1594
+ TooManyReserves: GenericPalletError;
1595
+
1596
+ /**
1597
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
1598
+ **/
1599
+ TooManyHolds: GenericPalletError;
1600
+
1601
+ /**
1602
+ * Number of freezes exceed `MaxFreezes`.
1603
+ **/
1604
+ TooManyFreezes: GenericPalletError;
1605
+
1606
+ /**
1607
+ * The issuance cannot be modified since it is already deactivated.
1608
+ **/
1609
+ IssuanceDeactivated: GenericPalletError;
1610
+
1611
+ /**
1612
+ * The delta cannot be zero.
1613
+ **/
1614
+ DeltaZero: GenericPalletError;
1615
+
1616
+ /**
1617
+ * Generic pallet error
1618
+ **/
1619
+ [error: string]: GenericPalletError;
1620
+ };
1621
+ /**
1622
+ * Pallet `Configuration`'s errors
1623
+ **/
1624
+ configuration: {
1625
+ /**
1626
+ * The new value for a configuration parameter is invalid.
1627
+ **/
1628
+ InvalidNewValue: GenericPalletError;
1629
+
1630
+ /**
1631
+ * Generic pallet error
1632
+ **/
1633
+ [error: string]: GenericPalletError;
1634
+ };
1635
+ /**
1636
+ * Pallet `ParaInclusion`'s errors
1637
+ **/
1638
+ paraInclusion: {
1639
+ /**
1640
+ * Validator indices are out of order or contains duplicates.
1641
+ **/
1642
+ UnsortedOrDuplicateValidatorIndices: GenericPalletError;
1643
+
1644
+ /**
1645
+ * Dispute statement sets are out of order or contain duplicates.
1646
+ **/
1647
+ UnsortedOrDuplicateDisputeStatementSet: GenericPalletError;
1648
+
1649
+ /**
1650
+ * Backed candidates are out of order (core index) or contain duplicates.
1651
+ **/
1652
+ UnsortedOrDuplicateBackedCandidates: GenericPalletError;
1653
+
1654
+ /**
1655
+ * A different relay parent was provided compared to the on-chain stored one.
1656
+ **/
1657
+ UnexpectedRelayParent: GenericPalletError;
1658
+
1659
+ /**
1660
+ * Availability bitfield has unexpected size.
1661
+ **/
1662
+ WrongBitfieldSize: GenericPalletError;
1663
+
1664
+ /**
1665
+ * Bitfield consists of zeros only.
1666
+ **/
1667
+ BitfieldAllZeros: GenericPalletError;
1668
+
1669
+ /**
1670
+ * Multiple bitfields submitted by same validator or validators out of order by index.
1671
+ **/
1672
+ BitfieldDuplicateOrUnordered: GenericPalletError;
1673
+
1674
+ /**
1675
+ * Validator index out of bounds.
1676
+ **/
1677
+ ValidatorIndexOutOfBounds: GenericPalletError;
1678
+
1679
+ /**
1680
+ * Invalid signature
1681
+ **/
1682
+ InvalidBitfieldSignature: GenericPalletError;
1683
+
1684
+ /**
1685
+ * Candidate submitted but para not scheduled.
1686
+ **/
1687
+ UnscheduledCandidate: GenericPalletError;
1688
+
1689
+ /**
1690
+ * Candidate scheduled despite pending candidate already existing for the para.
1691
+ **/
1692
+ CandidateScheduledBeforeParaFree: GenericPalletError;
1693
+
1694
+ /**
1695
+ * Scheduled cores out of order.
1696
+ **/
1697
+ ScheduledOutOfOrder: GenericPalletError;
1698
+
1699
+ /**
1700
+ * Head data exceeds the configured maximum.
1701
+ **/
1702
+ HeadDataTooLarge: GenericPalletError;
1703
+
1704
+ /**
1705
+ * Code upgrade prematurely.
1706
+ **/
1707
+ PrematureCodeUpgrade: GenericPalletError;
1708
+
1709
+ /**
1710
+ * Output code is too large
1711
+ **/
1712
+ NewCodeTooLarge: GenericPalletError;
1713
+
1714
+ /**
1715
+ * The candidate's relay-parent was not allowed. Either it was
1716
+ * not recent enough or it didn't advance based on the last parachain block.
1717
+ **/
1718
+ DisallowedRelayParent: GenericPalletError;
1719
+
1720
+ /**
1721
+ * Failed to compute group index for the core: either it's out of bounds
1722
+ * or the relay parent doesn't belong to the current session.
1723
+ **/
1724
+ InvalidAssignment: GenericPalletError;
1725
+
1726
+ /**
1727
+ * Invalid group index in core assignment.
1728
+ **/
1729
+ InvalidGroupIndex: GenericPalletError;
1730
+
1731
+ /**
1732
+ * Insufficient (non-majority) backing.
1733
+ **/
1734
+ InsufficientBacking: GenericPalletError;
1735
+
1736
+ /**
1737
+ * Invalid (bad signature, unknown validator, etc.) backing.
1738
+ **/
1739
+ InvalidBacking: GenericPalletError;
1740
+
1741
+ /**
1742
+ * Collator did not sign PoV.
1743
+ **/
1744
+ NotCollatorSigned: GenericPalletError;
1745
+
1746
+ /**
1747
+ * The validation data hash does not match expected.
1748
+ **/
1749
+ ValidationDataHashMismatch: GenericPalletError;
1750
+
1751
+ /**
1752
+ * The downward message queue is not processed correctly.
1753
+ **/
1754
+ IncorrectDownwardMessageHandling: GenericPalletError;
1755
+
1756
+ /**
1757
+ * At least one upward message sent does not pass the acceptance criteria.
1758
+ **/
1759
+ InvalidUpwardMessages: GenericPalletError;
1760
+
1761
+ /**
1762
+ * The candidate didn't follow the rules of HRMP watermark advancement.
1763
+ **/
1764
+ HrmpWatermarkMishandling: GenericPalletError;
1765
+
1766
+ /**
1767
+ * The HRMP messages sent by the candidate is not valid.
1768
+ **/
1769
+ InvalidOutboundHrmp: GenericPalletError;
1770
+
1771
+ /**
1772
+ * The validation code hash of the candidate is not valid.
1773
+ **/
1774
+ InvalidValidationCodeHash: GenericPalletError;
1775
+
1776
+ /**
1777
+ * The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
1778
+ * para head in the commitments.
1779
+ **/
1780
+ ParaHeadMismatch: GenericPalletError;
1781
+
1782
+ /**
1783
+ * A bitfield that references a freed core,
1784
+ * either intentionally or as part of a concluded
1785
+ * invalid dispute.
1786
+ **/
1787
+ BitfieldReferencesFreedCore: GenericPalletError;
1788
+
1789
+ /**
1790
+ * Generic pallet error
1791
+ **/
1792
+ [error: string]: GenericPalletError;
1793
+ };
1794
+ /**
1795
+ * Pallet `ParaInherent`'s errors
1796
+ **/
1797
+ paraInherent: {
1798
+ /**
1799
+ * Inclusion inherent called more than once per block.
1800
+ **/
1801
+ TooManyInclusionInherents: GenericPalletError;
1802
+
1803
+ /**
1804
+ * The hash of the submitted parent header doesn't correspond to the saved block hash of
1805
+ * the parent.
1806
+ **/
1807
+ InvalidParentHeader: GenericPalletError;
1808
+
1809
+ /**
1810
+ * Disputed candidate that was concluded invalid.
1811
+ **/
1812
+ CandidateConcludedInvalid: GenericPalletError;
1813
+
1814
+ /**
1815
+ * The data given to the inherent will result in an overweight block.
1816
+ **/
1817
+ InherentOverweight: GenericPalletError;
1818
+
1819
+ /**
1820
+ * The ordering of dispute statements was invalid.
1821
+ **/
1822
+ DisputeStatementsUnsortedOrDuplicates: GenericPalletError;
1823
+
1824
+ /**
1825
+ * A dispute statement was invalid.
1826
+ **/
1827
+ DisputeInvalid: GenericPalletError;
1828
+
1829
+ /**
1830
+ * A candidate was backed by a disabled validator
1831
+ **/
1832
+ BackedByDisabled: GenericPalletError;
1833
+
1834
+ /**
1835
+ * A candidate was backed even though the paraid was not scheduled.
1836
+ **/
1837
+ BackedOnUnscheduledCore: GenericPalletError;
1838
+
1839
+ /**
1840
+ * Too many candidates supplied.
1841
+ **/
1842
+ UnscheduledCandidate: GenericPalletError;
1843
+
1844
+ /**
1845
+ * Generic pallet error
1846
+ **/
1847
+ [error: string]: GenericPalletError;
1848
+ };
1849
+ /**
1850
+ * Pallet `Paras`'s errors
1851
+ **/
1852
+ paras: {
1853
+ /**
1854
+ * Para is not registered in our system.
1855
+ **/
1856
+ NotRegistered: GenericPalletError;
1857
+
1858
+ /**
1859
+ * Para cannot be onboarded because it is already tracked by our system.
1860
+ **/
1861
+ CannotOnboard: GenericPalletError;
1862
+
1863
+ /**
1864
+ * Para cannot be offboarded at this time.
1865
+ **/
1866
+ CannotOffboard: GenericPalletError;
1867
+
1868
+ /**
1869
+ * Para cannot be upgraded to a lease holding parachain.
1870
+ **/
1871
+ CannotUpgrade: GenericPalletError;
1872
+
1873
+ /**
1874
+ * Para cannot be downgraded to an on-demand parachain.
1875
+ **/
1876
+ CannotDowngrade: GenericPalletError;
1877
+
1878
+ /**
1879
+ * The statement for PVF pre-checking is stale.
1880
+ **/
1881
+ PvfCheckStatementStale: GenericPalletError;
1882
+
1883
+ /**
1884
+ * The statement for PVF pre-checking is for a future session.
1885
+ **/
1886
+ PvfCheckStatementFuture: GenericPalletError;
1887
+
1888
+ /**
1889
+ * Claimed validator index is out of bounds.
1890
+ **/
1891
+ PvfCheckValidatorIndexOutOfBounds: GenericPalletError;
1892
+
1893
+ /**
1894
+ * The signature for the PVF pre-checking is invalid.
1895
+ **/
1896
+ PvfCheckInvalidSignature: GenericPalletError;
1897
+
1898
+ /**
1899
+ * The given validator already has cast a vote.
1900
+ **/
1901
+ PvfCheckDoubleVote: GenericPalletError;
1902
+
1903
+ /**
1904
+ * The given PVF does not exist at the moment of process a vote.
1905
+ **/
1906
+ PvfCheckSubjectInvalid: GenericPalletError;
1907
+
1908
+ /**
1909
+ * Parachain cannot currently schedule a code upgrade.
1910
+ **/
1911
+ CannotUpgradeCode: GenericPalletError;
1912
+
1913
+ /**
1914
+ * Invalid validation code size.
1915
+ **/
1916
+ InvalidCode: GenericPalletError;
1917
+
1918
+ /**
1919
+ * Generic pallet error
1920
+ **/
1921
+ [error: string]: GenericPalletError;
1922
+ };
1923
+ /**
1924
+ * Pallet `Hrmp`'s errors
1925
+ **/
1926
+ hrmp: {
1927
+ /**
1928
+ * The sender tried to open a channel to themselves.
1929
+ **/
1930
+ OpenHrmpChannelToSelf: GenericPalletError;
1931
+
1932
+ /**
1933
+ * The recipient is not a valid para.
1934
+ **/
1935
+ OpenHrmpChannelInvalidRecipient: GenericPalletError;
1936
+
1937
+ /**
1938
+ * The requested capacity is zero.
1939
+ **/
1940
+ OpenHrmpChannelZeroCapacity: GenericPalletError;
1941
+
1942
+ /**
1943
+ * The requested capacity exceeds the global limit.
1944
+ **/
1945
+ OpenHrmpChannelCapacityExceedsLimit: GenericPalletError;
1946
+
1947
+ /**
1948
+ * The requested maximum message size is 0.
1949
+ **/
1950
+ OpenHrmpChannelZeroMessageSize: GenericPalletError;
1951
+
1952
+ /**
1953
+ * The open request requested the message size that exceeds the global limit.
1954
+ **/
1955
+ OpenHrmpChannelMessageSizeExceedsLimit: GenericPalletError;
1956
+
1957
+ /**
1958
+ * The channel already exists
1959
+ **/
1960
+ OpenHrmpChannelAlreadyExists: GenericPalletError;
1961
+
1962
+ /**
1963
+ * There is already a request to open the same channel.
1964
+ **/
1965
+ OpenHrmpChannelAlreadyRequested: GenericPalletError;
1966
+
1967
+ /**
1968
+ * The sender already has the maximum number of allowed outbound channels.
1969
+ **/
1970
+ OpenHrmpChannelLimitExceeded: GenericPalletError;
1971
+
1972
+ /**
1973
+ * The channel from the sender to the origin doesn't exist.
1974
+ **/
1975
+ AcceptHrmpChannelDoesntExist: GenericPalletError;
1976
+
1977
+ /**
1978
+ * The channel is already confirmed.
1979
+ **/
1980
+ AcceptHrmpChannelAlreadyConfirmed: GenericPalletError;
1981
+
1982
+ /**
1983
+ * The recipient already has the maximum number of allowed inbound channels.
1984
+ **/
1985
+ AcceptHrmpChannelLimitExceeded: GenericPalletError;
1986
+
1987
+ /**
1988
+ * The origin tries to close a channel where it is neither the sender nor the recipient.
1989
+ **/
1990
+ CloseHrmpChannelUnauthorized: GenericPalletError;
1991
+
1992
+ /**
1993
+ * The channel to be closed doesn't exist.
1994
+ **/
1995
+ CloseHrmpChannelDoesntExist: GenericPalletError;
1996
+
1997
+ /**
1998
+ * The channel close request is already requested.
1999
+ **/
2000
+ CloseHrmpChannelAlreadyUnderway: GenericPalletError;
2001
+
2002
+ /**
2003
+ * Canceling is requested by neither the sender nor recipient of the open channel request.
2004
+ **/
2005
+ CancelHrmpOpenChannelUnauthorized: GenericPalletError;
2006
+
2007
+ /**
2008
+ * The open request doesn't exist.
2009
+ **/
2010
+ OpenHrmpChannelDoesntExist: GenericPalletError;
2011
+
2012
+ /**
2013
+ * Cannot cancel an HRMP open channel request because it is already confirmed.
2014
+ **/
2015
+ OpenHrmpChannelAlreadyConfirmed: GenericPalletError;
2016
+
2017
+ /**
2018
+ * The provided witness data is wrong.
2019
+ **/
2020
+ WrongWitness: GenericPalletError;
2021
+
2022
+ /**
2023
+ * The channel between these two chains cannot be authorized.
2024
+ **/
2025
+ ChannelCreationNotAuthorized: GenericPalletError;
2026
+
2027
+ /**
2028
+ * Generic pallet error
2029
+ **/
2030
+ [error: string]: GenericPalletError;
2031
+ };
2032
+ /**
2033
+ * Pallet `ParasDisputes`'s errors
2034
+ **/
2035
+ parasDisputes: {
2036
+ /**
2037
+ * Duplicate dispute statement sets provided.
2038
+ **/
2039
+ DuplicateDisputeStatementSets: GenericPalletError;
2040
+
2041
+ /**
2042
+ * Ancient dispute statement provided.
2043
+ **/
2044
+ AncientDisputeStatement: GenericPalletError;
2045
+
2046
+ /**
2047
+ * Validator index on statement is out of bounds for session.
2048
+ **/
2049
+ ValidatorIndexOutOfBounds: GenericPalletError;
2050
+
2051
+ /**
2052
+ * Invalid signature on statement.
2053
+ **/
2054
+ InvalidSignature: GenericPalletError;
2055
+
2056
+ /**
2057
+ * Validator vote submitted more than once to dispute.
2058
+ **/
2059
+ DuplicateStatement: GenericPalletError;
2060
+
2061
+ /**
2062
+ * A dispute where there are only votes on one side.
2063
+ **/
2064
+ SingleSidedDispute: GenericPalletError;
2065
+
2066
+ /**
2067
+ * A dispute vote from a malicious backer.
2068
+ **/
2069
+ MaliciousBacker: GenericPalletError;
2070
+
2071
+ /**
2072
+ * No backing votes were provides along dispute statements.
2073
+ **/
2074
+ MissingBackingVotes: GenericPalletError;
2075
+
2076
+ /**
2077
+ * Unconfirmed dispute statement sets provided.
2078
+ **/
2079
+ UnconfirmedDispute: GenericPalletError;
2080
+
2081
+ /**
2082
+ * Generic pallet error
2083
+ **/
2084
+ [error: string]: GenericPalletError;
2085
+ };
2086
+ /**
2087
+ * Pallet `ParasSlashing`'s errors
2088
+ **/
2089
+ parasSlashing: {
2090
+ /**
2091
+ * The key ownership proof is invalid.
2092
+ **/
2093
+ InvalidKeyOwnershipProof: GenericPalletError;
2094
+
2095
+ /**
2096
+ * The session index is too old or invalid.
2097
+ **/
2098
+ InvalidSessionIndex: GenericPalletError;
2099
+
2100
+ /**
2101
+ * The candidate hash is invalid.
2102
+ **/
2103
+ InvalidCandidateHash: GenericPalletError;
2104
+
2105
+ /**
2106
+ * There is no pending slash for the given validator index and time
2107
+ * slot.
2108
+ **/
2109
+ InvalidValidatorIndex: GenericPalletError;
2110
+
2111
+ /**
2112
+ * The validator index does not match the validator id.
2113
+ **/
2114
+ ValidatorIndexIdMismatch: GenericPalletError;
2115
+
2116
+ /**
2117
+ * The given slashing report is valid but already previously reported.
2118
+ **/
2119
+ DuplicateSlashingReport: GenericPalletError;
2120
+
2121
+ /**
2122
+ * Generic pallet error
2123
+ **/
2124
+ [error: string]: GenericPalletError;
2125
+ };
2126
+ /**
2127
+ * Pallet `MessageQueue`'s errors
2128
+ **/
2129
+ messageQueue: {
2130
+ /**
2131
+ * Page is not reapable because it has items remaining to be processed and is not old
2132
+ * enough.
2133
+ **/
2134
+ NotReapable: GenericPalletError;
2135
+
2136
+ /**
2137
+ * Page to be reaped does not exist.
2138
+ **/
2139
+ NoPage: GenericPalletError;
2140
+
2141
+ /**
2142
+ * The referenced message could not be found.
2143
+ **/
2144
+ NoMessage: GenericPalletError;
2145
+
2146
+ /**
2147
+ * The message was already processed and cannot be processed again.
2148
+ **/
2149
+ AlreadyProcessed: GenericPalletError;
2150
+
2151
+ /**
2152
+ * The message is queued for future execution.
2153
+ **/
2154
+ Queued: GenericPalletError;
2155
+
2156
+ /**
2157
+ * There is temporarily not enough weight to continue servicing messages.
2158
+ **/
2159
+ InsufficientWeight: GenericPalletError;
2160
+
2161
+ /**
2162
+ * This message is temporarily unprocessable.
2163
+ *
2164
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
2165
+ * retrying.
2166
+ **/
2167
+ TemporarilyUnprocessable: GenericPalletError;
2168
+
2169
+ /**
2170
+ * The queue is paused and no message can be executed from it.
2171
+ *
2172
+ * This can change at any time and may resolve in the future by re-trying.
2173
+ **/
2174
+ QueuePaused: GenericPalletError;
2175
+
2176
+ /**
2177
+ * Another call is in progress and needs to finish before this call can happen.
2178
+ **/
2179
+ RecursiveDisallowed: GenericPalletError;
2180
+
2181
+ /**
2182
+ * Generic pallet error
2183
+ **/
2184
+ [error: string]: GenericPalletError;
2185
+ };
2186
+ /**
2187
+ * Pallet `OnDemandAssignmentProvider`'s errors
2188
+ **/
2189
+ onDemandAssignmentProvider: {
2190
+ /**
2191
+ * The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
2192
+ * call is invalid.
2193
+ **/
2194
+ InvalidParaId: GenericPalletError;
2195
+
2196
+ /**
2197
+ * The order queue is full, `place_order` will not continue.
2198
+ **/
2199
+ QueueFull: GenericPalletError;
2200
+
2201
+ /**
2202
+ * The current spot price is higher than the max amount specified in the `place_order`
2203
+ * call, making it invalid.
2204
+ **/
2205
+ SpotPriceHigherThanMaxAmount: GenericPalletError;
2206
+
2207
+ /**
2208
+ * Generic pallet error
2209
+ **/
2210
+ [error: string]: GenericPalletError;
2211
+ };
2212
+ /**
2213
+ * Pallet `CoretimeAssignmentProvider`'s errors
2214
+ **/
2215
+ coretimeAssignmentProvider: {
2216
+ AssignmentsEmpty: GenericPalletError;
2217
+
2218
+ /**
2219
+ * Assignments together exceeded 57600.
2220
+ **/
2221
+ OverScheduled: GenericPalletError;
2222
+
2223
+ /**
2224
+ * Assignments together less than 57600
2225
+ **/
2226
+ UnderScheduled: GenericPalletError;
2227
+
2228
+ /**
2229
+ * assign_core is only allowed to append new assignments at the end of already existing
2230
+ * ones.
2231
+ **/
2232
+ DisallowedInsert: GenericPalletError;
2233
+
2234
+ /**
2235
+ * Tried to insert a schedule for the same core and block number as an existing schedule
2236
+ **/
2237
+ DuplicateInsert: GenericPalletError;
2238
+
2239
+ /**
2240
+ * Tried to add an unsorted set of assignments
2241
+ **/
2242
+ AssignmentsNotSorted: GenericPalletError;
2243
+
2244
+ /**
2245
+ * Generic pallet error
2246
+ **/
2247
+ [error: string]: GenericPalletError;
2248
+ };
2249
+ /**
2250
+ * Pallet `Registrar`'s errors
2251
+ **/
2252
+ registrar: {
2253
+ /**
2254
+ * The ID is not registered.
2255
+ **/
2256
+ NotRegistered: GenericPalletError;
2257
+
2258
+ /**
2259
+ * The ID is already registered.
2260
+ **/
2261
+ AlreadyRegistered: GenericPalletError;
2262
+
2263
+ /**
2264
+ * The caller is not the owner of this Id.
2265
+ **/
2266
+ NotOwner: GenericPalletError;
2267
+
2268
+ /**
2269
+ * Invalid para code size.
2270
+ **/
2271
+ CodeTooLarge: GenericPalletError;
2272
+
2273
+ /**
2274
+ * Invalid para head data size.
2275
+ **/
2276
+ HeadDataTooLarge: GenericPalletError;
2277
+
2278
+ /**
2279
+ * Para is not a Parachain.
2280
+ **/
2281
+ NotParachain: GenericPalletError;
2282
+
2283
+ /**
2284
+ * Para is not a Parathread (on-demand parachain).
2285
+ **/
2286
+ NotParathread: GenericPalletError;
2287
+
2288
+ /**
2289
+ * Cannot deregister para
2290
+ **/
2291
+ CannotDeregister: GenericPalletError;
2292
+
2293
+ /**
2294
+ * Cannot schedule downgrade of lease holding parachain to on-demand parachain
2295
+ **/
2296
+ CannotDowngrade: GenericPalletError;
2297
+
2298
+ /**
2299
+ * Cannot schedule upgrade of on-demand parachain to lease holding parachain
2300
+ **/
2301
+ CannotUpgrade: GenericPalletError;
2302
+
2303
+ /**
2304
+ * Para is locked from manipulation by the manager. Must use parachain or relay chain
2305
+ * governance.
2306
+ **/
2307
+ ParaLocked: GenericPalletError;
2308
+
2309
+ /**
2310
+ * The ID given for registration has not been reserved.
2311
+ **/
2312
+ NotReserved: GenericPalletError;
2313
+
2314
+ /**
2315
+ * The validation code is invalid.
2316
+ **/
2317
+ InvalidCode: GenericPalletError;
2318
+
2319
+ /**
2320
+ * Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
2321
+ * are correct for the swap to work.
2322
+ **/
2323
+ CannotSwap: GenericPalletError;
2324
+
2325
+ /**
2326
+ * Generic pallet error
2327
+ **/
2328
+ [error: string]: GenericPalletError;
2329
+ };
2330
+ /**
2331
+ * Pallet `Slots`'s errors
2332
+ **/
2333
+ slots: {
2334
+ /**
2335
+ * The parachain ID is not onboarding.
2336
+ **/
2337
+ ParaNotOnboarding: GenericPalletError;
2338
+
2339
+ /**
2340
+ * There was an error with the lease.
2341
+ **/
2342
+ LeaseError: GenericPalletError;
2343
+
2344
+ /**
2345
+ * Generic pallet error
2346
+ **/
2347
+ [error: string]: GenericPalletError;
2348
+ };
2349
+ /**
2350
+ * Pallet `Auctions`'s errors
2351
+ **/
2352
+ auctions: {
2353
+ /**
2354
+ * This auction is already in progress.
2355
+ **/
2356
+ AuctionInProgress: GenericPalletError;
2357
+
2358
+ /**
2359
+ * The lease period is in the past.
2360
+ **/
2361
+ LeasePeriodInPast: GenericPalletError;
2362
+
2363
+ /**
2364
+ * Para is not registered
2365
+ **/
2366
+ ParaNotRegistered: GenericPalletError;
2367
+
2368
+ /**
2369
+ * Not a current auction.
2370
+ **/
2371
+ NotCurrentAuction: GenericPalletError;
2372
+
2373
+ /**
2374
+ * Not an auction.
2375
+ **/
2376
+ NotAuction: GenericPalletError;
2377
+
2378
+ /**
2379
+ * Auction has already ended.
2380
+ **/
2381
+ AuctionEnded: GenericPalletError;
2382
+
2383
+ /**
2384
+ * The para is already leased out for part of this range.
2385
+ **/
2386
+ AlreadyLeasedOut: GenericPalletError;
2387
+
2388
+ /**
2389
+ * Generic pallet error
2390
+ **/
2391
+ [error: string]: GenericPalletError;
2392
+ };
2393
+ /**
2394
+ * Pallet `Crowdloan`'s errors
2395
+ **/
2396
+ crowdloan: {
2397
+ /**
2398
+ * The current lease period is more than the first lease period.
2399
+ **/
2400
+ FirstPeriodInPast: GenericPalletError;
2401
+
2402
+ /**
2403
+ * The first lease period needs to at least be less than 3 `max_value`.
2404
+ **/
2405
+ FirstPeriodTooFarInFuture: GenericPalletError;
2406
+
2407
+ /**
2408
+ * Last lease period must be greater than first lease period.
2409
+ **/
2410
+ LastPeriodBeforeFirstPeriod: GenericPalletError;
2411
+
2412
+ /**
2413
+ * The last lease period cannot be more than 3 periods after the first period.
2414
+ **/
2415
+ LastPeriodTooFarInFuture: GenericPalletError;
2416
+
2417
+ /**
2418
+ * The campaign ends before the current block number. The end must be in the future.
2419
+ **/
2420
+ CannotEndInPast: GenericPalletError;
2421
+
2422
+ /**
2423
+ * The end date for this crowdloan is not sensible.
2424
+ **/
2425
+ EndTooFarInFuture: GenericPalletError;
2426
+
2427
+ /**
2428
+ * There was an overflow.
2429
+ **/
2430
+ Overflow: GenericPalletError;
2431
+
2432
+ /**
2433
+ * The contribution was below the minimum, `MinContribution`.
2434
+ **/
2435
+ ContributionTooSmall: GenericPalletError;
2436
+
2437
+ /**
2438
+ * Invalid fund index.
2439
+ **/
2440
+ InvalidParaId: GenericPalletError;
2441
+
2442
+ /**
2443
+ * Contributions exceed maximum amount.
2444
+ **/
2445
+ CapExceeded: GenericPalletError;
2446
+
2447
+ /**
2448
+ * The contribution period has already ended.
2449
+ **/
2450
+ ContributionPeriodOver: GenericPalletError;
2451
+
2452
+ /**
2453
+ * The origin of this call is invalid.
2454
+ **/
2455
+ InvalidOrigin: GenericPalletError;
2456
+
2457
+ /**
2458
+ * This crowdloan does not correspond to a parachain.
2459
+ **/
2460
+ NotParachain: GenericPalletError;
2461
+
2462
+ /**
2463
+ * This parachain lease is still active and retirement cannot yet begin.
2464
+ **/
2465
+ LeaseActive: GenericPalletError;
2466
+
2467
+ /**
2468
+ * This parachain's bid or lease is still active and withdraw cannot yet begin.
2469
+ **/
2470
+ BidOrLeaseActive: GenericPalletError;
2471
+
2472
+ /**
2473
+ * The crowdloan has not yet ended.
2474
+ **/
2475
+ FundNotEnded: GenericPalletError;
2476
+
2477
+ /**
2478
+ * There are no contributions stored in this crowdloan.
2479
+ **/
2480
+ NoContributions: GenericPalletError;
2481
+
2482
+ /**
2483
+ * The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
2484
+ * period.
2485
+ **/
2486
+ NotReadyToDissolve: GenericPalletError;
2487
+
2488
+ /**
2489
+ * Invalid signature.
2490
+ **/
2491
+ InvalidSignature: GenericPalletError;
2492
+
2493
+ /**
2494
+ * The provided memo is too large.
2495
+ **/
2496
+ MemoTooLarge: GenericPalletError;
2497
+
2498
+ /**
2499
+ * The fund is already in `NewRaise`
2500
+ **/
2501
+ AlreadyInNewRaise: GenericPalletError;
2502
+
2503
+ /**
2504
+ * No contributions allowed during the VRF delay
2505
+ **/
2506
+ VrfDelayInProgress: GenericPalletError;
2507
+
2508
+ /**
2509
+ * A lease period has not started yet, due to an offset in the starting block.
2510
+ **/
2511
+ NoLeasePeriod: GenericPalletError;
2512
+
2513
+ /**
2514
+ * Generic pallet error
2515
+ **/
2516
+ [error: string]: GenericPalletError;
2517
+ };
2518
+ /**
2519
+ * Pallet `Coretime`'s errors
2520
+ **/
2521
+ coretime: {
2522
+ /**
2523
+ * The paraid making the call is not the coretime brokerage system parachain.
2524
+ **/
2525
+ NotBroker: GenericPalletError;
2526
+
2527
+ /**
2528
+ * Generic pallet error
2529
+ **/
2530
+ [error: string]: GenericPalletError;
2531
+ };
2532
+ /**
2533
+ * Pallet `XcmPallet`'s errors
2534
+ **/
2535
+ xcmPallet: {
2536
+ /**
2537
+ * The desired destination was unreachable, generally because there is a no way of routing
2538
+ * to it.
2539
+ **/
2540
+ Unreachable: GenericPalletError;
2541
+
2542
+ /**
2543
+ * There was some other issue (i.e. not to do with routing) in sending the message.
2544
+ * Perhaps a lack of space for buffering the message.
2545
+ **/
2546
+ SendFailure: GenericPalletError;
2547
+
2548
+ /**
2549
+ * The message execution fails the filter.
2550
+ **/
2551
+ Filtered: GenericPalletError;
2552
+
2553
+ /**
2554
+ * The message's weight could not be determined.
2555
+ **/
2556
+ UnweighableMessage: GenericPalletError;
2557
+
2558
+ /**
2559
+ * The destination `Location` provided cannot be inverted.
2560
+ **/
2561
+ DestinationNotInvertible: GenericPalletError;
2562
+
2563
+ /**
2564
+ * The assets to be sent are empty.
2565
+ **/
2566
+ Empty: GenericPalletError;
2567
+
2568
+ /**
2569
+ * Could not re-anchor the assets to declare the fees for the destination chain.
2570
+ **/
2571
+ CannotReanchor: GenericPalletError;
2572
+
2573
+ /**
2574
+ * Too many assets have been attempted for transfer.
2575
+ **/
2576
+ TooManyAssets: GenericPalletError;
2577
+
2578
+ /**
2579
+ * Origin is invalid for sending.
2580
+ **/
2581
+ InvalidOrigin: GenericPalletError;
2582
+
2583
+ /**
2584
+ * The version of the `Versioned` value used is not able to be interpreted.
2585
+ **/
2586
+ BadVersion: GenericPalletError;
2587
+
2588
+ /**
2589
+ * The given location could not be used (e.g. because it cannot be expressed in the
2590
+ * desired version of XCM).
2591
+ **/
2592
+ BadLocation: GenericPalletError;
2593
+
2594
+ /**
2595
+ * The referenced subscription could not be found.
2596
+ **/
2597
+ NoSubscription: GenericPalletError;
2598
+
2599
+ /**
2600
+ * The location is invalid since it already has a subscription from us.
2601
+ **/
2602
+ AlreadySubscribed: GenericPalletError;
2603
+
2604
+ /**
2605
+ * Could not check-out the assets for teleportation to the destination chain.
2606
+ **/
2607
+ CannotCheckOutTeleport: GenericPalletError;
2608
+
2609
+ /**
2610
+ * The owner does not own (all) of the asset that they wish to do the operation on.
2611
+ **/
2612
+ LowBalance: GenericPalletError;
2613
+
2614
+ /**
2615
+ * The asset owner has too many locks on the asset.
2616
+ **/
2617
+ TooManyLocks: GenericPalletError;
2618
+
2619
+ /**
2620
+ * The given account is not an identifiable sovereign account for any location.
2621
+ **/
2622
+ AccountNotSovereign: GenericPalletError;
2623
+
2624
+ /**
2625
+ * The operation required fees to be paid which the initiator could not meet.
2626
+ **/
2627
+ FeesNotMet: GenericPalletError;
2628
+
2629
+ /**
2630
+ * A remote lock with the corresponding data could not be found.
2631
+ **/
2632
+ LockNotFound: GenericPalletError;
2633
+
2634
+ /**
2635
+ * The unlock operation cannot succeed because there are still consumers of the lock.
2636
+ **/
2637
+ InUse: GenericPalletError;
2638
+
2639
+ /**
2640
+ * Invalid non-concrete asset.
2641
+ **/
2642
+ InvalidAssetNotConcrete: GenericPalletError;
2643
+
2644
+ /**
2645
+ * Invalid asset, reserve chain could not be determined for it.
2646
+ **/
2647
+ InvalidAssetUnknownReserve: GenericPalletError;
2648
+
2649
+ /**
2650
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
2651
+ **/
2652
+ InvalidAssetUnsupportedReserve: GenericPalletError;
2653
+
2654
+ /**
2655
+ * Too many assets with different reserve locations have been attempted for transfer.
2656
+ **/
2657
+ TooManyReserves: GenericPalletError;
2658
+
2659
+ /**
2660
+ * Local XCM execution incomplete.
2661
+ **/
2662
+ LocalExecutionIncomplete: GenericPalletError;
2663
+
2664
+ /**
2665
+ * Generic pallet error
2666
+ **/
2667
+ [error: string]: GenericPalletError;
2668
+ };
2669
+ /**
2670
+ * Pallet `Beefy`'s errors
2671
+ **/
2672
+ beefy: {
2673
+ /**
2674
+ * A key ownership proof provided as part of an equivocation report is invalid.
2675
+ **/
2676
+ InvalidKeyOwnershipProof: GenericPalletError;
2677
+
2678
+ /**
2679
+ * An equivocation proof provided as part of an equivocation report is invalid.
2680
+ **/
2681
+ InvalidEquivocationProof: GenericPalletError;
2682
+
2683
+ /**
2684
+ * A given equivocation report is valid but already previously reported.
2685
+ **/
2686
+ DuplicateOffenceReport: GenericPalletError;
2687
+
2688
+ /**
2689
+ * Submitted configuration is invalid.
2690
+ **/
2691
+ InvalidConfiguration: GenericPalletError;
2692
+
2693
+ /**
2694
+ * Generic pallet error
2695
+ **/
2696
+ [error: string]: GenericPalletError;
2697
+ };
2698
+ /**
2699
+ * Pallet `ParasSudoWrapper`'s errors
2700
+ **/
2701
+ parasSudoWrapper: {
2702
+ /**
2703
+ * The specified parachain is not registered.
2704
+ **/
2705
+ ParaDoesntExist: GenericPalletError;
2706
+
2707
+ /**
2708
+ * The specified parachain is already registered.
2709
+ **/
2710
+ ParaAlreadyExists: GenericPalletError;
2711
+
2712
+ /**
2713
+ * A DMP message couldn't be sent because it exceeds the maximum size allowed for a
2714
+ * downward message.
2715
+ **/
2716
+ ExceedsMaxMessageSize: GenericPalletError;
2717
+
2718
+ /**
2719
+ * Could not schedule para cleanup.
2720
+ **/
2721
+ CouldntCleanup: GenericPalletError;
2722
+
2723
+ /**
2724
+ * Not a parathread (on-demand parachain).
2725
+ **/
2726
+ NotParathread: GenericPalletError;
2727
+
2728
+ /**
2729
+ * Not a lease holding parachain.
2730
+ **/
2731
+ NotParachain: GenericPalletError;
2732
+
2733
+ /**
2734
+ * Cannot upgrade on-demand parachain to lease holding parachain.
2735
+ **/
2736
+ CannotUpgrade: GenericPalletError;
2737
+
2738
+ /**
2739
+ * Cannot downgrade lease holding parachain to on-demand.
2740
+ **/
2741
+ CannotDowngrade: GenericPalletError;
2742
+
2743
+ /**
2744
+ * There are more cores than supported by the runtime.
2745
+ **/
2746
+ TooManyCores: GenericPalletError;
2747
+
2748
+ /**
2749
+ * Generic pallet error
2750
+ **/
2751
+ [error: string]: GenericPalletError;
2752
+ };
2753
+ /**
2754
+ * Pallet `AssignedSlots`'s errors
2755
+ **/
2756
+ assignedSlots: {
2757
+ /**
2758
+ * The specified parachain is not registered.
2759
+ **/
2760
+ ParaDoesntExist: GenericPalletError;
2761
+
2762
+ /**
2763
+ * Not a parathread (on-demand parachain).
2764
+ **/
2765
+ NotParathread: GenericPalletError;
2766
+
2767
+ /**
2768
+ * Cannot upgrade on-demand parachain to lease holding
2769
+ * parachain.
2770
+ **/
2771
+ CannotUpgrade: GenericPalletError;
2772
+
2773
+ /**
2774
+ * Cannot downgrade lease holding parachain to
2775
+ * on-demand.
2776
+ **/
2777
+ CannotDowngrade: GenericPalletError;
2778
+
2779
+ /**
2780
+ * Permanent or Temporary slot already assigned.
2781
+ **/
2782
+ SlotAlreadyAssigned: GenericPalletError;
2783
+
2784
+ /**
2785
+ * Permanent or Temporary slot has not been assigned.
2786
+ **/
2787
+ SlotNotAssigned: GenericPalletError;
2788
+
2789
+ /**
2790
+ * An ongoing lease already exists.
2791
+ **/
2792
+ OngoingLeaseExists: GenericPalletError;
2793
+ MaxPermanentSlotsExceeded: GenericPalletError;
2794
+ MaxTemporarySlotsExceeded: GenericPalletError;
2795
+
2796
+ /**
2797
+ * Generic pallet error
2798
+ **/
2799
+ [error: string]: GenericPalletError;
2800
+ };
2801
+ /**
2802
+ * Pallet `StateTrieMigration`'s errors
2803
+ **/
2804
+ stateTrieMigration: {
2805
+ /**
2806
+ * Max signed limits not respected.
2807
+ **/
2808
+ MaxSignedLimits: GenericPalletError;
2809
+
2810
+ /**
2811
+ * A key was longer than the configured maximum.
2812
+ *
2813
+ * This means that the migration halted at the current [`Progress`] and
2814
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2815
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2816
+ * The value should only be increased to avoid a storage migration for the currently
2817
+ * stored [`crate::Progress::LastKey`].
2818
+ **/
2819
+ KeyTooLong: GenericPalletError;
2820
+
2821
+ /**
2822
+ * submitter does not have enough funds.
2823
+ **/
2824
+ NotEnoughFunds: GenericPalletError;
2825
+
2826
+ /**
2827
+ * Bad witness data provided.
2828
+ **/
2829
+ BadWitness: GenericPalletError;
2830
+
2831
+ /**
2832
+ * Signed migration is not allowed because the maximum limit is not set yet.
2833
+ **/
2834
+ SignedMigrationNotAllowed: GenericPalletError;
2835
+
2836
+ /**
2837
+ * Bad child root provided.
2838
+ **/
2839
+ BadChildRoot: GenericPalletError;
2840
+
2841
+ /**
2842
+ * Generic pallet error
2843
+ **/
2844
+ [error: string]: GenericPalletError;
2845
+ };
2846
+ /**
2847
+ * Pallet `Sudo`'s errors
2848
+ **/
2849
+ sudo: {
2850
+ /**
2851
+ * Sender must be the Sudo account.
2852
+ **/
2853
+ RequireSudo: GenericPalletError;
2854
+
2855
+ /**
2856
+ * Generic pallet error
2857
+ **/
2858
+ [error: string]: GenericPalletError;
2859
+ };
2860
+ }