Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
UkraInu.addLiquidity(uint256,uint256) (UkraInuToken.sol#471-486) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (UkraInuToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (UkraInuToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (UkraInuToken.sol#377)
- _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) (UkraInuToken.sol#381)
- _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 (UkraInuToken.sol#356)
Apply the check-effects-interactions pattern.
Additional information: link
UkraInu.swapAndSendToFee(uint256) (UkraInuToken.sol#398-405) ignores return value by IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
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.
UkraInu.claim() (UkraInuToken.sol#307-309) ignores return value by dividendTracker.processAccount(msg.sender,false) (UkraInuToken.sol#308)
UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396) ignores return value by dividendTracker.process(gas) (UkraInuToken.sol#389-394)
UkraInu.addLiquidity(uint256,uint256) (UkraInuToken.sol#471-486) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-95):
External calls:
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#87)
Reentrancy in UkraInu.updateDividendTracker(address) (UkraInuToken.sol#134-149):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (UkraInuToken.sol#141)
- newDividendTracker.excludeFromDividends(address(this)) (UkraInuToken.sol#142)
- newDividendTracker.excludeFromDividends(owner()) (UkraInuToken.sol#143)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (UkraInuToken.sol#144)
State variables written after the call(s):
- dividendTracker = newDividendTracker (UkraInuToken.sol#148)
Apply the check-effects-interactions pattern.
Additional information: link
UkraInu._transfer(address,address,uint256).claims (UkraInuToken.sol#389) is a local variable never initialized
UkraInu._transfer(address,address,uint256).lastProcessedIndex (UkraInuToken.sol#389) is a local variable never initialized
UkraInu._transfer(address,address,uint256).iterations (UkraInuToken.sol#389) 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
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#119) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#129) shadows:
- Ownable._owner (Ownable.sol#9) (state variable)
Rename the local variables that shadow another component.
Additional information: link
UkraInu.setSwapAmount(uint256) (UkraInuToken.sol#189-191) should emit an event for:
- swapTokensAtAmount = value * (10 ** 18) (UkraInuToken.sol#190)
UkraInu.updateBaseFees(uint256,uint256,uint256) (UkraInuToken.sol#204-209) should emit an event for:
- ETHRewardsFee = _amountRewards (UkraInuToken.sol#205)
- marketingFee = _amountMarketing (UkraInuToken.sol#206)
- liquidityFee = _amountLiq (UkraInuToken.sol#207)
- totalFees = ETHRewardsFee.add(liquidityFee).add(marketingFee) (UkraInuToken.sol#208)
UkraInu.updateSellFees(uint256,uint256,uint256) (UkraInuToken.sol#213-218) should emit an event for:
- sellFeeRewards = _amountRewards (UkraInuToken.sol#214)
- sellFeeMarketing = _amountMarketing (UkraInuToken.sol#215)
- sellFeeLiq = _amountLiq (UkraInuToken.sol#216)
- totalSellFees = sellFeeRewards.add(sellFeeLiq).add(sellFeeMarketing) (UkraInuToken.sol#217)
UkraInuDividendTracker.UpdateAmount(uint256) (UkraInuToken.sol#534-536) should emit an event for:
- minimumTokenBalanceForDividends = _amount (UkraInuToken.sol#535)
Emit an event for critical parameter changes.
Additional information: link
UkraInu.updateUniswapV2Router(address)._uniswapV2Pair (UkraInuToken.sol#160-161) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (UkraInuToken.sol#162)
UkraInu.setMarketingWallet(address).wallet (UkraInuToken.sol#180) lacks a zero-check on :
- _marketingWalletAddress = wallet (UkraInuToken.sol#181)
UkraInu.changeReward(address).newReward (UkraInuToken.sol#184) lacks a zero-check on :
- ETH = newReward (UkraInuToken.sol#185)
DividendPayingToken.setDividendTokenAddress(address).newToken (DividendPayingToken.sol#67) lacks a zero-check on :
- REWARD = newToken (DividendPayingToken.sol#68)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#79-95) has external calls inside a loop: success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'UkraInu._transfer(address,address,uint256).iterations (UkraInuToken.sol#389)' in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (UkraInuToken.sol#390)
Variable 'UkraInu._transfer(address,address,uint256).claims (UkraInuToken.sol#389)' in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (UkraInuToken.sol#390)
Variable 'UkraInu._transfer(address,address,uint256).lastProcessedIndex (UkraInuToken.sol#389)' in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (UkraInuToken.sol#390)
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 UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (UkraInuToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (UkraInuToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in UkraInu.constructor() (UkraInuToken.sol#94-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (UkraInuToken.sol#103-104)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (UkraInuToken.sol#107)
- uniswapV2Router = _uniswapV2Router (UkraInuToken.sol#106)
Reentrancy in UkraInu.constructor() (UkraInuToken.sol#94-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (UkraInuToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (UkraInuToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (UkraInuToken.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (UkraInuToken.sol#112)
- dividendTracker.excludeFromDividends(address(this)) (UkraInuToken.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (UkraInuToken.sol#114)
- dividendTracker.excludeFromDividends(zeroWallet) (UkraInuToken.sol#115)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (UkraInuToken.sol#116)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (UkraInuToken.sol#127)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (UkraInuToken.sol#119)
- _isExcludedFromFees[account] = excluded (UkraInuToken.sol#167)
- excludeFromFees(_marketingWalletAddress,true) (UkraInuToken.sol#120)
- _isExcludedFromFees[account] = excluded (UkraInuToken.sol#167)
- excludeFromFees(address(this),true) (UkraInuToken.sol#121)
- _isExcludedFromFees[account] = excluded (UkraInuToken.sol#167)
- _mint(owner(),1000000000 * (10 ** 18)) (UkraInuToken.sol#127)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in UkraInuDividendTracker.processAccount(address,bool) (UkraInuToken.sol#703-713):
External calls:
- amount = _withdrawDividendOfUser(account) (UkraInuToken.sol#704)
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (UkraInuToken.sol#707)
Reentrancy in UkraInu.swapAndLiquify(uint256) (UkraInuToken.sol#407-428):
External calls:
- swapTokensForEth(half) (UkraInuToken.sol#419)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in UkraInu.updateUniswapV2Router(address) (UkraInuToken.sol#156-163):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (UkraInuToken.sol#160-161)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (UkraInuToken.sol#162)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in UkraInu._setAutomatedMarketMakerPair(address,bool) (UkraInuToken.sol#220-229):
External calls:
- dividendTracker.excludeFromDividends(pair) (UkraInuToken.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (UkraInuToken.sol#228)
Reentrancy in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- SwapAndLiquify(half,newBalance,otherHalf) (UkraInuToken.sol#427)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
Reentrancy in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (UkraInuToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (UkraInuToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- SendDividends(tokens,dividends) (UkraInuToken.sol#495)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (UkraInuToken.sol#377)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (UkraInuToken.sol#381)
Reentrancy in UkraInu._transfer(address,address,uint256) (UkraInuToken.sol#320-396):
External calls:
- swapAndSendToFee(marketingTokens) (UkraInuToken.sol#348)
- IERC20(ETH).transfer(_marketingWalletAddress,newBalance) (UkraInuToken.sol#404)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- swapAndSendDividends(sellTokens) (UkraInuToken.sol#354)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (UkraInuToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (UkraInuToken.sol#494)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- dividendTracker.setBalance(address(from),balanceOf(from)) (UkraInuToken.sol#383)
- dividendTracker.setBalance(address(to),balanceOf(to)) (UkraInuToken.sol#384)
- dividendTracker.process(gas) (UkraInuToken.sol#389-394)
External calls sending eth:
- swapAndLiquify(swapTokens) (UkraInuToken.sol#351)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (UkraInuToken.sol#390)
Reentrancy in UkraInu.constructor() (UkraInuToken.sol#94-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (UkraInuToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (UkraInuToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (UkraInuToken.sol#225)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (UkraInuToken.sol#228)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (UkraInuToken.sol#109)
Reentrancy in UkraInu.constructor() (UkraInuToken.sol#94-128):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (UkraInuToken.sol#103-104)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (UkraInuToken.sol#109)
- dividendTracker.excludeFromDividends(pair) (UkraInuToken.sol#225)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (UkraInuToken.sol#112)
- dividendTracker.excludeFromDividends(address(this)) (UkraInuToken.sol#113)
- dividendTracker.excludeFromDividends(deadWallet) (UkraInuToken.sol#114)
- dividendTracker.excludeFromDividends(zeroWallet) (UkraInuToken.sol#115)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (UkraInuToken.sol#116)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (UkraInuToken.sol#169)
- excludeFromFees(_marketingWalletAddress,true) (UkraInuToken.sol#120)
- ExcludeFromFees(account,excluded) (UkraInuToken.sol#169)
- excludeFromFees(address(this),true) (UkraInuToken.sol#121)
- ExcludeFromFees(account,excluded) (UkraInuToken.sol#169)
- excludeFromFees(owner(),true) (UkraInuToken.sol#119)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000000 * (10 ** 18)) (UkraInuToken.sol#127)
Reentrancy in UkraInuDividendTracker.processAccount(address,bool) (UkraInuToken.sol#703-713):
External calls:
- amount = _withdrawDividendOfUser(account) (UkraInuToken.sol#704)
- success = IERC20(REWARD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#84)
Event emitted after the call(s):
- Claim(account,amount,automatic) (UkraInuToken.sol#708)
Reentrancy in UkraInu.processDividendTracker(uint256) (UkraInuToken.sol#302-305):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (UkraInuToken.sol#303)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (UkraInuToken.sol#304)
Reentrancy in UkraInu.swapAndLiquify(uint256) (UkraInuToken.sol#407-428):
External calls:
- swapTokensForEth(half) (UkraInuToken.sol#419)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#442-448)
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(owner()),block.timestamp) (UkraInuToken.sol#477-484)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (UkraInuToken.sol#425)
- SwapAndLiquify(half,newBalance,otherHalf) (UkraInuToken.sol#427)
Reentrancy in UkraInu.swapAndSendDividends(uint256) (UkraInuToken.sol#488-497):
External calls:
- swapTokensForETH(tokens) (UkraInuToken.sol#489)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (UkraInuToken.sol#462-468)
- success = IERC20(ETH).transfer(address(dividendTracker),dividends) (UkraInuToken.sol#491)
- dividendTracker.distributeETHDividends(dividends) (UkraInuToken.sol#494)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (UkraInuToken.sol#495)
Reentrancy in UkraInu.updateDividendTracker(address) (UkraInuToken.sol#134-149):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (UkraInuToken.sol#141)
- newDividendTracker.excludeFromDividends(address(this)) (UkraInuToken.sol#142)
- newDividendTracker.excludeFromDividends(owner()) (UkraInuToken.sol#143)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (UkraInuToken.sol#144)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (UkraInuToken.sol#146)
Apply the check-effects-interactions pattern.
Additional information: link
UkraInuDividendTracker.getAccount(address) (UkraInuToken.sol#567-610) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (UkraInuToken.sol#607-609)
UkraInuDividendTracker.canAutoClaim(uint256) (UkraInuToken.sol#631-637) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (UkraInuToken.sol#632)
- block.timestamp.sub(lastClaimTime) >= claimWait (UkraInuToken.sol#636)
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#139-145) 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
UkraInu.totalFees (UkraInuToken.sol#41) is set pre-construction with a non-constant function or state variable:
- ETHRewardsFee.add(liquidityFee).add(marketingFee)
UkraInu.totalSellFees (UkraInuToken.sol#49) is set pre-construction with a non-constant function or state variable:
- sellFeeRewards.add(sellFeeLiq).add(sellFeeMarketing)
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#3) 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 (UkraInuToken.sol#6) 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
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#119) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#129) is not in mixedCase
Variable DividendPayingToken.REWARD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) 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
Parameter UkraInu.updateMinimumReqAmount(uint256)._amount (UkraInuToken.sol#152) is not in mixedCase
Parameter UkraInu.updateBaseFees(uint256,uint256,uint256)._amountRewards (UkraInuToken.sol#204) is not in mixedCase
Parameter UkraInu.updateBaseFees(uint256,uint256,uint256)._amountMarketing (UkraInuToken.sol#204) is not in mixedCase
Parameter UkraInu.updateBaseFees(uint256,uint256,uint256)._amountLiq (UkraInuToken.sol#204) is not in mixedCase
Parameter UkraInu.updateSellFees(uint256,uint256,uint256)._amountRewards (UkraInuToken.sol#213) is not in mixedCase
Parameter UkraInu.updateSellFees(uint256,uint256,uint256)._amountMarketing (UkraInuToken.sol#213) is not in mixedCase
Parameter UkraInu.updateSellFees(uint256,uint256,uint256)._amountLiq (UkraInuToken.sol#213) is not in mixedCase
Variable UkraInu.ETH (UkraInuToken.sol#31) is not in mixedCase
Variable UkraInu._isBlacklisted (UkraInuToken.sol#35) is not in mixedCase
Variable UkraInu.ETHRewardsFee (UkraInuToken.sol#38) is not in mixedCase
Variable UkraInu._marketingWalletAddress (UkraInuToken.sol#43) is not in mixedCase
Function UkraInuDividendTracker.UpdateAmount(uint256) (UkraInuToken.sol#534-536) is not in mixedCase
Parameter UkraInuDividendTracker.UpdateAmount(uint256)._amount (UkraInuToken.sol#534) is not in mixedCase
Function UkraInuDividendTracker.ReturnAmount() (UkraInuToken.sol#538-540) is not in mixedCase
Parameter UkraInuDividendTracker.getAccount(address)._account (UkraInuToken.sol#567) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#80) is too similar to UkraInuDividendTracker.getAccount(address).withdrawableDividends (UkraInuToken.sol#572)
Prevent variables from having similar names.
Additional information: link
UkraInu.constructor() (UkraInuToken.sol#94-128) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (UkraInuToken.sol#127)
UkraInu.updateGasForProcessing(uint256) (UkraInuToken.sol#231-236) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,UkraInu: gasForProcessing must be between 200,000 and 500,000) (UkraInuToken.sol#232)
UkraInu.slitherConstructorVariables() (UkraInuToken.sol#17-498) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (UkraInuToken.sol#27)
UkraInu.slitherConstructorVariables() (UkraInuToken.sol#17-498) uses literals with too many digits:
- zeroWallet = 0x0000000000000000000000000000000000000000 (UkraInuToken.sol#28)
UkraInu.slitherConstructorVariables() (UkraInuToken.sol#17-498) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 18) (UkraInuToken.sol#33)
UkraInu.slitherConstructorVariables() (UkraInuToken.sol#17-498) uses literals with too many digits:
- gasForProcessing = 300000 (UkraInuToken.sol#52)
UkraInuDividendTracker.constructor() (UkraInuToken.sol#520-523) uses literals with too many digits:
- minimumTokenBalanceForDividends = 1000000 * (10 ** 18) (UkraInuToken.sol#522)
UkraInuDividendTracker.getAccountAtIndex(uint256) (UkraInuToken.sol#612-629) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (UkraInuToken.sol#623)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-92)
Remove unused state variables.
Additional information: link
UkraInu.deadWallet (UkraInuToken.sol#27) should be constant
UkraInu.zeroWallet (UkraInuToken.sol#28) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeETHDividends(uint256) should be declared external:
- DividendPayingToken.distributeETHDividends(uint256) (DividendPayingToken.sol#54-65)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#73-75)
- UkraInuDividendTracker.withdrawDividend() (UkraInuToken.sol#529-531)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#105-107)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#119-121)
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#44-47)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#53-57)
updateDividendTracker(address) should be declared external:
- UkraInu.updateDividendTracker(address) (UkraInuToken.sol#134-149)
updateMinimumReqAmount(uint256) should be declared external:
- UkraInu.updateMinimumReqAmount(uint256) (UkraInuToken.sol#152-154)
updateUniswapV2Router(address) should be declared external:
- UkraInu.updateUniswapV2Router(address) (UkraInuToken.sol#156-163)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- UkraInu.excludeMultipleAccountsFromFees(address[],bool) (UkraInuToken.sol#172-178)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- UkraInu.setAutomatedMarketMakerPair(address,bool) (UkraInuToken.sol#193-197)
updateGasForProcessing(uint256) should be declared external:
- UkraInu.updateGasForProcessing(uint256) (UkraInuToken.sol#231-236)
isExcludedFromFees(address) should be declared external:
- UkraInu.isExcludedFromFees(address) (UkraInuToken.sol#260-262)
withdrawableDividendOf(address) should be declared external:
- UkraInu.withdrawableDividendOf(address) (UkraInuToken.sol#264-266)
dividendTokenBalanceOf(address) should be declared external:
- UkraInu.dividendTokenBalanceOf(address) (UkraInuToken.sol#268-270)
getAccountAtIndex(uint256) should be declared external:
- UkraInuDividendTracker.getAccountAtIndex(uint256) (UkraInuToken.sol#612-629)
process(uint256) should be declared external:
- UkraInuDividendTracker.process(uint256) (UkraInuToken.sol#656-701)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 5% buy tax and 18% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts