Endless Burn (LESS) Is an Extreme Hyper Deflationary BSC Utility token, with endless growth possibilities. The development of the Endless Protocol (Our vesting contract that allows locked tokens to receive rewards) and Endless Launchpad is just the stepping stones to the future. All FEES are given back to the HOLDERS and LIQUIDITY.
THE BUYBACK SUPPLY WILL BE LOCKED IN OUR CUSTOM VESTING CONTRACT BEFORE THE START OF THE PRESALE AND NOT WITH PINKLOCK (For the purpose or receiving the BUSD rewards).
EndlessBurn.swapBack() (#1676-1724) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in EndlessBurn._transfer(address,address,uint256) (#1510-1623):
External calls:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1716)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1719)
External calls sending eth:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1604)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#431)
- _balances[recipient] = _balances[recipient].add(amount) (#432)
- super._transfer(from,to,amount) (#1610)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#431)
- _balances[recipient] = _balances[recipient].add(amount) (#432)
- swapping = false (#1563)
- tokensForBuyBack += fees * buyBackSellFee / totalSellFees (#1583)
- tokensForBuyBack += fees * buyBackSellFee / totalSellFees (#1592)
- tokensForBuyBack += fees * buyBackBuyFee / totalBuyFees (#1600)
- tokensForLiquidity += fees * liquiditySellFee / totalSellFees (#1581)
- tokensForLiquidity += fees * liquiditySellFee / totalSellFees (#1590)
- tokensForLiquidity += fees * liquidityBuyFee / totalBuyFees (#1598)
- tokensForMarketing += fees * marketingSellFee / totalSellFees (#1582)
- tokensForMarketing += fees * marketingSellFee / totalSellFees (#1591)
- tokensForMarketing += fees * marketingBuyFee / totalBuyFees (#1599)
- tokensForRewards += fees * rewardsSellFee / totalSellFees (#1580)
- tokensForRewards += fees * rewardsSellFee / totalSellFees (#1589)
- tokensForRewards += fees * rewardsBuyFee / totalBuyFees (#1597)
Apply the check-effects-interactions pattern.
Additional information: link
Contract locking ether found:
Contract DividendTracker (#1748-1956) has payable functions:
- DividendPayingToken.receive() (#1009-1011)
- DividendPayingToken.distributeDividends() (#1027-1029)
- DividendPayingTokenInterface.distributeDividends() (#550)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
EndlessBurn.swapBack().success (#1703) is written in both
(success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
(success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
Fix or remove the writes.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(99).div(100) (#1579)
-tokensForRewards += fees * rewardsSellFee / totalSellFees (#1580)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(99).div(100) (#1579)
-tokensForLiquidity += fees * liquiditySellFee / totalSellFees (#1581)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(99).div(100) (#1579)
-tokensForMarketing += fees * marketingSellFee / totalSellFees (#1582)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-tokensForBuyBack += fees * buyBackSellFee / totalSellFees (#1583)
-fees = amount.mul(totalBuyFees).div(100) (#1596)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForRewards += fees * rewardsSellFee / totalSellFees (#1589)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForLiquidity += fees * liquiditySellFee / totalSellFees (#1590)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForRewards += fees * rewardsBuyFee / totalBuyFees (#1597)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForMarketing += fees * marketingSellFee / totalSellFees (#1591)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForLiquidity += fees * liquidityBuyFee / totalBuyFees (#1598)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForBuyBack += fees * buyBackSellFee / totalSellFees (#1592)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForMarketing += fees * marketingBuyFee / totalBuyFees (#1599)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) performs a multiplication on the result of a division:
-fees = amount.mul(totalSellFees).div(100) (#1588)
-tokensForBuyBack += fees * buyBackBuyFee / totalBuyFees (#1600)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1052-1068):
External calls:
- success = IERC20(token).transfer(user,_withdrawableDividend) (#1057)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1060)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- dividendTracker.excludeFromDividends(pair) (#1408)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1278)
- dividendTracker.excludeFromDividends(address(this)) (#1279)
- dividendTracker.excludeFromDividends(newOwner) (#1280)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1281)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1282)
State variables written after the call(s):
- transferOwnership(newOwner) (#1300)
- _owner = newOwner (#765)
Reentrancy in EndlessBurn.swapBack() (#1676-1724):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
State variables written after the call(s):
- tokensForBuyBack = 0 (#1701)
- tokensForLiquidity = 0 (#1698)
- tokensForMarketing = 0 (#1699)
- tokensForRewards = 0 (#1700)
Apply the check-effects-interactions pattern.
Additional information: link
EndlessBurn._transfer(address,address,uint256).iterations (#1618) is a local variable never initialized
EndlessBurn._transfer(address,address,uint256).claims (#1618) is a local variable never initialized
EndlessBurn._transfer(address,address,uint256).lastProcessedIndex (#1618) 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
EndlessBurn.claim() (#1487-1489) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1488)
EndlessBurn._transfer(address,address,uint256) (#1510-1623) ignores return value by dividendTracker.process(gas) (#1618-1621)
EndlessBurn.addLiquidity(uint256,uint256) (#1660-1674) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.dividendOf(address)._owner (#1074) shadows:
- Ownable._owner (#718) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1081) shadows:
- Ownable._owner (#718) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1088) shadows:
- Ownable._owner (#718) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1098) shadows:
- Ownable._owner (#718) (state variable)
EndlessBurn.constructor().totalSupply (#1241) shadows:
- ERC20.totalSupply() (#305-307) (function)
- IERC20.totalSupply() (#155) (function)
Rename the local variables that shadow another component.
Additional information: link
EndlessBurn.updateMaxAmount(uint256) (#1349-1352) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 18) (#1351)
EndlessBurn.updateMaxWallet(uint256) (#1354-1357) should emit an event for:
- maxWallet = newNum * (10 ** 18) (#1356)
EndlessBurn.updateBuyFees(uint256,uint256,uint256,uint256) (#1359-1366) should emit an event for:
- marketingBuyFee = _marketingFee (#1360)
- rewardsBuyFee = _rewardsFee (#1361)
- liquidityBuyFee = _liquidityFee (#1362)
- buyBackBuyFee = _buybackFee (#1363)
- totalBuyFees = marketingBuyFee + rewardsBuyFee + liquidityBuyFee + buyBackBuyFee (#1364)
EndlessBurn.updateSellFees(uint256,uint256,uint256,uint256) (#1368-1375) should emit an event for:
- marketingSellFee = _marketingFee (#1369)
- rewardsSellFee = _rewardsFee (#1370)
- liquiditySellFee = _liquidityFee (#1371)
- buyBackSellFee = _buybackFee (#1372)
- totalSellFees = marketingSellFee + rewardsSellFee + liquiditySellFee + buyBackSellFee (#1373)
Emit an event for critical parameter changes.
Additional information: link
EndlessBurn.addPresaleAddressForExclusions(address,address)._presaleAddress (#1308) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1309)
EndlessBurn.addPresaleAddressForExclusions(address,address)._presaleRouterAddress (#1308) lacks a zero-check on :
- presaleRouterAddress = _presaleRouterAddress (#1313)
EndlessBurn.emergencyPresaleAddressUpdate(address,address)._presaleAddress (#1319) lacks a zero-check on :
- presaleAddress = _presaleAddress (#1320)
EndlessBurn.emergencyPresaleAddressUpdate(address,address)._presaleRouterAddress (#1319) lacks a zero-check on :
- presaleRouterAddress = _presaleRouterAddress (#1321)
EndlessBurn.updateMarketingWallet(address).newMarketingWallet (#1414) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1417)
EndlessBurn.updateBuybackWallet(address).newBuybackWallet (#1420) lacks a zero-check on :
- buyBackWallet = newBuybackWallet (#1422)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1052-1068) has external calls inside a loop: success = IERC20(token).transfer(user,_withdrawableDividend) (#1057)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'EndlessBurn._transfer(address,address,uint256).claims (#1618)' in EndlessBurn._transfer(address,address,uint256) (#1510-1623) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1619)
Variable 'EndlessBurn._transfer(address,address,uint256).iterations (#1618)' in EndlessBurn._transfer(address,address,uint256) (#1510-1623) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1619)
Variable 'EndlessBurn._transfer(address,address,uint256).lastProcessedIndex (#1618)' in EndlessBurn._transfer(address,address,uint256) (#1510-1623) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1619)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in EndlessBurn.addPresaleAddressForExclusions(address,address) (#1308-1317):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1311)
State variables written after the call(s):
- excludeFromFees(_presaleRouterAddress,true) (#1314)
- _isExcludedFromFees[account] = excluded (#1383)
- excludeFromMaxTransaction(_presaleAddress,true) (#1312)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- presaleRouterAddress = _presaleRouterAddress (#1313)
Reentrancy in EndlessBurn.addPresaleAddressForExclusions(address,address) (#1308-1317):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1311)
- dividendTracker.excludeFromDividends(_presaleRouterAddress) (#1315)
State variables written after the call(s):
- excludeFromMaxTransaction(_presaleRouterAddress,true) (#1316)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1273)
- uniswapV2Router = _uniswapV2Router (#1272)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- dividendTracker.excludeFromDividends(pair) (#1408)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- automatedMarketMakerPairs[pair] = value (#1403)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- dividendTracker.excludeFromDividends(pair) (#1408)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1278)
- dividendTracker.excludeFromDividends(address(this)) (#1279)
- dividendTracker.excludeFromDividends(newOwner) (#1280)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1281)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1282)
State variables written after the call(s):
- _mint(address(newOwner),totalSupply) (#1299)
- _balances[account] = _balances[account].add(amount) (#451)
- excludeFromFees(newOwner,true) (#1285)
- _isExcludedFromFees[account] = excluded (#1383)
- excludeFromFees(address(this),true) (#1286)
- _isExcludedFromFees[account] = excluded (#1383)
- excludeFromFees(address(0xdead),true) (#1287)
- _isExcludedFromFees[account] = excluded (#1383)
- excludeFromMaxTransaction(newOwner,true) (#1289)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- excludeFromMaxTransaction(address(this),true) (#1290)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- excludeFromMaxTransaction(address(dividendTracker),true) (#1291)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- excludeFromMaxTransaction(address(_uniswapV2Router),true) (#1292)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- excludeFromMaxTransaction(address(0xdead),true) (#1293)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1378)
- _mint(address(newOwner),totalSupply) (#1299)
- _totalSupply = _totalSupply.add(amount) (#450)
Reentrancy in DividendTracker.processAccount(address,bool) (#1944-1954):
External calls:
- amount = _withdrawDividendOfUser(account) (#1945)
- success = IERC20(token).transfer(user,_withdrawableDividend) (#1057)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1948)
Reentrancy in EndlessBurn.swapBack() (#1676-1724):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- _allowances[owner][spender] = amount (#497)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in EndlessBurn._setAutomatedMarketMakerPair(address,bool) (#1402-1412):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1408)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1411)
Reentrancy in EndlessBurn._transfer(address,address,uint256) (#1510-1623):
External calls:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1716)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1719)
External calls sending eth:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#433)
- super._transfer(from,address(this),fees) (#1604)
- Transfer(sender,recipient,amount) (#433)
- super._transfer(from,to,amount) (#1610)
Reentrancy in EndlessBurn._transfer(address,address,uint256) (#1510-1623):
External calls:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1716)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1719)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1612)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1613)
- dividendTracker.process(gas) (#1618-1621)
External calls sending eth:
- swapBack() (#1562)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1619)
Reentrancy in EndlessBurn.addPresaleAddressForExclusions(address,address) (#1308-1317):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1311)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1385)
- excludeFromFees(_presaleRouterAddress,true) (#1314)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(_presaleAddress,true) (#1312)
Reentrancy in EndlessBurn.addPresaleAddressForExclusions(address,address) (#1308-1317):
External calls:
- dividendTracker.excludeFromDividends(_presaleAddress) (#1311)
- dividendTracker.excludeFromDividends(_presaleRouterAddress) (#1315)
Event emitted after the call(s):
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(_presaleRouterAddress,true) (#1316)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- dividendTracker.excludeFromDividends(pair) (#1408)
Event emitted after the call(s):
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- SetAutomatedMarketMakerPair(pair,value) (#1411)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
Reentrancy in EndlessBurn.constructor() (#1238-1301):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1269-1270)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1275)
- dividendTracker.excludeFromDividends(pair) (#1408)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1278)
- dividendTracker.excludeFromDividends(address(this)) (#1279)
- dividendTracker.excludeFromDividends(newOwner) (#1280)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1281)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1282)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1385)
- excludeFromFees(address(0xdead),true) (#1287)
- ExcludeFromFees(account,excluded) (#1385)
- excludeFromFees(address(this),true) (#1286)
- ExcludeFromFees(account,excluded) (#1385)
- excludeFromFees(newOwner,true) (#1285)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(address(0xdead),true) (#1293)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(address(_uniswapV2Router),true) (#1292)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(address(this),true) (#1290)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(newOwner,true) (#1289)
- ExcludedMaxTransactionAmount(updAds,isEx) (#1379)
- excludeFromMaxTransaction(address(dividendTracker),true) (#1291)
- OwnershipTransferred(_owner,newOwner) (#764)
- transferOwnership(newOwner) (#1300)
- Transfer(address(0),account,amount) (#452)
- _mint(address(newOwner),totalSupply) (#1299)
Reentrancy in EndlessBurn.excludeFromDividends(address) (#1331-1334):
External calls:
- dividendTracker.excludeFromDividends(account) (#1332)
Event emitted after the call(s):
- ExcludeFromDividends(account) (#1333)
Reentrancy in EndlessBurn.includeInDividends(address) (#1337-1340):
External calls:
- dividendTracker.includeInDividends(account) (#1338)
Event emitted after the call(s):
- IncludeInDividends(account) (#1339)
Reentrancy in DividendTracker.processAccount(address,bool) (#1944-1954):
External calls:
- amount = _withdrawDividendOfUser(account) (#1945)
- success = IERC20(token).transfer(user,_withdrawableDividend) (#1057)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1949)
Reentrancy in EndlessBurn.processDividendTracker(uint256) (#1482-1485):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1483)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1484)
Reentrancy in EndlessBurn.swapBack() (#1676-1724):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#498)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1708)
Reentrancy in EndlessBurn.swapBack() (#1676-1724):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1688)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1650-1656)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- swapBnbForRewardToken(ethForRewards) (#1713)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1716)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1719)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1707)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1665-1672)
- swapBnbForRewardToken(ethForRewards) (#1713)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1631-1636)
Event emitted after the call(s):
- SendDividends(tokenBalance,ethForRewards) (#1720)
Apply the check-effects-interactions pattern.
Additional information: link
DividendTracker.getAccount(address) (#1808-1851) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1848-1850)
DividendTracker.canAutoClaim(uint256) (#1872-1878) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1873)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1877)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#17-20) is never used and should be removed
ERC20._burn(address,uint256) (#466-474) is never used and should be removed
SafeMath.mod(uint256,uint256) (#695-697) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#711-714) is never used and should be removed
SafeMathInt.abs(int256) (#819-822) is never used and should be removed
SafeMathInt.div(int256,int256) (#790-796) is never used and should be removed
SafeMathInt.mul(int256,int256) (#778-785) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.9 (#10) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in EndlessBurn.swapBack() (#1676-1724):
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1703)
- (success,None) = address(buyBackWallet).call{value: ethForBuyBack}() (#1704)
Low level call in EndlessBurn.withdrawStuckEth() (#1742-1745):
- (success) = address(msg.sender).call{value: address(this).balance}() (#1743)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#38) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#39) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#56) is not in mixedCase
Function IUniswapV2Router01.WETH() (#842) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1074) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1081) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1088) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1098) is not in mixedCase
Constant DividendPayingToken.magnitude (#983) is not in UPPER_CASE_WITH_UNDERSCORES
Event EndlessBurnmarketingWalletUpdated(address,address) (#1211) is not in CapWords
Parameter EndlessBurn.addPresaleAddressForExclusions(address,address)._presaleAddress (#1308) is not in mixedCase
Parameter EndlessBurn.addPresaleAddressForExclusions(address,address)._presaleRouterAddress (#1308) is not in mixedCase
Parameter EndlessBurn.emergencyPresaleAddressUpdate(address,address)._presaleAddress (#1319) is not in mixedCase
Parameter EndlessBurn.emergencyPresaleAddressUpdate(address,address)._presaleRouterAddress (#1319) is not in mixedCase
Parameter EndlessBurn.updateBuyFees(uint256,uint256,uint256,uint256)._marketingFee (#1359) is not in mixedCase
Parameter EndlessBurn.updateBuyFees(uint256,uint256,uint256,uint256)._rewardsFee (#1359) is not in mixedCase
Parameter EndlessBurn.updateBuyFees(uint256,uint256,uint256,uint256)._liquidityFee (#1359) is not in mixedCase
Parameter EndlessBurn.updateBuyFees(uint256,uint256,uint256,uint256)._buybackFee (#1359) is not in mixedCase
Parameter EndlessBurn.updateSellFees(uint256,uint256,uint256,uint256)._marketingFee (#1368) is not in mixedCase
Parameter EndlessBurn.updateSellFees(uint256,uint256,uint256,uint256)._rewardsFee (#1368) is not in mixedCase
Parameter EndlessBurn.updateSellFees(uint256,uint256,uint256,uint256)._liquidityFee (#1368) is not in mixedCase
Parameter EndlessBurn.updateSellFees(uint256,uint256,uint256,uint256)._buybackFee (#1368) is not in mixedCase
Parameter EndlessBurn.setLimits(bool)._flag (#1504) is not in mixedCase
Variable EndlessBurn._isExcludedMaxTransactionAmount (#1195) is not in mixedCase
Parameter DividendTracker.getAccount(address)._account (#1808) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#18)" inContext (#12-21)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#847) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#848)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1053) is too similar to DividendTracker.getAccount(address).withdrawableDividends (#1813)
Prevent variables from having similar names.
Additional information: link
EndlessBurn.updateGasForProcessing(uint256) (#1425-1430) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000, gasForProcessing must be between 200,000 and 500,000) (#1426)
EndlessBurn.slitherConstructorVariables() (#1137-1746) uses literals with too many digits:
- gasForProcessing = 400000 (#1188)
DividendTracker.getAccountAtIndex(uint256) (#1853-1870) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1864)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#773) is never used in SafeMathInt (#771-829)
EndlessBurn._holderLastTransferTimestamp (#1164) is never used in EndlessBurn (#1137-1746)
Remove unused state variables.
Additional information: link
EndlessBurn.liquidityActiveBlock (#1156) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#99-101)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#103-108)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#110-112)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#116-118)
name() should be declared external:
- ERC20.name() (#273-275)
symbol() should be declared external:
- ERC20.symbol() (#281-283)
decimals() should be declared external:
- ERC20.decimals() (#298-300)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#324-327)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#332-334)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#343-346)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#361-369)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#383-386)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#402-405)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#753-756)
distributeTokenDividends(uint256) should be declared external:
- DividendPayingToken.distributeTokenDividends(uint256) (#1031-1042)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1046-1048)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1074-1076)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1088-1090)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- EndlessBurn.setAutomatedMarketMakerPair(address,bool) (#1396-1400)
isExcludedFromFees(address) should be declared external:
- EndlessBurn.isExcludedFromFees(address) (#1444-1446)
withdrawableDividendOf(address) should be declared external:
- EndlessBurn.withdrawableDividendOf(address) (#1448-1450)
dividendTokenBalanceOf(address) should be declared external:
- EndlessBurn.dividendTokenBalanceOf(address) (#1452-1454)
getAccountAtIndex(uint256) should be declared external:
- DividendTracker.getAccountAtIndex(uint256) (#1853-1870)
process(uint256) should be declared external:
- DividendTracker.process(uint256) (#1898-1942)
Use the external attribute for functions never called from the contract.
Additional information: link
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
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
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 Youtube account