Expand description
The Polkadot runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules§
- api
- pallet_
test_ notifier - The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet. - xcm_
config
Macros§
- impl_
elections_ weights - Implements the weight types for the elections module and a specific
runtime.
This macro should not be called directly; use
impl_runtime_weights
instead.
Structs§
- Block
Execution Weight - Importing a block with 0 Extrinsics.
- Block
Weights - Block weights base values and limits.
- Bonding
Duration - Broker
Id - Broker
Pot - Dummy
XcmSender - Election
Bounds OnChain - Ending
Period - Epoch
Duration - Existential
Deposit - Expected
Block Time - Extrinsic
Base Weight - Executing a NO-OP
System::remarks
Extrinsic. - Hrmp
Channel Size AndCapacity With System Ratio - Index
Deposit - Lease
Period - MaxAuthorities
- MaxExposure
Page Size - MaxHistorical
Revenue - MaxLocks
- MaxNominators
- MaxReserves
- MaxSet
IdSession Entries - MaxXcm
Transact Weight - MinVested
Transfer - Minimum
Period - Offchain
Solution Length Limit - A limit for off-chain phragmen unsigned solution length.
- Offchain
Solution Weight Limit - A limit for off-chain phragmen unsigned solution submission.
- Offset
- OnChain
MaxWinners - OnChain
SeqPhragmen - OnDemand
Pallet Id - OnDemand
Traffic Default Value - Operational
FeeMultiplier - This value increases the priority of
Operational
transactions by adding a “virtual tip” that’s equal to theOperationalFeeMultiplier * final_fee
. - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Paras
Unsigned Priority - Parity
DbWeight ParityDB
can be enabled with a feature flag, but is still experimental. These weights are available for brave runtime engineers who may want to try this out as default.- Period
- Prefix
- Report
Longevity - Reward
Curve - Rocks
DbWeight - By default, Substrate uses
RocksDB
, so this will be the weight used throughout the runtime. - Runtime
- Runtime
Api - Runtime
ApiImpl - Implements all runtime apis for the client side.
- Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- SS58
Prefix - Session
Keys - Sessions
PerEra - Slash
Defer Duration - Slot
Duration - Transaction
Byte Fee - Unvested
Funds Allowed Withdraw Reasons - Version
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Origin
Caller - Paras
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Paras
Sudo Wrapper Call - Contains a variant per dispatchable extrinsic that this pallet has.
- 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.
- Staker
Status - Representation of the status of a staker.
- Sudo
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Timestamp
Call - Contains a variant per dispatchable extrinsic that this pallet has.
Constants§
- AVERAGE_
ON_ INITIALIZE_ RATIO - We assume that an on-initialize consumes 1% of the weight on average, hence a single extrinsic
will not be allowed to consume more than
AvailableBlockRatio - 1%
. - BABE_
GENESIS_ EPOCH_ CONFIG - The BABE epoch configuration at genesis.
- MAXIMUM_
BLOCK_ WEIGHT - We allow for 2 seconds of compute with a 6 second average block time. The storage proof size is not limited so far.
- NORMAL_
DISPATCH_ RATIO - We allow
Normal
extrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics. - RUNTIME_
API_ VERSIONS - VERSION
- Runtime version (Test).
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
- GetLast
Timestamp
Functions§
- native_
version - Native version.
Type Aliases§
- Address
- The address format for describing accounts.
- 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.
- Authority
Discovery - Authority
Discovery Config - Authorship
- Babe
- Babe
Config - Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- BlockId
BlockId
type as expected by this runtime.- Claims
- Claims
Config - Configuration
- Configuration
Config - Coretime
- Coretime
Assignment Provider - Dmp
- Executive
- Executive: handles dispatch to the various modules.
- Extrinsic
- Grandpa
- Grandpa
Config - Hash
- Header
- Block header type as expected by this runtime.
- Historical
- Hrmp
- Hrmp
Config - Indices
- Indices
Config - Initializer
- Offences
- OnDemand
Assignment Provider - Para
Inclusion - Para
Inherent - Para
Session Info - Paras
- Paras
Config - Paras
Disputes - Paras
Origin - Paras
Shared - Paras
Slashing - Paras
Sudo Wrapper - Scheduler
- Session
- Session
Config - Signed
Block - A Block signed with a Justification
- Signed
Payload - The payload being signed in transactions.
- Staking
- Staking
Config - Sudo
- Sudo
Config - System
- System
Config - Test
Notifier - Timestamp
- Transaction
Payment - Transaction
Payment Config - TxExtension
- The extension to the basic transaction logic.
- Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.
- Unchecked
Signature Payload - Unchecked signature payload type as expected by this runtime.
- Vesting
- Vesting
Config - Xcm
- XcmConfig