cardano-ledger-babbage-1.11.0.0: Cardano ledger introducing refrence scripts and inline datums
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Babbage.Rules

Synopsis

Documentation

data BabbageLEDGER c Source #

Instances

Instances details
(AlonzoEraTx era, EraGov era, Embed (EraRule "DELEGS" era) (BabbageLEDGER era), Embed (EraRule "UTXOW" era) (BabbageLEDGER era), Environment (EraRule "UTXOW" era) ~ UtxoEnv era, State (EraRule "UTXOW" era) ~ UTxOState era, Signal (EraRule "UTXOW" era) ~ Tx era, Environment (EraRule "DELEGS" era) ~ DelegsEnv era, State (EraRule "DELEGS" era) ~ CertState era, Signal (EraRule "DELEGS" era) ~ Seq (TxCert era), ProtVerAtMost era 8) ⇒ STS (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

(Era era, STS (BabbageLEDGER era), PredicateFailure (EraRule "LEDGER" era) ~ ShelleyLedgerPredFailure era, Event (EraRule "LEDGER" era) ~ ShelleyLedgerEvent era) ⇒ Embed (BabbageLEDGER era) (ShelleyLEDGERS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

(Era era, STS (BabbageUTXOW era), Event (EraRule "UTXOW" era) ~ AlonzoUtxowEvent era, PredicateFailure (EraRule "UTXOW" era) ~ BabbageUtxowPredFailure era) ⇒ Embed (BabbageUTXOW era) (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

(Era era, STS (ShelleyDELEGS era), PredicateFailure (EraRule "DELEGS" era) ~ ShelleyDelegsPredFailure era, Event (EraRule "DELEGS" era) ~ ShelleyDelegsEvent era) ⇒ Embed (ShelleyDELEGS era) (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type BaseM (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type Environment (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type Event (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type PredicateFailure (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type Signal (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type Signal (BabbageLEDGER era) = Tx era
type State (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

data BabbageUTXO era Source #

Instances

Instances details
(EraTx era, EraUTxO era, BabbageEraTxBody era, AlonzoEraTxWits era, Tx era ~ AlonzoTx era, EraRule "UTXO" era ~ BabbageUTXO era, InjectRuleFailure "UTXO" ShelleyUtxoPredFailure era, InjectRuleFailure "UTXO" AllegraUtxoPredFailure era, InjectRuleFailure "UTXO" AlonzoUtxoPredFailure era, InjectRuleFailure "UTXO" BabbageUtxoPredFailure era, Embed (EraRule "UTXOS" era) (BabbageUTXO era), Environment (EraRule "UTXOS" era) ~ UtxoEnv era, State (EraRule "UTXOS" era) ~ UTxOState era, Signal (EraRule "UTXOS" era) ~ Tx era) ⇒ STS (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Associated Types

type State (BabbageUTXO era) Source #

type Signal (BabbageUTXO era) Source #

type Environment (BabbageUTXO era) Source #

type BaseM (BabbageUTXO era) ∷ TypeType Source #

type Event (BabbageUTXO era) Source #

type PredicateFailure (BabbageUTXO era) Source #

(Era era, STS (BabbageUTXO era), PredicateFailure (EraRule "UTXO" era) ~ BabbageUtxoPredFailure era, Event (EraRule "UTXO" era) ~ AlonzoUtxoEvent era, BaseM (BabbageUTXOW era) ~ ShelleyBase, PredicateFailure (BabbageUTXOW era) ~ BabbageUtxowPredFailure era, Event (BabbageUTXOW era) ~ AlonzoUtxowEvent era) ⇒ Embed (BabbageUTXO era) (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(Era era, STS (BabbageUTXOS era), PredicateFailure (EraRule "UTXOS" era) ~ AlonzoUtxosPredFailure era, Event (EraRule "UTXOS" era) ~ Event (BabbageUTXOS era)) ⇒ Embed (BabbageUTXOS era) (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type BaseM (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Environment (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Event (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type PredicateFailure (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Signal (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Signal (BabbageUTXO era) = AlonzoTx era
type State (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type State (BabbageUTXO era) = UTxOState era

data BabbageUtxoPredFailure era Source #

Predicate failure for the Babbage Era

Constructors

AlonzoInBabbageUtxoPredFailure !(AlonzoUtxoPredFailure era) 
IncorrectTotalCollateralField

The collateral is not equivalent to the total collateral asserted by the transaction

Fields

  • !DeltaCoin

    collateral provided

  • !Coin

    collateral amount declared in transaction body

BabbageOutputTooSmallUTxO ![(TxOut era, Coin)]

list of supplied transaction outputs that are too small, together with the minimum value for the given output.

BabbageNonDisjointRefInputs !(NonEmpty TxIn)

TxIns that appear in both inputs and reference inputs

Instances

Instances details
InjectRuleFailure "BBODY" BabbageUtxoPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Bbody

InjectRuleFailure "LEDGER" BabbageUtxoPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

InjectRuleFailure "LEDGERS" BabbageUtxoPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledgers

InjectRuleFailure "UTXO" BabbageUtxoPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

InjectRuleFailure "UTXOW" BabbageUtxoPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Generic (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Associated Types

type Rep (BabbageUtxoPredFailure era) ∷ TypeType Source #

(Era era, Show (AlonzoUtxoPredFailure era), Show (PredicateFailure (EraRule "UTXO" era)), Show (TxOut era), Show (Script era), Show TxIn) ⇒ Show (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

(Era era, DecCBOR (TxOut era), EncCBOR (Value era), DecCBOR (Value era), DecCBOR (PredicateFailure (EraRule "UTXOS" era)), DecCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (TxAuxData era)) ⇒ DecCBOR (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

(Era era, EncCBOR (TxOut era), EncCBOR (Value era), EncCBOR (PredicateFailure (EraRule "UTXOS" era)), EncCBOR (PredicateFailure (EraRule "UTXO" era)), EncCBOR (Script era), EncCBOR TxIn, Typeable (TxAuxData era)) ⇒ EncCBOR (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

(Era era, NFData (Value era), NFData (TxOut era), NFData (PredicateFailure (EraRule "UTXOS" era))) ⇒ NFData (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Methods

rnfBabbageUtxoPredFailure era → () Source #

(Era era, Eq (AlonzoUtxoPredFailure era), Eq (PredicateFailure (EraRule "UTXO" era)), Eq (TxOut era), Eq (Script era), Eq TxIn) ⇒ Eq (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

NoThunks (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Rep (BabbageUtxoPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

type Rep (BabbageUtxoPredFailure era) = D1 ('MetaData "BabbageUtxoPredFailure" "Cardano.Ledger.Babbage.Rules.Utxo" "cardano-ledger-babbage-1.11.0.0-inplace" 'False) ((C1 ('MetaCons "AlonzoInBabbageUtxoPredFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (AlonzoUtxoPredFailure era))) :+: C1 ('MetaCons "IncorrectTotalCollateralField" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DeltaCoin) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Coin))) :+: (C1 ('MetaCons "BabbageOutputTooSmallUTxO" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(TxOut era, Coin)])) :+: C1 ('MetaCons "BabbageNonDisjointRefInputs" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (NonEmpty TxIn)))))

utxoTransition ∷ ∀ era. (EraUTxO era, BabbageEraTxBody era, AlonzoEraTxWits era, Tx era ~ AlonzoTx era, InjectRuleFailure "UTXO" ShelleyUtxoPredFailure era, InjectRuleFailure "UTXO" AllegraUtxoPredFailure era, InjectRuleFailure "UTXO" AlonzoUtxoPredFailure era, InjectRuleFailure "UTXO" BabbageUtxoPredFailure era, Environment (EraRule "UTXO" era) ~ UtxoEnv era, State (EraRule "UTXO" era) ~ UTxOState era, Signal (EraRule "UTXO" era) ~ AlonzoTx era, BaseM (EraRule "UTXO" era) ~ ShelleyBase, STS (EraRule "UTXO" era), Embed (EraRule "UTXOS" era) (EraRule "UTXO" era), Environment (EraRule "UTXOS" era) ~ UtxoEnv era, State (EraRule "UTXOS" era) ~ UTxOState era, Signal (EraRule "UTXOS" era) ~ Tx era) ⇒ TransitionRule (EraRule "UTXO" era) Source #

The UTxO transition rule for the Babbage eras.

feesOK ∷ ∀ era rule. (EraUTxO era, BabbageEraTxBody era, AlonzoEraTxWits era, InjectRuleFailure rule AlonzoUtxoPredFailure era, InjectRuleFailure rule BabbageUtxoPredFailure era) ⇒ PParams era → Tx era → UTxO era → Test (EraRuleFailure rule era) Source #

feesOK is a predicate with several parts. Some parts only apply in special circumstances. 1) The fee paid is >= the minimum fee 2) If the total ExUnits are 0 in both Memory and Steps, no further part needs to be checked. 3) The collateral consists only of VKey addresses 4) The collateral inputs do not contain any non-ADA part 5) The collateral is sufficient to cover the appropriate percentage of the fee marked in the transaction 6) The collateral is equivalent to total collateral asserted by the transaction 7) There is at least one collateral input

feesOK can differ from Era to Era, as new notions of fees arise. This is the Babbage version See: Figure 2: Functions related to fees and collateral, in the Babbage specification In the spec feesOK is a boolean function. Because wee need to handle predicate failures in the implementaion, it is coded as a Test. Which is a validation. This version is generic in that it can be lifted to any PredicateFailure type that embeds BabbageUtxoPred era. This makes it possibly useful in future Eras.

data BabbageUTXOS era Source #

Instances

Instances details
(AlonzoEraTx era, AlonzoEraPParams era, ShelleyEraTxBody era, BabbageEraTxBody era, AlonzoEraUTxO era, EraPlutusContext era, ScriptsNeeded era ~ AlonzoScriptsNeeded era, EraGov era, GovState era ~ ShelleyGovState era, Embed (EraRule "PPUP" era) (BabbageUTXOS era), Environment (EraRule "PPUP" era) ~ PpupEnv era, Signal (EraRule "PPUP" era) ~ StrictMaybe (Update era), State (EraRule "PPUP" era) ~ ShelleyGovState era, Signal (BabbageUTXOS era) ~ Tx era, EncCBOR (EraRuleFailure "PPUP" era), Eq (EraRuleFailure "PPUP" era), Show (EraRuleFailure "PPUP" era), InjectRuleFailure "UTXOS" AlonzoUtxosPredFailure era, InjectRuleEvent "UTXOS" AlonzoUtxosEvent era, EraRule "UTXOS" era ~ BabbageUTXOS era) ⇒ STS (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

(Era era, STS (BabbageUTXOS era), PredicateFailure (EraRule "UTXOS" era) ~ AlonzoUtxosPredFailure era, Event (EraRule "UTXOS" era) ~ Event (BabbageUTXOS era)) ⇒ Embed (BabbageUTXOS era) (BabbageUTXO era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

(Era era, STS (ShelleyPPUP era), EraRuleFailure "PPUP" era ~ ShelleyPpupPredFailure era, EraRuleEvent "PPUP" era ~ PpupEvent era) ⇒ Embed (ShelleyPPUP era) (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type BaseM (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type Environment (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type Event (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type PredicateFailure (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type Signal (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type Signal (BabbageUTXOS era) = AlonzoTx era
type State (BabbageUTXOS era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxos

type State (BabbageUTXOS era) = UTxOState era

expectScriptsToPass ∷ ∀ era. (AlonzoEraTx era, EraPlutusContext era, AlonzoEraUTxO era, ScriptsNeeded era ~ AlonzoScriptsNeeded era, STS (EraRule "UTXOS" era), InjectRuleFailure "UTXOS" AlonzoUtxosPredFailure era, BaseM (EraRule "UTXOS" era) ~ ShelleyBase, InjectRuleEvent "UTXOS" AlonzoUtxosEvent era) ⇒ PParams era → Tx era → UTxO era → Rule (EraRule "UTXOS" era) 'Transition () Source #

babbageEvalScriptsTxInvalid ∷ ∀ era. (AlonzoEraTx era, BabbageEraTxBody era, EraPlutusContext era, AlonzoEraUTxO era, ScriptsNeeded era ~ AlonzoScriptsNeeded era, STS (EraRule "UTXOS" era), Environment (EraRule "UTXOS" era) ~ UtxoEnv era, Signal (EraRule "UTXOS" era) ~ Tx era, State (EraRule "UTXOS" era) ~ UTxOState era, BaseM (EraRule "UTXOS" era) ~ ShelleyBase, InjectRuleFailure "UTXOS" AlonzoUtxosPredFailure era, InjectRuleEvent "UTXOS" AlonzoUtxosEvent era) ⇒ TransitionRule (EraRule "UTXOS" era) Source #

data BabbageUTXOW era Source #

Instances

Instances details
(AlonzoEraTx era, AlonzoEraUTxO era, ShelleyEraTxBody era, ScriptsNeeded era ~ AlonzoScriptsNeeded era, BabbageEraTxBody era, EraRule "UTXOW" era ~ BabbageUTXOW era, InjectRuleFailure "UTXOW" ShelleyUtxowPredFailure era, InjectRuleFailure "UTXOW" AlonzoUtxowPredFailure era, InjectRuleFailure "UTXOW" BabbageUtxowPredFailure era, Embed (EraRule "UTXO" era) (BabbageUTXOW era), Environment (EraRule "UTXO" era) ~ UtxoEnv era, State (EraRule "UTXO" era) ~ UTxOState era, Signal (EraRule "UTXO" era) ~ Tx era, Eq (PredicateFailure (EraRule "UTXOS" era)), Show (PredicateFailure (EraRule "UTXOS" era))) ⇒ STS (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(Era era, STS (BabbageUTXO era), PredicateFailure (EraRule "UTXO" era) ~ BabbageUtxoPredFailure era, Event (EraRule "UTXO" era) ~ AlonzoUtxoEvent era, BaseM (BabbageUTXOW era) ~ ShelleyBase, PredicateFailure (BabbageUTXOW era) ~ BabbageUtxowPredFailure era, Event (BabbageUTXOW era) ~ AlonzoUtxowEvent era) ⇒ Embed (BabbageUTXO era) (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(Era era, STS (BabbageUTXOW era), Event (EraRule "UTXOW" era) ~ AlonzoUtxowEvent era, PredicateFailure (EraRule "UTXOW" era) ~ BabbageUtxowPredFailure era) ⇒ Embed (BabbageUTXOW era) (BabbageLEDGER era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

type BaseM (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Environment (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Event (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type PredicateFailure (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Signal (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Signal (BabbageUTXOW era) = Tx era
type State (BabbageUTXOW era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type State (BabbageUTXOW era) = UTxOState era

data BabbageUtxowPredFailure era Source #

Constructors

AlonzoInBabbageUtxowPredFailure !(AlonzoUtxowPredFailure era) 
UtxoFailure !(PredicateFailure (EraRule "UTXO" era))

Embed UTXO rule failures

MalformedScriptWitnesses !(Set ScriptHash)

the set of malformed script witnesses

MalformedReferenceScripts !(Set ScriptHash)

the set of malformed script witnesses

Instances

Instances details
InjectRuleFailure "BBODY" BabbageUtxowPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Bbody

InjectRuleFailure "LEDGER" BabbageUtxowPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledger

InjectRuleFailure "LEDGERS" BabbageUtxowPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Ledgers

InjectRuleFailure "UTXOW" BabbageUtxowPredFailure BabbageEra Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Generic (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Associated Types

type Rep (BabbageUtxowPredFailure era) ∷ TypeType Source #

(AlonzoEraScript era, Show (ShelleyUtxowPredFailure era), Show (PredicateFailure (EraRule "UTXO" era)), Show (PredicateFailure (EraRule "UTXOS" era)), Show (TxOut era), Show (TxCert era), Show (Value era)) ⇒ Show (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(AlonzoEraScript era, DecCBOR (TxOut era), DecCBOR (TxCert era), DecCBOR (Value era), DecCBOR (PredicateFailure (EraRule "UTXOS" era)), DecCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (TxAuxData era)) ⇒ DecCBOR (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(AlonzoEraScript era, EncCBOR (TxOut era), EncCBOR (TxCert era), EncCBOR (Value era), EncCBOR (PredicateFailure (EraRule "UTXOS" era)), EncCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (TxAuxData era)) ⇒ EncCBOR (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

(AlonzoEraScript era, NFData (TxCert era), NFData (PredicateFailure (EraRule "UTXO" era))) ⇒ NFData (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Methods

rnfBabbageUtxowPredFailure era → () Source #

(AlonzoEraScript era, Eq (ShelleyUtxowPredFailure era), Eq (PredicateFailure (EraRule "UTXO" era)), Eq (PredicateFailure (EraRule "UTXOS" era)), Eq (TxOut era), Eq (TxCert era)) ⇒ Eq (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

NoThunks (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Rep (BabbageUtxowPredFailure era) Source # 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

type Rep (BabbageUtxowPredFailure era) = D1 ('MetaData "BabbageUtxowPredFailure" "Cardano.Ledger.Babbage.Rules.Utxow" "cardano-ledger-babbage-1.11.0.0-inplace" 'False) ((C1 ('MetaCons "AlonzoInBabbageUtxowPredFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (AlonzoUtxowPredFailure era))) :+: C1 ('MetaCons "UtxoFailure" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PredicateFailure (EraRule "UTXO" era))))) :+: (C1 ('MetaCons "MalformedScriptWitnesses" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set ScriptHash))) :+: C1 ('MetaCons "MalformedReferenceScripts" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set ScriptHash)))))

babbageUtxowTransition ∷ ∀ era. (AlonzoEraTx era, AlonzoEraUTxO era, ScriptsNeeded era ~ AlonzoScriptsNeeded era, BabbageEraTxBody era, Environment (EraRule "UTXOW" era) ~ UtxoEnv era, Signal (EraRule "UTXOW" era) ~ Tx era, State (EraRule "UTXOW" era) ~ UTxOState era, InjectRuleFailure "UTXOW" ShelleyUtxowPredFailure era, InjectRuleFailure "UTXOW" AlonzoUtxowPredFailure era, InjectRuleFailure "UTXOW" BabbageUtxowPredFailure era, Embed (EraRule "UTXO" era) (EraRule "UTXOW" era), Environment (EraRule "UTXO" era) ~ UtxoEnv era, Signal (EraRule "UTXO" era) ~ Tx era, State (EraRule "UTXO" era) ~ UTxOState era) ⇒ TransitionRule (EraRule "UTXOW" era) Source #

UTXOW transition rule that is used in Babbage and Conway era.