Experience a metaverse unlike any other! Explore the wastelands of MetaBlackout to find and attain valuable assets such as land, weapons, apparel and customize your character to your liking. In this open world with a mix of sci-fi and old style metaverse you can Do whatever you want to do, have whatever you want to have, become whatever you want to be.
MetaBlackout.swap() (#935-985) sends eth to arbitrary user
Dangerous calls:
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
MetaBlackout.addLiquidity(uint256,uint256) (#987-999) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetaBlackout._transfer(address,address,uint256) (#864-895):
External calls:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
External calls sending eth:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _burnFeeCollected = _burnFeeCollected.add(burnFee) (#904)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _developmentFeeCollected = _developmentFeeCollected.add(developmentFee) (#905)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _liqFeeCollected = _liqFeeCollected.add(liqFee) (#903)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(otherFee) (#923)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (#888)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (#891)
Reentrancy in MetaBlackout.swap() (#935-985):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
External calls sending eth:
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
State variables written after the call(s):
- _burnFeeCollected = 0 (#981)
- _developmentFeeCollected = 0 (#982)
- _liqFeeCollected = 0 (#980)
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.
MetaBlackout._reflectionTotal (#665) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tokenTotal))
MetaBlackout.maxTxAmount (#687) is set pre-construction with a non-constant function or state variable:
- _tokenTotal.mul(10).div(1000)
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
MetaBlackout.sPresale() (#1102-1130) performs a multiplication on the result of a division:
-tokens = msg.value.div(_rate) (#1103)
-tokens = tokens * 10 ** 18 (#1106)
MetaBlackout.sPresale() (#1102-1130) performs a multiplication on the result of a division:
-tokens = msg.value.div(_rate) (#1103)
-_reflectionBalance[sender] = _reflectionBalance[sender].sub(tokens.mul(rate)) (#1115)
MetaBlackout.sPresale() (#1102-1130) performs a multiplication on the result of a division:
-tokens = msg.value.div(_rate) (#1103)
-transferAmount = tokens (#1109)
-_reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (#1116)
Consider ordering multiplication before division.
Additional information: link
MetaBlackout.addLiquidity(uint256,uint256) (#987-999) ignores return value by router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
Ensure that all the return values of the function calls are used.
Additional information: link
MetaBlackout.constructor(address,address,address,address,address,address,address)._owner (#713) shadows:
- Ownable._owner (#444) (state variable)
MetaBlackout.allowance(address,address).owner (#784) shadows:
- Ownable.owner() (#460-462) (function)
MetaBlackout._approve(address,address,uint256).owner (#856) shadows:
- Ownable.owner() (#460-462) (function)
Rename the local variables that shadow another component.
Additional information: link
MetaBlackout.setRate(uint256) (#1084-1086) should emit an event for:
- _rate = value (#1085)
MetaBlackout.setMaxTxAmount(uint256) (#1092-1094) should emit an event for:
- maxTxAmount = amount (#1093)
MetaBlackout.setMinTokensBeforeSwap(uint256) (#1096-1098) should emit an event for:
- minTokensBeforeSwap = amount (#1097)
Emit an event for critical parameter changes.
Additional information: link
MetaBlackout.constructor(address,address,address,address,address,address,address)._burnWallet (#713) lacks a zero-check on :
- burnWallet = _burnWallet (#717)
MetaBlackout.constructor(address,address,address,address,address,address,address)._developmentWallet (#713) lacks a zero-check on :
- developmentWallet = _developmentWallet (#718)
MetaBlackout.constructor(address,address,address,address,address,address,address)._developmentWallet2 (#713) lacks a zero-check on :
- developmentWallet2 = _developmentWallet2 (#719)
MetaBlackout.constructor(address,address,address,address,address,address,address)._presale (#713) lacks a zero-check on :
- presale = _presale (#720)
MetaBlackout.constructor(address,address,address,address,address,address,address)._presaleWallet (#713) lacks a zero-check on :
- presaleWallet = _presaleWallet (#721)
MetaBlackout.setPairRouterRewardToken(address,IUniswapV2Router02)._pair (#1022) lacks a zero-check on :
- pair = _pair (#1023)
MetaBlackout.setBurnWallet(address).wallet (#1064) lacks a zero-check on :
- burnWallet = wallet (#1065)
MetaBlackout.setDevelopmentWallet(address).wallet (#1068) lacks a zero-check on :
- developmentWallet = wallet (#1069)
MetaBlackout.setDevelopmentWallet2(address).wallet (#1072) lacks a zero-check on :
- developmentWallet2 = wallet (#1073)
MetaBlackout.setPresale(address).wallet (#1076) lacks a zero-check on :
- presale = address(wallet) (#1077)
MetaBlackout.setPresaleWallet(address).wallet (#1088) lacks a zero-check on :
- presaleWallet = wallet (#1089)
Check that the address is not zero.
Additional information: link
Reentrancy in MetaBlackout._transfer(address,address,uint256) (#864-895):
External calls:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
External calls sending eth:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _feeTotal = _feeTotal.add(taxFee).add(otherFee) (#931)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(otherFee.mul(rate)) (#921)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (#883)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (#884)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (#929)
Reentrancy in MetaBlackout.constructor(address,address,address,address,address,address,address) (#713-756):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#715)
State variables written after the call(s):
- _burnFee.push(1) (#751)
- _burnFee.push(1) (#752)
- _burnFee.push(0) (#753)
- _developmentFee.push(2) (#747)
- _developmentFee.push(2) (#748)
- _developmentFee.push(0) (#749)
- excludeAccount(address(pair)) (#729)
- _excluded.push(account) (#840)
- excludeAccount(address(this)) (#730)
- _excluded.push(account) (#840)
- excludeAccount(address(burnWallet)) (#731)
- _excluded.push(account) (#840)
- excludeAccount(address(developmentWallet)) (#732)
- _excluded.push(account) (#840)
- excludeAccount(address(developmentWallet2)) (#733)
- _excluded.push(account) (#840)
- excludeAccount(address(address(0))) (#734)
- _excluded.push(account) (#840)
- excludeAccount(address(pair)) (#729)
- _isExcluded[account] = true (#839)
- excludeAccount(address(this)) (#730)
- _isExcluded[account] = true (#839)
- excludeAccount(address(burnWallet)) (#731)
- _isExcluded[account] = true (#839)
- excludeAccount(address(developmentWallet)) (#732)
- _isExcluded[account] = true (#839)
- excludeAccount(address(developmentWallet2)) (#733)
- _isExcluded[account] = true (#839)
- excludeAccount(address(address(0))) (#734)
- _isExcluded[account] = true (#839)
- _liqFee.push(2) (#743)
- _liqFee.push(3) (#744)
- _liqFee.push(0) (#745)
- transferOwnership(_owner) (#755)
- _owner = newOwner (#491)
- _reflectionBalance[_owner] = _reflectionTotal (#736)
- _taxFee.push(2) (#739)
- _taxFee.push(3) (#740)
- _taxFee.push(0) (#741)
- excludeAccount(address(pair)) (#729)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- excludeAccount(address(this)) (#730)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- excludeAccount(address(burnWallet)) (#731)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- excludeAccount(address(developmentWallet)) (#732)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- excludeAccount(address(developmentWallet2)) (#733)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- excludeAccount(address(address(0))) (#734)
- _tokenBalance[account] = tokenFromReflection(_reflectionBalance[account]) (#837)
- burnWallet = _burnWallet (#717)
- developmentWallet = _developmentWallet (#718)
- developmentWallet2 = _developmentWallet2 (#719)
- isTaxless[_owner] = true (#723)
- isTaxless[developmentWallet] = true (#724)
- isTaxless[developmentWallet2] = true (#725)
- isTaxless[burnWallet] = true (#726)
- isTaxless[address(this)] = true (#727)
- presale = _presale (#720)
- presaleWallet = _presaleWallet (#721)
- router = _uniswapV2Router (#716)
Reentrancy in MetaBlackout.swap() (#935-985):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
State variables written after the call(s):
- _tokenBalance[address(this)] = _tokenBalance[address(this)].sub(_burnFeeCollected) (#967)
- _tokenBalance[burnWallet] = _tokenBalance[burnWallet].add(_burnFeeCollected) (#968)
Reentrancy in MetaBlackout.transferFrom(address,address,uint256) (#793-802):
External calls:
- _transfer(sender,recipient,amount) (#794)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
External calls sending eth:
- _transfer(sender,recipient,amount) (#794)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-800)
- _allowances[owner][spender] = amount (#860)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaBlackout._transfer(address,address,uint256) (#864-895):
External calls:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
External calls sending eth:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
Event emitted after the call(s):
- Transfer(account,address(this),otherFee) (#925)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- Transfer(sender,recipient,transferAmount) (#894)
Reentrancy in MetaBlackout.addLiquidity(uint256,uint256) (#987-999):
External calls:
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
Event emitted after the call(s):
- AutoLiquify(address(this),bnbAmountToLiquify,tokenAmountToLiquify) (#997)
Reentrancy in MetaBlackout.constructor(address,address,address,address,address,address,address) (#713-756):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#715)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#490)
- transferOwnership(_owner) (#755)
- Transfer(address(0),_owner,_tokenTotal) (#737)
Reentrancy in MetaBlackout.swap() (#935-985):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
External calls sending eth:
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
Event emitted after the call(s):
- AutoLiquify(address(this),bnbAmountToLiquify,tokenAmountToLiquify) (#997)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- Swap(amountToSwap,amountBNB,amountToLiquify) (#984)
Reentrancy in MetaBlackout.transferFrom(address,address,uint256) (#793-802):
External calls:
- _transfer(sender,recipient,amount) (#794)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,sellPath,address(this),block.timestamp) (#953-959)
External calls sending eth:
- _transfer(sender,recipient,amount) (#794)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#861)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-800)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#293-305) uses assembly
- INLINE ASM (#301-303)
Address._functionCallWithValue(address,bytes,uint256,string) (#402-428) uses assembly
- INLINE ASM (#420-423)
Do not use evm assembly.
Additional information: link
MetaBlackout.includeAccount(address) (#843-854) has costly operations inside a loop:
- _excluded.pop() (#850)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#402-428) is never used and should be removed
Address.functionCall(address,bytes) (#349-351) is never used and should be removed
Address.functionCall(address,bytes,string) (#359-365) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#378-384) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#392-400) is never used and should be removed
Address.isContract(address) (#293-305) is never used and should be removed
Address.sendValue(address,uint256) (#323-329) is never used and should be removed
Context._msgData() (#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (#246-248) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#262-269) is never used and should be removed
TransferHelper.safeApprove(address,address,uint256) (#604-615) is never used and should be removed
TransferHelper.safeTransfer(address,address,uint256) (#617-628) is never used and should be removed
TransferHelper.safeTransferETH(address,uint256) (#644-647) is never used and should be removed
TransferHelper.safeTransferFrom(address,address,address,uint256) (#630-642) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#3) allows old versions
solc-0.8.0 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) (#323-329):
- (success) = recipient.call{value: amount}() (#327)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#402-428):
- (success,returndata) = target.call{value: weiValue}(data) (#411)
Low level call in TransferHelper.safeApprove(address,address,uint256) (#604-615):
- (success,data) = token.call(abi.encodeWithSelector(0x095ea7b3,to,value)) (#610)
Low level call in TransferHelper.safeTransfer(address,address,uint256) (#617-628):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#623)
Low level call in TransferHelper.safeTransferFrom(address,address,address,uint256) (#630-642):
- (success,data) = token.call(abi.encodeWithSelector(0x23b872dd,from,to,value)) (#637)
Low level call in TransferHelper.safeTransferETH(address,uint256) (#644-647):
- (success) = to.call{value: value}(new bytes(0)) (#645)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#506) is not in mixedCase
Parameter MetaBlackout.setPairRouterRewardToken(address,IUniswapV2Router02)._pair (#1022) is not in mixedCase
Parameter MetaBlackout.setPairRouterRewardToken(address,IUniswapV2Router02)._router (#1022) is not in mixedCase
Variable MetaBlackout._reflectionBalance (#659) is not in mixedCase
Variable MetaBlackout._tokenBalance (#660) is not in mixedCase
Variable MetaBlackout._allowances (#661) is not in mixedCase
Variable MetaBlackout._tokenTotal (#664) is not in mixedCase
Variable MetaBlackout._reflectionTotal (#665) is not in mixedCase
Variable MetaBlackout._isExcluded (#668) is not in mixedCase
Variable MetaBlackout._excluded (#669) is not in mixedCase
Variable MetaBlackout._taxFee (#673) is not in mixedCase
Variable MetaBlackout._developmentFee (#674) is not in mixedCase
Variable MetaBlackout._liqFee (#675) is not in mixedCase
Variable MetaBlackout._burnFee (#676) is not in mixedCase
Variable MetaBlackout._feeTotal (#678) is not in mixedCase
Variable MetaBlackout._developmentFeeCollected (#679) is not in mixedCase
Variable MetaBlackout._liqFeeCollected (#680) is not in mixedCase
Variable MetaBlackout._burnFeeCollected (#681) is not in mixedCase
Variable MetaBlackout._rate (#698) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in MetaBlackout._transfer(address,address,uint256) (#864-895):
External calls:
- swap() (#872)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
External calls sending eth:
- swap() (#872)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _burnFeeCollected = _burnFeeCollected.add(burnFee) (#904)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _developmentFeeCollected = _developmentFeeCollected.add(developmentFee) (#905)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _feeTotal = _feeTotal.add(taxFee).add(otherFee) (#931)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _liqFeeCollected = _liqFeeCollected.add(liqFee) (#903)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(otherFee.mul(rate)) (#921)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (#883)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (#884)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (#929)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(otherFee) (#923)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (#888)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (#891)
Event emitted after the call(s):
- Transfer(account,address(this),otherFee) (#925)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (#879)
- Transfer(sender,recipient,transferAmount) (#894)
Reentrancy in MetaBlackout.swap() (#935-985):
External calls:
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
External calls sending eth:
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
State variables written after the call(s):
- _burnFeeCollected = 0 (#981)
- _developmentFeeCollected = 0 (#982)
- _liqFeeCollected = 0 (#980)
Event emitted after the call(s):
- AutoLiquify(address(this),bnbAmountToLiquify,tokenAmountToLiquify) (#997)
- addLiquidity(amountToLiquify,amountBNBLiquidity) (#978)
- Swap(amountToSwap,amountBNB,amountToLiquify) (#984)
Reentrancy in MetaBlackout.transferFrom(address,address,uint256) (#793-802):
External calls:
- _transfer(sender,recipient,amount) (#794)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
External calls sending eth:
- _transfer(sender,recipient,amount) (#794)
- router.addLiquidityETH{value: bnbAmountToLiquify}(address(this),tokenAmountToLiquify,0,0,owner(),block.timestamp) (#989-996)
- address(developmentWallet).transfer(amountBNBDevelopment) (#974)
- address(developmentWallet2).transfer(amountBNBDevelopment) (#975)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-800)
- _allowances[owner][spender] = amount (#860)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#861)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-800)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#511) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#512)
Variable MetaBlackout.constructor(address,address,address,address,address,address,address)._developmentWallet (#713) is too similar to MetaBlackout.developmentWallet2 (#692)
Prevent variables from having similar names.
Additional information: link
MetaBlackout.sPresale() (#1102-1130) uses literals with too many digits:
- require(bool,string)(msg.value >= 50000000000000000 && msg.value <= 5000000000000000000,Min Presale: 0.05BNB, Max Presale: 5BNB) (#1105)
MetaBlackout.slitherConstructorVariables() (#650-1132) uses literals with too many digits:
- _tokenTotal = 100000000 * 10 ** 18 (#664)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MetaBlackout._decimals (#657) should be constant
MetaBlackout._name (#655) should be constant
MetaBlackout._symbol (#656) should be constant
MetaBlackout._tokenTotal (#664) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#479-482)
name() should be declared external:
- MetaBlackout.name() (#758-760)
symbol() should be declared external:
- MetaBlackout.symbol() (#762-764)
decimals() should be declared external:
- MetaBlackout.decimals() (#766-768)
transfer(address,uint256) should be declared external:
- MetaBlackout.transfer(address,uint256) (#779-782)
allowance(address,address) should be declared external:
- MetaBlackout.allowance(address,address) (#784-786)
approve(address,uint256) should be declared external:
- MetaBlackout.approve(address,uint256) (#788-791)
transferFrom(address,address,uint256) should be declared external:
- MetaBlackout.transferFrom(address,address,uint256) (#793-802)
increaseAllowance(address,uint256) should be declared external:
- MetaBlackout.increaseAllowance(address,uint256) (#804-807)
decreaseAllowance(address,uint256) should be declared external:
- MetaBlackout.decreaseAllowance(address,uint256) (#809-816)
isExcluded(address) should be declared external:
- MetaBlackout.isExcluded(address) (#818-820)
reflectionFromToken(uint256) should be declared external:
- MetaBlackout.reflectionFromToken(uint256) (#822-825)
getExcludedBalance() should be declared external:
- MetaBlackout.getExcludedBalance() (#1001-1007)
sPresale() should be declared external:
- MetaBlackout.sPresale() (#1102-1130)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity 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.
Token is deployed only at one blockchain
Contract has 7% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.
BscScan page for the token does not contain additional info: website, socials, description, etc.
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
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account