REDFEG Token is redesigning how decentralized meme finance (DeFi) is structured. REDFEG Token is focused on reshaping and evolving the way DeFi works while providing the most degeared ecosystem ever designed for the necessary advances in DeFi.
RedFeg.sendETHToFee(uint256) (#430-433) sends eth to arbitrary user
Dangerous calls:
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in RedFeg._transfer(address,address,uint256) (#368-414):
External calls:
- swapTokensForEth(contractTokenBalance) (#400)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#421-427)
External calls sending eth:
- sendETHToFee(address(this).balance) (#403)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#506)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#496)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#497)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _rTotal = _rTotal.sub(rFee) (#510)
Reentrancy in RedFeg.openTrading() (#435-460):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#442-443)
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#444-451)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#444-451)
State variables written after the call(s):
- tradingOpen = true (#455)
Apply the check-effects-interactions pattern.
Additional information: link
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.
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
Contract ticker (REDFEG 🦍) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.
Ownable._previousOwner (#151) is never used in RedFeg (#214-613)
RedFeg._tOwned (#217) is never used in RedFeg (#214-613)
Remove unused state variables.
Additional information: link
RedFeg.openTrading() (#435-460) ignores return value by IERC20(uniswapV2Pair).approve(address(uniswapV2Router),type()(uint256).max) (#456-459)
RedFeg.openTrading() (#435-460) ignores return value by uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#444-451)
Ensure that all the return values of the function calls are used.
Additional information: link
RedFeg.allowance(address,address).owner (#292) shadows:
- Ownable.owner() (#163-165) (function)
RedFeg._approve(address,address,uint256).owner (#358) shadows:
- Ownable.owner() (#163-165) (function)
Rename the local variables that shadow another component.
Additional information: link
Ownable.constructor().msgSender (#158) lacks a zero-check on :
- _owner = msgSender (#159)
RedFeg.constructor(address,address).marketingWalletAddress (#251) lacks a zero-check on :
- _marketingWalletAddress = marketingWalletAddress (#254)
RedFeg.constructor(address,address).FeeAddress (#250) lacks a zero-check on :
- _FeeAddress = FeeAddress (#253)
Check that the address is not zero.
Additional information: link
Reentrancy in RedFeg._transfer(address,address,uint256) (#368-414):
External calls:
- swapTokensForEth(contractTokenBalance) (#400)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#421-427)
External calls sending eth:
- sendETHToFee(address(this).balance) (#403)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _previousTaxFee = _taxFee (#346)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _previousteamFee = _teamFee (#347)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _tFeeTotal = _tFeeTotal.add(tFee) (#511)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _taxFee = _previousTaxFee (#353)
- _taxFee = 0 (#348)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _teamFee = _previousteamFee (#354)
- _teamFee = 0 (#349)
Reentrancy in RedFeg.transferFrom(address,address,uint256) (#310-325):
External calls:
- _transfer(sender,recipient,amount) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#421-427)
External calls sending eth:
- _transfer(sender,recipient,amount) (#315)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#316-323)
- _allowances[owner][spender] = amount (#364)
Reentrancy in RedFeg.openTrading() (#435-460):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#442-443)
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#444-451)
External calls sending eth:
- uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp) (#444-451)
State variables written after the call(s):
- _maxTxAmount = 300000000000000000 * 10 ** 9 (#454)
- cooldownEnabled = true (#453)
- swapEnabled = true (#452)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RedFeg._transfer(address,address,uint256) (#368-414):
External calls:
- swapTokensForEth(contractTokenBalance) (#400)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#421-427)
External calls sending eth:
- sendETHToFee(address(this).balance) (#403)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#500)
- _tokenTransfer(from,to,amount,takeFee) (#413)
Reentrancy in RedFeg.transferFrom(address,address,uint256) (#310-325):
External calls:
- _transfer(sender,recipient,amount) (#315)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#421-427)
External calls sending eth:
- _transfer(sender,recipient,amount) (#315)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#365)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#316-323)
Apply the check-effects-interactions pattern.
Additional information: link
RedFeg._transfer(address,address,uint256) (#368-414) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(cooldown[to] < block.timestamp) (#387)
Avoid relying on block.timestamp.
Additional information: link
RedFeg._previousteamFee (#232) is set pre-construction with a non-constant function or state variable:
- _teamFee
RedFeg._previousTaxFee (#231) is set pre-construction with a non-constant function or state variable:
- _taxFee
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
Constant RedFeg._tTotal (#223) is not in UPPER_CASE_WITH_UNDERSCORES
Variable RedFeg._FeeAddress (#233) is not in mixedCase
Function IUniswapV2Router02.WETH() (#195) is not in mixedCase
Constant RedFeg._name (#226) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RedFeg._decimals (#228) is not in UPPER_CASE_WITH_UNDERSCORES
Constant RedFeg._symbol (#227) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in RedFeg.transferFrom(address,address,uint256) (#310-325):
External calls:
- _transfer(sender,recipient,amount) (#315)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#316-323)
- _allowances[owner][spender] = amount (#364)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#365)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#316-323)
Reentrancy in RedFeg._transfer(address,address,uint256) (#368-414):
External calls:
- sendETHToFee(address(this).balance) (#403)
- _FeeAddress.transfer(amount.div(2)) (#431)
- _marketingWalletAddress.transfer(amount.div(2)) (#432)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _previousTaxFee = _taxFee (#346)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _previousteamFee = _teamFee (#347)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _rOwned[address(this)] = _rOwned[address(this)].add(rTeam) (#506)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#496)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#497)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _rTotal = _rTotal.sub(rFee) (#510)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _tFeeTotal = _tFeeTotal.add(tFee) (#511)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _taxFee = _previousTaxFee (#353)
- _taxFee = 0 (#348)
- _tokenTransfer(from,to,amount,takeFee) (#413)
- _teamFee = _previousteamFee (#354)
- _teamFee = 0 (#349)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#500)
- _tokenTransfer(from,to,amount,takeFee) (#413)
Apply the check-effects-interactions pattern.
Additional information: link
Variable RedFeg._getValues(uint256).rTransferAmount (#546) is too similar to RedFeg._getTValues(uint256,uint256,uint256).tTransferAmount (#570)
Variable RedFeg._getValues(uint256).rTransferAmount (#546) is too similar to RedFeg._getValues(uint256).tTransferAmount (#540)
Variable RedFeg._getValues(uint256).rTransferAmount (#546) is too similar to RedFeg._transferStandard(address,address,uint256).tTransferAmount (#492)
Variable RedFeg._transferStandard(address,address,uint256).rTransferAmount (#490) is too similar to RedFeg._getValues(uint256).tTransferAmount (#540)
Variable RedFeg._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#591) is too similar to RedFeg._getValues(uint256).tTransferAmount (#540)
Variable RedFeg._transferStandard(address,address,uint256).rTransferAmount (#490) is too similar to RedFeg._transferStandard(address,address,uint256).tTransferAmount (#492)
Variable RedFeg._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#591) is too similar to RedFeg._transferStandard(address,address,uint256).tTransferAmount (#492)
Variable RedFeg._transferStandard(address,address,uint256).rTransferAmount (#490) is too similar to RedFeg._getTValues(uint256,uint256,uint256).tTransferAmount (#570)
Variable RedFeg._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#591) is too similar to RedFeg._getTValues(uint256,uint256,uint256).tTransferAmount (#570)
Prevent variables from having similar names.
Additional information: link
RedFeg.slitherConstructorConstantVariables() (#214-613) uses literals with too many digits:
- _tTotal = 1000000000000000000 * 10 ** 9 (#223)
RedFeg.openTrading() (#435-460) uses literals with too many digits:
- _maxTxAmount = 300000000000000000 * 10 ** 9 (#454)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#151) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
name() should be declared external:
- RedFeg.name() (#263-265)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#172-175)
transfer(address,uint256) should be declared external:
- RedFeg.transfer(address,uint256) (#283-290)
approve(address,uint256) should be declared external:
- RedFeg.approve(address,uint256) (#301-308)
setBots(address[]) should be declared external:
- RedFeg.setBots(address[]) (#462-466)
symbol() should be declared external:
- RedFeg.symbol() (#267-269)
totalSupply() should be declared external:
- RedFeg.totalSupply() (#275-277)
transferFrom(address,address,uint256) should be declared external:
- RedFeg.transferFrom(address,address,uint256) (#310-325)
decimals() should be declared external:
- RedFeg.decimals() (#271-273)
allowance(address,address) should be declared external:
- RedFeg.allowance(address,address) (#292-299)
delBot(address) should be declared external:
- RedFeg.delBot(address) (#468-470)
Use the external attribute for functions never called from the contract.
Additional information: link
Contract has 13% buy tax and 13% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.
Average 30d PancakeSwap volume 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
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
Additional information: link
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
Unable to find Youtube account
Unable to find Discord account
Unable to find Blog account (Reddit or Medium)