@pezkuwi/api-augment 16.5.5
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.
- package/README.md +3 -0
- package/build/base.d.ts +2 -0
- package/build/bundle.d.ts +2 -0
- package/build/index.d.ts +2 -0
- package/build/packageDetect.d.ts +1 -0
- package/build/packageInfo.d.ts +6 -0
- package/build/substrate/consts.d.ts +1876 -0
- package/build/substrate/errors.d.ts +3865 -0
- package/build/substrate/events.d.ts +4702 -0
- package/build/substrate/index.d.ts +8 -0
- package/build/substrate/query.d.ts +2767 -0
- package/build/substrate/registry.d.ts +1 -0
- package/build/substrate/runtime.d.ts +741 -0
- package/build/substrate/tx.d.ts +10869 -0
- package/package.json +32 -0
- package/src/assetHubKusama/consts.ts +1308 -0
- package/src/assetHubKusama/errors.ts +2779 -0
- package/src/assetHubKusama/events.ts +2296 -0
- package/src/assetHubKusama/index.ts +11 -0
- package/src/assetHubKusama/query.ts +2193 -0
- package/src/assetHubKusama/registry.ts +4 -0
- package/src/assetHubKusama/runtime.ts +518 -0
- package/src/assetHubKusama/tx.ts +6890 -0
- package/src/assetHubPolkadot/consts.ts +1125 -0
- package/src/assetHubPolkadot/errors.ts +2360 -0
- package/src/assetHubPolkadot/events.ts +2129 -0
- package/src/assetHubPolkadot/index.ts +11 -0
- package/src/assetHubPolkadot/query.ts +2002 -0
- package/src/assetHubPolkadot/registry.ts +4 -0
- package/src/assetHubPolkadot/runtime.ts +443 -0
- package/src/assetHubPolkadot/tx.ts +6242 -0
- package/src/base.ts +6 -0
- package/src/bundle.ts +6 -0
- package/src/index.ts +6 -0
- package/src/kusama/consts.ts +1035 -0
- package/src/kusama/errors.ts +2436 -0
- package/src/kusama/events.ts +1791 -0
- package/src/kusama/index.ts +11 -0
- package/src/kusama/query.ts +2505 -0
- package/src/kusama/registry.ts +6 -0
- package/src/kusama/runtime.ts +610 -0
- package/src/kusama/tx.ts +4725 -0
- package/src/mod.ts +4 -0
- package/src/packageDetect.ts +14 -0
- package/src/packageInfo.ts +6 -0
- package/src/polkadot/consts.ts +949 -0
- package/src/polkadot/errors.ts +2156 -0
- package/src/polkadot/events.ts +1600 -0
- package/src/polkadot/index.ts +11 -0
- package/src/polkadot/query.ts +2357 -0
- package/src/polkadot/registry.ts +5 -0
- package/src/polkadot/runtime.ts +621 -0
- package/src/polkadot/tx.ts +4240 -0
- package/src/substrate/consts.ts +1884 -0
- package/src/substrate/errors.ts +3873 -0
- package/src/substrate/events.ts +2889 -0
- package/src/substrate/index.ts +11 -0
- package/src/substrate/query.ts +2734 -0
- package/src/substrate/registry.ts +4 -0
- package/src/substrate/runtime.ts +593 -0
- package/src/substrate/tx.ts +8208 -0
- package/tsconfig.assetHubKusama.json +22 -0
- package/tsconfig.assetHubPolkadot.json +22 -0
- package/tsconfig.build.json +23 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.kusama.json +22 -0
- package/tsconfig.polkadot.json +22 -0
|
@@ -0,0 +1,2156 @@
|
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/errors';
|
|
7
|
+
|
|
8
|
+
import type { ApiTypes, AugmentedError } from '@pezkuwi/api-base/types';
|
|
9
|
+
|
|
10
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
11
|
+
|
|
12
|
+
declare module '@polkadot/api-base/types/errors' {
|
|
13
|
+
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
14
|
+
assetRate: {
|
|
15
|
+
/**
|
|
16
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
17
|
+
**/
|
|
18
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
19
|
+
/**
|
|
20
|
+
* Overflow ocurred when calculating the inverse rate.
|
|
21
|
+
**/
|
|
22
|
+
Overflow: AugmentedError<ApiType>;
|
|
23
|
+
/**
|
|
24
|
+
* The given asset ID is unknown.
|
|
25
|
+
**/
|
|
26
|
+
UnknownAssetKind: AugmentedError<ApiType>;
|
|
27
|
+
/**
|
|
28
|
+
* Generic error
|
|
29
|
+
**/
|
|
30
|
+
[key: string]: AugmentedError<ApiType>;
|
|
31
|
+
};
|
|
32
|
+
auctions: {
|
|
33
|
+
/**
|
|
34
|
+
* The para is already leased out for part of this range.
|
|
35
|
+
**/
|
|
36
|
+
AlreadyLeasedOut: AugmentedError<ApiType>;
|
|
37
|
+
/**
|
|
38
|
+
* Auction has already ended.
|
|
39
|
+
**/
|
|
40
|
+
AuctionEnded: AugmentedError<ApiType>;
|
|
41
|
+
/**
|
|
42
|
+
* This auction is already in progress.
|
|
43
|
+
**/
|
|
44
|
+
AuctionInProgress: AugmentedError<ApiType>;
|
|
45
|
+
/**
|
|
46
|
+
* The lease period is in the past.
|
|
47
|
+
**/
|
|
48
|
+
LeasePeriodInPast: AugmentedError<ApiType>;
|
|
49
|
+
/**
|
|
50
|
+
* Not an auction.
|
|
51
|
+
**/
|
|
52
|
+
NotAuction: AugmentedError<ApiType>;
|
|
53
|
+
/**
|
|
54
|
+
* Not a current auction.
|
|
55
|
+
**/
|
|
56
|
+
NotCurrentAuction: AugmentedError<ApiType>;
|
|
57
|
+
/**
|
|
58
|
+
* Para is not registered
|
|
59
|
+
**/
|
|
60
|
+
ParaNotRegistered: AugmentedError<ApiType>;
|
|
61
|
+
/**
|
|
62
|
+
* Generic error
|
|
63
|
+
**/
|
|
64
|
+
[key: string]: AugmentedError<ApiType>;
|
|
65
|
+
};
|
|
66
|
+
babe: {
|
|
67
|
+
/**
|
|
68
|
+
* A given equivocation report is valid but already previously reported.
|
|
69
|
+
**/
|
|
70
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
71
|
+
/**
|
|
72
|
+
* Submitted configuration is invalid.
|
|
73
|
+
**/
|
|
74
|
+
InvalidConfiguration: AugmentedError<ApiType>;
|
|
75
|
+
/**
|
|
76
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
77
|
+
**/
|
|
78
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
79
|
+
/**
|
|
80
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
81
|
+
**/
|
|
82
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
83
|
+
/**
|
|
84
|
+
* Generic error
|
|
85
|
+
**/
|
|
86
|
+
[key: string]: AugmentedError<ApiType>;
|
|
87
|
+
};
|
|
88
|
+
balances: {
|
|
89
|
+
/**
|
|
90
|
+
* Beneficiary account must pre-exist.
|
|
91
|
+
**/
|
|
92
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
93
|
+
/**
|
|
94
|
+
* The delta cannot be zero.
|
|
95
|
+
**/
|
|
96
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
97
|
+
/**
|
|
98
|
+
* Value too low to create account due to existential deposit.
|
|
99
|
+
**/
|
|
100
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
101
|
+
/**
|
|
102
|
+
* A vesting schedule already exists for this account.
|
|
103
|
+
**/
|
|
104
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
105
|
+
/**
|
|
106
|
+
* Transfer/payment would kill account.
|
|
107
|
+
**/
|
|
108
|
+
Expendability: AugmentedError<ApiType>;
|
|
109
|
+
/**
|
|
110
|
+
* Balance too low to send value.
|
|
111
|
+
**/
|
|
112
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
113
|
+
/**
|
|
114
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
115
|
+
**/
|
|
116
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
117
|
+
/**
|
|
118
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
119
|
+
**/
|
|
120
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
121
|
+
/**
|
|
122
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
123
|
+
**/
|
|
124
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
125
|
+
/**
|
|
126
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
127
|
+
**/
|
|
128
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
129
|
+
/**
|
|
130
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
131
|
+
**/
|
|
132
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
133
|
+
/**
|
|
134
|
+
* Vesting balance too high to send value.
|
|
135
|
+
**/
|
|
136
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
137
|
+
/**
|
|
138
|
+
* Generic error
|
|
139
|
+
**/
|
|
140
|
+
[key: string]: AugmentedError<ApiType>;
|
|
141
|
+
};
|
|
142
|
+
beefy: {
|
|
143
|
+
/**
|
|
144
|
+
* A given equivocation report is valid but already previously reported.
|
|
145
|
+
**/
|
|
146
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
147
|
+
/**
|
|
148
|
+
* Submitted configuration is invalid.
|
|
149
|
+
**/
|
|
150
|
+
InvalidConfiguration: AugmentedError<ApiType>;
|
|
151
|
+
/**
|
|
152
|
+
* A double voting proof provided as part of an equivocation report is invalid.
|
|
153
|
+
**/
|
|
154
|
+
InvalidDoubleVotingProof: AugmentedError<ApiType>;
|
|
155
|
+
/**
|
|
156
|
+
* The session of the equivocation proof is invalid
|
|
157
|
+
**/
|
|
158
|
+
InvalidEquivocationProofSession: AugmentedError<ApiType>;
|
|
159
|
+
/**
|
|
160
|
+
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
161
|
+
**/
|
|
162
|
+
InvalidForkVotingProof: AugmentedError<ApiType>;
|
|
163
|
+
/**
|
|
164
|
+
* A future block voting proof provided as part of an equivocation report is invalid.
|
|
165
|
+
**/
|
|
166
|
+
InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
|
|
167
|
+
/**
|
|
168
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
169
|
+
**/
|
|
170
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
171
|
+
/**
|
|
172
|
+
* Generic error
|
|
173
|
+
**/
|
|
174
|
+
[key: string]: AugmentedError<ApiType>;
|
|
175
|
+
};
|
|
176
|
+
bounties: {
|
|
177
|
+
/**
|
|
178
|
+
* The bounty cannot be closed because it has active child bounties.
|
|
179
|
+
**/
|
|
180
|
+
HasActiveChildBounty: AugmentedError<ApiType>;
|
|
181
|
+
/**
|
|
182
|
+
* Proposer's balance is too low.
|
|
183
|
+
**/
|
|
184
|
+
InsufficientProposersBalance: AugmentedError<ApiType>;
|
|
185
|
+
/**
|
|
186
|
+
* Invalid bounty fee.
|
|
187
|
+
**/
|
|
188
|
+
InvalidFee: AugmentedError<ApiType>;
|
|
189
|
+
/**
|
|
190
|
+
* No proposal or bounty at that index.
|
|
191
|
+
**/
|
|
192
|
+
InvalidIndex: AugmentedError<ApiType>;
|
|
193
|
+
/**
|
|
194
|
+
* Invalid bounty value.
|
|
195
|
+
**/
|
|
196
|
+
InvalidValue: AugmentedError<ApiType>;
|
|
197
|
+
/**
|
|
198
|
+
* User is not the proposer of the bounty.
|
|
199
|
+
**/
|
|
200
|
+
NotProposer: AugmentedError<ApiType>;
|
|
201
|
+
/**
|
|
202
|
+
* A bounty payout is pending.
|
|
203
|
+
* To cancel the bounty, you must unassign and slash the curator.
|
|
204
|
+
**/
|
|
205
|
+
PendingPayout: AugmentedError<ApiType>;
|
|
206
|
+
/**
|
|
207
|
+
* The bounties cannot be claimed/closed because it's still in the countdown period.
|
|
208
|
+
**/
|
|
209
|
+
Premature: AugmentedError<ApiType>;
|
|
210
|
+
/**
|
|
211
|
+
* The reason given is just too big.
|
|
212
|
+
**/
|
|
213
|
+
ReasonTooBig: AugmentedError<ApiType>;
|
|
214
|
+
/**
|
|
215
|
+
* Require bounty curator.
|
|
216
|
+
**/
|
|
217
|
+
RequireCurator: AugmentedError<ApiType>;
|
|
218
|
+
/**
|
|
219
|
+
* Too many approvals are already queued.
|
|
220
|
+
**/
|
|
221
|
+
TooManyQueued: AugmentedError<ApiType>;
|
|
222
|
+
/**
|
|
223
|
+
* The bounty status is unexpected.
|
|
224
|
+
**/
|
|
225
|
+
UnexpectedStatus: AugmentedError<ApiType>;
|
|
226
|
+
/**
|
|
227
|
+
* Generic error
|
|
228
|
+
**/
|
|
229
|
+
[key: string]: AugmentedError<ApiType>;
|
|
230
|
+
};
|
|
231
|
+
childBounties: {
|
|
232
|
+
/**
|
|
233
|
+
* The bounty balance is not enough to add new child-bounty.
|
|
234
|
+
**/
|
|
235
|
+
InsufficientBountyBalance: AugmentedError<ApiType>;
|
|
236
|
+
/**
|
|
237
|
+
* The parent bounty is not in active state.
|
|
238
|
+
**/
|
|
239
|
+
ParentBountyNotActive: AugmentedError<ApiType>;
|
|
240
|
+
/**
|
|
241
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
242
|
+
**/
|
|
243
|
+
TooManyChildBounties: AugmentedError<ApiType>;
|
|
244
|
+
/**
|
|
245
|
+
* Generic error
|
|
246
|
+
**/
|
|
247
|
+
[key: string]: AugmentedError<ApiType>;
|
|
248
|
+
};
|
|
249
|
+
claims: {
|
|
250
|
+
/**
|
|
251
|
+
* Invalid Ethereum signature.
|
|
252
|
+
**/
|
|
253
|
+
InvalidEthereumSignature: AugmentedError<ApiType>;
|
|
254
|
+
/**
|
|
255
|
+
* A needed statement was not included.
|
|
256
|
+
**/
|
|
257
|
+
InvalidStatement: AugmentedError<ApiType>;
|
|
258
|
+
/**
|
|
259
|
+
* There's not enough in the pot to pay out some unvested amount. Generally implies a
|
|
260
|
+
* logic error.
|
|
261
|
+
**/
|
|
262
|
+
PotUnderflow: AugmentedError<ApiType>;
|
|
263
|
+
/**
|
|
264
|
+
* Account ID sending transaction has no claim.
|
|
265
|
+
**/
|
|
266
|
+
SenderHasNoClaim: AugmentedError<ApiType>;
|
|
267
|
+
/**
|
|
268
|
+
* Ethereum address has no claim.
|
|
269
|
+
**/
|
|
270
|
+
SignerHasNoClaim: AugmentedError<ApiType>;
|
|
271
|
+
/**
|
|
272
|
+
* The account already has a vested balance.
|
|
273
|
+
**/
|
|
274
|
+
VestedBalanceExists: AugmentedError<ApiType>;
|
|
275
|
+
/**
|
|
276
|
+
* Generic error
|
|
277
|
+
**/
|
|
278
|
+
[key: string]: AugmentedError<ApiType>;
|
|
279
|
+
};
|
|
280
|
+
configuration: {
|
|
281
|
+
/**
|
|
282
|
+
* The new value for a configuration parameter is invalid.
|
|
283
|
+
**/
|
|
284
|
+
InvalidNewValue: AugmentedError<ApiType>;
|
|
285
|
+
/**
|
|
286
|
+
* Generic error
|
|
287
|
+
**/
|
|
288
|
+
[key: string]: AugmentedError<ApiType>;
|
|
289
|
+
};
|
|
290
|
+
convictionVoting: {
|
|
291
|
+
/**
|
|
292
|
+
* The account is already delegating.
|
|
293
|
+
**/
|
|
294
|
+
AlreadyDelegating: AugmentedError<ApiType>;
|
|
295
|
+
/**
|
|
296
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
297
|
+
* these are removed through `remove_vote`.
|
|
298
|
+
**/
|
|
299
|
+
AlreadyVoting: AugmentedError<ApiType>;
|
|
300
|
+
/**
|
|
301
|
+
* The class ID supplied is invalid.
|
|
302
|
+
**/
|
|
303
|
+
BadClass: AugmentedError<ApiType>;
|
|
304
|
+
/**
|
|
305
|
+
* The class must be supplied since it is not easily determinable from the state.
|
|
306
|
+
**/
|
|
307
|
+
ClassNeeded: AugmentedError<ApiType>;
|
|
308
|
+
/**
|
|
309
|
+
* Too high a balance was provided that the account cannot afford.
|
|
310
|
+
**/
|
|
311
|
+
InsufficientFunds: AugmentedError<ApiType>;
|
|
312
|
+
/**
|
|
313
|
+
* Maximum number of votes reached.
|
|
314
|
+
**/
|
|
315
|
+
MaxVotesReached: AugmentedError<ApiType>;
|
|
316
|
+
/**
|
|
317
|
+
* Delegation to oneself makes no sense.
|
|
318
|
+
**/
|
|
319
|
+
Nonsense: AugmentedError<ApiType>;
|
|
320
|
+
/**
|
|
321
|
+
* The actor has no permission to conduct the action.
|
|
322
|
+
**/
|
|
323
|
+
NoPermission: AugmentedError<ApiType>;
|
|
324
|
+
/**
|
|
325
|
+
* The actor has no permission to conduct the action right now but will do in the future.
|
|
326
|
+
**/
|
|
327
|
+
NoPermissionYet: AugmentedError<ApiType>;
|
|
328
|
+
/**
|
|
329
|
+
* The account is not currently delegating.
|
|
330
|
+
**/
|
|
331
|
+
NotDelegating: AugmentedError<ApiType>;
|
|
332
|
+
/**
|
|
333
|
+
* Poll is not ongoing.
|
|
334
|
+
**/
|
|
335
|
+
NotOngoing: AugmentedError<ApiType>;
|
|
336
|
+
/**
|
|
337
|
+
* The given account did not vote on the poll.
|
|
338
|
+
**/
|
|
339
|
+
NotVoter: AugmentedError<ApiType>;
|
|
340
|
+
/**
|
|
341
|
+
* Generic error
|
|
342
|
+
**/
|
|
343
|
+
[key: string]: AugmentedError<ApiType>;
|
|
344
|
+
};
|
|
345
|
+
coretime: {
|
|
346
|
+
/**
|
|
347
|
+
* Failed to transfer assets to the coretime chain
|
|
348
|
+
**/
|
|
349
|
+
AssetTransferFailed: AugmentedError<ApiType>;
|
|
350
|
+
/**
|
|
351
|
+
* The paraid making the call is not the coretime brokerage system parachain.
|
|
352
|
+
**/
|
|
353
|
+
NotBroker: AugmentedError<ApiType>;
|
|
354
|
+
/**
|
|
355
|
+
* Requested revenue information `when` parameter was in the future from the current
|
|
356
|
+
* block height.
|
|
357
|
+
**/
|
|
358
|
+
RequestedFutureRevenue: AugmentedError<ApiType>;
|
|
359
|
+
/**
|
|
360
|
+
* Generic error
|
|
361
|
+
**/
|
|
362
|
+
[key: string]: AugmentedError<ApiType>;
|
|
363
|
+
};
|
|
364
|
+
coretimeAssignmentProvider: {
|
|
365
|
+
AssignmentsEmpty: AugmentedError<ApiType>;
|
|
366
|
+
/**
|
|
367
|
+
* assign_core is only allowed to append new assignments at the end of already existing
|
|
368
|
+
* ones or update the last entry.
|
|
369
|
+
**/
|
|
370
|
+
DisallowedInsert: AugmentedError<ApiType>;
|
|
371
|
+
/**
|
|
372
|
+
* Generic error
|
|
373
|
+
**/
|
|
374
|
+
[key: string]: AugmentedError<ApiType>;
|
|
375
|
+
};
|
|
376
|
+
crowdloan: {
|
|
377
|
+
/**
|
|
378
|
+
* The fund is already in `NewRaise`
|
|
379
|
+
**/
|
|
380
|
+
AlreadyInNewRaise: AugmentedError<ApiType>;
|
|
381
|
+
/**
|
|
382
|
+
* This parachain's bid or lease is still active and withdraw cannot yet begin.
|
|
383
|
+
**/
|
|
384
|
+
BidOrLeaseActive: AugmentedError<ApiType>;
|
|
385
|
+
/**
|
|
386
|
+
* The campaign ends before the current block number. The end must be in the future.
|
|
387
|
+
**/
|
|
388
|
+
CannotEndInPast: AugmentedError<ApiType>;
|
|
389
|
+
/**
|
|
390
|
+
* Contributions exceed maximum amount.
|
|
391
|
+
**/
|
|
392
|
+
CapExceeded: AugmentedError<ApiType>;
|
|
393
|
+
/**
|
|
394
|
+
* The contribution period has already ended.
|
|
395
|
+
**/
|
|
396
|
+
ContributionPeriodOver: AugmentedError<ApiType>;
|
|
397
|
+
/**
|
|
398
|
+
* The contribution was below the minimum, `MinContribution`.
|
|
399
|
+
**/
|
|
400
|
+
ContributionTooSmall: AugmentedError<ApiType>;
|
|
401
|
+
/**
|
|
402
|
+
* The end date for this crowdloan is not sensible.
|
|
403
|
+
**/
|
|
404
|
+
EndTooFarInFuture: AugmentedError<ApiType>;
|
|
405
|
+
/**
|
|
406
|
+
* The current lease period is more than the first lease period.
|
|
407
|
+
**/
|
|
408
|
+
FirstPeriodInPast: AugmentedError<ApiType>;
|
|
409
|
+
/**
|
|
410
|
+
* The first lease period needs to at least be less than 3 `max_value`.
|
|
411
|
+
**/
|
|
412
|
+
FirstPeriodTooFarInFuture: AugmentedError<ApiType>;
|
|
413
|
+
/**
|
|
414
|
+
* The crowdloan has not yet ended.
|
|
415
|
+
**/
|
|
416
|
+
FundNotEnded: AugmentedError<ApiType>;
|
|
417
|
+
/**
|
|
418
|
+
* The origin of this call is invalid.
|
|
419
|
+
**/
|
|
420
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
421
|
+
/**
|
|
422
|
+
* Invalid fund index.
|
|
423
|
+
**/
|
|
424
|
+
InvalidParaId: AugmentedError<ApiType>;
|
|
425
|
+
/**
|
|
426
|
+
* Invalid signature.
|
|
427
|
+
**/
|
|
428
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
429
|
+
/**
|
|
430
|
+
* Last lease period must be greater than first lease period.
|
|
431
|
+
**/
|
|
432
|
+
LastPeriodBeforeFirstPeriod: AugmentedError<ApiType>;
|
|
433
|
+
/**
|
|
434
|
+
* The last lease period cannot be more than 3 periods after the first period.
|
|
435
|
+
**/
|
|
436
|
+
LastPeriodTooFarInFuture: AugmentedError<ApiType>;
|
|
437
|
+
/**
|
|
438
|
+
* This parachain lease is still active and retirement cannot yet begin.
|
|
439
|
+
**/
|
|
440
|
+
LeaseActive: AugmentedError<ApiType>;
|
|
441
|
+
/**
|
|
442
|
+
* The provided memo is too large.
|
|
443
|
+
**/
|
|
444
|
+
MemoTooLarge: AugmentedError<ApiType>;
|
|
445
|
+
/**
|
|
446
|
+
* There are no contributions stored in this crowdloan.
|
|
447
|
+
**/
|
|
448
|
+
NoContributions: AugmentedError<ApiType>;
|
|
449
|
+
/**
|
|
450
|
+
* A lease period has not started yet, due to an offset in the starting block.
|
|
451
|
+
**/
|
|
452
|
+
NoLeasePeriod: AugmentedError<ApiType>;
|
|
453
|
+
/**
|
|
454
|
+
* This crowdloan does not correspond to a parachain.
|
|
455
|
+
**/
|
|
456
|
+
NotParachain: AugmentedError<ApiType>;
|
|
457
|
+
/**
|
|
458
|
+
* The crowdloan is not ready to dissolve. Potentially still has a slot or in retirement
|
|
459
|
+
* period.
|
|
460
|
+
**/
|
|
461
|
+
NotReadyToDissolve: AugmentedError<ApiType>;
|
|
462
|
+
/**
|
|
463
|
+
* There was an overflow.
|
|
464
|
+
**/
|
|
465
|
+
Overflow: AugmentedError<ApiType>;
|
|
466
|
+
/**
|
|
467
|
+
* No contributions allowed during the VRF delay
|
|
468
|
+
**/
|
|
469
|
+
VrfDelayInProgress: AugmentedError<ApiType>;
|
|
470
|
+
/**
|
|
471
|
+
* Generic error
|
|
472
|
+
**/
|
|
473
|
+
[key: string]: AugmentedError<ApiType>;
|
|
474
|
+
};
|
|
475
|
+
delegatedStaking: {
|
|
476
|
+
/**
|
|
477
|
+
* An existing staker cannot perform this action.
|
|
478
|
+
**/
|
|
479
|
+
AlreadyStaking: AugmentedError<ApiType>;
|
|
480
|
+
/**
|
|
481
|
+
* Some corruption in internal state.
|
|
482
|
+
**/
|
|
483
|
+
BadState: AugmentedError<ApiType>;
|
|
484
|
+
/**
|
|
485
|
+
* Delegation conditions are not met.
|
|
486
|
+
*
|
|
487
|
+
* Possible issues are
|
|
488
|
+
* 1) Cannot delegate to self,
|
|
489
|
+
* 2) Cannot delegate to multiple delegates.
|
|
490
|
+
**/
|
|
491
|
+
InvalidDelegation: AugmentedError<ApiType>;
|
|
492
|
+
/**
|
|
493
|
+
* Reward Destination cannot be same as `Agent` account.
|
|
494
|
+
**/
|
|
495
|
+
InvalidRewardDestination: AugmentedError<ApiType>;
|
|
496
|
+
/**
|
|
497
|
+
* Not an existing `Agent` account.
|
|
498
|
+
**/
|
|
499
|
+
NotAgent: AugmentedError<ApiType>;
|
|
500
|
+
/**
|
|
501
|
+
* The account cannot perform this operation.
|
|
502
|
+
**/
|
|
503
|
+
NotAllowed: AugmentedError<ApiType>;
|
|
504
|
+
/**
|
|
505
|
+
* Not a Delegator account.
|
|
506
|
+
**/
|
|
507
|
+
NotDelegator: AugmentedError<ApiType>;
|
|
508
|
+
/**
|
|
509
|
+
* The account does not have enough funds to perform the operation.
|
|
510
|
+
**/
|
|
511
|
+
NotEnoughFunds: AugmentedError<ApiType>;
|
|
512
|
+
/**
|
|
513
|
+
* `Agent` has no pending slash to be applied.
|
|
514
|
+
**/
|
|
515
|
+
NothingToSlash: AugmentedError<ApiType>;
|
|
516
|
+
/**
|
|
517
|
+
* Operation not supported by this pallet.
|
|
518
|
+
**/
|
|
519
|
+
NotSupported: AugmentedError<ApiType>;
|
|
520
|
+
/**
|
|
521
|
+
* Unapplied pending slash restricts operation on `Agent`.
|
|
522
|
+
**/
|
|
523
|
+
UnappliedSlash: AugmentedError<ApiType>;
|
|
524
|
+
/**
|
|
525
|
+
* Failed to withdraw amount from Core Staking.
|
|
526
|
+
**/
|
|
527
|
+
WithdrawFailed: AugmentedError<ApiType>;
|
|
528
|
+
/**
|
|
529
|
+
* Generic error
|
|
530
|
+
**/
|
|
531
|
+
[key: string]: AugmentedError<ApiType>;
|
|
532
|
+
};
|
|
533
|
+
electionProviderMultiPhase: {
|
|
534
|
+
/**
|
|
535
|
+
* Some bound not met
|
|
536
|
+
**/
|
|
537
|
+
BoundNotMet: AugmentedError<ApiType>;
|
|
538
|
+
/**
|
|
539
|
+
* The call is not allowed at this point.
|
|
540
|
+
**/
|
|
541
|
+
CallNotAllowed: AugmentedError<ApiType>;
|
|
542
|
+
/**
|
|
543
|
+
* The fallback failed
|
|
544
|
+
**/
|
|
545
|
+
FallbackFailed: AugmentedError<ApiType>;
|
|
546
|
+
/**
|
|
547
|
+
* `Self::insert_submission` returned an invalid index.
|
|
548
|
+
**/
|
|
549
|
+
InvalidSubmissionIndex: AugmentedError<ApiType>;
|
|
550
|
+
/**
|
|
551
|
+
* Snapshot metadata should exist but didn't.
|
|
552
|
+
**/
|
|
553
|
+
MissingSnapshotMetadata: AugmentedError<ApiType>;
|
|
554
|
+
/**
|
|
555
|
+
* OCW submitted solution for wrong round
|
|
556
|
+
**/
|
|
557
|
+
OcwCallWrongEra: AugmentedError<ApiType>;
|
|
558
|
+
/**
|
|
559
|
+
* Submission was prepared for a different round.
|
|
560
|
+
**/
|
|
561
|
+
PreDispatchDifferentRound: AugmentedError<ApiType>;
|
|
562
|
+
/**
|
|
563
|
+
* Submission was too early.
|
|
564
|
+
**/
|
|
565
|
+
PreDispatchEarlySubmission: AugmentedError<ApiType>;
|
|
566
|
+
/**
|
|
567
|
+
* Submission was too weak, score-wise.
|
|
568
|
+
**/
|
|
569
|
+
PreDispatchWeakSubmission: AugmentedError<ApiType>;
|
|
570
|
+
/**
|
|
571
|
+
* Wrong number of winners presented.
|
|
572
|
+
**/
|
|
573
|
+
PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
|
|
574
|
+
/**
|
|
575
|
+
* The origin failed to pay the deposit.
|
|
576
|
+
**/
|
|
577
|
+
SignedCannotPayDeposit: AugmentedError<ApiType>;
|
|
578
|
+
/**
|
|
579
|
+
* Witness data to dispatchable is invalid.
|
|
580
|
+
**/
|
|
581
|
+
SignedInvalidWitness: AugmentedError<ApiType>;
|
|
582
|
+
/**
|
|
583
|
+
* The queue was full, and the solution was not better than any of the existing ones.
|
|
584
|
+
**/
|
|
585
|
+
SignedQueueFull: AugmentedError<ApiType>;
|
|
586
|
+
/**
|
|
587
|
+
* The signed submission consumes too much weight
|
|
588
|
+
**/
|
|
589
|
+
SignedTooMuchWeight: AugmentedError<ApiType>;
|
|
590
|
+
/**
|
|
591
|
+
* Submitted solution has too many winners
|
|
592
|
+
**/
|
|
593
|
+
TooManyWinners: AugmentedError<ApiType>;
|
|
594
|
+
/**
|
|
595
|
+
* Generic error
|
|
596
|
+
**/
|
|
597
|
+
[key: string]: AugmentedError<ApiType>;
|
|
598
|
+
};
|
|
599
|
+
fastUnstake: {
|
|
600
|
+
/**
|
|
601
|
+
* The provided un-staker is already in Head, and cannot deregister.
|
|
602
|
+
**/
|
|
603
|
+
AlreadyHead: AugmentedError<ApiType>;
|
|
604
|
+
/**
|
|
605
|
+
* The bonded account has already been queued.
|
|
606
|
+
**/
|
|
607
|
+
AlreadyQueued: AugmentedError<ApiType>;
|
|
608
|
+
/**
|
|
609
|
+
* The call is not allowed at this point because the pallet is not active.
|
|
610
|
+
**/
|
|
611
|
+
CallNotAllowed: AugmentedError<ApiType>;
|
|
612
|
+
/**
|
|
613
|
+
* The provided Controller account was not found.
|
|
614
|
+
*
|
|
615
|
+
* This means that the given account is not bonded.
|
|
616
|
+
**/
|
|
617
|
+
NotController: AugmentedError<ApiType>;
|
|
618
|
+
/**
|
|
619
|
+
* The bonded account has active unlocking chunks.
|
|
620
|
+
**/
|
|
621
|
+
NotFullyBonded: AugmentedError<ApiType>;
|
|
622
|
+
/**
|
|
623
|
+
* The provided un-staker is not in the `Queue`.
|
|
624
|
+
**/
|
|
625
|
+
NotQueued: AugmentedError<ApiType>;
|
|
626
|
+
/**
|
|
627
|
+
* Generic error
|
|
628
|
+
**/
|
|
629
|
+
[key: string]: AugmentedError<ApiType>;
|
|
630
|
+
};
|
|
631
|
+
grandpa: {
|
|
632
|
+
/**
|
|
633
|
+
* Attempt to signal GRANDPA change with one already pending.
|
|
634
|
+
**/
|
|
635
|
+
ChangePending: AugmentedError<ApiType>;
|
|
636
|
+
/**
|
|
637
|
+
* A given equivocation report is valid but already previously reported.
|
|
638
|
+
**/
|
|
639
|
+
DuplicateOffenceReport: AugmentedError<ApiType>;
|
|
640
|
+
/**
|
|
641
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
642
|
+
**/
|
|
643
|
+
InvalidEquivocationProof: AugmentedError<ApiType>;
|
|
644
|
+
/**
|
|
645
|
+
* A key ownership proof provided as part of an equivocation report is invalid.
|
|
646
|
+
**/
|
|
647
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
648
|
+
/**
|
|
649
|
+
* Attempt to signal GRANDPA pause when the authority set isn't live
|
|
650
|
+
* (either paused or already pending pause).
|
|
651
|
+
**/
|
|
652
|
+
PauseFailed: AugmentedError<ApiType>;
|
|
653
|
+
/**
|
|
654
|
+
* Attempt to signal GRANDPA resume when the authority set isn't paused
|
|
655
|
+
* (either live or already pending resume).
|
|
656
|
+
**/
|
|
657
|
+
ResumeFailed: AugmentedError<ApiType>;
|
|
658
|
+
/**
|
|
659
|
+
* Cannot signal forced change so soon after last.
|
|
660
|
+
**/
|
|
661
|
+
TooSoon: AugmentedError<ApiType>;
|
|
662
|
+
/**
|
|
663
|
+
* Generic error
|
|
664
|
+
**/
|
|
665
|
+
[key: string]: AugmentedError<ApiType>;
|
|
666
|
+
};
|
|
667
|
+
hrmp: {
|
|
668
|
+
/**
|
|
669
|
+
* The channel is already confirmed.
|
|
670
|
+
**/
|
|
671
|
+
AcceptHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>;
|
|
672
|
+
/**
|
|
673
|
+
* The channel from the sender to the origin doesn't exist.
|
|
674
|
+
**/
|
|
675
|
+
AcceptHrmpChannelDoesntExist: AugmentedError<ApiType>;
|
|
676
|
+
/**
|
|
677
|
+
* The recipient already has the maximum number of allowed inbound channels.
|
|
678
|
+
**/
|
|
679
|
+
AcceptHrmpChannelLimitExceeded: AugmentedError<ApiType>;
|
|
680
|
+
/**
|
|
681
|
+
* Canceling is requested by neither the sender nor recipient of the open channel request.
|
|
682
|
+
**/
|
|
683
|
+
CancelHrmpOpenChannelUnauthorized: AugmentedError<ApiType>;
|
|
684
|
+
/**
|
|
685
|
+
* The channel between these two chains cannot be authorized.
|
|
686
|
+
**/
|
|
687
|
+
ChannelCreationNotAuthorized: AugmentedError<ApiType>;
|
|
688
|
+
/**
|
|
689
|
+
* The channel close request is already requested.
|
|
690
|
+
**/
|
|
691
|
+
CloseHrmpChannelAlreadyUnderway: AugmentedError<ApiType>;
|
|
692
|
+
/**
|
|
693
|
+
* The channel to be closed doesn't exist.
|
|
694
|
+
**/
|
|
695
|
+
CloseHrmpChannelDoesntExist: AugmentedError<ApiType>;
|
|
696
|
+
/**
|
|
697
|
+
* The origin tries to close a channel where it is neither the sender nor the recipient.
|
|
698
|
+
**/
|
|
699
|
+
CloseHrmpChannelUnauthorized: AugmentedError<ApiType>;
|
|
700
|
+
/**
|
|
701
|
+
* Cannot cancel an HRMP open channel request because it is already confirmed.
|
|
702
|
+
**/
|
|
703
|
+
OpenHrmpChannelAlreadyConfirmed: AugmentedError<ApiType>;
|
|
704
|
+
/**
|
|
705
|
+
* The channel already exists
|
|
706
|
+
**/
|
|
707
|
+
OpenHrmpChannelAlreadyExists: AugmentedError<ApiType>;
|
|
708
|
+
/**
|
|
709
|
+
* There is already a request to open the same channel.
|
|
710
|
+
**/
|
|
711
|
+
OpenHrmpChannelAlreadyRequested: AugmentedError<ApiType>;
|
|
712
|
+
/**
|
|
713
|
+
* The requested capacity exceeds the global limit.
|
|
714
|
+
**/
|
|
715
|
+
OpenHrmpChannelCapacityExceedsLimit: AugmentedError<ApiType>;
|
|
716
|
+
/**
|
|
717
|
+
* The open request doesn't exist.
|
|
718
|
+
**/
|
|
719
|
+
OpenHrmpChannelDoesntExist: AugmentedError<ApiType>;
|
|
720
|
+
/**
|
|
721
|
+
* The recipient is not a valid para.
|
|
722
|
+
**/
|
|
723
|
+
OpenHrmpChannelInvalidRecipient: AugmentedError<ApiType>;
|
|
724
|
+
/**
|
|
725
|
+
* The sender already has the maximum number of allowed outbound channels.
|
|
726
|
+
**/
|
|
727
|
+
OpenHrmpChannelLimitExceeded: AugmentedError<ApiType>;
|
|
728
|
+
/**
|
|
729
|
+
* The open request requested the message size that exceeds the global limit.
|
|
730
|
+
**/
|
|
731
|
+
OpenHrmpChannelMessageSizeExceedsLimit: AugmentedError<ApiType>;
|
|
732
|
+
/**
|
|
733
|
+
* The sender tried to open a channel to themselves.
|
|
734
|
+
**/
|
|
735
|
+
OpenHrmpChannelToSelf: AugmentedError<ApiType>;
|
|
736
|
+
/**
|
|
737
|
+
* The requested capacity is zero.
|
|
738
|
+
**/
|
|
739
|
+
OpenHrmpChannelZeroCapacity: AugmentedError<ApiType>;
|
|
740
|
+
/**
|
|
741
|
+
* The requested maximum message size is 0.
|
|
742
|
+
**/
|
|
743
|
+
OpenHrmpChannelZeroMessageSize: AugmentedError<ApiType>;
|
|
744
|
+
/**
|
|
745
|
+
* The provided witness data is wrong.
|
|
746
|
+
**/
|
|
747
|
+
WrongWitness: AugmentedError<ApiType>;
|
|
748
|
+
/**
|
|
749
|
+
* Generic error
|
|
750
|
+
**/
|
|
751
|
+
[key: string]: AugmentedError<ApiType>;
|
|
752
|
+
};
|
|
753
|
+
indices: {
|
|
754
|
+
/**
|
|
755
|
+
* The index was not available.
|
|
756
|
+
**/
|
|
757
|
+
InUse: AugmentedError<ApiType>;
|
|
758
|
+
/**
|
|
759
|
+
* The index was not already assigned.
|
|
760
|
+
**/
|
|
761
|
+
NotAssigned: AugmentedError<ApiType>;
|
|
762
|
+
/**
|
|
763
|
+
* The index is assigned to another account.
|
|
764
|
+
**/
|
|
765
|
+
NotOwner: AugmentedError<ApiType>;
|
|
766
|
+
/**
|
|
767
|
+
* The source and destination accounts are identical.
|
|
768
|
+
**/
|
|
769
|
+
NotTransfer: AugmentedError<ApiType>;
|
|
770
|
+
/**
|
|
771
|
+
* The index is permanent and may not be freed/changed.
|
|
772
|
+
**/
|
|
773
|
+
Permanent: AugmentedError<ApiType>;
|
|
774
|
+
/**
|
|
775
|
+
* Generic error
|
|
776
|
+
**/
|
|
777
|
+
[key: string]: AugmentedError<ApiType>;
|
|
778
|
+
};
|
|
779
|
+
messageQueue: {
|
|
780
|
+
/**
|
|
781
|
+
* The message was already processed and cannot be processed again.
|
|
782
|
+
**/
|
|
783
|
+
AlreadyProcessed: AugmentedError<ApiType>;
|
|
784
|
+
/**
|
|
785
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
786
|
+
**/
|
|
787
|
+
InsufficientWeight: AugmentedError<ApiType>;
|
|
788
|
+
/**
|
|
789
|
+
* The referenced message could not be found.
|
|
790
|
+
**/
|
|
791
|
+
NoMessage: AugmentedError<ApiType>;
|
|
792
|
+
/**
|
|
793
|
+
* Page to be reaped does not exist.
|
|
794
|
+
**/
|
|
795
|
+
NoPage: AugmentedError<ApiType>;
|
|
796
|
+
/**
|
|
797
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
798
|
+
* enough.
|
|
799
|
+
**/
|
|
800
|
+
NotReapable: AugmentedError<ApiType>;
|
|
801
|
+
/**
|
|
802
|
+
* The message is queued for future execution.
|
|
803
|
+
**/
|
|
804
|
+
Queued: AugmentedError<ApiType>;
|
|
805
|
+
/**
|
|
806
|
+
* The queue is paused and no message can be executed from it.
|
|
807
|
+
*
|
|
808
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
809
|
+
**/
|
|
810
|
+
QueuePaused: AugmentedError<ApiType>;
|
|
811
|
+
/**
|
|
812
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
813
|
+
**/
|
|
814
|
+
RecursiveDisallowed: AugmentedError<ApiType>;
|
|
815
|
+
/**
|
|
816
|
+
* This message is temporarily unprocessable.
|
|
817
|
+
*
|
|
818
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
819
|
+
* retrying.
|
|
820
|
+
**/
|
|
821
|
+
TemporarilyUnprocessable: AugmentedError<ApiType>;
|
|
822
|
+
/**
|
|
823
|
+
* Generic error
|
|
824
|
+
**/
|
|
825
|
+
[key: string]: AugmentedError<ApiType>;
|
|
826
|
+
};
|
|
827
|
+
multisig: {
|
|
828
|
+
/**
|
|
829
|
+
* Call is already approved by this signatory.
|
|
830
|
+
**/
|
|
831
|
+
AlreadyApproved: AugmentedError<ApiType>;
|
|
832
|
+
/**
|
|
833
|
+
* The data to be stored is already stored.
|
|
834
|
+
**/
|
|
835
|
+
AlreadyStored: AugmentedError<ApiType>;
|
|
836
|
+
/**
|
|
837
|
+
* The maximum weight information provided was too low.
|
|
838
|
+
**/
|
|
839
|
+
MaxWeightTooLow: AugmentedError<ApiType>;
|
|
840
|
+
/**
|
|
841
|
+
* Threshold must be 2 or greater.
|
|
842
|
+
**/
|
|
843
|
+
MinimumThreshold: AugmentedError<ApiType>;
|
|
844
|
+
/**
|
|
845
|
+
* Call doesn't need any (more) approvals.
|
|
846
|
+
**/
|
|
847
|
+
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
848
|
+
/**
|
|
849
|
+
* Multisig operation not found in storage.
|
|
850
|
+
**/
|
|
851
|
+
NotFound: AugmentedError<ApiType>;
|
|
852
|
+
/**
|
|
853
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
854
|
+
**/
|
|
855
|
+
NoTimepoint: AugmentedError<ApiType>;
|
|
856
|
+
/**
|
|
857
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
858
|
+
* its deposits.
|
|
859
|
+
**/
|
|
860
|
+
NotOwner: AugmentedError<ApiType>;
|
|
861
|
+
/**
|
|
862
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
863
|
+
**/
|
|
864
|
+
SenderInSignatories: AugmentedError<ApiType>;
|
|
865
|
+
/**
|
|
866
|
+
* The signatories were provided out of order; they should be ordered.
|
|
867
|
+
**/
|
|
868
|
+
SignatoriesOutOfOrder: AugmentedError<ApiType>;
|
|
869
|
+
/**
|
|
870
|
+
* There are too few signatories in the list.
|
|
871
|
+
**/
|
|
872
|
+
TooFewSignatories: AugmentedError<ApiType>;
|
|
873
|
+
/**
|
|
874
|
+
* There are too many signatories in the list.
|
|
875
|
+
**/
|
|
876
|
+
TooManySignatories: AugmentedError<ApiType>;
|
|
877
|
+
/**
|
|
878
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
879
|
+
**/
|
|
880
|
+
UnexpectedTimepoint: AugmentedError<ApiType>;
|
|
881
|
+
/**
|
|
882
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
883
|
+
**/
|
|
884
|
+
WrongTimepoint: AugmentedError<ApiType>;
|
|
885
|
+
/**
|
|
886
|
+
* Generic error
|
|
887
|
+
**/
|
|
888
|
+
[key: string]: AugmentedError<ApiType>;
|
|
889
|
+
};
|
|
890
|
+
nominationPools: {
|
|
891
|
+
/**
|
|
892
|
+
* An account is already delegating in another pool. An account may only belong to one
|
|
893
|
+
* pool at a time.
|
|
894
|
+
**/
|
|
895
|
+
AccountBelongsToOtherPool: AugmentedError<ApiType>;
|
|
896
|
+
/**
|
|
897
|
+
* The pool or member delegation has already migrated to delegate stake.
|
|
898
|
+
**/
|
|
899
|
+
AlreadyMigrated: AugmentedError<ApiType>;
|
|
900
|
+
/**
|
|
901
|
+
* Bonding extra is restricted to the exact pending reward amount.
|
|
902
|
+
**/
|
|
903
|
+
BondExtraRestricted: AugmentedError<ApiType>;
|
|
904
|
+
/**
|
|
905
|
+
* The pools state cannot be changed.
|
|
906
|
+
**/
|
|
907
|
+
CanNotChangeState: AugmentedError<ApiType>;
|
|
908
|
+
/**
|
|
909
|
+
* None of the funds can be withdrawn yet because the bonding duration has not passed.
|
|
910
|
+
**/
|
|
911
|
+
CannotWithdrawAny: AugmentedError<ApiType>;
|
|
912
|
+
/**
|
|
913
|
+
* The submitted changes to commission change rate are not allowed.
|
|
914
|
+
**/
|
|
915
|
+
CommissionChangeRateNotAllowed: AugmentedError<ApiType>;
|
|
916
|
+
/**
|
|
917
|
+
* Not enough blocks have surpassed since the last commission update.
|
|
918
|
+
**/
|
|
919
|
+
CommissionChangeThrottled: AugmentedError<ApiType>;
|
|
920
|
+
/**
|
|
921
|
+
* The supplied commission exceeds global maximum commission.
|
|
922
|
+
**/
|
|
923
|
+
CommissionExceedsGlobalMaximum: AugmentedError<ApiType>;
|
|
924
|
+
/**
|
|
925
|
+
* The supplied commission exceeds the max allowed commission.
|
|
926
|
+
**/
|
|
927
|
+
CommissionExceedsMaximum: AugmentedError<ApiType>;
|
|
928
|
+
/**
|
|
929
|
+
* Some error occurred that should never happen. This should be reported to the
|
|
930
|
+
* maintainers.
|
|
931
|
+
**/
|
|
932
|
+
Defensive: AugmentedError<ApiType>;
|
|
933
|
+
/**
|
|
934
|
+
* The caller does not have adequate permissions.
|
|
935
|
+
**/
|
|
936
|
+
DoesNotHavePermission: AugmentedError<ApiType>;
|
|
937
|
+
/**
|
|
938
|
+
* The member is fully unbonded (and thus cannot access the bonded and reward pool
|
|
939
|
+
* anymore to, for example, collect rewards).
|
|
940
|
+
**/
|
|
941
|
+
FullyUnbonding: AugmentedError<ApiType>;
|
|
942
|
+
/**
|
|
943
|
+
* Pool id provided is not correct/usable.
|
|
944
|
+
**/
|
|
945
|
+
InvalidPoolId: AugmentedError<ApiType>;
|
|
946
|
+
/**
|
|
947
|
+
* The pool's max commission cannot be set higher than the existing value.
|
|
948
|
+
**/
|
|
949
|
+
MaxCommissionRestricted: AugmentedError<ApiType>;
|
|
950
|
+
/**
|
|
951
|
+
* Too many members in the pool or system.
|
|
952
|
+
**/
|
|
953
|
+
MaxPoolMembers: AugmentedError<ApiType>;
|
|
954
|
+
/**
|
|
955
|
+
* The system is maxed out on pools.
|
|
956
|
+
**/
|
|
957
|
+
MaxPools: AugmentedError<ApiType>;
|
|
958
|
+
/**
|
|
959
|
+
* The member cannot unbond further chunks due to reaching the limit.
|
|
960
|
+
**/
|
|
961
|
+
MaxUnbondingLimit: AugmentedError<ApiType>;
|
|
962
|
+
/**
|
|
963
|
+
* Metadata exceeds [`Config::MaxMetadataLen`]
|
|
964
|
+
**/
|
|
965
|
+
MetadataExceedsMaxLen: AugmentedError<ApiType>;
|
|
966
|
+
/**
|
|
967
|
+
* The amount does not meet the minimum bond to either join or create a pool.
|
|
968
|
+
*
|
|
969
|
+
* The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
|
|
970
|
+
* caller does not have nominating permissions for the pool. Members can never unbond to a
|
|
971
|
+
* value below `MinJoinBond`.
|
|
972
|
+
**/
|
|
973
|
+
MinimumBondNotMet: AugmentedError<ApiType>;
|
|
974
|
+
/**
|
|
975
|
+
* No commission current has been set.
|
|
976
|
+
**/
|
|
977
|
+
NoCommissionCurrentSet: AugmentedError<ApiType>;
|
|
978
|
+
/**
|
|
979
|
+
* There is no pending commission to claim.
|
|
980
|
+
**/
|
|
981
|
+
NoPendingCommission: AugmentedError<ApiType>;
|
|
982
|
+
/**
|
|
983
|
+
* A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
|
|
984
|
+
* other members to be permissionlessly unbonded.
|
|
985
|
+
**/
|
|
986
|
+
NotDestroying: AugmentedError<ApiType>;
|
|
987
|
+
/**
|
|
988
|
+
* No imbalance in the ED deposit for the pool.
|
|
989
|
+
**/
|
|
990
|
+
NothingToAdjust: AugmentedError<ApiType>;
|
|
991
|
+
/**
|
|
992
|
+
* No slash pending that can be applied to the member.
|
|
993
|
+
**/
|
|
994
|
+
NothingToSlash: AugmentedError<ApiType>;
|
|
995
|
+
/**
|
|
996
|
+
* Either a) the caller cannot make a valid kick or b) the pool is not destroying.
|
|
997
|
+
**/
|
|
998
|
+
NotKickerOrDestroying: AugmentedError<ApiType>;
|
|
999
|
+
/**
|
|
1000
|
+
* The pool or member delegation has not migrated yet to delegate stake.
|
|
1001
|
+
**/
|
|
1002
|
+
NotMigrated: AugmentedError<ApiType>;
|
|
1003
|
+
/**
|
|
1004
|
+
* The caller does not have nominating permissions for the pool.
|
|
1005
|
+
**/
|
|
1006
|
+
NotNominator: AugmentedError<ApiType>;
|
|
1007
|
+
/**
|
|
1008
|
+
* The pool is not open to join
|
|
1009
|
+
**/
|
|
1010
|
+
NotOpen: AugmentedError<ApiType>;
|
|
1011
|
+
/**
|
|
1012
|
+
* This call is not allowed in the current state of the pallet.
|
|
1013
|
+
**/
|
|
1014
|
+
NotSupported: AugmentedError<ApiType>;
|
|
1015
|
+
/**
|
|
1016
|
+
* The transaction could not be executed due to overflow risk for the pool.
|
|
1017
|
+
**/
|
|
1018
|
+
OverflowRisk: AugmentedError<ApiType>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Partial unbonding now allowed permissionlessly.
|
|
1021
|
+
**/
|
|
1022
|
+
PartialUnbondNotAllowedPermissionlessly: AugmentedError<ApiType>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Pool id currently in use.
|
|
1025
|
+
**/
|
|
1026
|
+
PoolIdInUse: AugmentedError<ApiType>;
|
|
1027
|
+
/**
|
|
1028
|
+
* An account is not a member.
|
|
1029
|
+
**/
|
|
1030
|
+
PoolMemberNotFound: AugmentedError<ApiType>;
|
|
1031
|
+
/**
|
|
1032
|
+
* A (bonded) pool id does not exist.
|
|
1033
|
+
**/
|
|
1034
|
+
PoolNotFound: AugmentedError<ApiType>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
1037
|
+
* staking in another way already.
|
|
1038
|
+
**/
|
|
1039
|
+
Restricted: AugmentedError<ApiType>;
|
|
1040
|
+
/**
|
|
1041
|
+
* A reward pool does not exist. In all cases this is a system logic error.
|
|
1042
|
+
**/
|
|
1043
|
+
RewardPoolNotFound: AugmentedError<ApiType>;
|
|
1044
|
+
/**
|
|
1045
|
+
* The slash amount is too low to be applied.
|
|
1046
|
+
**/
|
|
1047
|
+
SlashTooLow: AugmentedError<ApiType>;
|
|
1048
|
+
/**
|
|
1049
|
+
* A sub pool does not exist.
|
|
1050
|
+
**/
|
|
1051
|
+
SubPoolsNotFound: AugmentedError<ApiType>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Generic error
|
|
1054
|
+
**/
|
|
1055
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1056
|
+
};
|
|
1057
|
+
onDemand: {
|
|
1058
|
+
/**
|
|
1059
|
+
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
1060
|
+
**/
|
|
1061
|
+
InsufficientCredits: AugmentedError<ApiType>;
|
|
1062
|
+
/**
|
|
1063
|
+
* The order queue is full, `place_order` will not continue.
|
|
1064
|
+
**/
|
|
1065
|
+
QueueFull: AugmentedError<ApiType>;
|
|
1066
|
+
/**
|
|
1067
|
+
* The current spot price is higher than the max amount specified in the `place_order`
|
|
1068
|
+
* call, making it invalid.
|
|
1069
|
+
**/
|
|
1070
|
+
SpotPriceHigherThanMaxAmount: AugmentedError<ApiType>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Generic error
|
|
1073
|
+
**/
|
|
1074
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1075
|
+
};
|
|
1076
|
+
paraInclusion: {
|
|
1077
|
+
/**
|
|
1078
|
+
* The candidate's relay-parent was not allowed. Either it was
|
|
1079
|
+
* not recent enough or it didn't advance based on the last parachain block.
|
|
1080
|
+
**/
|
|
1081
|
+
DisallowedRelayParent: AugmentedError<ApiType>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Head data exceeds the configured maximum.
|
|
1084
|
+
**/
|
|
1085
|
+
HeadDataTooLarge: AugmentedError<ApiType>;
|
|
1086
|
+
/**
|
|
1087
|
+
* The candidate didn't follow the rules of HRMP watermark advancement.
|
|
1088
|
+
**/
|
|
1089
|
+
HrmpWatermarkMishandling: AugmentedError<ApiType>;
|
|
1090
|
+
/**
|
|
1091
|
+
* The downward message queue is not processed correctly.
|
|
1092
|
+
**/
|
|
1093
|
+
IncorrectDownwardMessageHandling: AugmentedError<ApiType>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Insufficient (non-majority) backing.
|
|
1096
|
+
**/
|
|
1097
|
+
InsufficientBacking: AugmentedError<ApiType>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Failed to compute group index for the core: either it's out of bounds
|
|
1100
|
+
* or the relay parent doesn't belong to the current session.
|
|
1101
|
+
**/
|
|
1102
|
+
InvalidAssignment: AugmentedError<ApiType>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Invalid (bad signature, unknown validator, etc.) backing.
|
|
1105
|
+
**/
|
|
1106
|
+
InvalidBacking: AugmentedError<ApiType>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Invalid group index in core assignment.
|
|
1109
|
+
**/
|
|
1110
|
+
InvalidGroupIndex: AugmentedError<ApiType>;
|
|
1111
|
+
/**
|
|
1112
|
+
* The HRMP messages sent by the candidate is not valid.
|
|
1113
|
+
**/
|
|
1114
|
+
InvalidOutboundHrmp: AugmentedError<ApiType>;
|
|
1115
|
+
/**
|
|
1116
|
+
* At least one upward message sent does not pass the acceptance criteria.
|
|
1117
|
+
**/
|
|
1118
|
+
InvalidUpwardMessages: AugmentedError<ApiType>;
|
|
1119
|
+
/**
|
|
1120
|
+
* The validation code hash of the candidate is not valid.
|
|
1121
|
+
**/
|
|
1122
|
+
InvalidValidationCodeHash: AugmentedError<ApiType>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Output code is too large
|
|
1125
|
+
**/
|
|
1126
|
+
NewCodeTooLarge: AugmentedError<ApiType>;
|
|
1127
|
+
/**
|
|
1128
|
+
* The `para_head` hash in the candidate descriptor doesn't match the hash of the actual
|
|
1129
|
+
* para head in the commitments.
|
|
1130
|
+
**/
|
|
1131
|
+
ParaHeadMismatch: AugmentedError<ApiType>;
|
|
1132
|
+
/**
|
|
1133
|
+
* Code upgrade prematurely.
|
|
1134
|
+
**/
|
|
1135
|
+
PrematureCodeUpgrade: AugmentedError<ApiType>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Candidate submitted but para not scheduled.
|
|
1138
|
+
**/
|
|
1139
|
+
UnscheduledCandidate: AugmentedError<ApiType>;
|
|
1140
|
+
/**
|
|
1141
|
+
* The validation data hash does not match expected.
|
|
1142
|
+
**/
|
|
1143
|
+
ValidationDataHashMismatch: AugmentedError<ApiType>;
|
|
1144
|
+
/**
|
|
1145
|
+
* Validator index out of bounds.
|
|
1146
|
+
**/
|
|
1147
|
+
ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Generic error
|
|
1150
|
+
**/
|
|
1151
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1152
|
+
};
|
|
1153
|
+
paraInherent: {
|
|
1154
|
+
/**
|
|
1155
|
+
* Inherent data was filtered during execution. This should have only been done
|
|
1156
|
+
* during creation.
|
|
1157
|
+
**/
|
|
1158
|
+
InherentDataFilteredDuringExecution: AugmentedError<ApiType>;
|
|
1159
|
+
/**
|
|
1160
|
+
* The hash of the submitted parent header doesn't correspond to the saved block hash of
|
|
1161
|
+
* the parent.
|
|
1162
|
+
**/
|
|
1163
|
+
InvalidParentHeader: AugmentedError<ApiType>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Inclusion inherent called more than once per block.
|
|
1166
|
+
**/
|
|
1167
|
+
TooManyInclusionInherents: AugmentedError<ApiType>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Too many candidates supplied.
|
|
1170
|
+
**/
|
|
1171
|
+
UnscheduledCandidate: AugmentedError<ApiType>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Generic error
|
|
1174
|
+
**/
|
|
1175
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1176
|
+
};
|
|
1177
|
+
paras: {
|
|
1178
|
+
/**
|
|
1179
|
+
* Para cannot be downgraded to an on-demand parachain.
|
|
1180
|
+
**/
|
|
1181
|
+
CannotDowngrade: AugmentedError<ApiType>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Para cannot be offboarded at this time.
|
|
1184
|
+
**/
|
|
1185
|
+
CannotOffboard: AugmentedError<ApiType>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Para cannot be onboarded because it is already tracked by our system.
|
|
1188
|
+
**/
|
|
1189
|
+
CannotOnboard: AugmentedError<ApiType>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Para cannot be upgraded to a lease holding parachain.
|
|
1192
|
+
**/
|
|
1193
|
+
CannotUpgrade: AugmentedError<ApiType>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Parachain cannot currently schedule a code upgrade.
|
|
1196
|
+
**/
|
|
1197
|
+
CannotUpgradeCode: AugmentedError<ApiType>;
|
|
1198
|
+
/**
|
|
1199
|
+
* Invalid block number.
|
|
1200
|
+
**/
|
|
1201
|
+
InvalidBlockNumber: AugmentedError<ApiType>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Invalid validation code size.
|
|
1204
|
+
**/
|
|
1205
|
+
InvalidCode: AugmentedError<ApiType>;
|
|
1206
|
+
/**
|
|
1207
|
+
* No upgrade authorized.
|
|
1208
|
+
**/
|
|
1209
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Para is not registered in our system.
|
|
1212
|
+
**/
|
|
1213
|
+
NotRegistered: AugmentedError<ApiType>;
|
|
1214
|
+
/**
|
|
1215
|
+
* The given validator already has cast a vote.
|
|
1216
|
+
**/
|
|
1217
|
+
PvfCheckDoubleVote: AugmentedError<ApiType>;
|
|
1218
|
+
/**
|
|
1219
|
+
* The signature for the PVF pre-checking is invalid.
|
|
1220
|
+
**/
|
|
1221
|
+
PvfCheckInvalidSignature: AugmentedError<ApiType>;
|
|
1222
|
+
/**
|
|
1223
|
+
* The statement for PVF pre-checking is for a future session.
|
|
1224
|
+
**/
|
|
1225
|
+
PvfCheckStatementFuture: AugmentedError<ApiType>;
|
|
1226
|
+
/**
|
|
1227
|
+
* The statement for PVF pre-checking is stale.
|
|
1228
|
+
**/
|
|
1229
|
+
PvfCheckStatementStale: AugmentedError<ApiType>;
|
|
1230
|
+
/**
|
|
1231
|
+
* The given PVF does not exist at the moment of process a vote.
|
|
1232
|
+
**/
|
|
1233
|
+
PvfCheckSubjectInvalid: AugmentedError<ApiType>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Claimed validator index is out of bounds.
|
|
1236
|
+
**/
|
|
1237
|
+
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1238
|
+
/**
|
|
1239
|
+
* The submitted code is not authorized.
|
|
1240
|
+
**/
|
|
1241
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Generic error
|
|
1244
|
+
**/
|
|
1245
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1246
|
+
};
|
|
1247
|
+
parasDisputes: {
|
|
1248
|
+
/**
|
|
1249
|
+
* Ancient dispute statement provided.
|
|
1250
|
+
**/
|
|
1251
|
+
AncientDisputeStatement: AugmentedError<ApiType>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Duplicate dispute statement sets provided.
|
|
1254
|
+
**/
|
|
1255
|
+
DuplicateDisputeStatementSets: AugmentedError<ApiType>;
|
|
1256
|
+
/**
|
|
1257
|
+
* Validator vote submitted more than once to dispute.
|
|
1258
|
+
**/
|
|
1259
|
+
DuplicateStatement: AugmentedError<ApiType>;
|
|
1260
|
+
/**
|
|
1261
|
+
* Invalid signature on statement.
|
|
1262
|
+
**/
|
|
1263
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
1264
|
+
/**
|
|
1265
|
+
* A dispute vote from a malicious backer.
|
|
1266
|
+
**/
|
|
1267
|
+
MaliciousBacker: AugmentedError<ApiType>;
|
|
1268
|
+
/**
|
|
1269
|
+
* No backing votes were provides along dispute statements.
|
|
1270
|
+
**/
|
|
1271
|
+
MissingBackingVotes: AugmentedError<ApiType>;
|
|
1272
|
+
/**
|
|
1273
|
+
* A dispute where there are only votes on one side.
|
|
1274
|
+
**/
|
|
1275
|
+
SingleSidedDispute: AugmentedError<ApiType>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Unconfirmed dispute statement sets provided.
|
|
1278
|
+
**/
|
|
1279
|
+
UnconfirmedDispute: AugmentedError<ApiType>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Validator index on statement is out of bounds for session.
|
|
1282
|
+
**/
|
|
1283
|
+
ValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Generic error
|
|
1286
|
+
**/
|
|
1287
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1288
|
+
};
|
|
1289
|
+
parasSlashing: {
|
|
1290
|
+
/**
|
|
1291
|
+
* The given slashing report is valid but already previously reported.
|
|
1292
|
+
**/
|
|
1293
|
+
DuplicateSlashingReport: AugmentedError<ApiType>;
|
|
1294
|
+
/**
|
|
1295
|
+
* The candidate hash is invalid.
|
|
1296
|
+
**/
|
|
1297
|
+
InvalidCandidateHash: AugmentedError<ApiType>;
|
|
1298
|
+
/**
|
|
1299
|
+
* The key ownership proof is invalid.
|
|
1300
|
+
**/
|
|
1301
|
+
InvalidKeyOwnershipProof: AugmentedError<ApiType>;
|
|
1302
|
+
/**
|
|
1303
|
+
* The session index is too old or invalid.
|
|
1304
|
+
**/
|
|
1305
|
+
InvalidSessionIndex: AugmentedError<ApiType>;
|
|
1306
|
+
/**
|
|
1307
|
+
* There is no pending slash for the given validator index and time
|
|
1308
|
+
* slot.
|
|
1309
|
+
**/
|
|
1310
|
+
InvalidValidatorIndex: AugmentedError<ApiType>;
|
|
1311
|
+
/**
|
|
1312
|
+
* The validator index does not match the validator id.
|
|
1313
|
+
**/
|
|
1314
|
+
ValidatorIndexIdMismatch: AugmentedError<ApiType>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Generic error
|
|
1317
|
+
**/
|
|
1318
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1319
|
+
};
|
|
1320
|
+
preimage: {
|
|
1321
|
+
/**
|
|
1322
|
+
* Preimage has already been noted on-chain.
|
|
1323
|
+
**/
|
|
1324
|
+
AlreadyNoted: AugmentedError<ApiType>;
|
|
1325
|
+
/**
|
|
1326
|
+
* The user is not authorized to perform this action.
|
|
1327
|
+
**/
|
|
1328
|
+
NotAuthorized: AugmentedError<ApiType>;
|
|
1329
|
+
/**
|
|
1330
|
+
* The preimage cannot be removed since it has not yet been noted.
|
|
1331
|
+
**/
|
|
1332
|
+
NotNoted: AugmentedError<ApiType>;
|
|
1333
|
+
/**
|
|
1334
|
+
* The preimage request cannot be removed since no outstanding requests exist.
|
|
1335
|
+
**/
|
|
1336
|
+
NotRequested: AugmentedError<ApiType>;
|
|
1337
|
+
/**
|
|
1338
|
+
* A preimage may not be removed when there are outstanding requests.
|
|
1339
|
+
**/
|
|
1340
|
+
Requested: AugmentedError<ApiType>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Preimage is too large to store on-chain.
|
|
1343
|
+
**/
|
|
1344
|
+
TooBig: AugmentedError<ApiType>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Too few hashes were requested to be upgraded (i.e. zero).
|
|
1347
|
+
**/
|
|
1348
|
+
TooFew: AugmentedError<ApiType>;
|
|
1349
|
+
/**
|
|
1350
|
+
* More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
|
|
1351
|
+
**/
|
|
1352
|
+
TooMany: AugmentedError<ApiType>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Generic error
|
|
1355
|
+
**/
|
|
1356
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1357
|
+
};
|
|
1358
|
+
proxy: {
|
|
1359
|
+
/**
|
|
1360
|
+
* Account is already a proxy.
|
|
1361
|
+
**/
|
|
1362
|
+
Duplicate: AugmentedError<ApiType>;
|
|
1363
|
+
/**
|
|
1364
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
1365
|
+
**/
|
|
1366
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Cannot add self as proxy.
|
|
1369
|
+
**/
|
|
1370
|
+
NoSelfProxy: AugmentedError<ApiType>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Proxy registration not found.
|
|
1373
|
+
**/
|
|
1374
|
+
NotFound: AugmentedError<ApiType>;
|
|
1375
|
+
/**
|
|
1376
|
+
* Sender is not a proxy of the account to be proxied.
|
|
1377
|
+
**/
|
|
1378
|
+
NotProxy: AugmentedError<ApiType>;
|
|
1379
|
+
/**
|
|
1380
|
+
* There are too many proxies registered or too many announcements pending.
|
|
1381
|
+
**/
|
|
1382
|
+
TooMany: AugmentedError<ApiType>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Announcement, if made at all, was made too recently.
|
|
1385
|
+
**/
|
|
1386
|
+
Unannounced: AugmentedError<ApiType>;
|
|
1387
|
+
/**
|
|
1388
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1389
|
+
**/
|
|
1390
|
+
Unproxyable: AugmentedError<ApiType>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Generic error
|
|
1393
|
+
**/
|
|
1394
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1395
|
+
};
|
|
1396
|
+
rcMigrator: {
|
|
1397
|
+
/**
|
|
1398
|
+
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
1399
|
+
**/
|
|
1400
|
+
AccountReferenced: AugmentedError<ApiType>;
|
|
1401
|
+
/**
|
|
1402
|
+
* The AH UMP queue priority configuration is already set.
|
|
1403
|
+
**/
|
|
1404
|
+
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
|
|
1405
|
+
/**
|
|
1406
|
+
* The XCM version is invalid.
|
|
1407
|
+
**/
|
|
1408
|
+
BadXcmVersion: AugmentedError<ApiType>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Balance accounting overflow.
|
|
1411
|
+
**/
|
|
1412
|
+
BalanceOverflow: AugmentedError<ApiType>;
|
|
1413
|
+
/**
|
|
1414
|
+
* Balance accounting underflow.
|
|
1415
|
+
**/
|
|
1416
|
+
BalanceUnderflow: AugmentedError<ApiType>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Indicates that there is not enough time for staking to lock.
|
|
1419
|
+
*
|
|
1420
|
+
* Schedule the migration at least two sessions before the current era ends.
|
|
1421
|
+
**/
|
|
1422
|
+
EraEndsTooSoon: AugmentedError<ApiType>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Failed to withdraw account from RC for migration to AH.
|
|
1425
|
+
**/
|
|
1426
|
+
FailedToWithdrawAccount: AugmentedError<ApiType>;
|
|
1427
|
+
/**
|
|
1428
|
+
* The origin is invalid.
|
|
1429
|
+
**/
|
|
1430
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Invalid parameter.
|
|
1433
|
+
**/
|
|
1434
|
+
InvalidParameter: AugmentedError<ApiType>;
|
|
1435
|
+
/**
|
|
1436
|
+
* The query response is invalid.
|
|
1437
|
+
**/
|
|
1438
|
+
InvalidQueryResponse: AugmentedError<ApiType>;
|
|
1439
|
+
/**
|
|
1440
|
+
* The stage transition is invalid.
|
|
1441
|
+
**/
|
|
1442
|
+
InvalidStageTransition: AugmentedError<ApiType>;
|
|
1443
|
+
OutOfWeight: AugmentedError<ApiType>;
|
|
1444
|
+
/**
|
|
1445
|
+
* Indicates that the specified block number is in the past.
|
|
1446
|
+
**/
|
|
1447
|
+
PastBlockNumber: AugmentedError<ApiType>;
|
|
1448
|
+
/**
|
|
1449
|
+
* The xcm query was not found.
|
|
1450
|
+
**/
|
|
1451
|
+
QueryNotFound: AugmentedError<ApiType>;
|
|
1452
|
+
Unreachable: AugmentedError<ApiType>;
|
|
1453
|
+
/**
|
|
1454
|
+
* The migration stage is not reachable from the current stage.
|
|
1455
|
+
**/
|
|
1456
|
+
UnreachableStage: AugmentedError<ApiType>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Unsigned validation failed.
|
|
1459
|
+
**/
|
|
1460
|
+
UnsignedValidationFailed: AugmentedError<ApiType>;
|
|
1461
|
+
/**
|
|
1462
|
+
* Failed to send XCM message to AH.
|
|
1463
|
+
**/
|
|
1464
|
+
XcmError: AugmentedError<ApiType>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Failed to send XCM message.
|
|
1467
|
+
**/
|
|
1468
|
+
XcmSendError: AugmentedError<ApiType>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Generic error
|
|
1471
|
+
**/
|
|
1472
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1473
|
+
};
|
|
1474
|
+
referenda: {
|
|
1475
|
+
/**
|
|
1476
|
+
* The referendum index provided is invalid in this context.
|
|
1477
|
+
**/
|
|
1478
|
+
BadReferendum: AugmentedError<ApiType>;
|
|
1479
|
+
/**
|
|
1480
|
+
* The referendum status is invalid for this operation.
|
|
1481
|
+
**/
|
|
1482
|
+
BadStatus: AugmentedError<ApiType>;
|
|
1483
|
+
/**
|
|
1484
|
+
* The track identifier given was invalid.
|
|
1485
|
+
**/
|
|
1486
|
+
BadTrack: AugmentedError<ApiType>;
|
|
1487
|
+
/**
|
|
1488
|
+
* There are already a full complement of referenda in progress for this track.
|
|
1489
|
+
**/
|
|
1490
|
+
Full: AugmentedError<ApiType>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Referendum's decision deposit is already paid.
|
|
1493
|
+
**/
|
|
1494
|
+
HasDeposit: AugmentedError<ApiType>;
|
|
1495
|
+
/**
|
|
1496
|
+
* The deposit cannot be refunded since none was made.
|
|
1497
|
+
**/
|
|
1498
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
1499
|
+
/**
|
|
1500
|
+
* The deposit refunder is not the depositor.
|
|
1501
|
+
**/
|
|
1502
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1503
|
+
/**
|
|
1504
|
+
* There was nothing to do in the advancement.
|
|
1505
|
+
**/
|
|
1506
|
+
NothingToDo: AugmentedError<ApiType>;
|
|
1507
|
+
/**
|
|
1508
|
+
* Referendum is not ongoing.
|
|
1509
|
+
**/
|
|
1510
|
+
NotOngoing: AugmentedError<ApiType>;
|
|
1511
|
+
/**
|
|
1512
|
+
* No track exists for the proposal origin.
|
|
1513
|
+
**/
|
|
1514
|
+
NoTrack: AugmentedError<ApiType>;
|
|
1515
|
+
/**
|
|
1516
|
+
* The preimage does not exist.
|
|
1517
|
+
**/
|
|
1518
|
+
PreimageNotExist: AugmentedError<ApiType>;
|
|
1519
|
+
/**
|
|
1520
|
+
* The preimage is stored with a different length than the one provided.
|
|
1521
|
+
**/
|
|
1522
|
+
PreimageStoredWithDifferentLength: AugmentedError<ApiType>;
|
|
1523
|
+
/**
|
|
1524
|
+
* The queue of the track is empty.
|
|
1525
|
+
**/
|
|
1526
|
+
QueueEmpty: AugmentedError<ApiType>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Any deposit cannot be refunded until after the decision is over.
|
|
1529
|
+
**/
|
|
1530
|
+
Unfinished: AugmentedError<ApiType>;
|
|
1531
|
+
/**
|
|
1532
|
+
* Generic error
|
|
1533
|
+
**/
|
|
1534
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1535
|
+
};
|
|
1536
|
+
registrar: {
|
|
1537
|
+
/**
|
|
1538
|
+
* The ID is already registered.
|
|
1539
|
+
**/
|
|
1540
|
+
AlreadyRegistered: AugmentedError<ApiType>;
|
|
1541
|
+
/**
|
|
1542
|
+
* Cannot deregister para
|
|
1543
|
+
**/
|
|
1544
|
+
CannotDeregister: AugmentedError<ApiType>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Cannot schedule downgrade of lease holding parachain to on-demand parachain
|
|
1547
|
+
**/
|
|
1548
|
+
CannotDowngrade: AugmentedError<ApiType>;
|
|
1549
|
+
/**
|
|
1550
|
+
* Cannot perform a parachain slot / lifecycle swap. Check that the state of both paras
|
|
1551
|
+
* are correct for the swap to work.
|
|
1552
|
+
**/
|
|
1553
|
+
CannotSwap: AugmentedError<ApiType>;
|
|
1554
|
+
/**
|
|
1555
|
+
* Cannot schedule upgrade of on-demand parachain to lease holding parachain
|
|
1556
|
+
**/
|
|
1557
|
+
CannotUpgrade: AugmentedError<ApiType>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Invalid para code size.
|
|
1560
|
+
**/
|
|
1561
|
+
CodeTooLarge: AugmentedError<ApiType>;
|
|
1562
|
+
/**
|
|
1563
|
+
* Invalid para head data size.
|
|
1564
|
+
**/
|
|
1565
|
+
HeadDataTooLarge: AugmentedError<ApiType>;
|
|
1566
|
+
/**
|
|
1567
|
+
* The validation code is invalid.
|
|
1568
|
+
**/
|
|
1569
|
+
InvalidCode: AugmentedError<ApiType>;
|
|
1570
|
+
/**
|
|
1571
|
+
* The caller is not the owner of this Id.
|
|
1572
|
+
**/
|
|
1573
|
+
NotOwner: AugmentedError<ApiType>;
|
|
1574
|
+
/**
|
|
1575
|
+
* Para is not a Parachain.
|
|
1576
|
+
**/
|
|
1577
|
+
NotParachain: AugmentedError<ApiType>;
|
|
1578
|
+
/**
|
|
1579
|
+
* Para is not a Parathread (on-demand parachain).
|
|
1580
|
+
**/
|
|
1581
|
+
NotParathread: AugmentedError<ApiType>;
|
|
1582
|
+
/**
|
|
1583
|
+
* The ID is not registered.
|
|
1584
|
+
**/
|
|
1585
|
+
NotRegistered: AugmentedError<ApiType>;
|
|
1586
|
+
/**
|
|
1587
|
+
* The ID given for registration has not been reserved.
|
|
1588
|
+
**/
|
|
1589
|
+
NotReserved: AugmentedError<ApiType>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Para is locked from manipulation by the manager. Must use parachain or relay chain
|
|
1592
|
+
* governance.
|
|
1593
|
+
**/
|
|
1594
|
+
ParaLocked: AugmentedError<ApiType>;
|
|
1595
|
+
/**
|
|
1596
|
+
* Generic error
|
|
1597
|
+
**/
|
|
1598
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1599
|
+
};
|
|
1600
|
+
scheduler: {
|
|
1601
|
+
/**
|
|
1602
|
+
* Failed to schedule a call
|
|
1603
|
+
**/
|
|
1604
|
+
FailedToSchedule: AugmentedError<ApiType>;
|
|
1605
|
+
/**
|
|
1606
|
+
* Attempt to use a non-named function on a named task.
|
|
1607
|
+
**/
|
|
1608
|
+
Named: AugmentedError<ApiType>;
|
|
1609
|
+
/**
|
|
1610
|
+
* Cannot find the scheduled call.
|
|
1611
|
+
**/
|
|
1612
|
+
NotFound: AugmentedError<ApiType>;
|
|
1613
|
+
/**
|
|
1614
|
+
* Reschedule failed because it does not change scheduled time.
|
|
1615
|
+
**/
|
|
1616
|
+
RescheduleNoChange: AugmentedError<ApiType>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Given target block number is in the past.
|
|
1619
|
+
**/
|
|
1620
|
+
TargetBlockNumberInPast: AugmentedError<ApiType>;
|
|
1621
|
+
/**
|
|
1622
|
+
* Generic error
|
|
1623
|
+
**/
|
|
1624
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1625
|
+
};
|
|
1626
|
+
session: {
|
|
1627
|
+
/**
|
|
1628
|
+
* Registered duplicate key.
|
|
1629
|
+
**/
|
|
1630
|
+
DuplicatedKey: AugmentedError<ApiType>;
|
|
1631
|
+
/**
|
|
1632
|
+
* Invalid ownership proof.
|
|
1633
|
+
**/
|
|
1634
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
1635
|
+
/**
|
|
1636
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
1637
|
+
**/
|
|
1638
|
+
NoAccount: AugmentedError<ApiType>;
|
|
1639
|
+
/**
|
|
1640
|
+
* No associated validator ID for account.
|
|
1641
|
+
**/
|
|
1642
|
+
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
1643
|
+
/**
|
|
1644
|
+
* No keys are associated with this account.
|
|
1645
|
+
**/
|
|
1646
|
+
NoKeys: AugmentedError<ApiType>;
|
|
1647
|
+
/**
|
|
1648
|
+
* Generic error
|
|
1649
|
+
**/
|
|
1650
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1651
|
+
};
|
|
1652
|
+
slots: {
|
|
1653
|
+
/**
|
|
1654
|
+
* There was an error with the lease.
|
|
1655
|
+
**/
|
|
1656
|
+
LeaseError: AugmentedError<ApiType>;
|
|
1657
|
+
/**
|
|
1658
|
+
* The parachain ID is not onboarding.
|
|
1659
|
+
**/
|
|
1660
|
+
ParaNotOnboarding: AugmentedError<ApiType>;
|
|
1661
|
+
/**
|
|
1662
|
+
* Generic error
|
|
1663
|
+
**/
|
|
1664
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1665
|
+
};
|
|
1666
|
+
staking: {
|
|
1667
|
+
/**
|
|
1668
|
+
* Stash is already bonded.
|
|
1669
|
+
**/
|
|
1670
|
+
AlreadyBonded: AugmentedError<ApiType>;
|
|
1671
|
+
/**
|
|
1672
|
+
* Rewards for this era have already been claimed for this validator.
|
|
1673
|
+
**/
|
|
1674
|
+
AlreadyClaimed: AugmentedError<ApiType>;
|
|
1675
|
+
/**
|
|
1676
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
1677
|
+
**/
|
|
1678
|
+
AlreadyMigrated: AugmentedError<ApiType>;
|
|
1679
|
+
/**
|
|
1680
|
+
* Controller is already paired.
|
|
1681
|
+
**/
|
|
1682
|
+
AlreadyPaired: AugmentedError<ApiType>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Internal state has become somehow corrupted and the operation cannot continue.
|
|
1685
|
+
**/
|
|
1686
|
+
BadState: AugmentedError<ApiType>;
|
|
1687
|
+
/**
|
|
1688
|
+
* A nomination target was supplied that was blocked or otherwise not a validator.
|
|
1689
|
+
**/
|
|
1690
|
+
BadTarget: AugmentedError<ApiType>;
|
|
1691
|
+
/**
|
|
1692
|
+
* Some bound is not met.
|
|
1693
|
+
**/
|
|
1694
|
+
BoundNotMet: AugmentedError<ApiType>;
|
|
1695
|
+
/**
|
|
1696
|
+
* The user has enough bond and thus cannot be chilled forcefully by an external person.
|
|
1697
|
+
**/
|
|
1698
|
+
CannotChillOther: AugmentedError<ApiType>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
1701
|
+
**/
|
|
1702
|
+
CannotReapStash: AugmentedError<ApiType>;
|
|
1703
|
+
/**
|
|
1704
|
+
* Cannot reset a ledger.
|
|
1705
|
+
**/
|
|
1706
|
+
CannotRestoreLedger: AugmentedError<ApiType>;
|
|
1707
|
+
/**
|
|
1708
|
+
* Commission is too low. Must be at least `MinCommission`.
|
|
1709
|
+
**/
|
|
1710
|
+
CommissionTooLow: AugmentedError<ApiType>;
|
|
1711
|
+
/**
|
|
1712
|
+
* Used when attempting to use deprecated controller account logic.
|
|
1713
|
+
**/
|
|
1714
|
+
ControllerDeprecated: AugmentedError<ApiType>;
|
|
1715
|
+
/**
|
|
1716
|
+
* Duplicate index.
|
|
1717
|
+
**/
|
|
1718
|
+
DuplicateIndex: AugmentedError<ApiType>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Targets cannot be empty.
|
|
1721
|
+
**/
|
|
1722
|
+
EmptyTargets: AugmentedError<ApiType>;
|
|
1723
|
+
/**
|
|
1724
|
+
* Attempting to target a stash that still has funds.
|
|
1725
|
+
**/
|
|
1726
|
+
FundedTarget: AugmentedError<ApiType>;
|
|
1727
|
+
/**
|
|
1728
|
+
* Incorrect previous history depth input provided.
|
|
1729
|
+
**/
|
|
1730
|
+
IncorrectHistoryDepth: AugmentedError<ApiType>;
|
|
1731
|
+
/**
|
|
1732
|
+
* Incorrect number of slashing spans provided.
|
|
1733
|
+
**/
|
|
1734
|
+
IncorrectSlashingSpans: AugmentedError<ApiType>;
|
|
1735
|
+
/**
|
|
1736
|
+
* Cannot have a validator or nominator role, with value less than the minimum defined by
|
|
1737
|
+
* governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
|
|
1738
|
+
* intention, `chill` first to remove one's role as validator/nominator.
|
|
1739
|
+
**/
|
|
1740
|
+
InsufficientBond: AugmentedError<ApiType>;
|
|
1741
|
+
/**
|
|
1742
|
+
* Invalid era to reward.
|
|
1743
|
+
**/
|
|
1744
|
+
InvalidEraToReward: AugmentedError<ApiType>;
|
|
1745
|
+
/**
|
|
1746
|
+
* Invalid number of nominations.
|
|
1747
|
+
**/
|
|
1748
|
+
InvalidNumberOfNominations: AugmentedError<ApiType>;
|
|
1749
|
+
/**
|
|
1750
|
+
* No nominators exist on this page.
|
|
1751
|
+
**/
|
|
1752
|
+
InvalidPage: AugmentedError<ApiType>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Slash record index out of bounds.
|
|
1755
|
+
**/
|
|
1756
|
+
InvalidSlashIndex: AugmentedError<ApiType>;
|
|
1757
|
+
/**
|
|
1758
|
+
* Can not schedule more unlock chunks.
|
|
1759
|
+
**/
|
|
1760
|
+
NoMoreChunks: AugmentedError<ApiType>;
|
|
1761
|
+
/**
|
|
1762
|
+
* Not a controller account.
|
|
1763
|
+
**/
|
|
1764
|
+
NotController: AugmentedError<ApiType>;
|
|
1765
|
+
/**
|
|
1766
|
+
* Not enough funds available to withdraw.
|
|
1767
|
+
**/
|
|
1768
|
+
NotEnoughFunds: AugmentedError<ApiType>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Items are not sorted and unique.
|
|
1771
|
+
**/
|
|
1772
|
+
NotSortedAndUnique: AugmentedError<ApiType>;
|
|
1773
|
+
/**
|
|
1774
|
+
* Not a stash account.
|
|
1775
|
+
**/
|
|
1776
|
+
NotStash: AugmentedError<ApiType>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Can not rebond without unlocking chunks.
|
|
1779
|
+
**/
|
|
1780
|
+
NoUnlockChunk: AugmentedError<ApiType>;
|
|
1781
|
+
/**
|
|
1782
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
1783
|
+
* staking in another way already, such as via pool.
|
|
1784
|
+
**/
|
|
1785
|
+
Restricted: AugmentedError<ApiType>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Provided reward destination is not allowed.
|
|
1788
|
+
**/
|
|
1789
|
+
RewardDestinationRestricted: AugmentedError<ApiType>;
|
|
1790
|
+
/**
|
|
1791
|
+
* There are too many nominators in the system. Governance needs to adjust the staking
|
|
1792
|
+
* settings to keep things safe for the runtime.
|
|
1793
|
+
**/
|
|
1794
|
+
TooManyNominators: AugmentedError<ApiType>;
|
|
1795
|
+
/**
|
|
1796
|
+
* Too many nomination targets supplied.
|
|
1797
|
+
**/
|
|
1798
|
+
TooManyTargets: AugmentedError<ApiType>;
|
|
1799
|
+
/**
|
|
1800
|
+
* There are too many validator candidates in the system. Governance needs to adjust the
|
|
1801
|
+
* staking settings to keep things safe for the runtime.
|
|
1802
|
+
**/
|
|
1803
|
+
TooManyValidators: AugmentedError<ApiType>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Operation not allowed for virtual stakers.
|
|
1806
|
+
**/
|
|
1807
|
+
VirtualStakerNotAllowed: AugmentedError<ApiType>;
|
|
1808
|
+
/**
|
|
1809
|
+
* Generic error
|
|
1810
|
+
**/
|
|
1811
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1812
|
+
};
|
|
1813
|
+
stakingAhClient: {
|
|
1814
|
+
/**
|
|
1815
|
+
* Could not process incoming message because incoming messages are blocked.
|
|
1816
|
+
**/
|
|
1817
|
+
Blocked: AugmentedError<ApiType>;
|
|
1818
|
+
/**
|
|
1819
|
+
* Generic error
|
|
1820
|
+
**/
|
|
1821
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1822
|
+
};
|
|
1823
|
+
stateTrieMigration: {
|
|
1824
|
+
/**
|
|
1825
|
+
* Bad child root provided.
|
|
1826
|
+
**/
|
|
1827
|
+
BadChildRoot: AugmentedError<ApiType>;
|
|
1828
|
+
/**
|
|
1829
|
+
* Bad witness data provided.
|
|
1830
|
+
**/
|
|
1831
|
+
BadWitness: AugmentedError<ApiType>;
|
|
1832
|
+
/**
|
|
1833
|
+
* A key was longer than the configured maximum.
|
|
1834
|
+
*
|
|
1835
|
+
* This means that the migration halted at the current [`Progress`] and
|
|
1836
|
+
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
1837
|
+
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
1838
|
+
* The value should only be increased to avoid a storage migration for the currently
|
|
1839
|
+
* stored [`crate::Progress::LastKey`].
|
|
1840
|
+
**/
|
|
1841
|
+
KeyTooLong: AugmentedError<ApiType>;
|
|
1842
|
+
/**
|
|
1843
|
+
* Max signed limits not respected.
|
|
1844
|
+
**/
|
|
1845
|
+
MaxSignedLimits: AugmentedError<ApiType>;
|
|
1846
|
+
/**
|
|
1847
|
+
* submitter does not have enough funds.
|
|
1848
|
+
**/
|
|
1849
|
+
NotEnoughFunds: AugmentedError<ApiType>;
|
|
1850
|
+
/**
|
|
1851
|
+
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1852
|
+
**/
|
|
1853
|
+
SignedMigrationNotAllowed: AugmentedError<ApiType>;
|
|
1854
|
+
/**
|
|
1855
|
+
* Generic error
|
|
1856
|
+
**/
|
|
1857
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1858
|
+
};
|
|
1859
|
+
system: {
|
|
1860
|
+
/**
|
|
1861
|
+
* The origin filter prevent the call to be dispatched.
|
|
1862
|
+
**/
|
|
1863
|
+
CallFiltered: AugmentedError<ApiType>;
|
|
1864
|
+
/**
|
|
1865
|
+
* Failed to extract the runtime version from the new runtime.
|
|
1866
|
+
*
|
|
1867
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
1868
|
+
**/
|
|
1869
|
+
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
1870
|
+
/**
|
|
1871
|
+
* The name of specification does not match between the current runtime
|
|
1872
|
+
* and the new runtime.
|
|
1873
|
+
**/
|
|
1874
|
+
InvalidSpecName: AugmentedError<ApiType>;
|
|
1875
|
+
/**
|
|
1876
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
1877
|
+
**/
|
|
1878
|
+
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
|
1879
|
+
/**
|
|
1880
|
+
* Suicide called when the account has non-default composite data.
|
|
1881
|
+
**/
|
|
1882
|
+
NonDefaultComposite: AugmentedError<ApiType>;
|
|
1883
|
+
/**
|
|
1884
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
1885
|
+
**/
|
|
1886
|
+
NonZeroRefCount: AugmentedError<ApiType>;
|
|
1887
|
+
/**
|
|
1888
|
+
* No upgrade authorized.
|
|
1889
|
+
**/
|
|
1890
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
1891
|
+
/**
|
|
1892
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
1893
|
+
* and the new runtime.
|
|
1894
|
+
**/
|
|
1895
|
+
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
1896
|
+
/**
|
|
1897
|
+
* The submitted code is not authorized.
|
|
1898
|
+
**/
|
|
1899
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
1900
|
+
/**
|
|
1901
|
+
* Generic error
|
|
1902
|
+
**/
|
|
1903
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1904
|
+
};
|
|
1905
|
+
treasury: {
|
|
1906
|
+
/**
|
|
1907
|
+
* The payment has already been attempted.
|
|
1908
|
+
**/
|
|
1909
|
+
AlreadyAttempted: AugmentedError<ApiType>;
|
|
1910
|
+
/**
|
|
1911
|
+
* The spend is not yet eligible for payout.
|
|
1912
|
+
**/
|
|
1913
|
+
EarlyPayout: AugmentedError<ApiType>;
|
|
1914
|
+
/**
|
|
1915
|
+
* The balance of the asset kind is not convertible to the balance of the native asset.
|
|
1916
|
+
**/
|
|
1917
|
+
FailedToConvertBalance: AugmentedError<ApiType>;
|
|
1918
|
+
/**
|
|
1919
|
+
* The payment has neither failed nor succeeded yet.
|
|
1920
|
+
**/
|
|
1921
|
+
Inconclusive: AugmentedError<ApiType>;
|
|
1922
|
+
/**
|
|
1923
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
1924
|
+
* amount to be spent.
|
|
1925
|
+
**/
|
|
1926
|
+
InsufficientPermission: AugmentedError<ApiType>;
|
|
1927
|
+
/**
|
|
1928
|
+
* No proposal, bounty or spend at that index.
|
|
1929
|
+
**/
|
|
1930
|
+
InvalidIndex: AugmentedError<ApiType>;
|
|
1931
|
+
/**
|
|
1932
|
+
* The payout was not yet attempted/claimed.
|
|
1933
|
+
**/
|
|
1934
|
+
NotAttempted: AugmentedError<ApiType>;
|
|
1935
|
+
/**
|
|
1936
|
+
* There was some issue with the mechanism of payment.
|
|
1937
|
+
**/
|
|
1938
|
+
PayoutError: AugmentedError<ApiType>;
|
|
1939
|
+
/**
|
|
1940
|
+
* Proposal has not been approved.
|
|
1941
|
+
**/
|
|
1942
|
+
ProposalNotApproved: AugmentedError<ApiType>;
|
|
1943
|
+
/**
|
|
1944
|
+
* The spend has expired and cannot be claimed.
|
|
1945
|
+
**/
|
|
1946
|
+
SpendExpired: AugmentedError<ApiType>;
|
|
1947
|
+
/**
|
|
1948
|
+
* Too many approvals in the queue.
|
|
1949
|
+
**/
|
|
1950
|
+
TooManyApprovals: AugmentedError<ApiType>;
|
|
1951
|
+
/**
|
|
1952
|
+
* Generic error
|
|
1953
|
+
**/
|
|
1954
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1955
|
+
};
|
|
1956
|
+
utility: {
|
|
1957
|
+
/**
|
|
1958
|
+
* Too many calls batched.
|
|
1959
|
+
**/
|
|
1960
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Generic error
|
|
1963
|
+
**/
|
|
1964
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1965
|
+
};
|
|
1966
|
+
vesting: {
|
|
1967
|
+
/**
|
|
1968
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
1969
|
+
**/
|
|
1970
|
+
AmountLow: AugmentedError<ApiType>;
|
|
1971
|
+
/**
|
|
1972
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
1973
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
1974
|
+
**/
|
|
1975
|
+
AtMaxVestingSchedules: AugmentedError<ApiType>;
|
|
1976
|
+
/**
|
|
1977
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
1978
|
+
**/
|
|
1979
|
+
InvalidScheduleParams: AugmentedError<ApiType>;
|
|
1980
|
+
/**
|
|
1981
|
+
* The account given is not vesting.
|
|
1982
|
+
**/
|
|
1983
|
+
NotVesting: AugmentedError<ApiType>;
|
|
1984
|
+
/**
|
|
1985
|
+
* An index was out of bounds of the vesting schedules.
|
|
1986
|
+
**/
|
|
1987
|
+
ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1988
|
+
/**
|
|
1989
|
+
* Generic error
|
|
1990
|
+
**/
|
|
1991
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1992
|
+
};
|
|
1993
|
+
voterList: {
|
|
1994
|
+
/**
|
|
1995
|
+
* A error in the list interface implementation.
|
|
1996
|
+
**/
|
|
1997
|
+
List: AugmentedError<ApiType>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Could not update a node, because the pallet is locked.
|
|
2000
|
+
**/
|
|
2001
|
+
Locked: AugmentedError<ApiType>;
|
|
2002
|
+
/**
|
|
2003
|
+
* Generic error
|
|
2004
|
+
**/
|
|
2005
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2006
|
+
};
|
|
2007
|
+
whitelist: {
|
|
2008
|
+
/**
|
|
2009
|
+
* The call was already whitelisted; No-Op.
|
|
2010
|
+
**/
|
|
2011
|
+
CallAlreadyWhitelisted: AugmentedError<ApiType>;
|
|
2012
|
+
/**
|
|
2013
|
+
* The call was not whitelisted.
|
|
2014
|
+
**/
|
|
2015
|
+
CallIsNotWhitelisted: AugmentedError<ApiType>;
|
|
2016
|
+
/**
|
|
2017
|
+
* The weight of the decoded call was higher than the witness.
|
|
2018
|
+
**/
|
|
2019
|
+
InvalidCallWeightWitness: AugmentedError<ApiType>;
|
|
2020
|
+
/**
|
|
2021
|
+
* The preimage of the call hash could not be loaded.
|
|
2022
|
+
**/
|
|
2023
|
+
UnavailablePreImage: AugmentedError<ApiType>;
|
|
2024
|
+
/**
|
|
2025
|
+
* The call could not be decoded.
|
|
2026
|
+
**/
|
|
2027
|
+
UndecodableCall: AugmentedError<ApiType>;
|
|
2028
|
+
/**
|
|
2029
|
+
* Generic error
|
|
2030
|
+
**/
|
|
2031
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2032
|
+
};
|
|
2033
|
+
xcmPallet: {
|
|
2034
|
+
/**
|
|
2035
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
2036
|
+
**/
|
|
2037
|
+
AccountNotSovereign: AugmentedError<ApiType>;
|
|
2038
|
+
/**
|
|
2039
|
+
* The alias to remove authorization for was not found.
|
|
2040
|
+
**/
|
|
2041
|
+
AliasNotFound: AugmentedError<ApiType>;
|
|
2042
|
+
/**
|
|
2043
|
+
* The location is invalid since it already has a subscription from us.
|
|
2044
|
+
**/
|
|
2045
|
+
AlreadySubscribed: AugmentedError<ApiType>;
|
|
2046
|
+
/**
|
|
2047
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
2048
|
+
* desired version of XCM).
|
|
2049
|
+
**/
|
|
2050
|
+
BadLocation: AugmentedError<ApiType>;
|
|
2051
|
+
/**
|
|
2052
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
2053
|
+
**/
|
|
2054
|
+
BadVersion: AugmentedError<ApiType>;
|
|
2055
|
+
/**
|
|
2056
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
2057
|
+
**/
|
|
2058
|
+
CannotCheckOutTeleport: AugmentedError<ApiType>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
2061
|
+
**/
|
|
2062
|
+
CannotReanchor: AugmentedError<ApiType>;
|
|
2063
|
+
/**
|
|
2064
|
+
* The destination `Location` provided cannot be inverted.
|
|
2065
|
+
**/
|
|
2066
|
+
DestinationNotInvertible: AugmentedError<ApiType>;
|
|
2067
|
+
/**
|
|
2068
|
+
* The assets to be sent are empty.
|
|
2069
|
+
**/
|
|
2070
|
+
Empty: AugmentedError<ApiType>;
|
|
2071
|
+
/**
|
|
2072
|
+
* Expiry block number is in the past.
|
|
2073
|
+
**/
|
|
2074
|
+
ExpiresInPast: AugmentedError<ApiType>;
|
|
2075
|
+
/**
|
|
2076
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
2077
|
+
**/
|
|
2078
|
+
FeesNotMet: AugmentedError<ApiType>;
|
|
2079
|
+
/**
|
|
2080
|
+
* The message execution fails the filter.
|
|
2081
|
+
**/
|
|
2082
|
+
Filtered: AugmentedError<ApiType>;
|
|
2083
|
+
/**
|
|
2084
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
2085
|
+
**/
|
|
2086
|
+
InUse: AugmentedError<ApiType>;
|
|
2087
|
+
/**
|
|
2088
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
2089
|
+
**/
|
|
2090
|
+
InvalidAssetUnknownReserve: AugmentedError<ApiType>;
|
|
2091
|
+
/**
|
|
2092
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
2093
|
+
**/
|
|
2094
|
+
InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Origin is invalid for sending.
|
|
2097
|
+
**/
|
|
2098
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
2099
|
+
/**
|
|
2100
|
+
* Local XCM execution incomplete.
|
|
2101
|
+
**/
|
|
2102
|
+
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
2103
|
+
/**
|
|
2104
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2105
|
+
* instruction that caused the error.
|
|
2106
|
+
**/
|
|
2107
|
+
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
|
|
2108
|
+
/**
|
|
2109
|
+
* A remote lock with the corresponding data could not be found.
|
|
2110
|
+
**/
|
|
2111
|
+
LockNotFound: AugmentedError<ApiType>;
|
|
2112
|
+
/**
|
|
2113
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
2114
|
+
**/
|
|
2115
|
+
LowBalance: AugmentedError<ApiType>;
|
|
2116
|
+
/**
|
|
2117
|
+
* The referenced subscription could not be found.
|
|
2118
|
+
**/
|
|
2119
|
+
NoSubscription: AugmentedError<ApiType>;
|
|
2120
|
+
/**
|
|
2121
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
2122
|
+
* Perhaps a lack of space for buffering the message.
|
|
2123
|
+
**/
|
|
2124
|
+
SendFailure: AugmentedError<ApiType>;
|
|
2125
|
+
/**
|
|
2126
|
+
* Too many assets have been attempted for transfer.
|
|
2127
|
+
**/
|
|
2128
|
+
TooManyAssets: AugmentedError<ApiType>;
|
|
2129
|
+
/**
|
|
2130
|
+
* Too many locations authorized to alias origin.
|
|
2131
|
+
**/
|
|
2132
|
+
TooManyAuthorizedAliases: AugmentedError<ApiType>;
|
|
2133
|
+
/**
|
|
2134
|
+
* The asset owner has too many locks on the asset.
|
|
2135
|
+
**/
|
|
2136
|
+
TooManyLocks: AugmentedError<ApiType>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
2139
|
+
**/
|
|
2140
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
2141
|
+
/**
|
|
2142
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
2143
|
+
* to it.
|
|
2144
|
+
**/
|
|
2145
|
+
Unreachable: AugmentedError<ApiType>;
|
|
2146
|
+
/**
|
|
2147
|
+
* The message's weight could not be determined.
|
|
2148
|
+
**/
|
|
2149
|
+
UnweighableMessage: AugmentedError<ApiType>;
|
|
2150
|
+
/**
|
|
2151
|
+
* Generic error
|
|
2152
|
+
**/
|
|
2153
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2154
|
+
};
|
|
2155
|
+
} // AugmentedErrors
|
|
2156
|
+
} // declare module
|