Modules§
- apis
- configs
- genesis_
config_ presets - 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§
- add_
benchmarks - Calls
add_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on. - list_
benchmarks - Calls
list_benchmark
with all configs fromdefine_benchmarks
and passes the first two parameters on.
Structs§
- Pallet
Info - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - Runtime
- Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Session
Keys
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. - Runtime
View Function - Runtime query type.
- 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§
- BLOCK_
HASH_ COUNT - DAYS
- EXISTENTIAL_
DEPOSIT - Existential deposit.
- HOURS
- MICRO_
UNIT - MILLI_
SECS_ 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()
. - MILLI_
UNIT - MINUTES
- SLOT_
DURATION - UNIT
- VERSION
- WASM_
BINARY - WASM_
BINARY_ BLOATY - WASM_
BINARY_ PATH
Traits§
- Build
Storage - Complex storage builder stuff.
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.
- Aura
- Aura
Config - Balance
- Balance of an account.
- Balances
- Balances
Config - Block
- Block type as expected by this runtime.
- BlockId
- BlockId type as expected by this runtime.
- Block
Number - An index to a block.
- Executive
- Executive: handles dispatch to the various modules.
- Grandpa
- Grandpa
Config - 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.
- 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
Payload - The payload being signed in transactions.
- Sudo
- Sudo
Config - System
- System
Config - Template
- Timestamp
- Transaction
Payment - Transaction
Payment Config - TxExtension
- The
TransactionExtension
to the basic transaction logic. - Unchecked
Extrinsic - Unchecked extrinsic type as expected by this runtime.