plutarch-1.9.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Plutarch.Internal.Evaluate

Synopsis

Documentation

uplcVersion :: Version Source #

evalScript :: Script -> (Either EvalError Script, ExBudget, [Text]) Source #

Evaluate a script with a big budget, returning the trace log and term result.

evalScriptHuge :: Script -> (Either EvalError Script, ExBudget, [Text]) Source #

Evaluate a script with a huge budget, returning the trace log and term result.

evalScriptUnlimited :: Script -> (Either (CekEvaluationException NamedDeBruijn DefaultUni DefaultFun) Script, ExBudget, [Text]) Source #

Evaluate a script without budget limit

@since WIP

evalScript' :: ExBudget -> Script -> (Either (CekEvaluationException NamedDeBruijn DefaultUni DefaultFun) Script, ExBudget, [Text]) Source #

Evaluate a script with a specific budget, returning the trace log and term result.

type EvalError = CekEvaluationException NamedDeBruijn DefaultUni DefaultFun Source #