Brain Soup Token Logo

BRAIN [Brain Soup] Token

About BRAIN

Listings

Token 20 months

Website

white paper

Don't let the name fool you - there is a lot to learn about Brain Soup upcoming ecosystem and utility.
✅ SAFU: KYC + Audit ✅ Audit by TechAudit ✅ Hold BRAIN = get USDC. Passively! ✅ Huge Marketing Campaign 🎁 Experienced Team 🔥 Up to 120% Staking APY 💎 Buy tax: 7% || Sell tax: 7% || Launching When Presale Ends -> 🚀 Launch: August 23, 14:00 UTC ⚜️ CMC & CG Fast-Track in 24h after Launch ⚜️ CEX listing on several Top 30 CEX

Social

Laser Scorebeta Last Audit: 13 October 2022

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

Reentrancy in BrainSoup._transferFrom(address,address,uint256) (#593-634):
External calls:
- swapBack() (#603)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#668-674)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
External calls sending eth:
- swapBack() (#603)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#611)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#619)
- finalAmount = takeFee(sender,recipient,amount) (#618)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#648)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#214-226) ignores return value by RewardToken.transfer(shareholder,amount) (#220)
DividendDistributor.rescueDividends(address) (#232-234) ignores return value by RewardToken.transfer(to,RewardToken.balanceOf(address(this))) (#233)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Contract ownership is not renounced (belongs to a wallet)

BrainSoup.swapBack().tmpSuccess (#686) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
tmpSuccess = false (#689)
Fix or remove the writes.

Additional information: link

Variable BrainSoup._allowances (#381) is not in mixedCase
Variable BrainSoup.RewardToken (#372) is not in mixedCase
Function IDEXRouter.WETH() (#43) is not in mixedCase
Parameter BrainSoup.setRewardToken(address)._rewardToken (#577) is not in mixedCase
Constant BrainSoup._name (#365) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DividendDistributor.RewardToken (#109) is not in mixedCase
Variable BrainSoup._totalSupply (#374) is not in mixedCase
Variable BrainSoup._walletMax (#376) is not in mixedCase
Parameter DividendDistributor.setRewardToken(address)._rewardToken (#236) is not in mixedCase
Variable BrainSoup._balances (#380) is not in mixedCase
Variable BrainSoup.DEAD (#369) is not in mixedCase
Constant BrainSoup._symbol (#366) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DividendDistributor._token (#99) is not in mixedCase
Constant BrainSoup._decimals (#367) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BrainSoup._maxTxAmount (#375) is not in mixedCase
Variable BrainSoup.ZERO (#370) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

BrainSoup.slitherConstructorVariables() (#361-708) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#374)
BrainSoup.changeWalletLimit(uint256) (#504-507) uses literals with too many digits:
- require(bool)(newLimit >= 10000000 * 10 ** _decimals) (#506)
BrainSoup.slitherConstructorVariables() (#361-708) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#370)
BrainSoup.changeTxLimit(uint256) (#495-498) uses literals with too many digits:
- require(bool)(newLimit >= 1000000 * 10 ** _decimals) (#497)
BrainSoup.slitherConstructorVariables() (#361-708) uses literals with too many digits:
- _maxTxAmount = 1000000 * (10 ** _decimals) (#375)
BrainSoup.slitherConstructorVariables() (#361-708) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#369)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BrainSoup.RewardToken (#372) is never used in BrainSoup (#361-708)
Remove unused state variables.

Additional information: link

BrainSoup.DEAD (#369) should be constant
DividendDistributor.routerAddress (#108) should be constant
BrainSoup.routerAddress (#371) should be constant
BrainSoup.RewardToken (#372) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#120) should be constant
BrainSoup.ZERO (#370) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#352-356)
getCirculatingSupply() should be declared external:
- BrainSoup.getCirculatingSupply() (#466-468)
authorize(address) should be declared external:
- Auth.authorize(address) (#331-333)
enableTrading() should be declared external:
- BrainSoup.enableTrading() (#654-656)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in BrainSoup._transferFrom(address,address,uint256) (#593-634):
External calls:
- swapBack() (#603)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#668-674)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
External calls sending eth:
- swapBack() (#603)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#649)
- finalAmount = takeFee(sender,recipient,amount) (#618)
Reentrancy in BrainSoup.swapBack() (#658-703):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#668-674)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#701)
Reentrancy in BrainSoup._transferFrom(address,address,uint256) (#593-634):
External calls:
- swapBack() (#603)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#668-674)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
- dividendDistributor.setShare(sender,_balances[sender]) (#623)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#627)
- dividendDistributor.process(distributorGas) (#630)
External calls sending eth:
- swapBack() (#603)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#632)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#209-212) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#210-211)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#185-207) has costly operations inside a loop:
- currentIndex = 0 (#196)
DividendDistributor.distributeDividend(address) (#214-226) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#219)
DividendDistributor.process(uint256) (#185-207) has costly operations inside a loop:
- currentIndex ++ (#204)
Use a local variable to hold the loop computation result.

Additional information: link

BrainSoup.checkTxLimit(address,uint256) (#500-502) is never used and should be removed
Remove unused functions.

Additional information: link

BrainSoup._walletMax (#376) is set pre-construction with a non-constant function or state variable:
- _totalSupply
BrainSoup.swapThreshold (#411) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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

Low level call in BrainSoup.swapBack() (#658-703):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#148-163):
External calls:
- distributeDividend(shareholder) (#151)
- RewardToken.transfer(shareholder,amount) (#220)
State variables written after the call(s):
- shares[shareholder].amount = amount (#161)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#162)
Reentrancy in DividendDistributor.process(uint256) (#185-207):
External calls:
- distributeDividend(shareholders[currentIndex]) (#199)
- RewardToken.transfer(shareholder,amount) (#220)
State variables written after the call(s):
- currentIndex ++ (#204)
Reentrancy in DividendDistributor.distributeDividend(address) (#214-226):
External calls:
- RewardToken.transfer(shareholder,amount) (#220)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#222)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#223)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

BrainSoup.changeFees(uint256,uint256,uint256) (#542-550) should emit an event for:
- liquidityFee = newLiqFee (#543)
- rewardsFee = newRewardFee (#544)
- marketingFee = newMarketingFee (#545)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#547)
- totalFeeIfSelling = totalFee (#548)
BrainSoup.changeTxLimit(uint256) (#495-498) should emit an event for:
- _maxTxAmount = newLimit (#496)
DividendDistributor.setDistributionCriteria(uint256,uint256) (#143-146) should emit an event for:
- minPeriod = newMinPeriod (#144)
- minDistribution = newMinDistribution (#145)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#352) lacks a zero-check on :
- owner = adr (#353)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#214-226) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#220)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in BrainSoup._transferFrom(address,address,uint256) (#593-634):
External calls:
- swapBack() (#603)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#668-674)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
External calls sending eth:
- swapBack() (#603)
- dividendDistributor.deposit{value: amountBNBReflection}() (#684)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: amountBNBMarketing}() (#686)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#693-700)
State variables written after the call(s):
- launch() (#607)
- launchedAt = block.number (#492)
Reentrancy in DividendDistributor.distributeDividend(address) (#214-226):
External calls:
- RewardToken.transfer(shareholder,amount) (#220)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#221)
Reentrancy in DividendDistributor.deposit() (#165-183):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#173-178)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#182)
- totalDividends = totalDividends.add(amount) (#181)
Reentrancy in DividendDistributor.setShare(address,uint256) (#148-163):
External calls:
- distributeDividend(shareholder) (#151)
- RewardToken.transfer(shareholder,amount) (#220)
State variables written after the call(s):
- addShareholder(shareholder) (#155)
- shareholderIndexes[shareholder] = shareholders.length (#256)
- removeShareholder(shareholder) (#157)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#262)
- addShareholder(shareholder) (#155)
- shareholders.push(shareholder) (#257)
- removeShareholder(shareholder) (#157)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#261)
- shareholders.pop() (#263)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#160)
Apply the check-effects-interactions pattern.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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 KYC or doxxing proof


Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)


Unable to verify token contract address on the website


Unable to find Telegram link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Token is relatively young, but twitter if very old (probably it's fake).

Price for BRAIN