I've started learning ERC-20 from a tutorial in which the totalSupply
parameter was used to limit the number of tokens to be created. Now I've started working on the ERC-1400 token (specifically the ConsenSys's implementation). In there the _totalSupply
parameter is private and works described as in the OpenZeppelin's Fixed Supply' title here. But from what I understand this doesn't stop the contract owner from mint
ing as many tokens as he/she wants and flooding the market. So,
- Should I go in and edit the private
_totalSupply
parameter to have a fixed amount of tokens in order to create a more secure token? - Am I right? If I apply
1
, would that make it more secure? - Is there any other way to limit the maximum number of tokens that can exist at any time (in ERC-20 or ERC-1400)?