ouroboros-consensus-cardano-0.25.1.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Cardano.Ledger

Synopsis

Documentation

data CardanoTxOut c Source #

Instances

Instances details
Generic (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

Associated Types

type Rep (CardanoTxOut c) 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

type Rep (CardanoTxOut c) = D1 ('MetaData "CardanoTxOut" "Ouroboros.Consensus.Cardano.Ledger" "ouroboros-consensus-cardano-0.25.1.0-inplace" 'False) ((C1 ('MetaCons "ShelleyTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) ShelleyEra))))) :+: (C1 ('MetaCons "AllegraTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) AllegraEra))))) :+: C1 ('MetaCons "MaryTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) MaryEra))))))) :+: ((C1 ('MetaCons "AlonzoTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) AlonzoEra))))) :+: C1 ('MetaCons "BabbageTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) BabbageEra)))))) :+: (C1 ('MetaCons "ConwayTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) ConwayEra))))) :+: C1 ('MetaCons "DijkstraTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) DijkstraEra))))))))

Methods

fromCardanoTxOut c → Rep (CardanoTxOut c) x #

toRep (CardanoTxOut c) x → CardanoTxOut c #

Show (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

Methods

showsPrecIntCardanoTxOut c → ShowS #

showCardanoTxOut c → String #

showList ∷ [CardanoTxOut c] → ShowS #

Eq (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

Methods

(==)CardanoTxOut c → CardanoTxOut c → Bool #

(/=)CardanoTxOut c → CardanoTxOut c → Bool #

NoThunks (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

CardanoHardForkConstraints c ⇒ IndexedMemPack (LedgerState (HardForkBlock (CardanoEras c)) EmptyMK) (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

type Rep (CardanoTxOut c) Source # 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

type Rep (CardanoTxOut c) = D1 ('MetaData "CardanoTxOut" "Ouroboros.Consensus.Cardano.Ledger" "ouroboros-consensus-cardano-0.25.1.0-inplace" 'False) ((C1 ('MetaCons "ShelleyTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) ShelleyEra))))) :+: (C1 ('MetaCons "AllegraTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) AllegraEra))))) :+: C1 ('MetaCons "MaryTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) MaryEra))))))) :+: ((C1 ('MetaCons "AlonzoTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (TPraos c) AlonzoEra))))) :+: C1 ('MetaCons "BabbageTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) BabbageEra)))))) :+: (C1 ('MetaCons "ConwayTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) ConwayEra))))) :+: C1 ('MetaCons "DijkstraTxOut" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (TxOut (LedgerState (ShelleyBlock (Praos c) DijkstraEra))))))))

eliminateCardanoTxOut ∷ ∀ r c. CardanoHardForkConstraints c ⇒ (∀ x. IsShelleyBlock x ⇒ Index (CardanoEras c) x → TxOut (LedgerState x) → r) → CardanoTxOut c → r Source #

Eliminate the wrapping of CardanoTxOut with the provided function. Similar to hcimap on an NS.

Orphan instances

Show (CanonicalTxIn (CardanoEras c)) Source # 
Instance details

Eq (CanonicalTxIn (CardanoEras c)) Source # 
Instance details

Ord (CanonicalTxIn (CardanoEras c)) Source # 
Instance details

CardanoHardForkConstraints c ⇒ MemPack (CanonicalTxIn (CardanoEras c)) Source # 
Instance details

NoThunks (CanonicalTxIn (CardanoEras c)) Source # 
Instance details

CardanoHardForkConstraints c ⇒ HasCanonicalTxIn (CardanoEras c) Source # 
Instance details

Associated Types

newtype CanonicalTxIn (CardanoEras c) 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

CardanoHardForkConstraints c ⇒ HasHardForkTxOut (CardanoEras c) Source # 
Instance details

Associated Types

type HardForkTxOut (CardanoEras c) 
Instance details

Defined in Ouroboros.Consensus.Cardano.Ledger

CardanoHardForkConstraints c ⇒ SerializeTablesWithHint (LedgerState (HardForkBlock (CardanoEras c))) Source # 
Instance details