Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#301-317) contains a tautology or contradiction:
- require(bool,string)(_poolPercent >= 0 && _poolPercent < totalSupply(),Pre-Sale: poolPercent should be >= 0 and < totalSupply) (#305)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
GROToken.transferToken(address,uint256,uint256).owner (#263) lacks a zero-check on :
- address(owner).transfer(amount) (#272)
Check that the address is not zero.
Additional information: link
GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#301-317) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(endDate > block.timestamp,Pre-Sale: duration should be > 0) (#303)
Staking.removeStake(uint256) (#376-408) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)((stakes[_msgSender()].stakeTime + 15552000) <= block.timestamp,You have to stake for minimum 6 months.) (#386-389)
- require(bool,string)(stakes[_msgSender()].amount == _numberOfTokens.mul(tokenPrice),You have to unstake all your tokens) (#391-394)
Staking.calculateReward(address) (#440-454) uses timestamp for comparisons
Dangerous comparisons:
- (stakes[_stakeholder].stakeTime + 7) <= block.timestamp (#446)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#19-22) is never used and should be removed
SafeMath.mod(uint256,uint256) (#137-139) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#142-149) is never used and should be removed
Remove unused functions.
Additional information: link
GROToken.totalSupply_ (#198) is set pre-construction with a non-constant function or state variable:
- 500000000000 * _decimalFactor
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version0.6.0 (#10) allows old versions
solc-0.6.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
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._minPurchase (#301) is not in mixedCase
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._maxPurchase (#301) is not in mixedCase
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._availableTokens (#301) is not in mixedCase
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._softCap (#301) is not in mixedCase
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._hardCap (#301) is not in mixedCase
Parameter GROToken.startICO(uint256,uint256,uint256,uint256,uint256,uint256,uint256)._poolPercent (#301) is not in mixedCase
Variable GROToken._decimalFactor (#183) is not in mixedCase
Variable GROToken.PresellPercent (#208) is not in mixedCase
Struct Staking.stakeHolder (#327-330) is not in CapWords
Parameter Staking.createStake(uint256)._numberOfTokens (#349) is not in mixedCase
Parameter Staking.removeStake(uint256)._numberOfTokens (#376) is not in mixedCase
Parameter Staking.stakeOf(address)._stakeholder (#411) is not in mixedCase
Parameter Staking.isStakeholder(address)._address (#415) is not in mixedCase
Parameter Staking.removeStakeholder(address)._stakeholder (#426) is not in mixedCase
Parameter Staking.rewardOf(address)._stakeholder (#435) is not in mixedCase
Parameter Staking.calculateReward(address)._stakeholder (#440) is not in mixedCase
Parameter Staking.viewReward(address)._stakeholder (#456) is not in mixedCase
Variable Staking.GRO (#325) is not in mixedCase
Variable Staking.APY (#336) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#20)" inContext (#12-23)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in Staking.removeStake(uint256) (#376-408):
External calls:
- _msgSender().transfer(totalAmount) (#400)
State variables written after the call(s):
- removeStakeholder(_msgSender()) (#405)
- stakeholders[s] = stakeholders[stakeholders.length - 1] (#429)
- stakeholders.pop() (#430)
- stakes[_msgSender()] = stakeHolder(0,0) (#404)
- totalTokenStaked = totalTokenStaked.sub(_numberOfTokens.mul(GRO.decimalFactor())) (#401-403)
Event emitted after the call(s):
- Transfer(account,address(0),amount) (#284)
- _burn(_msgSender(),_numberOfTokens.mul(GRO.decimalFactor())) (#406)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Staking.stakeOf(address)._stakeholder (#411) is too similar to Staking.stakeholders (#323)
Variable Staking.calculateReward(address)._stakeholder (#440) is too similar to Staking.stakeholders (#323)
Variable Staking.removeStakeholder(address)._stakeholder (#426) is too similar to Staking.stakeholders (#323)
Variable Staking.viewReward(address)._stakeholder (#456) is too similar to Staking.stakeholders (#323)
Variable Staking.rewardOf(address)._stakeholder (#435) is too similar to Staking.stakeholders (#323)
Prevent variables from having similar names.
Additional information: link
Staking.slitherConstructorVariables() (#320-479) uses literals with too many digits:
- totalSupply_ = 500000000000 * _decimalFactor (#198)
Staking.slitherConstructorVariables() (#320-479) uses literals with too many digits:
- tokenPrice = 10000000000000 (#333)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
GROToken.tokenBalance (#185) is never used in Staking (#320-479)
GROToken._price (#212) is never used in Staking (#320-479)
GROToken._weiRaised (#213) is never used in Staking (#320-479)
Remove unused state variables.
Additional information: link
GROToken.PresellPercent (#208) should be constant
GROToken._decimalFactor (#183) should be constant
GROToken._price (#212) should be constant
GROToken._weiRaised (#213) should be constant
GROToken.numbersofslot (#207) should be constant
GROToken.tokenBalance (#185) should be constant
Staking.APY (#336) should be constant
Staking.tokenPrice (#333) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#44-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#60-62)
balanceOf(address) should be declared external:
- GROToken.balanceOf(address) (#224-226)
transfer(address,uint256) should be declared external:
- GROToken.transfer(address,uint256) (#232-239)
approve(address,uint256) should be declared external:
- GROToken.approve(address,uint256) (#241-245)
allowance(address,address) should be declared external:
- GROToken.allowance(address,address) (#247-249)
transferFrom(address,address,uint256) should be declared external:
- GROToken.transferFrom(address,address,uint256) (#251-260)
transferToken(address,uint256,uint256) should be declared external:
- GROToken.transferToken(address,uint256,uint256) (#263-277)
createStake(uint256) should be declared external:
- Staking.createStake(uint256) (#349-373)
removeStake(uint256) should be declared external:
- Staking.removeStake(uint256) (#376-408)
stakeOf(address) should be declared external:
- Staking.stakeOf(address) (#411-413)
rewardOf(address) should be declared external:
- Staking.rewardOf(address) (#435-437)
viewReward(address) should be declared external:
- Staking.viewReward(address) (#456-461)
distributeRewards() should be declared external:
- Staking.distributeRewards() (#464-470)
withdrawReward() should be declared external:
- Staking.withdrawReward() (#473-477)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts