import type { Bytes, Vec, u8 } from '@polkadot/types'; import type { Codec } from '@polkadot/types/types'; import type { Balance, BalanceOf, BlockNumber, Moment, PalletId, RuntimeDbWeight } from '@polkadot/types/interfaces/runtime'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; import type { BlockLength, BlockWeights } from '@polkadot/types/interfaces/system'; import type { ApiTypes } from '@polkadot/api/types'; declare module '@polkadot/api/types/consts' { interface AugmentedConsts { collateral: { /** * The minimum amount required to keep an account open. **/ existentialDeposit: Balance & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; collateralCurrency: { /** * The number of decimals used to represent one unit. **/ decimals: u8 & AugmentedConst; /** * The user-friendly name of the managed currency. **/ name: Bytes & AugmentedConst; /** * The identifier of the currency - e.g. ticker symbol. **/ symbol: Bytes & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; fee: { /** * The fee module id, used for deriving its sovereign account ID. **/ palletId: PalletId & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; system: { /** * Maximum number of block number to block hash mappings to keep (oldest pruned first). **/ blockHashCount: BlockNumber & AugmentedConst; /** * The maximum length of a block (in bytes). **/ blockLength: BlockLength & AugmentedConst; /** * Block & extrinsics weights: base values and limits. **/ blockWeights: BlockWeights & AugmentedConst; /** * The weight of runtime database operations the runtime can invoke. **/ dbWeight: RuntimeDbWeight & AugmentedConst; /** * The designated SS85 prefix of this chain. * * This replaces the "ss58Format" property declared in the chain spec. Reason is * that the runtime should know about the prefix in order to make use of it as * an identifier of the chain. **/ ss58Prefix: u8 & AugmentedConst; /** * Get the chain's current version. **/ version: RuntimeVersion & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; 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; /** * Generic const **/ [key: string]: Codec; }; 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; /** * Generic const **/ [key: string]: Codec; }; vaultRegistry: { /** * The vault module id, used for deriving its sovereign account ID. **/ palletId: PalletId & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; wrapped: { /** * The minimum amount required to keep an account open. **/ existentialDeposit: Balance & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; wrappedCurrency: { /** * The number of decimals used to represent one unit. **/ decimals: u8 & AugmentedConst; /** * The user-friendly name of the managed currency. **/ name: Bytes & AugmentedConst; /** * The identifier of the currency - e.g. ticker symbol. **/ symbol: Bytes & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; } interface QueryableConsts extends AugmentedConsts { [key: string]: QueryableModuleConsts; } }