A Decentralized Meme Token that Evolved into a Vibrant Ecosystem
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SHIBAPRO.airdrop(address) (#1063-1076) sends eth to arbitrary user
Dangerous calls:
- address(address(uint160(_refer))).transfer(referEth) (#1072)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SHIBAPRO._transfer(address,address,uint256) (#616-664):
External calls:
- swapTokens(contractTokenBalance) (#635)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
External calls sending eth:
- swapTokens(contractTokenBalance) (#635)
- recipient.transfer(amount) (#990)
State variables written after the call(s):
- removeAllFee() (#646)
- _liquidityFee = 0 (#878)
- _liquidityFee = _buyLiquidityFee (#648)
- removeAllFee() (#653)
- _liquidityFee = 0 (#878)
- _liquidityFee = _sellLiquidityFee (#655)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _liquidityFee = _previousLiquidityFee (#884)
- _liquidityFee = 0 (#878)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#846)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#771)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#782)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#792)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#773)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#783)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#760)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#761)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#762)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rTotal = _rTotal.sub(rFee) (#801)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#848)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#781)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#791)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#772)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#793)
Apply the check-effects-interactions pattern.
Additional information: link
SHIBAPRO.swapTokenForTokens(address,address,uint256) (#715-718) ignores return value by tokenC.transfer(account,amount) (#717)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + 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.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
Redundant expression "this (#39)" inContext (#32-42)
Remove redundant statements if they congest code but offer no value.
Additional information: link
SHIBAPRO.includeInReward(address) (#595-606) has costly operations inside a loop:
- _excluded.pop() (#602)
Use a local variable to hold the loop computation result.
Additional information: link
SHIBAPRO.swapTokens(uint256) (#666-675) performs a multiplication on the result of a division:
-marketingBnb = transferredBalance.div(_liquidityFee).mul(marketingDivisor) (#671)
SHIBAPRO.swapTokens(uint256) (#666-675) performs a multiplication on the result of a division:
-charityBnb = transferredBalance.div(_liquidityFee).mul(charityDivisor) (#672)
SHIBAPRO._transferStandard(address,address,uint256) (#753-767) performs a multiplication on the result of a division:
-tBurnAmount = tAmount.div(100).mul(_burnFee) (#756)
Consider ordering multiplication before division.
Additional information: link
SHIBAPRO.addLiquidity(uint256,uint256) (#720-733) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#725-732)
Ensure that all the return values of the function calls are used.
Additional information: link
SHIBAPRO.allowance(address,address).owner (#520) shadows:
- Ownable.owner() (#175-177) (function)
SHIBAPRO._approve(address,address,uint256).owner (#608) shadows:
- Ownable.owner() (#175-177) (function)
SHIBAPRO.increaseSpenderAllowance(address,address,uint256).owner (#851) shadows:
- Ownable.owner() (#175-177) (function)
Rename the local variables that shadow another component.
Additional information: link
SHIBAPRO.setTaxFeePercent(uint256) (#900-902) should emit an event for:
- _taxFee = taxFee (#901)
SHIBAPRO.setLiquidityFeePercent(uint256) (#904-906) should emit an event for:
- _liquidityFee = liquidityFee (#905)
SHIBAPRO.setBuyTaxFeePercent(uint256) (#908-910) should emit an event for:
- _buyTaxFee = buyTaxFee (#909)
SHIBAPRO.setBuyLiquidityFeePercent(uint256) (#912-914) should emit an event for:
- _buyLiquidityFee = buyLiquidityFee (#913)
SHIBAPRO.setSellTaxFeePercent(uint256) (#916-918) should emit an event for:
- _sellTaxFee = sellTaxFee (#917)
SHIBAPRO.setSellLiquidityFeePercent(uint256) (#920-922) should emit an event for:
- _sellLiquidityFee = sellLiquidityFee (#921)
SHIBAPRO.setBurnFeePercent(uint256) (#924-926) should emit an event for:
- _burnFee = burnTaxFee (#925)
SHIBAPRO.setMaxTxAmount(uint256) (#928-930) should emit an event for:
- _maxTxAmount = maxTxAmount (#929)
SHIBAPRO.setMarketingFeePercent(uint256) (#932-934) should emit an event for:
- marketingDivisor = divisor (#933)
SHIBAPRO.setCharityFeePercent(uint256) (#936-938) should emit an event for:
- charityDivisor = divisor (#937)
SHIBAPRO.setNumTokensSellToAddToLiquidity(uint256) (#940-942) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#941)
SHIBAPRO.setALLFeePercent(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256) (#944-954) should emit an event for:
- charityDivisor = charity (#945)
- marketingDivisor = marketting (#946)
- _burnFee = burnTaxFee (#947)
- _sellLiquidityFee = sellLiquidityFee (#948)
- _sellTaxFee = sellTaxFee (#949)
- _buyLiquidityFee = buyLiquidityFee (#950)
- _buyTaxFee = buyTaxFee (#951)
- _liquidityFee = liquidityFee (#952)
- _taxFee = taxFee (#953)
SHIBAPRO.set(uint8,uint256) (#1033-1061) should emit an event for:
- _referEth = value (#1041)
- _referToken = value (#1043)
- _airdropEth = value (#1045)
- _airdropToken = value (#1047)
- salePrice = value (#1051)
- _airdorpBnb = value (#1054)
- _buyBnb = value (#1056)
Emit an event for critical parameter changes.
Additional information: link
SHIBAPRO.setMarketingAddress(address)._marketingAddress (#956) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#957)
SHIBAPRO.setCharityAddress(address)._newaddress (#961) lacks a zero-check on :
- charityAddress = address(_newaddress) (#962)
Check that the address is not zero.
Additional information: link
Reentrancy in SHIBAPRO._transfer(address,address,uint256) (#616-664):
External calls:
- swapTokens(contractTokenBalance) (#635)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
External calls sending eth:
- swapTokens(contractTokenBalance) (#635)
- recipient.transfer(amount) (#990)
State variables written after the call(s):
- removeAllFee() (#646)
- _burnFee = 0 (#879)
- _burnFee = _previousBurnFee (#649)
- removeAllFee() (#653)
- _burnFee = 0 (#879)
- _burnFee = _previousBurnFee (#656)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _burnFee = _previousBurnFee (#885)
- _burnFee = 0 (#879)
- removeAllFee() (#646)
- _previousBurnFee = _burnFee (#876)
- removeAllFee() (#653)
- _previousBurnFee = _burnFee (#876)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousBurnFee = _burnFee (#876)
- removeAllFee() (#646)
- _previousLiquidityFee = _liquidityFee (#875)
- removeAllFee() (#653)
- _previousLiquidityFee = _liquidityFee (#875)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousLiquidityFee = _liquidityFee (#875)
- removeAllFee() (#646)
- _previousTaxFee = _taxFee (#874)
- removeAllFee() (#653)
- _previousTaxFee = _taxFee (#874)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousTaxFee = _taxFee (#874)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _tFeeTotal = _tFeeTotal.add(tFee) (#802)
- removeAllFee() (#646)
- _taxFee = 0 (#877)
- _taxFee = _buyTaxFee (#647)
- removeAllFee() (#653)
- _taxFee = 0 (#877)
- _taxFee = _sellTaxFee (#654)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _taxFee = _previousTaxFee (#883)
- _taxFee = 0 (#877)
Reentrancy in SHIBAPRO.constructor() (#482-492):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#486-487)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#489)
- _isExcludedFromFee[address(this)] = true (#490)
- uniswapV2Router = _uniswapV2Router (#488)
Reentrancy in SHIBAPRO.transferFrom(address,address,uint256) (#529-533):
External calls:
- _transfer(sender,recipient,amount) (#530)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
External calls sending eth:
- _transfer(sender,recipient,amount) (#530)
- recipient.transfer(amount) (#990)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#531)
- _allowances[owner][spender] = amount (#612)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SHIBAPRO._transfer(address,address,uint256) (#616-664):
External calls:
- swapTokens(contractTokenBalance) (#635)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
External calls sending eth:
- swapTokens(contractTokenBalance) (#635)
- recipient.transfer(amount) (#990)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#786)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#797)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#765)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,deadAddress,tBurnAmount) (#766)
- _tokenTransfer(from,to,amount,takeFee) (#663)
Reentrancy in SHIBAPRO.constructor() (#482-492):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#486-487)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#491)
Reentrancy in SHIBAPRO.swapETHForTokens(uint256) (#698-713):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#705-710)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (#712)
Reentrancy in SHIBAPRO.swapTokensForEth(uint256) (#678-696):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#695)
Reentrancy in SHIBAPRO.transferFrom(address,address,uint256) (#529-533):
External calls:
- _transfer(sender,recipient,amount) (#530)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#687-693)
External calls sending eth:
- _transfer(sender,recipient,amount) (#530)
- recipient.transfer(amount) (#990)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#613)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#531)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#210-215) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#212)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#105-114) uses assembly
- INLINE ASM (#112)
Address._functionCallWithValue(address,bytes,uint256,string) (#142-159) uses assembly
- INLINE ASM (#151-154)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#142-159) is never used and should be removed
Address.functionCall(address,bytes) (#125-127) is never used and should be removed
Address.functionCall(address,bytes,string) (#129-131) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#133-135) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#137-140) is never used and should be removed
Address.isContract(address) (#105-114) is never used and should be removed
Address.sendValue(address,uint256) (#116-122) is never used and should be removed
Context._msgData() (#38-41) is never used and should be removed
SHIBAPRO.addLiquidity(uint256,uint256) (#720-733) is never used and should be removed
SHIBAPRO.swapETHForTokens(uint256) (#698-713) is never used and should be removed
SafeMath.mod(uint256,uint256) (#93-95) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#97-100) is never used and should be removed
Remove unused functions.
Additional information: link
SHIBAPRO._rTotal (#434) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
SHIBAPRO._previousTaxFee (#443) is set pre-construction with a non-constant function or state variable:
- _taxFee
SHIBAPRO._previousLiquidityFee (#446) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
SHIBAPRO._buyTaxFee (#448) is set pre-construction with a non-constant function or state variable:
- _taxFee
SHIBAPRO._buyLiquidityFee (#449) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
SHIBAPRO._sellTaxFee (#451) is set pre-construction with a non-constant function or state variable:
- _taxFee
SHIBAPRO._sellLiquidityFee (#452) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
SHIBAPRO._previousBurnFee (#455) is set pre-construction with a non-constant function or state variable:
- _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
Pragma version^0.8.10 (#30) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.10 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.sendValue(address,uint256) (#116-122):
- (success) = recipient.call{value: amount}() (#120)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#142-159):
- (success,returndata) = target.call{value: weiValue}(data) (#145)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable Ownable._owner (#163) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#248) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#249) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#258) is not in mixedCase
Function IUniswapV2Router01.WETH() (#278) is not in mixedCase
Parameter SHIBAPRO.calculateTaxFee(uint256)._amount (#858) is not in mixedCase
Parameter SHIBAPRO.calculateLiquidityFee(uint256)._amount (#864) is not in mixedCase
Parameter SHIBAPRO.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#940) is not in mixedCase
Parameter SHIBAPRO.setMarketingAddress(address)._marketingAddress (#956) is not in mixedCase
Parameter SHIBAPRO.setCharityAddress(address)._newaddress (#961) is not in mixedCase
Parameter SHIBAPRO.setSwapAndLiquifyEnabled(bool)._enabled (#965) is not in mixedCase
Parameter SHIBAPRO.airdrop(address)._refer (#1063) is not in mixedCase
Parameter SHIBAPRO.buy(address)._refer (#1078) is not in mixedCase
Variable SHIBAPRO._taxFee (#442) is not in mixedCase
Variable SHIBAPRO._liquidityFee (#445) is not in mixedCase
Variable SHIBAPRO._buyTaxFee (#448) is not in mixedCase
Variable SHIBAPRO._buyLiquidityFee (#449) is not in mixedCase
Variable SHIBAPRO._sellTaxFee (#451) is not in mixedCase
Variable SHIBAPRO._sellLiquidityFee (#452) is not in mixedCase
Variable SHIBAPRO._burnFee (#454) is not in mixedCase
Variable SHIBAPRO._maxTxAmount (#461) is not in mixedCase
Variable SHIBAPRO._swAuth (#1011) is not in mixedCase
Modifier SHIBAPRO.OnlyOwner() (#472-475) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in SHIBAPRO._transfer(address,address,uint256) (#616-664):
External calls:
- swapTokens(contractTokenBalance) (#635)
- recipient.transfer(amount) (#990)
State variables written after the call(s):
- removeAllFee() (#646)
- _burnFee = 0 (#879)
- _burnFee = _previousBurnFee (#649)
- removeAllFee() (#653)
- _burnFee = 0 (#879)
- _burnFee = _previousBurnFee (#656)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _burnFee = _previousBurnFee (#885)
- _burnFee = 0 (#879)
- removeAllFee() (#646)
- _liquidityFee = 0 (#878)
- _liquidityFee = _buyLiquidityFee (#648)
- removeAllFee() (#653)
- _liquidityFee = 0 (#878)
- _liquidityFee = _sellLiquidityFee (#655)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _liquidityFee = _previousLiquidityFee (#884)
- _liquidityFee = 0 (#878)
- removeAllFee() (#646)
- _previousBurnFee = _burnFee (#876)
- removeAllFee() (#653)
- _previousBurnFee = _burnFee (#876)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousBurnFee = _burnFee (#876)
- removeAllFee() (#646)
- _previousLiquidityFee = _liquidityFee (#875)
- removeAllFee() (#653)
- _previousLiquidityFee = _liquidityFee (#875)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousLiquidityFee = _liquidityFee (#875)
- removeAllFee() (#646)
- _previousTaxFee = _taxFee (#874)
- removeAllFee() (#653)
- _previousTaxFee = _taxFee (#874)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _previousTaxFee = _taxFee (#874)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#846)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#771)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#782)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#792)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#773)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#783)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#794)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#760)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#761)
- _rOwned[deadAddress] = _rOwned[deadAddress].add(rBurnAmount) (#762)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _rTotal = _rTotal.sub(rFee) (#801)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _tFeeTotal = _tFeeTotal.add(tFee) (#802)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#848)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#781)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#791)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#772)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#793)
- removeAllFee() (#646)
- _taxFee = 0 (#877)
- _taxFee = _buyTaxFee (#647)
- removeAllFee() (#653)
- _taxFee = 0 (#877)
- _taxFee = _sellTaxFee (#654)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- _taxFee = _previousTaxFee (#883)
- _taxFee = 0 (#877)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#776)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#786)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#797)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,recipient,tTransferAmount) (#765)
- _tokenTransfer(from,to,amount,takeFee) (#663)
- Transfer(sender,deadAddress,tBurnAmount) (#766)
- _tokenTransfer(from,to,amount,takeFee) (#663)
Reentrancy in SHIBAPRO.transferFrom(address,address,uint256) (#529-533):
External calls:
- _transfer(sender,recipient,amount) (#530)
- recipient.transfer(amount) (#990)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#531)
- _allowances[owner][spender] = amount (#612)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#613)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#531)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#283) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#284)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO._transferStandard(address,address,uint256).rBurnAmount (#757) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tBurnAmount (#756)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._transferBothExcluded(address,address,uint256).rTransferAmount (#790) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._transferToExcluded(address,address,uint256).rTransferAmount (#770) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._transferStandard(address,address,uint256).tTransferAmount (#755)
Variable SHIBAPRO._getValues(uint256).rTransferAmount (#807) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._transferToExcluded(address,address,uint256).tTransferAmount (#770)
Variable SHIBAPRO._transferStandard(address,address,uint256).rTransferAmount (#755) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._getTValues(uint256).tTransferAmount (#814)
Variable SHIBAPRO.reflectionFromToken(uint256,bool).rTransferAmount (#574) is too similar to SHIBAPRO._transferBothExcluded(address,address,uint256).tTransferAmount (#790)
Variable SHIBAPRO._transferFromExcluded(address,address,uint256).rTransferAmount (#780) is too similar to SHIBAPRO._getValues(uint256).tTransferAmount (#806)
Variable SHIBAPRO._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#822) is too similar to SHIBAPRO._transferFromExcluded(address,address,uint256).tTransferAmount (#780)
Prevent variables from having similar names.
Additional information: link
SHIBAPRO.prepareForPreSale() (#971-977) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#976)
SHIBAPRO.afterPreSale() (#979-985) uses literals with too many digits:
- _maxTxAmount = 100000000000 * 10 ** 18 (#984)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#422)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 18 (#433)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- _maxTxAmount = 10000000000 * 10 ** 18 (#461)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- minimumTokensBeforeSwap = 10000000000 * 10 ** 18 (#462)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- _airdropEth = 2000000000000000 (#1014)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- _airdropToken = 900000000000000000000000000 (#1015)
SHIBAPRO.slitherConstructorVariables() (#415-1097) uses literals with too many digits:
- salePrice = 1000000000000 (#1023)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SHIBAPRO._auth (#1016) is never used in SHIBAPRO (#415-1097)
SHIBAPRO._auth2 (#1017) is never used in SHIBAPRO (#415-1097)
SHIBAPRO._authNum (#1018) is never used in SHIBAPRO (#415-1097)
Remove unused state variables.
Additional information: link
SHIBAPRO._auth (#1016) should be constant
SHIBAPRO._auth2 (#1017) should be constant
SHIBAPRO._authNum (#1018) should be constant
SHIBAPRO._decimals (#439) should be constant
SHIBAPRO._name (#437) should be constant
SHIBAPRO._symbol (#438) should be constant
SHIBAPRO._tTotal (#433) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#184-187)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#189-193)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#195-197)
getTime() should be declared external:
- Ownable.getTime() (#199-201)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#203-208)
unlock() should be declared external:
- Ownable.unlock() (#210-215)
name() should be declared external:
- SHIBAPRO.name() (#494-496)
symbol() should be declared external:
- SHIBAPRO.symbol() (#498-500)
decimals() should be declared external:
- SHIBAPRO.decimals() (#502-504)
totalSupply() should be declared external:
- SHIBAPRO.totalSupply() (#506-508)
transfer(address,uint256) should be declared external:
- SHIBAPRO.transfer(address,uint256) (#515-518)
allowance(address,address) should be declared external:
- SHIBAPRO.allowance(address,address) (#520-522)
approve(address,uint256) should be declared external:
- SHIBAPRO.approve(address,uint256) (#524-527)
transferFrom(address,address,uint256) should be declared external:
- SHIBAPRO.transferFrom(address,address,uint256) (#529-533)
increaseAllowance(address,uint256) should be declared external:
- SHIBAPRO.increaseAllowance(address,uint256) (#535-538)
decreaseAllowance(address,uint256) should be declared external:
- SHIBAPRO.decreaseAllowance(address,uint256) (#540-543)
isExcludedFromReward(address) should be declared external:
- SHIBAPRO.isExcludedFromReward(address) (#545-547)
totalFees() should be declared external:
- SHIBAPRO.totalFees() (#549-551)
minimumTokensBeforeSwapAmount() should be declared external:
- SHIBAPRO.minimumTokensBeforeSwapAmount() (#553-555)
deliver(uint256) should be declared external:
- SHIBAPRO.deliver(uint256) (#558-565)
reflectionFromToken(uint256,bool) should be declared external:
- SHIBAPRO.reflectionFromToken(uint256,bool) (#568-577)
excludeFromReward(address) should be declared external:
- SHIBAPRO.excludeFromReward(address) (#585-593)
swapTokenForTokens(address,address,uint256) should be declared external:
- SHIBAPRO.swapTokenForTokens(address,address,uint256) (#715-718)
increaseSpenderAllowance(address,address,uint256) should be declared external:
- SHIBAPRO.increaseSpenderAllowance(address,address,uint256) (#851-856)
isExcludedFromFee(address) should be declared external:
- SHIBAPRO.isExcludedFromFee(address) (#888-890)
excludeFromFee(address) should be declared external:
- SHIBAPRO.excludeFromFee(address) (#892-894)
includeInFee(address) should be declared external:
- SHIBAPRO.includeInFee(address) (#896-898)
recoverBalance(uint256) should be declared external:
- SHIBAPRO.recoverBalance(uint256) (#993-995)
doManualSwapTokens(uint256) should be declared external:
- SHIBAPRO.doManualSwapTokens(uint256) (#998-1001)
clearAllETH() should be declared external:
- SHIBAPRO.clearAllETH() (#1026-1029)
set(uint8,uint256) should be declared external:
- SHIBAPRO.set(uint8,uint256) (#1033-1061)
airdrop(address) should be declared external:
- SHIBAPRO.airdrop(address) (#1063-1076)
buy(address) should be declared external:
- SHIBAPRO.buy(address) (#1078-1094)
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 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Contract has 11% buy tax and 56% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Token is deployed only at one blockchain
Token has only one trading pair
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 is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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
Young tokens have high risks of price dump / death
Unable to find Telegram account
Last post in Twitter was more than 180 days ago
Twitter account has relatively few followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts