docs
                                
                                 docs copied to clipboard
                                
                                    docs copied to clipboard
                            
                            
                            
                        Uniswap v3 whitepaper: missing division by liquidity in feeGrowthGlobal's update
This issue is to point out a mistake in the Uniswap V3 whitepaper.
In the whitepaper, the update rule of feeGrowthGlobal1 is given by the following equation
$$ \Delta f_{g,1} = y_{in} \gamma (1 - \phi). $$
However, this should be corrected to
$$ \Delta f_{g,1} = y_{in} \gamma (1 - \phi) / L, $$
because it is, according the whitepaper itself, "the total amount of fees that have been earned per unit of virtual liquidity". Actually, the contract code has the division by the liquidity.
Good catch