Mint - Stake Lifetime Reward Based NFTs and Earn $162 every 24 hours ⏰ while sleeping😴. ✓Get 2% reflection in USDT 💵 on every transaction. ✓Audit report done by SolidProof & SAFUU. Testnet is live take a look here ⚛️: app.aquatank.io - ✓First CEX listing Hotbit/Bitmart 100% based on voting.
Note: Fairlaunch participants will get 1 exclusive ISLAND NFTs free that worth 100,000 $Aqua Tokens.
AquaTank.addLiquidity(uint256,uint256) (#959-974) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- swapAndSendDividends(sellTokens) (#825)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#979)
- dividendTracker.distributeBUSDDividends(dividends) (#982)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
State variables written after the call(s):
- super._transfer(from,address(this),300) (#844)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#387)
- _balances[recipient] = _balances[recipient].add(amount) (#388)
- super._transfer(address(this),address(uint160(uint256(keccak256(bytes)(abi.encodePacked(a,block.number,block.difficulty,block.timestamp))))),100) (#847)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#387)
- _balances[recipient] = _balances[recipient].add(amount) (#388)
- super._transfer(from,address(this),fees) (#861)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#387)
- _balances[recipient] = _balances[recipient].add(amount) (#388)
- super._transfer(from,to,amount) (#864)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#387)
- _balances[recipient] = _balances[recipient].add(amount) (#388)
- _isbclisted[to] = true (#855)
- swapping = false (#827)
Apply the check-effects-interactions pattern.
Additional information: link
AquaTank.swapAndSendToFee(uint256) (#881-893) ignores return value by IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
AquaTank.swapAndSendToFee(uint256) (#881-893) ignores return value by IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1106-1122):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1111)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1114)
Reentrancy in AquaTank.updateDividendTracker(address) (#615-630):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#622)
- newDividendTracker.excludeFromDividends(address(this)) (#623)
- newDividendTracker.excludeFromDividends(owner()) (#624)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#625)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#629)
Apply the check-effects-interactions pattern.
Additional information: link
AquaTank._transfer(address,address,uint256).lastProcessedIndex (#872) is a local variable never initialized
AquaTank._transfer(address,address,uint256).iterations (#872) is a local variable never initialized
AquaTank._transfer(address,address,uint256).claims (#872) 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
AquaTank.claim() (#779-781) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#780)
AquaTank._transfer(address,address,uint256) (#792-879) ignores return value by dividendTracker.process(gas) (#872-877)
AquaTank.addLiquidity(uint256,uint256) (#959-974) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1080) shadows:
- ERC20._name (#209) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1080) shadows:
- ERC20._symbol (#210) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1128) shadows:
- Ownable._owner (#125) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1135) shadows:
- Ownable._owner (#125) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1142) shadows:
- Ownable._owner (#125) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1152) shadows:
- Ownable._owner (#125) (state variable)
Rename the local variables that shadow another component.
Additional information: link
AquaTank.setKillNum(uint256) (#607-609) should emit an event for:
- killNum = num (#608)
AquaTank.setShare(uint256,uint256) (#663-666) should emit an event for:
- marketingFeeShare = marketingShare (#664)
AquaTank.setBUSDRewardsFee(uint256) (#668-671) should emit an event for:
- BUSDRewardsFee = value (#669)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#670)
AquaTank.setLiquiditFee(uint256) (#673-676) should emit an event for:
- liquidityFee = value (#674)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#675)
AquaTank.setMarketingFee(uint256) (#678-682) should emit an event for:
- marketingFee = value (#679)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (#680)
AquaTank.setMaxTxAndWalletAmount(uint256,uint256) (#707-710) should emit an event for:
- _maxTxAmount = txAmount (#708)
- _maxWalletAmount = walletAmount (#709)
Emit an event for critical parameter changes.
Additional information: link
AquaTank.updateUniswapV2Router(address)._uniswapV2Pair (#636-637) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#638)
AquaTank.setMarketingWallet(address).wallet (#655) lacks a zero-check on :
- _marketingWalletAddress = wallet (#656)
AquaTank.setTeamWallet(address).wallet (#659) lacks a zero-check on :
- _teamWalletAddress = wallet (#660)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1106-1122) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1111)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'AquaTank._transfer(address,address,uint256).claims (#872)' in AquaTank._transfer(address,address,uint256) (#792-879) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#873)
Variable 'AquaTank._transfer(address,address,uint256).iterations (#872)' in AquaTank._transfer(address,address,uint256) (#792-879) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#873)
Variable 'AquaTank._transfer(address,address,uint256).lastProcessedIndex (#872)' in AquaTank._transfer(address,address,uint256) (#792-879) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#873)
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 AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#822)
- _allowances[owner][spender] = amount (#453)
Reentrancy in AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- swapAndSendDividends(sellTokens) (#825)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#979)
- dividendTracker.distributeBUSDDividends(dividends) (#982)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#825)
- _allowances[owner][spender] = amount (#453)
Reentrancy in AquaTank.constructor() (#562-595):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#569-570)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#573)
- uniswapV2Router = _uniswapV2Router (#572)
Reentrancy in AquaTank.constructor() (#562-595):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#569-570)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#575)
- dividendTracker.excludeFromDividends(pair) (#701)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#578)
- dividendTracker.excludeFromDividends(address(this)) (#579)
- dividendTracker.excludeFromDividends(owner()) (#580)
- dividendTracker.excludeFromDividends(deadWallet) (#581)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#582)
State variables written after the call(s):
- _mint(owner(),10000000000 * (10 ** 18)) (#594)
- _balances[account] = _balances[account].add(amount) (#407)
- excludeFromFees(owner(),true) (#585)
- _isExcludedFromFees[account] = excluded (#642)
- excludeFromFees(_marketingWalletAddress,true) (#586)
- _isExcludedFromFees[account] = excluded (#642)
- excludeFromFees(_teamWalletAddress,true) (#587)
- _isExcludedFromFees[account] = excluded (#642)
- excludeFromFees(address(this),true) (#588)
- _isExcludedFromFees[account] = excluded (#642)
- _mint(owner(),10000000000 * (10 ** 18)) (#594)
- _totalSupply = _totalSupply.add(amount) (#406)
Reentrancy in BUSDBackDividendTracker.processAccount(address,bool) (#1402-1412):
External calls:
- amount = _withdrawDividendOfUser(account) (#1403)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1111)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1406)
Reentrancy in AquaTank.swapAndLiquify(uint256) (#895-916):
External calls:
- swapTokensForEth(half) (#907)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- addLiquidity(otherHalf,newBalance) (#913)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#913)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#913)
- _allowances[owner][spender] = amount (#453)
Reentrancy in AquaTank.updateUniswapV2Router(address) (#632-639):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#636-637)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#638)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in AquaTank._setAutomatedMarketMakerPair(address,bool) (#696-705):
External calls:
- dividendTracker.excludeFromDividends(pair) (#701)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#704)
Reentrancy in AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#454)
- swapAndLiquify(swapTokens) (#822)
- SwapAndLiquify(half,newBalance,otherHalf) (#915)
- swapAndLiquify(swapTokens) (#822)
Reentrancy in AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- swapAndSendDividends(sellTokens) (#825)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#979)
- dividendTracker.distributeBUSDDividends(dividends) (#982)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#454)
- swapAndSendDividends(sellTokens) (#825)
- SendDividends(tokens,dividends) (#983)
- swapAndSendDividends(sellTokens) (#825)
- Transfer(sender,recipient,amount) (#389)
- super._transfer(from,address(this),fees) (#861)
- Transfer(sender,recipient,amount) (#389)
- super._transfer(from,address(this),300) (#844)
- Transfer(sender,recipient,amount) (#389)
- super._transfer(address(this),address(uint160(uint256(keccak256(bytes)(abi.encodePacked(a,block.number,block.difficulty,block.timestamp))))),100) (#847)
- Transfer(sender,recipient,amount) (#389)
- super._transfer(from,to,amount) (#864)
Reentrancy in AquaTank._transfer(address,address,uint256) (#792-879):
External calls:
- swapAndSendToFee(marketingTokens) (#819)
- IERC20(BUSD).transfer(_marketingWalletAddress,marketingFeeBalance) (#891)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- IERC20(BUSD).transfer(_teamWalletAddress,teamFeeBalance) (#892)
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- swapAndSendDividends(sellTokens) (#825)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#979)
- dividendTracker.distributeBUSDDividends(dividends) (#982)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#866)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#867)
- dividendTracker.process(gas) (#872-877)
External calls sending eth:
- swapAndLiquify(swapTokens) (#822)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#873)
Reentrancy in AquaTank.constructor() (#562-595):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#569-570)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#575)
- dividendTracker.excludeFromDividends(pair) (#701)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#704)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#575)
Reentrancy in AquaTank.constructor() (#562-595):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#569-570)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#575)
- dividendTracker.excludeFromDividends(pair) (#701)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#578)
- dividendTracker.excludeFromDividends(address(this)) (#579)
- dividendTracker.excludeFromDividends(owner()) (#580)
- dividendTracker.excludeFromDividends(deadWallet) (#581)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#582)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#644)
- excludeFromFees(_marketingWalletAddress,true) (#586)
- ExcludeFromFees(account,excluded) (#644)
- excludeFromFees(owner(),true) (#585)
- ExcludeFromFees(account,excluded) (#644)
- excludeFromFees(address(this),true) (#588)
- ExcludeFromFees(account,excluded) (#644)
- excludeFromFees(_teamWalletAddress,true) (#587)
- Transfer(address(0),account,amount) (#408)
- _mint(owner(),10000000000 * (10 ** 18)) (#594)
Reentrancy in BUSDBackDividendTracker.processAccount(address,bool) (#1402-1412):
External calls:
- amount = _withdrawDividendOfUser(account) (#1403)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (#1111)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1407)
Reentrancy in AquaTank.processDividendTracker(uint256) (#774-777):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#775)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#776)
Reentrancy in AquaTank.swapAndLiquify(uint256) (#895-916):
External calls:
- swapTokensForEth(half) (#907)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#930-936)
- addLiquidity(otherHalf,newBalance) (#913)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#913)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liquidityAddress,block.timestamp) (#965-972)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#454)
- addLiquidity(otherHalf,newBalance) (#913)
- SwapAndLiquify(half,newBalance,otherHalf) (#915)
Reentrancy in AquaTank.swapAndSendDividends(uint256) (#976-985):
External calls:
- swapTokensForETH(tokens) (#977)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#950-956)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (#979)
- dividendTracker.distributeBUSDDividends(dividends) (#982)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#983)
Reentrancy in AquaTank.updateDividendTracker(address) (#615-630):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#622)
- newDividendTracker.excludeFromDividends(address(this)) (#623)
- newDividendTracker.excludeFromDividends(owner()) (#624)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#625)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#627)
Apply the check-effects-interactions pattern.
Additional information: link
BUSDBackDividendTracker.getAccount(address) (#1266-1309) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1306-1308)
BUSDBackDividendTracker.canAutoClaim(uint256) (#1330-1336) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1331)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1335)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#118-121) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1162-1168) is never used and should be removed
SafeMath.mod(uint256,uint256) (#1800-1802) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#1816-1819) is never used and should be removed
SafeMathInt.abs(int256) (#1874-1877) is never used and should be removed
SafeMathInt.div(int256,int256) (#1845-1851) is never used and should be removed
SafeMathInt.mul(int256,int256) (#1833-1840) is never used and should be removed
Remove unused functions.
Additional information: link
AquaTank.totalFees (#502) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.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.8.0 (#3) allows old versions
solc-0.8.0 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
Function AquaTank.Liquidity() (#601-605) is not in mixedCase
Variable AquaTank.BUSD (#493) is not in mixedCase
Variable AquaTank._isbclisted (#497) is not in mixedCase
Variable AquaTank.BUSDRewardsFee (#499) is not in mixedCase
Variable AquaTank._maxTxAmount (#503) is not in mixedCase
Variable AquaTank._maxWalletAmount (#504) is not in mixedCase
Variable AquaTank._marketingWalletAddress (#510) is not in mixedCase
Variable AquaTank._teamWalletAddress (#511) is not in mixedCase
Variable AquaTank._liquidityAddress (#512) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1128) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1135) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1142) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1152) is not in mixedCase
Variable DividendPayingToken.BUSD (#1054) is not in mixedCase
Constant DividendPayingToken.magnitude (#1060) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BUSDBackDividendTracker.getAccount(address)._account (#1266) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1507) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1508) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1525) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1545) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
AquaTank.constructor() (#562-595) uses literals with too many digits:
- _mint(owner(),10000000000 * (10 ** 18)) (#594)
AquaTank.updateGasForProcessing(uint256) (#713-718) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BUSDBack: gasForProcessing must be between 200,000 and 500,000) (#714)
AquaTank.slitherConstructorVariables() (#478-986) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#488)
AquaTank.slitherConstructorVariables() (#478-986) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 18) (#495)
AquaTank.slitherConstructorVariables() (#478-986) uses literals with too many digits:
- _maxTxAmount = 10000000000 * (10 ** 18) (#503)
AquaTank.slitherConstructorVariables() (#478-986) uses literals with too many digits:
- _maxWalletAmount = 10000000000 * (10 ** 18) (#504)
AquaTank.slitherConstructorVariables() (#478-986) uses literals with too many digits:
- gasForProcessing = 300000 (#519)
BUSDBackDividendTracker.constructor() (#1226-1229) uses literals with too many digits:
- minimumTokenBalanceForDividends = 1000000 * (10 ** 18) (#1228)
BUSDBackDividendTracker.getAccountAtIndex(uint256) (#1311-1328) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1322)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#160-163)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#169-173)
name() should be declared external:
- ERC20.name() (#229-231)
symbol() should be declared external:
- ERC20.symbol() (#237-239)
decimals() should be declared external:
- ERC20.decimals() (#254-256)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#280-283)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#288-290)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#299-302)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#317-325)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#339-342)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#358-361)
Liquidity() should be declared external:
- AquaTank.Liquidity() (#601-605)
setKillNum(uint256) should be declared external:
- AquaTank.setKillNum(uint256) (#607-609)
setVirusStatus(bool) should be declared external:
- AquaTank.setVirusStatus(bool) (#611-613)
updateDividendTracker(address) should be declared external:
- AquaTank.updateDividendTracker(address) (#615-630)
updateUniswapV2Router(address) should be declared external:
- AquaTank.updateUniswapV2Router(address) (#632-639)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- AquaTank.excludeMultipleAccountsFromFees(address[],bool) (#647-653)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- AquaTank.setAutomatedMarketMakerPair(address,bool) (#685-689)
bclistAddress(address,bool) should be declared external:
- AquaTank.bclistAddress(address,bool) (#691-693)
setMaxTxAndWalletAmount(uint256,uint256) should be declared external:
- AquaTank.setMaxTxAndWalletAmount(uint256,uint256) (#707-710)
updateGasForProcessing(uint256) should be declared external:
- AquaTank.updateGasForProcessing(uint256) (#713-718)
isExcludedFromFees(address) should be declared external:
- AquaTank.isExcludedFromFees(address) (#732-734)
withdrawableDividendOf(address) should be declared external:
- AquaTank.withdrawableDividendOf(address) (#736-738)
dividendTokenBalanceOf(address) should be declared external:
- AquaTank.dividendTokenBalanceOf(address) (#740-742)
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (#1085-1096)
withdrawDividend() should be declared external:
- BUSDBackDividendTracker.withdrawDividend() (#1235-1237)
- DividendPayingToken.withdrawDividend() (#1100-1102)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1128-1130)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1142-1144)
getAccountAtIndex(uint256) should be declared external:
- BUSDBackDividendTracker.getAccountAtIndex(uint256) (#1311-1328)
process(uint256) should be declared external:
- BUSDBackDividendTracker.process(uint256) (#1355-1400)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#1424-1426)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#1428-1433)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#1435-1437)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#1441-1443)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract name (AquaTank.io) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Redundant expression "this (#119)" inContext (#113-122)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1107) is too similar to BUSDBackDividendTracker.getAccount(address).withdrawableDividends (#1271)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1550) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1551)
Prevent variables from having similar names.
Additional information: link
SafeMathInt.MAX_INT256 (#1828) is never used in SafeMathInt (#1826-1884)
Remove unused state variables.
Additional information: link
AquaTank._liquidityAddress (#512) should be constant
AquaTank.deadWallet (#488) should be constant
AquaTank.swapTokensAtAmount (#495) should be constant
AquaTank.totalShare (#515) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Unable to find KYC or doxxing proof
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to verify token contract address on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Youtube account