Will Never Rug You is a place for all Rug victims and RugCurious investors to rally together under a common cause: to fight rug pullers to the death! $WNRY is the beginning of the end of all RUG PULLS. 💪
💰 TOKENOMICS 💰
Buy Tax: 0%
Sell Tax: 4%
1% MKTing
1% Liquidity
1% BUSD Rewards
1% Development
🔥 WILL NEVER RUG YOU! 🔥
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
WNRY.addLiquidity(uint256,uint256) (WillNeverRugYou.sol#515-530) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433):
External calls:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- address(marketingWallet).sendValue(marketingWalletAmt) (WillNeverRugYou.sol#457)
- address(devWallet).sendValue(devAmt) (WillNeverRugYou.sol#463)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (WillNeverRugYou.sol#489)
- dividendTracker.distributeBUSDDividends(dividends) (WillNeverRugYou.sol#492)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#477-483)
External calls sending eth:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
State variables written after the call(s):
- super._transfer(from,address(this),feeAmt) (WillNeverRugYou.sol#418)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (WillNeverRugYou.sol#420)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapping = false (WillNeverRugYou.sol#398)
Apply the check-effects-interactions pattern.
Additional information: link
WNRY.rescueBEP20Tokens(address) (WillNeverRugYou.sol#150-152) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (WillNeverRugYou.sol#151)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
WNRY.swapAndLiquify(uint256,uint256) (WillNeverRugYou.sol#435-465) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (WillNeverRugYou.sol#446)
-bnbToAddLiquidityWith = unitBalance * sellTaxes.liquidity (WillNeverRugYou.sol#447)
WNRY.swapAndLiquify(uint256,uint256) (WillNeverRugYou.sol#435-465) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (WillNeverRugYou.sol#446)
-marketingWalletAmt = unitBalance * 2 * sellTaxes.marketing (WillNeverRugYou.sol#455)
WNRY.swapAndLiquify(uint256,uint256) (WillNeverRugYou.sol#435-465) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - sellTaxes.liquidity) (WillNeverRugYou.sol#446)
-devAmt = unitBalance * 2 * sellTaxes.dev (WillNeverRugYou.sol#461)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#74-90):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#82)
Apply the check-effects-interactions pattern.
Additional information: link
WNRY.airdropTokens(address[],uint256[]).i (WillNeverRugYou.sol#349) is a local variable never initialized
WNRY._transfer(address,address,uint256).lastProcessedIndex (WillNeverRugYou.sol#428) is a local variable never initialized
WNRY.setBulkBot(address[],bool).i (WillNeverRugYou.sol#240) is a local variable never initialized
WNRY._transfer(address,address,uint256).iterations (WillNeverRugYou.sol#428) is a local variable never initialized
WNRY._transfer(address,address,uint256).claims (WillNeverRugYou.sol#428) 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
WNRY.claim() (WillNeverRugYou.sol#144-146) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (WillNeverRugYou.sol#145)
WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433) ignores return value by dividendTracker.process(gas) (WillNeverRugYou.sol#428-431)
WNRY.addLiquidity(uint256,uint256) (WillNeverRugYou.sol#515-530) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#48) shadows:
- ERC20._name (ERC20.sol#42) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#48) shadows:
- ERC20._symbol (ERC20.sol#43) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#96) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#103) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#110) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#120) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
WNRY.setSwapTokensAtAmount(uint256) (WillNeverRugYou.sol#205-207) should emit an event for:
- swapTokensAtAmount = amount * 10 ** 9 (WillNeverRugYou.sol#206)
WNRY.updateAntiDump(uint256,uint256) (WillNeverRugYou.sol#338-341) should emit an event for:
- antiDumpCycle = timeInMinutes * 60 (WillNeverRugYou.sol#339)
- maxSellAmountPerCycle = _maxSellAmountPerCycle * 10 ** 9 (WillNeverRugYou.sol#340)
Emit an event for critical parameter changes.
Additional information: link
WNRY.setMarketingWallet(address).newWallet (WillNeverRugYou.sol#195) lacks a zero-check on :
- marketingWallet = newWallet (WillNeverRugYou.sol#196)
WNRY.setDevWallet(address).newWallet (WillNeverRugYou.sol#199) lacks a zero-check on :
- devWallet = newWallet (WillNeverRugYou.sol#200)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#74-90) has external calls inside a loop: success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'WNRY._transfer(address,address,uint256).lastProcessedIndex (WillNeverRugYou.sol#428)' in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WillNeverRugYou.sol#429)
Variable 'WNRY._transfer(address,address,uint256).claims (WillNeverRugYou.sol#428)' in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WillNeverRugYou.sol#429)
Variable 'WNRY._transfer(address,address,uint256).iterations (WillNeverRugYou.sol#428)' in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WillNeverRugYou.sol#429)
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
distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#53-64)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#68-70)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#96-98)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#110-112)
name() should be declared external:
- ERC20.name() (ERC20.sol#62-64)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#70-72)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#113-116)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#121-123)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#132-135)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#150-158)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#172-175)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#191-194)
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)
updateDividendTracker(address) should be declared external:
- WNRY.updateDividendTracker(address) (WillNeverRugYou.sol#127-135)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- WNRY.excludeMultipleAccountsFromFees(address[],bool) (WillNeverRugYou.sol#177-182)
isExcludedFromFees(address) should be declared external:
- WNRY.isExcludedFromFees(address) (WillNeverRugYou.sol#292-294)
withdrawableDividendOf(address) should be declared external:
- WNRY.withdrawableDividendOf(address) (WillNeverRugYou.sol#296-298)
dividendTokenBalanceOf(address) should be declared external:
- WNRY.dividendTokenBalanceOf(address) (WillNeverRugYou.sol#300-302)
getAccountAtIndex(uint256) should be declared external:
- WNRYDividendTracker.getAccountAtIndex(uint256) (WillNeverRugYou.sol#642-659)
setBalance(address,uint256) should be declared external:
- WNRYDividendTracker.setBalance(address,uint256) (WillNeverRugYou.sol#670-686)
process(uint256) should be declared external:
- WNRYDividendTracker.process(uint256) (WillNeverRugYou.sol#688-733)
Use the external attribute for functions never called from the contract.
Additional information: link
Reentrancy in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433):
External calls:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- address(marketingWallet).sendValue(marketingWalletAmt) (WillNeverRugYou.sol#457)
- address(devWallet).sendValue(devAmt) (WillNeverRugYou.sol#463)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (WillNeverRugYou.sol#489)
- dividendTracker.distributeBUSDDividends(dividends) (WillNeverRugYou.sol#492)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#477-483)
External calls sending eth:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in WNRY.constructor() (WillNeverRugYou.sol#92-124):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (WillNeverRugYou.sol#98)
State variables written after the call(s):
- pair = _pair (WillNeverRugYou.sol#101)
- router = _router (WillNeverRugYou.sol#100)
Reentrancy in WNRY.constructor() (WillNeverRugYou.sol#92-124):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (WillNeverRugYou.sol#98)
- _setAutomatedMarketMakerPair(_pair,true) (WillNeverRugYou.sol#103)
- dividendTracker.excludeFromDividends(newPair,true) (WillNeverRugYou.sol#259)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (WillNeverRugYou.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (WillNeverRugYou.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (WillNeverRugYou.sol#109)
- dividendTracker.excludeFromDividends(address(0xdead),true) (WillNeverRugYou.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (WillNeverRugYou.sol#111)
State variables written after the call(s):
- _mint(owner(),1e10 * (10 ** 9)) (WillNeverRugYou.sol#123)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#240)
- excludeFromFees(owner(),true) (WillNeverRugYou.sol#114)
- _isExcludedFromFees[account] = excluded (WillNeverRugYou.sol#172)
- excludeFromFees(address(this),true) (WillNeverRugYou.sol#115)
- _isExcludedFromFees[account] = excluded (WillNeverRugYou.sol#172)
- excludeFromFees(marketingWallet,true) (WillNeverRugYou.sol#116)
- _isExcludedFromFees[account] = excluded (WillNeverRugYou.sol#172)
- excludeFromFees(devWallet,true) (WillNeverRugYou.sol#117)
- _isExcludedFromFees[account] = excluded (WillNeverRugYou.sol#172)
- _mint(owner(),1e10 * (10 ** 9)) (WillNeverRugYou.sol#123)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#239)
Reentrancy in WNRYDividendTracker.processAccount(address,bool) (WillNeverRugYou.sol#735-745):
External calls:
- amount = _withdrawDividendOfUser(account) (WillNeverRugYou.sol#736)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (WillNeverRugYou.sol#739)
Reentrancy in WNRY.swapAndLiquify(uint256,uint256) (WillNeverRugYou.sol#435-465):
External calls:
- swapTokensForBNB(toSwap) (WillNeverRugYou.sol#443)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in WNRY.updateDividendTracker(address) (WillNeverRugYou.sol#127-135):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (WillNeverRugYou.sol#130)
- newDividendTracker.excludeFromDividends(address(this),true) (WillNeverRugYou.sol#131)
- newDividendTracker.excludeFromDividends(owner(),true) (WillNeverRugYou.sol#132)
- newDividendTracker.excludeFromDividends(address(router),true) (WillNeverRugYou.sol#133)
State variables written after the call(s):
- dividendTracker = newDividendTracker (WillNeverRugYou.sol#134)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in WNRY._setAutomatedMarketMakerPair(address,bool) (WillNeverRugYou.sol#254-263):
External calls:
- dividendTracker.excludeFromDividends(newPair,true) (WillNeverRugYou.sol#259)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (WillNeverRugYou.sol#262)
Reentrancy in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433):
External calls:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- address(marketingWallet).sendValue(marketingWalletAmt) (WillNeverRugYou.sol#457)
- address(devWallet).sendValue(devAmt) (WillNeverRugYou.sol#463)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (WillNeverRugYou.sol#489)
- dividendTracker.distributeBUSDDividends(dividends) (WillNeverRugYou.sol#492)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#477-483)
External calls sending eth:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- SendDividends(tokens,dividends) (WillNeverRugYou.sol#493)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),feeAmt) (WillNeverRugYou.sol#418)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (WillNeverRugYou.sol#420)
Reentrancy in WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433):
External calls:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- address(marketingWallet).sendValue(marketingWalletAmt) (WillNeverRugYou.sol#457)
- address(devWallet).sendValue(devAmt) (WillNeverRugYou.sol#463)
- swapAndSendDividends(sellTokens) (WillNeverRugYou.sol#395)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (WillNeverRugYou.sol#489)
- dividendTracker.distributeBUSDDividends(dividends) (WillNeverRugYou.sol#492)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#477-483)
- dividendTracker.setBalance(from,balanceOf(from)) (WillNeverRugYou.sol#422)
- dividendTracker.setBalance(to,balanceOf(to)) (WillNeverRugYou.sol#423)
- dividendTracker.process(gas) (WillNeverRugYou.sol#428-431)
External calls sending eth:
- swapAndLiquify(swapTokens,swapTax - sellTaxes.rewards) (WillNeverRugYou.sol#391)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (WillNeverRugYou.sol#429)
Reentrancy in WNRY.constructor() (WillNeverRugYou.sol#92-124):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (WillNeverRugYou.sol#98)
- _setAutomatedMarketMakerPair(_pair,true) (WillNeverRugYou.sol#103)
- dividendTracker.excludeFromDividends(newPair,true) (WillNeverRugYou.sol#259)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (WillNeverRugYou.sol#262)
- _setAutomatedMarketMakerPair(_pair,true) (WillNeverRugYou.sol#103)
Reentrancy in WNRY.constructor() (WillNeverRugYou.sol#92-124):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (WillNeverRugYou.sol#98)
- _setAutomatedMarketMakerPair(_pair,true) (WillNeverRugYou.sol#103)
- dividendTracker.excludeFromDividends(newPair,true) (WillNeverRugYou.sol#259)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (WillNeverRugYou.sol#107)
- dividendTracker.excludeFromDividends(address(this),true) (WillNeverRugYou.sol#108)
- dividendTracker.excludeFromDividends(owner(),true) (WillNeverRugYou.sol#109)
- dividendTracker.excludeFromDividends(address(0xdead),true) (WillNeverRugYou.sol#110)
- dividendTracker.excludeFromDividends(address(_router),true) (WillNeverRugYou.sol#111)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (WillNeverRugYou.sol#174)
- excludeFromFees(devWallet,true) (WillNeverRugYou.sol#117)
- ExcludeFromFees(account,excluded) (WillNeverRugYou.sol#174)
- excludeFromFees(owner(),true) (WillNeverRugYou.sol#114)
- ExcludeFromFees(account,excluded) (WillNeverRugYou.sol#174)
- excludeFromFees(marketingWallet,true) (WillNeverRugYou.sol#116)
- ExcludeFromFees(account,excluded) (WillNeverRugYou.sol#174)
- excludeFromFees(address(this),true) (WillNeverRugYou.sol#115)
- Transfer(address(0),account,amount) (ERC20.sol#241)
- _mint(owner(),1e10 * (10 ** 9)) (WillNeverRugYou.sol#123)
Reentrancy in WNRYDividendTracker.processAccount(address,bool) (WillNeverRugYou.sol#735-745):
External calls:
- amount = _withdrawDividendOfUser(account) (WillNeverRugYou.sol#736)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#79)
Event emitted after the call(s):
- Claim(account,amount,automatic) (WillNeverRugYou.sol#740)
Reentrancy in WNRY.processDividendTracker(uint256) (WillNeverRugYou.sol#137-140):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (WillNeverRugYou.sol#138)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (WillNeverRugYou.sol#139)
Reentrancy in WNRY.swapAndLiquify(uint256,uint256) (WillNeverRugYou.sol#435-465):
External calls:
- swapTokensForBNB(toSwap) (WillNeverRugYou.sol#443)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#505-511)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,devWallet,block.timestamp) (WillNeverRugYou.sol#521-528)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (WillNeverRugYou.sol#451)
Reentrancy in WNRY.swapAndSendDividends(uint256) (WillNeverRugYou.sol#486-495):
External calls:
- swapTokensForBUSD(tokens) (WillNeverRugYou.sol#487)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (WillNeverRugYou.sol#477-483)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (WillNeverRugYou.sol#489)
- dividendTracker.distributeBUSDDividends(dividends) (WillNeverRugYou.sol#492)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (WillNeverRugYou.sol#493)
Apply the check-effects-interactions pattern.
Additional information: link
WNRY._transfer(address,address,uint256) (WillNeverRugYou.sol#354-433) uses timestamp for comparisons
Dangerous comparisons:
- newCycle = block.timestamp - userLastSell[from].firstSellTime >= antiDumpCycle (WillNeverRugYou.sol#365)
WNRYDividendTracker.getAccount(address) (WillNeverRugYou.sol#597-640) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (WillNeverRugYou.sol#637-639)
WNRYDividendTracker.canAutoClaim(uint256) (WillNeverRugYou.sol#661-667) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (WillNeverRugYou.sol#662)
- block.timestamp.sub(lastClaimTime) >= claimWait (WillNeverRugYou.sol#666)
Avoid relying on block.timestamp.
Additional information: link
WNRYDividendTracker.excludeFromDividends(address,bool) (WillNeverRugYou.sol#567-580) compares to a boolean constant:
-value == true (WillNeverRugYou.sol#570)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#130-136) is never used and should be removed
SafeMath.div(uint256,uint256) (SafeMath.sol#90-92) is never used and should be removed
SafeMath.div(uint256,uint256,string) (SafeMath.sol#106-112) 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) (SafeMath.sol#200-203) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMath.sol#171-177) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMath.sol#159-166) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (WillNeverRugYou.sol#13-18):
- (success) = recipient.call{value: amount}() (WillNeverRugYou.sol#16)
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#96) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#103) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#110) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#120) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#22) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#28) is not in UPPER_CASE_WITH_UNDERSCORES
Function IRouter.WETH() (IDex.sol#16) is not in mixedCase
Parameter WNRY.setBuyTaxes(uint256,uint256,uint256,uint256)._rewards (WillNeverRugYou.sol#209) is not in mixedCase
Parameter WNRY.setBuyTaxes(uint256,uint256,uint256,uint256)._marketing (WillNeverRugYou.sol#209) is not in mixedCase
Parameter WNRY.setBuyTaxes(uint256,uint256,uint256,uint256)._liquidity (WillNeverRugYou.sol#209) is not in mixedCase
Parameter WNRY.setBuyTaxes(uint256,uint256,uint256,uint256)._dev (WillNeverRugYou.sol#209) is not in mixedCase
Parameter WNRY.setSellTaxes(uint256,uint256,uint256,uint256)._rewards (WillNeverRugYou.sol#213) is not in mixedCase
Parameter WNRY.setSellTaxes(uint256,uint256,uint256,uint256)._marketing (WillNeverRugYou.sol#213) is not in mixedCase
Parameter WNRY.setSellTaxes(uint256,uint256,uint256,uint256)._liquidity (WillNeverRugYou.sol#213) is not in mixedCase
Parameter WNRY.setSellTaxes(uint256,uint256,uint256,uint256)._dev (WillNeverRugYou.sol#213) is not in mixedCase
Parameter WNRY.setSwapEnabled(bool)._enabled (WillNeverRugYou.sol#219) is not in mixedCase
Parameter WNRY.updateAntiDump(uint256,uint256)._maxSellAmountPerCycle (WillNeverRugYou.sol#338) is not in mixedCase
Variable WNRY.BUSD (WillNeverRugYou.sol#35) is not in mixedCase
Variable WNRY._isBot (WillNeverRugYou.sol#74) is not in mixedCase
Parameter WNRYDividendTracker.getAccount(address)._account (WillNeverRugYou.sol#597) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#75) is too similar to WNRYDividendTracker.getAccount(address).withdrawableDividends (WillNeverRugYou.sol#602)
Prevent variables from having similar names.
Additional information: link
WNRY.setGasForProcessing(uint256) (WillNeverRugYou.sol#268-273) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,WNRY: gasForProcessing must be between 200,000 and 500,000) (WillNeverRugYou.sol#269)
WNRY.slitherConstructorVariables() (WillNeverRugYou.sol#22-532) uses literals with too many digits:
- gasForProcessing = 300000 (WillNeverRugYou.sol#68)
WNRYDividendTracker.getAccountAtIndex(uint256) (WillNeverRugYou.sol#642-659) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (WillNeverRugYou.sol#653)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMath.sol#154) is never used in SafeMathInt (SafeMath.sol#152-210)
Remove unused state variables.
Additional information: link
WNRY.antiBotBlocks (WillNeverRugYou.sol#75) should be constant
Add the constant attributes to state variables that never change.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Twitter link on the website
Young tokens have high risks of scam / price dump / death
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
Token has no active CoinMarketCap listing / rank
Telegram account has relatively few subscribers
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Youtube account
Unable to find Discord account