// Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ import type { Vec, u32, u64, u8 } from '@polkadot/types'; import type { MaxNumber, ProposalParameters } from './all'; import type { Balance, BalanceOf, BlockNumber, LockIdentifier, Moment, Perbill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime'; import type { SessionIndex } from '@polkadot/types/interfaces/session'; import type { EraIndex } from '@polkadot/types/interfaces/staking'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/consts' { export interface AugmentedConsts { babe: { /** * The number of **slots** that an epoch takes. We couple sessions to * epochs, i.e. we start a new session once the new epoch begins. **/ epochDuration: u64 & AugmentedConst; /** * The expected average block time at which BABE should be creating * blocks. Since BABE is probabilistic it is not trivial to figure out * what the expected average block time should be based on the slot * duration and the security parameter `c` (where `1 - c` represents * the probability of a slot being empty). **/ expectedBlockTime: Moment & AugmentedConst; }; balances: { /** * The minimum amount required to keep an account open. **/ existentialDeposit: Balance & AugmentedConst; }; bounty: { /** * Exports const - bounty lock id. **/ bountyLockId: LockIdentifier & AugmentedConst; /** * Exports const - max work entry number for a closed assurance type contract bounty. **/ closedContractSizeLimit: u32 & AugmentedConst; /** * Exports const - min cherry value limit for a bounty. **/ minCherryLimit: BalanceOf & AugmentedConst; /** * Exports const - min funding amount limit for a bounty. **/ minFundingLimit: BalanceOf & AugmentedConst; /** * Exports const - min work entrant stake for a bounty. **/ minWorkEntrantStake: BalanceOf & AugmentedConst; }; content: { /** * Exports const - max number of curators per group **/ maxNumberOfCuratorsPerGroup: MaxNumber & AugmentedConst; }; contentDirectoryWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; council: { /** * Duration of annoncing period **/ announcingPeriodDuration: BlockNumber & AugmentedConst; /** * Interval between automatic budget refills. **/ budgetRefillPeriod: BlockNumber & AugmentedConst; /** * Exports const - candidacy lock id. **/ candidacyLockId: LockIdentifier & AugmentedConst; /** * Exports const - candidacy lock id. **/ councilorLockId: LockIdentifier & AugmentedConst; /** * Council member count **/ councilSize: u64 & AugmentedConst; /** * Interval for automatic reward payments. **/ electedMemberRewardPeriod: BlockNumber & AugmentedConst; /** * Duration of idle period **/ idlePeriodDuration: BlockNumber & AugmentedConst; /** * Minimum stake candidate has to lock **/ minCandidateStake: Balance & AugmentedConst; /** * Minimum number of extra candidates needed for the valid election. * Number of total candidates is equal to council size plus extra candidates. **/ minNumberOfExtraCandidates: u64 & AugmentedConst; }; finalityTracker: { /** * The delay after which point things become suspicious. Default is 1000. **/ reportLatency: BlockNumber & AugmentedConst; /** * The number of recent samples to keep from this chain. Default is 101. **/ windowSize: BlockNumber & AugmentedConst; }; forum: { /** * Exports const * Deposit needed to create a post **/ postDeposit: BalanceOf & AugmentedConst; /** * Deposit needed to create a thread **/ threadDeposit: BalanceOf & AugmentedConst; }; forumWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; gatewayWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; members: { /** * Exports const - Stake needed to candidate as staking account. **/ candidateStake: BalanceOf & AugmentedConst; /** * Exports const - default balance for the invited member. **/ defaultInitialInvitationBalance: BalanceOf & AugmentedConst; /** * Exports const - default membership fee. **/ defaultMembershipPrice: BalanceOf & AugmentedConst; /** * Exports const - invited member lock id. **/ invitedMemberLockId: LockIdentifier & AugmentedConst; /** * Exports const - maximum percent value of the membership fee for the referral cut. **/ referralCutMaximumPercent: u8 & AugmentedConst; /** * Exports const - staking candidate lock id. **/ stakingCandidateLockId: LockIdentifier & AugmentedConst; }; membershipWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; operationsWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; proposalsCodex: { /** * Exports 'Amend Constitution' proposal parameters. **/ amendConstitutionProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Cancel Working Group Lead Opening' proposal parameters. **/ cancelWorkingGroupLeadOpeningProposalParameters: ProposalParameters & AugmentedConst; createBlogPostProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Create Working Group Lead Opening' proposal parameters. **/ createWorkingGroupLeadOpeningProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Decrease Working Group Lead Stake' proposal parameters. **/ decreaseWorkingGroupLeadStakeProposalParameters: ProposalParameters & AugmentedConst; editBlogPostProoposalParamters: ProposalParameters & AugmentedConst; /** * Exports 'Fill Working Group Lead Opening' proposal parameters. **/ fillWorkingGroupOpeningProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Funding Request' proposal parameters. **/ fundingRequestProposalParameters: ProposalParameters & AugmentedConst; lockBlogPostProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Runtime Upgrade' proposal parameters. **/ runtimeUpgradeProposalParameters: ProposalParameters & AugmentedConst; /** * Exports `Set Council Budget Increment` proposal parameters. **/ setCouncilBudgetIncrementProposalParameters: ProposalParameters & AugmentedConst; /** * Exports `Set Councilor Reward Proposal Parameters` proposal parameters. **/ setCouncilorRewardProposalParameters: ProposalParameters & AugmentedConst; /** * Exports `Set Initial Invitation Balance` proposal parameters. **/ setInitialInvitationBalanceProposalParameters: ProposalParameters & AugmentedConst; setInvitationCountProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Set Max Validator Count' proposal parameters. **/ setMaxValidatorCountProposalParameters: ProposalParameters & AugmentedConst; setMembershipLeadInvitationQuotaProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Set Membership Price' proposal parameters. **/ setMembershipPriceProposalParameters: ProposalParameters & AugmentedConst; setReferralCutProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Set Working Group Lead Reward' proposal parameters. **/ setWorkingGroupLeadRewardProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Signal' proposal parameters. **/ signalProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Slash Working Group Lead' proposal parameters. **/ slashWorkingGroupLeadProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Terminate Working Group Lead' proposal parameters. **/ terminateWorkingGroupLeadProposalParameters: ProposalParameters & AugmentedConst; unlockBlogPostProposalParameters: ProposalParameters & AugmentedConst; /** * Exports 'Update Working Group Budget' proposal parameters. **/ updateWorkingGroupBudgetProposalParameters: ProposalParameters & AugmentedConst; vetoProposalProposalParameters: ProposalParameters & AugmentedConst; }; proposalsEngine: { /** * Exports const - the fee is applied when cancel the proposal. A fee would be slashed (burned). **/ cancellationFee: BalanceOf & AugmentedConst; /** * Exports const - max allowed proposal description length. **/ descriptionMaxLength: u32 & AugmentedConst; /** * Exports const - max simultaneous active proposals number. **/ maxActiveProposalLimit: u32 & AugmentedConst; /** * Exports const - the fee is applied when the proposal gets rejected. A fee would * be slashed (burned). **/ rejectionFee: BalanceOf & AugmentedConst; /** * Exports const - staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; /** * Exports const - max allowed proposal title length. **/ titleMaxLength: u32 & AugmentedConst; }; referendum: { /** * Maximum length of vote commitment salt. Use length that ensures uniqueness for hashing * e.g. std::u64::MAX. **/ maxSaltLength: u64 & AugmentedConst; /** * Minimum stake needed for voting **/ minimumStake: BalanceOf & AugmentedConst; /** * Duration of revealing stage (number of blocks) **/ revealStageDuration: BlockNumber & AugmentedConst; /** * Exports const - staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; /** * Duration of voting stage (number of blocks) **/ voteStageDuration: BlockNumber & AugmentedConst; }; staking: { /** * Number of eras that staked funds must remain bonded for. **/ bondingDuration: EraIndex & AugmentedConst; /** * The number of blocks before the end of the era from which election submissions are allowed. * * Setting this to zero will disable the offchain compute and only on-chain seq-phragmen will * be used. * * This is bounded by being within the last session. Hence, setting it to a value more than the * length of a session will be pointless. **/ electionLookahead: BlockNumber & AugmentedConst; /** * Maximum number of balancing iterations to run in the offchain submission. * * If set to 0, balance_solution will not be executed at all. **/ maxIterations: u32 & AugmentedConst; /** * The maximum number of nominators rewarded for each validator. * * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can claim * their reward. This used to limit the i/o cost for the nominator payout. **/ maxNominatorRewardedPerValidator: u32 & AugmentedConst; /** * The threshold of improvement that should be provided for a new solution to be accepted. **/ minSolutionScoreBump: Perbill & AugmentedConst; /** * Number of sessions per era. **/ sessionsPerEra: SessionIndex & AugmentedConst; /** * Number of eras that slashes are deferred by, after computation. * * This should be less than the bonding duration. * Set to 0 if slashes should be applied immediately, without opportunity for * intervention. **/ slashDeferDuration: EraIndex & AugmentedConst; }; storageWorkingGroup: { /** * Stake needed to create an opening. **/ leaderOpeningStake: Balance & AugmentedConst; /** * Exports const * Max simultaneous active worker number. **/ maxWorkerNumberLimit: u32 & AugmentedConst; /** * Minimum stake required for applying into an opening. **/ minimumApplicationStake: Balance & AugmentedConst; /** * Defines min unstaking period in the group. **/ minUnstakingPeriodLimit: BlockNumber & AugmentedConst; /** * Defines the period every worker gets paid in blocks. **/ rewardPeriod: u32 & AugmentedConst; /** * Staking handler lock id. **/ stakingHandlerLockId: LockIdentifier & AugmentedConst; }; system: { /** * The base weight of executing a block, independent of the transactions in the block. **/ blockExecutionWeight: Weight & AugmentedConst; /** * The maximum number of blocks to allow in mortal eras. **/ blockHashCount: BlockNumber & AugmentedConst; /** * The weight of runtime database operations the runtime can invoke. **/ dbWeight: RuntimeDbWeight & AugmentedConst; /** * The base weight of an Extrinsic in the block, independent of the of extrinsic being executed. **/ extrinsicBaseWeight: Weight & AugmentedConst; /** * The maximum length of a block (in bytes). **/ maximumBlockLength: u32 & AugmentedConst; /** * The maximum weight of a block. **/ maximumBlockWeight: Weight & AugmentedConst; }; timestamp: { /** * The minimum period between blocks. Beware that this is different to the *expected* period * that the block production apparatus provides. Your chosen consensus system will generally * work with this to determine a sensible block time. e.g. For Aura, it will be double this * period on default settings. **/ minimumPeriod: Moment & AugmentedConst; }; transactionPayment: { /** * The fee to be paid for making a transaction; the per-byte portion. **/ transactionByteFee: BalanceOf & AugmentedConst; /** * The polynomial that is applied in order to derive fee from weight. **/ weightToFee: Vec & AugmentedConst; }; } export interface QueryableConsts extends AugmentedConsts { } }