VOYCEToken is a crypto token on the Binance Smart Chain. A 9% transaction fee applies to each transaction. (4% to homeless charities, 3% to LP, 2% Dev and Marketing)
VOYCEToken.swapBack() (#480-524) sends eth to arbitrary user
Dangerous calls:
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in VOYCEToken._transferFrom(address,address,uint256) (#369-416):
External calls:
- swapBack() (#407)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#491-497)
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
External calls sending eth:
- swapBack() (#407)
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#410)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#412)
- amountReceived = takeFee(sender,amount) (#411)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#451)
- amountReceived = takeFee(sender,amount) (#411)
- charityFee = banCharityFee (#436)
- charityFee = buyCharityFee (#441)
- charityFee = sellCharityFee (#445)
- amountReceived = takeFee(sender,amount) (#411)
- liquidityFee = banLiquidityFee (#435)
- liquidityFee = buyLiquidityFee (#440)
- liquidityFee = sellLiquidityFee (#444)
- amountReceived = takeFee(sender,amount) (#411)
- projectFee = banProjectFee (#437)
- projectFee = buyProjectFee (#442)
- projectFee = sellProjectFee (#446)
- amountReceived = takeFee(sender,amount) (#411)
- totalFee = liquidityFee.add(charityFee).add(projectFee) (#449)
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.
VOYCEToken.swapBack() (#480-524) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in VOYCEToken._transferFrom(address,address,uint256) (#369-416):
External calls:
- swapBack() (#407)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#491-497)
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
External calls sending eth:
- swapBack() (#407)
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#452)
- amountReceived = takeFee(sender,amount) (#411)
- Transfer(sender,recipient,amountReceived) (#413)
Reentrancy in VOYCEToken.swapBack() (#480-524):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#491-497)
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
External calls sending eth:
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#514-521)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#522)
Apply the check-effects-interactions pattern.
Additional information: link
VOYCEToken._transferFrom(address,address,uint256) (#369-416) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#399-402)
Avoid relying on block.timestamp.
Additional information: link
Low level call in VOYCEToken.swapBack() (#480-524):
- (txCharitySuccess) = address(charityReceiver).call{gas: 30000,value: amountBNBCharity}() (#503-506)
- (txProjectSuccess) = address(projectReceiver).call{gas: 30000,value: amountBNBProject}() (#508-511)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#135) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#140) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#141)
Prevent variables from having similar names.
Additional information: link
VOYCEToken.slitherConstructorConstantVariables() (#230-627) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#233)
VOYCEToken.slitherConstructorConstantVariables() (#230-627) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#234)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
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.
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
Contract has 9% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.
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 price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Discord account