The main datatype Constr represents the nth constructor along with its arguments.

Remark: We don't directly serialize the alternative in the tag, instead the scheme is:

  • Alternatives 0-6 -> tags 121-127, followed by the arguments in a list.
  • Alternatives 7-127 -> tags 1280-1400, followed by the arguments in a list.
  • Any alternatives, including those that don't fit in the above -> tag 102 followed by a list containing an unsigned integer for the actual alternative, and then the arguments in a (nested!) list.

Hierarchy

  • ConstrPlutusData

Constructors

Properties

#alternative: bigint = ...

Methods

Generated using TypeDoc