jit-amm-2.0
github-actions
released this
30 Sep 11:22
·
243 commits
to master
since this release
What's Changed
- Implemented an equivalent precision solution to what we'll implement in Rust for the tickPercentatgeSwapped (precision solution).
- LO to automatically be collected (transfer position+fees) when the LP entirely burns it.
- Performance improvements such as removing the "LiquidityLeft" storage variable and calculations from the ticks, which is no longer necessary.
- Improved rounding on LO Swap and burn to ensure all rounding is at the pool's benefit.
- Increased all around testing and also adding some randomized testing that catched some edgecases bugs.
- Some misc bugfixing and refactoring.
- Added exactOut functionality and testing (adapted swap testing from Uniswap)
- Code cleanup and added plenty of notes and comments.
Full Changelog: jit-amm-1.0...jit-amm-2.0