St Patrick Inu Token Logo

SPINU [St Patrick Inu] Token

About SPINU

Listings

Not Found
Token 2 years

Website

Not Found

🟢 10.000.000.000 Tokens🟢 
🍀9% fees 🍀
twitter.com/stpatrickinu

Social

Laser Scorebeta Last Audit: 18 February 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

StPatrickInu.addLiquiditypool(uint256,uint256) (#737-750) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in StPatrickInu._transfer(address,address,uint256) (#646-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#764)
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.

StPatrickInu.addLiquiditypool(uint256,uint256) (#737-750) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Ensure that all the return values of the function calls are used.

Additional information: link

StPatrickInu.allowance(address,address).owner (#509) shadows:
- Ownable.owner() (#165-167) (function)
StPatrickInu._approve(address,address,uint256).owner (#532) shadows:
- Ownable.owner() (#165-167) (function)
Rename the local variables that shadow another component.

Additional information: link

StPatrickInu.setBuyTaxes(uint256,uint256,uint256) (#552-558) should emit an event for:
- _totalTaxIfBuying = _buyLiquiditypoolFee.add(_buyPromoFee).add(_buyDonateFee) (#557)
StPatrickInu.setSellTaxes(uint256,uint256,uint256) (#560-566) should emit an event for:
- _totalTaxIfSelling = _sellLiquiditypoolFee.add(_sellPromoFee).add(_sellDonateFee) (#565)
StPatrickInu.setDistributionSettings(uint256,uint256,uint256) (#568-574) should emit an event for:
- _liquiditypoolShare = newLiquiditypoolShare (#569)
- _DonateShare = newDonateShare (#571)
- _totalDistributionShares = _liquiditypoolShare.add(_PromoShare).add(_DonateShare) (#573)
StPatrickInu.setNumTokensBeforeSwap(uint256) (#584-586) should emit an event for:
- minimumTokensBeforeSwap = newLimit (#585)
Emit an event for critical parameter changes.

Additional information: link

StPatrickInu.setPromoWalletAddress(address).newAddress (#588) lacks a zero-check on :
- PromoWalletAddress = address(newAddress) (#589)
StPatrickInu.setDonateWalletAddress(address).newAddress (#592) lacks a zero-check on :
- DonateWalletAddress = address(newAddress) (#593)
Check that the address is not zero.

Additional information: link

Ownable._previousOwner (#155) should be constant
StPatrickInu._decimals (#393) should be constant
StPatrickInu._name (#391) should be constant
StPatrickInu._symbol (#392) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

waiveOwnership() should be declared external:
- Ownable.waiveOwnership() (#174-177)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#179-183)
name() should be declared external:
- StPatrickInu.name() (#489-491)
symbol() should be declared external:
- StPatrickInu.symbol() (#493-495)
decimals() should be declared external:
- StPatrickInu.decimals() (#497-499)
totalSupply() should be declared external:
- StPatrickInu.totalSupply() (#501-503)
allowance(address,address) should be declared external:
- StPatrickInu.allowance(address,address) (#509-511)
increaseAllowance(address,uint256) should be declared external:
- StPatrickInu.increaseAllowance(address,uint256) (#513-516)
decreaseAllowance(address,uint256) should be declared external:
- StPatrickInu.decreaseAllowance(address,uint256) (#518-521)
minimumTokensBeforeSwapAmount() should be declared external:
- StPatrickInu.minimumTokensBeforeSwapAmount() (#523-525)
approve(address,uint256) should be declared external:
- StPatrickInu.approve(address,uint256) (#527-530)
setMarketPairStatus(address,bool) should be declared external:
- StPatrickInu.setMarketPairStatus(address,bool) (#540-542)
setIsExcludedFromFee(address,bool) should be declared external:
- StPatrickInu.setIsExcludedFromFee(address,bool) (#548-550)
setSwapAndLiquifyEnabled(bool) should be declared external:
- StPatrickInu.setSwapAndLiquifyEnabled(bool) (#596-599)
setSwapAndLiquifyByLimitOnly(bool) should be declared external:
- StPatrickInu.setSwapAndLiquifyByLimitOnly(bool) (#601-603)
getCirculatingSupply() should be declared external:
- StPatrickInu.getCirculatingSupply() (#605-607)
changeRouterVersion(address) should be declared external:
- StPatrickInu.changeRouterVersion(address) (#613-630)
transfer(address,uint256) should be declared external:
- StPatrickInu.transfer(address,uint256) (#635-638)
transferFrom(address,address,uint256) should be declared external:
- StPatrickInu.transferFrom(address,address,uint256) (#640-644)
Use the external attribute for functions never called from the contract.

Additional information: link

Reentrancy in StPatrickInu.changeRouterVersion(address) (#613-630):
External calls:
- newPairAddress = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#621-622)
State variables written after the call(s):
- isMarketPair[address(uniswapPair)] = true (#629)
- isWalletLimitExempt[address(uniswapPair)] = true (#628)
- uniswapPair = newPairAddress (#625)
- uniswapV2Router = _uniswapV2Router (#626)
Reentrancy in StPatrickInu.constructor() (#459-487):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#463-464)
State variables written after the call(s):
- _allowances[address(this)][address(uniswapV2Router)] = _totalSupply (#467)
- _balances[_msgSender()] = _totalSupply (#485)
- _totalDistributionShares = _liquiditypoolShare.add(_PromoShare).add(_DonateShare) (#474)
- _totalTaxIfBuying = _buyLiquiditypoolFee.add(_buyPromoFee).add(_buyDonateFee) (#472)
- _totalTaxIfSelling = _sellLiquiditypoolFee.add(_sellPromoFee).add(_sellDonateFee) (#473)
- isExcludedFromFee[owner()] = true (#469)
- isExcludedFromFee[address(this)] = true (#470)
- isMarketPair[address(uniswapPair)] = true (#483)
- isTxLimitExempt[owner()] = true (#480)
- isTxLimitExempt[address(this)] = true (#481)
- isWalletLimitExempt[owner()] = true (#476)
- isWalletLimitExempt[address(uniswapPair)] = true (#477)
- isWalletLimitExempt[address(this)] = true (#478)
- uniswapV2Router = _uniswapV2Router (#466)
Reentrancy in StPatrickInu.swapAndLiquify(uint256) (#693-715):
External calls:
- swapTokensForEth(tokensForSwap) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferToAddressETH(PromoWalletAddress,amountBNBPromo) (#708)
- recipient.transfer(amount) (#610)
- transferToAddressETH(DonateWalletAddress,amountBNBDonate) (#711)
- recipient.transfer(amount) (#610)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- _allowances[owner][spender] = amount (#536)
Reentrancy in StPatrickInu.transferFrom(address,address,uint256) (#640-644):
External calls:
- _transfer(sender,recipient,amount) (#641)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#641)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#642)
- _allowances[owner][spender] = amount (#536)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in StPatrickInu._transfer(address,address,uint256) (#646-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#765)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#681)
Reentrancy in StPatrickInu.constructor() (#459-487):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#463-464)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_totalSupply) (#486)
Reentrancy in StPatrickInu.swapAndLiquify(uint256) (#693-715):
External calls:
- swapTokensForEth(tokensForSwap) (#698)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
External calls sending eth:
- transferToAddressETH(PromoWalletAddress,amountBNBPromo) (#708)
- recipient.transfer(amount) (#610)
- transferToAddressETH(DonateWalletAddress,amountBNBDonate) (#711)
- recipient.transfer(amount) (#610)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#537)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
Reentrancy in StPatrickInu.swapTokensForEth(uint256) (#717-735):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#734)
Reentrancy in StPatrickInu.transferFrom(address,address,uint256) (#640-644):
External calls:
- _transfer(sender,recipient,amount) (#641)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#726-732)
External calls sending eth:
- _transfer(sender,recipient,amount) (#641)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#537)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#642)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#98-107) uses assembly
- INLINE ASM (#105)
Address._functionCallWithValue(address,bytes,uint256,string) (#133-150) uses assembly
- INLINE ASM (#142-145)
Do not use evm assembly.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#133-150) is never used and should be removed
Address.functionCall(address,bytes) (#116-118) is never used and should be removed
Address.functionCall(address,bytes,string) (#120-122) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#124-126) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#128-131) is never used and should be removed
Address.isContract(address) (#98-107) is never used and should be removed
Address.sendValue(address,uint256) (#108-114) is never used and should be removed
Context._msgData() (#25-28) is never used and should be removed
SafeMath.mod(uint256,uint256) (#86-88) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#90-93) is never used and should be removed
Remove unused functions.

Additional information: link

StPatrickInu._totalSupply (#423) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
StPatrickInu._maxTxAmount (#424) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
StPatrickInu._walletMax (#425) is set pre-construction with a non-constant function or state variable:
- 10000000000 * 10 ** _decimals
StPatrickInu.minimumTokensBeforeSwap (#426) is set pre-construction with a non-constant function or state variable:
- 100 * 10 ** _decimals
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

Low level call in Address.sendValue(address,uint256) (#108-114):
- (success) = recipient.call{value: amount}() (#112)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#133-150):
- (success,returndata) = target.call{value: weiValue}(data) (#136)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#217) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#218) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#234) is not in mixedCase
Function IUniswapV2Router01.WETH() (#253) is not in mixedCase
Parameter StPatrickInu.setSwapAndLiquifyEnabled(bool)._enabled (#596) is not in mixedCase
Variable StPatrickInu.PromoWalletAddress (#395) is not in mixedCase
Variable StPatrickInu.DonateWalletAddress (#396) is not in mixedCase
Variable StPatrickInu._balances (#399) is not in mixedCase
Variable StPatrickInu._buyLiquiditypoolFee (#407) is not in mixedCase
Variable StPatrickInu._buyPromoFee (#408) is not in mixedCase
Variable StPatrickInu._buyDonateFee (#409) is not in mixedCase
Variable StPatrickInu._sellLiquiditypoolFee (#411) is not in mixedCase
Variable StPatrickInu._sellPromoFee (#412) is not in mixedCase
Variable StPatrickInu._sellDonateFee (#413) is not in mixedCase
Variable StPatrickInu._liquiditypoolShare (#415) is not in mixedCase
Variable StPatrickInu._PromoShare (#416) is not in mixedCase
Variable StPatrickInu._DonateShare (#417) is not in mixedCase
Variable StPatrickInu._totalTaxIfBuying (#419) is not in mixedCase
Variable StPatrickInu._totalTaxIfSelling (#420) is not in mixedCase
Variable StPatrickInu._totalDistributionShares (#421) is not in mixedCase
Variable StPatrickInu._maxTxAmount (#424) is not in mixedCase
Variable StPatrickInu._walletMax (#425) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

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

Additional information: link

Reentrancy in StPatrickInu._transfer(address,address,uint256) (#646-684):
External calls:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#610)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#668)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#671)
- _balances[recipient] = _balances[recipient].add(finalAmount) (#679)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#764)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#765)
- finalAmount = takeFee(sender,recipient,amount) (#673-674)
- Transfer(sender,recipient,finalAmount) (#681)
Reentrancy in StPatrickInu.swapAndLiquify(uint256) (#693-715):
External calls:
- transferToAddressETH(PromoWalletAddress,amountBNBPromo) (#708)
- recipient.transfer(amount) (#610)
- transferToAddressETH(DonateWalletAddress,amountBNBDonate) (#711)
- recipient.transfer(amount) (#610)
External calls sending eth:
- transferToAddressETH(PromoWalletAddress,amountBNBPromo) (#708)
- recipient.transfer(amount) (#610)
- transferToAddressETH(DonateWalletAddress,amountBNBDonate) (#711)
- recipient.transfer(amount) (#610)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
- _allowances[owner][spender] = amount (#536)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#537)
- addLiquiditypool(tokensForLP,amountBNBLiquiditypool) (#714)
Reentrancy in StPatrickInu.transferFrom(address,address,uint256) (#640-644):
External calls:
- _transfer(sender,recipient,amount) (#641)
- recipient.transfer(amount) (#610)
External calls sending eth:
- _transfer(sender,recipient,amount) (#641)
- recipient.transfer(amount) (#610)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#742-749)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#642)
- _allowances[owner][spender] = amount (#536)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#537)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#642)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#258) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#259)
Prevent variables from having similar names.

Additional information: link

StPatrickInu.slitherConstructorVariables() (#386-772) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#397)
StPatrickInu.slitherConstructorVariables() (#386-772) uses literals with too many digits:
- _totalSupply = 10000000000 * 10 ** _decimals (#423)
StPatrickInu.slitherConstructorVariables() (#386-772) uses literals with too many digits:
- _maxTxAmount = 10000000000 * 10 ** _decimals (#424)
StPatrickInu.slitherConstructorVariables() (#386-772) uses literals with too many digits:
- _walletMax = 10000000000 * 10 ** _decimals (#425)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Ownable._previousOwner (#155) is never used in StPatrickInu (#386-772)
Remove unused state variables.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


Unable to find Twitter account


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account


Unable to find website, listings and other project-related information


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for SPINU