PokeDX Token Logo

PDX [PokeDX] Token

About PDX

Listings

Token 16 months
CoinMarketCap 15 months

Website

white paper

PokeDX is bringing sophisticated trading capabilities to DeFi by rethinking how DEX aggregators operate. Experience best-in-class trading tools, real-time charts and portfolio management all wrapped in a simple yet powerful UI. Powered by the $PDX reflect token.

Laser Scorebeta Last Audit: 9 January 2022

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

Anti-Scam

Links


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

Liquifier._addLiquidity(uint256,uint256) (contracts/pokedx-token.sol#873-904) sends eth to arbitrary user
Dangerous calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

BaseRfiToken._paused (contracts/pokedx-token.sol#180) shadows:
- Pausable._paused (contracts/pokedx-imports.sol#300)
Remove the state variable shadowing.

Additional information: link

Tokenomics._getFeeStruct(uint256) (contracts/pokedx-token.sol#119-125) contains a tautology or contradiction:
- require(bool,string)(index >= 0 && index < fees.length,FeesSettings._getFeeStruct: Fee index out of bounds) (contracts/pokedx-token.sol#120-123)
PokeDX.decreaseFee(uint256,uint256) (contracts/pokedx-token.sol#1091-1099) contains a tautology or contradiction:
- require(bool,string)((_getSumOfFees() - subtractedValue) >= 0,Can't really go negative in there...) (contracts/pokedx-token.sol#1092)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

BaseRfiToken._getValues(uint256,uint256) (contracts/pokedx-token.sol#591-616) performs a multiplication on the result of a division:
-tTotalFees = tAmount * feesSum / FEES_DIVISOR (contracts/pokedx-token.sol#602)
-rTotalFees = tTotalFees * currentRate (contracts/pokedx-token.sol#606)
BaseRfiToken._redistribute(uint256,uint256,uint256,uint256) (contracts/pokedx-token.sol#683-694) performs a multiplication on the result of a division:
-tFee = amount * fee / FEES_DIVISOR (contracts/pokedx-token.sol#689)
-rFee = tFee * currentRate (contracts/pokedx-token.sol#690)
PokeDX._burn(uint256,uint256,uint256,uint256) (contracts/pokedx-token.sol#1035-1046) performs a multiplication on the result of a division:
-tBurn = amount * fee / FEES_DIVISOR (contracts/pokedx-token.sol#1041)
-rBurn = tBurn * currentRate (contracts/pokedx-token.sol#1042)
PokeDX._takeFee(uint256,uint256,uint256,address,uint256) (contracts/pokedx-token.sol#1048-1064) performs a multiplication on the result of a division:
-tAmount = amount * fee / FEES_DIVISOR (contracts/pokedx-token.sol#1055)
-rAmount = tAmount * currentRate (contracts/pokedx-token.sol#1056)
Consider ordering multiplication before division.

Additional information: link

BaseRfiToken.allowance(address,address).owner (contracts/pokedx-token.sol#229) shadows:
- Ownable.owner() (contracts/pokedx-imports.sol#206-208) (function)
BaseRfiToken._approve(address,address,uint256).owner (contracts/pokedx-token.sol#448) shadows:
- Ownable.owner() (contracts/pokedx-imports.sol#206-208) (function)
BaseRfiToken._transferTokens(address,address,uint256,bool).sumOfFees (contracts/pokedx-token.sol#546) shadows:
- Tokenomics.sumOfFees (contracts/pokedx-token.sol#89) (state variable)
BaseRfiToken._takeFees(uint256,uint256,uint256).sumOfFees (contracts/pokedx-token.sol#584) shadows:
- Tokenomics.sumOfFees (contracts/pokedx-token.sol#89) (state variable)
Liquifier._approveDelegate(address,address,uint256).owner (contracts/pokedx-token.sol#956) shadows:
- Ownable.owner() (contracts/pokedx-imports.sol#206-208) (function)
PokeDX._takeTransactionFees(uint256,uint256).name (contracts/pokedx-token.sol#1021) shadows:
- BaseRfiToken.name() (contracts/pokedx-token.sol#197-199) (function)
- IERC20Metadata.name() (contracts/pokedx-imports.sol#41) (function)
PokeDX._approveDelegate(address,address,uint256).owner (contracts/pokedx-token.sol#1068) shadows:
- Ownable.owner() (contracts/pokedx-imports.sol#206-208) (function)
Rename the local variables that shadow another component.

Additional information: link

Liquifier.setLPReceiver(address).receiver (contracts/pokedx-token.sol#863) lacks a zero-check on :
- LPReceiver = receiver (contracts/pokedx-token.sol#864)
Check that the address is not zero.

Additional information: link

Reentrancy in Liquifier._addLiquidity(uint256,uint256) (contracts/pokedx-token.sol#873-904):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
State variables written after the call(s):
- withdrawableBalance = address(this).balance (contracts/pokedx-token.sol#902)
Reentrancy in Liquifier._setRouterAddress(address) (contracts/pokedx-token.sol#810-818):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (contracts/pokedx-token.sol#812-815)
State variables written after the call(s):
- _router = _newPancakeRouter (contracts/pokedx-token.sol#816)
Reentrancy in Liquifier._swapAndLiquify(uint256) (contracts/pokedx-token.sol#820-841):
External calls:
- _swapTokensForEth(half) (contracts/pokedx-token.sol#832)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/pokedx-token.sol#852-860)
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
State variables written after the call(s):
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- withdrawableBalance = address(this).balance (contracts/pokedx-token.sol#902)
Reentrancy in PokeDX.constructor(address) (contracts/pokedx-token.sol#972-984):
External calls:
- initializeLiquiditySwapper(_env,maxTransactionAmount,numberOfTokensToSwapToLiquidity) (contracts/pokedx-token.sol#973-977)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (contracts/pokedx-token.sol#812-815)
State variables written after the call(s):
- _approve(owner(),address(_router),~ uint256(0)) (contracts/pokedx-token.sol#983)
- _allowances[owner][spender] = amount (contracts/pokedx-token.sol#461)
- _exclude(_pair) (contracts/pokedx-token.sol#981)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (contracts/pokedx-token.sol#415-417)
- _exclude(burnAddress) (contracts/pokedx-token.sol#982)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (contracts/pokedx-token.sol#415-417)
- _exclude(_pair) (contracts/pokedx-token.sol#981)
- _excluded.push(account) (contracts/pokedx-token.sol#420)
- _exclude(burnAddress) (contracts/pokedx-token.sol#982)
- _excluded.push(account) (contracts/pokedx-token.sol#420)
- _exclude(_pair) (contracts/pokedx-token.sol#981)
- _isExcludedFromRewards[account] = true (contracts/pokedx-token.sol#419)
- _exclude(burnAddress) (contracts/pokedx-token.sol#982)
- _isExcludedFromRewards[account] = true (contracts/pokedx-token.sol#419)
Reentrancy in Liquifier.initializeLiquiditySwapper(address,uint256,uint256) (contracts/pokedx-token.sol#766-776):
External calls:
- _setRouterAddress(env) (contracts/pokedx-token.sol#771)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (contracts/pokedx-token.sol#812-815)
State variables written after the call(s):
- maxTransactionAmount = maxTx (contracts/pokedx-token.sol#774)
- numberOfTokensToSwapToLiquidity = liquifyAmount (contracts/pokedx-token.sol#775)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Liquifier._addLiquidity(uint256,uint256) (contracts/pokedx-token.sol#873-904):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (contracts/pokedx-token.sol#903)
Reentrancy in Liquifier._setRouterAddress(address) (contracts/pokedx-token.sol#810-818):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (contracts/pokedx-token.sol#812-815)
Event emitted after the call(s):
- RouterSet(router) (contracts/pokedx-token.sol#817)
Reentrancy in Liquifier._swapAndLiquify(uint256) (contracts/pokedx-token.sol#820-841):
External calls:
- _swapTokensForEth(half) (contracts/pokedx-token.sol#832)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/pokedx-token.sol#852-860)
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
External calls sending eth:
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,LPReceiver,block.timestamp) (contracts/pokedx-token.sol#878-892)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (contracts/pokedx-token.sol#903)
- _addLiquidity(otherHalf,newBalance) (contracts/pokedx-token.sol#838)
- SwapAndLiquify(half,newBalance,otherHalf) (contracts/pokedx-token.sol#840)
Reentrancy in PokeDX.constructor(address) (contracts/pokedx-token.sol#972-984):
External calls:
- initializeLiquiditySwapper(_env,maxTransactionAmount,numberOfTokensToSwapToLiquidity) (contracts/pokedx-token.sol#973-977)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (contracts/pokedx-token.sol#812-815)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/pokedx-token.sol#462)
- _approve(owner(),address(_router),~ uint256(0)) (contracts/pokedx-token.sol#983)
Apply the check-effects-interactions pattern.

Additional information: link

BaseRfiToken.includeInReward(address) (contracts/pokedx-token.sol#423-434) has costly operations inside a loop:
- _excluded.pop() (contracts/pokedx-token.sol#430)
Use a local variable to hold the loop computation result.

Additional information: link

Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/pokedx-token.sol#384) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (contracts/pokedx-token.sol#555)
Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (contracts/pokedx-token.sol#553) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (contracts/pokedx-token.sol#555)
Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (contracts/pokedx-token.sol#384) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (contracts/pokedx-token.sol#603)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (contracts/pokedx-token.sol#607) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (contracts/pokedx-token.sol#555)
Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (contracts/pokedx-token.sol#553) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (contracts/pokedx-token.sol#603)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (contracts/pokedx-token.sol#607) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (contracts/pokedx-token.sol#603)
Prevent variables from having similar names.

Additional information: link

PokeDX.slitherConstructorVariables() (contracts/pokedx-token.sol#966-1102) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (contracts/pokedx-token.sol#73)
PokeDX.slitherConstructorConstantVariables() (contracts/pokedx-token.sol#966-1102) uses literals with too many digits:
- TOTAL_SUPPLY = 30000000 * ZEROES (contracts/pokedx-token.sol#53)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

BaseRfiToken._paused (contracts/pokedx-token.sol#180) is never used in PokeDX (contracts/pokedx-token.sol#966-1102)
Liquifier._routerAddress (contracts/pokedx-token.sol#721) is never used in PokeDX (contracts/pokedx-token.sol#966-1102)
Remove unused state variables.

Additional information: link

BaseRfiToken._paused (contracts/pokedx-token.sol#180) should be constant
Liquifier._routerAddress (contracts/pokedx-token.sol#721) should be constant
Tokenomics.burnAddress (contracts/pokedx-token.sol#73) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

Ownable.unlock() (contracts/pokedx-imports.sol#240-248) uses timestamp for comparisons
Dangerous comparisons:
- require(bool,string)(block.timestamp > _lockTime,The contract is still locked) (contracts/pokedx-imports.sol#245)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (contracts/pokedx-imports.sol#60-66) uses assembly
- INLINE ASM (contracts/pokedx-imports.sol#62-64)
Address._verifyCallResult(bool,bytes,string) (contracts/pokedx-imports.sol#171-188) uses assembly
- INLINE ASM (contracts/pokedx-imports.sol#180-183)
Do not use evm assembly.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (contracts/pokedx-imports.sol#171-188) is never used and should be removed
Address.functionCall(address,bytes) (contracts/pokedx-imports.sol#80-85) is never used and should be removed
Address.functionCall(address,bytes,string) (contracts/pokedx-imports.sol#87-93) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (contracts/pokedx-imports.sol#95-107) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (contracts/pokedx-imports.sol#109-124) is never used and should be removed
Address.functionDelegateCall(address,bytes) (contracts/pokedx-imports.sol#149-159) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (contracts/pokedx-imports.sol#161-169) is never used and should be removed
Address.functionStaticCall(address,bytes) (contracts/pokedx-imports.sol#126-137) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (contracts/pokedx-imports.sol#139-147) is never used and should be removed
Address.isContract(address) (contracts/pokedx-imports.sol#60-66) is never used and should be removed
Address.sendValue(address,uint256) (contracts/pokedx-imports.sol#68-78) is never used and should be removed
BaseRfiToken._beforeTokenTransfer(address,address,uint256,bool) (contracts/pokedx-token.sol#648-653) is never used and should be removed
BaseRfiToken._getSumOfFees() (contracts/pokedx-token.sol#663-667) is never used and should be removed
BaseRfiToken._isV2Pair(address) (contracts/pokedx-token.sol#672) is never used and should be removed
BaseRfiToken._takeTransactionFees(uint256,uint256) (contracts/pokedx-token.sol#699-701) is never used and should be removed
Context._msgData() (contracts/pokedx-imports.sol#53-56) is never used and should be removed
Liquifier._approveDelegate(address,address,uint256) (contracts/pokedx-token.sol#955-959) is never used and should be removed
PokeDX._isV2Pair(address) (contracts/pokedx-token.sol#986-988) is never used and should be removed
Tokenomics._addFee(uint256,Tokenomics.FeeType,uint256,address) (contracts/pokedx-token.sol#95-103) is never used and should be removed
Tokenomics._addFees() (contracts/pokedx-token.sol#105-113) is never used and should be removed
Tokenomics.getCollectedFeeTotal(uint256) (contracts/pokedx-token.sol#148-155) is never used and should be removed
Remove unused functions.

Additional information: link

Low level call in Address.sendValue(address,uint256) (contracts/pokedx-imports.sol#68-78):
- (success) = recipient.call{value: amount}() (contracts/pokedx-imports.sol#73)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (contracts/pokedx-imports.sol#109-124):
- (success,returndata) = target.call{value: value}(data) (contracts/pokedx-imports.sol#120-122)
Low level call in Address.functionStaticCall(address,bytes,string) (contracts/pokedx-imports.sol#139-147):
- (success,returndata) = target.staticcall(data) (contracts/pokedx-imports.sol#145)
Low level call in Address.functionDelegateCall(address,bytes,string) (contracts/pokedx-imports.sol#161-169):
- (success,returndata) = target.delegatecall(data) (contracts/pokedx-imports.sol#167)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IPancakeV2Router.WETH() (contracts/pokedx-imports.sol#268) is not in mixedCase
Variable Tokenomics._reflectedSupply (contracts/pokedx-token.sol#54) is not in mixedCase
Constant Tokenomics.maxTransactionAmount (contracts/pokedx-token.sol#59) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Tokenomics.numberOfTokensToSwapToLiquidity (contracts/pokedx-token.sol#68-69) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BaseRfiToken._reflectedBalances (contracts/pokedx-token.sol#173) is not in mixedCase
Variable BaseRfiToken._balances (contracts/pokedx-token.sol#174) is not in mixedCase
Variable BaseRfiToken._allowances (contracts/pokedx-token.sol#175) is not in mixedCase
Variable BaseRfiToken._isExcludedFromFee (contracts/pokedx-token.sol#177) is not in mixedCase
Variable BaseRfiToken._isExcludedFromRewards (contracts/pokedx-token.sol#178) is not in mixedCase
Function Liquifier._setNumberOfTokensToSwapToLiquidity(uint256) (contracts/pokedx-token.sol#757-761) is not in mixedCase
Variable Liquifier._router (contracts/pokedx-token.sol#723) is not in mixedCase
Variable Liquifier._pair (contracts/pokedx-token.sol#724) is not in mixedCase
Variable Liquifier.LPReceiver (contracts/pokedx-token.sol#732) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/pokedx-imports.sol#54)" inContext (contracts/pokedx-imports.sol#48-57)
Remove redundant statements if they congest code but offer no value.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (contracts/pokedx-imports.sol#215-218)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/pokedx-imports.sol#220-227)
getUnlockTime() should be declared external:
- Ownable.getUnlockTime() (contracts/pokedx-imports.sol#229-231)
lock(uint256) should be declared external:
- Ownable.lock(uint256) (contracts/pokedx-imports.sol#233-238)
unlock() should be declared external:
- Ownable.unlock() (contracts/pokedx-imports.sol#240-248)
increaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.increaseAllowance(address,uint256) (contracts/pokedx-token.sol#335-346)
decreaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.decreaseAllowance(address,uint256) (contracts/pokedx-token.sol#348-360)
isExcludedFromFee(address) should be declared external:
- BaseRfiToken.isExcludedFromFee(address) (contracts/pokedx-token.sol#443-445)
pause() should be declared external:
- BaseRfiToken.pause() (contracts/pokedx-token.sol#703-705)
unpause() should be declared external:
- BaseRfiToken.unpause() (contracts/pokedx-token.sol#707-709)
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.


Last post in Twitter was more than 30 days ago


Unable to find Youtube account


Unable to crawl data from the website


Unable to find token contract audit


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


Unable to find code repository for the project


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

Price for PDX

News for PDX