UplcCli

scalus.uplc.UplcCli
object UplcCli

Cardano uplc CLI interface

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UplcCli.type

Members list

Value members

Concrete methods

Evaluates a UPLC program using the Cardano uplc CLI using the builtin semantics variant 'B'.

Evaluates a UPLC program using the Cardano uplc CLI using the builtin semantics variant 'B'.

Value parameters

program

the UPLC program

Attributes

def evalFlat(program: Program, semanticsVariant: BuiltinSemanticsVariant): UplcEvalResult

Evaluates a UPLC program using the Cardano uplc CLI

Evaluates a UPLC program using the Cardano uplc CLI

Value parameters

program

the UPLC program

Attributes

def uplcToFlat(program: String): Array[Byte]

Converts a UPLC program to flat encoding using the Cardano uplc CLI

Converts a UPLC program to flat encoding using the Cardano uplc CLI

Value parameters

program

the textual representation of the UPLC program

Attributes

Returns

byte array of the flat encoded program