The Scarab Token is the first token that uses the transaction fees to then invest them in to the Forex markets and use the returns to buy back the Scarab Token. This means that the price of the token is always rising in value and without the need for the normal meme coin gimmicks like using influencers or paid promotion to try and add value to the project.
Liquifier._addLiquidity(uint256,uint256) (#1355-1385) sends eth to arbitrary user
Dangerous calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
Liquifier.withdrawLockedEth(address) (#1416-1430) sends eth to arbitrary user
Dangerous calls:
- recipient.transfer(amount) (#1429)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract ownership is not renounced (belongs to a wallet)
Tokenomics._getFeeStruct(uint256) (#587-593) contains a tautology or contradiction:
- require(bool,string)(index >= 0 && index < fees.length,FeesSettings._getFeeStruct: Fee index out of bounds) (#588-591)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Manageable.transferManagement(address).newManager (#306) lacks a zero-check on :
- _manager = newManager (#312)
Check that the address is not zero.
Additional information: link
BaseRfiToken._getValues(uint256,uint256) (#1083-1108) performs a multiplication on the result of a division:
-tTotalFees = tAmount.mul(feesSum).div(FEES_DIVISOR) (#1094)
-rTotalFees = tTotalFees.mul(currentRate) (#1098)
BaseRfiToken._redistribute(uint256,uint256,uint256,uint256) (#1175-1186) performs a multiplication on the result of a division:
-tFee = amount.mul(fee).div(FEES_DIVISOR) (#1181)
-rFee = tFee.mul(currentRate) (#1182)
SafeSuper._burn(uint256,uint256,uint256,uint256) (#1535-1546) performs a multiplication on the result of a division:
-tBurn = amount.mul(fee).div(FEES_DIVISOR) (#1541)
-rBurn = tBurn.mul(currentRate) (#1542)
SafeSuper._takeFee(uint256,uint256,uint256,address,uint256) (#1548-1565) performs a multiplication on the result of a division:
-tAmount = amount.mul(fee).div(FEES_DIVISOR) (#1555)
-rAmount = tAmount.mul(currentRate) (#1556)
Consider ordering multiplication before division.
Additional information: link
BaseRfiToken.allowance(address,address).owner (#701) shadows:
- Ownable.owner() (#236-238) (function)
BaseRfiToken._approve(address,address,uint256).owner (#926) shadows:
- Ownable.owner() (#236-238) (function)
BaseRfiToken._transferTokens(address,address,uint256,bool).sumOfFees (#1037) shadows:
- Tokenomics.sumOfFees (#515) (state variable)
BaseRfiToken._takeFees(uint256,uint256,uint256).sumOfFees (#1076) shadows:
- Tokenomics.sumOfFees (#515) (state variable)
Liquifier._approveDelegate(address,address,uint256).owner (#1437) shadows:
- Ownable.owner() (#236-238) (function)
SafeSuper.constructor(Liquifier.Env)._env (#1469) shadows:
- Liquifier._env (#1206) (state variable)
SafeSuper._takeTransactionFees(uint256,uint256).name (#1517) shadows:
- BaseRfiToken.name() (#666-668) (function)
- IERC20Metadata.name() (#38) (function)
SafeSuper._approveDelegate(address,address,uint256).owner (#1584) shadows:
- Ownable.owner() (#236-238) (function)
Rename the local variables that shadow another component.
Additional information: link
Reentrancy in Liquifier._addLiquidity(uint256,uint256) (#1355-1385):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
State variables written after the call(s):
- withdrawableBalance = address(this).balance (#1383)
Reentrancy in Liquifier._setRouterAddress(address) (#1302-1310):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
State variables written after the call(s):
- _router = _newPancakeRouter (#1308)
Reentrancy in Liquifier._swapAndLiquify(uint256) (#1312-1333):
External calls:
- _swapTokensForEth(half) (#1324)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1344-1352)
- _addLiquidity(otherHalf,newBalance) (#1330)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1330)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
State variables written after the call(s):
- _addLiquidity(otherHalf,newBalance) (#1330)
- withdrawableBalance = address(this).balance (#1383)
Reentrancy in SafeSuper.constructor(Liquifier.Env) (#1469-1480):
External calls:
- initializeLiquiditySwapper(_env,maxTransactionAmount,numberOfTokensToSwapToLiquidity) (#1470-1474)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
State variables written after the call(s):
- _exclude(_pair) (#1478)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#893-895)
- _exclude(burnAddress) (#1479)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#893-895)
- _exclude(_pair) (#1478)
- _excluded.push(account) (#898)
- _exclude(burnAddress) (#1479)
- _excluded.push(account) (#898)
- _exclude(_pair) (#1478)
- _isExcludedFromRewards[account] = true (#897)
- _exclude(burnAddress) (#1479)
- _isExcludedFromRewards[account] = true (#897)
Reentrancy in SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256) (#1596-1624):
External calls:
- ServicePayer(service,SafeSuperNCV3) (#1610)
- IPayable(receiver).pay{value: msg.value}(serviceName) (#369)
- SafeSuper(Env.MainnetV2) (#1620)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
External calls sending eth:
- ServicePayer(service,SafeSuperNCV3) (#1610)
- IPayable(receiver).pay{value: msg.value}(serviceName) (#369)
State variables written after the call(s):
- _approve(owner(),address(_router),~ uint256(0)) (#1623)
- _allowances[owner][spender] = amount (#939)
- SafeSuper(Env.MainnetV2) (#1620)
- _isExcludedFromRewards[account] = true (#897)
- SafeSuper(Env.MainnetV2) (#1620)
- _router = _newPancakeRouter (#1308)
- SafeSuper(Env.MainnetV2) (#1620)
- maxTransactionAmount = maxTx (#1266)
- SafeSuper(Env.MainnetV2) (#1620)
- numberOfTokensToSwapToLiquidity = liquifyAmount (#1267)
Reentrancy in SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256) (#1596-1624):
External calls:
- ServicePayer(service,SafeSuperNCV3) (#1610)
- IPayable(receiver).pay{value: msg.value}(serviceName) (#369)
State variables written after the call(s):
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- NAME = _name (#525)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- SYMBOL = _symbol (#526)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- TOTAL_SUPPLY = _totalSupply * ZEROES (#528)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- ZEROES = 10 ** DECIMAL (#527)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- _reflectedSupply = (MAX - (MAX % TOTAL_SUPPLY)) (#534)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- charityAddress = _charityAddress (#532)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- fees.push(Fee(name,recipient,value,0)) (#551)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- marketingAddress = _marketingAddress (#533)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- maxTransactionAmount = TOTAL_SUPPLY / 100 (#530)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- maxWalletBalance = TOTAL_SUPPLY (#535)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- numberOfTokensToSwapToLiquidity = TOTAL_SUPPLY / 1000 (#531)
- Tokenomics(_name,_symbol,_totalSupply,_maxTransactionAmount,_charityAddress,_marketingAddress) (#1612-1619)
- sumOfFees += value (#552)
- Fees(_rfifee,_burnfee,_liquidityfee,_charityfee,_marketingfee) (#1611)
- tokenFees = TokenFee(rfifee_,burnfee_,liquidityfee_,charityfee_,marketingfee_) (#391-397)
Reentrancy in Liquifier.initializeLiquiditySwapper(Liquifier.Env,uint256,uint256) (#1250-1268):
External calls:
- _setRouterAddress(_mainnetRouterV1Address) (#1257)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
- _setRouterAddress(_mainnetRouterV2Address) (#1259)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
- _setRouterAddress(_testnetRouterAddress) (#1263)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
State variables written after the call(s):
- maxTransactionAmount = maxTx (#1266)
- numberOfTokensToSwapToLiquidity = liquifyAmount (#1267)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in Liquifier._addLiquidity(uint256,uint256) (#1355-1385):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#1384)
Reentrancy in Liquifier._setRouterAddress(address) (#1302-1310):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
Event emitted after the call(s):
- RouterSet(router) (#1309)
Reentrancy in Liquifier._swapAndLiquify(uint256) (#1312-1333):
External calls:
- _swapTokensForEth(half) (#1324)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1344-1352)
- _addLiquidity(otherHalf,newBalance) (#1330)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (#1330)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#1360-1373)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#1384)
- _addLiquidity(otherHalf,newBalance) (#1330)
- SwapAndLiquify(half,newBalance,otherHalf) (#1332)
Reentrancy in SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256) (#1596-1624):
External calls:
- ServicePayer(service,SafeSuperNCV3) (#1610)
- IPayable(receiver).pay{value: msg.value}(serviceName) (#369)
- SafeSuper(Env.MainnetV2) (#1620)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1304-1307)
External calls sending eth:
- ServicePayer(service,SafeSuperNCV3) (#1610)
- IPayable(receiver).pay{value: msg.value}(serviceName) (#369)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#940)
- _approve(owner(),address(_router),~ uint256(0)) (#1623)
- RouterSet(router) (#1309)
- SafeSuper(Env.MainnetV2) (#1620)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#270-278) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,The contract is still locked) (#275)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#90-96) uses assembly
- INLINE ASM (#92-94)
Address._verifyCallResult(bool,bytes,string) (#201-218) uses assembly
- INLINE ASM (#210-213)
Do not use evm assembly.
Additional information: link
BaseRfiToken.includeInReward(address) (#901-912) has costly operations inside a loop:
- _excluded.pop() (#908)
Use a local variable to hold the loop computation result.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#201-218) is never used and should be removed
Address.functionCall(address,bytes) (#110-115) is never used and should be removed
Address.functionCall(address,bytes,string) (#117-123) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#125-137) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#139-154) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#179-189) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#191-199) is never used and should be removed
Address.functionStaticCall(address,bytes) (#156-167) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#169-177) is never used and should be removed
Address.isContract(address) (#90-96) is never used and should be removed
Address.sendValue(address,uint256) (#98-108) is never used and should be removed
BaseRfiToken._beforeTokenTransfer(address,address,uint256,bool) (#1140-1145) is never used and should be removed
BaseRfiToken._getSumOfFees(address,uint256) (#1155-1159) is never used and should be removed
BaseRfiToken._isV2Pair(address) (#1164) is never used and should be removed
BaseRfiToken._takeTransactionFees(uint256,uint256) (#1191-1193) is never used and should be removed
Context._msgData() (#50-53) is never used and should be removed
Liquifier._approveDelegate(address,address,uint256) (#1436-1440) is never used and should be removed
SafeMath.mod(uint256,uint256) (#73-75) is never used and should be removed
Tokenomics.getCollectedFeeTotal(uint256) (#615-622) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#98-108):
- (success) = recipient.call{value: amount}() (#103)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#139-154):
- (success,returndata) = target.call{value: value}(data) (#150-152)
Low level call in Address.functionStaticCall(address,bytes,string) (#169-177):
- (success,returndata) = target.staticcall(data) (#175)
Low level call in Address.functionDelegateCall(address,bytes,string) (#191-199):
- (success,returndata) = target.delegatecall(data) (#197)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IPancakeV2Router.WETH() (#332) is not in mixedCase
Variable Tokenomics.NAME (#404) is not in mixedCase
Variable Tokenomics.SYMBOL (#405) is not in mixedCase
Variable Tokenomics.FEES_DIVISOR (#407) is not in mixedCase
Variable Tokenomics.DECIMAL (#408) is not in mixedCase
Variable Tokenomics.ZEROES (#409) is not in mixedCase
Variable Tokenomics.MAX (#411) is not in mixedCase
Variable Tokenomics.TOTAL_SUPPLY (#412) is not in mixedCase
Variable Tokenomics._reflectedSupply (#413) is not in mixedCase
Variable BaseRfiToken._reflectedBalances (#643) is not in mixedCase
Variable BaseRfiToken._balances (#644) is not in mixedCase
Variable BaseRfiToken._allowances (#645) is not in mixedCase
Variable BaseRfiToken._isExcludedFromFee (#647) is not in mixedCase
Variable BaseRfiToken._isExcludedFromRewards (#648) is not in mixedCase
Variable Liquifier._router (#1220) is not in mixedCase
Variable Liquifier._pair (#1221) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#51)" inContext (#45-54)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable Tokenomics.TOTAL_SUPPLY (#412) is too similar to Tokenomics.constructor(string,string,uint256,uint256,address,address)._totalSupply (#520)
Variable Tokenomics._addFees(uint256,uint256,uint256,uint256,uint256)._charityfee (#559) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).charityfee_ (#388)
Variable Tokenomics._addFees(uint256,uint256,uint256,uint256,uint256)._liquidityfee (#558) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).liquidityfee_ (#387)
Variable Tokenomics._addFees(uint256,uint256,uint256,uint256,uint256)._marketingfee (#560) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).marketingfee_ (#389)
Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (#862) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#1095)
Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (#1044) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#1046)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (#1099) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#1095)
Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (#862) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#1046)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (#1099) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#1046)
Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (#1044) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#1095)
Variable Liquifier._mainnetRouterV1Address (#1209-1210) is too similar to Liquifier._mainnetRouterV2Address (#1212-1213)
Variable SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256)._charityfee (#1606) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).charityfee_ (#388)
Variable SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256)._liquidityfee (#1605) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).liquidityfee_ (#387)
Variable SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256)._marketingfee (#1607) is too similar to Fees.constructor(uint256,uint256,uint256,uint256,uint256).marketingfee_ (#389)
Variable Tokenomics.TOTAL_SUPPLY (#412) is too similar to SafeSuperV2.constructor(string,string,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256)._totalSupply (#1599)
Prevent variables from having similar names.
Additional information: link
SafeSuperV2.slitherConstructorVariables() (#1592-1626) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#497)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Liquifier._mainnetRouterV1Address (#1209-1210) should be constant
Liquifier._mainnetRouterV2Address (#1212-1213) should be constant
Liquifier._testnetRouterAddress (#1217-1218) should be constant
SafeSuperV2.service (#1593-1594) should be constant
Tokenomics.DECIMAL (#408) should be constant
Tokenomics.FEES_DIVISOR (#407) should be constant
Tokenomics.MAX (#411) should be constant
Tokenomics.burnAddress (#497) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#245-248)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#250-257)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (#259-261)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#263-268)
unlock() should be declared external:
- Ownable.unlock() (#270-278)
manager() should be declared external:
- Manageable.manager() (#294-296)
increaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.increaseAllowance(address,uint256) (#811-822)
decreaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.decreaseAllowance(address,uint256) (#824-838)
isExcludedFromFee(address) should be declared external:
- BaseRfiToken.isExcludedFromFee(address) (#921-923)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Contract has 9% buy tax and 8% sell tax.
Taxes are low but contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average 30d PancakeSwap liquidity is low.
Average 30d number of PancakeSwap swaps 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
Unable to find token on CoinMarketCap
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account