CEO & Co-Founder of CFLOW APP, the 1st NFT Platform in Latin America for everyone! I love helping people through technology and innovation.
TokensByGenDotCom.swapAndLiquify(uint256) (#1068-1117) sends eth to arbitrary user
Dangerous calls:
- Wallet_Marketing.transfer(contract_BNB) (#1109)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in TokensByGenDotCom._transfer(address,address,uint256) (#978-1058):
External calls:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
External calls sending eth:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _rOwned[address(this)] = _rOwned[address(this)] + _rSwapFeeTotal (#1169)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1254)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1255)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1261)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1263)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1269)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1270)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1277)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1279)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1285)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1286)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _rTotal = _rTotal - _rReflect (#1178)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _tOwned[address(this)] = _tOwned[address(this)] + _tSwapFeeTotal (#1171)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1253)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1262)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1276)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1278)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- swapCounter ++ (#1223)
Apply the check-effects-interactions pattern.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
Contract ownership is not renounced (belongs to a wallet)
TokensByGenDotCom._tokenTransfer(address,address,uint256,bool) (#1209-1301) performs a multiplication on the result of a division:
-tReflect = tAmount * _fee_Sell_Reflection / 100 (#1235)
-rReflect = tReflect * RFI (#1245)
TokensByGenDotCom._tokenTransfer(address,address,uint256,bool) (#1209-1301) performs a multiplication on the result of a division:
-tSwapFeeTotal = tAmount * _SwapFeeTotal_Buy / 100 (#1230)
-rSwapFeeTotal = tSwapFeeTotal * RFI (#1246)
Consider ordering multiplication before division.
Additional information: link
TokensByGenDotCom.addLiquidity(uint256,uint256) (#1140-1151) ignores return value by uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
Ensure that all the return values of the function calls are used.
Additional information: link
TokensByGenDotCom.allowance(address,address).owner (#633) shadows:
- TokensByGenDotCom.owner() (#608-610) (function)
TokensByGenDotCom._approve(address,address,uint256).owner (#652) shadows:
- TokensByGenDotCom.owner() (#608-610) (function)
Rename the local variables that shadow another component.
Additional information: link
TokensByGenDotCom.constructor(string,string,address,address,uint256,uint256,string,string,uint256)._OwnerWallet (#401) lacks a zero-check on :
- _owner = _OwnerWallet (#405)
- Wallet_Liquidity = _OwnerWallet (#429)
TokensByGenDotCom.constructor(string,string,address,address,uint256,uint256,string,string,uint256)._MarketingWallet (#401) lacks a zero-check on :
- Wallet_Marketing = _MarketingWallet (#428)
TokensByGenDotCom.Wallet_Update_Liquidity(address).wallet (#804) lacks a zero-check on :
- Wallet_Liquidity = wallet (#808)
Check that the address is not zero.
Additional information: link
Reentrancy in TokensByGenDotCom._transfer(address,address,uint256) (#978-1058):
External calls:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
External calls sending eth:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _tFeeTotal = _tFeeTotal + _tReflect (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rAmount = tAmount * RFI (#1244)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rReflect = tReflect * RFI (#1245)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rSwapFeeTotal = tSwapFeeTotal * RFI (#1246)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rTransferAmount = rAmount - (rReflect + rSwapFeeTotal) (#1248)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tAmount = amount (#1212)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tReflect = 0 (#1216)
- tReflect = tAmount * _fee_Buy_Reflection / 100 (#1229)
- tReflect = tAmount * _fee_Sell_Reflection / 100 (#1235)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tSwapFeeTotal = 0 (#1217)
- tSwapFeeTotal = tAmount * _SwapFeeTotal_Buy / 100 (#1230)
- tSwapFeeTotal = tAmount * _SwapFeeTotal_Sell / 100 (#1236)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tTransferAmount = tAmount - (tReflect + tSwapFeeTotal) (#1247)
Reentrancy in TokensByGenDotCom.constructor(string,string,address,address,uint256,uint256,string,string,uint256) (#401-495):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#457)
State variables written after the call(s):
- _excluded.push(Wallet_Burn) (#481)
- _excluded.push(uniswapV2Pair) (#482)
- _excluded.push(address(this)) (#483)
- _isExcluded[Wallet_Burn] = true (#476)
- _isExcluded[uniswapV2Pair] = true (#477)
- _isExcluded[address(this)] = true (#478)
- _isExcludedFromFee[_owner] = true (#467)
- _isExcludedFromFee[address(this)] = true (#468)
- _isExcludedFromFee[Wallet_Burn] = true (#469)
- _isLimitExempt[_owner] = true (#461)
- _isLimitExempt[address(this)] = true (#462)
- _isLimitExempt[Wallet_Burn] = true (#463)
- _isLimitExempt[uniswapV2Pair] = true (#464)
- _isPair[uniswapV2Pair] = true (#472)
- _preLaunchAccess[_owner] = true (#486)
- uniswapV2Router = _uniswapV2Router (#458)
Reentrancy in TokensByGenDotCom.swapAndLiquify(uint256) (#1068-1117):
External calls:
- swapTokensForBNB(Swap_Tokens) (#1085)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
External calls sending eth:
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
State variables written after the call(s):
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- _allowances[owner][spender] = amount (#656)
Reentrancy in TokensByGenDotCom.swapAndLiquify(uint256) (#1068-1117):
External calls:
- swapTokensForBNB(Swap_Tokens) (#1085)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
External calls sending eth:
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- inSwapAndLiquify = false (#1116)
- swapCounter = 1 (#1113)
Reentrancy in TokensByGenDotCom.transferFrom(address,address,uint256) (#689-693):
External calls:
- _transfer(sender,recipient,amount) (#690)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
External calls sending eth:
- _transfer(sender,recipient,amount) (#690)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,Allowance exceeded)) (#691)
- _allowances[owner][spender] = amount (#656)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in TokensByGenDotCom._transfer(address,address,uint256) (#978-1058):
External calls:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
External calls sending eth:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1257)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1265)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1272)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1281)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1288)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
Reentrancy in TokensByGenDotCom.constructor(string,string,address,address,uint256,uint256,string,string,uint256) (#401-495):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#457)
Event emitted after the call(s):
- OwnershipTransferred(address(0),_owner) (#492)
- Transfer(address(0),_owner,_tTotal) (#489)
Reentrancy in TokensByGenDotCom.swapAndLiquify(uint256) (#1068-1117):
External calls:
- swapTokensForBNB(Swap_Tokens) (#1085)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
External calls sending eth:
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#657)
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- SwapAndLiquify(LP_Tokens,BNB_Liquidity,LP_Tokens) (#1098)
Reentrancy in TokensByGenDotCom.transferFrom(address,address,uint256) (#689-693):
External calls:
- _transfer(sender,recipient,amount) (#690)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1128-1134)
External calls sending eth:
- _transfer(sender,recipient,amount) (#690)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#657)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,Allowance exceeded)) (#691)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#91-95) uses assembly
- INLINE ASM (#93)
Address._verifyCallResult(bool,bytes,string) (#143-156) uses assembly
- INLINE ASM (#148-151)
Do not use evm assembly.
Additional information: link
TokensByGenDotCom.reflections_include_Wallet(address) (#765-777) has costly operations inside a loop:
- _excluded.pop() (#772)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#143-156) is never used and should be removed
Address.functionCall(address,bytes) (#103-105) is never used and should be removed
Address.functionCall(address,bytes,string) (#107-109) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#111-113) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#115-120) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#133-135) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#137-141) is never used and should be removed
Address.functionStaticCall(address,bytes) (#122-124) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#126-130) is never used and should be removed
Address.isContract(address) (#91-95) is never used and should be removed
Address.sendValue(address,uint256) (#97-101) is never used and should be removed
Context._msgData() (#82-85) is never used and should be removed
SafeMath.div(uint256,uint256) (#57-59) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#68-73) is never used and should be removed
SafeMath.mul(uint256,uint256) (#53-55) is never used and should be removed
SafeMath.sub(uint256,uint256) (#49-51) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.10 (#28) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
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
Low level call in Address.sendValue(address,uint256) (#97-101):
- (success) = recipient.call{value: amount}() (#99)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#115-120):
- (success,returndata) = target.call{value: value}(data) (#118)
Low level call in Address.functionStaticCall(address,bytes,string) (#126-130):
- (success,returndata) = target.staticcall(data) (#128)
Low level call in Address.functionDelegateCall(address,bytes,string) (#137-141):
- (success,returndata) = target.delegatecall(data) (#139)
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() (#183) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#184) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#197) is not in mixedCase
Function IUniswapV2Router01.WETH() (#214) is not in mixedCase
Event TokensByGenDotComupdated_mapping_preLaunchAccess(address,bool) (#500) is not in CapWords
Event TokensByGenDotComupdated_mapping_isLimitExempt(address,bool) (#501) is not in CapWords
Event TokensByGenDotComupdated_mapping_isPair(address,bool) (#502) is not in CapWords
Event TokensByGenDotComupdated_mapping_isExcludedFromFee(address,bool) (#503) is not in CapWords
Event TokensByGenDotComupdated_ExcludeFromReward(address) (#504) is not in CapWords
Event TokensByGenDotComupdated_IncludeInReward(address) (#505) is not in CapWords
Event TokensByGenDotComupdated_Wallet_Marketing(address,address) (#506) is not in CapWords
Event TokensByGenDotComupdated_Wallet_Liquidity(address,address) (#507) is not in CapWords
Event TokensByGenDotComupdated_wallet_Limits(uint256,uint256) (#508) is not in CapWords
Event TokensByGenDotComupdated_Buy_fees(uint256,uint256,uint256,uint256) (#509) is not in CapWords
Event TokensByGenDotComupdated_Sell_fees(uint256,uint256,uint256,uint256) (#510) is not in CapWords
Event TokensByGenDotComupdated_noFeeOnTransfer(bool) (#511) is not in CapWords
Event TokensByGenDotComupdated_swapTriggerCount(uint256) (#512) is not in CapWords
Event TokensByGenDotComupdated_swapTrigger_Token_Limits(uint256,uint256) (#513) is not in CapWords
Event TokensByGenDotComupdated_SwapAndLiquify_Enabled(bool) (#514) is not in CapWords
Event TokensByGenDotComupdated_trade_Open(bool) (#515) is not in CapWords
Event TokensByGenDotComset_Contract_Fee(uint256,uint256) (#517) is not in CapWords
Parameter TokensByGenDotCom.tokenFromReflection(uint256)._rAmount (#660) is not in mixedCase
Function TokensByGenDotCom.Mapping_preLaunchAccess(address,bool) (#706-709) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_preLaunchAccess(address,bool).Wallet_Address (#706) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_preLaunchAccess(address,bool).true_or_false (#706) is not in mixedCase
Function TokensByGenDotCom.Mapping_LimitExempt(address,bool) (#712-715) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_LimitExempt(address,bool).Wallet_Address (#712) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_LimitExempt(address,bool).true_or_false (#712) is not in mixedCase
Function TokensByGenDotCom.Mapping_isPair(address,bool) (#718-721) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_isPair(address,bool).Wallet_Address (#718) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_isPair(address,bool).true_or_false (#718) is not in mixedCase
Function TokensByGenDotCom.Mapping_excludeFromFee(address,bool) (#724-728) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_excludeFromFee(address,bool).Wallet_Address (#724) is not in mixedCase
Parameter TokensByGenDotCom.Mapping_excludeFromFee(address,bool).true_or_false (#724) is not in mixedCase
Function TokensByGenDotCom.reflections_exclude_Wallet(address) (#754-762) is not in mixedCase
Function TokensByGenDotCom.reflections_include_Wallet(address) (#765-777) is not in mixedCase
Function TokensByGenDotCom.Wallet_Update_Marketing(address) (#796-801) is not in mixedCase
Function TokensByGenDotCom.Wallet_Update_Liquidity(address) (#804-809) is not in mixedCase
Function TokensByGenDotCom.Set_Limits_For_Wallets(uint256,uint256) (#824-840) is not in mixedCase
Parameter TokensByGenDotCom.Set_Limits_For_Wallets(uint256,uint256).Max_Tokens_Per_Transaction (#826) is not in mixedCase
Parameter TokensByGenDotCom.Set_Limits_For_Wallets(uint256,uint256).Max_Total_Tokens_Per_Wallet (#827) is not in mixedCase
Function TokensByGenDotCom.Set_Fees_on_Buy(uint256,uint256,uint256) (#861-877) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Buy(uint256,uint256,uint256).Marketing_on_BUY (#861) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Buy(uint256,uint256,uint256).Liquidity_on_BUY (#861) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Buy(uint256,uint256,uint256).Reflection_on_BUY (#861) is not in mixedCase
Function TokensByGenDotCom.Set_Fees_on_Sell(uint256,uint256,uint256) (#880-896) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Sell(uint256,uint256,uint256).Marketing_on_SELL (#880) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Sell(uint256,uint256,uint256).Liquidity_on_SELL (#880) is not in mixedCase
Parameter TokensByGenDotCom.Set_Fees_on_Sell(uint256,uint256,uint256).Reflection_on_SELL (#880) is not in mixedCase
Function TokensByGenDotCom.Set_Transfers_Without_Fees(bool) (#899-902) is not in mixedCase
Parameter TokensByGenDotCom.Set_Transfers_Without_Fees(bool).true_or_false (#899) is not in mixedCase
Function TokensByGenDotCom.SwapTrigger_Transaction_Count(uint256) (#921-926) is not in mixedCase
Parameter TokensByGenDotCom.SwapTrigger_Transaction_Count(uint256).number_Of_Transactions (#921) is not in mixedCase
Function TokensByGenDotCom.SwapTrigger_Token_Limits(uint256,uint256) (#929-933) is not in mixedCase
Parameter TokensByGenDotCom.SwapTrigger_Token_Limits(uint256,uint256)._swap_Min (#929) is not in mixedCase
Parameter TokensByGenDotCom.SwapTrigger_Token_Limits(uint256,uint256)._swap_Max (#929) is not in mixedCase
Function TokensByGenDotCom.Swap_Enabled(bool) (#936-939) is not in mixedCase
Parameter TokensByGenDotCom.Swap_Enabled(bool).true_or_false (#936) is not in mixedCase
Function TokensByGenDotCom.Swap_Now(uint256) (#942-949) is not in mixedCase
Parameter TokensByGenDotCom.Swap_Now(uint256).percent_Of_Tokens_To_Process (#942) is not in mixedCase
Function TokensByGenDotCom.OpenTrade() (#957-970) is not in mixedCase
Parameter TokensByGenDotCom.swapAndLiquify(uint256).Tokens (#1068) is not in mixedCase
Parameter TokensByGenDotCom.addLiquidity(uint256,uint256).BNBAmount (#1140) is not in mixedCase
Function TokensByGenDotCom.Remove_Random_Tokens(address,uint256) (#1311-1321) is not in mixedCase
Parameter TokensByGenDotCom.Remove_Random_Tokens(address,uint256).random_Token_Address (#1311) is not in mixedCase
Parameter TokensByGenDotCom.Remove_Random_Tokens(address,uint256).percent_of_Tokens (#1311) is not in mixedCase
Variable TokensByGenDotCom._owner (#352) is not in mixedCase
Variable TokensByGenDotCom.Wallet_Liquidity (#353) is not in mixedCase
Variable TokensByGenDotCom.Wallet_Marketing (#354) is not in mixedCase
Variable TokensByGenDotCom._name (#359) is not in mixedCase
Variable TokensByGenDotCom._symbol (#360) is not in mixedCase
Variable TokensByGenDotCom._decimals (#361) is not in mixedCase
Variable TokensByGenDotCom._tTotal (#362) is not in mixedCase
Variable TokensByGenDotCom.Token_Website (#365) is not in mixedCase
Variable TokensByGenDotCom.Token_Telegram (#366) is not in mixedCase
Variable TokensByGenDotCom.max_Hold (#369) is not in mixedCase
Variable TokensByGenDotCom.max_Tran (#370) is not in mixedCase
Variable TokensByGenDotCom.swap_Max (#371) is not in mixedCase
Variable TokensByGenDotCom.swap_Min (#372) is not in mixedCase
Variable TokensByGenDotCom._fee_Buy_Liquidity (#375) is not in mixedCase
Variable TokensByGenDotCom._fee_Buy_Marketing (#376) is not in mixedCase
Variable TokensByGenDotCom._fee_Buy_Reflection (#377) is not in mixedCase
Variable TokensByGenDotCom._fee_Buy_Contract (#378) is not in mixedCase
Variable TokensByGenDotCom._fee_Sell_Liquidity (#380) is not in mixedCase
Variable TokensByGenDotCom._fee_Sell_Marketing (#381) is not in mixedCase
Variable TokensByGenDotCom._fee_Sell_Reflection (#382) is not in mixedCase
Variable TokensByGenDotCom._fee_Sell_Contract (#383) is not in mixedCase
Variable TokensByGenDotCom._SwapFeeTotal_Buy (#385) is not in mixedCase
Variable TokensByGenDotCom._SwapFeeTotal_Sell (#386) is not in mixedCase
Variable TokensByGenDotCom.ContractFee (#389) is not in mixedCase
Variable TokensByGenDotCom._isExcludedFromFee (#530) is not in mixedCase
Variable TokensByGenDotCom._isExcluded (#531) is not in mixedCase
Variable TokensByGenDotCom._preLaunchAccess (#532) is not in mixedCase
Variable TokensByGenDotCom._isLimitExempt (#533) is not in mixedCase
Variable TokensByGenDotCom._isPair (#534) is not in mixedCase
Constant TokensByGenDotCom.Wallet_Burn (#540) is not in UPPER_CASE_WITH_UNDERSCORES
Variable TokensByGenDotCom.TradeOpen (#557) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#83)" inContext (#77-86)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in TokensByGenDotCom._transfer(address,address,uint256) (#978-1058):
External calls:
- swapAndLiquify(contractTokens) (#1041)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
- swapAndLiquify(swap_Max) (#1043)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
External calls sending eth:
- swapAndLiquify(contractTokens) (#1041)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
- swapAndLiquify(swap_Max) (#1043)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _rOwned[address(this)] = _rOwned[address(this)] + _rSwapFeeTotal (#1169)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1254)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1255)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1261)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1263)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1269)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1270)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1277)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1279)
- _rOwned[sender] = _rOwned[sender] - rAmount (#1285)
- _rOwned[recipient] = _rOwned[recipient] + rTransferAmount (#1286)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _rTotal = _rTotal - _rReflect (#1178)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _tFeeTotal = _tFeeTotal + _tReflect (#1179)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- _tOwned[address(this)] = _tOwned[address(this)] + _tSwapFeeTotal (#1171)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1253)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1262)
- _tOwned[sender] = _tOwned[sender] - tAmount (#1276)
- _tOwned[recipient] = _tOwned[recipient] + tTransferAmount (#1278)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rAmount = tAmount * RFI (#1244)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rReflect = tReflect * RFI (#1245)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rSwapFeeTotal = tSwapFeeTotal * RFI (#1246)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- rTransferAmount = rAmount - (rReflect + rSwapFeeTotal) (#1248)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- swapCounter ++ (#1223)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tAmount = amount (#1212)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tReflect = 0 (#1216)
- tReflect = tAmount * _fee_Buy_Reflection / 100 (#1229)
- tReflect = tAmount * _fee_Sell_Reflection / 100 (#1235)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tSwapFeeTotal = 0 (#1217)
- tSwapFeeTotal = tAmount * _SwapFeeTotal_Buy / 100 (#1230)
- tSwapFeeTotal = tAmount * _SwapFeeTotal_Sell / 100 (#1236)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- tTransferAmount = tAmount - (tReflect + tSwapFeeTotal) (#1247)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1257)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1265)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1272)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1281)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
- Transfer(sender,recipient,tTransferAmount) (#1288)
- _tokenTransfer(from,to,amount,takeFee) (#1056)
Reentrancy in TokensByGenDotCom.swapAndLiquify(uint256) (#1068-1117):
External calls:
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
External calls sending eth:
- addLiquidity(LP_Tokens,BNB_Liquidity) (#1097)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- inSwapAndLiquify = false (#1116)
- swapCounter = 1 (#1113)
Reentrancy in TokensByGenDotCom.transferFrom(address,address,uint256) (#689-693):
External calls:
- _transfer(sender,recipient,amount) (#690)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
External calls sending eth:
- _transfer(sender,recipient,amount) (#690)
- uniswapV2Router.addLiquidityETH{value: BNBAmount}(address(this),tokenAmount,0,0,Wallet_Liquidity,block.timestamp) (#1143-1150)
- feeCollector.transfer(BNB_Contract) (#1103)
- Wallet_Marketing.transfer(contract_BNB) (#1109)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,Allowance exceeded)) (#691)
- _allowances[owner][spender] = amount (#656)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#657)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,Allowance exceeded)) (#691)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#218) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#219)
Variable TokensByGenDotCom._takeSwap(uint256,uint256)._rSwapFeeTotal (#1167) is too similar to TokensByGenDotCom._takeSwap(uint256,uint256)._tSwapFeeTotal (#1167)
Variable TokensByGenDotCom.rSwapFeeTotal (#1202) is too similar to TokensByGenDotCom.tSwapFeeTotal (#1201)
Variable TokensByGenDotCom.rTransferAmount (#1204) is too similar to TokensByGenDotCom.tTransferAmount (#1203)
Prevent variables from having similar names.
Additional information: link
TokensByGenDotCom.slitherConstructorConstantVariables() (#347-1329) uses literals with too many digits:
- Wallet_Burn = 0x000000000000000000000000000000000000dEaD (#540)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
TokensByGenDotCom.feeCollector (#357) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- TokensByGenDotCom.renounceOwnership() (#561-564)
transferOwnership(address) should be declared external:
- TokensByGenDotCom.transferOwnership(address) (#569-589)
name() should be declared external:
- TokensByGenDotCom.name() (#612-614)
symbol() should be declared external:
- TokensByGenDotCom.symbol() (#616-618)
decimals() should be declared external:
- TokensByGenDotCom.decimals() (#620-622)
totalSupply() should be declared external:
- TokensByGenDotCom.totalSupply() (#624-626)
allowance(address,address) should be declared external:
- TokensByGenDotCom.allowance(address,address) (#633-635)
increaseAllowance(address,uint256) should be declared external:
- TokensByGenDotCom.increaseAllowance(address,uint256) (#637-640)
decreaseAllowance(address,uint256) should be declared external:
- TokensByGenDotCom.decreaseAllowance(address,uint256) (#642-645)
approve(address,uint256) should be declared external:
- TokensByGenDotCom.approve(address,uint256) (#647-650)
transfer(address,uint256) should be declared external:
- TokensByGenDotCom.transfer(address,uint256) (#684-687)
transferFrom(address,address,uint256) should be declared external:
- TokensByGenDotCom.transferFrom(address,address,uint256) (#689-693)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Contract has 8% buy tax and 9% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap volume is low.
Number of Binance Smart Chain (BSC) token holders is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Token has only one trading pair
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
Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to find audit link on the website
Token is not listed at Mobula.Finance
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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 Discord account