Decentralized United (DCU) is building an ecosystem of utilities that will revolutionize Defi. Along with DCU Smart Swap, which gives the unique opportunity for users to receive crypto cash back when using the swap (Trade2Earn), Decentralized United will bring a number of amazing utilities, some of which are unique for the crypto space. DCU Smart Swap, Root Layer Yielding, and Anonymous Bridge are only a small number of use cases that $DCU will build. DCU will have more and more utilities added to the $DCU ecosystem, including a unique smart blockchain, which will make it a one-stop shop for all your Defi needs.
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- swapTokensForEth(totalTokens) (#730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- transferToAddressETH(marketingWalletAddress,newBalance) (#734)
- recipient.transfer(amount) (#1018)
State variables written after the call(s):
- devTokensCollected = 0 (#738)
- liquidityTokensCollected = 0 (#737)
- marketingTokensCollected = 0 (#739)
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- liquidityTokensCollected += (amount * _liquidityFee) / 100 (#814)
Reentrancy in DecentralizedUnited._transfer(address,address,uint256) (#659-708):
External calls:
- swapAndLiquify() (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- swapAndLiquify() (#695)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- setSaleFee() (#698)
- _devFee = _saleDevFee (#798)
- setTransferFee() (#699)
- _devFee = _transferDevFee (#806)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _devFee = _previousDevFee (#930)
- _devFee = 0 (#922)
- setSaleFee() (#698)
- _liquidityFee = _saleLiquidityFee (#797)
- setTransferFee() (#699)
- _liquidityFee = _transferLiquidityFee (#805)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _liquidityFee = _previousLiquidityFee (#929)
- _liquidityFee = 0 (#921)
- setSaleFee() (#698)
- _marketingFee = _saleMarketingFee (#799)
- setTransferFee() (#699)
- _marketingFee = _transferMarketingFee (#807)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _marketingFee = 0 (#923)
- _marketingFee = _previousMarketingFee (#931)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity (#906)
- _rOwned[sender] = _rOwned[sender] - rAmount (#831)
- _rOwned[sender] = _rOwned[sender] - rAmount (#822)
- _rOwned[sender] = _rOwned[sender] - rAmount (#842)
- _rOwned[sender] = _rOwned[sender] - rAmount (#852)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#823)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#833)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#843)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#854)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _rTotal = _rTotal - rFee (#861)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _tFeeTotal = _tFeeTotal + tFee (#862)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#907)
- _tOwned[sender] = _tOwned[sender] - tAmount (#841)
- _tOwned[sender] = _tOwned[sender] - tAmount (#851)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#832)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#853)
- setSaleFee() (#698)
- _taxFee = _saleTaxFee (#796)
- setTransferFee() (#699)
- _taxFee = _transferTaxFee (#804)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _taxFee = _previousTaxFee (#928)
- _taxFee = 0 (#920)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- devTokensCollected += (amount * _devFee) / 100 (#815)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- liquidityTokensCollected += (amount * _liquidityFee) / 100 (#814)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- marketingTokensCollected += (amount * _marketingFee) / 100 (#816)
- setSaleFee() (#698)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#800)
- setTransferFee() (#699)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#808)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- totalSwapableFee = 0 (#924)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#932)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Pragma version^0.8.15 (#9) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.15 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
Redundant expression "this (#17)" inContext (#11-20)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#76-93):
- (success,returndata) = target.call{value: weiValue}(data) (#79)
Low level call in Address.sendValue(address,uint256) (#50-56):
- (success) = recipient.call{value: amount}() (#54)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DecentralizedUnited.setSwapAndLiquifyEnabled(bool)._enabled (#1010) is not in mixedCase
Constant DecentralizedUnited.deadAddress (#1027) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DecentralizedUnited._transferTaxFee (#423) is not in mixedCase
Constant DecentralizedUnited._symbol (#398) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter DecentralizedUnited.setExcludeFromFee(address,bool)._flag (#982) is not in mixedCase
Parameter DecentralizedUnited.setMarketingWalletAddress(address)._marketingWallet (#997) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#190) is not in mixedCase
Constant DecentralizedUnited._name (#397) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#206) is not in mixedCase
Variable DecentralizedUnited._saleDevFee (#418) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#189) is not in mixedCase
Variable DecentralizedUnited._transferLiquidityFee (#424) is not in mixedCase
Variable DecentralizedUnited._transferMarketingFee (#426) is not in mixedCase
Variable DecentralizedUnited._transferDevFee (#425) is not in mixedCase
Variable DecentralizedUnited._liquidityFee (#405) is not in mixedCase
Variable DecentralizedUnited._isExcludedMaxTransactionAmount (#386) is not in mixedCase
Parameter DecentralizedUnited.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#992) is not in mixedCase
Parameter DecentralizedUnited.calculateLiquidityFee(uint256)._amount (#914) is not in mixedCase
Variable DecentralizedUnited._taxFee (#402) is not in mixedCase
Variable DecentralizedUnited._devFee (#408) is not in mixedCase
Variable DecentralizedUnited._saleMarketingFee (#419) is not in mixedCase
Constant DecentralizedUnited._decimals (#399) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DecentralizedUnited._saleLiquidityFee (#417) is not in mixedCase
Variable DecentralizedUnited._marketingFee (#411) is not in mixedCase
Variable DecentralizedUnited._saleTaxFee (#416) is not in mixedCase
Constant DecentralizedUnited.deadWallet (#372) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#227) is not in mixedCase
Parameter DecentralizedUnited.setDevWalletAddress(address)._devWallet (#1003) is not in mixedCase
Parameter DecentralizedUnited.calculateTaxFee(uint256)._amount (#910) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
DecentralizedUnited.slitherConstructorConstantVariables() (#368-1057) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#1027)
DecentralizedUnited.slitherConstructorConstantVariables() (#368-1057) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#372)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DecentralizedUnited.addLiquidity(uint256,uint256) (#764-777) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
Ensure that all the return values of the function calls are used.
Additional information: link
DecentralizedUnited.allowance(address,address).owner (#543) shadows:
- Ownable.owner() (#110-112) (function)
DecentralizedUnited.constructor()._owner (#475) shadows:
- Ownable._owner (#98) (state variable)
DecentralizedUnited._approve(address,address,uint256).owner (#618) shadows:
- Ownable.owner() (#110-112) (function)
Rename the local variables that shadow another component.
Additional information: link
DecentralizedUnited.updateMaxWallet(uint256) (#644-647) should emit an event for:
- maxWallet = newNum * (10 ** 9) (#646)
DecentralizedUnited.updateMaxAmount(uint256) (#639-642) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 9) (#641)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in DecentralizedUnited.transferFrom(address,address,uint256) (#552-556):
External calls:
- _transfer(sender,recipient,amount) (#553)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- _transfer(sender,recipient,amount) (#553)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#554)
- _allowances[owner][spender] = amount (#622)
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- _allowances[owner][spender] = amount (#622)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _devFee = _previousDevFee (#930)
- _devFee = 0 (#922)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _liquidityFee = _previousLiquidityFee (#929)
- _liquidityFee = 0 (#921)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _marketingFee = 0 (#923)
- _marketingFee = _previousMarketingFee (#931)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity (#906)
- _rOwned[sender] = _rOwned[sender] - rAmount (#831)
- _rOwned[sender] = _rOwned[sender] - rAmount (#822)
- _rOwned[sender] = _rOwned[sender] - rAmount (#842)
- _rOwned[sender] = _rOwned[sender] - rAmount (#852)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#823)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#833)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#843)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#854)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _rTotal = _rTotal - rFee (#861)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _tFeeTotal = _tFeeTotal + tFee (#862)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#907)
- _tOwned[sender] = _tOwned[sender] - tAmount (#841)
- _tOwned[sender] = _tOwned[sender] - tAmount (#851)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#832)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#853)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- _taxFee = _previousTaxFee (#928)
- _taxFee = 0 (#920)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- devTokensCollected += (amount * _devFee) / 100 (#815)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- marketingTokensCollected += (amount * _marketingFee) / 100 (#816)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- totalSwapableFee = 0 (#924)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#932)
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- swapTokensForEth(totalTokens) (#730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- swapTokensForEth(totalTokens) (#730)
- _allowances[owner][spender] = amount (#622)
Apply the check-effects-interactions pattern.
Additional information: link
DecentralizedUnited.includeInReward(address) (#605-616) has costly operations inside a loop:
- _excluded.pop() (#612)
Use a local variable to hold the loop computation result.
Additional information: link
Address.sendValue(address,uint256) (#50-56) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#67-69) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#71-74) is never used and should be removed
DecentralizedUnited.swapETHForTokens(uint256) (#1030-1042) is never used and should be removed
Context._msgData() (#16-19) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#76-93) is never used and should be removed
Address.isContract(address) (#39-48) is never used and should be removed
Address.functionCall(address,bytes,string) (#63-65) is never used and should be removed
Address.functionCall(address,bytes) (#59-61) is never used and should be removed
Remove unused functions.
Additional information: link
DecentralizedUnited._previousTaxFee (#403) is set pre-construction with a non-constant function or state variable:
- _taxFee
DecentralizedUnited._rTotal (#393) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
DecentralizedUnited.totalSwapableTransferFee (#428) is set pre-construction with a non-constant function or state variable:
- _transferTaxFee + _transferLiquidityFee + _transferDevFee + _transferMarketingFee
DecentralizedUnited._previousDevFee (#409) is set pre-construction with a non-constant function or state variable:
- _devFee
DecentralizedUnited.totalSwapableSaleFee (#421) is set pre-construction with a non-constant function or state variable:
- _saleTaxFee + _saleLiquidityFee + _saleDevFee + _saleMarketingFee
DecentralizedUnited._previousLiquidityFee (#406) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
DecentralizedUnited._previousMarketingFee (#412) is set pre-construction with a non-constant function or state variable:
- _marketingFee
DecentralizedUnited.totalSwapableFee (#414) is set pre-construction with a non-constant function or state variable:
- _liquidityFee + _devFee + _marketingFee
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
Ownable.unlock() (#145-150) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#147)
Avoid relying on block.timestamp.
Additional information: link
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- SwapAndLiquify(halfLiquidityTokens,newBalance,halfLiquidityTokens) (#719)
- Transfer(sender,recipient,tTransferAmount) (#826)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- Transfer(sender,recipient,tTransferAmount) (#836)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- Transfer(sender,recipient,tTransferAmount) (#846)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
- Transfer(sender,recipient,tTransferAmount) (#857)
- _tokenTransfer(address(this),devWalletAddress,devTokensCollected,false) (#725)
Reentrancy in DecentralizedUnited.swapTokensForEth(uint256) (#744-761):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#760)
Reentrancy in DecentralizedUnited._transfer(address,address,uint256) (#659-708):
External calls:
- swapAndLiquify() (#695)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- swapAndLiquify() (#695)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#826)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#836)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#857)
- _tokenTransfer(from,to,amount,takeFee) (#707)
Reentrancy in DecentralizedUnited.swapETHForTokens(uint256) (#1030-1042):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp + 300) (#1037-1040)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1041)
Reentrancy in DecentralizedUnited.transferFrom(address,address,uint256) (#552-556):
External calls:
- _transfer(sender,recipient,amount) (#553)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- _transfer(sender,recipient,amount) (#553)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#554)
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- swapTokensForEth(totalTokens) (#730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapTokensForEth(totalTokens) (#730)
- SwapTokensForETH(tokenAmount,path) (#760)
- swapTokensForEth(totalTokens) (#730)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#76-93) uses assembly
- INLINE ASM (#85-88)
Address.isContract(address) (#39-48) uses assembly
- INLINE ASM (#46)
Do not use evm assembly.
Additional information: link
Reentrancy in DecentralizedUnited.swapAndLiquify() (#710-741):
External calls:
- transferToAddressETH(marketingWalletAddress,newBalance) (#734)
- recipient.transfer(amount) (#1018)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#718)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
- transferToAddressETH(marketingWalletAddress,newBalance) (#734)
- recipient.transfer(amount) (#1018)
State variables written after the call(s):
- devTokensCollected = 0 (#738)
- liquidityTokensCollected = 0 (#737)
- marketingTokensCollected = 0 (#739)
Reentrancy in DecentralizedUnited._transfer(address,address,uint256) (#659-708):
External calls:
- swapAndLiquify() (#695)
- recipient.transfer(amount) (#1018)
External calls sending eth:
- swapAndLiquify() (#695)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- setSaleFee() (#698)
- _devFee = _saleDevFee (#798)
- setTransferFee() (#699)
- _devFee = _transferDevFee (#806)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _devFee = _previousDevFee (#930)
- _devFee = 0 (#922)
- setSaleFee() (#698)
- _liquidityFee = _saleLiquidityFee (#797)
- setTransferFee() (#699)
- _liquidityFee = _transferLiquidityFee (#805)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _liquidityFee = _previousLiquidityFee (#929)
- _liquidityFee = 0 (#921)
- setSaleFee() (#698)
- _marketingFee = _saleMarketingFee (#799)
- setTransferFee() (#699)
- _marketingFee = _transferMarketingFee (#807)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _marketingFee = 0 (#923)
- _marketingFee = _previousMarketingFee (#931)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _rOwned[address(this)] = _rOwned[address(this)] + rLiquidity (#906)
- _rOwned[sender] = _rOwned[sender] - rAmount (#831)
- _rOwned[sender] = _rOwned[sender] - rAmount (#822)
- _rOwned[sender] = _rOwned[sender] - rAmount (#842)
- _rOwned[sender] = _rOwned[sender] - rAmount (#852)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#823)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#833)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#843)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#854)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _rTotal = _rTotal - rFee (#861)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _tFeeTotal = _tFeeTotal + tFee (#862)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#907)
- _tOwned[sender] = _tOwned[sender] - tAmount (#841)
- _tOwned[sender] = _tOwned[sender] - tAmount (#851)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#832)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#853)
- setSaleFee() (#698)
- _taxFee = _saleTaxFee (#796)
- setTransferFee() (#699)
- _taxFee = _transferTaxFee (#804)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- _taxFee = _previousTaxFee (#928)
- _taxFee = 0 (#920)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- devTokensCollected += (amount * _devFee) / 100 (#815)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- liquidityTokensCollected += (amount * _liquidityFee) / 100 (#814)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- marketingTokensCollected += (amount * _marketingFee) / 100 (#816)
- setSaleFee() (#698)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#800)
- setTransferFee() (#699)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#808)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- totalSwapableFee = 0 (#924)
- totalSwapableFee = _liquidityFee + _devFee + _marketingFee (#932)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#826)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#836)
- _tokenTransfer(from,to,amount,takeFee) (#707)
- Transfer(sender,recipient,tTransferAmount) (#857)
- _tokenTransfer(from,to,amount,takeFee) (#707)
Reentrancy in DecentralizedUnited.transferFrom(address,address,uint256) (#552-556):
External calls:
- _transfer(sender,recipient,amount) (#553)
- recipient.transfer(amount) (#1018)
External calls sending eth:
- _transfer(sender,recipient,amount) (#553)
- recipient.transfer(amount) (#1018)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadWallet,block.timestamp) (#769-776)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#554)
- _allowances[owner][spender] = amount (#622)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#554)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._getTValues(uint256).tTransferAmount (#874)
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#882) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#232) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#233)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited.reflectionFromToken(uint256,bool).rTransferAmount (#584) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable DecentralizedUnited._transferToExcluded(address,address,uint256).rTransferAmount (#830) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._transferBothExcluded(address,address,uint256).rTransferAmount (#850) is too similar to DecentralizedUnited._transferBothExcluded(address,address,uint256).tTransferAmount (#850)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._transferFromExcluded(address,address,uint256).tTransferAmount (#840)
Variable DecentralizedUnited._transferFromExcluded(address,address,uint256).rTransferAmount (#840) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Variable DecentralizedUnited._transferStandard(address,address,uint256).rTransferAmount (#821) is too similar to DecentralizedUnited._transferToExcluded(address,address,uint256).tTransferAmount (#830)
Variable DecentralizedUnited._getValues(uint256).rTransferAmount (#867) is too similar to DecentralizedUnited._getValues(uint256).tTransferAmount (#866)
Prevent variables from having similar names.
Additional information: link
increaseAllowance(address,uint256) should be declared external:
- DecentralizedUnited.increaseAllowance(address,uint256) (#558-561)
approve(address,uint256) should be declared external:
- DecentralizedUnited.approve(address,uint256) (#547-550)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#119-122)
allowance(address,address) should be declared external:
- DecentralizedUnited.allowance(address,address) (#543-545)
name() should be declared external:
- DecentralizedUnited.name() (#517-519)
transfer(address,uint256) should be declared external:
- DecentralizedUnited.transfer(address,uint256) (#538-541)
decreaseAllowance(address,uint256) should be declared external:
- DecentralizedUnited.decreaseAllowance(address,uint256) (#563-566)
minimumTokensBeforeSwapAmount() should be declared external:
- DecentralizedUnited.minimumTokensBeforeSwapAmount() (#573-575)
getTime() should be declared external:
- Ownable.getTime() (#134-136)
symbol() should be declared external:
- DecentralizedUnited.symbol() (#521-523)
transferFrom(address,address,uint256) should be declared external:
- DecentralizedUnited.transferFrom(address,address,uint256) (#552-556)
unlock() should be declared external:
- Ownable.unlock() (#145-150)
decimals() should be declared external:
- DecentralizedUnited.decimals() (#525-527)
isExcludedFromReward(address) should be declared external:
- DecentralizedUnited.isExcludedFromReward(address) (#568-570)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#138-143)
excludeFromMaxTransaction(address,bool) should be declared external:
- DecentralizedUnited.excludeFromMaxTransaction(address,bool) (#649-651)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#130-132)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Contract has 7% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death