@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.
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageInfo = void 0;
4
- exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.12.1' };
4
+ exports.packageInfo = { name: '@polkadot/api-augment', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', 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.
@@ -198,6 +194,16 @@ declare module '@polkadot/api-base/types/consts' {
198
194
  **/
199
195
  [key: string]: Codec;
200
196
  };
197
+ coretime: {
198
+ /**
199
+ * The ParaId of the broker system parachain.
200
+ **/
201
+ brokerId: u32 & AugmentedConst<ApiType>;
202
+ /**
203
+ * Generic const
204
+ **/
205
+ [key: string]: Codec;
206
+ };
201
207
  crowdloan: {
202
208
  /**
203
209
  * The minimum amount that may be contributed into a crowdloan. Should almost certainly be
@@ -224,11 +230,6 @@ declare module '@polkadot/api-base/types/consts' {
224
230
  * "better" in the Signed phase.
225
231
  **/
226
232
  betterSignedThreshold: Perbill & AugmentedConst<ApiType>;
227
- /**
228
- * The minimum amount of improvement to the solution score that defines a solution as
229
- * "better" in the Unsigned phase.
230
- **/
231
- betterUnsignedThreshold: Perbill & AugmentedConst<ApiType>;
232
233
  /**
233
234
  * The maximum number of winners that can be elected by this `ElectionProvider`
234
235
  * implementation.
@@ -251,10 +252,6 @@ declare module '@polkadot/api-base/types/consts' {
251
252
  * to submit the worker's solution.
252
253
  **/
253
254
  offchainRepeat: u32 & AugmentedConst<ApiType>;
254
- /**
255
- * Base deposit for a signed solution.
256
- **/
257
- signedDepositBase: u128 & AugmentedConst<ApiType>;
258
255
  /**
259
256
  * Per-byte deposit for a signed solution.
260
257
  **/
@@ -367,18 +364,13 @@ declare module '@polkadot/api-base/types/consts' {
367
364
  };
368
365
  identity: {
369
366
  /**
370
- * The amount held on deposit for a registered identity
367
+ * The amount held on deposit for a registered identity.
371
368
  **/
372
369
  basicDeposit: u128 & AugmentedConst<ApiType>;
373
370
  /**
374
- * The amount held on deposit per additional field for a registered identity.
375
- **/
376
- fieldDeposit: u128 & AugmentedConst<ApiType>;
377
- /**
378
- * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O
379
- * required to access an identity, but can be pretty high.
371
+ * The amount held on deposit per encoded byte for a registered identity.
380
372
  **/
381
- maxAdditionalFields: u32 & AugmentedConst<ApiType>;
373
+ byteDeposit: u128 & AugmentedConst<ApiType>;
382
374
  /**
383
375
  * Maxmimum number of registrars allowed in the system. Needed to bound the complexity
384
376
  * of, e.g., updating judgements.
@@ -389,24 +381,23 @@ declare module '@polkadot/api-base/types/consts' {
389
381
  **/
390
382
  maxSubAccounts: u32 & AugmentedConst<ApiType>;
391
383
  /**
392
- * The amount held on deposit for a registered subaccount. This should account for the fact
393
- * that one storage item's value will increase by the size of an account ID, and there will
394
- * be another trie item whose value is the size of an account ID plus 32 bytes.
384
+ * The maximum length of a suffix.
395
385
  **/
396
- subAccountDeposit: u128 & AugmentedConst<ApiType>;
386
+ maxSuffixLength: u32 & AugmentedConst<ApiType>;
397
387
  /**
398
- * Generic const
388
+ * The maximum length of a username, including its suffix and any system-added delimiters.
399
389
  **/
400
- [key: string]: Codec;
401
- };
402
- imOnline: {
390
+ maxUsernameLength: u32 & AugmentedConst<ApiType>;
403
391
  /**
404
- * A configuration for base priority of unsigned transactions.
405
- *
406
- * This is exposed so that it can be tuned for particular runtime, when
407
- * multiple pallets send unsigned transactions.
392
+ * The number of blocks within which a username grant must be accepted.
408
393
  **/
409
- unsignedPriority: u64 & AugmentedConst<ApiType>;
394
+ pendingUsernameExpiration: u32 & AugmentedConst<ApiType>;
395
+ /**
396
+ * The amount held on deposit for a registered subaccount. This should account for the fact
397
+ * that one storage item's value will increase by the size of an account ID, and there will
398
+ * be another trie item whose value is the size of an account ID plus 32 bytes.
399
+ **/
400
+ subAccountDeposit: u128 & AugmentedConst<ApiType>;
410
401
  /**
411
402
  * Generic const
412
403
  **/
@@ -554,10 +545,6 @@ declare module '@polkadot/api-base/types/consts' {
554
545
  * The maximum number of individual freeze locks that can exist on an account at any time.
555
546
  **/
556
547
  maxFreezes: u32 & AugmentedConst<ApiType>;
557
- /**
558
- * The maximum number of holds that can exist on an account at any time.
559
- **/
560
- maxHolds: u32 & AugmentedConst<ApiType>;
561
548
  /**
562
549
  * The maximum number of locks that should exist on an account.
563
550
  * Not strictly enforced, but used for weight estimation.
@@ -588,6 +575,10 @@ declare module '@polkadot/api-base/types/consts' {
588
575
  * Such a scenario would also be the equivalent of the pool being 90% slashed.
589
576
  **/
590
577
  maxPointsToBalance: u8 & AugmentedConst<ApiType>;
578
+ /**
579
+ * The maximum number of simultaneous unbonding chunks that can exist per member.
580
+ **/
581
+ maxUnbonding: u32 & AugmentedConst<ApiType>;
591
582
  /**
592
583
  * The nomination pool's pallet id.
593
584
  **/
@@ -597,6 +588,16 @@ declare module '@polkadot/api-base/types/consts' {
597
588
  **/
598
589
  [key: string]: Codec;
599
590
  };
591
+ onDemandAssignmentProvider: {
592
+ /**
593
+ * The default value for the spot traffic multiplier.
594
+ **/
595
+ trafficDefaultValue: u128 & AugmentedConst<ApiType>;
596
+ /**
597
+ * Generic const
598
+ **/
599
+ [key: string]: Codec;
600
+ };
600
601
  paras: {
601
602
  unsignedPriority: u64 & AugmentedConst<ApiType>;
602
603
  /**
@@ -818,8 +819,8 @@ declare module '@polkadot/api-base/types/consts' {
818
819
  * Following information is kept for eras in `[current_era -
819
820
  * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,
820
821
  * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,
821
- * `ErasTotalStake`, `ErasStartSessionIndex`,
822
- * `StakingLedger.claimed_rewards`.
822
+ * `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,
823
+ * `ErasStakersOverview`.
823
824
  *
824
825
  * Must be more than the number of eras delayed by session.
825
826
  * I.e. active era must always be in history. I.e. `active_era >
@@ -829,19 +830,26 @@ declare module '@polkadot/api-base/types/consts' {
829
830
  * this should be set to same value or greater as in storage.
830
831
  *
831
832
  * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`
832
- * item `StakingLedger.claimed_rewards`. Setting this value lower than
833
+ * item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than
833
834
  * the existing value can lead to inconsistencies in the
834
835
  * `StakingLedger` and will need to be handled properly in a migration.
835
836
  * The test `reducing_history_depth_abrupt` shows this effect.
836
837
  **/
837
838
  historyDepth: u32 & AugmentedConst<ApiType>;
838
839
  /**
839
- * The maximum number of nominators rewarded for each validator.
840
+ * The maximum size of each `T::ExposurePage`.
840
841
  *
841
- * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can
842
- * claim their reward. This used to limit the i/o cost for the nominator payout.
842
+ * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`
843
+ * nominators.
844
+ *
845
+ * For older non-paged exposure, a reward payout was restricted to the top
846
+ * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the
847
+ * nominator payout.
848
+ *
849
+ * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce
850
+ * without handling it in a migration.
843
851
  **/
844
- maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>;
852
+ maxExposurePageSize: u32 & AugmentedConst<ApiType>;
845
853
  /**
846
854
  * The maximum number of `unlocking` chunks a [`StakingLedger`] can
847
855
  * have. Effectively determines how many unique eras a staker may be
@@ -893,7 +901,7 @@ declare module '@polkadot/api-base/types/consts' {
893
901
  * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
894
902
  *
895
903
  * For more info see
896
- * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>
904
+ * <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
897
905
  **/
898
906
  maxKeyLen: u32 & AugmentedConst<ApiType>;
899
907
  /**
@@ -937,10 +945,12 @@ declare module '@polkadot/api-base/types/consts' {
937
945
  };
938
946
  timestamp: {
939
947
  /**
940
- * The minimum period between blocks. Beware that this is different to the *expected*
941
- * period that the block production apparatus provides. Your chosen consensus system will
942
- * generally work with this to determine a sensible block time. e.g. For Aura, it will be
943
- * double this period on default settings.
948
+ * The minimum period between blocks.
949
+ *
950
+ * Be aware that this is different to the *expected* period that the block production
951
+ * apparatus provides. Your chosen consensus system will generally work with this to
952
+ * determine a sensible block time. For example, in the Aura pallet it will be double this
953
+ * period on default settings.
944
954
  **/
945
955
  minimumPeriod: u64 & AugmentedConst<ApiType>;
946
956
  /**
@@ -950,10 +960,10 @@ declare module '@polkadot/api-base/types/consts' {
950
960
  };
951
961
  transactionPayment: {
952
962
  /**
953
- * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
963
+ * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
954
964
  * `priority`
955
965
  *
956
- * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later
966
+ * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
957
967
  * added to a tip component in regular `priority` calculations.
958
968
  * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
959
969
  * extrinsic (with no tip), by including a tip value greater than the virtual tip.
@@ -993,6 +1003,10 @@ declare module '@polkadot/api-base/types/consts' {
993
1003
  * The treasury's pallet id, used for deriving its sovereign account ID.
994
1004
  **/
995
1005
  palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
1006
+ /**
1007
+ * The period during which an approved treasury spend has to be claimed.
1008
+ **/
1009
+ payoutPeriod: u32 & AugmentedConst<ApiType>;
996
1010
  /**
997
1011
  * Fraction of a proposal's value that should be bonded in order to place the proposal.
998
1012
  * An accepted proposal gets these back. A rejected proposal does not.