GoldMiner is a play-to-earn Third-person shooter gold-playing game. The user's goal is to increase the mining hit rate and equip the character with a unique NFTs to help the character increase the game output. Combine DeFi, collectibles and your own personality.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
GoldMinerToken._safeTransferETH(address,uint256) (#882-885) sends eth to arbitrary user
Dangerous calls:
- (success) = to.call{gas: 2300,value: value}() (#883)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in GoldMinerToken._transfer(address,address,uint256) (#796-836):
External calls:
- _swapAndDistribute(_GMTokenFee) (#820)
- (success) = to.call{gas: 2300,value: value}() (#883)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#855-861)
External calls sending eth:
- _swapAndDistribute(_GMTokenFee) (#820)
- (success) = to.call{gas: 2300,value: value}() (#883)
State variables written after the call(s):
- super._transfer(sender,recipient,remainingAmount) (#825)
- _balances[sender] = senderBalance - amount (#372)
- _balances[recipient] += amount (#374)
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.
GoldMinerToken.setSellFeeRate(uint256) (#763-766) should emit an event for:
- sellFeeRate = newSellFeeRate (#765)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in GoldMinerToken.constructor() (#700-717):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#713)
State variables written after the call(s):
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#716)
- _allowances[owner][spender] = amount (#451)
- excludeFromSenderFees(uniswapV2Pair,true) (#714)
- _isExcludedFromSenderFees[account] = excluded (#769)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in GoldMinerToken.constructor() (#700-717):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#713)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#452)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (#716)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20._burn(address,uint256) (#413-428) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.2 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 GoldMinerToken._safeTransferETH(address,uint256) (#882-885):
- (success) = to.call{gas: 2300,value: value}() (#883)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#1049) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1054) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1055)
Prevent variables from having similar names.
Additional information: link
isExcludedFromRecipientFees(address) should be declared external:
- GoldMinerToken.isExcludedFromRecipientFees(address) (#904-906)
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 find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Unable to find token on CoinHunt
Additional information: link
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
Twitter account link seems to be invalid
Unable to find Youtube account
Unable to find Discord account