-
Notifications
You must be signed in to change notification settings - Fork 302
feat: display actual net apy #1993
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| qualityRanking: number; | ||
| apyHistory: { date: Date; apy: number }[]; | ||
| delegationFee: bigint; | ||
| apyHistory: { date: Date; apy: number; selfApy: number }[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm in my opinion it's better to pass the current stake account to the sdk when fetching the apy, rather than having all the raw data and calculating it all in the frontend, thoughts? never mind I see how you're threading this into calculateApy
…o feat/display-actual-apy
This updates the staking app so that APYs are display after delegation fees.
Publishers will still see the full apy in their self staking view, since that's what they get.