精度没有适配“8”位,希望可以加上!
Closed this issue · 2 comments
szxv587 commented
szxv587 commented
simolus3 commented
Google translate says that you want an EtherUnit
representing 10⁸ wei? In general we follow the idea of providing known units for every three orders of magnitudes. So I'd just use mwei
and then multiply by 100.
Also, the decimals from an ERC20 contract are entirely unrelated to this. You'd have to handle those manually.