Baby Casper Token Logo

BABYCASPER [Baby Casper] Token

About BABYCASPER

Listings

Token 2 years
white paper

Baby Casper is a Techrate audited token that rewards FTM and has an inbuilt burn mechanism which prevents the contract from drowning itself while selling rewards.

The SpookyNFT pad will be used to sell NFTs in wholesale while BABYCASPER holders will get discounts on them. Holders also received FTM rewards as passive income at the rate of 4% based on the trading volume.

Baby Casper is audited by Techrate (https://github.com/TechRate/Smart-Contract-Audits/blob/main/October/Baby%20Casper.pdf) and our liquidity is also locked in pinksale after our presale for 6 months (https://www.pinksale.finance/#/pinklock/record/643?chain=BSC)!

Social

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

BabyCasper.swapBack() (#747-783) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#771-774)
- (tmpSuccess2) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#775-778)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyCasper._transferFrom(address,address,uint256) (#647-695):
External calls:
- swapBack() (#657)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(swapThreshold,0,path,address(this),block.timestamp) (#754-760)
- distributor.deposit{value: amountBNBReflection}() (#770)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#771-774)
- (tmpSuccess2) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#775-778)
External calls sending eth:
- swapBack() (#657)
- distributor.deposit{value: amountBNBReflection}() (#770)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#771-774)
- (tmpSuccess2) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#775-778)
State variables written after the call(s):
- _basicTransfer(address(this),DEAD,(rewardsBalanceUnsold.sub(maxContractRewardHold))) (#661-665)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#702-705)
- _balances[recipient] = _balances[recipient].add(amount) (#706)
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#670-673)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#678)
- amountReceived = takeFee(sender,amount) (#675-677)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#726)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#429-446) ignores return value by REWARDS.transfer(shareholder,amount) (#437)
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.

BabyCasper.swapBack().tmpSuccess2 (#775) is written in both
(tmpSuccess2) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#775-778)
tmpSuccess2 = false (#782)
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.

BabyCasper.slitherConstructorVariables() (#498-858) performs a multiplication on the result of a division:
-swapThreshold = (_totalSupply * 1) / 1000 (#540)
-maxContractRewardHold = swapThreshold * 1 (#541)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#350-370):
External calls:
- distributeDividend(shareholder) (#356)
- REWARDS.transfer(shareholder,amount) (#437)
State variables written after the call(s):
- shares[shareholder].amount = amount (#366)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#367-369)
Apply the check-effects-interactions pattern.

Additional information: link

BabyCasper.setSwapBackSettings(bool,uint256,uint256) (#810-818) should emit an event for:
- swapThreshold = _amount (#816)
Emit an event for critical parameter changes.

Additional information: link

BabyCasper.setFeeReceivers(address,address)._devFeeReceiver (#804) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#807)
Check that the address is not zero.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#350-370):
External calls:
- distributeDividend(shareholder) (#356)
- REWARDS.transfer(shareholder,amount) (#437)
State variables written after the call(s):
- addShareholder(shareholder) (#360)
- shareholderIndexes[shareholder] = shareholders.length (#483)
- removeShareholder(shareholder) (#362)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#491-493)
- addShareholder(shareholder) (#360)
- shareholders.push(shareholder) (#484)
- removeShareholder(shareholder) (#362)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#488-490)
- shareholders.pop() (#494)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#365)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyCasper.constructor() (#551-575):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#560)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#574)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#419-427) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#424-426)
Avoid relying on block.timestamp.

Additional information: link

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

Additional information: link

BabyCasper.maxContractRewardHold (#541) is set pre-construction with a non-constant function or state variable:
- swapThreshold * 1
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.7.4 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 BabyCasper.swapBack() (#747-783):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#771-774)
- (tmpSuccess2) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#775-778)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BabyCasper._allowances (#512) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BabyCasper.slitherConstructorVariables() (#498-858) uses literals with too many digits:
- distributorGas = 400000 (#537)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

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

Additional information: link

isOverLiquified(uint256,uint256) should be declared external:
- BabyCasper.isOverLiquified(uint256,uint256) (#844-850)
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


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

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


Unable to find code repository for the project


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


Token has no active CoinMarketCap listing / rank


Token has relatively low CoinGecko rank

Price for BABYCASPER