Hello friends,
I am planning to release an ERC20 token as part of private and public sales.
Using the ERC20PresetMinterPauserUpgradeable preset.
Wondering about the best way to limit the number of total tokens so that participants can be sure no more than the advertised amount is ever minted.
Should I implement a max_supply and check for it in the mint() function?
Or mint the max supply after deploying and burn/lock the key of the MINTER_ROLE?