Immerse yourself in the world of MetaKombat: A Binance Smart Chain take on the most well recognised, satisfying, and timeless gaming form there is – fighting! MetaKombat is a deep dive into the play-to-earn world and uses our very own $Kombat token to give players not only a sense of achievement, but also a progressive income based on skill and practice, all whilst staying true to the heart of PvP and arcade fighter gameplay!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
MetaKombat.contractSwap(uint256) (#593-635) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MetaKombat._transfer(address,address,uint256) (#555-591):
External calls:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
External calls sending eth:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
State variables written after the call(s):
- lastSwap = block.timestamp (#586)
Reentrancy in MetaKombat._transfer(address,address,uint256) (#555-591):
External calls:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- antiSnipe.checkUser(from,to,amount) (#691-695)
External calls sending eth:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
State variables written after the call(s):
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- _liquidityHolders[from] = true (#640)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- _tOwned[address(this)] += feeAmount (#722)
- _tOwned[from] -= amount (#702)
- _tOwned[to] += amountReceived (#704)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- contractSwapEnabled = true (#645)
Reentrancy in MetaKombat.transferOwner(address) (#325-338):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- antiSnipe.checkUser(from,to,amount) (#691-695)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
State variables written after the call(s):
- _owner = newOwner (#335)
Apply the check-effects-interactions pattern.
Additional information: link
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.
MetaKombat.setMaxTxPercent(uint256) (#493-496) should emit an event for:
- _maxTxAmountPercent = percent (#495)
MetaKombat.setMaxWalletSize(uint256) (#498-501) should emit an event for:
- _maxWalletSizePercent = percent (#500)
MetaKombat.setSwapSettings(uint256,uint256,uint256,uint256,uint256) (#511-515) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#512)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#513)
- swapInterval = intervalInSeconds (#514)
Emit an event for critical parameter changes.
Additional information: link
MetaKombat.changeRouterContingency(address).router (#428) lacks a zero-check on :
- currentRouter = router (#430)
Check that the address is not zero.
Additional information: link
Reentrancy in MetaKombat._transfer(address,address,uint256) (#555-591):
External calls:
- contractSwap(contractTokenBalance) (#585)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
External calls sending eth:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
State variables written after the call(s):
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- _hasLiqBeenAdded = true (#641)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- _liquidityHolders[from] = true (#640)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- _tOwned[address(this)] += feeAmount (#722)
- _tOwned[from] -= amount (#702)
- _tOwned[to] += amountReceived (#704)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- antiSnipe = AntiSnipe(address(this)) (#643)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- contractSwapEnabled = true (#645)
- lastSwap = block.timestamp (#586)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#646)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- Transfer(from,address(this),feeAmount) (#723)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- Transfer(from,to,amountReceived) (#706)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
Reentrancy in MetaKombat.transferOwner(address) (#325-338):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
State variables written after the call(s):
- _owner = newOwner (#335)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#336)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaKombat.enableTrading() (#650-658):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#656)
State variables written after the call(s):
- tradingEnabled = true (#657)
Apply the check-effects-interactions pattern.
Additional information: link
MetaKombat._finalizeTransfer(address,address,uint256,bool).checked (#690) is a local variable never initialized
MetaKombat._finalizeTransfer(address,address,uint256,bool).check (#691) 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
MetaKombat.contractSwap(uint256) (#593-635) ignores return value by dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
MetaKombat._finalizeTransfer(address,address,uint256,bool) (#681-708) ignores return value by antiSnipe.checkUser(from,to,amount) (#691-695)
Ensure that all the return values of the function calls are used.
Additional information: link
MetaKombat.slitherConstructorConstantVariables() (#164-728) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#233)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MetaKombat._excluded (#175) is never used in MetaKombat (#164-728)
Remove unused state variables.
Additional information: link
MetaKombat.contractSwap(uint256) (#593-635) has external calls inside a loop: path[1] = dexRouter.WETH() (#607)
MetaKombat.contractSwap(uint256) (#593-635) has external calls inside a loop: dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
MetaKombat.contractSwap(uint256) (#593-635) has external calls inside a loop: dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
MetaKombat.contractSwap(uint256) (#593-635) has external calls inside a loop: _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
MetaKombat.contractSwap(uint256) (#593-635) has external calls inside a loop: _taxWallets.marketing.transfer(address(this).balance) (#633)
MetaKombat._finalizeTransfer(address,address,uint256,bool) (#681-708) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#691-695)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'MetaKombat._finalizeTransfer(address,address,uint256,bool).check (#691)' in MetaKombat._finalizeTransfer(address,address,uint256,bool) (#681-708) potentially used before declaration: checked = check (#692)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in MetaKombat._finalizeTransfer(address,address,uint256,bool) (#681-708):
External calls:
- antiSnipe.checkUser(from,to,amount) (#691-695)
State variables written after the call(s):
- _tOwned[from] -= amount (#702)
- _tOwned[to] += amountReceived (#704)
- amountReceived = takeTaxes(from,to,amount) (#703)
- _tOwned[address(this)] += feeAmount (#722)
Reentrancy in MetaKombat.constructor() (#281-312):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#298)
State variables written after the call(s):
- _approve(msg.sender,currentRouter,type()(uint256).max) (#301)
- _allowances[sender][spender] = amount (#374)
- _approve(address(this),currentRouter,type()(uint256).max) (#302)
- _allowances[sender][spender] = amount (#374)
- _isExcluded[lpPair] = true (#309)
- _isExcludedFromFees[owner()] = true (#304)
- _isExcludedFromFees[address(this)] = true (#305)
- _isExcludedFromFees[DEAD] = true (#306)
- _liquidityHolders[owner()] = true (#307)
- lpPairs[lpPair] = true (#299)
Reentrancy in MetaKombat.setNewRouter(address) (#401-412):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#405)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#411)
- _allowances[sender][spender] = amount (#374)
- dexRouter = _newRouter (#410)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MetaKombat._finalizeTransfer(address,address,uint256,bool) (#681-708):
External calls:
- antiSnipe.checkUser(from,to,amount) (#691-695)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#723)
- amountReceived = takeTaxes(from,to,amount) (#703)
- Transfer(from,to,amountReceived) (#706)
Reentrancy in MetaKombat._transfer(address,address,uint256) (#555-591):
External calls:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- antiSnipe.checkUser(from,to,amount) (#691-695)
External calls sending eth:
- contractSwap(contractTokenBalance) (#585)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#646)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- Transfer(from,address(this),feeAmount) (#723)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
- Transfer(from,to,amountReceived) (#706)
- _finalizeTransfer(from,to,amount,takeFee) (#590)
Reentrancy in MetaKombat.constructor() (#281-312):
External calls:
- lpPair = IFactoryV2(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#298)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#375)
- _approve(address(this),currentRouter,type()(uint256).max) (#302)
- Approval(sender,spender,amount) (#375)
- _approve(msg.sender,currentRouter,type()(uint256).max) (#301)
- Transfer(address(0),_msgSender(),_tTotal) (#311)
Reentrancy in MetaKombat.contractSwap(uint256) (#593-635):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
External calls sending eth:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
Event emitted after the call(s):
- SwapAndLiquify(toLiquify,liquidityBalance,toLiquify) (#628)
Reentrancy in MetaKombat.setNewRouter(address) (#401-412):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#405)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#375)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#411)
Reentrancy in MetaKombat.transferOwner(address) (#325-338):
External calls:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- antiSnipe.checkUser(from,to,amount) (#691-695)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(toSwapForEth,0,path,address(this),block.timestamp) (#609-615)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
External calls sending eth:
- _transfer(_owner,newOwner,balanceOf(_owner)) (#332)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,_taxWallets.liquidity,block.timestamp) (#620-627)
- _taxWallets.development.transfer((amountBNB * _ratios.development) / (_ratios.total - _ratios.liquidity)) (#632)
- _taxWallets.marketing.transfer(address(this).balance) (#633)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#336)
Apply the check-effects-interactions pattern.
Additional information: link
MetaKombat.setLpPair(address,bool) (#414-426) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#419)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#420)
MetaKombat._transfer(address,address,uint256) (#555-591) uses timestamp for comparisons
Dangerous comparisons:
- contractTokenBalance >= swapThreshold && lastSwap + swapInterval < block.timestamp (#583)
Avoid relying on block.timestamp.
Additional information: link
MetaKombat.setLpPair(address,bool) (#414-426) compares to a boolean constant:
-enabled == false (#415)
Remove the equality to the boolean constant.
Additional information: link
MetaKombat.lockTheSwap() (#270-274) has costly operations inside a loop:
- inSwap = true (#271)
MetaKombat.lockTheSwap() (#270-274) has costly operations inside a loop:
- inSwap = false (#273)
MetaKombat._transfer(address,address,uint256) (#555-591) has costly operations inside a loop:
- lastSwap = block.timestamp (#586)
MetaKombat._checkLiquidityAdd(address,address) (#637-648) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#641)
MetaKombat._checkLiquidityAdd(address,address) (#637-648) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#643)
MetaKombat._checkLiquidityAdd(address,address) (#637-648) has costly operations inside a loop:
- contractSwapEnabled = true (#645)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
Remove unused functions.
Additional information: link
MetaKombat._tTotal (#187) is set pre-construction with a non-constant function or state variable:
- startingSupply * 10 ** _decimals
MetaKombat.swapThreshold (#253) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 5) / 10000
MetaKombat.swapAmount (#254) is set pre-construction with a non-constant function or state variable:
- (_tTotal * 10) / 10000
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 version>=0.6.0<0.9.0 (#2) is too complex
solc-0.8.11 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
Function IRouter01.WETH() (#119) is not in mixedCase
Parameter MetaKombat.setProtectionSettings(bool,bool,bool,bool)._antiSnipe (#467) is not in mixedCase
Parameter MetaKombat.setProtectionSettings(bool,bool,bool,bool)._antiGas (#467) is not in mixedCase
Parameter MetaKombat.setProtectionSettings(bool,bool,bool,bool)._antiBlock (#467) is not in mixedCase
Parameter MetaKombat.setProtectionSettings(bool,bool,bool,bool)._algo (#467) is not in mixedCase
Parameter MetaKombat.setContractSwapEnabled(bool)._enabled (#523) is not in mixedCase
Constant MetaKombat._name (#183) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaKombat._symbol (#184) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MetaKombat._taxRates (#209-213) is not in mixedCase
Variable MetaKombat._ratios (#215-220) is not in mixedCase
Variable MetaKombat._taxWallets (#241-245) is not in mixedCase
Variable MetaKombat._hasLiqBeenAdded (#259) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
MetaKombat._decimals (#185) should be constant
MetaKombat.allowedPresaleExclusion (#178) should be constant
MetaKombat.startingSupply (#181) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- MetaKombat.renounceOwnership() (#340-344)
transfer(address,uint256) should be declared external:
- MetaKombat.transfer(address,uint256) (#360-363)
approve(address,uint256) should be declared external:
- MetaKombat.approve(address,uint256) (#365-368)
approveContractContingency() should be declared external:
- MetaKombat.approveContractContingency() (#378-381)
increaseAllowance(address,uint256) should be declared external:
- MetaKombat.increaseAllowance(address,uint256) (#391-394)
decreaseAllowance(address,uint256) should be declared external:
- MetaKombat.decreaseAllowance(address,uint256) (#396-399)
setNewRouter(address) should be declared external:
- MetaKombat.setNewRouter(address) (#401-412)
isExcludedFromFees(address) should be declared external:
- MetaKombat.isExcludedFromFees(address) (#437-439)
isBlacklisted(address) should be declared external:
- MetaKombat.isBlacklisted(address) (#455-457)
getSniperAmt() should be declared external:
- MetaKombat.getSniperAmt() (#459-461)
getMaxTX() should be declared external:
- MetaKombat.getMaxTX() (#503-505)
getMaxWallet() should be declared external:
- MetaKombat.getMaxWallet() (#507-509)
setContractSwapEnabled(bool) should be declared external:
- MetaKombat.setContractSwapEnabled(bool) (#523-526)
enableTrading() should be declared external:
- MetaKombat.enableTrading() (#650-658)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to crawl data from the website
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
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 Telegram link on the website
Unable to find Twitter link on the website
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account