StepHunt is a Pokémon™ GO Web3 GameFi + SocialFi App which aims to revolutionize the Play-to-Earn landscape.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in StepHunt._complexTransfer(address,address,uint256) (contracts/StepHunt.sol#225-233):
External calls:
- _swapForWeth(_balances[address(this)]) (contracts/StepHunt.sol#228)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,amountForSwap,path,taxReceiverAddress,block.timestamp) (contracts/StepHunt.sol#354-360)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount) (contracts/StepHunt.sol#230)
- _balances[recipient] = _balances[recipient].add(amountTransfer) (contracts/StepHunt.sol#231)
Apply the check-effects-interactions pattern.
Additional information: link
StepHunt.constructor(address,address) (contracts/StepHunt.sol#61-85) ignores return value by IUniswapV2Factory(factoryAddress).createPair(address(this),wethAddress) (contracts/StepHunt.sol#70)
Ensure that all the return values of the function calls are used.
Additional information: link
StepHunt.allowance(address,address).owner (contracts/StepHunt.sol#129) shadows:
- Auth.owner (contracts/libraries/Auth.sol#5) (state variable)
StepHunt._approve(address,address,uint256).owner (contracts/StepHunt.sol#193) shadows:
- Auth.owner (contracts/libraries/Auth.sol#5) (state variable)
Rename the local variables that shadow another component.
Additional information: link
StepHunt.setAutoSwapForWeth(bool,uint256) (contracts/StepHunt.sol#311-315) should emit an event for:
- minimumSwapForWeth = amount (contracts/StepHunt.sol#314)
StepHunt.setPercentTaxBuy(uint256) (contracts/StepHunt.sol#317-320) should emit an event for:
- percentBuy = _percentTax (contracts/StepHunt.sol#319)
StepHunt.setPercentTaxSell(uint256) (contracts/StepHunt.sol#322-325) should emit an event for:
- percentSell = _percentTax (contracts/StepHunt.sol#324)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (contracts/libraries/Auth.sol#39) lacks a zero-check on :
- owner = adr (contracts/libraries/Auth.sol#40)
StepHunt.constructor(address,address)._routerAddress (contracts/StepHunt.sol#62) lacks a zero-check on :
- routerAddress = _routerAddress (contracts/StepHunt.sol#66)
StepHunt.constructor(address,address)._pinkAntiBotAddress (contracts/StepHunt.sol#63) lacks a zero-check on :
- pinkAntibotAddress = _pinkAntiBotAddress (contracts/StepHunt.sol#77)
StepHunt.setPinkAntibotAddress(address)._pinkAntiBotAddress (contracts/StepHunt.sol#292) lacks a zero-check on :
- pinkAntibotAddress = _pinkAntiBotAddress (contracts/StepHunt.sol#293)
StepHunt.setTaxReceiver(address)._taxReceiverAddress (contracts/StepHunt.sol#298) lacks a zero-check on :
- taxReceiverAddress = _taxReceiverAddress (contracts/StepHunt.sol#299)
Check that the address is not zero.
Additional information: link
Reentrancy in StepHunt._transfer(address,address,uint256) (contracts/StepHunt.sol#204-217):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (contracts/StepHunt.sol#210)
State variables written after the call(s):
- _basicTransfer(sender,recipient,amount) (contracts/StepHunt.sol#214)
- _balances[sender] = _balances[sender].sub(amount) (contracts/StepHunt.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/StepHunt.sol#221)
Reentrancy in StepHunt.constructor(address,address) (contracts/StepHunt.sol#61-85):
External calls:
- IUniswapV2Factory(factoryAddress).createPair(address(this),wethAddress) (contracts/StepHunt.sol#70)
State variables written after the call(s):
- isExcludeFromFee[msg.sender] = true (contracts/StepHunt.sol#74)
- isExcludeFromFee[routerAddress] = true (contracts/StepHunt.sol#75)
- isPair[pairWETH] = true (contracts/StepHunt.sol#72)
- pinkAntiBot = IPinkAntiBot(_pinkAntiBotAddress) (contracts/StepHunt.sol#78)
- pinkAntibotAddress = _pinkAntiBotAddress (contracts/StepHunt.sol#77)
Reentrancy in StepHunt.constructor(address,address) (contracts/StepHunt.sol#61-85):
External calls:
- IUniswapV2Factory(factoryAddress).createPair(address(this),wethAddress) (contracts/StepHunt.sol#70)
- pinkAntiBot.setTokenOwner(msg.sender) (contracts/StepHunt.sol#79)
State variables written after the call(s):
- _approve(address(this),routerAddress,_totalSupply) (contracts/StepHunt.sol#81)
- _allowances[owner][spender] = amount (contracts/StepHunt.sol#200)
- _balances[msg.sender] = _totalSupply (contracts/StepHunt.sol#83)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in StepHunt._complexTransfer(address,address,uint256) (contracts/StepHunt.sol#225-233):
External calls:
- _swapForWeth(_balances[address(this)]) (contracts/StepHunt.sol#228)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,amountForSwap,path,taxReceiverAddress,block.timestamp) (contracts/StepHunt.sol#354-360)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (contracts/StepHunt.sol#232)
Reentrancy in StepHunt._transfer(address,address,uint256) (contracts/StepHunt.sol#204-217):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (contracts/StepHunt.sol#210)
- _complexTransfer(sender,recipient,amount) (contracts/StepHunt.sol#212)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,amountForSwap,path,taxReceiverAddress,block.timestamp) (contracts/StepHunt.sol#354-360)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (contracts/StepHunt.sol#232)
- _complexTransfer(sender,recipient,amount) (contracts/StepHunt.sol#212)
- Transfer(sender,address(this),amount) (contracts/StepHunt.sol#247)
- _complexTransfer(sender,recipient,amount) (contracts/StepHunt.sol#212)
Reentrancy in StepHunt._transfer(address,address,uint256) (contracts/StepHunt.sol#204-217):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (contracts/StepHunt.sol#210)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (contracts/StepHunt.sol#222)
- _basicTransfer(sender,recipient,amount) (contracts/StepHunt.sol#214)
Reentrancy in StepHunt.constructor(address,address) (contracts/StepHunt.sol#61-85):
External calls:
- IUniswapV2Factory(factoryAddress).createPair(address(this),wethAddress) (contracts/StepHunt.sol#70)
- pinkAntiBot.setTokenOwner(msg.sender) (contracts/StepHunt.sol#79)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/StepHunt.sol#201)
- _approve(address(this),routerAddress,_totalSupply) (contracts/StepHunt.sol#81)
- Transfer(address(0),msg.sender,_totalSupply) (contracts/StepHunt.sol#84)
Apply the check-effects-interactions pattern.
Additional information: link
Different versions of Solidity is used:
- Version used: ['0.8.9', '>=0.8.9', '^0.8.0']
- 0.8.9 (contracts/StepHunt.sol#2)
- ^0.8.0 (contracts/interfaces/IERC20.sol#2)
- >=0.8.9 (contracts/interfaces/IPinkAntibot.sol#2)
- ^0.8.0 (contracts/interfaces/IUniswapV2Factory.sol#2)
- ^0.8.0 (contracts/interfaces/IUniswapV2Router01.sol#2)
- ^0.8.0 (contracts/interfaces/IUniswapV2Router02.sol#2)
- ^0.8.0 (contracts/interfaces/IWETH.sol#2)
- ^0.8.0 (contracts/libraries/Auth.sol#2)
- ^0.8.0 (contracts/libraries/Context.sol#2)
- ^0.8.0 (contracts/libraries/SafeERC20.sol#2)
- ^0.8.0 (contracts/libraries/SafeMath.sol#2)
Use one Solidity version.
Additional information: link
Context._msgData() (contracts/libraries/Context.sol#9-11) is never used and should be removed
SafeERC20.safeApprove(IERC20,address,uint256) (contracts/libraries/SafeERC20.sol#30-39) is never used and should be removed
SafeERC20.safeDecreaseAllowance(IERC20,address,uint256) (contracts/libraries/SafeERC20.sol#52-61) is never used and should be removed
SafeERC20.safeIncreaseAllowance(IERC20,address,uint256) (contracts/libraries/SafeERC20.sol#41-50) is never used and should be removed
SafeERC20.safeTransfer(IERC20,address,uint256) (contracts/libraries/SafeERC20.sol#9-17) is never used and should be removed
SafeERC20.safeTransferFrom(IERC20,address,address,uint256) (contracts/libraries/SafeERC20.sol#19-28) is never used and should be removed
SafeMath.div(uint256,uint256,string) (contracts/libraries/SafeMath.sol#97-106) is never used and should be removed
SafeMath.mod(uint256,uint256) (contracts/libraries/SafeMath.sol#82-84) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (contracts/libraries/SafeMath.sol#108-117) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (contracts/libraries/SafeMath.sol#5-15) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (contracts/libraries/SafeMath.sol#44-53) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (contracts/libraries/SafeMath.sol#55-64) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (contracts/libraries/SafeMath.sol#28-42) is never used and should be removed
SafeMath.trySub(uint256,uint256) (contracts/libraries/SafeMath.sol#17-26) is never used and should be removed
StepHunt._buyToken(uint256,address) (contracts/StepHunt.sol#328-340) is never used and should be removed
Remove unused functions.
Additional information: link
StepHunt._totalSupply (contracts/StepHunt.sol#20) is set pre-construction with a non-constant function or state variable:
- 1_000_000_000 * (10 ** _decimals)
StepHunt.minimumSwapForWeth (contracts/StepHunt.sol#31) is set pre-construction with a non-constant function or state variable:
- 1 * (10 ** _decimals)
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 version0.8.9 (contracts/StepHunt.sol#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version^0.8.0 (contracts/interfaces/IERC20.sol#2) allows old versions
Pragma version>=0.8.9 (contracts/interfaces/IPinkAntibot.sol#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
Pragma version^0.8.0 (contracts/interfaces/IUniswapV2Factory.sol#2) allows old versions
Pragma version^0.8.0 (contracts/interfaces/IUniswapV2Router01.sol#2) allows old versions
Pragma version^0.8.0 (contracts/interfaces/IUniswapV2Router02.sol#2) allows old versions
Pragma version^0.8.0 (contracts/interfaces/IWETH.sol#2) allows old versions
Pragma version^0.8.0 (contracts/libraries/Auth.sol#2) allows old versions
Pragma version^0.8.0 (contracts/libraries/Context.sol#2) allows old versions
Pragma version^0.8.0 (contracts/libraries/SafeERC20.sol#2) allows old versions
Pragma version^0.8.0 (contracts/libraries/SafeMath.sol#2) allows old versions
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
Parameter StepHunt.setPinkAntibotAddress(address)._pinkAntiBotAddress (contracts/StepHunt.sol#292) is not in mixedCase
Parameter StepHunt.setTaxReceiver(address)._taxReceiverAddress (contracts/StepHunt.sol#298) is not in mixedCase
Parameter StepHunt.setPercentTaxBuy(uint256)._percentTax (contracts/StepHunt.sol#317) is not in mixedCase
Parameter StepHunt.setPercentTaxSell(uint256)._percentTax (contracts/StepHunt.sol#322) is not in mixedCase
Variable StepHunt.ZERO (contracts/StepHunt.sol#41) is not in mixedCase
Variable StepHunt.DEAD (contracts/StepHunt.sol#42) is not in mixedCase
Function IUniswapV2Router01.WETH() (contracts/interfaces/IUniswapV2Router01.sol#7) is not in mixedCase
Function Auth._getOwner() (contracts/libraries/Auth.sol#45-47) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/IUniswapV2Router01.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/IUniswapV2Router01.sol#13)
Prevent variables from having similar names.
Additional information: link
StepHunt.slitherConstructorVariables() (contracts/StepHunt.sol#14-368) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (contracts/StepHunt.sol#41)
StepHunt.slitherConstructorVariables() (contracts/StepHunt.sol#14-368) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (contracts/StepHunt.sol#42)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
StepHunt.ZERO (contracts/StepHunt.sol#41) is never used in StepHunt (contracts/StepHunt.sol#14-368)
Remove unused state variables.
Additional information: link
StepHunt.DEAD (contracts/StepHunt.sol#42) should be constant
StepHunt.ZERO (contracts/StepHunt.sol#41) should be constant
StepHunt._decimals (contracts/StepHunt.sol#19) should be constant
StepHunt._name (contracts/StepHunt.sol#21) should be constant
StepHunt._symbol (contracts/StepHunt.sol#22) should be constant
StepHunt.percentTaxDenominator (contracts/StepHunt.sol#29) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- StepHunt.name() (contracts/StepHunt.sol#89-91)
symbol() should be declared external:
- StepHunt.symbol() (contracts/StepHunt.sol#93-95)
decimals() should be declared external:
- StepHunt.decimals() (contracts/StepHunt.sol#97-99)
totalSupply() should be declared external:
- StepHunt.totalSupply() (contracts/StepHunt.sol#101-103)
getOwner() should be declared external:
- StepHunt.getOwner() (contracts/StepHunt.sol#105-107)
balanceOf(address) should be declared external:
- StepHunt.balanceOf(address) (contracts/StepHunt.sol#109-117)
transfer(address,uint256) should be declared external:
- StepHunt.transfer(address,uint256) (contracts/StepHunt.sol#119-127)
allowance(address,address) should be declared external:
- StepHunt.allowance(address,address) (contracts/StepHunt.sol#129-137)
approve(address,uint256) should be declared external:
- StepHunt.approve(address,uint256) (contracts/StepHunt.sol#139-147)
transferFrom(address,address,uint256) should be declared external:
- StepHunt.transferFrom(address,address,uint256) (contracts/StepHunt.sol#149-160)
increaseAllowance(address,uint256) should be declared external:
- StepHunt.increaseAllowance(address,uint256) (contracts/StepHunt.sol#162-173)
decreaseAllowance(address,uint256) should be declared external:
- StepHunt.decreaseAllowance(address,uint256) (contracts/StepHunt.sol#175-190)
authorize(address) should be declared external:
- Auth.authorize(address) (contracts/libraries/Auth.sol#23-25)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (contracts/libraries/Auth.sol#27-29)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (contracts/libraries/Auth.sol#39-43)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to find whitepaper link on the website
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Unable to verify token contract address on the website
Unable to find audit link on the website
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account