Wraith Token Logo

WRAITH Token

About WRAITH

Listings

Token 3 years
white paper

Revolutionizing Privacy throughout the Blockchain utilizing built in VPN and Mixing protocols.

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

WRAITH.addLiquidity(uint256,uint256) (#659-672) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in WRAITH.swapAndLiquify(uint256) (#599-637):
External calls:
- swapTokensForEth(half) (#611)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#648-654)
- addLiquidity(otherHalf,newBalance) (#613)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
- swapTokensForEth(forWallets) (#620)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#648-654)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#613)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
- transferToAddressETH(marketingWalletAddress,marketingShare) (#627)
- recipient.transfer(amount) (#848)
- transferToAddressETH(wraithCharityWalletAddress,wraithWalletShare) (#630)
- recipient.transfer(amount) (#848)
State variables written after the call(s):
- _tokenTransfer(address(this),deadAddress,forBurn,false) (#635)
- _totalTaxPercent = _prevTotalTaxPercent (#784)
- _totalTaxPercent = 0 (#780)
Apply the check-effects-interactions pattern.

Additional information: link

WRAITH._excluded (#410) is never initialized. It is used in:
- WRAITH._getCurrentSupply() (#752-762)
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


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.

WRAITH.swapAndLiquify(uint256) (#599-637) performs a multiplication on the result of a division:
-marketingShare = newBalance_scope_1.div(_marketingFee.add(_wraithCharityFee)).mul(_marketingFee) (#623)
Consider ordering multiplication before division.

Additional information: link

WRAITH.addLiquidity(uint256,uint256) (#659-672) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
Ensure that all the return values of the function calls are used.

Additional information: link

WRAITH._approve(address,address,uint256).owner (#561) shadows:
- Ownable.owner() (#152-154) (function)
Rename the local variables that shadow another component.

Additional information: link

WRAITH.setNumTokensBeforeSwap(uint256) (#812-814) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#813)
Emit an event for critical parameter changes.

Additional information: link

WRAITH.setWraithCharityWalletAddress(address).newAddress (#820) lacks a zero-check on :
- wraithCharityWalletAddress = address(newAddress) (#821)
Check that the address is not zero.

Additional information: link

Reentrancy in WRAITH.transferFrom(address,address,uint256) (#515-519):
External calls:
- _transfer(sender,recipient,amount) (#516)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#648-654)
External calls sending eth:
- _transfer(sender,recipient,amount) (#516)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#517)
- _allowances[owner][spender] = amount (#565)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in WRAITH.transferFrom(address,address,uint256) (#515-519):
External calls:
- _transfer(sender,recipient,amount) (#516)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#648-654)
External calls sending eth:
- _transfer(sender,recipient,amount) (#516)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#566)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#517)
Apply the check-effects-interactions pattern.

Additional information: link

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

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#119-136) uses assembly
- INLINE ASM (#128-131)
Do not use evm assembly.

Additional information: link

WRAITH.reflectionFromToken(uint256,bool) (#544-553) is never used and should be removed
Remove unused functions.

Additional information: link

WRAITH._rTotal (#414) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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.4 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) (#119-136):
- (success,returndata) = target.call{value: weiValue}(data) (#122)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable WRAITH._maxTxAmount (#428) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Reentrancy in WRAITH.transferFrom(address,address,uint256) (#515-519):
External calls:
- _transfer(sender,recipient,amount) (#516)
- recipient.transfer(amount) (#848)
External calls sending eth:
- _transfer(sender,recipient,amount) (#516)
- recipient.transfer(amount) (#848)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#664-671)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#517)
- _allowances[owner][spender] = amount (#565)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#566)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#517)
Apply the check-effects-interactions pattern.

Additional information: link

Variable WRAITH._transferStandard(address,address,uint256).rTransferAmount (#693) is too similar to WRAITH._getValues(uint256).tTransferAmount (#734)
Prevent variables from having similar names.

Additional information: link

WRAITH.slitherConstructorVariables() (#395-870) uses literals with too many digits:
- _maxTxAmount = 3000000 * 10 ** 6 * 10 ** 9 (#428)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

WRAITH.deadAddress (#402) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

changeRouterVersion(address) should be declared external:
- WRAITH.changeRouterVersion(address) (#851-865)
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 Youtube account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinMarketCap listing / rank


Token has a considerable age, but social accounts / website are missing or have few users


Token has a considerable age, but average PancakeSwap 30d trading volume is low


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for WRAITH