Christmas Doge Token Logo

ChristmasDoge [Christmas Doge] Token

About ChristmasDoge

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

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...)

ChristmasDoge.swapBack() (#637-682) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ChristmasDoge._transferFrom(address,address,uint256) (#540-588):
External calls:
- swapBack() (#567)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#648-654)
- distributor.deposit{value: amountBNBMarketing}() (#664)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
External calls sending eth:
- swapBack() (#567)
- distributor.deposit{value: amountBNBMarketing}() (#664)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#570)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#573)
- amountReceived = takeFee(sender,amount) (#572)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#608)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#372-383) ignores return value by REWARDS.transfer(shareholder,amount) (#378)
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.

ChristmasDoge.swapBack().tmpSuccess (#665) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
tmpSuccess = false (#668)
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.setShare(address,uint256) (#305-319):
External calls:
- distributeDividend(shareholder) (#307)
- REWARDS.transfer(shareholder,amount) (#378)
State variables written after the call(s):
- shares[shareholder].amount = amount (#317)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#318)
Apply the check-effects-interactions pattern.

Additional information: link

ChristmasDoge.swapBack() (#637-682) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Ensure that all the return values of the function calls are used.

Additional information: link

ChristmasDoge.setTargetLiquidity(uint256,uint256) (#733-736) should emit an event for:
- targetLiquidity = _target (#734)
- targetLiquidityDenominator = _denominator (#735)
Emit an event for critical parameter changes.

Additional information: link

ChristmasDoge.setFeeReceivers(address,address)._marketingFeeReceiver (#720) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#722)
Check that the address is not zero.

Additional information: link

Reentrancy in DividendDistributor.setShare(address,uint256) (#305-319):
External calls:
- distributeDividend(shareholder) (#307)
- REWARDS.transfer(shareholder,amount) (#378)
State variables written after the call(s):
- addShareholder(shareholder) (#311)
- shareholderIndexes[shareholder] = shareholders.length (#405)
- removeShareholder(shareholder) (#313)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#411)
- addShareholder(shareholder) (#311)
- shareholders.push(shareholder) (#406)
- removeShareholder(shareholder) (#313)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#410)
- shareholders.pop() (#412)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#316)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ChristmasDoge.swapBack() (#637-682):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#648-654)
- distributor.deposit{value: amountBNBMarketing}() (#664)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
External calls sending eth:
- distributor.deposit{value: amountBNBMarketing}() (#664)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#671-678)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#680)
Apply the check-effects-interactions pattern.

Additional information: link

ChristmasDoge._transferFrom(address,address,uint256) (#540-588) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys!) (#558)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#341-365) has costly operations inside a loop:
- currentIndex ++ (#362)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMath.trySub(uint256,uint256) (#36-41) is never used and should be removed
Remove unused functions.

Additional information: link

ChristmasDoge.swapThreshold (#471) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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

solc-0.8.9 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 ChristmasDoge.swapBack() (#637-682):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBReflection}() (#665)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable ChristmasDoge._allowances (#438) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

ChristmasDoge.slitherConstructorVariables() (#416-762) uses literals with too many digits:
- distributorGas = 500000 (#463)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ChristmasDoge.REWARDS (#419) is never used in ChristmasDoge (#416-762)
Remove unused state variables.

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (#274) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

cooldownEnabled(bool,uint8) should be declared external:
- ChristmasDoge.cooldownEnabled(bool,uint8) (#630-633)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Unable to find Telegram and Twitter accounts


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


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for ChristmasDoge