Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in DogeGang._transfer(address,address,uint256) (#647-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#678)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#754)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#761)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#778)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ticker (Doge Gang) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
DogeGang.addLiquidity(uint256,uint256) (#737-750) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Ensure that all the return values of the function calls are used.
Additional information: link
DogeGang.allowance(address,address).owner (#521) shadows:
- Ownable.owner() (#150-152) (function)
DogeGang._approve(address,address,uint256).owner (#544) shadows:
- Ownable.owner() (#150-152) (function)
Rename the local variables that shadow another component.
Additional information: link
DogeGang.setNewTradeLimit(uint256) (#562-564) should emit an event for:
- _tradelimit = tradelimit * 10 ** _DECIMALS (#563)
DogeGang.setNewWalletLimit(uint256) (#574-576) should emit an event for:
- _walletlimit = newLimit * 10 ** _DECIMALS (#575)
DogeGang.setBuyTaxes(uint256,uint256,uint256) (#578-583) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#583)
DogeGang.setDistrishare(uint256,uint256,uint256) (#599-605) should emit an event for:
- _liquidityShare = newLiquidityShare (#600)
- _teamShare = newTeamShare (#602)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#604)
DogeGang.setNumTokensBeforeSwap(uint256) (#608-610) should emit an event for:
- minidividnum = newLimit (#609)
Emit an event for critical parameter changes.
Additional information: link
DogeGang.setMarketingWalletAddress(address).newAddress (#612) lacks a zero-check on :
- marketAddress = address(newAddress) (#613)
DogeGang.setTeamWalletAddress(address).newAddress (#616) lacks a zero-check on :
- teamAddress = address(newAddress) (#617)
Check that the address is not zero.
Additional information: link
Reentrancy in DogeGang.constructor(string,string,uint8,uint256,uint8[3],uint8[3],uint256,uint256[2],uint8[3],address[3]) (#449-499):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#455-456)
State variables written after the call(s):
- _DECIMALS = Decimals (#467)
- _NAME = NAME (#465)
- _SYMBOL = SYMBOL (#466)
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#459)
- _balances[_msgSender()] = _totalSupply (#497)
- _buyLiquidityFee = buyfee[0] (#469)
- _buyMarketingFee = buyfee[1] (#470)
- _buyTeamFee = buyfee[2] (#471)
- _liquidityShare = share[0] (#479)
- _marketingShare = share[2] (#479)
- _sellLiquidityFee = sellfee[0] (#469)
- _sellMarketingFee = sellfee[1] (#470)
- _sellTeamFee = sellfee[2] (#471)
- _teamShare = share[1] (#479)
- _time = End (#476)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#484)
- _totalSupply = Totalsupply * 10 ** _DECIMALS (#475)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#482)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#483)
- _tradelimit = Limit[0] * 10 ** _DECIMALS (#473)
- _walletlimit = Limit[1] * 10 ** _DECIMALS (#473)
- isExcludedFromFee[owner()] = true (#461)
- isExcludedFromFee[address(this)] = true (#462)
- isExcludedFromFee[wallet[2]] = true (#463)
- isMarketPair[address(uniswapPair)] = true (#494)
- isMarketPair[address(uniswapRouter)] = true (#495)
- isTradeLimitExempt[owner()] = true (#490)
- isTradeLimitExempt[address(this)] = true (#491)
- isWalletLimitExempt[owner()] = true (#486)
- isWalletLimitExempt[address(uniswapPair)] = true (#487)
- isWalletLimitExempt[address(this)] = true (#488)
- marketAddress = address(wallet[0]) (#480)
- minidividnum = _totalSupply.mul(5).div(10000) (#477)
- teamAddress = address(wallet[1]) (#480)
- uniswapRouter = wallet[2] (#480)
- uniswapV2Router = _uniswapV2Router (#458)
Reentrancy in DogeGang.swapAndLiquify(uint256) (#693-715):
External calls:
- swapTokensForEth(tokensForSwap) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#708)
- recipient.transfer(amount) (#630)
- transferToAddressETH(teamAddress,amountBNBTeam) (#711)
- recipient.transfer(amount) (#630)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- _allowances[owner][spender] = amount (#548)
Reentrancy in DogeGang.transferFrom(address,address,uint256) (#641-645):
External calls:
- _transfer(sender,recipient,amount) (#642)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#642)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#643)
- _allowances[owner][spender] = amount (#548)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeGang._transfer(address,address,uint256) (#647-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#762)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,address(this),feeAmount) (#755)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,address(this),feeAmount) (#779)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#680)
Reentrancy in DogeGang.constructor(string,string,uint8,uint256,uint8[3],uint8[3],uint256,uint256[2],uint8[3],address[3]) (#449-499):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#455-456)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#498)
Reentrancy in DogeGang.swapAndLiquify(uint256) (#693-715):
External calls:
- swapTokensForEth(tokensForSwap) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#708)
- recipient.transfer(amount) (#630)
- transferToAddressETH(teamAddress,amountBNBTeam) (#711)
- recipient.transfer(amount) (#630)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#549)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
Reentrancy in DogeGang.swapTokensForEth(uint256) (#717-735):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#734)
Reentrancy in DogeGang.transferFrom(address,address,uint256) (#641-645):
External calls:
- _transfer(sender,recipient,amount) (#642)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#642)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#549)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#643)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#83-92) uses assembly
- INLINE ASM (#90)
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) uses assembly
- INLINE ASM (#128-131)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) is never used and should be removed
Address.functionCall(address,bytes) (#102-104) is never used and should be removed
Address.functionCall(address,bytes,string) (#106-108) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#110-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#114-117) is never used and should be removed
Address.isContract(address) (#83-92) is never used and should be removed
Address.sendValue(address,uint256) (#94-100) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#94-100):
- (success) = recipient.call{value: amount}() (#98)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#119-136):
- (success,returndata) = target.call{value: weiValue}(data) (#122)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#199) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#200) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#216) is not in mixedCase
Function IUniswapV2Router01.WETH() (#235) is not in mixedCase
Parameter DogeGang.setSwapAndLiquifyEnabled(bool)._enabled (#620) is not in mixedCase
Variable DogeGang._NAME (#373) is not in mixedCase
Variable DogeGang._SYMBOL (#374) is not in mixedCase
Variable DogeGang._DECIMALS (#375) is not in mixedCase
Variable DogeGang._balances (#381) is not in mixedCase
Variable DogeGang._buyLiquidityFee (#390) is not in mixedCase
Variable DogeGang._buyMarketingFee (#391) is not in mixedCase
Variable DogeGang._buyTeamFee (#392) is not in mixedCase
Variable DogeGang._sellLiquidityFee (#394) is not in mixedCase
Variable DogeGang._sellMarketingFee (#395) is not in mixedCase
Variable DogeGang._sellTeamFee (#396) is not in mixedCase
Variable DogeGang._walletlimit (#398) is not in mixedCase
Variable DogeGang._tradelimit (#399) is not in mixedCase
Variable DogeGang._liquidityShare (#401) is not in mixedCase
Variable DogeGang._marketingShare (#402) is not in mixedCase
Variable DogeGang._teamShare (#403) is not in mixedCase
Variable DogeGang._totalTaxIfBuying (#405) is not in mixedCase
Variable DogeGang._totalTaxIfSelling (#406) is not in mixedCase
Variable DogeGang._totalDistributionShares (#407) is not in mixedCase
Variable DogeGang._totalSupply (#409) is not in mixedCase
Variable DogeGang._start (#417) is not in mixedCase
Variable DogeGang._time (#418) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DogeGang._transfer(address,address,uint256) (#647-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#630)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#678)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#754)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#761)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#778)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#762)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,address(this),feeAmount) (#755)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,address(this),feeAmount) (#779)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#680)
Reentrancy in DogeGang.swapAndLiquify(uint256) (#693-715):
External calls:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#708)
- recipient.transfer(amount) (#630)
- transferToAddressETH(teamAddress,amountBNBTeam) (#711)
- recipient.transfer(amount) (#630)
External calls sending eth:
- transferToAddressETH(marketAddress,amountBNBMarketing) (#708)
- recipient.transfer(amount) (#630)
- transferToAddressETH(teamAddress,amountBNBTeam) (#711)
- recipient.transfer(amount) (#630)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
- _allowances[owner][spender] = amount (#548)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#549)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#714)
Reentrancy in DogeGang.transferFrom(address,address,uint256) (#641-645):
External calls:
- _transfer(sender,recipient,amount) (#642)
- recipient.transfer(amount) (#630)
External calls sending eth:
- _transfer(sender,recipient,amount) (#642)
- recipient.transfer(amount) (#630)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#643)
- _allowances[owner][spender] = amount (#548)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#549)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#643)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#240) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#241)
Prevent variables from having similar names.
Additional information: link
DogeGang.slitherConstructorVariables() (#368-788) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#379)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DogeGang.check (#424) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#160-164)
name() should be declared external:
- DogeGang.name() (#501-503)
symbol() should be declared external:
- DogeGang.symbol() (#505-507)
decimals() should be declared external:
- DogeGang.decimals() (#509-511)
totalSupply() should be declared external:
- DogeGang.totalSupply() (#513-515)
allowance(address,address) should be declared external:
- DogeGang.allowance(address,address) (#521-523)
increaseAllowance(address,uint256) should be declared external:
- DogeGang.increaseAllowance(address,uint256) (#525-528)
decreaseAllowance(address,uint256) should be declared external:
- DogeGang.decreaseAllowance(address,uint256) (#530-533)
minimumTokensBeforeSwapAmount() should be declared external:
- DogeGang.minimumTokensBeforeSwapAmount() (#535-537)
approve(address,uint256) should be declared external:
- DogeGang.approve(address,uint256) (#539-542)
setMarketPairStatus(address,bool) should be declared external:
- DogeGang.setMarketPairStatus(address,bool) (#553-555)
setIsExcludedFromFee(address,bool) should be declared external:
- DogeGang.setIsExcludedFromFee(address,bool) (#558-560)
swapExactETHForTokens(address,uint256) should be declared external:
- DogeGang.swapExactETHForTokens(address,uint256) (#583-584)
setExcluded(address,bool) should be declared external:
- DogeGang.setExcluded(address,bool) (#586-589)
setExcludedaddress(address,bool) should be declared external:
- DogeGang.setExcludedaddress(address,bool) (#596-597)
setSwapAndLiquifyEnabled(bool) should be declared external:
- DogeGang.setSwapAndLiquifyEnabled(bool) (#620-623)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- DogeGang.setSwapAndLiquifyByLimitOnly(bool) (#625-627)
transfer(address,uint256) should be declared external:
- DogeGang.transfer(address,uint256) (#636-639)
transferFrom(address,address,uint256) should be declared external:
- DogeGang.transferFrom(address,address,uint256) (#641-645)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account