archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Smart Contracts: handle tokens with decimals != 8

Open bchamagne opened this issue 8 months ago • 1 comments

Describe the problem you discovered

Capture d’écran 2024-06-13 à 15 39 38

Describe the solution you'd like

code is hardcoded as if there's 8 decimals. I believe it's done to not do some I/O, so we probably need to embed the decimal in the TokenTransfer struct

Epic

No response

bchamagne avatar Jun 13 '24 13:06 bchamagne