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...)
Contract locking ether found:
Contract Pea (#1209-1320) has payable functions:
- Pea.receive() (#1287)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
Pea.constructor(string,string).symbol (#1223) shadows:
- ERC20.symbol() (#873-875) (function)
Rename the local variables that shadow another component.
Additional information: link
PeaERC20.setArena(address) (#1150-1152) should emit an event for:
- arena = _arena (#1151)
Emit an event for critical parameter changes.
Additional information: link
Pea.PeaAntiBot(uint256) (#1311-1318) should emit an event for:
- antiBotAmount = amount (#1315)
Emit an event for critical parameter changes.
Additional information: link
PeaERC20.setArena(address)._arena (#1150) lacks a zero-check on :
- arena = _arena (#1151)
Check that the address is not zero.
Additional information: link
Reentrancy in Pea.constructor(string,string) (#1223-1237):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1232-1233)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1236)
- _allowances[owner][spender] = amount (#1077)
- uniswapV2Router = _uniswapV2Router (#1235)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Pea.constructor(string,string) (#1223-1237):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1232-1233)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1078)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1236)
Apply the check-effects-interactions pattern.
Additional information: link
Pea._transfer(address,address,uint256) (#1249-1277) uses timestamp for comparisons
Dangerous comparisons:
- antiBotTime > block.timestamp && amount > antiBotAmount && bots[sender] (#1255-1257)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.8.0', '^0.7.6']
- >=0.6.0<0.8.0 (#21)
- >=0.6.0<0.8.0 (#45)
- >=0.6.0<0.8.0 (#113)
- >=0.6.0<0.8.0 (#327)
- ^0.7.6 (#388)
- >=0.6.0<0.8.0 (#732)
- >=0.6.0<0.8.0 (#808)
- ^0.7.6 (#1111)
- ^0.7.6 (#1206)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (#145-148) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.0<0.8.0 (#808) 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
Function Pea.PeaAntiBot(uint256) (#1311-1318) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#39)" inContext (#33-42)
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 (#534) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#535)
Prevent variables from having similar names.
Additional information: link
PeaERC20.capFarm (#1117) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
sweepTokenForBosses() should be declared external:
- Pea.sweepTokenForBosses() (#1279-1284)
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 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.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account