Captain token is the main token and store of value for CaptainSwap and will also be used to create value for CaptainSwap's utility token $CREW. $CREW will be tethered to the price of $CAPT which in turn adds incentive for people to HODL $CAPT
Captain token was started by our Captain, Capt. George. Capt. was tired of rugrulls on the BSC so he set out to create a token that his crew could trust...
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CAPTAIN.addLiquidity(uint256,uint256) (#1075-1088) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CAPTAIN._transfer(address,address,uint256) (#988-1032):
External calls:
- swapAndLiquify(contractTokenBalance) (#1019)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1066-1072)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1019)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1031)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#944)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1113)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1122)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1114)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1142)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#860)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1143)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1124)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#862)
- _tokenTransfer(from,to,amount,takeFee) (#1031)
- _rTotal = _rTotal.sub(rFee) (#899)
- _tokenTransfer(from,to,amount,takeFee) (#1031)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#946)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1141)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#859)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1123)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#861)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
CAPTAIN.addLiquidity(uint256,uint256) (#1075-1088) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
Ensure that all the return values of the function calls are used.
Additional information: link
CAPTAIN._approve(address,address,uint256).owner (#980) shadows:
- Ownable.owner() (#412-414) (function)
Rename the local variables that shadow another component.
Additional information: link
CAPTAIN.setMaxTxPercent(uint256) (#884-888) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#885-887)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in CAPTAIN.transferFrom(address,address,uint256) (#785-789):
External calls:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1066-1072)
External calls sending eth:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
- _allowances[owner][spender] = amount (#984)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CAPTAIN.transferFrom(address,address,uint256) (#785-789):
External calls:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1066-1072)
External calls sending eth:
- _transfer(sender,recipient,amount) (#786)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1080-1087)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#985)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#787)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#459-464) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#461)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#357-378) uses assembly
- INLINE ASM (#370-373)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#225-228) is never used and should be removed
Remove unused functions.
Additional information: link
CAPTAIN._previousLiquidityFee (#707) 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) (#357-378):
- (success,returndata) = target.call{value: weiValue}(data) (#361)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable CAPTAIN._maxTxAmount (#715) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#237)" inContext (#231-240)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable CAPTAIN._transferBothExcluded(address,address,uint256).rTransferAmount (#858) is too similar to CAPTAIN._transferFromExcluded(address,address,uint256).tTransferAmount (#1140)
Prevent variables from having similar names.
Additional information: link
CAPTAIN.slitherConstructorVariables() (#681-1150) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 500000 * 10 ** 6 * 10 ** 9 (#716)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CAPTAIN.numTokensSellToAddToLiquidity (#716) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setRouterAddress(address) should be declared external:
- CAPTAIN.setRouterAddress(address) (#1132-1137)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
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
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Youtube account