Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in KittyGirl._transfer(address,address,uint256) (#1317-1455):
External calls:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
External calls sending eth:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
State variables written after the call(s):
- swapping = false (#1409)
Reentrancy in KittyGirl._transfer(address,address,uint256) (#1317-1455):
External calls:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
- autoBurnLiquidityPairTokens() (#1419)
- pair.sync() (#1580)
External calls sending eth:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
State variables written after the call(s):
- autoBurnLiquidityPairTokens() (#1419)
- _balances[sender] = senderBalance - amount (#467)
- _balances[recipient] += amount (#469)
- super._transfer(from,address(this),fees) (#1448)
- _balances[sender] = senderBalance - amount (#467)
- _balances[recipient] += amount (#469)
- super._transfer(from,to,amount) (#1454)
- _balances[sender] = senderBalance - amount (#467)
- _balances[recipient] += amount (#469)
- tokensForDev += (fees * sellDevFee) / sellTotalFees (#1436)
- tokensForDev += (fees * buyDevFee) / buyTotalFees (#1443)
- tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1435)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1442)
- tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1437)
- tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1444)
Apply the check-effects-interactions pattern.
Additional information: link
KittyGirl.swapBack() (#1490-1542) uses a dangerous strict equality:
- contractBalance == 0 || totalTokensToSwap == 0 (#1497)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
KittyGirl.setAutoLPBurnSettings(uint256,uint256,bool) (#1544-1560) contains a tautology or contradiction:
- require(bool,string)(_percent <= 1000 && _percent >= 0,Must set auto LP burn percent between 0% and 10%) (#1553-1556)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1434)
-tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1435)
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1434)
-tokensForDev += (fees * sellDevFee) / sellTotalFees (#1436)
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1434)
-tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1437)
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1441)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1442)
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1441)
-tokensForDev += (fees * buyDevFee) / buyTotalFees (#1443)
KittyGirl._transfer(address,address,uint256) (#1317-1455) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1441)
-tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1444)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in KittyGirl.swapBack() (#1490-1542):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1513)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
State variables written after the call(s):
- tokensForDev = 0 (#1526)
- tokensForLiquidity = 0 (#1524)
- tokensForMarketing = 0 (#1525)
Apply the check-effects-interactions pattern.
Additional information: link
KittyGirl._transfer(address,address,uint256) (#1317-1455) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1352-1356)
Do not use tx.origin for authorization.
Additional information: link
KittyGirl.addLiquidity(uint256,uint256) (#1475-1488) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
Ensure that all the return values of the function calls are used.
Additional information: link
KittyGirl.constructor().totalSupply (#1149) shadows:
- ERC20.totalSupply() (#327-329) (function)
- IERC20.totalSupply() (#134) (function)
Rename the local variables that shadow another component.
Additional information: link
KittyGirl.updateSwapTokensAtAmount(uint256) (#1206-1221) should emit an event for:
- swapTokensAtAmount = newAmount (#1219)
KittyGirl.updateMaxTxnAmount(uint256) (#1223-1229) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 18) (#1228)
KittyGirl.updateMaxWalletAmount(uint256) (#1231-1237) should emit an event for:
- maxWallet = newNum * (10 ** 18) (#1236)
KittyGirl.updateBuyFees(uint256,uint256,uint256) (#1251-1261) should emit an event for:
- buyMarketingFee = _marketingFee (#1256)
- buyLiquidityFee = _liquidityFee (#1257)
- buyDevFee = _devFee (#1258)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee (#1259)
KittyGirl.updateSellFees(uint256,uint256,uint256) (#1263-1273) should emit an event for:
- sellMarketingFee = _marketingFee (#1268)
- sellLiquidityFee = _liquidityFee (#1269)
- sellDevFee = _devFee (#1270)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee (#1271)
KittyGirl.setAutoLPBurnSettings(uint256,uint256,bool) (#1544-1560) should emit an event for:
- lpBurnFrequency = _frequencyInSeconds (#1557)
- percentForLPBurn = _percent (#1558)
Emit an event for critical parameter changes.
Additional information: link
KittyGirl.updateMarketingWallet(address).newMarketingWallet (#1298) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1303)
KittyGirl.updateDevWallet(address).newWallet (#1306) lacks a zero-check on :
- devWallet = newWallet (#1308)
Check that the address is not zero.
Additional information: link
Reentrancy in KittyGirl.constructor() (#1128-1182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1136-1137)
State variables written after the call(s):
- _mint(msg.sender,totalSupply) (#1181)
- _balances[account] += amount (#491)
- excludeFromFees(owner(),true) (#1169)
- _isExcludedFromFees[account] = excluded (#1276)
- excludeFromFees(address(this),true) (#1170)
- _isExcludedFromFees[account] = excluded (#1276)
- excludeFromFees(address(0xdead),true) (#1171)
- _isExcludedFromFees[account] = excluded (#1276)
- excludeFromMaxTransaction(address(uniswapV2Pair),true) (#1138)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1243)
- excludeFromMaxTransaction(owner(),true) (#1173)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1243)
- excludeFromMaxTransaction(address(this),true) (#1174)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1243)
- excludeFromMaxTransaction(address(0xdead),true) (#1175)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1243)
- _mint(msg.sender,totalSupply) (#1181)
- _totalSupply += amount (#490)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1139)
- automatedMarketMakerPairs[pair] = value (#1293)
- buyDevFee = _buyDevFee (#1157)
- buyLiquidityFee = _buyLiquidityFee (#1156)
- buyMarketingFee = _buyMarketingFee (#1155)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee (#1158)
- devWallet = address(0xcAe3de63454Ecdc7e3B38D1bBFa8eC46E3AFaFf9) (#1166)
- marketingWallet = address(0xAA70d04dE2DcC9feBEB5D6dFe00EFEcb3769D95B) (#1165)
- maxTransactionAmount = 10_000_000 * 1e18 (#1151)
- maxWallet = 20_000_000 * 1e18 (#1152)
- sellDevFee = _sellDevFee (#1162)
- sellLiquidityFee = _sellLiquidityFee (#1161)
- sellMarketingFee = _sellMarketingFee (#1160)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee (#1163)
- swapTokensAtAmount = (totalSupply * 5) / 10000 (#1153)
Reentrancy in KittyGirl.swapBack() (#1490-1542):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1513)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
External calls sending eth:
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- _allowances[owner][spender] = amount (#546)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in KittyGirl._transfer(address,address,uint256) (#1317-1455):
External calls:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
- autoBurnLiquidityPairTokens() (#1419)
- pair.sync() (#1580)
External calls sending eth:
- swapBack() (#1407)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
Event emitted after the call(s):
- AutoNukeLP() (#1581)
- autoBurnLiquidityPairTokens() (#1419)
- Transfer(sender,recipient,amount) (#471)
- autoBurnLiquidityPairTokens() (#1419)
- Transfer(sender,recipient,amount) (#471)
- super._transfer(from,address(this),fees) (#1448)
- Transfer(sender,recipient,amount) (#471)
- super._transfer(from,to,amount) (#1454)
Reentrancy in KittyGirl.autoBurnLiquidityPairTokens() (#1562-1583):
External calls:
- pair.sync() (#1580)
Event emitted after the call(s):
- AutoNukeLP() (#1581)
Reentrancy in KittyGirl.constructor() (#1128-1182):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1136-1137)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1277)
- excludeFromFees(address(this),true) (#1170)
- ExcludeFromFees(account,excluded) (#1277)
- excludeFromFees(address(0xdead),true) (#1171)
- ExcludeFromFees(account,excluded) (#1277)
- excludeFromFees(owner(),true) (#1169)
- SetAutomatedMarketMakerPair(pair,value) (#1295)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#1139)
- Transfer(address(0),account,amount) (#492)
- _mint(msg.sender,totalSupply) (#1181)
Reentrancy in KittyGirl.manualBurnLiquidityPairTokens(uint256) (#1585-1613):
External calls:
- pair.sync() (#1610)
Event emitted after the call(s):
- ManualNukeLP() (#1611)
Reentrancy in KittyGirl.swapBack() (#1490-1542):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1513)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1466-1472)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
External calls sending eth:
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1480-1487)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#547)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1531)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1532-1536)
Apply the check-effects-interactions pattern.
Additional information: link
KittyGirl._transfer(address,address,uint256) (#1317-1455) uses timestamp for comparisons
Dangerous comparisons:
- ! swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && ! _isExcludedFromFees[from] (#1413-1417)
KittyGirl.manualBurnLiquidityPairTokens(uint256) (#1585-1613) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > lastManualLpBurnTime + manualBurnFrequency,Must wait for cooldown to finish) (#1590-1593)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#40-42) is never used and should be removed
ERC20._burn(address,uint256) (#508-523) is never used and should be removed
SafeMath.add(uint256,uint256) (#683-685) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#781-790) is never used and should be removed
SafeMath.mod(uint256,uint256) (#741-743) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#807-816) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#758-767) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#612-618) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#654-659) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#666-671) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#637-647) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#625-630) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version=0.8.10>=0.8.10>=0.8.0<0.9.0 (#17) is too complex
solc-0.8.10 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in KittyGirl.swapBack() (#1490-1542):
- (success,None) = address(devWallet).call{value: ethForDev}() (#1528)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1539-1541)
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() (#890) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#892) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#923) is not in mixedCase
Function IUniswapV2Router02.WETH() (#973) is not in mixedCase
Event KittyGirlmarketingWalletUpdated(address,address) (#1108-1111) is not in CapWords
Event KittyGirldevWalletUpdated(address,address) (#1113-1116) is not in CapWords
Parameter KittyGirl.updateBuyFees(uint256,uint256,uint256)._marketingFee (#1252) is not in mixedCase
Parameter KittyGirl.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#1253) is not in mixedCase
Parameter KittyGirl.updateBuyFees(uint256,uint256,uint256)._devFee (#1254) is not in mixedCase
Parameter KittyGirl.updateSellFees(uint256,uint256,uint256)._marketingFee (#1264) is not in mixedCase
Parameter KittyGirl.updateSellFees(uint256,uint256,uint256)._liquidityFee (#1265) is not in mixedCase
Parameter KittyGirl.updateSellFees(uint256,uint256,uint256)._devFee (#1266) is not in mixedCase
Parameter KittyGirl.setAutoLPBurnSettings(uint256,uint256,bool)._frequencyInSeconds (#1545) is not in mixedCase
Parameter KittyGirl.setAutoLPBurnSettings(uint256,uint256,bool)._percent (#1546) is not in mixedCase
Parameter KittyGirl.setAutoLPBurnSettings(uint256,uint256,bool)._Enabled (#1547) is not in mixedCase
Constant KittyGirl.deadAddress (#1048) is not in UPPER_CASE_WITH_UNDERSCORES
Variable KittyGirl._isExcludedMaxTransactionAmount (#1093) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#978) is too similar to IUniswapV2Router02.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#979)
Prevent variables from having similar names.
Additional information: link
KittyGirl.updateSwapTokensAtAmount(uint256) (#1206-1221) uses literals with too many digits:
- require(bool,string)(newAmount >= (totalSupply() * 1) / 100000,Swap amount cannot be lower than 0.001% total supply.) (#1211-1214)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
KittyGirl.manualBurnFrequency (#1064) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#98-100)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#106-109)
name() should be declared external:
- ERC20.name() (#295-297)
symbol() should be declared external:
- ERC20.symbol() (#303-305)
decimals() should be declared external:
- ERC20.decimals() (#320-322)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#346-349)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#354-356)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#365-368)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#383-397)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#411-414)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#430-438)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- KittyGirl.setAutomatedMarketMakerPair(address,bool) (#1280-1290)
isExcludedFromFees(address) should be declared external:
- KittyGirl.isExcludedFromFees(address) (#1311-1313)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is low.
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 7% buy tax and 7% 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