123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
- /* eslint-disable */
- import type { Vec, u32, u64 } from '@polkadot/types';
- import type { MaxNumber } from './all';
- import type { Balance, BalanceOf, BlockNumber, 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<ApiType> {
- 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<ApiType>;
- /**
- * 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<ApiType>;
- };
- balances: {
- /**
- * The minimum amount required to keep an account open.
- **/
- existentialDeposit: Balance & AugmentedConst<ApiType>;
- };
- content: {
- /**
- * Exports const - max number of curators per group
- **/
- maxNumberOfCuratorsPerGroup: MaxNumber & AugmentedConst<ApiType>;
- };
- contentDirectoryWorkingGroup: {
- /**
- * Exports const - max simultaneous active worker number.
- **/
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- finalityTracker: {
- /**
- * The delay after which point things become suspicious. Default is 1000.
- **/
- reportLatency: BlockNumber & AugmentedConst<ApiType>;
- /**
- * The number of recent samples to keep from this chain. Default is 101.
- **/
- windowSize: BlockNumber & AugmentedConst<ApiType>;
- };
- gatewayWorkingGroup: {
- /**
- * Exports const - max simultaneous active worker number.
- **/
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- members: {
- screenedMemberMaxInitialBalance: BalanceOf & AugmentedConst<ApiType>;
- };
- operationsWorkingGroup: {
- /**
- * Exports const - max simultaneous active worker number.
- **/
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- proposalsCodex: {
- /**
- * Exports max wasm code length of the runtime upgrade proposal const.
- **/
- runtimeUpgradeWasmProposalMaxLength: u32 & AugmentedConst<ApiType>;
- /**
- * Exports max allowed text proposal length const.
- **/
- textProposalMaxLength: u32 & AugmentedConst<ApiType>;
- };
- proposalsDiscussion: {
- /**
- * Exports post edition number limit const.
- **/
- maxPostEditionNumber: u32 & AugmentedConst<ApiType>;
- /**
- * Exports max thread by same author in a row number limit const.
- **/
- maxThreadInARowNumber: u32 & AugmentedConst<ApiType>;
- /**
- * Exports post length limit const.
- **/
- postLengthLimit: u32 & AugmentedConst<ApiType>;
- /**
- * Exports thread title length limit const.
- **/
- threadTitleLengthLimit: u32 & AugmentedConst<ApiType>;
- };
- proposalsEngine: {
- /**
- * Exports const - the fee is applied when cancel the proposal. A fee would be slashed (burned).
- **/
- cancellationFee: BalanceOf & AugmentedConst<ApiType>;
- /**
- * Exports const - max allowed proposal description length.
- **/
- descriptionMaxLength: u32 & AugmentedConst<ApiType>;
- /**
- * Exports const - max simultaneous active proposals number.
- **/
- maxActiveProposalLimit: u32 & AugmentedConst<ApiType>;
- /**
- * Exports const - the fee is applied when the proposal gets rejected. A fee would be slashed (burned).
- **/
- rejectionFee: BalanceOf & AugmentedConst<ApiType>;
- /**
- * Exports const - max allowed proposal title length.
- **/
- titleMaxLength: u32 & AugmentedConst<ApiType>;
- };
- staking: {
- /**
- * Number of eras that staked funds must remain bonded for.
- **/
- bondingDuration: EraIndex & AugmentedConst<ApiType>;
- /**
- * 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<ApiType>;
- /**
- * 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<ApiType>;
- /**
- * 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<ApiType>;
- /**
- * The threshold of improvement that should be provided for a new solution to be accepted.
- **/
- minSolutionScoreBump: Perbill & AugmentedConst<ApiType>;
- /**
- * Number of sessions per era.
- **/
- sessionsPerEra: SessionIndex & AugmentedConst<ApiType>;
- /**
- * 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<ApiType>;
- };
- storageWorkingGroup: {
- /**
- * Exports const - max simultaneous active worker number.
- **/
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- system: {
- /**
- * The base weight of executing a block, independent of the transactions in the block.
- **/
- blockExecutionWeight: Weight & AugmentedConst<ApiType>;
- /**
- * The maximum number of blocks to allow in mortal eras.
- **/
- blockHashCount: BlockNumber & AugmentedConst<ApiType>;
- /**
- * The weight of runtime database operations the runtime can invoke.
- **/
- dbWeight: RuntimeDbWeight & AugmentedConst<ApiType>;
- /**
- * The base weight of an Extrinsic in the block, independent of the of extrinsic being executed.
- **/
- extrinsicBaseWeight: Weight & AugmentedConst<ApiType>;
- /**
- * The maximum length of a block (in bytes).
- **/
- maximumBlockLength: u32 & AugmentedConst<ApiType>;
- /**
- * The maximum weight of a block.
- **/
- maximumBlockWeight: Weight & AugmentedConst<ApiType>;
- };
- 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<ApiType>;
- };
- transactionPayment: {
- /**
- * The fee to be paid for making a transaction; the per-byte portion.
- **/
- transactionByteFee: BalanceOf & AugmentedConst<ApiType>;
- /**
- * The polynomial that is applied in order to derive fee from weight.
- **/
- weightToFee: Vec<WeightToFeeCoefficient> & AugmentedConst<ApiType>;
- };
- }
- export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
- }
- }
|