👑FOMOKING👑FOMO大帝👑
🇨🇳大帝亲征,横扫币圈🇨🇳
天不生FOMO大帝,币圈万古如长夜
百倍只是开始,千倍只是起步,万倍才是传奇
👑信大帝,1B变百B👑
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
State variables written after the call(s):
- marketingAmount = 0 (FOMOKING.sol#351)
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
State variables written after the call(s):
- super._transfer(from,address(this),total) (FOMOKING.sol#369)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- super._transfer(from,to,amount) (FOMOKING.sol#373)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- marketingAmount = marketingAmount.add(marketing) (FOMOKING.sol#368)
- swapping = false (FOMOKING.sol#359)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (DividendPayingToken.sol#97)
Apply the check-effects-interactions pattern.
Additional information: link
FOMOKING.withdrawToken(address) (FOMOKING.sol#435-439) ignores return value by IERC20(token).transfer(msg.sender,balance) (FOMOKING.sol#438)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
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.
Reentrancy in FOMOKING.updateDividendTracker(address) (FOMOKING.sol#124-147):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (FOMOKING.sol#139)
- newDividendTracker.excludeFromDividends(address(this)) (FOMOKING.sol#140)
- newDividendTracker.excludeFromDividends(owner()) (FOMOKING.sol#141)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (FOMOKING.sol#142)
State variables written after the call(s):
- dividendTracker = newDividendTracker (FOMOKING.sol#146)
Apply the check-effects-interactions pattern.
Additional information: link
FOMOKING._transfer(address,address,uint256).iterations (FOMOKING.sol#384) is a local variable never initialized
FOMOKING._transfer(address,address,uint256).claims (FOMOKING.sol#385) is a local variable never initialized
FOMOKING._transfer(address,address,uint256).lastProcessedIndex (FOMOKING.sol#386) 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
FOMOKING.claim() (FOMOKING.sol#304-306) ignores return value by dividendTracker.processAccount(msg.sender,false) (FOMOKING.sol#305)
FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398) ignores return value by dividendTracker.process(gas) (FOMOKING.sol#383-396)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.constructor(string,string)._name (DividendPayingToken.sol#46) shadows:
- ERC20._name (ERC20.sol#43) (state variable)
DividendPayingToken.constructor(string,string)._symbol (DividendPayingToken.sol#46) shadows:
- ERC20._symbol (ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.
Additional information: link
FOMOKING.setSwapTokensAtAmount(uint256) (FOMOKING.sol#110-112) should emit an event for:
- swapTokensAtAmount = val (FOMOKING.sol#111)
Emit an event for critical parameter changes.
Additional information: link
FOMOKING.updateUniswapV2Router(address)._uniswapV2Pair (FOMOKING.sol#156-157) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (FOMOKING.sol#158)
FOMOKING.setMarketingWallet(address).wallet (FOMOKING.sol#175) lacks a zero-check on :
- _marketingWallet = wallet (FOMOKING.sol#176)
Check that the address is not zero.
Additional information: link
DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Favor pull over push strategy for external calls.
Additional information: link
Variable 'FOMOKING._transfer(address,address,uint256).lastProcessedIndex (FOMOKING.sol#386)' in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FOMOKING.sol#388-395)
Variable 'FOMOKING._transfer(address,address,uint256).iterations (FOMOKING.sol#384)' in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FOMOKING.sol#388-395)
Variable 'FOMOKING._transfer(address,address,uint256).claims (FOMOKING.sol#385)' in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FOMOKING.sol#388-395)
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 FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
State variables written after the call(s):
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- _allowances[owner][spender] = amount (ERC20.sol#341)
Reentrancy in FOMOKING.constructor() (FOMOKING.sol#77-108):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (FOMOKING.sol#84-85)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (FOMOKING.sol#88)
- uniswapV2Router = _uniswapV2Router (FOMOKING.sol#87)
Reentrancy in FOMOKING.constructor() (FOMOKING.sol#77-108):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (FOMOKING.sol#84-85)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (FOMOKING.sol#89)
- dividendTracker.excludeFromDividends(pair) (FOMOKING.sol#199)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (FOMOKING.sol#92)
- dividendTracker.excludeFromDividends(address(this)) (FOMOKING.sol#93)
- dividendTracker.excludeFromDividends(owner()) (FOMOKING.sol#94)
- dividendTracker.excludeFromDividends(deadWallet) (FOMOKING.sol#95)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (FOMOKING.sol#96)
State variables written after the call(s):
- _mint(owner(),1000000000 * (10 ** 18)) (FOMOKING.sol#107)
- _balances[account] = _balances[account].add(amount) (ERC20.sol#292)
- excludeFromFees(owner(),true) (FOMOKING.sol#99)
- _isExcludedFromFees[account] = excluded (FOMOKING.sol#166)
- excludeFromFees(_marketingWallet,true) (FOMOKING.sol#100)
- _isExcludedFromFees[account] = excluded (FOMOKING.sol#166)
- excludeFromFees(address(this),true) (FOMOKING.sol#101)
- _isExcludedFromFees[account] = excluded (FOMOKING.sol#166)
- _mint(owner(),1000000000 * (10 ** 18)) (FOMOKING.sol#107)
- _totalSupply = _totalSupply.add(amount) (ERC20.sol#291)
Reentrancy in FOMOKINGDividendTracker.processAccount(address,bool) (FOMOKING.sol#691-705):
External calls:
- amount = _withdrawDividendOfUser(account) (FOMOKING.sol#696)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (FOMOKING.sol#699)
Reentrancy in FOMOKING.updateUniswapV2Router(address) (FOMOKING.sol#149-159):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (FOMOKING.sol#156-157)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (FOMOKING.sol#158)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in FOMOKING._setAutomatedMarketMakerPair(address,bool) (FOMOKING.sol#191-203):
External calls:
- dividendTracker.excludeFromDividends(pair) (FOMOKING.sol#199)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (FOMOKING.sol#202)
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#342)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- SendDividends(tokens,dividends) (FOMOKING.sol#431)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- Transfer(sender,recipient,amount) (ERC20.sol#274)
- super._transfer(from,address(this),total) (FOMOKING.sol#369)
- Transfer(sender,recipient,amount) (ERC20.sol#274)
- super._transfer(from,to,amount) (FOMOKING.sol#373)
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- dividendTracker.setBalance(address(from),balanceOf(from)) (FOMOKING.sol#375-377)
- dividendTracker.setBalance(address(to),balanceOf(to)) (FOMOKING.sol#378)
- dividendTracker.process(gas) (FOMOKING.sol#383-396)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FOMOKING.sol#388-395)
Reentrancy in FOMOKING.constructor() (FOMOKING.sol#77-108):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (FOMOKING.sol#84-85)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (FOMOKING.sol#89)
- dividendTracker.excludeFromDividends(pair) (FOMOKING.sol#199)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (FOMOKING.sol#202)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (FOMOKING.sol#89)
Reentrancy in FOMOKING.constructor() (FOMOKING.sol#77-108):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (FOMOKING.sol#84-85)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (FOMOKING.sol#89)
- dividendTracker.excludeFromDividends(pair) (FOMOKING.sol#199)
- dividendTracker.excludeFromDividends(address(dividendTracker)) (FOMOKING.sol#92)
- dividendTracker.excludeFromDividends(address(this)) (FOMOKING.sol#93)
- dividendTracker.excludeFromDividends(owner()) (FOMOKING.sol#94)
- dividendTracker.excludeFromDividends(deadWallet) (FOMOKING.sol#95)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router)) (FOMOKING.sol#96)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (FOMOKING.sol#168)
- excludeFromFees(owner(),true) (FOMOKING.sol#99)
- ExcludeFromFees(account,excluded) (FOMOKING.sol#168)
- excludeFromFees(address(this),true) (FOMOKING.sol#101)
- ExcludeFromFees(account,excluded) (FOMOKING.sol#168)
- excludeFromFees(_marketingWallet,true) (FOMOKING.sol#100)
- Transfer(address(0),account,amount) (ERC20.sol#293)
- _mint(owner(),1000000000 * (10 ** 18)) (FOMOKING.sol#107)
Reentrancy in FOMOKINGDividendTracker.processAccount(address,bool) (FOMOKING.sol#691-705):
External calls:
- amount = _withdrawDividendOfUser(account) (FOMOKING.sol#696)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Event emitted after the call(s):
- Claim(account,amount,automatic) (FOMOKING.sol#700)
Reentrancy in FOMOKING.processDividendTracker(uint256) (FOMOKING.sol#288-302):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (FOMOKING.sol#289-293)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (FOMOKING.sol#294-301)
Reentrancy in FOMOKING.swapAndSendDividends(uint256) (FOMOKING.sol#426-433):
External calls:
- swapTokensForEth(tokens) (FOMOKING.sol#427)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (FOMOKING.sol#417-423)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (FOMOKING.sol#431)
Reentrancy in FOMOKING.updateDividendTracker(address) (FOMOKING.sol#124-147):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (FOMOKING.sol#139)
- newDividendTracker.excludeFromDividends(address(this)) (FOMOKING.sol#140)
- newDividendTracker.excludeFromDividends(owner()) (FOMOKING.sol#141)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (FOMOKING.sol#142)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (FOMOKING.sol#144)
Apply the check-effects-interactions pattern.
Additional information: link
FOMOKINGDividendTracker.getAccount(address) (FOMOKING.sol#529-576) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (FOMOKING.sol#573-575)
FOMOKINGDividendTracker.canAutoClaim(uint256) (FOMOKING.sol#610-616) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (FOMOKING.sol#611)
- block.timestamp.sub(lastClaimTime) >= claimWait (FOMOKING.sol#615)
Ownable.unlock() (Ownable.sol#78-89) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,Contract is locked until 6 months) (Ownable.sol#83-86)
Avoid relying on block.timestamp.
Additional information: link
FOMOKING.isContractaddr(address) (FOMOKING.sol#116-122) uses assembly
- INLINE ASM (FOMOKING.sol#118-120)
Do not use evm assembly.
Additional information: link
Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (Context.sol#3)
- ^0.6.2 (DividendPayingToken.sol#3)
- ^0.6.2 (DividendPayingTokenInterface.sol#3)
- ^0.6.2 (DividendPayingTokenOptionalInterface.sol#3)
- ^0.6.12 (ERC20.sol#3)
- ^0.6.12 (FOMOKING.sol#2)
- ^0.6.12 (IERC20.sol#3)
- ^0.6.12 (IERC20Metadata.sol#3)
- ^0.6.12 (IUniswapV2Factory.sol#3)
- ^0.6.12 (IUniswapV2Pair.sol#3)
- ^0.6.12 (IUniswapV2Router.sol#3)
- ^0.6.12 (IterableMapping.sol#2)
- ^0.6.12 (Ownable.sol#1)
- ^0.6.12 (SafeMath.sol#3)
- ^0.6.12 (SafeMathInt.sol#28)
- ^0.6.12 (SafeMathUint.sol#3)
Use one Solidity version.
Additional information: link
Context._msgData() (Context.sol#20-23) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (DividendPayingToken.sol#145-151) is never used and should be removed
SafeMath.mod(uint256,uint256) (SafeMath.sol#134-136) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (SafeMath.sol#150-157) is never used and should be removed
SafeMathInt.abs(int256) (SafeMathInt.sol#82-85) is never used and should be removed
SafeMathInt.div(int256,int256) (SafeMathInt.sol#53-59) is never used and should be removed
SafeMathInt.mul(int256,int256) (SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.
Additional information: link
FOMOKING.fees (FOMOKING.sol#20) is set pre-construction with a non-constant function or state variable:
- rewardsFee.add(marketingFee)
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.6.2 (DividendPayingToken.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenInterface.sol#3) allows old versions
Pragma version^0.6.2 (DividendPayingTokenOptionalInterface.sol#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 DividendPayingToken._withdrawDividendOfUser(address) (DividendPayingToken.sol#89-105):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (DividendPayingToken.sol#94)
Low level call in FOMOKING.swapAndSendDividends(uint256) (FOMOKING.sol#426-433):
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Parameter DividendPayingToken.dividendOf(address)._owner (DividendPayingToken.sol#111) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (DividendPayingToken.sol#118) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (DividendPayingToken.sol#125) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (DividendPayingToken.sol#135) is not in mixedCase
Constant DividendPayingToken.magnitude (DividendPayingToken.sol#26) is not in UPPER_CASE_WITH_UNDERSCORES
Variable FOMOKING._marketingWallet (FOMOKING.sol#26-27) is not in mixedCase
Parameter FOMOKINGDividendTracker.getAccount(address)._account (FOMOKING.sol#529) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (IUniswapV2Pair.sol#38) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (IUniswapV2Pair.sol#40) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (IUniswapV2Pair.sol#71) is not in mixedCase
Function IUniswapV2Router01.WETH() (IUniswapV2Router.sol#8) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (Context.sol#21)" inContext (Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
State variables written after the call(s):
- marketingAmount = 0 (FOMOKING.sol#351)
Reentrancy in FOMOKING._transfer(address,address,uint256) (FOMOKING.sol#320-398):
External calls:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
External calls sending eth:
- swapAndSendEth(marketingTokens,_marketingWallet) (FOMOKING.sol#350)
- addr.transfer(newBalance) (FOMOKING.sol#405)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- (success) = address(dividendTracker).call{value: dividends}() (FOMOKING.sol#429)
State variables written after the call(s):
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- _allowances[owner][spender] = amount (ERC20.sol#341)
- super._transfer(from,address(this),total) (FOMOKING.sol#369)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- super._transfer(from,to,amount) (FOMOKING.sol#373)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (ERC20.sol#269-272)
- _balances[recipient] = _balances[recipient].add(amount) (ERC20.sol#273)
- marketingAmount = marketingAmount.add(marketing) (FOMOKING.sol#368)
- swapping = false (FOMOKING.sol#359)
Event emitted after the call(s):
- Approval(owner,spender,amount) (ERC20.sol#342)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (FOMOKING.sol#388-395)
- SendDividends(tokens,dividends) (FOMOKING.sol#431)
- swapAndSendDividends(rewardsTokens) (FOMOKING.sol#356)
- Transfer(sender,recipient,amount) (ERC20.sol#274)
- super._transfer(from,address(this),total) (FOMOKING.sol#369)
- Transfer(sender,recipient,amount) (ERC20.sol#274)
- super._transfer(from,to,amount) (FOMOKING.sol#373)
Apply the check-effects-interactions pattern.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (DividendPayingToken.sol#90) is too similar to FOMOKINGDividendTracker.getAccount(address).withdrawableDividends (FOMOKING.sol#536)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (IUniswapV2Router.sol#13) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (IUniswapV2Router.sol#14)
Prevent variables from having similar names.
Additional information: link
FOMOKING.constructor() (FOMOKING.sol#77-108) uses literals with too many digits:
- _mint(owner(),1000000000 * (10 ** 18)) (FOMOKING.sol#107)
FOMOKING.updateGasForProcessing(uint256) (FOMOKING.sol#205-216) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,gasForProcessing must be between 200,000 and 500,000) (FOMOKING.sol#206-209)
FOMOKING.slitherConstructorVariables() (FOMOKING.sol#12-446) uses literals with too many digits:
- swapTokensAtAmount = 1000000 * (10 ** 18) (FOMOKING.sol#16)
FOMOKING.slitherConstructorVariables() (FOMOKING.sol#12-446) uses literals with too many digits:
- deadWallet = 0x000000000000000000000000000000000000dEaD (FOMOKING.sol#28)
FOMOKING.slitherConstructorVariables() (FOMOKING.sol#12-446) uses literals with too many digits:
- gasForProcessing = 300000 (FOMOKING.sol#31)
FOMOKINGDividendTracker.constructor() (FOMOKING.sol#472-481) uses literals with too many digits:
- minimumTokenBalanceForDividends = 1000000 * (10 ** 18) (FOMOKING.sol#480)
FOMOKINGDividendTracker.getAccountAtIndex(uint256) (FOMOKING.sol#578-608) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (FOMOKING.sol#593-602)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (SafeMathInt.sol#36) is never used in SafeMathInt (SafeMathInt.sol#34-91)
Remove unused state variables.
Additional information: link
FOMOKING.deadWallet (FOMOKING.sol#28) should be constant
FOMOKING.marketingFee (FOMOKING.sol#19) should be constant
FOMOKING.rewardsFee (FOMOKING.sol#18) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (DividendPayingToken.sol#83-85)
- FOMOKINGDividendTracker.withdrawDividend() (FOMOKING.sol#491-496)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (DividendPayingToken.sol#111-113)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (DividendPayingToken.sol#125-127)
name() should be declared external:
- ERC20.name() (ERC20.sol#63-65)
symbol() should be declared external:
- ERC20.symbol() (ERC20.sol#71-73)
decimals() should be declared external:
- ERC20.decimals() (ERC20.sol#88-90)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (ERC20.sol#120-128)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (ERC20.sol#133-141)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (ERC20.sol#150-158)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (ERC20.sol#173-188)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (ERC20.sol#202-213)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (ERC20.sol#229-243)
isContractaddr(address) should be declared external:
- FOMOKING.isContractaddr(address) (FOMOKING.sol#116-122)
updateDividendTracker(address) should be declared external:
- FOMOKING.updateDividendTracker(address) (FOMOKING.sol#124-147)
updateUniswapV2Router(address) should be declared external:
- FOMOKING.updateUniswapV2Router(address) (FOMOKING.sol#149-159)
setBotAddress(address,bool) should be declared external:
- FOMOKING.setBotAddress(address,bool) (FOMOKING.sol#171-173)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- FOMOKING.setAutomatedMarketMakerPair(address,bool) (FOMOKING.sol#179-189)
updateGasForProcessing(uint256) should be declared external:
- FOMOKING.updateGasForProcessing(uint256) (FOMOKING.sol#205-216)
isExcludedFromFees(address) should be declared external:
- FOMOKING.isExcludedFromFees(address) (FOMOKING.sol#230-232)
withdrawableDividendOf(address) should be declared external:
- FOMOKING.withdrawableDividendOf(address) (FOMOKING.sol#234-240)
dividendTokenBalanceOf(address) should be declared external:
- FOMOKING.dividendTokenBalanceOf(address) (FOMOKING.sol#242-248)
getAccountAtIndex(uint256) should be declared external:
- FOMOKINGDividendTracker.getAccountAtIndex(uint256) (FOMOKING.sol#578-608)
process(uint256) should be declared external:
- FOMOKINGDividendTracker.process(uint256) (FOMOKING.sol#637-689)
get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (IterableMapping.sol#13-15)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (IterableMapping.sol#17-26)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (IterableMapping.sol#28-34)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (IterableMapping.sol#36-38)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (Ownable.sol#48-52)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (Ownable.sol#58-65)
getTime() should be declared external:
- Ownable.getTime() (Ownable.sol#67-69)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (Ownable.sol#71-76)
unlock() should be declared external:
- Ownable.unlock() (Ownable.sol#78-89)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Twitter account
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account