Floki's father Elon Musk tweeted ON JUNE 25TH, 2021, ""MY SHIBA INU WILL BE NAMED FLOKI"", and on October 4th he tweeted a photo of the adorable “Floki Frunkpuppy”. Floki is the ultimate companion and only wants to make his father proud. Elon wants Floki to be more than just another meme-cryptocurrency.
Floki seeks to impress Elon with unique tokenomics, and an ecosystem that will grow into the largest community in crypto. Floki knows that going big is the only way to impress his dad, thus the birth of Floki Rocket. Join us on Floki's inevitable trip to the Moon!
Reentrancy in DividendTracker._compoundDividendOfUser(address) (#1189-1227):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(account),block.timestamp) (#1206-1216)
State variables written after the call(s):
- totalDividendsWithdrawn -= _withdrawableDividend (#1220)
- withdrawnDividends[account] -= _withdrawableDividend (#1219)
Reentrancy in RLOKI._transfer(address,address,uint256) (#736-805):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
External calls sending eth:
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
State variables written after the call(s):
- _executeTransfer(sender,address(this),fees) (#798)
- _balances[sender] = senderBalance - amount (#812)
- _balances[recipient] += amount (#813)
- _executeTransfer(sender,recipient,amount) (#801)
- _balances[sender] = senderBalance - amount (#812)
- _balances[recipient] += amount (#813)
- swapping = false (#778)
Reentrancy in DividendTracker._withdrawDividendOfUser(address) (#1162-1177):
External calls:
- (success) = account.call{gas: 3000,value: _withdrawableDividend}() (#1168)
State variables written after the call(s):
- totalDividendsWithdrawn -= _withdrawableDividend (#1171)
- withdrawnDividends[account] -= _withdrawableDividend (#1170)
Apply the check-effects-interactions pattern.
Additional information: link
RLOKI.addLiquidity(uint256,uint256) (#854-864) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
DividendTracker._withdrawDividendOfUser(address) (#1162-1177) sends eth to arbitrary user
Dangerous calls:
- (success) = account.call{gas: 3000,value: _withdrawableDividend}() (#1168)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains
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.
Pragma version^0.8.9 (#3) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.9 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
RLOKI._executeSwap(uint256,uint256) (#866-907) performs a multiplication on the result of a division:
-swapTokensMarketing = tokens * marketingFeeBPS / totalFeeBPS (#873)
-nativeMarketing = nativeSwapped * swapTokensMarketing / swapTokensTotal (#890)
RLOKI._executeSwap(uint256,uint256) (#866-907) performs a multiplication on the result of a division:
-swapTokensDividends = tokens * dividendFeeBPS / totalFeeBPS (#878)
-nativeDividends = nativeSwapped * swapTokensDividends / swapTokensTotal (#891)
Consider ordering multiplication before division.
Additional information: link
RLOKI._transfer(address,address,uint256).takeFee (#781) is a local variable never initialized
DividendTracker._compoundDividendOfUser(address).success (#1202) is a local variable never initialized
DividendTracker.getAccountInfo(address).info (#1244) is a local variable never initialized
RLOKI._executeSwap(uint256,uint256).swapTokensMarketing (#871) is a local variable never initialized
RLOKI._executeSwap(uint256,uint256).swapTokensDividends (#876) 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
RLOKI.addLiquidity(uint256,uint256) (#854-864) ignores return value by uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
RLOKI.claim() (#954-956) ignores return value by dividendTracker.processAccount(address(_msgSender())) (#955)
RLOKI.compound() (#958-961) ignores return value by dividendTracker.compoundAccount(address(_msgSender())) (#960)
Ensure that all the return values of the function calls are used.
Additional information: link
RLOKI.allowance(address,address).owner (#702) shadows:
- Ownable.owner() (#254-256) (function)
RLOKI._approve(address,address,uint256).owner (#817) shadows:
- Ownable.owner() (#254-256) (function)
Rename the local variables that shadow another component.
Additional information: link
RLOKI.setMaxTxBPS(uint256) (#1006-1009) should emit an event for:
- maxTxBPS = bps (#1008)
RLOKI.setMaxWalletBPS(uint256) (#1023-1026) should emit an event for:
- maxWalletBPS = bps (#1025)
Emit an event for critical parameter changes.
Additional information: link
RLOKI.setMarketingWallet(address).wallet (#927) lacks a zero-check on :
- marketingWallet = wallet (#928)
RLOKI.updateUniswapV2Router(address)._uniswapV2Pair (#949-950) lacks a zero-check on :
- uniswapV2Pair = _uniswapV2Pair (#951)
DividendTracker.constructor(address)._tokenAddress (#1072) lacks a zero-check on :
- tokenAddress = _tokenAddress (#1074)
Check that the address is not zero.
Additional information: link
Reentrancy in RLOKI._executeSwap(uint256,uint256) (#866-907):
External calls:
- swapTokensForNative(swapTokensTotal) (#887)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
External calls sending eth:
- address(marketingWallet).transfer(nativeMarketing) (#895)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
State variables written after the call(s):
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- _allowances[owner][spender] = amount (#820)
Reentrancy in RLOKI._transfer(address,address,uint256) (#736-805):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
State variables written after the call(s):
- swapping = true (#773)
Reentrancy in RLOKI._transfer(address,address,uint256) (#736-805):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
External calls sending eth:
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
State variables written after the call(s):
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- _allowances[owner][spender] = amount (#820)
- lastSwapTime = block.timestamp (#777)
Reentrancy in DividendTracker.compoundAccount(address) (#1179-1187):
External calls:
- (amount,tokens) = _compoundDividendOfUser(account) (#1180)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(account),block.timestamp) (#1206-1216)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1182)
Reentrancy in RLOKI.constructor() (#640-676):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#650)
- uniswapV2Router = _uniswapV2Router (#649)
Reentrancy in RLOKI.constructor() (#640-676):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#652)
- dividendTracker.excludeFromDividends(pair,true) (#940)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (#654)
- dividendTracker.excludeFromDividends(address(this),true) (#655)
- dividendTracker.excludeFromDividends(owner(),true) (#656)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router),true) (#657)
State variables written after the call(s):
- _mint(owner(),1000000000000 * (10 ** 18)) (#671)
- _balances[account] += amount (#827)
- excludeFromFees(owner(),true) (#659)
- _isExcludedFromFees[account] = excluded (#911)
- excludeFromFees(address(this),true) (#660)
- _isExcludedFromFees[account] = excluded (#911)
- excludeFromFees(address(dividendTracker),true) (#661)
- _isExcludedFromFees[account] = excluded (#911)
- excludeFromMaxTx(owner(),true) (#663)
- _isExcludedFromMaxTx[account] = excluded (#1012)
- excludeFromMaxTx(address(this),true) (#664)
- _isExcludedFromMaxTx[account] = excluded (#1012)
- excludeFromMaxTx(address(dividendTracker),true) (#665)
- _isExcludedFromMaxTx[account] = excluded (#1012)
- excludeFromMaxWallet(owner(),true) (#667)
- _isExcludedFromMaxWallet[account] = excluded (#1029)
- excludeFromMaxWallet(address(this),true) (#668)
- _isExcludedFromMaxWallet[account] = excluded (#1029)
- excludeFromMaxWallet(address(dividendTracker),true) (#669)
- _isExcludedFromMaxWallet[account] = excluded (#1029)
- _mint(owner(),1000000000000 * (10 ** 18)) (#671)
- _totalSupply += amount (#826)
- pinkAntiBot = IPinkAntiBot(0x8EFDb3b642eb2a20607ffe0A56CFefF6a95Df002) (#673)
Reentrancy in RLOKI.constructor() (#640-676):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#652)
- dividendTracker.excludeFromDividends(pair,true) (#940)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (#654)
- dividendTracker.excludeFromDividends(address(this),true) (#655)
- dividendTracker.excludeFromDividends(owner(),true) (#656)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router),true) (#657)
- pinkAntiBot.setTokenOwner(msg.sender) (#674)
State variables written after the call(s):
- antiBotEnabled = true (#675)
Reentrancy in DividendTracker.processAccount(address) (#1152-1160):
External calls:
- amount = _withdrawDividendOfUser(account) (#1153)
- (success) = account.call{gas: 3000,value: _withdrawableDividend}() (#1168)
State variables written after the call(s):
- lastClaimTimes[account] = block.timestamp (#1155)
Reentrancy in RLOKI.transferFrom(address,address,uint256) (#728-734):
External calls:
- _transfer(sender,recipient,amount) (#729)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
- dividendTracker.setBalance(address(sender),balanceOf(sender)) (#803)
- dividendTracker.setBalance(address(recipient),balanceOf(recipient)) (#804)
External calls sending eth:
- _transfer(sender,recipient,amount) (#729)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#732)
- _allowances[owner][spender] = amount (#820)
Reentrancy in RLOKI.updateUniswapV2Router(address) (#945-952):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#949-950)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#951)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in RLOKI._executeSwap(uint256,uint256) (#866-907):
External calls:
- swapTokensForNative(swapTokensTotal) (#887)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
External calls sending eth:
- address(marketingWallet).transfer(nativeMarketing) (#895)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#821)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- SwapAndAddLiquidity(swapTokensLiquidity,nativeLiquidity,addTokensLiquidity) (#899)
Reentrancy in RLOKI._executeSwap(uint256,uint256) (#866-907):
External calls:
- swapTokensForNative(swapTokensTotal) (#887)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
External calls sending eth:
- address(marketingWallet).transfer(nativeMarketing) (#895)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
Event emitted after the call(s):
- SendDividends(swapTokensDividends,nativeDividends) (#904)
Reentrancy in RLOKI._setAutomatedMarketMakerPair(address,bool) (#936-943):
External calls:
- dividendTracker.excludeFromDividends(pair,true) (#940)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#942)
Reentrancy in RLOKI._transfer(address,address,uint256) (#736-805):
External calls:
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
External calls sending eth:
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#821)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- SendDividends(swapTokensDividends,nativeDividends) (#904)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- SwapAndAddLiquidity(swapTokensLiquidity,nativeLiquidity,addTokensLiquidity) (#899)
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- Transfer(sender,recipient,amount) (#814)
- _executeTransfer(sender,address(this),fees) (#798)
- Transfer(sender,recipient,amount) (#814)
- _executeTransfer(sender,recipient,amount) (#801)
Reentrancy in DividendTracker.compoundAccount(address) (#1179-1187):
External calls:
- (amount,tokens) = _compoundDividendOfUser(account) (#1180)
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: _withdrawableDividend}(0,path,address(account),block.timestamp) (#1206-1216)
Event emitted after the call(s):
- Compound(account,amount,tokens) (#1183)
Reentrancy in RLOKI.constructor() (#640-676):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#652)
- dividendTracker.excludeFromDividends(pair,true) (#940)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#942)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#652)
Reentrancy in RLOKI.constructor() (#640-676):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#646-647)
- _setAutomatedMarketMakerPair(_uniswapV2Pair,true) (#652)
- dividendTracker.excludeFromDividends(pair,true) (#940)
- dividendTracker.excludeFromDividends(address(dividendTracker),true) (#654)
- dividendTracker.excludeFromDividends(address(this),true) (#655)
- dividendTracker.excludeFromDividends(owner(),true) (#656)
- dividendTracker.excludeFromDividends(address(_uniswapV2Router),true) (#657)
Event emitted after the call(s):
- ExcludeFromFees(account,excluded) (#912)
- excludeFromFees(address(dividendTracker),true) (#661)
- ExcludeFromFees(account,excluded) (#912)
- excludeFromFees(address(this),true) (#660)
- ExcludeFromFees(account,excluded) (#912)
- excludeFromFees(owner(),true) (#659)
- Transfer(address(0),account,amount) (#828)
- _mint(owner(),1000000000000 * (10 ** 18)) (#671)
Reentrancy in DividendTracker.processAccount(address) (#1152-1160):
External calls:
- amount = _withdrawDividendOfUser(account) (#1153)
- (success) = account.call{gas: 3000,value: _withdrawableDividend}() (#1168)
Event emitted after the call(s):
- Claim(account,amount) (#1156)
Reentrancy in RLOKI.transferFrom(address,address,uint256) (#728-734):
External calls:
- _transfer(sender,recipient,amount) (#729)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- pinkAntiBot.onPreTransferCheck(sender,recipient,amount) (#740)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokens,0,path,address(this),block.timestamp) (#845-851)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
- dividendTracker.setBalance(address(sender),balanceOf(sender)) (#803)
- dividendTracker.setBalance(address(recipient),balanceOf(recipient)) (#804)
External calls sending eth:
- _transfer(sender,recipient,amount) (#729)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#821)
- _approve(sender,_msgSender(),currentAllowance - amount) (#732)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#392-402) uses assembly
- INLINE ASM (#398-400)
Address._verifyCallResult(bool,bytes,string) (#555-575) uses assembly
- INLINE ASM (#567-570)
Do not use evm assembly.
Additional information: link
Address._verifyCallResult(bool,bytes,string) (#555-575) is never used and should be removed
Address.functionCall(address,bytes) (#445-447) is never used and should be removed
Address.functionCall(address,bytes,string) (#455-461) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#474-480) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#488-499) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#534-536) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#544-553) is never used and should be removed
Address.functionStaticCall(address,bytes) (#507-509) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#517-526) is never used and should be removed
Address.isContract(address) (#392-402) is never used and should be removed
Address.sendValue(address,uint256) (#420-425) is never used and should be removed
Context._msgData() (#222-224) is never used and should be removed
RLOKI._burn(address,uint256) (#831-838) is never used and should be removed
Remove unused functions.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#420-425):
- (success) = recipient.call{value: amount}() (#423)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#488-499):
- (success,returndata) = target.call{value: value}(data) (#497)
Low level call in Address.functionStaticCall(address,bytes,string) (#517-526):
- (success,returndata) = target.staticcall(data) (#524)
Low level call in Address.functionDelegateCall(address,bytes,string) (#544-553):
- (success,returndata) = target.delegatecall(data) (#551)
Low level call in RLOKI._executeSwap(uint256,uint256) (#866-907):
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
Low level call in DividendTracker._withdrawDividendOfUser(address) (#1162-1177):
- (success) = account.call{gas: 3000,value: _withdrawableDividend}() (#1168)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Router01.WETH() (#7) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#171) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#172) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#189) is not in mixedCase
Parameter RLOKI.setSwapEnabled(bool)._enabled (#983) is not in mixedCase
Parameter RLOKI.setTaxEnabled(bool)._enabled (#988) is not in mixedCase
Parameter RLOKI.setCompoundingEnabled(bool)._enabled (#993) is not in mixedCase
Parameter RLOKI.setEnabledAntiBot(bool)._enabled (#998) is not in mixedCase
Parameter RLOKI.setMaxTxEnabled(bool)._enabled (#1002) is not in mixedCase
Parameter RLOKI.setMaxWalletEnabled(bool)._enabled (#1019) is not in mixedCase
Constant DividendTracker.magnitude (#1046) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.
Additional information: link
Reentrancy in RLOKI._executeSwap(uint256,uint256) (#866-907):
External calls:
- address(marketingWallet).transfer(nativeMarketing) (#895)
External calls sending eth:
- address(marketingWallet).transfer(nativeMarketing) (#895)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
State variables written after the call(s):
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- _allowances[owner][spender] = amount (#820)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#821)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- SwapAndAddLiquidity(swapTokensLiquidity,nativeLiquidity,addTokensLiquidity) (#899)
Reentrancy in RLOKI._executeSwap(uint256,uint256) (#866-907):
External calls:
- address(marketingWallet).transfer(nativeMarketing) (#895)
External calls sending eth:
- address(marketingWallet).transfer(nativeMarketing) (#895)
- addLiquidity(addTokensLiquidity,nativeLiquidity) (#898)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
Event emitted after the call(s):
- SendDividends(swapTokensDividends,nativeDividends) (#904)
Reentrancy in RLOKI._transfer(address,address,uint256) (#736-805):
External calls:
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- address(marketingWallet).transfer(nativeMarketing) (#895)
External calls sending eth:
- _executeSwap(contractTokenBalance,contractNativeBalance) (#775)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
State variables written after the call(s):
- _executeTransfer(sender,address(this),fees) (#798)
- _balances[sender] = senderBalance - amount (#812)
- _balances[recipient] += amount (#813)
- _executeTransfer(sender,recipient,amount) (#801)
- _balances[sender] = senderBalance - amount (#812)
- _balances[recipient] += amount (#813)
- lastSwapTime = block.timestamp (#777)
- swapping = false (#778)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#814)
- _executeTransfer(sender,address(this),fees) (#798)
- Transfer(sender,recipient,amount) (#814)
- _executeTransfer(sender,recipient,amount) (#801)
Reentrancy in RLOKI.transferFrom(address,address,uint256) (#728-734):
External calls:
- _transfer(sender,recipient,amount) (#729)
- address(marketingWallet).transfer(nativeMarketing) (#895)
External calls sending eth:
- _transfer(sender,recipient,amount) (#729)
- uniswapV2Router.addLiquidityETH{value: native}(address(this),tokens,0,0,address(0),block.timestamp) (#856-863)
- address(marketingWallet).transfer(nativeMarketing) (#895)
- (success) = address(dividendTracker).call{value: nativeDividends}() (#902)
State variables written after the call(s):
- _approve(sender,_msgSender(),currentAllowance - amount) (#732)
- _allowances[owner][spender] = amount (#820)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#821)
- _approve(sender,_msgSender(),currentAllowance - amount) (#732)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#13)
Prevent variables from having similar names.
Additional information: link
RLOKI.constructor() (#640-676) uses literals with too many digits:
- _mint(owner(),1000000000000 * (10 ** 18)) (#671)
RLOKI.slitherConstructorVariables() (#588-1035) uses literals with too many digits:
- swapTokensAtAmount = 10000000 * (10 ** 18) (#597)
DividendTracker.constructor(address) (#1072-1075) uses literals with too many digits:
- minTokenBalanceForDividends = 2500000 * (10 ** 18) (#1073)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
DividendTracker._name (#1038) should be constant
DividendTracker._symbol (#1039) should be constant
DividendTracker.lastProcessedIndex (#1041) should be constant
RLOKI._name (#589) should be constant
RLOKI._symbol (#590) should be constant
RLOKI.dividendFeeBPS (#594) should be constant
RLOKI.liquidityFeeBPS (#593) should be constant
RLOKI.marketingFeeBPS (#592) should be constant
RLOKI.swapTokensAtAmount (#597) should be constant
RLOKI.totalFeeBPS (#595) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#273-275)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#281-284)
name() should be declared external:
- RLOKI.name() (#682-684)
symbol() should be declared external:
- RLOKI.symbol() (#686-688)
decimals() should be declared external:
- RLOKI.decimals() (#690-692)
allowance(address,address) should be declared external:
- DividendTracker.allowance(address,address) (#1285-1287)
- RLOKI.allowance(address,address) (#702-704)
approve(address,uint256) should be declared external:
- DividendTracker.approve(address,uint256) (#1289-1291)
- RLOKI.approve(address,uint256) (#706-709)
increaseAllowance(address,uint256) should be declared external:
- RLOKI.increaseAllowance(address,uint256) (#711-714)
decreaseAllowance(address,uint256) should be declared external:
- RLOKI.decreaseAllowance(address,uint256) (#716-721)
transfer(address,uint256) should be declared external:
- DividendTracker.transfer(address,uint256) (#1281-1283)
- RLOKI.transfer(address,uint256) (#723-726)
transferFrom(address,address,uint256) should be declared external:
- DividendTracker.transferFrom(address,address,uint256) (#1293-1295)
- RLOKI.transferFrom(address,address,uint256) (#728-734)
isExcludedFromFees(address) should be declared external:
- RLOKI.isExcludedFromFees(address) (#915-917)
excludeFromDividends(address,bool) should be declared external:
- RLOKI.excludeFromDividends(address,bool) (#919-921)
isExcludedFromDividends(address) should be declared external:
- RLOKI.isExcludedFromDividends(address) (#923-925)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- RLOKI.setAutomatedMarketMakerPair(address,bool) (#931-934)
updateUniswapV2Router(address) should be declared external:
- RLOKI.updateUniswapV2Router(address) (#945-952)
claim() should be declared external:
- RLOKI.claim() (#954-956)
compound() should be declared external:
- RLOKI.compound() (#958-961)
withdrawableDividendOf(address) should be declared external:
- RLOKI.withdrawableDividendOf(address) (#963-965)
withdrawnDividendOf(address) should be declared external:
- RLOKI.withdrawnDividendOf(address) (#967-969)
accumulativeDividendOf(address) should be declared external:
- RLOKI.accumulativeDividendOf(address) (#971-973)
getAccountInfo(address) should be declared external:
- RLOKI.getAccountInfo(address) (#975-977)
getLastClaimTime(address) should be declared external:
- RLOKI.getLastClaimTime(address) (#979-981)
isExcludedFromMaxTx(address) should be declared external:
- RLOKI.isExcludedFromMaxTx(address) (#1015-1017)
isExcludedFromMaxWallet(address) should be declared external:
- RLOKI.isExcludedFromMaxWallet(address) (#1032-1034)
isExcludedFromDividends(address) should be declared external:
- DividendTracker.isExcludedFromDividends(address) (#1117-1119)
processAccount(address) should be declared external:
- DividendTracker.processAccount(address) (#1152-1160)
compoundAccount(address) should be declared external:
- DividendTracker.compoundAccount(address) (#1179-1187)
withdrawnDividendOf(address) should be declared external:
- DividendTracker.withdrawnDividendOf(address) (#1233-1235)
getAccountInfo(address) should be declared external:
- DividendTracker.getAccountInfo(address) (#1243-1255)
getLastClaimTime(address) should be declared external:
- DividendTracker.getLastClaimTime(address) (#1257-1259)
name() should be declared external:
- DividendTracker.name() (#1261-1263)
symbol() should be declared external:
- DividendTracker.symbol() (#1265-1267)
decimals() should be declared external:
- DividendTracker.decimals() (#1269-1271)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find token on CoinHunt
Additional information: link
Unable to find code repository for the project
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