Just in case I wanted to mention that it is not the only way we can deal with fees in the AnomaSwap. We discussed this with @graphomath but generally there is nothing stopping us from implementing a design in which e.g. we get only a part of the suprlus or even none (i.e. user gets all of it)[1] just in several EVM txs instead of one, but still possibly private.
currently actually this is what the code practically does as the surplus is just left at the hotwallet ↩︎