@dedot/api 0.0.1-alpha.32

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 (202) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/chaintypes/index.d.ts +1 -0
  4. package/chaintypes/index.js +1 -0
  5. package/chaintypes/substrate/consts.d.ts +2132 -0
  6. package/chaintypes/substrate/consts.js +2 -0
  7. package/chaintypes/substrate/errors.d.ts +3490 -0
  8. package/chaintypes/substrate/errors.js +2 -0
  9. package/chaintypes/substrate/events.d.ts +5187 -0
  10. package/chaintypes/substrate/events.js +2 -0
  11. package/chaintypes/substrate/index.d.ts +22 -0
  12. package/chaintypes/substrate/index.js +2 -0
  13. package/chaintypes/substrate/json-rpc.d.ts +3 -0
  14. package/chaintypes/substrate/json-rpc.js +2 -0
  15. package/chaintypes/substrate/query.d.ts +3829 -0
  16. package/chaintypes/substrate/query.js +2 -0
  17. package/chaintypes/substrate/runtime.d.ts +850 -0
  18. package/chaintypes/substrate/runtime.js +2 -0
  19. package/chaintypes/substrate/tx.d.ts +14269 -0
  20. package/chaintypes/substrate/tx.js +2 -0
  21. package/chaintypes/substrate/types.d.ts +30457 -0
  22. package/chaintypes/substrate/types.js +2 -0
  23. package/cjs/chaintypes/index.js +17 -0
  24. package/cjs/chaintypes/substrate/consts.js +3 -0
  25. package/cjs/chaintypes/substrate/errors.js +3 -0
  26. package/cjs/chaintypes/substrate/events.js +3 -0
  27. package/cjs/chaintypes/substrate/index.js +18 -0
  28. package/cjs/chaintypes/substrate/json-rpc.js +3 -0
  29. package/cjs/chaintypes/substrate/query.js +3 -0
  30. package/cjs/chaintypes/substrate/runtime.js +3 -0
  31. package/cjs/chaintypes/substrate/tx.js +3 -0
  32. package/cjs/chaintypes/substrate/types.js +3 -0
  33. package/cjs/client/BaseSubstrateClient.js +257 -0
  34. package/cjs/client/Dedot.js +250 -0
  35. package/cjs/client/DedotClient.js +186 -0
  36. package/cjs/client/index.js +18 -0
  37. package/cjs/executor/ConstantExecutor.js +20 -0
  38. package/cjs/executor/ErrorExecutor.js +46 -0
  39. package/cjs/executor/EventExecutor.js +52 -0
  40. package/cjs/executor/Executor.js +42 -0
  41. package/cjs/executor/RuntimeApiExecutor.js +121 -0
  42. package/cjs/executor/StorageQueryExecutor.js +115 -0
  43. package/cjs/executor/TxExecutor.js +55 -0
  44. package/cjs/executor/index.js +26 -0
  45. package/cjs/executor/v2/RuntimeApiExecutorV2.js +21 -0
  46. package/cjs/executor/v2/StorageQueryExecutorV2.js +65 -0
  47. package/cjs/executor/v2/TxExecutorV2.js +20 -0
  48. package/cjs/extrinsic/extensions/ExtraSignedExtension.js +87 -0
  49. package/cjs/extrinsic/extensions/SignedExtension.js +41 -0
  50. package/cjs/extrinsic/extensions/index.js +19 -0
  51. package/cjs/extrinsic/extensions/known/ChargeAssetTxPayment.js +43 -0
  52. package/cjs/extrinsic/extensions/known/ChargeTransactionPayment.js +16 -0
  53. package/cjs/extrinsic/extensions/known/CheckGenesis.js +19 -0
  54. package/cjs/extrinsic/extensions/known/CheckMortality.js +90 -0
  55. package/cjs/extrinsic/extensions/known/CheckNonZeroSender.js +10 -0
  56. package/cjs/extrinsic/extensions/known/CheckNonce.js +33 -0
  57. package/cjs/extrinsic/extensions/known/CheckSpecVersion.js +19 -0
  58. package/cjs/extrinsic/extensions/known/CheckTxVersion.js +19 -0
  59. package/cjs/extrinsic/extensions/known/CheckWeight.js +10 -0
  60. package/cjs/extrinsic/extensions/known/PrevalidateAttests.js +11 -0
  61. package/cjs/extrinsic/extensions/known/index.js +25 -0
  62. package/cjs/extrinsic/index.js +18 -0
  63. package/cjs/extrinsic/submittable/BaseSubmittableExtrinsic.js +70 -0
  64. package/cjs/extrinsic/submittable/SubmittableExtrinsic.js +47 -0
  65. package/cjs/extrinsic/submittable/SubmittableExtrinsicV2.js +204 -0
  66. package/cjs/extrinsic/submittable/SubmittableResult.js +33 -0
  67. package/cjs/extrinsic/submittable/errors.js +16 -0
  68. package/cjs/extrinsic/submittable/fakeSigner.js +13 -0
  69. package/cjs/extrinsic/submittable/index.js +20 -0
  70. package/cjs/extrinsic/submittable/utils.js +20 -0
  71. package/cjs/index.js +21 -0
  72. package/cjs/json-rpc/JsonRpcClient.js +165 -0
  73. package/cjs/json-rpc/group/ChainHead/BlockUsage.js +24 -0
  74. package/cjs/json-rpc/group/ChainHead/ChainHead.js +603 -0
  75. package/cjs/json-rpc/group/ChainHead/error.js +59 -0
  76. package/cjs/json-rpc/group/ChainHead/index.js +18 -0
  77. package/cjs/json-rpc/group/ChainSpec.js +19 -0
  78. package/cjs/json-rpc/group/JsonRpcGroup.js +89 -0
  79. package/cjs/json-rpc/group/Transaction.js +25 -0
  80. package/cjs/json-rpc/group/TransactionWatch.js +17 -0
  81. package/cjs/json-rpc/group/index.js +21 -0
  82. package/cjs/json-rpc/index.js +20 -0
  83. package/cjs/json-rpc/scaledResponses.js +15 -0
  84. package/cjs/json-rpc/subscriptionsInfo.js +20 -0
  85. package/cjs/package.json +1 -0
  86. package/cjs/proxychain.js +27 -0
  87. package/cjs/storage/QueryableStorage.js +161 -0
  88. package/cjs/storage/index.js +17 -0
  89. package/cjs/types.js +2 -0
  90. package/client/BaseSubstrateClient.d.ts +65 -0
  91. package/client/BaseSubstrateClient.js +252 -0
  92. package/client/Dedot.d.ts +131 -0
  93. package/client/Dedot.js +246 -0
  94. package/client/DedotClient.d.ts +61 -0
  95. package/client/DedotClient.js +182 -0
  96. package/client/index.d.ts +2 -0
  97. package/client/index.js +2 -0
  98. package/executor/ConstantExecutor.d.ts +10 -0
  99. package/executor/ConstantExecutor.js +16 -0
  100. package/executor/ErrorExecutor.d.ts +10 -0
  101. package/executor/ErrorExecutor.js +42 -0
  102. package/executor/EventExecutor.d.ts +10 -0
  103. package/executor/EventExecutor.js +48 -0
  104. package/executor/Executor.d.ts +149 -0
  105. package/executor/Executor.js +38 -0
  106. package/executor/RuntimeApiExecutor.d.ts +27 -0
  107. package/executor/RuntimeApiExecutor.js +117 -0
  108. package/executor/StorageQueryExecutor.d.ts +14 -0
  109. package/executor/StorageQueryExecutor.js +111 -0
  110. package/executor/TxExecutor.d.ts +10 -0
  111. package/executor/TxExecutor.js +51 -0
  112. package/executor/index.d.ts +10 -0
  113. package/executor/index.js +10 -0
  114. package/executor/v2/RuntimeApiExecutorV2.d.ts +14 -0
  115. package/executor/v2/RuntimeApiExecutorV2.js +17 -0
  116. package/executor/v2/StorageQueryExecutorV2.d.ts +17 -0
  117. package/executor/v2/StorageQueryExecutorV2.js +61 -0
  118. package/executor/v2/TxExecutorV2.d.ts +11 -0
  119. package/executor/v2/TxExecutorV2.js +16 -0
  120. package/extrinsic/extensions/ExtraSignedExtension.d.ts +14 -0
  121. package/extrinsic/extensions/ExtraSignedExtension.js +60 -0
  122. package/extrinsic/extensions/SignedExtension.d.ts +40 -0
  123. package/extrinsic/extensions/SignedExtension.js +37 -0
  124. package/extrinsic/extensions/index.d.ts +3 -0
  125. package/extrinsic/extensions/index.js +3 -0
  126. package/extrinsic/extensions/known/ChargeAssetTxPayment.d.ts +14 -0
  127. package/extrinsic/extensions/known/ChargeAssetTxPayment.js +39 -0
  128. package/extrinsic/extensions/known/ChargeTransactionPayment.d.ts +6 -0
  129. package/extrinsic/extensions/known/ChargeTransactionPayment.js +12 -0
  130. package/extrinsic/extensions/known/CheckGenesis.d.ts +10 -0
  131. package/extrinsic/extensions/known/CheckGenesis.js +15 -0
  132. package/extrinsic/extensions/known/CheckMortality.d.ts +15 -0
  133. package/extrinsic/extensions/known/CheckMortality.js +86 -0
  134. package/extrinsic/extensions/known/CheckNonZeroSender.d.ts +6 -0
  135. package/extrinsic/extensions/known/CheckNonZeroSender.js +6 -0
  136. package/extrinsic/extensions/known/CheckNonce.d.ts +10 -0
  137. package/extrinsic/extensions/known/CheckNonce.js +29 -0
  138. package/extrinsic/extensions/known/CheckSpecVersion.d.ts +9 -0
  139. package/extrinsic/extensions/known/CheckSpecVersion.js +15 -0
  140. package/extrinsic/extensions/known/CheckTxVersion.d.ts +9 -0
  141. package/extrinsic/extensions/known/CheckTxVersion.js +15 -0
  142. package/extrinsic/extensions/known/CheckWeight.d.ts +6 -0
  143. package/extrinsic/extensions/known/CheckWeight.js +6 -0
  144. package/extrinsic/extensions/known/PrevalidateAttests.d.ts +7 -0
  145. package/extrinsic/extensions/known/PrevalidateAttests.js +7 -0
  146. package/extrinsic/extensions/known/index.d.ts +3 -0
  147. package/extrinsic/extensions/known/index.js +22 -0
  148. package/extrinsic/index.d.ts +2 -0
  149. package/extrinsic/index.js +2 -0
  150. package/extrinsic/submittable/BaseSubmittableExtrinsic.d.ts +17 -0
  151. package/extrinsic/submittable/BaseSubmittableExtrinsic.js +66 -0
  152. package/extrinsic/submittable/SubmittableExtrinsic.d.ts +12 -0
  153. package/extrinsic/submittable/SubmittableExtrinsic.js +43 -0
  154. package/extrinsic/submittable/SubmittableExtrinsicV2.d.ts +15 -0
  155. package/extrinsic/submittable/SubmittableExtrinsicV2.js +200 -0
  156. package/extrinsic/submittable/SubmittableResult.d.ts +19 -0
  157. package/extrinsic/submittable/SubmittableResult.js +29 -0
  158. package/extrinsic/submittable/errors.d.ts +11 -0
  159. package/extrinsic/submittable/errors.js +12 -0
  160. package/extrinsic/submittable/fakeSigner.d.ts +2 -0
  161. package/extrinsic/submittable/fakeSigner.js +10 -0
  162. package/extrinsic/submittable/index.d.ts +4 -0
  163. package/extrinsic/submittable/index.js +4 -0
  164. package/extrinsic/submittable/utils.d.ts +10 -0
  165. package/extrinsic/submittable/utils.js +15 -0
  166. package/index.d.ts +6 -0
  167. package/index.js +5 -0
  168. package/json-rpc/JsonRpcClient.d.ts +50 -0
  169. package/json-rpc/JsonRpcClient.js +160 -0
  170. package/json-rpc/group/ChainHead/BlockUsage.d.ts +11 -0
  171. package/json-rpc/group/ChainHead/BlockUsage.js +20 -0
  172. package/json-rpc/group/ChainHead/ChainHead.d.ts +70 -0
  173. package/json-rpc/group/ChainHead/ChainHead.js +599 -0
  174. package/json-rpc/group/ChainHead/error.d.ts +47 -0
  175. package/json-rpc/group/ChainHead/error.js +48 -0
  176. package/json-rpc/group/ChainHead/index.d.ts +2 -0
  177. package/json-rpc/group/ChainHead/index.js +2 -0
  178. package/json-rpc/group/ChainSpec.d.ts +10 -0
  179. package/json-rpc/group/ChainSpec.js +15 -0
  180. package/json-rpc/group/JsonRpcGroup.d.ts +74 -0
  181. package/json-rpc/group/JsonRpcGroup.js +85 -0
  182. package/json-rpc/group/Transaction.d.ts +11 -0
  183. package/json-rpc/group/Transaction.js +21 -0
  184. package/json-rpc/group/TransactionWatch.d.ts +10 -0
  185. package/json-rpc/group/TransactionWatch.js +13 -0
  186. package/json-rpc/group/index.d.ts +5 -0
  187. package/json-rpc/group/index.js +5 -0
  188. package/json-rpc/index.d.ts +4 -0
  189. package/json-rpc/index.js +4 -0
  190. package/json-rpc/scaledResponses.d.ts +2 -0
  191. package/json-rpc/scaledResponses.js +12 -0
  192. package/json-rpc/subscriptionsInfo.d.ts +2 -0
  193. package/json-rpc/subscriptionsInfo.js +17 -0
  194. package/package.json +54 -0
  195. package/proxychain.d.ts +14 -0
  196. package/proxychain.js +23 -0
  197. package/storage/QueryableStorage.d.ts +35 -0
  198. package/storage/QueryableStorage.js +157 -0
  199. package/storage/index.d.ts +1 -0
  200. package/storage/index.js +1 -0
  201. package/types.d.ts +120 -0
  202. package/types.js +1 -0
