CryptDash Token Logo

CDash [CryptDash] Token

About CDash

Listings

Not Found
Token 3 months

CryptDash is a cross-chain state-of-the-art NFT marketplace equipped with all the existing features of conventional NFT marketplaces but augmented with DeFi and gamified components.

CryptDash marketplace is primarily built for gamers but available for all. Realize the ownership of your In-game assets. Sell, Trade, or transfer them anytime with the help of NFT technology.

Social

Laser Scorebeta Last Audit: 18 February 2022

report
Code:


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

CryptDash.swapBack() (#557-601) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CryptDash._transferFrom(address,address,uint256) (#487-523):
External calls:
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#568-574)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#505)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#508)
- amountReceived = takeFee(sender,amount) (#507)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#539)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.distributeDividend(address) (#322-333) ignores return value by DZ.transfer(shareholder,amount) (#328)
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.

CryptDash.swapBack().tmpSuccess (#585) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
tmpSuccess = false (#588)
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.

DividendDistributor.distributeDividend(address) (#322-333) has external calls inside a loop: DZ.transfer(shareholder,amount) (#328)
CryptDash.airdrop(address,address[],uint256[]) (#668-690) has external calls inside a loop: distributor.setShare(addresses[i_scope_0],_balances[addresses[i_scope_0]]) (#683)
Favor pull over push strategy for external calls.

Additional information: link

CryptDash.constructor() (#415-447) performs a multiplication on the result of a division:
-deployerSupply = _totalSupply.div(100).mul(96) (#437)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#322-333):
External calls:
- DZ.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#330)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#331)
Reentrancy in DividendDistributor.process(uint256) (#291-315):
External calls:
- distributeDividend(shareholders[currentIndex]) (#307)
- DZ.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- currentIndex ++ (#312)
Reentrancy in DividendDistributor.setShare(address,uint256) (#255-269):
External calls:
- distributeDividend(shareholder) (#257)
- DZ.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- shares[shareholder].amount = amount (#267)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#268)
Apply the check-effects-interactions pattern.

Additional information: link

CryptDash.swapBack() (#557-601) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#250-253) should emit an event for:
- minPeriod = _minPeriod (#251)
- minDistribution = _minDistribution (#252)
CryptDash.setFees(uint256,uint256,uint256,uint256) (#621-627) should emit an event for:
- liquidityFee = _liquidityFee (#622)
- reflectionFee = _reflectionFee (#623)
- marketingFee = _marketingFee (#624)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#625)
- feeDenominator = _feeDenominator (#626)
CryptDash.setTargetLiquidity(uint256,uint256) (#640-643) should emit an event for:
- targetLiquidity = _target (#641)
- targetLiquidityDenominator = _denominator (#642)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#119) lacks a zero-check on :
- owner = adr (#120)
CryptDash.setTokenPrize(address).newDZ (#617) lacks a zero-check on :
- DZ = newDZ (#618)
CryptDash.setFeeReceivers(address,address)._autoLiquidityReceiver (#629) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#630)
CryptDash.setFeeReceivers(address,address)._marketingFeeReceiver (#629) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#631)
Check that the address is not zero.

Additional information: link

Reentrancy in CryptDash.constructor() (#415-447):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#417)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#418)
- _balances[msg.sender] = deployerSupply (#441)
- _balances[marketingFeeReceiver] = marketingFeeOnDeploy (#444)
- autoLiquidityReceiver = 0x000000000000000000000000000000000000dEaD (#432)
- devDeployReceiver = 0x9634380F66e6Bd130E53b23FA8D8D4f8348d8109 (#434)
- distributor = new DividendDistributor(address(router)) (#420)
- isDividendExempt[pair] = true (#427)
- isDividendExempt[address(this)] = true (#428)
- isDividendExempt[DEAD] = true (#429)
- isFeeExempt[msg.sender] = true (#423)
- isFeeExempt[marketingFeeReceiver] = true (#424)
- marketingFeeReceiver = 0xE078EfbD66fe4C2b748cCEC6cAea4a4C9478fd59 (#435)
Reentrancy in DividendDistributor.deposit() (#271-289):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#278-283)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#288)
- totalDividends = totalDividends.add(amount) (#287)
Reentrancy in DividendDistributor.distributeDividend(address) (#322-333):
External calls:
- DZ.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#329)
Reentrancy in DividendDistributor.setShare(address,uint256) (#255-269):
External calls:
- distributeDividend(shareholder) (#257)
- DZ.transfer(shareholder,amount) (#328)
State variables written after the call(s):
- addShareholder(shareholder) (#261)
- shareholderIndexes[shareholder] = shareholders.length (#355)
- removeShareholder(shareholder) (#263)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#361)
- addShareholder(shareholder) (#261)
- shareholders.push(shareholder) (#356)
- removeShareholder(shareholder) (#263)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#360)
- shareholders.pop() (#362)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#266)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CryptDash._transferFrom(address,address,uint256) (#487-523):
External calls:
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#568-574)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
- distributor.setShare(sender,_balances[sender]) (#512)
- distributor.setShare(recipient,_balances[recipient]) (#516)
- distributor.process(distributorGas) (#519)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#521)
Reentrancy in CryptDash._transferFrom(address,address,uint256) (#487-523):
External calls:
- swapBack() (#502)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#568-574)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
External calls sending eth:
- swapBack() (#502)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#540)
- amountReceived = takeFee(sender,amount) (#507)
Reentrancy in CryptDash.constructor() (#415-447):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#417)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,deployerSupply) (#442)
- Transfer(address(0),marketingFeeReceiver,marketingFeeOnDeploy) (#445)
Reentrancy in CryptDash.swapBack() (#557-601):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#568-574)
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#584)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#591-598)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#599)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#317-320) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#318-319)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#291-315) has costly operations inside a loop:
- currentIndex = 0 (#303)
DividendDistributor.distributeDividend(address) (#322-333) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#327)
DividendDistributor.process(uint256) (#291-315) has costly operations inside a loop:
- currentIndex ++ (#312)
Use a local variable to hold the loop computation result.

Additional information: link

CryptDash._maxWalletToken (#382) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 100
CryptDash.swapThreshold (#411) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 1 / 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

Low level call in CryptDash.swapBack() (#557-601):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#585)
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() (#146) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#250) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#250) is not in mixedCase
Variable DividendDistributor._token (#202) is not in mixedCase
Variable DividendDistributor.DZ (#210) is not in mixedCase
Variable DividendDistributor.WBNB (#211) is not in mixedCase
Parameter CryptDash.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#621) is not in mixedCase
Parameter CryptDash.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#621) is not in mixedCase
Parameter CryptDash.setFees(uint256,uint256,uint256,uint256)._marketingFee (#621) is not in mixedCase
Parameter CryptDash.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#621) is not in mixedCase
Parameter CryptDash.setFeeReceivers(address,address)._autoLiquidityReceiver (#629) is not in mixedCase
Parameter CryptDash.setFeeReceivers(address,address)._marketingFeeReceiver (#629) is not in mixedCase
Parameter CryptDash.setSwapBackSettings(bool,uint256)._enabled (#635) is not in mixedCase
Parameter CryptDash.setSwapBackSettings(bool,uint256)._amount (#635) is not in mixedCase
Parameter CryptDash.setTargetLiquidity(uint256,uint256)._target (#640) is not in mixedCase
Parameter CryptDash.setTargetLiquidity(uint256,uint256)._denominator (#640) is not in mixedCase
Parameter CryptDash.setDistributionCriteria(uint256,uint256)._minPeriod (#645) is not in mixedCase
Parameter CryptDash.setDistributionCriteria(uint256,uint256)._minDistribution (#645) is not in mixedCase
Variable CryptDash.DZ (#369) is not in mixedCase
Variable CryptDash.WBNB (#370) is not in mixedCase
Variable CryptDash.DEAD (#371) is not in mixedCase
Variable CryptDash.ZERO (#372) is not in mixedCase
Constant CryptDash._name (#374) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CryptDash._symbol (#375) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CryptDash._decimals (#376) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CryptDash._totalSupply (#379) is not in mixedCase
Variable CryptDash._maxWalletToken (#382) is not in mixedCase
Variable CryptDash._balances (#384) is not in mixedCase
Variable CryptDash._allowances (#385) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

CryptDash.constructor() (#415-447) uses literals with too many digits:
- autoLiquidityReceiver = 0x000000000000000000000000000000000000dEaD (#432)
CryptDash.slitherConstructorVariables() (#366-695) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#371)
CryptDash.slitherConstructorVariables() (#366-695) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#372)
CryptDash.slitherConstructorVariables() (#366-695) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#379)
CryptDash.slitherConstructorVariables() (#366-695) uses literals with too many digits:
- distributorGas = 500000 (#408)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

CryptDash.isTxLimitExempt (#388) is never used in CryptDash (#366-695)
Remove unused state variables.

Additional information: link

CryptDash.DEAD (#371) should be constant
CryptDash.WBNB (#370) should be constant
CryptDash.ZERO (#372) should be constant
CryptDash._totalSupply (#379) should be constant
DividendDistributor.WBNB (#211) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#224) 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) (#91-93)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#98-100)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#119-123)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Telegram account has relatively few subscribers


Twitter account has relatively few followers


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts

Search:


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

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


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 token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find token on CoinHunt

Additional information: link


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 scam / price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Anti-Scam Checks

Price for CDash

News for CDash