WitcherVerse is the first token to celebrate the release of the second season of the Witcher on Netflix! We aim to grow a strong fan community around our token and offer WitcherPunks, pixelart NFT collectibles to accumulate and trade!
Also there will be a staking feature added to offer a nice passive income for our investors! The dApp can already be viewed on the website!
The tokenomics are unique as they have a buyback that can be used when needed to stabilize the chart. There is also a tax that provides additional liquidity to ensure a smooth growth and a steady floor price.This token has an audit on dessertswap, they found no critical issues with the token. The liquidity is locked for 6 months on dxsale. The team is KYCed as well.
Our team has formed recently as we have seen many projects fail and teams take unfinished and unsafe contracts and deploy them without second thought. We wanted to offer a safe investment opportunity for our community. This and a great logo and name was our starting point for this project and as we all love the witcher series and books we wanted to base our token on the WitcherVerse!
WitcherVerse.addLiquidity(uint256,uint256) (#695-708) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in WitcherVerse._transfer(address,address,uint256) (#573-635):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#837)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#762)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#773)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#783)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#764)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#785)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _rTotal = _rTotal.sub(rFee) (#792)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#839)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#782)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#772)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#763)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tradingEnabled = true (#939)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
WitcherVerse._transfer(address,address,uint256) (#573-635) uses a dangerous strict equality:
- allowedTxAmount[from] == 0 && sellIntervalStart[from] == 0 (#592)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
WitcherVerse.addLiquidity(uint256,uint256) (#695-708) ignores return value by uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Ensure that all the return values of the function calls are used.
Additional information: link
WitcherVerse.allowance(address,address).owner (#479) shadows:
- Ownable.owner() (#298-300) (function)
WitcherVerse._approve(address,address,uint256).owner (#565) shadows:
- Ownable.owner() (#298-300) (function)
Rename the local variables that shadow another component.
Additional information: link
WitcherVerse.SetSwapMinutes(uint256) (#905-907) should emit an event for:
- _intervalSecondsForSwap = newMinutes * 60 (#906)
WitcherVerse.setReflectionFeePercent(uint256) (#909-912) should emit an event for:
- _reflectionFee = reflectionFee (#911)
WitcherVerse.setLiquidityFeePercent(uint256) (#914-917) should emit an event for:
- _liquidityFee = liquidityFee (#916)
WitcherVerse.setDivs(uint256,uint256) (#919-922) should emit an event for:
- div1 = _div1 (#920)
- div2 = _div2 (#921)
WitcherVerse.changeWhaleSettings(uint256,uint256) (#950-955) should emit an event for:
- _maxWallet = maxWallet (#953)
- _maxTxAmount = maxTxAmount (#954)
WitcherVerse.setMinimumTokensBeforeSwap(uint256) (#957-959) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#958)
Emit an event for critical parameter changes.
Additional information: link
WitcherVerse.setLaunchLiqPair(address)._pair (#865) lacks a zero-check on :
- uniswapV2Pair = _pair (#866)
WitcherVerse.addressChange(address,address,address,address)._lpAddress (#924) lacks a zero-check on :
- lpAddress = _lpAddress (#927)
WitcherVerse.addressChange(address,address,address,address)._stakingAddress (#924) lacks a zero-check on :
- stakingAddress = _stakingAddress (#928)
Check that the address is not zero.
Additional information: link
WitcherVerse.swapTokensForEth(uint256) (#675-693) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#679)
WitcherVerse.swapTokensForEth(uint256) (#675-693) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
WitcherVerse.addLiquidity(uint256,uint256) (#695-708) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
WitcherVerse.transferToAddressETH(address,uint256) (#967-969) has external calls inside a loop: recipient.transfer(amount) (#968)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in WitcherVerse._transfer(address,address,uint256) (#573-635):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _hasLiqBeenAdded = true (#938)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _isSniper[recipient] = true (#728)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _liquidityFee = _previousLiquidityFee (#885)
- _liquidityFee = 0 (#880)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _previousLiquidityFee = _liquidityFee (#877)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _previousReflectionFee = _reflectionFee (#876)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _reflectionFee = _previousReflectionFee (#884)
- _reflectionFee = 0 (#879)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tFeeTotal = _tFeeTotal.add(tFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- launchedAt = block.number (#940)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- snipersCaught ++ (#729)
Reentrancy in WitcherVerse.changeRouterVersion(address) (#1009-1022):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1015-1016)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1018)
- uniswapV2Router = _uniswapV2Router (#1021)
Reentrancy in WitcherVerse.constructor() (#427-451):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#437-438)
State variables written after the call(s):
- _isExcludedFromFee[lpAddress] = true (#441)
- _isExcludedFromFee[stakingAddress] = true (#442)
- _isExcludedFromFee[marketingAddress] = true (#444)
- _isExcludedFromFee[address(this)] = true (#445)
- _liquidityHolders[lpAddress] = true (#446)
- _startTimeForSwap = block.timestamp (#448)
- uniswapV2Router = _uniswapV2Router (#439)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- swapTokensForEth(half) (#651)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#657)
- _allowances[owner][spender] = amount (#569)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- swapTokensForEth(half) (#651)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- swapTokensForEth(remains) (#662)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- swapTokensForEth(remains) (#662)
- _allowances[owner][spender] = amount (#569)
Reentrancy in WitcherVerse.transferFrom(address,address,uint256) (#488-492):
External calls:
- _transfer(sender,recipient,amount) (#489)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- _transfer(sender,recipient,amount) (#489)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#490)
- _allowances[owner][spender] = amount (#569)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WitcherVerse._transfer(address,address,uint256) (#573-635):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#767)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#777)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#788)
- _tokenTransfer(from,to,amount,takeFee) (#633)
Reentrancy in WitcherVerse.constructor() (#427-451):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#437-438)
Event emitted after the call(s):
- Transfer(address(0),lpAddress,_tTotal) (#450)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- swapTokensForEth(half) (#651)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#570)
- addLiquidity(otherHalf,newBalance) (#657)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- swapTokensForEth(half) (#651)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- swapTokensForEth(remains) (#662)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#570)
- swapTokensForEth(remains) (#662)
- SwapTokensForETH(tokenAmount,path) (#692)
- swapTokensForEth(remains) (#662)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- swapTokensForEth(half) (#651)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- swapTokensForEth(remains) (#662)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- transferToAddressETH(buybackAddress,buybackBalance) (#669)
- recipient.transfer(amount) (#968)
- transferToAddressETH(marketingAddress,marketingBalance) (#670)
- recipient.transfer(amount) (#968)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#672)
Reentrancy in WitcherVerse.swapTokensForEth(uint256) (#675-693):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#692)
Reentrancy in WitcherVerse.transferFrom(address,address,uint256) (#488-492):
External calls:
- _transfer(sender,recipient,amount) (#489)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#684-690)
External calls sending eth:
- _transfer(sender,recipient,amount) (#489)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#570)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#490)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#334-339) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until time lock) (#336)
WitcherVerse._transfer(address,address,uint256) (#573-635) uses timestamp for comparisons
Dangerous comparisons:
- sellIntervalStart[from] != 0 (#586)
- sellIntervalStart[from].add(120) < block.timestamp (#587)
- allowedTxAmount[from] == 0 && sellIntervalStart[from] == 0 (#592)
- overMinimumSwapTokenBalance && _startTimeForSwap + _intervalSecondsForSwap <= block.timestamp (#618)
Avoid relying on block.timestamp.
Additional information: link
WitcherVerse.includeInReward(address) (#552-563) has costly operations inside a loop:
- _excluded.pop() (#559)
WitcherVerse._transfer(address,address,uint256) (#573-635) has costly operations inside a loop:
- _startTimeForSwap = block.timestamp (#619)
WitcherVerse._transfer(address,address,uint256) (#573-635) has costly operations inside a loop:
- swapAndLiquifycount = swapAndLiquifycount.add(1) (#620)
WitcherVerse.lockTheSwap() (#421-425) has costly operations inside a loop:
- inSwapAndLiquify = true (#422)
WitcherVerse.lockTheSwap() (#421-425) has costly operations inside a loop:
- inSwapAndLiquify = false (#424)
WitcherVerse._checkLiquidityAdd(address,address) (#933-942) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#938)
WitcherVerse._checkLiquidityAdd(address,address) (#933-942) has costly operations inside a loop:
- _tradingEnabled = true (#939)
WitcherVerse._checkLiquidityAdd(address,address) (#933-942) has costly operations inside a loop:
- launchedAt = block.number (#940)
WitcherVerse.removeAllFee() (#873-881) has costly operations inside a loop:
- _previousReflectionFee = _reflectionFee (#876)
WitcherVerse.removeAllFee() (#873-881) has costly operations inside a loop:
- _previousLiquidityFee = _liquidityFee (#877)
WitcherVerse.removeAllFee() (#873-881) has costly operations inside a loop:
- _reflectionFee = 0 (#879)
WitcherVerse.removeAllFee() (#873-881) has costly operations inside a loop:
- _liquidityFee = 0 (#880)
WitcherVerse._reflectFee(uint256,uint256) (#791-794) has costly operations inside a loop:
- _rTotal = _rTotal.sub(rFee) (#792)
WitcherVerse._reflectFee(uint256,uint256) (#791-794) has costly operations inside a loop:
- _tFeeTotal = _tFeeTotal.add(tFee) (#793)
WitcherVerse.restoreAllFee() (#883-886) has costly operations inside a loop:
- _reflectionFee = _previousReflectionFee (#884)
WitcherVerse.restoreAllFee() (#883-886) has costly operations inside a loop:
- _liquidityFee = _previousLiquidityFee (#885)
WitcherVerse._tokenTransfer(address,address,uint256,bool) (#710-749) has costly operations inside a loop:
- snipersCaught ++ (#729)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#274-276) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#278-281) is never used and should be removed
WitcherVerse.launched() (#979-981) is never used and should be removed
Remove unused functions.
Additional information: link
WitcherVerse._rTotal (#364) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
WitcherVerse._previousReflectionFee (#376) is set pre-construction with a non-constant function or state variable:
- _reflectionFee
WitcherVerse._previousLiquidityFee (#379) 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#61) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#62) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#78) is not in mixedCase
Function IUniswapV2Router.WETH() (#98) is not in mixedCase
Parameter WitcherVerse.calculateReflectionFee(uint256)._amount (#842) is not in mixedCase
Parameter WitcherVerse.calculateLiquidityFee(uint256)._amount (#848) is not in mixedCase
Parameter WitcherVerse.manualSwapandLiquify(uint256)._balance (#861) is not in mixedCase
Parameter WitcherVerse.setLaunchLiqPair(address)._pair (#865) is not in mixedCase
Function WitcherVerse.GetSwapMinutes() (#901-903) is not in mixedCase
Function WitcherVerse.SetSwapMinutes(uint256) (#905-907) is not in mixedCase
Parameter WitcherVerse.setDivs(uint256,uint256)._div1 (#919) is not in mixedCase
Parameter WitcherVerse.setDivs(uint256,uint256)._div2 (#919) is not in mixedCase
Parameter WitcherVerse.addressChange(address,address,address,address)._lpAddress (#924) is not in mixedCase
Parameter WitcherVerse.addressChange(address,address,address,address)._stakingAddress (#924) is not in mixedCase
Parameter WitcherVerse.addressChange(address,address,address,address)._marketingAddress (#924) is not in mixedCase
Parameter WitcherVerse.addressChange(address,address,address,address)._buybackAddress (#924) is not in mixedCase
Parameter WitcherVerse.setMinimumTokensBeforeSwap(uint256)._minimumTokensBeforeSwap (#957) is not in mixedCase
Parameter WitcherVerse.setSwapAndLiquifyEnabled(bool)._enabled (#961) is not in mixedCase
Parameter WitcherVerse.changeRouterVersion(address)._router (#1009) is not in mixedCase
Parameter WitcherVerse.transferForeignToken(address,address)._token (#1027) is not in mixedCase
Parameter WitcherVerse.transferForeignToken(address,address)._to (#1027) is not in mixedCase
Function WitcherVerse.Sweep() (#1032-1035) is not in mixedCase
Variable WitcherVerse._reflectionFee (#375) is not in mixedCase
Variable WitcherVerse._liquidityFee (#378) is not in mixedCase
Variable WitcherVerse._startTimeForSwap (#385) is not in mixedCase
Variable WitcherVerse._intervalSecondsForSwap (#386) is not in mixedCase
Variable WitcherVerse._maxWallet (#389) is not in mixedCase
Variable WitcherVerse._maxTxAmount (#390) is not in mixedCase
Variable WitcherVerse._hasLiqBeenAdded (#400) is not in mixedCase
Variable WitcherVerse._tradingEnabled (#401) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in WitcherVerse._transfer(address,address,uint256) (#573-635):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- recipient.transfer(amount) (#968)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#621)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _hasLiqBeenAdded = true (#938)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _isSniper[recipient] = true (#728)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _liquidityFee = _previousLiquidityFee (#885)
- _liquidityFee = 0 (#880)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _previousLiquidityFee = _liquidityFee (#877)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _previousReflectionFee = _reflectionFee (#876)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#837)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#762)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#773)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#783)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#764)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#774)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#785)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _rTotal = _rTotal.sub(rFee) (#792)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _reflectionFee = _previousReflectionFee (#884)
- _reflectionFee = 0 (#879)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tFeeTotal = _tFeeTotal.add(tFee) (#793)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#839)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#782)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#772)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#763)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- _tradingEnabled = true (#939)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- launchedAt = block.number (#940)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- snipersCaught ++ (#729)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#757)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#767)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#777)
- _tokenTransfer(from,to,amount,takeFee) (#633)
- Transfer(sender,recipient,tTransferAmount) (#788)
- _tokenTransfer(from,to,amount,takeFee) (#633)
Reentrancy in WitcherVerse.swapAndLiquify(uint256) (#637-673):
External calls:
- transferToAddressETH(buybackAddress,buybackBalance) (#669)
- recipient.transfer(amount) (#968)
- transferToAddressETH(marketingAddress,marketingBalance) (#670)
- recipient.transfer(amount) (#968)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#657)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
- transferToAddressETH(buybackAddress,buybackBalance) (#669)
- recipient.transfer(amount) (#968)
- transferToAddressETH(marketingAddress,marketingBalance) (#670)
- recipient.transfer(amount) (#968)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#672)
Reentrancy in WitcherVerse.transferFrom(address,address,uint256) (#488-492):
External calls:
- _transfer(sender,recipient,amount) (#489)
- recipient.transfer(amount) (#968)
External calls sending eth:
- _transfer(sender,recipient,amount) (#489)
- recipient.transfer(amount) (#968)
- uniswapV2Router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lpAddress,block.timestamp) (#700-707)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#490)
- _allowances[owner][spender] = amount (#569)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#570)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#490)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#103) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#104)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse._transferStandard(address,address,uint256).rTransferAmount (#752) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._transferBothExcluded(address,address,uint256).tTransferAmount (#781)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._transferBothExcluded(address,address,uint256).rTransferAmount (#781) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse._getValues(uint256).rTransferAmount (#798) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._transferToExcluded(address,address,uint256).tTransferAmount (#761)
Variable WitcherVerse._transferFromExcluded(address,address,uint256).rTransferAmount (#771) is too similar to WitcherVerse._getValues(uint256).tTransferAmount (#797)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._getTValues(uint256).tTransferAmount (#805)
Variable WitcherVerse.reflectionFromToken(uint256,bool).rTransferAmount (#531) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Variable WitcherVerse._transferToExcluded(address,address,uint256).rTransferAmount (#761) is too similar to WitcherVerse._transferFromExcluded(address,address,uint256).tTransferAmount (#771)
Variable WitcherVerse._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#813) is too similar to WitcherVerse._transferStandard(address,address,uint256).tTransferAmount (#752)
Prevent variables from having similar names.
Additional information: link
WitcherVerse.preSaleBevor() (#983-988) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#987)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
WitcherVerse.isDividendExempt (#352) is never used in WitcherVerse (#343-1037)
Remove unused state variables.
Additional information: link
WitcherVerse._decimals (#369) should be constant
WitcherVerse._name (#367) should be constant
WitcherVerse._symbol (#368) should be constant
WitcherVerse._tTotal (#363) should be constant
WitcherVerse.currentLiqPair (#403) should be constant
WitcherVerse.sniperProtection (#399) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#307-310)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#319-321)
getTime() should be declared external:
- Ownable.getTime() (#323-325)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#327-332)
unlock() should be declared external:
- Ownable.unlock() (#334-339)
name() should be declared external:
- WitcherVerse.name() (#453-455)
symbol() should be declared external:
- WitcherVerse.symbol() (#457-459)
decimals() should be declared external:
- WitcherVerse.decimals() (#461-463)
allowance(address,address) should be declared external:
- WitcherVerse.allowance(address,address) (#479-481)
approve(address,uint256) should be declared external:
- WitcherVerse.approve(address,uint256) (#483-486)
transferFrom(address,address,uint256) should be declared external:
- WitcherVerse.transferFrom(address,address,uint256) (#488-492)
increaseAllowance(address,uint256) should be declared external:
- WitcherVerse.increaseAllowance(address,uint256) (#494-497)
decreaseAllowance(address,uint256) should be declared external:
- WitcherVerse.decreaseAllowance(address,uint256) (#499-502)
isExcludedFromReward(address) should be declared external:
- WitcherVerse.isExcludedFromReward(address) (#504-506)
totalFees() should be declared external:
- WitcherVerse.totalFees() (#508-510)
minimumTokensBeforeSwapAmount() should be declared external:
- WitcherVerse.minimumTokensBeforeSwapAmount() (#512-514)
deliver(uint256) should be declared external:
- WitcherVerse.deliver(uint256) (#516-523)
reflectionFromToken(uint256,bool) should be declared external:
- WitcherVerse.reflectionFromToken(uint256,bool) (#525-534)
excludeFromReward(address) should be declared external:
- WitcherVerse.excludeFromReward(address) (#542-550)
setLaunchLiqPair(address) should be declared external:
- WitcherVerse.setLaunchLiqPair(address) (#865-867)
isExcludedFromFee(address) should be declared external:
- WitcherVerse.isExcludedFromFee(address) (#888-890)
excludeFromFee(address) should be declared external:
- WitcherVerse.excludeFromFee(address) (#893-895)
includeInFee(address) should be declared external:
- WitcherVerse.includeInFee(address) (#897-899)
GetSwapMinutes() should be declared external:
- WitcherVerse.GetSwapMinutes() (#901-903)
buyBack() should be declared external:
- WitcherVerse.buyBack() (#971-976)
multisend(address[],uint256[]) should be declared external:
- WitcherVerse.multisend(address[],uint256[]) (#1000-1007)
changeRouterVersion(address) should be declared external:
- WitcherVerse.changeRouterVersion(address) (#1009-1022)
transferForeignToken(address,address) should be declared external:
- WitcherVerse.transferForeignToken(address,address) (#1027-1030)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
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 whitepaper link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of 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
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account