plutus-ledger-api-1.65.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusCore.Executable.Eval

Synopsis

Documentation

mkDefaultEvalCtxBuiltinSemanticsVariant DefaultFunEvaluationContext Source #

Build a default evaluation context for a given semantics variant.

evalOptimizerTrace Source #

Evaluate all ASTs in the trace, each applied to the given arguments arguments, in counting mode. Returns (Maybe error, budget).

evaluateCekLikeInProdEvaluationContextTerm NamedDeBruijn DefaultUni DefaultFun () → Either (CekEvaluationException NamedDeBruijn DefaultUni DefaultFun) (Term NamedDeBruijn DefaultUni DefaultFun ()) Source #

Evaluate a term as it would be evaluated using the on-chain evaluator, at the most recent protocol version with restrictingEnormous budget mode (no budget tracking overhead). Suitable for timing.

evalCountingWithArgs Source #

Evaluate a single program term applied to arguments in counting mode. Returns (Maybe error, budget).