diff --git a/src/StandardBondingCalculator.sol b/src/StandardBondingCalculator.sol index 2818c3c..b83209b 100644 --- a/src/StandardBondingCalculator.sol +++ b/src/StandardBondingCalculator.sol @@ -46,6 +46,7 @@ contract GhostBondingCalculator is IBondingCalculator { uint256 totalSupply = IUniswapV2Pair(pair).totalSupply(); value = totalValue * FixedPoint.fraction(amount, totalSupply).decode112with18() / 1e18; + value = value * fraction / 1e18; } function markdown(address pair) external view override returns (uint256 reserve) {