Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data FromByronTranslationContext Source #
Required data to translate a Byron ledger into a Shelley ledger.
Instances
Generic FromByronTranslationContext Source # | |
Show FromByronTranslationContext Source # | |
Eq FromByronTranslationContext Source # | |
NoThunks FromByronTranslationContext Source # | |
type Rep FromByronTranslationContext Source # | |
Defined in Cardano.Ledger.Shelley.Translation type Rep FromByronTranslationContext = D1 ('MetaData "FromByronTranslationContext" "Cardano.Ledger.Shelley.Translation" "cardano-ledger-shelley-1.16.0.0-inplace" 'False) (C1 ('MetaCons "FromByronTranslationContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "fbtcGenDelegs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map (KeyHash 'Genesis) GenDelegPair)) :*: (S1 ('MetaSel ('Just "fbtcProtocolParams") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PParams ShelleyEra)) :*: S1 ('MetaSel ('Just "fbtcMaxLovelaceSupply") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))) |
emptyFromByronTranslationContext ∷ FromByronTranslationContext Source #
Trivial FromByronTranslationContext value, for use in cases where we do not need to translate from Byron to Shelley.