@polkadot/api-augment 16.4.9 → 16.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assetHubKusama/consts.d.ts +598 -4
- package/assetHubKusama/errors.d.ts +1278 -49
- package/assetHubKusama/events.d.ts +1691 -127
- package/assetHubKusama/query.d.ts +1175 -26
- package/assetHubKusama/runtime.d.ts +211 -8
- package/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/assetHubKusama/consts.d.ts +598 -4
- package/cjs/assetHubKusama/errors.d.ts +1278 -49
- package/cjs/assetHubKusama/events.d.ts +1691 -127
- package/cjs/assetHubKusama/query.d.ts +1175 -26
- package/cjs/assetHubKusama/runtime.d.ts +211 -8
- package/cjs/assetHubKusama/tx.d.ts +6095 -2628
- package/cjs/kusama/consts.d.ts +46 -104
- package/cjs/kusama/errors.d.ts +113 -121
- package/cjs/kusama/events.d.ts +258 -228
- package/cjs/kusama/query.d.ts +211 -104
- package/cjs/kusama/tx.d.ts +451 -236
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.d.ts +40 -2
- package/cjs/polkadot/errors.d.ts +113 -0
- package/cjs/polkadot/events.d.ts +247 -1
- package/cjs/polkadot/query.d.ts +218 -4
- package/cjs/polkadot/runtime.d.ts +15 -1
- package/cjs/polkadot/tx.d.ts +399 -12
- package/kusama/consts.d.ts +46 -104
- package/kusama/errors.d.ts +113 -121
- package/kusama/events.d.ts +258 -228
- package/kusama/query.d.ts +211 -104
- package/kusama/tx.d.ts +451 -236
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +40 -2
- package/polkadot/errors.d.ts +113 -0
- package/polkadot/events.d.ts +247 -1
- package/polkadot/query.d.ts +218 -4
- package/polkadot/runtime.d.ts +15 -1
- package/polkadot/tx.d.ts +399 -12
package/kusama/consts.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import '@polkadot/api-base/types/consts';
|
|
|
2
2
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { AccountId32, Perbill, Permill
|
|
5
|
+
import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackDetails, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV5Junctions } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -258,8 +258,13 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
258
258
|
**/
|
|
259
259
|
betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
262
|
-
*
|
|
261
|
+
* Maximum number of voters that can support a winner in an election solution.
|
|
262
|
+
*
|
|
263
|
+
* This is needed to ensure election computation is bounded.
|
|
264
|
+
**/
|
|
265
|
+
maxBackersPerWinner: u32 & AugmentedConst<ApiType>;
|
|
266
|
+
/**
|
|
267
|
+
* Maximum number of winners that an election supports.
|
|
263
268
|
*
|
|
264
269
|
* Note: This must always be greater or equal to `T::DataProvider::desired_targets()`.
|
|
265
270
|
**/
|
|
@@ -455,103 +460,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
455
460
|
**/
|
|
456
461
|
[key: string]: Codec;
|
|
457
462
|
};
|
|
458
|
-
nis: {
|
|
459
|
-
/**
|
|
460
|
-
* The base period for the duration queues. This is the common multiple across all
|
|
461
|
-
* supported freezing durations that can be bid upon.
|
|
462
|
-
**/
|
|
463
|
-
basePeriod: u32 & AugmentedConst<ApiType>;
|
|
464
|
-
/**
|
|
465
|
-
* Portion of the queue which is free from ordering and just a FIFO.
|
|
466
|
-
*
|
|
467
|
-
* Must be no greater than `MaxQueueLen`.
|
|
468
|
-
**/
|
|
469
|
-
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
470
|
-
/**
|
|
471
|
-
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
|
472
|
-
*
|
|
473
|
-
* A larger value results in fewer storage hits each block, but a slower period to get to
|
|
474
|
-
* the target.
|
|
475
|
-
**/
|
|
476
|
-
intakePeriod: u32 & AugmentedConst<ApiType>;
|
|
477
|
-
/**
|
|
478
|
-
* The maximum amount of bids that can consolidated into receipts in a single intake. A
|
|
479
|
-
* larger value here means less of the block available for transactions should there be a
|
|
480
|
-
* glut of bids.
|
|
481
|
-
**/
|
|
482
|
-
maxIntakeWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
483
|
-
/**
|
|
484
|
-
* Maximum number of items that may be in each duration queue.
|
|
485
|
-
*
|
|
486
|
-
* Must be larger than zero.
|
|
487
|
-
**/
|
|
488
|
-
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
|
489
|
-
/**
|
|
490
|
-
* The minimum amount of funds that may be placed in a bid. Note that this
|
|
491
|
-
* does not actually limit the amount which may be represented in a receipt since bids may
|
|
492
|
-
* be split up by the system.
|
|
493
|
-
*
|
|
494
|
-
* It should be at least big enough to ensure that there is no possible storage spam attack
|
|
495
|
-
* or queue-filling attack.
|
|
496
|
-
**/
|
|
497
|
-
minBid: u128 & AugmentedConst<ApiType>;
|
|
498
|
-
/**
|
|
499
|
-
* The minimum amount of funds which may intentionally be left remaining under a single
|
|
500
|
-
* receipt.
|
|
501
|
-
**/
|
|
502
|
-
minReceipt: Perquintill & AugmentedConst<ApiType>;
|
|
503
|
-
/**
|
|
504
|
-
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
505
|
-
**/
|
|
506
|
-
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
507
|
-
/**
|
|
508
|
-
* Number of duration queues in total. This sets the maximum duration supported, which is
|
|
509
|
-
* this value multiplied by `Period`.
|
|
510
|
-
**/
|
|
511
|
-
queueCount: u32 & AugmentedConst<ApiType>;
|
|
512
|
-
/**
|
|
513
|
-
* The maximum proportion which may be thawed and the period over which it is reset.
|
|
514
|
-
**/
|
|
515
|
-
thawThrottle: ITuple<[Perquintill, u32]> & AugmentedConst<ApiType>;
|
|
516
|
-
/**
|
|
517
|
-
* Generic const
|
|
518
|
-
**/
|
|
519
|
-
[key: string]: Codec;
|
|
520
|
-
};
|
|
521
|
-
nisCounterpartBalances: {
|
|
522
|
-
/**
|
|
523
|
-
* The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
|
|
524
|
-
*
|
|
525
|
-
* If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
|
|
526
|
-
* this pallet. However, you do so at your own risk: this will open up a major DoS vector.
|
|
527
|
-
* In case you have multiple sources of provider references, you may also get unexpected
|
|
528
|
-
* behaviour if you set this to zero.
|
|
529
|
-
*
|
|
530
|
-
* Bottom line: Do yourself a favour and make it at least one!
|
|
531
|
-
**/
|
|
532
|
-
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
|
533
|
-
/**
|
|
534
|
-
* The maximum number of individual freeze locks that can exist on an account at any time.
|
|
535
|
-
**/
|
|
536
|
-
maxFreezes: u32 & AugmentedConst<ApiType>;
|
|
537
|
-
/**
|
|
538
|
-
* The maximum number of locks that should exist on an account.
|
|
539
|
-
* Not strictly enforced, but used for weight estimation.
|
|
540
|
-
*
|
|
541
|
-
* Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
542
|
-
**/
|
|
543
|
-
maxLocks: u32 & AugmentedConst<ApiType>;
|
|
544
|
-
/**
|
|
545
|
-
* The maximum number of named reserves that can exist on an account.
|
|
546
|
-
*
|
|
547
|
-
* Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
|
|
548
|
-
**/
|
|
549
|
-
maxReserves: u32 & AugmentedConst<ApiType>;
|
|
550
|
-
/**
|
|
551
|
-
* Generic const
|
|
552
|
-
**/
|
|
553
|
-
[key: string]: Codec;
|
|
554
|
-
};
|
|
555
463
|
nominationPools: {
|
|
556
464
|
/**
|
|
557
465
|
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
|
@@ -754,6 +662,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
754
662
|
**/
|
|
755
663
|
[key: string]: Codec;
|
|
756
664
|
};
|
|
665
|
+
session: {
|
|
666
|
+
/**
|
|
667
|
+
* The amount to be held when setting keys.
|
|
668
|
+
**/
|
|
669
|
+
keyDeposit: u128 & AugmentedConst<ApiType>;
|
|
670
|
+
/**
|
|
671
|
+
* Generic const
|
|
672
|
+
**/
|
|
673
|
+
[key: string]: Codec;
|
|
674
|
+
};
|
|
757
675
|
slots: {
|
|
758
676
|
/**
|
|
759
677
|
* The number of blocks to offset each lease period by.
|
|
@@ -770,12 +688,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
770
688
|
};
|
|
771
689
|
society: {
|
|
772
690
|
/**
|
|
773
|
-
* The number of blocks between membership challenges.
|
|
691
|
+
* The number of [Config::BlockNumberProvider] blocks between membership challenges.
|
|
774
692
|
**/
|
|
775
693
|
challengePeriod: u32 & AugmentedConst<ApiType>;
|
|
776
694
|
/**
|
|
777
|
-
* The number of blocks on which new candidates can claim
|
|
778
|
-
* named head.
|
|
695
|
+
* The number of [Config::BlockNumberProvider] blocks on which new candidates can claim
|
|
696
|
+
* their membership and be the named head.
|
|
779
697
|
**/
|
|
780
698
|
claimPeriod: u32 & AugmentedConst<ApiType>;
|
|
781
699
|
/**
|
|
@@ -803,7 +721,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
803
721
|
**/
|
|
804
722
|
periodSpend: u128 & AugmentedConst<ApiType>;
|
|
805
723
|
/**
|
|
806
|
-
* The number of blocks on which new candidates should be
|
|
724
|
+
* The number of [Config::BlockNumberProvider] blocks on which new candidates should be
|
|
725
|
+
* voted on. Together with
|
|
807
726
|
* `ClaimPeriod`, this sums to the number of blocks between candidate intake periods.
|
|
808
727
|
**/
|
|
809
728
|
votingPeriod: u32 & AugmentedConst<ApiType>;
|
|
@@ -867,6 +786,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
867
786
|
* this effect.
|
|
868
787
|
**/
|
|
869
788
|
maxUnlockingChunks: u32 & AugmentedConst<ApiType>;
|
|
789
|
+
/**
|
|
790
|
+
* The absolute maximum of winner validators this pallet should return.
|
|
791
|
+
**/
|
|
792
|
+
maxValidatorSet: u32 & AugmentedConst<ApiType>;
|
|
870
793
|
/**
|
|
871
794
|
* Number of sessions per era.
|
|
872
795
|
**/
|
|
@@ -1065,6 +988,13 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1065
988
|
* With that `List::migrate` can be called, which will perform the appropriate migration.
|
|
1066
989
|
**/
|
|
1067
990
|
bagThresholds: Vec<u64> & AugmentedConst<ApiType>;
|
|
991
|
+
/**
|
|
992
|
+
* Maximum number of accounts that may be re-bagged automatically in `on_idle`.
|
|
993
|
+
*
|
|
994
|
+
* A value of `0` (obtained by configuring `type MaxAutoRebagPerBlock = ();`) disables
|
|
995
|
+
* the feature.
|
|
996
|
+
**/
|
|
997
|
+
maxAutoRebagPerBlock: u32 & AugmentedConst<ApiType>;
|
|
1068
998
|
/**
|
|
1069
999
|
* Generic const
|
|
1070
1000
|
**/
|
|
@@ -1076,6 +1006,18 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
1076
1006
|
* `pallet_xcm::CurrentXcmVersion`.
|
|
1077
1007
|
**/
|
|
1078
1008
|
advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
|
|
1009
|
+
/**
|
|
1010
|
+
* The maximum number of local XCM locks that a single account may have.
|
|
1011
|
+
**/
|
|
1012
|
+
maxLockers: u32 & AugmentedConst<ApiType>;
|
|
1013
|
+
/**
|
|
1014
|
+
* The maximum number of consumers a single remote lock may have.
|
|
1015
|
+
**/
|
|
1016
|
+
maxRemoteLockConsumers: u32 & AugmentedConst<ApiType>;
|
|
1017
|
+
/**
|
|
1018
|
+
* This chain's Universal Location.
|
|
1019
|
+
**/
|
|
1020
|
+
universalLocation: StagingXcmV5Junctions & AugmentedConst<ApiType>;
|
|
1079
1021
|
/**
|
|
1080
1022
|
* Generic const
|
|
1081
1023
|
**/
|
package/kusama/errors.d.ts
CHANGED
|
@@ -186,6 +186,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
186
186
|
* Invalid bounty value.
|
|
187
187
|
**/
|
|
188
188
|
InvalidValue: AugmentedError<ApiType>;
|
|
189
|
+
/**
|
|
190
|
+
* User is not the proposer of the bounty.
|
|
191
|
+
**/
|
|
192
|
+
NotProposer: AugmentedError<ApiType>;
|
|
189
193
|
/**
|
|
190
194
|
* A bounty payout is pending.
|
|
191
195
|
* To cancel the bounty, you must unassign and slash the curator.
|
|
@@ -987,127 +991,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
987
991
|
**/
|
|
988
992
|
[key: string]: AugmentedError<ApiType>;
|
|
989
993
|
};
|
|
990
|
-
nis: {
|
|
991
|
-
/**
|
|
992
|
-
* The receipt is already communal.
|
|
993
|
-
**/
|
|
994
|
-
AlreadyCommunal: AugmentedError<ApiType>;
|
|
995
|
-
/**
|
|
996
|
-
* There are enough funds for what is required.
|
|
997
|
-
**/
|
|
998
|
-
AlreadyFunded: AugmentedError<ApiType>;
|
|
999
|
-
/**
|
|
1000
|
-
* The receipt is already private.
|
|
1001
|
-
**/
|
|
1002
|
-
AlreadyPrivate: AugmentedError<ApiType>;
|
|
1003
|
-
/**
|
|
1004
|
-
* The amount of the bid is less than the minimum allowed.
|
|
1005
|
-
**/
|
|
1006
|
-
AmountTooSmall: AugmentedError<ApiType>;
|
|
1007
|
-
/**
|
|
1008
|
-
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
1009
|
-
* through replacing an existing bid.
|
|
1010
|
-
**/
|
|
1011
|
-
BidTooLow: AugmentedError<ApiType>;
|
|
1012
|
-
/**
|
|
1013
|
-
* The duration is the bid is greater than the number of queues.
|
|
1014
|
-
**/
|
|
1015
|
-
DurationTooBig: AugmentedError<ApiType>;
|
|
1016
|
-
/**
|
|
1017
|
-
* The duration of the bid is less than one.
|
|
1018
|
-
**/
|
|
1019
|
-
DurationTooSmall: AugmentedError<ApiType>;
|
|
1020
|
-
/**
|
|
1021
|
-
* The operation would result in a receipt worth an insignificant value.
|
|
1022
|
-
**/
|
|
1023
|
-
MakesDust: AugmentedError<ApiType>;
|
|
1024
|
-
/**
|
|
1025
|
-
* Bond not yet at expiry date.
|
|
1026
|
-
**/
|
|
1027
|
-
NotExpired: AugmentedError<ApiType>;
|
|
1028
|
-
/**
|
|
1029
|
-
* Not the owner of the receipt.
|
|
1030
|
-
**/
|
|
1031
|
-
NotOwner: AugmentedError<ApiType>;
|
|
1032
|
-
/**
|
|
1033
|
-
* The portion supplied is beyond the value of the receipt.
|
|
1034
|
-
**/
|
|
1035
|
-
PortionTooBig: AugmentedError<ApiType>;
|
|
1036
|
-
/**
|
|
1037
|
-
* The thaw throttle has been reached for this period.
|
|
1038
|
-
**/
|
|
1039
|
-
Throttled: AugmentedError<ApiType>;
|
|
1040
|
-
/**
|
|
1041
|
-
* Not enough funds are held to pay out.
|
|
1042
|
-
**/
|
|
1043
|
-
Unfunded: AugmentedError<ApiType>;
|
|
1044
|
-
/**
|
|
1045
|
-
* The given bid for retraction is not found.
|
|
1046
|
-
**/
|
|
1047
|
-
UnknownBid: AugmentedError<ApiType>;
|
|
1048
|
-
/**
|
|
1049
|
-
* Receipt index is unknown.
|
|
1050
|
-
**/
|
|
1051
|
-
UnknownReceipt: AugmentedError<ApiType>;
|
|
1052
|
-
/**
|
|
1053
|
-
* Generic error
|
|
1054
|
-
**/
|
|
1055
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1056
|
-
};
|
|
1057
|
-
nisCounterpartBalances: {
|
|
1058
|
-
/**
|
|
1059
|
-
* Beneficiary account must pre-exist.
|
|
1060
|
-
**/
|
|
1061
|
-
DeadAccount: AugmentedError<ApiType>;
|
|
1062
|
-
/**
|
|
1063
|
-
* The delta cannot be zero.
|
|
1064
|
-
**/
|
|
1065
|
-
DeltaZero: AugmentedError<ApiType>;
|
|
1066
|
-
/**
|
|
1067
|
-
* Value too low to create account due to existential deposit.
|
|
1068
|
-
**/
|
|
1069
|
-
ExistentialDeposit: AugmentedError<ApiType>;
|
|
1070
|
-
/**
|
|
1071
|
-
* A vesting schedule already exists for this account.
|
|
1072
|
-
**/
|
|
1073
|
-
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
1074
|
-
/**
|
|
1075
|
-
* Transfer/payment would kill account.
|
|
1076
|
-
**/
|
|
1077
|
-
Expendability: AugmentedError<ApiType>;
|
|
1078
|
-
/**
|
|
1079
|
-
* Balance too low to send value.
|
|
1080
|
-
**/
|
|
1081
|
-
InsufficientBalance: AugmentedError<ApiType>;
|
|
1082
|
-
/**
|
|
1083
|
-
* The issuance cannot be modified since it is already deactivated.
|
|
1084
|
-
**/
|
|
1085
|
-
IssuanceDeactivated: AugmentedError<ApiType>;
|
|
1086
|
-
/**
|
|
1087
|
-
* Account liquidity restrictions prevent withdrawal.
|
|
1088
|
-
**/
|
|
1089
|
-
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
1090
|
-
/**
|
|
1091
|
-
* Number of freezes exceed `MaxFreezes`.
|
|
1092
|
-
**/
|
|
1093
|
-
TooManyFreezes: AugmentedError<ApiType>;
|
|
1094
|
-
/**
|
|
1095
|
-
* Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
|
|
1096
|
-
**/
|
|
1097
|
-
TooManyHolds: AugmentedError<ApiType>;
|
|
1098
|
-
/**
|
|
1099
|
-
* Number of named reserves exceed `MaxReserves`.
|
|
1100
|
-
**/
|
|
1101
|
-
TooManyReserves: AugmentedError<ApiType>;
|
|
1102
|
-
/**
|
|
1103
|
-
* Vesting balance too high to send value.
|
|
1104
|
-
**/
|
|
1105
|
-
VestingBalance: AugmentedError<ApiType>;
|
|
1106
|
-
/**
|
|
1107
|
-
* Generic error
|
|
1108
|
-
**/
|
|
1109
|
-
[key: string]: AugmentedError<ApiType>;
|
|
1110
|
-
};
|
|
1111
994
|
nominationPools: {
|
|
1112
995
|
/**
|
|
1113
996
|
* An account is already delegating in another pool. An account may only belong to one
|
|
@@ -1416,10 +1299,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1416
1299
|
* Parachain cannot currently schedule a code upgrade.
|
|
1417
1300
|
**/
|
|
1418
1301
|
CannotUpgradeCode: AugmentedError<ApiType>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Invalid block number.
|
|
1304
|
+
**/
|
|
1305
|
+
InvalidBlockNumber: AugmentedError<ApiType>;
|
|
1419
1306
|
/**
|
|
1420
1307
|
* Invalid validation code size.
|
|
1421
1308
|
**/
|
|
1422
1309
|
InvalidCode: AugmentedError<ApiType>;
|
|
1310
|
+
/**
|
|
1311
|
+
* No upgrade authorized.
|
|
1312
|
+
**/
|
|
1313
|
+
NothingAuthorized: AugmentedError<ApiType>;
|
|
1423
1314
|
/**
|
|
1424
1315
|
* Para is not registered in our system.
|
|
1425
1316
|
**/
|
|
@@ -1448,6 +1339,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1448
1339
|
* Claimed validator index is out of bounds.
|
|
1449
1340
|
**/
|
|
1450
1341
|
PvfCheckValidatorIndexOutOfBounds: AugmentedError<ApiType>;
|
|
1342
|
+
/**
|
|
1343
|
+
* The submitted code is not authorized.
|
|
1344
|
+
**/
|
|
1345
|
+
Unauthorized: AugmentedError<ApiType>;
|
|
1451
1346
|
/**
|
|
1452
1347
|
* Generic error
|
|
1453
1348
|
**/
|
|
@@ -1602,6 +1497,80 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1602
1497
|
**/
|
|
1603
1498
|
[key: string]: AugmentedError<ApiType>;
|
|
1604
1499
|
};
|
|
1500
|
+
rcMigrator: {
|
|
1501
|
+
/**
|
|
1502
|
+
* The account is referenced by some other pallet. It might have freezes or holds.
|
|
1503
|
+
**/
|
|
1504
|
+
AccountReferenced: AugmentedError<ApiType>;
|
|
1505
|
+
/**
|
|
1506
|
+
* The AH UMP queue priority configuration is already set.
|
|
1507
|
+
**/
|
|
1508
|
+
AhUmpQueuePriorityAlreadySet: AugmentedError<ApiType>;
|
|
1509
|
+
/**
|
|
1510
|
+
* The XCM version is invalid.
|
|
1511
|
+
**/
|
|
1512
|
+
BadXcmVersion: AugmentedError<ApiType>;
|
|
1513
|
+
/**
|
|
1514
|
+
* Balance accounting overflow.
|
|
1515
|
+
**/
|
|
1516
|
+
BalanceOverflow: AugmentedError<ApiType>;
|
|
1517
|
+
/**
|
|
1518
|
+
* Balance accounting underflow.
|
|
1519
|
+
**/
|
|
1520
|
+
BalanceUnderflow: AugmentedError<ApiType>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Indicates that there is not enough time for staking to lock.
|
|
1523
|
+
*
|
|
1524
|
+
* Schedule the migration at least two sessions before the current era ends.
|
|
1525
|
+
**/
|
|
1526
|
+
EraEndsTooSoon: AugmentedError<ApiType>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Failed to withdraw account from RC for migration to AH.
|
|
1529
|
+
**/
|
|
1530
|
+
FailedToWithdrawAccount: AugmentedError<ApiType>;
|
|
1531
|
+
/**
|
|
1532
|
+
* The origin is invalid.
|
|
1533
|
+
**/
|
|
1534
|
+
InvalidOrigin: AugmentedError<ApiType>;
|
|
1535
|
+
/**
|
|
1536
|
+
* Invalid parameter.
|
|
1537
|
+
**/
|
|
1538
|
+
InvalidParameter: AugmentedError<ApiType>;
|
|
1539
|
+
/**
|
|
1540
|
+
* The query response is invalid.
|
|
1541
|
+
**/
|
|
1542
|
+
InvalidQueryResponse: AugmentedError<ApiType>;
|
|
1543
|
+
/**
|
|
1544
|
+
* The stage transition is invalid.
|
|
1545
|
+
**/
|
|
1546
|
+
InvalidStageTransition: AugmentedError<ApiType>;
|
|
1547
|
+
OutOfWeight: AugmentedError<ApiType>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Indicates that the specified block number is in the past.
|
|
1550
|
+
**/
|
|
1551
|
+
PastBlockNumber: AugmentedError<ApiType>;
|
|
1552
|
+
/**
|
|
1553
|
+
* The xcm query was not found.
|
|
1554
|
+
**/
|
|
1555
|
+
QueryNotFound: AugmentedError<ApiType>;
|
|
1556
|
+
Unreachable: AugmentedError<ApiType>;
|
|
1557
|
+
/**
|
|
1558
|
+
* The migration stage is not reachable from the current stage.
|
|
1559
|
+
**/
|
|
1560
|
+
UnreachableStage: AugmentedError<ApiType>;
|
|
1561
|
+
/**
|
|
1562
|
+
* Failed to send XCM message to AH.
|
|
1563
|
+
**/
|
|
1564
|
+
XcmError: AugmentedError<ApiType>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Failed to send XCM message.
|
|
1567
|
+
**/
|
|
1568
|
+
XcmSendError: AugmentedError<ApiType>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Generic error
|
|
1571
|
+
**/
|
|
1572
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1573
|
+
};
|
|
1605
1574
|
recovery: {
|
|
1606
1575
|
/**
|
|
1607
1576
|
* This account is already set up for recovery
|
|
@@ -1929,6 +1898,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1929
1898
|
* There is no defender currently.
|
|
1930
1899
|
**/
|
|
1931
1900
|
NoDefender: AugmentedError<ApiType>;
|
|
1901
|
+
/**
|
|
1902
|
+
* There is no deposit associated with a bid.
|
|
1903
|
+
**/
|
|
1904
|
+
NoDeposit: AugmentedError<ApiType>;
|
|
1932
1905
|
/**
|
|
1933
1906
|
* Nothing to payout.
|
|
1934
1907
|
**/
|
|
@@ -2145,6 +2118,16 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2145
2118
|
**/
|
|
2146
2119
|
[key: string]: AugmentedError<ApiType>;
|
|
2147
2120
|
};
|
|
2121
|
+
stakingAhClient: {
|
|
2122
|
+
/**
|
|
2123
|
+
* Could not process incoming message because incoming messages are blocked.
|
|
2124
|
+
**/
|
|
2125
|
+
Blocked: AugmentedError<ApiType>;
|
|
2126
|
+
/**
|
|
2127
|
+
* Generic error
|
|
2128
|
+
**/
|
|
2129
|
+
[key: string]: AugmentedError<ApiType>;
|
|
2130
|
+
};
|
|
2148
2131
|
system: {
|
|
2149
2132
|
/**
|
|
2150
2133
|
* The origin filter prevent the call to be dispatched.
|
|
@@ -2284,6 +2267,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2284
2267
|
* A error in the list interface implementation.
|
|
2285
2268
|
**/
|
|
2286
2269
|
List: AugmentedError<ApiType>;
|
|
2270
|
+
/**
|
|
2271
|
+
* Could not update a node, because the pallet is locked.
|
|
2272
|
+
**/
|
|
2273
|
+
Locked: AugmentedError<ApiType>;
|
|
2287
2274
|
/**
|
|
2288
2275
|
* Generic error
|
|
2289
2276
|
**/
|
|
@@ -2385,6 +2372,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2385
2372
|
* Local XCM execution incomplete.
|
|
2386
2373
|
**/
|
|
2387
2374
|
LocalExecutionIncomplete: AugmentedError<ApiType>;
|
|
2375
|
+
/**
|
|
2376
|
+
* Local XCM execution incomplete with the actual XCM error and the index of the
|
|
2377
|
+
* instruction that caused the error.
|
|
2378
|
+
**/
|
|
2379
|
+
LocalExecutionIncompleteWithError: AugmentedError<ApiType>;
|
|
2388
2380
|
/**
|
|
2389
2381
|
* A remote lock with the corresponding data could not be found.
|
|
2390
2382
|
**/
|