Crate hashed_parachain_runtime
source ·Re-exports
pub use pallet_template;
Modules
- 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.
Structs
- Implements the transaction payment for a pallet implementing the
Currency
trait (eg. the pallet_balances) using an unbalance handler (implementingOnUnbalanced
). - Provides an implementation of
PalletInfo
to provide information about the pallet setup in the runtime. - A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
- A fixed point representation of a number in the range [0, 1].
- Implements all runtime apis for the client side.
- The runtime origin type representing the origin of a call.
- A struct to update the weight multiplier per block. It implements
Convert<Multiplier, Multiplier>
, meaning that it can convert the previous multiplier to the next one. This should be called onon_finalize
of a block, prior to potentially cleaning the weight data from the system pallet. - Relay Chain
TransactionByteFee
/ 10 - Handles converting a weight scalar to a fee value, based on the scale and granularity of the node’s balance type.
Enums
- A multi-format address wrapper for on-chain accounts.
- The type used to represent the kinds of proxying allowed.
Constants
- The existential deposit. Set to 1/10 of the Connected Relay Chain.
- 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()
.
Traits
- Complex storage builder stuff.
Functions
- The version information used to identify this runtime when compiled natively.
Type Definitions
- Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- The address format for describing accounts.
- AllPalletsDeprecatedAll pallets included in the runtime as a nested tuple of types.
- AllPalletsReversedWithSystemFirstDeprecatedAll pallets included in the runtime as a nested tuple of types in reversed order. With the system pallet first.
- All pallets included in the runtime as a nested tuple of types.
- AllPalletsWithSystemReversedDeprecatedAll pallets included in the runtime as a nested tuple of types in reversed order.
- All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- AllPalletsWithoutSystemReversedDeprecatedAll pallets included in the runtime as a nested tuple of types in reversed order. Excludes the System pallet.
- An Aura authority identifier using S/R 25519 as its crypto.
- Balance of an account.
- Block type as expected by this runtime.
- BlockId type as expected by this runtime.
- An index to a block.
- Extrinsic type that has already been checked.
- Executive: handles dispatch to the various modules.
- A hash of some data used by the chain.
- Block header type as expected by this runtime.
- Index of a transaction in the chain.
- All migrations that will run on the next runtime upgrade.
- Fee multiplier.
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- A Block signed with a Justification
- The SignedExtension to the basic transaction logic.
- The payload being signed in transactions.
- Unchecked extrinsic type as expected by this runtime.