Advar Protocol Token Logo

ADVAR [Advar Protocol] Token

ALERT: unclassified scam

About ADVAR

Listings

Token 2 years

ADVAR Protocol (ADVAR) is an innovative ecosystem of decentralized finance tools and applications. ADVAR is here to maximize security in the crypto space by exposing scam crypto projects. Our utilities include ADVAR Swap, NFT Marketplace, ADVAR Multi-chain Contract Scanner, ADVAR token creator, ADVAR Bulk token sender, ADVAR Bet and Gaming platform and Contract auditing.

Social

Laser Scorebeta Last Audit: 30 November 2021

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

Anti-Scam

Links


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

Reentrancy in ADVAR._transfer(address,address,uint256) (#652-706):
External calls:
- swapTokens(contractTokenBalance) (#694)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- swapTokens(contractTokenBalance) (#694)
- recipient.transfer(amount) (#1089)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#705)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#952)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rStaking) (#973)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurn) (#961)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#826)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#848)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#827)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#897)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#873)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#850)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#874)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#899)
- _tokenTransfer(from,to,amount,takeFee) (#705)
- _rTotal = _rTotal.sub(rFee) (#907)
- _tokenTransfer(from,to,amount,takeFee) (#705)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#954)
- _tOwned[deadAddress] = _tOwned[deadAddress].add(tBurn) (#963)
- _tOwned[deadAddress] = _tOwned[deadAddress].add(tStaking) (#975)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#896)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#872)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#849)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#898)
Apply the check-effects-interactions pattern.

Additional information: link

ADVAR.addLiquidity(uint256,uint256) (#777-790) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
Ensure that all the return values of the function calls are used.

Additional information: link

ADVAR._approve(address,address,uint256).owner (#644) shadows:
- Ownable.owner() (#157-159) (function)
Rename the local variables that shadow another component.

Additional information: link

ADVAR.setMaxSell(uint256) (#1113-1115) should emit an event for:
- _maxSell = newAmount (#1114)
Emit an event for critical parameter changes.

Additional information: link

ADVAR.setStakingAddress(address)._address (#1062) lacks a zero-check on :
- stakingAddress = _address (#1063)
Check that the address is not zero.

Additional information: link

Reentrancy in ADVAR.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1089)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
- _allowances[owner][spender] = amount (#648)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ADVAR.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#749-755)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1089)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#649)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
Apply the check-effects-interactions pattern.

Additional information: link

Ownable.unlock() (#192-197) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#194)
Avoid relying on block.timestamp.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#124-141) uses assembly
- INLINE ASM (#133-136)
Do not use evm assembly.

Additional information: link

SafeMath.mod(uint256,uint256,string) (#79-82) is never used and should be removed
Remove unused functions.

Additional information: link

ADVAR._previousLiquidityFee (#467) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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

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

Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#124-141):
- (success,returndata) = target.call{value: weiValue}(data) (#127)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable ADVAR._maxTxAmount (#469) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#11)" inContext (#5-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in ADVAR.transferFrom(address,address,uint256) (#566-570):
External calls:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1089)
External calls sending eth:
- _transfer(sender,recipient,amount) (#567)
- recipient.transfer(amount) (#1089)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#782-789)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
- _allowances[owner][spender] = amount (#648)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#649)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#568)
Apply the check-effects-interactions pattern.

Additional information: link

Variable ADVAR._getValues(uint256).rTransferAmount (#913) is too similar to ADVAR._transferToExcluded(address,address,uint256).tTransferAmount (#834)
Prevent variables from having similar names.

Additional information: link

ADVAR.slitherConstructorVariables() (#411-1117) uses literals with too many digits:
- minimumTokensBeforeSwap = 1000000 * 10 ** 9 (#470)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

ADVAR.marketingAddress (#415) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

includeInFee(address) should be declared external:
- ADVAR.includeInFee(address) (#1034-1036)
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.


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.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for ADVAR