DFMM
DFMM copied to clipboard
fix: g3m fee logic
Working here to fix the fee accounting for GeometricMean
TODO:
- [x] Add a test with very deep liquidity to see that fee approaches expected like in ConstantSum.
Closes #3
@kinrezC the tests now fail in the optimal arbs :(
We gotta redo this math haha