Carbon Coin - CNES Token Logo

CBC [Carbon Coin - CNES] Token

About CBC

Listings

Token 3 years
CoinMarketCap 2 years
white paper

In the simplest of terms, carbon neutrality means having net-zero carbon dioxide emissions. To achieve this, you have to balance carbon emissions with carbon removal. For every amount of carbon, a company or country produces, it should be taking steps to remove the same amount of carbon from the atmosphere if it wants to achieve carbon neutrality.

$CBC (Carbon Coin) is released on the basis of BINANCE SMART CHAIN platform and fully complies with BSC20* standard. $CBC is completely decentralized, and all decisions are made by a community poll. Our goal is to reduce pollution by donating to organizations involved in promoting carbon neutrality. These organizations will be voted by the community.

Social

Laser Scorebeta Last Audit: 26 August 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

Reentrancy in CarbonCoin._transfer(address,address,uint256) (#1094-1136):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#984)
- _rOwned[_cWallet] = _rOwned[_cWallet].add(rCommFee) (#993)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1257)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1291)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1258)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1293)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1351)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1330)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1331)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1353)
- _rOwned[sender] = _rOwned[sender].sub(rAmount_scope_1) (#1273)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount_scope_2) (#1274)
- _rOwned[sender] = _rOwned[sender].sub(rAmount_scope_1) (#1308)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount_scope_2) (#1310)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _rTotal = _rTotal.sub(rFee) (#990)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#986)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1329)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1350)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1292)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1352)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount_scope_4) (#1309)
Apply the check-effects-interactions pattern.

Additional information: link

CarbonCoin.claimReward() (#1428-1441) ignores return value by usdt.transfer(msg.sender,usdtR) (#1435)
CarbonCoin.migrateRewardToken(address,uint256) (#1479-1482) ignores return value by usdt.transfer(_newadress,rewardTokenAmount) (#1481)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

CarbonCoin.claimReward() (#1428-1441) contains a tautology or contradiction:
- require(bool,string)(balanceOf(msg.sender) >= 0,Error: You must own Tokens to claim reward!) (#1432)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

Contract name (Carbon Coin - CNES) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

CarbonCoin.swapAndLiquify(uint256) (#1138-1160) performs a multiplication on the result of a division:
-toLiqAmount = contractTokenBalance.div(9).mul(2) (#1142)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in CarbonCoin.claimReward() (#1428-1441):
External calls:
- usdt.transfer(msg.sender,usdtR) (#1435)
State variables written after the call(s):
- calculateExcludedSupply() (#1438)
- excludedSupply += balanceOf(_excludedFromReward[i]) (#1382)
- excludedSupply = 0 (#1387)
- i_scope_0 < _excludedFromReward.length (#1388)
- excludedSupply += balanceOf(_excludedFromReward[i_scope_0]) (#1389)
- nextAvailableClaimDate[msg.sender] = block.timestamp + rewardCycleBlock (#1436)
Apply the check-effects-interactions pattern.

Additional information: link

CarbonCoin._transferStandard(address,address,uint256).tTransferAmount_scope_4 (#1268) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).rFee_scope_3 (#1303) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount_scope_4 (#1303) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).rAmount_scope_1 (#1303) is a local variable never initialized
CarbonCoin._transferStandard(address,address,uint256).tLiquidity_scope_6 (#1268) is a local variable never initialized
CarbonCoin._transferStandard(address,address,uint256).rFee_scope_3 (#1268) is a local variable never initialized
CarbonCoin._transferStandard(address,address,uint256).rTransferAmount_scope_2 (#1268) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount_scope_2 (#1303) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).tFee_scope_5 (#1303) is a local variable never initialized
CarbonCoin._transferStandard(address,address,uint256).rAmount_scope_1 (#1268) is a local variable never initialized
CarbonCoin._transferToExcluded(address,address,uint256).tLiquidity_scope_6 (#1303) is a local variable never initialized
CarbonCoin._transferStandard(address,address,uint256).tFee_scope_5 (#1268) 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

CarbonCoin.addLiquidity(uint256,uint256) (#1209-1222) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
Ensure that all the return values of the function calls are used.

Additional information: link

CarbonCoin.allowance(address,address).owner (#853) shadows:
- Ownable.owner() (#411-413) (function)
CarbonCoin._approve(address,address,uint256).owner (#1086) shadows:
- Ownable.owner() (#411-413) (function)
Rename the local variables that shadow another component.

Additional information: link

CarbonCoin.setTaxFeePercent(uint256) (#955-957) should emit an event for:
- _taxFee = taxFee (#956)
CarbonCoin.setLiquidityFeePercent(uint256) (#959-961) should emit an event for:
- _liquidityFee = liquidityFee (#960)
CarbonCoin.setMaxTxPercent(uint256) (#963-967) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10000) (#964-966)
Emit an event for critical parameter changes.

Additional information: link

CarbonCoin.migrateBNB(address,uint256)._newadd (#1484) lacks a zero-check on :
- (success) = address(_newadd).call{value: amount}() (#1485)
Check that the address is not zero.

Additional information: link

Variable 'CarbonCoin._transferStandard(address,address,uint256).tLiquidity (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferStandard(address,address,uint256).tFee (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferStandard(address,address,uint256).rFee (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferStandard(address,address,uint256).rAmount (#1251)' in CarbonCoin._transferStandard(address,address,uint256) (#1247-1279) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1268)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).tLiquidity (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).tFee (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).rFee (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
Variable 'CarbonCoin._transferToExcluded(address,address,uint256).rAmount (#1285)' in CarbonCoin._transferToExcluded(address,address,uint256) (#1281-1315) potentially used before declaration: (rAmount,rTransferAmount,rFee,tTransferAmount,tFee,tLiquidity) = _getValues(tAmount) (#1303)
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 CarbonCoin._transfer(address,address,uint256) (#1094-1136):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _communityFee = _previouscommunityFee (#1068)
- _communityFee = 0 (#1062)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _excludedFromReward.push(sender) (#1341)
- _excludedFromReward.push(sender) (#1321)
- _excludedFromReward.push(sender) (#1265)
- _excludedFromReward.push(sender) (#1300)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _isExcludedFromReward[sender] = true (#1340)
- _isExcludedFromReward[sender] = true (#1320)
- _isExcludedFromReward[sender] = true (#1264)
- _isExcludedFromReward[sender] = true (#1299)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _liquidityFee = _previousLiquidityFee2 (#1078)
- _liquidityFee = _previousLiquidityFee (#1067)
- _liquidityFee = 4 (#1074)
- _liquidityFee = 0 (#1061)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _previousLiquidityFee = _liquidityFee (#1058)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _previousLiquidityFee2 = _liquidityFee (#1073)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _previousTaxFee = _taxFee (#1057)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _previouscommunityFee = _communityFee (#1059)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _tCommTotal = _tCommTotal.add(tCommFee) (#992)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _tFeeTotal = _tFeeTotal.add(tFee) (#991)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- _taxFee = _previousTaxFee (#1066)
- _taxFee = 0 (#1060)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- nextAvailableClaimDate[recipient] = nextAvailableClaimDate[recipient] + _calculateTopUpClaim(currentRecipientBalance,basedRewardCycleBlock,amount) (#1447-1451)
Reentrancy in CarbonCoin.claimReward() (#1428-1441):
External calls:
- usdt.transfer(msg.sender,usdtR) (#1435)
State variables written after the call(s):
- calculateExcludedSupply() (#1438)
- nextExcludedSupplyCalculateTime = block.timestamp + 1800 (#1391)
Reentrancy in CarbonCoin.constructor() (#802-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#808-809)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#815)
- _isExcludedFromFee[address(this)] = true (#816)
- _isExcludedFromFee[address(0)] = true (#817)
- _isExcludedFromFee[_cWallet] = true (#818)
- _isExcludedFromReward[address(this)] = false (#820)
- _isExcludedFromReward[_cWallet] = false (#821)
- uniswapV2Router = _uniswapV2Router (#812)
Reentrancy in CarbonCoin.swapAndLiquify(uint256) (#1138-1160):
External calls:
- swapTokensForEth(toSwapEthAmount) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
External calls sending eth:
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
State variables written after the call(s):
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- _allowances[owner][spender] = amount (#1090)
Reentrancy in CarbonCoin.swapAndLiquify(uint256) (#1138-1160):
External calls:
- swapTokensForEth(toSwapEthAmount) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
External calls sending eth:
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
State variables written after the call(s):
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- _allowances[owner][spender] = amount (#1090)
- burn(toBurnAmount) (#1157)
- _rOwned[address(this)] = _rOwned[address(this)].sub(rbAmount) (#1165)
- _rOwned[_burnPool] = _rOwned[_burnPool].add(rbAmount) (#1166)
- burn(toBurnAmount) (#1157)
- _tBurnTotal = _tBurnTotal.add(bAmount) (#1171)
- burn(toBurnAmount) (#1157)
- _tOwned[address(this)] = _tOwned[address(this)].sub(bAmount) (#1168)
- _tOwned[_burnPool] = _tOwned[_burnPool].add(bAmount) (#1169)
Reentrancy in CarbonCoin.transferFrom(address,address,uint256) (#862-866):
External calls:
- _transfer(sender,recipient,amount) (#863)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
External calls sending eth:
- _transfer(sender,recipient,amount) (#863)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#864)
- _allowances[owner][spender] = amount (#1090)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CarbonCoin._transfer(address,address,uint256) (#1094-1136):
External calls:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1122)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1261)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- Transfer(sender,recipient,tTransferAmount) (#1296)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- Transfer(sender,recipient,tTransferAmount) (#1334)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- Transfer(sender,recipient,tTransferAmount) (#1356)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- Transfer(sender,recipient,tTransferAmount_scope_4) (#1277)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
- Transfer(sender,recipient,tTransferAmount_scope_4) (#1313)
- _tokenTransfer(from,to,amount,takeFee) (#1134)
Reentrancy in CarbonCoin.claimReward() (#1428-1441):
External calls:
- usdt.transfer(msg.sender,usdtR) (#1435)
Event emitted after the call(s):
- ClaimUSDTSuccessfully(msg.sender,usdtR,nextAvailableClaimDate[msg.sender]) (#1440)
Reentrancy in CarbonCoin.constructor() (#802-825):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#808-809)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#823)
Reentrancy in CarbonCoin.swapAndLiquify(uint256) (#1138-1160):
External calls:
- swapTokensForEth(toSwapEthAmount) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
External calls sending eth:
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1091)
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
Reentrancy in CarbonCoin.swapAndLiquify(uint256) (#1138-1160):
External calls:
- swapTokensForEth(toSwapEthAmount) (#1146)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
External calls sending eth:
- addLiquidity(toLiqAmount,toLiqEthAmount) (#1153)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1091)
- swapEthForRewardTokens(toSwapRewardTokenAmount) (#1155)
- SwapAndLiquify(toLiqAmount,toLiqEthAmount,toLiqAmount) (#1159)
- Transfer(address(this),_burnPool,bAmount) (#1172)
- burn(toBurnAmount) (#1157)
Reentrancy in CarbonCoin.transferFrom(address,address,uint256) (#862-866):
External calls:
- _transfer(sender,recipient,amount) (#863)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1184-1190)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
External calls sending eth:
- _transfer(sender,recipient,amount) (#863)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1214-1221)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path1,address(this),block.timestamp) (#1201-1206)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1091)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#864)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#458-463) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#460)
CarbonCoin.calculateExcludedSupply() (#1379-1393) uses timestamp for comparisons
Dangerous comparisons:
- nextExcludedSupplyCalculateTime < block.timestamp && excludedSupply != 0 (#1386)
CarbonCoin.checkClaimCycle() (#1421-1426) uses timestamp for comparisons
Dangerous comparisons:
- nextAvailableClaimDate[msg.sender] <= block.timestamp (#1422)
CarbonCoin.claimReward() (#1428-1441) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(claimEventTime < block.timestamp,Error: The claim event does not start yet) (#1430)
- require(bool,string)(nextAvailableClaimDate[msg.sender] <= block.timestamp,Error: next available not reached) (#1431)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#263-272) uses assembly
- INLINE ASM (#270)
Address._functionCallWithValue(address,bytes,uint256,string) (#356-377) uses assembly
- INLINE ASM (#369-372)
Do not use evm assembly.

Additional information: link

CarbonCoin.includeInReward(address) (#934-945) has costly operations inside a loop:
- _excluded.pop() (#941)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#356-377) is never used and should be removed
Address.functionCall(address,bytes) (#316-318) is never used and should be removed
Address.functionCall(address,bytes,string) (#326-328) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#341-343) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#351-354) is never used and should be removed
Address.isContract(address) (#263-272) is never used and should be removed
Address.sendValue(address,uint256) (#290-296) is never used and should be removed
Context._msgData() (#235-238) is never used and should be removed
SafeMath.mod(uint256,uint256) (#208-210) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#224-227) is never used and should be removed
Remove unused functions.

Additional information: link

CarbonCoin._rTotal (#745) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
CarbonCoin._previousTaxFee (#755) is set pre-construction with a non-constant function or state variable:
- _taxFee
CarbonCoin._previousLiquidityFee (#758) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
CarbonCoin._previouscommunityFee (#762) is set pre-construction with a non-constant function or state variable:
- _communityFee
CarbonCoin.usdt (#781) is set pre-construction with a non-constant function or state variable:
- IERC20(_usdt)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Low level call in Address.sendValue(address,uint256) (#290-296):
- (success) = recipient.call{value: amount}() (#294)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#356-377):
- (success,returndata) = target.call{value: weiValue}(data) (#360)
Low level call in CarbonCoin.migrateBNB(address,uint256) (#1484-1487):
- (success) = address(_newadd).call{value: amount}() (#1485)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#550) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#551) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#568) is not in mixedCase
Function IUniswapV2Router01.WETH() (#590) is not in mixedCase
Parameter CarbonCoin.setSwapAndLiquifyEnabled(bool)._enabled (#973) is not in mixedCase
Parameter CarbonCoin.calculateTaxFee(uint256)._amount (#1036) is not in mixedCase
Parameter CarbonCoin.calculateLiquidityFee(uint256)._amount (#1042) is not in mixedCase
Parameter CarbonCoin.calculateCommunityFee(uint256)._amount (#1048) is not in mixedCase
Parameter CarbonCoin.migrateToken(address,uint256)._newadress (#1473) is not in mixedCase
Parameter CarbonCoin.migrateToken(address,uint256)._amount (#1473) is not in mixedCase
Parameter CarbonCoin.migrateRewardToken(address,uint256)._newadress (#1479) is not in mixedCase
Parameter CarbonCoin.migrateBNB(address,uint256)._newadd (#1484) is not in mixedCase
Variable CarbonCoin._taxFee (#754) is not in mixedCase
Variable CarbonCoin._liquidityFee (#757) is not in mixedCase
Variable CarbonCoin._communityFee (#761) is not in mixedCase
Variable CarbonCoin._maxTxAmount (#774) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#236)" inContext (#230-239)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#595) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#596)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount_scope_2 (#1303) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount_scope_4 (#1303)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount_scope_2 (#1268) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount_scope_4 (#1303)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount_scope_2 (#1268) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount_scope_4 (#1268)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._transferFromExcluded(address,address,uint256).tTransferAmount (#1324)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._getValues(uint256).rTransferAmount (#999) is too similar to CarbonCoin._transferBothExcluded(address,address,uint256).tTransferAmount (#1345)
Variable CarbonCoin._transferBothExcluded(address,address,uint256).rTransferAmount (#1345) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount (#1285) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount (#1251)
Variable CarbonCoin._transferStandard(address,address,uint256).rTransferAmount (#1251) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin.reflectionFromToken(uint256,bool).rTransferAmount (#913) is too similar to CarbonCoin._getValues(uint256).tTransferAmount (#998)
Variable CarbonCoin._transferFromExcluded(address,address,uint256).rTransferAmount (#1324) is too similar to CarbonCoin._getTValues(uint256).tTransferAmount (#1007)
Variable CarbonCoin._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1015) is too similar to CarbonCoin._transferToExcluded(address,address,uint256).tTransferAmount (#1285)
Variable CarbonCoin._transferToExcluded(address,address,uint256).rTransferAmount_scope_2 (#1303) is too similar to CarbonCoin._transferStandard(address,address,uint256).tTransferAmount_scope_4 (#1268)
Prevent variables from having similar names.

Additional information: link

CarbonCoin.checkReward() (#1399-1413) uses literals with too many digits:
- cTotalSupply = uint256(_tTotal).sub(balanceOf(address(0))).sub(balanceOf(0x000000000000000000000000000000000000dEaD)).sub(excludedSupply).sub(balanceOf(address(uniswapV2Pair))) (#1403-1407)
CarbonCoin.slitherConstructorVariables() (#728-1499) uses literals with too many digits:
- _burnPool = 0x000000000000000000000000000000000000dEaD (#778)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CarbonCoin._burnPool (#778) should be constant
CarbonCoin._cWallet (#777) should be constant
CarbonCoin._decimals (#752) should be constant
CarbonCoin._name (#750) should be constant
CarbonCoin._symbol (#751) should be constant
CarbonCoin._tTotal (#744) should be constant
CarbonCoin._usdt (#779) should be constant
CarbonCoin.numTokensSellToAddToLiquidityOrBurn (#775) should be constant
CarbonCoin.rewardCycleBlock (#764) should be constant
CarbonCoin.threshHoldTopUpRate (#765) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#430-433)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#439-443)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#445-447)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#450-455)
unlock() should be declared external:
- Ownable.unlock() (#458-463)
name() should be declared external:
- CarbonCoin.name() (#827-829)
symbol() should be declared external:
- CarbonCoin.symbol() (#831-833)
decimals() should be declared external:
- CarbonCoin.decimals() (#835-837)
totalSupply() should be declared external:
- CarbonCoin.totalSupply() (#839-841)
transfer(address,uint256) should be declared external:
- CarbonCoin.transfer(address,uint256) (#848-851)
allowance(address,address) should be declared external:
- CarbonCoin.allowance(address,address) (#853-855)
approve(address,uint256) should be declared external:
- CarbonCoin.approve(address,uint256) (#857-860)
transferFrom(address,address,uint256) should be declared external:
- CarbonCoin.transferFrom(address,address,uint256) (#862-866)
increaseAllowance(address,uint256) should be declared external:
- CarbonCoin.increaseAllowance(address,uint256) (#868-871)
decreaseAllowance(address,uint256) should be declared external:
- CarbonCoin.decreaseAllowance(address,uint256) (#873-876)
isExcludedFromReward(address) should be declared external:
- CarbonCoin.isExcludedFromReward(address) (#878-880)
totalFees() should be declared external:
- CarbonCoin.totalFees() (#882-884)
totalCommunityFee() should be declared external:
- CarbonCoin.totalCommunityFee() (#886-888)
totalBurned() should be declared external:
- CarbonCoin.totalBurned() (#890-892)
getCWallet() should be declared external:
- CarbonCoin.getCWallet() (#894-896)
deliver(uint256) should be declared external:
- CarbonCoin.deliver(uint256) (#898-905)
reflectionFromToken(uint256,bool) should be declared external:
- CarbonCoin.reflectionFromToken(uint256,bool) (#907-916)
excludeFromReward(address) should be declared external:
- CarbonCoin.excludeFromReward(address) (#924-932)
excludeFromFee(address) should be declared external:
- CarbonCoin.excludeFromFee(address) (#947-949)
includeInFee(address) should be declared external:
- CarbonCoin.includeInFee(address) (#951-953)
getMaxTxAmount() should be declared external:
- CarbonCoin.getMaxTxAmount() (#969-971)
isExcludedFromFee(address) should be declared external:
- CarbonCoin.isExcludedFromFee(address) (#1082-1084)
getClaimEventTime() should be declared external:
- CarbonCoin.getClaimEventTime() (#1364-1366)
getNextExcludedSupplyCalculateTime() should be declared external:
- CarbonCoin.getNextExcludedSupplyCalculateTime() (#1371-1373)
getExcludeSupply() should be declared external:
- CarbonCoin.getExcludeSupply() (#1375-1377)
getTotalRewardTokens() should be declared external:
- CarbonCoin.getTotalRewardTokens() (#1395-1397)
checkClaimCycle() should be declared external:
- CarbonCoin.checkClaimCycle() (#1421-1426)
claimReward() should be declared external:
- CarbonCoin.claimReward() (#1428-1441)
migrateToken(address,uint256) should be declared external:
- CarbonCoin.migrateToken(address,uint256) (#1473-1477)
migrateRewardToken(address,uint256) should be declared external:
- CarbonCoin.migrateRewardToken(address,uint256) (#1479-1482)
migrateBNB(address,uint256) should be declared external:
- CarbonCoin.migrateBNB(address,uint256) (#1484-1487)
activate(uint256,uint256) should be declared external:
- CarbonCoin.activate(uint256,uint256) (#1489-1496)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Token is deployed only at one blockchain

Contract has 5% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.


Last post in Twitter was more than 180 days ago


Unable to find Youtube account


Unable to find website, listings and other project-related information


Token has a considerable age, but we're still unable to find its website


Token has no active CoinMarketCap listing / rank


Token has no active CoinGecko listing / rank


Token has a considerable age, but average PancakeSwap 30d trading volume is low

Price for CBC

News for CBC