Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Chickenking.sendETHToFee(uint256) (#294-297) sends eth to arbitrary user
Dangerous calls:
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in Chickenking._transfer(address,address,uint256) (#241-278):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#285-291)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#277)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#335)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#325)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#326)
- _tokenTransfer(from,to,amount) (#277)
- _rTotal = _rTotal.sub(rFee) (#339)
Apply the check-effects-interactions pattern.
Additional information: link
Chickenking.rescueForeignTokens(address,address,uint256) (#304-307) ignores return value by Token(_tokenAddr).transfer(_to,_amount) (#306)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
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.
Chickenking.constructor() (#167-181) uses literals with too many digits:
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#180)
Chickenking.slitherConstructorConstantVariables() (#127-401) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** 6 * 10 ** 9 (#136)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#97) is never used in Chickenking (#127-401)
Chickenking._tOwned (#131) is never used in Chickenking (#127-401)
Remove unused state variables.
Additional information: link
Chickenking._redisFeeOnBuy (#140) should be constant
Chickenking._redisFeeOnSell (#143) should be constant
Chickenking._taxFeeOnBuy (#141) should be constant
Chickenking._taxFeeOnSell (#144) should be constant
Ownable._previousOwner (#97) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
Chickenking.allowance(address,address).owner (#213) shadows:
- Ownable.owner() (#105-107) (function)
Chickenking._approve(address,address,uint256).owner (#234) shadows:
- Ownable.owner() (#105-107) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable.transferOwnership(address).newOwner (#120) lacks a zero-check on :
- _owner = newOwner (#122)
Chickenking.setNewDevAddress(address).dev (#310) lacks a zero-check on :
- _developmentAddress = dev (#312)
Chickenking.setNewMarketingAddress(address).markt (#317) lacks a zero-check on :
- _marketingAddress = markt (#319)
Check that the address is not zero.
Additional information: link
Reentrancy in Chickenking._transfer(address,address,uint256) (#241-278):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#285-291)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
State variables written after the call(s):
- _redisFee = _redisFeeOnBuy (#261)
- _redisFee = _redisFeeOnSell (#266)
- _redisFee = 0 (#271)
- _tokenTransfer(from,to,amount) (#277)
- _tFeeTotal = _tFeeTotal.add(tFee) (#340)
- _taxFee = _taxFeeOnBuy (#262)
- _taxFee = _taxFeeOnSell (#267)
- _taxFee = 0 (#272)
Reentrancy in Chickenking.constructor() (#167-181):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#172-173)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#175)
- _isExcludedFromFee[address(this)] = true (#176)
- _isExcludedFromFee[_developmentAddress] = true (#177)
- _isExcludedFromFee[_marketingAddress] = true (#178)
Reentrancy in Chickenking.transferFrom(address,address,uint256) (#222-226):
External calls:
- _transfer(sender,recipient,amount) (#223)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#285-291)
External calls sending eth:
- _transfer(sender,recipient,amount) (#223)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#224)
- _allowances[owner][spender] = amount (#237)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Chickenking._transfer(address,address,uint256) (#241-278):
External calls:
- swapTokensForEth(contractTokenBalance) (#253)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#285-291)
External calls sending eth:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#329)
- _tokenTransfer(from,to,amount) (#277)
Reentrancy in Chickenking.constructor() (#167-181):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#172-173)
Event emitted after the call(s):
- Transfer(address(0x0000000000000000000000000000000000000000),_msgSender(),_tTotal) (#180)
Reentrancy in Chickenking.transferFrom(address,address,uint256) (#222-226):
External calls:
- _transfer(sender,recipient,amount) (#223)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#285-291)
External calls sending eth:
- _transfer(sender,recipient,amount) (#223)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#238)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#224)
Apply the check-effects-interactions pattern.
Additional information: link
Function IUniswapV2Router02.WETH() (#38) is not in mixedCase
Event ChickenkingtokensRescued(address,address,uint256) (#303) is not in CapWords
Event ChickenkingdevAddressUpdated(address,address) (#309) is not in CapWords
Event ChickenkingmarketingAddressUpdated(address,address) (#316) is not in CapWords
Parameter Chickenking.rescueForeignTokens(address,address,uint256)._tokenAddr (#304) is not in mixedCase
Parameter Chickenking.rescueForeignTokens(address,address,uint256)._to (#304) is not in mixedCase
Parameter Chickenking.rescueForeignTokens(address,address,uint256)._amount (#304) is not in mixedCase
Parameter Chickenking.toggleSwap(bool)._swapEnabled (#391) is not in mixedCase
Constant Chickenking._tTotal (#136) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Chickenking._name (#149) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Chickenking._symbol (#150) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Chickenking._decimals (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in Chickenking._transfer(address,address,uint256) (#241-278):
External calls:
- sendETHToFee(address(this).balance) (#256)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#277)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#335)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#325)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#326)
- _tokenTransfer(from,to,amount) (#277)
- _rTotal = _rTotal.sub(rFee) (#339)
- _redisFee = _redisFeeOnBuy (#261)
- _redisFee = _redisFeeOnSell (#266)
- _redisFee = 0 (#271)
- _tokenTransfer(from,to,amount) (#277)
- _tFeeTotal = _tFeeTotal.add(tFee) (#340)
- _taxFee = _taxFeeOnBuy (#262)
- _taxFee = _taxFeeOnSell (#267)
- _taxFee = 0 (#272)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#329)
- _tokenTransfer(from,to,amount) (#277)
Reentrancy in Chickenking.transferFrom(address,address,uint256) (#222-226):
External calls:
- _transfer(sender,recipient,amount) (#223)
- _developmentAddress.transfer(amount.div(2)) (#295)
- _marketingAddress.transfer(amount.div(2)) (#296)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#224)
- _allowances[owner][spender] = amount (#237)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#238)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#224)
Apply the check-effects-interactions pattern.
Additional information: link
Variable Chickenking._transferStandard(address,address,uint256).rTransferAmount (#324) is too similar to Chickenking._getTValues(uint256,uint256,uint256).tTransferAmount (#355)
Variable Chickenking._getValues(uint256).rTransferAmount (#348) is too similar to Chickenking._getTValues(uint256,uint256,uint256).tTransferAmount (#355)
Variable Chickenking._transferStandard(address,address,uint256).rTransferAmount (#324) is too similar to Chickenking._transferStandard(address,address,uint256).tTransferAmount (#324)
Variable Chickenking._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#363) is too similar to Chickenking._getTValues(uint256,uint256,uint256).tTransferAmount (#355)
Variable Chickenking._transferStandard(address,address,uint256).rTransferAmount (#324) is too similar to Chickenking._getValues(uint256).tTransferAmount (#346)
Variable Chickenking._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#363) is too similar to Chickenking._getValues(uint256).tTransferAmount (#346)
Variable Chickenking._getValues(uint256).rTransferAmount (#348) is too similar to Chickenking._getValues(uint256).tTransferAmount (#346)
Variable Chickenking._getValues(uint256).rTransferAmount (#348) is too similar to Chickenking._transferStandard(address,address,uint256).tTransferAmount (#324)
Variable Chickenking._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#363) is too similar to Chickenking._transferStandard(address,address,uint256).tTransferAmount (#324)
Prevent variables from having similar names.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#114-117)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#120-123)
name() should be declared external:
- Chickenking.name() (#188-190)
symbol() should be declared external:
- Chickenking.symbol() (#192-194)
decimals() should be declared external:
- Chickenking.decimals() (#196-198)
totalSupply() should be declared external:
- Chickenking.totalSupply() (#200-202)
transfer(address,uint256) should be declared external:
- Chickenking.transfer(address,uint256) (#208-211)
allowance(address,address) should be declared external:
- Chickenking.allowance(address,address) (#213-215)
approve(address,uint256) should be declared external:
- Chickenking.approve(address,uint256) (#217-220)
transferFrom(address,address,uint256) should be declared external:
- Chickenking.transferFrom(address,address,uint256) (#222-226)
rescueForeignTokens(address,address,uint256) should be declared external:
- Chickenking.rescueForeignTokens(address,address,uint256) (#304-307)
setNewDevAddress(address) should be declared external:
- Chickenking.setNewDevAddress(address) (#310-314)
setNewMarketingAddress(address) should be declared external:
- Chickenking.setNewMarketingAddress(address) (#317-321)
toggleSwap(bool) should be declared external:
- Chickenking.toggleSwap(bool) (#391-393)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- Chickenking.excludeMultipleAccountsFromFees(address[],bool) (#395-399)
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.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 12% buy tax and 12% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Number of Binance Smart Chain (BSC) token holders is low.
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