Bitcoin Forum

Bitcoin => Project Development => Topic started by: coin-investor on August 31, 2019, 05:00:41 AM



Title: Is There A Way To Lock One Address If You Are A Smart Contract Developer
Post by: coin-investor on August 31, 2019, 05:00:41 AM
I'm not a smart contract developer I'm more on investing and bounty hunting
my fellow bounty hunters have experienced their tokens being locked.

And it has become the common practice now because these developers fear of bounty hunters dumping their token
I have 5 tokens locked they are now unlocked but I expect many more tokens coming from bounty being locked.

I would like to know can they locked addresses or only one address where all the bounty tokens come from that address..

Thanks for all those who can give me a good explanation.T


Title: Re: Is There A Way To Lock One Address If You Are A Smart Contract Developer
Post by: rearwheels on September 06, 2019, 04:12:15 PM
I suppose that locking of some token is possible by smart-contact. But it shouldn’t affect on other types of erc20 tokens. Please correct me if I am wrong.


Title: Re: Is There A Way To Lock One Address If You Are A Smart Contract Developer
Post by: DarkDays on September 08, 2019, 08:19:05 PM
Yes, it is certainly possible to prevent particular addresses from transferring tokens until X date. This is similar to token lockup period encoded into most ICO smart contracts.

However, not all blockchains share this functionality. With ERC20, it is certainly possible.

Here's one example of a smart contract implementation that features this functioanlity;

https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/TokenTimelock.sol

It would then just be the smaller matter of blocking a single, versus all addresses supplied by the contract.