UTxOMap is a map Nat -> α where elements can be:
- minted and burn once
- modify data arbitrarily
Equations
- UTxO.UTxOMap α = List (Option α)
Instances For
Main get operation. This get does not diff between burnt and not-minted utxos. This is similar to Cardano and that's why in the spec Anastasia went on and wrote staking credentials scripts.
Equations
Instances For
Mint is always possible just concat it at the end.
Equations
- m.mint v = List.concat m (some v)
Instances For
Equations
- m.last_id' _mnz = (List.length m).pred