Cavalier Inu Token Logo

CAVALIER [Cavalier Inu] Token

About CAVALIER

Listings

Not Found
Token 2 years

Cavalier Inu is a dog-based meme token (Cavalier King Charles Spaniel Dog) on Binance Smart Chain with low tax and instant rewards for holders.
https://cavalierinu.space/
🇨🇳 https://t.me/cavalierinucn
Launched by https://t.me/leonidaslaunch

Social

Laser Scorebeta Last Audit: 11 January 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

CavalierInu.addLiquidity(uint256,uint256) (#576-589) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in CavalierInu._transfer(address,address,uint256) (#472-519):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
- _rOwned[address(this)] += rLiquidity (#373)
- _rOwned[address(this)] += rDonation (#393)
- _rOwned[address(this)] += rMarketing (#383)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#534)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#535)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
- _rTotal -= rRfi (#362)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
- _tOwned[address(this)] += tMarketing (#381)
- _tOwned[address(this)] += tLiquidity (#371)
- _tOwned[address(this)] += tDonation (#391)
- _tOwned[sender] = _tOwned[sender] - tAmount (#528)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#531)
Apply the check-effects-interactions pattern.

Additional information: link

CavalierInu.rescueAnyBEP20Tokens(address,address,uint256) (#680-682) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#681)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.

CavalierInu.swapAndLiquify(uint256,CavalierInu.Taxes) (#548-574) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#558)
-bnbToAddLiquidityWith = unitBalance * temp.liquidity (#559)
CavalierInu.swapAndLiquify(uint256,CavalierInu.Taxes) (#548-574) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#558)
-marketingAmt = unitBalance * 2 * temp.marketing (#566)
CavalierInu.swapAndLiquify(uint256,CavalierInu.Taxes) (#548-574) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#558)
-donationAmt = unitBalance * 2 * temp.donation (#570)
Consider ordering multiplication before division.

Additional information: link

CavalierInu.addLiquidity(uint256,uint256) (#576-589) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
Ensure that all the return values of the function calls are used.

Additional information: link

CavalierInu.allowance(address,address).owner (#252) shadows:
- Ownable.owner() (#53-55) (function)
CavalierInu._approve(address,address,uint256).owner (#465) shadows:
- Ownable.owner() (#53-55) (function)
Rename the local variables that shadow another component.

Additional information: link

CavalierInu.updateCooldown(bool,uint256) (#631-634) should emit an event for:
- coolDownTime = time * 1 (#632)
CavalierInu.updateSwapTokensAtAmount(uint256) (#636-638) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#637)
CavalierInu.updateMaxTxLimit(uint256,uint256) (#659-662) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#660)
- maxSellLimit = maxSell * 10 ** decimals() (#661)
CavalierInu.updateMaxWalletlimit(uint256) (#664-666) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#665)
Emit an event for critical parameter changes.

Additional information: link

CavalierInu.constructor(address)._pair (#208-209) lacks a zero-check on :
- pair = _pair (#212)
CavalierInu.updateMarketingWallet(address).newWallet (#622) lacks a zero-check on :
- marketingWallet = newWallet (#623)
CavalierInu.updateDonationWallet(address).newWallet (#626) lacks a zero-check on :
- donationWallet = newWallet (#627)
CavalierInu.updateRouterAndPair(address,address).newPair (#668) lacks a zero-check on :
- pair = newPair (#670)
Check that the address is not zero.

Additional information: link

Reentrancy in CavalierInu._transfer(address,address,uint256) (#472-519):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
- totFeesPaid.marketing += tMarketing (#377)
- totFeesPaid.donation += tDonation (#387)
- totFeesPaid.liquidity += tLiquidity (#367)
- totFeesPaid.rfi += tRfi (#363)
Reentrancy in CavalierInu.constructor(address) (#206-229):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#208-209)
State variables written after the call(s):
- excludeFromReward(pair) (#214)
- _excluded.push(account) (#323)
- excludeFromReward(pair) (#214)
- _isExcluded[account] = true (#322)
- _isExcludedFromFee[address(this)] = true (#217)
- _isExcludedFromFee[owner()] = true (#218)
- _isExcludedFromFee[marketingWallet] = true (#219)
- _isExcludedFromFee[donationWallet] = true (#220)
- _rOwned[owner()] = _rTotal (#216)
- excludeFromReward(pair) (#214)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#320)
- allowedTransfer[address(this)] = true (#222)
- allowedTransfer[owner()] = true (#223)
- allowedTransfer[pair] = true (#224)
- allowedTransfer[marketingWallet] = true (#225)
- allowedTransfer[donationWallet] = true (#226)
- pair = _pair (#212)
- router = _router (#211)
Reentrancy in CavalierInu.swapAndLiquify(uint256,CavalierInu.Taxes) (#548-574):
External calls:
- swapTokensForBNB(toSwap) (#555)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
- _allowances[owner][spender] = amount (#468)
Reentrancy in CavalierInu.transferFrom(address,address,uint256) (#261-269):
External calls:
- _transfer(sender,recipient,amount) (#262)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
External calls sending eth:
- _transfer(sender,recipient,amount) (#262)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#266)
- _allowances[owner][spender] = amount (#468)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in CavalierInu._transfer(address,address,uint256) (#472-519):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#510)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- swapAndLiquify(swapTokensAtAmount,taxes) (#511)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tLiquidity + s.tMarketing + s.tDonation) (#540)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
- Transfer(sender,recipient,s.tTransferAmount) (#544)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#518)
Reentrancy in CavalierInu.constructor(address) (#206-229):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#208-209)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#228)
Reentrancy in CavalierInu.swapAndLiquify(uint256,CavalierInu.Taxes) (#548-574):
External calls:
- swapTokensForBNB(toSwap) (#555)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#469)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#563)
Reentrancy in CavalierInu.transferFrom(address,address,uint256) (#261-269):
External calls:
- _transfer(sender,recipient,amount) (#262)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#600-606)
- address(marketingWallet).sendValue(marketingAmt) (#568)
- address(donationWallet).sendValue(donationAmt) (#572)
External calls sending eth:
- _transfer(sender,recipient,amount) (#262)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#581-588)
- (success) = recipient.call{value: amount}() (#106)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#469)
- _approve(sender,_msgSender(),currentAllowance - amount) (#266)
Apply the check-effects-interactions pattern.

Additional information: link

CavalierInu._transfer(address,address,uint256) (#472-519) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#499)
Avoid relying on block.timestamp.

Additional information: link

CavalierInu.setTradingStatus(bool) (#305-309) compares to a boolean constant:
-state == true && genesis_block == 0 (#308)
Remove the equality to the boolean constant.

Additional information: link

CavalierInu.includeInReward(address) (#326-337) has costly operations inside a loop:
- _excluded.pop() (#333)
CavalierInu._reflectRfi(uint256,uint256) (#361-364) has costly operations inside a loop:
- _rTotal -= rRfi (#362)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#38-41) is never used and should be removed
Remove unused functions.

Additional information: link

CavalierInu._tTotal (#148) is set pre-construction with a non-constant function or state variable:
- initialsupply * 10 ** _decimals
CavalierInu._rTotal (#149) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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 Address.sendValue(address,uint256) (#103-108):
- (success) = recipient.call{value: amount}() (#106)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IRouter.WETH() (#84) is not in mixedCase
Struct CavalierInu.valuesFromGetValues (#183-195) is not in CapWords
Parameter CavalierInu.setTaxes(uint256,uint256,uint256,uint256)._rfi (#351) is not in mixedCase
Parameter CavalierInu.setTaxes(uint256,uint256,uint256,uint256)._marketing (#351) is not in mixedCase
Parameter CavalierInu.setTaxes(uint256,uint256,uint256,uint256)._liquidity (#351) is not in mixedCase
Parameter CavalierInu.setTaxes(uint256,uint256,uint256,uint256)._donation (#351) is not in mixedCase
Parameter CavalierInu.setSellTaxes(uint256,uint256,uint256,uint256)._rfi (#356) is not in mixedCase
Parameter CavalierInu.setSellTaxes(uint256,uint256,uint256,uint256)._marketing (#356) is not in mixedCase
Parameter CavalierInu.setSellTaxes(uint256,uint256,uint256,uint256)._liquidity (#356) is not in mixedCase
Parameter CavalierInu.setSellTaxes(uint256,uint256,uint256,uint256)._donation (#356) is not in mixedCase
Parameter CavalierInu.updateSwapEnabled(bool)._enabled (#640) is not in mixedCase
Parameter CavalierInu.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#680) is not in mixedCase
Parameter CavalierInu.rescueAnyBEP20Tokens(address,address,uint256)._to (#680) is not in mixedCase
Parameter CavalierInu.rescueAnyBEP20Tokens(address,address,uint256)._amount (#680) is not in mixedCase
Constant CavalierInu._decimals (#144) is not in UPPER_CASE_WITH_UNDERSCORES
Variable CavalierInu.genesis_block (#156) is not in mixedCase
Constant CavalierInu._name (#161) is not in UPPER_CASE_WITH_UNDERSCORES
Constant CavalierInu._symbol (#162) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#39)" inContext (#33-42)
Remove redundant statements if they congest code but offer no value.

Additional information: link

CavalierInu.initialsupply (#147) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#62-64)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#66-69)
name() should be declared external:
- CavalierInu.name() (#232-234)
symbol() should be declared external:
- CavalierInu.symbol() (#235-237)
totalSupply() should be declared external:
- CavalierInu.totalSupply() (#243-245)
allowance(address,address) should be declared external:
- CavalierInu.allowance(address,address) (#252-254)
approve(address,uint256) should be declared external:
- CavalierInu.approve(address,uint256) (#256-259)
transferFrom(address,address,uint256) should be declared external:
- CavalierInu.transferFrom(address,address,uint256) (#261-269)
increaseAllowance(address,uint256) should be declared external:
- CavalierInu.increaseAllowance(address,uint256) (#271-274)
decreaseAllowance(address,uint256) should be declared external:
- CavalierInu.decreaseAllowance(address,uint256) (#276-282)
transfer(address,uint256) should be declared external:
- CavalierInu.transfer(address,uint256) (#284-288)
isExcludedFromReward(address) should be declared external:
- CavalierInu.isExcludedFromReward(address) (#290-292)
reflectionFromToken(uint256,bool) should be declared external:
- CavalierInu.reflectionFromToken(uint256,bool) (#294-303)
excludeFromFee(address) should be declared external:
- CavalierInu.excludeFromFee(address) (#339-341)
includeInFee(address) should be declared external:
- CavalierInu.includeInFee(address) (#343-345)
isExcludedFromFee(address) should be declared external:
- CavalierInu.isExcludedFromFee(address) (#347-349)
setTaxes(uint256,uint256,uint256,uint256) should be declared external:
- CavalierInu.setTaxes(uint256,uint256,uint256,uint256) (#351-354)
setSellTaxes(uint256,uint256,uint256,uint256) should be declared external:
- CavalierInu.setSellTaxes(uint256,uint256,uint256,uint256) (#356-359)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- CavalierInu.rescueAnyBEP20Tokens(address,address,uint256) (#680-682)
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 Twitter account


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

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

Price for CAVALIER