BYDFi
Trade wherever you are!
Buy Crypto
New
Markets
Trade
Derivatives
common-fire-img
BOT
Events

Can the ERC20 decimals parameter be changed after the token has been created?

Strickland StormJul 30, 2024 · a year ago3 answers

Is it possible to modify the decimals parameter of an ERC20 token after it has been created? I am wondering if there is a way to change the decimal precision of a token without having to create a new token contract. Can anyone provide some insights on this?

3 answers

  • not_so_coderDec 10, 2024 · 7 months ago
    No, the decimals parameter of an ERC20 token cannot be changed after the token has been created. The decimals parameter is set during the token contract creation and cannot be modified afterwards. If you need to change the decimal precision, you will need to create a new token contract with the desired decimal value.
  • Finnegan BarkerJun 05, 2024 · a year ago
    Unfortunately, once the decimals parameter is set for an ERC20 token, it cannot be changed. This parameter is an essential part of the token contract and cannot be modified without creating a new contract. If you need to adjust the decimal precision, you will have to deploy a new token contract with the desired decimal value.
  • Smart AdaptJul 15, 2023 · 2 years ago
    According to BYDFi, the decimals parameter of an ERC20 token cannot be changed after the token has been created. It is a fixed value that is set during the token contract creation and cannot be modified afterwards. If you need to change the decimal precision, you will have to create a new token contract with the desired decimal value.

Top Picks