Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address) (#143-165) contains a tautology or contradiction:
- require(bool,string)(_tradeBurnRatio >= 0 && _tradeBurnRatio <= 5000,TRADE_BURN_RATIO_INVALID) (#159)
CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address) (#143-165) contains a tautology or contradiction:
- require(bool,string)(_tradeFeeRatio >= 0 && _tradeFeeRatio <= 5000,TRADE_FEE_RATIO_INVALID) (#160)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
CustomERC20._transfer(address,address,uint256).burnAmount (#209) is a local variable never initialized
CustomERC20._transfer(address,address,uint256).feeAmount (#210) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
InitializableOwnable.initOwner(address).newOwner (#101) lacks a zero-check on :
- _OWNER_ = newOwner (#103)
InitializableOwnable.transferOwnership(address).newOwner (#106) lacks a zero-check on :
- _NEW_OWNER_ = newOwner (#108)
CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._team (#151) lacks a zero-check on :
- team = _team (#163)
CustomERC20.changeTeamAccount(address).newTeam (#231) lacks a zero-check on :
- team = newTeam (#234)
Check that the address is not zero.
Additional information: link
SafeMath.divCeil(uint256,uint256) (#36-44) is never used and should be removed
SafeMath.sqrt(uint256) (#57-64) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.6.9 (#10) is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
solc-0.6.9 is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
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
Variable InitializableOwnable._OWNER_ (#77) is not in mixedCase
Variable InitializableOwnable._NEW_OWNER_ (#78) is not in mixedCase
Variable InitializableOwnable._INITIALIZED_ (#79) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._creator (#144) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._totalSupply (#145) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._name (#146) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._symbol (#147) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._decimals (#148) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._tradeBurnRatio (#149) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._tradeFeeRatio (#150) is not in mixedCase
Parameter CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address)._team (#151) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
transferOwnership(address) should be declared external:
- InitializableOwnable.transferOwnership(address) (#106-109)
claimOwnership() should be declared external:
- InitializableOwnable.claimOwnership() (#111-116)
init(address,uint256,string,string,uint8,uint256,uint256,address) should be declared external:
- CustomERC20.init(address,uint256,string,string,uint8,uint256,uint256,address) (#143-165)
transfer(address,uint256) should be declared external:
- CustomERC20.transfer(address,uint256) (#167-170)
balanceOf(address) should be declared external:
- CustomERC20.balanceOf(address) (#172-174)
transferFrom(address,address,uint256) should be declared external:
- CustomERC20.transferFrom(address,address,uint256) (#176-185)
approve(address,uint256) should be declared external:
- CustomERC20.approve(address,uint256) (#187-191)
allowance(address,address) should be declared external:
- CustomERC20.allowance(address,address) (#193-195)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
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 Telegram and Twitter accounts