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

Refactor APY calculation logic #197

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Refactor APY calculation logic #197

merged 2 commits into from
Apr 23, 2024

Commits on Apr 23, 2024

  1. Refactor APY calculation logic

    The logic to calculate the Average Percentage Yield (APY) for each day, and for specific periods (i.e., 7, 30, 90, 365 days) has been refactored for optimization. APY calculation is now performed over actual data length, eliminating the division over fixed period values. The results are also systematically sorted by timestamp for consistent retrieval of data.
    jakubswierczek committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    5c16033 View commit details
    Browse the repository at this point in the history
  2. Add MEVETH and comment out WEETH, EZETH in yield pools

    In the 'curated-yield-pools.ts' file, the latest change includes adding the MEVETH yield pool. Additionally, WEETH and EZETH identifiers have been commented out for now. This was likely done due to changes or updates within the respective pools or protocol.
    jakubswierczek committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    ad8a3b1 View commit details
    Browse the repository at this point in the history