Luckypig, the Bsc token we all need right now! Let's bring the old Bsc era
back with a pinch of hot features to avoid dumps. Luckypig will bring NFT,
lottery/jackpot concepts together and a contract with low taxes. Our
team's longterm goal is to build an online casino which will be pegged with
our token.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
Reentrancy in LuckyPig._tokenTransfer(address,address,uint256,bool) (#997-1037):
External calls:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#971-977)
External calls sending eth:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
State variables written after the call(s):
- _transferFromExcluded(sender,recipient,amount,taxes) (#1029)
- _rOwned[address(this)] = _rOwned[address(this)].add(rContract) (#841)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1075)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1076)
- _transferToExcluded(sender,recipient,amount,taxes) (#1031)
- _rOwned[address(this)] = _rOwned[address(this)].add(rContract) (#841)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1065)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1067)
- _transferStandard(sender,recipient,amount,taxes) (#1033)
- _rOwned[address(this)] = _rOwned[address(this)].add(rContract) (#841)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1057)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1058)
- _transferBothExcluded(sender,recipient,amount,taxes) (#1035)
- _rOwned[address(this)] = _rOwned[address(this)].add(rContract) (#841)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1084)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1086)
- _transferStandard(sender,recipient,amount,taxes) (#1036)
- _rOwned[address(this)] = _rOwned[address(this)].add(rContract) (#841)
- _rOwned[sender] = _rOwned[sender].sub(rAmount) (#1057)
- _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount) (#1058)
- _transferFromExcluded(sender,recipient,amount,taxes) (#1029)
- _rTotal = _rTotal.sub(rFee) (#796)
- _transferToExcluded(sender,recipient,amount,taxes) (#1031)
- _rTotal = _rTotal.sub(rFee) (#796)
- _transferStandard(sender,recipient,amount,taxes) (#1033)
- _rTotal = _rTotal.sub(rFee) (#796)
- _transferBothExcluded(sender,recipient,amount,taxes) (#1035)
- _rTotal = _rTotal.sub(rFee) (#796)
- _transferStandard(sender,recipient,amount,taxes) (#1036)
- _rTotal = _rTotal.sub(rFee) (#796)
- _transferFromExcluded(sender,recipient,amount,taxes) (#1029)
- _tOwned[address(this)] = _tOwned[address(this)].add(tContract) (#843)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1074)
- _transferToExcluded(sender,recipient,amount,taxes) (#1031)
- _tOwned[address(this)] = _tOwned[address(this)].add(tContract) (#843)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1066)
- _transferStandard(sender,recipient,amount,taxes) (#1033)
- _tOwned[address(this)] = _tOwned[address(this)].add(tContract) (#843)
- _transferBothExcluded(sender,recipient,amount,taxes) (#1035)
- _tOwned[address(this)] = _tOwned[address(this)].add(tContract) (#843)
- _tOwned[sender] = _tOwned[sender].sub(tAmount) (#1083)
- _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount) (#1085)
- _transferStandard(sender,recipient,amount,taxes) (#1036)
- _tOwned[address(this)] = _tOwned[address(this)].add(tContract) (#843)
Apply the check-effects-interactions pattern.
Additional information: link
LuckyPig.TeamReleaseLiquidity() (#1119-1128) ignores return value by liquidityToken.transfer(msg.sender,amount) (#1126)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.
Additional information: link
Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.
LuckyPig.isBotLock(address) (#916-921) uses a dangerous strict equality:
- buyTimestamp == 0 (#918)
Don't use strict equality to determine if an account has enough Ether or tokens.
Additional information: link
LuckyPig.includeInReward(address) (#765-776) has costly operations inside a loop:
- _excluded.pop() (#772)
Use a local variable to hold the loop computation result.
Additional information: link
LuckyPig._swapContractToken() (#932-963) performs a multiplication on the result of a division:
-tokenToSwap = balanceOf(_pancakePairAddress) * 2 / 1000 (#939)
-tokenForLiquidity = (tokenToSwap * _liquidityTax) / totalTax (#944)
Consider ordering multiplication before division.
Additional information: link
LuckyPig._tokenTransfer(address,address,uint256,bool).taxes (#998) 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
LuckyPig.addLiquidity(uint256,uint256) (#980-990) ignores return value by _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
Ensure that all the return values of the function calls are used.
Additional information: link
LuckyPig.allowance(address,address).owner (#1164) shadows:
- Ownable.owner() (#400-402) (function)
LuckyPig._approve(address,address,uint256).owner (#1189) shadows:
- Ownable.owner() (#400-402) (function)
Rename the local variables that shadow another component.
Additional information: link
LuckyPig.SetTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8) (#893-903) should emit an event for:
- _liquidityTax = LP_ (#896)
- _marketingTax = marketing_ (#897)
- _lotteryTax = lottery_ (#898)
- _reflectionTax = reflection_ (#899)
- _buyTax = buy_ (#900)
- _sellTax = sell_ (#901)
- _transferTax = transfer_ (#902)
LuckyPig.SetBotBlacklistTimestamp(uint256) (#909-914) should emit an event for:
- BotBlacklistTimestamp = timestamp (#913)
Emit an event for critical parameter changes.
Additional information: link
Reentrancy in LuckyPig._tokenTransfer(address,address,uint256,bool) (#997-1037):
External calls:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#971-977)
External calls sending eth:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
State variables written after the call(s):
- _transferFromExcluded(sender,recipient,amount,taxes) (#1029)
- _tFeeTotal = _tFeeTotal.add(tFee) (#797)
- _transferToExcluded(sender,recipient,amount,taxes) (#1031)
- _tFeeTotal = _tFeeTotal.add(tFee) (#797)
- _transferStandard(sender,recipient,amount,taxes) (#1033)
- _tFeeTotal = _tFeeTotal.add(tFee) (#797)
- _transferBothExcluded(sender,recipient,amount,taxes) (#1035)
- _tFeeTotal = _tFeeTotal.add(tFee) (#797)
- _transferStandard(sender,recipient,amount,taxes) (#1036)
- _tFeeTotal = _tFeeTotal.add(tFee) (#797)
Reentrancy in LuckyPig.constructor() (#720-738):
External calls:
- _pancakePairAddress = IUniswapV2Factory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#725-727)
State variables written after the call(s):
- _approve(address(this),address(_pancakeRouter),type()(uint256).max) (#735)
- _allowances[owner][spender] = amount (#1193)
- excludeFromReward(_pancakePairAddress) (#737)
- _excluded.push(account) (#762)
- excludeFromReward(_pancakePairAddress) (#737)
- _isExcluded[account] = true (#761)
- _isExcludedFromFee[msg.sender] = true (#731)
- _isExcludedFromFee[address(this)] = true (#732)
- _isExcludedFromFee[address(_pancakeRouter)] = true (#733)
- excludeFromReward(_pancakePairAddress) (#737)
- _tOwned[account] = tokenFromReflection(_rOwned[account]) (#759)
Reentrancy in LuckyPig.transferFrom(address,address,uint256) (#1173-1177):
External calls:
- _transfer(sender,recipient,amount) (#1174)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#971-977)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1174)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
State variables written after the call(s):
- _approve(sender,msg.sender,_allowances[sender][msg.sender].sub(amount,ERC20: transfer amount exceeds allowance)) (#1175)
- _allowances[owner][spender] = amount (#1193)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in LuckyPig.TeamReleaseLiquidity() (#1119-1128):
External calls:
- liquidityToken.transfer(msg.sender,amount) (#1126)
Event emitted after the call(s):
- OnReleaseLiquidity() (#1127)
Reentrancy in LuckyPig._tokenTransfer(address,address,uint256,bool) (#997-1037):
External calls:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#971-977)
External calls sending eth:
- _swapContractToken() (#1023)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
Event emitted after the call(s):
- Transfer(sender,recipient,tTransferAmount) (#1061)
- _transferStandard(sender,recipient,amount,taxes) (#1033)
- Transfer(sender,recipient,tTransferAmount) (#1061)
- _transferStandard(sender,recipient,amount,taxes) (#1036)
- Transfer(sender,recipient,tTransferAmount) (#1070)
- _transferToExcluded(sender,recipient,amount,taxes) (#1031)
- Transfer(sender,recipient,tTransferAmount) (#1079)
- _transferFromExcluded(sender,recipient,amount,taxes) (#1029)
- Transfer(sender,recipient,tTransferAmount) (#1089)
- _transferBothExcluded(sender,recipient,amount,taxes) (#1035)
Reentrancy in LuckyPig.constructor() (#720-738):
External calls:
- _pancakePairAddress = IUniswapV2Factory(_pancakeRouter.factory()).createPair(address(this),_pancakeRouter.WETH()) (#725-727)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1194)
- _approve(address(this),address(_pancakeRouter),type()(uint256).max) (#735)
- Transfer(address(0),msg.sender,_tTotal) (#736)
Reentrancy in LuckyPig.transferFrom(address,address,uint256) (#1173-1177):
External calls:
- _transfer(sender,recipient,amount) (#1174)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
- _pancakeRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#971-977)
External calls sending eth:
- _transfer(sender,recipient,amount) (#1174)
- _pancakeRouter.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(this),block.timestamp) (#982-989)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#1194)
- _approve(sender,msg.sender,_allowances[sender][msg.sender].sub(amount,ERC20: transfer amount exceeds allowance)) (#1175)
Apply the check-effects-interactions pattern.
Additional information: link
LuckyPig.EnableTrading() (#905-908) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(LaunchTimestamp == 0) (#906)
LuckyPig.SetBotBlacklistTimestamp(uint256) (#909-914) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(LaunchTimestamp > 0) (#911)
- require(bool)(timestamp <= block.timestamp && timestamp <= (LaunchTimestamp + BotProtectionTime)) (#912)
LuckyPig.isBotLock(address) (#916-921) uses timestamp for comparisons
Dangerous comparisons:
- buyTimestamp == 0 (#918)
- buyTimestamp < BotBlacklistTimestamp (#919)
LuckyPig._tokenTransfer(address,address,uint256,bool) (#997-1037) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(LaunchTimestamp > 0,Trading Not Yet Enabled) (#1000)
- BotBlacklistTimestamp == 0 && block.timestamp < (LaunchTimestamp + BotProtectionTime) && firstBuyTimestamp[recipient] == 0 (#1005-1007)
- require(bool)(BotBlacklistTimestamp > 0 || block.timestamp > LaunchTimestamp + BotProtectionTime) (#1013)
LuckyPig._prolongLiquidityLock(uint256) (#1110-1114) uses timestamp for comparisons
Dangerous comparisons:
- require(bool)(newUnlockTime > _liquidityUnlockTime) (#1112)
LuckyPig.TeamReleaseLiquidity() (#1119-1128) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp >= _liquidityUnlockTime,Locked) (#1121)
Avoid relying on block.timestamp.
Additional information: link
Address.isContract(address) (#253-262) uses assembly
- INLINE ASM (#260)
Address._functionCallWithValue(address,bytes,uint256,string) (#346-367) uses assembly
- INLINE ASM (#359-362)
Do not use evm assembly.
Additional information: link
Address._functionCallWithValue(address,bytes,uint256,string) (#346-367) is never used and should be removed
Address.functionCall(address,bytes) (#306-308) is never used and should be removed
Address.functionCall(address,bytes,string) (#316-318) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#331-333) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#341-344) is never used and should be removed
Address.isContract(address) (#253-262) is never used and should be removed
Address.sendValue(address,uint256) (#280-286) is never used and should be removed
SafeMath.mod(uint256,uint256) (#209-211) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#225-228) is never used and should be removed
Remove unused functions.
Additional information: link
LuckyPig._rTotal (#665) is set pre-construction with a non-constant function or state variable:
- (MAX - (MAX % _tTotal))
LuckyPig.MaxSell (#873) is set pre-construction with a non-constant function or state variable:
- totalSupply() / 1000
LuckyPig.MaxHold (#874) is set pre-construction with a non-constant function or state variable:
- totalSupply() / 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 (#1) is too complex
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) (#280-286):
- (success) = recipient.call{value: amount}() (#284)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#346-367):
- (success,returndata) = target.call{value: weiValue}(data) (#350)
Low level call in LuckyPig.ClaimMarketing() (#696-715):
- (sent,None) = LotteryWallet.call{value: ContractBalance * _lotteryTax / totalTax}() (#700)
- (sent,None) = MarketingWallet0.call{value: ContractBalance * 20 / 100}() (#703)
- (sent,None) = MarketingWallet1.call{value: ContractBalance * 18 / 100}() (#705)
- (sent,None) = MarketingWallet2.call{value: ContractBalance * 18 / 100}() (#707)
- (sent,None) = MarketingWallet3.call{value: ContractBalance * 18 / 100}() (#709)
- (sent,None) = MarketingWallet4.call{value: ContractBalance * 18 / 100}() (#711)
- (sent,None) = MarketingWallet5.call{value: address(this).balance}() (#713)
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() (#472) is not in mixedCase
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#473) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#490) is not in mixedCase
Function IUniswapV2Router01.WETH() (#512) is not in mixedCase
Function LuckyPig.ClaimMarketing() (#696-715) is not in mixedCase
Parameter LuckyPig.setSwapAndLiquifyEnabled(bool)._enabled (#789) is not in mixedCase
Parameter LuckyPig.calculateReflectionFee(uint256,uint8)._amount (#846) is not in mixedCase
Parameter LuckyPig.calculateContractFee(uint256,uint8)._amount (#850) is not in mixedCase
Function LuckyPig.AmnestyBots(address[]) (#888-891) is not in mixedCase
Function LuckyPig.SetTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8) (#893-903) is not in mixedCase
Parameter LuckyPig.SetTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8).LP_ (#893) is not in mixedCase
Function LuckyPig.EnableTrading() (#905-908) is not in mixedCase
Function LuckyPig.SetBotBlacklistTimestamp(uint256) (#909-914) is not in mixedCase
Function LuckyPig.TeamlimitLiquidityReleaseTo20Percent() (#1100-1102) is not in mixedCase
Function LuckyPig.TeamLockLiquidityForSeconds(uint256) (#1106-1109) is not in mixedCase
Function LuckyPig.TeamReleaseLiquidity() (#1119-1128) is not in mixedCase
Constant LuckyPig._decimals (#670) is not in UPPER_CASE_WITH_UNDERSCORES
Variable LuckyPig._pancakeRouter (#672) is not in mixedCase
Variable LuckyPig._pancakePairAddress (#673) is not in mixedCase
Constant LuckyPig.PancakeRouter (#680) is not in UPPER_CASE_WITH_UNDERSCORES
Variable LuckyPig.MarketingWallet0 (#688) is not in mixedCase
Variable LuckyPig.MarketingWallet1 (#689) is not in mixedCase
Variable LuckyPig.MarketingWallet2 (#690) is not in mixedCase
Variable LuckyPig.MarketingWallet3 (#691) is not in mixedCase
Variable LuckyPig.MarketingWallet4 (#692) is not in mixedCase
Variable LuckyPig.MarketingWallet5 (#693) is not in mixedCase
Variable LuckyPig.LotteryWallet (#694) is not in mixedCase
Variable LuckyPig._liquidityTax (#866) is not in mixedCase
Variable LuckyPig._marketingTax (#867) is not in mixedCase
Variable LuckyPig._lotteryTax (#868) is not in mixedCase
Variable LuckyPig._reflectionTax (#869) is not in mixedCase
Variable LuckyPig._buyTax (#870) is not in mixedCase
Variable LuckyPig._sellTax (#871) is not in mixedCase
Variable LuckyPig._transferTax (#872) is not in mixedCase
Variable LuckyPig.MaxSell (#873) is not in mixedCase
Variable LuckyPig.MaxHold (#874) is not in mixedCase
Variable LuckyPig.LaunchTimestamp (#880) is not in mixedCase
Variable LuckyPig.BotProtectionTime (#883) is not in mixedCase
Variable LuckyPig.BotBlacklistTimestamp (#885) is not in mixedCase
Variable LuckyPig.DefaultLiquidityLockTime (#1097) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#517) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#518)
Variable LuckyPig.MarketingWallet0 (#688) is too similar to LuckyPig.MarketingWallet1 (#689)
Variable LuckyPig.MarketingWallet0 (#688) is too similar to LuckyPig.MarketingWallet2 (#690)
Variable LuckyPig.MarketingWallet0 (#688) is too similar to LuckyPig.MarketingWallet3 (#691)
Variable LuckyPig.MarketingWallet0 (#688) is too similar to LuckyPig.MarketingWallet4 (#692)
Variable LuckyPig.MarketingWallet0 (#688) is too similar to LuckyPig.MarketingWallet5 (#693)
Variable LuckyPig.MarketingWallet1 (#689) is too similar to LuckyPig.MarketingWallet2 (#690)
Variable LuckyPig.MarketingWallet1 (#689) is too similar to LuckyPig.MarketingWallet3 (#691)
Variable LuckyPig.MarketingWallet1 (#689) is too similar to LuckyPig.MarketingWallet4 (#692)
Variable LuckyPig.MarketingWallet1 (#689) is too similar to LuckyPig.MarketingWallet5 (#693)
Variable LuckyPig.MarketingWallet2 (#690) is too similar to LuckyPig.MarketingWallet3 (#691)
Variable LuckyPig.MarketingWallet2 (#690) is too similar to LuckyPig.MarketingWallet4 (#692)
Variable LuckyPig.MarketingWallet2 (#690) is too similar to LuckyPig.MarketingWallet5 (#693)
Variable LuckyPig.MarketingWallet3 (#691) is too similar to LuckyPig.MarketingWallet4 (#692)
Variable LuckyPig.MarketingWallet3 (#691) is too similar to LuckyPig.MarketingWallet5 (#693)
Variable LuckyPig.MarketingWallet4 (#692) is too similar to LuckyPig.MarketingWallet5 (#693)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._transferStandard(address,address,uint256,uint8).rTransferAmount (#1056) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._getRValues(uint256,uint256,uint256,uint256).rTransferAmount (#817) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._transferToExcluded(address,address,uint256,uint8).tTransferAmount (#1064)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Variable LuckyPig._getValues(uint256,uint8).rTransferAmount (#802) is too similar to LuckyPig._transferStandard(address,address,uint256,uint8).tTransferAmount (#1056)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._getValues(uint256,uint8).tTransferAmount (#801)
Variable LuckyPig._transferFromExcluded(address,address,uint256,uint8).rTransferAmount (#1073) is too similar to LuckyPig._getTValues(uint256,uint8).tTransferAmount (#809)
Variable LuckyPig._transferBothExcluded(address,address,uint256,uint8).rTransferAmount (#1082) is too similar to LuckyPig._transferBothExcluded(address,address,uint256,uint8).tTransferAmount (#1082)
Variable LuckyPig._transferToExcluded(address,address,uint256,uint8).rTransferAmount (#1064) is too similar to LuckyPig._transferFromExcluded(address,address,uint256,uint8).tTransferAmount (#1073)
Prevent variables from having similar names.
Additional information: link
Ownable._previousOwner (#384) is never used in LuckyPig (#650-1198)
Ownable._lockTime (#385) is never used in LuckyPig (#650-1198)
Remove unused state variables.
Additional information: link
LuckyPig.BotProtectionTime (#883) should be constant
LuckyPig.DefaultLiquidityLockTime (#1097) should be constant
LuckyPig.LotteryWallet (#694) should be constant
LuckyPig.MarketingWallet0 (#688) should be constant
LuckyPig.MarketingWallet1 (#689) should be constant
LuckyPig.MarketingWallet2 (#690) should be constant
LuckyPig.MarketingWallet3 (#691) should be constant
LuckyPig.MarketingWallet4 (#692) should be constant
LuckyPig.MarketingWallet5 (#693) should be constant
LuckyPig._name (#668) should be constant
LuckyPig._symbol (#669) should be constant
LuckyPig._tTotal (#664) should be constant
Ownable._lockTime (#385) should be constant
Ownable._previousOwner (#384) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
owner() should be declared external:
- Ownable.owner() (#400-402)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#419-422)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#428-432)
ClaimMarketing() should be declared external:
- LuckyPig.ClaimMarketing() (#696-715)
isExcludedFromReward(address) should be declared external:
- LuckyPig.isExcludedFromReward(address) (#741-743)
totalFees() should be declared external:
- LuckyPig.totalFees() (#745-747)
excludeFromFee(address) should be declared external:
- LuckyPig.excludeFromFee(address) (#780-782)
includeInFee(address) should be declared external:
- LuckyPig.includeInFee(address) (#784-786)
setSwapAndLiquifyEnabled(bool) should be declared external:
- LuckyPig.setSwapAndLiquifyEnabled(bool) (#789-791)
isExcludedFromFee(address) should be declared external:
- LuckyPig.isExcludedFromFee(address) (#854-856)
AmnestyBots(address[]) should be declared external:
- LuckyPig.AmnestyBots(address[]) (#888-891)
SetTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8) should be declared external:
- LuckyPig.SetTaxes(uint8,uint8,uint8,uint8,uint8,uint8,uint8) (#893-903)
EnableTrading() should be declared external:
- LuckyPig.EnableTrading() (#905-908)
SetBotBlacklistTimestamp(uint256) should be declared external:
- LuckyPig.SetBotBlacklistTimestamp(uint256) (#909-914)
getTimestamp() should be declared external:
- LuckyPig.getTimestamp() (#923-925)
TeamlimitLiquidityReleaseTo20Percent() should be declared external:
- LuckyPig.TeamlimitLiquidityReleaseTo20Percent() (#1100-1102)
TeamLockLiquidityForSeconds(uint256) should be declared external:
- LuckyPig.TeamLockLiquidityForSeconds(uint256) (#1106-1109)
TeamReleaseLiquidity() should be declared external:
- LuckyPig.TeamReleaseLiquidity() (#1119-1128)
name() should be declared external:
- LuckyPig.name() (#1138-1140)
symbol() should be declared external:
- LuckyPig.symbol() (#1142-1144)
decimals() should be declared external:
- LuckyPig.decimals() (#1146-1148)
transfer(address,uint256) should be declared external:
- LuckyPig.transfer(address,uint256) (#1159-1162)
allowance(address,address) should be declared external:
- LuckyPig.allowance(address,address) (#1164-1166)
approve(address,uint256) should be declared external:
- LuckyPig.approve(address,uint256) (#1168-1171)
transferFrom(address,address,uint256) should be declared external:
- LuckyPig.transferFrom(address,address,uint256) (#1173-1177)
increaseAllowance(address,uint256) should be declared external:
- LuckyPig.increaseAllowance(address,uint256) (#1179-1182)
decreaseAllowance(address,uint256) should be declared external:
- LuckyPig.decreaseAllowance(address,uint256) (#1184-1187)
Use the external attribute for functions never called from the contract.
Additional information: link
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.
Average 30d PancakeSwap volume is low.
Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.
Token is deployed only at one blockchain
Token has only one trading pair
Contract has 10% buy tax and 10% sell tax.
Taxes are low and contract ownership is renounced.
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 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 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
Unable to find Blog account (Reddit or Medium)
Unable to find Youtube account
Unable to find Discord account