sudoblockio/icon-tracker

Fix Token Transfer unit conversion for decimal value

Closed this issue · 2 comments

Some tokens (i.e. iUSDT or iUSDC) use a 6 decimal conversion value instead of 18 (standard for most tokens). A fix is needed in order the key 'value_decimal' to return the correct decimal value in both cases. Example below

6decimal
18decimal
.

use redis to cache

Going to require a backfill