Postearn is a blockchain-based social media platform. Every content that users share has a monetary value. Users can earn gems by doing daily quests or sharing content. These gems are deposited into users' accounts in certain periods. With our automatic spam detection systems, unfair profits are prevented and a quality community is created. THE WORLD'S FIRST POST TO EARN SYSTEM SOCIAL MEDIA PLATFORM! BETA RELEASED!
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (#1451-1489):
External calls:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1378)
- _rOwned[_charityAddress] = _rOwned[_charityAddress].add(rCharity) (#1387)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1607)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1585)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1631)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1586)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1225)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1632)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1609)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1227)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _rTotal = _rTotal.sub(rFee) (#1270)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1380)
- _tOwned[_charityAddress] = _tOwned[_charityAddress].add(tCharity) (#1389-1391)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1630)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1224)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1608)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1226)
Apply the check-effects-interactions pattern.
Additional information: link
LiquidityGeneratorToken.addLiquidity(uint256,uint256) (#1532-1545) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256) (#972-1043) contains a tautology or contradiction:
- require(bool,string)(liquidityFeeBps_ >= 0,Invalid liquidity fee) (#985)
LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256) (#972-1043) contains a tautology or contradiction:
- require(bool,string)(charityFeeBps_ >= 0,Invalid charity fee) (#986)
LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256) (#972-1043) contains a tautology or contradiction:
- require(bool,string)(taxFeeBps_ >= 0,Invalid tax fee) (#984)
Fix the incorrect comparison by changing the value type or the comparison.
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.
LiquidityGeneratorToken.allowance(address,address).owner (#1075) shadows:
- Ownable.owner() (#146-148) (function)
LiquidityGeneratorToken._approve(address,address,uint256).owner (#1440) shadows:
- Ownable.owner() (#146-148) (function)
Rename the local variables that shadow another component.
Additional information: link
LiquidityGeneratorToken.setTaxFeePercent(uint256) (#1242-1248) should emit an event for:
- _taxFee = taxFeeBps (#1243)
LiquidityGeneratorToken.setLiquidityFeePercent(uint256) (#1250-1259) should emit an event for:
- _liquidityFee = liquidityFeeBps (#1254)
Emit an event for critical parameter changes.
Additional information: link
LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256).serviceFeeReceiver_ (#981) lacks a zero-check on :
- address(serviceFeeReceiver_).transfer(serviceFee_) (#1042)
Check that the address is not zero.
Additional information: link
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (#1451-1489):
External calls:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _charityFee = _previousCharityFee (#1432)
- _charityFee = 0 (#1426)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _liquidityFee = _previousLiquidityFee (#1431)
- _liquidityFee = 0 (#1425)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _previousCharityFee = _charityFee (#1422)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _previousLiquidityFee = _liquidityFee (#1421)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _previousTaxFee = _taxFee (#1420)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1271)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- _taxFee = _previousTaxFee (#1430)
- _taxFee = 0 (#1424)
Reentrancy in LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256) (#972-1043):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1023-1024)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1030)
- _isExcludedFromFee[address(this)] = true (#1031)
- uniswapV2Router = _uniswapV2Router (#1027)
Reentrancy in LiquidityGeneratorToken.swapAndLiquify(uint256) (#1491-1512):
External calls:
- swapTokensForEth(half) (#1503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
- addLiquidity(otherHalf,newBalance) (#1509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1509)
- _allowances[owner][spender] = amount (#1447)
Reentrancy in LiquidityGeneratorToken.transferFrom(address,address,uint256) (#1093-1108):
External calls:
- _transfer(sender,recipient,amount) (#1098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1099-1106)
- _allowances[owner][spender] = amount (#1447)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LiquidityGeneratorToken._transfer(address,address,uint256) (#1451-1489):
External calls:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1476)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
Event emitted after the call(s):
- Transfer(_msgSender(),_charityAddress,tCharity) (#1392)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- Transfer(sender,recipient,tTransferAmount) (#1590)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- Transfer(sender,recipient,tTransferAmount) (#1613)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- Transfer(sender,recipient,tTransferAmount) (#1636)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
- Transfer(sender,recipient,tTransferAmount) (#1231)
- _tokenTransfer(from,to,amount,takeFee) (#1488)
Reentrancy in LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256) (#972-1043):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1023-1024)
Event emitted after the call(s):
- TokenCreated(owner(),address(this),TokenType.liquidityGenerator,VERSION) (#1035-1040)
- Transfer(address(0),owner(),_tTotal) (#1033)
Reentrancy in LiquidityGeneratorToken.swapAndLiquify(uint256) (#1491-1512):
External calls:
- swapTokensForEth(half) (#1503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
- addLiquidity(otherHalf,newBalance) (#1509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1509)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1448)
- addLiquidity(otherHalf,newBalance) (#1509)
- SwapAndLiquify(half,newBalance,otherHalf) (#1511)
Reentrancy in LiquidityGeneratorToken.transferFrom(address,address,uint256) (#1093-1108):
External calls:
- _transfer(sender,recipient,amount) (#1098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1523-1529)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1098)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1448)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1099-1106)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#441-451) uses assembly
- INLINE ASM (#447-449)
Address.verifyCallResult(bool,bytes,string) (#610-630) uses assembly
- INLINE ASM (#622-625)
Do not use evm assembly.
Additional information: link
Address.functionCall(address,bytes) (#494-496) is never used and should be removed
Address.functionCall(address,bytes,string) (#504-510) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#523-529) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#537-548) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#583-585) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#593-602) is never used and should be removed
Address.functionStaticCall(address,bytes) (#556-558) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#566-575) is never used and should be removed
Address.isContract(address) (#441-451) is never used and should be removed
Address.sendValue(address,uint256) (#469-474) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#610-630) is never used and should be removed
Context._msgData() (#106-108) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#376-385) is never used and should be removed
SafeMath.mod(uint256,uint256) (#336-338) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#402-411) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#207-213) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#249-254) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#261-266) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#232-242) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#220-225) is never used and should be removed
Remove unused functions.
Additional information: link
Function IUniswapV2Router01.WETH() (#641) is not in mixedCase
Parameter LiquidityGeneratorToken.setSwapAndLiquifyEnabled(bool)._enabled (#1261) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateTaxFee(uint256)._amount (#1396) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateLiquidityFee(uint256)._amount (#1400) is not in mixedCase
Parameter LiquidityGeneratorToken.calculateCharityFee(uint256)._amount (#1408) is not in mixedCase
Variable LiquidityGeneratorToken._taxFee (#940) is not in mixedCase
Variable LiquidityGeneratorToken._liquidityFee (#943) is not in mixedCase
Variable LiquidityGeneratorToken._charityFee (#946) is not in mixedCase
Variable LiquidityGeneratorToken._charityAddress (#951) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#646) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#647)
Variable LiquidityGeneratorToken._charityFee (#946) is too similar to LiquidityGeneratorToken._getTValues(uint256).tCharityFee (#1323)
Variable LiquidityGeneratorToken._charityAddress (#951) is too similar to LiquidityGeneratorToken.constructor(string,string,uint256,address,address,uint16,uint16,uint16,address,uint256).charityAddress_ (#977)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._getValues(uint256).rTransferAmount (#1293) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._transferStandard(address,address,uint256).rTransferAmount (#1578) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).tTransferAmount (#1625)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._getValues(uint256).tTransferAmount (#1288)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._getTValues(uint256).tTransferAmount (#1324-1326)
Variable LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).rTransferAmount (#1217) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._transferToExcluded(address,address,uint256).tTransferAmount (#1602)
Variable LiquidityGeneratorToken._getRValues(uint256,uint256,uint256,uint256,uint256).rTransferAmount (#1349-1351) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Variable LiquidityGeneratorToken._transferToExcluded(address,address,uint256).rTransferAmount (#1600) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken._transferFromExcluded(address,address,uint256).rTransferAmount (#1623) is too similar to LiquidityGeneratorToken._transferBothExcluded(address,address,uint256).tTransferAmount (#1219)
Variable LiquidityGeneratorToken.reflectionFromToken(uint256,bool).rTransferAmount (#1169) is too similar to LiquidityGeneratorToken._transferStandard(address,address,uint256).tTransferAmount (#1580)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#165-167)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#173-176)
name() should be declared external:
- LiquidityGeneratorToken.name() (#1045-1047)
symbol() should be declared external:
- LiquidityGeneratorToken.symbol() (#1049-1051)
decimals() should be declared external:
- LiquidityGeneratorToken.decimals() (#1053-1055)
totalSupply() should be declared external:
- LiquidityGeneratorToken.totalSupply() (#1057-1059)
transfer(address,uint256) should be declared external:
- LiquidityGeneratorToken.transfer(address,uint256) (#1066-1073)
allowance(address,address) should be declared external:
- LiquidityGeneratorToken.allowance(address,address) (#1075-1082)
approve(address,uint256) should be declared external:
- LiquidityGeneratorToken.approve(address,uint256) (#1084-1091)
transferFrom(address,address,uint256) should be declared external:
- LiquidityGeneratorToken.transferFrom(address,address,uint256) (#1093-1108)
increaseAllowance(address,uint256) should be declared external:
- LiquidityGeneratorToken.increaseAllowance(address,uint256) (#1110-1121)
decreaseAllowance(address,uint256) should be declared external:
- LiquidityGeneratorToken.decreaseAllowance(address,uint256) (#1123-1137)
isExcludedFromReward(address) should be declared external:
- LiquidityGeneratorToken.isExcludedFromReward(address) (#1139-1141)
totalFees() should be declared external:
- LiquidityGeneratorToken.totalFees() (#1143-1145)
deliver(uint256) should be declared external:
- LiquidityGeneratorToken.deliver(uint256) (#1147-1157)
reflectionFromToken(uint256,bool) should be declared external:
- LiquidityGeneratorToken.reflectionFromToken(uint256,bool) (#1159-1172)
excludeFromReward(address) should be declared external:
- LiquidityGeneratorToken.excludeFromReward(address) (#1187-1195)
excludeFromFee(address) should be declared external:
- LiquidityGeneratorToken.excludeFromFee(address) (#1234-1236)
includeInFee(address) should be declared external:
- LiquidityGeneratorToken.includeInFee(address) (#1238-1240)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LiquidityGeneratorToken.setSwapAndLiquifyEnabled(bool) (#1261-1264)
isExcludedFromFee(address) should be declared external:
- LiquidityGeneratorToken.isExcludedFromFee(address) (#1435-1437)
Use the external attribute for functions never called from the contract.
Additional information: link
LiquidityGeneratorToken.addLiquidity(uint256,uint256) (#1532-1545) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1537-1544)
Ensure that all the return values of the function calls are used.
Additional information: link
LiquidityGeneratorToken.includeInReward(address) (#1197-1208) has costly operations inside a loop:
- _excluded.pop() (#1204)
Use a local variable to hold the loop computation result.
Additional information: link
LiquidityGeneratorToken._previousTaxFee (#941) is set pre-construction with a non-constant function or state variable:
- _taxFee
LiquidityGeneratorToken._previousLiquidityFee (#944) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
LiquidityGeneratorToken._previousCharityFee (#947) 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
Low level call in Address.sendValue(address,uint256) (#469-474):
- (success) = recipient.call{value: amount}() (#472)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#537-548):
- (success,returndata) = target.call{value: value}(data) (#546)
Low level call in Address.functionStaticCall(address,bytes,string) (#566-575):
- (success,returndata) = target.staticcall(data) (#573)
Low level call in Address.functionDelegateCall(address,bytes,string) (#593-602):
- (success,returndata) = target.delegatecall(data) (#600)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Unable to find KYC or doxxing proof
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / 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 Discord account