Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
SnowFloki.addLiquidity(uint256,uint256) (#764-777) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in SnowFloki._transfer(address,address,uint256) (#638-695):
External calls:
- swapTokens(contractTokenBalance) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- swapTokens(contractTokenBalance) (#690)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#890)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#815)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#806)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#836)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#807)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#826)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#827)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#817)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#838)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _rTotal = _rTotal.sub(rFee) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#892)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#825)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#835)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#816)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#837)
Apply the check-effects-interactions pattern.
Additional information: link
SnowFloki.withdrawStuckTokens(IERC20,address) (#954-957) ignores return value by token.transfer(to,balance) (#956)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
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.
Combination 2: Unchecked transfer + Functions that send Ether to arbitraty destination. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
SnowFloki.setMaxWalletPercent_base1000(uint256) (#959-961) performs a multiplication on the result of a division:
-_maxWalletToken = _tTotal.div(1000).mul(maxWallPercent_base1000) (#960)
SnowFloki.slitherConstructorVariables() (#388-1018) performs a multiplication on the result of a division:
-_maxWalletToken = _tTotal.div(1000).mul(5) (#423)
SnowFloki.slitherConstructorVariables() (#388-1018) performs a multiplication on the result of a division:
-swapThreshold = _tTotal.div(10000).mul(5) (#446)
Consider ordering multiplication before division.
Additional information: link
SnowFloki.manage_Snipers(address[],bool).i (#937) is a local variable never initialized
SnowFloki.manage_trusted(address[]).i (#945) is a local variable never initialized
SnowFloki.excludeFromFee(address[]).i (#912) 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
SnowFloki.addLiquidity(uint256,uint256) (#764-777) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
Ensure that all the return values of the function calls are used.
Additional information: link
SnowFloki.allowance(address,address).owner (#548) shadows:
- Ownable.owner() (#156-158) (function)
SnowFloki._approve(address,address,uint256).owner (#630) shadows:
- Ownable.owner() (#156-158) (function)
Rename the local variables that shadow another component.
Additional information: link
SnowFloki.openTrading(bool,uint256) (#495-503) should emit an event for:
- deadBlocks = _deadBlocks (#501)
SnowFloki.setMaxWalletPercent_base1000(uint256) (#959-961) should emit an event for:
- _maxWalletToken = _tTotal.div(1000).mul(maxWallPercent_base1000) (#960)
SnowFloki.setSwapSettings(uint256,uint256) (#967-969) should emit an event for:
- swapThreshold = (_tTotal * thresholdPercent) / thresholdDivisor (#968)
SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256) (#984-998) should emit an event for:
- _buyLiquidityFee = _liquidityFee (#986)
- _buyMarketingFee = _marketingFee (#987)
- _buyDevFee = _devFee (#988)
- _buyReflectionFee = _reflectionFee (#989)
- reflectionFee = _reflectionFee (#991)
- liquidityFee = _liquidityFee (#992)
- devFee = _devFee (#993)
- marketingFee = _marketingFee (#994)
- ecosystemFee = _ecosystemFee (#995)
- totalFee = liquidityFee.add(marketingFee).add(devFee).add(ecosystemFee) (#996)
SnowFloki.setTaxesSell(uint256,uint256,uint256,uint256) (#1008-1014) should emit an event for:
- _sellLiquidityFee = _liquidityFee (#1009)
- _sellMarketingFee = _marketingFee (#1010)
- _sellDevFee = _devFee (#1011)
- _sellReflectionFee = _reflectionFee (#1012)
Emit an event for critical parameter changes.
Additional information: link
SnowFloki.setWallets(address,address)._marketingWallet (#922) lacks a zero-check on :
- marketingWallet = address(_marketingWallet) (#923)
SnowFloki.setWallets(address,address)._devWallet (#922) lacks a zero-check on :
- devWallet = address(_devWallet) (#924)
SnowFloki.withDrawLeftoverETH(address).receipient (#950) lacks a zero-check on :
- receipient.transfer(address(this).balance) (#951)
Check that the address is not zero.
Additional information: link
Reentrancy in SnowFloki._transfer(address,address,uint256) (#638-695):
External calls:
- swapTokens(contractTokenBalance) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- swapTokens(contractTokenBalance) (#690)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _tFeeTotal = _tFeeTotal.add(tFee) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- currenttotalFee = 0 (#785)
- currenttotalFee = _previousTotalFee (#800)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- reflectionFee = 0 (#784)
- reflectionFee = _previousReflectionFee (#799)
Reentrancy in SnowFloki.constructor() (#473-493):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#477-478)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#482)
- _isExcludedFromFee[address(this)] = true (#483)
- _isMaxWalletExempt[owner()] = true (#484)
- _isMaxWalletExempt[address(this)] = true (#485)
- _isMaxWalletExempt[uniswapV2Pair] = true (#486)
- _isMaxWalletExempt[DEAD] = true (#487)
- _isTrusted[owner()] = true (#488)
- _isTrusted[uniswapV2Pair] = true (#489)
- authorizations[msg.sender] = true (#490)
- uniswapV2Router = _uniswapV2Router (#480)
Reentrancy in SnowFloki.setNewRouter(address) (#510-520):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#514)
State variables written after the call(s):
- uniswapV2Router = _newRouter (#519)
Reentrancy in SnowFloki.swapTokens(uint256) (#697-735):
External calls:
- swapTokensForEth(amountToSwap) (#707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
External calls sending eth:
- sendETHToFee(amountETHMarketing,marketingWallet) (#728)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHEcosystem,ecosystemWallet) (#729)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHdev,devWallet) (#730)
- wallet.transfer(amount) (#738)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- _allowances[owner][spender] = amount (#634)
Reentrancy in SnowFloki.transferFrom(address,address,uint256) (#557-561):
External calls:
- _transfer(sender,recipient,amount) (#558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- _transfer(sender,recipient,amount) (#558)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#559)
- _allowances[owner][spender] = amount (#634)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in SnowFloki._transfer(address,address,uint256) (#638-695):
External calls:
- swapTokens(contractTokenBalance) (#690)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- swapTokens(contractTokenBalance) (#690)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#810)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#830)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#694)
Reentrancy in SnowFloki.constructor() (#473-493):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#477-478)
Event emitted after the call(s):
- Transfer(address(0),_msgSender(),_tTotal) (#492)
Reentrancy in SnowFloki.swapTokens(uint256) (#697-735):
External calls:
- swapTokensForEth(amountToSwap) (#707)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
External calls sending eth:
- sendETHToFee(amountETHMarketing,marketingWallet) (#728)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHEcosystem,ecosystemWallet) (#729)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHdev,devWallet) (#730)
- wallet.transfer(amount) (#738)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#635)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
Reentrancy in SnowFloki.swapTokensForEth(uint256) (#743-761):
External calls:
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
Event emitted after the call(s):
- SwapTokensForETH(tokenAmount,path) (#760)
Reentrancy in SnowFloki.transferFrom(address,address,uint256) (#557-561):
External calls:
- _transfer(sender,recipient,amount) (#558)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#752-758)
External calls sending eth:
- _transfer(sender,recipient,amount) (#558)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#635)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#559)
Apply the check-effects-interactions pattern.
Additional information: link
Address.isContract(address) (#86-95) uses assembly
- INLINE ASM (#93)
Address._functionCallWithValue(address,bytes,uint256,string) (#123-140) uses assembly
- INLINE ASM (#132-135)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#123-140) is never used and should be removed
Address.functionCall(address,bytes) (#106-108) is never used and should be removed
Address.functionCall(address,bytes,string) (#110-112) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#114-116) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#118-121) is never used and should be removed
Address.isContract(address) (#86-95) is never used and should be removed
Address.sendValue(address,uint256) (#97-103) is never used and should be removed
Context._msgData() (#9-12) is never used and should be removed
SafeMath.mod(uint256,uint256) (#74-76) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#78-81) is never used and should be removed
SnowFloki.transferToAddressETH(address,uint256) (#928-930) is never used and should be removed
Remove unused functions.
Additional information: link
SnowFloki._tTotal (#416) is set pre-construction with a non-constant function or state variable:
- 1000000000000 * 10 ** _decimals
SnowFloki._rTotal (#417) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
SnowFloki._maxWalletToken (#423) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(1000).mul(5)
SnowFloki.liquidityFee (#436) is set pre-construction with a non-constant function or state variable:
- _buyLiquidityFee
SnowFloki.marketingFee (#437) is set pre-construction with a non-constant function or state variable:
- _buyMarketingFee
SnowFloki.devFee (#438) is set pre-construction with a non-constant function or state variable:
- _buyDevFee
SnowFloki.reflectionFee (#439) is set pre-construction with a non-constant function or state variable:
- _buyReflectionFee
SnowFloki.totalFee (#442-443) is set pre-construction with a non-constant function or state variable:
- liquidityFee.add(marketingFee).add(devFee).add(ecosystemFee)
SnowFloki.currenttotalFee (#444) is set pre-construction with a non-constant function or state variable:
- totalFee
SnowFloki.swapThreshold (#446) is set pre-construction with a non-constant function or state variable:
- _tTotal.div(10000).mul(5)
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.4 (#2) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6
solc-0.8.4 is not recommended for deployment
Deploy with any of the following Solidity versions: 0.5.16 - 0.5.17, 0.6.11 - 0.6.12, 0.7.5 - 0.7.6 Use a simple pragma version that allows any of these versions. Consider using the latest version of Solidity for testing.
Additional information: link
Low level call in Address.sendValue(address,uint256) (#97-103):
- (success) = recipient.call{value: amount}() (#101)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#123-140):
- (success,returndata) = target.call{value: weiValue}(data) (#126)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#213) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#214) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#230) is not in mixedCase
Function IUniswapV2Router01.WETH() (#251) is not in mixedCase
Parameter SnowFloki.openTrading(bool,uint256)._status (#495) is not in mixedCase
Parameter SnowFloki.openTrading(bool,uint256)._deadBlocks (#495) is not in mixedCase
Parameter SnowFloki.setZeroBuyTaxmode(bool)._status (#506) is not in mixedCase
Parameter SnowFloki.calculateTaxFee(uint256)._amount (#895) is not in mixedCase
Parameter SnowFloki.calculateLiquidityFee(uint256)._amount (#901) is not in mixedCase
Parameter SnowFloki.setWallets(address,address)._marketingWallet (#922) is not in mixedCase
Parameter SnowFloki.setWallets(address,address)._devWallet (#922) is not in mixedCase
Function SnowFloki.manage_Snipers(address[],bool) (#936-942) is not in mixedCase
Function SnowFloki.manage_trusted(address[]) (#944-948) is not in mixedCase
Function SnowFloki.setMaxWalletPercent_base1000(uint256) (#959-961) is not in mixedCase
Parameter SnowFloki.setMaxWalletPercent_base1000(uint256).maxWallPercent_base1000 (#959) is not in mixedCase
Parameter SnowFloki.setMaxWalletExempt(address)._addr (#963) is not in mixedCase
Parameter SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#984) is not in mixedCase
Parameter SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#984) is not in mixedCase
Parameter SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256)._marketingFee (#984) is not in mixedCase
Parameter SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256)._devFee (#984) is not in mixedCase
Parameter SnowFloki.setTaxesBuy(uint256,uint256,uint256,uint256,uint256)._ecosystemFee (#984) is not in mixedCase
Parameter SnowFloki.setTaxesSell(uint256,uint256,uint256,uint256)._reflectionFee (#1008) is not in mixedCase
Parameter SnowFloki.setTaxesSell(uint256,uint256,uint256,uint256)._liquidityFee (#1008) is not in mixedCase
Parameter SnowFloki.setTaxesSell(uint256,uint256,uint256,uint256)._marketingFee (#1008) is not in mixedCase
Parameter SnowFloki.setTaxesSell(uint256,uint256,uint256,uint256)._devFee (#1008) is not in mixedCase
Variable SnowFloki.DEAD (#411) is not in mixedCase
Variable SnowFloki._maxWalletToken (#423) is not in mixedCase
Variable SnowFloki._buyLiquidityFee (#425) is not in mixedCase
Variable SnowFloki._buyDevFee (#426) is not in mixedCase
Variable SnowFloki._buyMarketingFee (#427) is not in mixedCase
Variable SnowFloki._buyReflectionFee (#428) is not in mixedCase
Variable SnowFloki._sellLiquidityFee (#430) is not in mixedCase
Variable SnowFloki._sellMarketingFee (#431) is not in mixedCase
Variable SnowFloki._sellDevFee (#432) is not in mixedCase
Variable SnowFloki._sellReflectionFee (#433) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#10)" inContext (#4-13)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Reentrancy in SnowFloki._transfer(address,address,uint256) (#638-695):
External calls:
- swapTokens(contractTokenBalance) (#690)
- wallet.transfer(amount) (#738)
External calls sending eth:
- swapTokens(contractTokenBalance) (#690)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _rOwned[address(this)] = _rOwned[address(this)].add(rLiquidity) (#890)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#815)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#806)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#836)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#807)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#826)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#827)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#817)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#838)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _rTotal = _rTotal.sub(rFee) (#845)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _tFeeTotal = _tFeeTotal.add(tFee) (#846)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- _tOwned[address(this)] = _tOwned[address(this)].add(tLiquidity) (#892)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#825)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#835)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#816)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#837)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- currenttotalFee = 0 (#785)
- currenttotalFee = _previousTotalFee (#800)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- reflectionFee = 0 (#784)
- reflectionFee = _previousReflectionFee (#799)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#810)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#820)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#830)
- _tokenTransfer(from,to,amount,takeFee) (#694)
- Transfer(sender,recipient,tTransferAmount) (#841)
- _tokenTransfer(from,to,amount,takeFee) (#694)
Reentrancy in SnowFloki.swapTokens(uint256) (#697-735):
External calls:
- sendETHToFee(amountETHMarketing,marketingWallet) (#728)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHEcosystem,ecosystemWallet) (#729)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHdev,devWallet) (#730)
- wallet.transfer(amount) (#738)
External calls sending eth:
- sendETHToFee(amountETHMarketing,marketingWallet) (#728)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHEcosystem,ecosystemWallet) (#729)
- wallet.transfer(amount) (#738)
- sendETHToFee(amountETHdev,devWallet) (#730)
- wallet.transfer(amount) (#738)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
- _allowances[owner][spender] = amount (#634)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#635)
- addLiquidity(amountToLiquify,amountETHLiquidity) (#733)
Reentrancy in SnowFloki.transferFrom(address,address,uint256) (#557-561):
External calls:
- _transfer(sender,recipient,amount) (#558)
- wallet.transfer(amount) (#738)
External calls sending eth:
- _transfer(sender,recipient,amount) (#558)
- wallet.transfer(amount) (#738)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (#769-776)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#559)
- _allowances[owner][spender] = amount (#634)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#635)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#559)
Apply the check-effects-interactions pattern.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#256) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#257)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._transferFromExcluded(address,address,uint256).tTransferAmount (#824)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._transferBothExcluded(address,address,uint256).tTransferAmount (#834)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki.reflectionFromToken(uint256,bool).rTransferAmount (#597) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._transferFromExcluded(address,address,uint256).rTransferAmount (#824) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#866) is too similar to SnowFloki._transferStandard(address,address,uint256).tTransferAmount (#805)
Variable SnowFloki._transferStandard(address,address,uint256).rTransferAmount (#805) is too similar to SnowFloki._getValues(uint256).tTransferAmount (#850)
Variable SnowFloki._transferToExcluded(address,address,uint256).rTransferAmount (#814) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._getValues(uint256).rTransferAmount (#851) is too similar to SnowFloki._getTValues(uint256).tTransferAmount (#858)
Variable SnowFloki._transferBothExcluded(address,address,uint256).rTransferAmount (#834) is too similar to SnowFloki._transferToExcluded(address,address,uint256).tTransferAmount (#814)
Prevent variables from having similar names.
Additional information: link
SnowFloki.slitherConstructorVariables() (#388-1018) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#411)
SnowFloki.slitherConstructorVariables() (#388-1018) uses literals with too many digits:
- _tTotal = 1000000000000 * 10 ** _decimals (#416)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
Ownable._previousOwner (#145) is never used in SnowFloki (#388-1018)
Ownable._lockTime (#146) is never used in SnowFloki (#388-1018)
Remove unused state variables.
Additional information: link
Ownable._lockTime (#146) should be constant
Ownable._previousOwner (#145) should be constant
SnowFloki.DEAD (#411) should be constant
SnowFloki._decimals (#413) should be constant
SnowFloki._name (#420) should be constant
SnowFloki._symbol (#421) should be constant
SnowFloki.ecosystemWallet (#393) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#165-168)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#170-174)
name() should be declared external:
- SnowFloki.name() (#522-524)
symbol() should be declared external:
- SnowFloki.symbol() (#526-528)
decimals() should be declared external:
- SnowFloki.decimals() (#530-532)
totalSupply() should be declared external:
- SnowFloki.totalSupply() (#534-536)
transfer(address,uint256) should be declared external:
- SnowFloki.transfer(address,uint256) (#543-546)
allowance(address,address) should be declared external:
- SnowFloki.allowance(address,address) (#548-550)
approve(address,uint256) should be declared external:
- SnowFloki.approve(address,uint256) (#552-555)
transferFrom(address,address,uint256) should be declared external:
- SnowFloki.transferFrom(address,address,uint256) (#557-561)
increaseAllowance(address,uint256) should be declared external:
- SnowFloki.increaseAllowance(address,uint256) (#563-566)
decreaseAllowance(address,uint256) should be declared external:
- SnowFloki.decreaseAllowance(address,uint256) (#568-571)
isExcludedFromReward(address) should be declared external:
- SnowFloki.isExcludedFromReward(address) (#573-575)
totalFees() should be declared external:
- SnowFloki.totalFees() (#577-579)
deliver(uint256) should be declared external:
- SnowFloki.deliver(uint256) (#581-588)
reflectionFromToken(uint256,bool) should be declared external:
- SnowFloki.reflectionFromToken(uint256,bool) (#591-600)
excludeMultiple(address) should be declared external:
- SnowFloki.excludeMultiple(address) (#907-909)
excludeFromFee(address[]) should be declared external:
- SnowFloki.excludeFromFee(address[]) (#911-915)
includeInFee(address) should be declared external:
- SnowFloki.includeInFee(address) (#918-920)
isSniper(address) should be declared external:
- SnowFloki.isSniper(address) (#932-934)
manage_Snipers(address[],bool) should be declared external:
- SnowFloki.manage_Snipers(address[],bool) (#936-942)
manage_trusted(address[]) should be declared external:
- SnowFloki.manage_trusted(address[]) (#944-948)
withDrawLeftoverETH(address) should be declared external:
- SnowFloki.withDrawLeftoverETH(address) (#950-952)
withdrawStuckTokens(IERC20,address) should be declared external:
- SnowFloki.withdrawStuckTokens(IERC20,address) (#954-957)
authorize(address) should be declared external:
- SnowFloki.authorize(address) (#1000-1002)
unauthorize(address) should be declared external:
- SnowFloki.unauthorize(address) (#1004-1006)
Use the external attribute for functions never called from the contract.
Additional information: link
Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Token is deployed only at one blockchain
Token has only one trading pair
Unable to find PancakeSwap trading pair to compute liquidity.
Unable to find PancakeSwap trading pair to compute volume.
Unable to find PancakeSwap trading pair to compute number of swaps.
Unable to find website, listings and other project-related information
Young tokens have high risks of price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Telegram account link seems to be invalid
Twitter account link seems to be invalid
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account