Reentrancy in CUPIDCHEEMS._transfer(address,address,uint256) (#496-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tOwned[sender] = _tOwned[sender] - tAmount (#626)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#627)
- _tOwned[sender] = _tOwned[sender] - tAmount (#638)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#639)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#640)
- _tOwned[sender] = _tOwned[sender] - tAmount (#651)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#652)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#653)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tTotal = _tTotal - tAmount (#631)
- _tTotal = _tTotal - tTransferAmount (#644)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#657)
- txCount ++ (#540)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CUPIDCHEEMS.swapAndLiquify(uint256) (#553-583) performs a multiplication on the result of a division:
-split_M = Percent_Marketing * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#568)
-BNB_M = BNB_Total * split_M / 100 (#569)
CUPIDCHEEMS.swapAndLiquify(uint256) (#553-583) performs a multiplication on the result of a division:
-split_D = Percent_Dev * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#571)
-BNB_D = BNB_Total * split_D / 100 (#572)
Consider ordering multiplication before division.
Additional information: link
CUPIDCHEEMS._transfer(address,address,uint256).isBuy (#531) 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
CUPIDCHEEMS.addLiquidity(uint256,uint256) (#601-612) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in CUPIDCHEEMS.constructor() (#410-430):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#419-420)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#423)
- _isExcludedFromFee[address(this)] = true (#424)
- _isExcludedFromFee[Wallet_Marketing] = true (#425)
- _isExcludedFromFee[Wallet_Burn] = true (#426)
- uniswapV2Router = _uniswapV2Router (#421)
Reentrancy in CUPIDCHEEMS.swapAndLiquify(uint256) (#553-583):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#565)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- _allowances[theOwner][theSpender] = amount (#491)
Reentrancy in CUPIDCHEEMS.transferFrom(address,address,uint256) (#466-470):
External calls:
- _transfer(sender,recipient,amount) (#467)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- _transfer(sender,recipient,amount) (#467)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#468)
- _allowances[theOwner][theSpender] = amount (#491)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CUPIDCHEEMS._transfer(address,address,uint256) (#496-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#628)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount) (#641)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#654)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
Reentrancy in CUPIDCHEEMS.constructor() (#410-430):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#419-420)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#428)
Reentrancy in CUPIDCHEEMS.swapAndLiquify(uint256) (#553-583):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#565)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#492)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#575)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#576)
Reentrancy in CUPIDCHEEMS.transferFrom(address,address,uint256) (#466-470):
External calls:
- _transfer(sender,recipient,amount) (#467)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#591-597)
External calls sending eth:
- _transfer(sender,recipient,amount) (#467)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#492)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#468)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#82-86) uses assembly
- INLINE ASM (#84)
Address._verifyCallResult(bool,bytes,string) (#134-147) uses assembly
- INLINE ASM (#139-142)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#134-147) is never used and should be removed
Address.functionCall(address,bytes) (#94-96) is never used and should be removed
Address.functionCall(address,bytes,string) (#98-100) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#102-104) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#106-111) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#124-126) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#128-132) is never used and should be removed
Address.functionStaticCall(address,bytes) (#113-115) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#117-121) is never used and should be removed
Address.isContract(address) (#82-86) is never used and should be removed
Address.sendValue(address,uint256) (#88-92) is never used and should be removed
CUPIDCHEEMS._getCurrentSupply() (#484-486) is never used and should be removed
Context._msgData() (#74-77) is never used and should be removed
SafeMath.div(uint256,uint256) (#50-52) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#61-66) is never used and should be removed
SafeMath.mul(uint256,uint256) (#46-48) is never used and should be removed
SafeMath.sub(uint256,uint256) (#42-44) is never used and should be removed
Remove unused functions.
Additional information: link
CUPIDCHEEMS._maxWalletToken (#384) is set pre-construction with a non-constant function or state variable:
- _tTotal * 2 / 100
CUPIDCHEEMS._previousMaxWalletToken (#385) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
CUPIDCHEEMS._maxTxAmount (#387) is set pre-construction with a non-constant function or state variable:
- _tTotal * 2 / 100
CUPIDCHEEMS._previousMaxTxAmount (#388) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version0.8.10 (#22) 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) (#88-92):
- (success) = recipient.call{value: amount}() (#90)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#106-111):
- (success,returndata) = target.call{value: value}(data) (#109)
Low level call in Address.functionStaticCall(address,bytes,string) (#117-121):
- (success,returndata) = target.staticcall(data) (#119)
Low level call in Address.functionDelegateCall(address,bytes,string) (#128-132):
- (success,returndata) = target.delegatecall(data) (#130)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#174) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#175) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#188) is not in mixedCase
Function IUniswapV2Router01.WETH() (#205) is not in mixedCase
Parameter CUPIDCHEEMS.addLiquidity(uint256,uint256).BNBAmount (#601) is not in mixedCase
Function CUPIDCHEEMS.remove_Random_Tokens(address,uint256) (#614-620) is not in mixedCase
Parameter CUPIDCHEEMS.remove_Random_Tokens(address,uint256).random_Token_Address (#614) is not in mixedCase
Parameter CUPIDCHEEMS.remove_Random_Tokens(address,uint256).percent_of_Tokens (#614) is not in mixedCase
Variable CUPIDCHEEMS._isExcludedFromFee (#361) is not in mixedCase
Variable CUPIDCHEEMS.Wallet_Marketing (#363) is not in mixedCase
Variable CUPIDCHEEMS.Wallet_Dev (#364) is not in mixedCase
Constant CUPIDCHEEMS.Wallet_Burn (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CUPIDCHEEMS._decimals (#368) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CUPIDCHEEMS._name (#370) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CUPIDCHEEMS._symbol (#371) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CUPIDCHEEMS._Tax_On_Buy (#376) is not in mixedCase
Variable CUPIDCHEEMS._Tax_On_Sell (#377) is not in mixedCase
Variable CUPIDCHEEMS.Percent_Marketing (#379) is not in mixedCase
Variable CUPIDCHEEMS.Percent_Dev (#380) is not in mixedCase
Variable CUPIDCHEEMS.Percent_Burn (#381) is not in mixedCase
Variable CUPIDCHEEMS.Percent_AutoLP (#382) is not in mixedCase
Variable CUPIDCHEEMS._maxWalletToken (#384) is not in mixedCase
Variable CUPIDCHEEMS._maxTxAmount (#387) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#75)" inContext (#69-78)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CUPIDCHEEMS._transfer(address,address,uint256) (#496-546):
External calls:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#527)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tOwned[sender] = _tOwned[sender] - tAmount (#626)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#627)
- _tOwned[sender] = _tOwned[sender] - tAmount (#638)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#639)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#640)
- _tOwned[sender] = _tOwned[sender] - tAmount (#651)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#652)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#653)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- _tTotal = _tTotal - tAmount (#631)
- _tTotal = _tTotal - tTransferAmount (#644)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#657)
- txCount ++ (#540)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#628)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount) (#641)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#654)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#544)
Reentrancy in CUPIDCHEEMS.transferFrom(address,address,uint256) (#466-470):
External calls:
- _transfer(sender,recipient,amount) (#467)
- wallet.transfer(amount) (#549)
External calls sending eth:
- _transfer(sender,recipient,amount) (#467)
- wallet.transfer(amount) (#549)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#604-611)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#468)
- _allowances[theOwner][theSpender] = amount (#491)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#492)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#468)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#209) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#210)
Variable CUPIDCHEEMS.swapAndLiquify(uint256).tokens_to_D (#561) is too similar to CUPIDCHEEMS.swapAndLiquify(uint256).tokens_to_M (#560)
Prevent variables from having similar names.
Additional information: link
CUPIDCHEEMS.slitherConstructorConstantVariables() (#337-662) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#365)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CUPIDCHEEMS.MAX (#367) is never used in CUPIDCHEEMS (#337-662)
CUPIDCHEEMS._previousMaxWalletToken (#385) is never used in CUPIDCHEEMS (#337-662)
CUPIDCHEEMS._previousMaxTxAmount (#388) is never used in CUPIDCHEEMS (#337-662)
Remove unused state variables.
Additional information: link
CUPIDCHEEMS.Percent_AutoLP (#382) should be constant
CUPIDCHEEMS.Percent_Burn (#381) should be constant
CUPIDCHEEMS.Percent_Dev (#380) should be constant
CUPIDCHEEMS.Percent_Marketing (#379) should be constant
CUPIDCHEEMS.Wallet_Dev (#364) should be constant
CUPIDCHEEMS.Wallet_Marketing (#363) should be constant
CUPIDCHEEMS._Tax_On_Buy (#376) should be constant
CUPIDCHEEMS._Tax_On_Sell (#377) should be constant
CUPIDCHEEMS.swapAndLiquifyEnabled (#394) should be constant
CUPIDCHEEMS.swapTrigger (#374) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- CUPIDCHEEMS.renounceOwnership() (#354-357)
name() should be declared external:
- CUPIDCHEEMS.name() (#432-434)
symbol() should be declared external:
- CUPIDCHEEMS.symbol() (#436-438)
decimals() should be declared external:
- CUPIDCHEEMS.decimals() (#440-442)
totalSupply() should be declared external:
- CUPIDCHEEMS.totalSupply() (#444-446)
transfer(address,uint256) should be declared external:
- CUPIDCHEEMS.transfer(address,uint256) (#452-455)
allowance(address,address) should be declared external:
- CUPIDCHEEMS.allowance(address,address) (#457-459)
approve(address,uint256) should be declared external:
- CUPIDCHEEMS.approve(address,uint256) (#461-464)
transferFrom(address,address,uint256) should be declared external:
- CUPIDCHEEMS.transferFrom(address,address,uint256) (#466-470)
increaseAllowance(address,uint256) should be declared external:
- CUPIDCHEEMS.increaseAllowance(address,uint256) (#472-475)
decreaseAllowance(address,uint256) should be declared external:
- CUPIDCHEEMS.decreaseAllowance(address,uint256) (#477-480)
remove_Random_Tokens(address,uint256) should be declared external:
- CUPIDCHEEMS.remove_Random_Tokens(address,uint256) (#614-620)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ticker (CUPID CHEEMS) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
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 less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account