Pocket Token Logo

PCKT [Pocket] Token

About PCKT

Listings

Token 2 years
[CoinGecko] alert: Pocket Doge has migrated to a new contract address. For details information, please watch https://www.youtube.com/watch?v=fXYt4PsMxHo&feature=youtu.be

Pocket Doge is a multi-reflection token where investors can choose between a number of approved tokens to receive as rewards. Future partnerships with other tokens, who meet our stringent criteria, will allow the community to vote on other projects they would like added to the list of reflection options.

A blockchain-based game is also being developed, along with an NFT marketplace. Pocket Doge is the first token of the wider Pocket Pets Ecosystem, which will have additional tokens, with specific use-cases, developed in the future.

Laser Scorebeta Last Audit: 1 December 2021

report
Token is either risky or in presale. For presale 30+ is a fine score.

PCKT.swapBack() (#2317-2352) sends eth to arbitrary user
Dangerous calls:
- (success,None) = address(devWallet).call{value: bnbForDev}() (#2343)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#2344)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in PCKT.buyBackTokensWithNoFees() (#2121-2149):
External calls:
- uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(0,path,address(msg.sender),block.timestamp + 360) (#2139-2144)
State variables written after the call(s):
- _isExcludedFromFees[msg.sender] = prevExclusion (#2146)
Apply the check-effects-interactions pattern.

Additional information: link


Unable to verify that contract auditor is trusted: Certik, Quantstamp, Hacken, Solidity, Paladinsec, Openzeppelin, Verichains

PCKT.swapBack().success (#2342) is written in both
(success,None) = address(devWallet).call{value: bnbForDev}() (#2343)
(success,None) = address(dividendTracker).call{value: bnbForRewards}() (#2344)
Fix or remove the writes.

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.


Not a direct threat, but may indicate unreliable intentions of developer. Widespread names (e.g. Elon, King, Moon, Doge) are common among meme-tokens and scams. The allow to gain free hype and attract unexperienced investors.

PCKT._transfer(address,address,uint256) (#2179-2315) performs a multiplication on the result of a division:
-fees = amount.mul(sellTotalFees).div(100) (#2281)
-tokensForP2E = fees * sellP2eFee / sellTotalFees (#2286)
Consider ordering multiplication before division.

Additional information: link

Reentrancy in PCKT.updateDividendTracker(address) (#1814-1830):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1821)
- newDividendTracker.excludeFromDividends(address(this)) (#1822)
- newDividendTracker.excludeFromDividends(owner()) (#1823)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1824)
- newDividendTracker.excludeFromDividends(address(0xdead)) (#1825)
State variables written after the call(s):
- dividendTracker = newDividendTracker (#1829)
Apply the check-effects-interactions pattern.

Additional information: link

PCKT._transfer(address,address,uint256) (#2179-2315) uses tx.origin for authorization: require(bool,string)(_holderLastTransferTimestamp[tx.origin] < block.number,_transfer:: Transfer Delay enabled. Only one purchase per block allowed.) (#2213)
Do not use tx.origin for authorization.

Additional information: link

PCKT._transfer(address,address,uint256).iterations (#2309) 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

PCKT.addLiquidity(uint256,uint256) (#2375-2390) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,liquidityWallet,block.timestamp) (#2381-2388)
Ensure that all the return values of the function calls are used.

Additional information: link

PCKT.constructor().totalSupply (#1734) shadows:
- ERC20.totalSupply() (#507-509) (function)
- IERC20.totalSupply() (#74) (function)
Rename the local variables that shadow another component.

Additional information: link

PCKT.updateMaxAmount(uint256) (#1938-1941) should emit an event for:
- maxTransactionAmount = newNum * (10 ** 18) (#1940)
Emit an event for critical parameter changes.

Additional information: link

PCKT.updateP2EWallet(address).newWallet (#1896) lacks a zero-check on :
- p2eWallet = newWallet (#1897)
Check that the address is not zero.

Additional information: link

PCKT.airdropToWallets(address[],uint256[]) (#1865-1873) has external calls inside a loop: dividendTracker.setBalance(address(wallet),balanceOf(wallet)) (#1871)
Favor pull over push strategy for external calls.

Additional information: link

Variable 'PCKT._transfer(address,address,uint256).claims (#2309)' in PCKT._transfer(address,address,uint256) (#2179-2315) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (#2310)
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.swapETHForTokensTokenB(address,uint256,address) (#848-890):
External calls:
- swapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(1,path,address(recipient),block.timestamp) (#868-878)
- (success) = recipient.call{gas: 3000,value: ethAmount}() (#882)
State variables written after the call(s):
- withdrawnDividends[recipient] = withdrawnDividends[recipient].sub(ethAmount) (#885)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PCKT.updateDividendTracker(address) (#1814-1830):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (#1821)
- newDividendTracker.excludeFromDividends(address(this)) (#1822)
- newDividendTracker.excludeFromDividends(owner()) (#1823)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (#1824)
- newDividendTracker.excludeFromDividends(address(0xdead)) (#1825)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (#1827)
Apply the check-effects-interactions pattern.

Additional information: link

DividendTracker.canAutoClaim(uint256) (#1506-1512) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (#1507)
- block.timestamp.sub(lastClaimTime) >= claimWait (#1511)
Avoid relying on block.timestamp.

Additional information: link

PCKT.isContract(address) (#1962-1971) uses assembly
- INLINE ASM (#1969)
Do not use evm assembly.

Additional information: link

PCKT.setRewardTokenBWithCustomAMM(address,address) (#2091-2099) compares to a boolean constant:
-require(bool,string)(isAMMWhitelisted(ammContractAddress) == true,PCKT: setRewardToken:: AMM is not whitelisted!) (#2096)
Remove the equality to the boolean constant.

Additional information: link

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

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 PCKT.swapBack() (#2317-2352):
- (success) = address(operationsWallet).call{value: bnbForMarketing}() (#2342)
- (success,None) = address(devWallet).call{value: bnbForDev}() (#2343)
- (success,None) = address(dividendTracker).call{value: bnbForRewards}() (#2344)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable PCKT._isExcludedMaxTransactionAmount (#1635) 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 DividendPayingToken._withdrawDividendOfUser(address)._withdrawableDividend (#991) is too similar to DividendTracker.getAccount(address).withdrawableDividends (#1447)
Prevent variables from having similar names.

Additional information: link

PCKT.slitherConstructorVariables() (#1591-2408) uses literals with too many digits:
- gasForProcessing = 300000 (#1650)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (#231) is never used in SafeMathInt (#229-287)
Remove unused state variables.

Additional information: link

PCKT.gasPriceLimit (#1643) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setWhitelistToken(address,bool) should be declared external:
- PCKT.setWhitelistToken(address,bool) (#1949-1952)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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


BscScan page for the token does not contain additional info: website, socials, description, etc.

Additional information: link


Unable to find token/project description on the website or on BscScan, CoinMarketCap


Unable to verify token contract address 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 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 CoinGecko rank


Token has relatively low CoinMarketCap rank

Price for PCKT