VM
Attributes
- Deprecated
- true
- Graph
-
- Supertypes
- Self type
-
VM.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- PlutusVMBase
Value members
Inherited methods
Evaluates a UPLC term, capturing the execution budget, evaluation logs and costs.
Evaluates a UPLC term, capturing the execution budget, evaluation logs and costs.
Attributes
- Returns
-
Result with the resulting term, the execution budget, evaluation logs and costs, and an exception if the evaluation failed
- Note
-
This method doesn't follow the CIP-117, so it can't be used to correctly evaluate Cardano validators.
- Inherited from:
- PlutusVMBase
Evaluates a UPLC Program using default CEK machine parameters and no budget calculation.
Evaluates a UPLC Program using default CEK machine parameters and no budget calculation.
Useful for testing and debugging.
Attributes
- Note
-
This method doesn't follow the CIP-117, so it can't be used to correctly evaluate Cardano validators.
- Inherited from:
- PlutusVMBase
Evaluates a script, returning the minimum budget that the script would need to evaluate. This will take as long as the script takes.
Evaluates a script, returning the minimum budget that the script would need to evaluate. This will take as long as the script takes.
Value parameters
- args
-
The arguments to the script
- params
-
The machine parameters
- script
-
Flat encoded script to evaluate
Attributes
- Returns
-
CekResult with the resulting term and the execution budget
- Inherited from:
- PlutusVMBase
Evaluates a script, returning the execution budget and logs.
Evaluates a script, returning the execution budget and logs.
Value parameters
- args
-
The arguments to the script
- budget
-
The budget to restrict the evaluation
- params
-
The machine parameters
- script
-
Flat encoded script to evaluate
Attributes
- Returns
-
CekResult with the resulting term and the execution budget
- Inherited from:
- PlutusVMBase
Evaluates a UPLC Term using default MachinePrameters and no budget calculation.
Evaluates a UPLC Term using default MachinePrameters and no budget calculation.
Useful for testing and debugging.
Value parameters
- params
-
The machine parameters
- term
-
The debruijned term to evaluate
Attributes
- Returns
-
The resulting term
- Throws
-
StackTraceMachineError
subtypes if the evaluation fails
- Note
-
This method doesn't follow the CIP-117, so it can't be used to correctly evaluate Cardano validators.
- Inherited from:
- PlutusVMBase