Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in TigerWang._transfer(address,address,uint256) (#1216-1292):
External calls:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _balances[address(this)] = _balances[address(this)].add(tLiquidity) (#1196)
- _balances[_burn] = _balances[_burn].add(tBurn) (#1200)
- _balances[_market] = _balances[_market].add(tMarket) (#1192)
- _balances[sender] = _balances[sender].sub(amount) (#1365)
- _balances[recipient] = _balances[recipient].add(tTransferAmount) (#1366)
Apply the check-effects-interactions pattern.
Additional information: link
TigerWang.addLiquidity(uint256,uint256) (#1335-1348) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
Ensure that all the return values of the function calls are used.
Additional information: link
TigerWang.allowance(address,address).owner (#987) shadows:
- Ownable.owner() (#471-473) (function)
TigerWang._approve(address,address,uint256).owner (#1205) shadows:
- Ownable.owner() (#471-473) (function)
Rename the local variables that shadow another component.
Additional information: link
TigerWang.setLiquidityFeePercent(uint256) (#1081-1084) should emit an event for:
- _liquidityFee = liquidityFee (#1082)
- _previousLiquidityFee = _liquidityFee (#1083)
TigerWang.setMarketFeePercent(uint256) (#1086-1089) should emit an event for:
- _marketFee = marketFee (#1087)
- _previousMarketFee = _marketFee (#1088)
TigerWang.setBurnFeePercent(uint256) (#1099-1102) should emit an event for:
- _burnFee = burnFee (#1100)
- _previousBurnFee = _burnFee (#1101)
TigerWang.setMaxTxAmount(uint256) (#1104-1106) should emit an event for:
- _maxTxAmount = maxTxAmount (#1105)
TigerWang.setMaxHavAmount(uint256) (#1108-1110) should emit an event for:
- _maxHavAmount = maxHavAmount (#1109)
TigerWang.setNumTokensSellToAddToLiquidity(uint256) (#1117-1119) should emit an event for:
- numTokensSellToAddToLiquidity = num (#1118)
Emit an event for critical parameter changes.
Additional information: link
TigerWang.setMarketAddress(address).market (#1091) lacks a zero-check on :
- _market = market (#1092)
TigerWang.setLiquifyAddress(address).liquify (#1095) lacks a zero-check on :
- _liquify = liquify (#1096)
Check that the address is not zero.
Additional information: link
TigerWang.swapTokensForEth(uint256) (#1317-1333) has external calls inside a loop: path[1] = uniswapV2Router.WETH() (#1321)
TigerWang.swapTokensForEth(uint256) (#1317-1333) has external calls inside a loop: uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
TigerWang.addLiquidity(uint256,uint256) (#1335-1348) has external calls inside a loop: uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in TigerWang._transfer(address,address,uint256) (#1216-1292):
External calls:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _burnFee = _previousBurnFee (#1161)
- _burnFee = 0 (#1155)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _liquidityFee = _previousLiquidityFee (#1162)
- _liquidityFee = 0 (#1156)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _marketFee = _previousMarketFee (#1160)
- _marketFee = 0 (#1154)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _previousBurnFee = _burnFee (#1151)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _previousLiquidityFee = _liquidityFee (#1152)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- _previousMarketFee = _marketFee (#1150)
Reentrancy in TigerWang.constructor() (#929-956):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#936-937)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#946)
- _isExcludedFromFee[address(this)] = true (#947)
- _isExcludedFromFee[_market] = true (#948)
- _isExcludedFromFee[_liquify] = true (#949)
- _liquify = owner() (#945)
- automatedMarketMakerPairs[uniswapV2Pair] = true (#942)
- uniswapV2Router = _uniswapV2Router (#940)
Reentrancy in TigerWang.swapAndLiquify(uint256) (#1294-1315):
External calls:
- swapTokensForEth(half) (#1306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
- addLiquidity(otherHalf,newBalance) (#1312)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1312)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1312)
- _allowances[owner][spender] = amount (#1212)
Reentrancy in TigerWang.transferFrom(address,address,uint256) (#1005-1020):
External calls:
- _transfer(sender,recipient,amount) (#1010)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1010)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1011-1018)
- _allowances[owner][spender] = amount (#1212)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TigerWang._transfer(address,address,uint256) (#1216-1292):
External calls:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1279)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
Event emitted after the call(s):
- Transfer(sender,_burn,tBurn) (#1201)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
- Transfer(sender,recipient,tTransferAmount) (#1370)
- _tokenTransfer(from,to,amount,takeFee) (#1291)
Reentrancy in TigerWang.constructor() (#929-956):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#936-937)
Event emitted after the call(s):
- Transfer(address(0x297BA2274acDcdE4cEDf7baE98Da3dEd17d4358E),_msgSender(),_tTotal) (#951-955)
Reentrancy in TigerWang.swapAndLiquify(uint256) (#1294-1315):
External calls:
- swapTokensForEth(half) (#1306)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
- addLiquidity(otherHalf,newBalance) (#1312)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1312)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1213)
- addLiquidity(otherHalf,newBalance) (#1312)
- SwapAndLiquify(half,newBalance,otherHalf) (#1314)
Reentrancy in TigerWang.transferFrom(address,address,uint256) (#1005-1020):
External calls:
- _transfer(sender,recipient,amount) (#1010)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1326-1332)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1010)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1340-1347)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1213)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1011-1018)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#521-529) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#526)
TigerWang.setStartTimeForSwap() (#1121-1125) uses timestamp for comparisons
Dangerous comparisons:
- _startTimeForSwap == 0 (#1122)
TigerWang._transfer(address,address,uint256) (#1216-1292) uses timestamp for comparisons
Dangerous comparisons:
- _startTimeForSwap == 0 && ! _isExcludedFromFee[from] && ! _isExcludedFromFee[to] (#1245-1247)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#280-291) uses assembly
- INLINE ASM (#287-289)
Address._functionCallWithValue(address,bytes,uint256,string) (#406-434) uses assembly
- INLINE ASM (#426-429)
Do not use evm assembly.
Additional information: link
TigerWang.lockTheSwap() (#923-927) has costly operations inside a loop:
- inSwapAndLiquify = true (#924)
TigerWang.lockTheSwap() (#923-927) has costly operations inside a loop:
- inSwapAndLiquify = false (#926)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _previousMarketFee = _marketFee (#1150)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _previousBurnFee = _burnFee (#1151)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _previousLiquidityFee = _liquidityFee (#1152)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _marketFee = 0 (#1154)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _burnFee = 0 (#1155)
TigerWang.removeAllFee() (#1147-1157) has costly operations inside a loop:
- _liquidityFee = 0 (#1156)
TigerWang.restoreAllFee() (#1159-1163) has costly operations inside a loop:
- _marketFee = _previousMarketFee (#1160)
TigerWang.restoreAllFee() (#1159-1163) has costly operations inside a loop:
- _burnFee = _previousBurnFee (#1161)
TigerWang.restoreAllFee() (#1159-1163) has costly operations inside a loop:
- _liquidityFee = _previousLiquidityFee (#1162)
Use a local variable to hold the loop computation result.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#406-434) is never used and should be removed
Address.functionCall(address,bytes) (#341-346) is never used and should be removed
Address.functionCall(address,bytes,string) (#354-360) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#373-385) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#393-404) is never used and should be removed
Address.isContract(address) (#280-291) is never used and should be removed
Address.sendValue(address,uint256) (#309-321) is never used and should be removed
Context._msgData() (#253-256) is never used and should be removed
SafeMath.mod(uint256,uint256) (#222-224) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#238-245) is never used and should be removed
Remove unused functions.
Additional information: link
TigerWang._previousMarketFee (#892) is set pre-construction with a non-constant function or state variable:
- _marketFee
TigerWang._previousLiquidityFee (#895) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
TigerWang._previousBurnFee (#898) is set pre-construction with a non-constant function or state variable:
- _burnFee
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
solc-0.8.11 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) (#309-321):
- (success) = recipient.call{value: amount}() (#316)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#406-434):
- (success,returndata) = target.call{value: weiValue}(data) (#415-417)
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() (#595) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#597) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#628) is not in mixedCase
Function IUniswapV2Router.WETH() (#674) is not in mixedCase
Parameter TigerWang.setSwapAndLiquifyEnabled(bool)._enabled (#1112) is not in mixedCase
Parameter TigerWang.calculateLiquidityFee(uint256)._amount (#1127) is not in mixedCase
Parameter TigerWang.calculateMarketFee(uint256)._amount (#1135) is not in mixedCase
Parameter TigerWang.calculateBurnFee(uint256)._amount (#1143) is not in mixedCase
Function TigerWang._getValues(uint256) (#1172-1189) is not in mixedCase
Variable TigerWang._marketFee (#891) is not in mixedCase
Variable TigerWang._liquidityFee (#894) is not in mixedCase
Variable TigerWang._burnFee (#897) is not in mixedCase
Variable TigerWang._startTimeForSwap (#900) is not in mixedCase
Variable TigerWang._maxTxAmount (#908) is not in mixedCase
Variable TigerWang._maxHavAmount (#909) is not in mixedCase
Variable TigerWang._burn (#912) is not in mixedCase
Variable TigerWang._market (#913) is not in mixedCase
Variable TigerWang._liquify (#914) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#254)" inContext (#248-257)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#679) is too similar to IUniswapV2Router.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#680)
Prevent variables from having similar names.
Additional information: link
TigerWang.slitherConstructorVariables() (#875-1375) uses literals with too many digits:
- _tTotal = 1000000000000000 * 10 ** 9 (#885)
TigerWang.slitherConstructorVariables() (#875-1375) uses literals with too many digits:
- _burn = 0x000000000000000000000000000000000000dEaD (#912)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TigerWang.MAX (#884) is never used in TigerWang (#875-1375)
Remove unused state variables.
Additional information: link
TigerWang._burn (#912) should be constant
TigerWang._decimals (#889) should be constant
TigerWang._name (#887) should be constant
TigerWang._symbol (#888) should be constant
TigerWang._tTotal (#885) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#490-493)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#499-506)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#508-510)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#513-518)
unlock() should be declared external:
- Ownable.unlock() (#521-529)
name() should be declared external:
- TigerWang.name() (#958-960)
symbol() should be declared external:
- TigerWang.symbol() (#962-964)
decimals() should be declared external:
- TigerWang.decimals() (#966-968)
totalSupply() should be declared external:
- TigerWang.totalSupply() (#970-972)
transfer(address,uint256) should be declared external:
- TigerWang.transfer(address,uint256) (#978-985)
allowance(address,address) should be declared external:
- TigerWang.allowance(address,address) (#987-994)
approve(address,uint256) should be declared external:
- TigerWang.approve(address,uint256) (#996-1003)
transferFrom(address,address,uint256) should be declared external:
- TigerWang.transferFrom(address,address,uint256) (#1005-1020)
increaseAllowance(address,uint256) should be declared external:
- TigerWang.increaseAllowance(address,uint256) (#1022-1033)
decreaseAllowance(address,uint256) should be declared external:
- TigerWang.decreaseAllowance(address,uint256) (#1035-1049)
excludeFromFee(address) should be declared external:
- TigerWang.excludeFromFee(address) (#1051-1053)
includeInFee(address) should be declared external:
- TigerWang.includeInFee(address) (#1055-1057)
excludeMultiFromFee(address[],bool) should be declared external:
- TigerWang.excludeMultiFromFee(address[],bool) (#1059-1066)
setMarketAddress(address) should be declared external:
- TigerWang.setMarketAddress(address) (#1091-1093)
setLiquifyAddress(address) should be declared external:
- TigerWang.setLiquifyAddress(address) (#1095-1097)
setSwapAndLiquifyEnabled(bool) should be declared external:
- TigerWang.setSwapAndLiquifyEnabled(bool) (#1112-1115)
setNumTokensSellToAddToLiquidity(uint256) should be declared external:
- TigerWang.setNumTokensSellToAddToLiquidity(uint256) (#1117-1119)
isExcludedFromFee(address) should be declared external:
- TigerWang.isExcludedFromFee(address) (#1165-1167)
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 Telegram and Twitter accounts