Skip to content

Releases: primitivefinance/DFMM

Review fixes Spearbit audit

11 Apr 22:19
4e207a7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

Post-audit v0.2.0 Spearbit March 2024

03 Apr 14:56
fd867a7
Compare
Choose a tag to compare
Pre-release

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

14 Mar 14:57
74912e0
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: https://github.com/primitivefinance/DFMM/commits/v0.1.0