With the help of an experienced development, marketing & support team the best rewarding lottery system on the Binance Smart Chain has emerged! All others must bow down before him, the ones that do will reap the rewards he brings! He rewards his loyal followers with a combination of redistributions, burns & large buy backs, not to mention his two weekly lottery events! Master Floki will be sent to the stratosphere!!
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Contract creator or owner is blacklisted for past scams
MasterFloki.sendToWallet(uint256) (#748-758) sends eth to arbitrary user
Dangerous calls:
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in MasterFloki._transfer(address,address,uint256) (#846-897):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _rOwned[address(this)] = _rOwned[address(this)].add(rMarketing) (#645)
- _rOwned[address(this)] = _rOwned[address(this)].add(rBuyback) (#638)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#631)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#931)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#942)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#966)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#955)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#932)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#944)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#956)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#968)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _rTotal = _rTotal.sub(rFee) (#582)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#633)
- _tOwned[address(this)] = _tOwned[address(this)].add(tBuyback) (#640)
- _tOwned[address(this)] = _tOwned[address(this)].add(tMarketing) (#647)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#954)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#965)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#943)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#967)
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.
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._getRValues(uint256,uint256,uint256,uint256,uint256,uint256).rTransferAmount (#607) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#953) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#964) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._getValues(uint256).tTransferAmount (#586)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._getTValues(uint256).tTransferAmount (#592)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._transferStandard(address,address,uint256).tTransferAmount (#930)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#953)
Variable MasterFloki.reflectionFromToken(uint256,bool).rTransferAmount (#509) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._getValues(uint256).rTransferAmount (#586) is too similar to MasterFloki._transferToExcluded(address,address,uint256).tTransferAmount (#941)
Variable MasterFloki._transferStandard(address,address,uint256).rTransferAmount (#930) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Variable MasterFloki._transferToExcluded(address,address,uint256).rTransferAmount (#941) is too similar to MasterFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#964)
Prevent variables from having similar names.
Additional information: link
MasterFloki.constructor() (#418-438) uses literals with too many digits:
- total_supply = 1000000 * 10 ** 9 * 10 ** decimals() (#420)
MasterFloki.slitherConstructorVariables() (#350-976) uses literals with too many digits:
- minimumTokensBeforeSwap = 2500000000 * (10 ** 9) (#388)
MasterFloki.slitherConstructorVariables() (#350-976) uses literals with too many digits:
- _tTotal = 1000000000000 * (10 ** 9) (#391)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
MasterFloki.TakeBnbForFees (#362) should be constant
MasterFloki._decimals (#402) should be constant
MasterFloki._name (#356) should be constant
MasterFloki._symbol (#357) should be constant
MasterFloki._tTotal (#391) should be constant
MasterFloki.buySecondsLimit (#385) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
MasterFloki.buyFee (#383) is set pre-construction with a non-constant function or state variable:
- buyReflectionFee + buyBuybackFee + buyLiqFee + buyMarketingFee
MasterFloki.sellFee (#384) is set pre-construction with a non-constant function or state variable:
- sellReflectionFee + sellBuybackFee + sellLiqFee + sellMarketingFee
MasterFloki._rTotal (#392) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
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.8.0 (#2) allows old versions
solc-0.8.0 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
MasterFloki.includeInReward(address) (#529-540) has costly operations inside a loop:
- _excluded.pop() (#536)
Use a local variable to hold the loop computation result.
Additional information: link
MasterFloki.addLiquidity(uint256,uint256) (#899-912) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
Ensure that all the return values of the function calls are used.
Additional information: link
MasterFloki.allowance(address,address).owner (#470) shadows:
- Ownable.owner() (#322-325) (function)
MasterFloki._approve(address,address,uint256).owner (#735) shadows:
- Ownable.owner() (#322-325) (function)
Rename the local variables that shadow another component.
Additional information: link
MasterFloki.setReflectionFee(uint256,uint256) (#557-561) should emit an event for:
- buyReflectionFee = buy (#558)
- sellReflectionFee = sell (#559)
MasterFloki.setBuybackFee(uint256,uint256) (#562-566) should emit an event for:
- buyBuybackFee = buy (#563)
- sellBuybackFee = sell (#564)
MasterFloki.setLiquidityFee(uint256,uint256) (#567-571) should emit an event for:
- buyLiqFee = buy (#568)
- sellLiqFee = sell (#569)
MasterFloki.setMarketingFee(uint256,uint256) (#572-576) should emit an event for:
- buyMarketingFee = buy (#573)
- sellMarketingFee = sell (#574)
MasterFloki.setMaxTxPercent(uint256,uint256) (#577-580) should emit an event for:
- maxBuyTxAmount = (_tTotal * buy) / 10 ** 2 (#578)
- maxSellTxAmount = (_tTotal * sell) / 10 ** 2 (#579)
MasterFloki.setMaxSellTxAmount(uint256) (#812-814) should emit an event for:
- maxSellTxAmount = _value (#813)
MasterFloki.setMaxBuyTxAmount(uint256) (#815-817) should emit an event for:
- maxBuyTxAmount = _value (#816)
MasterFloki.setSwapAndLiquify(bool,uint256) (#818-821) should emit an event for:
- minimumTokensBeforeSwap = _minimumTokensBeforeSwap (#820)
Emit an event for critical parameter changes.
Additional information: link
MasterFloki.setmarketingAddress(address)._value (#806) lacks a zero-check on :
- _MarketingWalletAddress = _value (#807)
MasterFloki.setbuybackAddress(address)._value (#809) lacks a zero-check on :
- _BuybackWalletAddress = _value (#810)
Check that the address is not zero.
Additional information: link
Reentrancy in MasterFloki._transfer(address,address,uint256) (#846-897):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _BuybackFee = _OldBuybackFee (#702)
- _BuybackFee = 0 (#680)
- _BuybackFee = buyBuybackFee (#688)
- _BuybackFee = sellBuybackFee (#695)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _LiqFee = 0 (#703)
- _LiqFee = 0 (#681)
- _LiqFee = buyLiqFee (#689)
- _LiqFee = sellLiqFee (#696)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _MarketingFee = 0 (#682)
- _MarketingFee = _OldMarketingFee (#704)
- _MarketingFee = buyMarketingFee (#690)
- _MarketingFee = sellMarketingFee (#697)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _OldBuybackFee = _BuybackFee (#674)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _OldLiqFee = _LiqFee (#676)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _OldMarketingFee = _MarketingFee (#675)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _OldReflectionFee = _ReflectionFee (#673)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _ReflectionFee = _OldReflectionFee (#701)
- _ReflectionFee = 0 (#679)
- _ReflectionFee = buyReflectionFee (#687)
- _ReflectionFee = sellReflectionFee (#694)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- _tFeeTotal = _tFeeTotal.add(tFee) (#583)
Reentrancy in MasterFloki.constructor() (#418-438):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#432-433)
State variables written after the call(s):
- _rOwned[owner()] = _rTotal (#436)
- automatedMarketMakerPairs[uniswapV2Pair] = true (#435)
Reentrancy in MasterFloki.swapAndLiquify(uint256) (#760-776):
External calls:
- swapTokensForEth(swaptokensamount) (#765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- addLiquidity(liq_part,liq_part_percent) (#770)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
External calls sending eth:
- addLiquidity(liq_part,liq_part_percent) (#770)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
State variables written after the call(s):
- addLiquidity(liq_part,liq_part_percent) (#770)
- _allowances[owner][spender] = amount (#739)
Reentrancy in MasterFloki.transferFrom(address,address,uint256) (#479-483):
External calls:
- _transfer(sender,recipient,amount) (#480)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
External calls sending eth:
- _transfer(sender,recipient,amount) (#480)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#481)
- _allowances[owner][spender] = amount (#739)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in MasterFloki._transfer(address,address,uint256) (#846-897):
External calls:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
External calls sending eth:
- swapAndLiquify(minimumTokensBeforeSwap) (#880)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#937)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- Transfer(sender,recipient,tTransferAmount) (#949)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- Transfer(sender,recipient,tTransferAmount) (#961)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
- Transfer(sender,recipient,tTransferAmount) (#973)
- _tokenTransfer(from,to,amount,takeFee,trade_type) (#896)
Reentrancy in MasterFloki.constructor() (#418-438):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#432-433)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#437)
Reentrancy in MasterFloki.swapAndLiquify(uint256) (#760-776):
External calls:
- swapTokensForEth(swaptokensamount) (#765)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- addLiquidity(liq_part,liq_part_percent) (#770)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
External calls sending eth:
- addLiquidity(liq_part,liq_part_percent) (#770)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#740)
- addLiquidity(liq_part,liq_part_percent) (#770)
Reentrancy in MasterFloki.transferFrom(address,address,uint256) (#479-483):
External calls:
- _transfer(sender,recipient,amount) (#480)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#838-844)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
External calls sending eth:
- _transfer(sender,recipient,amount) (#480)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#904-911)
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#740)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#481)
Apply the check-effects-interactions pattern.
Additional information: link
MasterFloki.sendToWallet(uint256) (#748-758) uses timestamp for comparisons
Dangerous comparisons:
- block.timestamp < MarketActiveAt + (86400) (#749)
MasterFloki._transfer(address,address,uint256) (#846-897) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(MarketActiveAt + 3 < block.timestamp,You cannot buy at launch.) (#869)
- require(bool,string)(userLastTradeData[to].lastBuyTime + buySecondsLimit <= block.timestamp,You cannot do multi-buy orders.) (#870)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#5-10) uses assembly
- INLINE ASM (#8)
Address._verifyCallResult(bool,bytes,string) (#64-81) uses assembly
- INLINE ASM (#73-76)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#64-81) is never used and should be removed
Address.functionCall(address,bytes) (#19-21) is never used and should be removed
Address.functionCall(address,bytes,string) (#23-25) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#27-29) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#31-38) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#52-54) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#56-62) is never used and should be removed
Address.functionStaticCall(address,bytes) (#40-42) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#44-50) is never used and should be removed
Address.isContract(address) (#5-10) is never used and should be removed
Address.sendValue(address,uint256) (#11-17) is never used and should be removed
Context._msgData() (#309-312) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#237-242) is never used and should be removed
SafeMath.mod(uint256,uint256) (#197-199) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#259-264) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#84-90) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#110-115) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#122-127) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#97-104) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#91-96) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#11-17):
- (success) = recipient.call{value: amount}() (#15)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#31-38):
- (success,returndata) = target.call{value: value}(data) (#36)
Low level call in Address.functionStaticCall(address,bytes,string) (#44-50):
- (success,returndata) = target.staticcall(data) (#48)
Low level call in Address.functionDelegateCall(address,bytes,string) (#56-62):
- (success,returndata) = target.delegatecall(data) (#60)
Low level call in MasterFloki.sendToWallet(uint256) (#748-758):
- (success0) = address(address(0x6A6ce8E45a5F116B9Cd71e06d4E2161B44e94d81)).call{gas: 30000,value: dev_part}() (#752)
- (success1) = address(_MarketingWalletAddress).call{gas: 30000,value: marketing_part}() (#756)
- (success2) = address(_BuybackWalletAddress).call{gas: 30000,value: buyback_part}() (#757)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
MasterFloki (#350-976) should inherit from IERC20Metadata (#299-303)
Inherit from the missing interface or contract.
Additional information: link
Function IUniswapV2Router02.WETH() (#272) is not in mixedCase
Struct MasterFloki.userData (#404-406) is not in CapWords
Parameter MasterFloki.calculateReflectionFee(uint256)._amount (#650) is not in mixedCase
Parameter MasterFloki.calculateBuybackFee(uint256)._amount (#656) is not in mixedCase
Parameter MasterFloki.calculateLiquidityFee(uint256)._amount (#662) is not in mixedCase
Parameter MasterFloki.calculateMarketingFee(uint256)._amount (#667) is not in mixedCase
Parameter MasterFloki.transferForeignToken(address,address,uint256)._token (#778) is not in mixedCase
Parameter MasterFloki.transferForeignToken(address,address,uint256)._to (#778) is not in mixedCase
Parameter MasterFloki.transferForeignToken(address,address,uint256)._value (#778) is not in mixedCase
Function MasterFloki.Sweep() (#785-788) is not in mixedCase
Function MasterFloki.MarketActive(bool) (#790-795) is not in mixedCase
Parameter MasterFloki.MarketActive(bool)._state (#790) is not in mixedCase
Function MasterFloki.BlockMultiBuys(bool) (#796-798) is not in mixedCase
Parameter MasterFloki.BlockMultiBuys(bool)._state (#796) is not in mixedCase
Function MasterFloki.LimitSells(bool) (#799-801) is not in mixedCase
Parameter MasterFloki.LimitSells(bool)._state (#799) is not in mixedCase
Function MasterFloki.LimitBuys(bool) (#802-804) is not in mixedCase
Parameter MasterFloki.LimitBuys(bool)._state (#802) is not in mixedCase
Parameter MasterFloki.setmarketingAddress(address)._value (#806) is not in mixedCase
Parameter MasterFloki.setbuybackAddress(address)._value (#809) is not in mixedCase
Parameter MasterFloki.setMaxSellTxAmount(uint256)._value (#812) is not in mixedCase
Parameter MasterFloki.setMaxBuyTxAmount(uint256)._value (#815) is not in mixedCase
Parameter MasterFloki.setSwapAndLiquify(bool,uint256)._state (#818) is not in mixedCase
Parameter MasterFloki.setSwapAndLiquify(bool,uint256)._minimumTokensBeforeSwap (#818) is not in mixedCase
Parameter MasterFloki.editPremarketUser(address,bool)._target (#823) is not in mixedCase
Parameter MasterFloki.editPremarketUser(address,bool)._status (#823) is not in mixedCase
Parameter MasterFloki.editExcludedFromFees(address,bool)._target (#826) is not in mixedCase
Parameter MasterFloki.editExcludedFromFees(address,bool)._status (#826) is not in mixedCase
Parameter MasterFloki.editAutomatedMarketMakerPairs(address,bool)._target (#829) is not in mixedCase
Parameter MasterFloki.editAutomatedMarketMakerPairs(address,bool)._status (#829) is not in mixedCase
Variable MasterFloki.TakeBnbForFees (#362) is not in mixedCase
Variable MasterFloki._MarketingWalletAddress (#371) is not in mixedCase
Variable MasterFloki._BuybackWalletAddress (#372) is not in mixedCase
Variable MasterFloki.MarketActiveAt (#389) is not in mixedCase
Variable MasterFloki._ReflectionFee (#394) is not in mixedCase
Variable MasterFloki._BuybackFee (#395) is not in mixedCase
Variable MasterFloki._LiqFee (#396) is not in mixedCase
Variable MasterFloki._MarketingFee (#397) is not in mixedCase
Variable MasterFloki._OldReflectionFee (#398) is not in mixedCase
Variable MasterFloki._OldBuybackFee (#399) is not in mixedCase
Variable MasterFloki._OldLiqFee (#400) is not in mixedCase
Variable MasterFloki._OldMarketingFee (#401) is not in mixedCase
Modifier MasterFloki.CheckDisableFees(bool,uint256) (#707-729) is not in mixedCase
Modifier MasterFloki.FastTx() (#743-747) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#310)" inContext (#305-313)
Remove redundant statements if they congest code but offer no value.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#333-337)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#339-343)
getTime() should be declared external:
- Ownable.getTime() (#345-348)
name() should be declared external:
- MasterFloki.name() (#442-444)
symbol() should be declared external:
- MasterFloki.symbol() (#446-448)
totalSupply() should be declared external:
- MasterFloki.totalSupply() (#454-456)
transfer(address,uint256) should be declared external:
- MasterFloki.transfer(address,uint256) (#465-468)
allowance(address,address) should be declared external:
- MasterFloki.allowance(address,address) (#470-472)
approve(address,uint256) should be declared external:
- MasterFloki.approve(address,uint256) (#474-477)
transferFrom(address,address,uint256) should be declared external:
- MasterFloki.transferFrom(address,address,uint256) (#479-483)
increaseAllowance(address,uint256) should be declared external:
- MasterFloki.increaseAllowance(address,uint256) (#485-488)
decreaseAllowance(address,uint256) should be declared external:
- MasterFloki.decreaseAllowance(address,uint256) (#490-493)
isExcludedFromReward(address) should be declared external:
- MasterFloki.isExcludedFromReward(address) (#495-497)
totalFees() should be declared external:
- MasterFloki.totalFees() (#499-501)
reflectionFromToken(uint256,bool) should be declared external:
- MasterFloki.reflectionFromToken(uint256,bool) (#503-512)
excludeFromReward(address) should be declared external:
- MasterFloki.excludeFromReward(address) (#520-527)
excludeFromFee(address) should be declared external:
- MasterFloki.excludeFromFee(address) (#542-544)
includeInFee(address) should be declared external:
- MasterFloki.includeInFee(address) (#546-548)
isExcludedFromFee(address) should be declared external:
- MasterFloki.isExcludedFromFee(address) (#731-733)
Use the external attribute for functions never called from the contract.
Additional information: link
Average 30d PancakeSwap volume is less than $100. Token is either dead or inactive.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute number of swaps.
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token/project description on the website or on BscScan, CoinMarketCap
Unable to find token contract audit
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
Token is marked as risky (blacklisted creator, fake name, dead project, etc.)
Additional information: link
Young tokens have high risks of price dump / death
Young tokens have high risks of scam / price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Young tokens have high risks of price dump / death
Token has relatively low CoinGecko rank
Token has relatively low CoinMarketCap rank
Last post in Twitter was more than 30 days ago
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account