PUPPY FLOKI (PFLOKI) is a deflationary token that focuses on rewarding holders automatically with $FLOKI, play to earn (P2E) gaming technology and creating a NFT Marketplace. This revolutionary concept is based on the stability of $FLOKI and instilling holders with the confidence that they will be holding it as a stable reflection. What sets Puppy Floki aside from the rest of the pack is $FLOKI rewards that each holder will receive. The team is led by a team of successful developers and experienced marketing professionals in the BSC space.
Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
PuppyFloki.addLiquidity(uint256,uint256) (#1584-1599) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1590-1597)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in PuppyFloki._transfer(address,address,uint256) (#1437-1509):
External calls:
- swapAndSendToFee(marketingTokens) (#1465)
- IERC20(FLOKI).transfer(_marketingWalletAddress,newBalance) (#1517)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1575-1581)
- swapAndLiquify(swapTokens) (#1468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1590-1597)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1555-1561)
- swapAndSendDividends(sellTokens) (#1471)
- success = IERC20(FLOKI).transfer(address(dividendTracker),dividends) (#1604)
- dividendTracker.distributeFLOKIDividends(dividends) (#1607)
- uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1575-1581)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1468)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1590-1597)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1491)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#371)
- _balances[recipient] = _balances[recipient].add(amount) (#372)
- super._transfer(from,to,amount) (#1494)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#371)
- _balances[recipient] = _balances[recipient].add(amount) (#372)
- swapping = false (#1473)
Apply the check-effects-interactions pattern.
Additional information: link
PuppyFloki.swapAndSendToFee(uint256) (#1511-1518) ignores return value by IERC20(FLOKI).transfer(_marketingWalletAddress,newBalance) (#1517)
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.
Reentrancy in PuppyFloki.updateDividendTracker(address) (#1269-1284):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1276)
- newDividendTracker.excludeFromDividends(address(this)) (#1277)
- newDividendTracker.excludeFromDividends(owner()) (#1278)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1279)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1283)
Apply the check-effects-interactions pattern.
Additional information: link
PuppyFloki._transfer(address,address,uint256).lastProcessedIndex (#1502) 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
PuppyFloki.addLiquidity(uint256,uint256) (#1584-1599) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,address(0),block.timestamp) (#1590-1597)
Ensure that all the return values of the function calls are used.
Additional information: link
DividendPayingToken.accumulativeDividendOf(address)._owner (#625) shadows:
- Ownable._owner (#29) (state variable)
Rename the local variables that shadow another component.
Additional information: link
PuppyFloki.setMarketingFee(uint256) (#1324-1328) should emit an event for:
- marketingFee = value (#1325)
- totalFees = FLOKIRewardsFee.add(liquidityFee).add(marketingFee) (#1326)
Emit an event for critical parameter changes.
Additional information: link
PuppyFloki.setMarketingWallet(address).wallet (#1310) lacks a zero-check on :
- _marketingWalletAddress = wallet (#1311)
Check that the address is not zero.
Additional information: link
Variable 'PuppyFloki._transfer(address,address,uint256).lastProcessedIndex (#1502)' in PuppyFloki._transfer(address,address,uint256) (#1437-1509) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1503)
Move all variable declarations prior to any usage of the variable, and ensure that reaching a variable declaration does not depend on some conditional if it is used unconditionally.
Additional information: link
Reentrancy in PuppyFloki.updateUniswapV2Router(address) (#1286-1293):
External calls:
- _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this),uniswapV2Router.WETH()) (#1290-1291)
State variables written after the call(s):
- uniswapV2Pair = _uniswapV2Pair (#1292)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in PuppyFloki.updateDividendTracker(address) (#1269-1284):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1276)
- newDividendTracker.excludeFromDividends(address(this)) (#1277)
- newDividendTracker.excludeFromDividends(owner()) (#1278)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1279)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1281)
Apply the check-effects-interactions pattern.
Additional information: link
PuppyFlokiDividendTracker.canAutoClaim(uint256) (#1737-1743) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1738)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1742)
Avoid relying on block.timestamp.
Additional information: link
PuppyFloki._transfer(address,address,uint256) (#1437-1509) compares to a boolean constant:
-require(bool,string)(tradingEnabled == true,Trading not enabled yet) (#1445)
Remove the equality to the boolean constant.
Additional information: link
SafeMathInt.mul(int256,int256) (#892-899) is never used and should be removed
Remove unused functions.
Additional information: link
PuppyFloki.totalFees (#1182) is set pre-construction with a non-constant function or state variable:
- FLOKIRewardsFee.add(liquidityFee).add(marketingFee)
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
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
Parameter PuppyFlokiDividendTracker.getAccount(address)._account (#1673) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#23)" inContext (#17-26)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#580) is too similar to PuppyFlokiDividendTracker.getAccount(address).withdrawableDividends (#1678)
Prevent variables from having similar names.
Additional information: link
PuppyFlokiDividendTracker.getAccountAtIndex(uint256) (#1718-1735) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#1729)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
SafeMathInt.MAX_INT256 (#887) is never used in SafeMathInt (#885-943)
Remove unused state variables.
Additional information: link
PuppyFloki.swapTokensAtAmount (#1175) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
process(uint256) should be declared external:
- PuppyFlokiDividendTracker.process(uint256) (#1762-1807)
Use the external attribute for functions never called from the contract.
Additional information: link
Average PancakeSwap trading volume, liqudity, number of swaps are extremely low. Token seems to be dead.
Number of Binance Smart Chain (BSC) token holders is low.
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
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Young tokens have high risks of price dump / death
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