Skip to content

Conversation

@Marco75116
Copy link

This PR fixes an issue where swap fees are not being included in the totalValueLockedToken0 and totalValueLockedToken1 calculations.

Currently, all fees remain permanently in the pool, leading to inaccurate pool data. These fees are not removed for in either Swap events or ModifyLiquidity events with liquidityDelta equal to 0 (which represent collect).

@Marco75116
Copy link
Author

@mz- @Aismit @tarikbellamine @mzywang am I wrong ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant