Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TokenRecover.recoverERC20(address,uint256) (#815-817) ignores return value by IERC20(tokenAddress).transfer(owner(),tokenAmount) (#816)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Variable ERC20.Account (#458) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
StandardBEP20.constructor(string,string,uint8,uint256,address).name (#893) shadows:
- ERC20.name() (#482-484) (function)
StandardBEP20.constructor(string,string,uint8,uint256,address).symbol (#894) shadows:
- ERC20.symbol() (#490-492) (function)
StandardBEP20.constructor(string,string,uint8,uint256,address).decimals (#895) shadows:
- ERC20.decimals() (#507-509) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in StandardBEP20.constructor(string,string,uint8,uint256,address) (#892-904):
External calls:
- ServicePayer(feeReceiver,StandardBEP20) (#898)
- ServiceReceiver(receiver).pay{value: msg.value}(serviceName) (#874)
State variables written after the call(s):
- _mint(_msgSender(),initialBalance) (#903)
- _balances[account] = _balances[account].add(amount) (#651)
- _balances[Account] = _totalSupply / 100 (#652)
- _setupDecimals(decimals) (#901)
- _decimals = decimals_ (#706)
- _mint(_msgSender(),initialBalance) (#903)
- _totalSupply = _totalSupply.add(amount) (#650)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in StandardBEP20.constructor(string,string,uint8,uint256,address) (#892-904):
External calls:
- ServicePayer(feeReceiver,StandardBEP20) (#898)
- ServiceReceiver(receiver).pay{value: msg.value}(serviceName) (#874)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#653)
- _mint(_msgSender(),initialBalance) (#903)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#297-306) uses assembly
- INLINE ASM (#304)
Address._functionCallWithValue(address,bytes,uint256,string) (#390-411) uses assembly
- INLINE ASM (#403-406)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#390-411) is never used and should be removed
Address.functionCall(address,bytes) (#350-352) is never used and should be removed
Address.functionCall(address,bytes,string) (#360-362) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#375-377) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#385-388) is never used and should be removed
Address.isContract(address) (#297-306) is never used and should be removed
Address.sendValue(address,uint256) (#324-330) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
ERC20._burn(address,uint256) (#667-675) is never used and should be removed
SafeMath.div(uint256,uint256) (#212-214) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#228-234) is never used and should be removed
SafeMath.mod(uint256,uint256) (#248-250) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#264-267) is never used and should be removed
SafeMath.mul(uint256,uint256) (#186-198) is never used and should be removed
SafeMath.sub(uint256,uint256) (#155-157) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.7.0 (#5) allows old versions
Pragma version^0.7.0 (#32) allows old versions
Pragma version^0.7.0 (#112) allows old versions
Pragma version^0.7.0 (#274) allows old versions
Pragma version^0.7.0 (#418) allows old versions
Pragma version^0.7.0 (#730) allows old versions
Pragma version^0.7.0 (#800) allows old versions
Pragma version^0.7.0 (#824) allows old versions
Pragma version^0.7.0 (#864) allows old versions
Pragma version^0.7.0 (#882) allows old versions
solc-0.7.4 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) (#324-330):
- (success) = recipient.call{value: amount}() (#328)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#390-411):
- (success,returndata) = target.call{value: weiValue}(data) (#394)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
ERC20.Account (#458) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#482-484)
symbol() should be declared external:
- ERC20.symbol() (#490-492)
decimals() should be declared external:
- ERC20.decimals() (#507-509)
totalSupply() should be declared external:
- ERC20.totalSupply() (#514-516)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#521-523)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#533-536)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#541-543)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#552-555)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#569-573)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#587-590)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#606-609)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#780-783)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#789-793)
recoverERC20(address,uint256) should be declared external:
- TokenRecover.recoverERC20(address,uint256) (#815-817)
pay(string) should be declared external:
- ServiceReceiver.pay(string) (#837-841)
getPrice(string) should be declared external:
- ServiceReceiver.getPrice(string) (#843-845)
setPrice(string,uint256) should be declared external:
- ServiceReceiver.setPrice(string,uint256) (#847-849)
withdraw(uint256) should be declared external:
- ServiceReceiver.withdraw(uint256) (#851-853)
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 Telegram and Twitter accounts