Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ShelleyTxAuxData era where
- pattern ShelleyTxAuxData ∷ ∀ era. Era era ⇒ Map Word64 Metadatum → ShelleyTxAuxData era
- data ShelleyTxAuxDataRaw era
- hashShelleyTxAuxData ∷ ShelleyTxAuxData era → SafeHash EraIndependentTxAuxData
- data Metadatum
- validMetadatum ∷ Metadatum → Bool
Documentation
data ShelleyTxAuxData era where Source #
pattern ShelleyTxAuxData ∷ ∀ era. Era era ⇒ Map Word64 Metadatum → ShelleyTxAuxData era |
Instances
data ShelleyTxAuxDataRaw era Source #
Instances
hashShelleyTxAuxData ∷ ShelleyTxAuxData era → SafeHash EraIndependentTxAuxData Source #
Deprecated: In favor of hashAnnotated
Re-exports
A generic metadatum type.
Instances
Generic Metadatum | |
Show Metadatum | |
DecCBOR Metadatum | |
EncCBOR Metadatum | |
NFData Metadatum | |
Defined in Cardano.Ledger.Metadata | |
Eq Metadatum | |
Ord Metadatum | |
Defined in Cardano.Ledger.Metadata | |
NoThunks Metadatum | |
type Rep Metadatum | |
Defined in Cardano.Ledger.Metadata type Rep Metadatum = D1 ('MetaData "Metadatum" "Cardano.Ledger.Metadata" "cardano-ledger-core-1.17.0.0-inplace" 'False) ((C1 ('MetaCons "Map" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Metadatum, Metadatum)])) :+: C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Metadatum]))) :+: (C1 ('MetaCons "I" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Integer)) :+: (C1 ('MetaCons "B" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :+: C1 ('MetaCons "S" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) |
Orphan instances
EraTxAuxData ShelleyEra Source # | |
type TxAuxData ShelleyEra = (r ∷ Type) Source # |