$LUFFY is a deflationary token on the ETH chain, it is aiming to build a utility and create a anime community to bring mass adoption of weebs to crypto.
The main goal is building an anime NFT marketplace.
Furthermore you can stake your $LUFFY to earn NFTs in the future.
Reentrancy in LuffyToken._transfer(address,address,uint256) (#1358-1496):
External calls:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
- autoBurnLiquidityPairTokens() (#1448)
- pair.sync() (#1666)
External calls sending eth:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
State variables written after the call(s):
- autoBurnLiquidityPairTokens() (#1448)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#501-504)
- _balances[recipient] = _balances[recipient].add(amount) (#505)
- super._transfer(from,address(this),fees) (#1487)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#501-504)
- _balances[recipient] = _balances[recipient].add(amount) (#505)
- super._transfer(from,to,amount - 1000000) (#1492)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#501-504)
- _balances[recipient] = _balances[recipient].add(amount) (#505)
- super._transfer(from,to,amount) (#1494)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#501-504)
- _balances[recipient] = _balances[recipient].add(amount) (#505)
- tokenForBurn += (fees * sellBurnFee) / sellTotalFees (#1466)
- tokenForBurn += (fees * buyBurnFee) / buyTotalFees (#1473)
- tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1464)
- tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1471)
- tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1465)
- tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1472)
Reentrancy in LuffyToken._transfer(address,address,uint256) (#1358-1496):
External calls:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
External calls sending eth:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
State variables written after the call(s):
- swapping = false (#1438)
Apply the check-effects-interactions pattern.
Additional information: link
LuffyToken._rOwned (#1120) is never initialized. It is used in:
- LuffyToken._getCurrentSupply() (#1529-1540)
LuffyToken._tOwned (#1121) is never initialized. It is used in:
- LuffyToken._getCurrentSupply() (#1529-1540)
LuffyToken._exclud (#1119) is never initialized. It is used in:
- LuffyToken._getCurrentSupply() (#1529-1540)
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
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
LuffyToken.swapBack() (#1575-1627) uses a dangerous strict equality:
- contractBalance == 0 || totalTokensToSwap == 0 (#1580)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
LuffyToken.setAutoLPBurnSettings(uint256,uint256,bool) (#1629-1646) contains a tautology or contradiction:
- require(bool,string)(_percent <= 1000 && _percent >= 0,Must set auto LP burn percent between 0% and 10%) (#1638-1641)
Fix the incorrect comparison by changing the value type or the comparison.
Additional information: link
Contract ownership is not renounced (belongs to a wallet)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1470)
-tokenForBurn += (fees * buyBurnFee) / buyTotalFees (#1473)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees (#1465)
-fees = amount.mul(buyTotalFees).div(100) (#1470)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1470)
-tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees (#1471)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-tokenForBurn += (fees * sellBurnFee) / sellTotalFees (#1466)
-fees = amount.mul(buyTotalFees).div(100) (#1470)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#1463)
-tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees (#1464)
LuffyToken._transfer(address,address,uint256) (#1358-1496) performs a multiplication on the result of a division:
-fees = amount.mul(buyTotalFees).div(100) (#1470)
-tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees (#1472)
Consider ordering multiplication before division.
Additional information: link
Reentrancy in LuffyToken.swapBack() (#1575-1627):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
State variables written after the call(s):
- super._transfer(address(this),deadAddress,tokenForBurn) (#1607)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#501-504)
- _balances[recipient] = _balances[recipient].add(amount) (#505)
- tokenForBurn = 0 (#1608)
- tokensForLiquidity = 0 (#1611)
- tokensForMarketing = 0 (#1612)
Apply the check-effects-interactions pattern.
Additional information: link
LuffyToken.addLiquidity(uint256,uint256) (#1560-1573) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
Ensure that all the return values of the function calls are used.
Additional information: link
LuffyToken.updateMaxWalletAmount(uint256) (#1269-1275) should emit an event for:
- maxWallet = newNum * (10 ** 9) (#1274)
LuffyToken.setAutoLPBurnSettings(uint256,uint256,bool) (#1629-1646) should emit an event for:
- lpBurnFrequency = _frequencyInBlocks (#1642)
- percentForLPBurn = _percent (#1643)
LuffyToken.updateSwapTokensAtAmount(uint256) (#1244-1259) should emit an event for:
- swapTokensAtAmount = newAmount (#1257)
LuffyToken.updateBuyFees(uint256,uint256,uint256) (#1289-1299) should emit an event for:
- buyMarketingFee = _marketingFee (#1294)
- buyLiquidityFee = _liquidityFee (#1295)
- buyBurnFee = _burnFee (#1296)
- buyTotalFees = buyMarketingFee + buyLiquidityFee + buyBurnFee (#1297)
LuffyToken.updateSellFees(uint256,uint256,uint256) (#1301-1311) should emit an event for:
- sellMarketingFee = _marketingFee (#1306)
- sellLiquidityFee = _liquidityFee (#1307)
- sellBurnFee = _burnFee (#1308)
- sellTotalFees = sellMarketingFee + sellLiquidityFee + sellBurnFee (#1309)
LuffyToken.updateMaxTxnAmount(uint256) (#1261-1267) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 9) (#1266)
Emit an event for critical parameter changes.
Additional information: link
LuffyToken.updateMarketingWallet(address).newMarketingWallet (#1344) lacks a zero-check on :
- marketingWallet = newMarketingWallet (#1349)
Check that the address is not zero.
Additional information: link
Reentrancy in LuffyToken.swapBack() (#1575-1627):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
State variables written after the call(s):
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- _allowances[owner][spender] = amount (#573)
Reentrancy in LuffyToken._transfer(address,address,uint256) (#1358-1496):
External calls:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
- autoBurnLiquidityPairTokens() (#1448)
- pair.sync() (#1666)
External calls sending eth:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
State variables written after the call(s):
- _reflectFee(rFee,tFee) (#1483)
- _rTotal = _rTotal.sub(rFee) (#1499)
- _reflectFee(rFee,tFee) (#1483)
- _tFeeTal = _tFeeTal.add(tFee) (#1500)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LuffyToken.autoBurnLiquidityPairTokens() (#1648-1669):
External calls:
- pair.sync() (#1666)
Event emitted after the call(s):
- AutoNukeLP() (#1667)
Reentrancy in LuffyToken.swapBack() (#1575-1627):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
External calls sending eth:
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#574)
- addLiquidity(liquidityTokens,ethForLiquidity) (#1616)
- SwapAndLiquify(amountToSwapForETH,ethForLiquidity,tokensForLiquidity) (#1617-1621)
Reentrancy in LuffyToken.swapBack() (#1575-1627):
External calls:
- swapTokensForEth(amountToSwapForETH) (#1596)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#506)
- super._transfer(address(this),deadAddress,tokenForBurn) (#1607)
Reentrancy in LuffyToken.manualBurnLiquidityPairTokens(uint256) (#1671-1699):
External calls:
- pair.sync() (#1696)
Event emitted after the call(s):
- ManualNukeLP() (#1697)
Reentrancy in LuffyToken._transfer(address,address,uint256) (#1358-1496):
External calls:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1551-1557)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
- autoBurnLiquidityPairTokens() (#1448)
- pair.sync() (#1666)
External calls sending eth:
- swapBack() (#1436)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,deadAddress,block.timestamp) (#1565-1572)
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
Event emitted after the call(s):
- AutoNukeLP() (#1667)
- autoBurnLiquidityPairTokens() (#1448)
- Transfer(sender,recipient,amount) (#506)
- super._transfer(from,to,amount - 1000000) (#1492)
- Transfer(sender,recipient,amount) (#506)
- super._transfer(from,address(this),fees) (#1487)
- Transfer(sender,recipient,amount) (#506)
- super._transfer(from,to,amount) (#1494)
- Transfer(sender,recipient,amount) (#506)
- autoBurnLiquidityPairTokens() (#1448)
Apply the check-effects-interactions pattern.
Additional information: link
ERC20._burn(address,uint256) (#539-550) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#742-749) is never used and should be removed
Context._msgData() (#20-23) is never used and should be removed
SafeMath.mod(uint256,uint256) (#726-728) is never used and should be removed
Remove unused functions.
Additional information: link
Pragma version0.8.9 (#13) 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
Low level call in LuffyToken.swapBack() (#1575-1627):
- (success,None) = address(marketingWallet).call{value: address(this).balance}() (#1624-1626)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Variable LuffyToken.MaxWalletValue (#1081) is not in mixedCase
Parameter LuffyToken.updateSellFees(uint256,uint256,uint256)._liquidityFee (#1303) is not in mixedCase
Function LuffyToken._getValues(uint256,address) (#1503-1507) is not in mixedCase
Constant LuffyToken.deadAddress (#1071) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#61) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#92) is not in mixedCase
Function LuffyToken._getCurrentSupply() (#1529-1540) is not in mixedCase
Variable LuffyToken._isExcludedMaxTransactionAmount (#1125) is not in mixedCase
Variable LuffyToken._rTotal (#1115) is not in mixedCase
Variable LuffyToken.BlackList (#1093) is not in mixedCase
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#59) is not in mixedCase
Variable LuffyToken._tFeeTal (#1117) is not in mixedCase
Parameter LuffyToken.setMinState(bool)._newState (#1237) is not in mixedCase
Parameter LuffyToken.updateBuyFees(uint256,uint256,uint256)._burnFee (#1292) is not in mixedCase
Parameter LuffyToken.updateSellFees(uint256,uint256,uint256)._burnFee (#1304) is not in mixedCase
Event LuffyTokendevWalletUpdated(address,address) (#1146-1149) is not in CapWords
Parameter LuffyToken.setAutoLPBurnSettings(uint256,uint256,bool)._frequencyInBlocks (#1630) is not in mixedCase
Parameter LuffyToken.setAutoLPBurnSettings(uint256,uint256,bool)._Enabled (#1632) is not in mixedCase
Parameter LuffyToken.updateBuyFees(uint256,uint256,uint256)._liquidityFee (#1291) is not in mixedCase
Parameter LuffyToken.setAutoLPBurnSettings(uint256,uint256,bool)._percent (#1631) is not in mixedCase
Variable LuffyToken._exclud (#1119) is not in mixedCase
Parameter LuffyToken.updateBuyFees(uint256,uint256,uint256)._marketingFee (#1290) is not in mixedCase
Parameter LuffyToken.setTransferTaxEnable(bool)._state (#1227) is not in mixedCase
Function IUniswapV2Router01.WETH() (#863) is not in mixedCase
Event LuffyTokenmarketingWalletUpdated(address,address) (#1141-1144) is not in CapWords
Parameter LuffyToken.updateSellFees(uint256,uint256,uint256)._marketingFee (#1302) is not in mixedCase
Variable LuffyToken._transferTax (#1126) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#21)" inContext (#15-24)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#868) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#869)
Prevent variables from having similar names.
Additional information: link
LuffyToken._transfer(address,address,uint256) (#1358-1496) uses literals with too many digits:
- super._transfer(from,to,amount - 1000000) (#1492)
LuffyToken._transfer(address,address,uint256) (#1358-1496) uses literals with too many digits:
- amount > 1000000 && minEnabled && automatedMarketMakerPairs[to] (#1491)
LuffyToken.constructor() (#1161-1216) uses literals with too many digits:
- tTotal = 100000000000 * 1e9 (#1183)
LuffyToken.updateSwapTokensAtAmount(uint256) (#1244-1259) uses literals with too many digits:
- require(bool,string)(newAmount >= (totalSupply() * 1) / 100000,Swap amount cannot be lower than 0.001% total supply.) (#1249-1252)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
LuffyToken.MaxWalletValue (#1081) should be constant
LuffyToken.manualBurnFrequency (#1087) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#405-420)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#791-794)
setTransferTax(address,uint8) should be declared external:
- LuffyToken.setTransferTax(address,uint8) (#1318-1324)
setAutomatedMarketMakerPair(address,bool) should be declared external:
- LuffyToken.setAutomatedMarketMakerPair(address,bool) (#1326-1336)
decimals() should be declared external:
- ERC20.decimals() (#320-322)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#461-475)
symbol() should be declared external:
- ERC20.symbol() (#303-305)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#352-360)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#434-445)
removeFromBlackList(address) should be declared external:
- LuffyToken.removeFromBlackList(address) (#1717-1719)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#800-807)
addToBlackList(address) should be declared external:
- LuffyToken.addToBlackList(address) (#1713-1715)
name() should be declared external:
- ERC20.name() (#295-297)
isExcludedFromFees(address) should be declared external:
- LuffyToken.isExcludedFromFees(address) (#1352-1354)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#382-390)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#365-373)
Use the external attribute for functions never called from the contract.
Additional information: link
BscScan page for the token does not contain additional info: website, socials, description, etc.
Additional information: link
Unable to find token contract audit
Unable to find KYC or doxxing proof
Unable to verify token contract address on the website
Unable to find audit link on the website
Unable to find whitepaper link on the website
Unable to find Telegram link on the website
Unable to find Twitter link on the website
Token is not listed at Mobula.Finance
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 scam / price dump / death
Young tokens have high risks of scam / price dump / death
Token is relatively young, but twitter if very old (probably it's fake).
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account