Bitcoin Forum
July 20, 2025, 01:44:37 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can i change the code of my erc20 token after it created  (Read 140 times)
smax00580 (OP)
Jr. Member
*
Offline Offline

Activity: 241
Merit: 4


View Profile WWW
January 07, 2021, 12:46:26 PM
 #1

Hi My question is can i alternate the code of my erc 20 token after creation?

▆▆▆▆▆▆   :[Consistency Labs]:   ▆▆▆▆▆▆
Tokenizing Blockchain NFT gaming Investment
https://consistencylabs.io/
zasad@
Legendary
*
Offline Offline

Activity: 2184
Merit: 5022


♻️ Automatic Exchange


View Profile WWW
January 07, 2021, 08:28:39 PM
 #2

Hi My question is can i alternate the code of my erc 20 token after creation?
https://eips.ethereum.org/EIPS/eip-20
The Ethereum smart contract cannot be changed after creation.

There is a SELFDESTRUCT function that can delete a smart contract and replace it with a new one.
https://deepai.org/publication/why-do-smart-contracts-self-destruct-investigating-the-selfdestruct-function-on-ethereum

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
asriloni
Legendary
*
Offline Offline

Activity: 3444
Merit: 1088


Leading Crypto Sports Betting & Casino Platform


View Profile
January 08, 2021, 05:08:04 AM
 #3

Hi My question is can i alternate the code of my erc 20 token after creation?
When you already deployed the contract and that will be permanent and it can't be changed again. That's why you should try to make sure if you have been doing so many test with the function in your contract. If you are not putting the self destruct function and I guess you can't change your contract. CMIIW

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
smax00580 (OP)
Jr. Member
*
Offline Offline

Activity: 241
Merit: 4


View Profile WWW
January 10, 2021, 05:28:15 AM
Last edit: January 11, 2021, 01:53:28 AM by mprep
 #4

Hi My question is can i alternate the code of my erc 20 token after creation?
https://eips.ethereum.org/EIPS/eip-20
The Ethereum smart contract cannot be changed after creation.

There is a SELFDESTRUCT function that can delete a smart contract and replace it with a new one.
https://deepai.org/publication/why-do-smart-contracts-self-destruct-investigating-the-selfdestruct-function-on-ethereum
Thank you so much it really helped me understand.



Thank you very much guys.

[moderator's note: consecutive posts merged]

▆▆▆▆▆▆   :[Consistency Labs]:   ▆▆▆▆▆▆
Tokenizing Blockchain NFT gaming Investment
https://consistencylabs.io/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!