Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AlonzoUTXOS era
- data AlonzoUtxosPredFailure era
- = ValidationTagMismatch IsValid TagMismatchDescription
- | CollectErrors [CollectError era]
- | UpdateFailure (EraRuleFailure "PPUP" era)
- lbl2Phase ∷ Label
- data TagMismatchDescription
- validBegin ∷ String
- validEnd ∷ String
- invalidBegin ∷ String
- invalidEnd ∷ String
- data AlonzoUtxosEvent era
- = AlonzoPpupToUtxosEvent (EraRuleEvent "PPUP" era)
- | TotalDeposits (SafeHash (EraCrypto era) EraIndependentTxBody) Coin
- | SuccessfulPlutusScriptsEvent (NonEmpty (PlutusWithContext (EraCrypto era)))
- | FailedPlutusScriptsEvent (NonEmpty (PlutusWithContext (EraCrypto era)))
- | TxUTxODiff (UTxO era) (UTxO era)
- when2Phase ∷ Rule sts ctx () → Rule sts ctx ()
- data FailureDescription = PlutusFailure Text ByteString
- scriptFailureToFailureDescription ∷ Crypto c ⇒ ScriptFailure c → FailureDescription
Documentation
data AlonzoUTXOS era Source #
Instances
data AlonzoUtxosPredFailure era Source #
ValidationTagMismatch IsValid TagMismatchDescription | The |
CollectErrors [CollectError era] | We could not find all the necessary inputs for a Plutus Script. Previous PredicateFailure tests should make this impossible, but the consequences of not detecting this means scripts get dropped, so things might validate that shouldn't. So we double check in the function collectTwoPhaseScriptInputs, it should find data for every Script. |
UpdateFailure (EraRuleFailure "PPUP" era) |
Instances
Indicates that this check depends only upon the signal to the transition, not the state or environment.
data TagMismatchDescription Source #
Instances
data AlonzoUtxosEvent era Source #
AlonzoPpupToUtxosEvent (EraRuleEvent "PPUP" era) | |
TotalDeposits (SafeHash (EraCrypto era) EraIndependentTxBody) Coin | |
SuccessfulPlutusScriptsEvent (NonEmpty (PlutusWithContext (EraCrypto era))) | |
FailedPlutusScriptsEvent (NonEmpty (PlutusWithContext (EraCrypto era))) | |
TxUTxODiff | The UTxOs consumed and created by a signal tx |
Instances
when2Phase ∷ Rule sts ctx () → Rule sts ctx () Source #
Construct a 2-phase predicate check.
Note that 2-phase predicate checks are by definition static.
data FailureDescription Source #