Reentrancy in CowInu._transfer(address,address,uint256) (#566-602):
External calls:
- swapAndSendToFee(sellTokens) (#588)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#588)
- address(_marketingWallet).transfer(ethToSend) (#609)
State variables written after the call(s):
- _tOwned[from] -= amount (#592)
- transferAmount = _getValues(amount,from) (#597)
- _tOwned[address(this)] += marketingFee + liquidityFee (#548)
- _tOwned[to] += transferAmount (#600)
- swapping = false (#589)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
CowInu.allowance(address,address).owner (#507) shadows:
- Ownable.owner() (#186-188) (function)
CowInu._approve(address,address,uint256).owner (#558) shadows:
- Ownable.owner() (#186-188) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in CowInu.constructor() (#464-480):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#469)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#475)
- _isExcludedFromFee[address(this)] = true (#476)
- _isExcludedFromFee[_marketingWallet] = true (#477)
- uniswapV2Pair = _uniswapV2Pair (#472)
- uniswapV2Router = _uniswapV2Router (#471)
Reentrancy in CowInu.swapAndLiquify() (#612-624):
External calls:
- newBalance = swapTokensForEth(half) (#617)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
- addLiquidity(otherHalf,newBalance) (#621)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#651-658)
- (success) = recipient.call{value: amount}() (#124)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#661)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#621)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#651-658)
- (success) = recipient.call{value: amount}() (#124)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#621)
- _allowances[owner][spender] = amount (#562)
Reentrancy in CowInu.transferFrom(address,address,uint256) (#516-520):
External calls:
- _transfer(sender,recipient,amount) (#517)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
External calls sending eth:
- _transfer(sender,recipient,amount) (#517)
- address(_marketingWallet).transfer(ethToSend) (#609)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#518)
- _allowances[owner][spender] = amount (#562)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CowInu._transfer(address,address,uint256) (#566-602):
External calls:
- swapAndSendToFee(sellTokens) (#588)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#588)
- address(_marketingWallet).transfer(ethToSend) (#609)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#549)
- transferAmount = _getValues(amount,from) (#597)
- Transfer(from,to,transferAmount) (#601)
Reentrancy in CowInu.constructor() (#464-480):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#469)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#479)
Reentrancy in CowInu.swapAndLiquify() (#612-624):
External calls:
- newBalance = swapTokensForEth(half) (#617)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
- addLiquidity(otherHalf,newBalance) (#621)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#651-658)
- (success) = recipient.call{value: amount}() (#124)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#661)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#621)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#651-658)
- (success) = recipient.call{value: amount}() (#124)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#563)
- addLiquidity(otherHalf,newBalance) (#621)
- SwapAndLiquify(half,newBalance,otherHalf) (#622)
Reentrancy in CowInu.transferFrom(address,address,uint256) (#516-520):
External calls:
- _transfer(sender,recipient,amount) (#517)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#636-642)
External calls sending eth:
- _transfer(sender,recipient,amount) (#517)
- address(_marketingWallet).transfer(ethToSend) (#609)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#563)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#518)
Apply the check-effects-interactions pattern.
Additional information: link
CowInu._transfer(address,address,uint256) (#566-602) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#580)
CowInu.addLiquidity(uint256,uint256) (#646-662) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#660)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#109-118) uses assembly
- INLINE ASM (#116)
Address._functionCallWithValue(address,bytes,uint256,string) (#145-166) uses assembly
- INLINE ASM (#158-161)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#145-166) is never used and should be removed
Address.functionCall(address,bytes) (#128-130) is never used and should be removed
Address.functionCall(address,bytes,string) (#132-134) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#136-138) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#140-143) is never used and should be removed
Address.isContract(address) (#109-118) is never used and should be removed
Address.sendValue(address,uint256) (#120-126) is never used and should be removed
Context._msgData() (#97-100) is never used and should be removed
CowInu.addLiquidity(uint256,uint256) (#646-662) is never used and should be removed
CowInu.swapAndLiquify() (#612-624) is never used and should be removed
SafeMath.add(uint256,uint256) (#38-43) is never used and should be removed
SafeMath.div(uint256,uint256) (#70-72) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#74-80) is never used and should be removed
SafeMath.mod(uint256,uint256) (#82-84) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#86-89) is never used and should be removed
SafeMath.mul(uint256,uint256) (#56-68) is never used and should be removed
SafeMath.sub(uint256,uint256) (#45-47) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#49-54) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#120-126):
- (success) = recipient.call{value: amount}() (#124)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#145-166):
- (success,returndata) = target.call{value: weiValue}(data) (#149)
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() (#257) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#258) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#275) is not in mixedCase
Function IUniswapV2Router01.WETH() (#297) is not in mixedCase
Variable CowInu._maxTxAmount (#447) is not in mixedCase
Constant CowInu._name (#449) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CowInu._symbol (#450) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CowInu._decimals (#451) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CowInu._marketingFee (#453) is not in mixedCase
Variable CowInu._liquidityFee (#454) is not in mixedCase
Variable CowInu._marketingWallet (#455) is not in mixedCase
Variable CowInu._buyCooldown (#457) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#98)" inContext (#92-101)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CowInu._transfer(address,address,uint256) (#566-602):
External calls:
- swapAndSendToFee(sellTokens) (#588)
- address(_marketingWallet).transfer(ethToSend) (#609)
State variables written after the call(s):
- _tOwned[from] -= amount (#592)
- transferAmount = _getValues(amount,from) (#597)
- _tOwned[address(this)] += marketingFee + liquidityFee (#548)
- _tOwned[to] += transferAmount (#600)
- swapping = false (#589)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#549)
- transferAmount = _getValues(amount,from) (#597)
- Transfer(from,to,transferAmount) (#601)
Reentrancy in CowInu.transferFrom(address,address,uint256) (#516-520):
External calls:
- _transfer(sender,recipient,amount) (#517)
- address(_marketingWallet).transfer(ethToSend) (#609)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#518)
- _allowances[owner][spender] = amount (#562)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#563)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#518)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#302) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#303)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#120-126) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#122)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
CowInu._buyCooldown (#457) should be constant
CowInu._liquidityFee (#454) should be constant
CowInu._marketingFee (#453) should be constant
CowInu._marketingWallet (#455) should be constant
CowInu._maxTxAmount (#447) should be constant
CowInu._tTotal (#446) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#205-208)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#214-218)
name() should be declared external:
- CowInu.name() (#482-484)
symbol() should be declared external:
- CowInu.symbol() (#486-488)
decimals() should be declared external:
- CowInu.decimals() (#490-492)
totalSupply() should be declared external:
- CowInu.totalSupply() (#494-496)
transfer(address,uint256) should be declared external:
- CowInu.transfer(address,uint256) (#502-505)
allowance(address,address) should be declared external:
- CowInu.allowance(address,address) (#507-509)
approve(address,uint256) should be declared external:
- CowInu.approve(address,uint256) (#511-514)
transferFrom(address,address,uint256) should be declared external:
- CowInu.transferFrom(address,address,uint256) (#516-520)
increaseAllowance(address,uint256) should be declared external:
- CowInu.increaseAllowance(address,uint256) (#522-525)
decreaseAllowance(address,uint256) should be declared external:
- CowInu.decreaseAllowance(address,uint256) (#527-530)
excludeFromFee(address) should be declared external:
- CowInu.excludeFromFee(address) (#532-534)
includeInFee(address) should be declared external:
- CowInu.includeInFee(address) (#536-538)
isExcludedFromFee(address) should be declared external:
- CowInu.isExcludedFromFee(address) (#554-556)
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 low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 6% buy tax and 6% sell tax.
Taxes are low and contract ownership is renounced.
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