-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request for ERC20 #2409
Comments
When you deploy an ERC20 token, it is not expected to change |
No, they rename old DAI to SAI and create a new token named DAI |
Okay, but I still do not think it is a good idea to change token name and symbol. This is not a common case. |
Another use case would be this https://github.com/compound-finance/compound-protocol/blob/master/contracts/CToken.sol#L51 The token name will be defined in an init function |
Emmm, it is a init function to set a name rather than reset the name, and it can only be called once. |
Hi @ducquangkstn, Thanks for the suggestions, it is really appreciated. I recommend adding your use case to the following issues:
I believe this issue duplicates the above (especially once you add your use case), so I am closing this issue. |
🧐 Motivation
📝 Details
https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol#L74
🧐 Motivation
Because _name and _symbol of ERC20 are private. So I can not change name outside constructor. For token with permission (Ownable), owner can not change name of token so adding an internal _rename function will enable it
For example, when ppl rename from DAI to SAI
📝 Details
The text was updated successfully, but these errors were encountered: