@polkadot/api-augment 10.12.1 → 10.12.3

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 CHANGED
@@ -18,7 +18,7 @@
18
18
  "./cjs/packageDetect.js"
19
19
  ],
20
20
  "type": "module",
21
- "version": "10.12.1",
21
+ "version": "10.12.3",
22
22
  "main": "./cjs/index.js",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts",
@@ -211,11 +211,11 @@
211
211
  }
212
212
  },
213
213
  "dependencies": {
214
- "@polkadot/api-base": "10.12.1",
215
- "@polkadot/rpc-augment": "10.12.1",
216
- "@polkadot/types": "10.12.1",
217
- "@polkadot/types-augment": "10.12.1",
218
- "@polkadot/types-codec": "10.12.1",
214
+ "@polkadot/api-base": "10.12.3",
215
+ "@polkadot/rpc-augment": "10.12.3",
216
+ "@polkadot/types": "10.12.3",
217
+ "@polkadot/types-augment": "10.12.3",
218
+ "@polkadot/types-codec": "10.12.3",
219
219
  "@polkadot/util": "^12.6.2",
220
220
  "tslib": "^2.6.2"
221
221
  }
package/packageInfo.js CHANGED
@@ -1 +1 @@
1
- export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.12.1' };
1
+ export const packageInfo = { name: '@polkadot/api-augment', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.12.3' };
@@ -69,10 +69,6 @@ declare module '@polkadot/api-base/types/consts' {
69
69
  * The maximum number of individual freeze locks that can exist on an account at any time.
70
70
  **/
71
71
  maxFreezes: u32 & AugmentedConst<ApiType>;
72
- /**
73
- * The maximum number of holds that can exist on an account at any time.
74
- **/
75
- maxHolds: u32 & AugmentedConst<ApiType>;
76
72
  /**
77
73
  * The maximum number of locks that should exist on an account.
78
74
  * Not strictly enforced, but used for weight estimation.
@@ -87,6 +83,29 @@ declare module '@polkadot/api-base/types/consts' {
87
83
  **/
88
84
  [key: string]: Codec;
89
85
  };
86
+ beefy: {
87
+ /**
88
+ * The maximum number of authorities that can be added.
89
+ **/
90
+ maxAuthorities: u32 & AugmentedConst<ApiType>;
91
+ /**
92
+ * The maximum number of nominators for each validator.
93
+ **/
94
+ maxNominators: u32 & AugmentedConst<ApiType>;
95
+ /**
96
+ * The maximum number of entries to keep in the set id to session index mapping.
97
+ *
98
+ * Since the `SetIdSession` map is only used for validating equivocations this
99
+ * value should relate to the bonding duration of whatever staking system is
100
+ * being used (if any). If equivocation handling is not enabled then this value
101
+ * can be zero.
102
+ **/
103
+ maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
104
+ /**
105
+ * Generic const
106
+ **/
107
+ [key: string]: Codec;
108
+ };
90
109
  bounties: {
91
110
  /**
92
111
  * The amount held on deposit for placing a bounty proposal.
@@ -201,11 +220,6 @@ declare module '@polkadot/api-base/types/consts' {
201
220
  * "better" in the Signed phase.
202
221
  **/
203
222
  betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
204
- /**
205
- * The minimum amount of improvement to the solution score that defines a solution as
206
- * "better" in the Unsigned phase.
207
- **/
208
- betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
209
223
  /**
210
224
  * The maximum number of winners that can be elected by this `ElectionProvider`
211
225
  * implementation.
@@ -228,10 +242,6 @@ declare module '@polkadot/api-base/types/consts' {
228
242
  * to submit the worker's solution.
229
243
  **/
230
244
  offchainRepeat: u32 & AugmentedConst<ApiType>;
231
- /**
232
- * Base deposit for a signed solution.
233
- **/
234
- signedDepositBase: u128 & AugmentedConst<ApiType>;
235
245
  /**
236
246
  * Per-byte deposit for a signed solution.
237
247
  **/
@@ -315,18 +325,13 @@ declare module '@polkadot/api-base/types/consts' {
315
325
  };
316
326
  identity: {
317
327
  /**
318
- * The amount held on deposit for a registered identity
328
+ * The amount held on deposit for a registered identity.
319
329
  **/
320
330
  basicDeposit: u128 & AugmentedConst<ApiType>;
321
331
  /**
322
- * The amount held on deposit per additional field for a registered identity.
323
- **/
324
- fieldDeposit: u128 & AugmentedConst<ApiType>;
325
- /**
326
- * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
327
- * required to access an identity, but can be pretty high.
332
+ * The amount held on deposit per encoded byte for a registered identity.
328
333
  **/
329
- maxAdditionalFields: u32 & AugmentedConst<ApiType>;
334
+ byteDeposit: u128 & AugmentedConst<ApiType>;
330
335
  /**
331
336
  * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
332
337
  * of, e.g., updating judgements.
@@ -337,24 +342,23 @@ declare module '@polkadot/api-base/types/consts' {
337
342
  **/
338
343
  maxSubAccounts: u32 & AugmentedConst<ApiType>;
339
344
  /**
340
- * The amount held on deposit for a registered subaccount. This should account for the fact
341
- * that one storage item's value will increase by the size of an account ID, and there will
342
- * be another trie item whose value is the size of an account ID plus 32 bytes.
345
+ * The maximum length of a suffix.
343
346
  **/
344
- subAccountDeposit: u128 & AugmentedConst<ApiType>;
347
+ maxSuffixLength: u32 & AugmentedConst<ApiType>;
345
348
  /**
346
- * Generic const
349
+ * The maximum length of a username, including its suffix and any system-added delimiters.
347
350
  **/
348
- [key: string]: Codec;
349
- };
350
- imOnline: {
351
+ maxUsernameLength: u32 & AugmentedConst<ApiType>;
351
352
  /**
352
- * A configuration for base priority of unsigned transactions.
353
- *
354
- * This is exposed so that it can be tuned for particular runtime, when
355
- * multiple pallets send unsigned transactions.
353
+ * The number of blocks within which a username grant must be accepted.
356
354
  **/
357
- unsignedPriority: u64 & AugmentedConst<ApiType>;
355
+ pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
356
+ /**
357
+ * The amount held on deposit for a registered subaccount. This should account for the fact
358
+ * that one storage item's value will increase by the size of an account ID, and there will
359
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
360
+ **/
361
+ subAccountDeposit: u128 & AugmentedConst<ApiType>;
358
362
  /**
359
363
  * Generic const
360
364
  **/
@@ -439,6 +443,10 @@ declare module '@polkadot/api-base/types/consts' {
439
443
  * Such a scenario would also be the equivalent of the pool being 90% slashed.
440
444
  **/
441
445
  maxPointsToBalance: u8 & AugmentedConst<ApiType>;
446
+ /**
447
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
448
+ **/
449
+ maxUnbonding: u32 & AugmentedConst<ApiType>;
442
450
  /**
443
451
  * The nomination pool's pallet id.
444
452
  **/
@@ -585,8 +593,8 @@ declare module '@polkadot/api-base/types/consts' {
585
593
  * Following information is kept for eras in `[current_era -
586
594
  * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
587
595
  * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
588
- * `ErasTotalStake`, `ErasStartSessionIndex`,
589
- * `StakingLedger.claimed_rewards`.
596
+ * `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
597
+ * `ErasStakersOverview`.
590
598
  *
591
599
  * Must be more than the number of eras delayed by session.
592
600
  * I.e. active era must always be in history. I.e. `active_era >
@@ -596,19 +604,26 @@ declare module '@polkadot/api-base/types/consts' {
596
604
  * this should be set to same value or greater as in storage.
597
605
  *
598
606
  * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
599
- * item `StakingLedger.claimed_rewards`. Setting this value lower than
607
+ * item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
600
608
  * the existing value can lead to inconsistencies in the
601
609
  * `StakingLedger` and will need to be handled properly in a migration.
602
610
  * The test `reducing_history_depth_abrupt` shows this effect.
603
611
  **/
604
612
  historyDepth: u32 & AugmentedConst<ApiType>;
605
613
  /**
606
- * The maximum number of nominators rewarded for each validator.
614
+ * The maximum size of each `T::ExposurePage`.
615
+ *
616
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
617
+ * nominators.
618
+ *
619
+ * For older non-paged exposure, a reward payout was restricted to the top
620
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
621
+ * nominator payout.
607
622
  *
608
- * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
609
- * claim their reward. This used to limit the i/o cost for the nominator payout.
623
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
624
+ * without handling it in a migration.
610
625
  **/
611
- maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>;
626
+ maxExposurePageSize: u32 & AugmentedConst<ApiType>;
612
627
  /**
613
628
  * The maximum number of `unlocking` chunks a [`StakingLedger`] can
614
629
  * have. Effectively determines how many unique eras a staker may be
@@ -674,10 +689,12 @@ declare module '@polkadot/api-base/types/consts' {
674
689
  };
675
690
  timestamp: {
676
691
  /**
677
- * The minimum period between blocks. Beware that this is different to the *expected*
678
- * period that the block production apparatus provides. Your chosen consensus system will
679
- * generally work with this to determine a sensible block time. e.g. For Aura, it will be
680
- * double this period on default settings.
692
+ * The minimum period between blocks.
693
+ *
694
+ * Be aware that this is different to the *expected* period that the block production
695
+ * apparatus provides. Your chosen consensus system will generally work with this to
696
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
697
+ * period on default settings.
681
698
  **/
682
699
  minimumPeriod: u64 & AugmentedConst<ApiType>;
683
700
  /**
@@ -687,10 +704,10 @@ declare module '@polkadot/api-base/types/consts' {
687
704
  };
688
705
  transactionPayment: {
689
706
  /**
690
- * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
707
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
691
708
  * `priority`
692
709
  *
693
- * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
710
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
694
711
  * added to a tip component in regular `priority` calculations.
695
712
  * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
696
713
  * extrinsic (with no tip), by including a tip value greater than the virtual tip.
@@ -730,6 +747,10 @@ declare module '@polkadot/api-base/types/consts' {
730
747
  * The treasury's pallet id, used for deriving its sovereign account ID.
731
748
  **/
732
749
  palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
750
+ /**
751
+ * The period during which an approved treasury spend has to be claimed.
752
+ **/
753
+ payoutPeriod: u32 & AugmentedConst<ApiType>;
733
754
  /**
734
755
  * Fraction of a proposal's value that should be bonded in order to place the proposal.
735
756
  * An accepted proposal gets these back. A rejected proposal does not.
@@ -3,6 +3,20 @@ import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
3
3
  export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
4
4
  declare module '@polkadot/api-base/types/errors' {
5
5
  interface AugmentedErrors<ApiType extends ApiTypes> {
6
+ assetRate: {
7
+ /**
8
+ * The given asset ID already has an assigned conversion rate and cannot be re-created.
9
+ **/
10
+ AlreadyExists: AugmentedError<ApiType>;
11
+ /**
12
+ * The given asset ID is unknown.
13
+ **/
14
+ UnknownAssetKind: AugmentedError<ApiType>;
15
+ /**
16
+ * Generic error
17
+ **/
18
+ [key: string]: AugmentedError<ApiType>;
19
+ };
6
20
  auctions: {
7
21
  /**
8
22
  * The para is already leased out for part of this range.
@@ -64,6 +78,10 @@ declare module '@polkadot/api-base/types/errors' {
64
78
  * Beneficiary account must pre-exist.
65
79
  **/
66
80
  DeadAccount: AugmentedError<ApiType>;
81
+ /**
82
+ * The delta cannot be zero.
83
+ **/
84
+ DeltaZero: AugmentedError<ApiType>;
67
85
  /**
68
86
  * Value too low to create account due to existential deposit.
69
87
  **/
@@ -80,6 +98,10 @@ declare module '@polkadot/api-base/types/errors' {
80
98
  * Balance too low to send value.
81
99
  **/
82
100
  InsufficientBalance: AugmentedError<ApiType>;
101
+ /**
102
+ * The issuance cannot be modified since it is already deactivated.
103
+ **/
104
+ IssuanceDeactivated: AugmentedError<ApiType>;
83
105
  /**
84
106
  * Account liquidity restrictions prevent withdrawal.
85
107
  **/
@@ -89,7 +111,7 @@ declare module '@polkadot/api-base/types/errors' {
89
111
  **/
90
112
  TooManyFreezes: AugmentedError<ApiType>;
91
113
  /**
92
- * Number of holds exceed `MaxHolds`.
114
+ * Number of holds exceed `VariantCountOf<T::RuntimeHoldReason>`.
93
115
  **/
94
116
  TooManyHolds: AugmentedError<ApiType>;
95
117
  /**
@@ -105,6 +127,28 @@ declare module '@polkadot/api-base/types/errors' {
105
127
  **/
106
128
  [key: string]: AugmentedError<ApiType>;
107
129
  };
130
+ beefy: {
131
+ /**
132
+ * A given equivocation report is valid but already previously reported.
133
+ **/
134
+ DuplicateOffenceReport: AugmentedError<ApiType>;
135
+ /**
136
+ * Submitted configuration is invalid.
137
+ **/
138
+ InvalidConfiguration: AugmentedError<ApiType>;
139
+ /**
140
+ * An equivocation proof provided as part of an equivocation report is invalid.
141
+ **/
142
+ InvalidEquivocationProof: AugmentedError<ApiType>;
143
+ /**
144
+ * A key ownership proof provided as part of an equivocation report is invalid.
145
+ **/
146
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
147
+ /**
148
+ * Generic error
149
+ **/
150
+ [key: string]: AugmentedError<ApiType>;
151
+ };
108
152
  bounties: {
109
153
  /**
110
154
  * The bounty cannot be closed because it has active child bounties.
@@ -394,6 +438,10 @@ declare module '@polkadot/api-base/types/errors' {
394
438
  * OCW submitted solution for wrong round
395
439
  **/
396
440
  OcwCallWrongEra: AugmentedError<ApiType>;
441
+ /**
442
+ * Sumission was prepared for a different round.
443
+ **/
444
+ PreDispatchDifferentRound: AugmentedError<ApiType>;
397
445
  /**
398
446
  * Submission was too early.
399
447
  **/
@@ -516,6 +564,10 @@ declare module '@polkadot/api-base/types/errors' {
516
564
  * Canceling is requested by neither the sender nor recipient of the open channel request.
517
565
  **/
518
566
  CancelHrmpOpenChannelUnauthorized: AugmentedError<ApiType>;
567
+ /**
568
+ * The channel between these two chains cannot be authorized.
569
+ **/
570
+ ChannelCreationNotAuthorized: AugmentedError<ApiType>;
519
571
  /**
520
572
  * The channel close request is already requested.
521
573
  **/
@@ -602,10 +654,22 @@ declare module '@polkadot/api-base/types/errors' {
602
654
  * Invalid judgement.
603
655
  **/
604
656
  InvalidJudgement: AugmentedError<ApiType>;
657
+ /**
658
+ * The signature on a username was not valid.
659
+ **/
660
+ InvalidSignature: AugmentedError<ApiType>;
661
+ /**
662
+ * The provided suffix is too long.
663
+ **/
664
+ InvalidSuffix: AugmentedError<ApiType>;
605
665
  /**
606
666
  * The target is invalid.
607
667
  **/
608
668
  InvalidTarget: AugmentedError<ApiType>;
669
+ /**
670
+ * The username does not meet the requirements.
671
+ **/
672
+ InvalidUsername: AugmentedError<ApiType>;
609
673
  /**
610
674
  * The provided judgement was for a different identity.
611
675
  **/
@@ -618,10 +682,18 @@ declare module '@polkadot/api-base/types/errors' {
618
682
  * Error that occurs when there is an issue paying for judgement.
619
683
  **/
620
684
  JudgementPaymentFailed: AugmentedError<ApiType>;
685
+ /**
686
+ * The authority cannot allocate any more usernames.
687
+ **/
688
+ NoAllocation: AugmentedError<ApiType>;
621
689
  /**
622
690
  * No identity found.
623
691
  **/
624
692
  NoIdentity: AugmentedError<ApiType>;
693
+ /**
694
+ * The username cannot be forcefully removed because it can still be accepted.
695
+ **/
696
+ NotExpired: AugmentedError<ApiType>;
625
697
  /**
626
698
  * Account isn't found.
627
699
  **/
@@ -639,35 +711,33 @@ declare module '@polkadot/api-base/types/errors' {
639
711
  **/
640
712
  NotSub: AugmentedError<ApiType>;
641
713
  /**
642
- * Sticky judgement.
714
+ * The sender does not have permission to issue a username.
643
715
  **/
644
- StickyJudgement: AugmentedError<ApiType>;
716
+ NotUsernameAuthority: AugmentedError<ApiType>;
645
717
  /**
646
- * Too many additional fields.
718
+ * The requested username does not exist.
647
719
  **/
648
- TooManyFields: AugmentedError<ApiType>;
720
+ NoUsername: AugmentedError<ApiType>;
649
721
  /**
650
- * Maximum amount of registrars reached. Cannot add any more.
722
+ * Setting this username requires a signature, but none was provided.
651
723
  **/
652
- TooManyRegistrars: AugmentedError<ApiType>;
724
+ RequiresSignature: AugmentedError<ApiType>;
653
725
  /**
654
- * Too many subs-accounts.
726
+ * Sticky judgement.
655
727
  **/
656
- TooManySubAccounts: AugmentedError<ApiType>;
728
+ StickyJudgement: AugmentedError<ApiType>;
657
729
  /**
658
- * Generic error
730
+ * Maximum amount of registrars reached. Cannot add any more.
659
731
  **/
660
- [key: string]: AugmentedError<ApiType>;
661
- };
662
- imOnline: {
732
+ TooManyRegistrars: AugmentedError<ApiType>;
663
733
  /**
664
- * Duplicated heartbeat.
734
+ * Too many subs-accounts.
665
735
  **/
666
- DuplicatedHeartbeat: AugmentedError<ApiType>;
736
+ TooManySubAccounts: AugmentedError<ApiType>;
667
737
  /**
668
- * Non existent public key.
738
+ * The username is already taken.
669
739
  **/
670
- InvalidKey: AugmentedError<ApiType>;
740
+ UsernameTaken: AugmentedError<ApiType>;
671
741
  /**
672
742
  * Generic error
673
743
  **/
@@ -731,6 +801,10 @@ declare module '@polkadot/api-base/types/errors' {
731
801
  * This can change at any time and may resolve in the future by re-trying.
732
802
  **/
733
803
  QueuePaused: AugmentedError<ApiType>;
804
+ /**
805
+ * Another call is in progress and needs to finish before this call can happen.
806
+ **/
807
+ RecursiveDisallowed: AugmentedError<ApiType>;
734
808
  /**
735
809
  * This message is temporarily unprocessable.
736
810
  *
@@ -880,9 +954,9 @@ declare module '@polkadot/api-base/types/errors' {
880
954
  /**
881
955
  * The amount does not meet the minimum bond to either join or create a pool.
882
956
  *
883
- * The depositor can never unbond to a value less than
884
- * `Pallet::depositor_min_bond`. The caller does not have nominating
885
- * permissions for the pool. Members can never unbond to a value below `MinJoinBond`.
957
+ * The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The
958
+ * caller does not have nominating permissions for the pool. Members can never unbond to a
959
+ * value below `MinJoinBond`.
886
960
  **/
887
961
  MinimumBondNotMet: AugmentedError<ApiType>;
888
962
  /**
@@ -898,6 +972,10 @@ declare module '@polkadot/api-base/types/errors' {
898
972
  * other members to be permissionlessly unbonded.
899
973
  **/
900
974
  NotDestroying: AugmentedError<ApiType>;
975
+ /**
976
+ * No imbalance in the ED deposit for the pool.
977
+ **/
978
+ NothingToAdjust: AugmentedError<ApiType>;
901
979
  /**
902
980
  * Either a) the caller cannot make a valid kick or b) the pool is not destroying.
903
981
  **/
@@ -1071,6 +1149,14 @@ declare module '@polkadot/api-base/types/errors' {
1071
1149
  [key: string]: AugmentedError<ApiType>;
1072
1150
  };
1073
1151
  paraInherent: {
1152
+ /**
1153
+ * A candidate was backed by a disabled validator
1154
+ **/
1155
+ BackedByDisabled: AugmentedError<ApiType>;
1156
+ /**
1157
+ * A candidate was backed even though the paraid was not scheduled.
1158
+ **/
1159
+ BackedOnUnscheduledCore: AugmentedError<ApiType>;
1074
1160
  /**
1075
1161
  * Disputed candidate that was concluded invalid.
1076
1162
  **/
@@ -1096,6 +1182,10 @@ declare module '@polkadot/api-base/types/errors' {
1096
1182
  * Inclusion inherent called more than once per block.
1097
1183
  **/
1098
1184
  TooManyInclusionInherents: AugmentedError<ApiType>;
1185
+ /**
1186
+ * Too many candidates supplied.
1187
+ **/
1188
+ UnscheduledCandidate: AugmentedError<ApiType>;
1099
1189
  /**
1100
1190
  * Generic error
1101
1191
  **/
@@ -1253,6 +1343,14 @@ declare module '@polkadot/api-base/types/errors' {
1253
1343
  * Preimage is too large to store on-chain.
1254
1344
  **/
1255
1345
  TooBig: AugmentedError<ApiType>;
1346
+ /**
1347
+ * Too few hashes were requested to be upgraded (i.e. zero).
1348
+ **/
1349
+ TooFew: AugmentedError<ApiType>;
1350
+ /**
1351
+ * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once.
1352
+ **/
1353
+ TooMany: AugmentedError<ApiType>;
1256
1354
  /**
1257
1355
  * Generic error
1258
1356
  **/
@@ -1517,6 +1615,10 @@ declare module '@polkadot/api-base/types/errors' {
1517
1615
  * Commission is too low. Must be at least `MinCommission`.
1518
1616
  **/
1519
1617
  CommissionTooLow: AugmentedError<ApiType>;
1618
+ /**
1619
+ * Used when attempting to use deprecated controller account logic.
1620
+ **/
1621
+ ControllerDeprecated: AugmentedError<ApiType>;
1520
1622
  /**
1521
1623
  * Duplicate index.
1522
1624
  **/
@@ -1551,6 +1653,10 @@ declare module '@polkadot/api-base/types/errors' {
1551
1653
  * Invalid number of nominations.
1552
1654
  **/
1553
1655
  InvalidNumberOfNominations: AugmentedError<ApiType>;
1656
+ /**
1657
+ * No nominators exist on this page.
1658
+ **/
1659
+ InvalidPage: AugmentedError<ApiType>;
1554
1660
  /**
1555
1661
  * Slash record index out of bounds.
1556
1662
  **/
@@ -1618,17 +1724,41 @@ declare module '@polkadot/api-base/types/errors' {
1618
1724
  * There is a non-zero reference count preventing the account from being purged.
1619
1725
  **/
1620
1726
  NonZeroRefCount: AugmentedError<ApiType>;
1727
+ /**
1728
+ * No upgrade authorized.
1729
+ **/
1730
+ NothingAuthorized: AugmentedError<ApiType>;
1621
1731
  /**
1622
1732
  * The specification version is not allowed to decrease between the current runtime
1623
1733
  * and the new runtime.
1624
1734
  **/
1625
1735
  SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
1736
+ /**
1737
+ * The submitted code is not authorized.
1738
+ **/
1739
+ Unauthorized: AugmentedError<ApiType>;
1626
1740
  /**
1627
1741
  * Generic error
1628
1742
  **/
1629
1743
  [key: string]: AugmentedError<ApiType>;
1630
1744
  };
1631
1745
  treasury: {
1746
+ /**
1747
+ * The payment has already been attempted.
1748
+ **/
1749
+ AlreadyAttempted: AugmentedError<ApiType>;
1750
+ /**
1751
+ * The spend is not yet eligible for payout.
1752
+ **/
1753
+ EarlyPayout: AugmentedError<ApiType>;
1754
+ /**
1755
+ * The balance of the asset kind is not convertible to the balance of the native asset.
1756
+ **/
1757
+ FailedToConvertBalance: AugmentedError<ApiType>;
1758
+ /**
1759
+ * The payment has neither failed nor succeeded yet.
1760
+ **/
1761
+ Inconclusive: AugmentedError<ApiType>;
1632
1762
  /**
1633
1763
  * The spend origin is valid but the amount it is allowed to spend is lower than the
1634
1764
  * amount to be spent.
@@ -1639,13 +1769,25 @@ declare module '@polkadot/api-base/types/errors' {
1639
1769
  **/
1640
1770
  InsufficientProposersBalance: AugmentedError<ApiType>;
1641
1771
  /**
1642
- * No proposal or bounty at that index.
1772
+ * No proposal, bounty or spend at that index.
1643
1773
  **/
1644
1774
  InvalidIndex: AugmentedError<ApiType>;
1775
+ /**
1776
+ * The payout was not yet attempted/claimed.
1777
+ **/
1778
+ NotAttempted: AugmentedError<ApiType>;
1779
+ /**
1780
+ * There was some issue with the mechanism of payment.
1781
+ **/
1782
+ PayoutError: AugmentedError<ApiType>;
1645
1783
  /**
1646
1784
  * Proposal has not been approved.
1647
1785
  **/
1648
1786
  ProposalNotApproved: AugmentedError<ApiType>;
1787
+ /**
1788
+ * The spend has expired and cannot be claimed.
1789
+ **/
1790
+ SpendExpired: AugmentedError<ApiType>;
1649
1791
  /**
1650
1792
  * Too many approvals in the queue.
1651
1793
  **/
@@ -1746,12 +1888,16 @@ declare module '@polkadot/api-base/types/errors' {
1746
1888
  * The version of the `Versioned` value used is not able to be interpreted.
1747
1889
  **/
1748
1890
  BadVersion: AugmentedError<ApiType>;
1891
+ /**
1892
+ * Could not check-out the assets for teleportation to the destination chain.
1893
+ **/
1894
+ CannotCheckOutTeleport: AugmentedError<ApiType>;
1749
1895
  /**
1750
1896
  * Could not re-anchor the assets to declare the fees for the destination chain.
1751
1897
  **/
1752
1898
  CannotReanchor: AugmentedError<ApiType>;
1753
1899
  /**
1754
- * The destination `MultiLocation` provided cannot be inverted.
1900
+ * The destination `Location` provided cannot be inverted.
1755
1901
  **/
1756
1902
  DestinationNotInvertible: AugmentedError<ApiType>;
1757
1903
  /**
@@ -1771,13 +1917,25 @@ declare module '@polkadot/api-base/types/errors' {
1771
1917
  **/
1772
1918
  InUse: AugmentedError<ApiType>;
1773
1919
  /**
1774
- * Invalid asset for the operation.
1920
+ * Invalid non-concrete asset.
1921
+ **/
1922
+ InvalidAssetNotConcrete: AugmentedError<ApiType>;
1923
+ /**
1924
+ * Invalid asset, reserve chain could not be determined for it.
1775
1925
  **/
1776
- InvalidAsset: AugmentedError<ApiType>;
1926
+ InvalidAssetUnknownReserve: AugmentedError<ApiType>;
1927
+ /**
1928
+ * Invalid asset, do not support remote asset reserves with different fees reserves.
1929
+ **/
1930
+ InvalidAssetUnsupportedReserve: AugmentedError<ApiType>;
1777
1931
  /**
1778
1932
  * Origin is invalid for sending.
1779
1933
  **/
1780
1934
  InvalidOrigin: AugmentedError<ApiType>;
1935
+ /**
1936
+ * Local XCM execution incomplete.
1937
+ **/
1938
+ LocalExecutionIncomplete: AugmentedError<ApiType>;
1781
1939
  /**
1782
1940
  * A remote lock with the corresponding data could not be found.
1783
1941
  **/
@@ -1803,6 +1961,10 @@ declare module '@polkadot/api-base/types/errors' {
1803
1961
  * The asset owner has too many locks on the asset.
1804
1962
  **/
1805
1963
  TooManyLocks: AugmentedError<ApiType>;
1964
+ /**
1965
+ * Too many assets with different reserve locations have been attempted for transfer.
1966
+ **/
1967
+ TooManyReserves: AugmentedError<ApiType>;
1806
1968
  /**
1807
1969
  * The desired destination was unreachable, generally because there is a no way of routing
1808
1970
  * to it.