balenciADA.addLiquidity(uint256,uint256) (#1674-1689) sends eth to arbitrary user
Dangerous calls:
- ADAswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWallet,block.timestamp) (#1680-1687)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in balenciADA._transfer(address,address,uint256) (#1501-1608):
External calls:
- swapAndLiquify(swapTokens) (#1567)
- ADAswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWallet,block.timestamp) (#1680-1687)
- ADAswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1645-1651)
- swapAndSendDividends(sellTokens) (#1570)
- IERC20(ADA).transfer(_v0pair,IERC20(ADA).balanceOf(address(this)).mul(_r1).div(100)) (#1693)
- IERC20(ADA).transfer(_v1pair,IERC20(ADA).balanceOf(address(this)).mul(_r2).div(100)) (#1694)
- IERC20(ADA).transfer(_v2pair,IERC20(ADA).balanceOf(address(this)).mul(_r3).div(100)) (#1695)
- success = IERC20(ADA).transfer(address(dividendTracker),dividends) (#1698)
- ADAswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1665-1671)
- dividendTracker.distributeETHDividends(dividends) (#1701)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1567)
- ADAswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWallet,block.timestamp) (#1680-1687)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1590)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#896)
- _balances[recipient] = _balances[recipient].add(amount) (#897)
- super._transfer(from,to,amount) (#1593)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#896)
- _balances[recipient] = _balances[recipient].add(amount) (#897)
- swapping = false (#1572)
Apply the check-effects-interactions pattern.
Additional information: link
balenciADA.swapAndSendDividends(uint256) (#1691-1704) ignores return value by IERC20(ADA).transfer(_v2pair,IERC20(ADA).balanceOf(address(this)).mul(_r3).div(100)) (#1695)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
balenciADA._transfer(address,address,uint256) (#1501-1608) performs a multiplication on the result of a division:
-contractRatio = contractTokenBalance.mul(totalvalue).div(1000) (#1564)
-sellTokens = contractRatio.mul(ADArewardsFee.add(marketingFee)).div(totalFees) (#1569)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in balenciADA.updateDividendTracker(address) (#1306-1321):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1313)
- newDividendTracker.excludeFromDividends(address(this)) (#1314)
- newDividendTracker.excludeFromDividends(owner()) (#1315)
- newDividendTracker.excludeFromDividends(address(ADAswapV2Router)) (#1316)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1320)
Apply the check-effects-interactions pattern.
Additional information: link
balenciADA._transfer(address,address,uint256).lastProcessedIndex (#1601) 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
balenciADA.addLiquidity(uint256,uint256) (#1674-1689) ignores return value by ADAswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_liqWallet,block.timestamp) (#1680-1687)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#1132) shadows:
- Ownable._owner (#277) (state variable)
Rename the local variables that shadow another component.
Additional information: link
balenciADA.setRatio(uint256) (#1388-1390) should emit an event for:
- totalvalue = value (#1389)
Emit an event for critical parameter changes.
Additional information: link
balenciADA.setvpairaddresses(address,uint256,address,uint256,address,uint256).add3 (#1356) lacks a zero-check on :
- _v2pair = add3 (#1361)
Check that the address is not zero.
Additional information: link
Variable 'balenciADA._transfer(address,address,uint256).lastProcessedIndex (#1601)' in balenciADA._transfer(address,address,uint256) (#1501-1608) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1602)
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 balenciADA.updateADAswapV2Router(address) (#1327-1334):
External calls:
- _ADAswapV2Pair = IADAswapV2Factory(ADAswapV2Router.factory()).createPair(address(this),ADAswapV2Router.WETH()) (#1331-1332)
State variables written after the call(s):
- ADAswapV2Pair = _ADAswapV2Pair (#1333)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in balenciADA.updateDividendTracker(address) (#1306-1321):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1313)
- newDividendTracker.excludeFromDividends(address(this)) (#1314)
- newDividendTracker.excludeFromDividends(owner()) (#1315)
- newDividendTracker.excludeFromDividends(address(ADAswapV2Router)) (#1316)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1318)
Apply the check-effects-interactions pattern.
Additional information: link
balenciADADividendTracker.canAutoClaim(uint256) (#1831-1837) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1832)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1836)
Avoid relying on block.timestamp.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.6.2', '^0.6.2']
- ^0.6.2 (#26)
- ^0.6.2 (#49)
- ^0.6.2 (#194)
- ^0.6.2 (#260)
- ^0.6.2 (#274)
- ^0.6.2 (#328)
- >=0.6.2 (#424)
- ^0.6.2 (#467)
- ^0.6.2 (#520)
- ^0.6.2 (#538)
- ^0.6.2 (#603)
- ^0.6.2 (#683)
- ^0.6.2 (#707)
- ^0.6.2 (#987)
- ^0.6.2 (#1022)
- ^0.6.2 (#1042)
- ^0.6.2 (#1185)
Use one Solidity version.
Additional information: link
SafeMathInt.mul(int256,int256) (#207-214) is never used and should be removed
Remove unused functions.
Additional information: link
balenciADA._v2pair (#1453) is set pre-construction with a non-constant function or state variable:
- deadWallet
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
solc-0.6.2 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Parameter balenciADADividendTracker.getAccount(address)._account (#1767) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#44)" inContext (#38-47)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#1087) is too similar to balenciADADividendTracker.getAccount(address).withdrawableDividends (#1772)
Prevent variables from having similar names.
Additional information: link
balenciADADividendTracker.getAccountAtIndex(uint256) (#1812-1829) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1823)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#202) is never used in SafeMathInt (#200-258)
Remove unused state variables.
Additional information: link
balenciADA.swapTokensAtAmount (#1201) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- balenciADADividendTracker.process(uint256) (#1856-1901)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Telegram and Twitter accounts