You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One solution to this problem is to use the remainder of the feesOwed calculation and the new liquidity value to compute the new fee growth inside snapshot for a position, however an average 0.5 wei of fees for the majority of tokens is not worth the gas to do this computation even on layer 2s
moodysalem
changed the title
Every modifyPosition call burns up to 1 wei, exclusive, of fees
Every modifyPosition call burns up to 1 wei, exclusive, of fees owed to position
Feb 26, 2021
moodysalem
changed the title
Every modifyPosition call burns up to 1 wei, exclusive, of fees owed to position
Every modifyPosition call burns less than 1 wei of fees owed to position
Mar 1, 2021
When we compute and accumulate feesOwed from the difference in fee growth inside snapshots, we lose less than 1 wei of fees in rounding error
An external user can mint 1 wei liquidity to a position they do not own to burn less than 1 wei of fees owed to the position owner
They can only do this for newly earned fees, i.e. after the call to mint the position must earn new fees for those fees to be burned
The text was updated successfully, but these errors were encountered: