A revolution of Loyalty Rewards ecosystem with blockchain technology.
XTRAToken.addLiquidity(uint256,uint256) (#788-801) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in XTRAToken._transfer(address,address,uint256) (#718-745):
External calls:
- swapAndLiquify(contractTokenBalance) (#740)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#779-785)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#740)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
State variables written after the call(s):
- _tokenTransfer(from,to,amount) (#744)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#668)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#844)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#853)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#845)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#612)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#864)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#865)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#855)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#614)
- _tokenTransfer(from,to,amount) (#744)
- _rTotal = _rTotal.sub(rFee) (#623)
- _tokenTransfer(from,to,amount) (#744)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#670)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#863)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#611)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#854)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#613)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
Address._functionCallWithValue(address,bytes,uint256,string) (#125-146) uses assembly
- INLINE ASM (#138-141)
Do not use evm assembly.
Additional information: link
SafeMath.mod(uint256,uint256,string) (#66-69) is never used and should be removed
Remove unused functions.
Additional information: link
XTRAToken.addLiquidity(uint256,uint256) (#788-801) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
Ensure that all the return values of the function calls are used.
Additional information: link
XTRAToken._approve(address,address,uint256).owner (#710) shadows:
- Ownable.owner() (#168-170) (function)
Rename the local variables that shadow another component.
Additional information: link
XTRAToken.setBurnFeePercent(uint256) (#895-897) should emit an event for:
- _burnFee = burnFee (#896)
Emit an event for critical parameter changes.
Additional information: link
XTRAToken.setcharityWallet(address).newWallet (#879) lacks a zero-check on :
- charityWallet = newWallet (#880)
Check that the address is not zero.
Additional information: link
Reentrancy in XTRAToken.transferFrom(address,address,uint256) (#536-540):
External calls:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#779-785)
External calls sending eth:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
- _allowances[owner][spender] = amount (#714)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in XTRAToken.transferFrom(address,address,uint256) (#536-540):
External calls:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#779-785)
External calls sending eth:
- _transfer(sender,recipient,amount) (#537)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#793-800)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#715)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#538)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#208-213) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now > _lockTime,Contract is locked until 7 days) (#210)
Avoid relying on block.timestamp.
Additional information: link
XTRAToken._previouscharityFee (#462) is set pre-construction with a non-constant function or state variable:
- _charityFee
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._functionCallWithValue(address,bytes,uint256,string) (#125-146):
- (success,returndata) = target.call{value: weiValue}(data) (#129)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable XTRAToken._charityFee (#460) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#78)" inContext (#72-81)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable XTRAToken._transferStandard(address,address,uint256).rTransferAmount (#843) is too similar to XTRAToken._getTValues(uint256).tTransferAmount (#636)
Prevent variables from having similar names.
Additional information: link
XTRAToken.slitherConstructorVariables() (#424-911) uses literals with too many digits:
- _tTotal = 1000000 * 10 ** 6 * 10 ** 9 (#439)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
XTRAToken.numTokensSellToAddToLiquidity (#470) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setSwapAndLiquifyEnabled(bool) should be declared external:
- XTRAToken.setSwapAndLiquifyEnabled(bool) (#905-908)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Discord account