Module mithril_common::era
source · Expand description
The module used for handling eras
Modules§
- Module dedicated to EraReaderAdapter implementations.
Structs§
- EraChecker allows the verification of the current era
- This is a response from the EraReader. It contains EraMarkers read from the adapter. It can try to cast the given markers to SupportedEras.
- Value object that represents a tag of Era change.
- The EraReader is responsible of giving the current Era and the Era to come. It uses an EraReaderAdapter to read data from a backend.
- An iterator over the variants of SupportedEra
Enums§
- Error type when EraReader fails to return a EraEpochToken.
- The era that the software is running or will run
Traits§
- Adapters are responsible of technically reading the information of EraMarkers from a backend.