What is DRIVENecosystem?
DRIVENecosystem (or just DRIVEN) is a small start-up that aims to integrate cryptocurrencies into everyday life through the use of smart applications. Our primary goal is to make cryptocurrency as simple to use as FIAT.
Philosophy and vision
Our team is guided by core principles such as honesty, integrity, respect, ambition, and fun. By doing so, we build a strong community with the same values as us through time and with a lot of effort - a community that makes us proud, trusts us, and knows us for who we are.
Our goal is to build a strong DeFi ecosystem where individuals can use cryptocurrency to buy or trade goods and services.
What is DRIVENx?
DRIVENx (DVX) is a BEP20 token released on the Binance Smart Chain Network in August of 2021. Our focus is on bridging the gaps between cryptocurrency and standard FIAT-based business as usual.
DRIVEN’s primary goal is to bridge the needs of everyday businesses from your barber to your baker to your candlestick maker with the crypto ecosystem that enables them to use cryptocurrency for goods and services in a simple and intuitive manner, removing complexity from the current cumbersome process.
What is the mission of the DRIVENx?
We are creating a platform in which businesses can carry out all of their existing transactions with respect to their customer's supply chain, via cryptocurrency.
The platform will enable a business to directly pay or receive funds for goods and/or services without having to convert their cryptocurrency to fiat currency, in turn avoiding costly foreign exchange fees and the associated price fluctuations. They can pay or receive the cryptocurrency of their choosing and transact in a peer-to-peer manner using our service as the intermediary broker for the transactions.
DrivenX.addLiquidity(uint256,uint256) (DrivenX.sol#480-495) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (DrivenX.sol#486-493)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in DrivenX._transfer(address,address,uint256) (DrivenX.sol#351-434):
External calls:
- swapAndSendDividends(tokensForRewards) (DrivenX.sol#387)
- success = BUSD.transfer(address(dividendTracker),dividends) (DrivenX.sol#500)
- dividendTracker.distributeBUSDDividends(dividends) (DrivenX.sol#503)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrivenX.sol#446-452)
- swapTokensForBUSD(tokensForMarketing) (DrivenX.sol#389)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrivenX.sol#446-452)
- BUSD.transfer(marketingWallet,BUSD.balanceOf(address(this))) (DrivenX.sol#390)
- swapTokensForEth(tokensForLiquidity) (DrivenX.sol#393)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (DrivenX.sol#471-477)
- swapAndLiquifyNew(tokensForLiquidity,BNBForLiquidity) (DrivenX.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (DrivenX.sol#486-493)
External calls sending eth:
- swapAndLiquifyNew(tokensForLiquidity,BNBForLiquidity) (DrivenX.sol#395)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (DrivenX.sol#486-493)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (DrivenX.sol#416)
- _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) (DrivenX.sol#419)
- _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 (DrivenX.sol#397)
Apply the check-effects-interactions pattern.
Additional information: link
DrivenX._transfer(address,address,uint256) (DrivenX.sol#351-434) ignores return value by BUSD.transfer(marketingWallet,BUSD.balanceOf(address(this))) (DrivenX.sol#390)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
DrivenX._transfer(address,address,uint256) (DrivenX.sol#351-434) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (DrivenX.sol#407)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (DrivenX.sol#411)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DrivenX.updateDividendTracker(address) (DrivenX.sol#157-172):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (DrivenX.sol#164)
- newDividendTracker.excludeFromDividends(address(this)) (DrivenX.sol#165)
- newDividendTracker.excludeFromDividends(owner()) (DrivenX.sol#166)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (DrivenX.sol#167)
State variables written after the call(s):
- dividendTracker = newDividendTracker (DrivenX.sol#171)
Apply the check-effects-interactions pattern.
Additional information: link
DrivenX._transfer(address,address,uint256).claims (DrivenX.sol#427) 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
DrivenX.addLiquidity(uint256,uint256) (DrivenX.sol#480-495) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (DrivenX.sol#486-493)
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
DrivenX.updateSwapTokensAmount(uint256) (DrivenX.sol#284-286) should emit an event for:
- swapTokensAtAmount = _swapTokensAtAmount (DrivenX.sol#285)
Emit an event for critical parameter changes.
Additional information: link
Variable 'DrivenX._transfer(address,address,uint256).iterations (DrivenX.sol#427)' in DrivenX._transfer(address,address,uint256) (DrivenX.sol#351-434) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (DrivenX.sol#428)
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 DrivenDividendTracker.processAccount(address,bool) (DrivenX.sol#704-714):
External calls:
- amount = _withdrawDividendOfUser(account) (DrivenX.sol#705)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (DrivenX.sol#708)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in DrivenX.updateDividendTracker(address) (DrivenX.sol#157-172):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (DrivenX.sol#164)
- newDividendTracker.excludeFromDividends(address(this)) (DrivenX.sol#165)
- newDividendTracker.excludeFromDividends(owner()) (DrivenX.sol#166)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (DrivenX.sol#167)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (DrivenX.sol#169)
Apply the check-effects-interactions pattern.
Additional information: link
DrivenDividendTracker.canAutoClaim(uint256) (DrivenX.sol#632-638) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (DrivenX.sol#633)
- block.timestamp.sub(lastClaimTime) >= claimWait (DrivenX.sol#637)
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
DrivenX.BUSD (DrivenX.sol#57) is set pre-construction with a non-constant function or state variable:
- ERC20(BUSD_address)
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
DrivenDividendTracker.getAccountAtIndex(uint256) (DrivenX.sol#613-630) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (DrivenX.sol#624)
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
DrivenX.ZERO (DrivenX.sol#26) 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
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid