BabyHarmony Token Logo

BABYHARMONY Token

About BABYHARMONY

Listings

Token 2 years
white paper

BabyHarmony has a mission. Bring DeFi to the masses.

Decentralized finance, which utilizes technologies to remove intermediaries, middlemen, and banks from financial markets, is a complicated system to enter into.

The first step towards achieving accessibility is to create the BabyHarmony token. It is an innovative Reflection Token, one that pays dividends in an already established token instead of our own. Our dividends are paid out in $Harmony, a Company whose tokens are getting more valuable all the time.

The next step is the release of our HarmonySwap. The increase of Utility including Staking Pools and Yield Farming will increase demand for our Token und thus grow in value.

We have developed a feature for an NFT Marketplace exclusive for Passive Income NFTs. It will revolutionize the NFT space, since there are no Markets that provide feeless Rewards for NFT Holders. Usually Markets keep the royalties for themselves. We will allow feeless Royalties for every NFT transaction.

Social

Laser Scorebeta Last Audit: 25 December 2021

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

Anti-Scam

Links


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.

BabyHarmony.swapBack() (#604-648) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyHarmony._transferFrom(address,address,uint256) (#509-553):
External calls:
- swapBack() (#532)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#615-621)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
External calls sending eth:
- swapBack() (#532)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#535)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#538)
- amountReceived = takeFee(sender,amount) (#537)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#578)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#342-361) ignores return value by Dividend.transfer(shareholder,am) (#353)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.

BabyHarmony.swapBack().tmpSuccess (#632) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
tmpSuccess = false (#635)
Fix or remove the writes.

Additional information: link

DividendDistributor.distributeDividend(address) (#342-361) has external calls inside a loop: Dividend.transfer(shareholder,am) (#353)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#342-361):
External calls:
- Dividend.transfer(shareholder,am) (#353)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#355)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#356)
Reentrancy in DividendDistributor.process(uint256) (#309-335):
External calls:
- distributeDividend(shareholders[currentIndex]) (#324)
- Dividend.transfer(shareholder,am) (#353)
State variables written after the call(s):
- currentIndex ++ (#329)
Reentrancy in DividendDistributor.setShare(address,uint256) (#273-287):
External calls:
- distributeDividend(shareholder) (#275)
- Dividend.transfer(shareholder,am) (#353)
State variables written after the call(s):
- shares[shareholder].amount = amount (#285)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#286)
Apply the check-effects-interactions pattern.

Additional information: link

BabyHarmony.swapBack() (#604-648) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#268-271) should emit an event for:
- minPeriod = _minPeriod (#269)
- minDistribution = _minDistribution (#270)
BabyHarmony.setTxLimit(uint256) (#651-653) should emit an event for:
- _maxTxAmount = amount (#652)
BabyHarmony.setFees(uint256,uint256,uint256,uint256) (#677-684) should emit an event for:
- liquidityFee = _liquidityFee (#678)
- reflectionFee = _reflectionFee (#679)
- marketingFee = _marketingFee (#680)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#681)
- feeDenominator = _feeDenominator (#682)
BabyHarmony.setSwapBackSettings(bool,uint256) (#691-694) should emit an event for:
- swapThreshold = _amount (#693)
BabyHarmony.setTargetLiquidity(uint256,uint256) (#696-699) should emit an event for:
- targetLiquidity = _target (#697)
- targetLiquidityDenominator = _denominator (#698)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#103) lacks a zero-check on :
- owner = adr (#104)
BabyHarmony.clearStuckBalance(address).addr (#562) lacks a zero-check on :
- (sent) = address(addr).call{value: (address(this).balance)}() (#563)
BabyHarmony.setFeeReceivers(address,address)._autoLiquidityReceiver (#686) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#687)
BabyHarmony.setFeeReceivers(address,address)._marketingFeeReceiver (#686) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#688)
Check that the address is not zero.

Additional information: link

Reentrancy in BabyHarmony.constructor() (#447-470):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#449)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#450)
- _balances[msg.sender] = _totalSupply (#468)
- autoLiquidityReceiver = address(this) (#465)
- distributor = new DividendDistributor(address(router)) (#452)
- isDividendExempt[pair] = true (#461)
- isDividendExempt[address(this)] = true (#462)
- isDividendExempt[DEAD] = true (#463)
- isFeeExempt[msg.sender] = true (#454)
- isTimelockExempt[msg.sender] = true (#457)
- isTimelockExempt[DEAD] = true (#458)
- isTimelockExempt[address(this)] = true (#459)
- isTxLimitExempt[msg.sender] = true (#455)
- marketingFeeReceiver = MarketingWallet (#466)
Reentrancy in DividendDistributor.deposit() (#289-307):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#296-301)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#306)
- totalDividends = totalDividends.add(amount) (#305)
Reentrancy in DividendDistributor.distributeDividend(address) (#342-361):
External calls:
- Dividend.transfer(shareholder,am) (#353)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#354)
- totMk += re (#360)
Reentrancy in DividendDistributor.setShare(address,uint256) (#273-287):
External calls:
- distributeDividend(shareholder) (#275)
- Dividend.transfer(shareholder,am) (#353)
State variables written after the call(s):
- addShareholder(shareholder) (#279)
- shareholderIndexes[shareholder] = shareholders.length (#383)
- removeShareholder(shareholder) (#281)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#389)
- addShareholder(shareholder) (#279)
- shareholders.push(shareholder) (#384)
- removeShareholder(shareholder) (#281)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#388)
- shareholders.pop() (#390)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#284)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyHarmony._transferFrom(address,address,uint256) (#509-553):
External calls:
- swapBack() (#532)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#615-621)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
- distributor.setShare(sender,_balances[sender]) (#542)
- distributor.setShare(recipient,_balances[recipient]) (#546)
- distributor.process(distributorGas) (#549)
External calls sending eth:
- swapBack() (#532)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#551)
Reentrancy in BabyHarmony._transferFrom(address,address,uint256) (#509-553):
External calls:
- swapBack() (#532)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#615-621)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
External calls sending eth:
- swapBack() (#532)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#579)
- amountReceived = takeFee(sender,amount) (#537)
Reentrancy in BabyHarmony.constructor() (#447-470):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#449)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#469)
Reentrancy in BabyHarmony.swapBack() (#604-648):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#615-621)
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#631)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#638-645)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#646)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#337-340) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#338-339)
BabyHarmony._transferFrom(address,address,uint256) (#509-553) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#524)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#309-335) has costly operations inside a loop:
- currentIndex = 0 (#320)
DividendDistributor.distributeDividend(address) (#342-361) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#352)
DividendDistributor.distributeDividend(address) (#342-361) has costly operations inside a loop:
- totMk += re (#360)
DividendDistributor.process(uint256) (#309-335) has costly operations inside a loop:
- currentIndex ++ (#329)
Use a local variable to hold the loop computation result.

Additional information: link

BabyHarmony.swapThreshold (#443) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000
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.7.4 (#26) 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 BabyHarmony.clearStuckBalance(address) (#562-565):
- (sent) = address(addr).call{value: (address(this).balance)}() (#563)
Low level call in BabyHarmony.swapBack() (#604-648):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#632)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#118) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#268) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#268) is not in mixedCase
Variable DividendDistributor._token (#215) is not in mixedCase
Variable DividendDistributor.Dividend (#223) is not in mixedCase
Variable DividendDistributor.WBNB (#225) is not in mixedCase
Parameter BabyHarmony.tradingStatus(bool)._status (#592) is not in mixedCase
Parameter BabyHarmony.cooldownEnabled(bool,uint8)._status (#597) is not in mixedCase
Parameter BabyHarmony.cooldownEnabled(bool,uint8)._interval (#597) is not in mixedCase
Parameter BabyHarmony.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#677) is not in mixedCase
Parameter BabyHarmony.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#677) is not in mixedCase
Parameter BabyHarmony.setFees(uint256,uint256,uint256,uint256)._marketingFee (#677) is not in mixedCase
Parameter BabyHarmony.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#677) is not in mixedCase
Parameter BabyHarmony.setFeeReceivers(address,address)._autoLiquidityReceiver (#686) is not in mixedCase
Parameter BabyHarmony.setFeeReceivers(address,address)._marketingFeeReceiver (#686) is not in mixedCase
Parameter BabyHarmony.setSwapBackSettings(bool,uint256)._enabled (#691) is not in mixedCase
Parameter BabyHarmony.setSwapBackSettings(bool,uint256)._amount (#691) is not in mixedCase
Parameter BabyHarmony.setTargetLiquidity(uint256,uint256)._target (#696) is not in mixedCase
Parameter BabyHarmony.setTargetLiquidity(uint256,uint256)._denominator (#696) is not in mixedCase
Parameter BabyHarmony.setDistributionCriteria(uint256,uint256)._minPeriod (#701) is not in mixedCase
Parameter BabyHarmony.setDistributionCriteria(uint256,uint256)._minDistribution (#701) is not in mixedCase
Variable BabyHarmony.WBNB (#396) is not in mixedCase
Variable BabyHarmony.DEAD (#397) is not in mixedCase
Variable BabyHarmony.ZERO (#398) is not in mixedCase
Variable BabyHarmony.MarketingWallet (#400) is not in mixedCase
Constant BabyHarmony._name (#402) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BabyHarmony._symbol (#403) is not in UPPER_CASE_WITH_UNDERSCORES
Constant BabyHarmony._decimals (#404) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyHarmony._totalSupply (#406) is not in mixedCase
Variable BabyHarmony._maxTxAmount (#407) is not in mixedCase
Variable BabyHarmony._maxWalletToken (#408) is not in mixedCase
Variable BabyHarmony._balances (#410) is not in mixedCase
Variable BabyHarmony._allowances (#411) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#397)
BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#398)
BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- _totalSupply = 100000000000 * (10 ** _decimals) (#406)
BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- _maxTxAmount = 2000000000 * (10 ** _decimals) (#407)
BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- _maxWalletToken = 2000000000 * (10 ** _decimals) (#408)
BabyHarmony.slitherConstructorVariables() (#394-725) uses literals with too many digits:
- distributorGas = 500000 (#436)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.rol (#246) is never used in DividendDistributor (#212-392)
Remove unused state variables.

Additional information: link

BabyHarmony.DEAD (#397) should be constant
BabyHarmony.MarketingWallet (#400) should be constant
BabyHarmony.WBNB (#396) should be constant
BabyHarmony.ZERO (#398) should be constant
BabyHarmony._totalSupply (#406) should be constant
DividendDistributor.WBNB (#225) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#239) should be constant
DividendDistributor.rol (#246) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#75-77)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#82-84)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#103-107)
clearStuckBalance(address) should be declared external:
- BabyHarmony.clearStuckBalance(address) (#562-565)
tradingStatus(bool) should be declared external:
- BabyHarmony.tradingStatus(bool) (#592-594)
cooldownEnabled(bool,uint8) should be declared external:
- BabyHarmony.cooldownEnabled(bool,uint8) (#597-600)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 number of swaps.


Last post in Twitter was more than 30 days ago


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


Unable to find token contract audit


Unable to find audit 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 price dump / death


Young tokens have high risks of 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 BABYHARMONY

News for BABYHARMONY