Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in HauntedCat._transfer(address,address,uint256) (#639-677):
External calls:
- swapTokens(contractTokenBalance) (#657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
External calls sending eth:
- swapTokens(contractTokenBalance) (#657)
- recipient.transfer(amount) (#961)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _liquidityFee = _previousLiquidityFee (#893)
- _liquidityFee = 0 (#888)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#864)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#780)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#789)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#800)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#810)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#781)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#791)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#801)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#812)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rTotal = _rTotal.sub(rFee) (#819)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#866)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#799)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#809)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#790)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#811)
- buyBackTokens(balance.div(100)) (#665)
- inSwapAndLiquify = true (#488)
- inSwapAndLiquify = false (#490)
Apply the check-effects-interactions pattern.
Additional information: link
HauntedCat.allowance(address,address).owner (#535) shadows:
- Ownable.owner() (#169-171) (function)
HauntedCat._approve(address,address,uint256).owner (#631) shadows:
- Ownable.owner() (#169-171) (function)
Rename the local variables that shadow another component.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#291) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#292)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._transferToExcluded(address,address,uint256).rTransferAmount (#788) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._transferFromExcluded(address,address,uint256).rTransferAmount (#798) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._transferBothExcluded(address,address,uint256).tTransferAmount (#808)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._getTValues(uint256).tTransferAmount (#832)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._getValues(uint256).tTransferAmount (#824)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._transferFromExcluded(address,address,uint256).tTransferAmount (#798)
Variable HauntedCat._transferStandard(address,address,uint256).rTransferAmount (#779) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#840) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Variable HauntedCat._getValues(uint256).rTransferAmount (#825) is too similar to HauntedCat._transferStandard(address,address,uint256).tTransferAmount (#779)
Variable HauntedCat._transferBothExcluded(address,address,uint256).rTransferAmount (#808) is too similar to HauntedCat._transferToExcluded(address,address,uint256).tTransferAmount (#788)
Prevent variables from having similar names.
Additional information: link
HauntedCat.swapTokens(uint256) (#690-699) performs a multiplication on the result of a division:
-transferToAddressETH(marketingAddress,transferredBalance.div(_liquidityFee).mul(marketingDivisor)) (#697)
Consider ordering multiplication before division.
Additional information: link
HauntedCat.addLiquidity(uint256,uint256) (#745-758) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#750-757)
Ensure that all the return values of the function calls are used.
Additional information: link
HauntedCat.setTaxFeePercent(uint256) (#908-910) should emit an event for:
- _taxFee = taxFee (#909)
HauntedCat.setLiquidityFeePercent(uint256) (#912-914) should emit an event for:
- _liquidityFee = liquidityFee (#913)
HauntedCat.setMaxTxAmount(uint256) (#916-918) should emit an event for:
- _maxTxAmount = maxTxAmount (#917)
HauntedCat.setMarketingDivisor(uint256) (#920-922) should emit an event for:
- marketingDivisor = divisor (#921)
HauntedCat.setNumTokensSellToAddToLiquidity(uint256) (#924-926) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#925)
HauntedCat.setBuybackUpperLimit(uint256) (#928-930) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 18 (#929)
Emit an event for critical parameter changes.
Additional information: link
HauntedCat.setMarketingAddress(address)._marketingAddress (#932) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#933)
Check that the address is not zero.
Additional information: link
Reentrancy in HauntedCat._transfer(address,address,uint256) (#639-677):
External calls:
- swapTokens(contractTokenBalance) (#657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
External calls sending eth:
- swapTokens(contractTokenBalance) (#657)
- recipient.transfer(amount) (#961)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _previousLiquidityFee = _liquidityFee (#885)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _previousTaxFee = _taxFee (#884)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _tFeeTotal = _tFeeTotal.add(tFee) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _taxFee = _previousTaxFee (#892)
- _taxFee = 0 (#887)
Reentrancy in HauntedCat.constructor() (#493-507):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#497-498)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#503)
- _isExcludedFromFee[address(this)] = true (#504)
- uniswapV2Router = _uniswapV2Router (#500)
Reentrancy in HauntedCat.transferFrom(address,address,uint256) (#549-553):
External calls:
- _transfer(sender,recipient,amount) (#550)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
External calls sending eth:
- _transfer(sender,recipient,amount) (#550)
- recipient.transfer(amount) (#961)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#551)
- _allowances[owner][spender] = amount (#635)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in HauntedCat._transfer(address,address,uint256) (#639-677):
External calls:
- swapTokens(contractTokenBalance) (#657)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
External calls sending eth:
- swapTokens(contractTokenBalance) (#657)
- recipient.transfer(amount) (#961)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#742)
- buyBackTokens(balance.div(100)) (#665)
- Transfer(sender,recipient,tTransferAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#794)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#804)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#815)
- _tokenTransfer(from,to,amount,takeFee) (#676)
Reentrancy in HauntedCat.constructor() (#493-507):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#497-498)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#506)
Reentrancy in HauntedCat.swapETHForTokens(uint256) (#728-743):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#742)
Reentrancy in HauntedCat.swapTokensForEth(uint256) (#708-726):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#725)
Reentrancy in HauntedCat.transferFrom(address,address,uint256) (#549-553):
External calls:
- _transfer(sender,recipient,amount) (#550)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#717-723)
External calls sending eth:
- _transfer(sender,recipient,amount) (#550)
- recipient.transfer(amount) (#961)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#636)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#551)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#204-209) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#206)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#99-108) uses assembly
- INLINE ASM (#106)
Address._functionCallWithValue(address,bytes,uint256,string) (#136-153) uses assembly
- INLINE ASM (#145-148)
Do not use evm assembly.
Additional information: link
HauntedCat.includeInReward(address) (#618-629) has costly operations inside a loop:
- _excluded.pop() (#625)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#136-153) is never used and should be removed
Address.functionCall(address,bytes) (#119-121) is never used and should be removed
Address.functionCall(address,bytes,string) (#123-125) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#127-129) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#131-134) is never used and should be removed
Address.isContract(address) (#99-108) is never used and should be removed
Address.sendValue(address,uint256) (#110-116) is never used and should be removed
Context._msgData() (#22-25) is never used and should be removed
HauntedCat.addLiquidity(uint256,uint256) (#745-758) is never used and should be removed
SafeMath.mod(uint256,uint256) (#87-89) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#91-94) is never used and should be removed
Remove unused functions.
Additional information: link
HauntedCat._rTotal (#440) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
HauntedCat._previousTaxFee (#449) is set pre-construction with a non-constant function or state variable:
- _taxFee
HauntedCat._previousLiquidityFee (#452) 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.sendValue(address,uint256) (#110-116):
- (success) = recipient.call{value: amount}() (#114)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#136-153):
- (success,returndata) = target.call{value: weiValue}(data) (#139)
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() (#248) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#249) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#265) is not in mixedCase
Function IUniswapV2Router01.WETH() (#286) is not in mixedCase
Parameter HauntedCat.calculateTaxFee(uint256)._amount (#869) is not in mixedCase
Parameter HauntedCat.calculateLiquidityFee(uint256)._amount (#875) is not in mixedCase
Parameter HauntedCat.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#924) is not in mixedCase
Parameter HauntedCat.setMarketingAddress(address)._marketingAddress (#932) is not in mixedCase
Parameter HauntedCat.setSwapAndLiquifyEnabled(bool)._enabled (#936) is not in mixedCase
Parameter HauntedCat.setBuyBackEnabled(bool)._enabled (#941) is not in mixedCase
Variable HauntedCat._taxFee (#448) is not in mixedCase
Variable HauntedCat._liquidityFee (#451) is not in mixedCase
Variable HauntedCat._maxTxAmount (#456) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in HauntedCat._transfer(address,address,uint256) (#639-677):
External calls:
- swapTokens(contractTokenBalance) (#657)
- recipient.transfer(amount) (#961)
External calls sending eth:
- swapTokens(contractTokenBalance) (#657)
- recipient.transfer(amount) (#961)
- buyBackTokens(balance.div(100)) (#665)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _liquidityFee = _previousLiquidityFee (#893)
- _liquidityFee = 0 (#888)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _previousLiquidityFee = _liquidityFee (#885)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _previousTaxFee = _taxFee (#884)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#864)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#780)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#789)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#800)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#810)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#781)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#791)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#801)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#812)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _rTotal = _rTotal.sub(rFee) (#819)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _tFeeTotal = _tFeeTotal.add(tFee) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#866)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#799)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#809)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#790)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#811)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- _taxFee = _previousTaxFee (#892)
- _taxFee = 0 (#887)
- buyBackTokens(balance.div(100)) (#665)
- inSwapAndLiquify = true (#488)
- inSwapAndLiquify = false (#490)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#742)
- buyBackTokens(balance.div(100)) (#665)
- Transfer(sender,recipient,tTransferAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#794)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#804)
- _tokenTransfer(from,to,amount,takeFee) (#676)
- Transfer(sender,recipient,tTransferAmount) (#815)
- _tokenTransfer(from,to,amount,takeFee) (#676)
Reentrancy in HauntedCat.transferFrom(address,address,uint256) (#549-553):
External calls:
- _transfer(sender,recipient,amount) (#550)
- recipient.transfer(amount) (#961)
External calls sending eth:
- _transfer(sender,recipient,amount) (#550)
- recipient.transfer(amount) (#961)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#735-740)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#551)
- _allowances[owner][spender] = amount (#635)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#636)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#551)
Apply the check-effects-interactions pattern.
Additional information: link
HauntedCat.prepareForPreSale() (#946-951) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#950)
HauntedCat.afterPreSale() (#953-958) uses literals with too many digits:
- _maxTxAmount = 10000000 * 10 ** 6 * 10 ** 9 (#957)
HauntedCat.slitherConstructorVariables() (#423-967) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#428)
HauntedCat.slitherConstructorVariables() (#423-967) uses literals with too many digits:
- _tTotal = 1000000000 * 10 ** 6 * 10 ** 9 (#439)
HauntedCat.slitherConstructorVariables() (#423-967) uses literals with too many digits:
- _maxTxAmount = 100000000 * 10 ** 6 * 10 ** 9 (#456)
HauntedCat.slitherConstructorVariables() (#423-967) uses literals with too many digits:
- minimumTokensBeforeSwap = 2500000 * 10 ** 6 * 10 ** 9 (#457)
HauntedCat.slitherConstructorVariables() (#423-967) uses literals with too many digits:
- buyBackUpperLimit = 1000000000 * 10 ** 18 (#458)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
HauntedCat._decimals (#445) should be constant
HauntedCat._name (#443) should be constant
HauntedCat._symbol (#444) should be constant
HauntedCat._tTotal (#439) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#178-181)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#183-187)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#189-191)
getTime() should be declared external:
- Ownable.getTime() (#193-195)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#197-202)
unlock() should be declared external:
- Ownable.unlock() (#204-209)
name() should be declared external:
- HauntedCat.name() (#509-511)
symbol() should be declared external:
- HauntedCat.symbol() (#513-515)
decimals() should be declared external:
- HauntedCat.decimals() (#517-519)
totalSupply() should be declared external:
- HauntedCat.totalSupply() (#521-523)
transfer(address,uint256) should be declared external:
- HauntedCat.transfer(address,uint256) (#530-533)
allowance(address,address) should be declared external:
- HauntedCat.allowance(address,address) (#535-537)
approve(address,uint256) should be declared external:
- HauntedCat.approve(address,uint256) (#539-542)
transferFrom(address,address,uint256) should be declared external:
- HauntedCat.transferFrom(address,address,uint256) (#549-553)
increaseAllowance(address,uint256) should be declared external:
- HauntedCat.increaseAllowance(address,uint256) (#555-558)
decreaseAllowance(address,uint256) should be declared external:
- HauntedCat.decreaseAllowance(address,uint256) (#560-563)
isExcludedFromReward(address) should be declared external:
- HauntedCat.isExcludedFromReward(address) (#565-567)
totalFees() should be declared external:
- HauntedCat.totalFees() (#569-571)
minimumTokensBeforeSwapAmount() should be declared external:
- HauntedCat.minimumTokensBeforeSwapAmount() (#573-575)
buyBackUpperLimitAmount() should be declared external:
- HauntedCat.buyBackUpperLimitAmount() (#577-579)
deliver(uint256) should be declared external:
- HauntedCat.deliver(uint256) (#581-588)
reflectionFromToken(uint256,bool) should be declared external:
- HauntedCat.reflectionFromToken(uint256,bool) (#591-600)
excludeFromReward(address) should be declared external:
- HauntedCat.excludeFromReward(address) (#608-616)
isExcludedFromFee(address) should be declared external:
- HauntedCat.isExcludedFromFee(address) (#896-898)
excludeFromFee(address) should be declared external:
- HauntedCat.excludeFromFee(address) (#900-902)
includeInFee(address) should be declared external:
- HauntedCat.includeInFee(address) (#904-906)
setBuyBackEnabled(bool) should be declared external:
- HauntedCat.setBuyBackEnabled(bool) (#941-944)
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 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.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 8% buy tax and 11% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Token is deployed only at one blockchain
Token has only one trading pair
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