VerseWar is a Play-to-Earn Metaverse NFT game developed on the Binance Smart Chain inspired by the multiversal movies where monsters of universes converge.
Our mission is to create the comprehensive digital universe where your monsters are valuable and tradable NFT assets, where players can own their monster by purchasing or trading, fight other monsters, level up your monster and evolve into different forms,.. in a simple, creative, and enjoyable way.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in VerseWarToken._transfer(address,address,uint256) (#626-664):
External calls:
- swapTokens(contractTokenBalance) (#644)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#693-699)
- buyBackTokens(balance.div(100)) (#652)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
External calls sending eth:
- swapTokens(contractTokenBalance) (#644)
- recipient.transfer(amount) (#941)
- buyBackTokens(balance.div(100)) (#652)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _liquidityFee = _previousLiquidityFee (#869)
- _liquidityFee = 0 (#864)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#840)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#756)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#765)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#776)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#757)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#767)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#777)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#788)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rTotal = _rTotal.sub(rFee) (#795)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#842)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#785)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#775)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#766)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#787)
- buyBackTokens(balance.div(100)) (#652)
- inSwapAndLiquify = true (#478)
- inSwapAndLiquify = false (#480)
Apply the check-effects-interactions pattern.
Additional information: link
VerseWarToken.swapTokens(uint256) (#666-675) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#673)
Consider ordering multiplication before division.
Additional information: link
VerseWarToken.addLiquidity(uint256,uint256) (#721-734) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#726-733)
Ensure that all the return values of the function calls are used.
Additional information: link
VerseWarToken._approve(address,address,uint256).owner (#618) shadows:
- Ownable.owner() (#159-161) (function)
Rename the local variables that shadow another component.
Additional information: link
VerseWarToken.setBuybackUpperLimit(uint256) (#904-906) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#905)
Emit an event for critical parameter changes.
Additional information: link
VerseWarToken.setRewardPool(address)._rewardPool (#912) lacks a zero-check on :
- rewardPool = _rewardPool (#913)
Check that the address is not zero.
Additional information: link
Reentrancy in VerseWarToken.transferFrom(address,address,uint256) (#536-540):
External calls:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#693-699)
External calls sending eth:
- _transfer(sender,recipient,amount) (#537)
- recipient.transfer(amount) (#941)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
- _allowances[owner][spender] = amount (#622)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in VerseWarToken.transferFrom(address,address,uint256) (#536-540):
External calls:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#693-699)
External calls sending eth:
- _transfer(sender,recipient,amount) (#537)
- recipient.transfer(amount) (#941)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#194-199) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#196)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#126-143) uses assembly
- INLINE ASM (#135-138)
Do not use evm assembly.
Additional information: link
VerseWarToken.addLiquidity(uint256,uint256) (#721-734) is never used and should be removed
Remove unused functions.
Additional information: link
VerseWarToken._previousLiquidityFee (#442) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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.7 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._functionCallWithValue(address,bytes,uint256,string) (#126-143):
- (success,returndata) = target.call{value: weiValue}(data) (#129)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable VerseWarToken._maxTxAmount (#446) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#13)" inContext (#7-16)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in VerseWarToken.transferFrom(address,address,uint256) (#536-540):
External calls:
- _transfer(sender,recipient,amount) (#537)
- recipient.transfer(amount) (#941)
External calls sending eth:
- _transfer(sender,recipient,amount) (#537)
- recipient.transfer(amount) (#941)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,rewardPool,block.timestamp.add(300)) (#711-716)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
- _allowances[owner][spender] = amount (#622)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Variable VerseWarToken._transferToExcluded(address,address,uint256).rTransferAmount (#764) is too similar to VerseWarToken._transferBothExcluded(address,address,uint256).tTransferAmount (#784)
Prevent variables from having similar names.
Additional information: link
VerseWarToken.slitherConstructorVariables() (#413-947) uses literals with too many digits:
- minimumTokensBeforeSwap = 100000 * 10 ** 18 (#447)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
VerseWarToken._tTotal (#429) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setBuyBackEnabled(bool) should be declared external:
- VerseWarToken.setBuyBackEnabled(bool) (#921-924)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
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