Solidray is a utility token that is built on the Binance Smart Chain (BSC) and the governance token for the solid ecosystem.
Solidray is the company behind SolidCord, a decentralized social media platform dedicated to Blockchain & Cryptocurrency Enthusiasts and Investors.
This platform will be the one-stop shop for discussions, forums, AMAs, new project listings, education, blockchain and crypto-based career opportunities as well as services like Crypto Swaps and Network Bridges.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in SOLIDRAY._transfer(address,address,uint256) (#775-839):
External calls:
- swapAndLiquify(contractTokenBalance) (#828)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#828)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _liquidityFee = _previousLiquidityFee (#757)
- _liquidityFee = 0 (#750)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _marketingFee = _previousMarketingFee (#758)
- _marketingFee = 0 (#751)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#711)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#943)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#953)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#965)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#944)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#604)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#955)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#966)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#606)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _rTotal = _rTotal.sub(rFee) (#665)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#713)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#603)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#964)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#954)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#605)
Apply the check-effects-interactions pattern.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Redundant expression "this (#71)" inContext (#65-74)
Remove redundant statements if they congest code but offer no value.
Additional information: link
SOLIDRAY.includeInReward(address) (#589-600) has costly operations inside a loop:
- _excluded.pop() (#596)
Use a local variable to hold the loop computation result.
Additional information: link
SOLIDRAY.swapAndLiquify(uint256) (#845-873) performs a multiplication on the result of a division:
-__splitMarketing = 100 / _marketingFee * _marketingFee (#854)
Consider ordering multiplication before division.
Additional information: link
SOLIDRAY.manageBlacklist(address[],bool).i (#522) 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
SOLIDRAY.addLiquidity(uint256,uint256) (#890-900) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
Ensure that all the return values of the function calls are used.
Additional information: link
SOLIDRAY.allowance(address,address).owner (#488) shadows:
- Ownable.owner() (#156-158) (function)
SOLIDRAY._approve(address,address,uint256).owner (#767) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.
Additional information: link
SOLIDRAY.feeSetLiquidity(uint256) (#629-631) should emit an event for:
- _liquidityFee = liquidityFee (#630)
SOLIDRAY.setMaxTxPercent(uint256) (#645-649) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#646-648)
SOLIDRAY.cooldownEnabled(bool,uint256) (#528-531) should emit an event for:
- cooldownTimerInterval = _interval (#530)
SOLIDRAY.feeSetUtilityDevelopment(uint256) (#637-639) should emit an event for:
- _utilityDevelopmentFee = utilityDevelopmentFee (#638)
SOLIDRAY.feeSetMarketing(uint256) (#633-635) should emit an event for:
- _marketingFee = marketingFee (#634)
SOLIDRAY.feeSetReflect(uint256) (#624-626) should emit an event for:
- _reflectionFee = reflectionFee (#625)
SOLIDRAY.setMaxHoldPercent(uint256) (#651-655) should emit an event for:
- _maxWalletToken = _tTotal.mul(maxWallPercent).div(10 ** 2) (#652-654)
SOLIDRAY.setNumTokensToLiquidity(uint256) (#620-622) should emit an event for:
- _numTokensSellToAddToLiquidity = numTokensSellToAddToLiquidity (#621)
SOLIDRAY.feeSetDev(uint256) (#641-643) should emit an event for:
- _devFee = devFee (#642)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- swapTokensForEth(__tokensToMarketing) (#858)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- swapTokensForEth(firstHalf) (#868)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- addLiquidity(secondHalf,swappedLP) (#870)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
External calls sending eth:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
- addLiquidity(secondHalf,swappedLP) (#870)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- addLiquidity(secondHalf,swappedLP) (#870)
- _allowances[owner][spender] = amount (#771)
Reentrancy in SOLIDRAY._transfer(address,address,uint256) (#775-839):
External calls:
- swapAndLiquify(contractTokenBalance) (#828)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#828)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _devFee = _previousDevFee (#759)
- _devFee = 0 (#752)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousDevFee = _devFee (#747)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousLiquidityFee = _liquidityFee (#745)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousMarketingFee = _marketingFee (#746)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousReflectionFee = _reflectionFee (#744)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _reflectionFee = _previousReflectionFee (#756)
- _reflectionFee = 0 (#749)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _tFeeTotal = _tFeeTotal.add(tFee) (#666)
Reentrancy in SOLIDRAY.transferFrom(address,address,uint256) (#497-501):
External calls:
- _transfer(sender,recipient,amount) (#498)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- _transfer(sender,recipient,amount) (#498)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#499)
- _allowances[owner][spender] = amount (#771)
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- swapTokensForEth(__tokensToMarketing) (#858)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- swapTokensForEth(firstHalf) (#868)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
State variables written after the call(s):
- swapTokensForEth(firstHalf) (#868)
- _allowances[owner][spender] = amount (#771)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SOLIDRAY.transferFrom(address,address,uint256) (#497-501):
External calls:
- _transfer(sender,recipient,amount) (#498)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- _transfer(sender,recipient,amount) (#498)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#499)
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- swapTokensForEth(__tokensToMarketing) (#858)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- swapTokensForEth(firstHalf) (#868)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- swapTokensForEth(firstHalf) (#868)
Reentrancy in SOLIDRAY._transfer(address,address,uint256) (#775-839):
External calls:
- swapAndLiquify(contractTokenBalance) (#828)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#828)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#947)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#958)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#969)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#609)
- _tokenTransfer(from,to,amount,takeFee) (#838)
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- swapTokensForEth(__tokensToMarketing) (#858)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- swapTokensForEth(firstHalf) (#868)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#881-887)
- addLiquidity(secondHalf,swappedLP) (#870)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
External calls sending eth:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
- addLiquidity(secondHalf,swappedLP) (#870)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- addLiquidity(secondHalf,swappedLP) (#870)
- SwapAndLiquify(firstHalf,swappedLP,secondHalf) (#871)
Apply the check-effects-interactions pattern.
Additional information: link
SOLIDRAY._transfer(address,address,uint256) (#775-839) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[to] < block.timestamp,Please wait for cooldown between buys) (#808)
Avoid relying on block.timestamp.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#130-143) uses assembly
- INLINE ASM (#135-138)
Address.isContract(address) (#79-83) uses assembly
- INLINE ASM (#81)
Do not use evm assembly.
Additional information: link
Address.sendValue(address,uint256) (#85-89) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#99-101) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#124-128) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#103-108) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#54-59) is never used and should be removed
Context._msgData() (#70-73) is never used and should be removed
Address.functionStaticCall(address,bytes) (#110-112) is never used and should be removed
SOLIDRAY.calculateMarketingFee(uint256) (#729-733) is never used and should be removed
SOLIDRAY.calculateDevFee(uint256) (#735-739) is never used and should be removed
Address._verifyCallResult(bool,bytes,string) (#130-143) is never used and should be removed
Address.isContract(address) (#79-83) is never used and should be removed
Address.functionCall(address,bytes,string) (#95-97) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#114-118) is never used and should be removed
Address.functionCall(address,bytes) (#91-93) is never used and should be removed
Remove unused functions.
Additional information: link
SOLIDRAY._maxWalletToken (#408) is set pre-construction with a non-constant function or state variable:
- _tTotal * 100 / 100
SOLIDRAY._previousDevFee (#405) is set pre-construction with a non-constant function or state variable:
- _devFee
SOLIDRAY._previousReflectionFee (#393) is set pre-construction with a non-constant function or state variable:
- _reflectionFee
SOLIDRAY._numTokensSellToAddToLiquidity (#430) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 10000
SOLIDRAY._previousLiquidityFee (#396) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
SOLIDRAY._rTotal (#386) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
SOLIDRAY._previousUtilityDevelopmentFee (#402) is set pre-construction with a non-constant function or state variable:
- _utilityDevelopmentFee
SOLIDRAY._previousMarketingFee (#399) is set pre-construction with a non-constant function or state variable:
- _marketingFee
SOLIDRAY._tTotal (#385) is set pre-construction with a non-constant function or state variable:
- 10 * 10 ** 9 * 10 ** _decimals
SOLIDRAY._maxTxAmount (#416) is set pre-construction with a non-constant function or state variable:
- _tTotal * 1 / 100
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) (#85-89):
- (success) = recipient.call{value: amount}() (#87)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#103-108):
- (success,returndata) = target.call{value: value}(data) (#106)
Low level call in Address.functionDelegateCall(address,bytes,string) (#124-128):
- (success,returndata) = target.delegatecall(data) (#126)
Low level call in Address.functionStaticCall(address,bytes,string) (#114-118):
- (success,returndata) = target.staticcall(data) (#116)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable SOLIDRAY._numTokensSellToAddToLiquidity (#430) is not in mixedCase
Variable SOLIDRAY._marketingFee (#398) is not in mixedCase
Parameter SOLIDRAY.cooldownEnabled(bool,uint256)._interval (#528) is not in mixedCase
Parameter SOLIDRAY.calculateLiquidityFee(uint256)._amount (#723) is not in mixedCase
Variable SOLIDRAY._maxTxAmount (#416) is not in mixedCase
Parameter SOLIDRAY.cooldownEnabled(bool,uint256)._status (#528) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#203) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#217) is not in mixedCase
Variable SOLIDRAY._devFee (#404) is not in mixedCase
Variable SOLIDRAY._reflectionFee (#392) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#202) is not in mixedCase
Parameter SOLIDRAY.calculateMarketingFee(uint256)._amount (#729) is not in mixedCase
Variable SOLIDRAY._liquidityFee (#395) is not in mixedCase
Parameter SOLIDRAY.setSwapAndLiquifyEnabled(bool)._enabled (#657) is not in mixedCase
Function SOLIDRAY.process_TokensFromContract(uint256) (#903-910) is not in mixedCase
Parameter SOLIDRAY.calculateDevFee(uint256)._amount (#735) is not in mixedCase
Variable SOLIDRAY._isBlacklisted (#419) is not in mixedCase
Function SOLIDRAY.process_BNBFromContract(uint256) (#912-918) is not in mixedCase
Parameter SOLIDRAY.tradingStatus(bool)._status (#534) is not in mixedCase
Variable SOLIDRAY._maxWalletToken (#408) is not in mixedCase
Function IUniswapV2Router01.WETH() (#235) is not in mixedCase
Parameter SOLIDRAY.calculateReflectionFee(uint256)._amount (#716) is not in mixedCase
Variable SOLIDRAY._utilityDevelopmentFee (#401) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
External calls sending eth:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
- addLiquidity(secondHalf,swappedLP) (#870)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- addLiquidity(secondHalf,swappedLP) (#870)
- _allowances[owner][spender] = amount (#771)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- addLiquidity(secondHalf,swappedLP) (#870)
- SwapAndLiquify(firstHalf,swappedLP,secondHalf) (#871)
Reentrancy in SOLIDRAY.swapAndLiquify(uint256) (#845-873):
External calls:
- sendToMarketingWallet(balanceToSendMarketing) (#860)
- _marketingWalletAddress.transfer(amount) (#842)
State variables written after the call(s):
- swapTokensForEth(firstHalf) (#868)
- _allowances[owner][spender] = amount (#771)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- swapTokensForEth(firstHalf) (#868)
Reentrancy in SOLIDRAY._transfer(address,address,uint256) (#775-839):
External calls:
- swapAndLiquify(contractTokenBalance) (#828)
- _marketingWalletAddress.transfer(amount) (#842)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#828)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _devFee = _previousDevFee (#759)
- _devFee = 0 (#752)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _liquidityFee = _previousLiquidityFee (#757)
- _liquidityFee = 0 (#750)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _marketingFee = _previousMarketingFee (#758)
- _marketingFee = 0 (#751)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousDevFee = _devFee (#747)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousLiquidityFee = _liquidityFee (#745)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousMarketingFee = _marketingFee (#746)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _previousReflectionFee = _reflectionFee (#744)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#711)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#943)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#953)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#965)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#944)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#604)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#955)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#966)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#606)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _rTotal = _rTotal.sub(rFee) (#665)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _reflectionFee = _previousReflectionFee (#756)
- _reflectionFee = 0 (#749)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _tFeeTotal = _tFeeTotal.add(tFee) (#666)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#713)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#603)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#964)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#954)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#605)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#947)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#958)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#969)
- _tokenTransfer(from,to,amount,takeFee) (#838)
- Transfer(sender,recipient,tTransferAmount) (#609)
- _tokenTransfer(from,to,amount,takeFee) (#838)
Reentrancy in SOLIDRAY.transferFrom(address,address,uint256) (#497-501):
External calls:
- _transfer(sender,recipient,amount) (#498)
- _marketingWalletAddress.transfer(amount) (#842)
External calls sending eth:
- _transfer(sender,recipient,amount) (#498)
- _marketingWalletAddress.transfer(amount) (#842)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#892-899)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#499)
- _allowances[owner][spender] = amount (#771)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#772)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#499)
Apply the check-effects-interactions pattern.
Additional information: link
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY._getValues(uint256).rTransferAmount (#672) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#239) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#240)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._transferBothExcluded(address,address,uint256).rTransferAmount (#602) is too similar to SOLIDRAY._transferStandard(address,address,uint256).tTransferAmount (#941)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._transferBothExcluded(address,address,uint256).tTransferAmount (#602)
Variable SOLIDRAY.reflectionFromToken(uint256,bool).rTransferAmount (#569) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._getTValues(uint256).tTransferAmount (#679)
Variable SOLIDRAY._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#687) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._transferStandard(address,address,uint256).rTransferAmount (#941) is too similar to SOLIDRAY._getValues(uint256).tTransferAmount (#671)
Variable SOLIDRAY._transferFromExcluded(address,address,uint256).rTransferAmount (#962) is too similar to SOLIDRAY._transferToExcluded(address,address,uint256).tTransferAmount (#951)
Variable SOLIDRAY._transferToExcluded(address,address,uint256).rTransferAmount (#951) is too similar to SOLIDRAY._transferFromExcluded(address,address,uint256).tTransferAmount (#962)
Prevent variables from having similar names.
Additional information: link
SOLIDRAY._transfer(address,address,uint256) (#775-839) uses literals with too many digits:
- from == uniswapV2Pair && buyCooldownEnabled && ! _isExcludedFromFee[to] && to != address(this) && to != address(0x000000000000000000000000000000000000dEaD) (#803-807)
SOLIDRAY.constructor() (#446-460) uses literals with too many digits:
- _isExcludedFromFee[address(0x000000000000000000000000000000000000dEaD)] = true (#455)
SOLIDRAY._transfer(address,address,uint256) (#775-839) uses literals with too many digits:
- to != owner() && to != address(this) && to != address(0x000000000000000000000000000000000000dEaD) && to != uniswapV2Pair && to != _marketingWalletAddress (#782)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SOLIDRAY._utilityDevelopmentWallet (#380) is never used in SOLIDRAY (#367-973)
SOLIDRAY._devWalletAddress (#381) is never used in SOLIDRAY (#367-973)
SOLIDRAY._previousUtilityDevelopmentFee (#402) is never used in SOLIDRAY (#367-973)
Remove unused state variables.
Additional information: link
SOLIDRAY._name (#388) should be constant
SOLIDRAY._decimals (#384) should be constant
SOLIDRAY._symbol (#389) should be constant
SOLIDRAY._utilityDevelopmentWallet (#380) should be constant
SOLIDRAY._marketingWalletAddress (#379) should be constant
SOLIDRAY._devWalletAddress (#381) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
symbol() should be declared external:
- SOLIDRAY.symbol() (#466-468)
reflectionFromToken(uint256,bool) should be declared external:
- SOLIDRAY.reflectionFromToken(uint256,bool) (#563-572)
deliver(uint256) should be declared external:
- SOLIDRAY.deliver(uint256) (#554-561)
approve(address,uint256) should be declared external:
- SOLIDRAY.approve(address,uint256) (#492-495)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#165-168)
allowance(address,address) should be declared external:
- SOLIDRAY.allowance(address,address) (#488-490)
isExcludedFromReward(address) should be declared external:
- SOLIDRAY.isExcludedFromReward(address) (#513-515)
excludeFromFee(address) should be declared external:
- SOLIDRAY.excludeFromFee(address) (#612-614)
decreaseAllowance(address,uint256) should be declared external:
- SOLIDRAY.decreaseAllowance(address,uint256) (#508-511)
transfer(address,uint256) should be declared external:
- SOLIDRAY.transfer(address,uint256) (#483-486)
totalSupply() should be declared external:
- SOLIDRAY.totalSupply() (#474-476)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#171-175)
totalFees() should be declared external:
- SOLIDRAY.totalFees() (#517-519)
excludeFromReward(address) should be declared external:
- SOLIDRAY.excludeFromReward(address) (#580-587)
isExcludedFromFee(address) should be declared external:
- SOLIDRAY.isExcludedFromFee(address) (#763-765)
decimals() should be declared external:
- SOLIDRAY.decimals() (#470-472)
name() should be declared external:
- SOLIDRAY.name() (#462-464)
includeInFee(address) should be declared external:
- SOLIDRAY.includeInFee(address) (#616-618)
setSwapAndLiquifyEnabled(bool) should be declared external:
- SOLIDRAY.setSwapAndLiquifyEnabled(bool) (#657-660)
increaseAllowance(address,uint256) should be declared external:
- SOLIDRAY.increaseAllowance(address,uint256) (#503-506)
transferFrom(address,address,uint256) should be declared external:
- SOLIDRAY.transferFrom(address,address,uint256) (#497-501)
Use the external attribute for functions never called from the contract.
Additional information: link
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 number of swaps.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find website, listings and other project-related information
Token has a considerable age, but we're still unable to find its website
Token has no active CoinGecko listing / rank
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
Twitter account link seems to be invalid
Unable to find Youtube account