bitApe is a decentralized crypto currency. It has a solid verified BSC contract. Holders are rewarded with 8% pegged-bitcoin every hour (depending on volume). The developer is a savvy coder, which is why the contract has worked flawlessly. Come join the apenation!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CakeX.addLiquidity(uint256,uint256) (#1924-1939) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityFeeReceiver,block.timestamp) (#1930-1937)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
CakeX.random() (#1830-1833) uses a weak PRNG: "randomnumber = uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,msg.sender,ATH))) % 100 (#1831)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Reentrancy in CakeX._transfer(address,address,uint256) (#1620-1755):
External calls:
- swapAndSendToFee(marketingTokens) (#1653)
- IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1762)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1915-1921)
- swapAndLiquify(swapTokens) (#1656)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityFeeReceiver,block.timestamp) (#1930-1937)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1896-1902)
- swapAndSendDividends(sellTokens) (#1661)
- success = IERC20(CAKE).transfer(address(dividendTracker),dividends) (#1945)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1915-1921)
- dividendTracker.distributeCAKEDividends(dividends) (#1948)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1656)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityFeeReceiver,block.timestamp) (#1930-1937)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1736)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#935)
- _balances[recipient] = _balances[recipient].add(amount) (#936)
- super._transfer(from,to,amount) (#1740)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#935)
- _balances[recipient] = _balances[recipient].add(amount) (#936)
- botList[to] = true (#1696)
- swapping = false (#1663)
Apply the check-effects-interactions pattern.
Additional information: link
CakeX.swapAndSendToFee(uint256) (#1757-1763) ignores return value by IERC20(CAKE).transfer(_marketingWalletAddress,newBalance) (#1762)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
CakeX.apeTimeMonitoring(uint256) (#1875-1879) uses a dangerous strict equality:
- ATH > 2 && _currPrice <= ATH / 2 && nextAPETIMEStartingAt == 0 (#1876)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
CakeX.setFeeDecimalFactor(uint256) (#1460-1471) performs a multiplication on the result of a division:
-sellingFeesWithDecimals = sellingFeesWithDecimals * (fdf / feeDecimalFactor) (#1465)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in CakeX.updateDividendTracker(address) (#1416-1431):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1423)
- newDividendTracker.excludeFromDividends(address(this)) (#1424)
- newDividendTracker.excludeFromDividends(owner()) (#1425)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1426)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1430)
Apply the check-effects-interactions pattern.
Additional information: link
CakeX._transfer(address,address,uint256) (#1620-1755) uses tx.origin for authorization: require(bool)(selfLockedTokensUntil[from] < block.timestamp && ! botList[from] && ! botList[tx.origin] && ! botList[to]) (#1627)
Do not use tx.origin for authorization.
Additional information: link
CakeX._transfer(address,address,uint256).claims (#1748) 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
CakeX.addLiquidity(uint256,uint256) (#1924-1939) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityFeeReceiver,block.timestamp) (#1930-1937)
Ensure that all the return values of the function calls are used.
Additional information: link
CakeX.setFeeDecimalFactor(uint256).decimals (#1460) shadows:
- ERC20.decimals() (#803-805) (function)
- IERC20Metadata.decimals() (#366) (function)
Rename the local variables that shadow another component.
Additional information: link
CakeX.setBananaRewardSplitValue(uint256) (#1498-1501) should emit an event for:
- bananaRewardSplitValue = banana (#1500)
Emit an event for critical parameter changes.
Additional information: link
CakeX.setLiquidityFeeReceiverAddress(address).liqFeeReceiver (#1503) lacks a zero-check on :
- liquidityFeeReceiver = liqFeeReceiver (#1504)
Check that the address is not zero.
Additional information: link
Variable 'CakeX._transfer(address,address,uint256).lastProcessedIndex (#1748)' in CakeX._transfer(address,address,uint256) (#1620-1755) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1749)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in CakeX.updateUniswapV2Router(address) (#1433-1440):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1437-1438)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1439)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CakeX.updateDividendTracker(address) (#1416-1431):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1423)
- newDividendTracker.excludeFromDividends(address(this)) (#1424)
- newDividendTracker.excludeFromDividends(owner()) (#1425)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1426)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1428)
Apply the check-effects-interactions pattern.
Additional information: link
CakeXDividendTracker.canAutoClaim(uint256) (#2079-2085) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2080)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2084)
Avoid relying on block.timestamp.
Additional information: link
CakeX._APETIMEEnded() (#1862-1873) compares to a boolean constant:
-isAPETIME == true (#1863)
Remove the equality to the boolean constant.
Additional information: link
SafeMathInt.mul(int256,int256) (#587-594) is never used and should be removed
Remove unused functions.
Additional information: link
CakeX.previousFeeDecimalFactor (#1299) is set pre-construction with a non-constant function or state variable:
- feeDecimalFactor
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.6.2 (#1090) 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
Parameter CakeXDividendTracker.getAccount(address)._account (#2015) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#118)" inContext (#112-121)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1155) is too similar to CakeXDividendTracker.getAccount(address).withdrawableDividends (#2020)
Prevent variables from having similar names.
Additional information: link
CakeXDividendTracker.getAccountAtIndex(uint256) (#2060-2077) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2071)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#582) is never used in SafeMathInt (#580-638)
Remove unused state variables.
Additional information: link
DividendPayingToken.CAKE (#1102) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- CakeXDividendTracker.process(uint256) (#2104-2149)
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
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