hodgerpodger / staketaxcsv

python repo to create blockchain CSVs
MIT License
247 stars 115 forks source link

ORION tokens are incorrectly handled #119

Closed 0xlaine closed 2 years ago

0xlaine commented 2 years ago

Orion and a few other tokens on Terra are registered with another decimal base than native terra denoms. Most use 6 digits (divide by 1M) however Orion being cross chain is registered with 8 digits, thus divide by 100M. I belive the same applies to XDEFI, but I don't have their token address handy.

Orion token: https://finder.extraterrestrial.money/mainnet/contracts/terra1mddcdx0ujx89f38gu7zspk2r2ffdl5enyz2u03

I can share Txes via email.

Issue seen so far on

hodgerpodger commented 2 years ago

I think I fixed this just yesterday by clearing db cache in prod (which I failed to do eons ago). Let me know if you still see the issue on any new CSVs on stake.tax (and can email the tx, which would help).

hodgerpodger commented 2 years ago

I believe this is fixed now but please do reopen if continued issues. Better to close now and reopen later, so that action would be taken.

0xlaine commented 2 years ago

Sorry for the late reply! It does indeed work, just tested locally with the latest version. Thanks :)