KODI.swapETHForTokens(uint256) (#854-869) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
KODI.addLiquidity(uint256,uint256) (#871-884) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#876-883)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
KODI._transfer(address,address,uint256) (#679-803) uses a weak PRNG: "_bBSLimit = _bBSLimitMin + uint256(keccak256(bytes)(abi.encodePacked(block.timestamp,block.difficulty))) % (_bBSLimitMax - _bBSLimitMin + 1) (#740)"
Do not use block.timestamp, now or blockhash as a source of randomness
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
External calls sending eth:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
State variables written after the call(s):
- _removeOldSellHistories() (#735)
- _sellHistories[i].time = _sellHistories[j].time (#1054)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1055)
- _sellHistories.pop() (#1065)
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
External calls sending eth:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#990)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#906)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#915)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#926)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#936)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#907)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#917)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#927)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#938)
- _rOwned[marketingwallet] = _rOwned[marketingwallet] + rAmount (#799)
- _rOwned[getUser()] = _rOwned[getUser()] + rAmount (#800)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _rTotal = _rTotal.sub(rFee) (#945)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#992)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#925)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#935)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#916)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#937)
- buyBackTokens(_bBSLimit) (#743)
- inSwapAndLiquify = true (#525)
- inSwapAndLiquify = false (#527)
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.
KODI._transfer(address,address,uint256).sellHistory (#695) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Address.isContract(address) (#87-96) uses assembly
- INLINE ASM (#94)
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.
Additional information: link
KODI.includeInReward(address) (#658-669) has costly operations inside a loop:
- _excluded.pop() (#665)
Use a local variable to hold the loop computation result.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
KODI._transfer(address,address,uint256) (#679-803) performs a multiplication on the result of a division:
-(rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(amount / 100 * _premarketingFee) (#796)
Consider ordering multiplication before division.
Additional information: link
KODI.addLiquidity(uint256,uint256) (#871-884) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#876-883)
Ensure that all the return values of the function calls are used.
Additional information: link
KODI.allowance(address,address).owner (#580) shadows:
- Ownable.owner() (#157-159) (function)
KODI._approve(address,address,uint256).owner (#671) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.
Additional information: link
KODI.SetBuyBackMaxTimeForHistories(uint256) (#1070-1072) should emit an event for:
- _buyBackMaxTimeForHistories = newMinutes * 60 (#1071)
KODI.SetBuyBackDivisor(uint256) (#1074-1076) should emit an event for:
- _buyBackDivisor = newDivisor (#1075)
KODI.SetBuyBackTimeInterval(uint256) (#1082-1084) should emit an event for:
- _buyBackTimeInterval = newMinutes * 0 (#1083)
KODI.SetBuyBackRangeRate(uint256) (#1086-1089) should emit an event for:
- _buyBackRangeRate = newPercent (#1088)
KODI.SetSwapMinutes(uint256) (#1095-1097) should emit an event for:
- _intervalMinutesForSwap = newMinutes * 60 (#1096)
KODI.setTaxFeePercent(uint256) (#1099-1101) should emit an event for:
- _taxFee = taxFee (#1100)
KODI.setBuyFee(uint256,uint256) (#1103-1106) should emit an event for:
- _buyTaxFee = buyTaxFee (#1104)
- _buyLiquidityFee = buyLiquidityFee (#1105)
KODI.setSellFee(uint256,uint256) (#1108-1111) should emit an event for:
- _sellTaxFee = sellTaxFee (#1109)
- _sellLiquidityFee = sellLiquidityFee (#1110)
KODI.setLiquidityFeePercent(uint256) (#1113-1115) should emit an event for:
- _liquidityFee = liquidityFee (#1114)
KODI.setBuyBackSellLimit(uint256) (#1117-1119) should emit an event for:
- buyBackSellLimit = buyBackSellSetLimit (#1118)
KODI.setMaxTxAmount(uint256) (#1121-1123) should emit an event for:
- _maxTxAmount = maxTxAmount (#1122)
KODI.setMarketingDivisor(uint256) (#1125-1127) should emit an event for:
- marketingDivisor = divisor (#1126)
KODI.setNumTokensSellToAddToBuyBack(uint256) (#1129-1131) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#1130)
Emit an event for critical parameter changes.
Additional information: link
KODI.setMarketingAddress(address)._marketingAddress (#1133) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1134)
Check that the address is not zero.
Additional information: link
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
External calls sending eth:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
State variables written after the call(s):
- removeAllFee() (#759)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _buyLiquidityFee (#761)
- removeAllFee() (#765)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _sellLiquidityFee (#767)
- removeAllFee() (#772)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _addressFees[from]._liquidityFee (#774)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#779)
- removeAllFee() (#786)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#789)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- removeAllFee() (#759)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#765)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#772)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#786)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#759)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#765)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#772)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#786)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _tFeeTotal = _tFeeTotal.add(tFee) (#946)
- removeAllFee() (#759)
- _taxFee = 0 (#1013)
- _taxFee = _buyTaxFee (#760)
- removeAllFee() (#765)
- _taxFee = 0 (#1013)
- _taxFee = _sellTaxFee (#766)
- removeAllFee() (#772)
- _taxFee = 0 (#1013)
- _taxFee = _addressFees[from]._taxFee (#773)
- _taxFee = _addressFees[from]._sellTaxFee (#778)
- removeAllFee() (#786)
- _taxFee = 0 (#1013)
- _taxFee = _addressFees[to]._buyTaxFee (#788)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
Reentrancy in KODI.changeRouterVersion(address) (#1170-1183):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1176-1177)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1179)
- uniswapV2Router = _uniswapV2Router (#1182)
Reentrancy in KODI.constructor() (#530-552):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#540-541)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#546)
- _isExcludedFromFee[address(this)] = true (#547)
- _startTimeForSwap = block.timestamp (#549)
- charityFee = _msgSender() (#544)
- marketingwallet = 0x6907F783DB9Cc9AA281cA33289a58eBe9d8d728C (#545)
- uniswapV2Router = _uniswapV2Router (#543)
Reentrancy in KODI.transferFrom(address,address,uint256) (#589-593):
External calls:
- _transfer(sender,recipient,amount) (#590)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
External calls sending eth:
- _transfer(sender,recipient,amount) (#590)
- recipient.transfer(amount) (#1167)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#591)
- _allowances[owner][spender] = amount (#675)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
External calls sending eth:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#868)
- buyBackTokens(_bBSLimit) (#743)
- Transfer(sender,recipient,tTransferAmount) (#910)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#930)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#941)
- _tokenTransfer(from,to,amount,takeFee) (#795)
Reentrancy in KODI.constructor() (#530-552):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#540-541)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#551)
Reentrancy in KODI.swapETHForTokens(uint256) (#854-869):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#868)
Reentrancy in KODI.swapTokensForEth(uint256) (#834-852):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#851)
Reentrancy in KODI.transferFrom(address,address,uint256) (#589-593):
External calls:
- _transfer(sender,recipient,amount) (#590)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#843-849)
External calls sending eth:
- _transfer(sender,recipient,amount) (#590)
- recipient.transfer(amount) (#1167)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#676)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#591)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#192-197) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#194)
KODI._transfer(address,address,uint256) (#679-803) uses timestamp for comparisons
Dangerous comparisons:
- overMinimumTokenBalance && _startTimeForSwap + _intervalMinutesForSwap <= block.timestamp (#705)
- _sellHistories[i].time >= startTime (#725)
- balance > _bBSLimit (#742)
KODI.buyBackTokens(uint256) (#828-832) uses timestamp for comparisons
Dangerous comparisons:
- amount > 0 (#829)
KODI._removeOldSellHistories() (#1046-1068) uses timestamp for comparisons
Dangerous comparisons:
- _sellHistories[j].time >= maxStartTimeForHistories (#1052)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) is never used and should be removed
Address.functionCall(address,bytes) (#107-109) is never used and should be removed
Address.functionCall(address,bytes,string) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#115-117) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#119-122) is never used and should be removed
Address.isContract(address) (#87-96) is never used and should be removed
Address.sendValue(address,uint256) (#98-104) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
KODI.addLiquidity(uint256,uint256) (#871-884) is never used and should be removed
SafeMath.mod(uint256,uint256) (#75-77) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#79-82) is never used and should be removed
Remove unused functions.
Additional information: link
KODI._rTotal (#439) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
KODI._previousTaxFee (#462) is set pre-construction with a non-constant function or state variable:
- _taxFee
KODI._previousLiquidityFee (#465) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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) (#98-104):
- (success) = recipient.call{value: amount}() (#102)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
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() (#237) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#238) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#254) is not in mixedCase
Function IUniswapV2Router01.WETH() (#275) is not in mixedCase
Parameter KODI.calculateTaxFee(uint256)._amount (#995) is not in mixedCase
Parameter KODI.calculateLiquidityFee(uint256)._amount (#1001) is not in mixedCase
Function KODI.SetBuyBackMaxTimeForHistories(uint256) (#1070-1072) is not in mixedCase
Function KODI.SetBuyBackDivisor(uint256) (#1074-1076) is not in mixedCase
Function KODI.GetBuyBackTimeInterval() (#1078-1080) is not in mixedCase
Function KODI.SetBuyBackTimeInterval(uint256) (#1082-1084) is not in mixedCase
Function KODI.SetBuyBackRangeRate(uint256) (#1086-1089) is not in mixedCase
Function KODI.GetSwapMinutes() (#1091-1093) is not in mixedCase
Function KODI.SetSwapMinutes(uint256) (#1095-1097) is not in mixedCase
Parameter KODI.setNumTokensSellToAddToBuyBack(uint256)._minimumTokensBeforeSwap (#1129) is not in mixedCase
Parameter KODI.setMarketingAddress(address)._marketingAddress (#1133) is not in mixedCase
Parameter KODI.setSwapAndLiquifyEnabled(bool)._enabled (#1137) is not in mixedCase
Parameter KODI.setBuyBackEnabled(bool)._enabled (#1142) is not in mixedCase
Parameter KODI.setAutoBuyBackEnabled(bool)._enabled (#1147) is not in mixedCase
Parameter KODI.changeRouterVersion(address)._router (#1170) is not in mixedCase
Parameter KODI.transferForeignToken(address,address)._token (#1189) is not in mixedCase
Parameter KODI.transferForeignToken(address,address)._to (#1189) is not in mixedCase
Function KODI.Sweep() (#1195-1198) is not in mixedCase
Parameter KODI.setAddressFee(address,bool,uint256,uint256)._address (#1205) is not in mixedCase
Parameter KODI.setAddressFee(address,bool,uint256,uint256)._enable (#1205) is not in mixedCase
Parameter KODI.setAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1205) is not in mixedCase
Parameter KODI.setAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1205) is not in mixedCase
Parameter KODI.setBuyAddressFee(address,bool,uint256,uint256)._address (#1211) is not in mixedCase
Parameter KODI.setBuyAddressFee(address,bool,uint256,uint256)._enable (#1211) is not in mixedCase
Parameter KODI.setBuyAddressFee(address,bool,uint256,uint256)._addressTaxFee (#1211) is not in mixedCase
Parameter KODI.setBuyAddressFee(address,bool,uint256,uint256)._addressLiquidityFee (#1211) is not in mixedCase
Parameter KODI.transfer(address,bool,uint256,uint256)._address (#1217) is not in mixedCase
Parameter KODI.transfer(address,bool,uint256,uint256)._enable (#1217) is not in mixedCase
Parameter KODI.transfer(address,bool,uint256,uint256)._addressTaxFee (#1217) is not in mixedCase
Parameter KODI.transfer(address,bool,uint256,uint256)._addressLiquidityFee (#1217) is not in mixedCase
Variable KODI._taxFee (#461) is not in mixedCase
Variable KODI._liquidityFee (#464) is not in mixedCase
Variable KODI._buyTaxFee (#467) is not in mixedCase
Variable KODI._buyLiquidityFee (#468) is not in mixedCase
Variable KODI._sellTaxFee (#470) is not in mixedCase
Variable KODI._sellLiquidityFee (#471) is not in mixedCase
Variable KODI._startTimeForSwap (#473) is not in mixedCase
Variable KODI._intervalMinutesForSwap (#474) is not in mixedCase
Variable KODI._buyBackRangeRate (#476) is not in mixedCase
Variable KODI._addressFees (#479) is not in mixedCase
Variable KODI._maxTxAmount (#483) is not in mixedCase
Variable KODI._sellHistories (#488) is not in mixedCase
Variable KODI._isAutoBuyBack (#489) is not in mixedCase
Variable KODI._buyBackDivisor (#490) is not in mixedCase
Variable KODI._buyBackTimeInterval (#491) is not in mixedCase
Variable KODI._buyBackMaxTimeForHistories (#492) is not in mixedCase
Variable KODI._isEnabledBuyBackAndBurn (#502) is not in mixedCase
Modifier KODI._external() (#1200-1203) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
State variables written after the call(s):
- _removeOldSellHistories() (#735)
- _sellHistories[i].time = _sellHistories[j].time (#1054)
- _sellHistories[i].bnbAmount = _sellHistories[j].bnbAmount (#1055)
- _sellHistories.pop() (#1065)
Reentrancy in KODI._transfer(address,address,uint256) (#679-803):
External calls:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
External calls sending eth:
- swapTokens(contractTokenBalance) (#708)
- recipient.transfer(amount) (#1167)
- buyBackTokens(_bBSLimit) (#743)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
State variables written after the call(s):
- removeAllFee() (#759)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _buyLiquidityFee (#761)
- removeAllFee() (#765)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _sellLiquidityFee (#767)
- removeAllFee() (#772)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _addressFees[from]._liquidityFee (#774)
- _liquidityFee = _addressFees[from]._sellLiquidityFee (#779)
- removeAllFee() (#786)
- _liquidityFee = 0 (#1014)
- _liquidityFee = _addressFees[to]._buyLiquidityFee (#789)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _liquidityFee = _previousLiquidityFee (#1019)
- _liquidityFee = 0 (#1014)
- removeAllFee() (#759)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#765)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#772)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#786)
- _previousLiquidityFee = _liquidityFee (#1011)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _previousLiquidityFee = _liquidityFee (#1011)
- removeAllFee() (#759)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#765)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#772)
- _previousTaxFee = _taxFee (#1010)
- removeAllFee() (#786)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _previousTaxFee = _taxFee (#1010)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#990)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#906)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#915)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#926)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#936)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#907)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#917)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#927)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#938)
- _rOwned[marketingwallet] = _rOwned[marketingwallet] + rAmount (#799)
- _rOwned[getUser()] = _rOwned[getUser()] + rAmount (#800)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _rTotal = _rTotal.sub(rFee) (#945)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _tFeeTotal = _tFeeTotal.add(tFee) (#946)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#992)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#925)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#935)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#916)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#937)
- removeAllFee() (#759)
- _taxFee = 0 (#1013)
- _taxFee = _buyTaxFee (#760)
- removeAllFee() (#765)
- _taxFee = 0 (#1013)
- _taxFee = _sellTaxFee (#766)
- removeAllFee() (#772)
- _taxFee = 0 (#1013)
- _taxFee = _addressFees[from]._taxFee (#773)
- _taxFee = _addressFees[from]._sellTaxFee (#778)
- removeAllFee() (#786)
- _taxFee = 0 (#1013)
- _taxFee = _addressFees[to]._buyTaxFee (#788)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- _taxFee = _previousTaxFee (#1018)
- _taxFee = 0 (#1013)
- buyBackTokens(_bBSLimit) (#743)
- inSwapAndLiquify = true (#525)
- inSwapAndLiquify = false (#527)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#868)
- buyBackTokens(_bBSLimit) (#743)
- Transfer(sender,recipient,tTransferAmount) (#910)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#920)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#930)
- _tokenTransfer(from,to,amount,takeFee) (#795)
- Transfer(sender,recipient,tTransferAmount) (#941)
- _tokenTransfer(from,to,amount,takeFee) (#795)
Reentrancy in KODI.transferFrom(address,address,uint256) (#589-593):
External calls:
- _transfer(sender,recipient,amount) (#590)
- recipient.transfer(amount) (#1167)
External calls sending eth:
- _transfer(sender,recipient,amount) (#590)
- recipient.transfer(amount) (#1167)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#861-866)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#591)
- _allowances[owner][spender] = amount (#675)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#676)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#591)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#280) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#281)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._transferToExcluded(address,address,uint256).rTransferAmount (#914) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._getTValues(uint256).tTransferAmount (#958)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._transferBothExcluded(address,address,uint256).tTransferAmount (#934)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._getValues(uint256).tTransferAmount (#950)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._transferBothExcluded(address,address,uint256).rTransferAmount (#934) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._transferStandard(address,address,uint256).rTransferAmount (#905) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI._transfer(address,address,uint256).rTransferAmount (#796) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._transferFromExcluded(address,address,uint256).tTransferAmount (#924)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI.reflectionFromToken(uint256,bool).rTransferAmount (#637) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._getValues(uint256).rTransferAmount (#951) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._transferStandard(address,address,uint256).tTransferAmount (#905)
Variable KODI._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#966) is too similar to KODI._transfer(address,address,uint256).tTransferAmount (#796)
Variable KODI._transferFromExcluded(address,address,uint256).rTransferAmount (#924) is too similar to KODI._transferToExcluded(address,address,uint256).tTransferAmount (#914)
Prevent variables from having similar names.
Additional information: link
KODI.setmarketingfee(uint256) (#810-814) uses literals with too many digits:
- _premarketingFee = newmarketingFee * 100000 (#812)
KODI.prepareForPreSale() (#1152-1157) uses literals with too many digits:
- _maxTxAmount = 1000000000 * 10 ** 6 * 10 ** 9 (#1156)
KODI.afterPreSale() (#1159-1164) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#1163)
KODI.slitherConstructorVariables() (#422-1224) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#427)
KODI.slitherConstructorVariables() (#422-1224) uses literals with too many digits:
- _maxTxAmount = 100000000000000 * 10 ** 6 * 10 ** 9 (#483)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
KODI._decimals (#444) should be constant
KODI._isEnabledBuyBackAndBurn (#502) should be constant
KODI._name (#442) should be constant
KODI._symbol (#443) should be constant
KODI._tTotal (#438) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#166-169)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#177-179)
getTime() should be declared external:
- Ownable.getTime() (#181-183)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#185-190)
unlock() should be declared external:
- Ownable.unlock() (#192-197)
name() should be declared external:
- KODI.name() (#554-556)
symbol() should be declared external:
- KODI.symbol() (#558-560)
decimals() should be declared external:
- KODI.decimals() (#562-564)
totalSupply() should be declared external:
- KODI.totalSupply() (#566-568)
transfer(address,uint256) should be declared external:
- KODI.transfer(address,uint256) (#575-578)
allowance(address,address) should be declared external:
- KODI.allowance(address,address) (#580-582)
approve(address,uint256) should be declared external:
- KODI.approve(address,uint256) (#584-587)
transferFrom(address,address,uint256) should be declared external:
- KODI.transferFrom(address,address,uint256) (#589-593)
increaseAllowance(address,uint256) should be declared external:
- KODI.increaseAllowance(address,uint256) (#595-598)
decreaseAllowance(address,uint256) should be declared external:
- KODI.decreaseAllowance(address,uint256) (#600-603)
isExcludedFromReward(address) should be declared external:
- KODI.isExcludedFromReward(address) (#605-607)
totalFees() should be declared external:
- KODI.totalFees() (#609-611)
minimumTokensBeforeSwapAmount() should be declared external:
- KODI.minimumTokensBeforeSwapAmount() (#613-615)
buyBackSellLimitAmount() should be declared external:
- KODI.buyBackSellLimitAmount() (#617-619)
deliver(uint256) should be declared external:
- KODI.deliver(uint256) (#621-628)
reflectionFromToken(uint256,bool) should be declared external:
- KODI.reflectionFromToken(uint256,bool) (#631-640)
excludeFromReward(address) should be declared external:
- KODI.excludeFromReward(address) (#648-656)
isExcludedFromFee(address) should be declared external:
- KODI.isExcludedFromFee(address) (#1022-1024)
excludeFromFee(address) should be declared external:
- KODI.excludeFromFee(address) (#1026-1028)
includeInFee(address) should be declared external:
- KODI.includeInFee(address) (#1030-1032)
GetBuyBackTimeInterval() should be declared external:
- KODI.GetBuyBackTimeInterval() (#1078-1080)
GetSwapMinutes() should be declared external:
- KODI.GetSwapMinutes() (#1091-1093)
setBuyBackEnabled(bool) should be declared external:
- KODI.setBuyBackEnabled(bool) (#1142-1145)
setAutoBuyBackEnabled(bool) should be declared external:
- KODI.setAutoBuyBackEnabled(bool) (#1147-1150)
changeRouterVersion(address) should be declared external:
- KODI.changeRouterVersion(address) (#1170-1183)
transferForeignToken(address,address) should be declared external:
- KODI.transferForeignToken(address,address) (#1189-1193)
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 is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account