0

So I'd like to change token decimals and token name in a specific contract. Is it possible?

  • Have fudged a specific token contract and really would like to edit those values :(I – maidabarrientos Oct 21 '17 at 2:48
1

Unfortunately once a contract is deployed the values cannot be changed. If it were possible to do so, then nobody would trust smart contracts.

0

No, you can't (unless they were programmed to allow such change, which would not comply at all with the ERC20 specifications, and as @Zenos Pavlakou mentioned, being able to modify the decimals would defeat the purpose of smart contracts).

What you could do, which would require quite some work, depending the status of the ICO, is issuing a new token with a new name and decimals and allow your current token holders to exchange them for the new one at the corresponding rate so they keep holding the same value. Not easy at all, but doable if you don't have any other alternatives.

  • if you add selfdestruct(owner); in a function to a contract that made ERC-20 tokens - would it destroy the tokens (if they are still held by the contract) ? – Fight Fire With Fire Jul 10 '18 at 22:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.