Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DaoShiba._transfer(address,address,uint256) (#640-678):
External calls:
- swapTokens(contractTokenBalance) (#658)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
- buyBackTokens(balance.div(100)) (#666)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
External calls sending eth:
- swapTokens(contractTokenBalance) (#658)
- recipient.transfer(amount) (#951)
- buyBackTokens(balance.div(100)) (#666)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#677)
- _liquidityFee = _previousLiquidityFee (#883)
- _liquidityFee = 0 (#878)
- _tokenTransfer(from,to,amount,takeFee) (#677)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#854)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#770)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#779)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#790)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#800)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#771)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#781)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#791)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#802)
- _tokenTransfer(from,to,amount,takeFee) (#677)
- _rTotal = _rTotal.sub(rFee) (#809)
- _tokenTransfer(from,to,amount,takeFee) (#677)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#856)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#789)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#799)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#780)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#801)
- buyBackTokens(balance.div(100)) (#666)
- inSwapAndLiquify = true (#494)
- inSwapAndLiquify = false (#496)
Apply the check-effects-interactions pattern.
Additional information: link
DaoShiba.swapTokens(uint256) (#680-689) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#687)
Consider ordering multiplication before division.
Additional information: link
DaoShiba.addLiquidity(uint256,uint256) (#735-748) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#740-747)
Ensure that all the return values of the function calls are used.
Additional information: link
DaoShiba._approve(address,address,uint256).owner (#632) shadows:
- Ownable.owner() (#175-177) (function)
Rename the local variables that shadow another component.
Additional information: link
DaoShiba.setBuybackUpperLimit(uint256) (#918-920) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#919)
Emit an event for critical parameter changes.
Additional information: link
DaoShiba.setMarketingAddress(address)._marketingAddress (#922) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#923)
Check that the address is not zero.
Additional information: link
Reentrancy in DaoShiba.transferFrom(address,address,uint256) (#550-554):
External calls:
- _transfer(sender,recipient,amount) (#551)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- _transfer(sender,recipient,amount) (#551)
- recipient.transfer(amount) (#951)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#552)
- _allowances[owner][spender] = amount (#636)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DaoShiba.transferFrom(address,address,uint256) (#550-554):
External calls:
- _transfer(sender,recipient,amount) (#551)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#707-713)
External calls sending eth:
- _transfer(sender,recipient,amount) (#551)
- recipient.transfer(amount) (#951)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#637)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#552)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#210-215) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#212)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#142-159) uses assembly
- INLINE ASM (#151-154)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#97-100) is never used and should be removed
Remove unused functions.
Additional information: link
DaoShiba._previousLiquidityFee (#458) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.4 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
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#142-159):
- (success,returndata) = target.call{value: weiValue}(data) (#145)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable DaoShiba._maxTxAmount (#462) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#29)" inContext (#23-32)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DaoShiba.transferFrom(address,address,uint256) (#550-554):
External calls:
- _transfer(sender,recipient,amount) (#551)
- recipient.transfer(amount) (#951)
External calls sending eth:
- _transfer(sender,recipient,amount) (#551)
- recipient.transfer(amount) (#951)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#725-730)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#552)
- _allowances[owner][spender] = amount (#636)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#637)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#552)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DaoShiba._transferStandard(address,address,uint256).rTransferAmount (#769) is too similar to DaoShiba._transferBothExcluded(address,address,uint256).tTransferAmount (#798)
Prevent variables from having similar names.
Additional information: link
DaoShiba.slitherConstructorVariables() (#429-957) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#463)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DaoShiba.deadAddress (#434) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- DaoShiba.setBuyBackEnabled(bool) (#931-934)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts