-
Notifications
You must be signed in to change notification settings - Fork 10
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 "Token Holders" tab to Token Dashboard #635
Conversation
Deployed to Cloudflare Pages
|
46bf6f6
to
e81c7e1
Compare
950f482
to
3f1042d
Compare
4840437
to
b3bfc8a
Compare
}, | ||
{ | ||
key: 'quantity', | ||
content: t('tokens.totalSupplyValue', { value: fromBaseUnits(holder.balance, decimals) }), |
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.
Shouldn't we use RoundedBalance here for Quantity? Not sure about Percentage. for example
http://localhost:1234/mainnet/sapphire/token/0x4344919960B0196c512807eE2f3922302fFFE542/holders#holders
-- | --
1 | 0x3BA9F711C9808902f6a200d3715ba8a7e4D8b63f | 100 | 100.0000%
2 | 0x00000000000000000000000000000000000000ff | 0 | 0.0000%
we show 0 in the second row
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.
Shouldn't we use RoundedBalance here for Quantity?
OK done
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.
Not sure about Percentage. for example
http://localhost:1234/mainnet/sapphire/token/0x4344919960B0196c512807eE2f3922302fFFE542/holders#holders
-- | -- 1 | 0x3BA9F711C9808902f6a200d3715ba8a7e4D8b63f | 100 | 100.0000% 2 | 0x00000000000000000000000000000000000000ff | 0 | 0.0000%
we show 0 in the second row
I don't see the issue here. The percentage must obviously be a rounded value, so what else would anyone expect?
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.
Not sure what the issue is here; I think I agree here with @csillag
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.
OK, so I think we are good here.
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.
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.
5751de4
to
949fd67
Compare
aa85b8e
to
2bc8ab3
Compare
2bc8ab3
to
e33809a
Compare
e33809a
to
f347efa
Compare
This
is built on top of #634, andimplements the last missing tab, "Token Holders".Design is here.