| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Cardano.Ledger
Contents
Synopsis
- data CardanoTxOut c
- = ShelleyTxOut !(TxOut (ShelleyBlock (TPraos c) ShelleyEra))
- | AllegraTxOut !(TxOut (ShelleyBlock (TPraos c) AllegraEra))
- | MaryTxOut !(TxOut (ShelleyBlock (TPraos c) MaryEra))
- | AlonzoTxOut !(TxOut (ShelleyBlock (TPraos c) AlonzoEra))
- | BabbageTxOut !(TxOut (ShelleyBlock (Praos c) BabbageEra))
- | ConwayTxOut !(TxOut (ShelleyBlock (Praos c) ConwayEra))
- | DijkstraTxOut !(TxOut (ShelleyBlock (Praos c) DijkstraEra))
- eliminateCardanoTxOut ∷ ∀ r c. CardanoHardForkConstraints c ⇒ (∀ x. IsShelleyBlock x ⇒ Index (CardanoEras c) x → TxOut x → r) → CardanoTxOut c → r
Documentation
data CardanoTxOut c Source #
Constructors
| ShelleyTxOut !(TxOut (ShelleyBlock (TPraos c) ShelleyEra)) | |
| AllegraTxOut !(TxOut (ShelleyBlock (TPraos c) AllegraEra)) | |
| MaryTxOut !(TxOut (ShelleyBlock (TPraos c) MaryEra)) | |
| AlonzoTxOut !(TxOut (ShelleyBlock (TPraos c) AlonzoEra)) | |
| BabbageTxOut !(TxOut (ShelleyBlock (Praos c) BabbageEra)) | |
| ConwayTxOut !(TxOut (ShelleyBlock (Praos c) ConwayEra)) | |
| DijkstraTxOut !(TxOut (ShelleyBlock (Praos c) DijkstraEra)) |
Instances
eliminateCardanoTxOut ∷ ∀ r c. CardanoHardForkConstraints c ⇒ (∀ x. IsShelleyBlock x ⇒ Index (CardanoEras c) x → TxOut x → r) → CardanoTxOut c → r Source #
Orphan instances
| CardanoHardForkConstraints c ⇒ SerializeTablesWithHint LedgerState (HardForkBlock (CardanoEras c)) Source # | |||||
Methods encodeTablesWithHint ∷ LedgerState (HardForkBlock (CardanoEras c)) EmptyMK → LedgerTables (HardForkBlock (CardanoEras c)) ValuesMK → Encoding Source # decodeTablesWithHint ∷ LedgerState (HardForkBlock (CardanoEras c)) EmptyMK → Decoder s (LedgerTables (HardForkBlock (CardanoEras c)) ValuesMK) Source # | |||||
| Eq (CanonicalTxIn (CardanoEras c)) Source # | |||||
Methods (==) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # (/=) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # | |||||
| Ord (CanonicalTxIn (CardanoEras c)) Source # | |||||
Methods compare ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Ordering # (<) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # (<=) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # (>) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # (>=) ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → Bool # max ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) # min ∷ CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) → CanonicalTxIn (CardanoEras c) # | |||||
| Show (CanonicalTxIn (CardanoEras c)) Source # | |||||
Methods showsPrec ∷ Int → CanonicalTxIn (CardanoEras c) → ShowS # show ∷ CanonicalTxIn (CardanoEras c) → String # showList ∷ [CanonicalTxIn (CardanoEras c)] → ShowS # | |||||
| CardanoHardForkConstraints c ⇒ MemPack (CanonicalTxIn (CardanoEras c)) Source # | |||||
Methods packedByteCount ∷ CanonicalTxIn (CardanoEras c) → Int Source # packM ∷ CanonicalTxIn (CardanoEras c) → Pack s () Source # unpackM ∷ Buffer b ⇒ Unpack s b (CanonicalTxIn (CardanoEras c)) Source # | |||||
| NoThunks (CanonicalTxIn (CardanoEras c)) Source # | |||||
Methods noThunks ∷ Context → CanonicalTxIn (CardanoEras c) → IO (Maybe ThunkInfo) Source # wNoThunks ∷ Context → CanonicalTxIn (CardanoEras c) → IO (Maybe ThunkInfo) Source # showTypeOf ∷ Proxy (CanonicalTxIn (CardanoEras c)) → String Source # | |||||
| CardanoHardForkConstraints c ⇒ HasCanonicalTxIn (CardanoEras c) Source # | |||||
Associated Types
Methods injectCanonicalTxIn ∷ Index (CardanoEras c) x → TxIn x → CanonicalTxIn (CardanoEras c) Source # ejectCanonicalTxIn ∷ Index (CardanoEras c) x → CanonicalTxIn (CardanoEras c) → TxIn x Source # | |||||
| CardanoHardForkConstraints c ⇒ HasHardForkTxOut (CardanoEras c) Source # | |||||
Associated Types
Methods injectHardForkTxOut ∷ Index (CardanoEras c) x → TxOut x → HardForkTxOut (CardanoEras c) Source # ejectHardForkTxOut ∷ Index (CardanoEras c) x → HardForkTxOut (CardanoEras c) → TxOut x Source # txOutEjections ∷ NP ((K (NS WrapTxOut (CardanoEras c)) ∷ Type → Type) -.-> WrapTxOut) (CardanoEras c) Source # txOutTranslations ∷ Tails (Fn2 WrapTxOut) (CardanoEras c) Source # | |||||