Crao Token Token Logo

Crao Token

About Crao

Listings

Token 3 months

Our goal is to become the largest token on the Binance Smart Chain, not in market cap, not in volume but in impact. Giving back to our community via monetary rewards is an essential objective at Crao.

Crao aims to make a platform that constantly grows until it can achieve a fully decentralized status where the development fund’s rewards will be turned off entirely and ownership renounced. Basically, our goal is to build a sustainable ecosystem composed of consumers and merchants.

A variety of applications will be given to the user directly from launch, including a CoinMarketCap (CMC) New Listings Bot for receiving new promising BSC token projects as rewards, a custom rewards token selection and ratio of BNB to selected rewards token, a wallet view with current balance and value of distributed reward tokens, an exchange interface for PancakeSwap V2 listing pairs and an analysis tool to monitor the Crao CMC rewards system.

Social

Laser Scorebeta Last Audit: 17 February 2022

report
Code:


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

Reentrancy in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274):
External calls:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
External calls sending eth:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
State variables written after the call(s):
- _balances[sender] = _balances[sender] - amount (#1251)
- _balances[recipient] = _balances[recipient] + amountReceived (#1254)
- amountReceived = takeFee(recipient,amount) (#1253)
- _balances[address(this)] = _balances[address(this)] + (feeAmount) (#1314)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#497-543):
External calls:
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#532)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#497-543):
External calls:
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- swapETHForTokens(user,rewardPercentage) (#539)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
State variables written after the call(s):
- swapETHForTokens(user,rewardPercentage) (#539)
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (#347)
Apply the check-effects-interactions pattern.

Additional information: link

CraoTokenContract.swapBack().success (#1336) is written in both
(success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
(success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
Fix or remove the writes.

Additional information: link

CraoTokenContract._transferFrom(address,address,uint256).iterations (#1269) is a local variable never initialized
CraoTokenContract._transferFrom(address,address,uint256).claims (#1269) is a local variable never initialized
CraoTokenContract._transferFrom(address,address,uint256).lastProcessedIndex (#1269) 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

CraoTokenContract.claim() (#1217-1219) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1218)
CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274) ignores return value by dividendTracker.process(gasForProcessing) (#1269-1270)
CraoTokenContract.addLiquidity(uint256,uint256) (#1361-1372) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.setDefaultToken(address).tokenAddress (#365) lacks a zero-check on :
- defaultToken = tokenAddress (#371)
CraoTokenContract.setDefaultToken(address).newdefault (#1020) lacks a zero-check on :
- defaultToken = newdefault (#1022)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#497-543) has external calls inside a loop: (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
DividendPayingToken._withdrawDividendOfUser(address) (#497-543) has external calls inside a loop: (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
DividendPayingToken.swapETHForTokens(address,uint256) (#322-352) has external calls inside a loop: path[0] = router.WETH() (#329)
DividendPayingToken.swapETHForTokens(address,uint256) (#322-352) has external calls inside a loop: router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
DividendPayingToken.swapETHForTokens(address,uint256) (#322-352) has external calls inside a loop: (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'CraoTokenContract._transferFrom(address,address,uint256).lastProcessedIndex (#1269)' in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gasForProcessing,tx.origin) (#1270)
Variable 'CraoTokenContract._transferFrom(address,address,uint256).claims (#1269)' in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gasForProcessing,tx.origin) (#1270)
Variable 'CraoTokenContract._transferFrom(address,address,uint256).iterations (#1269)' in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gasForProcessing,tx.origin) (#1270)
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 CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274):
External calls:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- dividendTracker.setBalance(address(sender),balanceOf(sender)) (#1256)
- dividendTracker.setBalance(address(recipient),balanceOf(recipient)) (#1257)
- dividendTracker.setInitRewardToken(sender) (#1261)
- dividendTracker.setInitRewardToken(recipient) (#1266)
- dividendTracker.process(gasForProcessing) (#1269-1270)
External calls sending eth:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
State variables written after the call(s):
- transfers ++ (#1271)
Reentrancy in CraoTokenContract.constructor() (#889-924):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#892)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#893)
- dividendTracker = new DividendTracker() (#895)
Reentrancy in CraoTokenContract.constructor() (#889-924):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#892)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#898)
- dividendTracker.excludeFromDividends(address(this)) (#899)
- dividendTracker.excludeFromDividends(owner) (#900)
- dividendTracker.excludeFromDividends(address(router)) (#901)
- dividendTracker.excludeFromDividends(address(pair)) (#902)
- dividendTracker.excludeFromDividends(address(0xdead)) (#903)
- dividendTracker.setDefaultToken(defaultToken) (#906)
State variables written after the call(s):
- excludeFromFees(owner,true) (#916)
- _isExcludedFromFees[account] = excluded (#998)
- excludeFromFees(address(this),true) (#917)
- _isExcludedFromFees[account] = excluded (#998)
- excludeFromFees(address(0xdead),true) (#918)
- _isExcludedFromFees[account] = excluded (#998)
- excludeFromMaxTransaction(owner,true) (#909)
- _isExcludedMaxTransactionAmount[account] = isExcluded (#972)
- excludeFromMaxTransaction(address(this),true) (#910)
- _isExcludedMaxTransactionAmount[account] = isExcluded (#972)
- excludeFromMaxTransaction(address(dividendTracker),true) (#911)
- _isExcludedMaxTransactionAmount[account] = isExcluded (#972)
- excludeFromMaxTransaction(address(router),true) (#912)
- _isExcludedMaxTransactionAmount[account] = isExcluded (#972)
- excludeFromMaxTransaction(address(0xdead),true) (#913)
- _isExcludedMaxTransactionAmount[account] = isExcluded (#972)
Reentrancy in CraoTokenContract.constructor() (#889-924):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#892)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#898)
- dividendTracker.excludeFromDividends(address(this)) (#899)
- dividendTracker.excludeFromDividends(owner) (#900)
- dividendTracker.excludeFromDividends(address(router)) (#901)
- dividendTracker.excludeFromDividends(address(pair)) (#902)
- dividendTracker.excludeFromDividends(address(0xdead)) (#903)
- dividendTracker.setDefaultToken(defaultToken) (#906)
- dividendTracker.setBlacklistToken(router.WETH()) (#920)
State variables written after the call(s):
- _balances[owner] = _totalSupply (#922)
Reentrancy in DividendTracker.process(uint256) (#692-738):
External calls:
- processAccount(address(account),true) (#718)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
State variables written after the call(s):
- usersRewarded ++ (#720)
Reentrancy in DividendTracker.processAccount(address,bool) (#740-750):
External calls:
- amount = _withdrawDividendOfUser(account) (#741)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#744)
Reentrancy in CraoTokenContract.setDefaultToken(address) (#1020-1023):
External calls:
- dividendTracker.setDefaultToken(newdefault) (#1021)
State variables written after the call(s):
- defaultToken = newdefault (#1022)
Reentrancy in CraoTokenContract.swapBack() (#1320-1341):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1327)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- _allowances[msg.sender][spender] = amount (#938)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#322-352):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (#347)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#322-352):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
State variables written after the call(s):
- tokenTransfers[address(token)] ++ (#349)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274):
External calls:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- dividendTracker.setBalance(address(sender),balanceOf(sender)) (#1256)
- dividendTracker.setBalance(address(recipient),balanceOf(recipient)) (#1257)
- dividendTracker.setInitRewardToken(sender) (#1261)
- dividendTracker.setInitRewardToken(recipient) (#1266)
- dividendTracker.process(gasForProcessing) (#1269-1270)
External calls sending eth:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gasForProcessing,tx.origin) (#1270)
- Transfer(sender,recipient,amountReceived) (#1272)
Reentrancy in CraoTokenContract._transferFrom(address,address,uint256) (#1228-1274):
External calls:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
External calls sending eth:
- swapBack() (#1249)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#1315)
- amountReceived = takeFee(recipient,amount) (#1253)
Reentrancy in CraoTokenContract.constructor() (#889-924):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#892)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#898)
- dividendTracker.excludeFromDividends(address(this)) (#899)
- dividendTracker.excludeFromDividends(owner) (#900)
- dividendTracker.excludeFromDividends(address(router)) (#901)
- dividendTracker.excludeFromDividends(address(pair)) (#902)
- dividendTracker.excludeFromDividends(address(0xdead)) (#903)
- dividendTracker.setDefaultToken(defaultToken) (#906)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#999)
- excludeFromFees(address(0xdead),true) (#918)
- ExcludeFromFees(account,excluded) (#999)
- excludeFromFees(address(this),true) (#917)
- ExcludeFromFees(account,excluded) (#999)
- excludeFromFees(owner,true) (#916)
- ExcludedMaxTransactionAmount(account,isExcluded) (#973)
- excludeFromMaxTransaction(address(0xdead),true) (#913)
- ExcludedMaxTransactionAmount(account,isExcluded) (#973)
- excludeFromMaxTransaction(owner,true) (#909)
- ExcludedMaxTransactionAmount(account,isExcluded) (#973)
- excludeFromMaxTransaction(address(router),true) (#912)
- ExcludedMaxTransactionAmount(account,isExcluded) (#973)
- excludeFromMaxTransaction(address(dividendTracker),true) (#911)
- ExcludedMaxTransactionAmount(account,isExcluded) (#973)
- excludeFromMaxTransaction(address(this),true) (#910)
Reentrancy in CraoTokenContract.constructor() (#889-924):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#892)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#898)
- dividendTracker.excludeFromDividends(address(this)) (#899)
- dividendTracker.excludeFromDividends(owner) (#900)
- dividendTracker.excludeFromDividends(address(router)) (#901)
- dividendTracker.excludeFromDividends(address(pair)) (#902)
- dividendTracker.excludeFromDividends(address(0xdead)) (#903)
- dividendTracker.setDefaultToken(defaultToken) (#906)
- dividendTracker.setBlacklistToken(router.WETH()) (#920)
Event emitted after the call(s):
- Transfer(address(0),owner,_totalSupply) (#923)
Reentrancy in DividendTracker.processAccount(address,bool) (#740-750):
External calls:
- amount = _withdrawDividendOfUser(account) (#741)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#333-343)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#745)
Reentrancy in CraoTokenContract.processDividendTracker(uint256) (#1222-1225):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1223)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1224)
Reentrancy in CraoTokenContract.swapBack() (#1320-1341):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1327)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1351-1357)
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1364-1371)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#939)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1339)
- SwapAndLiquify(amountToSwapForBNB,bnbForLiquidity,tokensForLiquidity) (#1340)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.Ownershipunlock() (#67-72) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked) (#69)
DividendPayingToken.getCurrentRewardsToken() (#410-413) uses timestamp for comparisons
Dangerous comparisons:
- _rewardsTokenList.length < 1 (#411)
DividendPayingToken.getLastRewardsTokens(uint256) (#421-434) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_rewardsTokenList.length > 0,You cannot query an empty list!) (#422)
- require(bool,string)(n <= _rewardsTokenList.length,You can only return available reward tokens!) (#424)
DividendTracker.canAutoClaim(uint256) (#653-659) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#654)
- block.timestamp - (lastClaimTime) >= claimWait (#658)
Avoid relying on block.timestamp.

Additional information: link

CraoTokenContract.isContract(address) (#1096-1101) uses assembly
- INLINE ASM (#1099)
Do not use evm assembly.

Additional information: link

DividendPayingToken.getUserRewardToken(address) (#401-407) compares to a boolean constant:
-userHasCustomRewardToken[holder] == true (#403)
DividendPayingToken.setInitRewardToken(address) (#437-446) compares to a boolean constant:
-userHasCustomRewardToken[holder] == true (#439)
DividendPayingToken.setRewardToken(address,address) (#448-464) compares to a boolean constant:
-userHasInitRewardToken[holder] == true (#455)
DividendPayingToken.setRewardToken(address,address) (#448-464) compares to a boolean constant:
-userHasCustomRewardToken[holder] == true (#450)
DividendPayingToken.unsetRewardToken(address) (#467-474) compares to a boolean constant:
-require(bool,string)(userHasCustomRewardToken[holder] == true,Cannot clear rewards token as no token is set.) (#468)
Remove the equality to the boolean constant.

Additional information: link

DividendTracker.process(uint256) (#692-738) has costly operations inside a loop:
- usersRewarded ++ (#720)
Use a local variable to hold the loop computation result.

Additional information: link

SafeMath.div(uint256,uint256) (#217-219) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#221-227) is never used and should be removed
SafeMath.mod(uint256,uint256) (#229-231) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#233-236) is never used and should be removed
SafeMathInt.abs(int256) (#166-169) is never used and should be removed
SafeMathInt.div(int256,int256) (#149-152) is never used and should be removed
SafeMathInt.mul(int256,int256) (#142-147) is never used and should be removed
Remove unused functions.

Additional information: link

CraoTokenContract.sellTotalFees (#848) is set pre-construction with a non-constant function or state variable:
- sellRewardsFee + sellLiquidityFee + sellMarketingFee
CraoTokenContract.buyTotalFees (#854) is set pre-construction with a non-constant function or state variable:
- buyRewardsFee + buyLiquidityFee + buyMarketingFee
CraoTokenContract.maxTransactionAmount (#856) is set pre-construction with a non-constant function or state variable:
- _totalSupply
CraoTokenContract.maxWallet (#858) is set pre-construction with a non-constant function or state variable:
- _totalSupply
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 version0.8.9 (#7) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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 DividendPayingToken.swapETHForTokens(address,uint256) (#322-352):
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#346)
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#497-543):
- (success,None) = user.call{gas: 3000,value: BNBPercentage}() (#516)
- (success,None) = user.call{gas: 3000,value: rewardPercentage}() (#529)
Low level call in CraoTokenContract.swapBack() (#1320-1341):
- (success) = address(marketingFeeReceiver).call{value: bnbForMarketing}() (#1336)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#1337)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function Ownable.Ownershiplock(uint256) (#60-65) is not in mixedCase
Function Ownable.Ownershipunlock() (#67-72) is not in mixedCase
Parameter DividendPayingToken.setCustomBNBPercentage(uint256,address).BNBPercentage (#375) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#546) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#550) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#554) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#558) is not in mixedCase
Variable DividendPayingToken._rewardsTokenList (#279) is not in mixedCase
Constant DividendPayingToken.magnitude (#281) is not in UPPER_CASE_WITH_UNDERSCORES
Function IDEXRouter.WETH() (#763) is not in mixedCase
Parameter CraoTokenContract.updateBuyFees(uint256,uint256,uint256)._marketingFee (#1042) is not in mixedCase
Parameter CraoTokenContract.updateBuyFees(uint256,uint256,uint256)._rewardsFee (#1042) is not in mixedCase
Parameter CraoTokenContract.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#1042) is not in mixedCase
Parameter CraoTokenContract.updateSellFees(uint256,uint256,uint256)._marketingFee (#1052) is not in mixedCase
Parameter CraoTokenContract.updateSellFees(uint256,uint256,uint256)._rewardsFee (#1052) is not in mixedCase
Parameter CraoTokenContract.updateSellFees(uint256,uint256,uint256)._liquidityFee (#1052) is not in mixedCase
Constant CraoTokenContract._name (#818) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CraoTokenContract._symbol (#819) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CraoTokenContract._decimals (#820) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CraoTokenContract._totalSupply (#821) is not in mixedCase
Variable CraoTokenContract._balances (#823) is not in mixedCase
Variable CraoTokenContract._allowances (#824) is not in mixedCase
Variable CraoTokenContract._isExcludedMaxTransactionAmount (#871) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

CraoTokenContract.updateSwapTokensAtAmount(uint256) (#988-994) uses literals with too many digits:
- require(bool,string)((newAmount * (10 ** _decimals)) >= _totalSupply * 5 / 100000,Swap amount cannot be lower than 0.005% total supply.) (#990)
CraoTokenContract.updateGasForProcessing(uint256) (#1062-1067) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (#1063)
CraoTokenContract.setMinimumDistribution(uint256) (#1076-1080) uses literals with too many digits:
- require(bool,string)(minWEIdistribution <= 100000000000000000,Cant set minimum distribution higher than 0.1BNB) (#1077)
CraoTokenContract.slitherConstructorVariables() (#813-1374) uses literals with too many digits:
- _totalSupply = 25000000000 * (10 ** _decimals) (#821)
CraoTokenContract.slitherConstructorVariables() (#813-1374) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** _decimals) (#837)
CraoTokenContract.slitherConstructorVariables() (#813-1374) uses literals with too many digits:
- gasForProcessing = 500000 (#866)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#140) is never used in SafeMathInt (#138-175)
Remove unused state variables.

Additional information: link

CraoTokenContract._totalSupply (#821) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#50-54)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#56-58)
Ownershiplock(uint256) should be declared external:
- Ownable.Ownershiplock(uint256) (#60-65)
Ownershipunlock() should be declared external:
- Ownable.Ownershipunlock() (#67-72)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#88-90)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#92-97)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#99-101)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#103-105)
getBlockTime() should be declared external:
- CraoTokenContract.getBlockTime() (#929)
isBlacklistedToken(address) should be declared external:
- CraoTokenContract.isBlacklistedToken(address) (#1140-1142)
getBNBDividends(address) should be declared external:
- CraoTokenContract.getBNBDividends(address) (#1152-1154)
getUserInfo(address) should be declared external:
- CraoTokenContract.getUserInfo(address) (#1156-1158)
getTokenTransfers(address) should be declared external:
- CraoTokenContract.getTokenTransfers(address) (#1160-1162)
getCurrentRewardsToken() should be declared external:
- CraoTokenContract.getCurrentRewardsToken() (#1164-1166)
getRewardsTokensCount() should be declared external:
- CraoTokenContract.getRewardsTokensCount() (#1168-1170)
getLastRewardsTokens(uint256) should be declared external:
- CraoTokenContract.getLastRewardsTokens(uint256) (#1172-1174)
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 less than 100. Token is either dead or inactive.


Unable to find Youtube 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 verify token contract address on the website


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 code repository for the project


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death

Anti-Scam Checks

Price for Crao

News for Crao