BSCBAY is the first decentralized rewards launchpad that brings together the passive income tokenomics, liquidity generation protocols, launchpad and dexpad, auto buybacks and burn, liquidity and team token lockers and a suite of other utilities like charts and analytics, swap protocols and much more.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BSCBAY.swapETHForTokens(address,uint256) (#1236-1247) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
BSCBAY.addLiquidity(uint256,uint256) (#1267-1277) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- swapping = false (#1156)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1177)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#591)
- _balances[recipient] = _balances[recipient].add(amount) (#592)
- super._transfer(from,to,amount) (#1180)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#591)
- _balances[recipient] = _balances[recipient].add(amount) (#592)
Apply the check-effects-interactions pattern.
Additional information: link
BSCBAY.swapAndSendToFee(uint256,address) (#1197-1202) ignores return value by IERC20(USDT).transfer(wallet,newBalance) (#1201)
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.
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#669-682):
External calls:
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#674)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#676)
Reentrancy in BSCBAY.updateDividendTracker(address) (#841-854):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#845)
- newDividendTracker.excludeFromDividends(address(this)) (#846)
- newDividendTracker.excludeFromDividends(owner()) (#847)
- newDividendTracker.excludeFromDividends(deadWallet) (#848)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#849)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#853)
Apply the check-effects-interactions pattern.
Additional information: link
BSCBAY._transfer(address,address,uint256).iterations (#1188) is a local variable never initialized
BSCBAY._transfer(address,address,uint256).claims (#1188) is a local variable never initialized
BSCBAY._transfer(address,address,uint256).lastProcessedIndex (#1188) 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
BSCBAY.claim() (#1095-1097) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1096)
BSCBAY.claimAddress(address) (#1099-1101) ignores return value by dividendTracker.processAccount(address(claimee),false) (#1100)
BSCBAY._transfer(address,address,uint256) (#1119-1195) ignores return value by dividendTracker.process(gas) (#1188-1193)
BSCBAY.addLiquidity(uint256,uint256) (#1267-1277) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (#650) shadows:
- ERC20._name (#517) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#650) shadows:
- ERC20._symbol (#518) (state variable)
DividendPayingToken.dividendOf(address)._owner (#685) shadows:
- Ownable._owner (#140) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#689) shadows:
- Ownable._owner (#140) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#693) shadows:
- Ownable._owner (#140) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#697) shadows:
- Ownable._owner (#140) (state variable)
Rename the local variables that shadow another component.
Additional information: link
BSCBAY.setSwapTokensAtAmount(uint256) (#879-881) should emit an event for:
- swapTokensAtAmount = amount (#880)
BSCBAY.setUSDTRewardsFee(uint256) (#891-894) should emit an event for:
- USDTRewardsFee = value (#892)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee) (#893)
BSCBAY.setLiquiditFee(uint256) (#896-899) should emit an event for:
- liquidityFee = value (#897)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee) (#898)
BSCBAY.setMarketingFee(uint256) (#901-904) should emit an event for:
- marketingFee = value (#902)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee) (#903)
BSCBAY.setTeamFee(uint256) (#906-909) should emit an event for:
- TeamFee = value (#907)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee) (#908)
BSCBAY.setBuyBackFee(uint256) (#911-914) should emit an event for:
- buybackFee = value (#912)
- totalFees = USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee) (#913)
BSCBAY.setMaxTxPercent(uint256) (#950-952) should emit an event for:
- _maxTxAmount = totalSupply().mul(maxTxPercent).div(10000) (#951)
BSCBAY.changemaxdistributedividendLimit(uint256) (#970-972) should emit an event for:
- maxdistributeDividends = _newvalue (#971)
BSCBAY.changebuyBackthresholdLimit(uint256) (#974-976) should emit an event for:
- buyBackthresholdLimit = _newvalue (#975)
BSCBAY.setBuybackAmount(uint256) (#978-980) should emit an event for:
- buybackamount = _amount (#979)
BSCBAY.changeselltax(uint256) (#982-984) should emit an event for:
- selltax = _newtax (#983)
BSCBAY.buybackOnDemand(uint256) (#1030-1034) should emit an event for:
- totalbuyback = totalbuyback.add(_amount) (#1032)
BSCBAYDividendTracker.setLastProcessedIndex(uint256) (#1346-1348) should emit an event for:
- lastProcessedIndex = index (#1347)
Emit an event for critical parameter changes.
Additional information: link
BSCBAY.updateUniswapV2Router(address)._uniswapV2Pair (#860-861) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#862)
BSCBAY.setMarketingWallet(address).wallet (#883) lacks a zero-check on :
- _marketingWalletAddress = wallet (#884)
BSCBAY.setTeamWallet(address).wallet (#887) lacks a zero-check on :
- _TeamWalletAddress = wallet (#888)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (#669-682) has external calls inside a loop: success = IERC20(USDT).transfer(user,_withdrawableDividend) (#674)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'BSCBAY._transfer(address,address,uint256).claims (#1188)' in BSCBAY._transfer(address,address,uint256) (#1119-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Variable 'BSCBAY._transfer(address,address,uint256).iterations (#1188)' in BSCBAY._transfer(address,address,uint256) (#1119-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Variable 'BSCBAY._transfer(address,address,uint256).lastProcessedIndex (#1188)' in BSCBAY._transfer(address,address,uint256) (#1119-1195) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
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 BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
State variables written after the call(s):
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1151)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- sellForBuyback(buybackTokens) (#1153)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1155)
- _allowances[owner][spender] = amount (#622)
- totalbuyback = totalbuyback.add(buybackamount) (#1171)
Reentrancy in BSCBAY.constructor() (#807-835):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#811-812)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#815)
- uniswapV2Router = _uniswapV2Router (#814)
Reentrancy in BSCBAY.constructor() (#807-835):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#811-812)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#817)
- dividendTracker.excludeFromDividends(pair) (#931)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#818)
- dividendTracker.excludeFromDividends(address(this)) (#819)
- dividendTracker.excludeFromDividends(owner()) (#820)
- dividendTracker.excludeFromDividends(deadWallet) (#821)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#822)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (#828)
- _balances[account] = _balances[account].add(amount) (#602)
- excludeFromFees(owner(),true) (#824)
- _isExcludedFromFees[account] = excluded (#867)
- excludeFromFees(_marketingWalletAddress,true) (#825)
- _isExcludedFromFees[account] = excluded (#867)
- excludeFromFees(_TeamWalletAddress,true) (#826)
- _isExcludedFromFees[account] = excluded (#867)
- excludeFromFees(address(this),true) (#827)
- _isExcludedFromFees[account] = excluded (#867)
- _isExcludedFromMaxTx[owner()] = true (#831)
- _isExcludedFromMaxTx[address(this)] = true (#832)
- _isExcludedFromMaxTx[address(0x000000000000000000000000000000000000dEaD)] = true (#833)
- _isExcludedFromMaxTx[address(0)] = true (#834)
- _mint(owner(),1000000000 * (10 ** 18)) (#828)
- _totalSupply = _totalSupply.add(amount) (#601)
Reentrancy in BSCBAYDividendTracker.processAccount(address,bool) (#1469-1478):
External calls:
- amount = _withdrawDividendOfUser(account) (#1470)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#674)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1473)
Reentrancy in BSCBAY.sellForBuyback(uint256) (#1204-1209):
External calls:
- swapTokensForEth(tokens) (#1206)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
State variables written after the call(s):
- accumulatedBuyback = accumulatedBuyback.add(buybackrecieved) (#1208)
Reentrancy in BSCBAY.swapAndLiquify(uint256) (#1211-1219):
External calls:
- swapTokensForEth(half) (#1215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- addLiquidity(otherHalf,newBalance) (#1217)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1217)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1217)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
State variables written after the call(s):
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1014)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- sellForBuyback(buybackTokens) (#1019)
- _allowances[owner][spender] = amount (#622)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1024)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1024)
- _allowances[owner][spender] = amount (#622)
- swapping = false (#1027)
Reentrancy in BSCBAY.updateUniswapV2Router(address) (#856-863):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#860-861)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#862)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BSCBAY._setAutomatedMarketMakerPair(address,bool) (#926-935):
External calls:
- dividendTracker.excludeFromDividends(pair) (#931)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#934)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndLiquify(swapTokens) (#1151)
- SwapAndLiquify(half,newBalance,otherHalf) (#1218)
- swapAndLiquify(swapTokens) (#1151)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- sellForBuyback(buybackTokens) (#1153)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndSendDividends(sellTokens) (#1155)
- SendDividends(tokens,dividends) (#1292)
- swapAndSendDividends(sellTokens) (#1155)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#593)
- super._transfer(from,to,amount) (#1180)
- Transfer(sender,recipient,amount) (#593)
- super._transfer(from,address(this),fees) (#1177)
Reentrancy in BSCBAY._transfer(address,address,uint256) (#1119-1195):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1147)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1149)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1153)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1155)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1182)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1183)
- dividendTracker.process(gas) (#1188-1193)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1151)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- swapETHForTokens(deadWallet,buybackamount) (#1172)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(recipient),block.timestamp) (#1241-1246)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1189)
Reentrancy in BSCBAY.constructor() (#807-835):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#811-812)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#817)
- dividendTracker.excludeFromDividends(pair) (#931)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#934)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#817)
Reentrancy in BSCBAY.constructor() (#807-835):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#811-812)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#817)
- dividendTracker.excludeFromDividends(pair) (#931)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#818)
- dividendTracker.excludeFromDividends(address(this)) (#819)
- dividendTracker.excludeFromDividends(owner()) (#820)
- dividendTracker.excludeFromDividends(deadWallet) (#821)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#822)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#868)
- excludeFromFees(_TeamWalletAddress,true) (#826)
- ExcludeFromFees(account,excluded) (#868)
- excludeFromFees(_marketingWalletAddress,true) (#825)
- ExcludeFromFees(account,excluded) (#868)
- excludeFromFees(owner(),true) (#824)
- ExcludeFromFees(account,excluded) (#868)
- excludeFromFees(address(this),true) (#827)
- Transfer(address(0),account,amount) (#603)
- _mint(owner(),1000000000 * (10 ** 18)) (#828)
Reentrancy in BSCBAYDividendTracker.processAccount(address,bool) (#1469-1478):
External calls:
- amount = _withdrawDividendOfUser(account) (#1470)
- success = IERC20(USDT).transfer(user,_withdrawableDividend) (#674)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1474)
Reentrancy in BSCBAY.processDividendTracker(uint256) (#1090-1093):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1091)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1092)
Reentrancy in BSCBAY.swapAndLiquify(uint256) (#1211-1219):
External calls:
- swapTokensForEth(half) (#1215)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- addLiquidity(otherHalf,newBalance) (#1217)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1217)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- addLiquidity(otherHalf,newBalance) (#1217)
- SwapAndLiquify(half,newBalance,otherHalf) (#1218)
Reentrancy in BSCBAY.swapAndSendDividends(uint256) (#1280-1294):
External calls:
- swapTokensForUsdt(tokens) (#1281)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#1292)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndLiquify(swapTokens) (#1014)
- SwapAndLiquify(half,newBalance,otherHalf) (#1218)
- swapAndLiquify(swapTokens) (#1014)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- sellForBuyback(buybackTokens) (#1019)
Reentrancy in BSCBAY.swapOnDemand(bool,bool,bool,bool,bool) (#997-1028):
External calls:
- swapAndSendToFee(marketingTokens,_marketingWalletAddress) (#1004)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndSendToFee(TeamTokens,_TeamWalletAddress) (#1009)
- IERC20(USDT).transfer(wallet,newBalance) (#1201)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- sellForBuyback(buybackTokens) (#1019)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1227-1233)
- swapAndSendDividends(sellTokens) (#1024)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1258-1264)
- success = IERC20(USDT).transfer(address(dividendTracker),dividends) (#1288)
- dividendTracker.distributeUSDTDividends(dividends) (#1291)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1014)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1269-1276)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#623)
- swapAndSendDividends(sellTokens) (#1024)
- SendDividends(tokens,dividends) (#1292)
- swapAndSendDividends(sellTokens) (#1024)
Reentrancy in BSCBAY.updateDividendTracker(address) (#841-854):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#845)
- newDividendTracker.excludeFromDividends(address(this)) (#846)
- newDividendTracker.excludeFromDividends(owner()) (#847)
- newDividendTracker.excludeFromDividends(deadWallet) (#848)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#849)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#851)
Apply the check-effects-interactions pattern.
Additional information: link
BSCBAYDividendTracker.getAccount(address) (#1358-1387) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1386)
BSCBAYDividendTracker.canAutoClaim(uint256) (#1407-1412) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1408)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1411)
Avoid relying on block.timestamp.
Additional information: link
BSCBAY.ensureMaxTxAmount(address,address,uint256) (#937-948) compares to a boolean constant:
-_isExcludedFromMaxTx[from] == false && _isExcludedFromMaxTx[to] == false (#943-944)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#130-133) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#702-707) is never used and should be removed
SafeMath.mod(uint256,uint256) (#111-113) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#115-118) is never used and should be removed
SafeMathInt.abs(int256) (#41-44) is never used and should be removed
SafeMathInt.div(int256,int256) (#21-24) is never used and should be removed
SafeMathInt.mul(int256,int256) (#13-18) is never used and should be removed
Remove unused functions.
Additional information: link
BSCBAY.totalFees (#756) is set pre-construction with a non-constant function or state variable:
- USDTRewardsFee.add(liquidityFee).add(marketingFee).add(buybackFee).add(TeamFee)
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
Pragma version^0.6.2 (#7) allows old versions
Pragma version^0.6.2 (#55) allows old versions
Pragma version^0.6.2 (#67) allows old versions
Pragma version^0.6.2 (#123) allows old versions
Pragma version^0.6.2 (#137) allows old versions
Pragma version^0.6.2 (#176) allows old versions
Pragma version^0.6.2 (#315) allows old versions
Pragma version^0.6.2 (#369) allows old versions
Pragma version^0.6.2 (#388) allows old versions
Pragma version^0.6.2 (#452) allows old versions
Pragma version^0.6.2 (#473) allows old versions
Pragma version^0.6.2 (#483) allows old versions
Pragma version^0.6.2 (#493) allows old versions
Pragma version^0.6.2 (#509) allows old versions
Pragma version^0.6.2 (#635) allows old versions
Pragma version^0.6.2 (#735) 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
Function IUniswapV2Router01.WETH() (#180) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#332) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#333) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#350) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#685) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#689) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#693) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#697) is not in mixedCase
Constant DividendPayingToken.magnitude (#643) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter BSCBAY.setExcludeFromMaxTx(address,bool)._address (#954) is not in mixedCase
Parameter BSCBAY.setBuyBackStatus(bool)._enabled (#958) is not in mixedCase
Parameter BSCBAY.setdividendLimitStatus(bool)._enabled (#962) is not in mixedCase
Parameter BSCBAY.setSwappingStatus(bool)._enabled (#966) is not in mixedCase
Parameter BSCBAY.changemaxdistributedividendLimit(uint256)._newvalue (#970) is not in mixedCase
Parameter BSCBAY.changebuyBackthresholdLimit(uint256)._newvalue (#974) is not in mixedCase
Parameter BSCBAY.setBuybackAmount(uint256)._amount (#978) is not in mixedCase
Parameter BSCBAY.changeselltax(uint256)._newtax (#982) is not in mixedCase
Parameter BSCBAY.buybackOnDemand(uint256)._amount (#1030) is not in mixedCase
Constant BSCBAY.deadWallet (#744) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BSCBAY._isBlacklisted (#748) is not in mixedCase
Variable BSCBAY.USDTRewardsFee (#750) is not in mixedCase
Variable BSCBAY.TeamFee (#753) is not in mixedCase
Variable BSCBAY._marketingWalletAddress (#758) is not in mixedCase
Variable BSCBAY._TeamWalletAddress (#759) is not in mixedCase
Variable BSCBAY._maxTxAmount (#773) is not in mixedCase
Parameter BSCBAYDividendTracker.getAccount(address)._account (#1358) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#131)" inContext (#125-134)
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 (#185) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#186)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#670) is too similar to BSCBAYDividendTracker.getAccount(address).withdrawableDividends (#1363)
Prevent variables from having similar names.
Additional information: link
BSCBAY.constructor() (#807-835) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (#828)
BSCBAY.constructor() (#807-835) uses literals with too many digits:
- _isExcludedFromMaxTx[address(0x000000000000000000000000000000000000dEaD)] = true (#833)
BSCBAY.updateGasForProcessing(uint256) (#986-991) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (#987)
BSCBAY.slitherConstructorVariables() (#737-1296) uses literals with too many digits:
- swapTokensAtAmount = 40000000 * (10 ** 18) (#746)
BSCBAY.slitherConstructorVariables() (#737-1296) uses literals with too many digits:
- gasForProcessing = 300000 (#760)
BSCBAY.slitherConstructorVariables() (#737-1296) uses literals with too many digits:
- _maxTxAmount = 1000000000 * (10 ** 18) (#773)
BSCBAY.slitherConstructorConstantVariables() (#737-1296) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#744)
BSCBAYDividendTracker.constructor() (#1314-1317) uses literals with too many digits:
- minimumTokenBalanceForDividends = 20000000 * (10 ** 18) (#1316)
BSCBAYDividendTracker.getAccountAtIndex(uint256) (#1389-1405) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1400)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#11) is never used in SafeMathInt (#9-51)
Remove unused state variables.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#160-163)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#166-170)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#398-400)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#402-407)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#409-411)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#415-417)
name() should be declared external:
- ERC20.name() (#525-527)
symbol() should be declared external:
- ERC20.symbol() (#529-531)
decimals() should be declared external:
- ERC20.decimals() (#533-535)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#547-550)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#552-554)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#556-559)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#561-569)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#571-574)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#576-579)
distributeUSDTDividends(uint256) should be declared external:
- DividendPayingToken.distributeUSDTDividends(uint256) (#654-663)
withdrawDividend() should be declared external:
- BSCBAYDividendTracker.withdrawDividend() (#1323-1325)
- DividendPayingToken.withdrawDividend() (#665-667)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#685-687)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#693-695)
updateDividendTracker(address) should be declared external:
- BSCBAY.updateDividendTracker(address) (#841-854)
updateUniswapV2Router(address) should be declared external:
- BSCBAY.updateUniswapV2Router(address) (#856-863)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BSCBAY.excludeMultipleAccountsFromFees(address[],bool) (#871-877)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BSCBAY.setAutomatedMarketMakerPair(address,bool) (#916-920)
setMaxTxPercent(uint256) should be declared external:
- BSCBAY.setMaxTxPercent(uint256) (#950-952)
setExcludeFromMaxTx(address,bool) should be declared external:
- BSCBAY.setExcludeFromMaxTx(address,bool) (#954-956)
changeselltax(uint256) should be declared external:
- BSCBAY.changeselltax(uint256) (#982-984)
updateGasForProcessing(uint256) should be declared external:
- BSCBAY.updateGasForProcessing(uint256) (#986-991)
isExcludedFromFees(address) should be declared external:
- BSCBAY.isExcludedFromFees(address) (#1044-1046)
isExcludedFromMaxTx(address) should be declared external:
- BSCBAY.isExcludedFromMaxTx(address) (#1048-1050)
withdrawableDividendOf(address) should be declared external:
- BSCBAY.withdrawableDividendOf(address) (#1052-1054)
dividendTokenBalanceOf(address) should be declared external:
- BSCBAY.dividendTokenBalanceOf(address) (#1056-1058)
getAccountAtIndex(uint256) should be declared external:
- BSCBAYDividendTracker.getAccountAtIndex(uint256) (#1389-1405)
process(uint256) should be declared external:
- BSCBAYDividendTracker.process(uint256) (#1431-1467)
Use the external attribute for functions never called from the contract.
Additional information: link
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 7% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find token contract audit
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 token on CoinHunt
Additional information: link
Unable to find code repository for the project
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 no active CoinGecko listing / rank
Token has relatively low CoinMarketCap rank
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account