BabyXape Token Logo

BABYX [BabyXape] Token

About BABYX

Listings

Token 2 years
white paper

The most BULLISH baby token! A little brother of BullishApes. BULLISH rewards combined with utility and strong marketing. Created to land on the moon. No other choice. X stands for an eXtra. Xtra Bullish, Xtra Secure, Xtra Rewarding! Hold BABYX and receive rewards in both BULLISH & BUSD!

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links

BabyXape.swapBack() (#651-700) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyXape._transferFrom(address,address,uint256) (#586-627):
External calls:
- swapBack() (#596)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#661-667)
- dividendDistributor.deposit{value: amountBNBReflection}() (#677)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#690-697)
External calls sending eth:
- swapBack() (#596)
- dividendDistributor.deposit{value: amountBNBReflection}() (#677)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#690-697)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#604)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#612)
- finalAmount = takeFee(sender,recipient,amount) (#611)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#641)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#279-290) ignores return value by RewardToken.transfer(shareholder,amount) (#285)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

BabyXape.swapBack().tmpSuccess1 (#683) is written in both
(tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
tmpSuccess1 = false (#687)
Fix or remove the writes.

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.

Reentrancy in DividendDistributor.setShare(address,uint256) (#213-228):
External calls:
- distributeDividend(shareholder) (#216)
- RewardToken.transfer(shareholder,amount) (#285)
State variables written after the call(s):
- shares[shareholder].amount = amount (#226)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#227)
Apply the check-effects-interactions pattern.

Additional information: link

BabyXape.swapBack() (#651-700) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#690-697)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyXape.changeFees(uint256,uint256,uint256,uint256) (#543-551) should emit an event for:
- liquidityFee = newLiqFee (#544)
- rewardsFee = newRewardFee (#545)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#549)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#550)
Emit an event for critical parameter changes.

Additional information: link

BabyXape.changeFeeReceivers(address,address,address).newDevWallet (#553) lacks a zero-check on :
- devWallet = newDevWallet (#556)
Check that the address is not zero.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#213-228):
External calls:
- distributeDividend(shareholder) (#216)
- RewardToken.transfer(shareholder,amount) (#285)
State variables written after the call(s):
- addShareholder(shareholder) (#220)
- shareholderIndexes[shareholder] = shareholders.length (#314)
- removeShareholder(shareholder) (#222)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#320)
- addShareholder(shareholder) (#220)
- shareholders.push(shareholder) (#315)
- removeShareholder(shareholder) (#222)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#319)
- shareholders.pop() (#321)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#225)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyXape.swapBack() (#651-700):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#661-667)
- dividendDistributor.deposit{value: amountBNBReflection}() (#677)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#690-697)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#677)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#690-697)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#698)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#274-277) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#275-276)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#250-272) has costly operations inside a loop:
- currentIndex ++ (#269)
Use a local variable to hold the loop computation result.

Additional information: link

Pragma version^0.7.4 (#49) 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

Low level call in BabyXape.swapBack() (#651-700):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#682)
- (tmpSuccess1) = address(devWallet).call{gas: 30000,value: devShare}() (#683)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BabyXape._allowances (#408) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#113) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#114)
Prevent variables from having similar names.

Additional information: link

BabyXape.slitherConstructorVariables() (#388-705) uses literals with too many digits:
- distributorGas = 500000 (#433)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BabyXape.RewardToken (#399) is never used in BabyXape (#388-705)
Remove unused state variables.

Additional information: link

DividendDistributor.routerAddress (#173) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

tradingStatus(bool) should be declared external:
- BabyXape.tradingStatus(bool) (#647-649)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.


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.


Twitter account link seems to be invalid


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


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 token on CoinHunt

Additional information: link


Young tokens have high risks of price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for BABYX