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.
Macros§
- construct_
runtime - Construct a runtime, with the given name and the given pallets.
- parameter_
types - Create new implementations of the
Get
trait.
Structs§
- AsEnsure
Origin With Arg - Block
Execution Weight - Time to execute an empty block.
Calculated by multiplying the Average with
1.0
and adding0
. - Block
Hash Count - Const
Bool - Const getter for a basic type.
- ConstU8
- Const getter for a basic type.
- Const
U32 - Const getter for a basic type.
- Const
U128 - Const getter for a basic type.
- Extrinsic
Base Weight - Time to execute a NO-OP extrinsic, for example
System::remark
. Calculated by multiplying the Average with1.0
and adding0
. - Identity
Fee - Implementor of
WeightToFee
that maps one unit of weight to one unit of fee. - MaxLocks
- MaxReserves
- Minimum
Period - Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Perbill
- A fixed point representation of a number in the range [0, 1].
- Permill
- A fixed point representation of a number in the range [0, 1].
- 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
Block Length - Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- SS58
Prefix - Storage
Info - Metadata about storage from the runtime.
- Uncle
Generations - Version
- Weight
Enums§
- Balances
Call - Contains a variant per dispatchable extrinsic that this pallet has.
- Origin
Caller - Runtime
Call - 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§
- EXISTENTIAL_
DEPOSIT - RUNTIME_
API_ VERSIONS - VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WEIGHT_
REF_ TIME_ PER_ SECOND
Traits§
- Build
Storage - Complex storage builder stuff.
- KeyOwner
Proof System - Something which can compute and check proofs of a historical key owner and return full identification data of that key owner.
- Randomness
- A trait that is able to provide randomness.
- Storage
Value - A trait for working with macro-generated storage values under the substrate storage API.
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.
- 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.
- Assets
- Assets
Config - Authorship
- Balance
- Balance of an account.
- Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- Block
Number - An index to a block.
- Contracts
- Executive
- Executive: handles dispatch to the various modules.
- Hash
- A hash of some data used by the chain.
- Header
- Block header type as expected by this runtime.
- Nonce
- Index of a transaction in the chain.
- Ordinals
Module - Randomness
Collective Flip - Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- 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.
- Utility