Expand description
The Substrate Node Template runtime. This can be compiled with #[no_std]
, ready for Wasm.
Modules§
- api
- 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.
- pallet_
manual_ seal - The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Base
FeeThreshold - Block
GasLimit - Block
Hash Count - Block
Length - Block
Weights - Bound
Division - Consensus
OnTimestamp Set - Default
Base FeePer Gas - Default
Elasticity - Enable
Manual Seal - Find
Author Truncated - GasLimit
PovSize Ratio - GasLimit
Storage Growth Ratio - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Post
Block AndTxn Hashes - Precompiles
Value - 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 - Transaction
Converter - Version
- Weight
PerGas
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Origin
Caller - 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. - System
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Timestamp
Call - Contains a variant per dispatchable extrinsic that this pallet has.
Constants§
- DAYS
- EXISTENTIAL_
DEPOSIT - HOURS
- MAXIMUM_
BLOCK_ LENGTH - MAXIMUM_
BLOCK_ WEIGHT - MILLISECS_
PER_ BLOCK - MINUTES
- RUNTIME_
API_ VERSIONS - SLOT_
DURATION - VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH - WEIGHT_
MILLISECS_ PER_ BLOCK - We allow for 2000ms of compute with a 6 second average block time.
Functions§
- native_
version - The version information used to identify this runtime when compiled natively.
Type Aliases§
- Account
Id - Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- Account
Index - The type for looking up accounts. We don’t expect more than 4 billion of them, but you never know…
- 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.
- Aura
- Aura
Config - Balance
- Balance of an account.
- Balances
- Balances
Config - BaseFee
- Base
FeeConfig - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - Type of block number.
- Checked
Extrinsic - Extrinsic type that has already been checked.
- Digest
Item - Digest item type.
- EVM
- EVMChain
Id - EVMChain
IdConfig - EVMConfig
- Ethereum
- Ethereum
Config - Executive
- Executive: handles dispatch to the various modules.
- Grandpa
- Grandpa
Config - Hash
- A hash of some data used by the chain.
- Hashing
- The hashing algorithm used by the chain.
- Header
- Block header type as expected by this runtime.
- Manual
Seal - Manual
Seal Config - Nonce
- Index of a transaction in the chain.
- Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- Signed
Block - A Block signed with a Justification
- Signed
Extra - The SignedExtension to the basic transaction logic.
- Signed
Payload - The payload being signed in transactions.
- Sudo
- Sudo
Config - System
- System
Config - Timestamp
- Transaction
Payment - Transaction
Payment Config - Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.