Bitcoin Forum
July 16, 2024, 10:54:25 PM *
News: Latest Bitcoin Core release: 27.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 114 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: 1820
Merit: 4400



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

...AoBT...
▄▄█████████████████▄▄
███████████████████████
█████████████████████████
███████████████████████
██████████████████████
█████████████████████
███████████████████████
██████████████████████
█████████████████████
█████████████████████
█████████████████████████
███████████████████████
█████████████████
The Alliance
of Bitcointalk
Translators
▄▄▄███████▄▄▄
▄███████████████▄
▄███
████████████████▄
▄██
███████████████████▄
▄█
██████████████████████▄
████████████████████████
█████████████████████
████████████████████████
▀███████████████████████▀
▀███████████████████
▀███████████████████▀
███████████████▀
▀▀▀███████▀▀▀
.
..JOIN US..

▄███████████████████████▄
█████████████████████████
█████▀▀██████▀▀██▀▀▀▀████
████████▀██████████
████▄▄▄▄▀███████
███████▄▀▄█▀▀███████
█████████████████████████
█████████████████████████
████████████▀████████████
▀███████████████████████▀
█████

██████████
.
..HIRE US..
asriloni
Legendary
*
Offline Offline

Activity: 3080
Merit: 1027


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!