A token name unique to this output reference: blake2b_256(serialiseData(ref.toData)).
A token name unique to this output reference: blake2b_256(serialiseData(ref.toData)).
The one-shot / state-token name. An off-chain mint must produce the identical bytes, so compute it here on both sides. Also the natural double-satisfaction tag: OutputDatum.OutputDatum(ref.deriveTokenName.toData).