GOAT WOLF token was created as a TOKEN with the purpose of promoting the “King sport” to everyone in the world. Along with that, the fund will be used for charity activities for children and underprivileged people around the world. SAFU Badge means that the project cannot be manipulated by the developer to hurt the investors. Renounce ownership on the 7th day after listing.
GoatWolf.contractSwap(uint256) (#498-553) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GoatWolf._transfer(address,address,uint256) (#459-496):
External calls:
- contractSwap(contractTokenBalance) (#490)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#515-521)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- antiSnipe.checkUser(from,to,amount) (#604-605)
External calls sending eth:
- contractSwap(contractTokenBalance) (#490)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
State variables written after the call(s):
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- _liquidityHolders[from] = true (#558)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- _tOwned[address(this)] += feeAmount (#636)
- _tOwned[from] -= amount (#614)
- _tOwned[to] += amountReceived (#616)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- antiSnipe = AntiSnipe(address(this)) (#562)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- contractSwapEnabled = true (#564)
Apply the check-effects-interactions pattern.
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
GoatWolf.contractSwap(uint256) (#498-553) performs a multiplication on the result of a division:
-toLiquify = ((contractTokenBalance * ratios.liquidity) / ratios.totalSwap) / 2 (#508)
-liquidityBalance = (amtBalance * toLiquify) / swapAmt (#524)
Consider ordering multiplication before division.
Additional information: link
GoatWolf.setPriceImpactSwapAmount(uint256) (#418-421) should emit an event for:
- piSwapPercent = priceImpactSwapPercent (#420)
GoatWolf.setSwapSettings(uint256,uint256,uint256,uint256) (#411-416) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#412)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#413)
Emit an event for critical parameter changes.
Additional information: link
GoatWolf.setOperator(address).newOperator (#265) lacks a zero-check on :
- operator = newOperator (#272)
Check that the address is not zero.
Additional information: link
GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool) (#595-620) has external calls inside a loop: antiSnipe.checkUser(from,to,amount) (#604-605)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#604)' in GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool) (#595-620) potentially used before declaration: checked = check (#605)
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 GoatWolf.setNewRouter(address) (#326-338):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#331)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#337)
- _allowances[sender][spender] = amount (#309)
- dexRouter = _newRouter (#336)
Reentrancy in GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool) (#595-620):
External calls:
- antiSnipe.checkUser(from,to,amount) (#604-605)
State variables written after the call(s):
- _tOwned[from] -= amount (#614)
- _tOwned[to] += amountReceived (#616)
- amountReceived = takeTaxes(from,buy,sell,amount) (#615)
- _tOwned[address(this)] += feeAmount (#636)
Reentrancy in GoatWolf.enableTrading() (#569-580):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#575)
State variables written after the call(s):
- allowedPresaleExclusion = false (#577)
- swapAmount = (balanceOf(lpPair) * 30) / 10000 (#579)
- swapThreshold = (balanceOf(lpPair) * 10) / 10000 (#578)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GoatWolf.transferOwner(address) (#240-254):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#247)
- antiSnipe.checkUser(from,to,amount) (#604-605)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#252)
Reentrancy in GoatWolf.contractSwap(uint256) (#498-553):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#515-521)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
External calls sending eth:
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
Event emitted after the call(s):
- AutoLiquify(liquidityBalance,toLiquify) (#535)
Reentrancy in GoatWolf.setNewRouter(address) (#326-338):
External calls:
- lpPair = IFactoryV2(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#331)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#310)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#337)
Reentrancy in GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool) (#595-620):
External calls:
- antiSnipe.checkUser(from,to,amount) (#604-605)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#637)
- amountReceived = takeTaxes(from,buy,sell,amount) (#615)
- Transfer(from,to,amountReceived) (#618)
Reentrancy in GoatWolf._transfer(address,address,uint256) (#459-496):
External calls:
- contractSwap(contractTokenBalance) (#490)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(swapAmt,0,path,address(this),block.timestamp) (#515-521)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- antiSnipe.checkUser(from,to,amount) (#604-605)
External calls sending eth:
- contractSwap(contractTokenBalance) (#490)
- dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#565)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- Transfer(from,address(this),feeAmount) (#637)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
- Transfer(from,to,amountReceived) (#618)
- finalizeTransfer(from,to,amount,buy,sell,other) (#495)
Apply the check-effects-interactions pattern.
Additional information: link
GoatWolf.setLpPair(address,bool) (#340-352) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#345)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,3 Day cooldown.!) (#346)
Avoid relying on block.timestamp.
Additional information: link
GoatWolf._checkLiquidityAdd(address,address) (#555-567) has costly operations inside a loop:
- antiSnipe = AntiSnipe(address(this)) (#562)
GoatWolf._checkLiquidityAdd(address,address) (#555-567) has costly operations inside a loop:
- _hasLiqBeenAdded = true (#560)
GoatWolf._checkLiquidityAdd(address,address) (#555-567) has costly operations inside a loop:
- contractSwapEnabled = true (#564)
Use a local variable to hold the loop computation result.
Additional information: link
solc-0.8.16 is not recommended for deployment
Pragma version>=0.6.0<0.9.0 (#2) is too complex
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 GoatWolf.contractSwap(uint256) (#498-553):
- (success,None) = _taxWallets.marketing.call{gas: 35000,value: marketingBalance}() (#545)
- (success,None) = _taxWallets.charity.call{gas: 35000,value: charityBalance}() (#548)
- (success,None) = _taxWallets.development.call{gas: 35000,value: developmentBalance}() (#551)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable GoatWolf._taxRates (#136-140) is not in mixedCase
Function IRouter01.WETH() (#33) is not in mixedCase
Constant GoatWolf._decimals (#119) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GoatWolf.maxBuyTaxes (#150) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GoatWolf._hasLiqBeenAdded (#180) is not in mixedCase
Parameter GoatWolf.setProtectionSettings(bool,bool)._antiBlock (#380) is not in mixedCase
Constant GoatWolf.maxRoundtripTax (#153) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter GoatWolf.setProtectionSettings(bool,bool)._antiSnipe (#380) is not in mixedCase
Constant GoatWolf.maxTransferTaxes (#152) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GoatWolf._ratios (#142-148) is not in mixedCase
Constant GoatWolf.startingSupply (#116) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GoatWolf.maxSellTaxes (#151) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GoatWolf._name (#117) is not in UPPER_CASE_WITH_UNDERSCORES
Variable GoatWolf._taxWallets (#166-170) is not in mixedCase
Constant GoatWolf._tTotal (#120) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GoatWolf.masterTaxDivisor (#154) is not in UPPER_CASE_WITH_UNDERSCORES
Constant GoatWolf._symbol (#118) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
GoatWolf.slitherConstructorConstantVariables() (#99-643) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#158)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
enableTrading() should be declared external:
- GoatWolf.enableTrading() (#569-580)
transfer(address,uint256) should be declared external:
- GoatWolf.transfer(address,uint256) (#295-298)
Use the external attribute for functions never called from the contract.
Additional information: link
Variable IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#45) is too similar to IRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#46)
Prevent variables from having similar names.
Additional information: link
Reentrancy in GoatWolf.transferOwner(address) (#240-254):
External calls:
- finalizeTransfer(_owner,newOwner,balanceOf(_owner),false,false,true) (#247)
- antiSnipe.checkUser(from,to,amount) (#604-605)
State variables written after the call(s):
- _owner = newOwner (#251)
Reentrancy in GoatWolf.enableTrading() (#569-580):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#575)
State variables written after the call(s):
- tradingEnabled = true (#576)
Apply the check-effects-interactions pattern.
Additional information: link
GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool).checked (#603) is a local variable never initialized
GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool).check (#604) 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
GoatWolf.finalizeTransfer(address,address,uint256,bool,bool,bool) (#595-620) ignores return value by antiSnipe.checkUser(from,to,amount) (#604-605)
GoatWolf.contractSwap(uint256) (#498-553) ignores return value by dexRouter.addLiquidityETH{value: liquidityBalance}(address(this),toLiquify,0,0,DEAD,block.timestamp) (#527-534)
Ensure that all the return values of the function calls are used.
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.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 6% buy tax and 6% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find website, listings and other project-related information
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
Telegram account link seems to be invalid
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account