SeaChain is a decentralized, community-driven ecosystem funding trash barriers in the most polluted rivers, with a goal to build a sustainable blockchain network that will provide transparent verification solutions for the plastic economy supply chain.
SeaChain.addLiquidity(uint256,uint256) (#1188-1203) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SeaChain._transfer(address,address,uint256) (#1077-1115):
External calls:
- swapAndLiquify(contractTokenBalance) (#1102)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1102)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
- charity().transfer(balanceToCharity) (#1149)
- marketing().transfer(balanceToMarketing) (#1150)
- governance().transfer(balancetoGovernance) (#1151)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1114)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1027)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1229)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1238)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#955)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1249)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1230)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1240)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1250)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#957)
- _tokenTransfer(from,to,amount,takeFee) (#1114)
- _rTotal = _rTotal.sub(rFee) (#982)
- _tokenTransfer(from,to,amount,takeFee) (#1114)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1029)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1248)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#954)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1239)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#956)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
SeaChain.addLiquidity(uint256,uint256) (#1188-1203) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
Ensure that all the return values of the function calls are used.
Additional information: link
SeaChain._approve(address,address,uint256).owner (#1069) shadows:
- Ownable.owner() (#426-428) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable.setCharityAddress(address) (#492-495) should emit an event for:
- charityWallet = charityAddress (#494)
Emit an event for critical parameter changes.
Additional information: link
Ownable.setLockedLiquidityAddress(address).liquidityAddress (#507) lacks a zero-check on :
- _lockedLiquidity = liquidityAddress (#509)
Check that the address is not zero.
Additional information: link
Reentrancy in SeaChain.upgradeRouterVersion(address) (#1256-1270):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1263-1264)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1266)
- uniswapV2Router = _uniswapV2Router (#1268)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SeaChain.transferFrom(address,address,uint256) (#852-856):
External calls:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1178-1184)
External calls sending eth:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
- charity().transfer(balanceToCharity) (#1149)
- marketing().transfer(balanceToMarketing) (#1150)
- governance().transfer(balancetoGovernance) (#1151)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1074)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#854)
Apply the check-effects-interactions pattern.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#368-389) uses assembly
- INLINE ASM (#381-384)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#236-239) is never used and should be removed
Remove unused functions.
Additional information: link
SeaChain._previousLiquidityFee (#761) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#368-389):
- (success,returndata) = target.call{value: weiValue}(data) (#372)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SeaChain._liquidityFee (#755) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#248)" inContext (#242-251)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in SeaChain.transferFrom(address,address,uint256) (#852-856):
External calls:
- _transfer(sender,recipient,amount) (#853)
- charity().transfer(balanceToCharity) (#1149)
- marketing().transfer(balanceToMarketing) (#1150)
- governance().transfer(balancetoGovernance) (#1151)
External calls sending eth:
- _transfer(sender,recipient,amount) (#853)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lockedLiquidity(),block.timestamp) (#1194-1201)
- charity().transfer(balanceToCharity) (#1149)
- marketing().transfer(balanceToMarketing) (#1150)
- governance().transfer(balancetoGovernance) (#1151)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#854)
- _allowances[owner][spender] = amount (#1073)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1074)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#854)
Apply the check-effects-interactions pattern.
Additional information: link
Variable SeaChain._transferBothExcluded(address,address,uint256).rTransferAmount (#953) is too similar to SeaChain._getValues(uint256).tTransferAmount (#987)
Prevent variables from having similar names.
Additional information: link
SeaChain.slitherConstructorVariables() (#728-1272) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 5000000 * 10 ** 9 (#771)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SeaChain._tTotal (#744) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
upgradeRouterVersion(address) should be declared external:
- SeaChain.upgradeRouterVersion(address) (#1256-1270)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
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 number of swaps.
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account