CDzToken._writeCheckpoint(address,uint32,uint256,uint256) (contracts/CDzToken.sol#218-236) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (contracts/CDzToken.sol#228)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BEP20.allowance(address,address).owner (contracts/libraries/BEP20.sol#123) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#34-36) (function)
BEP20._approve(address,address,uint256).owner (contracts/libraries/BEP20.sol#295) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#34-36) (function)
Rename the local variables that shadow another component.
Additional information: link
CDzToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (contracts/CDzToken.sol#84-125) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp <= expiry,CDZ::delegateBySig: signature expired) (contracts/CDzToken.sol#123)
Avoid relying on block.timestamp.
Additional information: link
CDzToken.getChainId() (contracts/CDzToken.sol#243-247) uses assembly
- INLINE ASM (contracts/CDzToken.sol#245)
Address.isContract(address) (contracts/libraries/Address.sol#26-37) uses assembly
- INLINE ASM (contracts/libraries/Address.sol#33-35)
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/libraries/Address.sol#134-160) uses assembly
- INLINE ASM (contracts/libraries/Address.sol#152-155)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (contracts/libraries/Address.sol#134-160) is never used and should be removed
Address.functionCall(address,bytes) (contracts/libraries/Address.sol#81-83) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/libraries/Address.sol#91-97) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/libraries/Address.sol#110-116) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/libraries/Address.sol#124-132) is never used and should be removed
Address.isContract(address) (contracts/libraries/Address.sol#26-37) is never used and should be removed
Address.sendValue(address,uint256) (contracts/libraries/Address.sol#55-61) is never used and should be removed
BEP20._burn(address,uint256) (contracts/libraries/BEP20.sol#273-279) is never used and should be removed
BEP20._burnFrom(address,uint256) (contracts/libraries/BEP20.sol#312-319) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#20-22) is never used and should be removed
SafeMath.div(uint256,uint256) (contracts/libraries/SafeMath.sol#107-109) is never used and should be removed
SafeMath.div(uint256,uint256,string) (contracts/libraries/SafeMath.sol#123-133) is never used and should be removed
SafeMath.min(uint256,uint256) (contracts/libraries/SafeMath.sol#172-174) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/libraries/SafeMath.sol#147-149) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/libraries/SafeMath.sol#163-170) is never used and should be removed
SafeMath.mul(uint256,uint256) (contracts/libraries/SafeMath.sol#81-93) is never used and should be removed
SafeMath.sqrt(uint256) (contracts/libraries/SafeMath.sol#177-188) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3) allows old versions
Pragma version^0.8.0 (contracts/CDzToken.sol#3) allows old versions
Pragma version^0.8.0 (contracts/interfaces/IBEP20.sol#3) allows old versions
Pragma version^0.8.0 (contracts/libraries/Address.sol#3) allows old versions
Pragma version^0.8.0 (contracts/libraries/BEP20.sol#3) allows old versions
Pragma version^0.8.0 (contracts/libraries/SafeMath.sol#3) allows old versions
solc-0.8.0 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.sendValue(address,uint256) (contracts/libraries/Address.sol#55-61):
- (success) = recipient.call{value: amount}() (contracts/libraries/Address.sol#59)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (contracts/libraries/Address.sol#134-160):
- (success,returndata) = target.call{value: weiValue}(data) (contracts/libraries/Address.sol#143)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter CDzToken.mint(address,uint256)._to (contracts/CDzToken.sol#14) is not in mixedCase
Parameter CDzToken.mint(address,uint256)._amount (contracts/CDzToken.sol#14) is not in mixedCase
Variable CDzToken._delegates (contracts/CDzToken.sol#26) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#61-64)
mint(address,uint256) should be declared external:
- CDzToken.mint(address,uint256) (contracts/CDzToken.sol#14-17)
decimals() should be declared external:
- BEP20.decimals() (contracts/libraries/BEP20.sol#82-84)
symbol() should be declared external:
- BEP20.symbol() (contracts/libraries/BEP20.sol#89-91)
totalSupply() should be declared external:
- BEP20.totalSupply() (contracts/libraries/BEP20.sol#96-98)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (contracts/libraries/BEP20.sol#115-118)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (contracts/libraries/BEP20.sol#123-125)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (contracts/libraries/BEP20.sol#134-137)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (contracts/libraries/BEP20.sol#151-163)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (contracts/libraries/BEP20.sol#177-180)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (contracts/libraries/BEP20.sol#196-203)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (contracts/libraries/BEP20.sol#213-216)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Telegram account has relatively few subscribers
Unable to find Youtube account