consider removing DUST noise now that we have introspection
In the original contract, dust protection was an optimization to avoid several issues including logic around truncation, differing output counts, and others.
Noted from looking at other contracts these days, that it should be pretty easy to finally remove the dust protection noise. Something like this for example (it's not optimized):
hedgeSatsOutputIndex = (hedgeSats >= DUST) ? 0 : -1;
longSatsOutputIndex = (longSats >= DUST) ? hedgeSatsOutputIndex + 1 : -1;
if (hedgeSatsOutputIndex != -1)
{
require(tx.outputs[hedgeSatsOutputIndex].....);
}
if (longSatsOutputIndex != -1)
{
require(tx.outputs[longSatsOutputIndex].....);
}