Super Pixel is an amazing play 2 earn platform game. It is a super fun and challenging 2D side-scroller pixel art style game.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SUPERPIXEL.rescueToken(address,uint256) (#451-453) ignores return value by IBEP20(_token).transfer(owner(),_amount) (#452)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Reentrancy in SUPERPIXEL._transferFrom(address,address,uint256) (#283-301):
External calls:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#376-386)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
External calls sending eth:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#294)
- amountReceived = takeFee(sender,recipient,amount) (#296)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#326)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#297)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
SUPERPIXEL.swapAndLiquify(uint256) (#339-365) ignores return value by address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
SUPERPIXEL.swapTokensForEth(uint256).e (#382) is a local variable never initialized
SUPERPIXEL.addLiquidity(uint256,uint256).e (#402) is a local variable never initialized
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
SUPERPIXEL._maxTxAmount (#194) is set pre-construction with a non-constant function or state variable:
- _totalSupply
SUPERPIXEL.totalFee (#198) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(devFee)
SUPERPIXEL.swapThreshold (#208) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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
Low level call in SUPERPIXEL.swapAndLiquify(uint256) (#339-365):
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Redundant expression "this (#53)" inContext (#47-56)
Remove redundant statements if they congest code but offer no value.
Additional information: link
SUPERPIXEL.addLiquidity(uint256,uint256) (#389-407) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
Ensure that all the return values of the function calls are used.
Additional information: link
SUPERPIXEL.setTxLimit(uint256) (#410-412) should emit an event for:
- _maxTxAmount = amount (#411)
SUPERPIXEL.setExtraFeeOnSell(uint256) (#422-425) should emit an event for:
- extraFeeOnSell = _extraFee (#424)
SUPERPIXEL.setFees(uint256,uint256) (#427-432) should emit an event for:
- liquidityFee = _liquidityFee (#428)
- devFee = _devFee (#429)
- totalFee = _liquidityFee.add(_devFee) (#430)
SUPERPIXEL.setSwapBackSettings(bool,uint256) (#438-441) should emit an event for:
- swapThreshold = _amount (#440)
Emit an event for critical parameter changes.
Additional information: link
SUPERPIXEL.setdevWallet(address)._dev (#434) lacks a zero-check on :
- dev = _dev (#435)
Check that the address is not zero.
Additional information: link
Variable 'SUPERPIXEL.swapTokensForEth(uint256).e (#382)' in SUPERPIXEL.swapTokensForEth(uint256) (#367-387) potentially used before declaration: SwapTokenForETHFailed(string(abi.encodePacked(SwapTokenForETHFailed failed with error ,e))) (#383)
Variable 'SUPERPIXEL.addLiquidity(uint256,uint256).e (#402)' in SUPERPIXEL.addLiquidity(uint256,uint256) (#389-407) potentially used before declaration: AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#403)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in SUPERPIXEL.constructor() (#231-250):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#233)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = ~ uint256(0) (#234)
- _balances[owner_] = _totalSupply (#248)
- dev = msg.sender (#246)
- excludeFee[owner_] = true (#238)
- excludeFee[address(this)] = true (#240)
- excludeMaxTxn[owner_] = true (#239)
- excludeMaxTxn[address(this)] = true (#241)
- permitted[msg.sender] = true (#243)
- permitted[address(this)] = true (#244)
Reentrancy in SUPERPIXEL.swapAndLiquify(uint256) (#339-365):
External calls:
- swapTokensForEth(swapAmount) (#352)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#376-386)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
External calls sending eth:
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
State variables written after the call(s):
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- _allowances[msg.sender][spender] = amount (#262)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SUPERPIXEL._transferFrom(address,address,uint256) (#283-301):
External calls:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#376-386)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
External calls sending eth:
- swapAndLiquify(swapThreshold) (#291)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#327)
- amountReceived = takeFee(sender,recipient,amount) (#296)
- Transfer(sender,recipient,amountReceived) (#299)
Reentrancy in SUPERPIXEL.addLiquidity(uint256,uint256) (#389-407):
External calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
Event emitted after the call(s):
- AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#403)
- AddLiquidityFailed(AddLiquidityFailed failed without an error message from pancakeSwap) (#405)
Reentrancy in SUPERPIXEL.constructor() (#231-250):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#233)
Event emitted after the call(s):
- Transfer(address(0),owner_,_totalSupply) (#249)
Reentrancy in SUPERPIXEL.swapAndLiquify(uint256) (#339-365):
External calls:
- swapTokensForEth(swapAmount) (#352)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#376-386)
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
External calls sending eth:
- address(dev).call{gas: 30000,value: amountBNBdev}() (#360)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(300)) (#395-406)
Event emitted after the call(s):
- AddLiquidityFailed(string(abi.encodePacked(AddLiquidityFailed failed with error ,e))) (#403)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- AddLiquidityFailed(AddLiquidityFailed failed without an error message from pancakeSwap) (#405)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- Approval(msg.sender,spender,amount) (#263)
- addLiquidity(liqAmount,amountLiqBNB) (#362)
- SwapAndLiquify(swapAmount,newBalance,liqAmount) (#364)
Reentrancy in SUPERPIXEL.swapTokensForEth(uint256) (#367-387):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#376-386)
Event emitted after the call(s):
- SwapTokenForETHFailed(string(abi.encodePacked(SwapTokenForETHFailed failed with error ,e))) (#383)
- SwapTokenForETHFailed(SwapTokenForETHFailed failed without an error message from pancakeSwap) (#385)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#52-55) is never used and should be removed
SUPERPIXEL.canSwap() (#303-305) is never used and should be removed
Remove unused functions.
Additional information: link
Function IDEXRouter.WETH() (#133) is not in mixedCase
Parameter SUPERPIXEL.setAllow(address[],bool)._users (#225) is not in mixedCase
Parameter SUPERPIXEL.setExtraFeeOnSell(uint256)._extraFee (#422) is not in mixedCase
Parameter SUPERPIXEL.setFees(uint256,uint256)._liquidityFee (#427) is not in mixedCase
Parameter SUPERPIXEL.setFees(uint256,uint256)._devFee (#427) is not in mixedCase
Parameter SUPERPIXEL.setdevWallet(address)._dev (#434) is not in mixedCase
Parameter SUPERPIXEL.setSwapBackSettings(bool,uint256)._enabled (#438) is not in mixedCase
Parameter SUPERPIXEL.setSwapBackSettings(bool,uint256)._amount (#438) is not in mixedCase
Parameter SUPERPIXEL.rescueToken(address,uint256)._token (#451) is not in mixedCase
Parameter SUPERPIXEL.rescueToken(address,uint256)._amount (#451) is not in mixedCase
Parameter SUPERPIXEL.rescueBnb(uint256)._amount (#455) is not in mixedCase
Variable SUPERPIXEL._balances (#182) is not in mixedCase
Variable SUPERPIXEL._allowances (#183) is not in mixedCase
Constant SUPERPIXEL._name (#185) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SUPERPIXEL._symbol (#186) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SUPERPIXEL._decimals (#187) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SUPERPIXEL._totalSupply (#188) is not in mixedCase
Variable SUPERPIXEL._maxTxAmount (#194) is not in mixedCase
Variable SUPERPIXEL.WBNB (#459) is not in mixedCase
Variable SUPERPIXEL.DEAD (#460) is not in mixedCase
Variable SUPERPIXEL.ZERO (#461) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#138) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#139)
Prevent variables from having similar names.
Additional information: link
SUPERPIXEL.slitherConstructorVariables() (#179-471) uses literals with too many digits:
- _totalSupply = 21000000 * (10 ** _decimals) (#188)
SUPERPIXEL.slitherConstructorVariables() (#179-471) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#460)
SUPERPIXEL.slitherConstructorVariables() (#179-471) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#461)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SUPERPIXEL.DEAD (#460) should be constant
SUPERPIXEL.WBNB (#459) should be constant
SUPERPIXEL.ZERO (#461) should be constant
SUPERPIXEL._totalSupply (#188) should be constant
SUPERPIXEL.feeDenominator (#199) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#94-97)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#103-107)
getCirculatingSupply() should be declared external:
- SUPERPIXEL.getCirculatingSupply() (#443-445)
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.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
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
Unable to find token on CoinGecko
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts