123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- import type { Vec, u32, u64 } from '@polkadot/types';
- import type { MaxNumber, StorageBucketsPerBagValueConstraint } 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: {
-
- epochDuration: u64 & AugmentedConst<ApiType>;
-
- expectedBlockTime: Moment & AugmentedConst<ApiType>;
- };
- balances: {
-
- existentialDeposit: Balance & AugmentedConst<ApiType>;
- };
- content: {
-
- maxNumberOfCuratorsPerGroup: MaxNumber & AugmentedConst<ApiType>;
- };
- contentWorkingGroup: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- distributionWorkingGroup: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- finalityTracker: {
-
- reportLatency: BlockNumber & AugmentedConst<ApiType>;
-
- windowSize: BlockNumber & AugmentedConst<ApiType>;
- };
- gatewayWorkingGroup: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- members: {
- screenedMemberMaxInitialBalance: BalanceOf & AugmentedConst<ApiType>;
- };
- operationsWorkingGroupAlpha: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- operationsWorkingGroupBeta: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- operationsWorkingGroupGamma: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- proposalsCodex: {
-
- runtimeUpgradeWasmProposalMaxLength: u32 & AugmentedConst<ApiType>;
-
- textProposalMaxLength: u32 & AugmentedConst<ApiType>;
- };
- proposalsDiscussion: {
-
- maxPostEditionNumber: u32 & AugmentedConst<ApiType>;
-
- maxThreadInARowNumber: u32 & AugmentedConst<ApiType>;
-
- postLengthLimit: u32 & AugmentedConst<ApiType>;
-
- threadTitleLengthLimit: u32 & AugmentedConst<ApiType>;
- };
- proposalsEngine: {
-
- cancellationFee: BalanceOf & AugmentedConst<ApiType>;
-
- descriptionMaxLength: u32 & AugmentedConst<ApiType>;
-
- maxActiveProposalLimit: u32 & AugmentedConst<ApiType>;
-
- rejectionFee: BalanceOf & AugmentedConst<ApiType>;
-
- titleMaxLength: u32 & AugmentedConst<ApiType>;
- };
- staking: {
-
- bondingDuration: EraIndex & AugmentedConst<ApiType>;
-
- electionLookahead: BlockNumber & AugmentedConst<ApiType>;
-
- maxIterations: u32 & AugmentedConst<ApiType>;
-
- maxNominatorRewardedPerValidator: u32 & AugmentedConst<ApiType>;
-
- minSolutionScoreBump: Perbill & AugmentedConst<ApiType>;
-
- sessionsPerEra: SessionIndex & AugmentedConst<ApiType>;
-
- slashDeferDuration: EraIndex & AugmentedConst<ApiType>;
- };
- storage: {
-
- blacklistSizeLimit: u64 & AugmentedConst<ApiType>;
-
- dataObjectDeletionPrize: BalanceOf & AugmentedConst<ApiType>;
-
- defaultChannelDynamicBagNumberOfStorageBuckets: u64 & AugmentedConst<ApiType>;
-
- defaultMemberDynamicBagNumberOfStorageBuckets: u64 & AugmentedConst<ApiType>;
-
- distributionBucketsPerBagValueConstraint: StorageBucketsPerBagValueConstraint & AugmentedConst<ApiType>;
-
- maxDataObjectSize: u64 & AugmentedConst<ApiType>;
-
- maxDistributionBucketFamilyNumber: u64 & AugmentedConst<ApiType>;
-
- maxDistributionBucketNumberPerFamily: u64 & AugmentedConst<ApiType>;
-
- maxNumberOfPendingInvitationsPerDistributionBucket: u64 & AugmentedConst<ApiType>;
-
- storageBucketsPerBagValueConstraint: StorageBucketsPerBagValueConstraint & AugmentedConst<ApiType>;
- };
- storageWorkingGroup: {
-
- maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
- };
- system: {
-
- blockExecutionWeight: Weight & AugmentedConst<ApiType>;
-
- blockHashCount: BlockNumber & AugmentedConst<ApiType>;
-
- dbWeight: RuntimeDbWeight & AugmentedConst<ApiType>;
-
- extrinsicBaseWeight: Weight & AugmentedConst<ApiType>;
-
- maximumBlockLength: u32 & AugmentedConst<ApiType>;
-
- maximumBlockWeight: Weight & AugmentedConst<ApiType>;
- };
- timestamp: {
-
- minimumPeriod: Moment & AugmentedConst<ApiType>;
- };
- transactionPayment: {
-
- transactionByteFee: BalanceOf & AugmentedConst<ApiType>;
-
- weightToFee: Vec<WeightToFeeCoefficient> & AugmentedConst<ApiType>;
- };
- }
- export interface QueryableConsts<ApiType extends ApiTypes> extends AugmentedConsts<ApiType> {
- }
- }
|