Pekingese Inu Token Logo

Pekingese Inu Token

About Pekingese Inu

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 23 December 2021

report
Token seems to be anonymous. As long as we are unable to find website score is limited.


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

Tokenomics._getFeeStruct(uint256) (#424-430) contains a tautology or contradiction:
- require(bool,string)(index >= 0 && index < fees.length,FeesSettings._getFeeStruct: Fee index out of bounds) (#425-428)
Fix the incorrect comparison by changing the value type or the comparison.

Additional information: link

Contract ticker (Pekingese Inu) contains non-alphanumeric characters.
Not a direct threat, but may indicate unreliable intentions of developer. Non-alphanumeric chars (,.;!#*&") are extremely rare among low risk tokens.

BaseRfiToken._getValues(uint256,uint256) (#905-930) performs a multiplication on the result of a division:
-tTotalFees = tAmount.mul(feesSum).div(FEES_DIVISOR) (#916)
-rTotalFees = tTotalFees.mul(currentRate) (#920)
BaseRfiToken._redistribute(uint256,uint256,uint256,uint256) (#985-996) performs a multiplication on the result of a division:
-tFee = amount.mul(fee).div(FEES_DIVISOR) (#991)
-rFee = tFee.mul(currentRate) (#992)
SafeToken._burn(uint256,uint256,uint256,uint256) (#1307-1318) performs a multiplication on the result of a division:
-tBurn = amount.mul(fee).div(FEES_DIVISOR) (#1313)
-rBurn = tBurn.mul(currentRate) (#1314)
SafeToken._takeFee(uint256,uint256,uint256,address,uint256) (#1320-1337) performs a multiplication on the result of a division:
-tAmount = amount.mul(fee).div(FEES_DIVISOR) (#1327)
-rAmount = tAmount.mul(currentRate) (#1328)
Consider ordering multiplication before division.

Additional information: link

BaseRfiToken.allowance(address,address).owner (#523) shadows:
- Ownable.owner() (#243-245) (function)
BaseRfiToken._approve(address,address,uint256).owner (#748) shadows:
- Ownable.owner() (#243-245) (function)
BaseRfiToken._transferTokens(address,address,uint256,bool).sumOfFees (#859) shadows:
- Tokenomics.sumOfFees (#388) (state variable)
BaseRfiToken._takeFees(uint256,uint256,uint256).sumOfFees (#898) shadows:
- Tokenomics.sumOfFees (#388) (state variable)
Liquifier._approveDelegate(address,address,uint256).owner (#1206) shadows:
- Ownable.owner() (#243-245) (function)
SafeToken.constructor(Liquifier.Env)._env (#1251) shadows:
- Liquifier._env (#1015) (state variable)
SafeToken._takeTransactionFees(uint256,uint256).name (#1293) shadows:
- BaseRfiToken.name() (#491-493) (function)
- IERC20Metadata.name() (#45) (function)
SafeToken._approveDelegate(address,address,uint256).owner (#1340) shadows:
- Ownable.owner() (#243-245) (function)
Rename the local variables that shadow another component.

Additional information: link

Reentrancy in Liquifier._addLiquidity(uint256,uint256) (#1170-1199):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
State variables written after the call(s):
- withdrawableBalance = address(this).balance (#1197)
Reentrancy in Liquifier._setRouterAddress(address) (#1106-1114):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
State variables written after the call(s):
- _router = _newPancakeRouter (#1112)
Reentrancy in Liquifier._swapAndLiquify(uint256,address) (#1116-1148):
External calls:
- _swapTokensForEth(half) (#1131)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1159-1167)
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
External calls sending eth:
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
State variables written after the call(s):
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- withdrawableBalance = address(this).balance (#1197)
Reentrancy in SafeToken.constructor(Liquifier.Env) (#1251-1262):
External calls:
- initializeLiquiditySwapper(_env,maxTransactionAmount,numberOfTokensToSwapToLiquidity) (#1252-1256)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
State variables written after the call(s):
- _exclude(_pair) (#1260)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#715-717)
- _exclude(burnAddress) (#1261)
- _balances[account] = tokenFromReflection(_reflectedBalances[account]) (#715-717)
- _exclude(_pair) (#1260)
- _excluded.push(account) (#720)
- _exclude(burnAddress) (#1261)
- _excluded.push(account) (#720)
- _exclude(_pair) (#1260)
- _isExcludedFromRewards[account] = true (#719)
- _exclude(burnAddress) (#1261)
- _isExcludedFromRewards[account] = true (#719)
Reentrancy in PekingeseInu.constructor() (#1349-1352):
External calls:
- SafeToken(Env.Mainnet) (#1349)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
State variables written after the call(s):
- _approve(owner(),address(_router),~ uint256(0)) (#1351)
- _allowances[owner][spender] = amount (#761)
Reentrancy in Liquifier.initializeLiquiditySwapper(Liquifier.Env,uint256,uint256) (#1054-1068):
External calls:
- _setRouterAddress(_mainnetRouterV2Address) (#1061)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
- _setRouterAddress(_testnetRouterAddress) (#1063)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
State variables written after the call(s):
- maxTransactionAmount = maxTx (#1066)
- numberOfTokensToSwapToLiquidity = liquifyAmount (#1067)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Liquifier._addLiquidity(uint256,uint256) (#1170-1199):
External calls:
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#1198)
Reentrancy in Liquifier._setRouterAddress(address) (#1106-1114):
External calls:
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
Event emitted after the call(s):
- RouterSet(router) (#1113)
Reentrancy in Liquifier._swapAndLiquify(uint256,address) (#1116-1148):
External calls:
- _swapTokensForEth(half) (#1131)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1159-1167)
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
External calls sending eth:
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
Event emitted after the call(s):
- LiquidityAdded(tokenAmountSent,ethAmountSent,liquidity) (#1198)
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
Reentrancy in Liquifier._swapAndLiquify(uint256,address) (#1116-1148):
External calls:
- _swapTokensForEth(half) (#1131)
- _router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (#1159-1167)
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
External calls sending eth:
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
- marketingPayable.transfer(theOtherHalfBalance) (#1145)
Event emitted after the call(s):
- SwapAndLiquify(half,halfNewBalance,otherHalf.div(2)) (#1147)
Reentrancy in PekingeseInu.constructor() (#1349-1352):
External calls:
- SafeToken(Env.Mainnet) (#1349)
- _pair = IPancakeV2Factory(_newPancakeRouter.factory()).createPair(address(this),_newPancakeRouter.WETH()) (#1108-1111)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#762)
- _approve(owner(),address(_router),~ uint256(0)) (#1351)
Apply the check-effects-interactions pattern.

Additional information: link

AntiBot._getBotFee() (#1224-1232) uses timestamp for comparisons
Dangerous comparisons:
- antiBotEnabled && antiBotTime > block.timestamp (#1226)
AntiBot.checkAntiBotStatus() (#1234-1244) uses timestamp for comparisons
Dangerous comparisons:
- antiBotEnabled && antiBotTime > block.timestamp (#1237)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#97-103) uses assembly
- INLINE ASM (#99-101)
Address._verifyCallResult(bool,bytes,string) (#208-225) uses assembly
- INLINE ASM (#217-220)
Do not use evm assembly.

Additional information: link

BaseRfiToken.includeInReward(address) (#723-734) has costly operations inside a loop:
- _excluded.pop() (#730)
Use a local variable to hold the loop computation result.

Additional information: link

Address._verifyCallResult(bool,bytes,string) (#208-225) is never used and should be removed
Address.functionCall(address,bytes) (#117-122) is never used and should be removed
Address.functionCall(address,bytes,string) (#124-130) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#132-144) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#146-161) is never used and should be removed
Address.functionDelegateCall(address,bytes) (#186-196) is never used and should be removed
Address.functionDelegateCall(address,bytes,string) (#198-206) is never used and should be removed
Address.functionStaticCall(address,bytes) (#163-174) is never used and should be removed
Address.functionStaticCall(address,bytes,string) (#176-184) is never used and should be removed
Address.isContract(address) (#97-103) is never used and should be removed
Address.sendValue(address,uint256) (#105-115) is never used and should be removed
BaseRfiToken._beforeTokenTransfer(address,address,uint256,bool) (#962-967) is never used and should be removed
BaseRfiToken._getFeesWithBotImpact() (#969) is never used and should be removed
BaseRfiToken._isV2Pair(address) (#974) is never used and should be removed
BaseRfiToken._takeTransactionFees(uint256,uint256) (#1001-1003) is never used and should be removed
Context._msgData() (#57-60) is never used and should be removed
Liquifier._approveDelegate(address,address,uint256) (#1205-1209) is never used and should be removed
SafeMath.mod(uint256,uint256) (#80-82) is never used and should be removed
Tokenomics._addFee(Tokenomics.FeeType,uint256,address) (#394-401) is never used and should be removed
Tokenomics._addFees() (#403-418) is never used and should be removed
Tokenomics.getCollectedFeeTotal(uint256) (#452-459) is never used and should be removed
Remove unused functions.

Additional information: link

AntiBot.antiBotTime (#1221) is set pre-construction with a non-constant function or state variable:
- block.timestamp.add(antiBotDuration)
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 (#12) 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 Address.sendValue(address,uint256) (#105-115):
- (success) = recipient.call{value: amount}() (#110)
Low level call in Address.functionCallWithValue(address,bytes,uint256,string) (#146-161):
- (success,returndata) = target.call{value: value}(data) (#157-159)
Low level call in Address.functionStaticCall(address,bytes,string) (#176-184):
- (success,returndata) = target.staticcall(data) (#182)
Low level call in Address.functionDelegateCall(address,bytes,string) (#198-206):
- (success,returndata) = target.delegatecall(data) (#204)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Variable Ownable._deployer (#230) is not in mixedCase
Function IPancakeV2Router.WETH() (#283) is not in mixedCase
Variable Tokenomics._reflectedSupply (#324) is not in mixedCase
Constant Tokenomics.maxTransactionAmount (#334) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Tokenomics.maxWalletBalance (#346) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Tokenomics.numberOfTokensToSwapToLiquidity (#361-362) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BaseRfiToken._reflectedBalances (#466) is not in mixedCase
Variable BaseRfiToken._balances (#467) is not in mixedCase
Variable BaseRfiToken._allowances (#468) is not in mixedCase
Variable BaseRfiToken._isExcludedFromFee (#470) is not in mixedCase
Variable BaseRfiToken._isExcludedFromRewards (#471) is not in mixedCase
Variable Liquifier._router (#1024) is not in mixedCase
Variable Liquifier._pair (#1025) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#58)" inContext (#52-61)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in Liquifier._swapAndLiquify(uint256,address) (#1116-1148):
External calls:
- marketingPayable.transfer(theOtherHalfBalance) (#1145)
External calls sending eth:
- _addLiquidity(otherHalf.div(2),halfNewBalance) (#1143)
- (tokenAmountSent,ethAmountSent,liquidity) = _router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,_deployer,block.timestamp) (#1175-1187)
- marketingPayable.transfer(theOtherHalfBalance) (#1145)
Event emitted after the call(s):
- SwapAndLiquify(half,halfNewBalance,otherHalf.div(2)) (#1147)
Apply the check-effects-interactions pattern.

Additional information: link

Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (#866) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#868)
Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (#684) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#917)
Variable BaseRfiToken.reflectionFromToken(uint256,bool).rTransferAmount (#684) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#868)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (#921) is too similar to BaseRfiToken._transferTokens(address,address,uint256,bool).tTransferAmount (#868)
Variable BaseRfiToken._getValues(uint256,uint256).rTransferAmount (#921) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#917)
Variable BaseRfiToken._transferTokens(address,address,uint256,bool).rTransferAmount (#866) is too similar to BaseRfiToken._getValues(uint256,uint256).tTransferAmount (#917)
Prevent variables from having similar names.

Additional information: link

PekingeseInu.slitherConstructorVariables() (#1348-1354) uses literals with too many digits:
- burnAddress = 0x000000000000000000000000000000000000dEaD (#372)
PekingeseInu.slitherConstructorConstantVariables() (#1348-1354) uses literals with too many digits:
- TOTAL_SUPPLY = 1000000000000 * ZEROES (#323)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

AntiBot.antiBotDuration (#1220) should be constant
Liquifier._mainnetRouterV2Address (#1018-1019) should be constant
Liquifier._testnetRouterAddress (#1021-1022) should be constant
Liquifier.swapAndLiquifyEnabled (#1028) should be constant
Tokenomics.burnAddress (#372) should be constant
Tokenomics.marketingAddress (#370-371) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#252-255)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#257-264)
increaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.increaseAllowance(address,uint256) (#633-644)
decreaseAllowance(address,uint256) should be declared external:
- BaseRfiToken.decreaseAllowance(address,uint256) (#646-660)
isExcludedFromFee(address) should be declared external:
- BaseRfiToken.isExcludedFromFee(address) (#743-745)
checkAntiBotStatus() should be declared external:
- AntiBot.checkAntiBotStatus() (#1234-1244)
disableAntiBot() should be declared external:
- SafeToken.disableAntiBot() (#1264-1266)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Number of Binance Smart Chain (BSC) token holders is less than 100. Token is either dead or inactive. Ignore for presale.


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.


Unable to find Telegram and Twitter accounts


Unable to find website, listings and other project-related information


Young tokens have high risks of price dump / death


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank

Price for Pekingese Inu