Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
name() should be declared external:
- ERC20Detailed.name() (#34-36)
symbol() should be declared external:
- ERC20Detailed.symbol() (#37-39)
decimals() should be declared external:
- ERC20Detailed.decimals() (#40-42)
totalSupply() should be declared external:
- CBB.totalSupply() (#175-177)
balanceOf(address) should be declared external:
- CBB.balanceOf(address) (#178-180)
transfer(address,uint256) should be declared external:
- CBB.transfer(address,uint256) (#181-184)
allowance(address,address) should be declared external:
- CBB.allowance(address,address) (#185-187)
approve(address,uint256) should be declared external:
- CBB.approve(address,uint256) (#188-191)
transferFrom(address,address,uint256) should be declared external:
- CBB.transferFrom(address,address,uint256) (#193-197)
increaseAllowance(address,uint256) should be declared external:
- CBB.increaseAllowance(address,uint256) (#198-201)
decreaseAllowance(address,uint256) should be declared external:
- CBB.decreaseAllowance(address,uint256) (#202-205)
setIscanswap(bool) should be declared external:
- CBB.setIscanswap(bool) (#295-298)
setWhiteaddress(address,bool) should be declared external:
- CBB.setWhiteaddress(address,bool) (#300-304)
setpancakePair(address) should be declared external:
- CBB.setpancakePair(address) (#307-310)
cbspk(address,uint256) should be declared external:
- CBB.cbspk(address,uint256) (#340-343)
burn(uint256) should be declared external:
- CBB.burn(uint256) (#346-348)
setGovernance(address) should be declared external:
- CBB.setGovernance(address) (#351-354)
Use the external attribute for functions never called from the contract.
Additional information: link
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(90).div(100) (#236)
-_balances[rec2] = _balances[rec2].add(amount.mul(3).div(100)) (#237)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(90).div(100) (#236)
-Transfer(sender,rec2,amount.mul(3).div(100)) (#238)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-amount = amount.mul(90).div(100) (#236)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_balances[rec2] = _balances[rec2].add(amount.mul(3).div(100)) (#229)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_balances[rec3] = _balances[rec3].add(amount.mul(1).div(100)) (#239)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-Transfer(sender,rec2,amount.mul(3).div(100)) (#230)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-Transfer(sender,rec3,amount.mul(1).div(100)) (#240)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_balances[rec3] = _balances[rec3].add(amount.mul(1).div(100)) (#231)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_balances[address(this)] = _balances[address(this)].add(amount.mul(6).div(100)) (#241)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_burn(address(this),amount.mul(6).div(100)) (#242)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-Transfer(sender,rec3,amount.mul(1).div(100)) (#232)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_balances[address(this)] = _balances[address(this)].add(amount.mul(4).div(100)) (#233)
CBB._transfer(address,address,uint256) (#208-250) performs a multiplication on the result of a division:
-amount = amount.mul(92).div(100) (#228)
-_burn(address(this),amount.mul(4).div(100)) (#234)
Consider ordering multiplication before division.
Additional information: link
ERC20Detailed.constructor(string,string,uint8).name (#29) shadows:
- ERC20Detailed.name() (#34-36) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (#29) shadows:
- ERC20Detailed.symbol() (#37-39) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (#29) shadows:
- ERC20Detailed.decimals() (#40-42) (function)
Rename the local variables that shadow another component.
Additional information: link
CBB.setpancakePair(address)._u (#307) lacks a zero-check on :
- pancakePair = _u (#309)
CBB.constructor(address,address)._u (#318) lacks a zero-check on :
- token1 = _u (#334)
CBB.setGovernance(address)._governance (#351) lacks a zero-check on :
- governance = _governance (#353)
Check that the address is not zero.
Additional information: link
Address.isContract(address) (#93-98) uses assembly
- INLINE ASM (#96)
Do not use evm assembly.
Additional information: link
Address.isContract(address) (#93-98) is never used and should be removed
SafeERC20.callOptionalReturn(IERC20,bytes) (#119-130) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (#113-118) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (#105-107) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (#109-111) is never used and should be removed
SafeMath.mod(uint256,uint256) (#82-84) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#86-89) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.5.4 (#2) 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 SafeERC20.callOptionalReturn(IERC20,bytes) (#119-130):
- (success,returndata) = address(token).call(data) (#123)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeRouter01.WETH() (#135) is not in mixedCase
Parameter CBB.setIscanswap(bool)._tf (#295) is not in mixedCase
Parameter CBB.setWhiteaddress(address,bool)._user (#300) is not in mixedCase
Parameter CBB.setWhiteaddress(address,bool)._tf (#300) is not in mixedCase
Parameter CBB.setpancakePair(address)._u (#307) is not in mixedCase
Parameter CBB.setGovernance(address)._governance (#351) is not in mixedCase
Parameter CBB.addcbspker(address)._cbspker (#356) is not in mixedCase
Variable CBB.PancakeRouter01 (#287) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
CBB.slitherConstructorVariables() (#160-362) uses literals with too many digits:
- maxSupply = 1000000000000000 * 1e18 (#174)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CBB.maxSupply (#174) should be constant
CBB.rec1 (#312) should be constant
CBB.rec2 (#313) should be constant
CBB.rec3 (#314) should be constant
CBB.rec4 (#315) should be constant
CBB.whitelen (#283) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
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 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
Unable to find Telegram and Twitter accounts