git.delta.rocks / unique-network / refs/commits / 20ac01d2fe7c

difftreelog

source

tests/src/interfaces/augment-api-consts.ts14.5 KiBsourcehistory
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, 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       * 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    evmContractHelpers: {122      /**123       * Address, under which magic contract will be available124       **/125      contractAddress: H160 & AugmentedConst<ApiType>;126      /**127       * Generic const128       **/129      [key: string]: Codec;130    };131    identity: {132      /**133       * The amount held on deposit for a registered identity134       **/135      basicDeposit: u128 & AugmentedConst<ApiType>;136      /**137       * The amount held on deposit per additional field for a registered identity.138       **/139      fieldDeposit: u128 & AugmentedConst<ApiType>;140      /**141       * Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O142       * required to access an identity, but can be pretty high.143       **/144      maxAdditionalFields: u32 & AugmentedConst<ApiType>;145      /**146       * Maxmimum number of registrars allowed in the system. Needed to bound the complexity147       * of, e.g., updating judgements.148       **/149      maxRegistrars: u32 & AugmentedConst<ApiType>;150      /**151       * The maximum number of sub-accounts allowed per identified account.152       **/153      maxSubAccounts: u32 & AugmentedConst<ApiType>;154      /**155       * The amount held on deposit for a registered subaccount. This should account for the fact156       * that one storage item's value will increase by the size of an account ID, and there will157       * be another trie item whose value is the size of an account ID plus 32 bytes.158       **/159      subAccountDeposit: u128 & AugmentedConst<ApiType>;160      /**161       * Generic const162       **/163      [key: string]: Codec;164    };165    inflation: {166      /**167       * Number of blocks that pass between treasury balance updates due to inflation168       **/169      inflationBlockInterval: u32 & AugmentedConst<ApiType>;170      /**171       * Generic const172       **/173      [key: string]: Codec;174    };175    stateTrieMigration: {176      /**177       * Maximal number of bytes that a key can have.178       * 179       * FRAME itself does not limit the key length.180       * The concrete value must therefore depend on your storage usage.181       * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of182       * keys which are then hashed and concatenated, resulting in arbitrarily long keys.183       * 184       * Use the *state migration RPC* to retrieve the length of the longest key in your185       * storage: <https://github.com/paritytech/substrate/issues/11642>186       * 187       * The migration will halt with a `Halted` event if this value is too small.188       * Since there is no real penalty from over-estimating, it is advised to use a large189       * value. The default is 512 byte.190       * 191       * Some key lengths for reference:192       * - [`frame_support::storage::StorageValue`]: 32 byte193       * - [`frame_support::storage::StorageMap`]: 64 byte194       * - [`frame_support::storage::StorageDoubleMap`]: 96 byte195       * 196       * For more info see197       * <https://www.shawntabrizi.com/substrate/querying-substrate-storage-via-rpc/>198       **/199      maxKeyLen: u32 & AugmentedConst<ApiType>;200      /**201       * Generic const202       **/203      [key: string]: Codec;204    };205    system: {206      /**207       * Maximum number of block number to block hash mappings to keep (oldest pruned first).208       **/209      blockHashCount: u32 & AugmentedConst<ApiType>;210      /**211       * The maximum length of a block (in bytes).212       **/213      blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;214      /**215       * Block & extrinsics weights: base values and limits.216       **/217      blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;218      /**219       * The weight of runtime database operations the runtime can invoke.220       **/221      dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;222      /**223       * The designated SS58 prefix of this chain.224       * 225       * This replaces the "ss58Format" property declared in the chain spec. Reason is226       * that the runtime should know about the prefix in order to make use of it as227       * an identifier of the chain.228       **/229      ss58Prefix: u16 & AugmentedConst<ApiType>;230      /**231       * Get the chain's current version.232       **/233      version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;234      /**235       * Generic const236       **/237      [key: string]: Codec;238    };239    timestamp: {240      /**241       * The minimum period between blocks. Beware that this is different to the *expected*242       * period that the block production apparatus provides. Your chosen consensus system will243       * generally work with this to determine a sensible block time. e.g. For Aura, it will be244       * double this period on default settings.245       **/246      minimumPeriod: u64 & AugmentedConst<ApiType>;247      /**248       * Generic const249       **/250      [key: string]: Codec;251    };252    tokens: {253      maxLocks: u32 & AugmentedConst<ApiType>;254      /**255       * The maximum number of named reserves that can exist on an account.256       **/257      maxReserves: u32 & AugmentedConst<ApiType>;258      /**259       * Generic const260       **/261      [key: string]: Codec;262    };263    transactionPayment: {264      /**265       * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their266       * `priority`267       * 268       * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later269       * added to a tip component in regular `priority` calculations.270       * It means that a `Normal` transaction can front-run a similarly-sized `Operational`271       * extrinsic (with no tip), by including a tip value greater than the virtual tip.272       * 273       * ```rust,ignore274       * // For `Normal`275       * let priority = priority_calc(tip);276       * 277       * // For `Operational`278       * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;279       * let priority = priority_calc(tip + virtual_tip);280       * ```281       * 282       * Note that since we use `final_fee` the multiplier applies also to the regular `tip`283       * sent with the transaction. So, not only does the transaction get a priority bump based284       * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`285       * transactions.286       **/287      operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;288      /**289       * Generic const290       **/291      [key: string]: Codec;292    };293    treasury: {294      /**295       * Percentage of spare funds (if any) that are burnt per spend period.296       **/297      burn: Permill & AugmentedConst<ApiType>;298      /**299       * The maximum number of approvals that can wait in the spending queue.300       * 301       * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.302       **/303      maxApprovals: u32 & AugmentedConst<ApiType>;304      /**305       * The treasury's pallet id, used for deriving its sovereign account ID.306       **/307      palletId: FrameSupportPalletId & AugmentedConst<ApiType>;308      /**309       * Fraction of a proposal's value that should be bonded in order to place the proposal.310       * An accepted proposal gets these back. A rejected proposal does not.311       **/312      proposalBond: Permill & AugmentedConst<ApiType>;313      /**314       * Maximum amount of funds that should be placed in a deposit for making a proposal.315       **/316      proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;317      /**318       * Minimum amount of funds that should be placed in a deposit for making a proposal.319       **/320      proposalBondMinimum: u128 & AugmentedConst<ApiType>;321      /**322       * Period between successive spends.323       **/324      spendPeriod: u32 & AugmentedConst<ApiType>;325      /**326       * Generic const327       **/328      [key: string]: Codec;329    };330    unique: {331      /**332       * Maximum admins per collection.333       **/334      collectionAdminsLimit: u32 & AugmentedConst<ApiType>;335      /**336       * Default FT collection limit.337       **/338      ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;339      /**340       * Maximal length of a collection description.341       **/342      maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;343      /**344       * Maximal length of a collection name.345       **/346      maxCollectionNameLength: u32 & AugmentedConst<ApiType>;347      /**348       * Maximum size for all collection properties.349       **/350      maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;351      /**352       * A maximum number of token properties.353       **/354      maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;355      /**356       * Maximal length of a property key.357       **/358      maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;359      /**360       * Maximal length of a property value.361       **/362      maxPropertyValueLength: u32 & AugmentedConst<ApiType>;363      /**364       * Maximal length of a token prefix.365       **/366      maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;367      /**368       * Maximum size of all token properties.369       **/370      maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;371      /**372       * A maximum number of levels of depth in the token nesting tree.373       **/374      nestingBudget: u32 & AugmentedConst<ApiType>;375      /**376       * Default NFT collection limit.377       **/378      nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;379      /**380       * Default RFT collection limit.381       **/382      rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;383      /**384       * Generic const385       **/386      [key: string]: Codec;387    };388    vesting: {389      /**390       * The minimum amount transferred to call `vested_transfer`.391       **/392      minVestedTransfer: u128 & AugmentedConst<ApiType>;393      /**394       * Generic const395       **/396      [key: string]: Codec;397    };398    xTokens: {399      /**400       * Base XCM weight.401       * 402       * The actually weight for an XCM message is `T::BaseXcmWeight +403       * T::Weigher::weight(&msg)`.404       **/405      baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;406      /**407       * Self chain location.408       **/409      selfLocation: XcmV3MultiLocation & AugmentedConst<ApiType>;410      /**411       * Generic const412       **/413      [key: string]: Codec;414    };415  } // AugmentedConsts416} // declare module