FlokiWater Token Logo

FLOKIWATER Token

About FLOKIWATER

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 25 February 2022

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

DividendDistributor.distributeDividend(address) (#326-337) ignores return value by FLOKI.transfer(shareholder,amount) (#332)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


Too many vulnerabilities (Unchecked transfer, Reentrancy vulnerability, etc.). High risk of a scam. DYOR & manual audit are advised.

FlokiWater.swapBack() (#590-635) sends eth to arbitrary user
Dangerous calls:
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in FlokiWater._transferFrom(address,address,uint256) (#497-543):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
External calls sending eth:
- swapBack() (#522)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#525)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#528)
- amountReceived = takeFee(sender,amount) (#527)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#563)
Apply the check-effects-interactions pattern.

Additional information: link


Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

FlokiWater.swapBack().tmpSuccess (#618) is written in both
(tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
tmpSuccess = false (#621)
Fix or remove the writes.

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.

Reentrancy in DividendDistributor.distributeDividend(address) (#326-337):
External calls:
- FLOKI.transfer(shareholder,amount) (#332)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#334)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#335)
Reentrancy in DividendDistributor.process(uint256) (#295-319):
External calls:
- distributeDividend(shareholders[currentIndex]) (#311)
- FLOKI.transfer(shareholder,amount) (#332)
State variables written after the call(s):
- currentIndex ++ (#316)
Reentrancy in DividendDistributor.setShare(address,uint256) (#259-273):
External calls:
- distributeDividend(shareholder) (#261)
- FLOKI.transfer(shareholder,amount) (#332)
State variables written after the call(s):
- shares[shareholder].amount = amount (#271)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#272)
Apply the check-effects-interactions pattern.

Additional information: link

FlokiWater.swapBack() (#590-635) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.distributeDividend(address) (#326-337) has external calls inside a loop: FLOKI.transfer(shareholder,amount) (#332)
Favor pull over push strategy for external calls.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#254-257) should emit an event for:
- minPeriod = _minPeriod (#255)
- minDistribution = _minDistribution (#256)
FlokiWater.setTxLimit(uint256) (#638-640) should emit an event for:
- _maxTxAmount = amount (#639)
FlokiWater.setFees(uint256,uint256,uint256,uint256) (#664-671) should emit an event for:
- liquidityFee = _liquidityFee (#665)
- reflectionFee = _reflectionFee (#666)
- marketingFee = _marketingFee (#667)
- totalFee = _liquidityFee.add(_reflectionFee).add(_marketingFee) (#668)
- feeDenominator = _feeDenominator (#669)
FlokiWater.setSwapBackSettings(bool,uint256) (#678-681) should emit an event for:
- swapThreshold = _amount (#680)
FlokiWater.setTargetLiquidity(uint256,uint256) (#683-686) should emit an event for:
- targetLiquidity = _target (#684)
- targetLiquidityDenominator = _denominator (#685)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#135) lacks a zero-check on :
- owner = adr (#136)
FlokiWater.setFeeReceivers(address,address)._autoLiquidityReceiver (#673) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#674)
FlokiWater.setFeeReceivers(address,address)._marketingFeeReceiver (#673) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#675)
Check that the address is not zero.

Additional information: link

Reentrancy in FlokiWater.constructor() (#428-458):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#430)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#431)
- _balances[msg.sender] = _totalSupply (#456)
- autoLiquidityReceiver = pair (#453)
- distributor = new DividendDistributor(address(router)) (#433)
- isDividendExempt[pair] = true (#448)
- isDividendExempt[address(this)] = true (#449)
- isDividendExempt[DEAD] = true (#450)
- isFeeExempt[msg.sender] = true (#435)
- isTimelockExempt[msg.sender] = true (#439)
- isTimelockExempt[DEAD] = true (#440)
- isTimelockExempt[address(this)] = true (#441)
- isTxLimitExempt[msg.sender] = true (#436)
- marketingFeeReceiver = MARK (#454)
Reentrancy in DividendDistributor.deposit() (#275-293):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#282-287)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#292)
- totalDividends = totalDividends.add(amount) (#291)
Reentrancy in DividendDistributor.distributeDividend(address) (#326-337):
External calls:
- FLOKI.transfer(shareholder,amount) (#332)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#333)
Reentrancy in DividendDistributor.setShare(address,uint256) (#259-273):
External calls:
- distributeDividend(shareholder) (#261)
- FLOKI.transfer(shareholder,amount) (#332)
State variables written after the call(s):
- addShareholder(shareholder) (#265)
- shareholderIndexes[shareholder] = shareholders.length (#359)
- removeShareholder(shareholder) (#267)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#365)
- addShareholder(shareholder) (#265)
- shareholders.push(shareholder) (#360)
- removeShareholder(shareholder) (#267)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#364)
- shareholders.pop() (#366)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#270)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in FlokiWater._transferFrom(address,address,uint256) (#497-543):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
- distributor.setShare(sender,_balances[sender]) (#532)
- distributor.setShare(recipient,_balances[recipient]) (#536)
- distributor.process(distributorGas) (#539)
External calls sending eth:
- swapBack() (#522)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#541)
Reentrancy in FlokiWater._transferFrom(address,address,uint256) (#497-543):
External calls:
- swapBack() (#522)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
External calls sending eth:
- swapBack() (#522)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#564)
- amountReceived = takeFee(sender,amount) (#527)
Reentrancy in FlokiWater.constructor() (#428-458):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#430)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#457)
Reentrancy in FlokiWater.swapBack() (#590-635):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#601-607)
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#617)
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#624-631)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#633)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#321-324) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#322-323)
FlokiWater._transferFrom(address,address,uint256) (#497-543) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(cooldownTimer[recipient] < block.timestamp,Please wait for cooldown between buys) (#513)
Avoid relying on block.timestamp.

Additional information: link

DividendDistributor.process(uint256) (#295-319) has costly operations inside a loop:
- currentIndex = 0 (#307)
DividendDistributor.distributeDividend(address) (#326-337) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#331)
DividendDistributor.process(uint256) (#295-319) has costly operations inside a loop:
- currentIndex ++ (#316)
Use a local variable to hold the loop computation result.

Additional information: link

DividendDistributor.claimDividend() (#339-341) is never used and should be removed
Remove unused functions.

Additional information: link

FlokiWater._maxTxAmount (#385) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
FlokiWater._maxWalletToken (#387) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
FlokiWater.swapThreshold (#424) is set pre-construction with a non-constant function or state variable:
- _totalSupply * 10 / 10000
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 (#18) allows old versions
solc-0.7.4 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.

Additional information: link

Low level call in FlokiWater.swapBack() (#590-635):
- (tmpSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#618)
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() (#150) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#254) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#254) is not in mixedCase
Variable DividendDistributor._token (#206) is not in mixedCase
Variable DividendDistributor.FLOKI (#214) is not in mixedCase
Variable DividendDistributor.WBNB (#215) is not in mixedCase
Parameter FlokiWater.cooldownEnabled(bool,uint8)._status (#583) is not in mixedCase
Parameter FlokiWater.cooldownEnabled(bool,uint8)._interval (#583) is not in mixedCase
Parameter FlokiWater.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#664) is not in mixedCase
Parameter FlokiWater.setFees(uint256,uint256,uint256,uint256)._reflectionFee (#664) is not in mixedCase
Parameter FlokiWater.setFees(uint256,uint256,uint256,uint256)._marketingFee (#664) is not in mixedCase
Parameter FlokiWater.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#664) is not in mixedCase
Parameter FlokiWater.setFeeReceivers(address,address)._autoLiquidityReceiver (#673) is not in mixedCase
Parameter FlokiWater.setFeeReceivers(address,address)._marketingFeeReceiver (#673) is not in mixedCase
Parameter FlokiWater.setSwapBackSettings(bool,uint256)._enabled (#678) is not in mixedCase
Parameter FlokiWater.setSwapBackSettings(bool,uint256)._amount (#678) is not in mixedCase
Parameter FlokiWater.setTargetLiquidity(uint256,uint256)._target (#683) is not in mixedCase
Parameter FlokiWater.setTargetLiquidity(uint256,uint256)._denominator (#683) is not in mixedCase
Parameter FlokiWater.setDistributionCriteria(uint256,uint256)._minPeriod (#688) is not in mixedCase
Parameter FlokiWater.setDistributionCriteria(uint256,uint256)._minDistribution (#688) is not in mixedCase
Variable FlokiWater.FLOKI (#373) is not in mixedCase
Variable FlokiWater.WBNB (#374) is not in mixedCase
Variable FlokiWater.DEAD (#375) is not in mixedCase
Variable FlokiWater.ZERO (#376) is not in mixedCase
Variable FlokiWater.MARK (#377) is not in mixedCase
Constant FlokiWater._name (#379) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FlokiWater._symbol (#380) is not in UPPER_CASE_WITH_UNDERSCORES
Constant FlokiWater._decimals (#381) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FlokiWater._totalSupply (#383) is not in mixedCase
Variable FlokiWater._maxTxAmount (#385) is not in mixedCase
Variable FlokiWater._maxWalletToken (#387) is not in mixedCase
Variable FlokiWater._balances (#389) is not in mixedCase
Variable FlokiWater._allowances (#390) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#155) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#156)
Prevent variables from having similar names.

Additional information: link

FlokiWater.slitherConstructorVariables() (#370-712) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#375)
FlokiWater.slitherConstructorVariables() (#370-712) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#376)
FlokiWater.slitherConstructorVariables() (#370-712) uses literals with too many digits:
- distributorGas = 500000 (#416)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

FlokiWater.FLOKI (#373) is never used in FlokiWater (#370-712)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#215) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#228) should be constant
FlokiWater.DEAD (#375) should be constant
FlokiWater.FLOKI (#373) should be constant
FlokiWater.MARK (#377) should be constant
FlokiWater.WBNB (#374) should be constant
FlokiWater.ZERO (#376) should be constant
FlokiWater._totalSupply (#383) should be constant
FlokiWater.launchedAt (#412) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#107-109)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#114-116)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#135-139)
cooldownEnabled(bool,uint8) should be declared external:
- FlokiWater.cooldownEnabled(bool,uint8) (#583-586)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Attempt to swap token was unsuccessful. For some reason it is untradeable. If token is not in presale stage and is not traded outside PancakeSwap, then it's a scam

Additional information: link


Average 30d PancakeSwap liquidity is less than $100. Token is either dead or inactive.


Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.


Average 30d number of PancakeSwap swaps is less than 1. 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.


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 Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for FLOKIWATER