Futura Finance token is a revolutionary auto-claim reward mechanism token that enables you to generate passive income by choosing and reinvesting your rewards from a large variety of cryptocurrencies. The $FFT token employs a 12 hour reinvest and rewards cycle with the largest variety of cryptocurrency reward choices of any other token. We have drawn inspiration from very successful projects, taking the best of them with us into the FFT economy. We are happy to highlight our exciting innovations and the new utility that this token will have. Welcome to the Futura!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
FinanceBase.executeSwap(uint256) (contracts/FinanceBase.sol#181-211) sends eth to arbitrary user
Dangerous calls:
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
FinanceBase.swapBNBForTokens(address,address,uint256) (contracts/FinanceBase.sol#276-289) sends eth to arbitrary user
Dangerous calls:
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in FuturaFinance.doClaimReward(address) (contracts/FuturaFinance.sol#216-294):
External calls:
- ! claimTokens(user,firstTokenAddress,firstTokenRewards) (contracts/FuturaFinance.sol#249)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
State variables written after the call(s):
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _bnbRewardClaimed[user] = bnbRewardClaimedByUser (contracts/FuturaFinance.sol#348)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _tokenRewardClaimed[user][token] = bnbRewardClaimedAsTokenT (contracts/FuturaFinance.sol#347)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#349)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _totalTokenClaimed[token] = totalBnbClaimedByAll (contracts/FuturaFinance.sol#350)
Reentrancy in FuturaFinance.doClaimReward(address) (contracts/FuturaFinance.sol#216-294):
External calls:
- ! claimTokens(user,firstTokenAddress,firstTokenRewards) (contracts/FuturaFinance.sol#249)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
- optionalBnbClaim = claimBNB(user,optionalBnbRewards) (contracts/FuturaFinance.sol#284)
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (contracts/FuturaFinance.sol#304)
- (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
State variables written after the call(s):
- optionalBnbClaim = claimBNB(user,optionalBnbRewards) (contracts/FuturaFinance.sol#284)
- _bnbRewardClaimed[user] = bnbRewardClaimedByUser (contracts/FuturaFinance.sol#321)
- optionalBnbClaim = claimBNB(user,optionalBnbRewards) (contracts/FuturaFinance.sol#284)
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#322)
Reentrancy in FinanceBase.doTransfer(address,address,uint256) (contracts/FinanceBase.sol#124-155):
External calls:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
State variables written after the call(s):
- updateBalances(sender,recipient,amount,feeAmount) (contracts/FinanceBase.sol#147)
- _balances[sender] -= sentAmount (contracts/FinanceBase.sol#223)
- _balances[recipient] += receivedAmount (contracts/FinanceBase.sol#224)
- _balances[address(this)] += feeAmount (contracts/FinanceBase.sol#227)
Apply the check-effects-interactions pattern.
Additional information: link
FuturaFinance._totalBNBLiquidityAddedFromFees (contracts/FuturaFinance.sol#31) shadows:
- FinanceBase._totalBNBLiquidityAddedFromFees (contracts/FinanceBase.sol#42)
Remove the state variable shadowing.
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.
Contract ownership is not renounced (belongs to a wallet)
FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324) uses a dangerous strict equality:
- bnbAmount == 0 (contracts/FuturaFinance.sol#298)
FuturaFinance.claimTokens(address,address,uint256) (contracts/FuturaFinance.sol#327-353) uses a dangerous strict equality:
- bnbAmount == 0 (contracts/FuturaFinance.sol#328)
FuturaFinance.doBuyAndBurn(uint256) (contracts/FuturaFinance.sol#600-614) uses a dangerous strict equality:
- bnbAmount == 0 (contracts/FuturaFinance.sol#605)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
FinanceBase.setFees(uint8,uint8,uint8,uint8) (contracts/FinanceBase.sol#354-374) contains a tautology or contradiction:
- require(bool,string)(rewardFee >= 0 && rewardFee <= 15,Reward fee must be between 0% and 15%) (contracts/FinanceBase.sol#356)
FinanceBase.setFees(uint8,uint8,uint8,uint8) (contracts/FinanceBase.sol#354-374) contains a tautology or contradiction:
- require(bool,string)(rewardFee >= 0 && marketingFee <= 12,Reward fee must be between 0% and 15%) (contracts/FinanceBase.sol#357)
FinanceBase.setFees(uint8,uint8,uint8,uint8) (contracts/FinanceBase.sol#354-374) contains a tautology or contradiction:
- require(bool,string)(liquidityFee >= 0 && liquidityFee <= 15,Liquidity fee must be between 0% and 15%) (contracts/FinanceBase.sol#355)
FuturaFinance.setClaimDivision(uint8) (contracts/FuturaFinance.sol#777-780) contains a tautology or contradiction:
- require(bool,string)(claimDivision >= 0 && claimDivision <= 100,Your claim division needs to be between 0 and 100) (contracts/FuturaFinance.sol#778)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
FinanceBase.executeSwap(uint256) (contracts/FinanceBase.sol#181-211) performs a multiplication on the result of a division:
-tokensToSwapForLiquidity = tokensReservedForLiquidity / 2 (contracts/FinanceBase.sol#192)
-bnbToBeAddedToLiquidity = bnbSwapped * tokensToSwapForLiquidity / tokensToSwap (contracts/FinanceBase.sol#200)
FuturaFinance.calculateRewardCycleExtension(uint256,uint256) (contracts/FuturaFinance.sol#433-460) performs a multiplication on the result of a division:
-rate = amount * 100 / balance (contracts/FuturaFinance.sol#443)
-extension = basePeriod * rate / 100 (contracts/FuturaFinance.sol#449)
FuturaFinance.calculateBNBReward(address) (contracts/FuturaFinance.sol#463-484) performs a multiplication on the result of a division:
-bnbPool = address(this).balance * (100 - _globalRewardDampeningPercentage) / 100 (contracts/FuturaFinance.sol#467)
-reward = bnbPool * balance / holdersAmount (contracts/FuturaFinance.sol#477)
Consider ordering multiplication before division.
Additional information: link
FuturaFinance.claimBNB(address,uint256).sent_scope_0 (contracts/FuturaFinance.sol#309) is a local variable never initialized
Initialize all the variables. If a variable is meant to be initialized to zero, explicitly set it to zero to improve code readability.
Additional information: link
FinanceBase.doApprove(address,address,uint256).owner (contracts/FinanceBase.sol#231) shadows:
- Ownable.owner() (contracts/Ownable.sol#34-36) (function)
FuturaFinance.addNewToken(string,address).symbol (contracts/FuturaFinance.sol#537) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
FuturaFinance.enableToken(string).symbol (contracts/FuturaFinance.sol#545) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
FuturaFinance.disableToken(string).symbol (contracts/FuturaFinance.sol#552) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
FuturaFinance.removeToken(string).symbol (contracts/FuturaFinance.sol#559) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
FuturaFinance.getTokenAddress(string).symbol (contracts/FuturaFinance.sol#567) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
FuturaFinance.isTokenAllowed(string).symbol (contracts/FuturaFinance.sol#571) shadows:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425) (function)
- IERC20Metadata.symbol() (contracts/IERC20.sol#93) (function)
Rename the local variables that shadow another component.
Additional information: link
FuturaFinance.setRewardCyclePeriod(uint256) (contracts/FuturaFinance.sol#649-652) should emit an event for:
- _rewardCyclePeriod = period (contracts/FuturaFinance.sol#651)
FuturaFinance.setRewardCycleExtensionThreshold(uint256) (contracts/FuturaFinance.sol#655-657) should emit an event for:
- _rewardCycleExtensionThreshold = threshold (contracts/FuturaFinance.sol#656)
FuturaFinance.setMaxClaimAllowed(uint256) (contracts/FuturaFinance.sol#670-673) should emit an event for:
- _maxClaimAllowed = value (contracts/FuturaFinance.sol#672)
FuturaFinance.setMinRewardBalance(uint256) (contracts/FuturaFinance.sol#681-683) should emit an event for:
- _minRewardBalance = balance (contracts/FuturaFinance.sol#682)
FuturaFinance.setMaxGasForAutoClaim(uint256) (contracts/FuturaFinance.sol#691-693) should emit an event for:
- _maxGasForAutoClaim = gas (contracts/FuturaFinance.sol#692)
FuturaFinance.setGlobalRewardDampeningPercentage(uint256) (contracts/FuturaFinance.sol#723-726) should emit an event for:
- _globalRewardDampeningPercentage = value (contracts/FuturaFinance.sol#725)
FuturaFinance.setGradualBurnMagnitude(uint256) (contracts/FuturaFinance.sol#745-748) should emit an event for:
- _gradualBurnMagnitude = magnitude (contracts/FuturaFinance.sol#747)
FuturaFinance.setGradualBurnTimespan(uint256) (contracts/FuturaFinance.sol#756-759) should emit an event for:
- _gradualBurnTimespan = timespan (contracts/FuturaFinance.sol#758)
FuturaFinance.setMinBnbPoolSizeBeforeBurn(uint256) (contracts/FuturaFinance.sol#767-770) should emit an event for:
- _minBnbPoolSizeBeforeBurn = amount (contracts/FuturaFinance.sol#769)
FuturaFinance.setMainBnbPoolSize(uint256) (contracts/FuturaFinance.sol#788-791) should emit an event for:
- _mainBnbPoolSize = size (contracts/FuturaFinance.sol#790)
FuturaFinance.setSendWeiGasLimit(uint256) (contracts/FuturaFinance.sol#834-836) should emit an event for:
- _sendWeiGasLimit = amount (contracts/FuturaFinance.sol#835)
Emit an event for critical parameter changes.
Additional information: link
FinanceBase.setMarketingWallet(address).marketingWallet (contracts/FinanceBase.sol#90) lacks a zero-check on :
- _marketingWallet = marketingWallet (contracts/FinanceBase.sol#91)
FinanceBase.setAutoLiquidityWallet(address).liquidityWallet (contracts/FinanceBase.sol#452) lacks a zero-check on :
- _autoLiquidityWallet = liquidityWallet (contracts/FinanceBase.sol#453)
Check that the address is not zero.
Additional information: link
Variable 'FuturaFinance.claimBNB(address,uint256).sent (contracts/FuturaFinance.sol#304)' in FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324) potentially used before declaration: (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324):
External calls:
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (contracts/FuturaFinance.sol#304)
- (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
State variables written after the call(s):
- _bnbRewardClaimed[user] = bnbRewardClaimedByUser (contracts/FuturaFinance.sol#321)
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#322)
Reentrancy in FuturaFinance.claimTokens(address,address,uint256) (contracts/FuturaFinance.sol#327-353):
External calls:
- success = swapBNBForTokens(user,token,bnbAmount) (contracts/FuturaFinance.sol#332)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
State variables written after the call(s):
- _bnbRewardClaimed[user] = bnbRewardClaimedByUser (contracts/FuturaFinance.sol#348)
- _tokenRewardClaimed[user][token] = bnbRewardClaimedAsTokenT (contracts/FuturaFinance.sol#347)
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#349)
- _totalTokenClaimed[token] = totalBnbClaimedByAll (contracts/FuturaFinance.sol#350)
Reentrancy in FinanceBase.constructor(address) (contracts/FinanceBase.sol#56-70):
External calls:
- setPancakeswapRouter(routerAddress) (contracts/FinanceBase.sol#64)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (contracts/FinanceBase.sol#339)
State variables written after the call(s):
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _additionalSellFee = additionalSellFee (contracts/FinanceBase.sol#370)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _liquidityFee = liquidityFee (contracts/FinanceBase.sol#367)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _marketingFee = marketingFee (contracts/FinanceBase.sol#369)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _poolFee = _rewardFee + _marketingFee + _liquidityFee (contracts/FinanceBase.sol#373)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _previousAdditionalSellFee = _additionalSellFee (contracts/FinanceBase.sol#364)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _previousLiquidityFee = _liquidityFee (contracts/FinanceBase.sol#361)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _previousMarketingFee = _marketingFee (contracts/FinanceBase.sol#363)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _previousPoolFee = _poolFee (contracts/FinanceBase.sol#365)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _previousRewardFee = _rewardFee (contracts/FinanceBase.sol#362)
- setFees(3,7,2,3) (contracts/FinanceBase.sol#67)
- _rewardFee = rewardFee (contracts/FinanceBase.sol#368)
Reentrancy in FuturaFinance.constructor(address) (contracts/FuturaFinance.sol#73-99):
External calls:
- FinanceBase(routerAddress) (contracts/FuturaFinance.sol#73)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (contracts/FinanceBase.sol#339)
State variables written after the call(s):
- _addressesExcludedFromRewards[BURN_WALLET] = true (contracts/FuturaFinance.sol#75)
- _addressesExcludedFromRewards[owner()] = true (contracts/FuturaFinance.sol#76)
- _addressesExcludedFromRewards[address(this)] = true (contracts/FuturaFinance.sol#77)
- _addressesExcludedFromRewards[address(0)] = true (contracts/FuturaFinance.sol#78)
- setRewardCycleExtensionThreshold(75) (contracts/FuturaFinance.sol#98)
- _rewardCycleExtensionThreshold = threshold (contracts/FuturaFinance.sol#656)
- enableToken(ADA) (contracts/FuturaFinance.sol#89)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(BNB) (contracts/FuturaFinance.sol#90)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(BUSD) (contracts/FuturaFinance.sol#91)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(CAKE) (contracts/FuturaFinance.sol#92)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(DOT) (contracts/FuturaFinance.sol#93)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(ETH) (contracts/FuturaFinance.sol#94)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- enableToken(FFT) (contracts/FuturaFinance.sol#95)
- _tokensAllowance[tokenAddress] = true (contracts/FuturaFinance.sol#549)
- _tokensList[FFT] = address(this) (contracts/FuturaFinance.sol#80)
- _tokensList[BNB] = _pancakeswapV2Router.WETH() (contracts/FuturaFinance.sol#81)
- _tokensList[ADA] = 0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47 (contracts/FuturaFinance.sol#83)
- _tokensList[BUSD] = 0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56 (contracts/FuturaFinance.sol#84)
- _tokensList[CAKE] = 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 (contracts/FuturaFinance.sol#85)
- _tokensList[DOT] = 0x7083609fCE4d1d8Dc0C979AAb8c869Ea2C873402 (contracts/FuturaFinance.sol#86)
- _tokensList[ETH] = 0x2170Ed0880ac9A755fd29B2688956BD959F933F8 (contracts/FuturaFinance.sol#87)
Reentrancy in FuturaFinance.doBuyAndBurn(uint256) (contracts/FuturaFinance.sol#600-614):
External calls:
- swapBNBForTokens(BURN_WALLET,address(this),bnbAmount) (contracts/FuturaFinance.sol#609)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
State variables written after the call(s):
- _lastBurnDate = block.timestamp (contracts/FuturaFinance.sol#613)
Reentrancy in FinanceBase.doTransfer(address,address,uint256) (contracts/FinanceBase.sol#124-155):
External calls:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
State variables written after the call(s):
- _totalFeesPooled = feeAmount + feesPooled (contracts/FinanceBase.sol#151)
Reentrancy in FinanceBase.executeSwap(uint256) (contracts/FinanceBase.sol#181-211):
External calls:
- bnbSwapped = swapTokensForBNB(tokensToSwap) (contracts/FinanceBase.sol#197)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
State variables written after the call(s):
- _totalBNBLiquidityAddedFromFees = totalBnbAddedFromFees (contracts/FinanceBase.sol#208)
Reentrancy in FinanceBase.executeSwapIfNeeded(address,address) (contracts/FinanceBase.sol#157-179):
External calls:
- executeSwap(tokensAvailableForSwap) (contracts/FinanceBase.sol#172)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- executeSwap(tokensAvailableForSwap) (contracts/FinanceBase.sol#172)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
State variables written after the call(s):
- _sellsAllowance[sender] = block.timestamp (contracts/FinanceBase.sol#175)
Reentrancy in FinanceBase.transferFrom(address,address,uint256) (contracts/FinanceBase.sol#112-116):
External calls:
- doTransfer(sender,recipient,amount) (contracts/FinanceBase.sol#113)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- doTransfer(sender,recipient,amount) (contracts/FinanceBase.sol#113)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
State variables written after the call(s):
- doApprove(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (contracts/FinanceBase.sol#114)
- _allowances[owner][spender] = amount (contracts/FinanceBase.sol#235)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FinanceBase.constructor(address) (contracts/FinanceBase.sol#56-70):
External calls:
- setPancakeswapRouter(routerAddress) (contracts/FinanceBase.sol#64)
- _pancakeswapV2Pair = IPancakeFactory(_pancakeswapV2Router.factory()).createPair(address(this),_pancakeswapV2Router.WETH()) (contracts/FinanceBase.sol#339)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),totalSupply()) (contracts/FinanceBase.sol#69)
Reentrancy in FuturaFinance.doBuyAndBurn(uint256) (contracts/FuturaFinance.sol#600-614):
External calls:
- swapBNBForTokens(BURN_WALLET,address(this),bnbAmount) (contracts/FuturaFinance.sol#609)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
Event emitted after the call(s):
- Burned(bnbAmount) (contracts/FuturaFinance.sol#610)
Reentrancy in FuturaFinance.doClaimReward(address) (contracts/FuturaFinance.sol#216-294):
External calls:
- ! claimTokens(user,firstTokenAddress,firstTokenRewards) (contracts/FuturaFinance.sol#249)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
- ! claimTokens(user,secondTokenAddress,secondTokenRewards) (contracts/FuturaFinance.sol#268)
- _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
- optionalBnbClaim = claimBNB(user,optionalBnbRewards) (contracts/FuturaFinance.sol#284)
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (contracts/FuturaFinance.sol#304)
- (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
Event emitted after the call(s):
- RewardClaimed(user,firstTokenRewards,secondTokenRewards,optionalBnbRewards,nextDate) (contracts/FuturaFinance.sol#290)
Reentrancy in FinanceBase.doTransfer(address,address,uint256) (contracts/FinanceBase.sol#124-155):
External calls:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- executeSwapIfNeeded(sender,recipient) (contracts/FinanceBase.sol#136)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
Event emitted after the call(s):
- Transfer(sender,recipient,transferAmount) (contracts/FinanceBase.sol#153)
Reentrancy in FinanceBase.executeSwap(uint256) (contracts/FinanceBase.sol#181-211):
External calls:
- bnbSwapped = swapTokensForBNB(tokensToSwap) (contracts/FinanceBase.sol#197)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
Event emitted after the call(s):
- Swapped(tokensToSwap,bnbSwapped,tokensToAddAsLiquidity,bnbToBeAddedToLiquidity,successSentMarketing) (contracts/FinanceBase.sol#210)
Reentrancy in FinanceBase.transferFrom(address,address,uint256) (contracts/FinanceBase.sol#112-116):
External calls:
- doTransfer(sender,recipient,amount) (contracts/FinanceBase.sol#113)
- _pancakeswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp + 360) (contracts/FinanceBase.sol#269)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
External calls sending eth:
- doTransfer(sender,recipient,amount) (contracts/FinanceBase.sol#113)
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
- (bnbAddedToLiquidity) = _pancakeswapV2Router.addLiquidityETH{value: bnbToBeAddedToLiquidity}(address(this),tokensToAddAsLiquidity,0,0,_autoLiquidityWallet,block.timestamp + 360) (contracts/FinanceBase.sol#204)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/FinanceBase.sol#236)
- doApprove(sender,_msgSender(),_allowances[sender][_msgSender()] - amount) (contracts/FinanceBase.sol#114)
Apply the check-effects-interactions pattern.
Additional information: link
FinanceBase.executeSwapIfNeeded(address,address) (contracts/FinanceBase.sol#157-179) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)((block.timestamp >= (_sellsAllowance[sender] + 60)),Your last sell was less than 1 minute ago, wait a bit.) (contracts/FinanceBase.sol#174)
FuturaFinance.processRewardClaimQueue(uint256) (contracts/FuturaFinance.sol#359-399) uses timestamp for comparisons
Dangerous comparisons:
- isRewardReady(user) && isIncludedInRewards(user) (contracts/FuturaFinance.sol#381)
FuturaFinance.isRewardReady(address) (contracts/FuturaFinance.sol#415-417) uses timestamp for comparisons
Dangerous comparisons:
- _nextAvailableClaimDate[user] <= block.timestamp (contracts/FuturaFinance.sol#416)
FuturaFinance.shouldBurn() (contracts/FuturaFinance.sol#586-588) uses timestamp for comparisons
Dangerous comparisons:
- _gradualBurnMagnitude > 0 && address(this).balance >= _minBnbPoolSizeBeforeBurn && block.timestamp - _lastBurnDate > _gradualBurnTimespan (contracts/FuturaFinance.sol#587)
Avoid relying on block.timestamp.
Additional information: link
FuturaFinance.isContract(address) (contracts/FuturaFinance.sol#617-622) uses assembly
- INLINE ASM (contracts/FuturaFinance.sol#620)
Do not use evm assembly.
Additional information: link
Context._msgData() (contracts/Context.sol#20-22) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in FinanceBase.executeSwap(uint256) (contracts/FinanceBase.sol#181-211):
- (successSentMarketing) = _marketingWallet.call{value: bnbToBeSentToMarketing}() (contracts/FinanceBase.sol#203)
Low level call in FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324):
- (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (contracts/FuturaFinance.sol#304)
- (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Constant FinanceBase._totalTokens (contracts/FinanceBase.sol#29) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FinanceBase._addressesExcludedFromFees (contracts/FinanceBase.sol#32) is not in mixedCase
Variable FinanceBase._pancakeswapV2Router (contracts/FinanceBase.sol#47) is not in mixedCase
Variable FuturaFinance._rewardClaimQueue (contracts/FuturaFinance.sol#59) is not in mixedCase
Variable FuturaFinance._rewardClaimQueueIndices (contracts/FuturaFinance.sol#60) is not in mixedCase
Variable FuturaFinance._addressesInRewardClaimQueue (contracts/FuturaFinance.sol#62) is not in mixedCase
Function IPancakeRouter01.WETH() (contracts/IPancakeRouterV2.sol#7) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/IPancakeRouterV2.sol#12) is too similar to IPancakeRouter01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/IPancakeRouterV2.sol#13)
Prevent variables from having similar names.
Additional information: link
FuturaFinance.onActivated() (contracts/FuturaFinance.sol#103-111) uses literals with too many digits:
- setMinRewardBalance(1000000 * 10 ** decimals()) (contracts/FuturaFinance.sol#107)
FuturaFinance.slitherConstructorVariables() (contracts/FuturaFinance.sol#25-842) uses literals with too many digits:
- _tokenSwapThreshold = _totalTokens / 100000 (contracts/FinanceBase.sol#40)
FuturaFinance.slitherConstructorVariables() (contracts/FuturaFinance.sol#25-842) uses literals with too many digits:
- _maxGasForAutoClaim = 800000 (contracts/FuturaFinance.sol#58)
FuturaFinance.slitherConstructorConstantVariables() (contracts/FuturaFinance.sol#25-842) uses literals with too many digits:
- _totalTokens = 1000000000000 * 10 ** DECIMALS (contracts/FinanceBase.sol#29)
FuturaFinance.slitherConstructorConstantVariables() (contracts/FuturaFinance.sol#25-842) uses literals with too many digits:
- BURN_WALLET = 0x000000000000000000000000000000000000dEaD (contracts/FinanceBase.sol#46)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
FuturaFinance._totalBNBLiquidityAddedFromFees (contracts/FuturaFinance.sol#31) is never used in FuturaFinance (contracts/FuturaFinance.sol#25-842)
Remove unused state variables.
Additional information: link
FuturaFinance._totalBNBLiquidityAddedFromFees (contracts/FuturaFinance.sol#31) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
presale() should be declared external:
- FinanceBase.presale() (contracts/FinanceBase.sol#72-77)
activate() should be declared external:
- FinanceBase.activate() (contracts/FinanceBase.sol#80-88)
setMarketingWallet(address) should be declared external:
- FinanceBase.setMarketingWallet(address) (contracts/FinanceBase.sol#90-92)
getMarketingWallet() should be declared external:
- FinanceBase.getMarketingWallet() (contracts/FinanceBase.sol#94-96)
transfer(address,uint256) should be declared external:
- FinanceBase.transfer(address,uint256) (contracts/FinanceBase.sol#106-109)
transferFrom(address,address,uint256) should be declared external:
- FinanceBase.transferFrom(address,address,uint256) (contracts/FinanceBase.sol#112-116)
approve(address,uint256) should be declared external:
- FinanceBase.approve(address,uint256) (contracts/FinanceBase.sol#119-122)
amountUntilSwap() should be declared external:
- FinanceBase.amountUntilSwap() (contracts/FinanceBase.sol#312-320)
increaseAllowance(address,uint256) should be declared external:
- FinanceBase.increaseAllowance(address,uint256) (contracts/FinanceBase.sol#323-326)
decreaseAllowance(address,uint256) should be declared external:
- FinanceBase.decreaseAllowance(address,uint256) (contracts/FinanceBase.sol#329-332)
restoreAllFee() should be declared external:
- FinanceBase.restoreAllFee() (contracts/FinanceBase.sol#387-393)
transactionLimit() should be declared external:
- FinanceBase.transactionLimit() (contracts/FinanceBase.sol#402-404)
setTokenSwapThreshold(uint256) should be declared external:
- FinanceBase.setTokenSwapThreshold(uint256) (contracts/FinanceBase.sol#407-410)
tokenSwapThreshold() should be declared external:
- FinanceBase.tokenSwapThreshold() (contracts/FinanceBase.sol#413-415)
name() should be declared external:
- FinanceBase.name() (contracts/FinanceBase.sol#418-420)
symbol() should be declared external:
- FinanceBase.symbol() (contracts/FinanceBase.sol#423-425)
allowance(address,address) should be declared external:
- FinanceBase.allowance(address,address) (contracts/FinanceBase.sol#438-440)
autoLiquidityWallet() should be declared external:
- FinanceBase.autoLiquidityWallet() (contracts/FinanceBase.sol#447-449)
totalFeesPooled() should be declared external:
- FinanceBase.totalFeesPooled() (contracts/FinanceBase.sol#457-459)
totalBNBLiquidityAddedFromFees() should be declared external:
- FinanceBase.totalBNBLiquidityAddedFromFees() (contracts/FinanceBase.sol#462-464)
isSwapEnabled() should be declared external:
- FinanceBase.isSwapEnabled() (contracts/FinanceBase.sol#467-469)
isFeeEnabled() should be declared external:
- FinanceBase.isFeeEnabled() (contracts/FinanceBase.sol#477-479)
isExcludedFromFees(address) should be declared external:
- FinanceBase.isExcludedFromFees(address) (contracts/FinanceBase.sol#487-489)
setExcludedFromFees(address,bool) should be declared external:
- FinanceBase.setExcludedFromFees(address,bool) (contracts/FinanceBase.sol#492-494)
getLiquidityFee() should be declared external:
- FinanceBase.getLiquidityFee() (contracts/FinanceBase.sol#501-503)
getRewardFee() should be declared external:
- FinanceBase.getRewardFee() (contracts/FinanceBase.sol#505-507)
getMarketingFee() should be declared external:
- FinanceBase.getMarketingFee() (contracts/FinanceBase.sol#509-511)
getAdditionalSellFee() should be declared external:
- FinanceBase.getAdditionalSellFee() (contracts/FinanceBase.sol#513-515)
getPoolFee() should be declared external:
- FinanceBase.getPoolFee() (contracts/FinanceBase.sol#517-519)
setBlacklistedWallet(address) should be declared external:
- FinanceBase.setBlacklistedWallet(address) (contracts/FinanceBase.sol#521-523)
removeBlacklistedWallet(address) should be declared external:
- FinanceBase.removeBlacklistedWallet(address) (contracts/FinanceBase.sol#525-527)
isBlacklistedWallet(address) should be declared external:
- FinanceBase.isBlacklistedWallet(address) (contracts/FinanceBase.sol#529-531)
claimReward() should be declared external:
- FuturaFinance.claimReward() (contracts/FuturaFinance.sol#202-204)
getFirstToken(address) should be declared external:
- FuturaFinance.getFirstToken(address) (contracts/FuturaFinance.sol#529-531)
getSecondToken(address) should be declared external:
- FuturaFinance.getSecondToken(address) (contracts/FuturaFinance.sol#533-535)
addNewToken(string,address) should be declared external:
- FuturaFinance.addNewToken(string,address) (contracts/FuturaFinance.sol#537-543)
disableToken(string) should be declared external:
- FuturaFinance.disableToken(string) (contracts/FuturaFinance.sol#552-557)
removeToken(string) should be declared external:
- FuturaFinance.removeToken(string) (contracts/FuturaFinance.sol#559-565)
getTokenAddress(string) should be declared external:
- FuturaFinance.getTokenAddress(string) (contracts/FuturaFinance.sol#567-569)
isTokenAllowed(string) should be declared external:
- FuturaFinance.isTokenAllowed(string) (contracts/FuturaFinance.sol#571-573)
bnbRewardClaimed(address) should be declared external:
- FuturaFinance.bnbRewardClaimed(address) (contracts/FuturaFinance.sol#630-632)
totalBNBClaimed() should be declared external:
- FuturaFinance.totalBNBClaimed() (contracts/FuturaFinance.sol#634-636)
totalBNBClaimedAsToken(address) should be declared external:
- FuturaFinance.totalBNBClaimedAsToken(address) (contracts/FuturaFinance.sol#639-641)
setRewardCyclePeriod(uint256) should be declared external:
- FuturaFinance.setRewardCyclePeriod(uint256) (contracts/FuturaFinance.sol#649-652)
nextAvailableClaimDate(address) should be declared external:
- FuturaFinance.nextAvailableClaimDate(address) (contracts/FuturaFinance.sol#660-662)
maxClaimAllowed() should be declared external:
- FuturaFinance.maxClaimAllowed() (contracts/FuturaFinance.sol#665-667)
setMaxClaimAllowed(uint256) should be declared external:
- FuturaFinance.setMaxClaimAllowed(uint256) (contracts/FuturaFinance.sol#670-673)
minRewardBalance() should be declared external:
- FuturaFinance.minRewardBalance() (contracts/FuturaFinance.sol#676-678)
maxGasForAutoClaim() should be declared external:
- FuturaFinance.maxGasForAutoClaim() (contracts/FuturaFinance.sol#686-688)
setMaxGasForAutoClaim(uint256) should be declared external:
- FuturaFinance.setMaxGasForAutoClaim(uint256) (contracts/FuturaFinance.sol#691-693)
isExcludedFromRewards(address) should be declared external:
- FuturaFinance.isExcludedFromRewards(address) (contracts/FuturaFinance.sol#706-708)
setExcludedFromRewards(address,bool) should be declared external:
- FuturaFinance.setExcludedFromRewards(address,bool) (contracts/FuturaFinance.sol#712-715)
globalRewardDampeningPercentage() should be declared external:
- FuturaFinance.globalRewardDampeningPercentage() (contracts/FuturaFinance.sol#718-720)
setGlobalRewardDampeningPercentage(uint256) should be declared external:
- FuturaFinance.setGlobalRewardDampeningPercentage(uint256) (contracts/FuturaFinance.sol#723-726)
approveClaim(address,bool) should be declared external:
- FuturaFinance.approveClaim(address,bool) (contracts/FuturaFinance.sol#729-732)
gradualBurnMagnitude() should be declared external:
- FuturaFinance.gradualBurnMagnitude() (contracts/FuturaFinance.sol#740-742)
gradualBurnTimespan() should be declared external:
- FuturaFinance.gradualBurnTimespan() (contracts/FuturaFinance.sol#751-753)
setGradualBurnTimespan(uint256) should be declared external:
- FuturaFinance.setGradualBurnTimespan(uint256) (contracts/FuturaFinance.sol#756-759)
minBnbPoolSizeBeforeBurn() should be declared external:
- FuturaFinance.minBnbPoolSizeBeforeBurn() (contracts/FuturaFinance.sol#762-764)
setMinBnbPoolSizeBeforeBurn(uint256) should be declared external:
- FuturaFinance.setMinBnbPoolSizeBeforeBurn(uint256) (contracts/FuturaFinance.sol#767-770)
getClaimDivision(address) should be declared external:
- FuturaFinance.getClaimDivision(address) (contracts/FuturaFinance.sol#772-774)
setClaimDivision(uint8) should be declared external:
- FuturaFinance.setClaimDivision(uint8) (contracts/FuturaFinance.sol#777-780)
mainBnbPoolSize() should be declared external:
- FuturaFinance.mainBnbPoolSize() (contracts/FuturaFinance.sol#783-785)
setMainBnbPoolSize(uint256) should be declared external:
- FuturaFinance.setMainBnbPoolSize(uint256) (contracts/FuturaFinance.sol#788-791)
isInRewardClaimQueue(address) should be declared external:
- FuturaFinance.isInRewardClaimQueue(address) (contracts/FuturaFinance.sol#794-796)
reimburseAfterTokenClaimFailure() should be declared external:
- FuturaFinance.reimburseAfterTokenClaimFailure() (contracts/FuturaFinance.sol#799-801)
lastBurnDate() should be declared external:
- FuturaFinance.lastBurnDate() (contracts/FuturaFinance.sol#809-811)
rewardClaimQueueLength() should be declared external:
- FuturaFinance.rewardClaimQueueLength() (contracts/FuturaFinance.sol#814-816)
rewardClaimQueueIndex() should be declared external:
- FuturaFinance.rewardClaimQueueIndex() (contracts/FuturaFinance.sol#819-821)
isWhitelistedExternalProcessor(address) should be declared external:
- FuturaFinance.isWhitelistedExternalProcessor(address) (contracts/FuturaFinance.sol#824-826)
setWhitelistedExternalProcessor(address,bool) should be declared external:
- FuturaFinance.setWhitelistedExternalProcessor(address,bool) (contracts/FuturaFinance.sol#829-832)
setSendWeiGasLimit(uint256) should be declared external:
- FuturaFinance.setSendWeiGasLimit(uint256) (contracts/FuturaFinance.sol#834-836)
setExcludeNonHumansFromRewards(bool) should be declared external:
- FuturaFinance.setExcludeNonHumansFromRewards(bool) (contracts/FuturaFinance.sol#838-840)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/Ownable.sol#53-55)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/Ownable.sol#61-64)
Use the external attribute for functions never called from the contract.
Additional information: link
FuturaFinance.doClaimReward(address) (contracts/FuturaFinance.sol#216-294) has external calls inside a loop: bnbAddress = _pancakeswapV2Router.WETH() (contracts/FuturaFinance.sol#222)
FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324) has external calls inside a loop: (sent) = user.call{gas: _sendWeiGasLimit,value: bnbAmount}() (contracts/FuturaFinance.sol#304)
FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324) has external calls inside a loop: (sent) = user.call{value: bnbAmount}() (contracts/FuturaFinance.sol#309)
FinanceBase.swapBNBForTokens(address,address,uint256) (contracts/FinanceBase.sol#276-289) has external calls inside a loop: path[0] = _pancakeswapV2Router.WETH() (contracts/FinanceBase.sol#279)
FinanceBase.swapBNBForTokens(address,address,uint256) (contracts/FinanceBase.sol#276-289) has external calls inside a loop: _pancakeswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: bnbAmount}(0,path,to,block.timestamp + 360) (contracts/FinanceBase.sol#283-288)
Favor pull over push strategy for external calls.
Additional information: link
FuturaFinance.claimBNB(address,uint256) (contracts/FuturaFinance.sol#297-324) has costly operations inside a loop:
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#322)
FuturaFinance.claimTokens(address,address,uint256) (contracts/FuturaFinance.sol#327-353) has costly operations inside a loop:
- _totalBNBClaimed = totalBnbClaimedByAll (contracts/FuturaFinance.sol#349)
Use a local variable to hold the loop computation result.
Additional information: link
Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Contract has 12% buy tax and 15% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Average 30d PancakeSwap liquidity is low.
Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.
Token is deployed only at one blockchain
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find audit link on the website
Young tokens have high risks of scam / price dump / death
Alexa traffic rank is relatively low
Additional information: link
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Young tokens have high risks of price dump / death
Token has relatively low CoinMarketCap rank
Young tokens have high risks of price dump / death
Unable to find Blog account (Reddit or Medium)