Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in nekoyachtclub._transfer(address,address,uint256) (#1001-1052):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- devAddress.sendValue(devFee) (#1109)
- treasuryAddress.sendValue(treasuryFee) (#1110)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _rOwned[address(this)] += rToSwap (#908)
- _rOwned[sender] -= s.rAmount (#1070)
- _rOwned[recipient] += s.rTransferAmount (#1071)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _rTotal -= rRfi (#903)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- _tOwned[sender] -= tAmount (#1064)
- _tOwned[address(this)] += tToSwap (#909)
- _tOwned[recipient] += s.tTransferAmount (#1067)
Reentrancy in nekoyachtclub.transferFrom(address,address,uint256) (#769-786):
External calls:
- _transfer(sender,recipient,amount) (#774)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- devAddress.sendValue(devFee) (#1109)
- treasuryAddress.sendValue(treasuryFee) (#1110)
External calls sending eth:
- _transfer(sender,recipient,amount) (#774)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#782)
- _allowances[owner][spender] = amount (#997)
Apply the check-effects-interactions pattern.
Additional information: link
nekoyachtclub.rescueAnyBEP20Tokens(address,address,uint256) (#1232-1234) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#1233)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
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.
nekoyachtclub.allowance(address,address).owner (#751) shadows:
- Ownable.owner() (#74-76) (function)
nekoyachtclub._approve(address,address,uint256).owner (#991) shadows:
- Ownable.owner() (#74-76) (function)
Rename the local variables that shadow another component.
Additional information: link
nekoyachtclub.addLiquidity(uint256,uint256) (#1133-1144) ignores return value by UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
Ensure that all the return values of the function calls are used.
Additional information: link
nekoyachtclub.setMaxTransactionAmount(uint256,uint256) (#1188-1194) should emit an event for:
- maxTxAmountBuy = _tTotal / _maxTxAmountBuyPct (#1192)
- maxTxAmountSell = _tTotal / _maxTxAmountSellPct (#1193)
nekoyachtclub.setNumTokensSellToAddToLiq(uint256) (#1196-1201) should emit an event for:
- numTokensSellToAddToLiquidity = amountTokens * 10 ** _decimals (#1200)
Emit an event for critical parameter changes.
Additional information: link
nekoyachtclub.setTreasuryAddress(address)._treasuryAddress (#1203) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#1207)
nekoyachtclub.setDevAddress(address)._devAddress (#1210) lacks a zero-check on :
- devAddress = _devAddress (#1211)
nekoyachtclub.manualSwapPercentage(uint256,address).toAddress (#1219) lacks a zero-check on :
- wAddress = address(toAddress) (#1222)
Check that the address is not zero.
Additional information: link
Reentrancy in nekoyachtclub._transfer(address,address,uint256) (#1001-1052):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- devAddress.sendValue(devFee) (#1109)
- treasuryAddress.sendValue(treasuryFee) (#1110)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- totFeesPaid.rfi += tRfi (#904)
- totFeesPaid.toSwap += tToSwap (#910)
Reentrancy in nekoyachtclub.constructor() (#692-717):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#696)
State variables written after the call(s):
- UniswapV2Router = _UniswapV2Router (#699)
- _isExcludedFromFee[owner()] = true (#704)
- _isExcludedFromFee[treasuryAddress] = true (#705)
- _isExcludedFromFee[devAddress] = true (#706)
- _isExcludedFromFee[address(this)] = true (#707)
- _isExcludedFromMaxWallet[owner()] = true (#709)
- _isExcludedFromMaxWallet[treasuryAddress] = true (#710)
- _isExcludedFromMaxWallet[devAddress] = true (#711)
- _isExcludedFromMaxWallet[address(this)] = true (#712)
- _isExcludedFromMaxWallet[uniswapPair] = true (#714)
- _rOwned[owner()] = _rTotal (#700)
- devAddress = address(msg.sender) (#702)
- isAutomatedMarketMakerPair[uniswapPair] = true (#697)
- treasuryAddress = address(msg.sender) (#701)
- wAddress = address(msg.sender) (#703)
Reentrancy in nekoyachtclub.manualSwapPercentage(uint256,address) (#1219-1225):
External calls:
- swapTokensForETH(tokenstosell) (#1221)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
State variables written after the call(s):
- ttk = address(this).balance (#1223)
- wAddress = address(toAddress) (#1222)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in nekoyachtclub._transfer(address,address,uint256) (#1001-1052):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- devAddress.sendValue(devFee) (#1109)
- treasuryAddress.sendValue(treasuryFee) (#1110)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1048)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tToSwap) (#1075)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
- Transfer(sender,recipient,s.tTransferAmount) (#1082)
- _tokenTransfer(from,to,amount,takeFee) (#1051)
Reentrancy in nekoyachtclub.addLiquidity(uint256,uint256) (#1133-1144):
External calls:
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1143)
Reentrancy in nekoyachtclub.constructor() (#692-717):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#696)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(uniswapPair,true) (#698)
- Transfer(address(0),owner(),_tTotal) (#716)
Reentrancy in nekoyachtclub.swapAndLiquify(uint256) (#1085-1111):
External calls:
- swapTokensForETH(toSwap) (#1094)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1101)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1101)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1143)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1101)
Reentrancy in nekoyachtclub.transferFrom(address,address,uint256) (#769-786):
External calls:
- _transfer(sender,recipient,amount) (#774)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1124-1130)
- devAddress.sendValue(devFee) (#1109)
- treasuryAddress.sendValue(treasuryFee) (#1110)
External calls sending eth:
- _transfer(sender,recipient,amount) (#774)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1135-1142)
- (success) = recipient.call{value: amount}() (#419)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#998)
- _approve(sender,_msgSender(),currentAllowance - amount) (#782)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#388-398) uses assembly
- INLINE ASM (#394-396)
Address.verifyCallResult(bool,bytes,string) (#557-577) uses assembly
- INLINE ASM (#569-572)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0']
- ^0.8.0 (#20)
- ^0.8.0 (#45)
- ^0.8.0 (#116)
- >=0.6.2 (#199)
- >=0.6.2 (#298)
- >=0.5.0 (#344)
- ^0.8.0 (#365)
- ^0.8.0 (#582)
Use one Solidity version.
Additional information: link
nekoyachtclub.includeInReward(address) (#860-871) has costly operations inside a loop:
- _excluded.pop() (#867)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#441-443) is never used and should be removed
Address.functionCall(address,bytes,string) (#451-457) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#470-476) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#484-495) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#530-532) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#540-549) is never used and should be removed
Address.functionStaticCall(address,bytes) (#503-505) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#513-522) is never used and should be removed
Address.isContract(address) (#388-398) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#557-577) is never used and should be removed
Context._msgData() (#37-39) is never used and should be removed
Remove unused functions.
Additional information: link
nekoyachtclub._rTotal (#603) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
nekoyachtclub.maxTxAmountBuy (#605) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
nekoyachtclub.maxTxAmountSell (#606) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
nekoyachtclub.maxWalletAmount (#607) is set pre-construction with a non-constant function or state variable:
- _tTotal / 50
nekoyachtclub.numTokensSellToAddToLiquidity (#627) is set pre-construction with a non-constant function or state variable:
- _tTotal / 650
nekoyachtclub.appliedRates (#655) is set pre-construction with a non-constant function or state variable:
- buyRates
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 (#20) allows old versions
Pragma version^0.8.0 (#45) allows old versions
Pragma version^0.8.0 (#116) allows old versions
Pragma version>=0.6.2 (#199) allows old versions
Pragma version>=0.6.2 (#298) allows old versions
Pragma version>=0.5.0 (#344) allows old versions
Pragma version^0.8.0 (#365) allows old versions
Pragma version^0.8.0 (#582) allows old versions
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) (#416-421):
- (success) = recipient.call{value: amount}() (#419)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#484-495):
- (success,returndata) = target.call{value: value}(data) (#493)
Low level call in Address.functionStaticCall(address,bytes,string) (#513-522):
- (success,returndata) = target.staticcall(data) (#520)
Low level call in Address.functionDelegateCall(address,bytes,string) (#540-549):
- (success,returndata) = target.delegatecall(data) (#547)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#203) is not in mixedCase
Contract nekoyachtclub (#584-1259) is not in CapWords
Struct nekoyachtclub.feeRatesStruct (#629-635) is not in CapWords
Struct nekoyachtclub.valuesFromGetValues (#663-671) is not in CapWords
Parameter nekoyachtclub.setSwapAndLiquifyEnabled(bool)._enabled (#894) is not in mixedCase
Parameter nekoyachtclub.addLiquidity(uint256,uint256).ETHAmount (#1133) is not in mixedCase
Parameter nekoyachtclub.setAutomatedMarketMakerPair(address,bool)._pair (#1146) is not in mixedCase
Parameter nekoyachtclub.setBuyFees(uint8,uint8,uint8,uint8)._rfi (#1163) is not in mixedCase
Parameter nekoyachtclub.setBuyFees(uint8,uint8,uint8,uint8)._treasury (#1164) is not in mixedCase
Parameter nekoyachtclub.setBuyFees(uint8,uint8,uint8,uint8)._dev (#1165) is not in mixedCase
Parameter nekoyachtclub.setBuyFees(uint8,uint8,uint8,uint8)._lp (#1166) is not in mixedCase
Parameter nekoyachtclub.setSellFees(uint8,uint8,uint8,uint8)._rfi (#1176) is not in mixedCase
Parameter nekoyachtclub.setSellFees(uint8,uint8,uint8,uint8)._treasury (#1177) is not in mixedCase
Parameter nekoyachtclub.setSellFees(uint8,uint8,uint8,uint8)._dev (#1178) is not in mixedCase
Parameter nekoyachtclub.setSellFees(uint8,uint8,uint8,uint8)._lp (#1179) is not in mixedCase
Parameter nekoyachtclub.setMaxTransactionAmount(uint256,uint256)._maxTxAmountBuyPct (#1189) is not in mixedCase
Parameter nekoyachtclub.setMaxTransactionAmount(uint256,uint256)._maxTxAmountSellPct (#1190) is not in mixedCase
Parameter nekoyachtclub.setTreasuryAddress(address)._treasuryAddress (#1203) is not in mixedCase
Parameter nekoyachtclub.setDevAddress(address)._devAddress (#1210) is not in mixedCase
Parameter nekoyachtclub.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#1232) is not in mixedCase
Parameter nekoyachtclub.rescueAnyBEP20Tokens(address,address,uint256)._to (#1232) is not in mixedCase
Parameter nekoyachtclub.rescueAnyBEP20Tokens(address,address,uint256)._amount (#1232) is not in mixedCase
Parameter nekoyachtclub.setMaxWalletAmount(uint256)._maxWalletAmountPct (#1241) is not in mixedCase
Constant nekoyachtclub._decimals (#599) is not in UPPER_CASE_WITH_UNDERSCORES
Constant nekoyachtclub._name (#620) is not in UPPER_CASE_WITH_UNDERSCORES
Constant nekoyachtclub._symbol (#621) is not in UPPER_CASE_WITH_UNDERSCORES
Variable nekoyachtclub.UniswapV2Router (#624) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#208) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#209)
Prevent variables from having similar names.
Additional information: link
nekoyachtclub._tTotal (#602) should be constant
nekoyachtclub.blocksToWait (#613) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#93-95)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#101-104)
name() should be declared external:
- nekoyachtclub.name() (#720-722)
symbol() should be declared external:
- nekoyachtclub.symbol() (#724-726)
decimals() should be declared external:
- nekoyachtclub.decimals() (#728-730)
totalSupply() should be declared external:
- nekoyachtclub.totalSupply() (#733-735)
transfer(address,uint256) should be declared external:
- nekoyachtclub.transfer(address,uint256) (#742-749)
approve(address,uint256) should be declared external:
- nekoyachtclub.approve(address,uint256) (#760-767)
transferFrom(address,address,uint256) should be declared external:
- nekoyachtclub.transferFrom(address,address,uint256) (#769-786)
increaseAllowance(address,uint256) should be declared external:
- nekoyachtclub.increaseAllowance(address,uint256) (#788-799)
decreaseAllowance(address,uint256) should be declared external:
- nekoyachtclub.decreaseAllowance(address,uint256) (#801-816)
isExcludedFromReward(address) should be declared external:
- nekoyachtclub.isExcludedFromReward(address) (#818-820)
reflectionFromToken(uint256,bool) should be declared external:
- nekoyachtclub.reflectionFromToken(uint256,bool) (#822-835)
isExcludedFromFee(address) should be declared external:
- nekoyachtclub.isExcludedFromFee(address) (#882-884)
isExcludedFromMaxWallet(address) should be declared external:
- nekoyachtclub.isExcludedFromMaxWallet(address) (#886-892)
setSwapAndLiquifyEnabled(bool) should be declared external:
- nekoyachtclub.setSwapAndLiquifyEnabled(bool) (#894-897)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- nekoyachtclub.rescueAnyBEP20Tokens(address,address,uint256) (#1232-1234)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts