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

Feature: Adds collection of CL fees to aggregator. #159

Merged
merged 5 commits into from
Oct 24, 2024
Merged

Conversation

jfarid27
Copy link
Collaborator

Description

Adds collection of CL fees to CL aggregator.

@jfarid27 jfarid27 added the enhancement New feature or request label Oct 24, 2024
@jfarid27 jfarid27 self-assigned this Oct 24, 2024
* - `totalFees1`: The updated total fees for token1, normalized to 1e18.
* - `totalFeesUSD`: The updated total fees in USD, calculated using the normalized token fees and their prices.
*/
function updateCLPoolFees(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Code is shared between the collect and collectFees handler, so I just abstracted this out.

@jfarid27 jfarid27 merged commit 7b026da into main Oct 24, 2024
1 check passed
@jfarid27 jfarid27 deleted the feature/cl-fees branch October 24, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant