Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
UnlimitedBNB.addLiquidity(uint256,uint256) (#1825-1840) sends eth to arbitrary user
Dangerous calls:
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1831-1838)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#996-1012):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1001)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1004)
Apply the check-effects-interactions pattern.
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.
UnlimitedBNB._transfer(address,address,uint256) (#1686-1769) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1742)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1746)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in UnlimitedBNB.updateDividendTracker(address) (#1534-1549):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1541)
- newDividendTracker.excludeFromDividends(address(this)) (#1542)
- newDividendTracker.excludeFromDividends(owner()) (#1543)
- newDividendTracker.excludeFromDividends(address(pancakeswapV2Router)) (#1544)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1548)
Apply the check-effects-interactions pattern.
Additional information: link
UnlimitedBNB._transfer(address,address,uint256).lastProcessedIndex (#1762) 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
UnlimitedBNB.addLiquidity(uint256,uint256) (#1825-1840) ignores return value by pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1831-1838)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string,uint8)._decimals (#953) shadows:
- BEP20._decimals (#391) (state variable)
Rename the local variables that shadow another component.
Additional information: link
UnlimitedBNB.setNewFee(uint256) (#1618-1620) should emit an event for:
- sellFeeIncreaseFactor = feeAmount (#1619)
Emit an event for critical parameter changes.
Additional information: link
Variable 'UnlimitedBNB._transfer(address,address,uint256).lastProcessedIndex (#1762)' in UnlimitedBNB._transfer(address,address,uint256) (#1686-1769) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1763)
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 UnlimitedBNB.swapAndLiquify(uint256) (#1771-1792):
External calls:
- swapTokensForEth(half) (#1783)
- pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1805-1811)
- addLiquidity(otherHalf,newBalance) (#1789)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1831-1838)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1789)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1831-1838)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1789)
- _allowances[owner][spender] = amount (#635)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in UnlimitedBNB.updateDividendTracker(address) (#1534-1549):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1541)
- newDividendTracker.excludeFromDividends(address(this)) (#1542)
- newDividendTracker.excludeFromDividends(owner()) (#1543)
- newDividendTracker.excludeFromDividends(address(pancakeswapV2Router)) (#1544)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1546)
Apply the check-effects-interactions pattern.
Additional information: link
UnliBNBDividendTracker.canAutoClaim(uint256) (#1332-1338) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1333)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1337)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (#291-298) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in UnlimitedBNB.swapAndSendDividends(uint256) (#1842-1850):
- (success) = address(dividendTracker).call{value: dividends}() (#1845)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable UnlimitedBNB.TeamWallet (#1434) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#133)" inContext (#127-136)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in UnlimitedBNB._transfer(address,address,uint256) (#1686-1769):
External calls:
- swapAndSendToMarketing(marketingTokens) (#1725)
- address(marketingWallet).transfer(newBalance) (#1822)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1722)
- pancakeswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1831-1838)
- swapAndSendToMarketing(marketingTokens) (#1725)
- address(marketingWallet).transfer(newBalance) (#1822)
- swapAndSendDividends(sellTokens) (#1728)
- (success) = address(dividendTracker).call{value: dividends}() (#1845)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1728)
- _allowances[owner][spender] = amount (#635)
- super._transfer(from,address(this),fees) (#1751)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#569)
- _balances[recipient] = _balances[recipient].add(amount) (#570)
- super._transfer(from,to,amount) (#1754)
- _balances[sender] = _balances[sender].sub(amount,BEP20: transfer amount exceeds balance) (#569)
- _balances[recipient] = _balances[recipient].add(amount) (#570)
- swapping = false (#1730)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#636)
- swapAndSendDividends(sellTokens) (#1728)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1763)
- SendDividends(tokens,dividends) (#1848)
- swapAndSendDividends(sellTokens) (#1728)
- Transfer(sender,recipient,amount) (#571)
- super._transfer(from,to,amount) (#1754)
- Transfer(sender,recipient,amount) (#571)
- super._transfer(from,address(this),fees) (#1751)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#997) is too similar to UnliBNBDividendTracker.getAccount(address).withdrawableDividends (#1273)
Prevent variables from having similar names.
Additional information: link
UnlimitedBNB.slitherConstructorVariables() (#1416-1852) uses literals with too many digits:
- gasForProcessing = 300000 (#1441)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#286) is never used in SafeMathInt (#284-342)
Remove unused state variables.
Additional information: link
UnlimitedBNB.marketingWallet (#1421) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
dividendTokenBalanceOf(address) should be declared external:
- UnlimitedBNB.dividendTokenBalanceOf(address) (#1638-1640)
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
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts