Open sakulstra opened 7 months ago
couple of requests: 1) we spotted a bug in the formatting - the sum in the attachment should be 250k.
2) We will appreciate it if you can write next to the formatted number and the original number a parentheses with the decimals of the token, e.g. (18 decimals) or (6 decimals)
@MichaelMorami should be fixed now: https://github.com/bgd-labs/seatbelt-gov-v3/commit/87ae13365d06815d5fb0b5f9986934fa0121f66c#diff-aa3d4e9122e087d99d2541df91e0902bf67f5a2e33fc04bd337f77a83f4a6727 - lmk if you need any specific report to be reran after the updates.
The 250.000...
issue was due to falling big to "just formatting", when not finding the decimals.
Fixed the issue to find the decimals in this specific case, but also removed the formatting for the cases we don't.
Possibly an annoying one: On streams (example) the amount of the deposits are not formatted. It would be nice to have this, but I also understand if you cannot. In the end, it's not super crucial
@MichaelMorami streams should now display formatted value & the asset distributed
Non exhaustive list of state / events that should be formatted in a human readable way.
_totalSupply
should be formatted by assetdecimals
(example)