Space Monkey is a mobile app based Play 2 Earn game, available on the google play and apple app store, utilising the latest SDK and API technology to quickly connect the play 2 earn platform to the game, allowing seamless withdrawals up to the daily game limit.
Users are required to hold a set amount MONKE tokens in order to play 2 earn, therefore providing its use case and function, holding this will result in the player having the ability of converting earnt in-game bananas into MONKE tokens.
All information and links can be found on officialspacemonkey.com and can be found in our whitepaper.
NEWSpaceMonkey.swapAndLiquify(uint256) (#1256-1296) sends eth to arbitrary user
Dangerous calls:
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in NEWSpaceMonkey.swapAndLiquify(uint256) (#1256-1296):
External calls:
- swapTokensForEth(half) (#1269)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1307-1313)
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
External calls sending eth:
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
State variables written after the call(s):
- _tokenTransfer(address(this),_P2EAddress,devPortion,false) (#1285)
- _liquidityFee = _previousLiquidityFee (#1366)
- _liquidityFee = 0 (#1360)
- _tokenTransfer(address(this),_P2EAddress,devPortion,false) (#1285)
- _marketingFee = _previousMarketingFee (#1367)
- _marketingFee = 0 (#1361)
- _tokenTransfer(address(this),_P2EAddress,devPortion,false) (#1285)
- _taxFee = _previousTaxFee (#1365)
- _taxFee = 0 (#1359)
Apply the check-effects-interactions pattern.
Additional information: link
NEWSpaceMonkey.transferTokens(address,uint256) (#1115-1118) ignores return value by token.transfer(recepient,amount) (#1117)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
NEWSpaceMonkey._tdevTotal (#879) is never initialized. It is used in:
- NEWSpaceMonkey.totaldevFees() (#1031-1033)
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
NEWSpaceMonkey.reflectionFromToken(uint256,bool)._rv_scope_0 (#1128) is a storage variable never initialized
Initialize all storage variables.
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.
NEWSpaceMonkey.swapAndLiquify(uint256) (#1256-1296) performs a multiplication on the result of a division:
-devPortion = otherHalf.div(totalLiqFee).mul(_marketingFee) (#1276)
Consider ordering multiplication before division.
Additional information: link
NEWSpaceMonkey._getTValues(uint256)._tv (#1209) 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
NEWSpaceMonkey.addLiquidity(uint256,uint256,address) (#1337-1350) ignores return value by pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1342-1349)
Ensure that all the return values of the function calls are used.
Additional information: link
NEWSpaceMonkey._approve(address,address,uint256).owner (#1194) shadows:
- Ownable.owner() (#799-801) (function)
Rename the local variables that shadow another component.
Additional information: link
NEWSpaceMonkey.updateNumTokensSellToAddToLiquidity(uint256) (#1106-1108) should emit an event for:
- numTokensSellToAddToLiquidity = amount * 10 ** 9 (#1107)
Emit an event for critical parameter changes.
Additional information: link
NEWSpaceMonkey.setP2EAddress(address).P2EAddress (#1102) lacks a zero-check on :
- _P2EAddress = P2EAddress (#1103)
Check that the address is not zero.
Additional information: link
Variable 'NEWSpaceMonkey.reflectionFromToken(uint256,bool)._rv (#1123)' in NEWSpaceMonkey.reflectionFromToken(uint256,bool) (#1120-1133) potentially used before declaration: (_rv,_tv) = _getValues(tAmount) (#1128)
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 NEWSpaceMonkey.transferFrom(address,address,uint256) (#994-998):
External calls:
- _transfer(sender,recipient,amount) (#995)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1342-1349)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1307-1313)
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
External calls sending eth:
- _transfer(sender,recipient,amount) (#995)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1342-1349)
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#996)
- _allowances[owner][spender] = amount (#1198)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in NEWSpaceMonkey.transferFrom(address,address,uint256) (#994-998):
External calls:
- _transfer(sender,recipient,amount) (#995)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1342-1349)
- pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1307-1313)
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
External calls sending eth:
- _transfer(sender,recipient,amount) (#995)
- pancakeRouter.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,lp,block.timestamp) (#1342-1349)
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1199)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#996)
Apply the check-effects-interactions pattern.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#649-669) uses assembly
- INLINE ASM (#661-664)
Do not use evm assembly.
Additional information: link
SafeMath.trySub(uint256,uint256) (#265-270) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.6 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 NEWSpaceMonkey.swapAndLiquify(uint256) (#1256-1296):
- (sent) = _marketingAddress.call{value: devBalance}() (#1282)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant NEWSpaceMonkey._pancakeRouterAddress (#897) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#775)" inOwnable (#758-830)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable NEWSpaceMonkey._rTotalSupply (#866) is too similar to NEWSpaceMonkey._tTotalSupply (#848)
Prevent variables from having similar names.
Additional information: link
NEWSpaceMonkey.slitherConstructorConstantVariables() (#832-1430) uses literals with too many digits:
- _sellMaxTxAmount = 1000000000000 * 10 ** 9 (#850)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
NEWSpaceMonkey._tdevTotal (#879) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferTokens(address,uint256) should be declared external:
- NEWSpaceMonkey.transferTokens(address,uint256) (#1115-1118)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
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