Cryptocurrency with an accelerated liquidity generation protocol. A specialized vertically integrated blockchain solution.
There is currently a lack of ability to participate in the booming cannabis-related industry in a stable way, with legitimate tokenomics and, as a holder, to influence the future of the cannabis industry’s growth.
Patient, consumer and business data is a product— and your data isn’t yours if you use loyalty programs, social media, e-commerce, retail, and other solutions that base their business on selling your data.
WeGro is a way for everyone to safely invest in the industry by focusing on the supply chain while simultaneously democratizing and monetizing anonymous community data assets, which go directly back to the community. WeGro will put the power of your data back in your hands and allow you to be directly compensated for licensing your anonymous statistical and personal data.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- dividendTracker.distributeDividends(dividends) (WeGro.sol#479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (WeGro.sol#432)
- _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) (WeGro.sol#435)
- _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 (WeGro.sol#419)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-108):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#98-100)
Apply the check-effects-interactions pattern.
Additional information: link
WeGro._totalSupply (WeGro.sol#26) shadows:
- ERC20._totalSupply (ERC20.sol#41)
Remove the state variable shadowing.
Additional information: link
Contract creator or owner is blacklisted for past scams
Contract ownership is not renounced (belongs to a wallet)
WeGro._transfer(address,address,uint256).lastProcessedIndex (WeGro.sol#446) is a local variable never initialized
WeGro._transfer(address,address,uint256).iterations (WeGro.sol#444) is a local variable never initialized
WeGro._transfer(address,address,uint256).claims (WeGro.sol#445) 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
WeGro.claim() (WeGro.sol#336-338) ignores return value by dividendTracker.processAccount(msg.sender,false) (WeGro.sol#337)
WeGro._transfer(address,address,uint256) (WeGro.sol#348-458) ignores return value by dividendTracker.process(gas) (WeGro.sol#443-456)
WeGro.addLiquidity(uint256,uint256) (WeGro.sol#527-542) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#53) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#53) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#113) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#120) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#132) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#146) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
WeGro.setFees(uint256,uint256,uint256) (WeGro.sol#185-193) should emit an event for:
- ethRewardsFee = ethRewards (WeGro.sol#189)
- liquidityFee = liquidity (WeGro.sol#190)
- marketingFee = marketing (WeGro.sol#191)
- totalFees = ethRewardsFee.add(liquidityFee).add(marketingFee) (WeGro.sol#192)
WeGro.setMaxTxPercent(uint256) (WeGro.sol#218-221) should emit an event for:
- maxTxAmount = _totalSupply.mul(newMaxTx).div(1000) (WeGro.sol#220)
Emit an event for critical parameter changes.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-108) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'WeGro._transfer(address,address,uint256).lastProcessedIndex (WeGro.sol#446)' in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WeGro.sol#448-455)
Variable 'WeGro._transfer(address,address,uint256).claims (WeGro.sol#445)' in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WeGro.sol#448-455)
Variable 'WeGro._transfer(address,address,uint256).iterations (WeGro.sol#444)' in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WeGro.sol#448-455)
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 WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- dividendTracker.distributeDividends(dividends) (WeGro.sol#479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in WeGro.constructor() (WeGro.sol#97-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (WeGro.sol#104-105)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (WeGro.sol#108)
- uniswapV2Router = _uniswapV2Router (WeGro.sol#107)
Reentrancy in WeGro.constructor() (WeGro.sol#97-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (WeGro.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (WeGro.sol#110)
- dividendTracker.excludeFromDividends(pair) (WeGro.sol#231)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (WeGro.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (WeGro.sol#114)
- dividendTracker.excludeFromDividends(owner()) (WeGro.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (WeGro.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (WeGro.sol#117)
State variables written after the call(s):
- excludeFromFees(owner(),true) (WeGro.sol#120)
- _isExcludedFromFees[account] = excluded (WeGro.sol#154)
- excludeFromFees(_marketingWalletAddress,true) (WeGro.sol#121)
- _isExcludedFromFees[account] = excluded (WeGro.sol#154)
- excludeFromFees(address(this),true) (WeGro.sol#122)
- _isExcludedFromFees[account] = excluded (WeGro.sol#154)
- _isExcludedFromMaxTx[owner()] = true (WeGro.sol#125)
- _isExcludedFromMaxTx[address(this)] = true (WeGro.sol#126)
Reentrancy in WeGroDividendTracker.processAccount(address,bool) (WeGro.sol#793-807):
External calls:
- amount = _withdrawDividendOfUser(account) (WeGro.sol#798)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (WeGro.sol#801)
Reentrancy in WeGro.swapAndLiquify(uint256) (WeGro.sol#484-507):
External calls:
- swapTokensForEth(half) (WeGro.sol#496)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WeGro._setAutomatedMarketMakerPair(address,bool) (WeGro.sol#223-235):
External calls:
- dividendTracker.excludeFromDividends(pair) (WeGro.sol#231)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (WeGro.sol#234)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- SwapAndLiquify(half,newBalance,otherHalf) (WeGro.sol#505)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- dividendTracker.distributeDividends(dividends) (WeGro.sol#479)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- SendDividends(tokens,dividends) (WeGro.sol#480)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (WeGro.sol#435)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (WeGro.sol#432)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- dividendTracker.distributeDividends(dividends) (WeGro.sol#479)
- dividendTracker.setBalance(address(from),balanceOf(from)) (WeGro.sol#437)
- dividendTracker.setBalance(address(to),balanceOf(to)) (WeGro.sol#438)
- dividendTracker.process(gas) (WeGro.sol#443-456)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WeGro.sol#448-455)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-108):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
Event emitted after the call(s):
- ErrorEmission(Could not transfer ETH Dividends (Dividends currently too low?)) (DividendPayingToken.sol#95-97)
Reentrancy in WeGro.constructor() (WeGro.sol#97-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (WeGro.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (WeGro.sol#110)
- dividendTracker.excludeFromDividends(pair) (WeGro.sol#231)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (WeGro.sol#234)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (WeGro.sol#110)
Reentrancy in WeGro.constructor() (WeGro.sol#97-127):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (WeGro.sol#104-105)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (WeGro.sol#110)
- dividendTracker.excludeFromDividends(pair) (WeGro.sol#231)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (WeGro.sol#113)
- dividendTracker.excludeFromDividends(address(this)) (WeGro.sol#114)
- dividendTracker.excludeFromDividends(owner()) (WeGro.sol#115)
- dividendTracker.excludeFromDividends(deadWallet) (WeGro.sol#116)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (WeGro.sol#117)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (WeGro.sol#156)
- excludeFromFees(owner(),true) (WeGro.sol#120)
- ExcludeFromFees(account,excluded) (WeGro.sol#156)
- excludeFromFees(address(this),true) (WeGro.sol#122)
- ExcludeFromFees(account,excluded) (WeGro.sol#156)
- excludeFromFees(_marketingWalletAddress,true) (WeGro.sol#121)
Reentrancy in WeGroDividendTracker.processAccount(address,bool) (WeGro.sol#793-807):
External calls:
- amount = _withdrawDividendOfUser(account) (WeGro.sol#798)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
Event emitted after the call(s):
- Claim(account,amount,automatic) (WeGro.sol#802)
Reentrancy in WeGro.processDividendTracker(uint256) (WeGro.sol#320-334):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (WeGro.sol#321-325)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (WeGro.sol#326-333)
Reentrancy in WeGro.swapAndLiquify(uint256) (WeGro.sol#484-507):
External calls:
- swapTokensForEth(half) (WeGro.sol#496)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (WeGro.sol#503)
- SwapAndLiquify(half,newBalance,otherHalf) (WeGro.sol#505)
Reentrancy in WeGro.swapAndSendDividends(uint256) (WeGro.sol#473-482):
External calls:
- swapTokensForEth(tokens) (WeGro.sol#474)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WeGro.sol#518-524)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
- dividendTracker.distributeDividends(dividends) (WeGro.sol#479)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (WeGro.sol#480)
Apply the check-effects-interactions pattern.
Additional information: link
WeGro.blacklistAddress(address,bool) (WeGro.sol#207-215) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(now < blacklistDeadline,WeGro: The ability to blacklist accounts has been disabled.) (WeGro.sol#209-212)
WeGro._transfer(address,address,uint256) (WeGro.sol#348-458) uses timestamp for comparisons
Dangerous comparisons:
- launchSellFeeDeadline >= now && to == uniswapV2Pair (WeGro.sol#387)
WeGroDividendTracker.getAccount(address) (WeGro.sol#630-678) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (WeGro.sol#675-677)
WeGroDividendTracker.canAutoClaim(uint256) (WeGro.sol#712-718) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (WeGro.sol#713)
- block.timestamp.sub(lastClaimTime) >= claimWait (WeGro.sol#717)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#165-180) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#126-128) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#142-145) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
WeGro.totalFees (WeGro.sol#34) is set pre-construction with a non-constant function or state variable:
- ethRewardsFee.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 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
Pragma version^0.6.2 (WeGro.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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-108):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#89-92)
Low level call in WeGro.swapAndSendDividends(uint256) (WeGro.sol#473-482):
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#113) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#120) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#132) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#146) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#33) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#20) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#21) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#7) is not in mixedCase
Constant WeGro._totalSupply (WeGro.sol#26) is not in UPPER_CASE_WITH_UNDERSCORES
Constant WeGro.deadWallet (WeGro.sol#23-24) is not in UPPER_CASE_WITH_UNDERSCORES
Constant WeGro.swapTokensAtAmount (WeGro.sol#27) is not in UPPER_CASE_WITH_UNDERSCORES
Parameter WeGroDividendTracker.getAccount(address)._account (WeGro.sol#630) 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 WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- SwapAndLiquify(half,newBalance,otherHalf) (WeGro.sol#505)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
Reentrancy in WeGro._transfer(address,address,uint256) (WeGro.sol#348-458):
External calls:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
External calls sending eth:
- swapAndSendToFee(marketingTokens) (WeGro.sol#406)
- address(_marketingWalletAddress).transfer(newBalance) (WeGro.sol#470)
- swapAndLiquify(swapTokens) (WeGro.sol#411)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (WeGro.sol#533-540)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- (success) = address(dividendTracker).call{value: dividends}() (WeGro.sol#476)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (WeGro.sol#432)
- _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) (WeGro.sol#435)
- _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 (WeGro.sol#419)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WeGro.sol#448-455)
- SendDividends(tokens,dividends) (WeGro.sol#480)
- swapAndSendDividends(sellTokens) (WeGro.sol#416)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (WeGro.sol#435)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (WeGro.sol#432)
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)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#83) is too similar to WeGroDividendTracker.getAccount(address).withdrawableDividends (WeGro.sol#637)
Prevent variables from having similar names.
Additional information: link
WeGro.updateGasForProcessing(uint256) (WeGro.sol#237-248) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,WeGro: gasForProcessing must be between 200,000 and 500,000) (WeGro.sol#238-241)
WeGro.slitherConstructorVariables() (WeGro.sol#13-553) uses literals with too many digits:
- gasForProcessing = 300000 (WeGro.sol#43)
WeGro.slitherConstructorConstantVariables() (WeGro.sol#13-553) uses literals with too many digits:
- _totalSupply = 8400000000 * (10 ** 18) (WeGro.sol#26)
WeGro.slitherConstructorConstantVariables() (WeGro.sol#13-553) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (WeGro.sol#23-24)
WeGroDividendTracker.getAccountAtIndex(uint256) (WeGro.sol#680-710) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (WeGro.sol#695-704)
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
distributeDividends(uint256) should be declared external:
- DividendPayingToken.distributeDividends(uint256) (DividendPayingToken.sol#58-69)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#73-75)
- WeGroDividendTracker.withdrawDividend() (WeGro.sol#592-597)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#113-115)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#132-139)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
prepForLaunch() should be declared external:
- WeGro.prepForLaunch() (WeGro.sol#129-145)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- WeGro.setAutomatedMarketMakerPair(address,bool) (WeGro.sol#195-205)
blacklistAddress(address,bool) should be declared external:
- WeGro.blacklistAddress(address,bool) (WeGro.sol#207-215)
setMaxTxPercent(uint256) should be declared external:
- WeGro.setMaxTxPercent(uint256) (WeGro.sol#218-221)
updateGasForProcessing(uint256) should be declared external:
- WeGro.updateGasForProcessing(uint256) (WeGro.sol#237-248)
isExcludedFromFees(address) should be declared external:
- WeGro.isExcludedFromFees(address) (WeGro.sol#262-264)
withdrawableDividendOf(address) should be declared external:
- WeGro.withdrawableDividendOf(address) (WeGro.sol#266-272)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
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
Token is not listed at Mobula.Finance
Additional information: link
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank