@dedot/chaintypes 0.0.1-alpha.55 → 0.0.1-alpha.57
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/kusama/consts.d.ts +78 -78
- package/kusama/errors.d.ts +217 -64
- package/kusama/events.d.ts +238 -113
- package/kusama/query.d.ts +250 -113
- package/kusama/runtime.d.ts +26 -0
- package/kusama/tx.d.ts +609 -198
- package/kusama/types.d.ts +1066 -411
- package/kusamaAssetHub/consts.d.ts +52 -12
- package/kusamaAssetHub/errors.d.ts +144 -59
- package/kusamaAssetHub/events.d.ts +234 -165
- package/kusamaAssetHub/query.d.ts +76 -97
- package/kusamaAssetHub/runtime.d.ts +32 -4
- package/kusamaAssetHub/tx.d.ts +280 -138
- package/kusamaAssetHub/types.d.ts +894 -448
- package/moonbeam/rpc.d.ts +0 -44
- package/package.json +2 -2
package/kusama/consts.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by @dedot/codegen
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts } from '@dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Permill, Bytes, Perbill, Perquintill } from '@dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, Permill, Bytes, Perbill, Perquintill, FixedU128 } from '@dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
@@ -150,11 +150,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
150
150
|
**/
|
|
151
151
|
maxReserves: number;
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* The maximum number of holds that can exist on an account at any time.
|
|
155
|
-
**/
|
|
156
|
-
maxHolds: number;
|
|
157
|
-
|
|
158
153
|
/**
|
|
159
154
|
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
160
155
|
**/
|
|
@@ -170,10 +165,10 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
170
165
|
**/
|
|
171
166
|
transactionPayment: {
|
|
172
167
|
/**
|
|
173
|
-
* A fee
|
|
168
|
+
* A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
|
|
174
169
|
* `priority`
|
|
175
170
|
*
|
|
176
|
-
* This value is
|
|
171
|
+
* This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
|
|
177
172
|
* added to a tip component in regular `priority` calculations.
|
|
178
173
|
* It means that a `Normal` transaction can front-run a similarly-sized `Operational`
|
|
179
174
|
* extrinsic (with no tip), by including a tip value greater than the virtual tip.
|
|
@@ -218,8 +213,8 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
218
213
|
* Following information is kept for eras in `[current_era -
|
|
219
214
|
* HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
|
|
220
215
|
* `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
|
|
221
|
-
* `ErasTotalStake`, `ErasStartSessionIndex`,
|
|
222
|
-
* `
|
|
216
|
+
* `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
|
|
217
|
+
* `ErasStakersOverview`.
|
|
223
218
|
*
|
|
224
219
|
* Must be more than the number of eras delayed by session.
|
|
225
220
|
* I.e. active era must always be in history. I.e. `active_era >
|
|
@@ -229,7 +224,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
229
224
|
* this should be set to same value or greater as in storage.
|
|
230
225
|
*
|
|
231
226
|
* Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
|
|
232
|
-
* item `StakingLedger.
|
|
227
|
+
* item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
|
|
233
228
|
* the existing value can lead to inconsistencies in the
|
|
234
229
|
* `StakingLedger` and will need to be handled properly in a migration.
|
|
235
230
|
* The test `reducing_history_depth_abrupt` shows this effect.
|
|
@@ -255,12 +250,19 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
255
250
|
slashDeferDuration: number;
|
|
256
251
|
|
|
257
252
|
/**
|
|
258
|
-
* The maximum
|
|
253
|
+
* The maximum size of each `T::ExposurePage`.
|
|
254
|
+
*
|
|
255
|
+
* An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
|
|
256
|
+
* nominators.
|
|
257
|
+
*
|
|
258
|
+
* For older non-paged exposure, a reward payout was restricted to the top
|
|
259
|
+
* `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
|
|
260
|
+
* nominator payout.
|
|
259
261
|
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
+
* Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
|
|
263
|
+
* without handling it in a migration.
|
|
262
264
|
**/
|
|
263
|
-
|
|
265
|
+
maxExposurePageSize: number;
|
|
264
266
|
|
|
265
267
|
/**
|
|
266
268
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
@@ -337,23 +339,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
337
339
|
**/
|
|
338
340
|
[name: string]: any;
|
|
339
341
|
};
|
|
340
|
-
/**
|
|
341
|
-
* Pallet `ImOnline`'s constants
|
|
342
|
-
**/
|
|
343
|
-
imOnline: {
|
|
344
|
-
/**
|
|
345
|
-
* A configuration for base priority of unsigned transactions.
|
|
346
|
-
*
|
|
347
|
-
* This is exposed so that it can be tuned for particular runtime, when
|
|
348
|
-
* multiple pallets send unsigned transactions.
|
|
349
|
-
**/
|
|
350
|
-
unsignedPriority: bigint;
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* Generic pallet constant
|
|
354
|
-
**/
|
|
355
|
-
[name: string]: any;
|
|
356
|
-
};
|
|
357
342
|
/**
|
|
358
343
|
* Pallet `AuthorityDiscovery`'s constants
|
|
359
344
|
**/
|
|
@@ -523,6 +508,15 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
523
508
|
**/
|
|
524
509
|
[name: string]: any;
|
|
525
510
|
};
|
|
511
|
+
/**
|
|
512
|
+
* Pallet `Origins`'s constants
|
|
513
|
+
**/
|
|
514
|
+
origins: {
|
|
515
|
+
/**
|
|
516
|
+
* Generic pallet constant
|
|
517
|
+
**/
|
|
518
|
+
[name: string]: any;
|
|
519
|
+
};
|
|
526
520
|
/**
|
|
527
521
|
* Pallet `Whitelist`'s constants
|
|
528
522
|
**/
|
|
@@ -562,14 +556,14 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
562
556
|
**/
|
|
563
557
|
identity: {
|
|
564
558
|
/**
|
|
565
|
-
* The amount held on deposit for a registered identity
|
|
559
|
+
* The amount held on deposit for a registered identity.
|
|
566
560
|
**/
|
|
567
561
|
basicDeposit: bigint;
|
|
568
562
|
|
|
569
563
|
/**
|
|
570
|
-
* The amount held on deposit per
|
|
564
|
+
* The amount held on deposit per encoded byte for a registered identity.
|
|
571
565
|
**/
|
|
572
|
-
|
|
566
|
+
byteDeposit: bigint;
|
|
573
567
|
|
|
574
568
|
/**
|
|
575
569
|
* The amount held on deposit for a registered subaccount. This should account for the fact
|
|
@@ -583,18 +577,27 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
583
577
|
**/
|
|
584
578
|
maxSubAccounts: number;
|
|
585
579
|
|
|
586
|
-
/**
|
|
587
|
-
* Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
|
|
588
|
-
* required to access an identity, but can be pretty high.
|
|
589
|
-
**/
|
|
590
|
-
maxAdditionalFields: number;
|
|
591
|
-
|
|
592
580
|
/**
|
|
593
581
|
* Maxmimum number of registrars allowed in the system. Needed to bound the complexity
|
|
594
582
|
* of, e.g., updating judgements.
|
|
595
583
|
**/
|
|
596
584
|
maxRegistrars: number;
|
|
597
585
|
|
|
586
|
+
/**
|
|
587
|
+
* The number of blocks within which a username grant must be accepted.
|
|
588
|
+
**/
|
|
589
|
+
pendingUsernameExpiration: number;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* The maximum length of a suffix.
|
|
593
|
+
**/
|
|
594
|
+
maxSuffixLength: number;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* The maximum length of a username, including its suffix and any system-added delimiters.
|
|
598
|
+
**/
|
|
599
|
+
maxUsernameLength: number;
|
|
600
|
+
|
|
598
601
|
/**
|
|
599
602
|
* Generic pallet constant
|
|
600
603
|
**/
|
|
@@ -931,12 +934,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
931
934
|
**/
|
|
932
935
|
betterSignedThreshold: Perbill;
|
|
933
936
|
|
|
934
|
-
/**
|
|
935
|
-
* The minimum amount of improvement to the solution score that defines a solution as
|
|
936
|
-
* "better" in the Unsigned phase.
|
|
937
|
-
**/
|
|
938
|
-
betterUnsignedThreshold: Perbill;
|
|
939
|
-
|
|
940
937
|
/**
|
|
941
938
|
* The repeat threshold of the offchain worker.
|
|
942
939
|
*
|
|
@@ -1110,11 +1107,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1110
1107
|
**/
|
|
1111
1108
|
maxReserves: number;
|
|
1112
1109
|
|
|
1113
|
-
/**
|
|
1114
|
-
* The maximum number of holds that can exist on an account at any time.
|
|
1115
|
-
**/
|
|
1116
|
-
maxHolds: number;
|
|
1117
|
-
|
|
1118
1110
|
/**
|
|
1119
1111
|
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
1120
1112
|
**/
|
|
@@ -1206,6 +1198,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1206
1198
|
**/
|
|
1207
1199
|
maxPointsToBalance: number;
|
|
1208
1200
|
|
|
1201
|
+
/**
|
|
1202
|
+
* The maximum number of simultaneous unbonding chunks that can exist per member.
|
|
1203
|
+
**/
|
|
1204
|
+
maxUnbonding: number;
|
|
1205
|
+
|
|
1209
1206
|
/**
|
|
1210
1207
|
* Generic pallet constant
|
|
1211
1208
|
**/
|
|
@@ -1346,9 +1343,23 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1346
1343
|
[name: string]: any;
|
|
1347
1344
|
};
|
|
1348
1345
|
/**
|
|
1349
|
-
* Pallet `
|
|
1346
|
+
* Pallet `OnDemandAssignmentProvider`'s constants
|
|
1347
|
+
**/
|
|
1348
|
+
onDemandAssignmentProvider: {
|
|
1349
|
+
/**
|
|
1350
|
+
* The default value for the spot traffic multiplier.
|
|
1351
|
+
**/
|
|
1352
|
+
trafficDefaultValue: FixedU128;
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Generic pallet constant
|
|
1356
|
+
**/
|
|
1357
|
+
[name: string]: any;
|
|
1358
|
+
};
|
|
1359
|
+
/**
|
|
1360
|
+
* Pallet `CoretimeAssignmentProvider`'s constants
|
|
1350
1361
|
**/
|
|
1351
|
-
|
|
1362
|
+
coretimeAssignmentProvider: {
|
|
1352
1363
|
/**
|
|
1353
1364
|
* Generic pallet constant
|
|
1354
1365
|
**/
|
|
@@ -1443,33 +1454,13 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1443
1454
|
[name: string]: any;
|
|
1444
1455
|
};
|
|
1445
1456
|
/**
|
|
1446
|
-
* Pallet `
|
|
1457
|
+
* Pallet `Coretime`'s constants
|
|
1447
1458
|
**/
|
|
1448
|
-
|
|
1459
|
+
coretime: {
|
|
1449
1460
|
/**
|
|
1450
|
-
*
|
|
1451
|
-
*
|
|
1452
|
-
* FRAME itself does not limit the key length.
|
|
1453
|
-
* The concrete value must therefore depend on your storage usage.
|
|
1454
|
-
* A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
|
|
1455
|
-
* keys which are then hashed and concatenated, resulting in arbitrarily long keys.
|
|
1456
|
-
*
|
|
1457
|
-
* Use the *state migration RPC* to retrieve the length of the longest key in your
|
|
1458
|
-
* storage: <https://github.com/paritytech/substrate/issues/11642>
|
|
1459
|
-
*
|
|
1460
|
-
* The migration will halt with a `Halted` event if this value is too small.
|
|
1461
|
-
* Since there is no real penalty from over-estimating, it is advised to use a large
|
|
1462
|
-
* value. The default is 512 byte.
|
|
1463
|
-
*
|
|
1464
|
-
* Some key lengths for reference:
|
|
1465
|
-
* - [`frame_support::storage::StorageValue`]: 32 byte
|
|
1466
|
-
* - [`frame_support::storage::StorageMap`]: 64 byte
|
|
1467
|
-
* - [`frame_support::storage::StorageDoubleMap`]: 96 byte
|
|
1468
|
-
*
|
|
1469
|
-
* For more info see
|
|
1470
|
-
* <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
|
|
1461
|
+
* The ParaId of the broker system parachain.
|
|
1471
1462
|
**/
|
|
1472
|
-
|
|
1463
|
+
brokerId: number;
|
|
1473
1464
|
|
|
1474
1465
|
/**
|
|
1475
1466
|
* Generic pallet constant
|
|
@@ -1575,4 +1566,13 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1575
1566
|
**/
|
|
1576
1567
|
[name: string]: any;
|
|
1577
1568
|
};
|
|
1569
|
+
/**
|
|
1570
|
+
* Pallet `IdentityMigrator`'s constants
|
|
1571
|
+
**/
|
|
1572
|
+
identityMigrator: {
|
|
1573
|
+
/**
|
|
1574
|
+
* Generic pallet constant
|
|
1575
|
+
**/
|
|
1576
|
+
[name: string]: any;
|
|
1577
|
+
};
|
|
1578
1578
|
}
|
package/kusama/errors.d.ts
CHANGED
|
@@ -41,6 +41,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
41
41
|
**/
|
|
42
42
|
CallFiltered: GenericPalletError;
|
|
43
43
|
|
|
44
|
+
/**
|
|
45
|
+
* No upgrade authorized.
|
|
46
|
+
**/
|
|
47
|
+
NothingAuthorized: GenericPalletError;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The submitted code is not authorized.
|
|
51
|
+
**/
|
|
52
|
+
Unauthorized: GenericPalletError;
|
|
53
|
+
|
|
44
54
|
/**
|
|
45
55
|
* Generic pallet error
|
|
46
56
|
**/
|
|
@@ -154,7 +164,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
154
164
|
TooManyReserves: GenericPalletError;
|
|
155
165
|
|
|
156
166
|
/**
|
|
157
|
-
* Number of holds exceed `
|
|
167
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
158
168
|
**/
|
|
159
169
|
TooManyHolds: GenericPalletError;
|
|
160
170
|
|
|
@@ -163,6 +173,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
163
173
|
**/
|
|
164
174
|
TooManyFreezes: GenericPalletError;
|
|
165
175
|
|
|
176
|
+
/**
|
|
177
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
178
|
+
**/
|
|
179
|
+
IssuanceDeactivated: GenericPalletError;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The delta cannot be zero.
|
|
183
|
+
**/
|
|
184
|
+
DeltaZero: GenericPalletError;
|
|
185
|
+
|
|
166
186
|
/**
|
|
167
187
|
* Generic pallet error
|
|
168
188
|
**/
|
|
@@ -249,6 +269,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
249
269
|
**/
|
|
250
270
|
AlreadyClaimed: GenericPalletError;
|
|
251
271
|
|
|
272
|
+
/**
|
|
273
|
+
* No nominators exist on this page.
|
|
274
|
+
**/
|
|
275
|
+
InvalidPage: GenericPalletError;
|
|
276
|
+
|
|
252
277
|
/**
|
|
253
278
|
* Incorrect previous history depth input provided.
|
|
254
279
|
**/
|
|
@@ -301,6 +326,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
301
326
|
**/
|
|
302
327
|
BoundNotMet: GenericPalletError;
|
|
303
328
|
|
|
329
|
+
/**
|
|
330
|
+
* Used when attempting to use deprecated controller account logic.
|
|
331
|
+
**/
|
|
332
|
+
ControllerDeprecated: GenericPalletError;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Cannot reset a ledger.
|
|
336
|
+
**/
|
|
337
|
+
CannotRestoreLedger: GenericPalletError;
|
|
338
|
+
|
|
304
339
|
/**
|
|
305
340
|
* Generic pallet error
|
|
306
341
|
**/
|
|
@@ -386,25 +421,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
386
421
|
**/
|
|
387
422
|
[error: string]: GenericPalletError;
|
|
388
423
|
};
|
|
389
|
-
/**
|
|
390
|
-
* Pallet `ImOnline`'s errors
|
|
391
|
-
**/
|
|
392
|
-
imOnline: {
|
|
393
|
-
/**
|
|
394
|
-
* Non existent public key.
|
|
395
|
-
**/
|
|
396
|
-
InvalidKey: GenericPalletError;
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Duplicated heartbeat.
|
|
400
|
-
**/
|
|
401
|
-
DuplicatedHeartbeat: GenericPalletError;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Generic pallet error
|
|
405
|
-
**/
|
|
406
|
-
[error: string]: GenericPalletError;
|
|
407
|
-
};
|
|
408
424
|
/**
|
|
409
425
|
* Pallet `Treasury`'s errors
|
|
410
426
|
**/
|
|
@@ -668,6 +684,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
668
684
|
**/
|
|
669
685
|
NoPermission: GenericPalletError;
|
|
670
686
|
|
|
687
|
+
/**
|
|
688
|
+
* The new member to exchange is the same as the old member
|
|
689
|
+
**/
|
|
690
|
+
SameMember: GenericPalletError;
|
|
691
|
+
|
|
671
692
|
/**
|
|
672
693
|
* Generic pallet error
|
|
673
694
|
**/
|
|
@@ -894,11 +915,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
894
915
|
**/
|
|
895
916
|
InvalidTarget: GenericPalletError;
|
|
896
917
|
|
|
897
|
-
/**
|
|
898
|
-
* Too many additional fields.
|
|
899
|
-
**/
|
|
900
|
-
TooManyFields: GenericPalletError;
|
|
901
|
-
|
|
902
918
|
/**
|
|
903
919
|
* Maximum amount of registrars reached. Cannot add any more.
|
|
904
920
|
**/
|
|
@@ -929,6 +945,51 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
929
945
|
**/
|
|
930
946
|
JudgementPaymentFailed: GenericPalletError;
|
|
931
947
|
|
|
948
|
+
/**
|
|
949
|
+
* The provided suffix is too long.
|
|
950
|
+
**/
|
|
951
|
+
InvalidSuffix: GenericPalletError;
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* The sender does not have permission to issue a username.
|
|
955
|
+
**/
|
|
956
|
+
NotUsernameAuthority: GenericPalletError;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* The authority cannot allocate any more usernames.
|
|
960
|
+
**/
|
|
961
|
+
NoAllocation: GenericPalletError;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* The signature on a username was not valid.
|
|
965
|
+
**/
|
|
966
|
+
InvalidSignature: GenericPalletError;
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Setting this username requires a signature, but none was provided.
|
|
970
|
+
**/
|
|
971
|
+
RequiresSignature: GenericPalletError;
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* The username does not meet the requirements.
|
|
975
|
+
**/
|
|
976
|
+
InvalidUsername: GenericPalletError;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The username is already taken.
|
|
980
|
+
**/
|
|
981
|
+
UsernameTaken: GenericPalletError;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* The requested username does not exist.
|
|
985
|
+
**/
|
|
986
|
+
NoUsername: GenericPalletError;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* The username cannot be forcefully removed because it can still be accepted.
|
|
990
|
+
**/
|
|
991
|
+
NotExpired: GenericPalletError;
|
|
992
|
+
|
|
932
993
|
/**
|
|
933
994
|
* Generic pallet error
|
|
934
995
|
**/
|
|
@@ -1601,6 +1662,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1601
1662
|
**/
|
|
1602
1663
|
TooManyWinners: GenericPalletError;
|
|
1603
1664
|
|
|
1665
|
+
/**
|
|
1666
|
+
* Sumission was prepared for a different round.
|
|
1667
|
+
**/
|
|
1668
|
+
PreDispatchDifferentRound: GenericPalletError;
|
|
1669
|
+
|
|
1604
1670
|
/**
|
|
1605
1671
|
* Generic pallet error
|
|
1606
1672
|
**/
|
|
@@ -1736,7 +1802,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1736
1802
|
TooManyReserves: GenericPalletError;
|
|
1737
1803
|
|
|
1738
1804
|
/**
|
|
1739
|
-
* Number of holds exceed `
|
|
1805
|
+
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
1740
1806
|
**/
|
|
1741
1807
|
TooManyHolds: GenericPalletError;
|
|
1742
1808
|
|
|
@@ -1745,6 +1811,16 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1745
1811
|
**/
|
|
1746
1812
|
TooManyFreezes: GenericPalletError;
|
|
1747
1813
|
|
|
1814
|
+
/**
|
|
1815
|
+
* The issuance cannot be modified since it is already deactivated.
|
|
1816
|
+
**/
|
|
1817
|
+
IssuanceDeactivated: GenericPalletError;
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* The delta cannot be zero.
|
|
1821
|
+
**/
|
|
1822
|
+
DeltaZero: GenericPalletError;
|
|
1823
|
+
|
|
1748
1824
|
/**
|
|
1749
1825
|
* Generic pallet error
|
|
1750
1826
|
**/
|
|
@@ -2190,6 +2266,21 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2190
2266
|
**/
|
|
2191
2267
|
DisputeInvalid: GenericPalletError;
|
|
2192
2268
|
|
|
2269
|
+
/**
|
|
2270
|
+
* A candidate was backed by a disabled validator
|
|
2271
|
+
**/
|
|
2272
|
+
BackedByDisabled: GenericPalletError;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* A candidate was backed even though the paraid was not scheduled.
|
|
2276
|
+
**/
|
|
2277
|
+
BackedOnUnscheduledCore: GenericPalletError;
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* Too many candidates supplied.
|
|
2281
|
+
**/
|
|
2282
|
+
UnscheduledCandidate: GenericPalletError;
|
|
2283
|
+
|
|
2193
2284
|
/**
|
|
2194
2285
|
* Generic pallet error
|
|
2195
2286
|
**/
|
|
@@ -2467,6 +2558,69 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2467
2558
|
**/
|
|
2468
2559
|
[error: string]: GenericPalletError;
|
|
2469
2560
|
};
|
|
2561
|
+
/**
|
|
2562
|
+
* Pallet `OnDemandAssignmentProvider`'s errors
|
|
2563
|
+
**/
|
|
2564
|
+
onDemandAssignmentProvider: {
|
|
2565
|
+
/**
|
|
2566
|
+
* The `ParaId` supplied to the `place_order` call is not a valid `ParaThread`, making the
|
|
2567
|
+
* call is invalid.
|
|
2568
|
+
**/
|
|
2569
|
+
InvalidParaId: GenericPalletError;
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* The order queue is full, `place_order` will not continue.
|
|
2573
|
+
**/
|
|
2574
|
+
QueueFull: GenericPalletError;
|
|
2575
|
+
|
|
2576
|
+
/**
|
|
2577
|
+
* The current spot price is higher than the max amount specified in the `place_order`
|
|
2578
|
+
* call, making it invalid.
|
|
2579
|
+
**/
|
|
2580
|
+
SpotPriceHigherThanMaxAmount: GenericPalletError;
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Generic pallet error
|
|
2584
|
+
**/
|
|
2585
|
+
[error: string]: GenericPalletError;
|
|
2586
|
+
};
|
|
2587
|
+
/**
|
|
2588
|
+
* Pallet `CoretimeAssignmentProvider`'s errors
|
|
2589
|
+
**/
|
|
2590
|
+
coretimeAssignmentProvider: {
|
|
2591
|
+
AssignmentsEmpty: GenericPalletError;
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Assignments together exceeded 57600.
|
|
2595
|
+
**/
|
|
2596
|
+
OverScheduled: GenericPalletError;
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Assignments together less than 57600
|
|
2600
|
+
**/
|
|
2601
|
+
UnderScheduled: GenericPalletError;
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2605
|
+
* ones.
|
|
2606
|
+
**/
|
|
2607
|
+
DisallowedInsert: GenericPalletError;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Tried to insert a schedule for the same core and block number as an existing schedule
|
|
2611
|
+
**/
|
|
2612
|
+
DuplicateInsert: GenericPalletError;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Tried to add an unsorted set of assignments
|
|
2616
|
+
**/
|
|
2617
|
+
AssignmentsNotSorted: GenericPalletError;
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* Generic pallet error
|
|
2621
|
+
**/
|
|
2622
|
+
[error: string]: GenericPalletError;
|
|
2623
|
+
};
|
|
2470
2624
|
/**
|
|
2471
2625
|
* Pallet `Registrar`'s errors
|
|
2472
2626
|
**/
|
|
@@ -2737,44 +2891,13 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2737
2891
|
[error: string]: GenericPalletError;
|
|
2738
2892
|
};
|
|
2739
2893
|
/**
|
|
2740
|
-
* Pallet `
|
|
2894
|
+
* Pallet `Coretime`'s errors
|
|
2741
2895
|
**/
|
|
2742
|
-
|
|
2743
|
-
/**
|
|
2744
|
-
* Max signed limits not respected.
|
|
2745
|
-
**/
|
|
2746
|
-
MaxSignedLimits: GenericPalletError;
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* A key was longer than the configured maximum.
|
|
2750
|
-
*
|
|
2751
|
-
* This means that the migration halted at the current [`Progress`] and
|
|
2752
|
-
* can be resumed with a larger [`crate::Config::MaxKeyLen`] value.
|
|
2753
|
-
* Retrying with the same [`crate::Config::MaxKeyLen`] value will not work.
|
|
2754
|
-
* The value should only be increased to avoid a storage migration for the currently
|
|
2755
|
-
* stored [`crate::Progress::LastKey`].
|
|
2756
|
-
**/
|
|
2757
|
-
KeyTooLong: GenericPalletError;
|
|
2758
|
-
|
|
2759
|
-
/**
|
|
2760
|
-
* submitter does not have enough funds.
|
|
2761
|
-
**/
|
|
2762
|
-
NotEnoughFunds: GenericPalletError;
|
|
2763
|
-
|
|
2764
|
-
/**
|
|
2765
|
-
* Bad witness data provided.
|
|
2766
|
-
**/
|
|
2767
|
-
BadWitness: GenericPalletError;
|
|
2768
|
-
|
|
2769
|
-
/**
|
|
2770
|
-
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
2771
|
-
**/
|
|
2772
|
-
SignedMigrationNotAllowed: GenericPalletError;
|
|
2773
|
-
|
|
2896
|
+
coretime: {
|
|
2774
2897
|
/**
|
|
2775
|
-
*
|
|
2898
|
+
* The paraid making the call is not the coretime brokerage system parachain.
|
|
2776
2899
|
**/
|
|
2777
|
-
|
|
2900
|
+
NotBroker: GenericPalletError;
|
|
2778
2901
|
|
|
2779
2902
|
/**
|
|
2780
2903
|
* Generic pallet error
|
|
@@ -2808,7 +2931,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2808
2931
|
UnweighableMessage: GenericPalletError;
|
|
2809
2932
|
|
|
2810
2933
|
/**
|
|
2811
|
-
* The destination `
|
|
2934
|
+
* The destination `Location` provided cannot be inverted.
|
|
2812
2935
|
**/
|
|
2813
2936
|
DestinationNotInvertible: GenericPalletError;
|
|
2814
2937
|
|
|
@@ -2854,9 +2977,9 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2854
2977
|
AlreadySubscribed: GenericPalletError;
|
|
2855
2978
|
|
|
2856
2979
|
/**
|
|
2857
|
-
*
|
|
2980
|
+
* Could not check-out the assets for teleportation to the destination chain.
|
|
2858
2981
|
**/
|
|
2859
|
-
|
|
2982
|
+
CannotCheckOutTeleport: GenericPalletError;
|
|
2860
2983
|
|
|
2861
2984
|
/**
|
|
2862
2985
|
* The owner does not own (all) of the asset that they wish to do the operation on.
|
|
@@ -2888,6 +3011,31 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2888
3011
|
**/
|
|
2889
3012
|
InUse: GenericPalletError;
|
|
2890
3013
|
|
|
3014
|
+
/**
|
|
3015
|
+
* Invalid non-concrete asset.
|
|
3016
|
+
**/
|
|
3017
|
+
InvalidAssetNotConcrete: GenericPalletError;
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* Invalid asset, reserve chain could not be determined for it.
|
|
3021
|
+
**/
|
|
3022
|
+
InvalidAssetUnknownReserve: GenericPalletError;
|
|
3023
|
+
|
|
3024
|
+
/**
|
|
3025
|
+
* Invalid asset, do not support remote asset reserves with different fees reserves.
|
|
3026
|
+
**/
|
|
3027
|
+
InvalidAssetUnsupportedReserve: GenericPalletError;
|
|
3028
|
+
|
|
3029
|
+
/**
|
|
3030
|
+
* Too many assets with different reserve locations have been attempted for transfer.
|
|
3031
|
+
**/
|
|
3032
|
+
TooManyReserves: GenericPalletError;
|
|
3033
|
+
|
|
3034
|
+
/**
|
|
3035
|
+
* Local XCM execution incomplete.
|
|
3036
|
+
**/
|
|
3037
|
+
LocalExecutionIncomplete: GenericPalletError;
|
|
3038
|
+
|
|
2891
3039
|
/**
|
|
2892
3040
|
* Generic pallet error
|
|
2893
3041
|
**/
|
|
@@ -2943,6 +3091,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2943
3091
|
**/
|
|
2944
3092
|
QueuePaused: GenericPalletError;
|
|
2945
3093
|
|
|
3094
|
+
/**
|
|
3095
|
+
* Another call is in progress and needs to finish before this call can happen.
|
|
3096
|
+
**/
|
|
3097
|
+
RecursiveDisallowed: GenericPalletError;
|
|
3098
|
+
|
|
2946
3099
|
/**
|
|
2947
3100
|
* Generic pallet error
|
|
2948
3101
|
**/
|