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

Cardano.Ledger.Shelley.TxAuxData

Synopsis

Documentation

newtype ShelleyTxAuxData era Source #

Bundled Patterns

pattern ShelleyTxAuxDataEra era ⇒ Map Word64 MetadatumShelleyTxAuxData 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

toCBORShelleyTxAuxData 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

eqRawShelleyTxAuxData 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

rnfShelleyTxAuxData 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.19.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxAuxData" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (MemoBytes (ShelleyTxAuxDataRaw era)))))

Methods

fromShelleyTxAuxData era → Rep (ShelleyTxAuxData era) x #

toRep (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.19.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTxAuxData" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe 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

rnfShelleyTxAuxDataRaw 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.19.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.19.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

rnfMetadatum → () #

Generic Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

fromMetadatumRep Metadatum x #

toRep Metadatum x → Metadatum #

Show Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

showsPrecIntMetadatumShowS #

showMetadatumString #

showList ∷ [Metadatum] → ShowS #

Eq Metadatum 
Instance details

Defined in Cardano.Ledger.Metadata

Methods

(==)MetadatumMetadatumBool #

(/=)MetadatumMetadatumBool #

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