@dedot/chaintypes 0.231.0 → 0.233.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 +106 -18
- package/paseo/errors.d.ts +294 -42
- package/paseo/events.d.ts +753 -87
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +556 -115
- package/paseo/runtime.d.ts +212 -91
- package/paseo/tx.d.ts +1188 -196
- package/paseo/types.d.ts +6894 -4909
- package/paseo/view-functions.d.ts +75 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.233.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": "7d49125182f670111375603e9e8ea022c4898d66",
|
|
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, Bytes, Perbill, FixedU128 } from 'dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, Permill, AccountId32, 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
|
+
PalletReferendaTrackDetails,
|
|
12
|
+
StagingXcmV5Junctions,
|
|
13
13
|
} from './types.js';
|
|
14
14
|
|
|
15
15
|
export interface ChainConsts extends GenericChainConsts {
|
|
@@ -301,6 +301,11 @@ 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
|
+
|
|
304
309
|
/**
|
|
305
310
|
* The maximum number of `unlocking` chunks a [`StakingLedger`] can
|
|
306
311
|
* have. Effectively determines how many unique eras a staker may be
|
|
@@ -342,6 +347,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
342
347
|
* Pallet `Session`'s constants
|
|
343
348
|
**/
|
|
344
349
|
session: {
|
|
350
|
+
/**
|
|
351
|
+
* The amount to be held when setting keys.
|
|
352
|
+
**/
|
|
353
|
+
keyDeposit: bigint;
|
|
354
|
+
|
|
345
355
|
/**
|
|
346
356
|
* Generic pallet constant
|
|
347
357
|
**/
|
|
@@ -405,6 +415,9 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
405
415
|
palletId: FrameSupportPalletId;
|
|
406
416
|
|
|
407
417
|
/**
|
|
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
|
+
*
|
|
408
421
|
* The maximum number of approvals that can wait in the spending queue.
|
|
409
422
|
*
|
|
410
423
|
* NOTE: This parameter is also used within the Bounties Pallet extension if enabled.
|
|
@@ -416,6 +429,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
416
429
|
**/
|
|
417
430
|
payoutPeriod: number;
|
|
418
431
|
|
|
432
|
+
/**
|
|
433
|
+
* Gets this pallet's derived pot account.
|
|
434
|
+
**/
|
|
435
|
+
potAccount: AccountId32;
|
|
436
|
+
|
|
419
437
|
/**
|
|
420
438
|
* Generic pallet constant
|
|
421
439
|
**/
|
|
@@ -474,9 +492,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
474
492
|
alarmInterval: number;
|
|
475
493
|
|
|
476
494
|
/**
|
|
477
|
-
*
|
|
495
|
+
* A list of tracks.
|
|
496
|
+
*
|
|
497
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
478
498
|
**/
|
|
479
|
-
tracks: Array<[number,
|
|
499
|
+
tracks: Array<[number, PalletReferendaTrackDetails]>;
|
|
480
500
|
|
|
481
501
|
/**
|
|
482
502
|
* Generic pallet constant
|
|
@@ -501,15 +521,6 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
501
521
|
**/
|
|
502
522
|
[name: string]: any;
|
|
503
523
|
};
|
|
504
|
-
/**
|
|
505
|
-
* Pallet `Parameters`'s constants
|
|
506
|
-
**/
|
|
507
|
-
parameters: {
|
|
508
|
-
/**
|
|
509
|
-
* Generic pallet constant
|
|
510
|
-
**/
|
|
511
|
-
[name: string]: any;
|
|
512
|
-
};
|
|
513
524
|
/**
|
|
514
525
|
* Pallet `Claims`'s constants
|
|
515
526
|
**/
|
|
@@ -648,7 +659,12 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
648
659
|
bountyDepositPayoutDelay: number;
|
|
649
660
|
|
|
650
661
|
/**
|
|
651
|
-
*
|
|
662
|
+
* The time limit for a curator to act before a bounty expires.
|
|
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`.
|
|
652
668
|
**/
|
|
653
669
|
bountyUpdatePeriod: number;
|
|
654
670
|
|
|
@@ -775,12 +791,18 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
775
791
|
signedDepositWeight: bigint;
|
|
776
792
|
|
|
777
793
|
/**
|
|
778
|
-
*
|
|
779
|
-
* implementation.
|
|
794
|
+
* Maximum number of winners that an election supports.
|
|
780
795
|
*
|
|
781
796
|
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
|
782
797
|
**/
|
|
783
798
|
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;
|
|
784
806
|
minerMaxLength: number;
|
|
785
807
|
minerMaxWeight: SpWeightsWeightV2Weight;
|
|
786
808
|
minerMaxVotesPerVoter: number;
|
|
@@ -842,6 +864,14 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
842
864
|
**/
|
|
843
865
|
bagThresholds: Array<bigint>;
|
|
844
866
|
|
|
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
|
+
|
|
845
875
|
/**
|
|
846
876
|
* Generic pallet constant
|
|
847
877
|
**/
|
|
@@ -897,6 +927,34 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
897
927
|
**/
|
|
898
928
|
[name: string]: any;
|
|
899
929
|
};
|
|
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
|
+
};
|
|
900
958
|
/**
|
|
901
959
|
* Pallet `ParachainsOrigin`'s constants
|
|
902
960
|
**/
|
|
@@ -1150,7 +1208,7 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1150
1208
|
/**
|
|
1151
1209
|
* The coretime chain pot location.
|
|
1152
1210
|
**/
|
|
1153
|
-
brokerPotLocation:
|
|
1211
|
+
brokerPotLocation: StagingXcmV5Junctions;
|
|
1154
1212
|
|
|
1155
1213
|
/**
|
|
1156
1214
|
* Generic pallet constant
|
|
@@ -1195,6 +1253,27 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1195
1253
|
* Pallet `XcmPallet`'s constants
|
|
1196
1254
|
**/
|
|
1197
1255
|
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
|
+
|
|
1198
1277
|
/**
|
|
1199
1278
|
* Generic pallet constant
|
|
1200
1279
|
**/
|
|
@@ -1318,4 +1397,13 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1318
1397
|
**/
|
|
1319
1398
|
[name: string]: any;
|
|
1320
1399
|
};
|
|
1400
|
+
/**
|
|
1401
|
+
* Pallet `RcMigrator`'s constants
|
|
1402
|
+
**/
|
|
1403
|
+
rcMigrator: {
|
|
1404
|
+
/**
|
|
1405
|
+
* Generic pallet constant
|
|
1406
|
+
**/
|
|
1407
|
+
[name: string]: any;
|
|
1408
|
+
};
|
|
1321
1409
|
}
|
package/paseo/errors.d.ts
CHANGED
|
@@ -139,11 +139,6 @@ 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
|
-
|
|
147
142
|
/**
|
|
148
143
|
* Generic pallet error
|
|
149
144
|
**/
|
|
@@ -444,6 +439,22 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
444
439
|
**/
|
|
445
440
|
VirtualStakerNotAllowed: GenericPalletError;
|
|
446
441
|
|
|
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
|
+
|
|
447
458
|
/**
|
|
448
459
|
* Generic pallet error
|
|
449
460
|
**/
|
|
@@ -955,12 +966,13 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
955
966
|
SenderInSignatories: GenericPalletError;
|
|
956
967
|
|
|
957
968
|
/**
|
|
958
|
-
* Multisig operation not found
|
|
969
|
+
* Multisig operation not found in storage.
|
|
959
970
|
**/
|
|
960
971
|
NotFound: GenericPalletError;
|
|
961
972
|
|
|
962
973
|
/**
|
|
963
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
974
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
975
|
+
* its deposits.
|
|
964
976
|
**/
|
|
965
977
|
NotOwner: GenericPalletError;
|
|
966
978
|
|
|
@@ -1054,6 +1066,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1054
1066
|
**/
|
|
1055
1067
|
TooManyQueued: GenericPalletError;
|
|
1056
1068
|
|
|
1069
|
+
/**
|
|
1070
|
+
* User is not the proposer of the bounty.
|
|
1071
|
+
**/
|
|
1072
|
+
NotProposer: GenericPalletError;
|
|
1073
|
+
|
|
1057
1074
|
/**
|
|
1058
1075
|
* Generic pallet error
|
|
1059
1076
|
**/
|
|
@@ -1176,6 +1193,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1176
1193
|
**/
|
|
1177
1194
|
List: GenericPalletError;
|
|
1178
1195
|
|
|
1196
|
+
/**
|
|
1197
|
+
* Could not update a node, because the pallet is locked.
|
|
1198
|
+
**/
|
|
1199
|
+
Locked: GenericPalletError;
|
|
1200
|
+
|
|
1179
1201
|
/**
|
|
1180
1202
|
* Generic pallet error
|
|
1181
1203
|
**/
|
|
@@ -1358,6 +1380,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1358
1380
|
**/
|
|
1359
1381
|
NothingToSlash: GenericPalletError;
|
|
1360
1382
|
|
|
1383
|
+
/**
|
|
1384
|
+
* The slash amount is too low to be applied.
|
|
1385
|
+
**/
|
|
1386
|
+
SlashTooLow: GenericPalletError;
|
|
1387
|
+
|
|
1361
1388
|
/**
|
|
1362
1389
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1363
1390
|
**/
|
|
@@ -1373,6 +1400,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1373
1400
|
**/
|
|
1374
1401
|
NotSupported: GenericPalletError;
|
|
1375
1402
|
|
|
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
|
+
|
|
1376
1409
|
/**
|
|
1377
1410
|
* Generic pallet error
|
|
1378
1411
|
**/
|
|
@@ -1419,6 +1452,93 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1419
1452
|
**/
|
|
1420
1453
|
[error: string]: GenericPalletError;
|
|
1421
1454
|
};
|
|
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
|
+
};
|
|
1422
1542
|
/**
|
|
1423
1543
|
* Pallet `Configuration`'s errors
|
|
1424
1544
|
**/
|
|
@@ -1489,11 +1609,6 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1489
1609
|
**/
|
|
1490
1610
|
InvalidBacking: GenericPalletError;
|
|
1491
1611
|
|
|
1492
|
-
/**
|
|
1493
|
-
* Collator did not sign PoV.
|
|
1494
|
-
**/
|
|
1495
|
-
NotCollatorSigned: GenericPalletError;
|
|
1496
|
-
|
|
1497
1612
|
/**
|
|
1498
1613
|
* The validation data hash does not match expected.
|
|
1499
1614
|
**/
|
|
@@ -1551,15 +1666,10 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1551
1666
|
InvalidParentHeader: GenericPalletError;
|
|
1552
1667
|
|
|
1553
1668
|
/**
|
|
1554
|
-
*
|
|
1555
|
-
**/
|
|
1556
|
-
InherentOverweight: GenericPalletError;
|
|
1557
|
-
|
|
1558
|
-
/**
|
|
1559
|
-
* A candidate was filtered during inherent execution. This should have only been done
|
|
1669
|
+
* Inherent data was filtered during execution. This should have only been done
|
|
1560
1670
|
* during creation.
|
|
1561
1671
|
**/
|
|
1562
|
-
|
|
1672
|
+
InherentDataFilteredDuringExecution: GenericPalletError;
|
|
1563
1673
|
|
|
1564
1674
|
/**
|
|
1565
1675
|
* Too many candidates supplied.
|
|
@@ -1640,6 +1750,21 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1640
1750
|
**/
|
|
1641
1751
|
InvalidCode: GenericPalletError;
|
|
1642
1752
|
|
|
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
|
+
|
|
1643
1768
|
/**
|
|
1644
1769
|
* Generic pallet error
|
|
1645
1770
|
**/
|
|
@@ -1863,6 +1988,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1863
1988
|
**/
|
|
1864
1989
|
SpotPriceHigherThanMaxAmount: GenericPalletError;
|
|
1865
1990
|
|
|
1991
|
+
/**
|
|
1992
|
+
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
1993
|
+
**/
|
|
1994
|
+
InsufficientCredits: GenericPalletError;
|
|
1995
|
+
|
|
1866
1996
|
/**
|
|
1867
1997
|
* Generic pallet error
|
|
1868
1998
|
**/
|
|
@@ -1874,32 +2004,12 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1874
2004
|
coretimeAssignmentProvider: {
|
|
1875
2005
|
AssignmentsEmpty: GenericPalletError;
|
|
1876
2006
|
|
|
1877
|
-
/**
|
|
1878
|
-
* Assignments together exceeded 57600.
|
|
1879
|
-
**/
|
|
1880
|
-
OverScheduled: GenericPalletError;
|
|
1881
|
-
|
|
1882
|
-
/**
|
|
1883
|
-
* Assignments together less than 57600
|
|
1884
|
-
**/
|
|
1885
|
-
UnderScheduled: GenericPalletError;
|
|
1886
|
-
|
|
1887
2007
|
/**
|
|
1888
2008
|
* assign_core is only allowed to append new assignments at the end of already existing
|
|
1889
|
-
* ones.
|
|
2009
|
+
* ones or update the last entry.
|
|
1890
2010
|
**/
|
|
1891
2011
|
DisallowedInsert: GenericPalletError;
|
|
1892
2012
|
|
|
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
|
-
|
|
1903
2013
|
/**
|
|
1904
2014
|
* Generic pallet error
|
|
1905
2015
|
**/
|
|
@@ -2371,6 +2481,29 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2371
2481
|
**/
|
|
2372
2482
|
LocalExecutionIncomplete: GenericPalletError;
|
|
2373
2483
|
|
|
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
|
+
|
|
2374
2507
|
/**
|
|
2375
2508
|
* Generic pallet error
|
|
2376
2509
|
**/
|
|
@@ -2470,9 +2603,24 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2470
2603
|
InvalidKeyOwnershipProof: GenericPalletError;
|
|
2471
2604
|
|
|
2472
2605
|
/**
|
|
2473
|
-
*
|
|
2606
|
+
* A double voting proof provided as part of an equivocation report is invalid.
|
|
2474
2607
|
**/
|
|
2475
|
-
|
|
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
|
|
2622
|
+
**/
|
|
2623
|
+
InvalidEquivocationProofSession: GenericPalletError;
|
|
2476
2624
|
|
|
2477
2625
|
/**
|
|
2478
2626
|
* A given equivocation report is valid but already previously reported.
|
|
@@ -2509,6 +2657,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2509
2657
|
**/
|
|
2510
2658
|
ExceedsMaxMessageSize: GenericPalletError;
|
|
2511
2659
|
|
|
2660
|
+
/**
|
|
2661
|
+
* A DMP message couldn't be sent because the destination is unreachable.
|
|
2662
|
+
**/
|
|
2663
|
+
Unroutable: GenericPalletError;
|
|
2664
|
+
|
|
2512
2665
|
/**
|
|
2513
2666
|
* Could not schedule para cleanup.
|
|
2514
2667
|
**/
|
|
@@ -2553,6 +2706,105 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2553
2706
|
**/
|
|
2554
2707
|
RequireSudo: GenericPalletError;
|
|
2555
2708
|
|
|
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
|
+
|
|
2556
2808
|
/**
|
|
2557
2809
|
* Generic pallet error
|
|
2558
2810
|
**/
|