DoKEN Token Logo

DoKEN Token

About DoKEN

Listings

Token 13 months
CoinGecko 13 months
CoinMarketCap 12 months
[CoinMarketCap] alert: Please be note that Doken has migrated to new contract address.
white paper

DōKEN is a revolutionary meme token. Combining Memes Concept with A Utilitiy, and aims to integrate amazing utility with a meme coin. It also reward holder with 8% of BUSD Reflection.

Swap Page & Reward Dashboard has been live on website. And more features will coming soon, such as Doken Order Limit Swap, Doken Dividend Hub, Doken Launchpad, Doken API

Social

Laser Scorebeta Last Audit: 17 September 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695) sends eth to arbitrary user
Dangerous calls:
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
DoKEN.addLiquidity(uint256,uint256) (contracts/DoKEN.sol#733-746) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638):
External calls:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/DoKEN.sol#771-774)
- dividendTracker.distributeRewardTokenDividends(dividends) (contracts/DoKEN.sol#777)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#760-766)
External calls sending eth:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (contracts/DoKEN.sol#611)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#273)
- super._transfer(from,to,amount) (contracts/DoKEN.sol#614)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#273)
- swapping = false (contracts/DoKEN.sol#587)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

Contract locking ether found:
Contract DoKENDividendTracker (contracts/DoKENDividendTracker.sol#10-282) has payable functions:
- DividendPayingToken.receive() (contracts/DividendPayingToken.sol#56)
- DividendPayingToken.distributeDividends() (contracts/DividendPayingToken.sol#71-82)
- DividendPayingTokenInterface.distributeDividends() (contracts/DividendPayingTokenInterface.sol#18)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Contract ownership is not renounced (belongs to a wallet)

Reentrancy in DoKEN._setAutomatedMarketMakerPair(address,bool) (contracts/DoKEN.sol#369-381):
External calls:
- dividendTracker.excludeFromDividends(pair) (contracts/DoKEN.sol#377)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/DoKEN.sol#380)
Reentrancy in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638):
External calls:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/DoKEN.sol#771-774)
- dividendTracker.distributeRewardTokenDividends(dividends) (contracts/DoKEN.sol#777)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#760-766)
External calls sending eth:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#342)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- SendDividends(tokens,dividends) (contracts/DoKEN.sol#788)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#274)
- super._transfer(from,address(this),fees) (contracts/DoKEN.sol#611)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#274)
- super._transfer(from,to,amount) (contracts/DoKEN.sol#614)
Reentrancy in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638):
External calls:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/DoKEN.sol#771-774)
- dividendTracker.distributeRewardTokenDividends(dividends) (contracts/DoKEN.sol#777)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#760-766)
- dividendTracker.setBalance(address(from),balanceOf(from)) (contracts/DoKEN.sol#617)
- dividendTracker.setBalance(address(to),balanceOf(to)) (contracts/DoKEN.sol#618)
- dividendTracker.process(gas) (contracts/DoKEN.sol#623-636)
External calls sending eth:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/DoKEN.sol#628-635)
Reentrancy in DoKEN.constructor() (contracts/DoKEN.sol#166-218):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/DoKEN.sol#174-175)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/DoKEN.sol#180)
- dividendTracker.excludeFromDividends(pair) (contracts/DoKEN.sol#377)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (contracts/DoKEN.sol#380)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/DoKEN.sol#180)
Reentrancy in DoKEN.constructor() (contracts/DoKEN.sol#166-218):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/DoKEN.sol#174-175)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/DoKEN.sol#180)
- dividendTracker.excludeFromDividends(pair) (contracts/DoKEN.sol#377)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/DoKEN.sol#187)
- dividendTracker.excludeFromDividends(address(this)) (contracts/DoKEN.sol#188)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/DoKEN.sol#189)
- dividendTracker.excludeFromDividends(address(0xdEaD)) (contracts/DoKEN.sol#190)
- dividendTracker.excludeFromDividends(address(0)) (contracts/DoKEN.sol#191)
- dividendTracker.excludeFromDividends(owner()) (contracts/DoKEN.sol#192)
- dividendTracker.excludeFromDividends(buybackWallet) (contracts/DoKEN.sol#193)
- dividendTracker.excludeFromDividends(devWallet) (contracts/DoKEN.sol#194)
- dividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#195)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(devWallet,true) (contracts/DoKEN.sol#200)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(marketingWallet,true) (contracts/DoKEN.sol#199)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(address(this),true) (contracts/DoKEN.sol#198)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(address(0xdEaD),true) (contracts/DoKEN.sol#204)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(preSaleWallet,true) (contracts/DoKEN.sol#202)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(buybackWallet,true) (contracts/DoKEN.sol#201)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(owner(),true) (contracts/DoKEN.sol#203)
- ExcludeFromFees(account,excluded) (contracts/DoKEN.sol#343)
- excludeFromFees(address(0),true) (contracts/DoKEN.sol#205)
- Transfer(address(0),account,amount) (contracts/ERC20.sol#293)
- _mint(owner(),1000000000000 * (10 ** 18)) (contracts/DoKEN.sol#217)
- WhitelistAccount(account,whitelisted) (contracts/DoKEN.sol#236)
- whitelistAccount(address(uniswapV2Router),true) (contracts/DoKEN.sol#210)
- WhitelistAccount(account,whitelisted) (contracts/DoKEN.sol#236)
- whitelistAccount(owner(),true) (contracts/DoKEN.sol#209)
- WhitelistAccount(account,whitelisted) (contracts/DoKEN.sol#236)
- whitelistAccount(address(this),true) (contracts/DoKEN.sol#208)
- WhitelistAccount(account,whitelisted) (contracts/DoKEN.sol#236)
- whitelistAccount(preSaleWallet,true) (contracts/DoKEN.sol#211)
Reentrancy in DoKEN.excludeAccountFromDividends(address) (contracts/DoKEN.sol#331-334):
External calls:
- dividendTracker.excludeFromDividends(account) (contracts/DoKEN.sol#332)
Event emitted after the call(s):
- ExcludeAccountFromDividends(account) (contracts/DoKEN.sol#333)
Reentrancy in DoKENDividendTracker.processAccount(address,bool) (contracts/DoKENDividendTracker.sol#251-264):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/DoKENDividendTracker.sol#256)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#102)
Event emitted after the call(s):
- Claim(account,amount,automatic) (contracts/DoKENDividendTracker.sol#259)
Reentrancy in DoKEN.processDividendTracker(uint256) (contracts/DoKEN.sol#505-519):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (contracts/DoKEN.sol#506-510)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (contracts/DoKEN.sol#511-518)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#342)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/DoKEN.sol#676)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
Event emitted after the call(s):
- TransferTokensToMarketingWallet(marketingWallet,marketingTokens) (contracts/DoKEN.sol#680)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
Event emitted after the call(s):
- TransferETHToMarketingWallet(marketingWallet,marketingETH) (contracts/DoKEN.sol#682)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),devWallet,devTokens) (contracts/DoKEN.sol#685)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
Event emitted after the call(s):
- TransferTokensToDevWallet(devWallet,devTokens) (contracts/DoKEN.sol#686)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),devWallet,devTokens) (contracts/DoKEN.sol#685)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
Event emitted after the call(s):
- TransferETHToMarketingWallet(devWallet,devETH) (contracts/DoKEN.sol#688)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),devWallet,devTokens) (contracts/DoKEN.sol#685)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),buybackWallet,buybackTokens) (contracts/DoKEN.sol#691)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
Event emitted after the call(s):
- TransferTokensToBuybackWallet(buybackWallet,buybackTokens) (contracts/DoKEN.sol#692)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- _safeTransfer(address(this),marketingWallet,marketingTokens) (contracts/DoKEN.sol#679)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),devWallet,devTokens) (contracts/DoKEN.sol#685)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- _safeTransfer(address(this),buybackWallet,buybackTokens) (contracts/DoKEN.sol#691)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
Event emitted after the call(s):
- TransferETHToBuybackWallet(buybackWallet,buybackETH) (contracts/DoKEN.sol#694)
Reentrancy in DoKEN.swapAndSendDividends(uint256) (contracts/DoKEN.sol#783-790):
External calls:
- swapTokensForRewards(tokens,address(this)) (contracts/DoKEN.sol#785)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#760-766)
- (success,dividends) = sendDividends() (contracts/DoKEN.sol#786)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/DoKEN.sol#771-774)
- dividendTracker.distributeRewardTokenDividends(dividends) (contracts/DoKEN.sol#777)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (contracts/DoKEN.sol#788)
Reentrancy in DoKEN.updateDividendTracker(address) (contracts/DoKEN.sol#293-320):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/DoKEN.sol#308)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/DoKEN.sol#309)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/DoKEN.sol#310)
- newDividendTracker.excludeFromDividends(address(0xdEaD)) (contracts/DoKEN.sol#311)
- newDividendTracker.excludeFromDividends(address(0)) (contracts/DoKEN.sol#312)
- newDividendTracker.excludeFromDividends(owner()) (contracts/DoKEN.sol#313)
- newDividendTracker.excludeFromDividends(buybackWallet) (contracts/DoKEN.sol#314)
- newDividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#315)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/DoKEN.sol#317)
Reentrancy in DoKEN.updatePreSaleWallet(address) (contracts/DoKEN.sol#283-291):
External calls:
- dividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#288)
Event emitted after the call(s):
- UpdatePresaleWallet(newAddress,oldWallet) (contracts/DoKEN.sol#290)
- WhitelistAccount(account,whitelisted) (contracts/DoKEN.sol#236)
- whitelistAccount(preSaleWallet,true) (contracts/DoKEN.sol#289)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (contracts/DividendPayingToken.sol#92-114):
External calls:
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#102)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (contracts/DividendPayingToken.sol#104-106)
Reentrancy in DoKEN.updateDividendTracker(address) (contracts/DoKEN.sol#293-320):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/DoKEN.sol#308)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/DoKEN.sol#309)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/DoKEN.sol#310)
- newDividendTracker.excludeFromDividends(address(0xdEaD)) (contracts/DoKEN.sol#311)
- newDividendTracker.excludeFromDividends(address(0)) (contracts/DoKEN.sol#312)
- newDividendTracker.excludeFromDividends(owner()) (contracts/DoKEN.sol#313)
- newDividendTracker.excludeFromDividends(buybackWallet) (contracts/DoKEN.sol#314)
- newDividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#315)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/DoKEN.sol#319)
Apply the check-effects-interactions pattern.

Additional information: link

DoKEN._transfer(address,address,uint256).iterations (contracts/DoKEN.sol#624) is a local variable never initialized
DoKEN._transfer(address,address,uint256).claims (contracts/DoKEN.sol#625) is a local variable never initialized
DoKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/DoKEN.sol#626) 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

DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638) ignores return value by dividendTracker.process(gas) (contracts/DoKEN.sol#623-636)
DoKEN.swapTokensForETH(uint256,address) (contracts/DoKEN.sol#715-731) ignores return value by uniswapV2Router.swapExactTokensForETH(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#724-730)
DoKEN.addLiquidity(uint256,uint256) (contracts/DoKEN.sol#733-746) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
DoKEN.DoKENRewardClaim() (contracts/DoKEN.sol#959-961) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (contracts/DoKEN.sol#960)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (contracts/DividendPayingToken.sol#52) shadows:
- ERC20._name (contracts/ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (contracts/DividendPayingToken.sol#52) shadows:
- ERC20._symbol (contracts/ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.

Additional information: link

DoKEN.withdrawOverFlowETH().to (contracts/DoKEN.sol#798) lacks a zero-check on :
- to.transfer(getETHBalance()) (contracts/DoKEN.sol#799)
Check that the address is not zero.

Additional information: link

Variable 'DoKEN._transfer(address,address,uint256).claims (contracts/DoKEN.sol#625)' in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/DoKEN.sol#628-635)
Variable 'DoKEN._transfer(address,address,uint256).iterations (contracts/DoKEN.sol#624)' in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/DoKEN.sol#628-635)
Variable 'DoKEN._transfer(address,address,uint256).lastProcessedIndex (contracts/DoKEN.sol#626)' in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/DoKEN.sol#628-635)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.

Additional information: link

Reentrancy in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638):
External calls:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- success = IERC20(rewardToken).transfer(address(dividendTracker),dividends) (contracts/DoKEN.sol#771-774)
- dividendTracker.distributeRewardTokenDividends(dividends) (contracts/DoKEN.sol#777)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (contracts/DoKEN.sol#760-766)
External calls sending eth:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
State variables written after the call(s):
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#341)
- totalFeesCollected += fees (contracts/DoKEN.sol#607)
Reentrancy in DoKEN.constructor() (contracts/DoKEN.sol#166-218):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/DoKEN.sol#174-175)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (contracts/DoKEN.sol#178)
- uniswapV2Router = _uniswapV2Router (contracts/DoKEN.sol#177)
Reentrancy in DoKEN.constructor() (contracts/DoKEN.sol#166-218):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/DoKEN.sol#174-175)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (contracts/DoKEN.sol#180)
- dividendTracker.excludeFromDividends(pair) (contracts/DoKEN.sol#377)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (contracts/DoKEN.sol#187)
- dividendTracker.excludeFromDividends(address(this)) (contracts/DoKEN.sol#188)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (contracts/DoKEN.sol#189)
- dividendTracker.excludeFromDividends(address(0xdEaD)) (contracts/DoKEN.sol#190)
- dividendTracker.excludeFromDividends(address(0)) (contracts/DoKEN.sol#191)
- dividendTracker.excludeFromDividends(owner()) (contracts/DoKEN.sol#192)
- dividendTracker.excludeFromDividends(buybackWallet) (contracts/DoKEN.sol#193)
- dividendTracker.excludeFromDividends(devWallet) (contracts/DoKEN.sol#194)
- dividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#195)
State variables written after the call(s):
- _mint(owner(),1000000000000 * (10 ** 18)) (contracts/DoKEN.sol#217)
- _balances[account] = _balances[account].add(amount) (contracts/ERC20.sol#292)
- excludeFromFees(address(this),true) (contracts/DoKEN.sol#198)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(marketingWallet,true) (contracts/DoKEN.sol#199)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(devWallet,true) (contracts/DoKEN.sol#200)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(buybackWallet,true) (contracts/DoKEN.sol#201)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(preSaleWallet,true) (contracts/DoKEN.sol#202)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(owner(),true) (contracts/DoKEN.sol#203)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(address(0xdEaD),true) (contracts/DoKEN.sol#204)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- excludeFromFees(address(0),true) (contracts/DoKEN.sol#205)
- _isExcludedFromFees[account] = excluded (contracts/DoKEN.sol#341)
- _mint(owner(),1000000000000 * (10 ** 18)) (contracts/DoKEN.sol#217)
- _totalSupply = _totalSupply.add(amount) (contracts/ERC20.sol#291)
- whitelistAccount(address(this),true) (contracts/DoKEN.sol#208)
- isWhitelisted[account] = whitelisted (contracts/DoKEN.sol#235)
- whitelistAccount(owner(),true) (contracts/DoKEN.sol#209)
- isWhitelisted[account] = whitelisted (contracts/DoKEN.sol#235)
- whitelistAccount(address(uniswapV2Router),true) (contracts/DoKEN.sol#210)
- isWhitelisted[account] = whitelisted (contracts/DoKEN.sol#235)
- whitelistAccount(preSaleWallet,true) (contracts/DoKEN.sol#211)
- isWhitelisted[account] = whitelisted (contracts/DoKEN.sol#235)
Reentrancy in DoKENDividendTracker.processAccount(address,bool) (contracts/DoKENDividendTracker.sol#251-264):
External calls:
- amount = _withdrawDividendOfUser(account) (contracts/DoKENDividendTracker.sol#256)
- success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#102)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (contracts/DoKENDividendTracker.sol#258)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- swapTokensForEth(half) (contracts/DoKEN.sol#652)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/DoKEN.sol#706-712)
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
State variables written after the call(s):
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#341)
Reentrancy in DoKEN.updatePreSaleWallet(address) (contracts/DoKEN.sol#283-291):
External calls:
- dividendTracker.excludeFromDividends(preSaleWallet) (contracts/DoKEN.sol#288)
State variables written after the call(s):
- whitelistAccount(preSaleWallet,true) (contracts/DoKEN.sol#289)
- isWhitelisted[account] = whitelisted (contracts/DoKEN.sol#235)
Apply the check-effects-interactions pattern.

Additional information: link

DoKENDividendTracker.getAccount(address) (contracts/DoKENDividendTracker.sol#88-133) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (contracts/DoKENDividendTracker.sol#130-132)
DoKENDividendTracker.canAutoClaim(uint256) (contracts/DoKENDividendTracker.sol#169-175) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/DoKENDividendTracker.sol#170)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/DoKENDividendTracker.sol#174)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (contracts/Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (contracts/DividendPayingToken.sol#171-185) is never used and should be removed
DoKEN.swapTokensForETH(uint256,address) (contracts/DoKEN.sol#715-731) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/SafeMath.sol#134-136) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/SafeMath.sol#150-157) is never used and should be removed
SafeMathInt.abs(int256) (contracts/SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (contracts/SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (contracts/SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in DoKEN._safeTransfer(address,address,uint256) (contracts/DoKEN.sol#802-815):
- (success,data) = token.call(abi.encodeWithSelector(SELECTOR,to,value)) (contracts/DoKEN.sol#808-810)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter DividendPayingToken.dividendOf(address)._owner (contracts/DividendPayingToken.sol#119) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (contracts/DividendPayingToken.sol#126) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (contracts/DividendPayingToken.sol#138) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (contracts/DividendPayingToken.sol#152) is not in mixedCase
Constant DividendPayingToken.magnitude (contracts/DividendPayingToken.sol#28) is not in UPPER_CASE_WITH_UNDERSCORES
Function DoKEN.DoKENRewardAddress() (contracts/DoKEN.sol#823-825) is not in mixedCase
Function DoKEN.DoKENRewardOnPool() (contracts/DoKEN.sol#830-832) is not in mixedCase
Function DoKEN.DoKENTokenFees() (contracts/DoKEN.sol#843-863) is not in mixedCase
Function DoKEN.DoKENRewardDistributed() (contracts/DoKEN.sol#869-871) is not in mixedCase
Function DoKEN.DoKENGetAccountDividendsInfo(address) (contracts/DoKEN.sol#889-905) is not in mixedCase
Function DoKEN.DoKENGetAccountDividendsInfoAtIndex(uint256) (contracts/DoKEN.sol#922-938) is not in mixedCase
Function DoKEN.DoKENRewardPaid(address) (contracts/DoKEN.sol#943-946) is not in mixedCase
Function DoKEN.DoKENRewardUnPaid(address) (contracts/DoKEN.sol#951-956) is not in mixedCase
Function DoKEN.DoKENRewardClaim() (contracts/DoKEN.sol#959-961) is not in mixedCase
Function DoKEN.DoKENLastProcessedIndex() (contracts/DoKEN.sol#964-966) is not in mixedCase
Function DoKEN.DoKENNumberOfDividendTokenHolders() (contracts/DoKEN.sol#969-971) is not in mixedCase
Function DoKEN.DoKENDividendBalanceOf(address) (contracts/DoKEN.sol#974-980) is not in mixedCase
Variable DoKEN.MIN_BUY_TRANSACTION_AMOUNT (contracts/DoKEN.sol#104) is not in mixedCase
Variable DoKEN.MAX_BUY_TRANSACTION_AMOUNT (contracts/DoKEN.sol#105) is not in mixedCase
Variable DoKEN.MIN_SELL_TRANSACTION_AMOUNT (contracts/DoKEN.sol#106) is not in mixedCase
Variable DoKEN.MAX_SELL_TRANSACTION_AMOUNT (contracts/DoKEN.sol#107) is not in mixedCase
Variable DoKEN.MIN_SWAP_TOKENS_AT_AMOUNT (contracts/DoKEN.sol#108) is not in mixedCase
Variable DoKEN.MAX_SWAP_TOKENS_AT_AMOUNT (contracts/DoKEN.sol#109) is not in mixedCase
Variable DoKEN.MAX_MARKETING_FEE (contracts/DoKEN.sol#116) is not in mixedCase
Variable DoKEN.MAX_DEV_FEE (contracts/DoKEN.sol#117) is not in mixedCase
Variable DoKEN.MAX_BUYBACK_FEE (contracts/DoKEN.sol#118) is not in mixedCase
Variable DoKEN.MAX_REWARDS_FEE (contracts/DoKEN.sol#119) is not in mixedCase
Variable DoKEN.MAX_LIQUIDITY_FEE (contracts/DoKEN.sol#120) is not in mixedCase
Variable DoKEN.MAX_TOTAL_FEES (contracts/DoKEN.sol#121) is not in mixedCase
Variable DoKEN.MAX_SELL_FEE (contracts/DoKEN.sol#122) is not in mixedCase
Variable DoKEN.MAX_GAS_FOR_PROCESSING (contracts/DoKEN.sol#152) is not in mixedCase
Parameter DoKENDividendTracker.getAccount(address)._account (contracts/DoKENDividendTracker.sol#88) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/IUniswapRouter.sol#8) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (contracts/IUniswapV2Pair.sol#34) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (contracts/IUniswapV2Pair.sol#36) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (contracts/IUniswapV2Pair.sol#67) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/Context.sol#21)" inContext (contracts/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in DoKEN._transfer(address,address,uint256) (contracts/DoKEN.sol#521-638):
External calls:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
External calls sending eth:
- swapAndLiquifyAndFundTeam(liquidityAndTeamTokens) (contracts/DoKEN.sol#582)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
State variables written after the call(s):
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- _allowances[owner][spender] = amount (contracts/ERC20.sol#341)
- super._transfer(from,address(this),fees) (contracts/DoKEN.sol#611)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#273)
- super._transfer(from,to,amount) (contracts/DoKEN.sol#614)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/ERC20.sol#273)
- swapping = false (contracts/DoKEN.sol#587)
- totalFeesCollected += fees (contracts/DoKEN.sol#607)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/ERC20.sol#342)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/DoKEN.sol#628-635)
- SendDividends(tokens,dividends) (contracts/DoKEN.sol#788)
- swapAndSendDividends(rewardTokens) (contracts/DoKEN.sol#585)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#274)
- super._transfer(from,address(this),fees) (contracts/DoKEN.sol#611)
- Transfer(sender,recipient,amount) (contracts/ERC20.sol#274)
- super._transfer(from,to,amount) (contracts/DoKEN.sol#614)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
Event emitted after the call(s):
- TransferETHToMarketingWallet(marketingWallet,marketingETH) (contracts/DoKEN.sol#682)
- TransferTokensToDevWallet(devWallet,devTokens) (contracts/DoKEN.sol#686)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
Event emitted after the call(s):
- TransferETHToMarketingWallet(devWallet,devETH) (contracts/DoKEN.sol#688)
- TransferTokensToBuybackWallet(buybackWallet,buybackTokens) (contracts/DoKEN.sol#692)
Reentrancy in DoKEN.swapAndLiquifyAndFundTeam(uint256) (contracts/DoKEN.sol#640-695):
External calls:
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
External calls sending eth:
- addLiquidity(liquidityTokens,liquidityETH) (contracts/DoKEN.sol#675)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (contracts/DoKEN.sol#738-745)
- marketingWallet.transfer(marketingETH) (contracts/DoKEN.sol#681)
- devWallet.transfer(devETH) (contracts/DoKEN.sol#687)
- buybackWallet.transfer(buybackETH) (contracts/DoKEN.sol#693)
Event emitted after the call(s):
- TransferETHToBuybackWallet(buybackWallet,buybackETH) (contracts/DoKEN.sol#694)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DoKEN.MAX_BUY_TRANSACTION_AMOUNT (contracts/DoKEN.sol#105) is too similar to DoKEN.MIN_BUY_TRANSACTION_AMOUNT (contracts/DoKEN.sol#104)
Variable DoKEN.MAX_SELL_TRANSACTION_AMOUNT (contracts/DoKEN.sol#107) is too similar to DoKEN.MIN_SELL_TRANSACTION_AMOUNT (contracts/DoKEN.sol#106)
Variable DoKEN.MAX_SWAP_TOKENS_AT_AMOUNT (contracts/DoKEN.sol#109) is too similar to DoKEN.MIN_SWAP_TOKENS_AT_AMOUNT (contracts/DoKEN.sol#108)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (contracts/DividendPayingToken.sol#96) is too similar to DoKENDividendTracker.getAccount(address).withdrawableDividends (contracts/DoKENDividendTracker.sol#95)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IUniswapRouter.sol#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IUniswapRouter.sol#14)
Prevent variables from having similar names.

Additional information: link

DoKEN.constructor() (contracts/DoKEN.sol#166-218) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (contracts/DoKEN.sol#217)
DoKEN.updateGasForProcessing(uint256) (contracts/DoKEN.sol#476-487) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= MAX_GAS_FOR_PROCESSING,DoKEN: gasForProcessing must be between 200,000 and MAX_GAS_FOR_PROCESSING) (contracts/DoKEN.sol#477-480)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MIN_BUY_TRANSACTION_AMOUNT = 5000000000 * (10 ** 18) (contracts/DoKEN.sol#104)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MAX_BUY_TRANSACTION_AMOUNT = 50000000000 * (10 ** 18) (contracts/DoKEN.sol#105)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MIN_SELL_TRANSACTION_AMOUNT = 10000000000 * (10 ** 18) (contracts/DoKEN.sol#106)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MAX_SELL_TRANSACTION_AMOUNT = 50000000000 * (10 ** 18) (contracts/DoKEN.sol#107)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MIN_SWAP_TOKENS_AT_AMOUNT = 200000000 * (10 ** 18) (contracts/DoKEN.sol#108)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MAX_SWAP_TOKENS_AT_AMOUNT = 20000000000 * (10 ** 18) (contracts/DoKEN.sol#109)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- maxBuyTransactionAmount = 10000000000 * (10 ** 18) (contracts/DoKEN.sol#111)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- maxSellTransactionAmount = 10000000000 * (10 ** 18) (contracts/DoKEN.sol#112)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- swapTokensAtAmount = 200000000 * (10 ** 18) (contracts/DoKEN.sol#113)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- gasForProcessing = 300000 (contracts/DoKEN.sol#149)
DoKEN.slitherConstructorVariables() (contracts/DoKEN.sol#12-981) uses literals with too many digits:
- MAX_GAS_FOR_PROCESSING = 5000000 (contracts/DoKEN.sol#152)
DoKENDividendTracker.constructor() (contracts/DoKENDividendTracker.sol#30-33) uses literals with too many digits:
- minimumTokenBalanceForDividends = 5000000 * (10 ** 18) (contracts/DoKENDividendTracker.sol#32)
DoKENDividendTracker.getAccountAtIndex(uint256) (contracts/DoKENDividendTracker.sol#135-167) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0,0) (contracts/DoKENDividendTracker.sol#151-161)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendPayingToken.lastAmount (contracts/DividendPayingToken.sol#31) is never used in DoKENDividendTracker (contracts/DoKENDividendTracker.sol#10-282)
SafeMathInt.MAX_INT256 (contracts/SafeMathInt.sol#36) is never used in SafeMathInt (contracts/SafeMathInt.sol#34-91)
Remove unused state variables.

Additional information: link

DividendPayingToken.lastAmount (contracts/DividendPayingToken.sol#31) should be constant
DividendPayingToken.rewardToken (contracts/DividendPayingToken.sol#33) should be constant
DoKEN.rewardToken (contracts/DoKEN.sol#145) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

distributeDividends() should be declared external:
- DividendPayingToken.distributeDividends() (contracts/DividendPayingToken.sol#71-82)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (contracts/DividendPayingToken.sol#86-88)
- DoKENDividendTracker.withdrawDividend() (contracts/DoKENDividendTracker.sol#43-48)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (contracts/DividendPayingToken.sol#119-121)
isTradingEnabled() should be declared external:
- DoKEN.isTradingEnabled() (contracts/DoKEN.sol#227-229)
isWhitelistedAccount(address) should be declared external:
- DoKEN.isWhitelistedAccount(address) (contracts/DoKEN.sol#239-241)
updateDividendTracker(address) should be declared external:
- DoKEN.updateDividendTracker(address) (contracts/DoKEN.sol#293-320)
updateUniswapV2Router(address) should be declared external:
- DoKEN.updateUniswapV2Router(address) (contracts/DoKEN.sol#322-329)
excludeAccountFromDividends(address) should be declared external:
- DoKEN.excludeAccountFromDividends(address) (contracts/DoKEN.sol#331-334)
isExcludedFromDividends(address) should be declared external:
- DoKEN.isExcludedFromDividends(address) (contracts/DoKEN.sol#336-338)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- DoKEN.excludeMultipleAccountsFromFees(address[],bool) (contracts/DoKEN.sol#346-355)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- DoKEN.setAutomatedMarketMakerPair(address,bool) (contracts/DoKEN.sol#357-367)
updateGasForProcessing(uint256) should be declared external:
- DoKEN.updateGasForProcessing(uint256) (contracts/DoKEN.sol#476-487)
isExcludedFromFees(address) should be declared external:
- DoKEN.isExcludedFromFees(address) (contracts/DoKEN.sol#501-503)
DoKENGetAccountDividendsInfoAtIndex(uint256) should be declared external:
- DoKEN.DoKENGetAccountDividendsInfoAtIndex(uint256) (contracts/DoKEN.sol#922-938)
DoKENDividendBalanceOf(address) should be declared external:
- DoKEN.DoKENDividendBalanceOf(address) (contracts/DoKEN.sol#974-980)
getAccountAtIndex(uint256) should be declared external:
- DoKENDividendTracker.getAccountAtIndex(uint256) (contracts/DoKENDividendTracker.sol#135-167)
process(uint256) should be declared external:
- DoKENDividendTracker.process(uint256) (contracts/DoKENDividendTracker.sol#196-249)
name() should be declared external:
- ERC20.name() (contracts/ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (contracts/ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (contracts/ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (contracts/ERC20.sol#120-128)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (contracts/ERC20.sol#133-141)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (contracts/ERC20.sol#150-158)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (contracts/ERC20.sol#173-188)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (contracts/ERC20.sol#202-213)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (contracts/ERC20.sol#229-243)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (contracts/IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (contracts/IterableMapping.sol#17-26)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (contracts/IterableMapping.sol#28-34)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (contracts/IterableMapping.sol#36-38)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Ownable.sol#46-49)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/Ownable.sol#55-59)
Use the external attribute for functions never called from the contract.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (contracts/DividendPayingToken.sol#92-114) has external calls inside a loop: success = IERC20(rewardToken).transfer(user,_withdrawableDividend) (contracts/DividendPayingToken.sol#102)
Favor pull over push strategy for external calls.

Additional information: link

Holders:

Contract has 12% buy tax and 17% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Unable to find Discord account


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Token is not listed at Mobula.Finance

Additional information: link


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank


Young tokens have high risks of price dump / death

Price for DoKEN

News for DoKEN