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 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;33 collectionCreationPrice: u128 & AugmentedConst<ApiType>;34 /**35 * Generic const36 **/37 [key: string]: Codec;38 };39 inflation: {40 /**41 * Number of blocks that pass between treasury balance updates due to inflation42 **/43 inflationBlockInterval: u32 & AugmentedConst<ApiType>;44 /**45 * Generic const46 **/47 [key: string]: Codec;48 };49 scheduler: {50 /**51 * The maximum weight that may be scheduled per block for any dispatchables of less52 * priority than `schedule::HARD_DEADLINE`.53 **/54 maximumWeight: u64 & AugmentedConst<ApiType>;55 /**56 * The maximum number of scheduled calls in the queue for a single block.57 * Not strictly enforced, but used for weight estimation.58 **/59 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;60 /**61 * Generic const62 **/63 [key: string]: Codec;64 };65 system: {66 /**67 * Maximum number of block number to block hash mappings to keep (oldest pruned first).68 **/69 blockHashCount: u32 & AugmentedConst<ApiType>;70 /**71 * The maximum length of a block (in bytes).72 **/73 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;74 /**75 * Block & extrinsics weights: base values and limits.76 **/77 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;78 /**79 * The weight of runtime database operations the runtime can invoke.80 **/81 dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;82 /**83 * The designated SS85 prefix of this chain.84 * 85 * This replaces the "ss58Format" property declared in the chain spec. Reason is86 * that the runtime should know about the prefix in order to make use of it as87 * an identifier of the chain.88 **/89 ss58Prefix: u16 & AugmentedConst<ApiType>;90 /**91 * Get the chain's current version.92 **/93 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;94 /**95 * Generic const96 **/97 [key: string]: Codec;98 };99 timestamp: {100 /**101 * The minimum period between blocks. Beware that this is different to the *expected*102 * period that the block production apparatus provides. Your chosen consensus system will103 * generally work with this to determine a sensible block time. e.g. For Aura, it will be104 * double this period on default settings.105 **/106 minimumPeriod: u64 & AugmentedConst<ApiType>;107 /**108 * Generic const109 **/110 [key: string]: Codec;111 };112 transactionPayment: {113 /**114 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their115 * `priority`116 * 117 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later118 * added to a tip component in regular `priority` calculations.119 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`120 * extrinsic (with no tip), by including a tip value greater than the virtual tip.121 * 122 * ```rust,ignore123 * // For `Normal`124 * let priority = priority_calc(tip);125 * 126 * // For `Operational`127 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;128 * let priority = priority_calc(tip + virtual_tip);129 * ```130 * 131 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`132 * sent with the transaction. So, not only does the transaction get a priority bump based133 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`134 * transactions.135 **/136 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;137 /**138 * Generic const139 **/140 [key: string]: Codec;141 };142 treasury: {143 /**144 * Percentage of spare funds (if any) that are burnt per spend period.145 **/146 burn: Permill & AugmentedConst<ApiType>;147 /**148 * The maximum number of approvals that can wait in the spending queue.149 * 150 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.151 **/152 maxApprovals: u32 & AugmentedConst<ApiType>;153 /**154 * The treasury's pallet id, used for deriving its sovereign account ID.155 **/156 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;157 /**158 * Fraction of a proposal's value that should be bonded in order to place the proposal.159 * An accepted proposal gets these back. A rejected proposal does not.160 **/161 proposalBond: Permill & AugmentedConst<ApiType>;162 /**163 * Maximum amount of funds that should be placed in a deposit for making a proposal.164 **/165 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;166 /**167 * Minimum amount of funds that should be placed in a deposit for making a proposal.168 **/169 proposalBondMinimum: u128 & AugmentedConst<ApiType>;170 /**171 * Period between successive spends.172 **/173 spendPeriod: u32 & AugmentedConst<ApiType>;174 /**175 * Generic const176 **/177 [key: string]: Codec;178 };179 vesting: {180 /**181 * The minimum amount transferred to call `vested_transfer`.182 **/183 minVestedTransfer: u128 & AugmentedConst<ApiType>;184 /**185 * Generic const186 **/187 [key: string]: Codec;188 };189 } // AugmentedConsts190} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts6.7 KiBsourcehistory