CMC Coin Is the brainchild Of the Crypto Marketing Company. We are a marketing focused project and are the fastest growing crypto marketing agency globally. CMCC is the native coin of Crypto Weekly Magazine with over 100,000 subscribers worldwide. Our underlying principle behind CMC coin is to build in the element of collaborative reward contribution and sharing, through redistribution of transaction fees charged on transfers of the CMC coin by its holders. It offers advertisers in Crypto Weekly Magazine and its associated media outlets, a massive 45% discount from their advertising rates if they pay in CMCC. We also have our own retail platform and integrated payment gateway utilising the Amazon network, payments can be made via CMC Coin offering a truly unique use-case, whilst creating volume and demand. In addition to our retail platform, we have developed an alt coin payment gateway which will allow retailers to be able to accept CMC Coin amongst other partner coins of our choosing. This will allow retailers to enhance and increase their retail sales by accessing an untapped marketplace. CMC Coin has unique tokenomics structure, that has been specifically designed to attract long-term holders and deter short-term pump and dump whales. We have implemented two safeguards that will not only reduce the chances of a dump, but also benefit coin holders even further if whales do decide to dump some of their coins.
CMC Coin was developed with a long-term vision, with that in mind the liquidity is locked as well the founders tokens which are released over an eighteen-month period. We believe these safeguards will protect our investors and community at large.
The reason why we have launched CMC Coin on the BSC smart chain, is due to the high volume and attraction of the mass investor, and we believe that it offers ease-of-access and high visibility in the crypto sphere. With that in mind, we have bridged to the KCC Network to amplify capital growth and accessibility across blockchains. The CMC team are fully doxed, unlike many projects we are real-world business, with over fifty years marketing experience, that has benefited our clients in both capital growth and community integration and membership. CMC is at the forefront of the crypto sphere, we have a firm focus and ethos on being able to make crypto available to the masses. We have a number of exciting platforms which not only educate, inspire and captivate the newcomer or seasoned investor, but also offers value for money and return on investment (ROI) for our holders. With every platform launch we expect to see growth and stability for our holders and community. The team behind CMC Coin is dedicated to achieving results for our hodlers, by being transparent in our approach so that we can attain the best possible outcome.
CryptoMarketingCompany.swapAndSendToFee(uint256) (#2432-2435) sends eth to arbitrary user
Dangerous calls:
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
CryptoMarketingCompany.addLiquidity(uint256,uint256) (#2489-2504) sends eth to arbitrary user
Dangerous calls:
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- swapAndSendDividends(monthlyTokens,false) (#2377)
- monthlyTokens = monthlyTokens.sub(tokens) (#2520)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- weeklyTokens = weeklyTokens.sub(tokens) (#2516)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#2395)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#809-812)
- _balances[recipient] = _balances[recipient].add(amount) (#813)
- super._transfer(from,to,amount) (#2398)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#809-812)
- _balances[recipient] = _balances[recipient].add(amount) (#813)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- marketingTokens = marketingTokens.add(_marketingTokens) (#2425)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- monthlyTokens = monthlyTokens.add(_monthlyRewardTokens) (#2426)
- swapping = false (#2382)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- weeklyTokens = weeklyTokens.add(_weeklyRewardTokens) (#2427)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1282-1305):
External calls:
- success = IERC20(_rewardTokenAddress).transfer(user,_withdrawableDividend) (#1292)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1295-1297)
Reentrancy in CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524):
External calls:
- swapTokensForRewardToken(tokens) (#2507)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
State variables written after the call(s):
- weeklyTokens = weeklyTokens.sub(tokens) (#2516)
Reentrancy in CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524):
External calls:
- swapTokensForRewardToken(tokens) (#2507)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
State variables written after the call(s):
- monthlyTokens = monthlyTokens.sub(tokens) (#2520)
Reentrancy in CryptoMarketingCompany.updateDividendTracker(address,uint256) (#1999-2028):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#2014)
- newDividendTracker.excludeFromDividends(address(monthlyDividendTracker)) (#2015)
- newDividendTracker.excludeFromDividends(address(this)) (#2016)
- newDividendTracker.excludeFromDividends(owner()) (#2017)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#2018)
State variables written after the call(s):
- monthlyDividendTracker = newDividendTracker (#2025)
- weeklyDividendTracker = newDividendTracker (#2023)
Apply the check-effects-interactions pattern.
Additional information: link
CryptoMarketingCompany._transfer(address,address,uint256).iterations (#2408) is a local variable never initialized
CryptoMarketingCompany._transfer(address,address,uint256).claims (#2408) is a local variable never initialized
CryptoMarketingCompany._transfer(address,address,uint256).iterations_scope_0 (#2412) is a local variable never initialized
CryptoMarketingCompany._transfer(address,address,uint256).claims_scope_1 (#2412) is a local variable never initialized
CryptoMarketingCompany._transfer(address,address,uint256).lastProcessedIndex (#2408) is a local variable never initialized
CryptoMarketingCompany._transfer(address,address,uint256).lastProcessedIndex_scope_2 (#2412) 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
CryptoMarketingCompany._claim(address) (#2311-2314) ignores return value by weeklyDividendTracker.processAccount(user,false) (#2312)
CryptoMarketingCompany._claim(address) (#2311-2314) ignores return value by monthlyDividendTracker.processAccount(user,false) (#2313)
CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) ignores return value by weeklyDividendTracker.process(gas) (#2408-2410)
CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) ignores return value by monthlyDividendTracker.process(gas) (#2412-2414)
CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524) ignores return value by weeklyTokens.sub(tokens) (#2510)
CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524) ignores return value by monthlyTokens.sub(tokens) (#2510)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1257) shadows:
- ERC20._name (#583) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1257) shadows:
- ERC20._symbol (#584) (state variable)
DividendPayingToken.dividendOf(address)._owner (#1310) shadows:
- Ownable._owner (#913) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#1317) shadows:
- Ownable._owner (#913) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#1329) shadows:
- Ownable._owner (#913) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#1343) shadows:
- Ownable._owner (#913) (state variable)
Rename the local variables that shadow another component.
Additional information: link
CryptoMarketingCompany.setSwapTokensAtAmount(uint256) (#2082-2084) should emit an event for:
- swapTokensAtAmount = amount (#2083)
CryptoMarketingCompany.updateHourlySellingLimit(uint256) (#2152-2155) should emit an event for:
- hourlyLimit = newLimit (#2154)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken.switchRewardTokenAddress(address).rewardTokenAddress (#1417) lacks a zero-check on :
- _rewardTokenAddress = rewardTokenAddress (#1418)
Ownable.constructor().msgSender (#924) lacks a zero-check on :
- _owner = msgSender (#925)
CryptoMarketingCompany.updateUniswapV2Router(address)._uniswapV2Pair (#2044-2045) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#2046)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1282-1305) has external calls inside a loop: success = IERC20(_rewardTokenAddress).transfer(user,_withdrawableDividend) (#1292)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).iterations (#2408)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin,1) (#2409)
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).lastProcessedIndex (#2408)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin,1) (#2409)
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).claims (#2408)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin,1) (#2409)
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).iterations_scope_0 (#2412)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin,2) (#2413)
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).lastProcessedIndex_scope_2 (#2412)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin,2) (#2413)
Variable 'CryptoMarketingCompany._transfer(address,address,uint256).claims_scope_1 (#2412)' in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) potentially used before declaration: ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin,2) (#2413)
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 CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- swapAndSendDividends(weeklyTokens,true) (#2376)
- _allowances[owner][spender] = amount (#881)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- swapAndSendDividends(monthlyTokens,false) (#2377)
- _allowances[owner][spender] = amount (#881)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
State variables written after the call(s):
- swapAndLiquify(liquidityTokens) (#2380)
- _allowances[owner][spender] = amount (#881)
Reentrancy in CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1957-1958)
State variables written after the call(s):
- _mint(0x208557dab8aFb1e968F560a7fa300572364AF4a7,17500000 * (10 ** 18)) (#1973)
- _balances[account] = _balances[account].add(amount) (#832)
- _mint(0x417175E660132A74Fc5F59c3A6E7884A96702EB4,1000000 * (10 ** 18)) (#1974)
- _balances[account] = _balances[account].add(amount) (#832)
- _mint(0x7587B672f0b7eb6EfEF1F60aE70d3fc2D0fbaCab,7500000 * (10 ** 18)) (#1975)
- _balances[account] = _balances[account].add(amount) (#832)
- _mint(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,24000000 * (10 ** 18)) (#1976)
- _balances[account] = _balances[account].add(amount) (#832)
- excludeFromFees(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,true) (#1965)
- _isExcludedFromFees[account] = excluded (#2054)
- excludeFromFees(_marketingWalletAddress,true) (#1966)
- _isExcludedFromFees[account] = excluded (#2054)
- excludeFromFees(address(this),true) (#1967)
- _isExcludedFromFees[account] = excluded (#2054)
- _mint(0x208557dab8aFb1e968F560a7fa300572364AF4a7,17500000 * (10 ** 18)) (#1973)
- _totalSupply = _totalSupply.add(amount) (#831)
- _mint(0x417175E660132A74Fc5F59c3A6E7884A96702EB4,1000000 * (10 ** 18)) (#1974)
- _totalSupply = _totalSupply.add(amount) (#831)
- _mint(0x7587B672f0b7eb6EfEF1F60aE70d3fc2D0fbaCab,7500000 * (10 ** 18)) (#1975)
- _totalSupply = _totalSupply.add(amount) (#831)
- _mint(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,24000000 * (10 ** 18)) (#1976)
- _totalSupply = _totalSupply.add(amount) (#831)
- lastSellTime = block.timestamp (#1962)
- uniswapV2Pair = _uniswapV2Pair (#1961)
- uniswapV2Router = _uniswapV2Router (#1960)
Reentrancy in CMCDividendTracker.processAccount(address,bool) (#1677-1691):
External calls:
- amount = _withdrawDividendOfUser(account) (#1682)
- success = IERC20(_rewardTokenAddress).transfer(user,_withdrawableDividend) (#1292)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1685)
Reentrancy in CryptoMarketingCompany.swapAndLiquify(uint256) (#2438-2449):
External calls:
- newBalance = swapTokensForEth(half) (#2443)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- addLiquidity(otherHalf,newBalance) (#2446)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2446)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2446)
- _allowances[owner][spender] = amount (#881)
Reentrancy in CryptoMarketingCompany.swapAndSendToFee(uint256) (#2432-2435):
External calls:
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
External calls sending eth:
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- marketingTokens = marketingTokens.sub(tokens) (#2434)
Reentrancy in CryptoMarketingCompany.updateUniswapV2Router(address) (#2030-2047):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#2044-2045)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#2046)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in CryptoMarketingCompany._setAutomatedMarketMakerPair(address,bool) (#2123-2136):
External calls:
- weeklyDividendTracker.excludeFromDividends(pair) (#2131)
- monthlyDividendTracker.excludeFromDividends(pair) (#2132)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#2135)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- SendDividends(tokens,dividends,1) (#2517)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- SendDividends(tokens,dividends,2) (#2521)
- swapAndSendDividends(weeklyTokens,true) (#2376)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- SendDividends(tokens,dividends,1) (#2517)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- SendDividends(tokens,dividends,2) (#2521)
- swapAndSendDividends(monthlyTokens,false) (#2377)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- swapAndLiquify(liquidityTokens) (#2380)
- SwapAndLiquify(half,newBalance,otherHalf) (#2448)
- swapAndLiquify(liquidityTokens) (#2380)
- Transfer(sender,recipient,amount) (#814)
- super._transfer(from,to,amount) (#2398)
- Transfer(sender,recipient,amount) (#814)
- super._transfer(from,address(this),fees) (#2395)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- weeklyDividendTracker.setBalance(address(from),balanceOf(from)) (#2400)
- weeklyDividendTracker.setBalance(address(to),balanceOf(to)) (#2401)
- monthlyDividendTracker.setBalance(address(from),balanceOf(from)) (#2402)
- monthlyDividendTracker.setBalance(address(to),balanceOf(to)) (#2403)
- weeklyDividendTracker.process(gas) (#2408-2410)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin,1) (#2409)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- weeklyDividendTracker.setBalance(address(from),balanceOf(from)) (#2400)
- weeklyDividendTracker.setBalance(address(to),balanceOf(to)) (#2401)
- monthlyDividendTracker.setBalance(address(from),balanceOf(from)) (#2402)
- monthlyDividendTracker.setBalance(address(to),balanceOf(to)) (#2403)
- weeklyDividendTracker.process(gas) (#2408-2410)
- monthlyDividendTracker.process(gas) (#2412-2414)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin,2) (#2413)
Reentrancy in CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1957-1958)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#2056)
- excludeFromFees(address(this),true) (#1967)
- ExcludeFromFees(account,excluded) (#2056)
- excludeFromFees(_marketingWalletAddress,true) (#1966)
- ExcludeFromFees(account,excluded) (#2056)
- excludeFromFees(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,true) (#1965)
- Transfer(address(0),account,amount) (#833)
- _mint(0x417175E660132A74Fc5F59c3A6E7884A96702EB4,1000000 * (10 ** 18)) (#1974)
- Transfer(address(0),account,amount) (#833)
- _mint(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,24000000 * (10 ** 18)) (#1976)
- Transfer(address(0),account,amount) (#833)
- _mint(0x7587B672f0b7eb6EfEF1F60aE70d3fc2D0fbaCab,7500000 * (10 ** 18)) (#1975)
- Transfer(address(0),account,amount) (#833)
- _mint(0x208557dab8aFb1e968F560a7fa300572364AF4a7,17500000 * (10 ** 18)) (#1973)
Reentrancy in CryptoMarketingCompany.initialExclusion() (#1981-1997):
External calls:
- weeklyDividendTracker.excludeFromDividends(address(weeklyDividendTracker)) (#1983)
- weeklyDividendTracker.excludeFromDividends(address(monthlyDividendTracker)) (#1984)
- weeklyDividendTracker.excludeFromDividends(address(this)) (#1985)
- weeklyDividendTracker.excludeFromDividends(owner()) (#1986)
- weeklyDividendTracker.excludeFromDividends(deadWallet) (#1987)
- weeklyDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1988)
- monthlyDividendTracker.excludeFromDividends(address(weeklyDividendTracker)) (#1989)
- monthlyDividendTracker.excludeFromDividends(address(monthlyDividendTracker)) (#1990)
- monthlyDividendTracker.excludeFromDividends(address(this)) (#1991)
- monthlyDividendTracker.excludeFromDividends(owner()) (#1992)
- monthlyDividendTracker.excludeFromDividends(deadWallet) (#1993)
- monthlyDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1994)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1996)
- weeklyDividendTracker.excludeFromDividends(pair) (#2131)
- monthlyDividendTracker.excludeFromDividends(pair) (#2132)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#2135)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1996)
Reentrancy in CMCDividendTracker.processAccount(address,bool) (#1677-1691):
External calls:
- amount = _withdrawDividendOfUser(account) (#1682)
- success = IERC20(_rewardTokenAddress).transfer(user,_withdrawableDividend) (#1292)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1686)
Reentrancy in CryptoMarketingCompany.processDividendTrackers(uint256) (#2275-2305):
External calls:
- (iterations,claims,lastProcessedIndex) = weeklyDividendTracker.process(gas) (#2276-2280)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin,1) (#2281-2289)
Reentrancy in CryptoMarketingCompany.processDividendTrackers(uint256) (#2275-2305):
External calls:
- (iterations,claims,lastProcessedIndex) = weeklyDividendTracker.process(gas) (#2276-2280)
- (iterations,claims,lastProcessedIndex) = monthlyDividendTracker.process(gas) (#2291-2295)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin,2) (#2296-2304)
Reentrancy in CryptoMarketingCompany.swapAndLiquify(uint256) (#2438-2449):
External calls:
- newBalance = swapTokensForEth(half) (#2443)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2461-2467)
- addLiquidity(otherHalf,newBalance) (#2446)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
- address(_marketingWalletAddress).sendValue(ethAmount - ethFromLiquidity) (#2503)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2446)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- addLiquidity(otherHalf,newBalance) (#2446)
- SwapAndLiquify(half,newBalance,otherHalf) (#2448)
Reentrancy in CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524):
External calls:
- swapTokensForRewardToken(tokens) (#2507)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- weeklyDividendTracker.distributeRewardTokenDividends(dividends) (#2515)
Event emitted after the call(s):
- SendDividends(tokens,dividends,1) (#2517)
Reentrancy in CryptoMarketingCompany.swapAndSendDividends(uint256,bool) (#2506-2524):
External calls:
- swapTokensForRewardToken(tokens) (#2507)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2480-2486)
- success = IERC20(_rewardTokenAddress).transfer(txAddress,dividends) (#2511)
- monthlyDividendTracker.distributeRewardTokenDividends(dividends) (#2519)
Event emitted after the call(s):
- SendDividends(tokens,dividends,2) (#2521)
Reentrancy in CryptoMarketingCompany.updateDividendTracker(address,uint256) (#1999-2028):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#2014)
- newDividendTracker.excludeFromDividends(address(monthlyDividendTracker)) (#2015)
- newDividendTracker.excludeFromDividends(address(this)) (#2016)
- newDividendTracker.excludeFromDividends(owner()) (#2017)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#2018)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(weeklyDividendTracker),_trackerType) (#2020)
Apply the check-effects-interactions pattern.
Additional information: link
CMCDividendTracker.getAccount(address) (#1511-1558) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1555-1557)
CMCDividendTracker.canAutoClaim(uint256) (#1592-1598) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1593)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1597)
CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp - lastSellTime < 3600 (#2343)
CryptoMarketingCompany.addLiquidity(uint256,uint256) (#2489-2504) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount > ethFromLiquidity (#2502)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#1719-1728) uses assembly
- INLINE ASM (#1726)
Address._functionCallWithValue(address,bytes,uint256,string) (#1812-1833) uses assembly
- INLINE ASM (#1825-1828)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#1812-1833) is never used and should be removed
Address.functionCall(address,bytes) (#1772-1774) is never used and should be removed
Address.functionCall(address,bytes,string) (#1782-1784) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#1797-1799) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#1807-1810) is never used and should be removed
Address.isContract(address) (#1719-1728) is never used and should be removed
Context._msgData() (#534-537) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1362-1377) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#50-52) is never used and should be removed
SafeMath.mod(uint256,uint256) (#370-372) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#386-393) is never used and should be removed
SafeMathInt.abs(int256) (#166-169) is never used and should be removed
SafeMathInt.div(int256,int256) (#137-143) is never used and should be removed
SafeMathInt.mul(int256,int256) (#125-132) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#4) allows old versions
Pragma version^0.8.0 (#39) allows old versions
Pragma version^0.8.0 (#116) allows old versions
Pragma version^0.8.0 (#180) allows old versions
Pragma version^0.8.0 (#212) allows old versions
Pragma version^0.8.0 (#239) allows old versions
Pragma version^0.8.0 (#401) allows old versions
Pragma version^0.8.0 (#495) allows old versions
Pragma version^0.8.0 (#527) allows old versions
Pragma version^0.8.0 (#542) allows old versions
Pragma version^0.8.0 (#909) allows old versions
Pragma version^0.8.0 (#974) allows old versions
Pragma version^0.8.0 (#1138) allows old versions
Pragma version^0.8.0 (#1195) allows old versions
Pragma version^0.8.0 (#1208) allows old versions
Pragma version^0.8.0 (#1425) allows old versions
Pragma version^0.8.0 (#1699) allows old versions
Pragma version^0.8.0 (#1839) allows old versions
solc-0.8.10 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) (#1746-1752):
- (success) = recipient.call{value: amount}() (#1750)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#1812-1833):
- (success,returndata) = target.call{value: weiValue}(data) (#1816)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable ERC20._name (#583) is not in mixedCase
Variable ERC20._symbol (#584) is not in mixedCase
Function IUniswapV2Router01.WETH() (#979) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1310) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1317) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1329) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1343) is not in mixedCase
Variable DividendPayingToken._rewardTokenAddress (#1232) is not in mixedCase
Constant DividendPayingToken.magnitude (#1237) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter CMCDividendTracker.getAccount(address)._account (#1511) is not in mixedCase
Parameter CryptoMarketingCompany.updateDividendTracker(address,uint256)._trackerType (#1999) is not in mixedCase
Parameter CryptoMarketingCompany.setRewardTokenWeeklyRewardsFees(uint8,uint8)._buyFee (#2086) is not in mixedCase
Parameter CryptoMarketingCompany.setRewardTokenWeeklyRewardsFees(uint8,uint8)._sellFee (#2086) is not in mixedCase
Parameter CryptoMarketingCompany.setRewardTokenMonthlyRewardsFees(uint8,uint8)._buyFee (#2091) is not in mixedCase
Parameter CryptoMarketingCompany.setRewardTokenMonthlyRewardsFees(uint8,uint8)._sellFee (#2091) is not in mixedCase
Parameter CryptoMarketingCompany.setLiquidityFees(uint8,uint8)._buyFee (#2096) is not in mixedCase
Parameter CryptoMarketingCompany.setLiquidityFees(uint8,uint8)._sellFee (#2096) is not in mixedCase
Parameter CryptoMarketingCompany.setMarketingFees(uint8,uint8)._buyFee (#2101) is not in mixedCase
Parameter CryptoMarketingCompany.setMarketingFees(uint8,uint8)._sellFee (#2101) is not in mixedCase
Variable CryptoMarketingCompany._rewardTokenAddress (#1863) is not in mixedCase
Variable CryptoMarketingCompany._isBlacklisted (#1868) is not in mixedCase
Constant CryptoMarketingCompany.minimumSellLimit (#1870) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CryptoMarketingCompany.RewardTokenWeeklyRewardsFee (#1874) is not in mixedCase
Variable CryptoMarketingCompany.RewardTokenMonthlyRewardsFee (#1875) is not in mixedCase
Variable CryptoMarketingCompany._marketingWalletAddress (#1886) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#535)" inContext (#529-538)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- swapAndSendDividends(weeklyTokens,true) (#2376)
- _allowances[owner][spender] = amount (#881)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- _allowances[owner][spender] = amount (#881)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- monthlyTokens = monthlyTokens.sub(tokens) (#2520)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- monthlyTokens = monthlyTokens.sub(tokens) (#2520)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- weeklyTokens = weeklyTokens.sub(tokens) (#2516)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- weeklyTokens = weeklyTokens.sub(tokens) (#2516)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- Approval(owner,spender,amount) (#882)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- SendDividends(tokens,dividends,1) (#2517)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- SendDividends(tokens,dividends,1) (#2517)
- swapAndSendDividends(weeklyTokens,true) (#2376)
- SendDividends(tokens,dividends,2) (#2521)
- swapAndSendDividends(monthlyTokens,false) (#2377)
- SendDividends(tokens,dividends,2) (#2521)
- swapAndSendDividends(weeklyTokens,true) (#2376)
Reentrancy in CryptoMarketingCompany._transfer(address,address,uint256) (#2331-2416):
External calls:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (#2375)
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
- swapAndLiquify(liquidityTokens) (#2380)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#2494-2501)
- (success) = recipient.call{value: amount}() (#1750)
State variables written after the call(s):
- swapAndLiquify(liquidityTokens) (#2380)
- _allowances[owner][spender] = amount (#881)
- super._transfer(from,address(this),fees) (#2395)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#809-812)
- _balances[recipient] = _balances[recipient].add(amount) (#813)
- super._transfer(from,to,amount) (#2398)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#809-812)
- _balances[recipient] = _balances[recipient].add(amount) (#813)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- marketingTokens = marketingTokens.add(_marketingTokens) (#2425)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- monthlyTokens = monthlyTokens.add(_monthlyRewardTokens) (#2426)
- swapping = false (#2382)
- (transferAmount,fees) = getTransferAmounts(amount,feeType) (#2393)
- weeklyTokens = weeklyTokens.add(_weeklyRewardTokens) (#2427)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#882)
- swapAndLiquify(liquidityTokens) (#2380)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin,1) (#2409)
- ProcessedDividendTracker(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin,2) (#2413)
- SwapAndLiquify(half,newBalance,otherHalf) (#2448)
- swapAndLiquify(liquidityTokens) (#2380)
- Transfer(sender,recipient,amount) (#814)
- super._transfer(from,address(this),fees) (#2395)
- Transfer(sender,recipient,amount) (#814)
- super._transfer(from,to,amount) (#2398)
Reentrancy in CryptoMarketingCompany.swapAndSendToFee(uint256) (#2432-2435):
External calls:
- address(_marketingWalletAddress).transfer(swapTokensForEth(tokens)) (#2433)
State variables written after the call(s):
- marketingTokens = marketingTokens.sub(tokens) (#2434)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#984) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#985)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1286) is too similar to CMCDividendTracker.getAccount(address).withdrawableDividends (#1518)
Prevent variables from having similar names.
Additional information: link
CMCDividendTracker.getAccountAtIndex(uint256) (#1560-1590) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1575-1584)
CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977) uses literals with too many digits:
- _mint(0x208557dab8aFb1e968F560a7fa300572364AF4a7,17500000 * (10 ** 18)) (#1973)
CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977) uses literals with too many digits:
- _mint(0x417175E660132A74Fc5F59c3A6E7884A96702EB4,1000000 * (10 ** 18)) (#1974)
CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977) uses literals with too many digits:
- _mint(0x7587B672f0b7eb6EfEF1F60aE70d3fc2D0fbaCab,7500000 * (10 ** 18)) (#1975)
CryptoMarketingCompany.constructor(CMCDividendTracker,CMCDividendTracker) (#1948-1977) uses literals with too many digits:
- _mint(0x7db31EEe43782EB32d9F160B1de07A94a92591a0,24000000 * (10 ** 18)) (#1976)
CryptoMarketingCompany.updateGasForProcessing(uint256) (#2138-2150) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,CMCC: Invalid range) (#2139-2142)
CryptoMarketingCompany.slitherConstructorVariables() (#1846-2526) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1861)
CryptoMarketingCompany.slitherConstructorVariables() (#1846-2526) uses literals with too many digits:
- gasForProcessing = 300000 (#1889)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#120) is never used in SafeMathInt (#118-175)
Remove unused state variables.
Additional information: link
CryptoMarketingCompany.deadWallet (#1861) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- ERC20.name() (#603-605)
symbol() should be declared external:
- ERC20.symbol() (#611-613)
decimals() should be declared external:
- ERC20.decimals() (#628-630)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#660-668)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#673-681)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#690-698)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#713-728)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#742-753)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#769-783)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#951-954)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#960-967)
distributeRewardTokenDividends(uint256) should be declared external:
- DividendPayingToken.distributeRewardTokenDividends(uint256) (#1261-1272)
withdrawDividend() should be declared external:
- CMCDividendTracker.withdrawDividend() (#1473-1478)
- DividendPayingToken.withdrawDividend() (#1276-1278)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1310-1312)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1329-1336)
getAccountAtIndex(uint256) should be declared external:
- CMCDividendTracker.getAccountAtIndex(uint256) (#1560-1590)
setMinimumTokenBalanceForDividends(uint256) should be declared external:
- CMCDividendTracker.setMinimumTokenBalanceForDividends(uint256) (#1619-1621)
process(uint256) should be declared external:
- CMCDividendTracker.process(uint256) (#1623-1675)
initialExclusion() should be declared external:
- CryptoMarketingCompany.initialExclusion() (#1981-1997)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- CryptoMarketingCompany.excludeMultipleAccountsFromFees(address[],bool) (#2059-2068)
setSwapTokensAtAmount(uint256) should be declared external:
- CryptoMarketingCompany.setSwapTokensAtAmount(uint256) (#2082-2084)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- CryptoMarketingCompany.setAutomatedMarketMakerPair(address,bool) (#2106-2116)
updateGasForProcessing(uint256) should be declared external:
- CryptoMarketingCompany.updateGasForProcessing(uint256) (#2138-2150)
updateHourlySellingLimit(uint256) should be declared external:
- CryptoMarketingCompany.updateHourlySellingLimit(uint256) (#2152-2155)
isExcludedFromFees(address) should be declared external:
- CryptoMarketingCompany.isExcludedFromFees(address) (#2181-2183)
withdrawableDividendsOf(address) should be declared external:
- CryptoMarketingCompany.withdrawableDividendsOf(address) (#2185-2191)
dividendTokenBalancesOf(address) should be declared external:
- CryptoMarketingCompany.dividendTokenBalancesOf(address) (#2193-2199)
Use the external attribute for functions never called from the contract.
Additional information: link
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 code repository for the project
Alexa traffic rank is very low
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account