Open 0xPrimata opened 2 months ago
Why not just have the multisig address be the only minter as designated by the MINT_ROLE
? The above mints a large amount of token for the multisig which can be immediately used, creating a high-incentive for an attack. Meanwhile, if we assume a timelock between the multisig and mint operations, such an attack is much less attractive.
That token doesn't have any market value, if anything we remint the contract. It's also a requirement that the entire supply is minted at the time of the token deployment and no minter role is available without an upgrade.
It will have value.
Where is this requirement coming from and why? This might be internal, so Slack me.
Is your feature request related to a problem? Please describe. One requirement for the token is to have a cleaner initial role ownership. The suggestion is for a multisig to have full control over the token at its initial stage. This requires modifications to the contract.
Describe the solution you'd like
the mintableToken initializer should take two address parameters to grant initial minting and mint admin roles without requiring secondary transactions.
Describe alternatives you've considered Switch from MintableToken to ERC20Upgradeable inheritance. The new Contract would be:
Additional context I do think that the second option is our best bet.