fee to 5 bips
This commit is contained in:
@ -88,7 +88,7 @@ contract UniswapV2Exchange is IUniswapV2Exchange, UniswapV2ERC20 {
|
||||
uint rootKLast = Math.sqrt(_kLast);
|
||||
if (rootK > rootKLast) {
|
||||
uint numerator = totalSupply.mul(rootK.sub(rootKLast));
|
||||
uint denominator = rootK.mul(4).add(rootKLast);
|
||||
uint denominator = rootK.mul(5).add(rootKLast);
|
||||
uint liquidity = numerator / denominator;
|
||||
if (liquidity > 0) _mint(feeTo, liquidity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user