METAFACE is a "FREE TO EARN"Token NFT, NFT game with many games and other use cases. Percentage distribution goes back to holders on every transaction as well as some percentage auto liquidate as it goes to the liquidity pool hence regulates price of the token.
MetafaceToken.addLiquidity(uint256,uint256) (#1077-1090) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetafaceToken._transfer(address,address,uint256) (#981-1014):
External calls:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
External calls sending eth:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1013)
- _autoLiqFee = _previousAutoLiqFee (#966)
- _autoLiqFee = 0 (#959)
- _tokenTransfer(from,to,amount) (#1013)
- _liquidityFee = _previousLiquidityFee (#964)
- _liquidityFee = 0 (#956)
- _tokenTransfer(from,to,amount) (#1013)
- _marketingFee = _previousmarketingFee (#965)
- _marketingFee = 0 (#957)
- _tokenTransfer(from,to,amount) (#1013)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#931)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1172)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#1131)
- _rOwned[address(this)] = _rOwned[address(this)].add(rAutoLiq) (#1147)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1183)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#872)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1174)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1184)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1159)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1160)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#874)
- _tokenTransfer(from,to,amount) (#1013)
- _rTotal = _rTotal.sub(rFee) (#886)
- _tokenTransfer(from,to,amount) (#1013)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#933)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1182)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#871)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1173)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#873)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (#1133)
- _tOwned[address(this)] = _tOwned[address(this)].add(tAutoLiq) (#1149)
- swapping = false (#1009)
Apply the check-effects-interactions pattern.
Additional information: link
MetafaceToken.inSwapAndLiquify (#727) is never initialized. It is used in:
- MetafaceToken._transfer(address,address,uint256) (#981-1014)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
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.
Low level call in Address.sendValue(address,uint256) (#295-301):
- (success) = recipient.call{value: amount}() (#299)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#361-382):
- (success,returndata) = target.call{value: weiValue}(data) (#365)
Low level call in MetafaceToken.swapTokensForEthToFee(uint256,address) (#1016-1034):
- address(wallet).call{value: newBalance}() (#1033)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
MetafaceToken.includeInReward(address) (#856-867) has costly operations inside a loop:
- _excluded.pop() (#863)
Use a local variable to hold the loop computation result.
Additional information: link
MetafaceToken.takeMarketing(address,uint256,uint256,uint256) (#1123-1136) performs a multiplication on the result of a division:
-tMarketing = tAmount.div(100).mul(_marketingFee) (#1127)
MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256) (#1139-1152) performs a multiplication on the result of a division:
-tAutoLiq = tAmount.div(100).mul(_autoLiqFee) (#1143)
Consider ordering multiplication before division.
Additional information: link
MetafaceToken.swapTokensForEthToFee(uint256,address) (#1016-1034) ignores return value by address(wallet).call{value: newBalance}() (#1033)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
MetafaceToken.addLiquidity(uint256,uint256) (#1077-1090) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
Ensure that all the return values of the function calls are used.
Additional information: link
MetafaceToken.allowance(address,address).owner (#788) shadows:
- Ownable.owner() (#416-418) (function)
MetafaceToken._approve(address,address,uint256).owner (#973) shadows:
- Ownable.owner() (#416-418) (function)
Rename the local variables that shadow another component.
Additional information: link
MetafaceToken.setTaxFeePercent(uint256) (#1229-1231) should emit an event for:
- _taxFee = taxFee (#1230)
MetafaceToken.setLiquidityFeePercent(uint256) (#1233-1235) should emit an event for:
- _liquidityFee = liquidityFee (#1234)
MetafaceToken.setChartityFeePercent(uint256) (#1237-1239) should emit an event for:
- _marketingFee = marketingFee (#1238)
MetafaceToken.setAutoLiqFeePercent(uint256) (#1241-1244) should emit an event for:
- _autoLiqFee = autoLiqFee (#1243)
MetafaceToken.setNumTokensSellToAddToLiquidity(uint256,uint256) (#1247-1249) should emit an event for:
- numTokensSellToAddToLiquidity = newAmt * 10 ** decimal (#1248)
MetafaceToken.setMaxTxAmount(uint256,uint256) (#1251-1254) should emit an event for:
- _maxTxAmount = maxTxAmount * 10 ** decimal (#1253)
Emit an event for critical parameter changes.
Additional information: link
MetafaceToken.setmarketingWallet(address).newWallet (#1224) lacks a zero-check on :
- marketingWallet = newWallet (#1225)
Check that the address is not zero.
Additional information: link
Reentrancy in MetafaceToken._transfer(address,address,uint256) (#981-1014):
External calls:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
External calls sending eth:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- address(wallet).call{value: newBalance}() (#1033)
State variables written after the call(s):
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- _allowances[owner][spender] = amount (#977)
Reentrancy in MetafaceToken._transfer(address,address,uint256) (#981-1014):
External calls:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
External calls sending eth:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
State variables written after the call(s):
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- _allowances[owner][spender] = amount (#977)
- _tokenTransfer(from,to,amount) (#1013)
- _previousAutoLiqFee = _autoLiqFee (#954)
- _tokenTransfer(from,to,amount) (#1013)
- _previousLiquidityFee = _liquidityFee (#952)
- _tokenTransfer(from,to,amount) (#1013)
- _previousTaxFee = _taxFee (#951)
- _tokenTransfer(from,to,amount) (#1013)
- _previousmarketingFee = _marketingFee (#953)
- _tokenTransfer(from,to,amount) (#1013)
- _tFeeTotal = _tFeeTotal.add(tFee) (#887)
- _tokenTransfer(from,to,amount) (#1013)
- _taxFee = _previousTaxFee (#963)
- _taxFee = 0 (#955)
Reentrancy in MetafaceToken.constructor() (#743-760):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#749-750)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#756)
- _isExcludedFromFee[address(this)] = true (#757)
- uniswapV2Router = _uniswapV2Router (#753)
Reentrancy in MetafaceToken.setRouterAddress(address) (#1258-1262):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1260)
State variables written after the call(s):
- uniswapV2Router = _newPancakeRouter (#1261)
Reentrancy in MetafaceToken.swapAndLiquify(uint256) (#1036-1057):
External calls:
- swapTokensForEth(half) (#1048)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- addLiquidity(otherHalf,newBalance) (#1054)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1054)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1054)
- _allowances[owner][spender] = amount (#977)
Reentrancy in MetafaceToken.transferFrom(address,address,uint256) (#797-801):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- address(wallet).call{value: newBalance}() (#1033)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799)
- _allowances[owner][spender] = amount (#977)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetafaceToken._transfer(address,address,uint256) (#981-1014):
External calls:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
External calls sending eth:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- address(wallet).call{value: newBalance}() (#1033)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#978)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
Reentrancy in MetafaceToken._transfer(address,address,uint256) (#981-1014):
External calls:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
External calls sending eth:
- swapTokensForEthToFee(contractTokenBalance.mul(_marketingFee).div(total),marketingWallet) (#1005)
- address(wallet).call{value: newBalance}() (#1033)
- swapTokensForEthToFee(contractTokenBalance.mul(_autoLiqFee).div(total),autoLiqContract) (#1006)
- address(wallet).call{value: newBalance}() (#1033)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#978)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- SwapAndLiquify(half,newBalance,otherHalf) (#1056)
- swapAndLiquify(contractTokenBalance.mul(_liquidityFee).div(total)) (#1008)
- Transfer(sender,recipient,tTransferAmount) (#1177)
- _tokenTransfer(from,to,amount) (#1013)
- Transfer(sender,recipient,tTransferAmount) (#1187)
- _tokenTransfer(from,to,amount) (#1013)
- Transfer(sender,recipient,tTransferAmount) (#1163)
- _tokenTransfer(from,to,amount) (#1013)
- Transfer(sender,recipient,tTransferAmount) (#877)
- _tokenTransfer(from,to,amount) (#1013)
Reentrancy in MetafaceToken.constructor() (#743-760):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#749-750)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#759)
Reentrancy in MetafaceToken.swapAndLiquify(uint256) (#1036-1057):
External calls:
- swapTokensForEth(half) (#1048)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- addLiquidity(otherHalf,newBalance) (#1054)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1054)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#978)
- addLiquidity(otherHalf,newBalance) (#1054)
- SwapAndLiquify(half,newBalance,otherHalf) (#1056)
Reentrancy in MetafaceToken.transferFrom(address,address,uint256) (#797-801):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1068-1074)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1025-1031)
- address(wallet).call{value: newBalance}() (#1033)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1082-1089)
- address(wallet).call{value: newBalance}() (#1033)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#978)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#463-468) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#465)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#268-277) uses assembly
- INLINE ASM (#275)
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) uses assembly
- INLINE ASM (#374-377)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#361-382) is never used and should be removed
Address.functionCall(address,bytes) (#321-323) is never used and should be removed
Address.functionCall(address,bytes,string) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#346-348) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#356-359) is never used and should be removed
Address.isContract(address) (#268-277) is never used and should be removed
Address.sendValue(address,uint256) (#295-301) is never used and should be removed
Context._msgData() (#240-243) is never used and should be removed
SafeMath.mod(uint256,uint256) (#213-215) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#229-232) is never used and should be removed
Remove unused functions.
Additional information: link
MetafaceToken._rTotal (#698) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
MetafaceToken._previousAutoLiqFee (#712) is set pre-construction with a non-constant function or state variable:
- _autoLiqFee
MetafaceToken._previousTaxFee (#713) is set pre-construction with a non-constant function or state variable:
- _taxFee
MetafaceToken._previousLiquidityFee (#714) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
MetafaceToken._previousmarketingFee (#715) is set pre-construction with a non-constant function or state variable:
- _marketingFee
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() (#507) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#508) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#524) is not in mixedCase
Function IUniswapV2Router01.WETH() (#545) is not in mixedCase
Parameter MetafaceToken.calculateTaxFee(uint256)._amount (#936) is not in mixedCase
Parameter MetafaceToken.calculateLiquidityFee(uint256)._amount (#942) is not in mixedCase
Parameter MetafaceToken.setSwapAndLiquifyEnabled(bool)._enabled (#1264) is not in mixedCase
Variable MetafaceToken._taxFee (#708) is not in mixedCase
Variable MetafaceToken._liquidityFee (#709) is not in mixedCase
Variable MetafaceToken._marketingFee (#710) is not in mixedCase
Variable MetafaceToken._maxTxAmount (#731) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#241)" inContext (#235-244)
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 (#550) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#551)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken._transferStandard(address,address,uint256).tTransferAmount (#1156)
Variable MetafaceToken.reflectionFromToken(uint256,bool).rTransferAmount (#836) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._transferBothExcluded(address,address,uint256).tTransferAmount (#870)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken.takeMarketing(address,uint256,uint256,uint256).rTransferAmount (#1123) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).rTransferAmount (#1139) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken._transferBothExcluded(address,address,uint256).rTransferAmount (#870) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1181)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._transferStandard(address,address,uint256).rTransferAmount (#1156) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1181) is too similar to MetafaceToken._getTValues(uint256).tTransferAmount (#899)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._getValues(uint256).tTransferAmount (#891)
Variable MetafaceToken._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#907) is too similar to MetafaceToken.takeAutoLiq(address,uint256,uint256,uint256).tTransferAmount (#1139)
Variable MetafaceToken._transferToExcluded(address,address,uint256).rTransferAmount (#1171) is too similar to MetafaceToken.takeMarketing(address,uint256,uint256,uint256).tTransferAmount (#1123)
Variable MetafaceToken._getValues(uint256).rTransferAmount (#892) is too similar to MetafaceToken._transferToExcluded(address,address,uint256).tTransferAmount (#1171)
Prevent variables from having similar names.
Additional information: link
MetafaceToken.prepareFoePresale() (#1190-1201) uses literals with too many digits:
- _maxTxAmount = 1000000000000000000000 * 10 ** 18 (#1199)
MetafaceToken.afterPresale() (#1203-1214) uses literals with too many digits:
- _maxTxAmount = 10000000000000000000000 * 10 ** 18 (#1212)
MetafaceToken.slitherConstructorVariables() (#683-1270) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 18 (#697)
MetafaceToken.slitherConstructorVariables() (#683-1270) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#718)
MetafaceToken.slitherConstructorVariables() (#683-1270) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 5000000 * 10 ** 18 (#730)
MetafaceToken.slitherConstructorVariables() (#683-1270) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#731)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MetafaceToken._decimals (#703) should be constant
MetafaceToken._name (#701) should be constant
MetafaceToken._symbol (#702) should be constant
MetafaceToken._tTotal (#697) should be constant
MetafaceToken.autoLiqContract (#721) should be constant
MetafaceToken.deadAddress (#718) should be constant
MetafaceToken.inSwapAndLiquify (#727) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#435-438)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#444-448)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#450-452)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#455-460)
unlock() should be declared external:
- Ownable.unlock() (#463-468)
name() should be declared external:
- MetafaceToken.name() (#762-764)
symbol() should be declared external:
- MetafaceToken.symbol() (#766-768)
decimals() should be declared external:
- MetafaceToken.decimals() (#770-772)
totalSupply() should be declared external:
- MetafaceToken.totalSupply() (#774-776)
transfer(address,uint256) should be declared external:
- MetafaceToken.transfer(address,uint256) (#783-786)
allowance(address,address) should be declared external:
- MetafaceToken.allowance(address,address) (#788-790)
approve(address,uint256) should be declared external:
- MetafaceToken.approve(address,uint256) (#792-795)
transferFrom(address,address,uint256) should be declared external:
- MetafaceToken.transferFrom(address,address,uint256) (#797-801)
increaseAllowance(address,uint256) should be declared external:
- MetafaceToken.increaseAllowance(address,uint256) (#803-806)
decreaseAllowance(address,uint256) should be declared external:
- MetafaceToken.decreaseAllowance(address,uint256) (#808-811)
isExcludedFromReward(address) should be declared external:
- MetafaceToken.isExcludedFromReward(address) (#813-815)
totalFees() should be declared external:
- MetafaceToken.totalFees() (#817-819)
deliver(uint256) should be declared external:
- MetafaceToken.deliver(uint256) (#821-828)
reflectionFromToken(uint256,bool) should be declared external:
- MetafaceToken.reflectionFromToken(uint256,bool) (#830-839)
excludeFromReward(address) should be declared external:
- MetafaceToken.excludeFromReward(address) (#847-854)
isExcludedFromFee(address) should be declared external:
- MetafaceToken.isExcludedFromFee(address) (#969-971)
excludeFromFee(address) should be declared external:
- MetafaceToken.excludeFromFee(address) (#1216-1218)
includeInFee(address) should be declared external:
- MetafaceToken.includeInFee(address) (#1220-1222)
setRouterAddress(address) should be declared external:
- MetafaceToken.setRouterAddress(address) (#1258-1262)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 13% buy tax and 10% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
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.
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 Blog account (Reddit or Medium)
Unable to find Youtube account