XPRO is a token which created for communities that aim to play an active role in the crypto ecosystem in order to make Web3 more widespread all over the world. It is a project dedicated to the formation of a decentralized internet and financial model of its infrastructure by taking place in the Web3 ecosystem.
It was created by the developer community on BNB Chain which one of the world's largest blockchain-based operating systems, on June 1, 2022. When XPRO was created, the first step was taken to ensure that the contract and liquidity access were thrown into the dead wallet and fully in line with the Web3 vision. Aiming to be one of the cornerstones of decentralized finance, XPRO is a community project that aims to provide decentralized applications and solutions.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in XPRO._transfer(address,address,uint256) (contracts/ProjectX.sol#651-681):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/ProjectX.sol#602)
- _rOwned[_charityWalletAddress] = _rOwned[_charityWalletAddress].add(rDevelopment) (contracts/ProjectX.sol#609)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/ProjectX.sol#743)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/ProjectX.sol#734)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/ProjectX.sol#754)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/ProjectX.sol#735)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/ProjectX.sol#527)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/ProjectX.sol#755)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/ProjectX.sol#745)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/ProjectX.sol#529)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _rTotal = _rTotal.sub(rFee) (contracts/ProjectX.sol#561)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _tOwned[_charityWalletAddress] = _tOwned[_charityWalletAddress].add(tDevelopment) (contracts/ProjectX.sol#611)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/ProjectX.sol#604)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/ProjectX.sol#753)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/ProjectX.sol#526)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/ProjectX.sol#744)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/ProjectX.sol#528)
Apply the check-effects-interactions pattern.
Additional information: link
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._getValues(uint256).tDevelopment (contracts/ProjectX.sol#565)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._transferBothExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#525)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._transferStandard(address,address,uint256).tDevelopment (contracts/ProjectX.sol#733)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._transferToExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#742)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._getTValues(uint256).tDevelopment (contracts/ProjectX.sol#572)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._takeDevelopment(uint256).tDevelopment (contracts/ProjectX.sol#606)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._transferStandard(address,address,uint256).tDevelopment (contracts/ProjectX.sol#733)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._takeDevelopment(uint256).tDevelopment (contracts/ProjectX.sol#606)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._transferToExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#742)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._getValues(uint256).tDevelopment (contracts/ProjectX.sol#565)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).tDevelopment (contracts/ProjectX.sol#576)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/ProjectX.sol#251) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/ProjectX.sol#252)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._transferFromExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#752)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).tDevelopment (contracts/ProjectX.sol#576)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rDevelopment (contracts/ProjectX.sol#580) is too similar to XPRO._transferFromExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#752)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._getTValues(uint256).tDevelopment (contracts/ProjectX.sol#572)
Variable XPRO._transferStandard(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#733) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#752) is too similar to XPRO._transferToExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#742)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/ProjectX.sol#581) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._transferToExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#742) is too similar to XPRO._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#525)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._transferStandard(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#733)
Variable XPRO._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/ProjectX.sol#525) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO.reflectionFromToken(uint256,bool).rTransferAmount (contracts/ProjectX.sol#495) is too similar to XPRO._getValues(uint256).tTransferAmount (contracts/ProjectX.sol#565)
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._getTValues(uint256).tTransferAmount (contracts/ProjectX.sol#573)
Variable XPRO._takeDevelopment(uint256).rDevelopment (contracts/ProjectX.sol#608) is too similar to XPRO._transferBothExcluded(address,address,uint256).tDevelopment (contracts/ProjectX.sol#525)
Variable XPRO._getValues(uint256).rTransferAmount (contracts/ProjectX.sol#566) is too similar to XPRO._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/ProjectX.sol#752)
Prevent variables from having similar names.
Additional information: link
XPRO.allowance(address,address).owner (contracts/ProjectX.sol#455) shadows:
- Ownable.owner() (contracts/ProjectX.sol#172-174) (function)
XPRO._approve(address,address,uint256).owner (contracts/ProjectX.sol#645) shadows:
- Ownable.owner() (contracts/ProjectX.sol#172-174) (function)
Rename the local variables that shadow another component.
Additional information: link
XPRO.includeInReward(address) (contracts/ProjectX.sol#512-523) has costly operations inside a loop:
- _excluded.pop() (contracts/ProjectX.sol#519)
Use a local variable to hold the loop computation result.
Additional information: link
Redundant expression "this (contracts/ProjectX.sol#102)" inContext (contracts/ProjectX.sol#97-105)
Remove redundant statements if they congest code but offer no value.
Additional information: link
XPRO.slitherConstructorVariables() (contracts/ProjectX.sol#377-761) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 30000000000 * 10 ** 6 * 10 ** 9 (contracts/ProjectX.sol#412)
XPRO.slitherConstructorVariables() (contracts/ProjectX.sol#377-761) uses literals with too many digits:
- _tTotal = 30000000000 * 10 ** 6 * 10 ** 9 (contracts/ProjectX.sol#389)
XPRO.slitherConstructorVariables() (contracts/ProjectX.sol#377-761) uses literals with too many digits:
- _maxTxAmount = 30000000000 * 10 ** 6 * 10 ** 9 (contracts/ProjectX.sol#411)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
XPRO.addLiquidity(uint256,uint256) (contracts/ProjectX.sol#704-714) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
Ensure that all the return values of the function calls are used.
Additional information: link
Address.isContract(address) (contracts/ProjectX.sol#108-112) uses assembly
- INLINE ASM (contracts/ProjectX.sol#110)
Address._verifyCallResult(bool,bytes,string) (contracts/ProjectX.sol#149-162) uses assembly
- INLINE ASM (contracts/ProjectX.sol#154-157)
Do not use evm assembly.
Additional information: link
Reentrancy in XPRO.transferFrom(address,address,uint256) (contracts/ProjectX.sol#462-466):
External calls:
- _transfer(sender,recipient,amount) (contracts/ProjectX.sol#463)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/ProjectX.sol#463)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/ProjectX.sol#464)
- _allowances[owner][spender] = amount (contracts/ProjectX.sol#648)
Reentrancy in XPRO.swapAndLiquify(uint256) (contracts/ProjectX.sol#682-690):
External calls:
- swapTokensForEth(half) (contracts/ProjectX.sol#686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- _allowances[owner][spender] = amount (contracts/ProjectX.sol#648)
Reentrancy in XPRO._transfer(address,address,uint256) (contracts/ProjectX.sol#651-681):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _developmentFee = _previousDevelopmentFee (contracts/ProjectX.sol#639)
- _developmentFee = 0 (contracts/ProjectX.sol#634)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _liquidityFee = _previousLiquidityFee (contracts/ProjectX.sol#640)
- _liquidityFee = 0 (contracts/ProjectX.sol#635)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _previousDevelopmentFee = _developmentFee (contracts/ProjectX.sol#631)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _previousLiquidityFee = _liquidityFee (contracts/ProjectX.sol#632)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _previousTaxFee = _taxFee (contracts/ProjectX.sol#630)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _tFeeTotal = _tFeeTotal.add(tFee) (contracts/ProjectX.sol#562)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- _taxFee = _previousTaxFee (contracts/ProjectX.sol#638)
- _taxFee = 0 (contracts/ProjectX.sol#633)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in XPRO._transfer(address,address,uint256) (contracts/ProjectX.sol#651-681):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/ProjectX.sol#674)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (contracts/ProjectX.sol#739)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- Transfer(sender,recipient,tTransferAmount) (contracts/ProjectX.sol#749)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- Transfer(sender,recipient,tTransferAmount) (contracts/ProjectX.sol#759)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
- Transfer(sender,recipient,tTransferAmount) (contracts/ProjectX.sol#533)
- _tokenTransfer(from,to,amount,takeFee) (contracts/ProjectX.sol#680)
Reentrancy in XPRO.swapAndLiquify(uint256) (contracts/ProjectX.sol#682-690):
External calls:
- swapTokensForEth(half) (contracts/ProjectX.sol#686)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ProjectX.sol#649)
- addLiquidity(otherHalf,newBalance) (contracts/ProjectX.sol#688)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/ProjectX.sol#689)
Reentrancy in XPRO.transferFrom(address,address,uint256) (contracts/ProjectX.sol#462-466):
External calls:
- _transfer(sender,recipient,amount) (contracts/ProjectX.sol#463)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/ProjectX.sol#696-702)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/ProjectX.sol#463)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/ProjectX.sol#706-713)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ProjectX.sol#649)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/ProjectX.sol#464)
Apply the check-effects-interactions pattern.
Additional information: link
XPRO.setLiquidityFeePercent(uint256) (contracts/ProjectX.sol#547-549) should emit an event for:
- _liquidityFee = liquidityFee (contracts/ProjectX.sol#548)
XPRO.setTaxFeePercent(uint256) (contracts/ProjectX.sol#541-543) should emit an event for:
- _taxFee = taxFee (contracts/ProjectX.sol#542)
XPRO.setDevelopmentFeePercent(uint256) (contracts/ProjectX.sol#544-546) should emit an event for:
- _developmentFee = developmentFee (contracts/ProjectX.sol#545)
XPRO.setMaxTxPercent(uint256) (contracts/ProjectX.sol#550-554) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 3) (contracts/ProjectX.sol#551-553)
Emit an event for critical parameter changes.
Additional information: link
SafeMath.tryDiv(uint256,uint256) (contracts/ProjectX.sol#50-55) is never used and should be removed
Address.sendValue(address,uint256) (contracts/ProjectX.sol#113-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/ProjectX.sol#124-126) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (contracts/ProjectX.sol#56-61) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (contracts/ProjectX.sol#144-148) is never used and should be removed
Address.functionDelegateCall(address,bytes) (contracts/ProjectX.sol#141-143) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (contracts/ProjectX.sol#29-35) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/ProjectX.sol#89-94) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/ProjectX.sol#127-132) is never used and should be removed
SafeMath.div(uint256,uint256,string) (contracts/ProjectX.sol#83-88) is never used and should be removed
Context._msgData() (contracts/ProjectX.sol#101-104) is never used and should be removed
Address.functionStaticCall(address,bytes) (contracts/ProjectX.sol#133-135) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/ProjectX.sol#74-76) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (contracts/ProjectX.sol#149-162) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (contracts/ProjectX.sol#42-49) is never used and should be removed
SafeMath.trySub(uint256,uint256) (contracts/ProjectX.sol#36-41) is never used and should be removed
Address.isContract(address) (contracts/ProjectX.sol#108-112) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/ProjectX.sol#121-123) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (contracts/ProjectX.sol#136-140) is never used and should be removed
Address.functionCall(address,bytes) (contracts/ProjectX.sol#118-120) is never used and should be removed
Remove unused functions.
Additional information: link
XPRO._previousDevelopmentFee (contracts/ProjectX.sol#401) is set pre-construction with a non-constant function or state variable:
- _developmentFee
XPRO._rTotal (contracts/ProjectX.sol#390) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
XPRO._previousLiquidityFee (contracts/ProjectX.sol#404) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
XPRO._previousTaxFee (contracts/ProjectX.sol#398) is set pre-construction with a non-constant function or state variable:
- _taxFee
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 Address.functionStaticCall(address,bytes,string) (contracts/ProjectX.sol#136-140):
- (success,returndata) = target.staticcall(data) (contracts/ProjectX.sol#138)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (contracts/ProjectX.sol#127-132):
- (success,returndata) = target.call{value: value}(data) (contracts/ProjectX.sol#130)
Low level call in Address.functionDelegateCall(address,bytes,string) (contracts/ProjectX.sol#144-148):
- (success,returndata) = target.delegatecall(data) (contracts/ProjectX.sol#146)
Low level call in Address.sendValue(address,uint256) (contracts/ProjectX.sol#113-117):
- (success) = recipient.call{value: amount}() (contracts/ProjectX.sol#115)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter XPRO.calculateLiquidityFee(uint256)._amount (contracts/ProjectX.sol#623) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/ProjectX.sol#215) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/ProjectX.sol#229) is not in mixedCase
Variable XPRO._taxFee (contracts/ProjectX.sol#397) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/ProjectX.sol#214) is not in mixedCase
Parameter XPRO.calculateDevelopmentFee(uint256)._amount (contracts/ProjectX.sol#618) is not in mixedCase
Parameter XPRO.setSwapAndLiquifyEnabled(bool)._enabled (contracts/ProjectX.sol#555) is not in mixedCase
Variable XPRO._maxTxAmount (contracts/ProjectX.sol#411) is not in mixedCase
Variable XPRO._developmentFee (contracts/ProjectX.sol#400) is not in mixedCase
Variable XPRO._liquidityFee (contracts/ProjectX.sol#403) is not in mixedCase
Parameter XPRO.calculateTaxFee(uint256)._amount (contracts/ProjectX.sol#613) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/ProjectX.sol#247) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
XPRO._name (contracts/ProjectX.sol#393) should be constant
XPRO.numTokensSellToAddToLiquidity (contracts/ProjectX.sol#412) should be constant
XPRO._symbol (contracts/ProjectX.sol#394) should be constant
XPRO._charityWalletAddress (contracts/ProjectX.sol#386) should be constant
XPRO._tTotal (contracts/ProjectX.sol#389) should be constant
XPRO._decimals (contracts/ProjectX.sol#395) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
excludeFromFee(address) should be declared external:
- XPRO.excludeFromFee(address) (contracts/ProjectX.sol#535-537)
increaseAllowance(address,uint256) should be declared external:
- XPRO.increaseAllowance(address,uint256) (contracts/ProjectX.sol#467-470)
name() should be declared external:
- XPRO.name() (contracts/ProjectX.sol#435-437)
allowance(address,address) should be declared external:
- XPRO.allowance(address,address) (contracts/ProjectX.sol#455-457)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/ProjectX.sol#179-182)
decreaseAllowance(address,uint256) should be declared external:
- XPRO.decreaseAllowance(address,uint256) (contracts/ProjectX.sol#471-474)
approve(address,uint256) should be declared external:
- XPRO.approve(address,uint256) (contracts/ProjectX.sol#458-461)
includeInFee(address) should be declared external:
- XPRO.includeInFee(address) (contracts/ProjectX.sol#538-540)
setSwapAndLiquifyEnabled(bool) should be declared external:
- XPRO.setSwapAndLiquifyEnabled(bool) (contracts/ProjectX.sol#555-558)
reflectionFromToken(uint256,bool) should be declared external:
- XPRO.reflectionFromToken(uint256,bool) (contracts/ProjectX.sol#489-498)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/ProjectX.sol#183-187)
excludeFromReward(address) should be declared external:
- XPRO.excludeFromReward(address) (contracts/ProjectX.sol#504-511)
transferFrom(address,address,uint256) should be declared external:
- XPRO.transferFrom(address,address,uint256) (contracts/ProjectX.sol#462-466)
isExcludedFromFee(address) should be declared external:
- XPRO.isExcludedFromFee(address) (contracts/ProjectX.sol#642-644)
totalFees() should be declared external:
- XPRO.totalFees() (contracts/ProjectX.sol#478-480)
isExcludedFromReward(address) should be declared external:
- XPRO.isExcludedFromReward(address) (contracts/ProjectX.sol#475-477)
totalSupply() should be declared external:
- XPRO.totalSupply() (contracts/ProjectX.sol#444-446)
deliver(uint256) should be declared external:
- XPRO.deliver(uint256) (contracts/ProjectX.sol#481-488)
symbol() should be declared external:
- XPRO.symbol() (contracts/ProjectX.sol#438-440)
decimals() should be declared external:
- XPRO.decimals() (contracts/ProjectX.sol#441-443)
transfer(address,uint256) should be declared external:
- XPRO.transfer(address,uint256) (contracts/ProjectX.sol#451-454)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Contract has 5% buy tax and 4% sell tax.
Taxes are low and contract ownership is renounced.
Token has no active CoinGecko listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has relatively low CoinMarketCap rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Discord account