Just Dough Coin Token Logo

JDC [Just Dough Coin] Token

About JDC

Listings

Not Found
Token 3 months
white paper

Just-Dough will have a 2d turn based tactical game, Just Dough will be integrated into the game to be used as currency for cosmetics. Game will also be realeased on play store and stream (not crypto integrations (not allowed)) and the revenue from these platforms will be used to fund marketing/Development and reward back to holders in Just Dough.

Social

Laser Scorebeta Last Audit: 18 February 2022

report
Code:


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

Reentrancy in DoughTokenCloneable._transfer(address,address,uint256) (#2103-2109):
External calls:
- (transferToAmount,feeType) = checkTransferRequirementsAndSwap(from,to,amount) (#2105)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- platformWallet.sendValue(address(this).balance) (#1989)
External calls sending eth:
- (transferToAmount,feeType) = checkTransferRequirementsAndSwap(from,to,amount) (#2105)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
State variables written after the call(s):
- super._transfer(from,to,transferToAmount) (#2106)
- _balances[sender] = senderBalance - amount (#982)
- _balances[recipient] += amount (#984)
Reentrancy in DoughTokenCloneable.checkTransferRequirementsAndSwap(address,address,uint256) (#1904-1927):
External calls:
- swapRequiredFunds() (#1919)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- platformWallet.sendValue(address(this).balance) (#1989)
External calls sending eth:
- swapRequiredFunds() (#1919)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
State variables written after the call(s):
- transferAmount = getTransferAmountAndSendFees(amount,feeType,from) (#1924)
- _balances[sender] = senderBalance - amount (#982)
- _balances[recipient] += amount (#984)
- transferAmount = getTransferAmountAndSendFees(amount,feeType,from) (#1924)
- liquidityTokens += _liquidityTokens (#1875)
- transferAmount = getTransferAmountAndSendFees(amount,feeType,from) (#1924)
- marketingTokens += _marketingTokens (#1867)
- transferAmount = getTransferAmountAndSendFees(amount,feeType,from) (#1924)
- platformTokens += _platformTokens (#1847)
- platformTokens += _platformTokens_scope_0 (#1876)
- swapping = false (#1920)
Reentrancy in DoughTokenCloneable.swapRequiredFunds() (#1955-1993):
External calls:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ethCreated = swapTokensForEth(tokensToSwap) (#1968)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
External calls sending eth:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
State variables written after the call(s):
- liquidityTokens -= scaledLiquidityTokens (#1974)
- marketingTokens -= scaledMarketingTokens (#1982)
Reentrancy in DoughTokenCloneable.swapRequiredFunds() (#1955-1993):
External calls:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- ethCreated = swapTokensForEth(tokensToSwap) (#1968)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
External calls sending eth:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
State variables written after the call(s):
- platformTokens -= scaledPlatformTokens (#1987)
Apply the check-effects-interactions pattern.

Additional information: link

OwnableUpgradeable.__gap (#470) shadows:
- ContextUpgradeable.__gap (#323)
ERC20Upgradeable.__gap (#1104) shadows:
- ContextUpgradeable.__gap (#323)
VersionedUpgradeable.__gap (#1140) shadows:
- OwnableUpgradeable.__gap (#470)
- ContextUpgradeable.__gap (#323)
DoughTokenCloneable.__gap (#2139) shadows:
- VersionedUpgradeable.__gap (#1140)
- OwnableUpgradeable.__gap (#470)
- ERC20Upgradeable.__gap (#1104)
- ContextUpgradeable.__gap (#323)
Remove the state variable shadowing.

Additional information: link

DoughTokenCloneable.checkLaunched(address,address,uint256) (#2084-2094) uses a dangerous strict equality:
- (block.timestamp <= _doughTokenLaunchedAt || _doughTokenLaunchedAt == 0) && from != initialLiquidityAdder && to != initialLiquidityAdder (#2088)
DoughTokenCloneable.checkLaunched(address,address,uint256) (#2084-2094) uses a dangerous strict equality:
- _doughTokenLaunchedAt == 0 (#2091)
Don't use strict equality to determine if an account has enough Ether or tokens.

Additional information: link

DoughTokenCloneable.swapRequiredFunds() (#1955-1993) performs a multiplication on the result of a division:
-scaledMarketingTokens = marketingTokens * _swapContractTokensAtAmount / contractTokenBalance (#1959)
-fundsForMarketing = (address(this).balance * scaledMarketingTokens) / (scaledMarketingTokens + scaledPlatformTokens) (#1979)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- newTracker = IGenericCloneFactory(addressInfo.cloneFactory).create(DividendTrackerCloneable) (#2214)
- IDividendTrackerCloneable(newTracker).initialize(string(abi.encodePacked(_tokenInfo.name,_Tracker)),string(abi.encodePacked(_tokenInfo.symbol,_DT)),rewardToken,otherFeeInfo[0].claimWait,minBalanceForDividends,address(router)) (#2216-2223)
State variables written after the call(s):
- otherFeeInfo[i].feeRecipient = newTracker (#2225)
Reentrancy in DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[]) (#1479-1549):
External calls:
- _swapPair = ISwapFactory(ISwapRouter02(_addressInfo.router).factory()).createPair(address(this),ISwapRouter02(_addressInfo.router).WETH()) (#1522)
State variables written after the call(s):
- __DoughToken_init(_tokenInfo) (#1548)
- _initialized = true (#274)
- __DoughToken_init(_tokenInfo) (#1548)
- _initializing = true (#273)
- _initializing = false (#280)
- __DoughToken_init(_tokenInfo) (#1548)
- _owner = newOwner (#466)
Reentrancy in DoughRewardCloneable.updateClaimWaits(uint24) (#2331-2340):
External calls:
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).updateClaimWait(newClaimWait) (#2337)
State variables written after the call(s):
- otherFeeInfo[i].claimWait = newClaimWait (#2338)
Reentrancy in DoughRewardCloneable.updateMinimumBalanceForDividends(uint256) (#2282-2294):
External calls:
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).updateMinimumBalanceForDividends(newMinBalance) (#2291)
State variables written after the call(s):
- otherFeeInfo[i].minTokensForDividendsWithoutDecimals = newMinBalanceWithoutDecimals (#2292)
Apply the check-effects-interactions pattern.

Additional information: link

DoughRewardCloneable.excludeFromAllDividends(address).i (#2327) is a local variable never initialized
DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo).i (#2191) is a local variable never initialized
SharedStructures.clone(SharedStructures.LockerInfo,SharedStructures.LockerInfo).i (#113) is a local variable never initialized
DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo).failed (#2201) is a local variable never initialized
DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._lastProcessedIndex (#2391) is a local variable never initialized
DoughRewardCloneable.getScaledOtherTokensToSwap(uint256,uint256).i (#2407) is a local variable never initialized
DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo).amounts (#2203) is a local variable never initialized
DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._iterations (#2391) is a local variable never initialized
DoughRewardCloneable.updateMinimumBalanceForDividends(uint256).i (#2290) is a local variable never initialized
DoughRewardCloneable.updateClaimWaits(uint24).i (#2336) is a local variable never initialized
DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8).i (#2390) is a local variable never initialized
DoughRewardCloneable.getOtherFeeImpact(uint256,uint8,address).i (#2357) is a local variable never initialized
DoughRewardCloneable.sendOtherEth(uint256,uint256,uint256[]).i (#2418) is a local variable never initialized
DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo).nativeRewardTracker (#2180) is a local variable never initialized
DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._claims (#2391) is a local variable never initialized
DoughRewardCloneable.transferDividendTrackerTokens(address,address).i (#2376) is a local variable never initialized
DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[]).i (#1511) 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

DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245) ignores return value by router.getAmountsOut(1000000000000000000,path) (#2203-2208)
DoughRewardCloneable.claim() (#2347-2352) ignores return value by IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).processAccount(msg.sender,false) (#2351)
DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2383-2396) ignores return value by IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).process(gasPerTracker) (#2391-2393)
Ensure that all the return values of the function calls are used.

Additional information: link

DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._totalSupply (#1537) shadows:
- ERC20Upgradeable._totalSupply (#781) (state variable)
DoughTokenCloneable.setMaxWalletPermille(uint16,uint256)._totalSupply (#1638) shadows:
- ERC20Upgradeable._totalSupply (#781) (state variable)
DoughTokenCloneable.setMaxTxPermille(uint16,uint256)._totalSupply (#1666) shadows:
- ERC20Upgradeable._totalSupply (#781) (state variable)
DoughTokenCloneable.setSwapContractTokensAtAmount(uint256)._totalSupply (#1816) shadows:
- ERC20Upgradeable._totalSupply (#781) (state variable)
Rename the local variables that shadow another component.

Additional information: link

DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._swapPair (#1522) lacks a zero-check on :
- swapPair = _swapPair (#1524)
Check that the address is not zero.

Additional information: link

DoughRewardCloneable.updateMinimumBalanceForDividends(uint256) (#2282-2294) has external calls inside a loop: IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).updateMinimumBalanceForDividends(newMinBalance) (#2291)
DoughRewardCloneable.getTotalDividendsDistributed() (#2306-2312) has external calls inside a loop: totalDividendsPerTracker[i] = IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).getTotalDividendsDistributed() (#2311)
DoughRewardCloneable.excludeFromAllDividends(address) (#2322-2329) has external calls inside a loop: IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
DoughRewardCloneable.updateClaimWaits(uint24) (#2331-2340) has external calls inside a loop: IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).updateClaimWait(newClaimWait) (#2337)
DoughRewardCloneable.claim() (#2347-2352) has external calls inside a loop: IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).processAccount(msg.sender,false) (#2351)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo).amounts (#2203)' in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245) potentially used before declaration: amounts[1] == 0 (#2204)
Variable 'DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._lastProcessedIndex (#2391)' in DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2383-2396) potentially used before declaration: ProcessedDividendTracker(_iterations,_claims,_lastProcessedIndex,gasPerTracker) (#2392)
Variable 'DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._claims (#2391)' in DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2383-2396) potentially used before declaration: ProcessedDividendTracker(_iterations,_claims,_lastProcessedIndex,gasPerTracker) (#2392)
Variable 'DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8)._iterations (#2391)' in DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2383-2396) potentially used before declaration: ProcessedDividendTracker(_iterations,_claims,_lastProcessedIndex,gasPerTracker) (#2392)
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 DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- newTracker = IGenericCloneFactory(addressInfo.cloneFactory).create(DividendTrackerCloneable) (#2214)
- IDividendTrackerCloneable(newTracker).initialize(string(abi.encodePacked(_tokenInfo.name,_Tracker)),string(abi.encodePacked(_tokenInfo.symbol,_DT)),rewardToken,otherFeeInfo[0].claimWait,minBalanceForDividends,address(router)) (#2216-2223)
State variables written after the call(s):
- isExcludedFromFees[newTracker] = true (#2228)
Reentrancy in DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[]) (#1479-1549):
External calls:
- _swapPair = ISwapFactory(ISwapRouter02(_addressInfo.router).factory()).createPair(address(this),ISwapRouter02(_addressInfo.router).WETH()) (#1522)
State variables written after the call(s):
- _mint(BURN_ADDRESS,initialBurnTokens) (#1544)
- _balances[account] += amount (#1006)
- _mint(msg.sender,_totalSupply) (#1545)
- _balances[account] += amount (#1006)
- _mint(BURN_ADDRESS,initialBurnTokens) (#1544)
- _totalSupply += amount (#1005)
- _mint(msg.sender,_totalSupply) (#1545)
- _totalSupply += amount (#1005)
- automatedMarketMakerPairs[_swapPair] = true (#1523)
- isExcludedFromFees[msg.sender] = true (#1527)
- isExcludedFromFees[address(this)] = true (#1528)
- isExcludedFromFees[BURN_ADDRESS] = true (#1529)
- isExcludedFromFees[_addressInfo.marketingWallet] = true (#1530)
- isExcludedFromFees[_addressInfo.tokenCreator] = true (#1531)
- setMaxTxPermille(_tokenInfo.maxTxPermille,_totalSupply) (#1539)
- maxTxAmount = newMaxTxAmount (#1670)
- setMaxWalletPermille(_tokenInfo.maxWalletPermille,_totalSupply) (#1538)
- maxWalletAmount = newMaxWalletAmount (#1642)
- swapContractTokensAtAmount = _tokenInfo.totalSupplyWithoutDecimals * 10 ** _tokenInfo.decimals / 10_000 (#1534)
- swapPair = _swapPair (#1524)
- __DoughToken_init(_tokenInfo) (#1548)
- version = _version (#1129)
Reentrancy in DoughTokenCloneable.swapRequiredFunds() (#1955-1993):
External calls:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ethCreated = swapTokensForEth(tokensToSwap) (#1968)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
External calls sending eth:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
State variables written after the call(s):
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- _allowances[owner][spender] = amount (#1061)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- excludeFromAllDividends(nativeRewardTracker) (#2238)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(this)) (#2240)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
Event emitted after the call(s):
- ExcludedFromAllDividends(account) (#2323)
- excludeFromAllDividends(address(this)) (#2240)
Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- excludeFromAllDividends(nativeRewardTracker) (#2238)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(this)) (#2240)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(msg.sender) (#2241)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
Event emitted after the call(s):
- ExcludedFromAllDividends(account) (#2323)
- excludeFromAllDividends(msg.sender) (#2241)
Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- excludeFromAllDividends(nativeRewardTracker) (#2238)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(this)) (#2240)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(msg.sender) (#2241)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(router)) (#2242)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
Event emitted after the call(s):
- ExcludedFromAllDividends(account) (#2323)
- excludeFromAllDividends(address(router)) (#2242)
Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- excludeFromAllDividends(nativeRewardTracker) (#2238)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(this)) (#2240)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(msg.sender) (#2241)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(router)) (#2242)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(swapPair) (#2243)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
Event emitted after the call(s):
- ExcludedFromAllDividends(account) (#2323)
- excludeFromAllDividends(swapPair) (#2243)
Reentrancy in DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245):
External calls:
- excludeFromAllDividends(nativeRewardTracker) (#2238)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(this)) (#2240)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(msg.sender) (#2241)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(address(router)) (#2242)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(swapPair) (#2243)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
- excludeFromAllDividends(BURN_ADDRESS) (#2244)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).excludeFromDividends(account) (#2328)
Event emitted after the call(s):
- ExcludedFromAllDividends(account) (#2323)
- excludeFromAllDividends(BURN_ADDRESS) (#2244)
Reentrancy in DoughTokenCloneable._transfer(address,address,uint256) (#2103-2109):
External calls:
- (transferToAmount,feeType) = checkTransferRequirementsAndSwap(from,to,amount) (#2105)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- platformWallet.sendValue(address(this).balance) (#1989)
External calls sending eth:
- (transferToAmount,feeType) = checkTransferRequirementsAndSwap(from,to,amount) (#2105)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#986)
- super._transfer(from,to,transferToAmount) (#2106)
Reentrancy in DoughTokenCloneable.checkTransferRequirementsAndSwap(address,address,uint256) (#1904-1927):
External calls:
- swapRequiredFunds() (#1919)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- platformWallet.sendValue(address(this).balance) (#1989)
External calls sending eth:
- swapRequiredFunds() (#1919)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#986)
- transferAmount = getTransferAmountAndSendFees(amount,feeType,from) (#1924)
Reentrancy in DoughRewardCloneable.getOtherFeeImpact(uint256,uint8,address) (#2354-2371):
External calls:
- super._transfer(from,tracker,tokens) (#2362)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
- dividendTracker.setBalance(from,balanceOf(from)) (#2378)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).process(gasPerTracker) (#2391-2393)
- IDividendTrackerCloneable(tracker).distributeDividends(tokens) (#2363)
- dividendTracker.setBalance(to,balanceOf(to)) (#2379)
- address(otherFeeInfo[i].feeRecipient).sendValue(ethForRewards) (#2425)
- address(addressInfo.marketingWallet).sendValue(fundsForMarketing) (#1983)
- platformWallet.sendValue(address(this).balance) (#1989)
- IDividendTrackerCloneable(tracker).distributeDividends(tokens) (#2363)
External calls sending eth:
- super._transfer(from,tracker,tokens) (#2362)
- (success) = recipient.call{value: amount}() (#1206)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
Event emitted after the call(s):
- SendDividends(address(this),tokens,tokens) (#2364)
Reentrancy in DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[]) (#1479-1549):
External calls:
- _swapPair = ISwapFactory(ISwapRouter02(_addressInfo.router).factory()).createPair(address(this),ISwapRouter02(_addressInfo.router).WETH()) (#1522)
Event emitted after the call(s):
- MaxTxAmountChanged(maxTxAmount,newMaxTxAmount) (#1669)
- setMaxTxPermille(_tokenInfo.maxTxPermille,_totalSupply) (#1539)
- MaxWalletAmountChanged(maxWalletAmount,newMaxWalletAmount) (#1641)
- setMaxWalletPermille(_tokenInfo.maxWalletPermille,_totalSupply) (#1538)
- OwnershipTransferred(oldOwner,newOwner) (#467)
- __DoughToken_init(_tokenInfo) (#1548)
- Transfer(address(0),account,amount) (#1007)
- _mint(BURN_ADDRESS,initialBurnTokens) (#1544)
- Transfer(address(0),account,amount) (#1007)
- _mint(msg.sender,_totalSupply) (#1545)
Reentrancy in DoughRewardCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2383-2396):
External calls:
- transferDividendTrackerTokens(from,to) (#2384)
- dividendTracker.setBalance(from,balanceOf(from)) (#2378)
- dividendTracker.setBalance(to,balanceOf(to)) (#2379)
- IDividendTrackerCloneable(otherFeeInfo[i].feeRecipient).process(gasPerTracker) (#2391-2393)
Event emitted after the call(s):
- ProcessedDividendTracker(_iterations,_claims,_lastProcessedIndex,gasPerTracker) (#2392)
Reentrancy in DoughTokenCloneable.swapRequiredFunds() (#1955-1993):
External calls:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
- ethCreated = swapTokensForEth(tokensToSwap) (#1968)
- ISwapRouter02(addressInfo.router).swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2012-2018)
External calls sending eth:
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
- (ethFromLiquidity) = ISwapRouter02(addressInfo.router).addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2042-2049)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1062)
- ethCreated = addLiquidity(tokensForLiquidity,ethCreated) (#1972)
Apply the check-effects-interactions pattern.

Additional information: link

DoughTokenCloneable.swapRequiredFunds() (#1955-1993) uses timestamp for comparisons
Dangerous comparisons:
- ethCreated > 0 (#1970)
DoughTokenCloneable.checkLaunched(address,address,uint256) (#2084-2094) uses timestamp for comparisons
Dangerous comparisons:
- (block.timestamp <= _doughTokenLaunchedAt || _doughTokenLaunchedAt == 0) && from != initialLiquidityAdder && to != initialLiquidityAdder (#2088)
- _doughTokenLaunchedAt == 0 (#2091)
DoughRewardCloneable.sendOtherEth(uint256,uint256,uint256[]) (#2415-2429) uses timestamp for comparisons
Dangerous comparisons:
- ethForRewards > 0 (#2422)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#1175-1185) uses assembly
- INLINE ASM (#1181-1183)
Address.verifyCallResult(bool,bytes,string) (#1344-1364) uses assembly
- INLINE ASM (#1356-1359)
Do not use evm assembly.

Additional information: link

DoughTokenCloneable.setAutomatedMarketMakerPair(address,bool) (#1682-1687) compares to a boolean constant:
-require(bool,string)(pair != swapPair || value == true,createErrorMessage(Can't remove)) (#1683)
Remove the equality to the boolean constant.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.8.0', '^0.8.4']
- ^0.8.4 (#7)
- ^0.8.4 (#145)
- ^0.8.0 (#225)
- ^0.8.0 (#294)
- ^0.8.4 (#334)
- ^0.8.4 (#368)
- ^0.8.0 (#384)
- ^0.8.4 (#481)
- ^0.8.4 (#509)
- ^0.8.4 (#723)
- ^0.8.0 (#744)
- ^0.8.4 (#1115)
- ^0.8.0 (#1152)
- ^0.8.4 (#1375)
- ^0.8.4 (#1398)
- ^0.8.4 (#2148)
Use one Solidity version.

Additional information: link

Address.functionCall(address,bytes) (#1228-1230) is never used and should be removed
Address.functionCall(address,bytes,string) (#1238-1244) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#1257-1263) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#1271-1282) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#1317-1319) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#1327-1336) is never used and should be removed
Address.functionStaticCall(address,bytes) (#1290-1292) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#1300-1309) is never used and should be removed
Address.isContract(address) (#1175-1185) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#1344-1364) is never used and should be removed
ContextUpgradeable.__Context_init() (#308-310) is never used and should be removed
ContextUpgradeable._msgData() (#319-321) is never used and should be removed
DoughTokenCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#1558-1562) is never used and should be removed
DoughTokenCloneable.getOtherFeeImpact(uint256,uint8,address) (#1834) is never used and should be removed
DoughTokenCloneable.getScaledOtherTokensToSwap(uint256,uint256) (#1937-1941) is never used and should be removed
DoughTokenCloneable.postTransferActions(address,address,uint256,uint256,uint8) (#2120) is never used and should be removed
DoughTokenCloneable.sendOtherEth(uint256,uint256,uint256[]) (#1950) is never used and should be removed
ERC20Upgradeable._burn(address,uint256) (#1023-1038) is never used and should be removed
SharedStructures.clone(SharedStructures.LockerInfo,SharedStructures.LockerInfo) (#112-134) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.8.0 (#225) allows old versions
Pragma version^0.8.0 (#294) allows old versions
Pragma version^0.8.0 (#384) allows old versions
Pragma version^0.8.0 (#744) allows old versions
Pragma version^0.8.0 (#1152) allows old versions
solc-0.8.11 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#1203-1208):
- (success) = recipient.call{value: amount}() (#1206)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#1271-1282):
- (success,returndata) = target.call{value: value}(data) (#1280)
Low level call in Address.functionStaticCall(address,bytes,string) (#1300-1309):
- (success,returndata) = target.staticcall(data) (#1307)
Low level call in Address.functionDelegateCall(address,bytes,string) (#1327-1336):
- (success,returndata) = target.delegatecall(data) (#1334)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function ContextUpgradeable.__Context_init() (#308-310) is not in mixedCase
Function ContextUpgradeable.__Context_init_unchained() (#312-313) is not in mixedCase
Variable ContextUpgradeable.__gap (#323) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init() (#409-412) is not in mixedCase
Function OwnableUpgradeable.__Ownable_init_unchained() (#414-416) is not in mixedCase
Variable OwnableUpgradeable.__gap (#470) is not in mixedCase
Function ISwapPair.DOMAIN_SEPARATOR() (#543) is not in mixedCase
Function ISwapPair.PERMIT_TYPEHASH() (#544) is not in mixedCase
Function ISwapPair.MINIMUM_LIQUIDITY() (#561) is not in mixedCase
Function ISwapRouter01.WETH() (#581) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init(string,string,uint8) (#796-799) is not in mixedCase
Function ERC20Upgradeable.__ERC20_init_unchained(string,string,uint8) (#801-805) is not in mixedCase
Variable ERC20Upgradeable.__gap (#1104) is not in mixedCase
Function VersionedUpgradeable.__Versioned_init(string) (#1123-1126) is not in mixedCase
Parameter VersionedUpgradeable.__Versioned_init(string)._version (#1123) is not in mixedCase
Function VersionedUpgradeable.__Versioned_init_unchained(string) (#1128-1130) is not in mixedCase
Parameter VersionedUpgradeable.__Versioned_init_unchained(string)._version (#1128) is not in mixedCase
Parameter VersionedUpgradeable.setVersion(string)._version (#1136) is not in mixedCase
Variable VersionedUpgradeable.__gap (#1140) is not in mixedCase
Parameter DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._tokenInfo (#1480) is not in mixedCase
Parameter DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._addressInfo (#1481) is not in mixedCase
Parameter DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._feeInfo (#1482) is not in mixedCase
Parameter DoughTokenCloneable.initialize(SharedStructures.TokenInfo,SharedStructures.AddressInfo,SharedStructures.FeeInfo[2],SharedStructures.OtherFeeInfo[])._otherFeeInfo (#1483) is not in mixedCase
Function DoughTokenCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#1558-1562) is not in mixedCase
Parameter DoughTokenCloneable.__DoughToken_init(SharedStructures.TokenInfo)._tokenInfo (#1558) is not in mixedCase
Parameter DoughTokenCloneable.setMaxWalletPermille(uint16,uint256)._totalSupply (#1638) is not in mixedCase
Parameter DoughTokenCloneable.setMaxTxPermille(uint16,uint256)._totalSupply (#1666) is not in mixedCase
Parameter DoughTokenCloneable.createErrorMessage(string)._message (#1694) is not in mixedCase
Parameter DoughTokenCloneable.setBuyFees(uint8,uint8,uint8)._liquidityFee (#1730) is not in mixedCase
Parameter DoughTokenCloneable.setBuyFees(uint8,uint8,uint8)._marketingFee (#1730) is not in mixedCase
Parameter DoughTokenCloneable.setBuyFees(uint8,uint8,uint8)._burnFee (#1730) is not in mixedCase
Parameter DoughTokenCloneable.setSellFees(uint8,uint8,uint8)._liquidityFee (#1743) is not in mixedCase
Parameter DoughTokenCloneable.setSellFees(uint8,uint8,uint8)._marketingFee (#1743) is not in mixedCase
Parameter DoughTokenCloneable.setSellFees(uint8,uint8,uint8)._burnFee (#1743) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8,uint8,uint8,uint8)._liquidityFee (#1758) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8,uint8,uint8,uint8)._marketingFee (#1758) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8,uint8,uint8,uint8)._burnFee (#1758) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8,uint8,uint8,uint8)._feeType (#1758) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8[],uint8,uint8,uint8,uint8)._otherFee (#1789) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8[],uint8,uint8,uint8,uint8)._liquidityFee (#1789) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8[],uint8,uint8,uint8,uint8)._marketingFee (#1789) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8[],uint8,uint8,uint8,uint8)._burnFee (#1789) is not in mixedCase
Parameter DoughTokenCloneable.setFees(uint8[],uint8,uint8,uint8,uint8)._feeType (#1789) is not in mixedCase
Parameter DoughTokenCloneable.getOtherFeeDetails(uint256).ID (#2130) is not in mixedCase
Variable DoughTokenCloneable.__gap (#2139) is not in mixedCase
Function DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo) (#2177-2245) is not in mixedCase
Parameter DoughRewardCloneable.__DoughToken_init(SharedStructures.TokenInfo)._tokenInfo (#2177) is not in mixedCase
Parameter DoughRewardCloneable.setBuyFees(uint8[],uint8,uint8,uint8)._rewardsFee (#2264) is not in mixedCase
Parameter DoughRewardCloneable.setBuyFees(uint8[],uint8,uint8,uint8)._liquidityFee (#2264) is not in mixedCase
Parameter DoughRewardCloneable.setBuyFees(uint8[],uint8,uint8,uint8)._marketingFee (#2264) is not in mixedCase
Parameter DoughRewardCloneable.setBuyFees(uint8[],uint8,uint8,uint8)._burnFee (#2264) is not in mixedCase
Parameter DoughRewardCloneable.setSellFees(uint8[],uint8,uint8,uint8)._rewardsFee (#2278) is not in mixedCase
Parameter DoughRewardCloneable.setSellFees(uint8[],uint8,uint8,uint8)._liquidityFee (#2278) is not in mixedCase
Parameter DoughRewardCloneable.setSellFees(uint8[],uint8,uint8,uint8)._marketingFee (#2278) is not in mixedCase
Parameter DoughRewardCloneable.setSellFees(uint8[],uint8,uint8,uint8)._burnFee (#2278) is not in mixedCase
Parameter DoughRewardCloneable.getScaledOtherTokensToSwap(uint256,uint256)._swapContractTokensAtAmount (#2398) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable ISwapRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#586) is too similar to ISwapRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#587)
Prevent variables from having similar names.

Additional information: link

DoughRewardCloneable.slitherConstructorConstantVariables() (#2154-2431) uses literals with too many digits:
- BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD (#1442)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DoughTokenCloneable.__gap (#2139) is never used in DoughRewardCloneable (#2154-2431)
Remove unused state variables.

Additional information: link

renounceOwnership() should be declared external:
- OwnableUpgradeable.renounceOwnership() (#447-449)
name() should be declared external:
- ERC20Upgradeable.name() (#810-812)
transfer(address,uint256) should be declared external:
- ERC20Upgradeable.transfer(address,uint256) (#861-864)
allowance(address,address) should be declared external:
- ERC20Upgradeable.allowance(address,address) (#869-871)
approve(address,uint256) should be declared external:
- ERC20Upgradeable.approve(address,uint256) (#880-883)
transferFrom(address,address,uint256) should be declared external:
- ERC20Upgradeable.transferFrom(address,address,uint256) (#898-912)
increaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.increaseAllowance(address,uint256) (#926-929)
decreaseAllowance(address,uint256) should be declared external:
- ERC20Upgradeable.decreaseAllowance(address,uint256) (#945-953)
setMarketingWallet(address) should be declared external:
- DoughTokenCloneable.setMarketingWallet(address) (#1584-1590)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is low.


Twitter account has less than 100 followers


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Twitter account has few posts

Search:


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Anti-Scam Checks

Price for JDC

News for JDC