Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in catbirdcoin._transfer(address,address,uint256) (#797-833):
External calls:
- swapAndSendToFee(sellTokens) (#819)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#819)
- address(_marketingWallet).transfer(ethToSend) (#840)
State variables written after the call(s):
- _tOwned[from] -= amount (#823)
- transferAmount = _getValues(amount,from) (#828)
- _tOwned[address(this)] += marketingFee + liquidityFee (#779)
- _tOwned[to] += transferAmount (#831)
- swapping = false (#820)
Apply the check-effects-interactions pattern.
Additional information: link
catbirdcoin.allowance(address,address).owner (#738) shadows:
- Ownable.owner() (#417-419) (function)
catbirdcoin._approve(address,address,uint256).owner (#789) shadows:
- Ownable.owner() (#417-419) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in catbirdcoin.constructor() (#695-711):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#700)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#706)
- _isExcludedFromFee[address(this)] = true (#707)
- _isExcludedFromFee[_marketingWallet] = true (#708)
- uniswapV2Pair = _uniswapV2Pair (#703)
- uniswapV2Router = _uniswapV2Router (#702)
Reentrancy in catbirdcoin.swapAndLiquify() (#843-855):
External calls:
- newBalance = swapTokensForEth(half) (#848)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
- addLiquidity(otherHalf,newBalance) (#852)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#882-889)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#892)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#852)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#882-889)
- (success) = recipient.call{value: amount}() (#302)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#852)
- _allowances[owner][spender] = amount (#793)
Reentrancy in catbirdcoin.transferFrom(address,address,uint256) (#747-751):
External calls:
- _transfer(sender,recipient,amount) (#748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
External calls sending eth:
- _transfer(sender,recipient,amount) (#748)
- address(_marketingWallet).transfer(ethToSend) (#840)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#749)
- _allowances[owner][spender] = amount (#793)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in catbirdcoin._transfer(address,address,uint256) (#797-833):
External calls:
- swapAndSendToFee(sellTokens) (#819)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#819)
- address(_marketingWallet).transfer(ethToSend) (#840)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#780)
- transferAmount = _getValues(amount,from) (#828)
- Transfer(from,to,transferAmount) (#832)
Reentrancy in catbirdcoin.constructor() (#695-711):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#700)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#710)
Reentrancy in catbirdcoin.swapAndLiquify() (#843-855):
External calls:
- newBalance = swapTokensForEth(half) (#848)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
- addLiquidity(otherHalf,newBalance) (#852)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#882-889)
- (success) = recipient.call{value: amount}() (#302)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#892)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#852)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#882-889)
- (success) = recipient.call{value: amount}() (#302)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#794)
- addLiquidity(otherHalf,newBalance) (#852)
- SwapAndLiquify(half,newBalance,otherHalf) (#853)
Reentrancy in catbirdcoin.transferFrom(address,address,uint256) (#747-751):
External calls:
- _transfer(sender,recipient,amount) (#748)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#867-873)
External calls sending eth:
- _transfer(sender,recipient,amount) (#748)
- address(_marketingWallet).transfer(ethToSend) (#840)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#794)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#749)
Apply the check-effects-interactions pattern.
Additional information: link
catbirdcoin._transfer(address,address,uint256) (#797-833) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#811)
catbirdcoin.addLiquidity(uint256,uint256) (#877-893) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#891)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#271-280) uses assembly
- INLINE ASM (#278)
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) uses assembly
- INLINE ASM (#377-380)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#364-385) is never used and should be removed
Address.functionCall(address,bytes) (#324-326) is never used and should be removed
Address.functionCall(address,bytes,string) (#334-336) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#349-351) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#359-362) is never used and should be removed
Address.isContract(address) (#271-280) is never used and should be removed
Address.sendValue(address,uint256) (#298-304) is never used and should be removed
Context._msgData() (#243-246) is never used and should be removed
SafeMath.add(uint256,uint256) (#106-111) is never used and should be removed
SafeMath.div(uint256,uint256) (#180-182) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#196-202) is never used and should be removed
SafeMath.mod(uint256,uint256) (#216-218) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#232-235) is never used and should be removed
SafeMath.mul(uint256,uint256) (#154-166) is never used and should be removed
SafeMath.sub(uint256,uint256) (#123-125) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#137-142) is never used and should be removed
catbirdcoin.addLiquidity(uint256,uint256) (#877-893) is never used and should be removed
catbirdcoin.swapAndLiquify() (#843-855) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#298-304):
- (success) = recipient.call{value: amount}() (#302)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#364-385):
- (success,returndata) = target.call{value: weiValue}(data) (#368)
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() (#488) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#489) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#506) is not in mixedCase
Function IUniswapV2Router01.WETH() (#528) is not in mixedCase
Contract catbirdcoin (#665-895) is not in CapWords
Variable catbirdcoin._maxTxAmount (#678) is not in mixedCase
Constant catbirdcoin._name (#680) is not in UPPER_CASE_WITH_UNDERSCORES
Constant catbirdcoin._symbol (#681) is not in UPPER_CASE_WITH_UNDERSCORES
Constant catbirdcoin._decimals (#682) is not in UPPER_CASE_WITH_UNDERSCORES
Variable catbirdcoin._marketingFee (#684) is not in mixedCase
Variable catbirdcoin._liquidityFee (#685) is not in mixedCase
Variable catbirdcoin._buyCooldown (#688) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#244)" inContext (#238-247)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in catbirdcoin._transfer(address,address,uint256) (#797-833):
External calls:
- swapAndSendToFee(sellTokens) (#819)
- address(_marketingWallet).transfer(ethToSend) (#840)
State variables written after the call(s):
- _tOwned[from] -= amount (#823)
- transferAmount = _getValues(amount,from) (#828)
- _tOwned[address(this)] += marketingFee + liquidityFee (#779)
- _tOwned[to] += transferAmount (#831)
- swapping = false (#820)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#780)
- transferAmount = _getValues(amount,from) (#828)
- Transfer(from,to,transferAmount) (#832)
Reentrancy in catbirdcoin.transferFrom(address,address,uint256) (#747-751):
External calls:
- _transfer(sender,recipient,amount) (#748)
- address(_marketingWallet).transfer(ethToSend) (#840)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#749)
- _allowances[owner][spender] = amount (#793)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#794)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#749)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#533) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#534)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#298-304) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#300)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
catbirdcoin._buyCooldown (#688) should be constant
catbirdcoin._liquidityFee (#685) should be constant
catbirdcoin._marketingFee (#684) should be constant
catbirdcoin._marketingWallet (#686) should be constant
catbirdcoin._maxTxAmount (#678) should be constant
catbirdcoin._tTotal (#677) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#436-439)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#445-449)
name() should be declared external:
- catbirdcoin.name() (#713-715)
symbol() should be declared external:
- catbirdcoin.symbol() (#717-719)
decimals() should be declared external:
- catbirdcoin.decimals() (#721-723)
totalSupply() should be declared external:
- catbirdcoin.totalSupply() (#725-727)
transfer(address,uint256) should be declared external:
- catbirdcoin.transfer(address,uint256) (#733-736)
allowance(address,address) should be declared external:
- catbirdcoin.allowance(address,address) (#738-740)
approve(address,uint256) should be declared external:
- catbirdcoin.approve(address,uint256) (#742-745)
transferFrom(address,address,uint256) should be declared external:
- catbirdcoin.transferFrom(address,address,uint256) (#747-751)
increaseAllowance(address,uint256) should be declared external:
- catbirdcoin.increaseAllowance(address,uint256) (#753-756)
decreaseAllowance(address,uint256) should be declared external:
- catbirdcoin.decreaseAllowance(address,uint256) (#758-761)
excludeFromFee(address) should be declared external:
- catbirdcoin.excludeFromFee(address) (#763-765)
includeInFee(address) should be declared external:
- catbirdcoin.includeInFee(address) (#767-769)
isExcludedFromFee(address) should be declared external:
- catbirdcoin.isExcludedFromFee(address) (#785-787)
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