Nafty Token Logo

Nafty Token

About Nafty

Listings

Token 2 years
CoinMarketCap 3 years
[CoinGecko] alert: NAFTY has migrated from their previous contract to a new contract. For more information, kindly visit their official Tweet
white paper

NAFTY, as a socialized re-distribution DeFi protocol, helps content creators to earn much more, and content consumers to pay much less via disintermediation, as well as receive rewards from all transactions across the Nafty Network, or in other words – whenever someone (i.e. consumers of adult content) make a transaction on any one of the platforms across the Nafty Network, whether someone is watching a video or communicating directly with a content creator, every token holder on the network receives part of the transaction to his or her wallet.

Laser Scorebeta Last Audit: 22 February 2022

report
Token seems to be (relatively) fine. It still become a scam, but probability is moderate.

Nafty.swapETHForTokens(uint256) (#757-770) sends eth to arbitrary user
Dangerous calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
Nafty.addLiquidity(uint256,uint256) (#798-811) sends eth to arbitrary user
Dangerous calls:
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in Nafty._transfer(address,address,uint256) (#689-723):
External calls:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- address(operationsAddress).transfer(operationsAmt) (#794)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _rOwned[address(this)] += rOperations (#582)
- _rOwned[address(this)] += rLiquidity (#603)
- _rOwned[address(this)] += rBuyback (#593)
- _rOwned[marketingAddress] += rMarketing (#613)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#738)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#739)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _rTotal -= rRfi (#573)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _tOwned[address(this)] += tBuyback (#591)
- _tOwned[sender] = _tOwned[sender] - tAmount (#732)
- _tOwned[marketingAddress] += tMarketing (#611)
- _tOwned[address(this)] += tOperations (#580)
- _tOwned[address(this)] += tLiquidity (#601)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#735)
- swapAndLiquify(swapTokensAtAmount) (#717)
- swapping = true (#407)
- swapping = false (#409)
Apply the check-effects-interactions pattern.

Additional information: link

Nafty.rescueBEP20Tokens(address) (#881-883) ignores return value by IERC20(tokenAddress).transfer(msg.sender,IERC20(tokenAddress).balanceOf(address(this))) (#882)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


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.


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.

Redundant expression "this (#130)" inContext (#124-133)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Nafty.swapAndLiquify(uint256) (#772-796) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - feeRates.liquidity) (#783)
-bnbToAddLiquidityWith = unitBalance * feeRates.liquidity (#784)
Nafty.swapAndLiquify(uint256) (#772-796) performs a multiplication on the result of a division:
-unitBalance = deltaBalance / (denominator - feeRates.liquidity) (#783)
-operationsAmt = unitBalance * 2 * feeRates.operations (#792)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in Nafty.setRouterAddress(address) (#886-897):
External calls:
- pair = IFactory(_newRouter.factory()).createPair(address(this),_newRouter.WETH()) (#891)
State variables written after the call(s):
- router = _newRouter (#896)
Apply the check-effects-interactions pattern.

Additional information: link

Nafty._transfer(address,address,uint256).isSale (#719) 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

Nafty.addLiquidity(uint256,uint256) (#798-811) ignores return value by router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
Ensure that all the return values of the function calls are used.

Additional information: link

Nafty.allowance(address,address).owner (#454) shadows:
- Ownable.owner() (#250-252) (function)
Nafty._approve(address,address,uint256).owner (#682) shadows:
- Ownable.owner() (#250-252) (function)
Rename the local variables that shadow another component.

Additional information: link

Nafty.setMaxBuyAndSellAmount(uint256,uint256) (#845-848) should emit an event for:
- maxBuyAmount = _maxBuyamount * 10 ** 9 (#846)
- maxSellAmount = _maxSellAmount * 10 ** 9 (#847)
Nafty.updateSwapTokensAtAmount(uint256) (#850-852) should emit an event for:
- swapTokensAtAmount = amount * 10 ** _decimals (#851)
Nafty.setBuybackUpperLimit(uint256) (#867-869) should emit an event for:
- buyBackUpperLimit = buyBackLimit * 10 ** 15 (#868)
Emit an event for critical parameter changes.

Additional information: link

Nafty.constructor(address)._pair (#414-415) lacks a zero-check on :
- pair = _pair (#418)
Check that the address is not zero.

Additional information: link

Reentrancy in Nafty._transfer(address,address,uint256) (#689-723):
External calls:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- address(operationsAddress).transfer(operationsAmt) (#794)
State variables written after the call(s):
- swapAndLiquify(swapTokensAtAmount) (#717)
- _allowances[owner][spender] = amount (#685)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- totFeesPaid.marketing += tMarketing (#607)
- totFeesPaid.operations += tOperations (#578)
- totFeesPaid.liquidity += tLiquidity (#597)
- totFeesPaid.buyBack += tBuyback (#587)
- totFeesPaid.rfi += tRfi (#574)
Reentrancy in Nafty.constructor(address) (#412-426):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#414-415)
State variables written after the call(s):
- _isExcludedFromFee[owner()] = true (#421)
- _isExcludedFromFee[marketingAddress] = true (#422)
- _isExcludedFromFee[operationsAddress] = true (#423)
- _rOwned[owner()] = _rTotal (#420)
- pair = _pair (#418)
- router = _router (#417)
Reentrancy in Nafty.swapAndLiquify(uint256) (#772-796):
External calls:
- swapTokensForBNB(toSwap) (#780)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
State variables written after the call(s):
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
- _allowances[owner][spender] = amount (#685)
Reentrancy in Nafty.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- address(operationsAddress).transfer(operationsAmt) (#794)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
- _allowances[owner][spender] = amount (#685)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Nafty._transfer(address,address,uint256) (#689-723):
External calls:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- address(operationsAddress).transfer(operationsAmt) (#794)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#686)
- swapAndLiquify(swapTokensAtAmount) (#717)
- Transfer(sender,recipient,s.tTransferAmount) (#745)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- Transfer(sender,address(this),s.tLiquidity + s.tOperations + s.tBuyback) (#746)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- Transfer(sender,marketingAddress,s.tMarketing) (#747)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
Reentrancy in Nafty.constructor(address) (#412-426):
External calls:
- _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH()) (#414-415)
Event emitted after the call(s):
- Transfer(address(0),owner(),_tTotal) (#425)
Reentrancy in Nafty.swapAndLiquify(uint256) (#772-796):
External calls:
- swapTokensForBNB(toSwap) (#780)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
External calls sending eth:
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#686)
- addLiquidity(tokensToAddLiquidityWith,bnbToAddLiquidityWith) (#788)
Reentrancy in Nafty.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#822-828)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- address(operationsAddress).transfer(operationsAmt) (#794)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#686)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
Apply the check-effects-interactions pattern.

Additional information: link

Address.isContract(address) (#138-145) uses assembly
- INLINE ASM (#141-143)
Address._verifyCallResult(bool,bytes,string) (#217-235) uses assembly
- INLINE ASM (#227-230)
Do not use evm assembly.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#217-235) is never used and should be removed
Address.functionCall(address,bytes) (#154-156) is never used and should be removed
Address.functionCall(address,bytes,string) (#158-164) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#166-172) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#174-185) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#202-204) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#206-215) is never used and should be removed
Address.functionStaticCall(address,bytes) (#187-189) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#191-200) is never used and should be removed
Address.isContract(address) (#138-145) is never used and should be removed
Address.sendValue(address,uint256) (#147-152) is never used and should be removed
Context._msgData() (#129-132) is never used and should be removed
SafeMath.div(uint256,uint256,string) (#99-108) is never used and should be removed
SafeMath.mod(uint256,uint256) (#84-86) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#110-119) is never used and should be removed
SafeMath.mul(uint256,uint256) (#76-78) is never used and should be removed
SafeMath.tryAdd(uint256,uint256) (#30-36) is never used and should be removed
SafeMath.tryDiv(uint256,uint256) (#54-59) is never used and should be removed
SafeMath.tryMod(uint256,uint256) (#61-66) is never used and should be removed
SafeMath.tryMul(uint256,uint256) (#45-52) is never used and should be removed
SafeMath.trySub(uint256,uint256) (#38-43) is never used and should be removed
Remove unused functions.

Additional information: link

Nafty._rTotal (#336) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
Nafty.maxBuyAmount (#338) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
Nafty.maxSellAmount (#339) is set pre-construction with a non-constant function or state variable:
- _tTotal.mul(1).div(100)
Remove any initialization of state variables via non-constant state variables or function calls. If variables must be set upon contract deployment, locate initialization in the constructor instead.

Additional information: link

Pragma version^0.8.0 (#2) allows old versions
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) (#147-152):
- (success) = recipient.call{value: amount}() (#150)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#174-185):
- (success,returndata) = target.call{value: value}(data) (#183)
Low level call in Address.functionStaticCall(address,bytes,string) (#191-200):
- (success,returndata) = target.staticcall(data) (#198)
Low level call in Address.functionDelegateCall(address,bytes,string) (#206-215):
- (success,returndata) = target.delegatecall(data) (#213)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IRouter.WETH() (#282) is not in mixedCase
Struct Nafty.feeRatesStruct (#352-358) is not in CapWords
Struct Nafty.valuesFromGetValues (#386-400) is not in CapWords
Parameter Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._rfi (#554) is not in mixedCase
Parameter Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#554) is not in mixedCase
Parameter Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._marketing (#554) is not in mixedCase
Parameter Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._liquidity (#554) is not in mixedCase
Parameter Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._buyback (#554) is not in mixedCase
Parameter Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._rfi (#563) is not in mixedCase
Parameter Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#563) is not in mixedCase
Parameter Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._marketing (#563) is not in mixedCase
Parameter Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._liquidity (#563) is not in mixedCase
Parameter Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._buyback (#563) is not in mixedCase
Parameter Nafty.setMaxBuyAndSellAmount(uint256,uint256)._maxBuyamount (#845) is not in mixedCase
Parameter Nafty.setMaxBuyAndSellAmount(uint256,uint256)._maxSellAmount (#845) is not in mixedCase
Parameter Nafty.updateSwapEnabled(bool)._enabled (#854) is not in mixedCase
Parameter Nafty.updateBuybackEnabled(bool)._enabled (#858) is not in mixedCase
Parameter Nafty.setAntibot(address,bool)._bot (#862) is not in mixedCase
Constant Nafty._decimals (#332) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Nafty.deadAddress (#346) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Nafty._name (#348) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Nafty._symbol (#349) is not in UPPER_CASE_WITH_UNDERSCORES
Follow the Solidity naming convention.

Additional information: link

Reentrancy in Nafty._transfer(address,address,uint256) (#689-723):
External calls:
- swapAndLiquify(swapTokensAtAmount) (#717)
- address(operationsAddress).transfer(operationsAmt) (#794)
External calls sending eth:
- buyBackTokens(balance.div(100)) (#714)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- swapAndLiquify(swapTokensAtAmount) (#717)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- address(operationsAddress).transfer(operationsAmt) (#794)
State variables written after the call(s):
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _rOwned[address(this)] += rOperations (#582)
- _rOwned[address(this)] += rLiquidity (#603)
- _rOwned[address(this)] += rBuyback (#593)
- _rOwned[marketingAddress] += rMarketing (#613)
- _rOwned[sender] = _rOwned[sender] - s.rAmount (#738)
- _rOwned[recipient] = _rOwned[recipient] + s.rTransferAmount (#739)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _rTotal -= rRfi (#573)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- _tOwned[address(this)] += tBuyback (#591)
- _tOwned[sender] = _tOwned[sender] - tAmount (#732)
- _tOwned[marketingAddress] += tMarketing (#611)
- _tOwned[address(this)] += tOperations (#580)
- _tOwned[address(this)] += tLiquidity (#601)
- _tOwned[recipient] = _tOwned[recipient] + s.tTransferAmount (#735)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- totFeesPaid.marketing += tMarketing (#607)
- totFeesPaid.operations += tOperations (#578)
- totFeesPaid.liquidity += tLiquidity (#597)
- totFeesPaid.buyBack += tBuyback (#587)
- totFeesPaid.rfi += tRfi (#574)
Event emitted after the call(s):
- Transfer(sender,recipient,s.tTransferAmount) (#745)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- Transfer(sender,address(this),s.tLiquidity + s.tOperations + s.tBuyback) (#746)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
- Transfer(sender,marketingAddress,s.tMarketing) (#747)
- _tokenTransfer(from,to,amount,! (_isExcludedFromFee[from] || _isExcludedFromFee[to]),isSale) (#722)
Reentrancy in Nafty.transferFrom(address,address,uint256) (#463-467):
External calls:
- _transfer(sender,recipient,amount) (#464)
- address(operationsAddress).transfer(operationsAmt) (#794)
External calls sending eth:
- _transfer(sender,recipient,amount) (#464)
- router.addLiquidityETH{value: bnbAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#803-810)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,deadAddress,block.timestamp.add(300)) (#764-769)
- address(operationsAddress).transfer(operationsAmt) (#794)
State variables written after the call(s):
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
- _allowances[owner][spender] = amount (#685)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#686)
- _approve(sender,_msgSender(),_allowances[sender][_msgSender()].sub(amount,ERC20: transfer amount exceeds allowance)) (#465)
Apply the check-effects-interactions pattern.

Additional information: link

Variable Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#554) is too similar to Nafty._getRValues(Nafty.valuesFromGetValues,uint256,bool,uint256).rOperations (#649)
Variable Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#554) is too similar to Nafty._takeOperations(uint256,uint256).rOperations (#577)
Variable Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#563) is too similar to Nafty._getRValues(Nafty.valuesFromGetValues,uint256,bool,uint256).rOperations (#649)
Variable Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#563) is too similar to Nafty._takeOperations(uint256,uint256).rOperations (#577)
Variable Nafty._getRValues(Nafty.valuesFromGetValues,uint256,bool,uint256).rOperations (#649) is too similar to Nafty._takeOperations(uint256,uint256).tOperations (#577)
Variable Nafty._takeOperations(uint256,uint256).rOperations (#577) is too similar to Nafty._takeOperations(uint256,uint256).tOperations (#577)
Variable Nafty.setFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#554) is too similar to Nafty._takeOperations(uint256,uint256).tOperations (#577)
Variable Nafty.setSellFeeRates(uint256,uint256,uint256,uint256,uint256)._operations (#563) is too similar to Nafty._takeOperations(uint256,uint256).tOperations (#577)
Prevent variables from having similar names.

Additional information: link

Nafty.slitherConstructorVariables() (#311-902) uses literals with too many digits:
- _tTotal = 100000000000 * 10 ** _decimals (#335)
Nafty.slitherConstructorVariables() (#311-902) uses literals with too many digits:
- swapTokensAtAmount = 200000 * 10 ** _decimals (#340)
Nafty.slitherConstructorConstantVariables() (#311-902) uses literals with too many digits:
- deadAddress = 0x000000000000000000000000000000000000dEaD (#346)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Nafty._tTotal (#335) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#259-261)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#263-266)
name() should be declared external:
- Nafty.name() (#429-431)
symbol() should be declared external:
- Nafty.symbol() (#432-434)
decimals() should be declared external:
- Nafty.decimals() (#435-437)
totalSupply() should be declared external:
- Nafty.totalSupply() (#440-442)
transfer(address,uint256) should be declared external:
- Nafty.transfer(address,uint256) (#449-452)
allowance(address,address) should be declared external:
- Nafty.allowance(address,address) (#454-456)
approve(address,uint256) should be declared external:
- Nafty.approve(address,uint256) (#458-461)
transferFrom(address,address,uint256) should be declared external:
- Nafty.transferFrom(address,address,uint256) (#463-467)
increaseAllowance(address,uint256) should be declared external:
- Nafty.increaseAllowance(address,uint256) (#469-472)
decreaseAllowance(address,uint256) should be declared external:
- Nafty.decreaseAllowance(address,uint256) (#474-477)
isExcludedFromReward(address) should be declared external:
- Nafty.isExcludedFromReward(address) (#479-481)
deliver(uint256) should be declared external:
- Nafty.deliver(uint256) (#483-490)
reflectionFromToken(uint256,bool) should be declared external:
- Nafty.reflectionFromToken(uint256,bool) (#492-501)
excludeFromReward(address) should be declared external:
- Nafty.excludeFromReward(address) (#518-525)
excludeFromFee(address) should be declared external:
- Nafty.excludeFromFee(address) (#541-543)
includeInFee(address) should be declared external:
- Nafty.includeInFee(address) (#545-547)
isExcludedFromFee(address) should be declared external:
- Nafty.isExcludedFromFee(address) (#550-552)
isBot(address) should be declared external:
- Nafty.isBot(address) (#871-873)
Use the external attribute for functions never called from the contract.

Additional information: link

Nafty.includeInReward(address) (#527-538) has costly operations inside a loop:
- _excluded.pop() (#534)
Use a local variable to hold the loop computation result.

Additional information: link

Holders:


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


Average 30d number of PancakeSwap swaps is less than 1. Token is either dead or inactive.


Token is deployed only at one blockchain

Contract has 0% buy tax and 9% sell tax.
Taxes are low and contract ownership is renounced.


Last post in Twitter was more than 30 days ago


Unable to find whitepaper link on the website


Unable to find token on CoinHunt

Additional information: link


Unable to find code repository for the project


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

Price for Nafty

News for Nafty