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

Add pool-level rewards #154

Merged
merged 7 commits into from
Dec 12, 2024
Merged

Add pool-level rewards #154

merged 7 commits into from
Dec 12, 2024

Conversation

Tburm
Copy link
Collaborator

@Tburm Tburm commented Dec 12, 2024

Update reward APRs to include pool-level reward distributors

  • Adds a model to track pool reward distributions
  • Adds logic to pnl models to handle pool-level distributions across collateral types
  • Removing an unused model, which would be inaccurate after this change. The data is duplicated in the reward pnl table.
  • Materializes the hourly prices table, since it reduces query times downstream

@Tburm Tburm requested a review from marcus-snx December 12, 2024 20:41
@Tburm Tburm merged commit 1a5780c into main Dec 12, 2024
2 checks passed
@Tburm Tburm deleted the add-pool-apr branch December 12, 2024 21:26
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