You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total supply depends on the decimals. I think it makes sense to express totalSupply something like this to make it more readable and maintainable in case you will decide to change decimals:
/// @notice EIP-20 token decimals for this token
uint8 public constant decimals = 8;
/// @notice Total number of tokens in circulation (100 million NOTE)
uint256 public constant totalSupply = 10_000_0000 * 10 ** decimals;
The text was updated successfully, but these errors were encountered:
Handle
pauliax
Vulnerability details
Impact
Total supply depends on the decimals. I think it makes sense to express totalSupply something like this to make it more readable and maintainable in case you will decide to change decimals:
The text was updated successfully, but these errors were encountered: