The most effective way to protect endangered alligators
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in Alltork._transfer(address,address,uint256) (#1484-1531):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- _tOwned[address(this)] = _tOwned[address(this)].add(rLiquidity) (#1438)
- _tOwned[_rewardsWallet] = _tOwned[_rewardsWallet].add(rewards) (#1319)
- _tOwned[_donationsWallet] = _tOwned[_donationsWallet].add(donations) (#1320)
- _tOwned[_marketingWallet] = _tOwned[_marketingWallet].add(teamAndMarketing) (#1321-1323)
- _tOwned[sender] = _tOwned[sender].sub(rAmount) (#1614)
- _tOwned[recipient] = _tOwned[recipient].add(rTransferAmount) (#1615)
- _tOwned[_devWallet] = _tOwned[_devWallet].add(devs.div(2)) (#1325)
- _tOwned[_devWallet2] = _tOwned[_devWallet2].add(devs.div(2)) (#1326)
Apply the check-effects-interactions pattern.
Additional information: link
Alltork._isExcluded (#1094) is never initialized. It is used in:
- Alltork.isExcludedFromReward(address) (#1241-1243)
- Alltork.deliver(uint256) (#1249-1259)
Alltork._excluded (#1095) is never initialized. It is used in:
- Alltork._getCurrentSupply() (#1424-1433)
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
Alltork._burnWallet (#1076-1077) is never used in Alltork (#1063-1621)
Remove unused state variables.
Additional information: link
Address.isContract(address) (#225-235) uses assembly
- INLINE ASM (#231-233)
Address.verifyCallResult(bool,bytes,string) (#431-451) uses assembly
- INLINE ASM (#443-446)
Do not use evm assembly.
Additional information: link
Alltork._calculateFees(uint256) (#1289-1306) performs a multiplication on the result of a division:
-_totalFee = _amount.mul(_taxFee).div(10 ** 2) (#1299)
-(_totalFee.mul(35).div(10 ** 2),_totalFee.mul(35).div(10 ** 2),_totalFee.mul(10).div(10 ** 2),_totalFee.mul(20).div(10 ** 2)) (#1300-1305)
Consider ordering multiplication before division.
Additional information: link
Alltork.addLiquidity(uint256,uint256) (#1574-1587) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
Ensure that all the return values of the function calls are used.
Additional information: link
Alltork.allowance(address,address).owner (#1177) shadows:
- Ownable.owner() (#59-61) (function)
Alltork._approve(address,address,uint256).owner (#1473) shadows:
- Ownable.owner() (#59-61) (function)
Rename the local variables that shadow another component.
Additional information: link
Alltork.setTaxFeePercent(uint256) (#1269-1271) should emit an event for:
- _taxFee = taxFee (#1270)
Alltork.setLiquidityFeePercent(uint256) (#1273-1275) should emit an event for:
- _liquidityFee = liquidityFee (#1274)
Alltork.setMaxTxPercent(uint256) (#1277-1279) should emit an event for:
- _maxTxAmount = _tTotal.mul(maxTxPercent).div(10 ** 2) (#1278)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in Alltork._transfer(address,address,uint256) (#1484-1531):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- _liquidityFee = _previousLiquidityFee (#1465)
- _liquidityFee = 0 (#1460)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- _previousLiquidityFee = _liquidityFee (#1457)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- _previousTaxFee = _taxFee (#1456)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- _taxFee = _previousTaxFee (#1464)
- _taxFee = 0 (#1459)
Reentrancy in Alltork.constructor() (#1127-1146):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1135-1136)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#1142)
- _isExcludedFromFee[address(this)] = true (#1143)
- uniswapV2Router = _uniswapV2Router (#1139)
Reentrancy in Alltork.swapAndLiquify(uint256) (#1533-1554):
External calls:
- swapTokensForEth(half) (#1545)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
- addLiquidity(otherHalf,newBalance) (#1551)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1551)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1551)
- _allowances[owner][spender] = amount (#1480)
Reentrancy in Alltork.transferFrom(address,address,uint256) (#1195-1210):
External calls:
- _transfer(sender,recipient,amount) (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1201-1208)
- _allowances[owner][spender] = amount (#1480)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Alltork._transfer(address,address,uint256) (#1484-1531):
External calls:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
External calls sending eth:
- swapAndLiquify(contractTokenBalance) (#1518)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
Event emitted after the call(s):
- Transfer(address(this),_rewardsWallet,rewards) (#1328)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- Transfer(address(this),_donationsWallet,donations) (#1329)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- Transfer(sender,recipient,tTransferAmount) (#1618)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- Transfer(address(this),_marketingWallet,teamAndMarketing) (#1330)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- Transfer(address(this),_devWallet,devs.div(2)) (#1331)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
- Transfer(address(this),_devWallet2,devs.div(2)) (#1332)
- _tokenTransfer(from,to,amount,takeFee) (#1530)
Reentrancy in Alltork.constructor() (#1127-1146):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#1135-1136)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#1145)
Reentrancy in Alltork.swapAndLiquify(uint256) (#1533-1554):
External calls:
- swapTokensForEth(half) (#1545)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
- addLiquidity(otherHalf,newBalance) (#1551)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1551)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1481)
- addLiquidity(otherHalf,newBalance) (#1551)
- SwapAndLiquify(half,newBalance,otherHalf) (#1553)
Reentrancy in Alltork.transferFrom(address,address,uint256) (#1195-1210):
External calls:
- _transfer(sender,recipient,amount) (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1565-1571)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1200)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1579-1586)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1481)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#1201-1208)
Apply the check-effects-interactions pattern.
Additional information: link
Address.functionCall(address,bytes) (#284-289) is never used and should be removed
Address.functionCall(address,bytes,string) (#297-303) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#316-328) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#336-352) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#396-406) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#414-423) is never used and should be removed
Address.functionStaticCall(address,bytes) (#360-371) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#379-388) is never used and should be removed
Address.isContract(address) (#225-235) is never used and should be removed
Address.sendValue(address,uint256) (#253-264) is never used and should be removed
Address.verifyCallResult(bool,bytes,string) (#431-451) is never used and should be removed
Context._msgData() (#18-20) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#665-674) is never used and should be removed
SafeMath.mod(uint256,uint256) (#625-627) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#691-700) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#476-486) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#530-539) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#546-555) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#509-523) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#493-502) is never used and should be removed
Remove unused functions.
Additional information: link
Alltork._rTotal (#1084) is set pre-construction with a non-constant function or state variable:
- _tTotal
Alltork._previousTaxFee (#1102) is set pre-construction with a non-constant function or state variable:
- _taxFee
Alltork._previousLiquidityFee (#1105) is set pre-construction with a non-constant function or state variable:
- _liquidityFee
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 (#1) allows old versions
Pragma version^0.8.0 (#27) allows old versions
Pragma version^0.8.0 (#109) allows old versions
Pragma version^0.8.0 (#202) allows old versions
Pragma version^0.8.0 (#458) allows old versions
Pragma version^0.8.0 (#705) allows old versions
Pragma version^0.8.0 (#1061) 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) (#253-264):
- (success) = recipient.call{value: amount}() (#259)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#336-352):
- (success,returndata) = target.call{value: value}(data) (#348-350)
Low level call in Address.functionStaticCall(address,bytes,string) (#379-388):
- (success,returndata) = target.staticcall(data) (#386)
Low level call in Address.functionDelegateCall(address,bytes,string) (#414-423):
- (success,returndata) = target.delegatecall(data) (#421)
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() (#772) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#774) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#805) is not in mixedCase
Function IUniswapV2Router01.WETH() (#853) is not in mixedCase
Parameter Alltork.setSwapAndLiquifyEnabled(bool)._enabled (#1281) is not in mixedCase
Parameter Alltork.calculateTaxFee(uint256)._amount (#1441) is not in mixedCase
Parameter Alltork.calculateLiquidityFee(uint256)._amount (#1445) is not in mixedCase
Variable Alltork._maxTxAmount (#1098) is not in mixedCase
Variable Alltork._taxFee (#1101) is not in mixedCase
Variable Alltork._liquidityFee (#1104) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#858) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#859)
Variable Alltork._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to Alltork._transferStandard(address,address,uint256).tTransferAmount (#1610)
Variable Alltork._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to Alltork._getValues(uint256).tTransferAmount (#1363)
Variable Alltork._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#1415) is too similar to Alltork._getTValues(uint256).tTransferAmount (#1394)
Variable Alltork._getValues(uint256).rTransferAmount (#1367) is too similar to Alltork._transferStandard(address,address,uint256).tTransferAmount (#1610)
Variable Alltork._transferStandard(address,address,uint256).rTransferAmount (#1608) is too similar to Alltork._transferStandard(address,address,uint256).tTransferAmount (#1610)
Variable Alltork._getValues(uint256).rTransferAmount (#1367) is too similar to Alltork._getValues(uint256).tTransferAmount (#1363)
Variable Alltork._transferStandard(address,address,uint256).rTransferAmount (#1608) is too similar to Alltork._getTValues(uint256).tTransferAmount (#1394)
Variable Alltork._getValues(uint256).rTransferAmount (#1367) is too similar to Alltork._getTValues(uint256).tTransferAmount (#1394)
Variable Alltork._transferStandard(address,address,uint256).rTransferAmount (#1608) is too similar to Alltork._getValues(uint256).tTransferAmount (#1363)
Prevent variables from having similar names.
Additional information: link
Alltork.slitherConstructorVariables() (#1063-1621) uses literals with too many digits:
- _burnWallet = address(0x000000000000000000000000000000000000dEaD) (#1076-1077)
Alltork.slitherConstructorVariables() (#1063-1621) uses literals with too many digits:
- _tTotal = 12000000 * 10 ** 9 * 10 ** 9 (#1083)
Alltork.slitherConstructorVariables() (#1063-1621) uses literals with too many digits:
- _maxTxAmount = 500000 * 10 ** 6 * 10 ** 9 (#1098)
Alltork.slitherConstructorVariables() (#1063-1621) uses literals with too many digits:
- numTokensSellToAddToLiquidity = 200000 * 10 ** 6 * 10 ** 9 (#1099)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Alltork._burnWallet (#1076-1077) should be constant
Alltork._decimals (#1085) should be constant
Alltork._devWallet (#1078-1079) should be constant
Alltork._devWallet2 (#1080-1081) should be constant
Alltork._donationsWallet (#1072-1073) should be constant
Alltork._marketingWallet (#1074-1075) should be constant
Alltork._name (#1087) should be constant
Alltork._rewardsWallet (#1070-1071) should be constant
Alltork._symbol (#1086) should be constant
Alltork._tTotal (#1083) should be constant
Alltork.numTokensSellToAddToLiquidity (#1099) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#78-80)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#86-92)
name() should be declared external:
- Alltork.name() (#1148-1150)
symbol() should be declared external:
- Alltork.symbol() (#1152-1154)
decimals() should be declared external:
- Alltork.decimals() (#1156-1158)
totalSupply() should be declared external:
- Alltork.totalSupply() (#1160-1162)
transfer(address,uint256) should be declared external:
- Alltork.transfer(address,uint256) (#1168-1175)
allowance(address,address) should be declared external:
- Alltork.allowance(address,address) (#1177-1184)
approve(address,uint256) should be declared external:
- Alltork.approve(address,uint256) (#1186-1193)
transferFrom(address,address,uint256) should be declared external:
- Alltork.transferFrom(address,address,uint256) (#1195-1210)
increaseAllowance(address,uint256) should be declared external:
- Alltork.increaseAllowance(address,uint256) (#1212-1223)
decreaseAllowance(address,uint256) should be declared external:
- Alltork.decreaseAllowance(address,uint256) (#1225-1239)
isExcludedFromReward(address) should be declared external:
- Alltork.isExcludedFromReward(address) (#1241-1243)
totalFees() should be declared external:
- Alltork.totalFees() (#1245-1247)
deliver(uint256) should be declared external:
- Alltork.deliver(uint256) (#1249-1259)
excludeFromFee(address) should be declared external:
- Alltork.excludeFromFee(address) (#1261-1263)
includeInFee(address) should be declared external:
- Alltork.includeInFee(address) (#1265-1267)
setSwapAndLiquifyEnabled(bool) should be declared external:
- Alltork.setSwapAndLiquifyEnabled(bool) (#1281-1284)
testValues(uint256) should be declared external:
- Alltork.testValues(uint256) (#1335-1348)
isExcludedFromFee(address) should be declared external:
- Alltork.isExcludedFromFee(address) (#1468-1470)
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 number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 8% buy tax and 8% sell tax.
Taxes are low and contract ownership is renounced.
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account