DIVD Token Logo

DIVD Token

About DIVD

Listings

Not Found
Token 3 years

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...)

DIVD.addLiquidity(uint256,uint256) (DIVD.sol#466-481) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (DIVD.sol#472-479)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DIVD._transfer(address,address,uint256) (DIVD.sol#314-385):
External calls:
- swapAndSendToFee(marketingTokens) (DIVD.sol#341)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DIVD.sol#437-443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DIVD.sol#457-463)
- IERC20(RewardToken).transfer(_marketingWalletAddress,newBalance) (DIVD.sol#398)
- swapAndLiquify(swapTokens) (DIVD.sol#344)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (DIVD.sol#472-479)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DIVD.sol#437-443)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- (success) = address(dividendTracker).call{value: dividends}() (DIVD.sol#488)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DIVD.sol#437-443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DIVD.sol#457-463)
- success_scope_1 = IERC20(RewardToken).transfer(address(dividendTracker),dividends_scope_0) (DIVD.sol#497)
- dividendTracker.distributeRewardTokenDividends(dividends_scope_0) (DIVD.sol#500)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (DIVD.sol#341)
- address(_marketingWalletAddress).transfer(address(this).balance) (DIVD.sol#391)
- swapAndLiquify(swapTokens) (DIVD.sol#344)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (DIVD.sol#472-479)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- (success) = address(dividendTracker).call{value: dividends}() (DIVD.sol#488)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (DIVD.sol#367)
- _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) (DIVD.sol#370)
- _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 (DIVD.sol#349)
Apply the check-effects-interactions pattern.

Additional information: link

DIVD.swapAndSendToFee(uint256) (DIVD.sol#388-400) ignores return value by IERC20(RewardToken).transfer(_marketingWalletAddress,newBalance) (DIVD.sol#398)
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 DIVD.updateDividendTracker(address) (DIVD.sol#122-137):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (DIVD.sol#129)
- newDividendTracker.excludeFromDividends(address(this)) (DIVD.sol#130)
- newDividendTracker.excludeFromDividends(owner()) (DIVD.sol#131)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (DIVD.sol#132)
State variables written after the call(s):
- dividendTracker = newDividendTracker (DIVD.sol#136)
Apply the check-effects-interactions pattern.

Additional information: link

DIVD._transfer(address,address,uint256).lastProcessedIndex (DIVD.sol#378) 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

DIVD.addLiquidity(uint256,uint256) (DIVD.sol#466-481) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (DIVD.sol#472-479)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#123) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

DIVD.setMaxTxAmount(uint256) (DIVD.sol#242-244) should emit an event for:
- _maxTxAmount = maxTxAmount (DIVD.sol#243)
Emit an event for critical parameter changes.

Additional information: link

DividendPayingToken.setRewardToken(address).token (DividendPayingToken.sol#163) lacks a zero-check on :
- RewardToken = token (DividendPayingToken.sol#164)
Check that the address is not zero.

Additional information: link

Variable 'DIVD._transfer(address,address,uint256).lastProcessedIndex (DIVD.sol#378)' in DIVD._transfer(address,address,uint256) (DIVD.sol#314-385) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (DIVD.sol#379)
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 DIVD.updateUniswapV2Router(address) (DIVD.sol#139-146):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (DIVD.sol#143-144)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (DIVD.sol#145)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DIVD.updateDividendTracker(address) (DIVD.sol#122-137):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (DIVD.sol#129)
- newDividendTracker.excludeFromDividends(address(this)) (DIVD.sol#130)
- newDividendTracker.excludeFromDividends(owner()) (DIVD.sol#131)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (DIVD.sol#132)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (DIVD.sol#134)
Apply the check-effects-interactions pattern.

Additional information: link

DIVDDividendTracker.canAutoClaim(uint256) (DIVD.sol#631-637) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (DIVD.sol#632)
- block.timestamp.sub(lastClaimTime) >= claimWait (DIVD.sol#636)
Avoid relying on block.timestamp.

Additional information: link

DIVD.swapAndSendDividends(uint256) (DIVD.sol#483-504) compares to a boolean constant:
-BNBRewardsBool == true (DIVD.sol#484)
Remove the equality to the boolean constant.

Additional information: link

SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

DIVD.totalFees (DIVD.sol#35) is set pre-construction with a non-constant function or state variable:
- RewardsFee.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

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

Low level call in DIVD.swapAndSendDividends(uint256) (DIVD.sol#483-504):
- (success) = address(dividendTracker).call{value: dividends}() (DIVD.sol#488)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

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

Reentrancy in DIVD._transfer(address,address,uint256) (DIVD.sol#314-385):
External calls:
- swapAndSendToFee(marketingTokens) (DIVD.sol#341)
- address(_marketingWalletAddress).transfer(address(this).balance) (DIVD.sol#391)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (DIVD.sol#341)
- address(_marketingWalletAddress).transfer(address(this).balance) (DIVD.sol#391)
- swapAndLiquify(swapTokens) (DIVD.sol#344)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (DIVD.sol#472-479)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- (success) = address(dividendTracker).call{value: dividends}() (DIVD.sol#488)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (DIVD.sol#367)
- _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) (DIVD.sol#370)
- _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 (DIVD.sol#349)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (DIVD.sol#379)
- SendDividends(tokens,dividends) (DIVD.sol#490)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- SendDividends(tokens,dividends_scope_0) (DIVD.sol#501)
- swapAndSendDividends(sellTokens) (DIVD.sol#347)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (DIVD.sol#367)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (DIVD.sol#370)
Apply the check-effects-interactions pattern.

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

DIVDDividendTracker.getAccountAtIndex(uint256) (DIVD.sol#612-629) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (DIVD.sol#623)
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

DIVD.swapTokensAtAmount (DIVD.sol#29) 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

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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for DIVD