Squid Game $SQG is The First project with a real game in VR where you can win life changing prices. More info: 🔗 https://t.co/GANucnfqQQ
tg: https://t.co/oMdgfOLVVu
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SquidGameArmy.buybackAndBurn(uint256) (#901-914) sends eth to arbitrary user
Dangerous calls:
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
SquidGameArmy.contractSwap(uint256) (#964-1013) sends eth to arbitrary user
Dangerous calls:
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- contractSwap(contractTokenBalance) (#874)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
External calls sending eth:
- contractSwap(contractTokenBalance) (#874)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
State variables written after the call(s):
- amountReceived = takeTaxes(from,to,amount) (#890)
- _tOwned[address(this)] += feeAmount (#958)
- _tOwned[to] += amountReceived (#893)
Reentrancy in SquidGameArmy.transferOwner(address) (#491-506):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- reflector.tally(from,_tOwned[from]) (#919)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- reflector.tally(from,0) (#921)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- reflector.initialize() (#1030)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- reflector.tally(to,_tOwned[to]) (#926)
- reflector.tally(to,0) (#928)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.cashout(reflectorGas) (#932)
- reflector.load{value: amountBNBReflection}() (#1007)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
State variables written after the call(s):
- _owner = newOwner (#503)
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.
Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.
SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899) ignores return value by antiSnipe.checkUser(from,to,amount) (#846-850)
SquidGameArmy.contractSwap(uint256) (#964-1013) ignores return value by dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
Ensure that all the return values of the function calls are used.
Additional information: link
Reentrancy in SquidGameArmy.enableTrading() (#607-615):
External calls:
- antiSnipe.setLaunch(lpPair,uint32(block.number),uint64(block.timestamp),_decimals) (#613)
State variables written after the call(s):
- tradingEnabled = true (#614)
Apply the check-effects-interactions pattern.
Additional information: link
SquidGameArmy._finalizeTransfer(address,address,uint256,bool).checked (#845) is a local variable never initialized
SquidGameArmy._finalizeTransfer(address,address,uint256,bool).check (#846) 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
SquidGameArmy.setSwapSettings(uint256,uint256,uint256,uint256) (#659-662) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#660)
- swapAmount = (_tTotal * amountPercent) / amountDivisor (#661)
SquidGameArmy.setReflectorSettings(uint256) (#669-672) should emit an event for:
- reflectorGas = gas (#671)
SquidGameArmy.setMaxTxPercent(uint256,uint256) (#753-758) should emit an event for:
- _maxTxAmount = check (#756)
SquidGameArmy.setMaxWalletSize(uint256,uint256) (#760-765) should emit an event for:
- _maxWalletSize = check (#763)
SquidGameArmy.setBuybackSettings(uint256,uint256,uint256,uint256) (#771-774) should emit an event for:
- minimumBalance = _minimumBalance * 10 ** _balanceMultiplier (#772)
- amountBNBBuy = _amountBNBBuy * 10 ** _bnbBuyMultiplier (#773)
SquidGameArmy.setMinimumHold(uint256) (#776-779) should emit an event for:
- minimumHold = minimum * 10 ** _decimals (#778)
Emit an event for critical parameter changes.
Additional information: link
SquidGameArmy.constructor().msgSender (#458) lacks a zero-check on :
- _owner = msgSender (#461)
SquidGameArmy.changeRouterContingency(address).router (#559) lacks a zero-check on :
- _routerAddress = router (#561)
SquidGameArmy.setWallets(address,address).marketingWallet (#649) lacks a zero-check on :
- _marketingWallet = address(marketingWallet) (#650)
SquidGameArmy.setWallets(address,address).prizeWallet (#649) lacks a zero-check on :
- _prizeWallet = address(prizeWallet) (#651)
Check that the address is not zero.
Additional information: link
Variable 'SquidGameArmy._finalizeTransfer(address,address,uint256,bool).check (#846)' in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899) potentially used before declaration: checked = check (#847)
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 SquidGameArmy._checkLiquidityAdd(address,address) (#1019-1036):
External calls:
- reflector.initialize() (#1030)
State variables written after the call(s):
- allowedPresaleExclusion = false (#1032)
- contractSwapEnabled = true (#1031)
- processReflect = true (#1033)
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
State variables written after the call(s):
- _tOwned[from] -= amount (#857)
- _basicTransfer(from,to,amount) (#860)
- _tOwned[recipient] += amount (#937)
Reentrancy in SquidGameArmy.constructor() (#457-480):
External calls:
- lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#463)
State variables written after the call(s):
- WBNB = dexRouter.WETH() (#468)
- _approve(msg.sender,_routerAddress,type()(uint256).max) (#465)
- _allowances[sender][spender] = amount (#538)
- _approve(address(this),_routerAddress,type()(uint256).max) (#466)
- _allowances[sender][spender] = amount (#538)
- _isDividendExcluded[owner()] = true (#472)
- _isDividendExcluded[lpPair] = true (#473)
- _isDividendExcluded[address(this)] = true (#474)
- _isDividendExcluded[DEAD] = true (#475)
- _isDividendExcluded[ZERO] = true (#476)
- _isFeeExcluded[owner()] = true (#470)
- _isFeeExcluded[address(this)] = true (#471)
- lpPairs[lpPair] = true (#464)
Reentrancy in SquidGameArmy.excludePresaleAddresses(address,address) (#781-798):
External calls:
- setDividendExcluded(router,true) (#795)
- reflector.tally(holder,0) (#621)
- reflector.tally(holder,_tOwned[holder]) (#623)
- setDividendExcluded(presale,true) (#796)
- reflector.tally(holder,0) (#621)
- reflector.tally(holder,_tOwned[holder]) (#623)
State variables written after the call(s):
- setDividendExcluded(presale,true) (#796)
- _isDividendExcluded[holder] = enabled (#619)
Reentrancy in SquidGameArmy.setNewRouter(address) (#726-737):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#730)
State variables written after the call(s):
- _approve(address(this),address(dexRouter),type()(uint256).max) (#736)
- _allowances[sender][spender] = amount (#538)
- dexRouter = _newRouter (#735)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SquidGameArmy._checkLiquidityAdd(address,address) (#1019-1036):
External calls:
- reflector.initialize() (#1030)
Event emitted after the call(s):
- ContractSwapEnabledUpdated(true) (#1034)
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#938)
- _basicTransfer(from,to,amount) (#860)
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- contractSwap(contractTokenBalance) (#874)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
External calls sending eth:
- contractSwap(contractTokenBalance) (#874)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#1004)
- contractSwap(contractTokenBalance) (#874)
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- contractSwap(contractTokenBalance) (#874)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
External calls sending eth:
- contractSwap(contractTokenBalance) (#874)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#959)
- amountReceived = takeTaxes(from,to,amount) (#890)
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- _checkLiquidityAdd(from,to) (#838)
- reflector.initialize() (#1030)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- contractSwap(contractTokenBalance) (#874)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- processTokenReflect(from,to) (#895)
- reflector.tally(from,_tOwned[from]) (#919)
- reflector.tally(from,0) (#921)
- reflector.tally(to,_tOwned[to]) (#926)
- reflector.tally(to,0) (#928)
- reflector.cashout(reflectorGas) (#932)
External calls sending eth:
- contractSwap(contractTokenBalance) (#874)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
Event emitted after the call(s):
- Transfer(from,to,amountReceived) (#897)
Reentrancy in SquidGameArmy.constructor() (#457-480):
External calls:
- lpPair = IUniswapV2Factory(dexRouter.factory()).createPair(dexRouter.WETH(),address(this)) (#463)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#539)
- _approve(address(this),_routerAddress,type()(uint256).max) (#466)
- Approval(sender,spender,amount) (#539)
- _approve(msg.sender,_routerAddress,type()(uint256).max) (#465)
- OwnershipTransferred(address(0),msgSender) (#479)
- Transfer(ZERO,msg.sender,_tTotal) (#478)
Reentrancy in SquidGameArmy.contractSwap(uint256) (#964-1013):
External calls:
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
External calls sending eth:
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#1004)
Reentrancy in SquidGameArmy.setNewRouter(address) (#726-737):
External calls:
- lpPair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#730)
Event emitted after the call(s):
- Approval(sender,spender,amount) (#539)
- _approve(address(this),address(dexRouter),type()(uint256).max) (#736)
Reentrancy in SquidGameArmy.transferOwner(address) (#491-506):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- reflector.tally(from,_tOwned[from]) (#919)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- reflector.tally(from,0) (#921)
- antiSnipe.checkUser(from,to,amount) (#846-850)
- reflector.initialize() (#1030)
- dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(numTokensToSwap - amountToLiquify,0,path,address(this),block.timestamp) (#981-987)
- reflector.tally(to,_tOwned[to]) (#926)
- reflector.tally(to,0) (#928)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.cashout(reflectorGas) (#932)
- reflector.load{value: amountBNBReflection}() (#1007)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#504)
Apply the check-effects-interactions pattern.
Additional information: link
SquidGameArmy.setLpPair(address,bool) (#739-751) uses timestamp for comparisons
Dangerous comparisons:
- timeSinceLastPair != 0 (#744)
- require(bool,string)(block.timestamp - timeSinceLastPair > 259200,Cannot set a new pair this week!) (#745)
Avoid relying on block.timestamp.
Additional information: link
SquidGameArmy.setLpPair(address,bool) (#739-751) compares to a boolean constant:
-enabled == false (#740)
Remove the equality to the boolean constant.
Additional information: link
Context._msgData() (#9-12) is never used and should be removed
Context._msgSender() (#5-7) is never used and should be removed
Remove unused functions.
Additional information: link
SquidGameArmy._tTotal (#397) is set pre-construction with a non-constant function or state variable:
- startingSupply * (10 ** _decimals)
SquidGameArmy._maxTxAmount (#417) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxTPercent) / maxTDivisor
SquidGameArmy.maxTxAmountUI (#418) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxTPercent) / maxTDivisor
SquidGameArmy._maxWalletSize (#419) is set pre-construction with a non-constant function or state variable:
- (_tTotal * maxWPercent) / maxWDivisor
SquidGameArmy.maxWalletSizeUI (#420) is set pre-construction with a non-constant function or state variable:
- (startingSupply * maxWPercent) / maxWDivisor
SquidGameArmy.minimumHold (#424) is set pre-construction with a non-constant function or state variable:
- 10000 * 10 ** _decimals
SquidGameArmy.swapThreshold (#428) is set pre-construction with a non-constant function or state variable:
- _tTotal / 20000
SquidGameArmy.swapAmount (#429) is set pre-construction with a non-constant function or state variable:
- _tTotal * 5 / 1000
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.
Additional information: link
Pragma version>=0.6.0<0.9.0 (#2) is too complex
solc-0.8.10 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
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#131) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#132) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#146) is not in mixedCase
Function IUniswapV2Router01.WETH() (#164) is not in mixedCase
Parameter SquidGameArmy.setProtectionSettings(bool,bool,bool,bool)._antiSnipe (#598) is not in mixedCase
Parameter SquidGameArmy.setProtectionSettings(bool,bool,bool,bool)._antiGas (#598) is not in mixedCase
Parameter SquidGameArmy.setProtectionSettings(bool,bool,bool,bool)._antiBlock (#598) is not in mixedCase
Parameter SquidGameArmy.setProtectionSettings(bool,bool,bool,bool)._antiSpecial (#598) is not in mixedCase
Parameter SquidGameArmy.setContractSwapSettings(bool,bool)._enabled (#654) is not in mixedCase
Parameter SquidGameArmy.setReflectionCriteria(uint256,uint256,uint256)._minPeriod (#664) is not in mixedCase
Parameter SquidGameArmy.setReflectionCriteria(uint256,uint256,uint256)._minReflection (#664) is not in mixedCase
Parameter SquidGameArmy.setBuybackSettings(uint256,uint256,uint256,uint256)._minimumBalance (#771) is not in mixedCase
Parameter SquidGameArmy.setBuybackSettings(uint256,uint256,uint256,uint256)._balanceMultiplier (#771) is not in mixedCase
Parameter SquidGameArmy.setBuybackSettings(uint256,uint256,uint256,uint256)._amountBNBBuy (#771) is not in mixedCase
Parameter SquidGameArmy.setBuybackSettings(uint256,uint256,uint256,uint256)._bnbBuyMultiplier (#771) is not in mixedCase
Variable SquidGameArmy._tOwned (#336) is not in mixedCase
Variable SquidGameArmy._allowances (#339) is not in mixedCase
Variable SquidGameArmy._isFeeExcluded (#340) is not in mixedCase
Variable SquidGameArmy._isDividendExcluded (#341) is not in mixedCase
Constant SquidGameArmy._name (#349) is not in UPPER_CASE_WITH_UNDERSCORES
Constant SquidGameArmy._symbol (#350) is not in UPPER_CASE_WITH_UNDERSCORES
Variable SquidGameArmy._taxRates (#374-378) is not in mixedCase
Variable SquidGameArmy._ratios (#380-387) is not in mixedCase
Variable SquidGameArmy.WBNB (#405) is not in mixedCase
Variable SquidGameArmy.DEAD (#406) is not in mixedCase
Variable SquidGameArmy.ZERO (#407) is not in mixedCase
Variable SquidGameArmy._hasLiqBeenAdded (#434) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in SquidGameArmy._finalizeTransfer(address,address,uint256,bool) (#836-899):
External calls:
- contractSwap(contractTokenBalance) (#874)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
External calls sending eth:
- contractSwap(contractTokenBalance) (#874)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
- buybackAndBurn(amountBNBBuy) (#881)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
State variables written after the call(s):
- amountReceived = takeTaxes(from,to,amount) (#890)
- _tOwned[address(this)] += feeAmount (#958)
- _tOwned[to] += amountReceived (#893)
Event emitted after the call(s):
- Transfer(from,address(this),feeAmount) (#959)
- amountReceived = takeTaxes(from,to,amount) (#890)
- Transfer(from,to,amountReceived) (#897)
Reentrancy in SquidGameArmy.transferOwner(address) (#491-506):
External calls:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
External calls sending eth:
- _transfer(_owner,newOwner,_tOwned[_owner]) (#500)
- dexRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountBNB}(0,path,DEAD,block.timestamp) (#906-913)
- dexRouter.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,DEAD,block.timestamp) (#996-1003)
- reflector.load{value: amountBNBReflection}() (#1007)
- _marketingWallet.transfer(amountBNBMarketing) (#1010)
- _prizeWallet.transfer(amountBNBPrize) (#1011)
State variables written after the call(s):
- _owner = newOwner (#503)
Event emitted after the call(s):
- OwnershipTransferred(_owner,newOwner) (#504)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#168) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#169)
Variable SquidGameArmy.setInitializers(address,address).aInitializer (#584) is too similar to SquidGameArmy.setInitializers(address,address).cInitializer (#584)
Variable SquidGameArmy.maxTDivisor (#413) is too similar to SquidGameArmy.maxWDivisor (#415)
Variable SquidGameArmy.maxTPercent (#412) is too similar to SquidGameArmy.maxWPercent (#414)
Prevent variables from having similar names.
Additional information: link
SquidGameArmy.slitherConstructorVariables() (#332-1038) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#406)
SquidGameArmy.slitherConstructorVariables() (#332-1038) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#407)
SquidGameArmy.slitherConstructorVariables() (#332-1038) uses literals with too many digits:
- reflectorGas = 700000 (#423)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SquidGameArmy.init (#431) is never used in SquidGameArmy (#332-1038)
Remove unused state variables.
Additional information: link
SquidGameArmy.DEAD (#406) should be constant
SquidGameArmy.ZERO (#407) should be constant
SquidGameArmy._decimals (#396) should be constant
SquidGameArmy.init (#431) should be constant
SquidGameArmy.maxTDivisor (#413) should be constant
SquidGameArmy.maxTPercent (#412) should be constant
SquidGameArmy.maxWDivisor (#415) should be constant
SquidGameArmy.maxWPercent (#414) should be constant
SquidGameArmy.startingSupply (#347) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- SquidGameArmy.renounceOwnership() (#508-513)
approve(address,uint256) should be declared external:
- SquidGameArmy.approve(address,uint256) (#528-532)
approveContractContingency() should be declared external:
- SquidGameArmy.approveContractContingency() (#542-545)
isBlacklisted(address) should be declared external:
- SquidGameArmy.isBlacklisted(address) (#572-574)
isFeeExcluded(address) should be declared external:
- SquidGameArmy.isFeeExcluded(address) (#576-578)
isDividendExcluded(address) should be declared external:
- SquidGameArmy.isDividendExcluded(address) (#580-582)
getSniperAmt() should be declared external:
- SquidGameArmy.getSniperAmt() (#594-596)
enableTrading() should be declared external:
- SquidGameArmy.enableTrading() (#607-615)
getUserRewardToken(address) should be declared external:
- SquidGameArmy.getUserRewardToken(address) (#718-720)
getCirculatingSupply() should be declared external:
- SquidGameArmy.getCirculatingSupply() (#722-724)
setNewRouter(address) should be declared external:
- SquidGameArmy.setNewRouter(address) (#726-737)
setMaxTxPercent(uint256,uint256) should be declared external:
- SquidGameArmy.setMaxTxPercent(uint256,uint256) (#753-758)
setMaxWalletSize(uint256,uint256) should be declared external:
- SquidGameArmy.setMaxWalletSize(uint256,uint256) (#760-765)
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.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token on CoinGecko
Additional information: link
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to verify that token and website are owned by the same team (no listings + unable to find contract on website)
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Twitter account has relatively few followers
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account
Twitter account has few posts