GoofyDoge is a community-based project, aiming to connect the digital and real-world in every way and build a bridge between cartoon universe and crypto world.
Albeit the image that Goofy gives us is clumsy and dim-witted, he is a kind dog as Doge's new friend, and always treats others sincerely and does not ask for anything in return. So we hope to to build a friendly and kind-hearted community together, just like Goofy, expressing friendships with the community in a unique and sincere way.
When Doge enters the cartoon universe and starts their new story... together with his new friends, he will bring a fairytale-like world, where dreams come true, to the moon.
GoofyDoge.addLiquidity(uint256,uint256) (GoofyDoge.sol#592-605) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GoofyDoge._transfer(address,address,uint256) (GoofyDoge.sol#436-533):
External calls:
- swapAndLiquify(swapTokens) (GoofyDoge.sol#470)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GoofyDoge.sol#568-572)
- swapAndSendDividends(sellTokens) (GoofyDoge.sol#473)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GoofyDoge.sol#585-589)
- IERC20(DOGE).transfer(_projectAddress,h8) (GoofyDoge.sol#615)
- success = IERC20(DOGE).transfer(address(dividendTrackerT1),h8) (GoofyDoge.sol#618)
- dividendTrackerT1.distributeDOGEDividends(h8) (GoofyDoge.sol#620)
- success = IERC20(DOGE).transfer(address(dividendTrackerT2),h8) (GoofyDoge.sol#625)
- dividendTrackerT2.distributeDOGEDividends(h8) (GoofyDoge.sol#627)
External calls sending eth:
- swapAndLiquify(swapTokens) (GoofyDoge.sol#470)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
State variables written after the call(s):
- super._transfer(from,_projectAddress,whaleFees) (GoofyDoge.sol#494)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,address(this),fees) (GoofyDoge.sol#508)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (GoofyDoge.sol#511)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapping = false (GoofyDoge.sol#475)
Apply the check-effects-interactions pattern.
Additional information: link
GoofyDoge.swapAndSendDividends(uint256) (GoofyDoge.sol#607-631) ignores return value by IERC20(DOGE).transfer(_projectAddress,h8) (GoofyDoge.sol#615)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
solc-0.8.7 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
Reentrancy in GoofyDoge.updateDividendTrackerT2(address) (GoofyDoge.sol#187-201):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (GoofyDoge.sol#194)
- newDividendTracker.excludeFromDividends(address(this)) (GoofyDoge.sol#195)
- newDividendTracker.excludeFromDividends(owner()) (GoofyDoge.sol#196)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (GoofyDoge.sol#197)
State variables written after the call(s):
- dividendTrackerT2 = newDividendTracker (GoofyDoge.sol#200)
Apply the check-effects-interactions pattern.
Additional information: link
GoofyDoge._transfer(address,address,uint256).claims_scope_1 (GoofyDoge.sol#528) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
GoofyDoge.addLiquidity(uint256,uint256) (GoofyDoge.sol#592-605) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#7) (state variable)
Rename the local variables that shadow another component.
Additional information: link
GoofyDoge.updateDeadBlockFees(uint256) (GoofyDoge.sol#310-312) should emit an event for:
- _deadblockFees = fees (GoofyDoge.sol#311)
Emit an event for critical parameter changes.
Additional information: link
GoofyDoge.setProjectAddress(address).projectAddress (GoofyDoge.sol#302) lacks a zero-check on :
- _projectAddress = projectAddress (GoofyDoge.sol#303)
Check that the address is not zero.
Additional information: link
Variable 'GoofyDoge._transfer(address,address,uint256).iterations_scope_0 (GoofyDoge.sol#527)' in GoofyDoge._transfer(address,address,uint256) (GoofyDoge.sol#436-533) potentially used before declaration: ProcessedDividendTrackerT2(iterations_scope_0,claims_scope_1,lastProcessedIndex_scope_2,true,gas,tx.origin) (GoofyDoge.sol#530)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in GoofyDoge.swapAndLiquify(uint256) (GoofyDoge.sol#535-556):
External calls:
- swapTokensForEth(half) (GoofyDoge.sol#547)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (GoofyDoge.sol#568-572)
- addLiquidity(otherHalf,newBalance) (GoofyDoge.sol#553)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (GoofyDoge.sol#553)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (GoofyDoge.sol#598-603)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (GoofyDoge.sol#553)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GoofyDoge.updateDividendTrackerT2(address) (GoofyDoge.sol#187-201):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (GoofyDoge.sol#194)
- newDividendTracker.excludeFromDividends(address(this)) (GoofyDoge.sol#195)
- newDividendTracker.excludeFromDividends(owner()) (GoofyDoge.sol#196)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (GoofyDoge.sol#197)
Event emitted after the call(s):
- UpdateDividendTrackerT2(newAddress,address(dividendTrackerT2)) (GoofyDoge.sol#198)
Apply the check-effects-interactions pattern.
Additional information: link
GoofyDogeDividendTrackerT2.canAutoClaim(uint256) (GoofyDogeDividendTrackerT2.sol#122-127) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (GoofyDogeDividendTrackerT2.sol#123)
- block.timestamp.sub(lastClaimTime) >= claimWait (GoofyDogeDividendTrackerT2.sol#126)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
GoofyDoge._maxWalletToken (GoofyDoge.sol#48) is set pre-construction with a non-constant function or state variable:
- maxSupply.mul(_maxWalletTokenPerThousand).div(1000)
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
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#6) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
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 (IUniswapV2Router.sol#11) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#12)
Prevent variables from having similar names.
Additional information: link
GoofyDogeDividendTrackerT2.getAccountAtIndex(uint256) (GoofyDogeDividendTrackerT2.sol#105-120) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (GoofyDogeDividendTrackerT2.sol#116)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
GoofyDoge.maxSupply (GoofyDoge.sol#42) 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#51-55)
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
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.
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Discord account