lichundoge Token Logo

lichundoge Token

About lichundoge

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 4 February 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...)

Reentrancy in lichundoge._transfer(address,address,uint256) (#711-742):
External calls:
- swapAndCharge() (#729)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
External calls sending eth:
- swapAndCharge() (#729)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _balances[sender] = _balances[sender].sub(amount) (#780)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#781)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _burnFee = _previousBurnFee (#695)
- _burnFee = 0 (#690)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _marketingFee = _previousMarketingFee (#696)
- _marketingFee = 0 (#691)
- lastSwapTime = block.timestamp (#730)
Apply the check-effects-interactions pattern.

Additional information: link

lichundoge.allowance(address,address).owner (#607) shadows:
- Ownable.owner() (#326-328) (function)
lichundoge._approve(address,address,uint256).owner (#703) shadows:
- Ownable.owner() (#326-328) (function)
Rename the local variables that shadow another component.

Additional information: link

lichundoge.swapTokensForEth(uint256) (#753-767) has external calls inside a loop: path[1] = pancakeswapV2Router.WETH() (#757)
lichundoge.swapTokensForEth(uint256) (#753-767) has external calls inside a loop: pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
lichundoge.swapAndCharge() (#744-751) has external calls inside a loop: address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
lichundoge.swapAndCharge() (#744-751) has external calls inside a loop: address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in lichundoge._transfer(address,address,uint256) (#711-742):
External calls:
- swapAndCharge() (#729)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
External calls sending eth:
- swapAndCharge() (#729)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _previousBurnFee = _burnFee (#687)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _previousMarketingFee = _marketingFee (#688)
Reentrancy in lichundoge.constructor() (#559-576):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#565-566)
State variables written after the call(s):
- _balances[_msgSender()] = _tTotal (#574)
- _isExcludedFromFee[_msgSender()] = true (#572)
- _isExcludedFromFee[address(this)] = true (#573)
- pancakeswapV2Router = _pancakeswapV2Router (#569)
Reentrancy in lichundoge.transferFrom(address,address,uint256) (#616-620):
External calls:
- _transfer(sender,recipient,amount) (#617)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
External calls sending eth:
- _transfer(sender,recipient,amount) (#617)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#618)
- _allowances[owner][spender] = amount (#707)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in lichundoge._transfer(address,address,uint256) (#711-742):
External calls:
- swapAndCharge() (#729)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
External calls sending eth:
- swapAndCharge() (#729)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#785)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- Transfer(sender,recipient,tTransferAmount) (#787)
- _tokenTransfer(from,to,amount,takeFee) (#741)
Reentrancy in lichundoge.constructor() (#559-576):
External calls:
- pancakeswapV2Pair = IPancakeswapV2Factory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (#565-566)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#575)
Reentrancy in lichundoge.transferFrom(address,address,uint256) (#616-620):
External calls:
- _transfer(sender,recipient,amount) (#617)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#760-766)
External calls sending eth:
- _transfer(sender,recipient,amount) (#617)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#708)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#618)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#357-362) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 0 days) (#359)
lichundoge._transfer(address,address,uint256) (#711-742) uses timestamp for comparisons
Dangerous comparisons:
- overMinTokenBalance && ! inSwap && from != pancakeswapV2Pair && swapEnabled && from != owner() && block.timestamp >= lastSwapTime + swapCoolDownTime (#722-727)
Avoid relying on block.timestamp.

Additional information: link

lichundoge.lockTheSwap() (#553-557) has costly operations inside a loop:
- inSwap = true (#554)
lichundoge.lockTheSwap() (#553-557) has costly operations inside a loop:
- inSwap = false (#556)
lichundoge._transfer(address,address,uint256) (#711-742) has costly operations inside a loop:
- lastSwapTime = block.timestamp (#730)
lichundoge.removeAllFee() (#684-692) has costly operations inside a loop:
- _previousBurnFee = _burnFee (#687)
lichundoge.removeAllFee() (#684-692) has costly operations inside a loop:
- _previousMarketingFee = _marketingFee (#688)
lichundoge.removeAllFee() (#684-692) has costly operations inside a loop:
- _burnFee = 0 (#690)
lichundoge.removeAllFee() (#684-692) has costly operations inside a loop:
- _marketingFee = 0 (#691)
lichundoge.restoreAllFee() (#694-697) has costly operations inside a loop:
- _burnFee = _previousBurnFee (#695)
lichundoge.restoreAllFee() (#694-697) has costly operations inside a loop:
- _marketingFee = _previousMarketingFee (#696)
Use a local variable to hold the loop computation result.

Additional information: link

Context._msgData() (#307-310) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#273-278) is never used and should be removed
SafeMath.mod(uint256,uint256) (#233-235) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#295-300) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#104-110) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#146-151) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#158-163) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#129-139) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#117-122) is never used and should be removed
Remove unused functions.

Additional information: link

lichundoge._previousBurnFee (#530) is set pre-construction with a non-constant function or state variable:
- _burnFee
lichundoge._previousMarketingFee (#533) is set pre-construction with a non-constant function or state variable:
- _marketingFee
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.8.0 (#6) allows old versions
solc-0.8.0 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

Function IPancakeswapV2Router01.WETH() (#381) is not in mixedCase
Contract lichundoge (#512-792) is not in CapWords
Parameter lichundoge.setSwapEnabled(bool)._enabled (#670) is not in mixedCase
Variable lichundoge._burnFee (#529) is not in mixedCase
Variable lichundoge._marketingFee (#532) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#308)" inContext (#302-311)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in lichundoge._transfer(address,address,uint256) (#711-742):
External calls:
- swapAndCharge() (#729)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _balances[sender] = _balances[sender].sub(amount) (#780)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#781)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#784)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _burnFee = _previousBurnFee (#695)
- _burnFee = 0 (#690)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _marketingFee = _previousMarketingFee (#696)
- _marketingFee = 0 (#691)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _previousBurnFee = _burnFee (#687)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- _previousMarketingFee = _marketingFee (#688)
- lastSwapTime = block.timestamp (#730)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#785)
- _tokenTransfer(from,to,amount,takeFee) (#741)
- Transfer(sender,recipient,tTransferAmount) (#787)
- _tokenTransfer(from,to,amount,takeFee) (#741)
Reentrancy in lichundoge.transferFrom(address,address,uint256) (#616-620):
External calls:
- _transfer(sender,recipient,amount) (#617)
- address(bnbPoolAddress).transfer(bnbBalance.mul(_burnFee).div(totalFee)) (#748)
- address(marketingAddress).transfer(bnbBalance.mul(_marketingFee).div(totalFee)) (#750)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#618)
- _allowances[owner][spender] = amount (#707)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#708)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,BEP20: transfer amount exceeds allowance)) (#618)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#386) is too similar to IPancakeswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#387)
Prevent variables from having similar names.

Additional information: link

lichundoge.MAX (#524) is never used in lichundoge (#512-792)
lichundoge.lastTxTimes (#544) is never used in lichundoge (#512-792)
Remove unused state variables.

Additional information: link

lichundoge._decimals (#527) should be constant
lichundoge._name (#525) should be constant
lichundoge._symbol (#526) should be constant
lichundoge._tTotal (#523) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#335-338)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#340-344)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#346-348)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#350-355)
unlock() should be declared external:
- Ownable.unlock() (#357-362)
transfer(address,uint256) should be declared external:
- lichundoge.transfer(address,uint256) (#602-605)
allowance(address,address) should be declared external:
- lichundoge.allowance(address,address) (#607-609)
approve(address,uint256) should be declared external:
- lichundoge.approve(address,uint256) (#611-614)
transferFrom(address,address,uint256) should be declared external:
- lichundoge.transferFrom(address,address,uint256) (#616-620)
increaseAllowance(address,uint256) should be declared external:
- lichundoge.increaseAllowance(address,uint256) (#622-625)
decreaseAllowance(address,uint256) should be declared external:
- lichundoge.decreaseAllowance(address,uint256) (#627-630)
sendMarketToken(address[],uint256) should be declared external:
- lichundoge.sendMarketToken(address[],uint256) (#769-773)
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. Ignore for presale.


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 lichundoge