I got it why we need decimals in ERC20s. But the thing I can't get it: When we are using transfer() method, should we write amount in wei (for ERC20s decimals count) or just integere. For example:
If we have a token with 3 decimals. I mint 100 of that token with mint(msg.sender, 100 * 10 ** 3). For transfer 5 tokens:
- transfer(_to, 5)
- transfer(_to, 5 * 10 ** 3)
Which one is true?