Goldenzone is a DeFi Gateway service designed to make DeFi universal and easy for anyone to use. This is a method that simplifies the complex staking method and reward method, finds the service that provides the most optimal APY, and automatically staking.
Reentrancy in Token._transfer(address,address,uint256) (#1029-1097):
External calls:
- swapBack() (#1058)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1109-1115)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1148)
External calls sending eth:
- swapBack() (#1058)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1148)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1090)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#363)
- _balances[recipient] = _balances[recipient].add(amount) (#364)
- super._transfer(from,to,amount) (#1096)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#363)
- _balances[recipient] = _balances[recipient].add(amount) (#364)
- swapping = false (#1060)
- tokensForMarketing += fees (#1076)
- tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1081)
- tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1086)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Token._transfer(address,address,uint256) (#1029-1097) uses a dangerous strict equality:
- tradingActiveBlock == block.number && (automatedMarketMakerPairs[to] || automatedMarketMakerPairs[from]) (#1074)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
Token._transfer(address,address,uint256) (#1029-1097) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1085)
-tokensForMarketing += fees * buyMarketingFee / buyTotalFees (#1086)
Token._transfer(address,address,uint256) (#1029-1097) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1080)
-tokensForMarketing += fees * sellMarketingFee / sellTotalFees (#1081)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in Token.swapBack() (#1134-1150):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1144)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1109-1115)
State variables written after the call(s):
- tokensForMarketing = 0 (#1146)
Apply the check-effects-interactions pattern.
Additional information: link
Token.constructor().currentRouter (#928) 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
Token.addLiquidity(uint256,uint256) (#1119-1132) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1124-1131)
Ensure that all the return values of the function calls are used.
Additional information: link
Token.constructor().totalSupply (#918) shadows:
- ERC20.totalSupply() (#237-239) (function)
- IERC20.totalSupply() (#87) (function)
Token.constructor()._owner (#914) shadows:
- Ownable._owner (#598) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Token.updateSellFees(uint256) (#997-1001) should emit an event for:
- sellMarketingFee = _marketingFee (#998)
- sellTotalFees = sellMarketingFee (#999)
Token.updateBuyFees(uint256) (#991-995) should emit an event for:
- buyMarketingFee = _marketingFee (#992)
- buyTotalFees = buyMarketingFee (#993)
Emit an event for critical parameter changes.
Additional information: link
Token.updateMarketingWallet(address).newMarketingWallet (#1020) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1022)
Check that the address is not zero.
Additional information: link
Reentrancy in Token._transfer(address,address,uint256) (#1029-1097):
External calls:
- swapBack() (#1058)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1109-1115)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1148)
External calls sending eth:
- swapBack() (#1058)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1148)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#365)
- super._transfer(from,address(this),fees) (#1090)
- Transfer(sender,recipient,amount) (#365)
- super._transfer(from,to,amount) (#1096)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathInt.div(int256,int256) (#670-676) is never used and should be removed
SafeMath.sub(uint256,uint256) (#482-484) is never used and should be removed
SafeMathInt.abs(int256) (#699-702) is never used and should be removed
SafeMathUint.toInt256Safe(uint256) (#712-716) is never used and should be removed
SafeMathInt.mul(int256,int256) (#658-665) is never used and should be removed
Token.addLiquidity(uint256,uint256) (#1119-1132) is never used and should be removed
ERC20._burn(address,uint256) (#398-406) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#591-594) is never used and should be removed
SafeMathInt.toUint256Safe(int256) (#705-708) is never used and should be removed
SafeMathInt.sub(int256,int256) (#681-685) is never used and should be removed
Context._msgData() (#10-13) is never used and should be removed
SafeMath.mod(uint256,uint256) (#575-577) is never used and should be removed
SafeMathInt.add(int256,int256) (#690-694) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.9 (#3) 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 Token.swapBack() (#1134-1150):
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1148)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Event TokendevWalletUpdated(address,address) (#898) is not in CapWords
Event TokenbuyBackWalletUpdated(address,address) (#900) is not in CapWords
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#32) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#49) is not in mixedCase
Parameter Token.updateBuyFees(uint256)._marketingFee (#991) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#31) is not in mixedCase
Event TokenmarketingWalletUpdated(address,address) (#896) is not in CapWords
Parameter Token.updateSellFees(uint256)._marketingFee (#997) is not in mixedCase
Constant Token.deadAddress (#860) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Router01.WETH() (#722) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#11)" inContext (#5-14)
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 (#727) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#728)
Prevent variables from having similar names.
Additional information: link
SafeMathInt.MAX_INT256 (#653) is never used in SafeMathInt (#651-709)
Remove unused state variables.
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#293-301)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#633-636)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#334-337)
symbol() should be declared external:
- ERC20.symbol() (#213-215)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#256-259)
owner() should be declared external:
- Ownable.owner() (#614-616)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#315-318)
name() should be declared external:
- ERC20.name() (#205-207)
totalSupply() should be declared external:
- ERC20.totalSupply() (#237-239)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#275-278)
decimals() should be declared external:
- ERC20.decimals() (#230-232)
- Token.decimals() (#982-984)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#264-266)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 1% buy tax and 1% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify token contract address on the website
Unable to find audit link on the website
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
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 scam / price dump / death
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
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Twitter account has few posts