Gyoza Coin Token Logo

Gyoza [Gyoza Coin] Token

ALERT: rug pull scam

About Gyoza

Listings

Not Found
Token 3 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 27 June 2022

report
Token seems to be a scam (type: rug pull scam).

Reentrancy in Gyoza._transfer(address,address,uint256) (#314-361):
External calls:
- swapAndSendToFee(sellTokens) (#353)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#353)
- address(marketingWallet).transfer(ethToSend) (#368)
State variables written after the call(s):
- _tOwned[to] += transferAmount (#359)
- swapping = false (#354)
Apply the check-effects-interactions pattern.

Additional information: link


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


Contract ownership is not renounced (belongs to a wallet)

Gyoza._transfer(address,address,uint256).takeFee (#331) 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

Gyoza.allowance(address,address).owner (#239) shadows:
- Ownable.owner() (#98-100) (function)
Gyoza._approve(address,address,uint256).owner (#286) shadows:
- Ownable.owner() (#98-100) (function)
Rename the local variables that shadow another component.

Additional information: link

Gyoza.setMaxTxPercent(uint256) (#304-307) should emit an event for:
- _maxTxAmount = _tTotal.mul(newMaxTxPercent).div(10 ** 2) (#306)
Gyoza.setMaxWalletPercent(uint256) (#309-312) should emit an event for:
- _maxWalletAmount = _tTotal.mul(newMaxWalletPercent).div(10 ** 2) (#311)
Emit an event for critical parameter changes.

Additional information: link

Reentrancy in Gyoza.constructor() (#192-212):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#202)
State variables written after the call(s):
- _isExcludedFromFee[msg.sender] = true (#207)
- _isExcludedFromFee[address(this)] = true (#208)
- _isExcludedFromFee[marketingWallet] = true (#209)
- uniswapV2Pair = _uniswapV2Pair (#205)
- uniswapV2Router = _uniswapV2Router (#204)
Reentrancy in Gyoza.swapAndLiquify() (#371-382):
External calls:
- newBalance = swapTokensForEth(half) (#375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
- addLiquidity(otherHalf,newBalance) (#379)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#405-412)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#379)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#405-412)
- address(marketingWallet).transfer(ethAmount - ethFromLiquidity) (#415)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#379)
- _allowances[owner][spender] = amount (#290)
Reentrancy in Gyoza.transferFrom(address,address,uint256) (#248-252):
External calls:
- _transfer(sender,recipient,amount) (#249)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
External calls sending eth:
- _transfer(sender,recipient,amount) (#249)
- address(marketingWallet).transfer(ethToSend) (#368)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#250)
- _allowances[owner][spender] = amount (#290)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Gyoza._transfer(address,address,uint256) (#314-361):
External calls:
- swapAndSendToFee(sellTokens) (#353)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
External calls sending eth:
- swapAndSendToFee(sellTokens) (#353)
- address(marketingWallet).transfer(ethToSend) (#368)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#360)
Reentrancy in Gyoza.constructor() (#192-212):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#202)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#211)
Reentrancy in Gyoza.swapAndLiquify() (#371-382):
External calls:
- newBalance = swapTokensForEth(half) (#375)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
- addLiquidity(otherHalf,newBalance) (#379)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#405-412)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#379)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#405-412)
- address(marketingWallet).transfer(ethAmount - ethFromLiquidity) (#415)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#291)
- addLiquidity(otherHalf,newBalance) (#379)
- SwapAndLiquify(half,newBalance,otherHalf) (#380)
Reentrancy in Gyoza.transferFrom(address,address,uint256) (#248-252):
External calls:
- _transfer(sender,recipient,amount) (#249)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#392-398)
External calls sending eth:
- _transfer(sender,recipient,amount) (#249)
- address(marketingWallet).transfer(ethToSend) (#368)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#291)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#250)
Apply the check-effects-interactions pattern.

Additional information: link

Gyoza._transfer(address,address,uint256) (#314-361) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_lastBuy[to] + _buyCooldown < block.timestamp,Must wait til after coooldown to buy) (#324)
Gyoza.addLiquidity(uint256,uint256) (#402-416) uses timestamp for comparisons
Dangerous comparisons:
- ethAmount - ethFromLiquidity > 0 (#414)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (#81-84) is never used and should be removed
Gyoza.addLiquidity(uint256,uint256) (#402-416) is never used and should be removed
Gyoza.swapAndLiquify() (#371-382) is never used and should be removed
SafeMath.add(uint256,uint256) (#25-30) is never used and should be removed
SafeMath.mod(uint256,uint256) (#66-68) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#70-73) is never used and should be removed
SafeMath.sub(uint256,uint256) (#32-34) is never used and should be removed
SafeMath.sub(uint256,uint256,string) (#36-41) is never used and should be removed
Remove unused functions.

Additional information: link

Function IUniswapV2Router02.WETH() (#127) is not in mixedCase
Constant Gyoza._name (#157) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Gyoza._symbol (#158) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Gyoza._decimals (#159) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Gyoza._maxWalletAmount (#162) is not in mixedCase
Variable Gyoza._maxTxAmount (#163) is not in mixedCase
Variable Gyoza._buyCooldown (#185) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#82)" inContext (#76-85)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Gyoza._transfer(address,address,uint256) (#314-361):
External calls:
- swapAndSendToFee(sellTokens) (#353)
- address(marketingWallet).transfer(ethToSend) (#368)
State variables written after the call(s):
- _tOwned[to] += transferAmount (#359)
- swapping = false (#354)
Event emitted after the call(s):
- Transfer(from,to,transferAmount) (#360)
Reentrancy in Gyoza.swapAndLiquify() (#371-382):
External calls:
- addLiquidity(otherHalf,newBalance) (#379)
- address(marketingWallet).transfer(ethAmount - ethFromLiquidity) (#415)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#379)
- (ethFromLiquidity) = uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityReceiver,block.timestamp) (#405-412)
- address(marketingWallet).transfer(ethAmount - ethFromLiquidity) (#415)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#380)
Reentrancy in Gyoza.transferFrom(address,address,uint256) (#248-252):
External calls:
- _transfer(sender,recipient,amount) (#249)
- address(marketingWallet).transfer(ethToSend) (#368)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#250)
- _allowances[owner][spender] = amount (#290)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#291)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#250)
Apply the check-effects-interactions pattern.

Additional information: link

Gyoza.slitherConstructorVariables() (#147-428) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** _decimals (#160)
Gyoza.slitherConstructorVariables() (#147-428) uses literals with too many digits:
- _maxWalletAmount = 2000000000 * 10 ** _decimals (#162)
Gyoza.slitherConstructorVariables() (#147-428) uses literals with too many digits:
- _maxTxAmount = 2000000000 * 10 ** _decimals (#163)
Gyoza.slitherConstructorVariables() (#147-428) uses literals with too many digits:
- swapTokenAtAmount = 100000000 * 10 ** _decimals (#164)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Gyoza._buyCooldown (#185) should be constant
Gyoza._tTotal (#160) should be constant
Gyoza.liquidityReceiver (#183) should be constant
Gyoza.marketingWallet (#182) should be constant
Gyoza.swapTokenAtAmount (#164) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

owner() should be declared external:
- Ownable.owner() (#98-100)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#107-110)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#112-116)
name() should be declared external:
- Gyoza.name() (#214-216)
symbol() should be declared external:
- Gyoza.symbol() (#218-220)
decimals() should be declared external:
- Gyoza.decimals() (#222-224)
totalSupply() should be declared external:
- Gyoza.totalSupply() (#226-228)
transfer(address,uint256) should be declared external:
- Gyoza.transfer(address,uint256) (#234-237)
allowance(address,address) should be declared external:
- Gyoza.allowance(address,address) (#239-241)
approve(address,uint256) should be declared external:
- Gyoza.approve(address,uint256) (#243-246)
transferFrom(address,address,uint256) should be declared external:
- Gyoza.transferFrom(address,address,uint256) (#248-252)
increaseAllowance(address,uint256) should be declared external:
- Gyoza.increaseAllowance(address,uint256) (#254-257)
decreaseAllowance(address,uint256) should be declared external:
- Gyoza.decreaseAllowance(address,uint256) (#259-262)
excludeFromFee(address) should be declared external:
- Gyoza.excludeFromFee(address) (#264-266)
includeInFee(address) should be declared external:
- Gyoza.includeInFee(address) (#268-270)
isExcludedFromFee(address) should be declared external:
- Gyoza.isExcludedFromFee(address) (#282-284)
setBuyFees(uint256,uint256) should be declared external:
- Gyoza.setBuyFees(uint256,uint256) (#294-297)
setSellFees(uint256,uint256) should be declared external:
- Gyoza.setSellFees(uint256,uint256) (#299-302)
setMaxTxPercent(uint256) should be declared external:
- Gyoza.setMaxTxPercent(uint256) (#304-307)
setMaxWalletPercent(uint256) should be declared external:
- Gyoza.setMaxWalletPercent(uint256) (#309-312)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 10% buy tax and 14% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


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.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find Telegram and Twitter accounts


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 Gyoza