123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- import { Vec } from '@polkadot/types/codec';
- import { u32, u64 } from '@polkadot/types/primitive';
- import { Balance, BalanceOf, BlockNumber, Moment, Perbill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime';
- import { SessionIndex } from '@polkadot/types/interfaces/session';
- import { EraIndex } from '@polkadot/types/interfaces/staking';
- import { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
- declare module '@polkadot/metadata/Decorated/consts/types' {
- export interface Constants {
- babe: {
-
- epochDuration: AugmentedConst<u64>;
-
- expectedBlockTime: AugmentedConst<Moment>;
- };
- balances: {
-
- existentialDeposit: AugmentedConst<Balance>;
- };
- contentDirectoryWorkingGroup: {
-
- maxWorkerNumberLimit: AugmentedConst<u32>;
- };
- dataDirectory: {
-
- maxObjectsPerInjection: AugmentedConst<u32>;
- };
- finalityTracker: {
-
- reportLatency: AugmentedConst<BlockNumber>;
-
- windowSize: AugmentedConst<BlockNumber>;
- };
- proposalsCodex: {
-
- runtimeUpgradeWasmProposalMaxLength: AugmentedConst<u32>;
-
- textProposalMaxLength: AugmentedConst<u32>;
- };
- proposalsDiscussion: {
-
- maxPostEditionNumber: AugmentedConst<u32>;
-
- maxThreadInARowNumber: AugmentedConst<u32>;
-
- postLengthLimit: AugmentedConst<u32>;
-
- threadTitleLengthLimit: AugmentedConst<u32>;
- };
- proposalsEngine: {
-
- cancellationFee: AugmentedConst<BalanceOf>;
-
- descriptionMaxLength: AugmentedConst<u32>;
-
- maxActiveProposalLimit: AugmentedConst<u32>;
-
- rejectionFee: AugmentedConst<BalanceOf>;
-
- titleMaxLength: AugmentedConst<u32>;
- };
- staking: {
-
- bondingDuration: AugmentedConst<EraIndex>;
-
- electionLookahead: AugmentedConst<BlockNumber>;
-
- maxIterations: AugmentedConst<u32>;
-
- maxNominatorRewardedPerValidator: AugmentedConst<u32>;
-
- minSolutionScoreBump: AugmentedConst<Perbill>;
-
- sessionsPerEra: AugmentedConst<SessionIndex>;
-
- slashDeferDuration: AugmentedConst<EraIndex>;
- };
- storageWorkingGroup: {
-
- maxWorkerNumberLimit: AugmentedConst<u32>;
- };
- system: {
-
- blockExecutionWeight: AugmentedConst<Weight>;
-
- blockHashCount: AugmentedConst<BlockNumber>;
-
- dbWeight: AugmentedConst<RuntimeDbWeight>;
-
- extrinsicBaseWeight: AugmentedConst<Weight>;
-
- maximumBlockLength: AugmentedConst<u32>;
-
- maximumBlockWeight: AugmentedConst<Weight>;
- };
- timestamp: {
-
- minimumPeriod: AugmentedConst<Moment>;
- };
- transactionPayment: {
-
- transactionByteFee: AugmentedConst<BalanceOf>;
-
- weightToFee: AugmentedConst<Vec<WeightToFeeCoefficient>>;
- };
- }
- }
|