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 ∷ Era era ⇒ ShelleyTxAuxData era → SafeHash (EraCrypto era) 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 ∷ Era era ⇒ ShelleyTxAuxData era → SafeHash (EraCrypto era) EraIndependentTxAuxData Source #
Re-exports
A generic metadatum type.
Instances
Orphan instances
Crypto c ⇒ EraTxAuxData (ShelleyEra c) Source # | |
type TxAuxData (ShelleyEra c) = (r ∷ Type) Source # mkBasicTxAuxData ∷ TxAuxData (ShelleyEra c) Source # metadataTxAuxDataL ∷ Lens' (TxAuxData (ShelleyEra c)) (Map Word64 Metadatum) Source # upgradeTxAuxData ∷ TxAuxData (PreviousEra (ShelleyEra c)) → TxAuxData (ShelleyEra c) Source # hashTxAuxData ∷ TxAuxData (ShelleyEra c) → AuxiliaryDataHash (EraCrypto (ShelleyEra c)) Source # validateTxAuxData ∷ ProtVer → TxAuxData (ShelleyEra c) → Bool Source # |