Static
decodeDecodes a UPLC program from a hexadecimal string.
This method utilizes the fromHex
method to create an instance of UPLCDecoder
and then decodes the program using the decode
method.
The hexadecimal string representing the binary data of a UPLC program.
Static
fromCreates a UPLCDecoder instance from a hexadecimal string.
Hexadecimal string of a UPLC program's binary data.
Initialized UPLCDecoder with the decoded data.
This class provides decoding functionality for UPLC (Untyped Plutus Core) programs. It extends the FlatDecoder class to handle the specific structure of UPLC programs. The decoding process involves interpreting binary data into structured UPLC terms and types.