import '@polkadot/api-base/types/consts'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletPermissionsSpacePermissions, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup'; export declare type __AugmentedConst = AugmentedConst; declare module '@polkadot/api-base/types/consts' { interface AugmentedConsts { authorship: { /** * The number of blocks back we should accept uncles. * This means that we will deal with uncle-parents that are * `UncleGenerations + 1` before `now`. **/ uncleGenerations: u32 & AugmentedConst; }; balances: { /** * The minimum amount required to keep an account open. **/ existentialDeposit: u128 & AugmentedConst; /** * The maximum number of locks that should exist on an account. * Not strictly enforced, but used for weight estimation. **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. **/ maxReserves: u32 & AugmentedConst; }; domains: { /** * The amount held on deposit for storing the domain's structure. **/ baseDomainDeposit: u128 & AugmentedConst; /** * The maximum number of domains that can be inserted into a storage at once. **/ domainsInsertLimit: u32 & AugmentedConst; /** * Domain's maximum length. **/ maxDomainLength: u32 & AugmentedConst; /** * Maximum number of domains that can be registered per account. **/ maxDomainsPerAccount: u32 & AugmentedConst; /** * The maximum length of the domain's outer value. **/ maxOuterValueLength: u32 & AugmentedConst; /** * Maximum number of promotional domains that can be registered per account. **/ maxPromoDomainsPerAccount: u32 & AugmentedConst; /** * Domain's minimum length. **/ minDomainLength: u32 & AugmentedConst; /** * The amount held on deposit per byte of the domain's outer value. **/ outerValueByteDeposit: u128 & AugmentedConst; /** * The maximum period of time the domain may be held for. **/ registrationPeriodLimit: u32 & AugmentedConst; }; permissions: { defaultSpacePermissions: PalletPermissionsSpacePermissions & AugmentedConst; }; posts: { /** * Max comments depth **/ maxCommentDepth: u32 & AugmentedConst; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * * This is held when a new storage item holding a `Balance` is created (typically 16 * bytes). **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) * into a pre-existing storage value. **/ announcementDepositFactor: u128 & AugmentedConst; /** * The maximum amount of time-delayed announcements that are allowed to be pending. **/ maxPending: u32 & AugmentedConst; /** * The maximum amount of proxies allowed for a single account. **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * * This is held for an additional storage item whose value size is * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * * This is held for adding 32 bytes plus an instance of `ProxyType` more into a * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take * into account `32 + proxy_type.encode().len()` bytes of data. **/ proxyDepositFactor: u128 & AugmentedConst; }; roles: { /** * When deleting a role via `delete_role()` dispatch, this parameter is checked. * If the number of users that own a given role is greater or equal to this number, * then `TooManyUsersToDeleteRole` error will be returned and the dispatch will fail. **/ maxUsersToProcessPerDeleteRole: u16 & AugmentedConst; }; spaces: { maxSpacesPerAccount: u32 & AugmentedConst; }; system: { /** * Maximum number of block number to block hash mappings to keep (oldest pruned first). **/ blockHashCount: u32 & AugmentedConst; /** * The maximum length of a block (in bytes). **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; /** * Block & extrinsics weights: base values and limits. **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; /** * The weight of runtime database operations the runtime can invoke. **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * * This replaces the "ss58Format" property declared in the chain spec. Reason is * that the runtime should know about the prefix in order to make use of it as * an identifier of the chain. **/ ss58Prefix: u16 & AugmentedConst; /** * Get the chain's current version. **/ version: SpVersionRuntimeVersion & AugmentedConst; }; timestamp: { /** * The minimum period between blocks. Beware that this is different to the *expected* * period that the block production apparatus provides. Your chosen consensus system will * generally work with this to determine a sensible block time. e.g. For Aura, it will be * double this period on default settings. **/ minimumPeriod: u64 & AugmentedConst; }; transactionPayment: { /** * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their * `priority` * * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later * added to a tip component in regular `priority` calculations. * It means that a `Normal` transaction can front-run a similarly-sized `Operational` * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` * let priority = priority_calc(tip); * * // For `Operational` * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; * let priority = priority_calc(tip + virtual_tip); * ``` * * Note that since we use `final_fee` the multiplier applies also to the regular `tip` * sent with the transaction. So, not only does the transaction get a priority bump based * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` * transactions. **/ operationalFeeMultiplier: u8 & AugmentedConst; }; utility: { /** * The limit on the number of batched calls. **/ batchedCallsLimit: u32 & AugmentedConst; }; vesting: { maxVestingSchedules: u32 & AugmentedConst; /** * The minimum amount transferred to call `vested_transfer`. **/ minVestedTransfer: u128 & AugmentedConst; }; } }