The PocMon Gaming NFT Ecosystem is designed to meet all kinds of decentralised gaming requests: from NFTs discovery, minting and trading to game currencies exchange, lootboxes and blockchain games store.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PocMon.addLiquidity(uint256,uint256) (contracts/PocMon.sol#427-437) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PocMon._transfer(address,address,uint256) (contracts/PocMon.sol#350-384):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/PocMon.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/PocMon.sol#395-401)
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- compensationToken.compensateBnb(recipient,bnbEquivalent) (contracts/PocMon.sol#480)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/PocMon.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- address(_gemWalletAddress).transfer(gemFeeAmount) (contracts/PocMon.sol#420)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- _gemFee = _previousGemFee (contracts/PocMon.sol#316)
- _gemFee = 0 (contracts/PocMon.sol#310)
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- _liquidityFee = _previousLiquidityFee (contracts/PocMon.sol#317)
- _liquidityFee = 0 (contracts/PocMon.sol#311)
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/PocMon.sol#281)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/PocMon.sol#496)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/PocMon.sol#486)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/PocMon.sol#519)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/PocMon.sol#508)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/PocMon.sol#487)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/PocMon.sol#509)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/PocMon.sol#498)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/PocMon.sol#521)
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- _rTotal = _rTotal.sub(rFee) (contracts/PocMon.sol#234)
- _tokenTransfer(from,to,amount,takeFee) (contracts/PocMon.sol#383)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/PocMon.sol#283)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/PocMon.sol#518)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/PocMon.sol#507)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/PocMon.sol#497)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/PocMon.sol#520)
Apply the check-effects-interactions pattern.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
PocMon.setMaxTxAmount(uint256) (contracts/PocMon.sol#208-211) uses literals with too many digits:
- require(bool,string)(maxTxAmount >= 1_500_000 * 10 ** 9,maxTxAmount should be greater than 1500000e9) (contracts/PocMon.sol#209)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
PocMon.swapAndLiquify(uint256) (contracts/PocMon.sol#405-425) performs a multiplication on the result of a division:
-toGemWallet = contractTokenBalance.mul(_gemFee).div(_gemFee.add(_liquidityFee)) (contracts/PocMon.sol#406)
-gemFeeAmount = newBalance.mul(toGemWallet).div(toGemWallet + half) (contracts/PocMon.sol#417)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in PocMon.constructor(address,address,address,address) (contracts/PocMon.sol#60-89):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/PocMon.sol#72-73)
State variables written after the call(s):
- transferOwnership(owner_) (contracts/PocMon.sol#85)
- _owner = newOwner (@openzeppelin/contracts/access/Ownable.sol#68)
Apply the check-effects-interactions pattern.
Additional information: link
PocMon._getBnbEquivalent(uint256).reserve0 (contracts/PocMon.sol#462) 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
PocMon._getBnbEquivalent(uint256) (contracts/PocMon.sol#457-475) ignores return value by pair.getReserves() (contracts/PocMon.sol#464-469)
Ensure that all the return values of the function calls are used.
Additional information: link
PocMon._approve(address,address,uint256).owner (contracts/PocMon.sol#342) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#34-36) (function)
Rename the local variables that shadow another component.
Additional information: link
PocMon.setNumTokensSellToAddToLiquidity(uint256) (contracts/PocMon.sol#326-328) should emit an event for:
- numTokensSellToAddToLiquidity = amountToUpdate (contracts/PocMon.sol#327)
Emit an event for critical parameter changes.
Additional information: link
PocMon.setGemWallet(address).gemWalletAddress (contracts/PocMon.sol#330) lacks a zero-check on :
- _gemWalletAddress = gemWalletAddress (contracts/PocMon.sol#331)
Check that the address is not zero.
Additional information: link
Variable 'PocMon._getBnbEquivalent(uint256).reserve1_ (contracts/PocMon.sol#464)' in PocMon._getBnbEquivalent(uint256) (contracts/PocMon.sol#457-475) potentially used before declaration: reserve1 = reserve1_ (contracts/PocMon.sol#466)
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 PocMon.transferFrom(address,address,uint256) (contracts/PocMon.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- compensationToken.compensateBnb(recipient,bnbEquivalent) (contracts/PocMon.sol#480)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/PocMon.sol#395-401)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- address(_gemWalletAddress).transfer(gemFeeAmount) (contracts/PocMon.sol#420)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/PocMon.sol#128)
- _allowances[owner][spender] = amount (contracts/PocMon.sol#346)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PocMon.transferFrom(address,address,uint256) (contracts/PocMon.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- compensationToken.compensateBnb(recipient,bnbEquivalent) (contracts/PocMon.sol#480)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/PocMon.sol#395-401)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- address(_gemWalletAddress).transfer(gemFeeAmount) (contracts/PocMon.sol#420)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/PocMon.sol#347)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/PocMon.sol#128)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#195-215) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#207-210)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.4']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#3)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Address.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#3)
- ^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#3)
- ^0.8.4 (contracts/PocMon.sol#2)
- ^0.8.4 (contracts/interfaces/UniswapInterfaces.sol#2)
Use one Solidity version.
Additional information: link
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.4 is not recommended for deployment
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) (@openzeppelin/contracts/utils/Address.sol#178-187):
- (success,returndata) = target.delegatecall(data) (@openzeppelin/contracts/utils/Address.sol#185)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (contracts/interfaces/UniswapInterfaces.sol#61) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in PocMon.transferFrom(address,address,uint256) (contracts/PocMon.sol#126-130):
External calls:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- address(_gemWalletAddress).transfer(gemFeeAmount) (contracts/PocMon.sol#420)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/PocMon.sol#127)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/PocMon.sol#429-436)
- address(_gemWalletAddress).transfer(gemFeeAmount) (contracts/PocMon.sol#420)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/PocMon.sol#128)
- _allowances[owner][spender] = amount (contracts/PocMon.sol#346)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/PocMon.sol#347)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/PocMon.sol#128)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/UniswapInterfaces.sol#65) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/UniswapInterfaces.sol#66)
Prevent variables from having similar names.
Additional information: link
isExcludedFromFee(address) should be declared external:
- PocMon.isExcludedFromFee(address) (contracts/PocMon.sol#338-340)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume 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.
Unable to crawl data from the website
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
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 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 Youtube account