Plant2Earn Token Logo

P2E [Plant2Earn] Token

About P2E

Listings

Token 2 years
white paper

Plant2Earn is a Defense strategy game built on the Binance Smart Chain platform.

Once upon a time, the Plant spirits lived happily in the garden of EDEN, until one day a treacherous Plant spirit opened the door of the demon world, allowing Youkai to invade the garden of EDEN. To protect the land of EDEN, the Plant Warriors must gather together to build defensive walls against the invasion of Youkai.
Planting Warrior from Seed, battling invading Youkai, collecting solar energy, and earning P2E tokens are indeed part of the game. Players can engage in EDEN Garden and obtain P2E tokens by battling Youkai with their Plant Warrior NFT assets. Player-owned NFTs issued to the ERC-721 standard that can be exchanged on the Plant2Earn marketplace

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

BEP20._approve(address,address,uint256).owner (#1111) shadows:
- Ownable.owner() (#784-786) (function)
Rename the local variables that shadow another component.

Additional information: link

Plant2EarnToken.setFarmAdrress(address)._farmAdrress (#1236) lacks a zero-check on :
- farmAdrress = _farmAdrress (#1238)
Check that the address is not zero.

Additional information: link

Reentrancy in Plant2EarnToken.constructor() (#1168-1185):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1173)
State variables written after the call(s):
- LPAdrress = _msgSender() (#1183)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1177)
- _allowances[owner][spender] = amount (#1118)
- _mint(_msgSender(),maxSupply) (#1179)
- _balances[account] = _balances[account].add(amount) (#1074)
- _isExcludedFromFee[_msgSender()] = true (#1180)
- _mint(_msgSender(),maxSupply) (#1179)
- _totalSupply = _totalSupply.add(amount) (#1073)
- devRewardAdrress = _msgSender() (#1182)
- farmAdrress = _msgSender() (#1181)
- minterAdrress = _msgSender() (#1184)
- uniswapV2Router = _uniswapV2Router (#1175)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Plant2EarnToken.constructor() (#1168-1185):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1173)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1119)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#1177)
- Transfer(address(0),account,amount) (#1075)
- _mint(_msgSender(),maxSupply) (#1179)
Apply the check-effects-interactions pattern.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#392-409) uses assembly
- INLINE ASM (#401-404)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['0.6.12', '>=0.4.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0']
- >=0.5.0 (#5)
- >=0.5.0 (#25)
- >=0.6.2 (#80)
- >=0.6.2 (#178)
- >=0.6.2<0.8.0 (#224)
- >=0.6.0<0.8.0 (#414)
- >=0.4.0 (#629)
- >=0.6.0<0.8.0 (#728)
- >=0.6.0<0.8.0 (#753)
- >=0.4.0 (#821)
- 0.6.12 (#1140)
Use one Solidity version.

Additional information: link

SafeMath.trySub(uint256,uint256) (#446-449) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.4.0 (#821) 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 Address.functionDelegateCall(address,bytes,string) (#384-390):
- (success,returndata) = target.delegatecall(data) (#388)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Plant2EarnToken.LPAdrress (#1156) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#746)" inContext (#740-749)
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 (#89) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#90)
Prevent variables from having similar names.

Additional information: link

Plant2EarnToken.maxSupply (#1144) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

isExcludedFromFee(address) should be declared external:
- Plant2EarnToken.isExcludedFromFee(address) (#1251-1253)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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.


Twitter account link seems to be invalid


Unable to find Youtube account


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/project description on the website or on BscScan, CoinMarketCap


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 scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for P2E