| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.Conway
Contents
Synopsis
- data ConwayEra
- hardforkConwayBootstrapPhase ∷ ProtVer → Bool
- hardforkConwayDisallowUnelectedCommitteeFromVoting ∷ ProtVer → Bool
- hardforkConwayDELEGIncorrectDepositsAndRefunds ∷ ProtVer → Bool
- hardforkConwayMoveWithdrawalsAndDRepChecksToLedgerRule ∷ ProtVer → Bool
- data family Tx (l ∷ TxLevel) era
- data family ApplyTxError era
Documentation
Instances
hardforkConwayBootstrapPhase ∷ ProtVer → Bool Source #
Bootstrap phase
hardforkConwayDisallowUnelectedCommitteeFromVoting ∷ ProtVer → Bool Source #
Starting with protocol version 11, we do not allow unelected committee members to submit votes.
hardforkConwayDELEGIncorrectDepositsAndRefunds ∷ ProtVer → Bool Source #
Starting with protocol version 11, we report incorrect deposit and refunds better
hardforkConwayMoveWithdrawalsAndDRepChecksToLedgerRule ∷ ProtVer → Bool Source #
Starting with protocol version 11, we move a predicate check and updates related to DRep dormancy and expiry from CERTS to LEDGER since that is a more suitable place for them.
- updates to drep expiry for all voting dreps
- drep dormancy tracking updates
- withdrawals draining - (split into two)
NOTE: In addition, we split the predicate check for withdrawals into two to make it better: both invalid withdrawals (submitted in the wrong network or with missing account addresss) and incomplete withdrawals were being reported with WithdrawalsNotInRewardsCERTS but now ConwayWithdrawalsMissingAccounts and ConwayIncompleteWithdrawals are the new predicate failures we use to report the two separate cases in LEDGER
data family Tx (l ∷ TxLevel) era Source #
Instances
| HasEraTxLevel Tx AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l AllegraEra → STxLevel l AllegraEra Source # | |||||
| HasEraTxLevel Tx AlonzoEra | |||||
Defined in Cardano.Ledger.Alonzo.Tx | |||||
| HasEraTxLevel Tx BabbageEra | |||||
Defined in Cardano.Ledger.Babbage.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l BabbageEra → STxLevel l BabbageEra Source # | |||||
| HasEraTxLevel Tx ConwayEra Source # | |||||
Defined in Cardano.Ledger.Conway.Tx | |||||
| HasEraTxLevel Tx MaryEra | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
| HasEraTxLevel Tx ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods toSTxLevel ∷ ∀ (l ∷ TxLevel). Tx l ShelleyEra → STxLevel l ShelleyEra Source # | |||||
| TranslateEra AllegraEra (Tx 'TopTx) | |||||
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 # | |||||
| TranslateEra AlonzoEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Alonzo.Translation Associated Types
Methods translateEra ∷ TranslationContext AlonzoEra → Tx 'TopTx (PreviousEra AlonzoEra) → Except (TranslationError AlonzoEra (Tx 'TopTx)) (Tx 'TopTx AlonzoEra) Source # | |||||
| TranslateEra BabbageEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Babbage.Translation Associated Types
Methods translateEra ∷ TranslationContext BabbageEra → Tx 'TopTx (PreviousEra BabbageEra) → Except (TranslationError BabbageEra (Tx 'TopTx)) (Tx 'TopTx BabbageEra) Source # | |||||
| TranslateEra ConwayEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Conway.Translation Associated Types
Methods translateEra ∷ TranslationContext ConwayEra → Tx 'TopTx (PreviousEra ConwayEra) → Except (TranslationError ConwayEra (Tx 'TopTx)) (Tx 'TopTx ConwayEra) Source # | |||||
| TranslateEra MaryEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Mary.Translation Associated Types
Methods translateEra ∷ TranslationContext MaryEra → Tx 'TopTx (PreviousEra MaryEra) → Except (TranslationError MaryEra (Tx 'TopTx)) (Tx 'TopTx MaryEra) Source # | |||||
| EraTx era ⇒ HasOKey TxId (Tx l era) | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l AlonzoEra)) | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l BabbageEra)) | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l ConwayEra)) Source # | |||||
| Typeable l ⇒ DecCBOR (Annotator (Tx l ShelleyEra)) | |||||
| Typeable t ⇒ DecCBOR (Annotator (Tx t AllegraEra)) | |||||
| Typeable t ⇒ DecCBOR (Annotator (Tx t MaryEra)) | |||||
| Typeable l ⇒ ToCBOR (Tx l AlonzoEra) | |||||
| Typeable l ⇒ ToCBOR (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx | |||||
| Typeable l ⇒ ToCBOR (Tx l ConwayEra) Source # | |||||
| Typeable l ⇒ ToCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Typeable t ⇒ ToCBOR (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| Typeable t ⇒ ToCBOR (Tx t MaryEra) | |||||
| EncCBOR (Tx l AlonzoEra) | |||||
| EncCBOR (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx | |||||
| EncCBOR (Tx l ConwayEra) Source # | |||||
| EncCBOR (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| EncCBOR (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| EncCBOR (Tx t MaryEra) | |||||
| EqRaw (Tx l AlonzoEra) | |||||
| EqRaw (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx Methods eqRaw ∷ Tx l BabbageEra → Tx l BabbageEra → Bool Source # | |||||
| EqRaw (Tx l ConwayEra) Source # | |||||
| EqRaw (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods eqRaw ∷ Tx l ShelleyEra → Tx l ShelleyEra → Bool Source # | |||||
| EqRaw (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods eqRaw ∷ Tx t AllegraEra → Tx t AllegraEra → Bool Source # | |||||
| EqRaw (Tx t MaryEra) | |||||
| NFData (Tx l AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo.Tx | |||||
| NFData (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx Methods rnf ∷ Tx l BabbageEra → () # | |||||
| NFData (Tx l ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway.Tx | |||||
| NFData (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx Methods rnf ∷ Tx l ShelleyEra → () # | |||||
| NFData (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods rnf ∷ Tx t AllegraEra → () # | |||||
| NFData (Tx t MaryEra) | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
| Generic (Tx l AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo.Tx Associated Types
| |||||
| Generic (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx Associated Types
Methods from ∷ Tx l BabbageEra → Rep (Tx l BabbageEra) x # to ∷ Rep (Tx l BabbageEra) x → Tx l BabbageEra # | |||||
| Generic (Tx l ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway.Tx Associated Types
| |||||
| 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) | |||||
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 # | |||||
| Generic (Tx t MaryEra) | |||||
Defined in Cardano.Ledger.Mary.Tx Associated Types
| |||||
| Show (Tx l AlonzoEra) | |||||
| Show (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx | |||||
| Show (Tx l ConwayEra) Source # | |||||
| Show (Tx l ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| Show (Tx t AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| Show (Tx t MaryEra) | |||||
| Eq (Tx l AlonzoEra) | |||||
| Eq (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx Methods (==) ∷ Tx l BabbageEra → Tx l BabbageEra → Bool # (/=) ∷ Tx l BabbageEra → Tx l BabbageEra → Bool # | |||||
| Eq (Tx l ConwayEra) Source # | |||||
| 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) | |||||
Defined in Cardano.Ledger.Allegra.Tx Methods (==) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # (/=) ∷ Tx t AllegraEra → Tx t AllegraEra → Bool # | |||||
| Eq (Tx t MaryEra) | |||||
| Typeable l ⇒ NoThunks (Tx l AlonzoEra) | |||||
| Typeable l ⇒ NoThunks (Tx l BabbageEra) | |||||
| Typeable l ⇒ NoThunks (Tx l ConwayEra) Source # | |||||
| Typeable l ⇒ NoThunks (Tx l ShelleyEra) | |||||
| Typeable t ⇒ NoThunks (Tx t AllegraEra) | |||||
| Typeable t ⇒ NoThunks (Tx t MaryEra) | |||||
| newtype Tx l AlonzoEra | |||||
Defined in Cardano.Ledger.Alonzo.Tx | |||||
| newtype Tx l BabbageEra | |||||
Defined in Cardano.Ledger.Babbage.Tx | |||||
| newtype Tx l ConwayEra Source # | |||||
Defined in Cardano.Ledger.Conway.Tx | |||||
| newtype Tx l ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.Tx | |||||
| newtype Tx t AllegraEra | |||||
Defined in Cardano.Ledger.Allegra.Tx | |||||
| newtype Tx t MaryEra | |||||
| type TranslationError AllegraEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Allegra.Translation | |||||
| type TranslationError AlonzoEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Alonzo.Translation | |||||
| type TranslationError BabbageEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Babbage.Translation | |||||
| type TranslationError ConwayEra (Tx 'TopTx) Source # | |||||
Defined in Cardano.Ledger.Conway.Translation | |||||
| type TranslationError MaryEra (Tx 'TopTx) | |||||
Defined in Cardano.Ledger.Mary.Translation | |||||
| type Rep (Tx l AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo.Tx | |||||
| type Rep (Tx l BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage.Tx type Rep (Tx l BabbageEra) = D1 ('MetaData "Tx" "Cardano.Ledger.Babbage.Tx" "cardano-ledger-babbage-1.13.0.0-inplace" 'True) (C1 ('MetaCons "MkBabbageTx" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBabbageTx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (AlonzoTx l BabbageEra)))) | |||||
| type Rep (Tx l ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway.Tx | |||||
| 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) | |||||
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)))) | |||||
| type Rep (Tx t MaryEra) | |||||
Defined in Cardano.Ledger.Mary.Tx | |||||
data family ApplyTxError era Source #
Instances
| DecCBOR (ApplyTxError AllegraEra) | |||||
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 AlonzoEra) | |||||
| DecCBOR (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Methods decCBOR ∷ Decoder s (ApplyTxError BabbageEra) Source # dropCBOR ∷ Proxy (ApplyTxError BabbageEra) → Decoder s () Source # label ∷ Proxy (ApplyTxError BabbageEra) → Text Source # | |||||
| DecCBOR (ApplyTxError ConwayEra) Source # | |||||
| DecCBOR (ApplyTxError MaryEra) | |||||
| 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) | |||||
Defined in Cardano.Ledger.Allegra Methods | |||||
| EncCBOR (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo | |||||
| EncCBOR (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Methods | |||||
| EncCBOR (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway | |||||
| EncCBOR (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary | |||||
| EncCBOR (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods | |||||
| Semigroup (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods (<>) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → ApplyTxError AllegraEra # sconcat ∷ NonEmpty (ApplyTxError AllegraEra) → ApplyTxError AllegraEra # stimes ∷ Integral b ⇒ b → ApplyTxError AllegraEra → ApplyTxError AllegraEra # | |||||
| Semigroup (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo Methods (<>) ∷ ApplyTxError AlonzoEra → ApplyTxError AlonzoEra → ApplyTxError AlonzoEra # sconcat ∷ NonEmpty (ApplyTxError AlonzoEra) → ApplyTxError AlonzoEra # stimes ∷ Integral b ⇒ b → ApplyTxError AlonzoEra → ApplyTxError AlonzoEra # | |||||
| Semigroup (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Methods (<>) ∷ ApplyTxError BabbageEra → ApplyTxError BabbageEra → ApplyTxError BabbageEra # sconcat ∷ NonEmpty (ApplyTxError BabbageEra) → ApplyTxError BabbageEra # stimes ∷ Integral b ⇒ b → ApplyTxError BabbageEra → ApplyTxError BabbageEra # | |||||
| Semigroup (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway Methods (<>) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → ApplyTxError ConwayEra # sconcat ∷ NonEmpty (ApplyTxError ConwayEra) → ApplyTxError ConwayEra # stimes ∷ Integral b ⇒ b → ApplyTxError ConwayEra → ApplyTxError ConwayEra # | |||||
| Semigroup (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary Methods (<>) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → ApplyTxError MaryEra # sconcat ∷ NonEmpty (ApplyTxError MaryEra) → ApplyTxError MaryEra # stimes ∷ Integral b ⇒ b → ApplyTxError MaryEra → ApplyTxError MaryEra # | |||||
| Semigroup (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods (<>) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → ApplyTxError ShelleyEra # sconcat ∷ NonEmpty (ApplyTxError ShelleyEra) → ApplyTxError ShelleyEra # stimes ∷ Integral b ⇒ b → ApplyTxError ShelleyEra → ApplyTxError ShelleyEra # | |||||
| Generic (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Associated Types
Methods from ∷ ApplyTxError AllegraEra → Rep (ApplyTxError AllegraEra) x # to ∷ Rep (ApplyTxError AllegraEra) x → ApplyTxError AllegraEra # | |||||
| Generic (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo Associated Types
Methods from ∷ ApplyTxError AlonzoEra → Rep (ApplyTxError AlonzoEra) x # to ∷ Rep (ApplyTxError AlonzoEra) x → ApplyTxError AlonzoEra # | |||||
| Generic (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Associated Types
Methods from ∷ ApplyTxError BabbageEra → Rep (ApplyTxError BabbageEra) x # to ∷ Rep (ApplyTxError BabbageEra) x → ApplyTxError BabbageEra # | |||||
| Generic (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway Associated Types
Methods from ∷ ApplyTxError ConwayEra → Rep (ApplyTxError ConwayEra) x # to ∷ Rep (ApplyTxError ConwayEra) x → ApplyTxError ConwayEra # | |||||
| Generic (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary Associated Types
Methods from ∷ ApplyTxError MaryEra → Rep (ApplyTxError MaryEra) x # to ∷ Rep (ApplyTxError MaryEra) x → ApplyTxError MaryEra # | |||||
| Generic (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Associated Types
Methods from ∷ ApplyTxError ShelleyEra → Rep (ApplyTxError ShelleyEra) x # to ∷ Rep (ApplyTxError ShelleyEra) x → ApplyTxError ShelleyEra # | |||||
| Show (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra Methods showsPrec ∷ Int → ApplyTxError AllegraEra → ShowS # show ∷ ApplyTxError AllegraEra → String # showList ∷ [ApplyTxError AllegraEra] → ShowS # | |||||
| Show (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo | |||||
| Show (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Methods showsPrec ∷ Int → ApplyTxError BabbageEra → ShowS # show ∷ ApplyTxError BabbageEra → String # showList ∷ [ApplyTxError BabbageEra] → ShowS # | |||||
| Show (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway | |||||
| Show (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary | |||||
| 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) | |||||
Defined in Cardano.Ledger.Allegra Methods (==) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # (/=) ∷ ApplyTxError AllegraEra → ApplyTxError AllegraEra → Bool # | |||||
| Eq (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo Methods (==) ∷ ApplyTxError AlonzoEra → ApplyTxError AlonzoEra → Bool # (/=) ∷ ApplyTxError AlonzoEra → ApplyTxError AlonzoEra → Bool # | |||||
| Eq (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage Methods (==) ∷ ApplyTxError BabbageEra → ApplyTxError BabbageEra → Bool # (/=) ∷ ApplyTxError BabbageEra → ApplyTxError BabbageEra → Bool # | |||||
| Eq (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway Methods (==) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → Bool # (/=) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → Bool # | |||||
| Eq (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary Methods (==) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # (/=) ∷ ApplyTxError MaryEra → ApplyTxError MaryEra → Bool # | |||||
| Eq (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool Methods (==) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # (/=) ∷ ApplyTxError ShelleyEra → ApplyTxError ShelleyEra → Bool # | |||||
| Inject (NonEmpty (ConwayLedgerPredFailure ConwayEra)) (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway Methods inject ∷ NonEmpty (ConwayLedgerPredFailure ConwayEra) → ApplyTxError ConwayEra Source # | |||||
| newtype ApplyTxError AllegraEra | |||||
Defined in Cardano.Ledger.Allegra | |||||
| newtype ApplyTxError AlonzoEra | |||||
Defined in Cardano.Ledger.Alonzo | |||||
| newtype ApplyTxError BabbageEra | |||||
Defined in Cardano.Ledger.Babbage | |||||
| newtype ApplyTxError ConwayEra Source # | |||||
Defined in Cardano.Ledger.Conway | |||||
| newtype ApplyTxError MaryEra | |||||
Defined in Cardano.Ledger.Mary | |||||
| newtype ApplyTxError ShelleyEra | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool | |||||
| type Rep (ApplyTxError AllegraEra) | |||||
Defined in Cardano.Ledger.Allegra | |||||
| type Rep (ApplyTxError AlonzoEra) | |||||
Defined in Cardano.Ledger.Alonzo | |||||
| type Rep (ApplyTxError BabbageEra) | |||||
Defined in Cardano.Ledger.Babbage | |||||
| type Rep (ApplyTxError ConwayEra) Source # | |||||
Defined in Cardano.Ledger.Conway | |||||
| type Rep (ApplyTxError MaryEra) | |||||
Defined in Cardano.Ledger.Mary | |||||
| type Rep (ApplyTxError ShelleyEra) | |||||
Defined in Cardano.Ledger.Shelley.API.Mempool | |||||
Orphan instances
| RunConwayRatify ConwayEra Source # | |||||
Methods runConwayRatify ∷ Globals → RatifyEnv ConwayEra → RatifyState ConwayEra → RatifySignal ConwayEra → RatifyState ConwayEra Source # | |||||
| ApplyTx ConwayEra Source # | |||||
Associated Types
Methods applyTxValidation ∷ ValidationPolicy → Globals → MempoolEnv ConwayEra → MempoolState ConwayEra → Tx 'TopTx ConwayEra → Either (ApplyTxError ConwayEra) (MempoolState ConwayEra, Validated (Tx 'TopTx ConwayEra)) Source # | |||||
| ApplyBlock ConwayEra Source # | |||||
Methods applyBlock ∷ ∀ (ep ∷ EventPolicy). SingEP ep → ValidationPolicy → Globals → NewEpochState ConwayEra → Block BHeaderView ConwayEra → (NewEpochState ConwayEra, [PredicateFailure (EraRule "BBODY" ConwayEra)], [Event (EraRule "BBODY" ConwayEra)]) Source # applyTick ∷ ∀ (ep ∷ EventPolicy). SingEP ep → Globals → NewEpochState ConwayEra → SlotNo → (NewEpochState ConwayEra, [Event (EraRule "TICK" ConwayEra)]) Source # | |||||
| DecCBOR (ApplyTxError ConwayEra) Source # | |||||
| EncCBOR (ApplyTxError ConwayEra) Source # | |||||
| Semigroup (ApplyTxError ConwayEra) Source # | |||||
Methods (<>) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → ApplyTxError ConwayEra # sconcat ∷ NonEmpty (ApplyTxError ConwayEra) → ApplyTxError ConwayEra # stimes ∷ Integral b ⇒ b → ApplyTxError ConwayEra → ApplyTxError ConwayEra # | |||||
| Generic (ApplyTxError ConwayEra) Source # | |||||
Associated Types
Methods from ∷ ApplyTxError ConwayEra → Rep (ApplyTxError ConwayEra) x # to ∷ Rep (ApplyTxError ConwayEra) x → ApplyTxError ConwayEra # | |||||
| Show (ApplyTxError ConwayEra) Source # | |||||
| Eq (ApplyTxError ConwayEra) Source # | |||||
Methods (==) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → Bool # (/=) ∷ ApplyTxError ConwayEra → ApplyTxError ConwayEra → Bool # | |||||
| Inject (NonEmpty (ConwayLedgerPredFailure ConwayEra)) (ApplyTxError ConwayEra) Source # | |||||
Methods inject ∷ NonEmpty (ConwayLedgerPredFailure ConwayEra) → ApplyTxError ConwayEra Source # | |||||