Movey is the Move-to-Earn Application combined with Auto-Staking & Auto-Compounding Protocol
Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.
MOVEY._name (#544) shadows:
- ERC20Detailed._name (#511)
MOVEY._symbol (#545) shadows:
- ERC20Detailed._symbol (#512)
Remove the state variable shadowing.
Additional information: link
Reentrancy in MOVEY._transferFrom(address,address,uint256) (#728-765):
External calls:
- rebase() (#739)
- pairContract.sync() (#688)
- addLiquidity() (#743)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#811-817)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
- swapBack() (#747)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#848-854)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
External calls sending eth:
- addLiquidity() (#743)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
- swapBack() (#747)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
State variables written after the call(s):
- _gonBalances[sender] = _gonBalances[sender].sub(gonAmount) (#751)
- _gonBalances[recipient] = _gonBalances[recipient].add(gonAmountReceived) (#755-757)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#752-754)
- _gonBalances[blackHole] = _gonBalances[blackHole].add(gonAmount.mul(blackHoleFee).div(feeDenominator)) (#777-779)
- _gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(treasuryFee.add(insuranceFundFee))) (#780-782)
- _gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#783-785)
- swapBack() (#747)
- inSwap = true (#588)
- inSwap = false (#590)
Apply the check-effects-interactions pattern.
Additional information: link
MOVEY.swapBack() (#834-872) sends eth to arbitrary user
Dangerous calls:
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
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
MOVEY.swapBack().success (#860) is written in both
(success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
(success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
Fix or remove the writes.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
MOVEY.shouldRebase() (#902-909) uses timestamp for comparisons
Dangerous comparisons:
- _autoRebase && (_totalSupply < MAX_SUPPLY) && msg.sender != pair && ! inSwap && block.timestamp >= (_lastRebasedTime + compoundingTime) (#903-908)
MOVEY.shouldAddLiquidity() (#911-917) uses timestamp for comparisons
Dangerous comparisons:
- _autoAddLiquidity && ! inSwap && msg.sender != pair && block.timestamp >= (_lastAddLiquidityTime + 172800) (#912-916)
MOVEY.rebase() (#655-691) uses timestamp for comparisons
Dangerous comparisons:
- deltaTimeFromInit < 31536000 (#663)
- (deltaTimeFromInit >= 31536000) && (deltaTimeFromInit < (15 * 31536000) / 10) (#666-667)
- (deltaTimeFromInit >= (15 * 31536000) / 10) && (deltaTimeFromInit < (7 * 31536000)) (#671-672)
- deltaTimeFromInit >= (7 * 31536000) (#675)
- i < times (#679)
Avoid relying on block.timestamp.
Additional information: link
MOVEY.isContract(address) (#1101-1107) uses assembly
- INLINE ASM (#1103-1105)
Do not use evm assembly.
Additional information: link
MOVEY.addLiquidity() (#791-832) ignores return value by router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
Ensure that all the return values of the function calls are used.
Additional information: link
MOVEY.maxTreasuryFee (#569) should be constant
MOVEY.maxInsuranceFundFee (#570) should be constant
MOVEY.maxLiquidityFee (#568) should be constant
MOVEY.maxBlackHoleFee (#571) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
MOVEY.setBlackHoleFee(uint256) (#1089-1092) should emit an event for:
- blackHoleFee = _blackHoleFee (#1091)
MOVEY.changeCompoundingTime(uint256) (#1094-1099) should emit an event for:
- compoundingTime = _compoundingTime (#1098)
MOVEY.setTreasuryFee(uint256) (#1079-1082) should emit an event for:
- treasuryFee = _treasuryFee (#1081)
MOVEY.setLiquidityFee(uint256) (#1074-1077) should emit an event for:
- liquidityFee = _liquidityFee (#1076)
MOVEY.setInsuranceFundFee(uint256) (#1084-1087) should emit an event for:
- insuranceFundFee = _insuranceFundFee (#1086)
Emit an event for critical parameter changes.
Additional information: link
Pragma version^0.8.3 (#2) allows old versions
solc-0.8.13 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
Parameter MOVEY.setAutoRebase(bool)._flag (#923) is not in mixedCase
Variable MOVEY._lastAddLiquidityTime (#602) is not in mixedCase
Constant MOVEY._name (#544) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter MOVEY.setLiquidityFee(uint256)._liquidityFee (#1074) is not in mixedCase
Variable MOVEY._isFeeExempt (#548) is not in mixedCase
Parameter MOVEY.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1015) is not in mixedCase
Variable MOVEY._isRebaseStarted (#605) is not in mixedCase
Parameter MOVEY.setFeeReceivers(address,address,address,address)._treasuryReceiver (#1016) is not in mixedCase
Parameter MOVEY.setBotBlacklist(address,bool)._flag (#1040) is not in mixedCase
Function IPancakeSwapPair.PERMIT_TYPEHASH() (#159) is not in mixedCase
Parameter MOVEY.setPairAddress(address)._pairAddress (#1051) is not in mixedCase
Parameter MOVEY.setFeeReceivers(address,address,address,address)._blackHole (#1018) is not in mixedCase
Parameter MOVEY.setTreasuryFee(uint256)._treasuryFee (#1079) is not in mixedCase
Constant MOVEY.swapEnabled (#583) is not in UPPER_CASE_WITH_UNDERSCORES
Function IPancakeSwapRouter.WETH() (#236) is not in mixedCase
Variable MOVEY._totalSupply (#603) is not in mixedCase
Constant MOVEY._symbol (#545) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter MOVEY.setInsuranceFundFee(uint256)._insuranceFundFee (#1084) is not in mixedCase
Variable MOVEY._initRebaseStartTime (#600) is not in mixedCase
Parameter MOVEY.setBlackHoleFee(uint256)._blackHoleFee (#1089) is not in mixedCase
Function IPancakeSwapPair.DOMAIN_SEPARATOR() (#157) is not in mixedCase
Parameter MOVEY.checkFeeExempt(address)._addr (#995) is not in mixedCase
Function IPancakeSwapPair.MINIMUM_LIQUIDITY() (#190) is not in mixedCase
Parameter MOVEY.setWhitelist(address)._addr (#1036) is not in mixedCase
Variable MOVEY._lastRebasedTime (#601) is not in mixedCase
Variable MOVEY._autoRebase (#598) is not in mixedCase
Parameter MOVEY.changeCompoundingTime(uint256)._compoundingTime (#1094) is not in mixedCase
Parameter MOVEY.setAutoAddLiquidity(bool)._flag (#932) is not in mixedCase
Parameter MOVEY.setFeeReceivers(address,address,address,address)._insuranceFundReceiver (#1017) is not in mixedCase
Parameter MOVEY.setLP(address)._address (#1055) is not in mixedCase
Variable MOVEY._autoAddLiquidity (#599) is not in mixedCase
Parameter MOVEY.setBotBlacklist(address,bool)._botAddress (#1040) is not in mixedCase
Constant MOVEY.feeDenominator (#573) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#241) is too similar to IPancakeSwapRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#242)
Prevent variables from having similar names.
Additional information: link
MOVEY.takeFee(address,address,uint256) (#767-789) performs a multiplication on the result of a division:
-_gonBalances[autoLiquidityReceiver] = _gonBalances[autoLiquidityReceiver].add(gonAmount.div(feeDenominator).mul(liquidityFee)) (#783-785)
MOVEY.rebase() (#655-691) performs a multiplication on the result of a division:
-times = deltaTime.div(compoundingTime) (#660)
-epoch = times.mul(10) (#661)
MOVEY.takeFee(address,address,uint256) (#767-789) performs a multiplication on the result of a division:
-feeAmount = gonAmount.div(feeDenominator).mul(totalFee()) (#774)
MOVEY.getLiquidityBacking(uint256) (#1026-1034) performs a multiplication on the result of a division:
-liquidityBalance = _gonBalances[pair].div(_gonsPerFragment) (#1031)
-accuracy.mul(liquidityBalance.mul(2)).div(getCirculatingSupply()) (#1032-1033)
MOVEY.rebase() (#655-691) performs a multiplication on the result of a division:
-times = deltaTime.div(compoundingTime) (#660)
-_lastRebasedTime = _lastRebasedTime.add(times.mul(compoundingTime)) (#686)
MOVEY.takeFee(address,address,uint256) (#767-789) performs a multiplication on the result of a division:
-_gonBalances[address(this)] = _gonBalances[address(this)].add(gonAmount.div(feeDenominator).mul(treasuryFee.add(insuranceFundFee))) (#780-782)
Consider ordering multiplication before division.
Additional information: link
MOVEY.rebase().rebaseRate (#657) 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
MOVEY.setFeeReceivers(address,address,address,address)._autoLiquidityReceiver (#1015) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#1020)
MOVEY.setFeeReceivers(address,address,address,address)._treasuryReceiver (#1016) lacks a zero-check on :
- treasuryReceiver = _treasuryReceiver (#1021)
MOVEY.setFeeReceivers(address,address,address,address)._insuranceFundReceiver (#1017) lacks a zero-check on :
- insuranceFundReceiver = _insuranceFundReceiver (#1022)
MOVEY.setPairAddress(address)._pairAddress (#1051) lacks a zero-check on :
- pairAddress = _pairAddress (#1052)
MOVEY.setFeeReceivers(address,address,address,address)._blackHole (#1018) lacks a zero-check on :
- blackHole = _blackHole (#1023)
Check that the address is not zero.
Additional information: link
Reentrancy in MOVEY.addLiquidity() (#791-832):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#811-817)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
External calls sending eth:
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
State variables written after the call(s):
- _lastAddLiquidityTime = block.timestamp (#831)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MOVEY.rebase() (#655-691):
External calls:
- pairContract.sync() (#688)
Event emitted after the call(s):
- LogRebase(epoch,_totalSupply) (#690)
Reentrancy in MOVEY._transferFrom(address,address,uint256) (#728-765):
External calls:
- rebase() (#739)
- pairContract.sync() (#688)
- addLiquidity() (#743)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#811-817)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
- swapBack() (#747)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#848-854)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
External calls sending eth:
- addLiquidity() (#743)
- router.addLiquidityETH{value: amountETHLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#822-829)
- swapBack() (#747)
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount.div(_gonsPerFragment)) (#787)
- gonAmountReceived = takeFee(sender,recipient,gonAmount) (#752-754)
- Transfer(sender,recipient,gonAmountReceived.div(_gonsPerFragment)) (#759-763)
Apply the check-effects-interactions pattern.
Additional information: link
SafeMathInt.div(int256,int256) (#16-20) is never used and should be removed
SafeMathInt.abs(int256) (#34-37) is never used and should be removed
SafeMathInt.mul(int256,int256) (#8-14) is never used and should be removed
SafeMathInt.sub(int256,int256) (#22-26) is never used and should be removed
SafeMath.mod(uint256,uint256) (#89-92) is never used and should be removed
SafeMathInt.add(int256,int256) (#28-32) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in MOVEY.swapBack() (#834-872):
- (success) = address(treasuryReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(treasuryFee).div(treasuryFee.add(insuranceFundFee))}() (#860-865)
- (success,None) = address(insuranceFundReceiver).call{gas: 30000,value: amountETHToTreasuryAndHIF.mul(insuranceFundFee).div(treasuryFee.add(insuranceFundFee))}() (#866-871)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
MOVEY.slitherConstructorConstantVariables() (#538-1111) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#575)
MOVEY.constructor() (#611-643) uses literals with too many digits:
- blackHole = 0x000000000000000000000000000000000000dEaD (#621)
MOVEY.slitherConstructorConstantVariables() (#538-1111) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#576)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#6) is never used in SafeMathInt (#4-38)
Remove unused state variables.
Additional information: link
decimals() should be declared external:
- ERC20Detailed.decimals() (#533-535)
symbol() should be declared external:
- ERC20Detailed.symbol() (#529-531)
name() should be declared external:
- ERC20Detailed.name() (#525-527)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#494-497)
owner() should be declared external:
- Ownable.owner() (#481-483)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#499-501)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
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.
Token is deployed only at one blockchain
Contract has 0% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find audit link on the website
Unable to find code repository for the project
Token is not listed at Mobula.Finance
Additional information: link
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Last post in Twitter was more than 180 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account