Sgt.SHIB Token Logo

SGTS [Sgt.SHIB] Token

About SGTS

Listings

Token 2 years
CoinMarketCap 24 months
[CoinGecko] alert: The following token has a variable tax function on the smart contract - which allows contract owners to change tax rates post deployment.
Do your own research and be careful if you are trading this token.
white paper

Sgt. Shib has one mission and one mission only and that is to recruit and build the Shib Army to a scale that has yet to be reached!

As of now the Shib Army stands at over 1 million holders worldwide and growing daily.

We strive to give all of our fellow soldiers a place to call home on the BSC network.

Social

Laser Scorebeta Last Audit: 2 March 2022

report
Token is either risky or in presale. For presale 30+ is a fine score.

Anti-Scam

Links


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

SgtSHIB.addLiquidity(uint256,uint256) (#1226-1241) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- swapping = false (#1119)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1140)
- _balances[sender] = _balances[sender].sub(amount,SgtSHIB: Transfer amount exceeds your balance) (#488)
- _balances[recipient] = _balances[recipient].add(amount) (#489)
- super._transfer(from,to,amount) (#1143)
- _balances[sender] = _balances[sender].sub(amount,SgtSHIB: Transfer amount exceeds your balance) (#488)
- _balances[recipient] = _balances[recipient].add(amount) (#489)
Apply the check-effects-interactions pattern.

Additional information: link

SgtSHIB.withdrawRemainingBEP20Token(address,address) (#1308-1312) ignores return value by BEP20.transfer(account,balance) (#1311)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

ERC20._isBlacklisted (#416) is never initialized. It is used in:
- ERC20.transferFrom(address,address,uint256) (#464-470)
- ERC20._transfer(address,address,uint256) (#482-491)
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

Contract locking ether found:
Contract SgtSHIBDividendTracker (#1353-1564) has payable functions:
- DividendPayingToken.receive() (#631-632)
- DividendPayingToken.distributeDividends() (#634-645)
- IDividendPayingToken.distributeDividends() (#351)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.

Additional information: link

SgtSHIB.updateMarketingFee(uint8) (#1288-1291) contains a tautology or contradiction:
- require(bool,string)(newFee >= 0 && newFee <= 10,SgtSHIB: Expenses tax must be between 0 and 10) (#1289)
SgtSHIB.updateLiquidityFee(uint8) (#1293-1296) contains a tautology or contradiction:
- require(bool,string)(newFee >= 0 && newFee <= 10,SgtSHIB: Liquidity tax must be between 0 and 10) (#1294)
SgtSHIB.updateETHRewardsFee(uint8) (#1298-1301) contains a tautology or contradiction:
- require(bool,string)(newFee >= 0 && newFee <= 15,SgtSHIB: ETH/BNB Rewards tax must be between 0 and 15) (#1299)
Fix the incorrect comparison by changing the value type or the comparison.

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.

Contract name (Sgt.SHIB) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

SgtSHIB._transfer(address,address,uint256) (#1069-1158) performs a multiplication on the result of a division:
-transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
SgtSHIB._transfer(address,address,uint256) (#1069-1158) performs a multiplication on the result of a division:
-fees = amount.mul(totalFees).div(100) (#1131)
-fees = fees.mul(sellFeeIncreaseFactor).div(100) (#1135)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#678-696):
External calls:
- successSHIB = IERC20(DividendsToken).transfer(user,_withdrawableDividend) (#684)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#688)
Reentrancy in SgtSHIB.updateDividendTracker(address) (#930-944):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#937)
- newDividendTracker.excludeFromDividends(address(this)) (#938)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#939)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#943)
Apply the check-effects-interactions pattern.

Additional information: link

SgtSHIB.addToBlackList(address[]).i (#770) is a local variable never initialized
SgtSHIB._transfer(address,address,uint256).iterations (#1151) is a local variable never initialized
SgtSHIB._transfer(address,address,uint256).claims (#1151) is a local variable never initialized
SgtSHIB._transfer(address,address,uint256).lastProcessedIndex (#1151) 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

SgtSHIB.claim() (#1047-1049) ignores return value by dividendTracker.processAccount(msg.sender,false) (#1048)
SgtSHIB._transfer(address,address,uint256) (#1069-1158) ignores return value by dividendTracker.process(gas) (#1151-1156)
SgtSHIB.addLiquidity(uint256,uint256) (#1226-1241) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (#627) shadows:
- ERC20._name (#420) (state variable)
DividendPayingToken.constructor(string,string)._symbol (#627) shadows:
- ERC20._symbol (#421) (state variable)
Rename the local variables that shadow another component.

Additional information: link

SgtSHIB.updateMaxWallet(uint256) (#907-909) should emit an event for:
- _maxWalletToken = maxWallet * (10 ** 18) (#908)
SgtSHIB.updateMaxBuyTranscationAmount(uint256) (#911-913) should emit an event for:
- maxBuyTranscationAmount = maxBuy * (10 ** 18) (#912)
SgtSHIB.updateMaxSellTransactionAmount(uint256) (#915-917) should emit an event for:
- maxSellTransactionAmount = maxSell * (10 ** 18) (#916)
SgtSHIB.updateSwapTokensAtAmount(uint256) (#919-922) should emit an event for:
- swapTokensAtAmount = amountOfTokens (#921)
SgtSHIB.updateMarketingFee(uint8) (#1288-1291) should emit an event for:
- marketingFee = newFee (#1290)
SgtSHIB.updateLiquidityFee(uint8) (#1293-1296) should emit an event for:
- liquidityFee = newFee (#1295)
SgtSHIB.updateETHRewardsFee(uint8) (#1298-1301) should emit an event for:
- liquidityFee = newFee (#1300)
Emit an event for critical parameter changes.

Additional information: link

DividendPayingToken._withdrawDividendOfUser(address) (#678-696) has external calls inside a loop: successSHIB = IERC20(DividendsToken).transfer(user,_withdrawableDividend) (#684)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'SgtSHIB._transfer(address,address,uint256).iterations (#1151)' in SgtSHIB._transfer(address,address,uint256) (#1069-1158) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1152)
Variable 'SgtSHIB._transfer(address,address,uint256).lastProcessedIndex (#1151)' in SgtSHIB._transfer(address,address,uint256) (#1069-1158) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1152)
Variable 'SgtSHIB._transfer(address,address,uint256).claims (#1151)' in SgtSHIB._transfer(address,address,uint256) (#1069-1158) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1152)
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 SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1114)
- _allowances[owner][spender] = amount (#517)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1117)
- _allowances[owner][spender] = amount (#517)
Reentrancy in SgtSHIB.constructor() (#846-901):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#877-878)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#881)
- uniswapV2Router = _uniswapV2Router (#880)
Reentrancy in SgtSHIB.constructor() (#846-901):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#877-878)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#883)
- dividendTracker.excludeFromDividends(pair) (#978)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#886)
- dividendTracker.excludeFromDividends(address(this)) (#887)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#888)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#889)
State variables written after the call(s):
- _mint(owner(),150000 * (10 ** 18)) (#900)
- _balances[account] = _balances[account].add(amount) (#499)
- excludeFromFees(liquidityWallet,true) (#892)
- _isExcludedFromFees[account] = excluded (#954)
- excludeFromFees(marketingWallet,true) (#893)
- _isExcludedFromFees[account] = excluded (#954)
- excludeFromFees(address(this),true) (#894)
- _isExcludedFromFees[account] = excluded (#954)
- _mint(owner(),150000 * (10 ** 18)) (#900)
- _totalSupply = _totalSupply.add(amount) (#498)
Reentrancy in SgtSHIBDividendTracker.processAccount(address,bool) (#1551-1561):
External calls:
- amount = _withdrawDividendOfUser(account) (#1552)
- successSHIB = IERC20(DividendsToken).transfer(user,_withdrawableDividend) (#684)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1555)
Reentrancy in SgtSHIB.swapAndLiquify(uint256) (#1160-1181):
External calls:
- swapTokensForEth(half) (#1172)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- addLiquidity(otherHalf,newBalance) (#1178)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1178)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1178)
- _allowances[owner][spender] = amount (#517)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SgtSHIB._setAutomatedMarketMakerPair(address,bool) (#973-983):
External calls:
- dividendTracker.excludeFromDividends(pair) (#978)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#981)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#518)
- swapAndLiquify(swapTokens) (#1114)
- SwapAndLiquify(half,newBalance,otherHalf) (#1180)
- swapAndLiquify(swapTokens) (#1114)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#518)
- swapAndSendDividends(sellTokens) (#1117)
- SendDividends(tokens,dividendsSHIB) (#1256)
- swapAndSendDividends(sellTokens) (#1117)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#490)
- super._transfer(from,address(this),fees) (#1140)
- Transfer(sender,recipient,amount) (#490)
- super._transfer(from,to,amount) (#1143)
Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- swapTokensForBNB(swapTokens) (#1109)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1337-1343)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- swapAndSendDividends(sellTokens) (#1117)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1145)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1146)
- dividendTracker.process(gas) (#1151-1156)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1152)
Reentrancy in SgtSHIB.constructor() (#846-901):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#877-878)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#883)
- dividendTracker.excludeFromDividends(pair) (#978)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#981)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#883)
Reentrancy in SgtSHIB.constructor() (#846-901):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#877-878)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#883)
- dividendTracker.excludeFromDividends(pair) (#978)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (#886)
- dividendTracker.excludeFromDividends(address(this)) (#887)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (#888)
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#889)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#956)
- excludeFromFees(address(this),true) (#894)
- ExcludeFromFees(account,excluded) (#956)
- excludeFromFees(marketingWallet,true) (#893)
- ExcludeFromFees(account,excluded) (#956)
- excludeFromFees(liquidityWallet,true) (#892)
- Transfer(address(0),account,amount) (#500)
- _mint(owner(),150000 * (10 ** 18)) (#900)
Reentrancy in SgtSHIBDividendTracker.processAccount(address,bool) (#1551-1561):
External calls:
- amount = _withdrawDividendOfUser(account) (#1552)
- successSHIB = IERC20(DividendsToken).transfer(user,_withdrawableDividend) (#684)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#1556)
Reentrancy in SgtSHIB.processDividendTracker(uint256) (#1042-1045):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1043)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1044)
Reentrancy in SgtSHIB.swapAndLiquify(uint256) (#1160-1181):
External calls:
- swapTokensForEth(half) (#1172)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1194-1200)
- addLiquidity(otherHalf,newBalance) (#1178)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1178)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#518)
- addLiquidity(otherHalf,newBalance) (#1178)
- SwapAndLiquify(half,newBalance,otherHalf) (#1180)
Reentrancy in SgtSHIB.swapAndSendDividends(uint256) (#1243-1258):
External calls:
- swapTokensForSHIB(tokens,address(this)) (#1247)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,recipient,block.timestamp) (#1216-1222)
- successSHIB = IERC20(DividendsToken).transfer(address(dividendTracker),dividendsSHIB) (#1251)
- dividendTracker.distributeSHIBDividends(dividendsSHIB) (#1255)
Event emitted after the call(s):
- SendDividends(tokens,dividendsSHIB) (#1256)
Reentrancy in SgtSHIB.updateDividendTracker(address) (#930-944):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#937)
- newDividendTracker.excludeFromDividends(address(this)) (#938)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#939)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#941)
Apply the check-effects-interactions pattern.

Additional information: link

SgtSHIB.checkBot(address,address) (#1319-1326) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_purchaseHistory[sender].add(_rateLimitSeconds) < block.timestamp,Denied!: You a bot or something? O_o) (#1324)
SgtSHIBDividendTracker.getAccount(address) (#1415-1458) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#1455-1457)
SgtSHIBDividendTracker.canAutoClaim(uint256) (#1479-1485) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1480)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1484)
Avoid relying on block.timestamp.

Additional information: link

SgtSHIB._transfer(address,address,uint256) (#1069-1158) compares to a boolean constant:
-getAntiBotEnabled() == true (#1080)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (#31-34) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#715-721) is never used and should be removed
ERC20._setupDecimals(uint8) (#521-523) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#596-599) is never used and should be removed
SafeMath.mod(uint256,uint256) (#586-589) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#601-604) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#535-539) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#553-556) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#558-561) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#546-551) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#541-544) is never used and should be removed
SafeMathInt.div(int256,int256) (#376-381) is never used and should be removed
SafeMathInt.mul(int256,int256) (#367-374) is never used and should be removed
Remove unused functions.

Additional information: link

Function IUniswapV2Router01.WETH() (#40) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#204) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#205) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#222) is not in mixedCase
Variable ERC20._isBlacklisted (#416) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#698) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#702) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#706) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#710) is not in mixedCase
Constant DividendPayingToken.magnitude (#612) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DividendPayingToken.DividendsToken (#618) is not in mixedCase
Event SgtSHIBantiBotEnabledUpdated(bool) (#818) is not in CapWords
Parameter SgtSHIB.multiWalletTransfer(address[],uint256)._amount (#924) is not in mixedCase
Parameter SgtSHIB.setAntiBotEnabled(bool)._enabled (#1059) is not in mixedCase
Variable SgtSHIB.DividendsToken (#757) is not in mixedCase
Variable SgtSHIB._maxWalletToken (#783) is not in mixedCase
Variable SgtSHIB._previousLiquidityFee (#784) is not in mixedCase
Variable SgtSHIB._previousETHRewardsFee (#785) is not in mixedCase
Variable SgtSHIB._previousMarketingFee (#786) is not in mixedCase
Variable SgtSHIB._liquidityFee (#787) is not in mixedCase
Variable SgtSHIB._ETHRewardsFee (#788) is not in mixedCase
Variable SgtSHIB._marketingFee (#789) is not in mixedCase
Variable SgtSHIB.ETHRewardsFee (#791) is not in mixedCase
Constant SgtSHIB.DefaultLiquidityLockTime (#803) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SgtSHIB._isExcludedMaxSellTransactionAmount (#806) is not in mixedCase
Parameter SgtSHIBDividendTracker.getAccount(address)._account (#1415) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#32)" inContext (#26-36)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in SgtSHIB._transfer(address,address,uint256) (#1069-1158):
External calls:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
External calls sending eth:
- transferToMarketingWallet(address(marketingWallet),address(this).balance.div(10 ** 2).mul(marketingDivisor)) (#1110)
- recipient.transfer(amount) (#1348)
- swapAndLiquify(swapTokens) (#1114)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1232-1239)
State variables written after the call(s):
- swapAndLiquify(swapTokens) (#1114)
- _allowances[owner][spender] = amount (#517)
- swapAndSendDividends(sellTokens) (#1117)
- _allowances[owner][spender] = amount (#517)
- super._transfer(from,address(this),fees) (#1140)
- _balances[sender] = _balances[sender].sub(amount,SgtSHIB: Transfer amount exceeds your balance) (#488)
- _balances[recipient] = _balances[recipient].add(amount) (#489)
- super._transfer(from,to,amount) (#1143)
- _balances[sender] = _balances[sender].sub(amount,SgtSHIB: Transfer amount exceeds your balance) (#488)
- _balances[recipient] = _balances[recipient].add(amount) (#489)
- swapping = false (#1119)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#518)
- swapAndLiquify(swapTokens) (#1114)
- Approval(owner,spender,amount) (#518)
- swapAndSendDividends(sellTokens) (#1117)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1152)
- SendDividends(tokens,dividendsSHIB) (#1256)
- swapAndSendDividends(sellTokens) (#1117)
- SwapAndLiquify(half,newBalance,otherHalf) (#1180)
- swapAndLiquify(swapTokens) (#1114)
- Transfer(sender,recipient,amount) (#490)
- super._transfer(from,address(this),fees) (#1140)
- Transfer(sender,recipient,amount) (#490)
- super._transfer(from,to,amount) (#1143)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#45) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#46)
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#679) is too similar to SgtSHIBDividendTracker.getAccount(address).withdrawableDividends (#1420)
Prevent variables from having similar names.

Additional information: link

SgtSHIB.constructor() (#846-901) uses literals with too many digits:
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#889)
SgtSHIB.updateGasForProcessing(uint256) (#985-990) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,SgtSHIB: gasForProcessing must be between 200,000 and 500,000) (#986)
SgtSHIB.removeAllFee() (#1260-1274) uses literals with too many digits:
- _maxWalletToken = 150000000000000 (#1271)
SgtSHIB.restoreAllFee() (#1276-1286) uses literals with too many digits:
- _maxWalletToken = 150000000000000 * 10 ** 18 (#1282)
SgtSHIB.restoreAllFee() (#1276-1286) uses literals with too many digits:
- maxBuyTranscationAmount = 150000000000000 * 10 ** 18 (#1283)
SgtSHIB.restoreAllFee() (#1276-1286) uses literals with too many digits:
- maxSellTransactionAmount = 2000000000 * 10 ** 18 (#1284)
SgtSHIB.burnRemainingToken() (#1314-1317) uses literals with too many digits:
- super._transfer(address(this),0x000000000000000000000000000000000000dEaD,balance) (#1316)
SgtSHIB.slitherConstructorVariables() (#750-1351) uses literals with too many digits:
- gasForProcessing = 300000 (#801)
SgtSHIBDividendTracker.getAccountAtIndex(uint256) (#1460-1477) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1471)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SgtSHIB.DefaultLiquidityLockTime (#803) is never used in SgtSHIB (#750-1351)
DividendPayingToken.lastAmount (#615) is never used in SgtSHIBDividendTracker (#1353-1564)
Remove unused state variables.

Additional information: link

DividendPayingToken.lastAmount (#615) should be constant
SgtSHIB._rateLimitSeconds (#795) should be constant
SgtSHIB.marketingDivisor (#799) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#251-253)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#255-260)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#262-264)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#268-270)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#323-326)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#328-332)
name() should be declared external:
- ERC20.name() (#430-432)
symbol() should be declared external:
- ERC20.symbol() (#434-436)
decimals() should be declared external:
- ERC20.decimals() (#438-440)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#450-453)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#455-457)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#459-462)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#464-470)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#472-475)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#477-480)
distributeDividends() should be declared external:
- DividendPayingToken.distributeDividends() (#634-645)
distributeSHIBDividends(uint256) should be declared external:
- DividendPayingToken.distributeSHIBDividends(uint256) (#648-659)
distributeOpt2Dividends(uint256) should be declared external:
- DividendPayingToken.distributeOpt2Dividends(uint256) (#661-672)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#674-676)
- SgtSHIBDividendTracker.withdrawDividend() (#1384-1386)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#698-700)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#706-708)
updateMaxWallet(uint256) should be declared external:
- SgtSHIB.updateMaxWallet(uint256) (#907-909)
updateMaxBuyTranscationAmount(uint256) should be declared external:
- SgtSHIB.updateMaxBuyTranscationAmount(uint256) (#911-913)
updateMaxSellTransactionAmount(uint256) should be declared external:
- SgtSHIB.updateMaxSellTransactionAmount(uint256) (#915-917)
multiWalletTransfer(address[],uint256) should be declared external:
- SgtSHIB.multiWalletTransfer(address[],uint256) (#924-928)
updateDividendTracker(address) should be declared external:
- SgtSHIB.updateDividendTracker(address) (#930-944)
updateUniswapV2Router(address) should be declared external:
- SgtSHIB.updateUniswapV2Router(address) (#946-950)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- SgtSHIB.excludeMultipleAccountsFromFees(address[],bool) (#959-965)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- SgtSHIB.setAutomatedMarketMakerPair(address,bool) (#967-971)
updateGasForProcessing(uint256) should be declared external:
- SgtSHIB.updateGasForProcessing(uint256) (#985-990)
isExcludedFromFees(address) should be declared external:
- SgtSHIB.isExcludedFromFees(address) (#1004-1006)
withdrawableDividendOf(address) should be declared external:
- SgtSHIB.withdrawableDividendOf(address) (#1008-1010)
dividendTokenBalanceOf(address) should be declared external:
- SgtSHIB.dividendTokenBalanceOf(address) (#1012-1014)
setAntiBotEnabled(bool) should be declared external:
- SgtSHIB.setAntiBotEnabled(bool) (#1059-1063)
updateMarketingFee(uint8) should be declared external:
- SgtSHIB.updateMarketingFee(uint8) (#1288-1291)
updateLiquidityFee(uint8) should be declared external:
- SgtSHIB.updateLiquidityFee(uint8) (#1293-1296)
updateETHRewardsFee(uint8) should be declared external:
- SgtSHIB.updateETHRewardsFee(uint8) (#1298-1301)
withdrawRemainingToken(address) should be declared external:
- SgtSHIB.withdrawRemainingToken(address) (#1303-1306)
withdrawRemainingBEP20Token(address,address) should be declared external:
- SgtSHIB.withdrawRemainingBEP20Token(address,address) (#1308-1312)
burnRemainingToken() should be declared external:
- SgtSHIB.burnRemainingToken() (#1314-1317)
getAccountAtIndex(uint256) should be declared external:
- SgtSHIBDividendTracker.getAccountAtIndex(uint256) (#1460-1477)
process(uint256) should be declared external:
- SgtSHIBDividendTracker.process(uint256) (#1504-1549)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 12% buy tax and 15% 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 liquidity 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 Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find token contract audit


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find 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


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


Token has relatively low CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for SGTS

News for SGTS