PRELAX.io is an NFT game platform built on the BSC network. Players will be able to have fun and entertainment through a massive character system along with high-quality graphics, bringing to users the most authentic experience. In additional, through the NFT system, marketplace and battle, farming, and nft upgrade functions, players can generate revenue from the game. If users want to Play, Relax and Earn, let's come and join PRELAX.io now.
With Prelax, you will be able to participate in real battles and own premium loot
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Pea._transfer(address,address,uint256) (#1563-1647) uses a dangerous strict equality:
- require(bool,string)(addLiquidityBlock == 0,addLiquidityBlock is not ready) (#1589)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract locking ether found:
Contract Pea (#1519-1699) has payable functions:
- Pea.receive() (#1665)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
PeaERC20.setArena(address)._arena (#1458) lacks a zero-check on :
- arena = _arena (#1459)
Check that the address is not zero.
Additional information: link
Pea.constructor(string,string).symbol (#1533) shadows:
- ERC20.symbol() (#1094-1096) (function)
Rename the local variables that shadow another component.
Additional information: link
PeaERC20.setArena(address) (#1458-1460) should emit an event for:
- arena = _arena (#1459)
Emit an event for critical parameter changes.
Additional information: link
PeaERC20.setMinTokensBeforeSwap(uint256) (#1478-1481) should emit an event for:
- tokenForBosses = _tokenForBosses (#1480)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Pea.constructor(string,string) (#1533-1551):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1542-1543)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1546)
- _allowances[owner][spender] = amount (#1364)
- addLiquidityBlock = 0 (#1550)
- botGuard = true (#1548)
- isAddLiquidity = true (#1549)
- uniswapV2Router = _uniswapV2Router (#1545)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Pea.constructor(string,string) (#1533-1551):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1542-1543)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1365)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1546)
Apply the check-effects-interactions pattern.
Additional information: link
Pea._transfer(address,address,uint256) (#1563-1647) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(userSellTime[_user] < block.timestamp - userSellLimitTime,PEA: can not sell now) (#1624)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#515-532) uses assembly
- INLINE ASM (#524-527)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.8.0', '>=0.6.2<0.8.0', '^0.7.6']
- >=0.6.0<0.8.0 (#7)
- >=0.6.0<0.8.0 (#30)
- >=0.6.0<0.8.0 (#102)
- >=0.6.2<0.8.0 (#347)
- >=0.6.0<0.8.0 (#535)
- ^0.7.6 (#596)
- >=0.6.0<0.8.0 (#940)
- >=0.6.0<0.8.0 (#1029)
- ^0.7.6 (#1400)
- ^0.7.6 (#1517)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (#138-145) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#1029) is too complex
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 Address.functionDelegateCall(address,bytes,string) (#507-513):
- (success,returndata) = target.delegatecall(data) (#511)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter Pea.setAddressForBosses(address)._bossesAddress (#1683) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#25)" inContext (#19-28)
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 (#742) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#743)
Prevent variables from having similar names.
Additional information: link
Pea.bots (#1523) is never used in Pea (#1519-1699)
Remove unused state variables.
Additional information: link
PeaERC20.capFarm (#1405) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
activateBotGuard() should be declared external:
- Pea.activateBotGuard() (#1694-1697)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
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 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
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account