Bitcoin Forum
May 04, 2024, 03:09:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Smart contracts for tokens  (Read 104 times)
thinklab71 (OP)
Copper Member
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
February 09, 2018, 08:14:42 PM
 #1

Once a token is released to the general public, is there a way to add to the smart contract different features afterwards?
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714792158
Hero Member
*
Offline Offline

Posts: 1714792158

View Profile Personal Message (Offline)

Ignore
1714792158
Reply with quote  #2

1714792158
Report to moderator
1714792158
Hero Member
*
Offline Offline

Posts: 1714792158

View Profile Personal Message (Offline)

Ignore
1714792158
Reply with quote  #2

1714792158
Report to moderator
mammothine
Newbie
*
Offline Offline

Activity: 117
Merit: 0


View Profile
February 09, 2018, 08:59:05 PM
 #2

Once a token is released to the general public, is there a way to add to the smart contract different features afterwards?



Yes, but it has to be written into the contract before you deploy it.
thinklab71 (OP)
Copper Member
Member
**
Offline Offline

Activity: 183
Merit: 10


View Profile
February 10, 2018, 06:22:36 PM
 #3

So there is no way to edit the contract after it's deployed?  What if you want to add a new rule down the road to the contract?
khendjer
Member
**
Offline Offline

Activity: 157
Merit: 13


View Profile
February 10, 2018, 07:44:09 PM
 #4

So there is no way to edit the contract after it's deployed?  What if you want to add a new rule down the road to the contract?
Every smart contract has a predefined list of methods. Once it deployed that list of methods can't be supplemented by new ones. Like it is often stated 'code is a law'. Although it's not possible to modify a contract code after deploy, it is still possible to use it's predefined methods to change some variables even after deploy. If you are developing an ICO contract you can for example add a method which will allow you to mint coins infinitely after ICO ends or add a method which will allow you to change hard cap at any time. That's the reason is so important for ICO contract to be public so everyone could check by himself whether contract doesn't have hidden methods and whether developers are not trying to scam investors. The same situation is with another kind of contracts.

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!