Reentrancy in SafuDev.transferFrom(address,address,uint256) (#230-236):
External calls:
- _transfer(sender,recipient,amount) (#233)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp + 1200) (#196)
External calls sending eth:
- _transfer(sender,recipient,amount) (#233)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#234)
- _allowances[owner][spender] = amount (#221)
Apply the check-effects-interactions pattern.
Additional information: link
SafuDev.withdrawToken(address,uint256) (#276-279) ignores return value by _tokenContract.transfer(msg.sender,amount) (#278)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
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.
SafuDev._transfer(address,address,uint256) (#149-184) performs a multiplication on the result of a division:
-liquidityAmount = amount / 100 * liquidityFee (#170)
Consider ordering multiplication before division.
Additional information: link
SafuDev.addLiquidity(uint256,uint256) (#186-189) ignores return value by _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
Ensure that all the return values of the function calls are used.
Additional information: link
SafuDev.setFees(uint8,uint8) (#104-107) should emit an event for:
- devFee = _devFee (#105)
- liquidityFee = _liquidityFee (#106)
Emit an event for critical parameter changes.
Additional information: link
SafuDev.setAddresses(address)._devWallet (#94) lacks a zero-check on :
- devWallet = _devWallet (#95)
Check that the address is not zero.
Additional information: link
Reentrancy in SafuDev.swapAddLiquidity() (#199-216):
External calls:
- swapTokensForEth(sellHalf) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp + 1200) (#196)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#212)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#212)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
State variables written after the call(s):
- addLiquidity(sellAmount - sellHalf,receivedEth) (#212)
- _allowances[owner][spender] = amount (#221)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafuDev.transferFrom(address,address,uint256) (#230-236):
External calls:
- _transfer(sender,recipient,amount) (#233)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,address(this),block.timestamp + 1200) (#196)
External calls sending eth:
- _transfer(sender,recipient,amount) (#233)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#188)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#222)
- _approve(sender,msg.sender,currentAllowance - amount) (#234)
Apply the check-effects-interactions pattern.
Additional information: link
solc-0.8.7 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
SafuDev (#28-281) should inherit from IERC20 (#8-10)
Inherit from the missing interface or contract.
Additional information: link
Parameter SafuDev.setFees(uint8,uint8)._liquidityFee (#104) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
SafuDev.slitherConstructorVariables() (#28-281) uses literals with too many digits:
- _totalSupply = 100000000000 (#31)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafuDev._uniswapRouter (#33) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
withdrawToken(address,uint256) should be declared external:
- SafuDev.withdrawToken(address,uint256) (#276-279)
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 price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts