WarDoge Token Logo

WarDoge Token

About WarDoge

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 25 February 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

WarDoge.addLiquidity(uint256,uint256) (#760-773) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in WarDoge._transfer(address,address,uint256) (#656-707):
External calls:
- swapAndLiquify(contractTokenBalance) (#687)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#687)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#690)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#702)
- finalAmount = takeFee(sender,recipient,amount) (#692-693)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#787)
- burnFromAnt[recipient] += finalAmount (#699)
Apply the check-effects-interactions pattern.

Additional information: link


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.

WarDoge.addLiquidity(uint256,uint256) (#760-773) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
Ensure that all the return values of the function calls are used.

Additional information: link

WarDoge.allowance(address,address).owner (#508) shadows:
- Ownable.owner() (#157-159) (function)
WarDoge._approve(address,address,uint256).owner (#531) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.

Additional information: link

WarDoge.setBuyTaxes(uint256,uint256,uint256) (#551-557) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buydestructionFee).add(_buyrepoFee) (#556)
WarDoge.setSellTaxes(uint256,uint256,uint256) (#559-565) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_selldestructionFee).add(_sellrepoFee) (#564)
WarDoge.setDistributionSettings(uint256,uint256,uint256) (#567-573) should emit an event for:
- _liquidityShare = newLiquidityShare (#568)
- _repoShare = newrepoShare (#570)
- _totalDistributionShares = _liquidityShare.add(_destructionShare).add(_repoShare) (#572)
WarDoge.setMaxTxAmount(uint256) (#575-577) should emit an event for:
- _maxTxAmount = maxTxAmount (#576)
WarDoge.setCoolBlock(uint256) (#578-580) should emit an event for:
- coolBlock = _coolBlock (#579)
WarDoge.setWalletLimit(uint256) (#590-592) should emit an event for:
- _walletMax = newLimit (#591)
WarDoge.setNumTokensBeforeSwap(uint256) (#594-596) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#595)
Emit an event for critical parameter changes.

Additional information: link

WarDoge.setdestructionWalletAddress(address).newAddress (#598) lacks a zero-check on :
- destructionWalletAddress = address(newAddress) (#599)
WarDoge.setrepoWalletAddress(address).newAddress (#602) lacks a zero-check on :
- repoWalletAddress = address(newAddress) (#603)
Check that the address is not zero.

Additional information: link

Reentrancy in WarDoge.changeRouterVersion(address) (#623-640):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#631-632)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#639)
- isWalletLimitExempt[address(uniswapPair)] = true (#638)
- uniswapPair = newPairAddress (#635)
- uniswapV2Router = _uniswapV2Router (#636)
Reentrancy in WarDoge.constructor() (#456-486):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#462-463)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#466)
- _balances[_msgSender()] = _totalSupply (#484)
- _totalDistributionShares = _liquidityShare.add(_destructionShare).add(_repoShare) (#473)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buydestructionFee).add(_buyrepoFee) (#471)
- _totalTaxIfSelling = _sellLiquidityFee.add(_selldestructionFee).add(_sellrepoFee) (#472)
- isExcludedFromFee[owner()] = true (#468)
- isExcludedFromFee[address(this)] = true (#469)
- isMarketPair[address(uniswapPair)] = true (#482)
- isTxLimitExempt[owner()] = true (#479)
- isTxLimitExempt[address(this)] = true (#480)
- isWalletLimitExempt[owner()] = true (#475)
- isWalletLimitExempt[address(uniswapPair)] = true (#476)
- isWalletLimitExempt[address(this)] = true (#477)
- uniswapV2Router = _uniswapV2Router (#465)
Reentrancy in WarDoge.swapAndLiquify(uint256) (#716-738):
External calls:
- swapTokensForEth(tokensForSwap) (#721)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
External calls sending eth:
- transferToAddressETH(destructionWalletAddress,amountBNBdestruction) (#731)
- recipient.transfer(amount) (#620)
- transferToAddressETH(repoWalletAddress,amountBNBrepo) (#734)
- recipient.transfer(amount) (#620)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- _allowances[owner][spender] = amount (#535)
Reentrancy in WarDoge.transferFrom(address,address,uint256) (#650-654):
External calls:
- _transfer(sender,recipient,amount) (#651)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- _transfer(sender,recipient,amount) (#651)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#652)
- _allowances[owner][spender] = amount (#535)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in WarDoge._transfer(address,address,uint256) (#656-707):
External calls:
- swapAndLiquify(contractTokenBalance) (#687)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#687)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#788)
- finalAmount = takeFee(sender,recipient,amount) (#692-693)
- Transfer(sender,recipient,finalAmount) (#704)
Reentrancy in WarDoge.constructor() (#456-486):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#462-463)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#485)
Reentrancy in WarDoge.swapAndLiquify(uint256) (#716-738):
External calls:
- swapTokensForEth(tokensForSwap) (#721)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
External calls sending eth:
- transferToAddressETH(destructionWalletAddress,amountBNBdestruction) (#731)
- recipient.transfer(amount) (#620)
- transferToAddressETH(repoWalletAddress,amountBNBrepo) (#734)
- recipient.transfer(amount) (#620)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#536)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
Reentrancy in WarDoge.swapTokensForEth(uint256) (#740-758):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#757)
Reentrancy in WarDoge.transferFrom(address,address,uint256) (#650-654):
External calls:
- _transfer(sender,recipient,amount) (#651)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- _transfer(sender,recipient,amount) (#651)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#536)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#652)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#88-97) uses assembly
- INLINE ASM (#95)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#88-97) is never used and should be removed
Address.sendValue(address,uint256) (#99-105) is never used and should be removed
Context._msgData() (#15-18) is never used and should be removed
SafeMath.mod(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#80-83) is never used and should be removed
Remove unused functions.

Additional information: link

WarDoge._totalSupply (#420) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 6 * 10 ** 6 * 10 ** _decimals
WarDoge._maxTxAmount (#421) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 6 * 10 ** 6 * 10 ** _decimals
WarDoge._walletMax (#422) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 6 * 10 ** 6 * 10 ** _decimals
WarDoge.minimumTokensBeforeSwap (#423) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** 6 * 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

solc-0.8.12 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.sendValue(address,uint256) (#99-105):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
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() (#209) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#210) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#226) is not in mixedCase
Function IUniswapV2Router01.WETH() (#245) is not in mixedCase
Parameter WarDoge.setCoolBlock(uint256)._coolBlock (#578) is not in mixedCase
Parameter WarDoge.setSwapAndLiquifyEnabled(bool)._enabled (#606) is not in mixedCase
Variable WarDoge._balances (#394) is not in mixedCase
Variable WarDoge._buyLiquidityFee (#404) is not in mixedCase
Variable WarDoge._buydestructionFee (#405) is not in mixedCase
Variable WarDoge._buyrepoFee (#406) is not in mixedCase
Variable WarDoge._sellLiquidityFee (#408) is not in mixedCase
Variable WarDoge._selldestructionFee (#409) is not in mixedCase
Variable WarDoge._sellrepoFee (#410) is not in mixedCase
Variable WarDoge._liquidityShare (#412) is not in mixedCase
Variable WarDoge._destructionShare (#413) is not in mixedCase
Variable WarDoge._repoShare (#414) is not in mixedCase
Variable WarDoge._totalTaxIfBuying (#416) is not in mixedCase
Variable WarDoge._totalTaxIfSelling (#417) is not in mixedCase
Variable WarDoge._totalDistributionShares (#418) is not in mixedCase
Variable WarDoge._maxTxAmount (#421) is not in mixedCase
Variable WarDoge._walletMax (#422) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#16)" inContext (#9-19)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in WarDoge._transfer(address,address,uint256) (#656-707):
External calls:
- swapAndLiquify(contractTokenBalance) (#687)
- recipient.transfer(amount) (#620)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#687)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#690)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#702)
- finalAmount = takeFee(sender,recipient,amount) (#692-693)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#787)
- burnFromAnt[recipient] += finalAmount (#699)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#788)
- finalAmount = takeFee(sender,recipient,amount) (#692-693)
- Transfer(sender,recipient,finalAmount) (#704)
Reentrancy in WarDoge.swapAndLiquify(uint256) (#716-738):
External calls:
- transferToAddressETH(destructionWalletAddress,amountBNBdestruction) (#731)
- recipient.transfer(amount) (#620)
- transferToAddressETH(repoWalletAddress,amountBNBrepo) (#734)
- recipient.transfer(amount) (#620)
External calls sending eth:
- transferToAddressETH(destructionWalletAddress,amountBNBdestruction) (#731)
- recipient.transfer(amount) (#620)
- transferToAddressETH(repoWalletAddress,amountBNBrepo) (#734)
- recipient.transfer(amount) (#620)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
- _allowances[owner][spender] = amount (#535)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#536)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#737)
Reentrancy in WarDoge.transferFrom(address,address,uint256) (#650-654):
External calls:
- _transfer(sender,recipient,amount) (#651)
- recipient.transfer(amount) (#620)
External calls sending eth:
- _transfer(sender,recipient,amount) (#651)
- recipient.transfer(amount) (#620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#765-772)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#652)
- _allowances[owner][spender] = amount (#535)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#536)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#652)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

WarDoge._transfer(address,address,uint256) (#656-707) uses literals with too many digits:
- _basicTransfer(sender,0x000000000000000000000000000000000000dEaD,theAmount) (#667)
WarDoge.slitherConstructorVariables() (#378-795) uses literals with too many digits:
- destructionWalletAddress = address(0x000000000000000000000000000000000000dEaD) (#387)
WarDoge.slitherConstructorVariables() (#378-795) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#389)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#146) is never used in WarDoge (#378-795)
Ownable._lockTime (#147) is never used in WarDoge (#378-795)
Remove unused state variables.

Additional information: link

Ownable._lockTime (#147) should be constant
Ownable._previousOwner (#146) should be constant
WarDoge._decimals (#385) should be constant
WarDoge._name (#383) should be constant
WarDoge._symbol (#384) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
name() should be declared external:
- WarDoge.name() (#488-490)
symbol() should be declared external:
- WarDoge.symbol() (#492-494)
decimals() should be declared external:
- WarDoge.decimals() (#496-498)
totalSupply() should be declared external:
- WarDoge.totalSupply() (#500-502)
allowance(address,address) should be declared external:
- WarDoge.allowance(address,address) (#508-510)
increaseAllowance(address,uint256) should be declared external:
- WarDoge.increaseAllowance(address,uint256) (#512-515)
decreaseAllowance(address,uint256) should be declared external:
- WarDoge.decreaseAllowance(address,uint256) (#517-520)
minimumTokensBeforeSwapAmount() should be declared external:
- WarDoge.minimumTokensBeforeSwapAmount() (#522-524)
approve(address,uint256) should be declared external:
- WarDoge.approve(address,uint256) (#526-529)
setMarketPairStatus(address,bool) should be declared external:
- WarDoge.setMarketPairStatus(address,bool) (#539-541)
setIsExcludedFromFee(address,bool) should be declared external:
- WarDoge.setIsExcludedFromFee(address,bool) (#547-549)
setSwapAndLiquifyEnabled(bool) should be declared external:
- WarDoge.setSwapAndLiquifyEnabled(bool) (#606-609)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- WarDoge.setSwapAndLiquifyByLimitOnly(bool) (#611-613)
getCirculatingSupply() should be declared external:
- WarDoge.getCirculatingSupply() (#615-617)
changeRouterVersion(address) should be declared external:
- WarDoge.changeRouterVersion(address) (#623-640)
transfer(address,uint256) should be declared external:
- WarDoge.transfer(address,uint256) (#645-648)
transferFrom(address,address,uint256) should be declared external:
- WarDoge.transferFrom(address,address,uint256) (#650-654)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume 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.


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.

Contract has 12% buy tax and 11% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Twitter account


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Price for WarDoge