@polkadot/api-augment 15.10.2 → 16.0.1
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/assetHubKusama/consts.d.ts +583 -0
- package/assetHubKusama/consts.js +2 -0
- package/assetHubKusama/errors.d.ts +1228 -0
- package/assetHubKusama/errors.js +2 -0
- package/assetHubKusama/events.d.ts +2076 -0
- package/assetHubKusama/events.js +2 -0
- package/assetHubKusama/index.d.ts +8 -0
- package/assetHubKusama/index.js +8 -0
- package/assetHubKusama/query.d.ts +1016 -0
- package/assetHubKusama/query.js +2 -0
- package/assetHubKusama/registry.d.ts +1 -0
- package/assetHubKusama/registry.js +1 -0
- package/assetHubKusama/runtime.d.ts +408 -0
- package/assetHubKusama/runtime.js +2 -0
- package/assetHubKusama/tx.d.ts +5812 -0
- package/assetHubKusama/tx.js +2 -0
- package/assetHubPolkadot/consts.js +2 -0
- package/assetHubPolkadot/errors.js +2 -0
- package/assetHubPolkadot/events.js +2 -0
- package/assetHubPolkadot/index.js +8 -0
- package/assetHubPolkadot/query.js +2 -0
- package/assetHubPolkadot/registry.js +1 -0
- package/assetHubPolkadot/runtime.js +2 -0
- package/assetHubPolkadot/tx.js +2 -0
- package/cjs/assetHubKusama/consts.d.ts +583 -0
- package/cjs/assetHubKusama/consts.js +4 -0
- package/cjs/assetHubKusama/errors.d.ts +1228 -0
- package/cjs/assetHubKusama/errors.js +4 -0
- package/cjs/assetHubKusama/events.d.ts +2076 -0
- package/cjs/assetHubKusama/events.js +4 -0
- package/cjs/assetHubKusama/index.d.ts +8 -0
- package/cjs/assetHubKusama/index.js +10 -0
- package/cjs/assetHubKusama/query.d.ts +1016 -0
- package/cjs/assetHubKusama/query.js +4 -0
- package/cjs/assetHubKusama/registry.d.ts +1 -0
- package/cjs/assetHubKusama/registry.js +3 -0
- package/cjs/assetHubKusama/runtime.d.ts +408 -0
- package/cjs/assetHubKusama/runtime.js +4 -0
- package/cjs/assetHubKusama/tx.d.ts +5812 -0
- package/cjs/assetHubKusama/tx.js +4 -0
- package/cjs/assetHubPolkadot/consts.js +4 -0
- package/cjs/assetHubPolkadot/errors.js +4 -0
- package/cjs/assetHubPolkadot/events.js +4 -0
- package/cjs/assetHubPolkadot/index.js +10 -0
- package/cjs/assetHubPolkadot/query.js +4 -0
- package/cjs/assetHubPolkadot/registry.js +3 -0
- package/cjs/assetHubPolkadot/runtime.js +4 -0
- package/cjs/assetHubPolkadot/tx.js +4 -0
- package/cjs/packageInfo.js +1 -1
- package/package.json +159 -7
- package/packageInfo.js +1 -1
|
@@ -0,0 +1,1228 @@
|
|
|
1
|
+
import '@polkadot/api-base/types/errors';
|
|
2
|
+
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
+
export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
4
|
+
declare module '@polkadot/api-base/types/errors' {
|
|
5
|
+
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
6
|
+
assetConversion: {
|
|
7
|
+
/**
|
|
8
|
+
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
9
|
+
* minimal amount.
|
|
10
|
+
**/
|
|
11
|
+
AmountOneLessThanMinimal: AugmentedError<ApiType>;
|
|
12
|
+
/**
|
|
13
|
+
* Desired amount can't be equal to the pool reserve.
|
|
14
|
+
**/
|
|
15
|
+
AmountOutTooHigh: AugmentedError<ApiType>;
|
|
16
|
+
/**
|
|
17
|
+
* Provided amount should be greater than or equal to the existential deposit/asset's
|
|
18
|
+
* minimal amount.
|
|
19
|
+
**/
|
|
20
|
+
AmountTwoLessThanMinimal: AugmentedError<ApiType>;
|
|
21
|
+
/**
|
|
22
|
+
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
23
|
+
**/
|
|
24
|
+
AssetOneDepositDidNotMeetMinimum: AugmentedError<ApiType>;
|
|
25
|
+
/**
|
|
26
|
+
* The minimal amount requirement for the first token in the pair wasn't met.
|
|
27
|
+
**/
|
|
28
|
+
AssetOneWithdrawalDidNotMeetMinimum: AugmentedError<ApiType>;
|
|
29
|
+
/**
|
|
30
|
+
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
31
|
+
**/
|
|
32
|
+
AssetTwoDepositDidNotMeetMinimum: AugmentedError<ApiType>;
|
|
33
|
+
/**
|
|
34
|
+
* The minimal amount requirement for the second token in the pair wasn't met.
|
|
35
|
+
**/
|
|
36
|
+
AssetTwoWithdrawalDidNotMeetMinimum: AugmentedError<ApiType>;
|
|
37
|
+
/**
|
|
38
|
+
* The destination account cannot exist with the swapped funds.
|
|
39
|
+
**/
|
|
40
|
+
BelowMinimum: AugmentedError<ApiType>;
|
|
41
|
+
/**
|
|
42
|
+
* It was not possible to get or increment the Id of the pool.
|
|
43
|
+
**/
|
|
44
|
+
IncorrectPoolAssetId: AugmentedError<ApiType>;
|
|
45
|
+
/**
|
|
46
|
+
* Insufficient liquidity minted.
|
|
47
|
+
**/
|
|
48
|
+
InsufficientLiquidityMinted: AugmentedError<ApiType>;
|
|
49
|
+
/**
|
|
50
|
+
* Provided asset pair is not supported for pool.
|
|
51
|
+
**/
|
|
52
|
+
InvalidAssetPair: AugmentedError<ApiType>;
|
|
53
|
+
/**
|
|
54
|
+
* The provided path must consists of 2 assets at least.
|
|
55
|
+
**/
|
|
56
|
+
InvalidPath: AugmentedError<ApiType>;
|
|
57
|
+
/**
|
|
58
|
+
* The provided path must consists of unique assets.
|
|
59
|
+
**/
|
|
60
|
+
NonUniquePath: AugmentedError<ApiType>;
|
|
61
|
+
/**
|
|
62
|
+
* Optimal calculated amount is less than desired.
|
|
63
|
+
**/
|
|
64
|
+
OptimalAmountLessThanDesired: AugmentedError<ApiType>;
|
|
65
|
+
/**
|
|
66
|
+
* An overflow happened.
|
|
67
|
+
**/
|
|
68
|
+
Overflow: AugmentedError<ApiType>;
|
|
69
|
+
/**
|
|
70
|
+
* Pool already exists.
|
|
71
|
+
**/
|
|
72
|
+
PoolExists: AugmentedError<ApiType>;
|
|
73
|
+
/**
|
|
74
|
+
* The pool doesn't exist.
|
|
75
|
+
**/
|
|
76
|
+
PoolNotFound: AugmentedError<ApiType>;
|
|
77
|
+
/**
|
|
78
|
+
* Provided maximum amount is not sufficient for swap.
|
|
79
|
+
**/
|
|
80
|
+
ProvidedMaximumNotSufficientForSwap: AugmentedError<ApiType>;
|
|
81
|
+
/**
|
|
82
|
+
* Calculated amount out is less than provided minimum amount.
|
|
83
|
+
**/
|
|
84
|
+
ProvidedMinimumNotSufficientForSwap: AugmentedError<ApiType>;
|
|
85
|
+
/**
|
|
86
|
+
* Reserve needs to always be greater than or equal to the existential deposit/asset's
|
|
87
|
+
* minimal amount.
|
|
88
|
+
**/
|
|
89
|
+
ReserveLeftLessThanMinimal: AugmentedError<ApiType>;
|
|
90
|
+
/**
|
|
91
|
+
* Desired amount can't be zero.
|
|
92
|
+
**/
|
|
93
|
+
WrongDesiredAmount: AugmentedError<ApiType>;
|
|
94
|
+
/**
|
|
95
|
+
* Amount can't be zero.
|
|
96
|
+
**/
|
|
97
|
+
ZeroAmount: AugmentedError<ApiType>;
|
|
98
|
+
/**
|
|
99
|
+
* Requested liquidity can't be zero.
|
|
100
|
+
**/
|
|
101
|
+
ZeroLiquidity: AugmentedError<ApiType>;
|
|
102
|
+
/**
|
|
103
|
+
* Generic error
|
|
104
|
+
**/
|
|
105
|
+
[key: string]: AugmentedError<ApiType>;
|
|
106
|
+
};
|
|
107
|
+
assets: {
|
|
108
|
+
/**
|
|
109
|
+
* The asset-account already exists.
|
|
110
|
+
**/
|
|
111
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
112
|
+
/**
|
|
113
|
+
* The asset is not live, and likely being destroyed.
|
|
114
|
+
**/
|
|
115
|
+
AssetNotLive: AugmentedError<ApiType>;
|
|
116
|
+
/**
|
|
117
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
118
|
+
**/
|
|
119
|
+
BadAssetId: AugmentedError<ApiType>;
|
|
120
|
+
/**
|
|
121
|
+
* Invalid metadata given.
|
|
122
|
+
**/
|
|
123
|
+
BadMetadata: AugmentedError<ApiType>;
|
|
124
|
+
/**
|
|
125
|
+
* Invalid witness data given.
|
|
126
|
+
**/
|
|
127
|
+
BadWitness: AugmentedError<ApiType>;
|
|
128
|
+
/**
|
|
129
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
130
|
+
**/
|
|
131
|
+
BalanceLow: AugmentedError<ApiType>;
|
|
132
|
+
/**
|
|
133
|
+
* Callback action resulted in error
|
|
134
|
+
**/
|
|
135
|
+
CallbackFailed: AugmentedError<ApiType>;
|
|
136
|
+
/**
|
|
137
|
+
* The origin account is frozen.
|
|
138
|
+
**/
|
|
139
|
+
Frozen: AugmentedError<ApiType>;
|
|
140
|
+
/**
|
|
141
|
+
* The asset status is not the expected status.
|
|
142
|
+
**/
|
|
143
|
+
IncorrectStatus: AugmentedError<ApiType>;
|
|
144
|
+
/**
|
|
145
|
+
* The asset ID is already taken.
|
|
146
|
+
**/
|
|
147
|
+
InUse: AugmentedError<ApiType>;
|
|
148
|
+
/**
|
|
149
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
150
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
151
|
+
**/
|
|
152
|
+
LiveAsset: AugmentedError<ApiType>;
|
|
153
|
+
/**
|
|
154
|
+
* Minimum balance should be non-zero.
|
|
155
|
+
**/
|
|
156
|
+
MinBalanceZero: AugmentedError<ApiType>;
|
|
157
|
+
/**
|
|
158
|
+
* The account to alter does not exist.
|
|
159
|
+
**/
|
|
160
|
+
NoAccount: AugmentedError<ApiType>;
|
|
161
|
+
/**
|
|
162
|
+
* The asset-account doesn't have an associated deposit.
|
|
163
|
+
**/
|
|
164
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
165
|
+
/**
|
|
166
|
+
* The signing account has no permission to do the operation.
|
|
167
|
+
**/
|
|
168
|
+
NoPermission: AugmentedError<ApiType>;
|
|
169
|
+
/**
|
|
170
|
+
* The asset should be frozen before the given operation.
|
|
171
|
+
**/
|
|
172
|
+
NotFrozen: AugmentedError<ApiType>;
|
|
173
|
+
/**
|
|
174
|
+
* No approval exists that would allow the transfer.
|
|
175
|
+
**/
|
|
176
|
+
Unapproved: AugmentedError<ApiType>;
|
|
177
|
+
/**
|
|
178
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
179
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
180
|
+
* fewer then the maximum number of consumers has been reached.
|
|
181
|
+
**/
|
|
182
|
+
UnavailableConsumer: AugmentedError<ApiType>;
|
|
183
|
+
/**
|
|
184
|
+
* The given asset ID is unknown.
|
|
185
|
+
**/
|
|
186
|
+
Unknown: AugmentedError<ApiType>;
|
|
187
|
+
/**
|
|
188
|
+
* The operation would result in funds being burned.
|
|
189
|
+
**/
|
|
190
|
+
WouldBurn: AugmentedError<ApiType>;
|
|
191
|
+
/**
|
|
192
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
193
|
+
**/
|
|
194
|
+
WouldDie: AugmentedError<ApiType>;
|
|
195
|
+
/**
|
|
196
|
+
* Generic error
|
|
197
|
+
**/
|
|
198
|
+
[key: string]: AugmentedError<ApiType>;
|
|
199
|
+
};
|
|
200
|
+
balances: {
|
|
201
|
+
/**
|
|
202
|
+
* Beneficiary account must pre-exist.
|
|
203
|
+
**/
|
|
204
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
205
|
+
/**
|
|
206
|
+
* The delta cannot be zero.
|
|
207
|
+
**/
|
|
208
|
+
DeltaZero: AugmentedError<ApiType>;
|
|
209
|
+
/**
|
|
210
|
+
* Value too low to create account due to existential deposit.
|
|
211
|
+
**/
|
|
212
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
213
|
+
/**
|
|
214
|
+
* A vesting schedule already exists for this account.
|
|
215
|
+
**/
|
|
216
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
217
|
+
/**
|
|
218
|
+
* Transfer/payment would kill account.
|
|
219
|
+
**/
|
|
220
|
+
Expendability: AugmentedError<ApiType>;
|
|
221
|
+
/**
|
|
222
|
+
* Balance too low to send value.
|
|
223
|
+
**/
|
|
224
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
225
|
+
/**
|
|
226
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
227
|
+
**/
|
|
228
|
+
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
229
|
+
/**
|
|
230
|
+
* Account liquidity restrictions prevent withdrawal.
|
|
231
|
+
**/
|
|
232
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
233
|
+
/**
|
|
234
|
+
* Number of freezes exceed `MaxFreezes`.
|
|
235
|
+
**/
|
|
236
|
+
TooManyFreezes: AugmentedError<ApiType>;
|
|
237
|
+
/**
|
|
238
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
239
|
+
**/
|
|
240
|
+
TooManyHolds: AugmentedError<ApiType>;
|
|
241
|
+
/**
|
|
242
|
+
* Number of named reserves exceed `MaxReserves`.
|
|
243
|
+
**/
|
|
244
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
245
|
+
/**
|
|
246
|
+
* Vesting balance too high to send value.
|
|
247
|
+
**/
|
|
248
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
249
|
+
/**
|
|
250
|
+
* Generic error
|
|
251
|
+
**/
|
|
252
|
+
[key: string]: AugmentedError<ApiType>;
|
|
253
|
+
};
|
|
254
|
+
collatorSelection: {
|
|
255
|
+
/**
|
|
256
|
+
* Account is already a candidate.
|
|
257
|
+
**/
|
|
258
|
+
AlreadyCandidate: AugmentedError<ApiType>;
|
|
259
|
+
/**
|
|
260
|
+
* Account is already an Invulnerable.
|
|
261
|
+
**/
|
|
262
|
+
AlreadyInvulnerable: AugmentedError<ApiType>;
|
|
263
|
+
/**
|
|
264
|
+
* New deposit amount would be below the minimum candidacy bond.
|
|
265
|
+
**/
|
|
266
|
+
DepositTooLow: AugmentedError<ApiType>;
|
|
267
|
+
/**
|
|
268
|
+
* The updated deposit amount is equal to the amount already reserved.
|
|
269
|
+
**/
|
|
270
|
+
IdenticalDeposit: AugmentedError<ApiType>;
|
|
271
|
+
/**
|
|
272
|
+
* Could not insert in the candidate list.
|
|
273
|
+
**/
|
|
274
|
+
InsertToCandidateListFailed: AugmentedError<ApiType>;
|
|
275
|
+
/**
|
|
276
|
+
* Deposit amount is too low to take the target's slot in the candidate list.
|
|
277
|
+
**/
|
|
278
|
+
InsufficientBond: AugmentedError<ApiType>;
|
|
279
|
+
/**
|
|
280
|
+
* Cannot lower candidacy bond while occupying a future collator slot in the list.
|
|
281
|
+
**/
|
|
282
|
+
InvalidUnreserve: AugmentedError<ApiType>;
|
|
283
|
+
/**
|
|
284
|
+
* Account has no associated validator ID.
|
|
285
|
+
**/
|
|
286
|
+
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
287
|
+
/**
|
|
288
|
+
* Account is not a candidate.
|
|
289
|
+
**/
|
|
290
|
+
NotCandidate: AugmentedError<ApiType>;
|
|
291
|
+
/**
|
|
292
|
+
* Account is not an Invulnerable.
|
|
293
|
+
**/
|
|
294
|
+
NotInvulnerable: AugmentedError<ApiType>;
|
|
295
|
+
/**
|
|
296
|
+
* Could not remove from the candidate list.
|
|
297
|
+
**/
|
|
298
|
+
RemoveFromCandidateListFailed: AugmentedError<ApiType>;
|
|
299
|
+
/**
|
|
300
|
+
* The target account to be replaced in the candidate list is not a candidate.
|
|
301
|
+
**/
|
|
302
|
+
TargetIsNotCandidate: AugmentedError<ApiType>;
|
|
303
|
+
/**
|
|
304
|
+
* Leaving would result in too few candidates.
|
|
305
|
+
**/
|
|
306
|
+
TooFewEligibleCollators: AugmentedError<ApiType>;
|
|
307
|
+
/**
|
|
308
|
+
* The pallet has too many candidates.
|
|
309
|
+
**/
|
|
310
|
+
TooManyCandidates: AugmentedError<ApiType>;
|
|
311
|
+
/**
|
|
312
|
+
* There are too many Invulnerables.
|
|
313
|
+
**/
|
|
314
|
+
TooManyInvulnerables: AugmentedError<ApiType>;
|
|
315
|
+
/**
|
|
316
|
+
* Could not update the candidate list.
|
|
317
|
+
**/
|
|
318
|
+
UpdateCandidateListFailed: AugmentedError<ApiType>;
|
|
319
|
+
/**
|
|
320
|
+
* Validator ID is not yet registered.
|
|
321
|
+
**/
|
|
322
|
+
ValidatorNotRegistered: AugmentedError<ApiType>;
|
|
323
|
+
/**
|
|
324
|
+
* Generic error
|
|
325
|
+
**/
|
|
326
|
+
[key: string]: AugmentedError<ApiType>;
|
|
327
|
+
};
|
|
328
|
+
foreignAssets: {
|
|
329
|
+
/**
|
|
330
|
+
* The asset-account already exists.
|
|
331
|
+
**/
|
|
332
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
333
|
+
/**
|
|
334
|
+
* The asset is not live, and likely being destroyed.
|
|
335
|
+
**/
|
|
336
|
+
AssetNotLive: AugmentedError<ApiType>;
|
|
337
|
+
/**
|
|
338
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
339
|
+
**/
|
|
340
|
+
BadAssetId: AugmentedError<ApiType>;
|
|
341
|
+
/**
|
|
342
|
+
* Invalid metadata given.
|
|
343
|
+
**/
|
|
344
|
+
BadMetadata: AugmentedError<ApiType>;
|
|
345
|
+
/**
|
|
346
|
+
* Invalid witness data given.
|
|
347
|
+
**/
|
|
348
|
+
BadWitness: AugmentedError<ApiType>;
|
|
349
|
+
/**
|
|
350
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
351
|
+
**/
|
|
352
|
+
BalanceLow: AugmentedError<ApiType>;
|
|
353
|
+
/**
|
|
354
|
+
* Callback action resulted in error
|
|
355
|
+
**/
|
|
356
|
+
CallbackFailed: AugmentedError<ApiType>;
|
|
357
|
+
/**
|
|
358
|
+
* The origin account is frozen.
|
|
359
|
+
**/
|
|
360
|
+
Frozen: AugmentedError<ApiType>;
|
|
361
|
+
/**
|
|
362
|
+
* The asset status is not the expected status.
|
|
363
|
+
**/
|
|
364
|
+
IncorrectStatus: AugmentedError<ApiType>;
|
|
365
|
+
/**
|
|
366
|
+
* The asset ID is already taken.
|
|
367
|
+
**/
|
|
368
|
+
InUse: AugmentedError<ApiType>;
|
|
369
|
+
/**
|
|
370
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
371
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
372
|
+
**/
|
|
373
|
+
LiveAsset: AugmentedError<ApiType>;
|
|
374
|
+
/**
|
|
375
|
+
* Minimum balance should be non-zero.
|
|
376
|
+
**/
|
|
377
|
+
MinBalanceZero: AugmentedError<ApiType>;
|
|
378
|
+
/**
|
|
379
|
+
* The account to alter does not exist.
|
|
380
|
+
**/
|
|
381
|
+
NoAccount: AugmentedError<ApiType>;
|
|
382
|
+
/**
|
|
383
|
+
* The asset-account doesn't have an associated deposit.
|
|
384
|
+
**/
|
|
385
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
386
|
+
/**
|
|
387
|
+
* The signing account has no permission to do the operation.
|
|
388
|
+
**/
|
|
389
|
+
NoPermission: AugmentedError<ApiType>;
|
|
390
|
+
/**
|
|
391
|
+
* The asset should be frozen before the given operation.
|
|
392
|
+
**/
|
|
393
|
+
NotFrozen: AugmentedError<ApiType>;
|
|
394
|
+
/**
|
|
395
|
+
* No approval exists that would allow the transfer.
|
|
396
|
+
**/
|
|
397
|
+
Unapproved: AugmentedError<ApiType>;
|
|
398
|
+
/**
|
|
399
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
400
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
401
|
+
* fewer then the maximum number of consumers has been reached.
|
|
402
|
+
**/
|
|
403
|
+
UnavailableConsumer: AugmentedError<ApiType>;
|
|
404
|
+
/**
|
|
405
|
+
* The given asset ID is unknown.
|
|
406
|
+
**/
|
|
407
|
+
Unknown: AugmentedError<ApiType>;
|
|
408
|
+
/**
|
|
409
|
+
* The operation would result in funds being burned.
|
|
410
|
+
**/
|
|
411
|
+
WouldBurn: AugmentedError<ApiType>;
|
|
412
|
+
/**
|
|
413
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
414
|
+
**/
|
|
415
|
+
WouldDie: AugmentedError<ApiType>;
|
|
416
|
+
/**
|
|
417
|
+
* Generic error
|
|
418
|
+
**/
|
|
419
|
+
[key: string]: AugmentedError<ApiType>;
|
|
420
|
+
};
|
|
421
|
+
messageQueue: {
|
|
422
|
+
/**
|
|
423
|
+
* The message was already processed and cannot be processed again.
|
|
424
|
+
**/
|
|
425
|
+
AlreadyProcessed: AugmentedError<ApiType>;
|
|
426
|
+
/**
|
|
427
|
+
* There is temporarily not enough weight to continue servicing messages.
|
|
428
|
+
**/
|
|
429
|
+
InsufficientWeight: AugmentedError<ApiType>;
|
|
430
|
+
/**
|
|
431
|
+
* The referenced message could not be found.
|
|
432
|
+
**/
|
|
433
|
+
NoMessage: AugmentedError<ApiType>;
|
|
434
|
+
/**
|
|
435
|
+
* Page to be reaped does not exist.
|
|
436
|
+
**/
|
|
437
|
+
NoPage: AugmentedError<ApiType>;
|
|
438
|
+
/**
|
|
439
|
+
* Page is not reapable because it has items remaining to be processed and is not old
|
|
440
|
+
* enough.
|
|
441
|
+
**/
|
|
442
|
+
NotReapable: AugmentedError<ApiType>;
|
|
443
|
+
/**
|
|
444
|
+
* The message is queued for future execution.
|
|
445
|
+
**/
|
|
446
|
+
Queued: AugmentedError<ApiType>;
|
|
447
|
+
/**
|
|
448
|
+
* The queue is paused and no message can be executed from it.
|
|
449
|
+
*
|
|
450
|
+
* This can change at any time and may resolve in the future by re-trying.
|
|
451
|
+
**/
|
|
452
|
+
QueuePaused: AugmentedError<ApiType>;
|
|
453
|
+
/**
|
|
454
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
455
|
+
**/
|
|
456
|
+
RecursiveDisallowed: AugmentedError<ApiType>;
|
|
457
|
+
/**
|
|
458
|
+
* This message is temporarily unprocessable.
|
|
459
|
+
*
|
|
460
|
+
* Such errors are expected, but not guaranteed, to resolve themselves eventually through
|
|
461
|
+
* retrying.
|
|
462
|
+
**/
|
|
463
|
+
TemporarilyUnprocessable: AugmentedError<ApiType>;
|
|
464
|
+
/**
|
|
465
|
+
* Generic error
|
|
466
|
+
**/
|
|
467
|
+
[key: string]: AugmentedError<ApiType>;
|
|
468
|
+
};
|
|
469
|
+
multisig: {
|
|
470
|
+
/**
|
|
471
|
+
* Call is already approved by this signatory.
|
|
472
|
+
**/
|
|
473
|
+
AlreadyApproved: AugmentedError<ApiType>;
|
|
474
|
+
/**
|
|
475
|
+
* The data to be stored is already stored.
|
|
476
|
+
**/
|
|
477
|
+
AlreadyStored: AugmentedError<ApiType>;
|
|
478
|
+
/**
|
|
479
|
+
* The maximum weight information provided was too low.
|
|
480
|
+
**/
|
|
481
|
+
MaxWeightTooLow: AugmentedError<ApiType>;
|
|
482
|
+
/**
|
|
483
|
+
* Threshold must be 2 or greater.
|
|
484
|
+
**/
|
|
485
|
+
MinimumThreshold: AugmentedError<ApiType>;
|
|
486
|
+
/**
|
|
487
|
+
* Call doesn't need any (more) approvals.
|
|
488
|
+
**/
|
|
489
|
+
NoApprovalsNeeded: AugmentedError<ApiType>;
|
|
490
|
+
/**
|
|
491
|
+
* Multisig operation not found when attempting to cancel.
|
|
492
|
+
**/
|
|
493
|
+
NotFound: AugmentedError<ApiType>;
|
|
494
|
+
/**
|
|
495
|
+
* No timepoint was given, yet the multisig operation is already underway.
|
|
496
|
+
**/
|
|
497
|
+
NoTimepoint: AugmentedError<ApiType>;
|
|
498
|
+
/**
|
|
499
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
500
|
+
**/
|
|
501
|
+
NotOwner: AugmentedError<ApiType>;
|
|
502
|
+
/**
|
|
503
|
+
* The sender was contained in the other signatories; it shouldn't be.
|
|
504
|
+
**/
|
|
505
|
+
SenderInSignatories: AugmentedError<ApiType>;
|
|
506
|
+
/**
|
|
507
|
+
* The signatories were provided out of order; they should be ordered.
|
|
508
|
+
**/
|
|
509
|
+
SignatoriesOutOfOrder: AugmentedError<ApiType>;
|
|
510
|
+
/**
|
|
511
|
+
* There are too few signatories in the list.
|
|
512
|
+
**/
|
|
513
|
+
TooFewSignatories: AugmentedError<ApiType>;
|
|
514
|
+
/**
|
|
515
|
+
* There are too many signatories in the list.
|
|
516
|
+
**/
|
|
517
|
+
TooManySignatories: AugmentedError<ApiType>;
|
|
518
|
+
/**
|
|
519
|
+
* A timepoint was given, yet no multisig operation is underway.
|
|
520
|
+
**/
|
|
521
|
+
UnexpectedTimepoint: AugmentedError<ApiType>;
|
|
522
|
+
/**
|
|
523
|
+
* A different timepoint was given to the multisig operation that is underway.
|
|
524
|
+
**/
|
|
525
|
+
WrongTimepoint: AugmentedError<ApiType>;
|
|
526
|
+
/**
|
|
527
|
+
* Generic error
|
|
528
|
+
**/
|
|
529
|
+
[key: string]: AugmentedError<ApiType>;
|
|
530
|
+
};
|
|
531
|
+
nftFractionalization: {
|
|
532
|
+
/**
|
|
533
|
+
* Asset ID does not correspond to locked NFT.
|
|
534
|
+
**/
|
|
535
|
+
IncorrectAssetId: AugmentedError<ApiType>;
|
|
536
|
+
/**
|
|
537
|
+
* NFT doesn't exist.
|
|
538
|
+
**/
|
|
539
|
+
NftNotFound: AugmentedError<ApiType>;
|
|
540
|
+
/**
|
|
541
|
+
* NFT has not yet been fractionalised.
|
|
542
|
+
**/
|
|
543
|
+
NftNotFractionalized: AugmentedError<ApiType>;
|
|
544
|
+
/**
|
|
545
|
+
* The signing account has no permission to do the operation.
|
|
546
|
+
**/
|
|
547
|
+
NoPermission: AugmentedError<ApiType>;
|
|
548
|
+
/**
|
|
549
|
+
* Generic error
|
|
550
|
+
**/
|
|
551
|
+
[key: string]: AugmentedError<ApiType>;
|
|
552
|
+
};
|
|
553
|
+
nfts: {
|
|
554
|
+
/**
|
|
555
|
+
* The provided Item was already used for claiming.
|
|
556
|
+
**/
|
|
557
|
+
AlreadyClaimed: AugmentedError<ApiType>;
|
|
558
|
+
/**
|
|
559
|
+
* The item ID has already been used for an item.
|
|
560
|
+
**/
|
|
561
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
562
|
+
/**
|
|
563
|
+
* The approval had a deadline that expired, so the approval isn't valid anymore.
|
|
564
|
+
**/
|
|
565
|
+
ApprovalExpired: AugmentedError<ApiType>;
|
|
566
|
+
/**
|
|
567
|
+
* The provided attribute can't be found.
|
|
568
|
+
**/
|
|
569
|
+
AttributeNotFound: AugmentedError<ApiType>;
|
|
570
|
+
/**
|
|
571
|
+
* The witness data given does not match the current state of the chain.
|
|
572
|
+
**/
|
|
573
|
+
BadWitness: AugmentedError<ApiType>;
|
|
574
|
+
/**
|
|
575
|
+
* The provided bid is too low.
|
|
576
|
+
**/
|
|
577
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
578
|
+
/**
|
|
579
|
+
* Collection ID is already taken.
|
|
580
|
+
**/
|
|
581
|
+
CollectionIdInUse: AugmentedError<ApiType>;
|
|
582
|
+
/**
|
|
583
|
+
* Can't delete non-empty collections.
|
|
584
|
+
**/
|
|
585
|
+
CollectionNotEmpty: AugmentedError<ApiType>;
|
|
586
|
+
/**
|
|
587
|
+
* The deadline has already expired.
|
|
588
|
+
**/
|
|
589
|
+
DeadlineExpired: AugmentedError<ApiType>;
|
|
590
|
+
/**
|
|
591
|
+
* Item's config already exists and should be equal to the provided one.
|
|
592
|
+
**/
|
|
593
|
+
InconsistentItemConfig: AugmentedError<ApiType>;
|
|
594
|
+
/**
|
|
595
|
+
* The provided data is incorrect.
|
|
596
|
+
**/
|
|
597
|
+
IncorrectData: AugmentedError<ApiType>;
|
|
598
|
+
/**
|
|
599
|
+
* The provided metadata might be too long.
|
|
600
|
+
**/
|
|
601
|
+
IncorrectMetadata: AugmentedError<ApiType>;
|
|
602
|
+
/**
|
|
603
|
+
* The item is locked (non-transferable).
|
|
604
|
+
**/
|
|
605
|
+
ItemLocked: AugmentedError<ApiType>;
|
|
606
|
+
/**
|
|
607
|
+
* Items within that collection are non-transferable.
|
|
608
|
+
**/
|
|
609
|
+
ItemsNonTransferable: AugmentedError<ApiType>;
|
|
610
|
+
/**
|
|
611
|
+
* Collection's attributes are locked.
|
|
612
|
+
**/
|
|
613
|
+
LockedCollectionAttributes: AugmentedError<ApiType>;
|
|
614
|
+
/**
|
|
615
|
+
* Collection's metadata is locked.
|
|
616
|
+
**/
|
|
617
|
+
LockedCollectionMetadata: AugmentedError<ApiType>;
|
|
618
|
+
/**
|
|
619
|
+
* Item's attributes are locked.
|
|
620
|
+
**/
|
|
621
|
+
LockedItemAttributes: AugmentedError<ApiType>;
|
|
622
|
+
/**
|
|
623
|
+
* Item's metadata is locked.
|
|
624
|
+
**/
|
|
625
|
+
LockedItemMetadata: AugmentedError<ApiType>;
|
|
626
|
+
/**
|
|
627
|
+
* Can't set more attributes per one call.
|
|
628
|
+
**/
|
|
629
|
+
MaxAttributesLimitReached: AugmentedError<ApiType>;
|
|
630
|
+
/**
|
|
631
|
+
* The max supply is locked and can't be changed.
|
|
632
|
+
**/
|
|
633
|
+
MaxSupplyLocked: AugmentedError<ApiType>;
|
|
634
|
+
/**
|
|
635
|
+
* All items have been minted.
|
|
636
|
+
**/
|
|
637
|
+
MaxSupplyReached: AugmentedError<ApiType>;
|
|
638
|
+
/**
|
|
639
|
+
* The provided max supply is less than the number of items a collection already has.
|
|
640
|
+
**/
|
|
641
|
+
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
|
642
|
+
/**
|
|
643
|
+
* The given item has no metadata set.
|
|
644
|
+
**/
|
|
645
|
+
MetadataNotFound: AugmentedError<ApiType>;
|
|
646
|
+
/**
|
|
647
|
+
* The method is disabled by system settings.
|
|
648
|
+
**/
|
|
649
|
+
MethodDisabled: AugmentedError<ApiType>;
|
|
650
|
+
/**
|
|
651
|
+
* Mint has already ended.
|
|
652
|
+
**/
|
|
653
|
+
MintEnded: AugmentedError<ApiType>;
|
|
654
|
+
/**
|
|
655
|
+
* Mint has not started yet.
|
|
656
|
+
**/
|
|
657
|
+
MintNotStarted: AugmentedError<ApiType>;
|
|
658
|
+
/**
|
|
659
|
+
* Config for a collection or an item can't be found.
|
|
660
|
+
**/
|
|
661
|
+
NoConfig: AugmentedError<ApiType>;
|
|
662
|
+
/**
|
|
663
|
+
* The signing account has no permission to do the operation.
|
|
664
|
+
**/
|
|
665
|
+
NoPermission: AugmentedError<ApiType>;
|
|
666
|
+
/**
|
|
667
|
+
* The provided account is not a delegate.
|
|
668
|
+
**/
|
|
669
|
+
NotDelegate: AugmentedError<ApiType>;
|
|
670
|
+
/**
|
|
671
|
+
* Item is not for sale.
|
|
672
|
+
**/
|
|
673
|
+
NotForSale: AugmentedError<ApiType>;
|
|
674
|
+
/**
|
|
675
|
+
* The item has reached its approval limit.
|
|
676
|
+
**/
|
|
677
|
+
ReachedApprovalLimit: AugmentedError<ApiType>;
|
|
678
|
+
/**
|
|
679
|
+
* Some roles were not cleared.
|
|
680
|
+
**/
|
|
681
|
+
RolesNotCleared: AugmentedError<ApiType>;
|
|
682
|
+
/**
|
|
683
|
+
* The named owner has not signed ownership acceptance of the collection.
|
|
684
|
+
**/
|
|
685
|
+
Unaccepted: AugmentedError<ApiType>;
|
|
686
|
+
/**
|
|
687
|
+
* No approval exists that would allow the transfer.
|
|
688
|
+
**/
|
|
689
|
+
Unapproved: AugmentedError<ApiType>;
|
|
690
|
+
/**
|
|
691
|
+
* The given item ID is unknown.
|
|
692
|
+
**/
|
|
693
|
+
UnknownCollection: AugmentedError<ApiType>;
|
|
694
|
+
/**
|
|
695
|
+
* The given item ID is unknown.
|
|
696
|
+
**/
|
|
697
|
+
UnknownItem: AugmentedError<ApiType>;
|
|
698
|
+
/**
|
|
699
|
+
* Swap doesn't exist.
|
|
700
|
+
**/
|
|
701
|
+
UnknownSwap: AugmentedError<ApiType>;
|
|
702
|
+
/**
|
|
703
|
+
* The witness data should be provided.
|
|
704
|
+
**/
|
|
705
|
+
WitnessRequired: AugmentedError<ApiType>;
|
|
706
|
+
/**
|
|
707
|
+
* The delegate turned out to be different to what was expected.
|
|
708
|
+
**/
|
|
709
|
+
WrongDelegate: AugmentedError<ApiType>;
|
|
710
|
+
/**
|
|
711
|
+
* The duration provided should be less than or equal to `MaxDeadlineDuration`.
|
|
712
|
+
**/
|
|
713
|
+
WrongDuration: AugmentedError<ApiType>;
|
|
714
|
+
/**
|
|
715
|
+
* The provided namespace isn't supported in this call.
|
|
716
|
+
**/
|
|
717
|
+
WrongNamespace: AugmentedError<ApiType>;
|
|
718
|
+
/**
|
|
719
|
+
* The extrinsic was sent by the wrong origin.
|
|
720
|
+
**/
|
|
721
|
+
WrongOrigin: AugmentedError<ApiType>;
|
|
722
|
+
/**
|
|
723
|
+
* The owner turned out to be different to what was expected.
|
|
724
|
+
**/
|
|
725
|
+
WrongOwner: AugmentedError<ApiType>;
|
|
726
|
+
/**
|
|
727
|
+
* The provided setting can't be set.
|
|
728
|
+
**/
|
|
729
|
+
WrongSetting: AugmentedError<ApiType>;
|
|
730
|
+
/**
|
|
731
|
+
* The provided signature is incorrect.
|
|
732
|
+
**/
|
|
733
|
+
WrongSignature: AugmentedError<ApiType>;
|
|
734
|
+
/**
|
|
735
|
+
* Generic error
|
|
736
|
+
**/
|
|
737
|
+
[key: string]: AugmentedError<ApiType>;
|
|
738
|
+
};
|
|
739
|
+
parachainSystem: {
|
|
740
|
+
/**
|
|
741
|
+
* The inherent which supplies the host configuration did not run this block.
|
|
742
|
+
**/
|
|
743
|
+
HostConfigurationNotAvailable: AugmentedError<ApiType>;
|
|
744
|
+
/**
|
|
745
|
+
* No code upgrade has been authorized.
|
|
746
|
+
**/
|
|
747
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
748
|
+
/**
|
|
749
|
+
* No validation function upgrade is currently scheduled.
|
|
750
|
+
**/
|
|
751
|
+
NotScheduled: AugmentedError<ApiType>;
|
|
752
|
+
/**
|
|
753
|
+
* Attempt to upgrade validation function while existing upgrade pending.
|
|
754
|
+
**/
|
|
755
|
+
OverlappingUpgrades: AugmentedError<ApiType>;
|
|
756
|
+
/**
|
|
757
|
+
* Polkadot currently prohibits this parachain from upgrading its validation function.
|
|
758
|
+
**/
|
|
759
|
+
ProhibitedByPolkadot: AugmentedError<ApiType>;
|
|
760
|
+
/**
|
|
761
|
+
* The supplied validation function has compiled into a blob larger than Polkadot is
|
|
762
|
+
* willing to run.
|
|
763
|
+
**/
|
|
764
|
+
TooBig: AugmentedError<ApiType>;
|
|
765
|
+
/**
|
|
766
|
+
* The given code upgrade has not been authorized.
|
|
767
|
+
**/
|
|
768
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
769
|
+
/**
|
|
770
|
+
* The inherent which supplies the validation data did not run this block.
|
|
771
|
+
**/
|
|
772
|
+
ValidationDataNotAvailable: AugmentedError<ApiType>;
|
|
773
|
+
/**
|
|
774
|
+
* Generic error
|
|
775
|
+
**/
|
|
776
|
+
[key: string]: AugmentedError<ApiType>;
|
|
777
|
+
};
|
|
778
|
+
polkadotXcm: {
|
|
779
|
+
/**
|
|
780
|
+
* The given account is not an identifiable sovereign account for any location.
|
|
781
|
+
**/
|
|
782
|
+
AccountNotSovereign: AugmentedError<ApiType>;
|
|
783
|
+
/**
|
|
784
|
+
* The location is invalid since it already has a subscription from us.
|
|
785
|
+
**/
|
|
786
|
+
AlreadySubscribed: AugmentedError<ApiType>;
|
|
787
|
+
/**
|
|
788
|
+
* The given location could not be used (e.g. because it cannot be expressed in the
|
|
789
|
+
* desired version of XCM).
|
|
790
|
+
**/
|
|
791
|
+
BadLocation: AugmentedError<ApiType>;
|
|
792
|
+
/**
|
|
793
|
+
* The version of the `Versioned` value used is not able to be interpreted.
|
|
794
|
+
**/
|
|
795
|
+
BadVersion: AugmentedError<ApiType>;
|
|
796
|
+
/**
|
|
797
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
798
|
+
**/
|
|
799
|
+
CannotCheckOutTeleport: AugmentedError<ApiType>;
|
|
800
|
+
/**
|
|
801
|
+
* Could not re-anchor the assets to declare the fees for the destination chain.
|
|
802
|
+
**/
|
|
803
|
+
CannotReanchor: AugmentedError<ApiType>;
|
|
804
|
+
/**
|
|
805
|
+
* The destination `Location` provided cannot be inverted.
|
|
806
|
+
**/
|
|
807
|
+
DestinationNotInvertible: AugmentedError<ApiType>;
|
|
808
|
+
/**
|
|
809
|
+
* The assets to be sent are empty.
|
|
810
|
+
**/
|
|
811
|
+
Empty: AugmentedError<ApiType>;
|
|
812
|
+
/**
|
|
813
|
+
* The operation required fees to be paid which the initiator could not meet.
|
|
814
|
+
**/
|
|
815
|
+
FeesNotMet: AugmentedError<ApiType>;
|
|
816
|
+
/**
|
|
817
|
+
* The message execution fails the filter.
|
|
818
|
+
**/
|
|
819
|
+
Filtered: AugmentedError<ApiType>;
|
|
820
|
+
/**
|
|
821
|
+
* The unlock operation cannot succeed because there are still consumers of the lock.
|
|
822
|
+
**/
|
|
823
|
+
InUse: AugmentedError<ApiType>;
|
|
824
|
+
/**
|
|
825
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
826
|
+
**/
|
|
827
|
+
InvalidAssetUnknownReserve: AugmentedError<ApiType>;
|
|
828
|
+
/**
|
|
829
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
830
|
+
**/
|
|
831
|
+
InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
|
|
832
|
+
/**
|
|
833
|
+
* Origin is invalid for sending.
|
|
834
|
+
**/
|
|
835
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
836
|
+
/**
|
|
837
|
+
* Local XCM execution incomplete.
|
|
838
|
+
**/
|
|
839
|
+
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
840
|
+
/**
|
|
841
|
+
* A remote lock with the corresponding data could not be found.
|
|
842
|
+
**/
|
|
843
|
+
LockNotFound: AugmentedError<ApiType>;
|
|
844
|
+
/**
|
|
845
|
+
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
846
|
+
**/
|
|
847
|
+
LowBalance: AugmentedError<ApiType>;
|
|
848
|
+
/**
|
|
849
|
+
* The referenced subscription could not be found.
|
|
850
|
+
**/
|
|
851
|
+
NoSubscription: AugmentedError<ApiType>;
|
|
852
|
+
/**
|
|
853
|
+
* There was some other issue (i.e. not to do with routing) in sending the message.
|
|
854
|
+
* Perhaps a lack of space for buffering the message.
|
|
855
|
+
**/
|
|
856
|
+
SendFailure: AugmentedError<ApiType>;
|
|
857
|
+
/**
|
|
858
|
+
* Too many assets have been attempted for transfer.
|
|
859
|
+
**/
|
|
860
|
+
TooManyAssets: AugmentedError<ApiType>;
|
|
861
|
+
/**
|
|
862
|
+
* The asset owner has too many locks on the asset.
|
|
863
|
+
**/
|
|
864
|
+
TooManyLocks: AugmentedError<ApiType>;
|
|
865
|
+
/**
|
|
866
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
867
|
+
**/
|
|
868
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
869
|
+
/**
|
|
870
|
+
* The desired destination was unreachable, generally because there is a no way of routing
|
|
871
|
+
* to it.
|
|
872
|
+
**/
|
|
873
|
+
Unreachable: AugmentedError<ApiType>;
|
|
874
|
+
/**
|
|
875
|
+
* The message's weight could not be determined.
|
|
876
|
+
**/
|
|
877
|
+
UnweighableMessage: AugmentedError<ApiType>;
|
|
878
|
+
/**
|
|
879
|
+
* Generic error
|
|
880
|
+
**/
|
|
881
|
+
[key: string]: AugmentedError<ApiType>;
|
|
882
|
+
};
|
|
883
|
+
poolAssets: {
|
|
884
|
+
/**
|
|
885
|
+
* The asset-account already exists.
|
|
886
|
+
**/
|
|
887
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
888
|
+
/**
|
|
889
|
+
* The asset is not live, and likely being destroyed.
|
|
890
|
+
**/
|
|
891
|
+
AssetNotLive: AugmentedError<ApiType>;
|
|
892
|
+
/**
|
|
893
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
894
|
+
**/
|
|
895
|
+
BadAssetId: AugmentedError<ApiType>;
|
|
896
|
+
/**
|
|
897
|
+
* Invalid metadata given.
|
|
898
|
+
**/
|
|
899
|
+
BadMetadata: AugmentedError<ApiType>;
|
|
900
|
+
/**
|
|
901
|
+
* Invalid witness data given.
|
|
902
|
+
**/
|
|
903
|
+
BadWitness: AugmentedError<ApiType>;
|
|
904
|
+
/**
|
|
905
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
906
|
+
**/
|
|
907
|
+
BalanceLow: AugmentedError<ApiType>;
|
|
908
|
+
/**
|
|
909
|
+
* Callback action resulted in error
|
|
910
|
+
**/
|
|
911
|
+
CallbackFailed: AugmentedError<ApiType>;
|
|
912
|
+
/**
|
|
913
|
+
* The origin account is frozen.
|
|
914
|
+
**/
|
|
915
|
+
Frozen: AugmentedError<ApiType>;
|
|
916
|
+
/**
|
|
917
|
+
* The asset status is not the expected status.
|
|
918
|
+
**/
|
|
919
|
+
IncorrectStatus: AugmentedError<ApiType>;
|
|
920
|
+
/**
|
|
921
|
+
* The asset ID is already taken.
|
|
922
|
+
**/
|
|
923
|
+
InUse: AugmentedError<ApiType>;
|
|
924
|
+
/**
|
|
925
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
926
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
927
|
+
**/
|
|
928
|
+
LiveAsset: AugmentedError<ApiType>;
|
|
929
|
+
/**
|
|
930
|
+
* Minimum balance should be non-zero.
|
|
931
|
+
**/
|
|
932
|
+
MinBalanceZero: AugmentedError<ApiType>;
|
|
933
|
+
/**
|
|
934
|
+
* The account to alter does not exist.
|
|
935
|
+
**/
|
|
936
|
+
NoAccount: AugmentedError<ApiType>;
|
|
937
|
+
/**
|
|
938
|
+
* The asset-account doesn't have an associated deposit.
|
|
939
|
+
**/
|
|
940
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
941
|
+
/**
|
|
942
|
+
* The signing account has no permission to do the operation.
|
|
943
|
+
**/
|
|
944
|
+
NoPermission: AugmentedError<ApiType>;
|
|
945
|
+
/**
|
|
946
|
+
* The asset should be frozen before the given operation.
|
|
947
|
+
**/
|
|
948
|
+
NotFrozen: AugmentedError<ApiType>;
|
|
949
|
+
/**
|
|
950
|
+
* No approval exists that would allow the transfer.
|
|
951
|
+
**/
|
|
952
|
+
Unapproved: AugmentedError<ApiType>;
|
|
953
|
+
/**
|
|
954
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
955
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
956
|
+
* fewer then the maximum number of consumers has been reached.
|
|
957
|
+
**/
|
|
958
|
+
UnavailableConsumer: AugmentedError<ApiType>;
|
|
959
|
+
/**
|
|
960
|
+
* The given asset ID is unknown.
|
|
961
|
+
**/
|
|
962
|
+
Unknown: AugmentedError<ApiType>;
|
|
963
|
+
/**
|
|
964
|
+
* The operation would result in funds being burned.
|
|
965
|
+
**/
|
|
966
|
+
WouldBurn: AugmentedError<ApiType>;
|
|
967
|
+
/**
|
|
968
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
969
|
+
**/
|
|
970
|
+
WouldDie: AugmentedError<ApiType>;
|
|
971
|
+
/**
|
|
972
|
+
* Generic error
|
|
973
|
+
**/
|
|
974
|
+
[key: string]: AugmentedError<ApiType>;
|
|
975
|
+
};
|
|
976
|
+
proxy: {
|
|
977
|
+
/**
|
|
978
|
+
* Account is already a proxy.
|
|
979
|
+
**/
|
|
980
|
+
Duplicate: AugmentedError<ApiType>;
|
|
981
|
+
/**
|
|
982
|
+
* Call may not be made by proxy because it may escalate its privileges.
|
|
983
|
+
**/
|
|
984
|
+
NoPermission: AugmentedError<ApiType>;
|
|
985
|
+
/**
|
|
986
|
+
* Cannot add self as proxy.
|
|
987
|
+
**/
|
|
988
|
+
NoSelfProxy: AugmentedError<ApiType>;
|
|
989
|
+
/**
|
|
990
|
+
* Proxy registration not found.
|
|
991
|
+
**/
|
|
992
|
+
NotFound: AugmentedError<ApiType>;
|
|
993
|
+
/**
|
|
994
|
+
* Sender is not a proxy of the account to be proxied.
|
|
995
|
+
**/
|
|
996
|
+
NotProxy: AugmentedError<ApiType>;
|
|
997
|
+
/**
|
|
998
|
+
* There are too many proxies registered or too many announcements pending.
|
|
999
|
+
**/
|
|
1000
|
+
TooMany: AugmentedError<ApiType>;
|
|
1001
|
+
/**
|
|
1002
|
+
* Announcement, if made at all, was made too recently.
|
|
1003
|
+
**/
|
|
1004
|
+
Unannounced: AugmentedError<ApiType>;
|
|
1005
|
+
/**
|
|
1006
|
+
* A call which is incompatible with the proxy type's filter was attempted.
|
|
1007
|
+
**/
|
|
1008
|
+
Unproxyable: AugmentedError<ApiType>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Generic error
|
|
1011
|
+
**/
|
|
1012
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1013
|
+
};
|
|
1014
|
+
session: {
|
|
1015
|
+
/**
|
|
1016
|
+
* Registered duplicate key.
|
|
1017
|
+
**/
|
|
1018
|
+
DuplicatedKey: AugmentedError<ApiType>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Invalid ownership proof.
|
|
1021
|
+
**/
|
|
1022
|
+
InvalidProof: AugmentedError<ApiType>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Key setting account is not live, so it's impossible to associate keys.
|
|
1025
|
+
**/
|
|
1026
|
+
NoAccount: AugmentedError<ApiType>;
|
|
1027
|
+
/**
|
|
1028
|
+
* No associated validator ID for account.
|
|
1029
|
+
**/
|
|
1030
|
+
NoAssociatedValidatorId: AugmentedError<ApiType>;
|
|
1031
|
+
/**
|
|
1032
|
+
* No keys are associated with this account.
|
|
1033
|
+
**/
|
|
1034
|
+
NoKeys: AugmentedError<ApiType>;
|
|
1035
|
+
/**
|
|
1036
|
+
* Generic error
|
|
1037
|
+
**/
|
|
1038
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1039
|
+
};
|
|
1040
|
+
system: {
|
|
1041
|
+
/**
|
|
1042
|
+
* The origin filter prevent the call to be dispatched.
|
|
1043
|
+
**/
|
|
1044
|
+
CallFiltered: AugmentedError<ApiType>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Failed to extract the runtime version from the new runtime.
|
|
1047
|
+
*
|
|
1048
|
+
* Either calling `Core_version` or decoding `RuntimeVersion` failed.
|
|
1049
|
+
**/
|
|
1050
|
+
FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
|
|
1051
|
+
/**
|
|
1052
|
+
* The name of specification does not match between the current runtime
|
|
1053
|
+
* and the new runtime.
|
|
1054
|
+
**/
|
|
1055
|
+
InvalidSpecName: AugmentedError<ApiType>;
|
|
1056
|
+
/**
|
|
1057
|
+
* A multi-block migration is ongoing and prevents the current code from being replaced.
|
|
1058
|
+
**/
|
|
1059
|
+
MultiBlockMigrationsOngoing: AugmentedError<ApiType>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Suicide called when the account has non-default composite data.
|
|
1062
|
+
**/
|
|
1063
|
+
NonDefaultComposite: AugmentedError<ApiType>;
|
|
1064
|
+
/**
|
|
1065
|
+
* There is a non-zero reference count preventing the account from being purged.
|
|
1066
|
+
**/
|
|
1067
|
+
NonZeroRefCount: AugmentedError<ApiType>;
|
|
1068
|
+
/**
|
|
1069
|
+
* No upgrade authorized.
|
|
1070
|
+
**/
|
|
1071
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
1072
|
+
/**
|
|
1073
|
+
* The specification version is not allowed to decrease between the current runtime
|
|
1074
|
+
* and the new runtime.
|
|
1075
|
+
**/
|
|
1076
|
+
SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
|
|
1077
|
+
/**
|
|
1078
|
+
* The submitted code is not authorized.
|
|
1079
|
+
**/
|
|
1080
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Generic error
|
|
1083
|
+
**/
|
|
1084
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1085
|
+
};
|
|
1086
|
+
uniques: {
|
|
1087
|
+
/**
|
|
1088
|
+
* The item ID has already been used for an item.
|
|
1089
|
+
**/
|
|
1090
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Invalid witness data given.
|
|
1093
|
+
**/
|
|
1094
|
+
BadWitness: AugmentedError<ApiType>;
|
|
1095
|
+
/**
|
|
1096
|
+
* The provided bid is too low.
|
|
1097
|
+
**/
|
|
1098
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
1099
|
+
/**
|
|
1100
|
+
* The item or collection is frozen.
|
|
1101
|
+
**/
|
|
1102
|
+
Frozen: AugmentedError<ApiType>;
|
|
1103
|
+
/**
|
|
1104
|
+
* The item ID is already taken.
|
|
1105
|
+
**/
|
|
1106
|
+
InUse: AugmentedError<ApiType>;
|
|
1107
|
+
/**
|
|
1108
|
+
* The item is locked.
|
|
1109
|
+
**/
|
|
1110
|
+
Locked: AugmentedError<ApiType>;
|
|
1111
|
+
/**
|
|
1112
|
+
* The max supply has already been set.
|
|
1113
|
+
**/
|
|
1114
|
+
MaxSupplyAlreadySet: AugmentedError<ApiType>;
|
|
1115
|
+
/**
|
|
1116
|
+
* All items have been minted.
|
|
1117
|
+
**/
|
|
1118
|
+
MaxSupplyReached: AugmentedError<ApiType>;
|
|
1119
|
+
/**
|
|
1120
|
+
* The provided max supply is less to the amount of items a collection already has.
|
|
1121
|
+
**/
|
|
1122
|
+
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
|
1123
|
+
/**
|
|
1124
|
+
* There is no delegate approved.
|
|
1125
|
+
**/
|
|
1126
|
+
NoDelegate: AugmentedError<ApiType>;
|
|
1127
|
+
/**
|
|
1128
|
+
* The signing account has no permission to do the operation.
|
|
1129
|
+
**/
|
|
1130
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Item is not for sale.
|
|
1133
|
+
**/
|
|
1134
|
+
NotForSale: AugmentedError<ApiType>;
|
|
1135
|
+
/**
|
|
1136
|
+
* The named owner has not signed ownership of the collection is acceptable.
|
|
1137
|
+
**/
|
|
1138
|
+
Unaccepted: AugmentedError<ApiType>;
|
|
1139
|
+
/**
|
|
1140
|
+
* No approval exists that would allow the transfer.
|
|
1141
|
+
**/
|
|
1142
|
+
Unapproved: AugmentedError<ApiType>;
|
|
1143
|
+
/**
|
|
1144
|
+
* The given item ID is unknown.
|
|
1145
|
+
**/
|
|
1146
|
+
UnknownCollection: AugmentedError<ApiType>;
|
|
1147
|
+
/**
|
|
1148
|
+
* The given item ID is unknown.
|
|
1149
|
+
**/
|
|
1150
|
+
UnknownItem: AugmentedError<ApiType>;
|
|
1151
|
+
/**
|
|
1152
|
+
* The delegate turned out to be different to what was expected.
|
|
1153
|
+
**/
|
|
1154
|
+
WrongDelegate: AugmentedError<ApiType>;
|
|
1155
|
+
/**
|
|
1156
|
+
* The owner turned out to be different to what was expected.
|
|
1157
|
+
**/
|
|
1158
|
+
WrongOwner: AugmentedError<ApiType>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Generic error
|
|
1161
|
+
**/
|
|
1162
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1163
|
+
};
|
|
1164
|
+
utility: {
|
|
1165
|
+
/**
|
|
1166
|
+
* Too many calls batched.
|
|
1167
|
+
**/
|
|
1168
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Generic error
|
|
1171
|
+
**/
|
|
1172
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1173
|
+
};
|
|
1174
|
+
vesting: {
|
|
1175
|
+
/**
|
|
1176
|
+
* Amount being transferred is too low to create a vesting schedule.
|
|
1177
|
+
**/
|
|
1178
|
+
AmountLow: AugmentedError<ApiType>;
|
|
1179
|
+
/**
|
|
1180
|
+
* The account already has `MaxVestingSchedules` count of schedules and thus
|
|
1181
|
+
* cannot add another one. Consider merging existing schedules in order to add another.
|
|
1182
|
+
**/
|
|
1183
|
+
AtMaxVestingSchedules: AugmentedError<ApiType>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Failed to create a new schedule because some parameter was invalid.
|
|
1186
|
+
**/
|
|
1187
|
+
InvalidScheduleParams: AugmentedError<ApiType>;
|
|
1188
|
+
/**
|
|
1189
|
+
* The account given is not vesting.
|
|
1190
|
+
**/
|
|
1191
|
+
NotVesting: AugmentedError<ApiType>;
|
|
1192
|
+
/**
|
|
1193
|
+
* An index was out of bounds of the vesting schedules.
|
|
1194
|
+
**/
|
|
1195
|
+
ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1196
|
+
/**
|
|
1197
|
+
* Generic error
|
|
1198
|
+
**/
|
|
1199
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1200
|
+
};
|
|
1201
|
+
xcmpQueue: {
|
|
1202
|
+
/**
|
|
1203
|
+
* The execution is already resumed.
|
|
1204
|
+
**/
|
|
1205
|
+
AlreadyResumed: AugmentedError<ApiType>;
|
|
1206
|
+
/**
|
|
1207
|
+
* The execution is already suspended.
|
|
1208
|
+
**/
|
|
1209
|
+
AlreadySuspended: AugmentedError<ApiType>;
|
|
1210
|
+
/**
|
|
1211
|
+
* Setting the queue config failed since one of its values was invalid.
|
|
1212
|
+
**/
|
|
1213
|
+
BadQueueConfig: AugmentedError<ApiType>;
|
|
1214
|
+
/**
|
|
1215
|
+
* The message is too big.
|
|
1216
|
+
**/
|
|
1217
|
+
TooBig: AugmentedError<ApiType>;
|
|
1218
|
+
/**
|
|
1219
|
+
* There are too many active outbound channels.
|
|
1220
|
+
**/
|
|
1221
|
+
TooManyActiveOutboundChannels: AugmentedError<ApiType>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Generic error
|
|
1224
|
+
**/
|
|
1225
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1226
|
+
};
|
|
1227
|
+
}
|
|
1228
|
+
}
|