AstroSanta - Auto-generating liquidity protocol / Static farming - Play2earn - NFT
AstroSanta combines the power of reasonable buy and sell taxes for the BSC space!
Having portions of each transaction added to liquidity ensures less price volatility whereas the manual buyback is used to create bullish momentum or defend key support areas.
Holders earn passive rewards through static reflection as they watch their balance of AstroSanta grow indefinitely. Our tokenomics incentivize holding.
LiquidityGeneratorToken.addLiquidity(uint256,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#587-600) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#497-544):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (contracts/tokens/LiquidityGeneratorToken.sol#434)
- _rOwned[_charityAddress] = _rOwned[_charityAddress].add(rCharity) (contracts/tokens/LiquidityGeneratorToken.sol#443)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/tokens/LiquidityGeneratorToken.sol#662)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/tokens/LiquidityGeneratorToken.sol#640)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/tokens/LiquidityGeneratorToken.sol#294)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (contracts/tokens/LiquidityGeneratorToken.sol#686)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#641)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#687)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#664)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#296)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _rTotal = _rTotal.sub(rFee) (contracts/tokens/LiquidityGeneratorToken.sol#343)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (contracts/tokens/LiquidityGeneratorToken.sol#436)
- _tOwned[_charityAddress] = _tOwned[_charityAddress].add(tCharity) (contracts/tokens/LiquidityGeneratorToken.sol#445)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/tokens/LiquidityGeneratorToken.sol#293)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (contracts/tokens/LiquidityGeneratorToken.sol#685)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#663)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#295)
Apply the check-effects-interactions pattern.
Additional information: link
OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) shadows:
- ContextUpgradeable.__gap (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#31)
Remove the state variable shadowing.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16) (contracts/tokens/LiquidityGeneratorToken.sol#69-143) contains a tautology or contradiction:
- require(bool,string)(liquidityFeeBps_ >= 0 && liquidityFeeBps_ <= 10 ** 4,Invalid liquidity fee) (contracts/tokens/LiquidityGeneratorToken.sol#82)
LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16) (contracts/tokens/LiquidityGeneratorToken.sol#69-143) contains a tautology or contradiction:
- require(bool,string)(charityFeeBps_ >= 0 && charityFeeBps_ <= 10 ** 4,Invalid charity fee) (contracts/tokens/LiquidityGeneratorToken.sol#83)
LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16) (contracts/tokens/LiquidityGeneratorToken.sol#69-143) contains a tautology or contradiction:
- require(bool,string)(taxFeeBps_ >= 0 && taxFeeBps_ <= 10 ** 4,Invalid tax fee) (contracts/tokens/LiquidityGeneratorToken.sol#81)
LiquidityGeneratorToken.setTaxFeePercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#319-322) contains a tautology or contradiction:
- require(bool,string)(taxFeeBps >= 0 && taxFeeBps <= 10 ** 4,Invalid bps) (contracts/tokens/LiquidityGeneratorToken.sol#320)
LiquidityGeneratorToken.setLiquidityFeePercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#324-327) contains a tautology or contradiction:
- require(bool,string)(liquidityFeeBps >= 0 && liquidityFeeBps <= 10 ** 4,Invalid bps) (contracts/tokens/LiquidityGeneratorToken.sol#325)
LiquidityGeneratorToken.setMaxTxPercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#329-332) contains a tautology or contradiction:
- require(bool,string)(maxTxBps >= 0 && maxTxBps <= 10 ** 4,Invalid bps) (contracts/tokens/LiquidityGeneratorToken.sol#330)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
LiquidityGeneratorToken.includeInReward(address) (contracts/tokens/LiquidityGeneratorToken.sol#266-277) has costly operations inside a loop:
- _excluded.pop() (contracts/tokens/LiquidityGeneratorToken.sol#273)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#171-188) is never used and should be removed
Address.functionCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#89-91) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (@openzeppelin/contracts/utils/Address.sol#104-106) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#114-121) is never used and should be removed
Address.functionDelegateCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#153-155) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#163-169) is never used and should be removed
Address.functionStaticCall(address,bytes) (@openzeppelin/contracts/utils/Address.sol#129-131) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#139-145) is never used and should be removed
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#26-35) is never used and should be removed
Address.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#53-59) is never used and should be removed
AddressUpgradeable._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#147-164) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#79-81) is never used and should be removed
AddressUpgradeable.functionCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#89-91) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#104-106) is never used and should be removed
AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#114-121) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#129-131) is never used and should be removed
AddressUpgradeable.functionStaticCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#139-145) is never used and should be removed
AddressUpgradeable.sendValue(address,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#53-59) is never used and should be removed
ContextUpgradeable.__Context_init() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#17-19) is never used and should be removed
ContextUpgradeable._msgData() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#27-30) is never used and should be removed
SafeMath.div(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#190-193) is never used and should be removed
SafeMath.mod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#152-155) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (@openzeppelin/contracts/math/SafeMath.sol#210-213) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#24-28) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#60-63) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#70-73) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#45-53) is never used and should be removed
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/math/SafeMath.sol#35-38) is never used and should be removed
Remove unused functions.
Additional information: link
LiquidityGeneratorToken.addLiquidity(uint256,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#587-600) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
Ensure that all the return values of the function calls are used.
Additional information: link
LiquidityGeneratorToken.allowance(address,address).owner (contracts/tokens/LiquidityGeneratorToken.sol#171) shadows:
- OwnableUpgradeable.owner() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#41-43) (function)
LiquidityGeneratorToken._approve(address,address,uint256).owner (contracts/tokens/LiquidityGeneratorToken.sol#486) shadows:
- OwnableUpgradeable.owner() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#41-43) (function)
Rename the local variables that shadow another component.
Additional information: link
LiquidityGeneratorToken.setTaxFeePercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#319-322) should emit an event for:
- _taxFee = taxFeeBps (contracts/tokens/LiquidityGeneratorToken.sol#321)
LiquidityGeneratorToken.setLiquidityFeePercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#324-327) should emit an event for:
- _liquidityFee = liquidityFeeBps (contracts/tokens/LiquidityGeneratorToken.sol#326)
LiquidityGeneratorToken.setMaxTxPercent(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#329-332) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxBps).div(10 ** 4) (contracts/tokens/LiquidityGeneratorToken.sol#331)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#497-544):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _charityFee = _previousCharityFee (contracts/tokens/LiquidityGeneratorToken.sol#478)
- _charityFee = 0 (contracts/tokens/LiquidityGeneratorToken.sol#472)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _liquidityFee = _previousLiquidityFee (contracts/tokens/LiquidityGeneratorToken.sol#477)
- _liquidityFee = 0 (contracts/tokens/LiquidityGeneratorToken.sol#471)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _previousCharityFee = _charityFee (contracts/tokens/LiquidityGeneratorToken.sol#468)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _previousLiquidityFee = _liquidityFee (contracts/tokens/LiquidityGeneratorToken.sol#467)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _previousTaxFee = _taxFee (contracts/tokens/LiquidityGeneratorToken.sol#466)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _tFeeTotal = _tFeeTotal.add(tFee) (contracts/tokens/LiquidityGeneratorToken.sol#344)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- _taxFee = _previousTaxFee (contracts/tokens/LiquidityGeneratorToken.sol#476)
- _taxFee = 0 (contracts/tokens/LiquidityGeneratorToken.sol#470)
Reentrancy in LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16) (contracts/tokens/LiquidityGeneratorToken.sol#69-143):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/LiquidityGeneratorToken.sol#125-128)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (contracts/tokens/LiquidityGeneratorToken.sol#134)
- _isExcludedFromFee[address(this)] = true (contracts/tokens/LiquidityGeneratorToken.sol#135)
- _isExcludedFromMaxTx[address(this)] = true (contracts/tokens/LiquidityGeneratorToken.sol#138)
- _isExcludedFromMaxTx[address(0xdead)] = true (contracts/tokens/LiquidityGeneratorToken.sol#139)
- _isExcludedFromMaxTx[address(0)] = true (contracts/tokens/LiquidityGeneratorToken.sol#140)
- uniswapV2Router = _uniswapV2Router (contracts/tokens/LiquidityGeneratorToken.sol#131)
Reentrancy in LiquidityGeneratorToken.swapAndLiquify(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#546-567):
External calls:
- swapTokensForEth(half) (contracts/tokens/LiquidityGeneratorToken.sol#558)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- _allowances[owner][spender] = amount (contracts/tokens/LiquidityGeneratorToken.sol#493)
Reentrancy in LiquidityGeneratorToken.transferFrom(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#180-195):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/LiquidityGeneratorToken.sol#185)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/LiquidityGeneratorToken.sol#185)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/LiquidityGeneratorToken.sol#186-193)
- _allowances[owner][spender] = amount (contracts/tokens/LiquidityGeneratorToken.sol#493)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#497-544):
External calls:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (contracts/tokens/LiquidityGeneratorToken.sol#531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
Event emitted after the call(s):
- Transfer(_msgSender(),_charityAddress,tCharity) (contracts/tokens/LiquidityGeneratorToken.sol#446)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- Transfer(sender,recipient,tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#645)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- Transfer(sender,recipient,tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#668)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- Transfer(sender,recipient,tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#691)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
- Transfer(sender,recipient,tTransferAmount) (contracts/tokens/LiquidityGeneratorToken.sol#300)
- _tokenTransfer(from,to,amount,takeFee) (contracts/tokens/LiquidityGeneratorToken.sol#543)
Reentrancy in LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16) (contracts/tokens/LiquidityGeneratorToken.sol#69-143):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/tokens/LiquidityGeneratorToken.sol#125-128)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (contracts/tokens/LiquidityGeneratorToken.sol#142)
Reentrancy in LiquidityGeneratorToken.swapAndLiquify(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#546-567):
External calls:
- swapTokensForEth(half) (contracts/tokens/LiquidityGeneratorToken.sol#558)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/LiquidityGeneratorToken.sol#494)
- addLiquidity(otherHalf,newBalance) (contracts/tokens/LiquidityGeneratorToken.sol#564)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/tokens/LiquidityGeneratorToken.sol#566)
Reentrancy in LiquidityGeneratorToken.transferFrom(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#180-195):
External calls:
- _transfer(sender,recipient,amount) (contracts/tokens/LiquidityGeneratorToken.sol#185)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#578-584)
External calls sending eth:
- _transfer(sender,recipient,amount) (contracts/tokens/LiquidityGeneratorToken.sol#185)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/tokens/LiquidityGeneratorToken.sol#592-599)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/tokens/LiquidityGeneratorToken.sol#494)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (contracts/tokens/LiquidityGeneratorToken.sol#186-193)
Apply the check-effects-interactions pattern.
Additional information: link
AddressUpgradeable.isContract(address) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#26-35) uses assembly
- INLINE ASM (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#33)
AddressUpgradeable._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#147-164) uses assembly
- INLINE ASM (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#156-159)
Address.isContract(address) (@openzeppelin/contracts/utils/Address.sol#26-35) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#33)
Address._verifyCallResult(bool,bytes,string) (@openzeppelin/contracts/utils/Address.sol#171-188) uses assembly
- INLINE ASM (@openzeppelin/contracts/utils/Address.sol#180-183)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.4.24<0.8.0', '>=0.5.0', '>=0.6.0<0.8.0', '>=0.6.2', '>=0.6.2<0.8.0', '^0.7.0', '^0.7.6']
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#3)
- >=0.4.24<0.8.0 (@openzeppelin/contracts-upgradeable/proxy/Initializable.sol#4)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol#3)
- >=0.6.2<0.8.0 (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#3)
- >=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#3)
- ^0.7.0 (@openzeppelin/contracts/math/SafeMath.sol#3)
- ^0.7.0 (@openzeppelin/contracts/utils/Address.sol#3)
- >=0.5.0 (contracts/interfaces/ILiquidityGeneratorToken.sol#2)
- >=0.5.0 (contracts/interfaces/IUniswapV2Factory.sol#2)
- >=0.5.0 (contracts/interfaces/IUniswapV2Pair.sol#2)
- >=0.6.2 (contracts/interfaces/IUniswapV2Router02.sol#2)
- ^0.7.6 (contracts/tokens/LiquidityGeneratorToken.sol#3)
Use one Solidity version.
Additional information: link
LiquidityGeneratorToken._previousTaxFee (contracts/tokens/LiquidityGeneratorToken.sol#41) is set pre-construction with a non-constant function or state variable:
- _taxFee
LiquidityGeneratorToken._previousLiquidityFee (contracts/tokens/LiquidityGeneratorToken.sol#44) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
LiquidityGeneratorToken._previousCharityFee (contracts/tokens/LiquidityGeneratorToken.sol#47) is set pre-construction with a non-constant function or state variable:
- _charityFee
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.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#3) is too complex
Pragma version>=0.4.24<0.8.0 (@openzeppelin/contracts-upgradeable/proxy/Initializable.sol#4) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol#3) is too complex
Pragma version>=0.6.2<0.8.0 (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#3) is too complex
Pragma version>=0.6.0<0.8.0 (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#3) is too complex
Pragma version^0.7.0 (@openzeppelin/contracts/math/SafeMath.sol#3) allows old versions
Pragma version^0.7.0 (@openzeppelin/contracts/utils/Address.sol#3) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/ILiquidityGeneratorToken.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/IUniswapV2Factory.sol#2) allows old versions
Pragma version>=0.5.0 (contracts/interfaces/IUniswapV2Pair.sol#2) allows old versions
Pragma version>=0.6.2 (contracts/interfaces/IUniswapV2Router02.sol#2) 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 AddressUpgradeable.sendValue(address,uint256) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#53-59):
- (success) = recipient.call{value: amount}() (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#57)
Low level call in AddressUpgradeable.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#114-121):
- (success,returndata) = target.call{value: value}(data) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#119)
Low level call in AddressUpgradeable.functionStaticCall(address,bytes,string) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#139-145):
- (success,returndata) = target.staticcall(data) (@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol#143)
Low level call in Address.sendValue(address,uint256) (@openzeppelin/contracts/utils/Address.sol#53-59):
- (success) = recipient.call{value: amount}() (@openzeppelin/contracts/utils/Address.sol#57)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (@openzeppelin/contracts/utils/Address.sol#114-121):
- (success,returndata) = target.call{value: value}(data) (@openzeppelin/contracts/utils/Address.sol#119)
Low level call in Address.functionStaticCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#139-145):
- (success,returndata) = target.staticcall(data) (@openzeppelin/contracts/utils/Address.sol#143)
Low level call in Address.functionDelegateCall(address,bytes,string) (@openzeppelin/contracts/utils/Address.sol#163-169):
- (success,returndata) = target.delegatecall(data) (@openzeppelin/contracts/utils/Address.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function OwnableUpgradeable.__Ownable_init() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#27-30) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init_unchained() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#32-36) is not in mixedCase
Variable OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) is not in mixedCase
Function ContextUpgradeable.__Context_init() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#17-19) is not in mixedCase
Function ContextUpgradeable.__Context_init_unchained() (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#21-22) is not in mixedCase
Variable ContextUpgradeable.__gap (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#31) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/interfaces/IUniswapV2Pair.sol#19) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/interfaces/IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/interfaces/IUniswapV2Pair.sol#37) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/interfaces/IUniswapV2Router02.sol#7) is not in mixedCase
Parameter LiquidityGeneratorToken.setSwapAndLiquifyEnabled(bool)._enabled (contracts/tokens/LiquidityGeneratorToken.sol#334) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateTaxFee(uint256)._amount (contracts/tokens/LiquidityGeneratorToken.sol#450) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateLiquidityFee(uint256)._amount (contracts/tokens/LiquidityGeneratorToken.sol#454) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateCharityFee(uint256)._amount (contracts/tokens/LiquidityGeneratorToken.sol#458) is not in mixedCase
Variable LiquidityGeneratorToken._taxFee (contracts/tokens/LiquidityGeneratorToken.sol#40) is not in mixedCase
Variable LiquidityGeneratorToken._liquidityFee (contracts/tokens/LiquidityGeneratorToken.sol#43) is not in mixedCase
Variable LiquidityGeneratorToken._charityFee (contracts/tokens/LiquidityGeneratorToken.sol#46) is not in mixedCase
Variable LiquidityGeneratorToken._charityAddress (contracts/tokens/LiquidityGeneratorToken.sol#51) is not in mixedCase
Variable LiquidityGeneratorToken._maxTxAmount (contracts/tokens/LiquidityGeneratorToken.sol#56) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#28)" inContextUpgradeable (@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol#16-32)
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 (contracts/interfaces/IUniswapV2Router02.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/IUniswapV2Router02.sol#13)
Variable LiquidityGeneratorToken._charityAddress (contracts/tokens/LiquidityGeneratorToken.sol#51) is too similar to LiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16).charityAddress_ (contracts/tokens/LiquidityGeneratorToken.sol#75)
Variable LiquidityGeneratorToken._charityFee (contracts/tokens/LiquidityGeneratorToken.sol#46) is too similar to LiquidityGeneratorToken._getTValues(uint256).tCharityFee (contracts/tokens/LiquidityGeneratorToken.sol#385)
Variable LiquidityGeneratorToken._charityAddress (contracts/tokens/LiquidityGeneratorToken.sol#51) is too similar to ILiquidityGeneratorToken.initialize(address,string,string,uint256,address,address,uint16,uint16,uint16,uint16).charityAddress_ (contracts/interfaces/ILiquidityGeneratorToken.sol#11)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#657)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#286) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#680)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#409) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#363) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#386)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#633) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#245) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#288)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#678) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#360)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#655) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (contracts/tokens/LiquidityGeneratorToken.sol#635)
Prevent variables from having similar names.
Additional information: link
OwnableUpgradeable.__gap (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#74) is never used in LiquidityGeneratorToken (contracts/tokens/LiquidityGeneratorToken.sol#14-693)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- OwnableUpgradeable.renounceOwnership() (@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol#60-63)
name() should be declared external:
- LiquidityGeneratorToken.name() (contracts/tokens/LiquidityGeneratorToken.sol#145-147)
symbol() should be declared external:
- LiquidityGeneratorToken.symbol() (contracts/tokens/LiquidityGeneratorToken.sol#149-151)
decimals() should be declared external:
- LiquidityGeneratorToken.decimals() (contracts/tokens/LiquidityGeneratorToken.sol#153-155)
totalSupply() should be declared external:
- LiquidityGeneratorToken.totalSupply() (contracts/tokens/LiquidityGeneratorToken.sol#157-159)
transfer(address,uint256) should be declared external:
- LiquidityGeneratorToken.transfer(address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#166-169)
allowance(address,address) should be declared external:
- LiquidityGeneratorToken.allowance(address,address) (contracts/tokens/LiquidityGeneratorToken.sol#171-173)
approve(address,uint256) should be declared external:
- LiquidityGeneratorToken.approve(address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#175-178)
transferFrom(address,address,uint256) should be declared external:
- LiquidityGeneratorToken.transferFrom(address,address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#180-195)
increaseAllowance(address,uint256) should be declared external:
- LiquidityGeneratorToken.increaseAllowance(address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#197-200)
decreaseAllowance(address,uint256) should be declared external:
- LiquidityGeneratorToken.decreaseAllowance(address,uint256) (contracts/tokens/LiquidityGeneratorToken.sol#202-216)
isExcludedFromReward(address) should be declared external:
- LiquidityGeneratorToken.isExcludedFromReward(address) (contracts/tokens/LiquidityGeneratorToken.sol#218-220)
totalFees() should be declared external:
- LiquidityGeneratorToken.totalFees() (contracts/tokens/LiquidityGeneratorToken.sol#222-224)
deliver(uint256) should be declared external:
- LiquidityGeneratorToken.deliver(uint256) (contracts/tokens/LiquidityGeneratorToken.sol#226-233)
reflectionFromToken(uint256,bool) should be declared external:
- LiquidityGeneratorToken.reflectionFromToken(uint256,bool) (contracts/tokens/LiquidityGeneratorToken.sol#235-248)
excludeFromReward(address) should be declared external:
- LiquidityGeneratorToken.excludeFromReward(address) (contracts/tokens/LiquidityGeneratorToken.sol#256-264)
excludeFromFee(address) should be declared external:
- LiquidityGeneratorToken.excludeFromFee(address) (contracts/tokens/LiquidityGeneratorToken.sol#303-305)
includeInFee(address) should be declared external:
- LiquidityGeneratorToken.includeInFee(address) (contracts/tokens/LiquidityGeneratorToken.sol#307-309)
setExcludeFromMaxTx(address,bool) should be declared external:
- LiquidityGeneratorToken.setExcludeFromMaxTx(address,bool) (contracts/tokens/LiquidityGeneratorToken.sol#311-313)
isExcludedFromMaxTx(address) should be declared external:
- LiquidityGeneratorToken.isExcludedFromMaxTx(address) (contracts/tokens/LiquidityGeneratorToken.sol#315-317)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LiquidityGeneratorToken.setSwapAndLiquifyEnabled(bool) (contracts/tokens/LiquidityGeneratorToken.sol#334-337)
isExcludedFromFee(address) should be declared external:
- LiquidityGeneratorToken.isExcludedFromFee(address) (contracts/tokens/LiquidityGeneratorToken.sol#481-483)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume 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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 29% buy tax and 28% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to crawl data from the website
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 code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account