ExpModIntegerCostingFun
scalus.uplc.eval.ExpModIntegerCostingFun
case class ExpModIntegerCostingFun(cpu: ThreeArguments, memory: ThreeArguments) extends CostingFun
Custom costing function for expModInteger builtin (CIP-109).
The CPU cost uses the ExpModCost formula which accounts for the size of base, exponent, and modulus. Memory cost is linear in the size of the modulus.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait CostingFunclass Objecttrait Matchableclass Any
Members list
In this article