BRAINBOW Token Logo

BRAIN [BRAINBOW] Token

About BRAIN

Listings

Not Found
Token 7 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

Reentrancy in BRAINBOW._transfer(address,address,uint256) (#1071-1125):
External calls:
- SwapAndSend(contractTokenBalance) (#1102)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#1144-1150)
External calls sending eth:
- SwapAndSend(contractTokenBalance) (#1102)
- marketingWallet.transfer(contractETHBalance) (#1154)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1124)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#1042)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1181)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1190)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1201)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1211)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1182)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1192)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1202)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1213)
- _tokenTransfer(from,to,amount,takeFee) (#1124)
- _rTotal = _rTotal.sub(rFee) (#987)
- _tokenTransfer(from,to,amount,takeFee) (#1124)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (#1044)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1210)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1200)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1191)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1212)
Apply the check-effects-interactions pattern.

Additional information: link

BRAINBOW.SwapAndSend(uint256) (#1135-1156) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(contractETHBalance) (#1154)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

BRAINBOW.setMarketingFee4Sellers(uint256) (#1230-1233) contains a tautology or contradiction:
- require(bool,string)(marketingFee4Sellers >= 0 && marketingFee4Sellers <= 15,marketingFee4Sellers should be in 0 - 15) (#1231)
Fix the incorrect comparison by changing the value type or the comparison.

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.

BRAINBOW.addToBlackList(address[]).i (#992) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.

Additional information: link

BRAINBOW._approve(address,address,uint256).owner (#1063) shadows:
- Ownable.owner() (#502-504) (function)
Rename the local variables that shadow another component.

Additional information: link

BRAINBOW.setMaxTxPercent(uint256) (#1263-1265) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1264)
Emit an event for critical parameter changes.

Additional information: link

BRAINBOW._setMarketingWallet(address).wallet (#1255) lacks a zero-check on :
- marketingWallet = wallet (#1256)
Check that the address is not zero.

Additional information: link

Reentrancy in BRAINBOW.transferFrom(address,address,uint256) (#896-900):
External calls:
- _transfer(sender,recipient,amount) (#897)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#1144-1150)
External calls sending eth:
- _transfer(sender,recipient,amount) (#897)
- marketingWallet.transfer(contractETHBalance) (#1154)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#898)
- _allowances[owner][spender] = amount (#1067)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BRAINBOW.transferFrom(address,address,uint256) (#896-900):
External calls:
- _transfer(sender,recipient,amount) (#897)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(contractTokenBalance,0,path,address(this),block.timestamp) (#1144-1150)
External calls sending eth:
- _transfer(sender,recipient,amount) (#897)
- marketingWallet.transfer(contractETHBalance) (#1154)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1068)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#898)
Apply the check-effects-interactions pattern.

Additional information: link

BRAINBOW._transfer(address,address,uint256) (#1071-1125) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < LaunchTime + 21600 (#1114)
Avoid relying on block.timestamp.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#451-468) uses assembly
- INLINE ASM (#460-463)
Do not use evm assembly.

Additional information: link

Ownable.onlyAdmins() (#517-520) compares to a boolean constant:
-require(bool)(owner() == _msgSender() || admins[_msgSender()] == true) (#518)
Remove the equality to the boolean constant.

Additional information: link

SafeMath.trySub(uint256,uint256) (#107-112) is never used and should be removed
Remove unused functions.

Additional information: link

BRAINBOW._rTotal (#826) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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.8.3 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 Address.functionDelegateCall(address,bytes,string) (#443-449):
- (success,returndata) = target.delegatecall(data) (#447)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BRAINBOW.SwapAndSendEnabled (#832) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#280)" inContext (#274-283)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in BRAINBOW.transferFrom(address,address,uint256) (#896-900):
External calls:
- _transfer(sender,recipient,amount) (#897)
- marketingWallet.transfer(contractETHBalance) (#1154)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#898)
- _allowances[owner][spender] = amount (#1067)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1068)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#898)
Apply the check-effects-interactions pattern.

Additional information: link

Variable BRAINBOW._transferToExcluded(address,address,uint256).rTransferAmount (#1189) is too similar to BRAINBOW._getValues(uint256).tTransferAmount (#1002)
Prevent variables from having similar names.

Additional information: link

BRAINBOW._symbol (#782) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setnumTokensToExchangeForMarketing(uint256) should be declared external:
- BRAINBOW.setnumTokensToExchangeForMarketing(uint256) (#1251-1253)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for BRAIN