Skip to main content
1 vote

Plutus BuiltinData vs. Data

A type corresponding to the Plutus Core builtin equivalent of Data. The point of this type is to be an opaque equivalent of Data, so as to ensure that it is only used in ways that the compiler can ...
Fermat's user avatar
  • 1,872
1 vote
Accepted

Different Data tyoes for datum

You can combine the two like this data DatumAction = VotingDatum | StartDatum Then you can specify in you validator which case is used like this mkValidator :: DatumAction -> redeemer -> ...
Fermat's user avatar
  • 1,872

Only top scored, non community-wiki answers of a minimum length are eligible