A crypto project to raise money and clean the ocean. Our goal is to remove over 90% of floating ocean plastic.
We give 5% of the transactions to holders and 5% are added to the locked liquidity automatically.
We built this token on Binance Smart Chain so people can buy CLEANOCEAN with cheaper gas fees compared to other tokens built on the Ethereum network.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CleanOcean.addLiquidity(uint256,uint256) (CleanOcean.sol#805-816) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CleanOcean._transfer(address,address,uint256) (CleanOcean.sol#683-756):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- swapForFee() (CleanOcean.sol#716)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (CleanOcean.sol#618)
- _rOwned[_devWalletAddress] = _rOwned[_devWalletAddress].add(rdev) (CleanOcean.sol#635)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarket) (CleanOcean.sol#627)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (CleanOcean.sol#846)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (CleanOcean.sol#835)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (CleanOcean.sol#859)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (CleanOcean.sol#435)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (CleanOcean.sol#836)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (CleanOcean.sol#860)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (CleanOcean.sol#848)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (CleanOcean.sol#437)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _rTotal = _rTotal.sub(rFee) (CleanOcean.sol#569)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (CleanOcean.sol#620)
- _tOwned[_devWalletAddress] = _tOwned[_devWalletAddress].add(tdev) (CleanOcean.sol#637)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarket) (CleanOcean.sol#629)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (CleanOcean.sol#434)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (CleanOcean.sol#858)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (CleanOcean.sol#847)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (CleanOcean.sol#436)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- marketFeesCollected += tMarket (CleanOcean.sol#626)
Apply the check-effects-interactions pattern.
Additional information: link
CleanOcean.withdrawalToken(address,uint256,address) (CleanOcean.sol#883-887) ignores return value by token.transfer(to,_amount) (CleanOcean.sol#885)
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.
Contract ownership is not renounced (belongs to a wallet)
CleanOcean.addLiquidity(uint256,uint256) (CleanOcean.sol#805-816) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Ensure that all the return values of the function calls are used.
Additional information: link
CleanOcean.allowance(address,address).owner (CleanOcean.sol#360) shadows:
- Ownable.owner() (Ownable.sol#34-36) (function)
CleanOcean._approve(address,address,uint256).owner (CleanOcean.sol#675) shadows:
- Ownable.owner() (Ownable.sol#34-36) (function)
Rename the local variables that shadow another component.
Additional information: link
CleanOcean.setBuyTaxFeePercent(uint256) (CleanOcean.sol#453-456) should emit an event for:
- _buyTaxFee = taxFee (CleanOcean.sol#454)
CleanOcean.setBuyDevFeePercent(uint256) (CleanOcean.sol#458-461) should emit an event for:
- _buyDevFee = devFee (CleanOcean.sol#459)
CleanOcean.setBuyLiquidityFeePercent(uint256) (CleanOcean.sol#463-466) should emit an event for:
- _buyLiquidityFee = liquidityFee (CleanOcean.sol#464)
CleanOcean.setBuyMarketFeePercent(uint256) (CleanOcean.sol#468-471) should emit an event for:
- _buyMarketFee = marketFee (CleanOcean.sol#469)
CleanOcean.setSellTaxFeePercent(uint256) (CleanOcean.sol#473-476) should emit an event for:
- _sellTaxFee = taxFee (CleanOcean.sol#474)
CleanOcean.setSellDevFeePercent(uint256) (CleanOcean.sol#478-481) should emit an event for:
- _sellDevFee = devFee (CleanOcean.sol#479)
CleanOcean.setSellLiquidityFeePercent(uint256) (CleanOcean.sol#483-486) should emit an event for:
- _sellLiquidityFee = liquidityFee (CleanOcean.sol#484)
CleanOcean.setSellMarketFeePercent(uint256) (CleanOcean.sol#488-491) should emit an event for:
- _sellMarketFee = marketFee (CleanOcean.sol#489)
CleanOcean.setMaxTxPercent(uint256) (CleanOcean.sol#493-497) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (CleanOcean.sol#494-496)
CleanOcean.setMarketFeesCollected(uint256) (CleanOcean.sol#879-881) should emit an event for:
- marketFeesCollected = _marketFeesCollected (CleanOcean.sol#880)
Emit an event for critical parameter changes.
Additional information: link
CleanOcean.constructor(address,address,address).devWallet (CleanOcean.sol#315) lacks a zero-check on :
- _devWalletAddress = devWallet (CleanOcean.sol#321)
CleanOcean.constructor(address,address,address).liqWallet (CleanOcean.sol#315) lacks a zero-check on :
- _liqWalletAddress = liqWallet (CleanOcean.sol#322)
CleanOcean.constructor(address,address,address).marketWallet (CleanOcean.sol#315) lacks a zero-check on :
- _marketWalletAddress = marketWallet (CleanOcean.sol#323)
CleanOcean.withdrawalBNB(uint256,address).to (CleanOcean.sol#889) lacks a zero-check on :
- address(to).transfer(_amount) (CleanOcean.sol#891)
Check that the address is not zero.
Additional information: link
Reentrancy in CleanOcean._setRouter(address) (CleanOcean.sol#554-562):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (CleanOcean.sol#558)
State variables written after the call(s):
- setIsPair(uniswapV2Pair,true) (CleanOcean.sol#560)
- _isPair[_address] = value (CleanOcean.sol#869)
- uniswapV2Router = _uniswapV2Router (CleanOcean.sol#559)
Reentrancy in CleanOcean._transfer(address,address,uint256) (CleanOcean.sol#683-756):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- swapForFee() (CleanOcean.sol#716)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
State variables written after the call(s):
- _devFee = _buyDevFee (CleanOcean.sol#741)
- _devFee = _sellDevFee (CleanOcean.sol#749)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _devFee = 0 (CleanOcean.sol#666)
- _liquidityFee = _buyLiquidityFee (CleanOcean.sol#742)
- _liquidityFee = _sellLiquidityFee (CleanOcean.sol#750)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _liquidityFee = 0 (CleanOcean.sol#667)
- _marketFee = _buyMarketFee (CleanOcean.sol#743)
- _marketFee = _sellMarketFee (CleanOcean.sol#751)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _marketFee = 0 (CleanOcean.sol#668)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _tFeeTotal = _tFeeTotal.add(tFee) (CleanOcean.sol#570)
- _taxFee = _buyTaxFee (CleanOcean.sol#740)
- _taxFee = _sellTaxFee (CleanOcean.sol#748)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- _taxFee = 0 (CleanOcean.sol#665)
Reentrancy in CleanOcean.constructor(address,address,address) (CleanOcean.sol#315-332):
External calls:
- _setRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (CleanOcean.sol#318)
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (CleanOcean.sol#558)
State variables written after the call(s):
- _devWalletAddress = devWallet (CleanOcean.sol#321)
- _isExcludedFromFee[owner()] = true (CleanOcean.sol#326)
- _isExcludedFromFee[devWallet] = true (CleanOcean.sol#327)
- _isExcludedFromFee[liqWallet] = true (CleanOcean.sol#328)
- _isExcludedFromFee[address(this)] = true (CleanOcean.sol#329)
- _liqWalletAddress = liqWallet (CleanOcean.sol#322)
- _marketWalletAddress = marketWallet (CleanOcean.sol#323)
- _rOwned[owner()] = _rTotal (CleanOcean.sol#320)
Reentrancy in CleanOcean.swapAndLiquify(uint256) (CleanOcean.sol#758-766):
External calls:
- swapTokensForEth(half) (CleanOcean.sol#762)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- _allowances[owner][spender] = amount (CleanOcean.sol#679)
Reentrancy in CleanOcean.swapForFee() (CleanOcean.sol#768-775):
External calls:
- swapTokensForTokens(numTokensForMarketSell,_marketWalletAddress) (CleanOcean.sol#772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
State variables written after the call(s):
- marketFeesCollected = marketFeesCollected.sub(numTokensForMarketSell) (CleanOcean.sol#774)
Reentrancy in CleanOcean.transferFrom(address,address,uint256) (CleanOcean.sol#369-373):
External calls:
- _transfer(sender,recipient,amount) (CleanOcean.sol#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
External calls sending eth:
- _transfer(sender,recipient,amount) (CleanOcean.sol#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (CleanOcean.sol#371)
- _allowances[owner][spender] = amount (CleanOcean.sol#679)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CleanOcean._setRouter(address) (CleanOcean.sol#554-562):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (CleanOcean.sol#558)
Event emitted after the call(s):
- RouterSet(_router) (CleanOcean.sol#561)
- SetIsPair(_address,value) (CleanOcean.sol#870)
- setIsPair(uniswapV2Pair,true) (CleanOcean.sol#560)
Reentrancy in CleanOcean._transfer(address,address,uint256) (CleanOcean.sol#683-756):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- swapForFee() (CleanOcean.sol#716)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (CleanOcean.sol#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (CleanOcean.sol#841)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- Transfer(sender,recipient,tTransferAmount) (CleanOcean.sol#853)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- Transfer(sender,recipient,tTransferAmount) (CleanOcean.sol#865)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
- Transfer(sender,recipient,tTransferAmount) (CleanOcean.sol#442)
- _tokenTransfer(from,to,amount,takeFee) (CleanOcean.sol#755)
Reentrancy in CleanOcean.addLiquidity(uint256,uint256) (CleanOcean.sol#805-816):
External calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Event emitted after the call(s):
- Transfer(address(this),uniswapV2Pair,tokenAmount) (CleanOcean.sol#815)
Reentrancy in CleanOcean.constructor(address,address,address) (CleanOcean.sol#315-332):
External calls:
- _setRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E) (CleanOcean.sol#318)
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (CleanOcean.sol#558)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (CleanOcean.sol#331)
Reentrancy in CleanOcean.swapAndLiquify(uint256) (CleanOcean.sol#758-766):
External calls:
- swapTokensForEth(half) (CleanOcean.sol#762)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Event emitted after the call(s):
- Approval(owner,spender,amount) (CleanOcean.sol#680)
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
- SwapAndLiquify(half,newBalance,otherHalf) (CleanOcean.sol#765)
- Transfer(address(this),uniswapV2Pair,tokenAmount) (CleanOcean.sol#815)
- addLiquidity(otherHalf,newBalance) (CleanOcean.sol#764)
Reentrancy in CleanOcean.swapForFee() (CleanOcean.sol#768-775):
External calls:
- swapTokensForTokens(numTokensForMarketSell,_marketWalletAddress) (CleanOcean.sol#772)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
Event emitted after the call(s):
- SwapForFee(numTokensForMarketSell) (CleanOcean.sol#773)
Reentrancy in CleanOcean.transferFrom(address,address,uint256) (CleanOcean.sol#369-373):
External calls:
- _transfer(sender,recipient,amount) (CleanOcean.sol#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (CleanOcean.sol#782-788)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp) (CleanOcean.sol#796-802)
External calls sending eth:
- _transfer(sender,recipient,amount) (CleanOcean.sol#370)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWalletAddress,block.timestamp) (CleanOcean.sol#807-814)
Event emitted after the call(s):
- Approval(owner,spender,amount) (CleanOcean.sol#680)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (CleanOcean.sol#371)
Reentrancy in CleanOcean.withdrawalToken(address,uint256,address) (CleanOcean.sol#883-887):
External calls:
- token.transfer(to,_amount) (CleanOcean.sol#885)
Event emitted after the call(s):
- WithdrawalToken(_tokenAddr,_amount,to) (CleanOcean.sol#886)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (Address.sol#26-36) uses assembly
- INLINE ASM (Address.sol#32-34)
Address.verifyCallResult(bool,bytes,string) (Address.sol#195-215) uses assembly
- INLINE ASM (Address.sol#207-210)
Do not use evm assembly.
Additional information: link
CleanOcean.includeInReward(address) (CleanOcean.sol#419-430) has costly operations inside a loop:
- _excluded.pop() (CleanOcean.sol#426)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (Address.sol#79-81) is never used and should be removed
Address.functionCall(address,bytes,string) (Address.sol#89-95) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (Address.sol#108-114) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#122-133) is never used and should be removed
Address.functionDelegateCall(address,bytes) (Address.sol#168-170) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (Address.sol#178-187) is never used and should be removed
Address.functionStaticCall(address,bytes) (Address.sol#141-143) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (Address.sol#151-160) is never used and should be removed
Address.sendValue(address,uint256) (Address.sol#54-59) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (Address.sol#195-215) is never used and should be removed
Context._msgData() (Context.sol#20-22) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#190-199) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#150-152) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#216-225) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (SafeMath.sol#21-27) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (SafeMath.sol#63-68) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (SafeMath.sol#75-80) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (SafeMath.sol#46-56) is never used and should be removed
SafeMath.trySub(uint256,uint256) (SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (Address.sol#54-59):
- (success) = recipient.call{value: amount}() (Address.sol#57)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (Address.sol#122-133):
- (success,returndata) = target.call{value: value}(data) (Address.sol#131)
Low level call in Address.functionStaticCall(address,bytes,string) (Address.sol#151-160):
- (success,returndata) = target.staticcall(data) (Address.sol#158)
Low level call in Address.functionDelegateCall(address,bytes,string) (Address.sol#178-187):
- (success,returndata) = target.delegatecall(data) (Address.sol#185)
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() (CleanOcean.sol#42) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (CleanOcean.sol#43) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (CleanOcean.sol#60) is not in mixedCase
Function IUniswapV2Router01.WETH() (CleanOcean.sol#80) is not in mixedCase
Event CleanOceannumTokensSellToAddToLiquidityUpdated(uint256) (CleanOcean.sol#286) is not in CapWords
Event CleanOceannumTokensForMarketSellUpdated(uint256) (CleanOcean.sol#287) is not in CapWords
Parameter CleanOcean.setSwapAndLiquifyEnabled(bool)._enabled (CleanOcean.sol#499) is not in mixedCase
Parameter CleanOcean.setSwapEnabled(bool)._enabled (CleanOcean.sol#504) is not in mixedCase
Parameter CleanOcean.setDevWalletAddress(address)._address (CleanOcean.sol#509) is not in mixedCase
Parameter CleanOcean.setLiqWalletAddress(address)._address (CleanOcean.sol#515) is not in mixedCase
Parameter CleanOcean.setMarketingWalletAddress(address)._address (CleanOcean.sol#521) is not in mixedCase
Parameter CleanOcean.setNumTokensSellToAddToLiquidity(uint256)._amount (CleanOcean.sol#527) is not in mixedCase
Parameter CleanOcean.setNumTokensForMarketSell(uint256)._amount (CleanOcean.sol#533) is not in mixedCase
Parameter CleanOcean.setContractFeesEnabled(bool)._bool (CleanOcean.sol#539) is not in mixedCase
Parameter CleanOcean.setFeeToken(address)._address (CleanOcean.sol#550) is not in mixedCase
Parameter CleanOcean.setRouter(address)._router (CleanOcean.sol#564) is not in mixedCase
Parameter CleanOcean.calculateTaxFee(uint256)._amount (CleanOcean.sol#640) is not in mixedCase
Parameter CleanOcean.calculateDevFee(uint256)._amount (CleanOcean.sol#646) is not in mixedCase
Parameter CleanOcean.calculateLiquidityFee(uint256)._amount (CleanOcean.sol#652) is not in mixedCase
Parameter CleanOcean.calculateMarketFee(uint256)._amount (CleanOcean.sol#658) is not in mixedCase
Parameter CleanOcean.setIsPair(address,bool)._address (CleanOcean.sol#868) is not in mixedCase
Parameter CleanOcean.setIsBanned(address,bool)._address (CleanOcean.sol#873) is not in mixedCase
Parameter CleanOcean.setMarketFeesCollected(uint256)._marketFeesCollected (CleanOcean.sol#879) is not in mixedCase
Parameter CleanOcean.withdrawalToken(address,uint256,address)._tokenAddr (CleanOcean.sol#883) is not in mixedCase
Parameter CleanOcean.withdrawalToken(address,uint256,address)._amount (CleanOcean.sol#883) is not in mixedCase
Parameter CleanOcean.withdrawalBNB(uint256,address)._amount (CleanOcean.sol#889) is not in mixedCase
Variable CleanOcean._isPair (CleanOcean.sol#226) is not in mixedCase
Variable CleanOcean._isBanned (CleanOcean.sol#229) is not in mixedCase
Constant CleanOcean._tTotal (CleanOcean.sol#232) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CleanOcean._name (CleanOcean.sol#236) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CleanOcean._symbol (CleanOcean.sol#237) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CleanOcean._decimals (CleanOcean.sol#238) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CleanOcean._devWalletAddress (CleanOcean.sol#244) is not in mixedCase
Variable CleanOcean._liqWalletAddress (CleanOcean.sol#245) is not in mixedCase
Variable CleanOcean._marketWalletAddress (CleanOcean.sol#246) is not in mixedCase
Variable CleanOcean._buyTaxFee (CleanOcean.sol#251) is not in mixedCase
Variable CleanOcean._buyDevFee (CleanOcean.sol#252) is not in mixedCase
Variable CleanOcean._buyLiquidityFee (CleanOcean.sol#253) is not in mixedCase
Variable CleanOcean._buyMarketFee (CleanOcean.sol#254) is not in mixedCase
Variable CleanOcean._sellTaxFee (CleanOcean.sol#257) is not in mixedCase
Variable CleanOcean._sellDevFee (CleanOcean.sol#258) is not in mixedCase
Variable CleanOcean._sellLiquidityFee (CleanOcean.sol#259) is not in mixedCase
Variable CleanOcean._sellMarketFee (CleanOcean.sol#260) is not in mixedCase
Variable CleanOcean._contractFeesEnabled (CleanOcean.sol#271) is not in mixedCase
Variable CleanOcean._maxTxAmount (CleanOcean.sol#280) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in CleanOcean.withdrawalBNB(uint256,address) (CleanOcean.sol#889-893):
External calls:
- address(to).transfer(_amount) (CleanOcean.sol#891)
Event emitted after the call(s):
- WithdrawalBNB(_amount,to) (CleanOcean.sol#892)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (CleanOcean.sol#85) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (CleanOcean.sol#86)
Variable CleanOcean._transferToExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#845) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean._transferBothExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#433) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean.reflectionFromToken(uint256,bool).rTransferAmount (CleanOcean.sol#399) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._transferStandard(address,address,uint256).rTransferAmount (CleanOcean.sol#834) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean._transferFromExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#857) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean._transferToExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#845) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._transferToExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#845) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._transferBothExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#433) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._transferStandard(address,address,uint256).rTransferAmount (CleanOcean.sol#834) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._transferStandard(address,address,uint256).rTransferAmount (CleanOcean.sol#834) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean.reflectionFromToken(uint256,bool).rTransferAmount (CleanOcean.sol#399) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._transferToExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#845) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (CleanOcean.sol#594) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean._transferBothExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#433) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._transferToExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#845) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean._transferStandard(address,address,uint256).rTransferAmount (CleanOcean.sol#834) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._transferStandard(address,address,uint256).rTransferAmount (CleanOcean.sol#834) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean.reflectionFromToken(uint256,bool).rTransferAmount (CleanOcean.sol#399) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean.reflectionFromToken(uint256,bool).rTransferAmount (CleanOcean.sol#399) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean._getValues(uint256).rTransferAmount (CleanOcean.sol#575) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._getValues(uint256).rTransferAmount (CleanOcean.sol#575) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._getValues(uint256).rTransferAmount (CleanOcean.sol#575) is too similar to CleanOcean._transferFromExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#857)
Variable CleanOcean._transferFromExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#857) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean.reflectionFromToken(uint256,bool).rTransferAmount (CleanOcean.sol#399) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._transferFromExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#857) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._transferFromExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#857) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._transferFromExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#857) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._transferBothExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#433) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean._transferBothExcluded(address,address,uint256).rTransferAmount (CleanOcean.sol#433) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (CleanOcean.sol#594) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Variable CleanOcean._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (CleanOcean.sol#594) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (CleanOcean.sol#594) is too similar to CleanOcean._transferBothExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#433)
Variable CleanOcean._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (CleanOcean.sol#594) is too similar to CleanOcean._transferStandard(address,address,uint256).tTransferAmount (CleanOcean.sol#834)
Variable CleanOcean._getValues(uint256).rTransferAmount (CleanOcean.sol#575) is too similar to CleanOcean._getTValues(uint256).tTransferAmount (CleanOcean.sol#584)
Variable CleanOcean._getValues(uint256).rTransferAmount (CleanOcean.sol#575) is too similar to CleanOcean._transferToExcluded(address,address,uint256).tTransferAmount (CleanOcean.sol#845)
Prevent variables from having similar names.
Additional information: link
excludeFromReward(address) should be declared external:
- CleanOcean.excludeFromReward(address) (CleanOcean.sol#410-417)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#61-64)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 9% buy tax and 13% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Token is deployed only at one blockchain
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Token has no active CoinMarketCap listing / rank
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid