War Of Tribes Token Logo

WOTG [War Of Tribes] Token

About WOTG

Listings

Token 2 years
white paper

NFT play to earn MMORPG game on blockchain. Win PvP battles to earn huge rewards & become a hero of your trib

Social

Laser Scorebeta Last Audit: 30 November 2021

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

CoinToken.addLiquidity(uint256,uint256) (#832-842) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CoinToken._transfer(address,address,uint256) (#771-806):
External calls:
- swapAndLiquify(contractTokenBalance) (#797)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#797)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _rOwned[_devWalletAddress] = _rOwned[_devWalletAddress].add(rDev) (#720)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#712)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#876)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#866)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#618)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#888)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#867)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#889)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#878)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#620)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _rTotal = _rTotal.sub(rFee) (#665)
- _tokenTransfer(from,to,amount,takeFee) (#805)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#714)
- _tOwned[_devWalletAddress] = _tOwned[_devWalletAddress].add(tDev) (#722)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#617)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#887)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#877)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#619)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


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.

CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,uint256,address,address,address) (#472-507) performs a multiplication on the result of a division:
-numTokensSellToAddToLiquidity = (_tTotal * 5 / 10000) * 10 ** _decimals (#486)
Consider ordering multiplication before division.

Additional information: link

CoinToken.addLiquidity(uint256,uint256) (#832-842) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
Ensure that all the return values of the function calls are used.

Additional information: link

CoinToken._approve(address,address,uint256).owner (#763) shadows:
- Ownable.owner() (#200-202) (function)
Rename the local variables that shadow another component.

Additional information: link

CoinToken.setNumTokensSellToAddToLiquidity(uint256) (#903-905) should emit an event for:
- numTokensSellToAddToLiquidity = amountToUpdate (#904)
Emit an event for critical parameter changes.

Additional information: link

CoinToken.setDevWalletAddress(address)._addr (#651) lacks a zero-check on :
- _devWalletAddress = _addr (#652)
Check that the address is not zero.

Additional information: link

Reentrancy in CoinToken.transferFrom(address,address,uint256) (#544-548):
External calls:
- _transfer(sender,recipient,amount) (#545)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#545)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#546)
- _allowances[owner][spender] = amount (#767)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CoinToken.transferFrom(address,address,uint256) (#544-548):
External calls:
- _transfer(sender,recipient,amount) (#545)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#823-829)
External calls sending eth:
- _transfer(sender,recipient,amount) (#545)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#834-841)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#768)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#546)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#231-236) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked.) (#233)
Avoid relying on block.timestamp.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#175-188) uses assembly
- INLINE ASM (#180-183)
Do not use evm assembly.

Additional information: link

SafeMath.trySub(uint256,uint256) (#28-33) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.4 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.functionDelegateCall(address,bytes,string) (#169-173):
- (success,returndata) = target.delegatecall(data) (#171)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable CoinToken._maxTxAmount (#456) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#115)" inContext (#109-118)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable CoinToken._getValues(uint256).rTransferAmount (#671) is too similar to CoinToken._getTValues(uint256).tTransferAmount (#679)
Prevent variables from having similar names.

Additional information: link

isExcludedFromFee(address) should be declared external:
- CoinToken.isExcludedFromFee(address) (#759-761)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

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 price dump / death


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 price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for WOTG