Baby Putin Token Logo

Baby Putin Token

About Baby Putin

Listings

Not Found
Token 2 months

Website

Not Found

Description

Not Found

Social

Laser Scorebeta Last Audit: 18 February 2022

report
Code:


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

Reentrancy in Token._transferFrom(address,address,uint256) (#586-612):
External calls:
- swapBack() (#595)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#662-668)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
External calls sending eth:
- swapBack() (#595)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#600)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#603)
- amountReceived = takeFee(sender,recipient,amount) (#602)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#638)
- triggerAutoBuyback() (#596)
- inSwap = true (#531)
- inSwap = false (#531)
Apply the check-effects-interactions pattern.

Additional information: link

Token.swapBack() (#651-693) sends eth to arbitrary user
Dangerous calls:
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

DividendDistributor.distributeDividend(address) (#425-436) ignores return value by ADA.transfer(shareholder,amount) (#431)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

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.


Combination 2: Unchecked transfer + 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.


Combination 3: Reentrancy vulnerabilities + Unchecked transfer vulnerability. Usual for scams. May be justified by some complex mechanics (e.g. rebase, reflections). DYOR & manual audit are advised.

Contract ticker (Baby Putin) 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.

Low level call in Address.sendValue(address,uint256) (#21-27):
- (success) = recipient.call{value: amount}() (#25)
Low level call in Address._functionCallWithValue(address,bytes,uint256,string) (#46-67):
- (success,returndata) = target.call{value: weiValue}(data) (#50)
Low level call in Token.swapBack() (#651-693):
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
Avoid low-level calls. Check the call success. If the call is meant for a contract, check for code existence

Additional information: link

Reentrancy in DividendDistributor.distributeDividend(address) (#425-436):
External calls:
- ADA.transfer(shareholder,amount) (#431)
State variables written after the call(s):
- shares[shareholder].totalRealised = shares[shareholder].totalRealised.add(amount) (#433)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#434)
Reentrancy in DividendDistributor.process(uint256) (#394-418):
External calls:
- distributeDividend(shareholders[currentIndex]) (#410)
- ADA.transfer(shareholder,amount) (#431)
State variables written after the call(s):
- currentIndex ++ (#415)
Reentrancy in DividendDistributor.setShare(address,uint256) (#357-371):
External calls:
- distributeDividend(shareholder) (#359)
- ADA.transfer(shareholder,amount) (#431)
State variables written after the call(s):
- shares[shareholder].amount = amount (#369)
- shares[shareholder].totalExcluded = getCumulativeDividends(shares[shareholder].amount) (#370)
Apply the check-effects-interactions pattern.

Additional information: link

Token.swapBack() (#651-693) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
Ensure that all the return values of the function calls are used.

Additional information: link

DividendDistributor.setDistributionCriteria(uint256,uint256) (#352-355) should emit an event for:
- minPeriod = _minPeriod (#353)
- minDistribution = _minDistribution (#354)
Token.setAutoBuybackSettings(bool,uint256,uint256,uint256) (#735-742) should emit an event for:
- autoBuybackCap = _cap (#737)
- autoBuybackAmount = _amount.div(100) (#739)
Token.setTxLimit(uint256) (#759-762) should emit an event for:
- _maxTxAmount = amount.div(100) (#761)
Token.setSellMultiplier(uint256) (#769-772) should emit an event for:
- _sellMultiplier = multiplier (#771)
Token.setFees(uint256,uint256,uint256,uint256,uint256) (#792-800) should emit an event for:
- liquidityFee = _liquidityFee (#793)
- reflectionFee = _reflectionFee (#795)
- devFee = _devFee (#796)
- totalFee = _liquidityFee.add(_buybackFee).add(_reflectionFee).add(_devFee) (#797)
- feeDenominator = _feeDenominator (#798)
Token.setSwapBackSettings(bool,uint256) (#807-810) should emit an event for:
- swapThreshold = _amount.div(100) (#809)
Token.setTargetLiquidity(uint256,uint256) (#812-815) should emit an event for:
- targetLiquidity = _target (#813)
- targetLiquidityDenominator = _denominator (#814)
Emit an event for critical parameter changes.

Additional information: link

Token.setFeeReceivers(address,address)._autoLiquidityReceiver (#802) lacks a zero-check on :
- autoLiquidityReceiver = _autoLiquidityReceiver (#803)
Token.setFeeReceivers(address,address)._devFeeReceiver (#802) lacks a zero-check on :
- devFeeReceiver = _devFeeReceiver (#804)
Check that the address is not zero.

Additional information: link

DividendDistributor.distributeDividend(address) (#425-436) has external calls inside a loop: ADA.transfer(shareholder,amount) (#431)
Favor pull over push strategy for external calls.

Additional information: link

Reentrancy in Token._transferFrom(address,address,uint256) (#586-612):
External calls:
- swapBack() (#595)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#662-668)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
External calls sending eth:
- swapBack() (#595)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
State variables written after the call(s):
- launch() (#598)
- launchedAt = block.number (#756)
Reentrancy in Token.constructor() (#533-552):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#535)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = uint256(- 1) (#536)
- _balances[msg.sender] = _totalSupply (#550)
- autoLiquidityReceiver = owner() (#547)
- devFeeReceiver = address(0xa563B6860428b954D7BdeE8d268763E9551775Fe) (#548)
- distributor = new DividendDistributor(address(router)) (#538)
- isDividendExempt[pair] = true (#543)
- isDividendExempt[address(this)] = true (#544)
- isDividendExempt[DEAD] = true (#545)
- isDividendExempt[ZERO] = true (#546)
- isFeeExempt[msg.sender] = true (#540)
- isTxLimitExempt[msg.sender] = true (#541)
- isTxLimitExempt[address(router)] = true (#542)
Reentrancy in DividendDistributor.deposit() (#374-392):
External calls:
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(0,path,address(this),block.timestamp) (#381-386)
State variables written after the call(s):
- dividendsPerShare = dividendsPerShare.add(dividendsPerShareAccuracyFactor.mul(amount).div(totalShares)) (#391)
- totalDividends = totalDividends.add(amount) (#390)
Reentrancy in DividendDistributor.distributeDividend(address) (#425-436):
External calls:
- ADA.transfer(shareholder,amount) (#431)
State variables written after the call(s):
- shareholderClaims[shareholder] = block.timestamp (#432)
Reentrancy in DividendDistributor.setShare(address,uint256) (#357-371):
External calls:
- distributeDividend(shareholder) (#359)
- ADA.transfer(shareholder,amount) (#431)
State variables written after the call(s):
- addShareholder(shareholder) (#363)
- shareholderIndexes[shareholder] = shareholders.length (#458)
- removeShareholder(shareholder) (#365)
- shareholderIndexes[shareholders[shareholders.length - 1]] = shareholderIndexes[shareholder] (#464)
- addShareholder(shareholder) (#363)
- shareholders.push(shareholder) (#459)
- removeShareholder(shareholder) (#365)
- shareholders[shareholderIndexes[shareholder]] = shareholders[shareholders.length - 1] (#463)
- shareholders.pop() (#465)
- totalShares = totalShares.sub(shares[shareholder].amount).add(amount) (#368)
Reentrancy in Token.triggerAutoBuyback() (#715-720):
External calls:
- buyTokens(autoBuybackAmount,DEAD) (#716)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
State variables written after the call(s):
- autoBuybackAccumulator = autoBuybackAccumulator.add(autoBuybackAmount) (#718)
- autoBuybackBlockLast = block.number (#717)
- autoBuybackEnabled = false (#719)
Reentrancy in Token.triggerManualBuyback(uint256,bool) (#703-709):
External calls:
- buyTokens(amount,DEAD) (#704)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
State variables written after the call(s):
- buybackMultiplierTriggeredAt = block.timestamp (#706)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in Token._transferFrom(address,address,uint256) (#586-612):
External calls:
- swapBack() (#595)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#662-668)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
- distributor.setShare(sender,_balances[sender]) (#605)
- distributor.setShare(recipient,_balances[recipient]) (#606)
- distributor.process(distributorGas) (#608)
External calls sending eth:
- swapBack() (#595)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
Event emitted after the call(s):
- Transfer(sender,recipient,amountReceived) (#610)
Reentrancy in Token._transferFrom(address,address,uint256) (#586-612):
External calls:
- swapBack() (#595)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#662-668)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
External calls sending eth:
- swapBack() (#595)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
- triggerAutoBuyback() (#596)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#639)
- amountReceived = takeFee(sender,recipient,amount) (#602)
Reentrancy in Token.constructor() (#533-552):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#535)
Event emitted after the call(s):
- Transfer(address(0),msg.sender,_totalSupply) (#551)
Reentrancy in Token.swapBack() (#651-693):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#662-668)
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
External calls sending eth:
- distributor.deposit{value: amountBNBReflection}() (#678)
- (success) = address(devFeeReceiver).call{gas: 30000,value: amountBNBDev}() (#679)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,autoLiquidityReceiver,block.timestamp) (#683-690)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#691)
Reentrancy in Token.triggerManualBuyback(uint256,bool) (#703-709):
External calls:
- buyTokens(amount,DEAD) (#704)
- router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(0,path,to,block.timestamp) (#727-732)
Event emitted after the call(s):
- BuybackMultiplierActive(buybackMultiplierLength) (#707)
Apply the check-effects-interactions pattern.

Additional information: link

DividendDistributor.shouldDistribute(address) (#420-423) uses timestamp for comparisons
Dangerous comparisons:
- shareholderClaims[shareholder] + minPeriod < block.timestamp && getUnpaidEarnings(shareholder) > minDistribution (#421-422)
Avoid relying on block.timestamp.

Additional information: link

Address.isContract(address) (#10-19) uses assembly
- INLINE ASM (#17)
Address._functionCallWithValue(address,bytes,uint256,string) (#46-67) uses assembly
- INLINE ASM (#59-62)
Do not use evm assembly.

Additional information: link

DividendDistributor.process(uint256) (#394-418) has costly operations inside a loop:
- currentIndex = 0 (#406)
DividendDistributor.distributeDividend(address) (#425-436) has costly operations inside a loop:
- totalDistributed = totalDistributed.add(amount) (#430)
DividendDistributor.process(uint256) (#394-418) has costly operations inside a loop:
- currentIndex ++ (#415)
Use a local variable to hold the loop computation result.

Additional information: link

Address._functionCallWithValue(address,bytes,uint256,string) (#46-67) is never used and should be removed
Address.functionCall(address,bytes) (#29-31) is never used and should be removed
Address.functionCall(address,bytes,string) (#33-35) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256) (#37-39) is never used and should be removed
Address.functionCallWithValue(address,bytes,uint256,string) (#41-44) is never used and should be removed
Address.isContract(address) (#10-19) is never used and should be removed
Address.sendValue(address,uint256) (#21-27) is never used and should be removed
Context._msgData() (#75-78) is never used and should be removed
Remove unused functions.

Additional information: link

Token._maxTxAmount (#484) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 1) / 100
Token._maxWalletSize (#485) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 5) / 100
Token.swapThreshold (#529) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 100
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.7.4 (#6) allows old versions
solc-0.7.4 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

Function IDEXRouter.WETH() (#248) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minPeriod (#352) is not in mixedCase
Parameter DividendDistributor.setDistributionCriteria(uint256,uint256)._minDistribution (#352) is not in mixedCase
Variable DividendDistributor._token (#304) is not in mixedCase
Variable DividendDistributor.ADA (#313) is not in mixedCase
Variable DividendDistributor.WBNB (#314) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._enabled (#735) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._cap (#735) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._amount (#735) is not in mixedCase
Parameter Token.setAutoBuybackSettings(bool,uint256,uint256,uint256)._period (#735) is not in mixedCase
Parameter Token.setFees(uint256,uint256,uint256,uint256,uint256)._liquidityFee (#792) is not in mixedCase
Parameter Token.setFees(uint256,uint256,uint256,uint256,uint256)._buybackFee (#792) is not in mixedCase
Parameter Token.setFees(uint256,uint256,uint256,uint256,uint256)._reflectionFee (#792) is not in mixedCase
Parameter Token.setFees(uint256,uint256,uint256,uint256,uint256)._devFee (#792) is not in mixedCase
Parameter Token.setFees(uint256,uint256,uint256,uint256,uint256)._feeDenominator (#792) is not in mixedCase
Parameter Token.setFeeReceivers(address,address)._autoLiquidityReceiver (#802) is not in mixedCase
Parameter Token.setFeeReceivers(address,address)._devFeeReceiver (#802) is not in mixedCase
Parameter Token.setSwapBackSettings(bool,uint256)._enabled (#807) is not in mixedCase
Parameter Token.setSwapBackSettings(bool,uint256)._amount (#807) is not in mixedCase
Parameter Token.setTargetLiquidity(uint256,uint256)._target (#812) is not in mixedCase
Parameter Token.setTargetLiquidity(uint256,uint256)._denominator (#812) is not in mixedCase
Parameter Token.setDistributionCriteria(uint256,uint256)._minPeriod (#817) is not in mixedCase
Parameter Token.setDistributionCriteria(uint256,uint256)._minDistribution (#817) is not in mixedCase
Variable Token.ADA (#474) is not in mixedCase
Variable Token.WBNB (#475) is not in mixedCase
Variable Token.DEAD (#476) is not in mixedCase
Variable Token.ZERO (#477) is not in mixedCase
Constant Token._name (#479) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Token._symbol (#480) is not in UPPER_CASE_WITH_UNDERSCORES
Constant Token._decimals (#481) is not in UPPER_CASE_WITH_UNDERSCORES
Variable Token._totalSupply (#483) is not in mixedCase
Variable Token._maxTxAmount (#484) is not in mixedCase
Variable Token._maxWalletSize (#485) is not in mixedCase
Variable Token._balances (#487) is not in mixedCase
Variable Token._allowances (#488) is not in mixedCase
Variable Token._sellMultiplier (#500) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Redundant expression "this (#76)" inContext (#70-79)
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 (#253) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#254)
Prevent variables from having similar names.

Additional information: link

Token.slitherConstructorVariables() (#470-841) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#476)
Token.slitherConstructorVariables() (#470-841) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#477)
Token.slitherConstructorVariables() (#470-841) uses literals with too many digits:
- _totalSupply = 100000000 * (10 ** _decimals) (#483)
Token.slitherConstructorVariables() (#470-841) uses literals with too many digits:
- distributorGas = 500000 (#526)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

Token.ADA (#474) is never used in Token (#470-841)
Remove unused state variables.

Additional information: link

DividendDistributor.WBNB (#314) should be constant
DividendDistributor.dividendsPerShareAccuracyFactor (#327) should be constant
Token.ADA (#474) should be constant
Token.DEAD (#476) should be constant
Token.WBNB (#475) should be constant
Token.ZERO (#477) should be constant
Token._totalSupply (#483) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

renounceOwnership() should be declared external:
- Ownable.renounceOwnership() (#226-229)
transferOwnership(address) should be declared external:
- Ownable.transferOwnership(address) (#235-239)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:


Token seems to be untradeable: there is no PancakeSwap trading pair and no trading volumes. Ignore for presale.


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


Unable to find Twitter account


Telegram account has less than 100 subscribers


Unable to find Blog account (Reddit or Medium)


Unable to find Youtube account


Unable to find Discord account

Search:


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

Anti-Scam Checks

Price for Baby Putin