66import '@polkadot/api-base/types/consts' ;
77
88import type { ApiTypes , AugmentedConst } from '@polkadot/api-base/types' ;
9- import type { Bytes , Option , U8aFixed , Vec , bool , u128 , u16 , u32 , u64 , u8 } from '@polkadot/types-codec' ;
9+ import type { Bytes , Option , Vec , u128 , u16 , u32 , u64 , u8 } from '@polkadot/types-codec' ;
1010import type { Codec , ITuple } from '@polkadot/types-codec/types' ;
11- import type { Perbill , Percent , Permill , Perquintill } from '@polkadot/types/interfaces/runtime' ;
12- import type { FrameSupportPalletId , FrameSystemLimitsBlockLength , FrameSystemLimitsBlockWeights , PalletReferendaTrackInfo , SpVersionRuntimeVersion , SpWeightsRuntimeDbWeight , SpWeightsWeightV2Weight } from '@polkadot/types/lookup' ;
11+ import type { Perbill , Permill , Perquintill } from '@polkadot/types/interfaces/runtime' ;
12+ import type { FrameSupportPalletId , FrameSystemLimitsBlockLength , FrameSystemLimitsBlockWeights , KusamaRuntimeHoldReason , PalletReferendaTrackInfo , SpVersionRuntimeVersion , SpWeightsRuntimeDbWeight , SpWeightsWeightV2Weight } from '@polkadot/types/lookup' ;
1313
1414export type __AugmentedConst < ApiType extends ApiTypes > = AugmentedConst < ApiType > ;
1515
@@ -62,6 +62,14 @@ declare module '@polkadot/api-base/types/consts' {
6262 * The minimum amount required to keep an account open.
6363 **/
6464 existentialDeposit : u128 & AugmentedConst < ApiType > ;
65+ /**
66+ * The maximum number of individual freeze locks that can exist on an account at any time.
67+ **/
68+ maxFreezes : u32 & AugmentedConst < ApiType > ;
69+ /**
70+ * The maximum number of holds that can exist on an account at any time.
71+ **/
72+ maxHolds : u32 & AugmentedConst < ApiType > ;
6573 /**
6674 * The maximum number of locks that should exist on an account.
6775 * Not strictly enforced, but used for weight estimation.
@@ -183,72 +191,6 @@ declare module '@polkadot/api-base/types/consts' {
183191 **/
184192 [ key : string ] : Codec ;
185193 } ;
186- democracy : {
187- /**
188- * Period in blocks where an external proposal may not be re-submitted after being vetoed.
189- **/
190- cooloffPeriod : u32 & AugmentedConst < ApiType > ;
191- /**
192- * The period between a proposal being approved and enacted.
193- *
194- * It should generally be a little more than the unstake period to ensure that
195- * voting stakers have an opportunity to remove themselves from the system in the case
196- * where they are on the losing side of a vote.
197- **/
198- enactmentPeriod : u32 & AugmentedConst < ApiType > ;
199- /**
200- * Minimum voting period allowed for a fast-track referendum.
201- **/
202- fastTrackVotingPeriod : u32 & AugmentedConst < ApiType > ;
203- /**
204- * Indicator for whether an emergency origin is even allowed to happen. Some chains may
205- * want to set this permanently to `false`, others may want to condition it on things such
206- * as an upgrade having happened recently.
207- **/
208- instantAllowed : bool & AugmentedConst < ApiType > ;
209- /**
210- * How often (in blocks) new public referenda are launched.
211- **/
212- launchPeriod : u32 & AugmentedConst < ApiType > ;
213- /**
214- * The maximum number of items which can be blacklisted.
215- **/
216- maxBlacklisted : u32 & AugmentedConst < ApiType > ;
217- /**
218- * The maximum number of deposits a public proposal may have at any time.
219- **/
220- maxDeposits : u32 & AugmentedConst < ApiType > ;
221- /**
222- * The maximum number of public proposals that can exist at any time.
223- **/
224- maxProposals : u32 & AugmentedConst < ApiType > ;
225- /**
226- * The maximum number of votes for an account.
227- *
228- * Also used to compute weight, an overly big value can
229- * lead to extrinsic with very big weight: see `delegate` for instance.
230- **/
231- maxVotes : u32 & AugmentedConst < ApiType > ;
232- /**
233- * The minimum amount to be used as a deposit for a public referendum proposal.
234- **/
235- minimumDeposit : u128 & AugmentedConst < ApiType > ;
236- /**
237- * The minimum period of vote locking.
238- *
239- * It should be no shorter than enactment period to ensure that in the case of an approval,
240- * those successful voters are locked into the consequences that their votes entail.
241- **/
242- voteLockingPeriod : u32 & AugmentedConst < ApiType > ;
243- /**
244- * How often (in blocks) to check for new votes.
245- **/
246- votingPeriod : u32 & AugmentedConst < ApiType > ;
247- /**
248- * Generic const
249- **/
250- [ key : string ] : Codec ;
251- } ;
252194 electionProviderMultiPhase : {
253195 /**
254196 * The minimum amount of improvement to the solution score that defines a solution as
@@ -280,6 +222,7 @@ declare module '@polkadot/api-base/types/consts' {
280222 minerMaxLength : u32 & AugmentedConst < ApiType > ;
281223 minerMaxVotesPerVoter : u32 & AugmentedConst < ApiType > ;
282224 minerMaxWeight : SpWeightsWeightV2Weight & AugmentedConst < ApiType > ;
225+ minerMaxWinners : u32 & AugmentedConst < ApiType > ;
283226 /**
284227 * The priority of the unsigned transaction submitted in the unsigned-phase
285228 **/
@@ -495,6 +438,10 @@ declare module '@polkadot/api-base/types/consts' {
495438 * Must be no greater than `MaxQueueLen`.
496439 **/
497440 fifoQueueLen : u32 & AugmentedConst < ApiType > ;
441+ /**
442+ * The identifier of the hold reason.
443+ **/
444+ holdReason : KusamaRuntimeHoldReason & AugmentedConst < ApiType > ;
498445 /**
499446 * The number of blocks between consecutive attempts to dequeue bids and create receipts.
500447 *
@@ -537,10 +484,6 @@ declare module '@polkadot/api-base/types/consts' {
537484 * this value multiplied by `Period`.
538485 **/
539486 queueCount : u32 & AugmentedConst < ApiType > ;
540- /**
541- * The name for the reserve ID.
542- **/
543- reserveId : U8aFixed & AugmentedConst < ApiType > ;
544487 /**
545488 * The maximum proportion which may be thawed and the period over which it is reset.
546489 **/
@@ -555,6 +498,14 @@ declare module '@polkadot/api-base/types/consts' {
555498 * The minimum amount required to keep an account open.
556499 **/
557500 existentialDeposit : u128 & AugmentedConst < ApiType > ;
501+ /**
502+ * The maximum number of individual freeze locks that can exist on an account at any time.
503+ **/
504+ maxFreezes : u32 & AugmentedConst < ApiType > ;
505+ /**
506+ * The maximum number of holds that can exist on an account at any time.
507+ **/
508+ maxHolds : u32 & AugmentedConst < ApiType > ;
558509 /**
559510 * The maximum number of locks that should exist on an account.
560511 * Not strictly enforced, but used for weight estimation.
@@ -601,70 +552,6 @@ declare module '@polkadot/api-base/types/consts' {
601552 **/
602553 [ key : string ] : Codec ;
603554 } ;
604- phragmenElection : {
605- /**
606- * How much should be locked up in order to submit one's candidacy.
607- **/
608- candidacyBond : u128 & AugmentedConst < ApiType > ;
609- /**
610- * Number of members to elect.
611- **/
612- desiredMembers : u32 & AugmentedConst < ApiType > ;
613- /**
614- * Number of runners_up to keep.
615- **/
616- desiredRunnersUp : u32 & AugmentedConst < ApiType > ;
617- /**
618- * The maximum number of candidates in a phragmen election.
619- *
620- * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
621- * consider how it will impact `T::WeightInfo::election_phragmen`.
622- *
623- * When this limit is reached no more candidates are accepted in the election.
624- **/
625- maxCandidates : u32 & AugmentedConst < ApiType > ;
626- /**
627- * The maximum number of voters to allow in a phragmen election.
628- *
629- * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
630- * consider how it will impact `T::WeightInfo::election_phragmen`.
631- *
632- * When the limit is reached the new voters are ignored.
633- **/
634- maxVoters : u32 & AugmentedConst < ApiType > ;
635- /**
636- * Maximum numbers of votes per voter.
637- *
638- * Warning: This impacts the size of the election which is run onchain. Chose wisely, and
639- * consider how it will impact `T::WeightInfo::election_phragmen`.
640- **/
641- maxVotesPerVoter : u32 & AugmentedConst < ApiType > ;
642- /**
643- * Identifier for the elections-phragmen pallet's lock
644- **/
645- palletId : U8aFixed & AugmentedConst < ApiType > ;
646- /**
647- * How long each seat is kept. This defines the next block number at which an election
648- * round will happen. If set to zero, no elections are ever triggered and the module will
649- * be in passive mode.
650- **/
651- termDuration : u32 & AugmentedConst < ApiType > ;
652- /**
653- * Base deposit associated with voting.
654- *
655- * This should be sensibly high to economically ensure the pallet cannot be attacked by
656- * creating a gigantic number of votes.
657- **/
658- votingBondBase : u128 & AugmentedConst < ApiType > ;
659- /**
660- * The amount of bond that need to be locked for each vote (32 bytes).
661- **/
662- votingBondFactor : u128 & AugmentedConst < ApiType > ;
663- /**
664- * Generic const
665- **/
666- [ key : string ] : Codec ;
667- } ;
668555 proxy : {
669556 /**
670557 * The base amount of currency needed to reserve for creating an announcement.
@@ -979,34 +866,6 @@ declare module '@polkadot/api-base/types/consts' {
979866 **/
980867 [ key : string ] : Codec ;
981868 } ;
982- tips : {
983- /**
984- * The amount held on deposit per byte within the tip report reason or bounty description.
985- **/
986- dataDepositPerByte : u128 & AugmentedConst < ApiType > ;
987- /**
988- * Maximum acceptable reason length.
989- *
990- * Benchmarks depend on this value, be sure to update weights file when changing this value
991- **/
992- maximumReasonLength : u32 & AugmentedConst < ApiType > ;
993- /**
994- * The period for which a tip remains open after is has achieved threshold tippers.
995- **/
996- tipCountdown : u32 & AugmentedConst < ApiType > ;
997- /**
998- * The percent of the final tip which goes to the original reporter of the tip.
999- **/
1000- tipFindersFee : Percent & AugmentedConst < ApiType > ;
1001- /**
1002- * The amount held on deposit for placing a tip report.
1003- **/
1004- tipReportDepositBase : u128 & AugmentedConst < ApiType > ;
1005- /**
1006- * Generic const
1007- **/
1008- [ key : string ] : Codec ;
1009- } ;
1010869 transactionPayment : {
1011870 /**
1012871 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
0 commit comments