plutus-core-1.36.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusCore.Evaluation.Machine.ExBudgetingDefaults

Synopsis

Documentation

cekCostModelForVariant :: BuiltinSemanticsVariant DefaultFun -> CostModel CekMachineCosts BuiltinCostModel Source #

Return the CostModel corresponding to the given semantics variant. The dependency on the semantics variant is what makes cost models configurable.