Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address).tokenOwner (#299) lacks a zero-check on :
- owner = tokenOwner (#305)
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address)._FeeAddress (#299) lacks a zero-check on :
- FeeAddress = _FeeAddress (#308)
CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address).service (#299) lacks a zero-check on :
- success = service.call.value(msg.value)() (#310)
CoinToken.updateFee(uint256,uint256,address)._FeeAddress (#319) lacks a zero-check on :
- FeeAddress = _FeeAddress (#322)
Check that the address is not zero.
Additional information: link
Reentrancy in CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address) (#299-313):
External calls:
- success = service.call.value(msg.value)() (#310)
Event emitted after the call(s):
- Transfer(address(0),tokenOwner,totalSupply) (#312)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#71-76) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked Time is not up) (#73)
Avoid relying on block.timestamp.
Additional information: link
StandardToken.transfer(address,uint256) (#158-185) compares to a boolean constant:
-require(bool)(tokenBlacklist[_to] == false) (#160)
StandardToken.transfer(address,uint256) (#158-185) compares to a boolean constant:
-require(bool)(tokenBlacklist[msg.sender] == false) (#159)
StandardToken.transferFrom(address,address,uint256) (#192-219) compares to a boolean constant:
-require(bool)(tokenBlacklist[_to] == false) (#195)
StandardToken.transferFrom(address,address,uint256) (#192-219) compares to a boolean constant:
-require(bool)(tokenBlacklist[msg.sender] == false) (#193)
StandardToken.transferFrom(address,address,uint256) (#192-219) compares to a boolean constant:
-require(bool)(tokenBlacklist[_from] == false) (#194)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.mul(uint256,uint256) (#6-13) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.4.24 (#3) allows old versions
solc-0.4.24 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 CoinToken.constructor(string,string,uint256,uint256,uint256,uint256,address,address,address) (#299-313):
- success = service.call.value(msg.value)() (#310)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter StandardToken.transfer(address,uint256)._to (#158) is not in mixedCase
Parameter StandardToken.transfer(address,uint256)._value (#158) is not in mixedCase
Parameter StandardToken.balanceOf(address)._owner (#188) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._from (#192) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._to (#192) is not in mixedCase
Parameter StandardToken.transferFrom(address,address,uint256)._value (#192) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._spender (#222) is not in mixedCase
Parameter StandardToken.approve(address,uint256)._value (#222) is not in mixedCase
Parameter StandardToken.allowance(address,address)._owner (#229) is not in mixedCase
Parameter StandardToken.allowance(address,address)._spender (#229) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._spender (#234) is not in mixedCase
Parameter StandardToken.increaseApproval(address,uint256)._addedValue (#234) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._spender (#240) is not in mixedCase
Parameter StandardToken.decreaseApproval(address,uint256)._subtractedValue (#240) is not in mixedCase
Variable StandardToken.FeeAddress (#148) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._to (#266) is not in mixedCase
Parameter PausableToken.transfer(address,uint256)._value (#266) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._from (#270) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._to (#270) is not in mixedCase
Parameter PausableToken.transferFrom(address,address,uint256)._value (#270) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._spender (#274) is not in mixedCase
Parameter PausableToken.approve(address,uint256)._value (#274) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._spender (#278) is not in mixedCase
Parameter PausableToken.increaseApproval(address,uint256)._addedValue (#278) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._spender (#282) is not in mixedCase
Parameter PausableToken.decreaseApproval(address,uint256)._subtractedValue (#282) is not in mixedCase
Parameter CoinToken.burn(uint256)._value (#315) is not in mixedCase
Parameter CoinToken.updateFee(uint256,uint256,address)._txFee (#319) is not in mixedCase
Parameter CoinToken.updateFee(uint256,uint256,address)._burnFee (#319) is not in mixedCase
Parameter CoinToken.updateFee(uint256,uint256,address)._FeeAddress (#319) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#50-53)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#55-57)
getTime() should be declared external:
- Ownable.getTime() (#59-61)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#64-69)
unlock() should be declared external:
- Ownable.unlock() (#71-76)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#81-85)
pause() should be declared external:
- Pausable.pause() (#115-118)
unpause() should be declared external:
- Pausable.unpause() (#123-126)
balanceOf(address) should be declared external:
- ERC20Basic.balanceOf(address) (#131)
- StandardToken.balanceOf(address) (#188-190)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#137)
- StandardToken.allowance(address,address) (#229-231)
blackListAddress(address,bool) should be declared external:
- PausableToken.blackListAddress(address,bool) (#286-288)
burn(uint256) should be declared external:
- CoinToken.burn(uint256) (#315-317)
updateFee(uint256,uint256,address) should be declared external:
- CoinToken.updateFee(uint256,uint256,address) (#319-323)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Telegram account has less than 100 subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account