Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in InFerToken._transferFrom(address,address,uint256) (#470-498):
External calls:
- swapBack() (#483)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
External calls sending eth:
- swapBack() (#483)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#488)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#489)
- amountReceived = takeFee(sender,recipient,amount) (#485)
- _balances[recipient] = _balances[recipient].add(amount) (#550)
- amountReceived = takeFee(sender,recipient,amount) (#485)
- accumulatedLiquid = accumulatedLiquid.add(amountLiquidFee) (#544)
- amountReceived = takeFee(sender,recipient,amount) (#485)
- accumulatedRewardFee = accumulatedRewardFee.add(amountRewardFee) (#543)
Reentrancy in DividendDistributor.distributeDividend(address) (#315-328):
External calls:
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#324)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#325)
Reentrancy in DividendDistributor.process(uint256) (#284-308):
External calls:
- distributeDividend(shareholders[currentIndex]) (#300)
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
State variables written after the call(s):
- currentIndex ++ (#305)
Reentrancy in DividendDistributor.setShare(address,uint256) (#256-274):
External calls:
- distributeDividend(shareholder) (#258)
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
State variables written after the call(s):
- shares[shareholder].amount = dividendAmount (#272)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#273)
Apply the check-effects-interactions pattern.
Additional information: link
InFerToken._transferFrom(address,address,uint256) (#470-498) uses a dangerous strict equality:
- launchedTime == 0 && sender == owner() && recipient == pair (#479)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
InFerToken.swapBack() (#561-601) performs a multiplication on the result of a division:
-halfLiquid = accumulatedLiquid.div(2) (#562)
-amountBNBLiquid = amountSwapBNB.mul(halfLiquid).div(amountToSwap) (#580)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in InFerToken.swapBack() (#561-601):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
State variables written after the call(s):
- accumulatedLiquid = 0 (#584)
- accumulatedRewardFee = 0 (#583)
Apply the check-effects-interactions pattern.
Additional information: link
InFerToken.swapBack() (#561-601) ignores return value by router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendDistributor.setDistributionCriteria(uint256,uint256) (#251-254) should emit an event for:
- minPeriod = _minPeriod (#252)
DividendDistributor.setShare(address,uint256) (#256-274) should emit an event for:
- totalShares = totalShares.sub(shares[shareholder].amount).add(dividendAmount) (#271)
InFerToken.setWalletLimit(uint256) (#614-617) should emit an event for:
- _maxWalletAmount = amount (#616)
InFerToken.setFees(uint256,uint256,uint256,uint256) (#662-667) should emit an event for:
- bnbRewardFee = _bnbRewardFee (#663)
- burnFee = _burnFee (#664)
- liquidFee = _liquidFee (#665)
- vaultFee = _vaultFee (#666)
Emit an event for critical parameter changes.
Additional information: link
InFerToken.setVaultWallet(address)._walletVault (#637) lacks a zero-check on :
- walletVault = _walletVault (#638)
Check that the address is not zero.
Additional information: link
DividendDistributor.distributeDividend(address) (#315-328) has external calls inside a loop: (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in InFerToken._transferFrom(address,address,uint256) (#470-498):
External calls:
- swapBack() (#483)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
External calls sending eth:
- swapBack() (#483)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
State variables written after the call(s):
- amountReceived = takeFee(sender,recipient,amount) (#485)
- dailySoldAmount[sender] = 0 (#519)
- dailySoldAmount[sender] = dailySoldAmount[sender].add(amount) (#522)
- amountReceived = takeFee(sender,recipient,amount) (#485)
- dailySoldCheckPoint[sender] = block.timestamp / (24 * 60 * 60) (#518)
Reentrancy in InFerToken.constructor() (#411-437):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#414)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#415)
- _balances[msg.sender] = _totalSupply (#435)
- distributor = new DividendDistributor() (#417)
- isDividendExempt[pair] = true (#428)
- isDividendExempt[address(this)] = true (#429)
- isDividendExempt[DEAD] = true (#430)
- isDividendExempt[ZERO] = true (#431)
- isFeeExempt[msg.sender] = true (#419)
- isFeeExempt[address(this)] = true (#420)
- isMaxWalletLimitExempt[msg.sender] = true (#422)
- isMaxWalletLimitExempt[address(this)] = true (#423)
- isMaxWalletLimitExempt[pair] = true (#424)
- isMaxWalletLimitExempt[DEAD] = true (#425)
- isMaxWalletLimitExempt[ZERO] = true (#426)
- walletVault = msg.sender (#433)
Reentrancy in DividendDistributor.distributeDividend(address) (#315-328):
External calls:
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#323)
- totalDistributed = totalDistributed.add(amount) (#322)
Reentrancy in DividendDistributor.setShare(address,uint256) (#256-274):
External calls:
- distributeDividend(shareholder) (#258)
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
State variables written after the call(s):
- addShareholder(shareholder) (#263)
- shareholderIndexes[shareholder] = shareholders.length (#350)
- removeShareholder(shareholder) (#268)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#356)
- addShareholder(shareholder) (#263)
- shareholders.push(shareholder) (#351)
- removeShareholder(shareholder) (#268)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#355)
- shareholders.pop() (#357)
- totalShares = totalShares.sub(shares[shareholder].amount).add(dividendAmount) (#271)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in InFerToken._transferFrom(address,address,uint256) (#470-498):
External calls:
- swapBack() (#483)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
- distributor.setShare(sender,_balances[sender]) (#491)
- distributor.setShare(recipient,_balances[recipient]) (#492)
- distributor.process(distributorGas) (#494)
External calls sending eth:
- swapBack() (#483)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#496)
Reentrancy in InFerToken._transferFrom(address,address,uint256) (#470-498):
External calls:
- swapBack() (#483)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
External calls sending eth:
- swapBack() (#483)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#551)
- amountReceived = takeFee(sender,recipient,amount) (#485)
Reentrancy in InFerToken.constructor() (#411-437):
External calls:
- pair = IDEXFactory(router.factory()).createPair(router.WETH(),address(this)) (#414)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#436)
Reentrancy in InFerToken.swapBack() (#561-601):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#570-576)
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
External calls sending eth:
- distributor.deposit{value: amountBNBReward}() (#587)
- router.addLiquidityETH{value: amountBNBLiquid}(address(this),halfLiquid,0,0,owner(),block.timestamp) (#591-598)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquid,halfLiquid) (#599)
Apply the check-effects-interactions pattern.
Additional information: link
Ownable.unlock() (#141-146) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 7 days) (#143)
DividendDistributor.shouldDistribute(address) (#310-313) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > 0 (#311-312)
InFerToken._transferFrom(address,address,uint256) (#470-498) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(launchedTime > 0 && block.timestamp > launchedTime.add(15552000),Team addresses is locked for 6 month) (#474)
- launchedTime == 0 && sender == owner() && recipient == pair (#479)
InFerToken.takeFee(address,address,uint256) (#515-547) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp / (24 * 60 * 60) > dailySoldCheckPoint[sender] (#517)
Avoid relying on block.timestamp.
Additional information: link
InFerToken._transferFrom(address,address,uint256) (#470-498) compares to a boolean constant:
-isWalletTeam[sender] == true (#473)
InFerToken.setTeamWallets(address,address,address) (#603-612) compares to a boolean constant:
-require(bool,string)(setTeam == false,Team wallets were set) (#604)
InFerToken.setTeamWallets(address,address,address) (#603-612) compares to a boolean constant:
-setTeam == true (#605)
Remove the equality to the boolean constant.
Additional information: link
DividendDistributor.process(uint256) (#284-308) has costly operations inside a loop:
- currentIndex = 0 (#296)
DividendDistributor.distributeDividend(address) (#315-328) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#322)
DividendDistributor.process(uint256) (#284-308) has costly operations inside a loop:
- currentIndex ++ (#305)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#69-72) is never used and should be removed
Remove unused functions.
Additional information: link
InFerToken._maxWalletAmount (#372) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 20
InFerToken.swapThreshold (#405) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 20000
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
Pragma version^0.7.4 (#3) allows old versions
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 DividendDistributor.distributeDividend(address) (#315-328):
- (success) = address(shareholder).call{gas: 3000,value: amount}() (#320)
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() (#155) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#251) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDividendForReward (#251) is not in mixedCase
Variable DividendDistributor._token (#211) is not in mixedCase
Parameter InFerToken.setVaultWallet(address)._walletVault (#637) is not in mixedCase
Parameter InFerToken.setSwapBackSettings(bool,uint256)._enabled (#644) is not in mixedCase
Parameter InFerToken.setSwapBackSettings(bool,uint256)._amount (#644) is not in mixedCase
Parameter InFerToken.setDistributionCriteria(uint256,uint256)._minPeriod (#649) is not in mixedCase
Parameter InFerToken.setDistributionCriteria(uint256,uint256)._minDividendForReward (#649) is not in mixedCase
Parameter InFerToken.setFees(uint256,uint256,uint256,uint256)._bnbRewardFee (#662) is not in mixedCase
Parameter InFerToken.setFees(uint256,uint256,uint256,uint256)._burnFee (#662) is not in mixedCase
Parameter InFerToken.setFees(uint256,uint256,uint256,uint256)._liquidFee (#662) is not in mixedCase
Parameter InFerToken.setFees(uint256,uint256,uint256,uint256)._vaultFee (#662) is not in mixedCase
Variable InFerToken.DEAD (#364) is not in mixedCase
Variable InFerToken.ZERO (#365) is not in mixedCase
Constant InFerToken._name (#367) is not in UPPER_CASE_WITH_UNDERSCORES
Constant InFerToken._symbol (#368) is not in UPPER_CASE_WITH_UNDERSCORES
Constant InFerToken._decimals (#369) is not in UPPER_CASE_WITH_UNDERSCORES
Variable InFerToken._totalSupply (#371) is not in mixedCase
Variable InFerToken._maxWalletAmount (#372) is not in mixedCase
Variable InFerToken._balances (#374) is not in mixedCase
Variable InFerToken._allowances (#375) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#70)" inContext (#64-73)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#160) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#161)
Prevent variables from having similar names.
Additional information: link
InFerToken.slitherConstructorVariables() (#361-670) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#364)
InFerToken.slitherConstructorVariables() (#361-670) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#365)
InFerToken.slitherConstructorVariables() (#361-670) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#371)
InFerToken.slitherConstructorVariables() (#361-670) uses literals with too many digits:
- distributorGas = 500000 (#402)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendDistributor.dividendsPerShareAccuracyFactor (#229) should be constant
InFerToken.DEAD (#364) should be constant
InFerToken.ZERO (#365) should be constant
InFerToken._totalSupply (#371) should be constant
InFerToken.setTeam (#393) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#113-116)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#122-126)
geUnlockTime() should be declared external:
- Ownable.geUnlockTime() (#128-130)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (#133-138)
unlock() should be declared external:
- Ownable.unlock() (#141-146)
getCirculatingSupply() should be declared external:
- InFerToken.getCirculatingSupply() (#658-660)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
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.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts