Swiggy Inu is a "Newborn" Token. It was crated recently on Binance Smart Chain (BSC).
This page has been automatically generated based on publicly available information.
The Token has NOT yet been submitted officially to our site, consider this before investing.
SWIGGYINU.swapBack() (#820-875) sends eth to arbitrary user
Dangerous calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in SWIGGYINU._transferFrom(address,address,uint256) (#691-735):
External calls:
- swapBack() (#704)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- distributor.deposit{value: amountBNBReflection}() (#861)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
External calls sending eth:
- swapBack() (#704)
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#711-714)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#720)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#806)
- _isBlackList[recipient] = true (#708)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
- totalFee = sellliquidityFee.add(sellmarketingFee).add(sellreflectionFee) (#785-787)
- totalFee = liquidityFee.add(marketingFee).add(reflectionFee) (#791)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (#456-473) ignores return value by BUSD.transfer(shareholder,amount) (#464)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
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.
Pragma version^0.8.0 (#2) allows old versions
solc-0.8.14 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Reentrancy in SWIGGYINU.constructor() (#598-619):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#600)
State variables written after the call(s):
- WBNB = router.WETH() (#602)
Reentrancy in DividendDistributor.distributeDividend(address) (#456-473):
External calls:
- BUSD.transfer(shareholder,amount) (#464)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#466-468)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#469-471)
Reentrancy in DividendDistributor.process(uint256) (#418-444):
External calls:
- distributeDividend(shareholders[currentIndex]) (#436)
- BUSD.transfer(shareholder,amount) (#464)
State variables written after the call(s):
- currentIndex ++ (#441)
Reentrancy in DividendDistributor.setShare(address,uint256) (#377-397):
External calls:
- distributeDividend(shareholder) (#383)
- BUSD.transfer(shareholder,amount) (#464)
State variables written after the call(s):
- shares[shareholder].amount = amount (#393)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#394-396)
Apply the check-effects-interactions pattern.
Additional information: link
SWIGGYINU.swapBack() (#820-875) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#369-375) should emit an event for:
- minPeriod = _minPeriod (#373)
- minDistribution = _minDistribution (#374)
SWIGGYINU.setTargetLiquidity(uint256,uint256) (#993-999) should emit an event for:
- targetLiquidity = _target (#997)
- targetLiquidityDenominator = _denominator (#998)
Emit an event for critical parameter changes.
Additional information: link
Auth.transferOwnership(address).adr (#228) lacks a zero-check on :
- owner = adr (#229)
SWIGGYINU.setFeeReceivers(address,address)._autoLiquidityReceiver (#977) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#980)
SWIGGYINU.setFeeReceivers(address,address)._marketingFeeReceiver (#978) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#981)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#456-473) has external calls inside a loop: BUSD.transfer(shareholder,amount) (#464)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in SWIGGYINU.constructor() (#598-619):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#600)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = _totalSupply (#601)
- approve(_dexRouter,_totalSupply) (#615)
- _allowances[msg.sender][spender] = amount (#661)
- approve(address(pair),_totalSupply) (#616)
- _allowances[msg.sender][spender] = amount (#661)
- _balances[address(msg.sender)] = _totalSupply (#617)
- autoLiquidityReceiver = address(msg.sender) (#613)
- distributor = new DividendDistributor(_dexRouter) (#603)
- distributorAddress = address(distributor) (#604)
- isDividendExempt[pair] = true (#608)
- isDividendExempt[address(this)] = true (#609)
- isDividendExempt[DEAD] = true (#610)
- isFeeExempt[address(msg.sender)] = true (#606)
- isTxLimitExempt[address(msg.sender)] = true (#607)
- isWalletHoldingLimitExempt[pair] = true (#611)
- isWalletHoldingLimitExempt[address(msg.sender)] = true (#612)
Reentrancy in DividendDistributor.deposit() (#399-416):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#406-408)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#413-415)
- totalDividends = totalDividends.add(amount) (#412)
Reentrancy in DividendDistributor.distributeDividend(address) (#456-473):
External calls:
- BUSD.transfer(shareholder,amount) (#464)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#465)
Reentrancy in DividendDistributor.setShare(address,uint256) (#377-397):
External calls:
- distributeDividend(shareholder) (#383)
- BUSD.transfer(shareholder,amount) (#464)
State variables written after the call(s):
- addShareholder(shareholder) (#387)
- shareholderIndexes[shareholder] = shareholders.length (#510)
- removeShareholder(shareholder) (#389)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#518-520)
- addShareholder(shareholder) (#387)
- shareholders.push(shareholder) (#511)
- removeShareholder(shareholder) (#389)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#515-517)
- shareholders.pop() (#521)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#392)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SWIGGYINU._transferFrom(address,address,uint256) (#691-735):
External calls:
- swapBack() (#704)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- distributor.deposit{value: amountBNBReflection}() (#861)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
- distributor.setShare(sender,_balances[sender]) (#723)
- distributor.setShare(recipient,_balances[recipient]) (#726-728)
- distributor.process(distributorGas) (#731)
External calls sending eth:
- swapBack() (#704)
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#733)
Reentrancy in SWIGGYINU._transferFrom(address,address,uint256) (#691-735):
External calls:
- swapBack() (#704)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- distributor.deposit{value: amountBNBReflection}() (#861)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
External calls sending eth:
- swapBack() (#704)
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#807)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
Reentrancy in SWIGGYINU.constructor() (#598-619):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#600)
Event emitted after the call(s):
- Approval(msg.sender,spender,amount) (#662)
- approve(address(pair),_totalSupply) (#616)
- Approval(msg.sender,spender,amount) (#662)
- approve(_dexRouter,_totalSupply) (#615)
- Transfer(address(0),address(msg.sender),_totalSupply) (#618)
Reentrancy in SWIGGYINU.swapBack() (#820-875):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#838-844)
- distributor.deposit{value: amountBNBReflection}() (#861)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#873)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.shouldDistribute(address) (#446-454) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#451-453)
SWIGGYINU._transferFrom(address,address,uint256) (#691-735) uses timestamp for comparisons
Dangerous comparisons:
- launchedAt > block.timestamp && recipient != pair (#707)
SWIGGYINU.launch() (#877-880) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(launchedAt == 0,Already launched for SWINU) (#878)
Avoid relying on block.timestamp.
Additional information: link
DividendDistributor.process(uint256) (#418-444) has costly operations inside a loop:
- currentIndex = 0 (#432)
DividendDistributor.distributeDividend(address) (#456-473) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#463)
DividendDistributor.process(uint256) (#418-444) has costly operations inside a loop:
- currentIndex ++ (#441)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.div(uint256,uint256,string) (#111-120) is never used and should be removed
SafeMath.mod(uint256,uint256) (#96-98) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#122-131) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#19-29) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#58-67) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#69-78) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#42-56) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#31-40) is never used and should be removed
Remove unused functions.
Additional information: link
SWIGGYINU._maxTxAmount (#542) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(1).div(100)
SWIGGYINU._maxWalletHoldingAmount (#543) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(2).div(100)
SWIGGYINU.swapThreshold (#583) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 10000
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
Function IDEXRouter.WETH() (#246) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#370) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#371) is not in mixedCase
Variable DividendDistributor._token (#321) is not in mixedCase
Variable DividendDistributor.BUSD (#329) is not in mixedCase
Variable DividendDistributor.WBNB (#330) is not in mixedCase
Parameter SWIGGYINU.setBuyFees(uint256,uint256,uint256,uint256)._buyliquidityFee (#943) is not in mixedCase
Parameter SWIGGYINU.setBuyFees(uint256,uint256,uint256,uint256)._buyreflectionFee (#944) is not in mixedCase
Parameter SWIGGYINU.setBuyFees(uint256,uint256,uint256,uint256)._buymarketingFee (#945) is not in mixedCase
Parameter SWIGGYINU.setBuyFees(uint256,uint256,uint256,uint256)._feeDenominator (#946) is not in mixedCase
Parameter SWIGGYINU.setSellFees(uint256,uint256,uint256,uint256)._SellliquidityFee (#960) is not in mixedCase
Parameter SWIGGYINU.setSellFees(uint256,uint256,uint256,uint256)._SellreflectionFee (#961) is not in mixedCase
Parameter SWIGGYINU.setSellFees(uint256,uint256,uint256,uint256)._SellmarketingFee (#962) is not in mixedCase
Parameter SWIGGYINU.setSellFees(uint256,uint256,uint256,uint256)._feeDenominator (#963) is not in mixedCase
Parameter SWIGGYINU.setFeeReceivers(address,address)._autoLiquidityReceiver (#977) is not in mixedCase
Parameter SWIGGYINU.setFeeReceivers(address,address)._marketingFeeReceiver (#978) is not in mixedCase
Parameter SWIGGYINU.setSwapBackSettings(bool,uint256)._enabled (#984) is not in mixedCase
Parameter SWIGGYINU.setSwapBackSettings(bool,uint256)._amount (#984) is not in mixedCase
Parameter SWIGGYINU.setTargetLiquidity(uint256,uint256)._target (#993) is not in mixedCase
Parameter SWIGGYINU.setTargetLiquidity(uint256,uint256)._denominator (#993) is not in mixedCase
Parameter SWIGGYINU.setDistributionCriteria(uint256,uint256)._minPeriod (#1002) is not in mixedCase
Parameter SWIGGYINU.setDistributionCriteria(uint256,uint256)._minDistribution (#1003) is not in mixedCase
Variable SWIGGYINU.WBNB (#530) is not in mixedCase
Constant SWIGGYINU._dexRouter (#535) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SWIGGYINU._name (#537) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SWIGGYINU._symbol (#538) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SWIGGYINU._decimals (#539) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SWIGGYINU._totalSupply (#541) is not in mixedCase
Variable SWIGGYINU._maxTxAmount (#542) is not in mixedCase
Variable SWIGGYINU._maxWalletHoldingAmount (#543) is not in mixedCase
Variable SWIGGYINU._balances (#545) is not in mixedCase
Variable SWIGGYINU._allowances (#546) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in SWIGGYINU._transferFrom(address,address,uint256) (#691-735):
External calls:
- swapBack() (#704)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
External calls sending eth:
- swapBack() (#704)
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#711-714)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#720)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#806)
- _isBlackList[recipient] = true (#708)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
- totalFee = sellliquidityFee.add(sellmarketingFee).add(sellreflectionFee) (#785-787)
- totalFee = liquidityFee.add(marketingFee).add(reflectionFee) (#791)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#807)
- amountReceived = takeFee(sender,recipient,amount) (#716-718)
- Transfer(sender,recipient,amountReceived) (#733)
Reentrancy in SWIGGYINU.swapBack() (#820-875):
External calls:
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#861)
- address(marketingFeeReceiver).transfer(amountBNBMarketing) (#862)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#865-872)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#873)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#251) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#252)
Prevent variables from having similar names.
Additional information: link
SWIGGYINU.slitherConstructorVariables() (#525-1035) uses literals with too many digits:
- distributorGas = 500000 (#580)
SWIGGYINU.slitherConstructorConstantVariables() (#525-1035) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#531)
SWIGGYINU.slitherConstructorConstantVariables() (#525-1035) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#532)
SWIGGYINU.slitherConstructorConstantVariables() (#525-1035) uses literals with too many digits:
- DEAD_NON_CHECKSUM = 0x000000000000000000000000000000000000dEaD (#533-534)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SWIGGYINU.BUSD (#529) is never used in SWIGGYINU (#525-1035)
SWIGGYINU.DEAD_NON_CHECKSUM (#533-534) is never used in SWIGGYINU (#525-1035)
Remove unused state variables.
Additional information: link
DividendDistributor.WBNB (#330) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#343) should be constant
SWIGGYINU._totalSupply (#541) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
authorize(address) should be declared external:
- Auth.authorize(address) (#200-202)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#207-209)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#228-232)
launch() should be declared external:
- SWIGGYINU.launch() (#877-880)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 10% buy tax and 99% sell tax.
Taxes are extremely high (over 30%)
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Telegram account has less than 100 subscribers
Twitter account has less than 100 followers
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts