Welcome Investors.
We are the World First DeFi, bring fahsion industry to crypto. 🚀🚀🚀
MetaFashion Finance is a community-driven DeFi that includes multi-chain fixed staking, Token locker, Launchpad, Airdrop tools, DAO governance and NFT market.
Reentrancy in MetaFashion._transfer(address,address,uint256) (#961-1041):
External calls:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
External calls sending eth:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#1037)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1341)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1345)
- _tokenTransfer(from,to,amount) (#1037)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1343)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1347)
- _tokenTransfer(from,to,amount) (#1037)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1174)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1194)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1216)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1237)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1175)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1196)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1217)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1239)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1352)
- _tokenTransfer(from,to,amount) (#1037)
- _rTotal = _rTotal.sub(rFee) (#1246)
- _tokenTransfer(from,to,amount) (#1037)
- _rewardTokens += tLiquidity * _buyRewardFee / _liquidityFee (#1342)
- _rewardTokens += tLiquidity * _sellRewardFee / _liquidityFee (#1346)
- _tokenTransfer(from,to,amount) (#1037)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1215)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1236)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1195)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1238)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1354)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#212) is never initialized. It is used in:
- Ownable.getUnlockTime() (#248-250)
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
MetaFashion.swapBack() (#1080-1116) uses a dangerous strict equality:
- totalTokensToSwap == 0 || contractBalance == 0 (#1084)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in MetaFashion.swapBack() (#1080-1116):
External calls:
- swapTokensForETH(amountToSwapForETH) (#1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
State variables written after the call(s):
- _liquidityTokensToSwap = 0 (#1105)
- _marketingTokensToSwap = 0 (#1107)
- _rOwned[address(rewardAddress)] = _rOwned[address(rewardAddress)].add(rReward) (#1102)
- _rewardTokens = 0 (#1106)
- _tOwned[address(rewardAddress)] = _tOwned[address(rewardAddress)].add(_rewardTokens) (#1103)
Apply the check-effects-interactions pattern.
Additional information: link
MetaFashion.manageSnipers(address[],bool).i (#849) is a local variable never initialized
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
MetaFashion.addLiquidity(uint256,uint256) (#1132-1142) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
Ensure that all the return values of the function calls are used.
Additional information: link
MetaFashion.allowance(address,address).owner (#762) shadows:
- Ownable.owner() (#225-227) (function)
MetaFashion._approve(address,address,uint256).owner (#950) shadows:
- Ownable.owner() (#225-227) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable._previousOwner (#211) is never used in MetaFashion (#601-1473)
Remove unused state variables.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#403) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#404)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._transferFromExcluded(address,address,uint256).rTransferAmount (#1209) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._transferToExcluded(address,address,uint256).rTransferAmount (#1188) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._getTValues(uint256).tTransferAmount (#1294)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._transferStandard(address,address,uint256).tTransferAmount (#1170)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._getValues(uint256).tTransferAmount (#1263)
Variable MetaFashion._transferBothExcluded(address,address,uint256).rTransferAmount (#1230) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1315) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._transferStandard(address,address,uint256).rTransferAmount (#1168) is too similar to MetaFashion._transferBothExcluded(address,address,uint256).tTransferAmount (#1232)
Variable MetaFashion.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._transferToExcluded(address,address,uint256).tTransferAmount (#1190)
Variable MetaFashion._getValues(uint256).rTransferAmount (#1267) is too similar to MetaFashion._transferFromExcluded(address,address,uint256).tTransferAmount (#1211)
Prevent variables from having similar names.
Additional information: link
MetaFashion.constructor() (#697-730) uses literals with too many digits:
- maxTransactionAmount = _tTotal * 500 / 100000 (#700)
MetaFashion.constructor() (#697-730) uses literals with too many digits:
- minimumTokensBeforeSwap = _tTotal * 50 / 100000 (#701)
MetaFashion.updateSwapTokensAtPercent(uint256) (#1044-1049) uses literals with too many digits:
- minimumTokensBeforeSwap = _tTotal * percent / 100000 (#1047)
MetaFashion.updateMaxTxnPercent(uint256) (#1051-1054) uses literals with too many digits:
- maxTransactionAmount = _tTotal * percent / 100000 (#1053)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MetaFashion.manualBurnFrequency (#632) should be constant
Ownable._lockTime (#212) should be constant
Ownable._previousOwner (#211) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
MetaFashion.updateSwapTokensAtPercent(uint256) (#1044-1049) should emit an event for:
- minimumTokensBeforeSwap = _tTotal * percent / 100000 (#1047)
MetaFashion.updateMaxTxnPercent(uint256) (#1051-1054) should emit an event for:
- maxTransactionAmount = _tTotal * percent / 100000 (#1053)
MetaFashion.setBuyFee(uint256,uint256,uint256,uint256) (#1396-1405) should emit an event for:
- _buyTaxFee = buyTaxFee (#1400)
- _buyLiquidityFee = buyLiquidityFee (#1401)
- _buyRewardFee = buyRewardFee (#1402)
- _buyMarketingFee = buyMarketingFee (#1403)
MetaFashion.setSellFee(uint256,uint256,uint256,uint256) (#1407-1416) should emit an event for:
- _sellTaxFee = sellTaxFee (#1411)
- _sellLiquidityFee = sellLiquidityFee (#1412)
- _sellRewardFee = sellRewardFee (#1413)
- _sellMarketingFee = sellMarketingFee (#1414)
Emit an event for critical parameter changes.
Additional information: link
MetaFashion.setMarketingAddress(address)._marketingAddress (#1418) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1419)
MetaFashion.setRewardAddress(address)._rewardAddress (#1423) lacks a zero-check on :
- rewardAddress = address(_rewardAddress) (#1424)
MetaFashion.setLiquidityAddress(address)._liquidityAddress (#1428) lacks a zero-check on :
- liquidityAddress = address(_liquidityAddress) (#1429)
MetaFashion.manualSend(address)._recipient (#1467) lacks a zero-check on :
- (success) = _recipient.call{value: contractETHBalance}() (#1469)
Check that the address is not zero.
Additional information: link
Reentrancy in MetaFashion._transfer(address,address,uint256) (#961-1041):
External calls:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
External calls sending eth:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
State variables written after the call(s):
- removeAllFee() (#1008)
- _liquidityFee = 0 (#1376)
- _liquidityFee = _buyLiquidityFee + _buyRewardFee + _buyMarketingFee (#1017)
- _liquidityFee = _sellLiquidityFee + _sellRewardFee + _sellMarketingFee (#1025)
- _liquidityFee = 99 (#1033)
- restoreAllFee() (#1039)
- _liquidityFee = _previousLiquidityFee (#1381)
- removeAllFee() (#1008)
- _previousLiquidityFee = _liquidityFee (#1373)
- removeAllFee() (#1008)
- _previousTaxFee = _taxFee (#1372)
- _tokenTransfer(from,to,amount) (#1037)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1247)
- removeAllFee() (#1008)
- _taxFee = 0 (#1375)
- _taxFee = _buyTaxFee (#1016)
- _taxFee = _sellTaxFee (#1024)
- restoreAllFee() (#1039)
- _taxFee = _previousTaxFee (#1380)
- buyOrSellSwitch = TRANSFER (#1010)
- buyOrSellSwitch = BUY (#1019)
- buyOrSellSwitch = SELL (#1027)
Reentrancy in MetaFashion.constructor() (#697-730):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#710-711)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- _excluded[i] = _excluded[_excluded.length - 1] (#940)
- _excluded.push(account) (#928)
- _excluded.pop() (#943)
- _setLiqEnabled(newOwner,true) (#718)
- _excluded[i] = _excluded[_excluded.length - 1] (#940)
- _excluded.push(account) (#928)
- _excluded.pop() (#943)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- _isExcluded[account] = true (#927)
- _isExcluded[account] = false (#942)
- _setLiqEnabled(newOwner,true) (#718)
- _isExcluded[account] = true (#927)
- _isExcluded[account] = false (#942)
- _setLiqEnabled(newOwner,true) (#718)
- _isExcludedFromFee[liqAddress] = value (#880)
- _isExcludedFromFee[newOwner] = true (#720)
- _isExcludedFromFee[address(this)] = true (#721)
- _isExcludedFromFee[liquidityAddress] = true (#722)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- _setLiqEnabled(newOwner,true) (#718)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- excludeFromMaxTransaction(newOwner,true) (#724)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- excludeFromMaxTransaction(address(this),true) (#725)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- excludeFromMaxTransaction(address(_uniswapV2Router),true) (#726)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- excludeFromMaxTransaction(address(0xdead),true) (#727)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#932)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#925)
- _tOwned[account] = 0 (#941)
- _setLiqEnabled(newOwner,true) (#718)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#925)
- _tOwned[account] = 0 (#941)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- automatedMarketMakerPairs[pair] = value (#865)
- _setLiqEnabled(newOwner,true) (#718)
- liqEnabled[liqAddress] = value (#879)
- uniswapV2Pair = _uniswapV2Pair (#714)
- uniswapV2Router = _uniswapV2Router (#713)
Reentrancy in MetaFashion.swapBack() (#1080-1116):
External calls:
- swapTokensForETH(amountToSwapForETH) (#1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- _allowances[owner][spender] = amount (#957)
Reentrancy in MetaFashion.transferFrom(address,address,uint256) (#780-795):
External calls:
- _transfer(sender,recipient,amount) (#785)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
External calls sending eth:
- _transfer(sender,recipient,amount) (#785)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#786-793)
- _allowances[owner][spender] = amount (#957)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaFashion._transfer(address,address,uint256) (#961-1041):
External calls:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
External calls sending eth:
- swapBack() (#1005)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1178)
- _tokenTransfer(from,to,amount) (#1037)
- Transfer(sender,recipient,tTransferAmount) (#1220)
- _tokenTransfer(from,to,amount) (#1037)
- Transfer(sender,recipient,tTransferAmount) (#1199)
- _tokenTransfer(from,to,amount) (#1037)
- Transfer(sender,recipient,tTransferAmount) (#1242)
- _tokenTransfer(from,to,amount) (#1037)
Reentrancy in MetaFashion.constructor() (#697-730):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#710-711)
Event emitted after the call(s):
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- excludeFromMaxTransaction(address(0xdead),true) (#727)
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- excludeFromMaxTransaction(address(_uniswapV2Router),true) (#726)
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- excludeFromMaxTransaction(address(this),true) (#725)
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- excludeFromMaxTransaction(newOwner,true) (#724)
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- _setLiqEnabled(newOwner,true) (#718)
- ExcludedMaxTransactionAmount(updAds,isEx) (#933)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#716)
- Transfer(address(0),newOwner,_tTotal) (#729)
Reentrancy in MetaFashion.manualBurnLiquidityPairTokens(uint256) (#1057-1078):
External calls:
- _transfer(uniswapV2Pair,address(0xdead),amountToBurn) (#1070)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
- pair.sync() (#1075)
External calls sending eth:
- _transfer(uniswapV2Pair,address(0xdead),amountToBurn) (#1070)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
Event emitted after the call(s):
- ManualBurnLP() (#1076)
Reentrancy in MetaFashion.swapBack() (#1080-1116):
External calls:
- swapTokensForETH(amountToSwapForETH) (#1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
External calls sending eth:
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#958)
- addLiquidity(tokensForLiquidity,ethForLiquidity) (#1110)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1111)
Reentrancy in MetaFashion.transferFrom(address,address,uint256) (#780-795):
External calls:
- _transfer(sender,recipient,amount) (#785)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
External calls sending eth:
- _transfer(sender,recipient,amount) (#785)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1134-1141)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#958)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#786-793)
Apply the check-effects-interactions pattern.
Additional information: link
MetaFashion.manualBurnLiquidityPairTokens(uint256) (#1057-1078) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > lastManualLpBurnTime + manualBurnFrequency,Must wait for cooldown to finish) (#1058)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#114-125) uses assembly
- INLINE ASM (#121-123)
Address._functionCallWithValue(address,bytes,uint256,string) (#183-206) uses assembly
- INLINE ASM (#198-201)
Do not use evm assembly.
Additional information: link
MetaFashion.includeInReward(address) (#936-947) has costly operations inside a loop:
- _excluded.pop() (#943)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#183-206) is never used and should be removed
Address.functionCall(address,bytes) (#141-146) is never used and should be removed
Address.functionCall(address,bytes,string) (#148-154) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#156-168) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#170-181) is never used and should be removed
Address.isContract(address) (#114-125) is never used and should be removed
Address.sendValue(address,uint256) (#127-139) is never used and should be removed
Context._msgData() (#13-16) is never used and should be removed
SafeMath.mod(uint256,uint256) (#99-101) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#103-110) is never used and should be removed
Remove unused functions.
Additional information: link
MetaFashion._previousTaxFee (#636) is set pre-construction with a non-constant function or state variable:
- _taxFee
MetaFashion._previousLiquidityFee (#639) 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
Pragma version0.8.9 (#6) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#127-139):
- (success) = recipient.call{value: amount}() (#134)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#183-206):
- (success,returndata) = target.call{value: weiValue}(data) (#191-193)
Low level call in MetaFashion.swapBack() (#1080-1116):
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1114)
Low level call in MetaFashion.manualSend(address) (#1467-1471):
- (success) = _recipient.call{value: contractETHBalance}() (#1469)
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() (#322) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#324) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#354) is not in mixedCase
Function IUniswapV2Router01.WETH() (#398) is not in mixedCase
Parameter MetaFashion.calculateTaxFee(uint256)._amount (#1357) is not in mixedCase
Parameter MetaFashion.calculateLiquidityFee(uint256)._amount (#1361) is not in mixedCase
Parameter MetaFashion.setMarketingAddress(address)._marketingAddress (#1418) is not in mixedCase
Parameter MetaFashion.setRewardAddress(address)._rewardAddress (#1423) is not in mixedCase
Parameter MetaFashion.setLiquidityAddress(address)._liquidityAddress (#1428) is not in mixedCase
Parameter MetaFashion.setSwapAndLiquifyEnabled(bool)._enabled (#1433) is not in mixedCase
Parameter MetaFashion.transferForeignToken(address,address)._token (#1457) is not in mixedCase
Parameter MetaFashion.transferForeignToken(address,address)._to (#1457) is not in mixedCase
Parameter MetaFashion.manualSend(address)._recipient (#1467) is not in mixedCase
Constant MetaFashion._tTotal (#619) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaFashion._name (#623) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaFashion._symbol (#624) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaFashion._decimals (#625) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MetaFashion._buyTaxFee (#641) is not in mixedCase
Variable MetaFashion._buyLiquidityFee (#642) is not in mixedCase
Variable MetaFashion._buyRewardFee (#643) is not in mixedCase
Variable MetaFashion._buyMarketingFee (#644) is not in mixedCase
Variable MetaFashion._sellTaxFee (#646) is not in mixedCase
Variable MetaFashion._sellLiquidityFee (#647) is not in mixedCase
Variable MetaFashion._sellRewardFee (#648) is not in mixedCase
Variable MetaFashion._sellMarketingFee (#649) is not in mixedCase
Variable MetaFashion._isExcludedMaxTransactionAmount (#654) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#14)" inContext (#8-17)
Remove redundant statements if they congest code but offer no value.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#234-237)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#239-246)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#248-250)
getTime() should be declared external:
- Ownable.getTime() (#252-254)
approve(address,uint256) should be declared external:
- MetaFashion.approve(address,uint256) (#771-778)
isSniper(address) should be declared external:
- MetaFashion.isSniper(address) (#844-846)
manageSnipers(address[],bool) should be declared external:
- MetaFashion.manageSnipers(address[],bool) (#848-852)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- MetaFashion.setAutomatedMarketMakerPair(address,bool) (#858-862)
setLiqEnabled(address,bool) should be declared external:
- MetaFashion.setLiqEnabled(address,bool) (#872-876)
setSwapAndLiquifyEnabled(bool) should be declared external:
- MetaFashion.setSwapAndLiquifyEnabled(bool) (#1433-1436)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / 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
Unable to find Youtube account
Unable to find Discord account