Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in YearOfTiger2022._transfer(address,address,uint256) (#1002-1053):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- devAddress.sendValue(devFee) (#1110)
- treasuryAddress.sendValue(treasuryFee) (#1111)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- _rOwned[address(this)] += rToSwap (#909)
- _rOwned[sender] -= s.rAmount (#1071)
- _rOwned[recipient] += s.rTransferAmount (#1072)
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- _rTotal -= rRfi (#904)
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- _tOwned[address(this)] += tToSwap (#910)
- _tOwned[sender] -= tAmount (#1065)
- _tOwned[recipient] += s.tTransferAmount (#1068)
Reentrancy in YearOfTiger2022.transferFrom(address,address,uint256) (#770-787):
External calls:
- _transfer(sender,recipient,amount) (#775)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- devAddress.sendValue(devFee) (#1110)
- treasuryAddress.sendValue(treasuryFee) (#1111)
External calls sending eth:
- _transfer(sender,recipient,amount) (#775)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#783)
- _allowances[owner][spender] = amount (#998)
Apply the check-effects-interactions pattern.
Additional information: link
YearOfTiger2022.rescueAnyBEP20Tokens(address,address,uint256) (#1233-1235) ignores return value by IERC20(_tokenAddr).transfer(_to,_amount) (#1234)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
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.
YearOfTiger2022.addLiquidity(uint256,uint256) (#1134-1145) ignores return value by UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
Ensure that all the return values of the function calls are used.
Additional information: link
YearOfTiger2022.allowance(address,address).owner (#752) shadows:
- Ownable.owner() (#75-77) (function)
YearOfTiger2022._approve(address,address,uint256).owner (#992) shadows:
- Ownable.owner() (#75-77) (function)
Rename the local variables that shadow another component.
Additional information: link
YearOfTiger2022.setMaxTransactionAmount(uint256,uint256) (#1189-1195) should emit an event for:
- maxTxAmountBuy = _tTotal / _maxTxAmountBuyPct (#1193)
- maxTxAmountSell = _tTotal / _maxTxAmountSellPct (#1194)
YearOfTiger2022.setNumTokensSellToAddToLiq(uint256) (#1197-1202) should emit an event for:
- numTokensSellToAddToLiquidity = amountTokens * 10 ** _decimals (#1201)
Emit an event for critical parameter changes.
Additional information: link
YearOfTiger2022.setTreasuryAddress(address)._treasuryAddress (#1204) lacks a zero-check on :
- treasuryAddress = _treasuryAddress (#1208)
YearOfTiger2022.setDevAddress(address)._devAddress (#1211) lacks a zero-check on :
- devAddress = _devAddress (#1212)
YearOfTiger2022.manualSwapPercentage(uint256,address).toAddress (#1220) lacks a zero-check on :
- wAddress = address(toAddress) (#1223)
Check that the address is not zero.
Additional information: link
Reentrancy in YearOfTiger2022._transfer(address,address,uint256) (#1002-1053):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- devAddress.sendValue(devFee) (#1110)
- treasuryAddress.sendValue(treasuryFee) (#1111)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- totFeesPaid.rfi += tRfi (#905)
- totFeesPaid.toSwap += tToSwap (#911)
Reentrancy in YearOfTiger2022.constructor() (#693-718):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#697)
State variables written after the call(s):
- UniswapV2Router = _UniswapV2Router (#700)
- _isExcludedFromFee[owner()] = true (#705)
- _isExcludedFromFee[treasuryAddress] = true (#706)
- _isExcludedFromFee[devAddress] = true (#707)
- _isExcludedFromFee[address(this)] = true (#708)
- _isExcludedFromMaxWallet[owner()] = true (#710)
- _isExcludedFromMaxWallet[treasuryAddress] = true (#711)
- _isExcludedFromMaxWallet[devAddress] = true (#712)
- _isExcludedFromMaxWallet[address(this)] = true (#713)
- _isExcludedFromMaxWallet[uniswapPair] = true (#715)
- _rOwned[owner()] = _rTotal (#701)
- devAddress = address(msg.sender) (#703)
- isAutomatedMarketMakerPair[uniswapPair] = true (#698)
- treasuryAddress = address(msg.sender) (#702)
- wAddress = address(msg.sender) (#704)
Reentrancy in YearOfTiger2022.manualSwapPercentage(uint256,address) (#1220-1226):
External calls:
- swapTokensForETH(tokenstosell) (#1222)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
State variables written after the call(s):
- ttk = address(this).balance (#1224)
- wAddress = address(toAddress) (#1223)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in YearOfTiger2022._transfer(address,address,uint256) (#1002-1053):
External calls:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- devAddress.sendValue(devFee) (#1110)
- treasuryAddress.sendValue(treasuryFee) (#1111)
External calls sending eth:
- swapAndLiquify(numTokensSellToAddToLiquidity) (#1049)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
Event emitted after the call(s):
- Transfer(sender,address(this),s.tToSwap) (#1076)
- _tokenTransfer(from,to,amount,takeFee) (#1052)
- Transfer(sender,recipient,s.tTransferAmount) (#1083)
- _tokenTransfer(from,to,amount,takeFee) (#1052)
Reentrancy in YearOfTiger2022.addLiquidity(uint256,uint256) (#1134-1145):
External calls:
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1144)
Reentrancy in YearOfTiger2022.constructor() (#693-718):
External calls:
- uniswapPair = IUniswapV2Factory(_UniswapV2Router.factory()).createPair(address(this),_UniswapV2Router.WETH()) (#697)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(uniswapPair,true) (#699)
- Transfer(address(0),owner(),_tTotal) (#717)
Reentrancy in YearOfTiger2022.swapAndLiquify(uint256) (#1086-1112):
External calls:
- swapTokensForETH(toSwap) (#1095)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1102)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1102)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
Event emitted after the call(s):
- LiquidityAdded(tokenAmount,ETHAmount) (#1144)
- addLiquidity(tokensToAddLiquidityWith,ETHToAddLiquidityWith) (#1102)
Reentrancy in YearOfTiger2022.transferFrom(address,address,uint256) (#770-787):
External calls:
- _transfer(sender,recipient,amount) (#775)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
- UniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1125-1131)
- devAddress.sendValue(devFee) (#1110)
- treasuryAddress.sendValue(treasuryFee) (#1111)
External calls sending eth:
- _transfer(sender,recipient,amount) (#775)
- UniswapV2Router.addLiquidityETH{value: ETHAmount}(address(this),tokenAmount,0,0,devAddress,block.timestamp) (#1136-1143)
- (success) = recipient.call{value: amount}() (#420)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#999)
- _approve(sender,_msgSender(),currentAllowance - amount) (#783)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#389-399) uses assembly
- INLINE ASM (#395-397)
Address.verifyCallResult(bool,bytes,string) (#558-578) uses assembly
- INLINE ASM (#570-573)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['>=0.5.0', '>=0.6.2', '^0.8.0']
- ^0.8.0 (#21)
- ^0.8.0 (#46)
- ^0.8.0 (#117)
- >=0.6.2 (#200)
- >=0.6.2 (#299)
- >=0.5.0 (#345)
- ^0.8.0 (#366)
- ^0.8.0 (#583)
Use one Solidity version.
Additional information: link
YearOfTiger2022.includeInReward(address) (#861-872) has costly operations inside a loop:
- _excluded.pop() (#868)
Use a local variable to hold the loop computation result.
Additional information: link
Address.functionCall(address,bytes) (#442-444) is never used and should be removed
Address.functionCall(address,bytes,string) (#452-458) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#471-477) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#485-496) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#531-533) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#541-550) is never used and should be removed
Address.functionStaticCall(address,bytes) (#504-506) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#514-523) is never used and should be removed
Address.isContract(address) (#389-399) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#558-578) is never used and should be removed
Context._msgData() (#38-40) is never used and should be removed
Remove unused functions.
Additional information: link
YearOfTiger2022._rTotal (#604) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
YearOfTiger2022.maxTxAmountBuy (#606) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
YearOfTiger2022.maxTxAmountSell (#607) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
YearOfTiger2022.maxWalletAmount (#608) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1
YearOfTiger2022.numTokensSellToAddToLiquidity (#628) is set pre-construction with a non-constant function or state variable:
- _tTotal / 1000
YearOfTiger2022.appliedRates (#656) is set pre-construction with a non-constant function or state variable:
- buyRates
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.8.0 (#21) allows old versions
Pragma version^0.8.0 (#46) allows old versions
Pragma version^0.8.0 (#117) allows old versions
Pragma version>=0.6.2 (#200) allows old versions
Pragma version>=0.6.2 (#299) allows old versions
Pragma version>=0.5.0 (#345) allows old versions
Pragma version^0.8.0 (#366) allows old versions
Pragma version^0.8.0 (#583) allows old versions
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) (#417-422):
- (success) = recipient.call{value: amount}() (#420)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#485-496):
- (success,returndata) = target.call{value: value}(data) (#494)
Low level call in Address.functionStaticCall(address,bytes,string) (#514-523):
- (success,returndata) = target.staticcall(data) (#521)
Low level call in Address.functionDelegateCall(address,bytes,string) (#541-550):
- (success,returndata) = target.delegatecall(data) (#548)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#204) is not in mixedCase
Struct YearOfTiger2022.feeRatesStruct (#630-636) is not in CapWords
Struct YearOfTiger2022.valuesFromGetValues (#664-672) is not in CapWords
Parameter YearOfTiger2022.setSwapAndLiquifyEnabled(bool)._enabled (#895) is not in mixedCase
Parameter YearOfTiger2022.addLiquidity(uint256,uint256).ETHAmount (#1134) is not in mixedCase
Parameter YearOfTiger2022.setAutomatedMarketMakerPair(address,bool)._pair (#1147) is not in mixedCase
Parameter YearOfTiger2022.setBuyFees(uint8,uint8,uint8,uint8)._rfi (#1164) is not in mixedCase
Parameter YearOfTiger2022.setBuyFees(uint8,uint8,uint8,uint8)._treasury (#1165) is not in mixedCase
Parameter YearOfTiger2022.setBuyFees(uint8,uint8,uint8,uint8)._dev (#1166) is not in mixedCase
Parameter YearOfTiger2022.setBuyFees(uint8,uint8,uint8,uint8)._lp (#1167) is not in mixedCase
Parameter YearOfTiger2022.setSellFees(uint8,uint8,uint8,uint8)._rfi (#1177) is not in mixedCase
Parameter YearOfTiger2022.setSellFees(uint8,uint8,uint8,uint8)._treasury (#1178) is not in mixedCase
Parameter YearOfTiger2022.setSellFees(uint8,uint8,uint8,uint8)._dev (#1179) is not in mixedCase
Parameter YearOfTiger2022.setSellFees(uint8,uint8,uint8,uint8)._lp (#1180) is not in mixedCase
Parameter YearOfTiger2022.setMaxTransactionAmount(uint256,uint256)._maxTxAmountBuyPct (#1190) is not in mixedCase
Parameter YearOfTiger2022.setMaxTransactionAmount(uint256,uint256)._maxTxAmountSellPct (#1191) is not in mixedCase
Parameter YearOfTiger2022.setTreasuryAddress(address)._treasuryAddress (#1204) is not in mixedCase
Parameter YearOfTiger2022.setDevAddress(address)._devAddress (#1211) is not in mixedCase
Parameter YearOfTiger2022.rescueAnyBEP20Tokens(address,address,uint256)._tokenAddr (#1233) is not in mixedCase
Parameter YearOfTiger2022.rescueAnyBEP20Tokens(address,address,uint256)._to (#1233) is not in mixedCase
Parameter YearOfTiger2022.rescueAnyBEP20Tokens(address,address,uint256)._amount (#1233) is not in mixedCase
Parameter YearOfTiger2022.setMaxWalletAmount(uint256)._maxWalletAmountPct (#1242) is not in mixedCase
Constant YearOfTiger2022._decimals (#600) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YearOfTiger2022._name (#621) is not in UPPER_CASE_WITH_UNDERSCORES
Constant YearOfTiger2022._symbol (#622) is not in UPPER_CASE_WITH_UNDERSCORES
Variable YearOfTiger2022.UniswapV2Router (#625) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#209) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#210)
Prevent variables from having similar names.
Additional information: link
YearOfTiger2022._tTotal (#603) should be constant
YearOfTiger2022.blocksToWait (#614) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#94-96)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#102-105)
name() should be declared external:
- YearOfTiger2022.name() (#721-723)
symbol() should be declared external:
- YearOfTiger2022.symbol() (#725-727)
decimals() should be declared external:
- YearOfTiger2022.decimals() (#729-731)
totalSupply() should be declared external:
- YearOfTiger2022.totalSupply() (#734-736)
transfer(address,uint256) should be declared external:
- YearOfTiger2022.transfer(address,uint256) (#743-750)
approve(address,uint256) should be declared external:
- YearOfTiger2022.approve(address,uint256) (#761-768)
transferFrom(address,address,uint256) should be declared external:
- YearOfTiger2022.transferFrom(address,address,uint256) (#770-787)
increaseAllowance(address,uint256) should be declared external:
- YearOfTiger2022.increaseAllowance(address,uint256) (#789-800)
decreaseAllowance(address,uint256) should be declared external:
- YearOfTiger2022.decreaseAllowance(address,uint256) (#802-817)
isExcludedFromReward(address) should be declared external:
- YearOfTiger2022.isExcludedFromReward(address) (#819-821)
reflectionFromToken(uint256,bool) should be declared external:
- YearOfTiger2022.reflectionFromToken(uint256,bool) (#823-836)
isExcludedFromFee(address) should be declared external:
- YearOfTiger2022.isExcludedFromFee(address) (#883-885)
isExcludedFromMaxWallet(address) should be declared external:
- YearOfTiger2022.isExcludedFromMaxWallet(address) (#887-893)
setSwapAndLiquifyEnabled(bool) should be declared external:
- YearOfTiger2022.setSwapAndLiquifyEnabled(bool) (#895-898)
rescueAnyBEP20Tokens(address,address,uint256) should be declared external:
- YearOfTiger2022.rescueAnyBEP20Tokens(address,address,uint256) (#1233-1235)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
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 website, listings and other project-related information
Token is marked as scam (rug pull, honeypot, phishing, etc.)
Additional information: link
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