Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in SafuLocks._transfer(address,address,uint256) (#151-185):
External calls:
- swapAddLiquidity() (#178)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
External calls sending eth:
- swapAddLiquidity() (#178)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
State variables written after the call(s):
- _balances[recipient] += amount (#182)
Reentrancy in SafuLocks.swapAddLiquidity() (#200-218):
External calls:
- swapTokensForEth(devAmount,devWallet) (#206)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- swapTokensForEth(sellHalf,address(this)) (#211)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
State variables written after the call(s):
- _inSwap = false (#216)
Reentrancy in SafuLocks.transferFrom(address,address,uint256) (#232-241):
External calls:
- _transfer(sender,recipient,amount) (#236)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
External calls sending eth:
- _transfer(sender,recipient,amount) (#236)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#238)
- _allowances[owner][spender] = amount (#223)
Apply the check-effects-interactions pattern.
Additional information: link
SafuLocks.withdrawToken(address,uint256) (#281-285) ignores return value by _tokenContract.transfer(msg.sender,amount) (#284)
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.
SafuLocks._transfer(address,address,uint256) (#151-185) performs a multiplication on the result of a division:
-devAmount = amount / 100 * devFee (#168)
SafuLocks._transfer(address,address,uint256) (#151-185) performs a multiplication on the result of a division:
-liquidityAmount = amount / 100 * liquidityFee (#169)
SafuLocks.swapAddLiquidity() (#200-218) performs a multiplication on the result of a division:
-devAmount = tokenBalance / (devFee + liquidityFee) * devFee (#205)
Consider ordering multiplication before division.
Additional information: link
SafuLocks.addLiquidity(uint256,uint256) (#187-190) ignores return value by _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
Ensure that all the return values of the function calls are used.
Additional information: link
SafuLocks.setLimits(uint256,uint256,uint256) (#100-104) should emit an event for:
- maxWalletLimit = _maxWalletLimit * 10 ** _decimals (#101)
- maxTxLimit = _maxTxLimit * 10 ** _decimals (#102)
- addLiquidityAmount = _addLiquidityAmount * 10 ** _decimals (#103)
SafuLocks.setFees(uint8,uint8) (#106-109) should emit an event for:
- devFee = _devFee (#107)
- liquidityFee = _liquidityFee (#108)
Emit an event for critical parameter changes.
Additional information: link
SafuLocks.setAddresses(address)._devWallet (#96) lacks a zero-check on :
- devWallet = _devWallet (#97)
Check that the address is not zero.
Additional information: link
Reentrancy in SafuLocks.constructor() (#66-84):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#73)
State variables written after the call(s):
- setExcludedAll(address(this)) (#75)
- _excludedFees[user] = status (#120)
- setExcludedAll(_owner) (#76)
- _excludedFees[user] = status (#120)
- setExcludedAll(uniswapPair) (#77)
- _excludedFees[user] = status (#120)
- setExcludedAll(_uniswapRouter) (#78)
- _excludedFees[user] = status (#120)
- setExcludedAll(_pinksaleContract) (#79)
- _excludedFees[user] = status (#120)
- setExcludedAll(address(this)) (#75)
- _excludedMaxTransaction[user] = status (#112)
- setExcludedAll(_owner) (#76)
- _excludedMaxTransaction[user] = status (#112)
- setExcludedAll(uniswapPair) (#77)
- _excludedMaxTransaction[user] = status (#112)
- setExcludedAll(_uniswapRouter) (#78)
- _excludedMaxTransaction[user] = status (#112)
- setExcludedAll(_pinksaleContract) (#79)
- _excludedMaxTransaction[user] = status (#112)
- setExcludedAll(address(this)) (#75)
- _excludedMaxWallet[user] = status (#116)
- setExcludedAll(_owner) (#76)
- _excludedMaxWallet[user] = status (#116)
- setExcludedAll(uniswapPair) (#77)
- _excludedMaxWallet[user] = status (#116)
- setExcludedAll(_uniswapRouter) (#78)
- _excludedMaxWallet[user] = status (#116)
- setExcludedAll(_pinksaleContract) (#79)
- _excludedMaxWallet[user] = status (#116)
- setLimits(100000000,100000000,1000000) (#82)
- addLiquidityAmount = _addLiquidityAmount * 10 ** _decimals (#103)
- setFees(7,3) (#83)
- devFee = _devFee (#107)
- setAddresses(msg.sender) (#80)
- devWallet = _devWallet (#97)
- setFees(7,3) (#83)
- liquidityFee = _liquidityFee (#108)
- setLimits(100000000,100000000,1000000) (#82)
- maxTxLimit = _maxTxLimit * 10 ** _decimals (#102)
- setLimits(100000000,100000000,1000000) (#82)
- maxWalletLimit = _maxWalletLimit * 10 ** _decimals (#101)
Reentrancy in SafuLocks.swapAddLiquidity() (#200-218):
External calls:
- swapTokensForEth(devAmount,devWallet) (#206)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- swapTokensForEth(sellHalf,address(this)) (#211)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
State variables written after the call(s):
- swapTokensForEth(sellHalf,address(this)) (#211)
- _allowances[owner][spender] = amount (#223)
Reentrancy in SafuLocks.swapAddLiquidity() (#200-218):
External calls:
- swapTokensForEth(devAmount,devWallet) (#206)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- swapTokensForEth(sellHalf,address(this)) (#211)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
State variables written after the call(s):
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _allowances[owner][spender] = amount (#223)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafuLocks._transfer(address,address,uint256) (#151-185):
External calls:
- swapAddLiquidity() (#178)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
External calls sending eth:
- swapAddLiquidity() (#178)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#184)
Reentrancy in SafuLocks.swapAddLiquidity() (#200-218):
External calls:
- swapTokensForEth(devAmount,devWallet) (#206)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- swapTokensForEth(sellHalf,address(this)) (#211)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#224)
- swapTokensForEth(sellHalf,address(this)) (#211)
Reentrancy in SafuLocks.swapAddLiquidity() (#200-218):
External calls:
- swapTokensForEth(devAmount,devWallet) (#206)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- swapTokensForEth(sellHalf,address(this)) (#211)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#224)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#214)
Reentrancy in SafuLocks.transferFrom(address,address,uint256) (#232-241):
External calls:
- _transfer(sender,recipient,amount) (#236)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#197)
External calls sending eth:
- _transfer(sender,recipient,amount) (#236)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#189)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#224)
- _approve(sender,msg.sender,currentAllowance - amount) (#238)
Apply the check-effects-interactions pattern.
Additional information: link
SafuLocks (#27-287) should inherit from IERC20 (#8-10)
Inherit from the missing interface or contract.
Additional information: link
Function IUniswapV2Router01.WETH() (#14) is not in mixedCase
Parameter SafuLocks.setAddresses(address)._devWallet (#96) is not in mixedCase
Parameter SafuLocks.setLimits(uint256,uint256,uint256)._maxWalletLimit (#100) is not in mixedCase
Parameter SafuLocks.setLimits(uint256,uint256,uint256)._maxTxLimit (#100) is not in mixedCase
Parameter SafuLocks.setLimits(uint256,uint256,uint256)._addLiquidityAmount (#100) is not in mixedCase
Parameter SafuLocks.setFees(uint8,uint8)._devFee (#106) is not in mixedCase
Parameter SafuLocks.setFees(uint8,uint8)._liquidityFee (#106) is not in mixedCase
Variable SafuLocks.HEX_MAX_NUM (#42) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
SafuLocks.constructor() (#66-84) uses literals with too many digits:
- setLimits(100000000,100000000,1000000) (#82)
SafuLocks.slitherConstructorVariables() (#27-287) uses literals with too many digits:
- _totalSupply = 100000000 (#30)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafuLocks.HEX_MAX_NUM (#42) should be constant
SafuLocks._decimals (#31) should be constant
SafuLocks._name (#28) should be constant
SafuLocks._pinksaleContract (#33) should be constant
SafuLocks._symbol (#29) should be constant
SafuLocks._uniswapRouter (#32) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
setInSwap(bool) should be declared external:
- SafuLocks.setInSwap(bool) (#92-94)
setBlacklistWallet(address,bool) should be declared external:
- SafuLocks.setBlacklistWallet(address,bool) (#123-125)
name() should be declared external:
- SafuLocks.name() (#127-129)
symbol() should be declared external:
- SafuLocks.symbol() (#131-133)
decimals() should be declared external:
- SafuLocks.decimals() (#135-137)
totalSupply() should be declared external:
- SafuLocks.totalSupply() (#139-141)
getOwner() should be declared external:
- SafuLocks.getOwner() (#143-145)
transfer(address,uint256) should be declared external:
- SafuLocks.transfer(address,uint256) (#227-230)
transferFrom(address,address,uint256) should be declared external:
- SafuLocks.transferFrom(address,address,uint256) (#232-241)
approve(address,uint256) should be declared external:
- SafuLocks.approve(address,uint256) (#243-246)
allowance(address,address) should be declared external:
- SafuLocks.allowance(address,address) (#248-250)
increaseAllowance(address,uint256) should be declared external:
- SafuLocks.increaseAllowance(address,uint256) (#252-255)
decreaseAllowance(address,uint256) should be declared external:
- SafuLocks.decreaseAllowance(address,uint256) (#257-262)
transferOwnership(address) should be declared external:
- SafuLocks.transferOwnership(address) (#264-268)
renounceOwnership() should be declared external:
- SafuLocks.renounceOwnership() (#270-273)
withdraw(uint256) should be declared external:
- SafuLocks.withdraw(uint256) (#275-279)
withdrawToken(address,uint256) should be declared external:
- SafuLocks.withdrawToken(address,uint256) (#281-285)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
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