Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in PepeCoinBsc._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tOwned[sender] = _tOwned[sender] - tAmount (#614)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#615)
- _tOwned[sender] = _tOwned[sender] - tAmount (#626)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#627)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#628)
- _tOwned[sender] = _tOwned[sender] - tAmount (#639)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#640)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#641)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tTotal = _tTotal - tAmount (#619)
- _tTotal = _tTotal - tTransferAmount (#632)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#645)
- txCount ++ (#534)
Apply the check-effects-interactions pattern.
Additional information: link
name() should be declared external:
- PepeCoinBsc.name() (#423-425)
allowance(address,address) should be declared external:
- PepeCoinBsc.allowance(address,address) (#448-450)
symbol() should be declared external:
- PepeCoinBsc.symbol() (#427-429)
increaseAllowance(address,uint256) should be declared external:
- PepeCoinBsc.increaseAllowance(address,uint256) (#463-466)
decreaseAllowance(address,uint256) should be declared external:
- PepeCoinBsc.decreaseAllowance(address,uint256) (#468-471)
transferFrom(address,address,uint256) should be declared external:
- PepeCoinBsc.transferFrom(address,address,uint256) (#457-461)
renounceOwnership() should be declared external:
- PepeCoinBsc.renounceOwnership() (#343-346)
approve(address,uint256) should be declared external:
- PepeCoinBsc.approve(address,uint256) (#452-455)
totalSupply() should be declared external:
- PepeCoinBsc.totalSupply() (#435-437)
transfer(address,uint256) should be declared external:
- PepeCoinBsc.transfer(address,uint256) (#443-446)
decimals() should be declared external:
- PepeCoinBsc.decimals() (#431-433)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in PepeCoinBsc.swapAndLiquify(uint256) (#548-578):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#560)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- SwapAndLiquify(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D),tokens_to_LP_Half) (#571)
Reentrancy in PepeCoinBsc.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
Reentrancy in PepeCoinBsc._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#616)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount) (#629)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#642)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#67-71) uses assembly
- INLINE ASM (#69)
Address._verifyCallResult(bool,bytes,string) (#119-132) uses assembly
- INLINE ASM (#124-127)
Do not use evm assembly.
Additional information: link
PepeCoinBsc.swapAndLiquify(uint256) (#548-578) performs a multiplication on the result of a division:
-split_D = Percent_Dev * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#566)
-BNB_D = BNB_Total * split_D / 100 (#567)
PepeCoinBsc.swapAndLiquify(uint256) (#548-578) performs a multiplication on the result of a division:
-split_M = Percent_Marketing * 100 / (Percent_AutoLP + Percent_Marketing + Percent_Dev) (#563)
-BNB_M = BNB_Total * split_M / 100 (#564)
Consider ordering multiplication before division.
Additional information: link
PepeCoinBsc._transfer(address,address,uint256).isBuy (#525) 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
PepeCoinBsc.addLiquidity(uint256,uint256) (#596-607) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in PepeCoinBsc.swapAndLiquify(uint256) (#548-578):
External calls:
- swapTokensForBNB(tokens_to_LP_Half + tokens_to_M + tokens_to_D) (#560)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
External calls sending eth:
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- addLiquidity(tokens_to_LP_Half,(BNB_Total - BNB_M - BNB_D)) (#570)
- _allowances[theOwner][theSpender] = amount (#484)
Reentrancy in PepeCoinBsc.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#586-592)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
- _allowances[theOwner][theSpender] = amount (#484)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMath.mul(uint256,uint256) (#28-30) is never used and should be removed
SafeMath.sub(uint256,uint256) (#24-26) is never used and should be removed
PepeCoinBsc._getCurrentSupply() (#475-477) is never used and should be removed
Address.sendValue(address,uint256) (#73-77) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#87-89) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#113-117) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#109-111) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#91-96) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#43-48) is never used and should be removed
Context._msgData() (#58-61) is never used and should be removed
Address.functionStaticCall(address,bytes) (#98-100) is never used and should be removed
SafeMath.div(uint256,uint256) (#32-34) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (#119-132) is never used and should be removed
Address.isContract(address) (#67-71) is never used and should be removed
Address.functionCall(address,bytes,string) (#83-85) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#102-106) is never used and should be removed
Address.functionCall(address,bytes) (#79-81) is never used and should be removed
Remove unused functions.
Additional information: link
PepeCoinBsc._previousMaxTxAmount (#378) is set pre-construction with a non-constant function or state variable:
- _maxTxAmount
PepeCoinBsc._maxTxAmount (#377) is set pre-construction with a non-constant function or state variable:
- _tTotal * 3 / 100
PepeCoinBsc._maxWalletToken (#374) is set pre-construction with a non-constant function or state variable:
- _tTotal * 3 / 100
PepeCoinBsc._previousMaxWalletToken (#375) is set pre-construction with a non-constant function or state variable:
- _maxWalletToken
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
solc-0.8.10 is not recommended for deployment
Pragma version0.8.10 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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) (#73-77):
- (success) = recipient.call{value: amount}() (#75)
Low level call in Address.functionStaticCall(address,bytes,string) (#102-106):
- (success,returndata) = target.staticcall(data) (#104)
Low level call in Address.functionDelegateCall(address,bytes,string) (#113-117):
- (success,returndata) = target.delegatecall(data) (#115)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#91-96):
- (success,returndata) = target.call{value: value}(data) (#94)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable PepeCoinBsc.Wallet_Dev (#353) is not in mixedCase
Variable PepeCoinBsc._maxTxAmount (#377) is not in mixedCase
Variable PepeCoinBsc.Percent_Marketing (#369) is not in mixedCase
Variable PepeCoinBsc._maxWalletToken (#374) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#162) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#175) is not in mixedCase
Constant PepeCoinBsc._name (#360) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PepeCoinBsc._Tax_On_Buy (#366) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#161) is not in mixedCase
Constant PepeCoinBsc.Wallet_Burn (#354) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PepeCoinBsc._Tax_On_Sell (#367) is not in mixedCase
Variable PepeCoinBsc.Percent_Burn (#371) is not in mixedCase
Variable PepeCoinBsc._isExcludedFromFee (#350) is not in mixedCase
Variable PepeCoinBsc.Percent_AutoLP (#372) is not in mixedCase
Parameter PepeCoinBsc.addLiquidity(uint256,uint256).BNBAmount (#596) is not in mixedCase
Variable PepeCoinBsc.Percent_Dev (#370) is not in mixedCase
Function IUniswapV2Router01.WETH() (#192) is not in mixedCase
Constant PepeCoinBsc._symbol (#361) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PepeCoinBsc._decimals (#358) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PepeCoinBsc.Wallet_Marketing (#352) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#59)" inContext (#53-62)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in PepeCoinBsc.transferFrom(address,address,uint256) (#457-461):
External calls:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
External calls sending eth:
- _transfer(sender,recipient,amount) (#458)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
- _allowances[theOwner][theSpender] = amount (#484)
Event emitted after the call(s):
- Approval(theOwner,theSpender,amount) (#485)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#459)
Reentrancy in PepeCoinBsc._transfer(address,address,uint256) (#489-540):
External calls:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#521)
- wallet.transfer(amount) (#543)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Burn,block.timestamp) (#599-606)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tOwned[sender] = _tOwned[sender] - tAmount (#614)
- _tOwned[recipient] = _tOwned[recipient] + tAmount (#615)
- _tOwned[sender] = _tOwned[sender] - tAmount (#626)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#627)
- _tOwned[address(this)] = _tOwned[address(this)] + buyFEE (#628)
- _tOwned[sender] = _tOwned[sender] - tAmount (#639)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount_scope_0 (#640)
- _tOwned[address(this)] = _tOwned[address(this)] + sellFEE (#641)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- _tTotal = _tTotal - tAmount (#619)
- _tTotal = _tTotal - tTransferAmount (#632)
- _tTotal = _tTotal - tTransferAmount_scope_0 (#645)
- txCount ++ (#534)
Event emitted after the call(s):
- Transfer(sender,recipient,tAmount) (#616)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount) (#629)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
- Transfer(sender,recipient,tTransferAmount_scope_0) (#642)
- _tokenTransfer(from,to,amount,takeFee,isBuy) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Variable PepeCoinBsc.swapAndLiquify(uint256).tokens_to_D (#556) is too similar to PepeCoinBsc.swapAndLiquify(uint256).tokens_to_M (#555)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#196) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#197)
Prevent variables from having similar names.
Additional information: link
PepeCoinBsc.slitherConstructorVariables() (#326-654) uses literals with too many digits:
- _tTotal = 100000 * (10 ** _decimals) (#359)
PepeCoinBsc.slitherConstructorConstantVariables() (#326-654) uses literals with too many digits:
- Wallet_Burn = address(0x000000000000000000000000000000000000dEaD) (#354)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PepeCoinBsc._previousMaxWalletToken (#375) is never used in PepeCoinBsc (#326-654)
PepeCoinBsc._previousMaxTxAmount (#378) is never used in PepeCoinBsc (#326-654)
PepeCoinBsc.MAX (#357) is never used in PepeCoinBsc (#326-654)
Remove unused state variables.
Additional information: link
PepeCoinBsc.Percent_AutoLP (#372) should be constant
PepeCoinBsc.Percent_Dev (#370) should be constant
PepeCoinBsc.Percent_Burn (#371) should be constant
PepeCoinBsc.swapAndLiquifyEnabled (#384) should be constant
PepeCoinBsc.Percent_Marketing (#369) should be constant
PepeCoinBsc.swapTrigger (#364) should be constant
PepeCoinBsc._Tax_On_Sell (#367) should be constant
PepeCoinBsc.Wallet_Dev (#353) should be constant
PepeCoinBsc._Tax_On_Buy (#366) should be constant
PepeCoinBsc.Wallet_Marketing (#352) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 3% buy tax and 2% sell tax.
Taxes are low and contract ownership is renounced.
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 Telegram and Twitter accounts