Pet Kingdom Token Logo

PKD [Pet Kingdom] Token

About PKD

Listings

Token 3 years
white paper

Earn $PKD by participating in daily fights and deciding the future of the Warriors and The Planet orbit the Sun.

Social

Laser Scorebeta Last Audit: 30 November 2021

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...)

Contract locking ether found:
Contract TokenBEP20 (contracts/main/token/TokenBEP20.sol#9-135) has payable functions:
- TokenBEP20.receive() (contracts/main/token/TokenBEP20.sol#134)
But does not have a function to withdraw the ether
Remove the payable attribute or add a withdraw function.

Additional information: link

TokenBEP20.constructor(string,string,address).symbol (contracts/main/token/TokenBEP20.sol#35) shadows:
- BEP20.symbol() (contracts/main/token/BEP20.sol#63-65) (function)
- IBEP20.symbol() (contracts/main/token/IBEP20.sol#18) (function)
Rename the local variables that shadow another component.

Additional information: link

TokenBEP20.setFarmAdrress(address)._farmAdrress (contracts/main/token/TokenBEP20.sol#106) lacks a zero-check on :
- farmAddress = _farmAdrress (contracts/main/token/TokenBEP20.sol#108)
Check that the address is not zero.

Additional information: link

Reentrancy in TokenBEP20.constructor(string,string,address) (contracts/main/token/TokenBEP20.sol#35-51):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/main/token/TokenBEP20.sol#40)
State variables written after the call(s):
- LPAdrress = _msgSender() (contracts/main/token/TokenBEP20.sol#49)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/main/token/TokenBEP20.sol#43)
- _allowances[owner][spender] = amount (contracts/main/token/BEP20.sol#276)
- _mint(_msgSender(),maxSupply) (contracts/main/token/TokenBEP20.sol#45)
- _balances[account] = _balances[account].add(amount) (contracts/main/token/BEP20.sol#232)
- _isExcludedFromFee[_msgSender()] = true (contracts/main/token/TokenBEP20.sol#46)
- _mint(_msgSender(),maxSupply) (contracts/main/token/TokenBEP20.sol#45)
- _totalSupply = _totalSupply.add(amount) (contracts/main/token/BEP20.sol#231)
- devRewardAdrress = _msgSender() (contracts/main/token/TokenBEP20.sol#48)
- farmAddress = _msgSender() (contracts/main/token/TokenBEP20.sol#47)
- minterAdrress = _msgSender() (contracts/main/token/TokenBEP20.sol#50)
- uniswapV2Router = _uniswapV2Router (contracts/main/token/TokenBEP20.sol#41)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in TokenBEP20.constructor(string,string,address) (contracts/main/token/TokenBEP20.sol#35-51):
External calls:
- uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (contracts/main/token/TokenBEP20.sol#40)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/main/token/BEP20.sol#277)
- _approve(address(this),address(uniswapV2Router),~ uint256(0)) (contracts/main/token/TokenBEP20.sol#43)
- Transfer(address(0),account,amount) (contracts/main/token/BEP20.sol#233)
- _mint(_msgSender(),maxSupply) (contracts/main/token/TokenBEP20.sol#45)
Apply the check-effects-interactions pattern.

Additional information: link

Address.verifyCallResult(bool,bytes,string) (contracts/lib/Address.sol#195-215) uses assembly
- INLINE ASM (contracts/lib/Address.sol#207-210)
Do not use evm assembly.

Additional information: link

Different versions of Solidity is used:
- Version used: ['>=0.6.0<0.9.0', '^0.8.0']
- >=0.6.0<0.9.0 (contracts/interface/Context.sol#2)
- ^0.8.0 (contracts/interface/Ownable.sol#2)
- ^0.8.0 (contracts/lib/Address.sol#3)
- ^0.8.0 (contracts/lib/SafeMath.sol#2)
- ^0.8.0 (contracts/main/token/BEP20.sol#2)
- ^0.8.0 (contracts/main/token/IBEP20.sol#2)
- ^0.8.0 (contracts/main/token/TokenBEP20.sol#3)
- ^0.8.0 (contracts/main/token/uniswap/IUniswapV2Factory.sol#2)
- ^0.8.0 (contracts/main/token/uniswap/IUniswapV2Router01.sol#2)
- ^0.8.0 (contracts/main/token/uniswap/IUniswapV2Router02.sol#2)
Use one Solidity version.

Additional information: link

SafeMath.trySub(uint256,uint256) (contracts/lib/SafeMath.sol#25-32) is never used and should be removed
Remove unused functions.

Additional information: link

solc-0.8.7 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 Address.functionDelegateCall(address,bytes,string) (contracts/lib/Address.sol#178-187):
- (success,returndata) = target.delegatecall(data) (contracts/lib/Address.sol#185)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Function IUniswapV2Router01.WETH() (contracts/main/token/uniswap/IUniswapV2Router01.sol#6) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/interface/Context.sol#10)" inContext (contracts/interface/Context.sol#4-14)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/main/token/uniswap/IUniswapV2Router01.sol#11) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/main/token/uniswap/IUniswapV2Router01.sol#12)
Prevent variables from having similar names.

Additional information: link

TokenBEP20.slitherConstructorVariables() (contracts/main/token/TokenBEP20.sol#9-135) uses literals with too many digits:
- maxTransfer = 100000000000000000000000 (contracts/main/token/TokenBEP20.sol#21)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

TokenBEP20.maxSupply (contracts/main/token/TokenBEP20.sol#11) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setMaxTransferAmount(uint256) should be declared external:
- TokenBEP20.setMaxTransferAmount(uint256) (contracts/main/token/TokenBEP20.sol#129-131)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


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


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.


Twitter account link seems to be invalid


Unable to find Youtube account


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

Additional information: link


Token was delisted (assigned to inactive / untracked listing) from CoinMarketCap

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


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


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death


Token has relatively low CoinGecko rank

Price for PKD