Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
- swapAndSendMarketingBNB() (#1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(marketingTokens,0,path,marketingWallet,block.timestamp) (#1660-1666)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1575)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#948)
- _balances[recipient] = _balances[recipient].add(amount) (#949)
- super._transfer(from,to,amount) (#1578)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#948)
- _balances[recipient] = _balances[recipient].add(amount) (#949)
- countBNBRewardsFee += BNBRewardsFeeAmount (#1569)
- countLiquidityFees += liquidityFeeAmount (#1568)
- swapping = false (#1546)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1114-1130):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1119)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1122)
Reentrancy in BNBBACK.swapAndLiquify(uint256) (#1602-1624):
External calls:
- swapTokensForEth(half) (#1614)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
State variables written after the call(s):
- countLiquidityFees -= otherHalf (#1621)
Apply the check-effects-interactions pattern.
Additional information: link
Context._msgData() (#123-126) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1170-1176) is never used and should be removed
SafeMath.mod(uint256,uint256) (#305-307) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#321-324) is never used and should be removed
SafeMathInt.abs(int256) (#454-457) is never used and should be removed
SafeMathInt.div(int256,int256) (#425-431) is never used and should be removed
SafeMathInt.mul(int256,int256) (#413-420) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.6.2 (#3) 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) (#1114-1130):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1119)
Low level call in BNBBACK.swapAndSendDividends(uint256) (#1688-1698):
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Reentrancy in BNBBACK.updateDividendTracker(address) (#1349-1365):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1356)
- newDividendTracker.excludeFromDividends(address(this)) (#1357)
- newDividendTracker.excludeFromDividends(owner()) (#1358)
- newDividendTracker.excludeFromDividends(deadWallet) (#1359)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1360)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1364)
Apply the check-effects-interactions pattern.
Additional information: link
BNBBACK._transfer(address,address,uint256).iterations (#1586) is a local variable never initialized
BNBBACK._transfer(address,address,uint256).claims (#1586) is a local variable never initialized
BNBBACK._transfer(address,address,uint256).lastProcessedIndex (#1586) 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
BNBBACK.claim() (#1503-1505) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1504)
BNBBACK._transfer(address,address,uint256) (#1515-1593) ignores return value by dividendTracker.process(gas) (#1586-1591)
BNBBACK.addLiquidity(uint256,uint256) (#1671-1686) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1071) shadows:
- ERC20._name (#770) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1071) shadows:
- ERC20._symbol (#771) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BNBBACK.setBuyFees(uint8,uint8,uint8) (#1428-1439) should emit an event for:
- BNBRewardsBuyFee = newBNBRewardsBuyFee (#1434)
- marketingBuyFee = newMarketingBuyFee (#1435)
- liquidityBuyFee = newLiquidityBuyFee (#1436)
BNBBACK.setSellFees(uint8,uint8,uint8) (#1441-1450) should emit an event for:
- BNBRewardsSellFee = newBNBRewardsSellFee (#1445)
- marketingSellFee = newMarketingSellFee (#1446)
- liquiditySellFee = newLiquiditySellFee (#1447)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#1114-1130) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1119)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'BNBBACK._transfer(address,address,uint256).iterations (#1586)' in BNBBACK._transfer(address,address,uint256) (#1515-1593) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1587)
Variable 'BNBBACK._transfer(address,address,uint256).lastProcessedIndex (#1586)' in BNBBACK._transfer(address,address,uint256) (#1515-1593) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1587)
Variable 'BNBBACK._transfer(address,address,uint256).claims (#1586)' in BNBBACK._transfer(address,address,uint256) (#1515-1593) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1587)
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 BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
State variables written after the call(s):
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- _allowances[owner][spender] = amount (#1014)
Reentrancy in BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
- swapAndSendMarketingBNB() (#1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(marketingTokens,0,path,marketingWallet,block.timestamp) (#1660-1666)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
State variables written after the call(s):
- BNBRewardsFeeAmount = amount.mul(BNBRewardsFee).div(100) (#1554)
- swapAndSendMarketingBNB() (#1544)
- _allowances[owner][spender] = amount (#1014)
- liquidityFeeAmount = amount.mul(LiquidityFee).div(100) (#1555)
- marketingFeeAmount = amount.mul(MarketingFee).div(100) (#1556)
Reentrancy in BNBBACK.constructor() (#1293-1343):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1321)
- uniswapV2Router = _uniswapV2Router (#1320)
Reentrancy in BNBBACK.constructor() (#1293-1343):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1403)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1328)
- dividendTracker.excludeFromDividends(address(this)) (#1329)
- dividendTracker.excludeFromDividends(deadWallet) (#1330)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1331)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (#1342)
- _balances[account] = _balances[account].add(amount) (#968)
- excludeFromFees(owner(),true) (#1335)
- _isExcludedFromFees[account] = excluded (#1378)
- excludeFromFees(address(this),true) (#1336)
- _isExcludedFromFees[account] = excluded (#1378)
- _mint(owner(),1000000000 * (10 ** 18)) (#1342)
- _totalSupply = _totalSupply.add(amount) (#967)
Reentrancy in BNBBACKDividendTracker.processAccount(address,bool) (#1901-1911):
External calls:
- amount = _withdrawDividendOfUser(account) (#1902)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1119)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1905)
Reentrancy in BNBBACK.swapAndLiquify(uint256) (#1602-1624):
External calls:
- swapTokensForEth(half) (#1614)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
State variables written after the call(s):
- countLiquidityFees -= half (#1615)
Reentrancy in BNBBACK.swapAndLiquify(uint256) (#1602-1624):
External calls:
- swapTokensForEth(half) (#1614)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1620)
- _allowances[owner][spender] = amount (#1014)
Reentrancy in BNBBACK.swapAndSendDividends(uint256) (#1688-1698):
External calls:
- swapTokensForEth(tokens) (#1689)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
State variables written after the call(s):
- countBNBRewardsFee -= tokens (#1690)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BNBBACK._setAutomatedMarketMakerPair(address,bool) (#1398-1407):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1403)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1406)
Reentrancy in BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1015)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- SendDividends(tokens,dividends) (#1696)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
Reentrancy in BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
- swapAndSendMarketingBNB() (#1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(marketingTokens,0,path,marketingWallet,block.timestamp) (#1660-1666)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1015)
- swapAndSendMarketingBNB() (#1544)
- Transfer(sender,recipient,amount) (#950)
- super._transfer(from,address(this),fees) (#1575)
- Transfer(sender,recipient,amount) (#950)
- super._transfer(from,to,amount) (#1578)
Reentrancy in BNBBACK._transfer(address,address,uint256) (#1515-1593):
External calls:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
- swapAndSendMarketingBNB() (#1544)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(marketingTokens,0,path,marketingWallet,block.timestamp) (#1660-1666)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1580)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1581)
- dividendTracker.process(gas) (#1586-1591)
External calls sending eth:
- swapAndLiquify(countLiquidityFees) (#1542)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
- swapAndSendDividends(countBNBRewardsFee) (#1543)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1587)
Reentrancy in BNBBACK.constructor() (#1293-1343):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1403)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1406)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
Reentrancy in BNBBACK.constructor() (#1293-1343):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1317-1318)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#1323)
- dividendTracker.excludeFromDividends(pair) (#1403)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1328)
- dividendTracker.excludeFromDividends(address(this)) (#1329)
- dividendTracker.excludeFromDividends(deadWallet) (#1330)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#1331)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#1380)
- excludeFromFees(owner(),true) (#1335)
- ExcludeFromFees(account,excluded) (#1380)
- excludeFromFees(address(this),true) (#1336)
- Transfer(address(0),account,amount) (#969)
- _mint(owner(),1000000000 * (10 ** 18)) (#1342)
Reentrancy in BNBBACKDividendTracker.processAccount(address,bool) (#1901-1911):
External calls:
- amount = _withdrawDividendOfUser(account) (#1902)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1119)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1906)
Reentrancy in BNBBACK.processDividendTracker(uint256) (#1498-1501):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1499)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1500)
Reentrancy in BNBBACK.swapAndLiquify(uint256) (#1602-1624):
External calls:
- swapTokensForEth(half) (#1614)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1620)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1677-1684)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1015)
- addLiquidity(otherHalf,newBalance) (#1620)
- SwapAndLiquify(half,newBalance,otherHalf) (#1623)
Reentrancy in BNBBACK.swapAndSendDividends(uint256) (#1688-1698):
External calls:
- swapTokensForEth(tokens) (#1689)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1637-1643)
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#1693)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1696)
Reentrancy in BNBBACK.updateDividendTracker(address) (#1349-1365):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1356)
- newDividendTracker.excludeFromDividends(address(this)) (#1357)
- newDividendTracker.excludeFromDividends(owner()) (#1358)
- newDividendTracker.excludeFromDividends(deadWallet) (#1359)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1360)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1362)
Apply the check-effects-interactions pattern.
Additional information: link
BNBBACKDividendTracker.getAccount(address) (#1765-1808) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1805-1807)
BNBBACKDividendTracker.canAutoClaim(uint256) (#1829-1835) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1830)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1834)
Avoid relying on block.timestamp.
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#545) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#546) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#563) is not in mixedCase
Function IUniswapV2Router01.WETH() (#602) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1136) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1143) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1150) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1160) is not in mixedCase
Constant DividendPayingToken.magnitude (#1051) is not in UPPER_CASE_WITH_UNDERSCORES
Event BNBBACKmarketingWalletUpdated(address,address) (#1260) is not in CapWords
Variable BNBBACK.BNBRewardsBuyFee (#1233) is not in mixedCase
Variable BNBBACK.BNBRewardsSellFee (#1234) is not in mixedCase
Variable BNBBACK.BNBRewardsFeeAmount (#1245) is not in mixedCase
Parameter BNBBACKDividendTracker.updateMinimumTokenBalanceForDividends(uint256)._newMinimumBalance (#1734) is not in mixedCase
Parameter BNBBACKDividendTracker.getAccount(address)._account (#1765) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#124)" inContext (#118-127)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#607) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#608)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1115) is too similar to BNBBACKDividendTracker.getAccount(address).withdrawableDividends (#1770)
Prevent variables from having similar names.
Additional information: link
BNBBACK.constructor() (#1293-1343) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (#1342)
BNBBACK.updateGasForProcessing(uint256) (#1417-1422) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BNBBACK: gasForProcessing must be between 200,000 and 500,000) (#1418)
BNBBACK.slitherConstructorVariables() (#1213-1699) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#1218)
BNBBACK.slitherConstructorVariables() (#1213-1699) uses literals with too many digits:
- swapTokensAtAmount = 200000 * (10 ** 18) (#1229)
BNBBACK.slitherConstructorVariables() (#1213-1699) uses literals with too many digits:
- gasForProcessing = 300000 (#1251)
BNBBACKDividendTracker.getAccountAtIndex(uint256) (#1810-1827) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1821)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#408) is never used in SafeMathInt (#406-464)
Remove unused state variables.
Additional information: link
BNBBACK.deadWallet (#1218) should be constant
BNBBACK.swapTokensAtAmount (#1229) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#167-170)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#176-180)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#336-338)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#340-345)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#347-349)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#353-355)
name() should be declared external:
- ERC20.name() (#790-792)
symbol() should be declared external:
- ERC20.symbol() (#798-800)
decimals() should be declared external:
- ERC20.decimals() (#815-817)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#841-844)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#849-851)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#860-863)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#878-886)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#900-903)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#919-922)
withdrawDividend() should be declared external:
- BNBBACKDividendTracker.withdrawDividend() (#1730-1732)
- DividendPayingToken.withdrawDividend() (#1108-1110)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1136-1138)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1150-1152)
updateDividendTracker(address) should be declared external:
- BNBBACK.updateDividendTracker(address) (#1349-1365)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BNBBACK.excludeMultipleAccountsFromFees(address[],bool) (#1383-1389)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BNBBACK.setAutomatedMarketMakerPair(address,bool) (#1392-1396)
updateLiquidityWallet(address) should be declared external:
- BNBBACK.updateLiquidityWallet(address) (#1410-1415)
updateGasForProcessing(uint256) should be declared external:
- BNBBACK.updateGasForProcessing(uint256) (#1417-1422)
isExcludedFromFees(address) should be declared external:
- BNBBACK.isExcludedFromFees(address) (#1460-1462)
withdrawableDividendOf(address) should be declared external:
- BNBBACK.withdrawableDividendOf(address) (#1464-1466)
dividendTokenBalanceOf(address) should be declared external:
- BNBBACK.dividendTokenBalanceOf(address) (#1468-1470)
updatemarketingWallet(address) should be declared external:
- BNBBACK.updatemarketingWallet(address) (#1595-1599)
getAccountAtIndex(uint256) should be declared external:
- BNBBACKDividendTracker.getAccountAtIndex(uint256) (#1810-1827)
process(uint256) should be declared external:
- BNBBACKDividendTracker.process(uint256) (#1854-1899)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts