MetaChess Token Logo

SHAH [MetaChess] Token

About SHAH

Listings

Token 23 months
CoinGecko 19 months
white paper

MetaChess is the first 3D multiplayer play-to-earn (P2E) and NFT metaverse chess game. The platform is in 2D and 3D. The 3D version will be divided into two. The first part is the regular chess game, with the traditional chess pieces in 3D. The second part is more animated and fancy. It consists of chess pieces in the form of humanoid characters. You can own NFTs (unique chess pieces) which will be used in the game. The platform also has play-to-earn (P2E) models that makes it worth players time. The 2D version is currently playable. You can either play with AI or play with another user.

Laser Scorebeta Last Audit: 1 June 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Reentrancy in MetaChess._transfer(address,address,uint256) (#987-1087):
External calls:
- swapBack() (#1051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
External calls sending eth:
- swapBack() (#1051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1080)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#300)
- _balances[recipient] = _balances[recipient].add(amount) (#301)
- super._transfer(from,to,amount) (#1086)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#300)
- _balances[recipient] = _balances[recipient].add(amount) (#301)
- swapping = false (#1053)
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1069)
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1075)
- tokensForProject += fees * sellProjectFee / sellTotalFees (#1070)
- tokensForProject += fees * buyProjectFee / buyTotalFees (#1076)
Apply the check-effects-interactions pattern.

Additional information: link


Contract ownership is not renounced (belongs to a wallet)

SafeMathInt.MAX_INT256 (#576) is never used in SafeMathInt (#574-632)
Remove unused state variables.

Additional information: link

Pragma version0.8.11 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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

Low level call in MetaChess.swapBack() (#1124-1158):
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
Low level call in MetaChess.withdrawStuckETH() (#1194-1197):
- (success,None) = address(msg.sender).call{value: address(this).balance}() (#1196)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

MetaChess._transfer(address,address,uint256) (#987-1087) performs a multiplication on the result of a division:
-fees = amount * sellTotalFees / 1000 (#1068)
-tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1069)
MetaChess._transfer(address,address,uint256) (#987-1087) performs a multiplication on the result of a division:
-fees = amount * sellTotalFees / 1000 (#1068)
-tokensForProject += fees * sellProjectFee / sellTotalFees (#1070)
MetaChess._transfer(address,address,uint256) (#987-1087) performs a multiplication on the result of a division:
-fees = amount * buyTotalFees / 1000 (#1074)
-tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1075)
MetaChess._transfer(address,address,uint256) (#987-1087) performs a multiplication on the result of a division:
-fees = amount * buyTotalFees / 1000 (#1074)
-tokensForProject += fees * buyProjectFee / buyTotalFees (#1076)
Consider ordering multiplication before division.

Additional information: link

MetaChess.constructor().totalSupply (#859) shadows:
- ERC20.totalSupply() (#174-176) (function)
- IERC20.totalSupply() (#24) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in MetaChess.constructor() (#841-885):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#849)
State variables written after the call(s):
- transferOwnership(newOwner) (#884)
- _owner = newOwner (#568)
Reentrancy in MetaChess.swapBack() (#1124-1158):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
State variables written after the call(s):
- tokensForLiquidity = 0 (#1149)
- tokensForProject = 0 (#1150)
Apply the check-effects-interactions pattern.

Additional information: link

MetaChess._transfer(address,address,uint256) (#987-1087) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1020)
Do not use tx.origin for authorization.

Additional information: link

MetaChess.addLiquidity(uint256,uint256) (#1109-1122) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
Ensure that all the return values of the function calls are used.

Additional information: link

MetaChess.updateSwapTokensAtAmount(uint256) (#924-929) should emit an event for:
- swapTokensAtAmount = newAmount * (10 ** 18) (#927)
MetaChess.updateMaxAmount(uint256) (#931-934) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 18) (#933)
MetaChess.updateBuyFees(uint256,uint256) (#945-950) should emit an event for:
- buyProjectFee = _projectFee (#946)
- buyLiquidityFee = _liquidityFee (#947)
- buyTotalFees = buyProjectFee + buyLiquidityFee (#948)
MetaChess.updateSellFees(uint256,uint256) (#952-957) should emit an event for:
- sellProjectFee = _projectFee (#953)
- sellLiquidityFee = _liquidityFee (#954)
- sellTotalFees = sellProjectFee + sellLiquidityFee (#955)
Emit an event for critical parameter changes.

Additional information: link

MetaChess.updateProjectWallet(address).newProjectWallet (#976) lacks a zero-check on :
- projectWallet = newProjectWallet (#978)
Check that the address is not zero.

Additional information: link

MetaChess.swapTokensForEth(uint256) (#1089-1107) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#1094)
MetaChess.swapTokensForEth(uint256) (#1089-1107) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
MetaChess.addLiquidity(uint256,uint256) (#1109-1122) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
MetaChess.swapBack() (#1124-1158) has external calls inside a loop: (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in MetaChess.constructor() (#841-885):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#849)
State variables written after the call(s):
- _createInitialSupply(newOwner,totalSupply) (#883)
- _balances[account] = _balances[account].add(amount) (#320)
- excludeFromFees(newOwner,true) (#875)
- _isExcludedFromFees[account] = excluded (#960)
- excludeFromFees(address(this),true) (#876)
- _isExcludedFromFees[account] = excluded (#960)
- excludeFromFees(address(0xdead),true) (#877)
- _isExcludedFromFees[account] = excluded (#960)
- excludeFromMaxTransaction(address(uniswapV2Pair),true) (#850)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#937)
- excludeFromMaxTransaction(newOwner,true) (#879)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#937)
- excludeFromMaxTransaction(address(this),true) (#880)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#937)
- excludeFromMaxTransaction(address(0xdead),true) (#881)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#937)
- _createInitialSupply(newOwner,totalSupply) (#883)
- _totalSupply = _totalSupply.add(amount) (#319)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#851)
- automatedMarketMakerPairs[pair] = value (#971)
- buyLiquidityFee = _buyLiquidityFee (#865)
- buyProjectFee = _buyProjectFee (#864)
- buyTotalFees = buyProjectFee + buyLiquidityFee (#866)
- maxTransactionAmount = totalSupply * 25 / 10000 (#861)
- projectWallet = address(newOwner) (#872)
- sellLiquidityFee = _sellLiquidityFee (#869)
- sellProjectFee = _sellProjectFee (#868)
- sellTotalFees = sellProjectFee + sellLiquidityFee (#870)
- swapTokensAtAmount = totalSupply * 25 / 100000 (#862)
Reentrancy in MetaChess.swapBack() (#1124-1158):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- _allowances[owner][spender] = amount (#366)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in MetaChess._transfer(address,address,uint256) (#987-1087):
External calls:
- swapBack() (#1051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
External calls sending eth:
- swapBack() (#1051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#302)
- super._transfer(from,address(this),fees) (#1080)
- Transfer(sender,recipient,amount) (#302)
- super._transfer(from,to,amount) (#1086)
Reentrancy in MetaChess.buyBackTokens(uint256) (#1169-1184):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmountInWei}(0,path,address(0xdead),block.timestamp) (#1177-1182)
Event emitted after the call(s):
- BuyBackTriggered(ethAmountInWei) (#1183)
Reentrancy in MetaChess.constructor() (#841-885):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#849)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#961)
- excludeFromFees(newOwner,true) (#875)
- ExcludeFromFees(account,excluded) (#961)
- excludeFromFees(address(0xdead),true) (#877)
- ExcludeFromFees(account,excluded) (#961)
- excludeFromFees(address(this),true) (#876)
- OwnershipTransferred(_owner,newOwner) (#567)
- transferOwnership(newOwner) (#884)
- SetAutomatedMarketMakerPair(pair,value) (#973)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#851)
- Transfer(address(0),account,amount) (#321)
- _createInitialSupply(newOwner,totalSupply) (#883)
Reentrancy in MetaChess.forceSwapBack() (#1161-1166):
External calls:
- swapBack() (#1164)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
External calls sending eth:
- swapBack() (#1164)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
- (success,None) = address(projectWallet).call{value: address(this).balance}() (#1157)
Event emitted after the call(s):
- OwnerForcedSwapBack(block.timestamp) (#1165)
Reentrancy in MetaChess.swapBack() (#1124-1158):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1141)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1099-1105)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1114-1121)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#367)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1153)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1154)
Apply the check-effects-interactions pattern.

Additional information: link

MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- swapping = true (#1049)
MetaChess.swapBack() (#1124-1158) has costly operations inside a loop:
- tokensForLiquidity = 0 (#1149)
MetaChess.swapBack() (#1124-1158) has costly operations inside a loop:
- tokensForProject = 0 (#1150)
MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- swapping = false (#1053)
MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1069)
MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- tokensForProject += fees * sellProjectFee / sellTotalFees (#1070)
MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1075)
MetaChess._transfer(address,address,uint256) (#987-1087) has costly operations inside a loop:
- tokensForProject += fees * buyProjectFee / buyTotalFees (#1076)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#10-13) is never used and should be removed
ERC20._burn(address,uint256) (#335-343) is never used and should be removed
SafeMath.div(uint256,uint256) (#462-464) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#478-484) is never used and should be removed
SafeMath.mod(uint256,uint256) (#498-500) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#514-517) is never used and should be removed
SafeMath.mul(uint256,uint256) (#436-448) is never used and should be removed
SafeMath.sub(uint256,uint256) (#405-407) is never used and should be removed
SafeMathInt.abs(int256) (#622-625) is never used and should be removed
SafeMathInt.add(int256,int256) (#613-617) is never used and should be removed
SafeMathInt.div(int256,int256) (#593-599) is never used and should be removed
SafeMathInt.mul(int256,int256) (#581-588) is never used and should be removed
SafeMathInt.sub(int256,int256) (#604-608) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#628-631) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#635-639) is never used and should be removed
Remove unused functions.

Additional information: link

Function IUniswapV2Router01.WETH() (#645) is not in mixedCase
Event MetaChessprojectWalletUpdated(address,address) (#827) is not in CapWords
Event MetaChessdevWalletUpdated(address,address) (#829) is not in CapWords
Parameter MetaChess.updateBuyFees(uint256,uint256)._projectFee (#945) is not in mixedCase
Parameter MetaChess.updateBuyFees(uint256,uint256)._liquidityFee (#945) is not in mixedCase
Parameter MetaChess.updateSellFees(uint256,uint256)._projectFee (#952) is not in mixedCase
Parameter MetaChess.updateSellFees(uint256,uint256)._liquidityFee (#952) is not in mixedCase
Parameter MetaChess.transferForeignToken(address,address)._token (#1186) is not in mixedCase
Parameter MetaChess.transferForeignToken(address,address)._to (#1186) is not in mixedCase
Constant MetaChess.deadAddress (#782) is not in UPPER_CASE_WITH_UNDERSCORES
Constant MetaChess.gasPriceLimit (#796) is not in UPPER_CASE_WITH_UNDERSCORES
Variable MetaChess._isExcludedMaxTransactionAmount (#815) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#650) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#651)
Prevent variables from having similar names.

Additional information: link

MetaChess.constructor() (#841-885) uses literals with too many digits:
- swapTokensAtAmount = totalSupply * 25 / 100000 (#862)
MetaChess.updateSwapTokensAtAmount(uint256) (#924-929) uses literals with too many digits:
- require(bool,string)(newAmount * 1e18 >= totalSupply() * 1 / 100000,Swap amount cannot be lower than 0.001% total supply.) (#925)
MetaChess.forceSwapBack() (#1161-1166) uses literals with too many digits:
- require(bool,string)(contractBalance >= totalSupply() / 100000,Can only swap back if more than .001% of tokens stuck on contract) (#1163)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

name() should be declared external:
- ERC20.name() (#142-144)
symbol() should be declared external:
- ERC20.symbol() (#150-152)
decimals() should be declared external:
- ERC20.decimals() (#167-169)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#193-196)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#201-203)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#212-215)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#230-238)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#252-255)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#271-274)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#556-559)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 0% buy tax and 7% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Token has only one trading pair

No disclosed threats


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for SHAH

News for SHAH