Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use gauge's weekly fees for pool fees calculation #47

Merged
merged 3 commits into from
Feb 19, 2024
Merged

Conversation

ethzoomer
Copy link
Contributor

If a gauge is alive (and therefore claiming its fees weekly) and has nonzero supply, set token0_fees and token1_fees to be equal to the gauge's claimable fees multiplied by the share of overall LPs owned by the gauge

@ethzoomer ethzoomer requested a review from stas February 18, 2024 16:27
Copy link
Collaborator

@stas stas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@ethzoomer ethzoomer merged commit 1797deb into v3 Feb 19, 2024
2 checks passed
@stas stas deleted the DAPP-356 branch February 27, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants