PancakePoll Token Logo

PPOLL [PancakePoll] Token

ALERT: dead

About PPOLL

Listings

Token 11 months
CoinMarketCap 11 months
white paper

PancakePoll is a voting platform that utilizes the security and immutability of the Binance Smart Chain and is designed to help community members easily and quickly votes for their favorite projects

Social

Laser Scorebeta Last Audit: 30 November 2021

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).

Anti-Scam

Links


Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)

PancakePoll.sendToOperationsWallet(uint256) (#2014-2016) sends eth to arbitrary user
Dangerous calls:
- address(operationsWallet).transfer(amount) (#2015)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#808-851):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#827-837)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#842)
State variables written after the call(s):
- rawBNBWithdrawnDividends[recipient] = rawBNBWithdrawnDividends[recipient].sub(ethAmount) (#846)
Apply the check-effects-interactions pattern.

Additional information: link

PancakePoll.getHolderSellFactor(address) (#1604-1620) uses a dangerous strict equality:
- _holderLastSellDate[holder] == 0 (#1609)
Don't use strict equality to determine if an account has enough Ether or tokens.

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.

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#938) is too similar to PPOLLDividendTracker.getAccount(address).withdrawableDividends (#2160)
Prevent variables from having similar names.

Additional information: link

PancakePoll._transfer(address,address,uint256) (#1772-1901) performs a multiplication on the result of a division:
-otherSellFee = amount.mul(liquidityFee).div(100).mul(getHolderSellFactor(from)).div(100) (#1875)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in PancakePoll.updateDividendTracker(address) (#1423-1438):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1430)
- newDividendTracker.excludeFromDividends(address(this)) (#1431)
- newDividendTracker.excludeFromDividends(owner()) (#1432)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1433)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1437)
Apply the check-effects-interactions pattern.

Additional information: link

PancakePoll._transfer(address,address,uint256).lastProcessedIndex (#1895) 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

PancakePoll.addLiquidity(uint256,uint256) (#1981-1996) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.accumulativeDividendOf(address)._owner (#994) shadows:
- Ownable._owner (#37) (state variable)
Rename the local variables that shadow another component.

Additional information: link

PancakePoll.setMaxSellPercent(uint256) (#2018-2021) should emit an event for:
- _maxSellPercent = maxSellPercent (#2020)
Emit an event for critical parameter changes.

Additional information: link

Variable 'PancakePoll._transfer(address,address,uint256).claims (#1895)' in PancakePoll._transfer(address,address,uint256) (#1772-1901) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1896)
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 DividendPayingToken.swapETHForTokens(address,uint256) (#808-851):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#827-837)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#842)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (#845)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PancakePoll.updateDividendTracker(address) (#1423-1438):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1430)
- newDividendTracker.excludeFromDividends(address(this)) (#1431)
- newDividendTracker.excludeFromDividends(owner()) (#1432)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1433)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1435)
Apply the check-effects-interactions pattern.

Additional information: link

PPOLLDividendTracker.canAutoClaim(uint256) (#2219-2225) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2220)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2224)
Avoid relying on block.timestamp.

Additional information: link

PancakePoll.isContract(address) (#1571-1580) uses assembly
- INLINE ASM (#1578)
Do not use evm assembly.

Additional information: link

PancakePoll.setRewardTokenWithCustomAMM(address,address) (#1696-1704) compares to a boolean constant:
-require(bool,string)(isAMMWhitelisted(ammContractAddress) == true,PancakePoll: setRewardToken:: AMM is not whitelisted!) (#1701)
Remove the equality to the boolean constant.

Additional information: link

SafeMathInt.mul(int256,int256) (#258-265) is never used and should be removed
Remove unused functions.

Additional information: link

PancakePoll.totalFees (#1285) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(liquidityFee)
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.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 PancakePoll.swapAndSendDividends(uint256) (#1998-2006):
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Parameter PPOLLDividendTracker.getAccount(address)._account (#2155) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#31)" inContext (#25-34)
Remove redundant statements if they congest code but offer no value.

Additional information: link

PPOLLDividendTracker.getAccountAtIndex(uint256) (#2200-2217) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2211)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#253) is never used in SafeMathInt (#251-309)
Remove unused state variables.

Additional information: link

PancakePoll.sellFeeIncreaseFactor (#1298) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

process(uint256) should be declared external:
- PPOLLDividendTracker.process(uint256) (#2244-2289)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token is deployed only at one blockchain


Unable to find PancakeSwap trading pair to compute liquidity.


Unable to find PancakeSwap trading pair to compute number of swaps.


Twitter account link seems to be invalid


Unable to find Youtube account


Unable to find Discord account


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 Telegram link on the website


Unable to find Twitter link on the website


Unable to find token on CoinHunt

Additional information: link


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 scam / price dump / death


Young tokens have high risks of price dump / death


Token has relatively low CoinMarketCap rank

Price for PPOLL