Carbon Coin Token Logo

C [Carbon Coin] Token

About C

Listings

Token 4 months
CoinMarketCap 2 months
white paper

C is a carbon neutral ecosystem token, adhering to the concept of low-carbon green environmental protection, realizing the dividend of USDT, developing environmentally friendly chain games, and leading the new trend of the Metaverse.
C participates in the global carbon index trading market by donating to environmental protection organizations, and completes its final application - becoming the payment currency of the global carbon trading market.
C is driven by the decentralized autonomous community DAO, and all decisions are voted by the DAO community.
C adopts the world's top quantum entanglement encryption technology, which is a safe and efficient encryption technology for transmitting information.

Social

Laser Scorebeta Last Audit: 2 March 2022

report
Code:


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

Reentrancy in token._transfer(address,address,uint256) (#1307-1382):
External calls:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1441-1447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(30)) (#1460-1467)
- IERC20(husdtToken).transfer(address(oneDevAddress),newOneDevUsdt) (#1415)
- IERC20(husdtToken).transfer(address(twoDevAddress),newTwoDevUsdt) (#1416)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
State variables written after the call(s):
- _balances[from] = _balances[from].sub(value) (#1335)
- _balances[to] = _balances[to].add(value) (#1336)
- _balances[from] = _balances[from].sub(value) (#1344)
- _balances[to] = _balances[to].add(newValue) (#1345)
- _balances[address(this)] = _balances[address(this)].add(feeValue) (#1346)
- oneDistribution() (#1381)
- oneUsdtTotalBalance = 0 (#1428)
Apply the check-effects-interactions pattern.

Additional information: link

token.swapAndLiquify(uint256) (#1384-1417) ignores return value by IERC20(husdtToken).transfer(address(oneDevAddress),newOneDevUsdt) (#1415)
token.swapAndLiquify(uint256) (#1384-1417) ignores return value by IERC20(husdtToken).transfer(address(twoDevAddress),newTwoDevUsdt) (#1416)
token.oneWithdra() (#1486-1495) ignores return value by IERC20(husdtToken).transfer(address(msg.sender),oneUsdtBalance[msg.sender]) (#1489-1492)
token.twoWithdra() (#1497-1508) ignores return value by IERC20(husdtToken).transfer(address(msg.sender),amount) (#1504)
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.

Contract ticker (C) has length of 1 chars.
Not a direct threat, but may indicate unreliable intentions of developer.

Reentrancy in token.oneWithdra() (#1486-1495):
External calls:
- IERC20(husdtToken).transfer(address(msg.sender),oneUsdtBalance[msg.sender]) (#1489-1492)
State variables written after the call(s):
- oneUsdtBalance[msg.sender] = 0 (#1494)
Reentrancy in token.twoWithdra() (#1497-1508):
External calls:
- IERC20(husdtToken).transfer(address(msg.sender),amount) (#1504)
State variables written after the call(s):
- twoUsdtTime[msg.sender] = block.timestamp (#1505)
- twoUsdtTotalBalance = twoUsdtTotalBalance.sub(amount) (#1507)
Apply the check-effects-interactions pattern.

Additional information: link

token.oneDistribution().i (#1422) is a local variable never initialized
PancakeLibrary.getAmountsOut(address,uint256,address[]).i (#1041) 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

token.addLiquidity(uint256,uint256) (#1471-1484) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
Ensure that all the return values of the function calls are used.

Additional information: link

token.balanceOf(address).owner (#1185) shadows:
- Ownable.owner() (#537-539) (function)
token.allowance(address,address).owner (#1195) shadows:
- Ownable.owner() (#537-539) (function)
Rename the local variables that shadow another component.

Additional information: link

token.setTradeMax(uint256) (#1520-1522) should emit an event for:
- tradeMax = _value (#1521)
token.setMaxSellTxAmount(uint256) (#1524-1526) should emit an event for:
- _maxSellTxAmount = _value (#1525)
token.setCbNumberAmount(uint256) (#1532-1534) should emit an event for:
- cbNumberAmount = _value (#1533)
token.setOneUsdtTotalBalance(uint256) (#1552-1554) should emit an event for:
- oneUsdtTotalBalance = amount (#1553)
token.setTwoUsdtTotalBalance(uint256) (#1556-1558) should emit an event for:
- twoUsdtTotalBalance = amount (#1557)
token.setMaxTraderAmount(uint256) (#1560-1564) should emit an event for:
- maxTraderAmount = amount (#1563)
Emit an event for critical parameter changes.

Additional information: link

token.setOneDevAddress(address).addr (#1544) lacks a zero-check on :
- oneDevAddress = addr (#1545)
token.setTwoDevAddress(address).addr (#1548) lacks a zero-check on :
- oneDevAddress = addr (#1549)
Check that the address is not zero.

Additional information: link

Reentrancy in token._transfer(address,address,uint256) (#1307-1382):
External calls:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1441-1447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(30)) (#1460-1467)
- IERC20(husdtToken).transfer(address(oneDevAddress),newOneDevUsdt) (#1415)
- IERC20(husdtToken).transfer(address(twoDevAddress),newTwoDevUsdt) (#1416)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
State variables written after the call(s):
- _allLotto[_lottoFeeMapping[from] - 1] = _allLotto[_allLotto.length - 1] (#1355-1357)
- _allLotto.pop() (#1358)
- _allLotto[flag - 1] = _allLotto[_allLotto.length - 1] (#1371)
- _allLotto.pop() (#1372)
- _allLotto.push(to) (#1375)
- _lottoFeeMapping[from] = 0 (#1359)
- _lottoFeeMapping[oldAddress] = 0 (#1373)
- _lottoFeeMapping[to] = _allLotto.length (#1376)
- oneDistribution() (#1381)
- oneUsdtBalance[_allLotto[i]] = oneUsdtBalance[_allLotto[i]].add(newOneUsdtJc) (#1423-1425)
- tradeNumber = tradeNumber.add(1) (#1379)
- oneDistribution() (#1381)
- tradeNumber = 0 (#1427)
Reentrancy in token.constructor() (#1134-1150):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1141-1142)
State variables written after the call(s):
- _isExcludedFromFee[ownerAddress] = true (#1147)
- uniswapV2Router = _uniswapV2Router (#1145)
Reentrancy in token.swapAndLiquify(uint256) (#1384-1417):
External calls:
- swapTokensForEth(half) (#1389)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1441-1447)
- addLiquidity(otherHalf,newBalance) (#1391)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1391)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1391)
- _allowed[address(this)][address(uniswapV2Router)] = _totalSupply (#1473)
Reentrancy in token.swapAndLiquify(uint256) (#1384-1417):
External calls:
- swapTokensForEth(half) (#1389)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1441-1447)
- addLiquidity(otherHalf,newBalance) (#1391)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
- swapTokensForDividendToken(devNumber) (#1399)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(30)) (#1460-1467)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1391)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
State variables written after the call(s):
- swapTokensForDividendToken(devNumber) (#1399)
- _allowed[address(this)][address(uniswapV2Router)] = _totalSupply (#1457)
- oneUsdtTotalBalance = oneUsdtTotalBalance.add(newOneUsdt) (#1412)
- twoUsdtTotalBalance = twoUsdtTotalBalance.add(newTwousdt) (#1413)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable._previousOwner (#518) should be constant
token._decimals (#1086) should be constant
token._maxTxAmount (#1113) should be constant
token._name (#1084) should be constant
token._symbol (#1085) should be constant
token._totalSupply (#1087) should be constant
token.husdtToken (#1111) should be constant
token.ownerAddress (#1092-1093) should be constant
token.swapAndLiquifyEnabled (#1125) should be constant
token.twoDevAddress (#1096-1097) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Reentrancy in token._transfer(address,address,uint256) (#1307-1382):
External calls:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1441-1447)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp.add(30)) (#1460-1467)
- IERC20(husdtToken).transfer(address(oneDevAddress),newOneDevUsdt) (#1415)
- IERC20(husdtToken).transfer(address(twoDevAddress),newTwoDevUsdt) (#1416)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1330)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp.add(30)) (#1476-1483)
Event emitted after the call(s):
- Transfer(from,to,value) (#1337)
- Transfer(from,to,newValue) (#1347)
Reentrancy in token.constructor() (#1134-1150):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1141-1142)
Event emitted after the call(s):
- Transfer(address(0),ownerAddress,_totalSupply) (#1149)
Apply the check-effects-interactions pattern.

Additional information: link

token.twoWithdra() (#1497-1508) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(twoUsdtTime[msg.sender].add(intervalTime) <= block.timestamp,no time) (#1499-1502)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#347-358) uses assembly
- INLINE ASM (#354-356)
Address._functionCallWithValue(address,bytes,uint256,string) (#473-501) uses assembly
- INLINE ASM (#493-496)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.5.0', '^0.6.12']
- ^0.6.12 (#22)
- >=0.5.0 (#896)
- >=0.5.0 (#930)
Use one Solidity version.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#473-501) is never used and should be removed
Address.functionCall(address,bytes) (#408-413) is never used and should be removed
Address.functionCall(address,bytes,string) (#421-427) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#440-452) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#460-471) is never used and should be removed
Address.isContract(address) (#347-358) is never used and should be removed
Address.sendValue(address,uint256) (#376-388) is never used and should be removed
Context._msgData() (#320-323) is never used and should be removed
PancakeLibrary.getAmountIn(uint256,uint256,uint256) (#1017-1030) is never used and should be removed
PancakeLibrary.getAmountOut(uint256,uint256,uint256) (#1000-1014) is never used and should be removed
PancakeLibrary.getAmountsIn(address,uint256,address[]) (#1052-1068) is never used and should be removed
PancakeLibrary.getAmountsOut(address,uint256,address[]) (#1033-1049) is never used and should be removed
PancakeLibrary.getReserves(address,address,address) (#970-983) is never used and should be removed
PancakeLibrary.pairFor(address,address,address) (#949-967) is never used and should be removed
PancakeLibrary.quote(uint256,uint256,uint256) (#986-997) is never used and should be removed
PancakeLibrary.sortTokens(address,address) (#936-946) is never used and should be removed
TransferHelper.safeApprove(address,address,uint256) (#27-40) is never used and should be removed
TransferHelper.safeTransfer(address,address,uint256) (#42-55) is never used and should be removed
TransferHelper.safeTransferETH(address,uint256) (#73-76) is never used and should be removed
TransferHelper.safeTransferFrom(address,address,address,uint256) (#57-71) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version>=0.5.0 (#896) allows old versions
Pragma version>=0.5.0 (#930) allows old versions
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 TransferHelper.safeApprove(address,address,uint256) (#27-40):
- (success,data) = token.call(abi.encodeWithSelector(0x095ea7b3,to,value)) (#33-35)
Low level call in TransferHelper.safeTransfer(address,address,uint256) (#42-55):
- (success,data) = token.call(abi.encodeWithSelector(0xa9059cbb,to,value)) (#48-50)
Low level call in TransferHelper.safeTransferFrom(address,address,address,uint256) (#57-71):
- (success,data) = token.call(abi.encodeWithSelector(0x23b872dd,from,to,value)) (#64-66)
Low level call in TransferHelper.safeTransferETH(address,uint256) (#73-76):
- (success) = to.call{value: value}(new bytes(0)) (#74)
Low level call in Address.sendValue(address,uint256) (#376-388):
- (success) = recipient.call{value: amount}() (#383)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#473-501):
- (success,returndata) = target.call{value: weiValue}(data) (#482-484)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeRouter01.WETH() (#580) is not in mixedCase
Function IPancakePair.DOMAIN_SEPARATOR() (#820) is not in mixedCase
Function IPancakePair.PERMIT_TYPEHASH() (#822) is not in mixedCase
Function IPancakePair.MINIMUM_LIQUIDITY() (#853) is not in mixedCase
Contract token (#1080-1572) is not in CapWords
Parameter token.setTradeMax(uint256)._value (#1520) is not in mixedCase
Parameter token.setMaxSellTxAmount(uint256)._value (#1524) is not in mixedCase
Parameter token.setIntervalTime(uint256)._value (#1528) is not in mixedCase
Parameter token.setCbNumberAmount(uint256)._value (#1532) is not in mixedCase
Variable token._lottoFeeMapping (#1108) is not in mixedCase
Variable token._allLotto (#1109) is not in mixedCase
Variable token._maxTxAmount (#1113) is not in mixedCase
Variable token._maxSellTxAmount (#1114) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#321)" inContext (#315-324)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#585) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#586)
Variable token.getTwoNumber(address).myTotalValue (#1512) is too similar to token.getTwoNumber(address).syTotalValue (#1511)
Prevent variables from having similar names.

Additional information: link

token.setMaxTraderAmount(uint256) (#1560-1564) uses literals with too many digits:
- require(bool,string)(amount > 1000000000000 * 10 ** 9,amount too samll) (#1561)
token.slitherConstructorVariables() (#1080-1572) uses literals with too many digits:
- _totalSupply = 500000000000000 * 10 ** 9 (#1087)
token.slitherConstructorVariables() (#1080-1572) uses literals with too many digits:
- maxTraderAmount = 1000000000000 * 10 ** 9 (#1103)
token.slitherConstructorVariables() (#1080-1572) uses literals with too many digits:
- _maxTxAmount = 500000000000000 * 10 ** 9 (#1113)
token.slitherConstructorVariables() (#1080-1572) uses literals with too many digits:
- _maxSellTxAmount = 50000000000 * 10 ** 9 (#1114)
token.slitherConstructorVariables() (#1080-1572) uses literals with too many digits:
- cbNumberAmount = 500000000000 * 10 ** 9 (#1120)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#518) is never used in token (#1080-1572)
Remove unused state variables.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#537-539)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#556-559)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#565-572)
name() should be declared external:
- token.name() (#1155-1157)
symbol() should be declared external:
- token.symbol() (#1162-1164)
decimals() should be declared external:
- token.decimals() (#1169-1171)
totalSupply() should be declared external:
- token.totalSupply() (#1176-1178)
allowance(address,address) should be declared external:
- token.allowance(address,address) (#1195-1202)
transfer(address,uint256) should be declared external:
- token.transfer(address,uint256) (#1209-1216)
approve(address,uint256) should be declared external:
- token.approve(address,uint256) (#1227-1237)
transferFrom(address,address,uint256) should be declared external:
- token.transferFrom(address,address,uint256) (#1245-1255)
increaseAllowance(address,uint256) should be declared external:
- token.increaseAllowance(address,uint256) (#1266-1277)
decreaseAllowance(address,uint256) should be declared external:
- token.decreaseAllowance(address,uint256) (#1288-1299)
oneWithdra() should be declared external:
- token.oneWithdra() (#1486-1495)
twoWithdra() should be declared external:
- token.twoWithdra() (#1497-1508)
setTradeMax(uint256) should be declared external:
- token.setTradeMax(uint256) (#1520-1522)
setMaxSellTxAmount(uint256) should be declared external:
- token.setMaxSellTxAmount(uint256) (#1524-1526)
setIntervalTime(uint256) should be declared external:
- token.setIntervalTime(uint256) (#1528-1530)
setCbNumberAmount(uint256) should be declared external:
- token.setCbNumberAmount(uint256) (#1532-1534)
excludeFromFee(address) should be declared external:
- token.excludeFromFee(address) (#1536-1538)
includeInFee(address) should be declared external:
- token.includeInFee(address) (#1540-1542)
setOneDevAddress(address) should be declared external:
- token.setOneDevAddress(address) (#1544-1546)
setTwoDevAddress(address) should be declared external:
- token.setTwoDevAddress(address) (#1548-1550)
setOneUsdtTotalBalance(uint256) should be declared external:
- token.setOneUsdtTotalBalance(uint256) (#1552-1554)
setTwoUsdtTotalBalance(uint256) should be declared external:
- token.setTwoUsdtTotalBalance(uint256) (#1556-1558)
setMaxTraderAmount(uint256) should be declared external:
- token.setMaxTraderAmount(uint256) (#1560-1564)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Average 30d PancakeSwap volume 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 8% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


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

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of price dump / death


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


Young tokens have high risks of scam / 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


Token has relatively low CoinMarketCap rank

Anti-Scam Checks

Price for C

News for C