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, XcmV1MultiLocation } 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 system: {70 /**71 * Maximum number of block number to block hash mappings to keep (oldest pruned first).72 **/73 blockHashCount: u32 & AugmentedConst<ApiType>;74 /**75 * The maximum length of a block (in bytes).76 **/77 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;78 /**79 * Block & extrinsics weights: base values and limits.80 **/81 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;82 /**83 * The weight of runtime database operations the runtime can invoke.84 **/85 dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;86 /**87 * The designated SS85 prefix of this chain.88 * 89 * This replaces the "ss58Format" property declared in the chain spec. Reason is90 * that the runtime should know about the prefix in order to make use of it as91 * an identifier of the chain.92 **/93 ss58Prefix: u16 & AugmentedConst<ApiType>;94 /**95 * Get the chain's current version.96 **/97 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;98 /**99 * Generic const100 **/101 [key: string]: Codec;102 };103 timestamp: {104 /**105 * The minimum period between blocks. Beware that this is different to the *expected*106 * period that the block production apparatus provides. Your chosen consensus system will107 * generally work with this to determine a sensible block time. e.g. For Aura, it will be108 * double this period on default settings.109 **/110 minimumPeriod: u64 & AugmentedConst<ApiType>;111 /**112 * Generic const113 **/114 [key: string]: Codec;115 };116 tokens: {117 maxLocks: u32 & AugmentedConst<ApiType>;118 /**119 * The maximum number of named reserves that can exist on an account.120 **/121 maxReserves: u32 & AugmentedConst<ApiType>;122 /**123 * Generic const124 **/125 [key: string]: Codec;126 };127 transactionPayment: {128 /**129 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their130 * `priority`131 * 132 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later133 * added to a tip component in regular `priority` calculations.134 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`135 * extrinsic (with no tip), by including a tip value greater than the virtual tip.136 * 137 * ```rust,ignore138 * // For `Normal`139 * let priority = priority_calc(tip);140 * 141 * // For `Operational`142 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;143 * let priority = priority_calc(tip + virtual_tip);144 * ```145 * 146 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`147 * sent with the transaction. So, not only does the transaction get a priority bump based148 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`149 * transactions.150 **/151 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;152 /**153 * Generic const154 **/155 [key: string]: Codec;156 };157 treasury: {158 /**159 * Percentage of spare funds (if any) that are burnt per spend period.160 **/161 burn: Permill & AugmentedConst<ApiType>;162 /**163 * The maximum number of approvals that can wait in the spending queue.164 * 165 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.166 **/167 maxApprovals: u32 & AugmentedConst<ApiType>;168 /**169 * The treasury's pallet id, used for deriving its sovereign account ID.170 **/171 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;172 /**173 * Fraction of a proposal's value that should be bonded in order to place the proposal.174 * An accepted proposal gets these back. A rejected proposal does not.175 **/176 proposalBond: Permill & AugmentedConst<ApiType>;177 /**178 * Maximum amount of funds that should be placed in a deposit for making a proposal.179 **/180 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;181 /**182 * Minimum amount of funds that should be placed in a deposit for making a proposal.183 **/184 proposalBondMinimum: u128 & AugmentedConst<ApiType>;185 /**186 * Period between successive spends.187 **/188 spendPeriod: u32 & AugmentedConst<ApiType>;189 /**190 * Generic const191 **/192 [key: string]: Codec;193 };194 vesting: {195 /**196 * The minimum amount transferred to call `vested_transfer`.197 **/198 minVestedTransfer: u128 & AugmentedConst<ApiType>;199 /**200 * Generic const201 **/202 [key: string]: Codec;203 };204 xTokens: {205 /**206 * Base XCM weight.207 * 208 * The actually weight for an XCM message is `T::BaseXcmWeight +209 * T::Weigher::weight(&msg)`.210 **/211 baseXcmWeight: u64 & AugmentedConst<ApiType>;212 /**213 * Self chain location.214 **/215 selfLocation: XcmV1MultiLocation & AugmentedConst<ApiType>;216 /**217 * Generic const218 **/219 [key: string]: Codec;220 };221 } // AugmentedConsts222} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts7.5 KiBsourcehistory