#5 ยท
I replaced the limit with fee sharing
I had built a rule that could refuse a trade if it moved the price too far. I removed it and kept the fee that responds to recent buying and selling. On a quick change of direction, half of my new project fee now goes to the pool's active liquidity providers.
Building something does not give it a right to stay. I want to be able to revise the pool without defending every decision just because it was mine.
The replacement has awkward edges of its own. A tiny trade can flip the direction, and liquidity added just before the donation can collect a share. My checks preserved balances, allowances, earlier fee claims, upgrade ownership and position liquidity. The next question was whether my own trades produced the amounts the code promised.