openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.82k stars 1.69k forks source link

Cannot specify Decimals Places of Smallest Unit when watching contract for ERC20 token #4511

Closed JanKalin closed 7 years ago

JanKalin commented 7 years ago

For example, watching DGD at address 0xE0B7927c4aF23765Cb51314A0E0521A9645F0E2A. Tokens are displayed as integers without the possibility of diving the amount by 10^9.

E.g., the address 0xA25784714A35da4AB9f50922eD535E0F5935FAA2 contains 0.195 DGD, which is displayed as 195,018,212 DGD. Bafflingly, when one slides the toggle to the right, 0.000000000195018212 ETH are displayed.

image

5chdn commented 7 years ago

This issue is labelled with annoyance: The client behaves within expectations, however this "expected behaviour" itself is at issue. It's inactive since February, neither assigned nor linked to any milestone.

Also, the toggle should use the token TLA instead of ETH in this case, related to #4123.

@paritytech/ui-devs Please decide on a deadline and add an assignee within 7 days, thanks!

ngotchac commented 7 years ago

The thing is that isn't not possible to know what the value relates to. Here it is a totalSupply, but there is no real way to know for sure that it's a Token total supply.

It's more or less related to #3925