PuppyInu Token Logo

PuppyInu Token

About PuppyInu

Listings

Not Found
Token 2 years

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 16 February 2022

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

Reentrancy in PuppyInuBsc._transfer(address,address,uint256) (#154-188):
External calls:
- swapAddLiquidity() (#181)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
External calls sending eth:
- swapAddLiquidity() (#181)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
State variables written after the call(s):
- _balances[recipient] += amount (#185)
Reentrancy in PuppyInuBsc.swapAddLiquidity() (#203-221):
External calls:
- swapTokensForEth(devAmount,devWallet) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- swapTokensForEth(sellHalf,address(this)) (#214)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
State variables written after the call(s):
- _inSwap = false (#219)
Reentrancy in PuppyInuBsc.transferFrom(address,address,uint256) (#235-244):
External calls:
- _transfer(sender,recipient,amount) (#239)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
External calls sending eth:
- _transfer(sender,recipient,amount) (#239)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
State variables written after the call(s):
- _approve(sender,msg.sender,currentAllowance - amount) (#241)
- _allowances[owner][spender] = amount (#226)
Apply the check-effects-interactions pattern.

Additional information: link

PuppyInuBsc.withdrawToken(address,uint256) (#284-288) ignores return value by _tokenContract.transfer(msg.sender,amount) (#287)
Use SafeERC20, or ensure that the transfer/transferFrom return value is checked.

Additional information: link


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.

PuppyInuBsc._transfer(address,address,uint256) (#154-188) performs a multiplication on the result of a division:
-devAmount = amount / 100 * devFee (#171)
PuppyInuBsc._transfer(address,address,uint256) (#154-188) performs a multiplication on the result of a division:
-liquidityAmount = amount / 100 * liquidityFee (#172)
PuppyInuBsc.swapAddLiquidity() (#203-221) performs a multiplication on the result of a division:
-devAmount = tokenBalance / (devFee + liquidityFee) * devFee (#208)
Consider ordering multiplication before division.

Additional information: link

PuppyInuBsc.addLiquidity(uint256,uint256) (#190-193) ignores return value by _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
Ensure that all the return values of the function calls are used.

Additional information: link

PuppyInuBsc.setLimits(uint256,uint256,uint256) (#103-107) should emit an event for:
- maxWalletLimit = _maxWalletLimit * 10 ** _decimals (#104)
- _maxTxAmount = _maxTxLimit * 10 ** _decimals (#105)
- addLiquidityAmount = _addLiquidityAmount * 10 ** _decimals (#106)
PuppyInuBsc.setFees(uint8,uint8) (#109-112) should emit an event for:
- devFee = _devFee (#110)
- liquidityFee = _liquidityFee (#111)
Emit an event for critical parameter changes.

Additional information: link

PuppyInuBsc.setAddresses(address)._devWallet (#99) lacks a zero-check on :
- devWallet = _devWallet (#100)
Check that the address is not zero.

Additional information: link

Reentrancy in PuppyInuBsc.constructor() (#69-87):
External calls:
- uniswapPair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this),_uniswapV2Router.WETH()) (#76)
State variables written after the call(s):
- setExcludedAll(address(this)) (#78)
- _excludedFees[user] = status (#123)
- setExcludedAll(_owner) (#79)
- _excludedFees[user] = status (#123)
- setExcludedAll(uniswapPair) (#80)
- _excludedFees[user] = status (#123)
- setExcludedAll(_uniswapRouter) (#81)
- _excludedFees[user] = status (#123)
- setExcludedAll(_deeplockContract) (#82)
- _excludedFees[user] = status (#123)
- setExcludedAll(address(this)) (#78)
- _excludedMaxTransaction[user] = status (#115)
- setExcludedAll(_owner) (#79)
- _excludedMaxTransaction[user] = status (#115)
- setExcludedAll(uniswapPair) (#80)
- _excludedMaxTransaction[user] = status (#115)
- setExcludedAll(_uniswapRouter) (#81)
- _excludedMaxTransaction[user] = status (#115)
- setExcludedAll(_deeplockContract) (#82)
- _excludedMaxTransaction[user] = status (#115)
- setExcludedAll(address(this)) (#78)
- _excludedMaxWallet[user] = status (#119)
- setExcludedAll(_owner) (#79)
- _excludedMaxWallet[user] = status (#119)
- setExcludedAll(uniswapPair) (#80)
- _excludedMaxWallet[user] = status (#119)
- setExcludedAll(_uniswapRouter) (#81)
- _excludedMaxWallet[user] = status (#119)
- setExcludedAll(_deeplockContract) (#82)
- _excludedMaxWallet[user] = status (#119)
- setLimits(1000000,1000000,1000000) (#85)
- _maxTxAmount = _maxTxLimit * 10 ** _decimals (#105)
- setLimits(1000000,1000000,1000000) (#85)
- addLiquidityAmount = _addLiquidityAmount * 10 ** _decimals (#106)
- setFees(5,4) (#86)
- devFee = _devFee (#110)
- setAddresses(msg.sender) (#83)
- devWallet = _devWallet (#100)
- setFees(5,4) (#86)
- liquidityFee = _liquidityFee (#111)
- setLimits(1000000,1000000,1000000) (#85)
- maxWalletLimit = _maxWalletLimit * 10 ** _decimals (#104)
Reentrancy in PuppyInuBsc.swapAddLiquidity() (#203-221):
External calls:
- swapTokensForEth(devAmount,devWallet) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- swapTokensForEth(sellHalf,address(this)) (#214)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
State variables written after the call(s):
- swapTokensForEth(sellHalf,address(this)) (#214)
- _allowances[owner][spender] = amount (#226)
Reentrancy in PuppyInuBsc.swapAddLiquidity() (#203-221):
External calls:
- swapTokensForEth(devAmount,devWallet) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- swapTokensForEth(sellHalf,address(this)) (#214)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
State variables written after the call(s):
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _allowances[owner][spender] = amount (#226)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in PuppyInuBsc._transfer(address,address,uint256) (#154-188):
External calls:
- swapAddLiquidity() (#181)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
External calls sending eth:
- swapAddLiquidity() (#181)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
Event emitted after the call(s):
- Transfer(sender,recipient,amount) (#187)
Reentrancy in PuppyInuBsc.swapAddLiquidity() (#203-221):
External calls:
- swapTokensForEth(devAmount,devWallet) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- swapTokensForEth(sellHalf,address(this)) (#214)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#227)
- swapTokensForEth(sellHalf,address(this)) (#214)
Reentrancy in PuppyInuBsc.swapAddLiquidity() (#203-221):
External calls:
- swapTokensForEth(devAmount,devWallet) (#209)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- swapTokensForEth(sellHalf,address(this)) (#214)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
External calls sending eth:
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#227)
- addLiquidity(sellAmount - sellHalf,receivedEth) (#217)
Reentrancy in PuppyInuBsc.transferFrom(address,address,uint256) (#235-244):
External calls:
- _transfer(sender,recipient,amount) (#239)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
- _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(amount,0,path,receiver,block.timestamp + 1200) (#200)
External calls sending eth:
- _transfer(sender,recipient,amount) (#239)
- _uniswapV2Router.addLiquidityETH{value: amount}(address(this),tokenAmount,0,0,address(this),block.timestamp + 1200) (#192)
Event emitted after the call(s):
- Approval(owner,spender,amount) (#227)
- _approve(sender,msg.sender,currentAllowance - amount) (#241)
Apply the check-effects-interactions pattern.

Additional information: link

PuppyInuBsc (#30-290) should inherit from IERC20 (#11-13)
Inherit from the missing interface or contract.

Additional information: link

Function IUniswapV2Router01.WETH() (#17) is not in mixedCase
Parameter PuppyInuBsc.setAddresses(address)._devWallet (#99) is not in mixedCase
Parameter PuppyInuBsc.setLimits(uint256,uint256,uint256)._maxWalletLimit (#103) is not in mixedCase
Parameter PuppyInuBsc.setLimits(uint256,uint256,uint256)._maxTxLimit (#103) is not in mixedCase
Parameter PuppyInuBsc.setLimits(uint256,uint256,uint256)._addLiquidityAmount (#103) is not in mixedCase
Parameter PuppyInuBsc.setFees(uint8,uint8)._devFee (#109) is not in mixedCase
Parameter PuppyInuBsc.setFees(uint8,uint8)._liquidityFee (#109) is not in mixedCase
Variable PuppyInuBsc._maxTxAmount (#41) is not in mixedCase
Variable PuppyInuBsc.HEX_MAX_NUM (#45) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

PuppyInuBsc.constructor() (#69-87) uses literals with too many digits:
- setLimits(1000000,1000000,1000000) (#85)
PuppyInuBsc.slitherConstructorVariables() (#30-290) uses literals with too many digits:
- _totalSupply = 1000000 (#33)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

PuppyInuBsc.HEX_MAX_NUM (#45) should be constant
PuppyInuBsc._decimals (#34) should be constant
PuppyInuBsc._deeplockContract (#36) should be constant
PuppyInuBsc._name (#31) should be constant
PuppyInuBsc._symbol (#32) should be constant
PuppyInuBsc._uniswapRouter (#35) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

setInSwap(bool) should be declared external:
- PuppyInuBsc.setInSwap(bool) (#95-97)
setBlacklistWallet(address,bool) should be declared external:
- PuppyInuBsc.setBlacklistWallet(address,bool) (#126-128)
name() should be declared external:
- PuppyInuBsc.name() (#130-132)
symbol() should be declared external:
- PuppyInuBsc.symbol() (#134-136)
decimals() should be declared external:
- PuppyInuBsc.decimals() (#138-140)
totalSupply() should be declared external:
- PuppyInuBsc.totalSupply() (#142-144)
getOwner() should be declared external:
- PuppyInuBsc.getOwner() (#146-148)
transfer(address,uint256) should be declared external:
- PuppyInuBsc.transfer(address,uint256) (#230-233)
transferFrom(address,address,uint256) should be declared external:
- PuppyInuBsc.transferFrom(address,address,uint256) (#235-244)
approve(address,uint256) should be declared external:
- PuppyInuBsc.approve(address,uint256) (#246-249)
allowance(address,address) should be declared external:
- PuppyInuBsc.allowance(address,address) (#251-253)
increaseAllowance(address,uint256) should be declared external:
- PuppyInuBsc.increaseAllowance(address,uint256) (#255-258)
decreaseAllowance(address,uint256) should be declared external:
- PuppyInuBsc.decreaseAllowance(address,uint256) (#260-265)
transferOwnership(address) should be declared external:
- PuppyInuBsc.transferOwnership(address) (#267-271)
renounceOwnership() should be declared external:
- PuppyInuBsc.renounceOwnership() (#273-276)
withdraw(uint256) should be declared external:
- PuppyInuBsc.withdraw(uint256) (#278-282)
withdrawToken(address,uint256) should be declared external:
- PuppyInuBsc.withdrawToken(address,uint256) (#284-288)
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. Ignore for presale.


Unable to find Telegram and Twitter accounts


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

Price for PuppyInu