Crate seedling_runtime
source ·Expand description
§Seedling Runtime
Seedling is a parachain meant to help parachain auction winners migrate a blockchain from another consensus system into the consensus system of a given Relay Chain.
Modules§
Macros§
- Construct a runtime, with the given name and the given pallets.
- Create new implementations of the
Gettrait.
Structs§
- Time to execute an empty block. Calculated by multiplying the Average with
1.0and adding0. - Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- Const getter for a basic type.
- “OR gate” implementation of
EnsureOriginallowing for differentSuccesstypes forLandR, with them combined using anEithertype. - Time to execute a NO-OP extrinsic, for example
System::remark. Calculated by multiplying the Average with1.0and adding0. - Implementor of
WeightToFeethat maps one unit of weight to one unit of fee. - Trivial utility for implementing
Contains/OrderedMembershipwith aVec. - Provides an implementation of
PalletInfoto 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].
- By default, Substrate uses RocksDB, so this will be the weight used throughout the runtime.
- Implements all runtime apis for the client side.
- The runtime origin type representing the origin of a call.
Enums§
- A generalized group of dispatch types.
- The aggregated runtime call type.
- A reason for placing a freeze on funds.
- A reason for placing a hold on funds.
- An identifier for each lock placed on funds.
- A reason for slashing funds.
- An aggregation of all
Taskenums across all pallets included in the current runtime.
Constants§
- This runtime version.
Traits§
- Complex storage builder stuff.
- A trait that is able to provide randomness.
- A trait for working with macro-generated storage values under the substrate storage API.
Functions§
- Build
GenesisConfigfrom a JSON blob not using any defaults and store it in the storage. For more info refer tosp_genesis_builder::GenesisBuilder::build_state. - Get the default
GenesisConfigas a JSON blob ifnameis None. - The version information used to identify this runtime when compiled natively.
Type Aliases§
- The address format for describing accounts.
- All pallets included in the runtime as a nested tuple of types.
- All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- An Aura authority identifier using S/R 25519 as its crypto.
- Block type as expected by this runtime.
- BlockId type as expected by this runtime.
- An index to a block.
- 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.
- A Block signed with a Justification
- The SignedExtension to the basic transaction logic.
- Unchecked extrinsic type as expected by this runtime.
Attribute Macros§
- This attribute can be used to derive a full implementation of a trait based on a local partial impl and an external impl containing defaults that can be overridden in the local impl.