Submitted by cmichel
The Router.addDividend function tells the reserve to send dividends to the pool depending on the fees.
The reserve can be emptied by the attacker.
Counting only the last 20 trades as a baseline for the dividends does not work. It should probably average over a timespan but even that can be gamed if it is too short.
I think a better idea is to compute the dividends based on volume traded over a timespan instead of looking at individual trades.
verifyfirst (Spartan) acknowledged:
ghoul-sol (judge) commented:
