IntersectMBO / plutus

The Plutus language implementation and tools
Apache License 2.0
1.57k stars 479 forks source link

Create a newtype for Value to represented minted/burned tokens #6445

Closed zliu41 closed 2 weeks ago

zliu41 commented 2 months ago

It has been suggested in https://github.com/IntersectMBO/plutus/pull/5781#issuecomment-2329322923 that among all Value fields in ScriptContext, only txInfoMint could contain negative quantities.