SquidKing Token Logo

SquidKing Token

About SquidKing

Listings

Token 3 months
CoinMarketCap 3 months
white paper

SQUIDKING is a meme token featuring dividend DOGE issued on the BSC chain. The circulation is 1,000,000,000,000,000. SQUID has no project party and belongs to the community autonomous DAO model. The goal is to surpass dogeking and become a new generation of kings. The community is completely fair and just, transparent and completely decentralized.

Social

Laser Scorebeta Last Audit: 10 February 2022

report
Code:


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

SquidKing.addLiquidity(uint256,uint256) (SquidKing.sol#420-435) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (SquidKing.sol#440)
- dividendTracker.distributeDOGEDividends(dividends) (SquidKing.sol#443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (SquidKing.sol#329)
- _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) (SquidKing.sol#332)
- _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 (SquidKing.sol#312)
Apply the check-effects-interactions pattern.

Additional information: link

SquidKing.swapAndSendToFee(uint256) (SquidKing.sol#349-355) ignores return value by IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
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.

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#65-81):
External calls:
- success = IERC20(DOGE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#73)
Reentrancy in SquidKing.updateDividendTracker(address) (SquidKing.sol#116-131):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (SquidKing.sol#123)
- newDividendTracker.excludeFromDividends(address(this)) (SquidKing.sol#124)
- newDividendTracker.excludeFromDividends(owner()) (SquidKing.sol#125)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (SquidKing.sol#126)
State variables written after the call(s):
- dividendTracker = newDividendTracker (SquidKing.sol#130)
Apply the check-effects-interactions pattern.

Additional information: link

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

SquidKing.claim() (SquidKing.sol#266-268) ignores return value by dividendTracker.processAccount(msg.sender,false) (SquidKing.sol#267)
SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347) ignores return value by dividendTracker.process(gas) (SquidKing.sol#340-345)
SquidKing.addLiquidity(uint256,uint256) (SquidKing.sol#420-435) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#39) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#39) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#87) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#94) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#101) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#111) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

SquidKing.setDOGERewardsFee(uint256) (SquidKing.sol#162-165) should emit an event for:
- DOGERewardsFee = value (SquidKing.sol#163)
- totalFees = DOGERewardsFee.add(liquidityFee).add(marketingFee) (SquidKing.sol#164)
SquidKing.setLiquiditFee(uint256) (SquidKing.sol#167-170) should emit an event for:
- liquidityFee = value (SquidKing.sol#168)
- totalFees = DOGERewardsFee.add(liquidityFee).add(marketingFee) (SquidKing.sol#169)
SquidKing.setMarketingFee(uint256) (SquidKing.sol#172-176) should emit an event for:
- marketingFee = value (SquidKing.sol#173)
- totalFees = DOGERewardsFee.add(liquidityFee).add(marketingFee) (SquidKing.sol#174)
Emit an event for critical parameter changes.

Additional information: link

SquidKing.updateUniswapV2Router(address)._uniswapV2Pair (SquidKing.sol#137-138) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (SquidKing.sol#139)
SquidKing.setLiquidityWallet(address).wallet (SquidKing.sol#157) lacks a zero-check on :
- _liquidityWalletAddress = wallet (SquidKing.sol#158)
Check that the address is not zero.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#65-81) has external calls inside a loop: success = IERC20(DOGE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'SquidKing._transfer(address,address,uint256).lastProcessedIndex (SquidKing.sol#340)' in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SquidKing.sol#341)
Variable 'SquidKing._transfer(address,address,uint256).claims (SquidKing.sol#340)' in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SquidKing.sol#341)
Variable 'SquidKing._transfer(address,address,uint256).iterations (SquidKing.sol#340)' in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SquidKing.sol#341)
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 SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (SquidKing.sol#440)
- dividendTracker.distributeDOGEDividends(dividends) (SquidKing.sol#443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in SquidKing.constructor() (SquidKing.sol#83-110):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (SquidKing.sol#90-91)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (SquidKing.sol#94)
- uniswapV2Router = _uniswapV2Router (SquidKing.sol#93)
Reentrancy in SquidKing.constructor() (SquidKing.sol#83-110):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (SquidKing.sol#90-91)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (SquidKing.sol#96)
- dividendTracker.excludeFromDividends(pair) (SquidKing.sol#193)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (SquidKing.sol#99)
- dividendTracker.excludeFromDividends(address(this)) (SquidKing.sol#100)
- dividendTracker.excludeFromDividends(owner()) (SquidKing.sol#101)
- dividendTracker.excludeFromDividends(deadWallet) (SquidKing.sol#102)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (SquidKing.sol#103)
State variables written after the call(s):
- _mint(owner(),1000000000000000 * (10 ** 18)) (SquidKing.sol#109)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#241)
- excludeFromFees(owner(),true) (SquidKing.sol#106)
- _isExcludedFromFees[account] = excluded (SquidKing.sol#144)
- excludeFromFees(_marketingWalletAddress,true) (SquidKing.sol#107)
- _isExcludedFromFees[account] = excluded (SquidKing.sol#144)
- excludeFromFees(address(this),true) (SquidKing.sol#108)
- _isExcludedFromFees[account] = excluded (SquidKing.sol#144)
- _mint(owner(),1000000000000000 * (10 ** 18)) (SquidKing.sol#109)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#240)
Reentrancy in DOGEDividendTracker.processAccount(address,bool) (SquidKing.sol#645-655):
External calls:
- amount = _withdrawDividendOfUser(account) (SquidKing.sol#646)
- success = IERC20(DOGE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (SquidKing.sol#649)
Reentrancy in SquidKing.swapAndLiquify(uint256) (SquidKing.sol#357-378):
External calls:
- swapTokensForEth(half) (SquidKing.sol#369)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- _allowances[owner][spender] = amount (ERC20.sol#287)
Reentrancy in SquidKing.updateUniswapV2Router(address) (SquidKing.sol#133-140):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (SquidKing.sol#137-138)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (SquidKing.sol#139)
Apply the check-effects-interactions pattern.

Additional information: link

SquidKing.constructor() (SquidKing.sol#83-110) uses literals with too many digits:
- _mint(owner(),1000000000000000 * (10 ** 18)) (SquidKing.sol#109)
SquidKing.updateGasForProcessing(uint256) (SquidKing.sol#200-205) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,DOGE: gasForProcessing must be between 200,000 and 500,000) (SquidKing.sol#201)
SquidKing.slitherConstructorVariables() (SquidKing.sol#15-447) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (SquidKing.sol#25)
SquidKing.slitherConstructorVariables() (SquidKing.sol#15-447) uses literals with too many digits:
- swapTokensAtAmount = 2000000 * (10 ** 18) (SquidKing.sol#29)
SquidKing.slitherConstructorVariables() (SquidKing.sol#15-447) uses literals with too many digits:
- _maxWalletTotal = 1000000000000000 * 10 ** 18 (SquidKing.sol#30)
SquidKing.slitherConstructorVariables() (SquidKing.sol#15-447) uses literals with too many digits:
- gasForProcessing = 300000 (SquidKing.sol#41)
DOGEDividendTracker.constructor() (SquidKing.sol#469-472) uses literals with too many digits:
- minimumTokenBalanceForDividends = 200000 * (10 ** 18) (SquidKing.sol#471)
DOGEDividendTracker.getAccountAtIndex(uint256) (SquidKing.sol#554-571) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (SquidKing.sol#565)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Reentrancy in SquidKing._setAutomatedMarketMakerPair(address,bool) (SquidKing.sol#188-197):
External calls:
- dividendTracker.excludeFromDividends(pair) (SquidKing.sol#193)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (SquidKing.sol#196)
Reentrancy in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- SwapAndLiquify(half,newBalance,otherHalf) (SquidKing.sol#377)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
Reentrancy in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (SquidKing.sol#440)
- dividendTracker.distributeDOGEDividends(dividends) (SquidKing.sol#443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- SendDividends(tokens,dividends) (SquidKing.sol#444)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,to,amount) (SquidKing.sol#332)
- Transfer(sender,recipient,amount) (ERC20.sol#223)
- super._transfer(from,address(this),fees) (SquidKing.sol#329)
Reentrancy in SquidKing._transfer(address,address,uint256) (SquidKing.sol#279-347):
External calls:
- swapAndSendToFee(marketingTokens) (SquidKing.sol#304)
- IERC20(DOGE).transfer(tradeAddress,newBalance) (SquidKing.sol#354)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- swapAndSendDividends(sellTokens) (SquidKing.sol#310)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (SquidKing.sol#440)
- dividendTracker.distributeDOGEDividends(dividends) (SquidKing.sol#443)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- dividendTracker.setBalance(address(from),balanceOf(from)) (SquidKing.sol#334)
- dividendTracker.setBalance(address(to),balanceOf(to)) (SquidKing.sol#335)
- dividendTracker.process(gas) (SquidKing.sol#340-345)
External calls sending eth:
- swapAndLiquify(swapTokens) (SquidKing.sol#307)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SquidKing.sol#341)
Reentrancy in SquidKing.constructor() (SquidKing.sol#83-110):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (SquidKing.sol#90-91)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (SquidKing.sol#96)
- dividendTracker.excludeFromDividends(pair) (SquidKing.sol#193)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (SquidKing.sol#196)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (SquidKing.sol#96)
Reentrancy in SquidKing.constructor() (SquidKing.sol#83-110):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (SquidKing.sol#90-91)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (SquidKing.sol#96)
- dividendTracker.excludeFromDividends(pair) (SquidKing.sol#193)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (SquidKing.sol#99)
- dividendTracker.excludeFromDividends(address(this)) (SquidKing.sol#100)
- dividendTracker.excludeFromDividends(owner()) (SquidKing.sol#101)
- dividendTracker.excludeFromDividends(deadWallet) (SquidKing.sol#102)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (SquidKing.sol#103)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (SquidKing.sol#146)
- excludeFromFees(address(this),true) (SquidKing.sol#108)
- ExcludeFromFees(account,excluded) (SquidKing.sol#146)
- excludeFromFees(_marketingWalletAddress,true) (SquidKing.sol#107)
- ExcludeFromFees(account,excluded) (SquidKing.sol#146)
- excludeFromFees(owner(),true) (SquidKing.sol#106)
- Transfer(address(0),account,amount) (ERC20.sol#242)
- _mint(owner(),1000000000000000 * (10 ** 18)) (SquidKing.sol#109)
Reentrancy in DOGEDividendTracker.processAccount(address,bool) (SquidKing.sol#645-655):
External calls:
- amount = _withdrawDividendOfUser(account) (SquidKing.sol#646)
- success = IERC20(DOGE).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#70)
Event emitted after the call(s):
- Claim(account,amount,automatic) (SquidKing.sol#650)
Reentrancy in SquidKing.processDividendTracker(uint256) (SquidKing.sol#261-264):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (SquidKing.sol#262)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (SquidKing.sol#263)
Reentrancy in SquidKing.swapAndLiquify(uint256) (SquidKing.sol#357-378):
External calls:
- swapTokensForEth(half) (SquidKing.sol#369)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#392-398)
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (SquidKing.sol#426-433)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#288)
- addLiquidity(otherHalf,newBalance) (SquidKing.sol#375)
- SwapAndLiquify(half,newBalance,otherHalf) (SquidKing.sol#377)
Reentrancy in SquidKing.swapAndSendDividends(uint256) (SquidKing.sol#437-446):
External calls:
- swapTokensForDOGE(tokens) (SquidKing.sol#438)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SquidKing.sol#411-417)
- success = IERC20(DOGE).transfer(address(dividendTracker),dividends) (SquidKing.sol#440)
- dividendTracker.distributeDOGEDividends(dividends) (SquidKing.sol#443)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (SquidKing.sol#444)
Reentrancy in SquidKing.updateDividendTracker(address) (SquidKing.sol#116-131):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (SquidKing.sol#123)
- newDividendTracker.excludeFromDividends(address(this)) (SquidKing.sol#124)
- newDividendTracker.excludeFromDividends(owner()) (SquidKing.sol#125)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (SquidKing.sol#126)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (SquidKing.sol#128)
Apply the check-effects-interactions pattern.

Additional information: link

DOGEDividendTracker.getAccount(address) (SquidKing.sol#509-552) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (SquidKing.sol#549-551)
DOGEDividendTracker.canAutoClaim(uint256) (SquidKing.sol#573-579) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (SquidKing.sol#574)
- block.timestamp.sub(lastClaimTime) >= claimWait (SquidKing.sol#578)
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#121-127) 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

SquidKing.totalFees (SquidKing.sol#36) is set pre-construction with a non-constant function or state variable:
- DOGERewardsFee.add(liquidityFee).add(marketingFee)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.6.2 (Context.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#3) allows old versions
Pragma version^0.6.2 (ERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20.sol#3) allows old versions
Pragma version^0.6.2 (IERC20Metadata.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Factory.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Pair.sol#3) allows old versions
Pragma version^0.6.2 (IUniswapV2Router.sol#3) allows old versions
Pragma version^0.6.2 (IterableMapping.sol#2) allows old versions
Pragma version^0.6.2 (Ownable.sol#1) allows old versions
Pragma version^0.6.2 (SafeMath.sol#3) allows old versions
Pragma version^0.6.2 (SafeMathInt.sol#28) allows old versions
Pragma version^0.6.2 (SafeMathUint.sol#3) allows old versions
Pragma version^0.6.2 (SquidKing.sol#4) 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#87) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#94) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#101) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#111) is not in mixedCase
Variable DividendPayingToken.DOGE (DividendPayingToken.sol#17) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#19) 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
Variable SquidKing.DOGE (SquidKing.sol#27) is not in mixedCase
Variable SquidKing._maxWalletTotal (SquidKing.sol#30) is not in mixedCase
Variable SquidKing._isBlacklisted (SquidKing.sol#31) is not in mixedCase
Variable SquidKing.DOGERewardsFee (SquidKing.sol#33) is not in mixedCase
Variable SquidKing._marketingWalletAddress (SquidKing.sol#37) is not in mixedCase
Parameter DOGEDividendTracker.getAccount(address)._account (SquidKing.sol#509) 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#66) is too similar to DOGEDividendTracker.getAccount(address).withdrawableDividends (SquidKing.sol#514)
Prevent variables from having similar names.

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

SquidKing._marketingWalletAddress (SquidKing.sol#37) should be constant
SquidKing._maxWalletTotal (SquidKing.sol#30) should be constant
SquidKing.deadWallet (SquidKing.sol#25) should be constant
SquidKing.swapTokensAtAmount (SquidKing.sol#29) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

distributeDOGEDividends(uint256) should be declared external:
- DividendPayingToken.distributeDOGEDividends(uint256) (DividendPayingToken.sol#44-55)
withdrawDividend() should be declared external:
- DOGEDividendTracker.withdrawDividend() (SquidKing.sol#478-480)
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#59-61)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#87-89)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#101-103)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#114-117)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#122-124)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#133-136)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#151-159)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#173-176)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#192-195)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-22)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#24-26)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#30-32)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#43-46)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#52-56)
updateDividendTracker(address) should be declared external:
- SquidKing.updateDividendTracker(address) (SquidKing.sol#116-131)
updateUniswapV2Router(address) should be declared external:
- SquidKing.updateUniswapV2Router(address) (SquidKing.sol#133-140)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- SquidKing.excludeMultipleAccountsFromFees(address[],bool) (SquidKing.sol#149-155)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- SquidKing.setAutomatedMarketMakerPair(address,bool) (SquidKing.sol#178-182)
updateGasForProcessing(uint256) should be declared external:
- SquidKing.updateGasForProcessing(uint256) (SquidKing.sol#200-205)
isExcludedFromFees(address) should be declared external:
- SquidKing.isExcludedFromFees(address) (SquidKing.sol#219-221)
withdrawableDividendOf(address) should be declared external:
- SquidKing.withdrawableDividendOf(address) (SquidKing.sol#223-225)
dividendTokenBalanceOf(address) should be declared external:
- SquidKing.dividendTokenBalanceOf(address) (SquidKing.sol#227-229)
getAccountAtIndex(uint256) should be declared external:
- DOGEDividendTracker.getAccountAtIndex(uint256) (SquidKing.sol#554-571)
process(uint256) should be declared external:
- DOGEDividendTracker.process(uint256) (SquidKing.sol#598-643)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.

Contract has 10% buy tax and 11% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d PancakeSwap volume is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Token is deployed only at one blockchain


Telegram account has relatively few subscribers


Last post in Twitter was more than 30 days ago


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Twitter account has few posts

Search:


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

Additional information: link


Unable to find token on CoinGecko

Additional information: link


Unable to find token contract audit


Unable to find audit link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Young tokens have high risks of scam / price dump / death


Token has no active CoinGecko listing / rank


Token has relatively low CoinMarketCap rank

Anti-Scam Checks

Price for SquidKing

News for SquidKing