Naughty Doge Token Logo

NDoge [Naughty Doge] Token

About NDoge

Listings

Token 3 years
white paper

DEFI deflation token and the latest innovation of meta-world. Get amazing double rewards; USDC and BNB, and you have $Naughty dog in your wallet. Get the special Naughty dog 3D exclusive NFT collection and participate in our Play 2 to earn NFT, the legendary journey to the moon ". Soon you can trade your NFT in our NFT market in Naughty dog.

Social

Laser Scorebeta Last Audit: 21 April 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

NaughtyDoge.addLiquidity(uint256,uint256) (#745-758) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in NaughtyDoge._transfer(address,address,uint256) (#658-692):
External calls:
- swapAndLiquify(contractTokenBalance) (#676)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#676)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#679)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#687)
- finalAmount = takeFee(sender,recipient,amount) (#681-682)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#772)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)


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.

solc-0.8.13 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 (#11)" inContext (#4-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

NaughtyDoge.addLiquidity(uint256,uint256) (#745-758) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Ensure that all the return values of the function calls are used.

Additional information: link

NaughtyDoge.allowance(address,address).owner (#517) shadows:
- Ownable.owner() (#152-154) (function)
NaughtyDoge._approve(address,address,uint256).owner (#540) shadows:
- Ownable.owner() (#152-154) (function)
Rename the local variables that shadow another component.

Additional information: link

NaughtyDoge.setBuyTaxes(uint256,uint256,uint256) (#560-566) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyLPFee) (#565)
NaughtyDoge.setSellTaxes(uint256,uint256,uint256) (#568-574) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellLPFee) (#573)
NaughtyDoge.setDistributionSettings(uint256,uint256,uint256) (#576-582) should emit an event for:
- _liquidityShare = newLiquidityShare (#577)
- _LPADShare = newLPADShare (#579)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_LPADShare) (#581)
NaughtyDoge.setWalletLimit(uint256) (#592-594) should emit an event for:
- _walletMax = newLimit (#593)
NaughtyDoge.setNumTokensBeforeSwap(uint256) (#596-598) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#597)
Emit an event for critical parameter changes.

Additional information: link

NaughtyDoge.setMarketingWalletAddress(address).newAddress (#600) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#601)
NaughtyDoge.setLPAd(address).newAddress (#604) lacks a zero-check on :
- LPAd = address(newAddress) (#605)
Check that the address is not zero.

Additional information: link

Reentrancy in NaughtyDoge.changeRouterVersion(address) (#625-642):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#633-634)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#641)
- isWalletLimitExempt[address(uniswapPair)] = true (#640)
- uniswapPair = newPairAddress (#637)
- uniswapV2Router = _uniswapV2Router (#638)
Reentrancy in NaughtyDoge.constructor() (#467-495):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#471-472)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#475)
- _balances[_msgSender()] = _totalSupply (#493)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_LPADShare) (#482)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyLPFee) (#480)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellLPFee) (#481)
- isExcludedFromFee[owner()] = true (#477)
- isExcludedFromFee[address(this)] = true (#478)
- isMarketPair[address(uniswapPair)] = true (#491)
- isTxLimitExempt[owner()] = true (#488)
- isTxLimitExempt[address(this)] = true (#489)
- isWalletLimitExempt[owner()] = true (#484)
- isWalletLimitExempt[address(uniswapPair)] = true (#485)
- isWalletLimitExempt[address(this)] = true (#486)
- uniswapV2Router = _uniswapV2Router (#474)
Reentrancy in NaughtyDoge.swapAndLiquify(uint256) (#701-723):
External calls:
- swapTokensForEth(tokensForSwap) (#706)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#716)
- recipient.transfer(amount) (#622)
- transferToAddressETH(LPAd,amountBNBLPAD) (#719)
- recipient.transfer(amount) (#622)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- _allowances[owner][spender] = amount (#544)
Reentrancy in NaughtyDoge.transferFrom(address,address,uint256) (#652-656):
External calls:
- _transfer(sender,recipient,amount) (#653)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#653)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#654)
- _allowances[owner][spender] = amount (#544)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in NaughtyDoge._transfer(address,address,uint256) (#658-692):
External calls:
- swapAndLiquify(contractTokenBalance) (#676)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#676)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#773)
- finalAmount = takeFee(sender,recipient,amount) (#681-682)
- Transfer(sender,recipient,finalAmount) (#689)
Reentrancy in NaughtyDoge.constructor() (#467-495):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#471-472)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#494)
Reentrancy in NaughtyDoge.swapAndLiquify(uint256) (#701-723):
External calls:
- swapTokensForEth(tokensForSwap) (#706)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#716)
- recipient.transfer(amount) (#622)
- transferToAddressETH(LPAd,amountBNBLPAD) (#719)
- recipient.transfer(amount) (#622)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#545)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
Reentrancy in NaughtyDoge.swapTokensForEth(uint256) (#725-743):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#742)
Reentrancy in NaughtyDoge.transferFrom(address,address,uint256) (#652-656):
External calls:
- _transfer(sender,recipient,amount) (#653)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#734-740)
External calls sending eth:
- _transfer(sender,recipient,amount) (#653)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#545)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#654)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#187-192) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#189)
Avoid relying on block.timestamp.

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
SafeMath.mod(uint256,uint256) (#71-73) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#75-78) is never used and should be removed
Remove unused functions.

Additional information: link

NaughtyDoge._totalSupply (#432) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 5 * 10 ** 5 * 10 ** _decimals
NaughtyDoge._walletMax (#433) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** 5 * 10 ** 5 * 10 ** _decimals
NaughtyDoge.minimumTokensBeforeSwap (#434) is set pre-construction with a non-constant function or state variable:
- 10 * 10 ** 5 * 10 ** _decimals
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

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() (#226) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#227) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#243) is not in mixedCase
Function IUniswapV2Router01.WETH() (#262) is not in mixedCase
Parameter NaughtyDoge.setSwapAndLiquifyEnabled(bool)._enabled (#608) is not in mixedCase
Variable NaughtyDoge.LPAd (#405) is not in mixedCase
Variable NaughtyDoge._balances (#408) is not in mixedCase
Variable NaughtyDoge._buyLiquidityFee (#416) is not in mixedCase
Variable NaughtyDoge._buyMarketingFee (#417) is not in mixedCase
Variable NaughtyDoge._buyLPFee (#418) is not in mixedCase
Variable NaughtyDoge._sellLiquidityFee (#420) is not in mixedCase
Variable NaughtyDoge._sellMarketingFee (#421) is not in mixedCase
Variable NaughtyDoge._sellLPFee (#422) is not in mixedCase
Variable NaughtyDoge._liquidityShare (#424) is not in mixedCase
Variable NaughtyDoge._marketingShare (#425) is not in mixedCase
Variable NaughtyDoge._LPADShare (#426) is not in mixedCase
Variable NaughtyDoge._totalTaxIfBuying (#428) is not in mixedCase
Variable NaughtyDoge._totalTaxIfSelling (#429) is not in mixedCase
Variable NaughtyDoge._totalDistributionShares (#430) is not in mixedCase
Variable NaughtyDoge._walletMax (#433) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Reentrancy in NaughtyDoge._transfer(address,address,uint256) (#658-692):
External calls:
- swapAndLiquify(contractTokenBalance) (#676)
- recipient.transfer(amount) (#622)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#676)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#679)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#687)
- finalAmount = takeFee(sender,recipient,amount) (#681-682)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#772)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#773)
- finalAmount = takeFee(sender,recipient,amount) (#681-682)
- Transfer(sender,recipient,finalAmount) (#689)
Reentrancy in NaughtyDoge.swapAndLiquify(uint256) (#701-723):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#716)
- recipient.transfer(amount) (#622)
- transferToAddressETH(LPAd,amountBNBLPAD) (#719)
- recipient.transfer(amount) (#622)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#716)
- recipient.transfer(amount) (#622)
- transferToAddressETH(LPAd,amountBNBLPAD) (#719)
- recipient.transfer(amount) (#622)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
- _allowances[owner][spender] = amount (#544)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#545)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#722)
Reentrancy in NaughtyDoge.transferFrom(address,address,uint256) (#652-656):
External calls:
- _transfer(sender,recipient,amount) (#653)
- recipient.transfer(amount) (#622)
External calls sending eth:
- _transfer(sender,recipient,amount) (#653)
- recipient.transfer(amount) (#622)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#654)
- _allowances[owner][spender] = amount (#544)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#545)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#654)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#267) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#268)
Prevent variables from having similar names.

Additional information: link

NaughtyDoge.slitherConstructorVariables() (#395-780) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#406)
NaughtyDoge.slitherConstructorVariables() (#395-780) uses literals with too many digits:
- _walletMax = 1000000000 * 10 ** 5 * 10 ** 5 * 10 ** _decimals (#433)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

NaughtyDoge._decimals (#402) should be constant
NaughtyDoge._name (#400) should be constant
NaughtyDoge._symbol (#401) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#161-164)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#166-170)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#172-174)
getTime() should be declared external:
- Ownable.getTime() (#176-178)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#180-185)
unlock() should be declared external:
- Ownable.unlock() (#187-192)
name() should be declared external:
- NaughtyDoge.name() (#497-499)
symbol() should be declared external:
- NaughtyDoge.symbol() (#501-503)
decimals() should be declared external:
- NaughtyDoge.decimals() (#505-507)
totalSupply() should be declared external:
- NaughtyDoge.totalSupply() (#509-511)
allowance(address,address) should be declared external:
- NaughtyDoge.allowance(address,address) (#517-519)
increaseAllowance(address,uint256) should be declared external:
- NaughtyDoge.increaseAllowance(address,uint256) (#521-524)
decreaseAllowance(address,uint256) should be declared external:
- NaughtyDoge.decreaseAllowance(address,uint256) (#526-529)
minimumTokensBeforeSwapAmount() should be declared external:
- NaughtyDoge.minimumTokensBeforeSwapAmount() (#531-533)
approve(address,uint256) should be declared external:
- NaughtyDoge.approve(address,uint256) (#535-538)
setMarketPairStatus(address,bool) should be declared external:
- NaughtyDoge.setMarketPairStatus(address,bool) (#548-550)
setIsExcludedFromFee(address,bool) should be declared external:
- NaughtyDoge.setIsExcludedFromFee(address,bool) (#556-558)
setSwapAndLiquifyEnabled(bool) should be declared external:
- NaughtyDoge.setSwapAndLiquifyEnabled(bool) (#608-611)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- NaughtyDoge.setSwapAndLiquifyByLimitOnly(bool) (#613-615)
getCirculatingSupply() should be declared external:
- NaughtyDoge.getCirculatingSupply() (#617-619)
changeRouterVersion(address) should be declared external:
- NaughtyDoge.changeRouterVersion(address) (#625-642)
transfer(address,uint256) should be declared external:
- NaughtyDoge.transfer(address,uint256) (#647-650)
transferFrom(address,address,uint256) should be declared external:
- NaughtyDoge.transferFrom(address,address,uint256) (#652-656)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Twitter account has less than 100 followers


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

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

Price for NDoge

News for NDoge