PumpShibaX will release its Play to Earn (P2E) blockchain game, allowing users to earn rewards, purchase non-fungible tokens (NFTs) to use within the game
In order to expand the PumpShibaX ecosystem, a decentralized application (dApp) will be enhanced to implement in-app betting.
PumpShibaX has watched his elders soar to amazing heights and he is now ready for his own moonshot and to surpass his father, Shiba !
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PumpShibaX.swapBack() (#1026-1066) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
PumpShibaX.addLiquidity(uint256,uint256) (#1082-1092) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PumpShibaX._transfer(address,address,uint256) (#950-1024):
External calls:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
External calls sending eth:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _buyBackTokensToSwap += tLiquidity * _buyBuybackFee / _liquidityFee (#1296)
- _buyBackTokensToSwap += tLiquidity * _sellBuybackFee / _liquidityFee (#1300)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _liquidityTokensToSwap += tLiquidity * _buyLiquidityFee / _liquidityFee (#1295)
- _liquidityTokensToSwap += tLiquidity * _sellLiquidityFee / _liquidityFee (#1299)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _marketingTokensToSwap += tLiquidity * _buyMarketingFee / _liquidityFee (#1297)
- _marketingTokensToSwap += tLiquidity * _sellMarketingFee / _liquidityFee (#1301)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1148)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1128)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1191)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1129)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1170)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1150)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1171)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1193)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#1305)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _rTotal = _rTotal.sub(rFee) (#1200)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1169)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1190)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1149)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1192)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#1307)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable._lockTime (#215) is never initialized. It is used in:
- Ownable.getUnlockTime() (#251-253)
PumpShibaX._marketingFee (#645) is never initialized. It is used in:
- PumpShibaX.slitherConstructorVariables() (#604-1446)
PumpShibaX._buybackFee (#651) is never initialized. It is used in:
- PumpShibaX.slitherConstructorVariables() (#604-1446)
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
PumpShibaX._transfer(address,address,uint256) (#950-1024) uses a dangerous strict equality:
- from != owner() && to != uniswapV2Pair && block.number == tradingActiveBlock (#963)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
PumpShibaX.swapBack().success (#1056) is written in both
(success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
PumpShibaX.swapBack().success (#1056) is written in both
(success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
(success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
PumpShibaX.swapBack().success (#1056) is written in both
(success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
(success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
PumpShibaX.swapBack().success (#1056) is written in both
(success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
(success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
Fix or remove the writes.
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.
PumpShibaX.includeInReward(address) (#925-936) has costly operations inside a loop:
- _excluded.pop() (#932)
Use a local variable to hold the loop computation result.
Additional information: link
PumpShibaX.swapBack() (#1026-1066) performs a multiplication on the result of a division:
-bnbForOperations = bnbBalance.mul(_marketingTokensToSwap).div(totalTokensToSwap) (#1040)
-bnbForMarketing = bnbForOperations * 20 / 70 (#1043)
PumpShibaX.swapBack() (#1026-1066) performs a multiplication on the result of a division:
-bnbForOperations = bnbBalance.mul(_marketingTokensToSwap).div(totalTokensToSwap) (#1040)
-bnbForTeam = bnbForOperations * 25 / 70 (#1044)
PumpShibaX.swapBack() (#1026-1066) performs a multiplication on the result of a division:
-bnbForOperations = bnbBalance.mul(_marketingTokensToSwap).div(totalTokensToSwap) (#1040)
-bnbForDevelopment = bnbForOperations * 25 / 70 (#1045)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in PumpShibaX.swapBack() (#1026-1066):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
State variables written after the call(s):
- _buyBackTokensToSwap = 0 (#1051)
- _liquidityTokensToSwap = 0 (#1049)
- _marketingTokensToSwap = 0 (#1050)
Apply the check-effects-interactions pattern.
Additional information: link
PumpShibaX.addLiquidity(uint256,uint256) (#1082-1092) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
Ensure that all the return values of the function calls are used.
Additional information: link
PumpShibaX.allowance(address,address).owner (#772) shadows:
- Ownable.owner() (#228-230) (function)
PumpShibaX._approve(address,address,uint256).owner (#939) shadows:
- Ownable.owner() (#228-230) (function)
Rename the local variables that shadow another component.
Additional information: link
PumpShibaX.setGasPriceLimit(uint256) (#876-879) should emit an event for:
- gasPriceLimit = gas * 1000000000 (#878)
PumpShibaX.setGasMaxLimit(uint256) (#881-884) should emit an event for:
- gasMaxLimit = gas * 1000000000 (#883)
PumpShibaX.setBuyFee(uint256,uint256,uint256,uint256) (#1349-1358) should emit an event for:
- _buyTaxFee = buyTaxFee (#1353)
- _buyLiquidityFee = buyLiquidityFee (#1354)
- _buyMarketingFee = buyMarketingFee (#1355)
- _buyBuybackFee = buyBuybackFee (#1356)
PumpShibaX.setSellFee(uint256,uint256,uint256,uint256) (#1360-1369) should emit an event for:
- _sellTaxFee = sellTaxFee (#1364)
- _sellLiquidityFee = sellLiquidityFee (#1365)
- _sellMarketingFee = sellMarketingFee (#1366)
- _sellBuybackFee = sellBuybackFee (#1367)
Emit an event for critical parameter changes.
Additional information: link
PumpShibaX.setMarketingAddress(address)._marketingAddress (#1371) lacks a zero-check on :
- marketingAddress = address(_marketingAddress) (#1372)
PumpShibaX.setBuyBackAddress(address)._buybackAddress (#1376) lacks a zero-check on :
- buybackAddress = address(_buybackAddress) (#1377)
PumpShibaX.setLiquidityAddress(address)._liquidityAddress (#1381) lacks a zero-check on :
- liquidityAddress = address(_liquidityAddress) (#1382)
PumpShibaX.setTeamAddress(address)._teamAddress (#1386) lacks a zero-check on :
- teamAddress = address(_teamAddress) (#1387)
PumpShibaX.setDevelopmentAddress(address)._developmentAddress (#1390) lacks a zero-check on :
- developmentAddress = address(_developmentAddress) (#1391)
Check that the address is not zero.
Additional information: link
Reentrancy in PumpShibaX._transfer(address,address,uint256) (#950-1024):
External calls:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
External calls sending eth:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
State variables written after the call(s):
- removeAllFee() (#1002)
- _liquidityFee = 0 (#1329)
- _liquidityFee = _buyLiquidityFee + _buyMarketingFee + _buyBuybackFee (#1004)
- removeAllFee() (#1008)
- _liquidityFee = 0 (#1329)
- _liquidityFee = _sellLiquidityFee + _sellMarketingFee + _sellBuybackFee (#1010)
- _liquidityFee = _liquidityFee * 6 (#1014)
- removeAllFee() (#1018)
- _liquidityFee = 0 (#1329)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _liquidityFee = _previousLiquidityFee (#1334)
- _liquidityFee = 0 (#1329)
- removeAllFee() (#1002)
- _previousLiquidityFee = _liquidityFee (#1326)
- removeAllFee() (#1008)
- _previousLiquidityFee = _liquidityFee (#1326)
- removeAllFee() (#1018)
- _previousLiquidityFee = _liquidityFee (#1326)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _previousLiquidityFee = _liquidityFee (#1326)
- removeAllFee() (#1002)
- _previousTaxFee = _taxFee (#1325)
- removeAllFee() (#1008)
- _previousTaxFee = _taxFee (#1325)
- removeAllFee() (#1018)
- _previousTaxFee = _taxFee (#1325)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _previousTaxFee = _taxFee (#1325)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _tFeeTotal = _tFeeTotal.add(tFee) (#1201)
- removeAllFee() (#1002)
- _taxFee = 0 (#1328)
- _taxFee = _buyTaxFee (#1003)
- removeAllFee() (#1008)
- _taxFee = 0 (#1328)
- _taxFee = _sellTaxFee (#1009)
- _taxFee = _taxFee * 6 (#1013)
- removeAllFee() (#1018)
- _taxFee = 0 (#1328)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- _taxFee = _previousTaxFee (#1333)
- _taxFee = 0 (#1328)
Reentrancy in PumpShibaX.changeRouterVersion(address) (#1409-1431):
External calls:
- _pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1422-1425)
State variables written after the call(s):
- uniswapV2Pair = _pair (#1427)
- uniswapV2Router = _uniswapV2Router (#1430)
Reentrancy in PumpShibaX.constructor() (#709-740):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#725-726)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#731)
- _excluded[i] = _excluded[_excluded.length - 1] (#929)
- _excluded.push(account) (#922)
- _excluded.pop() (#932)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#731)
- _isExcluded[account] = true (#921)
- _isExcluded[account] = false (#931)
- _isExcludedFromFee[owner()] = true (#733)
- _isExcludedFromFee[address(this)] = true (#734)
- _isExcludedFromFee[marketingAddress] = true (#735)
- _isExcludedFromFee[liquidityAddress] = true (#736)
- _isExcludedFromFee[buybackAddress] = true (#737)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#731)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#919)
- _tOwned[account] = 0 (#930)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#731)
- automatedMarketMakerPairs[pair] = value (#867)
- uniswapV2Pair = _uniswapV2Pair (#729)
- uniswapV2Router = _uniswapV2Router (#728)
Reentrancy in PumpShibaX.swapBack() (#1026-1066):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
State variables written after the call(s):
- _developmentTokensToSwap = 0 (#1052)
- _teamTokensToSwap = 0 (#1053)
Reentrancy in PumpShibaX.swapBack() (#1026-1066):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
External calls sending eth:
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
State variables written after the call(s):
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- _allowances[owner][spender] = amount (#946)
Reentrancy in PumpShibaX.transferFrom(address,address,uint256) (#790-805):
External calls:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
External calls sending eth:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-803)
- _allowances[owner][spender] = amount (#946)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PumpShibaX._transfer(address,address,uint256) (#950-1024):
External calls:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
External calls sending eth:
- swapBack() (#989)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1132)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- Transfer(sender,recipient,tTransferAmount) (#1153)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- Transfer(sender,recipient,tTransferAmount) (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
- Transfer(sender,recipient,tTransferAmount) (#1196)
- _tokenTransfer(from,to,amount,takeFee) (#1022)
Reentrancy in PumpShibaX.constructor() (#709-740):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#725-726)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#739)
Reentrancy in PumpShibaX.swapBack() (#1026-1066):
External calls:
- swapTokensForBNB(amountToSwapForBNB) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
External calls sending eth:
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#947)
- addLiquidity(tokensForLiquidity,bnbForLiquidity) (#1061)
- SwapAndLiquify(amountToSwapForBNB,bnbForLiquidity,tokensForLiquidity) (#1062)
Reentrancy in PumpShibaX.transferFrom(address,address,uint256) (#790-805):
External calls:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
External calls sending eth:
- _transfer(sender,recipient,amount) (#795)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityAddress,block.timestamp) (#1084-1091)
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#947)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#796-803)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#117-128) uses assembly
- INLINE ASM (#124-126)
Address._functionCallWithValue(address,bytes,uint256,string) (#186-209) uses assembly
- INLINE ASM (#201-204)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#186-209) is never used and should be removed
Address.functionCall(address,bytes) (#144-149) is never used and should be removed
Address.functionCall(address,bytes,string) (#151-157) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#159-171) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#173-184) is never used and should be removed
Address.isContract(address) (#117-128) is never used and should be removed
Address.sendValue(address,uint256) (#130-142) is never used and should be removed
Context._msgData() (#16-19) is never used and should be removed
PumpShibaX.transferToAddressETH(address,uint256) (#1399-1403) is never used and should be removed
SafeMath.mod(uint256,uint256) (#102-104) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#106-113) is never used and should be removed
Remove unused functions.
Additional information: link
PumpShibaX._previousTaxFee (#643) is set pre-construction with a non-constant function or state variable:
- _taxFee
PumpShibaX._previousMarketingFee (#646) is set pre-construction with a non-constant function or state variable:
- _marketingFee
PumpShibaX._previousLiquidityFee (#649) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
PumpShibaX._previousBuyBackFee (#652) is set pre-construction with a non-constant function or state variable:
- _buybackFee
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.9 (#9) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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) (#130-142):
- (success) = recipient.call{value: amount}() (#137)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#186-209):
- (success,returndata) = target.call{value: weiValue}(data) (#194-196)
Low level call in PumpShibaX.swapBack() (#1026-1066):
- (success) = address(buybackAddress).call{value: bnbForBuyBack}() (#1056)
- (success,None) = address(marketingAddress).call{value: bnbForMarketing}() (#1057)
- (success,None) = address(developmentAddress).call{value: bnbForDevelopment}() (#1058)
- (success,None) = address(teamAddress).call{value: bnbForTeam}() (#1059)
- (success,None) = address(marketingAddress).call{value: address(this).balance}() (#1065)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#325) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#327) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#357) is not in mixedCase
Function IUniswapV2Router01.WETH() (#401) is not in mixedCase
Parameter PumpShibaX.calculateTaxFee(uint256)._amount (#1310) is not in mixedCase
Parameter PumpShibaX.calculateLiquidityFee(uint256)._amount (#1314) is not in mixedCase
Parameter PumpShibaX.setMarketingAddress(address)._marketingAddress (#1371) is not in mixedCase
Parameter PumpShibaX.setBuyBackAddress(address)._buybackAddress (#1376) is not in mixedCase
Parameter PumpShibaX.setLiquidityAddress(address)._liquidityAddress (#1381) is not in mixedCase
Parameter PumpShibaX.setTeamAddress(address)._teamAddress (#1386) is not in mixedCase
Parameter PumpShibaX.setDevelopmentAddress(address)._developmentAddress (#1390) is not in mixedCase
Parameter PumpShibaX.setSwapAndLiquifyEnabled(bool)._enabled (#1394) is not in mixedCase
Parameter PumpShibaX.changeRouterVersion(address)._router (#1409) is not in mixedCase
Parameter PumpShibaX.transferForeignToken(address,address)._token (#1436) is not in mixedCase
Parameter PumpShibaX.transferForeignToken(address,address)._to (#1436) is not in mixedCase
Constant PumpShibaX._tTotal (#632) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PumpShibaX._name (#636) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PumpShibaX._symbol (#637) is not in UPPER_CASE_WITH_UNDERSCORES
Constant PumpShibaX._decimals (#638) is not in UPPER_CASE_WITH_UNDERSCORES
Variable PumpShibaX._buyTaxFee (#654) is not in mixedCase
Variable PumpShibaX._buyLiquidityFee (#655) is not in mixedCase
Variable PumpShibaX._buyMarketingFee (#656) is not in mixedCase
Variable PumpShibaX._buyBuybackFee (#657) is not in mixedCase
Variable PumpShibaX._sellTaxFee (#659) is not in mixedCase
Variable PumpShibaX._sellLiquidityFee (#660) is not in mixedCase
Variable PumpShibaX._sellMarketingFee (#661) is not in mixedCase
Variable PumpShibaX._sellBuybackFee (#662) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#17)" inContext (#11-20)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#406) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#407)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX._transferBothExcluded(address,address,uint256).rTransferAmount (#1184) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._transferFromExcluded(address,address,uint256).rTransferAmount (#1163) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._getTValues(uint256).tTransferAmount (#1248)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._transferStandard(address,address,uint256).tTransferAmount (#1124)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1269) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._transferToExcluded(address,address,uint256).rTransferAmount (#1142) is too similar to PumpShibaX._transferBothExcluded(address,address,uint256).tTransferAmount (#1186)
Variable PumpShibaX._getValues(uint256).rTransferAmount (#1221) is too similar to PumpShibaX._transferFromExcluded(address,address,uint256).tTransferAmount (#1165)
Variable PumpShibaX.reflectionFromToken(uint256,bool).rTransferAmount (#897) is too similar to PumpShibaX._getValues(uint256).tTransferAmount (#1217)
Variable PumpShibaX._transferStandard(address,address,uint256).rTransferAmount (#1122) is too similar to PumpShibaX._transferToExcluded(address,address,uint256).tTransferAmount (#1144)
Prevent variables from having similar names.
Additional information: link
PumpShibaX.slitherConstructorVariables() (#604-1446) uses literals with too many digits:
- liquidityAddress = address(0x000000000000000000000000000000000000dEaD) (#616-617)
PumpShibaX.slitherConstructorVariables() (#604-1446) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#619-620)
PumpShibaX.slitherConstructorVariables() (#604-1446) uses literals with too many digits:
- gasMaxLimit = 1000000 * 1000000000 (#676)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#214) is never used in PumpShibaX (#604-1446)
PumpShibaX._previousMarketingFee (#646) is never used in PumpShibaX (#604-1446)
PumpShibaX._previousBuyBackFee (#652) is never used in PumpShibaX (#604-1446)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#215) should be constant
Ownable._previousOwner (#214) should be constant
PumpShibaX._buybackFee (#651) should be constant
PumpShibaX._marketingFee (#645) should be constant
PumpShibaX.minimumTokensBeforeSwap (#682) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#237-240)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#242-249)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#251-253)
getTime() should be declared external:
- Ownable.getTime() (#255-257)
approve(address,uint256) should be declared external:
- PumpShibaX.approve(address,uint256) (#781-788)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- PumpShibaX.setAutomatedMarketMakerPair(address,bool) (#860-864)
setSwapAndLiquifyEnabled(bool) should be declared external:
- PumpShibaX.setSwapAndLiquifyEnabled(bool) (#1394-1397)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
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 15% buy tax and 15% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Token is deployed only at one blockchain
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 Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts