PancakePoll Token Logo

PPOLL [PancakePoll] Token

ALERT: dead

About PPOLL

Listings

Token 2 years
CoinGecko 2 years
CoinMarketCap 2 years
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: 14 October 2022

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.swapAndLiquify(uint256) (#1903-1958) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
PancakePoll.sendToOperationsWallet(uint256) (#2014-2016) sends eth to arbitrary user
Dangerous calls:
- address(operationsWallet).transfer(amount) (#2015)
PancakePoll.addLiquidity(uint256,uint256) (#1981-1996) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
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)
Reentrancy in PancakePoll.buyBackTokensWithNoFees() (#1719-1747):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(msg.sender),block.timestamp + 360) (#1737-1742)
State variables written after the call(s):
- _isExcludedFromFees[msg.sender] = prevExclusion (#1744)
Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (#937-964):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#946)
State variables written after the call(s):
- rawBNBWithdrawnDividends[user] = rawBNBWithdrawnDividends[user].sub(_withdrawableDividend) (#950)
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (#949)
Reentrancy in PancakePoll._transfer(address,address,uint256) (#1772-1901):
External calls:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
State variables written after the call(s):
- super._transfer(from,address(this),fees) (#1884)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#655)
- _balances[recipient] = _balances[recipient].add(amount) (#656)
- super._transfer(from,to,amount) (#1887)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (#655)
- _balances[recipient] = _balances[recipient].add(amount) (#656)
- _holderLastSellDate[from] = block.timestamp (#1878)
- swapping = false (#1857)
Apply the check-effects-interactions pattern.

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.

PancakePoll._transfer(address,address,uint256) (#1772-1901) uses a dangerous strict equality:
- _holderLastSellDate[to] == block.timestamp (#1808)
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


Contract ownership is not renounced (belongs to a wallet)

Reentrancy in PancakePoll._transfer(address,address,uint256) (#1772-1901):
External calls:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (#1855)
- _allowances[owner][spender] = amount (#721)
Reentrancy in PancakePoll.swapAndLiquify(uint256) (#1903-1958):
External calls:
- swapTokensForEth(half) (#1929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (#1935)
- _allowances[owner][spender] = amount (#721)
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)
Reentrancy in PancakePoll.swapAndLiquify(uint256) (#1903-1958):
External calls:
- swapTokensForEth(half) (#1929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- swapTokensForEth(tokensForBuyBackAndOperations) (#1937)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
State variables written after the call(s):
- swapTokensForEth(tokensForBuyBackAndOperations) (#1937)
- _allowances[owner][spender] = amount (#721)
Reentrancy in DividendPayingToken.swapETHForTokens(address,uint256) (#808-851):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#827-837)
State variables written after the call(s):
- rawBNBWithdrawnDividends[recipient] = rawBNBWithdrawnDividends[recipient].add(ethAmount) (#841)
Reentrancy in PPOLLDividendTracker.processAccount(address,bool) (#2291-2301):
External calls:
- amount = _withdrawDividendOfUser(account) (#2292)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#946)
- 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):
- lastClaimTimes[account] = block.timestamp (#2295)
Apply the check-effects-interactions pattern.

Additional information: link

PancakePoll.constructor() (#1350-1396) uses literals with too many digits:
- dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD)) (#1376)
PPOLLDividendTracker.getAccountAtIndex(uint256) (#2200-2217) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (#2211)
PancakePoll.updateGasForProcessing(uint256) (#1545-1550) uses literals with too many digits:
- require(bool,string)(newValue >= 200000 && newValue <= 500000,PancakePoll: gasForProcessing must be between 200,000 and 500,000) (#1546)
PancakePoll.slitherConstructorVariables() (#1252-2022) uses literals with too many digits:
- gasForProcessing = 300000 (#1303)
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

DividendPayingToken.swapETHForTokens(address,uint256) (#808-851) has external calls inside a loop: path[0] = swapRouter.WETH() (#823)
DividendPayingToken.swapETHForTokens(address,uint256) (#808-851) has external calls inside a loop: (success) = recipient.call{gas: 3000,value: ethAmount}() (#842)
DividendPayingToken._withdrawDividendOfUser(address) (#937-964) has external calls inside a loop: (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#946)
DividendPayingToken.swapETHForTokens(address,uint256) (#808-851) has external calls inside a loop: swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#827-837)
Favor pull over push strategy for external calls.

Additional information: link

PancakePoll._transfer(address,address,uint256) (#1772-1901) performs a multiplication on the result of a division:
-rewardSellFee = amount.mul(BNBRewardsFee).div(100).mul(rewardFeeSellFactor).div(100) (#1874)
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)
PancakePoll.getHolderSellFactor(address) (#1604-1620) performs a multiplication on the result of a division:
-timeSinceLastSale = (block.timestamp.sub(_holderLastSellDate[holder])).div(1209600) (#1606)
-sellFeeIncreaseFactor - (timeSinceLastSale.mul(10)) (#1619)
PancakePoll._transfer(address,address,uint256) (#1772-1901) performs a multiplication on the result of a division:
-amount = amount.mul(_maxSellPercent).div(100) (#1825)
-fees = amount.mul(totalFees).div(100) (#1870)
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).iterations (#1895) is a local variable never initialized
PancakePoll._transfer(address,address,uint256).lastProcessedIndex (#1895) is a local variable never initialized
PancakePoll._transfer(address,address,uint256).claims (#1895) is a local variable never initialized
DividendPayingToken.swapETHForTokens(address,uint256).swapSuccess (#813) 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)
PancakePoll._transfer(address,address,uint256) (#1772-1901) ignores return value by dividendTracker.process(gas) (#1895-1899)
PancakePoll.claim() (#1750-1752) ignores return value by dividendTracker.processAccount(address(msg.sender),false) (#1751)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string,uint8)._symbol (#794) shadows:
- ERC20._symbol (#476) (state variable)
DividendPayingToken.accumulativeDividendOf(address)._owner (#994) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.withdrawableDividendOf(address)._owner (#977) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.constructor(string,string,uint8)._decimals (#794) shadows:
- ERC20._decimals (#477) (state variable)
DividendPayingToken.dividendOf(address)._owner (#970) shadows:
- Ownable._owner (#37) (state variable)
DividendPayingToken.constructor(string,string,uint8)._name (#794) shadows:
- ERC20._name (#475) (state variable)
DividendPayingToken.withdrawnDividendOf(address)._owner (#984) shadows:
- Ownable._owner (#37) (state variable)
Rename the local variables that shadow another component.

Additional information: link

PancakePoll.updateMaxTxn(uint256) (#1441-1443) should emit an event for:
- maxSellTransactionAmount = maxTxnAmount (#1442)
PancakePoll.setMaxSellPercent(uint256) (#2018-2021) should emit an event for:
- _maxSellPercent = maxSellPercent (#2020)
PancakePoll.updateSwapTokensAtAmount(uint256) (#1411-1415) should emit an event for:
- swapTokensAtAmount = newAmount (#1413)
Emit an event for critical parameter changes.

Additional information: link

Variable 'PancakePoll._transfer(address,address,uint256).lastProcessedIndex (#1895)' in PancakePoll._transfer(address,address,uint256) (#1772-1901) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1896)
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)
Variable 'PancakePoll._transfer(address,address,uint256).iterations (#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 PancakePoll._transfer(address,address,uint256) (#1772-1901):
External calls:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- dividendTracker.setBalance(address(from),balanceOf(from)) (#1889)
- dividendTracker.setBalance(address(to),balanceOf(to)) (#1890)
- dividendTracker.process(gas) (#1895-1899)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#1896)
Reentrancy in PancakePoll.buyBackTokensWithNoFees() (#1719-1747):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(msg.sender),block.timestamp + 360) (#1737-1742)
Event emitted after the call(s):
- BuyBackWithNoFees(msg.sender,ethAmount) (#1745)
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)
Reentrancy in PancakePoll.swapAndSendDividends(uint256) (#1998-2006):
External calls:
- swapTokensForEth(tokens) (#1999)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
External calls sending eth:
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
Event emitted after the call(s):
- SendDividends(tokens,dividends) (#2004)
Reentrancy in PPOLLDividendTracker.processAccount(address,bool) (#2291-2301):
External calls:
- amount = _withdrawDividendOfUser(account) (#2292)
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#946)
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp + 360) (#827-837)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#842)
Event emitted after the call(s):
- Claim(account,amount,automatic) (#2296)
Reentrancy in PancakePoll.swapAndLiquify(uint256) (#1903-1958):
External calls:
- swapTokensForEth(half) (#1929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#722)
- addLiquidity(otherHalf,newBalance) (#1935)
Reentrancy in PancakePoll.swapAndLiquify(uint256) (#1903-1958):
External calls:
- swapTokensForEth(half) (#1929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- swapTokensForEth(tokensForBuyBackAndOperations) (#1937)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
Event emitted after the call(s):
- SwapAndLiquify(half,newBalance,otherHalf) (#1956)
Reentrancy in PancakePoll._setAutomatedMarketMakerPair(address,bool) (#1762-1770):
External calls:
- dividendTracker.excludeFromDividends(pair) (#1767)
Event emitted after the call(s):
- SetAutomatedMarketMakerPair(pair,value) (#1769)
Reentrancy in PancakePoll.processDividendTracker(uint256) (#1755-1758):
External calls:
- (iterations,claims,lastProcessedIndex) = dividendTracker.process(gas) (#1756)
Event emitted after the call(s):
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,false,gas,tx.origin) (#1757)
Reentrancy in PancakePoll._transfer(address,address,uint256) (#1772-1901):
External calls:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
External calls sending eth:
- swapAndLiquify(swapTokens) (#1852)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
- swapAndSendDividends(sellTokens) (#1855)
- (success) = address(dividendTracker).call{value: dividends}() (#2001)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#722)
- swapAndSendDividends(sellTokens) (#1855)
- SendDividends(tokens,dividends) (#2004)
- swapAndSendDividends(sellTokens) (#1855)
- Transfer(sender,recipient,amount) (#657)
- super._transfer(from,to,amount) (#1887)
- Transfer(sender,recipient,amount) (#657)
- super._transfer(from,address(this),fees) (#1884)
Reentrancy in PancakePoll.swapAndLiquify(uint256) (#1903-1958):
External calls:
- swapTokensForEth(half) (#1929)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
- swapTokensForEth(tokensForBuyBackAndOperations) (#1937)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1971-1977)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (#1935)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#1987-1994)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#722)
- swapTokensForEth(tokensForBuyBackAndOperations) (#1937)
Apply the check-effects-interactions pattern.

Additional information: link

PPOLLDividendTracker.getAccount(address) (#2155-2198) uses timestamp for comparisons
Dangerous comparisons:
- nextClaimTime > block.timestamp (#2195-2197)
PPOLLDividendTracker.canAutoClaim(uint256) (#2219-2225) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#2220)
- block.timestamp.sub(lastClaimTime) >= claimWait (#2224)
PancakePoll.getHolderSellFactor(address) (#1604-1620) uses timestamp for comparisons
Dangerous comparisons:
- _holderLastSellDate[holder] == 0 (#1609)
- timeSinceLastSale >= 7 (#1614)
PancakePoll._transfer(address,address,uint256) (#1772-1901) uses timestamp for comparisons
Dangerous comparisons:
- amount == 0 (#1790)
- require(bool,string)(_holderLastTransferTimestamp[to] < block.timestamp,_transfer:: Transfer Delay enabled. Please try again later.) (#1799)
- _holderLastSellDate[to] == block.timestamp (#1808)
- _holderLastSellDate[to] >= block.timestamp (#1816)
- require(bool,string)(amount <= maxSellTransactionAmount,BEP20: Exceeds max sell amount) (#1823)
- canSwap = contractTokenBalance >= swapTokensAtAmount (#1830)
- canSwap && ! swapping && isSwapAndLiquifyEnabled && ! automatedMarketMakerPairs[from] && from != liquidityWallet && to != liquidityWallet && from != operationsWallet && to != operationsWallet && from != buyBackWallet && to != buyBackWallet && ! _isExcludedFromFees[to] && ! _isExcludedFromFees[from] && from != address(this) && from != address(dividendTracker) (#1833-1846)
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)
DividendPayingToken.setRewardToken(address,address,address) (#870-888) compares to a boolean constant:
-userHasCustomRewardToken[holder] == true (#871)
Remove the equality to the boolean constant.

Additional information: link

SafeMathInt.div(int256,int256) (#270-276) is never used and should be removed
SafeMathInt.abs(int256) (#299-302) is never used and should be removed
SafeMathInt.mul(int256,int256) (#258-265) is never used and should be removed
SafeMath.mod(uint256,uint256,string) (#460-463) is never used and should be removed
Context._msgData() (#30-33) is never used and should be removed
SafeMath.mod(uint256,uint256) (#444-446) is never used and should be removed
DividendPayingToken._transfer(address,address,uint256) (#1004-1010) 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

Pragma version^0.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 PancakePoll.swapAndLiquify(uint256) (#1903-1958):
- (success,None) = address(operationsWallet).call{value: operationsBalance}() (#1945)
- (success,None) = address(buyBackWallet).call{value: buyBackBalance}() (#1952)
Low level call in DividendPayingToken._withdrawDividendOfUser(address) (#937-964):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (#946)
Low level call in DividendPayingToken.swapETHForTokens(address,uint256) (#808-851):
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#842)
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
Function IUniswapV2Pair.PERMIT_TYPEHASH() (#1217) is not in mixedCase
Function IUniswapV2Pair.MINIMUM_LIQUIDITY() (#1234) is not in mixedCase
Constant DividendPayingToken.magnitude (#759) is not in UPPER_CASE_WITH_UNDERSCORES
Function IUniswapV2Pair.DOMAIN_SEPARATOR() (#1216) is not in mixedCase
Variable PancakePoll._holderLastSellDate (#1280) is not in mixedCase
Variable PancakePoll._isAllowedDuringDisabled (#1263) is not in mixedCase
Parameter DividendPayingToken.dividendOf(address)._owner (#970) is not in mixedCase
Parameter DividendPayingToken.withdrawnDividendOf(address)._owner (#984) is not in mixedCase
Variable PancakePoll._maxSellPercent (#1289) is not in mixedCase
Parameter DividendPayingToken.withdrawableDividendOf(address)._owner (#977) is not in mixedCase
Variable PancakePoll._isIgnoredAddress (#1264) is not in mixedCase
Function IUniswapV2Router01.WETH() (#1049) is not in mixedCase
Variable PancakePoll.BNBRewardsFee (#1283) is not in mixedCase
Parameter DividendPayingToken.accumulativeDividendOf(address)._owner (#994) 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

Variable DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#938) is too similar to PPOLLDividendTracker.getAccount(address).withdrawableDividends (#2160)
Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#1054) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#1055)
Prevent variables from having similar names.

Additional information: link

get(IterableMapping.Map,address) should be declared external:
- IterableMapping.get(IterableMapping.Map,address) (#2033-2035)
setRewardToken(address) should be declared external:
- PancakePoll.setRewardToken(address) (#1687-1693)
activateContract() should be declared external:
- PancakePoll.activateContract() (#1713-1716)
transferFrom(address,address,uint256) should be declared external:
- ERC20.transferFrom(address,address,uint256) (#585-593)
getKeyAtIndex(IterableMapping.Map,uint256) should be declared external:
- IterableMapping.getKeyAtIndex(IterableMapping.Map,uint256) (#2044-2046)
getAccountAtIndex(uint256) should be declared external:
- PPOLLDividendTracker.getAccountAtIndex(uint256) (#2200-2217)
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#72-75)
getBNBAvailableForHolderBuyBack(address) should be declared external:
- PancakePoll.getBNBAvailableForHolderBuyBack(address) (#1676-1678)
withdrawDividend() should be declared external:
- DividendPayingToken.withdrawDividend() (#931-933)
- PPOLLDividendTracker.withdrawDividend() (#2115-2117)
getUserCurrentRewardToken(address) should be declared external:
- PancakePoll.getUserCurrentRewardToken(address) (#1582-1584)
decimals() should be declared external:
- ERC20.decimals() (#522-524)
dividendOf(address) should be declared external:
- DividendPayingToken.dividendOf(address) (#970-972)
getIndexOfKey(IterableMapping.Map,address) should be declared external:
- IterableMapping.getIndexOfKey(IterableMapping.Map,address) (#2037-2042)
decreaseAllowance(address,uint256) should be declared external:
- ERC20.decreaseAllowance(address,uint256) (#626-629)
symbol() should be declared external:
- ERC20.symbol() (#505-507)
transfer(address,uint256) should be declared external:
- ERC20.transfer(address,uint256) (#548-551)
increaseAllowance(address,uint256) should be declared external:
- ERC20.increaseAllowance(address,uint256) (#607-610)
unsetRewardToken() should be declared external:
- PancakePoll.unsetRewardToken() (#1707-1710)
size(IterableMapping.Map) should be declared external:
- IterableMapping.size(IterableMapping.Map) (#2050-2052)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#81-85)
process(uint256) should be declared external:
- PPOLLDividendTracker.process(uint256) (#2244-2289)
name() should be declared external:
- ERC20.name() (#497-499)
setRewardTokenWithCustomAMM(address,address) should be declared external:
- PancakePoll.setRewardTokenWithCustomAMM(address,address) (#1696-1704)
withdrawableDividendOf(address) should be declared external:
- PancakePoll.withdrawableDividendOf(address) (#1638-1640)
recoverContractBNB(uint256) should be declared external:
- PancakePoll.recoverContractBNB(uint256) (#2008-2013)
approve(address,uint256) should be declared external:
- ERC20.approve(address,uint256) (#567-570)
setMaxSellPercent(uint256) should be declared external:
- PancakePoll.setMaxSellPercent(uint256) (#2018-2021)
getUserHasCustomRewardToken(address) should be declared external:
- PancakePoll.getUserHasCustomRewardToken(address) (#1586-1588)
updateDividendTracker(address) should be declared external:
- PancakePoll.updateDividendTracker(address) (#1423-1438)
withdrawnDividendOf(address) should be declared external:
- DividendPayingToken.withdrawnDividendOf(address) (#984-986)
dividendTokenBalanceOf(address) should be declared external:
- PancakePoll.dividendTokenBalanceOf(address) (#1642-1644)
getRewardTokenSelectionCount(address) should be declared external:
- PancakePoll.getRewardTokenSelectionCount(address) (#1590-1592)
isExcludedFromFees(address) should be declared external:
- PancakePoll.isExcludedFromFees(address) (#1634-1636)
allowance(address,address) should be declared external:
- ERC20.allowance(address,address) (#556-558)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 10% buy tax and 19% sell tax.
Taxes are suspiciously high (over 10%) and contract ownership is not renounced. Token has a high risk of becoming a honeypot.


Token is deployed only at one blockchain


Swap operations require suspiciously high gas. Contract logic is complex and may disguise some form of scam.


Average 30d PancakeSwap volume is low.


Average 30d number of PancakeSwap swaps is low.


Average PancakeSwap trading volume, liqudity, number of swaps are low. Token seems to be inactive.


Last post in Twitter was more than 180 days ago


Unable to find Youtube account


Unable to find Discord account


Unable to find token contract audit


Unable to find audit link on the website


Token is not listed at Mobula.Finance

Additional information: link


Unable to find token on CoinHunt

Additional information: link


Token is marked as risky (blacklisted creator, fake name, dead project, etc.)

Additional information: link


Token has relatively low CoinMarketCap rank


Young tokens have high risks of price dump / death

Price for PPOLL

News for PPOLL