Dogger Token Token Logo

DOGGER Token

ALERT: dead

About DOGGER

Listings

Not Found
Token 20 months

Website

Not Found

Description

Not Found

Social

Not Found

Laser Scorebeta Last Audit: 2 March 2022

report
Token seems to be unmaintained (no trading, inactive website, inactive socials, etc.).


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

DoggerToken.swapBack() (#297-338) sends eth to arbitrary user
Dangerous calls:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
Ensure that an arbitrary user cannot withdraw unauthorized funds.

Additional information: link

Reentrancy in DoggerToken._transferFrom(address,address,uint256) (#238-258):
External calls:
- swapBack() (#247)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#308-314)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
External calls sending eth:
- swapBack() (#247)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
State variables written after the call(s):
- _balances[sender] = _balances[sender].sub(amount,Insufficient Balance) (#251)
- _balances[recipient] = _balances[recipient].add(amountReceived) (#254)
- amountReceived = takeFee(sender,recipient,amount) (#253)
- _balances[address(this)] = _balances[address(this)].add(feeAmount) (#284)
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.

DoggerToken.slitherConstructorVariables() (#153-422) performs a multiplication on the result of a division:
-swapThreshold = _totalSupply / 1000 * 3 (#189)
Consider ordering multiplication before division.

Additional information: link

DoggerToken.swapBack() (#297-338) ignores return value by router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
Ensure that all the return values of the function calls are used.

Additional information: link

DoggerToken.setTxLimit(uint256) (#361-364) should emit an event for:
- _maxTxAmount = amount (#363)
DoggerToken.setFees(uint256,uint256,uint256,uint256) (#379-385) should emit an event for:
- liquidityFee = _liquidityFee (#380)
- developmentFee = _developmentFee (#381)
- marketingFee = _marketingFee (#382)
- totalFee = _liquidityFee.add(_developmentFee).add(_marketingFee) (#383)
- feeDenominator = _feeDenominator (#384)
Emit an event for critical parameter changes.

Additional information: link

Auth.transferOwnership(address).adr (#92) lacks a zero-check on :
- owner = adr (#93)
DoggerToken.setFeeReceiver(address,address)._marketingFeeReceiver (#387) lacks a zero-check on :
- marketingFeeReceiver = _marketingFeeReceiver (#388)
DoggerToken.setFeeReceiver(address,address)._developmentFeeReceiver (#387) lacks a zero-check on :
- developmentFeeReceiver = _developmentFeeReceiver (#389)
Check that the address is not zero.

Additional information: link

Reentrancy in DoggerToken._transferFrom(address,address,uint256) (#238-258):
External calls:
- swapBack() (#247)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#308-314)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
External calls sending eth:
- swapBack() (#247)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
State variables written after the call(s):
- launch() (#249)
- launchedAt = block.number (#358)
Reentrancy in DoggerToken.constructor() (#193-204):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#195)
State variables written after the call(s):
- _allowances[address(this)][address(router)] = type()(uint256).max (#196)
- _balances[_owner] = _totalSupply (#202)
- isFeeExempt[_owner] = true (#199)
- isTxLimitExempt[_owner] = true (#200)
Apply the check-effects-interactions pattern.

Additional information: link

Reentrancy in DoggerToken._transferFrom(address,address,uint256) (#238-258):
External calls:
- swapBack() (#247)
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#308-314)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
External calls sending eth:
- swapBack() (#247)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
Event emitted after the call(s):
- Transfer(sender,address(this),feeAmount) (#285)
- amountReceived = takeFee(sender,recipient,amount) (#253)
- Transfer(sender,recipient,amountReceived) (#256)
Reentrancy in DoggerToken.constructor() (#193-204):
External calls:
- pair = IDEXFactory(router.factory()).createPair(WBNB,address(this)) (#195)
Event emitted after the call(s):
- Transfer(address(0),_owner,_totalSupply) (#203)
Reentrancy in DoggerToken.swapBack() (#297-338):
External calls:
- router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountToSwap,0,path,address(this),block.timestamp) (#308-314)
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
External calls sending eth:
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
- router.addLiquidityETH{value: amountBNBLiquidity}(address(this),amountToLiquify,0,0,marketingFeeReceiver,block.timestamp) (#328-335)
Event emitted after the call(s):
- AutoLiquify(amountBNBLiquidity,amountToLiquify) (#336)
Apply the check-effects-interactions pattern.

Additional information: link

DoggerToken.buyTokens(uint256,address) (#340-351) is never used and should be removed
Remove unused functions.

Additional information: link

DoggerToken._maxTxAmount (#165) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 4) / 200
DoggerToken._maxWalletSize (#166) is set pre-construction with a non-constant function or state variable:
- (_totalSupply * 2) / 100
DoggerToken.swapThreshold (#189) is set pre-construction with a non-constant function or state variable:
- _totalSupply / 1000 * 3
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

Low level call in DoggerToken.swapBack() (#297-338):
- (MarketingSuccess) = address(marketingFeeReceiver).call{gas: 30000,value: amountBNBMarketing}() (#322)
- (developmentSuccess) = address(developmentFeeReceiver).call{gas: 30000,value: amountBNBdevelopment}() (#324)
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() (#107) is not in mixedCase
Parameter DoggerToken.setFees(uint256,uint256,uint256,uint256)._liquidityFee (#379) is not in mixedCase
Parameter DoggerToken.setFees(uint256,uint256,uint256,uint256)._developmentFee (#379) is not in mixedCase
Parameter DoggerToken.setFees(uint256,uint256,uint256,uint256)._marketingFee (#379) is not in mixedCase
Parameter DoggerToken.setFees(uint256,uint256,uint256,uint256)._feeDenominator (#379) is not in mixedCase
Parameter DoggerToken.setFeeReceiver(address,address)._marketingFeeReceiver (#387) is not in mixedCase
Parameter DoggerToken.setFeeReceiver(address,address)._developmentFeeReceiver (#387) is not in mixedCase
Parameter DoggerToken.setSwapBackSettings(bool,uint256)._enabled (#392) is not in mixedCase
Parameter DoggerToken.setSwapBackSettings(bool,uint256)._amount (#392) is not in mixedCase
Parameter DoggerToken.transferForeignToken(address)._token (#402) is not in mixedCase
Variable DoggerToken.WBNB (#156) is not in mixedCase
Variable DoggerToken.DEAD (#157) is not in mixedCase
Variable DoggerToken.ZERO (#158) is not in mixedCase
Constant DoggerToken._name (#160) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DoggerToken._symbol (#161) is not in UPPER_CASE_WITH_UNDERSCORES
Constant DoggerToken._decimals (#162) is not in UPPER_CASE_WITH_UNDERSCORES
Variable DoggerToken._totalSupply (#164) is not in mixedCase
Variable DoggerToken._maxTxAmount (#165) is not in mixedCase
Variable DoggerToken._maxWalletSize (#166) is not in mixedCase
Variable DoggerToken._balances (#168) is not in mixedCase
Variable DoggerToken._allowances (#169) is not in mixedCase
Follow the Solidity naming convention.

Additional information: link

Variable IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountADesired (#112) is too similar to IDEXRouter.addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256).amountBDesired (#113)
Prevent variables from having similar names.

Additional information: link

DoggerToken.slitherConstructorVariables() (#153-422) uses literals with too many digits:
- DEAD = 0x000000000000000000000000000000000000dEaD (#157)
DoggerToken.slitherConstructorVariables() (#153-422) uses literals with too many digits:
- ZERO = 0x0000000000000000000000000000000000000000 (#158)
DoggerToken.slitherConstructorVariables() (#153-422) uses literals with too many digits:
- _totalSupply = 1000000000 * (10 ** _decimals) (#164)
Use: Ether suffix, Time suffix, or The scientific notation

Additional information: link

DoggerToken.DEAD (#157) should be constant
DoggerToken.WBNB (#156) should be constant
DoggerToken.ZERO (#158) should be constant
DoggerToken._totalSupply (#164) should be constant
Add the constant attributes to state variables that never change.

Additional information: link

authorize(address) should be declared external:
- Auth.authorize(address) (#76-78)
unauthorize(address) should be declared external:
- Auth.unauthorize(address) (#80-82)
transferOwnership(address) should be declared external:
- Auth.transferOwnership(address) (#92-96)
transferForeignToken(address) should be declared external:
- DoggerToken.transferForeignToken(address) (#402-406)
isOverLiquified(uint256,uint256) should be declared external:
- DoggerToken.isOverLiquified(uint256,uint256) (#416-418)
Use the external attribute for functions never called from the contract.

Additional information: link

Holders:

Contract has 12% buy tax and 14% sell tax.
Taxes are high (over 10%) but contract ownership is renounced.


Average 30d PancakeSwap liquidity is low.


Number of Binance Smart Chain (BSC) token holders is low.


Token is deployed only at one blockchain


Token has only one trading pair


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 DOGGER