Meta Rewards Is The Evolution of a reflection token on the Binance Smart Chain (BSC). The first BNB reflection token to maximize your earnings by providing multiple revenue streams for buybacks. BuyBacks will encourage growth and maximize profits. Simply hold $MRT tokens and get rewarded 10% in BNB from each transaction, automatically delivered to your wallet.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1616)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#816)
- _balances[recipient] = _balances[recipient].add(amount) (#817)
- super._transfer(from,to,amount) (#1619)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#816)
- _balances[recipient] = _balances[recipient].add(amount) (#817)
- swapping = false (#1601)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1106-1122):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1111)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1114)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20DividendToken.addLiquidity(uint256,uint256) (#1685-1698) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
ERC20DividendToken.swapAndSendDividendsToMarketing(uint256) (#1710-1718) sends eth to arbitrary user
Dangerous calls:
- (success) = marketingAddress.call{value: dividends}() (#1713)
ERC20DividendToken.swapAndSendDividendsToBuyBackAddress(uint256) (#1720-1728) sends eth to arbitrary user
Dangerous calls:
- (success) = buyBackAddress.call{value: dividends}() (#1723)
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.
Contract ownership is not renounced (belongs to a wallet)
Reentrancy in ERC20DividendToken.updateDividendTracker(address) (#1330-1353):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1345)
- newDividendTracker.excludeFromDividends(address(this)) (#1346)
- newDividendTracker.excludeFromDividends(owner()) (#1347)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1348)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1352)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20DividendToken._transfer(address,address,uint256).iterations (#1628) is a local variable never initialized
ERC20DividendToken._transfer(address,address,uint256).claims (#1629) is a local variable never initialized
ERC20DividendToken._transfer(address,address,uint256).lastProcessedIndex (#1630) 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
Redundant expression "this (#233)" inContext (#227-236)
Remove redundant statements if they congest code but offer no value.
Additional information: link
ERC20DividendToken.constructor(string,string,uint256,address,address,address).marketingAddress_ (#1282) lacks a zero-check on :
- marketingAddress = marketingAddress_ (#1290)
ERC20DividendToken.constructor(string,string,uint256,address,address,address).buyBackAddress_ (#1282) lacks a zero-check on :
- buyBackAddress = buyBackAddress_ (#1291)
ERC20DividendToken.constructor(string,string,uint256,address,address,address)._uniswapV2Pair (#1300-1301) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1303)
ERC20DividendToken.updateUniswapV2Router(address)._uniswapV2Pair (#1362-1363) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#1364)
ERC20DividendToken.setMarketingWallet(address).wallet (#1392) lacks a zero-check on :
- marketingAddress = wallet (#1393)
Check that the address is not zero.
Additional information: link
Variable 'ERC20DividendToken._transfer(address,address,uint256).lastProcessedIndex (#1630)' in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1632-1639)
Variable 'ERC20DividendToken._transfer(address,address,uint256).claims (#1629)' in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1632-1639)
Variable 'ERC20DividendToken._transfer(address,address,uint256).iterations (#1628)' in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1632-1639)
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
DividendPayingToken._withdrawDividendOfUser(address) (#1106-1122) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1111)
Favor pull over push strategy for external calls.
Additional information: link
ERC20DividendToken.claim() (#1536-1538) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1537)
ERC20DividendToken._transfer(address,address,uint256) (#1548-1642) ignores return value by dividendTracker.process(gas) (#1627-1640)
ERC20DividendToken.addLiquidity(uint256,uint256) (#1685-1698) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1063) shadows:
- ERC20._name (#644) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1063) shadows:
- ERC20._symbol (#645) (state variable)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
State variables written after the call(s):
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- _allowances[owner][spender] = amount (#878)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1596)
- _allowances[owner][spender] = amount (#878)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1599)
- _allowances[owner][spender] = amount (#878)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1282-1322):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1300-1301)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1303)
- uniswapV2Router = _uniswapV2Router (#1302)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1282-1322):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1300-1301)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1304)
- dividendTracker.excludeFromDividends(pair) (#1431)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1307)
- dividendTracker.excludeFromDividends(address(this)) (#1308)
- dividendTracker.excludeFromDividends(owner()) (#1309)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1310)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1311)
State variables written after the call(s):
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1321)
- _balances[account] = _balances[account].add(amount) (#836)
- excludeFromFees(owner(),true) (#1313)
- _isExcludedFromFees[account] = excluded (#1372)
- excludeFromFees(marketingAddress,true) (#1314)
- _isExcludedFromFees[account] = excluded (#1372)
- excludeFromFees(buyBackAddress,true) (#1315)
- _isExcludedFromFees[account] = excluded (#1372)
- excludeFromFees(address(this),true) (#1316)
- _isExcludedFromFees[account] = excluded (#1372)
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1321)
- _totalSupply = _totalSupply.add(amount) (#835)
Reentrancy in ERC20DividendTracker.processAccount(address,bool) (#1957-1971):
External calls:
- amount = _withdrawDividendOfUser(account) (#1962)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1111)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1965)
Reentrancy in ERC20DividendToken.swapAndLiquify(uint256) (#1644-1665):
External calls:
- swapTokensForEth(half) (#1656)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- addLiquidity(otherHalf,newBalance) (#1662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1662)
- _allowances[owner][spender] = amount (#878)
Reentrancy in ERC20DividendToken.updateUniswapV2Router(address) (#1355-1365):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1362-1363)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1364)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ERC20DividendToken._setAutomatedMarketMakerPair(address,bool) (#1423-1435):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1431)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1434)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#879)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- SendDividendsToBuyBackAddress(tokens,dividends) (#1726)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#879)
- swapAndLiquify(swapTokens) (#1596)
- SwapAndLiquify(half,newBalance,otherHalf) (#1664)
- swapAndLiquify(swapTokens) (#1596)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#879)
- swapAndSendDividends(sellTokens) (#1599)
- SendDividends(tokens,dividends) (#1706)
- swapAndSendDividends(sellTokens) (#1599)
- Transfer(sender,recipient,amount) (#818)
- super._transfer(from,address(this),fees) (#1616)
- Transfer(sender,recipient,amount) (#818)
- super._transfer(from,to,amount) (#1619)
Reentrancy in ERC20DividendToken._transfer(address,address,uint256) (#1548-1642):
External calls:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1621)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1622)
- dividendTracker.process(gas) (#1627-1640)
External calls sending eth:
- swapAndSendDividendsToMarketing(marketingTokens) (#1586)
- (success) = marketingAddress.call{value: dividends}() (#1713)
- swapAndSendDividendsToBuyBackAddress(buyBackTokens) (#1591)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
- swapAndLiquify(swapTokens) (#1596)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
- swapAndSendDividends(sellTokens) (#1599)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1632-1639)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1282-1322):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1300-1301)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1304)
- dividendTracker.excludeFromDividends(pair) (#1431)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1434)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1304)
Reentrancy in ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1282-1322):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1300-1301)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1304)
- dividendTracker.excludeFromDividends(pair) (#1431)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1307)
- dividendTracker.excludeFromDividends(address(this)) (#1308)
- dividendTracker.excludeFromDividends(owner()) (#1309)
- dividendTracker.excludeFromDividends(address(0xdead)) (#1310)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1311)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1374)
- excludeFromFees(buyBackAddress,true) (#1315)
- ExcludeFromFees(account,excluded) (#1374)
- excludeFromFees(marketingAddress,true) (#1314)
- ExcludeFromFees(account,excluded) (#1374)
- excludeFromFees(owner(),true) (#1313)
- ExcludeFromFees(account,excluded) (#1374)
- excludeFromFees(address(this),true) (#1316)
- Transfer(address(0),account,amount) (#837)
- _mint(owner(),totalSupply_ * (10 ** 18)) (#1321)
Reentrancy in ERC20DividendTracker.processAccount(address,bool) (#1957-1971):
External calls:
- amount = _withdrawDividendOfUser(account) (#1962)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1111)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1966)
Reentrancy in ERC20DividendToken.processDividendTracker(uint256) (#1520-1534):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1521-1525)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1526-1533)
Reentrancy in ERC20DividendToken.swapAndLiquify(uint256) (#1644-1665):
External calls:
- swapTokensForEth(half) (#1656)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- addLiquidity(otherHalf,newBalance) (#1662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1662)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0xdead),block.timestamp) (#1690-1697)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#879)
- addLiquidity(otherHalf,newBalance) (#1662)
- SwapAndLiquify(half,newBalance,otherHalf) (#1664)
Reentrancy in ERC20DividendToken.swapAndSendDividends(uint256) (#1700-1708):
External calls:
- swapTokensForEth(tokens) (#1701)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1706)
Reentrancy in ERC20DividendToken.swapAndSendDividendsToBuyBackAddress(uint256) (#1720-1728):
External calls:
- swapTokensForEth(tokens) (#1721)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- (success) = buyBackAddress.call{value: dividends}() (#1723)
External calls sending eth:
- (success) = buyBackAddress.call{value: dividends}() (#1723)
Event emitted after the call(s):
- SendDividendsToBuyBackAddress(tokens,dividends) (#1726)
Reentrancy in ERC20DividendToken.swapAndSendDividendsToMarketing(uint256) (#1710-1718):
External calls:
- swapTokensForEth(tokens) (#1711)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1676-1682)
- (success) = marketingAddress.call{value: dividends}() (#1713)
External calls sending eth:
- (success) = marketingAddress.call{value: dividends}() (#1713)
Event emitted after the call(s):
- SendDividendsToMarketing(tokens,dividends) (#1716)
Reentrancy in ERC20DividendToken.updateDividendTracker(address) (#1330-1353):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1345)
- newDividendTracker.excludeFromDividends(address(this)) (#1346)
- newDividendTracker.excludeFromDividends(owner()) (#1347)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1348)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1350)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20DividendTracker.getAccount(address) (#1806-1853) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1850-1852)
ERC20DividendTracker.canAutoClaim(uint256) (#1878-1884) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1879)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1883)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.7.6']
- >=0.6.2 (#4)
- >=0.6.2 (#102)
- >=0.5.0 (#148)
- >=0.5.0 (#203)
- ^0.7.6 (#225)
Use one Solidity version.
Additional information: link
Context._msgData() (#232-235) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1162-1168) is never used and should be removed
ERC20._setupDecimals(uint8) (#889-891) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#538-541) is never used and should be removed
SafeMath.mod(uint256,uint256) (#500-503) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#558-561) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#372-376) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#408-411) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#418-421) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#393-401) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#383-386) is never used and should be removed
SafeMathInt.abs(int256) (#342-345) is never used and should be removed
SafeMathInt.div(int256,int256) (#313-319) is never used and should be removed
SafeMathInt.mul(int256,int256) (#301-308) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version>=0.6.2 (#4) allows old versions
Pragma version>=0.6.2 (#102) allows old versions
Pragma version>=0.5.0 (#148) allows old versions
Pragma version>=0.5.0 (#203) allows old versions
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 DividendPayingToken._withdrawDividendOfUser(address) (#1106-1122):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1111)
Low level call in ERC20DividendToken.swapAndSendDividends(uint256) (#1700-1708):
- (success) = address(dividendTracker).call{value: dividends}() (#1703)
Low level call in ERC20DividendToken.swapAndSendDividendsToMarketing(uint256) (#1710-1718):
- (success) = marketingAddress.call{value: dividends}() (#1713)
Low level call in ERC20DividendToken.swapAndSendDividendsToBuyBackAddress(uint256) (#1720-1728):
- (success) = buyBackAddress.call{value: dividends}() (#1723)
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() (#8) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#165) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#166) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#183) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1128) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1135) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1142) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1152) is not in mixedCase
Constant DividendPayingToken.magnitude (#1043) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter ERC20DividendTracker.getAccount(address)._account (#1806) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#14)
Variable ERC20._totalSupply (#642) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).totalSupply_ (#1282)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1107) is too similar to ERC20DividendTracker.getAccount(address).withdrawableDividends (#1813)
Variable MetaRewardsToken._buyBackAddress (#1987) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).buyBackAddress_ (#1282)
Variable MetaRewardsToken._marketingAddress (#1986) is too similar to ERC20DividendToken.constructor(string,string,uint256,address,address,address).marketingAddress_ (#1282)
Prevent variables from having similar names.
Additional information: link
ERC20DividendTracker.constructor() (#1755-1758) uses literals with too many digits:
- minimumTokenBalanceForDividends = 100000000 * (10 ** 18) (#1757)
ERC20DividendToken.constructor(string,string,uint256,address,address,address) (#1282-1322) uses literals with too many digits:
- swapTokensAtAmount = 100000000 * (10 ** 18) (#1293)
ERC20DividendToken.updateGasForProcessing(uint256) (#1437-1448) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,ERC20DividendToken: gasForProcessing must be between 200,000 and 500,000) (#1438-1441)
MetaRewardsToken.slitherConstructorVariables() (#1974-1993) uses literals with too many digits:
- gasForProcessing = 300000 (#1228)
MetaRewardsToken.slitherConstructorVariables() (#1974-1993) uses literals with too many digits:
- _tokenSupply = 1000000000000000 (#1976)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#296) is never used in SafeMathInt (#294-352)
Remove unused state variables.
Additional information: link
MetaRewardsToken._buyBackAddress (#1987) should be constant
MetaRewardsToken._marketingAddress (#1986) should be constant
MetaRewardsToken._routerAddress (#1984) should be constant
MetaRewardsToken._tokenSupply (#1976) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#274-277)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#283-287)
name() should be declared external:
- ERC20.name() (#666-668)
symbol() should be declared external:
- ERC20.symbol() (#674-676)
decimals() should be declared external:
- ERC20.decimals() (#691-693)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#717-720)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#725-727)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#736-739)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#754-758)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#772-775)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#791-794)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#919-921)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#923-928)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#930-932)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#936-938)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#1100-1102)
- ERC20DividendTracker.withdrawDividend() (#1768-1773)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1128-1130)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1142-1144)
updateDividendTracker(address) should be declared external:
- ERC20DividendToken.updateDividendTracker(address) (#1330-1353)
updateUniswapV2Router(address) should be declared external:
- ERC20DividendToken.updateUniswapV2Router(address) (#1355-1365)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ERC20DividendToken.excludeMultipleAccountsFromFees(address[],bool) (#1377-1386)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ERC20DividendToken.setAutomatedMarketMakerPair(address,bool) (#1411-1421)
updateGasForProcessing(uint256) should be declared external:
- ERC20DividendToken.updateGasForProcessing(uint256) (#1437-1448)
isExcludedFromFees(address) should be declared external:
- ERC20DividendToken.isExcludedFromFees(address) (#1462-1464)
withdrawableDividendOf(address) should be declared external:
- ERC20DividendToken.withdrawableDividendOf(address) (#1466-1472)
dividendTokenBalanceOf(address) should be declared external:
- ERC20DividendToken.dividendTokenBalanceOf(address) (#1474-1480)
getAccountAtIndex(uint256) should be declared external:
- ERC20DividendTracker.getAccountAtIndex(uint256) (#1855-1876)
process(uint256) should be declared external:
- ERC20DividendTracker.process(uint256) (#1903-1955)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 17% buy tax and 17% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Average 30d PancakeSwap liquidity is low.
Token is deployed only at one blockchain
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account