I am having a question considering inheritance/extending of ERC-20 Token Smart Contracts.
I would like to add additional mutable variables to an ERC-20 token before the deployment on the Ethereum Mainnet.
Alongside the defined variables by the interface:
name (string),
symbol (string),
decimals (uint8),
totalSupply(uint8)
I would like to add additional mutable variables, which values could be changed after deployment through transactions. They would look something like this:
issuedSupply(uint8),
dedicatedManager(string)
I did not find an answer yet in the official specification references:
- https://ethereum.org/en/developers/docs/standards/tokens/erc-20/
- https://eips.ethereum.org/EIPS/eip-20
There are two similar questions:
- Extending ERC-721 with additional functionality
- Says extending is generally possible
- Extending Issued ERC 20 Token
- Says extending in ERC-20 is not possible after deployment, which makes sense.
So, to make my question complete:
Can I implement a smart contract, complying to the ERC-20 standard and having additional parameters which are publicly visible and which values can be changed after deployment through transactions?
Thanks a lot for having a look at my my question,
Kind regards