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