StarToken.setGovernance(address) (contracts/Star.sol#379-381) should emit an event for:
- governance = _governance (contracts/Star.sol#380)
Emit an event for critical parameter changes.
Additional information: link
StarToken.setGovernance(address)._governance (contracts/Star.sol#379) lacks a zero-check on :
- governance = _governance (contracts/Star.sol#380)
Check that the address is not zero.
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.
ERC20.RATE (contracts/Star.sol#63) is never used in StarToken (contracts/Star.sol#366-422)
Remove unused state variables.
Additional information: link
ERC20.maxSupply (contracts/Star.sol#52) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
ERC20Detailed.constructor(string,string,uint8).name (contracts/Star.sol#220) shadows:
- ERC20Detailed.name() (contracts/Star.sol#229-231) (function)
ERC20Detailed.constructor(string,string,uint8).symbol (contracts/Star.sol#221) shadows:
- ERC20Detailed.symbol() (contracts/Star.sol#233-235) (function)
ERC20Detailed.constructor(string,string,uint8).decimals (contracts/Star.sol#222) shadows:
- ERC20Detailed.decimals() (contracts/Star.sol#237-239) (function)
Rename the local variables that shadow another component.
Additional information: link
Address.isContract(address) (contracts/Star.sol#294-303) uses assembly
- INLINE ASM (contracts/Star.sol#299-301)
Do not use evm assembly.
Additional information: link
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-require(bool,string)(startTrade == true,ERC20: not start) (contracts/Star.sol#153)
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-require(bool,string)(whiteNames[recipient] == true,ERC20: only white names) (contracts/Star.sol#155)
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-whiteNames[recipient] == false && whiteNames[sender] == false (contracts/Star.sol#152)
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-pairs[sender] == true (contracts/Star.sol#154)
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-pairs[recipient] == true (contracts/Star.sol#156)
ERC20._transfer(address,address,uint256) (contracts/Star.sol#142-176) compares to a boolean constant:
-require(bool,string)(blackNames[sender] == false && blackNames[recipient] == false,ERC20: black name) (contracts/Star.sol#149)
Remove the equality to the boolean constant.
Additional information: link
Address.isContract(address) (contracts/Star.sol#294-303) is never used and should be removed
SafeERC20.callOptionalReturn(IERC20,bytes) (contracts/Star.sol#348-363) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (contracts/Star.sol#333-346) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (contracts/Star.sol#310-319) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (contracts/Star.sol#321-331) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.5.8 (contracts/Star.sol#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 SafeERC20.callOptionalReturn(IERC20,bytes) (contracts/Star.sol#348-363):
- (success,returndata) = address(token).call(data) (contracts/Star.sol#352)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter StarToken.setGovernance(address)._governance (contracts/Star.sol#379) is not in mixedCase
Parameter StarToken.addMinter(address)._minter (contracts/Star.sol#383) is not in mixedCase
Parameter StarToken.removeMinter(address)._minter (contracts/Star.sol#387) is not in mixedCase
Parameter StarToken.setTaxes(address[5])._taxes (contracts/Star.sol#400) is not in mixedCase
Parameter StarToken.setPair(address,bool)._pair (contracts/Star.sol#411) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
totalSupply() should be declared external:
- ERC20.totalSupply() (contracts/Star.sol#72-74)
balanceOf(address) should be declared external:
- ERC20.balanceOf(address) (contracts/Star.sol#76-78)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (contracts/Star.sol#80-83)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (contracts/Star.sol#85-91)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (contracts/Star.sol#93-96)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (contracts/Star.sol#98-113)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (contracts/Star.sol#115-125)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (contracts/Star.sol#127-140)
name() should be declared external:
- ERC20Detailed.name() (contracts/Star.sol#229-231)
symbol() should be declared external:
- ERC20Detailed.symbol() (contracts/Star.sol#233-235)
decimals() should be declared external:
- ERC20Detailed.decimals() (contracts/Star.sol#237-239)
setGovernance(address) should be declared external:
- StarToken.setGovernance(address) (contracts/Star.sol#379-381)
addMinter(address) should be declared external:
- StarToken.addMinter(address) (contracts/Star.sol#383-385)
removeMinter(address) should be declared external:
- StarToken.removeMinter(address) (contracts/Star.sol#387-389)
setTaxes(address[5]) should be declared external:
- StarToken.setTaxes(address[5]) (contracts/Star.sol#400-402)
setWhiteName(address,bool) should be declared external:
- StarToken.setWhiteName(address,bool) (contracts/Star.sol#404-406)
setBlackName(address,bool) should be declared external:
- StarToken.setBlackName(address,bool) (contracts/Star.sol#408-410)
setPair(address,bool) should be declared external:
- StarToken.setPair(address,bool) (contracts/Star.sol#411-413)
setStart() should be declared external:
- StarToken.setStart() (contracts/Star.sol#415-417)
setStop() should be declared external:
- StarToken.setStop() (contracts/Star.sol#419-421)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
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