Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ShibaSteak.blackLists (#103) is never initialized. It is used in:
- ShibaSteak.transfer(address,uint256) (#104-127)
- ShibaSteak.transferFrom(address,address,uint256) (#164-191)
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
ShibaSteak.setMaxSellOutNum(uint256) (#213-215) should emit an event for:
- maxSellOutNum = num (#214)
ShibaSteak.setMaxSellToken(uint256) (#216-218) should emit an event for:
- maxSellToken = num * 1000000000000000 ** uint256(decimals) (#217)
Emit an event for critical parameter changes.
Additional information: link
Address.isContract(address) (#35-40) uses assembly
- INLINE ASM (#38)
Address._functionCallWithValue(address,bytes,uint256,string) (#59-74) uses assembly
- INLINE ASM (#66-69)
Do not use evm assembly.
Additional information: link
ShibaSteak.transfer(address,uint256) (#104-127) compares to a boolean constant:
-require(bool)(blackLists[from] == false && blackLists[_to] == false) (#109)
ShibaSteak.transferFrom(address,address,uint256) (#164-191) compares to a boolean constant:
-require(bool)(blackLists[from] == false && blackLists[_to] == false) (#170)
Remove the equality to the boolean constant.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#59-74) is never used and should be removed
Address.functionCall(address,bytes) (#46-48) is never used and should be removed
Address.functionCall(address,bytes,string) (#49-51) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#52-54) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#55-58) is never used and should be removed
Address.sendValue(address,uint256) (#41-45) is never used and should be removed
SafeMath.div(uint256,uint256) (#13-16) is never used and should be removed
SafeMath.mul(uint256,uint256) (#5-12) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.0 (#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 Address.sendValue(address,uint256) (#41-45):
- (success) = recipient.call{value: amount}() (#43)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#59-74):
- (success,returndata) = target.call{value: weiValue}(data) (#61)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter ShibaSteak.transfer(address,uint256)._to (#104) is not in mixedCase
Parameter ShibaSteak.transfer(address,uint256)._value (#104) is not in mixedCase
Parameter ShibaSteak.check(address,address)._to (#128) is not in mixedCase
Parameter ShibaSteak.balanceOf(address)._owner (#155) is not in mixedCase
Parameter ShibaSteak.transferFrom(address,address,uint256)._from (#164) is not in mixedCase
Parameter ShibaSteak.transferFrom(address,address,uint256)._to (#164) is not in mixedCase
Parameter ShibaSteak.transferFrom(address,address,uint256)._value (#164) is not in mixedCase
Parameter ShibaSteak.approve(address,uint256)._spender (#198) is not in mixedCase
Parameter ShibaSteak.approve(address,uint256)._value (#198) is not in mixedCase
Parameter ShibaSteak.allowance(address,address)._owner (#203) is not in mixedCase
Parameter ShibaSteak.allowance(address,address)._spender (#203) is not in mixedCase
Function ShibaSteak.Approve(address,uint256) (#219-221) is not in mixedCase
Parameter ShibaSteak.Approve(address,uint256)._value (#219) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
ShibaSteak.check(address,address) (#128-143) uses literals with too many digits:
- maxSellOutNum == 1000000000000000 && maxSellToken == 1000000000000000 (#131)
ShibaSteak.check(address,address) (#128-143) uses literals with too many digits:
- maxSellOutNum > 1000000000000000 (#134)
ShibaSteak.check(address,address) (#128-143) uses literals with too many digits:
- maxSellToken > 1000000000000000 (#137)
ShibaSteak.setMaxSellToken(uint256) (#216-218) uses literals with too many digits:
- maxSellToken = num * 1000000000000000 ** uint256(decimals) (#217)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ShibaSteak.poolAddress (#87) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transfer(address,uint256) should be declared external:
- ShibaSteak.transfer(address,uint256) (#104-127)
balanceOf(address) should be declared external:
- ShibaSteak.balanceOf(address) (#155-157)
transferOwnership(address) should be declared external:
- ShibaSteak.transferOwnership(address) (#158-162)
transferFrom(address,address,uint256) should be declared external:
- ShibaSteak.transferFrom(address,address,uint256) (#164-191)
approve(address,uint256) should be declared external:
- ShibaSteak.approve(address,uint256) (#198-202)
allowance(address,address) should be declared external:
- ShibaSteak.allowance(address,address) (#203-205)
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