@paraspell/descriptors 14.0.0

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/dist/ahp.d.ts ADDED
@@ -0,0 +1,3428 @@
1
+ import { PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, FixedSizeArray } from "polkadot-api";
2
+ import type { Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, I9qs6t5j6q39a, Iedqm0jmes3b8c, Ias85rlb3o6s7q, Id0gqblkd1p3al, Ictdeqps0jf561, I5r8t4iaend96p, Ie2db4l6126rkt, Ictkqqlhdjt761, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, I4q39t5hn830vp, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, Iek7ha36da9mf5, I7qpv90droestd, I785ek4pgn6k35, Iae250dgeu7tp6, I68d4gbta4a6d1, If9iqq7i64mur8, I35p85j063s0il, I5vv5n03oo8gas } from "./common-types";
3
+ type AnonymousEnum<T extends {}> = T & {
4
+ __anonymous: true;
5
+ };
6
+ type MyTuple<T> = [T, ...T[]];
7
+ type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
8
+ type Anonymize<T> = SeparateUndefined<T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
9
+ [K in keyof T]: T[K];
10
+ } : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
11
+ [K in keyof T & string]: T[K];
12
+ }>;
13
+ type IStorage = {};
14
+ type ICalls = {
15
+ PolkadotXcm: {
16
+ /**
17
+
18
+ */
19
+ send: TxDescriptor<Anonymize<Ia5cotcvi888ln>>;
20
+ /**
21
+ * Teleport some assets from the local chain to some destination chain.
22
+ *
23
+ * **This function is deprecated: Use `limited_teleport_assets` instead.**
24
+ *
25
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
26
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
27
+ * with all fees taken as needed from the asset.
28
+ *
29
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
30
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
31
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
32
+ * relay to parachain.
33
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
34
+ * generally be an `AccountId32` value.
35
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
36
+ * fee on the `dest` chain.
37
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
38
+ * fees.
39
+ */
40
+ teleport_assets: TxDescriptor<Anonymize<I21jsa919m88fd>>;
41
+ /**
42
+ * Transfer some assets from the local chain to the destination chain through their local,
43
+ * destination or remote reserve.
44
+ *
45
+ * `assets` must have same reserve location and may not be teleportable to `dest`.
46
+ * - `assets` have local reserve: transfer assets to sovereign account of destination
47
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
48
+ * assets to `beneficiary`.
49
+ * - `assets` have destination reserve: burn local assets and forward a notification to
50
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
51
+ * deposit them to `beneficiary`.
52
+ * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
53
+ * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
54
+ * to mint and deposit reserve-based assets to `beneficiary`.
55
+ *
56
+ * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
57
+ *
58
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
59
+ * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
60
+ * with all fees taken as needed from the asset.
61
+ *
62
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
63
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
64
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
65
+ * relay to parachain.
66
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
67
+ * generally be an `AccountId32` value.
68
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
69
+ * fee on the `dest` (and possibly reserve) chains.
70
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
71
+ * fees.
72
+ */
73
+ reserve_transfer_assets: TxDescriptor<Anonymize<I21jsa919m88fd>>;
74
+ /**
75
+ * Execute an XCM message from a local, signed, origin.
76
+ *
77
+ * An event is deposited indicating whether `msg` could be executed completely or only
78
+ * partially.
79
+ *
80
+ * No more than `max_weight` will be used in its attempted execution. If this is less than
81
+ * the maximum amount of weight that the message could take to be executed, then no
82
+ * execution attempt will be made.
83
+ */
84
+ execute: TxDescriptor<Anonymize<Iegif7m3upfe1k>>;
85
+ /**
86
+ * Extoll that a particular destination can be communicated with through a particular
87
+ * version of XCM.
88
+ *
89
+ * - `origin`: Must be an origin specified by AdminOrigin.
90
+ * - `location`: The destination that is being described.
91
+ * - `xcm_version`: The latest version of XCM that `location` supports.
92
+ */
93
+ force_xcm_version: TxDescriptor<Anonymize<I9kt8c221c83ln>>;
94
+ /**
95
+ * Set a safe XCM version (the version that XCM should be encoded with if the most recent
96
+ * version a destination can accept is unknown).
97
+ *
98
+ * - `origin`: Must be an origin specified by AdminOrigin.
99
+ * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
100
+ */
101
+ force_default_xcm_version: TxDescriptor<Anonymize<Ic76kfh5ebqkpl>>;
102
+ /**
103
+ * Ask a location to notify us regarding their XCM version and any changes to it.
104
+ *
105
+ * - `origin`: Must be an origin specified by AdminOrigin.
106
+ * - `location`: The location to which we should subscribe for XCM version notifications.
107
+ */
108
+ force_subscribe_version_notify: TxDescriptor<Anonymize<Icscpmubum33bq>>;
109
+ /**
110
+ * Require that a particular destination should no longer notify us regarding any XCM
111
+ * version changes.
112
+ *
113
+ * - `origin`: Must be an origin specified by AdminOrigin.
114
+ * - `location`: The location to which we are currently subscribed for XCM version
115
+ * notifications which we no longer desire.
116
+ */
117
+ force_unsubscribe_version_notify: TxDescriptor<Anonymize<Icscpmubum33bq>>;
118
+ /**
119
+ * Transfer some assets from the local chain to the destination chain through their local,
120
+ * destination or remote reserve.
121
+ *
122
+ * `assets` must have same reserve location and may not be teleportable to `dest`.
123
+ * - `assets` have local reserve: transfer assets to sovereign account of destination
124
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
125
+ * assets to `beneficiary`.
126
+ * - `assets` have destination reserve: burn local assets and forward a notification to
127
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
128
+ * deposit them to `beneficiary`.
129
+ * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
130
+ * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
131
+ * to mint and deposit reserve-based assets to `beneficiary`.
132
+ *
133
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
134
+ * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
135
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
136
+ * at risk.
137
+ *
138
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
139
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
140
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
141
+ * relay to parachain.
142
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
143
+ * generally be an `AccountId32` value.
144
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
145
+ * fee on the `dest` (and possibly reserve) chains.
146
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
147
+ * fees.
148
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
149
+ */
150
+ limited_reserve_transfer_assets: TxDescriptor<Anonymize<I21d2olof7eb60>>;
151
+ /**
152
+ * Teleport some assets from the local chain to some destination chain.
153
+ *
154
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
155
+ * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
156
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
157
+ * at risk.
158
+ *
159
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
160
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
161
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
162
+ * relay to parachain.
163
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
164
+ * generally be an `AccountId32` value.
165
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
166
+ * fee on the `dest` chain.
167
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
168
+ * fees.
169
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
170
+ */
171
+ limited_teleport_assets: TxDescriptor<Anonymize<I21d2olof7eb60>>;
172
+ /**
173
+ * Set or unset the global suspension state of the XCM executor.
174
+ *
175
+ * - `origin`: Must be an origin specified by AdminOrigin.
176
+ * - `suspended`: `true` to suspend, `false` to resume.
177
+ */
178
+ force_suspension: TxDescriptor<Anonymize<Ibgm4rnf22lal1>>;
179
+ /**
180
+ * Transfer some assets from the local chain to the destination chain through their local,
181
+ * destination or remote reserve, or through teleports.
182
+ *
183
+ * Fee payment on the destination side is made from the asset in the `assets` vector of
184
+ * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for
185
+ * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the
186
+ * operation will fail and the sent assets may be at risk.
187
+ *
188
+ * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable
189
+ * to `dest`, no limitations imposed on `fees`.
190
+ * - for local reserve: transfer assets to sovereign account of destination chain and
191
+ * forward a notification XCM to `dest` to mint and deposit reserve-based assets to
192
+ * `beneficiary`.
193
+ * - for destination reserve: burn local assets and forward a notification to `dest` chain
194
+ * to withdraw the reserve assets from this chain's sovereign account and deposit them
195
+ * to `beneficiary`.
196
+ * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves
197
+ * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint
198
+ * and deposit reserve-based assets to `beneficiary`.
199
+ * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport
200
+ * assets and deposit them to `beneficiary`.
201
+ *
202
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
203
+ * - `dest`: Destination context for the assets. Will typically be `X2(Parent,
204
+ * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send
205
+ * from relay to parachain.
206
+ * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
207
+ * generally be an `AccountId32` value.
208
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
209
+ * fee on the `dest` (and possibly reserve) chains.
210
+ * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
211
+ * fees.
212
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
213
+ */
214
+ transfer_assets: TxDescriptor<Anonymize<I21d2olof7eb60>>;
215
+ /**
216
+ * Claims assets trapped on this pallet because of leftover assets during XCM execution.
217
+ *
218
+ * - `origin`: Anyone can call this extrinsic.
219
+ * - `assets`: The exact assets that were trapped. Use the version to specify what version
220
+ * was the latest when they were trapped.
221
+ * - `beneficiary`: The location/account where the claimed assets will be deposited.
222
+ */
223
+ claim_assets: TxDescriptor<Anonymize<Ie68np0vpihith>>;
224
+ /**
225
+ * Transfer assets from the local chain to the destination chain using explicit transfer
226
+ * types for assets and fees.
227
+ *
228
+ * `assets` must have same reserve location or may be teleportable to `dest`. Caller must
229
+ * provide the `assets_transfer_type` to be used for `assets`:
230
+ * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination
231
+ * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
232
+ * assets to `beneficiary`.
233
+ * - `TransferType::DestinationReserve`: burn local assets and forward a notification to
234
+ * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
235
+ * deposit them to `beneficiary`.
236
+ * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve`
237
+ * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another
238
+ * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically
239
+ * the remote `reserve` is Asset Hub.
240
+ * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to
241
+ * mint/teleport assets and deposit them to `beneficiary`.
242
+ *
243
+ * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to
244
+ * buy execution using transferred `assets` identified by `remote_fees_id`.
245
+ * Make sure enough of the specified `remote_fees_id` asset is included in the given list
246
+ * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight
247
+ * is needed than `weight_limit`, then the operation will fail and the sent assets may be
248
+ * at risk.
249
+ *
250
+ * `remote_fees_id` may use different transfer type than rest of `assets` and can be
251
+ * specified through `fees_transfer_type`.
252
+ *
253
+ * The caller needs to specify what should happen to the transferred assets once they reach
254
+ * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which
255
+ * contains the instructions to execute on `dest` as a final step.
256
+ * This is usually as simple as:
257
+ * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`,
258
+ * but could be something more exotic like sending the `assets` even further.
259
+ *
260
+ * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
261
+ * - `dest`: Destination context for the assets. Will typically be `[Parent,
262
+ * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
263
+ * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from
264
+ * parachain across a bridge to another ecosystem destination.
265
+ * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
266
+ * fee on the `dest` (and possibly reserve) chains.
267
+ * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
268
+ * - `remote_fees_id`: One of the included `assets` to be used to pay fees.
269
+ * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
270
+ * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
271
+ * transfer, which also determines what happens to the assets on the destination chain.
272
+ * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
273
+ */
274
+ transfer_assets_using_type_and_then: TxDescriptor<Anonymize<I9bnv6lu0crf1q>>;
275
+ /**
276
+ * Authorize another `aliaser` location to alias into the local `origin` making this call.
277
+ * The `aliaser` is only authorized until the provided `expiry` block number.
278
+ * The call can also be used for a previously authorized alias in order to update its
279
+ * `expiry` block number.
280
+ *
281
+ * Usually useful to allow your local account to be aliased into from a remote location
282
+ * also under your control (like your account on another chain).
283
+ *
284
+ * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
285
+ * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
286
+ * `origin` in XCM programs executed on the local chain.
287
+ */
288
+ add_authorized_alias: TxDescriptor<Anonymize<Iauhjqifrdklq7>>;
289
+ /**
290
+ * Remove a previously authorized `aliaser` from the list of locations that can alias into
291
+ * the local `origin` making this call.
292
+ */
293
+ remove_authorized_alias: TxDescriptor<Anonymize<Ie1uso9m8rt5cf>>;
294
+ /**
295
+ * Remove all previously authorized `aliaser`s that can alias into the local `origin`
296
+ * making this call.
297
+ */
298
+ remove_all_authorized_aliases: TxDescriptor<undefined>;
299
+ };
300
+ Utility: {
301
+ /**
302
+ * Send a batch of dispatch calls.
303
+ *
304
+ * May be called from any origin except `None`.
305
+ *
306
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
307
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
308
+ *
309
+ * If origin is root then the calls are dispatched without checking origin filter. (This
310
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
311
+ *
312
+ * ## Complexity
313
+ * - O(C) where C is the number of calls to be batched.
314
+ *
315
+ * This will return `Ok` in all circumstances. To determine the success of the batch, an
316
+ * event is deposited. If a call failed and the batch was interrupted, then the
317
+ * `BatchInterrupted` event is deposited, along with the number of successful calls made
318
+ * and the error of the failed call. If all were successful, then the `BatchCompleted`
319
+ * event is deposited.
320
+ */
321
+ batch: TxDescriptor<Anonymize<I9qs6t5j6q39a>>;
322
+ /**
323
+ * Send a call through an indexed pseudonym of the sender.
324
+ *
325
+ * Filter from origin are passed along. The call will be dispatched with an origin which
326
+ * use the same filter as the origin of this call.
327
+ *
328
+ * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
329
+ * because you expect `proxy` to have been used prior in the call stack and you do not want
330
+ * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
331
+ * in the Multisig pallet instead.
332
+ *
333
+ * NOTE: Prior to version *12, this was called `as_limited_sub`.
334
+ *
335
+ * The dispatch origin for this call must be _Signed_.
336
+ */
337
+ as_derivative: TxDescriptor<Anonymize<Iedqm0jmes3b8c>>;
338
+ /**
339
+ * Send a batch of dispatch calls and atomically execute them.
340
+ * The whole transaction will rollback and fail if any of the calls failed.
341
+ *
342
+ * May be called from any origin except `None`.
343
+ *
344
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
345
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
346
+ *
347
+ * If origin is root then the calls are dispatched without checking origin filter. (This
348
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
349
+ *
350
+ * ## Complexity
351
+ * - O(C) where C is the number of calls to be batched.
352
+ */
353
+ batch_all: TxDescriptor<Anonymize<I9qs6t5j6q39a>>;
354
+ /**
355
+ * Dispatches a function call with a provided origin.
356
+ *
357
+ * The dispatch origin for this call must be _Root_.
358
+ *
359
+ * ## Complexity
360
+ * - O(1).
361
+ */
362
+ dispatch_as: TxDescriptor<Anonymize<Ias85rlb3o6s7q>>;
363
+ /**
364
+ * Send a batch of dispatch calls.
365
+ * Unlike `batch`, it allows errors and won't interrupt.
366
+ *
367
+ * May be called from any origin except `None`.
368
+ *
369
+ * - `calls`: The calls to be dispatched from the same origin. The number of call must not
370
+ * exceed the constant: `batched_calls_limit` (available in constant metadata).
371
+ *
372
+ * If origin is root then the calls are dispatch without checking origin filter. (This
373
+ * includes bypassing `frame_system::Config::BaseCallFilter`).
374
+ *
375
+ * ## Complexity
376
+ * - O(C) where C is the number of calls to be batched.
377
+ */
378
+ force_batch: TxDescriptor<Anonymize<I9qs6t5j6q39a>>;
379
+ /**
380
+ * Dispatch a function call with a specified weight.
381
+ *
382
+ * This function does not check the weight of the call, and instead allows the
383
+ * Root origin to specify the weight of the call.
384
+ *
385
+ * The dispatch origin for this call must be _Root_.
386
+ */
387
+ with_weight: TxDescriptor<Anonymize<Id0gqblkd1p3al>>;
388
+ /**
389
+ * Dispatch a fallback call in the event the main call fails to execute.
390
+ * May be called from any origin except `None`.
391
+ *
392
+ * This function first attempts to dispatch the `main` call.
393
+ * If the `main` call fails, the `fallback` is attemted.
394
+ * if the fallback is successfully dispatched, the weights of both calls
395
+ * are accumulated and an event containing the main call error is deposited.
396
+ *
397
+ * In the event of a fallback failure the whole call fails
398
+ * with the weights returned.
399
+ *
400
+ * - `main`: The main call to be dispatched. This is the primary action to execute.
401
+ * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
402
+ *
403
+ * ## Dispatch Logic
404
+ * - If the origin is `root`, both the main and fallback calls are executed without
405
+ * applying any origin filters.
406
+ * - If the origin is not `root`, the origin filter is applied to both the `main` and
407
+ * `fallback` calls.
408
+ *
409
+ * ## Use Case
410
+ * - Some use cases might involve submitting a `batch` type call in either main, fallback
411
+ * or both.
412
+ */
413
+ if_else: TxDescriptor<Anonymize<Ictdeqps0jf561>>;
414
+ /**
415
+ * Dispatches a function call with a provided origin.
416
+ *
417
+ * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
418
+ *
419
+ * The dispatch origin for this call must be _Root_.
420
+ */
421
+ dispatch_as_fallible: TxDescriptor<Anonymize<Ias85rlb3o6s7q>>;
422
+ };
423
+ };
424
+ type IEvent = {};
425
+ type IError = {
426
+ System: {
427
+ /**
428
+ * The name of specification does not match between the current runtime
429
+ * and the new runtime.
430
+ */
431
+ InvalidSpecName: PlainDescriptor<undefined>;
432
+ /**
433
+ * The specification version is not allowed to decrease between the current runtime
434
+ * and the new runtime.
435
+ */
436
+ SpecVersionNeedsToIncrease: PlainDescriptor<undefined>;
437
+ /**
438
+ * Failed to extract the runtime version from the new runtime.
439
+ *
440
+ * Either calling `Core_version` or decoding `RuntimeVersion` failed.
441
+ */
442
+ FailedToExtractRuntimeVersion: PlainDescriptor<undefined>;
443
+ /**
444
+ * Suicide called when the account has non-default composite data.
445
+ */
446
+ NonDefaultComposite: PlainDescriptor<undefined>;
447
+ /**
448
+ * There is a non-zero reference count preventing the account from being purged.
449
+ */
450
+ NonZeroRefCount: PlainDescriptor<undefined>;
451
+ /**
452
+ * The origin filter prevent the call to be dispatched.
453
+ */
454
+ CallFiltered: PlainDescriptor<undefined>;
455
+ /**
456
+ * A multi-block migration is ongoing and prevents the current code from being replaced.
457
+ */
458
+ MultiBlockMigrationsOngoing: PlainDescriptor<undefined>;
459
+ /**
460
+ * The specified [`Task`] is not valid.
461
+ */
462
+ InvalidTask: PlainDescriptor<undefined>;
463
+ /**
464
+ * The specified [`Task`] failed during execution.
465
+ */
466
+ FailedTask: PlainDescriptor<undefined>;
467
+ /**
468
+ * No upgrade authorized.
469
+ */
470
+ NothingAuthorized: PlainDescriptor<undefined>;
471
+ /**
472
+ * The submitted code is not authorized.
473
+ */
474
+ Unauthorized: PlainDescriptor<undefined>;
475
+ };
476
+ ParachainSystem: {
477
+ /**
478
+ * Attempt to upgrade validation function while existing upgrade pending.
479
+ */
480
+ OverlappingUpgrades: PlainDescriptor<undefined>;
481
+ /**
482
+ * Polkadot currently prohibits this parachain from upgrading its validation function.
483
+ */
484
+ ProhibitedByPolkadot: PlainDescriptor<undefined>;
485
+ /**
486
+ * The supplied validation function has compiled into a blob larger than Polkadot is
487
+ * willing to run.
488
+ */
489
+ TooBig: PlainDescriptor<undefined>;
490
+ /**
491
+ * The inherent which supplies the validation data did not run this block.
492
+ */
493
+ ValidationDataNotAvailable: PlainDescriptor<undefined>;
494
+ /**
495
+ * The inherent which supplies the host configuration did not run this block.
496
+ */
497
+ HostConfigurationNotAvailable: PlainDescriptor<undefined>;
498
+ /**
499
+ * No validation function upgrade is currently scheduled.
500
+ */
501
+ NotScheduled: PlainDescriptor<undefined>;
502
+ };
503
+ Preimage: {
504
+ /**
505
+ * Preimage is too large to store on-chain.
506
+ */
507
+ TooBig: PlainDescriptor<undefined>;
508
+ /**
509
+ * Preimage has already been noted on-chain.
510
+ */
511
+ AlreadyNoted: PlainDescriptor<undefined>;
512
+ /**
513
+ * The user is not authorized to perform this action.
514
+ */
515
+ NotAuthorized: PlainDescriptor<undefined>;
516
+ /**
517
+ * The preimage cannot be removed since it has not yet been noted.
518
+ */
519
+ NotNoted: PlainDescriptor<undefined>;
520
+ /**
521
+ * A preimage may not be removed when there are outstanding requests.
522
+ */
523
+ Requested: PlainDescriptor<undefined>;
524
+ /**
525
+ * The preimage request cannot be removed since no outstanding requests exist.
526
+ */
527
+ NotRequested: PlainDescriptor<undefined>;
528
+ /**
529
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
530
+ */
531
+ TooMany: PlainDescriptor<undefined>;
532
+ /**
533
+ * Too few hashes were requested to be upgraded (i.e. zero).
534
+ */
535
+ TooFew: PlainDescriptor<undefined>;
536
+ };
537
+ Scheduler: {
538
+ /**
539
+ * Failed to schedule a call
540
+ */
541
+ FailedToSchedule: PlainDescriptor<undefined>;
542
+ /**
543
+ * Cannot find the scheduled call.
544
+ */
545
+ NotFound: PlainDescriptor<undefined>;
546
+ /**
547
+ * Given target block number is in the past.
548
+ */
549
+ TargetBlockNumberInPast: PlainDescriptor<undefined>;
550
+ /**
551
+ * Reschedule failed because it does not change scheduled time.
552
+ */
553
+ RescheduleNoChange: PlainDescriptor<undefined>;
554
+ /**
555
+ * Attempt to use a non-named function on a named task.
556
+ */
557
+ Named: PlainDescriptor<undefined>;
558
+ };
559
+ MultiBlockMigrations: {
560
+ /**
561
+ * The operation cannot complete since some MBMs are ongoing.
562
+ */
563
+ Ongoing: PlainDescriptor<undefined>;
564
+ };
565
+ Balances: {
566
+ /**
567
+ * Vesting balance too high to send value.
568
+ */
569
+ VestingBalance: PlainDescriptor<undefined>;
570
+ /**
571
+ * Account liquidity restrictions prevent withdrawal.
572
+ */
573
+ LiquidityRestrictions: PlainDescriptor<undefined>;
574
+ /**
575
+ * Balance too low to send value.
576
+ */
577
+ InsufficientBalance: PlainDescriptor<undefined>;
578
+ /**
579
+ * Value too low to create account due to existential deposit.
580
+ */
581
+ ExistentialDeposit: PlainDescriptor<undefined>;
582
+ /**
583
+ * Transfer/payment would kill account.
584
+ */
585
+ Expendability: PlainDescriptor<undefined>;
586
+ /**
587
+ * A vesting schedule already exists for this account.
588
+ */
589
+ ExistingVestingSchedule: PlainDescriptor<undefined>;
590
+ /**
591
+ * Beneficiary account must pre-exist.
592
+ */
593
+ DeadAccount: PlainDescriptor<undefined>;
594
+ /**
595
+ * Number of named reserves exceed `MaxReserves`.
596
+ */
597
+ TooManyReserves: PlainDescriptor<undefined>;
598
+ /**
599
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
600
+ */
601
+ TooManyHolds: PlainDescriptor<undefined>;
602
+ /**
603
+ * Number of freezes exceed `MaxFreezes`.
604
+ */
605
+ TooManyFreezes: PlainDescriptor<undefined>;
606
+ /**
607
+ * The issuance cannot be modified since it is already deactivated.
608
+ */
609
+ IssuanceDeactivated: PlainDescriptor<undefined>;
610
+ /**
611
+ * The delta cannot be zero.
612
+ */
613
+ DeltaZero: PlainDescriptor<undefined>;
614
+ };
615
+ Vesting: {
616
+ /**
617
+ * The account given is not vesting.
618
+ */
619
+ NotVesting: PlainDescriptor<undefined>;
620
+ /**
621
+ * The account already has `MaxVestingSchedules` count of schedules and thus
622
+ * cannot add another one. Consider merging existing schedules in order to add another.
623
+ */
624
+ AtMaxVestingSchedules: PlainDescriptor<undefined>;
625
+ /**
626
+ * Amount being transferred is too low to create a vesting schedule.
627
+ */
628
+ AmountLow: PlainDescriptor<undefined>;
629
+ /**
630
+ * An index was out of bounds of the vesting schedules.
631
+ */
632
+ ScheduleIndexOutOfBounds: PlainDescriptor<undefined>;
633
+ /**
634
+ * Failed to create a new schedule because some parameter was invalid.
635
+ */
636
+ InvalidScheduleParams: PlainDescriptor<undefined>;
637
+ };
638
+ Claims: {
639
+ /**
640
+ * Invalid Ethereum signature.
641
+ */
642
+ InvalidEthereumSignature: PlainDescriptor<undefined>;
643
+ /**
644
+ * Ethereum address has no claim.
645
+ */
646
+ SignerHasNoClaim: PlainDescriptor<undefined>;
647
+ /**
648
+ * Account ID sending transaction has no claim.
649
+ */
650
+ SenderHasNoClaim: PlainDescriptor<undefined>;
651
+ /**
652
+ * There's not enough in the pot to pay out some unvested amount. Generally implies a
653
+ * logic error.
654
+ */
655
+ PotUnderflow: PlainDescriptor<undefined>;
656
+ /**
657
+ * A needed statement was not included.
658
+ */
659
+ InvalidStatement: PlainDescriptor<undefined>;
660
+ /**
661
+ * The account already has a vested balance.
662
+ */
663
+ VestedBalanceExists: PlainDescriptor<undefined>;
664
+ };
665
+ Dap: {
666
+ /**
667
+ * A key in the budget allocation does not match any registered recipient.
668
+ */
669
+ UnknownBudgetKey: PlainDescriptor<undefined>;
670
+ /**
671
+ * Budget allocation percentages do not sum to exactly 100%.
672
+ */
673
+ BudgetNotExact: PlainDescriptor<undefined>;
674
+ };
675
+ CollatorSelection: {
676
+ /**
677
+ * The pallet has too many candidates.
678
+ */
679
+ TooManyCandidates: PlainDescriptor<undefined>;
680
+ /**
681
+ * Leaving would result in too few candidates.
682
+ */
683
+ TooFewEligibleCollators: PlainDescriptor<undefined>;
684
+ /**
685
+ * Account is already a candidate.
686
+ */
687
+ AlreadyCandidate: PlainDescriptor<undefined>;
688
+ /**
689
+ * Account is not a candidate.
690
+ */
691
+ NotCandidate: PlainDescriptor<undefined>;
692
+ /**
693
+ * There are too many Invulnerables.
694
+ */
695
+ TooManyInvulnerables: PlainDescriptor<undefined>;
696
+ /**
697
+ * Account is already an Invulnerable.
698
+ */
699
+ AlreadyInvulnerable: PlainDescriptor<undefined>;
700
+ /**
701
+ * Account is not an Invulnerable.
702
+ */
703
+ NotInvulnerable: PlainDescriptor<undefined>;
704
+ /**
705
+ * Account has no associated validator ID.
706
+ */
707
+ NoAssociatedValidatorId: PlainDescriptor<undefined>;
708
+ /**
709
+ * Validator ID is not yet registered.
710
+ */
711
+ ValidatorNotRegistered: PlainDescriptor<undefined>;
712
+ /**
713
+ * Could not insert in the candidate list.
714
+ */
715
+ InsertToCandidateListFailed: PlainDescriptor<undefined>;
716
+ /**
717
+ * Could not remove from the candidate list.
718
+ */
719
+ RemoveFromCandidateListFailed: PlainDescriptor<undefined>;
720
+ /**
721
+ * New deposit amount would be below the minimum candidacy bond.
722
+ */
723
+ DepositTooLow: PlainDescriptor<undefined>;
724
+ /**
725
+ * Could not update the candidate list.
726
+ */
727
+ UpdateCandidateListFailed: PlainDescriptor<undefined>;
728
+ /**
729
+ * Deposit amount is too low to take the target's slot in the candidate list.
730
+ */
731
+ InsufficientBond: PlainDescriptor<undefined>;
732
+ /**
733
+ * The target account to be replaced in the candidate list is not a candidate.
734
+ */
735
+ TargetIsNotCandidate: PlainDescriptor<undefined>;
736
+ /**
737
+ * The updated deposit amount is equal to the amount already reserved.
738
+ */
739
+ IdenticalDeposit: PlainDescriptor<undefined>;
740
+ /**
741
+ * Cannot lower candidacy bond while occupying a future collator slot in the list.
742
+ */
743
+ InvalidUnreserve: PlainDescriptor<undefined>;
744
+ };
745
+ Session: {
746
+ /**
747
+ * Invalid ownership proof.
748
+ */
749
+ InvalidProof: PlainDescriptor<undefined>;
750
+ /**
751
+ * No associated validator ID for account.
752
+ */
753
+ NoAssociatedValidatorId: PlainDescriptor<undefined>;
754
+ /**
755
+ * Registered duplicate key.
756
+ */
757
+ DuplicatedKey: PlainDescriptor<undefined>;
758
+ /**
759
+ * No keys are associated with this account.
760
+ */
761
+ NoKeys: PlainDescriptor<undefined>;
762
+ /**
763
+ * Key setting account is not live, so it's impossible to associate keys.
764
+ */
765
+ NoAccount: PlainDescriptor<undefined>;
766
+ };
767
+ XcmpQueue: {
768
+ /**
769
+ * Setting the queue config failed since one of its values was invalid.
770
+ */
771
+ BadQueueConfig: PlainDescriptor<undefined>;
772
+ /**
773
+ * The execution is already suspended.
774
+ */
775
+ AlreadySuspended: PlainDescriptor<undefined>;
776
+ /**
777
+ * The execution is already resumed.
778
+ */
779
+ AlreadyResumed: PlainDescriptor<undefined>;
780
+ /**
781
+ * There are too many active outbound channels.
782
+ */
783
+ TooManyActiveOutboundChannels: PlainDescriptor<undefined>;
784
+ /**
785
+ * The message is too big.
786
+ */
787
+ TooBig: PlainDescriptor<undefined>;
788
+ };
789
+ PolkadotXcm: {
790
+ /**
791
+ * The desired destination was unreachable, generally because there is a no way of routing
792
+ * to it.
793
+ */
794
+ Unreachable: PlainDescriptor<undefined>;
795
+ /**
796
+ * There was some other issue (i.e. not to do with routing) in sending the message.
797
+ * Perhaps a lack of space for buffering the message.
798
+ */
799
+ SendFailure: PlainDescriptor<undefined>;
800
+ /**
801
+ * The message execution fails the filter.
802
+ */
803
+ Filtered: PlainDescriptor<undefined>;
804
+ /**
805
+ * The message's weight could not be determined.
806
+ */
807
+ UnweighableMessage: PlainDescriptor<undefined>;
808
+ /**
809
+ * The destination `Location` provided cannot be inverted.
810
+ */
811
+ DestinationNotInvertible: PlainDescriptor<undefined>;
812
+ /**
813
+ * The assets to be sent are empty.
814
+ */
815
+ Empty: PlainDescriptor<undefined>;
816
+ /**
817
+ * Could not re-anchor the assets to declare the fees for the destination chain.
818
+ */
819
+ CannotReanchor: PlainDescriptor<undefined>;
820
+ /**
821
+ * Too many assets have been attempted for transfer.
822
+ */
823
+ TooManyAssets: PlainDescriptor<undefined>;
824
+ /**
825
+ * Origin is invalid for sending.
826
+ */
827
+ InvalidOrigin: PlainDescriptor<undefined>;
828
+ /**
829
+ * The version of the `Versioned` value used is not able to be interpreted.
830
+ */
831
+ BadVersion: PlainDescriptor<undefined>;
832
+ /**
833
+ * The given location could not be used (e.g. because it cannot be expressed in the
834
+ * desired version of XCM).
835
+ */
836
+ BadLocation: PlainDescriptor<undefined>;
837
+ /**
838
+ * The referenced subscription could not be found.
839
+ */
840
+ NoSubscription: PlainDescriptor<undefined>;
841
+ /**
842
+ * The location is invalid since it already has a subscription from us.
843
+ */
844
+ AlreadySubscribed: PlainDescriptor<undefined>;
845
+ /**
846
+ * Could not check-out the assets for teleportation to the destination chain.
847
+ */
848
+ CannotCheckOutTeleport: PlainDescriptor<undefined>;
849
+ /**
850
+ * The owner does not own (all) of the asset that they wish to do the operation on.
851
+ */
852
+ LowBalance: PlainDescriptor<undefined>;
853
+ /**
854
+ * The asset owner has too many locks on the asset.
855
+ */
856
+ TooManyLocks: PlainDescriptor<undefined>;
857
+ /**
858
+ * The given account is not an identifiable sovereign account for any location.
859
+ */
860
+ AccountNotSovereign: PlainDescriptor<undefined>;
861
+ /**
862
+ * The operation required fees to be paid which the initiator could not meet.
863
+ */
864
+ FeesNotMet: PlainDescriptor<undefined>;
865
+ /**
866
+ * A remote lock with the corresponding data could not be found.
867
+ */
868
+ LockNotFound: PlainDescriptor<undefined>;
869
+ /**
870
+ * The unlock operation cannot succeed because there are still consumers of the lock.
871
+ */
872
+ InUse: PlainDescriptor<undefined>;
873
+ /**
874
+ * Invalid asset, reserve chain could not be determined for it.
875
+ */
876
+ InvalidAssetUnknownReserve: PlainDescriptor<undefined>;
877
+ /**
878
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
879
+ */
880
+ InvalidAssetUnsupportedReserve: PlainDescriptor<undefined>;
881
+ /**
882
+ * Too many assets with different reserve locations have been attempted for transfer.
883
+ */
884
+ TooManyReserves: PlainDescriptor<undefined>;
885
+ /**
886
+ * Local XCM execution incomplete.
887
+ */
888
+ LocalExecutionIncomplete: PlainDescriptor<undefined>;
889
+ /**
890
+ * Too many locations authorized to alias origin.
891
+ */
892
+ TooManyAuthorizedAliases: PlainDescriptor<undefined>;
893
+ /**
894
+ * Expiry block number is in the past.
895
+ */
896
+ ExpiresInPast: PlainDescriptor<undefined>;
897
+ /**
898
+ * The alias to remove authorization for was not found.
899
+ */
900
+ AliasNotFound: PlainDescriptor<undefined>;
901
+ /**
902
+ * Local XCM execution incomplete with the actual XCM error and the index of the
903
+ * instruction that caused the error.
904
+ */
905
+ LocalExecutionIncompleteWithError: PlainDescriptor<Anonymize<I5r8t4iaend96p>>;
906
+ };
907
+ MessageQueue: {
908
+ /**
909
+ * Page is not reapable because it has items remaining to be processed and is not old
910
+ * enough.
911
+ */
912
+ NotReapable: PlainDescriptor<undefined>;
913
+ /**
914
+ * Page to be reaped does not exist.
915
+ */
916
+ NoPage: PlainDescriptor<undefined>;
917
+ /**
918
+ * The referenced message could not be found.
919
+ */
920
+ NoMessage: PlainDescriptor<undefined>;
921
+ /**
922
+ * The message was already processed and cannot be processed again.
923
+ */
924
+ AlreadyProcessed: PlainDescriptor<undefined>;
925
+ /**
926
+ * The message is queued for future execution.
927
+ */
928
+ Queued: PlainDescriptor<undefined>;
929
+ /**
930
+ * There is temporarily not enough weight to continue servicing messages.
931
+ */
932
+ InsufficientWeight: PlainDescriptor<undefined>;
933
+ /**
934
+ * This message is temporarily unprocessable.
935
+ *
936
+ * Such errors are expected, but not guaranteed, to resolve themselves eventually through
937
+ * retrying.
938
+ */
939
+ TemporarilyUnprocessable: PlainDescriptor<undefined>;
940
+ /**
941
+ * The queue is paused and no message can be executed from it.
942
+ *
943
+ * This can change at any time and may resolve in the future by re-trying.
944
+ */
945
+ QueuePaused: PlainDescriptor<undefined>;
946
+ /**
947
+ * Another call is in progress and needs to finish before this call can happen.
948
+ */
949
+ RecursiveDisallowed: PlainDescriptor<undefined>;
950
+ };
951
+ SnowbridgeSystemFrontend: {
952
+ /**
953
+ * Convert versioned location failure
954
+ */
955
+ UnsupportedLocationVersion: PlainDescriptor<undefined>;
956
+ /**
957
+ * Check location failure, should start from the dispatch origin as owner
958
+ */
959
+ InvalidAssetOwner: PlainDescriptor<undefined>;
960
+ /**
961
+ * Send xcm message failure
962
+ */
963
+ SendFailure: PlainDescriptor<undefined>;
964
+ /**
965
+ * Withdraw fee asset failure
966
+ */
967
+ FeesNotMet: PlainDescriptor<undefined>;
968
+ /**
969
+ * Convert to reanchored location failure
970
+ */
971
+ LocationConversionFailed: PlainDescriptor<undefined>;
972
+ /**
973
+ * Message export is halted
974
+ */
975
+ Halted: PlainDescriptor<undefined>;
976
+ /**
977
+ * The desired destination was unreachable, generally because there is a no way of routing
978
+ * to it.
979
+ */
980
+ Unreachable: PlainDescriptor<undefined>;
981
+ /**
982
+ * The asset provided for the tip is unsupported.
983
+ */
984
+ UnsupportedAsset: PlainDescriptor<undefined>;
985
+ /**
986
+ * Unable to withdraw asset.
987
+ */
988
+ WithdrawError: PlainDescriptor<undefined>;
989
+ /**
990
+ * Account could not be converted to a location.
991
+ */
992
+ InvalidAccount: PlainDescriptor<undefined>;
993
+ /**
994
+ * Provided tip asset could not be swapped for ether.
995
+ */
996
+ SwapError: PlainDescriptor<undefined>;
997
+ /**
998
+ * Ether could not be burned.
999
+ */
1000
+ BurnError: PlainDescriptor<undefined>;
1001
+ /**
1002
+ * The tip provided is zero.
1003
+ */
1004
+ TipAmountZero: PlainDescriptor<undefined>;
1005
+ };
1006
+ Utility: {
1007
+ /**
1008
+ * Too many calls batched.
1009
+ */
1010
+ TooManyCalls: PlainDescriptor<undefined>;
1011
+ };
1012
+ Multisig: {
1013
+ /**
1014
+ * Threshold must be 2 or greater.
1015
+ */
1016
+ MinimumThreshold: PlainDescriptor<undefined>;
1017
+ /**
1018
+ * Call is already approved by this signatory.
1019
+ */
1020
+ AlreadyApproved: PlainDescriptor<undefined>;
1021
+ /**
1022
+ * Call doesn't need any (more) approvals.
1023
+ */
1024
+ NoApprovalsNeeded: PlainDescriptor<undefined>;
1025
+ /**
1026
+ * There are too few signatories in the list.
1027
+ */
1028
+ TooFewSignatories: PlainDescriptor<undefined>;
1029
+ /**
1030
+ * There are too many signatories in the list.
1031
+ */
1032
+ TooManySignatories: PlainDescriptor<undefined>;
1033
+ /**
1034
+ * The signatories were provided out of order; they should be ordered.
1035
+ */
1036
+ SignatoriesOutOfOrder: PlainDescriptor<undefined>;
1037
+ /**
1038
+ * The sender was contained in the other signatories; it shouldn't be.
1039
+ */
1040
+ SenderInSignatories: PlainDescriptor<undefined>;
1041
+ /**
1042
+ * Multisig operation not found in storage.
1043
+ */
1044
+ NotFound: PlainDescriptor<undefined>;
1045
+ /**
1046
+ * Only the account that originally created the multisig is able to cancel it or update
1047
+ * its deposits.
1048
+ */
1049
+ NotOwner: PlainDescriptor<undefined>;
1050
+ /**
1051
+ * No timepoint was given, yet the multisig operation is already underway.
1052
+ */
1053
+ NoTimepoint: PlainDescriptor<undefined>;
1054
+ /**
1055
+ * A different timepoint was given to the multisig operation that is underway.
1056
+ */
1057
+ WrongTimepoint: PlainDescriptor<undefined>;
1058
+ /**
1059
+ * A timepoint was given, yet no multisig operation is underway.
1060
+ */
1061
+ UnexpectedTimepoint: PlainDescriptor<undefined>;
1062
+ /**
1063
+ * The maximum weight information provided was too low.
1064
+ */
1065
+ MaxWeightTooLow: PlainDescriptor<undefined>;
1066
+ /**
1067
+ * The data to be stored is already stored.
1068
+ */
1069
+ AlreadyStored: PlainDescriptor<undefined>;
1070
+ };
1071
+ Proxy: {
1072
+ /**
1073
+ * There are too many proxies registered or too many announcements pending.
1074
+ */
1075
+ TooMany: PlainDescriptor<undefined>;
1076
+ /**
1077
+ * Proxy registration not found.
1078
+ */
1079
+ NotFound: PlainDescriptor<undefined>;
1080
+ /**
1081
+ * Sender is not a proxy of the account to be proxied.
1082
+ */
1083
+ NotProxy: PlainDescriptor<undefined>;
1084
+ /**
1085
+ * A call which is incompatible with the proxy type's filter was attempted.
1086
+ */
1087
+ Unproxyable: PlainDescriptor<undefined>;
1088
+ /**
1089
+ * Account is already a proxy.
1090
+ */
1091
+ Duplicate: PlainDescriptor<undefined>;
1092
+ /**
1093
+ * Call may not be made by proxy because it may escalate its privileges.
1094
+ */
1095
+ NoPermission: PlainDescriptor<undefined>;
1096
+ /**
1097
+ * Announcement, if made at all, was made too recently.
1098
+ */
1099
+ Unannounced: PlainDescriptor<undefined>;
1100
+ /**
1101
+ * Cannot add self as proxy.
1102
+ */
1103
+ NoSelfProxy: PlainDescriptor<undefined>;
1104
+ };
1105
+ Indices: {
1106
+ /**
1107
+ * The index was not already assigned.
1108
+ */
1109
+ NotAssigned: PlainDescriptor<undefined>;
1110
+ /**
1111
+ * The index is assigned to another account.
1112
+ */
1113
+ NotOwner: PlainDescriptor<undefined>;
1114
+ /**
1115
+ * The index was not available.
1116
+ */
1117
+ InUse: PlainDescriptor<undefined>;
1118
+ /**
1119
+ * The source and destination accounts are identical.
1120
+ */
1121
+ NotTransfer: PlainDescriptor<undefined>;
1122
+ /**
1123
+ * The index is permanent and may not be freed/changed.
1124
+ */
1125
+ Permanent: PlainDescriptor<undefined>;
1126
+ };
1127
+ Assets: {
1128
+ /**
1129
+ * Account balance must be greater than or equal to the transfer amount.
1130
+ */
1131
+ BalanceLow: PlainDescriptor<undefined>;
1132
+ /**
1133
+ * The account to alter does not exist.
1134
+ */
1135
+ NoAccount: PlainDescriptor<undefined>;
1136
+ /**
1137
+ * The signing account has no permission to do the operation.
1138
+ */
1139
+ NoPermission: PlainDescriptor<undefined>;
1140
+ /**
1141
+ * The given asset ID is unknown.
1142
+ */
1143
+ Unknown: PlainDescriptor<undefined>;
1144
+ /**
1145
+ * The origin account is frozen.
1146
+ */
1147
+ Frozen: PlainDescriptor<undefined>;
1148
+ /**
1149
+ * The asset ID is already taken.
1150
+ */
1151
+ InUse: PlainDescriptor<undefined>;
1152
+ /**
1153
+ * Invalid witness data given.
1154
+ */
1155
+ BadWitness: PlainDescriptor<undefined>;
1156
+ /**
1157
+ * Minimum balance should be non-zero.
1158
+ */
1159
+ MinBalanceZero: PlainDescriptor<undefined>;
1160
+ /**
1161
+ * Unable to increment the consumer reference counters on the account. Either no provider
1162
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1163
+ * fewer then the maximum number of consumers has been reached.
1164
+ */
1165
+ UnavailableConsumer: PlainDescriptor<undefined>;
1166
+ /**
1167
+ * Invalid metadata given.
1168
+ */
1169
+ BadMetadata: PlainDescriptor<undefined>;
1170
+ /**
1171
+ * No approval exists that would allow the transfer.
1172
+ */
1173
+ Unapproved: PlainDescriptor<undefined>;
1174
+ /**
1175
+ * The source account would not survive the transfer and it needs to stay alive.
1176
+ */
1177
+ WouldDie: PlainDescriptor<undefined>;
1178
+ /**
1179
+ * The asset-account already exists.
1180
+ */
1181
+ AlreadyExists: PlainDescriptor<undefined>;
1182
+ /**
1183
+ * The asset-account doesn't have an associated deposit.
1184
+ */
1185
+ NoDeposit: PlainDescriptor<undefined>;
1186
+ /**
1187
+ * The operation would result in funds being burned.
1188
+ */
1189
+ WouldBurn: PlainDescriptor<undefined>;
1190
+ /**
1191
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1192
+ * as `start_destroy` which require the asset to be in a destroying state.
1193
+ */
1194
+ LiveAsset: PlainDescriptor<undefined>;
1195
+ /**
1196
+ * The asset is not live, and likely being destroyed.
1197
+ */
1198
+ AssetNotLive: PlainDescriptor<undefined>;
1199
+ /**
1200
+ * The asset status is not the expected status.
1201
+ */
1202
+ IncorrectStatus: PlainDescriptor<undefined>;
1203
+ /**
1204
+ * The asset should be frozen before the given operation.
1205
+ */
1206
+ NotFrozen: PlainDescriptor<undefined>;
1207
+ /**
1208
+ * Callback action resulted in error
1209
+ */
1210
+ CallbackFailed: PlainDescriptor<undefined>;
1211
+ /**
1212
+ * The asset ID must be equal to the [`NextAssetId`].
1213
+ */
1214
+ BadAssetId: PlainDescriptor<undefined>;
1215
+ /**
1216
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
1217
+ */
1218
+ ContainsFreezes: PlainDescriptor<undefined>;
1219
+ /**
1220
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
1221
+ */
1222
+ ContainsHolds: PlainDescriptor<undefined>;
1223
+ /**
1224
+ * Tried setting too many reserves.
1225
+ */
1226
+ TooManyReserves: PlainDescriptor<undefined>;
1227
+ };
1228
+ Uniques: {
1229
+ /**
1230
+ * The signing account has no permission to do the operation.
1231
+ */
1232
+ NoPermission: PlainDescriptor<undefined>;
1233
+ /**
1234
+ * The given item ID is unknown.
1235
+ */
1236
+ UnknownCollection: PlainDescriptor<undefined>;
1237
+ /**
1238
+ * The item ID has already been used for an item.
1239
+ */
1240
+ AlreadyExists: PlainDescriptor<undefined>;
1241
+ /**
1242
+ * The owner turned out to be different to what was expected.
1243
+ */
1244
+ WrongOwner: PlainDescriptor<undefined>;
1245
+ /**
1246
+ * Invalid witness data given.
1247
+ */
1248
+ BadWitness: PlainDescriptor<undefined>;
1249
+ /**
1250
+ * The item ID is already taken.
1251
+ */
1252
+ InUse: PlainDescriptor<undefined>;
1253
+ /**
1254
+ * The item or collection is frozen.
1255
+ */
1256
+ Frozen: PlainDescriptor<undefined>;
1257
+ /**
1258
+ * The delegate turned out to be different to what was expected.
1259
+ */
1260
+ WrongDelegate: PlainDescriptor<undefined>;
1261
+ /**
1262
+ * There is no delegate approved.
1263
+ */
1264
+ NoDelegate: PlainDescriptor<undefined>;
1265
+ /**
1266
+ * No approval exists that would allow the transfer.
1267
+ */
1268
+ Unapproved: PlainDescriptor<undefined>;
1269
+ /**
1270
+ * The named owner has not signed ownership of the collection is acceptable.
1271
+ */
1272
+ Unaccepted: PlainDescriptor<undefined>;
1273
+ /**
1274
+ * The item is locked.
1275
+ */
1276
+ Locked: PlainDescriptor<undefined>;
1277
+ /**
1278
+ * All items have been minted.
1279
+ */
1280
+ MaxSupplyReached: PlainDescriptor<undefined>;
1281
+ /**
1282
+ * The max supply has already been set.
1283
+ */
1284
+ MaxSupplyAlreadySet: PlainDescriptor<undefined>;
1285
+ /**
1286
+ * The provided max supply is less to the amount of items a collection already has.
1287
+ */
1288
+ MaxSupplyTooSmall: PlainDescriptor<undefined>;
1289
+ /**
1290
+ * The given item ID is unknown.
1291
+ */
1292
+ UnknownItem: PlainDescriptor<undefined>;
1293
+ /**
1294
+ * Item is not for sale.
1295
+ */
1296
+ NotForSale: PlainDescriptor<undefined>;
1297
+ /**
1298
+ * The provided bid is too low.
1299
+ */
1300
+ BidTooLow: PlainDescriptor<undefined>;
1301
+ /**
1302
+ * No metadata is found.
1303
+ */
1304
+ NoMetadata: PlainDescriptor<undefined>;
1305
+ /**
1306
+ * Wrong metadata key/value bytes supplied.
1307
+ */
1308
+ WrongMetadata: PlainDescriptor<undefined>;
1309
+ /**
1310
+ * An attribute is not found.
1311
+ */
1312
+ AttributeNotFound: PlainDescriptor<undefined>;
1313
+ /**
1314
+ * Wrong attribute key/value bytes supplied.
1315
+ */
1316
+ WrongAttribute: PlainDescriptor<undefined>;
1317
+ };
1318
+ Nfts: {
1319
+ /**
1320
+ * The signing account has no permission to do the operation.
1321
+ */
1322
+ NoPermission: PlainDescriptor<undefined>;
1323
+ /**
1324
+ * The given item ID is unknown.
1325
+ */
1326
+ UnknownCollection: PlainDescriptor<undefined>;
1327
+ /**
1328
+ * The item ID has already been used for an item.
1329
+ */
1330
+ AlreadyExists: PlainDescriptor<undefined>;
1331
+ /**
1332
+ * The approval had a deadline that expired, so the approval isn't valid anymore.
1333
+ */
1334
+ ApprovalExpired: PlainDescriptor<undefined>;
1335
+ /**
1336
+ * The owner turned out to be different to what was expected.
1337
+ */
1338
+ WrongOwner: PlainDescriptor<undefined>;
1339
+ /**
1340
+ * The witness data given does not match the current state of the chain.
1341
+ */
1342
+ BadWitness: PlainDescriptor<undefined>;
1343
+ /**
1344
+ * Collection ID is already taken.
1345
+ */
1346
+ CollectionIdInUse: PlainDescriptor<undefined>;
1347
+ /**
1348
+ * Items within that collection are non-transferable.
1349
+ */
1350
+ ItemsNonTransferable: PlainDescriptor<undefined>;
1351
+ /**
1352
+ * The provided account is not a delegate.
1353
+ */
1354
+ NotDelegate: PlainDescriptor<undefined>;
1355
+ /**
1356
+ * The delegate turned out to be different to what was expected.
1357
+ */
1358
+ WrongDelegate: PlainDescriptor<undefined>;
1359
+ /**
1360
+ * No approval exists that would allow the transfer.
1361
+ */
1362
+ Unapproved: PlainDescriptor<undefined>;
1363
+ /**
1364
+ * The named owner has not signed ownership acceptance of the collection.
1365
+ */
1366
+ Unaccepted: PlainDescriptor<undefined>;
1367
+ /**
1368
+ * The item is locked (non-transferable).
1369
+ */
1370
+ ItemLocked: PlainDescriptor<undefined>;
1371
+ /**
1372
+ * Item's attributes are locked.
1373
+ */
1374
+ LockedItemAttributes: PlainDescriptor<undefined>;
1375
+ /**
1376
+ * Collection's attributes are locked.
1377
+ */
1378
+ LockedCollectionAttributes: PlainDescriptor<undefined>;
1379
+ /**
1380
+ * Item's metadata is locked.
1381
+ */
1382
+ LockedItemMetadata: PlainDescriptor<undefined>;
1383
+ /**
1384
+ * Collection's metadata is locked.
1385
+ */
1386
+ LockedCollectionMetadata: PlainDescriptor<undefined>;
1387
+ /**
1388
+ * All items have been minted.
1389
+ */
1390
+ MaxSupplyReached: PlainDescriptor<undefined>;
1391
+ /**
1392
+ * The max supply is locked and can't be changed.
1393
+ */
1394
+ MaxSupplyLocked: PlainDescriptor<undefined>;
1395
+ /**
1396
+ * The provided max supply is less than the number of items a collection already has.
1397
+ */
1398
+ MaxSupplyTooSmall: PlainDescriptor<undefined>;
1399
+ /**
1400
+ * The given item ID is unknown.
1401
+ */
1402
+ UnknownItem: PlainDescriptor<undefined>;
1403
+ /**
1404
+ * Swap doesn't exist.
1405
+ */
1406
+ UnknownSwap: PlainDescriptor<undefined>;
1407
+ /**
1408
+ * The given item has no metadata set.
1409
+ */
1410
+ MetadataNotFound: PlainDescriptor<undefined>;
1411
+ /**
1412
+ * The provided attribute can't be found.
1413
+ */
1414
+ AttributeNotFound: PlainDescriptor<undefined>;
1415
+ /**
1416
+ * Item is not for sale.
1417
+ */
1418
+ NotForSale: PlainDescriptor<undefined>;
1419
+ /**
1420
+ * The provided bid is too low.
1421
+ */
1422
+ BidTooLow: PlainDescriptor<undefined>;
1423
+ /**
1424
+ * The item has reached its approval limit.
1425
+ */
1426
+ ReachedApprovalLimit: PlainDescriptor<undefined>;
1427
+ /**
1428
+ * The deadline has already expired.
1429
+ */
1430
+ DeadlineExpired: PlainDescriptor<undefined>;
1431
+ /**
1432
+ * The duration provided should be less than or equal to `MaxDeadlineDuration`.
1433
+ */
1434
+ WrongDuration: PlainDescriptor<undefined>;
1435
+ /**
1436
+ * The method is disabled by system settings.
1437
+ */
1438
+ MethodDisabled: PlainDescriptor<undefined>;
1439
+ /**
1440
+ * The provided setting can't be set.
1441
+ */
1442
+ WrongSetting: PlainDescriptor<undefined>;
1443
+ /**
1444
+ * Item's config already exists and should be equal to the provided one.
1445
+ */
1446
+ InconsistentItemConfig: PlainDescriptor<undefined>;
1447
+ /**
1448
+ * Config for a collection or an item can't be found.
1449
+ */
1450
+ NoConfig: PlainDescriptor<undefined>;
1451
+ /**
1452
+ * Some roles were not cleared.
1453
+ */
1454
+ RolesNotCleared: PlainDescriptor<undefined>;
1455
+ /**
1456
+ * Mint has not started yet.
1457
+ */
1458
+ MintNotStarted: PlainDescriptor<undefined>;
1459
+ /**
1460
+ * Mint has already ended.
1461
+ */
1462
+ MintEnded: PlainDescriptor<undefined>;
1463
+ /**
1464
+ * The provided Item was already used for claiming.
1465
+ */
1466
+ AlreadyClaimed: PlainDescriptor<undefined>;
1467
+ /**
1468
+ * The provided data is incorrect.
1469
+ */
1470
+ IncorrectData: PlainDescriptor<undefined>;
1471
+ /**
1472
+ * The extrinsic was sent by the wrong origin.
1473
+ */
1474
+ WrongOrigin: PlainDescriptor<undefined>;
1475
+ /**
1476
+ * The provided signature is incorrect.
1477
+ */
1478
+ WrongSignature: PlainDescriptor<undefined>;
1479
+ /**
1480
+ * The provided metadata might be too long.
1481
+ */
1482
+ IncorrectMetadata: PlainDescriptor<undefined>;
1483
+ /**
1484
+ * Can't set more attributes per one call.
1485
+ */
1486
+ MaxAttributesLimitReached: PlainDescriptor<undefined>;
1487
+ /**
1488
+ * The provided namespace isn't supported in this call.
1489
+ */
1490
+ WrongNamespace: PlainDescriptor<undefined>;
1491
+ /**
1492
+ * Can't delete non-empty collections.
1493
+ */
1494
+ CollectionNotEmpty: PlainDescriptor<undefined>;
1495
+ /**
1496
+ * The witness data should be provided.
1497
+ */
1498
+ WitnessRequired: PlainDescriptor<undefined>;
1499
+ };
1500
+ ForeignAssets: {
1501
+ /**
1502
+ * Account balance must be greater than or equal to the transfer amount.
1503
+ */
1504
+ BalanceLow: PlainDescriptor<undefined>;
1505
+ /**
1506
+ * The account to alter does not exist.
1507
+ */
1508
+ NoAccount: PlainDescriptor<undefined>;
1509
+ /**
1510
+ * The signing account has no permission to do the operation.
1511
+ */
1512
+ NoPermission: PlainDescriptor<undefined>;
1513
+ /**
1514
+ * The given asset ID is unknown.
1515
+ */
1516
+ Unknown: PlainDescriptor<undefined>;
1517
+ /**
1518
+ * The origin account is frozen.
1519
+ */
1520
+ Frozen: PlainDescriptor<undefined>;
1521
+ /**
1522
+ * The asset ID is already taken.
1523
+ */
1524
+ InUse: PlainDescriptor<undefined>;
1525
+ /**
1526
+ * Invalid witness data given.
1527
+ */
1528
+ BadWitness: PlainDescriptor<undefined>;
1529
+ /**
1530
+ * Minimum balance should be non-zero.
1531
+ */
1532
+ MinBalanceZero: PlainDescriptor<undefined>;
1533
+ /**
1534
+ * Unable to increment the consumer reference counters on the account. Either no provider
1535
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1536
+ * fewer then the maximum number of consumers has been reached.
1537
+ */
1538
+ UnavailableConsumer: PlainDescriptor<undefined>;
1539
+ /**
1540
+ * Invalid metadata given.
1541
+ */
1542
+ BadMetadata: PlainDescriptor<undefined>;
1543
+ /**
1544
+ * No approval exists that would allow the transfer.
1545
+ */
1546
+ Unapproved: PlainDescriptor<undefined>;
1547
+ /**
1548
+ * The source account would not survive the transfer and it needs to stay alive.
1549
+ */
1550
+ WouldDie: PlainDescriptor<undefined>;
1551
+ /**
1552
+ * The asset-account already exists.
1553
+ */
1554
+ AlreadyExists: PlainDescriptor<undefined>;
1555
+ /**
1556
+ * The asset-account doesn't have an associated deposit.
1557
+ */
1558
+ NoDeposit: PlainDescriptor<undefined>;
1559
+ /**
1560
+ * The operation would result in funds being burned.
1561
+ */
1562
+ WouldBurn: PlainDescriptor<undefined>;
1563
+ /**
1564
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1565
+ * as `start_destroy` which require the asset to be in a destroying state.
1566
+ */
1567
+ LiveAsset: PlainDescriptor<undefined>;
1568
+ /**
1569
+ * The asset is not live, and likely being destroyed.
1570
+ */
1571
+ AssetNotLive: PlainDescriptor<undefined>;
1572
+ /**
1573
+ * The asset status is not the expected status.
1574
+ */
1575
+ IncorrectStatus: PlainDescriptor<undefined>;
1576
+ /**
1577
+ * The asset should be frozen before the given operation.
1578
+ */
1579
+ NotFrozen: PlainDescriptor<undefined>;
1580
+ /**
1581
+ * Callback action resulted in error
1582
+ */
1583
+ CallbackFailed: PlainDescriptor<undefined>;
1584
+ /**
1585
+ * The asset ID must be equal to the [`NextAssetId`].
1586
+ */
1587
+ BadAssetId: PlainDescriptor<undefined>;
1588
+ /**
1589
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
1590
+ */
1591
+ ContainsFreezes: PlainDescriptor<undefined>;
1592
+ /**
1593
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
1594
+ */
1595
+ ContainsHolds: PlainDescriptor<undefined>;
1596
+ /**
1597
+ * Tried setting too many reserves.
1598
+ */
1599
+ TooManyReserves: PlainDescriptor<undefined>;
1600
+ };
1601
+ PoolAssets: {
1602
+ /**
1603
+ * Account balance must be greater than or equal to the transfer amount.
1604
+ */
1605
+ BalanceLow: PlainDescriptor<undefined>;
1606
+ /**
1607
+ * The account to alter does not exist.
1608
+ */
1609
+ NoAccount: PlainDescriptor<undefined>;
1610
+ /**
1611
+ * The signing account has no permission to do the operation.
1612
+ */
1613
+ NoPermission: PlainDescriptor<undefined>;
1614
+ /**
1615
+ * The given asset ID is unknown.
1616
+ */
1617
+ Unknown: PlainDescriptor<undefined>;
1618
+ /**
1619
+ * The origin account is frozen.
1620
+ */
1621
+ Frozen: PlainDescriptor<undefined>;
1622
+ /**
1623
+ * The asset ID is already taken.
1624
+ */
1625
+ InUse: PlainDescriptor<undefined>;
1626
+ /**
1627
+ * Invalid witness data given.
1628
+ */
1629
+ BadWitness: PlainDescriptor<undefined>;
1630
+ /**
1631
+ * Minimum balance should be non-zero.
1632
+ */
1633
+ MinBalanceZero: PlainDescriptor<undefined>;
1634
+ /**
1635
+ * Unable to increment the consumer reference counters on the account. Either no provider
1636
+ * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
1637
+ * fewer then the maximum number of consumers has been reached.
1638
+ */
1639
+ UnavailableConsumer: PlainDescriptor<undefined>;
1640
+ /**
1641
+ * Invalid metadata given.
1642
+ */
1643
+ BadMetadata: PlainDescriptor<undefined>;
1644
+ /**
1645
+ * No approval exists that would allow the transfer.
1646
+ */
1647
+ Unapproved: PlainDescriptor<undefined>;
1648
+ /**
1649
+ * The source account would not survive the transfer and it needs to stay alive.
1650
+ */
1651
+ WouldDie: PlainDescriptor<undefined>;
1652
+ /**
1653
+ * The asset-account already exists.
1654
+ */
1655
+ AlreadyExists: PlainDescriptor<undefined>;
1656
+ /**
1657
+ * The asset-account doesn't have an associated deposit.
1658
+ */
1659
+ NoDeposit: PlainDescriptor<undefined>;
1660
+ /**
1661
+ * The operation would result in funds being burned.
1662
+ */
1663
+ WouldBurn: PlainDescriptor<undefined>;
1664
+ /**
1665
+ * The asset is a live asset and is actively being used. Usually emit for operations such
1666
+ * as `start_destroy` which require the asset to be in a destroying state.
1667
+ */
1668
+ LiveAsset: PlainDescriptor<undefined>;
1669
+ /**
1670
+ * The asset is not live, and likely being destroyed.
1671
+ */
1672
+ AssetNotLive: PlainDescriptor<undefined>;
1673
+ /**
1674
+ * The asset status is not the expected status.
1675
+ */
1676
+ IncorrectStatus: PlainDescriptor<undefined>;
1677
+ /**
1678
+ * The asset should be frozen before the given operation.
1679
+ */
1680
+ NotFrozen: PlainDescriptor<undefined>;
1681
+ /**
1682
+ * Callback action resulted in error
1683
+ */
1684
+ CallbackFailed: PlainDescriptor<undefined>;
1685
+ /**
1686
+ * The asset ID must be equal to the [`NextAssetId`].
1687
+ */
1688
+ BadAssetId: PlainDescriptor<undefined>;
1689
+ /**
1690
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
1691
+ */
1692
+ ContainsFreezes: PlainDescriptor<undefined>;
1693
+ /**
1694
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
1695
+ */
1696
+ ContainsHolds: PlainDescriptor<undefined>;
1697
+ /**
1698
+ * Tried setting too many reserves.
1699
+ */
1700
+ TooManyReserves: PlainDescriptor<undefined>;
1701
+ };
1702
+ AssetConversion: {
1703
+ /**
1704
+ * Provided asset pair is not supported for pool.
1705
+ */
1706
+ InvalidAssetPair: PlainDescriptor<undefined>;
1707
+ /**
1708
+ * Pool already exists.
1709
+ */
1710
+ PoolExists: PlainDescriptor<undefined>;
1711
+ /**
1712
+ * Desired amount can't be zero.
1713
+ */
1714
+ WrongDesiredAmount: PlainDescriptor<undefined>;
1715
+ /**
1716
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1717
+ * minimal amount.
1718
+ */
1719
+ AmountOneLessThanMinimal: PlainDescriptor<undefined>;
1720
+ /**
1721
+ * Provided amount should be greater than or equal to the existential deposit/asset's
1722
+ * minimal amount.
1723
+ */
1724
+ AmountTwoLessThanMinimal: PlainDescriptor<undefined>;
1725
+ /**
1726
+ * Reserve needs to always be greater than or equal to the existential deposit/asset's
1727
+ * minimal amount.
1728
+ */
1729
+ ReserveLeftLessThanMinimal: PlainDescriptor<undefined>;
1730
+ /**
1731
+ * Desired amount can't be equal to the pool reserve.
1732
+ */
1733
+ AmountOutTooHigh: PlainDescriptor<undefined>;
1734
+ /**
1735
+ * The pool doesn't exist.
1736
+ */
1737
+ PoolNotFound: PlainDescriptor<undefined>;
1738
+ /**
1739
+ * An overflow happened.
1740
+ */
1741
+ Overflow: PlainDescriptor<undefined>;
1742
+ /**
1743
+ * The minimal amount requirement for the first token in the pair wasn't met.
1744
+ */
1745
+ AssetOneDepositDidNotMeetMinimum: PlainDescriptor<undefined>;
1746
+ /**
1747
+ * The minimal amount requirement for the second token in the pair wasn't met.
1748
+ */
1749
+ AssetTwoDepositDidNotMeetMinimum: PlainDescriptor<undefined>;
1750
+ /**
1751
+ * The minimal amount requirement for the first token in the pair wasn't met.
1752
+ */
1753
+ AssetOneWithdrawalDidNotMeetMinimum: PlainDescriptor<undefined>;
1754
+ /**
1755
+ * The minimal amount requirement for the second token in the pair wasn't met.
1756
+ */
1757
+ AssetTwoWithdrawalDidNotMeetMinimum: PlainDescriptor<undefined>;
1758
+ /**
1759
+ * Optimal calculated amount is less than desired.
1760
+ */
1761
+ OptimalAmountLessThanDesired: PlainDescriptor<undefined>;
1762
+ /**
1763
+ * Insufficient liquidity minted.
1764
+ */
1765
+ InsufficientLiquidityMinted: PlainDescriptor<undefined>;
1766
+ /**
1767
+ * Requested liquidity can't be zero.
1768
+ */
1769
+ ZeroLiquidity: PlainDescriptor<undefined>;
1770
+ /**
1771
+ * Amount can't be zero.
1772
+ */
1773
+ ZeroAmount: PlainDescriptor<undefined>;
1774
+ /**
1775
+ * Calculated amount out is less than provided minimum amount.
1776
+ */
1777
+ ProvidedMinimumNotSufficientForSwap: PlainDescriptor<undefined>;
1778
+ /**
1779
+ * Provided maximum amount is not sufficient for swap.
1780
+ */
1781
+ ProvidedMaximumNotSufficientForSwap: PlainDescriptor<undefined>;
1782
+ /**
1783
+ * The provided path must consists of 2 assets at least.
1784
+ */
1785
+ InvalidPath: PlainDescriptor<undefined>;
1786
+ /**
1787
+ * The provided path must consists of unique assets.
1788
+ */
1789
+ NonUniquePath: PlainDescriptor<undefined>;
1790
+ /**
1791
+ * It was not possible to get or increment the Id of the pool.
1792
+ */
1793
+ IncorrectPoolAssetId: PlainDescriptor<undefined>;
1794
+ /**
1795
+ * The destination account cannot exist with the swapped funds.
1796
+ */
1797
+ BelowMinimum: PlainDescriptor<undefined>;
1798
+ /**
1799
+ * The pool exists but has no liquidity (at least one of the reserves is zero).
1800
+ */
1801
+ PoolEmpty: PlainDescriptor<undefined>;
1802
+ };
1803
+ Treasury: {
1804
+ /**
1805
+ * No proposal, bounty or spend at that index.
1806
+ */
1807
+ InvalidIndex: PlainDescriptor<undefined>;
1808
+ /**
1809
+ * Too many approvals in the queue.
1810
+ */
1811
+ TooManyApprovals: PlainDescriptor<undefined>;
1812
+ /**
1813
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
1814
+ * amount to be spent.
1815
+ */
1816
+ InsufficientPermission: PlainDescriptor<undefined>;
1817
+ /**
1818
+ * Proposal has not been approved.
1819
+ */
1820
+ ProposalNotApproved: PlainDescriptor<undefined>;
1821
+ /**
1822
+ * The balance of the asset kind is not convertible to the balance of the native asset.
1823
+ */
1824
+ FailedToConvertBalance: PlainDescriptor<undefined>;
1825
+ /**
1826
+ * The spend has expired and cannot be claimed.
1827
+ */
1828
+ SpendExpired: PlainDescriptor<undefined>;
1829
+ /**
1830
+ * The spend is not yet eligible for payout.
1831
+ */
1832
+ EarlyPayout: PlainDescriptor<undefined>;
1833
+ /**
1834
+ * The payment has already been attempted.
1835
+ */
1836
+ AlreadyAttempted: PlainDescriptor<undefined>;
1837
+ /**
1838
+ * There was some issue with the mechanism of payment.
1839
+ */
1840
+ PayoutError: PlainDescriptor<undefined>;
1841
+ /**
1842
+ * The payout was not yet attempted/claimed.
1843
+ */
1844
+ NotAttempted: PlainDescriptor<undefined>;
1845
+ /**
1846
+ * The payment has neither failed nor succeeded yet.
1847
+ */
1848
+ Inconclusive: PlainDescriptor<undefined>;
1849
+ };
1850
+ ConvictionVoting: {
1851
+ /**
1852
+ * Poll is not ongoing.
1853
+ */
1854
+ NotOngoing: PlainDescriptor<undefined>;
1855
+ /**
1856
+ * The given account did not vote on the poll.
1857
+ */
1858
+ NotVoter: PlainDescriptor<undefined>;
1859
+ /**
1860
+ * The actor has no permission to conduct the action.
1861
+ */
1862
+ NoPermission: PlainDescriptor<undefined>;
1863
+ /**
1864
+ * The actor has no permission to conduct the action right now but will do in the future.
1865
+ */
1866
+ NoPermissionYet: PlainDescriptor<undefined>;
1867
+ /**
1868
+ * The account is already delegating.
1869
+ */
1870
+ AlreadyDelegating: PlainDescriptor<undefined>;
1871
+ /**
1872
+ * The account currently has votes attached to it and the operation cannot succeed until
1873
+ * these are removed through `remove_vote`.
1874
+ */
1875
+ AlreadyVoting: PlainDescriptor<undefined>;
1876
+ /**
1877
+ * Too high a balance was provided that the account cannot afford.
1878
+ */
1879
+ InsufficientFunds: PlainDescriptor<undefined>;
1880
+ /**
1881
+ * The account is not currently delegating.
1882
+ */
1883
+ NotDelegating: PlainDescriptor<undefined>;
1884
+ /**
1885
+ * Delegation to oneself makes no sense.
1886
+ */
1887
+ Nonsense: PlainDescriptor<undefined>;
1888
+ /**
1889
+ * Maximum number of votes reached.
1890
+ */
1891
+ MaxVotesReached: PlainDescriptor<undefined>;
1892
+ /**
1893
+ * The class must be supplied since it is not easily determinable from the state.
1894
+ */
1895
+ ClassNeeded: PlainDescriptor<undefined>;
1896
+ /**
1897
+ * The class ID supplied is invalid.
1898
+ */
1899
+ BadClass: PlainDescriptor<undefined>;
1900
+ };
1901
+ Referenda: {
1902
+ /**
1903
+ * Referendum is not ongoing.
1904
+ */
1905
+ NotOngoing: PlainDescriptor<undefined>;
1906
+ /**
1907
+ * Referendum's decision deposit is already paid.
1908
+ */
1909
+ HasDeposit: PlainDescriptor<undefined>;
1910
+ /**
1911
+ * The track identifier given was invalid.
1912
+ */
1913
+ BadTrack: PlainDescriptor<undefined>;
1914
+ /**
1915
+ * There are already a full complement of referenda in progress for this track.
1916
+ */
1917
+ Full: PlainDescriptor<undefined>;
1918
+ /**
1919
+ * The queue of the track is empty.
1920
+ */
1921
+ QueueEmpty: PlainDescriptor<undefined>;
1922
+ /**
1923
+ * The referendum index provided is invalid in this context.
1924
+ */
1925
+ BadReferendum: PlainDescriptor<undefined>;
1926
+ /**
1927
+ * There was nothing to do in the advancement.
1928
+ */
1929
+ NothingToDo: PlainDescriptor<undefined>;
1930
+ /**
1931
+ * No track exists for the proposal origin.
1932
+ */
1933
+ NoTrack: PlainDescriptor<undefined>;
1934
+ /**
1935
+ * Any deposit cannot be refunded until after the decision is over.
1936
+ */
1937
+ Unfinished: PlainDescriptor<undefined>;
1938
+ /**
1939
+ * The deposit refunder is not the depositor.
1940
+ */
1941
+ NoPermission: PlainDescriptor<undefined>;
1942
+ /**
1943
+ * The deposit cannot be refunded since none was made.
1944
+ */
1945
+ NoDeposit: PlainDescriptor<undefined>;
1946
+ /**
1947
+ * The referendum status is invalid for this operation.
1948
+ */
1949
+ BadStatus: PlainDescriptor<undefined>;
1950
+ /**
1951
+ * The preimage does not exist.
1952
+ */
1953
+ PreimageNotExist: PlainDescriptor<undefined>;
1954
+ /**
1955
+ * The preimage is stored with a different length than the one provided.
1956
+ */
1957
+ PreimageStoredWithDifferentLength: PlainDescriptor<undefined>;
1958
+ };
1959
+ Whitelist: {
1960
+ /**
1961
+ * The preimage of the call hash could not be loaded.
1962
+ */
1963
+ UnavailablePreImage: PlainDescriptor<undefined>;
1964
+ /**
1965
+ * The call could not be decoded.
1966
+ */
1967
+ UndecodableCall: PlainDescriptor<undefined>;
1968
+ /**
1969
+ * The weight of the decoded call was higher than the witness.
1970
+ */
1971
+ InvalidCallWeightWitness: PlainDescriptor<undefined>;
1972
+ /**
1973
+ * The call was not whitelisted.
1974
+ */
1975
+ CallIsNotWhitelisted: PlainDescriptor<undefined>;
1976
+ /**
1977
+ * The call was already whitelisted; No-Op.
1978
+ */
1979
+ CallAlreadyWhitelisted: PlainDescriptor<undefined>;
1980
+ };
1981
+ Bounties: {
1982
+ /**
1983
+ * Proposer's balance is too low.
1984
+ */
1985
+ InsufficientProposersBalance: PlainDescriptor<undefined>;
1986
+ /**
1987
+ * No proposal or bounty at that index.
1988
+ */
1989
+ InvalidIndex: PlainDescriptor<undefined>;
1990
+ /**
1991
+ * The reason given is just too big.
1992
+ */
1993
+ ReasonTooBig: PlainDescriptor<undefined>;
1994
+ /**
1995
+ * The bounty status is unexpected.
1996
+ */
1997
+ UnexpectedStatus: PlainDescriptor<undefined>;
1998
+ /**
1999
+ * Require bounty curator.
2000
+ */
2001
+ RequireCurator: PlainDescriptor<undefined>;
2002
+ /**
2003
+ * Invalid bounty value.
2004
+ */
2005
+ InvalidValue: PlainDescriptor<undefined>;
2006
+ /**
2007
+ * Invalid bounty fee.
2008
+ */
2009
+ InvalidFee: PlainDescriptor<undefined>;
2010
+ /**
2011
+ * A bounty payout is pending.
2012
+ * To cancel the bounty, you must unassign and slash the curator.
2013
+ */
2014
+ PendingPayout: PlainDescriptor<undefined>;
2015
+ /**
2016
+ * The bounties cannot be claimed/closed because it's still in the countdown period.
2017
+ */
2018
+ Premature: PlainDescriptor<undefined>;
2019
+ /**
2020
+ * The bounty cannot be closed because it has active child bounties.
2021
+ */
2022
+ HasActiveChildBounty: PlainDescriptor<undefined>;
2023
+ /**
2024
+ * Too many approvals are already queued.
2025
+ */
2026
+ TooManyQueued: PlainDescriptor<undefined>;
2027
+ /**
2028
+ * User is not the proposer of the bounty.
2029
+ */
2030
+ NotProposer: PlainDescriptor<undefined>;
2031
+ };
2032
+ ChildBounties: {
2033
+ /**
2034
+ * The parent bounty is not in active state.
2035
+ */
2036
+ ParentBountyNotActive: PlainDescriptor<undefined>;
2037
+ /**
2038
+ * The bounty balance is not enough to add new child-bounty.
2039
+ */
2040
+ InsufficientBountyBalance: PlainDescriptor<undefined>;
2041
+ /**
2042
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2043
+ */
2044
+ TooManyChildBounties: PlainDescriptor<undefined>;
2045
+ };
2046
+ AssetRate: {
2047
+ /**
2048
+ * The given asset ID is unknown.
2049
+ */
2050
+ UnknownAssetKind: PlainDescriptor<undefined>;
2051
+ /**
2052
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
2053
+ */
2054
+ AlreadyExists: PlainDescriptor<undefined>;
2055
+ /**
2056
+ * Overflow ocurred when calculating the inverse rate.
2057
+ */
2058
+ Overflow: PlainDescriptor<undefined>;
2059
+ };
2060
+ MultiAssetBounties: {
2061
+ /**
2062
+ * No child-/bounty at that index.
2063
+ */
2064
+ InvalidIndex: PlainDescriptor<undefined>;
2065
+ /**
2066
+ * The reason given is just too big.
2067
+ */
2068
+ ReasonTooBig: PlainDescriptor<undefined>;
2069
+ /**
2070
+ * Invalid child-/bounty value.
2071
+ */
2072
+ InvalidValue: PlainDescriptor<undefined>;
2073
+ /**
2074
+ * The balance of the asset kind is not convertible to the balance of the native asset for
2075
+ * asserting the origin permissions.
2076
+ */
2077
+ FailedToConvertBalance: PlainDescriptor<undefined>;
2078
+ /**
2079
+ * The child-/bounty status is unexpected.
2080
+ */
2081
+ UnexpectedStatus: PlainDescriptor<undefined>;
2082
+ /**
2083
+ * Require child-/bounty curator.
2084
+ */
2085
+ RequireCurator: PlainDescriptor<undefined>;
2086
+ /**
2087
+ * The spend origin is valid but the amount it is allowed to spend is lower than the
2088
+ * requested amount.
2089
+ */
2090
+ InsufficientPermission: PlainDescriptor<undefined>;
2091
+ /**
2092
+ * There was issue with funding the child-/bounty.
2093
+ */
2094
+ FundingError: PlainDescriptor<undefined>;
2095
+ /**
2096
+ * There was issue with refunding the child-/bounty.
2097
+ */
2098
+ RefundError: PlainDescriptor<undefined>;
2099
+ /**
2100
+
2101
+ */
2102
+ PayoutError: PlainDescriptor<undefined>;
2103
+ /**
2104
+ * Child-/bounty funding has not concluded yet.
2105
+ */
2106
+ FundingInconclusive: PlainDescriptor<undefined>;
2107
+ /**
2108
+ * Child-/bounty refund has not concluded yet.
2109
+ */
2110
+ RefundInconclusive: PlainDescriptor<undefined>;
2111
+ /**
2112
+ * Child-/bounty payout has not concluded yet.
2113
+ */
2114
+ PayoutInconclusive: PlainDescriptor<undefined>;
2115
+ /**
2116
+ * The child-/bounty or funding source account could not be derived from the indexes and
2117
+ * asset kind.
2118
+ */
2119
+ FailedToConvertSource: PlainDescriptor<undefined>;
2120
+ /**
2121
+ * The parent bounty cannot be closed because it has active child bounties.
2122
+ */
2123
+ HasActiveChildBounty: PlainDescriptor<undefined>;
2124
+ /**
2125
+ * Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
2126
+ */
2127
+ TooManyChildBounties: PlainDescriptor<undefined>;
2128
+ /**
2129
+ * The parent bounty value is not enough to add new child-bounty.
2130
+ */
2131
+ InsufficientBountyValue: PlainDescriptor<undefined>;
2132
+ /**
2133
+ * The preimage does not exist.
2134
+ */
2135
+ PreimageNotExist: PlainDescriptor<undefined>;
2136
+ };
2137
+ StateTrieMigration: {
2138
+ /**
2139
+ * Max signed limits not respected.
2140
+ */
2141
+ MaxSignedLimits: PlainDescriptor<undefined>;
2142
+ /**
2143
+ * A key was longer than the configured maximum.
2144
+ *
2145
+ * This means that the migration halted at the current [`Progress`] and
2146
+ * can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
2147
+ * Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
2148
+ * The value should only be increased to avoid a storage migration for the currently
2149
+ * stored [`crate::Progress::LastKey`].
2150
+ */
2151
+ KeyTooLong: PlainDescriptor<undefined>;
2152
+ /**
2153
+ * submitter does not have enough funds.
2154
+ */
2155
+ NotEnoughFunds: PlainDescriptor<undefined>;
2156
+ /**
2157
+ * Bad witness data provided.
2158
+ */
2159
+ BadWitness: PlainDescriptor<undefined>;
2160
+ /**
2161
+ * Signed migration is not allowed because the maximum limit is not set yet.
2162
+ */
2163
+ SignedMigrationNotAllowed: PlainDescriptor<undefined>;
2164
+ /**
2165
+ * Bad child root provided.
2166
+ */
2167
+ BadChildRoot: PlainDescriptor<undefined>;
2168
+ };
2169
+ NominationPools: {
2170
+ /**
2171
+ * A (bonded) pool id does not exist.
2172
+ */
2173
+ PoolNotFound: PlainDescriptor<undefined>;
2174
+ /**
2175
+ * An account is not a member.
2176
+ */
2177
+ PoolMemberNotFound: PlainDescriptor<undefined>;
2178
+ /**
2179
+ * A reward pool does not exist. In all cases this is a system logic error.
2180
+ */
2181
+ RewardPoolNotFound: PlainDescriptor<undefined>;
2182
+ /**
2183
+ * A sub pool does not exist.
2184
+ */
2185
+ SubPoolsNotFound: PlainDescriptor<undefined>;
2186
+ /**
2187
+ * An account is already delegating in another pool. An account may only belong to one
2188
+ * pool at a time.
2189
+ */
2190
+ AccountBelongsToOtherPool: PlainDescriptor<undefined>;
2191
+ /**
2192
+ * The member is fully unbonded (and thus cannot access the bonded and reward pool
2193
+ * anymore to, for example, collect rewards).
2194
+ */
2195
+ FullyUnbonding: PlainDescriptor<undefined>;
2196
+ /**
2197
+ * The member cannot unbond further chunks due to reaching the limit.
2198
+ */
2199
+ MaxUnbondingLimit: PlainDescriptor<undefined>;
2200
+ /**
2201
+ * None of the funds can be withdrawn yet because the bonding duration has not passed.
2202
+ */
2203
+ CannotWithdrawAny: PlainDescriptor<undefined>;
2204
+ /**
2205
+ * The amount does not meet the minimum bond to either join or create a pool.
2206
+ *
2207
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
2208
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
2209
+ * value below `MinJoinBond`.
2210
+ */
2211
+ MinimumBondNotMet: PlainDescriptor<undefined>;
2212
+ /**
2213
+ * The transaction could not be executed due to overflow risk for the pool.
2214
+ */
2215
+ OverflowRisk: PlainDescriptor<undefined>;
2216
+ /**
2217
+ * A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for
2218
+ * other members to be permissionlessly unbonded.
2219
+ */
2220
+ NotDestroying: PlainDescriptor<undefined>;
2221
+ /**
2222
+ * The caller does not have nominating permissions for the pool.
2223
+ */
2224
+ NotNominator: PlainDescriptor<undefined>;
2225
+ /**
2226
+ * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
2227
+ */
2228
+ NotKickerOrDestroying: PlainDescriptor<undefined>;
2229
+ /**
2230
+ * The pool is not open to join
2231
+ */
2232
+ NotOpen: PlainDescriptor<undefined>;
2233
+ /**
2234
+ * The system is maxed out on pools.
2235
+ */
2236
+ MaxPools: PlainDescriptor<undefined>;
2237
+ /**
2238
+ * Too many members in the pool or system.
2239
+ */
2240
+ MaxPoolMembers: PlainDescriptor<undefined>;
2241
+ /**
2242
+ * The pools state cannot be changed.
2243
+ */
2244
+ CanNotChangeState: PlainDescriptor<undefined>;
2245
+ /**
2246
+ * The caller does not have adequate permissions.
2247
+ */
2248
+ DoesNotHavePermission: PlainDescriptor<undefined>;
2249
+ /**
2250
+ * Metadata exceeds [`Config::MaxMetadataLen`]
2251
+ */
2252
+ MetadataExceedsMaxLen: PlainDescriptor<undefined>;
2253
+ /**
2254
+ * Some error occurred that should never happen. This should be reported to the
2255
+ * maintainers.
2256
+ */
2257
+ Defensive: PlainDescriptor<Anonymize<Ie2db4l6126rkt>>;
2258
+ /**
2259
+ * Partial unbonding now allowed permissionlessly.
2260
+ */
2261
+ PartialUnbondNotAllowedPermissionlessly: PlainDescriptor<undefined>;
2262
+ /**
2263
+ * The pool's max commission cannot be set higher than the existing value.
2264
+ */
2265
+ MaxCommissionRestricted: PlainDescriptor<undefined>;
2266
+ /**
2267
+ * The supplied commission exceeds the max allowed commission.
2268
+ */
2269
+ CommissionExceedsMaximum: PlainDescriptor<undefined>;
2270
+ /**
2271
+ * The supplied commission exceeds global maximum commission.
2272
+ */
2273
+ CommissionExceedsGlobalMaximum: PlainDescriptor<undefined>;
2274
+ /**
2275
+ * Not enough blocks have surpassed since the last commission update.
2276
+ */
2277
+ CommissionChangeThrottled: PlainDescriptor<undefined>;
2278
+ /**
2279
+ * The submitted changes to commission change rate are not allowed.
2280
+ */
2281
+ CommissionChangeRateNotAllowed: PlainDescriptor<undefined>;
2282
+ /**
2283
+ * There is no pending commission to claim.
2284
+ */
2285
+ NoPendingCommission: PlainDescriptor<undefined>;
2286
+ /**
2287
+ * No commission current has been set.
2288
+ */
2289
+ NoCommissionCurrentSet: PlainDescriptor<undefined>;
2290
+ /**
2291
+ * Pool id currently in use.
2292
+ */
2293
+ PoolIdInUse: PlainDescriptor<undefined>;
2294
+ /**
2295
+ * Pool id provided is not correct/usable.
2296
+ */
2297
+ InvalidPoolId: PlainDescriptor<undefined>;
2298
+ /**
2299
+ * Bonding extra is restricted to the exact pending reward amount.
2300
+ */
2301
+ BondExtraRestricted: PlainDescriptor<undefined>;
2302
+ /**
2303
+ * No imbalance in the ED deposit for the pool.
2304
+ */
2305
+ NothingToAdjust: PlainDescriptor<undefined>;
2306
+ /**
2307
+ * No slash pending that can be applied to the member.
2308
+ */
2309
+ NothingToSlash: PlainDescriptor<undefined>;
2310
+ /**
2311
+ * The slash amount is too low to be applied.
2312
+ */
2313
+ SlashTooLow: PlainDescriptor<undefined>;
2314
+ /**
2315
+ * The pool or member delegation has already migrated to delegate stake.
2316
+ */
2317
+ AlreadyMigrated: PlainDescriptor<undefined>;
2318
+ /**
2319
+ * The pool or member delegation has not migrated yet to delegate stake.
2320
+ */
2321
+ NotMigrated: PlainDescriptor<undefined>;
2322
+ /**
2323
+ * This call is not allowed in the current state of the pallet.
2324
+ */
2325
+ NotSupported: PlainDescriptor<undefined>;
2326
+ /**
2327
+ * Account is restricted from participation in pools. This may happen if the account is
2328
+ * staking in another way already.
2329
+ */
2330
+ Restricted: PlainDescriptor<undefined>;
2331
+ };
2332
+ VoterList: {
2333
+ /**
2334
+ * A error in the list interface implementation.
2335
+ */
2336
+ List: PlainDescriptor<Anonymize<Ictkqqlhdjt761>>;
2337
+ /**
2338
+ * Could not update a node, because the pallet is locked.
2339
+ */
2340
+ Locked: PlainDescriptor<undefined>;
2341
+ };
2342
+ DelegatedStaking: {
2343
+ /**
2344
+ * The account cannot perform this operation.
2345
+ */
2346
+ NotAllowed: PlainDescriptor<undefined>;
2347
+ /**
2348
+ * An existing staker cannot perform this action.
2349
+ */
2350
+ AlreadyStaking: PlainDescriptor<undefined>;
2351
+ /**
2352
+ * Reward Destination cannot be same as `Agent` account.
2353
+ */
2354
+ InvalidRewardDestination: PlainDescriptor<undefined>;
2355
+ /**
2356
+ * Delegation conditions are not met.
2357
+ *
2358
+ * Possible issues are
2359
+ * 1) Cannot delegate to self,
2360
+ * 2) Cannot delegate to multiple delegates.
2361
+ */
2362
+ InvalidDelegation: PlainDescriptor<undefined>;
2363
+ /**
2364
+ * The account does not have enough funds to perform the operation.
2365
+ */
2366
+ NotEnoughFunds: PlainDescriptor<undefined>;
2367
+ /**
2368
+ * Not an existing `Agent` account.
2369
+ */
2370
+ NotAgent: PlainDescriptor<undefined>;
2371
+ /**
2372
+ * Not a Delegator account.
2373
+ */
2374
+ NotDelegator: PlainDescriptor<undefined>;
2375
+ /**
2376
+ * Some corruption in internal state.
2377
+ */
2378
+ BadState: PlainDescriptor<undefined>;
2379
+ /**
2380
+ * Unapplied pending slash restricts operation on `Agent`.
2381
+ */
2382
+ UnappliedSlash: PlainDescriptor<undefined>;
2383
+ /**
2384
+ * `Agent` has no pending slash to be applied.
2385
+ */
2386
+ NothingToSlash: PlainDescriptor<undefined>;
2387
+ /**
2388
+ * Failed to withdraw amount from Core Staking.
2389
+ */
2390
+ WithdrawFailed: PlainDescriptor<undefined>;
2391
+ /**
2392
+ * Operation not supported by this pallet.
2393
+ */
2394
+ NotSupported: PlainDescriptor<undefined>;
2395
+ };
2396
+ StakingRcClient: {
2397
+ /**
2398
+ * Failed to send XCM message to the Relay Chain.
2399
+ */
2400
+ XcmSendFailed: PlainDescriptor<undefined>;
2401
+ /**
2402
+ * The origin account is not a registered validator.
2403
+ *
2404
+ * Only accounts that have called `validate()` can set or purge session keys. When called
2405
+ * via a staking proxy, the origin is the delegating account (stash), which must be a
2406
+ * registered validator.
2407
+ */
2408
+ NotValidator: PlainDescriptor<undefined>;
2409
+ /**
2410
+ * The session keys could not be decoded as the expected RelayChainSessionKeys type.
2411
+ */
2412
+ InvalidKeys: PlainDescriptor<undefined>;
2413
+ /**
2414
+ * Invalid ownership proof for the session keys.
2415
+ */
2416
+ InvalidProof: PlainDescriptor<undefined>;
2417
+ /**
2418
+ * Delivery fees exceeded the specified maximum.
2419
+ */
2420
+ FeesExceededMax: PlainDescriptor<undefined>;
2421
+ };
2422
+ MultiBlockElection: {
2423
+ /**
2424
+ * Triggering the `Fallback` failed.
2425
+ */
2426
+ Fallback: PlainDescriptor<undefined>;
2427
+ /**
2428
+ * Unexpected phase
2429
+ */
2430
+ UnexpectedPhase: PlainDescriptor<undefined>;
2431
+ /**
2432
+ * Snapshot was unavailable.
2433
+ */
2434
+ Snapshot: PlainDescriptor<undefined>;
2435
+ };
2436
+ MultiBlockElectionSigned: {
2437
+ /**
2438
+ * The phase is not signed.
2439
+ */
2440
+ PhaseNotSigned: PlainDescriptor<undefined>;
2441
+ /**
2442
+ * The submission is a duplicate.
2443
+ */
2444
+ Duplicate: PlainDescriptor<undefined>;
2445
+ /**
2446
+ * The queue is full.
2447
+ */
2448
+ QueueFull: PlainDescriptor<undefined>;
2449
+ /**
2450
+ * The page index is out of bounds.
2451
+ */
2452
+ BadPageIndex: PlainDescriptor<undefined>;
2453
+ /**
2454
+ * The account is not registered.
2455
+ */
2456
+ NotRegistered: PlainDescriptor<undefined>;
2457
+ /**
2458
+ * No submission found.
2459
+ */
2460
+ NoSubmission: PlainDescriptor<undefined>;
2461
+ /**
2462
+ * Round is not yet over.
2463
+ */
2464
+ RoundNotOver: PlainDescriptor<undefined>;
2465
+ /**
2466
+ * Bad witness data provided.
2467
+ */
2468
+ BadWitnessData: PlainDescriptor<undefined>;
2469
+ /**
2470
+ * Too many invulnerable accounts are provided,
2471
+ */
2472
+ TooManyInvulnerables: PlainDescriptor<undefined>;
2473
+ };
2474
+ Staking: {
2475
+ /**
2476
+ * Not a controller account.
2477
+ */
2478
+ NotController: PlainDescriptor<undefined>;
2479
+ /**
2480
+ * Not a stash account.
2481
+ */
2482
+ NotStash: PlainDescriptor<undefined>;
2483
+ /**
2484
+ * Stash is already bonded.
2485
+ */
2486
+ AlreadyBonded: PlainDescriptor<undefined>;
2487
+ /**
2488
+ * Controller is already paired.
2489
+ */
2490
+ AlreadyPaired: PlainDescriptor<undefined>;
2491
+ /**
2492
+ * Targets cannot be empty.
2493
+ */
2494
+ EmptyTargets: PlainDescriptor<undefined>;
2495
+ /**
2496
+ * Duplicate index.
2497
+ */
2498
+ DuplicateIndex: PlainDescriptor<undefined>;
2499
+ /**
2500
+ * Slash record not found.
2501
+ */
2502
+ InvalidSlashRecord: PlainDescriptor<undefined>;
2503
+ /**
2504
+ * Cannot bond, nominate or validate with value less than the minimum defined by
2505
+ * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
2506
+ * intention, `chill` first to remove one's role as validator/nominator.
2507
+ */
2508
+ InsufficientBond: PlainDescriptor<undefined>;
2509
+ /**
2510
+ * Can not schedule more unlock chunks.
2511
+ */
2512
+ NoMoreChunks: PlainDescriptor<undefined>;
2513
+ /**
2514
+ * Can not rebond without unlocking chunks.
2515
+ */
2516
+ NoUnlockChunk: PlainDescriptor<undefined>;
2517
+ /**
2518
+ * Attempting to target a stash that still has funds.
2519
+ */
2520
+ FundedTarget: PlainDescriptor<undefined>;
2521
+ /**
2522
+ * Invalid era to reward.
2523
+ */
2524
+ InvalidEraToReward: PlainDescriptor<undefined>;
2525
+ /**
2526
+ * Invalid number of nominations.
2527
+ */
2528
+ InvalidNumberOfNominations: PlainDescriptor<undefined>;
2529
+ /**
2530
+ * Rewards for this era have already been claimed for this validator.
2531
+ */
2532
+ AlreadyClaimed: PlainDescriptor<undefined>;
2533
+ /**
2534
+ * No nominators exist on this page.
2535
+ */
2536
+ InvalidPage: PlainDescriptor<undefined>;
2537
+ /**
2538
+ * Incorrect previous history depth input provided.
2539
+ */
2540
+ IncorrectHistoryDepth: PlainDescriptor<undefined>;
2541
+ /**
2542
+ * Internal state has become somehow corrupted and the operation cannot continue.
2543
+ */
2544
+ BadState: PlainDescriptor<undefined>;
2545
+ /**
2546
+ * Too many nomination targets supplied.
2547
+ */
2548
+ TooManyTargets: PlainDescriptor<undefined>;
2549
+ /**
2550
+ * A nomination target was supplied that was blocked or otherwise not a validator.
2551
+ */
2552
+ BadTarget: PlainDescriptor<undefined>;
2553
+ /**
2554
+ * The user has enough bond and thus cannot be chilled forcefully by an external person.
2555
+ */
2556
+ CannotChillOther: PlainDescriptor<undefined>;
2557
+ /**
2558
+ * There are too many nominators in the system. Governance needs to adjust the staking
2559
+ * settings to keep things safe for the runtime.
2560
+ */
2561
+ TooManyNominators: PlainDescriptor<undefined>;
2562
+ /**
2563
+ * There are too many validator candidates in the system. Governance needs to adjust the
2564
+ * staking settings to keep things safe for the runtime.
2565
+ */
2566
+ TooManyValidators: PlainDescriptor<undefined>;
2567
+ /**
2568
+ * Commission is too low. Must be at least `MinCommission`.
2569
+ */
2570
+ CommissionTooLow: PlainDescriptor<undefined>;
2571
+ /**
2572
+ * Some bound is not met.
2573
+ */
2574
+ BoundNotMet: PlainDescriptor<undefined>;
2575
+ /**
2576
+ * Used when attempting to use deprecated controller account logic.
2577
+ */
2578
+ ControllerDeprecated: PlainDescriptor<undefined>;
2579
+ /**
2580
+ * Cannot reset a ledger.
2581
+ */
2582
+ CannotRestoreLedger: PlainDescriptor<undefined>;
2583
+ /**
2584
+ * Provided reward destination is not allowed.
2585
+ */
2586
+ RewardDestinationRestricted: PlainDescriptor<undefined>;
2587
+ /**
2588
+ * Not enough funds available to withdraw.
2589
+ */
2590
+ NotEnoughFunds: PlainDescriptor<undefined>;
2591
+ /**
2592
+ * Operation not allowed for virtual stakers.
2593
+ */
2594
+ VirtualStakerNotAllowed: PlainDescriptor<undefined>;
2595
+ /**
2596
+ * Stash could not be reaped as other pallet might depend on it.
2597
+ */
2598
+ CannotReapStash: PlainDescriptor<undefined>;
2599
+ /**
2600
+ * The stake of this account is already migrated to `Fungible` holds.
2601
+ */
2602
+ AlreadyMigrated: PlainDescriptor<undefined>;
2603
+ /**
2604
+ * Era not yet started.
2605
+ */
2606
+ EraNotStarted: PlainDescriptor<undefined>;
2607
+ /**
2608
+ * Account is restricted from participation in staking. This may happen if the account is
2609
+ * staking in another way already, such as via pool.
2610
+ */
2611
+ Restricted: PlainDescriptor<undefined>;
2612
+ /**
2613
+ * Unapplied slashes in the recently concluded era is blocking this operation.
2614
+ * See `Call::apply_slash` to apply them.
2615
+ */
2616
+ UnappliedSlashesInPreviousEra: PlainDescriptor<undefined>;
2617
+ /**
2618
+ * The era is not eligible for pruning.
2619
+ */
2620
+ EraNotPrunable: PlainDescriptor<undefined>;
2621
+ /**
2622
+ * The slash has been cancelled and cannot be applied.
2623
+ */
2624
+ CancelledSlash: PlainDescriptor<undefined>;
2625
+ /**
2626
+ * Commission is higher than the allowed maximum `MaxCommission`.
2627
+ */
2628
+ CommissionTooHigh: PlainDescriptor<undefined>;
2629
+ /**
2630
+ * Optimum self-stake cannot be greater than hard cap.
2631
+ */
2632
+ OptimumGreaterThanCap: PlainDescriptor<undefined>;
2633
+ };
2634
+ Revive: {
2635
+ /**
2636
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
2637
+ */
2638
+ InvalidSchedule: PlainDescriptor<undefined>;
2639
+ /**
2640
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
2641
+ */
2642
+ InvalidCallFlags: PlainDescriptor<undefined>;
2643
+ /**
2644
+ * The executed contract exhausted its gas limit.
2645
+ */
2646
+ OutOfGas: PlainDescriptor<undefined>;
2647
+ /**
2648
+ * Performing the requested transfer failed. Probably because there isn't enough
2649
+ * free balance in the sender's account.
2650
+ */
2651
+ TransferFailed: PlainDescriptor<undefined>;
2652
+ /**
2653
+ * Performing a call was denied because the calling depth reached the limit
2654
+ * of what is specified in the schedule.
2655
+ */
2656
+ MaxCallDepthReached: PlainDescriptor<undefined>;
2657
+ /**
2658
+ * No contract was found at the specified address.
2659
+ */
2660
+ ContractNotFound: PlainDescriptor<undefined>;
2661
+ /**
2662
+ * No code could be found at the supplied code hash.
2663
+ */
2664
+ CodeNotFound: PlainDescriptor<undefined>;
2665
+ /**
2666
+ * No code info could be found at the supplied code hash.
2667
+ */
2668
+ CodeInfoNotFound: PlainDescriptor<undefined>;
2669
+ /**
2670
+ * A buffer outside of sandbox memory was passed to a contract API function.
2671
+ */
2672
+ OutOfBounds: PlainDescriptor<undefined>;
2673
+ /**
2674
+ * Input passed to a contract API function failed to decode as expected type.
2675
+ */
2676
+ DecodingFailed: PlainDescriptor<undefined>;
2677
+ /**
2678
+ * Contract trapped during execution.
2679
+ */
2680
+ ContractTrapped: PlainDescriptor<undefined>;
2681
+ /**
2682
+ * Event body or storage item exceeds [`limits::STORAGE_BYTES`].
2683
+ */
2684
+ ValueTooLarge: PlainDescriptor<undefined>;
2685
+ /**
2686
+ * Termination of a contract is not allowed while the contract is already
2687
+ * on the call stack. Can be triggered by `seal_terminate`.
2688
+ */
2689
+ TerminatedWhileReentrant: PlainDescriptor<undefined>;
2690
+ /**
2691
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
2692
+ */
2693
+ InputForwarded: PlainDescriptor<undefined>;
2694
+ /**
2695
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
2696
+ */
2697
+ TooManyTopics: PlainDescriptor<undefined>;
2698
+ /**
2699
+ * A contract with the same AccountId already exists.
2700
+ */
2701
+ DuplicateContract: PlainDescriptor<undefined>;
2702
+ /**
2703
+ * A contract self destructed in its constructor.
2704
+ *
2705
+ * This can be triggered by a call to `seal_terminate`.
2706
+ */
2707
+ TerminatedInConstructor: PlainDescriptor<undefined>;
2708
+ /**
2709
+ * A call tried to invoke a contract that is flagged as non-reentrant.
2710
+ */
2711
+ ReentranceDenied: PlainDescriptor<undefined>;
2712
+ /**
2713
+ * A contract called into the runtime which then called back into this pallet.
2714
+ */
2715
+ ReenteredPallet: PlainDescriptor<undefined>;
2716
+ /**
2717
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
2718
+ */
2719
+ StateChangeDenied: PlainDescriptor<undefined>;
2720
+ /**
2721
+ * Origin doesn't have enough balance to pay the required storage deposits.
2722
+ */
2723
+ StorageDepositNotEnoughFunds: PlainDescriptor<undefined>;
2724
+ /**
2725
+ * More storage was created than allowed by the storage deposit limit.
2726
+ */
2727
+ StorageDepositLimitExhausted: PlainDescriptor<undefined>;
2728
+ /**
2729
+ * Code removal was denied because the code is still in use by at least one contract.
2730
+ */
2731
+ CodeInUse: PlainDescriptor<undefined>;
2732
+ /**
2733
+ * The contract ran to completion but decided to revert its storage changes.
2734
+ * Please note that this error is only returned from extrinsics. When called directly
2735
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
2736
+ * to determine whether a reversion has taken place.
2737
+ */
2738
+ ContractReverted: PlainDescriptor<undefined>;
2739
+ /**
2740
+ * The contract failed to compile or is missing the correct entry points.
2741
+ *
2742
+ * A more detailed error can be found on the node console if debug messages are enabled
2743
+ * by supplying `-lruntime::revive=debug`.
2744
+ */
2745
+ CodeRejected: PlainDescriptor<undefined>;
2746
+ /**
2747
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
2748
+ */
2749
+ BlobTooLarge: PlainDescriptor<undefined>;
2750
+ /**
2751
+ * The contract declares too much memory (ro + rw + stack).
2752
+ */
2753
+ StaticMemoryTooLarge: PlainDescriptor<undefined>;
2754
+ /**
2755
+ * The program contains a basic block that is larger than allowed.
2756
+ */
2757
+ BasicBlockTooLarge: PlainDescriptor<undefined>;
2758
+ /**
2759
+ * The program contains an invalid instruction.
2760
+ */
2761
+ InvalidInstruction: PlainDescriptor<undefined>;
2762
+ /**
2763
+ * The contract has reached its maximum number of delegate dependencies.
2764
+ */
2765
+ MaxDelegateDependenciesReached: PlainDescriptor<undefined>;
2766
+ /**
2767
+ * The dependency was not found in the contract's delegate dependencies.
2768
+ */
2769
+ DelegateDependencyNotFound: PlainDescriptor<undefined>;
2770
+ /**
2771
+ * The contract already depends on the given delegate dependency.
2772
+ */
2773
+ DelegateDependencyAlreadyExists: PlainDescriptor<undefined>;
2774
+ /**
2775
+ * Can not add a delegate dependency to the code hash of the contract itself.
2776
+ */
2777
+ CannotAddSelfAsDelegateDependency: PlainDescriptor<undefined>;
2778
+ /**
2779
+ * Can not add more data to transient storage.
2780
+ */
2781
+ OutOfTransientStorage: PlainDescriptor<undefined>;
2782
+ /**
2783
+ * The contract tried to call a syscall which does not exist (at its current api level).
2784
+ */
2785
+ InvalidSyscall: PlainDescriptor<undefined>;
2786
+ /**
2787
+ * Invalid storage flags were passed to one of the storage syscalls.
2788
+ */
2789
+ InvalidStorageFlags: PlainDescriptor<undefined>;
2790
+ /**
2791
+ * PolkaVM failed during code execution. Probably due to a malformed program.
2792
+ */
2793
+ ExecutionFailed: PlainDescriptor<undefined>;
2794
+ /**
2795
+ * Failed to convert a U256 to a Balance.
2796
+ */
2797
+ BalanceConversionFailed: PlainDescriptor<undefined>;
2798
+ /**
2799
+ * Immutable data can only be set during deploys and only be read during calls.
2800
+ * Additionally, it is only valid to set the data once and it must not be empty.
2801
+ */
2802
+ InvalidImmutableAccess: PlainDescriptor<undefined>;
2803
+ /**
2804
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
2805
+ *
2806
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
2807
+ */
2808
+ AccountUnmapped: PlainDescriptor<undefined>;
2809
+ /**
2810
+ * Tried to map an account that is already mapped.
2811
+ */
2812
+ AccountAlreadyMapped: PlainDescriptor<undefined>;
2813
+ /**
2814
+ * The transaction used to dry-run a contract is invalid.
2815
+ */
2816
+ InvalidGenericTransaction: PlainDescriptor<undefined>;
2817
+ /**
2818
+ * The refcount of a code either over or underflowed.
2819
+ */
2820
+ RefcountOverOrUnderflow: PlainDescriptor<undefined>;
2821
+ /**
2822
+ * Unsupported precompile address.
2823
+ */
2824
+ UnsupportedPrecompileAddress: PlainDescriptor<undefined>;
2825
+ /**
2826
+ * The calldata exceeds [`limits::CALLDATA_BYTES`].
2827
+ */
2828
+ CallDataTooLarge: PlainDescriptor<undefined>;
2829
+ /**
2830
+ * The return data exceeds [`limits::CALLDATA_BYTES`].
2831
+ */
2832
+ ReturnDataTooLarge: PlainDescriptor<undefined>;
2833
+ /**
2834
+ * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
2835
+ */
2836
+ InvalidJump: PlainDescriptor<undefined>;
2837
+ /**
2838
+ * Attempting to pop a value from an empty stack.
2839
+ */
2840
+ StackUnderflow: PlainDescriptor<undefined>;
2841
+ /**
2842
+ * Attempting to push a value onto a full stack.
2843
+ */
2844
+ StackOverflow: PlainDescriptor<undefined>;
2845
+ /**
2846
+ * Too much deposit was drawn from the shared txfee and deposit credit.
2847
+ *
2848
+ * This happens if the passed `gas` inside the ethereum transaction is too low.
2849
+ */
2850
+ TxFeeOverdraw: PlainDescriptor<undefined>;
2851
+ /**
2852
+ * When calling an EVM constructor `data` has to be empty.
2853
+ *
2854
+ * EVM constructors do not accept data. Their input data is part of the code blob itself.
2855
+ */
2856
+ EvmConstructorNonEmptyData: PlainDescriptor<undefined>;
2857
+ /**
2858
+ * Tried to construct an EVM contract via code hash.
2859
+ *
2860
+ * EVM contracts can only be instantiated via code upload as no initcode is
2861
+ * stored on-chain.
2862
+ */
2863
+ EvmConstructedFromHash: PlainDescriptor<undefined>;
2864
+ /**
2865
+ * The contract does not have enough balance to refund the storage deposit.
2866
+ *
2867
+ * This is a bug and should never happen. It means the accounting got out of sync.
2868
+ */
2869
+ StorageRefundNotEnoughFunds: PlainDescriptor<undefined>;
2870
+ /**
2871
+ * This means there are locks on the contracts storage deposit that prevents refunding it.
2872
+ *
2873
+ * This would be the case if the contract used its storage deposits for governance
2874
+ * or other pallets that allow creating locks over held balance.
2875
+ */
2876
+ StorageRefundLocked: PlainDescriptor<undefined>;
2877
+ /**
2878
+ * Called a pre-compile that is not allowed to be delegate called.
2879
+ *
2880
+ * Some pre-compile functions will trap the caller context if being delegate
2881
+ * called or if their caller was being delegate called.
2882
+ */
2883
+ PrecompileDelegateDenied: PlainDescriptor<undefined>;
2884
+ /**
2885
+ * ECDSA public key recovery failed. Most probably wrong recovery id or signature.
2886
+ */
2887
+ EcdsaRecoveryFailed: PlainDescriptor<undefined>;
2888
+ /**
2889
+ * Manual mapping is disabled when auto-mapping is enabled.
2890
+ */
2891
+ AutoMappingEnabled: PlainDescriptor<undefined>;
2892
+ /**
2893
+ * A contract cannot be created at this address: it still has uncleared
2894
+ * [`NativeDepositOf`] entries from a previously terminated contract that the deletion
2895
+ * queue has not yet drained.
2896
+ */
2897
+ PendingDepositCleanup: PlainDescriptor<undefined>;
2898
+ };
2899
+ AssetsPrecompilesPermit: {
2900
+ /**
2901
+ * The permit signature is invalid.
2902
+ */
2903
+ InvalidSignature: PlainDescriptor<undefined>;
2904
+ /**
2905
+ * The signer does not match the owner.
2906
+ */
2907
+ SignerMismatch: PlainDescriptor<undefined>;
2908
+ /**
2909
+ * The permit has expired (deadline passed).
2910
+ */
2911
+ PermitExpired: PlainDescriptor<undefined>;
2912
+ /**
2913
+ * The signature's `s` value is too high (malleability protection).
2914
+ */
2915
+ SignatureSValueTooHigh: PlainDescriptor<undefined>;
2916
+ /**
2917
+ * The signature's `v` value is invalid.
2918
+ */
2919
+ InvalidVValue: PlainDescriptor<undefined>;
2920
+ /**
2921
+ * Nonce overflow - account has used too many permits.
2922
+ */
2923
+ NonceOverflow: PlainDescriptor<undefined>;
2924
+ /**
2925
+ * The owner address is invalid (e.g., zero address).
2926
+ */
2927
+ InvalidOwner: PlainDescriptor<undefined>;
2928
+ /**
2929
+ * The spender address is invalid (e.g., zero address).
2930
+ */
2931
+ InvalidSpender: PlainDescriptor<undefined>;
2932
+ };
2933
+ AhOps: {
2934
+ /**
2935
+ * Either no lease deposit or already unreserved.
2936
+ */
2937
+ NoLeaseReserve: PlainDescriptor<undefined>;
2938
+ /**
2939
+ * Either no crowdloan contribution or already withdrawn.
2940
+ */
2941
+ NoCrowdloanContribution: PlainDescriptor<undefined>;
2942
+ /**
2943
+ * Either no crowdloan reserve or already unreserved.
2944
+ */
2945
+ NoCrowdloanReserve: PlainDescriptor<undefined>;
2946
+ /**
2947
+ * Failed to withdraw crowdloan contribution.
2948
+ */
2949
+ FailedToWithdrawCrowdloanContribution: PlainDescriptor<undefined>;
2950
+ /**
2951
+ * Block number is not yet reached.
2952
+ */
2953
+ NotYet: PlainDescriptor<undefined>;
2954
+ /**
2955
+ * Not all contributions are withdrawn.
2956
+ */
2957
+ ContributionsRemaining: PlainDescriptor<undefined>;
2958
+ /**
2959
+ * The account is not a derived account.
2960
+ */
2961
+ WrongDerivedTranslation: PlainDescriptor<undefined>;
2962
+ /**
2963
+ * Account cannot be migrated since it is not a sovereign parachain account.
2964
+ */
2965
+ NotSovereign: PlainDescriptor<undefined>;
2966
+ /**
2967
+ * Internal error, please bug report.
2968
+ */
2969
+ InternalError: PlainDescriptor<undefined>;
2970
+ /**
2971
+ * The Asset Hub migration is not completed.
2972
+ */
2973
+ MigrationNotCompleted: PlainDescriptor<undefined>;
2974
+ /**
2975
+ * The balance is zero.
2976
+ */
2977
+ ZeroBalance: PlainDescriptor<undefined>;
2978
+ /**
2979
+ * Failed to transfer balance.
2980
+ */
2981
+ FailedToTransfer: PlainDescriptor<undefined>;
2982
+ /**
2983
+ * The account has already been translated.
2984
+ */
2985
+ AlreadyTranslated: PlainDescriptor<undefined>;
2986
+ /**
2987
+ * The derivation path is too long.
2988
+ */
2989
+ TooLongDerivationPath: PlainDescriptor<undefined>;
2990
+ /**
2991
+ * Failed to force unstake.
2992
+ */
2993
+ FailedToForceUnstake: PlainDescriptor<undefined>;
2994
+ };
2995
+ };
2996
+ type IConstants = {};
2997
+ type IViewFns = {};
2998
+ type IRuntimeCalls = {
2999
+ /**
3000
+ * A trait of XCM payment API.
3001
+ *
3002
+ * API provides functionality for obtaining:
3003
+ *
3004
+ * * the weight required to execute an XCM message,
3005
+ * * a list of acceptable `AssetId`s for message execution payment,
3006
+ * * the cost of the weight in the specified acceptable `AssetId`.
3007
+ * * the fees for an XCM message delivery.
3008
+ *
3009
+ * To determine the execution weight of the calls required for
3010
+ * [`xcm::latest::Instruction::Transact`] instruction, `TransactionPaymentCallApi` can be used.
3011
+ */
3012
+ XcmPaymentApi: {
3013
+ /**
3014
+ * Returns a list of acceptable payment assets.
3015
+ *
3016
+ * # Arguments
3017
+ *
3018
+ * * `xcm_version`: Version.
3019
+ */
3020
+ query_acceptable_payment_assets: RuntimeDescriptor<[xcm_version: number], Anonymize<Iftvbctbo05fu4>>;
3021
+ /**
3022
+ * Returns a weight needed to execute a XCM.
3023
+ *
3024
+ * # Arguments
3025
+ *
3026
+ * * `message`: `VersionedXcm`.
3027
+ */
3028
+ query_xcm_weight: RuntimeDescriptor<[message: XcmVersionedXcm], Anonymize<Ic0c3req3mlc1l>>;
3029
+ /**
3030
+ * Converts a weight into a fee for the specified `AssetId`.
3031
+ *
3032
+ * # Arguments
3033
+ *
3034
+ * * `weight`: convertible `Weight`.
3035
+ * * `asset`: `VersionedAssetId`.
3036
+ */
3037
+ query_weight_to_asset_fee: RuntimeDescriptor<[weight: Anonymize<I4q39t5hn830vp>, asset: XcmVersionedAssetId], Anonymize<I7ocn4njqde3v5>>;
3038
+ /**
3039
+ * Query delivery fees V2.
3040
+ *
3041
+ * Get delivery fees for sending a specific `message` to a `destination`.
3042
+ * These always come in a specific asset, defined by the chain.
3043
+ *
3044
+ * # Arguments
3045
+ * * `message`: The message that'll be sent, necessary because most delivery fees are based on the
3046
+ * size of the message.
3047
+ * * `destination`: The destination to send the message to. Different destinations may use
3048
+ * different senders that charge different fees.
3049
+ */
3050
+ query_delivery_fees: RuntimeDescriptor<[destination: XcmVersionedLocation, message: XcmVersionedXcm, asset_id: XcmVersionedAssetId], Anonymize<Iek7ha36da9mf5>>;
3051
+ };
3052
+ /**
3053
+ * API for dry-running extrinsics and XCM programs to get the programs that need to be passed to the fees API.
3054
+ *
3055
+ * All calls return a vector of tuples (location, xcm) where each "xcm" is executed in "location".
3056
+ * If there's local execution, the location will be "Here".
3057
+ * This vector can be used to calculate both execution and delivery fees.
3058
+ *
3059
+ * Calls or XCMs might fail when executed, this doesn't mean the result of these calls will be an `Err`.
3060
+ * In those cases, there might still be a valid result, with the execution error inside it.
3061
+ * The only reasons why these calls might return an error are listed in the [`Error`] enum.
3062
+ */
3063
+ DryRunApi: {
3064
+ /**
3065
+ * Dry run call V2.
3066
+ */
3067
+ dry_run_call: RuntimeDescriptor<[origin: Anonymize<I7qpv90droestd>, call: Anonymize<I785ek4pgn6k35>, result_xcms_version: number], Anonymize<Iae250dgeu7tp6>>;
3068
+ /**
3069
+ * Dry run XCM program
3070
+ */
3071
+ dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<I68d4gbta4a6d1>>;
3072
+ };
3073
+ /**
3074
+ * This runtime api allows people to query the size of the liquidity pools
3075
+ * and quote prices for swaps.
3076
+ */
3077
+ AssetConversionApi: {
3078
+ /**
3079
+ * Provides a quote for [`Pallet::swap_tokens_for_exact_tokens`].
3080
+ *
3081
+ * Note that the price may have changed by the time the transaction is executed.
3082
+ * (Use `amount_in_max` to control slippage.)
3083
+ */
3084
+ quote_price_tokens_for_exact_tokens: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>, amount: bigint, include_fee: boolean], Anonymize<I35p85j063s0il>>;
3085
+ /**
3086
+ * Provides a quote for [`Pallet::swap_exact_tokens_for_tokens`].
3087
+ *
3088
+ * Note that the price may have changed by the time the transaction is executed.
3089
+ * (Use `amount_out_min` to control slippage.)
3090
+ */
3091
+ quote_price_exact_tokens_for_tokens: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>, amount: bigint, include_fee: boolean], Anonymize<I35p85j063s0il>>;
3092
+ /**
3093
+ * Returns the size of the liquidity pool for the given asset pair.
3094
+ */
3095
+ get_reserves: RuntimeDescriptor<[asset1: Anonymize<If9iqq7i64mur8>, asset2: Anonymize<If9iqq7i64mur8>], Anonymize<I5vv5n03oo8gas>>;
3096
+ };
3097
+ };
3098
+ export type AhpDispatchError = unknown;
3099
+ type IAsset = PlainDescriptor<Anonymize<If9iqq7i64mur8>>;
3100
+ export type AhpExtensions = {};
3101
+ type PalletsTypedef = {
3102
+ __storage: IStorage;
3103
+ __tx: ICalls;
3104
+ __event: IEvent;
3105
+ __error: IError;
3106
+ __const: IConstants;
3107
+ __view: IViewFns;
3108
+ };
3109
+ export type Ahp = {
3110
+ descriptors: {
3111
+ pallets: PalletsTypedef;
3112
+ apis: IRuntimeCalls;
3113
+ } & Promise<any>;
3114
+ metadataTypes: Promise<Uint8Array>;
3115
+ asset: IAsset;
3116
+ extensions: AhpExtensions;
3117
+ getMetadata: () => Promise<Uint8Array>;
3118
+ genesis: string | undefined;
3119
+ };
3120
+ declare const _allDescriptors: Ahp;
3121
+ export default _allDescriptors;
3122
+ export type AhpApis = ApisFromDef<IRuntimeCalls>;
3123
+ export type AhpQueries = QueryFromPalletsDef<PalletsTypedef>;
3124
+ export type AhpCalls = TxFromPalletsDef<PalletsTypedef>;
3125
+ export type AhpEvents = EventsFromPalletsDef<PalletsTypedef>;
3126
+ export type AhpErrors = ErrorsFromPalletsDef<PalletsTypedef>;
3127
+ export type AhpConstants = ConstFromPalletsDef<PalletsTypedef>;
3128
+ export type AhpViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
3129
+ export type AhpCallData = Anonymize<I785ek4pgn6k35> & {
3130
+ value: {
3131
+ type: string;
3132
+ };
3133
+ };
3134
+ type AllInteractions = {
3135
+ storage: {
3136
+ System: ['Account', 'ExtrinsicCount', 'InherentsApplied', 'BlockWeight', 'BlockSize', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'BlocksTillUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase', 'AuthorizedUpgrade', 'ExtrinsicWeightReclaimed'];
3137
+ ParachainSystem: ['BlockWeightMode', 'PreviousCoreCount', 'UnincludedSegment', 'AggregatedUnincludedSegment', 'PendingValidationCode', 'NewValidationCode', 'ValidationData', 'DidSetValidationCode', 'LastRelayChainBlockNumber', 'UpgradeRestrictionSignal', 'UpgradeGoAhead', 'RelayStateProof', 'RelevantMessagingState', 'HostConfiguration', 'LastDmqMqcHead', 'LastHrmpMqcHeads', 'ProcessedDownwardMessages', 'LastProcessedDownwardMessage', 'HrmpWatermark', 'LastProcessedHrmpMessage', 'HrmpOutboundMessages', 'UpwardMessages', 'PendingUpwardMessages', 'PendingUpwardSignals', 'PendingApprovedPeer', 'UpwardDeliveryFeeFactor', 'AnnouncedHrmpMessagesPerCandidate', 'ReservedXcmpWeightOverride', 'ReservedDmpWeightOverride', 'CustomValidationHeadData', 'PoVMessagesTracker'];
3138
+ Timestamp: ['Now', 'DidUpdate'];
3139
+ ParachainInfo: ['ParachainId'];
3140
+ Preimage: ['StatusFor', 'RequestStatusFor', 'PreimageFor'];
3141
+ Scheduler: ['IncompleteSince', 'Agenda', 'Retries', 'Lookup'];
3142
+ Parameters: ['Parameters'];
3143
+ MultiBlockMigrations: ['Cursor', 'Historic'];
3144
+ Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes'];
3145
+ TransactionPayment: ['NextFeeMultiplier', 'StorageVersion', 'TxPaymentCredit'];
3146
+ Vesting: ['Vesting', 'StorageVersion'];
3147
+ Claims: ['Claims', 'Total', 'Vesting', 'Signing', 'Preclaims'];
3148
+ Dap: ['BudgetAllocation', 'LastIssuanceTimestamp'];
3149
+ Authorship: ['Author'];
3150
+ CollatorSelection: ['Invulnerables', 'CandidateList', 'LastAuthoredBlock', 'DesiredCandidates', 'CandidacyBond'];
3151
+ Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner', 'ExternallySetKeys'];
3152
+ Aura: ['Authorities', 'CurrentSlot'];
3153
+ AuraExt: ['Authorities', 'RelaySlotInfo'];
3154
+ XcmpQueue: ['InboundXcmpSuspended', 'OutboundXcmpStatus', 'OutboundXcmpMessages', 'SignalMessages', 'QueueConfig', 'QueueSuspended', 'DeliveryFeeFactor'];
3155
+ PolkadotXcm: ['QueryCounter', 'Queries', 'AssetTraps', 'SafeXcmVersion', 'SupportedVersion', 'VersionNotifiers', 'VersionNotifyTargets', 'VersionDiscoveryQueue', 'CurrentMigration', 'RemoteLockedFungibles', 'LockedFungibles', 'XcmExecutionSuspended', 'ShouldRecordXcm', 'RecordedXcm', 'AuthorizedAliases'];
3156
+ ToKusamaXcmRouter: ['Bridge'];
3157
+ MessageQueue: ['BookStateFor', 'ServiceHead', 'Pages'];
3158
+ SnowbridgeSystemFrontend: ['ExportOperatingMode'];
3159
+ Multisig: ['Multisigs'];
3160
+ Proxy: ['Proxies', 'Announcements'];
3161
+ Indices: ['Accounts'];
3162
+ Assets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId'];
3163
+ Uniques: ['Class', 'OwnershipAcceptance', 'Account', 'ClassAccount', 'Asset', 'ClassMetadataOf', 'InstanceMetadataOf', 'Attribute', 'ItemPriceOf', 'CollectionMaxSupply'];
3164
+ Nfts: ['Collection', 'OwnershipAcceptance', 'Account', 'CollectionAccount', 'CollectionRoleOf', 'Item', 'CollectionMetadataOf', 'ItemMetadataOf', 'Attribute', 'ItemPriceOf', 'ItemAttributesApprovalsOf', 'NextCollectionId', 'PendingSwapOf', 'CollectionConfigOf', 'ItemConfigOf'];
3165
+ ForeignAssets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId'];
3166
+ PoolAssets: ['Asset', 'Account', 'Approvals', 'Metadata', 'Reserves', 'NextAssetId'];
3167
+ AssetConversion: ['Pools', 'NextPoolAssetId'];
3168
+ Treasury: ['ProposalCount', 'Proposals', 'Deactivated', 'Approvals', 'SpendCount', 'Spends', 'LastSpendPeriod'];
3169
+ ConvictionVoting: ['VotingFor', 'ClassLocksFor'];
3170
+ Referenda: ['ReferendumCount', 'ReferendumInfoFor', 'TrackQueue', 'DecidingCount', 'MetadataOf'];
3171
+ Whitelist: ['WhitelistedCall'];
3172
+ Bounties: ['BountyCount', 'Bounties', 'BountyDescriptions', 'BountyApprovals'];
3173
+ ChildBounties: ['ChildBountyCount', 'ParentChildBounties', 'ParentTotalChildBounties', 'ChildBounties', 'ChildBountyDescriptionsV1', 'V0ToV1ChildBountyIds', 'ChildrenCuratorFees'];
3174
+ AssetRate: ['ConversionRateToNative'];
3175
+ MultiAssetBounties: ['BountyCount', 'Bounties', 'ChildBounties', 'ChildBountiesPerParent', 'TotalChildBountiesPerParent', 'ChildBountiesValuePerParent', 'CuratorDeposit'];
3176
+ StateTrieMigration: ['MigrationProcess', 'AutoLimits', 'SignedMigrationMaxLimits'];
3177
+ NominationPools: ['TotalValueLocked', 'MinJoinBond', 'MinCreateBond', 'MaxPools', 'MaxPoolMembers', 'MaxPoolMembersPerPool', 'GlobalMaxCommission', 'PoolMembers', 'CounterForPoolMembers', 'BondedPools', 'CounterForBondedPools', 'RewardPools', 'CounterForRewardPools', 'SubPoolsStorage', 'CounterForSubPoolsStorage', 'Metadata', 'CounterForMetadata', 'LastPoolId', 'ReversePoolIdLookup', 'CounterForReversePoolIdLookup', 'ClaimPermissions'];
3178
+ VoterList: ['ListNodes', 'CounterForListNodes', 'ListBags', 'NextNodeAutoRebagged', 'Lock', 'PendingRebag', 'CounterForPendingRebag'];
3179
+ DelegatedStaking: ['Delegators', 'CounterForDelegators', 'Agents', 'CounterForAgents'];
3180
+ StakingRcClient: ['IncompleteSessionReport', 'LastSessionReportEndingIndex', 'OutgoingValidatorSet'];
3181
+ MultiBlockElection: ['Round', 'CurrentPhase', 'DesiredTargets', 'PagedVoterSnapshot', 'PagedVoterSnapshotHash', 'PagedTargetSnapshot', 'PagedTargetSnapshotHash'];
3182
+ MultiBlockElectionVerifier: ['QueuedSolutionX', 'QueuedSolutionY', 'QueuedValidVariant', 'QueuedSolutionBackings', 'QueuedSolutionScore', 'MinimumScore', 'StatusStorage'];
3183
+ MultiBlockElectionSigned: ['Invulnerables', 'SortedScores', 'SubmissionStorage', 'SubmissionMetadataStorage'];
3184
+ Staking: ['ValidatorCount', 'Bonded', 'MinNominatorBond', 'MinValidatorBond', 'MinimumActiveStake', 'MinCommission', 'MaxCommission', 'DisableMintingGuard', 'OptimumSelfStake', 'HardCapSelfStake', 'SelfStakeSlopeFactor', 'ErasValidatorIncentiveBudget', 'ErasSumValidatorIncentiveWeight', 'ErasValidatorIncentiveWeight', 'AreNominatorsSlashable', 'ErasNominatorsSlashable', 'Ledger', 'Payee', 'Validators', 'CounterForValidators', 'MaxValidatorsCount', 'LastValidatorEra', 'Nominators', 'CounterForNominators', 'VirtualStakers', 'CounterForVirtualStakers', 'MaxNominatorsCount', 'CurrentEra', 'ActiveEra', 'BondedEras', 'ErasStakersOverview', 'ErasStakersPaged', 'ClaimedRewards', 'ErasValidatorPrefs', 'ErasValidatorReward', 'ErasRewardPoints', 'ErasTotalStake', 'ForceEra', 'MaxStakedRewards', 'SlashRewardFraction', 'CanceledSlashPayout', 'OffenceQueue', 'OffenceQueueEras', 'ProcessingOffence', 'UnappliedSlashes', 'CancelledSlashes', 'ValidatorSlashInEra', 'ChillThreshold', 'VoterSnapshotStatus', 'NextElectionPage', 'ElectableStashes', 'EraPruningState'];
3185
+ Revive: ['PristineCode', 'CodeInfoOf', 'AccountInfoOf', 'NativeDepositOf', 'ImmutableDataOf', 'DeletionQueue', 'DeletionQueueCounter', 'OriginalAccount', 'EthereumBlock', 'BlockHash', 'ReceiptInfoData', 'EthBlockBuilderIR', 'EthBlockBuilderFirstValues', 'DebugSettingsOf'];
3186
+ AssetsPrecompiles: ['NextAssetIndex', 'AssetIndexToForeignAssetId', 'ForeignAssetIdToAssetIndex'];
3187
+ AssetsPrecompilesPermit: ['Nonces'];
3188
+ AhOps: ['RcLeaseReserve', 'RcCrowdloanContribution', 'RcCrowdloanReserve'];
3189
+ };
3190
+ tx: {
3191
+ System: ['remark', 'set_heap_pages', 'set_code', 'set_code_without_checks', 'set_storage', 'kill_storage', 'kill_prefix', 'remark_with_event', 'do_task', 'authorize_upgrade', 'authorize_upgrade_without_checks', 'apply_authorized_upgrade'];
3192
+ ParachainSystem: ['set_validation_data', 'sudo_send_upward_message'];
3193
+ Timestamp: ['set'];
3194
+ Preimage: ['note_preimage', 'unnote_preimage', 'request_preimage', 'unrequest_preimage', 'ensure_updated'];
3195
+ Scheduler: ['schedule', 'cancel', 'schedule_named', 'cancel_named', 'schedule_after', 'schedule_named_after', 'set_retry', 'set_retry_named', 'cancel_retry', 'cancel_retry_named'];
3196
+ Parameters: ['set_parameter'];
3197
+ MultiBlockMigrations: ['force_set_cursor', 'force_set_active_cursor', 'force_onboard_mbms', 'clear_historic'];
3198
+ Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn'];
3199
+ Vesting: ['vest', 'vest_other', 'vested_transfer', 'force_vested_transfer', 'merge_schedules', 'force_remove_vesting_schedule'];
3200
+ Claims: ['claim', 'mint_claim', 'claim_attest', 'attest', 'move_claim'];
3201
+ Dap: ['set_budget_allocation'];
3202
+ CollatorSelection: ['set_invulnerables', 'set_desired_candidates', 'set_candidacy_bond', 'register_as_candidate', 'leave_intent', 'add_invulnerable', 'remove_invulnerable', 'update_bond', 'take_candidate_slot'];
3203
+ Session: ['set_keys', 'purge_keys'];
3204
+ XcmpQueue: ['suspend_xcm_execution', 'resume_xcm_execution', 'update_suspend_threshold', 'update_drop_threshold', 'update_resume_threshold'];
3205
+ PolkadotXcm: ['send', 'teleport_assets', 'reserve_transfer_assets', 'execute', 'force_xcm_version', 'force_default_xcm_version', 'force_subscribe_version_notify', 'force_unsubscribe_version_notify', 'limited_reserve_transfer_assets', 'limited_teleport_assets', 'force_suspension', 'transfer_assets', 'claim_assets', 'transfer_assets_using_type_and_then', 'add_authorized_alias', 'remove_authorized_alias', 'remove_all_authorized_aliases'];
3206
+ ToKusamaXcmRouter: ['report_bridge_status'];
3207
+ MessageQueue: ['reap_page', 'execute_overweight'];
3208
+ SnowbridgeSystemFrontend: ['set_operating_mode', 'register_token', 'add_tip'];
3209
+ Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible'];
3210
+ Multisig: ['as_multi_threshold_1', 'as_multi', 'approve_as_multi', 'cancel_as_multi', 'poke_deposit'];
3211
+ Proxy: ['proxy', 'add_proxy', 'remove_proxy', 'remove_proxies', 'create_pure', 'kill_pure', 'announce', 'remove_announcement', 'reject_announcement', 'proxy_announced', 'poke_deposit'];
3212
+ Indices: ['claim', 'transfer', 'free', 'force_transfer', 'freeze', 'poke_deposit'];
3213
+ Assets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves'];
3214
+ Uniques: ['create', 'force_create', 'destroy', 'mint', 'burn', 'transfer', 'redeposit', 'freeze', 'thaw', 'freeze_collection', 'thaw_collection', 'transfer_ownership', 'set_team', 'approve_transfer', 'cancel_approval', 'force_item_status', 'set_attribute', 'clear_attribute', 'set_metadata', 'clear_metadata', 'set_collection_metadata', 'clear_collection_metadata', 'set_accept_ownership', 'set_collection_max_supply', 'set_price', 'buy_item'];
3215
+ Nfts: ['create', 'force_create', 'destroy', 'mint', 'force_mint', 'burn', 'transfer', 'redeposit', 'lock_item_transfer', 'unlock_item_transfer', 'lock_collection', 'transfer_ownership', 'set_team', 'force_collection_owner', 'force_collection_config', 'approve_transfer', 'cancel_approval', 'clear_all_transfer_approvals', 'lock_item_properties', 'set_attribute', 'force_set_attribute', 'clear_attribute', 'approve_item_attributes', 'cancel_item_attributes_approval', 'set_metadata', 'clear_metadata', 'set_collection_metadata', 'clear_collection_metadata', 'set_accept_ownership', 'set_collection_max_supply', 'update_mint_settings', 'set_price', 'buy_item', 'pay_tips', 'create_swap', 'cancel_swap', 'claim_swap', 'mint_pre_signed', 'set_attributes_pre_signed'];
3216
+ ForeignAssets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves'];
3217
+ PoolAssets: ['create', 'force_create', 'start_destroy', 'destroy_accounts', 'destroy_approvals', 'finish_destroy', 'mint', 'burn', 'transfer', 'transfer_keep_alive', 'force_transfer', 'freeze', 'thaw', 'freeze_asset', 'thaw_asset', 'transfer_ownership', 'set_team', 'set_metadata', 'clear_metadata', 'force_set_metadata', 'force_clear_metadata', 'force_asset_status', 'approve_transfer', 'cancel_approval', 'force_cancel_approval', 'transfer_approved', 'touch', 'refund', 'set_min_balance', 'touch_other', 'refund_other', 'block', 'transfer_all', 'set_reserves'];
3218
+ AssetConversion: ['create_pool', 'add_liquidity', 'remove_liquidity', 'swap_exact_tokens_for_tokens', 'swap_tokens_for_exact_tokens', 'touch'];
3219
+ Treasury: ['spend_local', 'remove_approval', 'spend', 'payout', 'check_status', 'void_spend'];
3220
+ ConvictionVoting: ['vote', 'delegate', 'undelegate', 'unlock', 'remove_vote', 'remove_other_vote'];
3221
+ Referenda: ['submit', 'place_decision_deposit', 'refund_decision_deposit', 'cancel', 'kill', 'nudge_referendum', 'one_fewer_deciding', 'refund_submission_deposit', 'set_metadata'];
3222
+ Whitelist: ['whitelist_call', 'remove_whitelisted_call', 'dispatch_whitelisted_call', 'dispatch_whitelisted_call_with_preimage'];
3223
+ Bounties: ['propose_bounty', 'approve_bounty', 'propose_curator', 'unassign_curator', 'accept_curator', 'award_bounty', 'claim_bounty', 'close_bounty', 'extend_bounty_expiry', 'approve_bounty_with_curator', 'poke_deposit'];
3224
+ ChildBounties: ['add_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_child_bounty', 'claim_child_bounty', 'close_child_bounty'];
3225
+ AssetRate: ['create', 'update', 'remove'];
3226
+ MultiAssetBounties: ['fund_bounty', 'fund_child_bounty', 'propose_curator', 'accept_curator', 'unassign_curator', 'award_bounty', 'close_bounty', 'check_status', 'retry_payment'];
3227
+ StateTrieMigration: ['control_auto_migration', 'continue_migrate', 'migrate_custom_top', 'migrate_custom_child', 'set_signed_max_limits', 'force_set_progress'];
3228
+ NominationPools: ['join', 'bond_extra', 'claim_payout', 'unbond', 'pool_withdraw_unbonded', 'withdraw_unbonded', 'create', 'create_with_pool_id', 'nominate', 'set_state', 'set_metadata', 'set_configs', 'update_roles', 'chill', 'bond_extra_other', 'set_claim_permission', 'claim_payout_other', 'set_commission', 'set_commission_max', 'set_commission_change_rate', 'claim_commission', 'adjust_pool_deposit', 'set_commission_claim_permission', 'apply_slash', 'migrate_delegation', 'migrate_pool_to_delegate_stake'];
3229
+ VoterList: ['rebag', 'put_in_front_of', 'put_in_front_of_other'];
3230
+ StakingRcClient: ['relay_session_report', 'relay_new_offence_paged', 'set_keys', 'purge_keys'];
3231
+ MultiBlockElection: ['manage', 'admin'];
3232
+ MultiBlockElectionUnsigned: ['submit_unsigned'];
3233
+ MultiBlockElectionSigned: ['register', 'submit_page', 'bail', 'clear_old_round_data', 'set_invulnerables'];
3234
+ Staking: ['bond', 'bond_extra', 'unbond', 'withdraw_unbonded', 'validate', 'nominate', 'chill', 'set_payee', 'set_controller', 'set_validator_count', 'increase_validator_count', 'scale_validator_count', 'force_no_eras', 'force_new_era', 'force_unstake', 'force_new_era_always', 'cancel_deferred_slash', 'payout_stakers', 'rebond', 'reap_stash', 'kick', 'set_staking_configs', 'chill_other', 'force_apply_min_commission', 'set_min_commission', 'payout_stakers_by_page', 'update_payee', 'deprecate_controller_batch', 'restore_ledger', 'migrate_currency', 'apply_slash', 'prune_era_step', 'set_max_commission', 'set_validator_self_stake_incentive_config'];
3235
+ Revive: ['eth_transact', 'call', 'instantiate', 'instantiate_with_code', 'eth_instantiate_with_code', 'eth_call', 'eth_substrate_call', 'upload_code', 'remove_code', 'set_code', 'map_account', 'batch_map_accounts', 'unmap_account', 'dispatch_as_fallback_account'];
3236
+ AhOps: ['unreserve_lease_deposit', 'withdraw_crowdloan_contribution', 'unreserve_crowdloan_reserve', 'transfer_to_post_migration_treasury', 'translate_para_sovereign_child_to_sibling_derived'];
3237
+ };
3238
+ events: {
3239
+ System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked', 'TaskStarted', 'TaskCompleted', 'TaskFailed', 'UpgradeAuthorized', 'RejectedInvalidAuthorizedUpgrade'];
3240
+ ParachainSystem: ['ValidationFunctionStored', 'ValidationFunctionApplied', 'ValidationFunctionDiscarded', 'DownwardMessagesReceived', 'DownwardMessagesProcessed', 'UpwardMessageSent'];
3241
+ Preimage: ['Noted', 'Requested', 'Cleared'];
3242
+ Scheduler: ['Scheduled', 'Canceled', 'Dispatched', 'RetrySet', 'RetryCancelled', 'CallUnavailable', 'PeriodicFailed', 'RetryFailed', 'PermanentlyOverweight', 'AgendaIncomplete'];
3243
+ Parameters: ['Updated'];
3244
+ MultiBlockMigrations: ['UpgradeStarted', 'UpgradeCompleted', 'UpgradeFailed', 'MigrationSkipped', 'MigrationAdvanced', 'MigrationCompleted', 'MigrationFailed', 'HistoricCleared'];
3245
+ Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'MintedCredit', 'Burned', 'BurnedDebt', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed', 'TotalIssuanceForced', 'Held', 'BurnedHeld', 'TransferOnHold', 'TransferAndHold', 'Released', 'Unexpected'];
3246
+ TransactionPayment: ['TransactionFeePaid'];
3247
+ AssetTxPayment: ['AssetTxFeePaid', 'AssetRefundFailed'];
3248
+ Vesting: ['VestingCreated', 'VestingUpdated', 'VestingCompleted'];
3249
+ Claims: ['Claimed'];
3250
+ Dap: ['IssuanceMinted', 'BudgetAllocationUpdated', 'StagingDrained', 'Unexpected'];
3251
+ CollatorSelection: ['NewInvulnerables', 'InvulnerableAdded', 'InvulnerableRemoved', 'NewDesiredCandidates', 'NewCandidacyBond', 'CandidateAdded', 'CandidateBondUpdated', 'CandidateRemoved', 'CandidateReplaced', 'InvalidInvulnerableSkipped'];
3252
+ Session: ['NewSession', 'NewQueued', 'ValidatorDisabled', 'ValidatorReenabled'];
3253
+ XcmpQueue: ['XcmpMessageSent'];
3254
+ PolkadotXcm: ['Attempted', 'Sent', 'SendFailed', 'ProcessXcmError', 'UnexpectedResponse', 'ResponseReady', 'Notified', 'NotifyOverweight', 'NotifyDispatchError', 'NotifyDecodeFailed', 'InvalidResponder', 'InvalidResponderVersion', 'ResponseTaken', 'AssetsTrapped', 'VersionChangeNotified', 'SupportedVersionChanged', 'NotifyTargetSendFail', 'NotifyTargetMigrationFail', 'InvalidQuerierVersion', 'InvalidQuerier', 'VersionNotifyStarted', 'VersionNotifyRequested', 'VersionNotifyUnrequested', 'FeesPaid', 'AssetsClaimed', 'VersionMigrationFinished', 'AliasAuthorized', 'AliasAuthorizationRemoved', 'AliasesAuthorizationsRemoved'];
3255
+ CumulusXcm: ['InvalidFormat', 'UnsupportedVersion', 'ExecutedDownward'];
3256
+ ToKusamaXcmRouter: ['DeliveryFeeFactorDecreased', 'DeliveryFeeFactorIncreased'];
3257
+ MessageQueue: ['ProcessingFailed', 'Processed', 'OverweightEnqueued', 'PageReaped'];
3258
+ SnowbridgeSystemFrontend: ['MessageSent', 'ExportOperatingModeChanged'];
3259
+ Utility: ['BatchInterrupted', 'BatchCompleted', 'BatchCompletedWithErrors', 'ItemCompleted', 'ItemFailed', 'DispatchedAs', 'IfElseMainSuccess', 'IfElseFallbackCalled'];
3260
+ Multisig: ['NewMultisig', 'MultisigApproval', 'MultisigExecuted', 'MultisigCancelled', 'DepositPoked'];
3261
+ Proxy: ['ProxyExecuted', 'PureCreated', 'PureKilled', 'Announced', 'ProxyAdded', 'ProxyRemoved', 'DepositPoked'];
3262
+ Indices: ['IndexAssigned', 'IndexFreed', 'IndexFrozen', 'DepositPoked'];
3263
+ Assets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt'];
3264
+ Uniques: ['Created', 'ForceCreated', 'Destroyed', 'Issued', 'Transferred', 'Burned', 'Frozen', 'Thawed', 'CollectionFrozen', 'CollectionThawed', 'OwnerChanged', 'TeamChanged', 'ApprovedTransfer', 'ApprovalCancelled', 'ItemStatusChanged', 'CollectionMetadataSet', 'CollectionMetadataCleared', 'MetadataSet', 'MetadataCleared', 'Redeposited', 'AttributeSet', 'AttributeCleared', 'OwnershipAcceptanceChanged', 'CollectionMaxSupplySet', 'ItemPriceSet', 'ItemPriceRemoved', 'ItemBought'];
3265
+ Nfts: ['Created', 'ForceCreated', 'Destroyed', 'Issued', 'Transferred', 'Burned', 'ItemTransferLocked', 'ItemTransferUnlocked', 'ItemPropertiesLocked', 'CollectionLocked', 'OwnerChanged', 'TeamChanged', 'TransferApproved', 'ApprovalCancelled', 'AllApprovalsCancelled', 'CollectionConfigChanged', 'CollectionMetadataSet', 'CollectionMetadataCleared', 'ItemMetadataSet', 'ItemMetadataCleared', 'Redeposited', 'AttributeSet', 'AttributeCleared', 'ItemAttributesApprovalAdded', 'ItemAttributesApprovalRemoved', 'OwnershipAcceptanceChanged', 'CollectionMaxSupplySet', 'CollectionMintSettingsUpdated', 'NextCollectionIdIncremented', 'ItemPriceSet', 'ItemPriceRemoved', 'ItemBought', 'TipSent', 'SwapCreated', 'SwapCancelled', 'SwapClaimed', 'PreSignedAttributesSet', 'PalletAttributeSet'];
3266
+ ForeignAssets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt'];
3267
+ PoolAssets: ['Created', 'Issued', 'Transferred', 'Burned', 'TeamChanged', 'OwnerChanged', 'Frozen', 'Thawed', 'AssetFrozen', 'AssetThawed', 'AccountsDestroyed', 'ApprovalsDestroyed', 'DestructionStarted', 'Destroyed', 'ForceCreated', 'MetadataSet', 'MetadataCleared', 'ApprovedTransfer', 'ApprovalCancelled', 'TransferredApproved', 'AssetStatusChanged', 'AssetMinBalanceChanged', 'Touched', 'Blocked', 'Deposited', 'Withdrawn', 'ReservesUpdated', 'ReservesRemoved', 'IssuedCredit', 'BurnedCredit', 'IssuedDebt', 'BurnedDebt'];
3268
+ AssetConversion: ['PoolCreated', 'LiquidityAdded', 'LiquidityRemoved', 'SwapExecuted', 'SwapCreditExecuted', 'Touched'];
3269
+ Treasury: ['Spending', 'Awarded', 'Burnt', 'Rollover', 'Deposit', 'SpendApproved', 'UpdatedInactive', 'AssetSpendApproved', 'AssetSpendVoided', 'Paid', 'PaymentFailed', 'SpendProcessed'];
3270
+ ConvictionVoting: ['Delegated', 'Undelegated', 'Voted', 'VoteRemoved', 'VoteUnlocked'];
3271
+ Referenda: ['Submitted', 'DecisionDepositPlaced', 'DecisionDepositRefunded', 'DepositSlashed', 'DecisionStarted', 'ConfirmStarted', 'ConfirmAborted', 'Confirmed', 'Approved', 'Rejected', 'TimedOut', 'Cancelled', 'Killed', 'SubmissionDepositRefunded', 'MetadataSet', 'MetadataCleared'];
3272
+ Whitelist: ['CallWhitelisted', 'WhitelistedCallRemoved', 'WhitelistedCallDispatched'];
3273
+ Bounties: ['BountyProposed', 'BountyRejected', 'BountyBecameActive', 'BountyAwarded', 'BountyClaimed', 'BountyCanceled', 'BountyExtended', 'BountyApproved', 'CuratorProposed', 'CuratorUnassigned', 'CuratorAccepted', 'DepositPoked'];
3274
+ ChildBounties: ['Added', 'Awarded', 'Claimed', 'Canceled'];
3275
+ AssetRate: ['AssetRateCreated', 'AssetRateRemoved', 'AssetRateUpdated'];
3276
+ MultiAssetBounties: ['BountyCreated', 'ChildBountyCreated', 'BountyBecameActive', 'BountyAwarded', 'BountyPayoutProcessed', 'BountyFundingProcessed', 'BountyRefundProcessed', 'BountyCanceled', 'CuratorUnassigned', 'CuratorProposed', 'PaymentFailed', 'Paid'];
3277
+ StateTrieMigration: ['Migrated', 'Slashed', 'AutoMigrationFinished', 'Halted'];
3278
+ NominationPools: ['Created', 'Bonded', 'PaidOut', 'Unbonded', 'Withdrawn', 'Destroyed', 'StateChanged', 'MemberRemoved', 'RolesUpdated', 'PoolSlashed', 'UnbondingPoolSlashed', 'PoolCommissionUpdated', 'PoolMaxCommissionUpdated', 'PoolCommissionChangeRateUpdated', 'PoolCommissionClaimPermissionUpdated', 'PoolCommissionClaimed', 'MinBalanceDeficitAdjusted', 'MinBalanceExcessAdjusted', 'MemberClaimPermissionUpdated', 'MetadataUpdated', 'PoolNominationMade', 'PoolNominatorChilled', 'GlobalParamsUpdated'];
3279
+ VoterList: ['Rebagged', 'ScoreUpdated'];
3280
+ DelegatedStaking: ['Delegated', 'Released', 'Slashed', 'MigratedDelegation'];
3281
+ StakingRcClient: ['SessionReportReceived', 'OffenceReceived', 'FeesPaid', 'Unexpected'];
3282
+ MultiBlockElection: ['PhaseTransitioned', 'UnexpectedTargetSnapshotFailed', 'UnexpectedVoterSnapshotFailed', 'UnexpectedPhaseTransitionOutOfWeight', 'UnexpectedPhaseTransitionHalt'];
3283
+ MultiBlockElectionVerifier: ['VerificationFailed', 'Verified', 'Queued'];
3284
+ MultiBlockElectionSigned: ['Registered', 'Stored', 'Rewarded', 'Slashed', 'Ejected', 'Discarded', 'Bailed'];
3285
+ Staking: ['EraPaid', 'Rewarded', 'Slashed', 'OldSlashingReportDiscarded', 'Bonded', 'Unbonded', 'Withdrawn', 'StakerRemoved', 'Kicked', 'Chilled', 'PayoutStarted', 'ValidatorPrefsSet', 'SnapshotVotersSizeExceeded', 'SnapshotTargetsSizeExceeded', 'ForceEra', 'ControllerBatchDeprecated', 'CurrencyMigrated', 'PagedElectionProceeded', 'OffenceReported', 'SlashComputed', 'SlashCancelled', 'SessionRotated', 'Unexpected', 'OffenceTooOld', 'EraPruned', 'ValidatorIncentivePaid', 'ValidatorIncentiveConfigSet'];
3286
+ Revive: ['ContractEmitted', 'Instantiated', 'EthExtrinsicRevert'];
3287
+ AhOps: ['LeaseUnreserveRemaining', 'CrowdloanUnreserveRemaining', 'SovereignMigrated', 'FailedToBond'];
3288
+ };
3289
+ errors: {
3290
+ System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'InvalidTask', 'FailedTask', 'NothingAuthorized', 'Unauthorized'];
3291
+ ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'];
3292
+ Preimage: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'];
3293
+ Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'];
3294
+ MultiBlockMigrations: ['Ongoing'];
3295
+ Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'];
3296
+ Vesting: ['NotVesting', 'AtMaxVestingSchedules', 'AmountLow', 'ScheduleIndexOutOfBounds', 'InvalidScheduleParams'];
3297
+ Claims: ['InvalidEthereumSignature', 'SignerHasNoClaim', 'SenderHasNoClaim', 'PotUnderflow', 'InvalidStatement', 'VestedBalanceExists'];
3298
+ Dap: ['UnknownBudgetKey', 'BudgetNotExact'];
3299
+ CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve'];
3300
+ Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
3301
+ XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'];
3302
+ PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound', 'LocalExecutionIncompleteWithError'];
3303
+ MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'];
3304
+ SnowbridgeSystemFrontend: ['UnsupportedLocationVersion', 'InvalidAssetOwner', 'SendFailure', 'FeesNotMet', 'LocationConversionFailed', 'Halted', 'Unreachable', 'UnsupportedAsset', 'WithdrawError', 'InvalidAccount', 'SwapError', 'BurnError', 'TipAmountZero'];
3305
+ Utility: ['TooManyCalls'];
3306
+ Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'];
3307
+ Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'];
3308
+ Indices: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'];
3309
+ Assets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves'];
3310
+ Uniques: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'WrongOwner', 'BadWitness', 'InUse', 'Frozen', 'WrongDelegate', 'NoDelegate', 'Unapproved', 'Unaccepted', 'Locked', 'MaxSupplyReached', 'MaxSupplyAlreadySet', 'MaxSupplyTooSmall', 'UnknownItem', 'NotForSale', 'BidTooLow', 'NoMetadata', 'WrongMetadata', 'AttributeNotFound', 'WrongAttribute'];
3311
+ Nfts: ['NoPermission', 'UnknownCollection', 'AlreadyExists', 'ApprovalExpired', 'WrongOwner', 'BadWitness', 'CollectionIdInUse', 'ItemsNonTransferable', 'NotDelegate', 'WrongDelegate', 'Unapproved', 'Unaccepted', 'ItemLocked', 'LockedItemAttributes', 'LockedCollectionAttributes', 'LockedItemMetadata', 'LockedCollectionMetadata', 'MaxSupplyReached', 'MaxSupplyLocked', 'MaxSupplyTooSmall', 'UnknownItem', 'UnknownSwap', 'MetadataNotFound', 'AttributeNotFound', 'NotForSale', 'BidTooLow', 'ReachedApprovalLimit', 'DeadlineExpired', 'WrongDuration', 'MethodDisabled', 'WrongSetting', 'InconsistentItemConfig', 'NoConfig', 'RolesNotCleared', 'MintNotStarted', 'MintEnded', 'AlreadyClaimed', 'IncorrectData', 'WrongOrigin', 'WrongSignature', 'IncorrectMetadata', 'MaxAttributesLimitReached', 'WrongNamespace', 'CollectionNotEmpty', 'WitnessRequired'];
3312
+ ForeignAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves'];
3313
+ PoolAssets: ['BalanceLow', 'NoAccount', 'NoPermission', 'Unknown', 'Frozen', 'InUse', 'BadWitness', 'MinBalanceZero', 'UnavailableConsumer', 'BadMetadata', 'Unapproved', 'WouldDie', 'AlreadyExists', 'NoDeposit', 'WouldBurn', 'LiveAsset', 'AssetNotLive', 'IncorrectStatus', 'NotFrozen', 'CallbackFailed', 'BadAssetId', 'ContainsFreezes', 'ContainsHolds', 'TooManyReserves'];
3314
+ AssetConversion: ['InvalidAssetPair', 'PoolExists', 'WrongDesiredAmount', 'AmountOneLessThanMinimal', 'AmountTwoLessThanMinimal', 'ReserveLeftLessThanMinimal', 'AmountOutTooHigh', 'PoolNotFound', 'Overflow', 'AssetOneDepositDidNotMeetMinimum', 'AssetTwoDepositDidNotMeetMinimum', 'AssetOneWithdrawalDidNotMeetMinimum', 'AssetTwoWithdrawalDidNotMeetMinimum', 'OptimalAmountLessThanDesired', 'InsufficientLiquidityMinted', 'ZeroLiquidity', 'ZeroAmount', 'ProvidedMinimumNotSufficientForSwap', 'ProvidedMaximumNotSufficientForSwap', 'InvalidPath', 'NonUniquePath', 'IncorrectPoolAssetId', 'BelowMinimum', 'PoolEmpty'];
3315
+ Treasury: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'];
3316
+ ConvictionVoting: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'];
3317
+ Referenda: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'];
3318
+ Whitelist: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted'];
3319
+ Bounties: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty', 'TooManyQueued', 'NotProposer'];
3320
+ ChildBounties: ['ParentBountyNotActive', 'InsufficientBountyBalance', 'TooManyChildBounties'];
3321
+ AssetRate: ['UnknownAssetKind', 'AlreadyExists', 'Overflow'];
3322
+ MultiAssetBounties: ['InvalidIndex', 'ReasonTooBig', 'InvalidValue', 'FailedToConvertBalance', 'UnexpectedStatus', 'RequireCurator', 'InsufficientPermission', 'FundingError', 'RefundError', 'PayoutError', 'FundingInconclusive', 'RefundInconclusive', 'PayoutInconclusive', 'FailedToConvertSource', 'HasActiveChildBounty', 'TooManyChildBounties', 'InsufficientBountyValue', 'PreimageNotExist'];
3323
+ StateTrieMigration: ['MaxSignedLimits', 'KeyTooLong', 'NotEnoughFunds', 'BadWitness', 'SignedMigrationNotAllowed', 'BadChildRoot'];
3324
+ NominationPools: ['PoolNotFound', 'PoolMemberNotFound', 'RewardPoolNotFound', 'SubPoolsNotFound', 'AccountBelongsToOtherPool', 'FullyUnbonding', 'MaxUnbondingLimit', 'CannotWithdrawAny', 'MinimumBondNotMet', 'OverflowRisk', 'NotDestroying', 'NotNominator', 'NotKickerOrDestroying', 'NotOpen', 'MaxPools', 'MaxPoolMembers', 'CanNotChangeState', 'DoesNotHavePermission', 'MetadataExceedsMaxLen', 'Defensive', 'PartialUnbondNotAllowedPermissionlessly', 'MaxCommissionRestricted', 'CommissionExceedsMaximum', 'CommissionExceedsGlobalMaximum', 'CommissionChangeThrottled', 'CommissionChangeRateNotAllowed', 'NoPendingCommission', 'NoCommissionCurrentSet', 'PoolIdInUse', 'InvalidPoolId', 'BondExtraRestricted', 'NothingToAdjust', 'NothingToSlash', 'SlashTooLow', 'AlreadyMigrated', 'NotMigrated', 'NotSupported', 'Restricted'];
3325
+ VoterList: ['List', 'Locked'];
3326
+ DelegatedStaking: ['NotAllowed', 'AlreadyStaking', 'InvalidRewardDestination', 'InvalidDelegation', 'NotEnoughFunds', 'NotAgent', 'NotDelegator', 'BadState', 'UnappliedSlash', 'NothingToSlash', 'WithdrawFailed', 'NotSupported'];
3327
+ StakingRcClient: ['XcmSendFailed', 'NotValidator', 'InvalidKeys', 'InvalidProof', 'FeesExceededMax'];
3328
+ MultiBlockElection: ['Fallback', 'UnexpectedPhase', 'Snapshot'];
3329
+ MultiBlockElectionSigned: ['PhaseNotSigned', 'Duplicate', 'QueueFull', 'BadPageIndex', 'NotRegistered', 'NoSubmission', 'RoundNotOver', 'BadWitnessData', 'TooManyInvulnerables'];
3330
+ Staking: ['NotController', 'NotStash', 'AlreadyBonded', 'AlreadyPaired', 'EmptyTargets', 'DuplicateIndex', 'InvalidSlashRecord', 'InsufficientBond', 'NoMoreChunks', 'NoUnlockChunk', 'FundedTarget', 'InvalidEraToReward', 'InvalidNumberOfNominations', 'AlreadyClaimed', 'InvalidPage', 'IncorrectHistoryDepth', 'BadState', 'TooManyTargets', 'BadTarget', 'CannotChillOther', 'TooManyNominators', 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', 'ControllerDeprecated', 'CannotRestoreLedger', 'RewardDestinationRestricted', 'NotEnoughFunds', 'VirtualStakerNotAllowed', 'CannotReapStash', 'AlreadyMigrated', 'EraNotStarted', 'Restricted', 'UnappliedSlashesInPreviousEra', 'EraNotPrunable', 'CancelledSlash', 'CommissionTooHigh', 'OptimumGreaterThanCap'];
3331
+ Revive: ['InvalidSchedule', 'InvalidCallFlags', 'OutOfGas', 'TransferFailed', 'MaxCallDepthReached', 'ContractNotFound', 'CodeNotFound', 'CodeInfoNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', 'ValueTooLarge', 'TerminatedWhileReentrant', 'InputForwarded', 'TooManyTopics', 'DuplicateContract', 'TerminatedInConstructor', 'ReentranceDenied', 'ReenteredPallet', 'StateChangeDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected', 'BlobTooLarge', 'StaticMemoryTooLarge', 'BasicBlockTooLarge', 'InvalidInstruction', 'MaxDelegateDependenciesReached', 'DelegateDependencyNotFound', 'DelegateDependencyAlreadyExists', 'CannotAddSelfAsDelegateDependency', 'OutOfTransientStorage', 'InvalidSyscall', 'InvalidStorageFlags', 'ExecutionFailed', 'BalanceConversionFailed', 'InvalidImmutableAccess', 'AccountUnmapped', 'AccountAlreadyMapped', 'InvalidGenericTransaction', 'RefcountOverOrUnderflow', 'UnsupportedPrecompileAddress', 'CallDataTooLarge', 'ReturnDataTooLarge', 'InvalidJump', 'StackUnderflow', 'StackOverflow', 'TxFeeOverdraw', 'EvmConstructorNonEmptyData', 'EvmConstructedFromHash', 'StorageRefundNotEnoughFunds', 'StorageRefundLocked', 'PrecompileDelegateDenied', 'EcdsaRecoveryFailed', 'AutoMappingEnabled', 'PendingDepositCleanup'];
3332
+ AssetsPrecompilesPermit: ['InvalidSignature', 'SignerMismatch', 'PermitExpired', 'SignatureSValueTooHigh', 'InvalidVValue', 'NonceOverflow', 'InvalidOwner', 'InvalidSpender'];
3333
+ AhOps: ['NoLeaseReserve', 'NoCrowdloanContribution', 'NoCrowdloanReserve', 'FailedToWithdrawCrowdloanContribution', 'NotYet', 'ContributionsRemaining', 'WrongDerivedTranslation', 'NotSovereign', 'InternalError', 'MigrationNotCompleted', 'ZeroBalance', 'FailedToTransfer', 'AlreadyTranslated', 'TooLongDerivationPath', 'FailedToForceUnstake'];
3334
+ };
3335
+ constants: {
3336
+ System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix'];
3337
+ ParachainSystem: ['SelfParaId'];
3338
+ Timestamp: ['MinimumPeriod'];
3339
+ Scheduler: ['MaximumWeight', 'MaxScheduledPerBlock'];
3340
+ MultiBlockMigrations: ['CursorMaxLen', 'IdentifierMaxLen'];
3341
+ Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes'];
3342
+ TransactionPayment: ['OperationalFeeMultiplier'];
3343
+ Vesting: ['MinVestedTransfer', 'MaxVestingSchedules'];
3344
+ Claims: ['Prefix'];
3345
+ Dap: ['PalletId', 'IssuanceCadence', 'MaxElapsedPerDrip'];
3346
+ CollatorSelection: ['PotId', 'MaxCandidates', 'MinEligibleCollators', 'MaxInvulnerables', 'KickThreshold', 'pot_account'];
3347
+ Session: ['KeyDeposit'];
3348
+ Aura: ['SlotDuration'];
3349
+ XcmpQueue: ['MaxInboundSuspended', 'MaxActiveOutboundChannels', 'MaxPageSize'];
3350
+ PolkadotXcm: ['UniversalLocation', 'AdvertisedXcmVersion', 'MaxLockers', 'MaxRemoteLockConsumers'];
3351
+ MessageQueue: ['HeapSize', 'MaxStale', 'ServiceWeight', 'IdleMaxServiceWeight'];
3352
+ Utility: ['batched_calls_limit'];
3353
+ Multisig: ['DepositBase', 'DepositFactor', 'MaxSignatories'];
3354
+ Proxy: ['ProxyDepositBase', 'ProxyDepositFactor', 'MaxProxies', 'MaxPending', 'AnnouncementDepositBase', 'AnnouncementDepositFactor'];
3355
+ Indices: ['Deposit'];
3356
+ Assets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit'];
3357
+ Uniques: ['CollectionDeposit', 'ItemDeposit', 'MetadataDepositBase', 'AttributeDepositBase', 'DepositPerByte', 'StringLimit', 'KeyLimit', 'ValueLimit'];
3358
+ Nfts: ['CollectionDeposit', 'ItemDeposit', 'MetadataDepositBase', 'AttributeDepositBase', 'DepositPerByte', 'StringLimit', 'KeyLimit', 'ValueLimit', 'ApprovalsLimit', 'ItemAttributesApprovalsLimit', 'MaxTips', 'MaxDeadlineDuration', 'MaxAttributesPerCall', 'Features'];
3359
+ ForeignAssets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit'];
3360
+ PoolAssets: ['RemoveItemsLimit', 'AssetDeposit', 'AssetAccountDeposit', 'MetadataDepositBase', 'MetadataDepositPerByte', 'ApprovalDeposit', 'StringLimit'];
3361
+ AssetConversion: ['LPFee', 'PoolSetupFee', 'PoolSetupFeeAsset', 'LiquidityWithdrawalFee', 'MintMinLiquidity', 'MaxSwapPathLength', 'PalletId'];
3362
+ Treasury: ['SpendPeriod', 'Burn', 'PalletId', 'MaxApprovals', 'PayoutPeriod', 'pot_account'];
3363
+ ConvictionVoting: ['MaxVotes', 'VoteLockingPeriod'];
3364
+ Referenda: ['SubmissionDeposit', 'MaxQueued', 'UndecidingTimeout', 'AlarmInterval', 'Tracks'];
3365
+ Bounties: ['BountyDepositBase', 'BountyDepositPayoutDelay', 'BountyUpdatePeriod', 'CuratorDepositMultiplier', 'CuratorDepositMax', 'CuratorDepositMin', 'BountyValueMinimum', 'DataDepositPerByte', 'MaximumReasonLength'];
3366
+ ChildBounties: ['MaxActiveChildBountyCount', 'ChildBountyValueMinimum'];
3367
+ MultiAssetBounties: ['BountyValueMinimum', 'ChildBountyValueMinimum', 'MaxActiveChildBountyCount'];
3368
+ StateTrieMigration: ['MaxKeyLen'];
3369
+ NominationPools: ['PalletId', 'MaxPointsToBalance', 'MaxUnbonding'];
3370
+ VoterList: ['BagThresholds', 'MaxAutoRebagPerBlock'];
3371
+ DelegatedStaking: ['PalletId', 'SlashRewardFraction'];
3372
+ StakingRcClient: ['KeyDeposit'];
3373
+ MultiBlockElection: ['UnsignedPhase', 'SignedPhase', 'SignedValidationPhase', 'VoterSnapshotPerBlock', 'TargetSnapshotPerBlock', 'Pages'];
3374
+ MultiBlockElectionVerifier: ['MaxBackersPerWinnerFinal', 'MaxBackersPerWinner', 'MaxWinnersPerPage'];
3375
+ Staking: ['HistoryDepth', 'SessionsPerEra', 'PlanningEraOffset', 'BondingDuration', 'NominatorFastUnbondDuration', 'SlashDeferDuration', 'DisableMinting', 'MaxExposurePageSize', 'MaxValidatorSet', 'MaxUnlockingChunks', 'MaxEraDuration', 'MaxPruningItems'];
3376
+ Revive: ['DepositPerByte', 'DepositPerItem', 'DepositPerChildTrieItem', 'CodeHashLockupDepositPercent', 'AllowEVMBytecode', 'ChainId', 'NativeToEthRatio', 'MaxEthExtrinsicWeight', 'DebugEnabled', 'AutoMap', 'GasScale'];
3377
+ AssetsPrecompilesPermit: ['ChainId'];
3378
+ };
3379
+ viewFns: {
3380
+ MultiBlockMigrations: ['ongoing_status', 'progress', 'affected_prefixes', 'status'];
3381
+ Dap: ['budget_recipients', 'staging'];
3382
+ Proxy: ['check_permissions', 'is_superset'];
3383
+ Assets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data'];
3384
+ ForeignAssets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data'];
3385
+ PoolAssets: ['asset_details', 'balance_of', 'get_metadata', 'get_reserves_data'];
3386
+ AssetConversion: ['get_reserves', 'quote_price_exact_tokens_for_tokens', 'quote_price_tokens_for_exact_tokens'];
3387
+ VoterList: ['scores'];
3388
+ MultiBlockElectionSigned: ['deposit_for'];
3389
+ Staking: ['pot_account', 'pot_balance', 'era_reward_allocation'];
3390
+ };
3391
+ apis: {
3392
+ AuraApi: ['slot_duration', 'authorities'];
3393
+ RelayParentOffsetApi: ['relay_parent_offset'];
3394
+ AuraUnincludedSegmentApi: ['can_build_upon'];
3395
+ Core: ['version', 'execute_block', 'initialize_block'];
3396
+ Metadata: ['metadata', 'metadata_at_version', 'metadata_versions'];
3397
+ BlockBuilder: ['apply_extrinsic', 'finalize_block', 'inherent_extrinsics', 'check_inherents'];
3398
+ TaggedTransactionQueue: ['validate_transaction'];
3399
+ OffchainWorkerApi: ['offchain_worker'];
3400
+ SessionKeys: ['generate_session_keys', 'decode_session_keys'];
3401
+ RuntimeViewFunction: ['execute_view_function'];
3402
+ AccountNonceApi: ['account_nonce'];
3403
+ TransactionPaymentApi: ['query_info', 'query_fee_details', 'query_weight_to_fee', 'query_length_to_fee'];
3404
+ TransactionPaymentCallApi: ['query_call_info', 'query_call_fee_details', 'query_weight_to_fee', 'query_length_to_fee'];
3405
+ XcmPaymentApi: ['query_acceptable_payment_assets', 'query_xcm_weight', 'query_weight_to_asset_fee', 'query_delivery_fees'];
3406
+ DryRunApi: ['dry_run_call', 'dry_run_xcm'];
3407
+ LocationToAccountApi: ['convert_location'];
3408
+ TrustedQueryApi: ['is_trusted_reserve', 'is_trusted_teleporter'];
3409
+ AuthorizedAliasersApi: ['authorized_aliasers', 'is_authorized_alias'];
3410
+ FungiblesApi: ['query_account_balances'];
3411
+ CollectCollationInfo: ['collect_collation_info'];
3412
+ GenesisBuilder: ['build_state', 'get_preset', 'preset_names'];
3413
+ AssetHubMigrationApi: ['migration_start_block', 'migration_end_block'];
3414
+ AssetConversionApi: ['quote_price_tokens_for_exact_tokens', 'quote_price_exact_tokens_for_tokens', 'get_reserves'];
3415
+ GetParachainInfo: ['parachain_id'];
3416
+ NominationPoolsApi: ['pending_rewards', 'points_to_balance', 'balance_to_points', 'pool_pending_slash', 'member_pending_slash', 'pool_needs_delegate_migration', 'member_needs_delegate_migration', 'member_total_balance', 'pool_balance', 'pool_accounts'];
3417
+ StakingApi: ['nominations_quota', 'eras_stakers_page_count', 'pending_rewards'];
3418
+ Inflation: ['experimental_issuance_prediction_info'];
3419
+ ReviveApi: ['eth_block', 'eth_block_hash', 'eth_receipt_data', 'block_gas_limit', 'max_extrinsic_weight_in_gas', 'balance', 'gas_price', 'nonce', 'call', 'instantiate', 'eth_transact', 'eth_transact_with_config', 'eth_estimate_gas', 'eth_pre_dispatch_weight', 'upload_code', 'get_storage', 'get_storage_var_key', 'trace_block', 'trace_tx', 'trace_call', 'trace_call_with_config', 'block_author', 'address', 'account_id', 'runtime_pallets_address', 'code', 'new_balance_with_dust'];
3420
+ };
3421
+ };
3422
+ export type AhpWhitelistEntry = PalletKey | `query.${NestedKey<AllInteractions['storage']>}` | `tx.${NestedKey<AllInteractions['tx']>}` | `event.${NestedKey<AllInteractions['events']>}` | `error.${NestedKey<AllInteractions['errors']>}` | `const.${NestedKey<AllInteractions['constants']>}` | `view.${NestedKey<AllInteractions['viewFns']>}` | `api.${NestedKey<AllInteractions['apis']>}`;
3423
+ type PalletKey = `*.${({
3424
+ [K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K];
3425
+ })[keyof AllInteractions]}`;
3426
+ type NestedKey<D extends Record<string, string[]>> = "*" | {
3427
+ [P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`;
3428
+ }[keyof D & string];