Safe Earn is the first mover of double-reflection tokens. Safe Earn acts as an earning platform by rewarding SafeMoon tokens to holders at a rate of 8.5%, which are then eligible to benefit from the SafeMoon standard reflections of 5%.
Safe Earn fills a gap in the DeFi space where standard reflection mechanics give rewards in their own token to holders by instead offering a reward that is desirable. By building a system that can self sustain, Safe Earn exists to be a unique opportunity and a stand out in the world of ""frictionless yield"" tokens.
Safe Earn itself applies functions from a mix of popular tokens in the DeFi space, including buy backs and burns baked into the contract. It's a hyper deflationary asset and intends to continuously offer opportunity to raise its value and appeal to new investors.
SafeEarn.buyTokens(uint256,address) (contracts/SafeEarn.sol#455-466) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/SafeEarn.sol#460-465)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SafeEarn._transferFrom(address,address,uint256) (contracts/SafeEarn.sol#311-334):
External calls:
- swapBack() (contracts/SafeEarn.sol#316)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (contracts/SafeEarn.sol#396-402)
- distributor.deposit{value: amountBNBReflection}() (contracts/SafeEarn.sol#412)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/SafeEarn.sol#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/SafeEarn.sol#416-423)
- triggerAutoBuyback() (contracts/SafeEarn.sol#317)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/SafeEarn.sol#460-465)
External calls sending eth:
- swapBack() (contracts/SafeEarn.sol#316)
- distributor.deposit{value: amountBNBReflection}() (contracts/SafeEarn.sol#412)
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/SafeEarn.sol#413)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/SafeEarn.sol#416-423)
- triggerAutoBuyback() (contracts/SafeEarn.sol#317)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/SafeEarn.sol#460-465)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (contracts/SafeEarn.sol#321)
- _balances[recipient] = _balances[recipient].add(amountReceived) (contracts/SafeEarn.sol#325)
- amountReceived = takeFee(sender,recipient,amount) (contracts/SafeEarn.sol#323)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (contracts/SafeEarn.sol#373)
- triggerAutoBuyback() (contracts/SafeEarn.sol#317)
- inSwap = true (contracts/SafeEarn.sol#250)
- inSwap = false (contracts/SafeEarn.sol#250)
Apply the check-effects-interactions pattern.
Additional information: link
DividendDistributor.distributeDividend(address) (contracts/SafeEarn.sol#142-153) ignores return value by SM.transfer(shareholder,amount) (contracts/SafeEarn.sol#148)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
Combination 2: Unchecked transfer + 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.
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.
Reentrancy in DividendDistributor.setShare(address,uint256) (contracts/SafeEarn.sol#75-89):
External calls:
- distributeDividend(shareholder) (contracts/SafeEarn.sol#77)
- SM.transfer(shareholder,amount) (contracts/SafeEarn.sol#148)
State variables written after the call(s):
- shares[shareholder].amount = amount (contracts/SafeEarn.sol#87)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (contracts/SafeEarn.sol#88)
Apply the check-effects-interactions pattern.
Additional information: link
SafeEarn.swapBack() (contracts/SafeEarn.sol#386-426) ignores return value by address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/SafeEarn.sol#413)
Ensure that the return value of a low-level call is checked or logged.
Additional information: link
SafeEarn.swapBack() (contracts/SafeEarn.sol#386-426) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (contracts/SafeEarn.sol#416-423)
Ensure that all the return values of the function calls are used.
Additional information: link
SafeEarn.setTargetLiquidity(uint256,uint256) (contracts/SafeEarn.sol#537-540) should emit an event for:
- targetLiquidity = _target (contracts/SafeEarn.sol#538)
- targetLiquidityDenominator = _denominator (contracts/SafeEarn.sol#539)
Emit an event for critical parameter changes.
Additional information: link
SafeEarn.setFeeReceivers(address,address)._marketingFeeReceiver (contracts/SafeEarn.sol#527) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (contracts/SafeEarn.sol#529)
Check that the address is not zero.
Additional information: link
Reentrancy in SafeEarn.triggerZeusBuyback(uint256,bool) (contracts/SafeEarn.sol#436-442):
External calls:
- buyTokens(amount,DEAD) (contracts/SafeEarn.sol#437)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/SafeEarn.sol#460-465)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (contracts/SafeEarn.sol#439)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SafeEarn.triggerZeusBuyback(uint256,bool) (contracts/SafeEarn.sol#436-442):
External calls:
- buyTokens(amount,DEAD) (contracts/SafeEarn.sol#437)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (contracts/SafeEarn.sol#460-465)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (contracts/SafeEarn.sol#440)
Apply the check-effects-interactions pattern.
Additional information: link
SafeEarn.isOverLiquified(uint256,uint256) (contracts/SafeEarn.sol#559-561) uses timestamp for comparisons
Dangerous comparisons:
- getLiquidityBacking(accuracy) > target (contracts/SafeEarn.sol#560)
Avoid relying on block.timestamp.
Additional information: link
SafeEarn.onlyBuybacker() (contracts/SafeEarn.sol#285) compares to a boolean constant:
-require(bool,string)(buyBacker[msg.sender] == true,) (contracts/SafeEarn.sol#285)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (contracts/SafeEarn.sol#111-135) has costly operations inside a loop:
- currentIndex ++ (contracts/SafeEarn.sol#132)
Use a local variable to hold the loop computation result.
Additional information: link
SafeMath.trySub(uint256,uint256) (@openzeppelin/contracts/utils/math/SafeMath.sol#34-39) is never used and should be removed
Remove unused functions.
Additional information: link
SafeEarn.swapThreshold (contracts/SafeEarn.sol#248) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 2000
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
solc-0.8.0 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 SafeEarn.swapBack() (contracts/SafeEarn.sol#386-426):
- address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (contracts/SafeEarn.sol#413)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (contracts/interfaces/IDEXRouter.sol#4) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/interfaces/IDEXRouter.sol#9) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/interfaces/IDEXRouter.sol#10)
Prevent variables from having similar names.
Additional information: link
SafeEarn.slitherConstructorVariables() (contracts/SafeEarn.sol#186-565) uses literals with too many digits:
- distributorGas = 500000 (contracts/SafeEarn.sol#245)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeEarn.DEAD_NON_CHECKSUM (contracts/SafeEarn.sol#194) is never used in SafeEarn (contracts/SafeEarn.sol#186-565)
Remove unused state variables.
Additional information: link
SafeEarn._totalSupply (contracts/SafeEarn.sol#200) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
launch(uint256) should be declared external:
- SafeEarn.launch(uint256) (contracts/SafeEarn.sol#488-492)
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.
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.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token has a considerable age, but social accounts / website are missing or have few users
Token has a considerable age, but average PancakeSwap 30d trading volume is low
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Twitter account link seems to be invalid
Telegram account has relatively few subscribers
Unable to find Discord account