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, XcmV3MultiLocation } 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. MUST BE GREATER THAN ZERO!47 * 48 * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for49 * this pallet. However, you do so at your own risk: this will open up a major DoS vector.50 * In case you have multiple sources of provider references, you may also get unexpected51 * behaviour if you set this to zero.52 * 53 * Bottom line: Do yourself a favour and make it at least one!54 **/55 existentialDeposit: u128 & AugmentedConst<ApiType>;56 /**57 * The maximum number of individual freeze locks that can exist on an account at any time.58 **/59 maxFreezes: u32 & AugmentedConst<ApiType>;60 /**61 * The maximum number of holds that can exist on an account at any time.62 **/63 maxHolds: u32 & AugmentedConst<ApiType>;64 /**65 * The maximum number of locks that should exist on an account.66 * Not strictly enforced, but used for weight estimation.67 **/68 maxLocks: u32 & AugmentedConst<ApiType>;69 /**70 * The maximum number of named reserves that can exist on an account.71 **/72 maxReserves: u32 & AugmentedConst<ApiType>;73 /**74 * Generic const75 **/76 [key: string]: Codec;77 };78 common: {79 /**80 * Maximum admins per collection.81 **/82 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;83 /**84 * Set price to create a collection.85 **/86 collectionCreationPrice: u128 & AugmentedConst<ApiType>;87 /**88 * Address under which the CollectionHelper contract would be available.89 **/90 contractAddress: H160 & AugmentedConst<ApiType>;91 /**92 * Generic const93 **/94 [key: string]: Codec;95 };96 configuration: {97 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;98 dayRelayBlocks: u32 & AugmentedConst<ApiType>;99 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;100 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;101 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;102 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;103 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;104 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;105 /**106 * Generic const107 **/108 [key: string]: Codec;109 };110 evmContractHelpers: {111 /**112 * Address, under which magic contract will be available113 **/114 contractAddress: H160 & AugmentedConst<ApiType>;115 /**116 * Generic const117 **/118 [key: string]: Codec;119 };120 identity: {121 /**122 * The amount held on deposit for a registered identity123 **/124 basicDeposit: u128 & AugmentedConst<ApiType>;125 /**126 * The amount held on deposit per additional field for a registered identity.127 **/128 fieldDeposit: u128 & AugmentedConst<ApiType>;129 /**130 * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O131 * required to access an identity, but can be pretty high.132 **/133 maxAdditionalFields: u32 & AugmentedConst<ApiType>;134 /**135 * Maxmimum number of registrars allowed in the system. Needed to bound the complexity136 * of, e.g., updating judgements.137 **/138 maxRegistrars: u32 & AugmentedConst<ApiType>;139 /**140 * The maximum number of sub-accounts allowed per identified account.141 **/142 maxSubAccounts: u32 & AugmentedConst<ApiType>;143 /**144 * The amount held on deposit for a registered subaccount. This should account for the fact145 * that one storage item's value will increase by the size of an account ID, and there will146 * be another trie item whose value is the size of an account ID plus 32 bytes.147 **/148 subAccountDeposit: u128 & AugmentedConst<ApiType>;149 /**150 * Generic const151 **/152 [key: string]: Codec;153 };154 inflation: {155 /**156 * Number of blocks that pass between treasury balance updates due to inflation157 **/158 inflationBlockInterval: u32 & AugmentedConst<ApiType>;159 /**160 * Generic const161 **/162 [key: string]: Codec;163 };164 system: {165 /**166 * Maximum number of block number to block hash mappings to keep (oldest pruned first).167 **/168 blockHashCount: u32 & AugmentedConst<ApiType>;169 /**170 * The maximum length of a block (in bytes).171 **/172 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;173 /**174 * Block & extrinsics weights: base values and limits.175 **/176 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;177 /**178 * The weight of runtime database operations the runtime can invoke.179 **/180 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;181 /**182 * The designated SS58 prefix of this chain.183 * 184 * This replaces the "ss58Format" property declared in the chain spec. Reason is185 * that the runtime should know about the prefix in order to make use of it as186 * an identifier of the chain.187 **/188 ss58Prefix: u16 & AugmentedConst<ApiType>;189 /**190 * Get the chain's current version.191 **/192 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;193 /**194 * Generic const195 **/196 [key: string]: Codec;197 };198 timestamp: {199 /**200 * The minimum period between blocks. Beware that this is different to the *expected*201 * period that the block production apparatus provides. Your chosen consensus system will202 * generally work with this to determine a sensible block time. e.g. For Aura, it will be203 * double this period on default settings.204 **/205 minimumPeriod: u64 & AugmentedConst<ApiType>;206 /**207 * Generic const208 **/209 [key: string]: Codec;210 };211 tokens: {212 maxLocks: u32 & AugmentedConst<ApiType>;213 /**214 * The maximum number of named reserves that can exist on an account.215 **/216 maxReserves: u32 & AugmentedConst<ApiType>;217 /**218 * Generic const219 **/220 [key: string]: Codec;221 };222 transactionPayment: {223 /**224 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their225 * `priority`226 * 227 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later228 * added to a tip component in regular `priority` calculations.229 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`230 * extrinsic (with no tip), by including a tip value greater than the virtual tip.231 * 232 * ```rust,ignore233 * // For `Normal`234 * let priority = priority_calc(tip);235 * 236 * // For `Operational`237 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;238 * let priority = priority_calc(tip + virtual_tip);239 * ```240 * 241 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`242 * sent with the transaction. So, not only does the transaction get a priority bump based243 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`244 * transactions.245 **/246 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;247 /**248 * Generic const249 **/250 [key: string]: Codec;251 };252 treasury: {253 /**254 * Percentage of spare funds (if any) that are burnt per spend period.255 **/256 burn: Permill & AugmentedConst<ApiType>;257 /**258 * The maximum number of approvals that can wait in the spending queue.259 * 260 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.261 **/262 maxApprovals: u32 & AugmentedConst<ApiType>;263 /**264 * The treasury's pallet id, used for deriving its sovereign account ID.265 **/266 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;267 /**268 * Fraction of a proposal's value that should be bonded in order to place the proposal.269 * An accepted proposal gets these back. A rejected proposal does not.270 **/271 proposalBond: Permill & AugmentedConst<ApiType>;272 /**273 * Maximum amount of funds that should be placed in a deposit for making a proposal.274 **/275 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;276 /**277 * Minimum amount of funds that should be placed in a deposit for making a proposal.278 **/279 proposalBondMinimum: u128 & AugmentedConst<ApiType>;280 /**281 * Period between successive spends.282 **/283 spendPeriod: u32 & AugmentedConst<ApiType>;284 /**285 * Generic const286 **/287 [key: string]: Codec;288 };289 unique: {290 /**291 * Maximum admins per collection.292 **/293 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;294 /**295 * Default FT collection limit.296 **/297 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;298 /**299 * Maximal length of a collection description.300 **/301 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;302 /**303 * Maximal length of a collection name.304 **/305 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;306 /**307 * Maximum size for all collection properties.308 **/309 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;310 /**311 * A maximum number of token properties.312 **/313 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;314 /**315 * Maximal length of a property key.316 **/317 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;318 /**319 * Maximal length of a property value.320 **/321 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;322 /**323 * Maximal length of a token prefix.324 **/325 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;326 /**327 * Maximum size of all token properties.328 **/329 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;330 /**331 * A maximum number of levels of depth in the token nesting tree.332 **/333 nestingBudget: u32 & AugmentedConst<ApiType>;334 /**335 * Default NFT collection limit.336 **/337 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;338 /**339 * Default RFT collection limit.340 **/341 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;342 /**343 * Generic const344 **/345 [key: string]: Codec;346 };347 vesting: {348 /**349 * The minimum amount transferred to call `vested_transfer`.350 **/351 minVestedTransfer: u128 & AugmentedConst<ApiType>;352 /**353 * Generic const354 **/355 [key: string]: Codec;356 };357 xTokens: {358 /**359 * Base XCM weight.360 * 361 * The actually weight for an XCM message is `T::BaseXcmWeight +362 * T::Weigher::weight(&msg)`.363 **/364 baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;365 /**366 * Self chain location.367 **/368 selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;369 /**370 * Generic const371 **/372 [key: string]: Codec;373 };374 } // AugmentedConsts375} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts13.0 KiBsourcehistory