Crate frontier_template_runtime

Source
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§

BaseFeeThreshold
BlockGasLimit
BlockHashCount
BlockLength
BlockWeights
BoundDivision
ConsensusOnTimestampSet
DefaultBaseFeePerGas
DefaultElasticity
EnableManualSeal
FindAuthorTruncated
GasLimitPovSizeRatio
GasLimitStorageGrowthRatio
PalletInfo
Provides an implementation of PalletInfo to provide information about the pallet setup in the runtime.
PostBlockAndTxnHashes
PrecompilesValue
Runtime
RuntimeApi
RuntimeApiImpl
Implements all runtime apis for the client side.
RuntimeGenesisConfig
RuntimeOrigin
The runtime origin type representing the origin of a call.
SS58Prefix
TransactionConverter
Version
WeightPerGas

Enums§

BalancesCall
Contains a variant per dispatchable extrinsic that this pallet has.
OriginCaller
RuntimeCall
The aggregated runtime call type.
RuntimeError
RuntimeEvent
RuntimeFreezeReason
A reason for placing a freeze on funds.
RuntimeHoldReason
A reason for placing a hold on funds.
RuntimeLockId
An identifier for each lock placed on funds.
RuntimeSlashReason
A reason for slashing funds.
RuntimeTask
An aggregation of all Task enums across all pallets included in the current runtime.
SystemCall
Contains a variant per dispatchable extrinsic that this pallet has.
TimestampCall
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§

AccountId
Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
AccountIndex
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.
AllPalletsWithSystem
All pallets included in the runtime as a nested tuple of types.
AllPalletsWithoutSystem
All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
Aura
AuraConfig
Balance
Balance of an account.
Balances
BalancesConfig
BaseFee
BaseFeeConfig
Block
Block type as expected by this runtime.
BlockId
BlockId type as expected by this runtime.
BlockNumber
Type of block number.
CheckedExtrinsic
Extrinsic type that has already been checked.
DigestItem
Digest item type.
EVM
EVMChainId
EVMChainIdConfig
EVMConfig
Ethereum
EthereumConfig
Executive
Executive: handles dispatch to the various modules.
Grandpa
GrandpaConfig
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.
ManualSeal
ManualSealConfig
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.
SignedBlock
A Block signed with a Justification
SignedExtra
The SignedExtension to the basic transaction logic.
SignedPayload
The payload being signed in transactions.
Sudo
SudoConfig
System
SystemConfig
Timestamp
TransactionPayment
TransactionPaymentConfig
UncheckedExtrinsic
Unchecked extrinsic type as expected by this runtime.