Elfie Inu Token Logo

ELFIEINU [Elfie Inu] Token

About ELFIEINU

Listings

Token 2 years

HODL $ELFIEINU,
EARN REWARDS
IN BNB/BUSD.

Elfie Inu brings 100x opportunity this Christmas, 10% BNB/BUSD Reward, impressive utility planned post launch with SantaSwap and Elfie Inu NFT.

Hope, happiness and financial freedom, Elfie Inu will bring magic back to your life.

Social

Laser Scorebeta Last Audit: 17 February 2022

report
Token has too many issues. Scam probability is high.

Anti-Scam

Links


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

ElfieInu.swapAndSendToMarketing(uint256) (ElfieInu.sol#414-422) sends eth to arbitrary user
Dangerous calls:
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
ElfieInu.addLiquidity(uint256,uint256) (ElfieInu.sol#424-439) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
State variables written after the call(s):
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- swapping = true (ElfieInu.sol#111)
- swapping = false (ElfieInu.sol#113)
Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (ElfieInu.sol#394)
- _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) (ElfieInu.sol#397)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- swapping = true (ElfieInu.sol#111)
- swapping = false (ElfieInu.sol#113)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#97)
Apply the check-effects-interactions pattern.

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.

Low level call in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Low level call in ElfieInu.swapAndSendDividends(uint256) (ElfieInu.sol#482-490):
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Reentrancy in ElfieInu.updateDividendTracker(address) (ElfieInu.sol#155-170):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ElfieInu.sol#162)
- newDividendTracker.excludeFromDividends(address(this)) (ElfieInu.sol#163)
- newDividendTracker.excludeFromDividends(owner()) (ElfieInu.sol#164)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ElfieInu.sol#165)
State variables written after the call(s):
- dividendTracker = newDividendTracker (ElfieInu.sol#169)
Apply the check-effects-interactions pattern.

Additional information: link

ElfieInu._transfer(address,address,uint256).iterations (ElfieInu.sol#405) is a local variable never initialized
ElfieInu._transfer(address,address,uint256).claims (ElfieInu.sol#405) is a local variable never initialized
ElfieInu._transfer(address,address,uint256).lastProcessedIndex (ElfieInu.sol#405) 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

ElfieInu.claim() (ElfieInu.sol#278-280) ignores return value by dividendTracker.processAccount(msg.sender,false) (ElfieInu.sol#279)
ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412) ignores return value by dividendTracker.process(gas) (ElfieInu.sol#405-410)
ElfieInu.addLiquidity(uint256,uint256) (ElfieInu.sol#424-439) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#46) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#46) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.

Additional information: link

ElfieInu.setMaxSellTxAMount(uint256) (ElfieInu.sol#290-292) should emit an event for:
- maxSellTransactionAmount = amount (ElfieInu.sol#291)
ElfieInu.setAtSwapTxAMount(uint256) (ElfieInu.sol#294-296) should emit an event for:
- swapTokensAtAmount = amount (ElfieInu.sol#295)
ElfieInu.setRewardFee(uint256) (ElfieInu.sol#325-327) should emit an event for:
- BNBRewardsFee = value (ElfieInu.sol#326)
ElfieInu.setLiquidityFee(uint256) (ElfieInu.sol#329-331) should emit an event for:
- liquidityFee = value (ElfieInu.sol#330)
ElfieInu.setMarketingFee(uint256) (ElfieInu.sol#333-335) should emit an event for:
- marketingFee = value (ElfieInu.sol#334)
Emit an event for critical parameter changes.

Additional information: link

ElfieInu.setGasFeeWallet(address).newWallet (ElfieInu.sol#298) lacks a zero-check on :
- _gasFeeWallet = address(newWallet) (ElfieInu.sol#299)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'ElfieInu._transfer(address,address,uint256).claims (ElfieInu.sol#405)' in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ElfieInu.sol#406)
Variable 'ElfieInu._transfer(address,address,uint256).iterations (ElfieInu.sol#405)' in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ElfieInu.sol#406)
Variable 'ElfieInu._transfer(address,address,uint256).lastProcessedIndex (ElfieInu.sol#405)' in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ElfieInu.sol#406)
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 ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
State variables written after the call(s):
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ElfieInu.constructor() (ElfieInu.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ElfieInu.sol#123-124)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (ElfieInu.sol#127)
- uniswapV2Router = _uniswapV2Router (ElfieInu.sol#126)
Reentrancy in ElfieInu.constructor() (ElfieInu.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ElfieInu.sol#123-124)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ElfieInu.sol#129)
- dividendTracker.excludeFromDividends(pair) (ElfieInu.sol#205)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ElfieInu.sol#132)
- dividendTracker.excludeFromDividends(address(this)) (ElfieInu.sol#133)
- dividendTracker.excludeFromDividends(owner()) (ElfieInu.sol#134)
- dividendTracker.excludeFromDividends(address(burnAdd)) (ElfieInu.sol#135)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (ElfieInu.sol#136)
State variables written after the call(s):
- _mint(owner(),1000000000000 * (10 ** 18)) (ElfieInu.sol#147)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (ElfieInu.sol#139)
- _isExcludedFromFees[account] = excluded (ElfieInu.sol#180)
- excludeFromFees(_gasFeeWallet,true) (ElfieInu.sol#140)
- _isExcludedFromFees[account] = excluded (ElfieInu.sol#180)
- excludeFromFees(address(this),true) (ElfieInu.sol#141)
- _isExcludedFromFees[account] = excluded (ElfieInu.sol#180)
- _mint(owner(),1000000000000 * (10 ** 18)) (ElfieInu.sol#147)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in ElfieInuDividendTracker.processAccount(address,bool) (ElfieInu.sol#689-699):
External calls:
- amount = _withdrawDividendOfUser(account) (ElfieInu.sol#690)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (ElfieInu.sol#693)
Reentrancy in ElfieInu.swapAndLiquify(uint256) (ElfieInu.sol#441-458):
External calls:
- swapTokensForEth(half) (ElfieInu.sol#449)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in ElfieInu._setAutomatedMarketMakerPair(address,bool) (ElfieInu.sol#200-209):
External calls:
- dividendTracker.excludeFromDividends(pair) (ElfieInu.sol#205)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ElfieInu.sol#208)
Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- SendDividends(tokens,dividends) (ElfieInu.sol#488)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (ElfieInu.sol#394)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (ElfieInu.sol#397)
Reentrancy in ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- dividendTracker.setBalance(address(from),balanceOf(from)) (ElfieInu.sol#399)
- dividendTracker.setBalance(address(to),balanceOf(to)) (ElfieInu.sol#400)
- dividendTracker.process(gas) (ElfieInu.sol#405-410)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ElfieInu.sol#406)
Reentrancy in ElfieInu.constructor() (ElfieInu.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ElfieInu.sol#123-124)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ElfieInu.sol#129)
- dividendTracker.excludeFromDividends(pair) (ElfieInu.sol#205)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ElfieInu.sol#208)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ElfieInu.sol#129)
Reentrancy in ElfieInu.constructor() (ElfieInu.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ElfieInu.sol#123-124)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ElfieInu.sol#129)
- dividendTracker.excludeFromDividends(pair) (ElfieInu.sol#205)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ElfieInu.sol#132)
- dividendTracker.excludeFromDividends(address(this)) (ElfieInu.sol#133)
- dividendTracker.excludeFromDividends(owner()) (ElfieInu.sol#134)
- dividendTracker.excludeFromDividends(address(burnAdd)) (ElfieInu.sol#135)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (ElfieInu.sol#136)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (ElfieInu.sol#182)
- excludeFromFees(owner(),true) (ElfieInu.sol#139)
- ExcludeFromFees(account,excluded) (ElfieInu.sol#182)
- excludeFromFees(address(this),true) (ElfieInu.sol#141)
- ExcludeFromFees(account,excluded) (ElfieInu.sol#182)
- excludeFromFees(_gasFeeWallet,true) (ElfieInu.sol#140)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000000000 * (10 ** 18)) (ElfieInu.sol#147)
Reentrancy in ElfieInuDividendTracker.processAccount(address,bool) (ElfieInu.sol#689-699):
External calls:
- amount = _withdrawDividendOfUser(account) (ElfieInu.sol#690)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Event emitted after the call(s):
- Claim(account,amount,automatic) (ElfieInu.sol#694)
Reentrancy in ElfieInu.processDividendTracker(uint256) (ElfieInu.sol#273-276):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (ElfieInu.sol#274)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (ElfieInu.sol#275)
Reentrancy in ElfieInu.swapAndLiquify(uint256) (ElfieInu.sol#441-458):
External calls:
- swapTokensForEth(half) (ElfieInu.sol#449)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (ElfieInu.sol#455)
- SwapAndLiquify(half,newBalance,otherHalf) (ElfieInu.sol#457)
Reentrancy in ElfieInu.swapAndSendDividends(uint256) (ElfieInu.sol#482-490):
External calls:
- swapTokensForEth(tokens) (ElfieInu.sol#483)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ElfieInu.sol#471-477)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (ElfieInu.sol#488)
Reentrancy in ElfieInu.updateDividendTracker(address) (ElfieInu.sol#155-170):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (ElfieInu.sol#162)
- newDividendTracker.excludeFromDividends(address(this)) (ElfieInu.sol#163)
- newDividendTracker.excludeFromDividends(owner()) (ElfieInu.sol#164)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (ElfieInu.sol#165)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (ElfieInu.sol#167)
Apply the check-effects-interactions pattern.

Additional information: link

ElfieInuDividendTracker.getAccount(address) (ElfieInu.sol#553-596) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (ElfieInu.sol#593-595)
ElfieInuDividendTracker.canAutoClaim(uint256) (ElfieInu.sol#617-623) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (ElfieInu.sol#618)
- block.timestamp.sub(lastClaimTime) >= claimWait (ElfieInu.sol#622)
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#145-151) 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

ElfieInu.totalFees (ElfieInu.sol#58) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(marketingFee).add(liquidityFee)
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 (ElfieInu.sol#29) 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
solc-0.6.2 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#111) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#118) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#125) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#135) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#26) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ElfieInu.BNBRewardsFee (ElfieInu.sol#55) is not in mixedCase
Variable ElfieInu._gasFeeWallet (ElfieInu.sol#62) is not in mixedCase
Parameter ElfieInuDividendTracker.getAccount(address)._account (ElfieInu.sol#553) is not in mixedCase
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
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 ElfieInu._transfer(address,address,uint256) (ElfieInu.sol#341-412):
External calls:
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
External calls sending eth:
- swapAndLiquify(swapTokens) (ElfieInu.sol#368)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (ElfieInu.sol#430-437)
- swapAndSendToMarketing(marketingTokens) (ElfieInu.sol#371)
- _gasFeeWallet.transfer(newBalance) (ElfieInu.sol#421)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- (success) = address(dividendTracker).call{value: dividends}() (ElfieInu.sol#485)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- _allowances[owner][spender] = amount (ERC20.sol#287)
- super._transfer(from,address(this),fees) (ElfieInu.sol#394)
- _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) (ElfieInu.sol#397)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- swapping = true (ElfieInu.sol#111)
- swapping = false (ElfieInu.sol#113)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ElfieInu.sol#406)
- SendDividends(tokens,dividends) (ElfieInu.sol#488)
- swapAndSendDividends(sellTokens) (ElfieInu.sol#374)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (ElfieInu.sol#394)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (ElfieInu.sol#397)
Apply the check-effects-interactions pattern.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#90) is too similar to ElfieInuDividendTracker.getAccount(address).withdrawableDividends (ElfieInu.sol#558)
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

ElfieInu.constructor() (ElfieInu.sol#116-148) uses literals with too many digits:
- burnAdd = 0x000000000000000000000000000000000000dEaD (ElfieInu.sol#118)
ElfieInu.constructor() (ElfieInu.sol#116-148) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (ElfieInu.sol#147)
ElfieInu.updateGasForProcessing(uint256) (ElfieInu.sol#212-217) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,ElfieInu: gasForProcessing must be between 200,000 and 500,000) (ElfieInu.sol#213)
ElfieInu.prepareForPresale() (ElfieInu.sol#303-310) uses literals with too many digits:
- maxSellTransactionAmount = 1000000000000 * (10 ** 18) (ElfieInu.sol#304)
ElfieInu.afterLaunch() (ElfieInu.sol#312-319) uses literals with too many digits:
- maxSellTransactionAmount = 1000000000000 * (10 ** 18) (ElfieInu.sol#313)
ElfieInu.slitherConstructorVariables() (ElfieInu.sol#40-491) uses literals with too many digits:
- maxSellTransactionAmount = 1000000000000 * (10 ** 18) (ElfieInu.sol#52)
ElfieInu.slitherConstructorVariables() (ElfieInu.sol#40-491) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (ElfieInu.sol#53)
ElfieInu.slitherConstructorVariables() (ElfieInu.sol#40-491) uses literals with too many digits:
- gasForProcessing = 300000 (ElfieInu.sol#65)
ElfieInuDividendTracker.constructor() (ElfieInu.sol#513-516) uses literals with too many digits:
- minimumTokenBalanceForDividends = 100000 * (10 ** 18) (ElfieInu.sol#515)
ElfieInuDividendTracker.getAccountAtIndex(uint256) (ElfieInu.sol#598-615) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (ElfieInu.sol#609)
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

withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#83-85)
- ElfieInuDividendTracker.withdrawDividend() (ElfieInu.sol#522-524)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#111-113)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#125-127)
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)
updateDividendTracker(address) should be declared external:
- ElfieInu.updateDividendTracker(address) (ElfieInu.sol#155-170)
updateUniswapV2Router(address) should be declared external:
- ElfieInu.updateUniswapV2Router(address) (ElfieInu.sol#172-176)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ElfieInu.excludeMultipleAccountsFromFees(address[],bool) (ElfieInu.sol#185-191)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ElfieInu.setAutomatedMarketMakerPair(address,bool) (ElfieInu.sol#194-198)
updateGasForProcessing(uint256) should be declared external:
- ElfieInu.updateGasForProcessing(uint256) (ElfieInu.sol#212-217)
isExcludedFromFees(address) should be declared external:
- ElfieInu.isExcludedFromFees(address) (ElfieInu.sol#235-237)
withdrawableDividendOf(address) should be declared external:
- ElfieInu.withdrawableDividendOf(address) (ElfieInu.sol#239-241)
dividendTokenBalanceOf(address) should be declared external:
- ElfieInu.dividendTokenBalanceOf(address) (ElfieInu.sol#243-245)
getAccountAtIndex(uint256) should be declared external:
- ElfieInuDividendTracker.getAccountAtIndex(uint256) (ElfieInu.sol#598-615)
process(uint256) should be declared external:
- ElfieInuDividendTracker.process(uint256) (ElfieInu.sol#642-687)
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)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Twitter account link seems to be invalid


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinGecko

Additional information: link


Unable to find token on CoinMarketCap

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of price dump / death


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 ELFIEINU