BetaDividend Token Logo

BDV [BetaDividend] Token

About BDV

Listings

Not Found
Token 11 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

BetaDividend.swapBack() (contracts/BetaDividend.sol#567-610) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/BetaDividend.sol#593)
- (successs) = address(dividendFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/BetaDividend.sol#595)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in BetaDividend._transferFrom(address,address,uint256) (contracts/BetaDividend.sol#498-522):
External calls:
- swapBack() (contracts/BetaDividend.sol#507)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/BetaDividend.sol#578-584)
- distributor.deposit{value: amountBNBReflection}() (contracts/BetaDividend.sol#592)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/BetaDividend.sol#593)
- (successs) = address(dividendFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/BetaDividend.sol#595)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/BetaDividend.sol#600-607)
- triggerAutoBuyback() (contracts/BetaDividend.sol#508)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/BetaDividend.sol#653-658)
External calls sending eth:
- swapBack() (contracts/BetaDividend.sol#507)
- distributor.deposit{value: amountBNBReflection}() (contracts/BetaDividend.sol#592)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/BetaDividend.sol#593)
- (successs) = address(dividendFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/BetaDividend.sol#595)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/BetaDividend.sol#600-607)
- triggerAutoBuyback() (contracts/BetaDividend.sol#508)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/BetaDividend.sol#653-658)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (contracts/BetaDividend.sol#510)
- _balances[recipient] = _balances[recipient].add(amountReceived) (contracts/BetaDividend.sol#513)
- amountReceived = takeFee(sender,recipient,amount) (contracts/BetaDividend.sol#512)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (contracts/BetaDividend.sol#553)
- triggerAutoBuyback() (contracts/BetaDividend.sol#508)
- inSwap = true (contracts/BetaDividend.sol#438)
- inSwap = false (contracts/BetaDividend.sol#438)
Apply the check-effects-interactions pattern.

Additional information: link

BetaDividend.rescueToken(address,address) (contracts/BetaDividend.sol#752-754) ignores return value by IBEP20(token).transfer(to,IBEP20(token).balanceOf(address(this))) (contracts/BetaDividend.sol#753)
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.

BetaDividend.isOverLiquified(uint256,uint256) (contracts/BetaDividend.sol#773-775) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (contracts/BetaDividend.sol#774)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (contracts/BetaDividend.sol#291-315) has costly operations inside a loop:
- currentIndex ++ (contracts/BetaDividend.sol#312)
Use a local variable to hold the loop computation result.

Additional information: link

BetaDividend.swapThreshold (contracts/BetaDividend.sol#436) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 200
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.8.5 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

Reentrancy in DividendDistributor.setShare(address,uint256) (contracts/BetaDividend.sol#255-269):
External calls:
- distributeDividend(shareholder) (contracts/BetaDividend.sol#257)
- rewardsToken.transfer(shareholder,amount) (contracts/BetaDividend.sol#328)
State variables written after the call(s):
- shares[shareholder].amount = amount (contracts/BetaDividend.sol#267)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (contracts/BetaDividend.sol#268)
Apply the check-effects-interactions pattern.

Additional information: link

BetaDividend.swapBack() (contracts/BetaDividend.sol#567-610) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/BetaDividend.sol#600-607)
Ensure that all the return values of the function calls are used.

Additional information: link

BetaDividend.setTargetLiquidity(uint256,uint256) (contracts/BetaDividend.sol#721-724) should emit an event for:
- targetLiquidity = _target (contracts/BetaDividend.sol#722)
- targetLiquidityDenominator = _denominator (contracts/BetaDividend.sol#723)
Emit an event for critical parameter changes.

Additional information: link

BetaDividend.setFeeReceivers(address,address,address)._dividendFeeReceiver (contracts/BetaDividend.sol#710) lacks a zero-check on :
- dividendFeeReceiver = _dividendFeeReceiver (contracts/BetaDividend.sol#713)
Check that the address is not zero.

Additional information: link

Reentrancy in BetaDividend.triggerManualBuyback(uint256,bool) (contracts/BetaDividend.sol#620-626):
External calls:
- buyTokens(amount,DEAD) (contracts/BetaDividend.sol#621)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/BetaDividend.sol#653-658)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (contracts/BetaDividend.sol#623)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BetaDividend.triggerManualBuyback(uint256,bool) (contracts/BetaDividend.sol#620-626):
External calls:
- buyTokens(amount,DEAD) (contracts/BetaDividend.sol#621)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/BetaDividend.sol#653-658)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/BetaDividend.sol#624)
Apply the check-effects-interactions pattern.

Additional information: link

Low level call in BetaDividend.swapBack() (contracts/BetaDividend.sol#567-610):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/BetaDividend.sol#593)
- (successs) = address(dividendFeeReceiver).call{gas: 30000,value: amountBNBDividend}() (contracts/BetaDividend.sol#595)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable BetaDividend._allowances (contracts/BetaDividend.sol#393) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/BetaDividend.sol#152) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/BetaDividend.sol#153)
Prevent variables from having similar names.

Additional information: link

BetaDividend.slitherConstructorVariables() (contracts/BetaDividend.sol#378-780) uses literals with too many digits:
- distributorGas = 500000 (contracts/BetaDividend.sol#433)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DividendDistributor.dividendsPerShareAccuracyFactor (contracts/BetaDividend.sol#225) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

getUnpaidEarnings(address) should be declared external:
- BetaDividend.getUnpaidEarnings(address) (contracts/BetaDividend.sol#756-758)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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 Telegram and Twitter accounts


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

Price for BDV