StarMon Token (SMON) is the BEP-20 governance token of StarMon Metaverse. Hold tokens and participate in key governance voting related to the game, SMON holders will receive rewards. When players playing various games in StarMon or through UGC content plans, they can earn $SMON.
Contract ownership is not renounced (belongs to a wallet)
SMON.setEndBlock(uint256) (#934-938) should emit an event for:
- endBlock = _endBlock (#937)
Emit an event for critical parameter changes.
Additional information: link
SMON.constructor(address,address)._BUSD (#887) lacks a zero-check on :
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_BUSD) (#893-894)
Check that the address is not zero.
Additional information: link
Reentrancy in SMON.constructor(address,address) (#887-898):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_BUSD) (#893-894)
State variables written after the call(s):
- endBlock = block.number + 20 * 60 * 5 (#897)
- uniswapV2Router = _uniswapV2Router (#895)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2']
- >=0.6.0<0.8.0 (#5)
- >=0.6.0<0.8.0 (#32)
- >=0.6.0<0.8.0 (#112)
- >=0.6.0<0.8.0 (#329)
- >=0.6.0<0.8.0 (#637)
- >=0.6.2 (#705)
- >=0.6.2 (#804)
- >=0.5.0 (#850)
- 0.6.12 (#870)
Use one Solidity version.
Additional information: link
Context._msgData() (#22-25) is never used and should be removed
ERC20._burn(address,uint256) (#574-582) is never used and should be removed
ERC20._setupDecimals(uint8) (#612-614) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#299-302) is never used and should be removed
SafeMath.mod(uint256,uint256) (#261-264) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#319-322) is never used and should be removed
SafeMath.sub(uint256,uint256) (#210-213) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#133-137) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#169-172) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#179-182) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#154-162) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#144-147) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#5) is too complex
Pragma version>=0.6.0<0.8.0 (#32) is too complex
Pragma version>=0.6.0<0.8.0 (#112) is too complex
Pragma version>=0.6.0<0.8.0 (#329) is too complex
Pragma version>=0.6.0<0.8.0 (#637) is too complex
Pragma version>=0.6.2 (#705) allows old versions
Pragma version>=0.6.2 (#804) allows old versions
Pragma version>=0.5.0 (#850) 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
Function IUniswapV2Router01.WETH() (#710) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._teamAddr (#900) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._marketingAddr (#901) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._ecoFundAddr (#902) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._partnersAddr (#903) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._playToEarnAddr (#904) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._nftPoolAddr (#905) is not in mixedCase
Parameter SMON.initSupply(address,address,address,address,address,address,address)._privateSaleAddr (#906) is not in mixedCase
Parameter SMON.setEndBlock(uint256)._endBlock (#934) 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
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#715) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#716)
Prevent variables from having similar names.
Additional information: link
SMON.slitherConstructorVariables() (#876-940) uses literals with too many digits:
- total = 100000000 * 1e18 (#878)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SMON.total (#878) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#389-391)
symbol() should be declared external:
- ERC20.symbol() (#397-399)
decimals() should be declared external:
- ERC20.decimals() (#414-416)
totalSupply() should be declared external:
- ERC20.totalSupply() (#421-423)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (#428-430)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#440-443)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#448-450)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#459-462)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#477-481)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#495-498)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#514-517)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#687-690)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#696-700)
Use the external attribute for functions never called from the contract.
Additional information: link
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Unable to find Youtube account