BNB PAD IS THE FIRST DECENTRALIZED & BINANCE CHAIN IDO LAUNCH PAD, WHERE ONLY HIGHLY VETTED PROJECTS TRADE
BNBPAD.addLiquidity(uint256,uint256) (#2195-2207) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2198-2205)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#1422-1438):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1427)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#1430)
Apply the check-effects-interactions pattern.
Additional information: link
SafeToken.withdraw(address,uint256) (#1744-1747) ignores return value by IERC20(_token).transfer(safeManager,_amount) (#1746)
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.
BNBPAD.swapAndLiquify(uint256) (#2130-2165) performs a multiplication on the result of a division:
-DevelopmentAmount = deltaBalance.sub(bnbToAddLiquidityWith).div(totalFees.sub(liquidityFee)).mul(DevelopmentFee) (#2154)
Consider ordering multiplication before division.
Additional information: link
BNBPAD._transfer(address,address,uint256).claims (#2121) 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
BNBPAD.addLiquidity(uint256,uint256) (#2195-2207) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2198-2205)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._symbol (#1379) shadows:
- ERC20._symbol (#842) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BNBPAD.setSWapToensAtAmount(uint256) (#1962-1964) should emit an event for:
- swapTokensAtAmount = _newAmount (#1963)
Emit an event for critical parameter changes.
Additional information: link
BNBPAD.setDevelopmentWallet(address)._newDevelopmentWallet (#1871) lacks a zero-check on :
- DevelopmentWallet = _newDevelopmentWallet (#1872)
Check that the address is not zero.
Additional information: link
Variable 'BNBPAD._transfer(address,address,uint256).iterations (#2121)' in BNBPAD._transfer(address,address,uint256) (#2069-2128) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2122)
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 BNBPADDividendTracker.processAccount(address,bool) (#1720-1730):
External calls:
- amount = _withdrawDividendOfUser(account) (#1721)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#1427)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1724)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BNBPAD.swapAndLiquify(uint256) (#2130-2165):
External calls:
- swapTokensForBnb(toSwap,address(this)) (#2143)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,_to,block.timestamp) (#2180-2186)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2198-2205)
- (success) = address(dividendTracker).call{value: dividends}() (#2158)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2198-2205)
- DevelopmentWallet.transfer(DevelopmentAmount) (#2155)
- (success) = address(dividendTracker).call{value: dividends}() (#2158)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2161)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2164)
Apply the check-effects-interactions pattern.
Additional information: link
BNBPADDividendTracker.canAutoClaim(uint256) (#1648-1654) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1649)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1653)
Avoid relying on block.timestamp.
Additional information: link
SignedSafeMath.mul(int256,int256) (#183-185) is never used and should be removed
Remove unused functions.
Additional information: link
solc-0.8.7 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 BNBPAD.swapAndLiquify(uint256) (#2130-2165):
- (success) = address(dividendTracker).call{value: dividends}() (#2158)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable BNBPAD.DevelopmentWallet (#1805) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in BNBPAD.swapAndLiquify(uint256) (#2130-2165):
External calls:
- DevelopmentWallet.transfer(DevelopmentAmount) (#2155)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#2152)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#2198-2205)
- DevelopmentWallet.transfer(DevelopmentAmount) (#2155)
- (success) = address(dividendTracker).call{value: dividends}() (#2158)
Event emitted after the call(s):
- SendDividends(toSwap - tokensToAddLiquidityWith,dividends) (#2161)
- SwapAndLiquify(tokensToAddLiquidityWith,deltaBalance) (#2164)
Apply the check-effects-interactions pattern.
Additional information: link
Variable BNBPAD.BNBRewardsFee (#1800) is too similar to BNBPAD.setFee(uint256,uint256,uint256)._bnbRewardFee (#1855)
Prevent variables from having similar names.
Additional information: link
BNBPAD.slitherConstructorVariables() (#1783-2210) uses literals with too many digits:
- gasForProcessing = 300000 (#1808)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
setSwapAndLiquifyEnabled(bool) should be declared external:
- BNBPAD.setSwapAndLiquifyEnabled(bool) (#2064-2067)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
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
Unable to find code repository for the project
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account