Releases: primitivefinance/DFMM
Releases · primitivefinance/DFMM
Review fixes Spearbit audit
What's Changed
- fix(DOS): cross pool dos vector removed by refunding eth only if weth… by @Alexangelj in #122
- Fix/post review by @clemlak in #119
Full Changelog: v0.2.0...v0.2.1
Post-audit v0.2.0 Spearbit March 2024
What's Changed
- fix: LP tokens minting in
allocate
by @kinrezC in #73 - fix: optimize duplicate tokens loop check by @clemlak in #74
- fix: DFMM init now returns the totalLiquidity of the pool by @clemlak in #75
- chore: add commit to OZ clone function link by @clemlak in #77
- Fix/compare tokens reserves length by @clemlak in #79
- fix: typo in _computeDeallocateDeltasGivenDeltaL NatSpec by @clemlak in #81
- fix: add missing NatSpec to Pool and InitParams structs by @clemlak in #82
- Fix/missing constant sum controller by @clemlak in #83
- Fix ConstantSum strategy by @clemlak in #84
- Fix/reserves length check by @clemlak in #85
- fix: remove reserveX and reserveY in G3M init struct by @clemlak in #86
- fix: use mulDiv to compute G3M deltaLiquidity by @clemlak in #87
- fix: check if token is WETH in _transferFrom by @clemlak in #76
- fix: remove unchecked scope for toUint by @clemlak in #90
- fix: use mulDiv to compute deltas in LogNormalMath by @clemlak in #91
- fix: rounding in LogNormal trading function by @clemlak in #92
- Fix/log normal fixed vars by @clemlak in #94
- Fix/swap delta liquidity by @clemlak in #95
- Revert "fix: rounding in LogNormal trading function" by @clemlak in #96
- fix: rounding in LogNormal trading function by @clemlak in #97
- Fix/controller swap fees by @clemlak in #80
- Fix/minor issues by @clemlak in #98
- Fix/g3m weight check by @clemlak in #102
- Fix/g3m trading function rounding by @clemlak in #101
- Fix/missing modifier ntokeng3m by @clemlak in #103
- fix: add deltas array length check in NTokenStrategy by @clemlak in #99
- fix: use muldiv in NTokenG3M math by @clemlak in #104
- Revert "fix: use muldiv in NTokenG3M math" by @clemlak in #110
- fix: use muldiv in NTokenG3M math by @clemlak in #111
- Fix/log normal bounded params by @clemlak in #93
- Fix/total liquidity init by @clemlak in #107
- Fix/strategy lib muldiv by @clemlak in #100
- Fix/unused imports ntokeng3m utils by @clemlak in #109
- Fix/dynamic library rounding by @clemlak in #106
- fix: remove computeLGivenY in G3MMath by @clemlak in #108
- Fix/ntoken accumulator by @clemlak in #105
- fix: optimize token decimals check in DFMM init by @clemlak in #112
- fix: computeNextLiquidity in G3MMath by @clemlak in #114
- fix: NatSpec in computeLGivenX in LogNormalMath by @clemlak in #113
- fix: rounding direction in computeTradingFunction in LogNormalMath by @clemlak in #117
- Spearbit post-audit fixes by @clemlak in #89
Full Changelog: v0.1.0...v0.2.0
Pre-audit v0.1.0 Spearbit March 2024
What's Changed
- chore: solidity CI by @Autoparallel in #1
- Chore/repo org by @clemlak in #7
- feat: DFMM kit Rust crate by @Autoparallel in #5
- feat: refactor + notebooks + strategy READMEs by @Autoparallel in #10
- Fix: Fee Accounting + Optimal Arb Logic by @kinrezC in #16
- docs: constant sum by @Autoparallel in #18
- feat: security report by @0xJepsen in #12
- refactor: math docs in strategies by @Autoparallel in #20
- Behavior by @0xJepsen in #27
- small nits in kit (some logging and renames) + a working toml by @Autoparallel in #33
- Feat/delta params by @clemlak in #19
- Create contract LICENSE by @0xJepsen in #51
- Experimental/n token pools by @0xJepsen in #53
- Replaces next reserves by deltas in
swap
functions by @clemlak in #42 - Updates to strategy READMEs and notebooks by @Autoparallel in #52
- Chore: Add LICENSE by @0xJepsen in #50
- Fix/enforce positive epsilon by @kinrezC in #70
- Feat/controler swap fees by @clemlak in #62
- Fixed fee accounting for lognormal strategy by @kinrezC in #71
- Feat/token checks by @clemlak in #68
- Feat/one pr many issues by @clemlak in #72
New Contributors
- @clemlak made their first contribution in #7
- @kinrezC made their first contribution in #16
- @0xJepsen made their first contribution in #12
Full Changelog: https://github.com/primitivefinance/DFMM/commits/v0.1.0