plutus-core
Safe HaskellNone
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.