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 { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, 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 appPromotion: {19 /**20 * Rate of return for interval in blocks defined in `RecalculationInterval`.21 **/22 intervalIncome: Perbill & AugmentedConst<ApiType>;23 /**24 * Decimals for the `Currency`.25 **/26 nominal: u128 & AugmentedConst<ApiType>;27 /**28 * The app's pallet id, used for deriving its sovereign account address.29 **/30 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;31 /**32 * In parachain blocks.33 **/34 pendingInterval: u32 & AugmentedConst<ApiType>;35 /**36 * In relay blocks.37 **/38 recalculationInterval: u32 & AugmentedConst<ApiType>;39 /**40 * Generic const41 **/42 [key: string]: Codec;43 };44 balances: {45 /**46 * The minimum amount required to keep an account open.47 **/48 existentialDeposit: u128 & AugmentedConst<ApiType>;49 /**50 * The maximum number of locks that should exist on an account.51 * Not strictly enforced, but used for weight estimation.52 **/53 maxLocks: u32 & AugmentedConst<ApiType>;54 /**55 * The maximum number of named reserves that can exist on an account.56 **/57 maxReserves: u32 & AugmentedConst<ApiType>;58 /**59 * Generic const60 **/61 [key: string]: Codec;62 };63 common: {64 /**65 * Maximum admins per collection.66 **/67 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;68 /**69 * Set price to create a collection.70 **/71 collectionCreationPrice: u128 & AugmentedConst<ApiType>;72 /**73 * Address under which the CollectionHelper contract would be available.74 **/75 contractAddress: H160 & AugmentedConst<ApiType>;76 /**77 * Generic const78 **/79 [key: string]: Codec;80 };81 configuration: {82 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;83 dayRelayBlocks: u32 & AugmentedConst<ApiType>;84 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;85 defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;86 maxOverridedAllowedLocations: u32 & AugmentedConst<ApiType>;87 /**88 * Generic const89 **/90 [key: string]: Codec;91 };92 evmContractHelpers: {93 /**94 * Address, under which magic contract will be available95 **/96 contractAddress: H160 & AugmentedConst<ApiType>;97 /**98 * Generic const99 **/100 [key: string]: Codec;101 };102 inflation: {103 /**104 * Number of blocks that pass between treasury balance updates due to inflation105 **/106 inflationBlockInterval: u32 & AugmentedConst<ApiType>;107 /**108 * Generic const109 **/110 [key: string]: Codec;111 };112 scheduler: {113 /**114 * The maximum weight that may be scheduled per block for any dispatchables.115 **/116 maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;117 /**118 * The maximum number of scheduled calls in the queue for a single block.119 **/120 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;121 /**122 * Generic const123 **/124 [key: string]: Codec;125 };126 system: {127 /**128 * Maximum number of block number to block hash mappings to keep (oldest pruned first).129 **/130 blockHashCount: u32 & AugmentedConst<ApiType>;131 /**132 * The maximum length of a block (in bytes).133 **/134 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;135 /**136 * Block & extrinsics weights: base values and limits.137 **/138 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;139 /**140 * The weight of runtime database operations the runtime can invoke.141 **/142 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;143 /**144 * The designated SS58 prefix of this chain.145 * 146 * This replaces the "ss58Format" property declared in the chain spec. Reason is147 * that the runtime should know about the prefix in order to make use of it as148 * an identifier of the chain.149 **/150 ss58Prefix: u16 & AugmentedConst<ApiType>;151 /**152 * Get the chain's current version.153 **/154 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;155 /**156 * Generic const157 **/158 [key: string]: Codec;159 };160 timestamp: {161 /**162 * The minimum period between blocks. Beware that this is different to the *expected*163 * period that the block production apparatus provides. Your chosen consensus system will164 * generally work with this to determine a sensible block time. e.g. For Aura, it will be165 * double this period on default settings.166 **/167 minimumPeriod: u64 & AugmentedConst<ApiType>;168 /**169 * Generic const170 **/171 [key: string]: Codec;172 };173 tokens: {174 maxLocks: u32 & AugmentedConst<ApiType>;175 /**176 * The maximum number of named reserves that can exist on an account.177 **/178 maxReserves: u32 & AugmentedConst<ApiType>;179 /**180 * Generic const181 **/182 [key: string]: Codec;183 };184 transactionPayment: {185 /**186 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their187 * `priority`188 * 189 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later190 * added to a tip component in regular `priority` calculations.191 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`192 * extrinsic (with no tip), by including a tip value greater than the virtual tip.193 * 194 * ```rust,ignore195 * // For `Normal`196 * let priority = priority_calc(tip);197 * 198 * // For `Operational`199 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;200 * let priority = priority_calc(tip + virtual_tip);201 * ```202 * 203 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`204 * sent with the transaction. So, not only does the transaction get a priority bump based205 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`206 * transactions.207 **/208 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;209 /**210 * Generic const211 **/212 [key: string]: Codec;213 };214 treasury: {215 /**216 * Percentage of spare funds (if any) that are burnt per spend period.217 **/218 burn: Permill & AugmentedConst<ApiType>;219 /**220 * The maximum number of approvals that can wait in the spending queue.221 * 222 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.223 **/224 maxApprovals: u32 & AugmentedConst<ApiType>;225 /**226 * The treasury's pallet id, used for deriving its sovereign account ID.227 **/228 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;229 /**230 * Fraction of a proposal's value that should be bonded in order to place the proposal.231 * An accepted proposal gets these back. A rejected proposal does not.232 **/233 proposalBond: Permill & AugmentedConst<ApiType>;234 /**235 * Maximum amount of funds that should be placed in a deposit for making a proposal.236 **/237 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;238 /**239 * Minimum amount of funds that should be placed in a deposit for making a proposal.240 **/241 proposalBondMinimum: u128 & AugmentedConst<ApiType>;242 /**243 * Period between successive spends.244 **/245 spendPeriod: u32 & AugmentedConst<ApiType>;246 /**247 * Generic const248 **/249 [key: string]: Codec;250 };251 unique: {252 /**253 * Maximum admins per collection.254 **/255 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;256 /**257 * Default FT collection limit.258 **/259 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;260 /**261 * Maximal length of a collection description.262 **/263 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;264 /**265 * Maximal length of a collection name.266 **/267 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;268 /**269 * Maximum size for all collection properties.270 **/271 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;272 /**273 * A maximum number of token properties.274 **/275 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;276 /**277 * Maximal length of a property key.278 **/279 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;280 /**281 * Maximal length of a property value.282 **/283 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;284 /**285 * Maximal length of a token prefix.286 **/287 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;288 /**289 * Maximum size of all token properties.290 **/291 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;292 /**293 * A maximum number of levels of depth in the token nesting tree.294 **/295 nestingBudget: u32 & AugmentedConst<ApiType>;296 /**297 * Default NFT collection limit.298 **/299 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;300 /**301 * Default RFT collection limit.302 **/303 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;304 /**305 * Generic const306 **/307 [key: string]: Codec;308 };309 vesting: {310 /**311 * The minimum amount transferred to call `vested_transfer`.312 **/313 minVestedTransfer: u128 & AugmentedConst<ApiType>;314 /**315 * Generic const316 **/317 [key: string]: Codec;318 };319 xTokens: {320 /**321 * Base XCM weight.322 * 323 * The actually weight for an XCM message is `T::BaseXcmWeight +324 * T::Weigher::weight(&msg)`.325 **/326 baseXcmWeight: u64 & AugmentedConst<ApiType>;327 /**328 * Self chain location.329 **/330 selfLocation: XcmV1MultiLocation & AugmentedConst<ApiType>;331 /**332 * Generic const333 **/334 [key: string]: Codec;335 };336 } // AugmentedConsts337} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts11.1 KiBsourcehistory