TetherBlack is a revolutionary bsc project run by a team of dedicated and honest individuals. At TetherBlack we strive for safety, reliability and security which we plan on bringing into the bsc space. This will be the first of many projects of our ecosystem and will be heavily funded by taxes of the other projects. Determined project owners can purchase franchises of our ecosystem with ease and in a secure way in which they will carry our name to success.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TetherBlack.addLiquidity(uint256,uint256) (#797-810) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TetherBlack.transferOwner(address) (#473-490):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#788-794)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- _marketingWallet.transfer((fromSwap * toMarketing) / toSwapForEth) (#772)
- _ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
State variables written after the call(s):
- _owner = newOwner (#487)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
TetherBlack.setLpPair(address,bool) (#550-560) compares to a boolean constant:
-enabled == false (#551)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
Remove unused functions.
Additional information: link
TetherBlack.swapAmount (#391) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 1000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.8.9 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Variable TetherBlack._hasLiqBeenAdded (#394) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
TetherBlack.swapAndLiquify(uint256) (#747-777) performs a multiplication on the result of a division:
-toEcosystem = (contractTokenBalance * _ecosystemRatio) / (totalFee) (#753)
-_ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
Consider ordering multiplication before division.
Additional information: link
TetherBlack.addLiquidity(uint256,uint256) (#797-810) ignores return value by dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
Ensure that all the return values of the function calls are used.
Additional information: link
TetherBlack.setSwapSettings(uint256,uint256,uint256,uint256) (#629-632) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#630)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#631)
Emit an event for critical parameter changes.
Additional information: link
TetherBlack.setWallets(address,address).newEcosystemWallet (#634) lacks a zero-check on :
- _ecosystemWallet = address(newEcosystemWallet) (#636)
Check that the address is not zero.
Additional information: link
Reentrancy in TetherBlack.transferFrom(address,address,uint256) (#522-526):
External calls:
- _transfer(sender,recipient,amount) (#523)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#788-794)
External calls sending eth:
- _transfer(sender,recipient,amount) (#523)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- _marketingWallet.transfer((fromSwap * toMarketing) / toSwapForEth) (#772)
- _ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#524)
- _allowances[sender][spender] = amount (#672)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TetherBlack.transferOwner(address) (#473-490):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#788-794)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- _marketingWallet.transfer((fromSwap * toMarketing) / toSwapForEth) (#772)
- _ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#488)
Apply the check-effects-interactions pattern.
Additional information: link
TetherBlack.setLpPair(address,bool) (#550-560) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#554)
- require(bool,string)(block.timestamp - timeSinceLastPair > 604800,Cannot set a new pair this week!) (#555)
Avoid relying on block.timestamp.
Additional information: link
Reentrancy in TetherBlack.transferOwner(address) (#473-490):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- _marketingWallet.transfer((fromSwap * toMarketing) / toSwapForEth) (#772)
- _ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#484)
- dexRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,burnAddress,block.timestamp) (#802-809)
- _marketingWallet.transfer((fromSwap * toMarketing) / toSwapForEth) (#772)
- _ecosystemWallet.transfer((fromSwap * toEcosystem) / toSwapForEth) (#775)
State variables written after the call(s):
- _owner = newOwner (#487)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#488)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#182) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#183)
Prevent variables from having similar names.
Additional information: link
TetherBlack.slitherConstructorVariables() (#310-866) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#371)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TetherBlack._liqAddBlock (#396) is never used in TetherBlack (#310-866)
Remove unused state variables.
Additional information: link
TetherBlack.startingSupply (#326) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setSwapAndLiquifyEnabled(bool) should be declared external:
- TetherBlack.setSwapAndLiquifyEnabled(bool) (#639-642)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account