git.delta.rocks / unique-network / refs/commits / 2eb5d08eae89

difftreelog

source

tests/src/interfaces/augment-api-consts.ts7.1 KiBsourcehistory
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { Codec } from '@polkadot/types-codec/types';7import type { Permill } from '@polkadot/types/interfaces/runtime';8import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';910declare module '@polkadot/api-base/types/consts' {11  export interface AugmentedConsts<ApiType extends ApiTypes> {12    balances: {13      /**14       * The minimum amount required to keep an account open.15       **/16      existentialDeposit: u128 & AugmentedConst<ApiType>;17      /**18       * The maximum number of locks that should exist on an account.19       * Not strictly enforced, but used for weight estimation.20       **/21      maxLocks: u32 & AugmentedConst<ApiType>;22      /**23       * The maximum number of named reserves that can exist on an account.24       **/25      maxReserves: u32 & AugmentedConst<ApiType>;26      /**27       * Generic const28       **/29      [key: string]: Codec;30    };31    common: {32      /**33       * Maximum admins per collection.34       **/35      collectionAdminsLimit: u32 & AugmentedConst<ApiType>;36      /**37       * Set price to create a collection.38       **/39      collectionCreationPrice: u128 & AugmentedConst<ApiType>;40      /**41       * Generic const42       **/43      [key: string]: Codec;44    };45    configuration: {46      defaultMinGasPrice: u64 & AugmentedConst<ApiType>;47      defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;48      /**49       * Generic const50       **/51      [key: string]: Codec;52    };53    inflation: {54      /**55       * Number of blocks that pass between treasury balance updates due to inflation56       **/57      inflationBlockInterval: u32 & AugmentedConst<ApiType>;58      /**59       * Generic const60       **/61      [key: string]: Codec;62    };63    scheduler: {64      /**65       * The maximum weight that may be scheduled per block for any dispatchables of less66       * priority than `schedule::HARD_DEADLINE`.67       **/68      maximumWeight: u64 & AugmentedConst<ApiType>;69      /**70       * The maximum number of scheduled calls in the queue for a single block.71       * Not strictly enforced, but used for weight estimation.72       **/73      maxScheduledPerBlock: u32 & AugmentedConst<ApiType>;74      /**75       * Generic const76       **/77      [key: string]: Codec;78    };79    system: {80      /**81       * Maximum number of block number to block hash mappings to keep (oldest pruned first).82       **/83      blockHashCount: u32 & AugmentedConst<ApiType>;84      /**85       * The maximum length of a block (in bytes).86       **/87      blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;88      /**89       * Block & extrinsics weights: base values and limits.90       **/91      blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;92      /**93       * The weight of runtime database operations the runtime can invoke.94       **/95      dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;96      /**97       * The designated SS85 prefix of this chain.98       * 99       * This replaces the "ss58Format" property declared in the chain spec. Reason is100       * that the runtime should know about the prefix in order to make use of it as101       * an identifier of the chain.102       **/103      ss58Prefix: u16 & AugmentedConst<ApiType>;104      /**105       * Get the chain's current version.106       **/107      version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;108      /**109       * Generic const110       **/111      [key: string]: Codec;112    };113    timestamp: {114      /**115       * The minimum period between blocks. Beware that this is different to the *expected*116       * period that the block production apparatus provides. Your chosen consensus system will117       * generally work with this to determine a sensible block time. e.g. For Aura, it will be118       * double this period on default settings.119       **/120      minimumPeriod: u64 & AugmentedConst<ApiType>;121      /**122       * Generic const123       **/124      [key: string]: Codec;125    };126    transactionPayment: {127      /**128       * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their129       * `priority`130       * 131       * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later132       * added to a tip component in regular `priority` calculations.133       * It means that a `Normal` transaction can front-run a similarly-sized `Operational`134       * extrinsic (with no tip), by including a tip value greater than the virtual tip.135       * 136       * ```rust,ignore137       * // For `Normal`138       * let priority = priority_calc(tip);139       * 140       * // For `Operational`141       * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;142       * let priority = priority_calc(tip + virtual_tip);143       * ```144       * 145       * Note that since we use `final_fee` the multiplier applies also to the regular `tip`146       * sent with the transaction. So, not only does the transaction get a priority bump based147       * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`148       * transactions.149       **/150      operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;151      /**152       * Generic const153       **/154      [key: string]: Codec;155    };156    treasury: {157      /**158       * Percentage of spare funds (if any) that are burnt per spend period.159       **/160      burn: Permill & AugmentedConst<ApiType>;161      /**162       * The maximum number of approvals that can wait in the spending queue.163       * 164       * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.165       **/166      maxApprovals: u32 & AugmentedConst<ApiType>;167      /**168       * The treasury's pallet id, used for deriving its sovereign account ID.169       **/170      palletId: FrameSupportPalletId & AugmentedConst<ApiType>;171      /**172       * Fraction of a proposal's value that should be bonded in order to place the proposal.173       * An accepted proposal gets these back. A rejected proposal does not.174       **/175      proposalBond: Permill & AugmentedConst<ApiType>;176      /**177       * Maximum amount of funds that should be placed in a deposit for making a proposal.178       **/179      proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;180      /**181       * Minimum amount of funds that should be placed in a deposit for making a proposal.182       **/183      proposalBondMinimum: u128 & AugmentedConst<ApiType>;184      /**185       * Period between successive spends.186       **/187      spendPeriod: u32 & AugmentedConst<ApiType>;188      /**189       * Generic const190       **/191      [key: string]: Codec;192    };193    vesting: {194      /**195       * The minimum amount transferred to call `vested_transfer`.196       **/197      minVestedTransfer: u128 & AugmentedConst<ApiType>;198      /**199       * Generic const200       **/201      [key: string]: Codec;202    };203  } // AugmentedConsts204} // declare module