Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Kinashi._transfer(address,address,uint256) (#1144-1284):
External calls:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
External calls sending eth:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
State variables written after the call(s):
- swapping = false (#1243)
Reentrancy in Kinashi._transfer(address,address,uint256) (#1144-1284):
External calls:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
- autoBurnLiquidityPairTokens() (#1247)
- pair.sync() (#1391)
External calls sending eth:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
State variables written after the call(s):
- autoBurnLiquidityPairTokens() (#1247)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#378)
- _balances[recipient] = _balances[recipient].add(amount) (#379)
- super._transfer(from,address(this),fees) (#1277)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#378)
- _balances[recipient] = _balances[recipient].add(amount) (#379)
- super._transfer(from,to,amount) (#1283)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#378)
- _balances[recipient] = _balances[recipient].add(amount) (#379)
- tokensForDev += fees * sellDevFee / sellTotalFees (#1265)
- tokensForDev += fees * buyDevFee / buyTotalFees (#1272)
- tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1264)
- tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1271)
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1266)
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1273)
Apply the check-effects-interactions pattern.
Additional information: link
Kinashi.swapBack() (#1323-1364) uses a dangerous strict equality:
- contractBalance == 0 || totalTokensToSwap == 0 (#1328)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Kinashi.setAutoLPBurnSettings(uint256,uint256,bool) (#1366-1372) contains a tautology or contradiction:
- require(bool,string)(_percent <= 1000 && _percent >= 0,Must set auto LP burn percent between 0% and 10%) (#1368)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#742) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#743)
Prevent variables from having similar names.
Additional information: link
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1263)
-tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees (#1264)
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1263)
-tokensForDev += fees * sellDevFee / sellTotalFees (#1265)
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1263)
-tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1266)
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1270)
-tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees (#1271)
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1270)
-tokensForDev += fees * buyDevFee / buyTotalFees (#1272)
Kinashi._transfer(address,address,uint256) (#1144-1284) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1270)
-tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1273)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Kinashi.swapBack() (#1323-1364):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1340)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
State variables written after the call(s):
- tokensForDev = 0 (#1353)
- tokensForLiquidity = 0 (#1351)
- tokensForMarketing = 0 (#1352)
Apply the check-effects-interactions pattern.
Additional information: link
Kinashi._transfer(address,address,uint256) (#1144-1284) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1172)
Do not use tx.origin for authorization.
Additional information: link
Kinashi.addLiquidity(uint256,uint256) (#1308-1321) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
Ensure that all the return values of the function calls are used.
Additional information: link
Kinashi.constructor().totalSupply (#982) shadows:
- ERC20.totalSupply() (#252-254) (function)
- IERC20.totalSupply() (#102) (function)
Rename the local variables that shadow another component.
Additional information: link
Kinashi.updateSwapTokensAtAmount(uint256) (#1062-1067) should emit an event for:
- swapTokensAtAmount = newAmount (#1065)
Kinashi.updateMaxTxnAmount(uint256) (#1069-1072) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 18) (#1071)
Kinashi.updateMaxWalletAmount(uint256) (#1074-1077) should emit an event for:
- maxWallet = newNum * (10 ** 18) (#1076)
Kinashi.updateBuyFees(uint256,uint256,uint256) (#1088-1094) should emit an event for:
- buyMarketingFee = _marketingFee (#1089)
- buyLiquidityFee = _liquidityFee (#1090)
- buyDevFee = _devFee (#1091)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee (#1092)
Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256) (#1096-1104) should emit an event for:
- sellMarketingFee = _marketingFee (#1097)
- sellLiquidityFee = _liquidityFee (#1098)
- sellDevFee = _devFee (#1099)
- earlySellLiquidityFee = _earlySellLiquidityFee (#1100)
- earlySellMarketingFee = _earlySellMarketingFee (#1101)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee (#1102)
Kinashi.setAutoLPBurnSettings(uint256,uint256,bool) (#1366-1372) should emit an event for:
- lpBurnFrequency = _frequencyInSeconds (#1369)
- percentForLPBurn = _percent (#1370)
Emit an event for critical parameter changes.
Additional information: link
Kinashi.setAutoLpReceiver(address).receiver (#1047) lacks a zero-check on :
- deadAddress = receiver (#1048)
Kinashi.updateMarketingWallet(address).newMarketingWallet (#1127) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1129)
Kinashi.updateDevWallet(address).newWallet (#1132) lacks a zero-check on :
- devWallet = newWallet (#1134)
Check that the address is not zero.
Additional information: link
Reentrancy in Kinashi.constructor() (#960-1018):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#967)
State variables written after the call(s):
- _mint(msg.sender,totalSupply) (#1017)
- _balances[account] = _balances[account].add(amount) (#398)
- excludeFromFees(owner(),true) (#1005)
- _isExcludedFromFees[account] = excluded (#1107)
- excludeFromFees(address(this),true) (#1006)
- _isExcludedFromFees[account] = excluded (#1107)
- excludeFromFees(address(0xdead),true) (#1007)
- _isExcludedFromFees[account] = excluded (#1107)
- excludeFromMaxTransaction(address(uniswapV2Pair),true) (#968)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1080)
- excludeFromMaxTransaction(owner(),true) (#1009)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1080)
- excludeFromMaxTransaction(address(this),true) (#1010)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1080)
- excludeFromMaxTransaction(address(0xdead),true) (#1011)
- _isExcludedMaxTransactionAmount[updAds] = isEx (#1080)
- _mint(msg.sender,totalSupply) (#1017)
- _totalSupply = _totalSupply.add(amount) (#397)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#969)
- automatedMarketMakerPairs[pair] = value (#1122)
- buyDevFee = _buyDevFee (#990)
- buyLiquidityFee = _buyLiquidityFee (#989)
- buyMarketingFee = _buyMarketingFee (#988)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee (#991)
- devWallet = address(owner()) (#1002)
- earlySellLiquidityFee = _earlySellLiquidityFee (#998)
- earlySellMarketingFee = _earlySellMarketingFee (#999)
- marketingWallet = address(owner()) (#1001)
- maxTransactionAmount = totalSupply * 2 / 1000 (#984)
- maxWallet = totalSupply * 9 / 1000 (#985)
- sellDevFee = _sellDevFee (#995)
- sellLiquidityFee = _sellLiquidityFee (#994)
- sellMarketingFee = _sellMarketingFee (#993)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee (#996)
- swapTokensAtAmount = totalSupply * 5 / 10000 (#986)
Reentrancy in Kinashi.swapBack() (#1323-1364):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1340)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
External calls sending eth:
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- _allowances[owner][spender] = amount (#444)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Kinashi._transfer(address,address,uint256) (#1144-1284):
External calls:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
- autoBurnLiquidityPairTokens() (#1247)
- pair.sync() (#1391)
External calls sending eth:
- swapBack() (#1241)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
Event emitted after the call(s):
- AutoNukeLP() (#1392)
- autoBurnLiquidityPairTokens() (#1247)
- Transfer(sender,recipient,amount) (#380)
- super._transfer(from,address(this),fees) (#1277)
- Transfer(sender,recipient,amount) (#380)
- super._transfer(from,to,amount) (#1283)
- Transfer(sender,recipient,amount) (#380)
- autoBurnLiquidityPairTokens() (#1247)
Reentrancy in Kinashi.autoBurnLiquidityPairTokens() (#1374-1394):
External calls:
- pair.sync() (#1391)
Event emitted after the call(s):
- AutoNukeLP() (#1392)
Reentrancy in Kinashi.constructor() (#960-1018):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#967)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1108)
- excludeFromFees(address(this),true) (#1006)
- ExcludeFromFees(account,excluded) (#1108)
- excludeFromFees(address(0xdead),true) (#1007)
- ExcludeFromFees(account,excluded) (#1108)
- excludeFromFees(owner(),true) (#1005)
- SetAutomatedMarketMakerPair(pair,value) (#1124)
- _setAutomatedMarketMakerPair(address(uniswapV2Pair),true) (#969)
- Transfer(address(0),account,amount) (#399)
- _mint(msg.sender,totalSupply) (#1017)
Reentrancy in Kinashi.manualBurnLiquidityPairTokens(uint256) (#1396-1417):
External calls:
- pair.sync() (#1414)
Event emitted after the call(s):
- ManualNukeLP() (#1415)
Reentrancy in Kinashi.swapBack() (#1323-1364):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1340)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1296-1302)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
External calls sending eth:
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1313-1320)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#445)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1358)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1359)
Apply the check-effects-interactions pattern.
Additional information: link
Kinashi._transfer(address,address,uint256) (#1144-1284) uses timestamp for comparisons
Dangerous comparisons:
- _holderFirstBuyTimestamp[from] != 0 && (_holderFirstBuyTimestamp[from] + (86400) >= block.timestamp) (#1205-1206)
- ! swapping && automatedMarketMakerPairs[to] && lpBurnEnabled && block.timestamp >= lastLpBurnTime + lpBurnFrequency && ! _isExcludedFromFees[from] (#1246)
Kinashi.manualBurnLiquidityPairTokens(uint256) (#1396-1417) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > lastManualLpBurnTime + manualBurnFrequency,Must wait for cooldown to finish) (#1397)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#25-28) is never used and should be removed
ERC20._burn(address,uint256) (#413-421) is never used and should be removed
SafeMath.mod(uint256,uint256) (#590-592) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#606-609) is never used and should be removed
SafeMathInt.abs(int256) (#714-717) is never used and should be removed
SafeMathInt.add(int256,int256) (#705-709) is never used and should be removed
SafeMathInt.div(int256,int256) (#685-691) is never used and should be removed
SafeMathInt.mul(int256,int256) (#673-680) is never used and should be removed
SafeMathInt.sub(int256,int256) (#696-700) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#720-723) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#727-731) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.9 (#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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 Kinashi.swapBack() (#1323-1364):
- (success,None) = address(devWallet).call{value: ethForDev}() (#1355)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1363)
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() (#46) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#47) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#64) is not in mixedCase
Function IUniswapV2Router01.WETH() (#737) is not in mixedCase
Event KinashimarketingWalletUpdated(address,address) (#946) is not in CapWords
Event KinashidevWalletUpdated(address,address) (#948) is not in CapWords
Parameter Kinashi.updateBuyFees(uint256,uint256,uint256)._marketingFee (#1088) is not in mixedCase
Parameter Kinashi.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#1088) is not in mixedCase
Parameter Kinashi.updateBuyFees(uint256,uint256,uint256)._devFee (#1088) is not in mixedCase
Parameter Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256)._marketingFee (#1096) is not in mixedCase
Parameter Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#1096) is not in mixedCase
Parameter Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256)._devFee (#1096) is not in mixedCase
Parameter Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256)._earlySellLiquidityFee (#1096) is not in mixedCase
Parameter Kinashi.updateSellFees(uint256,uint256,uint256,uint256,uint256)._earlySellMarketingFee (#1096) is not in mixedCase
Parameter Kinashi.setAutoLPBurnSettings(uint256,uint256,bool)._frequencyInSeconds (#1366) is not in mixedCase
Parameter Kinashi.setAutoLPBurnSettings(uint256,uint256,bool)._percent (#1366) is not in mixedCase
Parameter Kinashi.setAutoLPBurnSettings(uint256,uint256,bool)._Enabled (#1366) is not in mixedCase
Variable Kinashi._isExcludedMaxTransactionAmount (#934) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#26)" inContext (#20-29)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Kinashi.updateSwapTokensAtAmount(uint256) (#1062-1067) uses literals with too many digits:
- require(bool,string)(newAmount >= totalSupply() * 1 / 100000,Swap amount cannot be lower than 0.001% total supply.) (#1063)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#668) is never used in SafeMathInt (#666-724)
Remove unused state variables.
Additional information: link
Kinashi.manualBurnFrequency (#892) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#220-222)
symbol() should be declared external:
- ERC20.symbol() (#228-230)
decimals() should be declared external:
- ERC20.decimals() (#245-247)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#271-274)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#279-281)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#290-293)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#308-316)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#330-333)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#349-352)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#648-651)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#657-661)
blacklistAccount(address,bool) should be declared external:
- Kinashi.blacklistAccount(address,bool) (#1111-1113)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- Kinashi.setAutomatedMarketMakerPair(address,bool) (#1115-1119)
isExcludedFromFees(address) should be declared external:
- Kinashi.isExcludedFromFees(address) (#1138-1140)
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 10% buy tax and 17% 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