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, 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 * 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 collatorSelection: {83 licenceBondIdentifier: U8aFixed & AugmentedConst<ApiType>;84 /**85 * Generic const86 **/87 [key: string]: Codec;88 };89 common: {90 /**91 * Maximum admins per collection.92 **/93 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;94 /**95 * Set price to create a collection.96 **/97 collectionCreationPrice: u128 & AugmentedConst<ApiType>;98 /**99 * Address under which the CollectionHelper contract would be available.100 **/101 contractAddress: H160 & AugmentedConst<ApiType>;102 /**103 * Generic const104 **/105 [key: string]: Codec;106 };107 configuration: {108 appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;109 dayRelayBlocks: u32 & AugmentedConst<ApiType>;110 defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;111 defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;112 defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;113 defaultMinGasPrice: u64 & AugmentedConst<ApiType>;114 defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;115 maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;116 /**117 * Generic const118 **/119 [key: string]: Codec;120 };121 council: {122 /**123 * The maximum weight of a dispatch call that can be proposed and executed.124 **/125 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;126 /**127 * Generic const128 **/129 [key: string]: Codec;130 };131 democracy: {132 /**133 * Period in blocks where an external proposal may not be re-submitted after being vetoed.134 **/135 cooloffPeriod: u32 & AugmentedConst<ApiType>;136 /**137 * The period between a proposal being approved and enacted.138 * 139 * It should generally be a little more than the unstake period to ensure that140 * voting stakers have an opportunity to remove themselves from the system in the case141 * where they are on the losing side of a vote.142 **/143 enactmentPeriod: u32 & AugmentedConst<ApiType>;144 /**145 * Minimum voting period allowed for a fast-track referendum.146 **/147 fastTrackVotingPeriod: u32 & AugmentedConst<ApiType>;148 /**149 * Indicator for whether an emergency origin is even allowed to happen. Some chains may150 * want to set this permanently to `false`, others may want to condition it on things such151 * as an upgrade having happened recently.152 **/153 instantAllowed: bool & AugmentedConst<ApiType>;154 /**155 * How often (in blocks) new public referenda are launched.156 **/157 launchPeriod: u32 & AugmentedConst<ApiType>;158 /**159 * The maximum number of items which can be blacklisted.160 **/161 maxBlacklisted: u32 & AugmentedConst<ApiType>;162 /**163 * The maximum number of deposits a public proposal may have at any time.164 **/165 maxDeposits: u32 & AugmentedConst<ApiType>;166 /**167 * The maximum number of public proposals that can exist at any time.168 **/169 maxProposals: u32 & AugmentedConst<ApiType>;170 /**171 * The maximum number of votes for an account.172 * 173 * Also used to compute weight, an overly big value can174 * lead to extrinsic with very big weight: see `delegate` for instance.175 **/176 maxVotes: u32 & AugmentedConst<ApiType>;177 /**178 * The minimum amount to be used as a deposit for a public referendum proposal.179 **/180 minimumDeposit: u128 & AugmentedConst<ApiType>;181 /**182 * The minimum period of vote locking.183 * 184 * It should be no shorter than enactment period to ensure that in the case of an approval,185 * those successful voters are locked into the consequences that their votes entail.186 **/187 voteLockingPeriod: u32 & AugmentedConst<ApiType>;188 /**189 * How often (in blocks) to check for new votes.190 **/191 votingPeriod: u32 & AugmentedConst<ApiType>;192 /**193 * Generic const194 **/195 [key: string]: Codec;196 };197 evmContractHelpers: {198 /**199 * Address, under which magic contract will be available200 **/201 contractAddress: H160 & AugmentedConst<ApiType>;202 /**203 * Generic const204 **/205 [key: string]: Codec;206 };207 fellowshipReferenda: {208 /**209 * Quantization level for the referendum wakeup scheduler. A higher number will result in210 * fewer storage reads/writes needed for smaller voters, but also result in delays to the211 * automatic referendum status changes. Explicit servicing instructions are unaffected.212 **/213 alarmInterval: u32 & AugmentedConst<ApiType>;214 /**215 * Maximum size of the referendum queue for a single track.216 **/217 maxQueued: u32 & AugmentedConst<ApiType>;218 /**219 * The minimum amount to be used as a deposit for a public referendum proposal.220 **/221 submissionDeposit: u128 & AugmentedConst<ApiType>;222 /**223 * Information concerning the different referendum tracks.224 **/225 tracks: Vec<ITuple<[u16, PalletReferendaTrackInfo]>> & AugmentedConst<ApiType>;226 /**227 * The number of blocks after submission that a referendum must begin being decided by.228 * Once this passes, then anyone may cancel the referendum.229 **/230 undecidingTimeout: u32 & AugmentedConst<ApiType>;231 /**232 * Generic const233 **/234 [key: string]: Codec;235 };236 identity: {237 /**238 * The amount held on deposit for a registered identity239 **/240 basicDeposit: u128 & AugmentedConst<ApiType>;241 /**242 * The amount held on deposit per additional field for a registered identity.243 **/244 fieldDeposit: u128 & AugmentedConst<ApiType>;245 /**246 * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O247 * required to access an identity, but can be pretty high.248 **/249 maxAdditionalFields: u32 & AugmentedConst<ApiType>;250 /**251 * Maxmimum number of registrars allowed in the system. Needed to bound the complexity252 * of, e.g., updating judgements.253 **/254 maxRegistrars: u32 & AugmentedConst<ApiType>;255 /**256 * The maximum number of sub-accounts allowed per identified account.257 **/258 maxSubAccounts: u32 & AugmentedConst<ApiType>;259 /**260 * The amount held on deposit for a registered subaccount. This should account for the fact261 * that one storage item's value will increase by the size of an account ID, and there will262 * be another trie item whose value is the size of an account ID plus 32 bytes.263 **/264 subAccountDeposit: u128 & AugmentedConst<ApiType>;265 /**266 * Generic const267 **/268 [key: string]: Codec;269 };270 inflation: {271 /**272 * Number of blocks that pass between treasury balance updates due to inflation273 **/274 inflationBlockInterval: u32 & AugmentedConst<ApiType>;275 /**276 * Generic const277 **/278 [key: string]: Codec;279 };280 scheduler: {281 /**282 * The maximum weight that may be scheduled per block for any dispatchables.283 **/284 maximumWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;285 /**286 * The maximum number of scheduled calls in the queue for a single block.287 * 288 * NOTE:289 * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a290 * higher limit under `runtime-benchmarks` feature.291 **/292 maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;293 /**294 * Generic const295 **/296 [key: string]: Codec;297 };298 stateTrieMigration: {299 /**300 * Maximal number of bytes that a key can have.301 * 302 * FRAME itself does not limit the key length.303 * The concrete value must therefore depend on your storage usage.304 * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of305 * keys which are then hashed and concatenated, resulting in arbitrarily long keys.306 * 307 * Use the *state migration RPC* to retrieve the length of the longest key in your308 * storage: <https://github.com/paritytech/substrate/issues/11642>309 * 310 * The migration will halt with a `Halted` event if this value is too small.311 * Since there is no real penalty from over-estimating, it is advised to use a large312 * value. The default is 512 byte.313 * 314 * Some key lengths for reference:315 * - [`frame_support::storage::StorageValue`]: 32 byte316 * - [`frame_support::storage::StorageMap`]: 64 byte317 * - [`frame_support::storage::StorageDoubleMap`]: 96 byte318 * 319 * For more info see320 * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>321 **/322 maxKeyLen: u32 & AugmentedConst<ApiType>;323 /**324 * Generic const325 **/326 [key: string]: Codec;327 };328 system: {329 /**330 * Maximum number of block number to block hash mappings to keep (oldest pruned first).331 **/332 blockHashCount: u32 & AugmentedConst<ApiType>;333 /**334 * The maximum length of a block (in bytes).335 **/336 blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;337 /**338 * Block & extrinsics weights: base values and limits.339 **/340 blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;341 /**342 * The weight of runtime database operations the runtime can invoke.343 **/344 dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;345 /**346 * The designated SS58 prefix of this chain.347 * 348 * This replaces the "ss58Format" property declared in the chain spec. Reason is349 * that the runtime should know about the prefix in order to make use of it as350 * an identifier of the chain.351 **/352 ss58Prefix: u16 & AugmentedConst<ApiType>;353 /**354 * Get the chain's current version.355 **/356 version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;357 /**358 * Generic const359 **/360 [key: string]: Codec;361 };362 technicalCommittee: {363 /**364 * The maximum weight of a dispatch call that can be proposed and executed.365 **/366 maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;367 /**368 * Generic const369 **/370 [key: string]: Codec;371 };372 timestamp: {373 /**374 * The minimum period between blocks. Beware that this is different to the *expected*375 * period that the block production apparatus provides. Your chosen consensus system will376 * generally work with this to determine a sensible block time. e.g. For Aura, it will be377 * double this period on default settings.378 **/379 minimumPeriod: u64 & AugmentedConst<ApiType>;380 /**381 * Generic const382 **/383 [key: string]: Codec;384 };385 tokens: {386 maxLocks: u32 & AugmentedConst<ApiType>;387 /**388 * The maximum number of named reserves that can exist on an account.389 **/390 maxReserves: u32 & AugmentedConst<ApiType>;391 /**392 * Generic const393 **/394 [key: string]: Codec;395 };396 transactionPayment: {397 /**398 * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their399 * `priority`400 * 401 * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later402 * added to a tip component in regular `priority` calculations.403 * It means that a `Normal` transaction can front-run a similarly-sized `Operational`404 * extrinsic (with no tip), by including a tip value greater than the virtual tip.405 * 406 * ```rust,ignore407 * // For `Normal`408 * let priority = priority_calc(tip);409 * 410 * // For `Operational`411 * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;412 * let priority = priority_calc(tip + virtual_tip);413 * ```414 * 415 * Note that since we use `final_fee` the multiplier applies also to the regular `tip`416 * sent with the transaction. So, not only does the transaction get a priority bump based417 * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`418 * transactions.419 **/420 operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;421 /**422 * Generic const423 **/424 [key: string]: Codec;425 };426 treasury: {427 /**428 * Percentage of spare funds (if any) that are burnt per spend period.429 **/430 burn: Permill & AugmentedConst<ApiType>;431 /**432 * The maximum number of approvals that can wait in the spending queue.433 * 434 * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.435 **/436 maxApprovals: u32 & AugmentedConst<ApiType>;437 /**438 * The treasury's pallet id, used for deriving its sovereign account ID.439 **/440 palletId: FrameSupportPalletId & AugmentedConst<ApiType>;441 /**442 * Fraction of a proposal's value that should be bonded in order to place the proposal.443 * An accepted proposal gets these back. A rejected proposal does not.444 **/445 proposalBond: Permill & AugmentedConst<ApiType>;446 /**447 * Maximum amount of funds that should be placed in a deposit for making a proposal.448 **/449 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;450 /**451 * Minimum amount of funds that should be placed in a deposit for making a proposal.452 **/453 proposalBondMinimum: u128 & AugmentedConst<ApiType>;454 /**455 * Period between successive spends.456 **/457 spendPeriod: u32 & AugmentedConst<ApiType>;458 /**459 * Generic const460 **/461 [key: string]: Codec;462 };463 unique: {464 /**465 * Maximum admins per collection.466 **/467 collectionAdminsLimit: u32 & AugmentedConst<ApiType>;468 /**469 * Default FT collection limit.470 **/471 ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;472 /**473 * Maximal length of a collection description.474 **/475 maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;476 /**477 * Maximal length of a collection name.478 **/479 maxCollectionNameLength: u32 & AugmentedConst<ApiType>;480 /**481 * Maximum size for all collection properties.482 **/483 maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;484 /**485 * A maximum number of token properties.486 **/487 maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;488 /**489 * Maximal length of a property key.490 **/491 maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;492 /**493 * Maximal length of a property value.494 **/495 maxPropertyValueLength: u32 & AugmentedConst<ApiType>;496 /**497 * Maximal length of a token prefix.498 **/499 maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;500 /**501 * Maximum size of all token properties.502 **/503 maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;504 /**505 * A maximum number of levels of depth in the token nesting tree.506 **/507 nestingBudget: u32 & AugmentedConst<ApiType>;508 /**509 * Default NFT collection limit.510 **/511 nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;512 /**513 * Default RFT collection limit.514 **/515 rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;516 /**517 * Generic const518 **/519 [key: string]: Codec;520 };521 vesting: {522 /**523 * The minimum amount transferred to call `vested_transfer`.524 **/525 minVestedTransfer: u128 & AugmentedConst<ApiType>;526 /**527 * Generic const528 **/529 [key: string]: Codec;530 };531 xTokens: {532 /**533 * Base XCM weight.534 * 535 * The actually weight for an XCM message is `T::BaseXcmWeight +536 * T::Weigher::weight(&msg)`.537 **/538 baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;539 /**540 * Self chain location.541 **/542 selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;543 /**544 * Generic const545 **/546 [key: string]: Codec;547 };548 } // AugmentedConsts549} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-consts.ts19.4 KiBsourcehistory