Lucky doge is a community-focused, decentralized cryptocurrency with instant rewards thanks to active users!
Lucky Doge is cute but with a lot of BITE! $Lucky Doge is a deflationary token designed to become more scarce over time. All holders of Lucky Doge will earn more Lucky doge that is automatically sent to your wallet by simply holding Lucky Doge coins in your wallet. Watch the amount of Lucky doge grow in your wallet as Lucky doge coin holders automatically receive fee from every transaction that happens on the Lucky Doge network. The community receives more Lucky doge coins from the fees generated each transaction.
LuckyDoge._transfer(address,address,uint256) (#929-1052) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + (uint256(keccak256(bytes)(abi.encodePacked(msg.sender,block.timestamp,block.difficulty,blockhash(uint256)(block.number - 1)))) % (_bBSLimitMax - _bBSLimitMin + 1)) (#1005-1015)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
LuckyDoge.swapETHForTokens(uint256) (#1092-1109) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
External calls sending eth:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
State variables written after the call(s):
- _removeOldSellHistories() (#998)
- _sellHistories[i].time = _sellHistories[j].time (#1382)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1383)
- _sellHistories.pop() (#1392)
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
External calls sending eth:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1313)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1165)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1187)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1208)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1167)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1188)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1210)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _rTotal = _rTotal.sub(rFee) (#1217)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1315)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1186)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1207)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1166)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1209)
- buyBackTokens(_bBSLimit) (#1018)
- inSwapAndLiquify = true (#712)
- inSwapAndLiquify = false (#714)
Apply the check-effects-interactions pattern.
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.
LuckyDoge.includeInReward(address) (#904-915) has costly operations inside a loop:
- _excluded.pop() (#911)
Use a local variable to hold the loop computation result.
Additional information: link
LuckyDoge._transfer(address,address,uint256).sellHistory (#949) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
LuckyDoge.allowance(address,address).owner (#775) shadows:
- Ownable.owner() (#230-232) (function)
LuckyDoge._approve(address,address,uint256).owner (#918) shadows:
- Ownable.owner() (#230-232) (function)
Rename the local variables that shadow another component.
Additional information: link
LuckyDoge.SetBuyBackMaxTimeForHistories(uint256) (#1396-1401) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1400)
LuckyDoge.SetBuyBackDivisor(uint256) (#1403-1405) should emit an event for:
- _buyBackDivisor = newDivisor (#1404)
LuckyDoge.SetBuyBackTimeInterval(uint256) (#1411-1413) should emit an event for:
- _buyBackTimeInterval = newMinutes * 60 (#1412)
LuckyDoge.SetBuyBackRangeRate(uint256) (#1415-1418) should emit an event for:
- _buyBackRangeRate = newPercent (#1417)
LuckyDoge.SetSwapMinutes(uint256) (#1424-1426) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1425)
LuckyDoge.setTaxFeePercent(uint256) (#1428-1430) should emit an event for:
- _taxFee = taxFee (#1429)
LuckyDoge.setBuyFee(uint256,uint256) (#1432-1438) should emit an event for:
- _buyTaxFee = buyTaxFee (#1436)
- _buyLiquidityFee = buyLiquidityFee (#1437)
LuckyDoge.setSellFee(uint256,uint256) (#1440-1446) should emit an event for:
- _sellTaxFee = sellTaxFee (#1444)
- _sellLiquidityFee = sellLiquidityFee (#1445)
LuckyDoge.setLiquidityFeePercent(uint256) (#1448-1450) should emit an event for:
- _liquidityFee = liquidityFee (#1449)
LuckyDoge.setBuyBackSellLimit(uint256) (#1452-1457) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1456)
LuckyDoge.setMaxTxAmount(uint256) (#1459-1461) should emit an event for:
- _maxTxAmount = maxTxAmount (#1460)
LuckyDoge.setMarketingDivisor(uint256) (#1463-1465) should emit an event for:
- marketingDivisor = divisor (#1464)
LuckyDoge.setNumTokensSellToAddToBuyBack(uint256) (#1467-1472) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1471)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
External calls sending eth:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
State variables written after the call(s):
- removeAllFee() (#1033)
- _liquidityFee = 0 (#1337)
- _liquidityFee = _buyLiquidityFee (#1035)
- removeAllFee() (#1040)
- _liquidityFee = 0 (#1337)
- _liquidityFee = _sellLiquidityFee (#1042)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _liquidityFee = _previousLiquidityFee (#1342)
- _liquidityFee = 0 (#1337)
- restoreAllFee() (#1050)
- _liquidityFee = _previousLiquidityFee (#1342)
- removeAllFee() (#1033)
- _previousLiquidityFee = _liquidityFee (#1334)
- removeAllFee() (#1040)
- _previousLiquidityFee = _liquidityFee (#1334)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _previousLiquidityFee = _liquidityFee (#1334)
- removeAllFee() (#1033)
- _previousTaxFee = _taxFee (#1333)
- removeAllFee() (#1040)
- _previousTaxFee = _taxFee (#1333)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _previousTaxFee = _taxFee (#1333)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1218)
- removeAllFee() (#1033)
- _taxFee = 0 (#1336)
- _taxFee = _buyTaxFee (#1034)
- removeAllFee() (#1040)
- _taxFee = 0 (#1336)
- _taxFee = _sellTaxFee (#1041)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _taxFee = _previousTaxFee (#1341)
- _taxFee = 0 (#1336)
- restoreAllFee() (#1050)
- _taxFee = _previousTaxFee (#1341)
Reentrancy in LuckyDoge.changeRouterVersion(address) (#1514-1536):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1527-1530)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1532)
- uniswapV2Router = _uniswapV2Router (#1535)
Reentrancy in LuckyDoge.constructor(address) (#717-743):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#732-733)
State variables written after the call(s):
- _isExcludedFromFee[tokenOwner] = true (#737)
- _isExcludedFromFee[address(this)] = true (#738)
- _startTimeForSwap = block.timestamp (#740)
- uniswapV2Router = _uniswapV2Router (#735)
Reentrancy in LuckyDoge.transferFrom(address,address,uint256) (#793-808):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- recipient.transfer(amount) (#1511)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799-806)
- _allowances[owner][spender] = amount (#925)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
External calls sending eth:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1108)
- buyBackTokens(_bBSLimit) (#1018)
- Transfer(sender,recipient,tTransferAmount) (#1149)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1191)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1213)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
Reentrancy in LuckyDoge.constructor(address) (#717-743):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#732-733)
Event emitted after the call(s):
- Transfer(address(0),tokenOwner,_tTotal) (#742)
Reentrancy in LuckyDoge.swapETHForTokens(uint256) (#1092-1109):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1108)
Reentrancy in LuckyDoge.swapTokensForEth(uint256) (#1072-1090):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#1089)
Reentrancy in LuckyDoge.transferFrom(address,address,uint256) (#793-808):
External calls:
- _transfer(sender,recipient,amount) (#798)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1081-1087)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- recipient.transfer(amount) (#1511)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#926)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799-806)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#268-276) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#273)
LuckyDoge._transfer(address,address,uint256) (#929-1052) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#964-966)
- _sellHistories[i].time >= startTime (#984)
- balance > _bBSLimit (#1017)
LuckyDoge.buyBackTokens(uint256) (#1066-1070) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#1067)
LuckyDoge._removeOldSellHistories() (#1375-1394) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1381)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#119-130) uses assembly
- INLINE ASM (#126-128)
Address._functionCallWithValue(address,bytes,uint256,string) (#188-211) uses assembly
- INLINE ASM (#203-206)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#188-211) is never used and should be removed
Address.functionCall(address,bytes) (#146-151) is never used and should be removed
Address.functionCall(address,bytes,string) (#153-159) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#161-173) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#175-186) is never used and should be removed
Address.isContract(address) (#119-130) is never used and should be removed
Address.sendValue(address,uint256) (#132-144) is never used and should be removed
Context._msgData() (#18-21) is never used and should be removed
SafeMath.mod(uint256,uint256) (#104-106) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#108-115) is never used and should be removed
Remove unused functions.
Additional information: link
LuckyDoge._previousTaxFee (#661) is set pre-construction with a non-constant function or state variable:
- _taxFee
LuckyDoge._previousLiquidityFee (#664) 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) (#132-144):
- (success) = recipient.call{value: amount}() (#139)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#188-211):
- (success,returndata) = target.call{value: weiValue}(data) (#196-198)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._owner (#215) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#346) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#348) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#378) is not in mixedCase
Function IUniswapV2Router01.WETH() (#424) is not in mixedCase
Parameter LuckyDoge.calculateTaxFee(uint256)._amount (#1318) is not in mixedCase
Parameter LuckyDoge.calculateLiquidityFee(uint256)._amount (#1322) is not in mixedCase
Function LuckyDoge.SetBuyBackMaxTimeForHistories(uint256) (#1396-1401) is not in mixedCase
Function LuckyDoge.SetBuyBackDivisor(uint256) (#1403-1405) is not in mixedCase
Function LuckyDoge.GetBuyBackTimeInterval() (#1407-1409) is not in mixedCase
Function LuckyDoge.SetBuyBackTimeInterval(uint256) (#1411-1413) is not in mixedCase
Function LuckyDoge.SetBuyBackRangeRate(uint256) (#1415-1418) is not in mixedCase
Function LuckyDoge.GetSwapMinutes() (#1420-1422) is not in mixedCase
Function LuckyDoge.SetSwapMinutes(uint256) (#1424-1426) is not in mixedCase
Parameter LuckyDoge.setNumTokensSellToAddToBuyBack(uint256)._minimumTokensBeforeSwap (#1467) is not in mixedCase
Parameter LuckyDoge.setMarketingAddress(address)._marketingAddress (#1474) is not in mixedCase
Parameter LuckyDoge.setSwapAndLiquifyEnabled(bool)._enabled (#1479) is not in mixedCase
Parameter LuckyDoge.setBuyBackEnabled(bool)._enabled (#1484) is not in mixedCase
Parameter LuckyDoge.setAutoBuyBackEnabled(bool)._enabled (#1489) is not in mixedCase
Parameter LuckyDoge.changeRouterVersion(address)._router (#1514) is not in mixedCase
Parameter LuckyDoge.transferForeignToken(address,address)._token (#1541) is not in mixedCase
Parameter LuckyDoge.transferForeignToken(address,address)._to (#1541) is not in mixedCase
Function LuckyDoge.Sweep() (#1551-1554) is not in mixedCase
Constant LuckyDoge._tTotal (#647) is not in UPPER_CASE_WITH_UNDERSCORES
Constant LuckyDoge._name (#651) is not in UPPER_CASE_WITH_UNDERSCORES
Constant LuckyDoge._symbol (#652) is not in UPPER_CASE_WITH_UNDERSCORES
Constant LuckyDoge._decimals (#653) is not in UPPER_CASE_WITH_UNDERSCORES
Variable LuckyDoge._taxFee (#660) is not in mixedCase
Variable LuckyDoge._liquidityFee (#663) is not in mixedCase
Variable LuckyDoge._buyTaxFee (#666) is not in mixedCase
Variable LuckyDoge._buyLiquidityFee (#667) is not in mixedCase
Variable LuckyDoge._sellTaxFee (#669) is not in mixedCase
Variable LuckyDoge._sellLiquidityFee (#670) is not in mixedCase
Variable LuckyDoge._startTimeForSwap (#672) is not in mixedCase
Variable LuckyDoge._intervalMinutesForSwap (#673) is not in mixedCase
Variable LuckyDoge._buyBackRangeRate (#675) is not in mixedCase
Variable LuckyDoge._maxTxAmount (#679) is not in mixedCase
Variable LuckyDoge._sellHistories (#684) is not in mixedCase
Variable LuckyDoge._isAutoBuyBack (#685) is not in mixedCase
Variable LuckyDoge._buyBackDivisor (#686) is not in mixedCase
Variable LuckyDoge._buyBackTimeInterval (#687) is not in mixedCase
Variable LuckyDoge._buyBackMaxTimeForHistories (#688) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#19)" inContext (#13-22)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
State variables written after the call(s):
- _removeOldSellHistories() (#998)
- _sellHistories[i].time = _sellHistories[j].time (#1382)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1383)
- _sellHistories.pop() (#1392)
Reentrancy in LuckyDoge._transfer(address,address,uint256) (#929-1052):
External calls:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
External calls sending eth:
- swapTokens(contractTokenBalance) (#969)
- recipient.transfer(amount) (#1511)
- buyBackTokens(_bBSLimit) (#1018)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
State variables written after the call(s):
- removeAllFee() (#1033)
- _liquidityFee = 0 (#1337)
- _liquidityFee = _buyLiquidityFee (#1035)
- removeAllFee() (#1040)
- _liquidityFee = 0 (#1337)
- _liquidityFee = _sellLiquidityFee (#1042)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _liquidityFee = _previousLiquidityFee (#1342)
- _liquidityFee = 0 (#1337)
- restoreAllFee() (#1050)
- _liquidityFee = _previousLiquidityFee (#1342)
- removeAllFee() (#1033)
- _previousLiquidityFee = _liquidityFee (#1334)
- removeAllFee() (#1040)
- _previousLiquidityFee = _liquidityFee (#1334)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _previousLiquidityFee = _liquidityFee (#1334)
- removeAllFee() (#1033)
- _previousTaxFee = _taxFee (#1333)
- removeAllFee() (#1040)
- _previousTaxFee = _taxFee (#1333)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _previousTaxFee = _taxFee (#1333)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1313)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1165)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1145)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1146)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1187)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1208)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1167)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1188)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1210)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _rTotal = _rTotal.sub(rFee) (#1217)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1218)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1315)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1186)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1207)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1166)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1209)
- removeAllFee() (#1033)
- _taxFee = 0 (#1336)
- _taxFee = _buyTaxFee (#1034)
- removeAllFee() (#1040)
- _taxFee = 0 (#1336)
- _taxFee = _sellTaxFee (#1041)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- _taxFee = _previousTaxFee (#1341)
- _taxFee = 0 (#1336)
- restoreAllFee() (#1050)
- _taxFee = _previousTaxFee (#1341)
- buyBackTokens(_bBSLimit) (#1018)
- inSwapAndLiquify = true (#712)
- inSwapAndLiquify = false (#714)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#1108)
- buyBackTokens(_bBSLimit) (#1018)
- Transfer(sender,recipient,tTransferAmount) (#1149)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1191)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
- Transfer(sender,recipient,tTransferAmount) (#1213)
- _tokenTransfer(from,to,amount,takeFee) (#1047)
Reentrancy in LuckyDoge.transferFrom(address,address,uint256) (#793-808):
External calls:
- _transfer(sender,recipient,amount) (#798)
- recipient.transfer(amount) (#1511)
External calls sending eth:
- _transfer(sender,recipient,amount) (#798)
- recipient.transfer(amount) (#1511)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#1099-1106)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799-806)
- _allowances[owner][spender] = amount (#925)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#926)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#799-806)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#429) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#430)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._transferFromExcluded(address,address,uint256).rTransferAmount (#1180) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._transferBothExcluded(address,address,uint256).rTransferAmount (#1201) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._transferToExcluded(address,address,uint256).tTransferAmount (#1161)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1286) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._getValues(uint256).tTransferAmount (#1234)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._transferToExcluded(address,address,uint256).rTransferAmount (#1159) is too similar to LuckyDoge._getTValues(uint256).tTransferAmount (#1265)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._transferStandard(address,address,uint256).tTransferAmount (#1141)
Variable LuckyDoge.reflectionFromToken(uint256,bool).rTransferAmount (#877) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._transferStandard(address,address,uint256).rTransferAmount (#1139) is too similar to LuckyDoge._transferBothExcluded(address,address,uint256).tTransferAmount (#1203)
Variable LuckyDoge._getValues(uint256).rTransferAmount (#1238) is too similar to LuckyDoge._transferFromExcluded(address,address,uint256).tTransferAmount (#1182)
Prevent variables from having similar names.
Additional information: link
LuckyDoge.prepareForPreSale() (#1494-1499) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#1498)
LuckyDoge.afterPreSale() (#1501-1506) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#1505)
LuckyDoge.slitherConstructorVariables() (#629-1556) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#635-636)
LuckyDoge.slitherConstructorVariables() (#629-1556) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#679)
LuckyDoge.slitherConstructorVariables() (#629-1556) uses literals with too many digits:
- minimumTokensBeforeSwap = 200000 * 10 ** 6 * 10 ** 9 (#680)
LuckyDoge.slitherConstructorConstantVariables() (#629-1556) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#647)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#239-242)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#244-251)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#253-255)
getTime() should be declared external:
- Ownable.getTime() (#257-259)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#261-266)
unlock() should be declared external:
- Ownable.unlock() (#268-276)
name() should be declared external:
- LuckyDoge.name() (#745-747)
symbol() should be declared external:
- LuckyDoge.symbol() (#749-751)
decimals() should be declared external:
- LuckyDoge.decimals() (#753-755)
totalSupply() should be declared external:
- LuckyDoge.totalSupply() (#757-759)
transfer(address,uint256) should be declared external:
- LuckyDoge.transfer(address,uint256) (#766-773)
allowance(address,address) should be declared external:
- LuckyDoge.allowance(address,address) (#775-782)
approve(address,uint256) should be declared external:
- LuckyDoge.approve(address,uint256) (#784-791)
transferFrom(address,address,uint256) should be declared external:
- LuckyDoge.transferFrom(address,address,uint256) (#793-808)
increaseAllowance(address,uint256) should be declared external:
- LuckyDoge.increaseAllowance(address,uint256) (#810-821)
decreaseAllowance(address,uint256) should be declared external:
- LuckyDoge.decreaseAllowance(address,uint256) (#823-837)
isExcludedFromReward(address) should be declared external:
- LuckyDoge.isExcludedFromReward(address) (#839-841)
totalFees() should be declared external:
- LuckyDoge.totalFees() (#843-845)
minimumTokensBeforeSwapAmount() should be declared external:
- LuckyDoge.minimumTokensBeforeSwapAmount() (#847-849)
buyBackSellLimitAmount() should be declared external:
- LuckyDoge.buyBackSellLimitAmount() (#851-853)
deliver(uint256) should be declared external:
- LuckyDoge.deliver(uint256) (#855-865)
reflectionFromToken(uint256,bool) should be declared external:
- LuckyDoge.reflectionFromToken(uint256,bool) (#867-880)
excludeFromReward(address) should be declared external:
- LuckyDoge.excludeFromReward(address) (#895-902)
isExcludedFromFee(address) should be declared external:
- LuckyDoge.isExcludedFromFee(address) (#1345-1347)
excludeFromFee(address) should be declared external:
- LuckyDoge.excludeFromFee(address) (#1349-1351)
includeInFee(address) should be declared external:
- LuckyDoge.includeInFee(address) (#1353-1355)
GetBuyBackTimeInterval() should be declared external:
- LuckyDoge.GetBuyBackTimeInterval() (#1407-1409)
GetSwapMinutes() should be declared external:
- LuckyDoge.GetSwapMinutes() (#1420-1422)
setBuyBackEnabled(bool) should be declared external:
- LuckyDoge.setBuyBackEnabled(bool) (#1484-1487)
setAutoBuyBackEnabled(bool) should be declared external:
- LuckyDoge.setAutoBuyBackEnabled(bool) (#1489-1492)
changeRouterVersion(address) should be declared external:
- LuckyDoge.changeRouterVersion(address) (#1514-1536)
transferForeignToken(address,address) should be declared external:
- LuckyDoge.transferForeignToken(address,address) (#1541-1549)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 10% buy tax and 16% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts