$DogeBUSD was created by two crypto enthusiasts who are also very good friends and have been in the crypto space for several years. We have all been scammed at some point during our crypto journey and we wanted to release a token that was 100% safe that will give back to our investors.
Reentrancy in DogeBUSD._transferFrom(address,address,uint256) (#516-538):
External calls:
- swapBack() (#521)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#593-599)
- distributor.deposit{value: amountBUSDReflection}() (#609)
- router.addLiquidityETH{value: amountBUSDLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
- triggerAutoBuyback() (#522)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#657-662)
External calls sending eth:
- swapBack() (#521)
- distributor.deposit{value: amountBUSDReflection}() (#609)
- router.addLiquidityETH{value: amountBUSDLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
- triggerAutoBuyback() (#522)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#657-662)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#526)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#529)
- amountReceived = takeFee(sender,recipient,amount) (#528)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#569)
- triggerAutoBuyback() (#522)
- inSwap = true (#460)
- inSwap = false (#460)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#353-364) ignores return value by BUSD.transfer(shareholder,amount) (#359)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Combination 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 DividendDistributor.setShare(address,uint256) (#286-300):
External calls:
- distributeDividend(shareholder) (#288)
- BUSD.transfer(shareholder,amount) (#359)
State variables written after the call(s):
- shares[shareholder].amount = amount (#298)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#299)
Apply the check-effects-interactions pattern.
Additional information: link
DogeBUSD.swapBack() (#582-623) ignores return value by router.addLiquidityETH{value: amountBUSDLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#613-620)
Ensure that all the return values of the function calls are used.
Additional information: link
DogeBUSD.setTargetLiquidity(uint256,uint256) (#727-730) should emit an event for:
- targetLiquidity = _target (#728)
- targetLiquidityDenominator = _denominator (#729)
Emit an event for critical parameter changes.
Additional information: link
DogeBUSD.setFeeReceivers(address,address)._marketingFeeReceiver (#717) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#719)
Check that the address is not zero.
Additional information: link
Reentrancy in DogeBUSD.triggerManualBuyback(uint256,bool) (#633-639):
External calls:
- buyTokens(amount,DEAD) (#634)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#657-662)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#636)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DogeBUSD.triggerManualBuyback(uint256,bool) (#633-639):
External calls:
- buyTokens(amount,DEAD) (#634)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#657-662)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#637)
Apply the check-effects-interactions pattern.
Additional information: link
DogeBUSD.isOverLiquified(uint256,uint256) (#749-751) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (#750)
Avoid relying on block.timestamp.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#53-69) uses assembly
- INLINE ASM (#61-64)
Do not use evm assembly.
Additional information: link
DividendDistributor.process(uint256) (#322-346) has costly operations inside a loop:
- currentIndex ++ (#343)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#77-80) is never used and should be removed
Remove unused functions.
Additional information: link
DogeBUSD.swapThreshold (#458) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 5000
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
solc-0.7.4 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#53-69):
- (success,returndata) = target.call{value: weiValue}(data) (#56)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable DogeBUSD._allowances (#415) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#78)" inContext (#72-81)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#183) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#184)
Prevent variables from having similar names.
Additional information: link
DogeBUSD.slitherConstructorVariables() (#397-757) uses literals with too many digits:
- distributorGas = 500000 (#451)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DogeBUSD.cooldownTimer (#455) is never used in DogeBUSD (#397-757)
Remove unused state variables.
Additional information: link
DogeBUSD.marketingFee (#423) 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) (#165-169)
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.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account