-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Top accounts #841
feat: Top accounts #841
Conversation
No, why? Different networks has different responses.
Sure, fixed. Thanks |
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.
LGTM
@michele-franchi I was thinking about shortening the list to 100 (just print half of it), as the lower half does not have very important entries |
Agree @janmichek, makes sense. |
fixed |
rank: index + 1, | ||
account: account.account, | ||
balance: formatAePrice(formatAettosToAe(account.balance)), | ||
percentage: (formatAettosToAe(account.balance) * 100 / distribution).toFixed(4), |
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.
Is this calculated on the circulating supply?
I see the dashboard component uses totalTokenSupply
from blockChainStats.js
while here it seems distribution
is different.
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.
you are right, fixed
Co-authored-by: Michele F. <michele-franchi@users.noreply.github.com>
Co-authored-by: Michele F. <michele-franchi@users.noreply.github.com>
Description
resolves #616
Demo
firefox_5Ru6TMihAK.mp4
Checklist: