CryptoBerry Token Logo

Berry [CryptoBerry] Token

About Berry

Listings

Not Found
Token 2 years
white paper

CryptoBerry is to caste forth an idea of building a community which will use CryptoBerry wallet to hold, share and transfer the token as it costs zero fee

Social

Laser Scorebeta Last Audit: 13 January 2022

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

Anti-Scam

Links


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

Reentrancy in CryptoBerry._transfer(address,address,uint256) (#685-770):
External calls:
- collectFees() (#736)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- collectFees() (#736)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
State variables written after the call(s):
- transferToken(from,address(this),feesToContract) (#747)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- transferToken(from,to,amount) (#748)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- transferToken(from,address(this),feesToContract_scope_0) (#757)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- transferToken(from,to,amount) (#759)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- transferToken(from,to,amount) (#763)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- transferToken(from,to,amount) (#768)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#905)
- _balances[recipient] = _balances[recipient].add(amount) (#906)
- lockTimeForAddress(to) (#749)
- lockTime[addressForLockTime] = block.timestamp + lockedTimeLimit (#813)
- lockTimeForAddress(from) (#760)
- lockTime[addressForLockTime] = block.timestamp + lockedTimeLimit (#813)
- lockTimeForAddress(to) (#764)
- lockTime[addressForLockTime] = block.timestamp + lockedTimeLimit (#813)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoBerry.swapAndSendToFee(uint256) (#845-850) ignores return value by IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

CryptoBerry.lockDynamicBuyTaxtime(address) (#799-806) uses a dangerous strict equality:
- taxTime[addressForLockTime] == 0 (#800)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

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

Additional information: link

CryptoBerry.slitherConstructorConstantVariables() (#432-910) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#446)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CryptoBerry._decimals (#441) should be constant
CryptoBerry._name (#439) should be constant
CryptoBerry._symbol (#440) should be constant
CryptoBerry.lockedTimeLimit (#469) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

CryptoBerry.addLiquidity(uint256,uint256) (#887-899) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
Ensure that all the return values of the function calls are used.

Additional information: link

CryptoBerry.allowance(address,address).owner (#553) shadows:
- Ownable.owner() (#191-193) (function)
CryptoBerry._approve(address,address,uint256).owner (#578) shadows:
- Ownable.owner() (#191-193) (function)
Rename the local variables that shadow another component.

Additional information: link

Ownable.setAdmin(address) (#211-213) should emit an event for:
- _admin = newAdmin (#212)
Emit an event for critical parameter changes.

Additional information: link

Ownable.setAdmin(address).newAdmin (#211) lacks a zero-check on :
- _admin = newAdmin (#212)
CryptoBerry.setMarketingAddress(address).newMarketingAddress (#586) lacks a zero-check on :
- marketingAddress = newMarketingAddress (#587)
CryptoBerry.setMarketingWalletToken(address)._marketingWalletToken (#603) lacks a zero-check on :
- marketingWalletToken = _marketingWalletToken (#604)
Check that the address is not zero.

Additional information: link

Reentrancy in CryptoBerry._transfer(address,address,uint256) (#685-770):
External calls:
- collectFees() (#736)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- collectFees() (#736)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
State variables written after the call(s):
- lockDynamicBuyTaxtime(to) (#750)
- taxTime[addressForLockTime] = block.timestamp (#801)
- taxTime[addressForLockTime] = block.timestamp (#804)
- lockDynamicSellTaxtime(from) (#761)
- taxTime[addressForLockTime] = block.timestamp (#809)
- lockDynamicBuyTaxtime(to) (#765)
- taxTime[addressForLockTime] = block.timestamp (#801)
- taxTime[addressForLockTime] = block.timestamp (#804)
Reentrancy in CryptoBerry.collectFees() (#822-829):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#826)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- swapAndSendToFee(marketingTokensToSell) (#828)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#826)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
State variables written after the call(s):
- swapAndSendToFee(marketingTokensToSell) (#828)
- _allowances[owner][spender] = amount (#582)
Reentrancy in CryptoBerry.constructor() (#479-516):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#481-482)
State variables written after the call(s):
- _balances[_msgSender()] = _totalSupply (#514)
- _isExcludedFromFees[owner()] = true (#486)
- _isExcludedFromFees[address(this)] = true (#487)
- _isExcludedFromFees[marketingAddress] = true (#488)
- _isExcludedFromMaxBalance[owner()] = true (#491)
- _isExcludedFromMaxBalance[address(this)] = true (#492)
- _isExcludedFromMaxBalance[uniswapV2Pair] = true (#493)
- _isExcludedFromMaxBalance[marketingAddress] = true (#494)
- _liquidityFee = 5 (#507)
- _liquifyThreshhold = _totalSupply.mul(2).div(1000) (#511)
- _marketingFee = 5 (#508)
- _maxBalance = _totalSupply.mul(2).div(100) (#512)
- _totalFees = _liquidityFee.add(_marketingFee) (#509)
- isBeforeTradable[msg.sender] = true (#504)
- isBeforeTradable[marketingAddress] = true (#505)
- isTimelockExempt[msg.sender] = true (#497)
- isTimelockExempt[address(this)] = true (#498)
- isTimelockExempt[uniswapV2Pair] = true (#499)
- isTimelockExempt[deadAddress] = true (#500)
- isTimelockExempt[marketingAddress] = true (#501)
- uniswapV2Router = _uniswapV2Router (#484)
Reentrancy in CryptoBerry.swapAndLiquify(uint256) (#831-843):
External calls:
- swapTokensForEth(half) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- addLiquidity(otherHalf,newBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#842)
- _allowances[owner][spender] = amount (#582)
Reentrancy in CryptoBerry.transferFrom(address,address,uint256) (#562-566):
External calls:
- _transfer(sender,recipient,amount) (#563)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- _transfer(sender,recipient,amount) (#563)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#564)
- _allowances[owner][spender] = amount (#582)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CryptoBerry._transfer(address,address,uint256) (#685-770):
External calls:
- collectFees() (#736)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- collectFees() (#736)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,address(this),feesToContract) (#747)
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,to,amount) (#763)
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,to,amount) (#748)
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,to,amount) (#759)
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,address(this),feesToContract_scope_0) (#757)
- Transfer(sender,recipient,amount) (#907)
- transferToken(from,to,amount) (#768)
Reentrancy in CryptoBerry.collectFees() (#822-829):
External calls:
- swapAndLiquify(liquidityTokensToSell) (#826)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- swapAndSendToFee(marketingTokensToSell) (#828)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- swapAndLiquify(liquidityTokensToSell) (#826)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#583)
- swapAndSendToFee(marketingTokensToSell) (#828)
Reentrancy in CryptoBerry.constructor() (#479-516):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#481-482)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#515)
Reentrancy in CryptoBerry.swapAndLiquify(uint256) (#831-843):
External calls:
- swapTokensForEth(half) (#838)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- addLiquidity(otherHalf,newBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#583)
- addLiquidity(otherHalf,newBalance) (#842)
Reentrancy in CryptoBerry.transferFrom(address,address,uint256) (#562-566):
External calls:
- _transfer(sender,recipient,amount) (#563)
- IERC20(marketingWalletToken).transfer(marketingAddress,IERC20(marketingWalletToken).balanceOf(address(this))) (#849)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#860-866)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#878-884)
External calls sending eth:
- _transfer(sender,recipient,amount) (#563)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#891-898)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#583)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#564)
Apply the check-effects-interactions pattern.

Additional information: link

CryptoBerry._transfer(address,address,uint256) (#685-770) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > lockTime[from],You cannot sell within 24 hours) (#714)
CryptoBerry.calculateTax(address) (#773-797) uses timestamp for comparisons
Dangerous comparisons:
- timeDifference < 5184000 (#777)
- (timeDifference >= 5184000) && (timeDifference < 10368000) (#779)
- (timeDifference >= 10368000) && (timeDifference < 15552000) (#781)
- (timeDifference >= 15552000) && (timeDifference < 20736000) (#783)
- (timeDifference >= 20736000) && (timeDifference < 25920000) (#785)
- timeDifference >= 25920000 (#787)
CryptoBerry.lockDynamicBuyTaxtime(address) (#799-806) uses timestamp for comparisons
Dangerous comparisons:
- taxTime[addressForLockTime] == 0 (#800)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#121-130) uses assembly
- INLINE ASM (#128)
Address._functionCallWithValue(address,bytes,uint256,string) (#158-175) uses assembly
- INLINE ASM (#167-170)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#158-175) is never used and should be removed
Address.functionCall(address,bytes) (#141-143) is never used and should be removed
Address.functionCall(address,bytes,string) (#145-147) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#149-151) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#153-156) is never used and should be removed
Address.isContract(address) (#121-130) is never used and should be removed
Address.sendValue(address,uint256) (#132-138) is never used and should be removed
Context._msgData() (#44-47) is never used and should be removed
SafeMath.mod(uint256,uint256) (#109-111) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#113-116) is never used and should be removed
Remove unused functions.

Additional information: link

CryptoBerry._totalSupply (#442) is set pre-construction with a non-constant function or state variable:
- 1000 * 10 ** 9 * 10 ** _decimals
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 Address.sendValue(address,uint256) (#132-138):
- (success) = recipient.call{value: amount}() (#136)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#158-175):
- (success,returndata) = target.call{value: weiValue}(data) (#161)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#263) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#264) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#280) is not in mixedCase
Function IUniswapV2Router01.WETH() (#299) is not in mixedCase
Function CryptoBerry.IsTradingHappening() (#524-526) is not in mixedCase
Parameter CryptoBerry.setMarketingWalletToken(address)._marketingWalletToken (#603) is not in mixedCase
Constant CryptoBerry.deadAddress (#446) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#45)" inContext (#39-48)
Remove redundant statements if they congest code but offer no value.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#200-203)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#205-209)
setAdmin(address) should be declared external:
- Ownable.setAdmin(address) (#211-213)
admin() should be declared external:
- Ownable.admin() (#215-217)
transferAdmin(address) should be declared external:
- Ownable.transferAdmin(address) (#224-228)
name() should be declared external:
- CryptoBerry.name() (#528-530)
symbol() should be declared external:
- CryptoBerry.symbol() (#532-534)
decimals() should be declared external:
- CryptoBerry.decimals() (#536-538)
totalSupply() should be declared external:
- CryptoBerry.totalSupply() (#540-542)
transfer(address,uint256) should be declared external:
- CryptoBerry.transfer(address,uint256) (#548-551)
allowance(address,address) should be declared external:
- CryptoBerry.allowance(address,address) (#553-555)
approve(address,uint256) should be declared external:
- CryptoBerry.approve(address,uint256) (#557-560)
transferFrom(address,address,uint256) should be declared external:
- CryptoBerry.transferFrom(address,address,uint256) (#562-566)
increaseAllowance(address,uint256) should be declared external:
- CryptoBerry.increaseAllowance(address,uint256) (#568-571)
decreaseAllowance(address,uint256) should be declared external:
- CryptoBerry.decreaseAllowance(address,uint256) (#573-576)
isExcludedFromFees(address) should be declared external:
- CryptoBerry.isExcludedFromFees(address) (#613-615)
isExcludedFromMaxBalance(address) should be declared external:
- CryptoBerry.isExcludedFromMaxBalance(address) (#625-627)
totalFees() should be declared external:
- CryptoBerry.totalFees() (#637-639)
liquidityFee() should be declared external:
- CryptoBerry.liquidityFee() (#641-643)
marketingFee() should be declared external:
- CryptoBerry.marketingFee() (#645-647)
liquifyThreshhold() should be declared external:
- CryptoBerry.liquifyThreshhold() (#649-651)
maxBalance() should be declared external:
- CryptoBerry.maxBalance() (#653-655)
isIncludedBeforeTrading(address) should be declared external:
- CryptoBerry.isIncludedBeforeTrading(address) (#657-659)
isExcludedFromTimelock(address) should be declared external:
- CryptoBerry.isExcludedFromTimelock(address) (#669-671)
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.


Telegram account has less than 100 subscribers


Twitter account has less than 100 followers


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 on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

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


Unable to find code repository for the project


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for Berry

News for Berry