tweag / cooked-validators

MIT License
39 stars 11 forks source link

Split mockchain auction #211

Closed carlhammann closed 1 year ago

carlhammann commented 1 year ago

This PR adapts the auction contract to the tweaks as implemented by #210. It also adapts the TxSkelOutDatum type to accommodate for the four ways in which datums can occur on transaction outputs:

  1. no datum
  2. only the datum hash
  3. a datum hash which is resolvable in the 'TxInfo'
  4. inline datum

Since this change is extensively commented, so I'll not reproduce the details here.