Unable to find manual contract audit (e.g. Certik, PeckShield, Solidity...)
BabyPinkPussy.clearBalance() (#399-402) sends eth to arbitrary user
Dangerous calls:
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#400)
BabyPinkPussy.swapBack() (#417-438) sends eth to arbitrary user
Dangerous calls:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
Ensure that an arbitrary user cannot withdraw unauthorized funds.
Additional information: link
Reentrancy in BabyPinkPussy._transferFrom(address,address,uint256) (#351-368):
External calls:
- swapBack() (#359)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#424-430)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
External calls sending eth:
- swapBack() (#359)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#361)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#364)
- amountReceived = takeFee(sender,recipient,amount) (#363)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#388)
Reentrancy in BabyPinkPussy.swapBack() (#417-438):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#424-430)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
External calls sending eth:
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
State variables written after the call(s):
- swapThreshold = swapThreshold (#437)
- swapThreshold = largeSwapThreshold (#437)
- swapThreshold = smallSwapThreshold (#437)
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.
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.
BabyPinkPussy.setSwapBackSettings(bool,uint256,uint256,bool) (#448-454) should emit an event for:
- smallSwapThreshold = _amountS (#451)
- largeSwapThreshold = _amountL (#452)
- swapThreshold = smallSwapThreshold (#453)
Emit an event for critical parameter changes.
Additional information: link
BabyPinkPussy.constructor().deployer (#295) lacks a zero-check on :
- autoLiquidityReceiver = deployer (#305)
- marketingFeeReceiver = deployer (#306)
BabyPinkPussy.setFeeReceivers(address,address)._marketingFeeReceiver (#474) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#475)
BabyPinkPussy.setFeeReceivers(address,address)._liquidityReceiver (#474) lacks a zero-check on :
- autoLiquidityReceiver = _liquidityReceiver (#476)
Check that the address is not zero.
Additional information: link
BabyPinkPussy.swapBack() (#417-438) has external calls inside a loop: router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#424-430)
BabyPinkPussy.swapBack() (#417-438) has external calls inside a loop: (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
Favor pull over push strategy for external calls.
Additional information: link
Reentrancy in BabyPinkPussy.constructor() (#293-310):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#297)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#298)
- _allowances[address(this)][deployer] = type()(uint256).max (#299)
- _balances[deployer] = _totalSupply (#308)
- autoLiquidityReceiver = deployer (#305)
- isFeeExempt[deployer] = true (#304)
- isTxLimitExempt[address(this)] = true (#301)
- isTxLimitExempt[address(router)] = true (#302)
- isTxLimitExempt[deployer] = true (#303)
- marketingFeeReceiver = deployer (#306)
Apply the check-effects-interactions pattern.
Additional information: link
Reentrancy in BabyPinkPussy._transferFrom(address,address,uint256) (#351-368):
External calls:
- swapBack() (#359)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#424-430)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
External calls sending eth:
- swapBack() (#359)
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#389)
- amountReceived = takeFee(sender,recipient,amount) (#363)
- Transfer(sender,recipient,amountReceived) (#366)
Reentrancy in BabyPinkPussy.constructor() (#293-310):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#297)
Event emitted after the call(s):
- Transfer(address(0),deployer,_totalSupply) (#309)
Apply the check-effects-interactions pattern.
Additional information: link
BabyPinkPussy.swapping() (#291) has costly operations inside a loop:
- inSwap = true (#291)
BabyPinkPussy.swapping() (#291) has costly operations inside a loop:
- inSwap = false (#291)
BabyPinkPussy.swapBack() (#417-438) has costly operations inside a loop:
- swapThreshold = swapThreshold (#437)
BabyPinkPussy.swapBack() (#417-438) has costly operations inside a loop:
- swapThreshold = largeSwapThreshold (#437)
BabyPinkPussy.swapBack() (#417-438) has costly operations inside a loop:
- swapThreshold = smallSwapThreshold (#437)
Use a local variable to hold the loop computation result.
Additional information: link
Context._msgData() (#130-133) is never used and should be removed
Remove unused functions.
Additional information: link
BabyPinkPussy._transferLimit (#258) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
BabyPinkPussy._maxWalletSize (#259) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 10) / 1000
BabyPinkPussy.smallSwapThreshold (#286) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(413945130).div(100000000000)
BabyPinkPussy.largeSwapThreshold (#287) is set pre-construction with a non-constant function or state variable:
- _totalSupply.mul(469493726).div(100000000000)
BabyPinkPussy.swapThreshold (#289) is set pre-construction with a non-constant function or state variable:
- smallSwapThreshold
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.11 (#13) necessitates a version too recent to be trusted. Consider deploying with 0.6.12/0.7.6/0.8.7
solc-0.8.11 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 BabyPinkPussy.clearBalance() (#399-402):
- (success) = address(autoLiquidityReceiver).call{gas: 30000,value: address(this).balance}() (#400)
Low level call in BabyPinkPussy.swapBack() (#417-438):
- (success) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNB}() (#434)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence
Additional information: link
Function IDEXRouter.WETH() (#147) is not in mixedCase
Parameter BabyPinkPussy.setTargetLiquidity(uint256,uint256)._target (#394) is not in mixedCase
Parameter BabyPinkPussy.setTargetLiquidity(uint256,uint256)._denominator (#394) is not in mixedCase
Parameter BabyPinkPussy.setSwapBackSettings(bool,uint256,uint256,bool)._enabled (#448) is not in mixedCase
Parameter BabyPinkPussy.setSwapBackSettings(bool,uint256,uint256,bool)._amountS (#448) is not in mixedCase
Parameter BabyPinkPussy.setSwapBackSettings(bool,uint256,uint256,bool)._amountL (#448) is not in mixedCase
Parameter BabyPinkPussy.setSwapBackSettings(bool,uint256,uint256,bool)._alternate (#448) is not in mixedCase
Parameter BabyPinkPussy.setFeeReceivers(address,address)._marketingFeeReceiver (#474) is not in mixedCase
Parameter BabyPinkPussy.setFeeReceivers(address,address)._liquidityReceiver (#474) is not in mixedCase
Constant BabyPinkPussy.mainnetRouter (#248) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyPinkPussy._name (#253) is not in mixedCase
Variable BabyPinkPussy._symbol (#254) is not in mixedCase
Constant BabyPinkPussy._decimals (#255) is not in UPPER_CASE_WITH_UNDERSCORES
Variable BabyPinkPussy._totalSupply (#257) is not in mixedCase
Variable BabyPinkPussy._transferLimit (#258) is not in mixedCase
Variable BabyPinkPussy._maxWalletSize (#259) is not in mixedCase
Variable BabyPinkPussy._balances (#261) is not in mixedCase
Variable BabyPinkPussy._allowances (#262) is not in mixedCase
Follow the Solidity naming convention.
Additional information: link
Redundant expression "this (#131)" inContext (#125-134)
Remove redundant statements if they congest code but offer no value.
Additional information: link
Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#152) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#153)
Prevent variables from having similar names.
Additional information: link
BabyPinkPussy.slitherConstructorVariables() (#245-485) uses literals with too many digits:
- smallSwapThreshold = _totalSupply.mul(413945130).div(100000000000) (#286)
BabyPinkPussy.slitherConstructorVariables() (#245-485) uses literals with too many digits:
- largeSwapThreshold = _totalSupply.mul(469493726).div(100000000000) (#287)
BabyPinkPussy.slitherConstructorConstantVariables() (#245-485) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#250)
BabyPinkPussy.slitherConstructorConstantVariables() (#245-485) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#251)
Use: Ether suffix, Time suffix, or The scientific notation
Additional information: link
BabyPinkPussy._name (#253) should be constant
BabyPinkPussy._symbol (#254) should be constant
BabyPinkPussy._totalSupply (#257) should be constant
BabyPinkPussy.charityFee (#270) should be constant
BabyPinkPussy.devFee (#271) should be constant
BabyPinkPussy.feeDenominator (#273) should be constant
BabyPinkPussy.giveawayFee (#269) should be constant
BabyPinkPussy.liquidityFee (#268) should be constant
BabyPinkPussy.marketingFee (#267) should be constant
BabyPinkPussy.totalFee (#272) should be constant
Add the constant attributes to state variables that never change.
Additional information: link
renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#229-232)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#238-242)
transferTo(address,uint256) should be declared external:
- BabyPinkPussy.transferTo(address,uint256) (#321-324)
isOverLiquified(uint256,uint256) should be declared external:
- BabyPinkPussy.isOverLiquified(uint256,uint256) (#444-446)
Use the external attribute for functions never called from the contract.
Additional information: link
Unable to find website, listings and other project-related information
Young tokens have high risks of scam / price dump / death
Token has no active CoinGecko listing / rank
Token has no active CoinMarketCap listing / rank
Unable to find Telegram and Twitter accounts