Skip to content

fix: correct decimals for MOLLARS and imgnAI (9, not 18)#654

Closed
RAVIKUMAR96 wants to merge 1 commit into
mainfrom
fix/decimals-mollars-imgnai-tangem
Closed

fix: correct decimals for MOLLARS and imgnAI (9, not 18)#654
RAVIKUMAR96 wants to merge 1 commit into
mainfrom
fix/decimals-mollars-imgnai-tangem

Conversation

@RAVIKUMAR96

Copy link
Copy Markdown
Contributor

Summary

Corrects the decimals field for 3 token entries that were 18 but are actually 9 on-chain. The wrong value here overrides the correct on-chain value in the backend pricing pipeline (via CustomListOracle metadata override), which broke exchanges for these tokens.

Reported by Tangem — users were unable to perform exchanges due to the decimals mismatch.

Token Chain Address Was Now (on-chain)
MOLLARS Ethereum 0x385d65ed9241e415cfc689c3e0bcf5ab2f0505c2 18 9
imgnAI Ethereum 0xA735A3AF76CC30791C61c10d585833829d36CBe0 18 9
imgnAI Base 0x18e692c03de43972fe81058f322fa542ae1a5e2c 18 9

Verification

On-chain decimals() (selector 0x313ce567) returns 9 for all three (Ethereum + Base RPC).

Notes

  • A PATCH /v1/token re-fetch does not fix this — CustomListOracle metadata overrides the fetched decimals. The correction must happen in this list.
  • After merge, the backend picks up the change within ~1h (custom-list cache TTL).

Made with Cursor

On-chain decimals() for these tokens is 9, but the custom list had 18,
which overrode the correct value and broke exchanges (reported by Tangem).

- MOLLARS 0x385d65ed9241e415cfc689c3e0bcf5ab2f0505c2 (Ethereum): 18 -> 9
- imgnAI  0xA735A3AF76CC30791C61c10d585833829d36CBe0 (Ethereum): 18 -> 9
- imgnAI  0x18e692c03de43972fe81058f322fa542ae1a5e2c (Base): 18 -> 9

Verified via eth_call decimals() (0x313ce567) on Ethereum and Base RPCs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@RAVIKUMAR96

Copy link
Copy Markdown
Contributor Author

Closing — the decimals correction was already merged separately in #646 (maxklenk). Keeping only the AMZNx logo addition in #655.

@RAVIKUMAR96
RAVIKUMAR96 deleted the fix/decimals-mollars-imgnai-tangem branch July 14, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant