The king of all Cheems!
0x5e1421b3b7bbb333555029e9bfdea4e4c0a3eb51
CheemsKing.swapAndLiquify(uint256) (#1592-1635) sends eth to arbitrary user
Dangerous calls:
- devWallet.transfer(devAmt) (#1633)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in CheemsKing._transfer(address,address,uint256) (#1529-1590):
External calls:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1417)
- _rOwned[address(this)] = _rOwned[address(this)].add(rWallet) (#1425)
- _rOwned[fixedBurnAddress] = _rOwned[fixedBurnAddress].add(rburn) (#1437)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1722)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1785)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1723)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1816)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1755)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1818)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _rTotal = _rTotal.sub(rFee) (#1338)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tOwned[address(this)] = _tOwned[address(this)].add(tWallet) (#1427)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1419)
- _tOwned[fixedBurnAddress] = _tOwned[fixedBurnAddress].add(tburn) (#1439-1441)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1815)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1784)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1754)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1817)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tTotal = _tTotal.sub(tburn) (#1432)
Apply the check-effects-interactions pattern.
Additional information: link
CheemsKing.withdrawForeignToken(address,address,uint256) (#1830-1833) ignores return value by foreignToken.transfer(recipient,amount) (#1832)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#606) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#608) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#639) is not in mixedCase
Function IUniswapV2Router01.WETH() (#687) is not in mixedCase
Event CheemsKingbotAddedToBlacklist(address) (#966) is not in CapWords
Event CheemsKingbotRemovedFromBlacklist(address) (#967) is not in CapWords
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).buy_tax (#1289) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).buy_liquidity (#1290) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).buy_marketing (#1291) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).buy_dev (#1292) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).buy_burn (#1293) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).sell_tax (#1294) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).sell_liquidity (#1295) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).sell_marketing (#1296) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).sell_dev (#1297) is not in mixedCase
Parameter CheemsKing.setBothFees(uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16,uint16).sell_burn (#1298) is not in mixedCase
Function CheemsKing._setMaxWalletSizePercent(uint256) (#1322-1327) is not in mixedCase
Parameter CheemsKing.setSwapAndLiquifyEnabled(bool)._enabled (#1329) is not in mixedCase
Parameter CheemsKing.calculateTaxFee(uint256)._amount (#1445) is not in mixedCase
Parameter CheemsKing.calculateLiquidityFee(uint256)._amount (#1449) is not in mixedCase
Parameter CheemsKing.calculateMarketingFee(uint256)._amount (#1457) is not in mixedCase
Parameter CheemsKing.calculateburnFee(uint256)._amount (#1465) is not in mixedCase
Parameter CheemsKing.calculatedevFee(uint256)._amount (#1473) is not in mixedCase
Variable CheemsKing._maxTxAmount (#962) is not in mixedCase
Variable CheemsKing._maxWalletSize (#964) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#260)" inContext (#254-263)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Pragma version^0.8.10 (#1) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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) (#315-327):
- (success) = recipient.call{value: amount}() (#322)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#412-440):
- (success,returndata) = target.call{value: weiValue}(data) (#421-423)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
CheemsKing.swapAndLiquify(uint256) (#1592-1635) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - (buyFee.liquidity + sellFee.liquidity)) (#1609-1610)
-bnbToAddLiquidityWith = unitBalance * (buyFee.liquidity + sellFee.liquidity) (#1611-1612)
CheemsKing.swapAndLiquify(uint256) (#1592-1635) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - (buyFee.liquidity + sellFee.liquidity)) (#1609-1610)
-marketingAmt = unitBalance * 2 * (buyFee.marketing + sellFee.marketing) (#1620-1622)
CheemsKing.swapAndLiquify(uint256) (#1592-1635) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - (buyFee.liquidity + sellFee.liquidity)) (#1609-1610)
-unitBalance * 2 * (buyFee.dev + sellFee.dev) > address(this).balance (#1623-1626)
CheemsKing.swapAndLiquify(uint256) (#1592-1635) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - (buyFee.liquidity + sellFee.liquidity)) (#1609-1610)
-devAmt = unitBalance * 2 * (buyFee.dev + sellFee.dev) (#1623-1626)
Consider ordering multiplication before division.
Additional information: link
CheemsKing.addLiquidity(uint256,uint256) (#1655-1668) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
Ensure that all the return values of the function calls are used.
Additional information: link
CheemsKing.allowance(address,address).owner (#1055) shadows:
- Ownable.owner() (#477-479) (function)
CheemsKing._approve(address,address,uint256).owner (#1518) shadows:
- Ownable.owner() (#477-479) (function)
Rename the local variables that shadow another component.
Additional information: link
CheemsKing.setNumTokensSellToAddToLiquidity(uint256) (#1314-1316) should emit an event for:
- numTokensSellToAddToLiquidity = numTokens (#1315)
CheemsKing.setMaxTxPercent(uint256) (#1318-1320) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 3) (#1319)
CheemsKing._setMaxWalletSizePercent(uint256) (#1322-1327) should emit an event for:
- _maxWalletSize = _tTotal.mul(maxWalletSize).div(10 ** 3) (#1326)
Emit an event for critical parameter changes.
Additional information: link
CheemsKing.updateMarketingWallet(address).newAddress (#1210) lacks a zero-check on :
- marketingAddress = newAddress (#1211)
CheemsKing.updateDevWallet(address).newAddress (#1214) lacks a zero-check on :
- devWallet = newAddress (#1215)
CheemsKing.updateLiquidityWallet(address).newAddress (#1218) lacks a zero-check on :
- liquidityReceiver = newAddress (#1219)
CheemsKing.withdrawStuckETH(address,uint256).recipient (#1826) lacks a zero-check on :
- address(recipient).transfer(amount) (#1827)
Check that the address is not zero.
Additional information: link
Reentrancy in CheemsKing._transfer(address,address,uint256) (#1529-1590):
External calls:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _burnFee = buyFee.burn (#1497)
- _burnFee = sellFee.burn (#1505)
- _burnFee = 0 (#1481)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _devFee = buyFee.dev (#1498)
- _devFee = sellFee.dev (#1506)
- _devFee = 0 (#1482)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _liquidityFee = 0 (#1479)
- _liquidityFee = buyFee.liquidity (#1495)
- _liquidityFee = sellFee.liquidity (#1503)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _marketingFee = sellFee.marketing (#1504)
- _marketingFee = buyFee.marketing (#1496)
- _marketingFee = 0 (#1480)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1339)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _taxFee = 0 (#1478)
- _taxFee = buyFee.tax (#1494)
- _taxFee = sellFee.tax (#1502)
Reentrancy in CheemsKing.constructor() (#983-1023):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1002-1003)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1009)
- _isExcludedFromFee[address(this)] = true (#1010)
- _isExcludedFromFee[marketingAddress] = true (#1011)
- _isExcludedFromFee[devWallet] = true (#1012)
- _isExcludedFromFee[liquidityReceiver] = true (#1013)
- _isExcludedFromLimit[marketingAddress] = true (#1016)
- _isExcludedFromLimit[marketingAddress] = true (#1017)
- _isExcludedFromLimit[devWallet] = true (#1018)
- _isExcludedFromLimit[owner()] = true (#1019)
- _isExcludedFromLimit[address(this)] = true (#1020)
- uniswapV2Router = _uniswapV2Router (#1006)
Reentrancy in CheemsKing.swapAndLiquify(uint256) (#1592-1635):
External calls:
- swapTokensForEth(toSwap) (#1606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
- _allowances[owner][spender] = amount (#1525)
Reentrancy in CheemsKing.transferFrom(address,address,uint256) (#1073-1088):
External calls:
- _transfer(sender,recipient,amount) (#1078)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1078)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1079-1086)
- _allowances[owner][spender] = amount (#1525)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CheemsKing._transfer(address,address,uint256) (#1529-1590):
External calls:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
Event emitted after the call(s):
- Transfer(address(this),address(0),tburn) (#1433)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1728)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1791)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1760)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1823)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
Reentrancy in CheemsKing.constructor() (#983-1023):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1002-1003)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1022)
Reentrancy in CheemsKing.swapAndLiquify(uint256) (#1592-1635):
External calls:
- swapTokensForEth(toSwap) (#1606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1526)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#1616)
Reentrancy in CheemsKing.transferFrom(address,address,uint256) (#1073-1088):
External calls:
- _transfer(sender,recipient,amount) (#1078)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1646-1652)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1078)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1526)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1079-1086)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#527-536) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until a later date) (#532)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#286-297) uses assembly
- INLINE ASM (#293-295)
Address._functionCallWithValue(address,bytes,uint256,string) (#412-440) uses assembly
- INLINE ASM (#432-435)
Do not use evm assembly.
Additional information: link
CheemsKing.includeInReward(address) (#1231-1242) has costly operations inside a loop:
- _excluded.pop() (#1238)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#412-440) is never used and should be removed
Address.functionCall(address,bytes) (#347-352) is never used and should be removed
Address.functionCall(address,bytes,string) (#360-366) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#379-391) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#399-410) is never used and should be removed
Address.isContract(address) (#286-297) is never used and should be removed
Address.sendValue(address,uint256) (#315-327) is never used and should be removed
Context._msgData() (#259-262) is never used and should be removed
SafeMath.mod(uint256,uint256) (#228-230) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#244-251) is never used and should be removed
Remove unused functions.
Additional information: link
CheemsKing._rTotal (#910) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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
Reentrancy in CheemsKing._transfer(address,address,uint256) (#1529-1590):
External calls:
- swapAndLiquify(contractTokenBalance) (#1558)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _burnFee = buyFee.burn (#1497)
- _burnFee = sellFee.burn (#1505)
- _burnFee = 0 (#1481)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _devFee = buyFee.dev (#1498)
- _devFee = sellFee.dev (#1506)
- _devFee = 0 (#1482)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _liquidityFee = 0 (#1479)
- _liquidityFee = buyFee.liquidity (#1495)
- _liquidityFee = sellFee.liquidity (#1503)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _marketingFee = sellFee.marketing (#1504)
- _marketingFee = buyFee.marketing (#1496)
- _marketingFee = 0 (#1480)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1417)
- _rOwned[address(this)] = _rOwned[address(this)].add(rWallet) (#1425)
- _rOwned[fixedBurnAddress] = _rOwned[fixedBurnAddress].add(rburn) (#1437)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1722)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1753)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1785)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1723)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1816)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1786)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1755)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1818)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _rTotal = _rTotal.sub(rFee) (#1338)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1339)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tOwned[address(this)] = _tOwned[address(this)].add(tWallet) (#1427)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1419)
- _tOwned[fixedBurnAddress] = _tOwned[fixedBurnAddress].add(tburn) (#1439-1441)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1815)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1784)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1754)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1817)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _tTotal = _tTotal.sub(tburn) (#1432)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- _taxFee = 0 (#1478)
- _taxFee = buyFee.tax (#1494)
- _taxFee = sellFee.tax (#1502)
Event emitted after the call(s):
- Transfer(address(this),address(0),tburn) (#1433)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1728)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1791)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1760)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
- Transfer(sender,recipient,tTransferAmount) (#1823)
- _tokenTransfer(from,to,amount,takeFee) (#1589)
Reentrancy in CheemsKing.transferFrom(address,address,uint256) (#1073-1088):
External calls:
- _transfer(sender,recipient,amount) (#1078)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1078)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(liquidityReceiver),block.timestamp) (#1660-1667)
- address(marketingAddress).transfer(marketingAmt) (#1629)
- devWallet.transfer(devAmt) (#1633)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1079-1086)
- _allowances[owner][spender] = amount (#1525)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1526)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1079-1086)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#692) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#693)
Variable CheemsKing._transferFromExcluded(address,address,uint256).rTransferAmount (#1775) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing._transferBothExcluded(address,address,uint256).rTransferAmount (#1806) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing._transferToExcluded(address,address,uint256).rTransferAmount (#1744) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing._transferToExcluded(address,address,uint256).rTransferAmount (#1744) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1386-1390) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Variable CheemsKing._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1386-1390) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._transferFromExcluded(address,address,uint256).rTransferAmount (#1775) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1386-1390) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing.reflectionFromToken(uint256,bool).rTransferAmount (#1180) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing._transferToExcluded(address,address,uint256).rTransferAmount (#1744) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Variable CheemsKing._transferToExcluded(address,address,uint256).rTransferAmount (#1744) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._transferFromExcluded(address,address,uint256).rTransferAmount (#1775) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing._transferToExcluded(address,address,uint256).rTransferAmount (#1744) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1386-1390) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1386-1390) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing._transferFromExcluded(address,address,uint256).rTransferAmount (#1775) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Variable CheemsKing._transferBothExcluded(address,address,uint256).rTransferAmount (#1806) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Variable CheemsKing.reflectionFromToken(uint256,bool).rTransferAmount (#1180) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing.reflectionFromToken(uint256,bool).rTransferAmount (#1180) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._transferBothExcluded(address,address,uint256).rTransferAmount (#1806) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing._transferBothExcluded(address,address,uint256).rTransferAmount (#1806) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing._transferStandard(address,address,uint256).rTransferAmount (#1713) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing._transferBothExcluded(address,address,uint256).rTransferAmount (#1806) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._transferStandard(address,address,uint256).rTransferAmount (#1713) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Variable CheemsKing._transferStandard(address,address,uint256).rTransferAmount (#1713) is too similar to CheemsKing._transferToExcluded(address,address,uint256).tTransferAmount (#1738)
Variable CheemsKing._transferStandard(address,address,uint256).rTransferAmount (#1713) is too similar to CheemsKing._transferBothExcluded(address,address,uint256).tTransferAmount (#1800)
Variable CheemsKing._transferStandard(address,address,uint256).rTransferAmount (#1713) is too similar to CheemsKing._transferStandard(address,address,uint256).tTransferAmount (#1707)
Variable CheemsKing.reflectionFromToken(uint256,bool).rTransferAmount (#1180) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing._transferFromExcluded(address,address,uint256).rTransferAmount (#1775) is too similar to CheemsKing._getTValues(uint256).tTransferAmount (#1358)
Variable CheemsKing.reflectionFromToken(uint256,bool).rTransferAmount (#1180) is too similar to CheemsKing._transferFromExcluded(address,address,uint256).tTransferAmount (#1769)
Prevent variables from having similar names.
Additional information: link
CheemsKing.slitherConstructorVariables() (#893-1835) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 9 (#909)
CheemsKing.slitherConstructorVariables() (#893-1835) uses literals with too many digits:
- fixedBurnAddress = 0x000000000000000000000000000000000000dEaD (#919-920)
CheemsKing.slitherConstructorVariables() (#893-1835) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 9 (#962)
CheemsKing.slitherConstructorVariables() (#893-1835) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 200000000 * 10 ** 9 (#963)
CheemsKing.slitherConstructorVariables() (#893-1835) uses literals with too many digits:
- _maxWalletSize = 2000000000 * 10 ** 9 (#964)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CheemsKing._decimals (#926) should be constant
CheemsKing._name (#924) should be constant
CheemsKing._symbol (#925) should be constant
CheemsKing.burnDeductSupply (#922) should be constant
CheemsKing.fixedBurnAddress (#919-920) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#496-499)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#505-512)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#514-516)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#519-524)
unlock() should be declared external:
- Ownable.unlock() (#527-536)
name() should be declared external:
- CheemsKing.name() (#1025-1027)
symbol() should be declared external:
- CheemsKing.symbol() (#1029-1031)
decimals() should be declared external:
- CheemsKing.decimals() (#1033-1035)
totalSupply() should be declared external:
- CheemsKing.totalSupply() (#1037-1039)
transfer(address,uint256) should be declared external:
- CheemsKing.transfer(address,uint256) (#1046-1053)
allowance(address,address) should be declared external:
- CheemsKing.allowance(address,address) (#1055-1062)
approve(address,uint256) should be declared external:
- CheemsKing.approve(address,uint256) (#1064-1071)
transferFrom(address,address,uint256) should be declared external:
- CheemsKing.transferFrom(address,address,uint256) (#1073-1088)
increaseAllowance(address,uint256) should be declared external:
- CheemsKing.increaseAllowance(address,uint256) (#1090-1101)
decreaseAllowance(address,uint256) should be declared external:
- CheemsKing.decreaseAllowance(address,uint256) (#1103-1117)
isExcludedFromReward(address) should be declared external:
- CheemsKing.isExcludedFromReward(address) (#1119-1121)
totalFees() should be declared external:
- CheemsKing.totalFees() (#1123-1125)
burnAddress() should be declared external:
- CheemsKing.burnAddress() (#1127-1129)
whitelistMultipleAddress(address[],bool) should be declared external:
- CheemsKing.whitelistMultipleAddress(address[],bool) (#1131-1136)
deliver(uint256) should be declared external:
- CheemsKing.deliver(uint256) (#1138-1164)
reflectionFromToken(uint256,bool) should be declared external:
- CheemsKing.reflectionFromToken(uint256,bool) (#1166-1194)
excludeFromReward(address) should be declared external:
- CheemsKing.excludeFromReward(address) (#1222-1229)
excludeFromFee(address) should be declared external:
- CheemsKing.excludeFromFee(address) (#1244-1246)
includeInFee(address) should be declared external:
- CheemsKing.includeInFee(address) (#1248-1250)
excludeFromLimit(address) should be declared external:
- CheemsKing.excludeFromLimit(address) (#1252-1254)
includeInLimit(address) should be declared external:
- CheemsKing.includeInLimit(address) (#1256-1258)
setSwapAndLiquifyEnabled(bool) should be declared external:
- CheemsKing.setSwapAndLiquifyEnabled(bool) (#1329-1332)
setPrivateTradingStatus(bool) should be declared external:
- CheemsKing.setPrivateTradingStatus(bool) (#1485-1487)
whitelistAddressForPrivateTrading(address,bool) should be declared external:
- CheemsKing.whitelistAddressForPrivateTrading(address,bool) (#1489-1491)
isExcludedFromFee(address) should be declared external:
- CheemsKing.isExcludedFromFee(address) (#1509-1511)
isExcludedFromLimit(address) should be declared external:
- CheemsKing.isExcludedFromLimit(address) (#1513-1515)
withdrawStuckETH(address,uint256) should be declared external:
- CheemsKing.withdrawStuckETH(address,uint256) (#1826-1828)
withdrawForeignToken(address,address,uint256) should be declared external:
- CheemsKing.withdrawForeignToken(address,address,uint256) (#1830-1833)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
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 Twitter account
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account