Secured Ship is a NFT Gaming platform built on Binance Smart Chain.
SecuredShip.swapETHForTokens(uint256) (#1193-1207) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
SecuredShip.addLiquidity(uint256,uint256) (#1259-1272) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SecuredShip._transfer(address,address,uint256) (#1097-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
State variables written after the call(s):
- _amountTokensLastSold = 0 (#1155)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1038)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1297)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1306)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1298)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#900)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1317)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1318)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1308)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#902)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _rTotal = _rTotal.sub(rFee) (#993)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1040)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#899)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1316)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1307)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#901)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _totalFee = _previousTotalFee (#1082)
- _totalFee = 0 (#1077)
- buyBackTokens(buyBackAmount) (#1154)
- inSwapAndLiquify = true (#743)
- inSwapAndLiquify = false (#745)
Reentrancy in SecuredShip._transfer(address,address,uint256) (#1097-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
State variables written after the call(s):
- _amountTokensLastSold = 0 (#1157)
Apply the check-effects-interactions pattern.
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.
Redundant expression "this (#252)" inContext (#246-255)
Remove redundant statements if they congest code but offer no value.
Additional information: link
SecuredShip.includeInReward(address) (#885-896) has costly operations inside a loop:
- _excluded.pop() (#892)
Use a local variable to hold the loop computation result.
Additional information: link
SecuredShip._transfer(address,address,uint256) (#1097-1173) performs a multiplication on the result of a division:
-buyBackAmount = _amountTokensLastSold.div(1000).mul(_percentLastSoldToBuyBackTimesTen) (#1152)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in SecuredShip.updateRouter(address) (#1324-1335):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#1329)
State variables written after the call(s):
- uniswapV2Router = _newRouter (#1334)
Apply the check-effects-interactions pattern.
Additional information: link
SecuredShip.addLiquidity(uint256,uint256) (#1259-1272) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
Ensure that all the return values of the function calls are used.
Additional information: link
SecuredShip.allowance(address,address).owner (#805) shadows:
- Ownable.owner() (#426-428) (function)
SecuredShip._approve(address,address,uint256).owner (#1089) shadows:
- Ownable.owner() (#426-428) (function)
Rename the local variables that shadow another component.
Additional information: link
SecuredShip.openTrading(uint256) (#921-925) should emit an event for:
- deadBlocks = _deadBlocks (#922)
SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256) (#927-937) should emit an event for:
- _reflectionFee = _reflections (#928)
- _marketingFee = _marketing (#931)
- _liquidityFee = _liquidity (#932)
- _totalFee = _buyBack.add(_marketing).add(_liquidity) (#933)
- totalBuyFee = _reflections.add(_buyBack).add(_marketing).add(_liquidity) (#935)
- totalSellFee = _sellTotal (#936)
SecuredShip.setReflectionFeePercent(uint256) (#939-941) should emit an event for:
- _reflectionFee = taxFee (#940)
SecuredShip.setLiquidityFeePercent(uint256) (#943-945) should emit an event for:
- _totalFee = liquidityFee (#944)
SecuredShip.setMaxTxPercent(uint256,uint256) (#947-952) should emit an event for:
- _maxTxAmount = _tTotal.mul(_Num).div(_Den).div(10 ** 2) (#948-950)
SecuredShip.setMaxWalletPercent(uint256,uint256) (#954-959) should emit an event for:
- _maxWalletAmount = _tTotal.mul(_Num).div(_Den).div(10 ** 2) (#955-957)
Emit an event for critical parameter changes.
Additional information: link
SecuredShip.setFeeReceivers(address,address)._marketing (#978) lacks a zero-check on :
- marketingFeeReceiver = _marketing (#979)
SecuredShip.setFeeReceivers(address,address)._liquidity (#978) lacks a zero-check on :
- autoLiquidityReceiver = _liquidity (#980)
Check that the address is not zero.
Additional information: link
Reentrancy in SecuredShip._transfer(address,address,uint256) (#1097-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _previousReflectionFee = _reflectionFee (#1073)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _previousTotalFee = _totalFee (#1074)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _reflectionFee = _previousReflectionFee (#1081)
- _reflectionFee = 0 (#1076)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- _tFeeTotal = _tFeeTotal.add(tFee) (#994)
Reentrancy in SecuredShip.constructor() (#748-777):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#753-754)
State variables written after the call(s):
- _isExcludedFromFee[msg.sender] = true (#760)
- _isExcludedFromFee[address(this)] = true (#761)
- _isMaxTaxExempt[address(this)] = true (#763)
- _isMaxTaxExempt[msg.sender] = true (#764)
- _isMaxWalletExempt[msg.sender] = true (#766)
- _isTimelockExempt[address(this)] = true (#768)
- _isTimelockExempt[msg.sender] = true (#769)
- _tradingOpenExempt[msg.sender] = true (#771)
- autoLiquidityReceiver = msg.sender (#773)
- marketingFeeReceiver = msg.sender (#774)
- uniswapV2Router = _uniswapV2Router (#757)
Reentrancy in SecuredShip.swapAndLiquify(uint256) (#1213-1239):
External calls:
- swapTokensForEth(amountToSwap) (#1224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
State variables written after the call(s):
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- _allowances[owner][spender] = amount (#1093)
Reentrancy in SecuredShip.transferFrom(address,address,uint256) (#814-818):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816)
- _allowances[owner][spender] = amount (#1093)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SecuredShip._transfer(address,address,uint256) (#1097-1173):
External calls:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1147)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- buyBackTokens(buyBackAmount) (#1154)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1301)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- Transfer(sender,recipient,tTransferAmount) (#1311)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- Transfer(sender,recipient,tTransferAmount) (#1321)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
- Transfer(sender,recipient,tTransferAmount) (#905)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#1171)
Reentrancy in SecuredShip.constructor() (#748-777):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#753-754)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#776)
Reentrancy in SecuredShip.swapAndLiquify(uint256) (#1213-1239):
External calls:
- swapTokensForEth(amountToSwap) (#1224)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1094)
- addLiquidity(amountToSwap,amountBNBLiquidity) (#1236)
- SwapAndLiquify(amountToSwap,amountBNBLiquidity,amountToSwap) (#1238)
Reentrancy in SecuredShip.transferFrom(address,address,uint256) (#814-818):
External calls:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1250-1256)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
External calls sending eth:
- _transfer(sender,recipient,amount) (#815)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,autoLiquidityReceiver,block.timestamp) (#1264-1271)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,DEAD_ADDRESS,block.timestamp) (#1200-1205)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1094)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#816)
Apply the check-effects-interactions pattern.
Additional information: link
SecuredShip._transfer(address,address,uint256) (#1097-1173) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[to] < block.timestamp,Please wait for 45 sec between two buys) (#1116)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#278-287) uses assembly
- INLINE ASM (#285)
Address._functionCallWithValue(address,bytes,uint256,string) (#371-392) uses assembly
- INLINE ASM (#384-387)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#371-392) is never used and should be removed
Address.functionCall(address,bytes) (#331-333) is never used and should be removed
Address.functionCall(address,bytes,string) (#341-343) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#356-358) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#366-369) is never used and should be removed
Address.isContract(address) (#278-287) is never used and should be removed
Address.sendValue(address,uint256) (#305-311) is never used and should be removed
Context._msgData() (#251-254) is never used and should be removed
SafeMath.mod(uint256,uint256) (#224-226) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#240-243) is never used and should be removed
Remove unused functions.
Additional information: link
SecuredShip._tTotal (#686) is set pre-construction with a non-constant function or state variable:
- 1000000000 * 10 ** 6 * 10 ** _decimals
SecuredShip._rTotal (#687) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
SecuredShip._previousReflectionFee (#692) is set pre-construction with a non-constant function or state variable:
- _reflectionFee
SecuredShip._previousTotalFee (#698) is set pre-construction with a non-constant function or state variable:
- _totalFee
SecuredShip._maxTxAmount (#728) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 2 / 100
SecuredShip._maxWalletAmount (#729) is set pre-construction with a non-constant function or state variable:
- _tTotal * 3 / 2 / 100
SecuredShip.minTokensBeforeSwap (#731) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 10 / 1000000000
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.9 (#16) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#305-311):
- (success) = recipient.call{value: amount}() (#309)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#371-392):
- (success,returndata) = target.call{value: weiValue}(data) (#375)
Low level call in SecuredShip.swapAndLiquify(uint256) (#1213-1239):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#1232)
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() (#493) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#494) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#511) is not in mixedCase
Function IUniswapV2Router01.WETH() (#531) is not in mixedCase
Parameter SecuredShip.setBuyBackEnabled(bool)._enabled (#916) is not in mixedCase
Parameter SecuredShip.openTrading(uint256)._deadBlocks (#921) is not in mixedCase
Parameter SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256)._reflections (#927) is not in mixedCase
Parameter SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256)._buyBack (#927) is not in mixedCase
Parameter SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256)._marketing (#927) is not in mixedCase
Parameter SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256)._liquidity (#927) is not in mixedCase
Parameter SecuredShip.setFees(uint256,uint256,uint256,uint256,uint256)._sellTotal (#927) is not in mixedCase
Parameter SecuredShip.setMaxTxPercent(uint256,uint256)._Num (#947) is not in mixedCase
Parameter SecuredShip.setMaxTxPercent(uint256,uint256)._Den (#947) is not in mixedCase
Parameter SecuredShip.setMaxWalletPercent(uint256,uint256)._Num (#954) is not in mixedCase
Parameter SecuredShip.setMaxWalletPercent(uint256,uint256)._Den (#954) is not in mixedCase
Parameter SecuredShip.setMaxTaxExempt(address,bool)._holder (#961) is not in mixedCase
Parameter SecuredShip.setMaxTaxExempt(address,bool)._exempt (#961) is not in mixedCase
Parameter SecuredShip.setMaxWalletExempt(address,bool)._holder (#965) is not in mixedCase
Parameter SecuredShip.setMaxWalletExempt(address,bool)._exempt (#965) is not in mixedCase
Parameter SecuredShip.setIsTradingOpenExempt(address,bool)._holder (#970) is not in mixedCase
Parameter SecuredShip.setIsTradingOpenExempt(address,bool)._exempt (#970) is not in mixedCase
Parameter SecuredShip.setIsTimelockExempt(address,bool)._holder (#974) is not in mixedCase
Parameter SecuredShip.setIsTimelockExempt(address,bool)._exempt (#974) is not in mixedCase
Parameter SecuredShip.setFeeReceivers(address,address)._marketing (#978) is not in mixedCase
Parameter SecuredShip.setFeeReceivers(address,address)._liquidity (#978) is not in mixedCase
Parameter SecuredShip.setSwapAndLiquifyVar(bool,uint256)._enabled (#983) is not in mixedCase
Parameter SecuredShip.setSwapAndLiquifyVar(bool,uint256)._threshold (#983) is not in mixedCase
Parameter SecuredShip.calculateTaxFee(uint256,bool)._amount (#1043) is not in mixedCase
Parameter SecuredShip.calculateLiquidityFee(uint256,bool)._amount (#1057) is not in mixedCase
Parameter SecuredShip.manualBuyBack(uint256)._percent (#1175) is not in mixedCase
Variable SecuredShip._reflectionFee (#691) is not in mixedCase
Variable SecuredShip._buyBackFee (#694) is not in mixedCase
Variable SecuredShip._marketingFee (#695) is not in mixedCase
Variable SecuredShip._liquidityFee (#696) is not in mixedCase
Variable SecuredShip._totalFee (#697) is not in mixedCase
Variable SecuredShip._amountTokensLastSold (#707) is not in mixedCase
Variable SecuredShip._percentLastSoldToBuyBackTimesTen (#708) is not in mixedCase
Variable SecuredShip.DEAD_ADDRESS (#713) is not in mixedCase
Variable SecuredShip.WBNB (#714) is not in mixedCase
Variable SecuredShip._maxTxAmount (#728) is not in mixedCase
Variable SecuredShip._maxWalletAmount (#729) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#536) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#537)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._transferBothExcluded(address,address,uint256,bool).tTransferAmount (#898)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._getValues(uint256,bool).rTransferAmount (#999) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip._transferToExcluded(address,address,uint256,bool).rTransferAmount (#1305) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._transferStandard(address,address,uint256,bool).tTransferAmount (#1296)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._transferFromExcluded(address,address,uint256,bool).tTransferAmount (#1315)
Variable SecuredShip._transferFromExcluded(address,address,uint256,bool).rTransferAmount (#1315) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._transferBothExcluded(address,address,uint256,bool).rTransferAmount (#898) is too similar to SecuredShip._getTValues(uint256,bool).tTransferAmount (#1006)
Variable SecuredShip._transferStandard(address,address,uint256,bool).rTransferAmount (#1296) is too similar to SecuredShip._transferToExcluded(address,address,uint256,bool).tTransferAmount (#1305)
Variable SecuredShip._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1014) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Variable SecuredShip.reflectionFromToken(uint256,bool,bool).rTransferAmount (#864) is too similar to SecuredShip._getValues(uint256,bool).tTransferAmount (#998)
Prevent variables from having similar names.
Additional information: link
SecuredShip.slitherConstructorVariables() (#664-1341) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** _decimals (#686)
SecuredShip.slitherConstructorVariables() (#664-1341) uses literals with too many digits:
- DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD (#713)
SecuredShip.slitherConstructorVariables() (#664-1341) uses literals with too many digits:
- minTokensBeforeSwap = _tTotal * 1 / 10 / 1000000000 (#731)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#409) is never used in SecuredShip (#664-1341)
Ownable._lockTime (#410) is never used in SecuredShip (#664-1341)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#410) should be constant
Ownable._previousOwner (#409) should be constant
SecuredShip.DEAD_ADDRESS (#713) should be constant
SecuredShip.WBNB (#714) should be constant
SecuredShip._decimals (#670) should be constant
SecuredShip._name (#668) should be constant
SecuredShip._percentLastSoldToBuyBackTimesTen (#708) should be constant
SecuredShip._symbol (#669) should be constant
SecuredShip.buyBackUpperLimit (#723) should be constant
SecuredShip.cooldownTimerInterval (#725) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#445-448)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#454-458)
name() should be declared external:
- SecuredShip.name() (#779-781)
symbol() should be declared external:
- SecuredShip.symbol() (#783-785)
decimals() should be declared external:
- SecuredShip.decimals() (#787-789)
totalSupply() should be declared external:
- SecuredShip.totalSupply() (#791-793)
transfer(address,uint256) should be declared external:
- SecuredShip.transfer(address,uint256) (#800-803)
allowance(address,address) should be declared external:
- SecuredShip.allowance(address,address) (#805-807)
approve(address,uint256) should be declared external:
- SecuredShip.approve(address,uint256) (#809-812)
transferFrom(address,address,uint256) should be declared external:
- SecuredShip.transferFrom(address,address,uint256) (#814-818)
increaseAllowance(address,uint256) should be declared external:
- SecuredShip.increaseAllowance(address,uint256) (#820-823)
decreaseAllowance(address,uint256) should be declared external:
- SecuredShip.decreaseAllowance(address,uint256) (#825-828)
isExcludedFromReward(address) should be declared external:
- SecuredShip.isExcludedFromReward(address) (#830-832)
totalFees() should be declared external:
- SecuredShip.totalFees() (#834-836)
deliver(uint256,bool) should be declared external:
- SecuredShip.deliver(uint256,bool) (#838-845)
reflectionFromToken(uint256,bool,bool) should be declared external:
- SecuredShip.reflectionFromToken(uint256,bool,bool) (#858-867)
excludeFromReward(address) should be declared external:
- SecuredShip.excludeFromReward(address) (#875-883)
excludeFromFee(address) should be declared external:
- SecuredShip.excludeFromFee(address) (#908-910)
includeInFee(address) should be declared external:
- SecuredShip.includeInFee(address) (#912-914)
setBuyBackEnabled(bool) should be declared external:
- SecuredShip.setBuyBackEnabled(bool) (#916-919)
setSwapAndLiquifyVar(bool,uint256) should be declared external:
- SecuredShip.setSwapAndLiquifyVar(bool,uint256) (#983-987)
isExcludedFromFee(address) should be declared external:
- SecuredShip.isExcludedFromFee(address) (#1085-1087)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity 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.
Contract has 5% buy tax and 20% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Youtube account