Reentrancy in TreslechesV2._transfer(address,address,uint256) (#1001-1031):
External calls:
- swapAndLiquify() (#1021)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- swapAndLiquify() (#1021)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#1160)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1130)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1132)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- liquidityTokensCollected += (amount * _liquidityFee) / 100 (#1119)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- marketingTokensCollected += (amount * _marketingFee) / 100 (#1120)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- scholarshipTokensCollected += (amount * _scholarshipFee) / 100 (#1121)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- swapTokensForEth(totalTokens) (#1047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- transferToAddressETH(marketingWalletAddress,ethForMarketing) (#1057)
- recipient.transfer(amount) (#1243)
- transferToAddressETH(scholarshipWalletAddress,ethForscholarship) (#1058)
- recipient.transfer(amount) (#1243)
State variables written after the call(s):
- liquidityTokensCollected = 0 (#1060)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
TreslechesV2.addLiquidity(uint256,uint256) (#1084-1097) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
Ensure that all the return values of the function calls are used.
Additional information: link
TreslechesV2.allowance(address,address).owner (#927) shadows:
- Ownable.owner() (#377-379) (function)
TreslechesV2._approve(address,address,uint256).owner (#990) shadows:
- Ownable.owner() (#377-379) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in TreslechesV2._transfer(address,address,uint256) (#1001-1031):
External calls:
- swapAndLiquify() (#1021)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- swapAndLiquify() (#1021)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _liquidityFee = _previousLiquidityFee (#1180)
- _liquidityFee = 0 (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _marketingFee = _previousMarketingFee (#1181)
- _marketingFee = 0 (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _scholarshipFee = _previousscholarshipFee (#1182)
- _scholarshipFee = 0 (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- totalSwapableFee = _liquidityFee + _marketingFee + _scholarshipFee (#1183)
- totalSwapableFee = 0 (#1176)
Reentrancy in TreslechesV2.constructor() (#856-895):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#881-882)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#884)
- _isExcludedFromFee[address(this)] = true (#885)
- _isExcludedFromFee[TresLechesMultiSig] = true (#886)
- _isExcludedFromFee[marketingWalletAddress] = true (#887)
- _isExcludedFromFee[scholarshipWalletAddress] = true (#888)
- _transferOwnership(TresLechesMultiSig) (#890)
- _owner = newOwner (#417)
- launchedTime = block.timestamp (#892)
- uniswapV2Router = _uniswapV2Router (#883)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- _allowances[owner][spender] = amount (#997)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- swapTokensForEth(totalTokens) (#1047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- swapTokensForEth(totalTokens) (#1047)
- _allowances[owner][spender] = amount (#997)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- swapTokensForEth(totalTokens) (#1047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- transferToAddressETH(marketingWalletAddress,ethForMarketing) (#1057)
- recipient.transfer(amount) (#1243)
- transferToAddressETH(scholarshipWalletAddress,ethForscholarship) (#1058)
- recipient.transfer(amount) (#1243)
State variables written after the call(s):
- marketingTokensCollected = 0 (#1061)
- scholarshipTokensCollected = 0 (#1062)
Reentrancy in TreslechesV2.transferFrom(address,address,uint256) (#945-957):
External calls:
- _transfer(sender,recipient,amount) (#950)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#950)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#951-955)
- _allowances[owner][spender] = amount (#997)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TreslechesV2._transfer(address,address,uint256) (#1001-1031):
External calls:
- swapAndLiquify() (#1021)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- swapAndLiquify() (#1021)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1135)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
Reentrancy in TreslechesV2.constructor() (#856-895):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#881-882)
Event emitted after the call(s):
- OwnershipTransferred(oldOwner,newOwner) (#418)
- _transferOwnership(TresLechesMultiSig) (#890)
- Transfer(address(0),TresLechesMultiSig,_tTotal) (#894)
Reentrancy in TreslechesV2.recoverTokensFromContract(IERC20) (#1270-1276):
External calls:
- require(bool,string)(token.transfer(marketingWalletAddress,balance),Transfer failed) (#1274)
Event emitted after the call(s):
- AuditLog(We have recover the stock tokens from contract.,marketingWalletAddress) (#1275)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#998)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- SwapAndLiquify(halfLiquidityTokens,newBalance,halfLiquidityTokens) (#1040-1044)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- swapTokensForEth(halfLiquidityTokens) (#1036)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- swapTokensForEth(totalTokens) (#1047)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#998)
- swapTokensForEth(totalTokens) (#1047)
- SwapTokensForETH(tokenAmount,path) (#1081)
- swapTokensForEth(totalTokens) (#1047)
Reentrancy in TreslechesV2.swapTokensForEth(uint256) (#1065-1082):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#1081)
Reentrancy in TreslechesV2.transferFrom(address,address,uint256) (#945-957):
External calls:
- _transfer(sender,recipient,amount) (#950)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1073-1079)
External calls sending eth:
- _transfer(sender,recipient,amount) (#950)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#998)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#951-955)
Apply the check-effects-interactions pattern.
Additional information: link
TreslechesV2._transfer(address,address,uint256) (#1001-1031) uses timestamp for comparisons
Dangerous comparisons:
- _isExcludedFromFee[from] || _isExcludedFromFee[to] || block.timestamp < zeroTaxDay (#1027)
TreslechesV2.setZeroTaxDayEnd(uint256) (#1246-1250) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(_end > block.timestamp,Invalid time) (#1247)
Avoid relying on block.timestamp.
Additional information: link
Address.verifyCallResult(bool,bytes,string) (#316-336) uses assembly
- INLINE ASM (#328-331)
Do not use evm assembly.
Additional information: link
Address.functionCall(address,bytes) (#163-174) is never used and should be removed
Address.functionCall(address,bytes,string) (#182-188) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#201-213) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#221-237) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#281-291) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#299-308) is never used and should be removed
Address.functionStaticCall(address,bytes) (#245-256) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#264-273) is never used and should be removed
Address.isContract(address) (#108-114) is never used and should be removed
Address.sendValue(address,uint256) (#132-143) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#316-336) is never used and should be removed
Context._msgData() (#43-45) is never used and should be removed
Remove unused functions.
Additional information: link
TreslechesV2.tomorrow (#796) is set pre-construction with a non-constant function or state variable:
- today + nextDay
TreslechesV2._previousLiquidityFee (#813) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
TreslechesV2._previousMarketingFee (#816) is set pre-construction with a non-constant function or state variable:
- _marketingFee
TreslechesV2._previousscholarshipFee (#819) is set pre-construction with a non-constant function or state variable:
- _scholarshipFee
TreslechesV2.totalSwapableFee (#821-822) is set pre-construction with a non-constant function or state variable:
- _liquidityFee + _marketingFee + _scholarshipFee
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 version0.8.15 (#26) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.15 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
Low level call in Address.sendValue(address,uint256) (#132-143):
- (success) = recipient.call{value: amount}() (#138)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#221-237):
- (success,returndata) = target.call{value: value}(data) (#233-235)
Low level call in Address.functionStaticCall(address,bytes,string) (#264-273):
- (success,returndata) = target.staticcall(data) (#271)
Low level call in Address.functionDelegateCall(address,bytes,string) (#299-308):
- (success,returndata) = target.delegatecall(data) (#306)
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() (#485) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#487) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#517) is not in mixedCase
Function IUniswapV2Router01.WETH() (#562) is not in mixedCase
Parameter TreslechesV2.calculateLiquidityFee(uint256)._amount (#1164) is not in mixedCase
Parameter TreslechesV2.setNumTokensSellToAddToLiquidity(uint256)._minimumTokensBeforeSwap (#1203) is not in mixedCase
Parameter TreslechesV2.setMarketingWalletAddress(address)._marketingWallet (#1214) is not in mixedCase
Parameter TreslechesV2.setscholarshipWalletAddress(address)._scholarshipWallet (#1229) is not in mixedCase
Parameter TreslechesV2.setSwapAndLiquifyEnabled(bool)._enabled (#1235) is not in mixedCase
Parameter TreslechesV2.setZeroTaxDayEnd(uint256)._end (#1246) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._LPStakingContract (#1279) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._TokenStakingContract (#1279) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._NFTStakingContract (#1279) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._NFTOwnerStakingContract (#1279) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._TresLechesV1Contract (#1279) is not in mixedCase
Parameter TreslechesV2.setContracts(address,address,address,address,address,address)._TresLechesV1toV2Contract (#1279) is not in mixedCase
Parameter TreslechesV2.burn(uint256)._value (#1308) is not in mixedCase
Constant TreslechesV2.deadWallet (#772-773) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TreslechesV2.TresLechesMultiSig (#775-776) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TreslechesV2.LPStakingContract (#777) is not in mixedCase
Variable TreslechesV2.TokenStakingContract (#778) is not in mixedCase
Variable TreslechesV2.NFTStakingContract (#779) is not in mixedCase
Variable TreslechesV2.NFTOwnerStakingContract (#780) is not in mixedCase
Variable TreslechesV2.NFTOwnerAddress (#781) is not in mixedCase
Variable TreslechesV2.TresLechesV1Contract (#782) is not in mixedCase
Variable TreslechesV2.TresLechesV1toV2Contract (#783) is not in mixedCase
Constant TreslechesV2._name (#808) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TreslechesV2._symbol (#809) is not in UPPER_CASE_WITH_UNDERSCORES
Constant TreslechesV2._decimals (#810) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TreslechesV2._liquidityFee (#812) is not in mixedCase
Variable TreslechesV2._marketingFee (#815) is not in mixedCase
Variable TreslechesV2._scholarshipFee (#818) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Reentrancy in TreslechesV2._transfer(address,address,uint256) (#1001-1031):
External calls:
- swapAndLiquify() (#1021)
- recipient.transfer(amount) (#1243)
External calls sending eth:
- swapAndLiquify() (#1021)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _liquidityFee = _previousLiquidityFee (#1180)
- _liquidityFee = 0 (#1173)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _marketingFee = _previousMarketingFee (#1181)
- _marketingFee = 0 (#1174)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _scholarshipFee = _previousscholarshipFee (#1182)
- _scholarshipFee = 0 (#1175)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- _tOwned[address(this)] = _tOwned[address(this)] + tLiquidity (#1160)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1130)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1132)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- liquidityTokensCollected += (amount * _liquidityFee) / 100 (#1119)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- marketingTokensCollected += (amount * _marketingFee) / 100 (#1120)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- scholarshipTokensCollected += (amount * _scholarshipFee) / 100 (#1121)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
- totalSwapableFee = _liquidityFee + _marketingFee + _scholarshipFee (#1183)
- totalSwapableFee = 0 (#1176)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1135)
- _tokenTransfer(from,to,amount,takeFee) (#1030)
Reentrancy in TreslechesV2.recoverETHfromContract() (#1262-1268):
External calls:
- address(marketingWalletAddress).transfer(address(this).balance) (#1263)
Event emitted after the call(s):
- AuditLog(We have recover the stock eth from contract.,marketingWalletAddress) (#1264-1267)
Reentrancy in TreslechesV2.swapAndLiquify() (#1033-1063):
External calls:
- transferToAddressETH(marketingWalletAddress,ethForMarketing) (#1057)
- recipient.transfer(amount) (#1243)
- transferToAddressETH(scholarshipWalletAddress,ethForscholarship) (#1058)
- recipient.transfer(amount) (#1243)
External calls sending eth:
- addLiquidity(halfLiquidityTokens,newBalance) (#1039)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
- transferToAddressETH(marketingWalletAddress,ethForMarketing) (#1057)
- recipient.transfer(amount) (#1243)
- transferToAddressETH(scholarshipWalletAddress,ethForscholarship) (#1058)
- recipient.transfer(amount) (#1243)
State variables written after the call(s):
- liquidityTokensCollected = 0 (#1060)
- marketingTokensCollected = 0 (#1061)
- scholarshipTokensCollected = 0 (#1062)
Reentrancy in TreslechesV2.transferFrom(address,address,uint256) (#945-957):
External calls:
- _transfer(sender,recipient,amount) (#950)
- recipient.transfer(amount) (#1243)
External calls sending eth:
- _transfer(sender,recipient,amount) (#950)
- recipient.transfer(amount) (#1243)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#1089-1096)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#951-955)
- _allowances[owner][spender] = amount (#997)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#998)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (#951-955)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#567) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#568)
Prevent variables from having similar names.
Additional information: link
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- LPStakingContract = 0x000000000000000000000000000000000000dEaD (#777)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- TokenStakingContract = 0x000000000000000000000000000000000000dEaD (#778)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- NFTStakingContract = 0x000000000000000000000000000000000000dEaD (#779)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- NFTOwnerStakingContract = 0x000000000000000000000000000000000000dEaD (#780)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- NFTOwnerAddress = 0x000000000000000000000000000000000000dEaD (#781)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- TresLechesV1Contract = 0x000000000000000000000000000000000000dEaD (#782)
TreslechesV2.slitherConstructorVariables() (#765-1324) uses literals with too many digits:
- TresLechesV1toV2Contract = 0x000000000000000000000000000000000000dEaD (#783)
TreslechesV2.slitherConstructorConstantVariables() (#765-1324) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (#772-773)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TreslechesV2._isExcluded (#800) is never used in TreslechesV2 (#765-1324)
TreslechesV2._excluded (#802) is never used in TreslechesV2 (#765-1324)
TreslechesV2.MAX (#804) is never used in TreslechesV2 (#765-1324)
TreslechesV2._tFeeTotal (#806) is never used in TreslechesV2 (#765-1324)
Remove unused state variables.
Additional information: link
TreslechesV2.NFTOwnerAddress (#781) should be constant
TreslechesV2._tFeeTotal (#806) should be constant
TreslechesV2.nextDay (#794) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
recoverETHfromContract() should be declared external:
- TreslechesV2.recoverETHfromContract() (#1262-1268)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract ownership is semi-renounced (passed to a contract)
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average 30d PancakeSwap liquidity is low.
Average 30d PancakeSwap volume is low.
Average 30d number of PancakeSwap swaps is low.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 5% buy tax and 5% sell tax.
Taxes are low and contract ownership is renounced.
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 Telegram and Twitter accounts