BABY POKEMON Token Logo

BABYPOKEMON [BABY POKEMON] Token

About BABYPOKEMON

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 30 November 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...)

BABYPOKEMON.addLiquidity(uint256,uint256) (contracts/BabyPokeMon.sol#368-383) sends eth to arbitrary user
Dangerous calls:
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BabyPokeMon.sol#374-381)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DividendPayingToken._withdrawDividendOfUser(address) (contracts/utils/DividendPayingToken.sol#89-105):
External calls:
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (contracts/utils/DividendPayingToken.sol#94)
State variables written after the call(s):
- withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend) (contracts/utils/DividendPayingToken.sol#97)
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.

Reentrancy in BABYPOKEMON.updateDividendTracker(address) (contracts/BabyPokeMon.sol#127-142):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BabyPokeMon.sol#134)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BabyPokeMon.sol#135)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BabyPokeMon.sol#136)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BabyPokeMon.sol#137)
State variables written after the call(s):
- dividendTracker = newDividendTracker (contracts/BabyPokeMon.sol#141)
Apply the check-effects-interactions pattern.

Additional information: link

BABYPOKEMON._transfer(address,address,uint256).iterations (contracts/BabyPokeMon.sol#349) 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

BABYPOKEMON.addLiquidity(uint256,uint256) (contracts/BabyPokeMon.sol#368-383) ignores return value by uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BabyPokeMon.sol#374-381)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendPayingToken.constructor(string,string)._symbol (contracts/utils/DividendPayingToken.sol#46) shadows:
- ERC20._symbol (contracts/utils/ERC20.sol#44) (state variable)
Rename the local variables that shadow another component.

Additional information: link

BABYPOKEMON.setMaxSellTxAMount(uint256) (contracts/BabyPokeMon.sol#258-260) should emit an event for:
- maxSellTransactionAmount = amount (contracts/BabyPokeMon.sol#259)
Emit an event for critical parameter changes.

Additional information: link

BABYPOKEMON.setMarketingWallet(address).newWallet (contracts/BabyPokeMon.sol#263) lacks a zero-check on :
- _marketingWallet = address(newWallet) (contracts/BabyPokeMon.sol#264)
Check that the address is not zero.

Additional information: link

Variable 'BABYPOKEMON._transfer(address,address,uint256).lastProcessedIndex (contracts/BabyPokeMon.sol#349)' in BABYPOKEMON._transfer(address,address,uint256) (contracts/BabyPokeMon.sol#285-356) potentially used before declaration: ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BabyPokeMon.sol#350)
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 BABYPOKEMON.swapAndLiquify(uint256) (contracts/BabyPokeMon.sol#385-402):
External calls:
- swapTokensForEth(half) (contracts/BabyPokeMon.sol#393)
- uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount,0,path,address(this),block.timestamp) (contracts/BabyPokeMon.sol#415-421)
- addLiquidity(otherHalf,newBalance) (contracts/BabyPokeMon.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BabyPokeMon.sol#374-381)
External calls sending eth:
- addLiquidity(otherHalf,newBalance) (contracts/BabyPokeMon.sol#399)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BabyPokeMon.sol#374-381)
State variables written after the call(s):
- addLiquidity(otherHalf,newBalance) (contracts/BabyPokeMon.sol#399)
- _allowances[owner][spender] = amount (contracts/utils/ERC20.sol#287)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in BABYPOKEMON.updateDividendTracker(address) (contracts/BabyPokeMon.sol#127-142):
External calls:
- newDividendTracker.excludeFromDividends(address(newDividendTracker)) (contracts/BabyPokeMon.sol#134)
- newDividendTracker.excludeFromDividends(address(this)) (contracts/BabyPokeMon.sol#135)
- newDividendTracker.excludeFromDividends(owner()) (contracts/BabyPokeMon.sol#136)
- newDividendTracker.excludeFromDividends(address(uniswapV2Router)) (contracts/BabyPokeMon.sol#137)
Event emitted after the call(s):
- UpdateDividendTracker(newAddress,address(dividendTracker)) (contracts/BabyPokeMon.sol#139)
Apply the check-effects-interactions pattern.

Additional information: link

BABYPOKEMONDividendTracker.canAutoClaim(uint256) (contracts/BabyPokeMon.sol#561-567) uses timestamp for comparisons
Dangerous comparisons:
- lastClaimTime > block.timestamp (contracts/BabyPokeMon.sol#562)
- block.timestamp.sub(lastClaimTime) >= claimWait (contracts/BabyPokeMon.sol#566)
Avoid relying on block.timestamp.

Additional information: link

Different versions of Solidity is used:
- Version used: ['^0.6.12', '^0.6.2']
- ^0.6.12 (contracts/BabyPokeMon.sol#3)
- ^0.6.2 (contracts/utils/Context.sol#3)
- ^0.6.2 (contracts/utils/DividendPayingToken.sol#3)
- ^0.6.2 (contracts/utils/DividendPayingTokenInterface.sol#3)
- ^0.6.2 (contracts/utils/DividendPayingTokenOptionalInterface.sol#3)
- ^0.6.2 (contracts/utils/ERC20.sol#3)
- ^0.6.2 (contracts/utils/IERC20.sol#3)
- ^0.6.2 (contracts/utils/IERC20Metadata.sol#3)
- ^0.6.2 (contracts/utils/IUniswapV2Factory.sol#3)
- ^0.6.2 (contracts/utils/IUniswapV2Pair.sol#3)
- ^0.6.2 (contracts/utils/IUniswapV2Router.sol#3)
- ^0.6.2 (contracts/utils/IterableMapping.sol#2)
- ^0.6.2 (contracts/utils/Ownable.sol#1)
- ^0.6.2 (contracts/utils/SafeMath.sol#3)
- ^0.6.2 (contracts/utils/SafeMathInt.sol#28)
- ^0.6.2 (contracts/utils/SafeMathUint.sol#3)
Use one Solidity version.

Additional information: link

SafeMathInt.mul(int256,int256) (contracts/utils/SafeMathInt.sol#41-48) is never used and should be removed
Remove unused functions.

Additional information: link

BABYPOKEMON.totalFees (contracts/BabyPokeMon.sol#31) is set pre-construction with a non-constant function or state variable:
- BNBRewardsFee.add(buyBackFee).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.6.2 (contracts/utils/SafeMathUint.sol#3) allows old versions
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 DividendPayingToken._withdrawDividendOfUser(address) (contracts/utils/DividendPayingToken.sol#89-105):
- (success) = user.call{gas: 3000,value: _withdrawableDividend}() (contracts/utils/DividendPayingToken.sol#94)
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/utils/IUniswapV2Router.sol#7) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (contracts/utils/Context.sol#21)" inContext (contracts/utils/Context.sol#15-24)
Remove redundant statements if they congest code but offer no value.

Additional information: link

Reentrancy in BABYPOKEMON._transfer(address,address,uint256) (contracts/BabyPokeMon.sol#285-356):
External calls:
- swapAndSendToMarketing(marketingTokens) (contracts/BabyPokeMon.sol#315)
- _marketingWallet.transfer(newBalance) (contracts/BabyPokeMon.sol#365)
External calls sending eth:
- swapAndLiquify(swapTokens) (contracts/BabyPokeMon.sol#312)
- uniswapV2Router.addLiquidityETH{value: ethAmount}(address(this),tokenAmount,0,0,owner(),block.timestamp) (contracts/BabyPokeMon.sol#374-381)
- swapAndSendToMarketing(marketingTokens) (contracts/BabyPokeMon.sol#315)
- _marketingWallet.transfer(newBalance) (contracts/BabyPokeMon.sol#365)
- swapAndSendDividends(sellTokens) (contracts/BabyPokeMon.sol#318)
- (success) = address(dividendTracker).call{value: dividends}() (contracts/BabyPokeMon.sol#429)
State variables written after the call(s):
- swapAndSendDividends(sellTokens) (contracts/BabyPokeMon.sol#318)
- _allowances[owner][spender] = amount (contracts/utils/ERC20.sol#287)
- super._transfer(from,address(this),fees) (contracts/BabyPokeMon.sol#338)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/utils/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/utils/ERC20.sol#222)
- super._transfer(from,to,amount) (contracts/BabyPokeMon.sol#341)
- _balances[sender] = _balances[sender].sub(amount,ERC20: transfer amount exceeds balance) (contracts/utils/ERC20.sol#221)
- _balances[recipient] = _balances[recipient].add(amount) (contracts/utils/ERC20.sol#222)
- swapAndSendDividends(sellTokens) (contracts/BabyPokeMon.sol#318)
- swapping = true (contracts/BabyPokeMon.sol#84)
- swapping = false (contracts/BabyPokeMon.sol#86)
Event emitted after the call(s):
- Approval(owner,spender,amount) (contracts/utils/ERC20.sol#288)
- swapAndSendDividends(sellTokens) (contracts/BabyPokeMon.sol#318)
- ProcessedDividendTracker(iterations,claims,lastProcessedIndex,true,gas,tx.origin) (contracts/BabyPokeMon.sol#350)
- SendDividends(tokens,dividends) (contracts/BabyPokeMon.sol#432)
- swapAndSendDividends(sellTokens) (contracts/BabyPokeMon.sol#318)
- Transfer(sender,recipient,amount) (contracts/utils/ERC20.sol#223)
- super._transfer(from,to,amount) (contracts/BabyPokeMon.sol#341)
- Transfer(sender,recipient,amount) (contracts/utils/ERC20.sol#223)
- super._transfer(from,address(this),fees) (contracts/BabyPokeMon.sol#338)
Apply the check-effects-interactions pattern.

Additional information: link

Variable IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (contracts/utils/IUniswapV2Router.sol#12) is too similar to IUniswapV2Router01.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (contracts/utils/IUniswapV2Router.sol#13)
Prevent variables from having similar names.

Additional information: link

BABYPOKEMONDividendTracker.getAccountAtIndex(uint256) (contracts/BabyPokeMon.sol#542-559) uses literals with too many digits:
- (0x0000000000000000000000000000000000000000,- 1,- 1,0,0,0,0,0) (contracts/BabyPokeMon.sol#553)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

SafeMathInt.MAX_INT256 (contracts/utils/SafeMathInt.sol#36) is never used in SafeMathInt (contracts/utils/SafeMathInt.sol#34-92)
Remove unused state variables.

Additional information: link

BABYPOKEMON.swapTokensAtAmount (contracts/BabyPokeMon.sol#26) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (contracts/utils/Ownable.sol#52-56)
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.


Unable to find Telegram and Twitter accounts


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


Token has no active CoinGecko listing / rank


Token has no active CoinMarketCap listing / rank


Young tokens have high risks of price dump / death

Price for BABYPOKEMON