Santa Shiba Token Logo

SANTASHIB [Santa Shiba] Token

About SANTASHIB

Listings

Token 7 months
CoinMarketCap 7 months

Santa Shiba is a fun Christmas themed rewards token giving 6.5% BUSD reflections on each transaction and launching a fun NFT Shiba collection and a Christmas themed NFT game.

Top 100 holders will also earn BNB reflections.

In addition we also have a Christmas Bonus and Secret Santa competitions to make this more fund and rewarding for our community.

Social

Laser Scorebeta Last Audit: 27 December 2021

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

Anti-Scam

Links


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

SantaShiba.rescueBEP20(address,uint256) (SantaShiba.sol#323-325) ignores return value by IERC20(tokenAdd).transfer(msg.sender,amount) (SantaShiba.sol#324)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link

SantaShiba.swapETHForTokens(uint256) (SantaShiba.sol#432-447) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
SantaShiba.addLiquidity(uint256,uint256) (SantaShiba.sol#449-464) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
State variables written after the call(s):
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- swapping = true (SantaShiba.sol#92)
- swapping = false (SantaShiba.sol#94)
Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (SantaShiba.sol#507)
- dividendTracker.distributeBUSDDividends(dividends) (SantaShiba.sol#510)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#495-501)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (SantaShiba.sol#382)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,deadWallet,burnAmt) (SantaShiba.sol#383)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (SantaShiba.sol#385)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- swapping = true (SantaShiba.sol#92)
- swapping = false (SantaShiba.sol#94)
Apply the check-effects-interactions pattern.

Additional information: link


Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


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.


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.

SantaShiba.swapAndLiquify(uint256) (SantaShiba.sol#408-430) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - liquidityFee) (SantaShiba.sol#419)
-BNBToAddLiquidityWith = unitBalance * liquidityFee (SantaShiba.sol#420)
SantaShiba.swapAndLiquify(uint256) (SantaShiba.sol#408-430) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - liquidityFee) (SantaShiba.sol#419)
-marketingAmt = unitBalance * 2 * marketingFee (SantaShiba.sol#428)
Consider ordering multiplication before division.

Additional information: link

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

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#76-92):
External calls:
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#84)
Reentrancy in SantaShiba.updateDividendTracker(address) (SantaShiba.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (SantaShiba.sol#142)
- newDividendTracker.excludeFromDividends(address(this),true) (SantaShiba.sol#143)
- newDividendTracker.excludeFromDividends(owner(),true) (SantaShiba.sol#144)
- newDividendTracker.excludeFromDividends(address(router),true) (SantaShiba.sol#145)
State variables written after the call(s):
- dividendTracker = newDividendTracker (SantaShiba.sol#149)
Apply the check-effects-interactions pattern.

Additional information: link

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

SantaShiba.claim() (SantaShiba.sol#254-256) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (SantaShiba.sol#255)
SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400) ignores return value by dividendTracker.process(gas) (SantaShiba.sol#393-398)
SantaShiba.addLiquidity(uint256,uint256) (SantaShiba.sol#449-464) ignores return value by router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#50) shadows:
- ERC20._name (ERC20.sol#42) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#50) shadows:
- ERC20._symbol (ERC20.sol#43) (state variable)
DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) shadows:
- Ownable._owner (Ownable.sol#8) (state variable)
Rename the local variables that shadow another component.

Additional information: link

SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256) (SantaShiba.sol#266-274) should emit an event for:
- BUSDRewardsFee = _BUSDFee (SantaShiba.sol#268)
- marketingFee = _marketFee (SantaShiba.sol#269)
- liquidityFee = _liqFee (SantaShiba.sol#270)
- autoBoost = _autoBoostFee (SantaShiba.sol#271)
- burnFee = _burnFee (SantaShiba.sol#272)
- totalFees = BUSDRewardsFee + marketingFee + liquidityFee + autoBoost (SantaShiba.sol#273)
SantaShiba.setSwapTokensAtAmount(uint256) (SantaShiba.sol#284-286) should emit an event for:
- swapTokensAtAmount = amount * 10 ** decimals() (SantaShiba.sol#285)
SantaShiba.setMaxWalletBalance(uint256) (SantaShiba.sol#288-290) should emit an event for:
- maxWalletBalance = amount * 10 ** decimals() (SantaShiba.sol#289)
SantaShiba.setMaxTxAmount(uint256) (SantaShiba.sol#301-304) should emit an event for:
- maxTxAmount = amount * 10 ** decimals() (SantaShiba.sol#303)
SantaShiba.setAutoBoostThreshold(uint256) (SantaShiba.sol#314-316) should emit an event for:
- autoBoostThreshold = amount * 10 ** 18 (SantaShiba.sol#315)
Emit an event for critical parameter changes.

Additional information: link

SantaShiba.setMarketingWallet(address).newWallet (SantaShiba.sol#276) lacks a zero-check on :
- marketingWallet = newWallet (SantaShiba.sol#277)
SantaShiba.setLiquidityWallet(address).newWallet (SantaShiba.sol#280) lacks a zero-check on :
- liquidityWallet = newWallet (SantaShiba.sol#281)
Check that the address is not zero.

Additional information: link

Variable 'SantaShiba._transfer(address,address,uint256).claims (SantaShiba.sol#393)' in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SantaShiba.sol#394)
Variable 'SantaShiba._transfer(address,address,uint256).lastProcessedIndex (SantaShiba.sol#393)' in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SantaShiba.sol#394)
Variable 'SantaShiba._transfer(address,address,uint256).iterations (SantaShiba.sol#393)' in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SantaShiba.sol#394)
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 SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- _allowances[owner][spender] = amount (ERC20.sol#286)
- super._transfer(from,address(this),fees) (SantaShiba.sol#382)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,deadWallet,burnAmt) (SantaShiba.sol#383)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- super._transfer(from,to,amount) (SantaShiba.sol#385)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#220)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#221)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- swapping = true (SantaShiba.sol#92)
- swapping = false (SantaShiba.sol#94)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SantaShiba.sol#394)
- SendDividends(tokens,dividends) (SantaShiba.sol#511)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (SantaShiba.sol#385)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,deadWallet,burnAmt) (SantaShiba.sol#383)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),fees) (SantaShiba.sol#382)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
State variables written after the call(s):
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (SantaShiba.sol#507)
- dividendTracker.distributeBUSDDividends(dividends) (SantaShiba.sol#510)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#495-501)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Reentrancy in SantaShiba.constructor() (SantaShiba.sol#97-128):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (SantaShiba.sol#103-104)
State variables written after the call(s):
- pair = _pair (SantaShiba.sol#107)
- router = _router (SantaShiba.sol#106)
Reentrancy in SantaShiba.constructor() (SantaShiba.sol#97-128):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (SantaShiba.sol#103-104)
- _setAutomatedMarketMakerPair(_pair,true) (SantaShiba.sol#109)
- dividendTracker.excludeFromDividends(newPair,value) (SantaShiba.sol#186)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (SantaShiba.sol#112)
- dividendTracker.excludeFromDividends(address(this),true) (SantaShiba.sol#113)
- dividendTracker.excludeFromDividends(deadWallet,true) (SantaShiba.sol#114)
- dividendTracker.excludeFromDividends(owner(),true) (SantaShiba.sol#115)
State variables written after the call(s):
- _mint(owner(),1e15 * (10 ** 9)) (SantaShiba.sol#127)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#240)
- excludeFromFees(owner(),true) (SantaShiba.sol#118)
- _isExcludedFromFees[account] = excluded (SantaShiba.sol#160)
- excludeFromFees(address(this),true) (SantaShiba.sol#119)
- _isExcludedFromFees[account] = excluded (SantaShiba.sol#160)
- excludeFromFees(marketingWallet,true) (SantaShiba.sol#120)
- _isExcludedFromFees[account] = excluded (SantaShiba.sol#160)
- excludeFromFees(deadWallet,true) (SantaShiba.sol#121)
- _isExcludedFromFees[account] = excluded (SantaShiba.sol#160)
- _mint(owner(),1e15 * (10 ** 9)) (SantaShiba.sol#127)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#239)
Reentrancy in SantaShibaDividendTracker.processAccount(address,bool) (SantaShiba.sol#717-727):
External calls:
- amount = _withdrawDividendOfUser(account) (SantaShiba.sol#718)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (SantaShiba.sol#721)
Reentrancy in SantaShiba.swapAndLiquify(uint256) (SantaShiba.sol#408-430):
External calls:
- swapTokensForEth(toSwap) (SantaShiba.sol#416)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
- _allowances[owner][spender] = amount (ERC20.sol#286)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in SantaShiba._setAutomatedMarketMakerPair(address,bool) (SantaShiba.sol#181-190):
External calls:
- dividendTracker.excludeFromDividends(newPair,value) (SantaShiba.sol#186)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (SantaShiba.sol#189)
Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (SantaShiba.sol#507)
- dividendTracker.distributeBUSDDividends(dividends) (SantaShiba.sol#510)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#495-501)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- SendDividends(tokens,dividends) (SantaShiba.sol#511)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,address(this),fees) (SantaShiba.sol#382)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,to,amount) (SantaShiba.sol#385)
- Transfer(sender,recipient,amount) (ERC20.sol#222)
- super._transfer(from,deadWallet,burnAmt) (SantaShiba.sol#383)
Reentrancy in SantaShiba._transfer(address,address,uint256) (SantaShiba.sol#327-400):
External calls:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- swapAndSendDividends(sellTokens) (SantaShiba.sol#363)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (SantaShiba.sol#507)
- dividendTracker.distributeBUSDDividends(dividends) (SantaShiba.sol#510)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#495-501)
- dividendTracker.setBalance(address(from),balanceOf(from)) (SantaShiba.sol#387)
- dividendTracker.setBalance(address(to),balanceOf(to)) (SantaShiba.sol#388)
- dividendTracker.process(gas) (SantaShiba.sol#393-398)
External calls sending eth:
- triggerAutoBoost(autoBoostThreshold) (SantaShiba.sol#353)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
- swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees)) (SantaShiba.sol#359)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
- address(marketingWallet).transfer(marketingAmt) (SantaShiba.sol#429)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (SantaShiba.sol#394)
Reentrancy in SantaShiba.constructor() (SantaShiba.sol#97-128):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (SantaShiba.sol#103-104)
- _setAutomatedMarketMakerPair(_pair,true) (SantaShiba.sol#109)
- dividendTracker.excludeFromDividends(newPair,value) (SantaShiba.sol#186)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(newPair,value) (SantaShiba.sol#189)
- _setAutomatedMarketMakerPair(_pair,true) (SantaShiba.sol#109)
Reentrancy in SantaShiba.constructor() (SantaShiba.sol#97-128):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (SantaShiba.sol#103-104)
- _setAutomatedMarketMakerPair(_pair,true) (SantaShiba.sol#109)
- dividendTracker.excludeFromDividends(newPair,value) (SantaShiba.sol#186)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (SantaShiba.sol#112)
- dividendTracker.excludeFromDividends(address(this),true) (SantaShiba.sol#113)
- dividendTracker.excludeFromDividends(deadWallet,true) (SantaShiba.sol#114)
- dividendTracker.excludeFromDividends(owner(),true) (SantaShiba.sol#115)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (SantaShiba.sol#162)
- excludeFromFees(owner(),true) (SantaShiba.sol#118)
- ExcludeFromFees(account,excluded) (SantaShiba.sol#162)
- excludeFromFees(marketingWallet,true) (SantaShiba.sol#120)
- ExcludeFromFees(account,excluded) (SantaShiba.sol#162)
- excludeFromFees(deadWallet,true) (SantaShiba.sol#121)
- ExcludeFromFees(account,excluded) (SantaShiba.sol#162)
- excludeFromFees(address(this),true) (SantaShiba.sol#119)
- Transfer(address(0),account,amount) (ERC20.sol#241)
- _mint(owner(),1e15 * (10 ** 9)) (SantaShiba.sol#127)
Reentrancy in SantaShibaDividendTracker.processAccount(address,bool) (SantaShiba.sol#717-727):
External calls:
- amount = _withdrawDividendOfUser(account) (SantaShiba.sol#718)
- success = IERC20(BUSD).transfer(user,_withdrawableDividend) (DividendPayingToken.sol#81)
Event emitted after the call(s):
- Claim(account,amount,automatic) (SantaShiba.sol#722)
Reentrancy in SantaShiba.processDividendTracker(uint256) (SantaShiba.sol#249-252):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (SantaShiba.sol#250)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (SantaShiba.sol#251)
Reentrancy in SantaShiba.swapAndLiquify(uint256) (SantaShiba.sol#408-430):
External calls:
- swapTokensForEth(toSwap) (SantaShiba.sol#416)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#476-482)
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
- router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (SantaShiba.sol#455-462)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#287)
- addLiquidity(tokensToAddLiquidityWith,BNBToAddLiquidityWith) (SantaShiba.sol#424)
Reentrancy in SantaShiba.swapAndSendDividends(uint256) (SantaShiba.sol#504-513):
External calls:
- swapTokensForBUSD(tokens) (SantaShiba.sol#505)
- router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (SantaShiba.sol#495-501)
- success = IERC20(BUSD).transfer(address(dividendTracker),dividends) (SantaShiba.sol#507)
- dividendTracker.distributeBUSDDividends(dividends) (SantaShiba.sol#510)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (SantaShiba.sol#511)
Reentrancy in SantaShiba.swapETHForTokens(uint256) (SantaShiba.sol#432-447):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadWallet,block.timestamp.add(300)) (SantaShiba.sol#439-444)
Event emitted after the call(s):
- SwapETHForTokens(amount,path) (SantaShiba.sol#446)
Reentrancy in SantaShiba.updateDividendTracker(address) (SantaShiba.sol#135-150):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker),true) (SantaShiba.sol#142)
- newDividendTracker.excludeFromDividends(address(this),true) (SantaShiba.sol#143)
- newDividendTracker.excludeFromDividends(owner(),true) (SantaShiba.sol#144)
- newDividendTracker.excludeFromDividends(address(router),true) (SantaShiba.sol#145)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (SantaShiba.sol#147)
Apply the check-effects-interactions pattern.

Additional information: link

SantaShibaDividendTracker.getAccount(address) (SantaShiba.sol#581-624) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (SantaShiba.sol#621-623)
SantaShibaDividendTracker.canAutoClaim(uint256) (SantaShiba.sol#645-651) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (SantaShiba.sol#646)
- block.timestamp.sub(lastClaimTime) >= claimWait (SantaShiba.sol#650)
Avoid relying on block.timestamp.

Additional information: link

SantaShibaDividendTracker.excludeFromDividends(address,bool) (SantaShiba.sol#549-560) compares to a boolean constant:
-value == true (SantaShiba.sol#552)
Remove the equality to the boolean constant.

Additional information: link

Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#132-138) 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

SantaShiba.swapTokensAtAmount (SantaShiba.sol#30) is set pre-construction with a non-constant function or state variable:
- 50000000 * 10 ** decimals()
SantaShiba.maxWalletBalance (SantaShiba.sol#31) is set pre-construction with a non-constant function or state variable:
- 2e13 * 10 ** decimals()
SantaShiba.maxTxAmount (SantaShiba.sol#32) is set pre-construction with a non-constant function or state variable:
- 25e11 * 10 ** decimals()
SantaShiba.totalFees (SantaShiba.sol#39) is set pre-construction with a non-constant function or state variable:
- BUSDRewardsFee.add(marketingFee).add(liquidityFee).add(autoBoost)
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

Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#98) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#105) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#112) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#122) is not in mixedCase
Variable DividendPayingToken.BUSD (DividendPayingToken.sol#24) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#30) is not in UPPER_CASE_WITH_UNDERSCORES
Function IRouter.WETH() (IDex.sol#12) is not in mixedCase
Parameter SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256)._BUSDFee (SantaShiba.sol#266) is not in mixedCase
Parameter SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256)._marketFee (SantaShiba.sol#266) is not in mixedCase
Parameter SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256)._liqFee (SantaShiba.sol#266) is not in mixedCase
Parameter SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256)._autoBoostFee (SantaShiba.sol#266) is not in mixedCase
Parameter SantaShiba.setFees(uint256,uint256,uint256,uint256,uint256)._burnFee (SantaShiba.sol#266) is not in mixedCase
Constant SantaShiba.deadWallet (SantaShiba.sol#18) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SantaShiba.BUSD (SantaShiba.sol#20) is not in mixedCase
Variable SantaShiba.BUSDRewardsFee (SantaShiba.sol#34) is not in mixedCase
Variable SantaShiba._isBlacklisted (SantaShiba.sol#48) is not in mixedCase
Parameter SantaShibaDividendTracker.getAccount(address)._account (SantaShiba.sol#581) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-25)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#77) is too similar to SantaShibaDividendTracker.getAccount(address).withdrawableDividends (SantaShiba.sol#586)
Prevent variables from having similar names.

Additional information: link

SantaShiba.updateGasForProcessing(uint256) (SantaShiba.sol#192-197) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,SantaShiba: gasForProcessing must be between 200,000 and 500,000) (SantaShiba.sol#193)
SantaShiba.slitherConstructorVariables() (SantaShiba.sol#12-514) uses literals with too many digits:
- swapTokensAtAmount = 50000000 * 10 ** decimals() (SantaShiba.sol#30)
SantaShiba.slitherConstructorVariables() (SantaShiba.sol#12-514) uses literals with too many digits:
- gasForProcessing = 300000 (SantaShiba.sol#45)
SantaShiba.slitherConstructorConstantVariables() (SantaShiba.sol#12-514) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (SantaShiba.sol#18)
SantaShibaDividendTracker.getAccountAtIndex(uint256) (SantaShiba.sol#626-643) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (SantaShiba.sol#637)
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-93)
Remove unused state variables.

Additional information: link

distributeBUSDDividends(uint256) should be declared external:
- DividendPayingToken.distributeBUSDDividends(uint256) (DividendPayingToken.sol#55-66)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#70-72)
- SantaShibaDividendTracker.withdrawDividend() (SantaShiba.sol#545-547)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#98-100)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#112-114)
name() should be declared external:
- ERC20.name() (ERC20.sol#62-64)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#70-72)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#113-116)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#121-123)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#132-135)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#150-158)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#172-175)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#191-194)
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:
- SantaShiba.updateDividendTracker(address) (SantaShiba.sol#135-150)
updateRouter(address) should be declared external:
- SantaShiba.updateRouter(address) (SantaShiba.sol#152-156)
excludeMultipleAccountsFromFees(address[],bool) should be declared external:
- SantaShiba.excludeMultipleAccountsFromFees(address[],bool) (SantaShiba.sol#165-171)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- SantaShiba.setAutomatedMarketMakerPair(address,bool) (SantaShiba.sol#173-175)
updateGasForProcessing(uint256) should be declared external:
- SantaShiba.updateGasForProcessing(uint256) (SantaShiba.sol#192-197)
isExcludedFromFees(address) should be declared external:
- SantaShiba.isExcludedFromFees(address) (SantaShiba.sol#211-213)
withdrawableDividendOf(address) should be declared external:
- SantaShiba.withdrawableDividendOf(address) (SantaShiba.sol#215-217)
dividendTokenBalanceOf(address) should be declared external:
- SantaShiba.dividendTokenBalanceOf(address) (SantaShiba.sol#219-221)
getAccountAtIndex(uint256) should be declared external:
- SantaShibaDividendTracker.getAccountAtIndex(uint256) (SantaShiba.sol#626-643)
process(uint256) should be declared external:
- SantaShibaDividendTracker.process(uint256) (SantaShiba.sol#670-715)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


Token is deployed only at one blockchain


Token has only one trading pair


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute volume.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Telegram account has relatively few subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


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

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

Additional information: link


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


Unable to find token contract audit


Unable to verify token contract address on the website


Unable to find audit link on the website


Unable to find whitepaper link on the website


Unable to find Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


Young tokens have high risks of price dump / death


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


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for SANTASHIB