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, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { Codec, ITuple } from '@polkadot/types-codec/types';11import type { H160, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, UpDataStructsCollectionLimits } 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 * Freeze identifier used by the pallet21 **/22 freezeIdentifier: U8aFixed & AugmentedConst<ApiType>;23 /**24 * Rate of return for interval in blocks defined in `RecalculationInterval`.25 **/26 intervalIncome: Perbill & AugmentedConst<ApiType>;27 /**28 * Decimals for the `Currency`.29 **/30 nominal: u128 & AugmentedConst<ApiType>;31 /**32 * The app's pallet id, used for deriving its sovereign account address.33 **/34 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;35 /**36 * In parachain blocks.37 **/38 pendingInterval: u32 & AugmentedConst<ApiType>;39 /**40 * In relay blocks.41 **/42 recalculationInterval: u32 & AugmentedConst<ApiType>;43 /**44 * Generic const45 **/46 [key: string]: Codec;47 };48 balances: {49 /**50 * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!51 * 52 * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for53 * this pallet. However, you do so at your own risk: this will open up a major DoS vector.54 * In case you have multiple sources of provider references, you may also get unexpected55 * behaviour if you set this to zero.56 * 57 * Bottom line: Do yourself a favour and make it at least one!58 **/59 existentialDeposit: u128 & AugmentedConst<ApiType>;60 /**61 * The maximum number of individual freeze locks that can exist on an account at any time.62 **/63 maxFreezes: u32 & AugmentedConst<ApiType>;64 /**65 * The maximum number of holds that can exist on an account at any time.66 **/67 maxHolds: u32 & AugmentedConst<ApiType>;68 /**69 * The maximum number of locks that should exist on an account.70 * Not strictly enforced, but used for weight estimation.71 **/72 maxLocks: u32 & AugmentedConst<ApiType>;73 /**74 * The maximum number of named reserves that can exist on an account.75 **/76 maxReserves: u32 & AugmentedConst<ApiType>;77 /**78 * Generic const79 **/80 [key: string]: Codec;81 };82 common: {83 /**84 * Maximum admins per collection.85 **/86 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;87 /**88 * Set price to create a collection.89 **/90 collectionCreationPrice: u128 & AugmentedConst<ApiType>;91 /**92 * Address under which the CollectionHelper contract would be available.93 **/94 contractAddress: H160 & AugmentedConst<ApiType>;95 /**96 * Generic const97 **/98 [key: string]: Codec;99 };100 configuration: {101 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;102 dayRelayBlocks: u32 & AugmentedConst<ApiType>;103 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;104 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;105 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;106 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;107 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;108 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;109 /**110 * Generic const111 **/112 [key: string]: Codec;113 };114 council: {115 /**116 * The maximum weight of a dispatch call that can be proposed and executed.117 **/118 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;119 /**120 * Generic const121 **/122 [key: string]: Codec;123 };124 democracy: {125 /**126 * Period in blocks where an external proposal may not be re-submitted after being vetoed.127 **/128 cooloffPeriod: u32 & AugmentedConst<ApiType>;129 /**130 * The period between a proposal being approved and enacted.131 * 132 * It should generally be a little more than the unstake period to ensure that133 * voting stakers have an opportunity to remove themselves from the system in the case134 * where they are on the losing side of a vote.135 **/136 enactmentPeriod: u32 & AugmentedConst<ApiType>;137 /**138 * Minimum voting period allowed for a fast-track referendum.139 **/140 fastTrackVotingPeriod: u32 & AugmentedConst<ApiType>;141 /**142 * Indicator for whether an emergency origin is even allowed to happen. Some chains may143 * want to set this permanently to `false`, others may want to condition it on things such144 * as an upgrade having happened recently.145 **/146 instantAllowed: bool & AugmentedConst<ApiType>;147 /**148 * How often (in blocks) new public referenda are launched.149 **/150 launchPeriod: u32 & AugmentedConst<ApiType>;151 /**152 * The maximum number of items which can be blacklisted.153 **/154 maxBlacklisted: u32 & AugmentedConst<ApiType>;155 /**156 * The maximum number of deposits a public proposal may have at any time.157 **/158 maxDeposits: u32 & AugmentedConst<ApiType>;159 /**160 * The maximum number of public proposals that can exist at any time.161 **/162 maxProposals: u32 & AugmentedConst<ApiType>;163 /**164 * The maximum number of votes for an account.165 * 166 * Also used to compute weight, an overly big value can167 * lead to extrinsic with very big weight: see `delegate` for instance.168 **/169 maxVotes: u32 & AugmentedConst<ApiType>;170 /**171 * The minimum amount to be used as a deposit for a public referendum proposal.172 **/173 minimumDeposit: u128 & AugmentedConst<ApiType>;174 /**175 * The minimum period of vote locking.176 * 177 * It should be no shorter than enactment period to ensure that in the case of an approval,178 * those successful voters are locked into the consequences that their votes entail.179 **/180 voteLockingPeriod: u32 & AugmentedConst<ApiType>;181 /**182 * How often (in blocks) to check for new votes.183 **/184 votingPeriod: u32 & AugmentedConst<ApiType>;185 /**186 * Generic const187 **/188 [key: string]: Codec;189 };190 evmContractHelpers: {191 /**192 * Address, under which magic contract will be available193 **/194 contractAddress: H160 & AugmentedConst<ApiType>;195 /**196 * Generic const197 **/198 [key: string]: Codec;199 };200 fellowshipReferenda: {201 /**202 * Quantization level for the referendum wakeup scheduler. A higher number will result in203 * fewer storage reads/writes needed for smaller voters, but also result in delays to the204 * automatic referendum status changes. Explicit servicing instructions are unaffected.205 **/206 alarmInterval: u32 & AugmentedConst<ApiType>;207 /**208 * Maximum size of the referendum queue for a single track.209 **/210 maxQueued: u32 & AugmentedConst<ApiType>;211 /**212 * The minimum amount to be used as a deposit for a public referendum proposal.213 **/214 submissionDeposit: u128 & AugmentedConst<ApiType>;215 /**216 * Information concerning the different referendum tracks.217 **/218 tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;219 /**220 * The number of blocks after submission that a referendum must begin being decided by.221 * Once this passes, then anyone may cancel the referendum.222 **/223 undecidingTimeout: u32 & AugmentedConst<ApiType>;224 /**225 * Generic const226 **/227 [key: string]: Codec;228 };229 identity: {230 /**231 * The amount held on deposit for a registered identity232 **/233 basicDeposit: u128 & AugmentedConst<ApiType>;234 /**235 * The amount held on deposit per additional field for a registered identity.236 **/237 fieldDeposit: u128 & AugmentedConst<ApiType>;238 /**239 * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O240 * required to access an identity, but can be pretty high.241 **/242 maxAdditionalFields: u32 & AugmentedConst<ApiType>;243 /**244 * Maxmimum number of registrars allowed in the system. Needed to bound the complexity245 * of, e.g., updating judgements.246 **/247 maxRegistrars: u32 & AugmentedConst<ApiType>;248 /**249 * The maximum number of sub-accounts allowed per identified account.250 **/251 maxSubAccounts: u32 & AugmentedConst<ApiType>;252 /**253 * The amount held on deposit for a registered subaccount. This should account for the fact254 * that one storage item's value will increase by the size of an account ID, and there will255 * be another trie item whose value is the size of an account ID plus 32 bytes.256 **/257 subAccountDeposit: u128 & AugmentedConst<ApiType>;258 /**259 * Generic const260 **/261 [key: string]: Codec;262 };263 inflation: {264 /**265 * Number of blocks that pass between treasury balance updates due to inflation266 **/267 inflationBlockInterval: u32 & AugmentedConst<ApiType>;268 /**269 * Generic const270 **/271 [key: string]: Codec;272 };273 scheduler: {274 /**275 * The maximum weight that may be scheduled per block for any dispatchables.276 **/277 maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;278 /**279 * The maximum number of scheduled calls in the queue for a single block.280 * 281 * NOTE:282 * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a283 * higher limit under `runtime-benchmarks` feature.284 **/285 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;286 /**287 * Generic const288 **/289 [key: string]: Codec;290 };291 stateTrieMigration: {292 /**293 * Maximal number of bytes that a key can have.294 * 295 * FRAME itself does not limit the key length.296 * The concrete value must therefore depend on your storage usage.297 * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of298 * keys which are then hashed and concatenated, resulting in arbitrarily long keys.299 * 300 * Use the *state migration RPC* to retrieve the length of the longest key in your301 * storage: <https://github.com/paritytech/substrate/issues/11642>302 * 303 * The migration will halt with a `Halted` event if this value is too small.304 * Since there is no real penalty from over-estimating, it is advised to use a large305 * value. The default is 512 byte.306 * 307 * Some key lengths for reference:308 * - [`frame_support::storage::StorageValue`]: 32 byte309 * - [`frame_support::storage::StorageMap`]: 64 byte310 * - [`frame_support::storage::StorageDoubleMap`]: 96 byte311 * 312 * For more info see313 * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>314 **/315 maxKeyLen: u32 & AugmentedConst<ApiType>;316 /**317 * Generic const318 **/319 [key: string]: Codec;320 };321 system: {322 /**323 * Maximum number of block number to block hash mappings to keep (oldest pruned first).324 **/325 blockHashCount: u32 & AugmentedConst<ApiType>;326 /**327 * The maximum length of a block (in bytes).328 **/329 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;330 /**331 * Block & extrinsics weights: base values and limits.332 **/333 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;334 /**335 * The weight of runtime database operations the runtime can invoke.336 **/337 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;338 /**339 * The designated SS58 prefix of this chain.340 * 341 * This replaces the "ss58Format" property declared in the chain spec. Reason is342 * that the runtime should know about the prefix in order to make use of it as343 * an identifier of the chain.344 **/345 ss58Prefix: u16 & AugmentedConst<ApiType>;346 /**347 * Get the chain's current version.348 **/349 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;350 /**351 * Generic const352 **/353 [key: string]: Codec;354 };355 technicalCommittee: {356 /**357 * The maximum weight of a dispatch call that can be proposed and executed.358 **/359 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;360 /**361 * Generic const362 **/363 [key: string]: Codec;364 };365 timestamp: {366 /**367 * The minimum period between blocks. Beware that this is different to the *expected*368 * period that the block production apparatus provides. Your chosen consensus system will369 * generally work with this to determine a sensible block time. e.g. For Aura, it will be370 * double this period on default settings.371 **/372 minimumPeriod: u64 & AugmentedConst<ApiType>;373 /**374 * Generic const375 **/376 [key: string]: Codec;377 };378 tokens: {379 maxLocks: u32 & AugmentedConst<ApiType>;380 /**381 * The maximum number of named reserves that can exist on an account.382 **/383 maxReserves: u32 & AugmentedConst<ApiType>;384 /**385 * Generic const386 **/387 [key: string]: Codec;388 };389 transactionPayment: {390 /**391 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their392 * `priority`393 * 394 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later395 * added to a tip component in regular `priority` calculations.396 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`397 * extrinsic (with no tip), by including a tip value greater than the virtual tip.398 * 399 * ```rust,ignore400 * // For `Normal`401 * let priority = priority_calc(tip);402 * 403 * // For `Operational`404 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;405 * let priority = priority_calc(tip + virtual_tip);406 * ```407 * 408 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`409 * sent with the transaction. So, not only does the transaction get a priority bump based410 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`411 * transactions.412 **/413 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;414 /**415 * Generic const416 **/417 [key: string]: Codec;418 };419 treasury: {420 /**421 * Percentage of spare funds (if any) that are burnt per spend period.422 **/423 burn: Permill & AugmentedConst<ApiType>;424 /**425 * The maximum number of approvals that can wait in the spending queue.426 * 427 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.428 **/429 maxApprovals: u32 & AugmentedConst<ApiType>;430 /**431 * The treasury's pallet id, used for deriving its sovereign account ID.432 **/433 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;434 /**435 * Fraction of a proposal's value that should be bonded in order to place the proposal.436 * An accepted proposal gets these back. A rejected proposal does not.437 **/438 proposalBond: Permill & AugmentedConst<ApiType>;439 /**440 * Maximum amount of funds that should be placed in a deposit for making a proposal.441 **/442 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;443 /**444 * Minimum amount of funds that should be placed in a deposit for making a proposal.445 **/446 proposalBondMinimum: u128 & AugmentedConst<ApiType>;447 /**448 * Period between successive spends.449 **/450 spendPeriod: u32 & AugmentedConst<ApiType>;451 /**452 * Generic const453 **/454 [key: string]: Codec;455 };456 unique: {457 /**458 * Maximum admins per collection.459 **/460 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;461 /**462 * Default FT collection limit.463 **/464 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;465 /**466 * Maximal length of a collection description.467 **/468 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;469 /**470 * Maximal length of a collection name.471 **/472 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;473 /**474 * Maximum size for all collection properties.475 **/476 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;477 /**478 * A maximum number of token properties.479 **/480 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;481 /**482 * Maximal length of a property key.483 **/484 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;485 /**486 * Maximal length of a property value.487 **/488 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;489 /**490 * Maximal length of a token prefix.491 **/492 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;493 /**494 * Maximum size of all token properties.495 **/496 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;497 /**498 * A maximum number of levels of depth in the token nesting tree.499 **/500 nestingBudget: u32 & AugmentedConst<ApiType>;501 /**502 * Default NFT collection limit.503 **/504 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;505 /**506 * Default RFT collection limit.507 **/508 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;509 /**510 * Generic const511 **/512 [key: string]: Codec;513 };514 utility: {515 /**516 * The limit on the number of batched calls.517 **/518 batchedCallsLimit: u32 & AugmentedConst<ApiType>;519 /**520 * Generic const521 **/522 [key: string]: Codec;523 };524 vesting: {525 /**526 * The minimum amount transferred to call `vested_transfer`.527 **/528 minVestedTransfer: u128 & AugmentedConst<ApiType>;529 /**530 * Generic const531 **/532 [key: string]: Codec;533 };534 xTokens: {535 /**536 * Base XCM weight.537 * 538 * The actually weight for an XCM message is `T::BaseXcmWeight +539 * T::Weigher::weight(&msg)`.540 **/541 baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;542 /**543 * Self chain location.544 **/545 selfLocation: StagingXcmV3MultiLocation & AugmentedConst<ApiType>;546 /**547 * Generic const548 **/549 [key: string]: Codec;550 };551 } // AugmentedConsts552} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts19.4 KiBsourcehistory