Lil Doge is a community-driven token where the community holds the power in the development of the project.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in LilDoge._transfer(address,address,uint256) (#680-718):
External calls:
- swapTokens(contractTokenBalance) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
External calls sending eth:
- swapTokens(contractTokenBalance) (#698)
- recipient.transfer(amount) (#991)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _liquidityFee = _previousLiquidityFee (#923)
- _liquidityFee = 0 (#918)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#894)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#810)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#819)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#830)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#840)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#811)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#821)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#831)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#842)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _rTotal = _rTotal.sub(rFee) (#849)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#896)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#829)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#839)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#820)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#841)
- buyBackTokens(balance.div(100)) (#706)
- inSwapAndLiquify = true (#534)
- inSwapAndLiquify = false (#536)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#295) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#311) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#294) is not in mixedCase
Parameter LilDoge.setSwapAndLiquifyEnabled(bool)._enabled (#966) is not in mixedCase
Parameter LilDoge.setMarketingAddress(address)._marketingAddress (#962) is not in mixedCase
Parameter LilDoge.calculateTaxFee(uint256)._amount (#899) is not in mixedCase
Variable LilDoge._taxFee (#494) is not in mixedCase
Parameter LilDoge.setBuyBackEnabled(bool)._enabled (#971) is not in mixedCase
Function IUniswapV2Router01.WETH() (#332) is not in mixedCase
Parameter LilDoge.calculateLiquidityFee(uint256)._amount (#905) is not in mixedCase
Variable LilDoge._liquidityFee (#497) is not in mixedCase
Variable LilDoge._maxTxAmount (#502) is not in mixedCase
Parameter LilDoge.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#954) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#69)" inContext (#63-72)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in LilDoge.transferFrom(address,address,uint256) (#590-594):
External calls:
- _transfer(sender,recipient,amount) (#591)
- recipient.transfer(amount) (#991)
External calls sending eth:
- _transfer(sender,recipient,amount) (#591)
- recipient.transfer(amount) (#991)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#592)
- _allowances[owner][spender] = amount (#676)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#592)
Reentrancy in LilDoge._transfer(address,address,uint256) (#680-718):
External calls:
- swapTokens(contractTokenBalance) (#698)
- recipient.transfer(amount) (#991)
External calls sending eth:
- swapTokens(contractTokenBalance) (#698)
- recipient.transfer(amount) (#991)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _liquidityFee = _previousLiquidityFee (#923)
- _liquidityFee = 0 (#918)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _previousLiquidityFee = _liquidityFee (#915)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _previousTaxFee = _taxFee (#914)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#894)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#810)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#819)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#830)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#840)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#811)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#821)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#831)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#842)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _rTotal = _rTotal.sub(rFee) (#849)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _tFeeTotal = _tFeeTotal.add(tFee) (#850)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#896)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#829)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#839)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#820)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _taxFee = _previousTaxFee (#922)
- _taxFee = 0 (#917)
- buyBackTokens(balance.div(100)) (#706)
- inSwapAndLiquify = true (#534)
- inSwapAndLiquify = false (#536)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#772)
- buyBackTokens(balance.div(100)) (#706)
- Transfer(sender,recipient,tTransferAmount) (#814)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#824)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#834)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#717)
Apply the check-effects-interactions pattern.
Additional information: link
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#828) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._getTValues(uint256).tTransferAmount (#862)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#337) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#338)
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#838)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._getValues(uint256).rTransferAmount (#855) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Variable LilDoge._transferStandard(address,address,uint256).rTransferAmount (#809) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#870) is too similar to LilDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#828)
Variable LilDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#838) is too similar to LilDoge._transferToExcluded(address,address,uint256).tTransferAmount (#818)
Variable LilDoge.reflectionFromToken(uint256,bool).rTransferAmount (#638) is too similar to LilDoge._transferStandard(address,address,uint256).tTransferAmount (#809)
Variable LilDoge._transferToExcluded(address,address,uint256).rTransferAmount (#818) is too similar to LilDoge._getValues(uint256).tTransferAmount (#854)
Prevent variables from having similar names.
Additional information: link
LilDoge.slitherConstructorVariables() (#469-997) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#474)
LilDoge.slitherConstructorVariables() (#469-997) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#485)
LilDoge.afterPreSale() (#983-988) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#987)
LilDoge.slitherConstructorVariables() (#469-997) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#503)
LilDoge.slitherConstructorVariables() (#469-997) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#502)
LilDoge.prepareForPreSale() (#976-981) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#980)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LilDoge._name (#489) should be constant
LilDoge._decimals (#491) should be constant
LilDoge._tTotal (#485) should be constant
LilDoge._symbol (#490) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
excludeFromFee(address) should be declared external:
- LilDoge.excludeFromFee(address) (#930-932)
minimumTokensBeforeSwapAmount() should be declared external:
- LilDoge.minimumTokensBeforeSwapAmount() (#614-616)
excludeFromReward(address) should be declared external:
- LilDoge.excludeFromReward(address) (#649-657)
reflectionFromToken(uint256,bool) should be declared external:
- LilDoge.reflectionFromToken(uint256,bool) (#632-641)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#224-227)
isExcludedFromFee(address) should be declared external:
- LilDoge.isExcludedFromFee(address) (#926-928)
transfer(address,uint256) should be declared external:
- LilDoge.transfer(address,uint256) (#576-579)
decreaseAllowance(address,uint256) should be declared external:
- LilDoge.decreaseAllowance(address,uint256) (#601-604)
buyBackUpperLimitAmount() should be declared external:
- LilDoge.buyBackUpperLimitAmount() (#618-620)
approve(address,uint256) should be declared external:
- LilDoge.approve(address,uint256) (#585-588)
allowance(address,address) should be declared external:
- LilDoge.allowance(address,address) (#581-583)
getTime() should be declared external:
- Ownable.getTime() (#239-241)
decimals() should be declared external:
- LilDoge.decimals() (#563-565)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#229-233)
isExcludedFromReward(address) should be declared external:
- LilDoge.isExcludedFromReward(address) (#606-608)
totalFees() should be declared external:
- LilDoge.totalFees() (#610-612)
name() should be declared external:
- LilDoge.name() (#555-557)
deliver(uint256) should be declared external:
- LilDoge.deliver(uint256) (#622-629)
unlock() should be declared external:
- Ownable.unlock() (#250-255)
transferFrom(address,address,uint256) should be declared external:
- LilDoge.transferFrom(address,address,uint256) (#590-594)
symbol() should be declared external:
- LilDoge.symbol() (#559-561)
includeInFee(address) should be declared external:
- LilDoge.includeInFee(address) (#934-936)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#243-248)
increaseAllowance(address,uint256) should be declared external:
- LilDoge.increaseAllowance(address,uint256) (#596-599)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#235-237)
setBuyBackEnabled(bool) should be declared external:
- LilDoge.setBuyBackEnabled(bool) (#971-974)
totalSupply() should be declared external:
- LilDoge.totalSupply() (#567-569)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in LilDoge.swapTokensForEth(uint256) (#738-756):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#755)
Reentrancy in LilDoge.transferFrom(address,address,uint256) (#590-594):
External calls:
- _transfer(sender,recipient,amount) (#591)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
External calls sending eth:
- _transfer(sender,recipient,amount) (#591)
- recipient.transfer(amount) (#991)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#677)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#592)
Reentrancy in LilDoge._transfer(address,address,uint256) (#680-718):
External calls:
- swapTokens(contractTokenBalance) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
External calls sending eth:
- swapTokens(contractTokenBalance) (#698)
- recipient.transfer(amount) (#991)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#772)
- buyBackTokens(balance.div(100)) (#706)
- Transfer(sender,recipient,tTransferAmount) (#814)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#824)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#834)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- Transfer(sender,recipient,tTransferAmount) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#717)
Reentrancy in LilDoge.swapETHForTokens(uint256) (#758-773):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#772)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#250-255) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#252)
Avoid relying on block.timestamp.
Additional information: link
LilDoge.addLiquidity(uint256,uint256) (#775-788) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#780-787)
Ensure that all the return values of the function calls are used.
Additional information: link
LilDoge.allowance(address,address).owner (#581) shadows:
- Ownable.owner() (#215-217) (function)
LilDoge._approve(address,address,uint256).owner (#672) shadows:
- Ownable.owner() (#215-217) (function)
Rename the local variables that shadow another component.
Additional information: link
Address.isContract(address) (#145-154) uses assembly
- INLINE ASM (#152)
Address._functionCallWithValue(address,bytes,uint256,string) (#182-199) uses assembly
- INLINE ASM (#191-194)
Do not use evm assembly.
Additional information: link
LilDoge.includeInReward(address) (#659-670) has costly operations inside a loop:
- _excluded.pop() (#666)
Use a local variable to hold the loop computation result.
Additional information: link
Address.sendValue(address,uint256) (#156-162) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#173-175) is never used and should be removed
LilDoge.addLiquidity(uint256,uint256) (#775-788) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#137-140) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#177-180) is never used and should be removed
Context._msgData() (#68-71) is never used and should be removed
SafeMath.mod(uint256,uint256) (#133-135) is never used and should be removed
Address._functionCallWithValue(address,bytes,uint256,string) (#182-199) is never used and should be removed
Address.isContract(address) (#145-154) is never used and should be removed
Address.functionCall(address,bytes,string) (#169-171) is never used and should be removed
Address.functionCall(address,bytes) (#165-167) is never used and should be removed
Remove unused functions.
Additional information: link
LilDoge._previousTaxFee (#495) is set pre-construction with a non-constant function or state variable:
- _taxFee
LilDoge._rTotal (#486) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LilDoge._previousLiquidityFee (#498) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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) (#156-162):
- (success) = recipient.call{value: amount}() (#160)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#182-199):
- (success,returndata) = target.call{value: weiValue}(data) (#185)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
LilDoge.setMarketingDivisor(uint256) (#950-952) should emit an event for:
- marketingDivisor = divisor (#951)
LilDoge.setBuybackUpperLimit(uint256) (#958-960) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#959)
LilDoge.setNumTokensSellToAddToLiquidity(uint256) (#954-956) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#955)
LilDoge.setTaxFeePercent(uint256) (#938-940) should emit an event for:
- _taxFee = taxFee (#939)
LilDoge.setMaxTxAmount(uint256) (#946-948) should emit an event for:
- _maxTxAmount = maxTxAmount (#947)
LilDoge.setLiquidityFeePercent(uint256) (#942-944) should emit an event for:
- _liquidityFee = liquidityFee (#943)
Emit an event for critical parameter changes.
Additional information: link
LilDoge.setMarketingAddress(address)._marketingAddress (#962) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#963)
Check that the address is not zero.
Additional information: link
Reentrancy in LilDoge._transfer(address,address,uint256) (#680-718):
External calls:
- swapTokens(contractTokenBalance) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
External calls sending eth:
- swapTokens(contractTokenBalance) (#698)
- recipient.transfer(amount) (#991)
- buyBackTokens(balance.div(100)) (#706)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _previousLiquidityFee = _liquidityFee (#915)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _previousTaxFee = _taxFee (#914)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _tFeeTotal = _tFeeTotal.add(tFee) (#850)
- _tokenTransfer(from,to,amount,takeFee) (#717)
- _taxFee = _previousTaxFee (#922)
- _taxFee = 0 (#917)
Reentrancy in LilDoge.transferFrom(address,address,uint256) (#590-594):
External calls:
- _transfer(sender,recipient,amount) (#591)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#747-753)
External calls sending eth:
- _transfer(sender,recipient,amount) (#591)
- recipient.transfer(amount) (#991)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#765-770)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#592)
- _allowances[owner][spender] = amount (#676)
Apply the check-effects-interactions pattern.
Additional information: link
LilDoge.swapTokens(uint256) (#720-729) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#727)
Consider ordering multiplication before division.
Additional information: link
Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
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.
Token is deployed only at one blockchain
Unable to find website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Telegram account has less than 100 subscribers
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account