@dedot/chaintypes 0.229.0 → 0.230.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/package.json +2 -2
- package/paseo/consts.d.ts +9 -106
- package/paseo/errors.d.ts +42 -294
- package/paseo/events.d.ts +50 -753
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +93 -556
- package/paseo/runtime.d.ts +71 -212
- package/paseo/tx.d.ts +138 -1161
- package/paseo/types.d.ts +8191 -10274
- package/paseo/view-functions.d.ts +1 -75
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.230.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "00647f03866267a6f7fe8e8590d45b74b9d42797",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/paseo/consts.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Permill,
|
|
4
|
+
import type { RuntimeVersion, Permill, Bytes, Perbill, FixedU128 } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
SpWeightsWeightV2Weight,
|
|
10
10
|
FrameSupportPalletId,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
PalletReferendaTrackInfo,
|
|
12
|
+
StagingXcmV4Junctions,
|
|
13
13
|
} from './types.js';
|
|
14
14
|
|
|
15
15
|
export interface ChainConsts extends GenericChainConsts {
|
|
@@ -301,11 +301,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
301
301
|
**/
|
|
302
302
|
maxExposurePageSize: number;
|
|
303
303
|
|
|
304
|
-
/**
|
|
305
|
-
* The absolute maximum of winner validators this pallet should return.
|
|
306
|
-
**/
|
|
307
|
-
maxValidatorSet: number;
|
|
308
|
-
|
|
309
304
|
/**
|
|
310
305
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
311
306
|
* have. Effectively determines how many unique eras a staker may be
|
|
@@ -347,11 +342,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
347
342
|
* Pallet `Session`'s constants
|
|
348
343
|
**/
|
|
349
344
|
session: {
|
|
350
|
-
/**
|
|
351
|
-
* The amount to be held when setting keys.
|
|
352
|
-
**/
|
|
353
|
-
keyDeposit: bigint;
|
|
354
|
-
|
|
355
345
|
/**
|
|
356
346
|
* Generic pallet constant
|
|
357
347
|
**/
|
|
@@ -415,9 +405,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
415
405
|
palletId: FrameSupportPalletId;
|
|
416
406
|
|
|
417
407
|
/**
|
|
418
|
-
* DEPRECATED: associated with `spend_local` call and will be removed in May 2025.
|
|
419
|
-
* Refer to <https://github.com/paritytech/polkadot-sdk/pull/5961> for migration to `spend`.
|
|
420
|
-
*
|
|
421
408
|
* The maximum number of approvals that can wait in the spending queue.
|
|
422
409
|
*
|
|
423
410
|
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
@@ -429,11 +416,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
429
416
|
**/
|
|
430
417
|
payoutPeriod: number;
|
|
431
418
|
|
|
432
|
-
/**
|
|
433
|
-
* Gets this pallet's derived pot account.
|
|
434
|
-
**/
|
|
435
|
-
potAccount: AccountId32;
|
|
436
|
-
|
|
437
419
|
/**
|
|
438
420
|
* Generic pallet constant
|
|
439
421
|
**/
|
|
@@ -492,11 +474,9 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
492
474
|
alarmInterval: number;
|
|
493
475
|
|
|
494
476
|
/**
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
477
|
+
* Information concerning the different referendum tracks.
|
|
498
478
|
**/
|
|
499
|
-
tracks: Array<[number,
|
|
479
|
+
tracks: Array<[number, PalletReferendaTrackInfo]>;
|
|
500
480
|
|
|
501
481
|
/**
|
|
502
482
|
* Generic pallet constant
|
|
@@ -659,12 +639,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
659
639
|
bountyDepositPayoutDelay: number;
|
|
660
640
|
|
|
661
641
|
/**
|
|
662
|
-
*
|
|
663
|
-
*
|
|
664
|
-
* The period that starts when a curator is approved, during which they must execute or
|
|
665
|
-
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
|
666
|
-
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
|
667
|
-
* removing the need for `extend_bounty_expiry`.
|
|
642
|
+
* Bounty duration in blocks.
|
|
668
643
|
**/
|
|
669
644
|
bountyUpdatePeriod: number;
|
|
670
645
|
|
|
@@ -791,18 +766,12 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
791
766
|
signedDepositWeight: bigint;
|
|
792
767
|
|
|
793
768
|
/**
|
|
794
|
-
*
|
|
769
|
+
* The maximum number of winners that can be elected by this `ElectionProvider`
|
|
770
|
+
* implementation.
|
|
795
771
|
*
|
|
796
772
|
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
|
797
773
|
**/
|
|
798
774
|
maxWinners: number;
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Maximum number of voters that can support a winner in an election solution.
|
|
802
|
-
*
|
|
803
|
-
* This is needed to ensure election computation is bounded.
|
|
804
|
-
**/
|
|
805
|
-
maxBackersPerWinner: number;
|
|
806
775
|
minerMaxLength: number;
|
|
807
776
|
minerMaxWeight: SpWeightsWeightV2Weight;
|
|
808
777
|
minerMaxVotesPerVoter: number;
|
|
@@ -864,14 +833,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
864
833
|
**/
|
|
865
834
|
bagThresholds: Array<bigint>;
|
|
866
835
|
|
|
867
|
-
/**
|
|
868
|
-
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
|
869
|
-
*
|
|
870
|
-
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
|
871
|
-
* the feature.
|
|
872
|
-
**/
|
|
873
|
-
maxAutoRebagPerBlock: number;
|
|
874
|
-
|
|
875
836
|
/**
|
|
876
837
|
* Generic pallet constant
|
|
877
838
|
**/
|
|
@@ -927,34 +888,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
927
888
|
**/
|
|
928
889
|
[name: string]: any;
|
|
929
890
|
};
|
|
930
|
-
/**
|
|
931
|
-
* Pallet `DelegatedStaking`'s constants
|
|
932
|
-
**/
|
|
933
|
-
delegatedStaking: {
|
|
934
|
-
/**
|
|
935
|
-
* Injected identifier for the pallet.
|
|
936
|
-
**/
|
|
937
|
-
palletId: FrameSupportPalletId;
|
|
938
|
-
|
|
939
|
-
/**
|
|
940
|
-
* Fraction of the slash that is rewarded to the caller of pending slash to the agent.
|
|
941
|
-
**/
|
|
942
|
-
slashRewardFraction: Perbill;
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* Generic pallet constant
|
|
946
|
-
**/
|
|
947
|
-
[name: string]: any;
|
|
948
|
-
};
|
|
949
|
-
/**
|
|
950
|
-
* Pallet `StakingAhClient`'s constants
|
|
951
|
-
**/
|
|
952
|
-
stakingAhClient: {
|
|
953
|
-
/**
|
|
954
|
-
* Generic pallet constant
|
|
955
|
-
**/
|
|
956
|
-
[name: string]: any;
|
|
957
|
-
};
|
|
958
891
|
/**
|
|
959
892
|
* Pallet `ParachainsOrigin`'s constants
|
|
960
893
|
**/
|
|
@@ -1208,7 +1141,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1208
1141
|
/**
|
|
1209
1142
|
* The coretime chain pot location.
|
|
1210
1143
|
**/
|
|
1211
|
-
brokerPotLocation:
|
|
1144
|
+
brokerPotLocation: StagingXcmV4Junctions;
|
|
1212
1145
|
|
|
1213
1146
|
/**
|
|
1214
1147
|
* Generic pallet constant
|
|
@@ -1253,27 +1186,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1253
1186
|
* Pallet `XcmPallet`'s constants
|
|
1254
1187
|
**/
|
|
1255
1188
|
xcmPallet: {
|
|
1256
|
-
/**
|
|
1257
|
-
* This chain's Universal Location.
|
|
1258
|
-
**/
|
|
1259
|
-
universalLocation: StagingXcmV5Junctions;
|
|
1260
|
-
|
|
1261
|
-
/**
|
|
1262
|
-
* The latest supported version that we advertise. Generally just set it to
|
|
1263
|
-
* `pallet_xcm::CurrentXcmVersion`.
|
|
1264
|
-
**/
|
|
1265
|
-
advertisedXcmVersion: number;
|
|
1266
|
-
|
|
1267
|
-
/**
|
|
1268
|
-
* The maximum number of local XCM locks that a single account may have.
|
|
1269
|
-
**/
|
|
1270
|
-
maxLockers: number;
|
|
1271
|
-
|
|
1272
|
-
/**
|
|
1273
|
-
* The maximum number of consumers a single remote lock may have.
|
|
1274
|
-
**/
|
|
1275
|
-
maxRemoteLockConsumers: number;
|
|
1276
|
-
|
|
1277
1189
|
/**
|
|
1278
1190
|
* Generic pallet constant
|
|
1279
1191
|
**/
|
|
@@ -1397,13 +1309,4 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1397
1309
|
**/
|
|
1398
1310
|
[name: string]: any;
|
|
1399
1311
|
};
|
|
1400
|
-
/**
|
|
1401
|
-
* Pallet `RcMigrator`'s constants
|
|
1402
|
-
**/
|
|
1403
|
-
rcMigrator: {
|
|
1404
|
-
/**
|
|
1405
|
-
* Generic pallet constant
|
|
1406
|
-
**/
|
|
1407
|
-
[name: string]: any;
|
|
1408
|
-
};
|
|
1409
1312
|
}
|
package/paseo/errors.d.ts
CHANGED
|
@@ -139,6 +139,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
139
139
|
**/
|
|
140
140
|
TooFew: GenericPalletError;
|
|
141
141
|
|
|
142
|
+
/**
|
|
143
|
+
* No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
|
|
144
|
+
**/
|
|
145
|
+
NoCost: GenericPalletError;
|
|
146
|
+
|
|
142
147
|
/**
|
|
143
148
|
* Generic pallet error
|
|
144
149
|
**/
|
|
@@ -439,22 +444,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
439
444
|
**/
|
|
440
445
|
VirtualStakerNotAllowed: GenericPalletError;
|
|
441
446
|
|
|
442
|
-
/**
|
|
443
|
-
* Stash could not be reaped as other pallet might depend on it.
|
|
444
|
-
**/
|
|
445
|
-
CannotReapStash: GenericPalletError;
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* The stake of this account is already migrated to `Fungible` holds.
|
|
449
|
-
**/
|
|
450
|
-
AlreadyMigrated: GenericPalletError;
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Account is restricted from participation in staking. This may happen if the account is
|
|
454
|
-
* staking in another way already, such as via pool.
|
|
455
|
-
**/
|
|
456
|
-
Restricted: GenericPalletError;
|
|
457
|
-
|
|
458
447
|
/**
|
|
459
448
|
* Generic pallet error
|
|
460
449
|
**/
|
|
@@ -966,13 +955,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
966
955
|
SenderInSignatories: GenericPalletError;
|
|
967
956
|
|
|
968
957
|
/**
|
|
969
|
-
* Multisig operation not found
|
|
958
|
+
* Multisig operation not found when attempting to cancel.
|
|
970
959
|
**/
|
|
971
960
|
NotFound: GenericPalletError;
|
|
972
961
|
|
|
973
962
|
/**
|
|
974
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
975
|
-
* its deposits.
|
|
963
|
+
* Only the account that originally created the multisig is able to cancel it.
|
|
976
964
|
**/
|
|
977
965
|
NotOwner: GenericPalletError;
|
|
978
966
|
|
|
@@ -1066,11 +1054,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1066
1054
|
**/
|
|
1067
1055
|
TooManyQueued: GenericPalletError;
|
|
1068
1056
|
|
|
1069
|
-
/**
|
|
1070
|
-
* User is not the proposer of the bounty.
|
|
1071
|
-
**/
|
|
1072
|
-
NotProposer: GenericPalletError;
|
|
1073
|
-
|
|
1074
1057
|
/**
|
|
1075
1058
|
* Generic pallet error
|
|
1076
1059
|
**/
|
|
@@ -1193,11 +1176,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1193
1176
|
**/
|
|
1194
1177
|
List: GenericPalletError;
|
|
1195
1178
|
|
|
1196
|
-
/**
|
|
1197
|
-
* Could not update a node, because the pallet is locked.
|
|
1198
|
-
**/
|
|
1199
|
-
Locked: GenericPalletError;
|
|
1200
|
-
|
|
1201
1179
|
/**
|
|
1202
1180
|
* Generic pallet error
|
|
1203
1181
|
**/
|
|
@@ -1380,11 +1358,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1380
1358
|
**/
|
|
1381
1359
|
NothingToSlash: GenericPalletError;
|
|
1382
1360
|
|
|
1383
|
-
/**
|
|
1384
|
-
* The slash amount is too low to be applied.
|
|
1385
|
-
**/
|
|
1386
|
-
SlashTooLow: GenericPalletError;
|
|
1387
|
-
|
|
1388
1361
|
/**
|
|
1389
1362
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1390
1363
|
**/
|
|
@@ -1400,12 +1373,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1400
1373
|
**/
|
|
1401
1374
|
NotSupported: GenericPalletError;
|
|
1402
1375
|
|
|
1403
|
-
/**
|
|
1404
|
-
* Account is restricted from participation in pools. This may happen if the account is
|
|
1405
|
-
* staking in another way already.
|
|
1406
|
-
**/
|
|
1407
|
-
Restricted: GenericPalletError;
|
|
1408
|
-
|
|
1409
1376
|
/**
|
|
1410
1377
|
* Generic pallet error
|
|
1411
1378
|
**/
|
|
@@ -1452,93 +1419,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1452
1419
|
**/
|
|
1453
1420
|
[error: string]: GenericPalletError;
|
|
1454
1421
|
};
|
|
1455
|
-
/**
|
|
1456
|
-
* Pallet `DelegatedStaking`'s errors
|
|
1457
|
-
**/
|
|
1458
|
-
delegatedStaking: {
|
|
1459
|
-
/**
|
|
1460
|
-
* The account cannot perform this operation.
|
|
1461
|
-
**/
|
|
1462
|
-
NotAllowed: GenericPalletError;
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* An existing staker cannot perform this action.
|
|
1466
|
-
**/
|
|
1467
|
-
AlreadyStaking: GenericPalletError;
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
* Reward Destination cannot be same as `Agent` account.
|
|
1471
|
-
**/
|
|
1472
|
-
InvalidRewardDestination: GenericPalletError;
|
|
1473
|
-
|
|
1474
|
-
/**
|
|
1475
|
-
* Delegation conditions are not met.
|
|
1476
|
-
*
|
|
1477
|
-
* Possible issues are
|
|
1478
|
-
* 1) Cannot delegate to self,
|
|
1479
|
-
* 2) Cannot delegate to multiple delegates.
|
|
1480
|
-
**/
|
|
1481
|
-
InvalidDelegation: GenericPalletError;
|
|
1482
|
-
|
|
1483
|
-
/**
|
|
1484
|
-
* The account does not have enough funds to perform the operation.
|
|
1485
|
-
**/
|
|
1486
|
-
NotEnoughFunds: GenericPalletError;
|
|
1487
|
-
|
|
1488
|
-
/**
|
|
1489
|
-
* Not an existing `Agent` account.
|
|
1490
|
-
**/
|
|
1491
|
-
NotAgent: GenericPalletError;
|
|
1492
|
-
|
|
1493
|
-
/**
|
|
1494
|
-
* Not a Delegator account.
|
|
1495
|
-
**/
|
|
1496
|
-
NotDelegator: GenericPalletError;
|
|
1497
|
-
|
|
1498
|
-
/**
|
|
1499
|
-
* Some corruption in internal state.
|
|
1500
|
-
**/
|
|
1501
|
-
BadState: GenericPalletError;
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* Unapplied pending slash restricts operation on `Agent`.
|
|
1505
|
-
**/
|
|
1506
|
-
UnappliedSlash: GenericPalletError;
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* `Agent` has no pending slash to be applied.
|
|
1510
|
-
**/
|
|
1511
|
-
NothingToSlash: GenericPalletError;
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
* Failed to withdraw amount from Core Staking.
|
|
1515
|
-
**/
|
|
1516
|
-
WithdrawFailed: GenericPalletError;
|
|
1517
|
-
|
|
1518
|
-
/**
|
|
1519
|
-
* Operation not supported by this pallet.
|
|
1520
|
-
**/
|
|
1521
|
-
NotSupported: GenericPalletError;
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* Generic pallet error
|
|
1525
|
-
**/
|
|
1526
|
-
[error: string]: GenericPalletError;
|
|
1527
|
-
};
|
|
1528
|
-
/**
|
|
1529
|
-
* Pallet `StakingAhClient`'s errors
|
|
1530
|
-
**/
|
|
1531
|
-
stakingAhClient: {
|
|
1532
|
-
/**
|
|
1533
|
-
* Could not process incoming message because incoming messages are blocked.
|
|
1534
|
-
**/
|
|
1535
|
-
Blocked: GenericPalletError;
|
|
1536
|
-
|
|
1537
|
-
/**
|
|
1538
|
-
* Generic pallet error
|
|
1539
|
-
**/
|
|
1540
|
-
[error: string]: GenericPalletError;
|
|
1541
|
-
};
|
|
1542
1422
|
/**
|
|
1543
1423
|
* Pallet `Configuration`'s errors
|
|
1544
1424
|
**/
|
|
@@ -1609,6 +1489,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1609
1489
|
**/
|
|
1610
1490
|
InvalidBacking: GenericPalletError;
|
|
1611
1491
|
|
|
1492
|
+
/**
|
|
1493
|
+
* Collator did not sign PoV.
|
|
1494
|
+
**/
|
|
1495
|
+
NotCollatorSigned: GenericPalletError;
|
|
1496
|
+
|
|
1612
1497
|
/**
|
|
1613
1498
|
* The validation data hash does not match expected.
|
|
1614
1499
|
**/
|
|
@@ -1666,10 +1551,15 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1666
1551
|
InvalidParentHeader: GenericPalletError;
|
|
1667
1552
|
|
|
1668
1553
|
/**
|
|
1669
|
-
*
|
|
1554
|
+
* The data given to the inherent will result in an overweight block.
|
|
1555
|
+
**/
|
|
1556
|
+
InherentOverweight: GenericPalletError;
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* A candidate was filtered during inherent execution. This should have only been done
|
|
1670
1560
|
* during creation.
|
|
1671
1561
|
**/
|
|
1672
|
-
|
|
1562
|
+
CandidatesFilteredDuringExecution: GenericPalletError;
|
|
1673
1563
|
|
|
1674
1564
|
/**
|
|
1675
1565
|
* Too many candidates supplied.
|
|
@@ -1750,21 +1640,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1750
1640
|
**/
|
|
1751
1641
|
InvalidCode: GenericPalletError;
|
|
1752
1642
|
|
|
1753
|
-
/**
|
|
1754
|
-
* No upgrade authorized.
|
|
1755
|
-
**/
|
|
1756
|
-
NothingAuthorized: GenericPalletError;
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* The submitted code is not authorized.
|
|
1760
|
-
**/
|
|
1761
|
-
Unauthorized: GenericPalletError;
|
|
1762
|
-
|
|
1763
|
-
/**
|
|
1764
|
-
* Invalid block number.
|
|
1765
|
-
**/
|
|
1766
|
-
InvalidBlockNumber: GenericPalletError;
|
|
1767
|
-
|
|
1768
1643
|
/**
|
|
1769
1644
|
* Generic pallet error
|
|
1770
1645
|
**/
|
|
@@ -1988,11 +1863,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1988
1863
|
**/
|
|
1989
1864
|
SpotPriceHigherThanMaxAmount: GenericPalletError;
|
|
1990
1865
|
|
|
1991
|
-
/**
|
|
1992
|
-
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
1993
|
-
**/
|
|
1994
|
-
InsufficientCredits: GenericPalletError;
|
|
1995
|
-
|
|
1996
1866
|
/**
|
|
1997
1867
|
* Generic pallet error
|
|
1998
1868
|
**/
|
|
@@ -2004,12 +1874,32 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2004
1874
|
coretimeAssignmentProvider: {
|
|
2005
1875
|
AssignmentsEmpty: GenericPalletError;
|
|
2006
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* Assignments together exceeded 57600.
|
|
1879
|
+
**/
|
|
1880
|
+
OverScheduled: GenericPalletError;
|
|
1881
|
+
|
|
1882
|
+
/**
|
|
1883
|
+
* Assignments together less than 57600
|
|
1884
|
+
**/
|
|
1885
|
+
UnderScheduled: GenericPalletError;
|
|
1886
|
+
|
|
2007
1887
|
/**
|
|
2008
1888
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
2009
|
-
* ones
|
|
1889
|
+
* ones.
|
|
2010
1890
|
**/
|
|
2011
1891
|
DisallowedInsert: GenericPalletError;
|
|
2012
1892
|
|
|
1893
|
+
/**
|
|
1894
|
+
* Tried to insert a schedule for the same core and block number as an existing schedule
|
|
1895
|
+
**/
|
|
1896
|
+
DuplicateInsert: GenericPalletError;
|
|
1897
|
+
|
|
1898
|
+
/**
|
|
1899
|
+
* Tried to add an unsorted set of assignments
|
|
1900
|
+
**/
|
|
1901
|
+
AssignmentsNotSorted: GenericPalletError;
|
|
1902
|
+
|
|
2013
1903
|
/**
|
|
2014
1904
|
* Generic pallet error
|
|
2015
1905
|
**/
|
|
@@ -2481,29 +2371,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2481
2371
|
**/
|
|
2482
2372
|
LocalExecutionIncomplete: GenericPalletError;
|
|
2483
2373
|
|
|
2484
|
-
/**
|
|
2485
|
-
* Too many locations authorized to alias origin.
|
|
2486
|
-
*
|
|
2487
|
-
* @deprecated Use `LocalExecutionIncompleteWithError` instead (since 20.0.0)
|
|
2488
|
-
**/
|
|
2489
|
-
TooManyAuthorizedAliases: GenericPalletError;
|
|
2490
|
-
|
|
2491
|
-
/**
|
|
2492
|
-
* Expiry block number is in the past.
|
|
2493
|
-
**/
|
|
2494
|
-
ExpiresInPast: GenericPalletError;
|
|
2495
|
-
|
|
2496
|
-
/**
|
|
2497
|
-
* The alias to remove authorization for was not found.
|
|
2498
|
-
**/
|
|
2499
|
-
AliasNotFound: GenericPalletError;
|
|
2500
|
-
|
|
2501
|
-
/**
|
|
2502
|
-
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2503
|
-
* instruction that caused the error.
|
|
2504
|
-
**/
|
|
2505
|
-
LocalExecutionIncompleteWithError: GenericPalletError;
|
|
2506
|
-
|
|
2507
2374
|
/**
|
|
2508
2375
|
* Generic pallet error
|
|
2509
2376
|
**/
|
|
@@ -2603,24 +2470,9 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2603
2470
|
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2604
2471
|
|
|
2605
2472
|
/**
|
|
2606
|
-
*
|
|
2607
|
-
**/
|
|
2608
|
-
InvalidDoubleVotingProof: GenericPalletError;
|
|
2609
|
-
|
|
2610
|
-
/**
|
|
2611
|
-
* A fork voting proof provided as part of an equivocation report is invalid.
|
|
2612
|
-
**/
|
|
2613
|
-
InvalidForkVotingProof: GenericPalletError;
|
|
2614
|
-
|
|
2615
|
-
/**
|
|
2616
|
-
* A future block voting proof provided as part of an equivocation report is invalid.
|
|
2617
|
-
**/
|
|
2618
|
-
InvalidFutureBlockVotingProof: GenericPalletError;
|
|
2619
|
-
|
|
2620
|
-
/**
|
|
2621
|
-
* The session of the equivocation proof is invalid
|
|
2473
|
+
* An equivocation proof provided as part of an equivocation report is invalid.
|
|
2622
2474
|
**/
|
|
2623
|
-
|
|
2475
|
+
InvalidEquivocationProof: GenericPalletError;
|
|
2624
2476
|
|
|
2625
2477
|
/**
|
|
2626
2478
|
* A given equivocation report is valid but already previously reported.
|
|
@@ -2657,11 +2509,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2657
2509
|
**/
|
|
2658
2510
|
ExceedsMaxMessageSize: GenericPalletError;
|
|
2659
2511
|
|
|
2660
|
-
/**
|
|
2661
|
-
* A DMP message couldn't be sent because the destination is unreachable.
|
|
2662
|
-
**/
|
|
2663
|
-
Unroutable: GenericPalletError;
|
|
2664
|
-
|
|
2665
2512
|
/**
|
|
2666
2513
|
* Could not schedule para cleanup.
|
|
2667
2514
|
**/
|
|
@@ -2706,105 +2553,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2706
2553
|
**/
|
|
2707
2554
|
RequireSudo: GenericPalletError;
|
|
2708
2555
|
|
|
2709
|
-
/**
|
|
2710
|
-
* Generic pallet error
|
|
2711
|
-
**/
|
|
2712
|
-
[error: string]: GenericPalletError;
|
|
2713
|
-
};
|
|
2714
|
-
/**
|
|
2715
|
-
* Pallet `RcMigrator`'s errors
|
|
2716
|
-
**/
|
|
2717
|
-
rcMigrator: {
|
|
2718
|
-
Unreachable: GenericPalletError;
|
|
2719
|
-
OutOfWeight: GenericPalletError;
|
|
2720
|
-
|
|
2721
|
-
/**
|
|
2722
|
-
* Failed to send XCM message to AH.
|
|
2723
|
-
**/
|
|
2724
|
-
XcmError: GenericPalletError;
|
|
2725
|
-
|
|
2726
|
-
/**
|
|
2727
|
-
* Failed to withdraw account from RC for migration to AH.
|
|
2728
|
-
**/
|
|
2729
|
-
FailedToWithdrawAccount: GenericPalletError;
|
|
2730
|
-
|
|
2731
|
-
/**
|
|
2732
|
-
* Indicates that the specified block number is in the past.
|
|
2733
|
-
**/
|
|
2734
|
-
PastBlockNumber: GenericPalletError;
|
|
2735
|
-
|
|
2736
|
-
/**
|
|
2737
|
-
* Indicates that there is not enough time for staking to lock.
|
|
2738
|
-
*
|
|
2739
|
-
* Schedule the migration at least two sessions before the current era ends.
|
|
2740
|
-
**/
|
|
2741
|
-
EraEndsTooSoon: GenericPalletError;
|
|
2742
|
-
|
|
2743
|
-
/**
|
|
2744
|
-
* Balance accounting overflow.
|
|
2745
|
-
**/
|
|
2746
|
-
BalanceOverflow: GenericPalletError;
|
|
2747
|
-
|
|
2748
|
-
/**
|
|
2749
|
-
* Balance accounting underflow.
|
|
2750
|
-
**/
|
|
2751
|
-
BalanceUnderflow: GenericPalletError;
|
|
2752
|
-
|
|
2753
|
-
/**
|
|
2754
|
-
* The query response is invalid.
|
|
2755
|
-
**/
|
|
2756
|
-
InvalidQueryResponse: GenericPalletError;
|
|
2757
|
-
|
|
2758
|
-
/**
|
|
2759
|
-
* The xcm query was not found.
|
|
2760
|
-
**/
|
|
2761
|
-
QueryNotFound: GenericPalletError;
|
|
2762
|
-
|
|
2763
|
-
/**
|
|
2764
|
-
* Failed to send XCM message.
|
|
2765
|
-
**/
|
|
2766
|
-
XcmSendError: GenericPalletError;
|
|
2767
|
-
|
|
2768
|
-
/**
|
|
2769
|
-
* The migration stage is not reachable from the current stage.
|
|
2770
|
-
**/
|
|
2771
|
-
UnreachableStage: GenericPalletError;
|
|
2772
|
-
|
|
2773
|
-
/**
|
|
2774
|
-
* Invalid parameter.
|
|
2775
|
-
**/
|
|
2776
|
-
InvalidParameter: GenericPalletError;
|
|
2777
|
-
|
|
2778
|
-
/**
|
|
2779
|
-
* The AH UMP queue priority configuration is already set.
|
|
2780
|
-
**/
|
|
2781
|
-
AhUmpQueuePriorityAlreadySet: GenericPalletError;
|
|
2782
|
-
|
|
2783
|
-
/**
|
|
2784
|
-
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
2785
|
-
**/
|
|
2786
|
-
AccountReferenced: GenericPalletError;
|
|
2787
|
-
|
|
2788
|
-
/**
|
|
2789
|
-
* The XCM version is invalid.
|
|
2790
|
-
**/
|
|
2791
|
-
BadXcmVersion: GenericPalletError;
|
|
2792
|
-
|
|
2793
|
-
/**
|
|
2794
|
-
* The origin is invalid.
|
|
2795
|
-
**/
|
|
2796
|
-
InvalidOrigin: GenericPalletError;
|
|
2797
|
-
|
|
2798
|
-
/**
|
|
2799
|
-
* The stage transition is invalid.
|
|
2800
|
-
**/
|
|
2801
|
-
InvalidStageTransition: GenericPalletError;
|
|
2802
|
-
|
|
2803
|
-
/**
|
|
2804
|
-
* Unsigned validation failed.
|
|
2805
|
-
**/
|
|
2806
|
-
UnsignedValidationFailed: GenericPalletError;
|
|
2807
|
-
|
|
2808
2556
|
/**
|
|
2809
2557
|
* Generic pallet error
|
|
2810
2558
|
**/
|