BUSDX Token Logo

BUSDX Token

About BUSDX

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years

Website

white paper

BUSDX is a staking and rewards token that was created on the Binance Smart Chain, with a mechanism that distributes 10% rewards in BUSD to holders automatically. By holding BUSDX, holders will obtain a genuine source of passive income paid out in BUSD (a fiat USD equivalent). BUSDX has also developed a staking Dapp and a BUSDX launchpad. The virtual BUSDXpay system is currently being developed and will be available to our investors soon.

Social

Laser Scorebeta Last Audit: 30 May 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

BUSDX.swapETHForTokens(uint256) (BUSDX.sol#424-439) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
BUSDX.addLiquidity(uint256,uint256) (BUSDX.sol#482-497) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BUSDX.sol#502)
- dividendTracker.distributeBUSDDividends(dividends) (BUSDX.sol#505)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#473-479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (BUSDX.sol#366)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (BUSDX.sol#369)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (BUSDX.sol#348)
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.


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains


Contract ownership is not renounced (belongs to a wallet)

BUSDX._transfer(address,address,uint256).iterations (BUSDX.sol#377) is a local variable never initialized
BUSDX._transfer(address,address,uint256).claims (BUSDX.sol#377) is a local variable never initialized
BUSDX._transfer(address,address,uint256).lastProcessedIndex (BUSDX.sol#377) 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

Reentrancy in BUSDX._setAutomatedMarketMakerPair(address,bool) (BUSDX.sol#220-229):
External calls:
- dividendTracker.excludeFromDividends(pair) (BUSDX.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (BUSDX.sol#228)
Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- SwapAndLiquify(half,newBalance,otherHalf) (BUSDX.sol#420)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BUSDX.sol#502)
- dividendTracker.distributeBUSDDividends(dividends) (BUSDX.sol#505)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#473-479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- SendDividends(tokens,dividends) (BUSDX.sol#506)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (BUSDX.sol#366)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (BUSDX.sol#369)
Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BUSDX.sol#502)
- dividendTracker.distributeBUSDDividends(dividends) (BUSDX.sol#505)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#473-479)
- dividendTracker.setBalance(address(from),balanceOf(from)) (BUSDX.sol#371)
- dividendTracker.setBalance(address(to),balanceOf(to)) (BUSDX.sol#372)
- dividendTracker.process(gas) (BUSDX.sol#377-382)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BUSDX.sol#378)
Reentrancy in BUSDX.constructor() (BUSDX.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (BUSDX.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (BUSDX.sol#110)
- dividendTracker.excludeFromDividends(pair) (BUSDX.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (BUSDX.sol#228)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (BUSDX.sol#110)
Reentrancy in BUSDX.constructor() (BUSDX.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (BUSDX.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (BUSDX.sol#110)
- dividendTracker.excludeFromDividends(pair) (BUSDX.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (BUSDX.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (BUSDX.sol#114)
- dividendTracker.excludeFromDividends(owner()) (BUSDX.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (BUSDX.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (BUSDX.sol#117)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (BUSDX.sol#165)
- excludeFromFees(_marketingWalletAddress,true) (BUSDX.sol#121)
- ExcludeFromFees(account,excluded) (BUSDX.sol#165)
- excludeFromFees(address(this),true) (BUSDX.sol#122)
- ExcludeFromFees(account,excluded) (BUSDX.sol#165)
- excludeFromFees(owner(),true) (BUSDX.sol#120)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint((0x382c865562AedDd0CAe7Eae7103aaA6F0D70a798),1000000000 * (10 ** 18)) (BUSDX.sol#128)
Reentrancy in BUSDXDividendTracker.processAccount(address,bool) (BUSDX.sol#707-717):
External calls:
- amount = _withdrawDividendOfUser(account) (BUSDX.sol#708)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (BUSDX.sol#712)
Reentrancy in BUSDX.processDividendTracker(uint256) (BUSDX.sol#293-296):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (BUSDX.sol#294)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (BUSDX.sol#295)
Reentrancy in BUSDX.swapAndLiquify(uint256) (BUSDX.sol#400-421):
External calls:
- swapTokensForEth(half) (BUSDX.sol#412)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- SwapAndLiquify(half,newBalance,otherHalf) (BUSDX.sol#420)
Reentrancy in BUSDX.swapAndSendDividends(uint256) (BUSDX.sol#499-508):
External calls:
- swapTokensForBUSD(tokens) (BUSDX.sol#500)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#473-479)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BUSDX.sol#502)
- dividendTracker.distributeBUSDDividends(dividends) (BUSDX.sol#505)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (BUSDX.sol#506)
Reentrancy in BUSDX.swapAndSendToFee(uint256) (BUSDX.sol#386-398):
External calls:
- swapTokensForEth(tokens) (BUSDX.sol#390)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapETHForTokens(buyBackShare) (BUSDX.sol#396)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapETHForTokens(buyBackShare) (BUSDX.sol#396)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (BUSDX.sol#438)
- swapETHForTokens(buyBackShare) (BUSDX.sol#396)
Reentrancy in BUSDX.swapETHForTokens(uint256) (BUSDX.sol#424-439):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (BUSDX.sol#438)
Reentrancy in BUSDX.updateDividendTracker(address) (BUSDX.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BUSDX.sol#142)
- newDividendTracker.excludeFromDividends(address(this)) (BUSDX.sol#143)
- newDividendTracker.excludeFromDividends(owner()) (BUSDX.sol#144)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BUSDX.sol#145)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (BUSDX.sol#147)
Apply the check-effects-interactions pattern.

Additional information: link

BUSDX.totalFees (BUSDX.sol#42) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.add(liquidityFee).add(marketingFee)
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

SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in BUSDX.updateDividendTracker(address) (BUSDX.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BUSDX.sol#142)
- newDividendTracker.excludeFromDividends(address(this)) (BUSDX.sol#143)
- newDividendTracker.excludeFromDividends(owner()) (BUSDX.sol#144)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BUSDX.sol#145)
State variables written after the call(s):
- dividendTracker = newDividendTracker (BUSDX.sol#149)
Apply the check-effects-interactions pattern.

Additional information: link

BUSDX.claim() (BUSDX.sol#298-300) ignores return value by dividendTracker.processAccount(msg.sender,false) (BUSDX.sol#299)
BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384) ignores return value by dividendTracker.process(gas) (BUSDX.sol#377-382)
BUSDX.addLiquidity(uint256,uint256) (BUSDX.sol#482-497) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

BUSDX.setBUSDRewardsFee(uint256) (BUSDX.sol#180-183) should emit an event for:
- BUSDRewardsFee = value (BUSDX.sol#181)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (BUSDX.sol#182)
BUSDX.setLiquiditFee(uint256) (BUSDX.sol#185-188) should emit an event for:
- liquidityFee = value (BUSDX.sol#186)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (BUSDX.sol#187)
BUSDX.setMarketingFee(uint256,uint256) (BUSDX.sol#190-196) should emit an event for:
- marketingFee = _marketingFee (BUSDX.sol#192)
- buyBackDivisor = _buyBackDivisor (BUSDX.sol#193)
- totalFees = BUSDRewardsFee.add(liquidityFee).add(marketingFee) (BUSDX.sol#194)
BUSDX.setMaxTxAmount(uint256) (BUSDX.sol#209-212) should emit an event for:
- maxTxAmount = newAmount * (10 ** 18) (BUSDX.sol#210)
BUSDX.setMinimumTokensForSwap(uint256) (BUSDX.sol#214-217) should emit an event for:
- swapTokensAtAmount = newAmount * (10 ** 18) (BUSDX.sol#215)
Emit an event for critical parameter changes.

Additional information: link

BUSDX.updateUniswapV2Router(address)._uniswapV2Pair (BUSDX.sol#156-157) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (BUSDX.sol#158)
BUSDX.setMarketingWallet(address).wallet (BUSDX.sol#176) lacks a zero-check on :
- _marketingWalletAddress = wallet (BUSDX.sol#177)
Check that the address is not zero.

Additional information: link

Variable 'BUSDX._transfer(address,address,uint256).claims (BUSDX.sol#377)' in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BUSDX.sol#378)
Variable 'BUSDX._transfer(address,address,uint256).lastProcessedIndex (BUSDX.sol#377)' in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BUSDX.sol#378)
Variable 'BUSDX._transfer(address,address,uint256).iterations (BUSDX.sol#377)' in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BUSDX.sol#378)
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 BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BUSDX.sol#502)
- dividendTracker.distributeBUSDDividends(dividends) (BUSDX.sol#505)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#473-479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in BUSDX.constructor() (BUSDX.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (BUSDX.sol#104-105)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (BUSDX.sol#108)
- uniswapV2Router = _uniswapV2Router (BUSDX.sol#107)
Reentrancy in BUSDX.constructor() (BUSDX.sol#97-129):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (BUSDX.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (BUSDX.sol#110)
- dividendTracker.excludeFromDividends(pair) (BUSDX.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (BUSDX.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (BUSDX.sol#114)
- dividendTracker.excludeFromDividends(owner()) (BUSDX.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (BUSDX.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (BUSDX.sol#117)
State variables written after the call(s):
- _mint((0x382c865562AedDd0CAe7Eae7103aaA6F0D70a798),1000000000 * (10 ** 18)) (BUSDX.sol#128)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (BUSDX.sol#120)
- _isExcludedFromFees[account] = excluded (BUSDX.sol#163)
- excludeFromFees(_marketingWalletAddress,true) (BUSDX.sol#121)
- _isExcludedFromFees[account] = excluded (BUSDX.sol#163)
- excludeFromFees(address(this),true) (BUSDX.sol#122)
- _isExcludedFromFees[account] = excluded (BUSDX.sol#163)
- _mint((0x382c865562AedDd0CAe7Eae7103aaA6F0D70a798),1000000000 * (10 ** 18)) (BUSDX.sol#128)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in BUSDXDividendTracker.processAccount(address,bool) (BUSDX.sol#707-717):
External calls:
- amount = _withdrawDividendOfUser(account) (BUSDX.sol#708)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (BUSDX.sol#711)
Reentrancy in BUSDX.swapAndLiquify(uint256) (BUSDX.sol#400-421):
External calls:
- swapTokensForEth(half) (BUSDX.sol#412)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BUSDX.sol#453-459)
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (BUSDX.sol#418)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in BUSDX.updateUniswapV2Router(address) (BUSDX.sol#152-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (BUSDX.sol#156-157)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (BUSDX.sol#158)
Apply the check-effects-interactions pattern.

Additional information: link

BUSDXDividendTracker.getAccount(address) (BUSDX.sol#571-614) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (BUSDX.sol#611-613)
BUSDXDividendTracker.canAutoClaim(uint256) (BUSDX.sol#635-641) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (BUSDX.sol#636)
- block.timestamp.sub(lastClaimTime) >= claimWait (BUSDX.sol#640)
Avoid relying on block.timestamp.

Additional information: link

Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

Pragma version^0.6.2 (BUSDX.sol#9) allows old versions
Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) 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

Parameter BUSDX.setMarketingFee(uint256,uint256)._marketingFee (BUSDX.sol#190) is not in mixedCase
Parameter BUSDX.setMarketingFee(uint256,uint256)._buyBackDivisor (BUSDX.sol#190) is not in mixedCase
Variable BUSDX.BUSD (BUSDX.sol#32) is not in mixedCase
Variable BUSDX._isBlacklisted (BUSDX.sol#37) is not in mixedCase
Variable BUSDX.BUSDRewardsFee (BUSDX.sol#39) is not in mixedCase
Variable BUSDX._marketingWalletAddress (BUSDX.sol#45) is not in mixedCase
Parameter BUSDXDividendTracker.getAccount(address)._account (BUSDX.sol#571) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in BUSDX._transfer(address,address,uint256) (BUSDX.sol#311-384):
External calls:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (BUSDX.sol#340)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BUSDX.sol#488-495)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (BUSDX.sol#366)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (BUSDX.sol#369)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapping = false (BUSDX.sol#348)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BUSDX.sol#378)
- SendDividends(tokens,dividends) (BUSDX.sol#506)
- swapAndSendDividends(sellTokens) (BUSDX.sol#346)
- SwapAndLiquify(half,newBalance,otherHalf) (BUSDX.sol#420)
- swapAndLiquify(swapTokens) (BUSDX.sol#343)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (BUSDX.sol#366)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (BUSDX.sol#369)
Reentrancy in BUSDX.swapAndSendToFee(uint256) (BUSDX.sol#386-398):
External calls:
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
External calls sending eth:
- address(_marketingWalletAddress).transfer(marketingShare) (BUSDX.sol#395)
- swapETHForTokens(buyBackShare) (BUSDX.sol#396)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp) (BUSDX.sol#431-436)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (BUSDX.sol#438)
- swapETHForTokens(buyBackShare) (BUSDX.sol#396)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to BUSDXDividendTracker.getAccount(address).withdrawableDividends (BUSDX.sol#576)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Prevent variables from having similar names.

Additional information: link

BUSDX.constructor() (BUSDX.sol#97-129) uses literals with too many digits:
- _mint((0x382c865562AedDd0CAe7Eae7103aaA6F0D70a798),1000000000 * (10 ** 18)) (BUSDX.sol#128)
BUSDX.updateGasForProcessing(uint256) (BUSDX.sol#232-237) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,BUSDX: gasForProcessing must be between 200,000 and 500,000) (BUSDX.sol#233)
BUSDX.slitherConstructorVariables() (BUSDX.sol#20-509) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (BUSDX.sol#30)
BUSDX.slitherConstructorVariables() (BUSDX.sol#20-509) uses literals with too many digits:
- swapTokensAtAmount = 200000 * (10 ** 18) (BUSDX.sol#34)
BUSDX.slitherConstructorVariables() (BUSDX.sol#20-509) uses literals with too many digits:
- maxTxAmount = 100000000 * (10 ** 18) (BUSDX.sol#35)
BUSDX.slitherConstructorVariables() (BUSDX.sol#20-509) uses literals with too many digits:
- gasForProcessing = 300000 (BUSDX.sol#49)
BUSDXDividendTracker.getAccountAtIndex(uint256) (BUSDX.sol#616-633) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (BUSDX.sol#627)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BUSDX.deadWallet (BUSDX.sol#30) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

updateDividendTracker(address) should be declared external:
- BUSDX.updateDividendTracker(address) (BUSDX.sol#135-150)
updateUniswapV2Router(address) should be declared external:
- BUSDX.updateUniswapV2Router(address) (BUSDX.sol#152-159)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- BUSDX.excludeMultipleAccountsFromFees(address[],bool) (BUSDX.sol#168-174)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- BUSDX.setAutomatedMarketMakerPair(address,bool) (BUSDX.sol#199-203)
updateGasForProcessing(uint256) should be declared external:
- BUSDX.updateGasForProcessing(uint256) (BUSDX.sol#232-237)
isExcludedFromFees(address) should be declared external:
- BUSDX.isExcludedFromFees(address) (BUSDX.sol#251-253)
withdrawableDividendOf(address) should be declared external:
- BUSDX.withdrawableDividendOf(address) (BUSDX.sol#255-257)
dividendTokenBalanceOf(address) should be declared external:
- BUSDX.dividendTokenBalanceOf(address) (BUSDX.sol#259-261)
withdrawDividend() should be declared external:
- BUSDXDividendTracker.withdrawDividend() (BUSDX.sol#540-542)
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
getAccountAtIndex(uint256) should be declared external:
- BUSDXDividendTracker.getAccountAtIndex(uint256) (BUSDX.sol#616-633)
process(uint256) should be declared external:
- BUSDXDividendTracker.process(uint256) (BUSDX.sol#660-705)
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#55-66)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
Use the external attribute for functions never called from the contract.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Favor pull over push strategy for external calls.

Additional information: link

Holders:

Contract has 18% buy tax and 19% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Token is deployed only at one blockchain


Unable to find Youtube account


Unable to find Discord account


Unable to find audit link on the website


Young tokens have high risks of price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for BUSDX

News for BUSDX