Welcome to DogeSharkFam the deep sea. DogeShark will illuminate ur darkness.
DogeShark ($DOSH) is a Web3 project built on BSC Chain by an experienced team. 100% Community Token
$DOSH Buy/Sell Tax 10%: - 3% Marketing - 1% Team - 1% Buyback $DOSH token - 3% LP - 2% Token holder reflection
✅ KYC/Safu Team ✅ Contract audited ✅ Marketing support from communication agency
DogeShark.addLiquidity(uint256,uint256) (#774-788) sends eth to arbitrary user
Dangerous calls:
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DogeShark._transfer(address,address,uint256) (#669-726):
External calls:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rOwned[to] = _rOwned[to] + rAmount (#646)
- _rOwned[sender] = _rOwned[sender] - rAmount (#825)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#830)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rTotal = _rTotal - rFee (#604)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _tOwned[to] = _tOwned[to] + tAmount (#648)
- _tOwned[sender] = _tOwned[sender] - tAmount (#827)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#832)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
DogeShark.swapAndLiquify(uint256) (#728-754) performs a multiplication on the result of a division:
-bnbForTeam = newBalance / 10000 * _percentageOfLiquidityForTeam (#738)
DogeShark.swapAndLiquify(uint256) (#728-754) performs a multiplication on the result of a division:
-bnbForMarketing = newBalance / 10000 * _percentageOfLiquidityForMarketing (#739)
Consider ordering multiplication before division.
Additional information: link
DogeShark.allowance(address,address).owner (#455) shadows:
- Ownable.owner() (#63-65) (function)
DogeShark._approve(address,address,uint256).owner (#661) shadows:
- Ownable.owner() (#63-65) (function)
Rename the local variables that shadow another component.
Additional information: link
DogeShark.setMinTokenBalance(uint256) (#538-540) should emit an event for:
- _minTokenBalance = minTokenBalance (#539)
DogeShark.setFeesTransfer(uint256,uint256) (#561-564) should emit an event for:
- _taxFee = taxFee (#562)
- _liquidityFee = liquidityFee (#563)
DogeShark.cooldownEnabled(bool,uint8) (#567-570) should emit an event for:
- cooldownTimerInterval = _interval (#569)
DogeShark.setLiquidityPercentages(uint256,uint256) (#578-581) should emit an event for:
- _percentageOfLiquidityForTeam = teamFee (#579)
- _percentageOfLiquidityForMarketing = marketingFee (#580)
Emit an event for critical parameter changes.
Additional information: link
DogeShark.setAddresses(address,address).teamWallet (#573) lacks a zero-check on :
- _TeamWallet = teamWallet (#574)
DogeShark.setAddresses(address,address).marketingWallet (#573) lacks a zero-check on :
- _marketingWallet = marketingWallet (#575)
DogeShark.setUniswapPair(address).p (#595) lacks a zero-check on :
- uniswapV2Pair = p (#596)
Check that the address is not zero.
Additional information: link
DogeShark.swapTokensForBnb(uint256) (#756-772) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#760)
DogeShark.swapTokensForBnb(uint256) (#756-772) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
DogeShark.swapAndLiquify(uint256) (#728-754) has external calls inside a loop: address(_TeamWallet).transfer(bnbForTeam) (#744)
DogeShark.swapAndLiquify(uint256) (#728-754) has external calls inside a loop: address(_marketingWallet).transfer(bnbForMarketing) (#748)
DogeShark.addLiquidity(uint256,uint256) (#774-788) has external calls inside a loop: (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in DogeShark._transfer(address,address,uint256) (#669-726):
External calls:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _liquidityFee = 0 (#799)
- _liquidityFee = _liquidityFeeBuy (#803)
- _liquidityFee = _liquidityFeeSell (#807)
- _liquidityFee = previousLiquidityFee (#814)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _tFeeTotal = _tFeeTotal + tFee (#605)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _taxFee = 0 (#798)
- _taxFee = _taxFeeBuy (#802)
- _taxFee = _taxFeeSell (#806)
- _taxFee = previousTaxFee (#813)
- cooldownTimer[to] = block.timestamp + cooldownTimerInterval (#717)
Reentrancy in DogeShark.constructor() (#383-417):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#391-392)
State variables written after the call(s):
- _isExcludedFromAntiWhale[owner()] = true (#407)
- _isExcludedFromAntiWhale[address(this)] = true (#408)
- _isExcludedFromAntiWhale[uniswapV2Pair] = true (#409)
- _isExcludedFromAntiWhale[address(uniswapV2Router)] = true (#410)
- _isExcludedFromAntiWhale[_burnAddress] = true (#411)
- _isExcludedFromAntiWhale[address(0xC2a4cA95aE1C416f291B790De3057179c9c17501)] = true (#412)
- _isExcludedFromAutoLiquidity[uniswapV2Pair] = true (#399)
- _isExcludedFromAutoLiquidity[address(uniswapV2Router)] = true (#400)
- _isExcludedFromFee[owner()] = true (#396)
- _isExcludedFromFee[address(this)] = true (#397)
- _isExcludedFromMaxTx[owner()] = true (#413)
- _isExcludedFromMaxTx[address(0xC2a4cA95aE1C416f291B790De3057179c9c17501)] = true (#414)
- isTimelockExempt[msg.sender] = true (#403)
- isTimelockExempt[_burnAddress] = true (#404)
- isTimelockExempt[address(this)] = true (#405)
- uniswapV2Router = _uniswapV2Router (#393)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- swapTokensForBnb(half) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
External calls sending eth:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
State variables written after the call(s):
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- _allowances[owner][spender] = amount (#665)
Reentrancy in DogeShark.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#465)
- _allowances[owner][spender] = amount (#665)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeShark._transfer(address,address,uint256) (#669-726):
External calls:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
Event emitted after the call(s):
- Transfer(sender,to,tAmount) (#650)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- Transfer(sender,recipient,tTransferAmount) (#837)
- _tokenTransfer(from,to,amount,takeFee) (#711)
Reentrancy in DogeShark.constructor() (#383-417):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#391-392)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#416)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- swapTokensForBnb(half) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
Event emitted after the call(s):
- TeamSent(_TeamWallet,bnbForTeam) (#743)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- swapTokensForBnb(half) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
Event emitted after the call(s):
- MarketingSent(_marketingWallet,bnbForMarketing) (#747)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- swapTokensForBnb(half) (#735)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
External calls sending eth:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- SwapAndLiquify(half,bnbAdded,tokenAdded) (#753)
Reentrancy in DogeShark.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#765-771)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#465)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#94-99) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is still locked) (#96)
DogeShark._transfer(address,address,uint256) (#669-726) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[to] < block.timestamp,Please wait for 1min between two operations) (#716)
Avoid relying on block.timestamp.
Additional information: link
DogeShark.lockTheSwap() (#377-381) has costly operations inside a loop:
- inSwapAndLiquify = true (#378)
DogeShark.lockTheSwap() (#377-381) has costly operations inside a loop:
- inSwapAndLiquify = false (#380)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _taxFee = 0 (#798)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _liquidityFee = 0 (#799)
DogeShark._reflectFee(uint256,uint256) (#603-606) has costly operations inside a loop:
- _rTotal = _rTotal - rFee (#604)
DogeShark._reflectFee(uint256,uint256) (#603-606) has costly operations inside a loop:
- _tFeeTotal = _tFeeTotal + tFee (#605)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _taxFee = previousTaxFee (#813)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _liquidityFee = previousLiquidityFee (#814)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _taxFee = _taxFeeBuy (#802)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _liquidityFee = _liquidityFeeBuy (#803)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _taxFee = _taxFeeSell (#806)
DogeShark._tokenTransfer(address,address,uint256,bool) (#790-816) has costly operations inside a loop:
- _liquidityFee = _liquidityFeeSell (#807)
DogeShark.includeInReward(address) (#519-531) has costly operations inside a loop:
- _excluded.pop() (#527)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#30-33) is never used and should be removed
Remove unused functions.
Additional information: link
DogeShark._rTotal (#326) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
DogeShark._maxTxAmount (#348) is set pre-construction with a non-constant function or state variable:
- _tTotal * 10000 / 10000
DogeShark._minTokenBalance (#349) is set pre-construction with a non-constant function or state variable:
- _tTotal / 400
DogeShark._antiWhaleThreshold (#366) is set pre-construction with a non-constant function or state variable:
- _tTotal * 200 / 10000
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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#133) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#134) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#151) is not in mixedCase
Function IUniswapV2Router01.WETH() (#171) is not in mixedCase
Parameter DogeShark.cooldownEnabled(bool,uint8)._status (#567) is not in mixedCase
Parameter DogeShark.cooldownEnabled(bool,uint8)._interval (#567) is not in mixedCase
Parameter DogeShark.setSwapAndLiquifyEnabled(bool)._enabled (#583) is not in mixedCase
Variable DogeShark._isExcludedFromAutoLiquidity (#312) is not in mixedCase
Variable DogeShark._isExcludedFromAntiWhale (#313) is not in mixedCase
Variable DogeShark._isExcludedFromBuy (#314) is not in mixedCase
Variable DogeShark._isExcludedFromMaxTx (#315) is not in mixedCase
Variable DogeShark._TeamWallet (#319) is not in mixedCase
Constant DogeShark._burnAddress (#322) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogeShark._name (#329) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogeShark._symbol (#330) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DogeShark._decimals (#331) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DogeShark._taxFee (#337) is not in mixedCase
Variable DogeShark._liquidityFee (#338) is not in mixedCase
Variable DogeShark._taxFeeBuy (#341) is not in mixedCase
Variable DogeShark._liquidityFeeBuy (#342) is not in mixedCase
Variable DogeShark._taxFeeSell (#345) is not in mixedCase
Variable DogeShark._liquidityFeeSell (#346) is not in mixedCase
Variable DogeShark._maxTxAmount (#348) is not in mixedCase
Variable DogeShark._minTokenBalance (#349) is not in mixedCase
Variable DogeShark._isAntiWhaleEnabled (#365) is not in mixedCase
Variable DogeShark._antiWhaleThreshold (#366) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#31)" inContext (#25-34)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DogeShark._transfer(address,address,uint256) (#669-726):
External calls:
- swapAndLiquify(contractTokenBalance) (#703)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#703)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _liquidityFee = 0 (#799)
- _liquidityFee = _liquidityFeeBuy (#803)
- _liquidityFee = _liquidityFeeSell (#807)
- _liquidityFee = previousLiquidityFee (#814)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rOwned[to] = _rOwned[to] + rAmount (#646)
- _rOwned[sender] = _rOwned[sender] - rAmount (#825)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#830)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _rTotal = _rTotal - rFee (#604)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _tFeeTotal = _tFeeTotal + tFee (#605)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _tOwned[to] = _tOwned[to] + tAmount (#648)
- _tOwned[sender] = _tOwned[sender] - tAmount (#827)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#832)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- _taxFee = 0 (#798)
- _taxFee = _taxFeeBuy (#802)
- _taxFee = _taxFeeSell (#806)
- _taxFee = previousTaxFee (#813)
- cooldownTimer[to] = block.timestamp + cooldownTimerInterval (#717)
Event emitted after the call(s):
- Transfer(sender,to,tAmount) (#650)
- _tokenTransfer(from,to,amount,takeFee) (#711)
- Transfer(sender,recipient,tTransferAmount) (#837)
- _tokenTransfer(from,to,amount,takeFee) (#711)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
Event emitted after the call(s):
- MarketingSent(_marketingWallet,bnbForMarketing) (#747)
Reentrancy in DogeShark.swapAndLiquify(uint256) (#728-754):
External calls:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
External calls sending eth:
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
State variables written after the call(s):
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- _allowances[owner][spender] = amount (#665)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- (tokenAdded,bnbAdded) = addLiquidity(otherHalf,bnbForLiquidity) (#751)
- SwapAndLiquify(half,bnbAdded,tokenAdded) (#753)
Reentrancy in DogeShark.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- (amountToken,amountETH) = uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#779-786)
- address(_TeamWallet).transfer(bnbForTeam) (#744)
- address(_marketingWallet).transfer(bnbForMarketing) (#748)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#465)
- _allowances[owner][spender] = amount (#665)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#666)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#465)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#176) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#177)
Variable DogeShark.reflectionFromToken(uint256,bool).rTransferAmount (#497) is too similar to DogeShark._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DogeShark.reflectionFromToken(uint256,bool).rTransferAmount (#497) is too similar to DogeShark._getTValues(uint256).tTransferAmount (#611)
Variable DogeShark._transferStandard(address,address,uint256).rTransferAmount (#823) is too similar to DogeShark._transferStandard(address,address,uint256).tTransferAmount (#821)
Variable DogeShark._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#620) is too similar to DogeShark._getTValues(uint256).tTransferAmount (#611)
Variable DogeShark._transferStandard(address,address,uint256).rTransferAmount (#823) is too similar to DogeShark._getTValues(uint256).tTransferAmount (#611)
Variable DogeShark._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#620) is too similar to DogeShark._transferStandard(address,address,uint256).tTransferAmount (#821)
Prevent variables from having similar names.
Additional information: link
DogeShark.slitherConstructorVariables() (#306-841) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 9 (#325)
DogeShark.slitherConstructorConstantVariables() (#306-841) uses literals with too many digits:
- _burnAddress = 0x000000000000000000000000000000000000dEaD (#322)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DogeShark._liquidityFeeBuy (#342) should be constant
DogeShark._liquidityFeeSell (#346) should be constant
DogeShark._tTotal (#325) should be constant
DogeShark._taxFeeBuy (#341) should be constant
DogeShark._taxFeeSell (#345) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#72-75)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#77-81)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#83-85)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#87-92)
unlock() should be declared external:
- Ownable.unlock() (#94-99)
name() should be declared external:
- DogeShark.name() (#419-421)
symbol() should be declared external:
- DogeShark.symbol() (#423-425)
decimals() should be declared external:
- DogeShark.decimals() (#427-429)
totalSupply() should be declared external:
- DogeShark.totalSupply() (#431-436)
transfer(address,uint256) should be declared external:
- DogeShark.transfer(address,uint256) (#443-446)
multiTransfer(address[],uint256[]) should be declared external:
- DogeShark.multiTransfer(address[],uint256[]) (#448-453)
allowance(address,address) should be declared external:
- DogeShark.allowance(address,address) (#455-457)
approve(address,uint256) should be declared external:
- DogeShark.approve(address,uint256) (#459-462)
transferFrom(address,address,uint256) should be declared external:
- DogeShark.transferFrom(address,address,uint256) (#463-467)
increaseAllowance(address,uint256) should be declared external:
- DogeShark.increaseAllowance(address,uint256) (#469-472)
decreaseAllowance(address,uint256) should be declared external:
- DogeShark.decreaseAllowance(address,uint256) (#474-477)
isExcludedFromReward(address) should be declared external:
- DogeShark.isExcludedFromReward(address) (#479-481)
totalFees() should be declared external:
- DogeShark.totalFees() (#483-485)
reflectionFromToken(uint256,bool) should be declared external:
- DogeShark.reflectionFromToken(uint256,bool) (#487-500)
excludeFromReward(address) should be declared external:
- DogeShark.excludeFromReward(address) (#509-517)
cooldownEnabled(bool,uint8) should be declared external:
- DogeShark.cooldownEnabled(bool,uint8) (#567-570)
setSwapAndLiquifyEnabled(bool) should be declared external:
- DogeShark.setSwapAndLiquifyEnabled(bool) (#583-586)
isExcludedFromFee(address) should be declared external:
- DogeShark.isExcludedFromFee(address) (#657-659)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts