Releases: overlay-market/v1-core
Releases · overlay-market/v1-core
v1.0.0-rc.0
Add emergency shutdown and withdraw (#78) * Add emergency shutdown and withdraw functions * Fix solidity lint * Add factory tests for shutdown * Add notShutdown modifier tests for build * Add notShutdown modifier tests for unwind * Add notShutdown modifier tests for liquidate * Add shutdown setter tests for market * Add emergency withdraw revert tests * Add emergency functions to market interface * Add single emergency withdraw tests * Add test for multiple emergency withdraws
v1.0.0-beta.4
Fix oiShares calculation (#70) * Fix oiShares calculation on build * Add oi to position info for oiInitial calc, fix multiple build test * Fix gh actions to clear cache and recompile all contracts * Change Position.Info to use oiToSharesRatio for initial oi calc * Update Position.Info for frac remaining, store ticks, mulDiv w oiShares * Fix oiShares calculation on build * Add oi to position info for oiInitial calc, fix multiple build test * Fix gh actions to clear cache and recompile all contracts * Change Position.Info to use oiToSharesRatio for initial oi calc * Update Position.Info for frac remaining, store ticks, mulDiv w oiShares * Fix gh actions * Update README for Position.Info changes * Add balancer github ref for FixedPoint, LogExpMath.sol * Update docs README * Fix pos lib getter tests * Fix TODO in market unwind * Fix pos lib value tests * Fix pos lib trading fee tests * Fix pos lib liquidatable tests * Fix market build tests * Fix market slippage tests * Fix market liquidate tests * Fix market unwind tests: update_pos, removes_oi, multiple_pos * Fix market unwind tests: reg_vol, reg_mint, exec_transfer * Fix remaining market unwind tests * Pay funding when set risk param * Fix market liquidate tests * Fix market interface for positions(), fix comment for midPriceAtEntry * Fix calcOiShares * Add round trip test for fixed cast * Add checks of pos.oiShares vs oiShares to market tests * Make pos.oiShares mutable to fix oiShares rounding issues * Fix README * Remove subfloor for aggregate oi shares on unwind, liquidate * Fix market interface returns
v1.0.0-beta.3
Fix Least Authority Issues (#66) * Remove unused code (#2) * Remove redundant lines in OverlayV1Token constructor. (4) * Replace _setupRole with _grantRole. (2) * Simplify toInt192Bounded (3) * Rounding down of snapAccumulator might influence calculations (#41)
v1.0.0-beta.2
Fix Spearbit high risk issues (#46) * Use unchecked in TickMath and FullMath * Fix: solidity lint * Liquidation might fail * Fix market setters for liq fee rate * Only store feed in deployer. Have parameters() return a tuple
v1.0.0-beta.1
Add table (#37)