The Play to Earn game is based on Blockchain A war between forces to competing for the Holy Land. Fight - win and get rewarded
GameOfWarsCoin.sendETHToFee(uint256) (#308-311) sends eth to arbitrary user
Dangerous calls:
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GameOfWarsCoin._transfer(address,address,uint256) (#254-292):
External calls:
- swapTokensForEth(contractTokenBalance) (#266)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#299-305)
External calls sending eth:
- sendETHToFee(address(this).balance) (#269)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#291)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#349)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#339)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#340)
- _tokenTransfer(from,to,amount) (#291)
- _rTotal = _rTotal.sub(rFee) (#353)
Apply the check-effects-interactions pattern.
Additional information: link
GameOfWarsCoin.rescueForeignTokens(address,address,uint256) (#318-321) ignores return value by Token(_tokenAddr).transfer(_to,_amount) (#320)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. 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)
GameOfWarsCoin.allowance(address,address).owner (#214) shadows:
- Ownable.owner() (#101-103) (function)
GameOfWarsCoin._approve(address,address,uint256).owner (#235) shadows:
- Ownable.owner() (#101-103) (function)
Rename the local variables that shadow another component.
Additional information: link
GameOfWarsCoin.setTxBuyLimit(uint256) (#250-252) should emit an event for:
- _maxTxBuyAmount = amount (#251)
Emit an event for critical parameter changes.
Additional information: link
Ownable.transferOwnership(address).newOwner (#116) lacks a zero-check on :
- _owner = newOwner (#118)
GameOfWarsCoin.setNewDevAddress(address).dev (#324) lacks a zero-check on :
- _developmentAddress = dev (#326)
GameOfWarsCoin.setNewMarketingAddress(address).markt (#331) lacks a zero-check on :
- _marketingAddress = markt (#333)
Check that the address is not zero.
Additional information: link
Reentrancy in GameOfWarsCoin._transfer(address,address,uint256) (#254-292):
External calls:
- swapTokensForEth(contractTokenBalance) (#266)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#299-305)
External calls sending eth:
- sendETHToFee(address(this).balance) (#269)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
State variables written after the call(s):
- _redisFee = _redisFeeOnBuy (#275)
- _redisFee = _redisFeeOnSell (#280)
- _redisFee = 0 (#285)
- _tokenTransfer(from,to,amount) (#291)
- _tFeeTotal = _tFeeTotal.add(tFee) (#354)
- _taxFee = _taxFeeOnBuy (#276)
- _taxFee = _taxFeeOnSell (#281)
- _taxFee = 0 (#286)
Reentrancy in GameOfWarsCoin.constructor() (#167-182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#171-172)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#174)
- _isExcludedFromFee[address(this)] = true (#175)
- _isExcludedFromFee[_developmentAddress] = true (#176)
- _isExcludedFromFee[_marketingAddress] = true (#177)
- isTxLimitExempt[owner()] = true (#178)
- isTxLimitExempt[address(this)] = true (#179)
Reentrancy in GameOfWarsCoin.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#299-305)
External calls sending eth:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
- _allowances[owner][spender] = amount (#238)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GameOfWarsCoin._transfer(address,address,uint256) (#254-292):
External calls:
- swapTokensForEth(contractTokenBalance) (#266)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#299-305)
External calls sending eth:
- sendETHToFee(address(this).balance) (#269)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#343)
- _tokenTransfer(from,to,amount) (#291)
Reentrancy in GameOfWarsCoin.constructor() (#167-182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#171-172)
Event emitted after the call(s):
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#181)
Reentrancy in GameOfWarsCoin.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#299-305)
External calls sending eth:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#239)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
Apply the check-effects-interactions pattern.
Additional information: link
solc-0.8.9 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
Function IUniswapV2Router02.WETH() (#34) is not in mixedCase
Event GameOfWarsCointokensRescued(address,address,uint256) (#317) is not in CapWords
Event GameOfWarsCoindevAddressUpdated(address,address) (#323) is not in CapWords
Event GameOfWarsCoinmarketingAddressUpdated(address,address) (#330) is not in CapWords
Parameter GameOfWarsCoin.rescueForeignTokens(address,address,uint256)._tokenAddr (#318) is not in mixedCase
Parameter GameOfWarsCoin.rescueForeignTokens(address,address,uint256)._to (#318) is not in mixedCase
Parameter GameOfWarsCoin.rescueForeignTokens(address,address,uint256)._amount (#318) is not in mixedCase
Parameter GameOfWarsCoin.toggleSwap(bool)._swapEnabled (#416) is not in mixedCase
Constant GameOfWarsCoin._tTotal (#134) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GameOfWarsCoin._maxTxBuyAmount (#137) is not in mixedCase
Constant GameOfWarsCoin._name (#149) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GameOfWarsCoin._symbol (#150) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GameOfWarsCoin._decimals (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in GameOfWarsCoin._transfer(address,address,uint256) (#254-292):
External calls:
- sendETHToFee(address(this).balance) (#269)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#291)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#349)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#339)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#340)
- _tokenTransfer(from,to,amount) (#291)
- _rTotal = _rTotal.sub(rFee) (#353)
- _redisFee = _redisFeeOnBuy (#275)
- _redisFee = _redisFeeOnSell (#280)
- _redisFee = 0 (#285)
- _tokenTransfer(from,to,amount) (#291)
- _tFeeTotal = _tFeeTotal.add(tFee) (#354)
- _taxFee = _taxFeeOnBuy (#276)
- _taxFee = _taxFeeOnSell (#281)
- _taxFee = 0 (#286)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#343)
- _tokenTransfer(from,to,amount) (#291)
Reentrancy in GameOfWarsCoin.transferFrom(address,address,uint256) (#223-227):
External calls:
- _transfer(sender,recipient,amount) (#224)
- _developmentAddress.transfer(amount.div(2)) (#309)
- _marketingAddress.transfer(amount.div(2)) (#310)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
- _allowances[owner][spender] = amount (#238)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#239)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#225)
Apply the check-effects-interactions pattern.
Additional information: link
Variable GameOfWarsCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#377) is too similar to GameOfWarsCoin._getValues(uint256).tTransferAmount (#360)
Variable GameOfWarsCoin._getValues(uint256).rTransferAmount (#362) is too similar to GameOfWarsCoin._getTValues(uint256,uint256,uint256).tTransferAmount (#369)
Variable GameOfWarsCoin._getValues(uint256).rTransferAmount (#362) is too similar to GameOfWarsCoin._getValues(uint256).tTransferAmount (#360)
Variable GameOfWarsCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#377) is too similar to GameOfWarsCoin._getTValues(uint256,uint256,uint256).tTransferAmount (#369)
Variable GameOfWarsCoin._getValues(uint256).rTransferAmount (#362) is too similar to GameOfWarsCoin._transferStandard(address,address,uint256).tTransferAmount (#338)
Variable GameOfWarsCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#377) is too similar to GameOfWarsCoin._transferStandard(address,address,uint256).tTransferAmount (#338)
Variable GameOfWarsCoin._transferStandard(address,address,uint256).rTransferAmount (#338) is too similar to GameOfWarsCoin._getTValues(uint256,uint256,uint256).tTransferAmount (#369)
Variable GameOfWarsCoin._transferStandard(address,address,uint256).rTransferAmount (#338) is too similar to GameOfWarsCoin._transferStandard(address,address,uint256).tTransferAmount (#338)
Variable GameOfWarsCoin._transferStandard(address,address,uint256).rTransferAmount (#338) is too similar to GameOfWarsCoin._getValues(uint256).tTransferAmount (#360)
Prevent variables from having similar names.
Additional information: link
GameOfWarsCoin.constructor() (#167-182) uses literals with too many digits:
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#181)
GameOfWarsCoin.slitherConstructorConstantVariables() (#123-426) uses literals with too many digits:
- _tTotal = 100000 * 10 ** 9 (#134)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#93) is never used in GameOfWarsCoin (#123-426)
GameOfWarsCoin._tOwned (#127) is never used in GameOfWarsCoin (#123-426)
Remove unused state variables.
Additional information: link
Ownable._previousOwner (#93) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#110-113)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#116-119)
name() should be declared external:
- GameOfWarsCoin.name() (#189-191)
symbol() should be declared external:
- GameOfWarsCoin.symbol() (#193-195)
decimals() should be declared external:
- GameOfWarsCoin.decimals() (#197-199)
totalSupply() should be declared external:
- GameOfWarsCoin.totalSupply() (#201-203)
transfer(address,uint256) should be declared external:
- GameOfWarsCoin.transfer(address,uint256) (#209-212)
allowance(address,address) should be declared external:
- GameOfWarsCoin.allowance(address,address) (#214-216)
approve(address,uint256) should be declared external:
- GameOfWarsCoin.approve(address,uint256) (#218-221)
transferFrom(address,address,uint256) should be declared external:
- GameOfWarsCoin.transferFrom(address,address,uint256) (#223-227)
setTxBuyLimit(uint256) should be declared external:
- GameOfWarsCoin.setTxBuyLimit(uint256) (#250-252)
rescueForeignTokens(address,address,uint256) should be declared external:
- GameOfWarsCoin.rescueForeignTokens(address,address,uint256) (#318-321)
setNewDevAddress(address) should be declared external:
- GameOfWarsCoin.setNewDevAddress(address) (#324-328)
setNewMarketingAddress(address) should be declared external:
- GameOfWarsCoin.setNewMarketingAddress(address) (#331-335)
setFee(uint256,uint256,uint256,uint256) should be declared external:
- GameOfWarsCoin.setFee(uint256,uint256,uint256,uint256) (#405-414)
toggleSwap(bool) should be declared external:
- GameOfWarsCoin.toggleSwap(bool) (#416-418)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- GameOfWarsCoin.excludeMultipleAccountsFromFees(address[],bool) (#420-424)
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 contract audit
Unable to find KYC or doxxing proof
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 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
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
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 Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts