Re-exports§
pub use pallet_capacity;
pub use pallet_msa;
pub use pallet_passkey;
pub use pallet_schemas;
Modules§
- api
- capacity_
stable_ weights - Fixes the Weight values for Capacity transactions as static values Any change in actual weight does not adjust the cost, but will still adjust the block space
- currency
- opaque
- Opaque types. These are used by the CLI to instantiate machinery that don’t need to know the specifics of the runtime. They can then be made to be agnostic over specific formats of data like extrinsics, allowing for them to continue syncing the network through upgrades to even the core data structures.
- polkadot_
xcm_ fee - weights
- Expose the auto generated weight files.
Macros§
- prod_
or_ testnet_ or_ local - Macro to set a value (e.g. when using the
parameter_types
macro) to either a production value or to an environment variable or testing value (in case thefrequency-local
feature is selected or in instant sealing mode). Note that the environment variable is evaluated at compile time.
Structs§
- Announcement
Deposit Base - Announcement
Deposit Factor - Base
Call Filter - Base filter to only allow calls to specified transactions to be executed
- Block
Execution Weight - Weight of executing an empty block.
Calculated by multiplying the Average with
1.0
and adding0
. - Burn
- How much of the treasury to burn, if funds remain at the end of the SpendPeriod Set to zero until the economic system is setup and stabilized
- Capacity
Batch Provider - Capacity
Eligible Calls - Capacity
PerToken - Capacity
Reward Cap - Council
Proposal Provider - Ensure
Time Release Origin - Existential
Deposit - Extrinsic
Base Weight - Weight of executing a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - MaxCollectives
Proposal Weight - MaxItemized
Blob Size Bytes - The maximum size of a single item in an itemized storage model (in bytes)
- MaxItemized
Page Size Bytes - The maximum size of a page (in bytes) for an Itemized storage model ~ (10KiB) extra 2 bytes is for ItemHeader which enables us to simulate max PoV in benchmarks
- MaxPaginated
Page Size Bytes - The maximum size of a page (in bytes) for a Paginated storage model (1KiB)
- MaxPending
- MaxProxies
- MaxSpending
- Maximum
Scheduler Weight - Messages
MaxPayload Size Bytes - Migrate
Pallets Current Storage - MsaCall
Filter - Never
Deposit Into Id - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Passkey
Call Filter - PasskeyCallFilter to only allow calls to specified transactions to be executed
- Payout
Spend Period - Perbill
- A fixed point representation of a number in the range [0, 1].
- Preimage
Hold Reason - Proposal
Bond Percent - Bond amount a treasury request must put up to make the proposal This will be transferred to OnSlash if the proposal is rejected
- Provider
Boost History Limit - The maximum number of eras over which one can claim rewards
- Proxy
Deposit Base - Proxy
Deposit Factor - Reward
Pool Chunk Length - The number of chunks of Reward Pool history we expect to store
- Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Block Length - Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Scheduler
Provider - Schemas
MaxBytes Bounded VecLimit - The maximum length of a schema model (in bytes)
- Session
Keys - SetSafe
XcmVersion - Migration to set the initial safe XCM version for the XCM pallet.
- Ss58
Prefix - SS58 Prefix for the for Frequency Network 90 is the prefix for the Frequency Network on Polkadot 42 is the default prefix elsewhere
- Treasury
Account - Treasury
Pallet Id - Keyless account that holds the money for the treasury
- Version
- Weight
ToFee - Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.
Enums§
- Origin
Caller - Proxy
Type - The type used to represent the kinds of proxying allowed.
- Runtime
Call - The aggregated runtime call type.
- Runtime
Error - Runtime
Event - Runtime
Freeze Reason - A reason for placing a freeze on funds.
- Runtime
Hold Reason - A reason for placing a hold on funds.
- Runtime
Lock Id - An identifier for each lock placed on funds.
- Runtime
Slash Reason - A reason for slashing funds.
- Runtime
Task - An aggregation of all
Task
enums across all pallets included in the current runtime. - Runtime
View Function - Runtime query type.
Constants§
- AVERAGE_
ON_ INITIALIZE_ RATIO - We assume that ~5% of the block weight is consumed by
on_initialize
handlers. This is used to limit the maximal weight of a single extrinsic. - CENTS
- CHAIN_
ID - DAYS
- EXISTENTIAL_
DEPOSIT - The existential deposit. Set to be 1/100th of a token.
- FREQUENCY_
LOCAL_ TOKEN - FREQUENCY_
TESTNET_ TOKEN - FREQUENCY_
TOKEN - HOURS
- MAXIMUM_
BLOCK_ WEIGHT - We allow for 2 seconds of compute with a 6 second average block time.
- MAX_
RELEASE_ SCHEDULES - Update
- MILLISECS_
PER_ BLOCK - This determines the average expected block time that we are targeting.
Blocks will be produced at a minimum duration defined by
SLOT_DURATION
.SLOT_DURATION
is picked up bypallet_timestamp
which is in turn picked up bypallet_aura
to implementfn slot_duration()
. - MINUTES
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used byOperational
extrinsics. - RUNTIME_
API_ VERSIONS - SLOT_
DURATION - TOKEN_
DECIMALS - TREASURY_
PALLET_ ID - Generates the pallet “account” 5EYCAe5ijiYfyeZ2JJCGq56LmPyNRAKzpG4QkoQkkQNB5e6Z
- VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
- GetStable
Weight - Gets stable weights for a capacity Call
- Scheduler
Provider Trait - A trait that defines a scheduler provider for scheduling calls to be executed at a specific block number.
Functions§
- native_
version - The version information used to identify this runtime when compiled natively.
- wasm_
binary_ unwrap - Wasm binary unwrapped. If built with
WASM_BINARY
, the function panics.
Type Aliases§
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- Aura
- Aura
Config - AuraExt
- Aura
ExtConfig - AuraId
- An Aura authority identifier using S/R 25519 as its crypto.
- Aura
MaxAuthorities - The maximum number of authorities
- Authorship
- Authorship
Uncle Generations - Balances
- Balances
Config - Balances
MaxFreezes - Balances
MaxLocks - Balances
MaxReserves - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Capacity
- Capacity
MaxEpoch Length - Capacity
MaxUnlocking Chunks - Capacity
Minimum Staking Amount - Capacity
Minimum Token Balance - Capacity
Reward EraLength - Capacity
Unstaking Thaw Period - Collator
Kick Threshold - Collator
MaxCandidates - Collator
MaxInvulnerables - Collator
MinCandidates - Collator
Selection - Collator
Selection Config - Consensus
Hook - Cooloff
Period - Council
- Council
Config - Council
MaxMembers - Council
MaxProposals - Council
Motion Duration - Democracy
- Democracy
Config - Democracy
MaxProposals - Democracy
MaxVotes - Deposit
Base - Deposit
Factor - Enactment
Period - Executive
- FIFTY
- Fast
Track Voting Period - Frame
System MaxConsumers - Frequency
TxPayment - HUNDRED
- Handle
Suffix Max - The maximum suffix value
- Handle
Suffix Min - The minimum suffix value
- Handles
- Launch
Period - MSAMax
Signatures Stored - The upper limit on total stored signatures. Set to an average of 50 signatures per block
- MSAMortality
Window Size - The number of blocks per virtual bucket
- MaxApprovals
- Maximum number of approved proposals per Spending Period Set to 64 or 16 per week
- MaxItemized
Actions Count - The maximum number of actions in itemized actions
- MaxPaginated
Page Id - The maximum number of pages in a Paginated storage model
- MaxRelease
Schedules - Need this declaration method for use + type safety in benchmarks
- MaxSchema
Grants - The maximum number of schema grants allowed per delegation
- MaxSchema
Settings PerSchema - The maximum number of grants allowed per schema
- MaxSignatories
- Maximum
Capacity Batch Length - Messages
- MinRelease
Transfer - Minimum
Deposit - Minimum
Period - Msa
- MsaMax
Provider Name Size - The maximum size of the provider name (in bytes)
- MsaMax
Public Keys PerMsa - The maximum number of public keys per MSA
- Multisig
- Parachain
Info - Parachain
Info Config - Parachain
System - Parachain
System Config - Passkey
- Preimage
- Preimage
Base Deposit - Preimage
Byte Deposit - Preimage
MaxSize - Preimage maximum size set to 4 MB Expected to be removed in Polkadot v0.9.31
- Proposal
Bond Maximum - Minimum bond for a treasury proposal
- Proposal
Bond Minimum - Minimum bond for a treasury proposal
- Proxy
- Schedule
Name - Alias for a schedule identifier
- Scheduler
- Scheduler
MaxScheduled PerBlock - Schemas
- Schemas
Config - Schemas
MaxRegistrations - The maximum number of schema registrations
- Schemas
MinModel Size Bytes - The minimum schema model size (in bytes)
- Session
- Session
Config - Session
Offset - Session
Period - Signed
Block - A Block signed with a Justification
- Spend
Period - Stateful
Mortality Window Size - The number of blocks for Stateful mortality is 48 hours
- Stateful
Storage - System
- System
Config - TCMax
Members - TCMax
Proposals - TCMotion
Duration - TWO
- Technical
Committee - Technical
Committee Config - Time
Release - Time
Release Config - Timestamp
- Transaction
Byte Fee - Relay Chain
TransactionByteFee
/ 10 - Transaction
Payment - Transaction
Payment Operational FeeMultiplier - Treasury
- Treasury
Config - TxExtension
- The TransactionExtension to the basic transaction logic.
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Utility
- Voting
Period - Weight
Reclaim - ZERO