Powered by an FDIC-insured bank, LeisurePay is a closed-loop blockchain payment ecosystem, building a decentralized protocol for Chargeback, Refunds, and Agent Agreements by creating the first decentralized platform that uses the blockchain for settling disputes using RCC, ECI, and Credit Cards.
LPY.addLiquidity(uint256,uint256) (contracts/LPY.sol#709-722) sends eth to arbitrary user
Dangerous calls:
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LPY._transfer(address,address,uint256) (contracts/LPY.sol#624-666):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/LPY.sol#564)
- _rOwned[_marketing] = _rOwned[_marketing].add(rMarketing) (contracts/LPY.sol#573)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/LPY.sol#757)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/LPY.sol#747)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/LPY.sol#748)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/LPY.sol#471)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/LPY.sol#769)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/LPY.sol#759)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/LPY.sol#770)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/LPY.sol#473)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _rTotal = _rTotal.sub(rFee) (contracts/LPY.sol#517)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/LPY.sol#566)
- _tOwned[_marketing] = _tOwned[_marketing].add(tMarketing) (contracts/LPY.sol#575)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/LPY.sol#768)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/LPY.sol#470)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/LPY.sol#758)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/LPY.sol#472)
Apply the check-effects-interactions pattern.
Additional information: link
LPY.antiDump(address,uint256) (contracts/LPY.sol#240-256) uses a dangerous strict equality:
- lastReset[_who] == 0 (contracts/LPY.sol#241)
Don't use strict equality to determine if an account has enough Ether or tokens.
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.
Contract ownership is not renounced (belongs to a wallet)
LPY.addLiquidity(uint256,uint256) (contracts/LPY.sol#709-722) ignores return value by pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
Ensure that all the return values of the function calls are used.
Additional information: link
LPY.includeInReward(address) (contracts/LPY.sol#438-449) has costly operations inside a loop:
- _excluded.pop() (contracts/LPY.sol#445)
Use a local variable to hold the loop computation result.
Additional information: link
LPY.allowance(address,address).owner (contracts/LPY.sol#356) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
LPY._approve(address,address,uint256).owner (contracts/LPY.sol#616) shadows:
- Ownable.owner() (@openzeppelin/contracts/access/Ownable.sol#35-37) (function)
Rename the local variables that shadow another component.
Additional information: link
LPY.updateSwapAmount(uint256) (contracts/LPY.sol#302-304) should emit an event for:
- numTokensSellToAddToLiquidity = _new (contracts/LPY.sol#303)
LPY.updateMaxPerc(uint256) (contracts/LPY.sol#315-318) should emit an event for:
- _maxTxAmount = _newMax (contracts/LPY.sol#317)
LPY.updateFees(uint256,uint256,uint256) (contracts/LPY.sol#496-506) should emit an event for:
- _liquidityFee = liquidityPerc (contracts/LPY.sol#503)
- _marketingFee = marketingPerc (contracts/LPY.sol#504)
- _taxFee = taxPerc (contracts/LPY.sol#505)
Emit an event for critical parameter changes.
Additional information: link
LPY.changeMarketing(address)._new (contracts/LPY.sol#320) lacks a zero-check on :
- _marketing = _new (contracts/LPY.sol#322)
Check that the address is not zero.
Additional information: link
Reentrancy in LPY._transfer(address,address,uint256) (contracts/LPY.sol#624-666):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _liquidityFee = _previousLiquidityFee (contracts/LPY.sol#604)
- _liquidityFee = 0 (contracts/LPY.sol#598)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _marketingFee = _previousMarketingFee (contracts/LPY.sol#605)
- _marketingFee = 0 (contracts/LPY.sol#599)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _previousLiquidityFee = _liquidityFee (contracts/LPY.sol#594)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _previousMarketingFee = _marketingFee (contracts/LPY.sol#595)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _previousTaxFee = _taxFee (contracts/LPY.sol#593)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _tFeeTotal = _tFeeTotal.add(tFee) (contracts/LPY.sol#518)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- _taxFee = _previousTaxFee (contracts/LPY.sol#603)
- _taxFee = 0 (contracts/LPY.sol#597)
Reentrancy in LPY.changeRouter(address) (contracts/LPY.sol#326-344):
External calls:
- _swapPair = IPancakeFactory(pancakeRouter02.factory()).createPair(address(this),pancakeRouter02.WETH()) (contracts/LPY.sol#336)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
- _excluded.push(account) (contracts/LPY.sol#435)
- _excluded[i] = _excluded[_excluded.length - 1] (contracts/LPY.sol#442)
- _excluded.pop() (contracts/LPY.sol#445)
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
- _isExcluded[account] = true (contracts/LPY.sol#434)
- _isExcluded[account] = false (contracts/LPY.sol#444)
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
- _isExcludedFromLimit[account] = false (contracts/LPY.sol#485)
- _isExcludedFromLimit[account] = true (contracts/LPY.sol#481)
- _isExcludedFromLimit[_swapPair] = true (contracts/LPY.sol#341)
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (contracts/LPY.sol#432)
- _tOwned[account] = 0 (contracts/LPY.sol#443)
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
- automatedMarketMakerPairs[pair] = value (contracts/LPY.sol#456)
- pancakePair02 = _swapPair (contracts/LPY.sol#343)
Reentrancy in LPY.constructor() (contracts/LPY.sol#258-284):
External calls:
- _pancakePair02 = IPancakeFactory(_pancakeRouter02.factory()).createPair(address(this),_pancakeRouter02.WETH()) (contracts/LPY.sol#264)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- _excluded.push(account) (contracts/LPY.sol#435)
- _excluded[i] = _excluded[_excluded.length - 1] (contracts/LPY.sol#442)
- _excluded.pop() (contracts/LPY.sol#445)
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- _isExcluded[account] = true (contracts/LPY.sol#434)
- _isExcluded[account] = false (contracts/LPY.sol#444)
- _isExcludedFromFee[owner()] = true (contracts/LPY.sol#276)
- _isExcludedFromFee[address(this)] = true (contracts/LPY.sol#277)
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- _isExcludedFromLimit[account] = false (contracts/LPY.sol#485)
- _isExcludedFromLimit[account] = true (contracts/LPY.sol#481)
- _isExcludedFromLimit[owner()] = true (contracts/LPY.sol#279)
- _isExcludedFromLimit[address(this)] = true (contracts/LPY.sol#280)
- _isExcludedFromLimit[_pancakePair02] = true (contracts/LPY.sol#281)
- _marketing = owner() (contracts/LPY.sol#266)
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (contracts/LPY.sol#432)
- _tOwned[account] = 0 (contracts/LPY.sol#443)
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- automatedMarketMakerPairs[pair] = value (contracts/LPY.sol#456)
- pancakePair02 = _pancakePair02 (contracts/LPY.sol#270)
- pancakeRouter02 = _pancakeRouter02 (contracts/LPY.sol#271)
Reentrancy in LPY.swapAndLiquify(uint256) (contracts/LPY.sol#668-689):
External calls:
- swapTokensForEth(half) (contracts/LPY.sol#680)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- _allowances[owner][spender] = amount (contracts/LPY.sol#620)
Reentrancy in LPY.transferFrom(address,address,uint256) (contracts/LPY.sol#365-369):
External calls:
- _transfer(sender,recipient,amount) (contracts/LPY.sol#366)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/LPY.sol#366)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/LPY.sol#367)
- _allowances[owner][spender] = amount (contracts/LPY.sol#620)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LPY._transfer(address,address,uint256) (contracts/LPY.sol#624-666):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/LPY.sol#653)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (contracts/LPY.sol#752)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- Transfer(sender,recipient,tTransferAmount) (contracts/LPY.sol#763)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- Transfer(sender,recipient,tTransferAmount) (contracts/LPY.sol#774)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
- Transfer(sender,recipient,tTransferAmount) (contracts/LPY.sol#477)
- _tokenTransfer(from,to,amount,takeFee) (contracts/LPY.sol#665)
Reentrancy in LPY.changeRouter(address) (contracts/LPY.sol#326-344):
External calls:
- _swapPair = IPancakeFactory(pancakeRouter02.factory()).createPair(address(this),pancakeRouter02.WETH()) (contracts/LPY.sol#336)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/LPY.sol#465)
- _setAutomatedMarketMakerPair(_swapPair,true) (contracts/LPY.sol#340)
Reentrancy in LPY.constructor() (contracts/LPY.sol#258-284):
External calls:
- _pancakePair02 = IPancakeFactory(_pancakeRouter02.factory()).createPair(address(this),_pancakeRouter02.WETH()) (contracts/LPY.sol#264)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/LPY.sol#465)
- _setAutomatedMarketMakerPair(_pancakePair02,true) (contracts/LPY.sol#273)
- Transfer(address(0),_msgSender(),_tTotal) (contracts/LPY.sol#283)
Reentrancy in LPY.swapAndLiquify(uint256) (contracts/LPY.sol#668-689):
External calls:
- swapTokensForEth(half) (contracts/LPY.sol#680)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/LPY.sol#621)
- addLiquidity(otherHalf,newBalance) (contracts/LPY.sol#686)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/LPY.sol#688)
Reentrancy in LPY.transferFrom(address,address,uint256) (contracts/LPY.sol#365-369):
External calls:
- _transfer(sender,recipient,amount) (contracts/LPY.sol#366)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
- pancakeRouter02.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/LPY.sol#700-706)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/LPY.sol#366)
- pancakeRouter02.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/LPY.sol#714-721)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/LPY.sol#621)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/LPY.sol#367)
Apply the check-effects-interactions pattern.
Additional information: link
LPY.antiDump(address,uint256) (contracts/LPY.sol#240-256) uses timestamp for comparisons
Dangerous comparisons:
- lastReset[_who] == 0 (contracts/LPY.sol#241)
- lastReset[_who].add(86400) <= block.timestamp (contracts/LPY.sol#247)
LPY.updateFees(uint256,uint256,uint256) (contracts/LPY.sol#496-506) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(lastFeeChange.add(feeLockDays) <= block.timestamp,Tax change interval has not reached) (contracts/LPY.sol#500)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#27-37) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#33-35)
Address.verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#196-216) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#208-211)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.9']
- ^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4)
- ^0.8.0 (@openzeppelin/contracts/interfaces/IERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Address.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4)
- ^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#4)
- ^0.8.9 (contracts/LPY.sol#2)
Use one Solidity version.
Additional information: link
Address.functionCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#80-82) is never used and should be removed
Address.functionCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#90-96) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (@openzeppelin/contracts/utils/Address.sol#109-115) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#123-134) is never used and should be removed
Address.functionDelegateCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#169-171) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#179-188) is never used and should be removed
Address.functionStaticCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#142-144) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#152-161) is never used and should be removed
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#27-37) is never used and should be removed
Address.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#55-60) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#196-216) is never used and should be removed
Context._msgData() (@openzeppelin/contracts/utils/Context.sol#21-23) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#191-200) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#151-153) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/utils/math/SafeMath.sol#217-226) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#22-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#64-69) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#76-81) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#47-57) is never used and should be removed
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#35-40) is never used and should be removed
Remove unused functions.
Additional information: link
LPY._rTotal (contracts/LPY.sol#188) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LPY._previousLiquidityFee (contracts/LPY.sol#196) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
LPY._previousTaxFee (contracts/LPY.sol#199) is set pre-construction with a non-constant function or state variable:
- _taxFee
LPY._previousMarketingFee (contracts/LPY.sol#202) is set pre-construction with a non-constant function or state variable:
- _marketingFee
LPY.lastFeeChange (contracts/LPY.sol#219) is set pre-construction with a non-constant function or state variable:
- block.timestamp.sub(feeLockDays)
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
Pragma version^0.8.0 (@openzeppelin/contracts/access/Ownable.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/interfaces/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/token/ERC20/IERC20.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Address.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/Context.sol#4) allows old versions
Pragma version^0.8.0 (@openzeppelin/contracts/utils/math/SafeMath.sol#4) allows old versions
Pragma version^0.8.9 (contracts/LPY.sol#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#55-60):
- (success) = recipient.call{value: amount}() (@openzeppelin/contracts/utils/Address.sol#58)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#123-134):
- (success,returndata) = target.call{value: value}(data) (@openzeppelin/contracts/utils/Address.sol#132)
Low level call in Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#152-161):
- (success,returndata) = target.staticcall(data) (@openzeppelin/contracts/utils/Address.sol#159)
Low level call in Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#179-188):
- (success,returndata) = target.delegatecall(data) (@openzeppelin/contracts/utils/Address.sol#186)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeFactory.INIT_CODE_PAIR_HASH() (contracts/LPY.sol#26) is not in mixedCase
Function IPancakeRouter01.WETH() (contracts/LPY.sol#31) is not in mixedCase
Parameter LPY.antiDump(address,uint256)._who (contracts/LPY.sol#240) is not in mixedCase
Parameter LPY.antiDump(address,uint256)._amount (contracts/LPY.sol#240) is not in mixedCase
Parameter LPY.updateSwapAmount(uint256)._new (contracts/LPY.sol#302) is not in mixedCase
Parameter LPY.setBlacklisted(address,bool)._blacklistAddress (contracts/LPY.sol#306) is not in mixedCase
Parameter LPY.setBlacklisted(address,bool)._isBlacklisted (contracts/LPY.sol#306) is not in mixedCase
Parameter LPY.updateMaxPerc(uint256)._newMax (contracts/LPY.sol#315) is not in mixedCase
Parameter LPY.changeMarketing(address)._new (contracts/LPY.sol#320) is not in mixedCase
Parameter LPY.changeRouter(address)._new (contracts/LPY.sol#326) is not in mixedCase
Parameter LPY.setSwapAndLiquifyEnabled(bool)._enabled (contracts/LPY.sol#508) is not in mixedCase
Parameter LPY.calculateTaxFee(uint256)._amount (contracts/LPY.sol#578) is not in mixedCase
Parameter LPY.calculateLiquidityFee(uint256)._amount (contracts/LPY.sol#582) is not in mixedCase
Parameter LPY.calculateMarketingFee(uint256)._amount (contracts/LPY.sol#586) is not in mixedCase
Variable LPY._blacklist (contracts/LPY.sol#174) is not in mixedCase
Variable LPY._liquidityFee (contracts/LPY.sol#195) is not in mixedCase
Variable LPY._taxFee (contracts/LPY.sol#198) is not in mixedCase
Variable LPY._marketingFee (contracts/LPY.sol#201) is not in mixedCase
Variable LPY._marketing (contracts/LPY.sol#210) is not in mixedCase
Variable LPY._maxTxAmount (contracts/LPY.sol#218) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/LPY.sol#36) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/LPY.sol#37)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._transferToExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#756) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._transferStandard(address,address,uint256).tTransferAmount (contracts/LPY.sol#746)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/LPY.sol#540) is too similar to LPY._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#767)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._getTValues(uint256).tTransferAmount (contracts/LPY.sol#531)
Variable LPY._getValues(uint256).rTransferAmount (contracts/LPY.sol#523) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#469) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#469)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY.reflectionFromToken(uint256,bool).rTransferAmount (contracts/LPY.sol#405) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/LPY.sol#767) is too similar to LPY._getValues(uint256).tTransferAmount (contracts/LPY.sol#522)
Variable LPY._transferStandard(address,address,uint256).rTransferAmount (contracts/LPY.sol#746) is too similar to LPY._transferToExcluded(address,address,uint256).tTransferAmount (contracts/LPY.sol#756)
Prevent variables from having similar names.
Additional information: link
LPY.slitherConstructorVariables() (contracts/LPY.sol#170-777) uses literals with too many digits:
- _tTotal = 10000000000 * 1e18 (contracts/LPY.sol#187)
LPY.slitherConstructorVariables() (contracts/LPY.sol#170-777) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 1e18 (contracts/LPY.sol#220)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LPY._decimals (contracts/LPY.sol#193) should be constant
LPY._name (contracts/LPY.sol#191) should be constant
LPY._precision (contracts/LPY.sol#217) should be constant
LPY._symbol (contracts/LPY.sol#192) should be constant
LPY._tTotal (contracts/LPY.sol#187) should be constant
LPY.feeLockDays (contracts/LPY.sol#212) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (@openzeppelin/contracts/access/Ownable.sol#54-56)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (@openzeppelin/contracts/access/Ownable.sol#62-65)
name() should be declared external:
- LPY.name() (contracts/LPY.sol#286-288)
symbol() should be declared external:
- LPY.symbol() (contracts/LPY.sol#290-292)
decimals() should be declared external:
- LPY.decimals() (contracts/LPY.sol#294-296)
totalSupply() should be declared external:
- LPY.totalSupply() (contracts/LPY.sol#298-300)
transfer(address,uint256) should be declared external:
- LPY.transfer(address,uint256) (contracts/LPY.sol#351-354)
allowance(address,address) should be declared external:
- LPY.allowance(address,address) (contracts/LPY.sol#356-358)
approve(address,uint256) should be declared external:
- LPY.approve(address,uint256) (contracts/LPY.sol#360-363)
transferFrom(address,address,uint256) should be declared external:
- LPY.transferFrom(address,address,uint256) (contracts/LPY.sol#365-369)
increaseAllowance(address,uint256) should be declared external:
- LPY.increaseAllowance(address,uint256) (contracts/LPY.sol#371-374)
decreaseAllowance(address,uint256) should be declared external:
- LPY.decreaseAllowance(address,uint256) (contracts/LPY.sol#376-379)
isExcludedFromReward(address) should be declared external:
- LPY.isExcludedFromReward(address) (contracts/LPY.sol#381-383)
totalFees() should be declared external:
- LPY.totalFees() (contracts/LPY.sol#385-387)
deliver(uint256) should be declared external:
- LPY.deliver(uint256) (contracts/LPY.sol#389-397)
reflectionFromToken(uint256,bool) should be declared external:
- LPY.reflectionFromToken(uint256,bool) (contracts/LPY.sol#399-408)
excludeFromFee(address) should be declared external:
- LPY.excludeFromFee(address) (contracts/LPY.sol#488-490)
includeInFee(address) should be declared external:
- LPY.includeInFee(address) (contracts/LPY.sol#492-494)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LPY.setSwapAndLiquifyEnabled(bool) (contracts/LPY.sol#508-511)
isExcludedFromFee(address) should be declared external:
- LPY.isExcludedFromFee(address) (contracts/LPY.sol#608-610)
isExcludedFromLimit(address) should be declared external:
- LPY.isExcludedFromLimit(address) (contracts/LPY.sol#612-614)
Use the external attribute for functions never called from the contract.
Additional information: link
Token is deployed only at one blockchain
Contract has 6% buy tax and 5% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
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
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Unable to find Discord account