CHINESE2K22 Token Logo

ELON [CHINESE2K22] Token

About ELON

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 31 January 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

CHINESENEWYEARS2K22.swapBack() (#617-666) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CHINESENEWYEARS2K22._transferFrom(address,address,uint256) (#552-593):
External calls:
- swapBack() (#562)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#627-633)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
External calls sending eth:
- swapBack() (#562)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#570)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#578)
- finalAmount = takeFee(sender,recipient,amount) (#577)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#607)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#238-250) ignores return value by RewardToken.transfer(shareholder,amount) (#244)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

CHINESENEWYEARS2K22.swapBack().tmpSuccess (#648) is written in both
(tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
tmpSuccess = false (#652)
CHINESENEWYEARS2K22.swapBack().tmpSuccess1 (#649) is written in both
(tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
tmpSuccess1 = false (#653)
Fix or remove the writes.

Additional information: link


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


Combination 2: Unchecked transfer + 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.


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.

Reentrancy in DividendDistributor.distributeDividend(address) (#238-250):
External calls:
- RewardToken.transfer(shareholder,amount) (#244)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#246)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#247)
Reentrancy in DividendDistributor.process(uint256) (#209-231):
External calls:
- distributeDividend(shareholders[currentIndex]) (#223)
- RewardToken.transfer(shareholder,amount) (#244)
State variables written after the call(s):
- currentIndex ++ (#228)
Reentrancy in DividendDistributor.setShare(address,uint256) (#172-187):
External calls:
- distributeDividend(shareholder) (#175)
- RewardToken.transfer(shareholder,amount) (#244)
State variables written after the call(s):
- shares[shareholder].amount = amount (#185)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#186)
Apply the check-effects-interactions pattern.

Additional information: link

CHINESENEWYEARS2K22.swapBack() (#617-666) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#167-170) should emit an event for:
- minPeriod = newMinPeriod (#168)
- minDistribution = newMinDistribution (#169)
CHINESENEWYEARS2K22.changeFees(uint256,uint256,uint256,uint256) (#509-517) should emit an event for:
- liquidityFee = newLiqFee (#510)
- rewardsFee = newRewardFee (#511)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#515)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#516)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#337) lacks a zero-check on :
- owner = adr (#338)
CHINESENEWYEARS2K22.changeFeeReceivers(address,address,address).newLiquidityReceiver (#519) lacks a zero-check on :
- autoLiquidityReceiver = newLiquidityReceiver (#520)
CHINESENEWYEARS2K22.changeFeeReceivers(address,address,address).newMarketingWallet (#519) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#521)
CHINESENEWYEARS2K22.changeFeeReceivers(address,address,address).newanothermarketingWallet (#519) lacks a zero-check on :
- anothermarketingWallet = newanothermarketingWallet (#522)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#238-250) has external calls inside a loop: RewardToken.transfer(shareholder,amount) (#244)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in CHINESENEWYEARS2K22._transferFrom(address,address,uint256) (#552-593):
External calls:
- swapBack() (#562)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#627-633)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
External calls sending eth:
- swapBack() (#562)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
State variables written after the call(s):
- launch() (#566)
- launchedAt = block.number (#475)
Reentrancy in CHINESENEWYEARS2K22.constructor() (#405-437):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#408)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#409)
- _balances[msg.sender] = _totalSupply (#435)
- anothermarketingWallet = 0xE769d51fA3e3cd154E16ea0ba75979f8E6a5f701 (#430)
- autoLiquidityReceiver = msg.sender (#428)
- dividendDistributor = new DividendDistributor(address(router)) (#411)
- isDividendExempt[pair] = true (#421)
- isDividendExempt[address(this)] = true (#423)
- isDividendExempt[DEAD] = true (#424)
- isDividendExempt[ZERO] = true (#425)
- isFeeExempt[msg.sender] = true (#413)
- isFeeExempt[address(this)] = true (#414)
- isFeeExempt[anothermarketingWallet] = true (#415)
- isTxLimitExempt[msg.sender] = true (#417)
- isTxLimitExempt[pair] = true (#418)
- isTxLimitExempt[DEAD] = true (#419)
- marketingWallet = msg.sender (#429)
- totalFee = liquidityFee.add(marketingFee).add(rewardsFee) (#432)
- totalFeeIfSelling = totalFee.add(extraFeeOnSell) (#433)
Reentrancy in DividendDistributor.deposit() (#189-207):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#197-202)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#206)
- totalDividends = totalDividends.add(amount) (#205)
Reentrancy in DividendDistributor.distributeDividend(address) (#238-250):
External calls:
- RewardToken.transfer(shareholder,amount) (#244)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#245)
Reentrancy in DividendDistributor.setShare(address,uint256) (#172-187):
External calls:
- distributeDividend(shareholder) (#175)
- RewardToken.transfer(shareholder,amount) (#244)
State variables written after the call(s):
- addShareholder(shareholder) (#179)
- shareholderIndexes[shareholder] = shareholders.length (#268)
- removeShareholder(shareholder) (#181)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#274)
- addShareholder(shareholder) (#179)
- shareholders.push(shareholder) (#269)
- removeShareholder(shareholder) (#181)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#273)
- shareholders.pop() (#275)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#184)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CHINESENEWYEARS2K22._transferFrom(address,address,uint256) (#552-593):
External calls:
- swapBack() (#562)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#627-633)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
- dividendDistributor.setShare(sender,_balances[sender]) (#582)
- dividendDistributor.setShare(recipient,_balances[recipient]) (#586)
- dividendDistributor.process(distributorGas) (#589)
External calls sending eth:
- swapBack() (#562)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
Event emitted after the call(s):
- Transfer(sender,recipient,finalAmount) (#591)
Reentrancy in CHINESENEWYEARS2K22._transferFrom(address,address,uint256) (#552-593):
External calls:
- swapBack() (#562)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#627-633)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
External calls sending eth:
- swapBack() (#562)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#608)
- finalAmount = takeFee(sender,recipient,amount) (#577)
Reentrancy in CHINESENEWYEARS2K22.constructor() (#405-437):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#408)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#436)
Reentrancy in CHINESENEWYEARS2K22.swapBack() (#617-666):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#627-633)
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
External calls sending eth:
- dividendDistributor.deposit{value: amountBNBReflection}() (#643)
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#656-663)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#664)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#233-236) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#234-235)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#209-231) has costly operations inside a loop:
- currentIndex = 0 (#220)
DividendDistributor.distributeDividend(address) (#238-250) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#243)
DividendDistributor.process(uint256) (#209-231) has costly operations inside a loop:
- currentIndex ++ (#228)
Use a local variable to hold the loop computation result.

Additional information: link

CHINESENEWYEARS2K22._maxTxAmount (#360) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 100
CHINESENEWYEARS2K22._walletMax (#361) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 2 / 100
CHINESENEWYEARS2K22.swapThreshold (#397) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 5 / 2000
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

Pragma version^0.7.4 (#7) 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 CHINESENEWYEARS2K22.swapBack() (#617-666):
- (tmpSuccess) = address(marketingWallet).call{gas: 30000,value: marketingShare}() (#648)
- (tmpSuccess1) = address(anothermarketingWallet).call{gas: 30000,value: anothermarketingShare}() (#649)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IDEXRouter.WETH() (#66) is not in mixedCase
Variable DividendDistributor._token (#123) is not in mixedCase
Variable DividendDistributor.RewardToken (#133) is not in mixedCase
Constant CHINESENEWYEARS2K22._name (#350) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CHINESENEWYEARS2K22._symbol (#351) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CHINESENEWYEARS2K22._decimals (#352) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CHINESENEWYEARS2K22.DEAD (#354) is not in mixedCase
Variable CHINESENEWYEARS2K22.ZERO (#355) is not in mixedCase
Variable CHINESENEWYEARS2K22.RewardToken (#357) is not in mixedCase
Variable CHINESENEWYEARS2K22._totalSupply (#359) is not in mixedCase
Variable CHINESENEWYEARS2K22._maxTxAmount (#360) is not in mixedCase
Variable CHINESENEWYEARS2K22._walletMax (#361) is not in mixedCase
Variable CHINESENEWYEARS2K22._balances (#365) is not in mixedCase
Variable CHINESENEWYEARS2K22._allowances (#366) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#71) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#72)
Prevent variables from having similar names.

Additional information: link

CHINESENEWYEARS2K22.slitherConstructorVariables() (#346-671) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#354)
CHINESENEWYEARS2K22.slitherConstructorVariables() (#346-671) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#355)
CHINESENEWYEARS2K22.slitherConstructorVariables() (#346-671) uses literals with too many digits:
- _totalSupply = 1000000 * (10 ** _decimals) (#359)
CHINESENEWYEARS2K22.slitherConstructorVariables() (#346-671) uses literals with too many digits:
- distributorGas = 300000 (#391)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CHINESENEWYEARS2K22.RewardToken (#357) is never used in CHINESENEWYEARS2K22 (#346-671)
Remove unused state variables.

Additional information: link

CHINESENEWYEARS2K22.DEAD (#354) should be constant
CHINESENEWYEARS2K22.RewardToken (#357) should be constant
CHINESENEWYEARS2K22.ZERO (#355) should be constant
CHINESENEWYEARS2K22._totalSupply (#359) should be constant
CHINESENEWYEARS2K22.routerAddress (#356) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#144) should be constant
DividendDistributor.routerAddress (#132) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#309-311)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#316-318)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#337-341)
getCirculatingSupply() should be declared external:
- CHINESENEWYEARS2K22.getCirculatingSupply() (#447-449)
claim() should be declared external:
- CHINESENEWYEARS2K22.claim() (#465-468)
tradingStatus(bool) should be declared external:
- CHINESENEWYEARS2K22.tradingStatus(bool) (#613-615)
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 PancakeSwap volume 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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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

Contract has 15% buy tax and 16% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Twitter account


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for ELON