CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

Crypto unicorn: CoinList valued at $1.5B following $100M Series A

The platform’s growth over the past year mirrors crypto’s evolution from fringe financial product to mainstream digital asset class.

Blacklisting Addresses?

We have been running tokens to prepare for a larger project and we have been getting sniped/botted the instant liquidity is added. This results in this sniper dumping 20 minutes later and killing any momentum and destroying the chart. We are looking for a way to blacklist these bots so they cannot sell. I’ve been::Listen

We have been running tokens to prepare for a larger project and we have been getting sniped/botted the instant liquidity is added. This results in this sniper dumping 20 minutes later and killing any momentum and destroying the chart. We are looking for a way to blacklist these bots so they cannot sell. I’ve been able to get the function to appear but inputting an address does nothing – the address can still buy and sell.

We have tried a variety of code from other contracts with no luck, for example:

    // Address that are identified as botters with holding of more than 5%. mapping(address => bool) private _includeToBlackList;         /**  * @dev Exclude an address from blackList.  * Can only be called by the current operator.  */ function setExcludeFromBlackList(address _account) public onlyOwner {     _includeToBlackList[_account] = false; }  /**  * @dev Include an address to blackList.  * Can only be called by the current operator.  */ function setIncludeToBlackList(address _account) public onlyOwner {     _includeToBlackList[_account] = true; } 

Our contract is 0.6.12

Crypto unicorn: CoinList valued at $1.5B following $100M Series A

Shopping cart
There are no products in the cart!
Continue shopping
0