Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
ThursdayTexas.addLiquidity(uint256,uint256) (#580-593) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in ThursdayTexas._transfer(address,address,uint256) (#476-523):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
- _rOwned[address(this)] += rMarketing (#387)
- _rOwned[address(this)] += rLiquidity (#377)
- _rOwned[address(this)] += rDonation (#397)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#538)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#539)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
- _rTotal -= rRfi (#366)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
- _tOwned[address(this)] += tLiquidity (#375)
- _tOwned[sender] = _tOwned[sender] - tAmount (#532)
- _tOwned[address(this)] += tDonation (#395)
- _tOwned[address(this)] += tMarketing (#385)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#535)
Apply the check-effects-interactions pattern.
Additional information: link
ThursdayTexas.rescueAnyBEP20Tokens(address,address,uint256) (#684-686) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#685)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 1: Reentrancy vulnerabilities + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
ThursdayTexas.swapAndLiquify(uint256,ThursdayTexas.Taxes) (#552-578) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#562)
-bnbToAddLiquidityWith = unitBalance * temp.liquidity (#563)
ThursdayTexas.swapAndLiquify(uint256,ThursdayTexas.Taxes) (#552-578) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#562)
-marketingAmt = unitBalance * 2 * temp.marketing (#570)
ThursdayTexas.swapAndLiquify(uint256,ThursdayTexas.Taxes) (#552-578) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - temp.liquidity) (#562)
-donationAmt = unitBalance * 2 * temp.donation (#574)
Consider ordering multiplication before division.
Additional information: link
ThursdayTexas.addLiquidity(uint256,uint256) (#580-593) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
Ensure that all the return values of the function calls are used.
Additional information: link
ThursdayTexas.allowance(address,address).owner (#256) shadows:
- Ownable.owner() (#57-59) (function)
ThursdayTexas._approve(address,address,uint256).owner (#469) shadows:
- Ownable.owner() (#57-59) (function)
Rename the local variables that shadow another component.
Additional information: link
ThursdayTexas.updateCooldown(bool,uint256) (#635-638) should emit an event for:
- coolDownTime = time * 1 (#636)
ThursdayTexas.updateSwapTokensAtAmount(uint256) (#640-642) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#641)
ThursdayTexas.updateMaxTxLimit(uint256,uint256) (#663-666) should emit an event for:
- maxBuyLimit = maxBuy * 10 ** decimals() (#664)
- maxSellLimit = maxSell * 10 ** decimals() (#665)
ThursdayTexas.updateMaxWalletlimit(uint256) (#668-670) should emit an event for:
- maxWalletLimit = amount * 10 ** decimals() (#669)
Emit an event for critical parameter changes.
Additional information: link
ThursdayTexas.constructor(address)._pair (#212-213) lacks a zero-check on :
- pair = _pair (#216)
ThursdayTexas.updateMarketingWallet(address).newWallet (#626) lacks a zero-check on :
- marketingWallet = newWallet (#627)
ThursdayTexas.updateDonationWallet(address).newWallet (#630) lacks a zero-check on :
- donationWallet = newWallet (#631)
ThursdayTexas.updateRouterAndPair(address,address).newPair (#672) lacks a zero-check on :
- pair = newPair (#674)
Check that the address is not zero.
Additional information: link
Reentrancy in ThursdayTexas._transfer(address,address,uint256) (#476-523):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
- totFeesPaid.liquidity += tLiquidity (#371)
- totFeesPaid.donation += tDonation (#391)
- totFeesPaid.marketing += tMarketing (#381)
- totFeesPaid.rfi += tRfi (#367)
Reentrancy in ThursdayTexas.constructor(address) (#210-233):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#212-213)
State variables written after the call(s):
- excludeFromReward(pair) (#218)
- _excluded.push(account) (#327)
- excludeFromReward(pair) (#218)
- _isExcluded[account] = true (#326)
- _isExcludedFromFee[address(this)] = true (#221)
- _isExcludedFromFee[owner()] = true (#222)
- _isExcludedFromFee[marketingWallet] = true (#223)
- _isExcludedFromFee[donationWallet] = true (#224)
- _rOwned[owner()] = _rTotal (#220)
- excludeFromReward(pair) (#218)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#324)
- allowedTransfer[address(this)] = true (#226)
- allowedTransfer[owner()] = true (#227)
- allowedTransfer[pair] = true (#228)
- allowedTransfer[marketingWallet] = true (#229)
- allowedTransfer[donationWallet] = true (#230)
- pair = _pair (#216)
- router = _router (#215)
Reentrancy in ThursdayTexas.swapAndLiquify(uint256,ThursdayTexas.Taxes) (#552-578):
External calls:
- swapTokensForBNB(toSwap) (#559)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
- _allowances[owner][spender] = amount (#472)
Reentrancy in ThursdayTexas.transferFrom(address,address,uint256) (#265-273):
External calls:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
External calls sending eth:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#270)
- _allowances[owner][spender] = amount (#472)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in ThursdayTexas._transfer(address,address,uint256) (#476-523):
External calls:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
External calls sending eth:
- swapAndLiquify(swapTokensAtAmount,sellTaxes) (#514)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- swapAndLiquify(swapTokensAtAmount,taxes) (#515)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tLiquidity + s.tMarketing + s.tDonation) (#544)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
- Transfer(sender,recipient,s.tTransferAmount) (#548)
- _tokenTransfer(from,to,amount,takeFee,isSell) (#522)
Reentrancy in ThursdayTexas.constructor(address) (#210-233):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#212-213)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#232)
Reentrancy in ThursdayTexas.swapAndLiquify(uint256,ThursdayTexas.Taxes) (#552-578):
External calls:
- swapTokensForBNB(toSwap) (#559)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#473)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#567)
Reentrancy in ThursdayTexas.transferFrom(address,address,uint256) (#265-273):
External calls:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#604-610)
- address(marketingWallet).sendValue(marketingAmt) (#572)
- address(donationWallet).sendValue(donationAmt) (#576)
External calls sending eth:
- _transfer(sender,recipient,amount) (#266)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#585-592)
- (success) = recipient.call{value: amount}() (#110)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#473)
- _approve(sender,_msgSender(),currentAllowance - amount) (#270)
Apply the check-effects-interactions pattern.
Additional information: link
ThursdayTexas._transfer(address,address,uint256) (#476-523) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(timePassed >= coolDownTime,Cooldown enabled) (#503)
Avoid relying on block.timestamp.
Additional information: link
ThursdayTexas.setTradingStatus(bool) (#309-313) compares to a boolean constant:
-state == true && genesis_block == 0 (#312)
Remove the equality to the boolean constant.
Additional information: link
ThursdayTexas.includeInReward(address) (#330-341) has costly operations inside a loop:
- _excluded.pop() (#337)
ThursdayTexas._reflectRfi(uint256,uint256) (#365-368) has costly operations inside a loop:
- _rTotal -= rRfi (#366)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#42-45) is never used and should be removed
Remove unused functions.
Additional information: link
ThursdayTexas._tTotal (#152) is set pre-construction with a non-constant function or state variable:
- initialsupply * 10 ** _decimals
ThursdayTexas._rTotal (#153) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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) (#107-112):
- (success) = recipient.call{value: amount}() (#110)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IRouter.WETH() (#88) is not in mixedCase
Struct ThursdayTexas.valuesFromGetValues (#187-199) is not in CapWords
Parameter ThursdayTexas.setTaxes(uint256,uint256,uint256,uint256)._rfi (#355) is not in mixedCase
Parameter ThursdayTexas.setTaxes(uint256,uint256,uint256,uint256)._marketing (#355) is not in mixedCase
Parameter ThursdayTexas.setTaxes(uint256,uint256,uint256,uint256)._liquidity (#355) is not in mixedCase
Parameter ThursdayTexas.setTaxes(uint256,uint256,uint256,uint256)._donation (#355) is not in mixedCase
Parameter ThursdayTexas.setSellTaxes(uint256,uint256,uint256,uint256)._rfi (#360) is not in mixedCase
Parameter ThursdayTexas.setSellTaxes(uint256,uint256,uint256,uint256)._marketing (#360) is not in mixedCase
Parameter ThursdayTexas.setSellTaxes(uint256,uint256,uint256,uint256)._liquidity (#360) is not in mixedCase
Parameter ThursdayTexas.setSellTaxes(uint256,uint256,uint256,uint256)._donation (#360) is not in mixedCase
Parameter ThursdayTexas.updateSwapEnabled(bool)._enabled (#644) is not in mixedCase
Parameter ThursdayTexas.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#684) is not in mixedCase
Parameter ThursdayTexas.rescueAnyBEP20Tokens(address,address,uint256)._to (#684) is not in mixedCase
Parameter ThursdayTexas.rescueAnyBEP20Tokens(address,address,uint256)._amount (#684) is not in mixedCase
Constant ThursdayTexas._decimals (#148) is not in UPPER_CASE_WITH_UNDERSCORES
Variable ThursdayTexas.genesis_block (#160) is not in mixedCase
Constant ThursdayTexas._name (#165) is not in UPPER_CASE_WITH_UNDERSCORES
Constant ThursdayTexas._symbol (#166) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#43)" inContext (#37-46)
Remove redundant statements if they congest code but offer no value.
Additional information: link
ThursdayTexas.initialsupply (#151) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#66-68)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#70-73)
name() should be declared external:
- ThursdayTexas.name() (#236-238)
symbol() should be declared external:
- ThursdayTexas.symbol() (#239-241)
totalSupply() should be declared external:
- ThursdayTexas.totalSupply() (#247-249)
allowance(address,address) should be declared external:
- ThursdayTexas.allowance(address,address) (#256-258)
approve(address,uint256) should be declared external:
- ThursdayTexas.approve(address,uint256) (#260-263)
transferFrom(address,address,uint256) should be declared external:
- ThursdayTexas.transferFrom(address,address,uint256) (#265-273)
increaseAllowance(address,uint256) should be declared external:
- ThursdayTexas.increaseAllowance(address,uint256) (#275-278)
decreaseAllowance(address,uint256) should be declared external:
- ThursdayTexas.decreaseAllowance(address,uint256) (#280-286)
transfer(address,uint256) should be declared external:
- ThursdayTexas.transfer(address,uint256) (#288-292)
isExcludedFromReward(address) should be declared external:
- ThursdayTexas.isExcludedFromReward(address) (#294-296)
reflectionFromToken(uint256,bool) should be declared external:
- ThursdayTexas.reflectionFromToken(uint256,bool) (#298-307)
excludeFromFee(address) should be declared external:
- ThursdayTexas.excludeFromFee(address) (#343-345)
includeInFee(address) should be declared external:
- ThursdayTexas.includeInFee(address) (#347-349)
isExcludedFromFee(address) should be declared external:
- ThursdayTexas.isExcludedFromFee(address) (#351-353)
setTaxes(uint256,uint256,uint256,uint256) should be declared external:
- ThursdayTexas.setTaxes(uint256,uint256,uint256,uint256) (#355-358)
setSellTaxes(uint256,uint256,uint256,uint256) should be declared external:
- ThursdayTexas.setSellTaxes(uint256,uint256,uint256,uint256) (#360-363)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- ThursdayTexas.rescueAnyBEP20Tokens(address,address,uint256) (#684-686)
Use the external attribute for functions never called from the contract.
Additional information: link
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
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