git.delta.rocks / unique-network / refs/commits / 896d7c692dac

difftreelog

source

tests/src/interfaces/augment-api-consts.ts11.0 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    authorship: {45      /**46       * The number of blocks back we should accept uncles.47       * This means that we will deal with uncle-parents that are48       * `UncleGenerations + 1` before `now`.49       **/50      uncleGenerations: u32 & AugmentedConst<ApiType>;51      /**52       * Generic const53       **/54      [key: string]: Codec;55    };56    balances: {57      /**58       * The minimum amount required to keep an account open.59       **/60      existentialDeposit: u128 & AugmentedConst<ApiType>;61      /**62       * The maximum number of locks that should exist on an account.63       * Not strictly enforced, but used for weight estimation.64       **/65      maxLocks: u32 & AugmentedConst<ApiType>;66      /**67       * The maximum number of named reserves that can exist on an account.68       **/69      maxReserves: u32 & AugmentedConst<ApiType>;70      /**71       * Generic const72       **/73      [key: string]: Codec;74    };75    common: {76      /**77       * Maximum admins per collection.78       **/79      collectionAdminsLimit: u32 & AugmentedConst<ApiType>;80      /**81       * Set price to create a collection.82       **/83      collectionCreationPrice: u128 & AugmentedConst<ApiType>;84      /**85       * Address under which the CollectionHelper contract would be available.86       **/87      contractAddress: H160 & AugmentedConst<ApiType>;88      /**89       * Generic const90       **/91      [key: string]: Codec;92    };93    configuration: {94      appPromotionDailyRate: Perbill & AugmentedConst<ApiType>;95      dayRelayBlocks: u32 & AugmentedConst<ApiType>;96      defaultMinGasPrice: u64 & AugmentedConst<ApiType>;97      defaultWeightToFeeCoefficient: u32 & AugmentedConst<ApiType>;98      maxXcmAllowedLocations: u32 & AugmentedConst<ApiType>;99      /**100       * Generic const101       **/102      [key: string]: Codec;103    };104    evmContractHelpers: {105      /**106       * Address, under which magic contract will be available107       **/108      contractAddress: H160 & AugmentedConst<ApiType>;109      /**110       * Generic const111       **/112      [key: string]: Codec;113    };114    inflation: {115      /**116       * Number of blocks that pass between treasury balance updates due to inflation117       **/118      inflationBlockInterval: u32 & AugmentedConst<ApiType>;119      /**120       * Generic const121       **/122      [key: string]: Codec;123    };124    system: {125      /**126       * Maximum number of block number to block hash mappings to keep (oldest pruned first).127       **/128      blockHashCount: u32 & AugmentedConst<ApiType>;129      /**130       * The maximum length of a block (in bytes).131       **/132      blockLength: FrameSystemLimitsBlockLength & AugmentedConst<ApiType>;133      /**134       * Block & extrinsics weights: base values and limits.135       **/136      blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst<ApiType>;137      /**138       * The weight of runtime database operations the runtime can invoke.139       **/140      dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;141      /**142       * The designated SS58 prefix of this chain.143       * 144       * This replaces the "ss58Format" property declared in the chain spec. Reason is145       * that the runtime should know about the prefix in order to make use of it as146       * an identifier of the chain.147       **/148      ss58Prefix: u16 & AugmentedConst<ApiType>;149      /**150       * Get the chain's current version.151       **/152      version: SpVersionRuntimeVersion & AugmentedConst<ApiType>;153      /**154       * Generic const155       **/156      [key: string]: Codec;157    };158    timestamp: {159      /**160       * The minimum period between blocks. Beware that this is different to the *expected*161       * period that the block production apparatus provides. Your chosen consensus system will162       * generally work with this to determine a sensible block time. e.g. For Aura, it will be163       * double this period on default settings.164       **/165      minimumPeriod: u64 & AugmentedConst<ApiType>;166      /**167       * Generic const168       **/169      [key: string]: Codec;170    };171    tokens: {172      maxLocks: u32 & AugmentedConst<ApiType>;173      /**174       * The maximum number of named reserves that can exist on an account.175       **/176      maxReserves: u32 & AugmentedConst<ApiType>;177      /**178       * Generic const179       **/180      [key: string]: Codec;181    };182    transactionPayment: {183      /**184       * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their185       * `priority`186       * 187       * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later188       * added to a tip component in regular `priority` calculations.189       * It means that a `Normal` transaction can front-run a similarly-sized `Operational`190       * extrinsic (with no tip), by including a tip value greater than the virtual tip.191       * 192       * ```rust,ignore193       * // For `Normal`194       * let priority = priority_calc(tip);195       * 196       * // For `Operational`197       * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;198       * let priority = priority_calc(tip + virtual_tip);199       * ```200       * 201       * Note that since we use `final_fee` the multiplier applies also to the regular `tip`202       * sent with the transaction. So, not only does the transaction get a priority bump based203       * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`204       * transactions.205       **/206      operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;207      /**208       * Generic const209       **/210      [key: string]: Codec;211    };212    treasury: {213      /**214       * Percentage of spare funds (if any) that are burnt per spend period.215       **/216      burn: Permill & AugmentedConst<ApiType>;217      /**218       * The maximum number of approvals that can wait in the spending queue.219       * 220       * NOTE: This parameter is also used within the Bounties Pallet extension if enabled.221       **/222      maxApprovals: u32 & AugmentedConst<ApiType>;223      /**224       * The treasury's pallet id, used for deriving its sovereign account ID.225       **/226      palletId: FrameSupportPalletId & AugmentedConst<ApiType>;227      /**228       * Fraction of a proposal's value that should be bonded in order to place the proposal.229       * An accepted proposal gets these back. A rejected proposal does not.230       **/231      proposalBond: Permill & AugmentedConst<ApiType>;232      /**233       * Maximum amount of funds that should be placed in a deposit for making a proposal.234       **/235      proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;236      /**237       * Minimum amount of funds that should be placed in a deposit for making a proposal.238       **/239      proposalBondMinimum: u128 & AugmentedConst<ApiType>;240      /**241       * Period between successive spends.242       **/243      spendPeriod: u32 & AugmentedConst<ApiType>;244      /**245       * Generic const246       **/247      [key: string]: Codec;248    };249    unique: {250      /**251       * Maximum admins per collection.252       **/253      collectionAdminsLimit: u32 & AugmentedConst<ApiType>;254      /**255       * Default FT collection limit.256       **/257      ftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;258      /**259       * Maximal length of a collection description.260       **/261      maxCollectionDescriptionLength: u32 & AugmentedConst<ApiType>;262      /**263       * Maximal length of a collection name.264       **/265      maxCollectionNameLength: u32 & AugmentedConst<ApiType>;266      /**267       * Maximum size for all collection properties.268       **/269      maxCollectionPropertiesSize: u32 & AugmentedConst<ApiType>;270      /**271       * A maximum number of token properties.272       **/273      maxPropertiesPerItem: u32 & AugmentedConst<ApiType>;274      /**275       * Maximal length of a property key.276       **/277      maxPropertyKeyLength: u32 & AugmentedConst<ApiType>;278      /**279       * Maximal length of a property value.280       **/281      maxPropertyValueLength: u32 & AugmentedConst<ApiType>;282      /**283       * Maximal length of a token prefix.284       **/285      maxTokenPrefixLength: u32 & AugmentedConst<ApiType>;286      /**287       * Maximum size of all token properties.288       **/289      maxTokenPropertiesSize: u32 & AugmentedConst<ApiType>;290      /**291       * A maximum number of levels of depth in the token nesting tree.292       **/293      nestingBudget: u32 & AugmentedConst<ApiType>;294      /**295       * Default NFT collection limit.296       **/297      nftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;298      /**299       * Default RFT collection limit.300       **/301      rftDefaultCollectionLimits: UpDataStructsCollectionLimits & AugmentedConst<ApiType>;302      /**303       * Generic const304       **/305      [key: string]: Codec;306    };307    vesting: {308      /**309       * The minimum amount transferred to call `vested_transfer`.310       **/311      minVestedTransfer: u128 & AugmentedConst<ApiType>;312      /**313       * Generic const314       **/315      [key: string]: Codec;316    };317    xTokens: {318      /**319       * Base XCM weight.320       * 321       * The actually weight for an XCM message is `T::BaseXcmWeight +322       * T::Weigher::weight(&msg)`.323       **/324      baseXcmWeight: u64 & AugmentedConst<ApiType>;325      /**326       * Self chain location.327       **/328      selfLocation: XcmV1MultiLocation & AugmentedConst<ApiType>;329      /**330       * Generic const331       **/332      [key: string]: Codec;333    };334  } // AugmentedConsts335} // declare module