DogeWheel is aiming at the moon, one spin at a time! To spin the wheel, buy tickets with BNB. Each spin gets you a chance to multiply your bet, or even better: win an exclusive DogeWheel NFT, or the Jackpot! Whenever you win a multiplier, you get paid out in DogeWheel, fuelling the buyback!
DogeWheel.processFees(uint256) (DogeWheel.sol#225-245) sends eth to arbitrary user
Dangerous calls:
- marketingWalletAddress.transfer(ethForMarketing) (DogeWheel.sol#235)
- spinWheelAddress.transfer(ethForSpinWheel) (DogeWheel.sol#239)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DogeWheel._transfer(address,address,uint256) (DogeWheel.sol#171-223):
External calls:
- sniperOracle.launch() (DogeWheel.sol#177)
- sniperOracle.onTransfer(_from,_to) (DogeWheel.sol#195)
- processFees(contractTokenBalance) (DogeWheel.sol#199)
- transferHelper.buy{value: amountIn}(tokenAddress) (DogeWheel.sol#269)
- router.addLiquidityETH{value: halfForEth}(address(this),tokensOut,0,0,address(0),block.timestamp) (DogeWheel.sol#253)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountIn,0,path,address(this),block.timestamp) (DogeWheel.sol#264)
External calls sending eth:
- processFees(contractTokenBalance) (DogeWheel.sol#199)
- transferHelper.buy{value: amountIn}(tokenAddress) (DogeWheel.sol#269)
- router.addLiquidityETH{value: halfForEth}(address(this),tokensOut,0,0,address(0),block.timestamp) (DogeWheel.sol#253)
- marketingWalletAddress.transfer(ethForMarketing) (DogeWheel.sol#235)
- spinWheelAddress.transfer(ethForSpinWheel) (DogeWheel.sol#239)
State variables written after the call(s):
- super._transfer(_from,address(this),fees) (DogeWheel.sol#216)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(_from,_to,_amount) (DogeWheel.sol#222)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (DogeWheel.sol#200)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Reentrancy in DogeWheel._transfer(address,address,uint256) (DogeWheel.sol#171-223):
External calls:
- sniperOracle.launch() (DogeWheel.sol#177)
- sniperOracle.onTransfer(_from,_to) (DogeWheel.sol#195)
State variables written after the call(s):
- swapping = true (DogeWheel.sol#198)
Apply the check-effects-interactions pattern.
Additional information: link
DogeWheel.swapAndLiquify(uint256) (DogeWheel.sol#247-254) ignores return value by router.addLiquidityETH{value: halfForEth}(address(this),tokensOut,0,0,address(0),block.timestamp) (DogeWheel.sol#253)
Ensure that all the return values of the function calls are used.
Additional information: link
DogeWheel.setMaxWalletAmount(uint256) (DogeWheel.sol#162-165) should emit an event for:
- maxWalletAmount = amount (DogeWheel.sol#164)
Emit an event for critical parameter changes.
Additional information: link
Ownable.constructor().msgSender (Ownable.sol#16) lacks a zero-check on :
- _owner = msgSender (Ownable.sol#17)
Check that the address is not zero.
Additional information: link
Reentrancy in DogeWheel.swapAndLiquify(uint256) (DogeWheel.sol#247-254):
External calls:
- tokensOut = swapExactETHForTokens(halfForTokens,address(this)) (DogeWheel.sol#251)
- transferHelper.buy{value: amountIn}(tokenAddress) (DogeWheel.sol#269)
State variables written after the call(s):
- _approve(address(this),address(router),tokensOut) (DogeWheel.sol#252)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeWheel.swapAndLiquify(uint256) (DogeWheel.sol#247-254):
External calls:
- tokensOut = swapExactETHForTokens(halfForTokens,address(this)) (DogeWheel.sol#251)
- transferHelper.buy{value: amountIn}(tokenAddress) (DogeWheel.sol#269)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- _approve(address(this),address(router),tokensOut) (DogeWheel.sol#252)
Apply the check-effects-interactions pattern.
Additional information: link
DogeWheel._transfer(address,address,uint256) (DogeWheel.sol#171-223) uses timestamp for comparisons
Dangerous comparisons:
- ! isSelling && taxFreeBuyers[_to] > block.timestamp (DogeWheel.sol#209)
Avoid relying on block.timestamp.
Additional information: link
DogeWheel.setAutomatedMarketMakerPair(address,bool) (DogeWheel.sol#103-110) compares to a boolean constant:
-value == false (DogeWheel.sol#104)
Remove the equality to the boolean constant.
Additional information: link
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
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
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#8) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in DogeWheel.processFees(uint256) (DogeWheel.sol#225-245):
External calls:
- marketingWalletAddress.transfer(ethForMarketing) (DogeWheel.sol#235)
- spinWheelAddress.transfer(ethForSpinWheel) (DogeWheel.sol#239)
External calls sending eth:
- marketingWalletAddress.transfer(ethForMarketing) (DogeWheel.sol#235)
- spinWheelAddress.transfer(ethForSpinWheel) (DogeWheel.sol#239)
- swapAndLiquify(ethForLiquidity) (DogeWheel.sol#243)
- transferHelper.buy{value: amountIn}(tokenAddress) (DogeWheel.sol#269)
- router.addLiquidityETH{value: halfForEth}(address(this),tokensOut,0,0,address(0),block.timestamp) (DogeWheel.sol#253)
State variables written after the call(s):
- swapAndLiquify(ethForLiquidity) (DogeWheel.sol#243)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(ethForLiquidity) (DogeWheel.sol#243)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#14)
Prevent variables from having similar names.
Additional information: link
DogeWheel.slitherConstructorVariables() (DogeWheel.sol#13-285) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (DogeWheel.sol#41)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DogeWheel.swapTokensAtAmount (DogeWheel.sol#41) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
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 Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account