MTVX is a deflationary token that provides holders massive profits by instant staking through reflections in $ETH.
MTVX.swapBack() (#1695-1743) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MTVX._transfer(address,address,uint256) (#1519-1642):
External calls:
- swapBack() (#1581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1669-1675)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1650-1655)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1735)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1738)
External calls sending eth:
- swapBack() (#1581)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1650-1655)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
State variables written after the call(s):
- super._transfer(from,address(0xdead),tokensForBurn) (#1619)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#424)
- _balances[recipient] = _balances[recipient].add(amount) (#425)
- super._transfer(from,address(this),fees - tokensForBurn) (#1623)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#424)
- _balances[recipient] = _balances[recipient].add(amount) (#425)
- super._transfer(from,to,amount) (#1629)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#424)
- _balances[recipient] = _balances[recipient].add(amount) (#425)
- swapping = false (#1582)
- tokensForDev += fees * devSellFee / totalSellFees (#1603)
- tokensForDev += fees * devBuyFee / totalBuyFees (#1612)
- tokensForLiquidity += fees * liquiditySellFee / totalSellFees (#1601)
- tokensForLiquidity += fees * liquidityBuyFee / totalBuyFees (#1610)
- tokensForMarketing += fees * marketingSellFee / totalSellFees (#1604)
- tokensForMarketing += fees * marketingBuyFee / totalBuyFees (#1613)
- tokensForRewards += fees * rewardsSellFee / totalSellFees (#1600)
- tokensForRewards += fees * rewardsBuyFee / totalBuyFees (#1609)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract locking ether found:
Contract DividendTracker (#1865-2073) has payable functions:
- DividendPayingToken.receive() (#1002-1004)
- DividendPayingToken.distributeDividends() (#1020-1022)
- DividendPayingTokenInterface.distributeDividends() (#543)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.
Additional information: link
MTVX.swapBack().success (#1722) is written in both
(success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
(success,None) = address(devWallet).call{value: ethForDev}() (#1723)
Fix or remove the writes.
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.
MTVX._transfer(address,address,uint256) (#1519-1642) performs a multiplication on the result of a division:
-fees = amount.mul(totalBuyFees).div(100) (#1608)
-tokensForMarketing += fees * marketingBuyFee / totalBuyFees (#1613)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in MTVX.swapBack() (#1695-1743):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1669-1675)
State variables written after the call(s):
- tokensForDev = 0 (#1720)
- tokensForLiquidity = 0 (#1717)
- tokensForMarketing = 0 (#1718)
- tokensForRewards = 0 (#1719)
Apply the check-effects-interactions pattern.
Additional information: link
MTVX._transfer(address,address,uint256) (#1519-1642) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#1548)
Do not use tx.origin for authorization.
Additional information: link
MTVX._transfer(address,address,uint256).lastProcessedIndex (#1637) 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
MTVX.addLiquidity(uint256,uint256) (#1679-1693) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
Ensure that all the return values of the function calls are used.
Additional information: link
MTVX.constructor().totalSupply (#1244) shadows:
- ERC20.totalSupply() (#298-300) (function)
- IERC20.totalSupply() (#148) (function)
Rename the local variables that shadow another component.
Additional information: link
MTVX.updateSellFees(uint256,uint256,uint256,uint256,uint256) (#1377-1385) should emit an event for:
- marketingSellFee = _marketingFee (#1378)
- rewardsSellFee = _rewardsFee (#1379)
- liquiditySellFee = _liquidityFee (#1380)
- devSellFee = _devFee (#1381)
- burnSellFee = _burnFee (#1382)
- totalSellFees = marketingSellFee + rewardsSellFee + liquiditySellFee + devSellFee + burnSellFee (#1383)
Emit an event for critical parameter changes.
Additional information: link
MTVX.updateDevWallet(address).newDevWallet (#1430) lacks a zero-check on :
- devWallet = newDevWallet (#1431)
Check that the address is not zero.
Additional information: link
Variable 'MTVX._transfer(address,address,uint256).claims (#1637)' in MTVX._transfer(address,address,uint256) (#1519-1642) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1638)
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 MTVX.swapBack() (#1695-1743):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1669-1675)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1726)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1726)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1726)
- _allowances[owner][spender] = amount (#490)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MTVX.swapBack() (#1695-1743):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1669-1675)
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1726)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
- swapBnbForRewardToken(ethForRewards) (#1732)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1650-1655)
- success = IERC20(token).transfer(address(dividendTracker),tokenBalance) (#1735)
- dividendTracker.distributeTokenDividends(tokenBalance) (#1738)
External calls sending eth:
- (success) = address(marketingWallet).call{value: ethForMarketing}() (#1722)
- (success,None) = address(devWallet).call{value: ethForDev}() (#1723)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1726)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1684-1691)
- swapBnbForRewardToken(ethForRewards) (#1732)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,address(this),block.timestamp) (#1650-1655)
Event emitted after the call(s):
- SendDividends(tokenBalance,ethForRewards) (#1739)
Apply the check-effects-interactions pattern.
Additional information: link
DividendTracker.canAutoClaim(uint256) (#1989-1995) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1990)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1994)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#771-778) is never used and should be removed
Remove unused functions.
Additional information: link
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 MTVX.withdrawStuckEth() (#1859-1862):
- (success) = address(msg.sender).call{value: address(this).balance}() (#1860)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendTracker.getAccount(address)._account (#1925) 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 DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1046) is too similar to DividendTracker.getAccount(address).withdrawableDividends (#1930)
Prevent variables from having similar names.
Additional information: link
DividendTracker.getAccountAtIndex(uint256) (#1970-1987) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1981)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#766) is never used in SafeMathInt (#764-822)
Remove unused state variables.
Additional information: link
MTVX.token (#1143) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- DividendTracker.process(uint256) (#2015-2059)
Use the external attribute for functions never called from the contract.
Additional information: link
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 low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account