The BEND Game is a multiplayer 3D racing game where users can both earn income by competing in the game and earn more with the income stations in it.
With the BEND token, you can buy and modify super cars and participate in races with it. BEND token will be used when selling or renting your super car. In your betting races, you can only set the number of BEND tokens as your bet. Only BEND token will be used as a payment tool when renting billboards and then using them for other advertisements. If you win the big tournament, we will pay you in BUSD or TETHER. The reason for this is to prevent the winner of the race from creating a dump by selling these tokens if we give the prize as BEND tokens. If there is a user who wants it as a BEND token, he can buy the BEND token with the BNB award we will give him.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BEND.addLiquidity(uint256,uint256) (#2097-2110) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
BEND.swapAndSendDividends(uint256) (#2123-2159) sends eth to arbitrary user
Dangerous calls:
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
- bend.transfer(account,received) (#2543)
External calls sending eth:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
State variables written after the call(s):
- withdrawnDividends[account] = withdrawnDividends[account].sub(_withdrawableDividend) (#2552-2554)
Reentrancy in BEND._transfer(address,address,uint256) (#1893-2022):
External calls:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- swapAndSendDividends(remainingBalance) (#1980)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- swapAndSendDividends(remainingBalance) (#1980)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1998)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#561-564)
- _balances[recipient] = _balances[recipient].add(amount) (#565)
- buyAmount = 0 (#1982)
- buyAmount = buyAmount.add(fees) (#1995)
- sellAmount = 0 (#1983)
- sellAmount = sellAmount.add(fees) (#1993)
- swapping = false (#1985)
Reentrancy in BEND._transfer(address,address,uint256) (#1893-2022):
External calls:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- swapAndSendDividends(remainingBalance) (#1980)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
- dividendTracker.process(gas) (#2002-2015)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- swapAndSendDividends(remainingBalance) (#1980)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
State variables written after the call(s):
- super._transfer(from,to,amount) (#2018)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#561-564)
- _balances[recipient] = _balances[recipient].add(amount) (#565)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1276-1303):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1287-1290)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1293-1295)
Reentrancy in BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625):
External calls:
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#2613-2615)
Reentrancy in BEND.forceSwapAndSendDividends(uint256) (#2112-2121):
External calls:
- swapAndSendDividends(tokens) (#2117)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
External calls sending eth:
- swapAndSendDividends(tokens) (#2117)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
State variables written after the call(s):
- buyAmount = buyAmount.sub(fromBuy) (#2119)
- sellAmount = sellAmount.sub(fromSell) (#2120)
Apply the check-effects-interactions pattern.
Additional information: link
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) ignores return value by bend.transfer(account,received) (#2543)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Contract ownership is not renounced (belongs to a wallet)
BEND.updateFees(uint256,uint256,uint256,uint256,uint256) (#1748-1777) contains a tautology or contradiction:
- require(bool,string)(BENDRewardsBuyTax >= 0 && BENDRewardsBuyTax <= 10,BENDreward fees must be between 0 and 10) (#1758-1761)
BEND.updateFees(uint256,uint256,uint256,uint256,uint256) (#1748-1777) contains a tautology or contradiction:
- require(bool,string)(BENDRewardsSellTax >= 0 && BENDRewardsSellTax <= 10,BEND reward fees must be between 0 and 10) (#1762-1765)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
SafeMathInt.MAX_INT256 (#928) is never used in SafeMathInt (#926-983)
Remove unused state variables.
Additional information: link
name() should be declared external:
- ERC20.name() (#355-357)
symbol() should be declared external:
- ERC20.symbol() (#363-365)
decimals() should be declared external:
- BEND.decimals() (#1570-1572)
- BENDDividendTracker.decimals() (#2221-2223)
- ERC20.decimals() (#380-382)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#412-420)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#425-433)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#442-450)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#465-480)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#494-505)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#521-535)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#907-910)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#916-923)
withdrawDividend() should be declared external:
- BENDDividendTracker.withdrawDividend() (#2233-2238)
- DividendPayingToken.withdrawDividend() (#1270-1272)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#1308-1310)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#1327-1334)
UpdatestakeAddress(address) should be declared external:
- BEND.UpdatestakeAddress(address) (#1581-1584)
updateStakingAmounts(uint256,uint256) should be declared external:
- BEND.updateStakingAmounts(uint256,uint256) (#1587-1596)
enableStaking(bool) should be declared external:
- BEND.enableStaking(bool) (#1606-1611)
stake(uint256) should be declared external:
- BEND.stake(uint256) (#1613-1630)
updateMaxAmount(uint256) should be declared external:
- BEND.updateMaxAmount(uint256) (#1632-1641)
updateSwapTokensAtAmount(uint256) should be declared external:
- BEND.updateSwapTokensAtAmount(uint256) (#1643-1650)
updateDividendTracker(address) should be declared external:
- BEND.updateDividendTracker(address) (#1652-1669)
updateOperations1Address(address) should be declared external:
- BEND.updateOperations1Address(address) (#1671-1676)
updateOperations2Address(address) should be declared external:
- BEND.updateOperations2Address(address) (#1678-1683)
updateUniswapV2Router(address) should be declared external:
- BEND.updateUniswapV2Router(address) (#1685-1690)
enableSwapAndLiquify(bool) should be declared external:
- BEND.enableSwapAndLiquify(bool) (#1699-1704)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BEND.setAutomatedMarketMakerPair(address,bool) (#1706-1713)
setAllowCustomTokens(bool) should be declared external:
- BEND.setAllowCustomTokens(bool) (#1715-1717)
setAllowAutoReinvest(bool) should be declared external:
- BEND.setAllowAutoReinvest(bool) (#1719-1721)
updateLiquidityWallet(address) should be declared external:
- BEND.updateLiquidityWallet(address) (#1733-1740)
updateGasForProcessing(uint256) should be declared external:
- BEND.updateGasForProcessing(uint256) (#1742-1746)
updateFees(uint256,uint256,uint256,uint256,uint256) should be declared external:
- BEND.updateFees(uint256,uint256,uint256,uint256,uint256) (#1748-1777)
isExcludedFromFees(address) should be declared external:
- BEND.isExcludedFromFees(address) (#1791-1793)
withdrawableDividendOf(address) should be declared external:
- BEND.withdrawableDividendOf(address) (#1795-1801)
dividendTokenBalanceOf(address) should be declared external:
- BEND.dividendTokenBalanceOf(address) (#1803-1809)
updatePayoutToken(address) should be declared external:
- BEND.updatePayoutToken(address) (#2074-2080)
getPayoutToken(address) should be declared external:
- BEND.getPayoutToken(address) (#2082-2084)
updateAllowTokens(address,bool) should be declared external:
- BEND.updateAllowTokens(address,bool) (#2086-2091)
getAllowTokens(address) should be declared external:
- BEND.getAllowTokens(address) (#2093-2095)
forceSwapAndSendDividends(uint256) should be declared external:
- BEND.forceSwapAndSendDividends(uint256) (#2112-2121)
getAccountAtIndex(uint256) should be declared external:
- BENDDividendTracker.getAccountAtIndex(uint256) (#2343-2369)
process(uint256) should be declared external:
- BENDDividendTracker.process(uint256) (#2395-2447)
updateUniswapV2Router(address) should be declared external:
- BENDDividendTracker.updateUniswapV2Router(address) (#2481-2483)
updatePayoutToken(address,address) should be declared external:
- BENDDividendTracker.updatePayoutToken(address,address) (#2485-2494)
getPayoutToken(address) should be declared external:
- BENDDividendTracker.getPayoutToken(address) (#2496-2498)
updateAllowTokens(address,bool) should be declared external:
- BENDDividendTracker.updateAllowTokens(address,bool) (#2500-2502)
getAllowTokens(address) should be declared external:
- BENDDividendTracker.getAllowTokens(address) (#2504-2506)
Use the external attribute for functions never called from the contract.
Additional information: link
BEND._transfer(address,address,uint256) (#1893-2022) performs a multiplication on the result of a division:
-swapAmountBought = contractTokenBalance.mul(buyAmount).div(totalBuySell) (#1958-1960)
-swapBuyTokens = swapAmountBought.mul(liquidityFee).div(totalBuyFees) (#1965-1967)
BEND._transfer(address,address,uint256) (#1893-2022) performs a multiplication on the result of a division:
-swapAmountSold = contractTokenBalance.mul(sellAmount).div(totalBuySell) (#1961-1963)
-swapSellTokens = swapAmountSold.mul(liquidityFee).div(totalSellFees) (#1969-1971)
BEND.swapAndSendDividends(uint256) (#2123-2159) performs a multiplication on the result of a division:
-dividendsFromBuy = address(this).balance.mul(buyAmount).div(totalAmount).mul(BENDRewardsBuyFee).div(BENDRewardsBuyFee.add(operationsBuyFee)) (#2127-2132)
BEND.swapAndSendDividends(uint256) (#2123-2159) performs a multiplication on the result of a division:
-dividendsFromSell = address(this).balance.mul(sellAmount).div(totalAmount).mul(BENDRewardsSellFee).div(BENDRewardsSellFee.add(operationsSellFee)) (#2134-2139)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in BEND.updateDividendTracker(address) (#1652-1669):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1661)
- newDividendTracker.excludeFromDividends(address(this)) (#1662)
- newDividendTracker.excludeFromDividends(owner()) (#1663)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1664)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1668)
Apply the check-effects-interactions pattern.
Additional information: link
BEND._transfer(address,address,uint256).lastProcessedIndex (#2005) is a local variable never initialized
BENDDividendTracker._withdrawDividendOfUser(address).success (#2577) is a local variable never initialized
BENDDividendTracker._reinvestDividendOfUser(address).success (#2514) is a local variable never initialized
BEND._transfer(address,address,uint256).iterations (#2003) is a local variable never initialized
BEND._transfer(address,address,uint256).claims (#2004) 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
BEND.constructor() (#1527-1568) ignores return value by dividendTracker.excludedFromDividends(address(0)) (#1550)
BEND.claim() (#1857-1859) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1858)
BEND._transfer(address,address,uint256) (#1893-2022) ignores return value by dividendTracker.process(gas) (#2002-2015)
BEND.addLiquidity(uint256,uint256) (#2097-2110) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#1231) shadows:
- ERC20._name (#335) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#1231) shadows:
- ERC20._symbol (#336) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BEND.updateMaxAmount(uint256) (#1632-1641) should emit an event for:
- maxSellTransactionAmount = newNum * (10 ** 9) (#1640)
BEND.updateSwapTokensAtAmount(uint256) (#1643-1650) should emit an event for:
- swapTokensAtAmount = newNum * (10 ** 9) (#1649)
BEND.forceSwapAndSendDividends(uint256) (#2112-2121) should emit an event for:
- buyAmount = buyAmount.sub(fromBuy) (#2119)
- sellAmount = sellAmount.sub(fromSell) (#2120)
Emit an event for critical parameter changes.
Additional information: link
BEND.recoveryBalance(uint256,address).receiver (#1575) lacks a zero-check on :
- receiver.transfer(amount) (#1578)
BEND.UpdatestakeAddress(address)._contractAddress (#1581) lacks a zero-check on :
- stakingAddress = _contractAddress (#1582)
BEND.updateOperations1Address(address).newAddress (#1671) lacks a zero-check on :
- operations1Address = newAddress (#1675)
BEND.updateOperations2Address(address).newAddress (#1678) lacks a zero-check on :
- operations2Address = newAddress (#1682)
BEND.updateLiquidityWallet(address).newLiquidityWallet (#1733) lacks a zero-check on :
- liquidityWallet = newLiquidityWallet (#1739)
Ownable.constructor().msgSender (#880) lacks a zero-check on :
- _owner = msgSender (#881)
Check that the address is not zero.
Additional information: link
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) has external calls inside a loop: path[0] = uniswapV2Router.WETH() (#2521)
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) has external calls inside a loop: prevBalance = bend.balanceOf(address(this)) (#2524)
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) has external calls inside a loop: uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) has external calls inside a loop: received = bend.balanceOf(address(this)).sub(prevBalance) (#2538-2540)
BENDDividendTracker._reinvestDividendOfUser(address) (#2508-2562) has external calls inside a loop: bend.transfer(account,received) (#2543)
BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625) has external calls inside a loop: (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625) has external calls inside a loop: path[0] = uniswapV2Router.WETH() (#2592)
BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625) has external calls inside a loop: uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'BEND._transfer(address,address,uint256).claims (#2004)' in BEND._transfer(address,address,uint256) (#1893-2022) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007-2014)
Variable 'BEND._transfer(address,address,uint256).iterations (#2003)' in BEND._transfer(address,address,uint256) (#1893-2022) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007-2014)
Variable 'BEND._transfer(address,address,uint256).lastProcessedIndex (#2005)' in BEND._transfer(address,address,uint256) (#1893-2022) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007-2014)
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 BEND._transfer(address,address,uint256) (#1893-2022):
External calls:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- swapAndSendDividends(remainingBalance) (#1980)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- swapAndSendDividends(remainingBalance) (#1980)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
State variables written after the call(s):
- swapAndSendDividends(remainingBalance) (#1980)
- _allowances[owner][spender] = amount (#633)
Reentrancy in BEND.constructor() (#1527-1568):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1537-1540)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
- dividendTracker.excludeFromDividends(pair) (#1727)
State variables written after the call(s):
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
- automatedMarketMakerPairs[pair] = value (#1724)
Reentrancy in BEND.constructor() (#1527-1568):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1537-1540)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
- dividendTracker.excludeFromDividends(pair) (#1727)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1545)
- dividendTracker.excludeFromDividends(address(this)) (#1546)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1547-1549)
- dividendTracker.excludeFromDividends(owner()) (#1551)
- dividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1552)
State variables written after the call(s):
- _mint(owner(),1000000 * (10 ** 9)) (#1567)
- _balances[account] = _balances[account].add(amount) (#584)
- _isExcludedFromFees[liquidityWallet] = true (#1555)
- _isExcludedFromFees[address(this)] = true (#1556)
- _isExcludedFromFees[owner()] = true (#1557)
- _isExcludedFromFees[address(dividendTracker)] = true (#1558)
- _mint(owner(),1000000 * (10 ** 9)) (#1567)
- _totalSupply = _totalSupply.add(amount) (#583)
- totalBuyFees = BENDRewardsBuyFee.add(liquidityFee).add(operationsBuyFee) (#1561)
- totalSellFees = BENDRewardsSellFee.add(liquidityFee).add(operationsSellFee) (#1560)
Reentrancy in BENDDividendTracker.processAccount(address,bool) (#2449-2479):
External calls:
- amount = _reinvestDividendOfUser(account) (#2464-2466)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
- bend.transfer(account,received) (#2543)
- amount = _withdrawDividendOfUser(account) (#2464-2466)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
External calls sending eth:
- amount = _reinvestDividendOfUser(account) (#2464-2466)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
- amount = _withdrawDividendOfUser(account) (#2464-2466)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#2469)
Reentrancy in BEND.swapAndLiquify(uint256) (#2033-2054):
External calls:
- swapTokensForEth(half) (#2045)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- addLiquidity(otherHalf,newBalance) (#2051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#2051)
- _allowances[owner][spender] = amount (#633)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BEND._setAutomatedMarketMakerPair(address,bool) (#1723-1731):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1727)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1730)
Reentrancy in BEND._transfer(address,address,uint256) (#1893-2022):
External calls:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- swapAndSendDividends(remainingBalance) (#1980)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- swapAndSendDividends(remainingBalance) (#1980)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#634)
- swapAndSendDividends(remainingBalance) (#1980)
- SendDividends(dividends,theRest,success && successOp1 && successOp2) (#2154-2158)
- swapAndSendDividends(remainingBalance) (#1980)
- Transfer(sender,recipient,amount) (#566)
- super._transfer(from,address(this),fees) (#1998)
Reentrancy in BEND._transfer(address,address,uint256) (#1893-2022):
External calls:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- swapAndSendDividends(remainingBalance) (#1980)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
- dividendTracker.process(gas) (#2002-2015)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1975)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
- swapAndSendDividends(remainingBalance) (#1980)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2007-2014)
- Transfer(sender,recipient,amount) (#566)
- super._transfer(from,to,amount) (#2018)
Reentrancy in BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625):
External calls:
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
Event emitted after the call(s):
- DividendWithdrawn(user,_withdrawableDividend) (#2618)
Reentrancy in BEND.constructor() (#1527-1568):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1537-1540)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
- dividendTracker.excludeFromDividends(pair) (#1727)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1730)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
Reentrancy in BEND.constructor() (#1527-1568):
External calls:
- uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1537-1540)
- _setAutomatedMarketMakerPair(uniswapV2Pair,true) (#1542)
- dividendTracker.excludeFromDividends(pair) (#1727)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#1545)
- dividendTracker.excludeFromDividends(address(this)) (#1546)
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1547-1549)
- dividendTracker.excludeFromDividends(owner()) (#1551)
- dividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1552)
Event emitted after the call(s):
- Transfer(address(0),account,amount) (#585)
- _mint(owner(),1000000 * (10 ** 9)) (#1567)
Reentrancy in BENDDividendTracker.processAccount(address,bool) (#2449-2479):
External calls:
- amount = _reinvestDividendOfUser(account) (#2464-2466)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
- bend.transfer(account,received) (#2543)
- amount = _withdrawDividendOfUser(account) (#2464-2466)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
External calls sending eth:
- amount = _reinvestDividendOfUser(account) (#2464-2466)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(this),block.timestamp) (#2527-2549)
- amount = _withdrawDividendOfUser(account) (#2464-2466)
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,user,block.timestamp) (#2595-2609)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2473)
- DividendReinvested(account,amount,automatic) (#2471)
Reentrancy in BEND.processDividendTracker(uint256) (#1841-1855):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1842-1846)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1847-1854)
Reentrancy in BEND.setPresaleWallet(address) (#1599-1604):
External calls:
- dividendTracker.excludeFromDividends(wallet) (#1601)
Event emitted after the call(s):
- SetPreSaleWallet(wallet) (#1603)
Reentrancy in BEND.stake(uint256) (#1613-1630):
External calls:
- dividendTracker.setBalance(_msgSender(),getStakingBalance(_msgSender())) (#1624-1627)
Event emitted after the call(s):
- EnableAccountStaking(_msgSender(),duration) (#1629)
Reentrancy in BEND.swapAndLiquify(uint256) (#2033-2054):
External calls:
- swapTokensForEth(half) (#2045)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- addLiquidity(otherHalf,newBalance) (#2051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#2051)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2102-2109)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#634)
- addLiquidity(otherHalf,newBalance) (#2051)
- SwapAndLiquify(half,newBalance,otherHalf) (#2053)
Reentrancy in BEND.swapAndSendDividends(uint256) (#2123-2159):
External calls:
- swapTokensForEth(tokens) (#2124)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#2065-2071)
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
Event emitted after the call(s):
- SendDividends(dividends,theRest,success && successOp1 && successOp2) (#2154-2158)
Reentrancy in BEND.updateAllowTokens(address,bool) (#2086-2091):
External calls:
- dividendTracker.updateAllowTokens(token,allow) (#2089)
Event emitted after the call(s):
- UpdateAllowTokens(token,allow) (#2090)
Reentrancy in BEND.updateDividendTracker(address) (#1652-1669):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1661)
- newDividendTracker.excludeFromDividends(address(this)) (#1662)
- newDividendTracker.excludeFromDividends(owner()) (#1663)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1664)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1666)
Reentrancy in BEND.updatePayoutToken(address) (#2074-2080):
External calls:
- dividendTracker.updatePayoutToken(msg.sender,token) (#2078)
Event emitted after the call(s):
- UpdatePayoutToken(msg.sender,token) (#2079)
Apply the check-effects-interactions pattern.
Additional information: link
BEND.stake(uint256) (#1613-1630) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(stakingUntilDate[_msgSender()] < block.timestamp.add(duration),already staked for a longer duration) (#1616-1619)
BEND._transfer(address,address,uint256) (#1893-2022) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= forceStartTradingAt,Trading has not yet been enabled) (#1900-1903)
- require(bool,string)(stakingUntilDate[from] <= block.timestamp,Tokens are staked and locked!) (#1914-1917)
- stakingUntilDate[from] != 0 (#1918)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1360-1375) is never used and should be removed
DividendPayingToken._withdrawDividendOfUser(address) (#1276-1303) is never used and should be removed
IterableMapping.get(IterableMapping.Map,address) (#163-165) is never used and should be removed
SafeMath.mod(uint256,uint256) (#842-844) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#858-865) is never used and should be removed
SafeMathInt.abs(int256) (#974-977) is never used and should be removed
SafeMathInt.div(int256,int256) (#945-951) is never used and should be removed
SafeMathInt.mul(int256,int256) (#933-940) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version^0.8.0 (#2) allows old versions
solc-0.8.0 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 DividendPayingToken._withdrawDividendOfUser(address) (#1276-1303):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1287-1290)
Low level call in BEND.swapAndSendDividends(uint256) (#2123-2159):
- (success) = address(dividendTracker).call{value: dividends}() (#2143)
- (successOp1) = address(operations1Address).call{value: half}() (#2148)
- (successOp2) = address(operations2Address).call{value: otherHalf}() (#2150-2152)
Low level call in BENDDividendTracker._withdrawDividendOfUser(address) (#2565-2625):
- (success,None) = user.call{gas: 3000,value: _withdrawableDividend}() (#2585-2588)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#48) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#50) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#81) is not in mixedCase
Function IUniswapV2Router01.WETH() (#996) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#1308) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#1315) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#1327) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#1341) is not in mixedCase
Constant DividendPayingToken.magnitude (#1211) is not in UPPER_CASE_WITH_UNDERSCORES
Function BEND.UpdatestakeAddress(address) (#1581-1584) is not in mixedCase
Parameter BEND.UpdatestakeAddress(address)._contractAddress (#1581) is not in mixedCase
Parameter BEND.updateFees(uint256,uint256,uint256,uint256,uint256).BENDRewardsBuyTax (#1752) is not in mixedCase
Parameter BEND.updateFees(uint256,uint256,uint256,uint256,uint256).BENDRewardsSellTax (#1753) is not in mixedCase
Variable BEND.BENDRewardsBuyFee (#1447) is not in mixedCase
Variable BEND.BENDRewardsSellFee (#1448) is not in mixedCase
Parameter BENDDividendTracker.getAccount(address)._account (#2302) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
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 (#1001) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1002)
Variable BEND.operations1Address (#1436-1437) is too similar to BEND.operations2Address (#1438-1439)
Variable BENDDividendTracker._withdrawDividendOfUser(address)._withdrawableDividend (#2570) is too similar to BENDDividendTracker.getAccount(address).withdrawableDividends (#2309)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1281) is too similar to BENDDividendTracker.getAccount(address).withdrawableDividends (#2309)
Variable BENDDividendTracker._reinvestDividendOfUser(address)._withdrawableDividend (#2512) is too similar to BENDDividendTracker.getAccount(address).withdrawableDividends (#2309)
Prevent variables from having similar names.
Additional information: link
BEND.constructor() (#1527-1568) uses literals with too many digits:
- dividendTracker.excludeFromDividends(0x000000000000000000000000000000000000dEaD) (#1547-1549)
BEND.constructor() (#1527-1568) uses literals with too many digits:
- _mint(owner(),1000000 * (10 ** 9)) (#1567)
BEND.updateGasForProcessing(uint256) (#1742-1746) uses literals with too many digits:
- require(bool)(newValue >= 200000 && newValue <= 600000) (#1743)
BEND.slitherConstructorVariables() (#1414-2160) uses literals with too many digits:
- gasForProcessing = 300000 (#1452)
BENDDividendTracker.getAccountAtIndex(uint256) (#2343-2369) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0) (#2356-2363)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / 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 relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account