| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.Allegra
Contents
Documentation
data AllegraEra Source #
Instances
data family Tx (l ∷ TxLevel) era Source #
Instances
| HasEraTxLevel Tx AllegraEra Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l AllegraEra → STxLevel l AllegraEra Source # | |||||
| HasEraTxLevel Tx ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l ShelleyEra → STxLevel l ShelleyEra Source # | |||||
| TranslateEra AllegraEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Allegra.Translation Associated Types
Methods translateEra ∷ TranslationContext AllegraEra → Tx 'TopTx (PreviousEra AllegraEra) → Except (TranslationError AllegraEra (Tx 'TopTx)) (Tx 'TopTx AllegraEra) Source # | |||||
| EraTx era ⇒ HasOKey TxId (Tx l era) | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l ShelleyEra)) | |||||
| Typeable t ⇒ DecCBOR (Annotator (Tx t AllegraEra)) Source # | |||||
| Typeable l ⇒ ToCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Typeable t ⇒ ToCBOR (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| EncCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| EncCBOR (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| EqRaw (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods eqRaw ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool Source # | |||||
| EqRaw (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods eqRaw ∷ Tx t AllegraEra → Tx t AllegraEra → Bool Source # | |||||
| NFData (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods rnf ∷ Tx l ShelleyEra → () # | |||||
| NFData (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods rnf ∷ Tx t AllegraEra → () # | |||||
| Generic (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Associated Types
Methods from ∷ Tx l ShelleyEra → Rep (Tx l ShelleyEra) x # to ∷ Rep (Tx l ShelleyEra) x → Tx l ShelleyEra # | |||||
| Generic (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx Associated Types
Methods from ∷ Tx t AllegraEra → Rep (Tx t AllegraEra) x # to ∷ Rep (Tx t AllegraEra) x → Tx t AllegraEra # | |||||
| Show (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Show (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| Eq (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods (==) ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool # (/=) ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool # | |||||
| Eq (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods (==) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # (/=) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # | |||||
| Typeable l ⇒ NoThunks (Tx l ShelleyEra) | |||||
| Typeable t ⇒ NoThunks (Tx t AllegraEra) Source # | |||||
| newtype Tx l ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| newtype Tx t AllegraEra Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| type TranslationError AllegraEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Allegra.Translation | |||||
| type Rep (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx type Rep (Tx l ShelleyEra) = D1 ('MetaData "Tx" "Cardano.Ledger.Shelley.Tx" "cardano-ledger-shelley-1.18.0.0-inplace" 'True) (C1 ('MetaCons "MkShelleyTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unShelleyTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyTx l ShelleyEra)))) | |||||
| type Rep (Tx t AllegraEra) Source # | |||||
Defined in Cardano.Ledger.Allegra.Tx type Rep (Tx t AllegraEra) = D1 ('MetaData "Tx" "Cardano.Ledger.Allegra.Tx" "cardano-ledger-allegra-1.9.0.0-inplace" 'True) (C1 ('MetaCons "MkAllegraTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unAllegraTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ShelleyTx t AllegraEra)))) | |||||
data family ApplyTxError era Source #
Instances
| DecCBOR (ApplyTxError AllegraEra) Source # | |
Defined in Cardano.Ledger.Allegra Methods decCBOR ∷ Decoder s (ApplyTxError AllegraEra) Source # dropCBOR ∷ Proxy (ApplyTxError AllegraEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError AllegraEra) → Text Source # | |
| DecCBOR (ApplyTxError ShelleyEra) | |
Defined in Cardano.Ledger.Shelley.API.Mempool Methods decCBOR ∷ Decoder s (ApplyTxError ShelleyEra) Source # dropCBOR ∷ Proxy (ApplyTxError ShelleyEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError ShelleyEra) → Text Source # | |
| EncCBOR (ApplyTxError AllegraEra) Source # | |
Defined in Cardano.Ledger.Allegra Methods | |
| EncCBOR (ApplyTxError ShelleyEra) | |
Defined in Cardano.Ledger.Shelley.API.Mempool Methods | |
| Show (ApplyTxError AllegraEra) Source # | |
Defined in Cardano.Ledger.Allegra Methods showsPrec ∷ Int → ApplyTxError AllegraEra → ShowS # show ∷ ApplyTxError AllegraEra → String # showList ∷ [ApplyTxError AllegraEra] → ShowS # | |
| Show (ApplyTxError ShelleyEra) | |
Defined in Cardano.Ledger.Shelley.API.Mempool Methods showsPrec ∷ Int → ApplyTxError ShelleyEra → ShowS # show ∷ ApplyTxError ShelleyEra → String # showList ∷ [ApplyTxError ShelleyEra] → ShowS # | |
| Eq (ApplyTxError AllegraEra) Source # | |
Defined in Cardano.Ledger.Allegra Methods (==) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # (/=) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # | |
| Eq (ApplyTxError ShelleyEra) | |
Defined in Cardano.Ledger.Shelley.API.Mempool Methods (==) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # (/=) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # | |
| newtype ApplyTxError AllegraEra Source # | |
Defined in Cardano.Ledger.Allegra | |
| newtype ApplyTxError ShelleyEra | |
Defined in Cardano.Ledger.Shelley.API.Mempool | |
Orphan instances
| ApplyTx AllegraEra Source # | |||||
Associated Types
Methods applyTxValidation ∷ ValidationPolicy → Globals → MempoolEnv AllegraEra → MempoolState AllegraEra → Tx 'TopTx AllegraEra → Either (ApplyTxError AllegraEra) (MempoolState AllegraEra, Validated (Tx 'TopTx AllegraEra)) Source # | |||||
| ApplyBlock AllegraEra Source # | |||||
Methods applyBlock ∷ ∀ (ep ∷ EventPolicy). SingEP ep → ValidationPolicy → Globals → NewEpochState AllegraEra → Block BHeaderView AllegraEra → (NewEpochState AllegraEra, [PredicateFailure (EraRule "BBODY" AllegraEra)], [Event (EraRule "BBODY" AllegraEra)]) Source # applyTick ∷ ∀ (ep ∷ EventPolicy). SingEP ep → Globals → NewEpochState AllegraEra → SlotNo → (NewEpochState AllegraEra, [Event (EraRule "TICK" AllegraEra)]) Source # | |||||
| DecCBOR (ApplyTxError AllegraEra) Source # | |||||
Methods decCBOR ∷ Decoder s (ApplyTxError AllegraEra) Source # dropCBOR ∷ Proxy (ApplyTxError AllegraEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError AllegraEra) → Text Source # | |||||
| EncCBOR (ApplyTxError AllegraEra) Source # | |||||
Methods | |||||
| Show (ApplyTxError AllegraEra) Source # | |||||
Methods showsPrec ∷ Int → ApplyTxError AllegraEra → ShowS # show ∷ ApplyTxError AllegraEra → String # showList ∷ [ApplyTxError AllegraEra] → ShowS # | |||||
| Eq (ApplyTxError AllegraEra) Source # | |||||
Methods (==) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # (/=) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # | |||||