Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in FoxPlayContract._transfer(address,address,uint256) (#616-666):
External calls:
- collectFees() (#646)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- collectFees() (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#660)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#757)
- _balances[recipient] = _balances[recipient].add(amount) (#758)
- transferToken(from,poolAddress,toBurnAmount) (#661)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#757)
- _balances[recipient] = _balances[recipient].add(amount) (#758)
- transferToken(from,to,amount) (#665)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#757)
- _balances[recipient] = _balances[recipient].add(amount) (#758)
Apply the check-effects-interactions pattern.
Additional information: link
FoxPlayContract.swapAndSendToFee(uint256) (#696-702) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
FoxPlayContract.addLiquidity(uint256,uint256) (#739-751) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
Ensure that all the return values of the function calls are used.
Additional information: link
FoxPlayContract.allowance(address,address).owner (#487) shadows:
- Ownable.owner() (#157-159) (function)
FoxPlayContract._approve(address,address,uint256).owner (#512) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
FoxPlayContract.setLiquifyThreshhold(uint256) (#549-551) should emit an event for:
- _liquifyThreshhold = newLiquifyThreshhold (#550)
FoxPlayContract.setMaxBalance(uint256) (#557-561) should emit an event for:
- _maxBalance = newMaxBalance (#560)
Emit an event for critical parameter changes.
Additional information: link
FoxPlayContract.setMarketingAddress(address).newMarketingAddress (#520) lacks a zero-check on :
- marketingAddress = newMarketingAddress (#521)
FoxPlayContract.setMarketingWalletToken(address)._marketingWalletToken (#553) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#554)
Check that the address is not zero.
Additional information: link
Reentrancy in FoxPlayContract.collectFees() (#668-678):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- swapAndSendToFee(marketingTokensToSell) (#677)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
State variables written after the call(s):
- swapAndSendToFee(marketingTokensToSell) (#677)
- _allowances[owner][spender] = amount (#516)
Reentrancy in FoxPlayContract.constructor() (#433-458):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#435-436)
State variables written after the call(s):
- _balances[_msgSender()] = _totalSupply (#456)
- _isExcludedFromFeeFox[owner()] = true (#440)
- _isExcludedFromFeeFox[address(this)] = true (#441)
- _isExcludedFromMaxBalancesFox[owner()] = true (#443)
- _isExcludedFromMaxBalancesFox[address(this)] = true (#444)
- _isExcludedFromMaxBalancesFox[uniswapV2Pair] = true (#445)
- _liquidityFeeFox = 3 (#447)
- _liquifyThreshhold = 20 * 10 ** 9 * 10 ** _decimals (#453)
- _marketingFeeFox = 6 (#448)
- _maxBalance = 3000 * 10 ** 9 * 10 ** _decimals (#454)
- _poolFeeFox = 1 (#449)
- _totalFeeFox = _liquidityFeeFox.add(_marketingFeeFox).add(_poolFeeFox) (#450)
- _totalFeeFoxToContract = _liquidityFeeFox.add(_marketingFeeFox) (#451)
- uniswapV2Router = _uniswapV2Router (#438)
Reentrancy in FoxPlayContract.swapAndLiquify(uint256) (#680-694):
External calls:
- swapTokensForEth(half) (#688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- addLiquidity(otherHalf,newBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#693)
- _allowances[owner][spender] = amount (#516)
Reentrancy in FoxPlayContract.transferFrom(address,address,uint256) (#496-500):
External calls:
- _transfer(sender,recipient,amount) (#497)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- _transfer(sender,recipient,amount) (#497)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#498)
- _allowances[owner][spender] = amount (#516)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FoxPlayContract._transfer(address,address,uint256) (#616-666):
External calls:
- collectFees() (#646)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- collectFees() (#646)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
Event emitted after the call(s):
- TokenBurn(from,toBurnAmount) (#662)
- Transfer(sender,recipient,amount) (#759)
- transferToken(from,to,amount) (#665)
- Transfer(sender,recipient,amount) (#759)
- transferToken(from,poolAddress,toBurnAmount) (#661)
- Transfer(sender,recipient,amount) (#759)
- transferToken(from,address(this),feesToContract) (#660)
Reentrancy in FoxPlayContract.collectFees() (#668-678):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- swapAndSendToFee(marketingTokensToSell) (#677)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#517)
- swapAndSendToFee(marketingTokensToSell) (#677)
Reentrancy in FoxPlayContract.constructor() (#433-458):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#435-436)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#457)
Reentrancy in FoxPlayContract.swapAndLiquify(uint256) (#680-694):
External calls:
- swapTokensForEth(half) (#688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- addLiquidity(otherHalf,newBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#693)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#517)
- addLiquidity(otherHalf,newBalance) (#693)
Reentrancy in FoxPlayContract.transferFrom(address,address,uint256) (#496-500):
External calls:
- _transfer(sender,recipient,amount) (#497)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#701)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#712-718)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#730-736)
External calls sending eth:
- _transfer(sender,recipient,amount) (#497)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#743-750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#517)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#498)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#87-96) uses assembly
- INLINE ASM (#94)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#87-96) is never used and should be removed
Address.sendValue(address,uint256) (#98-104) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#75-77) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#79-82) is never used and should be removed
Remove unused functions.
Additional information: link
FoxPlayContract._totalSupply (#401) is set pre-construction with a non-constant function or state variable:
- 100000 * 10 ** 9 * 10 ** _decimals
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
Low level call in Address.sendValue(address,uint256) (#98-104):
- (success) = recipient.call{value: amount}() (#102)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#214) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#215) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#231) is not in mixedCase
Function IUniswapV2Router01.WETH() (#252) is not in mixedCase
Parameter FoxPlayContract.setMarketingWalletToken(address)._marketingWalletToken (#553) is not in mixedCase
Constant FoxPlayContract.poolAddress (#405) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FoxPlayContract._maxFeeFox (#412) is not in UPPER_CASE_WITH_UNDERSCORES
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
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#257) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#258)
Prevent variables from having similar names.
Additional information: link
FoxPlayContract.slitherConstructorVariables() (#389-762) uses literals with too many digits:
- _totalSupply = 100000 * 10 ** 9 * 10 ** _decimals (#401)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#146) is never used in FoxPlayContract (#389-762)
Ownable._lockTime (#147) is never used in FoxPlayContract (#389-762)
Remove unused state variables.
Additional information: link
FoxPlayContract._decimals (#400) should be constant
FoxPlayContract._name (#398) should be constant
FoxPlayContract._symbol (#399) should be constant
Ownable._lockTime (#147) should be constant
Ownable._previousOwner (#146) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
name() should be declared external:
- FoxPlayContract.name() (#462-464)
symbol() should be declared external:
- FoxPlayContract.symbol() (#466-468)
decimals() should be declared external:
- FoxPlayContract.decimals() (#470-472)
totalSupply() should be declared external:
- FoxPlayContract.totalSupply() (#474-476)
transfer(address,uint256) should be declared external:
- FoxPlayContract.transfer(address,uint256) (#482-485)
allowance(address,address) should be declared external:
- FoxPlayContract.allowance(address,address) (#487-489)
approve(address,uint256) should be declared external:
- FoxPlayContract.approve(address,uint256) (#491-494)
transferFrom(address,address,uint256) should be declared external:
- FoxPlayContract.transferFrom(address,address,uint256) (#496-500)
increaseAllowance(address,uint256) should be declared external:
- FoxPlayContract.increaseAllowance(address,uint256) (#502-505)
decreaseAllowance(address,uint256) should be declared external:
- FoxPlayContract.decreaseAllowance(address,uint256) (#507-510)
isExcludedFromFees(address) should be declared external:
- FoxPlayContract.isExcludedFromFees(address) (#563-565)
excludeFromFees(address) should be declared external:
- FoxPlayContract.excludeFromFees(address) (#567-569)
includeInFees(address) should be declared external:
- FoxPlayContract.includeInFees(address) (#571-573)
isExcludedFromMaxBalance(address) should be declared external:
- FoxPlayContract.isExcludedFromMaxBalance(address) (#575-577)
excludeFromMaxBalance(address) should be declared external:
- FoxPlayContract.excludeFromMaxBalance(address) (#579-581)
includeInMaxBalance(address) should be declared external:
- FoxPlayContract.includeInMaxBalance(address) (#583-585)
totalFees() should be declared external:
- FoxPlayContract.totalFees() (#587-589)
liquidityFee() should be declared external:
- FoxPlayContract.liquidityFee() (#591-593)
marketingFee() should be declared external:
- FoxPlayContract.marketingFee() (#595-597)
poolFee() should be declared external:
- FoxPlayContract.poolFee() (#599-601)
maxFees() should be declared external:
- FoxPlayContract.maxFees() (#603-605)
liquifyThreshhold() should be declared external:
- FoxPlayContract.liquifyThreshhold() (#607-609)
maxBalance() should be declared external:
- FoxPlayContract.maxBalance() (#611-613)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
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 Telegram and Twitter accounts