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

Fix: Switch from theoretical to actual maxApy for a given Operator/AVS combo #328

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

gowthamsundaresan
Copy link
Collaborator

In the response of GET /operators/:address?withRewards=true, the maxApy for a given AVS is its theoretical value rather than actual.

For eg: if the Operator is delegated to ARPA, theoretically its max APY is 50% if it chooses to stake ARPA. However if the Operator doesn’t currently stake ARPA, our API still returned 50%.

With this update, our API considers only those strategies where the Operator participates, hence switching to actual maxApy value.

@uditdc uditdc merged commit 78c08a4 into dev Jan 21, 2025
1 check passed
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.

2 participants