Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- recommendOwnerSkpNum = 0 (ShibKingPro.sol#332)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- super._transfer(from,address(this),feesAmount) (ShibKingPro.sol#351)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- sendSKPToRecommend(to,recommentAmount,recommendFee) (ShibKingPro.sol#363)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
- sendSKPToRecommend(to,recommentAmount,recommendFee) (ShibKingPro.sol#363)
- recommendOwnerSkpNum += recommendBuyFeeAmount (ShibKingPro.sol#414)
- recommendOwnerSkpNum += indirectRecommendationAmount (ShibKingPro.sol#428)
- swapping = false (ShibKingPro.sol#338)
- swapping = true (ShibKingPro.sol#359)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt)) (ShibKingPro.sol#481)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
- (b2) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),indirectRecommendRecipient,indirectRecommendationAmount)) (ShibKingPro.sol#493-494)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- super._transfer(from,to,amount) (ShibKingPro.sol#374)
- _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 (ShibKingPro.sol#361)
Apply the check-effects-interactions pattern.
Additional information: link
SHIBDividendTracker.updateClaimWait(uint256) (ShibKingPro.sol#696-701) contains a tautology or contradiction:
- require(bool,string)(newClaimWait >= 0 && newClaimWait <= 86400,Dividend_Tracker: claimWait must be updated to between 0 and 24 hours) (ShibKingPro.sol#697)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
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.
ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389) performs a multiplication on the result of a division:
-feesAmount = amount.mul(totalFees).div(100) (ShibKingPro.sol#350)
-recommentAmount = feesAmount.mul(recommendFee).div(totalFees) (ShibKingPro.sol#357)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
State variables written after the call(s):
- super._transfer(address(this),deadWallet,burnTokens) (ShibKingPro.sol#327)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#222)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#92-108):
External calls:
- success = IERC20(SHIB).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#97)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#100)
Apply the check-effects-interactions pattern.
Additional information: link
ShibKingPro.swapAndSendToUSDTForRecommend(address,uint256).b1_scope_1 (ShibKingPro.sol#491) is a local variable never initialized
ShibKingPro._transfer(address,address,uint256).claims (ShibKingPro.sol#382) is a local variable never initialized
ShibKingPro._transfer(address,address,uint256).lastProcessedIndex (ShibKingPro.sol#382) is a local variable never initialized
ShibKingPro._transfer(address,address,uint256).iterations (ShibKingPro.sol#382) 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
ShibKingPro.claim() (ShibKingPro.sol#262-264) ignores return value by dividendTracker.processAccount(msg.sender,false) (ShibKingPro.sol#263)
ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389) ignores return value by dividendTracker.process(gas) (ShibKingPro.sol#382-387)
ShibKingPro.addLiquidity(uint256,uint256) (ShibKingPro.sol#606-621) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#64) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#64) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#113) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#120) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#127) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#137) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.
Additional information: link
ShibKingPro.setSwapTokensAtAmount(uint256) (ShibKingPro.sol#181-183) should emit an event for:
- swapTokensAtAmount = _newAmount (ShibKingPro.sol#182)
Emit an event for critical parameter changes.
Additional information: link
SHIBDividendTracker.setSPWallet(address).addr (ShibKingPro.sol#678) lacks a zero-check on :
- spWallet = addr (ShibKingPro.sol#679)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#92-108) has external calls inside a loop: success = IERC20(SHIB).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#97)
Favor pull over push strategy for external calls.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router01.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router01.sol#13)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#93) is too similar to SHIBDividendTracker.getAccount(address).withdrawableDividends (ShibKingPro.sol#718)
Prevent variables from having similar names.
Additional information: link
Variable 'ShibKingPro._transfer(address,address,uint256).lastProcessedIndex (ShibKingPro.sol#382)' in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ShibKingPro.sol#383)
Variable 'ShibKingPro._transfer(address,address,uint256).claims (ShibKingPro.sol#382)' in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ShibKingPro.sol#383)
Variable 'ShibKingPro._transfer(address,address,uint256).iterations (ShibKingPro.sol#382)' in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ShibKingPro.sol#383)
Variable 'ShibKingPro.swapAndSendToUSDTForRecommend(address,uint256).b1 (ShibKingPro.sol#481)' in ShibKingPro.swapAndSendToUSDTForRecommend(address,uint256) (ShibKingPro.sol#434-498) potentially used before declaration: (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
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 ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- dividendTracker.setBalance(from,balanceOf(from)) (ShibKingPro.sol#294)
- dividendTracker.setBalance(to,balanceOf(to)) (ShibKingPro.sol#295)
State variables written after the call(s):
- indirectRecommendation[to] = recommend[from] (ShibKingPro.sol#300)
- recommend[to] = from (ShibKingPro.sol#298)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt)) (ShibKingPro.sol#481)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
- (b2) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),indirectRecommendRecipient,indirectRecommendationAmount)) (ShibKingPro.sol#493-494)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in ShibKingPro.constructor() (ShibKingPro.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ShibKingPro.sol#122-123)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (ShibKingPro.sol#126)
- uniswapV2Router = _uniswapV2Router (ShibKingPro.sol#125)
Reentrancy in ShibKingPro.constructor() (ShibKingPro.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ShibKingPro.sol#122-123)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ShibKingPro.sol#128)
- dividendTracker.excludeFromDividends(pair) (ShibKingPro.sol#190)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ShibKingPro.sol#131)
- dividendTracker.excludeFromDividends(address(this)) (ShibKingPro.sol#132)
- dividendTracker.excludeFromDividends(deadWallet) (ShibKingPro.sol#133)
- dividendTracker.setSPWallet(owner()) (ShibKingPro.sol#135)
State variables written after the call(s):
- _mint(owner(),1_000_000_000_000_000 * DECIMAL_NUM) (ShibKingPro.sol#146)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (ShibKingPro.sol#138)
- _isExcludedFromFees[account] = excluded (ShibKingPro.sol#156)
- excludeFromFees(address(this),true) (ShibKingPro.sol#139)
- _isExcludedFromFees[account] = excluded (ShibKingPro.sol#156)
- excludeFromFees(deadWallet,true) (ShibKingPro.sol#140)
- _isExcludedFromFees[account] = excluded (ShibKingPro.sol#156)
- _mint(owner(),1_000_000_000_000_000 * DECIMAL_NUM) (ShibKingPro.sol#146)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in SHIBDividendTracker.processAccount(address,bool) (ShibKingPro.sol#853-863):
External calls:
- amount = _withdrawDividendOfUser(account) (ShibKingPro.sol#854)
- success = IERC20(SHIB).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#97)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (ShibKingPro.sol#857)
Reentrancy in ShibKingPro.swapAndLiquify(uint256) (ShibKingPro.sol#515-536):
External calls:
- swapTokensForEth(half) (ShibKingPro.sol#527)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ShibKingPro._setAutomatedMarketMakerPair(address,bool) (ShibKingPro.sol#185-194):
External calls:
- dividendTracker.excludeFromDividends(pair) (ShibKingPro.sol#190)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ShibKingPro.sol#193)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(address(this),deadWallet,burnTokens) (ShibKingPro.sol#327)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- SwapAndLiquify(half,newBalance,otherHalf) (ShibKingPro.sol#535)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- SendDividends(tokens,dividends) (ShibKingPro.sol#630)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),feesAmount) (ShibKingPro.sol#351)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- sendSKPToRecommend(to,recommentAmount,recommendFee) (ShibKingPro.sol#363)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt)) (ShibKingPro.sol#481)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
- (b2) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),indirectRecommendRecipient,indirectRecommendationAmount)) (ShibKingPro.sol#493-494)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (ShibKingPro.sol#374)
Reentrancy in ShibKingPro._transfer(address,address,uint256) (ShibKingPro.sol#274-389):
External calls:
- swapAndSendToFee(marketingTokens) (ShibKingPro.sol#323)
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- swapAndSendDividends(rewardsTokens) (ShibKingPro.sol#336)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
- swapAndSendToUSDTForRecommend(from,recommentAmount) (ShibKingPro.sol#360)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#597-603)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt)) (ShibKingPro.sol#481)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
- (b2) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),indirectRecommendRecipient,indirectRecommendationAmount)) (ShibKingPro.sol#493-494)
- dividendTracker.setBalance(from,balanceOf(from)) (ShibKingPro.sol#376)
- dividendTracker.setBalance(to,balanceOf(to)) (ShibKingPro.sol#377)
- dividendTracker.process(gas) (ShibKingPro.sol#382-387)
External calls sending eth:
- swapAndLiquify(swapTokens) (ShibKingPro.sol#331)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (ShibKingPro.sol#383)
Reentrancy in ShibKingPro.constructor() (ShibKingPro.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ShibKingPro.sol#122-123)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ShibKingPro.sol#128)
- dividendTracker.excludeFromDividends(pair) (ShibKingPro.sol#190)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (ShibKingPro.sol#193)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ShibKingPro.sol#128)
Reentrancy in ShibKingPro.constructor() (ShibKingPro.sol#116-148):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (ShibKingPro.sol#122-123)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (ShibKingPro.sol#128)
- dividendTracker.excludeFromDividends(pair) (ShibKingPro.sol#190)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (ShibKingPro.sol#131)
- dividendTracker.excludeFromDividends(address(this)) (ShibKingPro.sol#132)
- dividendTracker.excludeFromDividends(deadWallet) (ShibKingPro.sol#133)
- dividendTracker.setSPWallet(owner()) (ShibKingPro.sol#135)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (ShibKingPro.sol#158)
- excludeFromFees(deadWallet,true) (ShibKingPro.sol#140)
- ExcludeFromFees(account,excluded) (ShibKingPro.sol#158)
- excludeFromFees(address(this),true) (ShibKingPro.sol#139)
- ExcludeFromFees(account,excluded) (ShibKingPro.sol#158)
- excludeFromFees(owner(),true) (ShibKingPro.sol#138)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1_000_000_000_000_000 * DECIMAL_NUM) (ShibKingPro.sol#146)
Reentrancy in SHIBDividendTracker.processAccount(address,bool) (ShibKingPro.sol#853-863):
External calls:
- amount = _withdrawDividendOfUser(account) (ShibKingPro.sol#854)
- success = IERC20(SHIB).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#97)
Event emitted after the call(s):
- Claim(account,amount,automatic) (ShibKingPro.sol#858)
Reentrancy in ShibKingPro.processDividendTracker(uint256) (ShibKingPro.sol#257-260):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (ShibKingPro.sol#258)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (ShibKingPro.sol#259)
Reentrancy in ShibKingPro.swapAndLiquify(uint256) (ShibKingPro.sol#515-536):
External calls:
- swapTokensForEth(half) (ShibKingPro.sol#527)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#552-558)
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (ShibKingPro.sol#612-619)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (ShibKingPro.sol#533)
- SwapAndLiquify(half,newBalance,otherHalf) (ShibKingPro.sol#535)
Reentrancy in ShibKingPro.swapAndSendDividends(uint256) (ShibKingPro.sol#623-632):
External calls:
- swapTokensForSHIB(tokens) (ShibKingPro.sol#624)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (ShibKingPro.sol#575-581)
- success = IERC20(SHIB).transfer(address(dividendTracker),dividends) (ShibKingPro.sol#626)
- dividendTracker.distributeSHIBDividends(dividends) (ShibKingPro.sol#629)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (ShibKingPro.sol#630)
Apply the check-effects-interactions pattern.
Additional information: link
SHIBDividendTracker.getAccount(address) (ShibKingPro.sol#713-756) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (ShibKingPro.sol#753-755)
SHIBDividendTracker.canAutoClaim(uint256) (ShibKingPro.sol#777-783) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (ShibKingPro.sol#778)
- block.timestamp.sub(lastClaimTime) >= claimWait (ShibKingPro.sol#782)
Avoid relying on block.timestamp.
Additional information: link
Context._msgData() (Context.sol#9-12) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#147-153) 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
ShibKingPro.swapTokensAtAmount (ShibKingPro.sol#36) is set pre-construction with a non-constant function or state variable:
- 100_000_000 * DECIMAL_NUM
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.8.0 (Context.sol#1) allows old versions
Pragma version^0.8.0 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.8.0 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.8.0 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.8.0 (ERC20.sol#3) allows old versions
Pragma version^0.8.0 (IERC20.sol#3) allows old versions
Pragma version^0.8.0 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.8.0 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.8.0 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.8.0 (IUniswapV2Router01.sol#3) allows old versions
Pragma version^0.8.0 (IUniswapV2Router02.sol#3) allows old versions
Pragma version^0.8.0 (IterableMapping.sol#2) allows old versions
Pragma version^0.8.0 (Ownable.sol#1) allows old versions
Pragma version^0.8.0 (SafeMath.sol#3) allows old versions
Pragma version^0.8.0 (SafeMathInt.sol#28) allows old versions
Pragma version^0.8.0 (SafeMathUint.sol#3) allows old versions
Pragma version^0.8.0 (ShibKingPro.sol#3) allows old versions
solc-0.8.3 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
Low level call in ShibKingPro.swapAndSendToUSDTForRecommend(address,uint256) (ShibKingPro.sol#434-498):
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt)) (ShibKingPro.sol#481)
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),recommendRecipient,recommendUsdt_scope_0)) (ShibKingPro.sol#491)
- (b2) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),indirectRecommendRecipient,indirectRecommendationAmount)) (ShibKingPro.sol#493-494)
Low level call in ShibKingPro.swapAndSendToFee(uint256) (ShibKingPro.sol#500-513):
- (b) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),marketingWallet,newBalance)) (ShibKingPro.sol#511)
Low level call in ShibKingPro.skim() (ShibKingPro.sol#634-639):
- (b1) = USDT.call(abi.encodeWithSignature(transfer(address,uint256),owner(),usdtBal)) (ShibKingPro.sol#637)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#113) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#120) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#127) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#137) is not in mixedCase
Variable DividendPayingToken.SHIB (DividendPayingToken.sol#31) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#39) 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() (IUniswapV2Router01.sol#7) is not in mixedCase
Parameter ShibKingPro.setSwapTokensAtAmount(uint256)._newAmount (ShibKingPro.sol#181) is not in mixedCase
Parameter ShibKingPro.sendSKPToRecommend(address,uint256,uint256)._buyFeeAmount (ShibKingPro.sol#397) is not in mixedCase
Parameter ShibKingPro.sendSKPToRecommend(address,uint256,uint256)._recommendFeeFee (ShibKingPro.sol#397) is not in mixedCase
Parameter ShibKingPro.swapAndSendToUSDTForRecommend(address,uint256)._amount (ShibKingPro.sol#434) is not in mixedCase
Variable ShibKingPro.SHIB (ShibKingPro.sol#30) is not in mixedCase
Variable ShibKingPro.DECIMAL_NUM (ShibKingPro.sol#32) is not in mixedCase
Variable ShibKingPro.directFee_buy (ShibKingPro.sol#47) is not in mixedCase
Variable ShibKingPro.indirectFee_buy (ShibKingPro.sol#48) is not in mixedCase
Variable ShibKingPro.directFee_sell (ShibKingPro.sol#50) is not in mixedCase
Variable ShibKingPro.indirectFee_sell (ShibKingPro.sol#51) is not in mixedCase
Variable ShibKingPro.USDT (ShibKingPro.sol#61) is not in mixedCase
Parameter SHIBDividendTracker.getAccount(address)._account (ShibKingPro.sol#713) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#10)" inContext (Context.sol#4-14)
Remove redundant statements if they congest code but offer no value.
Additional information: link
ShibKingPro.updateGasForProcessing(uint256) (ShibKingPro.sol#196-201) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (ShibKingPro.sol#197)
ShibKingPro.swapTokensForSHIB(uint256) (ShibKingPro.sol#562-582) uses literals with too many digits:
- tokenAmount == 0 || tokenAmount < 100000 * DECIMAL_NUM (ShibKingPro.sol#563)
ShibKingPro.slitherConstructorVariables() (ShibKingPro.sol#14-640) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (ShibKingPro.sol#24)
ShibKingPro.slitherConstructorVariables() (ShibKingPro.sol#14-640) uses literals with too many digits:
- gasForProcessing = 300000 (ShibKingPro.sol#70)
SHIBDividendTracker.getAccountAtIndex(uint256) (ShibKingPro.sol#758-775) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (ShibKingPro.sol#769)
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
DividendPayingToken.SHIB (DividendPayingToken.sol#31) should be constant
SHIBDividendTracker.multiSigWallet (ShibKingPro.sol#651) should be constant
ShibKingPro.DECIMAL_NUM (ShibKingPro.sol#32) should be constant
ShibKingPro.SHIB (ShibKingPro.sol#30) should be constant
ShibKingPro.USDT (ShibKingPro.sol#61) should be constant
ShibKingPro.burnFee (ShibKingPro.sol#43) should be constant
ShibKingPro.deadWallet (ShibKingPro.sol#24) should be constant
ShibKingPro.directFee_buy (ShibKingPro.sol#47) should be constant
ShibKingPro.directFee_sell (ShibKingPro.sol#50) should be constant
ShibKingPro.indirectFee_buy (ShibKingPro.sol#48) should be constant
ShibKingPro.indirectFee_sell (ShibKingPro.sol#51) should be constant
ShibKingPro.liquidityFee (ShibKingPro.sol#41) should be constant
ShibKingPro.marketingFee (ShibKingPro.sol#44) should be constant
ShibKingPro.marketingWallet (ShibKingPro.sol#65) should be constant
ShibKingPro.multiSigWallet (ShibKingPro.sol#67) should be constant
ShibKingPro.rewardsFee (ShibKingPro.sol#42) should be constant
ShibKingPro.router (ShibKingPro.sol#56) should be constant
ShibKingPro.totalFees (ShibKingPro.sol#45) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
distributeSHIBDividends(uint256) should be declared external:
- DividendPayingToken.distributeSHIBDividends(uint256) (DividendPayingToken.sol#68-82)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#86-88)
- SHIBDividendTracker.withdrawDividend() (ShibKingPro.sol#674-676)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#113-115)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#127-129)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- ShibKingPro.excludeMultipleAccountsFromFees(address[],bool) (ShibKingPro.sol#161-167)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- ShibKingPro.setAutomatedMarketMakerPair(address,bool) (ShibKingPro.sol#174-178)
setSwapTokensAtAmount(uint256) should be declared external:
- ShibKingPro.setSwapTokensAtAmount(uint256) (ShibKingPro.sol#181-183)
updateGasForProcessing(uint256) should be declared external:
- ShibKingPro.updateGasForProcessing(uint256) (ShibKingPro.sol#196-201)
isExcludedFromFees(address) should be declared external:
- ShibKingPro.isExcludedFromFees(address) (ShibKingPro.sol#215-217)
withdrawableDividendOf(address) should be declared external:
- ShibKingPro.withdrawableDividendOf(address) (ShibKingPro.sol#219-221)
dividendTokenBalanceOf(address) should be declared external:
- ShibKingPro.dividendTokenBalanceOf(address) (ShibKingPro.sol#223-225)
closeLockSwap() should be declared external:
- ShibKingPro.closeLockSwap() (ShibKingPro.sol#392-395)
skim() should be declared external:
- ShibKingPro.skim() (ShibKingPro.sol#634-639)
setSPWallet(address) should be declared external:
- SHIBDividendTracker.setSPWallet(address) (ShibKingPro.sol#678-680)
getSPWallet() should be declared external:
- SHIBDividendTracker.getSPWallet() (ShibKingPro.sol#682-684)
getAccountAtIndex(uint256) should be declared external:
- SHIBDividendTracker.getAccountAtIndex(uint256) (ShibKingPro.sol#758-775)
process(uint256) should be declared external:
- SHIBDividendTracker.process(uint256) (ShibKingPro.sol#806-851)
Use the external attribute for functions never called from the contract.
Additional information: link
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