1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/consts';78import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';9import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec } from '@polkadot/types-codec/types';11import type { Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';1314export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;1516declare module '@polkadot/api-base/types/consts' {17 interface AugmentedConsts<ApiType extends ApiTypes> {18 balances: {19 /**20 * The minimum amount required to keep an account open.21 **/22 existentialDeposit: u128 & AugmentedConst<ApiType>;23 /**24 * The maximum number of locks that should exist on an account.25 * Not strictly enforced, but used for weight estimation.26 **/27 maxLocks: u32 & AugmentedConst<ApiType>;28 /**29 * The maximum number of named reserves that can exist on an account.30 **/31 maxReserves: u32 & AugmentedConst<ApiType>;32 /**33 * Generic const34 **/35 [key: string]: Codec;36 };37 common: {38 /**39 * Maximum admins per collection.40 **/41 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;42 /**43 * Set price to create a collection.44 **/45 collectionCreationPrice: u128 & AugmentedConst<ApiType>;46 /**47 * Generic const48 **/49 [key: string]: Codec;50 };51 configuration: {52 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;53 defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;54 /**55 * Generic const56 **/57 [key: string]: Codec;58 };59 inflation: {60 /**61 * Number of blocks that pass between treasury balance updates due to inflation62 **/63 inflationBlockInterval: u32 & AugmentedConst<ApiType>;64 /**65 * Generic const66 **/67 [key: string]: Codec;68 };69 scheduler: {70 /**71 * The maximum weight that may be scheduled per block for any dispatchables of less72 * priority than `schedule::HARD_DEADLINE`.73 **/74 maximumWeight: u64 & AugmentedConst<ApiType>;75 /**76 * The maximum number of scheduled calls in the queue for a single block.77 * Not strictly enforced, but used for weight estimation.78 **/79 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;80 /**81 * Generic const82 **/83 [key: string]: Codec;84 };85 system: {86 /**87 * Maximum number of block number to block hash mappings to keep (oldest pruned first).88 **/89 blockHashCount: u32 & AugmentedConst<ApiType>;90 /**91 * The maximum length of a block (in bytes).92 **/93 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;94 /**95 * Block & extrinsics weights: base values and limits.96 **/97 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;98 /**99 * The weight of runtime database operations the runtime can invoke.100 **/101 dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;102 /**103 * The designated SS85 prefix of this chain.104 * 105 * This replaces the "ss58Format" property declared in the chain spec. Reason is106 * that the runtime should know about the prefix in order to make use of it as107 * an identifier of the chain.108 **/109 ss58Prefix: u16 & AugmentedConst<ApiType>;110 /**111 * Get the chain's current version.112 **/113 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;114 /**115 * Generic const116 **/117 [key: string]: Codec;118 };119 timestamp: {120 /**121 * The minimum period between blocks. Beware that this is different to the *expected*122 * period that the block production apparatus provides. Your chosen consensus system will123 * generally work with this to determine a sensible block time. e.g. For Aura, it will be124 * double this period on default settings.125 **/126 minimumPeriod: u64 & AugmentedConst<ApiType>;127 /**128 * Generic const129 **/130 [key: string]: Codec;131 };132 transactionPayment: {133 /**134 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their135 * `priority`136 * 137 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later138 * added to a tip component in regular `priority` calculations.139 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`140 * extrinsic (with no tip), by including a tip value greater than the virtual tip.141 * 142 * ```rust,ignore143 * // For `Normal`144 * let priority = priority_calc(tip);145 * 146 * // For `Operational`147 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;148 * let priority = priority_calc(tip + virtual_tip);149 * ```150 * 151 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`152 * sent with the transaction. So, not only does the transaction get a priority bump based153 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`154 * transactions.155 **/156 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;157 /**158 * Generic const159 **/160 [key: string]: Codec;161 };162 treasury: {163 /**164 * Percentage of spare funds (if any) that are burnt per spend period.165 **/166 burn: Permill & AugmentedConst<ApiType>;167 /**168 * The maximum number of approvals that can wait in the spending queue.169 * 170 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.171 **/172 maxApprovals: u32 & AugmentedConst<ApiType>;173 /**174 * The treasury's pallet id, used for deriving its sovereign account ID.175 **/176 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;177 /**178 * Fraction of a proposal's value that should be bonded in order to place the proposal.179 * An accepted proposal gets these back. A rejected proposal does not.180 **/181 proposalBond: Permill & AugmentedConst<ApiType>;182 /**183 * Maximum amount of funds that should be placed in a deposit for making a proposal.184 **/185 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;186 /**187 * Minimum amount of funds that should be placed in a deposit for making a proposal.188 **/189 proposalBondMinimum: u128 & AugmentedConst<ApiType>;190 /**191 * Period between successive spends.192 **/193 spendPeriod: u32 & AugmentedConst<ApiType>;194 /**195 * Generic const196 **/197 [key: string]: Codec;198 };199 vesting: {200 /**201 * The minimum amount transferred to call `vested_transfer`.202 **/203 minVestedTransfer: u128 & AugmentedConst<ApiType>;204 /**205 * Generic const206 **/207 [key: string]: Codec;208 };209 } // AugmentedConsts210} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts7.3 KiBsourcehistory