Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data FromByronTranslationContext c = FromByronTranslationContext {
- fbtcGenDelegs ∷ !(Map (KeyHash 'Genesis c) (GenDelegPair c))
- fbtcProtocolParams ∷ !(PParams (ShelleyEra c))
- fbtcMaxLovelaceSupply ∷ !Word64
- emptyFromByronTranslationContext ∷ Crypto c ⇒ FromByronTranslationContext c
- toFromByronTranslationContext ∷ ShelleyGenesis c → FromByronTranslationContext c
Documentation
data FromByronTranslationContext c Source #
Required data to translate a Byron ledger into a Shelley ledger.
FromByronTranslationContext | |
|
Instances
emptyFromByronTranslationContext ∷ Crypto c ⇒ FromByronTranslationContext c Source #
Trivial FromByronTranslationContext value, for use in cases where we do not need to translate from Byron to Shelley.