@@ -0,0 +1,3490 @@
1
+ import type { GenericChainErrors, GenericPalletError, RpcVersion } from '@dedot/types';
2
+ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<Rv> {
3
+ /**
4
+ * Pallet `System`'s errors
5
+ **/
6
+ system: {
7
+ /**
8
+ * The name of specification does not match between the current runtime
9
+ * and the new runtime.
10
+ **/
11
+ InvalidSpecName: GenericPalletError<Rv>;
12
+ /**
13
+ * The specification version is not allowed to decrease between the current runtime
14
+ * and the new runtime.
15
+ **/
16
+ SpecVersionNeedsToIncrease: GenericPalletError<Rv>;
17
+ /**
18
+ * Failed to extract the runtime version from the new runtime.
19
+ *
20
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
21
+ **/
22
+ FailedToExtractRuntimeVersion: GenericPalletError<Rv>;
23
+ /**
24
+ * Suicide called when the account has non-default composite data.
25
+ **/
26
+ NonDefaultComposite: GenericPalletError<Rv>;
27
+ /**
28
+ * There is a non-zero reference count preventing the account from being purged.
29
+ **/
30
+ NonZeroRefCount: GenericPalletError<Rv>;
31
+ /**
32
+ * The origin filter prevent the call to be dispatched.
33
+ **/
34
+ CallFiltered: GenericPalletError<Rv>;
35
+ /**
36
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
37
+ **/
38
+ MultiBlockMigrationsOngoing: GenericPalletError<Rv>;
39
+ /**
40
+ * No upgrade authorized.
41
+ **/
42
+ NothingAuthorized: GenericPalletError<Rv>;
43
+ /**
44
+ * The submitted code is not authorized.
45
+ **/
46
+ Unauthorized: GenericPalletError<Rv>;
47
+ /**
48
+ * Generic pallet error
49
+ **/
50
+ [error: string]: GenericPalletError<Rv>;
51
+ };
52
+ /**
53
+ * Pallet `Utility`'s errors
54
+ **/
55
+ utility: {
56
+ /**
57
+ * Too many calls batched.
58
+ **/
59
+ TooManyCalls: GenericPalletError<Rv>;
60
+ /**
61
+ * Generic pallet error
62
+ **/
63
+ [error: string]: GenericPalletError<Rv>;
64
+ };
65
+ /**
66
+ * Pallet `Babe`'s errors
67
+ **/
68
+ babe: {
69
+ /**
70
+ * An equivocation proof provided as part of an equivocation report is invalid.
71
+ **/
72
+ InvalidEquivocationProof: GenericPalletError<Rv>;
73
+ /**
74
+ * A key ownership proof provided as part of an equivocation report is invalid.
75
+ **/
76
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
77
+ /**
78
+ * A given equivocation report is valid but already previously reported.
79
+ **/
80
+ DuplicateOffenceReport: GenericPalletError<Rv>;
81
+ /**
82
+ * Submitted configuration is invalid.
83
+ **/
84
+ InvalidConfiguration: GenericPalletError<Rv>;
85
+ /**
86
+ * Generic pallet error
87
+ **/
88
+ [error: string]: GenericPalletError<Rv>;
89
+ };
90
+ /**
91
+ * Pallet `Indices`'s errors
92
+ **/
93
+ indices: {
94
+ /**
95
+ * The index was not already assigned.
96
+ **/
97
+ NotAssigned: GenericPalletError<Rv>;
98
+ /**
99
+ * The index is assigned to another account.
100
+ **/
101
+ NotOwner: GenericPalletError<Rv>;
102
+ /**
103
+ * The index was not available.
104
+ **/
105
+ InUse: GenericPalletError<Rv>;
106
+ /**
107
+ * The source and destination accounts are identical.
108
+ **/
109
+ NotTransfer: GenericPalletError<Rv>;
110
+ /**
111
+ * The index is permanent and may not be freed/changed.
112
+ **/
113
+ Permanent: GenericPalletError<Rv>;
114
+ /**
115
+ * Generic pallet error
116
+ **/
117
+ [error: string]: GenericPalletError<Rv>;
118
+ };
119
+ /**
120
+ * Pallet `Balances`'s errors
121
+ **/
122
+ balances: {
123
+ /**
124
+ * Vesting balance too high to send value.
125
+ **/
126
+ VestingBalance: GenericPalletError<Rv>;
127
+ /**
128
+ * Account liquidity restrictions prevent withdrawal.
129
+ **/
130
+ LiquidityRestrictions: GenericPalletError<Rv>;
131
+ /**
132
+ * Balance too low to send value.
133
+ **/
134
+ InsufficientBalance: GenericPalletError<Rv>;
135
+ /**
136
+ * Value too low to create account due to existential deposit.
137
+ **/
138
+ ExistentialDeposit: GenericPalletError<Rv>;
139
+ /**
140
+ * Transfer/payment would kill account.
141
+ **/
142
+ Expendability: GenericPalletError<Rv>;
143
+ /**
144
+ * A vesting schedule already exists for this account.
145
+ **/
146
+ ExistingVestingSchedule: GenericPalletError<Rv>;
147
+ /**
148
+ * Beneficiary account must pre-exist.
149
+ **/
150
+ DeadAccount: GenericPalletError<Rv>;
151
+ /**
152
+ * Number of named reserves exceed `MaxReserves`.
153
+ **/
154
+ TooManyReserves: GenericPalletError<Rv>;
155
+ /**
156
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
157
+ **/
158
+ TooManyHolds: GenericPalletError<Rv>;
159
+ /**
160
+ * Number of freezes exceed `MaxFreezes`.
161
+ **/
162
+ TooManyFreezes: GenericPalletError<Rv>;
163
+ /**
164
+ * The issuance cannot be modified since it is already deactivated.
165
+ **/
166
+ IssuanceDeactivated: GenericPalletError<Rv>;
167
+ /**
168
+ * The delta cannot be zero.
169
+ **/
170
+ DeltaZero: GenericPalletError<Rv>;
171
+ /**
172
+ * Generic pallet error
173
+ **/
174
+ [error: string]: GenericPalletError<Rv>;
175
+ };
176
+ /**
177
+ * Pallet `ElectionProviderMultiPhase`'s errors
178
+ **/
179
+ electionProviderMultiPhase: {
180
+ /**
181
+ * Submission was too early.
182
+ **/
183
+ PreDispatchEarlySubmission: GenericPalletError<Rv>;
184
+ /**
185
+ * Wrong number of winners presented.
186
+ **/
187
+ PreDispatchWrongWinnerCount: GenericPalletError<Rv>;
188
+ /**
189
+ * Submission was too weak, score-wise.
190
+ **/
191
+ PreDispatchWeakSubmission: GenericPalletError<Rv>;
192
+ /**
193
+ * The queue was full, and the solution was not better than any of the existing ones.
194
+ **/
195
+ SignedQueueFull: GenericPalletError<Rv>;
196
+ /**
197
+ * The origin failed to pay the deposit.
198
+ **/
199
+ SignedCannotPayDeposit: GenericPalletError<Rv>;
200
+ /**
201
+ * Witness data to dispatchable is invalid.
202
+ **/
203
+ SignedInvalidWitness: GenericPalletError<Rv>;
204
+ /**
205
+ * The signed submission consumes too much weight
206
+ **/
207
+ SignedTooMuchWeight: GenericPalletError<Rv>;
208
+ /**
209
+ * OCW submitted solution for wrong round
210
+ **/
211
+ OcwCallWrongEra: GenericPalletError<Rv>;
212
+ /**
213
+ * Snapshot metadata should exist but didn't.
214
+ **/
215
+ MissingSnapshotMetadata: GenericPalletError<Rv>;
216
+ /**
217
+ * `Self::insert_submission` returned an invalid index.
218
+ **/
219
+ InvalidSubmissionIndex: GenericPalletError<Rv>;
220
+ /**
221
+ * The call is not allowed at this point.
222
+ **/
223
+ CallNotAllowed: GenericPalletError<Rv>;
224
+ /**
225
+ * The fallback failed
226
+ **/
227
+ FallbackFailed: GenericPalletError<Rv>;
228
+ /**
229
+ * Some bound not met
230
+ **/
231
+ BoundNotMet: GenericPalletError<Rv>;
232
+ /**
233
+ * Submitted solution has too many winners
234
+ **/
235
+ TooManyWinners: GenericPalletError<Rv>;
236
+ /**
237
+ * Sumission was prepared for a different round.
238
+ **/
239
+ PreDispatchDifferentRound: GenericPalletError<Rv>;
240
+ /**
241
+ * Generic pallet error
242
+ **/
243
+ [error: string]: GenericPalletError<Rv>;
244
+ };
245
+ /**
246
+ * Pallet `Staking`'s errors
247
+ **/
248
+ staking: {
249
+ /**
250
+ * Not a controller account.
251
+ **/
252
+ NotController: GenericPalletError<Rv>;
253
+ /**
254
+ * Not a stash account.
255
+ **/
256
+ NotStash: GenericPalletError<Rv>;
257
+ /**
258
+ * Stash is already bonded.
259
+ **/
260
+ AlreadyBonded: GenericPalletError<Rv>;
261
+ /**
262
+ * Controller is already paired.
263
+ **/
264
+ AlreadyPaired: GenericPalletError<Rv>;
265
+ /**
266
+ * Targets cannot be empty.
267
+ **/
268
+ EmptyTargets: GenericPalletError<Rv>;
269
+ /**
270
+ * Duplicate index.
271
+ **/
272
+ DuplicateIndex: GenericPalletError<Rv>;
273
+ /**
274
+ * Slash record index out of bounds.
275
+ **/
276
+ InvalidSlashIndex: GenericPalletError<Rv>;
277
+ /**
278
+ * Cannot have a validator or nominator role, with value less than the minimum defined by
279
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
280
+ * intention, `chill` first to remove one's role as validator/nominator.
281
+ **/
282
+ InsufficientBond: GenericPalletError<Rv>;
283
+ /**
284
+ * Can not schedule more unlock chunks.
285
+ **/
286
+ NoMoreChunks: GenericPalletError<Rv>;
287
+ /**
288
+ * Can not rebond without unlocking chunks.
289
+ **/
290
+ NoUnlockChunk: GenericPalletError<Rv>;
291
+ /**
292
+ * Attempting to target a stash that still has funds.
293
+ **/
294
+ FundedTarget: GenericPalletError<Rv>;
295
+ /**
296
+ * Invalid era to reward.
297
+ **/
298
+ InvalidEraToReward: GenericPalletError<Rv>;
299
+ /**
300
+ * Invalid number of nominations.
301
+ **/
302
+ InvalidNumberOfNominations: GenericPalletError<Rv>;
303
+ /**
304
+ * Items are not sorted and unique.
305
+ **/
306
+ NotSortedAndUnique: GenericPalletError<Rv>;
307
+ /**
308
+ * Rewards for this era have already been claimed for this validator.
309
+ **/
310
+ AlreadyClaimed: GenericPalletError<Rv>;
311
+ /**
312
+ * No nominators exist on this page.
313
+ **/
314
+ InvalidPage: GenericPalletError<Rv>;
315
+ /**
316
+ * Incorrect previous history depth input provided.
317
+ **/
318
+ IncorrectHistoryDepth: GenericPalletError<Rv>;
319
+ /**
320
+ * Incorrect number of slashing spans provided.
321
+ **/
322
+ IncorrectSlashingSpans: GenericPalletError<Rv>;
323
+ /**
324
+ * Internal state has become somehow corrupted and the operation cannot continue.
325
+ **/
326
+ BadState: GenericPalletError<Rv>;
327
+ /**
328
+ * Too many nomination targets supplied.
329
+ **/
330
+ TooManyTargets: GenericPalletError<Rv>;
331
+ /**
332
+ * A nomination target was supplied that was blocked or otherwise not a validator.
333
+ **/
334
+ BadTarget: GenericPalletError<Rv>;
335
+ /**
336
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
337
+ **/
338
+ CannotChillOther: GenericPalletError<Rv>;
339
+ /**
340
+ * There are too many nominators in the system. Governance needs to adjust the staking
341
+ * settings to keep things safe for the runtime.
342
+ **/
343
+ TooManyNominators: GenericPalletError<Rv>;
344
+ /**
345
+ * There are too many validator candidates in the system. Governance needs to adjust the
346
+ * staking settings to keep things safe for the runtime.
347
+ **/
348
+ TooManyValidators: GenericPalletError<Rv>;
349
+ /**
350
+ * Commission is too low. Must be at least `MinCommission`.
351
+ **/
352
+ CommissionTooLow: GenericPalletError<Rv>;
353
+ /**
354
+ * Some bound is not met.
355
+ **/
356
+ BoundNotMet: GenericPalletError<Rv>;
357
+ /**
358
+ * Used when attempting to use deprecated controller account logic.
359
+ **/
360
+ ControllerDeprecated: GenericPalletError<Rv>;
361
+ /**
362
+ * Generic pallet error
363
+ **/
364
+ [error: string]: GenericPalletError<Rv>;
365
+ };
366
+ /**
367
+ * Pallet `Session`'s errors
368
+ **/
369
+ session: {
370
+ /**
371
+ * Invalid ownership proof.
372
+ **/
373
+ InvalidProof: GenericPalletError<Rv>;
374
+ /**
375
+ * No associated validator ID for account.
376
+ **/
377
+ NoAssociatedValidatorId: GenericPalletError<Rv>;
378
+ /**
379
+ * Registered duplicate key.
380
+ **/
381
+ DuplicatedKey: GenericPalletError<Rv>;
382
+ /**
383
+ * No keys are associated with this account.
384
+ **/
385
+ NoKeys: GenericPalletError<Rv>;
386
+ /**
387
+ * Key setting account is not live, so it's impossible to associate keys.
388
+ **/
389
+ NoAccount: GenericPalletError<Rv>;
390
+ /**
391
+ * Generic pallet error
392
+ **/
393
+ [error: string]: GenericPalletError<Rv>;
394
+ };
395
+ /**
396
+ * Pallet `Democracy`'s errors
397
+ **/
398
+ democracy: {
399
+ /**
400
+ * Value too low
401
+ **/
402
+ ValueLow: GenericPalletError<Rv>;
403
+ /**
404
+ * Proposal does not exist
405
+ **/
406
+ ProposalMissing: GenericPalletError<Rv>;
407
+ /**
408
+ * Cannot cancel the same proposal twice
409
+ **/
410
+ AlreadyCanceled: GenericPalletError<Rv>;
411
+ /**
412
+ * Proposal already made
413
+ **/
414
+ DuplicateProposal: GenericPalletError<Rv>;
415
+ /**
416
+ * Proposal still blacklisted
417
+ **/
418
+ ProposalBlacklisted: GenericPalletError<Rv>;
419
+ /**
420
+ * Next external proposal not simple majority
421
+ **/
422
+ NotSimpleMajority: GenericPalletError<Rv>;
423
+ /**
424
+ * Invalid hash
425
+ **/
426
+ InvalidHash: GenericPalletError<Rv>;
427
+ /**
428
+ * No external proposal
429
+ **/
430
+ NoProposal: GenericPalletError<Rv>;
431
+ /**
432
+ * Identity may not veto a proposal twice
433
+ **/
434
+ AlreadyVetoed: GenericPalletError<Rv>;
435
+ /**
436
+ * Vote given for invalid referendum
437
+ **/
438
+ ReferendumInvalid: GenericPalletError<Rv>;
439
+ /**
440
+ * No proposals waiting
441
+ **/
442
+ NoneWaiting: GenericPalletError<Rv>;
443
+ /**
444
+ * The given account did not vote on the referendum.
445
+ **/
446
+ NotVoter: GenericPalletError<Rv>;
447
+ /**
448
+ * The actor has no permission to conduct the action.
449
+ **/
450
+ NoPermission: GenericPalletError<Rv>;
451
+ /**
452
+ * The account is already delegating.
453
+ **/
454
+ AlreadyDelegating: GenericPalletError<Rv>;
455
+ /**
456
+ * Too high a balance was provided that the account cannot afford.
457
+ **/
458
+ InsufficientFunds: GenericPalletError<Rv>;
459
+ /**
460
+ * The account is not currently delegating.
461
+ **/
462
+ NotDelegating: GenericPalletError<Rv>;
463
+ /**
464
+ * The account currently has votes attached to it and the operation cannot succeed until
465
+ * these are removed, either through `unvote` or `reap_vote`.
466
+ **/
467
+ VotesExist: GenericPalletError<Rv>;
468
+ /**
469
+ * The instant referendum origin is currently disallowed.
470
+ **/
471
+ InstantNotAllowed: GenericPalletError<Rv>;
472
+ /**
473
+ * Delegation to oneself makes no sense.
474
+ **/
475
+ Nonsense: GenericPalletError<Rv>;
476
+ /**
477
+ * Invalid upper bound.
478
+ **/
479
+ WrongUpperBound: GenericPalletError<Rv>;
480
+ /**
481
+ * Maximum number of votes reached.
482
+ **/
483
+ MaxVotesReached: GenericPalletError<Rv>;
484
+ /**
485
+ * Maximum number of items reached.
486
+ **/
487
+ TooMany: GenericPalletError<Rv>;
488
+ /**
489
+ * Voting period too low
490
+ **/
491
+ VotingPeriodLow: GenericPalletError<Rv>;
492
+ /**
493
+ * The preimage does not exist.
494
+ **/
495
+ PreimageNotExist: GenericPalletError<Rv>;
496
+ /**
497
+ * Generic pallet error
498
+ **/
499
+ [error: string]: GenericPalletError<Rv>;
500
+ };
501
+ /**
502
+ * Pallet `Council`'s errors
503
+ **/
504
+ council: {
505
+ /**
506
+ * Account is not a member
507
+ **/
508
+ NotMember: GenericPalletError<Rv>;
509
+ /**
510
+ * Duplicate proposals not allowed
511
+ **/
512
+ DuplicateProposal: GenericPalletError<Rv>;
513
+ /**
514
+ * Proposal must exist
515
+ **/
516
+ ProposalMissing: GenericPalletError<Rv>;
517
+ /**
518
+ * Mismatched index
519
+ **/
520
+ WrongIndex: GenericPalletError<Rv>;
521
+ /**
522
+ * Duplicate vote ignored
523
+ **/
524
+ DuplicateVote: GenericPalletError<Rv>;
525
+ /**
526
+ * Members are already initialized!
527
+ **/
528
+ AlreadyInitialized: GenericPalletError<Rv>;
529
+ /**
530
+ * The close call was made too early, before the end of the voting.
531
+ **/
532
+ TooEarly: GenericPalletError<Rv>;
533
+ /**
534
+ * There can only be a maximum of `MaxProposals` active proposals.
535
+ **/
536
+ TooManyProposals: GenericPalletError<Rv>;
537
+ /**
538
+ * The given weight bound for the proposal was too low.
539
+ **/
540
+ WrongProposalWeight: GenericPalletError<Rv>;
541
+ /**
542
+ * The given length bound for the proposal was too low.
543
+ **/
544
+ WrongProposalLength: GenericPalletError<Rv>;
545
+ /**
546
+ * Prime account is not a member
547
+ **/
548
+ PrimeAccountNotMember: GenericPalletError<Rv>;
549
+ /**
550
+ * Generic pallet error
551
+ **/
552
+ [error: string]: GenericPalletError<Rv>;
553
+ };
554
+ /**
555
+ * Pallet `TechnicalCommittee`'s errors
556
+ **/
557
+ technicalCommittee: {
558
+ /**
559
+ * Account is not a member
560
+ **/
561
+ NotMember: GenericPalletError<Rv>;
562
+ /**
563
+ * Duplicate proposals not allowed
564
+ **/
565
+ DuplicateProposal: GenericPalletError<Rv>;
566
+ /**
567
+ * Proposal must exist
568
+ **/
569
+ ProposalMissing: GenericPalletError<Rv>;
570
+ /**
571
+ * Mismatched index
572
+ **/
573
+ WrongIndex: GenericPalletError<Rv>;
574
+ /**
575
+ * Duplicate vote ignored
576
+ **/
577
+ DuplicateVote: GenericPalletError<Rv>;
578
+ /**
579
+ * Members are already initialized!
580
+ **/
581
+ AlreadyInitialized: GenericPalletError<Rv>;
582
+ /**
583
+ * The close call was made too early, before the end of the voting.
584
+ **/
585
+ TooEarly: GenericPalletError<Rv>;
586
+ /**
587
+ * There can only be a maximum of `MaxProposals` active proposals.
588
+ **/
589
+ TooManyProposals: GenericPalletError<Rv>;
590
+ /**
591
+ * The given weight bound for the proposal was too low.
592
+ **/
593
+ WrongProposalWeight: GenericPalletError<Rv>;
594
+ /**
595
+ * The given length bound for the proposal was too low.
596
+ **/
597
+ WrongProposalLength: GenericPalletError<Rv>;
598
+ /**
599
+ * Prime account is not a member
600
+ **/
601
+ PrimeAccountNotMember: GenericPalletError<Rv>;
602
+ /**
603
+ * Generic pallet error
604
+ **/
605
+ [error: string]: GenericPalletError<Rv>;
606
+ };
607
+ /**
608
+ * Pallet `Elections`'s errors
609
+ **/
610
+ elections: {
611
+ /**
612
+ * Cannot vote when no candidates or members exist.
613
+ **/
614
+ UnableToVote: GenericPalletError<Rv>;
615
+ /**
616
+ * Must vote for at least one candidate.
617
+ **/
618
+ NoVotes: GenericPalletError<Rv>;
619
+ /**
620
+ * Cannot vote more than candidates.
621
+ **/
622
+ TooManyVotes: GenericPalletError<Rv>;
623
+ /**
624
+ * Cannot vote more than maximum allowed.
625
+ **/
626
+ MaximumVotesExceeded: GenericPalletError<Rv>;
627
+ /**
628
+ * Cannot vote with stake less than minimum balance.
629
+ **/
630
+ LowBalance: GenericPalletError<Rv>;
631
+ /**
632
+ * Voter can not pay voting bond.
633
+ **/
634
+ UnableToPayBond: GenericPalletError<Rv>;
635
+ /**
636
+ * Must be a voter.
637
+ **/
638
+ MustBeVoter: GenericPalletError<Rv>;
639
+ /**
640
+ * Duplicated candidate submission.
641
+ **/
642
+ DuplicatedCandidate: GenericPalletError<Rv>;
643
+ /**
644
+ * Too many candidates have been created.
645
+ **/
646
+ TooManyCandidates: GenericPalletError<Rv>;
647
+ /**
648
+ * Member cannot re-submit candidacy.
649
+ **/
650
+ MemberSubmit: GenericPalletError<Rv>;
651
+ /**
652
+ * Runner cannot re-submit candidacy.
653
+ **/
654
+ RunnerUpSubmit: GenericPalletError<Rv>;
655
+ /**
656
+ * Candidate does not have enough funds.
657
+ **/
658
+ InsufficientCandidateFunds: GenericPalletError<Rv>;
659
+ /**
660
+ * Not a member.
661
+ **/
662
+ NotMember: GenericPalletError<Rv>;
663
+ /**
664
+ * The provided count of number of candidates is incorrect.
665
+ **/
666
+ InvalidWitnessData: GenericPalletError<Rv>;
667
+ /**
668
+ * The provided count of number of votes is incorrect.
669
+ **/
670
+ InvalidVoteCount: GenericPalletError<Rv>;
671
+ /**
672
+ * The renouncing origin presented a wrong `Renouncing` parameter.
673
+ **/
674
+ InvalidRenouncing: GenericPalletError<Rv>;
675
+ /**
676
+ * Prediction regarding replacement after member removal is wrong.
677
+ **/
678
+ InvalidReplacement: GenericPalletError<Rv>;
679
+ /**
680
+ * Generic pallet error
681
+ **/
682
+ [error: string]: GenericPalletError<Rv>;
683
+ };
684
+ /**
685
+ * Pallet `TechnicalMembership`'s errors
686
+ **/
687
+ technicalMembership: {
688
+ /**
689
+ * Already a member.
690
+ **/
691
+ AlreadyMember: GenericPalletError<Rv>;
692
+ /**
693
+ * Not a member.
694
+ **/
695
+ NotMember: GenericPalletError<Rv>;
696
+ /**
697
+ * Too many members.
698
+ **/
699
+ TooManyMembers: GenericPalletError<Rv>;
700
+ /**
701
+ * Generic pallet error
702
+ **/
703
+ [error: string]: GenericPalletError<Rv>;
704
+ };
705
+ /**
706
+ * Pallet `Grandpa`'s errors
707
+ **/
708
+ grandpa: {
709
+ /**
710
+ * Attempt to signal GRANDPA pause when the authority set isn't live
711
+ * (either paused or already pending pause).
712
+ **/
713
+ PauseFailed: GenericPalletError<Rv>;
714
+ /**
715
+ * Attempt to signal GRANDPA resume when the authority set isn't paused
716
+ * (either live or already pending resume).
717
+ **/
718
+ ResumeFailed: GenericPalletError<Rv>;
719
+ /**
720
+ * Attempt to signal GRANDPA change with one already pending.
721
+ **/
722
+ ChangePending: GenericPalletError<Rv>;
723
+ /**
724
+ * Cannot signal forced change so soon after last.
725
+ **/
726
+ TooSoon: GenericPalletError<Rv>;
727
+ /**
728
+ * A key ownership proof provided as part of an equivocation report is invalid.
729
+ **/
730
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
731
+ /**
732
+ * An equivocation proof provided as part of an equivocation report is invalid.
733
+ **/
734
+ InvalidEquivocationProof: GenericPalletError<Rv>;
735
+ /**
736
+ * A given equivocation report is valid but already previously reported.
737
+ **/
738
+ DuplicateOffenceReport: GenericPalletError<Rv>;
739
+ /**
740
+ * Generic pallet error
741
+ **/
742
+ [error: string]: GenericPalletError<Rv>;
743
+ };
744
+ /**
745
+ * Pallet `Treasury`'s errors
746
+ **/
747
+ treasury: {
748
+ /**
749
+ * Proposer's balance is too low.
750
+ **/
751
+ InsufficientProposersBalance: GenericPalletError<Rv>;
752
+ /**
753
+ * No proposal, bounty or spend at that index.
754
+ **/
755
+ InvalidIndex: GenericPalletError<Rv>;
756
+ /**
757
+ * Too many approvals in the queue.
758
+ **/
759
+ TooManyApprovals: GenericPalletError<Rv>;
760
+ /**
761
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
762
+ * amount to be spent.
763
+ **/
764
+ InsufficientPermission: GenericPalletError<Rv>;
765
+ /**
766
+ * Proposal has not been approved.
767
+ **/
768
+ ProposalNotApproved: GenericPalletError<Rv>;
769
+ /**
770
+ * The balance of the asset kind is not convertible to the balance of the native asset.
771
+ **/
772
+ FailedToConvertBalance: GenericPalletError<Rv>;
773
+ /**
774
+ * The spend has expired and cannot be claimed.
775
+ **/
776
+ SpendExpired: GenericPalletError<Rv>;
777
+ /**
778
+ * The spend is not yet eligible for payout.
779
+ **/
780
+ EarlyPayout: GenericPalletError<Rv>;
781
+ /**
782
+ * The payment has already been attempted.
783
+ **/
784
+ AlreadyAttempted: GenericPalletError<Rv>;
785
+ /**
786
+ * There was some issue with the mechanism of payment.
787
+ **/
788
+ PayoutError: GenericPalletError<Rv>;
789
+ /**
790
+ * The payout was not yet attempted/claimed.
791
+ **/
792
+ NotAttempted: GenericPalletError<Rv>;
793
+ /**
794
+ * The payment has neither failed nor succeeded yet.
795
+ **/
796
+ Inconclusive: GenericPalletError<Rv>;
797
+ /**
798
+ * Generic pallet error
799
+ **/
800
+ [error: string]: GenericPalletError<Rv>;
801
+ };
802
+ /**
803
+ * Pallet `AssetRate`'s errors
804
+ **/
805
+ assetRate: {
806
+ /**
807
+ * The given asset ID is unknown.
808
+ **/
809
+ UnknownAssetKind: GenericPalletError<Rv>;
810
+ /**
811
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
812
+ **/
813
+ AlreadyExists: GenericPalletError<Rv>;
814
+ /**
815
+ * Overflow ocurred when calculating the inverse rate.
816
+ **/
817
+ Overflow: GenericPalletError<Rv>;
818
+ /**
819
+ * Generic pallet error
820
+ **/
821
+ [error: string]: GenericPalletError<Rv>;
822
+ };
823
+ /**
824
+ * Pallet `Contracts`'s errors
825
+ **/
826
+ contracts: {
827
+ /**
828
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
829
+ **/
830
+ InvalidSchedule: GenericPalletError<Rv>;
831
+ /**
832
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
833
+ **/
834
+ InvalidCallFlags: GenericPalletError<Rv>;
835
+ /**
836
+ * The executed contract exhausted its gas limit.
837
+ **/
838
+ OutOfGas: GenericPalletError<Rv>;
839
+ /**
840
+ * The output buffer supplied to a contract API call was too small.
841
+ **/
842
+ OutputBufferTooSmall: GenericPalletError<Rv>;
843
+ /**
844
+ * Performing the requested transfer failed. Probably because there isn't enough
845
+ * free balance in the sender's account.
846
+ **/
847
+ TransferFailed: GenericPalletError<Rv>;
848
+ /**
849
+ * Performing a call was denied because the calling depth reached the limit
850
+ * of what is specified in the schedule.
851
+ **/
852
+ MaxCallDepthReached: GenericPalletError<Rv>;
853
+ /**
854
+ * No contract was found at the specified address.
855
+ **/
856
+ ContractNotFound: GenericPalletError<Rv>;
857
+ /**
858
+ * The code supplied to `instantiate_with_code` exceeds the limit specified in the
859
+ * current schedule.
860
+ **/
861
+ CodeTooLarge: GenericPalletError<Rv>;
862
+ /**
863
+ * No code could be found at the supplied code hash.
864
+ **/
865
+ CodeNotFound: GenericPalletError<Rv>;
866
+ /**
867
+ * No code info could be found at the supplied code hash.
868
+ **/
869
+ CodeInfoNotFound: GenericPalletError<Rv>;
870
+ /**
871
+ * A buffer outside of sandbox memory was passed to a contract API function.
872
+ **/
873
+ OutOfBounds: GenericPalletError<Rv>;
874
+ /**
875
+ * Input passed to a contract API function failed to decode as expected type.
876
+ **/
877
+ DecodingFailed: GenericPalletError<Rv>;
878
+ /**
879
+ * Contract trapped during execution.
880
+ **/
881
+ ContractTrapped: GenericPalletError<Rv>;
882
+ /**
883
+ * The size defined in `T::MaxValueSize` was exceeded.
884
+ **/
885
+ ValueTooLarge: GenericPalletError<Rv>;
886
+ /**
887
+ * Termination of a contract is not allowed while the contract is already
888
+ * on the call stack. Can be triggered by `seal_terminate`.
889
+ **/
890
+ TerminatedWhileReentrant: GenericPalletError<Rv>;
891
+ /**
892
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
893
+ **/
894
+ InputForwarded: GenericPalletError<Rv>;
895
+ /**
896
+ * The subject passed to `seal_random` exceeds the limit.
897
+ **/
898
+ RandomSubjectTooLong: GenericPalletError<Rv>;
899
+ /**
900
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
901
+ **/
902
+ TooManyTopics: GenericPalletError<Rv>;
903
+ /**
904
+ * The chain does not provide a chain extension. Calling the chain extension results
905
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
906
+ * is rejected.
907
+ **/
908
+ NoChainExtension: GenericPalletError<Rv>;
909
+ /**
910
+ * Failed to decode the XCM program.
911
+ **/
912
+ XcmDecodeFailed: GenericPalletError<Rv>;
913
+ /**
914
+ * A contract with the same AccountId already exists.
915
+ **/
916
+ DuplicateContract: GenericPalletError<Rv>;
917
+ /**
918
+ * A contract self destructed in its constructor.
919
+ *
920
+ * This can be triggered by a call to `seal_terminate`.
921
+ **/
922
+ TerminatedInConstructor: GenericPalletError<Rv>;
923
+ /**
924
+ * A call tried to invoke a contract that is flagged as non-reentrant.
925
+ * The only other cause is that a call from a contract into the runtime tried to call back
926
+ * into `pallet-contracts`. This would make the whole pallet reentrant with regard to
927
+ * contract code execution which is not supported.
928
+ **/
929
+ ReentranceDenied: GenericPalletError<Rv>;
930
+ /**
931
+ * Origin doesn't have enough balance to pay the required storage deposits.
932
+ **/
933
+ StorageDepositNotEnoughFunds: GenericPalletError<Rv>;
934
+ /**
935
+ * More storage was created than allowed by the storage deposit limit.
936
+ **/
937
+ StorageDepositLimitExhausted: GenericPalletError<Rv>;
938
+ /**
939
+ * Code removal was denied because the code is still in use by at least one contract.
940
+ **/
941
+ CodeInUse: GenericPalletError<Rv>;
942
+ /**
943
+ * The contract ran to completion but decided to revert its storage changes.
944
+ * Please note that this error is only returned from extrinsics. When called directly
945
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
946
+ * to determine whether a reversion has taken place.
947
+ **/
948
+ ContractReverted: GenericPalletError<Rv>;
949
+ /**
950
+ * The contract's code was found to be invalid during validation.
951
+ *
952
+ * The most likely cause of this is that an API was used which is not supported by the
953
+ * node. This happens if an older node is used with a new version of ink!. Try updating
954
+ * your node to the newest available version.
955
+ *
956
+ * A more detailed error can be found on the node console if debug messages are enabled
957
+ * by supplying `-lruntime::contracts=debug`.
958
+ **/
959
+ CodeRejected: GenericPalletError<Rv>;
960
+ /**
961
+ * An indetermistic code was used in a context where this is not permitted.
962
+ **/
963
+ Indeterministic: GenericPalletError<Rv>;
964
+ /**
965
+ * A pending migration needs to complete before the extrinsic can be called.
966
+ **/
967
+ MigrationInProgress: GenericPalletError<Rv>;
968
+ /**
969
+ * Migrate dispatch call was attempted but no migration was performed.
970
+ **/
971
+ NoMigrationPerformed: GenericPalletError<Rv>;
972
+ /**
973
+ * The contract has reached its maximum number of delegate dependencies.
974
+ **/
975
+ MaxDelegateDependenciesReached: GenericPalletError<Rv>;
976
+ /**
977
+ * The dependency was not found in the contract's delegate dependencies.
978
+ **/
979
+ DelegateDependencyNotFound: GenericPalletError<Rv>;
980
+ /**
981
+ * The contract already depends on the given delegate dependency.
982
+ **/
983
+ DelegateDependencyAlreadyExists: GenericPalletError<Rv>;
984
+ /**
985
+ * Can not add a delegate dependency to the code hash of the contract itself.
986
+ **/
987
+ CannotAddSelfAsDelegateDependency: GenericPalletError<Rv>;
988
+ /**
989
+ * Generic pallet error
990
+ **/
991
+ [error: string]: GenericPalletError<Rv>;
992
+ };
993
+ /**
994
+ * Pallet `Sudo`'s errors
995
+ **/
996
+ sudo: {
997
+ /**
998
+ * Sender must be the Sudo account.
999
+ **/
1000
+ RequireSudo: GenericPalletError<Rv>;
1001
+ /**
1002
+ * Generic pallet error
1003
+ **/
1004
+ [error: string]: GenericPalletError<Rv>;
1005
+ };
1006
+ /**
1007
+ * Pallet `ImOnline`'s errors
1008
+ **/
1009
+ imOnline: {
1010
+ /**
1011
+ * Non existent public key.
1012
+ **/
1013
+ InvalidKey: GenericPalletError<Rv>;
1014
+ /**
1015
+ * Duplicated heartbeat.
1016
+ **/
1017
+ DuplicatedHeartbeat: GenericPalletError<Rv>;
1018
+ /**
1019
+ * Generic pallet error
1020
+ **/
1021
+ [error: string]: GenericPalletError<Rv>;
1022
+ };
1023
+ /**
1024
+ * Pallet `Identity`'s errors
1025
+ **/
1026
+ identity: {
1027
+ /**
1028
+ * Too many subs-accounts.
1029
+ **/
1030
+ TooManySubAccounts: GenericPalletError<Rv>;
1031
+ /**
1032
+ * Account isn't found.
1033
+ **/
1034
+ NotFound: GenericPalletError<Rv>;
1035
+ /**
1036
+ * Account isn't named.
1037
+ **/
1038
+ NotNamed: GenericPalletError<Rv>;
1039
+ /**
1040
+ * Empty index.
1041
+ **/
1042
+ EmptyIndex: GenericPalletError<Rv>;
1043
+ /**
1044
+ * Fee is changed.
1045
+ **/
1046
+ FeeChanged: GenericPalletError<Rv>;
1047
+ /**
1048
+ * No identity found.
1049
+ **/
1050
+ NoIdentity: GenericPalletError<Rv>;
1051
+ /**
1052
+ * Sticky judgement.
1053
+ **/
1054
+ StickyJudgement: GenericPalletError<Rv>;
1055
+ /**
1056
+ * Judgement given.
1057
+ **/
1058
+ JudgementGiven: GenericPalletError<Rv>;
1059
+ /**
1060
+ * Invalid judgement.
1061
+ **/
1062
+ InvalidJudgement: GenericPalletError<Rv>;
1063
+ /**
1064
+ * The index is invalid.
1065
+ **/
1066
+ InvalidIndex: GenericPalletError<Rv>;
1067
+ /**
1068
+ * The target is invalid.
1069
+ **/
1070
+ InvalidTarget: GenericPalletError<Rv>;
1071
+ /**
1072
+ * Maximum amount of registrars reached. Cannot add any more.
1073
+ **/
1074
+ TooManyRegistrars: GenericPalletError<Rv>;
1075
+ /**
1076
+ * Account ID is already named.
1077
+ **/
1078
+ AlreadyClaimed: GenericPalletError<Rv>;
1079
+ /**
1080
+ * Sender is not a sub-account.
1081
+ **/
1082
+ NotSub: GenericPalletError<Rv>;
1083
+ /**
1084
+ * Sub-account isn't owned by sender.
1085
+ **/
1086
+ NotOwned: GenericPalletError<Rv>;
1087
+ /**
1088
+ * The provided judgement was for a different identity.
1089
+ **/
1090
+ JudgementForDifferentIdentity: GenericPalletError<Rv>;
1091
+ /**
1092
+ * Error that occurs when there is an issue paying for judgement.
1093
+ **/
1094
+ JudgementPaymentFailed: GenericPalletError<Rv>;
1095
+ /**
1096
+ * The provided suffix is too long.
1097
+ **/
1098
+ InvalidSuffix: GenericPalletError<Rv>;
1099
+ /**
1100
+ * The sender does not have permission to issue a username.
1101
+ **/
1102
+ NotUsernameAuthority: GenericPalletError<Rv>;
1103
+ /**
1104
+ * The authority cannot allocate any more usernames.
1105
+ **/
1106
+ NoAllocation: GenericPalletError<Rv>;
1107
+ /**
1108
+ * The signature on a username was not valid.
1109
+ **/
1110
+ InvalidSignature: GenericPalletError<Rv>;
1111
+ /**
1112
+ * Setting this username requires a signature, but none was provided.
1113
+ **/
1114
+ RequiresSignature: GenericPalletError<Rv>;
1115
+ /**
1116
+ * The username does not meet the requirements.
1117
+ **/
1118
+ InvalidUsername: GenericPalletError<Rv>;
1119
+ /**
1120
+ * The username is already taken.
1121
+ **/
1122
+ UsernameTaken: GenericPalletError<Rv>;
1123
+ /**
1124
+ * The requested username does not exist.
1125
+ **/
1126
+ NoUsername: GenericPalletError<Rv>;
1127
+ /**
1128
+ * The username cannot be forcefully removed because it can still be accepted.
1129
+ **/
1130
+ NotExpired: GenericPalletError<Rv>;
1131
+ /**
1132
+ * Generic pallet error
1133
+ **/
1134
+ [error: string]: GenericPalletError<Rv>;
1135
+ };
1136
+ /**
1137
+ * Pallet `Society`'s errors
1138
+ **/
1139
+ society: {
1140
+ /**
1141
+ * User is not a member.
1142
+ **/
1143
+ NotMember: GenericPalletError<Rv>;
1144
+ /**
1145
+ * User is already a member.
1146
+ **/
1147
+ AlreadyMember: GenericPalletError<Rv>;
1148
+ /**
1149
+ * User is suspended.
1150
+ **/
1151
+ Suspended: GenericPalletError<Rv>;
1152
+ /**
1153
+ * User is not suspended.
1154
+ **/
1155
+ NotSuspended: GenericPalletError<Rv>;
1156
+ /**
1157
+ * Nothing to payout.
1158
+ **/
1159
+ NoPayout: GenericPalletError<Rv>;
1160
+ /**
1161
+ * Society already founded.
1162
+ **/
1163
+ AlreadyFounded: GenericPalletError<Rv>;
1164
+ /**
1165
+ * Not enough in pot to accept candidate.
1166
+ **/
1167
+ InsufficientPot: GenericPalletError<Rv>;
1168
+ /**
1169
+ * Member is already vouching or banned from vouching again.
1170
+ **/
1171
+ AlreadyVouching: GenericPalletError<Rv>;
1172
+ /**
1173
+ * Member is not vouching.
1174
+ **/
1175
+ NotVouchingOnBidder: GenericPalletError<Rv>;
1176
+ /**
1177
+ * Cannot remove the head of the chain.
1178
+ **/
1179
+ Head: GenericPalletError<Rv>;
1180
+ /**
1181
+ * Cannot remove the founder.
1182
+ **/
1183
+ Founder: GenericPalletError<Rv>;
1184
+ /**
1185
+ * User has already made a bid.
1186
+ **/
1187
+ AlreadyBid: GenericPalletError<Rv>;
1188
+ /**
1189
+ * User is already a candidate.
1190
+ **/
1191
+ AlreadyCandidate: GenericPalletError<Rv>;
1192
+ /**
1193
+ * User is not a candidate.
1194
+ **/
1195
+ NotCandidate: GenericPalletError<Rv>;
1196
+ /**
1197
+ * Too many members in the society.
1198
+ **/
1199
+ MaxMembers: GenericPalletError<Rv>;
1200
+ /**
1201
+ * The caller is not the founder.
1202
+ **/
1203
+ NotFounder: GenericPalletError<Rv>;
1204
+ /**
1205
+ * The caller is not the head.
1206
+ **/
1207
+ NotHead: GenericPalletError<Rv>;
1208
+ /**
1209
+ * The membership cannot be claimed as the candidate was not clearly approved.
1210
+ **/
1211
+ NotApproved: GenericPalletError<Rv>;
1212
+ /**
1213
+ * The candidate cannot be kicked as the candidate was not clearly rejected.
1214
+ **/
1215
+ NotRejected: GenericPalletError<Rv>;
1216
+ /**
1217
+ * The candidacy cannot be dropped as the candidate was clearly approved.
1218
+ **/
1219
+ Approved: GenericPalletError<Rv>;
1220
+ /**
1221
+ * The candidacy cannot be bestowed as the candidate was clearly rejected.
1222
+ **/
1223
+ Rejected: GenericPalletError<Rv>;
1224
+ /**
1225
+ * The candidacy cannot be concluded as the voting is still in progress.
1226
+ **/
1227
+ InProgress: GenericPalletError<Rv>;
1228
+ /**
1229
+ * The candidacy cannot be pruned until a full additional intake period has passed.
1230
+ **/
1231
+ TooEarly: GenericPalletError<Rv>;
1232
+ /**
1233
+ * The skeptic already voted.
1234
+ **/
1235
+ Voted: GenericPalletError<Rv>;
1236
+ /**
1237
+ * The skeptic need not vote on candidates from expired rounds.
1238
+ **/
1239
+ Expired: GenericPalletError<Rv>;
1240
+ /**
1241
+ * User is not a bidder.
1242
+ **/
1243
+ NotBidder: GenericPalletError<Rv>;
1244
+ /**
1245
+ * There is no defender currently.
1246
+ **/
1247
+ NoDefender: GenericPalletError<Rv>;
1248
+ /**
1249
+ * Group doesn't exist.
1250
+ **/
1251
+ NotGroup: GenericPalletError<Rv>;
1252
+ /**
1253
+ * The member is already elevated to this rank.
1254
+ **/
1255
+ AlreadyElevated: GenericPalletError<Rv>;
1256
+ /**
1257
+ * The skeptic has already been punished for this offence.
1258
+ **/
1259
+ AlreadyPunished: GenericPalletError<Rv>;
1260
+ /**
1261
+ * Funds are insufficient to pay off society debts.
1262
+ **/
1263
+ InsufficientFunds: GenericPalletError<Rv>;
1264
+ /**
1265
+ * The candidate/defender has no stale votes to remove.
1266
+ **/
1267
+ NoVotes: GenericPalletError<Rv>;
1268
+ /**
1269
+ * Generic pallet error
1270
+ **/
1271
+ [error: string]: GenericPalletError<Rv>;
1272
+ };
1273
+ /**
1274
+ * Pallet `Recovery`'s errors
1275
+ **/
1276
+ recovery: {
1277
+ /**
1278
+ * User is not allowed to make a call on behalf of this account
1279
+ **/
1280
+ NotAllowed: GenericPalletError<Rv>;
1281
+ /**
1282
+ * Threshold must be greater than zero
1283
+ **/
1284
+ ZeroThreshold: GenericPalletError<Rv>;
1285
+ /**
1286
+ * Friends list must be greater than zero and threshold
1287
+ **/
1288
+ NotEnoughFriends: GenericPalletError<Rv>;
1289
+ /**
1290
+ * Friends list must be less than max friends
1291
+ **/
1292
+ MaxFriends: GenericPalletError<Rv>;
1293
+ /**
1294
+ * Friends list must be sorted and free of duplicates
1295
+ **/
1296
+ NotSorted: GenericPalletError<Rv>;
1297
+ /**
1298
+ * This account is not set up for recovery
1299
+ **/
1300
+ NotRecoverable: GenericPalletError<Rv>;
1301
+ /**
1302
+ * This account is already set up for recovery
1303
+ **/
1304
+ AlreadyRecoverable: GenericPalletError<Rv>;
1305
+ /**
1306
+ * A recovery process has already started for this account
1307
+ **/
1308
+ AlreadyStarted: GenericPalletError<Rv>;
1309
+ /**
1310
+ * A recovery process has not started for this rescuer
1311
+ **/
1312
+ NotStarted: GenericPalletError<Rv>;
1313
+ /**
1314
+ * This account is not a friend who can vouch
1315
+ **/
1316
+ NotFriend: GenericPalletError<Rv>;
1317
+ /**
1318
+ * The friend must wait until the delay period to vouch for this recovery
1319
+ **/
1320
+ DelayPeriod: GenericPalletError<Rv>;
1321
+ /**
1322
+ * This user has already vouched for this recovery
1323
+ **/
1324
+ AlreadyVouched: GenericPalletError<Rv>;
1325
+ /**
1326
+ * The threshold for recovering this account has not been met
1327
+ **/
1328
+ Threshold: GenericPalletError<Rv>;
1329
+ /**
1330
+ * There are still active recovery attempts that need to be closed
1331
+ **/
1332
+ StillActive: GenericPalletError<Rv>;
1333
+ /**
1334
+ * This account is already set up for recovery
1335
+ **/
1336
+ AlreadyProxy: GenericPalletError<Rv>;
1337
+ /**
1338
+ * Some internal state is broken.
1339
+ **/
1340
+ BadState: GenericPalletError<Rv>;
1341
+ /**
1342
+ * Generic pallet error
1343
+ **/
1344
+ [error: string]: GenericPalletError<Rv>;
1345
+ };
1346
+ /**
1347
+ * Pallet `Vesting`'s errors
1348
+ **/
1349
+ vesting: {
1350
+ /**
1351
+ * The account given is not vesting.
1352
+ **/
1353
+ NotVesting: GenericPalletError<Rv>;
1354
+ /**
1355
+ * The account already has `MaxVestingSchedules` count of schedules and thus
1356
+ * cannot add another one. Consider merging existing schedules in order to add another.
1357
+ **/
1358
+ AtMaxVestingSchedules: GenericPalletError<Rv>;
1359
+ /**
1360
+ * Amount being transferred is too low to create a vesting schedule.
1361
+ **/
1362
+ AmountLow: GenericPalletError<Rv>;
1363
+ /**
1364
+ * An index was out of bounds of the vesting schedules.
1365
+ **/
1366
+ ScheduleIndexOutOfBounds: GenericPalletError<Rv>;
1367
+ /**
1368
+ * Failed to create a new schedule because some parameter was invalid.
1369
+ **/
1370
+ InvalidScheduleParams: GenericPalletError<Rv>;
1371
+ /**
1372
+ * Generic pallet error
1373
+ **/
1374
+ [error: string]: GenericPalletError<Rv>;
1375
+ };
1376
+ /**
1377
+ * Pallet `Scheduler`'s errors
1378
+ **/
1379
+ scheduler: {
1380
+ /**
1381
+ * Failed to schedule a call
1382
+ **/
1383
+ FailedToSchedule: GenericPalletError<Rv>;
1384
+ /**
1385
+ * Cannot find the scheduled call.
1386
+ **/
1387
+ NotFound: GenericPalletError<Rv>;
1388
+ /**
1389
+ * Given target block number is in the past.
1390
+ **/
1391
+ TargetBlockNumberInPast: GenericPalletError<Rv>;
1392
+ /**
1393
+ * Reschedule failed because it does not change scheduled time.
1394
+ **/
1395
+ RescheduleNoChange: GenericPalletError<Rv>;
1396
+ /**
1397
+ * Attempt to use a non-named function on a named task.
1398
+ **/
1399
+ Named: GenericPalletError<Rv>;
1400
+ /**
1401
+ * Generic pallet error
1402
+ **/
1403
+ [error: string]: GenericPalletError<Rv>;
1404
+ };
1405
+ /**
1406
+ * Pallet `Glutton`'s errors
1407
+ **/
1408
+ glutton: {
1409
+ /**
1410
+ * The pallet was already initialized.
1411
+ *
1412
+ * Set `witness_count` to `Some` to bypass this error.
1413
+ **/
1414
+ AlreadyInitialized: GenericPalletError<Rv>;
1415
+ /**
1416
+ * The limit was over [`crate::RESOURCE_HARD_LIMIT`].
1417
+ **/
1418
+ InsaneLimit: GenericPalletError<Rv>;
1419
+ /**
1420
+ * Generic pallet error
1421
+ **/
1422
+ [error: string]: GenericPalletError<Rv>;
1423
+ };
1424
+ /**
1425
+ * Pallet `Preimage`'s errors
1426
+ **/
1427
+ preimage: {
1428
+ /**
1429
+ * Preimage is too large to store on-chain.
1430
+ **/
1431
+ TooBig: GenericPalletError<Rv>;
1432
+ /**
1433
+ * Preimage has already been noted on-chain.
1434
+ **/
1435
+ AlreadyNoted: GenericPalletError<Rv>;
1436
+ /**
1437
+ * The user is not authorized to perform this action.
1438
+ **/
1439
+ NotAuthorized: GenericPalletError<Rv>;
1440
+ /**
1441
+ * The preimage cannot be removed since it has not yet been noted.
1442
+ **/
1443
+ NotNoted: GenericPalletError<Rv>;
1444
+ /**
1445
+ * A preimage may not be removed when there are outstanding requests.
1446
+ **/
1447
+ Requested: GenericPalletError<Rv>;
1448
+ /**
1449
+ * The preimage request cannot be removed since no outstanding requests exist.
1450
+ **/
1451
+ NotRequested: GenericPalletError<Rv>;
1452
+ /**
1453
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1454
+ **/
1455
+ TooMany: GenericPalletError<Rv>;
1456
+ /**
1457
+ * Too few hashes were requested to be upgraded (i.e. zero).
1458
+ **/
1459
+ TooFew: GenericPalletError<Rv>;
1460
+ /**
1461
+ * Generic pallet error
1462
+ **/
1463
+ [error: string]: GenericPalletError<Rv>;
1464
+ };
1465
+ /**
1466
+ * Pallet `Proxy`'s errors
1467
+ **/
1468
+ proxy: {
1469
+ /**
1470
+ * There are too many proxies registered or too many announcements pending.
1471
+ **/
1472
+ TooMany: GenericPalletError<Rv>;
1473
+ /**
1474
+ * Proxy registration not found.
1475
+ **/
1476
+ NotFound: GenericPalletError<Rv>;
1477
+ /**
1478
+ * Sender is not a proxy of the account to be proxied.
1479
+ **/
1480
+ NotProxy: GenericPalletError<Rv>;
1481
+ /**
1482
+ * A call which is incompatible with the proxy type's filter was attempted.
1483
+ **/
1484
+ Unproxyable: GenericPalletError<Rv>;
1485
+ /**
1486
+ * Account is already a proxy.
1487
+ **/
1488
+ Duplicate: GenericPalletError<Rv>;
1489
+ /**
1490
+ * Call may not be made by proxy because it may escalate its privileges.
1491
+ **/
1492
+ NoPermission: GenericPalletError<Rv>;
1493
+ /**
1494
+ * Announcement, if made at all, was made too recently.
1495
+ **/
1496
+ Unannounced: GenericPalletError<Rv>;
1497
+ /**
1498
+ * Cannot add self as proxy.
1499
+ **/
1500
+ NoSelfProxy: GenericPalletError<Rv>;
1501
+ /**
1502
+ * Generic pallet error
1503
+ **/
1504
+ [error: string]: GenericPalletError<Rv>;
1505
+ };
1506
+ /**
1507
+ * Pallet `Multisig`'s errors
1508
+ **/
1509
+ multisig: {
1510
+ /**
1511
+ * Threshold must be 2 or greater.
1512
+ **/
1513
+ MinimumThreshold: GenericPalletError<Rv>;
1514
+ /**
1515
+ * Call is already approved by this signatory.
1516
+ **/
1517
+ AlreadyApproved: GenericPalletError<Rv>;
1518
+ /**
1519
+ * Call doesn't need any (more) approvals.
1520
+ **/
1521
+ NoApprovalsNeeded: GenericPalletError<Rv>;
1522
+ /**
1523
+ * There are too few signatories in the list.
1524
+ **/
1525
+ TooFewSignatories: GenericPalletError<Rv>;
1526
+ /**
1527
+ * There are too many signatories in the list.
1528
+ **/
1529
+ TooManySignatories: GenericPalletError<Rv>;
1530
+ /**
1531
+ * The signatories were provided out of order; they should be ordered.
1532
+ **/
1533
+ SignatoriesOutOfOrder: GenericPalletError<Rv>;
1534
+ /**
1535
+ * The sender was contained in the other signatories; it shouldn't be.
1536
+ **/
1537
+ SenderInSignatories: GenericPalletError<Rv>;
1538
+ /**
1539
+ * Multisig operation not found when attempting to cancel.
1540
+ **/
1541
+ NotFound: GenericPalletError<Rv>;
1542
+ /**
1543
+ * Only the account that originally created the multisig is able to cancel it.
1544
+ **/
1545
+ NotOwner: GenericPalletError<Rv>;
1546
+ /**
1547
+ * No timepoint was given, yet the multisig operation is already underway.
1548
+ **/
1549
+ NoTimepoint: GenericPalletError<Rv>;
1550
+ /**
1551
+ * A different timepoint was given to the multisig operation that is underway.
1552
+ **/
1553
+ WrongTimepoint: GenericPalletError<Rv>;
1554
+ /**
1555
+ * A timepoint was given, yet no multisig operation is underway.
1556
+ **/
1557
+ UnexpectedTimepoint: GenericPalletError<Rv>;
1558
+ /**
1559
+ * The maximum weight information provided was too low.
1560
+ **/
1561
+ MaxWeightTooLow: GenericPalletError<Rv>;
1562
+ /**
1563
+ * The data to be stored is already stored.
1564
+ **/
1565
+ AlreadyStored: GenericPalletError<Rv>;
1566
+ /**
1567
+ * Generic pallet error
1568
+ **/
1569
+ [error: string]: GenericPalletError<Rv>;
1570
+ };
1571
+ /**
1572
+ * Pallet `Bounties`'s errors
1573
+ **/
1574
+ bounties: {
1575
+ /**
1576
+ * Proposer's balance is too low.
1577
+ **/
1578
+ InsufficientProposersBalance: GenericPalletError<Rv>;
1579
+ /**
1580
+ * No proposal or bounty at that index.
1581
+ **/
1582
+ InvalidIndex: GenericPalletError<Rv>;
1583
+ /**
1584
+ * The reason given is just too big.
1585
+ **/
1586
+ ReasonTooBig: GenericPalletError<Rv>;
1587
+ /**
1588
+ * The bounty status is unexpected.
1589
+ **/
1590
+ UnexpectedStatus: GenericPalletError<Rv>;
1591
+ /**
1592
+ * Require bounty curator.
1593
+ **/
1594
+ RequireCurator: GenericPalletError<Rv>;
1595
+ /**
1596
+ * Invalid bounty value.
1597
+ **/
1598
+ InvalidValue: GenericPalletError<Rv>;
1599
+ /**
1600
+ * Invalid bounty fee.
1601
+ **/
1602
+ InvalidFee: GenericPalletError<Rv>;
1603
+ /**
1604
+ * A bounty payout is pending.
1605
+ * To cancel the bounty, you must unassign and slash the curator.
1606
+ **/
1607
+ PendingPayout: GenericPalletError<Rv>;
1608
+ /**
1609
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
1610
+ **/
1611
+ Premature: GenericPalletError<Rv>;
1612
+ /**
1613
+ * The bounty cannot be closed because it has active child bounties.
1614
+ **/
1615
+ HasActiveChildBounty: GenericPalletError<Rv>;
1616
+ /**
1617
+ * Too many approvals are already queued.
1618
+ **/
1619
+ TooManyQueued: GenericPalletError<Rv>;
1620
+ /**
1621
+ * Generic pallet error
1622
+ **/
1623
+ [error: string]: GenericPalletError<Rv>;
1624
+ };
1625
+ /**
1626
+ * Pallet `Tips`'s errors
1627
+ **/
1628
+ tips: {
1629
+ /**
1630
+ * The reason given is just too big.
1631
+ **/
1632
+ ReasonTooBig: GenericPalletError<Rv>;
1633
+ /**
1634
+ * The tip was already found/started.
1635
+ **/
1636
+ AlreadyKnown: GenericPalletError<Rv>;
1637
+ /**
1638
+ * The tip hash is unknown.
1639
+ **/
1640
+ UnknownTip: GenericPalletError<Rv>;
1641
+ /**
1642
+ * The tip given was too generous.
1643
+ **/
1644
+ MaxTipAmountExceeded: GenericPalletError<Rv>;
1645
+ /**
1646
+ * The account attempting to retract the tip is not the finder of the tip.
1647
+ **/
1648
+ NotFinder: GenericPalletError<Rv>;
1649
+ /**
1650
+ * The tip cannot be claimed/closed because there are not enough tippers yet.
1651
+ **/
1652
+ StillOpen: GenericPalletError<Rv>;
1653
+ /**
1654
+ * The tip cannot be claimed/closed because it's still in the countdown period.
1655
+ **/
1656
+ Premature: GenericPalletError<Rv>;
1657
+ /**
1658
+ * Generic pallet error
1659
+ **/
1660
+ [error: string]: GenericPalletError<Rv>;
1661
+ };
1662
+ /**
1663
+ * Pallet `Assets`'s errors
1664
+ **/
1665
+ assets: {
1666
+ /**
1667
+ * Account balance must be greater than or equal to the transfer amount.
1668
+ **/
1669
+ BalanceLow: GenericPalletError<Rv>;
1670
+ /**
1671
+ * The account to alter does not exist.
1672
+ **/
1673
+ NoAccount: GenericPalletError<Rv>;
1674
+ /**
1675
+ * The signing account has no permission to do the operation.
1676
+ **/
1677
+ NoPermission: GenericPalletError<Rv>;
1678
+ /**
1679
+ * The given asset ID is unknown.
1680
+ **/
1681
+ Unknown: GenericPalletError<Rv>;
1682
+ /**
1683
+ * The origin account is frozen.
1684
+ **/
1685
+ Frozen: GenericPalletError<Rv>;
1686
+ /**
1687
+ * The asset ID is already taken.
1688
+ **/
1689
+ InUse: GenericPalletError<Rv>;
1690
+ /**
1691
+ * Invalid witness data given.
1692
+ **/
1693
+ BadWitness: GenericPalletError<Rv>;
1694
+ /**
1695
+ * Minimum balance should be non-zero.
1696
+ **/
1697
+ MinBalanceZero: GenericPalletError<Rv>;
1698
+ /**
1699
+ * Unable to increment the consumer reference counters on the account. Either no provider
1700
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1701
+ * fewer then the maximum number of consumers has been reached.
1702
+ **/
1703
+ UnavailableConsumer: GenericPalletError<Rv>;
1704
+ /**
1705
+ * Invalid metadata given.
1706
+ **/
1707
+ BadMetadata: GenericPalletError<Rv>;
1708
+ /**
1709
+ * No approval exists that would allow the transfer.
1710
+ **/
1711
+ Unapproved: GenericPalletError<Rv>;
1712
+ /**
1713
+ * The source account would not survive the transfer and it needs to stay alive.
1714
+ **/
1715
+ WouldDie: GenericPalletError<Rv>;
1716
+ /**
1717
+ * The asset-account already exists.
1718
+ **/
1719
+ AlreadyExists: GenericPalletError<Rv>;
1720
+ /**
1721
+ * The asset-account doesn't have an associated deposit.
1722
+ **/
1723
+ NoDeposit: GenericPalletError<Rv>;
1724
+ /**
1725
+ * The operation would result in funds being burned.
1726
+ **/
1727
+ WouldBurn: GenericPalletError<Rv>;
1728
+ /**
1729
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1730
+ * as `start_destroy` which require the asset to be in a destroying state.
1731
+ **/
1732
+ LiveAsset: GenericPalletError<Rv>;
1733
+ /**
1734
+ * The asset is not live, and likely being destroyed.
1735
+ **/
1736
+ AssetNotLive: GenericPalletError<Rv>;
1737
+ /**
1738
+ * The asset status is not the expected status.
1739
+ **/
1740
+ IncorrectStatus: GenericPalletError<Rv>;
1741
+ /**
1742
+ * The asset should be frozen before the given operation.
1743
+ **/
1744
+ NotFrozen: GenericPalletError<Rv>;
1745
+ /**
1746
+ * Callback action resulted in error
1747
+ **/
1748
+ CallbackFailed: GenericPalletError<Rv>;
1749
+ /**
1750
+ * Generic pallet error
1751
+ **/
1752
+ [error: string]: GenericPalletError<Rv>;
1753
+ };
1754
+ /**
1755
+ * Pallet `PoolAssets`'s errors
1756
+ **/
1757
+ poolAssets: {
1758
+ /**
1759
+ * Account balance must be greater than or equal to the transfer amount.
1760
+ **/
1761
+ BalanceLow: GenericPalletError<Rv>;
1762
+ /**
1763
+ * The account to alter does not exist.
1764
+ **/
1765
+ NoAccount: GenericPalletError<Rv>;
1766
+ /**
1767
+ * The signing account has no permission to do the operation.
1768
+ **/
1769
+ NoPermission: GenericPalletError<Rv>;
1770
+ /**
1771
+ * The given asset ID is unknown.
1772
+ **/
1773
+ Unknown: GenericPalletError<Rv>;
1774
+ /**
1775
+ * The origin account is frozen.
1776
+ **/
1777
+ Frozen: GenericPalletError<Rv>;
1778
+ /**
1779
+ * The asset ID is already taken.
1780
+ **/
1781
+ InUse: GenericPalletError<Rv>;
1782
+ /**
1783
+ * Invalid witness data given.
1784
+ **/
1785
+ BadWitness: GenericPalletError<Rv>;
1786
+ /**
1787
+ * Minimum balance should be non-zero.
1788
+ **/
1789
+ MinBalanceZero: GenericPalletError<Rv>;
1790
+ /**
1791
+ * Unable to increment the consumer reference counters on the account. Either no provider
1792
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1793
+ * fewer then the maximum number of consumers has been reached.
1794
+ **/
1795
+ UnavailableConsumer: GenericPalletError<Rv>;
1796
+ /**
1797
+ * Invalid metadata given.
1798
+ **/
1799
+ BadMetadata: GenericPalletError<Rv>;
1800
+ /**
1801
+ * No approval exists that would allow the transfer.
1802
+ **/
1803
+ Unapproved: GenericPalletError<Rv>;
1804
+ /**
1805
+ * The source account would not survive the transfer and it needs to stay alive.
1806
+ **/
1807
+ WouldDie: GenericPalletError<Rv>;
1808
+ /**
1809
+ * The asset-account already exists.
1810
+ **/
1811
+ AlreadyExists: GenericPalletError<Rv>;
1812
+ /**
1813
+ * The asset-account doesn't have an associated deposit.
1814
+ **/
1815
+ NoDeposit: GenericPalletError<Rv>;
1816
+ /**
1817
+ * The operation would result in funds being burned.
1818
+ **/
1819
+ WouldBurn: GenericPalletError<Rv>;
1820
+ /**
1821
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1822
+ * as `start_destroy` which require the asset to be in a destroying state.
1823
+ **/
1824
+ LiveAsset: GenericPalletError<Rv>;
1825
+ /**
1826
+ * The asset is not live, and likely being destroyed.
1827
+ **/
1828
+ AssetNotLive: GenericPalletError<Rv>;
1829
+ /**
1830
+ * The asset status is not the expected status.
1831
+ **/
1832
+ IncorrectStatus: GenericPalletError<Rv>;
1833
+ /**
1834
+ * The asset should be frozen before the given operation.
1835
+ **/
1836
+ NotFrozen: GenericPalletError<Rv>;
1837
+ /**
1838
+ * Callback action resulted in error
1839
+ **/
1840
+ CallbackFailed: GenericPalletError<Rv>;
1841
+ /**
1842
+ * Generic pallet error
1843
+ **/
1844
+ [error: string]: GenericPalletError<Rv>;
1845
+ };
1846
+ /**
1847
+ * Pallet `Beefy`'s errors
1848
+ **/
1849
+ beefy: {
1850
+ /**
1851
+ * A key ownership proof provided as part of an equivocation report is invalid.
1852
+ **/
1853
+ InvalidKeyOwnershipProof: GenericPalletError<Rv>;
1854
+ /**
1855
+ * An equivocation proof provided as part of an equivocation report is invalid.
1856
+ **/
1857
+ InvalidEquivocationProof: GenericPalletError<Rv>;
1858
+ /**
1859
+ * A given equivocation report is valid but already previously reported.
1860
+ **/
1861
+ DuplicateOffenceReport: GenericPalletError<Rv>;
1862
+ /**
1863
+ * Submitted configuration is invalid.
1864
+ **/
1865
+ InvalidConfiguration: GenericPalletError<Rv>;
1866
+ /**
1867
+ * Generic pallet error
1868
+ **/
1869
+ [error: string]: GenericPalletError<Rv>;
1870
+ };
1871
+ /**
1872
+ * Pallet `Lottery`'s errors
1873
+ **/
1874
+ lottery: {
1875
+ /**
1876
+ * A lottery has not been configured.
1877
+ **/
1878
+ NotConfigured: GenericPalletError<Rv>;
1879
+ /**
1880
+ * A lottery is already in progress.
1881
+ **/
1882
+ InProgress: GenericPalletError<Rv>;
1883
+ /**
1884
+ * A lottery has already ended.
1885
+ **/
1886
+ AlreadyEnded: GenericPalletError<Rv>;
1887
+ /**
1888
+ * The call is not valid for an open lottery.
1889
+ **/
1890
+ InvalidCall: GenericPalletError<Rv>;
1891
+ /**
1892
+ * You are already participating in the lottery with this call.
1893
+ **/
1894
+ AlreadyParticipating: GenericPalletError<Rv>;
1895
+ /**
1896
+ * Too many calls for a single lottery.
1897
+ **/
1898
+ TooManyCalls: GenericPalletError<Rv>;
1899
+ /**
1900
+ * Failed to encode calls
1901
+ **/
1902
+ EncodingFailed: GenericPalletError<Rv>;
1903
+ /**
1904
+ * Generic pallet error
1905
+ **/
1906
+ [error: string]: GenericPalletError<Rv>;
1907
+ };
1908
+ /**
1909
+ * Pallet `Nis`'s errors
1910
+ **/
1911
+ nis: {
1912
+ /**
1913
+ * The duration of the bid is less than one.
1914
+ **/
1915
+ DurationTooSmall: GenericPalletError<Rv>;
1916
+ /**
1917
+ * The duration is the bid is greater than the number of queues.
1918
+ **/
1919
+ DurationTooBig: GenericPalletError<Rv>;
1920
+ /**
1921
+ * The amount of the bid is less than the minimum allowed.
1922
+ **/
1923
+ AmountTooSmall: GenericPalletError<Rv>;
1924
+ /**
1925
+ * The queue for the bid's duration is full and the amount bid is too low to get in
1926
+ * through replacing an existing bid.
1927
+ **/
1928
+ BidTooLow: GenericPalletError<Rv>;
1929
+ /**
1930
+ * Receipt index is unknown.
1931
+ **/
1932
+ UnknownReceipt: GenericPalletError<Rv>;
1933
+ /**
1934
+ * Not the owner of the receipt.
1935
+ **/
1936
+ NotOwner: GenericPalletError<Rv>;
1937
+ /**
1938
+ * Bond not yet at expiry date.
1939
+ **/
1940
+ NotExpired: GenericPalletError<Rv>;
1941
+ /**
1942
+ * The given bid for retraction is not found.
1943
+ **/
1944
+ UnknownBid: GenericPalletError<Rv>;
1945
+ /**
1946
+ * The portion supplied is beyond the value of the receipt.
1947
+ **/
1948
+ PortionTooBig: GenericPalletError<Rv>;
1949
+ /**
1950
+ * Not enough funds are held to pay out.
1951
+ **/
1952
+ Unfunded: GenericPalletError<Rv>;
1953
+ /**
1954
+ * There are enough funds for what is required.
1955
+ **/
1956
+ AlreadyFunded: GenericPalletError<Rv>;
1957
+ /**
1958
+ * The thaw throttle has been reached for this period.
1959
+ **/
1960
+ Throttled: GenericPalletError<Rv>;
1961
+ /**
1962
+ * The operation would result in a receipt worth an insignficant value.
1963
+ **/
1964
+ MakesDust: GenericPalletError<Rv>;
1965
+ /**
1966
+ * The receipt is already communal.
1967
+ **/
1968
+ AlreadyCommunal: GenericPalletError<Rv>;
1969
+ /**
1970
+ * The receipt is already private.
1971
+ **/
1972
+ AlreadyPrivate: GenericPalletError<Rv>;
1973
+ /**
1974
+ * Generic pallet error
1975
+ **/
1976
+ [error: string]: GenericPalletError<Rv>;
1977
+ };
1978
+ /**
1979
+ * Pallet `Uniques`'s errors
1980
+ **/
1981
+ uniques: {
1982
+ /**
1983
+ * The signing account has no permission to do the operation.
1984
+ **/
1985
+ NoPermission: GenericPalletError<Rv>;
1986
+ /**
1987
+ * The given item ID is unknown.
1988
+ **/
1989
+ UnknownCollection: GenericPalletError<Rv>;
1990
+ /**
1991
+ * The item ID has already been used for an item.
1992
+ **/
1993
+ AlreadyExists: GenericPalletError<Rv>;
1994
+ /**
1995
+ * The owner turned out to be different to what was expected.
1996
+ **/
1997
+ WrongOwner: GenericPalletError<Rv>;
1998
+ /**
1999
+ * Invalid witness data given.
2000
+ **/
2001
+ BadWitness: GenericPalletError<Rv>;
2002
+ /**
2003
+ * The item ID is already taken.
2004
+ **/
2005
+ InUse: GenericPalletError<Rv>;
2006
+ /**
2007
+ * The item or collection is frozen.
2008
+ **/
2009
+ Frozen: GenericPalletError<Rv>;
2010
+ /**
2011
+ * The delegate turned out to be different to what was expected.
2012
+ **/
2013
+ WrongDelegate: GenericPalletError<Rv>;
2014
+ /**
2015
+ * There is no delegate approved.
2016
+ **/
2017
+ NoDelegate: GenericPalletError<Rv>;
2018
+ /**
2019
+ * No approval exists that would allow the transfer.
2020
+ **/
2021
+ Unapproved: GenericPalletError<Rv>;
2022
+ /**
2023
+ * The named owner has not signed ownership of the collection is acceptable.
2024
+ **/
2025
+ Unaccepted: GenericPalletError<Rv>;
2026
+ /**
2027
+ * The item is locked.
2028
+ **/
2029
+ Locked: GenericPalletError<Rv>;
2030
+ /**
2031
+ * All items have been minted.
2032
+ **/
2033
+ MaxSupplyReached: GenericPalletError<Rv>;
2034
+ /**
2035
+ * The max supply has already been set.
2036
+ **/
2037
+ MaxSupplyAlreadySet: GenericPalletError<Rv>;
2038
+ /**
2039
+ * The provided max supply is less to the amount of items a collection already has.
2040
+ **/
2041
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
2042
+ /**
2043
+ * The given item ID is unknown.
2044
+ **/
2045
+ UnknownItem: GenericPalletError<Rv>;
2046
+ /**
2047
+ * Item is not for sale.
2048
+ **/
2049
+ NotForSale: GenericPalletError<Rv>;
2050
+ /**
2051
+ * The provided bid is too low.
2052
+ **/
2053
+ BidTooLow: GenericPalletError<Rv>;
2054
+ /**
2055
+ * Generic pallet error
2056
+ **/
2057
+ [error: string]: GenericPalletError<Rv>;
2058
+ };
2059
+ /**
2060
+ * Pallet `Nfts`'s errors
2061
+ **/
2062
+ nfts: {
2063
+ /**
2064
+ * The signing account has no permission to do the operation.
2065
+ **/
2066
+ NoPermission: GenericPalletError<Rv>;
2067
+ /**
2068
+ * The given item ID is unknown.
2069
+ **/
2070
+ UnknownCollection: GenericPalletError<Rv>;
2071
+ /**
2072
+ * The item ID has already been used for an item.
2073
+ **/
2074
+ AlreadyExists: GenericPalletError<Rv>;
2075
+ /**
2076
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
2077
+ **/
2078
+ ApprovalExpired: GenericPalletError<Rv>;
2079
+ /**
2080
+ * The owner turned out to be different to what was expected.
2081
+ **/
2082
+ WrongOwner: GenericPalletError<Rv>;
2083
+ /**
2084
+ * The witness data given does not match the current state of the chain.
2085
+ **/
2086
+ BadWitness: GenericPalletError<Rv>;
2087
+ /**
2088
+ * Collection ID is already taken.
2089
+ **/
2090
+ CollectionIdInUse: GenericPalletError<Rv>;
2091
+ /**
2092
+ * Items within that collection are non-transferable.
2093
+ **/
2094
+ ItemsNonTransferable: GenericPalletError<Rv>;
2095
+ /**
2096
+ * The provided account is not a delegate.
2097
+ **/
2098
+ NotDelegate: GenericPalletError<Rv>;
2099
+ /**
2100
+ * The delegate turned out to be different to what was expected.
2101
+ **/
2102
+ WrongDelegate: GenericPalletError<Rv>;
2103
+ /**
2104
+ * No approval exists that would allow the transfer.
2105
+ **/
2106
+ Unapproved: GenericPalletError<Rv>;
2107
+ /**
2108
+ * The named owner has not signed ownership acceptance of the collection.
2109
+ **/
2110
+ Unaccepted: GenericPalletError<Rv>;
2111
+ /**
2112
+ * The item is locked (non-transferable).
2113
+ **/
2114
+ ItemLocked: GenericPalletError<Rv>;
2115
+ /**
2116
+ * Item's attributes are locked.
2117
+ **/
2118
+ LockedItemAttributes: GenericPalletError<Rv>;
2119
+ /**
2120
+ * Collection's attributes are locked.
2121
+ **/
2122
+ LockedCollectionAttributes: GenericPalletError<Rv>;
2123
+ /**
2124
+ * Item's metadata is locked.
2125
+ **/
2126
+ LockedItemMetadata: GenericPalletError<Rv>;
2127
+ /**
2128
+ * Collection's metadata is locked.
2129
+ **/
2130
+ LockedCollectionMetadata: GenericPalletError<Rv>;
2131
+ /**
2132
+ * All items have been minted.
2133
+ **/
2134
+ MaxSupplyReached: GenericPalletError<Rv>;
2135
+ /**
2136
+ * The max supply is locked and can't be changed.
2137
+ **/
2138
+ MaxSupplyLocked: GenericPalletError<Rv>;
2139
+ /**
2140
+ * The provided max supply is less than the number of items a collection already has.
2141
+ **/
2142
+ MaxSupplyTooSmall: GenericPalletError<Rv>;
2143
+ /**
2144
+ * The given item ID is unknown.
2145
+ **/
2146
+ UnknownItem: GenericPalletError<Rv>;
2147
+ /**
2148
+ * Swap doesn't exist.
2149
+ **/
2150
+ UnknownSwap: GenericPalletError<Rv>;
2151
+ /**
2152
+ * The given item has no metadata set.
2153
+ **/
2154
+ MetadataNotFound: GenericPalletError<Rv>;
2155
+ /**
2156
+ * The provided attribute can't be found.
2157
+ **/
2158
+ AttributeNotFound: GenericPalletError<Rv>;
2159
+ /**
2160
+ * Item is not for sale.
2161
+ **/
2162
+ NotForSale: GenericPalletError<Rv>;
2163
+ /**
2164
+ * The provided bid is too low.
2165
+ **/
2166
+ BidTooLow: GenericPalletError<Rv>;
2167
+ /**
2168
+ * The item has reached its approval limit.
2169
+ **/
2170
+ ReachedApprovalLimit: GenericPalletError<Rv>;
2171
+ /**
2172
+ * The deadline has already expired.
2173
+ **/
2174
+ DeadlineExpired: GenericPalletError<Rv>;
2175
+ /**
2176
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
2177
+ **/
2178
+ WrongDuration: GenericPalletError<Rv>;
2179
+ /**
2180
+ * The method is disabled by system settings.
2181
+ **/
2182
+ MethodDisabled: GenericPalletError<Rv>;
2183
+ /**
2184
+ * The provided setting can't be set.
2185
+ **/
2186
+ WrongSetting: GenericPalletError<Rv>;
2187
+ /**
2188
+ * Item's config already exists and should be equal to the provided one.
2189
+ **/
2190
+ InconsistentItemConfig: GenericPalletError<Rv>;
2191
+ /**
2192
+ * Config for a collection or an item can't be found.
2193
+ **/
2194
+ NoConfig: GenericPalletError<Rv>;
2195
+ /**
2196
+ * Some roles were not cleared.
2197
+ **/
2198
+ RolesNotCleared: GenericPalletError<Rv>;
2199
+ /**
2200
+ * Mint has not started yet.
2201
+ **/
2202
+ MintNotStarted: GenericPalletError<Rv>;
2203
+ /**
2204
+ * Mint has already ended.
2205
+ **/
2206
+ MintEnded: GenericPalletError<Rv>;
2207
+ /**
2208
+ * The provided Item was already used for claiming.
2209
+ **/
2210
+ AlreadyClaimed: GenericPalletError<Rv>;
2211
+ /**
2212
+ * The provided data is incorrect.
2213
+ **/
2214
+ IncorrectData: GenericPalletError<Rv>;
2215
+ /**
2216
+ * The extrinsic was sent by the wrong origin.
2217
+ **/
2218
+ WrongOrigin: GenericPalletError<Rv>;
2219
+ /**
2220
+ * The provided signature is incorrect.
2221
+ **/
2222
+ WrongSignature: GenericPalletError<Rv>;
2223
+ /**
2224
+ * The provided metadata might be too long.
2225
+ **/
2226
+ IncorrectMetadata: GenericPalletError<Rv>;
2227
+ /**
2228
+ * Can't set more attributes per one call.
2229
+ **/
2230
+ MaxAttributesLimitReached: GenericPalletError<Rv>;
2231
+ /**
2232
+ * The provided namespace isn't supported in this call.
2233
+ **/
2234
+ WrongNamespace: GenericPalletError<Rv>;
2235
+ /**
2236
+ * Can't delete non-empty collections.
2237
+ **/
2238
+ CollectionNotEmpty: GenericPalletError<Rv>;
2239
+ /**
2240
+ * The witness data should be provided.
2241
+ **/
2242
+ WitnessRequired: GenericPalletError<Rv>;
2243
+ /**
2244
+ * Generic pallet error
2245
+ **/
2246
+ [error: string]: GenericPalletError<Rv>;
2247
+ };
2248
+ /**
2249
+ * Pallet `NftFractionalization`'s errors
2250
+ **/
2251
+ nftFractionalization: {
2252
+ /**
2253
+ * Asset ID does not correspond to locked NFT.
2254
+ **/
2255
+ IncorrectAssetId: GenericPalletError<Rv>;
2256
+ /**
2257
+ * The signing account has no permission to do the operation.
2258
+ **/
2259
+ NoPermission: GenericPalletError<Rv>;
2260
+ /**
2261
+ * NFT doesn't exist.
2262
+ **/
2263
+ NftNotFound: GenericPalletError<Rv>;
2264
+ /**
2265
+ * NFT has not yet been fractionalised.
2266
+ **/
2267
+ NftNotFractionalized: GenericPalletError<Rv>;
2268
+ /**
2269
+ * Generic pallet error
2270
+ **/
2271
+ [error: string]: GenericPalletError<Rv>;
2272
+ };
2273
+ /**
2274
+ * Pallet `Salary`'s errors
2275
+ **/
2276
+ salary: {
2277
+ /**
2278
+ * The salary system has already been started.
2279
+ **/
2280
+ AlreadyStarted: GenericPalletError<Rv>;
2281
+ /**
2282
+ * The account is not a ranked member.
2283
+ **/
2284
+ NotMember: GenericPalletError<Rv>;
2285
+ /**
2286
+ * The account is already inducted.
2287
+ **/
2288
+ AlreadyInducted: GenericPalletError<Rv>;
2289
+ NotInducted: GenericPalletError<Rv>;
2290
+ /**
2291
+ * The member does not have a current valid claim.
2292
+ **/
2293
+ NoClaim: GenericPalletError<Rv>;
2294
+ /**
2295
+ * The member's claim is zero.
2296
+ **/
2297
+ ClaimZero: GenericPalletError<Rv>;
2298
+ /**
2299
+ * Current cycle's registration period is over.
2300
+ **/
2301
+ TooLate: GenericPalletError<Rv>;
2302
+ /**
2303
+ * Current cycle's payment period is not yet begun.
2304
+ **/
2305
+ TooEarly: GenericPalletError<Rv>;
2306
+ /**
2307
+ * Cycle is not yet over.
2308
+ **/
2309
+ NotYet: GenericPalletError<Rv>;
2310
+ /**
2311
+ * The payout cycles have not yet started.
2312
+ **/
2313
+ NotStarted: GenericPalletError<Rv>;
2314
+ /**
2315
+ * There is no budget left for the payout.
2316
+ **/
2317
+ Bankrupt: GenericPalletError<Rv>;
2318
+ /**
2319
+ * There was some issue with the mechanism of payment.
2320
+ **/
2321
+ PayError: GenericPalletError<Rv>;
2322
+ /**
2323
+ * The payment has neither failed nor succeeded yet.
2324
+ **/
2325
+ Inconclusive: GenericPalletError<Rv>;
2326
+ /**
2327
+ * The cycle is after that in which the payment was made.
2328
+ **/
2329
+ NotCurrent: GenericPalletError<Rv>;
2330
+ /**
2331
+ * Generic pallet error
2332
+ **/
2333
+ [error: string]: GenericPalletError<Rv>;
2334
+ };
2335
+ /**
2336
+ * Pallet `CoreFellowship`'s errors
2337
+ **/
2338
+ coreFellowship: {
2339
+ /**
2340
+ * Member's rank is too low.
2341
+ **/
2342
+ Unranked: GenericPalletError<Rv>;
2343
+ /**
2344
+ * Member's rank is not zero.
2345
+ **/
2346
+ Ranked: GenericPalletError<Rv>;
2347
+ /**
2348
+ * Member's rank is not as expected - generally means that the rank provided to the call
2349
+ * does not agree with the state of the system.
2350
+ **/
2351
+ UnexpectedRank: GenericPalletError<Rv>;
2352
+ /**
2353
+ * The given rank is invalid - this generally means it's not between 1 and `RANK_COUNT`.
2354
+ **/
2355
+ InvalidRank: GenericPalletError<Rv>;
2356
+ /**
2357
+ * The origin does not have enough permission to do this operation.
2358
+ **/
2359
+ NoPermission: GenericPalletError<Rv>;
2360
+ /**
2361
+ * No work needs to be done at present for this member.
2362
+ **/
2363
+ NothingDoing: GenericPalletError<Rv>;
2364
+ /**
2365
+ * The candidate has already been inducted. This should never happen since it would
2366
+ * require a candidate (rank 0) to already be tracked in the pallet.
2367
+ **/
2368
+ AlreadyInducted: GenericPalletError<Rv>;
2369
+ /**
2370
+ * The candidate has not been inducted, so cannot be offboarded from this pallet.
2371
+ **/
2372
+ NotTracked: GenericPalletError<Rv>;
2373
+ /**
2374
+ * Operation cannot be done yet since not enough time has passed.
2375
+ **/
2376
+ TooSoon: GenericPalletError<Rv>;
2377
+ /**
2378
+ * Generic pallet error
2379
+ **/
2380
+ [error: string]: GenericPalletError<Rv>;
2381
+ };
2382
+ /**
2383
+ * Pallet `TransactionStorage`'s errors
2384
+ **/
2385
+ transactionStorage: {
2386
+ /**
2387
+ * Invalid configuration.
2388
+ **/
2389
+ NotConfigured: GenericPalletError<Rv>;
2390
+ /**
2391
+ * Renewed extrinsic is not found.
2392
+ **/
2393
+ RenewedNotFound: GenericPalletError<Rv>;
2394
+ /**
2395
+ * Attempting to store empty transaction
2396
+ **/
2397
+ EmptyTransaction: GenericPalletError<Rv>;
2398
+ /**
2399
+ * Proof was not expected in this block.
2400
+ **/
2401
+ UnexpectedProof: GenericPalletError<Rv>;
2402
+ /**
2403
+ * Proof failed verification.
2404
+ **/
2405
+ InvalidProof: GenericPalletError<Rv>;
2406
+ /**
2407
+ * Missing storage proof.
2408
+ **/
2409
+ MissingProof: GenericPalletError<Rv>;
2410
+ /**
2411
+ * Unable to verify proof becasue state data is missing.
2412
+ **/
2413
+ MissingStateData: GenericPalletError<Rv>;
2414
+ /**
2415
+ * Double proof check in the block.
2416
+ **/
2417
+ DoubleCheck: GenericPalletError<Rv>;
2418
+ /**
2419
+ * Storage proof was not checked in the block.
2420
+ **/
2421
+ ProofNotChecked: GenericPalletError<Rv>;
2422
+ /**
2423
+ * Transaction is too large.
2424
+ **/
2425
+ TransactionTooLarge: GenericPalletError<Rv>;
2426
+ /**
2427
+ * Too many transactions in the block.
2428
+ **/
2429
+ TooManyTransactions: GenericPalletError<Rv>;
2430
+ /**
2431
+ * Attempted to call `store` outside of block execution.
2432
+ **/
2433
+ BadContext: GenericPalletError<Rv>;
2434
+ /**
2435
+ * Generic pallet error
2436
+ **/
2437
+ [error: string]: GenericPalletError<Rv>;
2438
+ };
2439
+ /**
2440
+ * Pallet `VoterList`'s errors
2441
+ **/
2442
+ voterList: {
2443
+ /**
2444
+ * A error in the list interface implementation.
2445
+ **/
2446
+ List: GenericPalletError<Rv>;
2447
+ /**
2448
+ * Generic pallet error
2449
+ **/
2450
+ [error: string]: GenericPalletError<Rv>;
2451
+ };
2452
+ /**
2453
+ * Pallet `StateTrieMigration`'s errors
2454
+ **/
2455
+ stateTrieMigration: {
2456
+ /**
2457
+ * Max signed limits not respected.
2458
+ **/
2459
+ MaxSignedLimits: GenericPalletError<Rv>;
2460
+ /**
2461
+ * A key was longer than the configured maximum.
2462
+ *
2463
+ * This means that the migration halted at the current [`Progress`] and
2464
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2465
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2466
+ * The value should only be increased to avoid a storage migration for the currently
2467
+ * stored [`crate::Progress::LastKey`].
2468
+ **/
2469
+ KeyTooLong: GenericPalletError<Rv>;
2470
+ /**
2471
+ * submitter does not have enough funds.
2472
+ **/
2473
+ NotEnoughFunds: GenericPalletError<Rv>;
2474
+ /**
2475
+ * Bad witness data provided.
2476
+ **/
2477
+ BadWitness: GenericPalletError<Rv>;
2478
+ /**
2479
+ * Signed migration is not allowed because the maximum limit is not set yet.
2480
+ **/
2481
+ SignedMigrationNotAllowed: GenericPalletError<Rv>;
2482
+ /**
2483
+ * Bad child root provided.
2484
+ **/
2485
+ BadChildRoot: GenericPalletError<Rv>;
2486
+ /**
2487
+ * Generic pallet error
2488
+ **/
2489
+ [error: string]: GenericPalletError<Rv>;
2490
+ };
2491
+ /**
2492
+ * Pallet `ChildBounties`'s errors
2493
+ **/
2494
+ childBounties: {
2495
+ /**
2496
+ * The parent bounty is not in active state.
2497
+ **/
2498
+ ParentBountyNotActive: GenericPalletError<Rv>;
2499
+ /**
2500
+ * The bounty balance is not enough to add new child-bounty.
2501
+ **/
2502
+ InsufficientBountyBalance: GenericPalletError<Rv>;
2503
+ /**
2504
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2505
+ **/
2506
+ TooManyChildBounties: GenericPalletError<Rv>;
2507
+ /**
2508
+ * Generic pallet error
2509
+ **/
2510
+ [error: string]: GenericPalletError<Rv>;
2511
+ };
2512
+ /**
2513
+ * Pallet `Referenda`'s errors
2514
+ **/
2515
+ referenda: {
2516
+ /**
2517
+ * Referendum is not ongoing.
2518
+ **/
2519
+ NotOngoing: GenericPalletError<Rv>;
2520
+ /**
2521
+ * Referendum's decision deposit is already paid.
2522
+ **/
2523
+ HasDeposit: GenericPalletError<Rv>;
2524
+ /**
2525
+ * The track identifier given was invalid.
2526
+ **/
2527
+ BadTrack: GenericPalletError<Rv>;
2528
+ /**
2529
+ * There are already a full complement of referenda in progress for this track.
2530
+ **/
2531
+ Full: GenericPalletError<Rv>;
2532
+ /**
2533
+ * The queue of the track is empty.
2534
+ **/
2535
+ QueueEmpty: GenericPalletError<Rv>;
2536
+ /**
2537
+ * The referendum index provided is invalid in this context.
2538
+ **/
2539
+ BadReferendum: GenericPalletError<Rv>;
2540
+ /**
2541
+ * There was nothing to do in the advancement.
2542
+ **/
2543
+ NothingToDo: GenericPalletError<Rv>;
2544
+ /**
2545
+ * No track exists for the proposal origin.
2546
+ **/
2547
+ NoTrack: GenericPalletError<Rv>;
2548
+ /**
2549
+ * Any deposit cannot be refunded until after the decision is over.
2550
+ **/
2551
+ Unfinished: GenericPalletError<Rv>;
2552
+ /**
2553
+ * The deposit refunder is not the depositor.
2554
+ **/
2555
+ NoPermission: GenericPalletError<Rv>;
2556
+ /**
2557
+ * The deposit cannot be refunded since none was made.
2558
+ **/
2559
+ NoDeposit: GenericPalletError<Rv>;
2560
+ /**
2561
+ * The referendum status is invalid for this operation.
2562
+ **/
2563
+ BadStatus: GenericPalletError<Rv>;
2564
+ /**
2565
+ * The preimage does not exist.
2566
+ **/
2567
+ PreimageNotExist: GenericPalletError<Rv>;
2568
+ /**
2569
+ * Generic pallet error
2570
+ **/
2571
+ [error: string]: GenericPalletError<Rv>;
2572
+ };
2573
+ /**
2574
+ * Pallet `Remark`'s errors
2575
+ **/
2576
+ remark: {
2577
+ /**
2578
+ * Attempting to store empty data.
2579
+ **/
2580
+ Empty: GenericPalletError<Rv>;
2581
+ /**
2582
+ * Attempted to call `store` outside of block execution.
2583
+ **/
2584
+ BadContext: GenericPalletError<Rv>;
2585
+ /**
2586
+ * Generic pallet error
2587
+ **/
2588
+ [error: string]: GenericPalletError<Rv>;
2589
+ };
2590
+ /**
2591
+ * Pallet `ConvictionVoting`'s errors
2592
+ **/
2593
+ convictionVoting: {
2594
+ /**
2595
+ * Poll is not ongoing.
2596
+ **/
2597
+ NotOngoing: GenericPalletError<Rv>;
2598
+ /**
2599
+ * The given account did not vote on the poll.
2600
+ **/
2601
+ NotVoter: GenericPalletError<Rv>;
2602
+ /**
2603
+ * The actor has no permission to conduct the action.
2604
+ **/
2605
+ NoPermission: GenericPalletError<Rv>;
2606
+ /**
2607
+ * The actor has no permission to conduct the action right now but will do in the future.
2608
+ **/
2609
+ NoPermissionYet: GenericPalletError<Rv>;
2610
+ /**
2611
+ * The account is already delegating.
2612
+ **/
2613
+ AlreadyDelegating: GenericPalletError<Rv>;
2614
+ /**
2615
+ * The account currently has votes attached to it and the operation cannot succeed until
2616
+ * these are removed through `remove_vote`.
2617
+ **/
2618
+ AlreadyVoting: GenericPalletError<Rv>;
2619
+ /**
2620
+ * Too high a balance was provided that the account cannot afford.
2621
+ **/
2622
+ InsufficientFunds: GenericPalletError<Rv>;
2623
+ /**
2624
+ * The account is not currently delegating.
2625
+ **/
2626
+ NotDelegating: GenericPalletError<Rv>;
2627
+ /**
2628
+ * Delegation to oneself makes no sense.
2629
+ **/
2630
+ Nonsense: GenericPalletError<Rv>;
2631
+ /**
2632
+ * Maximum number of votes reached.
2633
+ **/
2634
+ MaxVotesReached: GenericPalletError<Rv>;
2635
+ /**
2636
+ * The class must be supplied since it is not easily determinable from the state.
2637
+ **/
2638
+ ClassNeeded: GenericPalletError<Rv>;
2639
+ /**
2640
+ * The class ID supplied is invalid.
2641
+ **/
2642
+ BadClass: GenericPalletError<Rv>;
2643
+ /**
2644
+ * Generic pallet error
2645
+ **/
2646
+ [error: string]: GenericPalletError<Rv>;
2647
+ };
2648
+ /**
2649
+ * Pallet `Whitelist`'s errors
2650
+ **/
2651
+ whitelist: {
2652
+ /**
2653
+ * The preimage of the call hash could not be loaded.
2654
+ **/
2655
+ UnavailablePreImage: GenericPalletError<Rv>;
2656
+ /**
2657
+ * The call could not be decoded.
2658
+ **/
2659
+ UndecodableCall: GenericPalletError<Rv>;
2660
+ /**
2661
+ * The weight of the decoded call was higher than the witness.
2662
+ **/
2663
+ InvalidCallWeightWitness: GenericPalletError<Rv>;
2664
+ /**
2665
+ * The call was not whitelisted.
2666
+ **/
2667
+ CallIsNotWhitelisted: GenericPalletError<Rv>;
2668
+ /**
2669
+ * The call was already whitelisted; No-Op.
2670
+ **/
2671
+ CallAlreadyWhitelisted: GenericPalletError<Rv>;
2672
+ /**
2673
+ * Generic pallet error
2674
+ **/
2675
+ [error: string]: GenericPalletError<Rv>;
2676
+ };
2677
+ /**
2678
+ * Pallet `AllianceMotion`'s errors
2679
+ **/
2680
+ allianceMotion: {
2681
+ /**
2682
+ * Account is not a member
2683
+ **/
2684
+ NotMember: GenericPalletError<Rv>;
2685
+ /**
2686
+ * Duplicate proposals not allowed
2687
+ **/
2688
+ DuplicateProposal: GenericPalletError<Rv>;
2689
+ /**
2690
+ * Proposal must exist
2691
+ **/
2692
+ ProposalMissing: GenericPalletError<Rv>;
2693
+ /**
2694
+ * Mismatched index
2695
+ **/
2696
+ WrongIndex: GenericPalletError<Rv>;
2697
+ /**
2698
+ * Duplicate vote ignored
2699
+ **/
2700
+ DuplicateVote: GenericPalletError<Rv>;
2701
+ /**
2702
+ * Members are already initialized!
2703
+ **/
2704
+ AlreadyInitialized: GenericPalletError<Rv>;
2705
+ /**
2706
+ * The close call was made too early, before the end of the voting.
2707
+ **/
2708
+ TooEarly: GenericPalletError<Rv>;
2709
+ /**
2710
+ * There can only be a maximum of `MaxProposals` active proposals.
2711
+ **/
2712
+ TooManyProposals: GenericPalletError<Rv>;
2713
+ /**
2714
+ * The given weight bound for the proposal was too low.
2715
+ **/
2716
+ WrongProposalWeight: GenericPalletError<Rv>;
2717
+ /**
2718
+ * The given length bound for the proposal was too low.
2719
+ **/
2720
+ WrongProposalLength: GenericPalletError<Rv>;
2721
+ /**
2722
+ * Prime account is not a member
2723
+ **/
2724
+ PrimeAccountNotMember: GenericPalletError<Rv>;
2725
+ /**
2726
+ * Generic pallet error
2727
+ **/
2728
+ [error: string]: GenericPalletError<Rv>;
2729
+ };
2730
+ /**
2731
+ * Pallet `Alliance`'s errors
2732
+ **/
2733
+ alliance: {
2734
+ /**
2735
+ * The Alliance has not been initialized yet, therefore accounts cannot join it.
2736
+ **/
2737
+ AllianceNotYetInitialized: GenericPalletError<Rv>;
2738
+ /**
2739
+ * The Alliance has been initialized, therefore cannot be initialized again.
2740
+ **/
2741
+ AllianceAlreadyInitialized: GenericPalletError<Rv>;
2742
+ /**
2743
+ * Account is already a member.
2744
+ **/
2745
+ AlreadyMember: GenericPalletError<Rv>;
2746
+ /**
2747
+ * Account is not a member.
2748
+ **/
2749
+ NotMember: GenericPalletError<Rv>;
2750
+ /**
2751
+ * Account is not an ally.
2752
+ **/
2753
+ NotAlly: GenericPalletError<Rv>;
2754
+ /**
2755
+ * Account does not have voting rights.
2756
+ **/
2757
+ NoVotingRights: GenericPalletError<Rv>;
2758
+ /**
2759
+ * Account is already an elevated (fellow) member.
2760
+ **/
2761
+ AlreadyElevated: GenericPalletError<Rv>;
2762
+ /**
2763
+ * Item is already listed as unscrupulous.
2764
+ **/
2765
+ AlreadyUnscrupulous: GenericPalletError<Rv>;
2766
+ /**
2767
+ * Account has been deemed unscrupulous by the Alliance and is not welcome to join or be
2768
+ * nominated.
2769
+ **/
2770
+ AccountNonGrata: GenericPalletError<Rv>;
2771
+ /**
2772
+ * Item has not been deemed unscrupulous.
2773
+ **/
2774
+ NotListedAsUnscrupulous: GenericPalletError<Rv>;
2775
+ /**
2776
+ * The number of unscrupulous items exceeds `MaxUnscrupulousItems`.
2777
+ **/
2778
+ TooManyUnscrupulousItems: GenericPalletError<Rv>;
2779
+ /**
2780
+ * Length of website URL exceeds `MaxWebsiteUrlLength`.
2781
+ **/
2782
+ TooLongWebsiteUrl: GenericPalletError<Rv>;
2783
+ /**
2784
+ * Balance is insufficient for the required deposit.
2785
+ **/
2786
+ InsufficientFunds: GenericPalletError<Rv>;
2787
+ /**
2788
+ * The account's identity does not have display field and website field.
2789
+ **/
2790
+ WithoutRequiredIdentityFields: GenericPalletError<Rv>;
2791
+ /**
2792
+ * The account's identity has no good judgement.
2793
+ **/
2794
+ WithoutGoodIdentityJudgement: GenericPalletError<Rv>;
2795
+ /**
2796
+ * The proposal hash is not found.
2797
+ **/
2798
+ MissingProposalHash: GenericPalletError<Rv>;
2799
+ /**
2800
+ * The announcement is not found.
2801
+ **/
2802
+ MissingAnnouncement: GenericPalletError<Rv>;
2803
+ /**
2804
+ * Number of members exceeds `MaxMembersCount`.
2805
+ **/
2806
+ TooManyMembers: GenericPalletError<Rv>;
2807
+ /**
2808
+ * Number of announcements exceeds `MaxAnnouncementsCount`.
2809
+ **/
2810
+ TooManyAnnouncements: GenericPalletError<Rv>;
2811
+ /**
2812
+ * Invalid witness data given.
2813
+ **/
2814
+ BadWitness: GenericPalletError<Rv>;
2815
+ /**
2816
+ * Account already gave retirement notice
2817
+ **/
2818
+ AlreadyRetiring: GenericPalletError<Rv>;
2819
+ /**
2820
+ * Account did not give a retirement notice required to retire.
2821
+ **/
2822
+ RetirementNoticeNotGiven: GenericPalletError<Rv>;
2823
+ /**
2824
+ * Retirement period has not passed.
2825
+ **/
2826
+ RetirementPeriodNotPassed: GenericPalletError<Rv>;
2827
+ /**
2828
+ * Fellows must be provided to initialize the Alliance.
2829
+ **/
2830
+ FellowsMissing: GenericPalletError<Rv>;
2831
+ /**
2832
+ * Generic pallet error
2833
+ **/
2834
+ [error: string]: GenericPalletError<Rv>;
2835
+ };
2836
+ /**
2837
+ * Pallet `NominationPools`'s errors
2838
+ **/
2839
+ nominationPools: {
2840
+ /**
2841
+ * A (bonded) pool id does not exist.
2842
+ **/
2843
+ PoolNotFound: GenericPalletError<Rv>;
2844
+ /**
2845
+ * An account is not a member.
2846
+ **/
2847
+ PoolMemberNotFound: GenericPalletError<Rv>;
2848
+ /**
2849
+ * A reward pool does not exist. In all cases this is a system logic error.
2850
+ **/
2851
+ RewardPoolNotFound: GenericPalletError<Rv>;
2852
+ /**
2853
+ * A sub pool does not exist.
2854
+ **/
2855
+ SubPoolsNotFound: GenericPalletError<Rv>;
2856
+ /**
2857
+ * An account is already delegating in another pool. An account may only belong to one
2858
+ * pool at a time.
2859
+ **/
2860
+ AccountBelongsToOtherPool: GenericPalletError<Rv>;
2861
+ /**
2862
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
2863
+ * anymore to, for example, collect rewards).
2864
+ **/
2865
+ FullyUnbonding: GenericPalletError<Rv>;
2866
+ /**
2867
+ * The member cannot unbond further chunks due to reaching the limit.
2868
+ **/
2869
+ MaxUnbondingLimit: GenericPalletError<Rv>;
2870
+ /**
2871
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
2872
+ **/
2873
+ CannotWithdrawAny: GenericPalletError<Rv>;
2874
+ /**
2875
+ * The amount does not meet the minimum bond to either join or create a pool.
2876
+ *
2877
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
2878
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
2879
+ * value below `MinJoinBond`.
2880
+ **/
2881
+ MinimumBondNotMet: GenericPalletError<Rv>;
2882
+ /**
2883
+ * The transaction could not be executed due to overflow risk for the pool.
2884
+ **/
2885
+ OverflowRisk: GenericPalletError<Rv>;
2886
+ /**
2887
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
2888
+ * other members to be permissionlessly unbonded.
2889
+ **/
2890
+ NotDestroying: GenericPalletError<Rv>;
2891
+ /**
2892
+ * The caller does not have nominating permissions for the pool.
2893
+ **/
2894
+ NotNominator: GenericPalletError<Rv>;
2895
+ /**
2896
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
2897
+ **/
2898
+ NotKickerOrDestroying: GenericPalletError<Rv>;
2899
+ /**
2900
+ * The pool is not open to join
2901
+ **/
2902
+ NotOpen: GenericPalletError<Rv>;
2903
+ /**
2904
+ * The system is maxed out on pools.
2905
+ **/
2906
+ MaxPools: GenericPalletError<Rv>;
2907
+ /**
2908
+ * Too many members in the pool or system.
2909
+ **/
2910
+ MaxPoolMembers: GenericPalletError<Rv>;
2911
+ /**
2912
+ * The pools state cannot be changed.
2913
+ **/
2914
+ CanNotChangeState: GenericPalletError<Rv>;
2915
+ /**
2916
+ * The caller does not have adequate permissions.
2917
+ **/
2918
+ DoesNotHavePermission: GenericPalletError<Rv>;
2919
+ /**
2920
+ * Metadata exceeds [`Config::MaxMetadataLen`]
2921
+ **/
2922
+ MetadataExceedsMaxLen: GenericPalletError<Rv>;
2923
+ /**
2924
+ * Some error occurred that should never happen. This should be reported to the
2925
+ * maintainers.
2926
+ **/
2927
+ Defensive: GenericPalletError<Rv>;
2928
+ /**
2929
+ * Partial unbonding now allowed permissionlessly.
2930
+ **/
2931
+ PartialUnbondNotAllowedPermissionlessly: GenericPalletError<Rv>;
2932
+ /**
2933
+ * The pool's max commission cannot be set higher than the existing value.
2934
+ **/
2935
+ MaxCommissionRestricted: GenericPalletError<Rv>;
2936
+ /**
2937
+ * The supplied commission exceeds the max allowed commission.
2938
+ **/
2939
+ CommissionExceedsMaximum: GenericPalletError<Rv>;
2940
+ /**
2941
+ * The supplied commission exceeds global maximum commission.
2942
+ **/
2943
+ CommissionExceedsGlobalMaximum: GenericPalletError<Rv>;
2944
+ /**
2945
+ * Not enough blocks have surpassed since the last commission update.
2946
+ **/
2947
+ CommissionChangeThrottled: GenericPalletError<Rv>;
2948
+ /**
2949
+ * The submitted changes to commission change rate are not allowed.
2950
+ **/
2951
+ CommissionChangeRateNotAllowed: GenericPalletError<Rv>;
2952
+ /**
2953
+ * There is no pending commission to claim.
2954
+ **/
2955
+ NoPendingCommission: GenericPalletError<Rv>;
2956
+ /**
2957
+ * No commission current has been set.
2958
+ **/
2959
+ NoCommissionCurrentSet: GenericPalletError<Rv>;
2960
+ /**
2961
+ * Pool id currently in use.
2962
+ **/
2963
+ PoolIdInUse: GenericPalletError<Rv>;
2964
+ /**
2965
+ * Pool id provided is not correct/usable.
2966
+ **/
2967
+ InvalidPoolId: GenericPalletError<Rv>;
2968
+ /**
2969
+ * Bonding extra is restricted to the exact pending reward amount.
2970
+ **/
2971
+ BondExtraRestricted: GenericPalletError<Rv>;
2972
+ /**
2973
+ * No imbalance in the ED deposit for the pool.
2974
+ **/
2975
+ NothingToAdjust: GenericPalletError<Rv>;
2976
+ /**
2977
+ * Generic pallet error
2978
+ **/
2979
+ [error: string]: GenericPalletError<Rv>;
2980
+ };
2981
+ /**
2982
+ * Pallet `RankedPolls`'s errors
2983
+ **/
2984
+ rankedPolls: {
2985
+ /**
2986
+ * Referendum is not ongoing.
2987
+ **/
2988
+ NotOngoing: GenericPalletError<Rv>;
2989
+ /**
2990
+ * Referendum's decision deposit is already paid.
2991
+ **/
2992
+ HasDeposit: GenericPalletError<Rv>;
2993
+ /**
2994
+ * The track identifier given was invalid.
2995
+ **/
2996
+ BadTrack: GenericPalletError<Rv>;
2997
+ /**
2998
+ * There are already a full complement of referenda in progress for this track.
2999
+ **/
3000
+ Full: GenericPalletError<Rv>;
3001
+ /**
3002
+ * The queue of the track is empty.
3003
+ **/
3004
+ QueueEmpty: GenericPalletError<Rv>;
3005
+ /**
3006
+ * The referendum index provided is invalid in this context.
3007
+ **/
3008
+ BadReferendum: GenericPalletError<Rv>;
3009
+ /**
3010
+ * There was nothing to do in the advancement.
3011
+ **/
3012
+ NothingToDo: GenericPalletError<Rv>;
3013
+ /**
3014
+ * No track exists for the proposal origin.
3015
+ **/
3016
+ NoTrack: GenericPalletError<Rv>;
3017
+ /**
3018
+ * Any deposit cannot be refunded until after the decision is over.
3019
+ **/
3020
+ Unfinished: GenericPalletError<Rv>;
3021
+ /**
3022
+ * The deposit refunder is not the depositor.
3023
+ **/
3024
+ NoPermission: GenericPalletError<Rv>;
3025
+ /**
3026
+ * The deposit cannot be refunded since none was made.
3027
+ **/
3028
+ NoDeposit: GenericPalletError<Rv>;
3029
+ /**
3030
+ * The referendum status is invalid for this operation.
3031
+ **/
3032
+ BadStatus: GenericPalletError<Rv>;
3033
+ /**
3034
+ * The preimage does not exist.
3035
+ **/
3036
+ PreimageNotExist: GenericPalletError<Rv>;
3037
+ /**
3038
+ * Generic pallet error
3039
+ **/
3040
+ [error: string]: GenericPalletError<Rv>;
3041
+ };
3042
+ /**
3043
+ * Pallet `RankedCollective`'s errors
3044
+ **/
3045
+ rankedCollective: {
3046
+ /**
3047
+ * Account is already a member.
3048
+ **/
3049
+ AlreadyMember: GenericPalletError<Rv>;
3050
+ /**
3051
+ * Account is not a member.
3052
+ **/
3053
+ NotMember: GenericPalletError<Rv>;
3054
+ /**
3055
+ * The given poll index is unknown or has closed.
3056
+ **/
3057
+ NotPolling: GenericPalletError<Rv>;
3058
+ /**
3059
+ * The given poll is still ongoing.
3060
+ **/
3061
+ Ongoing: GenericPalletError<Rv>;
3062
+ /**
3063
+ * There are no further records to be removed.
3064
+ **/
3065
+ NoneRemaining: GenericPalletError<Rv>;
3066
+ /**
3067
+ * Unexpected error in state.
3068
+ **/
3069
+ Corruption: GenericPalletError<Rv>;
3070
+ /**
3071
+ * The member's rank is too low to vote.
3072
+ **/
3073
+ RankTooLow: GenericPalletError<Rv>;
3074
+ /**
3075
+ * The information provided is incorrect.
3076
+ **/
3077
+ InvalidWitness: GenericPalletError<Rv>;
3078
+ /**
3079
+ * The origin is not sufficiently privileged to do the operation.
3080
+ **/
3081
+ NoPermission: GenericPalletError<Rv>;
3082
+ /**
3083
+ * The new member to exchange is the same as the old member
3084
+ **/
3085
+ SameMember: GenericPalletError<Rv>;
3086
+ /**
3087
+ * Generic pallet error
3088
+ **/
3089
+ [error: string]: GenericPalletError<Rv>;
3090
+ };
3091
+ /**
3092
+ * Pallet `AssetConversion`'s errors
3093
+ **/
3094
+ assetConversion: {
3095
+ /**
3096
+ * Provided asset pair is not supported for pool.
3097
+ **/
3098
+ InvalidAssetPair: GenericPalletError<Rv>;
3099
+ /**
3100
+ * Pool already exists.
3101
+ **/
3102
+ PoolExists: GenericPalletError<Rv>;
3103
+ /**
3104
+ * Desired amount can't be zero.
3105
+ **/
3106
+ WrongDesiredAmount: GenericPalletError<Rv>;
3107
+ /**
3108
+ * Provided amount should be greater than or equal to the existential deposit/asset's
3109
+ * minimal amount.
3110
+ **/
3111
+ AmountOneLessThanMinimal: GenericPalletError<Rv>;
3112
+ /**
3113
+ * Provided amount should be greater than or equal to the existential deposit/asset's
3114
+ * minimal amount.
3115
+ **/
3116
+ AmountTwoLessThanMinimal: GenericPalletError<Rv>;
3117
+ /**
3118
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
3119
+ * minimal amount.
3120
+ **/
3121
+ ReserveLeftLessThanMinimal: GenericPalletError<Rv>;
3122
+ /**
3123
+ * Desired amount can't be equal to the pool reserve.
3124
+ **/
3125
+ AmountOutTooHigh: GenericPalletError<Rv>;
3126
+ /**
3127
+ * The pool doesn't exist.
3128
+ **/
3129
+ PoolNotFound: GenericPalletError<Rv>;
3130
+ /**
3131
+ * An overflow happened.
3132
+ **/
3133
+ Overflow: GenericPalletError<Rv>;
3134
+ /**
3135
+ * The minimal amount requirement for the first token in the pair wasn't met.
3136
+ **/
3137
+ AssetOneDepositDidNotMeetMinimum: GenericPalletError<Rv>;
3138
+ /**
3139
+ * The minimal amount requirement for the second token in the pair wasn't met.
3140
+ **/
3141
+ AssetTwoDepositDidNotMeetMinimum: GenericPalletError<Rv>;
3142
+ /**
3143
+ * The minimal amount requirement for the first token in the pair wasn't met.
3144
+ **/
3145
+ AssetOneWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
3146
+ /**
3147
+ * The minimal amount requirement for the second token in the pair wasn't met.
3148
+ **/
3149
+ AssetTwoWithdrawalDidNotMeetMinimum: GenericPalletError<Rv>;
3150
+ /**
3151
+ * Optimal calculated amount is less than desired.
3152
+ **/
3153
+ OptimalAmountLessThanDesired: GenericPalletError<Rv>;
3154
+ /**
3155
+ * Insufficient liquidity minted.
3156
+ **/
3157
+ InsufficientLiquidityMinted: GenericPalletError<Rv>;
3158
+ /**
3159
+ * Requested liquidity can't be zero.
3160
+ **/
3161
+ ZeroLiquidity: GenericPalletError<Rv>;
3162
+ /**
3163
+ * Amount can't be zero.
3164
+ **/
3165
+ ZeroAmount: GenericPalletError<Rv>;
3166
+ /**
3167
+ * Calculated amount out is less than provided minimum amount.
3168
+ **/
3169
+ ProvidedMinimumNotSufficientForSwap: GenericPalletError<Rv>;
3170
+ /**
3171
+ * Provided maximum amount is not sufficient for swap.
3172
+ **/
3173
+ ProvidedMaximumNotSufficientForSwap: GenericPalletError<Rv>;
3174
+ /**
3175
+ * The provided path must consists of 2 assets at least.
3176
+ **/
3177
+ InvalidPath: GenericPalletError<Rv>;
3178
+ /**
3179
+ * The provided path must consists of unique assets.
3180
+ **/
3181
+ NonUniquePath: GenericPalletError<Rv>;
3182
+ /**
3183
+ * It was not possible to get or increment the Id of the pool.
3184
+ **/
3185
+ IncorrectPoolAssetId: GenericPalletError<Rv>;
3186
+ /**
3187
+ * The destination account cannot exist with the swapped funds.
3188
+ **/
3189
+ BelowMinimum: GenericPalletError<Rv>;
3190
+ /**
3191
+ * Generic pallet error
3192
+ **/
3193
+ [error: string]: GenericPalletError<Rv>;
3194
+ };
3195
+ /**
3196
+ * Pallet `FastUnstake`'s errors
3197
+ **/
3198
+ fastUnstake: {
3199
+ /**
3200
+ * The provided Controller account was not found.
3201
+ *
3202
+ * This means that the given account is not bonded.
3203
+ **/
3204
+ NotController: GenericPalletError<Rv>;
3205
+ /**
3206
+ * The bonded account has already been queued.
3207
+ **/
3208
+ AlreadyQueued: GenericPalletError<Rv>;
3209
+ /**
3210
+ * The bonded account has active unlocking chunks.
3211
+ **/
3212
+ NotFullyBonded: GenericPalletError<Rv>;
3213
+ /**
3214
+ * The provided un-staker is not in the `Queue`.
3215
+ **/
3216
+ NotQueued: GenericPalletError<Rv>;
3217
+ /**
3218
+ * The provided un-staker is already in Head, and cannot deregister.
3219
+ **/
3220
+ AlreadyHead: GenericPalletError<Rv>;
3221
+ /**
3222
+ * The call is not allowed at this point because the pallet is not active.
3223
+ **/
3224
+ CallNotAllowed: GenericPalletError<Rv>;
3225
+ /**
3226
+ * Generic pallet error
3227
+ **/
3228
+ [error: string]: GenericPalletError<Rv>;
3229
+ };
3230
+ /**
3231
+ * Pallet `MessageQueue`'s errors
3232
+ **/
3233
+ messageQueue: {
3234
+ /**
3235
+ * Page is not reapable because it has items remaining to be processed and is not old
3236
+ * enough.
3237
+ **/
3238
+ NotReapable: GenericPalletError<Rv>;
3239
+ /**
3240
+ * Page to be reaped does not exist.
3241
+ **/
3242
+ NoPage: GenericPalletError<Rv>;
3243
+ /**
3244
+ * The referenced message could not be found.
3245
+ **/
3246
+ NoMessage: GenericPalletError<Rv>;
3247
+ /**
3248
+ * The message was already processed and cannot be processed again.
3249
+ **/
3250
+ AlreadyProcessed: GenericPalletError<Rv>;
3251
+ /**
3252
+ * The message is queued for future execution.
3253
+ **/
3254
+ Queued: GenericPalletError<Rv>;
3255
+ /**
3256
+ * There is temporarily not enough weight to continue servicing messages.
3257
+ **/
3258
+ InsufficientWeight: GenericPalletError<Rv>;
3259
+ /**
3260
+ * This message is temporarily unprocessable.
3261
+ *
3262
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
3263
+ * retrying.
3264
+ **/
3265
+ TemporarilyUnprocessable: GenericPalletError<Rv>;
3266
+ /**
3267
+ * The queue is paused and no message can be executed from it.
3268
+ *
3269
+ * This can change at any time and may resolve in the future by re-trying.
3270
+ **/
3271
+ QueuePaused: GenericPalletError<Rv>;
3272
+ /**
3273
+ * Another call is in progress and needs to finish before this call can happen.
3274
+ **/
3275
+ RecursiveDisallowed: GenericPalletError<Rv>;
3276
+ /**
3277
+ * Generic pallet error
3278
+ **/
3279
+ [error: string]: GenericPalletError<Rv>;
3280
+ };
3281
+ /**
3282
+ * Pallet `TxPause`'s errors
3283
+ **/
3284
+ txPause: {
3285
+ /**
3286
+ * The call is paused.
3287
+ **/
3288
+ IsPaused: GenericPalletError<Rv>;
3289
+ /**
3290
+ * The call is unpaused.
3291
+ **/
3292
+ IsUnpaused: GenericPalletError<Rv>;
3293
+ /**
3294
+ * The call is whitelisted and cannot be paused.
3295
+ **/
3296
+ Unpausable: GenericPalletError<Rv>;
3297
+ NotFound: GenericPalletError<Rv>;
3298
+ /**
3299
+ * Generic pallet error
3300
+ **/
3301
+ [error: string]: GenericPalletError<Rv>;
3302
+ };
3303
+ /**
3304
+ * Pallet `SafeMode`'s errors
3305
+ **/
3306
+ safeMode: {
3307
+ /**
3308
+ * The safe-mode is (already or still) entered.
3309
+ **/
3310
+ Entered: GenericPalletError<Rv>;
3311
+ /**
3312
+ * The safe-mode is (already or still) exited.
3313
+ **/
3314
+ Exited: GenericPalletError<Rv>;
3315
+ /**
3316
+ * This functionality of the pallet is disabled by the configuration.
3317
+ **/
3318
+ NotConfigured: GenericPalletError<Rv>;
3319
+ /**
3320
+ * There is no balance reserved.
3321
+ **/
3322
+ NoDeposit: GenericPalletError<Rv>;
3323
+ /**
3324
+ * The account already has a deposit reserved and can therefore not enter or extend again.
3325
+ **/
3326
+ AlreadyDeposited: GenericPalletError<Rv>;
3327
+ /**
3328
+ * This deposit cannot be released yet.
3329
+ **/
3330
+ CannotReleaseYet: GenericPalletError<Rv>;
3331
+ /**
3332
+ * An error from the underlying `Currency`.
3333
+ **/
3334
+ CurrencyError: GenericPalletError<Rv>;
3335
+ /**
3336
+ * Generic pallet error
3337
+ **/
3338
+ [error: string]: GenericPalletError<Rv>;
3339
+ };
3340
+ /**
3341
+ * Pallet `MultiBlockMigrations`'s errors
3342
+ **/
3343
+ multiBlockMigrations: {
3344
+ /**
3345
+ * The operation cannot complete since some MBMs are ongoing.
3346
+ **/
3347
+ Ongoing: GenericPalletError<Rv>;
3348
+ /**
3349
+ * Generic pallet error
3350
+ **/
3351
+ [error: string]: GenericPalletError<Rv>;
3352
+ };
3353
+ /**
3354
+ * Pallet `Broker`'s errors
3355
+ **/
3356
+ broker: {
3357
+ /**
3358
+ * The given region identity is not known.
3359
+ **/
3360
+ UnknownRegion: GenericPalletError<Rv>;
3361
+ /**
3362
+ * The owner of the region is not the origin.
3363
+ **/
3364
+ NotOwner: GenericPalletError<Rv>;
3365
+ /**
3366
+ * The pivot point of the partition at or after the end of the region.
3367
+ **/
3368
+ PivotTooLate: GenericPalletError<Rv>;
3369
+ /**
3370
+ * The pivot point of the partition at the beginning of the region.
3371
+ **/
3372
+ PivotTooEarly: GenericPalletError<Rv>;
3373
+ /**
3374
+ * The pivot mask for the interlacing is not contained within the region's interlace mask.
3375
+ **/
3376
+ ExteriorPivot: GenericPalletError<Rv>;
3377
+ /**
3378
+ * The pivot mask for the interlacing is void (and therefore unschedulable).
3379
+ **/
3380
+ VoidPivot: GenericPalletError<Rv>;
3381
+ /**
3382
+ * The pivot mask for the interlacing is complete (and therefore not a strict subset).
3383
+ **/
3384
+ CompletePivot: GenericPalletError<Rv>;
3385
+ /**
3386
+ * The workplan of the pallet's state is invalid. This indicates a state corruption.
3387
+ **/
3388
+ CorruptWorkplan: GenericPalletError<Rv>;
3389
+ /**
3390
+ * There is no sale happening currently.
3391
+ **/
3392
+ NoSales: GenericPalletError<Rv>;
3393
+ /**
3394
+ * The price limit is exceeded.
3395
+ **/
3396
+ Overpriced: GenericPalletError<Rv>;
3397
+ /**
3398
+ * There are no cores available.
3399
+ **/
3400
+ Unavailable: GenericPalletError<Rv>;
3401
+ /**
3402
+ * The sale limit has been reached.
3403
+ **/
3404
+ SoldOut: GenericPalletError<Rv>;
3405
+ /**
3406
+ * The renewal operation is not valid at the current time (it may become valid in the next
3407
+ * sale).
3408
+ **/
3409
+ WrongTime: GenericPalletError<Rv>;
3410
+ /**
3411
+ * Invalid attempt to renew.
3412
+ **/
3413
+ NotAllowed: GenericPalletError<Rv>;
3414
+ /**
3415
+ * This pallet has not yet been initialized.
3416
+ **/
3417
+ Uninitialized: GenericPalletError<Rv>;
3418
+ /**
3419
+ * The purchase cannot happen yet as the sale period is yet to begin.
3420
+ **/
3421
+ TooEarly: GenericPalletError<Rv>;
3422
+ /**
3423
+ * There is no work to be done.
3424
+ **/
3425
+ NothingToDo: GenericPalletError<Rv>;
3426
+ /**
3427
+ * The maximum amount of reservations has already been reached.
3428
+ **/
3429
+ TooManyReservations: GenericPalletError<Rv>;
3430
+ /**
3431
+ * The maximum amount of leases has already been reached.
3432
+ **/
3433
+ TooManyLeases: GenericPalletError<Rv>;
3434
+ /**
3435
+ * The revenue for the Instantaneous Core Sales of this period is not (yet) known and thus
3436
+ * this operation cannot proceed.
3437
+ **/
3438
+ UnknownRevenue: GenericPalletError<Rv>;
3439
+ /**
3440
+ * The identified contribution to the Instantaneous Core Pool is unknown.
3441
+ **/
3442
+ UnknownContribution: GenericPalletError<Rv>;
3443
+ /**
3444
+ * The workload assigned for renewal is incomplete. This is unexpected and indicates a
3445
+ * logic error.
3446
+ **/
3447
+ IncompleteAssignment: GenericPalletError<Rv>;
3448
+ /**
3449
+ * An item cannot be dropped because it is still valid.
3450
+ **/
3451
+ StillValid: GenericPalletError<Rv>;
3452
+ /**
3453
+ * The history item does not exist.
3454
+ **/
3455
+ NoHistory: GenericPalletError<Rv>;
3456
+ /**
3457
+ * No reservation of the given index exists.
3458
+ **/
3459
+ UnknownReservation: GenericPalletError<Rv>;
3460
+ /**
3461
+ * The renewal record cannot be found.
3462
+ **/
3463
+ UnknownRenewal: GenericPalletError<Rv>;
3464
+ /**
3465
+ * The lease expiry time has already passed.
3466
+ **/
3467
+ AlreadyExpired: GenericPalletError<Rv>;
3468
+ /**
3469
+ * The configuration could not be applied because it is invalid.
3470
+ **/
3471
+ InvalidConfig: GenericPalletError<Rv>;
3472
+ /**
3473
+ * Generic pallet error
3474
+ **/
3475
+ [error: string]: GenericPalletError<Rv>;
3476
+ };
3477
+ /**
3478
+ * Pallet `TasksExample`'s errors
3479
+ **/
3480
+ tasksExample: {
3481
+ /**
3482
+ * The referenced task was not found.
3483
+ **/
3484
+ NotFound: GenericPalletError<Rv>;
3485
+ /**
3486
+ * Generic pallet error
3487
+ **/
3488
+ [error: string]: GenericPalletError<Rv>;
3489
+ };
3490
+ }