EN:
@OKcommunity
Reentrancy in K0OK._transferFrom(address,address,uint256) (#774-829):
External calls:
- swapBack() (#789)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#915-921)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
External calls sending eth:
- swapBack() (#789)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#806)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#814)
- finalAmount = takeFee(sender,recipient,amount) (#813)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#844)
- _balances[address(DEAD)] = _balances[address(DEAD)].add(burnAmount) (#848)
- isXXKING[recipient] = true (#800)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.setRewardDividends(address,uint256) (#229-233) ignores return value by RewardToken.transfer(shareholder,amount) (#231)
DividendDistributor.distributeDividend(address) (#307-319) ignores return value by RewardToken.transfer(shareholder,amount) (#313)
K0OK.recoverBEP20(address,uint256) (#884-889) ignores return value by IBEP20(tokenAddress).transfer(msg.sender,tokenAmount) (#886)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
K0OK.swapBack() (#901-984) sends eth to arbitrary user
Dangerous calls:
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
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.
K0OK.swapBack().tmpSuccess5 (#945) is written in both
(tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
tmpSuccess5 = false (#946)
K0OK.swapBack().tmpSuccess (#938) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
tmpSuccess = false (#964)
K0OK.swapBack().tmpSuccess1 (#939) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
tmpSuccess1 = false (#965)
K0OK.swapBack().tmpSuccess2 (#940) is written in both
(tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
tmpSuccess2 = false (#966)
K0OK.swapBack().tmpSuccess3 (#941) is written in both
(tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
tmpSuccess3 = false (#967)
K0OK.swapBack().tmpSuccess4 (#942) is written in both
(tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
tmpSuccess4 = false (#968)
Fix or remove the writes.
Additional information: link
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
K0OK.swapBack() (#901-984) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.distributeDividend(address) (#307-319) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#313)
Favor pull over push strategy for external calls.
Additional information: link
Low level call in K0OK.swapBack() (#901-984):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#88) is not in mixedCase
Parameter DividendDistributor.setRewardToken(address)._RewardToken (#213) is not in mixedCase
Parameter DividendDistributor.setopenDividends(uint256)._openDividends (#220) is not in mixedCase
Variable DividendDistributor._token (#152) is not in mixedCase
Variable DividendDistributor.RewardTokenSET (#162) is not in mixedCase
Variable DividendDistributor.RewardToken (#165) is not in mixedCase
Parameter K0OK.setRewardToken(address)._RewardToken (#746) is not in mixedCase
Function K0OK.Antibot(address) (#862-866) is not in mixedCase
Parameter K0OK.Antibot(address)._user (#862) is not in mixedCase
Parameter K0OK.removeFrombot(address)._user (#877) is not in mixedCase
Variable K0OK._name (#455) is not in mixedCase
Variable K0OK._symbol (#456) is not in mixedCase
Constant K0OK._decimals (#457) is not in UPPER_CASE_WITH_UNDERSCORES
Variable K0OK.DEAD (#459) is not in mixedCase
Variable K0OK.ZERO (#460) is not in mixedCase
Variable K0OK.RewardToken (#462) is not in mixedCase
Variable K0OK._totalSupply (#464) is not in mixedCase
Variable K0OK._maxTxAmount (#466) is not in mixedCase
Variable K0OK._walletMax (#467) is not in mixedCase
Variable K0OK._balances (#471) is not in mixedCase
Variable K0OK._allowances (#472) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
K0OK.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (#521-616) performs a multiplication on the result of a division:
-_maxTxAmount = totalSupply_.div(100).mul(50) (#543)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendDistributor.distributeDividend(address) (#307-319):
External calls:
- RewardToken.transfer(shareholder,amount) (#313)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#315)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#316)
Reentrancy in DividendDistributor.process(uint256) (#278-300):
External calls:
- distributeDividend(shareholders[currentIndex]) (#292)
- RewardToken.transfer(shareholder,amount) (#313)
State variables written after the call(s):
- currentIndex ++ (#297)
Reentrancy in DividendDistributor.setShare(address,uint256) (#241-256):
External calls:
- distributeDividend(shareholder) (#244)
- RewardToken.transfer(shareholder,amount) (#313)
State variables written after the call(s):
- shares[shareholder].amount = amount (#254)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#255)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#207-210) should emit an event for:
- minPeriod = newMinPeriod (#208)
- minDistribution = newMinDistribution (#209)
DividendDistributor.setopenDividends(uint256) (#220-225) should emit an event for:
- openDividends = _openDividends (#223)
K0OK.changeFs(uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#708-719) should emit an event for:
- liquidityFee = newLiqFee (#709)
- rewardsFee = newRewardsFee (#710)
- marketingWalletPercent = newMarketPercent (#712)
- burnFee = newburnFee (#714)
- buybackFee = newbuybackFee (#715)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee).add(buybackFee) (#716)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#718)
K0OK.changeSwapBackSettings(bool,uint256,bool) (#731-735) should emit an event for:
- swapThreshold = newSwapBackLimit (#733)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#442) lacks a zero-check on :
- owner = adr (#443)
K0OK.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256).serviceFeeReceiver_ (#528) lacks a zero-check on :
- serviceFeeReceiver = serviceFeeReceiver_ (#547)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newLiquidityReceiver (#721) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#722)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newMarketingWallet (#721) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#723)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet (#721) lacks a zero-check on :
- anothermarketingWallet = newAmarketingWallet (#724)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet2 (#721) lacks a zero-check on :
- anothermarketingWallet2 = newAmarketingWallet2 (#725)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet3 (#721) lacks a zero-check on :
- anothermarketingWallet3 = newAmarketingWallet3 (#726)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet4 (#721) lacks a zero-check on :
- anothermarketingWallet4 = newAmarketingWallet4 (#727)
K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newbuybackWallet (#721) lacks a zero-check on :
- buybackWallet = newbuybackWallet (#728)
Check that the address is not zero.
Additional information: link
Reentrancy in K0OK._transferFrom(address,address,uint256) (#774-829):
External calls:
- swapBack() (#789)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#915-921)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
External calls sending eth:
- swapBack() (#789)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
State variables written after the call(s):
- launch() (#793)
- launchedAt = block.number (#654)
Reentrancy in K0OK.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (#521-616):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#562)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(2 ** 256 - 1) (#563)
- _balances[msg.sender] = _totalSupply (#607)
- anothermarketingWallet = 0x0087C83eb07C5601d7343A998197c64BE8d7a637 (#570)
- anothermarketingWallet2 = 0x0087C83eb07C5601d7343A998197c64BE8d7a637 (#571)
- anothermarketingWallet3 = 0x0087C83eb07C5601d7343A998197c64BE8d7a637 (#572)
- anothermarketingWallet4 = 0x0087C83eb07C5601d7343A998197c64BE8d7a637 (#573)
- autoLiquidityReceiver = msg.sender (#568)
- buybackWallet = 0x0087C83eb07C5601d7343A998197c64BE8d7a637 (#574)
- dividendDistributor = new DividendDistributor(address(router),address(RewardToken)) (#565)
- isDividendExempt[pair] = true (#593)
- isDividendExempt[address(this)] = true (#595)
- isDividendExempt[DEAD] = true (#596)
- isDividendExempt[ZERO] = true (#597)
- isFeeExempt[msg.sender] = true (#578)
- isFeeExempt[address(this)] = true (#579)
- isFeeExempt[anothermarketingWallet] = true (#580)
- isFeeExempt[anothermarketingWallet2] = true (#581)
- isFeeExempt[anothermarketingWallet3] = true (#582)
- isFeeExempt[anothermarketingWallet4] = true (#583)
- isFeeExempt[buybackWallet] = true (#585)
- isFeeExempt[autoLiquidityReceiver] = true (#603)
- isTxLimitExempt[msg.sender] = true (#587)
- isTxLimitExempt[pair] = true (#588)
- isTxLimitExempt[DEAD] = true (#589)
- isTxLimitExempt[buybackWallet] = true (#590)
- isTxLimitExempt[autoLiquidityReceiver] = true (#604)
- marketingWallet = addrs[2] (#569)
Reentrancy in DividendDistributor.deposit() (#258-276):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#266-271)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#275)
- totalDividends = totalDividends.add(amount) (#274)
Reentrancy in DividendDistributor.distributeDividend(address) (#307-319):
External calls:
- RewardToken.transfer(shareholder,amount) (#313)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#314)
Reentrancy in DividendDistributor.setShare(address,uint256) (#241-256):
External calls:
- distributeDividend(shareholder) (#244)
- RewardToken.transfer(shareholder,amount) (#313)
State variables written after the call(s):
- addShareholder(shareholder) (#248)
- shareholderIndexes[shareholder] = shareholders.length (#337)
- removeShareholder(shareholder) (#250)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#343)
- addShareholder(shareholder) (#248)
- shareholders.push(shareholder) (#338)
- removeShareholder(shareholder) (#250)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#342)
- shareholders.pop() (#344)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#253)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in K0OK._transferFrom(address,address,uint256) (#774-829):
External calls:
- swapBack() (#789)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#915-921)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
- dividendDistributor.setShare(sender,_balances[sender]) (#818)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#822)
- dividendDistributor.process(distributorGas) (#825)
External calls sending eth:
- swapBack() (#789)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#827)
Reentrancy in K0OK._transferFrom(address,address,uint256) (#774-829):
External calls:
- swapBack() (#789)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#915-921)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
External calls sending eth:
- swapBack() (#789)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#845)
- finalAmount = takeFee(sender,recipient,amount) (#813)
- Transfer(sender,address(DEAD),burnAmount) (#849)
- finalAmount = takeFee(sender,recipient,amount) (#813)
Reentrancy in K0OK.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256) (#521-616):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#562)
Event emitted after the call(s):
- TokenCreated(msg.sender,address(this),TokenType.baby,1) (#609)
- Transfer(address(0),msg.sender,_totalSupply) (#608)
Reentrancy in K0OK.swapBack() (#901-984):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#915-921)
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#932)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#938)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#939)
- (tmpSuccess2) = address(anothermarketingWallet2).call{gas: 30000,value: anothermarketingShare}() (#940)
- (tmpSuccess3) = address(anothermarketingWallet3).call{gas: 30000,value: anothermarketingShare}() (#941)
- (tmpSuccess4) = address(anothermarketingWallet4).call{gas: 30000,value: anothermarketingShare}() (#942)
- (tmpSuccess5) = address(buybackWallet).call{gas: 30000,value: amountBNBbuyback}() (#945)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#974-981)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#982)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#302-305) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#303-304)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#278-300) has costly operations inside a loop:
- currentIndex = 0 (#289)
DividendDistributor.distributeDividend(address) (#307-319) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#312)
DividendDistributor.process(uint256) (#278-300) has costly operations inside a loop:
- currentIndex ++ (#297)
Use a local variable to hold the loop computation result.
Additional information: link
Pragma version^0.8.0 (#27) allows old versions
solc-0.8.8 is known to contain severe issues (https://solidity.readthedocs.io/en/latest/bugs.html)
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
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#93) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#94)
Variable K0OK._totalSupply (#464) is too similar to K0OK.constructor(string,string,uint256,address[4],uint256[3],uint256,address,uint256).totalSupply_ (#524)
Variable K0OK.anothermarketingWallet2 (#494) is too similar to K0OK.anothermarketingWallet3 (#495)
Variable K0OK.anothermarketingWallet2 (#494) is too similar to K0OK.anothermarketingWallet4 (#496)
Variable K0OK.anothermarketingWallet3 (#495) is too similar to K0OK.anothermarketingWallet4 (#496)
Variable K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet2 (#721) is too similar to K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet3 (#721)
Variable K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet2 (#721) is too similar to K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet4 (#721)
Variable K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet3 (#721) is too similar to K0OK.changeFeeReceivers(address,address,address,address,address,address,address).newAmarketingWallet4 (#721)
Variable K0OK.swapBack().tmpSuccess1 (#939) is too similar to K0OK.swapBack().tmpSuccess2 (#940)
Variable K0OK.swapBack().tmpSuccess1 (#939) is too similar to K0OK.swapBack().tmpSuccess3 (#941)
Variable K0OK.swapBack().tmpSuccess1 (#939) is too similar to K0OK.swapBack().tmpSuccess4 (#942)
Variable K0OK.swapBack().tmpSuccess1 (#939) is too similar to K0OK.swapBack().tmpSuccess5 (#945)
Variable K0OK.swapBack().tmpSuccess2 (#940) is too similar to K0OK.swapBack().tmpSuccess3 (#941)
Variable K0OK.swapBack().tmpSuccess2 (#940) is too similar to K0OK.swapBack().tmpSuccess4 (#942)
Variable K0OK.swapBack().tmpSuccess2 (#940) is too similar to K0OK.swapBack().tmpSuccess5 (#945)
Variable K0OK.swapBack().tmpSuccess3 (#941) is too similar to K0OK.swapBack().tmpSuccess4 (#942)
Variable K0OK.swapBack().tmpSuccess3 (#941) is too similar to K0OK.swapBack().tmpSuccess5 (#945)
Variable K0OK.swapBack().tmpSuccess4 (#942) is too similar to K0OK.swapBack().tmpSuccess5 (#945)
Prevent variables from having similar names.
Additional information: link
K0OK.slitherConstructorVariables() (#451-989) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#459)
K0OK.slitherConstructorVariables() (#451-989) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#460)
K0OK.slitherConstructorVariables() (#451-989) uses literals with too many digits:
- distributorGas = 300000 (#507)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#179) should be constant
DividendDistributor.routerAddress (#164) should be constant
K0OK.DEAD (#459) should be constant
K0OK.ZERO (#460) should be constant
K0OK.routerAddress (#461) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#402-404)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#409-411)
renounceOwnership() should be declared external:
- Auth.renounceOwnership() (#434-437)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#442-446)
getCirculatingSupply() should be declared external:
- K0OK.getCirculatingSupply() (#626-628)
claim() should be declared external:
- K0OK.claim() (#644-647)
recoverBEP20(address,uint256) should be declared external:
- K0OK.recoverBEP20(address,uint256) (#884-889)
recoverBNB(uint256) should be declared external:
- K0OK.recoverBNB(uint256) (#891-894)
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
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts