Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BillionaireKitten.addLiquidity(uint256,uint256) (#711-723) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BillionaireKitten._transfer(address,address,uint256) (#634-664):
External calls:
- swapAndLiquify(contractTokenBalance) (#654)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#654)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- _rBalance[sender] = _rBalance[sender].sub(amount,Insufficient Balance) (#656)
- _rBalance[recipient] = _rBalance[recipient].add(finalAmount) (#660)
- finalAmount = takeFee(sender,recipient,amount) (#657)
- _rBalance[address(this)] = _rBalance[address(this)].add(feeAmount) (#743)
Apply the check-effects-interactions pattern.
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.
Contract ticker (Billion Kitten) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
BillionaireKitten.addLiquidity(uint256,uint256) (#711-723) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Ensure that all the return values of the function calls are used.
Additional information: link
BillionaireKitten.allowance(address,address).owner (#493) shadows:
- Ownable.owner() (#154-156) (function)
BillionaireKitten._approve(address,address,uint256).owner (#514) shadows:
- Ownable.owner() (#154-156) (function)
Rename the local variables that shadow another component.
Additional information: link
BillionaireKitten.setBuyTaxes(uint256,uint256,uint256) (#534-540) should emit an event for:
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#539)
BillionaireKitten.setSelTaxes(uint256,uint256,uint256) (#542-548) should emit an event for:
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#547)
BillionaireKitten.setDistributionSettings(uint256,uint256,uint256) (#550-556) should emit an event for:
- _liquidityShare = newLiquidityShare (#551)
- _teamShare = newTeamShare (#553)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#555)
BillionaireKitten.setMaxTxAmount(uint256) (#558-560) should emit an event for:
- _maxTxAmount = maxTxAmount (#559)
BillionaireKitten.setWalletLimit(uint256) (#570-572) should emit an event for:
- _walletMax = newLimit (#571)
BillionaireKitten.setNumTokensBeforeSwap(uint256) (#574-576) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#575)
Emit an event for critical parameter changes.
Additional information: link
BillionaireKitten.setMarketingWalletAddress(address).newAddress (#578) lacks a zero-check on :
- marketingWalletAddress = address(newAddress) (#579)
BillionaireKitten.setTeamWalletAddress(address).newAddress (#582) lacks a zero-check on :
- teamWalletAddress = address(newAddress) (#583)
Check that the address is not zero.
Additional information: link
Reentrancy in BillionaireKitten.changeRouterVersion(address) (#603-619):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#611)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#618)
- isWalletLimitExempt[address(uniswapPair)] = true (#617)
- uniswapPair = newPairAddress (#614)
- uniswapV2Router = _uniswapV2Router (#615)
Reentrancy in BillionaireKitten.constructor() (#457-486):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#462-463)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#466)
- _rBalance[_msgSender()] = _totalSupply (#484)
- _totalDistributionShares = _liquidityShare.add(_marketingShare).add(_teamShare) (#473)
- _totalTaxIfBuying = _buyLiquidityFee.add(_buyMarketingFee).add(_buyTeamFee) (#471)
- _totalTaxIfSelling = _sellLiquidityFee.add(_sellMarketingFee).add(_sellTeamFee) (#472)
- isExcludedFromFee[owner()] = true (#468)
- isExcludedFromFee[address(this)] = true (#469)
- isMarketPair[address(uniswapPair)] = true (#482)
- isTxLimitExempt[owner()] = true (#479)
- isTxLimitExempt[address(this)] = true (#480)
- isWalletLimitExempt[owner()] = true (#475)
- isWalletLimitExempt[address(uniswapPair)] = true (#476)
- isWalletLimitExempt[address(this)] = true (#477)
- uniswapV2Router = _uniswapV2Router (#465)
Reentrancy in BillionaireKitten.swapAndLiquify(uint256) (#673-692):
External calls:
- swapTokensForEth(tokensForSwap) (#677)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#687)
- recipient.transfer(amount) (#600)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#689)
- recipient.transfer(amount) (#600)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- _allowances[owner][spender] = amount (#518)
Reentrancy in BillionaireKitten.transferFrom(address,address,uint256) (#628-632):
External calls:
- _transfer(sender,recipient,amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
External calls sending eth:
- _transfer(sender,recipient,amount) (#629)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#630)
- _allowances[owner][spender] = amount (#518)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BillionaireKitten._transfer(address,address,uint256) (#634-664):
External calls:
- swapAndLiquify(contractTokenBalance) (#654)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#654)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#744)
- finalAmount = takeFee(sender,recipient,amount) (#657)
- Transfer(sender,recipient,finalAmount) (#661)
Reentrancy in BillionaireKitten.constructor() (#457-486):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#462-463)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#485)
Reentrancy in BillionaireKitten.swapAndLiquify(uint256) (#673-692):
External calls:
- swapTokensForEth(tokensForSwap) (#677)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#687)
- recipient.transfer(amount) (#600)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#689)
- recipient.transfer(amount) (#600)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#519)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
Reentrancy in BillionaireKitten.swapTokensForEth(uint256) (#694-709):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#708)
Reentrancy in BillionaireKitten.transferFrom(address,address,uint256) (#628-632):
External calls:
- _transfer(sender,recipient,amount) (#629)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#701-707)
External calls sending eth:
- _transfer(sender,recipient,amount) (#629)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#519)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#630)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#86-95) uses assembly
- INLINE ASM (#93)
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) uses assembly
- INLINE ASM (#131-134)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#122-139) is never used and should be removed
Address.functionCall(address,bytes) (#105-107) is never used and should be removed
Address.functionCall(address,bytes,string) (#109-111) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#113-115) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#117-120) is never used and should be removed
Address.isContract(address) (#86-95) is never used and should be removed
Address.sendValue(address,uint256) (#97-103) is never used and should be removed
Context._msgData() (#14-17) is never used and should be removed
SafeMath.mod(uint256,uint256) (#74-76) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#78-81) is never used and should be removed
Remove unused functions.
Additional information: link
BillionaireKitten._totalSupply (#418) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
BillionaireKitten._maxTxAmount (#419) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
BillionaireKitten._walletMax (#420) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
BillionaireKitten.minimumTokensBeforeSwap (#421) is set pre-construction with a non-constant function or state variable:
- 1 * 10 ** _decimals
BillionaireKitten._Deci (#422) is set pre-construction with a non-constant function or state variable:
- (10 ** _decimals)
BillionaireKitten._rSupply (#424) is set pre-construction with a non-constant function or state variable:
- _supplyAmount * _Deci
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) (#97-103):
- (success) = recipient.call{value: amount}() (#101)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#122-139):
- (success,returndata) = target.call{value: weiValue}(data) (#125)
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() (#211) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#212) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#228) is not in mixedCase
Function IUniswapV2Router01.WETH() (#247) is not in mixedCase
Parameter BillionaireKitten.setSwapAndLiquifyEnabled(bool)._enabled (#586) is not in mixedCase
Parameter BillionaireKitten.setblocklist(address)._account (#725) is not in mixedCase
Variable BillionaireKitten._rBalance (#393) is not in mixedCase
Variable BillionaireKitten._buyLiquidityFee (#402) is not in mixedCase
Variable BillionaireKitten._buyMarketingFee (#403) is not in mixedCase
Variable BillionaireKitten._buyTeamFee (#404) is not in mixedCase
Variable BillionaireKitten._sellLiquidityFee (#406) is not in mixedCase
Variable BillionaireKitten._sellMarketingFee (#407) is not in mixedCase
Variable BillionaireKitten._sellTeamFee (#408) is not in mixedCase
Variable BillionaireKitten._liquidityShare (#410) is not in mixedCase
Variable BillionaireKitten._marketingShare (#411) is not in mixedCase
Variable BillionaireKitten._teamShare (#412) is not in mixedCase
Variable BillionaireKitten._totalTaxIfBuying (#414) is not in mixedCase
Variable BillionaireKitten._totalTaxIfSelling (#415) is not in mixedCase
Variable BillionaireKitten._totalDistributionShares (#416) is not in mixedCase
Variable BillionaireKitten._maxTxAmount (#419) is not in mixedCase
Variable BillionaireKitten._walletMax (#420) is not in mixedCase
Variable BillionaireKitten._Deci (#422) is not in mixedCase
Variable BillionaireKitten._supplyAmount (#423) is not in mixedCase
Variable BillionaireKitten._rSupply (#424) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#15)" inContext (#10-18)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in BillionaireKitten._transfer(address,address,uint256) (#634-664):
External calls:
- swapAndLiquify(contractTokenBalance) (#654)
- recipient.transfer(amount) (#600)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#654)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- _rBalance[sender] = _rBalance[sender].sub(amount,Insufficient Balance) (#656)
- _rBalance[recipient] = _rBalance[recipient].add(finalAmount) (#660)
- finalAmount = takeFee(sender,recipient,amount) (#657)
- _rBalance[address(this)] = _rBalance[address(this)].add(feeAmount) (#743)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#744)
- finalAmount = takeFee(sender,recipient,amount) (#657)
- Transfer(sender,recipient,finalAmount) (#661)
Reentrancy in BillionaireKitten.swapAndLiquify(uint256) (#673-692):
External calls:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#687)
- recipient.transfer(amount) (#600)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#689)
- recipient.transfer(amount) (#600)
External calls sending eth:
- transferToAddressETH(marketingWalletAddress,amountBNBMarketing) (#687)
- recipient.transfer(amount) (#600)
- transferToAddressETH(teamWalletAddress,amountBNBTeam) (#689)
- recipient.transfer(amount) (#600)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
- _allowances[owner][spender] = amount (#518)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#519)
- addLiquidity(tokensForLP,amountBNBLiquidity) (#691)
Reentrancy in BillionaireKitten.transferFrom(address,address,uint256) (#628-632):
External calls:
- _transfer(sender,recipient,amount) (#629)
- recipient.transfer(amount) (#600)
External calls sending eth:
- _transfer(sender,recipient,amount) (#629)
- recipient.transfer(amount) (#600)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#715-722)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#630)
- _allowances[owner][spender] = amount (#518)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#519)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#630)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#252) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#253)
Prevent variables from having similar names.
Additional information: link
Ownable.waiveOwnership() (#163-166) uses literals with too many digits:
- OwnershipTransferred(_owner,address(0x000000000000000000000000000000000000dEaD)) (#164)
Ownable.waiveOwnership() (#163-166) uses literals with too many digits:
- _owner = address(0x000000000000000000000000000000000000dEaD) (#165)
BillionaireKitten.slitherConstructorVariables() (#380-749) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#391)
BillionaireKitten.slitherConstructorVariables() (#380-749) uses literals with too many digits:
- _totalSupply = 10000000000 * 10 ** _decimals (#418)
BillionaireKitten.slitherConstructorVariables() (#380-749) uses literals with too many digits:
- _maxTxAmount = 10000000000 * 10 ** _decimals (#419)
BillionaireKitten.slitherConstructorVariables() (#380-749) uses literals with too many digits:
- _walletMax = 10000000000 * 10 ** _decimals (#420)
BillionaireKitten.slitherConstructorVariables() (#380-749) uses literals with too many digits:
- _supplyAmount = 10000000000000 (#423)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._lockTime (#144) is never used in BillionaireKitten (#380-749)
Remove unused state variables.
Additional information: link
BillionaireKitten._decimals (#387) should be constant
BillionaireKitten._name (#385) should be constant
BillionaireKitten._supplyAmount (#423) should be constant
BillionaireKitten._symbol (#386) should be constant
Ownable._lockTime (#144) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#163-166)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#168-172)
getTime() should be declared external:
- Ownable.getTime() (#174-176)
name() should be declared external:
- BillionaireKitten.name() (#488)
symbol() should be declared external:
- BillionaireKitten.symbol() (#489)
decimals() should be declared external:
- BillionaireKitten.decimals() (#490)
totalSupply() should be declared external:
- BillionaireKitten.totalSupply() (#491)
allowance(address,address) should be declared external:
- BillionaireKitten.allowance(address,address) (#493)
initializeAllowance() should be declared external:
- BillionaireKitten.initializeAllowance() (#494)
increaseAllowance(address,uint256) should be declared external:
- BillionaireKitten.increaseAllowance(address,uint256) (#495-498)
decreaseAllowance(address,uint256) should be declared external:
- BillionaireKitten.decreaseAllowance(address,uint256) (#500-503)
minimumTokensBeforeSwapAmount() should be declared external:
- BillionaireKitten.minimumTokensBeforeSwapAmount() (#505-507)
approve(address,uint256) should be declared external:
- BillionaireKitten.approve(address,uint256) (#509-512)
setMarketPairStatus(address,bool) should be declared external:
- BillionaireKitten.setMarketPairStatus(address,bool) (#522-524)
setIsExcludedFromFee(address,bool) should be declared external:
- BillionaireKitten.setIsExcludedFromFee(address,bool) (#530-532)
setSwapAndLiquifyEnabled(bool) should be declared external:
- BillionaireKitten.setSwapAndLiquifyEnabled(bool) (#586-589)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- BillionaireKitten.setSwapAndLiquifyByLimitOnly(bool) (#591-593)
getCirculatingSupply() should be declared external:
- BillionaireKitten.getCirculatingSupply() (#595-597)
changeRouterVersion(address) should be declared external:
- BillionaireKitten.changeRouterVersion(address) (#603-619)
transfer(address,uint256) should be declared external:
- BillionaireKitten.transfer(address,uint256) (#622-626)
transferFrom(address,address,uint256) should be declared external:
- BillionaireKitten.transferFrom(address,address,uint256) (#628-632)
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 9% buy tax and 12% 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