VizslaSwap Token Logo

VIZSLASWAP Token

ALERT: honeypot scam

About VIZSLASWAP

Listings

Not Found
Token 24 days

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 13 May 2022

report
Code:

VizslaSwap.addLiquidity(uint256,uint256) (#1433-1446) sends eth to arbitrary user
Dangerous calls:
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in VizslaSwap._transfer(address,address,uint256) (#1349-1381):
External calls:
- swapAndLiquify() (#1358)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
- swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1423-1429)
External calls sending eth:
- swapAndLiquify() (#1358)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1364)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,burnAddr,burnAmount) (#1377)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,address(this),liqAmount) (#1378)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,recipient,sendAmount) (#1379)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
Apply the check-effects-interactions pattern.

Additional information: link


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


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 ownership is semi-renounced (passed to a contract)

BEP20.constructor(string,string).name (#699) shadows:
- BEP20.name() (#715-717) (function)
- IBEP20.name() (#174) (function)
BEP20.constructor(string,string).symbol (#699) shadows:
- BEP20.symbol() (#729-731) (function)
- IBEP20.symbol() (#169) (function)
BEP20.allowance(address,address).owner (#768) shadows:
- Ownable.owner() (#119-121) (function)
BEP20._approve(address,address,uint256).owner (#942) shadows:
- Ownable.owner() (#119-121) (function)
VizslaSwap.swapAndLiquify().maxTransferAmount (#1386) shadows:
- VizslaSwap.maxTransferAmount() (#1451-1453) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in VizslaSwap.swapAndLiquify() (#1384-1411):
External calls:
- swapTokensForEth(half) (#1398)
- swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1423-1429)
- addLiquidity(otherHalf,newBalance) (#1407)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
External calls sending eth:
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
- addLiquidity(otherHalf,newBalance) (#1407)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1407)
- _allowances[owner][spender] = amount (#949)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in VizslaSwap._transfer(address,address,uint256) (#1349-1381):
External calls:
- swapAndLiquify() (#1358)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
- swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1423-1429)
External calls sending eth:
- swapAndLiquify() (#1358)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,recipient,sendAmount) (#1379)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,address(this),liqAmount) (#1378)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,burnAddr,burnAmount) (#1377)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,recipient,amount) (#1364)
Reentrancy in VizslaSwap.swapAndLiquify() (#1384-1411):
External calls:
- swapTokensForEth(half) (#1398)
- swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1423-1429)
- addLiquidity(otherHalf,newBalance) (#1407)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
External calls sending eth:
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
- addLiquidity(otherHalf,newBalance) (#1407)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#950)
- addLiquidity(otherHalf,newBalance) (#1407)
- SwapAndLiquify(half,newBalance,otherHalf) (#1409)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#484-493) uses assembly
- INLINE ASM (#491)
Address._verifyCallResult(bool,bytes,string) (#629-646) uses assembly
- INLINE ASM (#638-641)
Do not use evm assembly.

Additional information: link

VizslaSwap._transfer(address,address,uint256) (#1349-1381) compares to a boolean constant:
-swapAndLiquifyEnabled == true && _inSwapAndLiquify == false && address(swapRouter) != address(0) && swapPair != address(0) && sender != swapPair && sender != owner() (#1352-1357)
VizslaSwap.antiWhale(address,address,uint256) (#1303-1313) compares to a boolean constant:
-_excludedFromAntiWhale[sender] == false && _excludedFromAntiWhale[recipient] == false (#1306-1307)
Remove the equality to the boolean constant.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#629-646) is never used and should be removed
Address.functionCall(address,bytes) (#537-539) is never used and should be removed
Address.functionCall(address,bytes,string) (#547-549) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#562-564) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#572-579) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#611-613) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#621-627) is never used and should be removed
Address.functionStaticCall(address,bytes) (#587-589) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#597-603) is never used and should be removed
Address.isContract(address) (#484-493) is never used and should be removed
Address.sendValue(address,uint256) (#511-517) is never used and should be removed
BEP20._burn(address,uint256) (#920-926) is never used and should be removed
BEP20._burnFrom(address,uint256) (#959-966) is never used and should be removed
Context._msgData() (#83-86) is never used and should be removed
SafeBEP20._callOptionalReturn(IBEP20,bytes) (#51-61) is never used and should be removed
SafeBEP20.safeApprove(IBEP20,address,uint256) (#24-33) is never used and should be removed
SafeBEP20.safeDecreaseAllowance(IBEP20,address,uint256) (#40-43) is never used and should be removed
SafeBEP20.safeIncreaseAllowance(IBEP20,address,uint256) (#35-38) is never used and should be removed
SafeBEP20.safeTransfer(IBEP20,address,uint256) (#9-11) is never used and should be removed
SafeBEP20.safeTransferFrom(IBEP20,address,address,uint256) (#13-15) is never used and should be removed
SafeERC20._callOptionalReturn(IBEP20,bytes) (#1653-1664) is never used and should be removed
SafeERC20.safeApprove(IBEP20,address,uint256) (#1610-1624) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IBEP20,address,uint256) (#1635-1645) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IBEP20,address,uint256) (#1626-1633) is never used and should be removed
SafeERC20.safeTransfer(IBEP20,address,uint256) (#1586-1592) is never used and should be removed
SafeERC20.safeTransferFrom(IBEP20,address,address,uint256) (#1594-1601) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#436-439) is never used and should be removed
SafeMath.mod(uint256,uint256) (#398-401) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#456-459) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#270-274) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#306-309) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#316-319) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#291-299) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#281-284) is never used and should be removed
Remove unused functions.

Additional information: link

VizslaSwap.liqFee (#1241) is set pre-construction with a non-constant function or state variable:
- 100 - 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) (#511-517):
- (success) = recipient.call{value: amount}() (#515)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#572-579):
- (success,returndata) = target.call{value: value}(data) (#577)
Low level call in Address.functionStaticCall(address,bytes,string) (#597-603):
- (success,returndata) = target.staticcall(data) (#601)
Low level call in Address.functionDelegateCall(address,bytes,string) (#621-627):
- (success,returndata) = target.delegatecall(data) (#625)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Router01.WETH() (#971) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1119) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1120) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1137) is not in mixedCase
Parameter VizslaSwap.mint(address,uint256)._to (#1344) is not in mixedCase
Parameter VizslaSwap.mint(address,uint256)._amount (#1344) is not in mixedCase
Parameter VizslaSwap.isExcludedFromAntiWhale(address)._account (#1458) is not in mixedCase
Parameter VizslaSwap.updateTransferTaxRate(uint16)._transferTaxRate (#1469) is not in mixedCase
Parameter VizslaSwap.updateBurnFee(uint16)._burnFee (#1479) is not in mixedCase
Parameter VizslaSwap.updateMaxTransferAmountRate(uint16)._maxTransferAmountRate (#1489) is not in mixedCase
Parameter VizslaSwap.updateMinAmountToLiquify(uint256)._minAmount (#1500) is not in mixedCase
Parameter VizslaSwap.setExcludedFromAntiWhale(address,bool)._account (#1509) is not in mixedCase
Parameter VizslaSwap.setExcludedFromAntiWhale(address,bool)._excluded (#1509) is not in mixedCase
Parameter VizslaSwap.updateSwapAndLiquifyEnabled(bool)._enabled (#1518) is not in mixedCase
Parameter VizslaSwap.updateSwapRouter(address)._router (#1527) is not in mixedCase
Parameter VizslaSwap.setNoTaxSenderAddr(address,bool)._noTaxSenderAddr (#1540) is not in mixedCase
Parameter VizslaSwap.setNoTaxSenderAddr(address,bool)._value (#1540) is not in mixedCase
Parameter VizslaSwap.setNoTaxRecipientAddr(address,bool)._noTaxRecipientAddr (#1545) is not in mixedCase
Parameter VizslaSwap.setNoTaxRecipientAddr(address,bool)._value (#1545) is not in mixedCase
Constant VizslaSwap.maxTaxRate (#1244) is not in UPPER_CASE_WITH_UNDERSCORES
Constant VizslaSwap.feeAddr (#1247) is not in UPPER_CASE_WITH_UNDERSCORES
Constant VizslaSwap.burnAddr (#1250) is not in UPPER_CASE_WITH_UNDERSCORES
Constant VizslaSwap.lpEarner (#1283) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#84)" inContext (#78-87)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in VizslaSwap._transfer(address,address,uint256) (#1349-1381):
External calls:
- swapAndLiquify() (#1358)
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
External calls sending eth:
- swapAndLiquify() (#1358)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
State variables written after the call(s):
- super._transfer(sender,recipient,amount) (#1364)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,burnAddr,burnAmount) (#1377)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,address(this),liqAmount) (#1378)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
- super._transfer(sender,recipient,sendAmount) (#1379)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#885)
- _balances[recipient] = _balances[recipient].add(amount) (#886)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,recipient,sendAmount) (#1379)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,recipient,amount) (#1364)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,address(this),liqAmount) (#1378)
- Transfer(sender,recipient,amount) (#887)
- super._transfer(sender,burnAddr,burnAmount) (#1377)
Reentrancy in VizslaSwap.swapAndLiquify() (#1384-1411):
External calls:
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
External calls sending eth:
- feeAddr.transfer(address(this).balance.mul(20).div(100)) (#1401)
- addLiquidity(otherHalf,newBalance) (#1407)
- swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1407)
- _allowances[owner][spender] = amount (#949)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#950)
- addLiquidity(otherHalf,newBalance) (#1407)
- SwapAndLiquify(half,newBalance,otherHalf) (#1409)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#976) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#977)
Prevent variables from having similar names.

Additional information: link

VizslaSwap.slitherConstructorConstantVariables() (#1232-1570) uses literals with too many digits:
- MAXSUPPLY = 5000000000000000000000000000000000 (#688)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

VizslaSwap._transfer(address,address,uint256) (#1349-1381) performs a multiplication on the result of a division:
-taxAmount = amount.mul(transferTaxRate).div(10000) (#1368)
-burnAmount = taxAmount.mul(burnFee).div(100) (#1369)
VizslaSwap.swapAndLiquify() (#1384-1411) performs a multiplication on the result of a division:
-half = liquifyAmount.div(2) (#1394)
-otherHalf = liquifyAmount.sub(half.mul(80).div(100)) (#1395)
Consider ordering multiplication before division.

Additional information: link

VizslaSwap.addLiquidity(uint256,uint256) (#1433-1446) ignores return value by swapRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,lpEarner,block.timestamp) (#1438-1445)
Ensure that all the return values of the function calls are used.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#138-141)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#147-151)
name() should be declared external:
- BEP20.name() (#715-717)
decimals() should be declared external:
- BEP20.decimals() (#722-724)
symbol() should be declared external:
- BEP20.symbol() (#729-731)
maxSupply() should be declared external:
- BEP20.maxSupply() (#740-742)
transfer(address,uint256) should be declared external:
- BEP20.transfer(address,uint256) (#760-763)
allowance(address,address) should be declared external:
- BEP20.allowance(address,address) (#768-770)
approve(address,uint256) should be declared external:
- BEP20.approve(address,uint256) (#779-782)
transferFrom(address,address,uint256) should be declared external:
- BEP20.transferFrom(address,address,uint256) (#796-808)
increaseAllowance(address,uint256) should be declared external:
- BEP20.increaseAllowance(address,uint256) (#822-825)
decreaseAllowance(address,uint256) should be declared external:
- BEP20.decreaseAllowance(address,uint256) (#841-848)
mint(uint256) should be declared external:
- BEP20.mint(uint256) (#858-861)
mint(address,uint256) should be declared external:
- VizslaSwap.mint(address,uint256) (#1344-1346)
isExcludedFromAntiWhale(address) should be declared external:
- VizslaSwap.isExcludedFromAntiWhale(address) (#1458-1460)
updateTransferTaxRate(uint16) should be declared external:
- VizslaSwap.updateTransferTaxRate(uint16) (#1469-1473)
updateBurnFee(uint16) should be declared external:
- VizslaSwap.updateBurnFee(uint16) (#1479-1483)
updateMaxTransferAmountRate(uint16) should be declared external:
- VizslaSwap.updateMaxTransferAmountRate(uint16) (#1489-1494)
updateMinAmountToLiquify(uint256) should be declared external:
- VizslaSwap.updateMinAmountToLiquify(uint256) (#1500-1503)
setExcludedFromAntiWhale(address,bool) should be declared external:
- VizslaSwap.setExcludedFromAntiWhale(address,bool) (#1509-1512)
updateSwapAndLiquifyEnabled(bool) should be declared external:
- VizslaSwap.updateSwapAndLiquifyEnabled(bool) (#1518-1521)
updateSwapRouter(address) should be declared external:
- VizslaSwap.updateSwapRouter(address) (#1527-1533)
operator() should be declared external:
- VizslaSwap.operator() (#1555-1557)
transferOperator(address) should be declared external:
- VizslaSwap.transferOperator(address) (#1564-1568)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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

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


Average 30d PancakeSwap liquidity is low.


Average 30d PancakeSwap volume is low.


Average 30d number of PancakeSwap swaps is low.


Token is deployed only at one blockchain


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

Anti-Scam Checks

Price for VIZSLASWAP