cardano-ledger-shelley-1.20.0.0: Shelley Ledger Executable Model
Safe HaskellNone
LanguageHaskell2010

Cardano.Ledger.Shelley.TxAuxData

Synopsis

Documentation

newtype ShelleyTxAuxData era Source #

Bundled Patterns

pattern ShelleyTxAuxData ∷ Era era ⇒ Map Word64 Metadatum → ShelleyTxAuxData era 

Instances

Instances details
Era era ⇒ FromJSON (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Era era ⇒ ToJSON (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Typeable era ⇒ ToCBOR (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Methods

toCBOR ∷ ShelleyTxAuxData era → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyTxAuxData era) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyTxAuxData era] → Size Source #

Era era ⇒ DecCBOR (Annotator (ShelleyTxAuxData era)) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Era era ⇒ EncCBOR (ShelleyTxAuxData era) Source #

Encodes memoized bytes created upon construction.

Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

SafeToHash (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

EqRaw (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Methods

eqRaw ∷ ShelleyTxAuxData era → ShelleyTxAuxData era → Bool Source #

Memoized (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Associated Types

type RawType (ShelleyTxAuxData era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

NFData (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Methods

rnf ∷ ShelleyTxAuxData era → () #

Generic (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Associated Types

type Rep (ShelleyTxAuxData era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxData era) = D1 ('MetaData "ShelleyTxAuxData" "Cardano.Ledger.Shelley.TxAuxData" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxAuxData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (ShelleyTxAuxDataRaw era)))))

Methods

from ∷ ShelleyTxAuxData era → Rep (ShelleyTxAuxData era) x #

to ∷ Rep (ShelleyTxAuxData era) x → ShelleyTxAuxData era #

Show (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Eq (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Methods

(==) ∷ ShelleyTxAuxData era → ShelleyTxAuxData era → Bool #

(/=) ∷ ShelleyTxAuxData era → ShelleyTxAuxData era → Bool #

NoThunks (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

HashAnnotated (ShelleyTxAuxData era) EraIndependentTxAuxData Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type RawType (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxData era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxData era) = D1 ('MetaData "ShelleyTxAuxData" "Cardano.Ledger.Shelley.TxAuxData" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxAuxData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing ∷ Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (ShelleyTxAuxDataRaw era)))))

newtype ShelleyTxAuxDataRaw era Source #

Instances

Instances details
Era era ⇒ DecCBOR (Annotator (ShelleyTxAuxDataRaw era)) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Era era ⇒ DecCBOR (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Era era ⇒ EncCBOR (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

NFData (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Methods

rnf ∷ ShelleyTxAuxDataRaw era → () #

Generic (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Associated Types

type Rep (ShelleyTxAuxDataRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxDataRaw era) = D1 ('MetaData "ShelleyTxAuxDataRaw" "Cardano.Ledger.Shelley.TxAuxData" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "ShelleyTxAuxDataRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "stadrMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Word64 Metadatum))))
Show (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Eq (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

NoThunks (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type MemoHashIndex (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxDataRaw era) Source # 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

type Rep (ShelleyTxAuxDataRaw era) = D1 ('MetaData "ShelleyTxAuxDataRaw" "Cardano.Ledger.Shelley.TxAuxData" "cardano-ledger-shelley-1.20.0.0-inplace" 'True) (C1 ('MetaCons "ShelleyTxAuxDataRaw" 'PrefixI 'True) (S1 ('MetaSel ('Just "stadrMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Word64 Metadatum))))

Re-exports

data Metadatum Source #

A generic metadatum type.

Constructors

Map ![(Metadatum, Metadatum)] 
List ![Metadatum] 
I !Integer 
B !ByteArray 
S !Text 

Instances

Instances details
FromJSON Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

ToJSON Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

DecCBOR Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

EncCBOR Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

NFData Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

rnf ∷ Metadatum → () #

Generic Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

from ∷ Metadatum → Rep Metadatum x #

to ∷ Rep Metadatum x → Metadatum #

Show Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

showsPrec ∷ Int → Metadatum → ShowS #

show ∷ Metadatum → String #

showList ∷ [Metadatum] → ShowS #

Eq Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

(==) ∷ Metadatum → Metadatum → Bool #

(/=) ∷ Metadatum → Metadatum → Bool #

Ord Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

NoThunks Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

type Rep Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Orphan instances