Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BabyApe._transfer(address,address,uint256) (#985-1052):
External calls:
- swapAndLiquify(tokensToSwap) (#1031)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1209-1215)
External calls sending eth:
- swapAndLiquify(tokensToSwap) (#1031)
- recipient.transfer(amount) (#1234)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
State variables written after the call(s):
- _transferStandard(sender,recipient,amount) (#1047)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1155)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1056)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1057)
- _transferStandard(sender,recipient,amount) (#1047)
- _rTotal = _rTotal.sub(rFee) (#1064)
Apply the check-effects-interactions pattern.
Additional information: link
BabyApe._excluded (#754) is never initialized. It is used in:
- BabyApe._getCurrentSupply() (#1137-1150)
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
BabyApe.slitherConstructorVariables() (#744-1239) performs a multiplication on the result of a division:
-_maxWallet = _tTotal.div(10 ** 2).mul(3) (#764)
Consider ordering multiplication before division.
Additional information: link
BabyApe._transfer(address,address,uint256) (#985-1052) uses tx.origin for authorization: require(bool,string)(balanceOf(tx.origin) + amount <= _maxWallet,Exceeds maximum wallet token amount) (#1001-1005)
Do not use tx.origin for authorization.
Additional information: link
BabyApe.addToBlackList(address[]).i (#975) 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
BabyApe.addLiquidity(uint256,uint256) (#1218-1231) ignores return value by pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
Ensure that all the return values of the function calls are used.
Additional information: link
BabyApe._approve(address,address,uint256).owner (#940) shadows:
- Ownable.owner() (#342-344) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in BabyApe.transferFrom(address,address,uint256) (#893-908):
External calls:
- _transfer(sender,recipient,amount) (#898)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1209-1215)
External calls sending eth:
- _transfer(sender,recipient,amount) (#898)
- recipient.transfer(amount) (#1234)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#899-906)
- _allowances[owner][spender] = amount (#947)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyApe.transferFrom(address,address,uint256) (#893-908):
External calls:
- _transfer(sender,recipient,amount) (#898)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
- pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1209-1215)
External calls sending eth:
- _transfer(sender,recipient,amount) (#898)
- recipient.transfer(amount) (#1234)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#948)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#899-906)
Apply the check-effects-interactions pattern.
Additional information: link
BabyApe._getAntiDumpMultiplier() (#1074-1092) uses timestamp for comparisons
Dangerous comparisons:
- time_since_start < 1 * hour (#1078)
- time_since_start < 2 * hour (#1080)
- time_since_start < 3 * hour (#1082)
- time_since_start < 4 * hour (#1084)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.6.12']
- ^0.6.12 (#21)
- >=0.6.2 (#387)
- >=0.6.2 (#550)
- >=0.5.0 (#599)
- >=0.5.0 (#633)
Use one Solidity version.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#300-307) is never used and should be removed
Remove unused functions.
Additional information: link
BabyApe._previousLiquidityFee (#768) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version>=0.5.0 (#633) allows old versions
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
Variable BabyApe._start_timestamp (#776) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#144)" inContext (#134-147)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BabyApe.transferFrom(address,address,uint256) (#893-908):
External calls:
- _transfer(sender,recipient,amount) (#898)
- recipient.transfer(amount) (#1234)
External calls sending eth:
- _transfer(sender,recipient,amount) (#898)
- recipient.transfer(amount) (#1234)
- pcsV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1223-1230)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#899-906)
- _allowances[owner][spender] = amount (#947)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#948)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#899-906)
Apply the check-effects-interactions pattern.
Additional information: link
Variable BabyApe._getValues(uint256).rTransferAmount (#1070) is too similar to BabyApe._getValues(uint256).tTransferAmount (#1069)
Prevent variables from having similar names.
Additional information: link
BabyApe._symbol (#774) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
reflect(uint256) should be declared external:
- BabyApe.reflect(uint256) (#918-924)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts