🚨Welcome to AutoMatic 🚨
🔥Life Changing Reward System🔥
🔥1 Year LP Locked
🔥Experienced Marketing Team
🔥Dessert Finance Audit SOON
🔥P2E Game in Mobile and VR
🔥Unique NFT Collection
🔥Highest Rewards 12% Matic
Total Supply: 100,000,000,000,000
12% Matic Rewards💵
1% LP🔓
3% Marketing🎺
✅AutoMatic is a Binance Smart Chain project with a Bridge in the Future to the Avalanche Chain where we are creating our ultimate goal the Metaverse for anyone to play, win & earn. This is alongside a host of benefits and utility for our holders with Matic rewards.
🔥Start on BSC and migrate in Phase 6 of our Roadmap from BSC to Avalanche a bridge and publish our MetaVerse on the Avalanche Chain.🚀🔥💎
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
AutoMatic.addLiquidity(uint256,uint256) (AutoMatic.sol#441-456) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- success = IERC20(Matic).transfer(address(dividendTracker),dividends) (AutoMatic.sol#461)
- dividendTracker.distributeMaticDividends(dividends) (AutoMatic.sol#464)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (AutoMatic.sol#351)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (AutoMatic.sol#354)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (AutoMatic.sol#333)
Apply the check-effects-interactions pattern.
Additional information: link
AutoMatic.swapAndSendToFee(uint256) (AutoMatic.sol#371-378) ignores return value by IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- success = IERC20(Matic).transfer(address(dividendTracker),dividends) (AutoMatic.sol#461)
- dividendTracker.distributeMaticDividends(dividends) (AutoMatic.sol#464)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in AutoMatic.constructor() (AutoMatic.sol#88-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AutoMatic.sol#95-96)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (AutoMatic.sol#99)
- uniswapV2Router = _uniswapV2Router (AutoMatic.sol#98)
Reentrancy in AutoMatic.constructor() (AutoMatic.sol#88-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AutoMatic.sol#95-96)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AutoMatic.sol#101)
- dividendTracker.excludeFromDividends(pair) (AutoMatic.sol#205)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (AutoMatic.sol#104)
- dividendTracker.excludeFromDividends(address(this)) (AutoMatic.sol#105)
- dividendTracker.excludeFromDividends(owner()) (AutoMatic.sol#106)
- dividendTracker.excludeFromDividends(deadWallet) (AutoMatic.sol#107)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (AutoMatic.sol#108)
State variables written after the call(s):
- _mint(owner(),100000 * 10 ** 9 * (10 ** 18)) (AutoMatic.sol#116)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (AutoMatic.sol#111)
- _isExcludedFromFees[account] = excluded (AutoMatic.sol#151)
- excludeFromFees(_marketingWalletAddress,true) (AutoMatic.sol#112)
- _isExcludedFromFees[account] = excluded (AutoMatic.sol#151)
- excludeFromFees(address(this),true) (AutoMatic.sol#113)
- _isExcludedFromFees[account] = excluded (AutoMatic.sol#151)
- _mint(owner(),100000 * 10 ** 9 * (10 ** 18)) (AutoMatic.sol#116)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in AutoMaticDividendTracker.processAccount(address,bool) (AutoMatic.sol#666-676):
External calls:
- amount = _withdrawDividendOfUser(account) (AutoMatic.sol#667)
- success = IERC20(Matic).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (AutoMatic.sol#670)
Reentrancy in AutoMatic.swapAndLiquify(uint256) (AutoMatic.sol#380-398):
External calls:
- swapTokensForEth(half) (AutoMatic.sol#389)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in AutoMatic.updateUniswapV2Router(address) (AutoMatic.sol#140-147):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (AutoMatic.sol#144-145)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (AutoMatic.sol#146)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(Matic).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in AutoMatic.updateDividendTracker(address) (AutoMatic.sol#123-138):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (AutoMatic.sol#130)
- newDividendTracker.excludeFromDividends(address(this)) (AutoMatic.sol#131)
- newDividendTracker.excludeFromDividends(owner()) (AutoMatic.sol#132)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (AutoMatic.sol#133)
State variables written after the call(s):
- dividendTracker = newDividendTracker (AutoMatic.sol#137)
Apply the check-effects-interactions pattern.
Additional information: link
AutoMatic._transfer(address,address,uint256).iterations (AutoMatic.sol#362) is a local variable never initialized
AutoMatic._transfer(address,address,uint256).claims (AutoMatic.sol#362) is a local variable never initialized
AutoMatic._transfer(address,address,uint256).lastProcessedIndex (AutoMatic.sol#362) 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
AutoMatic.claim() (AutoMatic.sol#278-280) ignores return value by dividendTracker.processAccount(msg.sender,false) (AutoMatic.sol#279)
AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369) ignores return value by dividendTracker.process(gas) (AutoMatic.sol#362-367)
AutoMatic.addLiquidity(uint256,uint256) (AutoMatic.sol#441-456) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
AutoMatic.setMaticRewardsFee(uint256) (AutoMatic.sol#168-171) should emit an event for:
- MaticRewardsFee = value (AutoMatic.sol#169)
- totalFees = MaticRewardsFee.add(liquidityFee).add(marketingFee) (AutoMatic.sol#170)
AutoMatic.setLiquiditFee(uint256) (AutoMatic.sol#173-176) should emit an event for:
- liquidityFee = value (AutoMatic.sol#174)
- totalFees = MaticRewardsFee.add(liquidityFee).add(marketingFee) (AutoMatic.sol#175)
AutoMatic.setMarketingFee(uint256) (AutoMatic.sol#178-181) should emit an event for:
- marketingFee = value (AutoMatic.sol#179)
- totalFees = MaticRewardsFee.add(liquidityFee).add(marketingFee) (AutoMatic.sol#180)
AutoMatic.setMaxTxAmount(uint256) (AutoMatic.sol#183-185) should emit an event for:
- maxTxAmount = amount * (10 ** 18) (AutoMatic.sol#184)
AutoMatic.setMaxWalletBalance(uint256) (AutoMatic.sol#187-189) should emit an event for:
- maxWalletBalance = amount * (10 ** 18) (AutoMatic.sol#188)
Emit an event for critical parameter changes.
Additional information: link
AutoMatic.updateUniswapV2Router(address)._uniswapV2Pair (AutoMatic.sol#144-145) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (AutoMatic.sol#146)
AutoMatic.setMarketingWallet(address).wallet (AutoMatic.sol#164) lacks a zero-check on :
- _marketingWalletAddress = wallet (AutoMatic.sol#165)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(Matic).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'AutoMatic._transfer(address,address,uint256).claims (AutoMatic.sol#362)' in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AutoMatic.sol#363)
Variable 'AutoMatic._transfer(address,address,uint256).iterations (AutoMatic.sol#362)' in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AutoMatic.sol#363)
Variable 'AutoMatic._transfer(address,address,uint256).lastProcessedIndex (AutoMatic.sol#362)' in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AutoMatic.sol#363)
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 AutoMatic._setAutomatedMarketMakerPair(address,bool) (AutoMatic.sol#200-209):
External calls:
- dividendTracker.excludeFromDividends(pair) (AutoMatic.sol#205)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (AutoMatic.sol#208)
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- SwapAndLiquify(half,newBalance,otherHalf) (AutoMatic.sol#397)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- success = IERC20(Matic).transfer(address(dividendTracker),dividends) (AutoMatic.sol#461)
- dividendTracker.distributeMaticDividends(dividends) (AutoMatic.sol#464)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- SendDividends(tokens,dividends) (AutoMatic.sol#465)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (AutoMatic.sol#351)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (AutoMatic.sol#354)
Reentrancy in AutoMatic._transfer(address,address,uint256) (AutoMatic.sol#291-369):
External calls:
- swapAndSendToFee(marketingTokens) (AutoMatic.sol#325)
- IERC20(Matic).transfer(_marketingWalletAddress,newBalance) (AutoMatic.sol#377)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- swapAndSendDividends(sellTokens) (AutoMatic.sol#331)
- success = IERC20(Matic).transfer(address(dividendTracker),dividends) (AutoMatic.sol#461)
- dividendTracker.distributeMaticDividends(dividends) (AutoMatic.sol#464)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- dividendTracker.setBalance(address(from),balanceOf(from)) (AutoMatic.sol#356)
- dividendTracker.setBalance(address(to),balanceOf(to)) (AutoMatic.sol#357)
- dividendTracker.process(gas) (AutoMatic.sol#362-367)
External calls sending eth:
- swapAndLiquify(swapTokens) (AutoMatic.sol#328)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (AutoMatic.sol#363)
Reentrancy in AutoMatic.constructor() (AutoMatic.sol#88-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AutoMatic.sol#95-96)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AutoMatic.sol#101)
- dividendTracker.excludeFromDividends(pair) (AutoMatic.sol#205)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (AutoMatic.sol#208)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AutoMatic.sol#101)
Reentrancy in AutoMatic.constructor() (AutoMatic.sol#88-117):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (AutoMatic.sol#95-96)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (AutoMatic.sol#101)
- dividendTracker.excludeFromDividends(pair) (AutoMatic.sol#205)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (AutoMatic.sol#104)
- dividendTracker.excludeFromDividends(address(this)) (AutoMatic.sol#105)
- dividendTracker.excludeFromDividends(owner()) (AutoMatic.sol#106)
- dividendTracker.excludeFromDividends(deadWallet) (AutoMatic.sol#107)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (AutoMatic.sol#108)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (AutoMatic.sol#153)
- excludeFromFees(owner(),true) (AutoMatic.sol#111)
- ExcludeFromFees(account,excluded) (AutoMatic.sol#153)
- excludeFromFees(address(this),true) (AutoMatic.sol#113)
- ExcludeFromFees(account,excluded) (AutoMatic.sol#153)
- excludeFromFees(_marketingWalletAddress,true) (AutoMatic.sol#112)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),100000 * 10 ** 9 * (10 ** 18)) (AutoMatic.sol#116)
Reentrancy in AutoMaticDividendTracker.processAccount(address,bool) (AutoMatic.sol#666-676):
External calls:
- amount = _withdrawDividendOfUser(account) (AutoMatic.sol#667)
- success = IERC20(Matic).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (AutoMatic.sol#671)
Reentrancy in AutoMatic.processDividendTracker(uint256) (AutoMatic.sol#273-276):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (AutoMatic.sol#274)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (AutoMatic.sol#275)
Reentrancy in AutoMatic.swapAndLiquify(uint256) (AutoMatic.sol#380-398):
External calls:
- swapTokensForEth(half) (AutoMatic.sol#389)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#412-418)
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (AutoMatic.sol#447-454)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (AutoMatic.sol#395)
- SwapAndLiquify(half,newBalance,otherHalf) (AutoMatic.sol#397)
Reentrancy in AutoMatic.swapAndSendDividends(uint256) (AutoMatic.sol#458-467):
External calls:
- swapTokensForMatic(tokens) (AutoMatic.sol#459)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (AutoMatic.sol#432-438)
- success = IERC20(Matic).transfer(address(dividendTracker),dividends) (AutoMatic.sol#461)
- dividendTracker.distributeMaticDividends(dividends) (AutoMatic.sol#464)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (AutoMatic.sol#465)
Reentrancy in AutoMatic.updateDividendTracker(address) (AutoMatic.sol#123-138):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (AutoMatic.sol#130)
- newDividendTracker.excludeFromDividends(address(this)) (AutoMatic.sol#131)
- newDividendTracker.excludeFromDividends(owner()) (AutoMatic.sol#132)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (AutoMatic.sol#133)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (AutoMatic.sol#135)
Apply the check-effects-interactions pattern.
Additional information: link
AutoMaticDividendTracker.getAccount(address) (AutoMatic.sol#530-573) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (AutoMatic.sol#570-572)
AutoMaticDividendTracker.canAutoClaim(uint256) (AutoMatic.sol#594-600) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (AutoMatic.sol#595)
- block.timestamp.sub(lastClaimTime) >= claimWait (AutoMatic.sol#599)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
AutoMatic.totalFees (AutoMatic.sol#37) is set pre-construction with a non-constant function or state variable:
- MaticRewardsFee.add(liquidityFee).add(marketingFee)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version^0.6.2 (AutoMatic.sol#3) allows old versions
Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Variable AutoMatic.Matic (AutoMatic.sol#26) is not in mixedCase
Variable AutoMatic.MaticRewardsFee (AutoMatic.sol#34) is not in mixedCase
Variable AutoMatic._marketingWalletAddress (AutoMatic.sol#39) is not in mixedCase
Parameter AutoMaticDividendTracker.getAccount(address)._account (AutoMatic.sol#530) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.Matic (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to AutoMaticDividendTracker.getAccount(address).withdrawableDividends (AutoMatic.sol#535)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.
Additional information: link
AutoMatic.constructor() (AutoMatic.sol#88-117) uses literals with too many digits:
- _mint(owner(),100000 * 10 ** 9 * (10 ** 18)) (AutoMatic.sol#116)
AutoMatic.updateGasForProcessing(uint256) (AutoMatic.sol#212-217) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,AutoMatic: gasForProcessing must be between 200,000 and 500,000) (AutoMatic.sol#213)
AutoMatic.slitherConstructorVariables() (AutoMatic.sol#14-468) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (AutoMatic.sol#24)
AutoMatic.slitherConstructorVariables() (AutoMatic.sol#14-468) uses literals with too many digits:
- swapTokensAtAmount = 2000000000 * (10 ** 18) (AutoMatic.sol#28)
AutoMatic.slitherConstructorVariables() (AutoMatic.sol#14-468) uses literals with too many digits:
- maxTxAmount = 1000000000000 * (10 ** 18) (AutoMatic.sol#29)
AutoMatic.slitherConstructorVariables() (AutoMatic.sol#14-468) uses literals with too many digits:
- maxWalletBalance = 2000000000000 * (10 ** 18) (AutoMatic.sol#30)
AutoMatic.slitherConstructorVariables() (AutoMatic.sol#14-468) uses literals with too many digits:
- gasForProcessing = 300000 (AutoMatic.sol#43)
AutoMaticDividendTracker.constructor() (AutoMatic.sol#490-493) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000000 * (10 ** 18) (AutoMatic.sol#492)
AutoMaticDividendTracker.getAccountAtIndex(uint256) (AutoMatic.sol#575-592) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (AutoMatic.sol#586)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
AutoMatic.deadWallet (AutoMatic.sol#24) should be constant
AutoMatic.swapTokensAtAmount (AutoMatic.sol#28) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
updateDividendTracker(address) should be declared external:
- AutoMatic.updateDividendTracker(address) (AutoMatic.sol#123-138)
updateUniswapV2Router(address) should be declared external:
- AutoMatic.updateUniswapV2Router(address) (AutoMatic.sol#140-147)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- AutoMatic.excludeMultipleAccountsFromFees(address[],bool) (AutoMatic.sol#156-162)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- AutoMatic.setAutomatedMarketMakerPair(address,bool) (AutoMatic.sol#191-195)
updateGasForProcessing(uint256) should be declared external:
- AutoMatic.updateGasForProcessing(uint256) (AutoMatic.sol#212-217)
isExcludedFromFees(address) should be declared external:
- AutoMatic.isExcludedFromFees(address) (AutoMatic.sol#231-233)
withdrawableDividendOf(address) should be declared external:
- AutoMatic.withdrawableDividendOf(address) (AutoMatic.sol#235-237)
dividendTokenBalanceOf(address) should be declared external:
- AutoMatic.dividendTokenBalanceOf(address) (AutoMatic.sol#239-241)
withdrawDividend() should be declared external:
- AutoMaticDividendTracker.withdrawDividend() (AutoMatic.sol#499-501)
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
getAccountAtIndex(uint256) should be declared external:
- AutoMaticDividendTracker.getAccountAtIndex(uint256) (AutoMatic.sol#575-592)
process(uint256) should be declared external:
- AutoMaticDividendTracker.process(uint256) (AutoMatic.sol#619-664)
distributeMaticDividends(uint256) should be declared external:
- DividendPayingToken.distributeMaticDividends(uint256) (DividendPayingToken.sol#55-66)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
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 contract audit
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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
Young tokens have high risks of price dump / death
Telegram account has relatively few subscribers
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