JiaoZi Token Logo

🥟 [JiaoZi] Token

ALERT: dead

About 🥟

Listings

Not Found
Token 3 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 10 May 2022

report
Code:


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

Token.addLiquidity(uint256,uint256) (#1356-1369) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Token._transfer(address,address,uint256) (#1237-1313):
External calls:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _balances[address(this)] = _balances[address(this)].add(tLiquidity) (#1217)
- _balances[_burn] = _balances[_burn].add(tBurn) (#1221)
- _balances[_market] = _balances[_market].add(tMarket1) (#1212)
- _balances[_market2] = _balances[_market2].add(tMarket2) (#1213)
- _balances[sender] = _balances[sender].sub(amount) (#1386)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#1387)
Apply the check-effects-interactions pattern.

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.

Contract ticker (🥟) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

Contract ticker (🥟) has length of 1 chars.
Not a direct threat, but may indicate unreliable intentions of developer.

Token.addLiquidity(uint256,uint256) (#1356-1369) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Ensure that all the return values of the function calls are used.

Additional information: link

Token.allowance(address,address).owner (#1002) shadows:
- Ownable.owner() (#467-469) (function)
Token._approve(address,address,uint256).owner (#1226) shadows:
- Ownable.owner() (#467-469) (function)
Rename the local variables that shadow another component.

Additional information: link

Token.setLiquidityFeePercent(uint256) (#1096-1099) should emit an event for:
- _liquidityFee = liquidityFee (#1097)
- _previousLiquidityFee = _liquidityFee (#1098)
Token.setMarketFeePercent(uint256) (#1101-1104) should emit an event for:
- _marketFee = marketFee (#1102)
- _previousMarketFee = _marketFee (#1103)
Token.setBurnFeePercent(uint256) (#1115-1118) should emit an event for:
- _burnFee = burnFee (#1116)
- _previousBurnFee = _burnFee (#1117)
Token.setMaxTxAmount(uint256) (#1120-1122) should emit an event for:
- _maxTxAmount = maxTxAmount (#1121)
Token.setMaxHavAmount(uint256) (#1124-1126) should emit an event for:
- _maxHavAmount = maxHavAmount (#1125)
Token.setNumTokensSellToAddToLiquidity(uint256) (#1133-1135) should emit an event for:
- numTokensSellToAddToLiquidity = num (#1134)
Emit an event for critical parameter changes.

Additional information: link

Token.setMarketAddress(address,address).market (#1106) lacks a zero-check on :
- _market = market (#1107)
Token.setMarketAddress(address,address).market2 (#1106) lacks a zero-check on :
- _market2 = market2 (#1108)
Token.setLiquifyAddress(address).liquify (#1111) lacks a zero-check on :
- _liquify = liquify (#1112)
Check that the address is not zero.

Additional information: link

Token.swapTokensForEth(uint256) (#1338-1354) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#1342)
Token.swapTokensForEth(uint256) (#1338-1354) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
Token.addLiquidity(uint256,uint256) (#1356-1369) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in Token._transfer(address,address,uint256) (#1237-1313):
External calls:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _burnFee = _previousBurnFee (#1177)
- _burnFee = 0 (#1171)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _liquidityFee = _previousLiquidityFee (#1178)
- _liquidityFee = 0 (#1172)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _marketFee = _previousMarketFee (#1176)
- _marketFee = 0 (#1170)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _previousBurnFee = _burnFee (#1167)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _previousLiquidityFee = _liquidityFee (#1168)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- _previousMarketFee = _marketFee (#1166)
Reentrancy in Token.constructor(string,string,address[3],uint256[3]) (#924-971):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#950-951)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#960)
- _isExcludedFromFee[address(this)] = true (#961)
- _isExcludedFromFee[_market] = true (#962)
- _isExcludedFromFee[_market2] = true (#963)
- _isExcludedFromFee[_liquify] = true (#964)
- _liquify = owner() (#959)
- automatedMarketMakerPairs[uniswapV2Pair] = true (#956)
- uniswapV2Router = _uniswapV2Router (#954)
Reentrancy in Token.swapAndLiquify(uint256) (#1315-1336):
External calls:
- swapTokensForEth(half) (#1327)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- addLiquidity(otherHalf,newBalance) (#1333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1333)
- _allowances[owner][spender] = amount (#1233)
Reentrancy in Token.transferFrom(address,address,uint256) (#1020-1035):
External calls:
- _transfer(sender,recipient,amount) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1026-1033)
- _allowances[owner][spender] = amount (#1233)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Token._transfer(address,address,uint256) (#1237-1313):
External calls:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1300)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Event emitted after the call(s):
- Transfer(sender,_burn,tBurn) (#1222)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
- Transfer(sender,recipient,tTransferAmount) (#1391)
- _tokenTransfer(from,to,amount,takeFee) (#1312)
Reentrancy in Token.constructor(string,string,address[3],uint256[3]) (#924-971):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#950-951)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#966-970)
Reentrancy in Token.swapAndLiquify(uint256) (#1315-1336):
External calls:
- swapTokensForEth(half) (#1327)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
- addLiquidity(otherHalf,newBalance) (#1333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1333)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1234)
- addLiquidity(otherHalf,newBalance) (#1333)
- SwapAndLiquify(half,newBalance,otherHalf) (#1335)
Reentrancy in Token.transferFrom(address,address,uint256) (#1020-1035):
External calls:
- _transfer(sender,recipient,amount) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1347-1353)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1025)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1361-1368)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1234)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1026-1033)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#517-525) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#522)
Token.setStartTimeForSwap() (#1137-1141) uses timestamp for comparisons
Dangerous comparisons:
- _startTimeForSwap == 0 (#1138)
Token._transfer(address,address,uint256) (#1237-1313) uses timestamp for comparisons
Dangerous comparisons:
- _startTimeForSwap == 0 && ! _isExcludedFromFee[from] && ! _isExcludedFromFee[to] (#1266-1268)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#276-287) uses assembly
- INLINE ASM (#283-285)
Address._functionCallWithValue(address,bytes,uint256,string) (#402-430) uses assembly
- INLINE ASM (#422-425)
Do not use evm assembly.

Additional information: link

Token.lockTheSwap() (#918-922) has costly operations inside a loop:
- inSwapAndLiquify = true (#919)
Token.lockTheSwap() (#918-922) has costly operations inside a loop:
- inSwapAndLiquify = false (#921)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _previousMarketFee = _marketFee (#1166)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _previousBurnFee = _burnFee (#1167)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _previousLiquidityFee = _liquidityFee (#1168)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _marketFee = 0 (#1170)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _burnFee = 0 (#1171)
Token.removeAllFee() (#1163-1173) has costly operations inside a loop:
- _liquidityFee = 0 (#1172)
Token.restoreAllFee() (#1175-1179) has costly operations inside a loop:
- _marketFee = _previousMarketFee (#1176)
Token.restoreAllFee() (#1175-1179) has costly operations inside a loop:
- _burnFee = _previousBurnFee (#1177)
Token.restoreAllFee() (#1175-1179) has costly operations inside a loop:
- _liquidityFee = _previousLiquidityFee (#1178)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#402-430) is never used and should be removed
Address.functionCall(address,bytes) (#337-342) is never used and should be removed
Address.functionCall(address,bytes,string) (#350-356) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#369-381) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#389-400) is never used and should be removed
Address.isContract(address) (#276-287) is never used and should be removed
Address.sendValue(address,uint256) (#305-317) is never used and should be removed
Context._msgData() (#249-252) is never used and should be removed
SafeMath.mod(uint256,uint256) (#218-220) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#234-241) is never used and should be removed
Remove unused functions.

Additional information: link

Token._previousMarketFee (#888) is set pre-construction with a non-constant function or state variable:
- _marketFee
Token._previousLiquidityFee (#890) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
Token._previousBurnFee (#892) is set pre-construction with a non-constant function or state variable:
- _burnFee
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) (#305-317):
- (success) = recipient.call{value: amount}() (#312)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#402-430):
- (success,returndata) = target.call{value: weiValue}(data) (#411-413)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#591) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#593) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#624) is not in mixedCase
Function IUniswapV2Router.WETH() (#670) is not in mixedCase
Parameter Token.setSwapAndLiquifyEnabled(bool)._enabled (#1128) is not in mixedCase
Parameter Token.calculateLiquidityFee(uint256)._amount (#1143) is not in mixedCase
Parameter Token.calculateMarketFee(uint256)._amount (#1151) is not in mixedCase
Parameter Token.calculateBurnFee(uint256)._amount (#1159) is not in mixedCase
Function Token._getValues(uint256) (#1188-1205) is not in mixedCase
Variable Token._marketFee (#887) is not in mixedCase
Variable Token._liquidityFee (#889) is not in mixedCase
Variable Token._burnFee (#891) is not in mixedCase
Variable Token._startTimeForSwap (#894) is not in mixedCase
Variable Token._maxTxAmount (#902) is not in mixedCase
Variable Token._maxHavAmount (#903) is not in mixedCase
Variable Token._burn (#906) is not in mixedCase
Variable Token._market (#907) is not in mixedCase
Variable Token._market2 (#908) is not in mixedCase
Variable Token._liquify (#909) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#250)" inContext (#244-253)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#675) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#676)
Prevent variables from having similar names.

Additional information: link

Token.slitherConstructorVariables() (#871-1396) uses literals with too many digits:
- _burn = 0x000000000000000000000000000000000000dEaD (#906)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Token.MAX (#880) is never used in Token (#871-1396)
Remove unused state variables.

Additional information: link

Token._burn (#906) should be constant
Token._decimals (#885) should be constant
Token._tTotal (#881) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#486-489)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#495-502)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#504-506)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#509-514)
unlock() should be declared external:
- Ownable.unlock() (#517-525)
name() should be declared external:
- Token.name() (#973-975)
symbol() should be declared external:
- Token.symbol() (#977-979)
decimals() should be declared external:
- Token.decimals() (#981-983)
totalSupply() should be declared external:
- Token.totalSupply() (#985-987)
transfer(address,uint256) should be declared external:
- Token.transfer(address,uint256) (#993-1000)
allowance(address,address) should be declared external:
- Token.allowance(address,address) (#1002-1009)
approve(address,uint256) should be declared external:
- Token.approve(address,uint256) (#1011-1018)
transferFrom(address,address,uint256) should be declared external:
- Token.transferFrom(address,address,uint256) (#1020-1035)
increaseAllowance(address,uint256) should be declared external:
- Token.increaseAllowance(address,uint256) (#1037-1048)
decreaseAllowance(address,uint256) should be declared external:
- Token.decreaseAllowance(address,uint256) (#1050-1064)
excludeFromFee(address) should be declared external:
- Token.excludeFromFee(address) (#1066-1068)
includeInFee(address) should be declared external:
- Token.includeInFee(address) (#1070-1072)
excludeMultiFromFee(address[],bool) should be declared external:
- Token.excludeMultiFromFee(address[],bool) (#1074-1081)
setMarketAddress(address,address) should be declared external:
- Token.setMarketAddress(address,address) (#1106-1109)
setLiquifyAddress(address) should be declared external:
- Token.setLiquifyAddress(address) (#1111-1113)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Token.setSwapAndLiquifyEnabled(bool) (#1128-1131)
setNumTokensSellToAddToLiquidity(uint256) should be declared external:
- Token.setNumTokensSellToAddToLiquidity(uint256) (#1133-1135)
isExcludedFromFee(address) should be declared external:
- Token.isExcludedFromFee(address) (#1181-1183)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


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.

Contract has 10% buy tax and 10% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts

Search:


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


Token is marked as risky (blacklisted creator, fake name, dead project, etc.)

Additional information: link

Anti-Scam Checks

Price for 🥟