BabyArmy Token Logo

BARMY [BabyArmy] Token

About BARMY

Listings

Token 11 months
CoinMarketCap 10 months
white paper

BABY ARMY is your unique charity-driven token. Join our army to support and protect women! We are devoted to helping women in Afghanistan and financially and politically oppressed countries fight for their rights – through the power of tokens. Our community prized system brings great rewards for our charitable investors through our Army Buff utilities. Stand a chance to win rewards up to $15000, and many more interesting prizes. We are not your typical token, we are driven by purpose! We stand in the wings ready to take a starring role in crypto and defend a better world! Become part of BABY ARMY’s charitable community and see your assets moon! We help our community gain financial security and drive economic empowerment for women!

Social

Laser Scorebeta Last Audit: 6 August 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links

BabyArmy.addLiquidity(uint256,uint256) (contracts/tokens/BabyArmy.sol#1004-1017) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BabyArmy._transfer(address,address,uint256) (contracts/tokens/BabyArmy.sol#793-828):
External calls:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
External calls sending eth:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(liqFee.mul(rate)) (contracts/tokens/BabyArmy.sol#851)
- _reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].add(marketingFee.mul(rate)) (contracts/tokens/BabyArmy.sol#865)
- _reflectionBalance[charityWallet] = _reflectionBalance[charityWallet].add(charityFee.mul(rate)) (contracts/tokens/BabyArmy.sol#879)
- _reflectionBalance[sender] = _reflectionBalance[sender].sub(amount.mul(rate)) (contracts/tokens/BabyArmy.sol#816)
- _reflectionBalance[recipient] = _reflectionBalance[recipient].add(transferAmount.mul(rate)) (contracts/tokens/BabyArmy.sol#817)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (contracts/tokens/BabyArmy.sol#843)
- _reflectionTotal = _reflectionTotal.sub(burnFee.mul(rate)) (contracts/tokens/BabyArmy.sol#892)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(liqFee) (contracts/tokens/BabyArmy.sol#853)
- _tokenBalance[marketingWallet] = _tokenBalance[marketingWallet].add(marketingFee) (contracts/tokens/BabyArmy.sol#867)
- _tokenBalance[charityWallet] = _tokenBalance[charityWallet].add(charityFee) (contracts/tokens/BabyArmy.sol#881)
- _tokenBalance[sender] = _tokenBalance[sender].sub(amount) (contracts/tokens/BabyArmy.sol#821)
- _tokenBalance[recipient] = _tokenBalance[recipient].add(transferAmount) (contracts/tokens/BabyArmy.sol#824)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _tokenTotal = _tokenTotal.sub(burnFee) (contracts/tokens/BabyArmy.sol#891)
Apply the check-effects-interactions pattern.

Additional information: link


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


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.


Contract ownership is not renounced (belongs to a wallet)

BabyArmy.setMaxTxAmount(uint256) (contracts/tokens/BabyArmy.sol#1095-1097) should emit an event for:
- maxTxAmount = amount (contracts/tokens/BabyArmy.sol#1096)
BabyArmy.setMinTokensBeforeSwap(uint256) (contracts/tokens/BabyArmy.sol#1099-1101) should emit an event for:
- minTokensBeforeSwap = amount (contracts/tokens/BabyArmy.sol#1100)
Emit an event for critical parameter changes.

Additional information: link

BabyArmy.constructor(address,address,address,address)._owner (contracts/tokens/BabyArmy.sol#635) shadows:
- Ownable._owner (contracts/tokens/BabyArmy.sol#444) (state variable)
BabyArmy.allowance(address,address).owner (contracts/tokens/BabyArmy.sol#705) shadows:
- Ownable.owner() (contracts/tokens/BabyArmy.sol#460-462) (function)
BabyArmy._approve(address,address,uint256).owner (contracts/tokens/BabyArmy.sol#782) shadows:
- Ownable.owner() (contracts/tokens/BabyArmy.sol#460-462) (function)
Rename the local variables that shadow another component.

Additional information: link

BabyArmy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/BabyArmy.sol#830-898) performs a multiplication on the result of a division:
-_reflectionTotal = _reflectionTotal.sub(taxFee.mul(rate)) (contracts/tokens/BabyArmy.sol#843)
-taxFee = amount.mul(_taxFee[1]).div(10 ** (_feeDecimal + 2)) (contracts/tokens/BabyArmy.sol#840)
BabyArmy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/BabyArmy.sol#830-898) performs a multiplication on the result of a division:
-_reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(liqFee.mul(rate)) (contracts/tokens/BabyArmy.sol#851)
-liqFee = amount.mul(_liqFee[1]).div(10 ** (_feeDecimal + 2)) (contracts/tokens/BabyArmy.sol#848)
BabyArmy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/BabyArmy.sol#830-898) performs a multiplication on the result of a division:
-_reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].add(marketingFee.mul(rate)) (contracts/tokens/BabyArmy.sol#865)
-marketingFee = amount.mul(_marketingFee[0]).div(10 ** (_feeDecimal + 2)) (contracts/tokens/BabyArmy.sol#860-862)
BabyArmy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/BabyArmy.sol#830-898) performs a multiplication on the result of a division:
-_reflectionBalance[charityWallet] = _reflectionBalance[charityWallet].add(charityFee.mul(rate)) (contracts/tokens/BabyArmy.sol#879)
-charityFee = amount.mul(_charityFee[0]).div(10 ** (_feeDecimal + 2)) (contracts/tokens/BabyArmy.sol#874-876)
BabyArmy.collectFee(address,uint256,uint256,bool,bool) (contracts/tokens/BabyArmy.sol#830-898) performs a multiplication on the result of a division:
-_reflectionTotal = _reflectionTotal.sub(burnFee.mul(rate)) (contracts/tokens/BabyArmy.sol#892)
-burnFee = amount.mul(_burnFee[1]).div(10 ** (_feeDecimal + 2)) (contracts/tokens/BabyArmy.sol#888)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in BabyArmy.swap() (contracts/tokens/BabyArmy.sol#900-942):
External calls:
- swapedEth = swapTokensForEth(charityWalletBalance,charityWallet) (contracts/tokens/BabyArmy.sol#922)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
State variables written after the call(s):
- _reflectionBalance[marketingWallet] = _reflectionBalance[marketingWallet].sub(marketingWalletBalance.mul(rate)) (contracts/tokens/BabyArmy.sol#926-928)
- _reflectionBalance[address(this)] = _reflectionBalance[address(this)].add(marketingWalletBalance.mul(rate)) (contracts/tokens/BabyArmy.sol#929-931)
- _tokenBalance[address(this)] = _tokenBalance[address(this)].add(marketingWalletBalance) (contracts/tokens/BabyArmy.sol#933)
- _tokenBalance[marketingWallet] = _tokenBalance[marketingWallet].sub(marketingWalletBalance) (contracts/tokens/BabyArmy.sol#936)
Apply the check-effects-interactions pattern.

Additional information: link

BabyArmy.addLiquidity(uint256,uint256) (contracts/tokens/BabyArmy.sol#1004-1017) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
Ensure that all the return values of the function calls are used.

Additional information: link

BabyArmy.constructor(address,address,address,address).marketing (contracts/tokens/BabyArmy.sol#636) lacks a zero-check on :
- marketingWallet = marketing (contracts/tokens/BabyArmy.sol#646)
BabyArmy.constructor(address,address,address,address).charity (contracts/tokens/BabyArmy.sol#637) lacks a zero-check on :
- charityWallet = charity (contracts/tokens/BabyArmy.sol#647)
BabyArmy.setPairAndRouter(address,IUniswapV2Router02)._pair (contracts/tokens/BabyArmy.sol#1019) lacks a zero-check on :
- pair = _pair (contracts/tokens/BabyArmy.sol#1020)
BabyArmy.setMarketingWallet(address).wallet (contracts/tokens/BabyArmy.sol#1087) lacks a zero-check on :
- marketingWallet = wallet (contracts/tokens/BabyArmy.sol#1088)
BabyArmy.setCharityWallet(address).bank (contracts/tokens/BabyArmy.sol#1091) lacks a zero-check on :
- charityWallet = bank (contracts/tokens/BabyArmy.sol#1092)
Check that the address is not zero.

Additional information: link

Reentrancy in BabyArmy._transfer(address,address,uint256) (contracts/tokens/BabyArmy.sol#793-828):
External calls:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
External calls sending eth:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
State variables written after the call(s):
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _burnFeeTotal = _burnFeeTotal.add(burnFee) (contracts/tokens/BabyArmy.sol#893)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _charityFeeTotal = _charityFeeTotal.add(charityFee) (contracts/tokens/BabyArmy.sol#883)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _liqFeeTotal = _liqFeeTotal.add(liqFee) (contracts/tokens/BabyArmy.sol#855)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _marketingFeeTotal = _marketingFeeTotal.add(marketingFee) (contracts/tokens/BabyArmy.sol#869)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- _taxFeeTotal = _taxFeeTotal.add(taxFee) (contracts/tokens/BabyArmy.sol#844)
Reentrancy in BabyArmy.constructor(address,address,address,address) (contracts/tokens/BabyArmy.sol#633-677):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/BabyArmy.sol#640)
State variables written after the call(s):
- _burnFee.push(0) (contracts/tokens/BabyArmy.sol#669)
- _burnFee.push(200) (contracts/tokens/BabyArmy.sol#670)
- _burnFee.push(0) (contracts/tokens/BabyArmy.sol#671)
- _charityFee.push(100) (contracts/tokens/BabyArmy.sol#661)
- _charityFee.push(200) (contracts/tokens/BabyArmy.sol#662)
- _charityFee.push(0) (contracts/tokens/BabyArmy.sol#663)
- _excluded.push(address(pair)) (contracts/tokens/BabyArmy.sol#651)
- _isExcluded[address(pair)] = true (contracts/tokens/BabyArmy.sol#650)
- _liqFee.push(200) (contracts/tokens/BabyArmy.sol#657)
- _liqFee.push(200) (contracts/tokens/BabyArmy.sol#658)
- _liqFee.push(0) (contracts/tokens/BabyArmy.sol#659)
- _marketingFee.push(300) (contracts/tokens/BabyArmy.sol#665)
- _marketingFee.push(500) (contracts/tokens/BabyArmy.sol#666)
- _marketingFee.push(0) (contracts/tokens/BabyArmy.sol#667)
- transferOwnership(_owner) (contracts/tokens/BabyArmy.sol#676)
- _owner = newOwner (contracts/tokens/BabyArmy.sol#491)
- _reflectionBalance[_owner] = _reflectionTotal (contracts/tokens/BabyArmy.sol#673)
- _taxFee.push(200) (contracts/tokens/BabyArmy.sol#653)
- _taxFee.push(200) (contracts/tokens/BabyArmy.sol#654)
- _taxFee.push(1000) (contracts/tokens/BabyArmy.sol#655)
- charityWallet = charity (contracts/tokens/BabyArmy.sol#647)
- marketingWallet = marketing (contracts/tokens/BabyArmy.sol#646)
- router = _uniswapV2Router (contracts/tokens/BabyArmy.sol#641)
- whitelist[_owner] = true (contracts/tokens/BabyArmy.sol#643)
- whitelist[address(this)] = true (contracts/tokens/BabyArmy.sol#644)
Reentrancy in BabyArmy.swap() (contracts/tokens/BabyArmy.sol#900-942):
External calls:
- swapedEth = swapTokensForEth(charityWalletBalance,charityWallet) (contracts/tokens/BabyArmy.sol#922)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
- swapedEth_scope_0 = swapTokensForEth(marketingWalletBalance,marketingWallet) (contracts/tokens/BabyArmy.sol#938)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
State variables written after the call(s):
- swapedEth_scope_0 = swapTokensForEth(marketingWalletBalance,marketingWallet) (contracts/tokens/BabyArmy.sol#938)
- _allowances[owner][spender] = amount (contracts/tokens/BabyArmy.sol#789)
Reentrancy in BabyArmy.swapAndLiquify(uint256) (contracts/tokens/BabyArmy.sol#957-981):
External calls:
- swapTokensForEth(half,address(this)) (contracts/tokens/BabyArmy.sol#972)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- _allowances[owner][spender] = amount (contracts/tokens/BabyArmy.sol#789)
Reentrancy in BabyArmy.transferFrom(address,address,uint256) (contracts/tokens/BabyArmy.sol#714-727):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/BabyArmy.sol#719)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/BabyArmy.sol#719)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/BabyArmy.sol#721-725)
- _allowances[owner][spender] = amount (contracts/tokens/BabyArmy.sol#789)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BabyArmy._transfer(address,address,uint256) (contracts/tokens/BabyArmy.sol#793-828):
External calls:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
External calls sending eth:
- swap() (contracts/tokens/BabyArmy.sol#805)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
Event emitted after the call(s):
- Transfer(account,address(this),liqFee) (contracts/tokens/BabyArmy.sol#856)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- Transfer(sender,recipient,transferAmount) (contracts/tokens/BabyArmy.sol#827)
- Transfer(account,marketingWallet,marketingFee) (contracts/tokens/BabyArmy.sol#870)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- Transfer(account,charityWallet,charityFee) (contracts/tokens/BabyArmy.sol#884)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
- Transfer(account,address(0),burnFee) (contracts/tokens/BabyArmy.sol#894)
- transferAmount = collectFee(sender,amount,rate,recipient == pair,sender != pair && recipient != pair) (contracts/tokens/BabyArmy.sol#812)
Reentrancy in BabyArmy.constructor(address,address,address,address) (contracts/tokens/BabyArmy.sol#633-677):
External calls:
- pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/BabyArmy.sol#640)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (contracts/tokens/BabyArmy.sol#490)
- transferOwnership(_owner) (contracts/tokens/BabyArmy.sol#676)
- Transfer(address(0),_owner,_tokenTotal) (contracts/tokens/BabyArmy.sol#674)
Reentrancy in BabyArmy.swap() (contracts/tokens/BabyArmy.sol#900-942):
External calls:
- swapedEth = swapTokensForEth(charityWalletBalance,charityWallet) (contracts/tokens/BabyArmy.sol#922)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
Event emitted after the call(s):
- SwapTokenToBnbForCharityWallet(charityWalletBalance,swapedEth) (contracts/tokens/BabyArmy.sol#923)
Reentrancy in BabyArmy.swap() (contracts/tokens/BabyArmy.sol#900-942):
External calls:
- swapedEth = swapTokensForEth(charityWalletBalance,charityWallet) (contracts/tokens/BabyArmy.sol#922)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
- swapedEth_scope_0 = swapTokensForEth(marketingWalletBalance,marketingWallet) (contracts/tokens/BabyArmy.sol#938)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/BabyArmy.sol#790)
- swapedEth_scope_0 = swapTokensForEth(marketingWalletBalance,marketingWallet) (contracts/tokens/BabyArmy.sol#938)
- SwapTokenToBnbForMarketingWallet(marketingWalletBalance,swapedEth_scope_0) (contracts/tokens/BabyArmy.sol#939)
Reentrancy in BabyArmy.swapAndLiquify(uint256) (contracts/tokens/BabyArmy.sol#957-981):
External calls:
- swapTokensForEth(half,address(this)) (contracts/tokens/BabyArmy.sol#972)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/BabyArmy.sol#790)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/BabyArmy.sol#978)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/tokens/BabyArmy.sol#980)
Reentrancy in BabyArmy.transferFrom(address,address,uint256) (contracts/tokens/BabyArmy.sol#714-727):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/BabyArmy.sol#719)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/tokens/BabyArmy.sol#993-999)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/BabyArmy.sol#719)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/tokens/BabyArmy.sol#1009-1016)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/BabyArmy.sol#790)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/BabyArmy.sol#721-725)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (contracts/tokens/BabyArmy.sol#293-305) uses assembly
- INLINE ASM (contracts/tokens/BabyArmy.sol#301-303)
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/BabyArmy.sol#402-428) uses assembly
- INLINE ASM (contracts/tokens/BabyArmy.sol#420-423)
Do not use evm assembly.

Additional information: link

BabyArmy.includeAccount(address) (contracts/tokens/BabyArmy.sol#768-779) has costly operations inside a loop:
- _excluded.pop() (contracts/tokens/BabyArmy.sol#775)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/BabyArmy.sol#402-428) is never used and should be removed
Address.functionCall(address,bytes) (contracts/tokens/BabyArmy.sol#349-351) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/tokens/BabyArmy.sol#359-365) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/tokens/BabyArmy.sol#378-384) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/BabyArmy.sol#392-400) is never used and should be removed
Address.isContract(address) (contracts/tokens/BabyArmy.sol#293-305) is never used and should be removed
Address.sendValue(address,uint256) (contracts/tokens/BabyArmy.sol#323-329) is never used and should be removed
Context._msgData() (contracts/tokens/BabyArmy.sol#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/tokens/BabyArmy.sol#246-248) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/tokens/BabyArmy.sol#262-269) is never used and should be removed
Remove unused functions.

Additional information: link

BabyArmy._reflectionTotal (contracts/tokens/BabyArmy.sol#590) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tokenTotal))
BabyArmy.maxTxAmount (contracts/tokens/BabyArmy.sol#616) is set pre-construction with a non-constant function or state variable:
- _tokenTotal
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.0 (contracts/tokens/BabyArmy.sol#3) 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 Address.sendValue(address,uint256) (contracts/tokens/BabyArmy.sol#323-329):
- (success) = recipient.call{value: amount}() (contracts/tokens/BabyArmy.sol#327)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (contracts/tokens/BabyArmy.sol#402-428):
- (success,returndata) = target.call{value: weiValue}(data) (contracts/tokens/BabyArmy.sol#411)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Router01.WETH() (contracts/tokens/BabyArmy.sol#506) is not in mixedCase
Parameter BabyArmy.setPairAndRouter(address,IUniswapV2Router02)._pair (contracts/tokens/BabyArmy.sol#1019) is not in mixedCase
Parameter BabyArmy.setPairAndRouter(address,IUniswapV2Router02)._router (contracts/tokens/BabyArmy.sol#1019) is not in mixedCase
Variable BabyArmy._reflectionBalance (contracts/tokens/BabyArmy.sol#584) is not in mixedCase
Variable BabyArmy._tokenBalance (contracts/tokens/BabyArmy.sol#585) is not in mixedCase
Variable BabyArmy._allowances (contracts/tokens/BabyArmy.sol#586) is not in mixedCase
Variable BabyArmy._tokenTotal (contracts/tokens/BabyArmy.sol#589) is not in mixedCase
Variable BabyArmy._reflectionTotal (contracts/tokens/BabyArmy.sol#590) is not in mixedCase
Variable BabyArmy._isExcluded (contracts/tokens/BabyArmy.sol#593) is not in mixedCase
Variable BabyArmy._excluded (contracts/tokens/BabyArmy.sol#594) is not in mixedCase
Variable BabyArmy._feeDecimal (contracts/tokens/BabyArmy.sol#596) is not in mixedCase
Variable BabyArmy._taxFee (contracts/tokens/BabyArmy.sol#597) is not in mixedCase
Variable BabyArmy._liqFee (contracts/tokens/BabyArmy.sol#598) is not in mixedCase
Variable BabyArmy._charityFee (contracts/tokens/BabyArmy.sol#599) is not in mixedCase
Variable BabyArmy._marketingFee (contracts/tokens/BabyArmy.sol#600) is not in mixedCase
Variable BabyArmy._burnFee (contracts/tokens/BabyArmy.sol#601) is not in mixedCase
Variable BabyArmy._taxFeeTotal (contracts/tokens/BabyArmy.sol#603) is not in mixedCase
Variable BabyArmy._liqFeeTotal (contracts/tokens/BabyArmy.sol#604) is not in mixedCase
Variable BabyArmy._charityFeeTotal (contracts/tokens/BabyArmy.sol#605) is not in mixedCase
Variable BabyArmy._marketingFeeTotal (contracts/tokens/BabyArmy.sol#606) is not in mixedCase
Variable BabyArmy._burnFeeTotal (contracts/tokens/BabyArmy.sol#607) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/tokens/BabyArmy.sol#21)" inContext (contracts/tokens/BabyArmy.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/tokens/BabyArmy.sol#511) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/tokens/BabyArmy.sol#512)
Prevent variables from having similar names.

Additional information: link

BabyArmy._decimals (contracts/tokens/BabyArmy.sol#582) should be constant
BabyArmy._feeDecimal (contracts/tokens/BabyArmy.sol#596) should be constant
BabyArmy._name (contracts/tokens/BabyArmy.sol#580) should be constant
BabyArmy._symbol (contracts/tokens/BabyArmy.sol#581) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (contracts/tokens/BabyArmy.sol#460-462)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/tokens/BabyArmy.sol#479-482)
name() should be declared external:
- BabyArmy.name() (contracts/tokens/BabyArmy.sol#679-681)
symbol() should be declared external:
- BabyArmy.symbol() (contracts/tokens/BabyArmy.sol#683-685)
decimals() should be declared external:
- BabyArmy.decimals() (contracts/tokens/BabyArmy.sol#687-689)
totalSupply() should be declared external:
- BabyArmy.totalSupply() (contracts/tokens/BabyArmy.sol#691-693)
transfer(address,uint256) should be declared external:
- BabyArmy.transfer(address,uint256) (contracts/tokens/BabyArmy.sol#700-703)
allowance(address,address) should be declared external:
- BabyArmy.allowance(address,address) (contracts/tokens/BabyArmy.sol#705-707)
approve(address,uint256) should be declared external:
- BabyArmy.approve(address,uint256) (contracts/tokens/BabyArmy.sol#709-712)
transferFrom(address,address,uint256) should be declared external:
- BabyArmy.transferFrom(address,address,uint256) (contracts/tokens/BabyArmy.sol#714-727)
increaseAllowance(address,uint256) should be declared external:
- BabyArmy.increaseAllowance(address,uint256) (contracts/tokens/BabyArmy.sol#729-732)
decreaseAllowance(address,uint256) should be declared external:
- BabyArmy.decreaseAllowance(address,uint256) (contracts/tokens/BabyArmy.sol#734-741)
isExcluded(address) should be declared external:
- BabyArmy.isExcluded(address) (contracts/tokens/BabyArmy.sol#743-745)
reflectionFromToken(uint256) should be declared external:
- BabyArmy.reflectionFromToken(uint256) (contracts/tokens/BabyArmy.sol#747-750)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 8% buy tax and 14% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


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


Token is deployed only at one blockchain


Telegram account link seems to be invalid


Last post in Twitter was more than 180 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


Token was delisted from CoinGecko

Additional information: link


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

Additional information: link


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find code repository for the project


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


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

Price for BARMY

News for BARMY