CharlieBrown Token Logo

CHARLIEBR [CharlieBrown] Token

About CHARLIEBR

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 26 December 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 CharlieBrown._transfer(address,address,uint256) (#1000-1051):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- devAddress.sendValue(devFee) (#1108)
- treasuryAddress.sendValue(treasuryFee) (#1109)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _rOwned[address(this)] += rToSwap (#907)
- _rOwned[sender] -= s.rAmount (#1069)
- _rOwned[recipient] += s.rTransferAmount (#1070)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _rTotal -= rRfi (#902)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- _tOwned[sender] -= tAmount (#1063)
- _tOwned[address(this)] += tToSwap (#908)
- _tOwned[recipient] += s.tTransferAmount (#1066)
Reentrancy in CharlieBrown.transferFrom(address,address,uint256) (#755-772):
External calls:
- _transfer(sender,recipient,amount) (#760)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- devAddress.sendValue(devFee) (#1108)
- treasuryAddress.sendValue(treasuryFee) (#1109)
External calls sending eth:
- _transfer(sender,recipient,amount) (#760)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#768)
- _allowances[owner][spender] = amount (#996)
Apply the check-effects-interactions pattern.

Additional information: link

CharlieBrown.addLiquidity(uint256,uint256) (#1132-1143) ignores return value by UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
Ensure that all the return values of the function calls are used.

Additional information: link

CharlieBrown.allowance(address,address).owner (#737) shadows:
- Ownable.owner() (#62-64) (function)
CharlieBrown._approve(address,address,uint256).owner (#990) shadows:
- Ownable.owner() (#62-64) (function)
Rename the local variables that shadow another component.

Additional information: link

CharlieBrown.setMaxTransactionAmount(uint256,uint256) (#1187-1193) should emit an event for:
- maxTxAmountBuy = _tTotal / _maxTxAmountBuyPct (#1191)
- maxTxAmountSell = _tTotal / _maxTxAmountSellPct (#1192)
CharlieBrown.setNumTokensSellToAddToLiq(uint256) (#1195-1200) should emit an event for:
- numTokensSellToAddToLiquidity = amountTokens * 10 ** _decimals (#1199)
Emit an event for critical parameter changes.

Additional information: link

CharlieBrown.setTreasuryAddress(address)._treasuryAddress (#1202) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#1206)
CharlieBrown.setDevAddress(address)._devAddress (#1209) lacks a zero-check on :
- devAddress = _devAddress (#1210)
Check that the address is not zero.

Additional information: link

Reentrancy in CharlieBrown._transfer(address,address,uint256) (#1000-1051):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- devAddress.sendValue(devFee) (#1108)
- treasuryAddress.sendValue(treasuryFee) (#1109)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- totFeesPaid.rfi += tRfi (#903)
- totFeesPaid.toSwap += tToSwap (#909)
Reentrancy in CharlieBrown.constructor() (#679-703):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#683)
State variables written after the call(s):
- UniswapV2Router = _UniswapV2Router (#686)
- _isExcludedFromFee[owner()] = true (#690)
- _isExcludedFromFee[treasuryAddress] = true (#691)
- _isExcludedFromFee[devAddress] = true (#692)
- _isExcludedFromFee[address(this)] = true (#693)
- _isExcludedFromMaxWallet[owner()] = true (#695)
- _isExcludedFromMaxWallet[treasuryAddress] = true (#696)
- _isExcludedFromMaxWallet[devAddress] = true (#697)
- _isExcludedFromMaxWallet[address(this)] = true (#698)
- _isExcludedFromMaxWallet[uniswapPair] = true (#700)
- _rOwned[owner()] = _rTotal (#687)
- devAddress = address(msg.sender) (#689)
- isAutomatedMarketMakerPair[uniswapPair] = true (#684)
- treasuryAddress = address(msg.sender) (#688)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CharlieBrown._transfer(address,address,uint256) (#1000-1051):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- devAddress.sendValue(devFee) (#1108)
- treasuryAddress.sendValue(treasuryFee) (#1109)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1047)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tToSwap) (#1074)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
- Transfer(sender,recipient,s.tTransferAmount) (#1081)
- _tokenTransfer(from,to,amount,takeFee) (#1050)
Reentrancy in CharlieBrown.addLiquidity(uint256,uint256) (#1132-1143):
External calls:
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1142)
Reentrancy in CharlieBrown.constructor() (#679-703):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#683)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(uniswapPair,true) (#685)
- Transfer(address(0),owner(),_tTotal) (#702)
Reentrancy in CharlieBrown.swapAndLiquify(uint256) (#1084-1110):
External calls:
- swapTokensForETH(toSwap) (#1093)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1100)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1100)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1142)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1100)
Reentrancy in CharlieBrown.transferFrom(address,address,uint256) (#755-772):
External calls:
- _transfer(sender,recipient,amount) (#760)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1123-1129)
- devAddress.sendValue(devFee) (#1108)
- treasuryAddress.sendValue(treasuryFee) (#1109)
External calls sending eth:
- _transfer(sender,recipient,amount) (#760)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1134-1141)
- (success) = recipient.call{value: amount}() (#407)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#997)
- _approve(sender,_msgSender(),currentAllowance - amount) (#768)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#376-386) uses assembly
- INLINE ASM (#382-384)
Address.verifyCallResult(bool,bytes,string) (#545-565) uses assembly
- INLINE ASM (#557-560)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0']
- ^0.8.0 (#6)
- ^0.8.0 (#33)
- ^0.8.0 (#104)
- >=0.6.2 (#187)
- >=0.6.2 (#286)
- >=0.5.0 (#332)
- ^0.8.0 (#353)
- ^0.8.0 (#570)
Use one Solidity version.

Additional information: link

CharlieBrown.includeInReward(address) (#846-857) has costly operations inside a loop:
- _excluded.pop() (#853)
Use a local variable to hold the loop computation result.

Additional information: link

Address.functionCall(address,bytes) (#429-431) is never used and should be removed
Address.functionCall(address,bytes,string) (#439-445) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#458-464) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#472-483) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#518-520) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#528-537) is never used and should be removed
Address.functionStaticCall(address,bytes) (#491-493) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#501-510) is never used and should be removed
Address.isContract(address) (#376-386) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#545-565) is never used and should be removed
Context._msgData() (#25-27) is never used and should be removed
Remove unused functions.

Additional information: link

CharlieBrown._rTotal (#591) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
CharlieBrown.maxTxAmountBuy (#593) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
CharlieBrown.maxTxAmountSell (#594) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
CharlieBrown.maxWalletAmount (#595) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
CharlieBrown.numTokensSellToAddToLiquidity (#614) is set pre-construction with a non-constant function or state variable:
- _tTotal / 500
CharlieBrown.appliedRates (#642) is set pre-construction with a non-constant function or state variable:
- buyRates
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.8.0 (#6) allows old versions
Pragma version^0.8.0 (#33) allows old versions
Pragma version^0.8.0 (#104) allows old versions
Pragma version>=0.6.2 (#187) allows old versions
Pragma version>=0.6.2 (#286) allows old versions
Pragma version>=0.5.0 (#332) allows old versions
Pragma version^0.8.0 (#353) allows old versions
Pragma version^0.8.0 (#570) 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) (#404-409):
- (success) = recipient.call{value: amount}() (#407)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#472-483):
- (success,returndata) = target.call{value: value}(data) (#481)
Low level call in Address.functionStaticCall(address,bytes,string) (#501-510):
- (success,returndata) = target.staticcall(data) (#508)
Low level call in Address.functionDelegateCall(address,bytes,string) (#528-537):
- (success,returndata) = target.delegatecall(data) (#535)
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() (#191) is not in mixedCase
Struct CharlieBrown.feeRatesStruct (#616-622) is not in CapWords
Struct CharlieBrown.valuesFromGetValues (#650-658) is not in CapWords
Parameter CharlieBrown.setSwapAndLiquifyEnabled(bool)._enabled (#893) is not in mixedCase
Parameter CharlieBrown.addLiquidity(uint256,uint256).ETHAmount (#1132) is not in mixedCase
Parameter CharlieBrown.setAutomatedMarketMakerPair(address,bool)._pair (#1145) is not in mixedCase
Parameter CharlieBrown.setBuyFees(uint8,uint8,uint8,uint8)._rfi (#1162) is not in mixedCase
Parameter CharlieBrown.setBuyFees(uint8,uint8,uint8,uint8)._treasury (#1163) is not in mixedCase
Parameter CharlieBrown.setBuyFees(uint8,uint8,uint8,uint8)._dev (#1164) is not in mixedCase
Parameter CharlieBrown.setBuyFees(uint8,uint8,uint8,uint8)._lp (#1165) is not in mixedCase
Parameter CharlieBrown.setSellFees(uint8,uint8,uint8,uint8)._rfi (#1175) is not in mixedCase
Parameter CharlieBrown.setSellFees(uint8,uint8,uint8,uint8)._treasury (#1176) is not in mixedCase
Parameter CharlieBrown.setSellFees(uint8,uint8,uint8,uint8)._dev (#1177) is not in mixedCase
Parameter CharlieBrown.setSellFees(uint8,uint8,uint8,uint8)._lp (#1178) is not in mixedCase
Parameter CharlieBrown.setMaxTransactionAmount(uint256,uint256)._maxTxAmountBuyPct (#1188) is not in mixedCase
Parameter CharlieBrown.setMaxTransactionAmount(uint256,uint256)._maxTxAmountSellPct (#1189) is not in mixedCase
Parameter CharlieBrown.setTreasuryAddress(address)._treasuryAddress (#1202) is not in mixedCase
Parameter CharlieBrown.setDevAddress(address)._devAddress (#1209) is not in mixedCase
Parameter CharlieBrown.setMaxWalletAmount(uint256)._maxWalletAmountPct (#1227) is not in mixedCase
Constant CharlieBrown._decimals (#587) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CharlieBrown._name (#606) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CharlieBrown._symbol (#607) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CharlieBrown.UniswapV2Router (#611) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#196) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#197)
Prevent variables from having similar names.

Additional information: link

CharlieBrown._tTotal (#590) should be constant
CharlieBrown.blocksToWait (#599) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#81-83)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#89-92)
name() should be declared external:
- CharlieBrown.name() (#706-708)
symbol() should be declared external:
- CharlieBrown.symbol() (#710-712)
decimals() should be declared external:
- CharlieBrown.decimals() (#714-716)
totalSupply() should be declared external:
- CharlieBrown.totalSupply() (#719-721)
transfer(address,uint256) should be declared external:
- CharlieBrown.transfer(address,uint256) (#728-735)
approve(address,uint256) should be declared external:
- CharlieBrown.approve(address,uint256) (#746-753)
transferFrom(address,address,uint256) should be declared external:
- CharlieBrown.transferFrom(address,address,uint256) (#755-772)
increaseAllowance(address,uint256) should be declared external:
- CharlieBrown.increaseAllowance(address,uint256) (#774-785)
decreaseAllowance(address,uint256) should be declared external:
- CharlieBrown.decreaseAllowance(address,uint256) (#787-802)
isExcludedFromReward(address) should be declared external:
- CharlieBrown.isExcludedFromReward(address) (#804-806)
reflectionFromToken(uint256,bool) should be declared external:
- CharlieBrown.reflectionFromToken(uint256,bool) (#808-821)
excludeMultipleAccountsFromMaxWallet(address[],bool) should be declared external:
- CharlieBrown.excludeMultipleAccountsFromMaxWallet(address[],bool) (#863-875)
isExcludedFromFee(address) should be declared external:
- CharlieBrown.isExcludedFromFee(address) (#881-883)
isExcludedFromMaxWallet(address) should be declared external:
- CharlieBrown.isExcludedFromMaxWallet(address) (#885-891)
setSwapAndLiquifyEnabled(bool) should be declared external:
- CharlieBrown.setSwapAndLiquifyEnabled(bool) (#893-896)
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.


Number of Binance Smart Chain (BSC) token holders is low.


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 CHARLIEBR