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

Show pending rewards and bar chart of stake per pool in validator details #20

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

pbennett
Copy link
Contributor

@pbennett pbennett commented Apr 5, 2024

No description provided.

…add pending rewards per validator column.

The pending rewards per validator code fetches each pool, gets total available balance of all and subtracts out known total staked for that validator so that a single pending reward amount can be shown (prior to epoch).
@pbennett pbennett requested a review from drichar as a code owner April 5, 2024 19:01
Copy link

vercel bot commented Apr 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reti ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 8:10pm

@pbennett pbennett changed the base branch from main to dev April 5, 2024 19:02
ui/src/api/queries.ts Outdated Show resolved Hide resolved
ui/src/components/_Overview.tsx Outdated Show resolved Hide resolved
…ce a minute so it's always tracking stakers/stake changes.

Create new wrapper interface for passing the validator in Overview component instead of exporting from ValidatorDetails
@pbennett pbennett requested a review from drichar April 5, 2024 20:17
@pbennett pbennett self-assigned this Apr 5, 2024
@pbennett pbennett merged commit bf89620 into dev Apr 5, 2024
3 checks passed
@pbennett pbennett deleted the feat/show-rewards branch April 5, 2024 21:19
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