git.delta.rocks / unique-network / refs/commits / f1b6ad7066b7

difftreelog

source

tests/src/interfaces/augment-api-consts.ts10.9 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, 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, 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      defaultCollatorSelectionKickThreshold: u32 & AugmentedConst<ApiType>;85      defaultCollatorSelectionLicenseBond: u128 & AugmentedConst<ApiType>;86      defaultCollatorSelectionMaxCollators: u32 & AugmentedConst<ApiType>;87      defaultMinGasPrice: u64 & AugmentedConst<ApiType>;88      defaultWeightToFeeCoefficient: u64 & AugmentedConst<ApiType>;89      maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;90      /**91       * Generic const92       **/93      [key: string]: Codec;94    };95    evmContractHelpers: {96      /**97       * Address, under which magic contract will be available98       **/99      contractAddress: H160 & AugmentedConst<ApiType>;100      /**101       * Generic const102       **/103      [key: string]: Codec;104    };105    inflation: {106      /**107       * Number of blocks that pass between treasury balance updates due to inflation108       **/109      inflationBlockInterval: u32 & AugmentedConst<ApiType>;110      /**111       * Generic const112       **/113      [key: string]: Codec;114    };115    system: {116      /**117       * Maximum number of block number to block hash mappings to keep (oldest pruned first).118       **/119      blockHashCount: u32 & AugmentedConst<ApiType>;120      /**121       * The maximum length of a block (in bytes).122       **/123      blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;124      /**125       * Block & extrinsics weights: base values and limits.126       **/127      blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;128      /**129       * The weight of runtime database operations the runtime can invoke.130       **/131      dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;132      /**133       * The designated SS58 prefix of this chain.134       * 135       * This replaces the "ss58Format" property declared in the chain spec. Reason is136       * that the runtime should know about the prefix in order to make use of it as137       * an identifier of the chain.138       **/139      ss58Prefix: u16 & AugmentedConst<ApiType>;140      /**141       * Get the chain's current version.142       **/143      version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;144      /**145       * Generic const146       **/147      [key: string]: Codec;148    };149    timestamp: {150      /**151       * The minimum period between blocks. Beware that this is different to the *expected*152       * period that the block production apparatus provides. Your chosen consensus system will153       * generally work with this to determine a sensible block time. e.g. For Aura, it will be154       * double this period on default settings.155       **/156      minimumPeriod: u64 & AugmentedConst<ApiType>;157      /**158       * Generic const159       **/160      [key: string]: Codec;161    };162    tokens: {163      maxLocks: u32 & AugmentedConst<ApiType>;164      /**165       * The maximum number of named reserves that can exist on an account.166       **/167      maxReserves: u32 & AugmentedConst<ApiType>;168      /**169       * Generic const170       **/171      [key: string]: Codec;172    };173    transactionPayment: {174      /**175       * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their176       * `priority`177       * 178       * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later179       * added to a tip component in regular `priority` calculations.180       * It means that a `Normal` transaction can front-run a similarly-sized `Operational`181       * extrinsic (with no tip), by including a tip value greater than the virtual tip.182       * 183       * ```rust,ignore184       * // For `Normal`185       * let priority = priority_calc(tip);186       * 187       * // For `Operational`188       * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;189       * let priority = priority_calc(tip + virtual_tip);190       * ```191       * 192       * Note that since we use `final_fee` the multiplier applies also to the regular `tip`193       * sent with the transaction. So, not only does the transaction get a priority bump based194       * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`195       * transactions.196       **/197      operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;198      /**199       * Generic const200       **/201      [key: string]: Codec;202    };203    treasury: {204      /**205       * Percentage of spare funds (if any) that are burnt per spend period.206       **/207      burn: Permill & AugmentedConst<ApiType>;208      /**209       * The maximum number of approvals that can wait in the spending queue.210       * 211       * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.212       **/213      maxApprovals: u32 & AugmentedConst<ApiType>;214      /**215       * The treasury's pallet id, used for deriving its sovereign account ID.216       **/217      palletId: FrameSupportPalletId & AugmentedConst<ApiType>;218      /**219       * Fraction of a proposal's value that should be bonded in order to place the proposal.220       * An accepted proposal gets these back. A rejected proposal does not.221       **/222      proposalBond: Permill & AugmentedConst<ApiType>;223      /**224       * Maximum amount of funds that should be placed in a deposit for making a proposal.225       **/226      proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;227      /**228       * Minimum amount of funds that should be placed in a deposit for making a proposal.229       **/230      proposalBondMinimum: u128 & AugmentedConst<ApiType>;231      /**232       * Period between successive spends.233       **/234      spendPeriod: u32 & AugmentedConst<ApiType>;235      /**236       * Generic const237       **/238      [key: string]: Codec;239    };240    unique: {241      /**242       * Maximum admins per collection.243       **/244      collectionAdminsLimit: u32 & AugmentedConst<ApiType>;245      /**246       * Default FT collection limit.247       **/248      ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;249      /**250       * Maximal length of a collection description.251       **/252      maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;253      /**254       * Maximal length of a collection name.255       **/256      maxCollectionNameLength: u32 & AugmentedConst<ApiType>;257      /**258       * Maximum size for all collection properties.259       **/260      maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;261      /**262       * A maximum number of token properties.263       **/264      maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;265      /**266       * Maximal length of a property key.267       **/268      maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;269      /**270       * Maximal length of a property value.271       **/272      maxPropertyValueLength: u32 & AugmentedConst<ApiType>;273      /**274       * Maximal length of a token prefix.275       **/276      maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;277      /**278       * Maximum size of all token properties.279       **/280      maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;281      /**282       * A maximum number of levels of depth in the token nesting tree.283       **/284      nestingBudget: u32 & AugmentedConst<ApiType>;285      /**286       * Default NFT collection limit.287       **/288      nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;289      /**290       * Default RFT collection limit.291       **/292      rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;293      /**294       * Generic const295       **/296      [key: string]: Codec;297    };298    vesting: {299      /**300       * The minimum amount transferred to call `vested_transfer`.301       **/302      minVestedTransfer: u128 & AugmentedConst<ApiType>;303      /**304       * Generic const305       **/306      [key: string]: Codec;307    };308    xTokens: {309      /**310       * Base XCM weight.311       * 312       * The actually weight for an XCM message is `T::BaseXcmWeight +313       * T::Weigher::weight(&msg)`.314       **/315      baseXcmWeight: u64 & AugmentedConst<ApiType>;316      /**317       * Self chain location.318       **/319      selfLocation: XcmV1MultiLocation & AugmentedConst<ApiType>;320      /**321       * Generic const322       **/323      [key: string]: Codec;324    };325  } // AugmentedConsts326} // declare module