Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in ChameelonCoin._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _tOwned[from] -= amount (#827)
- transferAmount = _getValues(amount,from) (#832)
- _tOwned[address(this)] += marketingFee + liquidityFee (#783)
- _tOwned[to] += transferAmount (#835)
- swapping = false (#824)
Apply the check-effects-interactions pattern.
Additional information: link
ChameelonCoin.allowance(address,address).owner (#742) shadows:
- Ownable.owner() (#421-423) (function)
ChameelonCoin._approve(address,address,uint256).owner (#793) shadows:
- Ownable.owner() (#421-423) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ChameelonCoin.constructor() (#699-715):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#704)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#710)
- _isExcludedFromFee[address(this)] = true (#711)
- _isExcludedFromFee[_marketingWallet] = true (#712)
- uniswapV2Pair = _uniswapV2Pair (#707)
- uniswapV2Router = _uniswapV2Router (#706)
Reentrancy in ChameelonCoin.swapAndLiquify() (#847-859):
External calls:
- newBalance = swapTokensForEth(half) (#852)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#306)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#896)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#306)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#856)
- _allowances[owner][spender] = amount (#797)
Reentrancy in ChameelonCoin.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
- _allowances[owner][spender] = amount (#797)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ChameelonCoin._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#784)
- transferAmount = _getValues(amount,from) (#832)
- Transfer(from,to,transferAmount) (#836)
Reentrancy in ChameelonCoin.constructor() (#699-715):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#704)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#714)
Reentrancy in ChameelonCoin.swapAndLiquify() (#847-859):
External calls:
- newBalance = swapTokensForEth(half) (#852)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#306)
- address(_marketingWallet).sendValue(ethAmount - ethFromLiquidity) (#896)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#856)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#886-893)
- (success) = recipient.call{value: amount}() (#306)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- addLiquidity(otherHalf,newBalance) (#856)
- SwapAndLiquify(half,newBalance,otherHalf) (#857)
Reentrancy in ChameelonCoin.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#871-877)
External calls sending eth:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
Apply the check-effects-interactions pattern.
Additional information: link
ChameelonCoin._transfer(address,address,uint256) (#801-837) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#815)
ChameelonCoin.addLiquidity(uint256,uint256) (#881-897) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#895)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#275-284) uses assembly
- INLINE ASM (#282)
Address._functionCallWithValue(address,bytes,uint256,string) (#368-389) uses assembly
- INLINE ASM (#381-384)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#368-389) is never used and should be removed
Address.functionCall(address,bytes) (#328-330) is never used and should be removed
Address.functionCall(address,bytes,string) (#338-340) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#353-355) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#363-366) is never used and should be removed
Address.isContract(address) (#275-284) is never used and should be removed
Address.sendValue(address,uint256) (#302-308) is never used and should be removed
ChameelonCoin.addLiquidity(uint256,uint256) (#881-897) is never used and should be removed
ChameelonCoin.swapAndLiquify() (#847-859) is never used and should be removed
Context._msgData() (#247-250) is never used and should be removed
SafeMath.add(uint256,uint256) (#110-115) is never used and should be removed
SafeMath.div(uint256,uint256) (#184-186) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#200-206) is never used and should be removed
SafeMath.mod(uint256,uint256) (#220-222) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#236-239) is never used and should be removed
SafeMath.mul(uint256,uint256) (#158-170) is never used and should be removed
SafeMath.sub(uint256,uint256) (#127-129) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#141-146) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#302-308):
- (success) = recipient.call{value: amount}() (#306)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#368-389):
- (success,returndata) = target.call{value: weiValue}(data) (#372)
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() (#492) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#493) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#510) is not in mixedCase
Function IUniswapV2Router01.WETH() (#532) is not in mixedCase
Variable ChameelonCoin._maxTxAmount (#682) is not in mixedCase
Constant ChameelonCoin._name (#684) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChameelonCoin._symbol (#685) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ChameelonCoin._decimals (#686) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ChameelonCoin._marketingFee (#688) is not in mixedCase
Variable ChameelonCoin._liquidityFee (#689) is not in mixedCase
Variable ChameelonCoin._marketingWallet (#690) is not in mixedCase
Variable ChameelonCoin._buyCooldown (#692) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#248)" inContext (#242-251)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in ChameelonCoin._transfer(address,address,uint256) (#801-837):
External calls:
- swapAndSendToFee(sellTokens) (#823)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _tOwned[from] -= amount (#827)
- transferAmount = _getValues(amount,from) (#832)
- _tOwned[address(this)] += marketingFee + liquidityFee (#783)
- _tOwned[to] += transferAmount (#835)
- swapping = false (#824)
Event emitted after the call(s):
- Transfer(from,address(this),marketingFee + liquidityFee) (#784)
- transferAmount = _getValues(amount,from) (#832)
- Transfer(from,to,transferAmount) (#836)
Reentrancy in ChameelonCoin.transferFrom(address,address,uint256) (#751-755):
External calls:
- _transfer(sender,recipient,amount) (#752)
- address(_marketingWallet).transfer(ethToSend) (#844)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
- _allowances[owner][spender] = amount (#797)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#798)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#753)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#537) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#538)
Prevent variables from having similar names.
Additional information: link
Address.sendValue(address,uint256) (#302-308) uses literals with too many digits:
- recipient = address(0x000000000000000000000000000000000000dEaD) (#304)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
ChameelonCoin._buyCooldown (#692) should be constant
ChameelonCoin._liquidityFee (#689) should be constant
ChameelonCoin._marketingFee (#688) should be constant
ChameelonCoin._marketingWallet (#690) should be constant
ChameelonCoin._maxTxAmount (#682) should be constant
ChameelonCoin._tTotal (#681) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#440-443)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#449-453)
name() should be declared external:
- ChameelonCoin.name() (#717-719)
symbol() should be declared external:
- ChameelonCoin.symbol() (#721-723)
decimals() should be declared external:
- ChameelonCoin.decimals() (#725-727)
totalSupply() should be declared external:
- ChameelonCoin.totalSupply() (#729-731)
transfer(address,uint256) should be declared external:
- ChameelonCoin.transfer(address,uint256) (#737-740)
allowance(address,address) should be declared external:
- ChameelonCoin.allowance(address,address) (#742-744)
approve(address,uint256) should be declared external:
- ChameelonCoin.approve(address,uint256) (#746-749)
transferFrom(address,address,uint256) should be declared external:
- ChameelonCoin.transferFrom(address,address,uint256) (#751-755)
increaseAllowance(address,uint256) should be declared external:
- ChameelonCoin.increaseAllowance(address,uint256) (#757-760)
decreaseAllowance(address,uint256) should be declared external:
- ChameelonCoin.decreaseAllowance(address,uint256) (#762-765)
excludeFromFee(address) should be declared external:
- ChameelonCoin.excludeFromFee(address) (#767-769)
includeInFee(address) should be declared external:
- ChameelonCoin.includeInFee(address) (#771-773)
isExcludedFromFee(address) should be declared external:
- ChameelonCoin.isExcludedFromFee(address) (#789-791)
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