Polaris is a fairly distributed competitive farming protocol and launchpad platform on Binance Smart Chain.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PolarisToken._writeCheckpoint(address,uint32,uint256,uint256) (#825-843) uses a dangerous strict equality:
- nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber (#835)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
BEP20._approve(address,address,uint256).owner (#597) shadows:
- Ownable.owner() (#56-58) (function)
Rename the local variables that shadow another component.
Additional information: link
PolarisToken.delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32) (#691-732) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now <= expiry,POLAR::delegateBySig: signature expired) (#730)
Avoid relying on block.timestamp.
Additional information: link
PolarisToken.getChainId() (#850-854) uses assembly
- INLINE ASM (#852)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.6.4']
- 0.6.12 (#4)
- >=0.6.4 (#247)
Use one Solidity version.
Additional information: link
SafeMath.mul(uint256,uint256) (#163-175) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.4 (#247) 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
Variable PolarisToken._delegates (#633) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#22)" inContext (#16-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
PolarisToken.slitherConstructorVariables() (#618-856) uses literals with too many digits:
- INITIAL_SUPPLY = 50000000e18 (#619)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PolarisToken.INITIAL_SUPPLY (#619) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#520-523)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
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
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account