BabyDogeX is the next generation of BSC-token with unique tokenomics including a
Dynamic-Price-Floor-System, Diamond hours where trading taxes change to incentivize holding, and a Smart-Buy-Burn-Back system.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BDOGEX.addLiquidity(uint256,uint256) (BDOGEX.sol#508-523) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BDOGEX.sol#514-521)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BDOGEX._transfer(address,address,uint256) (BDOGEX.sol#335-423):
External calls:
- swapAndSendToFee(marketingTokens) (BDOGEX.sol#372)
- IERC20(BUSD).transfer(_marketingWalletAddress,newBalance) (BDOGEX.sol#431)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BDOGEX.sol#499-505)
- swapAndSendToteam(teamTokens) (BDOGEX.sol#375)
- IERC20(BUSD).transfer(_teamWalletAddress,newBalance) (BDOGEX.sol#440)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BDOGEX.sol#499-505)
- swapAndLiquify(swapTokens) (BDOGEX.sol#378)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BDOGEX.sol#514-521)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BDOGEX.sol#479-485)
- swapAndSendDividends(sellTokens) (BDOGEX.sol#381)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (BDOGEX.sol#528)
- dividendTracker.distributeBUSDDividends(dividends) (BDOGEX.sol#531)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (BDOGEX.sol#499-505)
External calls sending eth:
- swapAndLiquify(swapTokens) (BDOGEX.sol#378)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BDOGEX.sol#514-521)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (BDOGEX.sol#405)
- _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) (BDOGEX.sol#408)
- _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 (BDOGEX.sol#383)
Apply the check-effects-interactions pattern.
Additional information: link
BDOGEX.swapAndSendToteam(uint256) (BDOGEX.sol#434-442) ignores return value by IERC20(BUSD).transfer(_teamWalletAddress,newBalance) (BDOGEX.sol#440)
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 BDOGEX.updateDividendTracker(address) (BDOGEX.sol#145-160):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BDOGEX.sol#152)
- newDividendTracker.excludeFromDividends(address(this)) (BDOGEX.sol#153)
- newDividendTracker.excludeFromDividends(owner()) (BDOGEX.sol#154)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BDOGEX.sol#155)
State variables written after the call(s):
- dividendTracker = newDividendTracker (BDOGEX.sol#159)
Apply the check-effects-interactions pattern.
Additional information: link
BDOGEX._transfer(address,address,uint256).lastProcessedIndex (BDOGEX.sol#416) 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
BDOGEX.addLiquidity(uint256,uint256) (BDOGEX.sol#508-523) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (BDOGEX.sol#514-521)
Ensure that all the return values of the function calls are used.
Additional information: link
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
BDOGEX.setMaxWalletBalance(uint256) (BDOGEX.sol#229-231) should emit an event for:
- maxWalletBalance = amount * (10 ** 18) (BDOGEX.sol#230)
Emit an event for critical parameter changes.
Additional information: link
BDOGEX.setMarketingWallet(address).wallet (BDOGEX.sol#193) lacks a zero-check on :
- _marketingWalletAddress = wallet (BDOGEX.sol#194)
Check that the address is not zero.
Additional information: link
Variable 'BDOGEX._transfer(address,address,uint256).iterations (BDOGEX.sol#416)' in BDOGEX._transfer(address,address,uint256) (BDOGEX.sol#335-423) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (BDOGEX.sol#417)
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 BDOGEX.updateUniswapV2Router(address) (BDOGEX.sol#162-169):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (BDOGEX.sol#166-167)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (BDOGEX.sol#168)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BDOGEX.updateDividendTracker(address) (BDOGEX.sol#145-160):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (BDOGEX.sol#152)
- newDividendTracker.excludeFromDividends(address(this)) (BDOGEX.sol#153)
- newDividendTracker.excludeFromDividends(owner()) (BDOGEX.sol#154)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (BDOGEX.sol#155)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (BDOGEX.sol#157)
Apply the check-effects-interactions pattern.
Additional information: link
BDOGEXDividendTracker.canAutoClaim(uint256) (BDOGEX.sol#661-667) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (BDOGEX.sol#662)
- block.timestamp.sub(lastClaimTime) >= claimWait (BDOGEX.sol#666)
Avoid relying on block.timestamp.
Additional information: link
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
BDOGEX.totalFees (BDOGEX.sol#55) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.add(liquidityFee).add(marketingFee).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 (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
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
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
BDOGEXDividendTracker.getAccountAtIndex(uint256) (BDOGEX.sol#642-659) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (BDOGEX.sol#653)
Use: Ether suffix, Time suffix, or The scientific notation
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
DividendPayingToken.BUSD (DividendPayingToken.sol#24) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
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
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account